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,IAAD0F,EACnD,OAAO1F,SAAAA,EAAQkF,OAASlF,EAAOkF,OAAOD,EAAuC,QAA3BS,EAAED,aAAU,EAAVA,EAAazF,EAAOqF,aAAK,IAAAK,EAAAA,EAAI1F,aAAM,EAANA,EAAQmF,WAAcF,CAAY,GAClHD,GAGqC,C,qCCnB5C,IAhBuBtB,GACrBnC,EAAAA,cAAA,MAAA9G,OAAA2J,OAAA,GACMV,EAAK,CACTP,KAAK,MACLwC,QAAQ,YACRnE,UAAWkC,EAAMlC,YAEjBD,EAAAA,cAAA,aAAO,iBACPA,EAAAA,cAAA,WACEqE,KAAK,UACLC,SAAS,UACTC,OAAO,yE,qCCKb,IAhBwBpC,GACtBnC,EAAAA,cAAA,MAAA9G,OAAA2J,OAAA,GACMV,EAAK,CACTP,KAAK,MACLwC,QAAQ,YACRnE,UAAWkC,EAAMlC,YAEjBD,EAAAA,cAAA,aAAO,aACPA,EAAAA,cAAA,WACEqE,KAAK,UACLC,SAAS,UACTC,OAAO,0E","sources":["webpack://wfb/./node_modules/gatsby-theme-tinker-tailor/node_modules/decode-uri-component/index.js","webpack://wfb/./node_modules/gatsby-theme-tinker-tailor/node_modules/filter-obj/index.js","webpack://wfb/./node_modules/gatsby-theme-tinker-tailor/node_modules/split-on-first/index.js","webpack://wfb/./node_modules/gatsby-theme-tinker-tailor/node_modules/query-string/base.js","webpack://wfb/./node_modules/gatsby-theme-tinker-tailor/node_modules/query-string/index.js","webpack://wfb/./node_modules/gatsby-theme-tinker-tailor/src/components/index/filter/filter-menu.js","webpack://wfb/./node_modules/gatsby-theme-tinker-tailor/src/components/index/index-layout.js","webpack://wfb/./node_modules/gatsby-theme-tinker-tailor/src/components/result-length-dropdown.js","webpack://wfb/./node_modules/gatsby-theme-tinker-tailor/src/components/index/pagination-controls/pagination-controls.js","webpack://wfb/./node_modules/gatsby-theme-tinker-tailor/src/hooks/use-filters.js","webpack://wfb/./node_modules/gatsby-theme-tinker-tailor/src/svgs/icons/point-left.js","webpack://wfb/./node_modules/gatsby-theme-tinker-tailor/src/svgs/icons/point-right.js"],"sourcesContent":["const token = '%[a-f0-9]{2}';\nconst singleMatcher = new RegExp('(' + token + ')|([^%]+?)', 'gi');\nconst multiMatcher = new RegExp('(' + token + ')+', 'gi');\n\nfunction decodeComponents(components, split) {\n\ttry {\n\t\t// Try to decode the entire string first\n\t\treturn [decodeURIComponent(components.join(''))];\n\t} catch {\n\t\t// Do nothing\n\t}\n\n\tif (components.length === 1) {\n\t\treturn components;\n\t}\n\n\tsplit = split || 1;\n\n\t// Split the array in 2 parts\n\tconst left = components.slice(0, split);\n\tconst right = components.slice(split);\n\n\treturn Array.prototype.concat.call([], decodeComponents(left), decodeComponents(right));\n}\n\nfunction decode(input) {\n\ttry {\n\t\treturn decodeURIComponent(input);\n\t} catch {\n\t\tlet tokens = input.match(singleMatcher) || [];\n\n\t\tfor (let i = 1; i < tokens.length; i++) {\n\t\t\tinput = decodeComponents(tokens, i).join('');\n\n\t\t\ttokens = input.match(singleMatcher) || [];\n\t\t}\n\n\t\treturn input;\n\t}\n}\n\nfunction customDecodeURIComponent(input) {\n\t// Keep track of all the replacements and prefill the map with the `BOM`\n\tconst replaceMap = {\n\t\t'%FE%FF': '\\uFFFD\\uFFFD',\n\t\t'%FF%FE': '\\uFFFD\\uFFFD',\n\t};\n\n\tlet match = multiMatcher.exec(input);\n\twhile (match) {\n\t\ttry {\n\t\t\t// Decode as big chunks as possible\n\t\t\treplaceMap[match[0]] = decodeURIComponent(match[0]);\n\t\t} catch {\n\t\t\tconst result = decode(match[0]);\n\n\t\t\tif (result !== match[0]) {\n\t\t\t\treplaceMap[match[0]] = result;\n\t\t\t}\n\t\t}\n\n\t\tmatch = multiMatcher.exec(input);\n\t}\n\n\t// Add `%C2` at the end of the map to make sure it does not replace the combinator before everything else\n\treplaceMap['%C2'] = '\\uFFFD';\n\n\tconst entries = Object.keys(replaceMap);\n\n\tfor (const key of entries) {\n\t\t// Replace all decoded components\n\t\tinput = input.replace(new RegExp(key, 'g'), replaceMap[key]);\n\t}\n\n\treturn input;\n}\n\nexport default function decodeUriComponent(encodedURI) {\n\tif (typeof encodedURI !== 'string') {\n\t\tthrow new TypeError('Expected `encodedURI` to be of type `string`, got `' + typeof encodedURI + '`');\n\t}\n\n\ttry {\n\t\t// Try the built in decoder first\n\t\treturn decodeURIComponent(encodedURI);\n\t} catch {\n\t\t// Fallback to a more advanced decoder\n\t\treturn customDecodeURIComponent(encodedURI);\n\t}\n}\n","export function includeKeys(object, predicate) {\n\tconst result = {};\n\n\tif (Array.isArray(predicate)) {\n\t\tfor (const key of predicate) {\n\t\t\tconst descriptor = Object.getOwnPropertyDescriptor(object, key);\n\t\t\tif (descriptor?.enumerable) {\n\t\t\t\tObject.defineProperty(result, key, descriptor);\n\t\t\t}\n\t\t}\n\t} else {\n\t\t// `Reflect.ownKeys()` is required to retrieve symbol properties\n\t\tfor (const key of Reflect.ownKeys(object)) {\n\t\t\tconst descriptor = Object.getOwnPropertyDescriptor(object, key);\n\t\t\tif (descriptor.enumerable) {\n\t\t\t\tconst value = object[key];\n\t\t\t\tif (predicate(key, value, object)) {\n\t\t\t\t\tObject.defineProperty(result, key, descriptor);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn result;\n}\n\nexport function excludeKeys(object, predicate) {\n\tif (Array.isArray(predicate)) {\n\t\tconst set = new Set(predicate);\n\t\treturn includeKeys(object, key => !set.has(key));\n\t}\n\n\treturn includeKeys(object, (key, value, object) => !predicate(key, value, object));\n}\n","export default function splitOnFirst(string, separator) {\n\tif (!(typeof string === 'string' && typeof separator === 'string')) {\n\t\tthrow new TypeError('Expected the arguments to be of type `string`');\n\t}\n\n\tif (string === '' || separator === '') {\n\t\treturn [];\n\t}\n\n\tconst separatorIndex = string.indexOf(separator);\n\n\tif (separatorIndex === -1) {\n\t\treturn [];\n\t}\n\n\treturn [\n\t\tstring.slice(0, separatorIndex),\n\t\tstring.slice(separatorIndex + separator.length)\n\t];\n}\n","import decodeComponent from 'decode-uri-component';\nimport {includeKeys} from 'filter-obj';\nimport splitOnFirst from 'split-on-first';\n\nconst isNullOrUndefined = value => value === null || value === undefined;\n\n// eslint-disable-next-line unicorn/prefer-code-point\nconst strictUriEncode = string => encodeURIComponent(string).replaceAll(/[!'()*]/g, x => `%${x.charCodeAt(0).toString(16).toUpperCase()}`);\n\nconst encodeFragmentIdentifier = Symbol('encodeFragmentIdentifier');\n\nfunction encoderForArrayFormat(options) {\n\tswitch (options.arrayFormat) {\n\t\tcase 'index': {\n\t\t\treturn key => (result, value) => {\n\t\t\t\tconst index = result.length;\n\n\t\t\t\tif (\n\t\t\t\t\tvalue === undefined\n\t\t\t\t\t|| (options.skipNull && value === null)\n\t\t\t\t\t|| (options.skipEmptyString && value === '')\n\t\t\t\t) {\n\t\t\t\t\treturn result;\n\t\t\t\t}\n\n\t\t\t\tif (value === null) {\n\t\t\t\t\treturn [\n\t\t\t\t\t\t...result, [encode(key, options), '[', index, ']'].join(''),\n\t\t\t\t\t];\n\t\t\t\t}\n\n\t\t\t\treturn [\n\t\t\t\t\t...result,\n\t\t\t\t\t[encode(key, options), '[', encode(index, options), ']=', encode(value, options)].join(''),\n\t\t\t\t];\n\t\t\t};\n\t\t}\n\n\t\tcase 'bracket': {\n\t\t\treturn key => (result, value) => {\n\t\t\t\tif (\n\t\t\t\t\tvalue === undefined\n\t\t\t\t\t|| (options.skipNull && value === null)\n\t\t\t\t\t|| (options.skipEmptyString && value === '')\n\t\t\t\t) {\n\t\t\t\t\treturn result;\n\t\t\t\t}\n\n\t\t\t\tif (value === null) {\n\t\t\t\t\treturn [\n\t\t\t\t\t\t...result,\n\t\t\t\t\t\t[encode(key, options), '[]'].join(''),\n\t\t\t\t\t];\n\t\t\t\t}\n\n\t\t\t\treturn [\n\t\t\t\t\t...result,\n\t\t\t\t\t[encode(key, options), '[]=', encode(value, options)].join(''),\n\t\t\t\t];\n\t\t\t};\n\t\t}\n\n\t\tcase 'colon-list-separator': {\n\t\t\treturn key => (result, value) => {\n\t\t\t\tif (\n\t\t\t\t\tvalue === undefined\n\t\t\t\t\t|| (options.skipNull && value === null)\n\t\t\t\t\t|| (options.skipEmptyString && value === '')\n\t\t\t\t) {\n\t\t\t\t\treturn result;\n\t\t\t\t}\n\n\t\t\t\tif (value === null) {\n\t\t\t\t\treturn [\n\t\t\t\t\t\t...result,\n\t\t\t\t\t\t[encode(key, options), ':list='].join(''),\n\t\t\t\t\t];\n\t\t\t\t}\n\n\t\t\t\treturn [\n\t\t\t\t\t...result,\n\t\t\t\t\t[encode(key, options), ':list=', encode(value, options)].join(''),\n\t\t\t\t];\n\t\t\t};\n\t\t}\n\n\t\tcase 'comma':\n\t\tcase 'separator':\n\t\tcase 'bracket-separator': {\n\t\t\tconst keyValueSeparator = options.arrayFormat === 'bracket-separator'\n\t\t\t\t? '[]='\n\t\t\t\t: '=';\n\n\t\t\treturn key => (result, value) => {\n\t\t\t\tif (\n\t\t\t\t\tvalue === undefined\n\t\t\t\t\t|| (options.skipNull && value === null)\n\t\t\t\t\t|| (options.skipEmptyString && value === '')\n\t\t\t\t) {\n\t\t\t\t\treturn result;\n\t\t\t\t}\n\n\t\t\t\t// Translate null to an empty string so that it doesn't serialize as 'null'\n\t\t\t\tvalue = value === null ? '' : value;\n\n\t\t\t\tif (result.length === 0) {\n\t\t\t\t\treturn [[encode(key, options), keyValueSeparator, encode(value, options)].join('')];\n\t\t\t\t}\n\n\t\t\t\treturn [[result, encode(value, options)].join(options.arrayFormatSeparator)];\n\t\t\t};\n\t\t}\n\n\t\tdefault: {\n\t\t\treturn key => (result, value) => {\n\t\t\t\tif (\n\t\t\t\t\tvalue === undefined\n\t\t\t\t\t|| (options.skipNull && value === null)\n\t\t\t\t\t|| (options.skipEmptyString && value === '')\n\t\t\t\t) {\n\t\t\t\t\treturn result;\n\t\t\t\t}\n\n\t\t\t\tif (value === null) {\n\t\t\t\t\treturn [\n\t\t\t\t\t\t...result,\n\t\t\t\t\t\tencode(key, options),\n\t\t\t\t\t];\n\t\t\t\t}\n\n\t\t\t\treturn [\n\t\t\t\t\t...result,\n\t\t\t\t\t[encode(key, options), '=', encode(value, options)].join(''),\n\t\t\t\t];\n\t\t\t};\n\t\t}\n\t}\n}\n\nfunction parserForArrayFormat(options) {\n\tlet result;\n\n\tswitch (options.arrayFormat) {\n\t\tcase 'index': {\n\t\t\treturn (key, value, accumulator) => {\n\t\t\t\tresult = /\\[(\\d*)]$/.exec(key);\n\n\t\t\t\tkey = key.replace(/\\[\\d*]$/, '');\n\n\t\t\t\tif (!result) {\n\t\t\t\t\taccumulator[key] = value;\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tif (accumulator[key] === undefined) {\n\t\t\t\t\taccumulator[key] = {};\n\t\t\t\t}\n\n\t\t\t\taccumulator[key][result[1]] = value;\n\t\t\t};\n\t\t}\n\n\t\tcase 'bracket': {\n\t\t\treturn (key, value, accumulator) => {\n\t\t\t\tresult = /(\\[])$/.exec(key);\n\t\t\t\tkey = key.replace(/\\[]$/, '');\n\n\t\t\t\tif (!result) {\n\t\t\t\t\taccumulator[key] = value;\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tif (accumulator[key] === undefined) {\n\t\t\t\t\taccumulator[key] = [value];\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\taccumulator[key] = [...accumulator[key], value];\n\t\t\t};\n\t\t}\n\n\t\tcase 'colon-list-separator': {\n\t\t\treturn (key, value, accumulator) => {\n\t\t\t\tresult = /(:list)$/.exec(key);\n\t\t\t\tkey = key.replace(/:list$/, '');\n\n\t\t\t\tif (!result) {\n\t\t\t\t\taccumulator[key] = value;\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tif (accumulator[key] === undefined) {\n\t\t\t\t\taccumulator[key] = [value];\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\taccumulator[key] = [...accumulator[key], value];\n\t\t\t};\n\t\t}\n\n\t\tcase 'comma':\n\t\tcase 'separator': {\n\t\t\treturn (key, value, accumulator) => {\n\t\t\t\tconst isArray = typeof value === 'string' && value.includes(options.arrayFormatSeparator);\n\t\t\t\tconst isEncodedArray = (typeof value === 'string' && !isArray && decode(value, options).includes(options.arrayFormatSeparator));\n\t\t\t\tvalue = isEncodedArray ? decode(value, options) : value;\n\t\t\t\tconst newValue = isArray || isEncodedArray ? value.split(options.arrayFormatSeparator).map(item => decode(item, options)) : (value === null ? value : decode(value, options));\n\t\t\t\taccumulator[key] = newValue;\n\t\t\t};\n\t\t}\n\n\t\tcase 'bracket-separator': {\n\t\t\treturn (key, value, accumulator) => {\n\t\t\t\tconst isArray = /(\\[])$/.test(key);\n\t\t\t\tkey = key.replace(/\\[]$/, '');\n\n\t\t\t\tif (!isArray) {\n\t\t\t\t\taccumulator[key] = value ? decode(value, options) : value;\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tconst arrayValue = value === null\n\t\t\t\t\t? []\n\t\t\t\t\t: decode(value, options).split(options.arrayFormatSeparator);\n\n\t\t\t\tif (accumulator[key] === undefined) {\n\t\t\t\t\taccumulator[key] = arrayValue;\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\taccumulator[key] = [...accumulator[key], ...arrayValue];\n\t\t\t};\n\t\t}\n\n\t\tdefault: {\n\t\t\treturn (key, value, accumulator) => {\n\t\t\t\tif (accumulator[key] === undefined) {\n\t\t\t\t\taccumulator[key] = value;\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\taccumulator[key] = [...[accumulator[key]].flat(), value];\n\t\t\t};\n\t\t}\n\t}\n}\n\nfunction validateArrayFormatSeparator(value) {\n\tif (typeof value !== 'string' || value.length !== 1) {\n\t\tthrow new TypeError('arrayFormatSeparator must be single character string');\n\t}\n}\n\nfunction encode(value, options) {\n\tif (options.encode) {\n\t\treturn options.strict ? strictUriEncode(value) : encodeURIComponent(value);\n\t}\n\n\treturn value;\n}\n\nfunction decode(value, options) {\n\tif (options.decode) {\n\t\treturn decodeComponent(value);\n\t}\n\n\treturn value;\n}\n\nfunction keysSorter(input) {\n\tif (Array.isArray(input)) {\n\t\treturn input.sort();\n\t}\n\n\tif (typeof input === 'object') {\n\t\treturn keysSorter(Object.keys(input))\n\t\t\t.sort((a, b) => Number(a) - Number(b))\n\t\t\t.map(key => input[key]);\n\t}\n\n\treturn input;\n}\n\nfunction removeHash(input) {\n\tconst hashStart = input.indexOf('#');\n\tif (hashStart !== -1) {\n\t\tinput = input.slice(0, hashStart);\n\t}\n\n\treturn input;\n}\n\nfunction getHash(url) {\n\tlet hash = '';\n\tconst hashStart = url.indexOf('#');\n\tif (hashStart !== -1) {\n\t\thash = url.slice(hashStart);\n\t}\n\n\treturn hash;\n}\n\nfunction parseValue(value, options, type) {\n\tif (type === 'string' && typeof value === 'string') {\n\t\treturn value;\n\t}\n\n\tif (typeof type === 'function' && typeof value === 'string') {\n\t\treturn type(value);\n\t}\n\n\tif (options.parseBooleans && value !== null && (value.toLowerCase() === 'true' || value.toLowerCase() === 'false')) {\n\t\treturn value.toLowerCase() === 'true';\n\t}\n\n\tif (type === 'number' && !Number.isNaN(Number(value)) && (typeof value === 'string' && value.trim() !== '')) {\n\t\treturn Number(value);\n\t}\n\n\tif (options.parseNumbers && !Number.isNaN(Number(value)) && (typeof value === 'string' && value.trim() !== '')) {\n\t\treturn Number(value);\n\t}\n\n\treturn value;\n}\n\nexport function extract(input) {\n\tinput = removeHash(input);\n\tconst queryStart = input.indexOf('?');\n\tif (queryStart === -1) {\n\t\treturn '';\n\t}\n\n\treturn input.slice(queryStart + 1);\n}\n\nexport function parse(query, options) {\n\toptions = {\n\t\tdecode: true,\n\t\tsort: true,\n\t\tarrayFormat: 'none',\n\t\tarrayFormatSeparator: ',',\n\t\tparseNumbers: false,\n\t\tparseBooleans: false,\n\t\ttypes: Object.create(null),\n\t\t...options,\n\t};\n\n\tvalidateArrayFormatSeparator(options.arrayFormatSeparator);\n\n\tconst formatter = parserForArrayFormat(options);\n\n\t// Create an object with no prototype\n\tconst returnValue = Object.create(null);\n\n\tif (typeof query !== 'string') {\n\t\treturn returnValue;\n\t}\n\n\tquery = query.trim().replace(/^[?#&]/, '');\n\n\tif (!query) {\n\t\treturn returnValue;\n\t}\n\n\tfor (const parameter of query.split('&')) {\n\t\tif (parameter === '') {\n\t\t\tcontinue;\n\t\t}\n\n\t\tconst parameter_ = options.decode ? parameter.replaceAll('+', ' ') : parameter;\n\n\t\tlet [key, value] = splitOnFirst(parameter_, '=');\n\n\t\tif (key === undefined) {\n\t\t\tkey = parameter_;\n\t\t}\n\n\t\t// Missing `=` should be `null`:\n\t\t// http://w3.org/TR/2012/WD-url-20120524/#collect-url-parameters\n\t\tvalue = value === undefined ? null : (['comma', 'separator', 'bracket-separator'].includes(options.arrayFormat) ? value : decode(value, options));\n\t\tformatter(decode(key, options), value, returnValue);\n\t}\n\n\tfor (const [key, value] of Object.entries(returnValue)) {\n\t\tif (typeof value === 'object' && value !== null && options.types[key] !== 'string') {\n\t\t\tfor (const [key2, value2] of Object.entries(value)) {\n\t\t\t\tconst type = options.types[key] ? options.types[key].replace('[]', '') : undefined;\n\t\t\t\tvalue[key2] = parseValue(value2, options, type);\n\t\t\t}\n\t\t} else if (typeof value === 'object' && value !== null && options.types[key] === 'string') {\n\t\t\treturnValue[key] = Object.values(value).join(options.arrayFormatSeparator);\n\t\t} else {\n\t\t\treturnValue[key] = parseValue(value, options, options.types[key]);\n\t\t}\n\t}\n\n\tif (options.sort === false) {\n\t\treturn returnValue;\n\t}\n\n\t// TODO: Remove the use of `reduce`.\n\t// eslint-disable-next-line unicorn/no-array-reduce\n\treturn (options.sort === true ? Object.keys(returnValue).sort() : Object.keys(returnValue).sort(options.sort)).reduce((result, key) => {\n\t\tconst value = returnValue[key];\n\t\tresult[key] = Boolean(value) && typeof value === 'object' && !Array.isArray(value) ? keysSorter(value) : value;\n\t\treturn result;\n\t}, Object.create(null));\n}\n\nexport function stringify(object, options) {\n\tif (!object) {\n\t\treturn '';\n\t}\n\n\toptions = {\n\t\tencode: true,\n\t\tstrict: true,\n\t\tarrayFormat: 'none',\n\t\tarrayFormatSeparator: ',',\n\t\t...options,\n\t};\n\n\tvalidateArrayFormatSeparator(options.arrayFormatSeparator);\n\n\tconst shouldFilter = key => (\n\t\t(options.skipNull && isNullOrUndefined(object[key]))\n\t\t|| (options.skipEmptyString && object[key] === '')\n\t);\n\n\tconst formatter = encoderForArrayFormat(options);\n\n\tconst objectCopy = {};\n\n\tfor (const [key, value] of Object.entries(object)) {\n\t\tif (!shouldFilter(key)) {\n\t\t\tobjectCopy[key] = value;\n\t\t}\n\t}\n\n\tconst keys = Object.keys(objectCopy);\n\n\tif (options.sort !== false) {\n\t\tkeys.sort(options.sort);\n\t}\n\n\treturn keys.map(key => {\n\t\tconst value = object[key];\n\n\t\tif (value === undefined) {\n\t\t\treturn '';\n\t\t}\n\n\t\tif (value === null) {\n\t\t\treturn encode(key, options);\n\t\t}\n\n\t\tif (Array.isArray(value)) {\n\t\t\tif (value.length === 0 && options.arrayFormat === 'bracket-separator') {\n\t\t\t\treturn encode(key, options) + '[]';\n\t\t\t}\n\n\t\t\treturn value\n\t\t\t\t.reduce(formatter(key), [])\n\t\t\t\t.join('&');\n\t\t}\n\n\t\treturn encode(key, options) + '=' + encode(value, options);\n\t}).filter(x => x.length > 0).join('&');\n}\n\nexport function parseUrl(url, options) {\n\toptions = {\n\t\tdecode: true,\n\t\t...options,\n\t};\n\n\tlet [url_, hash] = splitOnFirst(url, '#');\n\n\tif (url_ === undefined) {\n\t\turl_ = url;\n\t}\n\n\treturn {\n\t\turl: url_?.split('?')?.[0] ?? '',\n\t\tquery: parse(extract(url), options),\n\t\t...(options && options.parseFragmentIdentifier && hash ? {fragmentIdentifier: decode(hash, options)} : {}),\n\t};\n}\n\nexport function stringifyUrl(object, options) {\n\toptions = {\n\t\tencode: true,\n\t\tstrict: true,\n\t\t[encodeFragmentIdentifier]: true,\n\t\t...options,\n\t};\n\n\tconst url = removeHash(object.url).split('?')[0] || '';\n\tconst queryFromUrl = extract(object.url);\n\n\tconst query = {\n\t\t...parse(queryFromUrl, {sort: false}),\n\t\t...object.query,\n\t};\n\n\tlet queryString = stringify(query, options);\n\tqueryString &&= `?${queryString}`;\n\n\tlet hash = getHash(object.url);\n\tif (typeof object.fragmentIdentifier === 'string') {\n\t\tconst urlObjectForFragmentEncode = new URL(url);\n\t\turlObjectForFragmentEncode.hash = object.fragmentIdentifier;\n\t\thash = options[encodeFragmentIdentifier] ? urlObjectForFragmentEncode.hash : `#${object.fragmentIdentifier}`;\n\t}\n\n\treturn `${url}${queryString}${hash}`;\n}\n\nexport function pick(input, filter, options) {\n\toptions = {\n\t\tparseFragmentIdentifier: true,\n\t\t[encodeFragmentIdentifier]: false,\n\t\t...options,\n\t};\n\n\tconst {url, query, fragmentIdentifier} = parseUrl(input, options);\n\n\treturn stringifyUrl({\n\t\turl,\n\t\tquery: includeKeys(query, filter),\n\t\tfragmentIdentifier,\n\t}, options);\n}\n\nexport function exclude(input, filter, options) {\n\tconst exclusionFilter = Array.isArray(filter) ? key => !filter.includes(key) : (key, value) => !filter(key, value);\n\n\treturn pick(input, exclusionFilter, options);\n}\n","import * as queryString from './base.js';\n\nexport default queryString;\n","import './filter-menu.scss';\nimport React from 'react';\n\nconst FilterMenu = ({ sticky, children }) => {\n return (\n <div className=\"col-lg-3 col-md-12 col-sm-12\">\n <div className={`filter-wrapper${sticky ? ' filter-sticky' : ''}`}>\n {children}\n </div>\n </div>\n );\n};\n\nexport const ResultLabel = ({ label, size, clearAction, children }) => {\n return (\n <div className=\"filter-header\">\n <div className=\"filter-clear\">\n <div className=\"label bold\">\n {size} {label ?? 'Results'}\n </div>\n {clearAction && (\n <button\n className=\"link-style-button\"\n onClick={clearAction}\n >\n Clear Filters\n </button>\n )}\n </div>\n {children}\n </div>\n );\n};\n\nexport default FilterMenu;\n","import React from 'react';\n\nexport const IndexLayout = ({ children }) => {\n return (\n <section className=\"background-grid-short-white\">\n <div className=\"container pv120-90\" id=\"index-content-section\">\n <div className=\"row\">\n {children}\n </div>\n </div>\n </section>\n );\n};\n\nexport const IndexContent = ({ children }) => {\n return (\n <div className=\"col-lg-9 col-md-12 col-sm-12\">\n {children}\n </div>\n );\n};\n","import React from 'react';\n\nconst ResultLengthDropdown = ({ length, value, onChange }) => {\n const lengths = ['-1','12','24','48',-1,12,24,48];\n return (\n <div className=\"col-lg-3 col-sm-12 label bold pull-right\">\n Per Page:\n <select className=\"per-page\" value={value} onChange={(event) => onChange(event.target.value)}>\n <option value=\"12\">12</option>\n {length > 24 && (\n <option value=\"24\">24</option>\n )}\n {length > 48 && (\n <option value=\"48\">48</option>\n )}\n {(value >= length || !lengths.includes(value)) && (\n <option value={value}>{value}</option>\n )}\n <option value=\"-1\">All</option>\n </select>\n </div>\n );\n};\n\nexport default ResultLengthDropdown;\n","import './pagination-controls.scss';\nimport React from 'react';\nimport PointLeft from '@shared/svgs/icons/point-left';\nimport PointRight from '@shared/svgs/icons/point-right';\nimport ResultLengthDropdown from '@shared/components/result-length-dropdown';\nimport { useLocation } from '@gatsbyjs/reach-router';\nimport { navigate } from 'gatsby';\nimport queryString from 'query-string';\n\nconst PaginationControl = (props) => {\n const locationObj = useLocation();\n const params = queryString.parse(locationObj.search);\n const currentPage = parseInt(params?.page) || 1;\n const changePage = (newParams) => {\n const url = queryString.stringifyUrl({\n url: './', query: {\n ...params,\n ...newParams,\n }\n }, { skipNull: true });\n navigate(url);\n };\n\n return (\n <UnmanagedPaginationControl\n {...props}\n currentPage={currentPage}\n setCurrentPage={(page) => changePage({ page, })}\n pageSize={params?.pageSize}\n setPageSize={(value) => changePage({ pageSize: value, page: 1 })}\n />\n )\n};\n\nexport const UnmanagedPaginationControl = ({ currentPage=1, setCurrentPage, renderCallback, items, label='Results', pageSize=12, setPageSize }) => {\n const totalPages = Math.ceil(items.length / pageSize);\n const pageItems = pageSize > 0 ? items.slice(\n pageSize * (currentPage - 1),\n pageSize * currentPage\n ) : items;\n const onPageChange = (value) => {\n setCurrentPage(value);\n document.getElementById('index-content-section').scrollIntoView();\n };\n\n return (\n <>\n <div className='row-reverse filter-header'>\n {items.length > 12 && (\n <ResultLengthDropdown\n length={items.length}\n value={pageSize}\n onChange={(value) => {\n setPageSize(value);\n }}\n />\n )}\n </div>\n <div className=\"row\">\n {renderCallback(pageItems)}\n </div>\n <div className=\"row g0\">\n {pageSize > 0 && items.length > pageSize && (\n <div className=\"pagination-controls col-lg-6\">\n <div className=\"card-media__controls-wrapper\">\n <span\n tabIndex=\"0\"\n role=\"button\"\n onClick={() => {\n if (currentPage > 1) {\n onPageChange(currentPage - 1);\n }\n }}\n onKeyPress={(e) => {\n if (currentPage > 1 && (e.key === 'Enter' || e.key === ' ' || e.key === 'Spacebar')) {\n onPageChange(currentPage - 1);\n }\n }}\n className={'pagination__arrow-left' + (currentPage === 1 ? ' disabled' : '')}\n data-testid=\"left-arrow\"\n aria-label={currentPage === 1 ? 'Previous Page disabled' : 'Previous Page'}\n >\n <PointLeft\n className=\"icon icon-red icon-arrow-wide\"\n aria-label=\"Backwards\"\n />\n </span>\n <span className=\"label\" data-testid=\"page-label\">\n Page \n <strong>\n {String(currentPage).padStart(2, '0')}\n </strong>\n of \n {String(totalPages).padStart(2, '0')}\n </span>\n <span\n tabIndex=\"0\"\n role=\"button\"\n onClick={() => {\n if (currentPage < totalPages) {\n onPageChange(currentPage + 1);\n }\n }}\n onKeyPress={(e) => {\n if (currentPage < totalPages && (e.key === 'Enter' || e.key === ' ' || e.key === 'Spacebar')) {\n onPageChange(currentPage + 1);\n }\n }}\n className={'pagination__arrow-right' + (currentPage === totalPages ? ' disabled' : '')}\n data-testid=\"right-arrow\"\n aria-label={currentPage === totalPages ? 'Next Page disabled' : 'Next Page'}\n >\n <PointRight\n className=\"icon icon-red icon-arrow-wide\"\n aria-label=\"Forwards\"\n />\n </span>\n </div>\n </div>\n )}\n </div>\n </>\n );\n};\n\nexport default PaginationControl;\n","import { useState } from 'react';\n\nconst useFiltersInternal = (initialFilters) => {\n const [filters, setFiltersInternal] = useState(initialFilters ?? {});\n const setFilters = (value) => {\n setFiltersInternal({\n ...filters,\n ...value,\n });\n };\n\n return [filters, setFilters];\n};\n\nexport const useFilters = (initialFilters) => {\n const [filters, setFilters] = useFiltersInternal(initialFilters);\n\n const filterValues = Object.values(filters).sort((a, b) => (a?.priority ?? 10) - (b?.priority ?? 10));\n const applyFilters = (data) => {\n return filterValues.reduce((filteredData, filter) => {\n return filter?.lambda ? filter.lambda(filteredData, filter.selection) : filteredData;\n }, data);\n };\n\n return [filters, setFilters, applyFilters];\n};\n\nexport const useFiltersWithParams = (initialFilters) => {\n const [filters, setFilters] = useFiltersInternal(initialFilters);\n\n const filterValues = Object.keys(filters).map((item) => ({ ...filters[item], name: item })).sort((a, b) => (a?.priority ?? 10) - (b?.priority ?? 10));\n const applyFilters = (data, selections) => {\n return filterValues.reduce((filteredData, filter) => {\n return filter?.lambda ? filter.lambda(filteredData, selections?.[filter.name] ?? filter?.selection ) : filteredData;\n }, data);\n };\n\n return [filters, setFilters, applyFilters];\n};\n","import React from 'react';\n\nconst PointLeftIcon = (props) => (\n <svg\n {...props}\n role=\"img\"\n viewBox=\"0 0 30 30\"\n className={props.className}\n >\n <title>Previous Page</title>\n <polygon\n fill=\"#161618\"\n fillRule=\"nonzero\"\n points=\"12.414 14.853 19.56 22 18.853 22.707 11 14.853 18.854 7 19.561 7.707\"\n ></polygon>\n </svg>\n);\n\nexport default PointLeftIcon;\n","import React from 'react';\n\nconst PointRightIcon = (props) => (\n <svg\n {...props}\n role=\"img\"\n viewBox=\"0 0 30 30\"\n className={props.className}\n >\n <title>Next Page</title>\n <polygon\n fill=\"#161618\"\n fillRule=\"nonzero\"\n points=\"19.561 14.854 11.707 22.708 11 22.001 18.146 14.855 11 7.707 11.707 7\"\n ></polygon>\n </svg>\n);\n\nexport default PointRightIcon;\n"],"names":["token","singleMatcher","RegExp","multiMatcher","decodeComponents","components","split","decodeURIComponent","join","length","left","slice","right","Array","prototype","concat","call","decode","input","tokens","match","i","decodeUriComponent","encodedURI","TypeError","replaceMap","exec","result","entries","Object","keys","key","replace","customDecodeURIComponent","includeKeys","object","predicate","isArray","descriptor","getOwnPropertyDescriptor","enumerable","defineProperty","Reflect","ownKeys","splitOnFirst","string","separator","separatorIndex","indexOf","isNullOrUndefined","value","strictUriEncode","encodeURIComponent","replaceAll","x","charCodeAt","toString","toUpperCase","encodeFragmentIdentifier","Symbol","validateArrayFormatSeparator","encode","options","strict","decodeComponent","keysSorter","sort","a","b","Number","map","removeHash","hashStart","parseValue","type","parseBooleans","toLowerCase","isNaN","trim","parseNumbers","extract","queryStart","parse","query","arrayFormat","arrayFormatSeparator","types","create","formatter","accumulator","undefined","_toConsumableArray","includes","isEncodedArray","newValue","item","test","arrayValue","flat","parserForArrayFormat","returnValue","parameter","parameter_","key2","value2","values","reduce","Boolean","stringify","shouldFilter","skipNull","skipEmptyString","index","keyValueSeparator","encoderForArrayFormat","objectCopy","filter","parseUrl","url","_url_$split$","_url_","_url_$split","url_","hash","parseFragmentIdentifier","fragmentIdentifier","stringifyUrl","queryString","getHash","urlObjectForFragmentEncode","URL","pick","exclude","ResultLabel","_ref2","label","size","clearAction","children","React","className","onClick","_ref","sticky","IndexLayout","id","IndexContent","onChange","event","target","UnmanagedPaginationControl","currentPage","setCurrentPage","renderCallback","items","pageSize","setPageSize","totalPages","Math","ceil","pageItems","onPageChange","document","getElementById","scrollIntoView","ResultLengthDropdown","tabIndex","role","onKeyPress","e","PointLeft","String","padStart","PointRight","props","locationObj","useLocation","params","search","parseInt","page","changePage","newParams","navigate","assign","useFiltersInternal","initialFilters","filters","setFiltersInternal","useState","useFilters","setFilters","filterValues","_a$priority","_b$priority","priority","data","filteredData","lambda","selection","useFiltersWithParams","name","_a$priority2","_b$priority2","applyFilters","selections","_selections$filter$na","viewBox","fill","fillRule","points"],"sourceRoot":""}