UNPKG

coveo-search-ui

Version:

Coveo JavaScript Search Framework

1 lines • 2.03 MB
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.Coveo__temporary=t():e.Coveo__temporary=t()}("undefined"!=typeof self?self:this,function(){return function(e){function t(n){if(i[n])return i[n].exports;var o=i[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n=window.webpackJsonpCoveo__temporary;window.webpackJsonpCoveo__temporary=function(t,i,r){for(var s,a,u=0,l=[];u<t.length;u++)a=t[u],o[a]&&l.push(o[a][0]),o[a]=0;for(s in i)Object.prototype.hasOwnProperty.call(i,s)&&(e[s]=i[s]);for(n&&n(t,i,r);l.length;)l.shift()()};var i={},o={88:0,1:0,2:0,3:0,4:0,5:0,6:0,7:0,8:0,9:0,10:0,11:0,12:0,13:0,14:0,15:0,16:0,17:0,18:0,19:0,20:0,21:0,22:0,23:0,24:0,25:0,26:0,27:0,28:0,29:0,30:0,31:0,32:0,33:0,34:0,35:0,36:0,37:0,38:0,39:0,40:0,41:0,42:0,43:0,44:0,45:0,46:0,47:0,48:0,49:0,50:0,51:0,52:0,53:0,54:0,55:0,56:0,57:0,58:0,59:0,60:0,61:0,62:0,63:0,64:0,65:0,66:0,67:0,68:0,69:0,70:0,71:0,72:0,73:0,74:0,75:0,76:0,77:0,78:0,79:0,80:0,81:0,82:0,83:0,84:0,85:0,86:0,87:0};return t.e=function(e){function n(){a.onerror=a.onload=null,clearTimeout(u);var t=o[e];0!==t&&(t&&t[1](new Error("Loading chunk "+e+" failed.")),o[e]=void 0)}var i=o[e];if(0===i)return new Promise(function(e){e()});if(i)return i[2];var r=new Promise(function(t,n){i=o[e]=[t,n]});i[2]=r;var s=document.getElementsByTagName("head")[0],a=document.createElement("script");a.type="text/javascript",a.charset="utf-8",a.async=!0,a.timeout=12e4,t.nc&&a.setAttribute("nonce",t.nc),a.src=t.p+""+({0:"RelevanceInspector",3:"FacetsMobileMode"}[e]||e)+".min__cf4c4f4dd6c8a707e936.js";var u=setTimeout(n,12e4);return a.onerror=a.onload=n,s.appendChild(a),r},t.m=e,t.c=i,t.d=function(e,n,i){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:i})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="js/",t.oe=function(e){throw console.error(e),e},t(t.s=809)}([function(e,t,n){"use strict";function i(e,t){return t=null==t?e.length-1:+t,function(){for(var n=Math.max(arguments.length-t,0),i=Array(n),o=0;o<n;o++)i[o]=arguments[o+t];switch(t){case 0:return e.call(this,i);case 1:return e.call(this,arguments[0],i);case 2:return e.call(this,arguments[0],arguments[1],i)}var r=Array(t+1);for(o=0;o<t;o++)r[o]=arguments[o];return r[t]=i,e.apply(this,r)}}function o(e){var t=typeof e;return"function"===t||"object"===t&&!!e}function r(e){return null===e}function s(e){return void 0===e}function a(e){return!0===e||!1===e||"[object Boolean]"===rt.t.call(e)}function u(e){return!(!e||1!==e.nodeType)}function l(e){var t="[object "+e+"]";return function(e){return rt.t.call(e)===t}}function c(e){return null!=e&&mt(e.getInt8)&&dt(e.buffer)}function p(e,t){return null!=e&&rt.i.call(e,t)}function d(e){return!pt(e)&&Object(rt.f)(e)&&!isNaN(parseFloat(e))}function h(e){return at(e)&&Object(rt.g)(e)}function f(e){return function(){return e}}function m(e){return function(t){var n=e(t);return"number"==typeof n&&n>=0&&n<=rt.b}}function y(e){return function(t){return null==t?void 0:t[e]}}function g(e){return rt.l?Object(rt.l)(e)&&!St(e):_t(e)&&Et.test(rt.t.call(e))}function v(e){for(var t={},n=e.length,i=0;i<n;++i)t[e[i]]=!0;return{contains:function(e){return t[e]},push:function(n){return t[n]=!0,e.push(n)}}}function b(e,t){t=v(t);var n=rt.n.length,i=e.constructor,o=mt(i)&&i.prototype||rt.c,r="constructor";for(p(e,r)&&!t.contains(r)&&t.push(r);n--;)(r=rt.n[n])in e&&e[r]!==o[r]&&!t.contains(r)&&t.push(r)}function S(e){if(!o(e))return[];if(rt.m)return Object(rt.m)(e);var t=[];for(var n in e)p(e,n)&&t.push(n);return rt.h&&b(e,t),t}function C(e){if(null==e)return!0;var t=Tt(e);return"number"==typeof t&&(Ct(e)||st(e)||Ot(e))?0===t:0===Tt(S(e))}function w(e,t){var n=S(t),i=n.length;if(null==e)return!i;for(var o=Object(e),r=0;r<i;r++){var s=n[r];if(t[s]!==o[s]||!(s in o))return!1}return!0}function O(e){return e instanceof O?e:this instanceof O?void(this._wrapped=e):new O(e)}function x(e){return new Uint8Array(e.buffer||e,e.byteOffset||0,xt(e))}function _(e,t,n,i){if(e===t)return 0!==e||1/e==1/t;if(null==e||null==t)return!1;if(e!==e)return t!==t;var o=typeof e;return("function"===o||"object"===o||"object"==typeof t)&&E(e,t,n,i)}function E(e,t,n,i){e instanceof O&&(e=e._wrapped),t instanceof O&&(t=t._wrapped);var o=rt.t.call(e);if(o!==rt.t.call(t))return!1;if(gt&&"[object Object]"==o&&St(e)){if(!St(t))return!1;o=Rt}switch(o){case"[object RegExp]":case"[object String]":return""+e==""+t;case"[object Number]":return+e!=+e?+t!=+t:0==+e?1/+e==1/t:+e==+t;case"[object Date]":case"[object Boolean]":return+e==+t;case"[object Symbol]":return rt.d.valueOf.call(e)===rt.d.valueOf.call(t);case"[object ArrayBuffer]":case Rt:return E(x(e),x(t),n,i)}var r="[object Array]"===o;if(!r&&At(e)){if(xt(e)!==xt(t))return!1;if(e.buffer===t.buffer&&e.byteOffset===t.byteOffset)return!0;r=!0}if(!r){if("object"!=typeof e||"object"!=typeof t)return!1;var s=e.constructor,a=t.constructor;if(s!==a&&!(mt(s)&&s instanceof s&&mt(a)&&a instanceof a)&&"constructor"in e&&"constructor"in t)return!1}n=n||[],i=i||[];for(var u=n.length;u--;)if(n[u]===e)return i[u]===t;if(n.push(e),i.push(t),r){if((u=e.length)!==t.length)return!1;for(;u--;)if(!_(e[u],t[u],n,i))return!1}else{var l,c=S(e);if(u=c.length,S(t).length!==u)return!1;for(;u--;)if(l=c[u],!p(t,l)||!_(e[l],t[l],n,i))return!1}return n.pop(),i.pop(),!0}function A(e,t){return _(e,t)}function T(e){if(!o(e))return[];var t=[];for(var n in e)t.push(n);return rt.h&&b(e,t),t}function R(e){var t=Tt(e);return function(n){if(null==n)return!1;var i=T(n);if(Tt(i))return!1;for(var o=0;o<t;o++)if(!mt(n[e[o]]))return!1;return e!==Dt||!mt(n[Ft])}}function F(e){for(var t=S(e),n=t.length,i=Array(n),o=0;o<n;o++)i[o]=e[t[o]];return i}function I(e){for(var t=S(e),n=t.length,i=Array(n),o=0;o<n;o++)i[o]=[t[o],e[t[o]]];return i}function M(e){for(var t={},n=S(e),i=0,o=n.length;i<o;i++)t[e[n[i]]]=n[i];return t}function P(e){var t=[];for(var n in e)mt(e[n])&&t.push(n);return t.sort()}function D(e,t){return function(n){var i=arguments.length;if(t&&(n=Object(n)),i<2||null==n)return n;for(var o=1;o<i;o++)for(var r=arguments[o],s=e(r),a=s.length,u=0;u<a;u++){var l=s[u];t&&void 0!==n[l]||(n[l]=r[l])}return n}}function N(){return function(){}}function $(e){if(!o(e))return{};if(rt.j)return Object(rt.j)(e);var t=N();t.prototype=e;var n=new t;return t.prototype=null,n}function L(e,t){var n=$(e);return t&&Ut(n,t),n}function k(e){return o(e)?Ct(e)?e.slice():Bt({},e):e}function V(e,t){return t(e),e}function B(e){return Ct(e)?e:[e]}function U(e){return O.toPath(e)}function Q(e,t){for(var n=t.length,i=0;i<n;i++){if(null==e)return;e=e[t[i]]}return n?e:void 0}function j(e,t,n){var i=Q(e,U(t));return s(i)?n:i}function H(e,t){t=U(t);for(var n=t.length,i=0;i<n;i++){var o=t[i];if(!p(e,o))return!1;e=e[o]}return!!n}function q(e){return e}function z(e){return e=Ut({},e),function(t){return w(t,e)}}function W(e){return e=U(e),function(t){return Q(t,e)}}function G(e,t,n){if(void 0===t)return e;switch(null==n?3:n){case 1:return function(n){return e.call(t,n)};case 3:return function(n,i,o){return e.call(t,n,i,o)};case 4:return function(n,i,o,r){return e.call(t,n,i,o,r)}}return function(){return e.apply(t,arguments)}}function Y(e,t,n){return null==e?q:mt(e)?G(e,t,n):o(e)&&!Ct(e)?z(e):W(e)}function K(e,t){return Y(e,t,1/0)}function J(e,t,n){return O.iteratee!==K?O.iteratee(e,t):Y(e,t,n)}function X(e,t,n){t=J(t,n);for(var i=S(e),o=i.length,r={},s=0;s<o;s++){var a=i[s];r[a]=t(e[a],a,e)}return r}function Z(){}function ee(e){return null==e?Z:function(t){return j(e,t)}}function te(e,t,n){var i=Array(Math.max(0,e));t=G(t,n,1);for(var o=0;o<e;o++)i[o]=t(o);return i}function ne(e,t){return null==t&&(t=e,e=0),e+Math.floor(Math.random()*(t-e+1))}function ie(e){var t=function(t){return e[t]},n="(?:"+S(e).join("|")+")",i=RegExp(n),o=RegExp(n,"g");return function(e){return e=null==e?"":""+e,i.test(e)?e.replace(o,t):e}}function oe(e){return"\\"+Kt[e]}function re(e,t,n){!t&&n&&(t=n),t=Qt({},t,O.templateSettings);var i=RegExp([(t.escape||Yt).source,(t.interpolate||Yt).source,(t.evaluate||Yt).source].join("|")+"|$","g"),o=0,r="__p+='";e.replace(i,function(t,n,i,s,a){return r+=e.slice(o,a).replace(Jt,oe),o=a+t.length,n?r+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'":i?r+="'+\n((__t=("+i+"))==null?'':__t)+\n'":s&&(r+="';\n"+s+"\n__p+='"),t}),r+="';\n";var s=t.variable;if(s){if(!Xt.test(s))throw new Error("variable is not a bare identifier: "+s)}else r="with(obj||{}){\n"+r+"}\n",s="obj";r="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+r+"return __p;\n";var a;try{a=new Function(s,"_",r)}catch(e){throw e.source=r,e}var u=function(e){return a.call(this,e,O)};return u.source="function("+s+"){\n"+r+"}",u}function se(e,t,n){t=U(t);var i=t.length;if(!i)return mt(n)?n.call(e):n;for(var o=0;o<i;o++){var r=null==e?void 0:e[t[o]];void 0===r&&(r=n,o=i),e=mt(r)?r.call(e):r}return e}function ae(e){var t=++Zt+"";return e?e+t:t}function ue(e){var t=O(e);return t._chain=!0,t}function le(e,t,n,i,r){if(!(i instanceof t))return e.apply(n,r);var s=$(e.prototype),a=e.apply(s,r);return o(a)?a:s}function ce(e,t,n,i){if(i=i||[],t||0===t){if(t<=0)return i.concat(e)}else t=1/0;for(var o=i.length,r=0,s=Tt(e);r<s;r++){var a=e[r];if(on(a)&&(Ct(a)||Ot(a)))if(t>1)ce(a,t-1,n,i),o=i.length;else for(var u=0,l=a.length;u<l;)i[o++]=a[u++];else n||(i[o++]=a)}return i}function pe(e,t){var n=function(i){var o=n.cache,r=""+(t?t.apply(this,arguments):i);return p(o,r)||(o[r]=e.apply(this,arguments)),o[r]};return n.cache={},n}function de(e,t,n){var i,o,r,s,a=0;n||(n={});var u=function(){a=!1===n.leading?0:jt(),i=null,s=e.apply(o,r),i||(o=r=null)},l=function(){var l=jt();a||!1!==n.leading||(a=l);var c=t-(l-a);return o=this,r=arguments,c<=0||c>t?(i&&(clearTimeout(i),i=null),a=l,s=e.apply(o,r),i||(o=r=null)):i||!1===n.trailing||(i=setTimeout(u,c)),s};return l.cancel=function(){clearTimeout(i),a=0,i=o=r=null},l}function he(e,t,n){var o,r,s,a,u,l=function(){var i=jt()-r;t>i?o=setTimeout(l,t-i):(o=null,n||(a=e.apply(u,s)),o||(s=u=null))},c=i(function(i){return u=this,s=i,r=jt(),o||(o=setTimeout(l,t),n&&(a=e.apply(u,s))),a});return c.cancel=function(){clearTimeout(o),o=s=u=null},c}function fe(e,t){return tn(t,e)}function me(e){return function(){return!e.apply(this,arguments)}}function ye(){var e=arguments,t=e.length-1;return function(){for(var n=t,i=e[t].apply(this,arguments);n--;)i=e[n].call(this,i);return i}}function ge(e,t){return function(){if(--e<1)return t.apply(this,arguments)}}function ve(e,t){var n;return function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=null),n}}function be(e,t,n){t=J(t,n);for(var i,o=S(e),r=0,s=o.length;r<s;r++)if(i=o[r],t(e[i],i,e))return i}function Se(e){return function(t,n,i){n=J(n,i);for(var o=Tt(t),r=e>0?0:o-1;r>=0&&r<o;r+=e)if(n(t[r],r,t))return r;return-1}}function Ce(e,t,n,i){n=J(n,i,1);for(var o=n(t),r=0,s=Tt(e);r<s;){var a=Math.floor((r+s)/2);n(e[a])<o?r=a+1:s=a}return r}function we(e,t,n){return function(i,o,r){var s=0,a=Tt(i);if("number"==typeof r)e>0?s=r>=0?r:Math.max(r+a,s):a=r>=0?Math.min(r+1,a):r+a+1;else if(n&&r&&a)return r=n(i,o),i[r]===o?r:-1;if(o!==o)return r=t(rt.q.call(i,s,a),h),r>=0?r+s:-1;for(r=e>0?s:a-1;r>=0&&r<a;r+=e)if(i[r]===o)return r;return-1}}function Oe(e,t,n){var i=on(e)?ln:be,o=i(e,t,n);if(void 0!==o&&-1!==o)return e[o]}function xe(e,t){return Oe(e,z(t))}function _e(e,t,n){t=G(t,n);var i,o;if(on(e))for(i=0,o=e.length;i<o;i++)t(e[i],i,e);else{var r=S(e);for(i=0,o=r.length;i<o;i++)t(e[r[i]],r[i],e)}return e}function Ee(e,t,n){t=J(t,n);for(var i=!on(e)&&S(e),o=(i||e).length,r=Array(o),s=0;s<o;s++){var a=i?i[s]:s;r[s]=t(e[a],a,e)}return r}function Ae(e){var t=function(t,n,i,o){var r=!on(t)&&S(t),s=(r||t).length,a=e>0?0:s-1;for(o||(i=t[r?r[a]:a],a+=e);a>=0&&a<s;a+=e){var u=r?r[a]:a;i=n(i,t[u],u,t)}return i};return function(e,n,i,o){var r=arguments.length>=3;return t(e,G(n,o,4),i,r)}}function Te(e,t,n){var i=[];return t=J(t,n),_e(e,function(e,n,o){t(e,n,o)&&i.push(e)}),i}function Re(e,t,n){return Te(e,me(J(t)),n)}function Fe(e,t,n){t=J(t,n);for(var i=!on(e)&&S(e),o=(i||e).length,r=0;r<o;r++){var s=i?i[r]:r;if(!t(e[s],s,e))return!1}return!0}function Ie(e,t,n){t=J(t,n);for(var i=!on(e)&&S(e),o=(i||e).length,r=0;r<o;r++){var s=i?i[r]:r;if(t(e[s],s,e))return!0}return!1}function Me(e,t,n,i){return on(e)||(e=F(e)),("number"!=typeof n||i)&&(n=0),pn(e,t,n)>=0}function Pe(e,t){return Ee(e,W(t))}function De(e,t){return Te(e,z(t))}function Ne(e,t,n){var i,o,r=-1/0,s=-1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e){e=on(e)?e:F(e);for(var a=0,u=e.length;a<u;a++)null!=(i=e[a])&&i>r&&(r=i)}else t=J(t,n),_e(e,function(e,n,i){((o=t(e,n,i))>s||o===-1/0&&r===-1/0)&&(r=e,s=o)});return r}function $e(e,t,n){var i,o,r=1/0,s=1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e){e=on(e)?e:F(e);for(var a=0,u=e.length;a<u;a++)null!=(i=e[a])&&i<r&&(r=i)}else t=J(t,n),_e(e,function(e,n,i){((o=t(e,n,i))<s||o===1/0&&r===1/0)&&(r=e,s=o)});return r}function Le(e,t,n){if(null==t||n)return on(e)||(e=F(e)),e[ne(e.length-1)];var i=on(e)?k(e):F(e),o=Tt(i);t=Math.max(Math.min(t,o),0);for(var r=o-1,s=0;s<t;s++){var a=ne(s,r),u=i[s];i[s]=i[a],i[a]=u}return i.slice(0,t)}function ke(e){return Le(e,1/0)}function Ve(e,t,n){var i=0;return t=J(t,n),Pe(Ee(e,function(e,n,o){return{value:e,index:i++,criteria:t(e,n,o)}}).sort(function(e,t){var n=e.criteria,i=t.criteria;if(n!==i){if(n>i||void 0===n)return 1;if(n<i||void 0===i)return-1}return e.index-t.index}),"value")}function Be(e,t){return function(n,i,o){var r=t?[[],[]]:{};return i=J(i,o),_e(n,function(t,o){var s=i(t,o,n);e(r,t,s)}),r}}function Ue(e){return e?Ct(e)?rt.q.call(e):st(e)?e.match(Sn):on(e)?Ee(e,q):F(e):[]}function Qe(e){return null==e?0:on(e)?e.length:S(e).length}function je(e,t,n){return t in n}function He(e,t,n){return rt.q.call(e,0,Math.max(0,e.length-(null==t||n?1:t)))}function qe(e,t,n){return null==e||e.length<1?null==t||n?void 0:[]:null==t||n?e[0]:He(e,e.length-t)}function ze(e,t,n){return rt.q.call(e,null==t||n?1:t)}function We(e,t,n){return null==e||e.length<1?null==t||n?void 0:[]:null==t||n?e[e.length-1]:ze(e,Math.max(0,e.length-t))}function Ge(e){return Te(e,Boolean)}function Ye(e,t){return ce(e,t,!1)}function Ke(e,t,n,i){a(t)||(i=n,n=t,t=!1),null!=n&&(n=J(n,i));for(var o=[],r=[],s=0,u=Tt(e);s<u;s++){var l=e[s],c=n?n(l,s,e):l;t&&!n?(s&&r===c||o.push(l),r=c):n?Me(r,c)||(r.push(c),o.push(l)):Me(o,l)||o.push(l)}return o}function Je(e){for(var t=[],n=arguments.length,i=0,o=Tt(e);i<o;i++){var r=e[i];if(!Me(t,r)){var s;for(s=1;s<n&&Me(arguments[s],r);s++);s===n&&t.push(r)}}return t}function Xe(e){for(var t=e&&Ne(e,Tt).length||0,n=Array(t),i=0;i<t;i++)n[i]=Pe(e,i);return n}function Ze(e,t){for(var n={},i=0,o=Tt(e);i<o;i++)t?n[e[i]]=t[i]:n[e[i][0]]=e[i][1];return n}function et(e,t,n){null==t&&(t=e||0,e=0),n||(n=t<e?-1:1);for(var i=Math.max(Math.ceil((t-e)/n),0),o=Array(i),r=0;r<i;r++,e+=n)o[r]=e;return o}function tt(e,t){if(null==t||t<1)return[];for(var n=[],i=0,o=e.length;i<o;)n.push(rt.q.call(e,i,i+=t));return n}function nt(e,t){return e._chain?O(t).chain():t}function it(e){return _e(P(e),function(t){var n=O[t]=e[t];O.prototype[t]=function(){var e=[this._wrapped];return rt.o.apply(e,arguments),nt(this,n.apply(O,e))}}),O}Object.defineProperty(t,"__esModule",{value:!0});var ot={};n.d(ot,"VERSION",function(){return rt.e}),n.d(ot,"restArguments",function(){return i}),n.d(ot,"isObject",function(){return o}),n.d(ot,"isNull",function(){return r}),n.d(ot,"isUndefined",function(){return s}),n.d(ot,"isBoolean",function(){return a}),n.d(ot,"isElement",function(){return u}),n.d(ot,"isString",function(){return st}),n.d(ot,"isNumber",function(){return at}),n.d(ot,"isDate",function(){return ut}),n.d(ot,"isRegExp",function(){return lt}),n.d(ot,"isError",function(){return ct}),n.d(ot,"isSymbol",function(){return pt}),n.d(ot,"isArrayBuffer",function(){return dt}),n.d(ot,"isDataView",function(){return St}),n.d(ot,"isArray",function(){return Ct}),n.d(ot,"isFunction",function(){return mt}),n.d(ot,"isArguments",function(){return Ot}),n.d(ot,"isFinite",function(){return d}),n.d(ot,"isNaN",function(){return h}),n.d(ot,"isTypedArray",function(){return At}),n.d(ot,"isEmpty",function(){return C}),n.d(ot,"isMatch",function(){return w}),n.d(ot,"isEqual",function(){return A}),n.d(ot,"isMap",function(){return $t}),n.d(ot,"isWeakMap",function(){return Lt}),n.d(ot,"isSet",function(){return kt}),n.d(ot,"isWeakSet",function(){return Vt}),n.d(ot,"keys",function(){return S}),n.d(ot,"allKeys",function(){return T}),n.d(ot,"values",function(){return F}),n.d(ot,"pairs",function(){return I}),n.d(ot,"invert",function(){return M}),n.d(ot,"functions",function(){return P}),n.d(ot,"methods",function(){return P}),n.d(ot,"extend",function(){return Bt}),n.d(ot,"extendOwn",function(){return Ut}),n.d(ot,"assign",function(){return Ut}),n.d(ot,"defaults",function(){return Qt}),n.d(ot,"create",function(){return L}),n.d(ot,"clone",function(){return k}),n.d(ot,"tap",function(){return V}),n.d(ot,"get",function(){return j}),n.d(ot,"has",function(){return H}),n.d(ot,"mapObject",function(){return X}),n.d(ot,"identity",function(){return q}),n.d(ot,"constant",function(){return f}),n.d(ot,"noop",function(){return Z}),n.d(ot,"toPath",function(){return B}),n.d(ot,"property",function(){return W}),n.d(ot,"propertyOf",function(){return ee}),n.d(ot,"matcher",function(){return z}),n.d(ot,"matches",function(){return z}),n.d(ot,"times",function(){return te}),n.d(ot,"random",function(){return ne}),n.d(ot,"now",function(){return jt}),n.d(ot,"escape",function(){return qt}),n.d(ot,"unescape",function(){return Wt}),n.d(ot,"templateSettings",function(){return Gt}),n.d(ot,"template",function(){return re}),n.d(ot,"result",function(){return se}),n.d(ot,"uniqueId",function(){return ae}),n.d(ot,"chain",function(){return ue}),n.d(ot,"iteratee",function(){return K}),n.d(ot,"partial",function(){return tn}),n.d(ot,"bind",function(){return nn}),n.d(ot,"bindAll",function(){return rn}),n.d(ot,"memoize",function(){return pe}),n.d(ot,"delay",function(){return sn}),n.d(ot,"defer",function(){return an}),n.d(ot,"throttle",function(){return de}),n.d(ot,"debounce",function(){return he}),n.d(ot,"wrap",function(){return fe}),n.d(ot,"negate",function(){return me}),n.d(ot,"compose",function(){return ye}),n.d(ot,"after",function(){return ge}),n.d(ot,"before",function(){return ve}),n.d(ot,"once",function(){return un}),n.d(ot,"findKey",function(){return be}),n.d(ot,"findIndex",function(){return ln}),n.d(ot,"findLastIndex",function(){return cn}),n.d(ot,"sortedIndex",function(){return Ce}),n.d(ot,"indexOf",function(){return pn}),n.d(ot,"lastIndexOf",function(){return dn}),n.d(ot,"find",function(){return Oe}),n.d(ot,"detect",function(){return Oe}),n.d(ot,"findWhere",function(){return xe}),n.d(ot,"each",function(){return _e}),n.d(ot,"forEach",function(){return _e}),n.d(ot,"map",function(){return Ee}),n.d(ot,"collect",function(){return Ee}),n.d(ot,"reduce",function(){return hn}),n.d(ot,"foldl",function(){return hn}),n.d(ot,"inject",function(){return hn}),n.d(ot,"reduceRight",function(){return fn}),n.d(ot,"foldr",function(){return fn}),n.d(ot,"filter",function(){return Te}),n.d(ot,"select",function(){return Te}),n.d(ot,"reject",function(){return Re}),n.d(ot,"every",function(){return Fe}),n.d(ot,"all",function(){return Fe}),n.d(ot,"some",function(){return Ie}),n.d(ot,"any",function(){return Ie}),n.d(ot,"contains",function(){return Me}),n.d(ot,"includes",function(){return Me}),n.d(ot,"include",function(){return Me}),n.d(ot,"invoke",function(){return mn}),n.d(ot,"pluck",function(){return Pe}),n.d(ot,"where",function(){return De}),n.d(ot,"max",function(){return Ne}),n.d(ot,"min",function(){return $e}),n.d(ot,"shuffle",function(){return ke}),n.d(ot,"sample",function(){return Le}),n.d(ot,"sortBy",function(){return Ve}),n.d(ot,"groupBy",function(){return yn}),n.d(ot,"indexBy",function(){return gn}),n.d(ot,"countBy",function(){return vn}),n.d(ot,"partition",function(){return bn}),n.d(ot,"toArray",function(){return Ue}),n.d(ot,"size",function(){return Qe}),n.d(ot,"pick",function(){return Cn}),n.d(ot,"omit",function(){return wn}),n.d(ot,"first",function(){return qe}),n.d(ot,"head",function(){return qe}),n.d(ot,"take",function(){return qe}),n.d(ot,"initial",function(){return He}),n.d(ot,"last",function(){return We}),n.d(ot,"rest",function(){return ze}),n.d(ot,"tail",function(){return ze}),n.d(ot,"drop",function(){return ze}),n.d(ot,"compact",function(){return Ge}),n.d(ot,"flatten",function(){return Ye}),n.d(ot,"without",function(){return xn}),n.d(ot,"uniq",function(){return Ke}),n.d(ot,"unique",function(){return Ke}),n.d(ot,"union",function(){return _n}),n.d(ot,"intersection",function(){return Je}),n.d(ot,"difference",function(){return On}),n.d(ot,"unzip",function(){return Xe}),n.d(ot,"transpose",function(){return Xe}),n.d(ot,"zip",function(){return En}),n.d(ot,"object",function(){return Ze}),n.d(ot,"range",function(){return et}),n.d(ot,"chunk",function(){return tt}),n.d(ot,"mixin",function(){return it}),n.d(ot,"default",function(){return An});var rt=n(14),st=l("String"),at=l("Number"),ut=l("Date"),lt=l("RegExp"),ct=l("Error"),pt=l("Symbol"),dt=l("ArrayBuffer"),ht=l("Function"),ft=rt.p.document&&rt.p.document.childNodes;"function"!=typeof/./&&"object"!=typeof Int8Array&&"function"!=typeof ft&&(ht=function(e){return"function"==typeof e||!1});var mt=ht,yt=l("Object"),gt=rt.s&&yt(new DataView(new ArrayBuffer(8))),vt="undefined"!=typeof Map&&yt(new Map),bt=l("DataView"),St=gt?c:bt,Ct=rt.k||l("Array"),wt=l("Arguments");!function(){wt(arguments)||(wt=function(e){return p(e,"callee")})}();var Ot=wt,xt=y("byteLength"),_t=m(xt),Et=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/,At=rt.r?g:f(!1),Tt=y("length");O.VERSION=rt.e,O.prototype.value=function(){return this._wrapped},O.prototype.valueOf=O.prototype.toJSON=O.prototype.value,O.prototype.toString=function(){return String(this._wrapped)};var Rt="[object DataView]",Ft="forEach",It=["clear","delete"],Mt=["get","has","set"],Pt=It.concat(Ft,Mt),Dt=It.concat(Mt),Nt=["add"].concat(It,Ft,"has"),$t=vt?R(Pt):l("Map"),Lt=vt?R(Dt):l("WeakMap"),kt=vt?R(Nt):l("Set"),Vt=l("WeakSet"),Bt=D(T),Ut=D(S),Qt=D(T,!0);O.toPath=B,O.iteratee=K;var jt=Date.now||function(){return(new Date).getTime()},Ht={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},qt=ie(Ht),zt=M(Ht),Wt=ie(zt),Gt=O.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},Yt=/(.)^/,Kt={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},Jt=/\\|'|\r|\n|\u2028|\u2029/g,Xt=/^\s*(\w|\$)+\s*$/,Zt=0,en=i(function(e,t){var n=en.placeholder,i=function(){for(var o=0,r=t.length,s=Array(r),a=0;a<r;a++)s[a]=t[a]===n?arguments[o++]:t[a];for(;o<arguments.length;)s.push(arguments[o++]);return le(e,i,this,this,s)};return i});en.placeholder=O;var tn=en,nn=i(function(e,t,n){if(!mt(e))throw new TypeError("Bind must be called on a function");var o=i(function(i){return le(e,o,t,this,n.concat(i))});return o}),on=m(Tt),rn=i(function(e,t){t=ce(t,!1,!1);var n=t.length;if(n<1)throw new Error("bindAll must be passed function names");for(;n--;){var i=t[n];e[i]=nn(e[i],e)}return e}),sn=i(function(e,t,n){return setTimeout(function(){return e.apply(null,n)},t)}),an=tn(sn,O,1),un=tn(ve,2),ln=Se(1),cn=Se(-1),pn=we(1,ln,Ce),dn=we(-1,cn),hn=Ae(1),fn=Ae(-1),mn=i(function(e,t,n){var i,o;return mt(t)?o=t:(t=U(t),i=t.slice(0,-1),t=t[t.length-1]),Ee(e,function(e){var r=o;if(!r){if(i&&i.length&&(e=Q(e,i)),null==e)return;r=e[t]}return null==r?r:r.apply(e,n)})}),yn=Be(function(e,t,n){p(e,n)?e[n].push(t):e[n]=[t]}),gn=Be(function(e,t,n){e[n]=t}),vn=Be(function(e,t,n){p(e,n)?e[n]++:e[n]=1}),bn=Be(function(e,t,n){e[n?0:1].push(t)},!0),Sn=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g,Cn=i(function(e,t){var n={},i=t[0];if(null==e)return n;mt(i)?(t.length>1&&(i=G(i,t[1])),t=T(e)):(i=je,t=ce(t,!1,!1),e=Object(e));for(var o=0,r=t.length;o<r;o++){var s=t[o],a=e[s];i(a,s,e)&&(n[s]=a)}return n}),wn=i(function(e,t){var n,i=t[0];return mt(i)?(i=me(i),t.length>1&&(n=t[1])):(t=Ee(ce(t,!1,!1),String),i=function(e,n){return!Me(t,n)}),Cn(e,i,n)}),On=i(function(e,t){return t=ce(t,!0,!0),Te(e,function(e){return!Me(t,e)})}),xn=i(function(e,t){return On(e,t)}),_n=i(function(e){return Ke(ce(e,!0,!0))}),En=i(Xe);_e(["pop","push","reverse","shift","sort","splice","unshift"],function(e){var t=rt.a[e];O.prototype[e]=function(){var n=this._wrapped;return null!=n&&(t.apply(n,arguments),"shift"!==e&&"splice"!==e||0!==n.length||delete n[0]),nt(this,n)}}),_e(["concat","join","slice"],function(e){var t=rt.a[e];O.prototype[e]=function(){var e=this._wrapped;return null!=e&&(e=t.apply(e,arguments)),nt(this,e)}});var An=O,Tn=it(ot);Tn._=Tn;var Rn=Tn;n.d(t,"default",function(){return Rn}),n.d(t,"VERSION",function(){return rt.e}),n.d(t,"restArguments",function(){return i}),n.d(t,"isObject",function(){return o}),n.d(t,"isNull",function(){return r}),n.d(t,"isUndefined",function(){return s}),n.d(t,"isBoolean",function(){return a}),n.d(t,"isElement",function(){return u}),n.d(t,"isString",function(){return st}),n.d(t,"isNumber",function(){return at}),n.d(t,"isDate",function(){return ut}),n.d(t,"isRegExp",function(){return lt}),n.d(t,"isError",function(){return ct}),n.d(t,"isSymbol",function(){return pt}),n.d(t,"isArrayBuffer",function(){return dt}),n.d(t,"isDataView",function(){return St}),n.d(t,"isArray",function(){return Ct}),n.d(t,"isFunction",function(){return mt}),n.d(t,"isArguments",function(){return Ot}),n.d(t,"isFinite",function(){return d}),n.d(t,"isNaN",function(){return h}),n.d(t,"isTypedArray",function(){return At}),n.d(t,"isEmpty",function(){return C}),n.d(t,"isMatch",function(){return w}),n.d(t,"isEqual",function(){return A}),n.d(t,"isMap",function(){return $t}),n.d(t,"isWeakMap",function(){return Lt}),n.d(t,"isSet",function(){return kt}),n.d(t,"isWeakSet",function(){return Vt}),n.d(t,"keys",function(){return S}),n.d(t,"allKeys",function(){return T}),n.d(t,"values",function(){return F}),n.d(t,"pairs",function(){return I}),n.d(t,"invert",function(){return M}),n.d(t,"functions",function(){return P}),n.d(t,"methods",function(){return P}),n.d(t,"extend",function(){return Bt}),n.d(t,"extendOwn",function(){return Ut}),n.d(t,"assign",function(){return Ut}),n.d(t,"defaults",function(){return Qt}),n.d(t,"create",function(){return L}),n.d(t,"clone",function(){return k}),n.d(t,"tap",function(){return V}),n.d(t,"get",function(){return j}),n.d(t,"has",function(){return H}),n.d(t,"mapObject",function(){return X}),n.d(t,"identity",function(){return q}),n.d(t,"constant",function(){return f}),n.d(t,"noop",function(){return Z}),n.d(t,"toPath",function(){return B}),n.d(t,"property",function(){return W}),n.d(t,"propertyOf",function(){return ee}),n.d(t,"matcher",function(){return z}),n.d(t,"matches",function(){return z}),n.d(t,"times",function(){return te}),n.d(t,"random",function(){return ne}),n.d(t,"now",function(){return jt}),n.d(t,"escape",function(){return qt}),n.d(t,"unescape",function(){return Wt}),n.d(t,"templateSettings",function(){return Gt}),n.d(t,"template",function(){return re}),n.d(t,"result",function(){return se}),n.d(t,"uniqueId",function(){return ae}),n.d(t,"chain",function(){return ue}),n.d(t,"iteratee",function(){return K}),n.d(t,"partial",function(){return tn}),n.d(t,"bind",function(){return nn}),n.d(t,"bindAll",function(){return rn}),n.d(t,"memoize",function(){return pe}),n.d(t,"delay",function(){return sn}),n.d(t,"defer",function(){return an}),n.d(t,"throttle",function(){return de}),n.d(t,"debounce",function(){return he}),n.d(t,"wrap",function(){return fe}),n.d(t,"negate",function(){return me}),n.d(t,"compose",function(){return ye}),n.d(t,"after",function(){return ge}),n.d(t,"before",function(){return ve}),n.d(t,"once",function(){return un}),n.d(t,"findKey",function(){return be}),n.d(t,"findIndex",function(){return ln}),n.d(t,"findLastIndex",function(){return cn}),n.d(t,"sortedIndex",function(){return Ce}),n.d(t,"indexOf",function(){return pn}),n.d(t,"lastIndexOf",function(){return dn}),n.d(t,"find",function(){return Oe}),n.d(t,"detect",function(){return Oe}),n.d(t,"findWhere",function(){return xe}),n.d(t,"each",function(){return _e}),n.d(t,"forEach",function(){return _e}),n.d(t,"map",function(){return Ee}),n.d(t,"collect",function(){return Ee}),n.d(t,"reduce",function(){return hn}),n.d(t,"foldl",function(){return hn}),n.d(t,"inject",function(){return hn}),n.d(t,"reduceRight",function(){return fn}),n.d(t,"foldr",function(){return fn}),n.d(t,"filter",function(){return Te}),n.d(t,"select",function(){return Te}),n.d(t,"reject",function(){return Re}),n.d(t,"every",function(){return Fe}),n.d(t,"all",function(){return Fe}),n.d(t,"some",function(){return Ie}),n.d(t,"any",function(){return Ie}),n.d(t,"contains",function(){return Me}),n.d(t,"includes",function(){return Me}),n.d(t,"include",function(){return Me}),n.d(t,"invoke",function(){return mn}),n.d(t,"pluck",function(){return Pe}),n.d(t,"where",function(){return De}),n.d(t,"max",function(){return Ne}),n.d(t,"min",function(){return $e}),n.d(t,"shuffle",function(){return ke}),n.d(t,"sample",function(){return Le}),n.d(t,"sortBy",function(){return Ve}),n.d(t,"groupBy",function(){return yn}),n.d(t,"indexBy",function(){return gn}),n.d(t,"countBy",function(){return vn}),n.d(t,"partition",function(){return bn}),n.d(t,"toArray",function(){return Ue}),n.d(t,"size",function(){return Qe}),n.d(t,"pick",function(){return Cn}),n.d(t,"omit",function(){return wn}),n.d(t,"first",function(){return qe}),n.d(t,"head",function(){return qe}),n.d(t,"take",function(){return qe}),n.d(t,"initial",function(){return He}),n.d(t,"last",function(){return We}),n.d(t,"rest",function(){return ze}),n.d(t,"tail",function(){return ze}),n.d(t,"drop",function(){return ze}),n.d(t,"compact",function(){return Ge}),n.d(t,"flatten",function(){return Ye}),n.d(t,"without",function(){return xn}),n.d(t,"uniq",function(){return Ke}),n.d(t,"unique",function(){return Ke}),n.d(t,"union",function(){return _n}),n.d(t,"intersection",function(){return Je}),n.d(t,"difference",function(){return On}),n.d(t,"unzip",function(){return Xe}),n.d(t,"transpose",function(){return Xe}),n.d(t,"zip",function(){return En}),n.d(t,"object",function(){return Ze}),n.d(t,"range",function(){return et}),n.d(t,"chunk",function(){return tt}),n.d(t,"mixin",function(){return it})},function(e,t,n){"use strict";function i(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return 1===e.length&&e[0]instanceof c?e[0]:new c(1!==e.length||o.isString(e[0])?c.createElement.apply(c,e):e[0])}Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),r=n(5),s=n(9),a=n(77),u=n(4),l=n(24),c=function(){function e(e){r.Assert.exists(e),this.el=e}return e.createElement=function(t,n){for(var i=[],r=2;r<arguments.length;r++)i[r-2]=arguments[r];var s=document.createElement(t);for(var a in n)if("className"===a)s.className=n.className;else{var l=-1!==a.indexOf("-")?a:u.Utils.toDashCase(a);s.setAttribute(l,n[a])}return o.each(i,function(t){t instanceof HTMLElement?s.appendChild(t):o.isString(t)?s.innerHTML+=t:t instanceof e&&s.appendChild(t.el)}),s},e.prototype.append=function(e){this.el.appendChild(e)},e.prototype.css=function(e){return this.el.style[e]?this.el.style[e]:window.getComputedStyle(this.el).getPropertyValue(e)},e.prototype.text=function(e){if(u.Utils.isUndefined(e))return this.el.innerText||this.el.textContent;void 0!=this.el.innerText?this.el.innerText=e:void 0!=this.el.textContent&&(this.el.textContent=e)},e.nodeListToArray=function(e){for(var t=e.length,n=new Array(t);t--;)n[t]=e.item(t);return n},e.prototype.focus=function(e){if("IE"===l.DeviceUtils.getDeviceName()){var t=window.pageXOffset,n=window.pageYOffset;this.el.focus(),e&&window.scrollTo(t,n)}else this.el.focus({preventScroll:e})},e.prototype.empty=function(){for(;this.el.firstChild;)this.removeChild(this.el.firstChild)},e.prototype.removeChild=function(e){var t=e.parentNode;try{this.el.removeChild(e)}catch(n){if("NotFoundError"!==n.name)throw n;if(t===e.parentNode)throw n}},e.prototype.remove=function(){this.el.parentNode&&this.el.parentNode.removeChild(this.el)},e.prototype.show=function(){this.el.style.display="block",i(this.el).setAttribute("aria-hidden","false")},e.prototype.hide=function(){this.el.style.display="none",i(this.el).setAttribute("aria-hidden","true")},e.prototype.unhide=function(){this.el.style.display="",i(this.el).setAttribute("aria-hidden","false")},e.prototype.toggle=function(e){void 0===e?"block"==this.el.style.display?this.hide():this.show():e?this.show():this.hide()},e.prototype.isVisible=function(){return"none"!==this.css("display")&&("hidden"!==this.css("visibility")&&(!this.hasClass("coveo-tab-disabled")&&(!this.hasClass("coveo-hidden")&&!this.hasClass("coveo-hidden-dependant-facet"))))},e.prototype.getAttribute=function(e){return this.el.getAttribute(e)},e.prototype.setAttribute=function(e,t){this.el.setAttribute(e,t)},e.prototype.find=function(e){return this.el.querySelector(e)},e.prototype.is=function(e){return this.el.tagName.toLowerCase()==e.toLowerCase()||(!("."!=e[0]||!this.hasClass(e.substr(1)))||"#"==e[0]&&this.el.getAttribute("id")==e.substr(1))},e.prototype.closest=function(e){return this.traverseAncestorForClass(this.el,e)},e.prototype.parent=function(e){if(void 0!=this.el.parentElement)return this.traverseAncestorForClass(this.el.parentElement,e)},e.prototype.parents=function(t){for(var n=[],i=this.parent(t);i;)n.push(i),i=new e(i).parent(t);return n},e.prototype.children=function(){return e.nodeListToArray(this.el.children)},e.prototype.siblings=function(e){for(var t=[],n=this.el.parentNode.firstChild;n;n=n.nextSibling)n!=this.el&&(!this.matches(n,e)&&e||t.push(n));return t},e.prototype.matches=function(e,t){for(var n=document.querySelectorAll(t),i=0;i<n.length;i++)if(n[i]===e)return!0;return!1},e.prototype.findAll=function(t){return e.nodeListToArray(this.el.querySelectorAll(t))},e.prototype.findClass=function(t){if("getElementsByClassName"in this.el)return e.nodeListToArray(this.el.getElementsByClassName(t))},e.prototype.findId=function(e){return document.getElementById(e)},e.prototype.addClass=function(e){var t=this;o.isArray(e)?o.each(e,function(e){t.addClass(e)}):this.hasClass(e)||(this.el.className?this.el.className+=" "+e:this.el.className=e)},e.prototype.removeClass=function(e){this.el.className=this.el.className.replace(new RegExp("(^|\\s)"+e+"(\\s|$)","g"),"$1").trim()},e.prototype.toggleClass=function(e,t){u.Utils.isNullOrUndefined(t)?this.hasClass(e)?this.removeClass(e):this.addClass(e):t?this.addClass(e):this.removeClass(e)},e.prototype.setHtml=function(e){this.el.innerHTML=e},e.prototype.getClass=function(){var t=this.getAttribute("class");return t&&t.match?t.match(e.CLASS_NAME_REGEX)||[]:[]},e.prototype.hasClass=function(e){return o.contains(this.getClass(),e)},e.prototype.detach=function(){this.el.parentElement&&this.el.parentElement.removeChild(this.el)},e.prototype.insertAfter=function(e){e.parentNode&&e.parentNode.insertBefore(this.el,e.nextSibling)},e.prototype.insertBefore=function(e){e.parentNode&&e.parentNode.insertBefore(this.el,e)},e.prototype.prepend=function(t){this.el.firstChild?new e(t).insertBefore(this.el.firstChild):this.el.appendChild(t)},e.prototype.on=function(t,n){var i=this;if(o.isArray(t))o.each(t,function(e){i.on(e,n)});else{var r=this.processEventTypeToBeJQueryCompatible(t),s=a.JQueryUtils.getJQuery();if(this.shouldUseJQueryEvent())s(this.el).on(r,n);else if(this.el.addEventListener){var u=function(e){n(e,e.detail)};e.handlers.set(n,u),r&&-1!=r.indexOf("touch")?this.el.addEventListener(r,u,{passive:!0}):this.el.addEventListener(r,u,!1)}else this.el.on&&this.el.on("on"+r,n)}},e.prototype.one=function(e,t){var n=this;if(o.isArray(e))o.each(e,function(e){n.one(e,t)});else{var i=this.processEventTypeToBeJQueryCompatible(e),r=function(e,o){return n.off(i,r),t(e,o)};this.on(i,r)}},e.prototype.off=function(t,n){var i=this;if(o.isArray(t))o.each(t,function(e){i.off(e,n)});else{var r=this.processEventTypeToBeJQueryCompatible(t),s=a.JQueryUtils.getJQuery();if(this.shouldUseJQueryEvent())s(this.el).off(r,n);else if(this.el.removeEventListener){var u=e.handlers.get(n);u&&this.el.removeEventListener(r,u,!1)}else this.el.off&&this.el.off("on"+r,n)}},e.prototype.trigger=function(e,t){var n=this.processEventTypeToBeJQueryCompatible(e);if(this.shouldUseJQueryEvent())a.JQueryUtils.getJQuery()(this.el).trigger(n,t);else if(void 0!==window.CustomEvent){var i=new CustomEvent(n,{detail:t,bubbles:!0});this.el.dispatchEvent(i)}else try{this.el.dispatchEvent(this.buildIE11CustomEvent(n,t))}catch(e){this.oldBrowserError()}},e.prototype.isEmpty=function(){return e.ONLY_WHITE_SPACE_REGEX.test(this.el.innerHTML)},e.prototype.isValid=function(){return null!=this.el&&void 0!=this.el.getAttribute},e.prototype.isDescendant=function(e){for(var t=this.el.parentNode;null!=t;){if(t==e)return!0;t=t.parentNode}return!1},e.prototype.replaceWith=function(t){this.el.parentNode&&new e(t).insertAfter(this.el),this.detach()},e.prototype.position=function(){var e=this.offsetParent(),t=this.offset(),n={top:0,left:0};i(e).is("html")||(n=i(e).offset());var o=parseInt(i(e).css("borderTopWidth")),r=parseInt(i(e).css("borderLeftWidth"));o=isNaN(o)?0:o,r=isNaN(r)?0:r,n={top:n.top+o,left:n.left+r};var s=parseInt(this.css("marginTop")),a=parseInt(this.css("marginLeft"));return s=isNaN(s)?0:s,a=isNaN(a)?0:a,{top:t.top-n.top-s,left:t.left-n.left-a}},e.prototype.offsetParent=function(){for(var e=this.el.offsetParent;e instanceof HTMLElement&&"static"===i(e).css("position");)e=e.offsetParent;return e instanceof HTMLElement?e:document.documentElement},e.prototype.offset=function(){if(!this.el.getClientRects().length)return{top:0,left:0};var e=this.el.getBoundingClientRect();if(e.width||e.height){var t=this.el.ownerDocument,n=t.documentElement;return{top:e.top+window.pageYOffset-n.clientTop,left:e.left+window.pageXOffset-n.clientLeft}}return e},e.prototype.width=function(){return this.el.offsetWidth},e.prototype.height=function(){return this.el.offsetHeight},e.prototype.clone=function(e){return void 0===e&&(e=!1),i(this.el.cloneNode(e))},e.prototype.canHandleEvent=function(e){var t="on"+e,n=t in this.el;return!n&&this.el.setAttribute&&(this.el.setAttribute(t,"return;"),n="function"==typeof this.el[t],this.el.removeAttribute(t)),n},e.prototype.buildIE11CustomEvent=function(e,t){var n=document.createEvent("CustomEvent");return n.initCustomEvent(e,!0,!0,t),n},e.prototype.shouldUseJQueryEvent=function(){return a.JQueryUtils.getJQuery()&&!e.useNativeJavaScriptEvents},e.prototype.processEventTypeToBeJQueryCompatible=function(e){return e?e.replace(/[^a-zA-Z0-9\:\_]/g,""):e},e.prototype.traverseAncestorForClass=function(e,t){void 0===e&&(e=this.el),0==t.indexOf(".")&&(t=t.substr(1));for(var n=!1;!n&&(i(e).hasClass(t)&&(n=!0),"body"!=e.tagName.toLowerCase())&&null!=e.parentElement;)n||(e=e.parentElement);if(n)return e},e.prototype.oldBrowserError=function(){new s.Logger(this).error("CANNOT TRIGGER EVENT FOR OLDER BROWSER")},e.CLASS_NAME_REGEX=/-?[_a-zA-Z]+[_a-zA-Z0-9-]*/g,e.ONLY_WHITE_SPACE_REGEX=/^\s*$/,e.useNativeJavaScriptEvents=!1,e.handlers=new WeakMap,e}();t.Dom=c;var p=function(){function e(e){this.win=e}return e.prototype.height=function(){return this.win.innerHeight},e.prototype.width=function(){return this.win.innerWidth},e.prototype.scrollY=function(){return this.supportPageOffset()?this.win.pageYOffset:this.isCSS1Compat()?this.win.document.documentElement.scrollTop:this.win.document.body.scrollTop},e.prototype.scrollX=function(){return this.supportPageOffset()?window.pageXOffset:this.isCSS1Compat()?document.documentElement.scrollLeft:document.body.scrollLeft},e.prototype.isCSS1Compat=function(){return"CSS1Compat"===(this.win.document.compatMode||"")},e.prototype.supportPageOffset=function(){return void 0!==this.win.pageXOffset},e}();t.Win=p;var d=function(){function e(e){this.doc=e}return e.prototype.height=function(){var e=this.doc.body;return Math.max(e.scrollHeight,e.offsetHeight)},e.prototype.width=function(){var e=this.doc.body;return Math.max(e.scrollWidth,e.offsetWidth)},e}();t.Doc=d,t.$$=i},function(e,t,n){"use strict";var i=this&&this.__assign||Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++){t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))(function(o,r){function s(e){try{u(i.next(e))}catch(e){r(e)}}function a(e){try{u(i.throw(e))}catch(e){r(e)}}function u(e){e.done?o(e.value):new n(function(t){t(e.value)}).then(s,a)}u((i=i.apply(e,t||[])).next())})},r=this&&this.__generator||function(e,t){function n(e){return function(t){return i([e,t])}}function i(n){if(o)throw new TypeError("Generator is already executing.");for(;u;)try{if(o=1,r&&(s=r[2&n[0]?"return":n[0]?"throw":"next"])&&!(s=s.call(r,n[1])).done)return s;switch(r=0,s&&(n=[0,s.value]),n[0]){case 0:case 1:s=n;break;case 4:return u.label++,{value:n[1],done:!1};case 5:u.label++,r=n[1],n=[0];continue;case 7:n=u.ops.pop(),u.trys.pop();continue;default:if(s=u.trys,!(s=s.length>0&&s[s.length-1])&&(6===n[0]||2===n[0])){u=0;continue}if(3===n[0]&&(!s||n[1]>s[0]&&n[1]<s[3])){u.label=n[1];break}if(6===n[0]&&u.label<s[1]){u.label=s[1],s=n;break}if(s&&u.label<s[2]){u.label=s[2],u.ops.push(n);break}s[2]&&u.ops.pop(),u.trys.pop();continue}n=t.call(e,u)}catch(e){n=[6,e],r=0}finally{o=s=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}var o,r,s,a,u={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]};return a={next:n(0),throw:n(1),return:n(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a};Object.defineProperty(t,"__esModule",{value:!0});var s=n(0),a=n(44),u=n(17),l=n(5),c=n(9),p=n(28),d=n(79),h=n(13),f=n(1),m=n(42),y=n(77),g=n(4),v=n(10),b=n(7),S=n(19),C=n(455),w=n(30),O=function(){function e(){}return e.registerDefaultOptions=function(e,t){var n=e.CoveoDefaultOptions||{},i=g.Utils.extendDeep(n,t);e.CoveoDefaultOptions=i},e.resolveDefaultOptions=function(t,n){var i,o=t.CoveoDefaultOptions;return i=g.Utils.exists(o)?g.Utils.extendDeep(o,n):n,t.parentElement?e.resolveDefaultOptions(t.parentElement,i):i},e.registerAutoCreateComponent=function(t){l.Assert.exists(t),l.Assert.exists(t.ID),l.Assert.doesNotExists(e.namedMethods[t.ID]),s.contains(e.registeredComponents,t.ID)||(e.registeredComponents.push(t.ID),t.aliases&&(e.componentAliases[t.ID]=t.aliases)),null==_.eagerlyLoadedComponents[t.ID]&&(_.eagerlyLoadedComponents[t.ID]=t),null==x.lazyLoadedComponents[t.ID]&&(x.lazyLoadedComponents[t.ID]=function(){return new Promise(function(e,n){e(t)})})},e.registerComponentFields=function(t,n){e.fieldsNeededForQuery=g.Utils.concatWithoutDuplicate(e.fieldsNeededForQuery,n);var i=function(t){null==e.fieldsNeededForQueryByComponent[t]?e.fieldsNeededForQueryByComponent[t]=n:e.fieldsNeededForQueryByComponent[t]=g.Utils.concatWithoutDuplicate(e.fieldsNeededForQueryByComponent[t],n)};i(t),i(b.Component.computeCssClassNameForType(t))},e.getRegisteredFieldsForQuery=function(){return e.fieldsNeededForQuery},e.getRegisteredFieldsComponentForQuery=function(t){var n=e.fieldsNeededForQueryByComponent[t]||[],i=e.fieldsNeededForQueryByComponent[b.Component.computeCssClassNameForType(t)]||[];return g.Utils.concatWithoutDuplicate(n,i)},e.isComponentClassIdRegistered=function(t){return s.contains(e.registeredComponents,t)||s.contains(e.registeredComponents,b.Component.computeCssClassNameForType(t))},e.getListOfRegisteredComponents=function(){return e.registeredComponents},e.getListOfLoadedComponents=function(){return s.keys(_.eagerlyLoadedComponents)},e.getRegisteredComponent=function(e){return _.eagerlyLoadedComponents[e]},e.initializeFramework=function(t,n,i){var s=this;if(l.Assert.exists(t),b.Component.get(t,a.QueryController,!0))return this.logger.error("This DOM element has already been initialized as a search interface, skipping initialization",t),Promise.resolve({elem:t});n=e.resolveDefaultOptions(t,n);var c=function(e,t){return o(s,void 0,void 0,function(){var n,i=this;return r(this,function(o){try{return n=t.map(function(t){return t.catch(function(t){return i.logger.warn('An error occurred when trying to defer the "'+e+'" event. The defer will be ignored.',"Error: "+t)})}),[2,Promise.all(n)]}catch(e){this.logger.error('An unexpected error occurred when trying to defer the "'+event+'" event. All defers will be ignored.',"Error: "+e)}return[2]})})},p=function(e){var n={defer:[]};return f.$$(t).trigger(e,n),n.defer.length>0?c(e,n.defer):Promise.resolve()};e.performInitFunctionsOption(n,u.InitializationEvents.beforeInitialization),f.$$(t).trigger(u.InitializationEvents.beforeInitialization);var d=function(){return o(s,void 0,void 0,function(){var i,o,s;return r(this,function(r){switch(r.label){case 0:return[4,e.initExternalComponents(t,n)];case 1:return i=r.sent(),e.performInitFunctionsOption(n,u.InitializationEvents.afterComponentsInitialization),[4,p(u.InitializationEvents.afterComponentsInitialization)];case 2:return r.sent(),f.$$(t).trigger(u.InitializationEvents.restoreHistoryState),e.performInitFunctionsOption(n,u.InitializationEvents.afterInitialization),[4,p(u.InitializationEvents.afterInitialization)];case 3:return r.sent(),o=b.Component.get(t,S.SearchInterface),e.shouldExecuteFirstQueryAutomatically(o)&&(e.logFirstQueryCause(o),s=!0,Coveo.Recommendation&&(s=!(o instanceof Coveo.Recommendation)),b.Component.get(t,a.QueryController).executeQuery({logInActionsHistory:s,isFirstQuery:!0})),[2,i]}})})},h=i(t,n);return h.isLazyInit?h.initResult.then(d).then(function(){return{elem:t}}):d().then(function(){return{elem:t}})},e.initSearchInterface=function(t,n){void 0===n&&(n={}),n=e.resolveDefaultOptions(t,n);var i=new S.SearchInterface(t,n.SearchInterface,n.Analytics);i.options.originalOptionsObject=n;var o={options:n,bindings:i.getBindings()};return e.automaticallyCreateComponentsInside(t,o,["Recommendation"])},e.initStandaloneSearchInterface=function(t,n){void 0===n&&(n={}),n=e.resolveDefaultOptions(t,n),n.Querybox||(n.Querybox={}),n.Omnibox||(n.Omnibox={}),n.Searchbox||(n.Searchbox={}),n.Querybox.triggerQueryOnClear&&n.Omnibox.triggerQueryOnClear&&n.Searchbox.triggerOnQueryClear||(n.Querybox.triggerQueryOnClear=!1,n.Omnibox.triggerQueryOnClear=!1,n.Searchbox.triggerQueryOnClear=!1);var i=new S.StandaloneSearchInterface(t,n.StandaloneSearchInterface,n.Analytics);i.options.originalOptionsObject=n;var o={options:n,bindings:i.getBindings()};return e.automaticallyCreateComponentsInside(t,o)},e.initRecommendationInterface=function(t,n){void 0===n&&(n={}),n=e.resolveDefaultOptions(t,n);var i=s.extend({},n.SearchInterface,n.Recommendation);i.mainSearchInterface&&(i.firstLoadingAnimation=f.$$("span").el);var o=new window.Coveo.Recommendation(t,i,n.Analytics);o.options.originalOptionsObject=n;var r={options:n,bindings:o.getBindings()};return e.automaticallyCreateComponentsInside(t,r)},e.automaticallyCreateComponentsInsideResult=function(t,n,o){void 0===o&&(o={});var r=i({initOptions:o},n.searchInterface.options.originalOptionsObject),s=i({},n.searchInterface.getBindings(),{resultElement:t}),a={options:r,bindings:s,result:n};return e.automaticallyCreateComponentsInside(t,a)},e.automaticallyCreateComponentsInside=function(e,t,n){var i=this;void 0===n&&(n=[]),l.Assert.exists(e);var o,r=C.InitializationHelper.findDOMElementsToIgnore(e,n),a=C.InitializationHelper.findDOMElementsToInitialize(e,r),u=s.chain(a).map(function(e){var n=i.componentsFactory(e.htmlElements,e.componentClassId,t);return o=n.isLazyInit,n.factory}).map(function(e){var t=e();return t?Promise.all(t).then(function(){return!0}):Promise.resolve(!0)}).value();return{initResult:Promise.all(u).then(function(){return!0}).catch(function(e){return i.logger.error(e),i.logger.warn("Skipping initialization of previous component in error ... "),!0}),isLazyInit:o}},e.registerNamedMethod=function(t,n){l.Assert.isNonEmptyString(t),l.Assert.doesNotExists(_.eagerlyLoadedComponents[t]),l.Assert.doesNotExists(e.namedMethods[t]),l.Assert.exists(n),e.namedMethods[t]=n},e.isNamedMethodRegistered=function(t){return g.Utils.exists(e.namedMethods[t])},e.monkeyPatchComponentMethod=function(e,t,n){l.Assert.isNonEmptyString(e),l.Assert.exists(n);var i;if(e.indexOf(".")>0){var o=e.split(".");l.Assert.check(2==o.length,"Invalid method name, correct syntax is CoveoComponent.methodName."),i=o[0],e=o[1]}var r=b.Component.get(t,i);l.Assert.exists(r),l.Assert.exists(r[e]);var s="__"+e;g.Utils.exists(r[s])||(r[s]=r[e]),r[e]=n},e.initBoxInterface=function(t,n,i,o){void 0===n&&(n={}),void 0===i&&(i="Standard"),void 0===o&&(o=!0),n=e.resolveDefaultOptions(t,n);var r="Box";"Standard"!=i&&(r+="For"+i);var s=b.Component.getComponentRef(r);if(s){new c.Logger(t).info("Initializing box of type "+r);var a=o?s.getInjection:function(){},u=new s(t,n[r],n.Analytics,a,n);u.options.originalOptionsObject=n;var p={options:n,bindings:u.getBindings()};return e.automaticallyCreateComponentsInside(t,p)}return{initResult:new Promise(function(e,n){new c.Logger(t).error("Trying to initialize box of type : "+r+" but not found in code (not compiled)!"),l.Assert.fail("Cannot initialize unknown type of box"),n(!1)}),isLazyInit:!1}},e.dispatchNamedMethodCall=function(t,n,i){l.Assert.isNonEmptyString(t),l.Assert.exists(n);var o=e.namedMethods[t];return l.Assert.exists(o),e.logger.trace("Dispatching named method call of "+t,n,i),0!=i.length?o.apply(null,[n].concat(i)):o.apply(null,[n])},e.dispatchNamedMethodCallOrComponentCreation=function(t,n,i){return l.Assert.isNonEmptyString(t),l.Assert.exists(n),e.isNamedMethodRegistered(t)?e.dispatchNamedMethodCall(t,n,i):e.isThereASingleComponentBoundToThisEleme