PageSourceSearch

https://docs.asciidoctor.org/_/js/vendor/docsearch.js

js asciidoctor.org collected 2026-09-24 18:45:16 UTC 124,762 bytes, 3 lines download raw bytes

1!function(){t=function(t,r){function e(){var t;try{t=r.storage.debug}catch(t){}return t=!t&&"undefined"!=typeof process&&"env"in process?process.env.DEBUG:t}(r=t.exports=h).log=function(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},r.formatArgs=function(t){var e,n,i=this.useColors;t[0]=(i?"%c":"")+this.namespace+(i?" %c":" ")+t[0]+(i?"%c ":" ")+"+"+r.humanize(this.diff),i&&(i="color: "+this.color,t.splice(1,0,i,"color: inherit"),t[n=e=0].replace(/%[a-zA-Z%]/g,function(t){"%%"!==t&&(e++,"%c"===t)&&(n=e)}),t.splice(n,0,i))},r.save=function(t){try{null==t?r.storage.removeItem("debug"):r.storage.debug=t}catch(t){}},r.load=e,r.useColors=function(){if("undefined"!=typeof window&&window.process&&"renderer"===window.process.type)return!0;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&31<=parseInt(RegExp.$1,10)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},r.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(t){}}(),r.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],r.formatters.j=function(t){try{return JSON.stringify(t)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}},r.enable(e())};var t,e,r=1e3,s=60*r,o=60*s,a=24*o,u=365.25*a;function c(t,e,n){if(!(t<e))return t<1.5*e?Math.floor(t/e)+" "+n:Math.ceil(t/e)+" "+n+"s"}var l,h={};function n(t){function o(){if(o.enabled){for(var i=o,t=+new Date,e=t-(l||t),r=(i.diff=e,i.prev=l,i.curr=t,l=t,new Array(arguments.length)),n=0;n<r.length;n++)r[n]=arguments[n];r[0]=h.coerce(r[0]),"string"!=typeof r[0]&&r.unshift("%O");var s=0;r[0]=r[0].replace(/%([a-zA-Z%])/g,function(t,e){var n;return"%%"!==t&&(s++,"function"==typeof(e=h.formatters[e]))&&(n=r[s],t=e.call(i,n),r.splice(s,1),s--),t}),h.formatArgs.call(i,r),(o.log||h.log||console.log.bind(console)).apply(i,r)}}return o.namespace=t,o.enabled=h.enabled(t),o.useColors=h.useColors(),o.color=function(t){var e,n=0;for(e in t)n=(n<<5)-n+t.charCodeAt(e),n|=0;return h.colors[Math.abs(n)%h.colors.length]}(t),"function"==typeof h.init&&h.init(o),o}(h=n.debug=n.default=n).coerce=function(t){return t instanceof Error?t.stack||t.message:t},h.disable=function(){h.enable("")},h.enable=function(t){h.save(t),h.names=[],h.skips=[];for(var e=("string"==typeof t?t:"").split(/[\s,]+/),n=e.length,i=0;i<n;i++)e[i]&&("-"===(t=e[i].replace(/\*/g,".*?"))[0]?h.skips.push(new RegExp("^"+t.substr(1)+"$")):h.names.push(new RegExp("^"+t+"$")))},h.enabled=function(t){var e,n;for(e=0,n=h.skips.length;e<n;e++)if(h.skips[e].test(t))return!1;for(e=0,n=h.names.length;e<n;e++)if(h.names[e].test(t))return!0;return!1},h.humanize=function(t,e){e=e||{};var n=typeof t;if(!("string"==n&&0<t.length)){if("number"==n&&!1===isNaN(t))if(e.long)return c(n=t,a,"day")||c(n,o,"hour")||c(n,s,"minute")||c(n,r,"second")||n+" ms";else{e=t;return a<=e?Math.round(e/a)+"d":o<=e?Math.round(e/o)+"h":s<=e?Math.round(e/s)+"m":r<=e?Math.round(e/r)+"s":e+"ms"}throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))}n=t;if(!(100<(n=String(n)).length)){n=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(n);if(n){var i=parseFloat(n[1]);switch((n[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return i*u;case"days":case"day":case"d":return i*a;case"hours":case"hour":case"hrs":case"hr":case"h":return i*o;case"minutes":case"minute":case"mins":case"min":case"m":return i*s;case"seconds":case"second":case"secs":case"sec":case"s":return i*r;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return i;default:return}}}},h.names=[],h.skips=[],h.formatters={};var i,p,w={exports:{}};
2/*! docsearch 2.6.3 | © Algolia | github.com/algolia/docsearch */
3i="undefined"!=typeof self?self:this,p=function(){return n=[function(t,e,n){"use strict";var i,r=n(1);function o(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}t.exports={isArray:null,isFunction:null,isObject:null,bind:null,each:null,map:null,mixin:null,isMsie:function(t){if(void 0===t&&(t=navigator.userAgent),/(msie|trident)/i.test(t)){t=t.match(/(msie |rv:)(\d+(.\d+)?)/i);if(t)return t[2]}return!1},escapeRegExChars:function(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},isNumber:function(t){return"number"==typeof t},toStr:function(t){return null==t?"":t+""},cloneDeep:function(t){var n=this.mixin({},t),i=this;return this.each(n,function(t,e){t&&(i.isArray(t)?n[e]=[].concat(t):i.isObject(t)&&(n[e]=i.cloneDeep(t)))}),n},error:function(t){throw new Error(t)},every:function(n,i){var r=!0;return n?(this.each(n,function(t,e){r=r&&i.call(null,t,e,n)&&r}),!!r):r},any:function(n,i){var r=!1;return n&&this.each(n,function(t,e){if(i.call(null,t,e,n))return!(r=!0)}),r},getUniqueId:(i=0,function(){return i++}),templatify:function(t){var e;return this.isFunction(t)?t:"SCRIPT"===(e=r.element(t)).prop("tagName")?function(){return e.text()}:function(){return String(t)}},defer:function(t){setTimeout(t,0)},noop:function(){},formatPrefix:function(t,e){return e?"":t+"-"},className:function(t,e,n){return(n?"":".")+t+e},escapeHighlightedString:function(t,e,n){e=e||"<em>";var i=document.createElement("div"),r=(i.appendChild(document.createTextNode(e)),n=n||"</em>",document.createElement("div")),s=(r.appendChild(document.createTextNode(n)),document.createElement("div"));return s.appendChild(document.createTextNode(t)),s.innerHTML.replace(RegExp(o(i.innerHTML),"g"),e).replace(RegExp(o(r.innerHTML),"g"),n)}}},function(t,e,n){"use strict";
vendor: 1,078 bytes, line 3
3t.exports={element:null}},function(t,e){var o=Object.prototype.hasOwnProperty,a=Object.prototype.toString;t.exports=function(t,e,n){if("[object Function]"!==a.call(e))throw new TypeError("iterator must be a function");var i=t.length;if(i===+i)for(var r=0;r<i;r++)e.call(n,t[r],r,t);else for(var s in t)o.call(t,s)&&e.call(n,t[s],s,t)}},function(t,e){t.exports=function(t){return JSON.parse(JSON.stringify(t))}},function(t,e){var n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,r){"use strict";var i=r(12);function s(t,e){var n=r(2),i=this;"function"==typeof Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):i.stack=(new Error).stack||"Cannot get a stacktrace, browser is too old",this.name="AlgoliaSearchError",this.message=t||"Unknown error",e&&n(e,function(t,e){i[e]=t})}function n(e,n){function t(){var t=Array.prototype.slice.call(arguments,0);"string"!=typeof t[0]&&t.unshift(n),s.apply(this,t),this.name="AlgoliaSearch"+e+"Error"}return i(t,s),t}
3i(s,Error),t.exports={AlgoliaSearchError:s,UnparsableJSON:n("UnparsableJSON","Could not parse the incoming response as JSON, see err.more for details"),RequestTimeout:n("RequestTimeout","Request timedout before getting a response"),Network:n("Network","Network issue, see err.more for details"),JSONPScriptFail:n("JSONPScriptFail","<script> was loaded but did not call our provided callback"),JSONPScriptError:n("JSONPScriptError","<script> unable to load due to an `error` event on it"),Unknown:n("Unknown","Unknown error occured")}},function(t,e){var n={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==n.call(t)}},function(t,e,n){var s=n(2);t.exports=function(n,i){var r=[];return s(n,function(t,e){r.push(i(t,e,n))}),r}},function(n,r,i){!function(e){function t(){var t;try{t=r.storage.debug}catch(t){}return t=!t&&void 0!==e&&"env"in e?Object({NODE_ENV:"production"}).DEBUG:t}(r=n.exports=i(39)).log=function(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},r.formatArgs=function(t){var e,n,i=this.useColors;t[0]=(i?"%c":"")+this.namespace+(i?" %c":" ")+t[0]+(i?"%c ":" ")+"+"+r.humanize(this.diff),i&&(i="color: "+this.color,t.splice(1,0,i,"color: inherit"),t[n=e=0].replace(/%[a-zA-Z%]/g,function(t){"%%"!==t&&(e++,"%c"===t)&&(n=e)}),t.splice(n,0,i))},r.save=function(t){try{null==t?r.storage.removeItem("debug"):r.storage.debug=t}catch(t){}},r.load=t,r.useColors=function(){if("undefined"!=typeof window&&window.process&&"renderer"===window.process.type)return!0;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&31<=parseInt(RegExp.$1,10)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},r.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(t){}}(),r.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],r.formatters.j=function(t){try{return JSON.stringify(t)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}},r.enable(t())}.call(r,i(9))},function(t,e){var n,i,t=t.exports={};function r(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}try{n="function"==typeof setTimeout?setTimeout:r}catch(t){n=r}try{i="function"==typeof clearTimeout?clearTimeout:s}catch(t){i=s}function o(e){if(n===setTimeout)return setTimeout(e,0);if((n===r||!n)&&setTimeout)return(n=setTimeout)(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}var a,u=[],c=!1,l=-1;function h(){c&&a&&(c=!1,a.length?u=a.concat(u):l=-1,u.length)&&p()}function p(){if(!c){for(var t=o(h),e=(c=!0,u.length);e;){for(a=u,u=[];++l<e;)a&&a[l].run();l=-1,e=u.length}a=null,c=!1,!function(e){if(i===clearTimeout)return clearTimeout(e);if((i===s||!i)&&clearTimeout)return(i=clearTimeout)(e);try{i(e)}catch(t){try{return i.call(null,e)}catch(t){return i.call(this,e)}}}(t)}}function d(t,e){this.fun=t,this.array=e}function f(){}t.nextTick=function(t){var e=new Array(arguments.length-1);if(1<arguments.length)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];u.push(new d(t,e)),1!==u.length||c||o(p)},d.prototype.run=function(){this.fun.apply(null,this.array)},t.title="browser",t.browser=!0,t.env={},t.argv=[],t.version="",t.versions={},t.on=f,t.addListener=f,t.once=f,t.off=f,t.removeListener=f,t.removeAllListeners=f,t.emit=f,t.prependListener=f,t.prependOnceListener=f,t.listeners=function(t){return[]},t.binding=function(t){throw new Error("process.binding is not supported")},t.cwd=function(){return"/"},t.chdir=function(t){throw new Error("process.chdir is not supported")},t.umask=function(){return 0}},function(t,e,n){"use strict";var s=n(53),a=/\s+/;function i(t,e,n,i){var r,s,o;if(n)for(e=e.split(a),n=i?(o=i,(s=n).bind?s.bind(o):function(){s.apply(o,[].slice.call(arguments,0))}):n,this._callbacks=this._callbacks||{};r=e.shift();)this._callbacks[r]=this._callbacks[r]||{sync:[],async:[]},this._callbacks[r][t].push(n);return this}function o(i,r,s){return function(){for(var t,e=0,n=i.length;!t&&e<n;e+=1)t=!1===i[e].apply(r,s);return!t}}t.exports={onSync:function(t,e,n){return i.call(this,"sync",t,e,n)},onAsync:function(t,e,n){return i.call(this,"async",t,e,n)},off:function(t){var e;
vendor: 4,706 bytes, line 3
3if(this._callbacks)for(t=t.split(a);e=t.shift();)delete this._callbacks[e];return this},trigger:function(t){var e,n,i,r;if(this._callbacks)for(t=t.split(a),n=[].slice.call(arguments,1);(r=t.shift())&&(e=this._callbacks[r]);)i=o(e.sync,this,[r].concat(n)),r=o(e.async,this,[r].concat(n)),i()&&s(r);return this}}},function(t,e,n){"use strict";var n=n(0),i={wrapper:{position:"relative",display:"inline-block"},hint:{position:"absolute",top:"0",left:"0",borderColor:"transparent",boxShadow:"none",opacity:"1"},input:{position:"relative",verticalAlign:"top",backgroundColor:"transparent"},inputWithNoHint:{position:"relative",verticalAlign:"top"},dropdown:{position:"absolute",top:"100%",left:"0",zIndex:"100",display:"none"},suggestions:{display:"block"},suggestion:{whiteSpace:"nowrap",cursor:"pointer"},suggestionChild:{whiteSpace:"normal"},ltr:{left:"0",right:"auto"},rtl:{left:"auto",right:"0"},defaultClasses:{root:"algolia-autocomplete",prefix:"aa",noPrefix:!1,dropdownMenu:"dropdown-menu",input:"input",hint:"hint",suggestions:"suggestions",suggestion:"suggestion",cursor:"cursor",dataset:"dataset",empty:"empty"},appendTo:{wrapper:{position:"absolute",zIndex:"100",display:"none"},input:{},inputWithNoHint:{},dropdown:{display:"block"}}};n.isMsie()&&n.mixin(i.input,{backgroundImage:"url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)"}),n.isMsie()&&n.isMsie()<=7&&n.mixin(i.input,{marginTop:"-1px"}),t.exports=i},function(t,e){"function"==typeof Object.create?t.exports=function(t,e){t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})}:t.exports=function(t,e){t.super_=e;function n(){}n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}},function(t,e,n){t.exports=function(s,o){return function(t,e,n){if("function"==typeof t&&"object"==typeof e||"object"==typeof n)throw new a.AlgoliaSearchError("index.search usage is index.search(query, params, cb)");0===arguments.length||"function"==typeof t?(n=t,t=""):1!==arguments.length&&"function"!=typeof e||(n=e,e=void 0),"object"==typeof t&&null!==t?(e=t,t=void 0):null==t&&(t="");var i,r="";return void 0!==t&&(r+=s+"="+encodeURIComponent(t)),void 0!==e&&(e.additionalUA&&(i=e.additionalUA,delete e.additionalUA),r=this.as._getSearchParams(e,r)),this._search(r,o,n,i)}};var a=n(5)},function(t,e,s){t.exports=function(e,n){var t=s(36),i=s(2),r={};return i(t(e),function(t){!0!==n(t)&&(r[t]=e[t])}),r}},function(t,D){function l(t){return t._zid||(t._zid=n++)}function o(t,e,n,i){var r;return(e=h(e)).ns&&(r=P(e.ns)),(x[l(t)]||[]).filter(function(t){return t&&(!e.e||t.e==e.e)&&(!e.ns||r.test(t.ns))&&(!n||l(t.fn)===l(n))&&(!i||t.sel==i)})}function h(t){t=(""+t).split(".");return{e:t[0],ns:t.slice(1).sort().join(" ")}}function P(t){return new RegExp("(?:^| )"+t.replace(" "," .* ?")+"(?: |$)")}function p(t,e){return t.del&&!i&&t.e in a||!!e}function d(t){return S[t]||i&&a[t]||t}function c(r,t,e,s,o,a,u){var n=l(r),c=x[n]||(x[n]=[]);t.split(/\s/).forEach(function(t){if("ready"==t)return y(document).ready(e);var n=h(t),i=(n.fn=e,n.sel=o,n.e in S&&(e=function(t){var e=t.relatedTarget;if(!e||e!==this&&!y.contains(this,e))return n.fn.apply(this,arguments)}),(n.del=a)||e);n.proxy=function(t){if(!(t=g(t)).isImmediatePropagationStopped()){try{var e=Object.getOwnPropertyDescriptor(t,"data");e&&!e.writable||(t.data=s)}catch(t){}e=i.apply(r,t._args==v?[t]:[t].concat(t._args));return!1===e&&(t.preventDefault(),t.stopPropagation()),e}},n.i=c.length,c.push(n),"addEventListener"in r&&r.addEventListener(d(n.e),n.proxy,p(n,u))})}function f(e,t,n,i,r){var s=l(e);(t||"").split(/\s/).forEach(function(t){o(e,t,n,i).forEach(function(t){delete x[s][t.i],"removeEventListener"in e&&e.removeEventListener(d(t.e),t.proxy,p(t,r))})})}function g(i,r){return(r||!i.isDefaultPrevented)&&(r=r||i,y.each(T,function(t,e){var n=r[t];i[t]=function(){return this[e]=u,n&&n.apply(r,arguments)},i[e]=C}),i.timeStamp||(i.timeStamp=Date.now()),r.defaultPrevented!==v?r.defaultPrevented:"returnValue"in r?!1===r.returnValue:r.getPreventDefault&&r.getPreventDefault())&&(i.isDefaultPrevented=u),i}function m(t){var e,n={originalEvent:t};for(e in t)A.test(e)||t[e]===v||(n[e]=t[e]);return g(n,t)}function q(t,e){var n=t[j],n=n&&N[n];if(void 0===e)return n||r(t);if(n){if(e in n)return n[e];var i=$(e);if(i in n)return n[i]}return I.call(O(t),e)}function r(t,e,n){var i=t[j]||(t[j]=++O.uuid),i=N[i]||(N[i]=L(t));return void 0!==e&&(i[$(e)]=n),i}function L(t){var n={};return O.each(t.attributes||R,function(t,e){0==e.name.indexOf("data-")&&(n[$(e.name.replace("data-",""))]=O.zepto.deserializeValue(e.value))}),n}var e,W,y,n,v,b,w,_,x,s,i,a,S,u,C,A,T,k,E,O,N,I,$,j,R;
vendor: 15,134 bytes, line 3
3e=window,t.exports=(W=e,e=function(){var u,o,c,i,a,n,r=[],P=r.concat,s=r.filter,l=r.slice,h=W.document,p={},e={},q={"column-count":1,columns:1,"font-weight":1,"line-height":1,opacity:1,"z-index":1,zoom:1},d=/^\s*<(\w+|!)[^>]*>/,L=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,M=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,f=/^(?:body|html)$/i,H=/([A-Z])/g,F=["val","css","html","text","data","width","height","offset"],t=h.createElement("table"),g=h.createElement("tr"),m={tr:h.createElement("tbody"),tbody:t,thead:t,tfoot:t,td:g,th:g,"*":h.createElement("div")},U=/complete|loaded|interactive/,V=/^[\w-]*$/,y={},B=y.toString,v={},b=h.createElement("div"),w={tabindex:"tabIndex",readonly:"readOnly",for:"htmlFor",class:"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},_=Array.isArray||function(t){return t instanceof Array};function x(t){return null==t?String(t):y[B.call(t)]||"object"}function S(t){return"function"==x(t)}function C(t){return null!=t&&t==t.window}function A(t){return null!=t&&t.nodeType==t.DOCUMENT_NODE}function T(t){return"object"==x(t)}function k(t){return T(t)&&!C(t)&&Object.getPrototypeOf(t)==Object.prototype}function E(t){var e=!!t&&"length"in t&&t.length,n=c.type(t);return"function"!=n&&!C(t)&&("array"==n||0===e||"number"==typeof e&&0<e&&e-1 in t)}function O(t){return t.replace(/::/g,"/").replace(/([A-Z]+)([A-Z][a-z])/g,"$1_$2").replace(/([a-z\d])([A-Z])/g,"$1_$2").replace(/_/g,"-").toLowerCase()}function N(t){return t in e?e[t]:e[t]=new RegExp("(^|\\s)"+t+"(\\s|$)")}function I(t,e){return"number"!=typeof e||q[O(t)]?e:e+"px"}function K(t){return"children"in t?l.call(t.children):c.map(t.childNodes,function(t){if(1==t.nodeType)return t})}function J(t,e){for(var n=t?t.length:0,i=0;i<n;i++)this[i]=t[i];this.length=n,this.selector=e||""}function $(t,e){return null==e?c(t):c(t).filter(e)}function j(t,e,n,i){return S(e)?e.call(t,n,i):e}function R(t,e,n){null==n?t.removeAttribute(e):t.setAttribute(e,n)}function D(t,e){var n=t.className||"",i=n&&n.baseVal!==u;if(e===u)return i?n.baseVal:n;i?n.baseVal=e:t.className=e}function z(e){try{return e&&("true"==e||"false"!=e&&("null"==e?null:+e+""==e?+e:/^[\[\{]/.test(e)?c.parseJSON(e):e))}catch(t){return e}}return v.matches=function(t,e){var n,i;return!(!e||!t||1!==t.nodeType)&&((n=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.matchesSelector)?n.call(t,e):((i=!(n=t.parentNode))&&(n=b).appendChild(t),n=~v.qsa(n,e).indexOf(t),i&&b.removeChild(t),n))},a=function(t){return t.replace(/-+(.)?/g,function(t,e){return e?e.toUpperCase():""})},n=function(n){return s.call(n,function(t,e){return n.indexOf(t)==e})},v.fragment=function(t,e,n){var i,r,s;return(i=L.test(t)?c(h.createElement(RegExp.$1)):i)||(t.replace&&(t=t.replace(M,"<$1></$2>")),e===u&&(e=d.test(t)&&RegExp.$1),(s=m[e=e in m?e:"*"]).innerHTML=""+t,i=c.each(l.call(s.childNodes),function(){s.removeChild(this)})),k(n)&&(r=c(i),c.each(n,function(t,e){-1<F.indexOf(t)?r[t](e):r.attr(t,e)})),i},v.Z=function(t,e){return new J(t,e)},v.isZ=function(t){return t instanceof v.Z},v.init=function(t,e){var n,i;if(!t)return v.Z();if("string"==typeof t)if("<"==(t=t.trim())[0]&&d.test(t))n=v.fragment(t,RegExp.$1,e),t=null;else{if(e!==u)return c(e).find(t);n=v.qsa(h,t)}else{if(S(t))return c(h).ready(t);if(v.isZ(t))return t;if(_(t))i=t,n=s.call(i,function(t){return null!=t});else if(T(t))n=[t],t=null;else if(d.test(t))n=v.fragment(t.trim(),RegExp.$1,e),t=null;else{if(e!==u)return c(e).find(t);n=v.qsa(h,t)}}return v.Z(n,t)},(c=function(t,e){return v.init(t,e)}).extend=function(e){var n,t=l.call(arguments,1);return"boolean"==typeof e&&(n=e,e=t.shift()),t.forEach(function(t){!function t(e,n,i){for(o in n)i&&(k(n[o])||_(n[o]))?(k(n[o])&&!k(e[o])&&(e[o]={}),_(n[o])&&!_(e[o])&&(e[o]=[]),t(e[o],n[o],i)):n[o]!==u&&(e[o]=n[o])}(e,t,n)}),e},v.qsa=function(t,e){var n,i="#"==e[0],r=!i&&"."==e[0],s=i||r?e.slice(1):e,o=V.test(s);return t.getElementById&&o&&i?(n=t.getElementById(s))?[n]:[]:1!==t.nodeType&&9!==t.nodeType&&11!==t.nodeType?[]:l.call(o&&!i&&t.getElementsByClassName?r?t.getElementsByClassName(s):t.getElementsByTagName(e):t.querySelectorAll(e))},c.contains=h.documentElement.contains?function(t,e){return t!==e&&t.contains(e)}:function(t,e){for(;e=e&&e.parentNode;)if(e===t)return!0;return!1},c.type=x,c.isFunction=S,c.isWindow=C,c.isArray=_,c.isPlainObject=k,c.isEmptyObject=function(t){for(var e in t)return!1;return!0},c.isNumeric=function(t){var e=Number(t),n=typeof t;return null!=t&&"boolean"!=n&&("string"!=n||t.length)&&!isNaN(e)&&isFinite(e)||!1},c.inArray=function(t,e,n){return r.indexOf.call(e,t,n)},c.camelCase=a,c.trim=function(t){return null==t?"":String.prototype.trim.call(t)},c.uuid=0,c.support={},c.expr={},c.noop=function(){},c.map=function(t,e){var n,i,r,s,o=[];if(E(t))for(i=0;i<t.length;i++)null!=(n=e(t[i],i))&&o.push(n);else for(r in t)null!=(n=e(t[r],r))&&o.push(n);return 0<(s=o).length?c.fn.concat.apply([],s):s},c.each=function(t,e){var n,i;if(E(t)){for(n=0;n<t.length;n++)if(!1===e.call(t[n],n,t[n]))return t}else for(i in t)if(!1===e.call(t[i],i,t[i]))return t;return t},c.grep=function(t,e){return s.call(t,e)},W.JSON&&(c.parseJSON=JSON.parse),c.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(t,e){y["[object "+e+"]"]=e.toLowerCase()}),c.fn={constructor:v.Z,length:0,forEach:r.forEach,reduce:r.reduce,push:r.push,sort:r.sort,splice:r.splice,indexOf:r.indexOf,concat:function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=v.isZ(t=arguments[n])?t.toArray():t;return P.apply(v.isZ(this)?this.toArray():this,e)},map:function(n){return c(c.map(this,function(t,e){return n.call(t,e,t)}))},slice:function(){return c(l.apply(this,arguments))},ready:function(t){return U.test(h.readyState)&&h.body?t(c):h.addEventListener("DOMContentLoaded",function(){t(c)},!1),this},get:function(t){return t===u?l.call(this):this[0<=t?t:t+this.length]},toArray:function(){return this.get()},size:function(){return this.length},remove:function(){return this.each(function(){null!=this.parentNode&&this.parentNode.removeChild(this)})},each:function(n){return r.every.call(this,function(t,e){return!1!==n.call(t,e,t)}),this},filter:function(e){return S(e)?this.not(this.not(e)):c(s.call(this,function(t){return v.matches(t,e)}))},add:function(t,e){return c(n(this.concat(c(t,e))))},is:function(t){return 0<this.length&&v.matches(this[0],t)},not:function(e){var n,i=[];return S(e)&&e.call!==u?this.each(function(t){e.call(this,t)||i.push(this)}):(n="string"==typeof e?this.filter(e):E(e)&&S(e.item)?l.call(e):c(e),this.forEach(function(t){n.indexOf(t)<0&&i.push(t)})),c(i)},has:function(t){return this.filter(function(){return T(t)?c.contains(this,t):c(this).find(t).size()})},eq:function(t){return-1===t?this.slice(t):this.slice(t,+t+1)},first:function(){var t=this[0];return t&&!T(t)?t:c(t)},last:function(){var t=this[this.length-1];return t&&!T(t)?t:c(t)},find:function(t){var n=this,e=t?"object"==typeof t?c(t).filter(function(){var e=this;return r.some.call(n,function(t){return c.contains(t,e)})}):1==this.length?c(v.qsa(this[0],t)):this.map(function(){return v.qsa(this,t)}):c();return e},closest:function(n,i){var r=[],s="object"==typeof n&&c(n);return this.each(function(t,e){for(;e&&!(s?0<=s.indexOf(e):v.matches(e,n));)e=e!==i&&!A(e)&&e.parentNode;e&&r.indexOf(e)<0&&r.push(e)}),c(r)},parents:function(t){for(var e=[],n=this;0<n.length;)n=c.map(n,function(t){if((t=t.parentNode)&&!A(t)&&e.indexOf(t)<0)return e.push(t),t});return $(e,t)},parent:function(t){return $(n(this.pluck("parentNode")),t)},children:function(t){return $(this.map(function(){return K(this)}),t)},contents:function(){return this.map(function(){return this.contentDocument||l.call(this.childNodes)})},siblings:function(t){return $(this.map(function(t,e){return s.call(K(e.parentNode),function(t){return t!==e})}),t)},empty:function(){return this.each(function(){this.innerHTML=""})},pluck:function(e){return c.map(this,function(t){return t[e]})},show:function(){return this.each(function(){var t,e,n;"none"==this.style.display&&(this.style.display=""),"none"==getComputedStyle(this,"").getPropertyValue("display")&&(this.style.display=(t=this.nodeName,p[t]||(e=h.createElement(t),h.body.appendChild(e),n=getComputedStyle(e,"").getPropertyValue("display"),e.parentNode.removeChild(e),p[t]=n="none"==n?"block":n),p[t]))})},replaceWith:function(t){return this.before(t).remove()},wrap:function(e){var n,i,r=S(e);return this[0]&&!r&&(n=c(e).get(0),i=n.parentNode||1<this.length),this.each(function(t){c(this).wrapAll(r?e.call(this,t):i?n.cloneNode(!0):n)})},wrapAll:function(t){if(this[0]){var e;for(c(this[0]).before(t=c(t));(e=t.children()).length;)t=e.first();c(t).append(this)}return this},wrapInner:function(i){var r=S(i);return this.each(function(t){var e=c(this),n=e.contents(),t=r?i.call(this,t):i;n.length?n.wrapAll(t):e.append(t)})},unwrap:function(){return this.parent().each(function(){c(this).replaceWith(c(this).children())}),this},clone:function(){return this.map(function(){return this.cloneNode(!0)})},hide:function(){return this.css("display","none")},toggle:function(e){return this.each(function(){var t=c(this);(e===u?"none"==t.css("display"):e)?t.show():t.hide()})},prev:function(t){return c(this.pluck("previousElementSibling")).filter(t||"*")},next:function(t){return c(this.pluck("nextElementSibling")).filter(t||"*")},html:function(n){return 0 in arguments?this.each(function(t){var e=this.innerHTML;c(this).empty().append(j(this,n,t,e))}):0 in this?this[0].innerHTML:null},text:function(e){return 0 in arguments?this.each(function(t){t=j(this,e,t,this.textContent);this.textContent=null==t?"":""+t}):0 in this?this.pluck("textContent").join(""):null},attr:function(e,n){var t;return"string"!=typeof e||1 in arguments?this.each(function(t){if(1===this.nodeType)if(T(e))for(o in e)R(this,o,e[o]);else R(this,e,j(this,n,t,this.getAttribute(e)))}):0 in this&&1==this[0].nodeType&&null!=(t=this[0].getAttribute(e))?t:u},removeAttr:function(t){return this.each(function(){1===this.nodeType&&t.split(" ").forEach(function(t){R(this,t)},this)})},prop:function(e,n){return e=w[e]||e,1 in arguments?this.each(function(t){this[e]=j(this,n,t,this[e])}):this[0]&&this[0][e]},removeProp:function(t){return t=w[t]||t,this.each(function(){delete this[t]})},data:function(t,e){var n="data-"+t.replace(H,"-$1").toLowerCase(),n=1 in arguments?this.attr(n,e):this.attr(n);return null!==n?z(n):u},val:function(e){return 0 in arguments?(null==e&&(e=""),this.each(function(t){this.value=j(this,e,t,this.value)})):this[0]&&(this[0].multiple?c(this[0]).find("option").filter(function(){return this.selected}).pluck("value"):this[0].value)},offset:function(i){var t;return i?this.each(function(t){var e=c(this),t=j(this,i,t,e.offset()),n=e.offsetParent().offset(),t={top:t.top-n.top,left:t.left-n.left};"static"==e.css("position")&&(t.position="relative"),e.css(t)}):this.length?h.documentElement===this[0]||c.contains(h.documentElement,this[0])?{left:(t=this[0].getBoundingClientRect()).left+W.pageXOffset,top:t.top+W.pageYOffset,width:Math.round(t.width),height:Math.round(t.height)}:{top:0,left:0}:null},css:function(t,e){if(arguments.length<2){var n,i,r=this[0];if("string"==typeof t)return r?r.style[a(t)]||getComputedStyle(r,"").getPropertyValue(t):void 0;if(_(t))return r?(n={},i=getComputedStyle(r,""),c.each(t,function(t,e){n[e]=r.style[a(e)]||i.getPropertyValue(e)}),n):void 0}var s="";if("string"==x(t))e||0===e?s=O(t)+":"+I(t,e):this.each(function(){this.style.removeProperty(O(t))});else for(o in t)t[o]||0===t[o]?s+=O(o)+":"+I(o,t[o])+";":this.each(function(){this.style.removeProperty(O(o))});return this.each(function(){this.style.cssText+=";"+s})},index:function(t){return t?this.indexOf(c(t)[0]):this.parent().children().indexOf(this[0])},hasClass:function(t){return!!t&&r.some.call(this,function(t){return this.test(D(t))},N(t))},addClass:function(n){return n?this.each(function(t){var e;"className"in this&&(i=[],e=D(this),j(this,n,t,e).split(/\s+/g).forEach(function(t){c(this).hasClass(t)||i.push(t)},this),i.length)&&D(this,e+(e?" ":"")+i.join(" "))}):this},removeClass:function(e){return this.each(function(t){if("className"in this){if(e===u)return D(this,"");i=D(this),j(this,e,t,i).split(/\s+/g).forEach(function(t){i=i.replace(N(t)," ")}),D(this,i.trim())}})},toggleClass:function(n,i){return n?this.each(function(t){var e=c(this);j(this,n,t,D(this)).split(/\s+/g).forEach(function(t){(i===u?!e.hasClass(t):i)?e.addClass(t):e.removeClass(t)})}):this},scrollTop:function(t){var e;if(this.length)return e="scrollTop"in this[0],t===u?e?this[0].scrollTop:this[0].pageYOffset:this.each(e?function(){this.scrollTop=t}:function(){this.scrollTo(this.scrollX,t)})},scrollLeft:function(t){var e;if(this.length)return e="scrollLeft"in this[0],t===u?e?this[0].scrollLeft:this[0].pageXOffset:this.each(e?function(){this.scrollLeft=t}:function(){this.scrollTo(t,this.scrollY)})},position:function(){var t,e,n,i;if(this.length)return t=this[0],e=this.offsetParent(),n=this.offset(),i=f.test(e[0].nodeName)?{top:0,left:0}:e.offset(),n.top-=parseFloat(c(t).css("margin-top"))||0,n.left-=parseFloat(c(t).css("margin-left"))||0,i.top+=parseFloat(c(e[0]).css("border-top-width"))||0,i.left+=parseFloat(c(e[0]).css("border-left-width"))||0,{top:n.top-i.top,left:n.left-i.left}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent||h.body;t&&!f.test(t.nodeName)&&"static"==c(t).css("position");)t=t.offsetParent;return t})}},c.fn.detach=c.fn.remove,["width","height"].forEach(function(i){var r=i.replace(/./,function(t){return t[0].toUpperCase()});c.fn[i]=function(e){var t,n=this[0];return e===u?C(n)?n["inner"+r]:A(n)?n.documentElement["scroll"+r]:(t=this.offset())&&t[i]:this.each(function(t){(n=c(this)).css(i,j(this,e,t,n[i]()))})}}),["after","prepend","before","append"].forEach(function(e,o){var a=o%2;c.fn[e]=function(){var n,i,r=c.map(arguments,function(t){var e=[];return"array"==(n=x(t))?(t.forEach(function(t){return t.nodeType!==u?e.push(t):c.zepto.isZ(t)?e=e.concat(t.get()):void(e=e.concat(v.fragment(t)))}),e):"object"==n||null==t?t:v.fragment(t)}),s=1<this.length;return r.length<1?this:this.each(function(t,e){i=a?e:e.parentNode,e=0==o?e.nextSibling:1==o?e.firstChild:2==o?e:null;var n=c.contains(h.documentElement,i);r.forEach(function(t){if(s)t=t.cloneNode(!0);else if(!i)return c(t).remove();i.insertBefore(t,e),n&&function t(e,n){n(e);for(var i=0,r=e.childNodes.length;i<r;i++)t(e.childNodes[i],n)}(t,function(t){var e;null==t.nodeName||"SCRIPT"!==t.nodeName.toUpperCase()||t.type&&"text/javascript"!==t.type||t.src||(e=t.ownerDocument?t.ownerDocument.defaultView:W).eval.call(e,t.innerHTML)})})})},c.fn[a?e+"To":"insert"+(o?"Before":"After")]=function(t){return c(t)[e](this),this}}),v.Z.prototype=J.prototype=c.fn,v.uniq=n,v.deserializeValue=z,c.zepto=v,c}(),y=e,n=1,b=Array.prototype.slice,w=y.isFunction,_=function(t){return"string"==typeof t},x={},s={},i="onfocusin"in W,a={focus:"focusin",blur:"focusout"}
3,S={mouseenter:"mouseover",mouseleave:"mouseout"},s.click=s.mousedown=s.mouseup=s.mousemove="MouseEvents",y.event={add:c,remove:f},y.proxy=function(t,e){var n,i=2 in arguments&&b.call(arguments,2);if(w(t))return(n=function(){return t.apply(e,i?i.concat(b.call(arguments)):arguments)})._zid=l(t),n;if(_(e))return i?(i.unshift(t[e],t),y.proxy.apply(null,i)):y.proxy(t[e],t);throw new TypeError("expected function")},y.fn.bind=function(t,e,n){return this.on(t,e,n)},y.fn.unbind=function(t,e){return this.off(t,e)},y.fn.one=function(t,e,n,i){return this.on(t,e,n,i,1)},u=function(){return!0},C=function(){return!1},A=/^([A-Z]|returnValue$|layer[XY]$|webkitMovement[XY]$)/,T={preventDefault:"isDefaultPrevented",stopImmediatePropagation:"isImmediatePropagationStopped",stopPropagation:"isPropagationStopped"},y.fn.delegate=function(t,e,n){return this.on(e,t,n)},y.fn.undelegate=function(t,e,n){return this.off(e,t,n)},y.fn.live=function(t,e){return y(document.body).delegate(this.selector,t,e),this},y.fn.die=function(t,e){return y(document.body).undelegate(this.selector,t,e),this},y.fn.on=function(e,r,n,s,o){var a,u,i=this;return e&&!_(e)?(y.each(e,function(t,e){i.on(t,r,n,e,o)}),i):(_(r)||w(s)||!1===s||(s=n,n=r,r=v),s!==v&&!1!==n||(s=n,n=v),!1===s&&(s=C),i.each(function(t,i){o&&(a=function(t){return f(i,t.type,s),s.apply(this,arguments)}),c(i,e,s,n,r,(u=r?function(t){var e,n=y(t.target).closest(r,i).get(0);if(n&&n!==i)return e=y.extend(m(t),{currentTarget:n,liveFired:i}),(a||s).apply(n,[e].concat(b.call(arguments,1)))}:u)||a)}))},y.fn.off=function(t,n,e){var i=this;return t&&!_(t)?(y.each(t,function(t,e){i.off(t,n,e)}),i):(_(n)||w(e)||!1===e||(e=n,n=v),!1===e&&(e=C),i.each(function(){f(this,t,e,n)}))},y.fn.trigger=function(t,e){return(t=_(t)||y.isPlainObject(t)?y.Event(t):g(t))._args=e,this.each(function(){t.type in a&&"function"==typeof this[t.type]?this[t.type]():"dispatchEvent"in this?this.dispatchEvent(t):y(this).triggerHandler(t,e)})},y.fn.triggerHandler=function(n,i){var r,s;return this.each(function(t,e){(r=m(_(n)?y.Event(n):n))._args=i,r.target=e,y.each(o(e,n.type||n),function(t,e){if(s=e.proxy(r),r.isImmediatePropagationStopped())return!1})}),s},"focusin focusout focus blur load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select keydown keypress keyup error".split(" ").forEach(function(e){y.fn[e]=function(t){return 0 in arguments?this.bind(e,t):this.trigger(e)}}),y.Event=function(t,e){_(t)||(t=(e=t).type);var n=document.createEvent(s[t]||"Events"),i=!0;if(e)for(var r in e)"bubbles"==r?i=!!e[r]:n[r]=e[r];return n.initEvent(t,i,!0),g(n)},k=[],e.fn.remove=function(){return this.each(function(){this.parentNode&&("IMG"===this.tagName&&(k.push(this),this.src="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=",E&&clearTimeout(E),E=setTimeout(function(){k=[]},6e4)),this.parentNode.removeChild(this))})},N={},I=(O=e).fn.data,$=O.camelCase,j=O.expando="Zepto"+ +new Date,R=[],O.fn.data=function(e,t){return void 0===t?O.isPlainObject(e)?this.each(function(t,n){O.each(e,function(t,e){r(n,t,e)})}):0 in this?q(this[0],e):void 0:this.each(function(){r(this,e,t)})},O.data=function(t,e,n){return O(t).data(e,n)},O.hasData=function(t){t=t[j],t=t&&N[t];return!!t&&!O.isEmptyObject(t)},O.fn.removeData=function(n){return"string"==typeof n&&(n=n.split(/\s+/)),this.each(function(){var t=this[j],e=t&&N[t];e&&O.each(n||e,function(t){delete e[n?$(this):t]})})},["remove","empty"].forEach(function(e){var n=O.fn[e];O.fn[e]=function(){var t=this.find("*");return(t="remove"===e?t.add(this):t).removeData(),n.call(this)}}),e)},function(t,e,n){"use strict";var r=n(0),i=n(1);function s(t){t&&t.el||r.error("EventBus initialized without el"),this.$el=i.element(t.el)}r.mixin(s.prototype,{trigger:function(t,e,n,i){t=r.Event("autocomplete:"+t);return this.$el.trigger(t,[e,n,i]),t}}),t.exports=s},function(t,e,n){"use strict";t.exports={wrapper:'<span class="%ROOT%"></span>',dropdown:'<span class="%PREFIX%%DROPDOWN_MENU%"></span>',dataset:'<div class="%PREFIX%%DATASET%-%CLASS%"></div>',suggestions:'<span class="%PREFIX%%SUGGESTIONS%"></span>',suggestion:'<div class="%PREFIX%%SUGGESTION%"></div>'}},function(t,e){t.exports="0.36.0"},function(t,e,n){"use strict";
3t.exports=function(t){t=t.match(/Algolia for vanilla JavaScript (\d+\.)(\d+\.)(\d+)/);if(t)return[t[1],t[2],t[3]]}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=n(15),n=(n=n)&&n.__esModule?n:{default:n};e.default=n.default},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default="2.6.3"},function(t,e,n){"use strict";var n=n(23),n=(n=n)&&n.__esModule?n:{default:n};t.exports=n.default},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=s(n(24)),r=s(n(25)),n=s(n(21));function s(t){return t&&t.__esModule?t:{default:t}}i=(0,i.default)(r.default);i.version=n.default,e.default=i},function(t,e,n){"use strict";var r=Function.prototype.bind;t.exports=function(i){function t(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return new(r.apply(i,[null].concat(e)))}return t.__proto__=i,t.prototype=i.prototype,t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var d=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n,i=arguments[e];for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t},i=function(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),t};function r(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}var s=o(n(26)),f=o(n(29)),g=o(n(49)),m=o(n(64)),u=o(n(65)),y=o(n(21)),v=o(n(20));function o(t){return t&&t.__esModule?t:{default:t}}i(b,[{key:"getAutocompleteSource",value:function(n,i){var r=this;return function(t,e){i&&(t=i(t)||t),r.client.search([{indexName:r.indexName,query:t,params:r.algoliaOptions}]).then(function(t){r.queryDataCallback&&"function"==typeof r.queryDataCallback&&r.queryDataCallback(t);t=t.results[0].hits;n&&(t=n(t)||t),e(b.formatHits(t))})}}},{key:"handleSelected",value:function(t,e,n,i){"click"!==(4<arguments.length&&void 0!==arguments[4]?arguments[4]:{}).selectionMethod&&(t.setVal(""),window.location.assign(n.url))}},{key:"handleShown",value:function(t){var t=t.offset().left+t.width()/2,e=(0,v.default)(document).width()/2,n=0<=t-(e=isNaN(e)?900:e)?"algolia-autocomplete-right":"algolia-autocomplete-left",t=t-e<0?"algolia-autocomplete-right":"algolia-autocomplete-left",e=(0,v.default)(".algolia-autocomplete");e.hasClass(n)||e.addClass(n),e.hasClass(t)&&e.removeClass(t)}}],[{key:"checkArguments",value:function(t){if(!t.apiKey||!t.indexName)throw new Error("Usage:\n  documentationSearch({\n  apiKey,\n  indexName,\n  inputSelector,\n  [ appId ],\n  [ algoliaOptions.{hitsPerPage} ]\n  [ autocompleteOptions.{hint,debug} ]\n})");if("string"!=typeof t.inputSelector)throw new Error("Error: inputSelector:"+t.inputSelector+"  must be a string. Each selector must match only one element and separated by ','");if(!b.getInputFromSelector(t.inputSelector))throw new Error("Error: No input element in the page matches "+t.inputSelector)}},{key:"injectSearchBox",value:function(t){t.before(m.default.searchBox);var e=t.prev().prev().find("input");return t.remove(),e}},{key:"bindSearchBoxEvent",value:function(){(0,v.default)('.searchbox [type="reset"]').on("click",function(){(0,v.default)("input#docsearch").focus(),(0,v.default)(this).addClass("hide"),g.default.autocomplete.setVal("")}),(0,v.default)("input#docsearch").on("keyup",function(){var t=document.querySelector("input#docsearch"),e=document.querySelector('.searchbox [type="reset"]');e.className="searchbox__reset",0===t.value.length&&(e.className+=" hide")})}},{key:"getInputFromSelector",value:function(t){t=(0,v.default)(t).filter("input");return t.length?(0,v.default)(t[0]):null}},{key:"formatHits",value:function(t){var t=u.default.deepClone(t).map(function(t){return t._highlightResult&&(t._highlightResult=u.default.mergeKeyWithParent(t._highlightResult,"hierarchy")),u.default.mergeKeyWithParent(t,"hierarchy")}),n=u.default.groupBy(t,"lvl0");return v.default.each(n,function(t,e){e=u.default.groupBy(e,"lvl1"),e=u.default.flattenAndFlagFirst(e,"isSubCategoryHeader");n[t]=e}),(n=u.default.flattenAndFlagFirst(n,"isCategoryHeader")).map(function(t){var e=b.formatURL(t),n=u.default.getHighlightedValue(t,"lvl0"),i=u.default.getHighlightedValue(t,"lvl1")||n,r=u.default.compact([u.default.getHighlightedValue(t,"lvl2")||i,u.default.getHighlightedValue(t,"lvl3"),u.default.getHighlightedValue(t,"lvl4"),u.default.getHighlightedValue(t,"lvl5"),u.default.getHighlightedValue(t,"lvl6")]).join('<span class="aa-suggestion-title-separator" aria-hidden="true">
3 › </span>'),s=u.default.getSnippetedValue(t,"content"),o=r&&""!==r&&r!==i,a=!o&&i&&""!==i&&i!==n;return{isLvl0:!a&&!o,isLvl1:a,isLvl2:o,isLvl1EmptyOrDuplicate:!i||""===i||i===n,isCategoryHeader:t.isCategoryHeader,isSubCategoryHeader:t.isSubCategoryHeader,isTextOrSubcategoryNonEmpty:i&&""!==i||r&&""!==r,category:n,subcategory:i,title:r,text:s,url:e}})}},{key:"formatURL",value:function(t){var e=t.url,n=t.anchor;return e?-1===e.indexOf("#")&&n?t.url+"#"+t.anchor:e:n?"#"+t.anchor:(console.warn("no anchor nor url for : ",JSON.stringify(t)),null)}},{key:"getEmptyTemplate",value:function(){return function(t){return s.default.compile(m.default.empty).render(t)}}},{key:"getSuggestionTemplate",value:function(t){var t=t?m.default.suggestionSimple:m.default.suggestion,e=s.default.compile(t);return function(t){return e.render(t)}}}]);n=b;function b(t){var e=t.apiKey,n=t.indexName,i=t.inputSelector,r=t.appId,r=void 0===r?"BH4D9OD16A":r,s=t.debug,s=void 0!==s&&s,o=t.algoliaOptions,o=void 0===o?{}:o,a=t.queryDataCallback,a=void 0===a?null:a,u=t.autocompleteOptions,u=void 0===u?{debug:!1,hint:!1,autoselect:!0}:u,c=t.transformData,c=void 0!==c&&c,l=t.queryHook,l=void 0!==l&&l,h=t.handleSelected,h=void 0!==h&&h,p=t.enhancedSearchInput,p=void 0!==p&&p,t=t.layout,t=void 0===t?"collumns":t;if(!(this instanceof b))throw new TypeError("Cannot call a class as a function");b.checkArguments({apiKey:e,indexName:n,inputSelector:i,debug:s,algoliaOptions:o,queryDataCallback:a,autocompleteOptions:u,transformData:c,queryHook:l,handleSelected:h,enhancedSearchInput:p,layout:t}),this.apiKey=e,this.appId=r,this.indexName=n,this.input=b.getInputFromSelector(i),this.algoliaOptions=d({hitsPerPage:5},o),this.queryDataCallback=a||null;e=!(!u||!u.debug)&&u.debug,u.debug=s||e,this.autocompleteOptions=u,this.autocompleteOptions.cssClasses=this.autocompleteOptions.cssClasses||{},this.autocompleteOptions.cssClasses.prefix=this.autocompleteOptions.cssClasses.prefix||"ds",r=this.input&&"function"==typeof this.input.attr&&this.input.attr("aria-label"),this.autocompleteOptions.ariaLabel=this.autocompleteOptions.ariaLabel||r||"search input",this.isSimpleLayout="simple"===t,this.client=(0,f.default)(this.appId,this.apiKey),this.client.addAlgoliaAgent("docsearch.js "+y.default),p&&(this.input=b.injectSearchBox(this.input)),this.autocomplete=(0,g.default)(this.input,u,[{source:this.getAutocompleteSource(c,l),templates:{suggestion:b.getSuggestionTemplate(this.isSimpleLayout),footer:m.default.footer,empty:b.getEmptyTemplate()}}]),n=h;this.handleSelected=n||this.handleSelected,n&&(0,v.default)(".algolia-autocomplete").on("click",".ds-suggestions a",function(t){t.preventDefault()}),this.autocomplete.on("autocomplete:selected",this.handleSelected.bind(null,this.autocomplete.autocomplete)),this.autocomplete.on("autocomplete:shown",this.handleShown.bind(null,this.input)),p&&b.bindSearchBoxEvent()}e.default=n},function(t,e,n){var i=n(27);i.Template=n(28).Template,i.template=i.Template,t.exports=i},function(t,e,n){function b(t){return t.trim?t.trim():t.replace(/^\s*|\s*$/g,"")}function w(t,e,n){if(e.charAt(n)==t.charAt(0)){for(var i=1,r=t.length;i<r;i++)if(e.charAt(n+i)!=t.charAt(i))return;return 1}}function u(t,e,n,i){for(var r=[],s=null,o=null,a=n[n.length-1];0<t.length;){if(o=t.shift(),a&&"<"==a.tag&&!(o.tag in m))throw new Error("Illegal content in < super tag.");if(_.tags[o.tag]<=_.tags.$||function(t,e){for(var n=0,i=e.length;n<i;n++)if(e[n].o==t.n)return t.tag="#"}(o,i))n.push(o),o.nodes=u(t,o.tag,n,i);else{if("/"==o.tag){if(0===n.length)throw new Error("Closing tag without opener: /"+o.n);if(s=n.pop(),o.n==s.n||function(t,e,n){for(var i=0,r=n.length;i<r;i++)if(n[i].c==t&&n[i].o==e)return 1}(o.n,s.n,i))return s.end=o.i,r;throw new Error("Nesting error: "+s.n+" vs. "+o.n)}"\n"==o.tag&&(o.last=0==t.length||"\n"==t[0].tag)}r.push(o)}if(0<n.length)throw new Error("missing closing tag: "+n.pop().n);return r}function i(t){var e,n=[];for(e in t.partials)n.push('"'+r(e)+'":{name:"'+r(t.partials[e].name)+'", '+i(t.partials[e])+"}");return"partials: {"+n.join(",")+"}, subs: "+function(t){var e,n=[];for(e in t)n.push('"'+r(e)+'": function(c,p,t,i) {'+t[e]+"}");return"{ "+n.join(",")+" }"}(t.subs)}function r(t){return t.replace(d,"\\\\").replace(l,'\\"').replace(h,"\\n").replace(p,"\\r").replace(f,"\\u2028").replace(g,"\\u2029")}function s(t){return~t.indexOf(".")?"d":"f"}function o(t,e){var n="<"+(e.prefix||"")+t.n+y++;return e.partials[n]={name:t.n,partials:{}},e.code+='t.b(t.rp("'+r(n)+'",c,p,"'+(t.indent||"")+'"));',n}function a(t,e){e.code+="t.b(t.t(t."+s(t.n)+'("'+r(t.n)+'",c,p,0)));'}function c(t){return"t.b("+t+");"}var _,x,l,h,p,d,f,g,m,y;x=/\S/,l=/\"/g,h=/\n/g,p=/\r/g,d=/\\/g,f=/\u2028/,g=/\u2029/,(_=e).tags={"#":1,"^":2,"<":3,$:4,"/":5,"!":6,">":7,"=":8,_v:9,"{":10,"&":11,_t:12},_.scan=function(t,e){var n,i,r,s,o,a=t.length,u=0,c=null,l="",h=[],p=!1,d=0,f=0,g="{{",m="}}";function y(){0<l.length&&(h.push({tag:"_t",text:new String(l)}
3),l="")}function v(t,e){if(y(),t&&function(){for(var t=!0,e=f;e<h.length;e++)if(!(t=_.tags[h[e].tag]<_.tags._v||"_t"==h[e].tag&&null===h[e].text.match(x)))return;return t}())for(var n,i=f;i<h.length;i++)h[i].text&&((n=h[i+1])&&">"==n.tag&&(n.indent=h[i].text.toString()),h.splice(i,1));else e||h.push({tag:"\n"});p=!1,f=h.length}for(e&&(e=e.split(" "),g=e[0],m=e[1]),d=0;d<a;d++)0==u?w(g,t,d)?(--d,y(),u=1):"\n"==t.charAt(d)?v(p):l+=t.charAt(d):1==u?(d+=g.length-1,u="="==(c=(n=_.tags[t.charAt(d+1)])?t.charAt(d+1):"_v")?(r=d,o=s=void 0,s="="+m,o=(i=t).indexOf(s,r),i=b(i.substring(i.indexOf("=",r)+1,o)).split(" "),g=i[0],m=i[i.length-1],d=o+s.length-1,0):(n&&d++,2),p=d):w(m,t,d)?(h.push({tag:c,n:b(l),otag:g,ctag:m,i:"/"==c?p-g.length:d+m.length}),l="",d+=m.length-1,u=0,"{"==c&&("}}"==m?d++:"}"===(r=h[h.length-1]).n.substr(r.n.length-1)&&(r.n=r.n.substring(0,r.n.length-1)))):l+=t.charAt(d);return v(p,!0),h},m={_t:!0,"\n":!0,$:!0,"/":!0},_.stringify=function(t,e,n){return"{code: function (c,p,i) { "+_.wrapMain(t.code)+" },"+i(t)+"}"},y=0,_.generate=function(t,e,n){y=0;var i={code:"",subs:{},partials:{}};return _.walk(t,i),n.asString?this.stringify(i,e,n):this.makeTemplate(i,e,n)},_.wrapMain=function(t){return'var t=this;t.b(i=i||"");'+t+"return t.fl();"},_.template=_.Template,_.makeTemplate=function(t,e,n){var i=this.makePartials(t);return i.code=new Function("c","p","i",this.wrapMain(t.code)),new this.template(i,e,this,n)},_.makePartials=function(t){var e,n={subs:{},partials:t.partials,name:t.name};for(e in n.partials)n.partials[e]=this.makePartials(n.partials[e]);for(e in t.subs)n.subs[e]=new Function("c","p","t","i",t.subs[e]);return n},_.codegen={"#":function(t,e){e.code+="if(t.s(t."+s(t.n)+'("'+r(t.n)+'",c,p,1),c,p,0,'+t.i+","+t.end+',"'+t.otag+" "+t.ctag+'")){t.rs(c,p,function(c,p,t){',_.walk(t.nodes,e),e.code+="});c.pop();}"},"^":function(t,e){e.code+="if(!t.s(t."+s(t.n)+'("'+r(t.n)+'",c,p,1),c,p,1,0,0,"")){',_.walk(t.nodes,e),e.code+="};"},">":o,"<":function(t,e){var n={partials:{},code:"",subs:{},inPartial:!0},t=(_.walk(t.nodes,n),e.partials[o(t,e)]);t.subs=n.subs,t.partials=n.partials},$:function(t,e){var n={subs:{},code:"",partials:e.partials,prefix:t.n};_.walk(t.nodes,n),e.subs[t.n]=n.code,e.inPartial||(e.code+='t.sub("'+r(t.n)+'",c,p,i);')},"\n":function(t,e){e.code+=c('"\\n"'+(t.last?"":" + i"))},_v:function(t,e){e.code+="t.b(t.v(t."+s(t.n)+'("'+r(t.n)+'",c,p,0)));'},_t:function(t,e){e.code+=c('"'+r(t.text)+'"')},"{":a,"&":a},_.walk=function(t,e){for(var n,i=0,r=t.length;i<r;i++)(n=_.codegen[t[i].tag])&&n(t[i],e);return e},_.parse=function(t,e,n){return u(t,0,[],(n=n||{}).sectionTags||[])},_.cache={},_.cacheKey=function(t,e){return[t,!!e.asString,!!e.disableLambda,e.delimiters,!!e.modelGet].join("||")},_.compile=function(t,e){var n=_.cacheKey(t,e=e||{}),i=this.cache[n];if(i){var r,s=i.partials;for(r in s)delete s[r].instance;return i}return i=this.generate(this.parse(this.scan(t,e.delimiters),t,e),t,e),this.cache[n]=i}},function(t,e,n){var i,r,s,o,a,u,l;function h(t,e,n){var i;return e&&"object"==typeof e&&(void 0!==e[t]?i=e[t]:n&&e.get&&"function"==typeof e.get&&(i=e.get(t))),i}function c(t){return String(null==t?"":t)}(e=e).Template=function(t,e,n,i){this.r=(t=t||{}).code||this.r,this.c=n,this.options=i||{},this.text=e||"",this.partials=t.partials||{},this.subs=t.subs||{},this.buf=""},e.Template.prototype={r:function(t,e,n){return""},v:function(t){return t=c(t),u.test(t)?t.replace(i,"&amp;").replace(r,"&lt;").replace(s,"&gt;").replace(o,"&#39;").replace(a,"&quot;"):t},t:c,render:function(t,e,n){return this.ri([t],e||{},n)},ri:function(t,e,n){return this.r(t,e,n)},ep:function(t,e){var n=this.partials[t],i=e[n.name];if(n.instance&&n.base==i)return n.instance;if("string"==typeof i){if(!this.c)throw new Error("No compiler available.");i=this.c.compile(i,this.options)}if(!i)return null;if(this.partials[t].base=i,n.subs){for(key in e.stackText||(e.stackText={}),n.subs)e.stackText[key]||(e.stackText[key]=void 0!==this.activeSub&&e.stackText[this.activeSub]?e.stackText[this.activeSub]:this.text);i=function(t,e,n,i,r,s){function o(){}function a(){}a.prototype=(o.prototype=t).subs;var u,c=new o;for(u in c.subs=new a,c.subsText={},c.buf="",i=i||{},c.stackSubs=i,c.subsText=s,e)i[u]||(i[u]=e[u]);for(u in i)c.subs[u]=i[u];for(u in r=r||{},c.stackPartials=r,n)r[u]||(r[u]=n[u]);for(u in r)c.partials[u]=r[u];return c}(i,n.subs,n.partials,this.stackSubs,this.stackPartials,e.stackText)}return this.partials[t].instance=i},rp:function(t,e,n,i){t=this.ep(t,n);return t?t.ri(e,n,i):""},rs:function(t,e,n){var i=t[t.length-1];if(l(i))for(var r=0;r<i.length;r++)t.push(i[r]),n(t,e,this),t.pop();else n(t,e,this)},s:function(t,e,n,i,r,s,o){return(!l(t)||0!==t.length)&&(n=!!(t="function"==typeof t?this.ms(t,e,n,i,r,s,o):t),!i&&n&&e&&e.push("object"==typeof t?t:e[e.length-1]),n)},d:function(t,e,n,i){var r,s=t.split("."),o=this.f(s[0],e,n,i),a=this.options.modelGet,u=null;if("."===t&&l(e[e.length-2]))o=e[e.length-1];else for(var c=1;c<s.length;c++)o=void 0!==(r=h(s[c],o,a))?(u=o,r):"";return!(i&&!o)&&(i||"function"!=typeof o||(e.push(u),o=this.mv(o,e,n),e.pop()),o)},f:function(t,e,n,i){for(var r=!1,s=!1,o=this.options.modelGet,a=e.length-1;0<=a;a--)if(void 0!==(r=h(t,e[a],o))){s=!0;break}return s?i||"function"!=typeof r?r:this.mv(r,e,n):!i&&""},ls:function(t,e,n,i,r){var s=this.options.delimiters;return this.options.delimiters=r,this.b(this.ct(c(t.call(e,i)),e,n)),this.options.delimiters=s,!1},ct:function(t,e,n){if(this.options.disableLambda)throw new Error("Lambda features disabled.");return this.c.compile(t,this.options).render(e,n)},b:function(t){this.buf+=t},fl:function(){var t=this.buf;return this.buf="",t},ms:function(t,e,n,i,r,s,o){e=e[e.length-1],t=t.call(e);return"function"==typeof t?!!i||(i=this.activeSub&&this.subsText&&this.subsText[this.activeSub]?this.subsText[this.activeSub]:this.text,this.ls(t,e,n,i.substring(r,s),o)):t},mv:function(t,e,n){e=e[e.length-1],t=t.call(e);return"function"==typeof t?this.ct(c(t.call(e)),e,n):t},sub:function(t,e,n,i){var r=this.subs[t];r&&(this.activeSub=t,r(e,n,this,i),this.activeSub=!1)}},i=/&/g,r=/</g,s=/>/g,o=/\'/g,a=/\"/g,u=/[&<>\"\']/,l=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)}},function(t,e,n){"use strict";var i=n(30),n=n(41);t.exports=n(i,"(lite) ")},function(t,e,_){t.exports=o;var x=_(5),n=_(31),i=_(32),r=_(38),s=Object({NODE_ENV:"production"}).RESET_APP_DATA_TIMER&&parseInt(Object({NODE_ENV:"production"}).RESET_APP_DATA_TIMER,10)||12e4;function o(e,t,n){var i=_(8)("algoliasearch"),r=_(3),s=_(6),o=_(7),a="Usage: algoliasearch(applicationID, apiKey, opts)";if(!0!==n._allowEmptyCredentials&&!e)throw new x.AlgoliaSearchError("Please provide an application ID. "+a);if(!0!==n._allowEmptyCredentials&&!t)throw new x.AlgoliaSearchError("Please provide an API key. "+a);this.applicationID=e,this.apiKey=t,this.hosts={read:[],write:[]},this._timeouts=(n=n||{}).timeouts||{connect:1e3,read:2e3,write:3e4},n.timeout&&(this._timeouts.connect=this._timeouts.read=this._timeouts.write=n.timeout);a=n.protocol||"https:";if(/:$/.test(a)||(a+=":"),"http:"!==a&&"https:"!==a)throw new x.AlgoliaSearchError("protocol must be `http:` or `https:` 
3(was `"+n.protocol+"`)");this._checkAppIdData(),n.hosts?s(n.hosts)?(this.hosts.read=r(n.hosts),this.hosts.write=r(n.hosts)):(this.hosts.read=r(n.hosts.read),this.hosts.write=r(n.hosts.write)):(t=o(this._shuffleResult,function(t){return e+"-"+t+".algolianet.com"}),s=(!1===n.dsn?"":"-dsn")+".algolia.net",this.hosts.read=[this.applicationID+s].concat(t),this.hosts.write=[this.applicationID+".algolia.net"].concat(t)),this.hosts.read=o(this.hosts.read,u(a)),this.hosts.write=o(this.hosts.write,u(a)),this.extraHeaders={},this.cache=n._cache||{},this._ua=n._ua,this._useCache=!(void 0!==n._useCache&&!n._cache)||n._useCache,this._useRequestCache=this._useCache&&n._useRequestCache,this._useFallback=void 0===n.useFallback||n.useFallback,this._setTimeout=n._setTimeout,i("init done, %j",this)}function u(e){return function(t){return e+"//"+t.toLowerCase()}}function S(t){var e;return void 0===Array.prototype.toJSON?JSON.stringify(t):(e=Array.prototype.toJSON,delete Array.prototype.toJSON,t=JSON.stringify(t),Array.prototype.toJSON=e,t)}function C(t){var e,n,i={};for(e in t)Object.prototype.hasOwnProperty.call(t,e)&&(n="x-algolia-api-key"===e||"x-algolia-application-id"===e?"**hidden for security purposes**":t[e],i[e]=n);return i}o.prototype.initIndex=function(t){return new i(this,t)},o.prototype.setExtraHeader=function(t,e){this.extraHeaders[t.toLowerCase()]=e},o.prototype.getExtraHeader=function(t){return this.extraHeaders[t.toLowerCase()]},o.prototype.unsetExtraHeader=function(t){delete this.extraHeaders[t.toLowerCase()]},o.prototype.addAlgoliaAgent=function(t){-1===this._ua.indexOf(";"+t)&&(this._ua+=";"+t)},o.prototype._jsonRequest=function(i){this._checkAppIdData();var u,c,t,l=_(8)("algoliasearch:"+i.url),h=i.additionalUA||"",p=i.cache,d=this,f=0,g=!1,m=d._useFallback&&d._request.fallback&&i.fallback,y=500<this.apiKey.length&&void 0!==i.body&&(void 0!==i.body.params||void 0!==i.body.requests)?(i.body.apiKey=this.apiKey,this._computeRequestHeaders({additionalUA:h,withApiKey:!1,headers:i.headers})):this._computeRequestHeaders({additionalUA:h,headers:i.headers}),v=(void 0!==i.body&&(u=S(i.body)),l("request start"),[]);function b(n,r){d._checkAppIdData();var s,t,e,o=new Date;return d._useCache&&!d._useRequestCache&&(c=i.url),d._useCache&&!d._useRequestCache&&u&&(c+="_body_"+r.body),w(!d._useRequestCache,p,c)?(l("serving response from cache"),t=p[c],d._promise.resolve({body:JSON.parse(t),responseText:t})):f>=d.hosts[i.hostType].length?!m||g?(l("could not get any response"),d._promise.reject(new x.AlgoliaSearchError("Cannot connect to the AlgoliaSearch API. Send an email to [email protected] to report and resolve the issue. Application id was: "+d.applicationID,{debugData:v}))):(l("switching to fallback"),f=0,r.method=i.fallback.method,r.url=i.fallback.url,r.jsonBody=i.fallback.body,r.jsonBody&&(r.body=S(r.jsonBody)),y=d._computeRequestHeaders({additionalUA:h,headers:i.headers}),r.timeouts=d._getTimeoutsForRequest(i.hostType),d._setHostIndexByType(0,i.hostType),g=!0,b(d._request.fallback,r)):(t=(s=d._getHostByType(i.hostType))+r.url,e={body:r.body,jsonBody:r.jsonBody,method:r.method,headers:y,timeouts:r.timeouts,debug:l,forceAuthHeaders:r.forceAuthHeaders},l("method: %s, url: %s, headers: %j, timeouts: %d",e.method,t,e.headers,e.timeouts),n===d._request.fallback&&l("using fallback"),n.call(d,t,e).then(function(t){var e=t&&t.body&&t.body.message&&t.body.status||t.statusCode||t&&t.body&&200,n=(l("received response: statusCode: %s, computed statusCode: %d, headers: %j",t.statusCode,e,t.headers),2===Math.floor(e/100)),i=new Date;if(v.push({currentHost:s,headers:C(y),content:u||null,contentLength:void 0!==u?u.length:null,method:r.method,timeouts:r.timeouts,url:r.url,startTime:o,endTime:i,duration:i-o,statusCode:e}),n)return d._useCache&&!d._useRequestCache&&p&&(p[c]=t.responseText),{responseText:t.responseText,body:t.body};if(4!==Math.floor(e/100))return f+=1,a();l("unrecoverable error");i=new x.AlgoliaSearchError(t.body&&t.body.message,{debugData:v,statusCode:e});return d._promise.reject(i)},function(t){l("error: %s, stack: %s",t.message,t.stack);var e=new Date;v.push({currentHost:s,headers:C(y),content:u||null,contentLength:void 0!==u?u.length:null,method:r.method,timeouts:r.timeouts,url:r.url,startTime:o,endTime:e,duration:e-o}),t instanceof x.AlgoliaSearchError||(t=new x.Unknown(t&&t.message,t));if(f+=1,t instanceof x.Unknown||t instanceof x.UnparsableJSON||f>=d.hosts[i.hostType].length&&(g||!m))return t.debugData=v,d._promise.reject(t);if(t instanceof x.RequestTimeout)return l("retrying request with higher timeout"),d._incrementHostIndex(i.hostType),d._incrementTimeoutMultipler(),r.timeouts=d._getTimeoutsForRequest(i.hostType),b(n,r);return a()}));function a(){return l("retrying request"),d._incrementHostIndex(i.hostType),b(n,r)}}function w(t,e,n){return d._useCache&&t&&e&&void 0!==e[n]}function e(t,e){if(w(d._useRequestCache,p,c)&&t.catch(function(){delete p[c]}),"function"!=typeof i.callback)return t.then(e);t.then(function(t){n(function(){i.callback(null,e(t))},d._setTimeout||setTimeout)},function(t){n(function(){i.callback(t)},d._setTimeout||setTimeout)})}return d._useCache&&d._useRequestCache&&(c=i.url),d._useCache&&d._useRequestCache&&u&&(c+="_body_"+u),w(d._useRequestCache,p,c)?(l("serving request from cache"),e("function"!=typeof(t=p[c]).then?d._promise.resolve({responseText:t}):t,function(t){return JSON.parse(t.responseText)})):(t=b(d._request,{url:i.url,method:i.method,body:u,jsonBody:i.body,timeouts:d._getTimeoutsForRequest(i.hostType),forceAuthHeaders:i.forceAuthHeaders}),d._useCache&&d._useRequestCache&&p&&(p[c]=t),e(t,function(t){return t.body}))},o.prototype._getSearchParams=function(t,e){if(null!=t)for(var n in t)null!==n&&void 0!==t[n]&&t.hasOwnProperty(n)&&(e=(e+=""===e?"":"&")+n+"="+encodeURIComponent("[object Array]"===Object.prototype.toString.call(t[n])?S(t[n]):t[n]));return e},o.prototype._computeRequestHeaders=function(t){var e=_(2),n={"x-algolia-agent":t.additionalUA?this._ua+";"+t.additionalUA:this._ua,"x-algolia-application-id":this.applicationID};return!1!==t.withApiKey&&(n["x-algolia-api-key"]=this.apiKey),this.userToken&&(n["x-algolia-usertoken"]=this.userToken),this.securityTags&&(n["x-algolia-tagfilters"]=this.securityTags),e(this.extraHeaders,function(t,e){n[e]=t}),t.headers&&e(t.headers,function(t,e){n[e]=t}),n},o.prototype.search=function(t,e,n){var i=_(6),r=_(7);if(!i(t))throw new Error("Usage: client.search(arrayOfQueries[, callback])");"function"==typeof e?(n=e,e={}):void 0===e&&(e={});var s=this,i={requests:r(t,function(t){var e="";return void 0!==t.query&&(e+="query="+encodeURIComponent(t.query)),{indexName:t.indexName,params:s._getSearchParams(t.params,e)}})},t=r(i.requests,function(t,e){return e+"="+encodeURIComponent("/1/indexes/"+encodeURIComponent(t.indexName)+"?"+t.params)}).join("&");return void 0!==e.strategy&&(i.strategy=e.strategy),this._jsonRequest({cache:this.cache,method:"POST",url:"/1/indexes/*/queries",body:i,hostType:"read",fallback:{method:"GET",url:"/1/indexes/*",body:{params:t}},callback:n})},o.prototype.searchForFacetValues=function(t){var s,e=_(6),n=_(7),o="Usage: client.searchForFacetValues([{indexName, params: {facetName, facetQuery, ...params}}, ...queries])";if(e(t))return(s=this)._promise.all(n(t,function(t){var e,n,i,r;if(t&&void 0!==t.indexName&&void 0!==t.params.facetName&&void 0!==t.params.facetQuery)return r=_(3),i=_(14),e=t.indexName,n=(t=t.params).facetName,i=i(r(t),function(t){return"facetName"===t}),r=s._getSearchParams(i,""),s._jsonRequest({cache:s.cache,method:"POST",url:"/1/indexes/"+encodeURIComponent(e)+"/facets/"+encodeURIComponent(n)+"/query",hostType:"read",body:{params:r}});throw new Error(o)}));throw new Error(o)},o.prototype.setSecurityTags=function(t){if("[object Array]"===Object.prototype.toString.call(t)){for(var e=[],n=0;n<t.length;++n)if("[object Array]"===Object.prototype.toString.call(t[n])){for(var i=[],r=0;r<t[n].length;++r)i.push(t[n][r]);e.push("("+i.join(",")+")")}else e.push(t[n]);t=e.join(",")}this.securityTags=t},o.prototype.setUserToken=function(t){this.userToken=t},o.prototype.clearCache=function(){this.cache={}},o.prototype.setRequestTimeout=function(t){t&&(this._timeouts.connect=this._timeouts.read=this._timeouts.write=t)},o.prototype.setTimeouts=function(t){this._timeouts=t},o.prototype.getTimeouts=function(){return this._timeouts},o.prototype._getAppIdData=function(){var t=r.get(this.applicationID);return null!==t&&this._cacheAppIdData(t),t}
3,o.prototype._setAppIdData=function(t){return t.lastChange=(new Date).getTime(),this._cacheAppIdData(t),r.set(this.applicationID,t)},o.prototype._checkAppIdData=function(){var t=this._getAppIdData(),e=(new Date).getTime();return null===t||e-t.lastChange>s?this._resetInitialAppIdData(t):t},o.prototype._resetInitialAppIdData=function(t){t=t||{};return t.hostIndexes={read:0,write:0},t.timeoutMultiplier=1,t.shuffleResult=t.shuffleResult||function(t){var e,n,i=t.length;for(;0!==i;)n=Math.floor(Math.random()*i),e=t[--i],t[i]=t[n],t[n]=e;return t}([1,2,3]),this._setAppIdData(t)},o.prototype._cacheAppIdData=function(t){this._hostIndexes=t.hostIndexes,this._timeoutMultiplier=t.timeoutMultiplier,this._shuffleResult=t.shuffleResult},o.prototype._partialAppIdDataUpdate=function(t){var e=_(2),n=this._getAppIdData();return e(t,function(t,e){n[e]=t}),this._setAppIdData(n)},o.prototype._getHostByType=function(t){return this.hosts[t][this._getHostIndexByType(t)]},o.prototype._getTimeoutMultiplier=function(){return this._timeoutMultiplier},o.prototype._getHostIndexByType=function(t){return this._hostIndexes[t]},o.prototype._setHostIndexByType=function(t,e){var n=_(3)(this._hostIndexes);return n[e]=t,this._partialAppIdDataUpdate({hostIndexes:n}),t},o.prototype._incrementHostIndex=function(t){return this._setHostIndexByType((this._getHostIndexByType(t)+1)%this.hosts[t].length,t)},o.prototype._incrementTimeoutMultipler=function(){var t=Math.max(this._timeoutMultiplier+1,4);return this._partialAppIdDataUpdate({timeoutMultiplier:t})},o.prototype._getTimeoutsForRequest=function(t){return{connect:this._timeouts.connect*this._timeoutMultiplier,complete:this._timeouts[t]*this._timeoutMultiplier}}},function(t,e){t.exports=function(t,e){e(t,0)}},function(t,e,o){var n=o(13),i=o(33),r=o(34);function s(t,e){this.indexName=e,this.as=t,this.typeAheadArgs=null,this.typeAheadValueOption=null,this.cache={}}(t.exports=s).prototype.clearCache=function(){this.cache={}},s.prototype.search=n("query"),s.prototype.similarSearch=n("similarQuery"),s.prototype.browse=function(t,e,n){var i,r,s=o(35),s=(0===arguments.length||1===arguments.length&&"function"==typeof arguments[0]?(n=arguments[i=0],t=void 0):"number"==typeof arguments[0]?(i=arguments[0],"number"==typeof arguments[1]?r=arguments[1]:"function"==typeof arguments[1]&&(n=arguments[1],r=void 0),e=t=void 0):"object"==typeof arguments[0]?("function"==typeof arguments[1]&&(n=arguments[1]),e=arguments[0],t=void 0):"string"==typeof arguments[0]&&"function"==typeof arguments[1]&&(n=arguments[1],e=void 0),e=s({},e||{},{page:i,hitsPerPage:r,query:t}),this.as._getSearchParams(e,""));return this.as._jsonRequest({method:"POST",url:"/1/indexes/"+encodeURIComponent(this.indexName)+"/browse",body:{params:s},hostType:"read",callback:n})},s.prototype.browseFrom=function(t,e){return this.as._jsonRequest({method:"POST",url:"/1/indexes/"+encodeURIComponent(this.indexName)+"/browse",body:{cursor:t},hostType:"read",callback:e})},s.prototype.searchForFacetValues=function(t,e){var n=o(3),i=o(14);if(void 0===t.facetName||void 0===t.facetQuery)throw new Error("Usage: index.searchForFacetValues({facetName, facetQuery, ...params}[, callback])");var r=t.facetName,i=i(n(t),function(t){return"facetName"===t}),n=this.as._getSearchParams(i,"");return this.as._jsonRequest({method:"POST",url:"/1/indexes/"+encodeURIComponent(this.indexName)+"/facets/"+encodeURIComponent(r)+"/query",hostType:"read",body:{params:n},callback:e})},s.prototype.searchFacet=i(function(t,e){return this.searchForFacetValues(t,e)},r("index.searchFacet(params[, callback])","index.searchForFacetValues(params[, callback])")),s.prototype._search=function(t,e,n,i){return this.as._jsonRequest({cache:this.cache,method:"POST",url:e||"/1/indexes/"+encodeURIComponent(this.indexName)+"/query",body:{params:t},hostType:"read",fallback:{method:"GET",url:"/1/indexes/"+encodeURIComponent(this.indexName),body:{params:t}},callback:n,additionalUA:i})},s.prototype.getObject=function(t,e,n){1!==arguments.length&&"function"!=typeof e||(n=e,e=void 0);var i="";if(void 0!==e)for(var i="?attributes=",r=0;r<e.length;++r)0!==r&&(i+=","),i+=e[r];return this.as._jsonRequest({method:"GET",url:"/1/indexes/"+encodeURIComponent(this.indexName)+"/"+encodeURIComponent(t)+i,hostType:"read",callback:n})},s.prototype.getObjects=function(t,e,n){var i,r=o(6),s=o(7);if(r(t))return i=this,1!==arguments.length&&"function"!=typeof e||(n=e,e=void 0),r={requests:s(t,function(t){t={indexName:i.indexName,objectID:t};return e&&(t.attributesToRetrieve=e.join(",")),t})},this.as._jsonRequest({method:"POST",url:"/1/indexes/*/objects",hostType:"read",body:r,callback:n});throw new Error("Usage: index.getObjects(arrayOfObjectIDs[, callback])")},s.prototype.as=null,s.prototype.indexName=null,s.prototype.typeAheadArgs=null,
3s.prototype.typeAheadValueOption=null},function(t,e){t.exports=function(t,e){var n=!1;return function(){return n||(console.warn(e),n=!0),t.apply(this,arguments)}}},function(t,e){t.exports=function(t,e){var n=t.toLowerCase().replace(/[\.\(\)]/g,"");return"algoliasearch: `"+t+"` was replaced by `"+e+"`. Please see https://github.com/algolia/algoliasearch-client-javascript/wiki/Deprecated#"+n}},function(t,e,n){var r=n(2);t.exports=function n(i){var t=Array.prototype.slice.call(arguments);return r(t,function(t){for(var e in t)t.hasOwnProperty(e)&&("object"==typeof i[e]&&"object"==typeof t[e]?i[e]=n({},i[e],t[e]):void 0!==t[e]&&(i[e]=t[e]))}),i}},function(t,e,n){"use strict";function i(t){var e=null!==t&&"object"==typeof t,n="[object Function]"===d.call(t),i=f(t),r=e&&"[object String]"===d.call(t),s=[];if(!e&&!n&&!i)throw new TypeError("Object.keys called on a non-object");var o=m&&n;if(r&&0<t.length&&!p.call(t,0))for(var a=0;a<t.length;++a)s.push(String(a));if(i&&0<t.length)for(var u=0;u<t.length;++u)s.push(String(u));else for(var c in t)o&&"prototype"===c||!p.call(t,c)||s.push(String(c));if(g)for(var l=function(t){if("undefined"==typeof window||!b)return v(t);try{return v(t)}catch(t){return!1}}(t),h=0;h<y.length;++h)l&&"constructor"===y[h]||!p.call(t,y[h])||s.push(y[h]);return s}var p=Object.prototype.hasOwnProperty,d=Object.prototype.toString,r=Array.prototype.slice,f=n(37),n=Object.prototype.propertyIsEnumerable,g=!n.call({toString:null},"toString"),m=n.call(function(){},"prototype"),y=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],v=function(t){var e=t.constructor;return e&&e.prototype===t},s={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},b=function(){if("undefined"!=typeof window)for(var t in window)try{if(!s["$"+t]&&p.call(window,t)&&null!==window[t]&&"object"==typeof window[t])try{v(window[t])}catch(t){return!0}}catch(t){return!0}return!1}();i.shim=function(){var e;return Object.keys?function(){return 2===(Object.keys(arguments)||"").length}(1,2)||(e=Object.keys,Object.keys=function(t){return f(t)?e(r.call(t)):e(t)}):Object.keys=i,Object.keys||i},t.exports=i},function(t,e,n){"use strict";var i=Object.prototype.toString;t.exports=function(t){var e=i.call(t);return"[object Arguments]"===e||"[object Array]"!==e&&null!==t&&"object"==typeof t&&"number"==typeof t.length&&0<=t.length&&"[object Function]"===i.call(t.callee)}},function(c,t,l){!function(i){var n,r=l(8)("algoliasearch:src/hostIndexState.js"),s="algoliasearch-client-js",o={state:{},set:function(t,e){return this.state[t]=e,this.state[t]},get:function(t){return this.state[t]||null}},t={set:function(e,t){o.set(e,t);try{var n=JSON.parse(i.localStorage[s]);return n[e]=t,i.localStorage[s]=JSON.stringify(n),n[e]}catch(t){return a(e,t)}},get:function(e){try{return JSON.parse(i.localStorage[s])[e]||null}catch(t){return a(e,t)}}};function a(t,e){r("localStorage failed with",e);try{i.localStorage.removeItem(s)}catch(t){}return(n=o).get(t)}function e(t,e){return 1===arguments.length?n.get(t):n.set(t,e)}function u(){try{return"localStorage"in i&&null!==i.localStorage?(i.localStorage[s]||i.localStorage.setItem(s,JSON.stringify({})),!0):!1}catch(t){return!1}}n=u()?t:o,c.exports={get:e,set:e,supportsLocalStorage:u}}.call(t,l(4))},function(t,a,e){var u;function n(t){function o(){if(o.enabled){for(var i=o,t=+new Date,e=t-(u||t),r=(i.diff=e,i.prev=u,i.curr=t,u=t,new Array(arguments.length)),n=0;n<r.length;n++)r[n]=arguments[n];r[0]=a.coerce(r[0]),"string"!=typeof r[0]&&r.unshift("%O");var s=0;r[0]=r[0].replace(/%([a-zA-Z%])/g,function(t,e){var n;return"%%"!==t&&(s++,"function"==typeof(e=a.formatters[e]))&&(n=r[s],t=e.call(i,n),r.splice(s,1),s--),t}),a.formatArgs.call(i,r),(o.log||a.log||console.log.bind(console)).apply(i,r)}}return o.namespace=t,o.enabled=a.enabled(t),o.useColors=a.useColors(),o.color=function(t){var e,n=0;for(e in t)n=(n<<5)-n+t.charCodeAt(e),n|=0;return a.colors[Math.abs(n)%a.colors.length]}(t),"function"==typeof a.init&&a.init(o),o}(a=t.exports=n.debug=n.default=n).coerce=function(t){return t instanceof Error?t.stack||t.message:t},a.disable=function(){a.enable("")},a.enable=function(t){a.save(t),a.names=[],a.skips=[];for(var e=("string"==typeof t?t:"").split(/[\s,]+/),n=e.length,i=0;i<n;i++)e[i]&&("-"===(t=e[i].replace(/\*/g,".*?"))[0]?a.skips.push(new RegExp("^"+t.substr(1)+"$")):a.names.push(new RegExp("^"+t+"$")))},a.enabled=function(t){var e,n;for(e=0,n=a.skips.length;e<n;e++)if(a.skips[e].test(t))return!1;for(e=0,n=a.names.length;e<n;e++)if(a.names[e].test(t))return!0;return!1},a.humanize=e(40),a.names=[],a.skips=[],a.formatters={}},function(t,e){var r=36e5,s=864e5;function o(t,e,n){if(!(t<e))return t<1.5*e?Math.floor(t/e)+" "+n:Math.ceil(t/e)+" "+n+"s"}t.exports=function(t,e){e=e||{};var n=typeof t;if(!("string"==n&&0<t.length)){if("number"==n&&!1===isNaN(t))if(e.long)return o(n=t,s,"day")||o(n,r,"hour")||o(n,6e4,"minute")||o(n,1e3,"second")||n+" ms";else{e=t;return s<=e?Math.round(e/s)+"d":r<=e?Math.round(e/r)+"h":6e4<=e?Math.round(e/6e4)+"m":1e3<=e?Math.round(e/1e3)+"s":e+"ms"}throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))}n=t;if(!(100<(n=String(n)).length)){n=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(n);if(n){var i=parseFloat(n[1]);switch((n[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*i;case"days":case"day":case"d":return i*s;case"hours":case"hour":case"hrs":case"hr":case"h":return i*r;case"minutes":case"minute":case"mins":case"min":case"m":return 6e4*i;case"seconds":case"second":case"secs":case"sec":case"s":return 1e3*i;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return i;default:return}}}}},function(t,e,a){"use strict";var u=a(42),f=u.Promise||a(43).Promise;t.exports=function(t,e){var n=a(12),h=a(5),p=a(44),r=a(46),i=a(47);function s(t,e,n){return(n=a(3)(n||{}))._ua=n._ua||s.ua,new o(t,e,n)}e=e||"",s.version=a(48),s.ua="Algolia for vanilla JavaScript "+e+s.version,s.initPlaces=i(s),u.__algolia={debug:a(8),algoliasearch:s};var d={hasXMLHttpRequest:"XMLHttpRequest"in u,hasXDomainRequest:"XDomainRequest"in u};function o(){t.apply(this,arguments)}return d.hasXMLHttpRequest&&(d.cors="withCredentials"in new XMLHttpRequest),n(o,t),(o.prototype._request=function(c,l){return new f(function(t,n){var e,i,r,s,o;function a(){r=!0,i.abort(),n(new h.RequestTimeout)}function u(){s=!0,clearTimeout(o),o=setTimeout(a,l.timeouts.complete)}d.cors||d.hasXDomainRequest?(c=p(c,l.headers),e=l.body,i=new(d.cors?XMLHttpRequest:XDomainRequest),s=!1,o=setTimeout(a,l.timeouts.connect),i.onprogress=function(){s||u()},"onreadystatechange"in i&&(i.onreadystatechange=function(){!s&&1<i.readyState&&u()}),i.onload=function(){if(!r){var e;clearTimeout(o);try{e={body:JSON.parse(i.responseText),responseText:i.responseText,statusCode:i.status,headers:i.getAllResponseHeaders&&i.getAllResponseHeaders()||{}}}catch(t){e=new h.UnparsableJSON({more:i.responseText})}(e instanceof h.UnparsableJSON?n:t)(e)}},i.onerror=function(t){r||(clearTimeout(o),n(new h.Network({more:t})))},i instanceof XMLHttpRequest?(i.open(l.method,c,!0),l.forceAuthHeaders&&(i.setRequestHeader("x-algolia-application-id",l.headers["x-algolia-application-id"]),i.setRequestHeader("x-algolia-api-key",l.headers["x-algolia-api-key"]))):i.open(l.method,c),d.cors&&(e&&("POST"===l.method?i.setRequestHeader("content-type","application/x-www-form-urlencoded"):i.setRequestHeader("content-type","application/json")),i.setRequestHeader("accept","application/json")),e?i.send(e):i.send()):n(new h.Network("CORS not supported"))})}).fallback=function(t,e){return t=p(t,e.headers),new f(function(n,i){r(t,e,function(t,e){t?i(t):n(e)})})},o.prototype._promise={reject:function(t){return f.reject(t)},resolve:function(t){return f.resolve(t)},delay:function(e){return new f(function(t){setTimeout(t,e)})},all:function(t){return f.all(t)}},s}},function(e,t,n){!function(t){t="undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:{};e.exports=t}.call(t,n(4))},function(e,t,n){!function(U,V){var t;t=function(){"use strict";function c(t){return"function"==typeof t}var n=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)},i=0,e=void 0,r=void 0,o=function(t,e){l[i]=t,l[i+1]=e,2===(i+=2)&&(r?r(h):L())};var t="undefined"!=typeof window?window:void 0,s=t||{},s=s.MutationObserver||s.WebKitMutationObserver,a="undefined"==typeof self&&void 0!==U&&"[object process]"==={}.toString.call(U),P="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel;function u(){var t=setTimeout;return function(){return t(h,1)}}var l=new Array(1e3);function h(){for(var t=0;t<i;t+=2)(0,l[t])(l[t+1]),l[t]=void 0,l[t+1]=void 0;i=0}function q(){try{var t=Function("return this")().require("vertx");return void 0!==(e=t.runOnLoop||t.runOnContext)?function(){e(h)}:u()}catch(t){return u()}}var p,d,f,L=void 0;function g(t,e){var n,i=this,r=new this.constructor(v),s=(void 0===r[y]&&$(r),i._state);return s?(n=arguments[s-1],o(function(){return N(s,r,n,i._result)})):E(i,r,t,e),r}function m(t){var e;return t&&"object"==typeof t&&t.constructor===this?t:(A(e=new this(v),t),e)}var L=a?function(){return U.nextTick(h)}:s?(d=0,a=new s(h),f=document.createTextNode(""),a.observe(f,{characterData:!0}
3),function(){f.data=d=++d%2}):P?((p=new MessageChannel).port1.onmessage=h,function(){return p.port2.postMessage(0)}):(void 0===t?q:u)(),y=Math.random().toString(36).substring(2);function v(){}var b=void 0,w=1,_=2,x={error:null};function S(t){try{return t.then}catch(t){return x.error=t,x}}function M(t,i,r){o(function(e){var n=!1,t=function(t,e,n,i){try{t.call(e,n,i)}catch(t){return t}}(r,i,function(t){n||(n=!0,(i!==t?A:T)(e,t))},function(t){n||(n=!0,k(e,t))},e._label);!n&&t&&(n=!0,k(e,t))},t)}function C(t,e,n){var i,r;e.constructor===t.constructor&&n===g&&e.constructor.resolve===m?(i=t,(r=e)._state===w?T(i,r._result):r._state===_?k(i,r._result):E(r,void 0,function(t){return A(i,t)},function(t){return k(i,t)})):n===x?(k(t,x.error),x.error=null):void 0!==n&&c(n)?M(t,e,n):T(t,e)}function A(t,e){var n;t===e?k(t,new TypeError("You cannot resolve a promise with itself")):(n=typeof e,null===e||"object"!=n&&"function"!=n?T(t,e):C(t,e,S(e)))}function H(t){t._onerror&&t._onerror(t._result),O(t)}function T(t,e){t._state===b&&(t._result=e,t._state=w,0!==t._subscribers.length)&&o(O,t)}function k(t,e){t._state===b&&(t._state=_,t._result=e,o(H,t))}function E(t,e,n,i){var r=t._subscribers,s=r.length;t._onerror=null,r[s]=e,r[s+w]=n,r[s+_]=i,0===s&&t._state&&o(O,t)}function O(t){var e=t._subscribers,n=t._state;if(0!==e.length){for(var i,r=void 0,s=t._result,o=0;o<e.length;o+=3)i=e[o],r=e[o+n],i?N(n,i,r,s):r(s);t._subscribers.length=0}}function N(t,e,n,i){var r=c(n),s=void 0,o=void 0,a=void 0,u=void 0;if(r){if((s=function(t,e){try{return t(e)}catch(t){return x.error=t,x}}(n,i))===x?(u=!0,o=s.error,s.error=null):a=!0,e===s)return void k(e,new TypeError("A promises callback cannot return that same promise."))}else s=i,a=!0;e._state===b&&(r&&a?A(e,s):u?k(e,o):t===w?T(e,s):t===_&&k(e,s))}var I=0;function $(t){t[y]=I++,t._state=void 0,t._result=void 0,t._subscribers=[]}j.prototype._enumerate=function(t){for(var e=0;this._state===b&&e<t.length;e++)this._eachEntry(t[e],e)},j.prototype._eachEntry=function(e,t){var n,i,r=this._instanceConstructor,s=r.resolve;s===m?(n=S(e))===g&&e._state!==b?this._settledAt(e._state,t,e._result):"function"!=typeof n?(this._remaining--,this._result[t]=e):r===R?(C(i=new r(v),e,n),this._willSettleAt(i,t)):this._willSettleAt(new r(function(t){return t(e)}),t):this._willSettleAt(s(e),t)},j.prototype._settledAt=function(t,e,n){var i=this.promise;i._state===b&&(this._remaining--,t===_?k(i,n):this._result[e]=n),0===this._remaining&&T(i,this._result)},j.prototype._willSettleAt=function(t,e){var n=this;E(t,void 0,function(t){return n._settledAt(w,e,t)},function(t){return n._settledAt(_,e,t)})};var F=j;function j(t,e){this._instanceConstructor=t,this.promise=new t(v),this.promise[y]||$(this.promise),n(e)?(this.length=e.length,this._remaining=e.length,this._result=new Array(this.length),0!==this.length&&(this.length=this.length||0,this._enumerate(e),0!==this._remaining)||T(this.promise,this._result)):k(this.promise,new Error("Array Methods must be provided an Array"))}D.prototype.catch=function(t){return this.then(null,t)},D.prototype.finally=function(e){var n=this.constructor;return this.then(function(t){return n.resolve(e()).then(function(){return t})},function(t){return n.resolve(e()).then(function(){throw t})})};var R=D;function D(t){if(this[y]=I++,this._result=this._state=void 0,this._subscribers=[],v!==t){if("function"!=typeof t)throw new TypeError("You must pass a resolver function as the first argument to the promise constructor");if(!(this instanceof D))throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object c
3onstructor cannot be called as a function.");var e=this;try{t(function(t){A(e,t)},function(t){k(e,t)})}catch(t){k(e,t)}}}return R.prototype.then=g,R.all=function(t){return new F(this,t).promise},R.race=function(r){var s=this;return n(r)?new s(function(t,e){for(var n=r.length,i=0;i<n;i++)s.resolve(r[i]).then(t,e)}):new s(function(t,e){return e(new TypeError("You must pass an array to race."))})},R.resolve=m,R.reject=function(t){var e=new this(v);return k(e,t),e},R._setScheduler=function(t){r=t},R._setAsap=function(t){o=t},R._asap=o,R.polyfill=function(){var t=void 0;if(void 0!==V)t=V;else if("undefined"!=typeof self)t=self;else try{t=Function("return this")()}catch(t){throw new Error("polyfill failed because global object is unavailable in this environment")}var e=t.Promise;if(e){var n=null;try{n=Object.prototype.toString.call(e.resolve())}catch(t){}if("[object Promise]"===n&&!e.cast)return}t.Promise=R},R.Promise=R},e.exports=t()}.call(t,n(9),n(4))},function(t,e,n){"use strict";t.exports=function(t,e){/\?/.test(t)?t+="&":t+="?";return t+i(e)};var i=n(45)},function(t,e,n){"use strict";function s(t){switch(typeof t){case"string":return t;case"boolean":return t?"true":"false";case"number":return isFinite(t)?t:"";default:return""}}t.exports=function(n,i,r,t){return i=i||"&",r=r||"=","object"==typeof(n=null===n?void 0:n)?a(u(n),function(t){var e=encodeURIComponent(s(t))+r;return o(n[t])?a(n[t],function(t){return e+encodeURIComponent(s(t))}).join(i):e+encodeURIComponent(s(n[t]))}).join(i):t?encodeURIComponent(s(t))+r+encodeURIComponent(s(n)):""};var o=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)};function a(t,e){if(t.map)return t.map(e);for(var n=[],i=0;i<t.length;i++)n.push(e(t[i],i));return n}var u=Object.keys||function(t){var e,n=[];for(e in t)Object.prototype.hasOwnProperty.call(t,e)&&n.push(e);return n}},function(t,e,n){"use strict";t.exports=function(t,e,n){var i,r,s,o,a,u,c;function l(){e.debug("JSONP: success"),u||r||(u=!0,i)||(e.debug("JSONP: Fail. Script loaded but did not call the callback"),h(),n(new p.JSONPScriptFail))}function h(){clearTimeout(c),o.onload=null,o.onreadystatechange=null,o.onerror=null,s.removeChild(o)}"GET"!==e.method?n(new Error("Method "+e.method+" "+t+" is not supported by JSONP.")):(e.debug("JSONP: start"),r=i=!1,d+=1,s=document.getElementsByTagName("head")[0],o=document.createElement("script"),a="algoliaJSONP_"+d,u=!1,window[a]=function(t){try{delete window[a],delete window[a+"_loaded"]}catch(t){window[a]=window[a+"_loaded"]=void 0}r?e.debug("JSONP: Late answer, ignoring"):(i=!0,h(),n(null,{body:t,responseText:JSON.stringify(t)}))},t+="&callback="+a,e.jsonBody&&e.jsonBody.params&&(t+="&"+e.jsonBody.params),c=setTimeout(function(){e.debug("JSONP: Script timeout"),r=!0,h(),n(new p.RequestTimeout)},e.timeouts.complete),o.onreadystatechange=function(){"loaded"!==this.readyState&&"complete"!==this.readyState||l()},o.onload=l,o.onerror=function(){e.debug("JSONP: Script error"),u||r||(h(),n(new p.JSONPScriptError))},o.async=!0,o.defer=!0,o.src=t,s.appendChild(o))};var p=n(5),d=0},function(t,e,s){t.exports=function(r){return function(t,e,n){var i=s(3);(n=n&&i(n)||{}).hosts=n.hosts||["places-dsn.algolia.net","places-1.algolianet.com","places-2.algolianet.com","places-3.algolianet.com"],0!==arguments.length&&"object"!=typeof t&&void 0!==t||(n._allowEmptyCredentials=!(e=t=""));i=r(t,e,n).initIndex("places");return i.search=o("query","/1/places/query"),i.getObject=function(t,e){return this.as._jsonRequest({method:"GET",url:"/1/places/"+encodeURIComponent(t),hostType:"read",callback:e})},i}};var o=s(13)},function(t,e,n){"use strict";t.exports="3.30.0"},function(t,e,n){"use strict";t.exports=n(50)},function(t,e,n){"use strict";var a=n(15),i=(n(1).element=a,n(0)),u=(i.isArray=a.isArray,i.isFunction=a.isFunction,i.isObject=a.isPlainObject,i.bind=a.proxy,i.each=function(t,n){a.each(t,function(t,e){return n(e,t)})},i.map=a.map,i.mixin=a.extend,i.Event=a.Event,"aaAutocomplete"),c=n(51),l=n(16);function r(t,r,s,o){s=i.isArray(s)?s:[].slice.call(arguments,2);var e=a(t).each(function(t,e){var n=a(e),i=new l({el:n}),i=o||new c({input:n,eventBus:i,dropdownMenuContainer:r.dropdownMenuContainer,hint:void 0===r.hint||!!r.hint,minLength:r.minLength,autoselect:r.autoselect,autoselectOnBlur:r.autoselectOnBlur,tabAutocomplete:r.tabAutocomplete,openOnFocus:r.openOnFocus,templates:r.templates,debug:r.debug,clearOnSelected:r.clearOnSelected,cssClasse
vendor: 27,721 bytes, line 3
3s:r.cssClasses,datasets:s,keyboardShortcuts:r.keyboardShortcuts,appendTo:r.appendTo,autoWidth:r.autoWidth,ariaLabel:r.ariaLabel||e.getAttribute("aria-label")});n.data(u,i)});return e.autocomplete={},i.each(["open","close","getVal","setVal","destroy","getWrapper"],function(r){e.autocomplete[r]=function(){var n,i=arguments;return e.each(function(t,e){e=a(e).data(u);n=e[r].apply(e,i)}),n}}),e}r.sources=c.sources,r.escapeHighlightedString=i.escapeHighlightedString;var s="autocomplete"in window,o=window.autocomplete;r.noConflict=function(){return s?window.autocomplete=o:delete window.autocomplete,r},t.exports=r},function(t,e,n){"use strict";var s="aaAttrs",o=n(0),a=n(1),r=n(16),i=n(52),u=n(59),c=n(17),l=n(11);function h(t){if((t=t||{}).input||o.error("missing input"),this.isActivated=!1,this.debug=!!t.debug,this.autoselect=!!t.autoselect,this.autoselectOnBlur=!!t.autoselectOnBlur,this.openOnFocus=!!t.openOnFocus,this.minLength=o.isNumber(t.minLength)?t.minLength:1,this.autoWidth=void 0===t.autoWidth||!!t.autoWidth,this.clearOnSelected=!!t.clearOnSelected,this.tabAutocomplete=void 0===t.tabAutocomplete||!!t.tabAutocomplete,t.hint=!!t.hint,t.hint&&t.appendTo)throw new Error("[autocomplete.js] hint and appendTo options can't be used at the same time");this.css=t.css=o.mixin({},l,t.appendTo?l.appendTo:{}),this.cssClasses=t.cssClasses=o.mixin({},l.defaultClasses,t.cssClasses||{}),this.cssClasses.prefix=t.cssClasses.formattedPrefix=o.formatPrefix(this.cssClasses.prefix,this.cssClasses.noPrefix),this.listboxId=t.listboxId=[this.cssClasses.root,"listbox",o.getUniqueId()].join("-");var e=function(t){var e,n,i;e=a.element(t.input),n=a.element(c.wrapper.replace("%ROOT%",t.cssClasses.root)).css(t.css.wrapper),t.appendTo||"block"!==e.css("display")||"table"!==e.parent().css("display")||n.css("display","table-cell");var r=c.dropdown.replace("%PREFIX%",t.cssClasses.prefix).replace("%DROPDOWN_MENU%",t.cssClasses.dropdownMenu);r=a.element(r).css(t.css.dropdown).attr({role:"listbox",id:t.listboxId}),t.templates&&t.templates.dropdownMenu&&r.html(o.templatify(t.templates.dropdownMenu)());(i=e.clone().css(t.css.hint).css(function(t){return{backgroundAttachment:t.css("background-attachment"),backgroundClip:t.css("background-clip"),backgroundColor:t.css("background-color"),backgroundImage:t.css("background-image"),backgroundOrigin:t.css("background-origin"),backgroundPosition:t.css("background-position"),backgroundRepeat:t.css("background-repeat"),backgroundSize:t.css("background-size")}}(e))).val("").addClass(o.className(t.cssClasses.prefix,t.cssClasses.hint,!0)).removeAttr("id name placeholder required").prop("readonly",!0).attr({"aria-hidden":"true",autocomplete:"off",spellcheck:"false",tabindex:-1}),i.removeData&&i.removeData();e.data(s,{"aria-autocomplete":e.attr("aria-autocomplete"),"aria-expanded":e.attr("aria-expanded"),"aria-owns":e.attr("aria-owns"),autocomplete:e.attr("autocomplete"),dir:e.attr("dir"),role:e.attr("role"),spellcheck:e.attr("spellcheck"),style:e.attr("style"),type:e.attr("type")}),e.addClass(o.className(t.cssClasses.prefix,t.cssClasses.input,!0)).attr({autocomplete:"off",spellcheck:!1,role:"combobox","aria-autocomplete":t.datasets&&t.datasets[0]&&t.datasets[0].displayKey?"both":"list","aria-expanded":"false","aria-label":t.ariaLabel,"aria-owns":t.listboxId}).css(t.hint?t.css.input:t.css.inputWithNoHint);try{e.attr("dir")||e.attr("dir","auto")}catch(t){}return(n=t.appendTo?n.appendTo(a.element(t.appendTo).eq(0)).eq(0):e.wrap(n).parent()).prepend(t.hint?i:null).append(r),{wrapper:n,input:e,hint:i,menu:r}}(t),n=(this.$node=e.wrapper,this.$input=e.input),i=e.menu,e=e.hint;t.dropdownMenuContainer&&a.element(t.dropdownMenuContainer).css("position","relative").append(i.css("top","0")),n.on("blur.aa",function(t){var e=document.activeElement;o.isMsie()&&(i[0]===e||i[0].contains(e))&&(t.preventDefault(),t.stopImmediatePropagation(),o.defer(function(){n.focus()}))}),i.on("mousedown.aa",function(t){t.preventDefault()}),this.eventBus=t.eventBus||new r({el:n}),this.dropdown=new h.Dropdown({appendTo:t.appendTo,wrapper:this.$node,menu:i,datasets:t.datasets,templates:t.templates,cssClasses:t.cssClasses,minLength:this.minLength}).onSync("suggestionClicked",this._onSuggestionClicked,this).onSync("cursorMoved",this._onCursorMoved,this).onSync("cursorRemoved",this._onCursorRemoved,this).onSync("opened",this._onOpened,this).onSync("closed",this._onClosed,this).onSync("shown",this._onShown,this).onSync("empty",this._onEmpty,this).onSync("redrawn",this._onRedrawn,this).onAsync("datasetRendered",this._onDatasetRendered,this),this.input=new h.Input({input:n,hint:e}).onSync("focused",this._onFocused,this).onSync("blurred",this._onBlurred,this).onSync("enterKeyed",this._onEnterKeyed,this).onSync("tabKeyed",this._onTabKeyed,this).onSync("escKeyed",this._onEscKeyed,this).onSync("upKeyed",this._onUpKeyed,this).onSync("downKeyed",this._onDownKeyed,this).onSync("leftKeyed",this._onLeftKeyed,this).onSync("rightKeyed",this._onRightKeyed,this).onSync("queryChanged",this._onQueryChanged,this).onSync("whitespaceChanged",this._onWhitespaceChanged,this),this._bindKeyboardShortcuts(t),this._setLanguageDirection()}o.mixin(h.prototype,{_bindKeyboardShortcuts:function(t){var i,r;t.keyboardShortcuts&&(i=this.$input,r=[],o.each(t.keyboardShortcuts,function(t){"string"==typeof t&&(t=t.toUpperCase().charCodeAt(0)),r.push(t)}),a.element(document).keydown(function(t){var e=t.target||t.srcElement,n=e.tagName;e.isContentEditable||"INPUT"===n||"SELECT"===n||"TEXTAREA"===n||(e=t.which||t.keyCode,-1!==r.indexOf(e)&&(i.focus(),t.stopPropagation(),t.preventDefault()))}))},_onSuggestionClicked:function(t,e){(e=this.dropdown.getDatumForSuggestion(e))&&this._select(e,{selectionMethod:"click"})},_onCursorMoved:function(t,e){var n=this.dropdown.getDatumForCursor(),i=this.dropdown.getCurrentCursor().attr("id");this.input.setActiveDescendant(i),n&&(e&&this.input.setInputValue(n.value,!0),this.eventBus.trigger("cursorchanged",n.raw,n.datasetName))},_onCursorRemoved:function(){this.input.resetInputValue(),this._updateHint(),this.eventBus.trigger("cursorremoved")},_onDatasetRendered:function(){this._updateHint(),this.eventBus.trigger("updated")},_onOpened:function(){this._updateHint(),this.input.expand(),this.eventBus.trigger("opened")},_onEmpty:function(){this.eventBus.trigger("empty")},_onRedrawn:function(){this.$node.css("top","0px"),this.$node.css("left","0px");var t=this.$input[0].getBoundingClientRect(),e=(this.autoWidth&&this.$node.css("width",t.width+"px"),this.$node[0].getBoundingClientRect()),n=t.bottom-e.top,n=(this.$node.css("top",n+"px"),t.left-e.left);this.$node.css("left",n+"px"),this.eventBus.trigger("redrawn")},_onShown:function(){this.eventBus.trigger("shown"),this.autoselect&&this.dropdown.cursorTopSuggestion()},_onClosed:function(){this.input.clearHint(),this.input.removeActiveDescendant(),this.input.collapse(),this.eventBus.trigger("closed")},_onFocused:function(){var t;this.isActivated=!0,this.openOnFocus&&((t=this.input.getQuery()).length>=this.minLength?this.dropdown.update(t):this.dropdown.empty(),this.dropdown.open())},_onBlurred:function(){var t=this.dropdown.getDatumForCursor(),e=this.dropdown.getDatumForTopSuggestion(),n={selectionMethod:"blur"};this.debug||(this.autoselectOnBlur&&t?this._select(t,n):this.autoselectOnBlur&&e?this._select(e,n):(this.isActivated=!1,this.dropdown.empty(),this.dropdown.close()))},_onEnterKeyed:function(t,e){var n=this.dropdown.getDatumForCursor(),i=this.dropdown.getDatumForTopSuggestion(),r={selectionMethod:"enterKey"};n?(this._select(n,r),e.preventDefault()):this.autoselect&&i&&(this._select(i,r),e.preventDefault())},_onTabKeyed:function(t,e){var n;this.tabAutocomplete?(n=this.dropdown.getDatumForCursor())?(this._select(n,{selectionMethod:"tabKey"}),e.preventDefault()):this._autocomplete(!0):this.dropdown.close()},_onEscKeyed:function(){this.dropdown.close(),this.input.resetInputValue()},_onUpKeyed:function(){var t=this.input.getQuery();this.dropdown.isEmpty&&t.length>=this.minLength?this.dropdown.update(t):this.dropdown.moveCursorUp(),this.dropdown.open()},_onDownKeyed:function(){var t=this.input.getQuery();this.dropdown.isEmpty&&t.length>=this.minLength?this.dropdown.update(t):this.dropdown.moveCursorDown(),this.dropdown.open()},_onLeftKeyed:function(){"rtl"===this.dir&&this._autocomplete()},_onRightKeyed:function(){"ltr"===this.dir&&this._autocomplete()},_onQueryChanged:function(t,e){this.input.clearHintIfInvalid(),e.length>=this.minLength?this.dropdown.update(e):this.dropdown.empty(),this.dropdown.open(),this._setLanguageDirection()},_onWhitespaceChanged:function(){this._updateHint(),this.dropdown.open()},_setLanguageDirection:function(){var t=this.input.getLanguageDirection();this.dir!==t&&(this.dir=t,this.$node.css("direction",t),this.dropdown.setLanguageDirection(t))},_updateHint:function(){var t,e,n=this.dropdown.getDatumForTopSuggestion();n&&this.dropdown.isVisible()&&!this.input.hasOverflow()&&(t=this.input.getInputValue(),e=i.normalizeQuery(t),e=o.escapeRegExChars(e),e=new RegExp("^(?:"+e+")(.+$)","i").exec(n.value))?this.input.setHint(t+e[1]):this.input.clearHint()},_autocomplete:function(t){var e=this.input.getHint(),n=this.input.getQuery(),t=t||this.input.isCursorAtEnd();e&&n!==e&&t&&((n=this.dropdown.getDatumForTopSuggestion())&&this.input.setInputValue(n.value),this.eventBus.trigger("autocompleted",n.raw,n.datasetName))},_select:function(t,e){void 0!==t.value&&this.input.setQuery(t.value),this.clearOnSelected?this.setVal(""):this.input.setInputValue(t.value,!0),this._setLanguageDirection(),!1===this.eventBus.trigger("selected",t.raw,t.datasetName,e).isDefaultPrevented()&&(this.dropdown.close(),o.defer(o.bind(this.dropdown.empty,this.dropdown)))},open:function(){var t;this.isActivated||((t=this.input.getInputValue()).length>=this.minLength?this.dropdown.update(t):this.dropdown.empty()),this.dropdown.open()},close:function(){this.dropdown.close()},setVal:function(t){t=o.toStr(t),this.isActivated?this.input.setInputValue(t):(this.input.setQuery(t),this.input.setInputValue(t,!0)),this._setLanguageDirection()},getVal:function(){return this.input.getQuery()},destroy:function(){this.input.destroy(),this.dropdown.destroy();var t=this.$node,e=this.cssClasses,n=t.find(o.className(e.prefix,e.input));o.each(n.data(s),function(t,e){void 0===t?n.removeAttr(e):n.attr(e,t)}),n.detach().removeClass(o.className(e.prefix,e.input,!0)).insertAfter(t),n.removeData&&n.removeData(s),t.remove(),this.$node=null},getWrapper:function(){return this.dropdown.$container[0]}}),h.Dropdown=u,h.Input=i,h.sources=n(61),t.exports=h},function(t,e,n){"use strict";var o={9:"tab",27:"esc",37:"left",39:"right",13:"enter",38:"up",40:"down"},a=n(0),u=n(1),n=n(10);function i(t){var e,n,i,r,s=this;(t=t||{}).input||a.error("input is missing"),e=a.bind(this._onBlur,this),n=a.bind(this._onFocus,this),i=a.bind(this._onKeydown,this),r=a.bind(this._onInput,this),this.$hint=u.element(t.hint),this.$input=u.element(t.input).on("blur.aa",e).on("focus.aa",n).on("keydown.aa",i),0===this.$hint.length&&(this.setHint=this.getHint=this.clearHint=this.clearHintIfInvalid=a.noop),a.isMsie()?this.$input.on("keydown.aa keypress.aa cut.aa paste.aa",function(t){o[t.which||t.keyCode]||a.defer(a.bind(s._onInput,s,t))}):this.$input.on("input.aa",r),this.query=this.$input.val(),this.$overflowHelper=(t=this.$input,u.element('<pre aria-hidden="true"></pre>').css({position:"absolute",visibility:"hidden",whiteSpace:"pre",fontFamily:t.css("font-family"),fontSize:t.css("font-size"),fontStyle:t.css("font-style"),fontVariant:t.css("font-variant"),fontWeight:t.css("font-weight"),wordSpacing:t.css("word-spacing"),letterSpacing:t.css("letter-spacing"),textIndent:t.css("text-indent"),textRendering:t.css("text-rendering"),textTransform:t.css("text-transform")}).insertAfter(t))}function s(t){return t.altKey||t.ctrlKey||t.metaKey||t.shiftKey}i.normalizeQuery=function(t){return(t||"").replace(/^\s*/g,"").replace(/\s{2,}/g," ")},a.mixin(i.prototype,n,{_onBlur:function(){this.resetInputValue(),this.$input.removeAttr("aria-activedescendant"),this.trigger("blurred")},_onFocus:function(){this.trigger("focused")},_onKeydown:function(t){var e=o[t.which||t.keyCode];this._managePreventDefault(e,t),e&&this._shouldTrigger(e,t)&&this.trigger(e+"Keyed",t)},_onInput:function(){this._checkInputValue()},_managePreventDefault:function(t,e){var n,i,r;switch(t){case"tab":i=this.getHint(),r=this.getInputValue(),n=i&&i!==r&&!s(e);break;case"up":case"down":n=!s(e);break;default:n=!1}n&&e.preventDefault()},_shouldTrigger:function(t,e){t="tab"!==t||!s(e);return t},_checkInputValue:function(){var t,e,n=this.getInputValue();t=n,e=this.query,e=!(!(t=i.normalizeQuery(t)===i.normalizeQuery(e))||!this.query)&&this.query.length!==n.length,this.query=n,t?e&&this.trigger("whitespaceChanged",this.query):this.trigger("queryChanged",this.query)},focus:function(){this.$input.focus()},blur:function(){this.$input.blur()},getQuery:function(){return this.query},setQuery:function(t){this.query=t},getInputValue:function(){return this.$input.val()},setInputValue:function(t,e){void 0===t&&(t=this.query),this.$input.val(t),e?this.clearHint():this._checkInputValue()},expand:function(){this.$input.attr("aria-expanded","true")},collapse:function(){this.$input.attr("aria-expanded","false")},setActiveDescendant:function(t){this.$input.attr("aria-activedescendant",t)},removeActiveDescendant:function(){this.$input.removeAttr("aria-activedescendant")},resetInputValue:function(){this.setInputValue(this.query,!0)},getHint:function(){return this.$hint.val()},setHint:function(t){this.$hint.val(t)},clearHint:function(){this.setHint("")},clearHintIfInvalid:function(){var t=this.getInputValue(),e=this.getHint(),e=t!==e&&0===e.indexOf(t);""!==t&&e&&!this.hasOverflow()||this.clearHint()},getLanguageDirection:function(){return(this.$input.css("direction")||"ltr").toLowerCase()},hasOverflow:function(){var t=this.$input.width()-2;return this.$overflowHelper.text(this.getInputValue()),this.$overflowHelper.width()>=t},isCursorAtEnd:function(){var t=this.$input.val().length,e=this.$input[0].selectionStart;return a.isNumber(e)?e===t:!document.selection||((e=document.selection.createRange()).moveStart("character",-t),t===e.text.length)},destroy:function(){this.$hint.off(".aa"),this.$input.off(".aa"),this.$hint=this.$input=this.$overflowHelper=null}}),t.exports=i},function(t,e,n){"use strict";var i,r,s,o=[n(54),n(55),n(56),n(57),n(58)],a=-1,u=[],c=!1;function l(){i&&r&&(i=!1,r.length?u=r.concat(u):a=-1,u.length)&&h()}function h(){if(!i){i=!(c=!1);for(var t=u.length,e=setTimeout(l);t;){for(r=u,u=[];r&&++a<t;)r[a].run();a=-1,t=u.length}r=null,i=!(a=-1),clearTimeout(e)}}for(var p=-1,d=o.length;++p<d;)if(o[p]&&o[p].test&&o[p].test()){s=o[p].install(h);break}function f(t,e){this.fun=t,this.array=e}f.prototype.run=function(){var t=this.fun,e=this.array;switch(e.length){case 0:return t();case 1:return t(e[0]);case 2:return t(e[0],e[1]);case 3:return t(e[0],e[1],e[2]);default:return t.apply(null,e)}},t.exports=function(t){var e=new Array(arguments.length-1);if(1<arguments.length)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];u.push(new f(t,e)),c||i||(c=!0,s())}},function(t,n,e){"use strict";!function(e){n.test=function(){return void 0!==e&&!e.browser},n.install=function(t){return function(){e.nextTick(t)}}}.call(n,e(9))},function(t,e,n){"use strict";!function(i){var r=i.MutationObserver||i.WebKitMutationObserver;e.test=function(){return r},e.install=function(t){var e=0,t=new r(t),n=i.document.createTextNode("");return t.observe(n,{characterData:!0}),function(){n.data=e=++e%2}}}.call(e,n(4))},function(t,e,n){"use strict";!function(n){e.test=function(){return!n.setImmediate&&void 0!==n.MessageChannel},e.install=function(t){var e=new n.MessageChannel;return e.port1.onmessage=t,function(){e.port2.postMessage(0)}}}.call(e,n(4))},function(t,e,n){"use strict";!function(n){e.test=function(){return"document"in n&&"onreadystatechange"in n.document.createElement("script")},e.install=function(e){return function(){var t=n.document.createElement("script");return t.onreadystatechange=function(){e(),t.onreadystatechange=null,t.parentNode.removeChild(t),t=null},n.document.documentElement.appendChild(t),e}}}.call(e,n(4))},function(t,e,n){"use strict";e.test=function(){return!0},e.install=function(t){return function(){setTimeout(t,0)}}},function(t,e,n){"use strict";var a=n(0),u=n(1),i=n(10),r=n(60),c=n(11);function l(i){var t,e,n,r=this,s=((i=i||{}).menu||a.error("menu is required"),a.isArray(i.datasets)||a.isObject(i.datasets)||a.error("1 or more datasets required"),i.datasets||a.error("datasets is required"),this.isOpen=!1,this.isEmpty=!0,this.minLength=i.minLength||0,this.templates={},this.appendTo=i.appendTo||!1,this.css=a.mixin({},c,i.appendTo?c.appendTo:{}),this.cssClasses=i.cssClasses=a.mixin({},c.defaultClasses,i.cssClasses||{}),this.cssClasses.prefix=i.cssClasses.formattedPrefix||a.formatPrefix(this.cssClasses.prefix,this.cssClasses.noPrefix),t=a.bind(this._onSuggestionClick,this),e=a.bind(this._onSuggestionMouseEnter,this),n=a.bind(this._onSuggestionMouseLeave,this),a.className(this.cssClasses.prefix,this.cssClasses.suggestion)),o=(this.$menu=u.element(i.menu).on("mouseenter.aa",s,e).on("mouseleave.aa",s,n).on("click.aa",s,t),this.$container=i.appendTo?i.wrapper:this.$menu,i.templates&&i.templates.header&&(this.templates.header=a.templatify(i.templates.header),this.$menu.prepend(this.templates.header())),i.templates&&i.templates.empty&&(this.templates.empty=a.templatify(i.templates.empty),this.$empty=u.element('<div class="'+a.className(this.cssClasses.prefix,this.cssClasses.empty,!0)+'"></div>'),this.$menu.append(this.$empty),this.$empty.hide()),this.datasets=a.map(i.datasets,function(t){return e=r.$menu,n=i.cssClasses,new l.Dataset(a.mixin({$menu:e,cssClasses:n},t));var e,n}),a.each(this.datasets,function(t){var e=t.getRoot();e&&0===e.parent().length&&r.$menu.append(e),t.onSync("rendered",r._onRendered,r)}),i.templates&&i.templates.footer&&(this.templates.footer=a.templatify(i.templates.footer),this.$menu.append(this.templates.footer())),this);u.element(window).resize(function(){o._redraw()})}a.mixin(l.prototype,i,{_onSuggestionClick:function(t){this.trigger("suggestionClicked",u.element(t.currentTarget))},_onSuggestionMouseEnter:function(t){var e,n=u.element(t.currentTarget);n.hasClass(a.className(this.cssClasses.prefix,this.cssClasses.cursor,!0))||(this._removeCursor(),e=this,setTimeout(function(){e._setCursor(n,!1)},0))},_onSuggestionMouseLeave:function(t){if(t.relatedTarget&&0<u.element(t.relatedTarget).closest("."+a.className(this.cssClasses.prefix,this.cssClasses.cursor,!0)).length)return;this._removeCursor(),this.trigger("cursorRemoved")},_onRendered:function(t,e){var n;this.isEmpty=a.every(this.datasets,function(t){return t.isEmpty()}),this.isEmpty?(e.length>=this.minLength&&this.trigger("empty"),this.$empty?e.length<this.minLength?this._hide():(n=this.templates.empty({query:this.datasets[0]&&this.datasets[0].query}),this.$empty.html(n),this.$empty.show(),this._show()):!a.any(this.datasets,function(t){return t.templates&&t.templates.empty})||e.length<this.minLength?this._hide():this._show()):this.isOpen&&(this.$empty&&(this.$empty.empty(),this.$empty.hide()),e.length>=this.minLength?this._show():this._hide()),this.trigger("datasetRendered")},_hide:function(){this.$container.hide()},_show:function(){this.$container.css("display","block"),this._redraw(),this.trigger("shown")},_redraw:function(){this.isOpen&&this.appendTo&&this.trigger("redrawn")},_getSuggestions:function(){return this.$menu.find(a.className(this.cssClasses.prefix,this.cssClasses.suggestion))},_getCursor:function(){return this.$menu.find(a.className(this.cssClasses.prefix,this.cssClasses.cursor)).first()},_setCursor:function(t,e){t.first().addClass(a.className(this.cssClasses.prefix,this.cssClasses.cursor,!0)).attr("aria-selected","true"),this.trigger("cursorMoved",e)},_removeCursor:function(){this._getCursor().removeClass(a.className(this.cssClasses.prefix,this.cssClasses.cursor,!0)).removeAttr("aria-selected")},_moveCursor:function(t){var e,n;this.isOpen&&(n=this._getCursor(),e=this._getSuggestions(),this._removeCursor(),-1===(n=((n=e.index(n)+t)+1)%(e.length+1)-1)?this.trigger("cursorRemoved"):(n<-1&&(n=e.length-1),this._setCursor(t=e.eq(n),!0),this._ensureVisible(t)))},_ensureVisible:function(t){var e=t.position().top,t=e+t.height()+parseInt(t.css("margin-top"),10)+parseInt(t.css("margin-bottom"),10),n=this.$menu.scrollTop(),i=this.$menu.height()+parseInt(this.$menu.css("padding-top"),10)+parseInt(this.$menu.css("padding-bottom"),10);e<0?this.$menu.scrollTop(n+e):i<t&&this.$menu.scrollTop(n+(t-i))},close:function(){this.isOpen&&(this.isOpen=!1,this._removeCursor(),this._hide(),this.trigger("closed"))},open:function(){this.isOpen||(this.isOpen=!0,this.isEmpty||this._show(),this.trigger("opened"))},setLanguageDirection:function(t){this.$menu.css("ltr"===t?this.css.ltr:this.css.rtl)},moveCursorUp:function(){this._moveCursor(-1)},moveCursorDown:function(){this._moveCursor(1)},getDatumForSuggestion:function(t){var e=null;return e=t.length?{raw:r.extractDatum(t),value:r.extractValue(t),datasetName:r.extractDatasetName(t)}:e},getCurrentCursor:function(){return this._getCursor().first()},getDatumForCursor:function(){return this.getDatumForSuggestion(this._getCursor().first())},getDatumForTopSuggestion:function(){return this.getDatumForSuggestion(this._getSuggestions().first())},cursorTopSuggestion:function(){this._setCursor(this._getSuggestions().first(),!1)},update:function(e){a.each(this.datasets,function(t){t.update(e)})},empty:function(){a.each(this.datasets,function(t){t.clear()}),this.isEmpty=!0},isVisible:function(){return this.isOpen&&!this.isEmpty},destroy:function(){this.$menu.off(".aa"),this.$menu=null,a.each(this.datasets,function(t){t.destroy()})}}),l.Dataset=r,t.exports=l},function(t,e,n){"use strict";var a="aaDataset",u="aaValue",c="aaDatum",l=n(0),h=n(1),p=n(17),r=n(11),n=n(10);function i(t){(t=t||{}).templates=t.templates||{},t.source||l.error("missing source"),t.name&&!/^[_a-zA-Z0-9-]+$/.test(t.name)&&l.error("invalid dataset name: "+t.name),this.query=null,this._isEmpty=!0,this.highlight=!!t.highlight,this.name=void 0===t.name||null===t.name?l.getUniqueId():t.name,this.source=t.source,this.displayFn=(e=(e=t.display||t.displayKey)||"value",l.isFunction(e)?e:function(t){return t[e]}),this.debounce=t.debounce,this.cache=!1!==t.cache,this.templates=(i=t.templates,n=this.displayFn,{empty:i.empty&&l.templatify(i.empty),header:i.header&&l.templatify(i.header),footer:i.footer&&l.templatify(i.footer),suggestion:i.suggestion||function(t){return"<p>"+n(t)+"</p>"}}),this.css=l.mixin({},r,t.appendTo?r.appendTo:{}),this.cssClasses=t.cssClasses=l.mixin({},r.defaultClasses,t.cssClasses||{}),this.cssClasses.prefix=t.cssClasses.formattedPrefix||l.formatPrefix(this.cssClasses.prefix,this.cssClasses.noPrefix);var e,n,i=l.className(this.cssClasses.prefix,this.cssClasses.dataset);this.$el=t.$menu&&0<t.$menu.find(i+"-"+this.name).length?h.element(t.$menu.find(i+"-"+this.name)[0]):h.element(p.dataset.replace("%CLASS%",this.name).replace("%PREFIX%",this.cssClasses.prefix).replace("%DATASET%",this.cssClasses.dataset)),this.$menu=t.$menu,this.clearCachedSuggestions()}i.extractDatasetName=function(t){return h.element(t).data(a)},i.extractValue=function(t){return h.element(t).data(u)},i.extractDatum=function(t){t=h.element(t).data(c);return t="string"==typeof t?JSON.parse(t):t},l.mixin(i.prototype,n,{_render:function(e,r){if(this.$el){var n,s=this,t=[].slice.call(arguments,2);if(this.$el.empty(),n=r&&r.length,this._isEmpty=!n,!n&&this.templates.empty)this.$el.html(function(){var t=[].slice.call(arguments,0);return t=[{query:e,isEmpty:!0}].concat(t),s.templates.empty.apply(this,t)}.apply(this,t)).prepend(s.templates.header?i.apply(this,t):null).append(s.templates.footer?o.apply(this,t):null);else if(n)this.$el.html(function(){var t,n=[].slice.call(arguments,0),i=this,e=p.suggestions.replace("%PREFIX%",this.cssClasses.prefix).replace("%SUGGESTIONS%",this.cssClasses.suggestions);return e=h.element(e).css(this.css.suggestions),t=l.map(r,function(t){var e=p.suggestion.replace("%PREFIX%",i.cssClasses.prefix).replace("%SUGGESTION%",i.cssClasses.suggestion);return(e=h.element(e).attr({role:"option",id:["option",Math.floor(1e8*Math.random())].join("-")}).append(s.templates.suggestion.apply(this,[t].concat(n)))).data(a,s.name),e.data(u,s.displayFn(t)||void 0),e.data(c,JSON.stringify(t)),e.children().each(function(){h.element(this).css(i.css.suggestionChild)}),e}),e.append.apply(e,t),e}.apply(this,t)).prepend(s.templates.header?i.apply(this,t):null).append(s.templates.footer?o.apply(this,t):null);else if(r&&!Array.isArray(r))throw new TypeError("suggestions must be an array");this.$menu&&this.$menu.addClass(this.cssClasses.prefix+(n?"with":"without")+"-"+this.name).removeClass(this.cssClasses.prefix+(n?"without":"with")+"-"+this.name),this.trigger("rendered",e)}function i(){var t=[].slice.call(arguments,0),t=[{query:e,isEmpty:!n}].concat(t);return s.templates.header.apply(this,t)}function o(){var t=[].slice.call(arguments,0),t=[{query:e,isEmpty:!n}].concat(t);return s.templates.footer.apply(this,t)}},getRoot:function(){return this.$el},update:function(n){function t(t){var e;this.canceled||n!==this.query||(e=[].slice.call(arguments,1),this.cacheSuggestions(n,t,e),this._render.apply(this,[n,t].concat(e)))}var e,i;this.query=n,this.canceled=!1,this.shouldFetchFromCache(n)?t.apply(this,[this.cachedSuggestions].concat(this.cachedRenderExtraArgs)):(i=function(){e.canceled||e.source(n,t.bind(e))},(e=this).debounce?(clearTimeout(this.debounceTimeout),this.debounceTimeout=setTimeout(function(){e.debounceTimeout=null,i()},this.debounce)):i())},cacheSuggestions:function(t,e,n){this.cachedQuery=t,this.cachedSuggestions=e,this.cachedRenderExtraArgs=n},shouldFetchFromCache:function(t){return this.cache&&this.cachedQuery===t&&this.cachedSuggestions&&this.cachedSuggestions.length},clearCachedSuggestions:function(){delete this.cachedQuery,delete this.cachedSuggestions,delete this.cachedRenderExtraArgs},cancel:function(){this.canceled=!0},clear:function(){this.cancel(),this.$el.empty(),this.trigger("rendered","")},isEmpty:function(){return this._isEmpty},destroy:function(){this.clearCachedSuggestions(),this.$el=null}}),t.exports=i},function(t,e,n){"use strict";t.exports={hits:n(62),popularIn:n(63)}},function(t,e,n){"use strict";var r=n(0),s=n(18),o=n(19);t.exports=function(e,i){var t=o(e.as._ua);return t&&3<=t[0]&&20<t[1]&&((i=i||{}).additionalUA="autocomplete.js "+s),function(t,n){e.search(t,i,function(t,e){t?r.error(t.message):n(e.hits,e)})}}},function(t,e,n){"use strict";var l=n(0),h=n(18),p=n(19);t.exports=function(e,n,i,a){var u,c,t=p(e.as._ua);return t&&3<=t[0]&&20<t[1]&&((n=n||{}).additionalUA="autocomplete.js "+h),i.source?(u=l.isFunction(i.source)?i.source:function(t){return t[i.source]},i.index?(c=i.index,a=a||{},function(t,o){e.search(t,n,function(t,r){var s,e;t?l.error(t.message):0<r.hits.length?(s=r.hits[0],delete(t=l.mixin({hitsPerPage:0},i)).source,delete t.index,(e=p(c.as._ua))&&3<=e[0]&&20<e[1]&&(n.additionalUA="autocomplete.js "+h),c.search(u(s),t,function(t,e){if(t)l.error(t.message);else{var i=[];a.includeAll&&(t=a.allTitle||"All departments",i.push(l.mixin({facet:{value:t,count:e.nbHits}},l.cloneDeep(s)))),l.each(e.facets,function(t,n){l.each(t,function(t,e){i.push(l.mixin({facet:{facet:n,value:e,count:t}},l.cloneDeep(s)))})});for(var n=1;n<r.hits.length;++n)i.push(r.hits[n]);o(i,r)}})):o([])})}):l.error("Missing 'index' key")):l.error("Missing 'source' key")}},function(t,e,n){"use strict";
3Object.defineProperty(e,"__esModule",{value:!0});var i="algolia-docsearch",r=i+"-suggestion",i=i+"-footer";e.default={suggestion:'\n  <a class="'+r+"\n    {{#isCategoryHeader}}"+r+"__main{{/isCategoryHeader}}\n    {{#isSubCategoryHeader}}"+r+'__secondary{{/isSubCategoryHeader}}\n    "\n    aria-label="Link to the result"\n    href="{{{url}}}"\n    >\n    <div class="'+r+'--category-header">\n        <span class="'+r+'--category-header-lvl0">{{{category}}}</span>\n    </div>\n    <div class="'+r+'--wrapper">\n      <div class="'+r+'--subcategory-column">\n        <span class="'+r+'--subcategory-column-text">{{{subcategory}}}</span>\n      </div>\n      {{#isTextOrSubcategoryNonEmpty}}\n      <div class="'+r+'--content">\n        <div class="'+r+'--subcategory-inline">{{{subcategory}}}</div>\n        <div class="'+r+'--title">{{{title}}}</div>\n        {{#text}}<div class="'+r+'--text">{{{text}}}</div>{{/text}}\n      </div>\n      {{/isTextOrSubcategoryNonEmpty}}\n    </div>\n  </a>\n  ',suggestionSimple:'\n  <div class="'+r+"\n    {{#isCategoryHeader}}"+r+"__main{{/isCategoryHeader}}\n    {{#isSubCategoryHeader}}"+r+'__secondary{{/isSubCategoryHeader}}\n    suggestion-layout-simple\n  ">\n    <div class="'+r+'--category-header">\n        {{^isLvl0}}\n        <span class="'+r+"--category-header-lvl0 "+r+'--category-header-item">{{{category}}}</span>\n          {{^isLvl1}}\n          {{^isLvl1EmptyOrDuplicate}}\n          <span class="'+r+"--category-header-lvl1 "+r+'--category-header-item">\n              {{{subcategory}}}\n          </span>\n          {{/isLvl1EmptyOrDuplicate}}\n          {{/isLvl1}}\n        {{/isLvl0}}\n        <div class="'+r+"--title "+r+'--category-header-item">\n            {{#isLvl2}}\n                {{{title}}}\n            {{/isLvl2}}\n            {{#isLvl1}}\n                {{{subcategory}}}\n            {{/isLvl1}}\n            {{#isLvl0}}\n                {{{category}}}\n            {{/isLvl0}}\n        </div>\n    </div>\n    <div class="'+r+'--wrapper">\n      {{#text}}\n      <div class="'+r+'--content">\n        <div class="'+r+'--text">{{{text}}}</div>\n      </div>\n      {{/text}}\n    </div>\n  </div>\n  ',footer:'\n    <div class="'+i+'">\n      Search by <a class="'+i+'--logo" href="https://www.algolia.com/docsearch">Algolia</a>\n    </div>\n  ',empty:'\n  <div class="'+r+'">\n    <div class="'+r+'--wrapper">\n        <div class="'+r+"--content "+r+'--no-results">\n            <div class="'+r+'--title">\n                <div class="'+r+'--text">\n                    No results found for query <b>"{{query}}"</b>\n                </div>\n            </div>\n        </div>\n    </div>\n  </div>\n  ',searchBox:'\n  <form novalidate="novalidate" onsubmit="return false;" class="searchbox">\n    <div role="search" class="searchbox__wrapper">\n      <input id="docsearch" type="search" name="search" placeholder="Search the docs" autocomplete="off" required="required" class="searchbox__input"/>\n      <button type="submit" title="Submit your search query." class="searchbox__submit" >\n        <svg width=12 height=12 role="img" aria-label="Search">\n          <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#sbx-icon-search-13"></use>\n        </svg>\n      </button>\n      <button type="reset" title="Clear the search query." class="searchbox__reset hide">\n        <svg width=12 height=12 role="img" aria-label="Reset">\n          <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#sbx-icon-clear-3"></use>\n        </svg>\n      </button>\n    </div>\n</form>\n\n<div class="svg-icons" style="height: 0; width: 0; position: absolute; visibility: hidden">\n  <svg xmlns="http://www.w3.org/2000/svg">\n    <symbol id="sbx-icon-clear-3" viewBox="0 0 40 40"><path d="M16.228 20L1.886 5.657 0 3.772 3.772 0l1.885 1.886L20 16.228 34.343 1.886 36.228 0 40 3.772l-1.886 1.885L23.772 20l14.342 14.343L40 36.228 36.228 40l-1.885-1.886L20 23.772 5.657 38.114 3.772 40 0 36.228l1.886-1.885L16.228 20z" fill-rule="evenodd"></symbol>\n    <symbol id="sbx-icon-search-13" viewBox="0 0 40 40"><path d="M26.806 29.012a16.312 16.312 0 0 1-10.427 3.746C7.332 32.758 0 25.425 0 16.378 0 7.334 7.333 0 16.38 0c9.045 0 16.378 7.333 16.378 16.38 0 3.96-1.406 7.593-3.746 10.426L39.547 37.34c.607.608.61 1.59-.004 2.203a1.56 1.56 0 0 1-2.202.004L26.807 29.012zm-10.427.627c7.322 0 13.26-5.938 13.26-13.26 0-7.324-5.938-13.26-13.26-13.26-7.324 0-13.26 5.936-13.26 13.26 0 7.322 5.936 13.26 13.26 13.26z" fill-rule="evenodd"></symbol>\n  </svg>\n</div>\n  '}},function(t,e,n){"use strict";
3Object.defineProperty(e,"__esModule",{value:!0});var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n=n(20),s=(n=n)&&n.__esModule?n:{default:n};e.default={mergeKeyWithParent:function(t,e){return void 0===t[e]||"object"!==i(t[e])?t:(delete(t=s.default.extend({},t,t[e]))[e],t)},groupBy:function(t,i){var r={};return s.default.each(t,function(t,e){if(void 0===e[i])throw new Error("[groupBy]: Object has no key "+i);var n=e[i];"string"==typeof n&&(n=n.toLowerCase()),Object.prototype.hasOwnProperty.call(r,n)||(r[n]=[]),r[n].push(e)}),r},values:function(e){return Object.keys(e).map(function(t){return e[t]})},flatten:function(t){var e=[];return t.forEach(function(t){Array.isArray(t)?t.forEach(function(t){e.push(t)}):e.push(t)}),e},flattenAndFlagFirst:function(t,n){t=this.values(t).map(function(t){return t.map(function(t,e){return t[n]=0===e,t})});return this.flatten(t)},compact:function(t){var e=[];return t.forEach(function(t){t&&e.push(t)}),e},getHighlightedValue:function(t,e){return t._highlightResult&&t._highlightResult.hierarchy_camel&&t._highlightResult.hierarchy_camel[e]&&t._highlightResult.hierarchy_camel[e].matchLevel&&"none"!==t._highlightResult.hierarchy_camel[e].matchLevel&&t._highlightResult.hierarchy_camel[e].value?t._highlightResult.hierarchy_camel[e].value:t._highlightResult&&t._highlightResult&&t._highlightResult[e]&&t._highlightResult[e].value?t._highlightResult[e].value:t[e]},getSnippetedValue:function(t,e){var n;return t._snippetResult&&t._snippetResult[e]&&t._snippetResult[e].value?((n=t._snippetResult[e].value)[0]!==n[0].toUpperCase()&&(n="…"+n),-1===[".","!","?"].indexOf(n[n.length-1])&&(n+="…"),n):t[e]},deepClone:function(t){return JSON.parse(JSON.stringify(t))}}}],r={},i.m=n,i.c=r,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:n})},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=22);function i(t){var e;return(r[t]||(e=r[t]={i:t,l:!1,exports:{}},n[t].call(e.exports,e,e.exports,i),e.l=!0,e)).exports}var n,r},"object"==typeof w.exports?w.exports=p():"function"==typeof define&&define.amd?define([],p):"object"==typeof w.exports?w.exports.docsearch=p():i.docsearch=p(),w=w.exports;!function(){"use strict";var n=2,e="docs:search-filter-active",i="docs:saved-search-state",r="1",t=w,s=(a=document.getElementById("search-script").dataset).stylesheet,s=(document.head.appendChild(Object.assign(document.createElement("link"),{rel:"stylesheet",href:s})),{hitsPerPage:parseInt(a.pageSize,10)||20}),o=document.getElementById(a.searchFieldId||"search");o.appendChild(Object.assign(document.createElement("div"),{className:"algolia-autocomplete-results"}));var a=(t=t({appId:a.appId,apiKey:a.apiKey,indexName:a.indexName,inputSelector:"#"+o.id+" .query",autocompleteOptions:{autoselect:!1,debug:!0,hint:!1,minLength:2,appendTo:"#"+o.id+" .algolia-autocomplete-results",autoWidth:!1,templates:{footer:'<div class="ds-footer"><div class="ds-pagination"><span class="ds-pagination--curr">Page 1</span><a href="#" class="ds-pagination--prev">Prev</a><a href="#" class="ds-pagination--next">Next</a></div><div class="algolia-docsearch-footer">Search by <a class="algolia-docsearch-footer--logo" href="https://www.algolia.com/docsearch" target="_blank" rel="noopener">Algolia</a></div></div>'}},baseAlgoliaOptions:s})).input,u=(s=a.data("aaAutocomplete")).dropdown,c=u.$menu,l=((l=u.datasets[0]).cache=!1,l.source=t.getAutocompleteSource(void 0,function(t,e){var n={};this.$facetFilterInput.prop("checked")&&(n.facetFilters=[this.$facetFilterInput.data("facetFilter")]);var i=this.dropdown.datasets[0],r=i.result;n.page=r&&r.query!==e?i.page=0:i.page||0,t.algoliaOptions=Object.keys(n).length?Object.assign({},t.baseAlgoliaOptions,n):t.baseAlgoliaOptions}.bind(s,t)),delete l.templates.footer,t.queryDataCallback=function(t){t=t.results[0];this.dropdown.datasets[0].result={page:t.page,pages:t.nbPages,query:t.query},t.hits=function(t){var r,s={},o={};return t.map(function(t){var e=t.hierarchy.lvl0,n=t.hierarchy.lvl1,i=s[e];return e!==r&&(s[e]=null==i?i="":i+=" ",o={}),i&&(t.hierarchy.lvl0=e+i),n in o?t.hierarchy.lvl1=n+(o[n]+=" "):o[n]="",r=e,t})}(t.hits)}.bind(s),s.setVal(),a.on("autocomplete:closed",y.bind(s)),a.on("autocomplete:cursorchanged autocomplete:cursorremoved",b.bind(s)),a.on("autocomplete:selected",function(t,e,n,i){this.ctrlKeyDown||("click"===i.selectionMethod&&b.call(this),window.sessionStorage.setItem("docs:restore-search-on-back","true"));t.isDefaultPrevented=function(){return!0}}.bind(s)),a.on("autocomplete:updated",function(){var t=this.dropdown,e=t.restoring;delete t.restoring,f(this)||(function(){var t=this.datasets[0].result,e=t.page,n=this.$menu;n.find(".ds-pagination--curr").html(t.pages?"Page "+(e+1)+" of "+t.pages:"No results").data("page",e),n.find(".ds-pagination--prev").css("visibility",0<e?"":"hidden"),n.find(".ds-pagination--next").css("visibility",t.pages>
3e+1?"":"hidden"),d(this).scrollTop(0)}.call(t),e&&e.query===this.getVal()&&e.filter===this.$facetFilterInput.prop("checked")?(e=e.cursor)&&t._moveCursor(e):b.call(this))}.bind(s)),u._ensureVisible=p,c.off("mousedown.aa"),c.off("mouseenter.aa"),c.off("mouseleave.aa"),"."+u.cssClasses.prefix+u.cssClasses.suggestion);function h(t){t.stopPropagation()}function p(t){var e,n=d(this)[0];n.scrollHeight!==n.offsetHeight&&(0<(e=15+(t=t[0]).offsetTop+t.offsetHeight-(n.offsetHeight+n.scrollTop))&&(n.scrollTop+=e),(e=t.offsetTop-n.scrollTop)<0)&&(n.scrollTop+=e)}function d(t){return t.datasets[0].$el}function f(t){var e=t.getVal();return!e||e!==t.dropdown.datasets[0].query}function g(t,e){e.preventDefault();e=this.dropdown.datasets[0];e.page=(e.page||0)+t,m.call(this)}function m(t){this.$input.focus(),void 0===t?t=this.input.getInputValue():this.input.setInputValue(t,!0),this.input.setQuery(t),this.dropdown.update(t),this.dropdown.open()}function y(){this.isActivated=!0,this.setVal(),delete this.ctrlKeyDown,delete this.dropdown.datasets[0].result}function v(){var t,e=function(){try{var t=window.localStorage.getItem(i);if(t&&(t=JSON.parse(t))._version.toString()===r)return t}catch(t){window.localStorage.removeItem(i)}}();e&&(this.dropdown.restoring=e,this.$facetFilterInput.prop("checked",e.filter),(t=this.dropdown.datasets[0]).page=e.page,delete t.result,m.call(this,e.query))}function b(){f(this)||window.localStorage.setItem(i,JSON.stringify({_version:r,cursor:this.dropdown.getCurrentCursor().index()+1,filter:this.$facetFilterInput.prop("checked"),page:this.dropdown.datasets[0].page,query:this.getVal()}))}c.on("mousedown.aa",l,function(t){t=this._getSuggestions().filter("#"+t.currentTarget.id);t[0]!==this._getCursor()[0]&&(this._removeCursor(),this._setCursor(t,!1))}.bind(u)),s.$facetFilterInput=a.closest("#"+o.id).find(".filter input").on("change",function(t){"restoring"in this.dropdown||(window.localStorage.setItem(e,t.target.checked),f(this)?this.$input.focus():(this.dropdown.datasets[0].page=0,m.call(this)))}.bind(s)).prop("checked","true"===window.localStorage.getItem(e)),c.find(".ds-pagination--prev").on("click",g.bind(s,-1)).css("visibility","hidden"),c.find(".ds-pagination--next").on("click",g.bind(s,1)).css("visibility","hidden"),function(){this.$input.on("keydown",function(t){var e;"Control"===t.key&&(this.ctrlKeyDown=!0,t=d(this.dropdown),e=t.scrollTop(),this.dropdown.getCurrentCursor().find("a").focus(),t.scrollTop(e))}.bind(this)),this.dropdown.$menu.on("keyup",function(t){"Control"===t.key&&(delete this.ctrlKeyDown,this.$input.focus())}.bind(this))}.call(s),o.addEventListener("click",h),document.documentElement.addEventListener("click",y.bind(s)),document.addEventListener("keydown",function(t){var e=t.target||{};if(!(t.altKey||e.isContentEditable||"disabled"in e)){if(t.ctrlKey&&"<"===t.key)return v.call(this);(t.ctrlKey?"/"===t.key:"s"===t.key)&&(this.$input.focus(),t.preventDefault(),t.stopPropagation())}}.bind(s)),null!=a.attr("autofocus")&&a.focus(),window.addEventListener("pageshow",function(t){var e=window.performance.navigation||{};if("type"in e){if(e.type!==n)return;t.persisted&&!f(this)?(this.$input.focus(),this.$input.val(this.getVal()),this.dropdown.datasets[0].page=this.dropdown.$menu.find(".ds-pagination--curr").data("page")):"true"===window.sessionStorage.getItem("docs:restore-search-on-back")&&(window.matchMedia("(min-width: 1024px)").matches||document.querySelector(".navbar-burger").click(),v.call(this))}window.sessionStorage.removeItem("docs:restore-search-on-back")}.bind(s))}()}();

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.