bootstrap-table-key-events.min.js 21 KB

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