PageSourceSearch

https://www.industrialsupplies.com.au/component---src-pages-search-results-index-js-1513e996a1c114da5a8f.js

js industrialsupplies.com.au collected 2026-09-29 17:24:58 UTC 109,113 bytes, 3 lines download raw bytes

1/*! For license information please see component---src-pages-search-results-index-js-1513e996a1c114da5a8f.js.LICENSE.txt */
2(self.webpackChunkindustrial_supplies=self.webpackChunkindustrial_supplies||[]).push([[857],{221:function(e,t,r){"use strict";var n=r(2861);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):(e[0].push(a[0]),e[1].push(a[1]),e)},[[],[]])}},623:function(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 new Error("The value should be a number, a parsable string or an array of those.")}},786:function(e){"use strict";e.exports=function(e,t){e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}},930:function(e,t,r){"use strict";var n=r(3696),i=r(3289),a=r(6925);const s=(0,i.default)(e=>n.createElement(a.A,{className:`${e.className}`},e.children)).withConfig({componentId:"sc-1rnwhb2-0"})(["p{max-width:",";}dt{font-weight:bold;}dd{margin-bottom:var(--s-3);}h2 + *,h3 + *{margin-top:var(--s-3);}& > ul{list-style:none;}& > ul:not(.grid-list) > li{padding-left:var(--s2);position:relative;&::before{content:'';position:absolute;left:var(--s-4);top:var(--s-3);display:block;width:var(--s-3);height:var(--s-3);border-radius:50%;border:calc(.75*var(--s-5)) solid ",";background-color:",";}}& > ol{list-style:decimal;padding:0 0 0 var(--s1);& > li{margin:var(--border-medium) 0;&::marker{color:var(--color-primary);}}}"],e=>e.maxWidth?e.maxWidth:"80ch",e=>e.borderColor?e.borderColor:"var(--color-tertiary)",e=>e.borderColor?e.borderColor:"var(--color-tertiary)");t.A=s},1481:function(e){"use strict";e.exports=function(e){return Array.isArray(e)?e.filter(Boolean):[]}},2184:function(e,t,r){"use strict";var n=r(4612);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)})}),t.getRefinedHierarchicalFacets().forEach(function(n){var i=t.getHierarchicalFacetByName(n),s=t.getHierarchicalRefinement(n),c=t._getHierarchicalFacetSeparator(i);if(s.length>0&&s[0].split(c).length>1){var o=s[0].split(c).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(c)})},[]);o.forEach(function(n,s){var c=a._getDisjunctiveFacetSearchParams(t,n.attribute,0===s);function u(e){return i.attributes.some(function(t){return t===e.split(":")[0]})}var f=(c.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=o[s-1];c.facetFilters=s>0?f.concat(l.attribute+":"+l.value):f.length>0?f:void 0,r.push({indexName:e,params:c})})}}),r},_getHitsSearchParams:function(e){var t=e.facets.concat(e.disjunctiveFacets).concat(a._getHitsHierarchicalFacetsAttributes(e)).sort(),r=a._getFacetFilters(e),s=a._getNumericFilters(e),c=a._getTagFilters(e),o={facets:t.indexOf("*")>-1?["*"]:t,tagFilters:c};return r.length>0&&(o.facetFilters=r),s.length>0&&(o.numericFilters=s),i(n({},e.getQueryParams(),o))},_getDisjunctiveFacetSearchParams:function(e,t,r){var s=a._getFacetFilters(e,t,r),c=a._getNumericFilters(e,t),o=a._getTagFilters(e),u={hitsPerPage:0,page:0,analytics:!1,clickAnalytics:!1};o.length>0&&(u.tagFilters=o);var f=e.getHierarchicalFacetByName(t);return u.facets=f?a._getDisjunctiveHierarchicalFacetAttribute(e,f,r):t,c.length>0&&(u.numericFilters=c),s.length>0&&(u.facetFilters=s),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]||{};
2Object.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 s=e.disjunctiveFacetsRefinements||{};Object.keys(s).sort().forEach(function(e){var r=s[e]||[];if(e!==t&&r&&0!==r.length){var i=[];r.sort().forEach(function(t){i.push(e+":"+t)}),n.push(i)}});var c=e.hierarchicalFacetsRefinements||{};return Object.keys(c).sort().forEach(function(i){var a=(c[i]||[])[0];if(void 0!==a){var s,o,u=e.getHierarchicalFacetByName(i),f=e._getHierarchicalFacetSeparator(u),l=e._getHierarchicalRootPath(u);if(t===i){if(-1===a.indexOf(f)||!l&&!0===r||l&&l.split(f).length===a.split(f).length)return;l?(o=l.split(f).length-1,a=l):(o=a.split(f).length-2,a=a.slice(0,a.lastIndexOf(f))),s=u.attributes[o]}else o=a.split(f).length-1,s=u.attributes[o];s&&n.push([s+":"+a])}}),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,s=r.attributes.slice(0,a+1);return t.concat(s)},[])},_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 s=(e.getHierarchicalRefinement(t.name)[0]||"").split(n).length-1;return t.attributes.slice(0,s+1)},getSearchForFacetQuery:function(e,t,r,s){var c=s.isDisjunctiveFacet(e)?s.clearRefinements(e):s,o={facetQuery:t,facetName:e};return"number"==typeof r&&(o.maxFacetHits=r),i(n({},a._getHitsSearchParams(c),o))}};e.exports=a},2327:function(e){"use strict";e.exports=function(e,t){return e.filter(function(r,n){return t.indexOf(r)>-1&&e.indexOf(r)===n})}},2799:function(e){e.exports=function(){"use strict";function e(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function t(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 r(r){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?t(Object(i),!0).forEach(function(t){e(r,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(i)):t(Object(i)).forEach(function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(i,e))})}return r}function n(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 i(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 s,c=e[Symbol.iterator]();!(n=(s=c.next()).done)&&(r.push(s.value),!t||r.length!==t);n=!0);}catch(e){i=!0,a=e}finally{try{n||null==c.return||c.return()}finally{if(i)throw a}}return r}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function a(e){return function(e){if(Array.isArray(e)){for(var t=0,r=new 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 new TypeError("Invalid attempt to spread non-iterable instance")}()}function s(e){var t,r="algoliasearch-client-js-".concat(e.key),n=function(){return void 0===t&&(t=e.localStorage||window.localStorage),t},a=function(){return JSON.parse(n().getItem(r)||"{}")},s=function(e){n().setItem(r,JSON.stringify(e))},c=function(){var t=e.timeToLive?1e3*e.timeToLive:null,r=a(),n=Object.fromEntries(Object.entries(r).filter(function(e){return void 0!==i(e,2)[1].timestamp}));if(s(n),t){var c=Object.fromEntries(Object.entries(n).filter(function(e){var r=i(e,2)[1],n=(new Date).getTime();return!(r.timestamp+t<n)}));s(c)}};return{get:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}};return Promise.resolve().then(function(){c();var t=JSON.stringify(e);return a()[t]}).then(function(e){return Promise.all([e?e.value:t(),void 0!==e])}).then(function(e){var t=i(e,2),n=t[0],a=t[1];return Promise.all([n,a||r.miss(n)])}).then(function(e){return i(e,1)[0]})},set:function(e,t){return Promise.resolve().then(function(){var i=a();return i[JSON.stringify(e)]={timestamp:(new Date).getTime(),value:t},n().setItem(r,JSON.stringify(i)),t})},delete:function(e){return Promise.resolve().then(function(){var t=a();delete t[JSON.stringify(e)],n().setItem(r,JSON.stringify(t))})},clear:function(){return Promise.resolve().then(function(){n().removeItem(r)})}}}function c(e){var t=a(e.caches),r=t.shift();return void 0===r?{get:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}};return t().then(function(e){return Promise.all([e,r.miss(e)])}).then(function(e){return i(e,1)[0]})},set:function(e,t){return Promise.resolve(t)},delete:function(e){return Promise.resolve()},clear:function(){return Promise.resolve()}}:{get:function(e,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}};return r.get(e,n,i).catch(function(){return c({caches:t}).get(e,n,i)})},set:function(e,n){return r.set(e,n).catch(function(){return c({caches:t}).set(e,n)})},delete:function(e){return r.delete(e).catch(function(){return c({caches:t}).delete(e)})}
2,clear:function(){return r.clear().catch(function(){return c({caches:t}).clear()})}}}function o(){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 s=n(),c=i&&i.miss||function(){return Promise.resolve()};return s.then(function(e){return c(e)}).then(function(){return s})},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 u(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}function f(e,t){return t?(Object.keys(t).forEach(function(r){e[r]=t[r](e)}),e):e}function l(e){for(var t=arguments.length,r=new 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 h={WithinQueryParameters:0,WithinHeaders:1};function d(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 p={Read:1,Write:2,Any:3},m=1,g=2,v=3;function y(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:m;return r(r({},e),{},{status:t,lastUpdate:Date.now()})}function b(e){return"string"==typeof e?{protocol:"https",url:e,accept:p.Any}:{protocol:e.protocol||"https",url:e.url,accept:e.accept||p.Any}}var R="GET",F="POST";function x(e,t){return Promise.all(t.map(function(t){return e.get(t,function(){return Promise.resolve(y(t))})})).then(function(e){var r=e.filter(function(e){return function(e){return e.status===m||Date.now()-e.lastUpdate>12e4}(e)}),n=e.filter(function(e){return function(e){return e.status===v&&Date.now()-e.lastUpdate<=12e4}(e)}),i=[].concat(a(r),a(n));return{getTimeout:function(e,t){return(0===n.length&&0===e?1:n.length+3+e)*t},statelessHosts:i.length>0?i.map(function(e){return b(e)}):t}})}function S(e,t,n,i){var s=[],c=function(e,t){if(e.method!==R&&(void 0!==e.data||void 0!==t.data)){var n=Array.isArray(e.data)?e.data:r(r({},e.data),t.data);return JSON.stringify(n)}}(n,i),o=function(e,t){var n=r(r({},e.headers),t.headers),i={};return Object.keys(n).forEach(function(e){var t=n[e];i[e.toLowerCase()]=t}),i}(e,i),u=n.method,f=n.method!==R?{}:r(r({},n.data),i.data),l=r(r(r({"x-algolia-agent":e.userAgent.value},e.queryParameters),f),i.queryParameters),h=0,d=function t(r,a){var f=r.pop();if(void 0===f)throw{name:"RetryError",message:"Unreachable hosts - your application id may be incorrect. If the error persists, please reach out to the Algolia Support team: https://alg.li/support .",transporterStackTrace:w(s)};var d={data:c,headers:o,method:u,url:j(f,n.path,l),connectTimeout:a(h,e.timeouts.connect),responseTimeout:a(h,i.timeout)},p=function(e){var t={request:d,response:e,host:f,triesLeft:r.length};return s.push(t),t},m={onSuccess:function(e){return function(e){try{return JSON.parse(e.content)}catch(t){throw function(e,t){return{name:"DeserializationError",message:e,response:t}}(t.message,e)}}(e)},onRetry:function(n){var i=p(n);return n.isTimedOut&&h++,Promise.all([e.logger.info("Retryable failure",E(i)),e.hostsCache.set(f,y(f,n.isTimedOut?v:g))]).then(function(){return t(r,a)})},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 function(e,t,r){return{name:"ApiError",message:e,status:t,transporterStackTrace:r}}(i,n,t)}(e,w(s))}};return e.requester.send(d).then(function(e){return function(e,t){return function(e){var t=e.status;return e.isTimedOut||function(e){var t=e.isTimedOut,r=e.status;return!t&&0==~~r}(e)||2!=~~(t/100)&&4!=~~(t/100)}(e)?t.onRetry(e):2==~~(e.status/100)?t.onSuccess(e):t.onFail(e)}(e,m)})};return x(e.hostsCache,t).then(function(e){return d(a(e.statelessHosts).reverse(),e.getTimeout)})}function P(e){var t={value:"Algolia for JavaScript (".concat(e,")"),add:function(e){var r="; ".concat(e.segment).concat(void 0!==e.version?" (".concat(e.version,")"):"");return-1===t.value.indexOf(r)&&(t.value="".concat(t.value).concat(r)),t}};return t}function j(e,t,r){var n=O(r),i="".concat(e.protocol,"://").concat(e.url,"/").concat("/"===t.charAt(0)?t.substr(1):t);return n.length&&(i+="?".concat(n)),i}function O(e){return Object.keys(e).map(function(t){return l("%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]));var r}).join("&")}function w(e){return e.map(function(e){return E(e)})}function E(e){var t=e.request.headers["x-algolia-api-key"]?{"x-algolia-api-key":"*****"}:{};return r(r({},e),{},{request:r(r({},e.request),{},{headers:r(r({},e.request.headers),t)})})}var _=function(e){var t=e.appId,n=function(e,t,r){var n={"x-algolia-api-key":r,"x-algolia-application-id":t};return{headers:function(){return e===h.WithinHeaders?n:{}},queryParameters:function(){return e===h.WithinQueryParameters?n:{}}}}(void 0!==e.authMode?e.authMode:h.WithinHeaders,t,e.apiKey),a=function(e){var t=e.hostsCache,r=e.logger,n=e.requester,a=e.requestsCache,s=e.responsesCache,c=e.timeouts,o=e.userAgent,u=e.hosts,f=e.queryParameters,l={hostsCache:t,logger:r,requester:n,requestsCache:a,responsesCache:s,timeouts:c,userAgent:o,headers:e.headers,queryParameters:f,hosts:u.map(function(e){return b(e)}),read:function(e,t){var r=d(t,l.timeouts.read),n=function(){return S(l,l.hosts.filter(function(e){return 0!=(e.accept&p.Read)}),e,r)};if(!0!==(void 0!==r.cacheable?r.cacheable:e.cacheable))return n();var a={request:e,mappedRequestOptions:r,transporter:{queryParameters:l.queryParameters,headers:l.headers}};return l.responsesCache.get(a,function(){return l.requestsCache.get(a,function(){return l.requestsCache.set(a,n()).then(function(e){return Promise.all([l.requestsCache.delete(a),e])},function(e){return Promise.all([l.requestsCache.delete(a),Promise.reject(e)])}).then(function(e){var t=i(e,2);return t[0],t[1]})})},{miss:function(e){return l.responsesCache.set(a,e)}})},write:function(e,t){return S(l,l.hosts.filter(function(e){return 0!=(e.accept&p.Write)}),e,d(t,l.timeouts.write))}};return l}(r(r({hosts:[{url:"".concat(t,"-dsn.algolia.net"),accept:p.Read},{url:"".concat(t,".algolia.net"),accept:p.Write}].concat(u([{url:"".concat(t,"-1.algolianet.com")},{url:"".concat(t,"-2.algolianet.com")},{url:"".concat(t,"-3.algolianet.com")}]))},e),{},{headers:r(r(r({},n.headers()),{"content-type":"application/x-www-form-urlencoded"}),e.headers),queryParameters:r(r({},n.queryParameters()),e.queryParameters)}));return f({transporter:a,appId:t,addAlgoliaAgent:function(e,t){a.userAgent.add({segment:e,version:t})},clearCache:function(){return Promise.all([a.requestsCache.clear(),a.responsesCache.clear()]).then(function(){})}},e.methods)},C=function(e){return function(t,r){return t.method===R?e.transporter.read(t,r):e.transporter.write(t,r)}},A=function(e){return function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return f({transporter:e.transporter,appId:e.appId,indexName:t},r.methods)}},N=function(e){return function(t,n){var i=t.map(function(e){return r(r({},e),{},{params:O(e.params||{})})});return e.transporter.read({method:F,path:"1/indexes/*/queries",data:{requests:i},cacheable:!0},n)}},T=function(e){return function(t,i){return Promise.all(t.map(function(t){var a=t.params,s=a.facetName,c=a.facetQuery,o=n(a,["facetName","facetQuery"]);return A(e)(t.indexName,{methods:{searchForFacetValues:V}}).searchForFacetValues(s,c,r(r({},i),o))}))}},H=function(e){return function(t,r,n){return e.transporter.read({method:F,path:l("1/answers/%s/prediction",e.indexName),data:{query:t,queryLanguages:r},cacheable:!0},n)}},k=function(e){return function(t,r){return e.transporter.read({method:F,path:l("1/indexes/%s/query",e.indexName),data:{query:t},cacheable:!0},r)}},V=function(e){return function(t,r,n){return e.transporter.read({method:F,path:l("1/indexes/%s/facets/%s/query",e.indexName,t),data:{facetQuery:r},cacheable:!0},n)}},I=1,D=2,Q=3,q=function(e){return function(t,n){var i=t.map(function(e){return r(r({},e),{},{threshold:e.threshold||0})});return e.transporter.read({method:F,path:"1/indexes/*/recommendations",data:{requests:i},cacheable:!0},n)}};function M(e,t,n){var i,a={appId:e,apiKey:t,timeouts:{connect:1,read:2,write:30},requester:{send:function(e){return new Promise(function(t){var r=new XMLHttpRequest;
2r.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:(i=Q,{debug:function(e,t){return I>=i&&console.debug(e,t),Promise.resolve()},info:function(e,t){return D>=i&&console.info(e,t),Promise.resolve()},error:function(e,t){return console.error(e,t),Promise.resolve()}}),responsesCache:o(),requestsCache:o({serializable:!1}),hostsCache:c({caches:[s({key:"".concat("4.25.3","-").concat(e)}),o()]}),userAgent:P("4.25.3").add({segment:"Browser",version:"lite"}),authMode:h.WithinQueryParameters};return _(r(r(r({},a),n),{},{methods:{search:N,searchForFacetValues:T,multipleQueries:N,multipleSearchForFacetValues:T,customRequest:C,initIndex:function(e){return function(t){return A(e)(t,{methods:{search:k,searchForFacetValues:V,findAnswers:H}})}},getRecommendations:q}}))}return M.version="4.25.3",M}()},2861:function(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]}},3003:function(e,t,r){"use strict";var n=r(7311),i=r(4495),a=r(5479);function s(e,t,r){return new n(e,t,r)}s.version=r(4222),s.AlgoliaSearchHelper=n,s.SearchParameters=i,s.SearchResults=a,e.exports=s},3034:function(e,t,r){"use strict";var n=r(4394),i=r(4745),a=r(9107),s={addRefinement:function(e,t,r){if(s.isRefined(e,t,r))return e;var i=""+r,a=e[t]?e[t].concat(i):[i],c={};return c[t]=a,n({},c,e)},removeRefinement:function(e,t,r){if(void 0===r)return s.clearRefinement(e,function(e,r){return t===r});var n=""+r;return s.clearRefinement(e,function(e,r){return t===r&&n===e})},toggleRefinement:function(e,t,r){if(void 0===r)throw new Error("toggleRefinement should be used with a value");return s.isRefined(e,t,r)?s.removeRefinement(e,t,r):s.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,s=Object.keys(e).reduce(function(i,a){var s=e[a]||[],c=s.filter(function(e){return!t(e,a,r)});return c.length!==s.length&&(n=!0),i[a]=c,i},{});return n?s:e}},isRefined:function(e,t,r){var n=Boolean(e[t])&&e[t].length>0;if(void 0===r||!n)return n;var i=""+r;return-1!==e[t].indexOf(i)}};e.exports=s},3525:function(e,t,r){"use strict";var n=r(3696),i=r(1490),a=r(3289),s=r(5736),c=r(4400);const o=a.default.a.withConfig({componentId:"sc-1senq31-0"})(["display:grid;gap:var(--s-2) var(--s0);grid-template-rows:auto auto;grid-template-columns:auto auto;grid-template-areas:'heading heading' 'pdf content';text-decoration:none;justify-content:start;.item-heading{grid-area:heading;text-decoration:underline;}.item-pdf{grid-area:pdf;margin-top:var(--s-5);display:block;}.item-content{grid-area:content;color:var(--color-text-dark);}.item-content-data{color:var(--color-text-dark);}"]);t.A=e=>{let t="";const r=n.createElement(n.Fragment,null,(0,i.Ay)(e.title),e.manufacturer?` - ${(0,i.Ay)(e.manufacturer)}`:"");return t=e.headingL3?n.createElement("h3",{className:"item-heading"},r):n.createElement("h2",{className:"item-heading h3"},r),n.createElement(c.A,{as:"li",className:e.className},e.productdata?n.createElement(o,{href:e.uri},t,e.content&&n.createElement("div",{className:"item-content-data"},(0,i.Ay)(e.content))):n.createElement(o,{href:e.uri,rel:"nofollow"},t,n.createElement(s.A,{className:"item-pdf",svgId:e.id,width:"var(--s0x2)",height:"var(--s0x2)",title:"product sheet pdf",role:"img",fill:"var(--color-primary)"}),e.content&&n.createElement("div",{className:"item-content"},(0,i.Ay)(e.content))))}},4073:function(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}function i(e){return void 0===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,a,s,c,o,u;if(this._events||(this._events={}),"error"===e&&(!this._events.error||n(this._events.error)&&!this._events.error.length)){if((t=arguments[1])instanceof Error)throw t;var f=new Error('Uncaught, unspecified "error" event. ('+t+")");throw f.context=t,f}if(i(a=this._events[e]))return!1;if(r(a))switch(arguments.length){case 1:a.call(this);break;case 2:a.call(this,arguments[1]);break;case 3:a.call(this,arguments[1],arguments[2]);break;
vendor: 4,123 bytes, line 2
2default:c=Array.prototype.slice.call(arguments,1),a.apply(this,c)}else if(n(a))for(c=Array.prototype.slice.call(arguments,1),s=(u=a.slice()).length,o=0;o<s;o++)u[o].apply(this,c);return!0},t.prototype.addListener=function(e,a){var s;if(!r(a))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",e,r(a.listener)?a.listener:a),this._events[e]?n(this._events[e])?this._events[e].push(a):this._events[e]=[this._events[e],a]:this._events[e]=a,n(this._events[e])&&!this._events[e].warned&&(s=i(this._maxListeners)?t.defaultMaxListeners:this._maxListeners)&&s>0&&this._events[e].length>s&&(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,s,c;if(!r(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(s=(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(c=s;c-- >0;)if(i[c]===t||i[c].listener&&i[c].listener===t){a=c;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){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)}},4222:function(e){"use strict";e.exports="3.14.0"},4394:function(e){"use strict";e.exports=function(){return Array.prototype.slice.call(arguments).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},{})}},4495:function(e,t,r){"use strict";var n=r(4394),i=r(2861),a=r(2327),s=r(4612),c=r(4745),o=r(9107),u=r(623),f=r(5156),l=r(3034);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 d(e){var t=e?d._parseNumbers(e):{};void 0===t.userToken||f(t.userToken)||console.warn("[algoliasearch-helper] The `userToken` parameter is invalid. 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!==d.PARAMETERS.indexOf(e),i=void 0!==t[e];!n&&i&&(r[e]=t[e])})}d.PARAMETERS=Object.keys(new d),d._parseNumbers=function(e){if(e instanceof d)return e;var t={};if(["aroundPrecision","aroundRadius","getRankingInfo","minWordSizefor2Typos","minWordSizefor1Typo","page","maxValuesPerFacet","distinct","minimumAroun
2dRadius","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 s({},e,t)},d.make=function(e){var t=new d(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},d.validate=function(e,t){var r=t||{};return e.tagFilters&&r.tagRefinements&&r.tagRefinements.length>0?new 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?new 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&&c(r.numericRefinements)?new 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."):c(e.numericRefinements)&&r.numericFilters?new 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},d.prototype={constructor:d,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=s({},this.numericRefinements);return i[e]=s({},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){var n=r;return void 0!==n?this.isNumericRefined(e,t,n)?this.setQueryParameters({numericRefinements:this._clearNumericRefinements(function(r,i){return i===e&&r.op===t&&h(r.val,u(n))})}):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 c(this.numericRefinements)?{}:this.numericRefinements;if("string"==typeof e)return o(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],s={};return a=a||{}
vendor: 16,032 bytes, line 2
2,Object.keys(a).forEach(function(r){var n=a[r]||[],c=[];n.forEach(function(t){e({val:t,op:r},i,"numeric")||c.push(t)}),c.length!==n.length&&(t=!0),s[r]=c}),n[i]=s,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 new 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 new 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 new 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 new 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 new 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 new 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 new 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 new 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 new 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 new 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 new 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 new 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 new Error(e+" is already refined.");if(!this.isHierarchicalFacet(e))throw new 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 Boolean(this.numericRefinements[e]);var n=this.numericRefinements[e]&&void 0!==this.numericRefinements[e][t];if(void 0===r||!n)return n;var a,s,c=u(r),o=void 0!==(a=this.numericRefinements[e][t],s=c,i(a,function(e){return h(e,s)}));return n&&o},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;return 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=d.validate(this,e);if(t)throw t;var r=this,n=d._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?o(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=d},4569:function(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(/^\\-/,"-")}}},4612:function(e){"use strict";function t(e){return"object"==typeof e&&null!==e?n(Array.isArray(e)?[]:{},e):e}function r(e){return"function"==typeof e||Array.isArray(e)||"[object Object]"===Object.prototype.toString.call(e)}function n(e,i){if(e===i)return e;for(var a in i)if(Object.prototype.hasOwnProperty.call(i,a)&&"__proto__"!==a&&"constructor"!==a){var s=i[a],c=e[a];void 0!==c&&void 0===s||(r(c)&&r(s)?e[a]=n(c,s):e[a]=t(s))}return e}e.exports=function(e){r(e)||(e={});for(var t=1,i=arguments.length;t<i;t++){var a=arguments[t];r(a)&&n(e,a)}return e}},4745:function(e){"use strict";e.exports=function(e){return e&&Object.keys(e).length>0}},5053:function(e){"use strict";function t(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.exports=function(e,r,n){if(!Array.isArray(e))return[];Array.isArray(n)||(n=[]);var i=e.map(function(e,t){return{criteria:r.map(function(t){return e[t]}),index:t,value:e}});return i.sort(function(e,r){for(var i=-1;++i<e.criteria.length;){var a=t(e.criteria[i],r.criteria[i]);if(a)return i>=n.length?a:"desc"===n[i]?-a:a}return e.index-r.index}),i.map(function(e){return e.value})}},5156:function(e){"use strict";e.exports=function(e){return null!==e&&/^[a-zA-Z0-9_-]{1,64}$/.test(e)}},5479:function(e,t,r){"use strict";var n=r(1481),i=r(4394),a=r(4569),s=r(2861),c=r(7209),o=r(221),u=r(4612),f=r(5053),l=a.escapeFacetValue,h=a.unescapeFacetValue,d=r(6949);function p(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 g(e,t,r){var a=t[0];this._rawResults=t;var o=this;Object.keys(a).forEach(function(e){o[e]=a[e]}),Object.keys(r||{}).forEach(function(e){o[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=p(e.facets),g=p(e.disjunctiveFacets),v=1,y=a.facets||{};Object.keys(y).forEach(function(t){var r,n,i=y[t],u=(r=e.hierarchicalFacets,n=t,s(r,function(e){return(e.attributes||[]).indexOf(n)>-1}));if(u){var f=u.attributes.indexOf(t),h=c(e.hierarchicalFacets,function(e){return e.name===u.name});o.hierarchicalFacets[h][f]={attribute:t,data:i,exhaustive:a.exhaustiveFacetsCount}}else{var d,p=-1!==e.disjunctiveFacets.indexOf(t),v=-1!==e.facets.indexOf(t);p&&(d=g[t],o.disjunctiveFacets[d]={name:t,data:i,exhaustive:a.exhaustiveFacetsCount},m(o.disjunctiveFacets[d],a.facets_stats,t)),v&&(d=l[t],o.facets[d]={name:t,data:i,exhaustive:a.exhaustiveFacetsCount},m(o.facets[d],a.facets_stats,t))}}),this.hierarchicalFacets=n(this.hierarchicalFacets),f.forEach(function(r){var n=t[v],s=n&&n.facets?n.facets:{},f=e.getHierarchicalFacetByName(r);Object.keys(s).forEach(function(t){var r,l=s[t];if(f){r=c(e.hierarchicalFacets,function(e){return e.name===f.name});var d=c(o.hierarchicalFacets[r],function(e){return e.attribute===t});if(-1===d)return;o.hierarchicalFacets[r][d].data=u({},o.hierarchicalFacets[r][d].data,l)}else{r=g[t];var p=a.facets&&a.facets[t]||{};o.disjunctiveFacets[r]={name:t,data:i({},l,p),exhaustive:n.exhaustiveFacetsCount},m(o.disjunctiveFacets[r],n.facets_stats,t),e.disjunctiveFacetsRefinements[t]&&e.disjunctiveFacetsRefinements[t].forEach(function(n){!o.disjunctiveFacets[r].data[n]&&e.disjunctiveFacetsRefinements[t].indexOf(h(n))>-1&&(o.disjunctiveFacets[r].data[n]=0)})}}),v++}),e.getRefinedHierarchicalFacets().forEach(function(r){var n=e.getHierarchicalFacetByName(r),a=e._getHierarchicalFacetSeparator(n),s=e.getHierarchicalRefinement(r);0===s.length||s[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=c(e.hierarchicalFacets,function(e){return e.name===n.name}),l=c(o.hierarchicalFacets[f],function(e){return e.attribute===t});if(-1!==l){var h={};if(s.length>0){var d=s[0].split(a)[0];h[d]=o.hierarchicalFacets[f][l].data[d]}o.hierarchicalFacets[f][l].data=i(h,u,o.hierarchicalFacets[f][l].data)}}),v++})}),Object.keys(e.facetsExcludes).forEach(function(t){var r=e.facetsExcludes[t],n=l[t];o.facets[n]={name:t,data:y[t],exhaustive:a.exhaustiveFacetsCount},r.forEach(function(e){o.facets[n]=o.facets[n]||{name:t},o.facets[n].data=o.facets[n].data||{},o.facets[n].data[e]=0})}),this.hierarchicalFacets=this.hierarchicalFacets.map(d(e)),this.facets=n(this.facets),this.disjunctiveFacets=n(this.disjunctiveFacets),this._state=e}function v(e,t){function r(e){return e.name===t}if(e._state.isConjunctiveFacet(t)){var n=s(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=s(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=s(e.hierarchicalFacets,r);if(!a)return a;var c=e._state.getHierarchicalFacetByName(t),o=e._state._getHierarchicalFacetSeparator(c),u=h(e._state.getHierarchicalRefinement(t)[0]||"");0===u.indexOf(c.rootPath)&&(u=u.replace(c.rootPath+o,""));var f=u.split(o);return f.unshift(t),y(a,f,0),a}}function y(e,t,r){e.isRefined=e.name===t[r],e.data&&e.data.forEach(function(e){y(e,t,r+1)})}function b(e,t,r,n){if(n=n||0,Array.isArray(t))return e(t,r[n]);if(!t.data||0===t.data.length)return t;var a=t.data.map(function(t){return b(e,t,r,n+1)}),s=e(a,r[n]);return i({data:s},t)}function R(e,t){var r=s(e,function(e){return e.name===t});return r&&r.stats}function F(e,t,r,n,i){var a=s(i,function(e){return e.name===r}),c=a&&a.data&&a.data[n]?a.data[n]:0,o=a&&a.exhaustive||!1;return{type:t,attributeName:r,name:n,count:c,exhaustive:o}}g.prototype.getFacetByName=function(e){function t(t){return t.name===e}return s(this.facets,t)||s(this.disjunctiveFacets,t)||s(this.hierarchicalFacets,t)}
2,g.DEFAULT_SORT=["isRefined:desc","count:desc","name:asc"],g.prototype.getFacetValues=function(e,t){var r=v(this,e);if(r){var n,a=i({},t,{sortBy:g.DEFAULT_SORT,facetOrdering:!(t&&t.sortBy)}),s=this;if(Array.isArray(r))n=[e];else n=s._state.getHierarchicalFacetByName(r.name).attributes;return b(function(e,t){if(a.facetOrdering){var r=function(e,t){return e.renderingContent&&e.renderingContent.facetOrdering&&e.renderingContent.facetOrdering.values&&e.renderingContent.facetOrdering.values[t]}(s,t);if(r)return function(e,t){var r=[],n=[],i=(t.order||[]).reduce(function(e,t,r){return e[t]=r,e},{});e.forEach(function(e){var t=e.path||e.name;void 0!==i[t]?r[i[t]]=e:n.push(e)}),r=r.filter(function(e){return e});var a,s=t.sortRemainingBy;return"hidden"===s?r:(a="alpha"===s?[["path","name"],["asc","asc"]]:[["count"],["desc"]],r.concat(f(n,a[0],a[1])))}(e,r)}if(Array.isArray(a.sortBy)){var n=o(a.sortBy,g.DEFAULT_SORT);return f(e,n[0],n[1])}if("function"==typeof a.sortBy)return function(e,t){return t.sort(e)}(a.sortBy,e);throw new Error("options.sortBy is optional but if defined it must be either an array of string (predicates) or a sorting function")},r,n)}},g.prototype.getFacetStats=function(e){return this._state.isConjunctiveFacet(e)?R(this.facets,e):this._state.isDisjunctiveFacet(e)?R(this.disjunctiveFacets,e):void 0},g.prototype.getRefinements=function(){var e=this._state,t=this,r=[];return Object.keys(e.facetsRefinements).forEach(function(n){e.facetsRefinements[n].forEac
2h(function(i){r.push(F(e,"facet",n,i,t.facets))})}),Object.keys(e.facetsExcludes).forEach(function(n){e.facetsExcludes[n].forEach(function(i){r.push(F(e,"exclude",n,i,t.facets))})}),Object.keys(e.disjunctiveFacetsRefinements).forEach(function(n){e.disjunctiveFacetsRefinements[n].forEach(function(i){r.push(F(e,"disjunctive",n,i,t.disjunctiveFacets))})}),Object.keys(e.hierarchicalFacetsRefinements).forEach(function(n){e.hierarchicalFacetsRefinements[n].forEach(function(i){r.push(function(e,t,r,n){var i=e.getHierarchicalFacetByName(t),a=e._getHierarchicalFacetSeparator(i),c=r.split(a),o=s(n,function(e){return e.name===t}),u=c.reduce(function(e,t){var r=e&&s(e.data,function(e){return e.name===t});return void 0!==r?r:e},o),f=u&&u.count||0,l=u&&u.exhaustive||!1,h=u&&u.path||"";return{type:"hierarchical",attributeName:t,name:h,count:f,exhaustive:l}}(e,n,i,t.hierarchicalFacets))})}),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=g},5736:function(e,t,r){"use strict";var n=r(3696);const i=(0,r(3289).default)(e=>n.createElement("svg",{viewBox:"0 0 128 128",focusable:"false",role:e.role?e.role:"img",height:"128px",width:"128px","aria-labelledby":e.svgId,className:e.className},n.createElement("title",{id:e.svgId},e.title?e.title:"PDF icon"),n.createElement("path",{d:"M32.195,73.728h-2.539v5.688h2.539c0.889,0,1.631-0.094,2.228-0.279c0.597-0.187,1.052-0.491,1.364-0.914   c0.313-0.424,0.471-0.978,0.471-1.663c0-0.821-0.242-1.49-0.725-2.006C34.992,74.002,33.879,73.728,32.195,73.728z M52.457,74.254   c-0.812-0.249-1.795-0.374-2.945-0.374h-2.488v12.632h2.855c0.627,0,1.117-0.018,1.473-0.051c0.355-0.034,0.725-0.119,1.105-0.254   c0.381-0.136,0.711-0.326,0.99-0.571c1.261-1.066,1.891-2.903,1.891-5.51c0-1.837-0.277-3.212-0.831-4.126   S53.27,74.504,52.457,74.254z M96,92V68c0-3.314-2.686-6-6-6H10c-3.314,0-6,2.686-6,6v24c0,3.314,2.686,6,6,6h80   C93.314,98,96,95.314,96,92z M38.326,80.792c-1.168,0.978-2.906,1.467-5.217,1.467h-3.453v5.269c0,0.753-0.178,1.324-0.533,1.714   c-0.355,0.389-0.805,0.584-1.346,0.584c-0.567,0-1.024-0.192-1.371-0.578c-0.348-0.385-0.521-0.95-0.521-1.694V73.207   c0-0.83,0.191-1.422,0.572-1.777s0.985-0.533,1.814-0.533h4.838c1.43,0,2.53,0.109,3.301,0.33c0.762,0.211,1.42,0.562,1.974,1.054   c0.554,0.49,0.976,1.092,1.263,1.803c0.288,0.711,0.432,1.511,0.432,2.399C40.078,78.378,39.494,79.814,38.326,80.792z    M58.867,83.211c-0.194,0.922-0.494,1.754-0.9,2.494c-0.406,0.741-0.928,1.403-1.562,1.987c-0.499,0.448-1.045,0.808-1.637,1.079   c-0.593,0.271-1.23,0.461-1.911,0.571c-0.681,0.109-1.449,0.165-2.304,0.165h-4.914c-0.686,0-1.201-0.104-1.549-0.312   c-0.347-0.207-0.572-0.499-0.679-0.876c-0.106-0.376-0.159-0.865-0.159-1.466V73.207c0-0.812,0.183-1.401,0.547-1.765   c0.363-0.364,0.951-0.546,1.764-0.546h4.914c1.277,0,2.373,0.118,3.287,0.355c0.914,0.236,1.744,0.681,2.488,1.333   c1.938,1.658,2.908,4.181,2.908,7.566C59.16,81.269,59.062,82.288,58.867,83.211z M74.934,73.403c-0.293,0.267-0.738,0.4-1.34,0.4   h-7.426v4.761h6.207c0.576,0,1.006,0.129,1.289,0.387c0.283,0.259,0.426,0.604,0.426,1.035s-0.145,0.774-0.432,1.028   c-0.289,0.254-0.715,0.381-1.283,0.381h-6.207v6.132c0,0.778-0.176,1.356-0.527,1.732c-0.352,0.377-0.802,0.565-1.352,0.565   c-0.559,0-1.014-0.19-1.365-0.571s-0.527-0.957-0.527-1.727v-14.32c0-0.542,0.081-0.984,0.242-1.327   c0.16-0.343,0.412-0.592,0.755-0.749c0.343-0.156,0.78-0.234,1.313-0.234h8.887c0.602,0,1.047,0.133,1.34,0.399   c0.291,0.267,0.438,0.616,0.438,1.048C75.371,72.783,75.225,73.137,74.934,73.403z M84,0H30c-4.418,0-8,3.582-8,8v46h6V8   c0-1.103,0.897-2,2-2h51.515L82,6.485v16.981C82,28.18,85.814,32,90.526,32h16.988L108,32.485V120c0,1.103-0.897,2-2,2H30   c-1.103,0-2-0.897-2-2v-14h-6v14c0,4.418,3.582,8,8,8h76c4.418,0,8-3.582,8-8V30L84,0z"}))).withConfig({componentId:"sc-y3qcjo-0"})(["fill:",";width:",";height:",";"],e=>e.fill?e.fill:"currentColor",e=>e.width?e.width:"var(--s0)",e=>e.height?e.height:"var(--s0)");t.A=i},6349:function(e,t,r){"use strict";
2var n=r(3696),i=r(3289),a=r(581);const s=(0,i.default)(e=>n.createElement("div",{className:e.className},n.createElement(a.A,{spacing:"var(--s2)"},n.createElement("ul",null,e.children)))).withConfig({componentId:"sc-12vgyjw-0"})(["margin-top:var(--s3);background:",";padding:",";border-radius:var(--border-radius);@supports (","){","}"],e=>e.background?e.background:"none",e=>e.padding?e.padding:"var(--layout-space-support)",e=>e.padding?e.padding:"var(--layout-space)",e=>e.padding?e.padding:"var(--layout-space)");t.A=s},6949:function(e,t,r){"use strict";e.exports=function(e){return function(t,r){var n=e.hierarchicalFacets[r],u=e.hierarchicalFacetsRefinements[n.name]&&e.hierarchicalFacetsRefinements[n.name][0]||"",f=e._getHierarchicalFacetSeparator(n),l=e._getHierarchicalRootPath(n),h=e._getHierarchicalShowParentLevel(n),d=a(e._getHierarchicalFacetSortBy(n)),p=t.every(function(e){return e.exhaustive}),m=function(e,t,r,n,a){return function(u,f,l){var h=u;if(l>0){var d=0;for(h=u;d<l;){var p=h&&Array.isArray(h.data)?h.data:[];h=i(p,function(e){return e.isRefined}),d++}}if(h){var m=Object.keys(f.data).map(function(e){return[e,f.data[e]]}).filter(function(e){return function(e,t,r,n,i,a){if(i&&(0!==e.indexOf(i)||i===e))return!1;return!i&&-1===e.indexOf(n)||i&&e.split(n).length-i.split(n).length===1||-1===e.indexOf(n)&&-1===r.indexOf(n)||0===r.indexOf(e)||0===e.indexOf(t+n)&&(a||0===e.indexOf(r))}(e[0],h.path||r,a,t,r,n)});h.data=s(m.map(function(e){var r=e[0];return function(e,t,r,n,i){var a=t.split(r);return{name:a[a.length-1].trim(),path:t,escapedValue:c(t),count:e,isRefined:n===t||0===n.indexOf(t+r),exhaustive:i,data:null}}(e[1],r,t,o(a),f.exhaustive)}),e[0],e[1])}return u}}(d,f,l,h,u),g=t;return l&&(g=t.slice(l.split(f).length)),g.reduce(m,{name:e.hierarchicalFacets[r].name,count:null,isRefined:!0,path:null,escapedValue:null,exhaustive:p,data:null})}};var n=r(4569),i=r(2861),a=r(221),s=r(5053),c=n.escapeFacetValue,o=n.unescapeFacetValue},7209:function(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}},7311:function(e,t,r){"use strict";var n=r(4073),i=r(7568),a=r(4569).escapeFacetValue,s=r(786),c=r(4612),o=r(4745),u=r(9107),f=r(2184),l=r(4495),h=r(5479),d=r(4222);function p(e,t,r){"function"==typeof e.addAlgoliaAgent&&e.addAlgoliaAgent("JS Helper ("+d+")"),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 new Error("Page requested below 0.");return this._change({state:this.state.setPage(e),isPageReset:!1}),this}function g(){return this.state.page}s(p,n),p.prototype.search=function(){return this._search({onlyWithDerivedHelpers:!1}),this},p.prototype.searchOnlyWithDerivedHelpers=function(){return this._search({onlyWithDerivedHelpers:!0}),this},p.prototype.getQuery=function(){var e=this.state;return f._getHitsSearchParams(e)},p.prototype.searchOnce=function(e,t){var r=e?this.state.setQueryParameters(e):this.state,n=f._getQueries(r.index,r),i=this;if(this._currentNbQueries++,this.emit("searchOnce",{state:r}),!t)return 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});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)})},p.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=c({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 new Error(a);var s=this.client.initIndex(n.index);if("function"!=typeof s.findAnswers)throw new Error(a);return s.findAnswers(n.query,e.queryLanguages,i)},p.prototype.searchForFacetValues=function(e,t,r,n){var i="function"==typeof this.client.searchForFacetValues,s="function"==typeof this.client.initIndex;if(!i&&!s&&"function"!=typeof this.client.search)throw new 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||{}),o=c.isDisjunctiveFacet(e),u=f.getSearchForFacetQuery(e,t,r,c);this._currentNbQueries++;var l,h=this;return i?l=this.client.searchForFacetValues([{indexName:c.index,params:u}]):s?l=this.client.initIndex(c.index).searchForFacetValues(u):(delete u.facetName,l=this.client.search([{type:"facet",facet:e,indexName:c.index,params:u}]).then(function(e){return e.results[0]}
vendor: 8,896 bytes, line 2
2)),this.emit("searchForFacetValues",{state:c,facet:e,query:t}),l.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=o?c.isDisjunctiveFacetRefined(e,t.escapedValue):c.isFacetRefined(e,t.escapedValue)}),t},function(e){throw h._currentNbQueries--,0===h._currentNbQueries&&h.emit("searchQueueEmpty"),e})},p.prototype.setQuery=function(e){return this._change({state:this.state.resetPage().setQuery(e),isPageReset:!0}),this},p.prototype.clearRefinements=function(e){return this._change({state:this.state.resetPage().clearRefinements(e),isPageReset:!0}),this},p.prototype.clearTags=function(){return this._change({state:this.state.resetPage().clearTags(),isPageReset:!0}),this},p.prototype.addDisjunctiveFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().addDisjunctiveFacetRefinement(e,t),isPageReset:!0}),this},p.prototype.addDisjunctiveRefine=function(){return this.addDisjunctiveFacetRefinement.apply(this,arguments)},p.prototype.addHierarchicalFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().addHierarchicalFacetRefinement(e,t),isPageReset:!0}),this},p.prototype.addNumericRefinement=function(e,t,r){return this._change({state:this.state.resetPage().addNumericRefinement(e,t,r),isPageReset:!0}),this},p.prototype.addFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().addFacetRefinement(e,t),isPageReset:!0}),this},p.prototype.addRefine=function(){return this.addFacetRefinement.apply(this,arguments)},p.prototype.addFacetExclusion=function(e,t){return this._change({state:this.state.resetPage().addExcludeRefinement(e,t),isPageReset:!0}),this},p.prototype.addExclude=function(){return this.addFacetExclusion.apply(this,arguments)},p.prototype.addTag=function(e){return this._change({state:this.state.resetPage().addTagRefinement(e),isPageReset:!0}),this},p.prototype.removeNumericRefinement=function(e,t,r){return this._change({state:this.state.resetPage().removeNumericRefinement(e,t,r),isPageReset:!0}),this},p.prototype.removeDisjunctiveFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().removeDisjunctiveFacetRefinement(e,t),isPageReset:!0}),this},p.prototype.removeDisjunctiveRefine=function(){return this.removeDisjunctiveFacetRefinement.apply(this,arguments)},p.prototype.removeHierarchicalFacetRefinement=function(e){return this._change({state:this.state.resetPage().removeHierarchicalFacetRefinement(e),isPageReset:!0}),this},p.prototype.removeFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().removeFacetRefinement(e,t),isPageReset:!0}),this},p.prototype.removeRefine=function(){return this.removeFacetRefinement.apply(this,arguments)},p.prototype.removeFacetExclusion=function(e,t){return this._change({state:this.state.resetPage().removeExcludeRefinement(e,t),isPageReset:!0}),this},p.prototype.removeExclude=function(){return this.removeFacetExclusion.apply(this,arguments)},p.prototype.removeTag=function(e){return this._change({state:this.state.resetPage().removeTagRefinement(e),isPageReset:!0}),this},p.prototype.toggleFacetExclusion=function(e,t){return this._change({state:this.state.resetPage().toggleExcludeFacetRefinement(e,t),isPageReset:!0}),this},p.prototype.toggleExclude=function(){return this.toggleFacetExclusion.apply(this,arguments)},p.prototype.toggleRefinement=function(e,t){return this.toggleFacetRefinement(e,t)},p.prototype.toggleFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().toggleFacetRefinement(e,t),isPageReset:!0}),this},p.prototype.toggleRefine=function(){return this.toggleFacetRefinement.apply(this,arguments)},p.prototype.toggleTag=function(e){return this._change({state:this.state.resetPage().toggleTagRefinement(e),isPageReset:!0}),this},p.prototype.nextPage=function(){var e=this.state.page||0;return this.setPage(e+1)},p.prototype.previousPage=function(){var e=this.state.page||0;return this.setPage(e-1)},p.prototype.setCurrentPage=m,p.prototype.setPage=m,p.prototype.setIndex=function(e){return this._change({state:this.state.resetPage().setIndex(e),isPageReset:!0}),this},p.prototype.setQueryParameter=function(e,t){return this._change({state:this.state.resetPage().setQueryParameter(e,t),isPageReset:!0}),this},p.prototype.setState=function(e){return this._change({state:l.make(e),isPageReset:!1}),this},p.prototype.overrideStateWithoutTriggeringChangeEvent=function(e){return this.state=new l(e),this},p.prototype.hasRefinements=function(e){return!!o(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))},p.prototype.isExcluded=function(e,t){return this.state.isExcludeRefined(e,t)},p.prototype.isDisjunctiveRefined=function(e,t){return this.state.isDisjunctiveFacetRefined(e,t)},p.prototype.hasTag=function(e){return this.state.isTagRefined(e)},p.prototype.isTagRefined=function(){return this.hasTagRefinements.apply(this,arguments)},p.prototype.getIndex=function(){return this.state.index},p.prototype.getCurrentPage=g,p.prototype.getPage=g,p.prototype.getTags=function(){return this.state.tagRefinements},p.prototype.getRefinements=function(e){var t=[];if(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"})});else if(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},p.prototype.getNumericRefinement=function(e,t){return this.state.getNumericRefinement(e,t)},p.prototype.getHierarchicalFacetBreadcrumb=function(e){return this.state.getHierarchicalFacetBreadcrumb(e)},p.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),s=this._queryId++;if(this._currentNbQueries++,!a.length)return Promise.resolve({results:[]}).then(this._dispatchAlgoliaResponse.bind(this,r,s));try{this.client.search(a).then(this._dispatchAlgoliaResponse.bind(this,r,s)).catch(this._dispatchAlgoliaError.bind(this,s))}catch(c){this.emit("error",{error:c})}},p.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);t.index?(i.lastResults=new h(t,a),i.emit("result",{results:i.lastResults,state:t})):i.emit("result",{results:null,state:t})})}},p.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"))},p.prototype.containsRefinement=function(e,t,r,n){return e||0!==t.length||0!==r.length||0!==n.length},p.prototype._hasDisjunctiveRefinements=function(e){return this.state.disjunctiveRefinements[e]&&this.state.disjunctiveRefinements[e].length>0},p.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}))},p.prototype.clearCache=function(){return this.client.clearCache&&this.client.clearCache(),this},p.prototype.setClient=function(e){return this.client===e||("function"==typeof e.addAlgoliaAgent&&e.addAlgoliaAgent("JS Helper ("+d+")"),this.client=e),this},p.prototype.getClient=function(){return this.client},p.prototype.derive=function(e){var t=new i(this,e);return this.derivedHelpers.push(t),t},p.prototype.detachDerivedHelper=function(e){var t=this.derivedHelpers.indexOf(e);if(-1===t)throw new Error("Derived helper already detached");this.derivedHelpers.splice(t,1)},p.prototype.hasPendingRequests=function(){return this._currentNbQueries>0},e.exports=p},7383:function(e){var t="undefined"!=typeof Element,r="function"==typeof Map,n="function"==typeof Set,i="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function a(e,s){if(e===s)return!0;
2if(e&&s&&"object"==typeof e&&"object"==typeof s){if(e.constructor!==s.constructor)return!1;var c,o,u,f;if(Array.isArray(e)){if((c=e.length)!=s.length)return!1;for(o=c;0!==o--;)if(!a(e[o],s[o]))return!1;return!0}if(r&&e instanceof Map&&s instanceof Map){if(e.size!==s.size)return!1;for(f=e.entries();!(o=f.next()).done;)if(!s.has(o.value[0]))return!1;for(f=e.entries();!(o=f.next()).done;)if(!a(o.value[1],s.get(o.value[0])))return!1;return!0}if(n&&e instanceof Set&&s instanceof Set){if(e.size!==s.size)return!1;for(f=e.entries();!(o=f.next()).done;)if(!s.has(o.value[0]))return!1;return!0}if(i&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(s)){if((c=e.length)!=s.length)return!1;for(o=c;0!==o--;)if(e[o]!==s[o])return!1;return!0}if(e.constructor===RegExp)return e.source===s.source&&e.flags===s.flags;if(e.valueOf!==Object.prototype.valueOf&&"function"==typeof e.valueOf&&"function"==typeof s.valueOf)return e.valueOf()===s.valueOf();if(e.toString!==Object.prototype.toString&&"function"==typeof e.toString&&"function"==typeof s.toString)return e.toString()===s.toString();if((c=(u=Object.keys(e)).length)!==Object.keys(s).length)return!1;for(o=c;0!==o--;)if(!Object.prototype.hasOwnProperty.call(s,u[o]))return!1;if(t&&e instanceof Element)return!1;for(o=c;0!==o--;)if(("_owner"!==u[o]&&"__v"!==u[o]&&"__o"!==u[o]||!e.$$typeof)&&!a(e[u[o]],s[u[o]]))return!1;return!0}return e!=e&&s!=s}e.exports=function(e,t){try{return a(e,t)}catch(r){if((r.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw r}}},7568:function(e,t,r){"use strict";var n=r(4073);function i(e,t){this.main=e,this.fn=t,this.lastResults=null}r(786)(i,n),i.prototype.detach=function(){this.removeAllListeners(),this.main.detachDerivedHelper(this)},i.prototype.getModifiedState=function(e){return this.fn(e)},e.exports=i},9107:function(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}},9649:function(e,t,r){"use strict";r.r(t),r.d(t,{Head:function(){return Ye},default:function(){return Ze}});var n=r(3696),i=r(2799),a=r.n(i),s=r(8192),c=r(1490),o=r(2688),u=r.n(o),f=r(7383),l=r.n(f),h=(0,n.createContext)({onInternalStateUpdate:function(){},createHrefForState:function(){return"#"},onSearchForFacetValues:function(){},onSearchStateChange:function(){},onSearchParameters:function(){},store:{},widgetsManager:{},mainTargetedIndex:""}),d=h.Consumer,p=h.Provider,m=(0,n.createContext)(void 0),g=m.Consumer;m.Provider;function v(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 y(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?v(Object(r),!0).forEach(function(t){b(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):v(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function b(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==R(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==R(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===R(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function R(e){return R="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},R(e)}var F=Object.prototype.hasOwnProperty,x=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(!F.call(t,r[i])||e[r[i]]!==t[r[i]])return!1;return!0},S=Promise.resolve(),P=function e(t){return Object.keys(t).forEach(function(r){var n,i=t[r];(function(e){return"object"===R(e)&&null!==e&&!Array.isArray(e)})(i)&&((n=i)&&Object.keys(n).length>0?e(i):delete t[r])}),t};function j(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}var O=["contextValue"];function w(e){return w="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},w(e)}function E(){return E=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];
2for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},E.apply(this,arguments)}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}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 A(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%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 N(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 T(e,t){return T=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},T(e,t)}function H(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(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}}();return function(){var r,n=V(e);if(t){var i=V(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return function(e,t){if(t&&("object"===w(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return k(e)}(this,r)}}function k(e){if(void 0===e)throw new 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)},V(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"!==w(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==w(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===w(t)?t:String(t)}function Q(e){if(!e.displayName)throw new 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,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=function(i){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&T(e,t)}(u,i);var a,s,c,o=H(u);function u(t){var r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),I(k(r=o.call(this,t)),"unsubscribe",void 0),I(k(r),"unregisterWidget",void 0),I(k(r),"cleanupTimerRef",null),I(k(r),"isUnmounting",!1),I(k(r),"state",{providedProps:r.getProvidedProps(r.props)}),I(k(r),"refine",function(){for(var t,n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];r.props.contextValue.onInternalStateUpdate((t=e.refine).call.apply(t,[k(r),r.props,r.props.contextValue.store.getState().widgets].concat(i)))}),I(k(r),"createURL",function(){for(var t,n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return r.props.contextValue.createHrefForState((t=e.refine).call.apply(t,[k(r),r.props,r.props.contextValue.store.getState().widgets].concat(i)))}),I(k(r),"searchForFacetValues",function(){for(var t,n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];r.props.contextValue.onSearchForFacetValues((t=e.searchForFacetValues).call.apply(t,[k(r),r.props,r.props.contextValue.store.getState().widgets].concat(i)))}),e.getSearchParameters&&r.props.contextValue.onSearchParameters(e.getSearchParameters.bind(k(r)),{ais:r.props.contextValue,multiIndexContext:r.props.indexContextValue},r.props,e.getMetadata&&e.getMetadata.bind(k(r)),e.displayName),r}return a=u,(s=[{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=x(this.props,t);return null===this.state.providedProps||null===r.providedProps?this.state.providedProps!==r.providedProps||!n:!n||!x(this.state.providedProps,r.providedProps)}},{key:"componentDidUpdate",value:function(r){l()(r,this.props)||(this.setState({providedProps:this.getProvidedProps(this.props)}
2),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(A(A({},t.props.contextValue.store.getState()),{},{widgets:r})),t.props.contextValue.onSearchStateChange(P(r))}})}},{key:"getProvidedProps",value:function(t){var r=this.props.contextValue.store.getState(),n=r.widgets,i=r.results,a=r.resultsFacetValues,s=r.searching,c=r.searchingForFacetValues,o=r.isSearchStalled,u=r.metadata,f={results:i,searching:s,searchingForFacetValues:c,isSearchStalled:o,error:r.error};return e.getProvidedProps.call(this,t,n,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,_(t,O)),a=this.state.providedProps;if(null===a)return null;var s="function"==typeof e.refine?{refine:this.refine,createURL:this.createURL}:{},c="function"==typeof e.searchForFacetValues?{searchForItems:this.searchForFacetValues}:{};return n.createElement(r,E({},i,a,s,c))}}])&&N(a.prototype,s),c&&N(a,c),Object.defineProperty(a,"prototype",{writable:!1}),u}(n.Component);return I(s,"displayName","".concat(e.displayName,"(").concat((i=r).displayName||i.name||"UnknownComponent",")")),I(s,"$$type",e.$$type),I(s,"$$widgetType",a.$$widgetType),I(s,"propTypes",e.propTypes),I(s,"defaultProps",e.defaultProps),I(s,"_connectorDesc",e),s}}var q=function(e){return function(t,r){var i=Q(e)(t,r);return function(e){return n.createElement(d,null,function(t){return n.createElement(g,null,function(r){return n.createElement(i,E({contextValue:t,indexContextValue:r},e))})})}}};function M(e){return M="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},M(e)}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 L(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){U(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 U(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==M(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==M(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===M(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function W(e){return J(e)?e.multiIndexContext.targetedIndex:e.ais.mainTargetedIndex}function $(e,t){if(e.results){if(e.results.hits)return e.results;var r=W(t);if(e.results[r])return e.results[r]}return null}function J(e){return e&&e.multiIndexContext}function z(e,t,r,n,i){if(J(r)){var a=W(r);return i?function(e,t,r,n,i){var a,s=n?{page:1}:void 0,c=e.indices&&e.indices[r]?L(L({},e.indices),{},U({},r,L(L({},e.indices[r]),{},(U(a={},i,L(L({},e.indices[r][i]),t)),U(a,"page",1),a)))):L(L({},e.indices),{},U({},r,L(U({},i,t),s)));return L(L({},e),{},{indices:c})}(e,t,a,n,i):function(e,t,r,n){var i=n?{page:1}:void 0,a=e.indices&&e.indices[r]?L(L({},e.indices),{},U({},r,L(L(L({},e.indices[r]),t),i))):L(L({},e.indices),{},U({},r,L(L({},t),i)));return L(L({},e),{},{indices:a})}(e,t,a,n)}
2return e.indices&&n&&Object.keys(e.indices).forEach(function(t){e=z(e,{page:1},{multiIndexContext:{targetedIndex:t}},!0,i)}),i?function(e,t,r,n){var i=r?{page:1}:void 0;return L(L({},e),{},U({},n,L(L({},e[n]),t)),i)}(e,t,n,i):function(e,t,r){var n=r?{page:1}:void 0;return L(L(L({},e),t),n)}(e,t,n)}function K(e){var t=e.match(/^([^.]*)\.(.*)/);return{namespace:t&&t[1],attributeName:t&&t[2]}}function Y(e,t,r,n,i){var a=W(r),s=K(n),c=s.namespace,o=s.attributeName,u={multiIndex:J(r),indexId:a,namespace:c,attributeName:o,id:n,searchState:t},f=function(e){var t=e.multiIndex,r=e.indexId,n=e.namespace,i=e.attributeName,a=e.id,s=e.searchState;return t&&n?s.indices&&s.indices[r]&&s.indices[r][n]&&Object.hasOwnProperty.call(s.indices[r][n],i):t?s.indices&&s.indices[r]&&Object.hasOwnProperty.call(s.indices[r],a):n?s[n]&&Object.hasOwnProperty.call(s[n],i):Object.hasOwnProperty.call(s,a)}(u);return f?function(e){var t=e.multiIndex,r=e.indexId,n=e.namespace,i=e.attributeName,a=e.id,s=e.searchState;return t&&n?s.indices[r][n][i]:t?s.indices[r][a]:n?s[n][i]:s[a]}(u):e.defaultRefinement?e.defaultRefinement:i}function Z(e,t,r){var n=W(t),i=K(r),a=i.namespace,s=i.attributeName;return J(t)&&Boolean(e.indices)?function(e){var t=e.searchState,r=e.indexId,n=e.id,i=e.namespace,a=e.attribute,s=t.indices[r];if(i&&s)return L(L({},t),{},{indices:L(L({},t.indices),{},U({},r,L(L({},s),{},U({},i,j(s[i],[a])))))});if(s)return L(L({},t),{},{indices:L(L({},t.indices),{},U({},r,j(s,[n])))});return t}({attribute:s,searchState:e,indexId:n,id:r,namespace:a}):function(e){var t=e.searchState,r=e.id,n=e.namespace,i=e.attribute;if(n)return L(L({},t),{},U({},n,j(t[n],[i])));return j(t,[r])}({attribute:s,searchState:e,id:r,namespace:a})}function G(e){return G="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},G(e)}function X(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==G(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==G(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===G(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ee(e,t,r){var n=Y(e,t,r,"query","");return n||""}function te(e,t,r,n){return z(t,X({},"query",r),n,!0)}var re=q({displayName:"AlgoliaSearchBox",$$type:"ais.searchBox",propTypes:{defaultRefinement:u().string},getProvidedProps:function(e,t,r){return{currentRefinement:ee(e,t,{ais:e.contextValue,multiIndexContext:e.indexContextValue}),isSearchStalled:r.isSearchStalled}},refine:function(e,t,r){return te(0,t,r,{ais:e.contextValue,multiIndexContext:e.indexContextValue})},cleanUp:function(e,t){return function(e,t,r){return Z(t,r,"query")}(0,t,{ais:e.contextValue,multiIndexContext:e.indexContextValue})},getSearchParameters:function(e,t,r){return e.setQuery(ee(t,r,{ais:t.contextValue,multiIndexContext:t.indexContextValue}))},getMetadata:function(e,t){var r="query",n=ee(e,t,{ais:e.contextValue,multiIndexContext:e.indexContextValue});return{id:r,index:W({ais:e.contextValue,multiIndexContext:e.indexContextValue}),items:null===n?[]:[{label:"".concat(r,": ").concat(n),value:function(t){return te(0,t,"",{ais:e.contextValue,multiIndexContext:e.indexContextValue})},currentRefinement:n}]}}}),ne=q({displayName:"AlgoliaHits",$$type:"ais.hits",getProvidedProps:function(e,t,r){var n,i,a,s=$(r,{ais:e.contextValue,multiIndexContext:e.indexContextValue});return s?{hits:function(e,t){return t?e.map(function(e){return y(y({},e),{},{__queryID:t})}):e}((n=s.hits,i=s.hitsPerPage,a=s.page,n.map(function(e,t){return y(y({},e),{},{__position:i*a+t+1})})),s.queryID)}:{hits:[]}},getSearchParameters:function(e){return e}}),ie=q({displayName:"AlgoliaStats",$$type:"ais.stats",getProvidedProps:function(e,t,r){var n=$(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}});function ae(e){return ae="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},ae(e)}function se(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==ae(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==ae(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===ae(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ce(e,t,r){var n=Y(e,t,r,"page",1);return"string"==typeof n?parseInt(n,10):n}var oe=q({displayName:"AlgoliaPagination",$$type:"ais.pagination",getProvidedProps:function(e,t,r){var n=$(r,{ais:e.contextValue,multiIndexContext:e.indexContextValue});if(!n)return null;var i=n.nbPages;return{nbPages:i,currentRefinement:ce(e,t,{ais:e.contextValue,multiIndexContext:e.indexContextValue}),canRefine:i>1}},refine:function(e,t,r){return function(e,t,r,n){return z(t,se({},"page",r),n,!1)}(0,t,r,{ais:e.contextValue,multiIndexContext:e.indexContextValue})},cleanUp:function(e,t){return Z(t,{ais:e.contextValue,multiIndexContext:e.indexContextValue},"page")},getSearchParameters:function(e,t,r){return e.setPage(ce(t,r,{ais:t.contextValue,multiIndexContext:t.indexContextValue})-1)},getMetadata:function(){return{id:"page"}}}),ue=r(3003),fe=r.n(ue);function le(e){var t=[],r=!1;function n(){var t;r||(r=!0,t=function(){r=!1,e()},S.then(t))}return{registerWidget:function(e){return t.push(e),n(),function(){t.splice(t.indexOf(e),1),n()}},update:n,getWidgets:function(){return t}}}var he={highlightPreTag:"<ais-highlight-0000000000>",highlightPostTag:"</ais-highlight-0000000000>"};var de=["resultsFacetValues"],pe=["resultsFacetValues"],me=["resultsFacetValues"];function ge(e){return ge="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},ge(e)}function ve(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 ye(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 be(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
2t%2?ye(Object(r),!0).forEach(function(t){Re(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ye(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function Re(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==ge(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==ge(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===ge(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fe(e){"function"==typeof e.addAlgoliaAgent&&(e.addAlgoliaAgent("react (".concat(n.version,")")),e.addAlgoliaAgent("react-instantsearch (".concat("6.40.4",")")))}var xe=function(e){return J({ais:e.props.contextValue,multiIndexContext:e.props.indexContextValue})},Se=function(e,t){return e.props.indexContextValue.targetedIndex===t},Pe=function(e){return Boolean(e.props.indexId)},je=function(e,t){return e.props.indexId===t},Oe=function(e,t){var r=Pe(e),n=Pe(t);return r&&!n?-1:!r&&n?1:0};function we(e){return Object.keys(e).map(function(t){return function(e){for(var t=arguments.length,r=new 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++])})}("%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]));var r}).join("&")}function Ee(e){var t=e.indexName,r=e.initialState,n=void 0===r?{}:r,i=e.searchClient,a=e.resultsState,s=e.stalledSearchDelay,c=fe()(i,t,be({},he));Fe(i),c.on("search",function(){f||(f=setTimeout(function(){var e=d.getState(),t=(e.resultsFacetValues,ve(e,me));d.setState(be(be({},t),{},{isSearchStalled:!0}))},s))}).on("result",v({indexId:t})).on("error",y);var o,u=!1,f=null,l=c.state,h=le(function(){var e=p(d.getState().widgets);d.setState(be(be({},d.getState()),{},{metadata:e,searching:!0})),g()});!function(e,t){if(!t)return;if((!e.transporter||e._cacheHydrated)&&(!e._useCache||"function"!=typeof e.addAlgoliaAgent))return;if(e.transporter&&!e._cacheHydrated){e._cacheHydrated=!0;var r=e.search;e.search=function(t){for(var n=arguments.length,i=new Array(n>1?n-1:0),a=1;a<n;a++)i[a-1]=arguments[a];var s=t.map(function(e){return be(be({},e),{},{params:we(e.params)})});return e.transporter.responsesCache.get({method:"search",args:[s].concat(i)},function(){return r.apply(void 0,[t].concat(i))})}}if(Array.isArray(t.results))return void function(e,t){if(e.transporter)return void e.transporter.responsesCache.set({method:"search",args:[t.reduce(function(e,t){return e.concat(t.rawResults.map(function(e){return{indexName:e.index,params:e.params}}))},[])]},{results:t.reduce(function(e,t){return e.concat(t.rawResults)},[])});var r="/1/indexes/*/queries_body_".concat(JSON.stringify({requests:t.reduce(function(e,t){return e.concat(t.rawResults.map(function(e){return{indexName:e.index,params:e.params}}))},[])}));e.cache=be(be({},e.cache),{},Re({},r,JSON.stringify({results:t.reduce(function(e,t){return e.concat(t.rawResults)},[])})))}(e,t.results);!function(e,t){if(e.transporter)return void 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=be(be({},e.cache),{},Re({},r,JSON.stringify({results:t.rawResults})))}(e,t)}(i,a);var d=function(e){var t=e,r=[];return{getState:function(){return t},setState:function(e){t=e,r.forEach(function(e){return e()})},subscribe:function(e){return r.push(e),function(){r.splice(r.indexOf(e),1)}}}}({widgets:n,metadata:_e(a),results:function(e){if(!e)return null;if(Array.isArray(e.results))return e.results.reduce(function(e,t){return be(be({},e),{},Re({},t._internalIndexId,new(fe().SearchResults)(new(fe().SearchParameters)(t.state),t.rawResults)))},{});return new(fe().SearchResults)(new(fe().SearchParameters)(e.state),e.rawResults)}(a),error:null,searching:!1,isSearchStalled:!0,searchingForFacetValues:!1});function p(e){return h.getWidgets().filter(function(e){return Boolean(e.getMetadata)}).map(function(t){return t.getMetadata(e)})}function m(){var e=h.getWidgets().filter(function(e){return Boolean(e.getSearchParameters)}).filter(function(e){return!xe(e)&&!Pe(e)}).reduce(function(e,t){return t.getSearchParameters(e)},l),r=h.getWidgets().filter(function(e){return Boolean(e.getSearchParameters)}).filter(function(e){var r=xe(e)&&Se(e,t),n=Pe(e)&&je(e,t);return r||n}).sort(Oe).reduce(function(e,t){return t.getSearchParameters(e)},e),n=h.getWidgets().filter(function(e){return Boolean(e.getSearchParameters)}).filter(function(e){var r=xe(e)&&!Se(e,t),n=Pe(e)&&!je(e,t);return r||n}).sort(Oe).reduce(function(e,t){var r=xe(t)?t.props.indexContextValue.targetedIndex:t.props.indexId,n=e[r]||[];return be(be({},e),{},Re({},r,n.concat(t)))},{});return{mainParameters:r,derivedParameters:Object.keys(n).map(function(t){return{parameters:n[t].reduce(function(e,t){return t.getSearchParameters(e)},e),indexId:t}})}}function g(){if(!u){var e=m(c.state),t=e.mainParameters,r=e.derivedParameters;
2o=r.length+1,c.derivedHelpers.slice().forEach(function(e){e.detach()}),r.forEach(function(e){var t=e.indexId,r=e.parameters;c.derive(function(){return r}).on("result",v({indexId:t})).on("error",y)}),c.setState(t),c.search()}}function v(e){var t=e.indexId;return function(e){o--;var r=d.getState(),n=!c.derivedHelpers.length,i=r.results?r.results:{};i=!n&&i.getFacetByName?{}:i,i=n?e.results:be(be({},i),{},Re({},t,e.results));var a=d.getState(),s=a.isSearchStalled;c.hasPendingRequests()||(clearTimeout(f),f=null,s=!1);a.resultsFacetValues;var u=ve(a,de);d.setState(be(be({},u),{},{results:i,isSearchStalled:s,searching:o>0,error:null}))}}function y(e){var t=e.error,r=d.getState(),n=r.isSearchStalled;c.hasPendingRequests()||(clearTimeout(f),n=!1);r.resultsFacetValues;var i=ve(r,pe);d.setState(be(be({},i),{},{isSearchStalled:n,error:t,searching:!1}))}return{store:d,widgetsManager:h,getWidgetsIds:function(){return d.getState().metadata.reduce(function(e,t){return void 0!==t.id?e.concat(t.id):e},[])},getSearchParameters:m,onSearchForFacetValues:function(e){var t=e.facetName,r=e.query,n=e.maxFacetHits,i=void 0===n?10:n,a=Math.max(1,Math.min(i,100));d.setState(be(be({},d.getState()),{},{searchingForFacetValues:!0})),c.searchForFacetValues(t,r,a).then(function(e){var n;d.setState(be(be({},d.getState()),{},{error:null,searchingForFacetValues:!1,resultsFacetValues:be(be({},d.getState().resultsFacetValues),{},(n={},Re(n,t,e.facetHits),Re(n,"query",r),n))}))},function(e){d.setState(be(be({},d.getState()),{},{searchingForFacetValues:!1,error:e}))}).catch(function(e){setTimeout(function(){throw e})})},onExternalStateUpdate:function(e){var t=p(e);d.setState(be(be({},d.getState()),{},{widgets:e,metadata:t,searching:!0})),g()},transitionState:function(e){var t=d.getState().widgets;return h.getWidgets().filter(function(e){return Boolean(e.transitionState)}).reduce(function(e,r){return r.transitionState(t,e)},e)},updateClient:function(e){Fe(e),c.setClient(e),g()},updateIndex:function(e){l=l.setIndex(e)},clearCache:function(){c.clearCache(),g()},skipSearch:function(){u=!0}}}function _e(e){return e?e.metadata.map(function(e){return be(be({value:function(){return{}}},e),{},{items:e.items&&e.items.map(function(e){return be(be({value:function(){return{}}},e),{},{items:e.items&&e.items.map(function(e){return be({value:function(){return{}}},e)})})})})}):[]}function Ce(e){return Ce="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},Ce(e)}function Ae(e,t){var r=document.createElement("meta"),n=document.querySelector("head");r.name="algolia:metadata";var i=function(e,t){var r=["contextValue","indexContextValue"],n=e.map(function(e){var t=e.props,n=e.constructor,i=n._connectorDesc||{},a=i.defaultProps,s=void 0===a?{}:a,c=i.displayName;return{displayName:void 0===c?n.displayName:c,$$type:n.$$type,$$widgetType:n.$$widgetType,params:Object.keys(t).filter(function(e){return!r.includes(e)&&s[e]!==t[e]&&void 0!==t[e]})}}),i=t;return{ua:i.transporter&&i.transporter.userAgent?i.transporter.userAgent.value:i._ua,widgets:n}}(e,t);r.content=JSON.stringify(i),n.appendChild(r)}function Ne(e){return Ne="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},Ne(e)}function Te(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 He(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Te(Object(r),!0).forEach(function(t){qe(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Te(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function ke(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,Me(n.key),n)}}function Ve(e,t){return Ve=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ve(e,t)}function Ie(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(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}}();
2return function(){var r,n=Qe(e);if(t){var i=Qe(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return function(e,t){if(t&&("object"===Ne(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return De(e)}(this,r)}}function De(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qe(e){return Qe=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Qe(e)}function qe(e,t,r){return(t=Me(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Me(e){var t=function(e,t){if("object"!==Ne(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==Ne(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===Ne(t)?t:String(t)}function Be(e){return Boolean(e.searchState)}var Le=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ve(e,t)}(s,e);var t,r,i,a=Ie(s);function s(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),qe(De(t=a.call(this,e)),"cleanupTimerRef",null),qe(De(t),"isUnmounting",!1);var r=Ee({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(De(t)),createHrefForState:t.createHrefForState.bind(De(t)),onSearchForFacetValues:t.onSearchForFacetValues.bind(De(t)),onSearchStateChange:t.onSearchStateChange.bind(De(t)),onSearchParameters:t.onSearchParameters.bind(De(t))};return t.state={isControlled:Be(t.props),instantSearchManager:r,contextValue:n},t}return t=s,i=[{key:"getDerivedStateFromProps",value:function(e,t){var r=Be(e),n=t.instantSearchManager.store.getState().widgets,i=e.searchState;return r&&!l()(n,i)&&t.instantSearchManager.onExternalStateUpdate(e.searchState),{isControlled:r,contextValue:He(He({},t.contextValue),{},{mainTargetedIndex:e.indexName})}}}],(r=[{key:"componentDidUpdate",value:function(e){var t=Be(e);if(t&&!this.state.isControlled)throw new Error("You can't switch <InstantSearch> from being controlled to uncontrolled");if(!t&&this.state.isControlled)throw new 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(){this.cleanupTimerRef&&(clearTimeout(this.cleanupTimerRef),this.cleanupTimerRef=null),"object"===("undefined"==typeof window?"undefined":Ce(window))&&"object"===Ce(window.navigator)&&"string"==typeof window.navigator.userAgent&&window.navigator.userAgent.includes("Algolia Crawler")&&"object"===Ce(window.document)&&Ae(this.state.instantSearchManager.widgetsManager.getWidgets(),this.props.searchClient)}},{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 s=this.props.searchState?this.props.searchState:{};this.props.widgetsCollector({getSearchParameters:e,getMetadata:n,context:t,props:r,searchState:s,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===n.Children.count(this.props.children)?null:n.createElement(p,{value:this.state.contextValue},this.props.children)}}])&&ke(t.prototype,r),i&&ke(t,i),Object.defineProperty(t,"prototype",{writable:!1}),s}(n.Component);qe(Le,"defaultProps",{stalledSearchDelay:200,refresh:!1}),qe(Le,"propTypes",{indexName:u().string.isRequired,searchClient:u().shape({search:u().func.isRequired,searchForFacetValues:u().func,addAlgoliaAgent:u().func,clearCache:u().func}).isRequired,createURL:u().func,refresh:u().bool,searchState:u().object,onSearchStateChange:u().func,onSearchParameters:u().func,widgetsCollector:u().func,resultsState:u().oneOfType([u().object,u().array]),children:u().node,stalledSearchDelay:u().number});var Ue=Le,We=r(6180),$e=r(930),Je=r(6925),ze=r(3525),Ke=r(6349);const Ye=e=>{let{data:{site:t}}=e;return n.createElement(n.Fragment,null,n.createElement("title",null,"Search results | ",t.siteMetadata.title),n.createElement("meta",{name:"description",content:t.siteMetadata.description}),n.createElement("meta",{name:"robots",content:"index, follow"}))};var Ze=()=>{const{0:e,1:t}
2=(0,n.useState)({searchState:{query:""}}),r=new URLSearchParams((0,s.useLocation)().search).get("search");(0,n.useEffect)(()=>{t({searchState:{query:(0,c.Ay)(r)}})},[r]);const i=a()("YI08PKAF3Q","fcf5c951c7c73c9fe574984a0fc91382"),o=re(e=>{let{currentRefinement:t}=e;return n.createElement("input",{type:"hidden",value:t})}),u=ne(e=>{let{hits:t}=e;return n.createElement(Je.A,{as:"ul"},t&&t.map(e=>n.createElement(ze.A,{key:e.objectID,title:e.title,content:e.contentStripped,uri:e.pdfUrl,manufacturer:e.manufacturerTitle,manufacturerUrl:e.manufacturerUrl,categoryUrl:e.categoryUrl,categoryName:e.categoryName,productdata:e.productdata})))}),f=ie(t=>{let{nbHits:r}=t;return n.createElement("p",{id:"pagination-status",tabIndex:"-1"},"There are ",n.createElement("strong",null,r.toLocaleString())," products found for the search term ",n.createElement("strong",null,e.searchState.query),".")}),l=oe(e=>{let{currentRefinement:t,nbPages:r,refine:i,createURL:a}=e;return n.createElement(Ke.A,{background:"var(--color-background-light-secondary)"},new Array(r).fill(null).map((e,r)=>{const s=r+1;return n.createElement("li",{key:r},t!==s?n.createElement("a",{href:a(s),onClick:e=>{e.preventDefault(),i(s),document.querySelector("#pagination-status").focus()}},s):n.createElement("strong",null,s))}))});let h="null";return h=""!==e.searchState.query&&"null"!==e.searchState.query?n.createElement(Je.A,null,n.createElement(Ue,{searchClient:i,indexName:"iis_products"},n.createElement(f,null),n.createElement(o,{defaultRefinement:e.searchState.query}),n.createElement(u,null),n.createElement(l,null))):n.createElement("p",null,"Enter a search term to find relevant products."),n.createElement(We.A,{title:"Search results"},n.createElement($e.A,null,h))}}}]);
3//# sourceMappingURL=component---src-pages-search-results-index-js-1513e996a1c114da5a8f.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.