forked from alphagov/accessible-autocomplete
-
Notifications
You must be signed in to change notification settings - Fork 0
/
accessible-autocomplete.min.js
2 lines (2 loc) · 37.9 KB
/
accessible-autocomplete.min.js
1
2
(function webpackUniversalModuleDefinition(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["accessibleAutocomplete"]=t():e["accessibleAutocomplete"]=t()})(window,function(){return function(n){var r={};function o(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,o),t.l=!0,t.exports}return o.m=n,o.c=r,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)o.d(n,r,function(e){return t[e]}.bind(null,r));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="/",o(o.s=37)}([function(e,t,n){var m=n(1),v=n(7),y=n(8),g=n(16),b=n(18),_="prototype",w=function(e,t,n){var r,o,i,u,s=e&w.F,a=e&w.G,l=e&w.S,c=e&w.P,p=e&w.B,f=a?m:l?m[t]||(m[t]={}):(m[t]||{})[_],d=a?v:v[t]||(v[t]={}),h=d[_]||(d[_]={});for(r in a&&(n=t),n)i=((o=!s&&f&&f[r]!==undefined)?f:n)[r],u=p&&o?b(i,m):c&&"function"==typeof i?b(Function.call,i):i,f&&g(f,r,i,e&w.U),d[r]!=i&&y(d,r,u),c&&h[r]!=i&&(h[r]=i)};m.core=v,w.F=1,w.G=2,w.S=4,w.P=8,w.B=16,w.W=32,w.U=64,w.R=128,e.exports=w},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){e.exports=!n(2)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){e.exports=function(e){if(e==undefined)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){"use strict";n.r(t),n.d(t,"h",function(){return r}),n.d(t,"createElement",function(){return r}),n.d(t,"cloneElement",function(){return i}),n.d(t,"Component",function(){return g}),n.d(t,"render",function(){return b}),n.d(t,"rerender",function(){return f}),n.d(t,"options",function(){return S});var a=function a(){},S={},l=[],c=[];function r(e,t){var n,r,o,i,u=c;for(i=arguments.length;2<i--;)l.push(arguments[i]);for(t&&null!=t.children&&(l.length||l.push(t.children),delete t.children);l.length;)if((r=l.pop())&&r.pop!==undefined)for(i=r.length;i--;)l.push(r[i]);else"boolean"==typeof r&&(r=null),(o="function"!=typeof e)&&(null==r?r="":"number"==typeof r?r=String(r):"string"!=typeof r&&(o=!1)),o&&n?u[u.length-1]+=r:u===c?u=[r]:u.push(r),n=o;var s=new a;return s.nodeName=e,s.children=u,s.attributes=null==t?undefined:t,s.key=null==t?undefined:t.key,S.vnode!==undefined&&S.vnode(s),s}function M(e,t){for(var n in t)e[n]=t[n];return e}var o="function"==typeof Promise?Promise.resolve().then.bind(Promise.resolve()):setTimeout;function i(e,t){return r(e.nodeName,M(M({},e.attributes),t),2<arguments.length?[].slice.call(arguments,2):e.children)}var p=/acit|ex(?:s|g|n|p|$)|rph|ows|mnc|ntw|ine[ch]|zoo|^ord/i,u=[];function s(e){!e._dirty&&(e._dirty=!0)&&1==u.push(e)&&(S.debounceRendering||o)(f)}function f(){var e,t=u;for(u=[];e=t.pop();)e._dirty&&V(e)}function N(e,t){return e.normalizedNodeName===t||e.nodeName.toLowerCase()===t.toLowerCase()}function A(e){var t=M({},e.attributes);t.children=e.children;var n=e.nodeName.defaultProps;if(n!==undefined)for(var r in n)t[r]===undefined&&(t[r]=n[r]);return t}function k(e){var t=e.parentNode;t&&t.removeChild(e)}function v(e,t,n,r,o){if("className"===t&&(t="class"),"key"===t);else if("ref"===t)n&&n(null),r&&r(e);else if("class"!==t||o)if("style"===t){if(r&&"string"!=typeof r&&"string"!=typeof n||(e.style.cssText=r||""),r&&"object"==typeof r){if("string"!=typeof n)for(var i in n)i in r||(e.style[i]="");for(var i in r)e.style[i]="number"==typeof r[i]&&!1===p.test(i)?r[i]+"px":r[i]}}else if("dangerouslySetInnerHTML"===t)r&&(e.innerHTML=r.__html||"");else if("o"==t[0]&&"n"==t[1]){var u=t!==(t=t.replace(/Capture$/,""));t=t.toLowerCase().substring(2),r?n||e.addEventListener(t,d,u):e.removeEventListener(t,d,u),(e._listeners||(e._listeners={}))[t]=r}else if("list"!==t&&"type"!==t&&!o&&t in e){try{e[t]=null==r?"":r}catch(a){}null!=r&&!1!==r||"spellcheck"==t||e.removeAttribute(t)}else{var s=o&&t!==(t=t.replace(/^xlink:?/,""));null==r||!1===r?s?e.removeAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase()):e.removeAttribute(t):"function"!=typeof r&&(s?e.setAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase(),r):e.setAttribute(t,r))}else e.className=r||""}function d(e){return this._listeners[e.type](S.event&&S.event(e)||e)}var I=[],P=0,j=!1,q=!1;function D(){for(var e;e=I.pop();)S.afterMount&&S.afterMount(e),e.componentDidMount&&e.componentDidMount()}function L(e,t,n,r,o,i){P++||(j=null!=o&&o.ownerSVGElement!==undefined,q=null!=e&&!("__preactattr_"in e));var u=T(e,t,n,r,i);return o&&u.parentNode!==o&&o.appendChild(u),--P||(q=!1,i||D()),u}function T(e,t,n,r,o){var i=e,u=j;if(null!=t&&"boolean"!=typeof t||(t=""),"string"==typeof t||"number"==typeof t)return e&&e.splitText!==undefined&&e.parentNode&&(!e._component||o)?e.nodeValue!=t&&(e.nodeValue=t):(i=document.createTextNode(t),e&&(e.parentNode&&e.parentNode.replaceChild(i,e),B(e,!0))),i["__preactattr_"]=!0,i;var s=t.nodeName;if("function"==typeof s)return function d(e,t,n,r){var o=e&&e._component,i=o,u=e,s=o&&e._componentConstructor===t.nodeName,a=s,l=A(t);for(;o&&!a&&(o=o._parentComponent);)a=o.constructor===t.nodeName;o&&a&&(!r||o._component)?(R(o,l,3,n,r),e=o.base):(i&&!s&&(U(i),e=u=null),o=F(t.nodeName,l,n),e&&!o.nextBase&&(o.nextBase=e,u=null),R(o,l,1,n,r),e=o.base,u&&e!==u&&(u._component=null,B(u,!1)));return e}(e,t,n,r);if(j="svg"===s||"foreignObject"!==s&&j,s=String(s),(!e||!N(e,s))&&(i=function h(e,t){var n=t?document.createElementNS("http://www.w3.org/2000/svg",e):document.createElement(e);return n.normalizedNodeName=e,n}(s,j),e)){for(;e.firstChild;)i.appendChild(e.firstChild);e.parentNode&&e.parentNode.replaceChild(i,e),B(e,!0)}var a=i.firstChild,l=i["__preactattr_"],c=t.children;if(null==l){l=i["__preactattr_"]={};for(var p=i.attributes,f=p.length;f--;)l[p[f].name]=p[f].value}return!q&&c&&1===c.length&&"string"==typeof c[0]&&null!=a&&a.splitText!==undefined&&null==a.nextSibling?a.nodeValue!=c[0]&&(a.nodeValue=c[0]):(c&&c.length||null!=a)&&function C(e,t,n,r,o){var i,u,s,a,l,c=e.childNodes,p=[],f={},d=0,h=0,m=c.length,v=0,y=t?t.length:0;if(0!==m)for(var g=0;g<m;g++){var b=c[g],_=b["__preactattr_"],w=y&&_?b._component?b._component.__key:_.key:null;null!=w?(d++,f[w]=b):(_||(b.splitText!==undefined?!o||b.nodeValue.trim():o))&&(p[v++]=b)}if(0!==y)for(var g=0;g<y;g++){a=t[g],l=null;var w=a.key;if(null!=w)d&&f[w]!==undefined&&(l=f[w],f[w]=undefined,d--);else if(h<v)for(i=h;i<v;i++)if(p[i]!==undefined&&(x=u=p[i],E=o,"string"==typeof(O=a)||"number"==typeof O?x.splitText!==undefined:"string"==typeof O.nodeName?!x._componentConstructor&&N(x,O.nodeName):E||x._componentConstructor===O.nodeName)){l=u,p[i]=undefined,i===v-1&&v--,i===h&&h++;break}l=T(l,a,n,r),s=c[g],l&&l!==e&&l!==s&&(null==s?e.appendChild(l):l===s.nextSibling?k(s):e.insertBefore(l,s))}var x,O,E;if(d)for(var g in f)f[g]!==undefined&&B(f[g],!1);for(;h<=v;)(l=p[v--])!==undefined&&B(l,!1)}(i,c,n,r,q||null!=l.dangerouslySetInnerHTML),function m(e,t,n){var r;for(r in n)t&&null!=t[r]||null==n[r]||v(e,r,n[r],n[r]=undefined,j);for(r in t)"children"===r||"innerHTML"===r||r in n&&t[r]===("value"===r||"checked"===r?e[r]:n[r])||v(e,r,n[r],n[r]=t[r],j)}(i,t.attributes,l),j=u,i}function B(e,t){var n=e._component;n?U(n):(null!=e["__preactattr_"]&&e["__preactattr_"].ref&&e["__preactattr_"].ref(null),!1!==t&&null!=e["__preactattr_"]||k(e),h(e))}function h(e){for(e=e.lastChild;e;){var t=e.previousSibling;B(e,!0),e=t}}var m=[];function F(e,t,n){var r,o=m.length;for(e.prototype&&e.prototype.render?(r=new e(t,n),g.call(r,t,n)):((r=new g(t,n)).constructor=e,r.render=y);o--;)if(m[o].constructor===e)return r.nextBase=m[o].nextBase,m.splice(o,1),r;return r}function y(e,t,n){return this.constructor(e,n)}function R(e,t,n,r,o){e._disable||(e._disable=!0,e.__ref=t.ref,e.__key=t.key,delete t.ref,delete t.key,"undefined"==typeof e.constructor.getDerivedStateFromProps&&(!e.base||o?e.componentWillMount&&e.componentWillMount():e.componentWillReceiveProps&&e.componentWillReceiveProps(t,r)),r&&r!==e.context&&(e.prevContext||(e.prevContext=e.context),e.context=r),e.prevProps||(e.prevProps=e.props),e.props=t,e._disable=!1,0!==n&&(1!==n&&!1===S.syncComponentUpdates&&e.base?s(e):V(e,1,o)),e.__ref&&e.__ref(e))}function V(e,t,n,r){if(!e._disable){var o,i,u,s=e.props,a=e.state,l=e.context,c=e.prevProps||s,p=e.prevState||a,f=e.prevContext||l,d=e.base,h=e.nextBase,m=d||h,v=e._component,y=!1,g=f;if(e.constructor.getDerivedStateFromProps&&(a=M(M({},a),e.constructor.getDerivedStateFromProps(s,a)),e.state=a),d&&(e.props=c,e.state=p,e.context=f,2!==t&&e.shouldComponentUpdate&&!1===e.shouldComponentUpdate(s,a,l)?y=!0:e.componentWillUpdate&&e.componentWillUpdate(s,a,l),e.props=s,e.state=a,e.context=l),e.prevProps=e.prevState=e.prevContext=e.nextBase=null,e._dirty=!1,!y){o=e.render(s,a,l),e.getChildContext&&(l=M(M({},l),e.getChildContext())),d&&e.getSnapshotBeforeUpdate&&(g=e.getSnapshotBeforeUpdate(c,p));var b,_,w=o&&o.nodeName;if("function"==typeof w){var x=A(o);(i=v)&&i.constructor===w&&x.key==i.__key?R(i,x,1,l,!1):(b=i,e._component=i=F(w,x,l),i.nextBase=i.nextBase||h,i._parentComponent=e,R(i,x,0,l,!1),V(i,1,n,!0)),_=i.base}else u=m,(b=v)&&(u=e._component=null),(m||1===t)&&(u&&(u._component=null),_=function L(t,n,r,o,i,u){P++||(j=null!=i&&i.ownerSVGElement!==undefined,q=null!=t&&!("__preactattr_"in t));var s=T(t,n,r,o,u);return i&&s.parentNode!==i&&i.appendChild(s),--P||(q=!1,u||D()),s}(u,o,l,n||!d,m&&m.parentNode,!0));if(m&&_!==m&&i!==v){var O=m.parentNode;O&&_!==O&&(O.replaceChild(_,m),b||(m._component=null,B(m,!1)))}if(b&&U(b),(e.base=_)&&!r){for(var E=e,C=e;C=C._parentComponent;)(E=C).base=_;_._component=E,_._componentConstructor=E.constructor}}for(!d||n?I.unshift(e):y||(e.componentDidUpdate&&e.componentDidUpdate(c,p,g),S.afterUpdate&&S.afterUpdate(e));e._renderCallbacks.length;)e._renderCallbacks.pop().call(e);P||r||D()}}function U(e){S.beforeUnmount&&S.beforeUnmount(e);var t=e.base;e._disable=!0,e.componentWillUnmount&&e.componentWillUnmount(),e.base=null;var n=e._component;n?U(n):t&&(t["__preactattr_"]&&t["__preactattr_"].ref&&t["__preactattr_"].ref(null),k(e.nextBase=t),m.push(e),h(t)),e.__ref&&e.__ref(null)}function g(e,t){this._dirty=!0,this.context=t,this.props=e,this.state=this.state||{},this._renderCallbacks=[]}function b(e,t,n){return L(n,e,{},!1,t,!1)}M(g.prototype,{setState:function(e,t){this.prevState||(this.prevState=this.state),this.state=M(M({},this.state),"function"==typeof e?e(this.state,this.props):e),t&&this._renderCallbacks.push(t),s(this)},forceUpdate:function(e){e&&this._renderCallbacks.push(e),V(this,2)},render:function b(){}});var _={h:r,createElement:r,cloneElement:i,Component:g,render:b,rerender:f,options:S};t["default"]=_},function(e,t){var n=e.exports={version:"2.5.7"};"number"==typeof __e&&(__e=n)},function(e,t,n){var r=n(9),o=n(40);e.exports=n(4)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var o=n(10),i=n(38),u=n(39),s=Object.defineProperty;t.f=n(4)?Object.defineProperty:function(e,t,n){if(o(e),t=u(t,!0),o(n),i)try{return s(e,t,n)}catch(r){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var r=n(3);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(e===undefined?"":e,")_",(++n+r).toString(36))}},function(e,t,n){var r=n(22);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t,n){"use strict";var r=n(2);e.exports=function(e,t){return!!e&&r(function(){t?e.call(null,function(){},1):e.call(null)})}},function(e,t,n){var r=n(0);r(r.S+r.F,"Object",{assign:n(41)})},function(e,t,n){var r=n(3),o=n(1).document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},function(e,t,n){var i=n(1),u=n(8),s=n(17),a=n(11)("src"),r="toString",o=Function[r],l=(""+o).split(r);n(7).inspectSource=function(e){return o.call(e)},(e.exports=function(e,t,n,r){var o="function"==typeof n;o&&(s(n,"name")||u(n,"name",t)),e[t]!==n&&(o&&(s(n,a)||u(n,a,e[t]?""+e[t]:l.join(String(t)))),e===i?e[t]=n:r?e[t]?e[t]=n:u(e,t,n):(delete e[t],u(e,t,n)))})(Function.prototype,r,function(){return"function"==typeof this&&this[a]||o.call(this)})},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var i=n(19);e.exports=function(r,o,e){if(i(r),o===undefined)return r;switch(e){case 1:return function(e){return r.call(o,e)};case 2:return function(e,t){return r.call(o,e,t)};case 3:return function(e,t,n){return r.call(o,e,t,n)}}return function(){return r.apply(o,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var r=n(42),o=n(28);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t,n){var r=n(12),o=n(5);e.exports=function(e){return r(o(e))}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var a=n(21),l=n(24),c=n(43);e.exports=function(s){return function(e,t,n){var r,o=a(e),i=l(o.length),u=c(n,i);if(s&&t!=t){for(;u<i;)if((r=o[u++])!=r)return!0}else for(;u<i;u++)if((s||u in o)&&o[u]===t)return s||u||0;return!s&&-1}}},function(e,t,n){var r=n(25),o=Math.min;e.exports=function(e){return 0<e?o(r(e),9007199254740991):0}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(0<e?r:n)(e)}},function(e,t,n){var r=n(27)("keys"),o=n(11);e.exports=function(e){return r[e]||(r[e]=o(e))}},function(e,t,n){var r=n(7),o=n(1),i="__core-js_shared__",u=o[i]||(o[i]={});(e.exports=function(e,t){return u[e]||(u[e]=t!==undefined?t:{})})("versions",[]).push({version:r.version,mode:n(44)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){var r=n(5);e.exports=function(e){return Object(r(e))}},function(e,t,n){var r=n(9).f,o=Function.prototype,i=/^\s*function ([^ (]*)/;"name"in o||n(4)&&r(o,"name",{configurable:!0,get:function(){try{return(""+this).match(i)[1]}catch(e){return""}}})},function(e,t,n){"use strict";var r=n(0),o=n(32)(1);r(r.P+r.F*!n(13)([].map,!0),"Array",{map:function(e){return o(this,e,arguments[1])}})},function(e,t,n){var b=n(18),_=n(12),w=n(29),x=n(24),r=n(47);e.exports=function(p,e){var f=1==p,d=2==p,h=3==p,m=4==p,v=6==p,y=5==p||v,g=e||r;return function(e,t,n){for(var r,o,i=w(e),u=_(i),s=b(t,n,3),a=x(u.length),l=0,c=f?g(e,a):d?g(e,0):undefined;l<a;l++)if((y||l in u)&&(o=s(r=u[l],l,i),p))if(f)c[l]=o;else if(o)switch(p){case 3:return!0;case 5:return r;case 6:return l;case 2:c.push(r)}else if(m)return!1;return v?-1:h||m?m:c}}},function(e,t,n){var r=n(22);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(27)("wks"),o=n(11),i=n(1).Symbol,u="function"==typeof i;(e.exports=function(e){return r[e]||(r[e]=u&&i[e]||(u?i:o)("Symbol."+e))}).store=r},function(e,t,n){"use strict";var r=n(0),o=n(23)(!1),i=[].indexOf,u=!!i&&1/[1].indexOf(1,-0)<0;r(r.P+r.F*(u||!n(13)(i)),"Array",{indexOf:function(e){return u?i.apply(this,arguments)||0:o(this,e,arguments[1])}})},function(e,t,n){var r=n(0);r(r.S,"Object",{create:n(52)})},function(e,t,n){"use strict";t.__esModule=!0,t["default"]=void 0,n(14),n(30),n(31),n(35),n(49),n(50);var r=n(6),o=function a(e){return e&&e.__esModule?e:{"default":e}}(n(51));function i(e){if(!e.element)throw new Error("element is not defined");if(!e.id)throw new Error("id is not defined");if(!e.source)throw new Error("source is not defined");return Array.isArray(e.source)&&(e.source=u(e.source)),(0,r.render)((0,r.createElement)(o["default"],e),e.element)}var u=function u(n){return function(t,e){e(n.filter(function(e){return-1!==e.toLowerCase().indexOf(t.toLowerCase())}))}};i.enhanceSelectElement=function(r){if(!r.selectElement)throw new Error("selectElement is not defined");if(r.preserveNullOptions===undefined&&(r.preserveNullOptions=!0),r.autoselect===undefined&&(r.autoselect=!0),r.showAllValues===undefined&&(r.showAllValues=!0),r.confirmOnBlur===undefined&&(r.confirmOnBlur=!0),r.alwaysDisplayArrow===undefined&&(r.alwaysDisplayArrow=!0),!r.source){var e=[].filter.call(r.selectElement.options,function(e){return e.value||r.preserveNullOptions});r.source=e.map(function(e){return e.textContent||e.innerText})}var o=r.onConfirm||function(){};if(r.onConfirm=function(t){var e=[].filter.call(r.selectElement.options,function(e){return(e.textContent||e.innerText)===t})[0];e&&(e.selected=!0);var n=document.createEvent("HTMLEvents");n.initEvent("change",!0,!1),r.selectElement.dispatchEvent(n),o.apply(this,arguments)},r.selectElement.value||r.defaultValue===undefined){var t=r.selectElement.options[r.selectElement.options.selectedIndex];r.defaultValue=t.textContent||t.innerText}r.name===undefined&&(r.name=""),r.id===undefined&&(r.selectElement.id===undefined?r.id="":r.id=r.selectElement.id);var n=document.createElement("div");r.selectElement.parentNode.insertBefore(n,r.selectElement),i(Object.assign({},r,{element:n})),r.selectElement.style.display="none",r.selectElement.id=r.selectElement.id+"-select"};var s=i;t["default"]=s},function(e,t,n){e.exports=!n(4)&&!n(2)(function(){return 7!=Object.defineProperty(n(15)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){var o=n(3);e.exports=function(e,t){if(!o(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!o(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!o(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!o(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){"use strict";var f=n(20),d=n(45),h=n(46),m=n(29),v=n(12),o=Object.assign;e.exports=!o||n(2)(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=o({},e)[n]||Object.keys(o({},t)).join("")!=r})?function(e,t){for(var n=m(e),r=arguments.length,o=1,i=d.f,u=h.f;o<r;)for(var s,a=v(arguments[o++]),l=i?f(a).concat(i(a)):f(a),c=l.length,p=0;p<c;)u.call(a,s=l[p++])&&(n[s]=a[s]);return n}:o},function(e,t,n){var u=n(17),s=n(21),a=n(23)(!1),l=n(26)("IE_PROTO");e.exports=function(e,t){var n,r=s(e),o=0,i=[];for(n in r)n!=l&&u(r,n)&&i.push(n);for(;t.length>o;)u(r,n=t[o++])&&(~a(i,n)||i.push(n));return i}},function(e,t,n){var r=n(25),o=Math.max,i=Math.min;e.exports=function(e,t){return(e=r(e))<0?o(e+t,0):i(e,t)}},function(e,t){e.exports=!1},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){var r=n(48);e.exports=function(e,t){return new(r(e))(t)}},function(e,t,n){var r=n(3),o=n(33),i=n(34)("species");e.exports=function(e){var t;return o(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!o(t.prototype)||(t=undefined),r(t)&&null===(t=t[i])&&(t=undefined)),t===undefined?Array:t}},function(e,t,n){"use strict";var r=n(0),o=n(32)(2);r(r.P+r.F*!n(13)([].filter,!0),"Array",{filter:function(e){return o(this,e,arguments[1])}})},function(e,t,n){var r=n(0);r(r.S,"Array",{isArray:n(33)})},function(e,t,n){"use strict";t.__esModule=!0,t["default"]=void 0,n(14),n(36),n(30),n(55),n(31),n(35),n(58),n(61);var Y=n(6),Z=o(n(63)),r=o(n(64));function o(e){return e&&e.__esModule?e:{"default":e}}function ee(){return(ee=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function i(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var p={13:"enter",27:"escape",32:"space",38:"up",40:"down"};function te(){return"undefined"!=typeof navigator&&!(!navigator.userAgent.match(/(iPod|iPhone|iPad)/g)||!navigator.userAgent.match(/AppleWebKit/g))}var u=function(n){function e(e){var t;return(t=n.call(this,e)||this).elementReferences={},t.state={focused:null,hovered:null,menuOpen:!1,options:e.defaultValue?[e.defaultValue]:[],query:e.defaultValue,validChoiceMade:!1,selected:null,ariaHint:!0},t.handleComponentBlur=t.handleComponentBlur.bind(i(i(t))),t.handleKeyDown=t.handleKeyDown.bind(i(i(t))),t.handleUpArrow=t.handleUpArrow.bind(i(i(t))),t.handleDownArrow=t.handleDownArrow.bind(i(i(t))),t.handleEnter=t.handleEnter.bind(i(i(t))),t.handlePrintableKey=t.handlePrintableKey.bind(i(i(t))),t.handleListMouseLeave=t.handleListMouseLeave.bind(i(i(t))),t.handleOptionBlur=t.handleOptionBlur.bind(i(i(t))),t.handleOptionClick=t.handleOptionClick.bind(i(i(t))),t.handleOptionFocus=t.handleOptionFocus.bind(i(i(t))),t.handleOptionMouseDown=t.handleOptionMouseDown.bind(i(i(t))),t.handleOptionMouseEnter=t.handleOptionMouseEnter.bind(i(i(t))),t.handleInputBlur=t.handleInputBlur.bind(i(i(t))),t.handleInputChange=t.handleInputChange.bind(i(i(t))),t.handleInputFocus=t.handleInputFocus.bind(i(i(t))),t.pollInputElement=t.pollInputElement.bind(i(i(t))),t.getDirectInputChanges=t.getDirectInputChanges.bind(i(i(t))),t.clearSelection=t.clearSelection.bind(i(i(t))),t}(function r(e,t){e.prototype=Object.create(t.prototype),(e.prototype.constructor=e).__proto__=t})(e,n);var t=e.prototype;return t.isQueryAnOption=function(e,t){var n=this;return-1!==t.map(function(e){return n.templateInputValue(e)&&n.templateInputValue(e).toLowerCase()}).indexOf(e.toLowerCase())},t.componentDidMount=function(){this.pollInputElement(),this.props.selectElement&&(this.props.selectElement.accessibleAutocomplete={clearSelection:this.clearSelection})},t.componentWillUnmount=function(){clearTimeout(this.$pollInput),this.props.selectElement&&delete this.props.selectElement.accessibleAutocomplete},t.pollInputElement=function(){var e=this;this.getDirectInputChanges(),this.$pollInput=setTimeout(function(){e.pollInputElement()},100)},t.getDirectInputChanges=function(){var e=this.elementReferences[-1];e&&e.value!==this.state.query&&this.handleInputChange({target:{value:e.value}})},t.componentDidUpdate=function(e,t){var n=this.state.focused,r=null===n,o=t.focused!==n;o&&!r&&this.elementReferences[n].focus();var i=-1===n,u=o&&null===t.focused;if(i&&u){var s=this.elementReferences[n];s.setSelectionRange(0,s.value.length)}},t.clearSelection=function(){var e=this.props.selectElement;e.value=null;var t=document.createEvent("HTMLEvents");t.initEvent("change",!0,!1),e.dispatchEvent(t),this.setState({focused:null,hovered:null,menuOpen:!1,options:this.props.defaultValue?[this.props.defaultValue]:[],query:"",validChoiceMade:!1})},t.hasAutoselect=function(){return!te()&&this.props.autoselect},t.templateInputValue=function(e){var t=this.props.templates&&this.props.templates.inputValue;return t?t(e):e},t.templateSuggestion=function(e){var t=this.props.templates&&this.props.templates.suggestion;return t?t(e):e},t.handleComponentBlur=function(e,t,n){var r,o=this,i=this.state,u=i.options,s=i.query,a=i.selected,l=i.menuOpen;this.props.confirmOnBlur?(r=e.query||s,this.props.onConfirm(u[a])):r=s;var c=t&&this.props.selectElement?-1:null;this.setState({focused:c,menuOpen:e.menuOpen||!1,query:r,selected:null,validChoiceMade:this.isQueryAnOption(r,u)},function(){t&&(o.forceUpdate(),n&&l&&n.stopPropagation())})},t.handleListMouseLeave=function(e){this.setState({hovered:null})},t.handleOptionBlur=function(e,t){var n=this.state,r=n.focused,o=n.menuOpen,i=n.options,u=n.selected,s=null===e.relatedTarget,a=e.relatedTarget===this.elementReferences[-1],l=r!==t&&-1!==r;if(!l&&s||!(l||a)){var c=o&&te();this.handleComponentBlur({menuOpen:c,query:this.templateInputValue(i[u])})}},t.handleInputBlur=function(e){var t=this.state,n=t.focused,r=t.menuOpen,o=t.options,i=t.query,u=t.selected;if(!(-1!==n)||!e.relatedTarget||!e.relatedTarget.matches("li.autocomplete__option")){var s=r&&te(),a=te()?i:this.templateInputValue(o[u]);this.handleComponentBlur({menuOpen:s,query:a})}},t.handleInputChange=function(e){var n=this;switch(p[e.keyCode]){case"up":this.handleUpArrow(e);break;case"down":this.handleDownArrow(e);break;case"space":this.handleSpace(e);break;case"enter":this.handleEnter(e);break;case"escape":this.handleComponentBlur({query:this.state.query},!0,e);break;default:var t=this.props,r=t.minLength,o=t.source,i=t.showAllValues,u=this.hasAutoselect(),s=e.target.value,a=0===s.length,l=this.state.query.length!==s.length,c=s.length>=r;this.setState({query:s,ariaHint:a}),i||!a&&l&&c?o(s,function(e){var t=0<e.length;n.setState({menuOpen:t,options:e,focused:n.props.selectElement?t?0:-1:n.state.focused,selected:u&&t?0:-1,validChoiceMade:!1})}):!a&&c||this.setState({menuOpen:!1,options:[]})}},t.handleInputClick=function(e){var n=this;this.props.selectElement&&!1===this.state.menuOpen?this.props.source("",function(e){var t=e.indexOf(n.state.query);n.setState({menuOpen:!0,options:e,focused:t,selected:t,hovered:null})}):this.props.selectElement?this.handleComponentBlur({menuOpen:!1},!0,e):this.handleInputChange(e)},t.handleInputFocus=function(e){if(!this.props.selectElement){var t=this.state,n=t.query,r=t.validChoiceMade,o=t.options,i=this.props.minLength,u=n&&!r&&n.length>=i&&0<o.length;u?this.setState(function(e){var t=e.menuOpen;return{focused:-1,menuOpen:u||t,selected:-1}}):this.setState({focused:-1})}},t.wrapAround=function(e){var t=this.state,n=t.options,r=t.query,o=this.props,i=o.minLength,u=o.selectElement.options,s=i<(r?r.trim().length:0)?n.length:u.length;return e<0?s-1:s<=e?0:e},t.handleOptionFocus=function(n,r){var o=this;this.props.selectElement&&(n=this.wrapAround(n)),this.setState({focused:n,hovered:null,selected:n},function(){if(r){var e=o.state.options[n],t=o.templateInputValue(e);o.setState({query:t,validChoiceMade:!0}),o.props.selectElement&&o.props.onConfirm(e)}})},t.handleOptionMouseEnter=function(e,t){te()||this.setState({hovered:t})},t.handleOptionClick=function(e,t,n){void 0===n&&(n=!1);var r=this.state.options[t],o=this.templateInputValue(r);this.props.onConfirm(r),e.preventDefault(),e.stopPropagation(),this.setState({focused:-1,hovered:null,menuOpen:n,query:o,selected:-1,validChoiceMade:!0}),this.forceUpdate()},t.handleOptionMouseDown=function(e){e.preventDefault()},t.handleUpArrow=function(e){var t=this;if(e.preventDefault(),this.props.selectElement&&!1===this.state.menuOpen)this.props.source("",function(e){t.setState({menuOpen:!0,options:e},function(){var e=t.state.query&&0<t.state.options.indexOf(t.state.query)?t.state.options.indexOf(t.state.query)-1:t.state.options.length-1;e<0&&(e=t.state.options.length-1),t.handleOptionFocus(e,!0)})});else{var n=this.state,r=n.menuOpen,o=n.selected;(-1!==o&&r||this.props.selectElement)&&this.handleOptionFocus(o-1,this.props.autoselect)}},t.handleDownArrow=function(e){var t=this;if(e.preventDefault(),this.props.selectElement&&!1===this.state.menuOpen)this.props.source("",function(e){t.setState({menuOpen:!0,options:e},function(){var e=t.state.query&&-1<t.state.options.indexOf(t.state.query)?t.state.options.indexOf(t.state.query)+1:0;e>=t.state.options.length&&(e=0),t.handleOptionFocus(e,!0)})});else if(this.props.showAllValues&&!1===this.state.menuOpen)this.props.source("",function(e){t.setState({menuOpen:!0,options:e,selected:0,focused:0,hovered:null})});else if(!0===this.state.menuOpen){var n=this.state,r=n.options,o=n.selected;(o!==r.length-1||this.props.selectElement)&&this.handleOptionFocus(o+1,this.props.autoselect)}},t.handleSpace=function(e){var n=this;if(this.props.selectElement&&!this.state.menuOpen||this.props.showAllValues&&!1===this.state.menuOpen&&""===this.state.query)return 0===this.state.query.trim().length&&e.preventDefault(),this.props.source("",function(e){var t=n.state.query&&-1<e.indexOf(n.state.query)?e.indexOf(n.state.query):0;n.setState({menuOpen:!0,options:e,focused:t,selected:t})}),void e.preventDefault();var t=this.elementReferences[-1];-1!==this.state.focused&&t!==e.target&&(e.preventDefault(),this.handleOptionClick(e,this.state.focused))},t.handleEnter=function(e){var n=this;this.state.menuOpen?(e.preventDefault(),0<=this.state.selected&&this.handleOptionClick(e,this.state.selected)):this.props.selectElement&&this.props.source("",function(e){n.setState({menuOpen:!0,options:e},function(){var e=n.state.query&&-1<n.state.options.indexOf(n.state.query)?n.state.options.indexOf(n.state.query):0,t=!0;n.props.selectElement||(t=!(e=-1)),n.setState({menuOpen:t,focused:e,selected:e})})})},t.handlePrintableKey=function(e){var t=this.elementReferences[-1];e.target===t||t.focus()},t.handleKeyDown=function(e){switch(p[e.keyCode]){case"up":this.handleUpArrow(e);break;case"down":this.handleDownArrow(e);break;case"space":this.handleSpace(e);break;case"enter":this.handleEnter(e);break;case"escape":this.handleComponentBlur({query:this.state.query},!0,e);break;default:(function t(e){return 47<e&&e<58||32===e||8===e||64<e&&e<91||95<e&&e<112||185<e&&e<193||218<e&&e<223})(e.keyCode)&&this.handlePrintableKey(e)}},t.render=function(){var e,i=this,t=this.props,n=t.cssNamespace,r=t.displayMenu,u=t.id,o=t.minLength,s=t.name,a=t.placeholder,l=t.required,c=t.showAllValues,p=t.tNoResults,f=t.tStatusQueryTooShort,d=t.tStatusNoResults,h=t.tStatusSelectedOption,m=t.tStatusResults,v=t.tAssistiveHint,y=t.alwaysDisplayArrow,g=t.dropdownArrow,b=this.state,_=b.focused,w=b.hovered,x=b.menuOpen,O=b.options,E=b.query,C=b.selected,S=b.ariaHint,M=b.validChoiceMade,N=this.hasAutoselect(),A=this.props.selectElement&&""!==(this.props.selectElement.value||""),k=-1===_,I=0===O.length,P=0!==E.length,j=E.length>=o,q=this.props.showNoOptionsFound&&k&&I&&P&&j,D=n+"__wrapper",L=n+"__input",T=null!==_?" "+L+"--focused":"",B=this.props.showAllValues?" "+L+"--show-all-values":" "+L+"--default",F=A?" "+L+"--has-value":"",R=n+"__dropdown-arrow-down",V=-1!==_&&null!==_,U=n+"__menu",W=U+"--"+r,H=U+"--"+(x||q?"visible":"hidden"),K=n+"__option",Q=n+"__hint",z=this.templateInputValue(O[C]),$=z&&0===z.toLowerCase().indexOf(E.toLowerCase())&&N?E+z.substr(E.length):"",G=u+"__assistiveHint",J=S?{"aria-describedby":G}:null;return(c||!0===y)&&"string"==typeof(e=g({className:R}))&&(e=(0,Y.createElement)("div",{className:n+"__dropdown-arrow-down-wrapper",dangerouslySetInnerHTML:{__html:e}})),(0,Y.createElement)("div",{className:D,onKeyDown:this.handleKeyDown,ref:function(e){i.wrapperRef=e}},(0,Y.createElement)(Z["default"],{id:u,length:O.length,queryLength:E.length,minQueryLength:o,selectedOption:this.templateInputValue(O[C]),selectedOptionIndex:C,validChoiceMade:M,isInFocus:null!==this.state.focused,tQueryTooShort:f,tNoResults:d,tSelectedOption:h,tResults:m}),$&&(0,Y.createElement)("span",null,(0,Y.createElement)("input",{className:Q,readonly:!0,tabIndex:"-1",value:$})),(0,Y.createElement)("input",ee({"aria-expanded":x?"true":"false","aria-activedescendant":!!V&&u+"__option--"+_,"aria-controls":u+"__listbox","aria-autocomplete":this.hasAutoselect()?"both":"list"},J,{autoComplete:"off",className:""+L+T+B+F,id:u,onClick:function(e){return i.handleInputClick(e)},onBlur:this.handleInputBlur},function X(e){return{onInput:e}}(this.handleInputChange),{onFocus:this.handleInputFocus,name:s,placeholder:a,ref:function(e){i.elementReferences[-1]=e},type:"text",role:"combobox",required:l,value:E})),e,(0,Y.createElement)("ul",{className:U+" "+W+" "+H,onMouseLeave:function(e){return i.handleListMouseLeave(e)},id:u+"__listbox",role:"listbox"},O.map(function(e,t){var n=(-1===_?C===t:_===t)&&null===w?" "+K+"--focused":"",r=t%2?" "+K+"--odd":"",o=te()?"<span id="+u+"__option-suffix--"+t+' style="border:0;clip:rect(0 0 0 0);height:1px;marginBottom:-1px;marginRight:-1px;overflow:hidden;padding:0;position:absolute;whiteSpace:nowrap;width:1px"> '+(t+1)+" of "+O.length+"</span>":"";return(0,Y.createElement)("li",{"aria-selected":_===t?"true":"false",className:""+K+n+r,dangerouslySetInnerHTML:{__html:i.templateSuggestion(e)+o},id:u+"__option--"+t,key:t,onBlur:function(e){return i.handleOptionBlur(e,t)},onClick:function(e){return i.handleOptionClick(e,t)},onMouseDown:i.handleOptionMouseDown,onMouseEnter:function(e){return i.handleOptionMouseEnter(e,t)},ref:function(e){i.elementReferences[t]=e},role:"option",tabIndex:"-1","aria-posinset":t+1,"aria-setsize":O.length})}),q&&(0,Y.createElement)("li",{className:K+" "+K+"--no-results"},p())),(0,Y.createElement)("span",{id:G,style:{display:"none"}},v()))},e}(Y.Component);(t["default"]=u).defaultProps={autoselect:!1,cssNamespace:"autocomplete",defaultValue:"",displayMenu:"inline",minLength:0,name:"input-autocomplete",placeholder:"",onConfirm:function(){},confirmOnBlur:!0,showNoOptionsFound:!0,showAllValues:!1,required:!1,tNoResults:function(){return"No results found"},tAssistiveHint:function(){return"When autocomplete results are available use up and down arrows to review and enter to select. Touch device users, explore by touch or with swipe gestures."},dropdownArrow:r["default"]}},function(e,t,r){var o=r(10),i=r(53),u=r(28),s=r(26)("IE_PROTO"),a=function(){},l="prototype",c=function(){var e,t=r(15)("iframe"),n=u.length;for(t.style.display="none",r(54).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),c=e.F;n--;)delete c[l][u[n]];return c()};e.exports=Object.create||function(e,t){var n;return null!==e?(a[l]=o(e),n=new a,a[l]=null,n[s]=e):n=c(),t===undefined?n:i(n,t)}},function(e,t,n){var u=n(9),s=n(10),a=n(20);e.exports=n(4)?Object.defineProperties:function(e,t){s(e);for(var n,r=a(t),o=r.length,i=0;i<o;)u.f(e,n=r[i++],t[n]);return e}},function(e,t,n){var r=n(1).document;e.exports=r&&r.documentElement},function(e,t,n){"use strict";n(56)("trim",function(e){return function(){return e(this,3)}})},function(e,t,n){var u=n(0),r=n(5),s=n(2),a=n(57),o="["+a+"]",i=RegExp("^"+o+o+"*"),l=RegExp(o+o+"*$"),c=function(e,t,n){var r={},o=s(function(){return!!a[e]()||"
"!="
"[e]()}),i=r[e]=o?t(p):a[e];n&&(r[n]=i),u(u.P+u.F*o,"String",r)},p=c.trim=function(e,t){return e=String(r(e)),1&t&&(e=e.replace(i,"")),2&t&&(e=e.replace(l,"")),e};e.exports=c},function(e,t){e.exports="\t\n\x0B\f\r \u2028\u2029\ufeff"},function(e,t,n){var r=n(0);r(r.P,"Function",{bind:n(59)})},function(e,t,n){"use strict";var i=n(19),u=n(3),s=n(60),a=[].slice,l={};e.exports=Function.bind||function(t){var n=i(this),r=a.call(arguments,1),o=function(){var e=r.concat(a.call(arguments));return this instanceof o?function(e,t,n){if(!(t in l)){for(var r=[],o=0;o<t;o++)r[o]="a["+o+"]";l[t]=Function("F,a","return new F("+r.join(",")+")")}return l[t](e,n)}(n,e.length,e):s(n,e,t)};return u(n.prototype)&&(o.prototype=n.prototype),o}},function(e,t){e.exports=function(e,t,n){var r=n===undefined;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},function(e,t,n){n(62)("match",1,function(r,o,e){return[function(e){"use strict";var t=r(this),n=e==undefined?undefined:e[o];return n!==undefined?n.call(e,t):new RegExp(e)[o](String(t))},e]})},function(e,t,n){"use strict";var s=n(8),a=n(16),l=n(2),c=n(5),p=n(34);e.exports=function(t,e,n){var r=p(t),o=n(c,r,""[t]),i=o[0],u=o[1];l(function(){var e={};return e[r]=function(){return 7},7!=""[t](e)})&&(a(String.prototype,t,i),s(RegExp.prototype,r,2==e?function(e,t){return u.call(e,this,t)}:function(e){return u.call(e,this)}))}},function(e,t,n){"use strict";t.__esModule=!0,t["default"]=void 0,n(36);var b=n(6);var r=function r(o,i,u){var s;return function(){var e=this,t=arguments,n=function n(){s=null,u||o.apply(e,t)},r=u&&!s;clearTimeout(s),s=setTimeout(n,i),r&&o.apply(e,t)}},o=function(o){function e(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=o.call.apply(o,[this].concat(n))||this).state={bump:!1,debounced:!1},e}(function n(e,t){e.prototype=Object.create(t.prototype),(e.prototype.constructor=e).__proto__=t})(e,o);var t=e.prototype;return t.componentWillMount=function(){var e=this;this.debounceStatusUpdate=r(function(){if(!e.state.debounced){var t=!e.props.isInFocus||e.props.validChoiceMade;e.setState(function(e){return{bump:!e.bump,debounced:!0,silenced:t}})}},1400)},t.componentWillReceiveProps=function(e){e.queryLength;this.setState({debounced:!1})},t.render=function(){var e=this.props,t=e.id,n=e.length,r=e.queryLength,o=e.minQueryLength,i=e.selectedOption,u=e.selectedOptionIndex,s=e.tQueryTooShort,a=e.tNoResults,l=e.tSelectedOption,c=e.tResults,p=this.state,f=p.bump,d=p.debounced,h=p.silenced,m=r<o,v=0===n,y=i?l(i,n,u):"",g=null;return g=m?s(o):v?a():c(n,y),this.debounceStatusUpdate(),(0,b.createElement)("div",{style:{border:"0",clip:"rect(0 0 0 0)",height:"1px",marginBottom:"-1px",marginRight:"-1px",overflow:"hidden",padding:"0",position:"absolute",whiteSpace:"nowrap",width:"1px"}},(0,b.createElement)("div",{id:t+"__status--A",role:"status","aria-atomic":"true","aria-live":"polite"},!h&&d&&f?g:""),(0,b.createElement)("div",{id:t+"__status--B",role:"status","aria-atomic":"true","aria-live":"polite"},h||!d||f?"":g))},e}(b.Component);(t["default"]=o).defaultProps={tQueryTooShort:function(e){return"Type in "+e+" or more characters for results"},tNoResults:function(){return"No search results"},tSelectedOption:function(e,t,n){return e+" "+(n+1)+" of "+t+" is highlighted"},tResults:function(e,t){return e+" "+(1===e?"result":"results")+" "+(1===e?"is":"are")+" available. "+t}}},function(e,t,n){"use strict";t.__esModule=!0,t["default"]=void 0;var r=n(6),o=function i(e){var t=e.className;return(0,r.createElement)("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",className:t,focusable:"false"},(0,r.createElement)("g",{stroke:"none",fill:"none","fill-rule":"evenodd"},(0,r.createElement)("polygon",{fill:"#000000",points:"0 0 22 0 11 17"})))};t["default"]=o}])["default"]});
//# sourceMappingURL=accessible-autocomplete.min.js.map