!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).AlgoliaAnalytics={})}(this,function(e){"use strict";function t(){"function"!=typeof Object.assign&&(Object.assign=function(e,t){var r=arguments;if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var n=Object(e),o=1;o0;)r[n]=arguments[n+1];e&&c(t[e])?t[e].apply(t,r):console.warn("The method `"+e+"` doesn't exist.")}),o=e[r];o.queue=o.queue||[];var i=o.queue;i.forEach(function(e){var t=[].slice.call(e),r=t[0],o=t.slice(1);n.apply(void 0,[r].concat(o))}),i.push=function(e){var t=[].slice.call(e),r=t[0],o=t.slice(1);n.apply(void 0,[r].concat(o))}}}function x(e){var t=new j({requestFn:e});return"object"==typeof window&&E.call(t,window),t.version=h,t}var T=x(function(){if(n())return D;if(o())return O;throw new Error("Could not find a supported HTTP request client in this environment.")}());e.createInsightsClient=x,e.default=T,Object.defineProperty(e,"__esModule",{value:!0})});