bootstrap-table-copy-rows.min.js 20 KB

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