(e,t,n)
| 1 | !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define("ReactiveSearch",["react"],t):"object"==typeof exports?exports.ReactiveSearch=t(require("react")):e.ReactiveSearch=t(e.React)}(window,(function(e){var o=Math.clz32,t=Math.LN2,a=String.prototype,n=Math.pow,s=Math.abs,r=Number.isNaN,l=Math.log,d=Math.ceil,u=Math.floor,c=Math.max,g=Math.min,m=Math.round,p=String.fromCharCode,f=Math.PI;return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var o in e)t.d(r,o,function(t){return e[t]}.bind(null,o));return r},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="",t(t.s=115)}([function(e,t,n){"use strict";function r(){return le++}function o(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];"undefined"!=typeof console&&console.error.apply(console,e)}function i(e){if(null==e||"object"!=typeof e)return e;var t=e,n=J.call(e);if("[object Array]"===n){if(!U(e)){t=[];for(var r=0,o=e.length;r<o;r++)t[r]=i(e[r])}}else if(K[n]){if(!U(e)){var a=e.constructor;if(a.from)t=a.from(e);else{t=new a(e.length);for(r=0,o=e.length;r<o;r++)t[r]=e[r]}}}else if(!X[n]&&!U(e)&&!D(e))for(var s in t={},e)e.hasOwnProperty(s)&&s!=se&&(t[s]=i(e[s]));return t}function a(e,t,n){if(!A(t)||!A(e))return n?i(t):e;for(var r in t)if(t.hasOwnProperty(r)&&r!=se){var o=e[r],s=t[r];!A(s)||!A(o)||w(s)||w(o)||D(s)||D(o)||T(s)||T(o)||U(s)||U(o)?(n||!(r in e))&&(e[r]=i(t[r])):a(o,s,n)}return e}function s(e,t){for(var n=e[0],r=1,o=e.length;r<o;r++)n=a(n,e[r],t);return n}function l(e,t){if(Object.assign)Object.assign(e,t);else for(var n in t)t.hasOwnProperty(n)&&n!=se&&(e[n]=t[n]);return e}function u(e,t,n){for(var r,o=x(t),i=0;i<o.length;i++)r=o[i],(n?null!=t[r]:null==e[r])&&(e[r]=t[r]);return e}function c(e,t){if(e){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n}return-1}function d(e,t){function n(){}var r=e.prototype;for(var o in n.prototype=t.prototype,e.prototype=new n,r)r.hasOwnProperty(o)&&(e.prototype[o]=r[o]);e.prototype.constructor=e,e.superClass=t}function p(e,t,n){if(e="prototype"in e?e.prototype:e,t="prototype"in t?t.prototype:t,Object.getOwnPropertyNames)for(var r,o=Object.getOwnPropertyNames(t),i=0;i<o.length;i++)"constructor"!==(r=o[i])&&(n?null!=t[r]:null==e[r])&&(e[r]=t[r]);else u(e,t,n)}function h(e){return!!e&&"string"!=typeof e&&"number"==typeof e.length}function g(e,t,n){if(e&&t)if(e.forEach&&e.forEach===te)e.forEach(t,n);else if(e.length===+e.length)for(var r=0,o=e.length;r<o;r++)t.call(n,e[r],r,e);else for(var i in e)e.hasOwnProperty(i)&&t.call(n,e[i],i,e)}function y(e,t,n){if(!e)return[];if(!t)return V(e);if(e.map&&e.map===oe)return e.map(t,n);for(var r=[],o=0,i=e.length;o<i;o++)r.push(t.call(n,e[o],o,e));return r}function m(e,t,n,r){if(e&&t){for(var o=0,i=e.length;o<i;o++)n=t.call(r,n,e[o],o,e);return n}}function v(e,t,n){if(!e)return[];if(!t)return V(e);if(e.filter&&e.filter===ne)return e.filter(t,n);for(var r=[],o=0,i=e.length;o<i;o++)t.call(n,e[o],o,e)&&r.push(e[o]);return r}function b(e,t,n){if(e&&t)for(var r=0,o=e.length;r<o;r++)if(t.call(n,e[r],r,e))return e[r]}function x(e){if(!e)return[];if(Object.keys)return Object.keys(e);var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n);return t}function _(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return function(){return e.apply(this,t.concat(re.call(arguments)))}}function w(e){return Array.isArray?Array.isArray(e):"[object Array]"===J.call(e)}function S(e){return"function"==typeof e}function O(e){return"string"==typeof e}function C(e){return"[object String]"===J.call(e)}function I(e){return"number"==typeof e}function A(e){var t=typeof e;return"function"==t||!!e&&"object"==t}function T(e){return!!X[J.call(e)]}function k(e){return!!K[J.call(e)]}function D(e){return"object"==typeof e&&"number"==typeof e.nodeType&&"object"==typeof e.ownerDocument}function E(e){return null!=e.colorStops}function P(e){return null!=e.image}function j(e){return"[object RegExp]"===J.call(e)}function M(e){return e!=e}function R(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,r=e.length;n<r;n++)if(null!=e[n])return e[n]}function L(e,t){return null==e?t:e}function N(e,t,n){return null==e?null==t?n:t:e}function V(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return re.apply(e,t)}function F(e){if("number"==typeof e)return[e,e,e,e];var t=e.length;return 2===t?[e[0],e[1],e[0],e[1]]:3===t?[e[0],e[1],e[2],e[1]]:e}function B(e,t){if(!e)throw new Error(t)}function z(e){return null==e?null:"function"==typeof e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}function H(e){e[de]=!0}function U(e){return e[de]}function q(e){return new he(e)}function Q(e,t){for(var n=new e.constructor(e.length+t.length),r=0;r<e.length;r++)n[r]=e[r];var o=e.length;for(r=0;r<t.length;r++)n[r+o]=t[r];return n}function G(e,t){var n;if(Object.create)n=Object.create(e);else{var r=function(){};r.prototype=e,n=new r}return t&&l(n,t),n}function W(e){var t=e.style;t.webkitUserSelect="none",t.userSelect="none",t.webkitTapHighlightColor="rgba(0,0,0,0)",t["-webkit-touch-callout"]="none"}function Y(e,t){return e.hasOwnProperty(t)}function $(){}n.r(t),n.d(t,"guid",(function(){return r})),n.d(t,"logError",(function(){return o})),n.d(t,"clone",(function(){return i})),n.d(t,"merge",(function(){return a})),n.d(t,"mergeAll",(function(){return s})),n.d(t,"extend",(function(){return l})),n.d(t,"defaults",(function(){return u})),n.d(t,"createCanvas",(function(){return ue})),n.d(t,"indexOf",(function(){return c})),n.d(t,"inherits",(function(){return d})),n.d(t,"mixin",(function(){return p})),n.d(t,"isArrayLike",(function(){return h})),n.d(t,"each",(function(){return g})),n.d(t,"map",(function(){return y})),n.d(t,"reduce",(function(){return m})),n.d(t,"filter",(function(){return v})),n.d(t,"find",(function(){return b})),n.d(t,"keys",(function(){return x})),n.d(t,"bind",(function(){return ce})),n.d(t,"curry",(function(){return _})),n.d(t,"isArray",(function(){return w})),n.d(t,"isFunction",(function(){return S})),n.d(t,"isString",(function(){return O})),n.d(t,"isStringSafe",(function(){return C})),n.d(t,"isNumber",(function(){return I})),n.d(t,"isObject",(function(){return A})),n.d(t,"isBuiltInObject",(function(){return T})),n.d(t,"isTypedArray",(function(){return k})),n.d(t,"isDom",(function(){return D})),n.d(t,"isGradientObject",(function(){return E})),n.d(t,"isImagePatternObject",(function(){return P})),n.d(t,"isRegExp",(function(){return j})),n.d(t,"eqNaN",(function(){return M})),n.d(t,"retrieve",(function(){return R})),n.d(t,"retrieve2",(function(){return L})),n.d(t,"retrieve3",(function(){return N})),n.d(t,"slice",(function(){return V})),n.d(t,"normalizeCssArray",(function(){return F})),n.d(t,"assert",(function(){return B})),n.d(t,"trim",(function(){return z})),n.d(t,"setAsPrimitive",(function(){return H})),n.d(t,"isPrimitive",(function(){return U})),n.d(t,"HashMap",(function(){return he})),n.d(t,"createHashMap",(function(){return q})),n.d(t,"concatArray",(function(){return Q})),n.d(t,"createObject",(function(){return G})),n.d(t,"disableUserSelect",(function(){return W})),n.d(t,"hasOwn",(function(){return Y})),n.d(t,"noop",(function(){return $})),n.d(t,"RADIAN_TO_DEGREE",(function(){return ge}));var Z=n(11),X=m(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],(function(e,t){return e["[object "+t+"]"]=!0,e}),{}),K=m(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],(function(e,t){return e["[object "+t+"Array]"]=!0,e}),{}),J=Object.prototype.toString,ee=Array.prototype,te=ee.forEach,ne=ee.filter,re=ee.slice,oe=ee.map,ie=function(){}.constructor,ae=ie?ie.prototype:null,se="__proto__",le=2311,ue=Z.d.createCanvas,ce=ae&&S(ae.bind)?ae.call.bind(ae.bind):function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return function(){return e.apply(t,n.concat(re.call(arguments)))}},de="__ec_primitive__",pe=function(){function e(){this.data={}}return e.prototype.delete=function(e){var t=this.has(e);return t&&delete this.data[e],t},e.prototype.has=function(e){return this.data.hasOwnProperty(e)},e.prototype.get=function(e){return this.data[e]},e.prototype.set=function(e,t){return this.data[e]=t,this},e.prototype.keys=function(){return x(this.data)},e.prototype.forEach=function(e){var t=this.data;for(var n in t)t.hasOwnProperty(n)&&e(t[n],n)},e}(),fe="function"==typeof Map,he=function(){function e(t){function n(e,t){r?o.set(e,t):o.set(t,e)}var r=w(t);this.data=fe?new Map:new pe;var o=this;t instanceof e?t.each(n):t&&g(t,n)}return e.prototype.hasKey=function(e){return this.data.has(e)},e.prototype.get=function(e){return this.data.get(e)},e.prototype.set=function(e,t){return this.data.set(e,t),t},e.prototype.each=function(e,t){this.data.forEach((function(n,r){e.call(t,n,r)}))},e.prototype.keys=function(){var e=this.data.keys();return fe?Array.from(e):e},e.prototype.removeKey=function(e){this.data.delete(e)},e}(),ge=180/f},function(t){t.exports=e},function(e,t){"use strict";var n=function(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1},r=new function(){this.browser=new n,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow="undefined"!=typeof window};"object"==typeof wx&&"function"==typeof wx.getSystemInfoSync?(r.wxa=!0,r.touchEventsSupported=!0):"undefined"==typeof document&&"undefined"!=typeof self?r.worker=!0:"undefined"==typeof navigator?(r.node=!0,r.svgSupported=!0):function(e,t){var n=t.browser,r=e.match(/Firefox\/([\d.]+)/),o=e.match(/MSIE\s([\d.]+)/)||e.match(/Trident\/.+?rv:(([\d.]+))/),i=e.match(/Edge?\/([\d.]+)/),a=/micromessenger/i.test(e);r&&(n.firefox=!0,n.version=r[1]),o&&(n.ie=!0,n.version=o[1]),i&&(n.edge=!0,n.version=i[1],n.newEdge=18<+i[1].split(".")[0]),a&&(n.weChat=!0),t.svgSupported="undefined"!=typeof SVGRect,t.touchEventsSupported="ontouchstart"in window&&!n.ie&&!n.edge,t.pointerEventsSupported="onpointerdown"in window&&(n.edge||n.ie&&11<=+n.version),t.domSupported="undefined"!=typeof document;var s=document.documentElement.style;t.transform3dSupported=(n.ie&&"transition"in s||n.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),t.transformSupported=t.transform3dSupported||n.ie&&9<=+n.version}(navigator.userAgent,r),t.a=r},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)} |
| 2 | /* |
| 3 | object-assign |
| 4 | (c) Sindre Sorhus |
no test coverage detected