From baada5c1e1178175f4365795e3cbd463f7bd6c97 Mon Sep 17 00:00:00 2001 From: Deepak Grover Date: Fri, 5 Jan 2018 01:52:00 +0530 Subject: [PATCH] web: build beta-01 --- packages/web/umd/reactivesearch.js | 2 +- packages/web/umd/reactivesearch.js.br | Bin 110184 -> 108424 bytes packages/web/umd/reactivesearch.js.gzip | Bin 137191 -> 135014 bytes 3 files changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/web/umd/reactivesearch.js b/packages/web/umd/reactivesearch.js index d97c641cd0..e5ecc38cba 100644 --- a/packages/web/umd/reactivesearch.js +++ b/packages/web/umd/reactivesearch.js @@ -1 +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)}("undefined"==typeof self?this:self,function(e){var t=Math.PI,n=Math.sqrt,r=Math.LN2,o=Math.log,i=Math.pow,a=String.fromCharCode,s=Math.abs,u=Math.exp,l=Math.expm1,c=Math.max,f=Math.round,p=Math.floor,d=Math.ceil,h=Math.min;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,{configurable:!1,enumerable:!0,get: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=199)}([function(e,t,n){var r=n(3),o=n(33),i=n(21),a=n(22),s=n(30),u=function(e,t,n){var l,c,f,p,d=e&u.F,h=e&u.G,y=e&u.S,m=e&u.P,g=e&u.B,v=h?r:y?r[t]||(r[t]={}):(r[t]||{}).prototype,b=h?o:o[t]||(o[t]={}),w=b.prototype||(b.prototype={});for(l in h&&(n=t),n)c=!d&&v&&void 0!==v[l],f=(c?v:n)[l],p=g&&c?s(f,r):m&&"function"==typeof f?s(Function.call,f):f,v&&a(v,l,f,e&u.U),b[l]!=f&&i(b,l,p),m&&w[l]!=f&&(w[l]=f)};r.core=o,u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,e.exports=u},function(t){t.exports=e},function(e,t,n){var r=n(6);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e){var t=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=t)},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(17),o=n(126),i=function(e){return e&&e.__esModule?e:{default:e}}(o),a=(0,r.oneOfType)([r.string,(0,r.arrayOf)(r.string),r.object]),s={any:r.any,bool:r.bool,boolRequired:r.bool.isRequired,components:(0,r.arrayOf)(r.string),children:r.any,data:(0,r.arrayOf)(r.object),dataFieldArray:(0,r.oneOfType)([r.string,(0,r.arrayOf)(r.string)]).isRequired,dataNumberBox:(0,r.shape)({label:r.string,start:r.number.isRequired,end:r.number.isRequired}).isRequired,date:(0,r.oneOfType)([r.string,(0,r.arrayOf)(r.string)]),dateObject:r.object,dateRange:(0,r.shape)({start:(0,r.oneOfType)([r.string,(0,r.arrayOf)(r.string)]),end:(0,r.oneOfType)([r.string,(0,r.arrayOf)(r.string)])}),fieldWeights:(0,r.arrayOf)(r.number),filterLabel:r.string,func:r.func,funcRequired:r.func.isRequired,fuzziness:(0,r.oneOf)([0,1,2,"AUTO"]),highlightField:(0,r.oneOfType)([r.string,(0,r.arrayOf)(r.string)]),hits:(0,r.arrayOf)(r.object),iconPosition:(0,r.oneOf)(["left","right"]),labelPosition:(0,r.oneOf)(["left","right","top","bottom"]),number:r.number,options:(0,r.oneOfType)([(0,r.arrayOf)(r.object),r.object]),paginationAt:(0,r.oneOf)(["top","bottom","both"]),range:(0,r.shape)({start:r.number,end:r.number}),rangeLabels:(0,r.shape)({start:r.string,end:r.string}),react:(0,r.shape)({and:a,or:a,not:a}),selectedValues:r.object,selectedValue:(0,r.oneOfType)([r.string,(0,r.arrayOf)(r.string),(0,r.arrayOf)(r.object),r.object,r.number,(0,r.arrayOf)(r.number)]),suggestions:(0,r.arrayOf)(r.object),supportedOrientations:(0,r.oneOf)(["portrait","portrait-upside-down","landscape","landscape-left","landscape-right"]),sortBy:(0,r.oneOf)(["asc","desc"]),sortOptions:(0,r.arrayOf)((0,r.shape)({label:r.string,dataField:r.string,sortBy:r.string})),sortByWithCount:(0,r.oneOf)(["asc","desc","count"]),stats:(0,r.arrayOf)(r.object),string:r.string,stringArray:(0,r.arrayOf)(r.string),stringRequired:r.string.isRequired,style:r.object,queryFormatDate:(0,r.oneOf)(Object.keys(i.default)),queryFormatSearch:(0,r.oneOf)(["and","or"]),queryFormatNumberBox:(0,r.oneOf)(["exact","lte","gte"]),params:r.object.isRequired,props:r.object,rangeLabelsAlign:(0,r.oneOf)(["left","right"]),title:(0,r.oneOfType)([r.string,r.any])};t.default=s},function(e){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){function n(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t, or explicitly pass "'+b+'" as a prop to "'+r+'".'),o.initSelector(),o.initSubscription(),o}return f(i,n),i.prototype.getChildContext=function(){var e,t=this.propsMode?null:this.subscription;return e={},e[O]=t||this.context[O],e},i.prototype.componentDidMount=function(){g&&(this.subscription.trySubscribe(),this.selector.run(this.props),this.selector.shouldComponentUpdate&&this.forceUpdate())},i.prototype.componentWillReceiveProps=function(e){this.selector.run(e)},i.prototype.shouldComponentUpdate=function(){return this.selector.shouldComponentUpdate},i.prototype.componentWillUnmount=function(){this.subscription&&this.subscription.tryUnsubscribe(),this.subscription=null,this.notifyNestedSubs=d,this.store=null,this.selector.run=d,this.selector.shouldComponentUpdate=!1},i.prototype.getWrappedInstance=function(){return L()(C,"To access the wrapped instance, you need to specify { withRef: true } in the options argument of the "+s+"() call."),this.wrappedInstance},i.prototype.setWrappedInstance=function(e){this.wrappedInstance=e},i.prototype.initSelector=function(){var t=e(this.store.dispatch,o);this.selector=h(t,this.store),this.selector.run(this.props)},i.prototype.initSubscription=function(){if(g){var e=(this.propsMode?this.props:this.context)[O];this.subscription=new U(this.store,e,this.onStateChange.bind(this)),this.notifyNestedSubs=this.subscription.notifyNestedSubs.bind(this.subscription)}},i.prototype.onStateChange=function(){this.selector.run(this.props),this.selector.shouldComponentUpdate?(this.componentDidUpdate=this.notifyNestedSubsOnComponentDidUpdate,this.setState(z)):this.notifyNestedSubs()},i.prototype.notifyNestedSubsOnComponentDidUpdate=function(){this.componentDidUpdate=void 0,this.notifyNestedSubs()},i.prototype.isSubscribed=function(){return!!this.subscription&&this.subscription.isSubscribed()},i.prototype.addExtraProps=function(e){if(!(C||y||this.propsMode&&this.subscription))return e;var t=B({},e);return C&&(t.ref=this.setWrappedInstance),y&&(t[y]=this.renderCount++),this.propsMode&&this.subscription&&(t[O]=this.subscription),t},i.prototype.render=function(){var e=this.selector;if(e.shouldComponentUpdate=!1,e.error)throw e.error;return Object(N.createElement)(t,this.addExtraProps(e.props))},i}(N.Component);return a.WrappedComponent=t,a.displayName=r,a.childContextTypes=k,a.contextTypes=P,a.propTypes=P,V()(a,t)}}function m(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!==e&&t!==t}function g(e,t){if(m(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=0;o"+o+""};e.exports=function(e,t){var n={};n[e]=t(s),r(r.P+r.F*o(function(){var t=""[e]('"');return t!==t.toLowerCase()||3n.length?e:r+l(n,t)}function y(){for(var e,t=arguments.length,n=0,r="";n>8-i%1*8)){if(255<(e=n.charCodeAt(i+=.75)))throw new Error('"btoa" failed: The string to be encoded contains characters outside of the Latin1 range.');o=o<<8|e}return r},t.isAppbase=function(e){return n(e.url,"scalr.api.appbase.io")},t.uuidv4=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=0|16*Math.random();return("x"==e?t:8|3&t).toString(16)})}},function(e,t,n){var r=n(66),o=n(35);e.exports=function(e){return r(o(e))}},function(e,t,n){var r=n(67),o=n(45),i=n(27),a=n(34),s=n(20),u=n(143),l=Object.getOwnPropertyDescriptor;t.f=n(12)?l:function(e,t){if(e=i(e),t=a(t,!0),u)try{return l(e,t)}catch(e){}return s(e,t)?o(!r.f.call(e,t),e[t]):void 0}},function(e,t,n){var r=n(20),o=n(15),i=n(100)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=o(e),r(e,i)?e[i]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,n){var r=n(18);e.exports=function(e,t,n){return r(e),void 0===t?e:1===n?function(n){return e.call(t,n)}:2===n?function(n,r){return e.call(t,n,r)}:3===n?function(n,r,o){return e.call(t,n,r,o)}:function(){return e.apply(t,arguments)}}},function(e){var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},function(e,t,n){"use strict";var r=n(5);e.exports=function(e,t){return!!e&&r(function(){t?e.call(null,function(){},1):e.call(null)})}},function(e){var t=e.exports={version:"2.5.3"};"number"==typeof __e&&(__e=t)},function(e,t,n){var r=n(6);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e){e.exports=function(e){return isNaN(e=+e)?0:(0v;v++)if((5==e||l||v in y)&&(p=y[v],d=m(p,v,h),e))if(n)b[v]=d;else if(d)switch(e){case 3:return!0;case 5:return p;case 6:return v;case 2:b.push(p)}else if(u)return!1;return l?-1:3==e||u?u:b}}},function(e,t,n){"use strict";t.__esModule=!0,t.input=t.suggestions=t.suggestionsContainer=void 0;var r=n(24),o=n(16),i=function(e){return e&&e.__esModule?e:{default:e}}(o),a=function(e){var t=e.theme;return(0,r.css)("border:1px solid ",t.alertColor,";")},s=(0,r.css)("width:100%;height:42px;padding:8px;border:1px solid #ccc;background-color:#fafafa;font-size:0.9rem;outline:none;&:focus{background-color:#fff;}"),u=(0,i.default)("input",{target:"css-qtr97w0"})(s,";",function(e){return e.showIcon&&"left"===e.iconPosition&&(0,r.css)("padding-left:30px;")},";",function(e){return e.showIcon&&"right"===e.iconPosition&&(0,r.css)("padding-right:30px;")},";",function(e){return e.alert&&a},";"),l=(0,r.css)("display:block;width:100%;border:1px solid #ccc;background-color:#fff;font-size:0.9rem;z-index:3;position:absolute;top:41px;margin:0;padding:0;list-style:none;max-height:260px;overflow-y:auto;li{display:flex;justify-content:space-between;cursor:pointer;padding:10px;user-select:none;& > div{display:block;display:-webkit-box;width:100%;max-height:2.3rem;line-height:1.2rem;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;}&:hover,&:focus{background-color:#eee;}}"),c=(0,r.css)("position:relative;");t.default=u,t.suggestionsContainer=c,t.suggestions=l,t.input=s},function(e,t,n){"use strict";if(n(12)){var r=n(47),o=n(3),i=n(5),a=n(0),s=n(83),u=n(123),l=n(30),c=n(53),d=n(45),h=n(21),y=n(55),m=n(36),g=n(14),v=n(169),b=n(49),w=n(34),C=n(20),_=n(68),O=n(6),S=n(15),P=n(114),k=n(50),E=n(29),x=n(51).f,I=n(116),N=n(46),R=n(10),T=n(38),M=n(74),A=n(81),j=n(119),D=n(60),V=n(78),F=n(52),L=n(118),Q=n(159),q=n(13),U=n(28),B=q.f,W=U.f,z=o.RangeError,H=o.TypeError,Y=o.Uint8Array,K=Array.prototype,G=u.ArrayBuffer,J=u.DataView,X=T(0),$=T(2),Z=T(3),ee=T(4),te=T(5),ne=T(6),re=M(!0),oe=M(!1),ie=j.values,ae=j.keys,se=j.entries,ue=K.lastIndexOf,le=K.reduce,ce=K.reduceRight,fe=K.join,pe=K.sort,de=K.slice,he=K.toString,ye=K.toLocaleString,me=R("iterator"),ge=R("toStringTag"),ve=N("typed_constructor"),be=N("def_constructor"),we=s.CONSTR,Ce=s.TYPED,_e=s.VIEW,Oe=T(1,function(e,t){return xe(A(e,e[be]),t)}),Se=i(function(){return 1===new Y(new Uint16Array([1]).buffer)[0]}),Pe=!!Y&&!!Y.prototype.set&&i(function(){new Y(1).set({})}),ke=function(e,t){var n=m(e);if(0>n||n%t)throw z("Wrong offset!");return n},Ee=function(e){if(O(e)&&Ce in e)return e;throw H(e+" is not a typed array!")},xe=function(e,t){if(!(O(e)&&ve in e))throw H("It is not a typed array constructor!");return new e(t)},Ie=function(e,t){return Ne(A(e,e[be]),t)},Ne=function(e,t){for(var n=0,r=t.length,o=xe(e,r);r>n;)o[n]=t[n++];return o},Re=function(e,t,n){B(e,t,{get:function(){return this._d[n]}})},Te=function(e){var t,n,r,o,i,a,s=S(e),u=arguments.length,c=1t;t++)o[t]=f?c(s[t],t):s[t];return o},Me=function(){for(var e=0,t=arguments.length,n=xe(this,t);t>e;)n[e]=arguments[e++];return n},Ae=!!Y&&i(function(){ye.call(new Y(1))}),je=function(){return ye.apply(Ae?de.call(Ee(this)):Ee(this),arguments)},De={copyWithin:function(e,t){return Q.call(Ee(this),e,t,2n)throw z("Wrong length!");for(;i(r=f(r))?0:255(a=d-p))throw z("Wrong length!")}else if((a=g(o)*t)+p>d)throw z("Wrong length!");s=a/t}else s=v(n),a=s*t,i=new G(a);for(h(e,"_d",{b:i,o:p,l:a,e:s,v:new J(i)});fe?c(e+t,0):h(e,t)}},function(e,t,n){var r=n(2),o=n(146),i=n(101),a=n(100)("IE_PROTO"),s=function(){},u=function(){var e,t=n(98)("iframe"),r=i.length;for(t.style.display="none",n(102).appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write("