UNPKG

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