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 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 s="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},l=function(t){return t&&t.Math===Math&&t},p=l("object"==typeof globalThis&&globalThis)||l("object"==typeof window&&window)||l("object"==typeof self&&self)||l("object"==typeof s&&s)||l("object"==typeof s&&s)||function(){return this}()||Function("return this")(),b={},h=function(t){try{return!!t()}catch(t){return!0}},y=!h((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),g=!h((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),m=g,v=Function.prototype.call,d=m?v.bind(v):function(){return v.apply(v,arguments)},w={},O={}.propertyIsEnumerable,j=Object.getOwnPropertyDescriptor,V=j&&!O.call({1:2},1);w.f=V?function(t){var e=j(this,t);return!!e&&e.enumerable}:O;var S,T,P=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},C=g,E=Function.prototype,D=E.call,A=C&&E.bind.bind(D,D),x=C?A:function(t){return function(){return D.apply(t,arguments)}},_=x,B=_({}.toString),F=_("".slice),R=function(t){return F(B(t),8,-1)},I=h,M=R,k=Object,L=x("".split),z=I((function(){return!k("z").propertyIsEnumerable(0)}))?function(t){return"String"===M(t)?L(t,""):k(t)}:k,N=function(t){return null==t},q=N,G=TypeError,W=function(t){if(q(t))throw new G("Can't call method on "+t);return t},$=z,H=W,U=function(t){return $(H(t))},X="object"==typeof document&&document.all,K={all:X,IS_HTMLDDA:void 0===X&&void 0!==X},Q=K.all,Y=K.IS_HTMLDDA?function(t){return"function"==typeof t||t===Q}:function(t){return"function"==typeof t},J=Y,Z=K.all,tt=K.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=Y,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=x({}.isPrototypeOf),ut=p,ct="undefined"!=typeof navigator&&String(navigator.userAgent)||"",at=ut.process,ft=ut.Deno,st=at&&at.versions||ft&&ft.version,lt=st&&st.v8;lt&&(T=(S=lt.split("."))[0]>0&&S[0]<4?1:+(S[0]+S[1])),!T&&ct&&(!(S=ct.match(/Edge\/(\d+)/))||S[1]>=74)&&(S=ct.match(/Chrome\/(\d+)/))&&(T=+S[1]);var pt=T,bt=pt,ht=h,yt=p.String,gt=!!Object.getOwnPropertySymbols&&!ht((function(){var t=Symbol("symbol detection");return!yt(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&bt&&bt<41})),mt=gt&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,vt=ot,dt=Y,wt=it,Ot=Object,jt=mt?function(t){return"symbol"==typeof t}:function(t){var e=vt("Symbol");return dt(e)&&wt(e.prototype,Ot(t))},Vt=String,St=Y,Tt=function(t){try{return Vt(t)}catch(t){return"Object"}},Pt=TypeError,Ct=function(t){if(St(t))return t;throw new Pt(Tt(t)+" is not a function")},Et=Ct,Dt=N,At=d,xt=Y,_t=tt,Bt=TypeError,Ft={exports:{}},Rt=p,It=Object.defineProperty,Mt=function(t,e){try{It(Rt,t,{value:e,configurable:!0,writable:!0})}catch(n){Rt[t]=e}return e},kt=Mt,Lt="__core-js_shared__",zt=p[Lt]||kt(Lt,{}),Nt=zt;(Ft.exports=function(t,e){return Nt[t]||(Nt[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=W,Wt=Object,$t=function(t){return Wt(Gt(t))},Ht=$t,Ut=x({}.hasOwnProperty),Xt=Object.hasOwn||function(t,e){return Ut(Ht(t),e)},Kt=x,Qt=0,Yt=Math.random(),Jt=Kt(1..toString),Zt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+Jt(++Qt+Yt,36)},te=qt,ee=Xt,ne=Zt,re=gt,oe=mt,ie=p.Symbol,ue=te("wks"),ce=oe?ie.for||ie:ie&&ie.withoutSetter||ne,ae=function(t){return ee(ue,t)||(ue[t]=re&&ee(ie,t)?ie[t]:ce("Symbol."+t)),ue[t]},fe=d,se=tt,le=jt,pe=function(t,e){var n=t[e];return Dt(n)?void 0:Et(n)},be=function(t,e){var n,r;if("string"===e&&xt(n=t.toString)&&!_t(r=At(n,t)))return r;if(xt(n=t.valueOf)&&!_t(r=At(n,t)))return r;if("string"!==e&&xt(n=t.toString)&&!_t(r=At(n,t)))return r;throw new Bt("Can't convert object to primitive value")},he=TypeError,ye=ae("toPrimitive"),ge=function(t,e){if(!se(t)||le(t))return t;var n,r=pe(t,ye);if(r){if(void 0===e&&(e="default"),n=fe(r,t,e),!se(n)||le(n))return n;throw new he("Can't convert object to primitive value")}return void 0===e&&(e="number"),be(t,e)},me=jt,ve=function(t){var e=ge(t,"string");return me(e)?e:e+""},de=tt,we=p.document,Oe=de(we)&&de(we.createElement),je=function(t){return Oe?we.createElement(t):{}},Ve=je,Se=!y&&!h((function(){return 7!==Object.defineProperty(Ve("div"),"a",{get:function(){return 7}}).a})),Te=y,Pe=d,Ce=w,Ee=P,De=U,Ae=ve,xe=Xt,_e=Se,Be=Object.getOwnPropertyDescriptor;b.f=Te?Be:function(t,e){if(t=De(t),e=Ae(e),_e)try{return Be(t,e)}catch(t){}if(xe(t,e))return Ee(!Pe(Ce.f,t,e),t[e])};var Fe={},Re=y&&h((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Ie=tt,Me=String,ke=TypeError,Le=function(t){if(Ie(t))return t;throw new ke(Me(t)+" is not an object")},ze=y,Ne=Se,qe=Re,Ge=Le,We=ve,$e=TypeError,He=Object.defineProperty,Ue=Object.getOwnPropertyDescriptor,Xe="enumerable",Ke="configurable",Qe="writable";Fe.f=ze?qe?function(t,e,n){if(Ge(t),e=We(e),Ge(n),"function"==typeof t&&"prototype"===e&&"value"in n&&Qe in n&&!n.writable){var r=Ue(t,e);r&&r.writable&&(t[e]=n.value,n={configurable:Ke 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=We(e),Ge(n),Ne)try{return He(t,e,n)}catch(t){}if("get"in n||"set"in n)throw new $e("Accessors not supported");return"value"in n&&(t[e]=n.value),t};var Ye=Fe,Je=P,Ze=y?function(t,e,n){return Ye.f(t,e,Je(1,n))}:function(t,e,n){return t[e]=n,t},tn={exports:{}},en=y,nn=Xt,rn=Function.prototype,on=en&&Object.getOwnPropertyDescriptor,un=nn(rn,"name"),cn={EXISTS:un,PROPER:un&&"something"===function(){}.name,CONFIGURABLE:un&&(!en||en&&on(rn,"name").configurable)},an=Y,fn=zt,sn=x(Function.toString);an(fn.inspectSource)||(fn.inspectSource=function(t){return sn(t)});var ln,pn,bn,hn=fn.inspectSource,yn=Y,gn=p.WeakMap,mn=yn(gn)&&/native code/.test(String(gn)),vn=Zt,dn=qt("keys"),wn=function(t){return dn[t]||(dn[t]=vn(t))},On={},jn=mn,Vn=p,Sn=tt,Tn=Ze,Pn=Xt,Cn=zt,En=wn,Dn=On,An="Object already initialized",xn=Vn.TypeError,_n=Vn.WeakMap;if(jn||Cn.state){var Bn=Cn.state||(Cn.state=new _n);Bn.get=Bn.get,Bn.has=Bn.has,Bn.set=Bn.set,ln=function(t,e){if(Bn.has(t))throw new xn(An);return e.facade=t,Bn.set(t,e),e},pn=function(t){return Bn.get(t)||{}},bn=function(t){return Bn.has(t)}}else{var Fn=En("state");Dn[Fn]=!0,ln=function(t,e){if(Pn(t,Fn))throw new xn(An);return e.facade=t,Tn(t,Fn,e),e},pn=function(t){return Pn(t,Fn)?t[Fn]:{}},bn=function(t){return Pn(t,Fn)}}var Rn={set:ln,get:pn,has:bn,enforce:function(t){return bn(t)?pn(t):ln(t,{})},getterFor:function(t){return function(e){var n;if(!Sn(e)||(n=pn(e)).type!==t)throw new xn("Incompatible receiver, "+t+" required");return n}}},In=x,Mn=h,kn=Y,Ln=Xt,zn=y,Nn=cn.CONFIGURABLE,qn=hn,Gn=Rn.enforce,Wn=Rn.get,$n=String,Hn=Object.defineProperty,Un=In("".slice),Xn=In("".replace),Kn=In([].join),Qn=zn&&!Mn((function(){return 8!==Hn((function(){}),"length",{value:8}).length})),Yn=String(String).split("String"),Jn=tn.exports=function(t,e,n){"Symbol("===Un($n(e),0,7)&&(e="["+Xn($n(e),/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!Ln(t,"name")||Nn&&t.name!==e)&&(zn?Hn(t,"name",{value:e,configurable:!0}):t.name=e),Qn&&n&&Ln(n,"arity")&&t.length!==n.arity&&Hn(t,"length",{value:n.arity});try{n&&Ln(n,"constructor")&&n.constructor?zn&&Hn(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var r=Gn(t);return Ln(r,"source")||(r.source=Kn(Yn,"string"==typeof e?e:"")),t};Function.prototype.toString=Jn((function(){return kn(this)&&Wn(this).source||qn(this)}),"toString");var Zn=tn.exports,tr=Y,er=Fe,nr=Zn,rr=Mt,or=function(t,e,n,r){r||(r={});var o=r.enumerable,i=void 0!==r.name?r.name:e;if(tr(n)&&nr(n,i,r),r.global)o?t[e]=n:rr(e,n);else{try{r.unsafe?t[e]&&(o=!0):delete t[e]}catch(t){}o?t[e]=n:er.f(t,e,{value:n,enumerable:!1,configurable:!r.nonConfigurable,writable:!r.nonWritable})}return t},ir={},ur=Math.ceil,cr=Math.floor,ar=Math.trunc||function(t){var e=+t;return(e>0?cr:ur)(e)},fr=function(t){var e=+t;return e!=e||0===e?0:ar(e)},sr=fr,lr=Math.max,pr=Math.min,br=function(t,e){var n=sr(t);return n<0?lr(n+e,0):pr(n,e)},hr=fr,yr=Math.min,gr=function(t){return t>0?yr(hr(t),9007199254740991):0},mr=function(t){return gr(t.length)},vr=U,dr=br,wr=mr,Or=function(t){return function(e,n,r){var o,i=vr(e),u=wr(i),c=dr(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)},Vr=Xt,Sr=U,Tr=jr.indexOf,Pr=On,Cr=x([].push),Er=function(t,e){var n,r=Sr(t),o=0,i=[];for(n in r)!Vr(Pr,n)&&Vr(r,n)&&Cr(i,n);for(;e.length>o;)Vr(r,n=e[o++])&&(~Tr(i,n)||Cr(i,n));return i},Dr=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Ar=Er,xr=Dr.concat("length","prototype");ir.f=Object.getOwnPropertyNames||function(t){return Ar(t,xr)};var _r={};_r.f=Object.getOwnPropertySymbols;var Br=ot,Fr=ir,Rr=_r,Ir=Le,Mr=x([].concat),kr=Br("Reflect","ownKeys")||function(t){var e=Fr.f(Ir(t)),n=Rr.f;return n?Mr(e,n(t)):e},Lr=Xt,zr=kr,Nr=b,qr=Fe,Gr=h,Wr=Y,$r=/#|\.prototype\./,Hr=function(t,e){var n=Xr[Ur(t)];return n===Qr||n!==Kr&&(Wr(e)?Gr(e):!!e)},Ur=Hr.normalize=function(t){return String(t).replace($r,".").toLowerCase()},Xr=Hr.data={},Kr=Hr.NATIVE="N",Qr=Hr.POLYFILL="P",Yr=Hr,Jr=p,Zr=b.f,to=Ze,eo=or,no=Mt,ro=function(t,e,n){for(var r=zr(e),o=qr.f,i=Nr.f,u=0;u<r.length;u++){var c=r[u];Lr(t,c)||n&&Lr(n,c)||o(t,c,i(e,c))}},oo=Yr,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=Er,co=Dr,ao=Object.keys||function(t){return uo(t,co)},fo=y,so=x,lo=d,po=h,bo=ao,ho=_r,yo=w,go=$t,mo=z,vo=Object.assign,wo=Object.defineProperty,Oo=so([].concat),jo=!vo||po((function(){if(fo&&1!==vo({b:1},vo(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!==vo({},t)[n]||bo(vo({},e)).join("")!==r}))?function(t,e){for(var n=go(t),r=arguments.length,o=1,i=ho.f,u=yo.f;r>o;)for(var c,a=mo(arguments[o++]),f=i?Oo(bo(a),i(a)):bo(a),s=f.length,l=0;s>l;)c=f[l++],fo&&!lo(u,a,c)||(n[c]=a[c]);return n}:vo,Vo=jo;io({target:"Object",stat:!0,arity:2,forced:Object.assign!==Vo},{assign:Vo});var So=R,To=Array.isArray||function(t){return"Array"===So(t)},Po=TypeError,Co=ve,Eo=Fe,Do=P,Ao=function(t,e,n){var r=Co(e);r in t?Eo.f(t,r,Do(0,n)):t[r]=n},xo={};xo[ae("toStringTag")]="z";var _o="[object z]"===String(xo),Bo=_o,Fo=Y,Ro=R,Io=ae("toStringTag"),Mo=Object,ko="Arguments"===Ro(function(){return arguments}()),Lo=Bo?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=Mo(t),Io))?n:ko?Ro(e):"Object"===(r=Ro(e))&&Fo(e.callee)?"Arguments":r},zo=x,No=h,qo=Y,Go=Lo,Wo=hn,$o=function(){},Ho=[],Uo=ot("Reflect","construct"),Xo=/^\s*(?:class|function)\b/,Ko=zo(Xo.exec),Qo=!Xo.test($o),Yo=function(t){if(!qo(t))return!1;try{return Uo($o,Ho,t),!0}catch(t){return!1}},Jo=function(t){if(!qo(t))return!1;switch(Go(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Qo||!!Ko(Xo,Wo(t))}catch(t){return!0}};Jo.sham=!0;var Zo=!Uo||No((function(){var t;return Yo(Yo.call)||!Yo(Object)||!Yo((function(){t=!0}))||t}))?Jo:Yo,ti=To,ei=Zo,ni=tt,ri=ae("species"),oi=Array,ii=function(t){var e;return ti(t)&&(e=t.constructor,(ei(e)&&(e===oi||ti(e.prototype))||ni(e)&&null===(e=e[ri]))&&(e=void 0)),void 0===e?oi:e},ui=function(t,e){return new(ii(t))(0===e?0:e)},ci=h,ai=pt,fi=ae("species"),si=function(t){return ai>=51||!ci((function(){var e=[];return(e.constructor={})[fi]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},li=io,pi=h,bi=To,hi=tt,yi=$t,gi=mr,mi=function(t){if(t>9007199254740991)throw Po("Maximum allowed index exceeded");return t},vi=Ao,di=ui,wi=si,Oi=pt,ji=ae("isConcatSpreadable"),Vi=Oi>=51||!pi((function(){var t=[];return t[ji]=!1,t.concat()[0]!==t})),Si=function(t){if(!hi(t))return!1;var e=t[ji];return void 0!==e?!!e:bi(t)};li({target:"Array",proto:!0,arity:1,forced:!Vi||!wi("concat")},{concat:function(t){var e,n,r,o,i,u=yi(this),c=di(u,0),a=0;for(e=-1,r=arguments.length;e<r;e++)if(Si(i=-1===e?u:arguments[e]))for(o=gi(i),mi(a+o),n=0;n<o;n++,a++)n in i&&vi(c,a,i[n]);else mi(a+1),vi(c,a++,i);return c.length=a,c}});var Ti=R,Pi=x,Ci=function(t){if("Function"===Ti(t))return Pi(t)},Ei=Ct,Di=g,Ai=Ci(Ci.bind),xi=function(t,e){return Ei(t),void 0===e?t:Di?Ai(t,e):function(){return t.apply(e,arguments)}},_i=z,Bi=$t,Fi=mr,Ri=ui,Ii=x([].push),Mi=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,s,l){for(var p,b,h=Bi(a),y=_i(h),g=Fi(y),m=xi(f,s),v=0,d=l||Ri,w=e?d(a,g):n||u?d(a,0):void 0;g>v;v++)if((c||v in y)&&(b=m(p=y[v],v,h),t))if(e)w[v]=b;else if(b)switch(t){case 3:return!0;case 5:return p;case 6:return v;case 2:Ii(w,p)}else switch(t){case 4:return!1;case 7:Ii(w,p)}return i?-1:r||o?o:w}},ki={forEach:Mi(0),map:Mi(1),filter:Mi(2),some:Mi(3),every:Mi(4),find:Mi(5),findIndex:Mi(6),filterReject:Mi(7)},Li={},zi=y,Ni=Re,qi=Fe,Gi=Le,Wi=U,$i=ao;Li.f=zi&&!Ni?Object.defineProperties:function(t,e){Gi(t);for(var n,r=Wi(e),o=$i(e),i=o.length,u=0;i>u;)qi.f(t,n=o[u++],r[n]);return t};var Hi,Ui=ot("document","documentElement"),Xi=Le,Ki=Li,Qi=Dr,Yi=On,Ji=Ui,Zi=je,tu=wn("IE_PROTO"),eu=function(){},nu=function(t){return"<script>"+t+"</"+"script>"},ru=function(t){t.write(nu("")),t.close();var e=t.parentWindow.Object;return t=null,e},ou=function(){try{Hi=new ActiveXObject("htmlfile")}catch(t){}var t,e;ou="undefined"!=typeof document?document.domain&&Hi?ru(Hi):((e=Zi("iframe")).style.display="none",Ji.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(nu("document.F=Object")),t.close(),t.F):ru(Hi);for(var n=Qi.length;n--;)delete ou.prototype[Qi[n]];return ou()};Yi[tu]=!0;var iu=ae,uu=Object.create||function(t,e){var n;return null!==t?(eu.prototype=Xi(t),n=new eu,eu.prototype=null,n[tu]=t):n=ou(),void 0===e?n:Ki.f(n,e)},cu=Fe.f,au=iu("unscopables"),fu=Array.prototype;void 0===fu[au]&&cu(fu,au,{configurable:!0,value:uu(null)});var su=io,lu=ki.find,pu=function(t){fu[au][t]=!0},bu="find",hu=!0;bu in[]&&Array(1).find((function(){hu=!1})),su({target:"Array",proto:!0,forced:hu},{find:function(t){return lu(this,t,arguments.length>1?arguments[1]:void 0)}}),pu(bu);var yu=Lo,gu=_o?{}.toString:function(){return"[object "+yu(this)+"]"};_o||or(Object.prototype,"toString",gu,{unsafe:!0});var mu=x([].slice),vu=io,du=To,wu=Zo,Ou=tt,ju=br,Vu=mr,Su=U,Tu=Ao,Pu=ae,Cu=mu,Eu=si("slice"),Du=Pu("species"),Au=Array,xu=Math.max;vu({target:"Array",proto:!0,forced:!Eu},{slice:function(t,e){var n,r,o,i=Su(this),u=Vu(i),c=ju(t,u),a=ju(void 0===e?u:e,u);if(du(i)&&(n=i.constructor,(wu(n)&&(n===Au||du(n.prototype))||Ou(n)&&null===(n=n[Du]))&&(n=void 0),n===Au||void 0===n))return Cu(i,c,a);for(r=new(void 0===n?Au:n)(xu(a-c,0)),o=0;c<a;c++,o++)c in i&&Tu(r,o,i[c]);return r.length=o,r}});var _u=t.fn.bootstrapTable.utils;Object.assign(t.fn.bootstrapTable.defaults,{customView:!1,showCustomView:!1,customViewDefaultView:!1}),Object.assign(t.fn.bootstrapTable.defaults.icons,{customViewOn:{bootstrap3:"glyphicon glyphicon-list",bootstrap5:"bi-list",bootstrap4:"fa fa-list",semantic:"fa fa-list",foundation:"fa fa-list",bulma:"fa fa-list",materialize:"list"}[t.fn.bootstrapTable.theme]||"fa-list",customViewOff:{bootstrap3:"glyphicon glyphicon-thumbnails",bootstrap5:"bi-grid",bootstrap4:"fa fa-th",semantic:"fa fa-th",foundation:"fa fa-th",bulma:"fa fa-th",materialize:"grid_on"}[t.fn.bootstrapTable.theme]||"fa-th"}),Object.assign(t.fn.bootstrapTable.defaults,{onCustomViewPostBody:function(){return!1},onCustomViewPreBody:function(){return!1},onToggleCustomView:function(){return!1}}),Object.assign(t.fn.bootstrapTable.locales,{formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleCustomViewOff:function(){return"Hide custom view"}}),Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales),t.fn.bootstrapTable.methods.push("toggleCustomView"),Object.assign(t.fn.bootstrapTable.events,{"custom-view-post-body.bs.table":"onCustomViewPostBody","custom-view-pre-body.bs.table":"onCustomViewPreBody","toggle-custom-view.bs.table":"onToggleCustomView"}),t.BootstrapTable=function(t){!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)}(l,t);var e,u,a,s=c(l);function l(){return n(this,l),s.apply(this,arguments)}return e=l,u=[{key:"init",value:function(){this.customViewDefaultView=this.options.customViewDefaultView,f(o(l.prototype),"init",this).call(this)}},{key:"initToolbar",value:function(){var t;this.options.customView&&this.options.showCustomView&&(this.buttons=Object.assign(this.buttons,{customView:{text:this.options.customViewDefaultView?this.options.formatToggleCustomViewOff():this.options.formatToggleCustomViewOn(),icon:this.options.customViewDefaultView?this.options.icons.customViewOn:this.options.icons.customViewOff,event:this.toggleCustomView,attributes:{"aria-label":this.options.customViewDefaultView?this.options.formatToggleCustomViewOff():this.options.formatToggleCustomViewOn(),title:this.options.customViewDefaultView?this.options.formatToggleCustomViewOff():this.options.formatToggleCustomViewOn()}}}));for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];(t=f(o(l.prototype),"initToolbar",this)).call.apply(t,[this].concat(n))}},{key:"initBody",value:function(){if(f(o(l.prototype),"initBody",this).call(this),this.options.customView){var t=this.$el,e=this.$container.find(".fixed-table-custom-view");if(t.hide(),e.hide(),this.options.customView&&this.customViewDefaultView){var n=this.getData().slice(this.pageFrom-1,this.pageTo),r=_u.calculateObjectValue(this,this.options.customView,[n],"");this.trigger("custom-view-pre-body",n,r),1===e.length?e.show().html(r):this.$tableBody.after('<div class="fixed-table-custom-view">'.concat(r,"</div>")),this.trigger("custom-view-post-body",n,r)}else t.show()}}},{key:"toggleCustomView",value:function(){this.customViewDefaultView=!this.customViewDefaultView;var t=this.options.showButtonIcons?this.customViewDefaultView?this.options.icons.customViewOn:this.options.icons.customViewOff:"",e=this.options.showButtonText?this.customViewDefaultView?this.options.formatToggleCustomViewOff():this.options.formatToggleCustomViewOn():"";this.$toolbar.find('button[name="customView"]').html("".concat(_u.sprintf(this.constants.html.icon,this.options.iconsPrefix,t)," ").concat(e)).attr("aria-label",e).attr("title",e),this.initBody(),this.trigger("toggle-custom-view",this.customViewDefaultView)}}],u&&r(e.prototype,u),a&&r(e,a),Object.defineProperty(e,"prototype",{writable:!1}),l}(t.BootstrapTable)}));