You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
2 lines
26 KiB
2 lines
26 KiB
2 years ago
|
!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.placesAutocompleteDataset=n():t.placesAutocompleteDataset=n()}(window,function(){return o={},r.m=e={1:function(t,n,e){"use strict";function o(n,t){var e,o=Object.keys(n);return Object.getOwnPropertySymbols&&(e=Object.getOwnPropertySymbols(n),t&&(e=e.filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})),o.push.apply(o,e)),o}function P(r){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?o(Object(a),!0).forEach(function(t){var n,e,o;n=r,o=a[e=t],e in n?Object.defineProperty(n,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[e]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(a)):o(Object(a)).forEach(function(t){Object.defineProperty(r,t,Object.getOwnPropertyDescriptor(a,t))})}return r}var z={},j={};n.a=function(t){var n,e,o,r,a,i,c,s,l,u,p,d,h,g,v,f,m,y,b,w,O,x;return n=P(P({},z),t),e=n.hitsPerPage,o=n.postcodeSearch,r=n.aroundLatLng,a=n.aroundRadius,i=n.aroundLatLngViaIP,c=n.insideBoundingBox,s=n.insidePolygon,l=n.getRankingInfo,u=n.countries,p=n.language,d=n.type,h={countries:u,hitsPerPage:e||5,language:p||navigator.language.split("-")[0],type:d},Array.isArray(u)&&(h.countries=h.countries.map(function(t){return t.toLowerCase()})),"string"==typeof h.language&&(h.language=h.language.toLowerCase()),r?h.aroundLatLng=r:void 0!==i&&(h.aroundLatLngViaIP=i),o&&(h.restrictSearchableAttributes="postcode"),z=P(P({},h),{},{aroundRadius:a,insideBoundingBox:c,insidePolygon:s,getRankingInfo:l}),g=P(P({},j),t),v=g.useDeviceLocation,f=void 0!==v&&v,m=g.computeQueryParams,y=void 0===m?function(t){return t}:m,b=g.formatInputValue,w=g.onHits,O=void 0===w?function(){}:w,x=g.onError,j={useDeviceLocation:f,computeQueryParams:y,formatInputValue:b,onHits:O,onError:void 0===x?function(t){throw t}:x,onRateLimitReached:g.onRateLimitReached,onInvalidCredentials:g.onInvalidCredentials},{params:z,controls:j}}},15:function(t,n,e){"use strict";n.a=".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 display: inherit;\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: pointer;\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-ali
|
||
|
//# sourceMappingURL=placesAutocompleteDataset.min.js.map
|