UNPKG

@thebase/ui

Version:

CDN-installable Owl and Bootstrap 5 UI component library.

2 lines (1 loc) • 14.1 kB
function Ve(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}var K=Ve;function Xe(t){return t}var k=Xe;var gt=Math.max;function Je(t,e,r){return e=gt(e===void 0?t.length-1:e,0),function(){for(var o=arguments,f=-1,i=gt(o.length-e,0),p=Array(i);++f<i;)p[f]=o[e+f];f=-1;for(var a=Array(e+1);++f<e;)a[f]=o[f];return a[e]=r(p),K(t,this,a)}}var yt=Je;function Ye(t){return function(){return t}}var bt=Ye;var Ze=typeof global=="object"&&global&&global.Object===Object&&global,$=Ze;var Qe=typeof self=="object"&&self&&self.Object===Object&&self,tr=$||Qe||Function("return this")(),x=tr;var er=x.Symbol,I=er;var vt=Object.prototype,rr=vt.hasOwnProperty,or=vt.toString,W=I?I.toStringTag:void 0;function ar(t){var e=rr.call(t,W),r=t[W];try{t[W]=void 0;var o=!0}catch{}var f=or.call(t);return o&&(e?t[W]=r:delete t[W]),f}var _t=ar;var fr=Object.prototype,ir=fr.toString;function nr(t){return ir.call(t)}var Ot=nr;var pr="[object Null]",sr="[object Undefined]",Tt=I?I.toStringTag:void 0;function ur(t){return t==null?t===void 0?sr:pr:Tt&&Tt in Object(t)?_t(t):Ot(t)}var g=ur;function mr(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}var u=mr;var lr="[object AsyncFunction]",dr="[object Function]",xr="[object GeneratorFunction]",cr="[object Proxy]";function hr(t){if(!u(t))return!1;var e=g(t);return e==dr||e==xr||e==lr||e==cr}var S=hr;var gr=x["__core-js_shared__"],V=gr;var jt=(function(){var t=/[^.]+$/.exec(V&&V.keys&&V.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""})();function yr(t){return!!jt&&jt in t}var At=yr;var br=Function.prototype,vr=br.toString;function _r(t){if(t!=null){try{return vr.call(t)}catch{}try{return t+""}catch{}}return""}var It=_r;var Or=/[\\^$.*+?()[\]{}|]/g,Tr=/^\[object .+?Constructor\]$/,jr=Function.prototype,Ar=Object.prototype,Ir=jr.toString,Sr=Ar.hasOwnProperty,wr=RegExp("^"+Ir.call(Sr).replace(Or,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Cr(t){if(!u(t)||At(t))return!1;var e=S(t)?wr:Tr;return e.test(It(t))}var St=Cr;function Pr(t,e){return t?.[e]}var wt=Pr;function Er(t,e){var r=wt(t,e);return St(r)?r:void 0}var w=Er;var Mr=(function(){try{var t=w(Object,"defineProperty");return t({},"",{}),t}catch{}})(),C=Mr;var Lr=C?function(t,e){return C(t,"toString",{configurable:!0,enumerable:!1,value:bt(e),writable:!0})}:k,Ct=Lr;var Br=800,Rr=16,Dr=Date.now;function Wr(t){var e=0,r=0;return function(){var o=Dr(),f=Rr-(o-r);if(r=o,f>0){if(++e>=Br)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}var Pt=Wr;var Nr=Pt(Ct),Et=Nr;function Fr(t,e){return Et(yt(t,e,k),t+"")}var X=Fr;function zr(){this.__data__=[],this.size=0}var Mt=zr;function Gr(t,e){return t===e||t!==t&&e!==e}var v=Gr;function Ur(t,e){for(var r=t.length;r--;)if(v(t[r][0],e))return r;return-1}var _=Ur;var Hr=Array.prototype,qr=Hr.splice;function Kr(t){var e=this.__data__,r=_(e,t);if(r<0)return!1;var o=e.length-1;return r==o?e.pop():qr.call(e,r,1),--this.size,!0}var Lt=Kr;function kr(t){var e=this.__data__,r=_(e,t);return r<0?void 0:e[r][1]}var Bt=kr;function $r(t){return _(this.__data__,t)>-1}var Rt=$r;function Vr(t,e){var r=this.__data__,o=_(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this}var Dt=Vr;function P(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var o=t[e];this.set(o[0],o[1])}}P.prototype.clear=Mt;P.prototype.delete=Lt;P.prototype.get=Bt;P.prototype.has=Rt;P.prototype.set=Dt;var O=P;function Xr(){this.__data__=new O,this.size=0}var Wt=Xr;function Jr(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}var Nt=Jr;function Yr(t){return this.__data__.get(t)}var Ft=Yr;function Zr(t){return this.__data__.has(t)}var zt=Zr;var Qr=w(x,"Map"),J=Qr;var to=w(Object,"create"),y=to;function eo(){this.__data__=y?y(null):{},this.size=0}var Gt=eo;function ro(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}var Ut=ro;var oo="__lodash_hash_undefined__",ao=Object.prototype,fo=ao.hasOwnProperty;function io(t){var e=this.__data__;if(y){var r=e[t];return r===oo?void 0:r}return fo.call(e,t)?e[t]:void 0}var Ht=io;var no=Object.prototype,po=no.hasOwnProperty;function so(t){var e=this.__data__;return y?e[t]!==void 0:po.call(e,t)}var qt=so;var uo="__lodash_hash_undefined__";function mo(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=y&&e===void 0?uo:e,this}var Kt=mo;function E(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var o=t[e];this.set(o[0],o[1])}}E.prototype.clear=Gt;E.prototype.delete=Ut;E.prototype.get=Ht;E.prototype.has=qt;E.prototype.set=Kt;var nt=E;function lo(){this.size=0,this.__data__={hash:new nt,map:new(J||O),string:new nt}}var kt=lo;function xo(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}var $t=xo;function co(t,e){var r=t.__data__;return $t(e)?r[typeof e=="string"?"string":"hash"]:r.map}var T=co;function ho(t){var e=T(this,t).delete(t);return this.size-=e?1:0,e}var Vt=ho;function go(t){return T(this,t).get(t)}var Xt=go;function yo(t){return T(this,t).has(t)}var Jt=yo;function bo(t,e){var r=T(this,t),o=r.size;return r.set(t,e),this.size+=r.size==o?0:1,this}var Yt=bo;function M(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var o=t[e];this.set(o[0],o[1])}}M.prototype.clear=kt;M.prototype.delete=Vt;M.prototype.get=Xt;M.prototype.has=Jt;M.prototype.set=Yt;var Zt=M;var vo=200;function _o(t,e){var r=this.__data__;if(r instanceof O){var o=r.__data__;if(!J||o.length<vo-1)return o.push([t,e]),this.size=++r.size,this;r=this.__data__=new Zt(o)}return r.set(t,e),this.size=r.size,this}var Qt=_o;function L(t){var e=this.__data__=new O(t);this.size=e.size}L.prototype.clear=Wt;L.prototype.delete=Nt;L.prototype.get=Ft;L.prototype.has=zt;L.prototype.set=Qt;var te=L;function Oo(t,e,r){e=="__proto__"&&C?C(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}var B=Oo;function To(t,e,r){(r!==void 0&&!v(t[e],r)||r===void 0&&!(e in t))&&B(t,e,r)}var N=To;function jo(t){return function(e,r,o){for(var f=-1,i=Object(e),p=o(e),a=p.length;a--;){var n=p[t?a:++f];if(r(i[n],n,i)===!1)break}return e}}var ee=jo;var Ao=ee(),re=Ao;var ie=typeof exports=="object"&&exports&&!exports.nodeType&&exports,oe=ie&&typeof module=="object"&&module&&!module.nodeType&&module,Io=oe&&oe.exports===ie,ae=Io?x.Buffer:void 0,fe=ae?ae.allocUnsafe:void 0;function So(t,e){if(e)return t.slice();var r=t.length,o=fe?fe(r):new t.constructor(r);return t.copy(o),o}var ne=So;var wo=x.Uint8Array,pt=wo;function Co(t){var e=new t.constructor(t.byteLength);return new pt(e).set(new pt(t)),e}var pe=Co;function Po(t,e){var r=e?pe(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}var se=Po;function Eo(t,e){var r=-1,o=t.length;for(e||(e=Array(o));++r<o;)e[r]=t[r];return e}var ue=Eo;var me=Object.create,Mo=(function(){function t(){}return function(e){if(!u(e))return{};if(me)return me(e);t.prototype=e;var r=new t;return t.prototype=void 0,r}})(),le=Mo;function Lo(t,e){return function(r){return t(e(r))}}var de=Lo;var Bo=de(Object.getPrototypeOf,Object),Y=Bo;var Ro=Object.prototype;function Do(t){var e=t&&t.constructor,r=typeof e=="function"&&e.prototype||Ro;return t===r}var Z=Do;function Wo(t){return typeof t.constructor=="function"&&!Z(t)?le(Y(t)):{}}var xe=Wo;function No(t){return t!=null&&typeof t=="object"}var c=No;var Fo="[object Arguments]";function zo(t){return c(t)&&g(t)==Fo}var st=zo;var ce=Object.prototype,Go=ce.hasOwnProperty,Uo=ce.propertyIsEnumerable,Ho=st((function(){return arguments})())?st:function(t){return c(t)&&Go.call(t,"callee")&&!Uo.call(t,"callee")},F=Ho;var qo=Array.isArray,z=qo;var Ko=9007199254740991;function ko(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=Ko}var Q=ko;function $o(t){return t!=null&&Q(t.length)&&!S(t)}var R=$o;function Vo(t){return c(t)&&R(t)}var he=Vo;function Xo(){return!1}var ge=Xo;var ve=typeof exports=="object"&&exports&&!exports.nodeType&&exports,ye=ve&&typeof module=="object"&&module&&!module.nodeType&&module,Jo=ye&&ye.exports===ve,be=Jo?x.Buffer:void 0,Yo=be?be.isBuffer:void 0,Zo=Yo||ge,tt=Zo;var Qo="[object Object]",ta=Function.prototype,ea=Object.prototype,_e=ta.toString,ra=ea.hasOwnProperty,oa=_e.call(Object);function aa(t){if(!c(t)||g(t)!=Qo)return!1;var e=Y(t);if(e===null)return!0;var r=ra.call(e,"constructor")&&e.constructor;return typeof r=="function"&&r instanceof r&&_e.call(r)==oa}var Oe=aa;var fa="[object Arguments]",ia="[object Array]",na="[object Boolean]",pa="[object Date]",sa="[object Error]",ua="[object Function]",ma="[object Map]",la="[object Number]",da="[object Object]",xa="[object RegExp]",ca="[object Set]",ha="[object String]",ga="[object WeakMap]",ya="[object ArrayBuffer]",ba="[object DataView]",va="[object Float32Array]",_a="[object Float64Array]",Oa="[object Int8Array]",Ta="[object Int16Array]",ja="[object Int32Array]",Aa="[object Uint8Array]",Ia="[object Uint8ClampedArray]",Sa="[object Uint16Array]",wa="[object Uint32Array]",s={};s[va]=s[_a]=s[Oa]=s[Ta]=s[ja]=s[Aa]=s[Ia]=s[Sa]=s[wa]=!0;s[fa]=s[ia]=s[ya]=s[na]=s[ba]=s[pa]=s[sa]=s[ua]=s[ma]=s[la]=s[da]=s[xa]=s[ca]=s[ha]=s[ga]=!1;function Ca(t){return c(t)&&Q(t.length)&&!!s[g(t)]}var Te=Ca;function Pa(t){return function(e){return t(e)}}var je=Pa;var Ae=typeof exports=="object"&&exports&&!exports.nodeType&&exports,G=Ae&&typeof module=="object"&&module&&!module.nodeType&&module,Ea=G&&G.exports===Ae,ut=Ea&&$.process,Ma=(function(){try{var t=G&&G.require&&G.require("util").types;return t||ut&&ut.binding&&ut.binding("util")}catch{}})(),mt=Ma;var Ie=mt&&mt.isTypedArray,La=Ie?je(Ie):Te,et=La;function Ba(t,e){if(!(e==="constructor"&&typeof t[e]=="function")&&e!="__proto__")return t[e]}var U=Ba;var Ra=Object.prototype,Da=Ra.hasOwnProperty;function Wa(t,e,r){var o=t[e];(!(Da.call(t,e)&&v(o,r))||r===void 0&&!(e in t))&&B(t,e,r)}var Se=Wa;function Na(t,e,r,o){var f=!r;r||(r={});for(var i=-1,p=e.length;++i<p;){var a=e[i],n=o?o(r[a],t[a],a,r,t):void 0;n===void 0&&(n=t[a]),f?B(r,a,n):Se(r,a,n)}return r}var we=Na;function Fa(t,e){for(var r=-1,o=Array(t);++r<t;)o[r]=e(r);return o}var Ce=Fa;var za=9007199254740991,Ga=/^(?:0|[1-9]\d*)$/;function Ua(t,e){var r=typeof t;return e=e??za,!!e&&(r=="number"||r!="symbol"&&Ga.test(t))&&t>-1&&t%1==0&&t<e}var rt=Ua;var Ha=Object.prototype,qa=Ha.hasOwnProperty;function Ka(t,e){var r=z(t),o=!r&&F(t),f=!r&&!o&&tt(t),i=!r&&!o&&!f&&et(t),p=r||o||f||i,a=p?Ce(t.length,String):[],n=a.length;for(var l in t)(e||qa.call(t,l))&&!(p&&(l=="length"||f&&(l=="offset"||l=="parent")||i&&(l=="buffer"||l=="byteLength"||l=="byteOffset")||rt(l,n)))&&a.push(l);return a}var Pe=Ka;function ka(t){var e=[];if(t!=null)for(var r in Object(t))e.push(r);return e}var Ee=ka;var $a=Object.prototype,Va=$a.hasOwnProperty;function Xa(t){if(!u(t))return Ee(t);var e=Z(t),r=[];for(var o in t)o=="constructor"&&(e||!Va.call(t,o))||r.push(o);return r}var Me=Xa;function Ja(t){return R(t)?Pe(t,!0):Me(t)}var ot=Ja;function Ya(t){return we(t,ot(t))}var Le=Ya;function Za(t,e,r,o,f,i,p){var a=U(t,r),n=U(e,r),l=p.get(n);if(l){N(t,r,l);return}var d=i?i(a,n,r+"",t,e,p):void 0,h=d===void 0;if(h){var j=z(n),A=!j&&tt(n),H=!j&&!A&&et(n);d=n,j||A||H?z(a)?d=a:he(a)?d=ue(a):A?(h=!1,d=ne(n,!0)):H?(h=!1,d=se(n,!0)):d=[]:Oe(n)||F(n)?(d=a,F(a)?d=Le(a):(!u(a)||S(a))&&(d=xe(n))):h=!1}h&&(p.set(n,d),f(d,n,o,i,p),p.delete(n)),N(t,r,d)}var Be=Za;function Re(t,e,r,o,f){t!==e&&re(e,function(i,p){if(f||(f=new te),u(i))Be(t,e,p,r,Re,o,f);else{var a=o?o(U(t,p),i,p+"",t,e,f):void 0;a===void 0&&(a=i),N(t,p,a)}},ot)}var at=Re;function De(t,e,r,o,f,i){return u(t)&&u(e)&&(i.set(e,t),at(t,e,void 0,De,i),i.delete(e)),t}var We=De;function Qa(t,e,r){if(!u(r))return!1;var o=typeof e;return(o=="number"?R(r)&&rt(e,r.length):o=="string"&&e in r)?v(r[e],t):!1}var Ne=Qa;function tf(t){return X(function(e,r){var o=-1,f=r.length,i=f>1?r[f-1]:void 0,p=f>2?r[2]:void 0;for(i=t.length>3&&typeof i=="function"?(f--,i):void 0,p&&Ne(r[0],r[1],p)&&(i=f<3?void 0:i,f=1),e=Object(e);++o<f;){var a=r[o];a&&t(e,a,o,i)}return e})}var Fe=tf;var ef=Fe(function(t,e,r,o){at(t,e,r,o)}),ze=ef;var rf=X(function(t){return t.push(void 0,We),K(ze,void 0,t)}),of=rf;var af="[object Symbol]";function ff(t){return typeof t=="symbol"||c(t)&&g(t)==af}var Ge=ff;var nf=/\s/;function pf(t){for(var e=t.length;e--&&nf.test(t.charAt(e)););return e}var Ue=pf;var sf=/^\s+/;function uf(t){return t&&t.slice(0,Ue(t)+1).replace(sf,"")}var He=uf;var qe=NaN,mf=/^[-+]0x[0-9a-f]+$/i,lf=/^0b[01]+$/i,df=/^0o[0-7]+$/i,xf=parseInt;function cf(t){if(typeof t=="number")return t;if(Ge(t))return qe;if(u(t)){var e=typeof t.valueOf=="function"?t.valueOf():t;t=u(e)?e+"":e}if(typeof t!="string")return t===0?t:+t;t=He(t);var r=lf.test(t);return r||df.test(t)?xf(t.slice(2),r?2:8):mf.test(t)?qe:+t}var lt=cf;var hf=function(){return x.Date.now()},ft=hf;var gf="Expected a function",yf=Math.max,bf=Math.min;function vf(t,e,r){var o,f,i,p,a,n,l=0,d=!1,h=!1,j=!0;if(typeof t!="function")throw new TypeError(gf);e=lt(e)||0,u(r)&&(d=!!r.leading,h="maxWait"in r,i=h?yf(lt(r.maxWait)||0,e):i,j="trailing"in r?!!r.trailing:j);function A(m){var b=o,D=f;return o=f=void 0,l=m,p=t.apply(D,b),p}function H(m){return l=m,a=setTimeout(q,e),d?A(m):p}function Ke(m){var b=m-n,D=m-l,ht=e-b;return h?bf(ht,i-D):ht}function xt(m){var b=m-n,D=m-l;return n===void 0||b>=e||b<0||h&&D>=i}function q(){var m=ft();if(xt(m))return ct(m);a=setTimeout(q,Ke(m))}function ct(m){return a=void 0,j&&o?A(m):(o=f=void 0,p)}function ke(){a!==void 0&&clearTimeout(a),l=0,o=n=f=a=void 0}function $e(){return a===void 0?p:ct(ft())}function it(){var m=ft(),b=xt(m);if(o=arguments,f=this,n=m,b){if(a===void 0)return H(n);if(h)return clearTimeout(a),a=setTimeout(q,e),A(n)}return a===void 0&&(a=setTimeout(q,e)),p}return it.cancel=ke,it.flush=$e,it}var dt=vf;var _f="Expected a function";function Of(t,e,r){var o=!0,f=!0;if(typeof t!="function")throw new TypeError(_f);return u(r)&&(o="leading"in r?!!r.leading:o,f="trailing"in r?!!r.trailing:f),dt(t,e,{leading:o,maxWait:e,trailing:f})}var Tf=Of;export{dt as a,of as b,Tf as c};