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