locomotivecms 3.1.2 → 3.2.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/app/api/locomotive/api/entities/content_type_entity.rb +1 -1
- data/app/api/locomotive/api/exception_rescuers.rb +1 -1
- data/app/api/locomotive/api/forms/content_type_form.rb +2 -1
- data/app/api/locomotive/api/resources/content_type_resource.rb +2 -0
- data/app/assets/javascripts/locomotive/views/editable_elements/iframe_view.js.coffee +13 -9
- data/app/assets/javascripts/locomotive/views/inputs/rte_view.js.coffee.erb +11 -6
- data/app/assets/stylesheets/locomotive/application.scss +1 -0
- data/app/assets/stylesheets/locomotive/new/_flags.scss.erb +21 -0
- data/app/assets/stylesheets/locomotive/old/form/_popover.scss +14 -10
- data/app/assets/stylesheets/locomotive/old/form/_select2.scss +2 -2
- data/app/helpers/locomotive/base_helper.rb +19 -7
- data/app/helpers/locomotive/content_types_helper.rb +1 -1
- data/app/helpers/locomotive/editable_elements_helper.rb +15 -0
- data/app/helpers/locomotive/my_account_helper.rb +6 -10
- data/app/helpers/locomotive/pages_helper.rb +2 -1
- data/app/helpers/locomotive/shared/pages_helper.rb +21 -26
- data/app/helpers/locomotive/sites_helper.rb +11 -10
- data/app/jobs/locomotive/send_pony_email_job.rb +37 -0
- data/app/models/locomotive/concerns/content_entry/counter.rb +13 -2
- data/app/models/locomotive/concerns/content_type/filter_fields.rb +26 -0
- data/app/models/locomotive/concerns/page/layout.rb +4 -0
- data/app/models/locomotive/concerns/page/to_steam.rb +20 -0
- data/app/models/locomotive/concerns/site/access_points.rb +1 -0
- data/app/models/locomotive/concerns/site/metafields.rb +1 -1
- data/app/models/locomotive/content_type.rb +1 -10
- data/app/models/locomotive/page.rb +1 -0
- data/app/models/locomotive/site.rb +0 -4
- data/app/policies/locomotive/site_policy.rb +2 -2
- data/app/services/locomotive/content_entry_service.rb +2 -3
- data/app/services/locomotive/page_parsing_service.rb +11 -7
- data/app/views/locomotive/current_site/_locale.html.slim +2 -2
- data/app/views/locomotive/current_site/form/_access_points.html.slim +1 -0
- data/app/views/locomotive/editable_elements/_edit.html.slim +1 -1
- data/app/views/locomotive/editable_elements/index_without_preview.html.slim +1 -1
- data/app/views/locomotive/layouts/account.html.slim +1 -2
- data/app/views/locomotive/layouts/application.html.slim +0 -10
- data/app/views/locomotive/pages/_header.html.slim +1 -1
- data/app/views/locomotive/shared/_head.html.slim +2 -2
- data/app/views/locomotive/shared/_locale_picker_link.html.slim +2 -1
- data/app/views/locomotive/shared/rte/_image_popover.html.slim +17 -15
- data/app/views/locomotive/shared/rte/_link_popover.html.slim +17 -15
- data/app/views/locomotive/shared/rte/_markdown_toolbar.html.slim +1 -1
- data/app/views/locomotive/shared/rte/_table_popover.html.slim +15 -13
- data/app/views/locomotive/shared/sidebar/_page.html.slim +6 -6
- data/app/views/locomotive/sites/_site.html.slim +1 -1
- data/config/locales/carrierwave.es.yml +4 -0
- data/config/locales/carrierwave.sv.yml +4 -0
- data/config/locales/carrierwave.uk.yml +4 -0
- data/config/locales/de.yml +10 -0
- data/config/locales/default.es.yml +13 -0
- data/config/locales/default.sv.yml +13 -0
- data/config/locales/default.uk.yml +13 -0
- data/config/locales/devise.es.yml +61 -0
- data/config/locales/devise.sv.yml +61 -0
- data/config/locales/devise.uk.yml +61 -0
- data/config/locales/es.yml +332 -0
- data/config/locales/flash.es.yml +82 -0
- data/config/locales/flash.sv.yml +82 -0
- data/config/locales/flash.uk.yml +82 -0
- data/config/locales/inputs.es.yml +19 -0
- data/config/locales/inputs.sv.yml +19 -0
- data/config/locales/inputs.uk.yml +19 -0
- data/config/locales/mongoid.es.yml +47 -0
- data/config/locales/mongoid.sv.yml +47 -0
- data/config/locales/mongoid.uk.yml +47 -0
- data/config/locales/pt-BR.yml +4 -0
- data/config/locales/ru.yml +4 -0
- data/config/locales/simple_form.en.yml +1 -0
- data/config/locales/simple_form.es.yml +153 -0
- data/config/locales/simple_form.fr.yml +1 -0
- data/config/locales/simple_form.sv.yml +153 -0
- data/config/locales/simple_form.uk.yml +153 -0
- data/config/locales/sv.yml +332 -0
- data/config/locales/uk.yml +332 -0
- data/config/locales/zh-CN.yml +5 -1
- data/lib/generators/locomotive/install/templates/locomotive.rb +2 -2
- data/lib/locomotive/middlewares/site.rb +4 -3
- data/lib/locomotive/steam/middlewares/page_editing.rb +10 -0
- data/lib/locomotive/steam/services/api_content_entry_service.rb +58 -0
- data/lib/locomotive/steam/services/api_entry_submission_service.rb +20 -18
- data/lib/locomotive/steam/services/async_email_service.rb +36 -0
- data/lib/locomotive/steam/services/liquid_parser_with_cache_service.rb +16 -0
- data/lib/locomotive/steam_adaptor.rb +8 -4
- data/lib/locomotive/version.rb +1 -1
- data/lib/tasks/locomotive.rake +5 -0
- data/spec/dummy/config/initializers/locomotive.rb +1 -1
- data/spec/lib/locomotive/steam/services/api_entry_submission_service_spec.rb +6 -3
- data/spec/lib/locomotive/steam/services/async_email_service_spec.rb +45 -0
- data/spec/models/locomotive/concerns/page/layout_spec.rb +26 -0
- data/spec/models/locomotive/concerns/site/metafields_spec.rb +1 -1
- data/spec/requests/locomotive/steam/cache_spec.rb +1 -1
- data/vendor/assets/components/locomotive_sources/backbone/LICENSE +22 -0
- data/vendor/assets/components/locomotive_sources/backbone/backbone-min.js +2 -0
- data/vendor/assets/components/locomotive_sources/backbone/backbone-min.map +1 -0
- data/vendor/assets/components/locomotive_sources/backbone/backbone.js +1894 -0
- data/vendor/assets/components/locomotive_sources/backbone/bower.json +8 -0
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/Gruntfile.js +82 -0
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/LICENSE +20 -0
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/README.md +92 -0
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/bootstrap-tagsinput.jquery.json +27 -0
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/bower.json +42 -0
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/dist/bootstrap-tagsinput-angular.js +87 -0
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/dist/bootstrap-tagsinput-angular.min.js +7 -0
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/dist/bootstrap-tagsinput-angular.min.js.map +1 -0
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/dist/bootstrap-tagsinput-typeahead.css +49 -0
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/dist/bootstrap-tagsinput.css +55 -0
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/dist/bootstrap-tagsinput.js +663 -0
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/dist/bootstrap-tagsinput.less +50 -0
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/dist/bootstrap-tagsinput.min.js +7 -0
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/dist/bootstrap-tagsinput.min.js.map +1 -0
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/dist/bootstrap-tagsinput.zip +0 -0
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/examples/assets/app.css +67 -0
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/examples/assets/app.js +15 -0
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/examples/assets/app_bs2.js +74 -0
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/examples/assets/app_bs3.js +95 -0
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/examples/assets/cities.json +16 -0
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/examples/assets/citynames.json +16 -0
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/examples/bootstrap-2.3.2.html +666 -0
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/examples/index.html +742 -0
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/karma.conf.js +20 -0
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/package.json +47 -0
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/src/bootstrap-tagsinput-angular.js +87 -0
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/src/bootstrap-tagsinput-typeahead.css +49 -0
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/src/bootstrap-tagsinput.css +55 -0
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/src/bootstrap-tagsinput.js +663 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/CONTRIBUTING.md +38 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/Gruntfile.js +191 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/LICENSE +21 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/README.md +37 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/bower.json +35 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/build/css/bootstrap-datetimepicker-standalone.css +103 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/build/css/bootstrap-datetimepicker.css +373 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/build/css/bootstrap-datetimepicker.min.css +5 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/build/js/bootstrap-datetimepicker.min.js +9 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/component.json +9 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/composer.json +28 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/docs/ChangeLog.md +222 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/docs/ContributorsGuide.md +126 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/docs/Events.md +96 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/docs/Extras.md +95 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/docs/FAQ.md +22 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/docs/Functions.md +670 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/docs/Installing.md +161 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/docs/Options.md +473 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/docs/Version 4 Changelog.md +6 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/docs/Version 4 Contributors guide.md +6 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/docs/index.md +592 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/mkdocs.yml +17 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/package.json +43 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/src/js/bootstrap-datetimepicker.js +2552 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/src/less/_bootstrap-datetimepicker.less +352 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/src/less/bootstrap-datetimepicker-build.less +17 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/src/nuget/Bootstrap.v3.Datetimepicker.CSS.nuspec +34 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/src/nuget/Bootstrap.v3.Datetimepicker.nuspec +34 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/src/nuget/NuGet.exe +0 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/src/nuget/install.ps1 +2 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/src/sass/_bootstrap-datetimepicker.scss +343 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/src/sass/bootstrap-datetimepicker-build.scss +16 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/tasks/bump_version.js +88 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/CNAME +1 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/CONTRIBUTING.md +37 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/LICENSE.txt +22 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/README.markdown +119 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/Rakefile +22 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/bower.json +12 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/clock.png +0 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/composer.json +32 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/contrib/timeago-koext.js +14 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/index.html +221 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/jquery.timeago.js +225 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/README.md +27 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.af.js +20 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.ar.js +96 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.bg.js +18 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.bs.js +49 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.ca.js +18 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.cs.js +24 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.cy.js +20 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.da.js +18 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.de.js +18 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.dv.js +22 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.el.js +18 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.en-short.js +20 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.en.js +20 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.es-short.js +20 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.es.js +18 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.et.js +18 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.eu.js +17 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.fa-short.js +20 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.fa.js +22 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.fi.js +28 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.fr-short.js +16 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.fr.js +17 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.gl.js +18 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.he.js +16 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.hr.js +49 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.hu.js +18 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.hy.js +18 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.id.js +18 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.is.js +19 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.it-short.js +20 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.it.js +16 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.ja.js +19 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.jv.js +18 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.ko.js +20 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.ky.js +34 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.lt.js +20 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.lv.js +20 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.mk.js +20 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.nl.js +20 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.no.js +18 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.pl.js +31 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.pt-br-short.js +20 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.pt-br.js +18 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.pt-short.js +20 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.pt.js +16 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.ro.js +18 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.rs.js +49 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.ru.js +34 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.rw.js +20 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.si.js +18 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.sk.js +18 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.sl.js +40 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.sr.js +49 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.sv.js +18 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.th.js +20 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.tr.js +16 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.uk.js +34 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.uz.js +19 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.vi.js +20 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.zh-CN.js +20 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.zh-TW.js +20 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/package.json +37 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/timeago.jquery.json +30 -0
- data/vendor/assets/components/locomotive_sources/jquery/MIT-LICENSE.txt +21 -0
- data/vendor/assets/components/locomotive_sources/jquery/bower.json +28 -0
- data/vendor/assets/components/locomotive_sources/jquery/dist/jquery.js +9210 -0
- data/vendor/assets/components/locomotive_sources/jquery/dist/jquery.min.js +5 -0
- data/vendor/assets/components/locomotive_sources/jquery/dist/jquery.min.map +1 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/ajax.js +786 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/ajax/jsonp.js +89 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/ajax/load.js +75 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/ajax/parseJSON.js +13 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/ajax/parseXML.js +28 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/ajax/script.js +64 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/ajax/var/nonce.js +5 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/ajax/var/rquery.js +3 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/ajax/xhr.js +136 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/attributes.js +11 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/attributes/attr.js +141 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/attributes/classes.js +158 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/attributes/prop.js +94 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/attributes/support.js +35 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/attributes/val.js +161 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/callbacks.js +205 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/core.js +502 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/core/access.js +60 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/core/init.js +123 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/core/parseHTML.js +39 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/core/ready.js +97 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/core/var/rsingleTag.js +4 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/css.js +450 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/css/addGetHookIf.js +22 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/css/curCSS.js +57 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/css/defaultDisplay.js +70 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/css/hiddenVisibleSelectors.js +15 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/css/support.js +96 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/css/swap.js +28 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/css/var/cssExpand.js +3 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/css/var/getStyles.js +12 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/css/var/isHidden.js +13 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/css/var/rmargin.js +3 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/css/var/rnumnonpx.js +5 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/data.js +178 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/data/Data.js +181 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/data/accepts.js +20 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/data/var/data_priv.js +5 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/data/var/data_user.js +5 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/deferred.js +149 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/deprecated.js +13 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/dimensions.js +50 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/effects.js +648 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/effects/Tween.js +114 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/effects/animatedSelector.js +13 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/event.js +868 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/event/ajax.js +13 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/event/alias.js +39 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/event/support.js +9 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/exports/amd.js +24 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/exports/global.js +32 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/intro.js +44 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/jquery.js +37 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/manipulation.js +580 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/manipulation/_evalUrl.js +18 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/manipulation/support.js +32 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/manipulation/var/rcheckableType.js +3 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/offset.js +207 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/outro.js +1 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/queue.js +142 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/queue/delay.js +22 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/selector-native.js +172 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/selector-sizzle.js +14 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/selector.js +1 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/serialize.js +111 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/sizzle/dist/sizzle.js +2067 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/sizzle/dist/sizzle.min.js +3 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/sizzle/dist/sizzle.min.map +1 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/traversing.js +199 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/traversing/findFilter.js +100 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/traversing/var/rneedsContext.js +6 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/var/arr.js +3 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/var/class2type.js +4 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/var/concat.js +5 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/var/hasOwn.js +5 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/var/indexOf.js +5 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/var/pnum.js +3 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/var/push.js +5 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/var/rnotwhite.js +3 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/var/slice.js +5 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/var/strundefined.js +3 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/var/support.js +4 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/var/toString.js +5 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/wrap.js +79 -0
- data/vendor/assets/components/locomotive_sources/moment-timezone/LICENSE +20 -0
- data/vendor/assets/components/locomotive_sources/moment-timezone/README.md +36 -0
- data/vendor/assets/components/locomotive_sources/moment-timezone/bower.json +18 -0
- data/vendor/assets/components/locomotive_sources/moment-timezone/builds/moment-timezone-with-data-2010-2020.js +1189 -0
- data/vendor/assets/components/locomotive_sources/moment-timezone/builds/moment-timezone-with-data-2010-2020.min.js +7 -0
- data/vendor/assets/components/locomotive_sources/moment-timezone/builds/moment-timezone-with-data.js +1189 -0
- data/vendor/assets/components/locomotive_sources/moment-timezone/builds/moment-timezone-with-data.min.js +7 -0
- data/vendor/assets/components/locomotive_sources/moment-timezone/builds/moment-timezone.min.js +6 -0
- data/vendor/assets/components/locomotive_sources/moment-timezone/changelog.md +101 -0
- data/vendor/assets/components/locomotive_sources/moment-timezone/composer.json +43 -0
- data/vendor/assets/components/locomotive_sources/moment-timezone/data/meta/latest.json +5012 -0
- data/vendor/assets/components/locomotive_sources/moment-timezone/data/packed/latest.json +590 -0
- data/vendor/assets/components/locomotive_sources/moment-timezone/data/unpacked/latest.json +124081 -0
- data/vendor/assets/components/locomotive_sources/moment-timezone/moment-timezone-utils.js +316 -0
- data/vendor/assets/components/locomotive_sources/moment-timezone/moment-timezone.js +599 -0
- data/vendor/assets/components/locomotive_sources/moment/CHANGELOG.md +496 -0
- data/vendor/assets/components/locomotive_sources/moment/LICENSE +22 -0
- data/vendor/assets/components/locomotive_sources/moment/README.md +58 -0
- data/vendor/assets/components/locomotive_sources/moment/bower.json +22 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/af.js +73 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/ar-ma.js +59 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/ar-sa.js +103 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/ar-tn.js +57 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/ar.js +136 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/az.js +104 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/be.js +134 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/bg.js +90 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/bn.js +113 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/bo.js +110 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/br.js +107 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/bs.js +141 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/ca.js +79 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/cs.js +171 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/cv.js +63 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/cy.js +79 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/da.js +60 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/de-at.js +77 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/de.js +76 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/dv.js +99 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/el.js +98 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/en-au.js +66 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/en-ca.js +63 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/en-gb.js +67 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/en-ie.js +67 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/en-nz.js +66 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/eo.js +73 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/es.js +79 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/et.js +80 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/eu.js +64 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/fa.js +105 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/fi.js +107 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/fo.js +60 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/fr-ca.js +58 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/fr-ch.js +62 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/fr.js +62 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/fy.js +71 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/gd.js +76 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/gl.js +75 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/he.js +82 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/hi.js +123 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/hr.js +143 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/hu.js +109 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/hy-am.js +95 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/id.js +83 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/is.js +127 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/it.js +70 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/ja.js +65 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/jv.js +83 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/ka.js +89 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/kk.js +87 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/km.js +58 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/ko.js +68 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/lb.js +134 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/lo.js +69 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/lt.js +115 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/lv.js +96 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/me.js +109 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/mk.js +90 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/ml.js +71 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/mr.js +158 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/ms-my.js +82 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/ms.js +82 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/my.js +93 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/nb.js +61 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/ne.js +121 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/nl.js +71 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/nn.js +60 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/pl.js +105 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/pt-br.js +60 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/pt.js +64 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/ro.js +74 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/ru.js +166 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/se.js +61 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/si.js +66 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/sk.js +150 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/sl.js +160 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/sq.js +69 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/sr-cyrl.js +108 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/sr.js +108 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/sv.js +67 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/sw.js +58 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/ta.js +129 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/te.js +88 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/th.js +65 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/tl-ph.js +62 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/tlh.js +119 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/tr.js +90 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/tzl.js +87 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/tzm-latn.js +58 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/tzm.js +58 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/uk.js +146 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/uz.js +58 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/vi.js +66 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/zh-cn.js +127 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/zh-tw.js +101 -0
- data/vendor/assets/components/locomotive_sources/moment/min/locales.js +7548 -0
- data/vendor/assets/components/locomotive_sources/moment/min/locales.min.js +72 -0
- data/vendor/assets/components/locomotive_sources/moment/min/moment-with-locales.js +11144 -0
- data/vendor/assets/components/locomotive_sources/moment/min/moment-with-locales.min.js +74 -0
- data/vendor/assets/components/locomotive_sources/moment/min/moment.min.js +7 -0
- data/vendor/assets/components/locomotive_sources/moment/min/tests.js +46196 -0
- data/vendor/assets/components/locomotive_sources/moment/moment.js +3606 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/create/check-overflow.js +34 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/create/date-from-array.js +21 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/create/from-anything.js +101 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/create/from-array.js +136 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/create/from-object.js +16 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/create/from-string-and-array.js +50 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/create/from-string-and-format.js +104 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/create/from-string.js +120 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/create/local.js +5 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/create/parsing-flags.js +22 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/create/utc.js +5 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/create/valid.js +37 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/duration/abs.js +18 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/duration/add-subtract.js +21 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/duration/as.js +55 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/duration/bubble.js +61 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/duration/constructor.js +41 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/duration/create.js +117 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/duration/duration.js +12 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/duration/get.js +25 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/duration/humanize.js +64 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/duration/iso-string.js +52 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/duration/prototype.js +48 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/format/format.js +92 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/locale/calendar.js +15 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/locale/constructor.js +2 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/locale/en.js +15 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/locale/formats.js +23 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/locale/invalid.js +5 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/locale/lists.js +48 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/locale/locale.js +35 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/locale/locales.js +118 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/locale/ordinal.js +7 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/locale/pre-post-format.js +3 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/locale/prototype.js +76 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/locale/relative.js +29 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/locale/set.js +16 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/add-subtract.js +52 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/calendar.js +21 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/clone.js +5 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/compare.js +57 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/constructor.js +74 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/creation-data.js +9 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/diff.js +61 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/format.js +28 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/from.js +17 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/get-set.js +43 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/locale.js +34 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/min-max.js +63 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/moment.js +28 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/now.js +3 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/prototype.js +149 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/start-end-of.js +52 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/to-type.js +34 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/to.js +17 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/valid.js +15 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/parse/regex.js +54 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/parse/token.js +32 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/aliases.js +29 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/constants.js +9 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/day-of-month.js +32 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/day-of-week.js +162 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/day-of-year.js +32 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/hour.js +129 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/millisecond.js +64 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/minute.js +24 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/month.js +209 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/offset.js +219 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/quarter.js +27 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/second.js +24 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/timestamp.js +20 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/timezone.js +16 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/units.js +20 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/week-calendar-utils.js +65 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/week-year.js +101 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/week.js +61 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/year.js +70 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/abs-ceil.js +7 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/abs-floor.js +7 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/compare-arrays.js +16 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/defaults.js +10 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/deprecate.js +33 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/extend.js +19 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/has-own-prop.js +3 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/hooks.js +13 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/is-array.js +3 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/is-date.js +3 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/is-function.js +3 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/is-undefined.js +3 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/map.js +7 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/to-int.js +12 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/zero-fill.js +7 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/af.js +63 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/ar-ma.js +50 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/ar-sa.js +94 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/ar-tn.js +48 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/ar.js +127 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/az.js +95 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/be.js +125 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/bg.js +81 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/bn.js +104 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/bo.js +101 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/br.js +98 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/bs.js +132 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/ca.js +70 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/cs.js +162 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/cv.js +53 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/cy.js +70 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/da.js +51 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/de-at.js +67 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/de.js +66 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/dv.js +89 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/el.js +86 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/en-au.js +57 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/en-ca.js +54 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/en-gb.js +58 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/en-ie.js +58 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/en-nz.js +56 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/eo.js +64 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/es.js +70 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/et.js +71 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/eu.js +55 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/fa.js +96 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/fi.js +98 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/fo.js +51 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/fr-ca.js +49 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/fr-ch.js +53 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/fr.js +53 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/fy.js +62 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/gd.js +67 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/gl.js +66 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/he.js +73 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/hi.js +114 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/hr.js +134 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/hu.js +100 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/hy-am.js +86 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/id.js +74 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/is.js +118 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/it.js +61 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/ja.js +56 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/jv.js +73 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/ka.js +80 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/kk.js +77 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/km.js +49 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/ko.js +59 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/lb.js +125 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/lo.js +60 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/lt.js +106 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/lv.js +87 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/me.js +99 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/mk.js +81 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/ml.js +62 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/mr.js +149 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/ms-my.js +73 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/ms.js +73 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/my.js +84 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/nb.js +52 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/ne.js +112 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/nl.js +62 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/nn.js +51 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/pl.js +95 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/pt-br.js +51 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/pt.js +55 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/ro.js +65 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/ru.js +156 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/se.js +51 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/si.js +56 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/sk.js +141 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/sl.js +150 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/sq.js +60 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/sr-cyrl.js +99 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/sr.js +99 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/sv.js +58 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/sw.js +49 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/ta.js +120 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/te.js +78 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/th.js +56 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/tl-ph.js +53 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/tlh.js +109 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/tr.js +81 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/tzl.js +78 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/tzm-latn.js +49 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/tzm.js +49 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/uk.js +137 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/uz.js +49 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/vi.js +57 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/zh-cn.js +118 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/zh-tw.js +91 -0
- data/vendor/assets/components/locomotive_sources/moment/src/moment.js +71 -0
- data/vendor/assets/components/locomotive_sources/moment/templates/amd-named.js +7 -0
- data/vendor/assets/components/locomotive_sources/moment/templates/amd.js +7 -0
- data/vendor/assets/components/locomotive_sources/moment/templates/default.js +5 -0
- data/vendor/assets/components/locomotive_sources/moment/templates/globals.js +5 -0
- data/vendor/assets/components/locomotive_sources/moment/templates/locale-header.js +6 -0
- data/vendor/assets/components/locomotive_sources/moment/templates/test-header.js +6 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/Gemfile +3 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/Gruntfile.js +110 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/LICENSE +8 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/README.md +91 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/3.3.2.html +4 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/3.4.1.html +4 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/3.4.2.html +4 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/3.4.3.html +4 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/3.4.4.html +4 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/3.4.5.html +4 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/3.5.1.html +4 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/3.5.2.html +4 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/_config.yml +13 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/_includes/footer-links.html +9 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/_includes/footer.html +10 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/_includes/head.html +13 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/_includes/navbar.html +21 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/_includes/select2-select.html +55 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/_layouts/default.html +489 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/_layouts/minimal.html +7 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/_sass/_extends.sass +4 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/_sass/_mixins.sass +9 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/_sass/_select2-result-repository.sass +40 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/_sass/_variables.sass +1 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/css/bootstrap.min.css +5 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/css/gh-pages.sass +103 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/css/select2-bootstrap.css +495 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/favicon.ico +0 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/fonts/glyphicons-halflings-regular.eot +0 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/fonts/glyphicons-halflings-regular.svg +288 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/fonts/glyphicons-halflings-regular.ttf +0 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/fonts/glyphicons-halflings-regular.woff +0 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/fonts/glyphicons-halflings-regular.woff2 +0 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/index.html +77 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/js/bootstrap.min.js +7 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/js/respond.min.js +5 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/master.html +4 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/bower.json +20 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/compass/stylesheets/select2-bootstrap.scss +1 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/docs/3.3.2.html +1668 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/docs/3.4.1.html +1662 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/docs/3.4.2.html +1662 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/docs/3.4.3.html +1662 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/docs/3.4.4.html +1662 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/docs/3.4.5.html +1662 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/docs/3.5.1.html +1662 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/docs/3.5.2.html +1662 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/docs/css/bootstrap.min.css +5 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/docs/css/gh-pages.css +142 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/docs/css/select2-bootstrap.css +495 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/docs/favicon.ico +0 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/docs/fonts/glyphicons-halflings-regular.eot +0 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/docs/fonts/glyphicons-halflings-regular.svg +288 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/docs/fonts/glyphicons-halflings-regular.ttf +0 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/docs/fonts/glyphicons-halflings-regular.woff +0 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/docs/fonts/glyphicons-halflings-regular.woff2 +0 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/docs/index.html +293 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/docs/js/bootstrap.min.js +7 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/docs/js/respond.min.js +5 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/docs/master.html +1662 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/lib/build.less +3 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/lib/build.scss +3 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/lib/select2-bootstrap-css.rb +11 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/lib/select2-bootstrap.less +480 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/lib/select2-bootstrap.scss +480 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/lib/select2-bootstrap/version.rb +9 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/package.json +48 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/select2-bootstrap-css.gemspec +22 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/select2-bootstrap.css +495 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/select2-bootstrap.min.css +1 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/test/less_test.js +25 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/test/scss_test.js +25 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/test/support/less.patch +416 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/test/support/scss.patch +4 -0
- data/vendor/assets/components/locomotive_sources/select2/CONTRIBUTING.md +204 -0
- data/vendor/assets/components/locomotive_sources/select2/Gruntfile.js +370 -0
- data/vendor/assets/components/locomotive_sources/select2/LICENSE.md +21 -0
- data/vendor/assets/components/locomotive_sources/select2/README.md +105 -0
- data/vendor/assets/components/locomotive_sources/select2/bower.json +12 -0
- data/vendor/assets/components/locomotive_sources/select2/component.json +19 -0
- data/vendor/assets/components/locomotive_sources/select2/composer.json +25 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/css/select2.css +482 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/css/select2.min.css +1 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/ar.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/az.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/bg.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/ca.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/cs.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/da.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/de.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/en.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/es.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/et.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/eu.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/fa.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/fi.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/fr.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/gl.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/he.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/hi.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/hr.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/hu.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/id.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/is.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/it.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/ja.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/ko.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/lt.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/lv.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/mk.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/ms.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/nb.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/nl.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/pl.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/pt-BR.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/pt.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/ro.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/ru.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/sk.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/sr-Cyrl.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/sr.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/sv.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/th.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/tr.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/uk.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/vi.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/zh-CN.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/zh-TW.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/select2.full.js +6281 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/select2.full.min.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/select2.js +5571 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/select2.min.js +2 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/README.md +38 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/examples/basics.html +65 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/examples/data.html +128 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/examples/disabled-mode.html +43 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/examples/disabled-results.html +32 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/examples/hide-search.html +25 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/examples/localization-rtl-diacritics.html +90 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/examples/matcher.html +43 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/examples/multiple-max.html +28 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/examples/placeholders.html +37 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/examples/programmatic-control.html +156 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/examples/tags.html +33 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/examples/themes-templating-responsive-design.html +111 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/examples/tokenizer.html +36 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/footer.html +20 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/ga.html +9 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/head.html +19 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/js-source-states.html +62 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/nav/announcements-4.0.html +26 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/nav/examples.html +96 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/nav/options-old.html +55 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/nav/options.html +77 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/navigation.html +53 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/notice-previous.html +7 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options-old/adapters.html +209 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options-old/backwards-compatibility.html +200 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options-old/core-options.html +790 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options-old/dropdown.html +308 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options-old/events.html +50 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options-old/setting-default-options.html +37 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/compatibility.html +10 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/compatibility/initial-selection.html +50 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/compatibility/introduction.html +18 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/compatibility/matcher.html +50 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/compatibility/query-function.html +50 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/compatibility/text-input.html +32 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/core.html +9 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/core/amd-support.html +38 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/core/data-attributes.html +72 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/core/options.html +58 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/data.html +9 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/data/ajax.html +109 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/data/array.html +53 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/data/select.html +57 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/dropdown.html +9 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/dropdown/filtering.html +23 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/dropdown/placement.html +29 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/dropdown/selections.html +17 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/events.html +8 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/events/internal.html +9 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/events/jquery.html +29 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/introduction.html +9 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/not-written.html +3 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/selections.html +10 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/selections/clearing-selections.html +17 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/selections/multiple.html +17 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/selections/placeholder.html +53 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/selections/templating.html +23 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/social-buttons.html +10 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_layouts/default.html +57 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_layouts/home.html +23 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_sass/_alert.scss +47 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_sass/_anchorjs.scss +27 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_sass/_buttons.scss +20 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_sass/_code.scss +16 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_sass/_examples.scss +90 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_sass/_featurette.scss +16 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_sass/_footer.scss +42 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_sass/_hamburger.scss +49 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_sass/_home.scss +31 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_sass/_jumbotron.scss +24 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_sass/_layout.scss +14 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_sass/_nav.scss +58 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_sass/_prettify.scss +51 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_sass/_result-repository.scss +62 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_sass/_sidenav.scss +152 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_sass/_social.scss +35 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_sass/_typography.scss +6 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/announcements-4.0.html +752 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/community.html +154 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/css/s2-docs.scss +19 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/examples.html +254 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/images/logo.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/index.html +238 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/options-old.html +37 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/options.html +37 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/css/bootstrap.min.css +5 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/css/font-awesome.min.css +4 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/fonts/FontAwesome.otf +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/fonts/fontawesome-webfont.eot +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/fonts/fontawesome-webfont.svg +655 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/fonts/fontawesome-webfont.ttf +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/fonts/fontawesome-webfont.woff +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/fonts/fontawesome-webfont.woff2 +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/ak.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/al.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/ar.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/az.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/ca.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/co.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/ct.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/de.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/fl.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/ga.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/hi.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/ia.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/id.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/il.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/in.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/ks.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/ky.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/la.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/ma.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/md.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/me.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/mi.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/mn.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/mo.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/ms.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/mt.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/nc.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/nd.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/ne.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/nh.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/nj.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/nm.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/nv.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/ny.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/oh.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/ok.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/or.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/pa.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/ri.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/sc.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/sd.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/tn.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/tx.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/ut.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/va.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/vt.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/wa.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/wi.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/wv.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/wy.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/js/anchor.min.js +6 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/js/bootstrap.min.js +6 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/js/jquery.min.js +4 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/js/placeholders.jquery.min.js +2 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/js/prettify.min.js +28 -0
- data/vendor/assets/components/locomotive_sources/select2/package.json +66 -0
- data/vendor/assets/components/locomotive_sources/select2/select2.jquery.json +32 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/banner.end.js +6 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/banner.start.js +6 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/jquery.mousewheel.shim.js +6 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/jquery.select2.js +58 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/jquery.shim.js +14 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/compat/containerCss.js +56 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/compat/dropdownCss.js +56 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/compat/initSelection.js +42 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/compat/inputData.js +127 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/compat/matcher.js +42 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/compat/query.js +26 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/compat/utils.js +43 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/core.js +545 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/data/ajax.js +101 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/data/array.js +79 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/data/base.js +40 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/data/maximumInputLength.js +31 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/data/maximumSelectionLength.js +31 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/data/minimumInputLength.js +30 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/data/select.js +285 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/data/tags.js +119 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/data/tokenizer.js +93 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/defaults.js +396 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/diacritics.js +847 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/dropdown.js +42 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/dropdown/attachBody.js +216 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/dropdown/attachContainer.js +18 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/dropdown/closeOnSelect.js +32 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/dropdown/hidePlaceholder.js +42 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/dropdown/infiniteScroll.js +89 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/dropdown/minimumResultsForSearch.js +39 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/dropdown/search.js +95 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/dropdown/selectOnClose.js +40 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/dropdown/stopPropagation.js +38 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/ar.js +36 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/az.js +27 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/bg.js +47 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/ca.js +52 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/cs.js +61 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/da.js +40 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/de.js +37 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/en.js +44 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/es.js +52 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/et.js +53 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/eu.js +51 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/fa.js +38 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/fi.js +27 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/fr.js +46 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/gl.js +51 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/he.js +56 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/hi.js +39 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/hr.js +44 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/hu.js +27 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/id.js +30 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/is.js +41 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/it.js +48 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/ja.js +36 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/ko.js +36 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/lt.js +51 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/lv.js +51 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/mk.js +47 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/ms.js +30 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/nb.js +35 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/nl.js +43 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/pl.js +45 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/pt-BR.js +46 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/pt.js +40 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/ro.js +48 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/ru.js +58 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/sk.js +56 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/sr-Cyrl.js +55 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/sr.js +55 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/sv.js +37 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/th.js +33 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/tr.js +33 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/uk.js +43 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/vi.js +37 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/zh-CN.js +36 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/zh-TW.js +33 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/keys.js +25 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/options.js +122 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/results.js +516 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/selection/allowClear.js +97 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/selection/base.js +158 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/selection/clickMask.js +29 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/selection/eventRelay.js +45 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/selection/multiple.js +109 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/selection/placeholder.js +49 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/selection/search.js +222 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/selection/single.js +93 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/selection/stopPropagation.js +38 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/translation.js +36 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/utils.js +262 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/wrapper.end.js +12 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/wrapper.start.js +23 -0
- data/vendor/assets/components/locomotive_sources/select2/src/scss/_dropdown.scss +73 -0
- data/vendor/assets/components/locomotive_sources/select2/src/scss/_multiple.scss +35 -0
- data/vendor/assets/components/locomotive_sources/select2/src/scss/_single.scss +34 -0
- data/vendor/assets/components/locomotive_sources/select2/src/scss/core.scss +48 -0
- data/vendor/assets/components/locomotive_sources/select2/src/scss/mixins/_gradients.scss +13 -0
- data/vendor/assets/components/locomotive_sources/select2/src/scss/theme/classic/_defaults.scss +34 -0
- data/vendor/assets/components/locomotive_sources/select2/src/scss/theme/classic/_multiple.scss +93 -0
- data/vendor/assets/components/locomotive_sources/select2/src/scss/theme/classic/_single.scss +124 -0
- data/vendor/assets/components/locomotive_sources/select2/src/scss/theme/classic/layout.scss +64 -0
- data/vendor/assets/components/locomotive_sources/select2/src/scss/theme/default/_multiple.scss +94 -0
- data/vendor/assets/components/locomotive_sources/select2/src/scss/theme/default/_single.scss +83 -0
- data/vendor/assets/components/locomotive_sources/select2/src/scss/theme/default/layout.scss +97 -0
- data/vendor/assets/components/locomotive_sources/select2/tests/a11y/search-tests.js +51 -0
- data/vendor/assets/components/locomotive_sources/select2/tests/a11y/selection-tests.js +154 -0
- data/vendor/assets/components/locomotive_sources/select2/tests/data/array-tests.js +290 -0
- data/vendor/assets/components/locomotive_sources/select2/tests/data/base-tests.js +29 -0
- data/vendor/assets/components/locomotive_sources/select2/tests/data/inputData-tests.js +158 -0
- data/vendor/assets/components/locomotive_sources/select2/tests/data/maximumInputLength-tests.js +138 -0
- data/vendor/assets/components/locomotive_sources/select2/tests/data/maximumSelectionLength-tests.js +202 -0
- data/vendor/assets/components/locomotive_sources/select2/tests/data/minimumInputLength-tests.js +138 -0
- data/vendor/assets/components/locomotive_sources/select2/tests/data/select-tests.js +457 -0
- data/vendor/assets/components/locomotive_sources/select2/tests/data/tags-tests.js +241 -0
- data/vendor/assets/components/locomotive_sources/select2/tests/data/tokenizer-tests.js +171 -0
- data/vendor/assets/components/locomotive_sources/select2/tests/dropdown/dropdownCss-tests.js +104 -0
- data/vendor/assets/components/locomotive_sources/select2/tests/dropdown/selectOnClose-tests.js +137 -0
- data/vendor/assets/components/locomotive_sources/select2/tests/dropdown/stopPropagation-tests.js +33 -0
- data/vendor/assets/components/locomotive_sources/select2/tests/helpers.js +46 -0
- data/vendor/assets/components/locomotive_sources/select2/tests/integration.html +19 -0
- data/vendor/assets/components/locomotive_sources/select2/tests/integration/select2-methods.js +139 -0
- data/vendor/assets/components/locomotive_sources/select2/tests/options/data-tests.js +44 -0
- data/vendor/assets/components/locomotive_sources/select2/tests/options/deprecated-tests.js +250 -0
- data/vendor/assets/components/locomotive_sources/select2/tests/options/translation-tests.js +28 -0
- data/vendor/assets/components/locomotive_sources/select2/tests/options/width-tests.js +66 -0
- data/vendor/assets/components/locomotive_sources/select2/tests/selection/allowClear-tests.js +218 -0
- data/vendor/assets/components/locomotive_sources/select2/tests/selection/containerCss-tests.js +104 -0
- data/vendor/assets/components/locomotive_sources/select2/tests/selection/multiple-tests.js +149 -0
- data/vendor/assets/components/locomotive_sources/select2/tests/selection/placeholder-tests.js +74 -0
- data/vendor/assets/components/locomotive_sources/select2/tests/selection/search-tests.js +139 -0
- data/vendor/assets/components/locomotive_sources/select2/tests/selection/single-tests.js +117 -0
- data/vendor/assets/components/locomotive_sources/select2/tests/selection/stopPropagation-tests.js +33 -0
- data/vendor/assets/components/locomotive_sources/select2/tests/unit.html +91 -0
- data/vendor/assets/components/locomotive_sources/select2/tests/utils/decorator-tests.js +189 -0
- data/vendor/assets/components/locomotive_sources/select2/tests/utils/escapeMarkup-tests.js +36 -0
- data/vendor/assets/components/locomotive_sources/select2/tests/vendor/jquery-1.7.2.js +9404 -0
- data/vendor/assets/components/locomotive_sources/select2/tests/vendor/qunit-1.14.0.css +237 -0
- data/vendor/assets/components/locomotive_sources/select2/tests/vendor/qunit-1.14.0.js +2288 -0
- data/vendor/assets/components/locomotive_sources/select2/vendor/jquery-2.1.0.js +9111 -0
- data/vendor/assets/components/locomotive_sources/underscore/LICENSE +23 -0
- data/vendor/assets/components/locomotive_sources/underscore/README.md +22 -0
- data/vendor/assets/components/locomotive_sources/underscore/bower.json +7 -0
- data/vendor/assets/components/locomotive_sources/underscore/underscore-min.js +6 -0
- data/vendor/assets/components/locomotive_sources/underscore/underscore-min.map +1 -0
- data/vendor/assets/components/locomotive_sources/underscore/underscore.js +1548 -0
- data/vendor/assets/javascripts/locomotive/datepicker_i18n.js.erb +1 -1
- data/vendor/assets/javascripts/locomotive/wysihtml5/parser_rules/advanced.js +10 -1
- metadata +1020 -6
@@ -0,0 +1,181 @@
|
|
1
|
+
define([
|
2
|
+
"../core",
|
3
|
+
"../var/rnotwhite",
|
4
|
+
"./accepts"
|
5
|
+
], function( jQuery, rnotwhite ) {
|
6
|
+
|
7
|
+
function Data() {
|
8
|
+
// Support: Android<4,
|
9
|
+
// Old WebKit does not have Object.preventExtensions/freeze method,
|
10
|
+
// return new empty object instead with no [[set]] accessor
|
11
|
+
Object.defineProperty( this.cache = {}, 0, {
|
12
|
+
get: function() {
|
13
|
+
return {};
|
14
|
+
}
|
15
|
+
});
|
16
|
+
|
17
|
+
this.expando = jQuery.expando + Data.uid++;
|
18
|
+
}
|
19
|
+
|
20
|
+
Data.uid = 1;
|
21
|
+
Data.accepts = jQuery.acceptData;
|
22
|
+
|
23
|
+
Data.prototype = {
|
24
|
+
key: function( owner ) {
|
25
|
+
// We can accept data for non-element nodes in modern browsers,
|
26
|
+
// but we should not, see #8335.
|
27
|
+
// Always return the key for a frozen object.
|
28
|
+
if ( !Data.accepts( owner ) ) {
|
29
|
+
return 0;
|
30
|
+
}
|
31
|
+
|
32
|
+
var descriptor = {},
|
33
|
+
// Check if the owner object already has a cache key
|
34
|
+
unlock = owner[ this.expando ];
|
35
|
+
|
36
|
+
// If not, create one
|
37
|
+
if ( !unlock ) {
|
38
|
+
unlock = Data.uid++;
|
39
|
+
|
40
|
+
// Secure it in a non-enumerable, non-writable property
|
41
|
+
try {
|
42
|
+
descriptor[ this.expando ] = { value: unlock };
|
43
|
+
Object.defineProperties( owner, descriptor );
|
44
|
+
|
45
|
+
// Support: Android<4
|
46
|
+
// Fallback to a less secure definition
|
47
|
+
} catch ( e ) {
|
48
|
+
descriptor[ this.expando ] = unlock;
|
49
|
+
jQuery.extend( owner, descriptor );
|
50
|
+
}
|
51
|
+
}
|
52
|
+
|
53
|
+
// Ensure the cache object
|
54
|
+
if ( !this.cache[ unlock ] ) {
|
55
|
+
this.cache[ unlock ] = {};
|
56
|
+
}
|
57
|
+
|
58
|
+
return unlock;
|
59
|
+
},
|
60
|
+
set: function( owner, data, value ) {
|
61
|
+
var prop,
|
62
|
+
// There may be an unlock assigned to this node,
|
63
|
+
// if there is no entry for this "owner", create one inline
|
64
|
+
// and set the unlock as though an owner entry had always existed
|
65
|
+
unlock = this.key( owner ),
|
66
|
+
cache = this.cache[ unlock ];
|
67
|
+
|
68
|
+
// Handle: [ owner, key, value ] args
|
69
|
+
if ( typeof data === "string" ) {
|
70
|
+
cache[ data ] = value;
|
71
|
+
|
72
|
+
// Handle: [ owner, { properties } ] args
|
73
|
+
} else {
|
74
|
+
// Fresh assignments by object are shallow copied
|
75
|
+
if ( jQuery.isEmptyObject( cache ) ) {
|
76
|
+
jQuery.extend( this.cache[ unlock ], data );
|
77
|
+
// Otherwise, copy the properties one-by-one to the cache object
|
78
|
+
} else {
|
79
|
+
for ( prop in data ) {
|
80
|
+
cache[ prop ] = data[ prop ];
|
81
|
+
}
|
82
|
+
}
|
83
|
+
}
|
84
|
+
return cache;
|
85
|
+
},
|
86
|
+
get: function( owner, key ) {
|
87
|
+
// Either a valid cache is found, or will be created.
|
88
|
+
// New caches will be created and the unlock returned,
|
89
|
+
// allowing direct access to the newly created
|
90
|
+
// empty data object. A valid owner object must be provided.
|
91
|
+
var cache = this.cache[ this.key( owner ) ];
|
92
|
+
|
93
|
+
return key === undefined ?
|
94
|
+
cache : cache[ key ];
|
95
|
+
},
|
96
|
+
access: function( owner, key, value ) {
|
97
|
+
var stored;
|
98
|
+
// In cases where either:
|
99
|
+
//
|
100
|
+
// 1. No key was specified
|
101
|
+
// 2. A string key was specified, but no value provided
|
102
|
+
//
|
103
|
+
// Take the "read" path and allow the get method to determine
|
104
|
+
// which value to return, respectively either:
|
105
|
+
//
|
106
|
+
// 1. The entire cache object
|
107
|
+
// 2. The data stored at the key
|
108
|
+
//
|
109
|
+
if ( key === undefined ||
|
110
|
+
((key && typeof key === "string") && value === undefined) ) {
|
111
|
+
|
112
|
+
stored = this.get( owner, key );
|
113
|
+
|
114
|
+
return stored !== undefined ?
|
115
|
+
stored : this.get( owner, jQuery.camelCase(key) );
|
116
|
+
}
|
117
|
+
|
118
|
+
// [*]When the key is not a string, or both a key and value
|
119
|
+
// are specified, set or extend (existing objects) with either:
|
120
|
+
//
|
121
|
+
// 1. An object of properties
|
122
|
+
// 2. A key and value
|
123
|
+
//
|
124
|
+
this.set( owner, key, value );
|
125
|
+
|
126
|
+
// Since the "set" path can have two possible entry points
|
127
|
+
// return the expected data based on which path was taken[*]
|
128
|
+
return value !== undefined ? value : key;
|
129
|
+
},
|
130
|
+
remove: function( owner, key ) {
|
131
|
+
var i, name, camel,
|
132
|
+
unlock = this.key( owner ),
|
133
|
+
cache = this.cache[ unlock ];
|
134
|
+
|
135
|
+
if ( key === undefined ) {
|
136
|
+
this.cache[ unlock ] = {};
|
137
|
+
|
138
|
+
} else {
|
139
|
+
// Support array or space separated string of keys
|
140
|
+
if ( jQuery.isArray( key ) ) {
|
141
|
+
// If "name" is an array of keys...
|
142
|
+
// When data is initially created, via ("key", "val") signature,
|
143
|
+
// keys will be converted to camelCase.
|
144
|
+
// Since there is no way to tell _how_ a key was added, remove
|
145
|
+
// both plain key and camelCase key. #12786
|
146
|
+
// This will only penalize the array argument path.
|
147
|
+
name = key.concat( key.map( jQuery.camelCase ) );
|
148
|
+
} else {
|
149
|
+
camel = jQuery.camelCase( key );
|
150
|
+
// Try the string as a key before any manipulation
|
151
|
+
if ( key in cache ) {
|
152
|
+
name = [ key, camel ];
|
153
|
+
} else {
|
154
|
+
// If a key with the spaces exists, use it.
|
155
|
+
// Otherwise, create an array by matching non-whitespace
|
156
|
+
name = camel;
|
157
|
+
name = name in cache ?
|
158
|
+
[ name ] : ( name.match( rnotwhite ) || [] );
|
159
|
+
}
|
160
|
+
}
|
161
|
+
|
162
|
+
i = name.length;
|
163
|
+
while ( i-- ) {
|
164
|
+
delete cache[ name[ i ] ];
|
165
|
+
}
|
166
|
+
}
|
167
|
+
},
|
168
|
+
hasData: function( owner ) {
|
169
|
+
return !jQuery.isEmptyObject(
|
170
|
+
this.cache[ owner[ this.expando ] ] || {}
|
171
|
+
);
|
172
|
+
},
|
173
|
+
discard: function( owner ) {
|
174
|
+
if ( owner[ this.expando ] ) {
|
175
|
+
delete this.cache[ owner[ this.expando ] ];
|
176
|
+
}
|
177
|
+
}
|
178
|
+
};
|
179
|
+
|
180
|
+
return Data;
|
181
|
+
});
|
@@ -0,0 +1,20 @@
|
|
1
|
+
define([
|
2
|
+
"../core"
|
3
|
+
], function( jQuery ) {
|
4
|
+
|
5
|
+
/**
|
6
|
+
* Determines whether an object can have data
|
7
|
+
*/
|
8
|
+
jQuery.acceptData = function( owner ) {
|
9
|
+
// Accepts only:
|
10
|
+
// - Node
|
11
|
+
// - Node.ELEMENT_NODE
|
12
|
+
// - Node.DOCUMENT_NODE
|
13
|
+
// - Object
|
14
|
+
// - Any
|
15
|
+
/* jshint -W018 */
|
16
|
+
return owner.nodeType === 1 || owner.nodeType === 9 || !( +owner.nodeType );
|
17
|
+
};
|
18
|
+
|
19
|
+
return jQuery.acceptData;
|
20
|
+
});
|
@@ -0,0 +1,149 @@
|
|
1
|
+
define([
|
2
|
+
"./core",
|
3
|
+
"./var/slice",
|
4
|
+
"./callbacks"
|
5
|
+
], function( jQuery, slice ) {
|
6
|
+
|
7
|
+
jQuery.extend({
|
8
|
+
|
9
|
+
Deferred: function( func ) {
|
10
|
+
var tuples = [
|
11
|
+
// action, add listener, listener list, final state
|
12
|
+
[ "resolve", "done", jQuery.Callbacks("once memory"), "resolved" ],
|
13
|
+
[ "reject", "fail", jQuery.Callbacks("once memory"), "rejected" ],
|
14
|
+
[ "notify", "progress", jQuery.Callbacks("memory") ]
|
15
|
+
],
|
16
|
+
state = "pending",
|
17
|
+
promise = {
|
18
|
+
state: function() {
|
19
|
+
return state;
|
20
|
+
},
|
21
|
+
always: function() {
|
22
|
+
deferred.done( arguments ).fail( arguments );
|
23
|
+
return this;
|
24
|
+
},
|
25
|
+
then: function( /* fnDone, fnFail, fnProgress */ ) {
|
26
|
+
var fns = arguments;
|
27
|
+
return jQuery.Deferred(function( newDefer ) {
|
28
|
+
jQuery.each( tuples, function( i, tuple ) {
|
29
|
+
var fn = jQuery.isFunction( fns[ i ] ) && fns[ i ];
|
30
|
+
// deferred[ done | fail | progress ] for forwarding actions to newDefer
|
31
|
+
deferred[ tuple[1] ](function() {
|
32
|
+
var returned = fn && fn.apply( this, arguments );
|
33
|
+
if ( returned && jQuery.isFunction( returned.promise ) ) {
|
34
|
+
returned.promise()
|
35
|
+
.done( newDefer.resolve )
|
36
|
+
.fail( newDefer.reject )
|
37
|
+
.progress( newDefer.notify );
|
38
|
+
} else {
|
39
|
+
newDefer[ tuple[ 0 ] + "With" ]( this === promise ? newDefer.promise() : this, fn ? [ returned ] : arguments );
|
40
|
+
}
|
41
|
+
});
|
42
|
+
});
|
43
|
+
fns = null;
|
44
|
+
}).promise();
|
45
|
+
},
|
46
|
+
// Get a promise for this deferred
|
47
|
+
// If obj is provided, the promise aspect is added to the object
|
48
|
+
promise: function( obj ) {
|
49
|
+
return obj != null ? jQuery.extend( obj, promise ) : promise;
|
50
|
+
}
|
51
|
+
},
|
52
|
+
deferred = {};
|
53
|
+
|
54
|
+
// Keep pipe for back-compat
|
55
|
+
promise.pipe = promise.then;
|
56
|
+
|
57
|
+
// Add list-specific methods
|
58
|
+
jQuery.each( tuples, function( i, tuple ) {
|
59
|
+
var list = tuple[ 2 ],
|
60
|
+
stateString = tuple[ 3 ];
|
61
|
+
|
62
|
+
// promise[ done | fail | progress ] = list.add
|
63
|
+
promise[ tuple[1] ] = list.add;
|
64
|
+
|
65
|
+
// Handle state
|
66
|
+
if ( stateString ) {
|
67
|
+
list.add(function() {
|
68
|
+
// state = [ resolved | rejected ]
|
69
|
+
state = stateString;
|
70
|
+
|
71
|
+
// [ reject_list | resolve_list ].disable; progress_list.lock
|
72
|
+
}, tuples[ i ^ 1 ][ 2 ].disable, tuples[ 2 ][ 2 ].lock );
|
73
|
+
}
|
74
|
+
|
75
|
+
// deferred[ resolve | reject | notify ]
|
76
|
+
deferred[ tuple[0] ] = function() {
|
77
|
+
deferred[ tuple[0] + "With" ]( this === deferred ? promise : this, arguments );
|
78
|
+
return this;
|
79
|
+
};
|
80
|
+
deferred[ tuple[0] + "With" ] = list.fireWith;
|
81
|
+
});
|
82
|
+
|
83
|
+
// Make the deferred a promise
|
84
|
+
promise.promise( deferred );
|
85
|
+
|
86
|
+
// Call given func if any
|
87
|
+
if ( func ) {
|
88
|
+
func.call( deferred, deferred );
|
89
|
+
}
|
90
|
+
|
91
|
+
// All done!
|
92
|
+
return deferred;
|
93
|
+
},
|
94
|
+
|
95
|
+
// Deferred helper
|
96
|
+
when: function( subordinate /* , ..., subordinateN */ ) {
|
97
|
+
var i = 0,
|
98
|
+
resolveValues = slice.call( arguments ),
|
99
|
+
length = resolveValues.length,
|
100
|
+
|
101
|
+
// the count of uncompleted subordinates
|
102
|
+
remaining = length !== 1 || ( subordinate && jQuery.isFunction( subordinate.promise ) ) ? length : 0,
|
103
|
+
|
104
|
+
// the master Deferred. If resolveValues consist of only a single Deferred, just use that.
|
105
|
+
deferred = remaining === 1 ? subordinate : jQuery.Deferred(),
|
106
|
+
|
107
|
+
// Update function for both resolve and progress values
|
108
|
+
updateFunc = function( i, contexts, values ) {
|
109
|
+
return function( value ) {
|
110
|
+
contexts[ i ] = this;
|
111
|
+
values[ i ] = arguments.length > 1 ? slice.call( arguments ) : value;
|
112
|
+
if ( values === progressValues ) {
|
113
|
+
deferred.notifyWith( contexts, values );
|
114
|
+
} else if ( !( --remaining ) ) {
|
115
|
+
deferred.resolveWith( contexts, values );
|
116
|
+
}
|
117
|
+
};
|
118
|
+
},
|
119
|
+
|
120
|
+
progressValues, progressContexts, resolveContexts;
|
121
|
+
|
122
|
+
// Add listeners to Deferred subordinates; treat others as resolved
|
123
|
+
if ( length > 1 ) {
|
124
|
+
progressValues = new Array( length );
|
125
|
+
progressContexts = new Array( length );
|
126
|
+
resolveContexts = new Array( length );
|
127
|
+
for ( ; i < length; i++ ) {
|
128
|
+
if ( resolveValues[ i ] && jQuery.isFunction( resolveValues[ i ].promise ) ) {
|
129
|
+
resolveValues[ i ].promise()
|
130
|
+
.done( updateFunc( i, resolveContexts, resolveValues ) )
|
131
|
+
.fail( deferred.reject )
|
132
|
+
.progress( updateFunc( i, progressContexts, progressValues ) );
|
133
|
+
} else {
|
134
|
+
--remaining;
|
135
|
+
}
|
136
|
+
}
|
137
|
+
}
|
138
|
+
|
139
|
+
// If we're not waiting on anything, resolve the master
|
140
|
+
if ( !remaining ) {
|
141
|
+
deferred.resolveWith( resolveContexts, resolveValues );
|
142
|
+
}
|
143
|
+
|
144
|
+
return deferred.promise();
|
145
|
+
}
|
146
|
+
});
|
147
|
+
|
148
|
+
return jQuery;
|
149
|
+
});
|
@@ -0,0 +1,50 @@
|
|
1
|
+
define([
|
2
|
+
"./core",
|
3
|
+
"./core/access",
|
4
|
+
"./css"
|
5
|
+
], function( jQuery, access ) {
|
6
|
+
|
7
|
+
// Create innerHeight, innerWidth, height, width, outerHeight and outerWidth methods
|
8
|
+
jQuery.each( { Height: "height", Width: "width" }, function( name, type ) {
|
9
|
+
jQuery.each( { padding: "inner" + name, content: type, "": "outer" + name }, function( defaultExtra, funcName ) {
|
10
|
+
// Margin is only for outerHeight, outerWidth
|
11
|
+
jQuery.fn[ funcName ] = function( margin, value ) {
|
12
|
+
var chainable = arguments.length && ( defaultExtra || typeof margin !== "boolean" ),
|
13
|
+
extra = defaultExtra || ( margin === true || value === true ? "margin" : "border" );
|
14
|
+
|
15
|
+
return access( this, function( elem, type, value ) {
|
16
|
+
var doc;
|
17
|
+
|
18
|
+
if ( jQuery.isWindow( elem ) ) {
|
19
|
+
// As of 5/8/2012 this will yield incorrect results for Mobile Safari, but there
|
20
|
+
// isn't a whole lot we can do. See pull request at this URL for discussion:
|
21
|
+
// https://github.com/jquery/jquery/pull/764
|
22
|
+
return elem.document.documentElement[ "client" + name ];
|
23
|
+
}
|
24
|
+
|
25
|
+
// Get document width or height
|
26
|
+
if ( elem.nodeType === 9 ) {
|
27
|
+
doc = elem.documentElement;
|
28
|
+
|
29
|
+
// Either scroll[Width/Height] or offset[Width/Height] or client[Width/Height],
|
30
|
+
// whichever is greatest
|
31
|
+
return Math.max(
|
32
|
+
elem.body[ "scroll" + name ], doc[ "scroll" + name ],
|
33
|
+
elem.body[ "offset" + name ], doc[ "offset" + name ],
|
34
|
+
doc[ "client" + name ]
|
35
|
+
);
|
36
|
+
}
|
37
|
+
|
38
|
+
return value === undefined ?
|
39
|
+
// Get width or height on the element, requesting but not forcing parseFloat
|
40
|
+
jQuery.css( elem, type, extra ) :
|
41
|
+
|
42
|
+
// Set width or height on the element
|
43
|
+
jQuery.style( elem, type, value, extra );
|
44
|
+
}, type, chainable ? margin : undefined, chainable, null );
|
45
|
+
};
|
46
|
+
});
|
47
|
+
});
|
48
|
+
|
49
|
+
return jQuery;
|
50
|
+
});
|
@@ -0,0 +1,648 @@
|
|
1
|
+
define([
|
2
|
+
"./core",
|
3
|
+
"./var/pnum",
|
4
|
+
"./css/var/cssExpand",
|
5
|
+
"./css/var/isHidden",
|
6
|
+
"./css/defaultDisplay",
|
7
|
+
"./data/var/data_priv",
|
8
|
+
|
9
|
+
"./core/init",
|
10
|
+
"./effects/Tween",
|
11
|
+
"./queue",
|
12
|
+
"./css",
|
13
|
+
"./deferred",
|
14
|
+
"./traversing"
|
15
|
+
], function( jQuery, pnum, cssExpand, isHidden, defaultDisplay, data_priv ) {
|
16
|
+
|
17
|
+
var
|
18
|
+
fxNow, timerId,
|
19
|
+
rfxtypes = /^(?:toggle|show|hide)$/,
|
20
|
+
rfxnum = new RegExp( "^(?:([+-])=|)(" + pnum + ")([a-z%]*)$", "i" ),
|
21
|
+
rrun = /queueHooks$/,
|
22
|
+
animationPrefilters = [ defaultPrefilter ],
|
23
|
+
tweeners = {
|
24
|
+
"*": [ function( prop, value ) {
|
25
|
+
var tween = this.createTween( prop, value ),
|
26
|
+
target = tween.cur(),
|
27
|
+
parts = rfxnum.exec( value ),
|
28
|
+
unit = parts && parts[ 3 ] || ( jQuery.cssNumber[ prop ] ? "" : "px" ),
|
29
|
+
|
30
|
+
// Starting value computation is required for potential unit mismatches
|
31
|
+
start = ( jQuery.cssNumber[ prop ] || unit !== "px" && +target ) &&
|
32
|
+
rfxnum.exec( jQuery.css( tween.elem, prop ) ),
|
33
|
+
scale = 1,
|
34
|
+
maxIterations = 20;
|
35
|
+
|
36
|
+
if ( start && start[ 3 ] !== unit ) {
|
37
|
+
// Trust units reported by jQuery.css
|
38
|
+
unit = unit || start[ 3 ];
|
39
|
+
|
40
|
+
// Make sure we update the tween properties later on
|
41
|
+
parts = parts || [];
|
42
|
+
|
43
|
+
// Iteratively approximate from a nonzero starting point
|
44
|
+
start = +target || 1;
|
45
|
+
|
46
|
+
do {
|
47
|
+
// If previous iteration zeroed out, double until we get *something*.
|
48
|
+
// Use string for doubling so we don't accidentally see scale as unchanged below
|
49
|
+
scale = scale || ".5";
|
50
|
+
|
51
|
+
// Adjust and apply
|
52
|
+
start = start / scale;
|
53
|
+
jQuery.style( tween.elem, prop, start + unit );
|
54
|
+
|
55
|
+
// Update scale, tolerating zero or NaN from tween.cur(),
|
56
|
+
// break the loop if scale is unchanged or perfect, or if we've just had enough
|
57
|
+
} while ( scale !== (scale = tween.cur() / target) && scale !== 1 && --maxIterations );
|
58
|
+
}
|
59
|
+
|
60
|
+
// Update tween properties
|
61
|
+
if ( parts ) {
|
62
|
+
start = tween.start = +start || +target || 0;
|
63
|
+
tween.unit = unit;
|
64
|
+
// If a +=/-= token was provided, we're doing a relative animation
|
65
|
+
tween.end = parts[ 1 ] ?
|
66
|
+
start + ( parts[ 1 ] + 1 ) * parts[ 2 ] :
|
67
|
+
+parts[ 2 ];
|
68
|
+
}
|
69
|
+
|
70
|
+
return tween;
|
71
|
+
} ]
|
72
|
+
};
|
73
|
+
|
74
|
+
// Animations created synchronously will run synchronously
|
75
|
+
function createFxNow() {
|
76
|
+
setTimeout(function() {
|
77
|
+
fxNow = undefined;
|
78
|
+
});
|
79
|
+
return ( fxNow = jQuery.now() );
|
80
|
+
}
|
81
|
+
|
82
|
+
// Generate parameters to create a standard animation
|
83
|
+
function genFx( type, includeWidth ) {
|
84
|
+
var which,
|
85
|
+
i = 0,
|
86
|
+
attrs = { height: type };
|
87
|
+
|
88
|
+
// If we include width, step value is 1 to do all cssExpand values,
|
89
|
+
// otherwise step value is 2 to skip over Left and Right
|
90
|
+
includeWidth = includeWidth ? 1 : 0;
|
91
|
+
for ( ; i < 4 ; i += 2 - includeWidth ) {
|
92
|
+
which = cssExpand[ i ];
|
93
|
+
attrs[ "margin" + which ] = attrs[ "padding" + which ] = type;
|
94
|
+
}
|
95
|
+
|
96
|
+
if ( includeWidth ) {
|
97
|
+
attrs.opacity = attrs.width = type;
|
98
|
+
}
|
99
|
+
|
100
|
+
return attrs;
|
101
|
+
}
|
102
|
+
|
103
|
+
function createTween( value, prop, animation ) {
|
104
|
+
var tween,
|
105
|
+
collection = ( tweeners[ prop ] || [] ).concat( tweeners[ "*" ] ),
|
106
|
+
index = 0,
|
107
|
+
length = collection.length;
|
108
|
+
for ( ; index < length; index++ ) {
|
109
|
+
if ( (tween = collection[ index ].call( animation, prop, value )) ) {
|
110
|
+
|
111
|
+
// We're done with this property
|
112
|
+
return tween;
|
113
|
+
}
|
114
|
+
}
|
115
|
+
}
|
116
|
+
|
117
|
+
function defaultPrefilter( elem, props, opts ) {
|
118
|
+
/* jshint validthis: true */
|
119
|
+
var prop, value, toggle, tween, hooks, oldfire, display, checkDisplay,
|
120
|
+
anim = this,
|
121
|
+
orig = {},
|
122
|
+
style = elem.style,
|
123
|
+
hidden = elem.nodeType && isHidden( elem ),
|
124
|
+
dataShow = data_priv.get( elem, "fxshow" );
|
125
|
+
|
126
|
+
// Handle queue: false promises
|
127
|
+
if ( !opts.queue ) {
|
128
|
+
hooks = jQuery._queueHooks( elem, "fx" );
|
129
|
+
if ( hooks.unqueued == null ) {
|
130
|
+
hooks.unqueued = 0;
|
131
|
+
oldfire = hooks.empty.fire;
|
132
|
+
hooks.empty.fire = function() {
|
133
|
+
if ( !hooks.unqueued ) {
|
134
|
+
oldfire();
|
135
|
+
}
|
136
|
+
};
|
137
|
+
}
|
138
|
+
hooks.unqueued++;
|
139
|
+
|
140
|
+
anim.always(function() {
|
141
|
+
// Ensure the complete handler is called before this completes
|
142
|
+
anim.always(function() {
|
143
|
+
hooks.unqueued--;
|
144
|
+
if ( !jQuery.queue( elem, "fx" ).length ) {
|
145
|
+
hooks.empty.fire();
|
146
|
+
}
|
147
|
+
});
|
148
|
+
});
|
149
|
+
}
|
150
|
+
|
151
|
+
// Height/width overflow pass
|
152
|
+
if ( elem.nodeType === 1 && ( "height" in props || "width" in props ) ) {
|
153
|
+
// Make sure that nothing sneaks out
|
154
|
+
// Record all 3 overflow attributes because IE9-10 do not
|
155
|
+
// change the overflow attribute when overflowX and
|
156
|
+
// overflowY are set to the same value
|
157
|
+
opts.overflow = [ style.overflow, style.overflowX, style.overflowY ];
|
158
|
+
|
159
|
+
// Set display property to inline-block for height/width
|
160
|
+
// animations on inline elements that are having width/height animated
|
161
|
+
display = jQuery.css( elem, "display" );
|
162
|
+
|
163
|
+
// Test default display if display is currently "none"
|
164
|
+
checkDisplay = display === "none" ?
|
165
|
+
data_priv.get( elem, "olddisplay" ) || defaultDisplay( elem.nodeName ) : display;
|
166
|
+
|
167
|
+
if ( checkDisplay === "inline" && jQuery.css( elem, "float" ) === "none" ) {
|
168
|
+
style.display = "inline-block";
|
169
|
+
}
|
170
|
+
}
|
171
|
+
|
172
|
+
if ( opts.overflow ) {
|
173
|
+
style.overflow = "hidden";
|
174
|
+
anim.always(function() {
|
175
|
+
style.overflow = opts.overflow[ 0 ];
|
176
|
+
style.overflowX = opts.overflow[ 1 ];
|
177
|
+
style.overflowY = opts.overflow[ 2 ];
|
178
|
+
});
|
179
|
+
}
|
180
|
+
|
181
|
+
// show/hide pass
|
182
|
+
for ( prop in props ) {
|
183
|
+
value = props[ prop ];
|
184
|
+
if ( rfxtypes.exec( value ) ) {
|
185
|
+
delete props[ prop ];
|
186
|
+
toggle = toggle || value === "toggle";
|
187
|
+
if ( value === ( hidden ? "hide" : "show" ) ) {
|
188
|
+
|
189
|
+
// If there is dataShow left over from a stopped hide or show and we are going to proceed with show, we should pretend to be hidden
|
190
|
+
if ( value === "show" && dataShow && dataShow[ prop ] !== undefined ) {
|
191
|
+
hidden = true;
|
192
|
+
} else {
|
193
|
+
continue;
|
194
|
+
}
|
195
|
+
}
|
196
|
+
orig[ prop ] = dataShow && dataShow[ prop ] || jQuery.style( elem, prop );
|
197
|
+
|
198
|
+
// Any non-fx value stops us from restoring the original display value
|
199
|
+
} else {
|
200
|
+
display = undefined;
|
201
|
+
}
|
202
|
+
}
|
203
|
+
|
204
|
+
if ( !jQuery.isEmptyObject( orig ) ) {
|
205
|
+
if ( dataShow ) {
|
206
|
+
if ( "hidden" in dataShow ) {
|
207
|
+
hidden = dataShow.hidden;
|
208
|
+
}
|
209
|
+
} else {
|
210
|
+
dataShow = data_priv.access( elem, "fxshow", {} );
|
211
|
+
}
|
212
|
+
|
213
|
+
// Store state if its toggle - enables .stop().toggle() to "reverse"
|
214
|
+
if ( toggle ) {
|
215
|
+
dataShow.hidden = !hidden;
|
216
|
+
}
|
217
|
+
if ( hidden ) {
|
218
|
+
jQuery( elem ).show();
|
219
|
+
} else {
|
220
|
+
anim.done(function() {
|
221
|
+
jQuery( elem ).hide();
|
222
|
+
});
|
223
|
+
}
|
224
|
+
anim.done(function() {
|
225
|
+
var prop;
|
226
|
+
|
227
|
+
data_priv.remove( elem, "fxshow" );
|
228
|
+
for ( prop in orig ) {
|
229
|
+
jQuery.style( elem, prop, orig[ prop ] );
|
230
|
+
}
|
231
|
+
});
|
232
|
+
for ( prop in orig ) {
|
233
|
+
tween = createTween( hidden ? dataShow[ prop ] : 0, prop, anim );
|
234
|
+
|
235
|
+
if ( !( prop in dataShow ) ) {
|
236
|
+
dataShow[ prop ] = tween.start;
|
237
|
+
if ( hidden ) {
|
238
|
+
tween.end = tween.start;
|
239
|
+
tween.start = prop === "width" || prop === "height" ? 1 : 0;
|
240
|
+
}
|
241
|
+
}
|
242
|
+
}
|
243
|
+
|
244
|
+
// If this is a noop like .hide().hide(), restore an overwritten display value
|
245
|
+
} else if ( (display === "none" ? defaultDisplay( elem.nodeName ) : display) === "inline" ) {
|
246
|
+
style.display = display;
|
247
|
+
}
|
248
|
+
}
|
249
|
+
|
250
|
+
function propFilter( props, specialEasing ) {
|
251
|
+
var index, name, easing, value, hooks;
|
252
|
+
|
253
|
+
// camelCase, specialEasing and expand cssHook pass
|
254
|
+
for ( index in props ) {
|
255
|
+
name = jQuery.camelCase( index );
|
256
|
+
easing = specialEasing[ name ];
|
257
|
+
value = props[ index ];
|
258
|
+
if ( jQuery.isArray( value ) ) {
|
259
|
+
easing = value[ 1 ];
|
260
|
+
value = props[ index ] = value[ 0 ];
|
261
|
+
}
|
262
|
+
|
263
|
+
if ( index !== name ) {
|
264
|
+
props[ name ] = value;
|
265
|
+
delete props[ index ];
|
266
|
+
}
|
267
|
+
|
268
|
+
hooks = jQuery.cssHooks[ name ];
|
269
|
+
if ( hooks && "expand" in hooks ) {
|
270
|
+
value = hooks.expand( value );
|
271
|
+
delete props[ name ];
|
272
|
+
|
273
|
+
// Not quite $.extend, this won't overwrite existing keys.
|
274
|
+
// Reusing 'index' because we have the correct "name"
|
275
|
+
for ( index in value ) {
|
276
|
+
if ( !( index in props ) ) {
|
277
|
+
props[ index ] = value[ index ];
|
278
|
+
specialEasing[ index ] = easing;
|
279
|
+
}
|
280
|
+
}
|
281
|
+
} else {
|
282
|
+
specialEasing[ name ] = easing;
|
283
|
+
}
|
284
|
+
}
|
285
|
+
}
|
286
|
+
|
287
|
+
function Animation( elem, properties, options ) {
|
288
|
+
var result,
|
289
|
+
stopped,
|
290
|
+
index = 0,
|
291
|
+
length = animationPrefilters.length,
|
292
|
+
deferred = jQuery.Deferred().always( function() {
|
293
|
+
// Don't match elem in the :animated selector
|
294
|
+
delete tick.elem;
|
295
|
+
}),
|
296
|
+
tick = function() {
|
297
|
+
if ( stopped ) {
|
298
|
+
return false;
|
299
|
+
}
|
300
|
+
var currentTime = fxNow || createFxNow(),
|
301
|
+
remaining = Math.max( 0, animation.startTime + animation.duration - currentTime ),
|
302
|
+
// Support: Android 2.3
|
303
|
+
// Archaic crash bug won't allow us to use `1 - ( 0.5 || 0 )` (#12497)
|
304
|
+
temp = remaining / animation.duration || 0,
|
305
|
+
percent = 1 - temp,
|
306
|
+
index = 0,
|
307
|
+
length = animation.tweens.length;
|
308
|
+
|
309
|
+
for ( ; index < length ; index++ ) {
|
310
|
+
animation.tweens[ index ].run( percent );
|
311
|
+
}
|
312
|
+
|
313
|
+
deferred.notifyWith( elem, [ animation, percent, remaining ]);
|
314
|
+
|
315
|
+
if ( percent < 1 && length ) {
|
316
|
+
return remaining;
|
317
|
+
} else {
|
318
|
+
deferred.resolveWith( elem, [ animation ] );
|
319
|
+
return false;
|
320
|
+
}
|
321
|
+
},
|
322
|
+
animation = deferred.promise({
|
323
|
+
elem: elem,
|
324
|
+
props: jQuery.extend( {}, properties ),
|
325
|
+
opts: jQuery.extend( true, { specialEasing: {} }, options ),
|
326
|
+
originalProperties: properties,
|
327
|
+
originalOptions: options,
|
328
|
+
startTime: fxNow || createFxNow(),
|
329
|
+
duration: options.duration,
|
330
|
+
tweens: [],
|
331
|
+
createTween: function( prop, end ) {
|
332
|
+
var tween = jQuery.Tween( elem, animation.opts, prop, end,
|
333
|
+
animation.opts.specialEasing[ prop ] || animation.opts.easing );
|
334
|
+
animation.tweens.push( tween );
|
335
|
+
return tween;
|
336
|
+
},
|
337
|
+
stop: function( gotoEnd ) {
|
338
|
+
var index = 0,
|
339
|
+
// If we are going to the end, we want to run all the tweens
|
340
|
+
// otherwise we skip this part
|
341
|
+
length = gotoEnd ? animation.tweens.length : 0;
|
342
|
+
if ( stopped ) {
|
343
|
+
return this;
|
344
|
+
}
|
345
|
+
stopped = true;
|
346
|
+
for ( ; index < length ; index++ ) {
|
347
|
+
animation.tweens[ index ].run( 1 );
|
348
|
+
}
|
349
|
+
|
350
|
+
// Resolve when we played the last frame; otherwise, reject
|
351
|
+
if ( gotoEnd ) {
|
352
|
+
deferred.resolveWith( elem, [ animation, gotoEnd ] );
|
353
|
+
} else {
|
354
|
+
deferred.rejectWith( elem, [ animation, gotoEnd ] );
|
355
|
+
}
|
356
|
+
return this;
|
357
|
+
}
|
358
|
+
}),
|
359
|
+
props = animation.props;
|
360
|
+
|
361
|
+
propFilter( props, animation.opts.specialEasing );
|
362
|
+
|
363
|
+
for ( ; index < length ; index++ ) {
|
364
|
+
result = animationPrefilters[ index ].call( animation, elem, props, animation.opts );
|
365
|
+
if ( result ) {
|
366
|
+
return result;
|
367
|
+
}
|
368
|
+
}
|
369
|
+
|
370
|
+
jQuery.map( props, createTween, animation );
|
371
|
+
|
372
|
+
if ( jQuery.isFunction( animation.opts.start ) ) {
|
373
|
+
animation.opts.start.call( elem, animation );
|
374
|
+
}
|
375
|
+
|
376
|
+
jQuery.fx.timer(
|
377
|
+
jQuery.extend( tick, {
|
378
|
+
elem: elem,
|
379
|
+
anim: animation,
|
380
|
+
queue: animation.opts.queue
|
381
|
+
})
|
382
|
+
);
|
383
|
+
|
384
|
+
// attach callbacks from options
|
385
|
+
return animation.progress( animation.opts.progress )
|
386
|
+
.done( animation.opts.done, animation.opts.complete )
|
387
|
+
.fail( animation.opts.fail )
|
388
|
+
.always( animation.opts.always );
|
389
|
+
}
|
390
|
+
|
391
|
+
jQuery.Animation = jQuery.extend( Animation, {
|
392
|
+
|
393
|
+
tweener: function( props, callback ) {
|
394
|
+
if ( jQuery.isFunction( props ) ) {
|
395
|
+
callback = props;
|
396
|
+
props = [ "*" ];
|
397
|
+
} else {
|
398
|
+
props = props.split(" ");
|
399
|
+
}
|
400
|
+
|
401
|
+
var prop,
|
402
|
+
index = 0,
|
403
|
+
length = props.length;
|
404
|
+
|
405
|
+
for ( ; index < length ; index++ ) {
|
406
|
+
prop = props[ index ];
|
407
|
+
tweeners[ prop ] = tweeners[ prop ] || [];
|
408
|
+
tweeners[ prop ].unshift( callback );
|
409
|
+
}
|
410
|
+
},
|
411
|
+
|
412
|
+
prefilter: function( callback, prepend ) {
|
413
|
+
if ( prepend ) {
|
414
|
+
animationPrefilters.unshift( callback );
|
415
|
+
} else {
|
416
|
+
animationPrefilters.push( callback );
|
417
|
+
}
|
418
|
+
}
|
419
|
+
});
|
420
|
+
|
421
|
+
jQuery.speed = function( speed, easing, fn ) {
|
422
|
+
var opt = speed && typeof speed === "object" ? jQuery.extend( {}, speed ) : {
|
423
|
+
complete: fn || !fn && easing ||
|
424
|
+
jQuery.isFunction( speed ) && speed,
|
425
|
+
duration: speed,
|
426
|
+
easing: fn && easing || easing && !jQuery.isFunction( easing ) && easing
|
427
|
+
};
|
428
|
+
|
429
|
+
opt.duration = jQuery.fx.off ? 0 : typeof opt.duration === "number" ? opt.duration :
|
430
|
+
opt.duration in jQuery.fx.speeds ? jQuery.fx.speeds[ opt.duration ] : jQuery.fx.speeds._default;
|
431
|
+
|
432
|
+
// Normalize opt.queue - true/undefined/null -> "fx"
|
433
|
+
if ( opt.queue == null || opt.queue === true ) {
|
434
|
+
opt.queue = "fx";
|
435
|
+
}
|
436
|
+
|
437
|
+
// Queueing
|
438
|
+
opt.old = opt.complete;
|
439
|
+
|
440
|
+
opt.complete = function() {
|
441
|
+
if ( jQuery.isFunction( opt.old ) ) {
|
442
|
+
opt.old.call( this );
|
443
|
+
}
|
444
|
+
|
445
|
+
if ( opt.queue ) {
|
446
|
+
jQuery.dequeue( this, opt.queue );
|
447
|
+
}
|
448
|
+
};
|
449
|
+
|
450
|
+
return opt;
|
451
|
+
};
|
452
|
+
|
453
|
+
jQuery.fn.extend({
|
454
|
+
fadeTo: function( speed, to, easing, callback ) {
|
455
|
+
|
456
|
+
// Show any hidden elements after setting opacity to 0
|
457
|
+
return this.filter( isHidden ).css( "opacity", 0 ).show()
|
458
|
+
|
459
|
+
// Animate to the value specified
|
460
|
+
.end().animate({ opacity: to }, speed, easing, callback );
|
461
|
+
},
|
462
|
+
animate: function( prop, speed, easing, callback ) {
|
463
|
+
var empty = jQuery.isEmptyObject( prop ),
|
464
|
+
optall = jQuery.speed( speed, easing, callback ),
|
465
|
+
doAnimation = function() {
|
466
|
+
// Operate on a copy of prop so per-property easing won't be lost
|
467
|
+
var anim = Animation( this, jQuery.extend( {}, prop ), optall );
|
468
|
+
|
469
|
+
// Empty animations, or finishing resolves immediately
|
470
|
+
if ( empty || data_priv.get( this, "finish" ) ) {
|
471
|
+
anim.stop( true );
|
472
|
+
}
|
473
|
+
};
|
474
|
+
doAnimation.finish = doAnimation;
|
475
|
+
|
476
|
+
return empty || optall.queue === false ?
|
477
|
+
this.each( doAnimation ) :
|
478
|
+
this.queue( optall.queue, doAnimation );
|
479
|
+
},
|
480
|
+
stop: function( type, clearQueue, gotoEnd ) {
|
481
|
+
var stopQueue = function( hooks ) {
|
482
|
+
var stop = hooks.stop;
|
483
|
+
delete hooks.stop;
|
484
|
+
stop( gotoEnd );
|
485
|
+
};
|
486
|
+
|
487
|
+
if ( typeof type !== "string" ) {
|
488
|
+
gotoEnd = clearQueue;
|
489
|
+
clearQueue = type;
|
490
|
+
type = undefined;
|
491
|
+
}
|
492
|
+
if ( clearQueue && type !== false ) {
|
493
|
+
this.queue( type || "fx", [] );
|
494
|
+
}
|
495
|
+
|
496
|
+
return this.each(function() {
|
497
|
+
var dequeue = true,
|
498
|
+
index = type != null && type + "queueHooks",
|
499
|
+
timers = jQuery.timers,
|
500
|
+
data = data_priv.get( this );
|
501
|
+
|
502
|
+
if ( index ) {
|
503
|
+
if ( data[ index ] && data[ index ].stop ) {
|
504
|
+
stopQueue( data[ index ] );
|
505
|
+
}
|
506
|
+
} else {
|
507
|
+
for ( index in data ) {
|
508
|
+
if ( data[ index ] && data[ index ].stop && rrun.test( index ) ) {
|
509
|
+
stopQueue( data[ index ] );
|
510
|
+
}
|
511
|
+
}
|
512
|
+
}
|
513
|
+
|
514
|
+
for ( index = timers.length; index--; ) {
|
515
|
+
if ( timers[ index ].elem === this && (type == null || timers[ index ].queue === type) ) {
|
516
|
+
timers[ index ].anim.stop( gotoEnd );
|
517
|
+
dequeue = false;
|
518
|
+
timers.splice( index, 1 );
|
519
|
+
}
|
520
|
+
}
|
521
|
+
|
522
|
+
// Start the next in the queue if the last step wasn't forced.
|
523
|
+
// Timers currently will call their complete callbacks, which
|
524
|
+
// will dequeue but only if they were gotoEnd.
|
525
|
+
if ( dequeue || !gotoEnd ) {
|
526
|
+
jQuery.dequeue( this, type );
|
527
|
+
}
|
528
|
+
});
|
529
|
+
},
|
530
|
+
finish: function( type ) {
|
531
|
+
if ( type !== false ) {
|
532
|
+
type = type || "fx";
|
533
|
+
}
|
534
|
+
return this.each(function() {
|
535
|
+
var index,
|
536
|
+
data = data_priv.get( this ),
|
537
|
+
queue = data[ type + "queue" ],
|
538
|
+
hooks = data[ type + "queueHooks" ],
|
539
|
+
timers = jQuery.timers,
|
540
|
+
length = queue ? queue.length : 0;
|
541
|
+
|
542
|
+
// Enable finishing flag on private data
|
543
|
+
data.finish = true;
|
544
|
+
|
545
|
+
// Empty the queue first
|
546
|
+
jQuery.queue( this, type, [] );
|
547
|
+
|
548
|
+
if ( hooks && hooks.stop ) {
|
549
|
+
hooks.stop.call( this, true );
|
550
|
+
}
|
551
|
+
|
552
|
+
// Look for any active animations, and finish them
|
553
|
+
for ( index = timers.length; index--; ) {
|
554
|
+
if ( timers[ index ].elem === this && timers[ index ].queue === type ) {
|
555
|
+
timers[ index ].anim.stop( true );
|
556
|
+
timers.splice( index, 1 );
|
557
|
+
}
|
558
|
+
}
|
559
|
+
|
560
|
+
// Look for any animations in the old queue and finish them
|
561
|
+
for ( index = 0; index < length; index++ ) {
|
562
|
+
if ( queue[ index ] && queue[ index ].finish ) {
|
563
|
+
queue[ index ].finish.call( this );
|
564
|
+
}
|
565
|
+
}
|
566
|
+
|
567
|
+
// Turn off finishing flag
|
568
|
+
delete data.finish;
|
569
|
+
});
|
570
|
+
}
|
571
|
+
});
|
572
|
+
|
573
|
+
jQuery.each([ "toggle", "show", "hide" ], function( i, name ) {
|
574
|
+
var cssFn = jQuery.fn[ name ];
|
575
|
+
jQuery.fn[ name ] = function( speed, easing, callback ) {
|
576
|
+
return speed == null || typeof speed === "boolean" ?
|
577
|
+
cssFn.apply( this, arguments ) :
|
578
|
+
this.animate( genFx( name, true ), speed, easing, callback );
|
579
|
+
};
|
580
|
+
});
|
581
|
+
|
582
|
+
// Generate shortcuts for custom animations
|
583
|
+
jQuery.each({
|
584
|
+
slideDown: genFx("show"),
|
585
|
+
slideUp: genFx("hide"),
|
586
|
+
slideToggle: genFx("toggle"),
|
587
|
+
fadeIn: { opacity: "show" },
|
588
|
+
fadeOut: { opacity: "hide" },
|
589
|
+
fadeToggle: { opacity: "toggle" }
|
590
|
+
}, function( name, props ) {
|
591
|
+
jQuery.fn[ name ] = function( speed, easing, callback ) {
|
592
|
+
return this.animate( props, speed, easing, callback );
|
593
|
+
};
|
594
|
+
});
|
595
|
+
|
596
|
+
jQuery.timers = [];
|
597
|
+
jQuery.fx.tick = function() {
|
598
|
+
var timer,
|
599
|
+
i = 0,
|
600
|
+
timers = jQuery.timers;
|
601
|
+
|
602
|
+
fxNow = jQuery.now();
|
603
|
+
|
604
|
+
for ( ; i < timers.length; i++ ) {
|
605
|
+
timer = timers[ i ];
|
606
|
+
// Checks the timer has not already been removed
|
607
|
+
if ( !timer() && timers[ i ] === timer ) {
|
608
|
+
timers.splice( i--, 1 );
|
609
|
+
}
|
610
|
+
}
|
611
|
+
|
612
|
+
if ( !timers.length ) {
|
613
|
+
jQuery.fx.stop();
|
614
|
+
}
|
615
|
+
fxNow = undefined;
|
616
|
+
};
|
617
|
+
|
618
|
+
jQuery.fx.timer = function( timer ) {
|
619
|
+
jQuery.timers.push( timer );
|
620
|
+
if ( timer() ) {
|
621
|
+
jQuery.fx.start();
|
622
|
+
} else {
|
623
|
+
jQuery.timers.pop();
|
624
|
+
}
|
625
|
+
};
|
626
|
+
|
627
|
+
jQuery.fx.interval = 13;
|
628
|
+
|
629
|
+
jQuery.fx.start = function() {
|
630
|
+
if ( !timerId ) {
|
631
|
+
timerId = setInterval( jQuery.fx.tick, jQuery.fx.interval );
|
632
|
+
}
|
633
|
+
};
|
634
|
+
|
635
|
+
jQuery.fx.stop = function() {
|
636
|
+
clearInterval( timerId );
|
637
|
+
timerId = null;
|
638
|
+
};
|
639
|
+
|
640
|
+
jQuery.fx.speeds = {
|
641
|
+
slow: 600,
|
642
|
+
fast: 200,
|
643
|
+
// Default speed
|
644
|
+
_default: 400
|
645
|
+
};
|
646
|
+
|
647
|
+
return jQuery;
|
648
|
+
});
|