/** * 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.3 * @homepage https://bootstrap-table.com * @author wenzhixin (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,r){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,r||[],o(t).constructor):e.apply(t,r))}function r(t,e,r){return e&&function(t,e){for(var r=0;r0&&O[0]<4?1:+(O[0]+O[1])),!T&&it&&(!(O=it.match(/Edge\/(\d+)/))||O[1]>=74)&&(O=it.match(/Chrome\/(\d+)/))&&(T=+O[1]);var ft=T,pt=ft,lt=y,yt=p.String,ht=!!Object.getOwnPropertySymbols&&!lt((function(){var t=Symbol("symbol detection");return!yt(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&pt&&pt<41})),dt=ht&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,gt=Z,bt=U,vt=tt,mt=Object,St=dt?function(t){return"symbol"==typeof t}:function(t){var e=gt("Symbol");return bt(e)&&vt(e.prototype,mt(t))},wt=String,jt=function(t){try{return wt(t)}catch(t){return"Object"}},Ot=U,Tt=jt,Et=TypeError,Pt=function(t){if(Ot(t))return t;throw new Et(Tt(t)+" is not a function")},xt=Pt,Gt=$,Bt=v,kt=U,At=J,Ct=TypeError,Lt={exports:{}},Ft=p,_t=Object.defineProperty,Mt=function(t,e){try{_t(Ft,t,{value:e,configurable:!0,writable:!0})}catch(r){Ft[t]=e}return e},It=p,Rt=Mt,Vt="__core-js_shared__",$t=Lt.exports=It[Vt]||Rt(Vt,{});($t.versions||($t.versions=[])).push({version:"3.38.1",mode:"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.38.1/LICENSE",source:"https://github.com/zloirock/core-js"});var Dt=Lt.exports,Nt=Dt,zt=function(t,e){return Nt[t]||(Nt[t]=e||{})},qt=z,Ht=Object,Wt=function(t){return Ht(qt(t))},Kt=Wt,Ut=k({}.hasOwnProperty),Xt=Object.hasOwn||function(t,e){return Ut(Kt(t),e)},Jt=k,Qt=0,Yt=Math.random(),Zt=Jt(1..toString),te=function(t){return"Symbol("+(void 0===t?"":t)+")_"+Zt(++Qt+Yt,36)},ee=zt,re=Xt,ne=te,oe=ht,ie=dt,ce=p.Symbol,ue=ee("wks"),ae=ie?ce.for||ce:ce&&ce.withoutSetter||ne,se=function(t){return re(ue,t)||(ue[t]=oe&&re(ce,t)?ce[t]:ae("Symbol."+t)),ue[t]},fe=v,pe=J,le=St,ye=function(t,e){var r=t[e];return Gt(r)?void 0:xt(r)},he=function(t,e){var r,n;if("string"===e&&kt(r=t.toString)&&!At(n=Bt(r,t)))return n;if(kt(r=t.valueOf)&&!At(n=Bt(r,t)))return n;if("string"!==e&&kt(r=t.toString)&&!At(n=Bt(r,t)))return n;throw new Ct("Can't convert object to primitive value")},de=TypeError,ge=se("toPrimitive"),be=function(t,e){if(!pe(t)||le(t))return t;var r,n=ye(t,ge);if(n){if(void 0===e&&(e="default"),r=fe(n,t,e),!pe(r)||le(r))return r;throw new de("Can't convert object to primitive value")}return void 0===e&&(e="number"),he(t,e)},ve=St,me=function(t){var e=be(t,"string");return ve(e)?e:e+""},Se=J,we=p.document,je=Se(we)&&Se(we.createElement),Oe=function(t){return je?we.createElement(t):{}},Te=Oe,Ee=!h&&!y((function(){return 7!==Object.defineProperty(Te("div"),"a",{get:function(){return 7}}).a})),Pe=h,xe=v,Ge=m,Be=E,ke=W,Ae=me,Ce=Xt,Le=Ee,Fe=Object.getOwnPropertyDescriptor;l.f=Pe?Fe:function(t,e){if(t=ke(t),e=Ae(e),Le)try{return Fe(t,e)}catch(t){}if(Ce(t,e))return Be(!xe(Ge.f,t,e),t[e])};var _e={},Me=h&&y((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Ie=J,Re=String,Ve=TypeError,$e=function(t){if(Ie(t))return t;throw new Ve(Re(t)+" is not an object")},De=h,Ne=Ee,ze=Me,qe=$e,He=me,We=TypeError,Ke=Object.defineProperty,Ue=Object.getOwnPropertyDescriptor,Xe="enumerable",Je="configurable",Qe="writable";_e.f=De?ze?function(t,e,r){if(qe(t),e=He(e),qe(r),"function"==typeof t&&"prototype"===e&&"value"in r&&Qe in r&&!r[Qe]){var n=Ue(t,e);n&&n[Qe]&&(t[e]=r.value,r={configurable:Je in r?r[Je]:n[Je],enumerable:Xe in r?r[Xe]:n[Xe],writable:!1})}return Ke(t,e,r)}:Ke:function(t,e,r){if(qe(t),e=He(e),qe(r),Ne)try{return Ke(t,e,r)}catch(t){}if("get"in r||"set"in r)throw new We("Accessors not supported");return"value"in r&&(t[e]=r.value),t};var Ye=_e,Ze=E,tr=h?function(t,e,r){return Ye.f(t,e,Ze(1,r))}:function(t,e,r){return t[e]=r,t},er={exports:{}},rr=h,nr=Xt,or=Function.prototype,ir=rr&&Object.getOwnPropertyDescriptor,cr=nr(or,"name"),ur={EXISTS:cr,PROPER:cr&&"something"===function(){}.name,CONFIGURABLE:cr&&(!rr||rr&&ir(or,"name").configurable)},ar=U,sr=Dt,fr=k(Function.toString);ar(sr.inspectSource)||(sr.inspectSource=function(t){return fr(t)});var pr,lr,yr,hr=sr.inspectSource,dr=U,gr=p.WeakMap,br=dr(gr)&&/native code/.test(String(gr)),vr=te,mr=zt("keys"),Sr=function(t){return mr[t]||(mr[t]=vr(t))},wr={},jr=br,Or=p,Tr=J,Er=tr,Pr=Xt,xr=Dt,Gr=Sr,Br=wr,kr="Object already initialized",Ar=Or.TypeError,Cr=Or.WeakMap;if(jr||xr.state){var Lr=xr.state||(xr.state=new Cr);Lr.get=Lr.get,Lr.has=Lr.has,Lr.set=Lr.set,pr=function(t,e){if(Lr.has(t))throw new Ar(kr);return e.facade=t,Lr.set(t,e),e},lr=function(t){return Lr.get(t)||{}},yr=function(t){return Lr.has(t)}}else{var Fr=Gr("state");Br[Fr]=!0,pr=function(t,e){if(Pr(t,Fr))throw new Ar(kr);return e.facade=t,Er(t,Fr,e),e},lr=function(t){return Pr(t,Fr)?t[Fr]:{}},yr=function(t){return Pr(t,Fr)}}var _r={set:pr,get:lr,has:yr,enforce:function(t){return yr(t)?lr(t):pr(t,{})},getterFor:function(t){return function(e){var r;if(!Tr(e)||(r=lr(e)).type!==t)throw new Ar("Incompatible receiver, "+t+" required");return r}}},Mr=k,Ir=y,Rr=U,Vr=Xt,$r=h,Dr=ur.CONFIGURABLE,Nr=hr,zr=_r.enforce,qr=_r.get,Hr=String,Wr=Object.defineProperty,Kr=Mr("".slice),Ur=Mr("".replace),Xr=Mr([].join),Jr=$r&&!Ir((function(){return 8!==Wr((function(){}),"length",{value:8}).length})),Qr=String(String).split("String"),Yr=er.exports=function(t,e,r){"Symbol("===Kr(Hr(e),0,7)&&(e="["+Ur(Hr(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!Vr(t,"name")||Dr&&t.name!==e)&&($r?Wr(t,"name",{value:e,configurable:!0}):t.name=e),Jr&&r&&Vr(r,"arity")&&t.length!==r.arity&&Wr(t,"length",{value:r.arity});try{r&&Vr(r,"constructor")&&r.constructor?$r&&Wr(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var n=zr(t);return Vr(n,"source")||(n.source=Xr(Qr,"string"==typeof e?e:"")),t};Function.prototype.toString=Yr((function(){return Rr(this)&&qr(this).source||Nr(this)}),"toString");var Zr=er.exports,tn=U,en=_e,rn=Zr,nn=Mt,on=function(t,e,r,n){n||(n={});var o=n.enumerable,i=void 0!==n.name?n.name:e;if(tn(r)&&rn(r,i,n),n.global)o?t[e]=r:nn(e,r);else{try{n.unsafe?t[e]&&(o=!0):delete t[e]}catch(t){}o?t[e]=r:en.f(t,e,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return t},cn={},un=Math.ceil,an=Math.floor,sn=Math.trunc||function(t){var e=+t;return(e>0?an:un)(e)},fn=function(t){var e=+t;return e!=e||0===e?0:sn(e)},pn=fn,ln=Math.max,yn=Math.min,hn=function(t,e){var r=pn(t);return r<0?ln(r+e,0):yn(r,e)},dn=fn,gn=Math.min,bn=function(t){var e=dn(t);return e>0?gn(e,9007199254740991):0},vn=function(t){return bn(t.length)},mn=W,Sn=hn,wn=vn,jn=function(t){return function(e,r,n){var o=mn(e),i=wn(o);if(0===i)return!t&&-1;var c,u=Sn(n,i);if(t&&r!=r){for(;i>u;)if((c=o[u++])!=c)return!0}else for(;i>u;u++)if((t||u in o)&&o[u]===r)return t||u||0;return!t&&-1}},On={includes:jn(!0),indexOf:jn(!1)},Tn=Xt,En=W,Pn=On.indexOf,xn=wr,Gn=k([].push),Bn=function(t,e){var r,n=En(t),o=0,i=[];for(r in n)!Tn(xn,r)&&Tn(n,r)&&Gn(i,r);for(;e.length>o;)Tn(n,r=e[o++])&&(~Pn(i,r)||Gn(i,r));return i},kn=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],An=Bn,Cn=kn.concat("length","prototype");cn.f=Object.getOwnPropertyNames||function(t){return An(t,Cn)};var Ln={};Ln.f=Object.getOwnPropertySymbols;var Fn=Z,_n=cn,Mn=Ln,In=$e,Rn=k([].concat),Vn=Fn("Reflect","ownKeys")||function(t){var e=_n.f(In(t)),r=Mn.f;return r?Rn(e,r(t)):e},$n=Xt,Dn=Vn,Nn=l,zn=_e,qn=y,Hn=U,Wn=/#|\.prototype\./,Kn=function(t,e){var r=Xn[Un(t)];return r===Qn||r!==Jn&&(Hn(e)?qn(e):!!e)},Un=Kn.normalize=function(t){return String(t).replace(Wn,".").toLowerCase()},Xn=Kn.data={},Jn=Kn.NATIVE="N",Qn=Kn.POLYFILL="P",Yn=Kn,Zn=p,to=l.f,eo=tr,ro=on,no=Mt,oo=function(t,e,r){for(var n=Dn(e),o=zn.f,i=Nn.f,c=0;c=51||!qo((function(){var e=[];return(e.constructor={})[Wo]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},Uo=co,Xo=y,Jo=ao,Qo=J,Yo=Wt,Zo=vn,ti=function(t){if(t>9007199254740991)throw so("Maximum allowed index exceeded");return t},ei=yo,ri=zo,ni=Ko,oi=ft,ii=se("isConcatSpreadable"),ci=oi>=51||!Xo((function(){var t=[];return t[ii]=!1,t.concat()[0]!==t})),ui=function(t){if(!Qo(t))return!1;var e=t[ii];return void 0!==e?!!e:Jo(t)};Uo({target:"Array",proto:!0,arity:1,forced:!ci||!ni("concat")},{concat:function(t){var e,r,n,o,i,c=Yo(this),u=ri(c,0),a=0;for(e=-1,n=arguments.length;ev;v++)if((u||v in d)&&(y=b(l=d[v],v,h),t))if(e)S[v]=y;else if(y)switch(t){case 3:return!0;case 5:return l;case 6:return v;case 2:mi(S,l)}else switch(t){case 4:return!1;case 7:mi(S,l)}return i?-1:n||o?o:S}},wi={forEach:Si(0),map:Si(1),filter:Si(2),some:Si(3),every:Si(4),find:Si(5),findIndex:Si(6),filterReject:Si(7)},ji=wi.filter;co({target:"Array",proto:!0,forced:!Ko("filter")},{filter:function(t){return ji(this,t,arguments.length>1?arguments[1]:void 0)}});var Oi={},Ti=Bn,Ei=kn,Pi=Object.keys||function(t){return Ti(t,Ei)},xi=h,Gi=Me,Bi=_e,ki=$e,Ai=W,Ci=Pi;Oi.f=xi&&!Gi?Object.defineProperties:function(t,e){ki(t);for(var r,n=Ai(e),o=Ci(e),i=o.length,c=0;i>c;)Bi.f(t,r=o[c++],n[r]);return t};var Li,Fi=Z("document","documentElement"),_i=$e,Mi=Oi,Ii=kn,Ri=wr,Vi=Fi,$i=Oe,Di="prototype",Ni="script",zi=Sr("IE_PROTO"),qi=function(){},Hi=function(t){return"<"+Ni+">"+t+""},Wi=function(t){t.write(Hi("")),t.close();var e=t.parentWindow.Object;return t=null,e},Ki=function(){try{Li=new ActiveXObject("htmlfile")}catch(t){}var t,e,r;Ki="undefined"!=typeof document?document.domain&&Li?Wi(Li):(e=$i("iframe"),r="java"+Ni+":",e.style.display="none",Vi.appendChild(e),e.src=String(r),(t=e.contentWindow.document).open(),t.write(Hi("document.F=Object")),t.close(),t.F):Wi(Li);for(var n=Ii.length;n--;)delete Ki[Di][Ii[n]];return Ki()};Ri[zi]=!0;var Ui=se,Xi=Object.create||function(t,e){var r;return null!==t?(qi[Di]=_i(t),r=new qi,qi[Di]=null,r[zi]=t):r=Ki(),void 0===e?r:Mi.f(r,e)},Ji=_e.f,Qi=Ui("unscopables"),Yi=Array.prototype;void 0===Yi[Qi]&&Ji(Yi,Qi,{configurable:!0,value:Xi(null)});var Zi=co,tc=wi.find,ec=function(t){Yi[Qi][t]=!0},rc="find",nc=!0;rc in[]&&Array(1)[rc]((function(){nc=!1})),Zi({target:"Array",proto:!0,forced:nc},{find:function(t){return tc(this,t,arguments.length>1?arguments[1]:void 0)}}),ec(rc);var oc=y,ic=function(t,e){var r=[][t];return!!r&&oc((function(){r.call(null,e||function(){return 1},1)}))},cc=co,uc=V,ac=W,sc=ic,fc=k([].join);cc({target:"Array",proto:!0,forced:uc!==Object||!sc("join",",")},{join:function(t){return fc(ac(this),void 0===t?",":t)}});var pc=k([].slice),lc=co,yc=ao,hc=Mo,dc=J,gc=hn,bc=vn,vc=W,mc=yo,Sc=se,wc=pc,jc=Ko("slice"),Oc=Sc("species"),Tc=Array,Ec=Math.max;lc({target:"Array",proto:!0,forced:!jc},{slice:function(t,e){var r,n,o,i=vc(this),c=bc(i),u=gc(t,c),a=gc(void 0===e?c:e,c);if(yc(i)&&(r=i.constructor,(hc(r)&&(r===Tc||yc(r.prototype))||dc(r)&&null===(r=r[Oc]))&&(r=void 0),r===Tc||void 0===r))return wc(i,u,a);for(n=new(void 0===r?Tc:r)(Ec(a-u,0)),o=0;u0;)t[o]=t[--o];o!==i++&&(t[o]=n)}else for(var c=Ac(r/2),u=Cc(kc(t,0,c),e),a=Cc(kc(t,c),e),s=u.length,f=a.length,p=0,l=0;p3)){if(Jc)return!0;if(Yc)return Yc<603;var t,e,r,n,o="";for(t=65;t<76;t++){switch(e=String.fromCharCode(t),t){case 66:case 69:case 70:case 72:r=3;break;case 68:case 71:r=4;break;default:r=2}for(n=0;n<47;n++)Zc.push({k:e+n,v:r})}for(Zc.sort((function(t,e){return e.v-t.v})),n=0;nHc(r)?1:-1}}(t)),r=zc(o),n=0;no;)for(var u,a=Tu(arguments[o++]),s=i?xu(Su(a),i(a)):Su(a),f=s.length,p=0;f>p;)u=s[p++],gu&&!vu(c,a,u)||(r[u]=a[u]);return r}:Eu,Bu=Gu;co({target:"Object",stat:!0,arity:2,forced:Object.assign!==Bu},{assign:Bu});var ku=Oo,Au=go?{}.toString:function(){return"[object "+ku(this)+"]"};go||on(Object.prototype,"toString",Au,{unsafe:!0});var Cu=Oe("span").classList,Lu=Cu&&Cu.constructor&&Cu.constructor.prototype,Fu=Lu===Object.prototype?void 0:Lu,_u=wi.forEach,Mu=ic("forEach")?[].forEach:function(t){return _u(this,t,arguments.length>1?arguments[1]:void 0)},Iu=p,Ru={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},Vu=Fu,$u=Mu,Du=tr,Nu=function(t){if(t&&t.forEach!==$u)try{Du(t,"forEach",$u)}catch(e){t.forEach=$u}};for(var zu in Ru)Ru[zu]&&Nu(Iu[zu]&&Iu[zu].prototype);Nu(Vu);var qu,Hu=t.fn.bootstrapTable.utils;Object.assign(t.fn.bootstrapTable.defaults.icons,{collapseGroup:{bootstrap3:"glyphicon-chevron-up",bootstrap5:"bi-chevron-up",materialize:"arrow_drop_down"}[t.fn.bootstrapTable.theme]||"fa-angle-up",expandGroup:{bootstrap3:"glyphicon-chevron-down",bootstrap5:"bi-chevron-down",materialize:"arrow_drop_up"}[t.fn.bootstrapTable.theme]||"fa-angle-down"}),Object.assign(t.fn.bootstrapTable.defaults,{groupBy:!1,groupByField:"",groupByFormatter:void 0,groupByToggle:!1,groupByShowToggleIcon:!1,groupByCollapsedGroups:[]});var Wu=t.fn.bootstrapTable.Constructor,Ku=Wu.prototype.initSort,Uu=Wu.prototype.initBody,Xu=Wu.prototype.updateSelected;Wu.prototype.initSort=function(){for(var e=this,r=arguments.length,n=new Array(r),o=0;o',e.options.groupByToggle?"expanded":"",r.id)),i.options.detailView&&!i.options.cardView&&n.push(''),c&&n.push('','',"");var o=r.name;void 0!==i.options.groupByFormatter&&(o=Hu.calculateObjectValue(i.options,i.options.groupByFormatter,[r.name,r.id,r.data])),n.push("",o);var a=e.options.icons.collapseGroup;e.isCollapsed(r.name,r.data)&&(a=e.options.icons.expandGroup),e.options.groupByToggle&&e.options.groupByShowToggleIcon&&n.push('')),n.push(""),i.$body.find("tr[data-parent-index=".concat(r.id,"]:first")).before(t(n.join("")))})),this.$selectGroup=[],this.$body.find('[name="btSelectGroup"]').each((function(){var e=t(this);i.$selectGroup.push({group:e,item:i.$selectItem.filter((function(){return t(this).closest("tr").data("parent-index")===e.closest("tr").data("group-index")}))})})),this.options.groupByToggle&&this.$container.off("click",".group-by").on("click",".group-by",(function(){var e=t(this),r=e.closest("tr").data("group-index"),n=i.$body.find("tr[data-parent-index=".concat(r,"]"));e.toggleClass("expanded collapsed"),e.find("span").toggleClass("".concat(i.options.icons.collapseGroup," ").concat(i.options.icons.expandGroup)),n.toggleClass("hidden"),n.each((function(e,r){return i.collapseRow(t(r).data("index"))}))})),this.$container.off("click",'[name="btSelectGroup"]').on("click",'[name="btSelectGroup"]',(function(e){e.stopImmediatePropagation();var r=t(this).prop("checked");i[r?"checkGroup":"uncheckGroup"](t(this).closest("tr").data("group-index"))}))}qu=!1,this.updateSelected()},Wu.prototype.updateSelected=function(){if(!qu){for(var t=arguments.length,e=new Array(t),r=0;r-1)return!0}return!1},Wu.prototype.checkGroup_=function(e,r){var n=this.getSelections();this.$selectItem.filter((function(){return t(this).closest("tr").data("parent-index")===e})).prop("checked",r),this.updateRows(),this.updateSelected();var o=this.getSelections();r?this.trigger("check-all",o,n):this.trigger("uncheck-all",o,n)},Wu.prototype.getGroupByFields=function(){var e=this.options.groupByField;return t.isArray(this.options.groupByField)||(e=[this.options.groupByField]),e},t.BootstrapTable=function(i){function u(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u),e(this,u,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&&c(t,e)}(u,i),r(u,[{key:"scrollTo",value:function(e){if(this.options.groupBy){var r={unit:"px",value:0};if("object"===a(e)&&(r=Object.assign(r,e)),"rows"===r.unit){var i=0;return this.$body.find("> tr:not(.group-by):lt(".concat(r.value,")")).each((function(e,r){i+=t(r).outerHeight(!0)})),this.$body.find("> tr:not(.group-by):eq(".concat(r.value,")")).prevAll(".group-by").each((function(e,r){i+=t(r).outerHeight(!0)})),void this.$tableBody.scrollTop(i)}}var c,s,f;(c="scrollTo",s=this,f=n(o(u.prototype),c,s),function(t){return f.apply(s,t)})([e])}}])}(t.BootstrapTable)}));