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) • 27.3 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.20.2
* @homepage https://bootstrap-table.com
* @author wenzhixin <wenzhixin2010@gmail.com> (http://wenzhixin.net.cn/)
* @license MIT
*/
!function(t,r){"object"==typeof exports&&"undefined"!=typeof module?r(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],r):r((t="undefined"!=typeof globalThis?globalThis:t||self).jQuery)}(this,(function(t){"use strict";function r(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var n=r(t);function e(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}function o(t,r){for(var n=0;n<r.length;n++){var e=r[n];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(t,e.key,e)}}function i(t){return i=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},i(t)}function a(t,r){return a=Object.setPrototypeOf||function(t,r){return t.__proto__=r,t},a(t,r)}function u(t,r){if(r&&("object"==typeof r||"function"==typeof r))return r;if(void 0!==r)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 r=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,e=i(t);if(r){var o=i(this).constructor;n=Reflect.construct(e,arguments,o)}else n=e.apply(this,arguments);return u(this,n)}}function f(t,r){for(;!Object.prototype.hasOwnProperty.call(t,r)&&null!==(t=i(t)););return t}function l(){return l="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,r,n){var e=f(t,r);if(e){var o=Object.getOwnPropertyDescriptor(e,r);return o.get?o.get.call(arguments.length<3?t:n):o.value}},l.apply(this,arguments)}function s(t,r){(null==r||r>t.length)&&(r=t.length);for(var n=0,e=new Array(r);n<r;n++)e[n]=t[n];return e}function p(t,r){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,r){if(t){if("string"==typeof t)return s(t,r);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,r):void 0}}(t))||r&&t&&"number"==typeof t.length){n&&(t=n);var e=0,o=function(){};return{s:o,n:function(){return e>=t.length?{done:!0}:{done:!1,value:t[e++]}},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}}}}var d="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},h=function(t){return t&&t.Math==Math&&t},v=h("object"==typeof globalThis&&globalThis)||h("object"==typeof window&&window)||h("object"==typeof self&&self)||h("object"==typeof d&&d)||function(){return this}()||Function("return this")(),y={},b=function(t){try{return!!t()}catch(t){return!0}},g=!b((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),m=!b((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),w=m,O=Function.prototype.call,j=w?O.bind(O):function(){return O.apply(O,arguments)},S={},P={}.propertyIsEnumerable,x=Object.getOwnPropertyDescriptor,A=x&&!P.call({1:2},1);S.f=A?function(t){var r=x(this,t);return!!r&&r.enumerable}:P;var T,E,C=function(t,r){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:r}},F=m,I=Function.prototype,k=I.bind,M=I.call,R=F&&k.bind(M,M),_=F?function(t){return t&&R(t)}:function(t){return t&&function(){return M.apply(t,arguments)}},D=_,z=D({}.toString),B=D("".slice),L=function(t){return B(z(t),8,-1)},N=_,G=b,U=L,V=v.Object,q=N("".split),W=G((function(){return!V("z").propertyIsEnumerable(0)}))?function(t){return"String"==U(t)?q(t,""):V(t)}:V,$=v.TypeError,K=function(t){if(null==t)throw $("Can't call method on "+t);return t},X=W,H=K,J=function(t){return X(H(t))},Q=function(t){return"function"==typeof t},Y=Q,Z=function(t){return"object"==typeof t?null!==t:Y(t)},tt=v,rt=Q,nt=function(t){return rt(t)?t:void 0},et=function(t,r){return arguments.length<2?nt(tt[t]):tt[t]&&tt[t][r]},ot=_({}.isPrototypeOf),it=et("navigator","userAgent")||"",at=v,ut=it,ct=at.process,ft=at.Deno,lt=ct&&ct.versions||ft&&ft.version,st=lt&<.v8;st&&(E=(T=st.split("."))[0]>0&&T[0]<4?1:+(T[0]+T[1])),!E&&ut&&(!(T=ut.match(/Edge\/(\d+)/))||T[1]>=74)&&(T=ut.match(/Chrome\/(\d+)/))&&(E=+T[1]);var pt=E,dt=pt,ht=b,vt=!!Object.getOwnPropertySymbols&&!ht((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&dt&&dt<41})),yt=vt&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,bt=et,gt=Q,mt=ot,wt=yt,Ot=v.Object,jt=wt?function(t){return"symbol"==typeof t}:function(t){var r=bt("Symbol");return gt(r)&&mt(r.prototype,Ot(t))},St=v.String,Pt=Q,xt=function(t){try{return St(t)}catch(t){return"Object"}},At=v.TypeError,Tt=function(t){if(Pt(t))return t;throw At(xt(t)+" is not a function")},Et=Tt,Ct=j,Ft=Q,It=Z,kt=v.TypeError,Mt={exports:{}},Rt=v,_t=Object.defineProperty,Dt=function(t,r){try{_t(Rt,t,{value:r,configurable:!0,writable:!0})}catch(n){Rt[t]=r}return r},zt=Dt,Bt="__core-js_shared__",Lt=v[Bt]||zt(Bt,{}),Nt=Lt;(Mt.exports=function(t,r){return Nt[t]||(Nt[t]=void 0!==r?r:{})})("versions",[]).push({version:"3.22.5",mode:"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.5/LICENSE",source:"https://github.com/zloirock/core-js"});var Gt=K,Ut=v.Object,Vt=function(t){return Ut(Gt(t))},qt=Vt,Wt=_({}.hasOwnProperty),$t=Object.hasOwn||function(t,r){return Wt(qt(t),r)},Kt=_,Xt=0,Ht=Math.random(),Jt=Kt(1..toString),Qt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+Jt(++Xt+Ht,36)},Yt=v,Zt=Mt.exports,tr=$t,rr=Qt,nr=vt,er=yt,or=Zt("wks"),ir=Yt.Symbol,ar=ir&&ir.for,ur=er?ir:ir&&ir.withoutSetter||rr,cr=function(t){if(!tr(or,t)||!nr&&"string"!=typeof or[t]){var r="Symbol."+t;nr&&tr(ir,t)?or[t]=ir[t]:or[t]=er&&ar?ar(r):ur(r)}return or[t]},fr=j,lr=Z,sr=jt,pr=function(t,r){var n=t[r];return null==n?void 0:Et(n)},dr=function(t,r){var n,e;if("string"===r&&Ft(n=t.toString)&&!It(e=Ct(n,t)))return e;if(Ft(n=t.valueOf)&&!It(e=Ct(n,t)))return e;if("string"!==r&&Ft(n=t.toString)&&!It(e=Ct(n,t)))return e;throw kt("Can't convert object to primitive value")},hr=cr,vr=v.TypeError,yr=hr("toPrimitive"),br=function(t,r){if(!lr(t)||sr(t))return t;var n,e=pr(t,yr);if(e){if(void 0===r&&(r="default"),n=fr(e,t,r),!lr(n)||sr(n))return n;throw vr("Can't convert object to primitive value")}return void 0===r&&(r="number"),dr(t,r)},gr=jt,mr=function(t){var r=br(t,"string");return gr(r)?r:r+""},wr=Z,Or=v.document,jr=wr(Or)&&wr(Or.createElement),Sr=function(t){return jr?Or.createElement(t):{}},Pr=Sr,xr=!g&&!b((function(){return 7!=Object.defineProperty(Pr("div"),"a",{get:function(){return 7}}).a})),Ar=g,Tr=j,Er=S,Cr=C,Fr=J,Ir=mr,kr=$t,Mr=xr,Rr=Object.getOwnPropertyDescriptor;y.f=Ar?Rr:function(t,r){if(t=Fr(t),r=Ir(r),Mr)try{return Rr(t,r)}catch(t){}if(kr(t,r))return Cr(!Tr(Er.f,t,r),t[r])};var _r={},Dr=g&&b((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),zr=v,Br=Z,Lr=zr.String,Nr=zr.TypeError,Gr=function(t){if(Br(t))return t;throw Nr(Lr(t)+" is not an object")},Ur=g,Vr=xr,qr=Dr,Wr=Gr,$r=mr,Kr=v.TypeError,Xr=Object.defineProperty,Hr=Object.getOwnPropertyDescriptor,Jr="enumerable",Qr="configurable",Yr="writable";_r.f=Ur?qr?function(t,r,n){if(Wr(t),r=$r(r),Wr(n),"function"==typeof t&&"prototype"===r&&"value"in n&&Yr in n&&!n.writable){var e=Hr(t,r);e&&e.writable&&(t[r]=n.value,n={configurable:Qr in n?n.configurable:e.configurable,enumerable:Jr in n?n.enumerable:e.enumerable,writable:!1})}return Xr(t,r,n)}:Xr:function(t,r,n){if(Wr(t),r=$r(r),Wr(n),Vr)try{return Xr(t,r,n)}catch(t){}if("get"in n||"set"in n)throw Kr("Accessors not supported");return"value"in n&&(t[r]=n.value),t};var Zr=_r,tn=C,rn=g?function(t,r,n){return Zr.f(t,r,tn(1,n))}:function(t,r,n){return t[r]=n,t},nn={exports:{}},en=g,on=$t,an=Function.prototype,un=en&&Object.getOwnPropertyDescriptor,cn=on(an,"name"),fn={EXISTS:cn,PROPER:cn&&"something"===function(){}.name,CONFIGURABLE:cn&&(!en||en&&un(an,"name").configurable)},ln=Q,sn=Lt,pn=_(Function.toString);ln(sn.inspectSource)||(sn.inspectSource=function(t){return pn(t)});var dn,hn,vn,yn=sn.inspectSource,bn=Q,gn=yn,mn=v.WeakMap,wn=bn(mn)&&/native code/.test(gn(mn)),On=Mt.exports,jn=Qt,Sn=On("keys"),Pn=function(t){return Sn[t]||(Sn[t]=jn(t))},xn={},An=wn,Tn=v,En=_,Cn=Z,Fn=rn,In=$t,kn=Lt,Mn=Pn,Rn=xn,_n="Object already initialized",Dn=Tn.TypeError,zn=Tn.WeakMap;if(An||kn.state){var Bn=kn.state||(kn.state=new zn),Ln=En(Bn.get),Nn=En(Bn.has),Gn=En(Bn.set);dn=function(t,r){if(Nn(Bn,t))throw new Dn(_n);return r.facade=t,Gn(Bn,t,r),r},hn=function(t){return Ln(Bn,t)||{}},vn=function(t){return Nn(Bn,t)}}else{var Un=Mn("state");Rn[Un]=!0,dn=function(t,r){if(In(t,Un))throw new Dn(_n);return r.facade=t,Fn(t,Un,r),r},hn=function(t){return In(t,Un)?t[Un]:{}},vn=function(t){return In(t,Un)}}var Vn={set:dn,get:hn,has:vn,enforce:function(t){return vn(t)?hn(t):dn(t,{})},getterFor:function(t){return function(r){var n;if(!Cn(r)||(n=hn(r)).type!==t)throw Dn("Incompatible receiver, "+t+" required");return n}}},qn=b,Wn=Q,$n=$t,Kn=g,Xn=fn.CONFIGURABLE,Hn=yn,Jn=Vn.enforce,Qn=Vn.get,Yn=Object.defineProperty,Zn=Kn&&!qn((function(){return 8!==Yn((function(){}),"length",{value:8}).length})),te=String(String).split("String"),re=nn.exports=function(t,r,n){if("Symbol("===String(r).slice(0,7)&&(r="["+String(r).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(r="get "+r),n&&n.setter&&(r="set "+r),(!$n(t,"name")||Xn&&t.name!==r)&&Yn(t,"name",{value:r,configurable:!0}),Zn&&n&&$n(n,"arity")&&t.length!==n.arity&&Yn(t,"length",{value:n.arity}),n&&$n(n,"constructor")&&n.constructor){if(Kn)try{Yn(t,"prototype",{writable:!1})}catch(t){}}else t.prototype=void 0;var e=Jn(t);return $n(e,"source")||(e.source=te.join("string"==typeof r?r:"")),t};Function.prototype.toString=re((function(){return Wn(this)&&Qn(this).source||Hn(this)}),"toString");var ne=v,ee=Q,oe=rn,ie=nn.exports,ae=Dt,ue=function(t,r,n,e){var o=!!e&&!!e.unsafe,i=!!e&&!!e.enumerable,a=!!e&&!!e.noTargetGet,u=e&&void 0!==e.name?e.name:r;return ee(n)&&ie(n,u,e),t===ne?(i?t[r]=n:ae(r,n),t):(o?!a&&t[r]&&(i=!0):delete t[r],i?t[r]=n:oe(t,r,n),t)},ce={},fe=Math.ceil,le=Math.floor,se=function(t){var r=+t;return r!=r||0===r?0:(r>0?le:fe)(r)},pe=se,de=Math.max,he=Math.min,ve=function(t,r){var n=pe(t);return n<0?de(n+r,0):he(n,r)},ye=se,be=Math.min,ge=function(t){return t>0?be(ye(t),9007199254740991):0},me=function(t){return ge(t.length)},we=J,Oe=ve,je=me,Se=function(t){return function(r,n,e){var o,i=we(r),a=je(i),u=Oe(e,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}},Pe={includes:Se(!0),indexOf:Se(!1)},xe=$t,Ae=J,Te=Pe.indexOf,Ee=xn,Ce=_([].push),Fe=function(t,r){var n,e=Ae(t),o=0,i=[];for(n in e)!xe(Ee,n)&&xe(e,n)&&Ce(i,n);for(;r.length>o;)xe(e,n=r[o++])&&(~Te(i,n)||Ce(i,n));return i},Ie=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],ke=Fe,Me=Ie.concat("length","prototype");ce.f=Object.getOwnPropertyNames||function(t){return ke(t,Me)};var Re={};Re.f=Object.getOwnPropertySymbols;var _e=et,De=ce,ze=Re,Be=Gr,Le=_([].concat),Ne=_e("Reflect","ownKeys")||function(t){var r=De.f(Be(t)),n=ze.f;return n?Le(r,n(t)):r},Ge=$t,Ue=Ne,Ve=y,qe=_r,We=b,$e=Q,Ke=/#|\.prototype\./,Xe=function(t,r){var n=Je[He(t)];return n==Ye||n!=Qe&&($e(r)?We(r):!!r)},He=Xe.normalize=function(t){return String(t).replace(Ke,".").toLowerCase()},Je=Xe.data={},Qe=Xe.NATIVE="N",Ye=Xe.POLYFILL="P",Ze=Xe,to=v,ro=y.f,no=rn,eo=ue,oo=Dt,io=function(t,r,n){for(var e=Ue(r),o=qe.f,i=Ve.f,a=0;a<e.length;a++){var u=e[a];Ge(t,u)||n&&Ge(n,u)||o(t,u,i(r,u))}},ao=Ze,uo=function(t,r){var n,e,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(e in r){if(i=r[e],o=t.noTargetGet?(a=ro(n,e))&&a.value:n[e],!ao(c?e:u+(f?".":"#")+e,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;io(i,o)}(t.sham||o&&o.sham)&&no(i,"sham",!0),eo(n,e,i,t)}},co=L,fo=Array.isArray||function(t){return"Array"==co(t)},lo=mr,so=_r,po=C,ho=function(t,r,n){var e=lo(r);e in t?so.f(t,e,po(0,n)):t[e]=n},vo={};vo[cr("toStringTag")]="z";var yo="[object z]"===String(vo),bo=v,go=yo,mo=Q,wo=L,Oo=cr("toStringTag"),jo=bo.Object,So="Arguments"==wo(function(){return arguments}()),Po=go?wo:function(t){var r,n,e;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,r){try{return t[r]}catch(t){}}(r=jo(t),Oo))?n:So?wo(r):"Object"==(e=wo(r))&&mo(r.callee)?"Arguments":e},xo=_,Ao=b,To=Q,Eo=Po,Co=yn,Fo=function(){},Io=[],ko=et("Reflect","construct"),Mo=/^\s*(?:class|function)\b/,Ro=xo(Mo.exec),_o=!Mo.exec(Fo),Do=function(t){if(!To(t))return!1;try{return ko(Fo,Io,t),!0}catch(t){return!1}},zo=function(t){if(!To(t))return!1;switch(Eo(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return _o||!!Ro(Mo,Co(t))}catch(t){return!0}};zo.sham=!0;var Bo=!ko||Ao((function(){var t;return Do(Do.call)||!Do(Object)||!Do((function(){t=!0}))||t}))?zo:Do,Lo=v,No=fo,Go=Bo,Uo=Z,Vo=cr("species"),qo=Lo.Array,Wo=function(t){var r;return No(t)&&(r=t.constructor,(Go(r)&&(r===qo||No(r.prototype))||Uo(r)&&null===(r=r[Vo]))&&(r=void 0)),void 0===r?qo:r},$o=function(t,r){return new(Wo(t))(0===r?0:r)},Ko=b,Xo=pt,Ho=cr("species"),Jo=function(t){return Xo>=51||!Ko((function(){var r=[];return(r.constructor={})[Ho]=function(){return{foo:1}},1!==r[t](Boolean).foo}))},Qo=uo,Yo=v,Zo=b,ti=fo,ri=Z,ni=Vt,ei=me,oi=ho,ii=$o,ai=Jo,ui=pt,ci=cr("isConcatSpreadable"),fi=9007199254740991,li="Maximum allowed index exceeded",si=Yo.TypeError,pi=ui>=51||!Zo((function(){var t=[];return t[ci]=!1,t.concat()[0]!==t})),di=ai("concat"),hi=function(t){if(!ri(t))return!1;var r=t[ci];return void 0!==r?!!r:ti(t)};Qo({target:"Array",proto:!0,arity:1,forced:!pi||!di},{concat:function(t){var r,n,e,o,i,a=ni(this),u=ii(a,0),c=0;for(r=-1,e=arguments.length;r<e;r++)if(hi(i=-1===r?a:arguments[r])){if(c+(o=ei(i))>fi)throw si(li);for(n=0;n<o;n++,c++)n in i&&oi(u,c,i[n])}else{if(c>=fi)throw si(li);oi(u,c++,i)}return u.length=c,u}});var vi=Fe,yi=Ie,bi=Object.keys||function(t){return vi(t,yi)},gi=g,mi=_,wi=j,Oi=b,ji=bi,Si=Re,Pi=S,xi=Vt,Ai=W,Ti=Object.assign,Ei=Object.defineProperty,Ci=mi([].concat),Fi=!Ti||Oi((function(){if(gi&&1!==Ti({b:1},Ti(Ei({},"a",{enumerable:!0,get:function(){Ei(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},r={},n=Symbol(),e="abcdefghijklmnopqrst";return t[n]=7,e.split("").forEach((function(t){r[t]=t})),7!=Ti({},t)[n]||ji(Ti({},r)).join("")!=e}))?function(t,r){for(var n=xi(t),e=arguments.length,o=1,i=Si.f,a=Pi.f;e>o;)for(var u,c=Ai(arguments[o++]),f=i?Ci(ji(c),i(c)):ji(c),l=f.length,s=0;l>s;)u=f[s++],gi&&!wi(a,c,u)||(n[u]=c[u]);return n}:Ti,Ii=Fi;uo({target:"Object",stat:!0,arity:2,forced:Object.assign!==Ii},{assign:Ii});var ki=_([].slice),Mi=uo,Ri=v,_i=fo,Di=Bo,zi=Z,Bi=ve,Li=me,Ni=J,Gi=ho,Ui=cr,Vi=ki,qi=Jo("slice"),Wi=Ui("species"),$i=Ri.Array,Ki=Math.max;Mi({target:"Array",proto:!0,forced:!qi},{slice:function(t,r){var n,e,o,i=Ni(this),a=Li(i),u=Bi(t,a),c=Bi(void 0===r?a:r,a);if(_i(i)&&(n=i.constructor,(Di(n)&&(n===$i||_i(n.prototype))||zi(n)&&null===(n=n[Wi]))&&(n=void 0),n===$i||void 0===n))return Vi(i,u,c);for(e=new(void 0===n?$i:n)(Ki(c-u,0)),o=0;u<c;u++,o++)u in i&&Gi(e,o,i[u]);return e.length=o,e}});var Xi=b,Hi=function(t,r){var n=[][t];return!!n&&Xi((function(){n.call(null,r||function(){return 1},1)}))},Ji=uo,Qi=Pe.indexOf,Yi=Hi,Zi=_([].indexOf),ta=!!Zi&&1/Zi([1],1,-0)<0,ra=Yi("indexOf");Ji({target:"Array",proto:!0,forced:ta||!ra},{indexOf:function(t){var r=arguments.length>1?arguments[1]:void 0;return ta?Zi(this,t,r)||0:Qi(this,t,r)}});var na=Tt,ea=m,oa=_(_.bind),ia=function(t,r){return na(t),void 0===r?t:ea?oa(t,r):function(){return t.apply(r,arguments)}},aa=fo,ua=me,ca=ia,fa=v.TypeError,la=function(t,r,n,e,o,i,a,u){for(var c,f,l=o,s=0,p=!!a&&ca(a,u);s<e;){if(s in n){if(c=p?p(n[s],s,r):n[s],i>0&&aa(c))f=ua(c),l=la(t,r,c,f,l,i-1)-1;else{if(l>=9007199254740991)throw fa("Exceed the acceptable array length");t[l]=c}l++}s++}return l},sa=la,pa=Vt,da=me,ha=se,va=$o;uo({target:"Array",proto:!0},{flat:function(){var t=arguments.length?arguments[0]:void 0,r=pa(this),n=da(r),e=va(r,0);return e.length=sa(e,r,r,n,0,void 0===t?1:ha(t)),e}});var ya={},ba=g,ga=Dr,ma=_r,wa=Gr,Oa=J,ja=bi;ya.f=ba&&!ga?Object.defineProperties:function(t,r){wa(t);for(var n,e=Oa(r),o=ja(r),i=o.length,a=0;i>a;)ma.f(t,n=o[a++],e[n]);return t};var Sa,Pa=et("document","documentElement"),xa=Gr,Aa=ya,Ta=Ie,Ea=xn,Ca=Pa,Fa=Sr,Ia=Pn("IE_PROTO"),ka=function(){},Ma=function(t){return"<script>"+t+"</"+"script>"},Ra=function(t){t.write(Ma("")),t.close();var r=t.parentWindow.Object;return t=null,r},_a=function(){try{Sa=new ActiveXObject("htmlfile")}catch(t){}var t,r;_a="undefined"!=typeof document?document.domain&&Sa?Ra(Sa):((r=Fa("iframe")).style.display="none",Ca.appendChild(r),r.src=String("javascript:"),(t=r.contentWindow.document).open(),t.write(Ma("document.F=Object")),t.close(),t.F):Ra(Sa);for(var n=Ta.length;n--;)delete _a.prototype[Ta[n]];return _a()};Ea[Ia]=!0;var Da=Object.create||function(t,r){var n;return null!==t?(ka.prototype=xa(t),n=new ka,ka.prototype=null,n[Ia]=t):n=_a(),void 0===r?n:Aa.f(n,r)},za=_r,Ba=cr("unscopables"),La=Array.prototype;null==La[Ba]&&za.f(La,Ba,{configurable:!0,value:Da(null)});var Na=function(t){La[Ba][t]=!0};Na("flat");var Ga=Po,Ua=v.String,Va=ve,qa=me,Wa=ho,$a=v.Array,Ka=Math.max,Xa=function(t,r,n){for(var e=qa(t),o=Va(r,e),i=Va(void 0===n?e:n,e),a=$a(Ka(i-o,0)),u=0;o<i;o++,u++)Wa(a,u,t[o]);return a.length=u,a},Ha=Math.floor,Ja=function(t,r){var n=t.length,e=Ha(n/2);return n<8?Qa(t,r):Ya(t,Ja(Xa(t,0,e),r),Ja(Xa(t,e),r),r)},Qa=function(t,r){for(var n,e,o=t.length,i=1;i<o;){for(e=i,n=t[i];e&&r(t[e-1],n)>0;)t[e]=t[--e];e!==i++&&(t[e]=n)}return t},Ya=function(t,r,n,e){for(var o=r.length,i=n.length,a=0,u=0;a<o||u<i;)t[a+u]=a<o&&u<i?e(r[a],n[u])<=0?r[a++]:n[u++]:a<o?r[a++]:n[u++];return t},Za=Ja,tu=it.match(/firefox\/(\d+)/i),ru=!!tu&&+tu[1],nu=/MSIE|Trident/.test(it),eu=it.match(/AppleWebKit\/(\d+)\./),ou=!!eu&&+eu[1],iu=uo,au=_,uu=Tt,cu=Vt,fu=me,lu=function(t){if("Symbol"===Ga(t))throw TypeError("Cannot convert a Symbol value to a string");return Ua(t)},su=b,pu=Za,du=Hi,hu=ru,vu=nu,yu=pt,bu=ou,gu=[],mu=au(gu.sort),wu=au(gu.push),Ou=su((function(){gu.sort(void 0)})),ju=su((function(){gu.sort(null)})),Su=du("sort"),Pu=!su((function(){if(yu)return yu<70;if(!(hu&&hu>3)){if(vu)return!0;if(bu)return bu<603;var t,r,n,e,o="";for(t=65;t<76;t++){switch(r=String.fromCharCode(t),t){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(e=0;e<47;e++)gu.push({k:r+e,v:n})}for(gu.sort((function(t,r){return r.v-t.v})),e=0;e<gu.length;e++)r=gu[e].k.charAt(0),o.charAt(o.length-1)!==r&&(o+=r);return"DGBEFHACIJK"!==o}}));iu({target:"Array",proto:!0,forced:Ou||!ju||!Su||!Pu},{sort:function(t){void 0!==t&&uu(t);var r=cu(this);if(Pu)return void 0===t?mu(r):mu(r,t);var n,e,o=[],i=fu(r);for(e=0;e<i;e++)e in r&&wu(o,r[e]);for(pu(o,function(t){return function(r,n){return void 0===n?-1:void 0===r?1:void 0!==t?+t(r,n)||0:lu(r)>lu(n)?1:-1}}(t)),n=o.length,e=0;e<n;)r[e]=o[e++];for(;e<i;)delete r[e++];return r}});var xu=Pe.includes,Au=Na;uo({target:"Array",proto:!0,forced:b((function(){return!Array(1).includes()}))},{includes:function(t){return xu(this,t,arguments.length>1?arguments[1]:void 0)}}),Au("includes");var Tu=ia,Eu=W,Cu=Vt,Fu=me,Iu=$o,ku=_([].push),Mu=function(t){var r=1==t,n=2==t,e=3==t,o=4==t,i=6==t,a=7==t,u=5==t||i;return function(c,f,l,s){for(var p,d,h=Cu(c),v=Eu(h),y=Tu(f,l),b=Fu(v),g=0,m=s||Iu,w=r?m(c,b):n||a?m(c,0):void 0;b>g;g++)if((u||g in v)&&(d=y(p=v[g],g,h),t))if(r)w[g]=d;else if(d)switch(t){case 3:return!0;case 5:return p;case 6:return g;case 2:ku(w,p)}else switch(t){case 4:return!1;case 7:ku(w,p)}return i?-1:e||o?o:w}},Ru={forEach:Mu(0),map:Mu(1),filter:Mu(2),some:Mu(3),every:Mu(4),find:Mu(5),findIndex:Mu(6),filterReject:Mu(7)},_u=uo,Du=Ru.find,zu=Na,Bu="find",Lu=!0;Bu in[]&&Array(1).find((function(){Lu=!1})),_u({target:"Array",proto:!0,forced:Lu},{find:function(t){return Du(this,t,arguments.length>1?arguments[1]:void 0)}}),zu(Bu);var Nu=Po,Gu=yo?{}.toString:function(){return"[object "+Nu(this)+"]"};yo||ue(Object.prototype,"toString",Gu,{unsafe:!0});var Uu=uo,Vu=W,qu=J,Wu=Hi,$u=_([].join),Ku=Vu!=Object,Xu=Wu("join",",");Uu({target:"Array",proto:!0,forced:Ku||!Xu},{join:function(t){return $u(qu(this),void 0===t?",":t)}});var Hu=Ru.filter;uo({target:"Array",proto:!0,forced:!Jo("filter")},{filter:function(t){return Hu(this,t,arguments.length>1?arguments[1]:void 0)}});var Ju=Ru.map;uo({target:"Array",proto:!0,forced:!Jo("map")},{map:function(t){return Ju(this,t,arguments.length>1?arguments[1]:void 0)}});var Qu=n.default.fn.bootstrapTable.utils;function Yu(t){return'\n <html>\n <head>\n <style type="text/css" media="print">\n @page {\n size: auto;\n margin: 25px 0 25px 0;\n }\n </style>\n <style type="text/css" media="all">\n table {\n border-collapse: collapse;\n font-size: 12px;\n }\n table, th, td {\n border: 1px solid grey;\n }\n th, td {\n text-align: center;\n vertical-align: middle;\n }\n p {\n font-weight: bold;\n margin-left:20px;\n }\n table {\n width:94%;\n margin-left:3%;\n margin-right:3%;\n }\n div.bs-table-print {\n text-align:center;\n }\n </style>\n </head>\n <title>Print Table</title>\n <body>\n <p>Printed on: '.concat(new Date,' </p>\n <div class="bs-table-print">').concat(t,"</div>\n </body>\n </html>")}n.default.extend(n.default.fn.bootstrapTable.locales,{formatPrint:function(){return"Print"}}),n.default.extend(n.default.fn.bootstrapTable.defaults,n.default.fn.bootstrapTable.locales),n.default.extend(n.default.fn.bootstrapTable.defaults,{showPrint:!1,printAsFilteredAndSortedOnUI:!0,printSortColumn:void 0,printSortOrder:"asc",printPageBuilder:function(t){return Yu(t)}}),n.default.extend(n.default.fn.bootstrapTable.COLUMN_DEFAULTS,{printFilter:void 0,printIgnore:!1,printFormatter:void 0}),n.default.extend(n.default.fn.bootstrapTable.defaults.icons,{print:{bootstrap3:"glyphicon-print icon-share",bootstrap5:"bi-printer","bootstrap-table":"icon-printer"}[n.default.fn.bootstrapTable.theme]||"fa-print"}),n.default.BootstrapTable=function(t){!function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(r&&r.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),r&&a(t,r)}(s,t);var r,n,u,f=c(s);function s(){return e(this,s),f.apply(this,arguments)}return r=s,n=[{key:"init",value:function(){for(var t,r=arguments.length,n=new Array(r),e=0;e<r;e++)n[e]=arguments[e];(t=l(i(s.prototype),"init",this)).call.apply(t,[this].concat(n)),this.options.showPrint&&(this.mergedCells=[])}},{key:"initToolbar",value:function(){var t,r=this;this.showToolbar=this.showToolbar||this.options.showPrint,this.options.showPrint&&(this.buttons=Object.assign(this.buttons,{print:{text:this.options.formatPrint(),icon:this.options.icons.print,event:function(){r.doPrint(r.options.printAsFilteredAndSortedOnUI?r.getData():r.options.data.slice(0))},attributes:{"aria-label":this.options.formatPrint(),title:this.options.formatPrint()}}}));for(var n=arguments.length,e=new Array(n),o=0;o<n;o++)e[o]=arguments[o];(t=l(i(s.prototype),"initToolbar",this)).call.apply(t,[this].concat(e))}},{key:"mergeCells",value:function(t){if(l(i(s.prototype),"mergeCells",this).call(this,t),this.options.showPrint){var r=this.getVisibleFields().indexOf(t.field);Qu.hasDetailViewIcon(this.options)&&(r+=1),this.mergedCells.push({row:t.index,col:r,rowspan:t.rowspan||1,colspan:t.colspan||1})}}},{key:"doPrint",value:function(t){var r,n=this,e=function(t,r,e){var o=Qu.calculateObjectValue(e,e.printFormatter||e.formatter,[t[e.field],t,r],t[e.field]);return null==o?n.options.undefinedText:o},o=function(t,r){var o,i=n.$el.attr("dir")||"ltr",a=['<table dir="'.concat(i,'"><thead>')],u=p(r);try{for(u.s();!(o=u.n()).done;){var c=o.value;a.push("<tr>");for(var f=0;f<c.length;f++)c[f].printIgnore||a.push("<th\n ".concat(Qu.sprintf(' rowspan="%s"',c[f].rowspan),"\n ").concat(Qu.sprintf(' colspan="%s"',c[f].colspan),"\n >").concat(c[f].title,"</th>"));a.push("</tr>")}}catch(t){u.e(t)}finally{u.f()}a.push("</thead><tbody>");var l=[];if(n.mergedCells)for(var s=0;s<n.mergedCells.length;s++)for(var d=n.mergedCells[s],h=0;h<d.rowspan;h++)for(var v=d.row+h,y=0;y<d.colspan;y++){var b=d.col+y;l.push("".concat(v,",").concat(b))}for(var g=0;g<t.length;g++){a.push("<tr>");var m=r.flat(1);m.sort((function(t,r){return t.colspanIndex-r.colspanIndex}));for(var w=0;w<m.length;w++)if(!(m[w].colspanGroup>0)){var O=0,j=0;if(n.mergedCells)for(var S=0;S<n.mergedCells.length;S++){var P=n.mergedCells[S];P.col===w&&P.row===g&&(O=P.rowspan,j=P.colspan)}!m[w].printIgnore&&m[w].field&&(!l.includes("".concat(g,",").concat(w))||O>0&&j>0)&&(O>0&&j>0?a.push("<td ".concat(Qu.sprintf(' rowspan="%s"',O)," ").concat(Qu.sprintf(' colspan="%s"',j),">"),e(t[g],g,m[w]),"</td>"):a.push("<td>",e(t[g],g,m[w]),"</td>"))}a.push("</tr>")}if(a.push("</tbody>"),n.options.showFooter){a.push("<footer><tr>");var x,A=p(r);try{for(A.s();!(x=A.n()).done;)for(var T=x.value,E=0;E<T.length;E++)if(!T[E].printIgnore){var C=Qu.trToData(T,n.$el.find(">tfoot>tr")),F=Qu.calculateObjectValue(T[E],T[E].footerFormatter,[t],C[0]&&C[0][T[E].field]||"");a.push("<th>".concat(F,"</th>"))}}catch(t){A.e(t)}finally{A.f()}a.push("</tr></footer>")}return a.push("</table>"),a.join("")}(t=function(t,r,n){if(!r)return t;var e="asc"!==n;return e=-(+e||-1),t.sort((function(t,n){return e*t[r].localeCompare(n[r])}))}(t=function(t,r){return t.filter((function(t){return function(t,r){for(var n=0;n<r.length;++n)if(t[r[n].colName]!==r[n].value)return!1;return!0}(t,r)}))}(t,(r=this.options.columns)&&r[0]?r[0].filter((function(t){return t.printFilter})).map((function(t){return{colName:t.field,value:t.printFilter}})):[]),this.options.printSortColumn,this.options.printSortOrder),this.options.columns),i=window.open(""),a=Qu.calculateObjectValue(this,this.options.printPageBuilder,[o],Yu(o));i.document.write(a),i.document.close(),i.focus(),i.print(),i.close()}}],n&&o(r.prototype,n),u&&o(r,u),Object.defineProperty(r,"prototype",{writable:!1}),s}(n.default.BootstrapTable)}));