algolia-places-rails 1.16.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 57fe4c6090d001ecb23c00e2f819bacaf091af28
4
+ data.tar.gz: 7561567e1377404c457684eef87b4e5df88056e2
5
+ SHA512:
6
+ metadata.gz: 7a5968ad2a78d9246141a05543ce87d7848aadbacec39cdbac1263ca9359c9ef181341b15730b2e6e49bad8c52682161516ed420c03999cb15c418c7516a8b3d
7
+ data.tar.gz: 81e6f8c136c643b82e843e04cc6706c807b1bb2dde5af6160036a62466b36a82b8dfe03776ac145bbb3e93712106daeba8bb2d16c3d7add7b43cfe8f87d0d47c
@@ -0,0 +1,20 @@
1
+ Copyright 2018 Curt Howard
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,40 @@
1
+ # AlgoliaPlacesRails
2
+ This plugin adds the minified Algolia Places JS library to the asset pipeline
3
+
4
+ ## Installation
5
+
6
+ Add this line to your application's Gemfile:
7
+
8
+ ```ruby
9
+ gem 'algolia-places-rails'
10
+ ```
11
+
12
+ And then execute:
13
+
14
+ ```bash
15
+ $ bundle
16
+ ```
17
+
18
+ ## Usage
19
+
20
+ Add this line to your javascript manifest:
21
+
22
+ ```
23
+ //= require algolia-places-rails/places.min
24
+ ```
25
+
26
+ ## Contributing
27
+
28
+ If you need a new version of this gem released please:
29
+
30
+ 1. Fork this repo
31
+ 1. Create a branch
32
+ 1. Overwrite the `vendor/assets/javascript/algolia-places-rails/places.min.js`
33
+ file with the newest version.
34
+ 1. Issue a PR back to this repo.
35
+
36
+ I will merge, bump the version myself, and release to RubyGems.org for you.
37
+
38
+ ## License
39
+
40
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
@@ -0,0 +1,9 @@
1
+ begin
2
+ require 'bundler/setup'
3
+ rescue LoadError
4
+ puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
5
+ end
6
+
7
+ load 'rails/tasks/statistics.rake'
8
+
9
+ require 'bundler/gem_tasks'
@@ -0,0 +1,3 @@
1
+ require 'algolia-places-rails/engine'
2
+
3
+ module AlgoliaPlacesRails; end
@@ -0,0 +1,4 @@
1
+ module AlgoliaPlacesRails
2
+ class Engine < ::Rails::Engine
3
+ end
4
+ end
@@ -0,0 +1,3 @@
1
+ module AlgoliaPlacesRails
2
+ VERSION = '1.16.4'.freeze
3
+ end
@@ -0,0 +1,2 @@
1
+ !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.places=e():t.places=e()}(window,function(){return function(n){var r={};function i(t){if(r[t])return r[t].exports;var e=r[t]={i:t,l:!1,exports:{}};return n[t].call(e.exports,e,e.exports,i),e.l=!0,e.exports}return i.m=n,i.c=r,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)i.d(n,r,function(t){return e[t]}.bind(null,r));return n},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=68)}([function(t,e,n){"use strict";var r,i=n(2);function s(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}t.exports={isArray:null,isFunction:null,isObject:null,bind:null,each:null,map:null,mixin:null,isMsie:function(t){if(void 0===t&&(t=navigator.userAgent),/(msie|trident)/i.test(t)){var e=t.match(/(msie |rv:)(\d+(.\d+)?)/i);if(e)return e[2]}return!1},escapeRegExChars:function(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},isNumber:function(t){return"number"==typeof t},toStr:function(t){return null==t?"":t+""},cloneDeep:function(t){var n=this.mixin({},t),r=this;return this.each(n,function(t,e){t&&(r.isArray(t)?n[e]=[].concat(t):r.isObject(t)&&(n[e]=r.cloneDeep(t)))}),n},error:function(t){throw new Error(t)},every:function(n,r){var i=!0;return n?(this.each(n,function(t,e){i&&(i=r.call(null,t,e,n)&&i)}),!!i):i},any:function(n,r){var i=!1;return n&&this.each(n,function(t,e){if(r.call(null,t,e,n))return!(i=!0)}),i},getUniqueId:(r=0,function(){return r++}),templatify:function(t){if(this.isFunction(t))return t;var e=i.element(t);return"SCRIPT"===e.prop("tagName")?function(){return e.text()}:function(){return String(t)}},defer:function(t){setTimeout(t,0)},noop:function(){},formatPrefix:function(t,e){return e?"":t+"-"},className:function(t,e,n){return(n?"":".")+t+e},escapeHighlightedString:function(t,e,n){e=e||"<em>";var r=document.createElement("div");r.appendChild(document.createTextNode(e)),n=n||"</em>";var i=document.createElement("div");i.appendChild(document.createTextNode(n));var o=document.createElement("div");return o.appendChild(document.createTextNode(t)),o.innerHTML.replace(RegExp(s(r.innerHTML),"g"),e).replace(RegExp(s(i.innerHTML),"g"),n)}}},function(t,e,n){"use strict";function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(t){i(e,t,n[t])})}return e}function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var r={},o={};e.a=function(t){return r=function(t){var e=t.hitsPerPage,n=t.aroundLatLng,r=t.aroundRadius,i=t.aroundLatLngViaIP,o=t.insideBoundingBox,s=t.insidePolygon,a=t.getRankingInfo,c=t.countries,u=t.language,l=t.type,h={countries:c,hitsPerPage:e||5,language:u||navigator.language.split("-")[0],type:l};return Array.isArray(c)&&(h.countries=h.countries.map(function(t){return t.toLowerCase()})),"string"==typeof h.language&&(h.language=h.language.toLowerCase()),n?h.aroundLatLng=n:void 0!==i&&(h.aroundLatLngViaIP=i),p({},h,{aroundRadius:r,insideBoundingBox:o,insidePolygon:s,getRankingInfo:a})}(p({},r,t)),o=function(t){var e=t.useDeviceLocation,n=void 0!==e&&e,r=t.computeQueryParams,i=void 0===r?function(t){return t}:r,o=t.formatInputValue,s=t.onHits,a=void 0===s?function(){}:s,c=t.onError;return{useDeviceLocation:n,computeQueryParams:i,formatInputValue:o,onHits:a,onError:void 0===c?function(t){throw t}:c,onRateLimitReached:t.onRateLimitReached,onInvalidCredentials:t.onInvalidCredentials}}(p({},o,t)),{params:r,controls:o}}},function(t,e,n){"use strict";t.exports={element:null}},function(t,e){var s=Object.prototype.hasOwnProperty,a=Object.prototype.toString;t.exports=function(t,e,n){if("[object Function]"!==a.call(e))throw new TypeError("iterator must be a function");var r=t.length;if(r===+r)for(var i=0;i<r;i++)e.call(n,t[i],i,t);else for(var o in t)s.call(t,o)&&e.call(n,t[o],o,t)}},function(t,e){t.exports=function(t){return JSON.parse(JSON.stringify(t))}},function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){"use strict";n.r(e),e.default="1.16.4"},function(t,e,n){"use strict";e.a='<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 14 20"><path d="M7 0C3.13 0 0 3.13 0 7c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5C5.62 9.5 4.5 8.38 4.5 7S5.62 4.5 7 4.5 9.5 5.62 9.5 7 8.38 9.5 7 9.5z"/></svg>\n'},function(t,e,n){"use strict";var a={address:n(7).a,city:'<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 18 19"><path d="M12 9V3L9 0 6 3v2H0v14h18V9h-6zm-8 8H2v-2h2v2zm0-4H2v-2h2v2zm0-4H2V7h2v2zm6 8H8v-2h2v2zm0-4H8v-2h2v2zm0-4H8V7h2v2zm0-4H8V3h2v2zm6 12h-2v-2h2v2zm0-4h-2v-2h2v2z"/></svg>\n',country:'<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20">\n <path d="M10 0C4.48 0 0 4.48 0 10s4.48 10 10 10 10-4.48 10-10S15.52 0 10 0zM9 17.93c-3.95-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L7 13v1c0 1.1.9 2 2 2v1.93zm6.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H6V8h2c.55 0 1-.45 1-1V5h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41 0 2.08-.8 3.97-2.1 5.39z"/>\n</svg>\n',busStop:'<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 54.9 50.5"><path d="M9.6 12.7H8.5c-2.3 0-4.1 1.9-4.1 4.1v1.1c0 2.2 1.8 4 4 4.1v21.7h-.7c-1.3 0-2.3 1-2.3 2.3h7.1c0-1.3-1-2.3-2.3-2.3h-.5V22.1c2.2-.1 4-1.9 4-4.1v-1.1c0-2.3-1.8-4.2-4.1-4.2zM46 7.6h-7.5c0-1.8-1.5-3.3-3.3-3.3h-3.6c-1.8 0-3.3 1.5-3.3 3.3H21c-2.5 0-4.6 2-4.6 4.6v26.3c0 1.7 1.3 3.1 3 3.1h.8v1.6c0 1.7 1.4 3.1 3.1 3.1 1.7 0 3-1.4 3-3.1v-1.6h14.3v1.6c0 1.7 1.4 3.1 3.1 3.1 1.7 0 3.1-1.4 3.1-3.1v-1.6h.8c1.7 0 3.1-1.4 3.1-3.1V12.2c-.2-2.5-2.2-4.6-4.7-4.6zm-27.4 4.6c0-1.3 1.1-2.4 2.4-2.4h25c1.3 0 2.4 1.1 2.4 2.4v.3c0 1.3-1.1 2.4-2.4 2.4H21c-1.3 0-2.4-1.1-2.4-2.4v-.3zM21 38c-1.5 0-2.7-1.2-2.7-2.7 0-1.5 1.2-2.7 2.7-2.7 1.5 0 2.7 1.2 2.7 2.7 0 1.5-1.2 2.7-2.7 2.7zm0-10.1c-1.3 0-2.4-1.1-2.4-2.4v-6.6c0-1.3 1.1-2.4 2.4-2.4h25c1.3 0 2.4 1.1 2.4 2.4v6.6c0 1.3-1.1 2.4-2.4 2.4H21zm24.8 10c-1.5 0-2.7-1.2-2.7-2.7 0-1.5 1.2-2.7 2.7-2.7 1.5 0 2.7 1.2 2.7 2.7 0 1.5-1.2 2.7-2.7 2.7z"/></svg>\n',trainStation:'<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 15 20">\n <path d="M13.105 20l-2.366-3.354H4.26L1.907 20H0l3.297-4.787c-1.1-.177-2.196-1.287-2.194-2.642V2.68C1.1 1.28 2.317-.002 3.973 0h7.065c1.647-.002 2.863 1.28 2.86 2.676v9.895c.003 1.36-1.094 2.47-2.194 2.647L15 20h-1.895zM6.11 2h2.78c.264 0 .472-.123.472-.27v-.46c0-.147-.22-.268-.472-.27H6.11c-.252.002-.47.123-.47.27v.46c0 .146.206.27.47.27zm6.26 3.952V4.175c-.004-.74-.5-1.387-1.436-1.388H4.066c-.936 0-1.43.648-1.436 1.388v1.777c-.002.86.644 1.384 1.436 1.388h6.868c.793-.004 1.44-.528 1.436-1.388zm-8.465 5.386c-.69-.003-1.254.54-1.252 1.21-.002.673.56 1.217 1.252 1.222.697-.006 1.26-.55 1.262-1.22-.002-.672-.565-1.215-1.262-1.212zm8.42 1.21c-.005-.67-.567-1.213-1.265-1.21-.69-.003-1.253.54-1.25 1.21-.003.673.56 1.217 1.25 1.222.698-.006 1.26-.55 1.264-1.22z"/>\n</svg>\n',townhall:'<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24"><path d="M12 .6L2.5 6.9h18.9L12 .6zM3.8 8.2c-.7 0-1.3.6-1.3 1.3v8.8L.3 22.1c-.2.3-.3.5-.3.6 0 .6.8.6 1.3.6h21.5c.4 0 1.3 0 1.3-.6 0-.2-.1-.3-.3-.6l-2.2-3.8V9.5c0-.7-.6-1.3-1.3-1.3H3.8zm2.5 2.5c.7 0 1.1.6 1.3 1.3v7.6H5.1V12c0-.7.5-1.3 1.2-1.3zm5.7 0c.7 0 1.3.6 1.3 1.3v7.6h-2.5V12c-.1-.7.5-1.3 1.2-1.3zm5.7 0c.7 0 1.3.6 1.3 1.3v7.6h-2.5V12c-.1-.7.5-1.3 1.2-1.3z"/></svg>\n',airport:'<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24"><path d="M22.9 1.1s1.3.3-4.3 6.5l.7 3.8.2-.2c.4-.4 1-.4 1.3 0 .4.4.4 1 0 1.3l-1.2 1.2.3 1.7.1-.1c.4-.4 1-.4 1.3 0 .4.4.4 1 0 1.3l-1.1 1.1c.2 1.9.3 3.6.1 4.5 0 0-1.2 1.2-1.8.5 0 0-2.3-7.7-3.8-11.1-5.9 6-6.4 5.6-6.4 5.6s1.2 3.8-.2 5.2l-2.3-4.3h.1l-4.3-2.3c1.3-1.3 5.2-.2 5.2-.2s-.5-.4 5.6-6.3C8.9 7.7 1.2 5.5 1.2 5.5c-.7-.7.5-1.8.5-1.8.9-.2 2.6-.1 4.5.1l1.1-1.1c.4-.4 1-.4 1.3 0 .4.4.4 1 0 1.3l1.7.3 1.2-1.2c.4-.4 1-.4 1.3 0 .4.4.4 1 0 1.3l-.2.2 3.8.7c6.2-5.5 6.5-4.2 6.5-4.2z"/></svg>\n'};e.a={footer:'<div class="ap-footer">\n <a href="https://www.algolia.com/places" title="Search by Algolia" class="ap-footer-algolia">'.concat('<svg xmlns="http://www.w3.org/2000/svg" width="117" height="17" viewBox="0 0 130 19"><g fill="none" fill-rule="evenodd"><g fill-rule="nonzero"><path fill="#5468FF" d="M59.399.044h13.299a2.372 2.372 0 0 1 2.377 2.364v13.234a2.372 2.372 0 0 1-2.377 2.364H59.399a2.372 2.372 0 0 1-2.377-2.364V2.403A2.368 2.368 0 0 1 59.399.044z"/><path fill="#FFF" d="M66.257 4.582c-2.815 0-5.1 2.272-5.1 5.078 0 2.806 2.284 5.072 5.1 5.072 2.815 0 5.1-2.272 5.1-5.078 0-2.806-2.279-5.072-5.1-5.072zm0 8.652c-1.983 0-3.593-1.602-3.593-3.574 0-1.972 1.61-3.574 3.593-3.574 1.983 0 3.593 1.602 3.593 3.574a3.582 3.582 0 0 1-3.593 3.574zm0-6.418V9.48c0 .076.082.131.153.093l2.377-1.226c.055-.027.071-.093.044-.147a2.96 2.96 0 0 0-2.465-1.487c-.055 0-.11.044-.11.104h.001zm-3.33-1.956l-.312-.31a.783.783 0 0 0-1.106 0l-.372.37a.773.773 0 0 0 0 1.1l.307.305c.049.05.121.038.164-.01.181-.246.378-.48.597-.698.225-.223.455-.42.707-.599.055-.033.06-.109.016-.158h-.001zm5.001-.806v-.616a.781.781 0 0 0-.783-.779h-1.824a.78.78 0 0 0-.783.78v.631c0 .071.066.12.137.104a5.736 5.736 0 0 1 1.588-.223c.52 0 1.035.071 1.534.207a.106.106 0 0 0 .131-.104z"/><path fill="#252C61" d="M5.027 10.246c0 .698-.252 1.246-.757 1.644-.505.397-1.201.596-2.089.596-.888 0-1.615-.138-2.181-.414v-1.214c.358.168.739.301 1.141.397.403.097.778.145 1.125.145.508 0 .884-.097 1.125-.29a.945.945 0 0 0 .363-.779.978.978 0 0 0-.333-.747c-.222-.204-.68-.446-1.375-.725C1.33 8.57.825 8.24.531 7.865c-.294-.372-.44-.82-.44-1.343 0-.655.233-1.17.698-1.547.465-.376 1.09-.564 1.875-.564.752 0 1.5.165 2.245.494l-.408 1.047c-.698-.294-1.321-.44-1.869-.44-.415 0-.73.09-.945.271a.89.89 0 0 0-.322.717c0 .204.043.38.129.524.086.145.227.282.424.411.197.13.551.3 1.063.51.577.24.999.464 1.268.671.269.208.465.442.591.704.125.261.188.57.188.924l-.001.002zm3.98 2.24c-.924 0-1.646-.269-2.167-.808-.521-.539-.781-1.28-.781-2.226 0-.97.242-1.733.725-2.288.483-.555 1.148-.833 1.993-.833.784 0 1.404.238 1.858.714.455.476.682 1.132.682 1.966v.682H7.359c.018.577.174 1.02.467 1.33.294.31.707.464 1.241.464.351 0 .678-.033.98-.099a5.1 5.1 0 0 0 .975-.33v1.026a3.865 3.865 0 0 1-.935.312 5.723 5.723 0 0 1-1.08.091zm7.46-.107l-.252-.827h-.043c-.286.362-.575.608-.865.74-.29.13-.662.195-1.117.195-.584 0-1.039-.158-1.367-.473-.328-.315-.491-.76-.491-1.337 0-.612.227-1.074.682-1.386.455-.312 1.148-.482 2.079-.51l1.026-.032v-.317c0-.38-.089-.663-.266-.85-.177-.189-.452-.283-.824-.283-.304 0-.596.045-.875.134a6.68 6.68 0 0 0-.806.317l-.408-.902a4.414 4.414 0 0 1 1.058-.384 4.856 4.856 0 0 1 1.085-.132c.756 0 1.326.165 1.711.494.385.33.577.847.577 1.552v4.001h-.904zm5.677-6.048c.254 0 .464.018.628.054l-.124 1.176a2.383 2.383 0 0 0-.559-.064c-.505 0-.914.165-1.227.494-.313.33-.47.757-.47 1.284v3.104H19.13V6.44h.988l.167 1.047h.064c.197-.354.454-.636.771-.843a1.83 1.83 0 0 1 1.023-.312h.001zm4.125 6.155c-.899 0-1.582-.262-2.049-.787-.467-.525-.701-1.277-.701-2.259 0-.999.244-1.767.733-2.304.489-.537 1.195-.806 2.119-.806.627 0 1.191.116 1.692.35l-.381 1.014c-.534-.208-.974-.312-1.321-.312-1.028 0-1.542.682-1.542 2.046 0 .666.128 1.166.384 1.501.256.335.631.502 1.125.502a3.23 3.23 0 0 0 1.595-.419v1.101a2.53 2.53 0 0 1-.722.285 4.356 4.356 0 0 1-.932.086v.002zm8.277-.107h-1.268V8.727c0-.458-.092-.8-.277-1.026-.184-.226-.477-.338-.878-.338-.53 0-.919.158-1.168.475-.249.317-.373.848-.373 1.593v2.95H29.32V4.022h1.262v2.122c0 .34-.021.704-.064 1.09h.081a1.76 1.76 0 0 1 .717-.666c.306-.158.663-.236 1.072-.236 1.439 0 2.159.725 2.159 2.175v3.873l-.001-.002zm7.648-6.048c.741 0 1.319.27 1.732.806.414.537.62 1.291.62 2.261 0 .974-.209 1.732-.628 2.275-.419.542-1.001.814-1.746.814-.752 0-1.336-.27-1.751-.81h-.086l-.231.703h-.945V4.023h1.262V6.01l-.021.655-.032.553h.054c.401-.59.992-.886 1.772-.886zm2.917.107h1.375l1.208 3.368c.183.48.304.931.365 1.354h.043c.032-.197.091-.436.177-.717.086-.28.541-1.616 1.364-4.004h1.364l-2.541 6.73c-.462 1.235-1.232 1.853-2.31 1.853-.279 0-.551-.03-.816-.09v-1c.19.043.406.064.65.064.609 0 1.037-.353 1.284-1.058l.22-.559-2.385-5.94h.002zm-3.244.924c-.508 0-.875.15-1.098.448-.224.3-.339.8-.346 1.501v.086c0 .723.115 1.247.344 1.571.229.324.603.486 1.123.486.448 0 .787-.177 1.018-.532.231-.354.346-.867.346-1.536 0-1.35-.462-2.025-1.386-2.025l-.001.001zm-27.28 4.157c.458 0 .826-.128 1.104-.384.278-.256.416-.615.416-1.077v-.516l-.763.032c-.594.021-1.027.121-1.297.298s-.406.448-.406.814c0 .265.079.47.236.615.158.145.394.218.709.218h.001zM8.775 7.287c-.401 0-.722.127-.964.381s-.386.625-.432 1.112h2.696c-.007-.49-.125-.862-.354-1.115-.229-.252-.544-.379-.945-.379l-.001.001z"/></g><path fill="#5468FF" d="M102.162 13.784c0 1.455-.372 2.517-1.123 3.193-.75.676-1.895 1.013-3.44 1.013-.564 0-1.736-.109-2.673-.316l.345-1.689c.783.163 1.819.207 2.361.207.86 0 1.473-.174 1.84-.523.367-.349.548-.866.548-1.553v-.349a6.374 6.374 0 0 1-.838.316 4.151 4.151 0 0 1-1.194.158 4.515 4.515 0 0 1-1.616-.278 3.385 3.385 0 0 1-1.254-.817 3.744 3.744 0 0 1-.811-1.35c-.192-.54-.29-1.505-.29-2.213 0-.665.104-1.498.307-2.054a3.925 3.925 0 0 1 .904-1.433 4.124 4.124 0 0 1 1.441-.926 5.31 5.31 0 0 1 1.945-.365c.696 0 1.337.087 1.961.191a15.86 15.86 0 0 1 1.588.332v8.456h-.001zm-5.955-4.206c0 .893.197 1.885.592 2.3.394.413.904.62 1.528.62.34 0 .663-.049.964-.142a2.75 2.75 0 0 0 .734-.332v-5.29a8.531 8.531 0 0 0-1.413-.18c-.778-.022-1.369.294-1.786.801-.411.507-.619 1.395-.619 2.223zm16.121 0c0 .72-.104 1.264-.318 1.858a4.389 4.389 0 0 1-.904 1.52c-.389.42-.854.746-1.402.975-.548.23-1.391.36-1.813.36-.422-.005-1.26-.125-1.802-.36a4.088 4.088 0 0 1-1.397-.975 4.486 4.486 0 0 1-.909-1.52 5.037 5.037 0 0 1-.329-1.858c0-.719.099-1.41.318-1.999.219-.588.526-1.09.92-1.509.394-.42.865-.74 1.402-.97a4.547 4.547 0 0 1 1.786-.338 4.69 4.69 0 0 1 1.791.338c.548.23 1.019.55 1.402.97.389.42.69.921.909 1.51.23.587.345 1.28.345 1.998h.001zm-2.192.005c0-.92-.203-1.689-.597-2.223-.394-.539-.948-.806-1.654-.806-.707 0-1.26.267-1.654.806-.394.54-.586 1.302-.586 2.223 0 .932.197 1.558.592 2.098.394.545.948.812 1.654.812.707 0 1.26-.272 1.654-.812.394-.545.592-1.166.592-2.098h-.001zm6.963 4.708c-3.511.016-3.511-2.822-3.511-3.274L113.583.95l2.142-.338v10.003c0 .256 0 1.88 1.375 1.885v1.793h-.001zM120.873 14.291h-2.153V5.095l2.153-.338zM119.794 3.75c.718 0 1.304-.579 1.304-1.292 0-.714-.581-1.29-1.304-1.29-.723 0-1.304.577-1.304 1.29 0 .714.586 1.291 1.304 1.291zm6.431 1.012c.707 0 1.304.087 1.786.262.482.174.871.42 1.156.73.285.311.488.735.608 1.182.126.447.186.937.186 1.476v5.481a25.24 25.24 0 0 1-1.495.251c-.668.098-1.419.147-2.251.147a6.829 6.829 0 0 1-1.517-.158 3.213 3.213 0 0 1-1.178-.507 2.455 2.455 0 0 1-.761-.904c-.181-.37-.274-.893-.274-1.438 0-.523.104-.855.307-1.215.208-.36.487-.654.838-.883a3.609 3.609 0 0 1 1.227-.49 7.073 7.073 0 0 1 2.202-.103c.263.027.537.076.833.147v-.349c0-.245-.027-.479-.088-.697a1.486 1.486 0 0 0-.307-.583c-.148-.169-.34-.3-.581-.392a2.536 2.536 0 0 0-.915-.163c-.493 0-.942.06-1.353.131-.411.071-.75.153-1.008.245l-.257-1.749c.268-.093.668-.185 1.183-.278a9.335 9.335 0 0 1 1.66-.142h-.001zm.179 7.73c.657 0 1.145-.038 1.484-.104V10.22a5.097 5.097 0 0 0-1.978-.104c-.241.033-.46.098-.652.191a1.167 1.167 0 0 0-.466.392c-.121.17-.175.267-.175.523 0 .501.175.79.493.981.323.196.75.29 1.293.29h.001zM84.108 4.816c.707 0 1.304.087 1.786.262.482.174.871.42 1.156.73.29.316.487.735.608 1.182.126.447.186.937.186 1.476v5.481a25.24 25.24 0 0 1-1.495.251c-.668.098-1.419.147-2.251.147a6.829 6.829 0 0 1-1.517-.158 3.213 3.213 0 0 1-1.178-.507 2.455 2.455 0 0 1-.761-.904c-.181-.37-.274-.893-.274-1.438 0-.523.104-.855.307-1.215.208-.36.487-.654.838-.883a3.609 3.609 0 0 1 1.227-.49 7.073 7.073 0 0 1 2.202-.103c.257.027.537.076.833.147v-.349c0-.245-.027-.479-.088-.697a1.486 1.486 0 0 0-.307-.583c-.148-.169-.34-.3-.581-.392a2.536 2.536 0 0 0-.915-.163c-.493 0-.942.06-1.353.131-.411.071-.75.153-1.008.245l-.257-1.749c.268-.093.668-.185 1.183-.278a8.89 8.89 0 0 1 1.66-.142h-.001zm.185 7.736c.657 0 1.145-.038 1.484-.104V10.28a5.097 5.097 0 0 0-1.978-.104c-.241.033-.46.098-.652.191a1.167 1.167 0 0 0-.466.392c-.121.17-.175.267-.175.523 0 .501.175.79.493.981.318.191.75.29 1.293.29h.001zm8.683 1.738c-3.511.016-3.511-2.822-3.511-3.274L89.46.948 91.602.61v10.003c0 .256 0 1.88 1.375 1.885v1.793h-.001z"/></g></svg>'.trim(),'</a>\n using <a href="https://community.algolia.com/places/documentation.html#license" class="ap-footer-osm" title="Algolia Places data © OpenStreetMap contributors">').concat('<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12">\n <path fill="#797979" fill-rule="evenodd" d="M6.577.5L5.304.005 2.627 1.02 0 0l.992 2.767-.986 2.685.998 2.76-1 2.717.613.22 3.39-3.45.563.06.726-.69s-.717-.92-.91-1.86c.193-.146.184-.14.355-.285C4.1 1.93 6.58.5 6.58.5zm-4.17 11.354l.22.12 2.68-1.05 2.62 1.04 2.644-1.03 1.02-2.717-.33-.944s-1.13 1.26-3.44.878c-.174.29-.25.37-.25.37s-1.11-.31-1.683-.89c-.573.58-.795.71-.795.71l.08.634-2.76 2.89zm6.26-4.395c1.817 0 3.29-1.53 3.29-3.4 0-1.88-1.473-3.4-3.29-3.4s-3.29 1.52-3.29 3.4c0 1.87 1.473 3.4 3.29 3.4z"/>\n</svg>\n'.trim()," <span>data</span></a>\n </div>"),value:function(t){var e=t.administrative,n=t.city,r=t.country,i=t.name,o=t.type;return"".concat(i).concat("country"!==o&&void 0!==r?",":"","\n ").concat(n?"".concat(n,","):"","\n ").concat(e?"".concat(e,","):"","\n ").concat(r||"").replace(/\s*\n\s*/g," ").trim()},suggestion:function(t){var e=t.type,n=t.highlight,r=n.name,i=n.administrative,o=n.city,s=n.country;return'<span class="ap-suggestion-icon">'.concat(a[e].trim(),'</span>\n<span class="ap-name">').concat(r,'</span>\n<span class="ap-address">\n ').concat([o,i,s].filter(function(t){return void 0!==t}).join(", "),"</span>").replace(/\s*\n\s*/g," ")}}},function(t,e,n){"use strict";function v(t){for(var e=t[0].value,n=[],r=1;r<t.length;++r)"none"!==t[r].matchLevel&&n.push({index:r,words:t[r].matchedWords});return 0===n.length?e:(n.sort(function(t,e){return t.words>e.words?-1:t.words<e.words?1:t.index-e.index}),0===n[0].index?"".concat(e," (").concat(t[n[1].index].value,")"):"".concat(t[n[0].index].value," (").concat(e,")"))}function r(t){var e=t.formatInputValue,n=t.hit,r=t.hitIndex,i=t.query,o=t.rawAnswer;try{var s=n.locale_names[0],a=n.country,c=n.administrative&&n.administrative[0]!==s?n.administrative[0]:void 0,u=n.city&&n.city[0]!==s?n.city[0]:void 0,l=n.suburb&&n.suburb[0]!==s?n.suburb[0]:void 0,h=n.county&&n.county[0]!==s?n.county[0]:void 0,p=n.postcode&&n.postcode.length?function(t,e){for(var n=e[0].value,r=[],i=1;i<e.length;++i)"none"!==e[i].matchLevel&&r.push({index:i,words:e[i].matchedWords});return 0===r.length?{postcode:t[0],highlightedPostcode:n}:(r.sort(function(t,e){return t.words>e.words?-1:t.words<e.words?1:t.index-e.index}),{postcode:t[r[0].index],highlightedPostcode:e[r[0].index].value})}(n.postcode,n._highlightResult.postcode):{postcode:void 0,highlightedPostcode:void 0},f=p.postcode,d=p.highlightedPostcode,g={name:v(n._highlightResult.locale_names),city:u?v(n._highlightResult.city):void 0,administrative:c?v(n._highlightResult.administrative):void 0,country:a?n._highlightResult.country.value:void 0,suburb:l?v(n._highlightResult.suburb):void 0,county:h?v(n._highlightResult.county):void 0,postcode:d},m={name:s,administrative:c,county:h,city:u,suburb:l,country:a,countryCode:function(t){for(var e=0;e<t.length;e++){var n=t[e].match(/country\/(.*)?/);if(n)return n[1]}}(n._tags),type:function(t){var e={country:"country",city:"city","amenity/bus_station":"busStop","amenity/townhall":"townhall","railway/station":"trainStation","aeroway/aerodrome":"airport","aeroway/terminal":"airport","aeroway/gate":"airport"};for(var n in e)if(-1!==t.indexOf(n))return e[n];return"address"}(n._tags),latlng:{lat:n._geoloc.lat,lng:n._geoloc.lng},postcode:f,postcodes:n.postcode&&n.postcode.length?n.postcode:void 0};return function(i){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{},e=Object.keys(o);"function"==typeof Object.getOwnPropertySymbols&&(e=e.concat(Object.getOwnPropertySymbols(o).filter(function(t){return Object.getOwnPropertyDescriptor(o,t).enumerable}))),e.forEach(function(t){var e,n,r;e=i,r=o[n=t],n in e?Object.defineProperty(e,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[n]=r})}return i}({},m,{highlight:g,hit:n,hitIndex:r,query:i,rawAnswer:o,value:e(m)})}catch(t){return console.error("Could not parse object",n),console.error(t),{value:"Could not parse object"}}}n.d(e,"a",function(){return r})},function(t,e){var n,r,i=t.exports={};function o(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function a(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(t){n=o}try{r="function"==typeof clearTimeout?clearTimeout:s}catch(t){r=s}}();var c,u=[],l=!1,h=-1;function p(){l&&c&&(l=!1,c.length?u=c.concat(u):h=-1,u.length&&f())}function f(){if(!l){var t=a(p);l=!0;for(var e=u.length;e;){for(c=u,u=[];++h<e;)c&&c[h].run();h=-1,e=u.length}c=null,l=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===s||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(t)}}function d(t,e){this.fun=t,this.array=e}function g(){}i.nextTick=function(t){var e=new Array(arguments.length-1);if(1<arguments.length)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];u.push(new d(t,e)),1!==u.length||l||a(f)},d.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=g,i.addListener=g,i.once=g,i.off=g,i.removeListener=g,i.removeAllListeners=g,i.emit=g,i.prependListener=g,i.prependOnceListener=g,i.listeners=function(t){return[]},i.binding=function(t){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(t){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},function(t,e,i){"use strict";var r=i(21);function o(t,e){var n=i(3),r=this;"function"==typeof Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):r.stack=(new Error).stack||"Cannot get a stacktrace, browser is too old",this.name="AlgoliaSearchError",this.message=t||"Unknown error",e&&n(e,function(t,e){r[e]=t})}function n(e,n){function t(){var t=Array.prototype.slice.call(arguments,0);"string"!=typeof t[0]&&t.unshift(n),o.apply(this,t),this.name="AlgoliaSearch"+e+"Error"}return r(t,o),t}r(o,Error),t.exports={AlgoliaSearchError:o,UnparsableJSON:n("UnparsableJSON","Could not parse the incoming response as JSON, see err.more for details"),RequestTimeout:n("RequestTimeout","Request timedout before getting a response"),Network:n("Network","Network issue, see err.more for details"),JSONPScriptFail:n("JSONPScriptFail","<script> was loaded but did not call our provided callback"),JSONPScriptError:n("JSONPScriptError","<script> unable to load due to an `error` event on it"),Unknown:n("Unknown","Unknown error occured")}},function(t,e){var n={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==n.call(t)}},function(t,e,n){var o=n(3);t.exports=function(n,r){var i=[];return o(n,function(t,e){i.push(r(t,e,n))}),i}},function(n,o,r){(function(e){function t(){var t;try{t=o.storage.debug}catch(t){}return!t&&void 0!==e&&"env"in e&&(t=e.env.DEBUG),t}(o=n.exports=r(42)).log=function(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},o.formatArgs=function(t){var e=this.useColors;if(t[0]=(e?"%c":"")+this.namespace+(e?" %c":" ")+t[0]+(e?"%c ":" ")+"+"+o.humanize(this.diff),!e)return;var n="color: "+this.color;t.splice(1,0,n,"color: inherit");var r=0,i=0;t[0].replace(/%[a-zA-Z%]/g,function(t){"%%"!==t&&(r++,"%c"===t&&(i=r))}),t.splice(i,0,n)},o.save=function(t){try{null==t?o.storage.removeItem("debug"):o.storage.debug=t}catch(t){}},o.load=t,o.useColors=function(){if("undefined"!=typeof window&&window.process&&"renderer"===window.process.type)return!0;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&31<=parseInt(RegExp.$1,10)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},o.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(t){}}(),o.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],o.formatters.j=function(t){try{return JSON.stringify(t)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}},o.enable(t())}).call(this,r(10))},function(t,e,n){"use strict";var s=n(57),a=/\s+/;function r(t,e,n,r){var i;if(!n)return this;for(e=e.split(a),n=r?function(t,e){return t.bind?t.bind(e):function(){t.apply(e,[].slice.call(arguments,0))}}(n,r):n,this._callbacks=this._callbacks||{};i=e.shift();)this._callbacks[i]=this._callbacks[i]||{sync:[],async:[]},this._callbacks[i][t].push(n);return this}function c(r,i,o){return function(){for(var t,e=0,n=r.length;!t&&e<n;e+=1)t=!1===r[e].apply(i,o);return!t}}t.exports={onSync:function(t,e,n){return r.call(this,"sync",t,e,n)},onAsync:function(t,e,n){return r.call(this,"async",t,e,n)},off:function(t){var e;if(!this._callbacks)return this;t=t.split(a);for(;e=t.shift();)delete this._callbacks[e];return this},trigger:function(t){var e,n,r,i,o;if(!this._callbacks)return this;t=t.split(a),r=[].slice.call(arguments,1);for(;(e=t.shift())&&(n=this._callbacks[e]);)i=c(n.sync,this,[e].concat(r)),o=c(n.async,this,[e].concat(r)),i()&&s(o);return this}}},function(t,e,n){"use strict";var r=n(0),i={wrapper:{position:"relative",display:"inline-block"},hint:{position:"absolute",top:"0",left:"0",borderColor:"transparent",boxShadow:"none",opacity:"1"},input:{position:"relative",verticalAlign:"top",backgroundColor:"transparent"},inputWithNoHint:{position:"relative",verticalAlign:"top"},dropdown:{position:"absolute",top:"100%",left:"0",zIndex:"100",display:"none"},suggestions:{display:"block"},suggestion:{whiteSpace:"nowrap",cursor:"pointer"},suggestionChild:{whiteSpace:"normal"},ltr:{left:"0",right:"auto"},rtl:{left:"auto",right:"0"},defaultClasses:{root:"algolia-autocomplete",prefix:"aa",noPrefix:!1,dropdownMenu:"dropdown-menu",input:"input",hint:"hint",suggestions:"suggestions",suggestion:"suggestion",cursor:"cursor",dataset:"dataset",empty:"empty"},appendTo:{wrapper:{position:"absolute",zIndex:"100",display:"none"},input:{},inputWithNoHint:{},dropdown:{display:"block"}}};r.isMsie()&&r.mixin(i.input,{backgroundImage:"url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)"}),r.isMsie()&&r.isMsie()<=7&&r.mixin(i.input,{marginTop:"-1px"}),t.exports=i},function(t,e,n){"use strict";n.r(e),e.default=".algolia-places {\n width: 100%;\n}\n\n.ap-input, .ap-hint {\n width: 100%;\n padding-right: 35px;\n padding-left: 16px;\n line-height: 40px;\n height: 40px;\n border: 1px solid #CCC;\n border-radius: 3px;\n outline: none;\n font: inherit;\n appearance: none;\n -webkit-appearance: none;\n box-sizing: border-box;\n}\n\n.ap-input::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n.ap-input::-ms-clear {\n display: none;\n}\n\n.ap-input:hover ~ .ap-input-icon svg,\n.ap-input:focus ~ .ap-input-icon svg,\n.ap-input-icon:hover svg {\n fill: #aaaaaa;\n}\n\n.ap-dropdown-menu {\n width: 100%;\n background: #ffffff;\n box-shadow: 0 1px 10px rgba(0, 0, 0, 0.2), 0 2px 4px 0 rgba(0, 0, 0, 0.1);\n border-radius: 3px;\n margin-top: 3px;\n overflow: hidden;\n}\n\n.ap-suggestion {\n cursor: pointer;\n height: 46px;\n line-height: 46px;\n padding-left: 18px;\n overflow: hidden;\n}\n\n.ap-suggestion em {\n font-weight: bold;\n font-style: normal;\n}\n\n.ap-address {\n font-size: smaller;\n margin-left: 12px;\n color: #aaaaaa;\n}\n\n.ap-suggestion-icon {\n margin-right: 10px;\n width: 14px;\n height: 20px;\n vertical-align: middle;\n}\n\n.ap-suggestion-icon svg {\n -webkit-transform: scale(0.9) translateY(2px);\n transform: scale(0.9) translateY(2px);\n fill: #cfcfcf;\n}\n\n.ap-input-icon {\n border: 0;\n background: transparent;\n position: absolute;\n top: 0;\n bottom: 0;\n right: 16px;\n outline: none;\n}\n\n.ap-input-icon.ap-icon-pin {\n cursor: initial;\n}\n\n.ap-input-icon svg {\n fill: #cfcfcf;\n position: absolute;\n top: 50%;\n right: 0;\n -webkit-transform: translateY(-50%);\n transform: translateY(-50%);\n}\n\n.ap-cursor {\n background: #efefef;\n}\n\n.ap-cursor .ap-suggestion-icon svg {\n -webkit-transform: scale(1) translateY(2px);\n transform: scale(1) translateY(2px);\n fill: #aaaaaa;\n}\n\n.ap-footer {\n opacity: .8;\n text-align: right;\n padding: .5em 1em .5em 0;\n font-size: 12px;\n line-height: 12px;\n}\n\n.ap-footer a {\n color: inherit;\n text-decoration: none;\n}\n\n.ap-footer a svg {\n vertical-align: middle;\n}\n\n.ap-footer:hover {\n opacity: 1;\n}\n"},function(t,e){var s=[],a=[];function n(t,e){if(e=e||{},void 0===t)throw new Error("insert-css: You need to provide a CSS string. Usage: insertCss(cssString[, options]).");var n,r=!0===e.prepend?"prepend":"append",i=void 0!==e.container?e.container:document.querySelector("head"),o=s.indexOf(i);return-1===o&&(o=s.push(i)-1,a[o]={}),void 0!==a[o]&&void 0!==a[o][r]?n=a[o][r]:(n=a[o][r]=function(){var t=document.createElement("style");return t.setAttribute("type","text/css"),t}(),"prepend"==r?i.insertBefore(n,i.childNodes[0]):i.appendChild(n)),65279===t.charCodeAt(0)&&(t=t.substr(1,t.length)),n.styleSheet?n.styleSheet.cssText+=t:n.textContent+=t,n}t.exports=n,t.exports.insertCss=n},function(t,e,n){"use strict";n.r(e);var j=n(1),N=n(9),D=n(6);function $(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(t){i(e,t,n[t])})}return e}function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var r=n(8);function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(t){s(e,t,n[t])})}return e}function s(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function a(t){var e=o({},r.a,t.templates);return{source:function(t){var e=t.algoliasearch,n=t.clientOptions,r=t.apiKey,i=t.appId,o=t.hitsPerPage,s=t.aroundLatLng,a=t.aroundRadius,c=t.aroundLatLngViaIP,u=t.insideBoundingBox,l=t.insidePolygon,h=t.getRankingInfo,p=t.countries,f=t.formatInputValue,d=t.computeQueryParams,g=void 0===d?function(t){return t}:d,m=t.useDeviceLocation,v=void 0!==m&&m,y=t.language,w=void 0===y?navigator.language.split("-")[0]:y,b=t.onHits,x=void 0===b?function(){}:b,_=t.onError,C=void 0===_?function(t){throw t}:_,S=t.onRateLimitReached,A=t.onInvalidCredentials,O=t.type,T=e.initPlaces(i,r,n);T.as.addAlgoliaAgent("Algolia Places ".concat(D.default));var E,I=Object(j.a)({hitsPerPage:o,type:O,countries:p,language:w,aroundLatLng:s,aroundRadius:a,aroundLatLngViaIP:c,insideBoundingBox:u,insidePolygon:l,getRankingInfo:h,formatInputValue:f,computeQueryParams:g,useDeviceLocation:v,onHits:x,onError:C,onRateLimitReached:S,onInvalidCredentials:A}),P=I.params,L=I.controls,k=null;function R(r,t){var e=$({},P,{query:r});return E&&(e.aroundLatLng=E),T.search(L.computeQueryParams(e)).then(function(n){var t=n.hits.map(function(t,e){return Object(N.a)({formatInputValue:L.formatInputValue,hit:t,hitIndex:e,query:r,rawAnswer:n})});return L.onHits({hits:t,query:r,rawAnswer:n}),t}).then(t).catch(function(t){403!==t.statusCode||"Invalid Application-ID or API key"!==t.message?429!==t.statusCode?L.onError(t):L.onRateLimitReached():L.onInvalidCredentials()})}return L.useDeviceLocation&&(k=navigator.geolocation.watchPosition(function(t){var e=t.coords;E="".concat(e.latitude,",").concat(e.longitude)})),R.configure=function(t){var e=Object(j.a)($({},P,L,t));P=e.params,(L=e.controls).useDeviceLocation&&null===k?k=navigator.geolocation.watchPosition(function(t){var e=t.coords;E="".concat(e.latitude,",").concat(e.longitude)}):L.useDeviceLocation||null===k||(navigator.geolocation.clearWatch(k),E=k=null)},R}(o({},t,{formatInputValue:e.value,templates:void 0})),templates:e,displayKey:"value",name:"places",cache:!1}}n.d(e,"default",function(){return a})},function(t,e,n){"use strict";var r=n(33),i=n(44);t.exports=i(r,"(lite) ")},function(t,e){"function"==typeof Object.create?t.exports=function(t,e){t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})}:t.exports=function(t,e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}},function(t,e,n){t.exports=function(o,s){return function(t,e,n){if("function"==typeof t&&"object"==typeof e||"object"==typeof n)throw new a.AlgoliaSearchError("index.search usage is index.search(query, params, cb)");0===arguments.length||"function"==typeof t?(n=t,t=""):1!==arguments.length&&"function"!=typeof e||(n=e,e=void 0),"object"==typeof t&&null!==t?(e=t,t=void 0):null==t&&(t="");var r,i="";return void 0!==t&&(i+=o+"="+encodeURIComponent(t)),void 0!==e&&(e.additionalUA&&(r=e.additionalUA,delete e.additionalUA),i=this.as._getSearchParams(e,i)),this._search(i,s,n,r)}};var a=n(11)},function(t,e,o){t.exports=function(e,n){var t=o(39),r=o(3),i={};return r(t(e),function(t){!0!==n(t)&&(i[t]=e[t])}),i}},function(t,e,n){"use strict";var o=function(t){switch(typeof t){case"string":return t;case"boolean":return t?"true":"false";case"number":return isFinite(t)?t:"";default:return""}};t.exports=function(n,r,i,t){return r=r||"&",i=i||"=",null===n&&(n=void 0),"object"==typeof n?a(c(n),function(t){var e=encodeURIComponent(o(t))+i;return s(n[t])?a(n[t],function(t){return e+encodeURIComponent(o(t))}).join(r):e+encodeURIComponent(o(n[t]))}).join(r):t?encodeURIComponent(o(t))+i+encodeURIComponent(o(n)):""};var s=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)};function a(t,e){if(t.map)return t.map(e);for(var n=[],r=0;r<t.length;r++)n.push(e(t[r],r));return n}var c=Object.keys||function(t){var e=[];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.push(n);return e}},function(t,e,n){"use strict";var o=n(0),r=n(2);function i(t){t&&t.el||o.error("EventBus initialized without el"),this.$el=r.element(t.el)}o.mixin(i.prototype,{trigger:function(t,e,n,r){var i=o.Event("autocomplete:"+t);return this.$el.trigger(i,[e,n,r]),i}}),t.exports=i},function(t,e,n){"use strict";t.exports={wrapper:'<span class="%ROOT%"></span>',dropdown:'<span class="%PREFIX%%DROPDOWN_MENU%"></span>',dataset:'<div class="%PREFIX%%DATASET%-%CLASS%"></div>',suggestions:'<span class="%PREFIX%%SUGGESTIONS%"></span>',suggestion:'<div class="%PREFIX%%SUGGESTION%"></div>'}},function(t,e){t.exports="0.36.0"},function(t,e,n){"use strict";t.exports=function(t){var e=t.match(/Algolia for vanilla JavaScript (\d+\.)(\d+\.)(\d+)/);if(e)return[e[1],e[2],e[3]]}},function(t,e){"language"in navigator||(navigator.language=navigator.userLanguage&&navigator.userLanguage.replace(/-[a-z]{2}$/,String.prototype.toUpperCase)||"en-US")},function(t,e,n){"use strict";var r,i="object"==typeof Reflect?Reflect:null,l=i&&"function"==typeof i.apply?i.apply:function(t,e,n){return Function.prototype.apply.call(t,e,n)};r=i&&"function"==typeof i.ownKeys?i.ownKeys:Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:function(t){return Object.getOwnPropertyNames(t)};var o=Number.isNaN||function(t){return t!=t};function s(){s.init.call(this)}((t.exports=s).EventEmitter=s).prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var a=10;function c(t){return void 0===t._maxListeners?s.defaultMaxListeners:t._maxListeners}function u(t,e,n,r){var i,o,s;if("function"!=typeof n)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof n);if(void 0===(o=t._events)?(o=t._events=Object.create(null),t._eventsCount=0):(void 0!==o.newListener&&(t.emit("newListener",e,n.listener?n.listener:n),o=t._events),s=o[e]),void 0===s)s=o[e]=n,++t._eventsCount;else if("function"==typeof s?s=o[e]=r?[n,s]:[s,n]:r?s.unshift(n):s.push(n),0<(i=c(t))&&s.length>i&&!s.warned){s.warned=!0;var a=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");a.name="MaxListenersExceededWarning",a.emitter=t,a.type=e,a.count=s.length,function(t){console&&console.warn&&console.warn(t)}(a)}return t}function h(t,e,n){var r={fired:!1,wrapFn:void 0,target:t,type:e,listener:n},i=function(){for(var t=[],e=0;e<arguments.length;e++)t.push(arguments[e]);this.fired||(this.target.removeListener(this.type,this.wrapFn),this.fired=!0,l(this.listener,this.target,t))}.bind(r);return i.listener=n,r.wrapFn=i}function p(t,e,n){var r=t._events;if(void 0===r)return[];var i=r[e];return void 0===i?[]:"function"==typeof i?n?[i.listener||i]:[i]:n?function(t){for(var e=new Array(t.length),n=0;n<e.length;++n)e[n]=t[n].listener||t[n];return e}(i):d(i,i.length)}function f(t){var e=this._events;if(void 0!==e){var n=e[t];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function d(t,e){for(var n=new Array(e),r=0;r<e;++r)n[r]=t[r];return n}Object.defineProperty(s,"defaultMaxListeners",{enumerable:!0,get:function(){return a},set:function(t){if("number"!=typeof t||t<0||o(t))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+t+".");a=t}}),s.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},s.prototype.setMaxListeners=function(t){if("number"!=typeof t||t<0||o(t))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+t+".");return this._maxListeners=t,this},s.prototype.getMaxListeners=function(){return c(this)},s.prototype.emit=function(t){for(var e=[],n=1;n<arguments.length;n++)e.push(arguments[n]);var r="error"===t,i=this._events;if(void 0!==i)r=r&&void 0===i.error;else if(!r)return!1;if(r){var o;if(0<e.length&&(o=e[0]),o instanceof Error)throw o;var s=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw s.context=o,s}var a=i[t];if(void 0===a)return!1;if("function"==typeof a)l(a,this,e);else{var c=a.length,u=d(a,c);for(n=0;n<c;++n)l(u[n],this,e)}return!0},s.prototype.on=s.prototype.addListener=function(t,e){return u(this,t,e,!1)},s.prototype.prependListener=function(t,e){return u(this,t,e,!0)},s.prototype.once=function(t,e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e);return this.on(t,h(this,t,e)),this},s.prototype.prependOnceListener=function(t,e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e);return this.prependListener(t,h(this,t,e)),this},s.prototype.off=s.prototype.removeListener=function(t,e){var n,r,i,o,s;if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e);if(void 0===(r=this._events))return this;if(void 0===(n=r[t]))return this;if(n===e||n.listener===e)0==--this._eventsCount?this._events=Object.create(null):(delete r[t],r.removeListener&&this.emit("removeListener",t,n.listener||e));else if("function"!=typeof n){for(i=-1,o=n.length-1;0<=o;o--)if(n[o]===e||n[o].listener===e){s=n[o].listener,i=o;break}if(i<0)return this;0===i?n.shift():function(t,e){for(;e+1<t.length;e++)t[e]=t[e+1];t.pop()}(n,i),1===n.length&&(r[t]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",t,s||e)}return this},s.prototype.removeAllListeners=function(t){var e,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[t]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[t]),this;if(0===arguments.length){var i,o=Object.keys(n);for(r=0;r<o.length;++r)"removeListener"!==(i=o[r])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(e=n[t]))this.removeListener(t,e);else if(void 0!==e)for(r=e.length-1;0<=r;r--)this.removeListener(t,e[r]);return this},s.prototype.listeners=function(t){return p(this,t,!0)},s.prototype.rawListeners=function(t){return p(this,t,!1)},s.listenerCount=function(t,e){return"function"==typeof t.listenerCount?t.listenerCount(e):f.call(t,e)},s.prototype.listenerCount=f,s.prototype.eventNames=function(){return 0<this._eventsCount?r(this._events):[]}},function(t,e,n){"use strict";t.exports=n(53)},function(t,e,n){"use strict";n.r(e);var r=n(30),m=n.n(r),i=n(20),v=n.n(i),o=n(31),y=n.n(o),w=(n(29),n(19)),b='<svg width="12" height="12" viewBox="0 0 12 12" xmlns="http://www.w3.org/2000/svg"><path d="M.566 1.698L0 1.13 1.132 0l.565.566L6 4.868 10.302.566 10.868 0 12 1.132l-.566.565L7.132 6l4.302 4.3.566.568L10.868 12l-.565-.566L6 7.132l-4.3 4.302L1.13 12 0 10.868l.566-.565L4.868 6 .566 1.698z"/></svg>\n',x=n(7),s=n(17),a=n(18),c=n.n(a),_={multiContainers:"Algolia Places: 'container' must point to a single <input> element.\nExample: instantiate the library twice if you want to bind two <inputs>.\n\nSee https://community.algolia.com/places/documentation.html#api-options-container",badContainer:"Algolia Places: 'container' must point to an <input> element.\n\nSee https://community.algolia.com/places/documentation.html#api-options-container",rateLimitReached:"Algolia Places: Current rate limit reached.\n\nSign up for a free 100,000 queries/month account at\nhttps://www.algolia.com/users/sign_up/places.\n\nOr upgrade your 100,000 queries/month plan by contacting us at\nhttps://community.algolia.com/places/contact.html.",invalidCredentials:"The APP ID or API key provided is invalid.",invalidAppId:"Your APP ID is invalid. A Places APP ID starts with 'pl'. You must create a valid Places app first.\n\nCreate a free Places app here: https://www.algolia.com/users/sign_up/places"},C=n(1),S=n(9),A=n(6),O=n(8);function T(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(t){u(e,t,n[t])})}return e}function u(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var E=function(t){var e=t.hitsPerPage,n=t.aroundLatLng,r=t.getRankingInfo,i=t.language,o={};return"number"==typeof e&&(o.hitsPerPage=e),"string"==typeof i&&(o.language=i),"boolean"==typeof r&&(o.getRankingInfo=r),"string"==typeof n&&(o.aroundLatLng=n),o},I=function(t){var e=t.algoliasearch,n=t.clientOptions,r=t.apiKey,i=t.appId,o=t.hitsPerPage,s=t.aroundLatLng,a=t.getRankingInfo,c=t.formatInputValue,u=void 0===c?O.a.value:c,l=t.language,h=void 0===l?navigator.language.split("-")[0]:l,p=t.onHits,f=void 0===p?function(){}:p,d=t.onError,g=void 0===d?function(t){throw t}:d,m=t.onRateLimitReached,v=t.onInvalidCredentials,y=e.initPlaces(i,r,n);y.as.addAlgoliaAgent("Algolia Places ".concat(A.default));var w=Object(C.a)({apiKey:r,appId:i,hitsPerPage:o,aroundLatLng:s,getRankingInfo:a,language:h,formatInputValue:u,onHits:f,onError:g,onRateLimitReached:m,onInvalidCredentials:v}),b=E(w.params),x=w.controls,_=function(t,e){var r=t||b.aroundLatLng;if(r)return y.reverse(T({},b,{aroundLatLng:r})).then(function(n){var t=n.hits.map(function(t,e){return Object(S.a)({formatInputValue:x.formatInputValue,hit:t,hitIndex:e,query:r,rawAnswer:n})});return x.onHits({hits:t,query:r,rawAnswer:n}),t}).then(e).catch(function(t){403!==t.statusCode||"Invalid Application-ID or API key"!==t.message?429!==t.statusCode?x.onError(t):x.onRateLimitReached():x.onInvalidCredentials()});var n=new Error("A location must be provided for reverse geocoding");return Promise.reject(n)};return _.configure=function(t){var e=Object(C.a)(T({},b,x,t));return b=E(e.params),x=e.controls,_},_};function P(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(t){l(e,t,n[t])})}return e}function l(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function L(t){var e=t.container,n=t.style,r=t.autocompleteOptions,i=void 0===r?{}:r;if(e instanceof NodeList){if(1<e.length)throw new Error(_.multiContainers);return L(P({},t,{container:e[0]}))}if("string"==typeof e){var o=document.querySelectorAll(e);return L(P({},t,{container:o}))}if(!(e instanceof HTMLInputElement))throw new Error(_.badContainer);var s=new m.a,a="ap".concat(!1===n?"-nostyle":""),c=P({autoselect:!0,hint:!1,cssClasses:{root:"algolia-places".concat(!1===n?"-nostyle":""),prefix:a},debug:!1},i),u=Object(w.default)(P({},t,{algoliasearch:v.a,onHits:function(t){var e=t.hits,n=t.rawAnswer,r=t.query;return s.emit("suggestions",{rawAnswer:n,query:r,suggestions:e})},onError:function(t){return s.emit("error",t)},onRateLimitReached:function(){0!==s.listenerCount("limit")?s.emit("limit",{message:_.rateLimitReached}):console.log(_.rateLimitReached)},onInvalidCredentials:function(){t&&t.appId&&t.appId.startsWith("pl")?console.error(_.invalidCredentials):console.error(_.invalidAppId)},container:void 0})),l=y()(e,c,u),h=e.parentNode;["selected","autocompleted"].forEach(function(t){l.on("autocomplete:".concat(t),function(t,e){s.emit("change",{rawAnswer:e.rawAnswer,query:e.query,suggestion:e,suggestionIndex:e.hitIndex})})}),l.on("autocomplete:cursorchanged",function(t,e){s.emit("cursorchanged",{rawAnswer:e.rawAnswer,query:e.query,suggestion:e,suggestionIndex:e.hitIndex})});var p=document.createElement("button");p.setAttribute("type","button"),p.setAttribute("aria-label","clear"),p.classList.add("".concat(a,"-input-icon")),p.classList.add("".concat(a,"-icon-clear")),p.innerHTML=b,h.appendChild(p),p.style.display="none";var f=document.createElement("button");f.setAttribute("type","button"),f.setAttribute("aria-label","focus"),f.classList.add("".concat(a,"-input-icon")),f.classList.add("".concat(a,"-icon-pin")),f.innerHTML=x.a,h.appendChild(f),f.addEventListener("click",function(){u.source.configure({useDeviceLocation:!0}),l.focus()}),p.addEventListener("click",function(){l.autocomplete.setVal(""),l.focus(),p.style.display="none",f.style.display="",s.emit("clear")});var d="",g=function(){var t=l.val();""===t?(f.style.display="",p.style.display="none",d!==t&&s.emit("clear")):(p.style.display="",f.style.display="none"),d=t};h.querySelector(".".concat(a,"-input")).addEventListener("input",g);return["open","close","getVal"].forEach(function(e){s[e]=function(){var t;(t=l.autocomplete)[e].apply(t,arguments)}}),s.destroy=function(){var t;h.querySelector(".".concat(a,"-input")).removeEventListener("input",g),(t=l.autocomplete).destroy.apply(t,arguments)},s.setVal=function(){var t;""===(d=arguments.length<=0?void 0:arguments[0])?(f.style.display="",p.style.display="none"):(p.style.display="",f.style.display="none"),(t=l.autocomplete).setVal.apply(t,arguments)},s.autocomplete=l,s.search=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"";return new Promise(function(t){u.source(e,t)})},s.configure=function(t){var e=P({},t);return delete e.onHits,delete e.onError,delete e.onRateLimitReached,delete e.onInvalidCredentials,delete e.templates,u.source.configure(e),s},s.reverse=I(P({},t,{algoliasearch:v.a,formatInputValue:(t.templates||{}).value,onHits:function(t){var e=t.hits,n=t.rawAnswer,r=t.query;return s.emit("reverse",{rawAnswer:n,query:r,suggestions:e})},onError:function(t){return s.emit("error",t)},onRateLimitReached:function(){0!==s.listenerCount("limit")?s.emit("limit",{message:_.rateLimitReached}):console.log(_.rateLimitReached)},onInvalidCredentials:function(){t&&t.appId&&t.appId.startsWith("pl")?console.error(_.invalidCredentials):console.error(_.invalidAppId)}})),s}n.d(e,"default",function(){return L}),c()(s.default,{prepend:!0})},function(s,t,A){(function(t){s.exports=o;var _=A(11),r=A(34),e=A(35),n=A(41),i=t.env.RESET_APP_DATA_TIMER&&parseInt(t.env.RESET_APP_DATA_TIMER,10)||12e4;function o(e,t,n){var r=A(14)("algoliasearch"),i=A(4),o=A(12),s=A(13),a="Usage: algoliasearch(applicationID, apiKey, opts)";if(!0!==n._allowEmptyCredentials&&!e)throw new _.AlgoliaSearchError("Please provide an application ID. "+a);if(!0!==n._allowEmptyCredentials&&!t)throw new _.AlgoliaSearchError("Please provide an API key. "+a);this.applicationID=e,this.apiKey=t,this.hosts={read:[],write:[]},n=n||{},this._timeouts=n.timeouts||{connect:1e3,read:2e3,write:3e4},n.timeout&&(this._timeouts.connect=this._timeouts.read=this._timeouts.write=n.timeout);var c=n.protocol||"https:";if(/:$/.test(c)||(c+=":"),"http:"!==c&&"https:"!==c)throw new _.AlgoliaSearchError("protocol must be `http:` or `https:` (was `"+n.protocol+"`)");if(this._checkAppIdData(),n.hosts)o(n.hosts)?(this.hosts.read=i(n.hosts),this.hosts.write=i(n.hosts)):(this.hosts.read=i(n.hosts.read),this.hosts.write=i(n.hosts.write));else{var u=s(this._shuffleResult,function(t){return e+"-"+t+".algolianet.com"}),l=(!1===n.dsn?"":"-dsn")+".algolia.net";this.hosts.read=[this.applicationID+l].concat(u),this.hosts.write=[this.applicationID+".algolia.net"].concat(u)}this.hosts.read=s(this.hosts.read,h(c)),this.hosts.write=s(this.hosts.write,h(c)),this.extraHeaders={},this.cache=n._cache||{},this._ua=n._ua,this._useCache=!(void 0!==n._useCache&&!n._cache)||n._useCache,this._useRequestCache=this._useCache&&n._useRequestCache,this._useFallback=void 0===n.useFallback||n.useFallback,this._setTimeout=n._setTimeout,r("init done, %j",this)}function h(e){return function(t){return e+"//"+t.toLowerCase()}}function C(t){if(void 0===Array.prototype.toJSON)return JSON.stringify(t);var e=Array.prototype.toJSON;delete Array.prototype.toJSON;var n=JSON.stringify(t);return Array.prototype.toJSON=e,n}function S(t){var e={};for(var n in t){var r;if(Object.prototype.hasOwnProperty.call(t,n))r="x-algolia-api-key"===n||"x-algolia-application-id"===n?"**hidden for security purposes**":t[n],e[n]=r}return e}o.prototype.initIndex=function(t){return new e(this,t)},o.prototype.setExtraHeader=function(t,e){this.extraHeaders[t.toLowerCase()]=e},o.prototype.getExtraHeader=function(t){return this.extraHeaders[t.toLowerCase()]},o.prototype.unsetExtraHeader=function(t){delete this.extraHeaders[t.toLowerCase()]},o.prototype.addAlgoliaAgent=function(t){-1===this._ua.indexOf(";"+t)&&(this._ua+=";"+t)},o.prototype._jsonRequest=function(u){this._checkAppIdData();var l,h,p,f=A(14)("algoliasearch:"+u.url),d=u.additionalUA||"",g=u.cache,m=this,v=0,y=!1,w=m._useFallback&&m._request.fallback&&u.fallback;p=500<this.apiKey.length&&void 0!==u.body&&(void 0!==u.body.params||void 0!==u.body.requests)?(u.body.apiKey=this.apiKey,this._computeRequestHeaders({additionalUA:d,withApiKey:!1,headers:u.headers})):this._computeRequestHeaders({additionalUA:d,headers:u.headers}),void 0!==u.body&&(l=C(u.body)),f("request start");var b=[];function x(t,e,n){return m._useCache&&t&&e&&void 0!==e[n]}function t(t,e){if(x(m._useRequestCache,g,h)&&t.catch(function(){delete g[h]}),"function"!=typeof u.callback)return t.then(e);t.then(function(t){r(function(){u.callback(null,e(t))},m._setTimeout||setTimeout)},function(t){r(function(){u.callback(t)},m._setTimeout||setTimeout)})}if(m._useCache&&m._useRequestCache&&(h=u.url),m._useCache&&m._useRequestCache&&l&&(h+="_body_"+l),x(m._useRequestCache,g,h)){f("serving request from cache");var e=g[h];return t("function"!=typeof e.then?m._promise.resolve({responseText:e}):e,function(t){return JSON.parse(t.responseText)})}var n=function n(r,o){m._checkAppIdData();var s=new Date;if(m._useCache&&!m._useRequestCache&&(h=u.url),m._useCache&&!m._useRequestCache&&l&&(h+="_body_"+o.body),x(!m._useRequestCache,g,h)){f("serving response from cache");var t=g[h];return m._promise.resolve({body:JSON.parse(t),responseText:t})}if(v>=m.hosts[u.hostType].length)return!w||y?(f("could not get any response"),m._promise.reject(new _.AlgoliaSearchError("Cannot connect to the AlgoliaSearch API. Send an email to support@algolia.com to report and resolve the issue. Application id was: "+m.applicationID,{debugData:b}))):(f("switching to fallback"),v=0,o.method=u.fallback.method,o.url=u.fallback.url,o.jsonBody=u.fallback.body,o.jsonBody&&(o.body=C(o.jsonBody)),p=m._computeRequestHeaders({additionalUA:d,headers:u.headers}),o.timeouts=m._getTimeoutsForRequest(u.hostType),m._setHostIndexByType(0,u.hostType),y=!0,n(m._request.fallback,o));var a=m._getHostByType(u.hostType),e=a+o.url,i={body:o.body,jsonBody:o.jsonBody,method:o.method,headers:p,timeouts:o.timeouts,debug:f,forceAuthHeaders:o.forceAuthHeaders};return f("method: %s, url: %s, headers: %j, timeouts: %d",i.method,e,i.headers,i.timeouts),r===m._request.fallback&&f("using fallback"),r.call(m,e,i).then(function(t){var e=t&&t.body&&t.body.message&&t.body.status||t.statusCode||t&&t.body&&200;f("received response: statusCode: %s, computed statusCode: %d, headers: %j",t.statusCode,e,t.headers);var n=2===Math.floor(e/100),r=new Date;if(b.push({currentHost:a,headers:S(p),content:l||null,contentLength:void 0!==l?l.length:null,method:o.method,timeouts:o.timeouts,url:o.url,startTime:s,endTime:r,duration:r-s,statusCode:e}),n)return m._useCache&&!m._useRequestCache&&g&&(g[h]=t.responseText),{responseText:t.responseText,body:t.body};if(4!==Math.floor(e/100))return v+=1,c();f("unrecoverable error");var i=new _.AlgoliaSearchError(t.body&&t.body.message,{debugData:b,statusCode:e});return m._promise.reject(i)},function(t){f("error: %s, stack: %s",t.message,t.stack);var e=new Date;return b.push({currentHost:a,headers:S(p),content:l||null,contentLength:void 0!==l?l.length:null,method:o.method,timeouts:o.timeouts,url:o.url,startTime:s,endTime:e,duration:e-s}),t instanceof _.AlgoliaSearchError||(t=new _.Unknown(t&&t.message,t)),v+=1,t instanceof _.Unknown||t instanceof _.UnparsableJSON||v>=m.hosts[u.hostType].length&&(y||!w)?(t.debugData=b,m._promise.reject(t)):t instanceof _.RequestTimeout?(f("retrying request with higher timeout"),m._incrementHostIndex(u.hostType),m._incrementTimeoutMultipler(),o.timeouts=m._getTimeoutsForRequest(u.hostType),n(r,o)):c()});function c(){return f("retrying request"),m._incrementHostIndex(u.hostType),n(r,o)}}(m._request,{url:u.url,method:u.method,body:l,jsonBody:u.body,timeouts:m._getTimeoutsForRequest(u.hostType),forceAuthHeaders:u.forceAuthHeaders});return m._useCache&&m._useRequestCache&&g&&(g[h]=n),t(n,function(t){return t.body})},o.prototype._getSearchParams=function(t,e){if(null==t)return e;for(var n in t)null!==n&&void 0!==t[n]&&t.hasOwnProperty(n)&&(e+=""===e?"":"&",e+=n+"="+encodeURIComponent("[object Array]"===Object.prototype.toString.call(t[n])?C(t[n]):t[n]));return e},o.prototype._computeRequestHeaders=function(t){var e=A(3),n={"x-algolia-agent":t.additionalUA?this._ua+";"+t.additionalUA:this._ua,"x-algolia-application-id":this.applicationID};return!1!==t.withApiKey&&(n["x-algolia-api-key"]=this.apiKey),this.userToken&&(n["x-algolia-usertoken"]=this.userToken),this.securityTags&&(n["x-algolia-tagfilters"]=this.securityTags),e(this.extraHeaders,function(t,e){n[e]=t}),t.headers&&e(t.headers,function(t,e){n[e]=t}),n},o.prototype.search=function(t,e,n){var r=A(12),i=A(13);if(!r(t))throw new Error("Usage: client.search(arrayOfQueries[, callback])");"function"==typeof e?(n=e,e={}):void 0===e&&(e={});var o=this,s={requests:i(t,function(t){var e="";return void 0!==t.query&&(e+="query="+encodeURIComponent(t.query)),{indexName:t.indexName,params:o._getSearchParams(t.params,e)}})},a=i(s.requests,function(t,e){return e+"="+encodeURIComponent("/1/indexes/"+encodeURIComponent(t.indexName)+"?"+t.params)}).join("&");return void 0!==e.strategy&&(s.strategy=e.strategy),this._jsonRequest({cache:this.cache,method:"POST",url:"/1/indexes/*/queries",body:s,hostType:"read",fallback:{method:"GET",url:"/1/indexes/*",body:{params:a}},callback:n})},o.prototype.searchForFacetValues=function(t){var e=A(12),n=A(13),c="Usage: client.searchForFacetValues([{indexName, params: {facetName, facetQuery, ...params}}, ...queries])";if(!e(t))throw new Error(c);var u=this;return u._promise.all(n(t,function(t){if(!t||void 0===t.indexName||void 0===t.params.facetName||void 0===t.params.facetQuery)throw new Error(c);var e=A(4),n=A(23),r=t.indexName,i=t.params,o=i.facetName,s=n(e(i),function(t){return"facetName"===t}),a=u._getSearchParams(s,"");return u._jsonRequest({cache:u.cache,method:"POST",url:"/1/indexes/"+encodeURIComponent(r)+"/facets/"+encodeURIComponent(o)+"/query",hostType:"read",body:{params:a}})}))},o.prototype.setSecurityTags=function(t){if("[object Array]"===Object.prototype.toString.call(t)){for(var e=[],n=0;n<t.length;++n)if("[object Array]"===Object.prototype.toString.call(t[n])){for(var r=[],i=0;i<t[n].length;++i)r.push(t[n][i]);e.push("("+r.join(",")+")")}else e.push(t[n]);t=e.join(",")}this.securityTags=t},o.prototype.setUserToken=function(t){this.userToken=t},o.prototype.clearCache=function(){this.cache={}},o.prototype.setRequestTimeout=function(t){t&&(this._timeouts.connect=this._timeouts.read=this._timeouts.write=t)},o.prototype.setTimeouts=function(t){this._timeouts=t},o.prototype.getTimeouts=function(){return this._timeouts},o.prototype._getAppIdData=function(){var t=n.get(this.applicationID);return null!==t&&this._cacheAppIdData(t),t},o.prototype._setAppIdData=function(t){return t.lastChange=(new Date).getTime(),this._cacheAppIdData(t),n.set(this.applicationID,t)},o.prototype._checkAppIdData=function(){var t=this._getAppIdData(),e=(new Date).getTime();return null===t||e-t.lastChange>i?this._resetInitialAppIdData(t):t},o.prototype._resetInitialAppIdData=function(t){var e=t||{};return e.hostIndexes={read:0,write:0},e.timeoutMultiplier=1,e.shuffleResult=e.shuffleResult||function(t){var e,n,r=t.length;for(;0!==r;)n=Math.floor(Math.random()*r),e=t[r-=1],t[r]=t[n],t[n]=e;return t}([1,2,3]),this._setAppIdData(e)},o.prototype._cacheAppIdData=function(t){this._hostIndexes=t.hostIndexes,this._timeoutMultiplier=t.timeoutMultiplier,this._shuffleResult=t.shuffleResult},o.prototype._partialAppIdDataUpdate=function(t){var e=A(3),n=this._getAppIdData();return e(t,function(t,e){n[e]=t}),this._setAppIdData(n)},o.prototype._getHostByType=function(t){return this.hosts[t][this._getHostIndexByType(t)]},o.prototype._getTimeoutMultiplier=function(){return this._timeoutMultiplier},o.prototype._getHostIndexByType=function(t){return this._hostIndexes[t]},o.prototype._setHostIndexByType=function(t,e){var n=A(4)(this._hostIndexes);return n[e]=t,this._partialAppIdDataUpdate({hostIndexes:n}),t},o.prototype._incrementHostIndex=function(t){return this._setHostIndexByType((this._getHostIndexByType(t)+1)%this.hosts[t].length,t)},o.prototype._incrementTimeoutMultipler=function(){var t=Math.max(this._timeoutMultiplier+1,4);return this._partialAppIdDataUpdate({timeoutMultiplier:t})},o.prototype._getTimeoutsForRequest=function(t){return{connect:this._timeouts.connect*this._timeoutMultiplier,complete:this._timeouts[t]*this._timeoutMultiplier}}}).call(this,A(10))},function(t,e){t.exports=function(t,e){e(t,0)}},function(t,e,a){var n=a(22),r=a(36),i=a(37);function o(t,e){this.indexName=e,this.as=t,this.typeAheadArgs=null,this.typeAheadValueOption=null,this.cache={}}(t.exports=o).prototype.clearCache=function(){this.cache={}},o.prototype.search=n("query"),o.prototype.similarSearch=r(n("similarQuery"),i("index.similarSearch(query[, callback])","index.search({ similarQuery: query }[, callback])")),o.prototype.browse=function(t,e,n){var r,i,o=a(38);0===arguments.length||1===arguments.length&&"function"==typeof t?(n=t,t=void(r=0)):"number"==typeof t?(r=t,"number"==typeof e?i=e:"function"==typeof e&&(n=e,i=void 0),e=t=void 0):"object"==typeof t?("function"==typeof e&&(n=e),e=t,t=void 0):"string"==typeof t&&"function"==typeof e&&(n=e,e=void 0),e=o({},e||{},{page:r,hitsPerPage:i,query:t});var s=this.as._getSearchParams(e,"");return this.as._jsonRequest({method:"POST",url:"/1/indexes/"+encodeURIComponent(this.indexName)+"/browse",body:{params:s},hostType:"read",callback:n})},o.prototype.browseFrom=function(t,e){return this.as._jsonRequest({method:"POST",url:"/1/indexes/"+encodeURIComponent(this.indexName)+"/browse",body:{cursor:t},hostType:"read",callback:e})},o.prototype.searchForFacetValues=function(t,e){var n=a(4),r=a(23);if(void 0===t.facetName||void 0===t.facetQuery)throw new Error("Usage: index.searchForFacetValues({facetName, facetQuery, ...params}[, callback])");var i=t.facetName,o=r(n(t),function(t){return"facetName"===t}),s=this.as._getSearchParams(o,"");return this.as._jsonRequest({method:"POST",url:"/1/indexes/"+encodeURIComponent(this.indexName)+"/facets/"+encodeURIComponent(i)+"/query",hostType:"read",body:{params:s},callback:e})},o.prototype.searchFacet=r(function(t,e){return this.searchForFacetValues(t,e)},i("index.searchFacet(params[, callback])","index.searchForFacetValues(params[, callback])")),o.prototype._search=function(t,e,n,r){return this.as._jsonRequest({cache:this.cache,method:"POST",url:e||"/1/indexes/"+encodeURIComponent(this.indexName)+"/query",body:{params:t},hostType:"read",fallback:{method:"GET",url:"/1/indexes/"+encodeURIComponent(this.indexName),body:{params:t}},callback:n,additionalUA:r})},o.prototype.getObject=function(t,e,n){1!==arguments.length&&"function"!=typeof e||(n=e,e=void 0);var r="";if(void 0!==e){r="?attributes=";for(var i=0;i<e.length;++i)0!==i&&(r+=","),r+=e[i]}return this.as._jsonRequest({method:"GET",url:"/1/indexes/"+encodeURIComponent(this.indexName)+"/"+encodeURIComponent(t)+r,hostType:"read",callback:n})},o.prototype.getObjects=function(t,n,e){var r=a(12),i=a(13);if(!r(t))throw new Error("Usage: index.getObjects(arrayOfObjectIDs[, callback])");var o=this;1!==arguments.length&&"function"!=typeof n||(e=n,n=void 0);var s={requests:i(t,function(t){var e={indexName:o.indexName,objectID:t};return n&&(e.attributesToRetrieve=n.join(",")),e})};return this.as._jsonRequest({method:"POST",url:"/1/indexes/*/objects",hostType:"read",body:s,callback:e})},o.prototype.as=null,o.prototype.indexName=null,o.prototype.typeAheadArgs=null,o.prototype.typeAheadValueOption=null},function(t,e){t.exports=function(t,e){var n=!1;return function(){return n||(console.warn(e),n=!0),t.apply(this,arguments)}}},function(t,e){t.exports=function(t,e){var n=t.toLowerCase().replace(/[\.\(\)]/g,"");return"algoliasearch: `"+t+"` was replaced by `"+e+"`. Please see https://github.com/algolia/algoliasearch-client-javascript/wiki/Deprecated#"+n}},function(t,e,n){var i=n(3);t.exports=function n(r){var t=Array.prototype.slice.call(arguments);return i(t,function(t){for(var e in t)t.hasOwnProperty(e)&&("object"==typeof r[e]&&"object"==typeof t[e]?r[e]=n({},r[e],t[e]):void 0!==t[e]&&(r[e]=t[e]))}),r}},function(t,e,n){"use strict";var p=Object.prototype.hasOwnProperty,f=Object.prototype.toString,r=Array.prototype.slice,d=n(40),i=Object.prototype.propertyIsEnumerable,g=!i.call({toString:null},"toString"),m=i.call(function(){},"prototype"),v=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],y=function(t){var e=t.constructor;return e&&e.prototype===t},o={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},w=function(){if("undefined"==typeof window)return!1;for(var t in window)try{if(!o["$"+t]&&p.call(window,t)&&null!==window[t]&&"object"==typeof window[t])try{y(window[t])}catch(t){return!0}}catch(t){return!0}return!1}(),s=function(t){var e=null!==t&&"object"==typeof t,n="[object Function]"===f.call(t),r=d(t),i=e&&"[object String]"===f.call(t),o=[];if(!e&&!n&&!r)throw new TypeError("Object.keys called on a non-object");var s=m&&n;if(i&&0<t.length&&!p.call(t,0))for(var a=0;a<t.length;++a)o.push(String(a));if(r&&0<t.length)for(var c=0;c<t.length;++c)o.push(String(c));else for(var u in t)s&&"prototype"===u||!p.call(t,u)||o.push(String(u));if(g)for(var l=function(t){if("undefined"==typeof window||!w)return y(t);try{return y(t)}catch(t){return!1}}(t),h=0;h<v.length;++h)l&&"constructor"===v[h]||!p.call(t,v[h])||o.push(v[h]);return o};s.shim=function(){if(Object.keys){if(!function(){return 2===(Object.keys(arguments)||"").length}(1,2)){var e=Object.keys;Object.keys=function(t){return d(t)?e(r.call(t)):e(t)}}}else Object.keys=s;return Object.keys||s},t.exports=s},function(t,e,n){"use strict";var r=Object.prototype.toString;t.exports=function(t){var e=r.call(t),n="[object Arguments]"===e;return n||(n="[object Array]"!==e&&null!==t&&"object"==typeof t&&"number"==typeof t.length&&0<=t.length&&"[object Function]"===r.call(t.callee)),n}},function(u,t,l){(function(r){var n,i=l(14)("algoliasearch:src/hostIndexState.js"),o="algoliasearch-client-js",s={state:{},set:function(t,e){return this.state[t]=e,this.state[t]},get:function(t){return this.state[t]||null}},t={set:function(e,t){s.set(e,t);try{var n=JSON.parse(r.localStorage[o]);return n[e]=t,r.localStorage[o]=JSON.stringify(n),n[e]}catch(t){return a(e,t)}},get:function(e){try{return JSON.parse(r.localStorage[o])[e]||null}catch(t){return a(e,t)}}};function a(t,e){return i("localStorage failed with",e),function(){try{r.localStorage.removeItem(o)}catch(t){}}(),(n=s).get(t)}function e(t,e){return 1===arguments.length?n.get(t):n.set(t,e)}function c(){try{return"localStorage"in r&&null!==r.localStorage&&(r.localStorage[o]||r.localStorage.setItem(o,JSON.stringify({})),!0)}catch(t){return!1}}n=c()?t:s,u.exports={get:e,set:e,supportsLocalStorage:c}}).call(this,l(5))},function(t,a,e){var c;function n(t){function r(){if(r.enabled){var i=r,t=+new Date,e=t-(c||t);i.diff=e,i.prev=c,i.curr=t,c=t;for(var o=new Array(arguments.length),n=0;n<o.length;n++)o[n]=arguments[n];o[0]=a.coerce(o[0]),"string"!=typeof o[0]&&o.unshift("%O");var s=0;o[0]=o[0].replace(/%([a-zA-Z%])/g,function(t,e){if("%%"===t)return t;s++;var n=a.formatters[e];if("function"==typeof n){var r=o[s];t=n.call(i,r),o.splice(s,1),s--}return t}),a.formatArgs.call(i,o),(r.log||a.log||console.log.bind(console)).apply(i,o)}}return r.namespace=t,r.enabled=a.enabled(t),r.useColors=a.useColors(),r.color=function(t){var e,n=0;for(e in t)n=(n<<5)-n+t.charCodeAt(e),n|=0;return a.colors[Math.abs(n)%a.colors.length]}(t),"function"==typeof a.init&&a.init(r),r}(a=t.exports=n.debug=n.default=n).coerce=function(t){return t instanceof Error?t.stack||t.message:t},a.disable=function(){a.enable("")},a.enable=function(t){a.save(t),a.names=[],a.skips=[];for(var e=("string"==typeof t?t:"").split(/[\s,]+/),n=e.length,r=0;r<n;r++)e[r]&&("-"===(t=e[r].replace(/\*/g,".*?"))[0]?a.skips.push(new RegExp("^"+t.substr(1)+"$")):a.names.push(new RegExp("^"+t+"$")))},a.enabled=function(t){var e,n;for(e=0,n=a.skips.length;e<n;e++)if(a.skips[e].test(t))return!1;for(e=0,n=a.names.length;e<n;e++)if(a.names[e].test(t))return!0;return!1},a.humanize=e(43),a.names=[],a.skips=[],a.formatters={}},function(t,e){var r=36e5,i=864e5;function o(t,e,n){if(!(t<e))return t<1.5*e?Math.floor(t/e)+" "+n:Math.ceil(t/e)+" "+n+"s"}t.exports=function(t,e){e=e||{};var n=typeof t;if("string"==n&&0<t.length)return function(t){if(100<(t=String(t)).length)return;var e=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(t);if(!e)return;var n=parseFloat(e[1]);switch((e[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*n;case"days":case"day":case"d":return n*i;case"hours":case"hour":case"hrs":case"hr":case"h":return n*r;case"minutes":case"minute":case"mins":case"min":case"m":return 6e4*n;case"seconds":case"second":case"secs":case"sec":case"s":return 1e3*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}(t);if("number"==n&&!1===isNaN(t))return e.long?function(t){return o(t,i,"day")||o(t,r,"hour")||o(t,6e4,"minute")||o(t,1e3,"second")||t+" ms"}(t):function(t){if(i<=t)return Math.round(t/i)+"d";if(r<=t)return Math.round(t/r)+"h";if(6e4<=t)return Math.round(t/6e4)+"m";if(1e3<=t)return Math.round(t/1e3)+"s";return t+"ms"}(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))}},function(t,e,a){"use strict";var c=a(45),d=c.Promise||a(46).Promise;t.exports=function(t,e){var n=a(21),h=a(11),p=a(47),i=a(48),r=a(49);function o(t,e,n){return(n=a(4)(n||{}))._ua=n._ua||o.ua,new s(t,e,n)}e=e||"",o.version=a(52),o.ua="Algolia for vanilla JavaScript "+e+o.version,o.initPlaces=r(o),c.__algolia={debug:a(14),algoliasearch:o};var f={hasXMLHttpRequest:"XMLHttpRequest"in c,hasXDomainRequest:"XDomainRequest"in c};function s(){t.apply(this,arguments)}return f.hasXMLHttpRequest&&(f.cors="withCredentials"in new XMLHttpRequest),n(s,t),(s.prototype._request=function(u,l){return new d(function(t,n){if(f.cors||f.hasXDomainRequest){u=p(u,l.headers);var r,i,e=l.body,o=f.cors?new XMLHttpRequest:new XDomainRequest,s=!1;r=setTimeout(a,l.timeouts.connect),o.onprogress=function(){s||c()},"onreadystatechange"in o&&(o.onreadystatechange=function(){!s&&1<o.readyState&&c()}),o.onload=function(){if(i)return;var e;clearTimeout(r);try{e={body:JSON.parse(o.responseText),responseText:o.responseText,statusCode:o.status,headers:o.getAllResponseHeaders&&o.getAllResponseHeaders()||{}}}catch(t){e=new h.UnparsableJSON({more:o.responseText})}e instanceof h.UnparsableJSON?n(e):t(e)},o.onerror=function(t){if(i)return;clearTimeout(r),n(new h.Network({more:t}))},o instanceof XMLHttpRequest?(o.open(l.method,u,!0),l.forceAuthHeaders&&(o.setRequestHeader("x-algolia-application-id",l.headers["x-algolia-application-id"]),o.setRequestHeader("x-algolia-api-key",l.headers["x-algolia-api-key"]))):o.open(l.method,u),f.cors&&(e&&("POST"===l.method?o.setRequestHeader("content-type","application/x-www-form-urlencoded"):o.setRequestHeader("content-type","application/json")),o.setRequestHeader("accept","application/json")),e?o.send(e):o.send()}else n(new h.Network("CORS not supported"));function a(){i=!0,o.abort(),n(new h.RequestTimeout)}function c(){s=!0,clearTimeout(r),r=setTimeout(a,l.timeouts.complete)}})}).fallback=function(t,e){return t=p(t,e.headers),new d(function(n,r){i(t,e,function(t,e){t?r(t):n(e)})})},s.prototype._promise={reject:function(t){return d.reject(t)},resolve:function(t){return d.resolve(t)},delay:function(e){return new d(function(t){setTimeout(t,e)})},all:function(t){return d.all(t)}},o}},function(n,t,e){(function(t){var e;e="undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:{},n.exports=e}).call(this,e(5))},function(t,e,n){(function($,q){t.exports=function(){"use strict";function u(t){return"function"==typeof t}var n=Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)},r=0,e=void 0,i=void 0,s=function(t,e){p[r]=t,p[r+1]=e,2===(r+=2)&&(i?i(f):d())},t="undefined"!=typeof window?window:void 0,o=t||{},a=o.MutationObserver||o.WebKitMutationObserver,c="undefined"==typeof self&&void 0!==$&&"[object process]"==={}.toString.call($),l="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel;function h(){var t=setTimeout;return function(){return t(f,1)}}var p=new Array(1e3);function f(){for(var t=0;t<r;t+=2){var e=p[t],n=p[t+1];e(n),p[t]=void 0,p[t+1]=void 0}r=0}var d=void 0;function g(t,e){var n=this,r=new this.constructor(y);void 0===r[v]&&j(r);var i=n._state;if(i){var o=arguments[i-1];s(function(){return k(i,r,o,n._result)})}else P(n,r,t,e);return r}function m(t){if(t&&"object"==typeof t&&t.constructor===this)return t;var e=new this(y);return O(e,t),e}d=c?function(){return $.nextTick(f)}:a?function(){var t=0,e=new a(f),n=document.createTextNode("");return e.observe(n,{characterData:!0}),function(){n.data=t=++t%2}}():l?function(){var t=new MessageChannel;return t.port1.onmessage=f,function(){return t.port2.postMessage(0)}}():void 0===t?function(){try{var t=Function("return this")().require("vertx");return void 0===(e=t.runOnLoop||t.runOnContext)?h():function(){e(f)}}catch(t){return h()}}():h();var v=Math.random().toString(36).substring(2);function y(){}var w=void 0,b=1,x=2,_={error:null};function C(t){try{return t.then}catch(t){return _.error=t,_}}function S(t,e,n,r){try{t.call(e,n,r)}catch(t){return t}}function A(t,e,n){e.constructor===t.constructor&&n===g&&e.constructor.resolve===m?function(e,t){t._state===b?E(e,t._result):t._state===x?I(e,t._result):P(t,void 0,function(t){return O(e,t)},function(t){return I(e,t)})}(t,e):n===_?(I(t,_.error),_.error=null):void 0===n?E(t,e):u(n)?function(t,r,i){s(function(e){var n=!1,t=S(i,r,function(t){n||(n=!0,r!==t?O(e,t):E(e,t))},function(t){n||(n=!0,I(e,t))},e._label);!n&&t&&(n=!0,I(e,t))},t)}(t,e,n):E(t,e)}function O(t,e){t===e?I(t,new TypeError("You cannot resolve a promise with itself")):function(t){var e=typeof t;return null!==t&&("object"==e||"function"==e)}(e)?A(t,e,C(e)):E(t,e)}function T(t){t._onerror&&t._onerror(t._result),L(t)}function E(t,e){t._state===w&&(t._result=e,t._state=b,0!==t._subscribers.length&&s(L,t))}function I(t,e){t._state===w&&(t._state=x,t._result=e,s(T,t))}function P(t,e,n,r){var i=t._subscribers,o=i.length;t._onerror=null,i[o]=e,i[o+b]=n,i[o+x]=r,0===o&&t._state&&s(L,t)}function L(t){var e=t._subscribers,n=t._state;if(0!==e.length){for(var r=void 0,i=void 0,o=t._result,s=0;s<e.length;s+=3)r=e[s],i=e[s+n],r?k(n,r,i,o):i(o);t._subscribers.length=0}}function k(t,e,n,r){var i=u(n),o=void 0,s=void 0,a=void 0,c=void 0;if(i){if((o=function(t,e){try{return t(e)}catch(t){return _.error=t,_}}(n,r))===_?(c=!0,s=o.error,o.error=null):a=!0,e===o)return void I(e,new TypeError("A promises callback cannot return that same promise."))}else o=r,a=!0;e._state!==w||(i&&a?O(e,o):c?I(e,s):t===b?E(e,o):t===x&&I(e,o))}var R=0;function j(t){t[v]=R++,t._state=void 0,t._result=void 0,t._subscribers=[]}var N=function(){function t(t,e){this._instanceConstructor=t,this.promise=new t(y),this.promise[v]||j(this.promise),n(e)?(this.length=e.length,this._remaining=e.length,this._result=new Array(this.length),0===this.length?E(this.promise,this._result):(this.length=this.length||0,this._enumerate(e),0===this._remaining&&E(this.promise,this._result))):I(this.promise,new Error("Array Methods must be provided an Array"))}return t.prototype._enumerate=function(t){for(var e=0;this._state===w&&e<t.length;e++)this._eachEntry(t[e],e)},t.prototype._eachEntry=function(e,t){var n=this._instanceConstructor,r=n.resolve;if(r===m){var i=C(e);if(i===g&&e._state!==w)this._settledAt(e._state,t,e._result);else if("function"!=typeof i)this._remaining--,this._result[t]=e;else if(n===D){var o=new n(y);A(o,e,i),this._willSettleAt(o,t)}else this._willSettleAt(new n(function(t){return t(e)}),t)}else this._willSettleAt(r(e),t)},t.prototype._settledAt=function(t,e,n){var r=this.promise;r._state===w&&(this._remaining--,t===x?I(r,n):this._result[e]=n),0===this._remaining&&E(r,this._result)},t.prototype._willSettleAt=function(t,e){var n=this;P(t,void 0,function(t){return n._settledAt(b,e,t)},function(t){return n._settledAt(x,e,t)})},t}(),D=function(){function e(t){this[v]=R++,this._result=this._state=void 0,this._subscribers=[],y!==t&&("function"!=typeof t&&function(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}(),this instanceof e?function(e,t){try{t(function(t){O(e,t)},function(t){I(e,t)})}catch(t){I(e,t)}}(this,t):function(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}())}return e.prototype.catch=function(t){return this.then(null,t)},e.prototype.finally=function(e){var n=this.constructor;return u(e)?this.then(function(t){return n.resolve(e()).then(function(){return t})},function(t){return n.resolve(e()).then(function(){throw t})}):this.then(e,e)},e}();return D.prototype.then=g,D.all=function(t){return new N(this,t).promise},D.race=function(i){var o=this;return n(i)?new o(function(t,e){for(var n=i.length,r=0;r<n;r++)o.resolve(i[r]).then(t,e)}):new o(function(t,e){return e(new TypeError("You must pass an array to race."))})},D.resolve=m,D.reject=function(t){var e=new this(y);return I(e,t),e},D._setScheduler=function(t){i=t},D._setAsap=function(t){s=t},D._asap=s,D.polyfill=function(){var t=void 0;if(void 0!==q)t=q;else if("undefined"!=typeof self)t=self;else try{t=Function("return this")()}catch(t){throw new Error("polyfill failed because global object is unavailable in this environment")}var e=t.Promise;if(e){var n=null;try{n=Object.prototype.toString.call(e.resolve())}catch(t){}if("[object Promise]"===n&&!e.cast)return}t.Promise=D},D.Promise=D}()}).call(this,n(10),n(5))},function(t,e,n){"use strict";t.exports=function(t,e){/\?/.test(t)?t+="&":t+="?";return t+r(e)};var r=n(24)},function(t,e,n){"use strict";t.exports=function(t,e,n){if("GET"!==e.method)return void n(new Error("Method "+e.method+" "+t+" is not supported by JSONP."));e.debug("JSONP: start");var r=!1,i=!1;f+=1;var o=document.getElementsByTagName("head")[0],s=document.createElement("script"),a="algoliaJSONP_"+f,c=!1;window[a]=function(t){!function(){try{delete window[a],delete window[a+"_loaded"]}catch(t){window[a]=window[a+"_loaded"]=void 0}}(),i?e.debug("JSONP: Late answer, ignoring"):(r=!0,h(),n(null,{body:t,responseText:JSON.stringify(t)}))},t+="&callback="+a,e.jsonBody&&e.jsonBody.params&&(t+="&"+e.jsonBody.params);var u=setTimeout(function(){e.debug("JSONP: Script timeout"),i=!0,h(),n(new p.RequestTimeout)},e.timeouts.complete);function l(){e.debug("JSONP: success"),c||i||(c=!0,r||(e.debug("JSONP: Fail. Script loaded but did not call the callback"),h(),n(new p.JSONPScriptFail)))}function h(){clearTimeout(u),s.onload=null,s.onreadystatechange=null,s.onerror=null,o.removeChild(s)}s.onreadystatechange=function(){"loaded"!==this.readyState&&"complete"!==this.readyState||l()},s.onload=l,s.onerror=function(){if(e.debug("JSONP: Script error"),c||i)return;h(),n(new p.JSONPScriptError)},s.async=!0,s.defer=!0,s.src=t,o.appendChild(s)};var p=n(11),f=0},function(t,e,a){t.exports=function(s){return function(t,e,n){var r=a(4);(n=n&&r(n)||{}).hosts=n.hosts||["places-dsn.algolia.net","places-1.algolianet.com","places-2.algolianet.com","places-3.algolianet.com"],0!==arguments.length&&"object"!=typeof t&&void 0!==t||(e=t="",n._allowEmptyCredentials=!0);var i=s(t,e,n),o=i.initIndex("places");return o.search=u("query","/1/places/query"),o.reverse=function(t,e){var n=c.encode(t);return this.as._jsonRequest({method:"GET",url:"/1/places/reverse?"+n,hostType:"read",callback:e})},o.getObject=function(t,e){return this.as._jsonRequest({method:"GET",url:"/1/places/"+encodeURIComponent(t),hostType:"read",callback:e})},o}};var c=a(50),u=a(22)},function(t,e,n){"use strict";e.decode=e.parse=n(51),e.encode=e.stringify=n(24)},function(t,e,n){"use strict";t.exports=function(t,e,n,r){e=e||"&",n=n||"=";var i={};if("string"!=typeof t||0===t.length)return i;var o=/\+/g;t=t.split(e);var s=1e3;r&&"number"==typeof r.maxKeys&&(s=r.maxKeys);var a,c,u=t.length;0<s&&s<u&&(u=s);for(var l=0;l<u;++l){var h,p,f,d,g=t[l].replace(o,"%20"),m=g.indexOf(n);p=0<=m?(h=g.substr(0,m),g.substr(m+1)):(h=g,""),f=decodeURIComponent(h),d=decodeURIComponent(p),a=i,c=f,Object.prototype.hasOwnProperty.call(a,c)?v(i[f])?i[f].push(d):i[f]=[i[f],d]:i[f]=d}return i};var v=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)}},function(t,e,n){"use strict";t.exports="3.32.0"},function(t,e,n){"use strict";var c=n(54);n(2).element=c;var r=n(0);r.isArray=c.isArray,r.isFunction=c.isFunction,r.isObject=c.isPlainObject,r.bind=c.proxy,r.each=function(t,n){c.each(t,function(t,e){return n(e,t)})},r.map=c.map,r.mixin=c.extend,r.Event=c.Event;var u="aaAutocomplete",l=n(55),h=n(25);function i(t,o,s,a){s=r.isArray(s)?s:[].slice.call(arguments,2);var e=c(t).each(function(t,e){var n=c(e),r=new h({el:n}),i=a||new l({input:n,eventBus:r,dropdownMenuContainer:o.dropdownMenuContainer,hint:void 0===o.hint||!!o.hint,minLength:o.minLength,autoselect:o.autoselect,autoselectOnBlur:o.autoselectOnBlur,tabAutocomplete:o.tabAutocomplete,openOnFocus:o.openOnFocus,templates:o.templates,debug:o.debug,clearOnSelected:o.clearOnSelected,cssClasses:o.cssClasses,datasets:s,keyboardShortcuts:o.keyboardShortcuts,appendTo:o.appendTo,autoWidth:o.autoWidth,ariaLabel:o.ariaLabel||e.getAttribute("aria-label")});n.data(u,i)});return e.autocomplete={},r.each(["open","close","getVal","setVal","destroy","getWrapper"],function(o){e.autocomplete[o]=function(){var r,i=arguments;return e.each(function(t,e){var n=c(e).data(u);r=n[o].apply(n,i)}),r}}),e}i.sources=l.sources,i.escapeHighlightedString=r.escapeHighlightedString;var o="autocomplete"in window,s=window.autocomplete;i.noConflict=function(){return o?window.autocomplete=s:delete window.autocomplete,i},t.exports=i},function(t,e){var Q,r,n;n=window,t.exports=(Q=n,function(l){var h,e=1,u=Array.prototype.slice,p=l.isFunction,f=function(t){return"string"==typeof t},d={},o={},n="onfocusin"in Q,r={focus:"focusin",blur:"focusout"},g={mouseenter:"mouseover",mouseleave:"mouseout"};function m(t){return t._zid||(t._zid=e++)}function s(t,e,n,r){if((e=v(e)).ns)var i=function(t){return new RegExp("(?:^| )"+t.replace(" "," .* ?")+"(?: |$)")}(e.ns);return(d[m(t)]||[]).filter(function(t){return t&&(!e.e||t.e==e.e)&&(!e.ns||i.test(t.ns))&&(!n||m(t.fn)===m(n))&&(!r||t.sel==r)})}function v(t){var e=(""+t).split(".");return{e:e[0],ns:e.slice(1).sort().join(" ")}}function y(t,e){return t.del&&!n&&t.e in r||!!e}function w(t){return g[t]||n&&r[t]||t}function b(i,t,e,o,s,a,c){var n=m(i),u=d[n]||(d[n]=[]);t.split(/\s/).forEach(function(t){if("ready"==t)return l(document).ready(e);var n=v(t);n.fn=e,n.sel=s,n.e in g&&(e=function(t){var e=t.relatedTarget;if(!e||e!==this&&!l.contains(this,e))return n.fn.apply(this,arguments)});var r=(n.del=a)||e;n.proxy=function(t){if(!(t=C(t)).isImmediatePropagationStopped()){try{var e=Object.getOwnPropertyDescriptor(t,"data");e&&!e.writable||(t.data=o)}catch(t){}var n=r.apply(i,t._args==h?[t]:[t].concat(t._args));return!1===n&&(t.preventDefault(),t.stopPropagation()),n}},n.i=u.length,u.push(n),"addEventListener"in i&&i.addEventListener(w(n.e),n.proxy,y(n,c))})}function x(e,t,n,r,i){var o=m(e);(t||"").split(/\s/).forEach(function(t){s(e,t,n,r).forEach(function(t){delete d[o][t.i],"removeEventListener"in e&&e.removeEventListener(w(t.e),t.proxy,y(t,i))})})}o.click=o.mousedown=o.mouseup=o.mousemove="MouseEvents",l.event={add:b,remove:x},l.proxy=function(t,e){var n=2 in arguments&&u.call(arguments,2);if(p(t)){var r=function(){return t.apply(e,n?n.concat(u.call(arguments)):arguments)};return r._zid=m(t),r}if(f(e))return n?(n.unshift(t[e],t),l.proxy.apply(null,n)):l.proxy(t[e],t);throw new TypeError("expected function")},l.fn.bind=function(t,e,n){return this.on(t,e,n)},l.fn.unbind=function(t,e){return this.off(t,e)},l.fn.one=function(t,e,n,r){return this.on(t,e,n,r,1)};var a=function(){return!0},_=function(){return!1},i=/^([A-Z]|returnValue$|layer[XY]$|webkitMovement[XY]$)/,t={preventDefault:"isDefaultPrevented",stopImmediatePropagation:"isImmediatePropagationStopped",stopPropagation:"isPropagationStopped"};function C(r,i){return!i&&r.isDefaultPrevented||(i||(i=r),l.each(t,function(t,e){var n=i[t];r[t]=function(){return this[e]=a,n&&n.apply(i,arguments)},r[e]=_}),r.timeStamp||(r.timeStamp=Date.now()),(i.defaultPrevented!==h?i.defaultPrevented:"returnValue"in i?!1===i.returnValue:i.getPreventDefault&&i.getPreventDefault())&&(r.isDefaultPrevented=a)),r}function S(t){var e,n={originalEvent:t};for(e in t)i.test(e)||t[e]===h||(n[e]=t[e]);return C(n,t)}l.fn.delegate=function(t,e,n){return this.on(e,t,n)},l.fn.undelegate=function(t,e,n){return this.off(e,t,n)},l.fn.live=function(t,e){return l(document.body).delegate(this.selector,t,e),this},l.fn.die=function(t,e){return l(document.body).undelegate(this.selector,t,e),this},l.fn.on=function(e,i,n,o,s){var a,c,r=this;return e&&!f(e)?(l.each(e,function(t,e){r.on(t,i,n,e,s)}),r):(f(i)||p(o)||!1===o||(o=n,n=i,i=h),o!==h&&!1!==n||(o=n,n=h),!1===o&&(o=_),r.each(function(t,r){s&&(a=function(t){return x(r,t.type,o),o.apply(this,arguments)}),i&&(c=function(t){var e,n=l(t.target).closest(i,r).get(0);if(n&&n!==r)return e=l.extend(S(t),{currentTarget:n,liveFired:r}),(a||o).apply(n,[e].concat(u.call(arguments,1)))}),b(r,e,o,n,i,c||a)}))},l.fn.off=function(t,n,e){var r=this;return t&&!f(t)?(l.each(t,function(t,e){r.off(t,n,e)}),r):(f(n)||p(e)||!1===e||(e=n,n=h),!1===e&&(e=_),r.each(function(){x(this,t,e,n)}))},l.fn.trigger=function(t,e){return(t=f(t)||l.isPlainObject(t)?l.Event(t):C(t))._args=e,this.each(function(){t.type in r&&"function"==typeof this[t.type]?this[t.type]():"dispatchEvent"in this?this.dispatchEvent(t):l(this).triggerHandler(t,e)})},l.fn.triggerHandler=function(n,r){var i,o;return this.each(function(t,e){(i=S(f(n)?l.Event(n):n))._args=r,i.target=e,l.each(s(e,n.type||n),function(t,e){if(o=e.proxy(i),i.isImmediatePropagationStopped())return!1})}),o},"focusin focusout focus blur load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select keydown keypress keyup error".split(" ").forEach(function(e){l.fn[e]=function(t){return 0 in arguments?this.bind(e,t):this.trigger(e)}}),l.Event=function(t,e){f(t)||(t=(e=t).type);var n=document.createEvent(o[t]||"Events"),r=!0;if(e)for(var i in e)"bubbles"==i?r=!!e[i]:n[i]=e[i];return n.initEvent(t,r,!0),C(n)}}(r=function(){var c,s,u,i,a,n,r=[],o=r.concat,l=r.filter,h=r.slice,p=Q.document,f={},e={},d={"column-count":1,columns:1,"font-weight":1,"line-height":1,opacity:1,"z-index":1,zoom:1},g=/^\s*<(\w+|!)[^>]*>/,m=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,v=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,y=/^(?:body|html)$/i,w=/([A-Z])/g,b=["val","css","html","text","data","width","height","offset"],t=p.createElement("table"),x=p.createElement("tr"),_={tr:p.createElement("tbody"),tbody:t,thead:t,tfoot:t,td:x,th:x,"*":p.createElement("div")},C=/complete|loaded|interactive/,S=/^[\w-]*$/,A={},O=A.toString,T={},E=p.createElement("div"),I={tabindex:"tabIndex",readonly:"readOnly",for:"htmlFor",class:"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},P=Array.isArray||function(t){return t instanceof Array};function L(t){return null==t?String(t):A[O.call(t)]||"object"}function k(t){return"function"==L(t)}function R(t){return null!=t&&t==t.window}function j(t){return null!=t&&t.nodeType==t.DOCUMENT_NODE}function N(t){return"object"==L(t)}function D(t){return N(t)&&!R(t)&&Object.getPrototypeOf(t)==Object.prototype}function $(t){var e=!!t&&"length"in t&&t.length,n=u.type(t);return"function"!=n&&!R(t)&&("array"==n||0===e||"number"==typeof e&&0<e&&e-1 in t)}function q(t){return t.replace(/::/g,"/").replace(/([A-Z]+)([A-Z][a-z])/g,"$1_$2").replace(/([a-z\d])([A-Z])/g,"$1_$2").replace(/_/g,"-").toLowerCase()}function M(t){return t in e?e[t]:e[t]=new RegExp("(^|\\s)"+t+"(\\s|$)")}function H(t,e){return"number"!=typeof e||d[q(t)]?e:e+"px"}function F(t){return"children"in t?h.call(t.children):u.map(t.childNodes,function(t){if(1==t.nodeType)return t})}function z(t,e){var n,r=t?t.length:0;for(n=0;n<r;n++)this[n]=t[n];this.length=r,this.selector=e||""}function V(t,e){return null==e?u(t):u(t).filter(e)}function U(t,e,n,r){return k(e)?e.call(t,n,r):e}function B(t,e,n){null==n?t.removeAttribute(e):t.setAttribute(e,n)}function K(t,e){var n=t.className||"",r=n&&n.baseVal!==c;if(e===c)return r?n.baseVal:n;r?n.baseVal=e:t.className=e}function J(e){try{return e?"true"==e||"false"!=e&&("null"==e?null:+e+""==e?+e:/^[\[\{]/.test(e)?u.parseJSON(e):e):e}catch(t){return e}}return T.matches=function(t,e){if(!e||!t||1!==t.nodeType)return!1;var n=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.matchesSelector;if(n)return n.call(t,e);var r,i=t.parentNode,o=!i;return o&&(i=E).appendChild(t),r=~T.qsa(i,e).indexOf(t),o&&E.removeChild(t),r},a=function(t){return t.replace(/-+(.)?/g,function(t,e){return e?e.toUpperCase():""})},n=function(n){return l.call(n,function(t,e){return n.indexOf(t)==e})},T.fragment=function(t,e,n){var r,i,o;return m.test(t)&&(r=u(p.createElement(RegExp.$1))),r||(t.replace&&(t=t.replace(v,"<$1></$2>")),e===c&&(e=g.test(t)&&RegExp.$1),e in _||(e="*"),(o=_[e]).innerHTML=""+t,r=u.each(h.call(o.childNodes),function(){o.removeChild(this)})),D(n)&&(i=u(r),u.each(n,function(t,e){-1<b.indexOf(t)?i[t](e):i.attr(t,e)})),r},T.Z=function(t,e){return new z(t,e)},T.isZ=function(t){return t instanceof T.Z},T.init=function(t,e){var n;if(!t)return T.Z();if("string"==typeof t)if("<"==(t=t.trim())[0]&&g.test(t))n=T.fragment(t,RegExp.$1,e),t=null;else{if(e!==c)return u(e).find(t);n=T.qsa(p,t)}else{if(k(t))return u(p).ready(t);if(T.isZ(t))return t;if(P(t))n=function(t){return l.call(t,function(t){return null!=t})}(t);else if(N(t))n=[t],t=null;else if(g.test(t))n=T.fragment(t.trim(),RegExp.$1,e),t=null;else{if(e!==c)return u(e).find(t);n=T.qsa(p,t)}}return T.Z(n,t)},(u=function(t,e){return T.init(t,e)}).extend=function(e){var n,t=h.call(arguments,1);return"boolean"==typeof e&&(n=e,e=t.shift()),t.forEach(function(t){!function t(e,n,r){for(s in n)r&&(D(n[s])||P(n[s]))?(D(n[s])&&!D(e[s])&&(e[s]={}),P(n[s])&&!P(e[s])&&(e[s]=[]),t(e[s],n[s],r)):n[s]!==c&&(e[s]=n[s])}(e,t,n)}),e},T.qsa=function(t,e){var n,r="#"==e[0],i=!r&&"."==e[0],o=r||i?e.slice(1):e,s=S.test(o);return t.getElementById&&s&&r?(n=t.getElementById(o))?[n]:[]:1!==t.nodeType&&9!==t.nodeType&&11!==t.nodeType?[]:h.call(s&&!r&&t.getElementsByClassName?i?t.getElementsByClassName(o):t.getElementsByTagName(e):t.querySelectorAll(e))},u.contains=p.documentElement.contains?function(t,e){return t!==e&&t.contains(e)}:function(t,e){for(;e&&(e=e.parentNode);)if(e===t)return!0;return!1},u.type=L,u.isFunction=k,u.isWindow=R,u.isArray=P,u.isPlainObject=D,u.isEmptyObject=function(t){var e;for(e in t)return!1;return!0},u.isNumeric=function(t){var e=Number(t),n=typeof t;return null!=t&&"boolean"!=n&&("string"!=n||t.length)&&!isNaN(e)&&isFinite(e)||!1},u.inArray=function(t,e,n){return r.indexOf.call(e,t,n)},u.camelCase=a,u.trim=function(t){return null==t?"":String.prototype.trim.call(t)},u.uuid=0,u.support={},u.expr={},u.noop=function(){},u.map=function(t,e){var n,r,i,o=[];if($(t))for(r=0;r<t.length;r++)null!=(n=e(t[r],r))&&o.push(n);else for(i in t)null!=(n=e(t[i],i))&&o.push(n);return function(t){return 0<t.length?u.fn.concat.apply([],t):t}(o)},u.each=function(t,e){var n,r;if($(t)){for(n=0;n<t.length;n++)if(!1===e.call(t[n],n,t[n]))return t}else for(r in t)if(!1===e.call(t[r],r,t[r]))return t;return t},u.grep=function(t,e){return l.call(t,e)},Q.JSON&&(u.parseJSON=JSON.parse),u.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(t,e){A["[object "+e+"]"]=e.toLowerCase()}),u.fn={constructor:T.Z,length:0,forEach:r.forEach,reduce:r.reduce,push:r.push,sort:r.sort,splice:r.splice,indexOf:r.indexOf,concat:function(){var t,e,n=[];for(t=0;t<arguments.length;t++)e=arguments[t],n[t]=T.isZ(e)?e.toArray():e;return o.apply(T.isZ(this)?this.toArray():this,n)},map:function(n){return u(u.map(this,function(t,e){return n.call(t,e,t)}))},slice:function(){return u(h.apply(this,arguments))},ready:function(t){return C.test(p.readyState)&&p.body?t(u):p.addEventListener("DOMContentLoaded",function(){t(u)},!1),this},get:function(t){return t===c?h.call(this):this[0<=t?t:t+this.length]},toArray:function(){return this.get()},size:function(){return this.length},remove:function(){return this.each(function(){null!=this.parentNode&&this.parentNode.removeChild(this)})},each:function(n){return r.every.call(this,function(t,e){return!1!==n.call(t,e,t)}),this},filter:function(e){return k(e)?this.not(this.not(e)):u(l.call(this,function(t){return T.matches(t,e)}))},add:function(t,e){return u(n(this.concat(u(t,e))))},is:function(t){return 0<this.length&&T.matches(this[0],t)},not:function(e){var n=[];if(k(e)&&e.call!==c)this.each(function(t){e.call(this,t)||n.push(this)});else{var r="string"==typeof e?this.filter(e):$(e)&&k(e.item)?h.call(e):u(e);this.forEach(function(t){r.indexOf(t)<0&&n.push(t)})}return u(n)},has:function(t){return this.filter(function(){return N(t)?u.contains(this,t):u(this).find(t).size()})},eq:function(t){return-1===t?this.slice(t):this.slice(t,+t+1)},first:function(){var t=this[0];return t&&!N(t)?t:u(t)},last:function(){var t=this[this.length-1];return t&&!N(t)?t:u(t)},find:function(t){var n=this;return t?"object"==typeof t?u(t).filter(function(){var e=this;return r.some.call(n,function(t){return u.contains(t,e)})}):1==this.length?u(T.qsa(this[0],t)):this.map(function(){return T.qsa(this,t)}):u()},closest:function(n,r){var i=[],o="object"==typeof n&&u(n);return this.each(function(t,e){for(;e&&!(o?0<=o.indexOf(e):T.matches(e,n));)e=e!==r&&!j(e)&&e.parentNode;e&&i.indexOf(e)<0&&i.push(e)}),u(i)},parents:function(t){for(var e=[],n=this;0<n.length;)n=u.map(n,function(t){if((t=t.parentNode)&&!j(t)&&e.indexOf(t)<0)return e.push(t),t});return V(e,t)},parent:function(t){return V(n(this.pluck("parentNode")),t)},children:function(t){return V(this.map(function(){return F(this)}),t)},contents:function(){return this.map(function(){return this.contentDocument||h.call(this.childNodes)})},siblings:function(t){return V(this.map(function(t,e){return l.call(F(e.parentNode),function(t){return t!==e})}),t)},empty:function(){return this.each(function(){this.innerHTML=""})},pluck:function(e){return u.map(this,function(t){return t[e]})},show:function(){return this.each(function(){"none"==this.style.display&&(this.style.display=""),"none"==getComputedStyle(this,"").getPropertyValue("display")&&(this.style.display=function(t){var e,n;return f[t]||(e=p.createElement(t),p.body.appendChild(e),n=getComputedStyle(e,"").getPropertyValue("display"),e.parentNode.removeChild(e),"none"==n&&(n="block"),f[t]=n),f[t]}(this.nodeName))})},replaceWith:function(t){return this.before(t).remove()},wrap:function(e){var n=k(e);if(this[0]&&!n)var r=u(e).get(0),i=r.parentNode||1<this.length;return this.each(function(t){u(this).wrapAll(n?e.call(this,t):i?r.cloneNode(!0):r)})},wrapAll:function(t){if(this[0]){var e;for(u(this[0]).before(t=u(t));(e=t.children()).length;)t=e.first();u(t).append(this)}return this},wrapInner:function(i){var o=k(i);return this.each(function(t){var e=u(this),n=e.contents(),r=o?i.call(this,t):i;n.length?n.wrapAll(r):e.append(r)})},unwrap:function(){return this.parent().each(function(){u(this).replaceWith(u(this).children())}),this},clone:function(){return this.map(function(){return this.cloneNode(!0)})},hide:function(){return this.css("display","none")},toggle:function(e){return this.each(function(){var t=u(this);(e===c?"none"==t.css("display"):e)?t.show():t.hide()})},prev:function(t){return u(this.pluck("previousElementSibling")).filter(t||"*")},next:function(t){return u(this.pluck("nextElementSibling")).filter(t||"*")},html:function(n){return 0 in arguments?this.each(function(t){var e=this.innerHTML;u(this).empty().append(U(this,n,t,e))}):0 in this?this[0].innerHTML:null},text:function(n){return 0 in arguments?this.each(function(t){var e=U(this,n,t,this.textContent);this.textContent=null==e?"":""+e}):0 in this?this.pluck("textContent").join(""):null},attr:function(e,n){var t;return"string"!=typeof e||1 in arguments?this.each(function(t){if(1===this.nodeType)if(N(e))for(s in e)B(this,s,e[s]);else B(this,e,U(this,n,t,this.getAttribute(e)))}):0 in this&&1==this[0].nodeType&&null!=(t=this[0].getAttribute(e))?t:c},removeAttr:function(t){return this.each(function(){1===this.nodeType&&t.split(" ").forEach(function(t){B(this,t)},this)})},prop:function(e,n){return e=I[e]||e,1 in arguments?this.each(function(t){this[e]=U(this,n,t,this[e])}):this[0]&&this[0][e]},removeProp:function(t){return t=I[t]||t,this.each(function(){delete this[t]})},data:function(t,e){var n="data-"+t.replace(w,"-$1").toLowerCase(),r=1 in arguments?this.attr(n,e):this.attr(n);return null!==r?J(r):c},val:function(e){return 0 in arguments?(null==e&&(e=""),this.each(function(t){this.value=U(this,e,t,this.value)})):this[0]&&(this[0].multiple?u(this[0]).find("option").filter(function(){return this.selected}).pluck("value"):this[0].value)},offset:function(o){if(o)return this.each(function(t){var e=u(this),n=U(this,o,t,e.offset()),r=e.offsetParent().offset(),i={top:n.top-r.top,left:n.left-r.left};"static"==e.css("position")&&(i.position="relative"),e.css(i)});if(!this.length)return null;if(p.documentElement!==this[0]&&!u.contains(p.documentElement,this[0]))return{top:0,left:0};var t=this[0].getBoundingClientRect();return{left:t.left+Q.pageXOffset,top:t.top+Q.pageYOffset,width:Math.round(t.width),height:Math.round(t.height)}},css:function(t,e){if(arguments.length<2){var n=this[0];if("string"==typeof t){if(!n)return;return n.style[a(t)]||getComputedStyle(n,"").getPropertyValue(t)}if(P(t)){if(!n)return;var r={},i=getComputedStyle(n,"");return u.each(t,function(t,e){r[e]=n.style[a(e)]||i.getPropertyValue(e)}),r}}var o="";if("string"==L(t))e||0===e?o=q(t)+":"+H(t,e):this.each(function(){this.style.removeProperty(q(t))});else for(s in t)t[s]||0===t[s]?o+=q(s)+":"+H(s,t[s])+";":this.each(function(){this.style.removeProperty(q(s))});return this.each(function(){this.style.cssText+=";"+o})},index:function(t){return t?this.indexOf(u(t)[0]):this.parent().children().indexOf(this[0])},hasClass:function(t){return!!t&&r.some.call(this,function(t){return this.test(K(t))},M(t))},addClass:function(r){return r?this.each(function(t){if("className"in this){i=[];var e=K(this),n=U(this,r,t,e);n.split(/\s+/g).forEach(function(t){u(this).hasClass(t)||i.push(t)},this),i.length&&K(this,e+(e?" ":"")+i.join(" "))}}):this},removeClass:function(e){return this.each(function(t){if("className"in this){if(e===c)return K(this,"");i=K(this),U(this,e,t,i).split(/\s+/g).forEach(function(t){i=i.replace(M(t)," ")}),K(this,i.trim())}})},toggleClass:function(r,i){return r?this.each(function(t){var e=u(this),n=U(this,r,t,K(this));n.split(/\s+/g).forEach(function(t){(i===c?!e.hasClass(t):i)?e.addClass(t):e.removeClass(t)})}):this},scrollTop:function(t){if(this.length){var e="scrollTop"in this[0];return t===c?e?this[0].scrollTop:this[0].pageYOffset:this.each(e?function(){this.scrollTop=t}:function(){this.scrollTo(this.scrollX,t)})}},scrollLeft:function(t){if(this.length){var e="scrollLeft"in this[0];return t===c?e?this[0].scrollLeft:this[0].pageXOffset:this.each(e?function(){this.scrollLeft=t}:function(){this.scrollTo(t,this.scrollY)})}},position:function(){if(this.length){var t=this[0],e=this.offsetParent(),n=this.offset(),r=y.test(e[0].nodeName)?{top:0,left:0}:e.offset();return n.top-=parseFloat(u(t).css("margin-top"))||0,n.left-=parseFloat(u(t).css("margin-left"))||0,r.top+=parseFloat(u(e[0]).css("border-top-width"))||0,r.left+=parseFloat(u(e[0]).css("border-left-width"))||0,{top:n.top-r.top,left:n.left-r.left}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent||p.body;t&&!y.test(t.nodeName)&&"static"==u(t).css("position");)t=t.offsetParent;return t})}},u.fn.detach=u.fn.remove,["width","height"].forEach(function(r){var i=r.replace(/./,function(t){return t[0].toUpperCase()});u.fn[r]=function(e){var t,n=this[0];return e===c?R(n)?n["inner"+i]:j(n)?n.documentElement["scroll"+i]:(t=this.offset())&&t[r]:this.each(function(t){(n=u(this)).css(r,U(this,e,t,n[r]()))})}}),["after","prepend","before","append"].forEach(function(e,s){var a=s%2;u.fn[e]=function(){var n,r,i=u.map(arguments,function(t){var e=[];return"array"==(n=L(t))?(t.forEach(function(t){return t.nodeType!==c?e.push(t):u.zepto.isZ(t)?e=e.concat(t.get()):void(e=e.concat(T.fragment(t)))}),e):"object"==n||null==t?t:T.fragment(t)}),o=1<this.length;return i.length<1?this:this.each(function(t,e){r=a?e:e.parentNode,e=0==s?e.nextSibling:1==s?e.firstChild:2==s?e:null;var n=u.contains(p.documentElement,r);i.forEach(function(t){if(o)t=t.cloneNode(!0);else if(!r)return u(t).remove();r.insertBefore(t,e),n&&function t(e,n){n(e);for(var r=0,i=e.childNodes.length;r<i;r++)t(e.childNodes[r],n)}(t,function(t){if(!(null==t.nodeName||"SCRIPT"!==t.nodeName.toUpperCase()||t.type&&"text/javascript"!==t.type||t.src)){var e=t.ownerDocument?t.ownerDocument.defaultView:Q;e.eval.call(e,t.innerHTML)}})})})},u.fn[a?e+"To":"insert"+(s?"Before":"After")]=function(t){return u(t)[e](this),this}}),T.Z.prototype=z.prototype=u.fn,T.uniq=n,T.deserializeValue=J,u.zepto=T,u}()),function(t){var e,n=[];r.fn.remove=function(){return this.each(function(){this.parentNode&&("IMG"===this.tagName&&(n.push(this),this.src="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=",e&&clearTimeout(e),e=setTimeout(function(){n=[]},6e4)),this.parentNode.removeChild(this))})}}(),function(o){var s={},a=o.fn.data,c=o.camelCase,u=o.expando="Zepto"+ +new Date,l=[];function h(t,e,n){var r=t[u]||(t[u]=++o.uuid),i=s[r]||(s[r]=function(t){var n={};return o.each(t.attributes||l,function(t,e){0==e.name.indexOf("data-")&&(n[c(e.name.replace("data-",""))]=o.zepto.deserializeValue(e.value))}),n}(t));return void 0!==e&&(i[c(e)]=n),i}o.fn.data=function(e,t){return void 0===t?o.isPlainObject(e)?this.each(function(t,n){o.each(e,function(t,e){h(n,t,e)})}):0 in this?function(t,e){var n=t[u],r=n&&s[n];if(void 0===e)return r||h(t);if(r){if(e in r)return r[e];var i=c(e);if(i in r)return r[i]}return a.call(o(t),e)}(this[0],e):void 0:this.each(function(){h(this,e,t)})},o.data=function(t,e,n){return o(t).data(e,n)},o.hasData=function(t){var e=t[u],n=e&&s[e];return!!n&&!o.isEmptyObject(n)},o.fn.removeData=function(n){return"string"==typeof n&&(n=n.split(/\s+/)),this.each(function(){var t=this[u],e=t&&s[t];e&&o.each(n||e,function(t){delete e[n?c(this):t]})})},["remove","empty"].forEach(function(e){var n=o.fn[e];o.fn[e]=function(){var t=this.find("*");return"remove"===e&&(t=t.add(this)),t.removeData(),n.call(this)}})}(r),r)},function(t,e,n){"use strict";var s="aaAttrs",a=n(0),c=n(2),o=n(25),u=n(56),r=n(63),l=n(26),h=n(16);function p(t){var n,e;if((t=t||{}).input||a.error("missing input"),this.isActivated=!1,this.debug=!!t.debug,this.autoselect=!!t.autoselect,this.autoselectOnBlur=!!t.autoselectOnBlur,this.openOnFocus=!!t.openOnFocus,this.minLength=a.isNumber(t.minLength)?t.minLength:1,this.autoWidth=void 0===t.autoWidth||!!t.autoWidth,this.clearOnSelected=!!t.clearOnSelected,this.tabAutocomplete=void 0===t.tabAutocomplete||!!t.tabAutocomplete,t.hint=!!t.hint,t.hint&&t.appendTo)throw new Error("[autocomplete.js] hint and appendTo options can't be used at the same time");this.css=t.css=a.mixin({},h,t.appendTo?h.appendTo:{}),this.cssClasses=t.cssClasses=a.mixin({},h.defaultClasses,t.cssClasses||{}),this.cssClasses.prefix=t.cssClasses.formattedPrefix=a.formatPrefix(this.cssClasses.prefix,this.cssClasses.noPrefix),this.listboxId=t.listboxId=[this.cssClasses.root,"listbox",a.getUniqueId()].join("-");var r=function(t){var e,n,r,i;e=c.element(t.input),n=c.element(l.wrapper.replace("%ROOT%",t.cssClasses.root)).css(t.css.wrapper),t.appendTo||"block"!==e.css("display")||"table"!==e.parent().css("display")||n.css("display","table-cell");var o=l.dropdown.replace("%PREFIX%",t.cssClasses.prefix).replace("%DROPDOWN_MENU%",t.cssClasses.dropdownMenu);r=c.element(o).css(t.css.dropdown).attr({role:"listbox",id:t.listboxId}),t.templates&&t.templates.dropdownMenu&&r.html(a.templatify(t.templates.dropdownMenu)());(i=e.clone().css(t.css.hint).css(function(t){return{backgroundAttachment:t.css("background-attachment"),backgroundClip:t.css("background-clip"),backgroundColor:t.css("background-color"),backgroundImage:t.css("background-image"),backgroundOrigin:t.css("background-origin"),backgroundPosition:t.css("background-position"),backgroundRepeat:t.css("background-repeat"),backgroundSize:t.css("background-size")}}(e))).val("").addClass(a.className(t.cssClasses.prefix,t.cssClasses.hint,!0)).removeAttr("id name placeholder required").prop("readonly",!0).attr({"aria-hidden":"true",autocomplete:"off",spellcheck:"false",tabindex:-1}),i.removeData&&i.removeData();e.data(s,{"aria-autocomplete":e.attr("aria-autocomplete"),"aria-expanded":e.attr("aria-expanded"),"aria-owns":e.attr("aria-owns"),autocomplete:e.attr("autocomplete"),dir:e.attr("dir"),role:e.attr("role"),spellcheck:e.attr("spellcheck"),style:e.attr("style"),type:e.attr("type")}),e.addClass(a.className(t.cssClasses.prefix,t.cssClasses.input,!0)).attr({autocomplete:"off",spellcheck:!1,role:"combobox","aria-autocomplete":t.datasets&&t.datasets[0]&&t.datasets[0].displayKey?"both":"list","aria-expanded":"false","aria-label":t.ariaLabel,"aria-owns":t.listboxId}).css(t.hint?t.css.input:t.css.inputWithNoHint);try{e.attr("dir")||e.attr("dir","auto")}catch(t){}return(n=t.appendTo?n.appendTo(c.element(t.appendTo).eq(0)).eq(0):e.wrap(n).parent()).prepend(t.hint?i:null).append(r),{wrapper:n,input:e,hint:i,menu:r}}(t);this.$node=r.wrapper;var i=this.$input=r.input;n=r.menu,e=r.hint,t.dropdownMenuContainer&&c.element(t.dropdownMenuContainer).css("position","relative").append(n.css("top","0")),i.on("blur.aa",function(t){var e=document.activeElement;a.isMsie()&&(n[0]===e||n[0].contains(e))&&(t.preventDefault(),t.stopImmediatePropagation(),a.defer(function(){i.focus()}))}),n.on("mousedown.aa",function(t){t.preventDefault()}),this.eventBus=t.eventBus||new o({el:i}),this.dropdown=new p.Dropdown({appendTo:t.appendTo,wrapper:this.$node,menu:n,datasets:t.datasets,templates:t.templates,cssClasses:t.cssClasses,minLength:this.minLength}).onSync("suggestionClicked",this._onSuggestionClicked,this).onSync("cursorMoved",this._onCursorMoved,this).onSync("cursorRemoved",this._onCursorRemoved,this).onSync("opened",this._onOpened,this).onSync("closed",this._onClosed,this).onSync("shown",this._onShown,this).onSync("empty",this._onEmpty,this).onSync("redrawn",this._onRedrawn,this).onAsync("datasetRendered",this._onDatasetRendered,this),this.input=new p.Input({input:i,hint:e}).onSync("focused",this._onFocused,this).onSync("blurred",this._onBlurred,this).onSync("enterKeyed",this._onEnterKeyed,this).onSync("tabKeyed",this._onTabKeyed,this).onSync("escKeyed",this._onEscKeyed,this).onSync("upKeyed",this._onUpKeyed,this).onSync("downKeyed",this._onDownKeyed,this).onSync("leftKeyed",this._onLeftKeyed,this).onSync("rightKeyed",this._onRightKeyed,this).onSync("queryChanged",this._onQueryChanged,this).onSync("whitespaceChanged",this._onWhitespaceChanged,this),this._bindKeyboardShortcuts(t),this._setLanguageDirection()}a.mixin(p.prototype,{_bindKeyboardShortcuts:function(t){if(t.keyboardShortcuts){var i=this.$input,o=[];a.each(t.keyboardShortcuts,function(t){"string"==typeof t&&(t=t.toUpperCase().charCodeAt(0)),o.push(t)}),c.element(document).keydown(function(t){var e=t.target||t.srcElement,n=e.tagName;if(!e.isContentEditable&&"INPUT"!==n&&"SELECT"!==n&&"TEXTAREA"!==n){var r=t.which||t.keyCode;-1!==o.indexOf(r)&&(i.focus(),t.stopPropagation(),t.preventDefault())}})}},_onSuggestionClicked:function(t,e){var n;(n=this.dropdown.getDatumForSuggestion(e))&&this._select(n,{selectionMethod:"click"})},_onCursorMoved:function(t,e){var n=this.dropdown.getDatumForCursor(),r=this.dropdown.getCurrentCursor().attr("id");this.input.setActiveDescendant(r),n&&(e&&this.input.setInputValue(n.value,!0),this.eventBus.trigger("cursorchanged",n.raw,n.datasetName))},_onCursorRemoved:function(){this.input.resetInputValue(),this._updateHint(),this.eventBus.trigger("cursorremoved")},_onDatasetRendered:function(){this._updateHint(),this.eventBus.trigger("updated")},_onOpened:function(){this._updateHint(),this.input.expand(),this.eventBus.trigger("opened")},_onEmpty:function(){this.eventBus.trigger("empty")},_onRedrawn:function(){this.$node.css("top","0px"),this.$node.css("left","0px");var t=this.$input[0].getBoundingClientRect();this.autoWidth&&this.$node.css("width",t.width+"px");var e=this.$node[0].getBoundingClientRect(),n=t.bottom-e.top;this.$node.css("top",n+"px");var r=t.left-e.left;this.$node.css("left",r+"px"),this.eventBus.trigger("redrawn")},_onShown:function(){this.eventBus.trigger("shown"),this.autoselect&&this.dropdown.cursorTopSuggestion()},_onClosed:function(){this.input.clearHint(),this.input.removeActiveDescendant(),this.input.collapse(),this.eventBus.trigger("closed")},_onFocused:function(){if(this.isActivated=!0,this.openOnFocus){var t=this.input.getQuery();t.length>=this.minLength?this.dropdown.update(t):this.dropdown.empty(),this.dropdown.open()}},_onBlurred:function(){var t,e;t=this.dropdown.getDatumForCursor(),e=this.dropdown.getDatumForTopSuggestion();var n={selectionMethod:"blur"};this.debug||(this.autoselectOnBlur&&t?this._select(t,n):this.autoselectOnBlur&&e?this._select(e,n):(this.isActivated=!1,this.dropdown.empty(),this.dropdown.close()))},_onEnterKeyed:function(t,e){var n,r;n=this.dropdown.getDatumForCursor(),r=this.dropdown.getDatumForTopSuggestion();var i={selectionMethod:"enterKey"};n?(this._select(n,i),e.preventDefault()):this.autoselect&&r&&(this._select(r,i),e.preventDefault())},_onTabKeyed:function(t,e){if(this.tabAutocomplete){var n;(n=this.dropdown.getDatumForCursor())?(this._select(n,{selectionMethod:"tabKey"}),e.preventDefault()):this._autocomplete(!0)}else this.dropdown.close()},_onEscKeyed:function(){this.dropdown.close(),this.input.resetInputValue()},_onUpKeyed:function(){var t=this.input.getQuery();this.dropdown.isEmpty&&t.length>=this.minLength?this.dropdown.update(t):this.dropdown.moveCursorUp(),this.dropdown.open()},_onDownKeyed:function(){var t=this.input.getQuery();this.dropdown.isEmpty&&t.length>=this.minLength?this.dropdown.update(t):this.dropdown.moveCursorDown(),this.dropdown.open()},_onLeftKeyed:function(){"rtl"===this.dir&&this._autocomplete()},_onRightKeyed:function(){"ltr"===this.dir&&this._autocomplete()},_onQueryChanged:function(t,e){this.input.clearHintIfInvalid(),e.length>=this.minLength?this.dropdown.update(e):this.dropdown.empty(),this.dropdown.open(),this._setLanguageDirection()},_onWhitespaceChanged:function(){this._updateHint(),this.dropdown.open()},_setLanguageDirection:function(){var t=this.input.getLanguageDirection();this.dir!==t&&(this.dir=t,this.$node.css("direction",t),this.dropdown.setLanguageDirection(t))},_updateHint:function(){var t,e,n,r,i;(t=this.dropdown.getDatumForTopSuggestion())&&this.dropdown.isVisible()&&!this.input.hasOverflow()?(e=this.input.getInputValue(),n=u.normalizeQuery(e),r=a.escapeRegExChars(n),(i=new RegExp("^(?:"+r+")(.+$)","i").exec(t.value))?this.input.setHint(e+i[1]):this.input.clearHint()):this.input.clearHint()},_autocomplete:function(t){var e,n,r,i;e=this.input.getHint(),n=this.input.getQuery(),r=t||this.input.isCursorAtEnd(),e&&n!==e&&r&&((i=this.dropdown.getDatumForTopSuggestion())&&this.input.setInputValue(i.value),this.eventBus.trigger("autocompleted",i.raw,i.datasetName))},_select:function(t,e){void 0!==t.value&&this.input.setQuery(t.value),this.clearOnSelected?this.setVal(""):this.input.setInputValue(t.value,!0),this._setLanguageDirection(),!1===this.eventBus.trigger("selected",t.raw,t.datasetName,e).isDefaultPrevented()&&(this.dropdown.close(),a.defer(a.bind(this.dropdown.empty,this.dropdown)))},open:function(){if(!this.isActivated){var t=this.input.getInputValue();t.length>=this.minLength?this.dropdown.update(t):this.dropdown.empty()}this.dropdown.open()},close:function(){this.dropdown.close()},setVal:function(t){t=a.toStr(t),this.isActivated?this.input.setInputValue(t):(this.input.setQuery(t),this.input.setInputValue(t,!0)),this._setLanguageDirection()},getVal:function(){return this.input.getQuery()},destroy:function(){this.input.destroy(),this.dropdown.destroy(),function(t,e){var n=t.find(a.className(e.prefix,e.input));a.each(n.data(s),function(t,e){void 0===t?n.removeAttr(e):n.attr(e,t)}),n.detach().removeClass(a.className(e.prefix,e.input,!0)).insertAfter(t),n.removeData&&n.removeData(s);t.remove()}(this.$node,this.cssClasses),this.$node=null},getWrapper:function(){return this.dropdown.$container[0]}}),p.Dropdown=r,p.Input=u,p.sources=n(65),t.exports=p},function(t,e,n){"use strict";var s;s={9:"tab",27:"esc",37:"left",39:"right",13:"enter",38:"up",40:"down"};var a=n(0),c=n(2),r=n(15);function i(t){var e,n,r,i,o=this;(t=t||{}).input||a.error("input is missing"),e=a.bind(this._onBlur,this),n=a.bind(this._onFocus,this),r=a.bind(this._onKeydown,this),i=a.bind(this._onInput,this),this.$hint=c.element(t.hint),this.$input=c.element(t.input).on("blur.aa",e).on("focus.aa",n).on("keydown.aa",r),0===this.$hint.length&&(this.setHint=this.getHint=this.clearHint=this.clearHintIfInvalid=a.noop),a.isMsie()?this.$input.on("keydown.aa keypress.aa cut.aa paste.aa",function(t){s[t.which||t.keyCode]||a.defer(a.bind(o._onInput,o,t))}):this.$input.on("input.aa",i),this.query=this.$input.val(),this.$overflowHelper=function(t){return c.element('<pre aria-hidden="true"></pre>').css({position:"absolute",visibility:"hidden",whiteSpace:"pre",fontFamily:t.css("font-family"),fontSize:t.css("font-size"),fontStyle:t.css("font-style"),fontVariant:t.css("font-variant"),fontWeight:t.css("font-weight"),wordSpacing:t.css("word-spacing"),letterSpacing:t.css("letter-spacing"),textIndent:t.css("text-indent"),textRendering:t.css("text-rendering"),textTransform:t.css("text-transform")}).insertAfter(t)}(this.$input)}function o(t){return t.altKey||t.ctrlKey||t.metaKey||t.shiftKey}i.normalizeQuery=function(t){return(t||"").replace(/^\s*/g,"").replace(/\s{2,}/g," ")},a.mixin(i.prototype,r,{_onBlur:function(){this.resetInputValue(),this.$input.removeAttr("aria-activedescendant"),this.trigger("blurred")},_onFocus:function(){this.trigger("focused")},_onKeydown:function(t){var e=s[t.which||t.keyCode];this._managePreventDefault(e,t),e&&this._shouldTrigger(e,t)&&this.trigger(e+"Keyed",t)},_onInput:function(){this._checkInputValue()},_managePreventDefault:function(t,e){var n,r,i;switch(t){case"tab":r=this.getHint(),i=this.getInputValue(),n=r&&r!==i&&!o(e);break;case"up":case"down":n=!o(e);break;default:n=!1}n&&e.preventDefault()},_shouldTrigger:function(t,e){var n;switch(t){case"tab":n=!o(e);break;default:n=!0}return n},_checkInputValue:function(){var t,e,n;n=!(!(e=function(t,e){return i.normalizeQuery(t)===i.normalizeQuery(e)}(t=this.getInputValue(),this.query))||!this.query)&&this.query.length!==t.length,this.query=t,e?n&&this.trigger("whitespaceChanged",this.query):this.trigger("queryChanged",this.query)},focus:function(){this.$input.focus()},blur:function(){this.$input.blur()},getQuery:function(){return this.query},setQuery:function(t){this.query=t},getInputValue:function(){return this.$input.val()},setInputValue:function(t,e){void 0===t&&(t=this.query),this.$input.val(t),e?this.clearHint():this._checkInputValue()},expand:function(){this.$input.attr("aria-expanded","true")},collapse:function(){this.$input.attr("aria-expanded","false")},setActiveDescendant:function(t){this.$input.attr("aria-activedescendant",t)},removeActiveDescendant:function(){this.$input.removeAttr("aria-activedescendant")},resetInputValue:function(){this.setInputValue(this.query,!0)},getHint:function(){return this.$hint.val()},setHint:function(t){this.$hint.val(t)},clearHint:function(){this.setHint("")},clearHintIfInvalid:function(){var t,e,n;n=(t=this.getInputValue())!==(e=this.getHint())&&0===e.indexOf(t),""!==t&&n&&!this.hasOverflow()||this.clearHint()},getLanguageDirection:function(){return(this.$input.css("direction")||"ltr").toLowerCase()},hasOverflow:function(){var t=this.$input.width()-2;return this.$overflowHelper.text(this.getInputValue()),this.$overflowHelper.width()>=t},isCursorAtEnd:function(){var t,e,n;return t=this.$input.val().length,e=this.$input[0].selectionStart,a.isNumber(e)?e===t:!document.selection||((n=document.selection.createRange()).moveStart("character",-t),t===n.text.length)},destroy:function(){this.$hint.off(".aa"),this.$input.off(".aa"),this.$hint=this.$input=this.$overflowHelper=null}}),t.exports=i},function(t,e,n){"use strict";var r,i,o,s=[n(58),n(59),n(60),n(61),n(62)],a=-1,c=[],u=!1;function l(){r&&i&&(r=!1,i.length?c=i.concat(c):a=-1,c.length&&h())}function h(){if(!r){r=!(u=!1);for(var t=c.length,e=setTimeout(l);t;){for(i=c,c=[];i&&++a<t;)i[a].run();a=-1,t=c.length}i=null,r=!(a=-1),clearTimeout(e)}}for(var p=-1,f=s.length;++p<f;)if(s[p]&&s[p].test&&s[p].test()){o=s[p].install(h);break}function d(t,e){this.fun=t,this.array=e}d.prototype.run=function(){var t=this.fun,e=this.array;switch(e.length){case 0:return t();case 1:return t(e[0]);case 2:return t(e[0],e[1]);case 3:return t(e[0],e[1],e[2]);default:return t.apply(null,e)}},t.exports=function(t){var e=new Array(arguments.length-1);if(1<arguments.length)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];c.push(new d(t,e)),u||r||(u=!0,o())}},function(t,n,e){"use strict";(function(e){n.test=function(){return void 0!==e&&!e.browser},n.install=function(t){return function(){e.nextTick(t)}}}).call(this,e(10))},function(t,e,n){"use strict";(function(i){var o=i.MutationObserver||i.WebKitMutationObserver;e.test=function(){return o},e.install=function(t){var e=0,n=new o(t),r=i.document.createTextNode("");return n.observe(r,{characterData:!0}),function(){r.data=e=++e%2}}}).call(this,n(5))},function(t,e,n){"use strict";(function(n){e.test=function(){return!n.setImmediate&&void 0!==n.MessageChannel},e.install=function(t){var e=new n.MessageChannel;return e.port1.onmessage=t,function(){e.port2.postMessage(0)}}}).call(this,n(5))},function(t,e,n){"use strict";(function(n){e.test=function(){return"document"in n&&"onreadystatechange"in n.document.createElement("script")},e.install=function(e){return function(){var t=n.document.createElement("script");return t.onreadystatechange=function(){e(),t.onreadystatechange=null,t.parentNode.removeChild(t),t=null},n.document.documentElement.appendChild(t),e}}}).call(this,n(5))},function(t,e,n){"use strict";e.test=function(){return!0},e.install=function(t){return function(){setTimeout(t,0)}}},function(t,e,n){"use strict";var a=n(0),c=n(2),r=n(15),i=n(64),u=n(16);function l(e){var t,n,r,i=this;(e=e||{}).menu||a.error("menu is required"),a.isArray(e.datasets)||a.isObject(e.datasets)||a.error("1 or more datasets required"),e.datasets||a.error("datasets is required"),this.isOpen=!1,this.isEmpty=!0,this.minLength=e.minLength||0,this.templates={},this.appendTo=e.appendTo||!1,this.css=a.mixin({},u,e.appendTo?u.appendTo:{}),this.cssClasses=e.cssClasses=a.mixin({},u.defaultClasses,e.cssClasses||{}),this.cssClasses.prefix=e.cssClasses.formattedPrefix||a.formatPrefix(this.cssClasses.prefix,this.cssClasses.noPrefix),t=a.bind(this._onSuggestionClick,this),n=a.bind(this._onSuggestionMouseEnter,this),r=a.bind(this._onSuggestionMouseLeave,this);var o=a.className(this.cssClasses.prefix,this.cssClasses.suggestion);this.$menu=c.element(e.menu).on("mouseenter.aa",o,n).on("mouseleave.aa",o,r).on("click.aa",o,t),this.$container=e.appendTo?e.wrapper:this.$menu,e.templates&&e.templates.header&&(this.templates.header=a.templatify(e.templates.header),this.$menu.prepend(this.templates.header())),e.templates&&e.templates.empty&&(this.templates.empty=a.templatify(e.templates.empty),this.$empty=c.element('<div class="'+a.className(this.cssClasses.prefix,this.cssClasses.empty,!0)+'"></div>'),this.$menu.append(this.$empty),this.$empty.hide()),this.datasets=a.map(e.datasets,function(t){return function(t,e,n){return new l.Dataset(a.mixin({$menu:t,cssClasses:n},e))}(i.$menu,t,e.cssClasses)}),a.each(this.datasets,function(t){var e=t.getRoot();e&&0===e.parent().length&&i.$menu.append(e),t.onSync("rendered",i._onRendered,i)}),e.templates&&e.templates.footer&&(this.templates.footer=a.templatify(e.templates.footer),this.$menu.append(this.templates.footer()));var s=this;c.element(window).resize(function(){s._redraw()})}a.mixin(l.prototype,r,{_onSuggestionClick:function(t){this.trigger("suggestionClicked",c.element(t.currentTarget))},_onSuggestionMouseEnter:function(t){var e=c.element(t.currentTarget);if(!e.hasClass(a.className(this.cssClasses.prefix,this.cssClasses.cursor,!0))){this._removeCursor();var n=this;setTimeout(function(){n._setCursor(e,!1)},0)}},_onSuggestionMouseLeave:function(t){if(t.relatedTarget&&0<c.element(t.relatedTarget).closest("."+a.className(this.cssClasses.prefix,this.cssClasses.cursor,!0)).length)return;this._removeCursor(),this.trigger("cursorRemoved")},_onRendered:function(t,e){if(this.isEmpty=a.every(this.datasets,function(t){return t.isEmpty()}),this.isEmpty)if(e.length>=this.minLength&&this.trigger("empty"),this.$empty)if(e.length<this.minLength)this._hide();else{var n=this.templates.empty({query:this.datasets[0]&&this.datasets[0].query});this.$empty.html(n),this.$empty.show(),this._show()}else a.any(this.datasets,function(t){return t.templates&&t.templates.empty})?e.length<this.minLength?this._hide():this._show():this._hide();else this.isOpen&&(this.$empty&&(this.$empty.empty(),this.$empty.hide()),e.length>=this.minLength?this._show():this._hide());this.trigger("datasetRendered")},_hide:function(){this.$container.hide()},_show:function(){this.$container.css("display","block"),this._redraw(),this.trigger("shown")},_redraw:function(){this.isOpen&&this.appendTo&&this.trigger("redrawn")},_getSuggestions:function(){return this.$menu.find(a.className(this.cssClasses.prefix,this.cssClasses.suggestion))},_getCursor:function(){return this.$menu.find(a.className(this.cssClasses.prefix,this.cssClasses.cursor)).first()},_setCursor:function(t,e){t.first().addClass(a.className(this.cssClasses.prefix,this.cssClasses.cursor,!0)).attr("aria-selected","true"),this.trigger("cursorMoved",e)},_removeCursor:function(){this._getCursor().removeClass(a.className(this.cssClasses.prefix,this.cssClasses.cursor,!0)).removeAttr("aria-selected")},_moveCursor:function(t){var e,n,r,i;this.isOpen&&(n=this._getCursor(),e=this._getSuggestions(),this._removeCursor(),-1!==(r=((r=e.index(n)+t)+1)%(e.length+1)-1)?(r<-1&&(r=e.length-1),this._setCursor(i=e.eq(r),!0),this._ensureVisible(i)):this.trigger("cursorRemoved"))},_ensureVisible:function(t){var e,n,r,i;n=(e=t.position().top)+t.height()+parseInt(t.css("margin-top"),10)+parseInt(t.css("margin-bottom"),10),r=this.$menu.scrollTop(),i=this.$menu.height()+parseInt(this.$menu.css("padding-top"),10)+parseInt(this.$menu.css("padding-bottom"),10),e<0?this.$menu.scrollTop(r+e):i<n&&this.$menu.scrollTop(r+(n-i))},close:function(){this.isOpen&&(this.isOpen=!1,this._removeCursor(),this._hide(),this.trigger("closed"))},open:function(){this.isOpen||(this.isOpen=!0,this.isEmpty||this._show(),this.trigger("opened"))},setLanguageDirection:function(t){this.$menu.css("ltr"===t?this.css.ltr:this.css.rtl)},moveCursorUp:function(){this._moveCursor(-1)},moveCursorDown:function(){this._moveCursor(1)},getDatumForSuggestion:function(t){var e=null;return t.length&&(e={raw:i.extractDatum(t),value:i.extractValue(t),datasetName:i.extractDatasetName(t)}),e},getCurrentCursor:function(){return this._getCursor().first()},getDatumForCursor:function(){return this.getDatumForSuggestion(this._getCursor().first())},getDatumForTopSuggestion:function(){return this.getDatumForSuggestion(this._getSuggestions().first())},cursorTopSuggestion:function(){this._setCursor(this._getSuggestions().first(),!1)},update:function(e){a.each(this.datasets,function(t){t.update(e)})},empty:function(){a.each(this.datasets,function(t){t.clear()}),this.isEmpty=!0},isVisible:function(){return this.isOpen&&!this.isEmpty},destroy:function(){this.$menu.off(".aa"),this.$menu=null,a.each(this.datasets,function(t){t.destroy()})}}),l.Dataset=i,t.exports=l},function(t,e,n){"use strict";var a="aaDataset",c="aaValue",u="aaDatum",l=n(0),h=n(2),p=n(26),r=n(16),i=n(15);function o(t){(t=t||{}).templates=t.templates||{},t.source||l.error("missing source"),t.name&&!function(t){return/^[_a-zA-Z0-9-]+$/.test(t)}(t.name)&&l.error("invalid dataset name: "+t.name),this.query=null,this._isEmpty=!0,this.highlight=!!t.highlight,this.name=void 0===t.name||null===t.name?l.getUniqueId():t.name,this.source=t.source,this.displayFn=function(e){return e=e||"value",l.isFunction(e)?e:function(t){return t[e]}}(t.display||t.displayKey),this.debounce=t.debounce,this.cache=!1!==t.cache,this.templates=function(t,e){return{empty:t.empty&&l.templatify(t.empty),header:t.header&&l.templatify(t.header),footer:t.footer&&l.templatify(t.footer),suggestion:t.suggestion||function(t){return"<p>"+e(t)+"</p>"}}}(t.templates,this.displayFn),this.css=l.mixin({},r,t.appendTo?r.appendTo:{}),this.cssClasses=t.cssClasses=l.mixin({},r.defaultClasses,t.cssClasses||{}),this.cssClasses.prefix=t.cssClasses.formattedPrefix||l.formatPrefix(this.cssClasses.prefix,this.cssClasses.noPrefix);var e=l.className(this.cssClasses.prefix,this.cssClasses.dataset);this.$el=t.$menu&&0<t.$menu.find(e+"-"+this.name).length?h.element(t.$menu.find(e+"-"+this.name)[0]):h.element(p.dataset.replace("%CLASS%",this.name).replace("%PREFIX%",this.cssClasses.prefix).replace("%DATASET%",this.cssClasses.dataset)),this.$menu=t.$menu,this.clearCachedSuggestions()}o.extractDatasetName=function(t){return h.element(t).data(a)},o.extractValue=function(t){return h.element(t).data(c)},o.extractDatum=function(t){var e=h.element(t).data(u);return"string"==typeof e&&(e=JSON.parse(e)),e},l.mixin(o.prototype,i,{_render:function(e,o){if(this.$el){var n,s=this,t=[].slice.call(arguments,2);if(this.$el.empty(),n=o&&o.length,this._isEmpty=!n,!n&&this.templates.empty)this.$el.html(function(){var t=[].slice.call(arguments,0);return t=[{query:e,isEmpty:!0}].concat(t),s.templates.empty.apply(this,t)}.apply(this,t)).prepend(s.templates.header?r.apply(this,t):null).append(s.templates.footer?i.apply(this,t):null);else if(n)this.$el.html(function(){var t,e,r=[].slice.call(arguments,0),i=this,n=p.suggestions.replace("%PREFIX%",this.cssClasses.prefix).replace("%SUGGESTIONS%",this.cssClasses.suggestions);return t=h.element(n).css(this.css.suggestions),e=l.map(o,function(t){var e,n=p.suggestion.replace("%PREFIX%",i.cssClasses.prefix).replace("%SUGGESTION%",i.cssClasses.suggestion);return(e=h.element(n).attr({role:"option",id:["option",Math.floor(1e8*Math.random())].join("-")}).append(s.templates.suggestion.apply(this,[t].concat(r)))).data(a,s.name),e.data(c,s.displayFn(t)||void 0),e.data(u,JSON.stringify(t)),e.children().each(function(){h.element(this).css(i.css.suggestionChild)}),e}),t.append.apply(t,e),t}.apply(this,t)).prepend(s.templates.header?r.apply(this,t):null).append(s.templates.footer?i.apply(this,t):null);else if(o&&!Array.isArray(o))throw new TypeError("suggestions must be an array");this.$menu&&this.$menu.addClass(this.cssClasses.prefix+(n?"with":"without")+"-"+this.name).removeClass(this.cssClasses.prefix+(n?"without":"with")+"-"+this.name),this.trigger("rendered",e)}function r(){var t=[].slice.call(arguments,0);return t=[{query:e,isEmpty:!n}].concat(t),s.templates.header.apply(this,t)}function i(){var t=[].slice.call(arguments,0);return t=[{query:e,isEmpty:!n}].concat(t),s.templates.footer.apply(this,t)}},getRoot:function(){return this.$el},update:function(n){function t(t){if(!this.canceled&&n===this.query){var e=[].slice.call(arguments,1);this.cacheSuggestions(n,t,e),this._render.apply(this,[n,t].concat(e))}}if(this.query=n,this.canceled=!1,this.shouldFetchFromCache(n))t.apply(this,[this.cachedSuggestions].concat(this.cachedRenderExtraArgs));else{var e=this,r=function(){e.canceled||e.source(n,t.bind(e))};if(this.debounce){clearTimeout(this.debounceTimeout),this.debounceTimeout=setTimeout(function(){e.debounceTimeout=null,r()},this.debounce)}else r()}},cacheSuggestions:function(t,e,n){this.cachedQuery=t,this.cachedSuggestions=e,this.cachedRenderExtraArgs=n},shouldFetchFromCache:function(t){return this.cache&&this.cachedQuery===t&&this.cachedSuggestions&&this.cachedSuggestions.length},clearCachedSuggestions:function(){delete this.cachedQuery,delete this.cachedSuggestions,delete this.cachedRenderExtraArgs},cancel:function(){this.canceled=!0},clear:function(){this.cancel(),this.$el.empty(),this.trigger("rendered","")},isEmpty:function(){return this._isEmpty},destroy:function(){this.clearCachedSuggestions(),this.$el=null}}),t.exports=o},function(t,e,n){"use strict";t.exports={hits:n(66),popularIn:n(67)}},function(t,e,n){"use strict";var i=n(0),o=n(27),s=n(28);t.exports=function(e,r){var t=s(e.as._ua);return t&&3<=t[0]&&20<t[1]&&((r=r||{}).additionalUA="autocomplete.js "+o),function(t,n){e.search(t,r,function(t,e){t?i.error(t.message):n(e.hits,e)})}}},function(t,e,n){"use strict";var h=n(0),p=n(27),f=n(28);t.exports=function(e,r,i,c){var t=f(e.as._ua);if(t&&3<=t[0]&&20<t[1]&&((r=r||{}).additionalUA="autocomplete.js "+p),!i.source)return h.error("Missing 'source' key");var u=h.isFunction(i.source)?i.source:function(t){return t[i.source]};if(!i.index)return h.error("Missing 'index' key");var l=i.index;return c=c||{},function(t,a){e.search(t,r,function(t,o){if(t)h.error(t.message);else{if(0<o.hits.length){var s=o.hits[0],e=h.mixin({hitsPerPage:0},i);delete e.source,delete e.index;var n=f(l.as._ua);return n&&3<=n[0]&&20<n[1]&&(r.additionalUA="autocomplete.js "+p),void l.search(u(s),e,function(t,e){if(t)h.error(t.message);else{var r=[];if(c.includeAll){var n=c.allTitle||"All departments";r.push(h.mixin({facet:{value:n,count:e.nbHits}},h.cloneDeep(s)))}h.each(e.facets,function(t,n){h.each(t,function(t,e){r.push(h.mixin({facet:{facet:n,value:e,count:t}},h.cloneDeep(s)))})});for(var i=1;i<o.hits.length;++i)r.push(o.hits[i]);a(r,o)}})}a([])}})}}},function(t,e,n){var r=n(32),i=n(6);t.exports=r.default,t.exports.version=i.default}])});
2
+ //# sourceMappingURL=places.min.js.map
metadata ADDED
@@ -0,0 +1,65 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: algolia-places-rails
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.16.4
5
+ platform: ruby
6
+ authors:
7
+ - Curt Howard
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2019-06-25 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rails
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: 5.0.0
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: 5.0.0
27
+ description: Algolia Places library packaged for the Asset Pipeline
28
+ email:
29
+ - curt@portugly.com
30
+ executables: []
31
+ extensions: []
32
+ extra_rdoc_files: []
33
+ files:
34
+ - MIT-LICENSE
35
+ - README.md
36
+ - Rakefile
37
+ - lib/algolia-places-rails.rb
38
+ - lib/algolia-places-rails/engine.rb
39
+ - lib/algolia-places-rails/version.rb
40
+ - vendor/assets/javascripts/algolia-places-rails/places.min.js
41
+ homepage: https://github.com/meowsus/algolia-places-rails
42
+ licenses:
43
+ - MIT
44
+ metadata: {}
45
+ post_install_message:
46
+ rdoc_options: []
47
+ require_paths:
48
+ - lib
49
+ required_ruby_version: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - ">="
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
54
+ required_rubygems_version: !ruby/object:Gem::Requirement
55
+ requirements:
56
+ - - ">="
57
+ - !ruby/object:Gem::Version
58
+ version: '0'
59
+ requirements: []
60
+ rubyforge_project:
61
+ rubygems_version: 2.6.14.4
62
+ signing_key:
63
+ specification_version: 4
64
+ summary: Algolia Places library packaged for the Asset Pipeline
65
+ test_files: []