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) 22.5 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.22.2 * @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){var e=function(t,e){if("object"!=typeof t||!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)}(t,"string");return"symbol"==typeof e?e:String(e)}function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r(t,n){for(var r=0;r<n.length;r++){var o=n[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,e(o.key),o)}}function o(t){return o=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},o(t)}function i(t,e){return i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},i(t,e)}function u(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 c(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,r=o(t);if(e){var i=o(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return u(this,n)}}function a(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=o(t)););return t}function f(){return f="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,n){var r=a(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(arguments.length<3?t:n):o.value}},f.apply(this,arguments)}var l="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},s=function(t){return t&&t.Math===Math&&t},p=s("object"==typeof globalThis&&globalThis)||s("object"==typeof window&&window)||s("object"==typeof self&&self)||s("object"==typeof l&&l)||s("object"==typeof l&&l)||function(){return this}()||Function("return this")(),y={},v=function(t){try{return!!t()}catch(t){return!0}},b=!v((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),d=!v((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),g=d,h=Function.prototype.call,m=g?h.bind(h):function(){return h.apply(h,arguments)},w={},O={}.propertyIsEnumerable,j=Object.getOwnPropertyDescriptor,S=j&&!O.call({1:2},1);w.f=S?function(t){var e=j(this,t);return!!e&&e.enumerable}:O;var x,E,P=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},I=d,T=Function.prototype,R=T.call,A=I&&T.bind.bind(R,R),k=I?A:function(t){return function(){return R.apply(t,arguments)}},_=k,C=_({}.toString),D=_("".slice),F=function(t){return D(C(t),8,-1)},M=v,L=F,N=Object,B=k("".split),z=M((function(){return!N("z").propertyIsEnumerable(0)}))?function(t){return"String"===L(t)?B(t,""):N(t)}:N,$=function(t){return null==t},K=$,q=TypeError,G=function(t){if(K(t))throw new q("Can't call method on "+t);return t},U=z,W=G,H=function(t){return U(W(t))},Y="object"==typeof document&&document.all,X={all:Y,IS_HTMLDDA:void 0===Y&&void 0!==Y},Q=X.all,V=X.IS_HTMLDDA?function(t){return"function"==typeof t||t===Q}:function(t){return"function"==typeof t},J=V,Z=X.all,tt=X.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:J(t)||t===Z}:function(t){return"object"==typeof t?null!==t:J(t)},et=p,nt=V,rt=function(t){return nt(t)?t:void 0},ot=function(t,e){return arguments.length<2?rt(et[t]):et[t]&&et[t][e]},it=k({}.isPrototypeOf),ut=p,ct="undefined"!=typeof navigator&&String(navigator.userAgent)||"",at=ut.process,ft=ut.Deno,lt=at&&at.versions||ft&&ft.version,st=lt&&lt.v8;st&&(E=(x=st.split("."))[0]>0&&x[0]<4?1:+(x[0]+x[1])),!E&&ct&&(!(x=ct.match(/Edge\/(\d+)/))||x[1]>=74)&&(x=ct.match(/Chrome\/(\d+)/))&&(E=+x[1]);var pt=E,yt=pt,vt=v,bt=p.String,dt=!!Object.getOwnPropertySymbols&&!vt((function(){var t=Symbol("symbol detection");return!bt(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&yt&&yt<41})),gt=dt&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,ht=ot,mt=V,wt=it,Ot=Object,jt=gt?function(t){return"symbol"==typeof t}:function(t){var e=ht("Symbol");return mt(e)&&wt(e.prototype,Ot(t))},St=String,xt=V,Et=function(t){try{return St(t)}catch(t){return"Object"}},Pt=TypeError,It=function(t){if(xt(t))return t;throw new Pt(Et(t)+" is not a function")},Tt=It,Rt=$,At=function(t,e){var n=t[e];return Rt(n)?void 0:Tt(n)},kt=m,_t=V,Ct=tt,Dt=TypeError,Ft={exports:{}},Mt=p,Lt=Object.defineProperty,Nt=function(t,e){try{Lt(Mt,t,{value:e,configurable:!0,writable:!0})}catch(n){Mt[t]=e}return e},Bt=Nt,zt="__core-js_shared__",$t=p[zt]||Bt(zt,{}),Kt=$t;(Ft.exports=function(t,e){return Kt[t]||(Kt[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.34.0",mode:"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.34.0/LICENSE",source:"https://github.com/zloirock/core-js"});var qt=Ft.exports,Gt=G,Ut=Object,Wt=function(t){return Ut(Gt(t))},Ht=Wt,Yt=k({}.hasOwnProperty),Xt=Object.hasOwn||function(t,e){return Yt(Ht(t),e)},Qt=k,Vt=0,Jt=Math.random(),Zt=Qt(1..toString),te=function(t){return"Symbol("+(void 0===t?"":t)+")_"+Zt(++Vt+Jt,36)},ee=qt,ne=Xt,re=te,oe=dt,ie=gt,ue=p.Symbol,ce=ee("wks"),ae=ie?ue.for||ue:ue&&ue.withoutSetter||re,fe=function(t){return ne(ce,t)||(ce[t]=oe&&ne(ue,t)?ue[t]:ae("Symbol."+t)),ce[t]},le=m,se=tt,pe=jt,ye=At,ve=function(t,e){var n,r;if("string"===e&&_t(n=t.toString)&&!Ct(r=kt(n,t)))return r;if(_t(n=t.valueOf)&&!Ct(r=kt(n,t)))return r;if("string"!==e&&_t(n=t.toString)&&!Ct(r=kt(n,t)))return r;throw new Dt("Can't convert object to primitive value")},be=TypeError,de=fe("toPrimitive"),ge=function(t,e){if(!se(t)||pe(t))return t;var n,r=ye(t,de);if(r){if(void 0===e&&(e="default"),n=le(r,t,e),!se(n)||pe(n))return n;throw new be("Can't convert object to primitive value")}return void 0===e&&(e="number"),ve(t,e)},he=jt,me=function(t){var e=ge(t,"string");return he(e)?e:e+""},we=tt,Oe=p.document,je=we(Oe)&&we(Oe.createElement),Se=function(t){return je?Oe.createElement(t):{}},xe=Se,Ee=!b&&!v((function(){return 7!==Object.defineProperty(xe("div"),"a",{get:function(){return 7}}).a})),Pe=b,Ie=m,Te=w,Re=P,Ae=H,ke=me,_e=Xt,Ce=Ee,De=Object.getOwnPropertyDescriptor;y.f=Pe?De:function(t,e){if(t=Ae(t),e=ke(e),Ce)try{return De(t,e)}catch(t){}if(_e(t,e))return Re(!Ie(Te.f,t,e),t[e])};var Fe={},Me=b&&v((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Le=tt,Ne=String,Be=TypeError,ze=function(t){if(Le(t))return t;throw new Be(Ne(t)+" is not an object")},$e=b,Ke=Ee,qe=Me,Ge=ze,Ue=me,We=TypeError,He=Object.defineProperty,Ye=Object.getOwnPropertyDescriptor,Xe="enumerable",Qe="configurable",Ve="writable";Fe.f=$e?qe?function(t,e,n){if(Ge(t),e=Ue(e),Ge(n),"function"==typeof t&&"prototype"===e&&"value"in n&&Ve in n&&!n.writable){var r=Ye(t,e);r&&r.writable&&(t[e]=n.value,n={configurable:Qe in n?n.configurable:r.configurable,enumerable:Xe in n?n.enumerable:r.enumerable,writable:!1})}return He(t,e,n)}:He:function(t,e,n){if(Ge(t),e=Ue(e),Ge(n),Ke)try{return He(t,e,n)}catch(t){}if("get"in n||"set"in n)throw new We("Accessors not supported");return"value"in n&&(t[e]=n.value),t};var Je=Fe,Ze=P,tn=b?function(t,e,n){return Je.f(t,e,Ze(1,n))}:function(t,e,n){return t[e]=n,t},en={exports:{}},nn=b,rn=Xt,on=Function.prototype,un=nn&&Object.getOwnPropertyDescriptor,cn=rn(on,"name"),an={EXISTS:cn,PROPER:cn&&"something"===function(){}.name,CONFIGURABLE:cn&&(!nn||nn&&un(on,"name").configurable)},fn=V,ln=$t,sn=k(Function.toString);fn(ln.inspectSource)||(ln.inspectSource=function(t){return sn(t)});var pn,yn,vn,bn=ln.inspectSource,dn=V,gn=p.WeakMap,hn=dn(gn)&&/native code/.test(String(gn)),mn=te,wn=qt("keys"),On=function(t){return wn[t]||(wn[t]=mn(t))},jn={},Sn=hn,xn=p,En=tt,Pn=tn,In=Xt,Tn=$t,Rn=On,An=jn,kn="Object already initialized",_n=xn.TypeError,Cn=xn.WeakMap;if(Sn||Tn.state){var Dn=Tn.state||(Tn.state=new Cn);Dn.get=Dn.get,Dn.has=Dn.has,Dn.set=Dn.set,pn=function(t,e){if(Dn.has(t))throw new _n(kn);return e.facade=t,Dn.set(t,e),e},yn=function(t){return Dn.get(t)||{}},vn=function(t){return Dn.has(t)}}else{var Fn=Rn("state");An[Fn]=!0,pn=function(t,e){if(In(t,Fn))throw new _n(kn);return e.facade=t,Pn(t,Fn,e),e},yn=function(t){return In(t,Fn)?t[Fn]:{}},vn=function(t){return In(t,Fn)}}var Mn={set:pn,get:yn,has:vn,enforce:function(t){return vn(t)?yn(t):pn(t,{})},getterFor:function(t){return function(e){var n;if(!En(e)||(n=yn(e)).type!==t)throw new _n("Incompatible receiver, "+t+" required");return n}}},Ln=k,Nn=v,Bn=V,zn=Xt,$n=b,Kn=an.CONFIGURABLE,qn=bn,Gn=Mn.enforce,Un=Mn.get,Wn=String,Hn=Object.defineProperty,Yn=Ln("".slice),Xn=Ln("".replace),Qn=Ln([].join),Vn=$n&&!Nn((function(){return 8!==Hn((function(){}),"length",{value:8}).length})),Jn=String(String).split("String"),Zn=en.exports=function(t,e,n){"Symbol("===Yn(Wn(e),0,7)&&(e="["+Xn(Wn(e),/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!zn(t,"name")||Kn&&t.name!==e)&&($n?Hn(t,"name",{value:e,configurable:!0}):t.name=e),Vn&&n&&zn(n,"arity")&&t.length!==n.arity&&Hn(t,"length",{value:n.arity});try{n&&zn(n,"constructor")&&n.constructor?$n&&Hn(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var r=Gn(t);return zn(r,"source")||(r.source=Qn(Jn,"string"==typeof e?e:"")),t};Function.prototype.toString=Zn((function(){return Bn(this)&&Un(this).source||qn(this)}),"toString");var tr=en.exports,er=V,nr=Fe,rr=tr,or=Nt,ir=function(t,e,n,r){r||(r={});var o=r.enumerable,i=void 0!==r.name?r.name:e;if(er(n)&&rr(n,i,r),r.global)o?t[e]=n:or(e,n);else{try{r.unsafe?t[e]&&(o=!0):delete t[e]}catch(t){}o?t[e]=n:nr.f(t,e,{value:n,enumerable:!1,configurable:!r.nonConfigurable,writable:!r.nonWritable})}return t},ur={},cr=Math.ceil,ar=Math.floor,fr=Math.trunc||function(t){var e=+t;return(e>0?ar:cr)(e)},lr=function(t){var e=+t;return e!=e||0===e?0:fr(e)},sr=lr,pr=Math.max,yr=Math.min,vr=lr,br=Math.min,dr=function(t){return t>0?br(vr(t),9007199254740991):0},gr=function(t){return dr(t.length)},hr=H,mr=function(t,e){var n=sr(t);return n<0?pr(n+e,0):yr(n,e)},wr=gr,Or=function(t){return function(e,n,r){var o,i=hr(e),u=wr(i),c=mr(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}},jr={includes:Or(!0),indexOf:Or(!1)},Sr=Xt,xr=H,Er=jr.indexOf,Pr=jn,Ir=k([].push),Tr=function(t,e){var n,r=xr(t),o=0,i=[];for(n in r)!Sr(Pr,n)&&Sr(r,n)&&Ir(i,n);for(;e.length>o;)Sr(r,n=e[o++])&&(~Er(i,n)||Ir(i,n));return i},Rr=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Ar=Tr,kr=Rr.concat("length","prototype");ur.f=Object.getOwnPropertyNames||function(t){return Ar(t,kr)};var _r={};_r.f=Object.getOwnPropertySymbols;var Cr=ot,Dr=ur,Fr=_r,Mr=ze,Lr=k([].concat),Nr=Cr("Reflect","ownKeys")||function(t){var e=Dr.f(Mr(t)),n=Fr.f;return n?Lr(e,n(t)):e},Br=Xt,zr=Nr,$r=y,Kr=Fe,qr=v,Gr=V,Ur=/#|\.prototype\./,Wr=function(t,e){var n=Yr[Hr(t)];return n===Qr||n!==Xr&&(Gr(e)?qr(e):!!e)},Hr=Wr.normalize=function(t){return String(t).replace(Ur,".").toLowerCase()},Yr=Wr.data={},Xr=Wr.NATIVE="N",Qr=Wr.POLYFILL="P",Vr=Wr,Jr=p,Zr=y.f,to=tn,eo=ir,no=Nt,ro=function(t,e,n){for(var r=zr(e),o=Kr.f,i=$r.f,u=0;u<r.length;u++){var c=r[u];Br(t,c)||n&&Br(n,c)||o(t,c,i(e,c))}},oo=Vr,io=function(t,e){var n,r,o,i,u,c=t.target,a=t.global,f=t.stat;if(n=a?Jr:f?Jr[c]||no(c,{}):(Jr[c]||{}).prototype)for(r in e){if(i=e[r],o=t.dontCallGetSet?(u=Zr(n,r))&&u.value:n[r],!oo(a?r:c+(f?".":"#")+r,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;ro(i,o)}(t.sham||o&&o.sham)&&to(i,"sham",!0),eo(n,r,i,t)}},uo=Tr,co=Rr,ao=Object.keys||function(t){return uo(t,co)},fo=b,lo=k,so=m,po=v,yo=ao,vo=_r,bo=w,go=Wt,ho=z,mo=Object.assign,wo=Object.defineProperty,Oo=lo([].concat),jo=!mo||po((function(){if(fo&&1!==mo({b:1},mo(wo({},"a",{enumerable:!0,get:function(){wo(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=Symbol("assign detection"),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach((function(t){e[t]=t})),7!==mo({},t)[n]||yo(mo({},e)).join("")!==r}))?function(t,e){for(var n=go(t),r=arguments.length,o=1,i=vo.f,u=bo.f;r>o;)for(var c,a=ho(arguments[o++]),f=i?Oo(yo(a),i(a)):yo(a),l=f.length,s=0;l>s;)c=f[s++],fo&&!so(u,a,c)||(n[c]=a[c]);return n}:mo,So=jo;io({target:"Object",stat:!0,arity:2,forced:Object.assign!==So},{assign:So});var xo=F,Eo=Array.isArray||function(t){return"Array"===xo(t)},Po=TypeError,Io=me,To=Fe,Ro=P,Ao={};Ao[fe("toStringTag")]="z";var ko="[object z]"===String(Ao),_o=ko,Co=V,Do=F,Fo=fe("toStringTag"),Mo=Object,Lo="Arguments"===Do(function(){return arguments}()),No=_o?Do: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=Mo(t),Fo))?n:Lo?Do(e):"Object"===(r=Do(e))&&Co(e.callee)?"Arguments":r},Bo=k,zo=v,$o=V,Ko=No,qo=bn,Go=function(){},Uo=[],Wo=ot("Reflect","construct"),Ho=/^\s*(?:class|function)\b/,Yo=Bo(Ho.exec),Xo=!Ho.test(Go),Qo=function(t){if(!$o(t))return!1;try{return Wo(Go,Uo,t),!0}catch(t){return!1}},Vo=function(t){if(!$o(t))return!1;switch(Ko(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Xo||!!Yo(Ho,qo(t))}catch(t){return!0}};Vo.sham=!0;var Jo=!Wo||zo((function(){var t;return Qo(Qo.call)||!Qo(Object)||!Qo((function(){t=!0}))||t}))?Vo:Qo,Zo=Eo,ti=Jo,ei=tt,ni=fe("species"),ri=Array,oi=function(t){var e;return Zo(t)&&(e=t.constructor,(ti(e)&&(e===ri||Zo(e.prototype))||ei(e)&&null===(e=e[ni]))&&(e=void 0)),void 0===e?ri:e},ii=function(t,e){return new(oi(t))(0===e?0:e)},ui=v,ci=pt,ai=fe("species"),fi=io,li=v,si=Eo,pi=tt,yi=Wt,vi=gr,bi=function(t){if(t>9007199254740991)throw Po("Maximum allowed index exceeded");return t},di=function(t,e,n){var r=Io(e);r in t?To.f(t,r,Ro(0,n)):t[r]=n},gi=ii,hi=function(t){return ci>=51||!ui((function(){var e=[];return(e.constructor={})[ai]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},mi=pt,wi=fe("isConcatSpreadable"),Oi=mi>=51||!li((function(){var t=[];return t[wi]=!1,t.concat()[0]!==t})),ji=function(t){if(!pi(t))return!1;var e=t[wi];return void 0!==e?!!e:si(t)};fi({target:"Array",proto:!0,arity:1,forced:!Oi||!hi("concat")},{concat:function(t){var e,n,r,o,i,u=yi(this),c=gi(u,0),a=0;for(e=-1,r=arguments.length;e<r;e++)if(ji(i=-1===e?u:arguments[e]))for(o=vi(i),bi(a+o),n=0;n<o;n++,a++)n in i&&di(c,a,i[n]);else bi(a+1),di(c,a++,i);return c.length=a,c}});var Si=F,xi=k,Ei=function(t){if("Function"===Si(t))return xi(t)},Pi=It,Ii=d,Ti=Ei(Ei.bind),Ri=function(t,e){return Pi(t),void 0===e?t:Ii?Ti(t,e):function(){return t.apply(e,arguments)}},Ai=z,ki=Wt,_i=gr,Ci=ii,Di=k([].push),Fi=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,y,v=ki(a),b=Ai(v),d=_i(b),g=Ri(f,l),h=0,m=s||Ci,w=e?m(a,d):n||u?m(a,0):void 0;d>h;h++)if((c||h in b)&&(y=g(p=b[h],h,v),t))if(e)w[h]=y;else if(y)switch(t){case 3:return!0;case 5:return p;case 6:return h;case 2:Di(w,p)}else switch(t){case 4:return!1;case 7:Di(w,p)}return i?-1:r||o?o:w}},Mi={forEach:Fi(0),map:Fi(1),filter:Fi(2),some:Fi(3),every:Fi(4),find:Fi(5),findIndex:Fi(6),filterReject:Fi(7)},Li={},Ni=b,Bi=Me,zi=Fe,$i=ze,Ki=H,qi=ao;Li.f=Ni&&!Bi?Object.defineProperties:function(t,e){$i(t);for(var n,r=Ki(e),o=qi(e),i=o.length,u=0;i>u;)zi.f(t,n=o[u++],r[n]);return t};var Gi,Ui=ot("document","documentElement"),Wi=ze,Hi=Li,Yi=Rr,Xi=jn,Qi=Ui,Vi=Se,Ji=On("IE_PROTO"),Zi=function(){},tu=function(t){return"<script>"+t+"</"+"script>"},eu=function(t){t.write(tu("")),t.close();var e=t.parentWindow.Object;return t=null,e},nu=function(){try{Gi=new ActiveXObject("htmlfile")}catch(t){}var t,e;nu="undefined"!=typeof document?document.domain&&Gi?eu(Gi):((e=Vi("iframe")).style.display="none",Qi.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(tu("document.F=Object")),t.close(),t.F):eu(Gi);for(var n=Yi.length;n--;)delete nu.prototype[Yi[n]];return nu()};Xi[Ji]=!0;var ru=Object.create||function(t,e){var n;return null!==t?(Zi.prototype=Wi(t),n=new Zi,Zi.prototype=null,n[Ji]=t):n=nu(),void 0===e?n:Hi.f(n,e)},ou=fe,iu=ru,uu=Fe.f,cu=ou("unscopables"),au=Array.prototype;void 0===au[cu]&&uu(au,cu,{configurable:!0,value:iu(null)});var fu=io,lu=Mi.find,su=function(t){au[cu][t]=!0},pu="find",yu=!0;pu in[]&&Array(1).find((function(){yu=!1})),fu({target:"Array",proto:!0,forced:yu},{find:function(t){return lu(this,t,arguments.length>1?arguments[1]:void 0)}}),su(pu);var vu=No,bu=ko?{}.toString:function(){return"[object "+vu(this)+"]"};ko||ir(Object.prototype,"toString",bu,{unsafe:!0});var du,gu,hu=No,mu=String,wu=function(t){if("Symbol"===hu(t))throw new TypeError("Cannot convert a Symbol value to a string");return mu(t)},Ou=ze,ju=v,Su=p.RegExp,xu=ju((function(){var t=Su("a","y");return t.lastIndex=2,null!==t.exec("abcd")})),Eu=xu||ju((function(){return!Su("a","y").sticky})),Pu={BROKEN_CARET:xu||ju((function(){var t=Su("^r","gy");return t.lastIndex=2,null!==t.exec("str")})),MISSED_STICKY:Eu,UNSUPPORTED_Y:xu},Iu=v,Tu=p.RegExp,Ru=Iu((function(){var t=Tu(".","s");return!(t.dotAll&&t.test("\n")&&"s"===t.flags)})),Au=v,ku=p.RegExp,_u=Au((function(){var t=ku("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})),Cu=m,Du=k,Fu=wu,Mu=function(){var t=Ou(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e},Lu=Pu,Nu=ru,Bu=Mn.get,zu=Ru,$u=_u,Ku=qt("native-string-replace",String.prototype.replace),qu=RegExp.prototype.exec,Gu=qu,Uu=Du("".charAt),Wu=Du("".indexOf),Hu=Du("".replace),Yu=Du("".slice),Xu=(gu=/b*/g,Cu(qu,du=/a/,"a"),Cu(qu,gu,"a"),0!==du.lastIndex||0!==gu.lastIndex),Qu=Lu.BROKEN_CARET,Vu=void 0!==/()??/.exec("")[1];(Xu||Vu||Qu||zu||$u)&&(Gu=function(t){var e,n,r,o,i,u,c,a=this,f=Bu(a),l=Fu(t),s=f.raw;if(s)return s.lastIndex=a.lastIndex,e=Cu(Gu,s,l),a.lastIndex=s.lastIndex,e;var p=f.groups,y=Qu&&a.sticky,v=Cu(Mu,a),b=a.source,d=0,g=l;if(y&&(v=Hu(v,"y",""),-1===Wu(v,"g")&&(v+="g"),g=Yu(l,a.lastIndex),a.lastIndex>0&&(!a.multiline||a.multiline&&"\n"!==Uu(l,a.lastIndex-1))&&(b="(?: "+b+")",g=" "+g,d++),n=new RegExp("^(?:"+b+")",v)),Vu&&(n=new RegExp("^"+b+"$(?!\\s)",v)),Xu&&(r=a.lastIndex),o=Cu(qu,y?n:a,g),y?o?(o.input=Yu(o.input,d),o[0]=Yu(o[0],d),o.index=a.lastIndex,a.lastIndex+=o[0].length):a.lastIndex=0:Xu&&o&&(a.lastIndex=a.global?o.index+o[0].length:r),Vu&&o&&o.length>1&&Cu(Ku,o[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0)})),o&&p)for(o.groups=u=Nu(null),i=0;i<p.length;i++)u[(c=p[i])[0]]=o[c[1]];return o});var Ju=Gu;io({target:"RegExp",proto:!0,forced:/./.exec!==Ju},{exec:Ju});var Zu=Ei,tc=ir,ec=Ju,nc=v,rc=fe,oc=tn,ic=rc("species"),uc=RegExp.prototype,cc=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e},ac=m,fc=ze,lc=V,sc=F,pc=Ju,yc=TypeError,vc=m,bc=function(t,e,n,r){var o=rc(t),i=!nc((function(){var e={};return e[o]=function(){return 7},7!==""[t](e)})),u=i&&!nc((function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[ic]=function(){return n},n.flags="",n[o]=/./[o]),n.exec=function(){return e=!0,null},n[o](""),!e}));if(!i||!u||n){var c=Zu(/./[o]),a=e(o,""[t],(function(t,e,n,r,o){var u=Zu(t),a=e.exec;return a===ec||a===uc.exec?i&&!o?{done:!0,value:c(e,n,r)}:{done:!0,value:u(n,e,r)}:{done:!1}}));tc(String.prototype,t,a[0]),tc(uc,o,a[1])}r&&oc(uc[o],"sham",!0)},dc=ze,gc=$,hc=G,mc=cc,wc=wu,Oc=At,jc=function(t,e){var n=t.exec;if(lc(n)){var r=ac(n,t,e);return null!==r&&fc(r),r}if("RegExp"===sc(t))return ac(pc,t,e);throw new yc("RegExp#exec called on incompatible receiver")};bc("search",(function(t,e,n){return[function(e){var n=hc(this),r=gc(e)?void 0:Oc(e,t);return r?vc(r,e,n):new RegExp(e)[t](wc(n))},function(t){var r=dc(this),o=wc(t),i=n(e,r,o);if(i.done)return i.value;var u=r.lastIndex;mc(u,0)||(r.lastIndex=0);var c=jc(r,o);return mc(r.lastIndex,u)||(r.lastIndex=u),null===c?-1:c.index}]}));var Sc=t.fn.bootstrapTable.utils;Object.assign(t.fn.bootstrapTable.defaults,{keyEvents:!1}),t.BootstrapTable=function(e){!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&&i(t,e)}(p,e);var u,a,l,s=c(p);function p(){return n(this,p),s.apply(this,arguments)}return u=p,a=[{key:"init",value:function(){for(var t,e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];(t=f(o(p.prototype),"init",this)).call.apply(t,[this].concat(n)),this.options.keyEvents&&this.initKeyEvents()}},{key:"initKeyEvents",value:function(){var e=this;t(document).off("keydown").on("keydown",(function(n){var r=Sc.getSearchInput(e),o=e.$toolbar.find('button[name="refresh"]'),i=e.$toolbar.find('button[name="toggle"]'),u=e.$toolbar.find('button[name="paginationSwitch"]');if(document.activeElement===r.get(0)||!t.contains(document.activeElement,e.$toolbar.get(0)))return!0;switch(n.keyCode){case 83:if(!e.options.search)return;return r.focus(),!1;case 82:if(!e.options.showRefresh)return;return o.click(),!1;case 84:if(!e.options.showToggle)return;return i.click(),!1;case 80:if(!e.options.showPaginationSwitch)return;return u.click(),!1;case 37:if(!e.options.pagination)return;return e.prevPage(),!1;case 39:if(!e.options.pagination)return;return void e.nextPage()}}))}}],a&&r(u.prototype,a),l&&r(u,l),Object.defineProperty(u,"prototype",{writable:!1}),p}(t.BootstrapTable)}));