diff --git a/THIRD_PARTY.txt b/THIRD_PARTY.txt
index 8bb09fb2..9d69b43c 100644
--- a/THIRD_PARTY.txt
+++ b/THIRD_PARTY.txt
@@ -1162,7 +1162,7 @@ https://cdnjs.cloudflare.com/ajax/libs/hls.js/0.14.17/hls.min.js
https://cdnjs.cloudflare.com/ajax/libs/hls.js/1.4.6/hls.min.js
https://cdnjs.cloudflare.com/ajax/libs/hogan.js/3.0.2/hogan.min.js
https://cdnjs.cloudflare.com/ajax/libs/instantsearch.js/3.7.0/instantsearch.production.min.js
-https://cdnjs.cloudflare.com/ajax/libs/instantsearch.js/4.56.0/instantsearch.production.min.js
+https://cdnjs.cloudflare.com/ajax/libs/instantsearch.js/4.56.2/instantsearch.production.min.js
https://cdnjs.cloudflare.com/ajax/libs/iScroll/5.2.0/iscroll.min.js
https://cdnjs.cloudflare.com/ajax/libs/izimodal/1.6.1/js/iziModal.min.js
https://cdnjs.cloudflare.com/ajax/libs/jasny-bootstrap/3.1.3/css/jasny-bootstrap.min.css
diff --git a/modules/internal/targets.js b/modules/internal/targets.js
index 0839b4e0..a0195ad7 100644
--- a/modules/internal/targets.js
+++ b/modules/internal/targets.js
@@ -236,7 +236,7 @@ targets.setLastVersion = function (type, version) {
if (type.startsWith('/instantsearch.css/7.')) return '7.4.5';
if (type.startsWith('/instantsearch.css/8.')) return '8.0.0';
if (type.startsWith('/instantsearch.js/3.')) return '3.7.0';
- if (type.startsWith('/instantsearch.js/4.')) return '4.56.0';
+ if (type.startsWith('/instantsearch.js/4.')) return '4.56.2';
if (type.startsWith('/in-view/0.')) return '0.6.1';
if (type.startsWith('/iScroll/5.')) return '5.2.0';
if (type.startsWith('/izimodal/1.')) return '1.6.1';
diff --git a/pages/updates/updates.html b/pages/updates/updates.html
index bc0cab42..1285d175 100644
--- a/pages/updates/updates.html
+++ b/pages/updates/updates.html
@@ -46,6 +46,7 @@
hls.js v1.4.4 -> v1.4.6 (#1455)
bootstrap-table v1.21.4 -> v1.22.0 (#1456)
dexie v3.2.3 -> v3.2.4 (#1457)
+ instantsearch.js v4.56.0 -> v4.56.2 (#1458)
diff --git a/resources/instantsearch.js/4.56.0/instantsearch.production.min.jsm b/resources/instantsearch.js/4.56.0/instantsearch.production.min.jsm
deleted file mode 100644
index 4fde22e4..00000000
--- a/resources/instantsearch.js/4.56.0/instantsearch.production.min.jsm
+++ /dev/null
@@ -1,3 +0,0 @@
-/*! InstantSearch.js 4.56.0 | © Algolia, Inc. and contributors; MIT License | https://github.com/algolia/instantsearch.js */
-!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self).instantsearch=t()}(this,function(){"use strict";function o(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function C(t){for(var e=1;e
e.length)&&(t=e.length);for(var n=0,r=new Array(t);n":">",'"':""","'":"'"},Z=/[&<>"']/g,Y=RegExp(Z.source);var X={"&":"&","<":"<",">":">",""":'"',"'":"'"},G=/&(amp|quot|lt|gt|#39);/g,ee=RegExp(G.source);function te(e){return e&&ee.test(e)?e.replace(G,function(e){return X[e]}):e}function ne(e){if("object"===y(t=e)&&null!==t&&"[object Object]"===(null===(t=e)?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t))){var t;if(null===Object.getPrototypeOf(e))return 1;for(var n=e;null!==Object.getPrototypeOf(n);)n=Object.getPrototypeOf(n);return Object.getPrototypeOf(e)===n}}var re={highlightPreTag:"__ais-highlight__",highlightPostTag:"__/ais-highlight__"},u={highlightPreTag:"",highlightPostTag:""};function ie(e){return((e=e)&&Y.test(e)?e.replace(Z,function(e){return J[e]}):e).replace(new RegExp(re.highlightPreTag,"g"),u.highlightPreTag).replace(new RegExp(re.highlightPostTag,"g"),u.highlightPostTag)}function ae(n){return ne(n)&&"string"!=typeof n.value?Object.keys(n).reduce(function(e,t){return C(C({},e),{},T({},t,ae(n[t])))},{}):Array.isArray(n)?n.map(ae):C(C({},n),{},{value:ie(n.value)})}function se(e){return void 0===e.__escaped&&((e=e.map(function(e){e=m({},(function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(e),e));return e._highlightResult&&(e._highlightResult=ae(e._highlightResult)),e._snippetResult&&(e._snippetResult=ae(e._snippetResult)),e})).__escaped=!0),e}function oe(e){var t=u.highlightPreTag,n=u.highlightPostTag;return e.map(function(e){return e.isHighlighted?t+e.value+n:e.value}).join("")}function ce(e){var d=e.instantSearchInstance,h=e.helper,f=e.attribute,m=e.widgetType;return function(){for(var e=arguments.length,t=new Array(e),n=0;n= 4.8.0 required."));u=ge(t.findAnswers,p),y(C(C({},this.getWidgetRenderState(e)),{},{instantSearchInstance:e.instantSearchInstance}),!0)},render:function(t){var n=this,e=t.state.query;e?(s=[],o=!0,y(C(C({},this.getWidgetRenderState(t)),{},{instantSearchInstance:t.instantSearchInstance}),!1),r(u(e,l,C(C({},v),{},{nbHits:f,attributesForPrediction:d}))).then(function(e){e&&(g&&0=":return"≥";case"<=":return"≤";default:return e}}(e.operator)," ").concat(e.name):e.name,t={attribute:e.attribute,type:e.type,value:t,label:n};return void 0!==e.operator&&(t.operator=e.operator),void 0!==e.count&&(t.count=e.count),void 0!==e.exhaustive&&(t.exhaustive=e.exhaustive),t}function ft(R){var n=1 ":t,t=e.rootPath,r=void 0===t?null:t,t=e.showParentLevel,i=void 0===t||t,t=e.limit,a=void 0===t?10:t,t=e.showMore,d=void 0!==t&&t,t=e.showMoreLimit,s=void 0===t?20:t,t=e.sortBy,h=void 0===t?vt:t,t=e.transformItems,f=void 0===t?function(e){return e}:t;if(!u||!Array.isArray(u)||0===u.length)throw new Error(gt("The `attributes` option expects an array of strings."));if(!0===d&&s<=a)throw new Error(gt("The `showMoreLimit` option must be greater than `limit`."));var m,p,g=k(u,1)[0],o=function(){};function v(){o()}var y=!1;function b(){return y?s:a}return{$$type:"ais.hierarchicalMenu",init:function(e){var t=e.instantSearchInstance;R(C(C({},this.getWidgetRenderState(e)),{},{instantSearchInstance:t}),!0)},render:function(e){var t,n,r=e.instantSearchInstance;t=e,o=function(){y=!y,n.render(t)},R(C(C({},(n=this).getWidgetRenderState(e)),{},{instantSearchInstance:r}),!1)},dispose:function(e){e=e.state;return n(),e.removeHierarchicalFacet(g).setQueryParameter("maxValuesPerFacet",void 0)},getRenderState:function(e,t){return C(C({},e),{},{hierarchicalMenu:C(C({},e.hierarchicalMenu),{},T({},g,this.getWidgetRenderState(t)))})},getWidgetRenderState:function(e){var t,n=e.results,r=e.state,i=e.createURL,a=e.instantSearchInstance,s=e.helper,e=[],o=!1;return m=m||ce({instantSearchInstance:a,helper:s,attribute:function(e){e=e.split(l).length-1;return u[e]},widgetType:this.$$type}),p=p||function(e){m("click:internal",e),s.toggleFacetRefinement(g,e).search()},n&&(a=(a=n.getFacetValues(g,{sortBy:h,facetOrdering:h===vt}))&&!Array.isArray(a)&&a.data?a.data:[],t=(r.maxValuesPerFacet||0)>b()?a.length<=b():a.lengthR()),o=g(e.slice(0,R()).map(function(e){var t=e.name,n=e.escapedValue;e.path;return C(C({},E(e,un)),{},{label:t,value:n})}),{results:r})),{items:o,createURL:d,refine:h,sendEvent:l,canRefine:0="]&&t[">="][0]||"",t=t["<="]&&t["<="][0]||"",""===n&&""===t?e:C(C({},e),{},{numericMenu:C(C({},e.numericMenu),{},T({},m,"".concat(n,":").concat(t)))}))},getWidgetSearchParameters:function(e,t){var n,t=t.uiState,t=t.numericMenu&&t.numericMenu[m],e=e.clearRefinements(m);return t?-1===t.indexOf(":")?e.addNumericRefinement(m,"=",Number(t)):(n=(t=k(t.split(":").map(parseFloat),2))[0],t=t[1],n=R(n)?e.addNumericRefinement(m,">=",n):e,R(t)?n.addNumericRefinement(m,"<=",t):n):e.setQueryParameters({numericRefinements:C(C({},e.numericRefinements),{},T({},m,{}))})},getRenderState:function(e,t){return C(C({},e),{},{numericMenu:C(C({},e.numericMenu),{},T({},m,this.getWidgetRenderState(t)))})},getWidgetRenderState:function(e){var t,r,n,i=e.results,a=e.state,s=e.instantSearchInstance,o=e.helper,c=e.createURL,e=(f.refine||(f.refine=function(e){var t=mn(o.state,m,e);f.sendEvent("click:internal",e),o.setState(t).search()}),f.createURL||(f.createURL=function(t){return function(e){return c(mn(t,m,e))}}),f.sendEvent||(f.sendEvent=(t={instantSearchInstance:s}.instantSearchInstance,function(){1===arguments.length&&t.sendEventToInsights(arguments.length<=0?void 0:arguments[0])})),!i||0===i.nbHits),s=(r=a,p.map(function(e){var t=e.start,n=e.end,e=e.label;return{label:e,value:encodeURI(JSON.stringify({start:t,end:n})),isRefined:fn(r,m,{start:t,end:n,label:e})}})),u=!0,l=function(e,t){var n,r,i,a,s="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(s)return r=!(n=!0),{s:function(){s=s.call(e)},n:function(){var e=s.next();return n=e.done,e},e:function(e){r=!0,i=e},f:function(){try{n||null==s.return||s.return()}finally{if(r)throw i}}};if(Array.isArray(e)||(s=q(e))||t&&e&&"number"==typeof e.length)return s&&(e=s),a=0,{s:t=function(){},n:function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:t};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(s);try{for(l.s();!(n=l.n()).done;){var d=n.value;if(d.isRefined&&"{}"!==decodeURI(d.value)){u=!1;break}}}catch(e){l.e(e)}finally{l.f()}return{createURL:f.createURL(a),items:g(s,{results:i}),hasNoResults:e,canRefine:!(e&&u),refine:f.refine,sendEvent:f.sendEvent,widgetParams:h}}};throw new Error(hn("The `items` option expects an array of objects."))}}var cn=Rt(an),un=["name","escapedValue","path"],ln=l({name:"menu",connector:!0}),dn=["isRefined","name:asc"],hn=l({name:"numeric-menu",connector:!0});function fn(e,t,n){var r=e.getNumericRefinements(t);return void 0!==n.start&&void 0!==n.end?n.start===n.end?pn(r,"=",n.start):pn(r,">=",n.start)&&pn(r,"<=",n.end):void 0!==n.start?pn(r,">=",n.start):void 0!==n.end?pn(r,"<=",n.end):void 0===n.start&&void 0===n.end&&Object.keys(r).every(function(e){return 0===(r[e]||[]).length})}function mn(e,t,n){var n=JSON.parse(decodeURI(n)),r=e.getNumericRefinements(t);if(void 0===n.start&&void 0===n.end)return e.removeNumericRefinement(t);if(fn(e,t,n)||(e=e.removeNumericRefinement(t)),void 0!==n.start&&void 0!==n.end){if(n.start>n.end)throw new Error("option.start should be > to option.end");if(n.start===n.end)return e=pn(r,"=",n.start)?e.removeNumericRefinement(t,"=",n.start):e.addNumericRefinement(t,"=",n.start)}return void 0!==n.start&&(e=(e=pn(r,">=",n.start)?e.removeNumericRefinement(t,">=",n.start):e).addNumericRefinement(t,">=",n.start)),"number"==typeof(e=void 0!==n.end?(e=pn(r,"<=",n.end)?e.removeNumericRefinement(t,"<=",n.end):e).addNumericRefinement(t,"<=",n.end):e).page&&(e.page=0),e}function pn(e,t,n){return void 0!==e[t]&&e[t].includes(n)}function gn(n){var t=1=")||[],1)[0],s=k(e.getNumericRefinement(u,"<=")||[],1)[0],o=void 0===n||""===n,c=void 0===r||""===r,n=Rn({min:o?void 0:parseFloat(n),max:c?void 0:parseFloat(r),precision:h}),r=n.min,n=n.max,o=R(l)||i!==r?R(l)&&o?l:r:void 0,r=R(d)||t!==n?R(d)&&c?d:n:void 0,c=void 0===o,n=R(i)&&i<=o,c=c||R(o)&&(!R(i)||n),i=void 0===r,n=R(r)&&r<=t,i=i||R(r)&&(!R(t)||n);return(a!==o||s!==r)&&c&&i?(e=e.removeNumericRefinement(u),R(o)&&(e=e.addNumericRefinement(u,">=",o)),(e=R(r)?e.addNumericRefinement(u,"<=",r):e).resetPage()):null};function f(n,r){return function(){var e=k(0=")||[],1)[0],i=k(i.getNumericRefinement(u,"<=")||[],1)[0],[R(s)?s:-1/0,R(i)?i:1/0]),i=f(r,n?a:{min:void 0,max:void 0});return{refine:i,canRefine:a.min!==a.max,format:c,range:a,sendEvent:(t=e,function(){1===arguments.length&&t.sendEventToInsights(arguments.length<=0?void 0:arguments[0])}),widgetParams:C(C({},o),{},{precision:h}),start:s}},dispose:function(e){e=e.state;return r(),e.removeDisjunctiveFacet(u).removeNumericRefinement(u)},getWidgetUiState:function(e,t){var t=t.searchParameters.getNumericRefinements(u),n=t[">="],n=void 0===n?[]:n,t=t["<="],t=void 0===t?[]:t;return 0===n.length&&0===t.length?e:C(C({},e),{},{range:C(C({},e.range),{},T({},u,"".concat(n,":").concat(t)))})},getWidgetSearchParameters:function(e,t){var n,t=t.uiState,e=e.addDisjunctiveFacet(u).setQueryParameters({numericRefinements:C(C({},e.numericRefinements),{},T({},u,{}))}),t=(R(l)&&(e=e.addNumericRefinement(u,">=",l)),R(d)&&(e=e.addNumericRefinement(u,"<=",d)),t.range&&t.range[u]);return e=t&&-1!==t.indexOf(":")&&(n=(t=k(t.split(":").map(parseFloat),2))[0],t=t[1],R(n)&&(!R(l)||l=")).addNumericRefinement(u,">=",n)),R(t))&&(!R(d)||tf,l=m&&!_;return{createURL:function(e){return a(i.resetPage().toggleFacetRefinement(h,e))},items:c,refine:b,searchForItems:s,isFromSearch:!1,canRefine:0="])&&t.length)return e[">="][0]},b=function(e){return function(e,t){v("click:internal",t),e.setState(r(e.state,t)).search()}.bind(null,e)},R=function(e){var t=e.state,n=e.createURL;return function(e){return n(r(t,e))}},{$$type:Hn,init:function(e){var t=e.instantSearchInstance;n(C(C({},this.getWidgetRenderState(e)),{},{instantSearchInstance:t}),!0)},render:function(e){var t=e.instantSearchInstance;n(C(C({},this.getWidgetRenderState(e)),{},{instantSearchInstance:t}),!1)},getRenderState:function(e,t){return C(C({},e),{},{ratingMenu:C(C({},e.ratingMenu),{},T({},S,this.getWidgetRenderState(t)))})},getWidgetRenderState:function(e){var o,c,u,l,t,n=e.helper,r=e.results,i=e.state,a=e.instantSearchInstance,e=e.createURL,s=[],d=(v||(o=(a={instantSearchInstance:a,helper:n,getRefinedStar:function(){return y(n.state)},attribute:S}).instantSearchInstance,c=a.helper,u=a.getRefinedStar,l=a.attribute,v=function(){for(var e,t,n,r,i=arguments.length,a=new Array(i),s=0;s=").concat(e)]},attribute:l}))}),!1),h=0,f=null==r?void 0:r.getFacetValues(S,{});if(r&&f){f.length,t=0,f.forEach(function(e){e=k(e.name.split("."),2)[1];t=Math.max(t,(void 0===e?"":e).length)});for(var m=y(i),p=1;p<_;p+=1)(function(n){var e=m===n,t=(d=d||e,f.filter(function(e){return Number(e.name)>=n&&Number(e.name)<=_}).map(function(e){return e.count}).reduce(function(e,t){return e+t},0));if(h+=t,m&&!e&&0===t)return;var r=w(new Array(Math.floor(+_))).map(function(e,t){return+t=",t):e.setQueryParameters({numericRefinements:C(C({},e.numericRefinements),{},T({},S,{}))})}};throw new Error(On("The `attribute` option is required."));function r(e,t){var n=y(e)===Number(t),e=e.resetPage().removeNumericRefinement(S);return n?e:e.addNumericRefinement(S,"<=",_).addNumericRefinement(S,">=",Number(t))}}}function In(r){var e=1 ":r,r=e.rootPath,s=void 0===r?null:r,r=e.transformItems,o=void 0===r?function(e){return e}:r;if(t&&Array.isArray(t)&&0!==t.length)return n=k(t,1)[0],{$$type:"ais.breadcrumb",init:function(e){u(C(C({},this.getWidgetRenderState(e)),{},{instantSearchInstance:e.instantSearchInstance}),!0)},render:function(e){u(C(C({},this.getWidgetRenderState(e)),{},{instantSearchInstance:e.instantSearchInstance}),!1)},dispose:function(){l()},getRenderState:function(e,t){return C(C({},e),{},{breadcrumb:C(C({},e.breadcrumb),{},T({},n,this.getWidgetRenderState(t)))})},getWidgetRenderState:function(e){var t=e.helper,n=e.createURL,r=e.results,e=e.state;var i,e=r&&0!==e.hierarchicalFacets.length?(e=k(e.hierarchicalFacets,1)[0].name,e=(e=r.getFacetValues(e,{}))&&!Array.isArray(e)&&e.data?e.data:[],o((i=function n(e){return e.reduce(function(e,t){return e=t.isRefined&&(e.push({label:t.name,value:t.escapedValue}),Array.isArray(t.data))?e.concat(n(t.data)):e},[])}(e)).map(function(e,t){return{label:e.label,value:t+1===i.length?null:i[t+1].value}}),{results:r})):[];return d.createURL||(d.createURL=function(e){return n(c(t.state,e))}),d.refine||(d.refine=function(e){t.setState(c(t.state,e)).search()}),{canRefine:0 "},_getHierarchicalRootPath:function(e){return e.rootPath||null},_getHierarchicalShowParentLevel:function(e){return"boolean"!=typeof e.showParentLevel||e.showParentLevel},getHierarchicalFacetByName:function(t){return p(this.hierarchicalFacets,function(e){return e.name===t})},getHierarchicalFacetBreadcrumb:function(e){var t;return this.isHierarchicalFacet(e)&&(t=this.getHierarchicalRefinement(e)[0])?(e=this._getHierarchicalFacetSeparator(this.getHierarchicalFacetByName(e)),t.split(e).map(function(e){return e.trim()})):[]},toString:function(){return JSON.stringify(this,null,2)}};var ar=s;function sr(e){return Array.isArray(e)?e.filter(Boolean):[]}function or(e,t){if(Array.isArray(e))for(var n=0;n=i.length)&&"desc"===i[n]?-r:r}return e.index-t.index}),e.map(function(e){return e.value})):[]};var lr=function(e){return"string"!=typeof e?e:String(e).replace(/^-/,"\\-")},e=function(e){return"string"!=typeof e?e:e.replace(/^\\-/,"-")},dr=function(m){return function(e,t){function n(e,s,t){var n,o=e;if(0t&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"==typeof console.trace)&&console.trace(),this;throw TypeError("listener must be a function")},r.prototype.once=function(e,t){var n;if(Pr(t))return n=!1,r.listener=t,this.on(e,r),this;throw TypeError("listener must be a function");function r(){this.removeListener(e,r),n||(n=!0,t.apply(this,arguments))}},r.prototype.removeListener=function(e,t){var n,r,i,a;if(!Pr(t))throw TypeError("listener must be a function");if(this._events&&this._events[e])if(i=(n=this._events[e]).length,r=-1,n===t||Pr(n.listener)&&n.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(Nr(n)){for(a=i;0")}function Ur(n,r){return function(e){var t,e=e||{},a=e.hit,s=e.matchingPatterns,e=e.transformSearchParameters,e=void 0===e?function(e){return e}:e;if(!a)throw new Error(Br("The `hit` option is required."));if(s)return t=Object.keys(s).reduce(function(e,t){var n=s[t],r=Ne(a,t),i=n.score;return Array.isArray(r)?[].concat(w(e),[r.map(function(e){return $r({attributeName:t,attributeValue:e,attributeScore:i})})]):"string"==typeof r?[].concat(w(e),[$r({attributeName:t,attributeValue:r,attributeScore:i})]):e},[]),e=C({},e(new Hr.SearchParameters({sumOrFiltersScores:!0,facetFilters:["objectID:-".concat(a.objectID)],optionalFilters:t}))),C(C({},Dr(n,r)({searchParameters:e})),{},{$$type:"ais.configureRelatedItems"});throw new Error(Br("The `matchingPatterns` option is required."))}}var qr=l({name:"autocomplete",connector:!0}),Qr=l({name:"query-rules",connector:!0});function Vr(e){var i,a,s,t=this.helper,n=this.initialRuleContexts,r=this.trackedFilters,o=this.transformRuleContexts,e=e.state,c=e.ruleContexts||[],r=(i=(r={helper:t,sharedHelperState:e,trackedFilters:r}).helper,a=r.sharedHelperState,s=r.trackedFilters,Object.keys(s).reduce(function(e,t){var n=Ie(i.lastResults||{},a,!0).filter(function(e){return e.attribute===t}).map(function(e){return e.numericValue||e.name}),r=(0,s[t])(n);return[].concat(w(e),w(n.filter(function(e){return r.includes(e)}).map(function(e){return"ais-".concat(t,"-").concat(e).replace(/[^a-z0-9-_]+/gi,"_")})))},[])),o=o([].concat(w(n),w(r))).slice(0,10);ke(c,o)||t.overrideStateWithoutTriggeringChangeEvent(C(C({},e),{},{ruleContexts:o}))}function Kr(l){var r=1')).replace(new RegExp(u.highlightPostTag,"g"),"".concat(n,">"))}var ei=i("ReverseHighlight");function ti(e){var t=e.attribute,n=e.highlightedTagName,n=void 0===n?"mark":n,r=e.hit,e=e.cssClasses,e=void 0===e?{}:e,r=(Ne(r._highlightResult,t)||{}).value,t=void 0===r?"":r,r=ei({descendantName:"highlighted"})+(e.highlighted?" ".concat(e.highlighted):"");return oe(Xe(we(t))).replace(new RegExp(u.highlightPreTag,"g"),"<".concat(n,' class="').concat(r,'">')).replace(new RegExp(u.highlightPostTag,"g"),"".concat(n,">"))}var ni=i("Snippet");function ri(e){var t=e.attribute,n=e.highlightedTagName,n=void 0===n?"mark":n,r=e.hit,e=e.cssClasses,e=void 0===e?{}:e,r=(Ne(r._snippetResult,t)||{}).value,t=void 0===r?"":r,r=ni({descendantName:"highlighted"})+(e.highlighted?" ".concat(e.highlighted):"");return t.replace(new RegExp(u.highlightPreTag,"g"),"<".concat(n,' class="').concat(r,'">')).replace(new RegExp(u.highlightPostTag,"g"),"".concat(n,">"))}var ii=i("ReverseSnippet");function ai(e){var t=e.attribute,n=e.highlightedTagName,n=void 0===n?"mark":n,r=e.hit,e=e.cssClasses,e=void 0===e?{}:e,r=(Ne(r._snippetResult,t)||{}).value,t=void 0===r?"":r,r=ii({descendantName:"highlighted"})+(e.highlighted?" ".concat(e.highlighted):"");return oe(Xe(we(t))).replace(new RegExp(u.highlightPreTag,"g"),"<".concat(n,' class="').concat(r,'">')).replace(new RegExp(u.highlightPostTag,"g"),"".concat(n,">"))}var si="_ALGOLIA";function oi(){var e=si;if("object"===("undefined"==typeof document?"undefined":y(document))&&"string"==typeof document.cookie)for(var t="".concat(e,"="),n=document.cookie.split(";"),r=0;r>6]+Ni[128|63&c]:c<55296||57344<=c?s+=Ni[224|c>>12]+Ni[128|c>>6&63]+Ni[128|63&c]:(o+=1,c=65536+((1023&c)<<10|1023&a.charCodeAt(o)),s+=Ni[240|c>>18]+Ni[128|c>>12&63]+Ni[128|c>>6&63]+Ni[128|63&c])}return s},isBuffer:function(e){return!(!e||"object"!=typeof e||!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e)))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(Pi(e)){for(var n=[],r=0;r":7,"=":8,_v:9,"{":10,"&":11,_t:12},S.scan=function(e,t){var n,r,i,a,s,o=e.length,c=0,u=null,l="",d=[],h=!1,f=0,m=0,p="{{",g="}}";function v(){0"==n.tag&&(n.indent=d[r].text.toString()),d.splice(r,1));else t||d.push({tag:"\n"});h=!1,m=d.length}for(t&&(t=t.split(" "),p=t[0],g=t[1]),f=0;f":a,"<":function(e,t){var n={partials:{},code:"",subs:{},inPartial:!0},e=(S.walk(e.nodes,n),t.partials[a(e,t)]);e.subs=n.subs,e.partials=n.partials},$:function(e,t){var n={subs:{},code:"",partials:t.partials,prefix:e.n};S.walk(e.nodes,n),t.subs[e.n]=n.code,t.inPartial||(t.code+='t.sub("'+i(e.n)+'",c,p,i);')},"\n":function(e,t){t.code+=o('"\\n"'+(e.last?"":" + i"))},_v:function(e,t){t.code+="t.b(t.v(t."+n(e.n)+'("'+i(e.n)+'",c,p,0)));'},_t:function(e,t){t.code+=o('"'+i(e.text)+'"')},"{":s,"&":s},S.walk=function(e,t){for(var n,r=0,i=e.length;r/g,a=/\'/g,o=/\"/g,c=/[&<>\"\']/,d=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}}),da=(e.Template=la.Template,e.template=e.Template,e),ha=function(e,t,n,r){t[0]=0;for(var i=1;i"===t?(r=1,""):t+i[0]:a?t===a?a="":i+=t:'"'===t||"'"===t?a=t:">"===t?(o(),r=1):r&&("="===t?(r=5,n=i,i=""):"/"===t&&(r<5||">"===e[c][u+1])?(o(),3===r&&(s=s[0]),(s=(r=s)[0]).push(2,0,r),r=0):" "===t||"\t"===t||"\n"===t||"\r"===t?(o(),r=2):i+=t),3===r&&"!--"===i&&(r=4,s=s[0])}return o(),s}(e)),t),arguments,[])).length?t:t[0]}.bind(j),pa=ca(ua(function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t"}},as=l({name:"breadcrumb"}),ss=i("Breadcrumb"),os=function(e){var t=e.hasRefinements,n=e.refine,r=e.cssClasses,e=e.templateProps;return j("div",{className:r.root},j(g,m({},e,{templateKey:"resetLabel",rootTagName:"button",rootProps:{className:I(r.button,!t&&r.disabledButton),onClick:n,disabled:!t},data:{hasRefinements:t}})))},cs={resetLabel:function(){return"Clear refinements"}},us=l({name:"clear-refinements"}),ls=i("ClearRefinements"),ds=function(e){var t=e.items,a=e.cssClasses,e=e.canRefine;return j("div",{className:I(a.root,!e&&a.noRefinementRoot)},j("ul",{className:a.list},t.map(function(i,e){return j("li",{key:"".concat(i.indexName,"-").concat(i.attribute,"-").concat(e),className:a.item},j("span",{className:a.label},(e=i.label).toString().charAt(0).toUpperCase()+e.toString().slice(1),":"),i.refinements.map(function(e){return j("span",{key:(n=e.attribute,r=e.value,[n,e.type,r,e.operator].map(function(e){return e}).filter(Boolean).join(":")),className:a.category},j("span",{className:a.categoryLabel},"query"===e.attribute?j("q",null,e.label):e.label),j("button",{className:a.delete,onClick:(t=i.refine.bind(null,e),function(e){je(e)||(e.preventDefault(),t())})},"✕"));var t,n,r}))})))},hs=l({name:"current-refinements"}),fs=i("CurrentRefinements"),ms=j("p",null,"Your custom HTML Marker"),ps={HTMLMarker:function(){return ms},reset:function(){return"Clear the map refinement"},toggle:function(){return"Search as I move the map"},redo:function(){return"Redo search here"}},gs=function(e){var t=e.cssClasses,n=e.enableRefine,r=e.enableRefineControl,i=e.enableClearMapRefinement,a=e.isRefineOnMapMove,s=e.isRefinedWithMap,o=e.hasMapMoveSinceLastRefine,c=e.onRefineToggle,u=e.onRefineClick,l=e.onClearClick,e=e.templateProps;return j(kt,null,n&&j("div",null,r&&j("div",{className:t.control},a||!o?j(es,{classNameLabel:I(t.label,a&&t.selectedLabel),classNameInput:t.input,checked:a,onToggle:c},j(g,m({},e,{templateKey:"toggle",rootTagName:"span"}))):j(Ga,{className:t.redo,disabled:!o,onClick:u},j(g,m({},e,{templateKey:"redo",rootTagName:"span"})))),!r&&!a&&j("div",{className:t.control},j(Ga,{className:I(t.redo,!o&&t.disabledRedo),disabled:!o,onClick:u},j(g,m({},e,{templateKey:"redo",rootTagName:"span"})))),i&&s&&j(Ga,{className:t.reset,onClick:l},j(g,m({},e,{templateKey:"reset",rootTagName:"span"})))))},vs=function(e){var t=e.refine,e=e.mapInstance;return t({northEast:e.getBounds().getNorthEast().toJSON(),southWest:e.getBounds().getSouthWest().toJSON()})},ys=function(e,r){return e.reduce(function(e,t){var e=k(e,2),n=e[0],e=e[1];return r.includes(t.__id)?[n.concat(t),e]:[n,e.concat(t)]},[[],[]])},bs=function(e,t){t=t.reduce(function(e,t){return e.extend(t.getPosition())},new e.maps.LatLngBounds);return{northEast:t.getNorthEast().toJSON(),southWest:t.getSouthWest().toJSON()}},Rs=function(e,t){e.isUserInteraction=!1,t(),e.isUserInteraction=!0},Ss=["initialZoom","initialPosition","templates","cssClasses","builtInMarker","customHTMLMarker","enableRefine","enableClearMapRefinement","enableRefineControl","container","googleReference"],_s=["item"],ws=["item"],Ps=l({name:"geo-search"}),Ns=i("GeoSearch"),la={query:"",showSubmit:!0,showReset:!0,showLoadingIndicator:!0,autofocus:!1,searchAsYouType:!0,isSearchStalled:!1,disabled:!1,onChange:v,onSubmit:v,onReset:v,refine:v},xs=function(){D(i,jt);var r=U(i);function i(){var a;A(this,i);for(var e=arguments.length,t=new Array(e),n=0;n=t.__.length&&t.__.push({__V:uo}),t.__[e]}function vo(e){oo=1;var a,t=Po,n=void 0,s=go(no++,2);return s.t=t,s.__c||(s.__=[n?n(e):Po(void 0,e),function(e){var t=(s.__N||s.__)[0],e=s.t(t,e);t!==e&&(s.__N=[e,s.__[1]],s.__c.setState({}))}],(s.__c=_).u)||(_.u=!0,a=_.shouldComponentUpdate,_.shouldComponentUpdate=function(e,t,n){var r,i;return!s.__c.__H||((r=s.__c.__H.__.filter(function(e){return e.__c})).every(function(e){return!e.__N})||(i=!1,r.forEach(function(e){var t;e.__N&&(t=e.__[0],e.__=e.__N,e.__N=void 0,t!==e.__[0])&&(i=!0)}),!!i))&&(!a||a.call(this,e,t,n))}),s.__N||s.__}function yo(e){return oo=5,t=function(){return{current:e}},n=[],wo((r=go(no++,7)).__H,n)?(r.__V=t(),r.i=n,r.__h=t,r.__V):r.__;var t,n,r}function bo(){for(var t;t=co.shift();)if(t.__P&&t.__H)try{t.__H.__h.forEach(So),t.__H.__h.forEach(_o),t.__H.__h=[]}catch(e){t.__H.__h=[],N.__e(e,t.__v)}}N.__b=function(e){"function"!=typeof e.type||e.o||e.type===kt?e.o||(e.o=e.__&&e.__.o?e.__.o:""):e.o=(e.__&&e.__.o?e.__.o:"")+(e.__&&e.__.__k?e.__.__k.indexOf(e):0),_=null,lo&&lo(e)},N.__r=function(e){ho&&ho(e),no=0;e=(_=e.__c).__H;e&&(ro===_?(e.__h=[],_.__h=[],e.__.forEach(function(e){e.__N&&(e.__=e.__N),e.__V=uo,e.__N=e.i=void 0})):(e.__h.forEach(So),e.__h.forEach(_o),e.__h=[])),ro=_},N.diffed=function(e){fo&&fo(e);e=e.__c;e&&e.__H&&(!e.__H.__h.length||1!==co.push(e)&&io===N.requestAnimationFrame||((io=N.requestAnimationFrame)||function(e){function t(){clearTimeout(r),Ro&&cancelAnimationFrame(n),setTimeout(e)}var n,r=setTimeout(t,100);Ro&&(n=requestAnimationFrame(t))})(bo),e.__H.__.forEach(function(e){e.i&&(e.__H=e.i),e.__V!==uo&&(e.__=e.__V),e.i=void 0,e.__V=uo})),ro=_=null},N.__c=function(e,n){n.some(function(t){try{t.__h.forEach(So),t.__h=t.__h.filter(function(e){return!e.__||_o(e)})}catch(e){n.some(function(e){e.__h&&(e.__h=[])}),n=[],N.__e(e,t.__v)}}),mo&&mo(e,n)},N.unmount=function(e){po&&po(e);var t,e=e.__c;e&&e.__H&&(e.__H.__.forEach(function(e){try{So(e)}catch(e){t=e}}),e.__H=void 0,t)&&N.__e(t,e.__v)};var Ro="function"==typeof requestAnimationFrame;function So(e){var t=_,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),_=t}function _o(e){var t=_;e.__c=e.__(),_=t}function wo(n,e){return!n||n.length!==e.length||e.some(function(e,t){return e!==n[t]})}function Po(e,t){return"function"==typeof t?t(e):t}function No(t){var e,n,r=k(vo(t.isCollapsed),2),i=r[0],a=r[1],r=k(vo(!1),2),s=r[0],o=r[1],c=yo(null);return r=function(){var e=c.current;if(e)return e.appendChild(t.bodyElement),function(){e.removeChild(t.bodyElement)}},e=[c,t.bodyElement],n=go(no++,3),!N.__s&&wo(n.__H,e)&&(n.__=r,n.i=e,_.__H.__h.push(n)),s||t.isCollapsed===i||a(t.isCollapsed),j("div",{className:I(t.cssClasses.root,t.hidden&&t.cssClasses.noRefinementRoot,t.collapsible&&t.cssClasses.collapsibleRoot,i&&t.cssClasses.collapsedRoot),hidden:t.hidden},t.templates.header&&j("div",{className:t.cssClasses.header},j(g,{templates:t.templates,templateKey:"header",rootTagName:"span",data:t.data}),t.collapsible&&j("button",{className:t.cssClasses.collapseButton,"aria-expanded":!i,onClick:function(e){e.preventDefault(),o(!0),a(function(e){return!e})}},j(g,{templates:t.templates,templateKey:"collapseButtonText",rootTagName:"span",data:{collapsed:i}}))),j("div",{className:t.cssClasses.body,ref:c}),t.templates.footer&&j(g,{templates:t.templates,templateKey:"footer",rootProps:{className:t.cssClasses.footer},data:t.data}))}var xo=l({name:"panel"}),Io=i("Panel"),Fo=["placesReference","defaultPosition"],To=["places"],Co=function(e){var t=e.url,n=e.theme,e=e.cssClasses;return j("div",{className:e.root},j("a",{href:t,target:"_blank",className:e.link,"aria-label":"Search by Algolia",rel:"noopener noreferrer"},j("svg",{height:"1.2em",className:e.logo,viewBox:"0 0 572 64",style:{width:"auto"}},j("path",{fill:"dark"===n?"#FFF":"#36395A",d:"M16 48.3c-3.4 0-6.3-.6-8.7-1.7A12.4 12.4 0 0 1 1.9 42C.6 40 0 38 0 35.4h6.5a6.7 6.7 0 0 0 3.9 6c1.4.7 3.3 1.1 5.6 1.1 2.2 0 4-.3 5.4-1a7 7 0 0 0 3-2.4 6 6 0 0 0 1-3.4c0-1.5-.6-2.8-1.9-3.7-1.3-1-3.3-1.6-5.9-1.8l-4-.4c-3.7-.3-6.6-1.4-8.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 0 9.1 13.9h.5zM452.8 13.4c-6.2 0-11.7 3.3-14.8 8.2a18.5 18.5 0 0 0 3.6 24.3 10.4 10.4 0 0 0 13 .6c2.2-1.5 3.8-3.7 4.5-6.1v7.8c0 2.8-.8 5-2.2 6.3-1.5 1.5-4 2.2-7.5 2.2l-6-.3c-.3 0-.7.2-.8.5l-1.6 5.5c-.1.4.1.8.5 1h.1c2.8.4 5.5.6 7 .6 6.3 0 11-1.4 14-4.1 2.7-2.5 4.2-6.3 4.5-11.4V14.2c0-.5-.4-.8-.8-.8h-13.5zm6.3 8.2v18.3a9.6 9.6 0 0 1-5.6 2h-1a10.3 10.3 0 0 1-8.8-14c1.4-3.7 5-6.3 9-6.3h6.4zM291 31.5A32 32 0 0 1 322.8 0h30.8c.6 0 1.2.5 1.2 1.2v61.5c0 1.1-1.3 1.7-2.2 1l-19.2-17a18 18 0 0 1-11 3.4 18.1 18.1 0 1 1 18.2-14.8c-.1.4-.5.7-.9.6-.1 0-.3 0-.4-.2l-3.8-3.4c-.4-.3-.6-.8-.7-1.4a12 12 0 1 0-2.4 8.3c.4-.4 1-.5 1.6-.2l14.7 13.1v-46H323a26 26 0 1 0 10 49.7c.8-.4 1.6-.2 2.3.3l3 2.7c.3.2.3.7 0 1l-.2.2a32 32 0 0 1-47.2-28.6z"}))))},Eo=i("PoweredBy"),ko=l({name:"powered-by"}),jo=l({name:"query-rule-context"}),Lo=function(e){var t=e.cssClasses,n=e.templates,e=e.items;return j(g,{templateKey:"default",templates:n,rootProps:{className:t.root},data:{items:e}})},Mo={default:function(e){e=e.items;return JSON.stringify(e,null,2)}},Oo=l({name:"query-rule-custom-data"}),Ho=i("QueryRuleCustomData");function Ao(e){return e.replace(/^(0+)\d/,function(e){return Number(e).toString()})}function Wo(e){var t=e.style,e=e.children,n=Math.round(parseFloat(t.left)),r=[0,50,100].includes(n),e=Math.round(100*parseInt(e,10))/100;return j("div",{style:C(C({},t),{},{marginLeft:100===n?"-2px":0}),className:I("rheostat-marker","rheostat-marker-horizontal",r&&"rheostat-marker-large")},r&&j("div",{className:"rheostat-value"},e))}var Do=function(){D(s,jt);var a=U(s);function s(){var e,n;A(this,s);for(var t=arguments.length,r=new Array(t),i=0;i=this.props.max}},{key:"computeDefaultPitPoints",value:function(e){var t=e.min,e=e.max,n=(e-t)/34;return[t].concat(w(Je({end:33}).map(function(e){return t+n*(e+1)})),[e])}},{key:"computeSnapPoints",value:function(e){var t=e.min,n=e.max,e=e.step;if(e)return[].concat(w(Je({start:t,end:n,step:e})),[n])}},{key:"render",value:function(){var e=this.props,t=e.tooltips,n=e.step,r=e.pips,i=e.values,e=e.cssClasses,a=this.isDisabled?{min:this.props.min,max:this.props.max+.001}:this.props,s=a.min,a=a.max,n=this.computeSnapPoints({min:s,max:a,step:n}),r=!1===r?[]:this.computeDefaultPitPoints({min:s,max:a});return j("div",{className:I(e.root,this.isDisabled&&e.disabledRoot)},j(sc,{handle:this.createHandleComponent(t),onChange:this.handleChange,min:s,max:a,pitComponent:Wo,pitPoints:r,snap:!0,snapPoints:n,values:this.isDisabled?[s,a]:i,disabled:this.isDisabled}))}}]),a}()),cc=l({name:"range-slider"}),uc=i("RangeSlider");function lc(e){var t=e.children,n=e.count,r=e.value,i=e.url,e=e.cssClasses;return n?j("a",{className:I(e.link),"aria-label":"".concat(r," & up"),href:i},t):j("div",{className:I(e.link),"aria-label":"".concat(r," & up"),disabled:!0},t)}var dc={item:function(e){var t=e.count,n=e.value,r=e.url,i=e.stars,a=e.cssClasses;return j(lc,{count:t,value:n,url:r,cssClasses:a},i.map(function(e,t){return j("svg",{key:t,className:I(a.starIcon,e?a.fullStarIcon:a.emptyStarIcon),"aria-hidden":"true",width:"24",height:"24"},j("use",{xlinkHref:e?"#ais-RatingMenu-starSymbol":"#ais-RatingMenu-starEmptySymbol"}))}),j("span",{className:I(a.label)},"& Up"),t&&j("span",{className:I(a.count)},na(t)))}},hc=l({name:"rating-menu"}),O=i("RatingMenu"),fc=j("path",{d:"M12 .288l2.833 8.718h9.167l-7.417 5.389 2.833 8.718-7.416-5.388-7.417 5.388 2.833-8.718-7.416-5.389h9.167z"}),mc=j("path",{d:"M12 6.76l1.379 4.246h4.465l-3.612 2.625 1.379 4.246-3.611-2.625-3.612 2.625 1.379-4.246-3.612-2.625h4.465l1.38-4.246zm0-6.472l-2.833 8.718h-9.167l7.416 5.389-2.833 8.718 7.417-5.388 7.416 5.388-2.833-8.718 7.417-5.389h-9.167l-2.833-8.718z"}),pc=j("path",{d:"M8.114 10L.944 2.83 0 1.885 1.886 0l.943.943L10 8.113l7.17-7.17.944-.943L20 1.886l-.943.943-7.17 7.17 7.17 7.17.943.944L18.114 20l-.943-.943-7.17-7.17-7.17 7.17-.944.943L0 18.114l.943-.943L8.113 10z"}),gc=j("path",{d:"M26.804 29.01c-2.832 2.34-6.465 3.746-10.426 3.746C7.333 32.756 0 25.424 0 16.378 0 7.333 7.333 0 16.378 0c9.046 0 16.378 7.333 16.378 16.378 0 3.96-1.406 7.594-3.746 10.426l10.534 10.534c.607.607.61 1.59-.004 2.202-.61.61-1.597.61-2.202.004L26.804 29.01zm-10.426.627c7.323 0 13.26-5.936 13.26-13.26 0-7.32-5.937-13.257-13.26-13.257C9.056 3.12 3.12 9.056 3.12 16.378c0 7.323 5.936 13.26 13.258 13.26z"}),vc=j("g",{fill:"none",fillRule:"evenodd"},j("g",{transform:"translate(1 1)",strokeWidth:"2"},j("circle",{strokeOpacity:".5",cx:"18",cy:"18",r:"18"}),j("path",{d:"M36 18c0-9.94-8.06-18-18-18"},j("animateTransform",{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"1s",repeatCount:"indefinite"})))),yc={reset:function(e){return j("svg",{className:e.cssClasses.resetIcon,viewBox:"0 0 20 20",width:"10",height:"10","aria-hidden":"true"},pc)},submit:function(e){return j("svg",{className:e.cssClasses.submitIcon,width:"10",height:"10",viewBox:"0 0 40 40","aria-hidden":"true"},gc)},loadingIndicator:function(e){return j("svg",{className:e.cssClasses.loadingIcon,width:"16",height:"16",viewBox:"0 0 38 38",stroke:"#444","aria-hidden":"true"},vc)}},bc={item:function(e){var t=e.cssClasses,n=e.count,r=e.value,i=e.highlighted,a=e.isRefined,e=e.isFromSearch;return j("label",{className:I(t.label)},j("input",{type:"checkbox",className:I(t.checkbox),value:r,defaultChecked:a}),j("span",{className:I(t.labelText),dangerouslySetInnerHTML:e?{__html:i}:void 0},!e&&i),j("span",{className:I(t.count)},na(n)))},showMoreText:function(e){return e.isShowingMore?"Show less":"Show more"},searchableNoResults:function(){return"No results"}},Rc=l({name:"refinement-list"}),H=i("RefinementList"),Sc=i("SearchBox"),_c=function(e){var t=e.cssClasses,n=e.templates,r=e.isRelevantSorted,i=e.isVirtualReplica,a=e.refine;return i?j("div",{className:t.root},j(g,{templateKey:"text",templates:n,rootProps:{className:t.text},data:{isRelevantSorted:r}}),j("button",{type:"button",className:t.button,onClick:function(){a(r?0:void 0)}},j(g,{rootTagName:"span",templateKey:"button",templates:n,data:{isRelevantSorted:r}}))):null},wc={text:function(){return""},button:function(e){return e.isRelevantSorted?"See all results":"See relevant results"}},Pc=l({name:"relevant-sort"}),Nc=i("RelevantSort"),xc=l({name:"search-box"}),Ic=i("SearchBox"),Fc=l({name:"sort-by"}),Tc=i("SortBy"),Cc=["nbHits","nbSortedHits","cssClasses","templateProps"],Ec=function(e){var t=e.nbHits,n=e.nbSortedHits,r=e.cssClasses,i=e.templateProps,e=E(e,Cc);return j("div",{className:I(r.root)},j(g,m({},i,{templateKey:"text",rootTagName:"span",rootProps:{className:r.text},data:C({hasManySortedResults:n&&1=")&&r.hasOwnProperty("<="))r[">="]&&r[">="][0]===r["<="]&&r["<="][0]?n.push("".concat(t,"=").concat(t,"_").concat(r[">="])):n.push("".concat(t,"=").concat(t,"_").concat(r[">="],"to").concat(r["<="]));else if(r.hasOwnProperty(">="))n.push("".concat(t,"=").concat(t,"_from").concat(r[">="]));else if(r.hasOwnProperty("<="))n.push("".concat(t,"=").concat(t,"_to").concat(r["<="]));else if(r.hasOwnProperty("=")){var i,a=[];for(i in r["="])r["="].hasOwnProperty(i)&&a.push(r["="][i]);n.push("".concat(t,"=").concat(t,"_").concat(a.join("-")))}}return n.join("&")},r=function(e){var t,n,r;null!==e&&(t=[],n=i(C(C(C({},e.state.disjunctiveFacetsRefinements),e.state.facetsRefinements),e.state.hierarchicalFacetsRefinements)),r=a(e.state.numericRefinements),""!==n&&t.push(n),""!==r&&t.push(r),n=t.join("&"),r="Query: ".concat(e.state.query||"",", ").concat(n),!0===p&&(r+=", Page: ".concat(e.state.page||0)),s!==r)&&(d(n,e.state,e.results),s=r)},c=!(s="")===(void 0===h||h)?!1:!0,t=function(){r(n)},u=function(){r(n)},{$$type:"ais.analytics",$$widgetType:"ais.analytics",init:function(){!0===m&&(document.addEventListener("click",t),window.addEventListener("beforeunload",u))},render:function(e){var t=e.results,e=e.state;!0===c?c=!1:(n={results:t,state:e},o&&clearTimeout(o),o=window.setTimeout(function(){return r(n)},f))},dispose:function(){!0===m&&(document.removeEventListener("click",t),window.removeEventListener("beforeunload",u))},getRenderState:function(e,t){return C(C({},e),{},{analytics:this.getWidgetRenderState(t)})},getWidgetRenderState:function(){return{widgetParams:e}}};throw new Error(ns("The `pushFunction` option is required."))},breadcrumb:function(e){var t,s,o,c,u,e=e||{},n=e.container,r=e.attributes,i=e.separator,a=e.rootPath,l=e.transformItems,d=e.templates,d=void 0===d?{}:d,e=e.cssClasses,e=void 0===e?{}:e;if(n)return t=P(n),n={root:I(ss(),e.root),noRefinementRoot:I(ss({modifierName:"noRefinement"}),e.noRefinementRoot),list:I(ss({descendantName:"list"}),e.list),item:I(ss({descendantName:"item"}),e.item),selectedItem:I(ss({descendantName:"item",modifierName:"selected"}),e.selectedItem),separator:I(ss({descendantName:"separator"}),e.separator),link:I(ss({descendantName:"link"}),e.link)},s=(e={containerNode:t,cssClasses:n,renderState:{},templates:d}).containerNode,o=e.cssClasses,c=e.renderState,u=e.templates,C(C({},Tn(function(e,t){var n=e.canRefine,r=e.createURL,i=e.instantSearchInstance,a=e.items,e=e.refine;t?c.templateProps=M({defaultTemplates:is,templatesConfig:i.templatesConfig,templates:u}):L(j(rs,{canRefine:n,cssClasses:o,createURL:r,items:a,refine:e,templateProps:c.templateProps}),s)},function(){return L(null,t)})({attributes:r,separator:i,rootPath:a,transformItems:l})),{},{$$widgetType:"ais.breadcrumb"});throw new Error(as("The `container` option is required."))},clearRefinements:function(e){var t,i,a,s,o,e=e||{},n=e.container,r=e.templates,r=void 0===r?{}:r,c=e.includedAttributes,u=e.excludedAttributes,l=e.transformItems,e=e.cssClasses,e=void 0===e?{}:e;if(n)return t=P(n),n={root:I(ls(),e.root),button:I(ls({descendantName:"button"}),e.button),disabledButton:I(ls({descendantName:"button",modifierName:"disabled"}),e.disabledButton)},i=(e={containerNode:t,cssClasses:n,renderState:{},templates:r}).containerNode,a=e.cssClasses,s=e.renderState,o=e.templates,C(C({},rt(function(e,t){var n=e.refine,r=e.canRefine,e=e.instantSearchInstance;t?s.templateProps=M({defaultTemplates:cs,templatesConfig:e.templatesConfig,templates:o}):L(j(os,{refine:n,cssClasses:a,hasRefinements:r,templateProps:s.templateProps}),i)},function(){return L(null,t)})({includedAttributes:c,excludedAttributes:u,transformItems:l})),{},{$$widgetType:"ais.clearRefinements"});throw new Error(us("The `container` option is required."))},configure:function(e){return C(C({},Dr(v)({searchParameters:e})),{},{$$widgetType:"ais.configure"})},currentRefinements:function(e){var t,e=e||{},n=e.container,r=e.includedAttributes,i=e.excludedAttributes,a=e.cssClasses,a=void 0===a?{}:a,e=e.transformItems;if(n)return t=P(n),n={root:I(fs(),a.root),noRefinementRoot:I(fs({modifierName:"noRefinement"}),a.noRefinementRoot),list:I(fs({descendantName:"list"}),a.list),item:I(fs({descendantName:"item"}),a.item),label:I(fs({descendantName:"label"}),a.label),category:I(fs({descendantName:"category"}),a.category),categoryLabel:I(fs({descendantName:"categoryLabel"}),a.categoryLabel),delete:I(fs({descendantName:"delete"}),a.delete)},C(C({},ot(Xa,function(){return L(null,t)})({container:t,cssClasses:n,includedAttributes:r,excludedAttributes:i,transformItems:e})),{},{$$widgetType:"ais.currentRefinements"});throw new Error(hs("The `container` option is required."))},EXPERIMENTAL_configureRelatedItems:function(e){return C(C({},Ur(v)(e)),{},{$$widgetType:"ais.configureRelatedItems"})},geoSearch:function(e){var t,n,r,i,a,u,e=e||{},s=e.initialZoom,s=void 0===s?1:s,o=e.initialPosition,o=void 0===o?{lat:0,lng:0}:o,c=e.templates,c=void 0===c?{}:c,l=e.cssClasses,l=void 0===l?{}:l,d=e.builtInMarker,d=void 0===d?{}:d,h=e.customHTMLMarker,f=e.enableRefine,f=void 0===f||f,m=e.enableClearMapRefinement,m=void 0===m||m,p=e.enableRefineControl,p=void 0===p||p,g=e.container,v=e.googleReference,e=E(e,Ss);if(!g)throw new Error(Ps("The `container` option is required."));if(v)return t=P(g),g={root:I(Ns(),l.root),tree:Ns({descendantName:"tree"}),map:I(Ns({descendantName:"map"}),l.map),control:I(Ns({descendantName:"control"}),l.control),label:I(Ns({descendantName:"label"}),l.label),selectedLabel:I(Ns({descendantName:"label",modifierName:"selected"}),l.selectedLabel),input:I(Ns({descendantName:"input"}),l.input),redo:I(Ns({descendantName:"redo"}),l.redo),disabledRedo:I(Ns({descendantName:"redo",modifierName:"disabled"}),l.disabledRedo),reset:I(Ns({descendantName:"reset"}),l.reset)},n=C(C({},ps),c),r=C(C({},{createOptions:function(){return{}},events:{}}),d),i=(Boolean(h)||Boolean(c.HTMLMarker))&&C(C({},{createOptions:function(){return{}},events:{}}),h),u=v,a=function(){D(c,u.maps.OverlayView);var o=U(c);function c(e){var t,n=e.__id,r=e.position,i=e.map,a=e.template,s=e.className,e=e.anchor,e=void 0===e?{x:0,y:0}:e;return A(this,c),T(b(t=o.call(this)),"__id",void 0),T(b(t),"anchor",void 0),T(b(t),"offset",void 0),T(b(t),"listeners",void 0),T(b(t),"latLng",void 0),T(b(t),"element",void 0),t.__id=n,t.anchor=e,t.listeners={},t.latLng=new u.maps.LatLng(r),t.element=document.createElement("div"),t.element.className=s,t.element.style.position="absolute","object"===y(a)?L(a,t.element):t.element.innerHTML=a,t.setMap(i),t}return W(c,[{key:"onAdd",value:function(){this.getPanes().overlayMouseTarget.appendChild(this.element);var e=this.element.getBoundingClientRect();this.offset={x:this.anchor.x+e.width/2,y:this.anchor.y+e.height},this.element.style.width="".concat(e.width,"px")}},{key:"draw",value:function(){var e=this.getProjection().fromLatLngToDivPixel(this.latLng);this.element.style.left="".concat(Math.round(e.x-this.offset.x),"px"),this.element.style.top="".concat(Math.round(e.y-this.offset.y),"px"),this.element.style.zIndex=String(parseInt(this.element.style.top,10))}},{key:"onRemove",value:function(){var t=this;this.element&&(this.element.parentNode.removeChild(this.element),Object.keys(this.listeners).forEach(function(e){t.element.removeEventListener(e,t.listeners[e])}),delete this.element,delete this.listeners)}},{key:"addListener",value:function(e,t){this.listeners[e]=t;var n=this.element;return n.addEventListener(e,t),{remove:function(){return n.removeEventListener(e,t)}}}},{key:"getPosition",value:function(){return this.latLng}}]),c}(),l=i?function(e){var t=e.item,e=E(e,ws);return new a(C(C(C({},i.createOptions(t)),e),{},{__id:t.objectID,position:t._geoloc,className:I(Ns({descendantName:"marker"})),template:$a({templateKey:"HTMLMarker",templates:n,data:t})}))}:function(e){var t=e.item,e=E(e,_s);return new v.maps.Marker(C(C(C({},r.createOptions(t)),e),{},{__id:t.objectID,position:t._geoloc}))},d=i||r,C(C({},Qn(ts,function(){return L(null,t)})(C(C({},e),{},{renderState:{},container:t,googleReference:v,initialZoom:s,initialPosition:o,templates:n,cssClasses:g,createMarker:l,markerOptions:d,enableRefine:f,enableClearMapRefinement:m,enableRefineControl:p}))),{},{$$widgetType:"ais.geoSearch"});throw new Error(Ps("The `googleReference` option is required."))},hierarchicalMenu:function(e){var t,c,u,l,d,h,e=e||{},n=e.container,r=e.attributes,i=e.separator,a=e.rootPath,s=e.showParentLevel,o=e.limit,f=e.showMore,f=void 0!==f&&f,m=e.showMoreLimit,p=e.sortBy,g=e.transformItems,v=e.templates,v=void 0===v?{}:v,e=e.cssClasses,e=void 0===e?{}:e;if(n)return t=P(n),n={root:I(S(),e.root),noRefinementRoot:I(S({modifierName:"noRefinement"}),e.noRefinementRoot),list:I(S({descendantName:"list"}),e.list),childList:I(S({descendantName:"list",modifierName:"child"}),e.childList),item:I(S({descendantName:"item"}),e.item),selectedItem:I(S({descendantName:"item",modifierName:"selected"}),e.selectedItem),parentItem:I(S({descendantName:"item",modifierName:"parent"}),e.parentItem),link:I(S({descendantName:"link"}),e.link),selectedItemLink:I(S({descendantName:"link",modifierName:"selected"}),e.selectedItemLink),label:I(S({descendantName:"label"}),e.label),count:I(S({descendantName:"count"}),e.count),showMore:I(S({descendantName:"showMore"}),e.showMore),disabledShowMore:I(S({descendantName:"showMore",modifierName:"disabled"}),e.disabledShowMore)},c=(e={cssClasses:n,containerNode:t,templates:v,showMore:f,renderState:{}}).cssClasses,u=e.containerNode,l=e.showMore,d=e.templates,h=e.renderState,C(C({},ft(function(e,t){var n=e.createURL,r=e.items,i=e.refine,a=e.instantSearchInstance,s=e.isShowingMore,o=e.toggleShowMore,e=e.canToggleShowMore;t?h.templateProps=M({defaultTemplates:Es,templatesConfig:a.templatesConfig,templates:d}):L(j(Cs,{createURL:n,cssClasses:c,facetValues:r,templateProps:h.templateProps,toggleRefinement:i,showMore:l,toggleShowMore:o,isShowingMore:s,canToggleShowMore:e}),u)},function(){return L(null,t)})({attributes:r,separator:i,rootPath:a,showParentLevel:s,limit:o,showMore:f,showMoreLimit:m,sortBy:p,transformItems:g})),{},{$$widgetType:"ais.hierarchicalMenu"});throw new Error(ks("The `container` option is required."))},hits:function(e){var t,o,c,u,l,e=e||{},n=e.container,r=e.escapeHTML,i=e.transformItems,a=e.templates,a=void 0===a?{}:a,e=e.cssClasses,e=void 0===e?{}:e;if(n)return t=P(n),n={root:I(Os(),e.root),emptyRoot:I(Os({modifierName:"empty"}),e.emptyRoot),list:I(Os({descendantName:"list"}),e.list),item:I(Os({descendantName:"item"}),e.item)},o=(e={containerNode:t,cssClasses:n,renderState:{},templates:a}).renderState,c=e.cssClasses,u=e.containerNode,l=e.templates,C(C({},Rt(mt)(function(e,t){var n=e.hits,r=e.results,i=e.instantSearchInstance,a=e.insights,s=e.bindEvent,e=e.sendEvent;t?o.templateProps=M({defaultTemplates:Ls,templatesConfig:i.templatesConfig,templates:l}):L(j(js,{cssClasses:c,hits:n,results:r,templateProps:o.templateProps,insights:a,sendEvent:e,bindEvent:s}),u)},function(){return L(null,t)})({escapeHTML:r,transformItems:i})),{},{$$widgetType:"ais.hits"});throw new Error(Ms("The `container` option is required."))},hitsPerPage:function(e){var t,r,i,e=e||{},n=e.container,a=e.items,s=e.cssClasses,s=void 0===s?{}:s,e=e.transformItems;if(n)return t=P(n),n={root:I(Ws(),s.root),select:I(Ws({descendantName:"select"}),s.select),option:I(Ws({descendantName:"option"}),s.option)},r=(s={containerNode:t,cssClasses:n}).containerNode,i=s.cssClasses,C(C({},Zt(function(e,t){var n=e.items,e=e.refine;t||(t=(Re(n,function(e){return e.isRefined})||{}).value,L(j("div",{className:i.root},j(Hs,{cssClasses:i,currentValue:t,options:n,setValue:e})),r))},function(){return L(null,t)})({items:a,transformItems:e})),{},{$$widgetType:"ais.hitsPerPage"});throw new Error(As("The `container` option is required."))},index:ea,infiniteHits:function(e){var t,d,h,f,m,p,e=e||{},n=e.container,r=e.escapeHTML,i=e.transformItems,a=e.templates,a=void 0===a?{}:a,s=e.cssClasses,s=void 0===s?{}:s,o=e.showPrevious,e=e.cache;if(n)return t=P(n),n={root:I(Us(),s.root),emptyRoot:I(Us({modifierName:"empty"}),s.emptyRoot),item:I(Us({descendantName:"item"}),s.item),list:I(Us({descendantName:"list"}),s.list),loadPrevious:I(Us({descendantName:"loadPrevious"}),s.loadPrevious),disabledLoadPrevious:I(Us({descendantName:"loadPrevious",modifierName:"disabled"}),s.disabledLoadPrevious),loadMore:I(Us({descendantName:"loadMore"}),s.loadMore),disabledLoadMore:I(Us({descendantName:"loadMore",modifierName:"disabled"}),s.disabledLoadMore)},d=(s={containerNode:t,cssClasses:n,templates:a,showPrevious:o,renderState:{}}).containerNode,h=s.cssClasses,f=s.renderState,m=s.templates,p=s.showPrevious,C(C({},Rt(an)(function(e,t){var n=e.hits,r=e.results,i=e.showMore,a=e.showPrevious,s=e.isFirstPage,o=e.isLastPage,c=e.instantSearchInstance,u=e.insights,l=e.bindEvent,e=e.sendEvent;t?f.templateProps=M({defaultTemplates:Bs,templatesConfig:c.templatesConfig,templates:m}):L(j(Ds,{cssClasses:h,hits:n,results:r,hasShowPrevious:p,showPrevious:a,showMore:i,templateProps:f.templateProps,isFirstPage:s,isLastPage:o,insights:u,sendEvent:e,bindEvent:l}),d)},function(){return L(null,t)})({escapeHTML:r,transformItems:i,showPrevious:o,cache:e})),{},{$$widgetType:"ais.infiniteHits"});throw new Error($s("The `container` option is required."))},menu:function(e){var t,c,u,l,d,h,e=e||{},n=e.container,r=e.attribute,i=e.sortBy,a=e.limit,s=e.showMore,o=e.showMoreLimit,f=e.cssClasses,f=void 0===f?{}:f,m=e.templates,m=void 0===m?{}:m,e=e.transformItems;if(n)return t=P(n),n={root:I(Vs(),f.root),noRefinementRoot:I(Vs({modifierName:"noRefinement"}),f.noRefinementRoot),list:I(Vs({descendantName:"list"}),f.list),item:I(Vs({descendantName:"item"}),f.item),selectedItem:I(Vs({descendantName:"item",modifierName:"selected"}),f.selectedItem),link:I(Vs({descendantName:"link"}),f.link),label:I(Vs({descendantName:"label"}),f.label),count:I(Vs({descendantName:"count"}),f.count),showMore:I(Vs({descendantName:"showMore"}),f.showMore),disabledShowMore:I(Vs({descendantName:"showMore",modifierName:"disabled"}),f.disabledShowMore)},c=(f={containerNode:t,cssClasses:n,renderState:{},templates:m,showMore:s}).containerNode,u=f.cssClasses,l=f.renderState,d=f.templates,h=f.showMore,C(C({},sn(function(e,t){var n=e.refine,r=e.items,i=e.createURL,a=e.instantSearchInstance,s=e.isShowingMore,o=e.toggleShowMore,e=e.canToggleShowMore;t?l.templateProps=M({defaultTemplates:qs,templatesConfig:a.templatesConfig,templates:d}):(t=r.map(function(e){return C(C({},e),{},{url:i(e.value)})}),L(j(Cs,{createURL:i,cssClasses:u,facetValues:t,showMore:h,templateProps:l.templateProps,toggleRefinement:n,toggleShowMore:o,isShowingMore:s,canToggleShowMore:e}),c))},function(){return L(null,t)})({attribute:r,limit:a,showMore:s,showMoreLimit:o,sortBy:i,transformItems:e})),{},{$$widgetType:"ais.menu"});throw new Error(Qs("The `container` option is required."))},menuSelect:function(e){var t,i,a,s,o,e=e||{},n=e.container,r=e.attribute,c=e.sortBy,c=void 0===c?["name:asc"]:c,u=e.limit,u=void 0===u?10:u,l=e.cssClasses,l=void 0===l?{}:l,d=e.templates,d=void 0===d?{}:d,e=e.transformItems;if(n)return t=P(n),n={root:I(Zs(),l.root),noRefinementRoot:I(Zs({modifierName:"noRefinement"}),l.noRefinementRoot),select:I(Zs({descendantName:"select"}),l.select),option:I(Zs({descendantName:"option"}),l.option)},i=(l={containerNode:t,cssClasses:n,renderState:{},templates:d}).containerNode,a=l.cssClasses,s=l.renderState,o=l.templates,C(C({},sn(function(e,t){var n=e.refine,r=e.items,e=e.instantSearchInstance;t?s.templateProps=M({defaultTemplates:zs,templatesConfig:e.templatesConfig,templates:o}):L(j(Ks,{cssClasses:a,items:r,refine:n,templateProps:s.templateProps}),i)},function(){return L(null,t)})({attribute:r,limit:u,sortBy:c,transformItems:e})),{},{$$widgetType:"ais.menuSelect"});throw new Error(Js("The `container` option is required."))},numericMenu:function(e){var t,a,s,o,c,u,e=e||{},n=e.container,r=e.attribute,i=e.items,l=e.cssClasses,l=void 0===l?{}:l,d=e.templates,d=void 0===d?{}:d,e=e.transformItems;if(n)return t=P(n),n={root:I(Gs(),l.root),noRefinementRoot:I(Gs({modifierName:"noRefinement"}),l.noRefinementRoot),list:I(Gs({descendantName:"list"}),l.list),item:I(Gs({descendantName:"item"}),l.item),selectedItem:I(Gs({descendantName:"item",modifierName:"selected"}),l.selectedItem),label:I(Gs({descendantName:"label"}),l.label),radio:I(Gs({descendantName:"radio"}),l.radio),labelText:I(Gs({descendantName:"labelText"}),l.labelText)},a=(l={containerNode:t,attribute:r,cssClasses:n,renderState:{},templates:d}).containerNode,s=l.attribute,o=l.cssClasses,c=l.renderState,u=l.templates,C(C({},on(function(e,t){var n=e.createURL,r=e.instantSearchInstance,i=e.refine,e=e.items;t?c.templateProps=M({defaultTemplates:Ys,templatesConfig:r.templatesConfig,templates:u}):L(j(Cs,{createURL:n,cssClasses:o,facetValues:e,templateProps:c.templateProps,toggleRefinement:i,attribute:s}),a)},function(){return L(null,t)})({attribute:r,items:i,transformItems:e})),{},{$$widgetType:"ais.numericMenu"});throw new Error(Xs("The `container` option is required."))},pagination:function(e){var t,u,l,d,h,f,m,p,g,e=e||{},n=e.container,r=e.templates,r=void 0===r?{}:r,i=e.cssClasses,i=void 0===i?{}:i,a=e.totalPages,s=e.padding,o=e.showFirst,o=void 0===o||o,c=e.showLast,c=void 0===c||c,v=e.showPrevious,v=void 0===v||v,y=e.showNext,y=void 0===y||y,e=e.scrollTo,e=void 0===e?"body":e;if(n)return t=P(n),e=!1!==(n=!0===e?"body":e)&&P(n),n={root:I(F(),i.root),noRefinementRoot:I(F({modifierName:"noRefinement"}),i.noRefinementRoot),list:I(F({descendantName:"list"}),i.list),item:I(F({descendantName:"item"}),i.item),firstPageItem:I(F({descendantName:"item",modifierName:"firstPage"}),i.firstPageItem),lastPageItem:I(F({descendantName:"item",modifierName:"lastPage"}),i.lastPageItem),previousPageItem:I(F({descendantName:"item",modifierName:"previousPage"}),i.previousPageItem),nextPageItem:I(F({descendantName:"item",modifierName:"nextPage"}),i.nextPageItem),pageItem:I(F({descendantName:"item",modifierName:"page"}),i.pageItem),selectedItem:I(F({descendantName:"item",modifierName:"selected"}),i.selectedItem),disabledItem:I(F({descendantName:"item",modifierName:"disabled"}),i.disabledItem),link:I(F({descendantName:"link"}),i.link)},i=C(C({},so),r),u=(r={containerNode:t,cssClasses:n,templates:i,showFirst:o,showLast:c,showPrevious:v,showNext:y,scrollToNode:e}).containerNode,l=r.cssClasses,d=r.templates,h=r.showFirst,f=r.showLast,m=r.showPrevious,p=r.showNext,g=r.scrollToNode,C(C({},gn(function(e,t){var n=e.createURL,r=e.currentRefinement,i=e.nbPages,a=e.pages,s=e.isFirstPage,o=e.isLastPage,c=e.refine;t||L(j(eo,{createURL:n,cssClasses:l,currentPage:r,templates:d,nbPages:i,pages:a,isFirstPage:s,isLastPage:o,setCurrentPage:function(e){c(e),!1!==g&&g.scrollIntoView()},showFirst:h,showLast:f,showPrevious:m,showNext:p}),u)},function(){return L(null,t)})({totalPages:a,padding:s})),{},{$$widgetType:"ais.pagination"});throw new Error(ao("The `container` option is required."))},panel:function(e){var e=e||{},t=e.templates,r=void 0===t?{}:t,t=e.hidden,d=void 0===t?function(){return!1}:t,t=e.collapsed,e=e.cssClasses,e=void 0===e?{}:e,h=document.createElement("div"),f=Boolean(t),m="function"==typeof t?t:function(){return!1},p={root:I(Io(),e.root),noRefinementRoot:I(Io({modifierName:"noRefinement"}),e.noRefinementRoot),collapsibleRoot:I(Io({modifierName:"collapsible"}),e.collapsibleRoot),collapsedRoot:I(Io({modifierName:"collapsed"}),e.collapsedRoot),collapseButton:I(Io({descendantName:"collapseButton"}),e.collapseButton),collapseIcon:I(Io({descendantName:"collapseIcon"}),e.collapseIcon),body:I(Io({descendantName:"body"}),e.body),header:I(Io({descendantName:"header"}),e.header),footer:I(Io({descendantName:"footer"}),e.footer)};return function(n){return function(e){var i,a,t,s,o,c,u,l;if(e&&e.container)return i=P(e.container),t={containerNode:i,bodyContainerNode:h,cssClasses:p,templates:C(C({},{collapseButtonText:function(e){e=e.collapsed;return'')}}),r)},s=t.containerNode,o=t.bodyContainerNode,c=t.cssClasses,u=t.templates,a=function(e){var t=e.options,n=e.hidden,r=e.collapsible,e=e.collapsed;L(j(No,{cssClasses:c,hidden:n,collapsible:r,isCollapsed:e,templates:u,data:t,bodyElement:o}),s)},l=n(C(C({},e),{},{container:h})),C(C({},l),{},{init:function(){for(var e=arguments.length,t=new Array(e),n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n":">",'"':""","'":"'"},Z=/[&<>"']/g,Y=RegExp(Z.source);var X={"&":"&","<":"<",">":">",""":'"',"'":"'"},G=/&(amp|quot|lt|gt|#39);/g,ee=RegExp(G.source);function te(e){return e&&ee.test(e)?e.replace(G,function(e){return X[e]}):e}function ne(e){if("object"===y(t=e)&&null!==t&&"[object Object]"===(null===(t=e)?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t))){var t;if(null===Object.getPrototypeOf(e))return 1;for(var n=e;null!==Object.getPrototypeOf(n);)n=Object.getPrototypeOf(n);return Object.getPrototypeOf(e)===n}}var re={highlightPreTag:"__ais-highlight__",highlightPostTag:"__/ais-highlight__"},u={highlightPreTag:"",highlightPostTag:""};function ie(e){return((e=e)&&Y.test(e)?e.replace(Z,function(e){return J[e]}):e).replace(new RegExp(re.highlightPreTag,"g"),u.highlightPreTag).replace(new RegExp(re.highlightPostTag,"g"),u.highlightPostTag)}function ae(n){return ne(n)&&"string"!=typeof n.value?Object.keys(n).reduce(function(e,t){return C(C({},e),{},T({},t,ae(n[t])))},{}):Array.isArray(n)?n.map(ae):C(C({},n),{},{value:ie(n.value)})}function se(e){return void 0===e.__escaped&&((e=e.map(function(e){e=m({},(function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(e),e));return e._highlightResult&&(e._highlightResult=ae(e._highlightResult)),e._snippetResult&&(e._snippetResult=ae(e._snippetResult)),e})).__escaped=!0),e}function oe(e){var t=u.highlightPreTag,n=u.highlightPostTag;return e.map(function(e){return e.isHighlighted?t+e.value+n:e.value}).join("")}function ce(e){var d=e.instantSearchInstance,h=e.helper,f=e.attribute,m=e.widgetType;return function(){for(var e=arguments.length,t=new Array(e),n=0;n= 4.8.0 required."));u=ge(t.findAnswers,p),y(C(C({},this.getWidgetRenderState(e)),{},{instantSearchInstance:e.instantSearchInstance}),!0)},render:function(t){var n=this,e=t.state.query;e?(s=[],o=!0,y(C(C({},this.getWidgetRenderState(t)),{},{instantSearchInstance:t.instantSearchInstance}),!1),r(u(e,l,C(C({},v),{},{nbHits:f,attributesForPrediction:d}))).then(function(e){e&&(g&&0=":return"≥";case"<=":return"≤";default:return e}}(e.operator)," ").concat(e.name):e.name,t={attribute:e.attribute,type:e.type,value:t,label:n};return void 0!==e.operator&&(t.operator=e.operator),void 0!==e.count&&(t.count=e.count),void 0!==e.exhaustive&&(t.exhaustive=e.exhaustive),t}function ft(R){var n=1 ":t,t=e.rootPath,r=void 0===t?null:t,t=e.showParentLevel,i=void 0===t||t,t=e.limit,a=void 0===t?10:t,t=e.showMore,d=void 0!==t&&t,t=e.showMoreLimit,s=void 0===t?20:t,t=e.sortBy,h=void 0===t?vt:t,t=e.transformItems,f=void 0===t?function(e){return e}:t;if(!u||!Array.isArray(u)||0===u.length)throw new Error(gt("The `attributes` option expects an array of strings."));if(!0===d&&s<=a)throw new Error(gt("The `showMoreLimit` option must be greater than `limit`."));var m,p,g=k(u,1)[0],o=function(){};function v(){o()}var y=!1;function b(){return y?s:a}return{$$type:"ais.hierarchicalMenu",init:function(e){var t=e.instantSearchInstance;R(C(C({},this.getWidgetRenderState(e)),{},{instantSearchInstance:t}),!0)},render:function(e){var t,n,r=e.instantSearchInstance;t=e,o=function(){y=!y,n.render(t)},R(C(C({},(n=this).getWidgetRenderState(e)),{},{instantSearchInstance:r}),!1)},dispose:function(e){e=e.state;return n(),e.removeHierarchicalFacet(g).setQueryParameter("maxValuesPerFacet",void 0)},getRenderState:function(e,t){return C(C({},e),{},{hierarchicalMenu:C(C({},e.hierarchicalMenu),{},T({},g,this.getWidgetRenderState(t)))})},getWidgetRenderState:function(e){var t,n=e.results,r=e.state,i=e.createURL,a=e.instantSearchInstance,s=e.helper,e=[],o=!1;return m=m||ce({instantSearchInstance:a,helper:s,attribute:function(e){e=e.split(l).length-1;return u[e]},widgetType:this.$$type}),p=p||function(e){m("click:internal",e),s.toggleFacetRefinement(g,e).search()},n&&(a=(a=n.getFacetValues(g,{sortBy:h,facetOrdering:h===vt}))&&!Array.isArray(a)&&a.data?a.data:[],t=(r.maxValuesPerFacet||0)>b()?a.length<=b():a.lengthR()),o=g(e.slice(0,R()).map(function(e){var t=e.name,n=e.escapedValue;e.path;return C(C({},E(e,un)),{},{label:t,value:n})}),{results:r})),{items:o,createURL:d,refine:h,sendEvent:l,canRefine:0="]&&t[">="][0]||"",t=t["<="]&&t["<="][0]||"",""===n&&""===t?e:C(C({},e),{},{numericMenu:C(C({},e.numericMenu),{},T({},m,"".concat(n,":").concat(t)))}))},getWidgetSearchParameters:function(e,t){var n,t=t.uiState,t=t.numericMenu&&t.numericMenu[m],e=e.clearRefinements(m);return t?-1===t.indexOf(":")?e.addNumericRefinement(m,"=",Number(t)):(n=(t=k(t.split(":").map(parseFloat),2))[0],t=t[1],n=R(n)?e.addNumericRefinement(m,">=",n):e,R(t)?n.addNumericRefinement(m,"<=",t):n):e.setQueryParameters({numericRefinements:C(C({},e.numericRefinements),{},T({},m,{}))})},getRenderState:function(e,t){return C(C({},e),{},{numericMenu:C(C({},e.numericMenu),{},T({},m,this.getWidgetRenderState(t)))})},getWidgetRenderState:function(e){var t,r,n,i=e.results,a=e.state,s=e.instantSearchInstance,o=e.helper,c=e.createURL,e=(f.refine||(f.refine=function(e){var t=mn(o.state,m,e);f.sendEvent("click:internal",e),o.setState(t).search()}),f.createURL||(f.createURL=function(t){return function(e){return c(mn(t,m,e))}}),f.sendEvent||(f.sendEvent=(t={instantSearchInstance:s}.instantSearchInstance,function(){1===arguments.length&&t.sendEventToInsights(arguments.length<=0?void 0:arguments[0])})),!i||0===i.nbHits),s=(r=a,p.map(function(e){var t=e.start,n=e.end,e=e.label;return{label:e,value:encodeURI(JSON.stringify({start:t,end:n})),isRefined:fn(r,m,{start:t,end:n,label:e})}})),u=!0,l=function(e,t){var n,r,i,a,s="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(s)return r=!(n=!0),{s:function(){s=s.call(e)},n:function(){var e=s.next();return n=e.done,e},e:function(e){r=!0,i=e},f:function(){try{n||null==s.return||s.return()}finally{if(r)throw i}}};if(Array.isArray(e)||(s=q(e))||t&&e&&"number"==typeof e.length)return s&&(e=s),a=0,{s:t=function(){},n:function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:t};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(s);try{for(l.s();!(n=l.n()).done;){var d=n.value;if(d.isRefined&&"{}"!==decodeURI(d.value)){u=!1;break}}}catch(e){l.e(e)}finally{l.f()}return{createURL:f.createURL(a),items:g(s,{results:i}),hasNoResults:e,canRefine:!(e&&u),refine:f.refine,sendEvent:f.sendEvent,widgetParams:h}}};throw new Error(hn("The `items` option expects an array of objects."))}}var cn=Rt(an),un=["name","escapedValue","path"],ln=l({name:"menu",connector:!0}),dn=["isRefined","name:asc"],hn=l({name:"numeric-menu",connector:!0});function fn(e,t,n){var r=e.getNumericRefinements(t);return void 0!==n.start&&void 0!==n.end?n.start===n.end?pn(r,"=",n.start):pn(r,">=",n.start)&&pn(r,"<=",n.end):void 0!==n.start?pn(r,">=",n.start):void 0!==n.end?pn(r,"<=",n.end):void 0===n.start&&void 0===n.end&&Object.keys(r).every(function(e){return 0===(r[e]||[]).length})}function mn(e,t,n){var n=JSON.parse(decodeURI(n)),r=e.getNumericRefinements(t);if(void 0===n.start&&void 0===n.end)return e.removeNumericRefinement(t);if(fn(e,t,n)||(e=e.removeNumericRefinement(t)),void 0!==n.start&&void 0!==n.end){if(n.start>n.end)throw new Error("option.start should be > to option.end");if(n.start===n.end)return e=pn(r,"=",n.start)?e.removeNumericRefinement(t,"=",n.start):e.addNumericRefinement(t,"=",n.start)}return void 0!==n.start&&(e=(e=pn(r,">=",n.start)?e.removeNumericRefinement(t,">=",n.start):e).addNumericRefinement(t,">=",n.start)),"number"==typeof(e=void 0!==n.end?(e=pn(r,"<=",n.end)?e.removeNumericRefinement(t,"<=",n.end):e).addNumericRefinement(t,"<=",n.end):e).page&&(e.page=0),e}function pn(e,t,n){return void 0!==e[t]&&e[t].includes(n)}function gn(n){var t=1=")||[],1)[0],s=k(e.getNumericRefinement(u,"<=")||[],1)[0],o=void 0===n||""===n,c=void 0===r||""===r,n=Rn({min:o?void 0:parseFloat(n),max:c?void 0:parseFloat(r),precision:h}),r=n.min,n=n.max,o=R(l)||i!==r?R(l)&&o?l:r:void 0,r=R(d)||t!==n?R(d)&&c?d:n:void 0,c=void 0===o,n=R(i)&&i<=o,c=c||R(o)&&(!R(i)||n),i=void 0===r,n=R(r)&&r<=t,i=i||R(r)&&(!R(t)||n);return(a!==o||s!==r)&&c&&i?(e=e.removeNumericRefinement(u),R(o)&&(e=e.addNumericRefinement(u,">=",o)),(e=R(r)?e.addNumericRefinement(u,"<=",r):e).resetPage()):null};function f(n,r){return function(){var e=k(0=")||[],1)[0],i=k(i.getNumericRefinement(u,"<=")||[],1)[0],[R(s)?s:-1/0,R(i)?i:1/0]),i=f(r,n?a:{min:void 0,max:void 0});return{refine:i,canRefine:a.min!==a.max,format:c,range:a,sendEvent:(t=e,function(){1===arguments.length&&t.sendEventToInsights(arguments.length<=0?void 0:arguments[0])}),widgetParams:C(C({},o),{},{precision:h}),start:s}},dispose:function(e){e=e.state;return r(),e.removeDisjunctiveFacet(u).removeNumericRefinement(u)},getWidgetUiState:function(e,t){var t=t.searchParameters.getNumericRefinements(u),n=t[">="],n=void 0===n?[]:n,t=t["<="],t=void 0===t?[]:t;return 0===n.length&&0===t.length?e:C(C({},e),{},{range:C(C({},e.range),{},T({},u,"".concat(n,":").concat(t)))})},getWidgetSearchParameters:function(e,t){var n,t=t.uiState,e=e.addDisjunctiveFacet(u).setQueryParameters({numericRefinements:C(C({},e.numericRefinements),{},T({},u,{}))}),t=(R(l)&&(e=e.addNumericRefinement(u,">=",l)),R(d)&&(e=e.addNumericRefinement(u,"<=",d)),t.range&&t.range[u]);return e=t&&-1!==t.indexOf(":")&&(n=(t=k(t.split(":").map(parseFloat),2))[0],t=t[1],R(n)&&(!R(l)||l=")).addNumericRefinement(u,">=",n)),R(t))&&(!R(d)||tf,l=m&&!_;return{createURL:function(e){return a(i.resetPage().toggleFacetRefinement(h,e))},items:c,refine:b,searchForItems:s,isFromSearch:!1,canRefine:0="])&&t.length)return e[">="][0]},b=function(e){return function(e,t){v("click:internal",t),e.setState(r(e.state,t)).search()}.bind(null,e)},R=function(e){var t=e.state,n=e.createURL;return function(e){return n(r(t,e))}},{$$type:Hn,init:function(e){var t=e.instantSearchInstance;n(C(C({},this.getWidgetRenderState(e)),{},{instantSearchInstance:t}),!0)},render:function(e){var t=e.instantSearchInstance;n(C(C({},this.getWidgetRenderState(e)),{},{instantSearchInstance:t}),!1)},getRenderState:function(e,t){return C(C({},e),{},{ratingMenu:C(C({},e.ratingMenu),{},T({},S,this.getWidgetRenderState(t)))})},getWidgetRenderState:function(e){var o,c,u,l,t,n=e.helper,r=e.results,i=e.state,a=e.instantSearchInstance,e=e.createURL,s=[],d=(v||(o=(a={instantSearchInstance:a,helper:n,getRefinedStar:function(){return y(n.state)},attribute:S}).instantSearchInstance,c=a.helper,u=a.getRefinedStar,l=a.attribute,v=function(){for(var e,t,n,r,i=arguments.length,a=new Array(i),s=0;s=").concat(e)]},attribute:l}))}),!1),h=0,f=null==r?void 0:r.getFacetValues(S,{});if(r&&f){f.length,t=0,f.forEach(function(e){e=k(e.name.split("."),2)[1];t=Math.max(t,(void 0===e?"":e).length)});for(var m=y(i),p=1;p<_;p+=1)(function(n){var e=m===n,t=(d=d||e,f.filter(function(e){return Number(e.name)>=n&&Number(e.name)<=_}).map(function(e){return e.count}).reduce(function(e,t){return e+t},0));if(h+=t,m&&!e&&0===t)return;var r=w(new Array(Math.floor(+_))).map(function(e,t){return+t=",t):e.setQueryParameters({numericRefinements:C(C({},e.numericRefinements),{},T({},S,{}))})}};throw new Error(On("The `attribute` option is required."));function r(e,t){var n=y(e)===Number(t),e=e.resetPage().removeNumericRefinement(S);return n?e:e.addNumericRefinement(S,"<=",_).addNumericRefinement(S,">=",Number(t))}}}function In(r){var e=1 ":r,r=e.rootPath,s=void 0===r?null:r,r=e.transformItems,o=void 0===r?function(e){return e}:r;if(t&&Array.isArray(t)&&0!==t.length)return n=k(t,1)[0],{$$type:"ais.breadcrumb",init:function(e){u(C(C({},this.getWidgetRenderState(e)),{},{instantSearchInstance:e.instantSearchInstance}),!0)},render:function(e){u(C(C({},this.getWidgetRenderState(e)),{},{instantSearchInstance:e.instantSearchInstance}),!1)},dispose:function(){l()},getRenderState:function(e,t){return C(C({},e),{},{breadcrumb:C(C({},e.breadcrumb),{},T({},n,this.getWidgetRenderState(t)))})},getWidgetRenderState:function(e){var t=e.helper,n=e.createURL,r=e.results,e=e.state;var i,e=r&&0!==e.hierarchicalFacets.length?(e=k(e.hierarchicalFacets,1)[0].name,e=(e=r.getFacetValues(e,{}))&&!Array.isArray(e)&&e.data?e.data:[],o((i=function n(e){return e.reduce(function(e,t){return e=t.isRefined&&(e.push({label:t.name,value:t.escapedValue}),Array.isArray(t.data))?e.concat(n(t.data)):e},[])}(e)).map(function(e,t){return{label:e.label,value:t+1===i.length?null:i[t+1].value}}),{results:r})):[];return d.createURL||(d.createURL=function(e){return n(c(t.state,e))}),d.refine||(d.refine=function(e){t.setState(c(t.state,e)).search()}),{canRefine:0 "},_getHierarchicalRootPath:function(e){return e.rootPath||null},_getHierarchicalShowParentLevel:function(e){return"boolean"!=typeof e.showParentLevel||e.showParentLevel},getHierarchicalFacetByName:function(t){return p(this.hierarchicalFacets,function(e){return e.name===t})},getHierarchicalFacetBreadcrumb:function(e){var t;return this.isHierarchicalFacet(e)&&(t=this.getHierarchicalRefinement(e)[0])?(e=this._getHierarchicalFacetSeparator(this.getHierarchicalFacetByName(e)),t.split(e).map(function(e){return e.trim()})):[]},toString:function(){return JSON.stringify(this,null,2)}};var ar=s;function sr(e){return Array.isArray(e)?e.filter(Boolean):[]}function or(e,t){if(Array.isArray(e))for(var n=0;n=i.length)&&"desc"===i[n]?-r:r}return e.index-t.index}),e.map(function(e){return e.value})):[]};var lr=function(e){return"string"!=typeof e?e:String(e).replace(/^-/,"\\-")},e=function(e){return"string"!=typeof e?e:e.replace(/^\\-/,"-")},dr=function(m){return function(e,t){function n(e,s,t){var n,o=e;if(0t&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"==typeof console.trace)&&console.trace(),this;throw TypeError("listener must be a function")},r.prototype.once=function(e,t){var n;if(Pr(t))return n=!1,r.listener=t,this.on(e,r),this;throw TypeError("listener must be a function");function r(){this.removeListener(e,r),n||(n=!0,t.apply(this,arguments))}},r.prototype.removeListener=function(e,t){var n,r,i,a;if(!Pr(t))throw TypeError("listener must be a function");if(this._events&&this._events[e])if(i=(n=this._events[e]).length,r=-1,n===t||Pr(n.listener)&&n.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(Nr(n)){for(a=i;0")}function Ur(n,r){return function(e){var t,e=e||{},a=e.hit,s=e.matchingPatterns,e=e.transformSearchParameters,e=void 0===e?function(e){return e}:e;if(!a)throw new Error(Br("The `hit` option is required."));if(s)return t=Object.keys(s).reduce(function(e,t){var n=s[t],r=Ne(a,t),i=n.score;return Array.isArray(r)?[].concat(w(e),[r.map(function(e){return $r({attributeName:t,attributeValue:e,attributeScore:i})})]):"string"==typeof r?[].concat(w(e),[$r({attributeName:t,attributeValue:r,attributeScore:i})]):e},[]),e=C({},e(new Hr.SearchParameters({sumOrFiltersScores:!0,facetFilters:["objectID:-".concat(a.objectID)],optionalFilters:t}))),C(C({},Dr(n,r)({searchParameters:e})),{},{$$type:"ais.configureRelatedItems"});throw new Error(Br("The `matchingPatterns` option is required."))}}var qr=l({name:"autocomplete",connector:!0}),Qr=l({name:"query-rules",connector:!0});function Vr(e){var i,a,s,t=this.helper,n=this.initialRuleContexts,r=this.trackedFilters,o=this.transformRuleContexts,e=e.state,c=e.ruleContexts||[],r=(i=(r={helper:t,sharedHelperState:e,trackedFilters:r}).helper,a=r.sharedHelperState,s=r.trackedFilters,Object.keys(s).reduce(function(e,t){var n=Ie(i.lastResults||{},a,!0).filter(function(e){return e.attribute===t}).map(function(e){return e.numericValue||e.name}),r=(0,s[t])(n);return[].concat(w(e),w(n.filter(function(e){return r.includes(e)}).map(function(e){return"ais-".concat(t,"-").concat(e).replace(/[^a-z0-9-_]+/gi,"_")})))},[])),o=o([].concat(w(n),w(r))).slice(0,10);ke(c,o)||t.overrideStateWithoutTriggeringChangeEvent(C(C({},e),{},{ruleContexts:o}))}function Kr(l){var r=1')).replace(new RegExp(u.highlightPostTag,"g"),"".concat(n,">"))}var ei=i("ReverseHighlight");function ti(e){var t=e.attribute,n=e.highlightedTagName,n=void 0===n?"mark":n,r=e.hit,e=e.cssClasses,e=void 0===e?{}:e,r=(Ne(r._highlightResult,t)||{}).value,t=void 0===r?"":r,r=ei({descendantName:"highlighted"})+(e.highlighted?" ".concat(e.highlighted):"");return oe(Xe(we(t))).replace(new RegExp(u.highlightPreTag,"g"),"<".concat(n,' class="').concat(r,'">')).replace(new RegExp(u.highlightPostTag,"g"),"".concat(n,">"))}var ni=i("Snippet");function ri(e){var t=e.attribute,n=e.highlightedTagName,n=void 0===n?"mark":n,r=e.hit,e=e.cssClasses,e=void 0===e?{}:e,r=(Ne(r._snippetResult,t)||{}).value,t=void 0===r?"":r,r=ni({descendantName:"highlighted"})+(e.highlighted?" ".concat(e.highlighted):"");return t.replace(new RegExp(u.highlightPreTag,"g"),"<".concat(n,' class="').concat(r,'">')).replace(new RegExp(u.highlightPostTag,"g"),"".concat(n,">"))}var ii=i("ReverseSnippet");function ai(e){var t=e.attribute,n=e.highlightedTagName,n=void 0===n?"mark":n,r=e.hit,e=e.cssClasses,e=void 0===e?{}:e,r=(Ne(r._snippetResult,t)||{}).value,t=void 0===r?"":r,r=ii({descendantName:"highlighted"})+(e.highlighted?" ".concat(e.highlighted):"");return oe(Xe(we(t))).replace(new RegExp(u.highlightPreTag,"g"),"<".concat(n,' class="').concat(r,'">')).replace(new RegExp(u.highlightPostTag,"g"),"".concat(n,">"))}var si="_ALGOLIA";function oi(){var e=si;if("object"===("undefined"==typeof document?"undefined":y(document))&&"string"==typeof document.cookie)for(var t="".concat(e,"="),n=document.cookie.split(";"),r=0;r>6]+Ni[128|63&c]:c<55296||57344<=c?s+=Ni[224|c>>12]+Ni[128|c>>6&63]+Ni[128|63&c]:(o+=1,c=65536+((1023&c)<<10|1023&a.charCodeAt(o)),s+=Ni[240|c>>18]+Ni[128|c>>12&63]+Ni[128|c>>6&63]+Ni[128|63&c])}return s},isBuffer:function(e){return!(!e||"object"!=typeof e||!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e)))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(Pi(e)){for(var n=[],r=0;r":7,"=":8,_v:9,"{":10,"&":11,_t:12},S.scan=function(e,t){var n,r,i,a,s,o=e.length,c=0,u=null,l="",d=[],h=!1,f=0,m=0,p="{{",g="}}";function v(){0"==n.tag&&(n.indent=d[r].text.toString()),d.splice(r,1));else t||d.push({tag:"\n"});h=!1,m=d.length}for(t&&(t=t.split(" "),p=t[0],g=t[1]),f=0;f":a,"<":function(e,t){var n={partials:{},code:"",subs:{},inPartial:!0},e=(S.walk(e.nodes,n),t.partials[a(e,t)]);e.subs=n.subs,e.partials=n.partials},$:function(e,t){var n={subs:{},code:"",partials:t.partials,prefix:e.n};S.walk(e.nodes,n),t.subs[e.n]=n.code,t.inPartial||(t.code+='t.sub("'+i(e.n)+'",c,p,i);')},"\n":function(e,t){t.code+=o('"\\n"'+(e.last?"":" + i"))},_v:function(e,t){t.code+="t.b(t.v(t."+n(e.n)+'("'+i(e.n)+'",c,p,0)));'},_t:function(e,t){t.code+=o('"'+i(e.text)+'"')},"{":s,"&":s},S.walk=function(e,t){for(var n,r=0,i=e.length;r/g,a=/\'/g,o=/\"/g,c=/[&<>\"\']/,d=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}}),da=(e.Template=la.Template,e.template=e.Template,e),ha=function(e,t,n,r){t[0]=0;for(var i=1;i"===t?(r=1,""):t+i[0]:a?t===a?a="":i+=t:'"'===t||"'"===t?a=t:">"===t?(o(),r=1):r&&("="===t?(r=5,n=i,i=""):"/"===t&&(r<5||">"===e[c][u+1])?(o(),3===r&&(s=s[0]),(s=(r=s)[0]).push(2,0,r),r=0):" "===t||"\t"===t||"\n"===t||"\r"===t?(o(),r=2):i+=t),3===r&&"!--"===i&&(r=4,s=s[0])}return o(),s}(e)),t),arguments,[])).length?t:t[0]}.bind(j),pa=ca(ua(function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t"}},as=l({name:"breadcrumb"}),ss=i("Breadcrumb"),os=function(e){var t=e.hasRefinements,n=e.refine,r=e.cssClasses,e=e.templateProps;return j("div",{className:r.root},j(g,m({},e,{templateKey:"resetLabel",rootTagName:"button",rootProps:{className:I(r.button,!t&&r.disabledButton),onClick:n,disabled:!t},data:{hasRefinements:t}})))},cs={resetLabel:function(){return"Clear refinements"}},us=l({name:"clear-refinements"}),ls=i("ClearRefinements"),ds=function(e){var t=e.items,a=e.cssClasses,e=e.canRefine;return j("div",{className:I(a.root,!e&&a.noRefinementRoot)},j("ul",{className:a.list},t.map(function(i,e){return j("li",{key:"".concat(i.indexName,"-").concat(i.attribute,"-").concat(e),className:a.item},j("span",{className:a.label},(e=i.label).toString().charAt(0).toUpperCase()+e.toString().slice(1),":"),i.refinements.map(function(e){return j("span",{key:(n=e.attribute,r=e.value,[n,e.type,r,e.operator].map(function(e){return e}).filter(Boolean).join(":")),className:a.category},j("span",{className:a.categoryLabel},"query"===e.attribute?j("q",null,e.label):e.label),j("button",{className:a.delete,onClick:(t=i.refine.bind(null,e),function(e){je(e)||(e.preventDefault(),t())})},"✕"));var t,n,r}))})))},hs=l({name:"current-refinements"}),fs=i("CurrentRefinements"),ms=j("p",null,"Your custom HTML Marker"),ps={HTMLMarker:function(){return ms},reset:function(){return"Clear the map refinement"},toggle:function(){return"Search as I move the map"},redo:function(){return"Redo search here"}},gs=function(e){var t=e.cssClasses,n=e.enableRefine,r=e.enableRefineControl,i=e.enableClearMapRefinement,a=e.isRefineOnMapMove,s=e.isRefinedWithMap,o=e.hasMapMoveSinceLastRefine,c=e.onRefineToggle,u=e.onRefineClick,l=e.onClearClick,e=e.templateProps;return j(kt,null,n&&j("div",null,r&&j("div",{className:t.control},a||!o?j(es,{classNameLabel:I(t.label,a&&t.selectedLabel),classNameInput:t.input,checked:a,onToggle:c},j(g,m({},e,{templateKey:"toggle",rootTagName:"span"}))):j(Ga,{className:t.redo,disabled:!o,onClick:u},j(g,m({},e,{templateKey:"redo",rootTagName:"span"})))),!r&&!a&&j("div",{className:t.control},j(Ga,{className:I(t.redo,!o&&t.disabledRedo),disabled:!o,onClick:u},j(g,m({},e,{templateKey:"redo",rootTagName:"span"})))),i&&s&&j(Ga,{className:t.reset,onClick:l},j(g,m({},e,{templateKey:"reset",rootTagName:"span"})))))},vs=function(e){var t=e.refine,e=e.mapInstance;return t({northEast:e.getBounds().getNorthEast().toJSON(),southWest:e.getBounds().getSouthWest().toJSON()})},ys=function(e,r){return e.reduce(function(e,t){var e=k(e,2),n=e[0],e=e[1];return r.includes(t.__id)?[n.concat(t),e]:[n,e.concat(t)]},[[],[]])},bs=function(e,t){t=t.reduce(function(e,t){return e.extend(t.getPosition())},new e.maps.LatLngBounds);return{northEast:t.getNorthEast().toJSON(),southWest:t.getSouthWest().toJSON()}},Rs=function(e,t){e.isUserInteraction=!1,t(),e.isUserInteraction=!0},Ss=["initialZoom","initialPosition","templates","cssClasses","builtInMarker","customHTMLMarker","enableRefine","enableClearMapRefinement","enableRefineControl","container","googleReference"],_s=["item"],ws=["item"],Ps=l({name:"geo-search"}),Ns=i("GeoSearch"),la={query:"",showSubmit:!0,showReset:!0,showLoadingIndicator:!0,autofocus:!1,searchAsYouType:!0,isSearchStalled:!1,disabled:!1,onChange:v,onSubmit:v,onReset:v,refine:v},xs=function(){D(i,jt);var r=U(i);function i(){var a;A(this,i);for(var e=arguments.length,t=new Array(e),n=0;n=t.__.length&&t.__.push({__V:uo}),t.__[e]}function vo(e){oo=1;var a,t=Po,n=void 0,s=go(no++,2);return s.t=t,s.__c||(s.__=[n?n(e):Po(void 0,e),function(e){var t=(s.__N||s.__)[0],e=s.t(t,e);t!==e&&(s.__N=[e,s.__[1]],s.__c.setState({}))}],(s.__c=_).u)||(_.u=!0,a=_.shouldComponentUpdate,_.shouldComponentUpdate=function(e,t,n){var r,i;return!s.__c.__H||((r=s.__c.__H.__.filter(function(e){return e.__c})).every(function(e){return!e.__N})||(i=!1,r.forEach(function(e){var t;e.__N&&(t=e.__[0],e.__=e.__N,e.__N=void 0,t!==e.__[0])&&(i=!0)}),!!i))&&(!a||a.call(this,e,t,n))}),s.__N||s.__}function yo(e){return oo=5,t=function(){return{current:e}},n=[],wo((r=go(no++,7)).__H,n)?(r.__V=t(),r.i=n,r.__h=t,r.__V):r.__;var t,n,r}function bo(){for(var t;t=co.shift();)if(t.__P&&t.__H)try{t.__H.__h.forEach(So),t.__H.__h.forEach(_o),t.__H.__h=[]}catch(e){t.__H.__h=[],N.__e(e,t.__v)}}N.__b=function(e){"function"!=typeof e.type||e.o||e.type===kt?e.o||(e.o=e.__&&e.__.o?e.__.o:""):e.o=(e.__&&e.__.o?e.__.o:"")+(e.__&&e.__.__k?e.__.__k.indexOf(e):0),_=null,lo&&lo(e)},N.__r=function(e){ho&&ho(e),no=0;e=(_=e.__c).__H;e&&(ro===_?(e.__h=[],_.__h=[],e.__.forEach(function(e){e.__N&&(e.__=e.__N),e.__V=uo,e.__N=e.i=void 0})):(e.__h.forEach(So),e.__h.forEach(_o),e.__h=[])),ro=_},N.diffed=function(e){fo&&fo(e);e=e.__c;e&&e.__H&&(!e.__H.__h.length||1!==co.push(e)&&io===N.requestAnimationFrame||((io=N.requestAnimationFrame)||function(e){function t(){clearTimeout(r),Ro&&cancelAnimationFrame(n),setTimeout(e)}var n,r=setTimeout(t,100);Ro&&(n=requestAnimationFrame(t))})(bo),e.__H.__.forEach(function(e){e.i&&(e.__H=e.i),e.__V!==uo&&(e.__=e.__V),e.i=void 0,e.__V=uo})),ro=_=null},N.__c=function(e,n){n.some(function(t){try{t.__h.forEach(So),t.__h=t.__h.filter(function(e){return!e.__||_o(e)})}catch(e){n.some(function(e){e.__h&&(e.__h=[])}),n=[],N.__e(e,t.__v)}}),mo&&mo(e,n)},N.unmount=function(e){po&&po(e);var t,e=e.__c;e&&e.__H&&(e.__H.__.forEach(function(e){try{So(e)}catch(e){t=e}}),e.__H=void 0,t)&&N.__e(t,e.__v)};var Ro="function"==typeof requestAnimationFrame;function So(e){var t=_,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),_=t}function _o(e){var t=_;e.__c=e.__(),_=t}function wo(n,e){return!n||n.length!==e.length||e.some(function(e,t){return e!==n[t]})}function Po(e,t){return"function"==typeof t?t(e):t}function No(t){var e,n,r=k(vo(t.isCollapsed),2),i=r[0],a=r[1],r=k(vo(!1),2),s=r[0],o=r[1],c=yo(null);return r=function(){var e=c.current;if(e)return e.appendChild(t.bodyElement),function(){e.removeChild(t.bodyElement)}},e=[c,t.bodyElement],n=go(no++,3),!N.__s&&wo(n.__H,e)&&(n.__=r,n.i=e,_.__H.__h.push(n)),s||t.isCollapsed===i||a(t.isCollapsed),j("div",{className:I(t.cssClasses.root,t.hidden&&t.cssClasses.noRefinementRoot,t.collapsible&&t.cssClasses.collapsibleRoot,i&&t.cssClasses.collapsedRoot),hidden:t.hidden},t.templates.header&&j("div",{className:t.cssClasses.header},j(g,{templates:t.templates,templateKey:"header",rootTagName:"span",data:t.data}),t.collapsible&&j("button",{className:t.cssClasses.collapseButton,"aria-expanded":!i,onClick:function(e){e.preventDefault(),o(!0),a(function(e){return!e})}},j(g,{templates:t.templates,templateKey:"collapseButtonText",rootTagName:"span",data:{collapsed:i}}))),j("div",{className:t.cssClasses.body,ref:c}),t.templates.footer&&j(g,{templates:t.templates,templateKey:"footer",rootProps:{className:t.cssClasses.footer},data:t.data}))}var xo=l({name:"panel"}),Io=i("Panel"),Fo=["placesReference","defaultPosition"],To=["places"],Co=function(e){var t=e.url,n=e.theme,e=e.cssClasses;return j("div",{className:e.root},j("a",{href:t,target:"_blank",className:e.link,"aria-label":"Search by Algolia",rel:"noopener noreferrer"},j("svg",{height:"1.2em",className:e.logo,viewBox:"0 0 572 64",style:{width:"auto"}},j("path",{fill:"dark"===n?"#FFF":"#36395A",d:"M16 48.3c-3.4 0-6.3-.6-8.7-1.7A12.4 12.4 0 0 1 1.9 42C.6 40 0 38 0 35.4h6.5a6.7 6.7 0 0 0 3.9 6c1.4.7 3.3 1.1 5.6 1.1 2.2 0 4-.3 5.4-1a7 7 0 0 0 3-2.4 6 6 0 0 0 1-3.4c0-1.5-.6-2.8-1.9-3.7-1.3-1-3.3-1.6-5.9-1.8l-4-.4c-3.7-.3-6.6-1.4-8.8-3.4a10 10 0 0 1-3.3-7.9c0-2.4.6-4.6 1.8-6.4a12 12 0 0 1 5-4.3c2.2-1 4.7-1.6 7.5-1.6s5.5.5 7.6 1.6a12 12 0 0 1 5 4.4c1.2 1.8 1.8 4 1.8 6.7h-6.5a6.4 6.4 0 0 0-3.5-5.9c-1-.6-2.6-1-4.4-1s-3.2.3-4.4 1c-1.1.6-2 1.4-2.6 2.4-.5 1-.8 2-.8 3.1a5 5 0 0 0 1.5 3.6c1 1 2.6 1.7 4.7 1.9l4 .3c2.8.2 5.2.8 7.2 1.8 2.1 1 3.7 2.2 4.9 3.8a9.7 9.7 0 0 1 1.7 5.8c0 2.5-.7 4.7-2 6.6a13 13 0 0 1-5.6 4.4c-2.4 1-5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0 1 322.8 0h30.8c.6 0 1.2.5 1.2 1.2v61.5c0 1.1-1.3 1.7-2.2 1l-19.2-17a18 18 0 0 1-11 3.4 18.1 18.1 0 1 1 18.2-14.8c-.1.4-.5.7-.9.6-.1 0-.3 0-.4-.2l-3.8-3.4c-.4-.3-.6-.8-.7-1.4a12 12 0 1 0-2.4 8.3c.4-.4 1-.5 1.6-.2l14.7 13.1v-46H323a26 26 0 1 0 10 49.7c.8-.4 1.6-.2 2.3.3l3 2.7c.3.2.3.7 0 1l-.2.2a32 32 0 0 1-47.2-28.6z"}))))},Eo=i("PoweredBy"),ko=l({name:"powered-by"}),jo=l({name:"query-rule-context"}),Lo=function(e){var t=e.cssClasses,n=e.templates,e=e.items;return j(g,{templateKey:"default",templates:n,rootProps:{className:t.root},data:{items:e}})},Mo={default:function(e){e=e.items;return JSON.stringify(e,null,2)}},Oo=l({name:"query-rule-custom-data"}),Ho=i("QueryRuleCustomData");function Ao(e){return e.replace(/^(0+)\d/,function(e){return Number(e).toString()})}function Wo(e){var t=e.style,e=e.children,n=Math.round(parseFloat(t.left)),r=[0,50,100].includes(n),e=Math.round(100*parseInt(e,10))/100;return j("div",{style:C(C({},t),{},{marginLeft:100===n?"-2px":0}),className:I("rheostat-marker","rheostat-marker-horizontal",r&&"rheostat-marker-large")},r&&j("div",{className:"rheostat-value"},e))}var Do=function(){D(s,jt);var a=U(s);function s(){var e,n;A(this,s);for(var t=arguments.length,r=new Array(t),i=0;i=this.props.max}},{key:"computeDefaultPitPoints",value:function(e){var t=e.min,e=e.max,n=(e-t)/34;return[t].concat(w(Je({end:33}).map(function(e){return t+n*(e+1)})),[e])}},{key:"computeSnapPoints",value:function(e){var t=e.min,n=e.max,e=e.step;if(e)return[].concat(w(Je({start:t,end:n,step:e})),[n])}},{key:"render",value:function(){var e=this.props,t=e.tooltips,n=e.step,r=e.pips,i=e.values,e=e.cssClasses,a=this.isDisabled?{min:this.props.min,max:this.props.max+.001}:this.props,s=a.min,a=a.max,n=this.computeSnapPoints({min:s,max:a,step:n}),r=!1===r?[]:this.computeDefaultPitPoints({min:s,max:a});return j("div",{className:I(e.root,this.isDisabled&&e.disabledRoot)},j(sc,{handle:this.createHandleComponent(t),onChange:this.handleChange,min:s,max:a,pitComponent:Wo,pitPoints:r,snap:!0,snapPoints:n,values:this.isDisabled?[s,a]:i,disabled:this.isDisabled}))}}]),a}()),cc=l({name:"range-slider"}),uc=i("RangeSlider");function lc(e){var t=e.children,n=e.count,r=e.value,i=e.url,e=e.cssClasses;return n?j("a",{className:I(e.link),"aria-label":"".concat(r," & up"),href:i},t):j("div",{className:I(e.link),"aria-label":"".concat(r," & up"),disabled:!0},t)}var dc={item:function(e){var t=e.count,n=e.value,r=e.url,i=e.stars,a=e.cssClasses;return j(lc,{count:t,value:n,url:r,cssClasses:a},i.map(function(e,t){return j("svg",{key:t,className:I(a.starIcon,e?a.fullStarIcon:a.emptyStarIcon),"aria-hidden":"true",width:"24",height:"24"},j("use",{xlinkHref:e?"#ais-RatingMenu-starSymbol":"#ais-RatingMenu-starEmptySymbol"}))}),j("span",{className:I(a.label)},"& Up"),t&&j("span",{className:I(a.count)},na(t)))}},hc=l({name:"rating-menu"}),O=i("RatingMenu"),fc=j("path",{d:"M12 .288l2.833 8.718h9.167l-7.417 5.389 2.833 8.718-7.416-5.388-7.417 5.388 2.833-8.718-7.416-5.389h9.167z"}),mc=j("path",{d:"M12 6.76l1.379 4.246h4.465l-3.612 2.625 1.379 4.246-3.611-2.625-3.612 2.625 1.379-4.246-3.612-2.625h4.465l1.38-4.246zm0-6.472l-2.833 8.718h-9.167l7.416 5.389-2.833 8.718 7.417-5.388 7.416 5.388-2.833-8.718 7.417-5.389h-9.167l-2.833-8.718z"}),pc=j("path",{d:"M8.114 10L.944 2.83 0 1.885 1.886 0l.943.943L10 8.113l7.17-7.17.944-.943L20 1.886l-.943.943-7.17 7.17 7.17 7.17.943.944L18.114 20l-.943-.943-7.17-7.17-7.17 7.17-.944.943L0 18.114l.943-.943L8.113 10z"}),gc=j("path",{d:"M26.804 29.01c-2.832 2.34-6.465 3.746-10.426 3.746C7.333 32.756 0 25.424 0 16.378 0 7.333 7.333 0 16.378 0c9.046 0 16.378 7.333 16.378 16.378 0 3.96-1.406 7.594-3.746 10.426l10.534 10.534c.607.607.61 1.59-.004 2.202-.61.61-1.597.61-2.202.004L26.804 29.01zm-10.426.627c7.323 0 13.26-5.936 13.26-13.26 0-7.32-5.937-13.257-13.26-13.257C9.056 3.12 3.12 9.056 3.12 16.378c0 7.323 5.936 13.26 13.258 13.26z"}),vc=j("g",{fill:"none",fillRule:"evenodd"},j("g",{transform:"translate(1 1)",strokeWidth:"2"},j("circle",{strokeOpacity:".5",cx:"18",cy:"18",r:"18"}),j("path",{d:"M36 18c0-9.94-8.06-18-18-18"},j("animateTransform",{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"1s",repeatCount:"indefinite"})))),yc={reset:function(e){return j("svg",{className:e.cssClasses.resetIcon,viewBox:"0 0 20 20",width:"10",height:"10","aria-hidden":"true"},pc)},submit:function(e){return j("svg",{className:e.cssClasses.submitIcon,width:"10",height:"10",viewBox:"0 0 40 40","aria-hidden":"true"},gc)},loadingIndicator:function(e){return j("svg",{className:e.cssClasses.loadingIcon,width:"16",height:"16",viewBox:"0 0 38 38",stroke:"#444","aria-hidden":"true"},vc)}},bc={item:function(e){var t=e.cssClasses,n=e.count,r=e.value,i=e.highlighted,a=e.isRefined,e=e.isFromSearch;return j("label",{className:I(t.label)},j("input",{type:"checkbox",className:I(t.checkbox),value:r,defaultChecked:a}),j("span",{className:I(t.labelText),dangerouslySetInnerHTML:e?{__html:i}:void 0},!e&&i),j("span",{className:I(t.count)},na(n)))},showMoreText:function(e){return e.isShowingMore?"Show less":"Show more"},searchableNoResults:function(){return"No results"}},Rc=l({name:"refinement-list"}),H=i("RefinementList"),Sc=i("SearchBox"),_c=function(e){var t=e.cssClasses,n=e.templates,r=e.isRelevantSorted,i=e.isVirtualReplica,a=e.refine;return i?j("div",{className:t.root},j(g,{templateKey:"text",templates:n,rootProps:{className:t.text},data:{isRelevantSorted:r}}),j("button",{type:"button",className:t.button,onClick:function(){a(r?0:void 0)}},j(g,{rootTagName:"span",templateKey:"button",templates:n,data:{isRelevantSorted:r}}))):null},wc={text:function(){return""},button:function(e){return e.isRelevantSorted?"See all results":"See relevant results"}},Pc=l({name:"relevant-sort"}),Nc=i("RelevantSort"),xc=l({name:"search-box"}),Ic=i("SearchBox"),Fc=l({name:"sort-by"}),Tc=i("SortBy"),Cc=["nbHits","nbSortedHits","cssClasses","templateProps"],Ec=function(e){var t=e.nbHits,n=e.nbSortedHits,r=e.cssClasses,i=e.templateProps,e=E(e,Cc);return j("div",{className:I(r.root)},j(g,m({},i,{templateKey:"text",rootTagName:"span",rootProps:{className:r.text},data:C({hasManySortedResults:n&&1=")&&r.hasOwnProperty("<="))r[">="]&&r[">="][0]===r["<="]&&r["<="][0]?n.push("".concat(t,"=").concat(t,"_").concat(r[">="])):n.push("".concat(t,"=").concat(t,"_").concat(r[">="],"to").concat(r["<="]));else if(r.hasOwnProperty(">="))n.push("".concat(t,"=").concat(t,"_from").concat(r[">="]));else if(r.hasOwnProperty("<="))n.push("".concat(t,"=").concat(t,"_to").concat(r["<="]));else if(r.hasOwnProperty("=")){var i,a=[];for(i in r["="])r["="].hasOwnProperty(i)&&a.push(r["="][i]);n.push("".concat(t,"=").concat(t,"_").concat(a.join("-")))}}return n.join("&")},r=function(e){var t,n,r;null!==e&&(t=[],n=i(C(C(C({},e.state.disjunctiveFacetsRefinements),e.state.facetsRefinements),e.state.hierarchicalFacetsRefinements)),r=a(e.state.numericRefinements),""!==n&&t.push(n),""!==r&&t.push(r),n=t.join("&"),r="Query: ".concat(e.state.query||"",", ").concat(n),!0===p&&(r+=", Page: ".concat(e.state.page||0)),s!==r)&&(d(n,e.state,e.results),s=r)},c=!(s="")===(void 0===h||h)?!1:!0,t=function(){r(n)},u=function(){r(n)},{$$type:"ais.analytics",$$widgetType:"ais.analytics",init:function(){!0===m&&(document.addEventListener("click",t),window.addEventListener("beforeunload",u))},render:function(e){var t=e.results,e=e.state;!0===c?c=!1:(n={results:t,state:e},o&&clearTimeout(o),o=window.setTimeout(function(){return r(n)},f))},dispose:function(){!0===m&&(document.removeEventListener("click",t),window.removeEventListener("beforeunload",u))},getRenderState:function(e,t){return C(C({},e),{},{analytics:this.getWidgetRenderState(t)})},getWidgetRenderState:function(){return{widgetParams:e}}};throw new Error(ns("The `pushFunction` option is required."))},breadcrumb:function(e){var t,s,o,c,u,e=e||{},n=e.container,r=e.attributes,i=e.separator,a=e.rootPath,l=e.transformItems,d=e.templates,d=void 0===d?{}:d,e=e.cssClasses,e=void 0===e?{}:e;if(n)return t=P(n),n={root:I(ss(),e.root),noRefinementRoot:I(ss({modifierName:"noRefinement"}),e.noRefinementRoot),list:I(ss({descendantName:"list"}),e.list),item:I(ss({descendantName:"item"}),e.item),selectedItem:I(ss({descendantName:"item",modifierName:"selected"}),e.selectedItem),separator:I(ss({descendantName:"separator"}),e.separator),link:I(ss({descendantName:"link"}),e.link)},s=(e={containerNode:t,cssClasses:n,renderState:{},templates:d}).containerNode,o=e.cssClasses,c=e.renderState,u=e.templates,C(C({},Tn(function(e,t){var n=e.canRefine,r=e.createURL,i=e.instantSearchInstance,a=e.items,e=e.refine;t?c.templateProps=M({defaultTemplates:is,templatesConfig:i.templatesConfig,templates:u}):L(j(rs,{canRefine:n,cssClasses:o,createURL:r,items:a,refine:e,templateProps:c.templateProps}),s)},function(){return L(null,t)})({attributes:r,separator:i,rootPath:a,transformItems:l})),{},{$$widgetType:"ais.breadcrumb"});throw new Error(as("The `container` option is required."))},clearRefinements:function(e){var t,i,a,s,o,e=e||{},n=e.container,r=e.templates,r=void 0===r?{}:r,c=e.includedAttributes,u=e.excludedAttributes,l=e.transformItems,e=e.cssClasses,e=void 0===e?{}:e;if(n)return t=P(n),n={root:I(ls(),e.root),button:I(ls({descendantName:"button"}),e.button),disabledButton:I(ls({descendantName:"button",modifierName:"disabled"}),e.disabledButton)},i=(e={containerNode:t,cssClasses:n,renderState:{},templates:r}).containerNode,a=e.cssClasses,s=e.renderState,o=e.templates,C(C({},rt(function(e,t){var n=e.refine,r=e.canRefine,e=e.instantSearchInstance;t?s.templateProps=M({defaultTemplates:cs,templatesConfig:e.templatesConfig,templates:o}):L(j(os,{refine:n,cssClasses:a,hasRefinements:r,templateProps:s.templateProps}),i)},function(){return L(null,t)})({includedAttributes:c,excludedAttributes:u,transformItems:l})),{},{$$widgetType:"ais.clearRefinements"});throw new Error(us("The `container` option is required."))},configure:function(e){return C(C({},Dr(v)({searchParameters:e})),{},{$$widgetType:"ais.configure"})},currentRefinements:function(e){var t,e=e||{},n=e.container,r=e.includedAttributes,i=e.excludedAttributes,a=e.cssClasses,a=void 0===a?{}:a,e=e.transformItems;if(n)return t=P(n),n={root:I(fs(),a.root),noRefinementRoot:I(fs({modifierName:"noRefinement"}),a.noRefinementRoot),list:I(fs({descendantName:"list"}),a.list),item:I(fs({descendantName:"item"}),a.item),label:I(fs({descendantName:"label"}),a.label),category:I(fs({descendantName:"category"}),a.category),categoryLabel:I(fs({descendantName:"categoryLabel"}),a.categoryLabel),delete:I(fs({descendantName:"delete"}),a.delete)},C(C({},ot(Xa,function(){return L(null,t)})({container:t,cssClasses:n,includedAttributes:r,excludedAttributes:i,transformItems:e})),{},{$$widgetType:"ais.currentRefinements"});throw new Error(hs("The `container` option is required."))},EXPERIMENTAL_configureRelatedItems:function(e){return C(C({},Ur(v)(e)),{},{$$widgetType:"ais.configureRelatedItems"})},geoSearch:function(e){var t,n,r,i,a,u,e=e||{},s=e.initialZoom,s=void 0===s?1:s,o=e.initialPosition,o=void 0===o?{lat:0,lng:0}:o,c=e.templates,c=void 0===c?{}:c,l=e.cssClasses,l=void 0===l?{}:l,d=e.builtInMarker,d=void 0===d?{}:d,h=e.customHTMLMarker,f=e.enableRefine,f=void 0===f||f,m=e.enableClearMapRefinement,m=void 0===m||m,p=e.enableRefineControl,p=void 0===p||p,g=e.container,v=e.googleReference,e=E(e,Ss);if(!g)throw new Error(Ps("The `container` option is required."));if(v)return t=P(g),g={root:I(Ns(),l.root),tree:Ns({descendantName:"tree"}),map:I(Ns({descendantName:"map"}),l.map),control:I(Ns({descendantName:"control"}),l.control),label:I(Ns({descendantName:"label"}),l.label),selectedLabel:I(Ns({descendantName:"label",modifierName:"selected"}),l.selectedLabel),input:I(Ns({descendantName:"input"}),l.input),redo:I(Ns({descendantName:"redo"}),l.redo),disabledRedo:I(Ns({descendantName:"redo",modifierName:"disabled"}),l.disabledRedo),reset:I(Ns({descendantName:"reset"}),l.reset)},n=C(C({},ps),c),r=C(C({},{createOptions:function(){return{}},events:{}}),d),i=(Boolean(h)||Boolean(c.HTMLMarker))&&C(C({},{createOptions:function(){return{}},events:{}}),h),u=v,a=function(){D(c,u.maps.OverlayView);var o=U(c);function c(e){var t,n=e.__id,r=e.position,i=e.map,a=e.template,s=e.className,e=e.anchor,e=void 0===e?{x:0,y:0}:e;return A(this,c),T(b(t=o.call(this)),"__id",void 0),T(b(t),"anchor",void 0),T(b(t),"offset",void 0),T(b(t),"listeners",void 0),T(b(t),"latLng",void 0),T(b(t),"element",void 0),t.__id=n,t.anchor=e,t.listeners={},t.latLng=new u.maps.LatLng(r),t.element=document.createElement("div"),t.element.className=s,t.element.style.position="absolute","object"===y(a)?L(a,t.element):t.element.innerHTML=a,t.setMap(i),t}return W(c,[{key:"onAdd",value:function(){this.getPanes().overlayMouseTarget.appendChild(this.element);var e=this.element.getBoundingClientRect();this.offset={x:this.anchor.x+e.width/2,y:this.anchor.y+e.height},this.element.style.width="".concat(e.width,"px")}},{key:"draw",value:function(){var e=this.getProjection().fromLatLngToDivPixel(this.latLng);this.element.style.left="".concat(Math.round(e.x-this.offset.x),"px"),this.element.style.top="".concat(Math.round(e.y-this.offset.y),"px"),this.element.style.zIndex=String(parseInt(this.element.style.top,10))}},{key:"onRemove",value:function(){var t=this;this.element&&(this.element.parentNode.removeChild(this.element),Object.keys(this.listeners).forEach(function(e){t.element.removeEventListener(e,t.listeners[e])}),delete this.element,delete this.listeners)}},{key:"addListener",value:function(e,t){this.listeners[e]=t;var n=this.element;return n.addEventListener(e,t),{remove:function(){return n.removeEventListener(e,t)}}}},{key:"getPosition",value:function(){return this.latLng}}]),c}(),l=i?function(e){var t=e.item,e=E(e,ws);return new a(C(C(C({},i.createOptions(t)),e),{},{__id:t.objectID,position:t._geoloc,className:I(Ns({descendantName:"marker"})),template:$a({templateKey:"HTMLMarker",templates:n,data:t})}))}:function(e){var t=e.item,e=E(e,_s);return new v.maps.Marker(C(C(C({},r.createOptions(t)),e),{},{__id:t.objectID,position:t._geoloc}))},d=i||r,C(C({},Qn(ts,function(){return L(null,t)})(C(C({},e),{},{renderState:{},container:t,googleReference:v,initialZoom:s,initialPosition:o,templates:n,cssClasses:g,createMarker:l,markerOptions:d,enableRefine:f,enableClearMapRefinement:m,enableRefineControl:p}))),{},{$$widgetType:"ais.geoSearch"});throw new Error(Ps("The `googleReference` option is required."))},hierarchicalMenu:function(e){var t,c,u,l,d,h,e=e||{},n=e.container,r=e.attributes,i=e.separator,a=e.rootPath,s=e.showParentLevel,o=e.limit,f=e.showMore,f=void 0!==f&&f,m=e.showMoreLimit,p=e.sortBy,g=e.transformItems,v=e.templates,v=void 0===v?{}:v,e=e.cssClasses,e=void 0===e?{}:e;if(n)return t=P(n),n={root:I(S(),e.root),noRefinementRoot:I(S({modifierName:"noRefinement"}),e.noRefinementRoot),list:I(S({descendantName:"list"}),e.list),childList:I(S({descendantName:"list",modifierName:"child"}),e.childList),item:I(S({descendantName:"item"}),e.item),selectedItem:I(S({descendantName:"item",modifierName:"selected"}),e.selectedItem),parentItem:I(S({descendantName:"item",modifierName:"parent"}),e.parentItem),link:I(S({descendantName:"link"}),e.link),selectedItemLink:I(S({descendantName:"link",modifierName:"selected"}),e.selectedItemLink),label:I(S({descendantName:"label"}),e.label),count:I(S({descendantName:"count"}),e.count),showMore:I(S({descendantName:"showMore"}),e.showMore),disabledShowMore:I(S({descendantName:"showMore",modifierName:"disabled"}),e.disabledShowMore)},c=(e={cssClasses:n,containerNode:t,templates:v,showMore:f,renderState:{}}).cssClasses,u=e.containerNode,l=e.showMore,d=e.templates,h=e.renderState,C(C({},ft(function(e,t){var n=e.createURL,r=e.items,i=e.refine,a=e.instantSearchInstance,s=e.isShowingMore,o=e.toggleShowMore,e=e.canToggleShowMore;t?h.templateProps=M({defaultTemplates:Es,templatesConfig:a.templatesConfig,templates:d}):L(j(Cs,{createURL:n,cssClasses:c,facetValues:r,templateProps:h.templateProps,toggleRefinement:i,showMore:l,toggleShowMore:o,isShowingMore:s,canToggleShowMore:e}),u)},function(){return L(null,t)})({attributes:r,separator:i,rootPath:a,showParentLevel:s,limit:o,showMore:f,showMoreLimit:m,sortBy:p,transformItems:g})),{},{$$widgetType:"ais.hierarchicalMenu"});throw new Error(ks("The `container` option is required."))},hits:function(e){var t,o,c,u,l,e=e||{},n=e.container,r=e.escapeHTML,i=e.transformItems,a=e.templates,a=void 0===a?{}:a,e=e.cssClasses,e=void 0===e?{}:e;if(n)return t=P(n),n={root:I(Os(),e.root),emptyRoot:I(Os({modifierName:"empty"}),e.emptyRoot),list:I(Os({descendantName:"list"}),e.list),item:I(Os({descendantName:"item"}),e.item)},o=(e={containerNode:t,cssClasses:n,renderState:{},templates:a}).renderState,c=e.cssClasses,u=e.containerNode,l=e.templates,C(C({},Rt(mt)(function(e,t){var n=e.hits,r=e.results,i=e.instantSearchInstance,a=e.insights,s=e.bindEvent,e=e.sendEvent;t?o.templateProps=M({defaultTemplates:Ls,templatesConfig:i.templatesConfig,templates:l}):L(j(js,{cssClasses:c,hits:n,results:r,templateProps:o.templateProps,insights:a,sendEvent:e,bindEvent:s}),u)},function(){return L(null,t)})({escapeHTML:r,transformItems:i})),{},{$$widgetType:"ais.hits"});throw new Error(Ms("The `container` option is required."))},hitsPerPage:function(e){var t,r,i,e=e||{},n=e.container,a=e.items,s=e.cssClasses,s=void 0===s?{}:s,e=e.transformItems;if(n)return t=P(n),n={root:I(Ws(),s.root),select:I(Ws({descendantName:"select"}),s.select),option:I(Ws({descendantName:"option"}),s.option)},r=(s={containerNode:t,cssClasses:n}).containerNode,i=s.cssClasses,C(C({},Zt(function(e,t){var n=e.items,e=e.refine;t||(t=(Re(n,function(e){return e.isRefined})||{}).value,L(j("div",{className:i.root},j(Hs,{cssClasses:i,currentValue:t,options:n,setValue:e})),r))},function(){return L(null,t)})({items:a,transformItems:e})),{},{$$widgetType:"ais.hitsPerPage"});throw new Error(As("The `container` option is required."))},index:ea,infiniteHits:function(e){var t,d,h,f,m,p,e=e||{},n=e.container,r=e.escapeHTML,i=e.transformItems,a=e.templates,a=void 0===a?{}:a,s=e.cssClasses,s=void 0===s?{}:s,o=e.showPrevious,e=e.cache;if(n)return t=P(n),n={root:I(Us(),s.root),emptyRoot:I(Us({modifierName:"empty"}),s.emptyRoot),item:I(Us({descendantName:"item"}),s.item),list:I(Us({descendantName:"list"}),s.list),loadPrevious:I(Us({descendantName:"loadPrevious"}),s.loadPrevious),disabledLoadPrevious:I(Us({descendantName:"loadPrevious",modifierName:"disabled"}),s.disabledLoadPrevious),loadMore:I(Us({descendantName:"loadMore"}),s.loadMore),disabledLoadMore:I(Us({descendantName:"loadMore",modifierName:"disabled"}),s.disabledLoadMore)},d=(s={containerNode:t,cssClasses:n,templates:a,showPrevious:o,renderState:{}}).containerNode,h=s.cssClasses,f=s.renderState,m=s.templates,p=s.showPrevious,C(C({},Rt(an)(function(e,t){var n=e.hits,r=e.results,i=e.showMore,a=e.showPrevious,s=e.isFirstPage,o=e.isLastPage,c=e.instantSearchInstance,u=e.insights,l=e.bindEvent,e=e.sendEvent;t?f.templateProps=M({defaultTemplates:Bs,templatesConfig:c.templatesConfig,templates:m}):L(j(Ds,{cssClasses:h,hits:n,results:r,hasShowPrevious:p,showPrevious:a,showMore:i,templateProps:f.templateProps,isFirstPage:s,isLastPage:o,insights:u,sendEvent:e,bindEvent:l}),d)},function(){return L(null,t)})({escapeHTML:r,transformItems:i,showPrevious:o,cache:e})),{},{$$widgetType:"ais.infiniteHits"});throw new Error($s("The `container` option is required."))},menu:function(e){var t,c,u,l,d,h,e=e||{},n=e.container,r=e.attribute,i=e.sortBy,a=e.limit,s=e.showMore,o=e.showMoreLimit,f=e.cssClasses,f=void 0===f?{}:f,m=e.templates,m=void 0===m?{}:m,e=e.transformItems;if(n)return t=P(n),n={root:I(Vs(),f.root),noRefinementRoot:I(Vs({modifierName:"noRefinement"}),f.noRefinementRoot),list:I(Vs({descendantName:"list"}),f.list),item:I(Vs({descendantName:"item"}),f.item),selectedItem:I(Vs({descendantName:"item",modifierName:"selected"}),f.selectedItem),link:I(Vs({descendantName:"link"}),f.link),label:I(Vs({descendantName:"label"}),f.label),count:I(Vs({descendantName:"count"}),f.count),showMore:I(Vs({descendantName:"showMore"}),f.showMore),disabledShowMore:I(Vs({descendantName:"showMore",modifierName:"disabled"}),f.disabledShowMore)},c=(f={containerNode:t,cssClasses:n,renderState:{},templates:m,showMore:s}).containerNode,u=f.cssClasses,l=f.renderState,d=f.templates,h=f.showMore,C(C({},sn(function(e,t){var n=e.refine,r=e.items,i=e.createURL,a=e.instantSearchInstance,s=e.isShowingMore,o=e.toggleShowMore,e=e.canToggleShowMore;t?l.templateProps=M({defaultTemplates:qs,templatesConfig:a.templatesConfig,templates:d}):(t=r.map(function(e){return C(C({},e),{},{url:i(e.value)})}),L(j(Cs,{createURL:i,cssClasses:u,facetValues:t,showMore:h,templateProps:l.templateProps,toggleRefinement:n,toggleShowMore:o,isShowingMore:s,canToggleShowMore:e}),c))},function(){return L(null,t)})({attribute:r,limit:a,showMore:s,showMoreLimit:o,sortBy:i,transformItems:e})),{},{$$widgetType:"ais.menu"});throw new Error(Qs("The `container` option is required."))},menuSelect:function(e){var t,i,a,s,o,e=e||{},n=e.container,r=e.attribute,c=e.sortBy,c=void 0===c?["name:asc"]:c,u=e.limit,u=void 0===u?10:u,l=e.cssClasses,l=void 0===l?{}:l,d=e.templates,d=void 0===d?{}:d,e=e.transformItems;if(n)return t=P(n),n={root:I(Zs(),l.root),noRefinementRoot:I(Zs({modifierName:"noRefinement"}),l.noRefinementRoot),select:I(Zs({descendantName:"select"}),l.select),option:I(Zs({descendantName:"option"}),l.option)},i=(l={containerNode:t,cssClasses:n,renderState:{},templates:d}).containerNode,a=l.cssClasses,s=l.renderState,o=l.templates,C(C({},sn(function(e,t){var n=e.refine,r=e.items,e=e.instantSearchInstance;t?s.templateProps=M({defaultTemplates:zs,templatesConfig:e.templatesConfig,templates:o}):L(j(Ks,{cssClasses:a,items:r,refine:n,templateProps:s.templateProps}),i)},function(){return L(null,t)})({attribute:r,limit:u,sortBy:c,transformItems:e})),{},{$$widgetType:"ais.menuSelect"});throw new Error(Js("The `container` option is required."))},numericMenu:function(e){var t,a,s,o,c,u,e=e||{},n=e.container,r=e.attribute,i=e.items,l=e.cssClasses,l=void 0===l?{}:l,d=e.templates,d=void 0===d?{}:d,e=e.transformItems;if(n)return t=P(n),n={root:I(Gs(),l.root),noRefinementRoot:I(Gs({modifierName:"noRefinement"}),l.noRefinementRoot),list:I(Gs({descendantName:"list"}),l.list),item:I(Gs({descendantName:"item"}),l.item),selectedItem:I(Gs({descendantName:"item",modifierName:"selected"}),l.selectedItem),label:I(Gs({descendantName:"label"}),l.label),radio:I(Gs({descendantName:"radio"}),l.radio),labelText:I(Gs({descendantName:"labelText"}),l.labelText)},a=(l={containerNode:t,attribute:r,cssClasses:n,renderState:{},templates:d}).containerNode,s=l.attribute,o=l.cssClasses,c=l.renderState,u=l.templates,C(C({},on(function(e,t){var n=e.createURL,r=e.instantSearchInstance,i=e.refine,e=e.items;t?c.templateProps=M({defaultTemplates:Ys,templatesConfig:r.templatesConfig,templates:u}):L(j(Cs,{createURL:n,cssClasses:o,facetValues:e,templateProps:c.templateProps,toggleRefinement:i,attribute:s}),a)},function(){return L(null,t)})({attribute:r,items:i,transformItems:e})),{},{$$widgetType:"ais.numericMenu"});throw new Error(Xs("The `container` option is required."))},pagination:function(e){var t,u,l,d,h,f,m,p,g,e=e||{},n=e.container,r=e.templates,r=void 0===r?{}:r,i=e.cssClasses,i=void 0===i?{}:i,a=e.totalPages,s=e.padding,o=e.showFirst,o=void 0===o||o,c=e.showLast,c=void 0===c||c,v=e.showPrevious,v=void 0===v||v,y=e.showNext,y=void 0===y||y,e=e.scrollTo,e=void 0===e?"body":e;if(n)return t=P(n),e=!1!==(n=!0===e?"body":e)&&P(n),n={root:I(F(),i.root),noRefinementRoot:I(F({modifierName:"noRefinement"}),i.noRefinementRoot),list:I(F({descendantName:"list"}),i.list),item:I(F({descendantName:"item"}),i.item),firstPageItem:I(F({descendantName:"item",modifierName:"firstPage"}),i.firstPageItem),lastPageItem:I(F({descendantName:"item",modifierName:"lastPage"}),i.lastPageItem),previousPageItem:I(F({descendantName:"item",modifierName:"previousPage"}),i.previousPageItem),nextPageItem:I(F({descendantName:"item",modifierName:"nextPage"}),i.nextPageItem),pageItem:I(F({descendantName:"item",modifierName:"page"}),i.pageItem),selectedItem:I(F({descendantName:"item",modifierName:"selected"}),i.selectedItem),disabledItem:I(F({descendantName:"item",modifierName:"disabled"}),i.disabledItem),link:I(F({descendantName:"link"}),i.link)},i=C(C({},so),r),u=(r={containerNode:t,cssClasses:n,templates:i,showFirst:o,showLast:c,showPrevious:v,showNext:y,scrollToNode:e}).containerNode,l=r.cssClasses,d=r.templates,h=r.showFirst,f=r.showLast,m=r.showPrevious,p=r.showNext,g=r.scrollToNode,C(C({},gn(function(e,t){var n=e.createURL,r=e.currentRefinement,i=e.nbPages,a=e.pages,s=e.isFirstPage,o=e.isLastPage,c=e.refine;t||L(j(eo,{createURL:n,cssClasses:l,currentPage:r,templates:d,nbPages:i,pages:a,isFirstPage:s,isLastPage:o,setCurrentPage:function(e){c(e),!1!==g&&g.scrollIntoView()},showFirst:h,showLast:f,showPrevious:m,showNext:p}),u)},function(){return L(null,t)})({totalPages:a,padding:s})),{},{$$widgetType:"ais.pagination"});throw new Error(ao("The `container` option is required."))},panel:function(e){var e=e||{},t=e.templates,r=void 0===t?{}:t,t=e.hidden,d=void 0===t?function(){return!1}:t,t=e.collapsed,e=e.cssClasses,e=void 0===e?{}:e,h=document.createElement("div"),f=Boolean(t),m="function"==typeof t?t:function(){return!1},p={root:I(Io(),e.root),noRefinementRoot:I(Io({modifierName:"noRefinement"}),e.noRefinementRoot),collapsibleRoot:I(Io({modifierName:"collapsible"}),e.collapsibleRoot),collapsedRoot:I(Io({modifierName:"collapsed"}),e.collapsedRoot),collapseButton:I(Io({descendantName:"collapseButton"}),e.collapseButton),collapseIcon:I(Io({descendantName:"collapseIcon"}),e.collapseIcon),body:I(Io({descendantName:"body"}),e.body),header:I(Io({descendantName:"header"}),e.header),footer:I(Io({descendantName:"footer"}),e.footer)};return function(n){return function(e){var i,a,t,s,o,c,u,l;if(e&&e.container)return i=P(e.container),t={containerNode:i,bodyContainerNode:h,cssClasses:p,templates:C(C({},{collapseButtonText:function(e){e=e.collapsed;return'')}}),r)},s=t.containerNode,o=t.bodyContainerNode,c=t.cssClasses,u=t.templates,a=function(e){var t=e.options,n=e.hidden,r=e.collapsible,e=e.collapsed;L(j(No,{cssClasses:c,hidden:n,collapsible:r,isCollapsed:e,templates:u,data:t,bodyElement:o}),s)},l=n(C(C({},e),{},{container:h})),C(C({},l),{},{init:function(){for(var e=arguments.length,t=new Array(e),n=0;n