UNPKG

bootstrap-table

Version:

An extended table to integration with some of the most widely used CSS frameworks. (Supports Bootstrap, Semantic UI, Bulma, Material Design, Foundation)

11 lines (9 loc) 21.7 kB
/** * bootstrap-table - An extended table to integration with some of the most widely used CSS frameworks. (Supports Bootstrap, Semantic UI, Bulma, Material Design, Foundation) * * @version v1.21.3 * @homepage https://bootstrap-table.com * @author wenzhixin <wenzhixin2010@gmail.com> (http://wenzhixin.net.cn/) * @license MIT */ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).jQuery)}(this,(function(t){"use strict";function e(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function n(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,(o=r.key,i=void 0,"symbol"==typeof(i=function(t,e){if("object"!=typeof t||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(o,"string"))?i:String(i)),r)}var o,i}function r(t){return r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},r(t)}function o(t,e){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},o(t,e)}function i(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function u(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=r(t);if(e){var u=r(this).constructor;n=Reflect.construct(o,arguments,u)}else n=o.apply(this,arguments);return i(this,n)}}function c(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=r(t)););return t}function a(){return a="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,n){var r=c(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(arguments.length<3?t:n):o.value}},a.apply(this,arguments)}var f="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},l=function(t){return t&&t.Math==Math&&t},s=l("object"==typeof globalThis&&globalThis)||l("object"==typeof window&&window)||l("object"==typeof self&&self)||l("object"==typeof f&&f)||function(){return this}()||Function("return this")(),p={},h=function(t){try{return!!t()}catch(t){return!0}},d=!h((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),y=!h((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),b=y,v=Function.prototype.call,g=b?v.bind(v):function(){return v.apply(v,arguments)},m={},w={}.propertyIsEnumerable,O=Object.getOwnPropertyDescriptor,S=O&&!w.call({1:2},1);m.f=S?function(t){var e=O(this,t);return!!e&&e.enumerable}:w;var j,T,E=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},P=y,L=Function.prototype,C=L.call,A=P&&L.bind.bind(C,C),M=P?A:function(t){return function(){return C.apply(t,arguments)}},x=M,R=x({}.toString),V=x("".slice),k=function(t){return V(R(t),8,-1)},F=h,I=k,D=Object,_=M("".split),H=F((function(){return!D("z").propertyIsEnumerable(0)}))?function(t){return"String"==I(t)?_(t,""):D(t)}:D,N=function(t){return null==t},W=N,z=TypeError,G=function(t){if(W(t))throw z("Can't call method on "+t);return t},B=H,q=G,U=function(t){return B(q(t))},X="object"==typeof document&&document.all,K={all:X,IS_HTMLDDA:void 0===X&&void 0!==X},Q=K.all,Y=K.IS_HTMLDDA?function(t){return"function"==typeof t||t===Q}:function(t){return"function"==typeof t},$=Y,J=K.all,Z=K.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:$(t)||t===J}:function(t){return"object"==typeof t?null!==t:$(t)},tt=s,et=Y,nt=function(t){return et(t)?t:void 0},rt=function(t,e){return arguments.length<2?nt(tt[t]):tt[t]&&tt[t][e]},ot=M({}.isPrototypeOf),it=s,ut="undefined"!=typeof navigator&&String(navigator.userAgent)||"",ct=it.process,at=it.Deno,ft=ct&&ct.versions||at&&at.version,lt=ft&&ft.v8;lt&&(T=(j=lt.split("."))[0]>0&&j[0]<4?1:+(j[0]+j[1])),!T&&ut&&(!(j=ut.match(/Edge\/(\d+)/))||j[1]>=74)&&(j=ut.match(/Chrome\/(\d+)/))&&(T=+j[1]);var st=T,pt=st,ht=h,dt=!!Object.getOwnPropertySymbols&&!ht((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&pt&&pt<41})),yt=dt&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,bt=rt,vt=Y,gt=ot,mt=Object,wt=yt?function(t){return"symbol"==typeof t}:function(t){var e=bt("Symbol");return vt(e)&&gt(e.prototype,mt(t))},Ot=String,St=Y,jt=function(t){try{return Ot(t)}catch(t){return"Object"}},Tt=TypeError,Et=function(t){if(St(t))return t;throw Tt(jt(t)+" is not a function")},Pt=Et,Lt=N,Ct=g,At=Y,Mt=Z,xt=TypeError,Rt={},Vt={get exports(){return Rt},set exports(t){Rt=t}},kt=s,Ft=Object.defineProperty,It=function(t,e){try{Ft(kt,t,{value:e,configurable:!0,writable:!0})}catch(n){kt[t]=e}return e},Dt=It,_t="__core-js_shared__",Ht=s[_t]||Dt(_t,{}),Nt=Ht;(Vt.exports=function(t,e){return Nt[t]||(Nt[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.29.0",mode:"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.29.0/LICENSE",source:"https://github.com/zloirock/core-js"});var Wt=G,zt=Object,Gt=function(t){return zt(Wt(t))},Bt=Gt,qt=M({}.hasOwnProperty),Ut=Object.hasOwn||function(t,e){return qt(Bt(t),e)},Xt=M,Kt=0,Qt=Math.random(),Yt=Xt(1..toString),$t=function(t){return"Symbol("+(void 0===t?"":t)+")_"+Yt(++Kt+Qt,36)},Jt=Rt,Zt=Ut,te=$t,ee=dt,ne=yt,re=s.Symbol,oe=Jt("wks"),ie=ne?re.for||re:re&&re.withoutSetter||te,ue=function(t){return Zt(oe,t)||(oe[t]=ee&&Zt(re,t)?re[t]:ie("Symbol."+t)),oe[t]},ce=g,ae=Z,fe=wt,le=function(t,e){var n=t[e];return Lt(n)?void 0:Pt(n)},se=function(t,e){var n,r;if("string"===e&&At(n=t.toString)&&!Mt(r=Ct(n,t)))return r;if(At(n=t.valueOf)&&!Mt(r=Ct(n,t)))return r;if("string"!==e&&At(n=t.toString)&&!Mt(r=Ct(n,t)))return r;throw xt("Can't convert object to primitive value")},pe=TypeError,he=ue("toPrimitive"),de=function(t,e){if(!ae(t)||fe(t))return t;var n,r=le(t,he);if(r){if(void 0===e&&(e="default"),n=ce(r,t,e),!ae(n)||fe(n))return n;throw pe("Can't convert object to primitive value")}return void 0===e&&(e="number"),se(t,e)},ye=wt,be=function(t){var e=de(t,"string");return ye(e)?e:e+""},ve=Z,ge=s.document,me=ve(ge)&&ve(ge.createElement),we=function(t){return me?ge.createElement(t):{}},Oe=we,Se=!d&&!h((function(){return 7!=Object.defineProperty(Oe("div"),"a",{get:function(){return 7}}).a})),je=d,Te=g,Ee=m,Pe=E,Le=U,Ce=be,Ae=Ut,Me=Se,xe=Object.getOwnPropertyDescriptor;p.f=je?xe:function(t,e){if(t=Le(t),e=Ce(e),Me)try{return xe(t,e)}catch(t){}if(Ae(t,e))return Pe(!Te(Ee.f,t,e),t[e])};var Re={},Ve=d&&h((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),ke=Z,Fe=String,Ie=TypeError,De=function(t){if(ke(t))return t;throw Ie(Fe(t)+" is not an object")},_e=d,He=Se,Ne=Ve,We=De,ze=be,Ge=TypeError,Be=Object.defineProperty,qe=Object.getOwnPropertyDescriptor,Ue="enumerable",Xe="configurable",Ke="writable";Re.f=_e?Ne?function(t,e,n){if(We(t),e=ze(e),We(n),"function"==typeof t&&"prototype"===e&&"value"in n&&Ke in n&&!n.writable){var r=qe(t,e);r&&r.writable&&(t[e]=n.value,n={configurable:Xe in n?n.configurable:r.configurable,enumerable:Ue in n?n.enumerable:r.enumerable,writable:!1})}return Be(t,e,n)}:Be:function(t,e,n){if(We(t),e=ze(e),We(n),He)try{return Be(t,e,n)}catch(t){}if("get"in n||"set"in n)throw Ge("Accessors not supported");return"value"in n&&(t[e]=n.value),t};var Qe=Re,Ye=E,$e=d?function(t,e,n){return Qe.f(t,e,Ye(1,n))}:function(t,e,n){return t[e]=n,t},Je={},Ze={get exports(){return Je},set exports(t){Je=t}},tn=d,en=Ut,nn=Function.prototype,rn=tn&&Object.getOwnPropertyDescriptor,on=en(nn,"name"),un={EXISTS:on,PROPER:on&&"something"===function(){}.name,CONFIGURABLE:on&&(!tn||tn&&rn(nn,"name").configurable)},cn=Y,an=Ht,fn=M(Function.toString);cn(an.inspectSource)||(an.inspectSource=function(t){return fn(t)});var ln,sn,pn,hn=an.inspectSource,dn=Y,yn=s.WeakMap,bn=dn(yn)&&/native code/.test(String(yn)),vn=$t,gn=Rt("keys"),mn=function(t){return gn[t]||(gn[t]=vn(t))},wn={},On=bn,Sn=s,jn=Z,Tn=$e,En=Ut,Pn=Ht,Ln=mn,Cn=wn,An="Object already initialized",Mn=Sn.TypeError,xn=Sn.WeakMap;if(On||Pn.state){var Rn=Pn.state||(Pn.state=new xn);Rn.get=Rn.get,Rn.has=Rn.has,Rn.set=Rn.set,ln=function(t,e){if(Rn.has(t))throw Mn(An);return e.facade=t,Rn.set(t,e),e},sn=function(t){return Rn.get(t)||{}},pn=function(t){return Rn.has(t)}}else{var Vn=Ln("state");Cn[Vn]=!0,ln=function(t,e){if(En(t,Vn))throw Mn(An);return e.facade=t,Tn(t,Vn,e),e},sn=function(t){return En(t,Vn)?t[Vn]:{}},pn=function(t){return En(t,Vn)}}var kn={set:ln,get:sn,has:pn,enforce:function(t){return pn(t)?sn(t):ln(t,{})},getterFor:function(t){return function(e){var n;if(!jn(e)||(n=sn(e)).type!==t)throw Mn("Incompatible receiver, "+t+" required");return n}}},Fn=M,In=h,Dn=Y,_n=Ut,Hn=d,Nn=un.CONFIGURABLE,Wn=hn,zn=kn.enforce,Gn=kn.get,Bn=String,qn=Object.defineProperty,Un=Fn("".slice),Xn=Fn("".replace),Kn=Fn([].join),Qn=Hn&&!In((function(){return 8!==qn((function(){}),"length",{value:8}).length})),Yn=String(String).split("String"),$n=Ze.exports=function(t,e,n){"Symbol("===Un(Bn(e),0,7)&&(e="["+Xn(Bn(e),/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!_n(t,"name")||Nn&&t.name!==e)&&(Hn?qn(t,"name",{value:e,configurable:!0}):t.name=e),Qn&&n&&_n(n,"arity")&&t.length!==n.arity&&qn(t,"length",{value:n.arity});try{n&&_n(n,"constructor")&&n.constructor?Hn&&qn(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var r=zn(t);return _n(r,"source")||(r.source=Kn(Yn,"string"==typeof e?e:"")),t};Function.prototype.toString=$n((function(){return Dn(this)&&Gn(this).source||Wn(this)}),"toString");var Jn=Y,Zn=Re,tr=Je,er=It,nr=function(t,e,n,r){r||(r={});var o=r.enumerable,i=void 0!==r.name?r.name:e;if(Jn(n)&&tr(n,i,r),r.global)o?t[e]=n:er(e,n);else{try{r.unsafe?t[e]&&(o=!0):delete t[e]}catch(t){}o?t[e]=n:Zn.f(t,e,{value:n,enumerable:!1,configurable:!r.nonConfigurable,writable:!r.nonWritable})}return t},rr={},or=Math.ceil,ir=Math.floor,ur=Math.trunc||function(t){var e=+t;return(e>0?ir:or)(e)},cr=function(t){var e=+t;return e!=e||0===e?0:ur(e)},ar=cr,fr=Math.max,lr=Math.min,sr=cr,pr=Math.min,hr=function(t){return t>0?pr(sr(t),9007199254740991):0},dr=function(t){return hr(t.length)},yr=U,br=function(t,e){var n=ar(t);return n<0?fr(n+e,0):lr(n,e)},vr=dr,gr=function(t){return function(e,n,r){var o,i=yr(e),u=vr(i),c=br(r,u);if(t&&n!=n){for(;u>c;)if((o=i[c++])!=o)return!0}else for(;u>c;c++)if((t||c in i)&&i[c]===n)return t||c||0;return!t&&-1}},mr={includes:gr(!0),indexOf:gr(!1)},wr=Ut,Or=U,Sr=mr.indexOf,jr=wn,Tr=M([].push),Er=function(t,e){var n,r=Or(t),o=0,i=[];for(n in r)!wr(jr,n)&&wr(r,n)&&Tr(i,n);for(;e.length>o;)wr(r,n=e[o++])&&(~Sr(i,n)||Tr(i,n));return i},Pr=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Lr=Er,Cr=Pr.concat("length","prototype");rr.f=Object.getOwnPropertyNames||function(t){return Lr(t,Cr)};var Ar={};Ar.f=Object.getOwnPropertySymbols;var Mr=rt,xr=rr,Rr=Ar,Vr=De,kr=M([].concat),Fr=Mr("Reflect","ownKeys")||function(t){var e=xr.f(Vr(t)),n=Rr.f;return n?kr(e,n(t)):e},Ir=Ut,Dr=Fr,_r=p,Hr=Re,Nr=h,Wr=Y,zr=/#|\.prototype\./,Gr=function(t,e){var n=qr[Br(t)];return n==Xr||n!=Ur&&(Wr(e)?Nr(e):!!e)},Br=Gr.normalize=function(t){return String(t).replace(zr,".").toLowerCase()},qr=Gr.data={},Ur=Gr.NATIVE="N",Xr=Gr.POLYFILL="P",Kr=Gr,Qr=s,Yr=p.f,$r=$e,Jr=nr,Zr=It,to=function(t,e,n){for(var r=Dr(e),o=Hr.f,i=_r.f,u=0;u<r.length;u++){var c=r[u];Ir(t,c)||n&&Ir(n,c)||o(t,c,i(e,c))}},eo=Kr,no=function(t,e){var n,r,o,i,u,c=t.target,a=t.global,f=t.stat;if(n=a?Qr:f?Qr[c]||Zr(c,{}):(Qr[c]||{}).prototype)for(r in e){if(i=e[r],o=t.dontCallGetSet?(u=Yr(n,r))&&u.value:n[r],!eo(a?r:c+(f?".":"#")+r,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;to(i,o)}(t.sham||o&&o.sham)&&$r(i,"sham",!0),Jr(n,r,i,t)}},ro=Er,oo=Pr,io=Object.keys||function(t){return ro(t,oo)},uo=d,co=M,ao=g,fo=h,lo=io,so=Ar,po=m,ho=Gt,yo=H,bo=Object.assign,vo=Object.defineProperty,go=co([].concat),mo=!bo||fo((function(){if(uo&&1!==bo({b:1},bo(vo({},"a",{enumerable:!0,get:function(){vo(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach((function(t){e[t]=t})),7!=bo({},t)[n]||lo(bo({},e)).join("")!=r}))?function(t,e){for(var n=ho(t),r=arguments.length,o=1,i=so.f,u=po.f;r>o;)for(var c,a=yo(arguments[o++]),f=i?go(lo(a),i(a)):lo(a),l=f.length,s=0;l>s;)c=f[s++],uo&&!ao(u,a,c)||(n[c]=a[c]);return n}:bo,wo=mo;no({target:"Object",stat:!0,arity:2,forced:Object.assign!==wo},{assign:wo});var Oo=k,So=Array.isArray||function(t){return"Array"==Oo(t)},jo=TypeError,To=be,Eo=Re,Po=E,Lo={};Lo[ue("toStringTag")]="z";var Co="[object z]"===String(Lo),Ao=Co,Mo=Y,xo=k,Ro=ue("toStringTag"),Vo=Object,ko="Arguments"==xo(function(){return arguments}()),Fo=Ao?xo:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Vo(t),Ro))?n:ko?xo(e):"Object"==(r=xo(e))&&Mo(e.callee)?"Arguments":r},Io=M,Do=h,_o=Y,Ho=Fo,No=hn,Wo=function(){},zo=[],Go=rt("Reflect","construct"),Bo=/^\s*(?:class|function)\b/,qo=Io(Bo.exec),Uo=!Bo.exec(Wo),Xo=function(t){if(!_o(t))return!1;try{return Go(Wo,zo,t),!0}catch(t){return!1}},Ko=function(t){if(!_o(t))return!1;switch(Ho(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Uo||!!qo(Bo,No(t))}catch(t){return!0}};Ko.sham=!0;var Qo=!Go||Do((function(){var t;return Xo(Xo.call)||!Xo(Object)||!Xo((function(){t=!0}))||t}))?Ko:Xo,Yo=So,$o=Qo,Jo=Z,Zo=ue("species"),ti=Array,ei=function(t){var e;return Yo(t)&&(e=t.constructor,($o(e)&&(e===ti||Yo(e.prototype))||Jo(e)&&null===(e=e[Zo]))&&(e=void 0)),void 0===e?ti:e},ni=function(t,e){return new(ei(t))(0===e?0:e)},ri=h,oi=st,ii=ue("species"),ui=no,ci=h,ai=So,fi=Z,li=Gt,si=dr,pi=function(t){if(t>9007199254740991)throw jo("Maximum allowed index exceeded");return t},hi=function(t,e,n){var r=To(e);r in t?Eo.f(t,r,Po(0,n)):t[r]=n},di=ni,yi=function(t){return oi>=51||!ri((function(){var e=[];return(e.constructor={})[ii]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},bi=st,vi=ue("isConcatSpreadable"),gi=bi>=51||!ci((function(){var t=[];return t[vi]=!1,t.concat()[0]!==t})),mi=function(t){if(!fi(t))return!1;var e=t[vi];return void 0!==e?!!e:ai(t)};ui({target:"Array",proto:!0,arity:1,forced:!gi||!yi("concat")},{concat:function(t){var e,n,r,o,i,u=li(this),c=di(u,0),a=0;for(e=-1,r=arguments.length;e<r;e++)if(mi(i=-1===e?u:arguments[e]))for(o=si(i),pi(a+o),n=0;n<o;n++,a++)n in i&&hi(c,a,i[n]);else pi(a+1),hi(c,a++,i);return c.length=a,c}});var wi={},Oi=d,Si=Ve,ji=Re,Ti=De,Ei=U,Pi=io;wi.f=Oi&&!Si?Object.defineProperties:function(t,e){Ti(t);for(var n,r=Ei(e),o=Pi(e),i=o.length,u=0;i>u;)ji.f(t,n=o[u++],r[n]);return t};var Li,Ci=rt("document","documentElement"),Ai=De,Mi=wi,xi=Pr,Ri=wn,Vi=Ci,ki=we,Fi=mn("IE_PROTO"),Ii=function(){},Di=function(t){return"<script>"+t+"</"+"script>"},_i=function(t){t.write(Di("")),t.close();var e=t.parentWindow.Object;return t=null,e},Hi=function(){try{Li=new ActiveXObject("htmlfile")}catch(t){}var t,e;Hi="undefined"!=typeof document?document.domain&&Li?_i(Li):((e=ki("iframe")).style.display="none",Vi.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(Di("document.F=Object")),t.close(),t.F):_i(Li);for(var n=xi.length;n--;)delete Hi.prototype[xi[n]];return Hi()};Ri[Fi]=!0;var Ni=ue,Wi=Object.create||function(t,e){var n;return null!==t?(Ii.prototype=Ai(t),n=new Ii,Ii.prototype=null,n[Fi]=t):n=Hi(),void 0===e?n:Mi.f(n,e)},zi=Re.f,Gi=Ni("unscopables"),Bi=Array.prototype;null==Bi[Gi]&&zi(Bi,Gi,{configurable:!0,value:Wi(null)});var qi=mr.includes,Ui=function(t){Bi[Gi][t]=!0};no({target:"Array",proto:!0,forced:h((function(){return!Array(1).includes()}))},{includes:function(t){return qi(this,t,arguments.length>1?arguments[1]:void 0)}}),Ui("includes");var Xi=Fo,Ki=Co?{}.toString:function(){return"[object "+Xi(this)+"]"};Co||nr(Object.prototype,"toString",Ki,{unsafe:!0});var Qi=we("span").classList,Yi=Qi&&Qi.constructor&&Qi.constructor.prototype,$i=Yi===Object.prototype?void 0:Yi,Ji=k,Zi=M,tu=function(t){if("Function"===Ji(t))return Zi(t)},eu=Et,nu=y,ru=tu(tu.bind),ou=function(t,e){return eu(t),void 0===e?t:nu?ru(t,e):function(){return t.apply(e,arguments)}},iu=H,uu=Gt,cu=dr,au=ni,fu=M([].push),lu=function(t){var e=1==t,n=2==t,r=3==t,o=4==t,i=6==t,u=7==t,c=5==t||i;return function(a,f,l,s){for(var p,h,d=uu(a),y=iu(d),b=ou(f,l),v=cu(y),g=0,m=s||au,w=e?m(a,v):n||u?m(a,0):void 0;v>g;g++)if((c||g in y)&&(h=b(p=y[g],g,d),t))if(e)w[g]=h;else if(h)switch(t){case 3:return!0;case 5:return p;case 6:return g;case 2:fu(w,p)}else switch(t){case 4:return!1;case 7:fu(w,p)}return i?-1:r||o?o:w}},su={forEach:lu(0),map:lu(1),filter:lu(2),some:lu(3),every:lu(4),find:lu(5),findIndex:lu(6),filterReject:lu(7)},pu=h,hu=su.forEach,du=function(t,e){var n=[][t];return!!n&&pu((function(){n.call(null,e||function(){return 1},1)}))}("forEach")?[].forEach:function(t){return hu(this,t,arguments.length>1?arguments[1]:void 0)},yu=s,bu={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},vu=$i,gu=du,mu=$e,wu=function(t){if(t&&t.forEach!==gu)try{mu(t,"forEach",gu)}catch(e){t.forEach=gu}};for(var Ou in bu)bu[Ou]&&wu(yu[Ou]&&yu[Ou].prototype);wu(vu);var Su=Z,ju=k,Tu=ue("match"),Eu=function(t){var e;return Su(t)&&(void 0!==(e=t[Tu])?!!e:"RegExp"==ju(t))},Pu=TypeError,Lu=Fo,Cu=String,Au=ue("match"),Mu=no,xu=function(t){if(Eu(t))throw Pu("The method doesn't accept regular expressions");return t},Ru=G,Vu=function(t){if("Symbol"===Lu(t))throw TypeError("Cannot convert a Symbol value to a string");return Cu(t)},ku=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[Au]=!1,"/./"[t](e)}catch(t){}}return!1},Fu=M("".indexOf);Mu({target:"String",proto:!0,forced:!ku("includes")},{includes:function(t){return!!~Fu(Vu(Ru(this)),Vu(xu(t)),arguments.length>1?arguments[1]:void 0)}});var Iu=function(t,e){var n=0;return function(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];var u=function(){n=0,t.apply(void 0,o)};clearTimeout(n),n=setTimeout(u,e)}};Object.assign(t.fn.bootstrapTable.defaults,{mobileResponsive:!1,minWidth:562,minHeight:void 0,heightThreshold:100,checkOnInit:!0,columnsHidden:[]}),t.BootstrapTable=function(i){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&o(t,e)}(p,i);var c,f,l,s=u(p);function p(){return e(this,p),s.apply(this,arguments)}return c=p,f=[{key:"init",value:function(){for(var e,n=this,o=arguments.length,i=new Array(o),u=0;u<o;u++)i[u]=arguments[u];if((e=a(r(p.prototype),"init",this)).call.apply(e,[this].concat(i)),this.options.mobileResponsive&&this.options.minWidth){this.options.minWidth<100&&this.options.resizable&&(console.warn("The minWidth when the resizable extension is active should be greater or equal than 100"),this.options.minWidth=100);var c={width:t(window).width(),height:t(window).height()};if(t(window).on("resize orientationchange",Iu((function(){var e=t(window).width(),r=t(window).height(),o=t(document.activeElement);o.length&&["INPUT","SELECT","TEXTAREA"].includes(o.prop("nodeName"))||(Math.abs(c.height-r)>n.options.heightThreshold||c.width!==e)&&(n.changeView(e,r),c={width:e,height:r})}),200)),this.options.checkOnInit){var f=t(window).width(),l=t(window).height();this.changeView(f,l),c={width:f,height:l}}}}},{key:"conditionCardView",value:function(){this.changeTableView(!1),this.showHideColumns(!1)}},{key:"conditionFullView",value:function(){this.changeTableView(!0),this.showHideColumns(!0)}},{key:"changeTableView",value:function(t){this.options.cardView=t,this.toggleView()}},{key:"showHideColumns",value:function(t){var e=this;this.options.columnsHidden.length>0&&this.columns.forEach((function(n){e.options.columnsHidden.includes(n.field)&&n.visible!==t&&e._toggleColumn(e.fieldsColumnsIndex[n.field],t,!0)}))}},{key:"changeView",value:function(t,e){this.options.minHeight?t<=this.options.minWidth&&e<=this.options.minHeight?this.conditionCardView():t>this.options.minWidth&&e>this.options.minHeight&&this.conditionFullView():t<=this.options.minWidth?this.conditionCardView():t>this.options.minWidth&&this.conditionFullView(),this.resetView()}}],f&&n(c.prototype,f),l&&n(c,l),Object.defineProperty(c,"prototype",{writable:!1}),p}(t.BootstrapTable)}));