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) • 28.8 kB
JavaScript
/**
* 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.1
* @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 a(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 a=r(this).constructor;n=Reflect.construct(o,arguments,a)}else n=o.apply(this,arguments);return i(this,n)}}function u(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=r(t)););return t}function c(){return c="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,n){var r=u(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(arguments.length<3?t:n):o.value}},c.apply(this,arguments)}function f(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i,a,u=[],c=!0,f=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(u.push(r.value),u.length!==e);c=!0);}catch(t){f=!0,o=t}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(f)throw o}}return u}}(t,e)||l(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(t,e){if(t){if("string"==typeof t)return s(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(t,e):void 0}}function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var d="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},p=function(t){return t&&t.Math==Math&&t},v=p("object"==typeof globalThis&&globalThis)||p("object"==typeof window&&window)||p("object"==typeof self&&self)||p("object"==typeof d&&d)||function(){return this}()||Function("return this")(),b={},y=function(t){try{return!!t()}catch(t){return!0}},g=!y((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),h=!y((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),m=h,O=Function.prototype.call,w=m?O.bind(O):function(){return O.apply(O,arguments)},j={},x={}.propertyIsEnumerable,S=Object.getOwnPropertyDescriptor,E=S&&!x.call({1:2},1);j.f=E?function(t){var e=S(this,t);return!!e&&e.enumerable}:x;var I,T,A=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},P=h,R=Function.prototype,_=R.call,C=P&&R.bind.bind(_,_),F=P?C:function(t){return function(){return _.apply(t,arguments)}},D=F,M=D({}.toString),k=D("".slice),$=function(t){return k(M(t),8,-1)},L=y,B=$,N=Object,q=F("".split),U=L((function(){return!N("z").propertyIsEnumerable(0)}))?function(t){return"String"==B(t)?q(t,""):N(t)}:N,z=function(t){return null==t},H=z,G=TypeError,V=function(t){if(H(t))throw G("Can't call method on "+t);return t},W=U,K=V,Y=function(t){return W(K(t))},X="object"==typeof document&&document.all,Q={all:X,IS_HTMLDDA:void 0===X&&void 0!==X},Z=Q.all,J=Q.IS_HTMLDDA?function(t){return"function"==typeof t||t===Z}:function(t){return"function"==typeof t},tt=J,et=Q.all,nt=Q.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:tt(t)||t===et}:function(t){return"object"==typeof t?null!==t:tt(t)},rt=v,ot=J,it=function(t){return ot(t)?t:void 0},at=function(t,e){return arguments.length<2?it(rt[t]):rt[t]&&rt[t][e]},ut=F({}.isPrototypeOf),ct=v,ft="undefined"!=typeof navigator&&String(navigator.userAgent)||"",lt=ct.process,st=ct.Deno,dt=lt&<.versions||st&&st.version,pt=dt&&dt.v8;pt&&(T=(I=pt.split("."))[0]>0&&I[0]<4?1:+(I[0]+I[1])),!T&&ft&&(!(I=ft.match(/Edge\/(\d+)/))||I[1]>=74)&&(I=ft.match(/Chrome\/(\d+)/))&&(T=+I[1]);var vt=T,bt=vt,yt=y,gt=!!Object.getOwnPropertySymbols&&!yt((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&bt&&bt<41})),ht=gt&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,mt=at,Ot=J,wt=ut,jt=Object,xt=ht?function(t){return"symbol"==typeof t}:function(t){var e=mt("Symbol");return Ot(e)&&wt(e.prototype,jt(t))},St=String,Et=J,It=function(t){try{return St(t)}catch(t){return"Object"}},Tt=TypeError,At=function(t){if(Et(t))return t;throw Tt(It(t)+" is not a function")},Pt=At,Rt=z,_t=function(t,e){var n=t[e];return Rt(n)?void 0:Pt(n)},Ct=w,Ft=J,Dt=nt,Mt=TypeError,kt={},$t={get exports(){return kt},set exports(t){kt=t}},Lt=v,Bt=Object.defineProperty,Nt=function(t,e){try{Bt(Lt,t,{value:e,configurable:!0,writable:!0})}catch(n){Lt[t]=e}return e},qt=Nt,Ut="__core-js_shared__",zt=v[Ut]||qt(Ut,{}),Ht=zt;($t.exports=function(t,e){return Ht[t]||(Ht[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 Gt=V,Vt=Object,Wt=function(t){return Vt(Gt(t))},Kt=Wt,Yt=F({}.hasOwnProperty),Xt=Object.hasOwn||function(t,e){return Yt(Kt(t),e)},Qt=F,Zt=0,Jt=Math.random(),te=Qt(1..toString),ee=function(t){return"Symbol("+(void 0===t?"":t)+")_"+te(++Zt+Jt,36)},ne=kt,re=Xt,oe=ee,ie=gt,ae=ht,ue=v.Symbol,ce=ne("wks"),fe=ae?ue.for||ue:ue&&ue.withoutSetter||oe,le=function(t){return re(ce,t)||(ce[t]=ie&&re(ue,t)?ue[t]:fe("Symbol."+t)),ce[t]},se=w,de=nt,pe=xt,ve=_t,be=function(t,e){var n,r;if("string"===e&&Ft(n=t.toString)&&!Dt(r=Ct(n,t)))return r;if(Ft(n=t.valueOf)&&!Dt(r=Ct(n,t)))return r;if("string"!==e&&Ft(n=t.toString)&&!Dt(r=Ct(n,t)))return r;throw Mt("Can't convert object to primitive value")},ye=TypeError,ge=le("toPrimitive"),he=function(t,e){if(!de(t)||pe(t))return t;var n,r=ve(t,ge);if(r){if(void 0===e&&(e="default"),n=se(r,t,e),!de(n)||pe(n))return n;throw ye("Can't convert object to primitive value")}return void 0===e&&(e="number"),be(t,e)},me=xt,Oe=function(t){var e=he(t,"string");return me(e)?e:e+""},we=nt,je=v.document,xe=we(je)&&we(je.createElement),Se=function(t){return xe?je.createElement(t):{}},Ee=Se,Ie=!g&&!y((function(){return 7!=Object.defineProperty(Ee("div"),"a",{get:function(){return 7}}).a})),Te=g,Ae=w,Pe=j,Re=A,_e=Y,Ce=Oe,Fe=Xt,De=Ie,Me=Object.getOwnPropertyDescriptor;b.f=Te?Me:function(t,e){if(t=_e(t),e=Ce(e),De)try{return Me(t,e)}catch(t){}if(Fe(t,e))return Re(!Ae(Pe.f,t,e),t[e])};var ke={},$e=g&&y((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Le=nt,Be=String,Ne=TypeError,qe=function(t){if(Le(t))return t;throw Ne(Be(t)+" is not an object")},Ue=g,ze=Ie,He=$e,Ge=qe,Ve=Oe,We=TypeError,Ke=Object.defineProperty,Ye=Object.getOwnPropertyDescriptor,Xe="enumerable",Qe="configurable",Ze="writable";ke.f=Ue?He?function(t,e,n){if(Ge(t),e=Ve(e),Ge(n),"function"==typeof t&&"prototype"===e&&"value"in n&&Ze 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 Ke(t,e,n)}:Ke:function(t,e,n){if(Ge(t),e=Ve(e),Ge(n),ze)try{return Ke(t,e,n)}catch(t){}if("get"in n||"set"in n)throw We("Accessors not supported");return"value"in n&&(t[e]=n.value),t};var Je=ke,tn=A,en=g?function(t,e,n){return Je.f(t,e,tn(1,n))}:function(t,e,n){return t[e]=n,t},nn={},rn={get exports(){return nn},set exports(t){nn=t}},on=g,an=Xt,un=Function.prototype,cn=on&&Object.getOwnPropertyDescriptor,fn=an(un,"name"),ln={EXISTS:fn,PROPER:fn&&"something"===function(){}.name,CONFIGURABLE:fn&&(!on||on&&cn(un,"name").configurable)},sn=J,dn=zt,pn=F(Function.toString);sn(dn.inspectSource)||(dn.inspectSource=function(t){return pn(t)});var vn,bn,yn,gn=dn.inspectSource,hn=J,mn=v.WeakMap,On=hn(mn)&&/native code/.test(String(mn)),wn=ee,jn=kt("keys"),xn=function(t){return jn[t]||(jn[t]=wn(t))},Sn={},En=On,In=v,Tn=nt,An=en,Pn=Xt,Rn=zt,_n=xn,Cn=Sn,Fn="Object already initialized",Dn=In.TypeError,Mn=In.WeakMap;if(En||Rn.state){var kn=Rn.state||(Rn.state=new Mn);kn.get=kn.get,kn.has=kn.has,kn.set=kn.set,vn=function(t,e){if(kn.has(t))throw Dn(Fn);return e.facade=t,kn.set(t,e),e},bn=function(t){return kn.get(t)||{}},yn=function(t){return kn.has(t)}}else{var $n=_n("state");Cn[$n]=!0,vn=function(t,e){if(Pn(t,$n))throw Dn(Fn);return e.facade=t,An(t,$n,e),e},bn=function(t){return Pn(t,$n)?t[$n]:{}},yn=function(t){return Pn(t,$n)}}var Ln={set:vn,get:bn,has:yn,enforce:function(t){return yn(t)?bn(t):vn(t,{})},getterFor:function(t){return function(e){var n;if(!Tn(e)||(n=bn(e)).type!==t)throw Dn("Incompatible receiver, "+t+" required");return n}}},Bn=F,Nn=y,qn=J,Un=Xt,zn=g,Hn=ln.CONFIGURABLE,Gn=gn,Vn=Ln.enforce,Wn=Ln.get,Kn=String,Yn=Object.defineProperty,Xn=Bn("".slice),Qn=Bn("".replace),Zn=Bn([].join),Jn=zn&&!Nn((function(){return 8!==Yn((function(){}),"length",{value:8}).length})),tr=String(String).split("String"),er=rn.exports=function(t,e,n){"Symbol("===Xn(Kn(e),0,7)&&(e="["+Qn(Kn(e),/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!Un(t,"name")||Hn&&t.name!==e)&&(zn?Yn(t,"name",{value:e,configurable:!0}):t.name=e),Jn&&n&&Un(n,"arity")&&t.length!==n.arity&&Yn(t,"length",{value:n.arity});try{n&&Un(n,"constructor")&&n.constructor?zn&&Yn(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var r=Vn(t);return Un(r,"source")||(r.source=Zn(tr,"string"==typeof e?e:"")),t};Function.prototype.toString=er((function(){return qn(this)&&Wn(this).source||Gn(this)}),"toString");var nr=J,rr=ke,or=nn,ir=Nt,ar=function(t,e,n,r){r||(r={});var o=r.enumerable,i=void 0!==r.name?r.name:e;if(nr(n)&&or(n,i,r),r.global)o?t[e]=n:ir(e,n);else{try{r.unsafe?t[e]&&(o=!0):delete t[e]}catch(t){}o?t[e]=n:rr.f(t,e,{value:n,enumerable:!1,configurable:!r.nonConfigurable,writable:!r.nonWritable})}return t},ur={},cr=Math.ceil,fr=Math.floor,lr=Math.trunc||function(t){var e=+t;return(e>0?fr:cr)(e)},sr=function(t){var e=+t;return e!=e||0===e?0:lr(e)},dr=sr,pr=Math.max,vr=Math.min,br=sr,yr=Math.min,gr=function(t){return t>0?yr(br(t),9007199254740991):0},hr=gr,mr=function(t){return hr(t.length)},Or=Y,wr=function(t,e){var n=dr(t);return n<0?pr(n+e,0):vr(n,e)},jr=mr,xr=function(t){return function(e,n,r){var o,i=Or(e),a=jr(i),u=wr(r,a);if(t&&n!=n){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((t||u in i)&&i[u]===n)return t||u||0;return!t&&-1}},Sr={includes:xr(!0),indexOf:xr(!1)},Er=Xt,Ir=Y,Tr=Sr.indexOf,Ar=Sn,Pr=F([].push),Rr=function(t,e){var n,r=Ir(t),o=0,i=[];for(n in r)!Er(Ar,n)&&Er(r,n)&&Pr(i,n);for(;e.length>o;)Er(r,n=e[o++])&&(~Tr(i,n)||Pr(i,n));return i},_r=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Cr=Rr,Fr=_r.concat("length","prototype");ur.f=Object.getOwnPropertyNames||function(t){return Cr(t,Fr)};var Dr={};Dr.f=Object.getOwnPropertySymbols;var Mr=at,kr=ur,$r=Dr,Lr=qe,Br=F([].concat),Nr=Mr("Reflect","ownKeys")||function(t){var e=kr.f(Lr(t)),n=$r.f;return n?Br(e,n(t)):e},qr=Xt,Ur=Nr,zr=b,Hr=ke,Gr=y,Vr=J,Wr=/#|\.prototype\./,Kr=function(t,e){var n=Xr[Yr(t)];return n==Zr||n!=Qr&&(Vr(e)?Gr(e):!!e)},Yr=Kr.normalize=function(t){return String(t).replace(Wr,".").toLowerCase()},Xr=Kr.data={},Qr=Kr.NATIVE="N",Zr=Kr.POLYFILL="P",Jr=Kr,to=v,eo=b.f,no=en,ro=ar,oo=Nt,io=function(t,e,n){for(var r=Ur(e),o=Hr.f,i=zr.f,a=0;a<r.length;a++){var u=r[a];qr(t,u)||n&&qr(n,u)||o(t,u,i(e,u))}},ao=Jr,uo=function(t,e){var n,r,o,i,a,u=t.target,c=t.global,f=t.stat;if(n=c?to:f?to[u]||oo(u,{}):(to[u]||{}).prototype)for(r in e){if(i=e[r],o=t.dontCallGetSet?(a=eo(n,r))&&a.value:n[r],!ao(c?r:u+(f?".":"#")+r,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;io(i,o)}(t.sham||o&&o.sham)&&no(i,"sham",!0),ro(n,r,i,t)}},co=Rr,fo=_r,lo=Object.keys||function(t){return co(t,fo)},so=g,po=F,vo=w,bo=y,yo=lo,go=Dr,ho=j,mo=Wt,Oo=U,wo=Object.assign,jo=Object.defineProperty,xo=po([].concat),So=!wo||bo((function(){if(so&&1!==wo({b:1},wo(jo({},"a",{enumerable:!0,get:function(){jo(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!=wo({},t)[n]||yo(wo({},e)).join("")!=r}))?function(t,e){for(var n=mo(t),r=arguments.length,o=1,i=go.f,a=ho.f;r>o;)for(var u,c=Oo(arguments[o++]),f=i?xo(yo(c),i(c)):yo(c),l=f.length,s=0;l>s;)u=f[s++],so&&!vo(a,c,u)||(n[u]=c[u]);return n}:wo,Eo=So;uo({target:"Object",stat:!0,arity:2,forced:Object.assign!==Eo},{assign:Eo});var Io={};Io[le("toStringTag")]="z";var To="[object z]"===String(Io),Ao=To,Po=J,Ro=$,_o=le("toStringTag"),Co=Object,Fo="Arguments"==Ro(function(){return arguments}()),Do=Ao?Ro: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=Co(t),_o))?n:Fo?Ro(e):"Object"==(r=Ro(e))&&Po(e.callee)?"Arguments":r},Mo=Do,ko=String,$o=function(t){if("Symbol"===Mo(t))throw TypeError("Cannot convert a Symbol value to a string");return ko(t)},Lo=qe,Bo=y,No=v.RegExp,qo=Bo((function(){var t=No("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),Uo=qo||Bo((function(){return!No("a","y").sticky})),zo={BROKEN_CARET:qo||Bo((function(){var t=No("^r","gy");return t.lastIndex=2,null!=t.exec("str")})),MISSED_STICKY:Uo,UNSUPPORTED_Y:qo},Ho={},Go=g,Vo=$e,Wo=ke,Ko=qe,Yo=Y,Xo=lo;Ho.f=Go&&!Vo?Object.defineProperties:function(t,e){Ko(t);for(var n,r=Yo(e),o=Xo(e),i=o.length,a=0;i>a;)Wo.f(t,n=o[a++],r[n]);return t};var Qo,Zo=at("document","documentElement"),Jo=qe,ti=Ho,ei=_r,ni=Sn,ri=Zo,oi=Se,ii=xn("IE_PROTO"),ai=function(){},ui=function(t){return"<script>"+t+"</"+"script>"},ci=function(t){t.write(ui("")),t.close();var e=t.parentWindow.Object;return t=null,e},fi=function(){try{Qo=new ActiveXObject("htmlfile")}catch(t){}var t,e;fi="undefined"!=typeof document?document.domain&&Qo?ci(Qo):((e=oi("iframe")).style.display="none",ri.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(ui("document.F=Object")),t.close(),t.F):ci(Qo);for(var n=ei.length;n--;)delete fi.prototype[ei[n]];return fi()};ni[ii]=!0;var li,si,di=Object.create||function(t,e){var n;return null!==t?(ai.prototype=Jo(t),n=new ai,ai.prototype=null,n[ii]=t):n=fi(),void 0===e?n:ti.f(n,e)},pi=y,vi=v.RegExp,bi=pi((function(){var t=vi(".","s");return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)})),yi=y,gi=v.RegExp,hi=yi((function(){var t=gi("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})),mi=w,Oi=F,wi=$o,ji=function(){var t=Lo(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},xi=zo,Si=di,Ei=Ln.get,Ii=bi,Ti=hi,Ai=kt("native-string-replace",String.prototype.replace),Pi=RegExp.prototype.exec,Ri=Pi,_i=Oi("".charAt),Ci=Oi("".indexOf),Fi=Oi("".replace),Di=Oi("".slice),Mi=(si=/b*/g,mi(Pi,li=/a/,"a"),mi(Pi,si,"a"),0!==li.lastIndex||0!==si.lastIndex),ki=xi.BROKEN_CARET,$i=void 0!==/()??/.exec("")[1];(Mi||$i||ki||Ii||Ti)&&(Ri=function(t){var e,n,r,o,i,a,u,c=this,f=Ei(c),l=wi(t),s=f.raw;if(s)return s.lastIndex=c.lastIndex,e=mi(Ri,s,l),c.lastIndex=s.lastIndex,e;var d=f.groups,p=ki&&c.sticky,v=mi(ji,c),b=c.source,y=0,g=l;if(p&&(v=Fi(v,"y",""),-1===Ci(v,"g")&&(v+="g"),g=Di(l,c.lastIndex),c.lastIndex>0&&(!c.multiline||c.multiline&&"\n"!==_i(l,c.lastIndex-1))&&(b="(?: "+b+")",g=" "+g,y++),n=new RegExp("^(?:"+b+")",v)),$i&&(n=new RegExp("^"+b+"$(?!\\s)",v)),Mi&&(r=c.lastIndex),o=mi(Pi,p?n:c,g),p?o?(o.input=Di(o.input,y),o[0]=Di(o[0],y),o.index=c.lastIndex,c.lastIndex+=o[0].length):c.lastIndex=0:Mi&&o&&(c.lastIndex=c.global?o.index+o[0].length:r),$i&&o&&o.length>1&&mi(Ai,o[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0)})),o&&d)for(o.groups=a=Si(null),i=0;i<d.length;i++)a[(u=d[i])[0]]=o[u[1]];return o});var Li=Ri;uo({target:"RegExp",proto:!0,forced:/./.exec!==Li},{exec:Li});var Bi=h,Ni=Function.prototype,qi=Ni.apply,Ui=Ni.call,zi="object"==typeof Reflect&&Reflect.apply||(Bi?Ui.bind(qi):function(){return Ui.apply(qi,arguments)}),Hi=$,Gi=F,Vi=function(t){if("Function"===Hi(t))return Gi(t)},Wi=Vi,Ki=ar,Yi=Li,Xi=y,Qi=le,Zi=en,Ji=Qi("species"),ta=RegExp.prototype,ea=F,na=sr,ra=$o,oa=V,ia=ea("".charAt),aa=ea("".charCodeAt),ua=ea("".slice),ca=function(t){return function(e,n){var r,o,i=ra(oa(e)),a=na(n),u=i.length;return a<0||a>=u?t?"":void 0:(r=aa(i,a))<55296||r>56319||a+1===u||(o=aa(i,a+1))<56320||o>57343?t?ia(i,a):r:t?ua(i,a,a+2):o-56320+(r-55296<<10)+65536}},fa={codeAt:ca(!1),charAt:ca(!0)}.charAt,la=F,sa=Wt,da=Math.floor,pa=la("".charAt),va=la("".replace),ba=la("".slice),ya=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,ga=/\$([$&'`]|\d{1,2})/g,ha=w,ma=qe,Oa=J,wa=$,ja=Li,xa=TypeError,Sa=zi,Ea=w,Ia=F,Ta=function(t,e,n,r){var o=Qi(t),i=!Xi((function(){var e={};return e[o]=function(){return 7},7!=""[t](e)})),a=i&&!Xi((function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[Ji]=function(){return n},n.flags="",n[o]=/./[o]),n.exec=function(){return e=!0,null},n[o](""),!e}));if(!i||!a||n){var u=Wi(/./[o]),c=e(o,""[t],(function(t,e,n,r,o){var a=Wi(t),c=e.exec;return c===Yi||c===ta.exec?i&&!o?{done:!0,value:u(e,n,r)}:{done:!0,value:a(n,e,r)}:{done:!1}}));Ki(String.prototype,t,c[0]),Ki(ta,o,c[1])}r&&Zi(ta[o],"sham",!0)},Aa=y,Pa=qe,Ra=J,_a=z,Ca=sr,Fa=gr,Da=$o,Ma=V,ka=function(t,e,n){return e+(n?fa(t,e).length:1)},$a=_t,La=function(t,e,n,r,o,i){var a=n+t.length,u=r.length,c=ga;return void 0!==o&&(o=sa(o),c=ya),va(i,c,(function(i,c){var f;switch(pa(c,0)){case"$":return"$";case"&":return t;case"`":return ba(e,0,n);case"'":return ba(e,a);case"<":f=o[ba(c,1,-1)];break;default:var l=+c;if(0===l)return i;if(l>u){var s=da(l/10);return 0===s?i:s<=u?void 0===r[s-1]?pa(c,1):r[s-1]+pa(c,1):i}f=r[l-1]}return void 0===f?"":f}))},Ba=function(t,e){var n=t.exec;if(Oa(n)){var r=ha(n,t,e);return null!==r&&ma(r),r}if("RegExp"===wa(t))return ha(ja,t,e);throw xa("RegExp#exec called on incompatible receiver")},Na=le("replace"),qa=Math.max,Ua=Math.min,za=Ia([].concat),Ha=Ia([].push),Ga=Ia("".indexOf),Va=Ia("".slice),Wa="$0"==="a".replace(/./,"$0"),Ka=!!/./[Na]&&""===/./[Na]("a","$0");Ta("replace",(function(t,e,n){var r=Ka?"$":"$0";return[function(t,n){var r=Ma(this),o=_a(t)?void 0:$a(t,Na);return o?Ea(o,t,r,n):Ea(e,Da(r),t,n)},function(t,o){var i=Pa(this),a=Da(t);if("string"==typeof o&&-1===Ga(o,r)&&-1===Ga(o,"$<")){var u=n(e,i,a,o);if(u.done)return u.value}var c=Ra(o);c||(o=Da(o));var f=i.global;if(f){var l=i.unicode;i.lastIndex=0}for(var s=[];;){var d=Ba(i,a);if(null===d)break;if(Ha(s,d),!f)break;""===Da(d[0])&&(i.lastIndex=ka(a,Fa(i.lastIndex),l))}for(var p,v="",b=0,y=0;y<s.length;y++){for(var g=Da((d=s[y])[0]),h=qa(Ua(Ca(d.index),a.length),0),m=[],O=1;O<d.length;O++)Ha(m,void 0===(p=d[O])?p:String(p));var w=d.groups;if(c){var j=za([g],m,h,a);void 0!==w&&Ha(j,w);var x=Da(Sa(o,void 0,j))}else x=La(g,a,h,m,w,o);h>=b&&(v+=Va(a,b,h)+x,b=h+g.length)}return v+Va(a,b)}]}),!!Aa((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!Wa||Ka);var Ya=y,Xa=uo,Qa=Sr.indexOf,Za=function(t,e){var n=[][t];return!!n&&Ya((function(){n.call(null,e||function(){return 1},1)}))},Ja=Vi([].indexOf),tu=!!Ja&&1/Ja([1],1,-0)<0;Xa({target:"Array",proto:!0,forced:tu||!Za("indexOf")},{indexOf:function(t){var e=arguments.length>1?arguments[1]:void 0;return tu?Ja(this,t,e)||0:Qa(this,t,e)}});var eu=$,nu=Array.isArray||function(t){return"Array"==eu(t)},ru=TypeError,ou=Oe,iu=ke,au=A,uu=F,cu=y,fu=J,lu=Do,su=gn,du=function(){},pu=[],vu=at("Reflect","construct"),bu=/^\s*(?:class|function)\b/,yu=uu(bu.exec),gu=!bu.exec(du),hu=function(t){if(!fu(t))return!1;try{return vu(du,pu,t),!0}catch(t){return!1}},mu=function(t){if(!fu(t))return!1;switch(lu(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return gu||!!yu(bu,su(t))}catch(t){return!0}};mu.sham=!0;var Ou=!vu||cu((function(){var t;return hu(hu.call)||!hu(Object)||!hu((function(){t=!0}))||t}))?mu:hu,wu=nu,ju=Ou,xu=nt,Su=le("species"),Eu=Array,Iu=function(t){var e;return wu(t)&&(e=t.constructor,(ju(e)&&(e===Eu||wu(e.prototype))||xu(e)&&null===(e=e[Su]))&&(e=void 0)),void 0===e?Eu:e},Tu=function(t,e){return new(Iu(t))(0===e?0:e)},Au=y,Pu=vt,Ru=le("species"),_u=uo,Cu=y,Fu=nu,Du=nt,Mu=Wt,ku=mr,$u=function(t){if(t>9007199254740991)throw ru("Maximum allowed index exceeded");return t},Lu=function(t,e,n){var r=ou(e);r in t?iu.f(t,r,au(0,n)):t[r]=n},Bu=Tu,Nu=function(t){return Pu>=51||!Au((function(){var e=[];return(e.constructor={})[Ru]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},qu=vt,Uu=le("isConcatSpreadable"),zu=qu>=51||!Cu((function(){var t=[];return t[Uu]=!1,t.concat()[0]!==t})),Hu=function(t){if(!Du(t))return!1;var e=t[Uu];return void 0!==e?!!e:Fu(t)};_u({target:"Array",proto:!0,arity:1,forced:!zu||!Nu("concat")},{concat:function(t){var e,n,r,o,i,a=Mu(this),u=Bu(a,0),c=0;for(e=-1,r=arguments.length;e<r;e++)if(Hu(i=-1===e?a:arguments[e]))for(o=ku(i),$u(c+o),n=0;n<o;n++,c++)n in i&&Lu(u,c,i[n]);else $u(c+1),Lu(u,c++,i);return u.length=c,u}});var Gu=At,Vu=h,Wu=Vi(Vi.bind),Ku=function(t,e){return Gu(t),void 0===e?t:Vu?Wu(t,e):function(){return t.apply(e,arguments)}},Yu=U,Xu=Wt,Qu=mr,Zu=Tu,Ju=F([].push),tc=function(t){var e=1==t,n=2==t,r=3==t,o=4==t,i=6==t,a=7==t,u=5==t||i;return function(c,f,l,s){for(var d,p,v=Xu(c),b=Yu(v),y=Ku(f,l),g=Qu(b),h=0,m=s||Zu,O=e?m(c,g):n||a?m(c,0):void 0;g>h;h++)if((u||h in b)&&(p=y(d=b[h],h,v),t))if(e)O[h]=p;else if(p)switch(t){case 3:return!0;case 5:return d;case 6:return h;case 2:Ju(O,d)}else switch(t){case 4:return!1;case 7:Ju(O,d)}return i?-1:r||o?o:O}},ec={forEach:tc(0),map:tc(1),filter:tc(2),some:tc(3),every:tc(4),find:tc(5),findIndex:tc(6),filterReject:tc(7)},nc=le,rc=di,oc=ke.f,ic=nc("unscopables"),ac=Array.prototype;null==ac[ic]&&oc(ac,ic,{configurable:!0,value:rc(null)});var uc=uo,cc=ec.find,fc=function(t){ac[ic][t]=!0},lc="find",sc=!0;lc in[]&&Array(1).find((function(){sc=!1})),uc({target:"Array",proto:!0,forced:sc},{find:function(t){return cc(this,t,arguments.length>1?arguments[1]:void 0)}}),fc(lc);var dc=Do,pc=To?{}.toString:function(){return"[object "+dc(this)+"]"};To||ar(Object.prototype,"toString",pc,{unsafe:!0});var vc=g,bc=F,yc=lo,gc=Y,hc=bc(j.f),mc=bc([].push),Oc=function(t){return function(e){for(var n,r=gc(e),o=yc(r),i=o.length,a=0,u=[];i>a;)n=o[a++],vc&&!hc(r,n)||mc(u,t?[n,r[n]]:r[n]);return u}},wc={entries:Oc(!0),values:Oc(!1)}.entries;uo({target:"Object",stat:!0},{entries:function(t){return wc(t)}});var jc=t.fn.bootstrapTable.utils;Object.assign(t.fn.bootstrapTable.defaults,{editable:!0,onEditableInit:function(){return!1},onEditableSave:function(t,e,n,r,o){return!1},onEditableShown:function(t,e,n,r){return!1},onEditableHidden:function(t,e,n,r){return!1}}),Object.assign(t.fn.bootstrapTable.columnDefaults,{alwaysUseFormatter:!1}),Object.assign(t.fn.bootstrapTable.events,{"editable-init.bs.table":"onEditableInit","editable-save.bs.table":"onEditableSave","editable-shown.bs.table":"onEditableShown","editable-hidden.bs.table":"onEditableHidden"}),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)}(v,i);var u,s,d,p=a(v);function v(){return e(this,v),p.apply(this,arguments)}return u=v,s=[{key:"initTable",value:function(){var e=this;c(r(v.prototype),"initTable",this).call(this),this.options.editable&&(this.editedCells=[],t.each(this.columns,(function(n,r){if(r.editable){var o={},i="editable-",a=function(t,e){var n=t.replace(/([A-Z])/g,(function(t){return"-".concat(t.toLowerCase())}));0===n.indexOf(i)&&(o[n.replace(i,"data-")]=e)};t.each(e.options,a),r.formatter=r.formatter||function(t){return t},r._formatter=r._formatter?r._formatter:r.formatter,r.formatter=function(n,i,u,c){var f=jc.calculateObjectValue(r,r._formatter,[n,i,u],n);if(f=null==f?e.options.undefinedText:f,void 0!==e.options.uniqueId&&!r.alwaysUseFormatter){var l=jc.getItemField(i,e.options.uniqueId,!1);-1!==t.inArray(r.field+l,e.editedCells)&&(f=n)}t.each(r,a);var s=jc.calculateObjectValue(r,r.editable,[u,i],{}),d=s.hasOwnProperty("noEditFormatter")&&s.noEditFormatter(n,i,u,c);if(d)return d;var p="";return t.each(o,(function(t,e){p+=" ".concat(t,'="').concat(e,'"')})),'<a href="javascript:void(0)"\n data-name="'.concat(r.field,'"\n data-pk="').concat(i[e.options.idField],'"\n data-value="').concat(n||"",'"\n ').concat(p,">").concat(f,"</a>")}}})))}},{key:"initBody",value:function(e){var n=this;c(r(v.prototype),"initBody",this).call(this,e),this.options.editable&&(t.each(this.columns,(function(e,r){if(r.editable){var o=n.getData({escape:!0}),i=n.$body.find('a[data-name="'.concat(r.field,'"]'));i.each((function(e,n){var i=t(n),a=i.closest("tr").data("index"),u=o[a],c=jc.calculateObjectValue(r,r.editable,[a,u,i],{});i.editable(c)})),i.off("save").on("save",(function(e,o){var i=e.currentTarget,a=o.submitValue,u=t(i),c=n.getData(),f=u.parents("tr[data-index]").data("index"),l=c[f],s=l[r.field];if(void 0!==n.options.uniqueId&&!r.alwaysUseFormatter){var d=jc.getItemField(l,n.options.uniqueId,!1);-1===t.inArray(r.field+d,n.editedCells)&&n.editedCells.push(r.field+d)}a=jc.escapeHTML(a),u.data("value",a),l[r.field]=a,n.trigger("editable-save",r.field,l,f,s,u),n.initBody()})),i.off("shown").on("shown",(function(e,o){var i=e.currentTarget,a=t(i),u=n.getData()[a.parents("tr[data-index]").data("index")];n.trigger("editable-shown",r.field,u,a,o)})),i.off("hidden").on("hidden",(function(e,o){var i=e.currentTarget,a=t(i),u=n.getData()[a.parents("tr[data-index]").data("index")];n.trigger("editable-hidden",r.field,u,a,o)}))}})),this.trigger("editable-init"))}},{key:"getData",value:function(t){var e=c(r(v.prototype),"getData",this).call(this,t);if(t&&t.escape){var n,o=function(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=l(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){u=!0,i=t},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw i}}}}(e);try{for(o.s();!(n=o.n()).done;)for(var i=n.value,a=0,u=Object.entries(i);a<u.length;a++){var s=f(u[a],2),d=s[0],p=s[1];i[d]=jc.unescapeHTML(p)}}catch(t){o.e(t)}finally{o.f()}}return e}}],s&&n(u.prototype,s),d&&n(u,d),Object.defineProperty(u,"prototype",{writable:!1}),v}(t.BootstrapTable)}));