1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3240],{604:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(55713).A)("circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]])},1119:e=>{function t(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function r(e){return"function"==typeof e}function n(e){return"object"==typeof e&&null!==e}e.exports=t,t.prototype._events=void 0,t.prototype._maxListeners=void 0,t.defaultMaxListeners=10,t.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},t.prototype.emit=function(e){var t,i,a,o,s,c;if(this._events||(this._events={}),"error"===e&&(!this._events.error||n(this._events.error)&&!this._events.error.length)){if(t=arguments[1],t instanceof Error)throw t;var u=Error('Uncaught, unspecified "error" event. ('+t+")");throw u.context=t,u}if(void 0===(i=this._events[e]))return!1;if(r(i))switch(arguments.length){case 1:i.call(this);break;case 2:i.call(this,arguments[1]);break;case 3:i.call(this,arguments[1],arguments[2]);break;default:o=Array.prototype.slice.call(arguments,1),i.apply(this,o)}else if(n(i))for(s=0,o=Array.prototype.slice.call(arguments,1),a=(c=i.slice()).length;s<a;s++)c[s].apply(this,o);return!0},t.prototype.addListener=function(e,i){var a;if(!r(i))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",e,r(i.listener)?i.listener:i),this._events[e]?n(this._events[e])?this._events[e].push(i):this._events[e]=[this._events[e],i]:this._events[e]=i,n(this._events[e])&&!this._events[e].warned&&(a=void 0===this._maxListeners?t.defaultMaxListeners:this._maxListeners)&&a>0&&this._events[e].length>a&&(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},t.prototype.on=t.prototype.addListener,t.prototype.once=function(e,t){if(!r(t))throw TypeError("listener must be a function");var n=!1;function i(){this.removeListener(e,i),n||(n=!0,t.apply(this,arguments))}return i.listener=t,this.on(e,i),this},t.prototype.removeListener=function(e,t){var i,a,o,s;if(!r(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(o=(i=this._events[e]).length,a=-1,i===t||r(i.listener)&&i.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(n(i)){for(s=o;s-- >0;)if(i[s]===t||i[s].listener&&i[s].listener===t){a=s;break}if(a<0)return this;1===i.length?(i.length=0,delete this._events[e]):i.splice(a,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},t.prototype.removeAllListeners=function(e){var t,n;if(!this._events)return this;if(!this._events.removeListener)return 0==arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0==arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(r(n=this._events[e]))this.removeListener(e,n);else if(n)for(;n.length;)this.removeListener(e,n[n.length-1]);return delete this._events[e],this},t.prototype.listeners=function(e){var t;return this._events&&this._events[e]?r(this._events[e])?[this._events[e]]:this._events[e].slice():[]},t.prototype.listenerCount=function(e){if(this._events){var t=this._events[e];if(r(t))return 1;if(t)return t.length}return 0},t.listenerCount=function(e,t){return e.listenerCount(t)}},8444:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(35619),i=r(36425);let a=(0,n.A)({displayName:"AlgoliaStats",$$type:"ais.stats",getProvidedProps:function(e,t,r){var n=(0,i.h1)(r,{ais:e.contextValue,multiIndexContext:e.indexContextValue});return n?{areHitsSorted:void 0!==n.appliedRelevancyStrictness&&n.appliedRelevancyStrictness>0&&n.nbHits!==n.nbSortedHits,nbHits:n.nbHits,nbSortedHits:n.nbSortedHits,processingTimeMS:n.processingTimeMS}:null}})},9117:(e,t,r)=>{"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?n(Object(r),!0).forEach(function(t){var n,i,o;n=e,i=t,o=r[t],(i=function(e){var t=function(e,t){if("object"!==a(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==a(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===a(t)?t:String(t)}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}r.d(t,{Mn:()=>c,PD:()=>p,Zp:()=>h,bN:()=>s,cJ:()=>d,tU:()=>l,v6:()=>f});var o=Object.prototype.hasOwnProperty,s=function(e,t){if(e===t)return!0;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(var i=0;i<r.length;i++)if(!o.call(t,r[i])||e[r[i]]!==t[r[i]])return!1;return!0},c=function(e){return e.displayName||e.name||"UnknownComponent"},u=Promise.resolve(),f=function(e){u.then(e)},l=function e(t){return Object.keys(t).forEach(function(r){var n,i=t[r];"object"!==a(i)||null===i||Array.isArray(i)||((n=i)&&Object.keys(n).length>0?e(i):delete t[r])}),t};function h(e,t,r){return e.map(function(e,n){return i(i({},e),{},{__position:t*r+n+1})})}function p(e,t){return t?e.map(function(e){return i(i({},e),{},{__queryID:t})}):e}function d(e,t){if(null==e)return{};for(var r={},n=Object.keys(e),i=0;i<n.length;i++){var a=n[i];t.indexOf(a)>=0||(r[a]=e[a])}return r}},12262:(e,t,r)=>{"use strict";var n=r(1119);function i(e,t){this.main=e,this.fn=t,this.lastResults=null}r(75614)(i,n),i.prototype.detach=function(){this.removeAllListeners(),this.main.detachDerivedHelper(this)},i.prototype.getModifiedState=function(e){return this.fn(e)},e.exports=i},15385:e=>{"use strict";e.exports=function(e,t){if(Array.isArray(e)){for(var r=0;r<e.length;r++)if(t(e[r]))return e[r]}}},15571:e=>{"use strict";e.exports=function(e,t){if(!Array.isArray(e))return -1;for(var r=0;r<e.length;r++)if(t(e[r]))return r;return -1}},17266:e=>{"use strict";e.exports=function(){var e=Array.prototype.slice.call(arguments);return e.reduceRight(function(e,t){return Object.keys(Object(t)).forEach(function(r){void 0!==t[r]&&(void 0!==e[r]&&delete e[r],e[r]=t[r])}),e},{})}},17781:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(55713).A)("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]])},19184:e=>{var t="undefined"!=typeof Element,r="function"==typeof Map,n="function"==typeof Set,i="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;e.exports=function(e,a){try{return function e(a,o){if(a===o)return!0;if(a&&o&&"object"==typeof a&&"object"==typeof o){var s,c,u,f;if(a.constructor!==o.constructor)return!1;if(Array.isArray(a)){if((s=a.length)!=o.length)return!1;for(c=s;0!=c--;)if(!e(a[c],o[c]))return!1;return!0}if(r&&a instanceof Map&&o instanceof Map){if(a.size!==o.size)return!1;for(f=a.entries();!(c=f.next()).done;)if(!o.has(c.value[0]))return!1;for(f=a.entries();!(c=f.next()).done;)if(!e(c.value[1],o.get(c.value[0])))return!1;return!0}if(n&&a instanceof Set&&o instanceof Set){if(a.size!==o.size)return!1;for(f=a.entries();!(c=f.next()).done;)if(!o.has(c.value[0]))return!1;return!0}if(i&&ArrayBuffer.isView(a)&&ArrayBuffer.isView(o)){if((s=a.length)!=o.length)return!1;for(c=s;0!=c--;)if(a[c]!==o[c])return!1;return!0}if(a.constructor===RegExp)return a.source===o.source&&a.flags===o.flags;if(a.valueOf!==Object.prototype.valueOf&&"function"==typeof a.valueOf&&"function"==typeof o.valueOf)return a.valueOf()===o.valueOf();if(a.toString!==Object.prototype.toString&&"function"==typeof a.toString&&"function"==typeof o.toString)return a.toString()===o.toString();if((s=(u=Object.keys(a)).length)!==Object.keys(o).length)return!1;for(c=s;0!=c--;)if(!Object.prototype.hasOwnProperty.call(o,u[c]))return!1;if(t&&a instanceof Element)return!1;for(c=s;0!=c--;)if(("_owner"!==u[c]&&"__v"!==u[c]&&"__o"!==u[c]||!a.$$typeof)&&!e(a[u[c]],o[u[c]]))return!1;return!0}return a!=a&&o!=o}(e,a)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},23802:e=>{"use strict";function t(e){return"function"==typeof e||Array.isArray(e)||"[object Object]"===Object.prototype.toString.call(e)}e.exports=function(e){t(e)||(e={});for(var r=1,n=arguments.length;r<n;r++){var i=arguments[r];t(i)&&function e(r,n){if(r===n)return r;for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)&&"__proto__"!==i&&"constructor"!==i){var a=n[i],o=r[i];(void 0===o||void 0!==a)&&(t(o)&&t(a)?r[i]=e(o,a):r[i]="object"==typeof a&&null!==a?e(Array.isArray(a)?[]:{},a):a)}return r}(e,i)}return e}},24965:(e,t,r)=>{"use strict";r.d(t,{A:()=>d});var n=r(35619),i=r(36425),a=r(9117);function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var s=["children","contextValue","indexContextValue"],c=["children","contextValue","indexContextValue"];function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function f(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?u(Object(r),!0).forEach(function(t){l(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function l(e,t,r){var n;return(n=function(e,t){if("object"!==o(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==o(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"===o(n)?n:String(n))in e)?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function h(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function p(){return"configure"}let d=(0,n.A)({displayName:"AlgoliaConfigure",$$type:"ais.configure",getProvidedProps:function(){return{}},getSearchParameters:function(e,t){t.children,t.contextValue,t.indexContextValue;var r=h(t,s);return e.setQueryParameters(r)},transitionState:function(e,t,r){var n=p();e.children,e.contextValue,e.indexContextValue;var o=h(e,c),s=Object.keys(e),u=this._props?Object.keys(this._props).filter(function(e){return -1===s.indexOf(e)}):[];this._props=e;var d=l({},n,f(f({},(0,a.cJ)(r[n],u)),o));return(0,i.xM)(r,d,{ais:e.contextValue,multiIndexContext:e.indexContextValue})},cleanUp:function(e,t){var r=p(),n=(0,i.yO)({ais:e.contextValue,multiIndexContext:e.indexContextValue}),a=(0,i.ei)({ais:e.contextValue,multiIndexContext:e.indexContextValue})&&t.indices?t.indices[n]:t,o=(a&&a[r]?Object.keys(a[r]):[]).reduce(function(t,n){return e[n]||(t[n]=a[r][n]),t},{}),s=l({},r,o);return(0,i.xM)(t,s,{ais:e.contextValue,multiIndexContext:e.indexContextValue})}})(function(){return null},{$$widgetType:"ais.configure"})},28324:e=>{"use strict";e.exports=function(e){return null!==e&&/^[a-zA-Z0-9_-]{1,64}$/.test(e)}},35619:(e,t,r)=>{"use strict";r.d(t,{A:()=>g});var n=r(41728),i=r(19184),a=r.n(i),o=r(41439),s=r(9117),c=["contextValue"];function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function f(){return(f=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach(function(t){y(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function p(e,t){return(p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function d(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function y(e,t,r){return(t=v(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function v(e){var t=function(e,t){if("object"!==u(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==u(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===u(t)?t:String(t)}let g=function(e){return function(t,r){var i=(function(e){if(!e.displayName)throw Error("`createConnector` requires you to provide a `displayName` property.");var t="function"==typeof e.getSearchParameters||"function"==typeof e.getMetadata||"function"==typeof e.transitionState;return function(r){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=function(i){if("function"!=typeof i&&null!==i)throw TypeError("Super expression must either be null or a function");b.prototype=Object.create(i&&i.prototype,{constructor:{value:b,writable:!0,configurable:!0}}),Object.defineProperty(b,"prototype",{writable:!1}),i&&p(b,i);var o,l,g=(o=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,t=m(b);return e=o?Reflect.construct(t,arguments,m(this).constructor):t.apply(this,arguments),function(e,t){if(t&&("object"===u(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return d(e)}(this,e)});function b(t){var r;if(!(this instanceof b))throw TypeError("Cannot call a class as a function");return y(d(r=g.call(this,t)),"unsubscribe",void 0),y(d(r),"unregisterWidget",void 0),y(d(r),"cleanupTimerRef",null),y(d(r),"isUnmounting",!1),y(d(r),"state",{providedProps:r.getProvidedProps(r.props)}),y(d(r),"refine",function(){for(var t,n=arguments.length,i=Array(n),a=0;a<n;a++)i[a]=arguments[a];r.props.contextValue.onInternalStateUpdate((t=e.refine).call.apply(t,[d(r),r.props,r.props.contextValue.store.getState().widgets].concat(i)))}),y(d(r),"createURL",function(){for(var t,n=arguments.length,i=Array(n),a=0;a<n;a++)i[a]=arguments[a];return r.props.contextValue.createHrefForState((t=e.refine).call.apply(t,[d(r),r.props,r.props.contextValue.store.getState().widgets].concat(i)))}),y(d(r),"searchForFacetValues",function(){for(var t,n=arguments.length,i=Array(n),a=0;a<n;a++)i[a]=arguments[a];r.props.contextValue.onSearchForFacetValues((t=e.searchForFacetValues).call.apply(t,[d(r),r.props,r.props.contextValue.store.getState().widgets].concat(i)))}),e.getSearchParameters&&r.props.contextValue.onSearchParameters(e.getSearchParameters.bind(d(r)),{ais:r.props.contextValue,multiIndexContext:r.props.indexContextValue},r.props,e.getMetadata&&e.getMetadata.bind(d(r)),e.displayName),r}return l=[{key:"componentDidMount",value:function(){var e=this;this.cleanupTimerRef&&(clearTimeout(this.cleanupTimerRef),this.cleanupTimerRef=null),this.unsubscribe=this.props.contextValue.store.subscribe(function(){e.isUnmounting||e.setState({providedProps:e.getProvidedProps(e.props)})}),t&&(this.unregisterWidget=this.props.contextValue.widgetsManager.registerWidget(this))}},{key:"shouldComponentUpdate",value:function(t,r){if("function"==typeof e.shouldComponentUpdate)return e.shouldComponentUpdate.call(this,this.props,t,this.state,r);var n=(0,s.bN)(this.props,t);return null===this.state.providedProps||null===r.providedProps?this.state.providedProps!==r.providedProps||!n:!n||!(0,s.bN)(this.state.providedProps,r.providedProps)}},{key:"componentDidUpdate",value:function(r){!a()(r,this.props)&&(this.setState({providedProps:this.getProvidedProps(this.props)}
1),t&&(this.props.contextValue.widgetsManager.update(),"function"==typeof e.transitionState&&this.props.contextValue.onSearchStateChange(e.transitionState.call(this,this.props,this.props.contextValue.store.getState().widgets,this.props.contextValue.store.getState().widgets))))}},{key:"componentWillUnmount",value:function(){var t=this;this.cleanupTimerRef=setTimeout(function(){if(t.isUnmounting=!0,t.unsubscribe&&t.unsubscribe(),t.unregisterWidget&&(t.unregisterWidget(),"function"==typeof e.cleanUp)){var r=e.cleanUp.call(t,t.props,t.props.contextValue.store.getState().widgets);t.props.contextValue.store.setState(h(h({},t.props.contextValue.store.getState()),{},{widgets:r})),t.props.contextValue.onSearchStateChange((0,s.tU)(r))}})}},{key:"getProvidedProps",value:function(t){var r=this.props.contextValue.store.getState(),n=r.widgets,i=r.results,a=r.resultsFacetValues,o=r.searching,s=r.searchingForFacetValues,c=r.isSearchStalled,u=r.metadata,f=r.error;return e.getProvidedProps.call(this,t,n,{results:i,searching:o,searchingForFacetValues:s,isSearchStalled:c,error:f},u,a)}},{key:"getSearchParameters",value:function(t){return"function"==typeof e.getSearchParameters?e.getSearchParameters.call(this,t,this.props,this.props.contextValue.store.getState().widgets):null}},{key:"getMetadata",value:function(t){return"function"==typeof e.getMetadata?e.getMetadata.call(this,this.props,t):{}}},{key:"transitionState",value:function(t,r){return"function"==typeof e.transitionState?e.transitionState.call(this,this.props,t,r):r}},{key:"render",value:function(){var t=this.props,i=(t.contextValue,function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(t,c)),a=this.state.providedProps;if(null===a)return null;var o="function"==typeof e.refine?{refine:this.refine,createURL:this.createURL}:{},s="function"==typeof e.searchForFacetValues?{searchForItems:this.searchForFacetValues}:{};return n.createElement(r,f({},i,a,o,s))}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,v(n.key),n)}}(b.prototype,l),Object.defineProperty(b,"prototype",{writable:!1}),b}(n.Component);return y(o,"displayName","".concat(e.displayName,"(").concat((0,s.Mn)(r),")")),y(o,"$$type",e.$$type),y(o,"$$widgetType",i.$$widgetType),y(o,"propTypes",e.propTypes),y(o,"defaultProps",e.defaultProps),y(o,"_connectorDesc",e),o}})(e)(t,r);return function(e){return n.createElement(o.Cx,null,function(t){return n.createElement(o.tv,null,function(r){return n.createElement(i,f({contextValue:t,indexContextValue:r},e))})})}}}},36425:(e,t,r)=>{"use strict";r.d(t,{Ou:()=>p,_1:()=>h,ei:()=>f,h1:()=>u,xM:()=>function e(t,r,n,i,a){if(!f(n)){return t.indices&&i&&Object.keys(t.indices).forEach(function(r){t=e(t,{page:1},{multiIndexContext:{targetedIndex:r}},!0,a)}),a?(u=t,l=r,h=i,p=a,o(o({},u),{},s({},p,o(o({},u[p]),l)),h?{page:1}:void 0)):(d=t,m=r,y=i,o(o(o({},d),m),y?{page:1}:void 0))}var u,l,h,p,d,m,y,v,g,b,O,R,P,j,S,x,F,w,E,_=c(n);return a?(v=t,g=r,b=_,O=i,R=a,j=v.indices&&v.indices[b]?o(o({},v.indices),{},s({},b,o(o({},v.indices[b]),{},(s(P={},R,o(o({},v.indices[b][R]),g)),s(P,"page",1),P)))):o(o({},v.indices),{},s({},b,o(s({},R,g),O?{page:1}:void 0))),o(o({},v),{},{indices:j})):(S=t,x=r,F=_,w=i?{page:1}:void 0,E=S.indices&&S.indices[F]?o(o({},S.indices),{},s({},F,o(o(o({},S.indices[F]),x),w))):o(o({},S.indices),{},s({},F,o(o({},x),w))),o(o({},S),{},{indices:E}))},yO:()=>c});var n=r(9117);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?a(Object(r),!0).forEach(function(t){s(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function s(e,t,r){var n;return(n=function(e,t){if("object"!==i(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==i(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"===i(n)?n:String(n))in e)?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e){return f(e)?e.multiIndexContext.targetedIndex:e.ais.mainTargetedIndex}function u(e,t){if(e.results){if(e.results.hits)return e.results;var r=c(t);if(e.results[r])return e.results[r]}return null}function f(e){return e&&e.multiIndexContext}function l(e){var t=e.match(/^([^.]*)\.(.*)/);return{namespace:t&&t[1],attributeName:t&&t[2]}}function h(e,t,r,n,i){var a,o,s,u,h,p,d,m,y,v,g,b,O=c(r),R=l(n),P=R.namespace,j=R.attributeName,S={multiIndex:f(r),indexId:O,namespace:P,attributeName:j,id:n,searchState:t};return(a=S.multiIndex,o=S.indexId,s=S.namespace,u=S.attributeName,h=S.id,p=S.searchState,a&&s?p.indices&&p.indices[o]&&p.indices[o][s]&&Object.hasOwnProperty.call(p.indices[o][s],u):a?p.indices&&p.indices[o]&&Object.hasOwnProperty.call(p.indices[o],h):s?p[s]&&Object.hasOwnProperty.call(p[s],u):Object.hasOwnProperty.call(p,h))?(d=S.multiIndex,m=S.indexId,y=S.namespace,v=S.attributeName,g=S.id,b=S.searchState,d&&y?b.indices[m][y][v]:d?b.indices[m][g]:y?b[y][v]:b[g]):e.defaultRefinement?e.defaultRefinement:i}function p(e,t,r){var i,a,u,h,p,d,m,y,v,g,b,O,R=c(t),P=l(r),j=P.namespace,S=P.attributeName;return f(t)&&e.indices?(a=(i={attribute:S,searchState:e,indexId:R,id:r,namespace:j}).searchState,u=i.indexId,h=i.id,p=i.namespace,d=i.attribute,m=a.indices[u],p&&m?o(o({},a),{},{indices:o(o({},a.indices),{},s({},u,o(o({},m),{},s({},p,(0,n.cJ)(m[p],[d])))))}):m?o(o({},a),{},{indices:o(o({},a.indices),{},s({},u,(0,n.cJ)(m,[h])))}):a):(v=(y={attribute:S,searchState:e,id:r,namespace:j}).searchState,g=y.id,b=y.namespace,O=y.attribute,b?o(o({},v),{},s({},b,(0,n.cJ)(v[b],[O]))):(0,n.cJ)(v,[g]))}},41439:(e,t,r)=>{"use strict";r.d(t,{Cx:()=>a,tv:()=>c,vi:()=>o});var n=r(41728),i=(0,n.createContext)({onInternalStateUpdate:function(){},createHrefForState:function(){return"#"},onSearchForFacetValues:function(){},onSearchStateChange:function(){},onSearchParameters:function(){},store:{},widgetsManager:{},mainTargetedIndex:""}),a=i.Consumer,o=i.Provider,s=(0,n.createContext)(void 0),c=s.Consumer;s.Provider},43975:e=>{"use strict";e.exports=function(e){return e&&Object.keys(e).length>0}},45633:e=>{"use strict";e.exports={escapeFacetValue:function(e){return"string"!=typeof e?e:String(e).replace(/^-/,"\\-")},unescapeFacetValue:function(e){return"string"!=typeof e?e:e.replace(/^\\-/,"-")}}},49169:(e,t,r)=>{"use strict";r.d(t,{ZH:()=>c,p:()=>o,sP:()=>s,y1:()=>u});var n=r(33199),i=r.n(n);function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"ais";return function(){for(var r=arguments.length,n=Array(r),a=0;a<r;a++)n[a]=arguments[a];var o=n.filter(function(e){return e||""===e}).map(function(r){var n="".concat(t,"-").concat(e);return r?"".concat(n,"-").concat(r):n});return i()(o)}},s=function(e){return!!(1===e.button||e.altKey||e.ctrlKey||e.metaKey||e.shiftKey)},c=function(e){return 0===e.length?"":"".concat(e[0].toUpperCase()).concat(e.slice(1))};function u(e){var t,r=e.start,n=void 0===r?0:r,i=e.end,o=e.step,s=void 0===o?1:o,c=0===s?1:s;return((function(e){if(Array.isArray(e))return a(e)})(t=Array(Math.round((i-n)/c)))||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return a(e,void 0);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return a(e,t)}}(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).map(function(e,t){return(n+t)*c})}},51431:(e,t,r)=>{"use strict";var n=r(1119),i=r(12262),a=r(45633).escapeFacetValue,o=r(75614),s=r(23802),c=r(43975),u=r(64439),f=r(76776),l=r(67727),h=r(71537),p=r(84032);function d(e,t,r){"function"==typeof e.addAlgoliaAgent&&e.addAlgoliaAgent("JS Helper ("+p+")"),this.setClient(e);var n=r||{};n.index=t,this.state=l.make(n),this.lastResults=null,this._queryId=0,this._lastQueryIdReceived=-1,this.derivedHelpers=[],this._currentNbQueries=0}function m(e){if(e<0)throw Error("Page requested below 0.");return this._change({state:this.state.setPage(e),isPageReset:!1}),this}function y(){return this.state.page}o(d,n),d.prototype.search=function(){return this._search({onlyWithDerivedHelpers:!1}),this},d.prototype.searchOnlyWithDerivedHelpers=function(){return this._search({onlyWithDerivedHelpers:!0}),this},d.prototype.getQuery=function(){var e=this.state;return f._getHitsSearchParams(e)},d.prototype.searchOnce=function(e,t){var r=e?this.state.setQueryParameters(e):this.state,n=f._getQueries(r.index,r),i=this;
1return(this._currentNbQueries++,this.emit("searchOnce",{state:r}),t)?void this.client.search(n).then(function(e){i._currentNbQueries--,0===i._currentNbQueries&&i.emit("searchQueueEmpty"),t(null,new h(r,e.results),r)}).catch(function(e){i._currentNbQueries--,0===i._currentNbQueries&&i.emit("searchQueueEmpty"),t(e,null,r)}):this.client.search(n).then(function(e){return i._currentNbQueries--,0===i._currentNbQueries&&i.emit("searchQueueEmpty"),{content:new h(r,e.results),state:r,_originalResponse:e}},function(e){throw i._currentNbQueries--,0===i._currentNbQueries&&i.emit("searchQueueEmpty"),e})},d.prototype.findAnswers=function(e){console.warn("[algoliasearch-helper] answers is no longer supported");var t=this.state,r=this.derivedHelpers[0];if(!r)return Promise.resolve([]);var n=r.getModifiedState(t),i=s({attributesForPrediction:e.attributesForPrediction,nbHits:e.nbHits},{params:u(f._getHitsSearchParams(n),["attributesToSnippet","hitsPerPage","restrictSearchableAttributes","snippetEllipsisText"])}),a="search for answers was called, but this client does not have a function client.initIndex(index).findAnswers";if("function"!=typeof this.client.initIndex)throw Error(a);var o=this.client.initIndex(n.index);if("function"!=typeof o.findAnswers)throw Error(a);return o.findAnswers(n.query,e.queryLanguages,i)},d.prototype.searchForFacetValues=function(e,t,r,n){var i,o="function"==typeof this.client.searchForFacetValues,s="function"==typeof this.client.initIndex;if(!o&&!s&&"function"!=typeof this.client.search)throw Error("search for facet values (searchable) was called, but this client does not have a function client.searchForFacetValues or client.initIndex(index).searchForFacetValues");var c=this.state.setQueryParameters(n||{}),u=c.isDisjunctiveFacet(e),l=f.getSearchForFacetQuery(e,t,r,c);this._currentNbQueries++;var h=this;return o?i=this.client.searchForFacetValues([{indexName:c.index,params:l}]):s?i=this.client.initIndex(c.index).searchForFacetValues(l):(delete l.facetName,i=this.client.search([{type:"facet",facet:e,indexName:c.index,params:l}]).then(function(e){return e.results[0]})),this.emit("searchForFacetValues",{state:c,facet:e,query:t}),i.then(function(t){return h._currentNbQueries--,0===h._currentNbQueries&&h.emit("searchQueueEmpty"),(t=Array.isArray(t)?t[0]:t).facetHits.forEach(function(t){t.escapedValue=a(t.value),t.isRefined=u?c.isDisjunctiveFacetRefined(e,t.escapedValue):c.isFacetRefined(e,t.escapedValue)}),t},function(e){throw h._currentNbQueries--,0===h._currentNbQueries&&h.emit("searchQueueEmpty"),e})},d.prototype.setQuery=function(e){return this._change({state:this.state.resetPage().setQuery(e),isPageReset:!0}),this},d.prototype.clearRefinements=function(e){return this._change({state:this.state.resetPage().clearRefinements(e),isPageReset:!0}),this},d.prototype.clearTags=function(){return this._change({state:this.state.resetPage().clearTags(),isPageReset:!0}),this},d.prototype.addDisjunctiveFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().addDisjunctiveFacetRefinement(e,t),isPageReset:!0}),this},d.prototype.addDisjunctiveRefine=function(){return this.addDisjunctiveFacetRefinement.apply(this,arguments)},d.prototype.addHierarchicalFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().addHierarchicalFacetRefinement(e,t),isPageReset:!0}),this},d.prototype.addNumericRefinement=function(e,t,r){return this._change({state:this.state.resetPage().addNumericRefinement(e,t,r),isPageReset:!0}),this},d.prototype.addFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().addFacetRefinement(e,t),isPageReset:!0}),this},d.prototype.addRefine=function(){return this.addFacetRefinement.apply(this,arguments)},d.prototype.addFacetExclusion=function(e,t){return this._change({state:this.state.resetPage().addExcludeRefinement(e,t),isPageReset:!0}),this},d.prototype.addExclude=function(){return this.addFacetExclusion.apply(this,arguments)},d.prototype.addTag=function(e){return this._change({state:this.state.resetPage().addTagRefinement(e),isPageReset:!0}),this},d.prototype.removeNumericRefinement=function(e,t,r){return this._change({state:this.state.resetPage().removeNumericRefinement(e,t,r),isPageReset:!0}),this},d.prototype.removeDisjunctiveFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().removeDisjunctiveFacetRefinement(e,t),isPageReset:!0}),this},d.prototype.removeDisjunctiveRefine=function(){return this.removeDisjunctiveFacetRefinement.apply(this,arguments)},d.prototype.removeHierarchicalFacetRefinement=function(e){return this._change({state:this.state.resetPage().removeHierarchicalFacetRefinement(e),isPageReset:!0}),this},d.prototype.removeFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().removeFacetRefinement(e,t),isPageReset:!0}),this},d.prototype.removeRefine=function(){return this.removeFacetRefinement.apply(this,arguments)},d.prototype.removeFacetExclusion=function(e,t){return this._change({state:this.state.resetPage().removeExcludeRefinement(e,t),isPageReset:!0}),this},d.prototype.removeExclude=function(){return this.removeFacetExclusion.apply(this,arguments)},d.prototype.removeTag=function(e){return this._change({state:this.state.resetPage().removeTagRefinement(e),isPageReset:!0}),this},d.prototype.toggleFacetExclusion=function(e,t){return this._change({state:this.state.resetPage().toggleExcludeFacetRefinement(e,t),isPageReset:!0}),this},d.prototype.toggleExclude=function(){return this.toggleFacetExclusion.apply(this,arguments)},d.prototype.toggleRefinement=function(e,t){return this.toggleFacetRefinement(e,t)},d.prototype.toggleFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().toggleFacetRefinement(e,t),isPageReset:!0}),this},d.prototype.toggleRefine=function(){return this.toggleFacetRefinement.apply(this,arguments)},d.prototype.toggleTag=function(e){return this._change({state:this.state.resetPage().toggleTagRefinement(e),isPageReset:!0}),this},d.prototype.nextPage=function(){var e=this.state.page||0;return this.setPage(e+1)},d.prototype.previousPage=function(){var e=this.state.page||0;return this.setPage(e-1)},d.prototype.setCurrentPage=m,d.prototype.setPage=m,d.prototype.setIndex=function(e){return this._change({state:this.state.resetPage().setIndex(e),isPageReset:!0}),this},d.prototype.setQueryParameter=function(e,t){return this._change({state:this.state.resetPage().setQueryParameter(e,t),isPageReset:!0}),this},d.prototype.setState=function(e){return this._change({state:l.make(e),isPageReset:!1}),this},d.prototype.overrideStateWithoutTriggeringChangeEvent=function(e){return this.state=new l(e),this}
1,d.prototype.hasRefinements=function(e){return!!c(this.state.getNumericRefinements(e))||(this.state.isConjunctiveFacet(e)?this.state.isFacetRefined(e):this.state.isDisjunctiveFacet(e)?this.state.isDisjunctiveFacetRefined(e):!!this.state.isHierarchicalFacet(e)&&this.state.isHierarchicalFacetRefined(e))},d.prototype.isExcluded=function(e,t){return this.state.isExcludeRefined(e,t)},d.prototype.isDisjunctiveRefined=function(e,t){return this.state.isDisjunctiveFacetRefined(e,t)},d.prototype.hasTag=function(e){return this.state.isTagRefined(e)},d.prototype.isTagRefined=function(){return this.hasTagRefinements.apply(this,arguments)},d.prototype.getIndex=function(){return this.state.index},d.prototype.getCurrentPage=y,d.prototype.getPage=y,d.prototype.getTags=function(){return this.state.tagRefinements},d.prototype.getRefinements=function(e){var t=[];this.state.isConjunctiveFacet(e)?(this.state.getConjunctiveRefinements(e).forEach(function(e){t.push({value:e,type:"conjunctive"})}),this.state.getExcludeRefinements(e).forEach(function(e){t.push({value:e,type:"exclude"})})):this.state.isDisjunctiveFacet(e)&&this.state.getDisjunctiveRefinements(e).forEach(function(e){t.push({value:e,type:"disjunctive"})});var r=this.state.getNumericRefinements(e);return Object.keys(r).forEach(function(e){var n=r[e];t.push({value:n,operator:e,type:"numeric"})}),t},d.prototype.getNumericRefinement=function(e,t){return this.state.getNumericRefinement(e,t)},d.prototype.getHierarchicalFacetBreadcrumb=function(e){return this.state.getHierarchicalFacetBreadcrumb(e)},d.prototype._search=function(e){var t=this.state,r=[],n=[];e.onlyWithDerivedHelpers||(n=f._getQueries(t.index,t),r.push({state:t,queriesCount:n.length,helper:this}),this.emit("search",{state:t,results:this.lastResults}));var i=this.derivedHelpers.map(function(e){var n=e.getModifiedState(t),i=n.index?f._getQueries(n.index,n):[];return r.push({state:n,queriesCount:i.length,helper:e}),e.emit("search",{state:n,results:e.lastResults}),i}),a=Array.prototype.concat.apply(n,i),o=this._queryId++;if(this._currentNbQueries++,!a.length)return Promise.resolve({results:[]}).then(this._dispatchAlgoliaResponse.bind(this,r,o));try{this.client.search(a).then(this._dispatchAlgoliaResponse.bind(this,r,o)).catch(this._dispatchAlgoliaError.bind(this,o))}catch(e){this.emit("error",{error:e})}},d.prototype._dispatchAlgoliaResponse=function(e,t,r){if(!(t<this._lastQueryIdReceived)){this._currentNbQueries-=t-this._lastQueryIdReceived,this._lastQueryIdReceived=t,0===this._currentNbQueries&&this.emit("searchQueueEmpty");var n=r.results.slice();e.forEach(function(e){var t=e.state,r=e.queriesCount,i=e.helper,a=n.splice(0,r);if(!t.index)return void i.emit("result",{results:null,state:t});i.lastResults=new h(t,a),i.emit("result",{results:i.lastResults,state:t})})}},d.prototype._dispatchAlgoliaError=function(e,t){e<this._lastQueryIdReceived||(this._currentNbQueries-=e-this._lastQueryIdReceived,this._lastQueryIdReceived=e,this.emit("error",{error:t}),0===this._currentNbQueries&&this.emit("searchQueueEmpty"))},d.prototype.containsRefinement=function(e,t,r,n){return e||0!==t.length||0!==r.length||0!==n.length},d.prototype._hasDisjunctiveRefinements=function(e){return this.state.disjunctiveRefinements[e]&&this.state.disjunctiveRefinements[e].length>0},d.prototype._change=function(e){var t=e.state,r=e.isPageReset;t!==this.state&&(this.state=t,this.emit("change",{state:this.state,results:this.lastResults,isPageReset:r}))},d.prototype.clearCache=function(){return this.client.clearCache&&this.client.clearCache(),this},d.prototype.setClient=function(e){return this.client===e||("function"==typeof e.addAlgoliaAgent&&e.addAlgoliaAgent("JS Helper ("+p+")"),this.client=e),this},d.prototype.getClient=function(){return this.client},d.prototype.derive=function(e){var t=new i(this,e);return this.derivedHelpers.push(t),t},d.prototype.detachDerivedHelper=function(e){var t=this.derivedHelpers.indexOf(e);if(-1===t)throw Error("Derived helper already detached");this.derivedHelpers.splice(t,1)},d.prototype.hasPendingRequests=function(){return this._currentNbQueries>0},e.exports=d},58377:(e,t,r)=>{"use strict";var n=r(51431),i=r(67727),a=r(71537);function o(e,t,r){return new n(e,t,r)}o.version=r(84032),o.AlgoliaSearchHelper=n,o.SearchParameters=i,o.SearchResults=a,e.exports=o},61449:(e,t,r)=>{"use strict";var n=r(15385);e.exports=function(e,t){var r=(t||[]).map(function(e){return e.split(":")});return e.reduce(function(e,t){var i=t.split(":"),a=n(r,function(e){return e[0]===i[0]});return i.length>1||!a?(e[0].push(i[0]),e[1].push(i[1])):(e[0].push(a[0]),e[1].push(a[1])),e},[[],[]])}},64439:e=>{"use strict";e.exports=function(e,t){if(null===e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}},65585:(e,t,r)=>{"use strict";r.d(t,{A:()=>N});var n=r(83542),i=r.n(n),a=r(35619),o=r(36425);function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(){return"query"}function u(e,t,r){var n=c(e),i=(0,o._1)(e,t,r,n,"");return i||""}function f(e,t,r,n){var i,a,u,f=(a={},u=c(),(i=function(e,t){if("object"!==s(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==s(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(u,"string"),(u="symbol"===s(i)?i:String(i))in a)?Object.defineProperty(a,u,{value:r,enumerable:!0,configurable:!0,writable:!0}):a[u]=r,a);return(0,o.xM)(t,f,n,!0)}
1let l=(0,a.A)({displayName:"AlgoliaSearchBox",$$type:"ais.searchBox",propTypes:{defaultRefinement:i().string},getProvidedProps:function(e,t,r){return{currentRefinement:u(e,t,{ais:e.contextValue,multiIndexContext:e.indexContextValue}),isSearchStalled:r.isSearchStalled}},refine:function(e,t,r){return f(e,t,r,{ais:e.contextValue,multiIndexContext:e.indexContextValue})},cleanUp:function(e,t){var r;return r={ais:e.contextValue,multiIndexContext:e.indexContextValue},(0,o.Ou)(t,r,c())},getSearchParameters:function(e,t,r){return e.setQuery(u(t,r,{ais:t.contextValue,multiIndexContext:t.indexContextValue}))},getMetadata:function(e,t){var r=c(e),n=u(e,t,{ais:e.contextValue,multiIndexContext:e.indexContextValue});return{id:r,index:(0,o.yO)({ais:e.contextValue,multiIndexContext:e.indexContextValue}),items:null===n?[]:[{label:"".concat(r,": ").concat(n),value:function(t){return f(e,t,"",{ais:e.contextValue,multiIndexContext:e.indexContextValue})},currentRefinement:n}]}}});var h=r(33199),p=r.n(h),d=r(41728),m=r(89223),y=r(49169);function v(e){return(v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function g(){return(g=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function b(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function O(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?b(Object(r),!0).forEach(function(t){S(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):b(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function R(e,t){return(R=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function P(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function j(e){return(j=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function S(e,t,r){return(t=x(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function x(e){var t=function(e,t){if("object"!==v(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==v(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===v(t)?t:String(t)}var F=(0,y.p)("SearchBox"),w=d.createElement("svg",{width:"18",height:"18",viewBox:"0 0 38 38",xmlns:"http://www.w3.org/2000/svg",stroke:"#444",className:F("loadingIcon"),"aria-hidden":"true"},d.createElement("g",{fill:"none",fillRule:"evenodd"},d.createElement("g",{transform:"translate(1 1)",strokeWidth:"2"},d.createElement("circle",{strokeOpacity:".5",cx:"18",cy:"18",r:"18"}),d.createElement("path",{d:"M36 18c0-9.94-8.06-18-18-18"},d.createElement("animateTransform",{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"1s",repeatCount:"indefinite"}))))),E=d.createElement("svg",{className:F("resetIcon"),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",width:"10",height:"10","aria-hidden":"true"},d.createElement("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"})),_=d.createElement("svg",{className:F("submitIcon"),xmlns:"http://www.w3.org/2000/svg",width:"10",height:"10",viewBox:"0 0 40 40","aria-hidden":"true"},d.createElement("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"})),C=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");i.prototype=Object.create(e&&e.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),e&&R(i,e);var t,r,n=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,r=j(i);return e=t?Reflect.construct(r,arguments,j(this).constructor):r.apply(this,arguments),function(e,t){if(t&&("object"===v(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return P(e)}(this,e)});function i(e){var t;if(!(this instanceof i))throw TypeError("Cannot call a class as a function");return S(P(t=n.call(this)),"getQuery",function(){return t.props.searchAsYouType?t.props.currentRefinement:t.state.query}
1),S(P(t),"onInputMount",function(e){t.input=e,t.props.inputRef&&("function"==typeof t.props.inputRef?t.props.inputRef(e):t.props.inputRef.current=e)}),S(P(t),"onKeyDown",function(e){if(t.props.focusShortcuts){var r=t.props.focusShortcuts.map(function(e){return"string"==typeof e?e.toUpperCase().charCodeAt(0):e}),n=e.target||e.srcElement,i=n.tagName;if(!n.isContentEditable&&"INPUT"!==i&&"SELECT"!==i&&"TEXTAREA"!==i){var a=e.which||e.keyCode;-1!==r.indexOf(a)&&(t.input.focus(),e.stopPropagation(),e.preventDefault())}}}),S(P(t),"onSubmit",function(e){e.preventDefault(),e.stopPropagation(),t.input.blur();var r=t.props,n=r.refine;return r.searchAsYouType||n(t.getQuery()),!1}),S(P(t),"onChange",function(e){var r=t.props,n=r.searchAsYouType,i=r.refine,a=r.onChange,o=e.target.value;n?i(o):t.setState({query:o}),a&&a(e)}),S(P(t),"onReset",function(e){var r=t.props,n=r.searchAsYouType,i=r.refine,a=r.onReset;i(""),t.input.focus(),n||t.setState({query:""}),a&&a(e)}),t.state={query:e.searchAsYouType?null:e.currentRefinement},t}return r=[{key:"componentDidMount",value:function(){document.addEventListener("keydown",this.onKeyDown)}},{key:"componentWillUnmount",value:function(){document.removeEventListener("keydown",this.onKeyDown)}},{key:"componentDidUpdate",value:function(e){this.props.searchAsYouType||e.currentRefinement===this.props.currentRefinement||this.setState({query:this.props.currentRefinement})}},{key:"render",value:function(){var e=this,t=this.props,r=t.className,n=t.inputId,i=t.translate,a=t.autoFocus,o=t.loadingIndicator,s=t.submit,c=t.reset,u=this.getQuery(),f=Object.keys(this.props).reduce(function(t,r){return -1===["onsubmit","onreset","onchange"].indexOf(r.toLowerCase())&&0===r.indexOf("on")?O(O({},t),{},S({},r,e.props[r])):t},{}),l=this.props.showLoadingIndicator&&this.props.isSearchStalled;return d.createElement("div",{className:p()(F(""),r)},d.createElement("form",{ref:this.props.formRef,noValidate:!0,onSubmit:this.props.onSubmit?this.props.onSubmit:this.onSubmit,onReset:this.onReset,className:F("form",l&&"form--stalledSearch"),action:"",role:"search"},d.createElement("input",g({ref:this.onInputMount,id:n,type:"search",placeholder:i("placeholder"),autoFocus:a,autoComplete:"off",autoCorrect:"off",autoCapitalize:"off",spellCheck:"false",required:!0,maxLength:"512",value:u,onChange:this.onChange},f,{className:F("input")})),d.createElement("button",{type:"submit",title:i("submitTitle"),className:F("submit")},s),d.createElement("button",{type:"reset",title:i("resetTitle"),className:F("reset"),hidden:!u||l},c),this.props.showLoadingIndicator&&d.createElement("span",{hidden:!l,className:F("loadingIndicator")},o)))}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,x(n.key),n)}}(i.prototype,r),Object.defineProperty(i,"prototype",{writable:!1}),i}(d.Component);S(C,"propTypes",{currentRefinement:i().string,className:i().string,refine:i().func.isRequired,translate:i().func.isRequired,loadingIndicator:i().node,reset:i().node,submit:i().node,focusShortcuts:i().arrayOf(i().oneOfType([i().string,i().number])),autoFocus:i().bool,searchAsYouType:i().bool,onSubmit:i().func,onReset:i().func,onChange:i().func,isSearchStalled:i().bool,showLoadingIndicator:i().bool,formRef:i().oneOfType([i().func,i().exact({current:i().object})]),inputRef:i().oneOfType([i().func,i().exact({current:i().object})]),inputId:i().string}),S(C,"defaultProps",{currentRefinement:"",className:"",focusShortcuts:["s","/"],autoFocus:!1,searchAsYouType:!0,showLoadingIndicator:!1,isSearchStalled:!1,loadingIndicator:w,reset:E,submit:_});let N=l((0,m.A)({resetTitle:"Clear the search query.",submitTitle:"Submit your search query.",placeholder:"Search hereâ¦"})(C),{$$widgetType:"ais.searchBox"})},66395:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(35619),i=r(36425),a=r(9117);let o=(0,n.A)({displayName:"AlgoliaHits",$$type:"ais.hits",getProvidedProps:function(e,t,r){var n=(0,i.h1)(r,{ais:e.contextValue,multiIndexContext:e.indexContextValue});if(!n)return{hits:[]};var o=(0,a.Zp)(n.hits,n.hitsPerPage,n.page);return{hits:(0,a.PD)(o,n.queryID)}},getSearchParameters:function(e){return e}})},67727:(e,t,r)=>{"use strict";var n=r(17266),i=r(15385),a=r(99167),o=r(23802),s=r(43975),c=r(64439),u=r(95021),f=r(28324),l=r(75828);function h(e,t){return Array.isArray(e)&&Array.isArray(t)?e.length===t.length&&e.every(function(e,r){return h(t[r],e)}):e===t}function p(e){var t=e?p._parseNumbers(e):{};void 0===t.userToken||f(t.userToken)||console.warn("[algoliasearch-helper] The `userToken` parameter is invali
1d. This can lead to wrong analytics.\n - Format: [a-zA-Z0-9_-]{1,64}"),this.facets=t.facets||[],this.disjunctiveFacets=t.disjunctiveFacets||[],this.hierarchicalFacets=t.hierarchicalFacets||[],this.facetsRefinements=t.facetsRefinements||{},this.facetsExcludes=t.facetsExcludes||{},this.disjunctiveFacetsRefinements=t.disjunctiveFacetsRefinements||{},this.numericRefinements=t.numericRefinements||{},this.tagRefinements=t.tagRefinements||[],this.hierarchicalFacetsRefinements=t.hierarchicalFacetsRefinements||{};var r=this;Object.keys(t).forEach(function(e){var n=-1!==p.PARAMETERS.indexOf(e),i=void 0!==t[e];!n&&i&&(r[e]=t[e])})}p.PARAMETERS=Object.keys(new p),p._parseNumbers=function(e){if(e instanceof p)return e;var t={};if(["aroundPrecision","aroundRadius","getRankingInfo","minWordSizefor2Typos","minWordSizefor1Typo","page","maxValuesPerFacet","distinct","minimumAroundRadius","hitsPerPage","minProximity"].forEach(function(r){var n=e[r];if("string"==typeof n){var i=parseFloat(n);t[r]=isNaN(i)?n:i}}),Array.isArray(e.insideBoundingBox)&&(t.insideBoundingBox=e.insideBoundingBox.map(function(e){return Array.isArray(e)?e.map(function(e){return parseFloat(e)}):e})),e.numericRefinements){var r={};Object.keys(e.numericRefinements).forEach(function(t){var n=e.numericRefinements[t]||{};r[t]={},Object.keys(n).forEach(function(e){var i=n[e].map(function(e){return Array.isArray(e)?e.map(function(e){return"string"==typeof e?parseFloat(e):e}):"string"==typeof e?parseFloat(e):e});r[t][e]=i})}),t.numericRefinements=r}return o({},e,t)},p.make=function(e){var t=new p(e);return(e.hierarchicalFacets||[]).forEach(function(e){if(e.rootPath){var r=t.getHierarchicalRefinement(e.name);r.length>0&&0!==r[0].indexOf(e.rootPath)&&(t=t.clearRefinements(e.name)),0===(r=t.getHierarchicalRefinement(e.name)).length&&(t=t.toggleHierarchicalFacetRefinement(e.name,e.rootPath))}}),t},p.validate=function(e,t){var r=t||{};return e.tagFilters&&r.tagRefinements&&r.tagRefinements.length>0?Error("[Tags] Cannot switch from the managed tag API to the advanced API. It is probably an error, if it is really what you want, you should first clear the tags with clearTags method."):e.tagRefinements.length>0&&r.tagFilters?Error("[Tags] Cannot switch from the advanced tag API to the managed API. It is probably an error, if it is not, you should first clear the tags with clearTags method."):e.numericFilters&&r.numericRefinements&&s(r.numericRefinements)?Error("[Numeric filters] Can't switch from the advanced to the managed API. It is probably an error, if this is really what you want, you have to first clear the numeric filters."):s(e.numericRefinements)&&r.numericFilters?Error("[Numeric filters] Can't switch from the managed API to the advanced. It is probably an error, if this is really what you want, you have to first clear the numeric filters."):null},p.prototype={constructor:p,clearRefinements:function(e){var t={numericRefinements:this._clearNumericRefinements(e),facetsRefinements:l.clearRefinement(this.facetsRefinements,e,"conjunctiveFacet"),facetsExcludes:l.clearRefinement(this.facetsExcludes,e,"exclude"),disjunctiveFacetsRefinements:l.clearRefinement(this.disjunctiveFacetsRefinements,e,"disjunctiveFacet"),hierarchicalFacetsRefinements:l.clearRefinement(this.hierarchicalFacetsRefinements,e,"hierarchicalFacet")};return t.numericRefinements===this.numericRefinements&&t.facetsRefinements===this.facetsRefinements&&t.facetsExcludes===this.facetsExcludes&&t.disjunctiveFacetsRefinements===this.disjunctiveFacetsRefinements&&t.hierarchicalFacetsRefinements===this.hierarchicalFacetsRefinements?this:this.setQueryParameters(t)},clearTags:function(){return void 0===this.tagFilters&&0===this.tagRefinements.length?this:this.setQueryParameters({tagFilters:void 0,tagRefinements:[]})},setIndex:function(e){return e===this.index?this:this.setQueryParameters({index:e})},setQuery:function(e){return e===this.query?this:this.setQueryParameters({query:e})},setPage:function(e){return e===this.page?this:this.setQueryParameters({page:e})},setFacets:function(e){return this.setQueryParameters({facets:e})},setDisjunctiveFacets:function(e){return this.setQueryParameters({disjunctiveFacets:e})},setHitsPerPage:function(e){return this.hitsPerPage===e?this:this.setQueryParameters({hitsPerPage:e})},setTypoTolerance:function(e){return this.typoTolerance===e?this:this.setQueryParameters({typoTolerance:e})},addNumericRefinement:function(e,t,r){var n=u(r);if(this.isNumericRefined(e,t,n))return this;var i=o({},this.numericRefinements);return i[e]=o({},i[e]),i[e][t]?(i[e][t]=i[e][t].slice(),i[e][t].push(n)):i[e][t]=[n],this.setQueryParameters({numericRefinements:i})},getConjunctiveRefinements:function(e){return this.isConjunctiveFacet(e)&&this.facetsRefinements[e]||[]},getDisjunctiveRefinements:function(e){return this.isDisjunctiveFacet(e)&&this.disjunctiveFacetsRefinements[e]||[]},getHierarchicalRefinement:function(e){return this.hierarchicalFacetsRefinements[e]||[]},getExcludeRefinements:function(e){return this.isConjunctiveFacet(e)&&this.facetsExcludes[e]||[]},removeNumericRefinement:function(e,t,r){return void 0!==r?this.isNumericRefined(e,t,r)?this.setQueryParameters({numericRefinements:this._clearNumericRefinements(function(n,i){return i===e&&n.op===t&&h(n.val,u(r))})}):this:void 0!==t?this.isNumericRefined(e,t)?this.setQueryParameters({numericRefinements:this._clearNumericRefinements(function(r,n){return n===e&&r.op===t})}):this:this.isNumericRefined(e)?this.setQueryParameters({numericRefinements:this._clearNumericRefinements(function(t,r){return r===e})}):this},getNumericRefinements:function(e){return this.numericRefinements[e]||{}},getNumericRefinement:function(e,t){return this.numericRefinements[e]&&this.numericRefinements[e][t]},_clearNumericRefinements:function(e){if(void 0===e)return s(this.numericRefinements)?{}:this.numericRefinements;if("string"==typeof e)return c(this.numericRefinements,[e]);if("function"==typeof e){var t=!1,r=this.numericRefinements,n=Object.keys(r).reduce(function(n,i){var a=r[i],o={};return Object.keys(a=a||{}
vendor: 8,286 bytes, line 1
1).forEach(function(r){var n=a[r]||[],s=[];n.forEach(function(t){e({val:t,op:r},i,"numeric")||s.push(t)}),s.length!==n.length&&(t=!0),o[r]=s}),n[i]=o,n},{});return t?n:this.numericRefinements}},addFacet:function(e){return this.isConjunctiveFacet(e)?this:this.setQueryParameters({facets:this.facets.concat([e])})},addDisjunctiveFacet:function(e){return this.isDisjunctiveFacet(e)?this:this.setQueryParameters({disjunctiveFacets:this.disjunctiveFacets.concat([e])})},addHierarchicalFacet:function(e){if(this.isHierarchicalFacet(e.name))throw Error("Cannot declare two hierarchical facets with the same name: `"+e.name+"`");return this.setQueryParameters({hierarchicalFacets:this.hierarchicalFacets.concat([e])})},addFacetRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw Error(e+" is not defined in the facets attribute of the helper configuration");return l.isRefined(this.facetsRefinements,e,t)?this:this.setQueryParameters({facetsRefinements:l.addRefinement(this.facetsRefinements,e,t)})},addExcludeRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw Error(e+" is not defined in the facets attribute of the helper configuration");return l.isRefined(this.facetsExcludes,e,t)?this:this.setQueryParameters({facetsExcludes:l.addRefinement(this.facetsExcludes,e,t)})},addDisjunctiveFacetRefinement:function(e,t){if(!this.isDisjunctiveFacet(e))throw Error(e+" is not defined in the disjunctiveFacets attribute of the helper configuration");return l.isRefined(this.disjunctiveFacetsRefinements,e,t)?this:this.setQueryParameters({disjunctiveFacetsRefinements:l.addRefinement(this.disjunctiveFacetsRefinements,e,t)})},addTagRefinement:function(e){if(this.isTagRefined(e))return this;var t={tagRefinements:this.tagRefinements.concat(e)};return this.setQueryParameters(t)},removeFacet:function(e){return this.isConjunctiveFacet(e)?this.clearRefinements(e).setQueryParameters({facets:this.facets.filter(function(t){return t!==e})}):this},removeDisjunctiveFacet:function(e){return this.isDisjunctiveFacet(e)?this.clearRefinements(e).setQueryParameters({disjunctiveFacets:this.disjunctiveFacets.filter(function(t){return t!==e})}):this},removeHierarchicalFacet:function(e){return this.isHierarchicalFacet(e)?this.clearRefinements(e).setQueryParameters({hierarchicalFacets:this.hierarchicalFacets.filter(function(t){return t.name!==e})}):this},removeFacetRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw Error(e+" is not defined in the facets attribute of the helper configuration");return l.isRefined(this.facetsRefinements,e,t)?this.setQueryParameters({facetsRefinements:l.removeRefinement(this.facetsRefinements,e,t)}):this},removeExcludeRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw Error(e+" is not defined in the facets attribute of the helper configuration");return l.isRefined(this.facetsExcludes,e,t)?this.setQueryParameters({facetsExcludes:l.removeRefinement(this.facetsExcludes,e,t)}):this},removeDisjunctiveFacetRefinement:function(e,t){if(!this.isDisjunctiveFacet(e))throw Error(e+" is not defined in the disjunctiveFacets attribute of the helper configuration");return l.isRefined(this.disjunctiveFacetsRefinements,e,t)?this.setQueryParameters({disjunctiveFacetsRefinements:l.removeRefinement(this.disjunctiveFacetsRefinements,e,t)}):this},removeTagRefinement:function(e){if(!this.isTagRefined(e))return this;var t={tagRefinements:this.tagRefinements.filter(function(t){return t!==e})};return this.setQueryParameters(t)},toggleRefinement:function(e,t){return this.toggleFacetRefinement(e,t)},toggleFacetRefinement:function(e,t){if(this.isHierarchicalFacet(e))return this.toggleHierarchicalFacetRefinement(e,t);if(this.isConjunctiveFacet(e))return this.toggleConjunctiveFacetRefinement(e,t);if(this.isDisjunctiveFacet(e))return this.toggleDisjunctiveFacetRefinement(e,t);throw Error("Cannot refine the undeclared facet "+e+"; it should be added to the helper options facets, disjunctiveFacets or hierarchicalFacets")},toggleConjunctiveFacetRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw Error(e+" is not defined in the facets attribute of the helper configuration");return this.setQueryParameters({facetsRefinements:l.toggleRefinement(this.facetsRefinements,e,t)})},toggleExcludeFacetRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw Error(e+" is not defined in the facets attribute of the helper configuration");return this.setQueryParameters({facetsExcludes:l.toggleRefinement(this.facetsExcludes,e,t)})},toggleDisjunctiveFacetRefinement:function(e,t){if(!this.isDisjunctiveFacet(e))throw Error(e+" is not defined in the disjunctiveFacets attribute of the helper configuration");return this.setQueryParameters({disjunctiveFacetsRefinements:l.toggleRefinement(this.disjunctiveFacetsRefinements,e,t)})},toggleHierarchicalFacetRefinement:function(e,t){if(!this.isHierarchicalFacet(e))throw Error(e+" is not defined in the hierarchicalFacets attribute of the helper configuration");var r=this._getHierarchicalFacetSeparator(this.getHierarchicalFacetByName(e)),i={};return void 0!==this.hierarchicalFacetsRefinements[e]&&this.hierarchicalFacetsRefinements[e].length>0&&(this.hierarchicalFacetsRefinements[e][0]===t||0===this.hierarchicalFacetsRefinements[e][0].indexOf(t+r))?-1===t.indexOf(r)?i[e]=[]:i[e]=[t.slice(0,t.lastIndexOf(r))]:i[e]=[t],this.setQueryParameters({hierarchicalFacetsRefinements:n({},i,this.hierarchicalFacetsRefinements)})},addHierarchicalFacetRefinement:function(e,t){if(this.isHierarchicalFacetRefined(e))throw Error(e+" is already refined.");if(!this.isHierarchicalFacet(e))throw Error(e+" is not defined in the hierarchicalFacets attribute of the helper configuration.");var r={};return r[e]=[t],this.setQueryParameters({hierarchicalFacetsRefinements:n({},r,this.hierarchicalFacetsRefinements)})},removeHierarchicalFacetRefinement:function(e){if(!this.isHierarchicalFacetRefined(e))return this;var t={};return t[e]=[],this.setQueryParameters({hierarchicalFacetsRefinements:n({},t,this.hierarchicalFacetsRefinements)})},toggleTagRefinement:function(e){return this.isTagRefined(e)?this.removeTagRefinement(e):this.addTagRefinement(e)},isDisjunctiveFacet:function(e){return this.disjunctiveFacets.indexOf(e)>-1},isHierarchicalFacet:function(e){return void 0!==this.getHierarchicalFacetByName(e)},isConjunctiveFacet:function(e){return this.facets.indexOf(e)>-1},isFacetRefined:function(e,t){return!!this.isConjunctiveFacet(e)&&l.isRefined(this.facetsRefinements,e,t)},isExcludeRefined:function(e,t){return!!this.isConjunctiveFacet(e)&&l.isRefined(this.facetsExcludes,e,t)},isDisjunctiveFacetRefined:function(e,t){return!!this.isDisjunctiveFacet(e)&&l.isRefined(this.disjunctiveFacetsRefinements,e,t)},isHierarchicalFacetRefined:function(e,t){if(!this.isHierarchicalFacet(e))return!1;var r=this.getHierarchicalRefinement(e);return t?-1!==r.indexOf(t):r.length>0},isNumericRefined:function(e,t,r){if(void 0===r&&void 0===t)return!!this.numericRefinements[e];var n,a=this.numericRefinements[e]&&void 0!==this.numericRefinements[e][t];if(void 0===r||!a)return a;var o=u(r),s=void 0!==(n=this.numericRefinements[e][t],i(n,function(e){return h(e,o)}));return a&&s},isTagRefined:function(e){return -1!==this.tagRefinements.indexOf(e)},getRefinedDisjunctiveFacets:function(){var e=this,t=a(Object.keys(this.numericRefinements).filter(function(t){return Object.keys(e.numericRefinements[t]).length>0}),this.disjunctiveFacets);return Object.keys(this.disjunctiveFacetsRefinements).filter(function(t){return e.disjunctiveFacetsRefinements[t].length>0}).concat(t).concat(this.getRefinedHierarchicalFacets()).sort()},getRefinedHierarchicalFacets:function(){var e=this;return a(this.hierarchicalFacets.map(function(e){return e.name}),Object.keys(this.hierarchicalFacetsRefinements).filter(function(t){return e.hierarchicalFacetsRefinements[t].length>0})).sort()},getUnrefinedDisjunctiveFacets:function(){var e=this.getRefinedDisjunctiveFacets();return this.disjunctiveFacets.filter(function(t){return -1===e.indexOf(t)})},managedParameters:["index","facets","disjunctiveFacets","facetsRefinements","hierarchicalFacets","facetsExcludes","disjunctiveFacetsRefinements","numericRefinements","tagRefinements","hierarchicalFacetsRefinements"],getQueryParams:function(){var e=this.managedParameters,t={},r=this;
1return Object.keys(this).forEach(function(n){var i=r[n];-1===e.indexOf(n)&&void 0!==i&&(t[n]=i)}),t},setQueryParameter:function(e,t){if(this[e]===t)return this;var r={};return r[e]=t,this.setQueryParameters(r)},setQueryParameters:function(e){if(!e)return this;var t=p.validate(this,e);if(t)throw t;var r=this,n=p._parseNumbers(e),i=Object.keys(this).reduce(function(e,t){return e[t]=r[t],e},{}),a=Object.keys(n).reduce(function(e,t){var r=void 0!==e[t],i=void 0!==n[t];return r&&!i?c(e,[t]):(i&&(e[t]=n[t]),e)},i);return new this.constructor(a)},resetPage:function(){return void 0===this.page?this:this.setPage(0)},_getHierarchicalFacetSortBy:function(e){return e.sortBy||["isRefined:desc","name:asc"]},_getHierarchicalFacetSeparator:function(e){return e.separator||" > "},_getHierarchicalRootPath:function(e){return e.rootPath||null},_getHierarchicalShowParentLevel:function(e){return"boolean"!=typeof e.showParentLevel||e.showParentLevel},getHierarchicalFacetByName:function(e){return i(this.hierarchicalFacets,function(t){return t.name===e})},getHierarchicalFacetBreadcrumb:function(e){if(!this.isHierarchicalFacet(e))return[];var t=this.getHierarchicalRefinement(e)[0];if(!t)return[];var r=this._getHierarchicalFacetSeparator(this.getHierarchicalFacetByName(e));return t.split(r).map(function(e){return e.trim()})},toString:function(){return JSON.stringify(this,null,2)}},e.exports=p},68159:e=>{"use strict";e.exports=function(e){return Array.isArray(e)?e.filter(Boolean):[]}},71537:(e,t,r)=>{"use strict";var n=r(68159),i=r(17266),a=r(45633),o=r(15385),s=r(15571),c=r(61449),u=r(23802),f=r(85935),l=a.escapeFacetValue,h=a.unescapeFacetValue,p=r(95213);function d(e){var t={};return e.forEach(function(e,r){t[e]=r}),t}function m(e,t,r){t&&t[r]&&(e.stats=t[r])}function y(e,t,r){var a=t[0];this._rawResults=t;var c=this;Object.keys(a).forEach(function(e){c[e]=a[e]}),Object.keys(r||{}).forEach(function(e){c[e]=r[e]}),this.processingTimeMS=t.reduce(function(e,t){return void 0===t.processingTimeMS?e:e+t.processingTimeMS},0),this.disjunctiveFacets=[],this.hierarchicalFacets=e.hierarchicalFacets.map(function(){return[]}),this.facets=[];var f=e.getRefinedDisjunctiveFacets(),l=d(e.facets),y=d(e.disjunctiveFacets),v=1,g=a.facets||{};Object.keys(g).forEach(function(t){var r=g[t],n=(f=e.hierarchicalFacets,o(f,function(e){return(e.attributes||[]).indexOf(t)>-1}));if(n){var i=n.attributes.indexOf(t),u=s(e.hierarchicalFacets,function(e){return e.name===n.name});c.hierarchicalFacets[u][i]={attribute:t,data:r,exhaustive:a.exhaustiveFacetsCount}}else{var f,h,p=-1!==e.disjunctiveFacets.indexOf(t),d=-1!==e.facets.indexOf(t);p&&(h=y[t],c.disjunctiveFacets[h]={name:t,data:r,exhaustive:a.exhaustiveFacetsCount},m(c.disjunctiveFacets[h],a.facets_stats,t)),d&&(h=l[t],c.facets[h]={name:t,data:r,exhaustive:a.exhaustiveFacetsCount},m(c.facets[h],a.facets_stats,t))}}),this.hierarchicalFacets=n(this.hierarchicalFacets),f.forEach(function(r){var n=t[v],o=n&&n.facets?n.facets:{},f=e.getHierarchicalFacetByName(r);Object.keys(o).forEach(function(t){var r,l=o[t];if(f){r=s(e.hierarchicalFacets,function(e){return e.name===f.name});var p=s(c.hierarchicalFacets[r],function(e){return e.attribute===t});if(-1===p)return;c.hierarchicalFacets[r][p].data=u({},c.hierarchicalFacets[r][p].data,l)}else{r=y[t];var d=a.facets&&a.facets[t]||{};c.disjunctiveFacets[r]={name:t,data:i({},l,d),exhaustive:n.exhaustiveFacetsCount},m(c.disjunctiveFacets[r],n.facets_stats,t),e.disjunctiveFacetsRefinements[t]&&e.disjunctiveFacetsRefinements[t].forEach(function(n){!c.disjunctiveFacets[r].data[n]&&e.disjunctiveFacetsRefinements[t].indexOf(h(n))>-1&&(c.disjunctiveFacets[r].data[n]=0)})}}),v++}),e.getRefinedHierarchicalFacets().forEach(function(r){var n=e.getHierarchicalFacetByName(r),a=e._getHierarchicalFacetSeparator(n),o=e.getHierarchicalRefinement(r);0===o.length||o[0].split(a).length<2||t.slice(v).forEach(function(t){var r=t&&t.facets?t.facets:{};Object.keys(r).forEach(function(t){var u=r[t],f=s(e.hierarchicalFacets,function(e){return e.name===n.name}),l=s(c.hierarchicalFacets[f],function(e){return e.attribute===t});if(-1!==l){var h={};if(o.length>0){var p=o[0].split(a)[0];h[p]=c.hierarchicalFacets[f][l].data[p]}c.hierarchicalFacets[f][l].data=i(h,u,c.hierarchicalFacets[f][l].data)}}),v++})}
1),Object.keys(e.facetsExcludes).forEach(function(t){var r=e.facetsExcludes[t],n=l[t];c.facets[n]={name:t,data:g[t],exhaustive:a.exhaustiveFacetsCount},r.forEach(function(e){c.facets[n]=c.facets[n]||{name:t},c.facets[n].data=c.facets[n].data||{},c.facets[n].data[e]=0})}),this.hierarchicalFacets=this.hierarchicalFacets.map(p(e)),this.facets=n(this.facets),this.disjunctiveFacets=n(this.disjunctiveFacets),this._state=e}function v(e,t){var r=o(e,function(e){return e.name===t});return r&&r.stats}function g(e,t,r,n,i){var a=o(i,function(e){return e.name===r}),s=a&&a.data&&a.data[n]?a.data[n]:0;return{type:t,attributeName:r,name:n,count:s,exhaustive:a&&a.exhaustive||!1}}y.prototype.getFacetByName=function(e){function t(t){return t.name===e}return o(this.facets,t)||o(this.disjunctiveFacets,t)||o(this.hierarchicalFacets,t)},y.DEFAULT_SORT=["isRefined:desc","count:desc","name:asc"],y.prototype.getFacetValues=function(e,t){var r,n=function(e,t){function r(e){return e.name===t}if(e._state.isConjunctiveFacet(t)){var n=o(e.facets,r);return n?Object.keys(n.data).map(function(r){var i=l(r);return{name:r,escapedValue:i,count:n.data[r],isRefined:e._state.isFacetRefined(t,i),isExcluded:e._state.isExcludeRefined(t,r)}}):[]}if(e._state.isDisjunctiveFacet(t)){var i=o(e.disjunctiveFacets,r);return i?Object.keys(i.data).map(function(r){var n=l(r);return{name:r,escapedValue:n,count:i.data[r],isRefined:e._state.isDisjunctiveFacetRefined(t,n)}}):[]}if(e._state.isHierarchicalFacet(t)){var a=o(e.hierarchicalFacets,r);if(!a)return a;var s=e._state.getHierarchicalFacetByName(t),c=e._state._getHierarchicalFacetSeparator(s),u=h(e._state.getHierarchicalRefinement(t)[0]||"");0===u.indexOf(s.rootPath)&&(u=u.replace(s.rootPath+c,""));var f=u.split(c);return f.unshift(t),function e(t,r,n){t.isRefined=t.name===r[n],t.data&&t.data.forEach(function(t){e(t,r,n+1)})}(a,f,0),a}}(this,e);if(n){var a=i({},t,{sortBy:y.DEFAULT_SORT,facetOrdering:!(t&&t.sortBy)}),s=this;return r=Array.isArray(n)?[e]:s._state.getHierarchicalFacetByName(n.name).attributes,function e(t,r,n,a){if(a=a||0,Array.isArray(r))return t(r,n[a]);if(!r.data||0===r.data.length)return r;var o=r.data.map(function(r){return e(t,r,n,a+1)});return i({data:t(o,n[a])},r)}(function(e,t){if(a.facetOrdering){var r,n,i,o,u,l,h=s.renderingContent&&s.renderingContent.facetOrdering&&s.renderingContent.facetOrdering.values&&s.renderingContent.facetOrdering.values[t];if(h)return i=[],o=[],u=(h.order||[]).reduce(function(e,t,r){return e[t]=r,e},{}),e.forEach(function(e){var t=e.path||e.name;void 0!==u[t]?i[u[t]]=e:o.push(e)}),i=i.filter(function(e){return e}),"hidden"===(l=h.sortRemainingBy)?i:(n="alpha"===l?[["path","name"],["asc","asc"]]:[["count"],["desc"]],i.concat(f(o,n[0],n[1])))}if(Array.isArray(a.sortBy)){var p=c(a.sortBy,y.DEFAULT_SORT);return f(e,p[0],p[1])}if("function"==typeof a.sortBy)return r=a.sortBy,e.sort(r);throw Error("options.sortBy is optional but if defined it must be either an array of string (predicates) or a sorting function")},n,r)}},y.prototype.getFacetStats=function(e){return this._state.isConjunctiveFacet(e)?v(this.facets,e):this._state.isDisjunctiveFacet(e)?v(this.disjunctiveFacets,e):void 0},y.prototype.getRefinements=function(){var e=this._state,t=this,r=[];return Object.keys(e.facetsRefinements).forEach(function(n){e.facetsRefinements[n].forEac
1h(function(i){r.push(g(e,"facet",n,i,t.facets))})}),Object.keys(e.facetsExcludes).forEach(function(n){e.facetsExcludes[n].forEach(function(i){r.push(g(e,"exclude",n,i,t.facets))})}),Object.keys(e.disjunctiveFacetsRefinements).forEach(function(n){e.disjunctiveFacetsRefinements[n].forEach(function(i){r.push(g(e,"disjunctive",n,i,t.disjunctiveFacets))})}),Object.keys(e.hierarchicalFacetsRefinements).forEach(function(n){e.hierarchicalFacetsRefinements[n].forEach(function(i){var a,s,c,u,f,l,h,p,d,m,y;r.push((a=e,s=n,c=i,u=t.hierarchicalFacets,f=a.getHierarchicalFacetByName(s),l=a._getHierarchicalFacetSeparator(f),h=c.split(l),p=o(u,function(e){return e.name===s}),m=(d=h.reduce(function(e,t){var r=e&&o(e.data,function(e){return e.name===t});return void 0!==r?r:e},p))&&d.count||0,y=d&&d.exhaustive||!1,{type:"hierarchical",attributeName:s,name:d&&d.path||"",count:m,exhaustive:y}))})}),Object.keys(e.numericRefinements).forEach(function(t){var n=e.numericRefinements[t];Object.keys(n).forEach(function(e){n[e].forEach(function(n){r.push({type:"numeric",attributeName:t,name:n,numericValue:n,operator:e})})})}),e.tagRefinements.forEach(function(e){r.push({type:"tag",attributeName:"_tags",name:e})}),r},e.exports=y},75471:(e,t,r)=>{"use strict";r.d(t,{A:()=>q});var n=r(83542),i=r.n(n),a=r(41728),o=r(19184),s=r.n(o),c=r(41439),u=r(58377),f=r.n(u),l=r(9117),h={highlightPreTag:"<ais-highlight-0000000000>",highlightPostTag:"</ais-highlight-0000000000>"},p=r(36425),d=["resultsFacetValues"],m=["resultsFacetValues"],y=["resultsFacetValues"];function v(e){return(v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function g(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function b(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function O(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?b(Object(r),!0).forEach(function(t){R(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):b(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function R(e,t,r){var n;return(n=function(e,t){if("object"!==v(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==v(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"===v(n)?n:String(n))in e)?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function P(e){"function"==typeof e.addAlgoliaAgent&&(e.addAlgoliaAgent("react (".concat(a.version,")")),e.addAlgoliaAgent("react-instantsearch (".concat("6.40.4",")")))}var j=function(e){return(0,p.ei)({ais:e.props.contextValue,multiIndexContext:e.props.indexContextValue})},S=function(e,t){return e.props.indexContextValue.targetedIndex===t},x=function(e){return!!e.props.indexId},F=function(e,t){return e.props.indexId===t},w=function(e,t){var r=x(e),n=x(t);return r&&!n?-1:!r&&n?1:0};function E(e){return(E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _(e){return(_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function C(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function N(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?C(Object(r),!0).forEach(function(t){I(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):C(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function T(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,D(n.key),n)}}function A(e,t){return(A=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function k(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function V(e){return(V=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function I(e,t,r){return(t=D(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function D(e){var t=function(e,t){if("object"!==_(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==_(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===_(t)?t:String(t)}function H(e){return!!e.searchState}var Q=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");o.prototype=Object.create(e&&e.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),e&&A(o,e);var t,r,n,i=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,r=V(o);return e=t?Reflect.construct(r,arguments,V(this).constructor):r.apply(this,arguments),function(e,t){if(t&&("object"===_(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return k(e)}(this,e)});function o(e){if(!(this instanceof o))throw TypeError("Cannot call a class as a function");I(k(t=i.call(this,e)),"cleanupTimerRef",null),I(k(t),"isUnmounting",!1);var t,r=function(e){var t,r,n,i,a,o=e.indexName,s=e.initialState,c=e.searchClient,u=e.resultsState,p=e.stalledSearchDelay,v=f()(c,o,O({},h));P(c),v.on("search",function(){E||(E=setTimeout(function(){var e=N.getState(),t=(e.resultsFacetValues,g(e,y));N.setState(O(O({},t),{},{isSearchStalled:!0}))},p))}).on("result",V({indexId:o})).on("error",I);var b=!1,E=null,_=v.state,C=function(e){var t=[],r=!1;function n(){r||(r=!0,(0,l.v6)(function(){r=!1,e()}))}return{registerWidget:function(e){return t.push(e),n(),function(){t.splice(t.indexOf(e),1),n()}},update:n,getWidgets:function(){return t}}}(function(){var e=T(N.getState().widgets);N.setState(O(O({},N.getState()),{},{metadata:e,searching:!0})),k()});!function(e,t){if(t&&(e.transporter&&!e._cacheHydrated||e._useCache&&"function"==typeof e.addAlgoliaAgent)){if(e.transporter&&!e._cacheHydrated){e._cacheHydrated=!0;var r=e.search;e.search=function(t){for(var n=arguments.length,i=Array(n>1?n-1:0),a=1;a<n;a++)i[a-1]=arguments[a];var o=t.map(function(e){var t,r;return O(O({},e),{},{params:(t=e.params,r=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var i=0;return e.replace(/%s/g,function(){return encodeURIComponent(r[i++])})},Object.keys(t).map(function(e){var n;return r("%s=%s",e,(n=t[e],"[object Object]"===Object.prototype.toString.call(n)||"[object Array]"===Object.prototype.toString.call(n))?JSON.stringify(t[e]):t[e])}).join("&"))})});return e.transporter.responsesCache.get({method:"search",args:[o].concat(i)},function(){return r.apply(void 0,[t].concat(i))})}}if(Array.isArray(t.results)){var n=e,i=t.results;if(n.transporter)return n.transporter.responsesCache.set({method:"search",args:[i.reduce(function(e,t){return e.concat(t.rawResults.map(function(e){return{indexName:e.index,params:e.params}}))},[])]},{results:i.reduce(function(e,t){return e.concat(t.rawResults)},[])});var a="/1/indexes/*/queries_body_".concat(JSON.stringify({requests:i.reduce(function(e,t){return e.concat(t.rawResults.map(function(e){return{indexName:e.index,params:e.params}}))},[])}));return n.cache=O(O({},n.cache),{},R({},a,JSON.stringify({results:i.reduce(function(e,t){return e.concat(t.rawResults)},[])})))}!function(e,t){if(e.transporter)return e.transporter.responsesCache.set({method:"search",args:[t.rawResults.map(function(e){return{indexName:e.index,params:e.params}})]},{results:t.rawResults});var r="/1/indexes/*/queries_body_".concat(JSON.stringify({requests:t.rawResults.map(function(e){return{indexName:e.index,params:e.params}})}));e.cache=O(O({},e.cache),{},R({},r,JSON.stringify({results:t.rawResults})))}(e,t)}}(c,u);var N=(n={widgets:void 0===s?{}:s,metadata:(t=u)?t.metadata.map(function(e){return O(O({value:function(){return{}}},e),{},{items:e.items&&e.items.map(function(e){return O(O({value:function(){return{}}},e),{},{items:e.items&&e.items.map(function(e){return O({value:function(){return{}}},e)})})})})}):[],results:(r=u)?Array.isArray(r.results)?r.results.reduce(function(e,t){return O(O({},e),{},R({},t._internalIndexId,new(f()).SearchResults(new(f()).SearchParameters(t.state),t.rawResults)))},{}):new(f()).SearchResults(new(f()).SearchParameters(r.state),r.rawResults):null,error:null,searching:!1,isSearchStalled:!0,searchingForFacetValues:!1},i=[],{getState:function(){return n}
1,setState:function(e){n=e,i.forEach(function(e){return e()})},subscribe:function(e){return i.push(e),function(){i.splice(i.indexOf(e),1)}}});function T(e){return C.getWidgets().filter(function(e){return!!e.getMetadata}).map(function(t){return t.getMetadata(e)})}function A(){var e=C.getWidgets().filter(function(e){return!!e.getSearchParameters}).filter(function(e){return!j(e)&&!x(e)}).reduce(function(e,t){return t.getSearchParameters(e)},_),t=C.getWidgets().filter(function(e){return!!e.getSearchParameters}).filter(function(e){var t=j(e)&&S(e,o),r=x(e)&&F(e,o);return t||r}).sort(w).reduce(function(e,t){return t.getSearchParameters(e)},e),r=C.getWidgets().filter(function(e){return!!e.getSearchParameters}).filter(function(e){var t=j(e)&&!S(e,o),r=x(e)&&!F(e,o);return t||r}).sort(w).reduce(function(e,t){var r=j(t)?t.props.indexContextValue.targetedIndex:t.props.indexId,n=e[r]||[];return O(O({},e),{},R({},r,n.concat(t)))},{});return{mainParameters:t,derivedParameters:Object.keys(r).map(function(t){return{parameters:r[t].reduce(function(e,t){return t.getSearchParameters(e)},e),indexId:t}})}}function k(){if(!b){var e=A(v.state),t=e.mainParameters,r=e.derivedParameters;a=r.length+1,v.derivedHelpers.slice().forEach(function(e){e.detach()}),r.forEach(function(e){var t=e.indexId,r=e.parameters;v.derive(function(){return r}).on("result",V({indexId:t})).on("error",I)}),v.setState(t),v.search()}}function V(e){var t=e.indexId;return function(e){a--;var r=N.getState(),n=!v.derivedHelpers.length,i=r.results?r.results:{};i=!n&&i.getFacetByName?{}:i,i=n?e.results:O(O({},i),{},R({},t,e.results));var o=N.getState(),s=o.isSearchStalled;v.hasPendingRequests()||(clearTimeout(E),E=null,s=!1),o.resultsFacetValues;var c=g(o,d);N.setState(O(O({},c),{},{results:i,isSearchStalled:s,searching:a>0,error:null}))}}function I(e){var t=e.error,r=N.getState(),n=r.isSearchStalled;v.hasPendingRequests()||(clearTimeout(E),n=!1),r.resultsFacetValues;var i=g(r,m);N.setState(O(O({},i),{},{isSearchStalled:n,error:t,searching:!1}))}return{store:N,widgetsManager:C,getWidgetsIds:function(){return N.getState().metadata.reduce(function(e,t){return void 0!==t.id?e.concat(t.id):e},[])},getSearchParameters:A,onSearchForFacetValues:function(e){var t=e.facetName,r=e.query,n=e.maxFacetHits,i=Math.max(1,Math.min(void 0===n?10:n,100));N.setState(O(O({},N.getState()),{},{searchingForFacetValues:!0})),v.searchForFacetValues(t,r,i).then(function(e){var n;N.setState(O(O({},N.getState()),{},{error:null,searchingForFacetValues:!1,resultsFacetValues:O(O({},N.getState().resultsFacetValues),{},(R(n={},t,e.facetHits),R(n,"query",r),n))}))},function(e){N.setState(O(O({},N.getState()),{},{searchingForFacetValues:!1,error:e}))}).catch(function(e){setTimeout(function(){throw e})})},onExternalStateUpdate:function(e){var t=T(e);N.setState(O(O({},N.getState()),{},{widgets:e,metadata:t,searching:!0})),k()},transitionState:function(e){var t=N.getState().widgets;return C.getWidgets().filter(function(e){return!!e.transitionState}).reduce(function(e,r){return r.transitionState(t,e)},e)},updateClient:function(e){P(e),v.setClient(e),k()},updateIndex:function(e){_=_.setIndex(e)},clearCache:function(){v.clearCache(),k()},skipSearch:function(){b=!0}}}({indexName:t.props.indexName,searchClient:t.props.searchClient,initialState:t.props.searchState||{},resultsState:t.props.resultsState,stalledSearchDelay:t.props.stalledSearchDelay}),n={store:r.store,widgetsManager:r.widgetsManager,mainTargetedIndex:t.props.indexName,onInternalStateUpdate:t.onWidgetsInternalStateUpdate.bind(k(t)),createHrefForState:t.createHrefForState.bind(k(t)),onSearchForFacetValues:t.onSearchForFacetValues.bind(k(t)),onSearchStateChange:t.onSearchStateChange.bind(k(t)),onSearchParameters:t.onSearchParameters.bind(k(t))};return t.state={isControlled:H(t.props),instantSearchManager:r,contextValue:n},t}return r=[{key:"componentDidUpdate",value:function(e){var t=H(e);if(t&&!this.state.isControlled)throw Error("You can't switch <InstantSearch> from being controlled to uncontrolled");if(!t&&this.state.isControlled)throw Error("You can't switch <InstantSearch> from being uncontrolled to controlled");this.props.refresh!==e.refresh&&this.props.refresh&&this.state.instantSearchManager.clearCache(),e.indexName!==this.props.indexName&&this.state.instantSearchManager.updateIndex(this.props.indexName),e.searchClient!==this.props.searchClient&&this.state.instantSearchManager.updateClient(this.props.searchClient)}},{key:"componentDidMount",value:function(){var e,t,r,n,i,a;this.cleanupTimerRef&&(clearTimeout(this.cleanupTimerRef),this.cleanupTimerRef=null),("undefined"==typeof window?"undefined":E(window))==="object"&&"object"===E(window.navigator)&&"string"==typeof window.navigator.userAgent&&window.navigator.userAgent.includes("Algolia Crawler")&&"object"===E(window.document)&&(e=this.state.instantSearchManager.widgetsManager.getWidgets(),t=this.props.searchClient,r=document.createElement("meta"),n=document.querySelector("head"),r.name="algolia:metadata",r.content=JSON.stringify((i=["contextValue","indexContextValue"],a=e.map(function(e){var t=e.props,r=e.constructor,n=r._connectorDesc||{},a=n.defaultProps,o=void 0===a?{}:a,s=n.displayName;
1return{displayName:void 0===s?r.displayName:s,$$type:r.$$type,$$widgetType:r.$$widgetType,params:Object.keys(t).filter(function(e){return!i.includes(e)&&o[e]!==t[e]&&void 0!==t[e]})}}),{ua:t.transporter&&t.transporter.userAgent?t.transporter.userAgent.value:t._ua,widgets:a})),n.appendChild(r))}},{key:"componentWillUnmount",value:function(){var e=this;this.cleanupTimerRef=setTimeout(function(){e.isUnmounting=!0,e.state.instantSearchManager.skipSearch()})}},{key:"createHrefForState",value:function(e){return e=this.state.instantSearchManager.transitionState(e),this.state.isControlled&&this.props.createURL?this.props.createURL(e,this.getKnownKeys()):"#"}},{key:"onWidgetsInternalStateUpdate",value:function(e){e=this.state.instantSearchManager.transitionState(e),this.onSearchStateChange(e),this.state.isControlled||this.state.instantSearchManager.onExternalStateUpdate(e)}},{key:"onSearchStateChange",value:function(e){this.props.onSearchStateChange&&!this.isUnmounting&&this.props.onSearchStateChange(e)}},{key:"onSearchParameters",value:function(e,t,r,n,i){if(this.props.onSearchParameters){var a=this.props.searchState?this.props.searchState:{};this.props.onSearchParameters(e,t,r,a)}if(this.props.widgetsCollector){var o=this.props.searchState?this.props.searchState:{};this.props.widgetsCollector({getSearchParameters:e,getMetadata:n,context:t,props:r,searchState:o,displayName:i})}}},{key:"onSearchForFacetValues",value:function(e){this.state.instantSearchManager.onSearchForFacetValues(e)}},{key:"getKnownKeys",value:function(){return this.state.instantSearchManager.getWidgetsIds()}},{key:"render",value:function(){return 0===a.Children.count(this.props.children)?null:a.createElement(c.vi,{value:this.state.contextValue},this.props.children)}}],n=[{key:"getDerivedStateFromProps",value:function(e,t){var r=H(e),n=t.instantSearchManager.store.getState().widgets,i=e.searchState;return r&&!s()(n,i)&&t.instantSearchManager.onExternalStateUpdate(e.searchState),{isControlled:r,contextValue:N(N({},t.contextValue),{},{mainTargetedIndex:e.indexName})}}}],r&&T(o.prototype,r),n&&T(o,n),Object.defineProperty(o,"prototype",{writable:!1}),o}(a.Component);I(Q,"defaultProps",{stalledSearchDelay:200,refresh:!1}),I(Q,"propTypes",{indexName:i().string.isRequired,searchClient:i().shape({search:i().func.isRequired,searchForFacetValues:i().func,addAlgoliaAgent:i().func,clearCache:i().func}).isRequired,createURL:i().func,refresh:i().bool,searchState:i().object,onSearchStateChange:i().func,onSearchParameters:i().func,widgetsCollector:i().func,resultsState:i().oneOfType([i().object,i().array]),children:i().node,stalledSearchDelay:i().number});let q=Q},75614:e=>{"use strict";e.exports=function(e,t){e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}},75828:(e,t,r)=>{"use strict";var n=r(17266),i=r(43975),a=r(64439),o={addRefinement:function(e,t,r){if(o.isRefined(e,t,r))return e;var i=""+r,a=e[t]?e[t].concat(i):[i],s={};return s[t]=a,n({},s,e)},removeRefinement:function(e,t,r){if(void 0===r)return o.clearRefinement(e,function(e,r){return t===r});var n=""+r;return o.clearRefinement(e,function(e,r){return t===r&&n===e})},toggleRefinement:function(e,t,r){if(void 0===r)throw Error("toggleRefinement should be used with a value");return o.isRefined(e,t,r)?o.removeRefinement(e,t,r):o.addRefinement(e,t,r)},clearRefinement:function(e,t,r){if(void 0===t)return i(e)?{}:e;if("string"==typeof t)return a(e,[t]);if("function"==typeof t){var n=!1,o=Object.keys(e).reduce(function(i,a){var o=e[a]||[],s=o.filter(function(e){return!t(e,a,r)});return s.length!==o.length&&(n=!0),i[a]=s,i},{});return n?o:e}},isRefined:function(e,t,r){var n=!!e[t]&&e[t].length>0;return void 0!==r&&n?-1!==e[t].indexOf(""+r):n}};e.exports=o},76776:(e,t,r)=>{"use strict";var n=r(23802);function i(e){return Object.keys(e).sort().reduce(function(t,r){return t[r]=e[r],t},{})}var a={_getQueries:function(e,t){var r=[];return r.push({indexName:e,params:a._getHitsSearchParams(t)}),t.getRefinedDisjunctiveFacets().forEach(function(n){r.push({indexName:e,params:a._getDisjunctiveFacetSearchParams(t,n)})}
1),t.getRefinedHierarchicalFacets().forEach(function(n){var i=t.getHierarchicalFacetByName(n),o=t.getHierarchicalRefinement(n),s=t._getHierarchicalFacetSeparator(i);if(o.length>0&&o[0].split(s).length>1){var c=o[0].split(s).slice(0,-1).reduce(function(e,t,r){return e.concat({attribute:i.attributes[r],value:0===r?t:[e[e.length-1].value,t].join(s)})},[]);c.forEach(function(n,o){var s=a._getDisjunctiveFacetSearchParams(t,n.attribute,0===o);function u(e){return i.attributes.some(function(t){return t===e.split(":")[0]})}var f=(s.facetFilters||[]).reduce(function(e,t){if(Array.isArray(t)){var r=t.filter(function(e){return!u(e)});r.length>0&&e.push(r)}return"string"!=typeof t||u(t)||e.push(t),e},[]),l=c[o-1];o>0?s.facetFilters=f.concat(l.attribute+":"+l.value):s.facetFilters=f.length>0?f:void 0,r.push({indexName:e,params:s})})}}),r},_getHitsSearchParams:function(e){var t=e.facets.concat(e.disjunctiveFacets).concat(a._getHitsHierarchicalFacetsAttributes(e)).sort(),r=a._getFacetFilters(e),o=a._getNumericFilters(e),s=a._getTagFilters(e),c={facets:t.indexOf("*")>-1?["*"]:t,tagFilters:s};return r.length>0&&(c.facetFilters=r),o.length>0&&(c.numericFilters=o),i(n({},e.getQueryParams(),c))},_getDisjunctiveFacetSearchParams:function(e,t,r){var o=a._getFacetFilters(e,t,r),s=a._getNumericFilters(e,t),c=a._getTagFilters(e),u={hitsPerPage:0,page:0,analytics:!1,clickAnalytics:!1};c.length>0&&(u.tagFilters=c);var f=e.getHierarchicalFacetByName(t);return f?u.facets=a._getDisjunctiveHierarchicalFacetAttribute(e,f,r):u.facets=t,s.length>0&&(u.numericFilters=s),o.length>0&&(u.facetFilters=o),i(n({},e.getQueryParams(),u))},_getNumericFilters:function(e,t){if(e.numericFilters)return e.numericFilters;var r=[];return Object.keys(e.numericRefinements).forEach(function(n){var i=e.numericRefinements[n]||{};
1Object.keys(i).forEach(function(e){var a=i[e]||[];t!==n&&a.forEach(function(t){if(Array.isArray(t)){var i=t.map(function(t){return n+e+t});r.push(i)}else r.push(n+e+t)})})}),r},_getTagFilters:function(e){return e.tagFilters?e.tagFilters:e.tagRefinements.join(",")},_getFacetFilters:function(e,t,r){var n=[],i=e.facetsRefinements||{};Object.keys(i).sort().forEach(function(e){(i[e]||[]).sort().forEach(function(t){n.push(e+":"+t)})});var a=e.facetsExcludes||{};Object.keys(a).sort().forEach(function(e){(a[e]||[]).sort().forEach(function(t){n.push(e+":-"+t)})});var o=e.disjunctiveFacetsRefinements||{};Object.keys(o).sort().forEach(function(e){var r=o[e]||[];if(e!==t&&r&&0!==r.length){var i=[];r.sort().forEach(function(t){i.push(e+":"+t)}),n.push(i)}});var s=e.hierarchicalFacetsRefinements||{};return Object.keys(s).sort().forEach(function(i){var a,o,c=(s[i]||[])[0];if(void 0!==c){var u=e.getHierarchicalFacetByName(i),f=e._getHierarchicalFacetSeparator(u),l=e._getHierarchicalRootPath(u);if(t===i){if(-1===c.indexOf(f)||!l&&!0===r||l&&l.split(f).length===c.split(f).length)return;l?(o=l.split(f).length-1,c=l):(o=c.split(f).length-2,c=c.slice(0,c.lastIndexOf(f))),a=u.attributes[o]}else o=c.split(f).length-1,a=u.attributes[o];a&&n.push([a+":"+c])}}),n},_getHitsHierarchicalFacetsAttributes:function(e){return e.hierarchicalFacets.reduce(function(t,r){var n=e.getHierarchicalRefinement(r.name)[0];if(!n)return t.push(r.attributes[0]),t;var i=e._getHierarchicalFacetSeparator(r),a=n.split(i).length,o=r.attributes.slice(0,a+1);return t.concat(o)},[])},_getDisjunctiveHierarchicalFacetAttribute:function(e,t,r){var n=e._getHierarchicalFacetSeparator(t);if(!0===r){var i=e._getHierarchicalRootPath(t),a=0;return i&&(a=i.split(n).length),[t.attributes[a]]}var o=(e.getHierarchicalRefinement(t.name)[0]||"").split(n).length-1;return t.attributes.slice(0,o+1)},getSearchForFacetQuery:function(e,t,r,o){var s=o.isDisjunctiveFacet(e)?o.clearRefinements(e):o,c={facetQuery:t,facetName:e};return"number"==typeof r&&(c.maxFacetHits=r),i(n({},a._getHitsSearchParams(s),c))}};e.exports=a},81675:(e,t,r)=>{"use strict";r.d(t,{A:()=>er});var n=r(41728),i=r(35619),a=r(36425);function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(){return"page"}function c(e,t,r){var n=s(),i=(0,a._1)(e,t,r,n,1);return"string"==typeof i?parseInt(i,10):i}let u=(0,i.A)({displayName:"AlgoliaPagination",$$type:"ais.pagination",getProvidedProps:function(e,t,r){var n=(0,a.h1)(r,{ais:e.contextValue,multiIndexContext:e.indexContextValue});if(!n)return null;var i=n.nbPages;return{nbPages:i,currentRefinement:c(e,t,{ais:e.contextValue,multiIndexContext:e.indexContextValue}),canRefine:i>1}},refine:function(e,t,r){var n,i,c,u,f;return n={ais:e.contextValue,multiIndexContext:e.indexContextValue},i={},c=s(),(f=function(e,t){if("object"!==o(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==o(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(c,"string"),(c="symbol"===o(f)?f:String(f))in i)?Object.defineProperty(i,c,{value:r,enumerable:!0,configurable:!0,writable:!0}):i[c]=r,u=i,(0,a.xM)(t,u,n,!1)},cleanUp:function(e,t){return(0,a.Ou)(t,{ais:e.contextValue,multiIndexContext:e.indexContextValue},s())},getSearchParameters:function(e,t,r){return e.setPage(c(t,r,{ais:t.contextValue,multiIndexContext:t.indexContextValue})-1)},getMetadata:function(){return{id:s()}}});var f=r(33199),l=r.n(f),h=r(83542),p=r.n(h),d=r(89223),m=r(49169);function y(e){return(y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function v(){return(v=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];
1for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function g(e,t){return(g=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function b(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function O(e){return(O=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function R(e,t,r){return(t=P(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function P(e){var t=function(e,t){if("object"!==y(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==y(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===y(t)?t:String(t)}var j=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");a.prototype=Object.create(e&&e.prototype,{constructor:{value:a,writable:!0,configurable:!0}}),Object.defineProperty(a,"prototype",{writable:!1}),e&&g(a,e);var t,r,i=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,r=O(a);return e=t?Reflect.construct(r,arguments,O(this).constructor):r.apply(this,arguments),function(e,t){if(t&&("object"===y(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return b(e)}(this,e)});function a(){var e;if(!(this instanceof a))throw TypeError("Cannot call a class as a function");for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];return R(b(e=i.call.apply(i,[this].concat(r))),"onClick",function(t){(0,m.sP)(t)||(e.props.onClick(),t.preventDefault())}),e}return r=[{key:"render",value:function(){return n.createElement("a",v({},this.props,{onClick:this.onClick}))}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,P(n.key),n)}}(a.prototype,r),Object.defineProperty(a,"prototype",{writable:!1}),a}(n.Component);function S(e){return(S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}R(j,"propTypes",{onClick:p().func.isRequired});function x(e,t){return(x=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function F(e){return(F=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function w(e){var t=function(e,t){if("object"!==S(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==S(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===S(t)?t:String(t)}var E=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");a.prototype=Object.create(e&&e.prototype,{constructor:{value:a,writable:!0,configurable:!0}}),Object.defineProperty(a,"prototype",{writable:!1}),e&&x(a,e);var t,r,i=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,r=F(a);return e=t?Reflect.construct(r,arguments,F(this).constructor):r.apply(this,arguments),function(e,t){if(t&&("object"===S(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");var r=e;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,e)});function a(){if(!(this instanceof a))throw TypeError("Cannot call a class as a function");return i.apply(this,arguments)}return r=[{key:"render",value:function(){var e=this.props,t=e.cx,r=e.createURL,i=e.items,a=e.onSelect,o=e.canRefine;return n.createElement("ul",{className:t("list",!o&&"list--noRefinement")},i.map(function(e){return n.createElement("li",{key:void 0===e.key?e.value:e.key,className:t("item",e.selected&&!e.disabled&&"item--selected",e.disabled&&"item--disabled",e.modifier)},e.disabled?n.createElement("span",{className:t("link")},void 0===e.label?e.value:e.label):n.createElement(j,{className:t("link",e.selected&&"link--selected"),"aria-label":e.ariaLabel,href:r(e.value),onClick:function(){return a(e.value)}},void 0===e.label?e.value:e.label))}))}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,w(n.key),n)}}(a.prototype,r),Object.defineProperty(a,"prototype",{writable:!1}),a}(n.Component);!function(e,t,r){(t=w(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r}
1(E,"propTypes",{cx:p().func.isRequired,createURL:p().func.isRequired,items:p().arrayOf(p().shape({value:p().oneOfType([p().string,p().number,p().object]).isRequired,key:p().oneOfType([p().string,p().number]),label:p().node,modifier:p().string,ariaLabel:p().string,disabled:p().bool})),onSelect:p().func.isRequired,canRefine:p().bool.isRequired});var _=["listComponent","nbPages","totalPages","currentRefinement","padding","showFirst","showPrevious","showNext","showLast","refine","createURL","canRefine","translate","className"];function C(e){return(C="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function N(){return(N=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function T(e,t){return(T=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function A(e){return(A=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function k(e,t,r){return(t=V(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function V(e){var t=function(e,t){if("object"!==C(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==C(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===C(t)?t:String(t)}var I=(0,m.p)("Pagination"),D=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");a.prototype=Object.create(e&&e.prototype,{constructor:{value:a,writable:!0,configurable:!0}}),Object.defineProperty(a,"prototype",{writable:!1}),e&&T(a,e);var t,r,i=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,r=A(a);return e=t?Reflect.construct(r,arguments,A(this).constructor):r.apply(this,arguments),function(e,t){if(t&&("object"===C(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");var r=e;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,e)});function a(){if(!(this instanceof a))throw TypeError("Cannot call a class as a function");return i.apply(this,arguments)}return r=[{key:"getItem",value:function(e,t,r){var n=this.props,i=n.nbPages,a=n.totalPages,o=n.translate;return{key:"".concat(e,".").concat(r),modifier:e,disabled:r<1||r>=Math.min(a,i),label:o(t,r),value:r,ariaLabel:o("aria".concat((0,m.ZH)(t)),r)}}},{key:"render",value:function(){var e=this.props,t=e.listComponent,r=e.nbPages,i=e.totalPages,a=e.currentRefinement,o=e.padding,s=e.showFirst,c=e.showPrevious,u=e.showNext,f=e.showLast,h=e.refine,p=e.createURL,d=e.canRefine,y=e.translate,v=e.className,g=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,_),b=Math.min(r,i),O=[];return s&&O.push({key:"first",modifier:"item--firstPage",disabled:1===a,label:y("first"),value:1,ariaLabel:y("ariaFirst")}),c&&O.push({key:"previous",modifier:"item--previousPage",disabled:1===a,label:y("previous"),value:a-1,ariaLabel:y("ariaPrevious")}),O=O.concat((function(e,t,r){var n=Math.min(2*r+1,t);if(n===t)return(0,m.y1)({start:1,end:t+1});var i=e<=r?e:e>=t-r?n-(t-e):r+1;return(0,m.y1)({start:e-i+1,end:e+(n-i)+1})})(a,b,o).map(function(e){return{key:e,modifier:"item--page",label:y("page",e),value:e,selected:e===a,ariaLabel:y("ariaPage",e)}})),u&&O.push({key:"next",modifier:"item--nextPage",disabled:a===b||b<=1,label:y("next"),value:a+1,ariaLabel:y("ariaNext")}),f&&O.push({key:"last",modifier:"item--lastPage",disabled:a===b||b<=1,label:y("last"),value:b,ariaLabel:y("ariaLast")}),n.createElement("div",{className:l()(I("",!d&&"-noRefinement"),v)},n.createElement(t,N({},g,{cx:I,items:O,onSelect:h,createURL:p,canRefine:d})))}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,V(n.key),n)}}(a.prototype,r),Object.defineProperty(a,"prototype",{writable:!1}),a}(n.Component);k(D,"propTypes",{nbPages:p().number.isRequired,currentRefinement:p().number.isRequired,refine:p().func.isRequired,createURL:p().func.isRequired,canRefine:p().bool.isRequired,translate:p().func.isRequired,listComponent:p().func,showFirst:p().bool,showPrevious:p().bool,showNext:p().bool,showLast:p().bool,padding:p().number,totalPages:p().number,className:p().string}),k(D,"defaultProps",{listComponent:E,showFirst:!0,showPrevious:!0,showNext:!0,showLast:!1,padding:3,totalPages:1/0,className:""});
1let H=(0,d.A)({previous:"â¹",next:"âº",first:"\xab",last:"\xbb",page:function(e){return e.toString()},ariaPrevious:"Previous page",ariaNext:"Next page",ariaFirst:"First page",ariaLast:"Last page",ariaPage:function(e){return"Page ".concat(e.toString())}})(D);function Q(e){return(Q="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function q(e,t){return(q=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function L(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function M(e){return(M=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function B(e,t,r){return(t=U(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function U(e){var t=function(e,t){if("object"!==Q(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==Q(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===Q(t)?t:String(t)}var W=(0,m.p)("Panel"),$=(0,n.createContext)(function(){}),J=$.Consumer,z=$.Provider,K=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");a.prototype=Object.create(e&&e.prototype,{constructor:{value:a,writable:!0,configurable:!0}}),Object.defineProperty(a,"prototype",{writable:!1}),e&&q(a,e);var t,r,i=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,r=M(a);return e=t?Reflect.construct(r,arguments,M(this).constructor):r.apply(this,arguments),function(e,t){if(t&&("object"===Q(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return L(e)}(this,e)});function a(){var e;if(!(this instanceof a))throw TypeError("Cannot call a class as a function");for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];return B(L(e=i.call.apply(i,[this].concat(r))),"state",{canRefine:!0}),B(L(e),"setCanRefine",function(t){e.setState({canRefine:t})}),e}return r=[{key:"render",value:function(){var e=this.props,t=e.children,r=e.className,i=e.header,a=e.footer,o=this.state.canRefine;return n.createElement("div",{className:l()(W("",!o&&"-noRefinement"),r)},i&&n.createElement("div",{className:W("header")},i),n.createElement("div",{className:W("body")},n.createElement(z,{value:this.setCanRefine},t)),a&&n.createElement("div",{className:W("footer")},a))}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,U(n.key),n)}}(a.prototype,r),Object.defineProperty(a,"prototype",{writable:!1}),a}(n.Component);function Y(e){return(Y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}B(K,"propTypes",{children:p().node.isRequired,className:p().string,header:p().node,footer:p().node}),B(K,"defaultProps",{className:"",header:null,footer:null});function Z(e,t){return(Z=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function G(e){return(G=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function X(e){var t=function(e,t){if("object"!==Y(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==Y(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===Y(t)?t:String(t)}var ee=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");i.prototype=Object.create(e&&e.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),e&&Z(i,e);var t,r,n=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,r=G(i);return e=t?Reflect.construct(r,arguments,G(this).constructor):r.apply(this,arguments),function(e,t){if(t&&("object"===Y(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");var r=e;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,e)});function i(){if(!(this instanceof i))throw TypeError("Cannot call a class as a function");return n.apply(this,arguments)}return r=[{key:"componentDidMount",value:function(){this.props.setCanRefine(this.props.canRefine)}},{key:"componentDidUpdate",value:function(e){e.canRefine!==this.props.canRefine&&this.props.setCanRefine(this.props.canRefine)}},{key:"render",value:function(){return this.props.children}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,X(n.key),n)}}(i.prototype,r),Object.defineProperty(i,"prototype",{writable:!1}),i}(n.Component);!function(e,t,r){(t=X(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r}(ee,"propTypes",{children:p().node.isRequired,canRefine:p().bool.isRequired,setCanRefine:p().func.isRequired});var et=function(e){var t=e.canRefine,r=e.children;return n.createElement(J,null,function(e){return n.createElement(ee,{setCanRefine:e,canRefine:t},r)})};
1et.propTypes={canRefine:p().bool.isRequired,children:p().node.isRequired};let er=u(function(e){return n.createElement(et,e,n.createElement(H,e))},{$$widgetType:"ais.pagination"})},84032:e=>{"use strict";e.exports="3.14.0"},84248:function(e){e.exports=function(){"use strict";function e(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function t(t){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?e(Object(n),!0).forEach(function(e){var r;r=n[e],e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):e(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var r=[],n=!0,i=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(n=(o=s.next()).done)&&(r.push(o.value),!t||r.length!==t);n=!0);}catch(e){i=!0,a=e}finally{try{n||null==s.return||s.return()}finally{if(i)throw a}}return r}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance")}()}function n(e){return function(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance")}()}function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{serializable:!0},t={};return{get:function(r,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}},a=JSON.stringify(r);if(a in t)return Promise.resolve(e.serializable?JSON.parse(t[a]):t[a]);var o=n(),s=i&&i.miss||function(){return Promise.resolve()};return o.then(function(e){return s(e)}).then(function(){return o})},set:function(r,n){return t[JSON.stringify(r)]=e.serializable?JSON.stringify(n):n,Promise.resolve(n)},delete:function(e){return delete t[JSON.stringify(e)],Promise.resolve()},clear:function(){return t={},Promise.resolve()}}}function a(e,t){return t&&Object.keys(t).forEach(function(r){e[r]=t[r](e)}),e}function o(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var i=0;return e.replace(/%s/g,function(){return encodeURIComponent(r[i++])})}var s={WithinQueryParameters:0,WithinHeaders:1};function c(e,t){var r=e||{},n=r.data||{};return Object.keys(r).forEach(function(e){-1===["timeout","headers","queryParameters","data","cacheable"].indexOf(e)&&(n[e]=r[e])}),{data:Object.entries(n).length>0?n:void 0,timeout:r.timeout||t,headers:r.headers||{},queryParameters:r.queryParameters||{},cacheable:r.cacheable}}var u={Read:1,Write:2,Any:3};function f(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return t(t({},e),{},{status:r,lastUpdate:Date.now()})}function l(e){return"string"==typeof e?{protocol:"https",url:e,accept:u.Any}:{protocol:e.protocol||"https",url:e.url,accept:e.accept||u.Any}}var h="POST";function p(e,r,i,a){var o,s,c,u=[],h=function(e,r){if("GET"!==e.method&&(void 0!==e.data||void 0!==r.data))return JSON.stringify(Array.isArray(e.data)?e.data:t(t({},e.data),r.data))}(i,a),p=(o=t(t({},e.headers),a.headers),s={},Object.keys(o).forEach(function(e){var t=o[e];s[e.toLowerCase()]=t}),s),v=i.method,g="GET"!==i.method?{}:t(t({},i.data),a.data),b=t(t(t({"x-algolia-agent":e.userAgent.value},e.queryParameters),g),a.queryParameters),O=0,R=function t(r,n){var o,s,c,l,g=r.pop();if(void 0===g)throw{name:"RetryError",message:"Unreachable hosts - your application id may be incorrect. If the error persists, contact [email protected].",transporterStackTrace:m(u)};var R={data:h,headers:p,method:v,url:(o=g,s=i.path,c=d(b),l="".concat(o.protocol,"://").concat(o.url,"/").concat("/"===s.charAt(0)?s.substr(1):s),c.length&&(l+="?".concat(c)),l),connectTimeout:n(O,e.timeouts.connect),responseTimeout:n(O,a.timeout)},P=function(e){var t={request:R,response:e,host:g,triesLeft:r.length};return u.push(t),t},j={onSuccess:function(e){try{return JSON.parse(e.content)}catch(t){throw{name:"DeserializationError",message:t.message,response:e}}},onRetry:function(i){var a=P(i);return i.isTimedOut&&O++,Promise.all([e.logger.info("Retryable failure",y(a)),e.hostsCache.set(g,f(g,i.isTimedOut?3:2))]).then(function(){return t(r,n)})},onFail:function(e){throw P(e),function(e,t){var r=e.content,n=e.status,i=r;try{i=JSON.parse(r).message}catch(e){}return{name:"ApiError",message:i,status:n,transporterStackTrace:t}}(e,m(u))}};return e.requester.send(R).then(function(e){var t,r,n;return(t=e.status,e.isTimedOut||(r=e.isTimedOut,n=e.status,!r&&0==~~n)||2!=~~(t/100)&&4!=~~(t/100))?j.onRetry(e):2==~~(e.status/100)?j.onSuccess(e):j.onFail(e)})};return(c=e.hostsCache,Promise.all(r.map(function(e){return c.get(e,function(){return Promise.resolve(f(e))})})).then(function(e){var t=e.filter(function(e){return 1===e.status||Date.now()-e.lastUpdate>12e4}),i=e.filter(function(e){return 3===e.status&&Date.now()-e.lastUpdate<=12e4}),a=[].concat(n(t),n(i));return{getTimeout:function(e,t){return(0===i.length&&0===e?1:i.length+3+e)*t},statelessHosts:a.length>0?a.map(function(e){return l(e)}):r}})).then(function(e){return R(n(e.statelessHosts).reverse(),e.getTimeout)})}function d(e){return Object.keys(e).map(function(t){var r;return o("%s=%s",t,(r=e[t],"[object Object]"===Object.prototype.toString.call(r)||"[object Array]"===Object.prototype.toString.call(r)?JSON.stringify(e[t]):e[t]))}).join("&")}function m(e){return e.map(function(e){return y(e)})}function y(e){var r=e.request.headers["x-algolia-api-key"]?{"x-algolia-api-key":"*****"}:{};
1return t(t({},e),{},{request:t(t({},e.request),{},{headers:t(t({},e.request.headers),r)})})}var v=function(e){var n,i,o,f,h,d,m,y,v,g,b,O,R,P=e.appId,j=(n=void 0!==e.authMode?e.authMode:s.WithinHeaders,i={"x-algolia-api-key":e.apiKey,"x-algolia-application-id":P},{headers:function(){return n===s.WithinHeaders?i:{}},queryParameters:function(){return n===s.WithinQueryParameters?i:{}}}),S=(f=(o=t(t({hosts:[{url:"".concat(P,"-dsn.algolia.net"),accept:u.Read},{url:"".concat(P,".algolia.net"),accept:u.Write}].concat(function(e){for(var t=e.length-1;t>0;t--){var r=Math.floor(Math.random()*(t+1)),n=e[t];e[t]=e[r],e[r]=n}return e}([{url:"".concat(P,"-1.algolianet.com")},{url:"".concat(P,"-2.algolianet.com")},{url:"".concat(P,"-3.algolianet.com")}]))},e),{},{headers:t(t(t({},j.headers()),{"content-type":"application/x-www-form-urlencoded"}),e.headers),queryParameters:t(t({},j.queryParameters()),e.queryParameters)})).hostsCache,h=o.logger,d=o.requester,m=o.requestsCache,y=o.responsesCache,v=o.timeouts,g=o.userAgent,b=o.hosts,O=o.queryParameters,R={hostsCache:f,logger:h,requester:d,requestsCache:m,responsesCache:y,timeouts:v,userAgent:g,headers:o.headers,queryParameters:O,hosts:b.map(function(e){return l(e)}),read:function(e,t){var n=c(t,R.timeouts.read),i=function(){return p(R,R.hosts.filter(function(e){return 0!=(e.accept&u.Read)}),e,n)};if(!0!==(void 0!==n.cacheable?n.cacheable:e.cacheable))return i();var a={request:e,mappedRequestOptions:n,transporter:{queryParameters:R.queryParameters,headers:R.headers}};return R.responsesCache.get(a,function(){return R.requestsCache.get(a,function(){return R.requestsCache.set(a,i()).then(function(e){return Promise.all([R.requestsCache.delete(a),e])},function(e){return Promise.all([R.requestsCache.delete(a),Promise.reject(e)])}).then(function(e){var t=r(e,2);return t[0],t[1]})})},{miss:function(e){return R.responsesCache.set(a,e)}})},write:function(e,t){return p(R,R.hosts.filter(function(e){return 0!=(e.accept&u.Write)}),e,c(t,R.timeouts.write))}});return a({transporter:S,appId:P,addAlgoliaAgent:function(e,t){S.userAgent.add({segment:e,version:t})},clearCache:function(){return Promise.all([S.requestsCache.clear(),S.responsesCache.clear()]).then(function(){})}},e.methods)},g=function(e){return function(t,r){return"GET"===t.method?e.transporter.read(t,r):e.transporter.write(t,r)}},b=function(e){return function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return a({transporter:e.transporter,appId:e.appId,indexName:t},r.methods)}},O=function(e){return function(r,n){var i=r.map(function(e){return t(t({},e),{},{params:d(e.params||{})})});return e.transporter.read({method:h,path:"1/indexes/*/queries",data:{requests:i},cacheable:!0},n)}},R=function(e){return function(r,n){return Promise.all(r.map(function(r){var i=r.params,a=i.facetName,o=i.facetQuery,s=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(i,["facetName","facetQuery"]);return b(e)(r.indexName,{methods:{searchForFacetValues:S}}).searchForFacetValues(a,o,t(t({},n),s))}))}},P=function(e){return function(t,r,n){return e.transporter.read({method:h,path:o("1/answers/%s/prediction",e.indexName),data:{query:t,queryLanguages:r},cacheable:!0},n)}},j=function(e){return function(t,r){return e.transporter.read({method:h,path:o("1/indexes/%s/query",e.indexName),data:{query:t},cacheable:!0},r)}},S=function(e){return function(t,r,n){return e.transporter.read({method:h,path:o("1/indexes/%s/facets/%s/query",e.indexName,t),data:{facetQuery:r},cacheable:!0},n)}},x=function(e){return function(r,n){var i=r.map(function(e){return t(t({},e),{},{threshold:e.threshold||0})});return e.transporter.read({method:h,path:"1/indexes/*/recommendations",data:{requests:i},cacheable:!0},n)}};function F(e,a,o){var c,u,f,l,h,p,d,m;return v(t(t(t({},{appId:e,apiKey:a,timeouts:{connect:1,read:2,write:30},requester:{send:function(e){return new Promise(function(t){var r=new XMLHttpRequest;
1r.open(e.method,e.url,!0),Object.keys(e.headers).forEach(function(t){return r.setRequestHeader(t,e.headers[t])});var n,i=function(e,n){return setTimeout(function(){r.abort(),t({status:0,content:n,isTimedOut:!0})},1e3*e)},a=i(e.connectTimeout,"Connection timeout");r.onreadystatechange=function(){r.readyState>r.OPENED&&void 0===n&&(clearTimeout(a),n=i(e.responseTimeout,"Socket timeout"))},r.onerror=function(){0===r.status&&(clearTimeout(a),clearTimeout(n),t({content:r.responseText||"Network request failed",status:r.status,isTimedOut:!1}))},r.onload=function(){clearTimeout(a),clearTimeout(n),t({content:r.responseText,status:r.status,isTimedOut:!1})},r.send(e.data)})}},logger:{debug:function(e,t){return Promise.resolve()},info:function(e,t){return Promise.resolve()},error:function(e,t){return console.error(e,t),Promise.resolve()}},responsesCache:i(),requestsCache:i({serializable:!1}),hostsCache:function e(t){var i=n(t.caches),a=i.shift();return void 0===a?{get:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}};return t().then(function(e){return Promise.all([e,n.miss(e)])}).then(function(e){return r(e,1)[0]})},set:function(e,t){return Promise.resolve(t)},delete:function(e){return Promise.resolve()},clear:function(){return Promise.resolve()}}:{get:function(t,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}};return a.get(t,r,n).catch(function(){return e({caches:i}).get(t,r,n)})},set:function(t,r){return a.set(t,r).catch(function(){return e({caches:i}).set(t,r)})},delete:function(t){return a.delete(t).catch(function(){return e({caches:i}).delete(t)})},clear:function(){return a.clear().catch(function(){return e({caches:i}).clear()})}}}({caches:[(c={key:"".concat("4.23.3","-").concat(e)},f="algoliasearch-client-js-".concat(c.key),l=function(){return void 0===u&&(u=c.localStorage||window.localStorage),u},h=function(){return JSON.parse(l().getItem(f)||"{}")},p=function(e){l().setItem(f,JSON.stringify(e))},d=function(){var e=c.timeToLive?1e3*c.timeToLive:null,t=Object.fromEntries(Object.entries(h()).filter(function(e){return void 0!==r(e,2)[1].timestamp}));p(t),e&&p(Object.fromEntries(Object.entries(t).filter(function(t){var n=r(t,2)[1],i=(new Date).getTime();return!(n.timestamp+e<i)})))},{get:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}};return Promise.resolve().then(function(){d();var t=JSON.stringify(e);return h()[t]}).then(function(e){return Promise.all([e?e.value:t(),void 0!==e])}).then(function(e){var t=r(e,2),i=t[0];return Promise.all([i,t[1]||n.miss(i)])}).then(function(e){return r(e,1)[0]})},set:function(e,t){return Promise.resolve().then(function(){var r=h();return r[JSON.stringify(e)]={timestamp:(new Date).getTime(),value:t},l().setItem(f,JSON.stringify(r)),t})},delete:function(e){return Promise.resolve().then(function(){var t=h();delete t[JSON.stringify(e)],l().setItem(f,JSON.stringify(t))})},clear:function(){return Promise.resolve().then(function(){l().removeItem(f)})}}),i()]}),userAgent:(m={value:"Algolia for JavaScript (".concat("4.23.3",")"),add:function(e){var t="; ".concat(e.segment).concat(void 0!==e.version?" (".concat(e.version,")"):"");return -1===m.value.indexOf(t)&&(m.value="".concat(m.value).concat(t)),m}}).add({segment:"Browser",version:"lite"}),authMode:s.WithinQueryParameters}),o),{},{methods:{search:O,searchForFacetValues:R,multipleQueries:O,multipleSearchForFacetValues:R,customRequest:g,initIndex:function(e){return function(t){return b(e)(t,{methods:{search:j,searchForFacetValues:S,findAnswers:P}})}},getRecommendations:x}}))}return F.version="4.23.3",F}()},85935:e=>{"use strict";e.exports=function(e,t,r){if(!Array.isArray(e))return[];Array.isArray(r)||(r=[]);var n=e.map(function(e,r){return{criteria:t.map(function(t){return e[t]}),index:r,value:e}});return n.sort(function(e,t){for(var n=-1;++n<e.criteria.length;){var i=function(e,t){if(e!==t){var r=void 0!==e,n=null===e,i=void 0!==t,a=null===t;if(!a&&e>t||n&&i||!r)return 1;if(!n&&e<t||a&&r||!i)return -1}return 0}(e.criteria[n],t.criteria[n]);if(i){if(n>=r.length)return i;if("desc"===r[n])return-i;return i}}return e.index-t.index}),n.map(function(e){return e.value})}},89223:(e,t,r)=>{"use strict";r.d(t,{A:()=>f});var n=r(41728);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];
1for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function o(e,t){return(o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function s(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function u(e){var t=function(e,t){if("object"!==i(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==i(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===i(t)?t:String(t)}function f(e){return function(t){var r,f=function(r){if("function"!=typeof r&&null!==r)throw TypeError("Super expression must either be null or a function");p.prototype=Object.create(r&&r.prototype,{constructor:{value:p,writable:!0,configurable:!0}}),Object.defineProperty(p,"prototype",{writable:!1}),r&&o(p,r);var f,l,h=(f=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,t=c(p);return e=f?Reflect.construct(t,arguments,c(this).constructor):t.apply(this,arguments),function(e,t){if(t&&("object"===i(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return s(e)}(this,e)});function p(){var t,r,n,i;if(!(this instanceof p))throw TypeError("Cannot call a class as a function");for(var a=arguments.length,o=Array(a),c=0;c<a;c++)o[c]=arguments[c];return r=s(t=h.call.apply(h,[this].concat(o))),n="translate",i=function(r){var n=t.props.translations,i=n&&n.hasOwnProperty(r)?n[r]:e[r];if("function"==typeof i){for(var a=arguments.length,o=Array(a>1?a-1:0),s=1;s<a;s++)o[s-1]=arguments[s];return i.apply(void 0,o)}return i},(n=u(n))in r?Object.defineProperty(r,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[n]=i,t}return l=[{key:"render",value:function(){return n.createElement(t,a({translate:this.translate},this.props))}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,u(n.key),n)}}(p.prototype,l),Object.defineProperty(p,"prototype",{writable:!1}),p}(n.Component),l=t.displayName||t.name||"UnknownComponent";return f.displayName="Translatable(".concat(l,")"),f.propTypes={translations:(r=Object.keys(e),function(e,t,n){var i=e[t];if(i)for(var a=0,o=Object.keys(i);a<o.length;a++){var s=o[a];if(-1===r.indexOf(s))return Error("Unknown `".concat(t,"` key `").concat(s,"`. Check the render method ")+"of `".concat(n,"`."))}})},f}}},95021:e=>{"use strict";e.exports=function e(t){if("number"==typeof t)return t;if("string"==typeof t)return parseFloat(t);if(Array.isArray(t))return t.map(e);throw Error("The value should be a number, a parsable string or an array of those.")}},95213:(e,t,r)=>{"use strict";e.exports=function(e){return function(t,r){var n,u,f,l,h,p=e.hierarchicalFacets[r],d=e.hierarchicalFacetsRefinements[p.name]&&e.hierarchicalFacetsRefinements[p.name][0]||"",m=e._getHierarchicalFacetSeparator(p),y=e._getHierarchicalRootPath(p),v=e._getHierarchicalShowParentLevel(p),g=a(e._getHierarchicalFacetSortBy(p)),b=t.every(function(e){return e.exhaustive}),O=(n=g,u=m,f=y,l=v,h=d,function(e,t,r){var a=e;if(r>0){var p=0;for(a=e;p<r;)a=i(a&&Array.isArray(a.data)?a.data:[],function(e){return e.isRefined}),p++}if(a){var d=Object.keys(t.data).map(function(e){return[e,t.data[e]]}).filter(function(e){var t,r,n,i,o,s;return t=e[0],r=a.path||f,n=h,i=u,o=f,s=l,(!o||0===t.indexOf(o)&&o!==t)&&(!o&&-1===t.indexOf(i)||o&&t.split(i).length-o.split(i).length==1||-1===t.indexOf(i)&&-1===n.indexOf(i)||0===n.indexOf(t)||0===t.indexOf(r+i)&&(s||0===t.indexOf(n)))});a.data=o(d.map(function(e){var r,n,i,a,o,f,l=e[0];return r=e[1],n=l,i=u,a=c(h),o=t.exhaustive,{name:(f=n.split(i))[f.length-1].trim(),path:n,escapedValue:s(n),count:r,isRefined:a===n||0===a.indexOf(n+i),exhaustive:o,data:null}}),n[0],n[1])}return e}),R=t;return y&&(R=t.slice(y.split(m).length)),R.reduce(O,{name:e.hierarchicalFacets[r].name,count:null,isRefined:!0,path:null,escapedValue:null,exhaustive:b,data:null})}};var n=r(45633),i=r(15385),a=r(61449),o=r(85935),s=n.escapeFacetValue,c=n.unescapeFacetValue},99167:e=>{"use strict";e.exports=function(e,t){return e.filter(function(r,n){return t.indexOf(r)>-1&&e.indexOf(r)===n})}}}]); 2//# sourceMappingURL=3240.1666491e787aec84.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.