!function(t){t.widget("akottr.dragtable",{options:{revert:!1,dragHandle:".table-handle",maxMovingRows:40,excludeFooter:!1,onlyHeaderThreshold:100,dragaccept:null,persistState:null,restoreState:null,exact:!0,clickDelay:10,containment:null,cursor:"move",cursorAt:!1,distance:0,tolerance:"pointer",axis:"x",beforeStart:t.noop,beforeMoving:t.noop,beforeReorganize:t.noop,beforeStop:t.noop},originalTable:{el:null,selectedHandle:null,sortOrder:null,startIndex:0,endIndex:0},sortableTable:{el:t(),selectedHandle:t(),movingRow:t()},persistState:function(){var e=this;this.originalTable.el.find("th").each((function(t){""!==this.id&&(e.originalTable.sortOrder[this.id]=t)})),t.ajax({url:this.options.persistState,data:this.originalTable.sortOrder})},_restoreState:function(e){for(var r in e)this.originalTable.startIndex=t("#"+r).closest("th").prevAll().length+1,this.originalTable.endIndex=parseInt(e[r],10)+1,this._bubbleCols()},_bubbleCols:function(){var t,e,r,i,o=this.originalTable.startIndex,a=this.originalTable.endIndex,s=this.originalTable.el.children();if(this.options.excludeFooter&&(s=s.not("tfoot")),o tr > td:nth-child("+t+")").add(s.find("> tr > th:nth-child("+t+")")),i=s.find("> tr > td:nth-child("+(t+1)+")").add(s.find("> tr > th:nth-child("+(t+1)+")")),e=0;ea;t--)for(r=s.find("> tr > td:nth-child("+t+")").add(s.find("> tr > th:nth-child("+t+")")),i=s.find("> tr > td:nth-child("+(t-1)+")").add(s.find("> tr > th:nth-child("+(t-1)+")")),e=0;e tr > th").each((function(e,r){var n=t(this).is(":visible")?t(this).outerWidth():0;c.push(n),l+=n})),r.options.exact){var f=l-r.originalTable.el.outerWidth();c[0]-=f}var h='
    ';u.find("> tr > th").each((function(e,n){var o=t(this).is(":visible")?t(this).outerWidth():0;h+='
  • ',h+="";var c=u.find("> tr > th:nth-child("+(e+1)+")");r.options.maxMovingRows>1&&(c=c.add(u.find("> tr > td:nth-child("+(e+1)+")").slice(0,r.options.maxMovingRows-1))),c.each((function(e){var r=t(this).clone().wrap("
    ").parent().html();0===r.toLowerCase().indexOf(""),h+="',h+=r,0===r.toLowerCase().indexOf(""),h+=""})),h+="
    ",h+="
  • "})),h+="
",this.sortableTable.el=this.originalTable.el.before(h).prev(),this.sortableTable.el.find("> li > table").each((function(e,r){t(this).css("width",c[e]+"px")})),this.sortableTable.selectedHandle=this.sortableTable.el.find("th .dragtable-handle-selected");var d,p=this.options.dragaccept?"li:has("+this.options.dragaccept+")":"li";this.sortableTable.el.sortable({items:p,stop:this._rearrangeTable(),revert:this.options.revert,tolerance:this.options.tolerance,containment:this.options.containment,cursor:this.options.cursor,cursorAt:this.options.cursorAt,distance:this.options.distance,axis:this.options.axis}),this.originalTable.startIndex=t(e.target).closest("th").prevAll().length+1,this.options.beforeMoving(this.originalTable,this.sortableTable),this.sortableTable.movingRow=this.sortableTable.el.find("> li:nth-child("+this.originalTable.startIndex+")"),d=t(''),t(document.head).append(d),t(document.body).attr("onselectstart","return false;").attr("unselectable","on"),window.getSelection?window.getSelection().removeAllRanges():document.selection.empty(),this.sortableTable.movingRow.trigger(t.extend(t.Event(e.type),{which:1,clientX:e.clientX,clientY:e.clientY,pageX:e.pageX,pageY:e.pageY,screenX:e.screenX,screenY:e.screenY}));var v=this.sortableTable.el.find(".ui-sortable-placeholder");!v.height()<=0&&v.css("height",this.sortableTable.el.find(".ui-sortable-helper").height()),v.html('
')},bindTo:{},_create:function(){this.originalTable={el:this.element,selectedHandle:t(),sortOrder:{},startIndex:0,endIndex:0},this.bindTo=this.originalTable.el.find("th"),this.options.dragaccept&&(this.bindTo=this.bindTo.filter(this.options.dragaccept)),this.bindTo.find(this.options.dragHandle).length>0&&(this.bindTo=this.bindTo.find(this.options.dragHandle)),null!==this.options.restoreState&&(t.isFunction(this.options.restoreState)?this.options.restoreState(this.originalTable):this._restoreState(this.options.restoreState));var e=this;this.bindTo.mousedown((function(r){1===r.which&&!1!==e.options.beforeStart(e.originalTable)&&(clearTimeout(this.downTimer),this.downTimer=setTimeout((function(){e.originalTable.selectedHandle=t(this),e.originalTable.selectedHandle.addClass("dragtable-handle-selected"),e._generateSortable(r)}),e.options.clickDelay))})).mouseup((function(t){clearTimeout(this.downTimer)}))},redraw:function(){this.destroy(),this._create()},destroy:function(){this.bindTo.unbind("mousedown"),t.Widget.prototype.destroy.apply(this,arguments)}});var e=t(document.body).attr("onselectstart"),r=t(document.body).attr("unselectable");function n(t,e){var r=t.parentNode,n=t.nextSibling===e?t:t.nextSibling;e.parentNode.insertBefore(t,e),r.insertBefore(e,n)}}(jQuery),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],e):(t="undefined"!=typeof globalThis?globalThis:t||self).BootstrapTable=e(t.jQuery)}(this,(function(t){"use strict";function e(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){s=!0,o=t},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw o}}}}function o(t,e,r){return(e=u(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function a(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function s(t){for(var e=1;e0&&t[0]<4?1:+(t[0]+t[1])),!e&&n&&(!(t=n.match(/Edge\/(\d+)/))||t[1]>=74)&&(t=n.match(/Chrome\/(\d+)/))&&(e=+t[1]),rt=e}function Lt(){if(ot)return it;ot=1;var t=Pt(),e=_(),r=m().String;return it=!!Object.getOwnPropertySymbols&&!e((function(){var e=Symbol("symbol detection");return!r(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&t&&t<41}))}function It(){if(st)return at;st=1;var t=Lt();return at=t&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}function Ft(){if(lt)return ct;lt=1;var t=Nt(),e=_t(),r=Ct(),n=It(),i=Object;return ct=n?function(t){return"symbol"==typeof t}:function(n){var o=t("Symbol");return e(o)&&r(o.prototype,i(n))}}function jt(){if(ft)return ut;ft=1;var t=String;return ut=function(e){try{return t(e)}catch(t){return"Object"}}}function Dt(){if(dt)return ht;dt=1;var t=_t(),e=jt(),r=TypeError;return ht=function(n){if(t(n))return n;throw new r(e(n)+" is not a function")}}function Mt(){if(vt)return pt;vt=1;var t=Dt(),e=Tt();return pt=function(r,n){var i=r[n];return e(i)?void 0:t(i)}}function Bt(){if(mt)return gt;mt=1;var t=C(),e=_t(),r=Ot(),n=TypeError;return gt=function(i,o){var a,s;if("string"===o&&e(a=i.toString)&&!r(s=t(a,i)))return s;if(e(a=i.valueOf)&&!r(s=t(a,i)))return s;if("string"!==o&&e(a=i.toString)&&!r(s=t(a,i)))return s;throw new n("Can't convert object to primitive value")}}var Wt,Ut,Ht,zt,Vt,qt,$t,Gt,Xt,Yt,Kt,Jt,Zt,Qt,te,ee,re,ne,ie,oe,ae,se,ce,le,ue={exports:{}};function fe(){return Ut?Wt:(Ut=1,Wt=!1)}function he(){if(zt)return Ht;zt=1;var t=m(),e=Object.defineProperty;return Ht=function(r,n){try{e(t,r,{value:n,configurable:!0,writable:!0})}catch(e){t[r]=n}return n}}function de(){if(Vt)return ue.exports;Vt=1;var t=fe(),e=m(),r=he(),n="__core-js_shared__",i=ue.exports=e[n]||r(n,{});return(i.versions||(i.versions=[])).push({version:"3.38.1",mode:t?"pure":"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"}),ue.exports}function pe(){if($t)return qt;$t=1;var t=de();return qt=function(e,r){return t[e]||(t[e]=r||{})}}function ve(){if(Xt)return Gt;Xt=1;var t=At(),e=Object;return Gt=function(r){return e(t(r))}}function ge(){if(Kt)return Yt;Kt=1;var t=St(),e=ve(),r=t({}.hasOwnProperty);return Yt=Object.hasOwn||function(t,n){return r(e(t),n)}}function me(){if(Zt)return Jt;Zt=1;var t=St(),e=0,r=Math.random(),n=t(1..toString);return Jt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+n(++e+r,36)}}function be(){if(te)return Qt;te=1;var t=m(),e=pe(),r=ge(),n=me(),i=Lt(),o=It(),a=t.Symbol,s=e("wks"),c=o?a.for||a:a&&a.withoutSetter||n;return Qt=function(t){return r(s,t)||(s[t]=i&&r(a,t)?a[t]:c("Symbol."+t)),s[t]}}function ye(){if(re)return ee;re=1;var t=C(),e=Ot(),r=Ft(),n=Mt(),i=Bt(),o=be(),a=TypeError,s=o("toPrimitive");return ee=function(o,c){if(!e(o)||r(o))return o;var l,u=n(o,s);if(u){if(void 0===c&&(c="default"),l=t(u,o,c),!e(l)||r(l))return l;throw new a("Can't convert object to primitive value")}return void 0===c&&(c="number"),i(o,c)}}function we(){if(ie)return ne;ie=1;var t=ye(),e=Ft();return ne=function(r){var n=t(r,"string");return e(n)?n:n+""}}function Se(){if(ae)return oe;ae=1;var t=m(),e=Ot(),r=t.document,n=e(r)&&e(r.createElement);return oe=function(t){return n?r.createElement(t):{}}}function xe(){if(ce)return se;ce=1;var t=O(),e=_(),r=Se();return se=!t&&!e((function(){return 7!==Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a}))}function ke(){if(le)return E;le=1;var t=O(),e=C(),r=yt(),n=wt(),i=Et(),o=we(),a=ge(),s=xe(),c=Object.getOwnPropertyDescriptor;return E.f=t?c:function(t,l){if(t=i(t),l=o(l),s)try{return c(t,l)}catch(t){}if(a(t,l))return n(!e(r.f,t,l),t[l])},E}var Te,Ae,Ee,_e,Oe,Ne,Ce,Re={};function Pe(){if(Ae)return Te;Ae=1;var t=O(),e=_();return Te=t&&e((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))}function Le(){if(_e)return Ee;_e=1;var t=Ot(),e=String,r=TypeError;return Ee=function(n){if(t(n))return n;throw new r(e(n)+" is not an object")}}function Ie(){if(Oe)return Re;Oe=1;var t=O(),e=xe(),r=Pe(),n=Le(),i=we(),o=TypeError,a=Object.defineProperty,s=Object.getOwnPropertyDescriptor,c="enumerable",l="configurable",u="writable";return Re.f=t?r?function(t,e,r){if(n(t),e=i(e),n(r),"function"==typeof t&&"prototype"===e&&"value"in r&&u in r&&!r[u]){var o=s(t,e);o&&o[u]&&(t[e]=r.value,r={configurable:l in r?r[l]:o[l],enumerable:c in r?r[c]:o[c],writable:!1})}return a(t,e,r)}:a:function(t,r,s){if(n(t),r=i(r),n(s),e)try{return a(t,r,s)}catch(t){}if("get"in s||"set"in s)throw new o("Accessors not supported");return"value"in s&&(t[r]=s.value),t},Re}function Fe(){if(Ce)return Ne;Ce=1;var t=O(),e=Ie(),r=wt();return Ne=t?function(t,n,i){return e.f(t,n,r(1,i))}:function(t,e,r){return t[e]=r,t}}var je,De,Me,Be,We,Ue,He,ze,Ve,qe,$e,Ge,Xe,Ye,Ke,Je={exports:{}};function Ze(){if(De)return je;De=1;var t=O(),e=ge(),r=Function.prototype,n=t&&Object.getOwnPropertyDescriptor,i=e(r,"name"),o=i&&"something"===function(){}.name,a=i&&(!t||t&&n(r,"name").configurable);return je={EXISTS:i,PROPER:o,CONFIGURABLE:a}}function Qe(){if(Be)return Me;Be=1;var t=St(),e=_t(),r=de(),n=t(Function.toString);return e(r.inspectSource)||(r.inspectSource=function(t){return n(t)}),Me=r.inspectSource}function tr(){if(ze)return He;ze=1;var t=pe(),e=me(),r=t("keys");return He=function(t){return r[t]||(r[t]=e(t))}}function er(){return qe?Ve:(qe=1,Ve={})}function rr(){if(Ge)return $e;Ge=1;var t,e,r,n=function(){if(Ue)return We;Ue=1;var t=m(),e=_t(),r=t.WeakMap;return We=e(r)&&/native code/.test(String(r))}(),i=m(),o=Ot(),a=Fe(),s=ge(),c=de(),l=tr(),u=er(),f="Object already initialized",h=i.TypeError,d=i.WeakMap;if(n||c.state){var p=c.state||(c.state=new d);p.get=p.get,p.has=p.has,p.set=p.set,t=function(t,e){if(p.has(t))throw new h(f);return e.facade=t,p.set(t,e),e},e=function(t){return p.get(t)||{}},r=function(t){return p.has(t)}}else{var v=l("state");u[v]=!0,t=function(t,e){if(s(t,v))throw new h(f);return e.facade=t,a(t,v,e),e},e=function(t){return s(t,v)?t[v]:{}},r=function(t){return s(t,v)}}return $e={set:t,get:e,has:r,enforce:function(n){return r(n)?e(n):t(n,{})},getterFor:function(t){return function(r){var n;if(!o(r)||(n=e(r)).type!==t)throw new h("Incompatible receiver, "+t+" required");return n}}}}function nr(){if(Xe)return Je.exports;Xe=1;var t=St(),e=_(),r=_t(),n=ge(),i=O(),o=Ze().CONFIGURABLE,a=Qe(),s=rr(),c=s.enforce,l=s.get,u=String,f=Object.defineProperty,h=t("".slice),d=t("".replace),p=t([].join),v=i&&!e((function(){return 8!==f((function(){}),"length",{value:8}).length})),g=String(String).split("String"),m=Je.exports=function(t,e,r){"Symbol("===h(u(e),0,7)&&(e="["+d(u(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!n(t,"name")||o&&t.name!==e)&&(i?f(t,"name",{value:e,configurable:!0}):t.name=e),v&&r&&n(r,"arity")&&t.length!==r.arity&&f(t,"length",{value:r.arity});try{r&&n(r,"constructor")&&r.constructor?i&&f(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var a=c(t);return n(a,"source")||(a.source=p(g,"string"==typeof e?e:"")),t};return Function.prototype.toString=m((function(){return r(this)&&l(this).source||a(this)}),"toString"),Je.exports}function ir(){if(Ke)return Ye;Ke=1;var t=_t(),e=Ie(),r=nr(),n=he();return Ye=function(i,o,a,s){s||(s={});var c=s.enumerable,l=void 0!==s.name?s.name:o;if(t(a)&&r(a,l,s),s.global)c?i[o]=a:n(o,a);else{try{s.unsafe?i[o]&&(c=!0):delete i[o]}catch(t){}c?i[o]=a:e.f(i,o,{value:a,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return i}}var or,ar,sr,cr,lr,ur,fr,hr,dr,pr,vr,gr,mr,br,yr,wr,Sr,xr={};function kr(){if(cr)return sr;cr=1;var t=function(){if(ar)return or;ar=1;var t=Math.ceil,e=Math.floor;return or=Math.trunc||function(r){var n=+r;return(n>0?e:t)(n)}}();return sr=function(e){var r=+e;return r!=r||0===r?0:t(r)}}function Tr(){if(ur)return lr;ur=1;var t=kr(),e=Math.max,r=Math.min;return lr=function(n,i){var o=t(n);return o<0?e(o+i,0):r(o,i)}}function Ar(){if(hr)return fr;hr=1;var t=kr(),e=Math.min;return fr=function(r){var n=t(r);return n>0?e(n,9007199254740991):0}}function Er(){if(pr)return dr;pr=1;var t=Ar();return dr=function(e){return t(e.length)}}function _r(){if(gr)return vr;gr=1;var t=Et(),e=Tr(),r=Er(),n=function(n){return function(i,o,a){var s=t(i),c=r(s);if(0===c)return!n&&-1;var l,u=e(a,c);if(n&&o!=o){for(;c>u;)if((l=s[u++])!=l)return!0}else for(;c>u;u++)if((n||u in s)&&s[u]===o)return n||u||0;return!n&&-1}};return vr={includes:n(!0),indexOf:n(!1)}}function Or(){if(br)return mr;br=1;var t=St(),e=ge(),r=Et(),n=_r().indexOf,i=er(),o=t([].push);return mr=function(t,a){var s,c=r(t),l=0,u=[];for(s in c)!e(i,s)&&e(c,s)&&o(u,s);for(;a.length>l;)e(c,s=a[l++])&&(~n(u,s)||o(u,s));return u}}function Nr(){return wr?yr:(wr=1,yr=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"])}function Cr(){if(Sr)return xr;Sr=1;var t=Or(),e=Nr().concat("length","prototype");return xr.f=Object.getOwnPropertyNames||function(r){return t(r,e)},xr}var Rr,Pr,Lr,Ir,Fr,jr,Dr,Mr,Br,Wr,Ur,Hr,zr,Vr,qr,$r,Gr,Xr,Yr,Kr,Jr,Zr,Qr,tn,en,rn,nn,on,an={};function sn(){return Rr||(Rr=1,an.f=Object.getOwnPropertySymbols),an}function cn(){if(Lr)return Pr;Lr=1;var t=Nt(),e=St(),r=Cr(),n=sn(),i=Le(),o=e([].concat);return Pr=t("Reflect","ownKeys")||function(t){var e=r.f(i(t)),a=n.f;return a?o(e,a(t)):e}}function ln(){if(Fr)return Ir;Fr=1;var t=ge(),e=cn(),r=ke(),n=Ie();return Ir=function(i,o,a){for(var s=e(o),c=n.f,l=r.f,u=0;u9007199254740991)throw t("Maximum allowed index exceeded");return e}}function pn(){if(qr)return Vr;qr=1;var t=O(),e=Ie(),r=wt();return Vr=function(n,i,o){t?e.f(n,i,r(0,o)):n[i]=o}}function vn(){if(Gr)return $r;Gr=1;var t={};return t[be()("toStringTag")]="z",$r="[object z]"===String(t)}function gn(){if(Yr)return Xr;Yr=1;var t=vn(),e=_t(),r=xt(),n=be()("toStringTag"),i=Object,o="Arguments"===r(function(){return arguments}());return Xr=t?r:function(t){var a,s,c;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(s=function(t,e){try{return t[e]}catch(t){}}(a=i(t),n))?s:o?r(a):"Object"===(c=r(a))&&e(a.callee)?"Arguments":c}}function mn(){if(Jr)return Kr;Jr=1;var t=St(),e=_(),r=_t(),n=gn(),i=Nt(),o=Qe(),a=function(){},s=i("Reflect","construct"),c=/^\s*(?:class|function)\b/,l=t(c.exec),u=!c.test(a),f=function(t){if(!r(t))return!1;try{return s(a,[],t),!0}catch(t){return!1}},h=function(t){if(!r(t))return!1;switch(n(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return u||!!l(c,o(t))}catch(t){return!0}};return h.sham=!0,Kr=!s||e((function(){var t;return f(f.call)||!f(Object)||!f((function(){t=!0}))||t}))?h:f}function bn(){if(Qr)return Zr;Qr=1;var t=hn(),e=mn(),r=Ot(),n=be()("species"),i=Array;return Zr=function(o){var a;return t(o)&&(a=o.constructor,(e(a)&&(a===i||t(a.prototype))||r(a)&&null===(a=a[n]))&&(a=void 0)),void 0===a?i:a}}function yn(){if(en)return tn;en=1;var t=bn();return tn=function(e,r){return new(t(e))(0===r?0:r)}}function wn(){if(nn)return rn;nn=1;var t=_(),e=be(),r=Pt(),n=e("species");return rn=function(e){return r>=51||!t((function(){var t=[];return(t.constructor={})[n]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}}!function(){if(on)return g;on=1;var t=fn(),e=_(),r=hn(),n=Ot(),i=ve(),o=Er(),a=dn(),s=pn(),c=yn(),l=wn(),u=be(),f=Pt(),h=u("isConcatSpreadable"),d=f>=51||!e((function(){var t=[];return t[h]=!1,t.concat()[0]!==t})),p=function(t){if(!n(t))return!1;var e=t[h];return void 0!==e?!!e:r(t)};t({target:"Array",proto:!0,arity:1,forced:!d||!l("concat")},{concat:function(t){var e,r,n,l,u,f=i(this),h=c(f,0),d=0;for(e=-1,n=arguments.length;eT;T++)if((d||T in S)&&(y=k(b=S[T],T,w),e))if(s)E[T]=y;else if(y)switch(e){case 3:return!0;case 5:return b;case 6:return T;case 2:a(E,b)}else switch(e){case 4:return!1;case 7:a(E,b)}return f?-1:l||u?u:E}};return An={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6),filterReject:s(7)}}!function(){if(_n)return On;_n=1;var t=fn(),e=Rn().filter;t({target:"Array",proto:!0,forced:!wn()("filter")},{filter:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}})}();var Pn,Ln,In,Fn,jn,Dn,Mn,Bn,Wn,Un,Hn={},zn={};function Vn(){if(Ln)return Pn;Ln=1;var t=Or(),e=Nr();return Pn=Object.keys||function(r){return t(r,e)}}function qn(){if(jn)return Fn;jn=1;var t=Nt();return Fn=t("document","documentElement")}function $n(){if(Mn)return Dn;Mn=1;var t,e=Le(),r=function(){if(In)return zn;In=1;var t=O(),e=Pe(),r=Ie(),n=Le(),i=Et(),o=Vn();return zn.f=t&&!e?Object.defineProperties:function(t,e){n(t);for(var a,s=i(e),c=o(e),l=c.length,u=0;l>u;)r.f(t,a=c[u++],s[a]);return t},zn}(),n=Nr(),i=er(),o=qn(),a=Se(),s=tr(),c="prototype",l="script",u=s("IE_PROTO"),f=function(){},h=function(t){return"<"+l+">"+t+""},d=function(t){t.write(h("")),t.close();var e=t.parentWindow.Object;return t=null,e},p=function(){try{t=new ActiveXObject("htmlfile")}catch(t){}var e,r,i;p="undefined"!=typeof document?document.domain&&t?d(t):(r=a("iframe"),i="java"+l+":",r.style.display="none",o.appendChild(r),r.src=String(i),(e=r.contentWindow.document).open(),e.write(h("document.F=Object")),e.close(),e.F):d(t);for(var s=n.length;s--;)delete p[c][n[s]];return p()};return i[u]=!0,Dn=Object.create||function(t,n){var i;return null!==t?(f[c]=e(t),i=new f,f[c]=null,i[u]=t):i=p(),void 0===n?i:r.f(i,n)}}function Gn(){if(Wn)return Bn;Wn=1;var t=be(),e=$n(),r=Ie().f,n=t("unscopables"),i=Array.prototype;return void 0===i[n]&&r(i,n,{configurable:!0,value:e(null)}),Bn=function(t){i[n][t]=!0}}!function(){if(Un)return Hn;Un=1;var t=fn(),e=Rn().find,r=Gn(),n="find",i=!0;n in[]&&Array(1)[n]((function(){i=!1})),t({target:"Array",proto:!0,forced:i},{find:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}}),r(n)}();var Xn,Yn={};!function(){if(Xn)return Yn;Xn=1;var t=fn(),e=Rn().findIndex,r=Gn(),n="findIndex",i=!0;n in[]&&Array(1)[n]((function(){i=!1})),t({target:"Array",proto:!0,forced:i},{findIndex:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}}),r(n)}();var Kn,Jn={};!function(){if(Kn)return Jn;Kn=1;var t=fn(),e=_r().includes,r=_(),n=Gn();t({target:"Array",proto:!0,forced:r((function(){return!Array(1).includes()}))},{includes:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}}),n("includes")}();var Zn,Qn,ti,ei,ri,ni,ii,oi,ai,si,ci,li,ui,fi,hi,di,pi,vi,gi,mi,bi,yi,wi,Si,xi,ki,Ti,Ai,Ei,_i={};function Oi(){if(Qn)return Zn;Qn=1;var t=_();return Zn=function(e,r){var n=[][e];return!!n&&t((function(){n.call(null,r||function(){return 1},1)}))}}function Ni(){return ri?ei:(ri=1,ei={})}function Ci(){if(ii)return ni;ii=1;var t=_();return ni=!t((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))}function Ri(){if(ai)return oi;ai=1;var t=ge(),e=_t(),r=ve(),n=tr(),i=Ci(),o=n("IE_PROTO"),a=Object,s=a.prototype;return oi=i?a.getPrototypeOf:function(n){var i=r(n);if(t(i,o))return i[o];var c=i.constructor;return e(c)&&i instanceof c?c.prototype:i instanceof a?s:null}}function Pi(){if(ci)return si;ci=1;var t,e,r,n=_(),i=_t(),o=Ot(),a=$n(),s=Ri(),c=ir(),l=be(),u=fe(),f=l("iterator"),h=!1;return[].keys&&("next"in(r=[].keys())?(e=s(s(r)))!==Object.prototype&&(t=e):h=!0),!o(t)||n((function(){var e={};return t[f].call(e)!==e}))?t={}:u&&(t=a(t)),i(t[f])||c(t,f,(function(){return this})),si={IteratorPrototype:t,BUGGY_SAFARI_ITERATORS:h}}function Li(){if(ui)return li;ui=1;var t=Ie().f,e=ge(),r=be()("toStringTag");return li=function(n,i,o){n&&!o&&(n=n.prototype),n&&!e(n,r)&&t(n,r,{configurable:!0,value:i})}}function Ii(){if(hi)return fi;hi=1;var t=Pi().IteratorPrototype,e=$n(),r=wt(),n=Li(),i=Ni(),o=function(){return this};return fi=function(a,s,c,l){var u=s+" Iterator";return a.prototype=e(t,{next:r(+!l,c)}),n(a,u,!1,!0),i[u]=o,a}}function Fi(){if(gi)return vi;gi=1;var t=Ot();return vi=function(e){return t(e)||null===e}}function ji(){if(bi)return mi;bi=1;var t=Fi(),e=String,r=TypeError;return mi=function(n){if(t(n))return n;throw new r("Can't set "+e(n)+" as a prototype")}}function Di(){if(wi)return yi;wi=1;var t=function(){if(pi)return di;pi=1;var t=St(),e=Dt();return di=function(r,n,i){try{return t(e(Object.getOwnPropertyDescriptor(r,n)[i]))}catch(t){}}}(),e=Ot(),r=At(),n=ji();return yi=Object.setPrototypeOf||("__proto__"in{}?function(){var i,o=!1,a={};try{(i=t(Object.prototype,"__proto__","set"))(a,[]),o=a instanceof Array}catch(t){}return function(t,a){return r(t),n(a),e(t)?(o?i(t,a):t.__proto__=a,t):t}}():void 0)}function Mi(){if(xi)return Si;xi=1;var t=fn(),e=C(),r=fe(),n=Ze(),i=_t(),o=Ii(),a=Ri(),s=Di(),c=Li(),l=Fe(),u=ir(),f=be(),h=Ni(),d=Pi(),p=n.PROPER,v=n.CONFIGURABLE,g=d.IteratorPrototype,m=d.BUGGY_SAFARI_ITERATORS,b=f("iterator"),y="keys",w="values",S="entries",x=function(){return this};return Si=function(n,f,d,k,T,A,E){o(d,f,k);var _,O,N,C=function(t){if(t===T&&F)return F;if(!m&&t&&t in L)return L[t];switch(t){case y:case w:case S:return function(){return new d(this,t)}}return function(){return new d(this)}},R=f+" Iterator",P=!1,L=n.prototype,I=L[b]||L["@@iterator"]||T&&L[T],F=!m&&I||C(T),j="Array"===f&&L.entries||I;if(j&&(_=a(j.call(new n)))!==Object.prototype&&_.next&&(r||a(_)===g||(s?s(_,g):i(_[b])||u(_,b,x)),c(_,R,!0,!0),r&&(h[R]=x)),p&&T===w&&I&&I.name!==w&&(!r&&v?l(L,"name",w):(P=!0,F=function(){return e(I,this)})),T)if(O={values:C(w),keys:A?F:C(y),entries:C(S)},E)for(N in O)(m||P||!(N in L))&&u(L,N,O[N]);else t({target:f,proto:!0,forced:m||P},O);return r&&!E||L[b]===F||u(L,b,F,{name:T}),h[f]=F,O}}function Bi(){return Ti?ki:(Ti=1,ki=function(t,e){return{value:t,done:e}})}function Wi(){if(Ei)return Ai;Ei=1;var t=Et(),e=Gn(),r=Ni(),n=rr(),i=Ie().f,o=Mi(),a=Bi(),s=fe(),c=O(),l="Array Iterator",u=n.set,f=n.getterFor(l);Ai=o(Array,"Array",(function(e,r){u(this,{type:l,target:t(e),index:0,kind:r})}),(function(){var t=f(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=null,a(void 0,!0);switch(t.kind){case"keys":return a(r,!1);case"values":return a(e[r],!1)}return a([r,e[r]],!1)}),"values");var h=r.Arguments=r.Array;if(e("keys"),e("values"),e("entries"),!s&&c&&"values"!==h.name)try{i(h,"name",{value:"values"})}catch(t){}return Ai}!function(){if(ti)return _i;ti=1;var t=fn(),e=Nn(),r=_r().indexOf,n=Oi(),i=e([].indexOf),o=!!i&&1/i([1],1,-0)<0;t({target:"Array",proto:!0,forced:o||!n("indexOf")},{indexOf:function(t){var e=arguments.length>1?arguments[1]:void 0;return o?i(this,t,e)||0:r(this,t,e)}})}(),Wi();var Ui,Hi={};!function(){if(Ui)return Hi;Ui=1;var t=fn(),e=St(),r=kt(),n=Et(),i=Oi(),o=e([].join);t({target:"Array",proto:!0,forced:r!==Object||!i("join",",")},{join:function(t){return o(n(this),void 0===t?",":t)}})}();var zi,Vi={};!function(){if(zi)return Vi;zi=1;var t=fn(),e=Rn().map;t({target:"Array",proto:!0,forced:!wn()("map")},{map:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}})}();var qi,$i={};!function(){if(qi)return $i;qi=1;var t=fn(),e=St(),r=hn(),n=e([].reverse),i=[1,2];t({target:"Array",proto:!0,forced:String(i)===String(i.reverse())},{reverse:function(){return r(this)&&(this.length=this.length),n(this)}})}();var Gi,Xi,Yi,Ki={};function Ji(){if(Xi)return Gi;Xi=1;var t=St();return Gi=t([].slice)}!function(){if(Yi)return Ki;Yi=1;var t=fn(),e=hn(),r=mn(),n=Ot(),i=Tr(),o=Er(),a=Et(),s=pn(),c=be(),l=wn(),u=Ji(),f=l("slice"),h=c("species"),d=Array,p=Math.max;t({target:"Array",proto:!0,forced:!f},{slice:function(t,c){var l,f,v,g=a(this),m=o(g),b=i(t,m),y=i(void 0===c?m:c,m);if(e(g)&&(l=g.constructor,(r(l)&&(l===d||e(l.prototype))||n(l)&&null===(l=l[h]))&&(l=void 0),l===d||void 0===l))return u(g,b,y);for(f=new(void 0===l?d:l)(p(y-b,0)),v=0;b0;)n[s]=n[--s];s!==c++&&(n[s]=a)}else for(var l=e(o/2),u=r(t(n,0,l),i),f=r(t(n,l),i),h=u.length,d=f.length,p=0,v=0;p3)){if(f)return!0;if(d)return d<603;var t,e,r,n,i="";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++)p.push({k:e+n,v:r})}for(p.sort((function(t,e){return e.v-t.v})),n=0;na(r)?1:-1}}(t)),s=i(u),l=0;lw-p+d;g--)l(y,g-1)}else if(d>p)for(g=w-p;g>S;g--)b=g+d-1,(m=g+p-1)in y?y[b]=y[m]:l(y,b);for(g=0;g2)if(l=b(l),43===(e=A(l,0))||45===e){if(88===(r=A(l,2))||120===r)return NaN}else if(48===e){switch(A(l,1)){case 66:case 98:n=2,i=49;break;case 79:case 111:n=8,i=55;break;default:return+l}for(a=(o=T(l,2)).length,s=0;si)return NaN;return parseInt(o,n)}return+l},N=a(y,!w(" 0o1")||!w("0b1")||w("+0x1")),C=function(t){var e,r=arguments.length<1?0:w(function(t){var e=f(t,"number");return"bigint"==typeof e?e:E(e)}(t));return l(x,e=this)&&h((function(){g(e)}))?c(Object(r),this,C):r};C.prototype=x,N&&!e&&(x.constructor=C),t({global:!0,constructor:!0,wrap:!0,forced:N},{Number:C});var R=function(t,e){for(var n,i=r?d(e):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),o=0;i.length>o;o++)s(e,n=i[o])&&!s(t,n)&&v(t,n,p(e,n))};e&&S&&R(i[y],S),(N||e)&&R(i[y],w)}();var Bo,Wo,Uo,Ho={};!function(){if(Uo)return Ho;Uo=1;var t=fn(),e=function(){if(Wo)return Bo;Wo=1;var t=O(),e=St(),r=C(),n=_(),i=Vn(),o=sn(),a=yt(),s=ve(),c=kt(),l=Object.assign,u=Object.defineProperty,f=e([].concat);return Bo=!l||n((function(){if(t&&1!==l({b:1},l(u({},"a",{enumerable:!0,get:function(){u(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},r={},n=Symbol("assign detection"),o="abcdefghijklmnopqrst";return e[n]=7,o.split("").forEach((function(t){r[t]=t})),7!==l({},e)[n]||i(l({},r)).join("")!==o}))?function(e,n){for(var l=s(e),u=arguments.length,h=1,d=o.f,p=a.f;u>h;)for(var v,g=c(arguments[h++]),m=d?f(i(g),d(g)):i(g),b=m.length,y=0;b>y;)v=m[y++],t&&!r(p,g,v)||(l[v]=g[v]);return l}:l,Bo}();t({target:"Object",stat:!0,arity:2,forced:Object.assign!==e},{assign:e})}();var zo,Vo,qo,$o={};!function(){if(qo)return $o;qo=1;var t=fn(),e=function(){if(Vo)return zo;Vo=1;var t=O(),e=_(),r=St(),n=Ri(),i=Vn(),o=Et(),a=r(yt().f),s=r([].push),c=t&&e((function(){var t=Object.create(null);return t[2]=2,!a(t,2)})),l=function(e){return function(r){for(var l,u=o(r),f=i(u),h=c&&null===n(u),d=f.length,p=0,v=[];d>p;)l=f[p++],t&&!(h?l in u:a(u,l))||s(v,e?[l,u[l]]:u[l]);return v}};return zo={entries:l(!0),values:l(!1)}}().entries;t({target:"Object",stat:!0},{entries:function(t){return e(t)}})}();var Go,Xo={};!function(){if(Go)return Xo;Go=1;var t=fn(),e=ve(),r=Vn();t({target:"Object",stat:!0,forced:_()((function(){r(1)}))},{keys:function(t){return r(e(t))}})}();var Yo,Ko,Jo,Zo={};!function(){if(Jo)return Zo;Jo=1;var t=vn(),e=ir(),r=function(){if(Ko)return Yo;Ko=1;var t=vn(),e=gn();return Yo=t?{}.toString:function(){return"[object "+e(this)+"]"}}();t||e(Object.prototype,"toString",r,{unsafe:!0})}();var Qo,ta,ea,ra={};!function(){if(ea)return ra;ea=1;var t=fn(),e=function(){if(ta)return Qo;ta=1;var t=m(),e=_(),r=St(),n=po(),i=Mo().trim,o=Do(),a=r("".charAt),s=t.parseFloat,c=t.Symbol,l=c&&c.iterator,u=1/s(o+"-0")!=-1/0||l&&!e((function(){s(Object(l))}));return Qo=u?function(t){var e=i(n(t)),r=s(e);return 0===r&&"-"===a(e,0)?-0:r}:s}();t({global:!0,forced:parseFloat!==e},{parseFloat:e})}();var na,ia,oa,aa={};!function(){if(oa)return aa;oa=1;var t=fn(),e=function(){if(ia)return na;ia=1;var t=m(),e=_(),r=St(),n=po(),i=Mo().trim,o=Do(),a=t.parseInt,s=t.Symbol,c=s&&s.iterator,l=/^[+-]?0x/i,u=r(l.exec),f=8!==a(o+"08")||22!==a(o+"0x16")||c&&!e((function(){a(Object(c))}));return na=f?function(t,e){var r=i(n(t));return a(r,e>>>0||(u(l,r)?16:10))}:a}();t({global:!0,forced:parseInt!==e},{parseInt:e})}();var sa,ca,la,ua,fa,ha,da,pa,va,ga,ma,ba,ya,wa,Sa,xa,ka,Ta,Aa,Ea={};function _a(){if(ca)return sa;ca=1;var t=Ot(),e=xt(),r=be()("match");return sa=function(n){var i;return t(n)&&(void 0!==(i=n[r])?!!i:"RegExp"===e(n))}}function Oa(){if(ua)return la;ua=1;var t=Le();return la=function(){var e=t(this),r="";return e.hasIndices&&(r+="d"),e.global&&(r+="g"),e.ignoreCase&&(r+="i"),e.multiline&&(r+="m"),e.dotAll&&(r+="s"),e.unicode&&(r+="u"),e.unicodeSets&&(r+="v"),e.sticky&&(r+="y"),r}}function Na(){if(ha)return fa;ha=1;var t=C(),e=ge(),r=Ct(),n=Oa(),i=RegExp.prototype;return fa=function(o){var a=o.flags;return void 0!==a||"flags"in i||e(o,"flags")||!r(i,o)?a:t(n,o)}}function Ca(){if(pa)return da;pa=1;var t=_(),e=m().RegExp,r=t((function(){var t=e("a","y");return t.lastIndex=2,null!==t.exec("abcd")})),n=r||t((function(){return!e("a","y").sticky})),i=r||t((function(){var t=e("^r","gy");return t.lastIndex=2,null!==t.exec("str")}));return da={BROKEN_CARET:i,MISSED_STICKY:n,UNSUPPORTED_Y:r}}function Ra(){if(ga)return va;ga=1;var t=Ie().f;return va=function(e,r,n){n in e||t(e,n,{configurable:!0,get:function(){return r[n]},set:function(t){r[n]=t}})}}function Pa(){if(ba)return ma;ba=1;var t=nr(),e=Ie();return ma=function(r,n,i){return i.get&&t(i.get,n,{getter:!0}),i.set&&t(i.set,n,{setter:!0}),e.f(r,n,i)}}function La(){if(wa)return ya;wa=1;var t=Nt(),e=Pa(),r=be(),n=O(),i=r("species");return ya=function(r){var o=t(r);n&&o&&!o[i]&&e(o,i,{configurable:!0,get:function(){return this}})}}function Ia(){if(xa)return Sa;xa=1;var t=_(),e=m().RegExp;return Sa=t((function(){var t=e(".","s");return!(t.dotAll&&t.test("\n")&&"s"===t.flags)}))}function Fa(){if(Ta)return ka;Ta=1;var t=_(),e=m().RegExp;return ka=t((function(){var t=e("(?b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$c")}))}!function(){if(Aa)return Ea;Aa=1;var t=O(),e=m(),r=St(),n=un(),i=Fo(),o=Fe(),a=$n(),s=Cr().f,c=Ct(),l=_a(),u=po(),f=Na(),h=Ca(),d=Ra(),p=ir(),v=_(),g=ge(),b=rr().enforce,y=La(),w=be(),S=Ia(),x=Fa(),k=w("match"),T=e.RegExp,A=T.prototype,E=e.SyntaxError,N=r(A.exec),C=r("".charAt),R=r("".replace),P=r("".indexOf),L=r("".slice),I=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,F=/a/g,j=/a/g,D=new T(F)!==F,M=h.MISSED_STICKY,B=h.UNSUPPORTED_Y,W=t&&(!D||M||S||x||v((function(){return j[k]=!1,T(F)!==F||T(j)===j||"/a/i"!==String(T(F,"i"))})));if(n("RegExp",W)){for(var U=function(t,e){var r,n,s,h,d,p,v=c(A,this),m=l(t),y=void 0===e,w=[],k=t;if(!v&&m&&y&&t.constructor===U)return t;if((m||c(A,t))&&(t=t.source,y&&(e=f(k))),t=void 0===t?"":u(t),e=void 0===e?"":u(e),k=t,S&&"dotAll"in F&&(n=!!e&&P(e,"s")>-1)&&(e=R(e,/s/g,"")),r=e,M&&"sticky"in F&&(s=!!e&&P(e,"y")>-1)&&B&&(e=R(e,/y/g,"")),x&&(h=function(t){for(var e,r=t.length,n=0,i="",o=[],s=a(null),c=!1,l=!1,u=0,f="";n<=r;n++){if("\\"===(e=C(t,n)))e+=C(t,++n);else if("]"===e)c=!1;else if(!c)switch(!0){case"["===e:c=!0;break;case"("===e:if(i+=e,"?:"===L(t,n+1,n+3))continue;N(I,L(t,n+1))&&(n+=2,l=!0),u++;continue;case">"===e&&l:if(""===f||g(s,f))throw new E("Invalid capture group name");s[f]=!0,o[o.length]=[f,u],l=!1,f="";continue}l?f+=e:i+=e}return[i,o]}(t),t=h[0],w=h[1]),d=i(T(t,e),v?this:A,U),(n||s||w.length)&&(p=b(d),n&&(p.dotAll=!0,p.raw=U(function(t){for(var e,r=t.length,n=0,i="",o=!1;n<=r;n++)"\\"!==(e=C(t,n))?o||"."!==e?("["===e?o=!0:"]"===e&&(o=!1),i+=e):i+="[\\s\\S]":i+=e+C(t,++n);return i}(t),r)),s&&(p.sticky=!0),w.length&&(p.groups=w)),t!==k)try{o(d,"source",""===k?"(?:)":k)}catch(t){}return d},H=s(T),z=0;H.length>z;)d(U,T,H[z++]);A.constructor=U,U.prototype=A,p(e,"RegExp",U,{constructor:!0})}y("RegExp")}();var ja,Da,Ma,Ba={};function Wa(){if(Da)return ja;Da=1;var t,e,r=C(),n=St(),i=po(),o=Oa(),a=Ca(),s=pe(),c=$n(),l=rr().get,u=Ia(),f=Fa(),h=s("native-string-replace",String.prototype.replace),d=RegExp.prototype.exec,p=d,v=n("".charAt),g=n("".indexOf),m=n("".replace),b=n("".slice),y=(e=/b*/g,r(d,t=/a/,"a"),r(d,e,"a"),0!==t.lastIndex||0!==e.lastIndex),w=a.BROKEN_CARET,S=void 0!==/()??/.exec("")[1];return(y||S||w||u||f)&&(p=function(t){var e,n,a,s,u,f,x,k=this,T=l(k),A=i(t),E=T.raw;if(E)return E.lastIndex=k.lastIndex,e=r(p,E,A),k.lastIndex=E.lastIndex,e;var _=T.groups,O=w&&k.sticky,N=r(o,k),C=k.source,R=0,P=A;if(O&&(N=m(N,"y",""),-1===g(N,"g")&&(N+="g"),P=b(A,k.lastIndex),k.lastIndex>0&&(!k.multiline||k.multiline&&"\n"!==v(A,k.lastIndex-1))&&(C="(?: "+C+")",P=" "+P,R++),n=new RegExp("^(?:"+C+")",N)),S&&(n=new RegExp("^"+C+"$(?!\\s)",N)),y&&(a=k.lastIndex),s=r(d,O?n:k,P),O?s?(s.input=b(s.input,R),s[0]=b(s[0],R),s.index=k.lastIndex,k.lastIndex+=s[0].length):k.lastIndex=0:y&&s&&(k.lastIndex=k.global?s.index+s[0].length:a),S&&s&&s.length>1&&r(h,s[0],n,(function(){for(u=1;u1?arguments[1]:void 0)}})}();var Za,Qa,ts,es,rs,ns,is,os,as,ss,cs,ls,us,fs={};function hs(){if(es)return ts;es=1,Ua();var t=C(),e=ir(),r=Wa(),n=_(),i=be(),o=Fe(),a=i("species"),s=RegExp.prototype;return ts=function(c,l,u,f){var h=i(c),d=!n((function(){var t={};return t[h]=function(){return 7},7!==""[c](t)})),p=d&&!n((function(){var t=!1,e=/a/;return"split"===c&&((e={}).constructor={},e.constructor[a]=function(){return e},e.flags="",e[h]=/./[h]),e.exec=function(){return t=!0,null},e[h](""),!t}));if(!d||!p||u){var v=/./[h],g=l(h,""[c],(function(e,n,i,o,a){var c=n.exec;return c===r||c===s.exec?d&&!a?{done:!0,value:t(v,n,i,o)}:{done:!0,value:t(e,i,n,o)}:{done:!1}}));e(String.prototype,c,g[0]),e(s,h,g[1])}f&&o(s[h],"sham",!0)}}function ds(){if(ns)return rs;ns=1;var t=St(),e=kr(),r=po(),n=At(),i=t("".charAt),o=t("".charCodeAt),a=t("".slice),s=function(t){return function(s,c){var l,u,f=r(n(s)),h=e(c),d=f.length;return h<0||h>=d?t?"":void 0:(l=o(f,h))<55296||l>56319||h+1===d||(u=o(f,h+1))<56320||u>57343?t?i(f,h):l:t?a(f,h,h+2):u-56320+(l-55296<<10)+65536}};return rs={codeAt:s(!1),charAt:s(!0)}}function ps(){if(os)return is;os=1;var t=ds().charAt;return is=function(e,r,n){return r+(n?t(e,r).length:1)}}function vs(){if(ss)return as;ss=1;var t=St(),e=ve(),r=Math.floor,n=t("".charAt),i=t("".replace),o=t("".slice),a=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,s=/\$([$&'`]|\d{1,2})/g;return as=function(t,c,l,u,f,h){var d=l+t.length,p=u.length,v=s;return void 0!==f&&(f=e(f),v=a),i(h,v,(function(e,i){var a;switch(n(i,0)){case"$":return"$";case"&":return t;case"`":return o(c,0,l);case"'":return o(c,d);case"<":a=f[o(i,1,-1)];break;default:var s=+i;if(0===s)return e;if(s>p){var h=r(s/10);return 0===h?e:h<=p?void 0===u[h-1]?n(i,1):u[h-1]+n(i,1):e}a=u[s-1]}return void 0===a?"":a}))}}function gs(){if(ls)return cs;ls=1;var t=C(),e=Le(),r=_t(),n=xt(),i=Wa(),o=TypeError;return cs=function(a,s){var c=a.exec;if(r(c)){var l=t(c,a,s);return null!==l&&e(l),l}if("RegExp"===n(a))return t(i,a,s);throw new o("RegExp#exec called on incompatible receiver")}}!function(){if(us)return fs;us=1;var t=function(){if(Qa)return Za;Qa=1;var t=N(),e=Function.prototype,r=e.apply,n=e.call;return Za="object"==typeof Reflect&&Reflect.apply||(t?n.bind(r):function(){return n.apply(r,arguments)}),Za}(),e=C(),r=St(),n=hs(),i=_(),o=Le(),a=_t(),s=Tt(),c=kr(),l=Ar(),u=po(),f=At(),h=ps(),d=Mt(),p=vs(),v=gs(),g=be()("replace"),m=Math.max,b=Math.min,y=r([].concat),w=r([].push),S=r("".indexOf),x=r("".slice),k="$0"==="a".replace(/./,"$0"),T=!!/./[g]&&""===/./[g]("a","$0");n("replace",(function(r,n,i){var k=T?"$":"$0";return[function(t,r){var i=f(this),o=s(t)?void 0:d(t,g);return o?e(o,t,i,r):e(n,u(i),t,r)},function(e,r){var s=o(this),f=u(e);if("string"==typeof r&&-1===S(r,k)&&-1===S(r,"$<")){var d=i(n,s,f,r);if(d.done)return d.value}var g=a(r);g||(r=u(r));var T,A=s.global;A&&(T=s.unicode,s.lastIndex=0);for(var E,_=[];null!==(E=v(s,f))&&(w(_,E),A);){""===u(E[0])&&(s.lastIndex=h(f,l(s.lastIndex),T))}for(var O,N="",C=0,R=0;R<_.length;R++){for(var P,L=u((E=_[R])[0]),I=m(b(c(E.index),f.length),0),F=[],j=1;j=C&&(N+=x(f,C,I)+P,C=I+L.length)}return N+x(f,C)}]}),!!i((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$")}))||!k||T)}();var ms,bs,ys,ws={};function Ss(){return bs?ms:(bs=1,ms=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e})}!function(){if(ys)return ws;ys=1;var t=C(),e=hs(),r=Le(),n=Tt(),i=At(),o=Ss(),a=po(),s=Mt(),c=gs();e("search",(function(e,l,u){return[function(r){var o=i(this),c=n(r)?void 0:s(r,e);return c?t(c,r,o):new RegExp(r)[e](a(o))},function(t){var e=r(this),n=a(t),i=u(l,e,n);if(i.done)return i.value;var s=e.lastIndex;o(s,0)||(e.lastIndex=0);var f=c(e,n);return o(e.lastIndex,s)||(e.lastIndex=s),null===f?-1:f.index}]}))}();var xs,ks,Ts,As,Es,_s={};function Os(){if(ks)return xs;ks=1;var t=mn(),e=jt(),r=TypeError;return xs=function(n){if(t(n))return n;throw new r(e(n)+" is not a constructor")}}function Ns(){if(As)return Ts;As=1;var t=Le(),e=Os(),r=Tt(),n=be()("species");return Ts=function(i,o){var a,s=t(i).constructor;return void 0===s||r(a=t(s)[n])?o:e(a)}}!function(){if(Es)return _s;Es=1;var t=C(),e=St(),r=hs(),n=Le(),i=Tt(),o=At(),a=Ns(),s=ps(),c=Ar(),l=po(),u=Mt(),f=gs(),h=Ca(),d=_(),p=h.UNSUPPORTED_Y,v=Math.min,g=e([].push),m=e("".slice),b=!d((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var r="ab".split(t);return 2!==r.length||"a"!==r[0]||"b"!==r[1]})),y="c"==="abbc".split(/(b)*/)[1]||4!=="test".split(/(?:)/,-1).length||2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length;r("split",(function(e,r,h){var d="0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t(r,this,e,n)}:r;return[function(r,n){var a=o(this),s=i(r)?void 0:u(r,e);return s?t(s,r,a,n):t(d,l(a),r,n)},function(t,e){var i=n(this),o=l(t);if(!y){var u=h(d,i,o,e,d!==r);if(u.done)return u.value}var b=a(i,RegExp),w=i.unicode,S=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(p?"g":"y"),x=new b(p?"^(?:"+i.source+")":i,S),k=void 0===e?4294967295:e>>>0;if(0===k)return[];if(0===o.length)return null===f(x,o)?[o]:[];for(var T=0,A=0,E=[];A1?arguments[1]:void 0)},Ms}(),i=Fe(),o=function(t){if(t&&t.forEach!==n)try{i(t,"forEach",n)}catch(e){t.forEach=n}};for(var a in e)e[a]&&o(t[a]&&t[a].prototype);o(r)}();var Vs,qs={};!function(){if(Vs)return qs;Vs=1;var t=m(),e=Hs(),r=zs(),n=Wi(),i=Fe(),o=Li(),a=be()("iterator"),s=n.values,c=function(t,r){if(t){if(t[a]!==s)try{i(t,a,s)}catch(e){t[a]=s}if(o(t,r,!0),e[r])for(var c in n)if(t[c]!==n[c])try{i(t,c,n[c])}catch(e){t[c]=n[c]}}};for(var l in e)c(t[l]&&t[l].prototype,l);c(r,"DOMTokenList")}();var $s,Gs={};!function(){if($s)return Gs;$s=1;var t=fn(),e=_(),r=ve(),n=Ri(),i=Ci();t({target:"Object",stat:!0,forced:e((function(){n(1)})),sham:!i},{getPrototypeOf:function(t){return n(r(t))}})}();var Xs,Ys={};!function(){if(Xs)return Ys;Xs=1;var t,e=fn(),r=Nn(),n=ke().f,i=Ar(),o=po(),a=Ka(),s=At(),c=Ja(),l=fe(),u=r("".slice),f=Math.min,h=c("endsWith");e({target:"String",proto:!0,forced:!!(l||h||(t=n(String.prototype,"endsWith"),!t||t.writable))&&!h},{endsWith:function(t){var e=o(s(this));a(t);var r=arguments.length>1?arguments[1]:void 0,n=e.length,c=void 0===r?n:f(i(r),n),l=o(t);return u(e,c-l.length,c)===l}})}();var Ks,Js={};!function(){if(Ks)return Js;Ks=1;var t=ds().charAt,e=po(),r=rr(),n=Mi(),i=Bi(),o="String Iterator",a=r.set,s=r.getterFor(o);n(String,"String",(function(t){a(this,{type:o,string:e(t),index:0})}),(function(){var e,r=s(this),n=r.string,o=r.index;return o>=n.length?i(void 0,!0):(e=t(n,o),r.index+=e.length,i(e,!1))}))}();var Zs,Qs={};!function(){if(Zs)return Qs;Zs=1;var t=C(),e=hs(),r=Le(),n=Tt(),i=Ar(),o=po(),a=At(),s=Mt(),c=ps(),l=gs();e("match",(function(e,u,f){return[function(r){var i=a(this),c=n(r)?void 0:s(r,e);return c?t(c,r,i):new RegExp(r)[e](o(i))},function(t){var e=r(this),n=o(t),a=f(u,e,n);if(a.done)return a.value;if(!e.global)return l(e,n);var s=e.unicode;e.lastIndex=0;for(var h,d=[],p=0;null!==(h=l(e,n));){var v=o(h[0]);d[p]=v,""===v&&(e.lastIndex=c(n,i(e.lastIndex),s)),p++}return 0===p?null:d}]}))}();var tc,ec={};!function(){if(tc)return ec;tc=1;var t,e=fn(),r=Nn(),n=ke().f,i=Ar(),o=po(),a=Ka(),s=At(),c=Ja(),l=fe(),u=r("".slice),f=Math.min,h=c("startsWith");e({target:"String",proto:!0,forced:!!(l||h||(t=n(String.prototype,"startsWith"),!t||t.writable))&&!h},{startsWith:function(t){var e=o(s(this));a(t);var r=i(f(arguments.length>1?arguments[1]:void 0,e.length)),n=o(t);return u(e,r,r+n.length)===n}})}();var rc,nc,ic,oc,ac,sc,cc,lc,uc,fc,hc,dc,pc,vc,gc,mc,bc,yc,wc={};function Sc(){if(ic)return nc;ic=1;var t=m(),e=O(),r=Object.getOwnPropertyDescriptor;return nc=function(n){if(!e)return t[n];var i=r(t,n);return i&&i.value}}function xc(){if(cc)return sc;cc=1;var t=ir();return sc=function(e,r,n){for(var i in r)t(e,i,r[i],n);return e}}function kc(){if(uc)return lc;uc=1;var t=Ct(),e=TypeError;return lc=function(r,n){if(t(n,r))return r;throw new e("Incorrect invocation")}}function Tc(){if(hc)return fc;hc=1;var t=gn(),e=Mt(),r=Tt(),n=Ni(),i=be()("iterator");return fc=function(o){if(!r(o))return e(o,i)||e(o,"@@iterator")||n[t(o)]}}function Ac(){if(pc)return dc;pc=1;var t=C(),e=Dt(),r=Le(),n=jt(),i=Tc(),o=TypeError;return dc=function(a,s){var c=arguments.length<2?i(a):s;if(e(c))return r(t(c,a));throw new o(n(a)+" is not iterable")},dc}function Ec(){if(gc)return vc;gc=1;var t=TypeError;return vc=function(e,r){if(ec;){if(e=+arguments[c++],r(e,1114111)!==e)throw new n(e+" is not a valid code point");o[c]=e<65536?i(e):i(55296+((e-=65536)>>10),e%1024+56320)}return a(o,"")}})}();var t=fn(),e=m(),r=Sc(),n=Nt(),i=C(),o=St(),a=O(),s=function(){if(ac)return oc;ac=1;var t=_(),e=be(),r=O(),n=fe(),i=e("iterator");return oc=!t((function(){var t=new URL("b?a=1&b=2&c=3","https://a"),e=t.searchParams,o=new URLSearchParams("a=1&a=2&b=3"),a="";return t.pathname="c%20d",e.forEach((function(t,r){e.delete("b"),a+=r+t})),o.delete("a",2),o.delete("b",void 0),n&&(!t.toJSON||!o.has("a",1)||o.has("a",2)||!o.has("a",void 0)||o.has("b"))||!e.size&&(n||!r)||!e.sort||"https://a/c%20d?a=1&c=3"!==t.href||"3"!==e.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!e[i]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("https://тест").host||"#%D0%B1"!==new URL("https://a#б").hash||"a1c3"!==a||"x"!==new URL("https://x",void 0).host}))}(),c=ir(),l=Pa(),u=xc(),f=Li(),h=Ii(),d=rr(),p=kc(),v=_t(),g=ge(),b=Cn(),y=gn(),w=Le(),S=Ot(),x=po(),k=$n(),T=wt(),A=Ac(),E=Tc(),N=Bi(),R=Ec(),P=be(),L=vo(),I=P("iterator"),F="URLSearchParams",j=F+"Iterator",D=d.set,M=d.getterFor(F),B=d.getterFor(j),W=r("fetch"),U=r("Request"),H=r("Headers"),z=U&&U.prototype,V=H&&H.prototype,q=e.TypeError,$=e.encodeURIComponent,G=String.fromCharCode,X=n("String","fromCodePoint"),Y=parseInt,K=o("".charAt),J=o([].join),Z=o([].push),Q=o("".replace),tt=o([].shift),et=o([].splice),rt=o("".split),nt=o("".slice),it=o(/./.exec),ot=/\+/g,at=/^[0-9a-f]+$/i,st=function(t,e){var r=nt(t,e,e+2);return it(at,r)?Y(r,16):NaN},ct=function(t){for(var e=0,r=128;r>0&&t&r;r>>=1)e++;return e},lt=function(t){var e=null;switch(t.length){case 1:e=t[0];break;case 2:e=(31&t[0])<<6|63&t[1];break;case 3:e=(15&t[0])<<12|(63&t[1])<<6|63&t[2];break;case 4:e=(7&t[0])<<18|(63&t[1])<<12|(63&t[2])<<6|63&t[3]}return e>1114111?null:e},ut=function(t){for(var e=(t=Q(t,ot," ")).length,r="",n=0;ne){r+="%",n++;continue}var o=st(t,n+1);if(o!=o){r+=i,n++;continue}n+=2;var a=ct(o);if(0===a)i=G(o);else{if(1===a||a>4){r+="�",n++;continue}for(var s=[o],c=1;ce||"%"!==K(t,n));){var l=st(t,n+1);if(l!=l){n+=3;break}if(l>191||l<128)break;Z(s,l),n+=2,c++}if(s.length!==a){r+="�";continue}var u=lt(s);null===u?r+="�":i=X(u)}}r+=i,n++}return r},ft=/[!'()~]|%20/g,ht={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},dt=function(t){return ht[t]},pt=function(t){return Q($(t),ft,dt)},vt=h((function(t,e){D(this,{type:j,target:M(t).entries,index:0,kind:e})}),F,(function(){var t=B(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=null,N(void 0,!0);var n=e[r];switch(t.kind){case"keys":return N(n.key,!1);case"values":return N(n.value,!1)}return N([n.key,n.value],!1)}),!0),gt=function(t){this.entries=[],this.url=null,void 0!==t&&(S(t)?this.parseObject(t):this.parseQuery("string"==typeof t?"?"===K(t,0)?nt(t,1):t:x(t)))};gt.prototype={type:F,bindURL:function(t){this.url=t,this.update()},parseObject:function(t){var e,r,n,o,a,s,c,l=this.entries,u=E(t);if(u)for(r=(e=A(t,u)).next;!(n=i(r,e)).done;){if(a=(o=A(w(n.value))).next,(s=i(a,o)).done||(c=i(a,o)).done||!i(a,o).done)throw new q("Expected sequence with length 2");Z(l,{key:x(s.value),value:x(c.value)})}else for(var f in t)g(t,f)&&Z(l,{key:f,value:x(t[f])})},parseQuery:function(t){if(t)for(var e,r,n=this.entries,i=rt(t,"&"),o=0;o0?arguments[0]:void 0));a||(this.size=t.entries.length)},bt=mt.prototype;if(u(bt,{append:function(t,e){var r=M(this);R(arguments.length,2),Z(r.entries,{key:x(t),value:x(e)}),a||this.length++,r.updateURL()},delete:function(t){for(var e=M(this),r=R(arguments.length,1),n=e.entries,i=x(t),o=r<2?void 0:arguments[1],s=void 0===o?o:x(o),c=0;ce.key?1:-1})),t.updateURL()},forEach:function(t){for(var e,r=M(this).entries,n=b(t,arguments.length>1?arguments[1]:void 0),i=0;i1?kt(arguments[1]):{})}}),v(U)){var Tt=function(t){return p(this,z),new U(t,arguments.length>1?kt(arguments[1]):{})};z.constructor=Tt,Tt.prototype=z,t({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:Tt})}}return mc={URLSearchParams:mt,getState:M}}yc||(yc=1,_c());var Oc={getBootstrapVersion:function(){var e=5;try{var r=t.fn.dropdown.Constructor.VERSION;void 0!==r&&(e=parseInt(r,10))}catch(t){}try{var n=bootstrap.Tooltip.VERSION;void 0!==n&&(e=parseInt(n,10))}catch(t){}return e},getIconsPrefix:function(t){return{bootstrap3:"glyphicon",bootstrap4:"fa",bootstrap5:"bi","bootstrap-table":"icon",bulma:"fa",foundation:"fa",materialize:"material-icons",semantic:"fa"}[t]||"fa"},getIcons:function(t){return{glyphicon:{clearSearch:"glyphicon-trash",columns:"glyphicon-th icon-th",detailClose:"glyphicon-minus icon-minus",detailOpen:"glyphicon-plus icon-plus",fullscreen:"glyphicon-fullscreen",paginationSwitchDown:"glyphicon-collapse-down icon-chevron-down",paginationSwitchUp:"glyphicon-collapse-up icon-chevron-up",refresh:"glyphicon-refresh icon-refresh",search:"glyphicon-search",toggleOff:"glyphicon-list-alt icon-list-alt",toggleOn:"glyphicon-list-alt icon-list-alt"},fa:{clearSearch:"fa-trash",columns:"fa-th-list",detailClose:"fa-minus",detailOpen:"fa-plus",fullscreen:"fa-arrows-alt",paginationSwitchDown:"fa-caret-square-down",paginationSwitchUp:"fa-caret-square-up",refresh:"fa-sync",search:"fa-search",toggleOff:"fa-toggle-off",toggleOn:"fa-toggle-on"},bi:{clearSearch:"bi-trash",columns:"bi-list-ul",detailClose:"bi-dash",detailOpen:"bi-plus",fullscreen:"bi-arrows-move",paginationSwitchDown:"bi-caret-down-square",paginationSwitchUp:"bi-caret-up-square",refresh:"bi-arrow-clockwise",search:"bi-search",toggleOff:"bi-toggle-off",toggleOn:"bi-toggle-on"},icon:{clearSearch:"icon-trash-2",columns:"icon-list",detailClose:"icon-minus",detailOpen:"icon-plus",fullscreen:"icon-maximize",paginationSwitchDown:"icon-arrow-up-circle",paginationSwitchUp:"icon-arrow-down-circle",refresh:"icon-refresh-cw",search:"icon-search",toggleOff:"icon-toggle-right",toggleOn:"icon-toggle-right"},"material-icons":{clearSearch:"delete",columns:"view_list",detailClose:"remove",detailOpen:"add",fullscreen:"fullscreen",paginationSwitchDown:"grid_on",paginationSwitchUp:"grid_off",refresh:"refresh",search:"search",sort:"sort",toggleOff:"tablet",toggleOn:"tablet_android"}}[t]||{}},getSearchInput:function(e){return"string"==typeof e.options.searchSelector?t(e.options.searchSelector):e.$toolbar.find(".search input")},extend:function(){for(var t=this,e=arguments.length,r=new Array(e),n=0;n1?e-1:0),n=1;n0&&void 0!==arguments[0]?arguments[0]:{};return 0===Object.entries(t).length&&t.constructor===Object},isNumeric:function(t){return!isNaN(parseFloat(t))&&isFinite(t)},getFieldTitle:function(t,e){var r,n=i(t);try{for(n.s();!(r=n.n()).done;){var o=r.value;if(o.field===e)return o.title}}catch(t){n.e(t)}finally{n.f()}return""},setFieldIndex:function(t){var e,r=0,n=[],o=i(t[0]);try{for(o.s();!(e=o.n()).done;){r+=+e.value.colspan||1}}catch(t){o.e(t)}finally{o.f()}for(var a=0;a1){for(var f=0,h=function(t){var e=o.filter((function(e){return e.fieldIndex===t})),r=e[e.length-1];if(e.length>1)for(var n=0;n0}}}catch(t){c.e(t)}finally{c.f()}}}catch(t){a.e(t)}finally{a.f()}if(!(t.length<2)){var p,v=i(e);try{var g=function(){var t=p.value,e=o.filter((function(e){return e.fieldIndex===t.fieldIndex}));if(e.length>1){var r,n=i(e);try{for(n.s();!(r=n.n()).done;){r.value.visible=t.visible}}catch(t){n.e(t)}finally{n.f()}}};for(v.s();!(p=v.n()).done;)g()}catch(t){v.e(t)}finally{v.f()}}},getScrollBarWidth:function(){if(void 0===this.cachedWidth){var e=t("
").addClass("fixed-table-scroll-inner"),r=t("
").addClass("fixed-table-scroll-outer");r.append(e),t("body").append(r);var n=e[0].offsetWidth;r.css("overflow","scroll");var i=e[0].offsetWidth;n===i&&(i=r[0].clientWidth),r.remove(),this.cachedWidth=n-i}return this.cachedWidth},calculateObjectValue:function(t,e,r,n){var o=e;if("string"==typeof e){var a=e.split(".");if(a.length>1){o=window;var s,c=i(a);try{for(c.s();!(s=c.n()).done;){o=o[s.value]}}catch(t){c.e(t)}finally{c.f()}}else o=window[e]}return null!==o&&"object"===f(o)?o:"function"==typeof o?o.apply(t,r||[]):!o&&"string"==typeof e&&r&&this.sprintf.apply(this,[e].concat(l(r)))?this.sprintf.apply(this,[e].concat(l(r))):n},compareObjects:function(t,e,r){var n=Object.keys(t),i=Object.keys(e);if(r&&n.length!==i.length)return!1;for(var o=0,a=n;o/g,">").replace(/"/g,""").replace(/'/g,"'"):t},unescapeHTML:function(t){return"string"==typeof t&&t?t.toString().replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,'"').replace(/'/g,"'"):t},removeHTML:function(t){return t?t.toString().replace(/(<([^>]+)>)/gi,"").replace(/&[#A-Za-z0-9]+;/gi,"").trim():t},getRealDataAttr:function(t){for(var e=0,r=Object.entries(t);e3&&void 0!==arguments[3]?arguments[3]:void 0,o=t;if(void 0!==n&&(r=n),"string"!=typeof e||t.hasOwnProperty(e))return r?this.escapeHTML(t[e]):t[e];var a,s=i(e.split("."));try{for(s.s();!(a=s.n()).done;){var c=a.value;o=o&&o[c]}}catch(t){s.e(t)}finally{s.f()}return r?this.escapeHTML(o):o},isIEBrowser:function(){return navigator.userAgent.includes("MSIE ")||/Trident.*rv:11\./.test(navigator.userAgent)},findIndex:function(t,e){var r,n=i(t);try{for(n.s();!(r=n.n()).done;){var o=r.value;if(JSON.stringify(o)===JSON.stringify(e))return t.indexOf(o)}}catch(t){n.e(t)}finally{n.f()}return-1},trToData:function(e,r){var n=this,i=[],o=[];return r.each((function(r,a){var s=t(a),c={};c._id=s.attr("id"),c._class=s.attr("class"),c._data=n.getRealDataAttr(s.data()),c._style=s.attr("style"),s.find(">td,>th").each((function(i,a){for(var s=t(a),l=+s.attr("colspan")||1,u=+s.attr("rowspan")||1,f=i;o[r]&&o[r][f];f++);for(var h=f;he?r:0;if(n.sortEmptyLast){if(""===t)return 1;if(""===e)return-1}return t===e?0:("string"!=typeof t&&(t=t.toString()),-1===t.localeCompare(e)?-1*r:r)},getEventName:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e=e||"".concat(+new Date).concat(~~(1e6*Math.random())),"".concat(t,"-").concat(e)},hasDetailViewIcon:function(t){return t.detailView&&t.detailViewIcon&&!t.cardView},getDetailViewIndexOffset:function(t){return this.hasDetailViewIcon(t)&&"right"!==t.detailViewAlign?1:0},checkAutoMergeCells:function(t){var e,r=i(t);try{for(r.s();!(e=r.n()).done;)for(var n=e.value,o=0,a=Object.keys(n);o0){var n=e.substring(0,r).trim(),i=e.substring(r+1).trim();t.style.setProperty(n,i)}}));else if(Array.isArray(e)){var r,n=i(e);try{for(n.s();!(r=n.n()).done;){var o=r.value;this.parseStyle(t,o)}}catch(t){n.e(t)}finally{n.f()}}else if("object"===f(e))for(var a=0,s=Object.entries(e);a',icon:'',inputGroup:'
%s%s
',pageDropdown:['"],pageDropdownItem:'
',pagination:['
    ',"
"],paginationItem:'
  • %s
  • ',searchButton:'',searchClearButton:'',searchInput:'',toolbarDropdown:['"],toolbarDropdownItem:'',toolbarDropdownSeparator:'
  • '}},4:{classes:{buttonActive:"active",buttons:"secondary",buttonsDropdown:"btn-group",buttonsGroup:"btn-group",buttonsPrefix:"btn",dropdownActive:"active",dropup:"dropup",input:"form-control",inputGroup:"btn-group",inputPrefix:"form-control-",paginationActive:"active",paginationDropdown:"btn-group dropdown",pull:"float",select:"form-control"},html:{dropdownCaret:'',icon:'',inputGroup:'
    %s
    %s
    ',pageDropdown:['"],pageDropdownItem:'%s',pagination:['
      ',"
    "],paginationItem:'
  • %s
  • ',searchButton:'',searchClearButton:'',searchInput:'',toolbarDropdown:['"],toolbarDropdownItem:'',toolbarDropdownSeparator:''}},5:{classes:{buttonActive:"active",buttons:"secondary",buttonsDropdown:"btn-group",buttonsGroup:"btn-group",buttonsPrefix:"btn",dropdownActive:"active",dropup:"dropup",input:"form-control",inputGroup:"btn-group",inputPrefix:"form-control-",paginationActive:"active",paginationDropdown:"btn-group dropdown",pull:"float",select:"form-select"},html:{dataToggle:"data-bs-toggle",dropdownCaret:'',icon:'',inputGroup:'
    %s%s
    ',pageDropdown:['"],pageDropdownItem:'%s',pagination:['
      ',"
    "],paginationItem:'
  • %s
  • ',searchButton:'',searchClearButton:'',searchInput:'',toolbarDropdown:['"],toolbarDropdownItem:'',toolbarDropdownSeparator:''}}}[Nc],Rc={ajax:void 0,ajaxOptions:{},buttons:{},buttonsAlign:"right",buttonsAttributeTitle:"title",buttonsClass:Cc.classes.buttons,buttonsOrder:["paginationSwitch","refresh","toggle","fullscreen","columns"],buttonsPrefix:Cc.classes.buttonsPrefix,buttonsToolbar:void 0,cache:!0,cardView:!1,checkboxHeader:!0,classes:"table table-bordered table-hover",clickToSelect:!1,columns:[[]],contentType:"application/json",customSearch:void 0,customSort:void 0,data:[],dataField:"rows",dataType:"json",detailFilter:function(t,e){return!0},detailFormatter:function(t,e){return""},detailView:!1,detailViewAlign:"left",detailViewByClick:!1,detailViewIcon:!0,escape:!1,escapeTitle:!0,filterOptions:{filterAlgorithm:"and"},fixedScroll:!1,footerField:"footer",footerStyle:function(t){return{}},headerStyle:function(t){return{}},height:void 0,icons:{},iconSize:void 0,iconsPrefix:void 0,idField:void 0,ignoreClickToSelectOn:function(t){var e=t.tagName;return["A","BUTTON"].includes(e)},loadingFontSize:"auto",loadingTemplate:function(t){return'\n '.concat(t,'\n \n \n ')},locale:void 0,maintainMetaData:!1,method:"get",minimumCountColumns:1,multipleSelectRow:!1,pageList:[10,25,50,100],pageNumber:1,pageSize:10,pagination:!1,paginationDetailHAlign:"left",paginationHAlign:"right",paginationLoadMore:!1,paginationLoop:!0,paginationNextText:"›",paginationPagesBySide:1,paginationParts:["pageInfo","pageSize","pageList"],paginationPreText:"‹",paginationSuccessivelySize:5,paginationUseIntermediate:!1,paginationVAlign:"bottom",queryParams:function(t){return t},queryParamsType:"limit",regexSearch:!1,rememberOrder:!1,responseHandler:function(t){return t},rowAttributes:function(t,e){return{}},rowStyle:function(t,e){return{}},search:!1,searchable:!1,searchAccentNeutralise:!1,searchAlign:"right",searchHighlight:!1,searchOnEnterKey:!1,searchSelector:!1,searchText:"",searchTimeOut:500,selectItemName:"btSelectItem",serverSort:!0,showButtonIcons:!0,showButtonText:!1,showColumns:!1,showColumnsSearch:!1,showColumnsToggleAll:!1,showExtendedPagination:!1,showFooter:!1,showFullscreen:!1,showHeader:!0,showPaginationSwitch:!1,showRefresh:!1,showSearchButton:!1,showSearchClearButton:!1,showToggle:!1,sidePagination:"client",silentSort:!0,singleSelect:!1,smartDisplay:!0,sortable:!0,sortClass:void 0,sortEmptyLast:!1,sortName:void 0,sortOrder:void 0,sortReset:!1,sortResetPage:!1,sortStable:!1,strictSearch:!1,theadClasses:"",toolbar:void 0,toolbarAlign:"left",totalField:"total",totalNotFiltered:0,totalNotFilteredField:"totalNotFiltered",totalRows:0,trimOnSearch:!0,undefinedText:"-",uniqueId:void 0,url:void 0,virtualScroll:!1,virtualScrollItemHeight:void 0,visibleSearch:!1,onAll:function(t,e){return!1},onCheck:function(t){return!1},onCheckAll:function(t){return!1},onCheckSome:function(t){return!1},onClickCell:function(t,e,r,n){return!1},onClickRow:function(t,e){return!1},onCollapseRow:function(t,e){return!1},onColumnSwitch:function(t,e){return!1},onColumnSwitchAll:function(t){return!1},onDblClickCell:function(t,e,r,n){return!1},onDblClickRow:function(t,e){return!1},onExpandRow:function(t,e,r){return!1},onLoadError:function(t){return!1},onLoadSuccess:function(t){return!1},onPageChange:function(t,e){return!1},onPostBody:function(){return!1},onPostFooter:function(){return!1},onPostHeader:function(){return!1},onPreBody:function(t){return!1},onRefresh:function(t){return!1},onRefreshOptions:function(t){return!1},onResetView:function(){return!1},onScrollBody:function(){return!1},onSearch:function(t){return!1},onSort:function(t,e){return!1},onToggle:function(t){return!1},onTogglePagination:function(t){return!1},onUncheck:function(t){return!1},onUncheckAll:function(t){return!1},onUncheckSome:function(t){return!1},onVirtualScroll:function(t,e){return!1}},Pc={formatLoadingMessage:function(){return"Loading, please wait"},formatRecordsPerPage:function(t){return"".concat(t," rows per page")},formatShowingRows:function(t,e,r,n){return void 0!==n&&n>0&&n>r?"Showing ".concat(t," to ").concat(e," of ").concat(r," rows (filtered from ").concat(n," total rows)"):"Showing ".concat(t," to ").concat(e," of ").concat(r," rows")},formatSRPaginationPreText:function(){return"previous page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationNextText:function(){return"next page"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatSearch:function(){return"Search"},formatClearSearch:function(){return"Clear Search"},formatNoMatches:function(){return"No matching records found"},formatPaginationSwitch:function(){return"Hide/Show pagination"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatRefresh:function(){return"Refresh"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"Columns"},formatColumnsToggleAll:function(){return"Toggle all"},formatFullscreen:function(){return"Fullscreen"},formatAllRows:function(){return"All"}},Lc={align:void 0,cardVisible:!0,cellStyle:void 0,checkbox:!1,checkboxEnabled:!0,class:void 0,clickToSelect:!0,colspan:void 0,detailFormatter:void 0,escape:void 0,events:void 0,falign:void 0,field:void 0,footerFormatter:void 0,footerStyle:void 0,formatter:void 0,halign:void 0,order:"asc",radio:!1,rowspan:void 0,searchable:!0,searchFormatter:!0,searchHighlightFormatter:!1,showSelectTitle:!1,sortable:!1,sorter:void 0,sortName:void 0,switchable:!0,switchableLabel:void 0,title:void 0,titleTooltip:void 0,valign:void 0,visible:!0,width:void 0,widthUnit:"px"};Object.assign(Rc,Pc);var Ic={COLUMN_DEFAULTS:Lc,CONSTANTS:Cc,DEFAULTS:Rc,EVENTS:{"all.bs.table":"onAll","check-all.bs.table":"onCheckAll","check-some.bs.table":"onCheckSome","check.bs.table":"onCheck","click-cell.bs.table":"onClickCell","click-row.bs.table":"onClickRow","collapse-row.bs.table":"onCollapseRow","column-switch-all.bs.table":"onColumnSwitchAll","column-switch.bs.table":"onColumnSwitch","dbl-click-cell.bs.table":"onDblClickCell","dbl-click-row.bs.table":"onDblClickRow","expand-row.bs.table":"onExpandRow","load-error.bs.table":"onLoadError","load-success.bs.table":"onLoadSuccess","page-change.bs.table":"onPageChange","post-body.bs.table":"onPostBody","post-footer.bs.table":"onPostFooter","post-header.bs.table":"onPostHeader","pre-body.bs.table":"onPreBody","refresh-options.bs.table":"onRefreshOptions","refresh.bs.table":"onRefresh","reset-view.bs.table":"onResetView","scroll-body.bs.table":"onScrollBody","search.bs.table":"onSearch","sort.bs.table":"onSort","toggle-pagination.bs.table":"onTogglePagination","toggle.bs.table":"onToggle","uncheck-all.bs.table":"onUncheckAll","uncheck-some.bs.table":"onUncheckSome","uncheck.bs.table":"onUncheck","virtual-scroll.bs.table":"onVirtualScroll"},LOCALES:{en:Pc,"en-US":Pc},METHODS:["getOptions","refreshOptions","getData","getFooterData","getSelections","load","append","prepend","remove","removeAll","insertRow","updateRow","getRowByUniqueId","updateByUniqueId","removeByUniqueId","updateCell","updateCellByUniqueId","showRow","hideRow","getHiddenRows","showColumn","hideColumn","getVisibleColumns","getHiddenColumns","showAllColumns","hideAllColumns","mergeCells","checkAll","uncheckAll","checkInvert","check","uncheck","checkBy","uncheckBy","refresh","destroy","resetView","showLoading","hideLoading","togglePagination","toggleFullscreen","toggleView","resetSearch","filterBy","sortBy","sortReset","scrollTo","getScrollPosition","selectPage","prevPage","nextPage","toggleDetailView","expandRow","collapseRow","expandRowByUniqueId","collapseRowByUniqueId","expandAllRows","collapseAllRows","updateColumnTitle","updateFormatText"],THEME:"bootstrap".concat(Nc),VERSION:"1.23.5"},Fc=function(){return n((function t(e){var n=this;r(this,t),this.rows=e.rows,this.scrollEl=e.scrollEl,this.contentEl=e.contentEl,this.callback=e.callback,this.itemHeight=e.itemHeight,this.cache={},this.scrollTop=this.scrollEl.scrollTop,this.initDOM(this.rows,e.fixedScroll),this.scrollEl.scrollTop=this.scrollTop,this.lastCluster=0;var i=function(){n.lastCluster!==(n.lastCluster=n.getNum())&&(n.initDOM(n.rows),n.callback(n.startIndex,n.endIndex))};this.scrollEl.addEventListener("scroll",i,!1),this.destroy=function(){n.contentEl.innerHtml="",n.scrollEl.removeEventListener("scroll",i,!1)}}),[{key:"initDOM",value:function(t,e){void 0===this.clusterHeight?(this.cache.scrollTop=this.scrollEl.scrollTop,this.cache.data=this.contentEl.innerHTML=t[0]+t[0]+t[0],this.getRowsHeight(t)):0===this.blockHeight&&this.getRowsHeight(t);var r=this.initData(t,this.getNum(e)),n=r.rows.join(""),i=this.checkChanges("data",n),o=this.checkChanges("top",r.topOffset),a=this.checkChanges("bottom",r.bottomOffset),s=[];i&&o?(r.topOffset&&s.push(this.getExtra("top",r.topOffset)),s.push(n),r.bottomOffset&&s.push(this.getExtra("bottom",r.bottomOffset)),this.startIndex=r.start,this.endIndex=r.end,this.contentEl.innerHTML=s.join(""),e&&(this.contentEl.scrollTop=this.cache.scrollTop)):a&&(this.contentEl.lastChild.style.height="".concat(r.bottomOffset,"px"))}},{key:"getRowsHeight",value:function(){if(void 0===this.itemHeight||0===this.itemHeight){var t=this.contentEl.children,e=t[Math.floor(t.length/2)];this.itemHeight=e.offsetHeight}this.blockHeight=50*this.itemHeight,this.clusterRows=200,this.clusterHeight=4*this.blockHeight}},{key:"getNum",value:function(t){return this.scrollTop=t?this.cache.scrollTop:this.scrollEl.scrollTop,Math.floor(this.scrollTop/(this.clusterHeight-this.blockHeight))||0}},{key:"initData",value:function(t,e){if(t.length<50)return{topOffset:0,bottomOffset:0,rowsAbove:0,rows:t};var r=Math.max((this.clusterRows-50)*e,0),n=r+this.clusterRows,i=Math.max(r*this.itemHeight,0),o=Math.max((t.length-n)*this.itemHeight,0),a=[],s=r;i<1&&s++;for(var c=r;c
    ':"",r=["bottom","both"].includes(this.options.paginationVAlign)?'
    ':"",n=Oc.calculateObjectValue(this.options,this.options.loadingTemplate,[this.options.formatLoadingMessage()]);this.$container=t('\n
    \n
    \n ').concat(e,'\n
    \n
    \n
    \n
    \n ').concat(n,'\n
    \n
    \n \n
    \n ').concat(r,"\n
    \n ")),this.$container.insertAfter(this.$el),this.$tableContainer=this.$container.find(".fixed-table-container"),this.$tableHeader=this.$container.find(".fixed-table-header"),this.$tableBody=this.$container.find(".fixed-table-body"),this.$tableLoading=this.$container.find(".fixed-table-loading"),this.$tableFooter=this.$el.find("tfoot"),this.options.buttonsToolbar?this.$toolbar=t("body").find(this.options.buttonsToolbar):this.$toolbar=this.$container.find(".fixed-table-toolbar"),this.$pagination=this.$container.find(".fixed-table-pagination"),this.$tableBody.append(this.$el),this.$container.after('
    '),this.$el.addClass(this.options.classes),this.$tableLoading.addClass(this.options.classes),this.options.height&&(this.$tableContainer.addClass("fixed-height"),this.options.showFooter&&this.$tableContainer.addClass("has-footer"),this.options.classes.split(" ").includes("table-bordered")&&(this.$tableBody.append('
    '),this.$tableBorder=this.$tableBody.find(".fixed-table-border"),this.$tableLoading.addClass("fixed-table-border")),this.$tableFooter=this.$container.find(".fixed-table-footer"))}},{key:"initTable",value:function(){var r=this,n=[];if(this.$header=this.$el.find(">thead"),this.$header.length?this.options.theadClasses&&this.$header.addClass(this.options.theadClasses):this.$header=t('')).appendTo(this.$el),this._headerTrClasses=[],this._headerTrStyles=[],this.$header.find("tr").each((function(e,i){var o=t(i),a=[];o.find("th").each((function(e,r){var n=t(r);void 0!==n.data("field")&&n.data("field","".concat(n.data("field")));var i=Object.assign({},n.data());for(var o in i)t.fn.bootstrapTable.columnDefaults.hasOwnProperty(o)&&delete i[o];a.push(Oc.extend({},{_data:Oc.getRealDataAttr(i),title:n.html(),class:n.attr("class"),titleTooltip:n.attr("title"),rowspan:n.attr("rowspan")?+n.attr("rowspan"):void 0,colspan:n.attr("colspan")?+n.attr("colspan"):void 0},n.data()))})),n.push(a),o.attr("class")&&r._headerTrClasses.push(o.attr("class")),o.attr("style")&&r._headerTrStyles.push(o.attr("style"))})),Array.isArray(this.options.columns[0])||(this.options.columns=[this.options.columns]),this.options.columns=Oc.extend(!0,[],n,this.options.columns),this.columns=[],this.fieldsColumnsIndex=[],Oc.setFieldIndex(this.options.columns),this.options.columns.forEach((function(t,n){t.forEach((function(t,i){var o=Oc.extend({},e.COLUMN_DEFAULTS,t,{passed:t});void 0!==o.fieldIndex&&(r.columns[o.fieldIndex]=o,r.fieldsColumnsIndex[o.field]=o.fieldIndex),r.options.columns[n][i]=o}))})),!this.options.data.length){var i=Oc.trToData(this.columns,this.$el.find(">tbody>tr"));i.length&&(this.options.data=i,this.fromHtml=!0)}this.options.pagination&&"server"!==this.options.sidePagination||(this.footerData=Oc.trToData(this.columns,this.$el.find(">tfoot>tr"))),this.footerData&&this.$el.find("tfoot").html(""),!this.options.showFooter||this.options.cardView?this.$tableFooter.hide():this.$tableFooter.show()}},{key:"initHeader",value:function(){var e=this,r={},n=[];this.header={fields:[],styles:[],classes:[],formatters:[],detailFormatters:[],events:[],sorters:[],sortNames:[],cellStyles:[],searchables:[]},Oc.updateFieldGroup(this.options.columns,this.columns),this.options.columns.forEach((function(t,i){var o=[];o.push(""));var a="";if(0===i&&Oc.hasDetailViewIcon(e.options)){var s=e.options.columns.length>1?' rowspan="'.concat(e.options.columns.length,'"'):"";a='\n
    \n ')}a&&"right"!==e.options.detailViewAlign&&o.push(a),t.forEach((function(t,n){var a=Oc.sprintf(' class="%s"',t.class),s=t.widthUnit,l=parseFloat(t.width),u=t.halign?t.halign:t.align,h=Oc.sprintf("text-align: %s; ",u),d=Oc.sprintf("text-align: %s; ",t.align),p=Oc.sprintf("vertical-align: %s; ",t.valign);if(p+=Oc.sprintf("width: %s; ",!t.checkbox&&!t.radio||l?l?l+s:void 0:t.showSelectTitle?void 0:"36px"),void 0!==t.fieldIndex||t.visible){var v=Oc.calculateObjectValue(null,e.options.headerStyle,[t]),g=[],m=[],b="";if(v&&v.css)for(var y=0,w=Object.entries(v.css);y0)for(var T=0,A=Object.entries(t._data);T0?" data-not-first-th":"",m.length>0?m.join(" "):"",">"),o.push(Oc.sprintf('
    ',e.options.sortable&&t.sortable?"sortable".concat("center"===u?" sortable-center":""," both"):""));var N=e.options.escape&&e.options.escapeTitle?Oc.escapeHTML(t.title):t.title,C=N;t.checkbox&&(N="",!e.options.singleSelect&&e.options.checkboxHeader&&(N=''),e.header.stateField=t.field),t.radio&&(N="",e.header.stateField=t.field),!N&&t.showSelectTitle&&(N+=C),o.push(N),o.push("
    "),o.push('
    '),o.push("
    "),o.push("")}})),a&&"right"===e.options.detailViewAlign&&o.push(a),o.push(""),o.length>3&&n.push(o.join(""))})),this.$header.html(n.join("")),this.$header.find("th[data-field]").each((function(e,n){t(n).data(r[t(n).data("field")])})),this.$container.off("click",".th-inner").on("click",".th-inner",(function(r){var n=t(r.currentTarget);if(e.options.detailView&&!n.parent().hasClass("bs-checkbox")&&n.closest(".bootstrap-table")[0]!==e.$container[0])return!1;e.options.sortable&&n.parent().data().sortable&&e.onSort(r)}));var i=Oc.getEventName("resize.bootstrap-table",this.$el.attr("id"));t(window).off(i),!this.options.showHeader||this.options.cardView?(this.$header.hide(),this.$tableHeader.hide(),this.$tableLoading.css("top",0)):(this.$header.show(),this.$tableHeader.show(),this.$tableLoading.css("top",this.$header.outerHeight()+1),this.getCaret(),t(window).on(i,(function(){return e.resetView()}))),this.$selectAll=this.$header.find('[name="btSelectAll"]'),this.$selectAll.off("click").on("click",(function(r){r.stopPropagation();var n=t(r.currentTarget).prop("checked");e[n?"checkAll":"uncheckAll"](),e.updateSelected()}))}},{key:"initData",value:function(t,e){"append"===e?this.options.data=this.options.data.concat(t):"prepend"===e?this.options.data=[].concat(t).concat(this.options.data):(t=t||Oc.deepCopy(this.options.data),this.options.data=Array.isArray(t)?t:t[this.options.dataField]),this.data=l(this.options.data),this.options.sortReset&&(this.unsortedData=l(this.data)),"server"!==this.options.sidePagination&&this.initSort()}},{key:"initSort",value:function(){var t=this,e=this.options.sortName,r="desc"===this.options.sortOrder?-1:1,n=this.header.fields.indexOf(this.options.sortName),i=0;-1!==n?(this.options.sortStable&&this.data.forEach((function(t,e){t.hasOwnProperty("_position")||(t._position=e)})),this.options.customSort?Oc.calculateObjectValue(this.options,this.options.customSort,[this.options.sortName,this.options.sortOrder,this.data]):this.data.sort((function(i,o){t.header.sortNames[n]&&(e=t.header.sortNames[n]);var a=Oc.getItemField(i,e,t.options.escape),s=Oc.getItemField(o,e,t.options.escape),c=Oc.calculateObjectValue(t.header,t.header.sorters[n],[a,s,i,o]);return void 0!==c?t.options.sortStable&&0===c?r*(i._position-o._position):r*c:Oc.sort(a,s,r,t.options,i._position,o._position)})),void 0!==this.options.sortClass&&(clearTimeout(i),i=setTimeout((function(){t.$el.removeClass(t.options.sortClass);var e=t.$header.find('[data-field="'.concat(t.options.sortName,'"]')).index();t.$el.find("tr td:nth-child(".concat(e+1,")")).addClass(t.options.sortClass)}),250))):this.options.sortReset&&(this.data=l(this.unsortedData))}},{key:"sortReset",value:function(){this.options.sortName=void 0,this.options.sortOrder=void 0,this._sort()}},{key:"sortBy",value:function(t){this.options.sortName=t.field,this.options.sortOrder=t.hasOwnProperty("sortOrder")?t.sortOrder:"asc",this._sort()}},{key:"onSort",value:function(e){var r=e.type,n=e.currentTarget,i="keypress"===r?t(n):t(n).parent(),o=this.$header.find("th").eq(i.index());if(this.$header.add(this.$header_).find("span.order").remove(),this.options.sortName===i.data("field")){var a=this.options.sortOrder,s=this.columns[this.fieldsColumnsIndex[i.data("field")]].sortOrder||this.columns[this.fieldsColumnsIndex[i.data("field")]].order;void 0===a?this.options.sortOrder="asc":"asc"===a?this.options.sortOrder=this.options.sortReset?"asc"===s?"desc":void 0:"desc":"desc"===this.options.sortOrder&&(this.options.sortOrder=this.options.sortReset?"desc"===s?"asc":void 0:"asc"),void 0===this.options.sortOrder&&(this.options.sortName=void 0)}else this.options.sortName=i.data("field"),this.options.rememberOrder?this.options.sortOrder="asc"===i.data("order")?"desc":"asc":this.options.sortOrder=this.columns[this.fieldsColumnsIndex[i.data("field")]].sortOrder||this.columns[this.fieldsColumnsIndex[i.data("field")]].order;i.add(o).data("order",this.options.sortOrder),this.getCaret(),this._sort()}},{key:"_sort",value:function(){if("server"===this.options.sidePagination&&this.options.serverSort)return this.options.pageNumber=1,this.trigger("sort",this.options.sortName,this.options.sortOrder),void this.initServer(this.options.silentSort);this.options.pagination&&this.options.sortResetPage&&(this.options.pageNumber=1,this.initPagination()),this.trigger("sort",this.options.sortName,this.options.sortOrder),this.initSort(),this.initBody()}},{key:"initToolbar",value:function(){var e,r=this,n=this.options,o=[],a=0,s=0;this.$toolbar.find(".bs-bars").children().length&&t("body").append(t(n.toolbar)),this.$toolbar.html(""),"string"!=typeof n.toolbar&&"object"!==f(n.toolbar)||t(Oc.sprintf('
    ',this.constants.classes.pull,n.toolbarAlign)).appendTo(this.$toolbar).append(t(n.toolbar)),o=['
    ')],"string"==typeof n.buttonsOrder&&(n.buttonsOrder=n.buttonsOrder.replace(/\[|\]| |'/g,"").split(",")),this.buttons=Object.assign(this.buttons,{paginationSwitch:{text:n.pagination?n.formatPaginationSwitchUp():n.formatPaginationSwitchDown(),icon:n.pagination?n.icons.paginationSwitchDown:n.icons.paginationSwitchUp,render:!1,event:this.togglePagination,attributes:{"aria-label":n.formatPaginationSwitch(),title:n.formatPaginationSwitch()}},refresh:{text:n.formatRefresh(),icon:n.icons.refresh,render:!1,event:this.refresh,attributes:{"aria-label":n.formatRefresh(),title:n.formatRefresh()}},toggle:{text:n.formatToggleOn(),icon:n.icons.toggleOff,render:!1,event:this.toggleView,attributes:{"aria-label":n.formatToggleOn(),title:n.formatToggleOn()}},fullscreen:{text:n.formatFullscreen(),icon:n.icons.fullscreen,render:!1,event:this.toggleFullscreen,attributes:{"aria-label":n.formatFullscreen(),title:n.formatFullscreen()}},columns:{render:!1,html:function(){var t=[];if(t.push('
    \n \n ").concat(r.constants.html.toolbarDropdown[0])),n.showColumnsSearch&&(t.push(Oc.sprintf(r.constants.html.toolbarDropdownItem,Oc.sprintf('',r.constants.classes.input,n.formatSearch()))),t.push(r.constants.html.toolbarDropdownSeparator)),n.showColumnsToggleAll){var e=r.getVisibleColumns().length===r.columns.filter((function(t){return!r.isSelectionColumn(t)})).length;t.push(Oc.sprintf(r.constants.html.toolbarDropdownItem,Oc.sprintf(' %s',e?'checked="checked"':"",n.formatColumnsToggleAll()))),t.push(r.constants.html.toolbarDropdownSeparator)}var i=0;return r.columns.forEach((function(t){t.visible&&i++})),r.columns.forEach((function(e,o){if(!r.isSelectionColumn(e)&&(!n.cardView||e.cardVisible)){var a=e.visible?' checked="checked"':"",c=i<=n.minimumCountColumns&&a?' disabled="disabled"':"";e.switchable&&(t.push(Oc.sprintf(r.constants.html.toolbarDropdownItem,Oc.sprintf(' %s',e.field,o,a,c,e.switchableLabel||e.title))),s++)}})),t.push(r.constants.html.toolbarDropdown[1],"
    "),t.join("")}}});for(var l={},u=0,h=Object.entries(this.buttons);u"}l[p]=g;var T="show".concat(p.charAt(0).toUpperCase()).concat(p.substring(1)),A=n[T];!(!v.hasOwnProperty("render")||v.hasOwnProperty("render")&&v.render)||void 0!==A&&!0!==A||(n[T]=!0),n.buttonsOrder.includes(p)||n.buttonsOrder.push(p)}var E,_=i(n.buttonsOrder);try{for(_.s();!(E=_.n()).done;){var O=E.value;n["show".concat(O.charAt(0).toUpperCase()).concat(O.substring(1))]&&o.push(l[O])}}catch(t){_.e(t)}finally{_.f()}o.push("
    "),(this.showToolbar||o.length>2)&&this.$toolbar.append(o.join(""));for(var N=function(){var t=c(R[C],2),e=t[0],n=t[1];if(n.hasOwnProperty("event")){if("function"==typeof n.event||"string"==typeof n.event){var i="string"==typeof n.event?window[n.event]:n.event;return r.$toolbar.find('button[name="'.concat(e,'"]')).off("click").on("click",(function(){return i.call(r)})),1}for(var o=function(){var t=c(s[a],2),n=t[0],i=t[1],o="string"==typeof i?window[i]:i;r.$toolbar.find('button[name="'.concat(e,'"]')).off(n).on(n,(function(){return o.call(r)}))},a=0,s=Object.entries(n.event);a'),W=B;if(n.showSearchButton||n.showSearchClearButton){var U=(n.showSearchButton?D:"")+(n.showSearchClearButton?M:"");W=n.search?Oc.sprintf(this.constants.html.inputGroup,B,U):U}o.push(Oc.sprintf('\n
    \n %s\n
    \n '),W)),this.$toolbar.append(o.join(""));var H=Oc.getSearchInput(this);n.showSearchButton?(this.$toolbar.find(".search button[name=search]").off("click").on("click",(function(){clearTimeout(a),a=setTimeout((function(){r.onSearch({currentTarget:H})}),n.searchTimeOut)})),n.searchOnEnterKey&&j(H)):j(H),n.showSearchClearButton&&this.$toolbar.find(".search button[name=clearSearch]").click((function(){r.resetSearch()}))}else"string"==typeof n.searchSelector&&j(Oc.getSearchInput(this))}},{key:"onSearch",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.currentTarget,n=e.firedByInitSearchText,i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(void 0!==r&&t(r).length&&i){var o=t(r).val().trim();if(this.options.trimOnSearch&&t(r).val()!==o&&t(r).val(o),this.searchText===o)return;var a=Oc.getSearchInput(this),s=r instanceof jQuery?r:t(r);(s.is(a)||s.hasClass("search-input"))&&(this.searchText=o,this.options.searchText=o)}n||(this.options.pageNumber=1),this.initSearch(),n?"client"===this.options.sidePagination&&this.updatePagination():this.updatePagination(),this.trigger("search",this.searchText)}},{key:"initSearch",value:function(){var e=this;if(this.filterOptions=this.filterOptions||this.options.filterOptions,"server"!==this.options.sidePagination){if(this.options.customSearch)return this.data=Oc.calculateObjectValue(this.options,this.options.customSearch,[this.options.data,this.searchText,this.filterColumns]),this.options.sortReset&&(this.unsortedData=l(this.data)),void this.initSort();var r=this.searchText&&(this.fromHtml?Oc.escapeHTML(this.searchText):this.searchText),n=r?r.toLowerCase():"",i=Oc.isEmptyObject(this.filterColumns)?null:this.filterColumns;this.options.searchAccentNeutralise&&(n=Oc.normalizeAccent(n)),"function"==typeof this.filterOptions.filterAlgorithm?this.data=this.options.data.filter((function(t){return e.filterOptions.filterAlgorithm.apply(null,[t,i])})):"string"==typeof this.filterOptions.filterAlgorithm&&(this.data=i?this.options.data.filter((function(t){var r=e.filterOptions.filterAlgorithm;if("and"===r){for(var n in i)if(Array.isArray(i[n])&&!i[n].includes(t[n])||!Array.isArray(i[n])&&t[n]!==i[n])return!1}else if("or"===r){var o=!1;for(var a in i)(Array.isArray(i[a])&&i[a].includes(t[a])||!Array.isArray(i[a])&&t[a]===i[a])&&(o=!0);return o}return!0})):l(this.options.data));var o=this.getVisibleFields();this.data=n?this.data.filter((function(i,a){for(var s=0;s").html(u).text())),"string"==typeof u||"number"==typeof u){if(e.options.strictSearch&&"".concat(u).toLowerCase()===n||e.options.regexSearch&&Oc.regexCompare(u,r))return!0;var d=/(?:(<=|=>|=<|>=|>|<)(?:\s+)?(-?\d+)?|(-?\d+)?(\s+)?(<=|=>|=<|>=|>|<))/gm.exec(e.searchText),p=!1;if(d){var v=d[1]||"".concat(d[5],"l"),g=d[2]||d[3],m=parseInt(u,10),b=parseInt(g,10);switch(v){case">":case"b;break;case"<":case">l":p=m=l":case"=>l":p=m<=b;break;case">=":case"=>":case"<=l":case"==b}}if(p||"".concat(u).toLowerCase().includes(n))return!0}}return!1})):this.data,this.options.sortReset&&(this.unsortedData=l(this.data)),this.initSort()}}},{key:"initPagination",value:function(){var t=this,e=this.options;if(e.pagination){this.$pagination.show();var r,n,i,o,a,s,c,l=[],u=!1,f=this.getData({includeHiddenRows:!1}),h=e.pageList;if("string"==typeof h&&(h=h.replace(/\[|\]| /g,"").toLowerCase().split(",")),h=h.map((function(t){return"string"==typeof t?t.toLowerCase()===e.formatAllRows().toLowerCase()||["all","unlimited"].includes(t.toLowerCase())?e.formatAllRows():+t:t})),this.paginationParts=e.paginationParts,"string"==typeof this.paginationParts&&(this.paginationParts=this.paginationParts.replace(/\[|\]| |'/g,"").split(",")),"server"!==e.sidePagination&&(e.totalRows=f.length),this.totalPages=0,e.totalRows&&(e.pageSize===e.formatAllRows()&&(e.pageSize=e.totalRows,u=!0),this.totalPages=1+~~((e.totalRows-1)/e.pageSize),e.totalPages=this.totalPages),this.totalPages>0&&e.pageNumber>this.totalPages&&(e.pageNumber=this.totalPages),this.pageFrom=(e.pageNumber-1)*e.pageSize+1,this.pageTo=e.pageNumber*e.pageSize,this.pageTo>e.totalRows&&(this.pageTo=e.totalRows),this.options.pagination&&"server"!==this.options.sidePagination&&(this.options.totalNotFiltered=this.options.data.length),this.options.showExtendedPagination||(this.options.totalNotFiltered=void 0),(this.paginationParts.includes("pageInfo")||this.paginationParts.includes("pageInfoShort")||this.paginationParts.includes("pageSize"))&&l.push('
    ')),this.paginationParts.includes("pageInfo")||this.paginationParts.includes("pageInfoShort")){var d=this.options.totalRows+("client"===this.options.sidePagination&&this.options.paginationLoadMore&&!this._paginationLoaded?" +":""),p=this.paginationParts.includes("pageInfoShort")?e.formatDetailPagination(d):e.formatShowingRows(this.pageFrom,this.pageTo,d,e.totalNotFiltered);l.push('\n '.concat(p,"\n "))}if(this.paginationParts.includes("pageSize")){l.push('
    ');var v=['
    \n \n ").concat(this.constants.html.pageDropdown[0])];h.forEach((function(r,n){var i;(!e.smartDisplay||0===n||h[n-1]")),l.push(e.formatRecordsPerPage(v.join("")))}if((this.paginationParts.includes("pageInfo")||this.paginationParts.includes("pageInfoShort")||this.paginationParts.includes("pageSize"))&&l.push("
    "),this.paginationParts.includes("pageList")){l.push('
    '),Oc.sprintf(this.constants.html.pagination[0],Oc.sprintf(" pagination-%s",e.iconSize)),Oc.sprintf(this.constants.html.paginationItem," page-pre",e.formatSRPaginationPreText(),e.paginationPreText)),this.totalPagesthis.totalPages-n&&(n=n-(e.paginationSuccessivelySize-(this.totalPages-n))+1),n<1&&(n=1),i>this.totalPages&&(i=this.totalPages);var g=Math.round(e.paginationPagesBySide/2),m=function(r){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return Oc.sprintf(t.constants.html.paginationItem,n+(r===e.pageNumber?" ".concat(t.constants.classes.paginationActive):""),e.formatSRPaginationPageText(r),r)};if(n>1){var b=e.paginationPagesBySide;for(b>=n&&(b=n-1),r=1;r<=b;r++)l.push(m(r));n-1===b+1?(r=n-1,l.push(m(r))):n-1>b&&(n-2*e.paginationPagesBySide>e.paginationPagesBySide&&e.paginationUseIntermediate?(r=Math.round((n-g)/2+g),l.push(m(r," page-intermediate"))):l.push(Oc.sprintf(this.constants.html.paginationItem," page-first-separator disabled","","...")))}for(r=n;r<=i;r++)l.push(m(r));if(this.totalPages>i){var y=this.totalPages-(e.paginationPagesBySide-1);for(i>=y&&(y=i+1),i+1===y-1?(r=i+1,l.push(m(r))):y>i+1&&(this.totalPages-i>2*e.paginationPagesBySide&&e.paginationUseIntermediate?(r=Math.round((this.totalPages-g-i)/2+i),l.push(m(r," page-intermediate"))):l.push(Oc.sprintf(this.constants.html.paginationItem," page-last-separator disabled","","..."))),r=y;r<=this.totalPages;r++)l.push(m(r))}l.push(Oc.sprintf(this.constants.html.paginationItem," page-next",e.formatSRPaginationNextText(),e.paginationNextText)),l.push(this.constants.html.pagination[1],"
    ")}this.$pagination.html(l.join(""));var w=["bottom","both"].includes(e.paginationVAlign)?" ".concat(this.constants.classes.dropup):"";this.$pagination.last().find(".page-list > div").addClass(w),e.onlyInfoPagination||(o=this.$pagination.find(".page-list a"),a=this.$pagination.find(".page-pre"),s=this.$pagination.find(".page-next"),c=this.$pagination.find(".page-item").not(".page-next, .page-pre, .page-last-separator, .page-first-separator"),this.totalPages<=1&&this.$pagination.find("div.pagination").hide(),e.smartDisplay&&(h.length<2||e.totalRows<=h[0])&&this.$pagination.find("div.page-list").hide(),this.$pagination[this.getData().length?"show":"hide"](),e.paginationLoop||(1===e.pageNumber&&a.addClass("disabled"),e.pageNumber===this.totalPages&&s.addClass("disabled")),u&&(e.pageSize=e.formatAllRows()),o.off("click").on("click",(function(e){return t.onPageListChange(e)})),a.off("click").on("click",(function(e){return t.onPagePre(e)})),s.off("click").on("click",(function(e){return t.onPageNext(e)})),c.off("click").on("click",(function(e){return t.onPageNumber(e)})))}else this.$pagination.hide()}},{key:"updatePagination",value:function(e){e&&t(e.currentTarget).hasClass("disabled")||(this.options.maintainMetaData||this.resetRows(),this.initPagination(),this.trigger("page-change",this.options.pageNumber,this.options.pageSize),"server"===this.options.sidePagination||"client"===this.options.sidePagination&&this.options.paginationLoadMore&&!this._paginationLoaded&&this.options.pageNumber===this.totalPages?this.initServer():this.initBody())}},{key:"onPageListChange",value:function(e){e.preventDefault();var r=t(e.currentTarget);return r.parent().addClass(this.constants.classes.dropdownActive).siblings().removeClass(this.constants.classes.dropdownActive),this.options.pageSize=r.text().toUpperCase()===this.options.formatAllRows().toUpperCase()?this.options.formatAllRows():+r.text(),this.$toolbar.find(".page-size").text(this.options.pageSize),this.updatePagination(e),!1}},{key:"onPagePre",value:function(e){if(!t(e.target).hasClass("disabled"))return e.preventDefault(),this.options.pageNumber-1==0?this.options.pageNumber=this.options.totalPages:this.options.pageNumber--,this.updatePagination(e),!1}},{key:"onPageNext",value:function(e){if(!t(e.target).hasClass("disabled"))return e.preventDefault(),this.options.pageNumber+1>this.options.totalPages?this.options.pageNumber=1:this.options.pageNumber++,this.updatePagination(e),!1}},{key:"onPageNumber",value:function(e){if(e.preventDefault(),this.options.pageNumber!==+t(e.currentTarget).text())return this.options.pageNumber=+t(e.currentTarget).text(),this.updatePagination(e),!1}},{key:"initRow",value:function(e,r,n,i){var o=this;if(!(Oc.findIndex(this.hiddenRows,e)>-1)){var a=Oc.calculateObjectValue(this.options,this.options.rowStyle,[e,r],{}),u=Oc.calculateObjectValue(this.options,this.options.rowAttributes,[e,r],{}),h={};if(e._data&&!Oc.isEmptyObject(e._data))for(var d=0,p=Object.entries(e._data);dtbody"),this.$body.length||(this.$body=t("").appendTo(this.$el)),this.options.pagination&&"server"!==this.options.sidePagination||(this.pageFrom=1,this.pageTo=i.length);var o=[],a=t(document.createDocumentFragment()),s=!1,c=[];this.autoMergeCells=Oc.checkAutoMergeCells(i.slice(this.pageFrom-1,this.pageTo));for(var l=this.pageFrom-1;l tr[data-uniqueid="%s"][data-has-detail-view]',p)).next();v.is("tr.detail-view")&&(c.push(l),r&&p===r||d.push(v[0]))}this.options.virtualScroll?o.push(t("
    ").html(d).html()):a.append(d)}}this.$el.removeAttr("role"),s?this.options.virtualScroll?(this.virtualScroll&&this.virtualScroll.destroy(),this.virtualScroll=new Fc({rows:o,fixedScroll:e,scrollEl:this.$tableBody[0],contentEl:this.$body[0],itemHeight:this.options.virtualScrollItemHeight,callback:function(t,e){n.fitHeader(),n.initBodyEvent(),n.trigger("virtual-scroll",t,e)}})):this.$body.html(a):(this.$body.html(''.concat(Oc.sprintf('%s',this.getVisibleFields().length+Oc.getDetailViewIndexOffset(this.options),this.options.formatNoMatches()),"")),this.$el.attr("role","presentation")),c.forEach((function(t){n.expandRow(t)})),e||this.scrollTo(0),this.initBodyEvent(),this.initFooter(),this.resetView(),this.updateSelected(),"server"!==this.options.sidePagination&&(this.options.totalRows=i.length),this.trigger("post-body",i)}},{key:"initBodyEvent",value:function(){var e=this;this.$body.find("> tr[data-index] > td").off("click dblclick").on("click dblclick",(function(r){var n=t(r.currentTarget);if(!(n.find(".detail-icon").length||n.index()-Oc.getDetailViewIndexOffset(e.options)<0)){var i=n.parent(),o=t(r.target).parents(".card-views").children(),a=t(r.target).parents(".card-view"),s=i.data("index"),c=e.data[s],l=e.options.cardView?o.index(a):n[0].cellIndex,u=e.getVisibleFields()[l-Oc.getDetailViewIndexOffset(e.options)],f=e.columns[e.fieldsColumnsIndex[u]],h=Oc.getItemField(c,u,e.options.escape,f.escape);if(e.trigger("click"===r.type?"click-cell":"dbl-click-cell",u,h,c,n),e.trigger("click"===r.type?"click-row":"dbl-click-row",c,i,u),"click"===r.type&&e.options.clickToSelect&&f.clickToSelect&&!Oc.calculateObjectValue(e.options,e.options.ignoreClickToSelectOn,[r.target])){var d=i.find(Oc.sprintf('[name="%s"]',e.options.selectItemName));d.length&&d[0].click()}"click"===r.type&&e.options.detailViewByClick&&e.toggleDetailView(s,e.header.detailFormatters[e.fieldsColumnsIndex[u]])}})).off("mousedown").on("mousedown",(function(t){e.multipleSelectRowCtrlKey=t.ctrlKey||t.metaKey,e.multipleSelectRowShiftKey=t.shiftKey})),this.$body.find("> tr[data-index] > td > .detail-icon").off("click").on("click",(function(r){return r.preventDefault(),e.toggleDetailView(t(r.currentTarget).parent().parent().data("index")),!1})),this.$selectItem=this.$body.find(Oc.sprintf('[name="%s"]',this.options.selectItemName)),this.$selectItem.off("click").on("click",(function(r){r.stopImmediatePropagation();var n=t(r.currentTarget);e._toggleCheck(n.prop("checked"),n.data("index"))})),this.header.events.forEach((function(r,n){var i=r;if(i){if("string"==typeof i&&(i=Oc.calculateObjectValue(null,i)),!i)throw new Error("Unknown event in the scope: ".concat(r));var o=e.header.fields[n],a=e.getVisibleFields().indexOf(o);if(-1!==a){a+=Oc.getDetailViewIndexOffset(e.options);var s=function(r){if(!i.hasOwnProperty(r))return 1;var n=i[r];e.$body.find(">tr:not(.no-records-found)").each((function(i,s){var c=t(s),l=c.find(e.options.cardView?".card-views>.card-view":">td").eq(a),u=r.indexOf(" "),f=r.substring(0,u),h=r.substring(u+1);l.find(h).off(f).on(f,(function(t){var r=c.data("index"),i=e.data[r],a=i[o];n.apply(e,[t,a,i,r])}))}))};for(var c in i)s(c)}}}))}},{key:"initServer",value:function(e,r){var n=this,o={},a=this.header.fields.indexOf(this.options.sortName),s={searchText:this.searchText,sortName:this.options.sortName,sortOrder:this.options.sortOrder};if(this.header.sortNames[a]&&(s.sortName=this.header.sortNames[a]),this.options.pagination&&"server"===this.options.sidePagination&&(s.pageSize=this.options.pageSize===this.options.formatAllRows()?this.options.totalRows:this.options.pageSize,s.pageNumber=this.options.pageNumber),this.options.url||this.options.ajax){if("limit"===this.options.queryParamsType&&(s={search:s.searchText,sort:s.sortName,order:s.sortOrder},this.options.pagination&&"server"===this.options.sidePagination&&(s.offset=this.options.pageSize===this.options.formatAllRows()?0:this.options.pageSize*(this.options.pageNumber-1),s.limit=this.options.pageSize,0!==s.limit&&this.options.pageSize!==this.options.formatAllRows()||delete s.limit)),this.options.search&&"server"===this.options.sidePagination&&this.options.searchable&&this.columns.filter((function(t){return t.searchable})).length){s.searchable=[];var c,l=i(this.columns);try{for(l.s();!(c=l.n()).done;){var u=c.value;!u.checkbox&&u.searchable&&(this.options.visibleSearch&&u.visible||!this.options.visibleSearch)&&s.searchable.push(u.field)}}catch(t){l.e(t)}finally{l.f()}}if(Oc.isEmptyObject(this.filterColumnsPartial)||(s.filter=JSON.stringify(this.filterColumnsPartial,null)),Oc.extend(s,r||{}),!1!==(o=Oc.calculateObjectValue(this.options,this.options.queryParams,[s],o))){e||this.showLoading();var f=Oc.extend({},Oc.calculateObjectValue(null,this.options.ajaxOptions),{type:this.options.method,url:this.options.url,data:"application/json"===this.options.contentType&&"post"===this.options.method?JSON.stringify(o):o,cache:this.options.cache,contentType:this.options.contentType,dataType:this.options.dataType,success:function(t,r,i){var o=Oc.calculateObjectValue(n.options,n.options.responseHandler,[t,i],t);"client"===n.options.sidePagination&&n.options.paginationLoadMore&&(n._paginationLoaded=n.data.length===o.length),n.load(o),n.trigger("load-success",o,i&&i.status,i),e||n.hideLoading(),"server"===n.options.sidePagination&&n.options.pageNumber>1&&o[n.options.totalField]>0&&!o[n.options.dataField].length&&n.updatePagination()},error:function(t){if(t&&0===t.status&&n._xhrAbort)n._xhrAbort=!1;else{var r=[];"server"===n.options.sidePagination&&((r={})[n.options.totalField]=0,r[n.options.dataField]=[]),n.load(r),n.trigger("load-error",t&&t.status,t),e||n.hideLoading()}}});return this.options.ajax?Oc.calculateObjectValue(this,this.options.ajax,[f],null):(this._xhr&&4!==this._xhr.readyState&&(this._xhrAbort=!0,this._xhr.abort()),this._xhr=t.ajax(f)),o}}}},{key:"initSearchText",value:function(){if(this.options.search&&(this.searchText="",""!==this.options.searchText)){var t=Oc.getSearchInput(this);t.val(this.options.searchText),this.onSearch({currentTarget:t,firedByInitSearchText:!0})}}},{key:"getCaret",value:function(){var e=this;this.$header.find("th").each((function(r,n){t(n).find(".sortable").removeClass("desc asc").addClass(t(n).data("field")===e.options.sortName?e.options.sortOrder:"both")}))}},{key:"updateSelected",value:function(){var e=this.$selectItem.filter(":enabled").length&&this.$selectItem.filter(":enabled").length===this.$selectItem.filter(":enabled").filter(":checked").length;this.$selectAll.add(this.$selectAll_).prop("checked",e),this.$selectItem.each((function(e,r){t(r).closest("tr")[t(r).prop("checked")?"addClass":"removeClass"]("selected")}))}},{key:"updateRows",value:function(){var e=this;this.$selectItem.each((function(r,n){e.data[t(n).data("index")][e.header.stateField]=t(n).prop("checked")}))}},{key:"resetRows",value:function(){var t,e=i(this.data);try{for(e.s();!(t=e.n()).done;){var r=t.value;this.$selectAll.prop("checked",!1),this.$selectItem.prop("checked",!1),this.header.stateField&&(r[this.header.stateField]=!1)}}catch(t){e.e(t)}finally{e.f()}this.initHiddenRows()}},{key:"trigger",value:function(r){for(var n,i,o="".concat(r,".bs.table"),a=arguments.length,s=new Array(a>1?a-1:0),c=1;cr.clientHeight+this.$header.outerHeight()?Oc.getScrollBarWidth():0;this.$el.css("margin-top",-this.$header.outerHeight());var i=this.$tableHeader.find(":focus");if(i.length>0){var o=i.parents("th");if(o.length>0){var a=o.attr("data-field");if(void 0!==a){var s=this.$header.find("[data-field='".concat(a,"']"));s.length>0&&s.find(":input").addClass("focus-temp")}}}this.$header_=this.$header.clone(!0,!0),this.$selectAll_=this.$header_.find('[name="btSelectAll"]'),this.$tableHeader.css("margin-right",n).find("table").css("width",this.$el.outerWidth()).html("").attr("class",this.$el.attr("class")).append(this.$header_),this.$tableLoading.css("width",this.$el.outerWidth());var c=t(".focus-temp:visible:eq(0)");c.length>0&&(c.focus(),this.$header.find(".focus-temp").removeClass("focus-temp")),this.$header.find("th[data-field]").each((function(r,n){e.$header_.find(Oc.sprintf('th[data-field="%s"]',t(n).data("field"))).data(t(n).data())}));for(var l=this.getVisibleFields(),u=this.$header_.find("th"),f=this.$body.find(">tr:not(.no-records-found,.virtual-scroll-top)").eq(0);f.length&&f.find('>td[colspan]:not([colspan="1"])').length;)f=f.next();var h=f.find("> *").length;f.find("> *").each((function(r,n){var i=t(n);if(Oc.hasDetailViewIcon(e.options)&&(0===r&&"right"!==e.options.detailViewAlign||r===h-1&&"right"===e.options.detailViewAlign)){var o=u.filter(".detail"),a=o.innerWidth()-o.find(".fht-cell").width();o.find(".fht-cell").width(i.innerWidth()-a)}else{var s=r-Oc.getDetailViewIndexOffset(e.options),c=e.$header_.find(Oc.sprintf('th[data-field="%s"]',l[s]));c.length>1&&(c=t(u[i[0].cellIndex]));var f=c.innerWidth()-c.find(".fht-cell").width();c.find(".fht-cell").width(i.innerWidth()-f)}})),this.horizontalScroll(),this.trigger("post-header")}}},{key:"initFooter",value:function(){if(this.options.showFooter&&!this.options.cardView){var t=this.getData(),e=[],r="";Oc.hasDetailViewIcon(this.options)&&(r=Oc.h("th",{class:"detail"},[Oc.h("div",{class:"th-inner"}),Oc.h("div",{class:"fht-cell"})])),r&&"right"!==this.options.detailViewAlign&&e.push(r);var n,o=i(this.columns);try{for(o.s();!(n=o.n()).done;){var a=n.value,c=this.footerData&&this.footerData.length>0;if(a.visible&&(!c||a.field in this.footerData[0])){if(this.options.cardView&&!a.cardVisible)return;var u=Oc.calculateObjectValue(null,a.footerStyle||this.options.footerStyle,[a]),f=u&&u.css||{},h=c&&this.footerData[0]["_".concat(a.field,"_colspan")]||0,d=c&&this.footerData[0][a.field]||"";d=Oc.calculateObjectValue(a,a.footerFormatter,[t,d],d),e.push(Oc.h("th",{class:[a.class,u&&u.classes],style:s({"text-align":a.falign?a.falign:a.align,"vertical-align":a.valign},f),colspan:h||void 0},[Oc.h("div",{class:"th-inner"},l(Oc.htmlToNodes(d))),Oc.h("div",{class:"fht-cell"})]))}}}catch(t){o.e(t)}finally{o.f()}r&&"right"===this.options.detailViewAlign&&e.push(r),this.options.height||this.$tableFooter.length||(this.$el.append(""),this.$tableFooter=this.$el.find("tfoot")),this.$tableFooter.find("tr").length||this.$tableFooter.html("
    "),this.$tableFooter.find("tr").html(e),this.trigger("post-footer",this.$tableFooter)}}},{key:"fitFooter",value:function(){var e=this;if(this.$el.is(":hidden"))setTimeout((function(){return e.fitFooter()}),100);else{var r=this.$tableBody.get(0),n=this.hasScrollBar&&r.scrollHeight>r.clientHeight+this.$header.outerHeight()?Oc.getScrollBarWidth():0;this.$tableFooter.css("margin-right",n).find("table").css("width",this.$el.outerWidth()).attr("class",this.$el.attr("class"));var i=this.$tableFooter.find("th"),o=this.$body.find(">tr:first-child:not(.no-records-found)");for(i.find(".fht-cell").width("auto");o.length&&o.find('>td[colspan]:not([colspan="1"])').length;)o=o.next();var a=o.find("> *").length;o.find("> *").each((function(r,n){var o=t(n);if(Oc.hasDetailViewIcon(e.options)&&(0===r&&"left"===e.options.detailViewAlign||r===a-1&&"right"===e.options.detailViewAlign)){var s=i.filter(".detail"),c=s.innerWidth()-s.find(".fht-cell").width();s.find(".fht-cell").width(o.innerWidth()-c)}else{var l=i.eq(r),u=l.innerWidth()-l.find(".fht-cell").width();l.find(".fht-cell").width(o.innerWidth()-u)}})),this.horizontalScroll()}}},{key:"horizontalScroll",value:function(){var t=this;this.$tableBody.off("scroll").on("scroll",(function(){var e=t.$tableBody.scrollLeft();t.options.showHeader&&t.options.height&&t.$tableHeader.scrollLeft(e),t.options.showFooter&&!t.options.cardView&&t.$tableFooter.scrollLeft(e),t.trigger("scroll-body",t.$tableBody)}))}},{key:"getVisibleFields",value:function(){var t,e=[],r=i(this.header.fields);try{for(r.s();!(t=r.n()).done;){var n=t.value,o=this.columns[this.fieldsColumnsIndex[n]];o&&o.visible&&(!this.options.cardView||o.cardVisible)&&e.push(n)}}catch(t){r.e(t)}finally{r.f()}return e}},{key:"initHiddenRows",value:function(){this.hiddenRows=[]}},{key:"getOptions",value:function(){var t=Oc.extend({},this.options);return delete t.data,Oc.extend(!0,{},t)}},{key:"refreshOptions",value:function(t){Oc.compareObjects(this.options,t,!0)||(this.options=Oc.extend(this.options,t),this.trigger("refresh-options",this.options),this.destroy(),this.init())}},{key:"getData",value:function(t){var e=this,r=this.options.data;if(!(this.searchText||this.options.customSearch||void 0!==this.options.sortName||this.enableCustomSort)&&Oc.isEmptyObject(this.filterColumns)&&"function"!=typeof this.options.filterOptions.filterAlgorithm&&Oc.isEmptyObject(this.filterColumnsPartial)||t&&t.unfiltered||(r=this.data),t&&!t.includeHiddenRows){var n=this.getHiddenRows();r=r.filter((function(t){return-1===Oc.findIndex(n,t)}))}return t&&t.useCurrentPage&&(r=r.slice(this.pageFrom-1,this.pageTo)),t&&t.formatted?r.map((function(t){for(var r={},n=0,i=Object.entries(t);n=0;r--){var n=this.options.data[r],i=Oc.getItemField(n,t.field,this.options.escape,n.escape);void 0===i&&"$index"!==t.field||(!n.hasOwnProperty(t.field)&&"$index"===t.field&&t.values.includes(r)||t.values.includes(i))&&(e++,this.options.data.splice(r,1))}e&&("server"===this.options.sidePagination&&(this.options.totalRows-=e,this.data=l(this.options.data)),this.initSearch(),this.initPagination(),this.initSort(),this.initBody(!0))}},{key:"removeAll",value:function(){this.options.data.length>0&&(this.data.splice(0,this.data.length),this.options.data.splice(0,this.options.data.length),this.initSearch(),this.initPagination(),this.initBody(!0))}},{key:"insertRow",value:function(t){if(t.hasOwnProperty("index")&&t.hasOwnProperty("row")){var e=this.data[t.index],r=this.options.data.indexOf(e);this.data.splice(t.index,0,t.row),this.options.data.splice(r,0,t.row),this.initSearch(),this.initPagination(),this.initSort(),this.initBody(!0)}}},{key:"updateRow",value:function(t){var e,r=i(Array.isArray(t)?t:[t]);try{for(r.s();!(e=r.n()).done;){var n=e.value;if(n.hasOwnProperty("index")&&n.hasOwnProperty("row")){var o=this.data[n.index],a=this.options.data.indexOf(o);n.hasOwnProperty("replace")&&n.replace?(this.data[n.index]=n.row,this.options.data[a]=n.row):(Oc.extend(this.data[n.index],n.row),Oc.extend(this.options.data[a],n.row))}}}catch(t){r.e(t)}finally{r.f()}this.initSearch(),this.initPagination(),this.initSort(),this.initBody(!0)}},{key:"getRowByUniqueId",value:function(t){var e,r,n=this.options.uniqueId,i=t,o=null;for(e=this.options.data.length-1;e>=0;e--){r=this.options.data[e];var a=Oc.getItemField(r,n,this.options.escape,r.escape);if(void 0!==a&&("string"==typeof a?i=t.toString():"number"==typeof a&&(Number(a)===a&&a%1==0?i=parseInt(t,10):a===Number(a)&&0!==a&&(i=parseFloat(t))),a===i)){o=r;break}}return o}},{key:"updateByUniqueId",value:function(t){var e,r=null,n=i(Array.isArray(t)?t:[t]);try{for(n.s();!(e=n.n()).done;){var o=e.value;if(o.hasOwnProperty("id")&&o.hasOwnProperty("row")){var a=this.options.data.indexOf(this.getRowByUniqueId(o.id));-1!==a&&(o.hasOwnProperty("replace")&&o.replace?this.options.data[a]=o.row:Oc.extend(this.options.data[a],o.row),r=o.id)}}}catch(t){n.e(t)}finally{n.f()}this.initSearch(),this.initPagination(),this.initSort(),this.initBody(!0,r)}},{key:"removeByUniqueId",value:function(t){var e=this.options.data.length,r=this.getRowByUniqueId(t);r&&this.options.data.splice(this.options.data.indexOf(r),1),e!==this.options.data.length&&("server"===this.options.sidePagination&&(this.options.totalRows-=1,this.data=l(this.options.data)),this.initSearch(),this.initPagination(),this.initBody(!0))}},{key:"_updateCellOnly",value:function(e,r){var n=this.initRow(this.data[r],r),i=this.getVisibleFields().indexOf(e);-1!==i&&(i+=Oc.getDetailViewIndexOffset(this.options),this.$body.find(">tr[data-index=".concat(r,"]")).find(">td:eq(".concat(i,")")).replaceWith(t(n).find(">td:eq(".concat(i,")"))),this.initBodyEvent(),this.initFooter(),this.resetView(),this.updateSelected())}},{key:"updateCell",value:function(t){if(t.hasOwnProperty("index")&&t.hasOwnProperty("field")&&t.hasOwnProperty("value")){var e=this.data[t.index],r=this.options.data.indexOf(e);this.data[t.index][t.field]=t.value,this.options.data[r][t.field]=t.value,!1!==t.reinit?(this.initSort(),this.initBody(!0)):this._updateCellOnly(t.field,t.index)}}},{key:"updateCellByUniqueId",value:function(t){var e=this;(Array.isArray(t)?t:[t]).forEach((function(t){var r=t.id,n=t.field,i=t.value,o=e.options.data.indexOf(e.getRowByUniqueId(r));-1!==o&&(e.options.data[o][n]=i)})),!1!==t.reinit?(this.initSort(),this.initBody(!0)):this._updateCellOnly(t.field,this.options.data.indexOf(this.getRowByUniqueId(t.id)))}},{key:"showRow",value:function(t){this._toggleRow(t,!0)}},{key:"hideRow",value:function(t){this._toggleRow(t,!1)}},{key:"_toggleRow",value:function(t,e){var r;if(t.hasOwnProperty("index")?r=this.getData()[t.index]:t.hasOwnProperty("uniqueId")&&(r=this.getRowByUniqueId(t.uniqueId)),r){var n=Oc.findIndex(this.hiddenRows,r);e||-1!==n?e&&n>-1&&this.hiddenRows.splice(n,1):this.hiddenRows.push(r),this.initBody(!0),this.initPagination()}}},{key:"getHiddenRows",value:function(t){if(t)return this.initHiddenRows(),this.initBody(!0),void this.initPagination();var e,r=[],n=i(this.getData());try{for(n.s();!(e=n.n()).done;){var o=e.value;this.hiddenRows.includes(o)&&r.push(o)}}catch(t){n.e(t)}finally{n.f()}return this.hiddenRows=r,r}},{key:"showColumn",value:function(t){var e=this;(Array.isArray(t)?t:[t]).forEach((function(t){e._toggleColumn(e.fieldsColumnsIndex[t],!0,!0)}))}},{key:"hideColumn",value:function(t){var e=this;(Array.isArray(t)?t:[t]).forEach((function(t){e._toggleColumn(e.fieldsColumnsIndex[t],!1,!0)}))}},{key:"_toggleColumn",value:function(t,e,r){if(void 0!==t&&this.columns[t].visible!==e&&(this.columns[t].visible=e,this.initHeader(),this.initSearch(),this.initPagination(),this.initBody(),this.options.showColumns)){var n=this.$toolbar.find('.keep-open input:not(".toggle-all")').prop("disabled",!1);r&&n.filter(Oc.sprintf('[value="%s"]',t)).prop("checked",e),n.filter(":checked").length<=this.options.minimumCountColumns&&n.filter(":checked").prop("disabled",!0)}}},{key:"getVisibleColumns",value:function(){var t=this;return this.columns.filter((function(e){return e.visible&&!t.isSelectionColumn(e)}))}},{key:"getHiddenColumns",value:function(){return this.columns.filter((function(t){return!t.visible}))}},{key:"isSelectionColumn",value:function(t){return t.radio||t.checkbox}},{key:"showAllColumns",value:function(){this._toggleAllColumns(!0)}},{key:"hideAllColumns",value:function(){this._toggleAllColumns(!1)}},{key:"_toggleAllColumns",value:function(e){var r,n=this,o=i(this.columns.slice().reverse());try{for(o.s();!(r=o.n()).done;){var a=r.value;if(a.switchable){if(!e&&this.options.showColumns&&this.getVisibleColumns().filter((function(t){return t.switchable})).length===this.options.minimumCountColumns)continue;a.visible=e}}}catch(t){o.e(t)}finally{o.f()}if(this.initHeader(),this.initSearch(),this.initPagination(),this.initBody(),this.options.showColumns){var s=this.$toolbar.find('.keep-open input[type="checkbox"]:not(".toggle-all")').prop("disabled",!1);e?s.prop("checked",e):s.get().reverse().forEach((function(r){s.filter(":checked").length>n.options.minimumCountColumns&&t(r).prop("checked",e)})),s.filter(":checked").length<=this.options.minimumCountColumns&&s.filter(":checked").prop("disabled",!0)}}},{key:"mergeCells",value:function(t){var e,r,n=t.index,i=this.getVisibleFields().indexOf(t.field),o=+t.rowspan||1,a=+t.colspan||1,s=this.$body.find(">tr[data-index]");i+=Oc.getDetailViewIndexOffset(this.options);var c=s.eq(n).find(">td").eq(i);if(!(n<0||i<0||n>=this.data.length)){for(e=n;etd").eq(r).hide();c.attr("rowspan",o).attr("colspan",a).show()}}},{key:"checkAll",value:function(){this._toggleCheckAll(!0)}},{key:"uncheckAll",value:function(){this._toggleCheckAll(!1)}},{key:"_toggleCheckAll",value:function(t){var e=this.getSelections();this.$selectAll.add(this.$selectAll_).prop("checked",t),this.$selectItem.filter(":enabled").prop("checked",t),this.updateRows(),this.updateSelected();var r=this.getSelections();t?this.trigger("check-all",r,e):this.trigger("uncheck-all",r,e)}},{key:"checkInvert",value:function(){var e=this.$selectItem.filter(":enabled"),r=e.filter(":checked");e.each((function(e,r){t(r).prop("checked",!t(r).prop("checked"))})),this.updateRows(),this.updateSelected(),this.trigger("uncheck-some",r),r=this.getSelections(),this.trigger("check-some",r)}},{key:"check",value:function(t){this._toggleCheck(!0,t)}},{key:"uncheck",value:function(t){this._toggleCheck(!1,t)}},{key:"_toggleCheck",value:function(t,e){var r=this.$selectItem.filter('[data-index="'.concat(e,'"]')),n=this.data[e];if(r.is(":radio")||this.options.singleSelect||this.options.multipleSelectRow&&!this.multipleSelectRowCtrlKey&&!this.multipleSelectRowShiftKey){var o,a=i(this.options.data);try{for(a.s();!(o=a.n()).done;){o.value[this.header.stateField]=!1}}catch(t){a.e(t)}finally{a.f()}this.$selectItem.filter(":checked").not(r).prop("checked",!1)}if(n[this.header.stateField]=t,this.options.multipleSelectRow){if(this.multipleSelectRowShiftKey&&this.multipleSelectRowLastSelectedIndex>=0)for(var s=c(this.multipleSelectRowLastSelectedIndexr.clientWidth}if(!this.options.cardView&&this.options.showHeader&&this.options.height?(this.$tableHeader.show(),this.resetHeader(),e+=this.$header.outerHeight(!0)+1):(this.$tableHeader.hide(),this.trigger("post-header")),!this.options.cardView&&this.options.showFooter&&(this.$tableFooter.show(),this.fitFooter(),this.options.height&&(e+=this.$tableFooter.outerHeight(!0))),this.$container.hasClass("fullscreen"))this.$tableContainer.css("height",""),this.$tableContainer.css("width","");else if(this.options.height){this.$tableBorder&&(this.$tableBorder.css("width",""),this.$tableBorder.css("height",""));var n=this.$toolbar.outerHeight(!0),i=this.$pagination.outerHeight(!0),o=this.options.height-n-i,a=this.$tableBody.find(">table"),s=a.outerHeight();if(this.$tableContainer.css("height","".concat(o,"px")),this.$tableBorder&&a.is(":visible")){var c=o-s-2;this.hasScrollBar&&(c-=Oc.getScrollBarWidth()),this.$tableBorder.css("width","".concat(a.outerWidth(),"px")),this.$tableBorder.css("height","".concat(c,"px"))}}this.options.cardView?(this.$el.css("margin-top","0"),this.$tableContainer.css("padding-bottom","0"),this.$tableFooter.hide()):(this.getCaret(),this.$tableContainer.css("padding-bottom","".concat(e,"px"))),this.trigger("reset-view")}},{key:"showLoading",value:function(){this.$tableLoading.toggleClass("open",!0);var t=this.options.loadingFontSize;"auto"===this.options.loadingFontSize&&(t=.04*this.$tableLoading.width(),t=Math.max(12,t),t=Math.min(32,t),t="".concat(t,"px")),this.$tableLoading.find(".loading-text").css("font-size",t)}},{key:"hideLoading",value:function(){this.$tableLoading.toggleClass("open",!1)}},{key:"togglePagination",value:function(){this.options.pagination=!this.options.pagination;var t=this.options.showButtonIcons?this.options.pagination?this.options.icons.paginationSwitchDown:this.options.icons.paginationSwitchUp:"",e=this.options.showButtonText?this.options.pagination?this.options.formatPaginationSwitchUp():this.options.formatPaginationSwitchDown():"";this.$toolbar.find('button[name="paginationSwitch"]').html("".concat(Oc.sprintf(this.constants.html.icon,this.options.iconsPrefix,t)," ").concat(e)),this.updatePagination(),this.trigger("toggle-pagination",this.options.pagination)}},{key:"toggleFullscreen",value:function(){this.$el.closest(".bootstrap-table").toggleClass("fullscreen"),this.resetView()}},{key:"toggleView",value:function(){this.options.cardView=!this.options.cardView,this.initHeader();var t=this.options.showButtonIcons?this.options.cardView?this.options.icons.toggleOn:this.options.icons.toggleOff:"",e=this.options.cardView?this.options.formatToggleOff():this.options.formatToggleOn();this.$toolbar.find('button[name="toggle"]').html("".concat(Oc.sprintf(this.constants.html.icon,this.options.iconsPrefix,t)," ").concat(this.options.showButtonText?e:"")).attr("aria-label",e).attr(this.options.buttonsAttributeTitle,e),this.initBody(),this.trigger("toggle",this.options.cardView)}},{key:"resetSearch",value:function(t){var e=Oc.getSearchInput(this),r=t||"";e.val(r),this.searchText=r,this.onSearch({currentTarget:e},!1)}},{key:"filterBy",value:function(t,e){this.filterOptions=Oc.isEmptyObject(e)?this.options.filterOptions:Oc.extend(this.options.filterOptions,e),this.filterColumns=Oc.isEmptyObject(t)?{}:t,this.options.pageNumber=1,this.initSearch(),this.updatePagination()}},{key:"scrollTo",value:function(e){var r={unit:"px",value:0};"object"===f(e)?r=Object.assign(r,e):"string"==typeof e&&"bottom"===e?r.value=this.$tableBody[0].scrollHeight:"string"!=typeof e&&"number"!=typeof e||(r.value=e);var n=r.value;"rows"===r.unit&&(n=0,this.$body.find("> tr:lt(".concat(r.value,")")).each((function(e,r){n+=t(r).outerHeight(!0)}))),this.$tableBody.scrollTop(n)}},{key:"getScrollPosition",value:function(){return this.$tableBody.scrollTop()}},{key:"selectPage",value:function(t){t>0&&t<=this.options.totalPages&&(this.options.pageNumber=t,this.updatePagination())}},{key:"prevPage",value:function(){this.options.pageNumber>1&&(this.options.pageNumber--,this.updatePagination())}},{key:"nextPage",value:function(){this.options.pageNumber tr[data-index="%s"]',t)).next().is("tr.detail-view")?this.collapseRow(t):this.expandRow(t,e),this.resetView()}},{key:"expandRow",value:function(t,e){var r=this.data[t],n=this.$body.find(Oc.sprintf('> tr[data-index="%s"][data-has-detail-view]',t));if(this.options.detailViewIcon&&n.find("a.detail-icon").html(Oc.sprintf(this.constants.html.icon,this.options.iconsPrefix,this.options.icons.detailClose)),!n.next().is("tr.detail-view")){n.after(Oc.sprintf('',n.children("td").length));var i=n.next().find("td"),o=e||this.options.detailFormatter,a=Oc.calculateObjectValue(this.options,o,[t,r,i],"");1===i.length&&i.append(a),this.trigger("expand-row",t,r,i)}}},{key:"expandRowByUniqueId",value:function(t){var e=this.getRowByUniqueId(t);e&&this.expandRow(this.data.indexOf(e))}},{key:"collapseRow",value:function(t){var e=this.data[t],r=this.$body.find(Oc.sprintf('> tr[data-index="%s"][data-has-detail-view]',t));r.next().is("tr.detail-view")&&(this.options.detailViewIcon&&r.find("a.detail-icon").html(Oc.sprintf(this.constants.html.icon,this.options.iconsPrefix,this.options.icons.detailOpen)),this.trigger("collapse-row",t,e,r.next()),r.next().remove())}},{key:"collapseRowByUniqueId",value:function(t){var e=this.getRowByUniqueId(t);e&&this.collapseRow(this.data.indexOf(e))}},{key:"expandAllRows",value:function(){for(var e=this.$body.find("> tr[data-index][data-has-detail-view]"),r=0;r tr[data-index][data-has-detail-view]"),r=0;r1?r-1:0),i=1;i0&&t[0]<4?1:+(t[0]+t[1])),!e&&n&&(!(t=n.match(/Edge\/(\d+)/))||t[1]>=74)&&(t=n.match(/Chrome\/(\d+)/))&&(e=+t[1]),J=e}function Et(){if(tt)return Q;tt=1;var t=At(),e=x(),r=h().String;return Q=!!Object.getOwnPropertySymbols&&!e((function(){var e=Symbol("symbol detection");return!r(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&t&&t<41}))}function _t(){if(rt)return et;rt=1;var t=Et();return et=t&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}function Ot(){if(it)return nt;it=1;var t=Tt(),e=xt(),r=function(){if(X)return G;X=1;var t=gt();return G=t({}.isPrototypeOf)}(),n=_t(),i=Object;return nt=n?function(t){return"symbol"==typeof t}:function(n){var o=t("Symbol");return e(o)&&r(o.prototype,i(n))}}function Nt(){if(at)return ot;at=1;var t=String;return ot=function(e){try{return t(e)}catch(t){return"Object"}}}function Ct(){if(ct)return st;ct=1;var t=xt(),e=Nt(),r=TypeError;return st=function(n){if(t(n))return n;throw new r(e(n)+" is not a function")}}function Rt(){if(ut)return lt;ut=1;var t=Ct(),e=yt();return lt=function(r,n){var i=r[n];return e(i)?void 0:t(i)}}function Pt(){if(ht)return ft;ht=1;var t=A(),e=xt(),r=kt(),n=TypeError;return ft=function(i,o){var a,s;if("string"===o&&e(a=i.toString)&&!r(s=t(a,i)))return s;if(e(a=i.valueOf)&&!r(s=t(a,i)))return s;if("string"!==o&&e(a=i.toString)&&!r(s=t(a,i)))return s;throw new n("Can't convert object to primitive value")}}var Lt,It,Ft,jt,Dt,Mt,Bt,Wt,Ut,Ht,zt,Vt,qt,$t,Gt,Xt,Yt,Kt,Jt,Zt,Qt,te,ee,re,ne={exports:{}};function ie(){if(jt)return Ft;jt=1;var t=h(),e=Object.defineProperty;return Ft=function(r,n){try{e(t,r,{value:n,configurable:!0,writable:!0})}catch(e){t[r]=n}return n}}function oe(){if(Dt)return ne.exports;Dt=1;var t=It?Lt:(It=1,Lt=!1),e=h(),r=ie(),n="__core-js_shared__",i=ne.exports=e[n]||r(n,{});return(i.versions||(i.versions=[])).push({version:"3.38.1",mode:t?"pure":"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"}),ne.exports}function ae(){if(Bt)return Mt;Bt=1;var t=oe();return Mt=function(e,r){return t[e]||(t[e]=r||{})}}function se(){if(Ut)return Wt;Ut=1;var t=wt(),e=Object;return Wt=function(r){return e(t(r))}}function ce(){if(zt)return Ht;zt=1;var t=gt(),e=se(),r=t({}.hasOwnProperty);return Ht=Object.hasOwn||function(t,n){return r(e(t),n)}}function le(){if(qt)return Vt;qt=1;var t=gt(),e=0,r=Math.random(),n=t(1..toString);return Vt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+n(++e+r,36)}}function ue(){if(Gt)return $t;Gt=1;var t=h(),e=ae(),r=ce(),n=le(),i=Et(),o=_t(),a=t.Symbol,s=e("wks"),c=o?a.for||a:a&&a.withoutSetter||n;return $t=function(t){return r(s,t)||(s[t]=i&&r(a,t)?a[t]:c("Symbol."+t)),s[t]}}function fe(){if(Yt)return Xt;Yt=1;var t=A(),e=kt(),r=Ot(),n=Rt(),i=Pt(),o=ue(),a=TypeError,s=o("toPrimitive");return Xt=function(o,c){if(!e(o)||r(o))return o;var l,u=n(o,s);if(u){if(void 0===c&&(c="default"),l=t(u,o,c),!e(l)||r(l))return l;throw new a("Can't convert object to primitive value")}return void 0===c&&(c="number"),i(o,c)}}function he(){if(Jt)return Kt;Jt=1;var t=fe(),e=Ot();return Kt=function(r){var n=t(r,"string");return e(n)?n:n+""}}function de(){if(Qt)return Zt;Qt=1;var t=h(),e=kt(),r=t.document,n=e(r)&&e(r.createElement);return Zt=function(t){return n?r.createElement(t):{}}}function pe(){if(ee)return te;ee=1;var t=k(),e=x(),r=de();return te=!t&&!e((function(){return 7!==Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a}))}function ve(){if(re)return S;re=1;var t=k(),e=A(),r=pt(),n=vt(),i=St(),o=he(),a=ce(),s=pe(),c=Object.getOwnPropertyDescriptor;return S.f=t?c:function(t,l){if(t=i(t),l=o(l),s)try{return c(t,l)}catch(t){}if(a(t,l))return n(!e(r.f,t,l),t[l])},S}var ge,me,be,ye,we,Se,xe,ke={};function Te(){if(me)return ge;me=1;var t=k(),e=x();return ge=t&&e((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))}function Ae(){if(ye)return be;ye=1;var t=kt(),e=String,r=TypeError;return be=function(n){if(t(n))return n;throw new r(e(n)+" is not an object")}}function Ee(){if(we)return ke;we=1;var t=k(),e=pe(),r=Te(),n=Ae(),i=he(),o=TypeError,a=Object.defineProperty,s=Object.getOwnPropertyDescriptor,c="enumerable",l="configurable",u="writable";return ke.f=t?r?function(t,e,r){if(n(t),e=i(e),n(r),"function"==typeof t&&"prototype"===e&&"value"in r&&u in r&&!r[u]){var o=s(t,e);o&&o[u]&&(t[e]=r.value,r={configurable:l in r?r[l]:o[l],enumerable:c in r?r[c]:o[c],writable:!1})}return a(t,e,r)}:a:function(t,r,s){if(n(t),r=i(r),n(s),e)try{return a(t,r,s)}catch(t){}if("get"in s||"set"in s)throw new o("Accessors not supported");return"value"in s&&(t[r]=s.value),t},ke}function _e(){if(xe)return Se;xe=1;var t=k(),e=Ee(),r=vt();return Se=t?function(t,n,i){return e.f(t,n,r(1,i))}:function(t,e,r){return t[e]=r,t}}var Oe,Ne,Ce,Re,Pe,Le,Ie,Fe,je,De,Me,Be,We,Ue,He,ze={exports:{}};function Ve(){if(Re)return Ce;Re=1;var t=gt(),e=xt(),r=oe(),n=t(Function.toString);return e(r.inspectSource)||(r.inspectSource=function(t){return n(t)}),Ce=r.inspectSource}function qe(){if(Fe)return Ie;Fe=1;var t=ae(),e=le(),r=t("keys");return Ie=function(t){return r[t]||(r[t]=e(t))}}function $e(){return De?je:(De=1,je={})}function Ge(){if(Be)return Me;Be=1;var t,e,r,n=function(){if(Le)return Pe;Le=1;var t=h(),e=xt(),r=t.WeakMap;return Pe=e(r)&&/native code/.test(String(r))}(),i=h(),o=kt(),a=_e(),s=ce(),c=oe(),l=qe(),u=$e(),f="Object already initialized",d=i.TypeError,p=i.WeakMap;if(n||c.state){var v=c.state||(c.state=new p);v.get=v.get,v.has=v.has,v.set=v.set,t=function(t,e){if(v.has(t))throw new d(f);return e.facade=t,v.set(t,e),e},e=function(t){return v.get(t)||{}},r=function(t){return v.has(t)}}else{var g=l("state");u[g]=!0,t=function(t,e){if(s(t,g))throw new d(f);return e.facade=t,a(t,g,e),e},e=function(t){return s(t,g)?t[g]:{}},r=function(t){return s(t,g)}}return Me={set:t,get:e,has:r,enforce:function(n){return r(n)?e(n):t(n,{})},getterFor:function(t){return function(r){var n;if(!o(r)||(n=e(r)).type!==t)throw new d("Incompatible receiver, "+t+" required");return n}}}}function Xe(){if(We)return ze.exports;We=1;var t=gt(),e=x(),r=xt(),n=ce(),i=k(),o=function(){if(Ne)return Oe;Ne=1;var t=k(),e=ce(),r=Function.prototype,n=t&&Object.getOwnPropertyDescriptor,i=e(r,"name"),o=i&&"something"===function(){}.name,a=i&&(!t||t&&n(r,"name").configurable);return Oe={EXISTS:i,PROPER:o,CONFIGURABLE:a}}().CONFIGURABLE,a=Ve(),s=Ge(),c=s.enforce,l=s.get,u=String,f=Object.defineProperty,h=t("".slice),d=t("".replace),p=t([].join),v=i&&!e((function(){return 8!==f((function(){}),"length",{value:8}).length})),g=String(String).split("String"),m=ze.exports=function(t,e,r){"Symbol("===h(u(e),0,7)&&(e="["+d(u(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!n(t,"name")||o&&t.name!==e)&&(i?f(t,"name",{value:e,configurable:!0}):t.name=e),v&&r&&n(r,"arity")&&t.length!==r.arity&&f(t,"length",{value:r.arity});try{r&&n(r,"constructor")&&r.constructor?i&&f(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var a=c(t);return n(a,"source")||(a.source=p(g,"string"==typeof e?e:"")),t};return Function.prototype.toString=m((function(){return r(this)&&l(this).source||a(this)}),"toString"),ze.exports}function Ye(){if(He)return Ue;He=1;var t=xt(),e=Ee(),r=Xe(),n=ie();return Ue=function(i,o,a,s){s||(s={});var c=s.enumerable,l=void 0!==s.name?s.name:o;if(t(a)&&r(a,l,s),s.global)c?i[o]=a:n(o,a);else{try{s.unsafe?i[o]&&(c=!0):delete i[o]}catch(t){}c?i[o]=a:e.f(i,o,{value:a,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return i}}var Ke,Je,Ze,Qe,tr,er,rr,nr,ir,or,ar,sr,cr,lr,ur,fr,hr,dr={};function pr(){if(Qe)return Ze;Qe=1;var t=function(){if(Je)return Ke;Je=1;var t=Math.ceil,e=Math.floor;return Ke=Math.trunc||function(r){var n=+r;return(n>0?e:t)(n)}}();return Ze=function(e){var r=+e;return r!=r||0===r?0:t(r)}}function vr(){if(er)return tr;er=1;var t=pr(),e=Math.max,r=Math.min;return tr=function(n,i){var o=t(n);return o<0?e(o+i,0):r(o,i)}}function gr(){if(nr)return rr;nr=1;var t=pr(),e=Math.min;return rr=function(r){var n=t(r);return n>0?e(n,9007199254740991):0}}function mr(){if(or)return ir;or=1;var t=gr();return ir=function(e){return t(e.length)}}function br(){if(sr)return ar;sr=1;var t=St(),e=vr(),r=mr(),n=function(n){return function(i,o,a){var s=t(i),c=r(s);if(0===c)return!n&&-1;var l,u=e(a,c);if(n&&o!=o){for(;c>u;)if((l=s[u++])!=l)return!0}else for(;c>u;u++)if((n||u in s)&&s[u]===o)return n||u||0;return!n&&-1}};return ar={includes:n(!0),indexOf:n(!1)}}function yr(){if(lr)return cr;lr=1;var t=gt(),e=ce(),r=St(),n=br().indexOf,i=$e(),o=t([].push);return cr=function(t,a){var s,c=r(t),l=0,u=[];for(s in c)!e(i,s)&&e(c,s)&&o(u,s);for(;a.length>l;)e(c,s=a[l++])&&(~n(u,s)||o(u,s));return u}}function wr(){return fr?ur:(fr=1,ur=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"])}var Sr,xr,kr,Tr,Ar,Er,_r,Or,Nr,Cr={};function Rr(){return Sr||(Sr=1,Cr.f=Object.getOwnPropertySymbols),Cr}function Pr(){if(kr)return xr;kr=1;var t=Tt(),e=gt(),r=function(){if(hr)return dr;hr=1;var t=yr(),e=wr().concat("length","prototype");return dr.f=Object.getOwnPropertyNames||function(r){return t(r,e)},dr}(),n=Rr(),i=Ae(),o=e([].concat);return xr=t("Reflect","ownKeys")||function(t){var e=r.f(i(t)),a=n.f;return a?o(e,a(t)):e}}function Lr(){if(Ar)return Tr;Ar=1;var t=ce(),e=Pr(),r=ve(),n=Ee();return Tr=function(i,o,a){for(var s=e(o),c=n.f,l=r.f,u=0;uu;)r.f(t,a=c[u++],s[a]);return t},qr}(),n=wr(),i=$e(),o=Gr(),a=de(),s=qe(),c="prototype",l="script",u=s("IE_PROTO"),f=function(){},h=function(t){return"<"+l+">"+t+""},d=function(t){t.write(h("")),t.close();var e=t.parentWindow.Object;return t=null,e},p=function(){try{t=new ActiveXObject("htmlfile")}catch(t){}var e,r,i;p="undefined"!=typeof document?document.domain&&t?d(t):(r=a("iframe"),i="java"+l+":",r.style.display="none",o.appendChild(r),r.src=String(i),(e=r.contentWindow.document).open(),e.write(h("document.F=Object")),e.close(),e.F):d(t);for(var s=n.length;s--;)delete p[c][n[s]];return p()};return i[u]=!0,Wr=Object.create||function(t,n){var i;return null!==t?(f[c]=e(t),i=new f,f[c]=null,i[u]=t):i=p(),void 0===n?i:r.f(i,n)}}function Yr(){if(zr)return Hr;zr=1;var t=ue(),e=Xr(),r=Ee().f,n=t("unscopables"),i=Array.prototype;return void 0===i[n]&&r(i,n,{configurable:!0,value:e(null)}),Hr=function(t){i[n][t]=!0}}!function(){if(Vr)return f;Vr=1;var t=Ir(),e=br().includes,r=x(),n=Yr();t({target:"Array",proto:!0,forced:r((function(){return!Array(1).includes()}))},{includes:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}}),n("includes")}();var Kr,Jr,Zr,Qr={};!function(){if(Zr)return Qr;Zr=1;var t=Ir(),e=function(){if(Jr)return Kr;Jr=1;var t=k(),e=gt(),r=A(),n=x(),i=$r(),o=Rr(),a=pt(),s=se(),c=bt(),l=Object.assign,u=Object.defineProperty,f=e([].concat);return Kr=!l||n((function(){if(t&&1!==l({b:1},l(u({},"a",{enumerable:!0,get:function(){u(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},r={},n=Symbol("assign detection"),o="abcdefghijklmnopqrst";return e[n]=7,o.split("").forEach((function(t){r[t]=t})),7!==l({},e)[n]||i(l({},r)).join("")!==o}))?function(e,n){for(var l=s(e),u=arguments.length,h=1,d=o.f,p=a.f;u>h;)for(var v,g=c(arguments[h++]),m=d?f(i(g),d(g)):i(g),b=m.length,y=0;b>y;)v=m[y++],t&&!r(p,g,v)||(l[v]=g[v]);return l}:l,Kr}();t({target:"Object",stat:!0,arity:2,forced:Object.assign!==e},{assign:e})}();var tn,en,rn,nn,on,an,sn,cn={};function ln(){if(en)return tn;en=1;var t={};return t[ue()("toStringTag")]="z",tn="[object z]"===String(t)}function un(){if(nn)return rn;nn=1;var t=ln(),e=xt(),r=mt(),n=ue()("toStringTag"),i=Object,o="Arguments"===r(function(){return arguments}());return rn=t?r:function(t){var a,s,c;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(s=function(t,e){try{return t[e]}catch(t){}}(a=i(t),n))?s:o?r(a):"Object"===(c=r(a))&&e(a.callee)?"Arguments":c}}!function(){if(sn)return cn;sn=1;var t=ln(),e=Ye(),r=function(){if(an)return on;an=1;var t=ln(),e=un();return on=t?{}.toString:function(){return"[object "+e(this)+"]"}}();t||e(Object.prototype,"toString",r,{unsafe:!0})}();var fn,hn,dn,pn,vn,gn,mn,bn,yn,wn={};function Sn(){if(pn)return dn;pn=1;var t=function(){if(hn)return fn;hn=1;var t=kt(),e=mt(),r=ue()("match");return fn=function(n){var i;return t(n)&&(void 0!==(i=n[r])?!!i:"RegExp"===e(n))}}(),e=TypeError;return dn=function(r){if(t(r))throw new e("The method doesn't accept regular expressions");return r}}function xn(){if(gn)return vn;gn=1;var t=un(),e=String;return vn=function(r){if("Symbol"===t(r))throw new TypeError("Cannot convert a Symbol value to a string");return e(r)}}!function(){if(yn)return wn;yn=1;var t=Ir(),e=gt(),r=Sn(),n=wt(),i=xn(),o=function(){if(bn)return mn;bn=1;var t=ue()("match");return mn=function(e){var r=/./;try{"/./"[e](r)}catch(n){try{return r[t]=!1,"/./"[e](r)}catch(t){}}return!1}}(),a=e("".indexOf);t({target:"String",proto:!0,forced:!o("includes")},{includes:function(t){return!!~a(i(n(this)),i(r(t)),arguments.length>1?arguments[1]:void 0)}})}();var kn,Tn,An,En,_n,On,Nn,Cn,Rn,Pn,Ln,In,Fn,jn,Dn,Mn,Bn,Wn,Un,Hn,zn,Vn,qn,$n={};function Gn(){if(Cn)return Nn;Cn=1;var t=function(){if(On)return _n;On=1;var t=mt(),e=gt();return _n=function(r){if("Function"===t(r))return e(r)}}(),e=Ct(),r=T(),n=t(t.bind);return Nn=function(t,i){return e(t),void 0===i?t:r?n(t,i):function(){return t.apply(i,arguments)}},Nn}function Xn(){if(Pn)return Rn;Pn=1;var t=mt();return Rn=Array.isArray||function(e){return"Array"===t(e)}}function Yn(){if(In)return Ln;In=1;var t=gt(),e=x(),r=xt(),n=un(),i=Tt(),o=Ve(),a=function(){},s=i("Reflect","construct"),c=/^\s*(?:class|function)\b/,l=t(c.exec),u=!c.test(a),f=function(t){if(!r(t))return!1;try{return s(a,[],t),!0}catch(t){return!1}},h=function(t){if(!r(t))return!1;switch(n(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return u||!!l(c,o(t))}catch(t){return!0}};return h.sham=!0,Ln=!s||e((function(){var t;return f(f.call)||!f(Object)||!f((function(){t=!0}))||t}))?h:f}function Kn(){if(jn)return Fn;jn=1;var t=Xn(),e=Yn(),r=kt(),n=ue()("species"),i=Array;return Fn=function(o){var a;return t(o)&&(a=o.constructor,(e(a)&&(a===i||t(a.prototype))||r(a)&&null===(a=a[n]))&&(a=void 0)),void 0===a?i:a}}function Jn(){if(Mn)return Dn;Mn=1;var t=Kn();return Dn=function(e,r){return new(t(e))(0===r?0:r)}}function Zn(){if(Hn)return Un;Hn=1;var t=x();return Un=function(e,r){var n=[][e];return!!n&&t((function(){n.call(null,r||function(){return 1},1)}))}}function Qn(){if(Vn)return zn;Vn=1;var t=function(){if(Wn)return Bn;Wn=1;var t=Gn(),e=gt(),r=bt(),n=se(),i=mr(),o=Jn(),a=e([].push),s=function(e){var s=1===e,c=2===e,l=3===e,u=4===e,f=6===e,h=7===e,d=5===e||f;return function(p,v,g,m){for(var b,y,w=n(p),S=r(w),x=i(S),k=t(v,g),T=0,A=m||o,E=s?A(p,x):c||h?A(p,0):void 0;x>T;T++)if((d||T in S)&&(y=k(b=S[T],T,w),e))if(s)E[T]=y;else if(y)switch(e){case 3:return!0;case 5:return b;case 6:return T;case 2:a(E,b)}else switch(e){case 4:return!1;case 7:a(E,b)}return f?-1:l||u?u:E}};return Bn={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6),filterReject:s(7)}}().forEach,e=Zn()("forEach");return zn=e?[].forEach:function(e){return t(this,e,arguments.length>1?arguments[1]:void 0)},zn}!function(){if(qn)return $n;qn=1;var t=h(),e=Tn?kn:(Tn=1,kn={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}),r=function(){if(En)return An;En=1;var t=de()("span").classList,e=t&&t.constructor&&t.constructor.prototype;return An=e===Object.prototype?void 0:e}(),n=Qn(),i=_e(),o=function(t){if(t&&t.forEach!==n)try{i(t,"forEach",n)}catch(e){t.forEach=n}};for(var a in e)e[a]&&o(t[a]&&t[a].prototype);o(r)}();Object.assign(t.fn.bootstrapTable.defaults,{mobileResponsive:!1,minWidth:562,minHeight:void 0,heightThreshold:100,checkOnInit:!0,columnsHidden:[]}),t.BootstrapTable=function(o){function s(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),e(this,s,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&&a(t,e)}(s,o),r(s,[{key:"init",value:function(){for(var e,r,o,a=this,c=arguments.length,l=new Array(c),u=0;ua.options.heightThreshold||p.width!==e)&&(a.changeView(e,r),p={width:e,height:r})},h=200,d=0,function(){for(var t=arguments.length,e=new Array(t),r=0;r0&&this.columns.forEach((function(r){e.options.columnsHidden.includes(r.field)&&r.visible!==t&&e._toggleColumn(e.fieldsColumnsIndex[r.field],t,!0)}))}},{key:"changeView",value:function(t,e){this.options.minHeight?t<=this.options.minWidth&&e<=this.options.minHeight?this.conditionCardView():t>this.options.minWidth&&e>this.options.minHeight&&this.conditionFullView():t<=this.options.minWidth?this.conditionCardView():t>this.options.minWidth&&this.conditionFullView(),this.resetView()}}])}(t.BootstrapTable)})),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){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,c=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return s=t.done,t},e:function(t){c=!0,a=t},f:function(){try{s||null==n.return||n.return()}finally{if(c)throw a}}}}function o(t,e,r){return(e=f(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function a(){return a="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,r){var n=function(t,e){for(;!{}.hasOwnProperty.call(t,e)&&null!==(t=s(t)););return t}(t,e);if(n){var i=Object.getOwnPropertyDescriptor(n,e);return i.get?i.get.call(arguments.length<3?t:r):i.value}},a.apply(null,arguments)}function s(t){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},s(t)}function c(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(c=function(){return!!t})()}function l(t,e){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},l(t,e)}function u(t,e,r,n){var i=a(s(1&n?t.prototype:t),e,r);return 2&n?function(t){return i.apply(r,t)}:i}function f(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}var h,d,p="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},v={};function g(){if(d)return h;d=1;var t=function(t){return t&&t.Math===Math&&t};return h=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof p&&p)||t("object"==typeof h&&h)||function(){return this}()||Function("return this")()}var m,b,y,w,S,x,k,T,A={};function E(){return b?m:(b=1,m=function(t){try{return!!t()}catch(t){return!0}})}function _(){if(w)return y;w=1;var t=E();return y=!t((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))}function O(){if(x)return S;x=1;var t=E();return S=!t((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))}function N(){if(T)return k;T=1;var t=O(),e=Function.prototype.call;return k=t?e.bind(e):function(){return e.apply(e,arguments)},k}var C,R,P,L,I,F,j,D,M,B,W,U,H,z,V,q,$,G,X,Y,K,J,Z,Q,tt,et,rt,nt,it,ot,at,st,ct,lt,ut,ft,ht,dt,pt,vt,gt,mt={};function bt(){if(C)return mt;C=1;var t={}.propertyIsEnumerable,e=Object.getOwnPropertyDescriptor,r=e&&!t.call({1:2},1);return mt.f=r?function(t){var r=e(this,t);return!!r&&r.enumerable}:t,mt}function yt(){return P?R:(P=1,R=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}})}function wt(){if(I)return L;I=1;var t=O(),e=Function.prototype,r=e.call,n=t&&e.bind.bind(r,r);return L=t?n:function(t){return function(){return r.apply(t,arguments)}},L}function St(){if(j)return F;j=1;var t=wt(),e=t({}.toString),r=t("".slice);return F=function(t){return r(e(t),8,-1)}}function xt(){if(M)return D;M=1;var t=wt(),e=E(),r=St(),n=Object,i=t("".split);return D=e((function(){return!n("z").propertyIsEnumerable(0)}))?function(t){return"String"===r(t)?i(t,""):n(t)}:n}function kt(){return W?B:(W=1,B=function(t){return null==t})}function Tt(){if(H)return U;H=1;var t=kt(),e=TypeError;return U=function(r){if(t(r))throw new e("Can't call method on "+r);return r}}function At(){if(V)return z;V=1;var t=xt(),e=Tt();return z=function(r){return t(e(r))}}function Et(){if($)return q;$=1;var t="object"==typeof document&&document.all;return q=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(t){return"function"==typeof t}}function _t(){if(X)return G;X=1;var t=Et();return G=function(e){return"object"==typeof e?null!==e:t(e)}}function Ot(){if(K)return Y;K=1;var t=g(),e=Et();return Y=function(r,n){return arguments.length<2?(i=t[r],e(i)?i:void 0):t[r]&&t[r][n];var i},Y}function Nt(){if(rt)return et;rt=1;var t,e,r=g(),n=function(){if(tt)return Q;tt=1;var t=g().navigator,e=t&&t.userAgent;return Q=e?String(e):""}(),i=r.process,o=r.Deno,a=i&&i.versions||o&&o.version,s=a&&a.v8;return s&&(e=(t=s.split("."))[0]>0&&t[0]<4?1:+(t[0]+t[1])),!e&&n&&(!(t=n.match(/Edge\/(\d+)/))||t[1]>=74)&&(t=n.match(/Chrome\/(\d+)/))&&(e=+t[1]),et=e}function Ct(){if(it)return nt;it=1;var t=Nt(),e=E(),r=g().String;return nt=!!Object.getOwnPropertySymbols&&!e((function(){var e=Symbol("symbol detection");return!r(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&t&&t<41}))}function Rt(){if(at)return ot;at=1;var t=Ct();return ot=t&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}function Pt(){if(ct)return st;ct=1;var t=Ot(),e=Et(),r=function(){if(Z)return J;Z=1;var t=wt();return J=t({}.isPrototypeOf)}(),n=Rt(),i=Object;return st=n?function(t){return"symbol"==typeof t}:function(n){var o=t("Symbol");return e(o)&&r(o.prototype,i(n))}}function Lt(){if(ut)return lt;ut=1;var t=String;return lt=function(e){try{return t(e)}catch(t){return"Object"}}}function It(){if(ht)return ft;ht=1;var t=Et(),e=Lt(),r=TypeError;return ft=function(n){if(t(n))return n;throw new r(e(n)+" is not a function")}}function Ft(){if(pt)return dt;pt=1;var t=It(),e=kt();return dt=function(r,n){var i=r[n];return e(i)?void 0:t(i)}}function jt(){if(gt)return vt;gt=1;var t=N(),e=Et(),r=_t(),n=TypeError;return vt=function(i,o){var a,s;if("string"===o&&e(a=i.toString)&&!r(s=t(a,i)))return s;if(e(a=i.valueOf)&&!r(s=t(a,i)))return s;if("string"!==o&&e(a=i.toString)&&!r(s=t(a,i)))return s;throw new n("Can't convert object to primitive value")}}var Dt,Mt,Bt,Wt,Ut,Ht,zt,Vt,qt,$t,Gt,Xt,Yt,Kt,Jt,Zt,Qt,te,ee,re,ne,ie,oe,ae,se={exports:{}};function ce(){if(Wt)return Bt;Wt=1;var t=g(),e=Object.defineProperty;return Bt=function(r,n){try{e(t,r,{value:n,configurable:!0,writable:!0})}catch(e){t[r]=n}return n}}function le(){if(Ut)return se.exports;Ut=1;var t=Mt?Dt:(Mt=1,Dt=!1),e=g(),r=ce(),n="__core-js_shared__",i=se.exports=e[n]||r(n,{});return(i.versions||(i.versions=[])).push({version:"3.38.1",mode:t?"pure":"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"}),se.exports}function ue(){if(zt)return Ht;zt=1;var t=le();return Ht=function(e,r){return t[e]||(t[e]=r||{})}}function fe(){if(qt)return Vt;qt=1;var t=Tt(),e=Object;return Vt=function(r){return e(t(r))}}function he(){if(Gt)return $t;Gt=1;var t=wt(),e=fe(),r=t({}.hasOwnProperty);return $t=Object.hasOwn||function(t,n){return r(e(t),n)}}function de(){if(Yt)return Xt;Yt=1;var t=wt(),e=0,r=Math.random(),n=t(1..toString);return Xt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+n(++e+r,36)}}function pe(){if(Jt)return Kt;Jt=1;var t=g(),e=ue(),r=he(),n=de(),i=Ct(),o=Rt(),a=t.Symbol,s=e("wks"),c=o?a.for||a:a&&a.withoutSetter||n;return Kt=function(t){return r(s,t)||(s[t]=i&&r(a,t)?a[t]:c("Symbol."+t)),s[t]}}function ve(){if(Qt)return Zt;Qt=1;var t=N(),e=_t(),r=Pt(),n=Ft(),i=jt(),o=pe(),a=TypeError,s=o("toPrimitive");return Zt=function(o,c){if(!e(o)||r(o))return o;var l,u=n(o,s);if(u){if(void 0===c&&(c="default"),l=t(u,o,c),!e(l)||r(l))return l;throw new a("Can't convert object to primitive value")}return void 0===c&&(c="number"),i(o,c)}}function ge(){if(ee)return te;ee=1;var t=ve(),e=Pt();return te=function(r){var n=t(r,"string");return e(n)?n:n+""}}function me(){if(ne)return re;ne=1;var t=g(),e=_t(),r=t.document,n=e(r)&&e(r.createElement);return re=function(t){return n?r.createElement(t):{}}}function be(){if(oe)return ie;oe=1;var t=_(),e=E(),r=me();return ie=!t&&!e((function(){return 7!==Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a}))}function ye(){if(ae)return A;ae=1;var t=_(),e=N(),r=bt(),n=yt(),i=At(),o=ge(),a=he(),s=be(),c=Object.getOwnPropertyDescriptor;return A.f=t?c:function(t,l){if(t=i(t),l=o(l),s)try{return c(t,l)}catch(t){}if(a(t,l))return n(!e(r.f,t,l),t[l])},A}var we,Se,xe,ke,Te,Ae,Ee,_e={};function Oe(){if(Se)return we;Se=1;var t=_(),e=E();return we=t&&e((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))}function Ne(){if(ke)return xe;ke=1;var t=_t(),e=String,r=TypeError;return xe=function(n){if(t(n))return n;throw new r(e(n)+" is not an object")}}function Ce(){if(Te)return _e;Te=1;var t=_(),e=be(),r=Oe(),n=Ne(),i=ge(),o=TypeError,a=Object.defineProperty,s=Object.getOwnPropertyDescriptor,c="enumerable",l="configurable",u="writable";return _e.f=t?r?function(t,e,r){if(n(t),e=i(e),n(r),"function"==typeof t&&"prototype"===e&&"value"in r&&u in r&&!r[u]){var o=s(t,e);o&&o[u]&&(t[e]=r.value,r={configurable:l in r?r[l]:o[l],enumerable:c in r?r[c]:o[c],writable:!1})}return a(t,e,r)}:a:function(t,r,s){if(n(t),r=i(r),n(s),e)try{return a(t,r,s)}catch(t){}if("get"in s||"set"in s)throw new o("Accessors not supported");return"value"in s&&(t[r]=s.value),t},_e}function Re(){if(Ee)return Ae;Ee=1;var t=_(),e=Ce(),r=yt();return Ae=t?function(t,n,i){return e.f(t,n,r(1,i))}:function(t,e,r){return t[e]=r,t}}var Pe,Le,Ie,Fe,je,De,Me,Be,We,Ue,He,ze,Ve,qe,$e,Ge={exports:{}};function Xe(){if(Fe)return Ie;Fe=1;var t=wt(),e=Et(),r=le(),n=t(Function.toString);return e(r.inspectSource)||(r.inspectSource=function(t){return n(t)}),Ie=r.inspectSource}function Ye(){if(Be)return Me;Be=1;var t=ue(),e=de(),r=t("keys");return Me=function(t){return r[t]||(r[t]=e(t))}}function Ke(){return Ue?We:(Ue=1,We={})}function Je(){if(ze)return He;ze=1;var t,e,r,n=function(){if(De)return je;De=1;var t=g(),e=Et(),r=t.WeakMap;return je=e(r)&&/native code/.test(String(r))}(),i=g(),o=_t(),a=Re(),s=he(),c=le(),l=Ye(),u=Ke(),f="Object already initialized",h=i.TypeError,d=i.WeakMap;if(n||c.state){var p=c.state||(c.state=new d);p.get=p.get,p.has=p.has,p.set=p.set,t=function(t,e){if(p.has(t))throw new h(f);return e.facade=t,p.set(t,e),e},e=function(t){return p.get(t)||{}},r=function(t){return p.has(t)}}else{var v=l("state");u[v]=!0,t=function(t,e){if(s(t,v))throw new h(f);return e.facade=t,a(t,v,e),e},e=function(t){return s(t,v)?t[v]:{}},r=function(t){return s(t,v)}}return He={set:t,get:e,has:r,enforce:function(n){return r(n)?e(n):t(n,{})},getterFor:function(t){return function(r){var n;if(!o(r)||(n=e(r)).type!==t)throw new h("Incompatible receiver, "+t+" required");return n}}}}function Ze(){if(Ve)return Ge.exports;Ve=1;var t=wt(),e=E(),r=Et(),n=he(),i=_(),o=function(){if(Le)return Pe;Le=1;var t=_(),e=he(),r=Function.prototype,n=t&&Object.getOwnPropertyDescriptor,i=e(r,"name"),o=i&&"something"===function(){}.name,a=i&&(!t||t&&n(r,"name").configurable);return Pe={EXISTS:i,PROPER:o,CONFIGURABLE:a}}().CONFIGURABLE,a=Xe(),s=Je(),c=s.enforce,l=s.get,u=String,f=Object.defineProperty,h=t("".slice),d=t("".replace),p=t([].join),v=i&&!e((function(){return 8!==f((function(){}),"length",{value:8}).length})),g=String(String).split("String"),m=Ge.exports=function(t,e,r){"Symbol("===h(u(e),0,7)&&(e="["+d(u(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!n(t,"name")||o&&t.name!==e)&&(i?f(t,"name",{value:e,configurable:!0}):t.name=e),v&&r&&n(r,"arity")&&t.length!==r.arity&&f(t,"length",{value:r.arity});try{r&&n(r,"constructor")&&r.constructor?i&&f(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var a=c(t);return n(a,"source")||(a.source=p(g,"string"==typeof e?e:"")),t};return Function.prototype.toString=m((function(){return r(this)&&l(this).source||a(this)}),"toString"),Ge.exports}function Qe(){if($e)return qe;$e=1;var t=Et(),e=Ce(),r=Ze(),n=ce();return qe=function(i,o,a,s){s||(s={});var c=s.enumerable,l=void 0!==s.name?s.name:o;if(t(a)&&r(a,l,s),s.global)c?i[o]=a:n(o,a);else{try{s.unsafe?i[o]&&(c=!0):delete i[o]}catch(t){}c?i[o]=a:e.f(i,o,{value:a,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return i}}var tr,er,rr,nr,ir,or,ar,sr,cr,lr,ur,fr,hr,dr,pr,vr,gr,mr={};function br(){if(nr)return rr;nr=1;var t=function(){if(er)return tr;er=1;var t=Math.ceil,e=Math.floor;return tr=Math.trunc||function(r){var n=+r;return(n>0?e:t)(n)}}();return rr=function(e){var r=+e;return r!=r||0===r?0:t(r)}}function yr(){if(or)return ir;or=1;var t=br(),e=Math.max,r=Math.min;return ir=function(n,i){var o=t(n);return o<0?e(o+i,0):r(o,i)}}function wr(){if(sr)return ar;sr=1;var t=br(),e=Math.min;return ar=function(r){var n=t(r);return n>0?e(n,9007199254740991):0}}function Sr(){if(lr)return cr;lr=1;var t=wr();return cr=function(e){return t(e.length)}}function xr(){if(dr)return hr;dr=1;var t=wt(),e=he(),r=At(),n=function(){if(fr)return ur;fr=1;var t=At(),e=yr(),r=Sr(),n=function(n){return function(i,o,a){var s=t(i),c=r(s);if(0===c)return!n&&-1;var l,u=e(a,c);if(n&&o!=o){for(;c>u;)if((l=s[u++])!=l)return!0}else for(;c>u;u++)if((n||u in s)&&s[u]===o)return n||u||0;return!n&&-1}};return ur={includes:n(!0),indexOf:n(!1)}}().indexOf,i=Ke(),o=t([].push);return hr=function(t,a){var s,c=r(t),l=0,u=[];for(s in c)!e(i,s)&&e(c,s)&&o(u,s);for(;a.length>l;)e(c,s=a[l++])&&(~n(u,s)||o(u,s));return u}}function kr(){return vr?pr:(vr=1,pr=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"])}var Tr,Ar,Er,_r,Or,Nr,Cr,Rr,Pr,Lr,Ir,Fr,jr,Dr,Mr,Br,Wr,Ur,Hr,zr,Vr,qr,$r,Gr,Xr,Yr,Kr,Jr,Zr={};function Qr(){return Tr||(Tr=1,Zr.f=Object.getOwnPropertySymbols),Zr}function tn(){if(Er)return Ar;Er=1;var t=Ot(),e=wt(),r=function(){if(gr)return mr;gr=1;var t=xr(),e=kr().concat("length","prototype");return mr.f=Object.getOwnPropertyNames||function(r){return t(r,e)},mr}(),n=Qr(),i=Ne(),o=e([].concat);return Ar=t("Reflect","ownKeys")||function(t){var e=r.f(i(t)),a=n.f;return a?o(e,a(t)):e}}function en(){if(Or)return _r;Or=1;var t=he(),e=tn(),r=ye(),n=Ce();return _r=function(i,o,a){for(var s=e(o),c=n.f,l=r.f,u=0;u9007199254740991)throw t("Maximum allowed index exceeded");return e}}function an(){if(Mr)return Dr;Mr=1;var t=_(),e=Ce(),r=yt();return Dr=function(n,i,o){t?e.f(n,i,r(0,o)):n[i]=o}}function sn(){if(Wr)return Br;Wr=1;var t={};return t[pe()("toStringTag")]="z",Br="[object z]"===String(t)}function cn(){if(Hr)return Ur;Hr=1;var t=sn(),e=Et(),r=St(),n=pe()("toStringTag"),i=Object,o="Arguments"===r(function(){return arguments}());return Ur=t?r:function(t){var a,s,c;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(s=function(t,e){try{return t[e]}catch(t){}}(a=i(t),n))?s:o?r(a):"Object"===(c=r(a))&&e(a.callee)?"Arguments":c}}function ln(){if(Vr)return zr;Vr=1;var t=wt(),e=E(),r=Et(),n=cn(),i=Ot(),o=Xe(),a=function(){},s=i("Reflect","construct"),c=/^\s*(?:class|function)\b/,l=t(c.exec),u=!c.test(a),f=function(t){if(!r(t))return!1;try{return s(a,[],t),!0}catch(t){return!1}},h=function(t){if(!r(t))return!1;switch(n(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return u||!!l(c,o(t))}catch(t){return!0}};return h.sham=!0,zr=!s||e((function(){var t;return f(f.call)||!f(Object)||!f((function(){t=!0}))||t}))?h:f}function un(){if($r)return qr;$r=1;var t=nn(),e=ln(),r=_t(),n=pe()("species"),i=Array;return qr=function(o){var a;return t(o)&&(a=o.constructor,(e(a)&&(a===i||t(a.prototype))||r(a)&&null===(a=a[n]))&&(a=void 0)),void 0===a?i:a}}function fn(){if(Xr)return Gr;Xr=1;var t=un();return Gr=function(e,r){return new(t(e))(0===r?0:r)}}function hn(){if(Kr)return Yr;Kr=1;var t=E(),e=pe(),r=Nt(),n=e("species");return Yr=function(e){return r>=51||!t((function(){var t=[];return(t.constructor={})[n]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}}!function(){if(Jr)return v;Jr=1;var t=rn(),e=E(),r=nn(),n=_t(),i=fe(),o=Sr(),a=on(),s=an(),c=fn(),l=hn(),u=pe(),f=Nt(),h=u("isConcatSpreadable"),d=f>=51||!e((function(){var t=[];return t[h]=!1,t.concat()[0]!==t})),p=function(t){if(!n(t))return!1;var e=t[h];return void 0!==e?!!e:r(t)};t({target:"Array",proto:!0,arity:1,forced:!d||!l("concat")},{concat:function(t){var e,r,n,l,u,f=i(this),h=c(f,0),d=0;for(e=-1,n=arguments.length;eT;T++)if((d||T in S)&&(y=k(b=S[T],T,w),e))if(s)E[T]=y;else if(y)switch(e){case 3:return!0;case 5:return b;case 6:return T;case 2:a(E,b)}else switch(e){case 4:return!1;case 7:a(E,b)}return f?-1:l||u?u:E}};return mn={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6),filterReject:s(7)}}var xn,kn,Tn,An,En,_n,On,Nn,Cn,Rn,Pn={};function Ln(){if(kn)return xn;kn=1;var t=xr(),e=kr();return xn=Object.keys||function(r){return t(r,e)}}function In(){if(En)return An;En=1;var t=Ot();return An=t("document","documentElement")}function Fn(){if(On)return _n;On=1;var t,e=Ne(),r=function(){if(Tn)return Pn;Tn=1;var t=_(),e=Oe(),r=Ce(),n=Ne(),i=At(),o=Ln();return Pn.f=t&&!e?Object.defineProperties:function(t,e){n(t);for(var a,s=i(e),c=o(e),l=c.length,u=0;l>u;)r.f(t,a=c[u++],s[a]);return t},Pn}(),n=kr(),i=Ke(),o=In(),a=me(),s=Ye(),c="prototype",l="script",u=s("IE_PROTO"),f=function(){},h=function(t){return"<"+l+">"+t+""},d=function(t){t.write(h("")),t.close();var e=t.parentWindow.Object;return t=null,e},p=function(){try{t=new ActiveXObject("htmlfile")}catch(t){}var e,r,i;p="undefined"!=typeof document?document.domain&&t?d(t):(r=a("iframe"),i="java"+l+":",r.style.display="none",o.appendChild(r),r.src=String(i),(e=r.contentWindow.document).open(),e.write(h("document.F=Object")),e.close(),e.F):d(t);for(var s=n.length;s--;)delete p[c][n[s]];return p()};return i[u]=!0,_n=Object.create||function(t,n){var i;return null!==t?(f[c]=e(t),i=new f,f[c]=null,i[u]=t):i=p(),void 0===n?i:r.f(i,n)}}function jn(){if(Cn)return Nn;Cn=1;var t=pe(),e=Fn(),r=Ce().f,n=t("unscopables"),i=Array.prototype;return void 0===i[n]&&r(i,n,{configurable:!0,value:e(null)}),Nn=function(t){i[n][t]=!0}}!function(){if(Rn)return yn;Rn=1;var t=rn(),e=Sn().find,r=jn(),n="find",i=!0;n in[]&&Array(1)[n]((function(){i=!1})),t({target:"Array",proto:!0,forced:i},{find:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}}),r(n)}();var Dn,Mn,Bn,Wn={};function Un(){if(Mn)return Dn;Mn=1;var t=E();return Dn=function(e,r){var n=[][e];return!!n&&t((function(){n.call(null,r||function(){return 1},1)}))}}!function(){if(Bn)return Wn;Bn=1;var t=rn(),e=wt(),r=xt(),n=At(),i=Un(),o=e([].join);t({target:"Array",proto:!0,forced:r!==Object||!i("join",",")},{join:function(t){return o(n(this),void 0===t?",":t)}})}();var Hn,zn={};!function(){if(Hn)return zn;Hn=1;var t=rn(),e=Sn().map;t({target:"Array",proto:!0,forced:!hn()("map")},{map:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}})}();var Vn,qn,$n,Gn={};!function(){if($n)return Gn;$n=1;var t=rn(),e=nn(),r=ln(),n=_t(),i=yr(),o=Sr(),a=At(),s=an(),c=pe(),l=hn(),u=function(){if(qn)return Vn;qn=1;var t=wt();return Vn=t([].slice)}(),f=l("slice"),h=c("species"),d=Array,p=Math.max;t({target:"Array",proto:!0,forced:!f},{slice:function(t,c){var l,f,v,g=a(this),m=o(g),b=i(t,m),y=i(void 0===c?m:c,m);if(e(g)&&(l=g.constructor,(r(l)&&(l===d||e(l.prototype))||n(l)&&null===(l=l[h]))&&(l=void 0),l===d||void 0===l))return u(g,b,y);for(f=new(void 0===l?d:l)(p(y-b,0)),v=0;bh;)for(var v,g=c(arguments[h++]),m=d?f(i(g),d(g)):i(g),b=m.length,y=0;b>y;)v=m[y++],t&&!r(p,g,v)||(l[v]=g[v]);return l}:l,Xn}();t({target:"Object",stat:!0,arity:2,forced:Object.assign!==e},{assign:e})}();var Zn,Qn,ti,ei={};!function(){if(ti)return ei;ti=1;var t=sn(),e=Qe(),r=function(){if(Qn)return Zn;Qn=1;var t=sn(),e=cn();return Zn=t?{}.toString:function(){return"[object "+e(this)+"]"}}();t||e(Object.prototype,"toString",r,{unsafe:!0})}();var ri,ni,ii,oi,ai,si,ci,li,ui,fi,hi,di,pi,vi={};function gi(){if(ni)return ri;ni=1;var t=cn(),e=String;return ri=function(r){if("Symbol"===t(r))throw new TypeError("Cannot convert a Symbol value to a string");return e(r)}}function mi(){if(oi)return ii;oi=1;var t=Ne();return ii=function(){var e=t(this),r="";return e.hasIndices&&(r+="d"),e.global&&(r+="g"),e.ignoreCase&&(r+="i"),e.multiline&&(r+="m"),e.dotAll&&(r+="s"),e.unicode&&(r+="u"),e.unicodeSets&&(r+="v"),e.sticky&&(r+="y"),r}}function bi(){if(di)return hi;di=1;var t,e,r=N(),n=wt(),i=gi(),o=mi(),a=function(){if(si)return ai;si=1;var t=E(),e=g().RegExp,r=t((function(){var t=e("a","y");return t.lastIndex=2,null!==t.exec("abcd")})),n=r||t((function(){return!e("a","y").sticky})),i=r||t((function(){var t=e("^r","gy");return t.lastIndex=2,null!==t.exec("str")}));return ai={BROKEN_CARET:i,MISSED_STICKY:n,UNSUPPORTED_Y:r}}(),s=ue(),c=Fn(),l=Je().get,u=function(){if(li)return ci;li=1;var t=E(),e=g().RegExp;return ci=t((function(){var t=e(".","s");return!(t.dotAll&&t.test("\n")&&"s"===t.flags)}))}(),f=function(){if(fi)return ui;fi=1;var t=E(),e=g().RegExp;return ui=t((function(){var t=e("(?b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$c")}))}(),h=s("native-string-replace",String.prototype.replace),d=RegExp.prototype.exec,p=d,v=n("".charAt),m=n("".indexOf),b=n("".replace),y=n("".slice),w=(e=/b*/g,r(d,t=/a/,"a"),r(d,e,"a"),0!==t.lastIndex||0!==e.lastIndex),S=a.BROKEN_CARET,x=void 0!==/()??/.exec("")[1];return(w||x||S||u||f)&&(p=function(t){var e,n,a,s,u,f,g,k=this,T=l(k),A=i(t),E=T.raw;if(E)return E.lastIndex=k.lastIndex,e=r(p,E,A),k.lastIndex=E.lastIndex,e;var _=T.groups,O=S&&k.sticky,N=r(o,k),C=k.source,R=0,P=A;if(O&&(N=b(N,"y",""),-1===m(N,"g")&&(N+="g"),P=y(A,k.lastIndex),k.lastIndex>0&&(!k.multiline||k.multiline&&"\n"!==v(A,k.lastIndex-1))&&(C="(?: "+C+")",P=" "+P,R++),n=new RegExp("^(?:"+C+")",N)),x&&(n=new RegExp("^"+C+"$(?!\\s)",N)),w&&(a=k.lastIndex),s=r(d,O?n:k,P),O?s?(s.input=y(s.input,R),s[0]=y(s[0],R),s.index=k.lastIndex,k.lastIndex+=s[0].length):k.lastIndex=0:w&&s&&(k.lastIndex=k.global?s.index+s[0].length:a),x&&s&&s.length>1&&r(h,s[0],n,(function(){for(u=1;u=d?t?"":void 0:(l=o(f,h))<55296||l>56319||h+1===d||(u=o(f,h+1))<56320||u>57343?t?i(f,h):l:t?a(f,h,h+2):u-56320+(l-55296<<10)+65536}};return Ti={codeAt:s(!1),charAt:s(!0)}}().charAt;return Ei=function(e,r,n){return r+(n?t(e,r).length:1)}}function Fi(){if(Ni)return Oi;Ni=1;var t=wt(),e=fe(),r=Math.floor,n=t("".charAt),i=t("".replace),o=t("".slice),a=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,s=/\$([$&'`]|\d{1,2})/g;return Oi=function(t,c,l,u,f,h){var d=l+t.length,p=u.length,v=s;return void 0!==f&&(f=e(f),v=a),i(h,v,(function(e,i){var a;switch(n(i,0)){case"$":return"$";case"&":return t;case"`":return o(c,0,l);case"'":return o(c,d);case"<":a=f[o(i,1,-1)];break;default:var s=+i;if(0===s)return e;if(s>p){var h=r(s/10);return 0===h?e:h<=p?void 0===u[h-1]?n(i,1):u[h-1]+n(i,1):e}a=u[s-1]}return void 0===a?"":a}))}}!function(){if(Pi)return Li;Pi=1;var t=function(){if(Si)return wi;Si=1;var t=O(),e=Function.prototype,r=e.apply,n=e.call;return wi="object"==typeof Reflect&&Reflect.apply||(t?n.bind(r):function(){return n.apply(r,arguments)}),wi}(),e=N(),r=wt(),n=function(){if(ki)return xi;ki=1,yi();var t=N(),e=Qe(),r=bi(),n=E(),i=pe(),o=Re(),a=i("species"),s=RegExp.prototype;return xi=function(c,l,u,f){var h=i(c),d=!n((function(){var t={};return t[h]=function(){return 7},7!==""[c](t)})),p=d&&!n((function(){var t=!1,e=/a/;return"split"===c&&((e={}).constructor={},e.constructor[a]=function(){return e},e.flags="",e[h]=/./[h]),e.exec=function(){return t=!0,null},e[h](""),!t}));if(!d||!p||u){var v=/./[h],g=l(h,""[c],(function(e,n,i,o,a){var c=n.exec;return c===r||c===s.exec?d&&!a?{done:!0,value:t(v,n,i,o)}:{done:!0,value:t(e,i,n,o)}:{done:!1}}));e(String.prototype,c,g[0]),e(s,h,g[1])}f&&o(s[h],"sham",!0)}}(),i=E(),o=Ne(),a=Et(),s=kt(),c=br(),l=wr(),u=gi(),f=Tt(),h=Ii(),d=Ft(),p=Fi(),v=function(){if(Ri)return Ci;Ri=1;var t=N(),e=Ne(),r=Et(),n=St(),i=bi(),o=TypeError;return Ci=function(a,s){var c=a.exec;if(r(c)){var l=t(c,a,s);return null!==l&&e(l),l}if("RegExp"===n(a))return t(i,a,s);throw new o("RegExp#exec called on incompatible receiver")}}(),g=pe()("replace"),m=Math.max,b=Math.min,y=r([].concat),w=r([].push),S=r("".indexOf),x=r("".slice),k="$0"==="a".replace(/./,"$0"),T=!!/./[g]&&""===/./[g]("a","$0");n("replace",(function(r,n,i){var k=T?"$":"$0";return[function(t,r){var i=f(this),o=s(t)?void 0:d(t,g);return o?e(o,t,i,r):e(n,u(i),t,r)},function(e,r){var s=o(this),f=u(e);if("string"==typeof r&&-1===S(r,k)&&-1===S(r,"$<")){var d=i(n,s,f,r);if(d.done)return d.value}var g=a(r);g||(r=u(r));var T,A=s.global;A&&(T=s.unicode,s.lastIndex=0);for(var E,_=[];null!==(E=v(s,f))&&(w(_,E),A);){""===u(E[0])&&(s.lastIndex=h(f,l(s.lastIndex),T))}for(var O,N="",C=0,R=0;R<_.length;R++){for(var P,L=u((E=_[R])[0]),I=m(b(c(E.index),f.length),0),F=[],j=1;j=C&&(N+=x(f,C,I)+P,C=I+L.length)}return N+x(f,C)}]}),!!i((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$")}))||!k||T)}();var ji,Di,Mi,Bi,Wi,Ui,Hi,zi={};!function(){if(Hi)return zi;Hi=1;var t=g(),e=Di?ji:(Di=1,ji={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}),r=function(){if(Bi)return Mi;Bi=1;var t=me()("span").classList,e=t&&t.constructor&&t.constructor.prototype;return Mi=e===Object.prototype?void 0:e}(),n=function(){if(Ui)return Wi;Ui=1;var t=Sn().forEach,e=Un()("forEach");return Wi=e?[].forEach:function(e){return t(this,e,arguments.length>1?arguments[1]:void 0)},Wi}(),i=Re(),o=function(t){if(t&&t.forEach!==n)try{i(t,"forEach",n)}catch(e){t.forEach=n}};for(var a in e)e[a]&&o(t[a]&&t[a].prototype);o(r)}();var Vi=t.fn.bootstrapTable.utils,qi={json:"JSON",xml:"XML",png:"PNG",csv:"CSV",txt:"TXT",sql:"SQL",doc:"MS-Word",excel:"MS-Excel",xlsx:"MS-Excel (OpenXML)",powerpoint:"MS-Powerpoint",pdf:"PDF"};Object.assign(t.fn.bootstrapTable.defaults,{showExport:!1,exportDataType:"basic",exportTypes:["json","xml","csv","txt","sql","excel"],exportOptions:{},exportFooter:!1}),Object.assign(t.fn.bootstrapTable.columnDefaults,{forceExport:!1,forceHide:!1}),Object.assign(t.fn.bootstrapTable.defaults.icons,{export:{bootstrap3:"glyphicon-export icon-share",bootstrap5:"bi-download",materialize:"file_download","bootstrap-table":"icon-download"}[t.fn.bootstrapTable.theme]||"fa-download"}),Object.assign(t.fn.bootstrapTable.locales,{formatExport:function(){return"Export data"}}),Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales),t.fn.bootstrapTable.methods.push("exportTable"),Object.assign(t.fn.bootstrapTable.defaults,{onExportSaved:function(t){return!1},onExportStarted:function(){return!1}}),Object.assign(t.fn.bootstrapTable.events,{"export-saved.bs.table":"onExportSaved","export-started.bs.table":"onExportStarted"}),t.BootstrapTable=function(e){function a(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),r(this,a,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&&l(t,e)}(a,e),n(a,[{key:"initToolbar",value:function(){var e=this,r=this.options,n=r.exportTypes;if(this.showToolbar=this.showToolbar||r.showExport,this.options.showExport){if("string"==typeof n){var o=n.slice(1,-1).replace(/ /g,"").split(",");n=o.map((function(t){return t.slice(1,-1)}))}if("string"==typeof r.exportOptions&&(r.exportOptions=Vi.calculateObjectValue(null,r.exportOptions)),this.$export=this.$toolbar.find(">.columns div.export"),this.$export.length)return void this.updateExportButton();this.buttons=Object.assign(this.buttons,{export:{html:function(){if(1===n.length)return'\n
    \n \n
    \n ");var o=[];o.push('\n
    \n \n ").concat(e.constants.html.toolbarDropdown[0],"\n "));var a,s=i(n);try{for(s.s();!(a=s.n()).done;){var c=a.value;if(qi.hasOwnProperty(c)){var l=t(Vi.sprintf(e.constants.html.pageDropdownItem,"",qi[c]));l.attr("data-type",c),o.push(l.prop("outerHTML"))}}}catch(t){s.e(t)}finally{s.f()}return o.push(e.constants.html.toolbarDropdown[1],"
    "),o.join("")}}})}for(var s=arguments.length,c=new Array(s),l=0;l.columns div.export"),this.options.showExport){this.updateExportButton();var f=this.$export.find("[data-type]");1===n.length&&(f=this.$export),f.click((function(r){r.preventDefault(),e.trigger("export-started"),e.exportTable({type:t(r.currentTarget).data("type")})})),this.handleToolbar()}}},{key:"handleToolbar",value:function(){this.$export&&u(a,"handleToolbar",this,1)&&u(a,"handleToolbar",this,3)([])}},{key:"exportTable",value:function(e){var r=this,n=this.options,i=this.header.stateField,a=n.cardView,s=function(o){i&&r.hideColumn(i),a&&r.toggleView(),r.columns.forEach((function(t){t.forceHide&&r.hideColumn(t.field)}));var s=r.getData();if(n.detailView&&n.detailViewIcon){var c="left"===n.detailViewAlign?0:r.getVisibleFields().length+Vi.getDetailViewIndexOffset(r.options);n.exportOptions.ignoreColumn=[c].concat(n.exportOptions.ignoreColumn||[])}if(n.exportFooter&&n.height){var l=r.$tableFooter.find("tr").first(),u={},f=[];l.children().forEach((function(e,n){var i=t(e).children(".th-inner").first().html();u[r.columns[n].field]=" "===i?null:i,f.push(i)})),r.$body.append(r.$body.children().last()[0].outerHTML),r.$body.children().last().children().forEach((function(e,r){t(e).html(f[r])}))}var h=r.getHiddenColumns();h.forEach((function(t){t.forceExport&&r.showColumn(t.field)})),"function"==typeof n.exportOptions.fileName&&(e.fileName=n.exportOptions.fileName()),r.$el.tableExport(Vi.extend({onAfterSaveToFile:function(){n.exportFooter&&r.load(s),i&&r.showColumn(i),a&&r.toggleView(),h.forEach((function(t){t.forceExport&&r.hideColumn(t.field)})),r.columns.forEach((function(t){t.forceHide&&r.showColumn(t.field)})),o&&o()}},n.exportOptions,e))};if("all"===n.exportDataType&&n.pagination){var c="server"===n.sidePagination?"post-body.bs.table":"page-change.bs.table",l=this.options.virtualScroll;this.$el.one(c,(function(){setTimeout((function(){var t=r.getData();s((function(){r.options.virtualScroll=l,r.togglePagination()})),r.trigger("export-saved",t)}),0)})),this.options.virtualScroll=!1,this.togglePagination()}else if("selected"===n.exportDataType){var u=this.getData(),f=this.getSelections(),h=n.pagination;if(!f.length)return;"server"===n.sidePagination&&(u=o({total:n.totalRows},this.options.dataField,u),f=o({total:f.length},this.options.dataField,f)),this.load(f),h&&this.togglePagination(),s((function(){h&&r.togglePagination(),r.load(u)})),this.trigger("export-saved",f)}else s(),this.trigger("export-saved",this.getData(!0))}},{key:"updateSelected",value:function(){u(a,"updateSelected",this,3)([]),this.updateExportButton()}},{key:"updateExportButton",value:function(){"selected"===this.options.exportDataType&&this.$export.find("> button").prop("disabled",!this.getSelections().length)}}])}(t.BootstrapTable)})),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){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){s=!0,o=t},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw o}}}}function o(){return o="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,r){var n=function(t,e){for(;!{}.hasOwnProperty.call(t,e)&&null!==(t=a(t)););return t}(t,e);if(n){var i=Object.getOwnPropertyDescriptor(n,e);return i.get?i.get.call(arguments.length<3?t:r):i.value}},o.apply(null,arguments)}function a(t){return a=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},a(t)}function s(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(s=function(){return!!t})()}function c(t,e){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},c(t,e)}function l(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,a,s=[],c=!0,l=!1;try{if(o=(r=r.call(t)).next,0===e);else for(;!(c=(n=o.call(r)).done)&&(s.push(n.value),s.length!==e);c=!0);}catch(t){l=!0,i=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw i}}return s}}(t,e)||h(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(t,e,r,n){var i=o(a(t.prototype),e,r);return function(t){return i.apply(r,t)}}function f(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"==typeof e?e:e+""}function h(t,r){if(t){if("string"==typeof t)return e(t,r);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?e(t,r):void 0}}var d,p,v="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},g={};function m(){if(p)return d;p=1;var t=function(t){return t&&t.Math===Math&&t};return d=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof v&&v)||t("object"==typeof d&&d)||function(){return this}()||Function("return this")()}var b,y,w,S,x,k,T,A,E={};function _(){return y?b:(y=1,b=function(t){try{return!!t()}catch(t){return!0}})}function O(){if(S)return w;S=1;var t=_();return w=!t((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))}function N(){if(k)return x;k=1;var t=_();return x=!t((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))}function C(){if(A)return T;A=1;var t=N(),e=Function.prototype.call;return T=t?e.bind(e):function(){return e.apply(e,arguments)},T}var R,P,L,I,F,j,D,M,B,W,U,H,z,V,q,$,G,X,Y,K,J,Z,Q,tt,et,rt,nt,it,ot,at,st,ct,lt,ut,ft,ht,dt,pt,vt,gt,mt,bt={};function yt(){if(R)return bt;R=1;var t={}.propertyIsEnumerable,e=Object.getOwnPropertyDescriptor,r=e&&!t.call({1:2},1);return bt.f=r?function(t){var r=e(this,t);return!!r&&r.enumerable}:t,bt}function wt(){return L?P:(L=1,P=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}})}function St(){if(F)return I;F=1;var t=N(),e=Function.prototype,r=e.call,n=t&&e.bind.bind(r,r);return I=t?n:function(t){return function(){return r.apply(t,arguments)}},I}function xt(){if(D)return j;D=1;var t=St(),e=t({}.toString),r=t("".slice);return j=function(t){return r(e(t),8,-1)}}function kt(){if(B)return M;B=1;var t=St(),e=_(),r=xt(),n=Object,i=t("".split);return M=e((function(){return!n("z").propertyIsEnumerable(0)}))?function(t){return"String"===r(t)?i(t,""):n(t)}:n}function Tt(){return U?W:(U=1,W=function(t){return null==t})}function At(){if(z)return H;z=1;var t=Tt(),e=TypeError;return H=function(r){if(t(r))throw new e("Can't call method on "+r);return r}}function Et(){if(q)return V;q=1;var t=kt(),e=At();return V=function(r){return t(e(r))}}function _t(){if(G)return $;G=1;var t="object"==typeof document&&document.all;return $=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(t){return"function"==typeof t}}function Ot(){if(Y)return X;Y=1;var t=_t();return X=function(e){return"object"==typeof e?null!==e:t(e)}}function Nt(){if(J)return K;J=1;var t=m(),e=_t();return K=function(r,n){return arguments.length<2?(i=t[r],e(i)?i:void 0):t[r]&&t[r][n];var i},K}function Ct(){if(Q)return Z;Q=1;var t=St();return Z=t({}.isPrototypeOf)}function Rt(){if(nt)return rt;nt=1;var t,e,r=m(),n=function(){if(et)return tt;et=1;var t=m().navigator,e=t&&t.userAgent;return tt=e?String(e):""}(),i=r.process,o=r.Deno,a=i&&i.versions||o&&o.version,s=a&&a.v8;return s&&(e=(t=s.split("."))[0]>0&&t[0]<4?1:+(t[0]+t[1])),!e&&n&&(!(t=n.match(/Edge\/(\d+)/))||t[1]>=74)&&(t=n.match(/Chrome\/(\d+)/))&&(e=+t[1]),rt=e}function Pt(){if(ot)return it;ot=1;var t=Rt(),e=_(),r=m().String;return it=!!Object.getOwnPropertySymbols&&!e((function(){var e=Symbol("symbol detection");return!r(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&t&&t<41}))}function Lt(){if(st)return at;st=1;var t=Pt();return at=t&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}function It(){if(lt)return ct;lt=1;var t=Nt(),e=_t(),r=Ct(),n=Lt(),i=Object;return ct=n?function(t){return"symbol"==typeof t}:function(n){var o=t("Symbol");return e(o)&&r(o.prototype,i(n))}}function Ft(){if(ft)return ut;ft=1;var t=String;return ut=function(e){try{return t(e)}catch(t){return"Object"}}}function jt(){if(dt)return ht;dt=1;var t=_t(),e=Ft(),r=TypeError;return ht=function(n){if(t(n))return n;throw new r(e(n)+" is not a function")}}function Dt(){if(vt)return pt;vt=1;var t=jt(),e=Tt();return pt=function(r,n){var i=r[n];return e(i)?void 0:t(i)}}function Mt(){if(mt)return gt;mt=1;var t=C(),e=_t(),r=Ot(),n=TypeError;return gt=function(i,o){var a,s;if("string"===o&&e(a=i.toString)&&!r(s=t(a,i)))return s;if(e(a=i.valueOf)&&!r(s=t(a,i)))return s;if("string"!==o&&e(a=i.toString)&&!r(s=t(a,i)))return s;throw new n("Can't convert object to primitive value")}}var Bt,Wt,Ut,Ht,zt,Vt,qt,$t,Gt,Xt,Yt,Kt,Jt,Zt,Qt,te,ee,re,ne,ie,oe,ae,se,ce,le={exports:{}};function ue(){if(Ht)return Ut;Ht=1;var t=m(),e=Object.defineProperty;return Ut=function(r,n){try{e(t,r,{value:n,configurable:!0,writable:!0})}catch(e){t[r]=n}return n}}function fe(){if(zt)return le.exports;zt=1;var t=Wt?Bt:(Wt=1,Bt=!1),e=m(),r=ue(),n="__core-js_shared__",i=le.exports=e[n]||r(n,{});return(i.versions||(i.versions=[])).push({version:"3.38.1",mode:t?"pure":"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"}),le.exports}function he(){if(qt)return Vt;qt=1;var t=fe();return Vt=function(e,r){return t[e]||(t[e]=r||{})}}function de(){if(Gt)return $t;Gt=1;var t=At(),e=Object;return $t=function(r){return e(t(r))}}function pe(){if(Yt)return Xt;Yt=1;var t=St(),e=de(),r=t({}.hasOwnProperty);return Xt=Object.hasOwn||function(t,n){return r(e(t),n)}}function ve(){if(Jt)return Kt;Jt=1;var t=St(),e=0,r=Math.random(),n=t(1..toString);return Kt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+n(++e+r,36)}}function ge(){if(Qt)return Zt;Qt=1;var t=m(),e=he(),r=pe(),n=ve(),i=Pt(),o=Lt(),a=t.Symbol,s=e("wks"),c=o?a.for||a:a&&a.withoutSetter||n;return Zt=function(t){return r(s,t)||(s[t]=i&&r(a,t)?a[t]:c("Symbol."+t)),s[t]}}function me(){if(ee)return te;ee=1;var t=C(),e=Ot(),r=It(),n=Dt(),i=Mt(),o=ge(),a=TypeError,s=o("toPrimitive");return te=function(o,c){if(!e(o)||r(o))return o;var l,u=n(o,s);if(u){if(void 0===c&&(c="default"),l=t(u,o,c),!e(l)||r(l))return l;throw new a("Can't convert object to primitive value")}return void 0===c&&(c="number"),i(o,c)}}function be(){if(ne)return re;ne=1;var t=me(),e=It();return re=function(r){var n=t(r,"string");return e(n)?n:n+""}}function ye(){if(oe)return ie;oe=1;var t=m(),e=Ot(),r=t.document,n=e(r)&&e(r.createElement);return ie=function(t){return n?r.createElement(t):{}}}function we(){if(se)return ae;se=1;var t=O(),e=_(),r=ye();return ae=!t&&!e((function(){return 7!==Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a}))}function Se(){if(ce)return E;ce=1;var t=O(),e=C(),r=yt(),n=wt(),i=Et(),o=be(),a=pe(),s=we(),c=Object.getOwnPropertyDescriptor;return E.f=t?c:function(t,l){if(t=i(t),l=o(l),s)try{return c(t,l)}catch(t){}if(a(t,l))return n(!e(r.f,t,l),t[l])},E}var xe,ke,Te,Ae,Ee,_e,Oe,Ne={};function Ce(){if(ke)return xe;ke=1;var t=O(),e=_();return xe=t&&e((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))}function Re(){if(Ae)return Te;Ae=1;var t=Ot(),e=String,r=TypeError;return Te=function(n){if(t(n))return n;throw new r(e(n)+" is not an object")}}function Pe(){if(Ee)return Ne;Ee=1;var t=O(),e=we(),r=Ce(),n=Re(),i=be(),o=TypeError,a=Object.defineProperty,s=Object.getOwnPropertyDescriptor,c="enumerable",l="configurable",u="writable";return Ne.f=t?r?function(t,e,r){if(n(t),e=i(e),n(r),"function"==typeof t&&"prototype"===e&&"value"in r&&u in r&&!r[u]){var o=s(t,e);o&&o[u]&&(t[e]=r.value,r={configurable:l in r?r[l]:o[l],enumerable:c in r?r[c]:o[c],writable:!1})}return a(t,e,r)}:a:function(t,r,s){if(n(t),r=i(r),n(s),e)try{return a(t,r,s)}catch(t){}if("get"in s||"set"in s)throw new o("Accessors not supported");return"value"in s&&(t[r]=s.value),t},Ne}function Le(){if(Oe)return _e;Oe=1;var t=O(),e=Pe(),r=wt();return _e=t?function(t,n,i){return e.f(t,n,r(1,i))}:function(t,e,r){return t[e]=r,t}}var Ie,Fe,je,De,Me,Be,We,Ue,He,ze,Ve,qe,$e,Ge,Xe,Ye={exports:{}};function Ke(){if(Fe)return Ie;Fe=1;var t=O(),e=pe(),r=Function.prototype,n=t&&Object.getOwnPropertyDescriptor,i=e(r,"name"),o=i&&"something"===function(){}.name,a=i&&(!t||t&&n(r,"name").configurable);return Ie={EXISTS:i,PROPER:o,CONFIGURABLE:a}}function Je(){if(De)return je;De=1;var t=St(),e=_t(),r=fe(),n=t(Function.toString);return e(r.inspectSource)||(r.inspectSource=function(t){return n(t)}),je=r.inspectSource}function Ze(){if(Ue)return We;Ue=1;var t=he(),e=ve(),r=t("keys");return We=function(t){return r[t]||(r[t]=e(t))}}function Qe(){return ze?He:(ze=1,He={})}function tr(){if(qe)return Ve;qe=1;var t,e,r,n=function(){if(Be)return Me;Be=1;var t=m(),e=_t(),r=t.WeakMap;return Me=e(r)&&/native code/.test(String(r))}(),i=m(),o=Ot(),a=Le(),s=pe(),c=fe(),l=Ze(),u=Qe(),f="Object already initialized",h=i.TypeError,d=i.WeakMap;if(n||c.state){var p=c.state||(c.state=new d);p.get=p.get,p.has=p.has,p.set=p.set,t=function(t,e){if(p.has(t))throw new h(f);return e.facade=t,p.set(t,e),e},e=function(t){return p.get(t)||{}},r=function(t){return p.has(t)}}else{var v=l("state");u[v]=!0,t=function(t,e){if(s(t,v))throw new h(f);return e.facade=t,a(t,v,e),e},e=function(t){return s(t,v)?t[v]:{}},r=function(t){return s(t,v)}}return Ve={set:t,get:e,has:r,enforce:function(n){return r(n)?e(n):t(n,{})},getterFor:function(t){return function(r){var n;if(!o(r)||(n=e(r)).type!==t)throw new h("Incompatible receiver, "+t+" required");return n}}}}function er(){if($e)return Ye.exports;$e=1;var t=St(),e=_(),r=_t(),n=pe(),i=O(),o=Ke().CONFIGURABLE,a=Je(),s=tr(),c=s.enforce,l=s.get,u=String,f=Object.defineProperty,h=t("".slice),d=t("".replace),p=t([].join),v=i&&!e((function(){return 8!==f((function(){}),"length",{value:8}).length})),g=String(String).split("String"),m=Ye.exports=function(t,e,r){"Symbol("===h(u(e),0,7)&&(e="["+d(u(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!n(t,"name")||o&&t.name!==e)&&(i?f(t,"name",{value:e,configurable:!0}):t.name=e),v&&r&&n(r,"arity")&&t.length!==r.arity&&f(t,"length",{value:r.arity});try{r&&n(r,"constructor")&&r.constructor?i&&f(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var a=c(t);return n(a,"source")||(a.source=p(g,"string"==typeof e?e:"")),t};return Function.prototype.toString=m((function(){return r(this)&&l(this).source||a(this)}),"toString"),Ye.exports}function rr(){if(Xe)return Ge;Xe=1;var t=_t(),e=Pe(),r=er(),n=ue();return Ge=function(i,o,a,s){s||(s={});var c=s.enumerable,l=void 0!==s.name?s.name:o;if(t(a)&&r(a,l,s),s.global)c?i[o]=a:n(o,a);else{try{s.unsafe?i[o]&&(c=!0):delete i[o]}catch(t){}c?i[o]=a:e.f(i,o,{value:a,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return i}}var nr,ir,or,ar,sr,cr,lr,ur,fr,hr,dr,pr,vr,gr,mr,br,yr,wr={};function Sr(){if(ar)return or;ar=1;var t=function(){if(ir)return nr;ir=1;var t=Math.ceil,e=Math.floor;return nr=Math.trunc||function(r){var n=+r;return(n>0?e:t)(n)}}();return or=function(e){var r=+e;return r!=r||0===r?0:t(r)}}function xr(){if(cr)return sr;cr=1;var t=Sr(),e=Math.max,r=Math.min;return sr=function(n,i){var o=t(n);return o<0?e(o+i,0):r(o,i)}}function kr(){if(ur)return lr;ur=1;var t=Sr(),e=Math.min;return lr=function(r){var n=t(r);return n>0?e(n,9007199254740991):0}}function Tr(){if(hr)return fr;hr=1;var t=kr();return fr=function(e){return t(e.length)}}function Ar(){if(pr)return dr;pr=1;var t=Et(),e=xr(),r=Tr(),n=function(n){return function(i,o,a){var s=t(i),c=r(s);if(0===c)return!n&&-1;var l,u=e(a,c);if(n&&o!=o){for(;c>u;)if((l=s[u++])!=l)return!0}else for(;c>u;u++)if((n||u in s)&&s[u]===o)return n||u||0;return!n&&-1}};return dr={includes:n(!0),indexOf:n(!1)}}function Er(){if(gr)return vr;gr=1;var t=St(),e=pe(),r=Et(),n=Ar().indexOf,i=Qe(),o=t([].push);return vr=function(t,a){var s,c=r(t),l=0,u=[];for(s in c)!e(i,s)&&e(c,s)&&o(u,s);for(;a.length>l;)e(c,s=a[l++])&&(~n(u,s)||o(u,s));return u}}function _r(){return br?mr:(br=1,mr=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"])}var Or,Nr,Cr,Rr,Pr,Lr,Ir,Fr,jr,Dr,Mr,Br,Wr,Ur,Hr,zr,Vr,qr,$r,Gr,Xr,Yr,Kr,Jr,Zr,Qr,tn,en,rn={};function nn(){return Or||(Or=1,rn.f=Object.getOwnPropertySymbols),rn}function on(){if(Cr)return Nr;Cr=1;var t=Nt(),e=St(),r=function(){if(yr)return wr;yr=1;var t=Er(),e=_r().concat("length","prototype");return wr.f=Object.getOwnPropertyNames||function(r){return t(r,e)},wr}(),n=nn(),i=Re(),o=e([].concat);return Nr=t("Reflect","ownKeys")||function(t){var e=r.f(i(t)),a=n.f;return a?o(e,a(t)):e}}function an(){if(Pr)return Rr;Pr=1;var t=pe(),e=on(),r=Se(),n=Pe();return Rr=function(i,o,a){for(var s=e(o),c=n.f,l=r.f,u=0;u9007199254740991)throw t("Maximum allowed index exceeded");return e}}function un(){if(Hr)return Ur;Hr=1;var t=O(),e=Pe(),r=wt();return Ur=function(n,i,o){t?e.f(n,i,r(0,o)):n[i]=o}}function fn(){if(Vr)return zr;Vr=1;var t={};return t[ge()("toStringTag")]="z",zr="[object z]"===String(t)}function hn(){if($r)return qr;$r=1;var t=fn(),e=_t(),r=xt(),n=ge()("toStringTag"),i=Object,o="Arguments"===r(function(){return arguments}());return qr=t?r:function(t){var a,s,c;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(s=function(t,e){try{return t[e]}catch(t){}}(a=i(t),n))?s:o?r(a):"Object"===(c=r(a))&&e(a.callee)?"Arguments":c}}function dn(){if(Xr)return Gr;Xr=1;var t=St(),e=_(),r=_t(),n=hn(),i=Nt(),o=Je(),a=function(){},s=i("Reflect","construct"),c=/^\s*(?:class|function)\b/,l=t(c.exec),u=!c.test(a),f=function(t){if(!r(t))return!1;try{return s(a,[],t),!0}catch(t){return!1}},h=function(t){if(!r(t))return!1;switch(n(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return u||!!l(c,o(t))}catch(t){return!0}};return h.sham=!0,Gr=!s||e((function(){var t;return f(f.call)||!f(Object)||!f((function(){t=!0}))||t}))?h:f}function pn(){if(Kr)return Yr;Kr=1;var t=cn(),e=dn(),r=Ot(),n=ge()("species"),i=Array;return Yr=function(o){var a;return t(o)&&(a=o.constructor,(e(a)&&(a===i||t(a.prototype))||r(a)&&null===(a=a[n]))&&(a=void 0)),void 0===a?i:a}}function vn(){if(Zr)return Jr;Zr=1;var t=pn();return Jr=function(e,r){return new(t(e))(0===r?0:r)}}function gn(){if(tn)return Qr;tn=1;var t=_(),e=ge(),r=Rt(),n=e("species");return Qr=function(e){return r>=51||!t((function(){var t=[];return(t.constructor={})[n]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}}!function(){if(en)return g;en=1;var t=sn(),e=_(),r=cn(),n=Ot(),i=de(),o=Tr(),a=ln(),s=un(),c=vn(),l=gn(),u=ge(),f=Rt(),h=u("isConcatSpreadable"),d=f>=51||!e((function(){var t=[];return t[h]=!1,t.concat()[0]!==t})),p=function(t){if(!n(t))return!1;var e=t[h];return void 0!==e?!!e:r(t)};t({target:"Array",proto:!0,arity:1,forced:!d||!l("concat")},{concat:function(t){var e,r,n,l,u,f=i(this),h=c(f,0),d=0;for(e=-1,n=arguments.length;eT;T++)if((d||T in S)&&(y=k(b=S[T],T,w),e))if(s)E[T]=y;else if(y)switch(e){case 3:return!0;case 5:return b;case 6:return T;case 2:a(E,b)}else switch(e){case 4:return!1;case 7:a(E,b)}return f?-1:l||u?u:E}};return Sn={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6),filterReject:s(7)}}!function(){if(kn)return Tn;kn=1;var t=sn(),e=En().filter;t({target:"Array",proto:!0,forced:!gn()("filter")},{filter:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}})}();var _n,On,Nn,Cn,Rn,Pn,Ln,In,Fn,jn,Dn={},Mn={};function Bn(){if(On)return _n;On=1;var t=Er(),e=_r();return _n=Object.keys||function(r){return t(r,e)}}function Wn(){if(Rn)return Cn;Rn=1;var t=Nt();return Cn=t("document","documentElement")}function Un(){if(Ln)return Pn;Ln=1;var t,e=Re(),r=function(){if(Nn)return Mn;Nn=1;var t=O(),e=Ce(),r=Pe(),n=Re(),i=Et(),o=Bn();return Mn.f=t&&!e?Object.defineProperties:function(t,e){n(t);for(var a,s=i(e),c=o(e),l=c.length,u=0;l>u;)r.f(t,a=c[u++],s[a]);return t},Mn}(),n=_r(),i=Qe(),o=Wn(),a=ye(),s=Ze(),c="prototype",l="script",u=s("IE_PROTO"),f=function(){},h=function(t){return"<"+l+">"+t+""},d=function(t){t.write(h("")),t.close();var e=t.parentWindow.Object;return t=null,e},p=function(){try{t=new ActiveXObject("htmlfile")}catch(t){}var e,r,i;p="undefined"!=typeof document?document.domain&&t?d(t):(r=a("iframe"),i="java"+l+":",r.style.display="none",o.appendChild(r),r.src=String(i),(e=r.contentWindow.document).open(),e.write(h("document.F=Object")),e.close(),e.F):d(t);for(var s=n.length;s--;)delete p[c][n[s]];return p()};return i[u]=!0,Pn=Object.create||function(t,n){var i;return null!==t?(f[c]=e(t),i=new f,f[c]=null,i[u]=t):i=p(),void 0===n?i:r.f(i,n)}}function Hn(){if(Fn)return In;Fn=1;var t=ge(),e=Un(),r=Pe().f,n=t("unscopables"),i=Array.prototype;return void 0===i[n]&&r(i,n,{configurable:!0,value:e(null)}),In=function(t){i[n][t]=!0}}!function(){if(jn)return Dn;jn=1;var t=sn(),e=En().find,r=Hn(),n="find",i=!0;n in[]&&Array(1)[n]((function(){i=!1})),t({target:"Array",proto:!0,forced:i},{find:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}}),r(n)}();var zn,Vn={};!function(){if(zn)return Vn;zn=1;var t=sn(),e=Ar().includes,r=_(),n=Hn();t({target:"Array",proto:!0,forced:r((function(){return!Array(1).includes()}))},{includes:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}}),n("includes")}();var qn,$n,Gn,Xn={};function Yn(){if($n)return qn;$n=1;var t=_();return qn=function(e,r){var n=[][e];return!!n&&t((function(){n.call(null,r||function(){return 1},1)}))}}!function(){if(Gn)return Xn;Gn=1;var t=sn(),e=St(),r=kt(),n=Et(),i=Yn(),o=e([].join);t({target:"Array",proto:!0,forced:r!==Object||!i("join",",")},{join:function(t){return o(n(this),void 0===t?",":t)}})}();var Kn,Jn={};!function(){if(Kn)return Jn;Kn=1;var t=sn(),e=En().map;t({target:"Array",proto:!0,forced:!gn()("map")},{map:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}})}();var Zn,Qn={};!function(){if(Zn)return Qn;Zn=1;var t=sn(),e=_(),r=de(),n=me();t({target:"Date",proto:!0,arity:1,forced:e((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}))},{toJSON:function(t){var e=r(this),i=n(e,"number");return"number"!=typeof i||isFinite(i)?e.toISOString():null}})}();var ti,ei,ri,ni={};!function(){if(ri)return ni;ri=1;var t=sn(),e=function(){if(ei)return ti;ei=1;var t=O(),e=St(),r=C(),n=_(),i=Bn(),o=nn(),a=yt(),s=de(),c=kt(),l=Object.assign,u=Object.defineProperty,f=e([].concat);return ti=!l||n((function(){if(t&&1!==l({b:1},l(u({},"a",{enumerable:!0,get:function(){u(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},r={},n=Symbol("assign detection"),o="abcdefghijklmnopqrst";return e[n]=7,o.split("").forEach((function(t){r[t]=t})),7!==l({},e)[n]||i(l({},r)).join("")!==o}))?function(e,n){for(var l=s(e),u=arguments.length,h=1,d=o.f,p=a.f;u>h;)for(var v,g=c(arguments[h++]),m=d?f(i(g),d(g)):i(g),b=m.length,y=0;b>y;)v=m[y++],t&&!r(p,g,v)||(l[v]=g[v]);return l}:l,ti}();t({target:"Object",stat:!0,arity:2,forced:Object.assign!==e},{assign:e})}();var ii,oi,ai,si,ci,li,ui,fi={};function hi(){if(si)return ai;si=1;var t=pe(),e=_t(),r=de(),n=Ze(),i=function(){if(oi)return ii;oi=1;var t=_();return ii=!t((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))}(),o=n("IE_PROTO"),a=Object,s=a.prototype;return ai=i?a.getPrototypeOf:function(n){var i=r(n);if(t(i,o))return i[o];var c=i.constructor;return e(c)&&i instanceof c?c.prototype:i instanceof a?s:null}}!function(){if(ui)return fi;ui=1;var t=sn(),e=function(){if(li)return ci;li=1;var t=O(),e=_(),r=St(),n=hi(),i=Bn(),o=Et(),a=r(yt().f),s=r([].push),c=t&&e((function(){var t=Object.create(null);return t[2]=2,!a(t,2)})),l=function(e){return function(r){for(var l,u=o(r),f=i(u),h=c&&null===n(u),d=f.length,p=0,v=[];d>p;)l=f[p++],t&&!(h?l in u:a(u,l))||s(v,e?[l,u[l]]:u[l]);return v}};return ci={entries:l(!0),values:l(!1)}}().entries;t({target:"Object",stat:!0},{entries:function(t){return e(t)}})}();var di,pi={};!function(){if(di)return pi;di=1;var t=sn(),e=de(),r=Bn();t({target:"Object",stat:!0,forced:_()((function(){r(1)}))},{keys:function(t){return r(e(t))}})}();var vi,gi,mi,bi={};!function(){if(mi)return bi;mi=1;var t=fn(),e=rr(),r=function(){if(gi)return vi;gi=1;var t=fn(),e=hn();return vi=t?{}.toString:function(){return"[object "+e(this)+"]"}}();t||e(Object.prototype,"toString",r,{unsafe:!0})}();var yi,wi,Si,xi,ki,Ti,Ai,Ei,_i,Oi,Ni,Ci,Ri,Pi={};function Li(){if(wi)return yi;wi=1;var t=hn(),e=String;return yi=function(r){if("Symbol"===t(r))throw new TypeError("Cannot convert a Symbol value to a string");return e(r)}}function Ii(){if(xi)return Si;xi=1;var t=Re();return Si=function(){var e=t(this),r="";return e.hasIndices&&(r+="d"),e.global&&(r+="g"),e.ignoreCase&&(r+="i"),e.multiline&&(r+="m"),e.dotAll&&(r+="s"),e.unicode&&(r+="u"),e.unicodeSets&&(r+="v"),e.sticky&&(r+="y"),r}}function Fi(){if(Ci)return Ni;Ci=1;var t,e,r=C(),n=St(),i=Li(),o=Ii(),a=function(){if(Ti)return ki;Ti=1;var t=_(),e=m().RegExp,r=t((function(){var t=e("a","y");return t.lastIndex=2,null!==t.exec("abcd")})),n=r||t((function(){return!e("a","y").sticky})),i=r||t((function(){var t=e("^r","gy");return t.lastIndex=2,null!==t.exec("str")}));return ki={BROKEN_CARET:i,MISSED_STICKY:n,UNSUPPORTED_Y:r}}(),s=he(),c=Un(),l=tr().get,u=function(){if(Ei)return Ai;Ei=1;var t=_(),e=m().RegExp;return Ai=t((function(){var t=e(".","s");return!(t.dotAll&&t.test("\n")&&"s"===t.flags)}))}(),f=function(){if(Oi)return _i;Oi=1;var t=_(),e=m().RegExp;return _i=t((function(){var t=e("(?
    b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$c")}))}(),h=s("native-string-replace",String.prototype.replace),d=RegExp.prototype.exec,p=d,v=n("".charAt),g=n("".indexOf),b=n("".replace),y=n("".slice),w=(e=/b*/g,r(d,t=/a/,"a"),r(d,e,"a"),0!==t.lastIndex||0!==e.lastIndex),S=a.BROKEN_CARET,x=void 0!==/()??/.exec("")[1];return(w||x||S||u||f)&&(p=function(t){var e,n,a,s,u,f,m,k=this,T=l(k),A=i(t),E=T.raw;if(E)return E.lastIndex=k.lastIndex,e=r(p,E,A),k.lastIndex=E.lastIndex,e;var _=T.groups,O=S&&k.sticky,N=r(o,k),C=k.source,R=0,P=A;if(O&&(N=b(N,"y",""),-1===g(N,"g")&&(N+="g"),P=y(A,k.lastIndex),k.lastIndex>0&&(!k.multiline||k.multiline&&"\n"!==v(A,k.lastIndex-1))&&(C="(?: "+C+")",P=" "+P,R++),n=new RegExp("^(?:"+C+")",N)),x&&(n=new RegExp("^"+C+"$(?!\\s)",N)),w&&(a=k.lastIndex),s=r(d,O?n:k,P),O?s?(s.input=y(s.input,R),s[0]=y(s[0],R),s.index=k.lastIndex,k.lastIndex+=s[0].length):k.lastIndex=0:w&&s&&(k.lastIndex=k.global?s.index+s[0].length:a),x&&s&&s.length>1&&r(h,s[0],n,(function(){for(u=1;u1?arguments[1]:void 0)}})}();var Ki,Ji,Zi,Qi,to,eo,ro,no,io,oo,ao,so,co,lo={};function uo(){if(Qi)return Zi;Qi=1,ji();var t=C(),e=rr(),r=Fi(),n=_(),i=ge(),o=Le(),a=i("species"),s=RegExp.prototype;return Zi=function(c,l,u,f){var h=i(c),d=!n((function(){var t={};return t[h]=function(){return 7},7!==""[c](t)})),p=d&&!n((function(){var t=!1,e=/a/;return"split"===c&&((e={}).constructor={},e.constructor[a]=function(){return e},e.flags="",e[h]=/./[h]),e.exec=function(){return t=!0,null},e[h](""),!t}));if(!d||!p||u){var v=/./[h],g=l(h,""[c],(function(e,n,i,o,a){var c=n.exec;return c===r||c===s.exec?d&&!a?{done:!0,value:t(v,n,i,o)}:{done:!0,value:t(e,i,n,o)}:{done:!1}}));e(String.prototype,c,g[0]),e(s,h,g[1])}f&&o(s[h],"sham",!0)}}function fo(){if(no)return ro;no=1;var t=function(){if(eo)return to;eo=1;var t=St(),e=Sr(),r=Li(),n=At(),i=t("".charAt),o=t("".charCodeAt),a=t("".slice),s=function(t){return function(s,c){var l,u,f=r(n(s)),h=e(c),d=f.length;return h<0||h>=d?t?"":void 0:(l=o(f,h))<55296||l>56319||h+1===d||(u=o(f,h+1))<56320||u>57343?t?i(f,h):l:t?a(f,h,h+2):u-56320+(l-55296<<10)+65536}};return to={codeAt:s(!1),charAt:s(!0)}}().charAt;return ro=function(e,r,n){return r+(n?t(e,r).length:1)}}function ho(){if(oo)return io;oo=1;var t=St(),e=de(),r=Math.floor,n=t("".charAt),i=t("".replace),o=t("".slice),a=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,s=/\$([$&'`]|\d{1,2})/g;return io=function(t,c,l,u,f,h){var d=l+t.length,p=u.length,v=s;return void 0!==f&&(f=e(f),v=a),i(h,v,(function(e,i){var a;switch(n(i,0)){case"$":return"$";case"&":return t;case"`":return o(c,0,l);case"'":return o(c,d);case"<":a=f[o(i,1,-1)];break;default:var s=+i;if(0===s)return e;if(s>p){var h=r(s/10);return 0===h?e:h<=p?void 0===u[h-1]?n(i,1):u[h-1]+n(i,1):e}a=u[s-1]}return void 0===a?"":a}))}}function po(){if(so)return ao;so=1;var t=C(),e=Re(),r=_t(),n=xt(),i=Fi(),o=TypeError;return ao=function(a,s){var c=a.exec;if(r(c)){var l=t(c,a,s);return null!==l&&e(l),l}if("RegExp"===n(a))return t(i,a,s);throw new o("RegExp#exec called on incompatible receiver")}}!function(){if(co)return lo;co=1;var t=function(){if(Ji)return Ki;Ji=1;var t=N(),e=Function.prototype,r=e.apply,n=e.call;return Ki="object"==typeof Reflect&&Reflect.apply||(t?n.bind(r):function(){return n.apply(r,arguments)}),Ki}(),e=C(),r=St(),n=uo(),i=_(),o=Re(),a=_t(),s=Tt(),c=Sr(),l=kr(),u=Li(),f=At(),h=fo(),d=Dt(),p=ho(),v=po(),g=ge()("replace"),m=Math.max,b=Math.min,y=r([].concat),w=r([].push),S=r("".indexOf),x=r("".slice),k="$0"==="a".replace(/./,"$0"),T=!!/./[g]&&""===/./[g]("a","$0");n("replace",(function(r,n,i){var k=T?"$":"$0";return[function(t,r){var i=f(this),o=s(t)?void 0:d(t,g);return o?e(o,t,i,r):e(n,u(i),t,r)},function(e,r){var s=o(this),f=u(e);if("string"==typeof r&&-1===S(r,k)&&-1===S(r,"$<")){var d=i(n,s,f,r);if(d.done)return d.value}var g=a(r);g||(r=u(r));var T,A=s.global;A&&(T=s.unicode,s.lastIndex=0);for(var E,_=[];null!==(E=v(s,f))&&(w(_,E),A);){""===u(E[0])&&(s.lastIndex=h(f,l(s.lastIndex),T))}for(var O,N="",C=0,R=0;R<_.length;R++){for(var P,L=u((E=_[R])[0]),I=m(b(c(E.index),f.length),0),F=[],j=1;j=C&&(N+=x(f,C,I)+P,C=I+L.length)}return N+x(f,C)}]}),!!i((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$")}))||!k||T)}();var vo,go,mo,bo={};function yo(){return go?vo:(go=1,vo=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e})}!function(){if(mo)return bo;mo=1;var t=C(),e=uo(),r=Re(),n=Tt(),i=At(),o=yo(),a=Li(),s=Dt(),c=po();e("search",(function(e,l,u){return[function(r){var o=i(this),c=n(r)?void 0:s(r,e);return c?t(c,r,o):new RegExp(r)[e](a(o))},function(t){var e=r(this),n=a(t),i=u(l,e,n);if(i.done)return i.value;var s=e.lastIndex;o(s,0)||(e.lastIndex=0);var f=c(e,n);return o(e.lastIndex,s)||(e.lastIndex=s),null===f?-1:f.index}]}))}();var wo,So,xo,ko,To,Ao,Eo,_o={};!function(){if(Eo)return _o;Eo=1;var t=m(),e=So?wo:(So=1,wo={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}),r=function(){if(ko)return xo;ko=1;var t=ye()("span").classList,e=t&&t.constructor&&t.constructor.prototype;return xo=e===Object.prototype?void 0:e}(),n=function(){if(Ao)return To;Ao=1;var t=En().forEach,e=Yn()("forEach");return To=e?[].forEach:function(e){return t(this,e,arguments.length>1?arguments[1]:void 0)},To}(),i=Le(),o=function(t){if(t&&t.forEach!==n)try{i(t,"forEach",n)}catch(e){t.forEach=n}};for(var a in e)e[a]&&o(t[a]&&t[a].prototype);o(r)}();var Oo=t.fn.bootstrapTable.utils,No={cookieIds:{sortOrder:"bs.table.sortOrder",sortName:"bs.table.sortName",sortPriority:"bs.table.sortPriority",pageNumber:"bs.table.pageNumber",pageList:"bs.table.pageList",hiddenColumns:"bs.table.hiddenColumns",cardView:"bs.table.cardView",customView:"bs.table.customView",searchText:"bs.table.searchText",reorderColumns:"bs.table.reorderColumns",filterControl:"bs.table.filterControl",filterBy:"bs.table.filterBy"},getCurrentHeader:function(t){return t.options.height?t.$tableHeader:t.$header},getCurrentSearchControls:function(t){return t.options.height?"table select, table input":"select, input"},isCookieSupportedByBrowser:function(){return navigator.cookieEnabled},isCookieEnabled:function(t,e){return t.options.cookiesEnabled.includes(e)},setCookie:function(t,e,r){if(t.options.cookie&&No.isCookieEnabled(t,e))return t._storage.setItem("".concat(t.options.cookieIdTable,".").concat(e),r)},getCookie:function(t,e){return e&&No.isCookieEnabled(t,e)?t._storage.getItem("".concat(t.options.cookieIdTable,".").concat(e)):null},deleteCookie:function(t,e){return t._storage.removeItem("".concat(t.options.cookieIdTable,".").concat(e))},calculateExpiration:function(t){var e=t.replace(/[0-9]*/,"");switch(t=t.replace(/[A-Za-z]{1,2}/,""),e.toLowerCase()){case"s":t=+t;break;case"mi":t*=60;break;case"h":t=60*t*60;break;case"d":t=24*t*60*60;break;case"m":t=30*t*24*60*60;break;case"y":t=365*t*24*60*60;break;default:t=void 0}if(!t)return"";var r=new Date;return r.setTime(r.getTime()+1e3*t),r.toGMTString()},initCookieFilters:function(e){setTimeout((function(){var r=JSON.parse(No.getCookie(e,No.cookieIds.filterControl));if(!e._filterControlValuesLoaded&&r){var n={},o=No.getCurrentHeader(e),a=No.getCurrentSearchControls(e),s=o;e.options.filterControlContainer&&(s=t("".concat(e.options.filterControlContainer))),s.find(a).each((function(){var o=t(this).closest("[data-field]").data("field");!function(t,r){r.forEach((function(r){var o=t.value.toString(),a=r.text;if(""!==a&&("radio"!==t.type||o===a))if("INPUT"===t.tagName&&"radio"===t.type&&o===a)t.checked=!0,n[r.field]=a;else if("INPUT"===t.tagName)t.value=a,n[r.field]=a;else if("SELECT"===t.tagName&&e.options.filterControlContainer)t.value=a,n[r.field]=a;else if(""!==a&&"SELECT"===t.tagName){n[r.field]=a;var s,c=i(t);try{for(c.s();!(s=c.n()).done;){var l=s.value;if(l.value===a)return void(l.selected=!0)}}catch(t){c.e(t)}finally{c.f()}var u=document.createElement("option");u.value=a,u.text=a,t.add(u,t[1]),t.selectedIndex=1}}))}(this,r.filter((function(t){return t.field===o})))})),e.initColumnSearch(n),e._filterControlValuesLoaded=!0,e.initServer()}}),250)}};Object.assign(t.fn.bootstrapTable.defaults,{cookie:!1,cookieExpire:"2h",cookiePath:null,cookieDomain:null,cookieSecure:null,cookieSameSite:"Lax",cookieIdTable:"",cookiesEnabled:["bs.table.sortOrder","bs.table.sortName","bs.table.sortPriority","bs.table.pageNumber","bs.table.pageList","bs.table.hiddenColumns","bs.table.searchText","bs.table.filterControl","bs.table.filterBy","bs.table.reorderColumns","bs.table.cardView","bs.table.customView"],cookieStorage:"cookieStorage",cookieCustomStorageGet:null,cookieCustomStorageSet:null,cookieCustomStorageDelete:null,_filterControls:[],_filterControlValuesLoaded:!1,_storage:{setItem:void 0,getItem:void 0,removeItem:void 0}}),t.fn.bootstrapTable.methods.push("getCookies"),t.fn.bootstrapTable.methods.push("deleteCookie"),Object.assign(t.fn.bootstrapTable.utils,{setCookie:No.setCookie,getCookie:No.getCookie}),t.BootstrapTable=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),r(this,e,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)}(e,t),n(e,[{key:"init",value:function(){if(this.options.cookie){if("cookieStorage"===this.options.cookieStorage&&!No.isCookieSupportedByBrowser())throw new Error("Cookies are not enabled in this browser.");this.configureStorage();var t=No.getCookie(this,No.cookieIds.filterBy);if("boolean"==typeof t&&!t)throw new Error("The cookie value of filterBy must be a json!");var r={};try{r=JSON.parse(t)}catch(t){throw new Error("Could not parse the json of the filterBy cookie!")}if(this.filterColumns=r||{},this._filterControls=[],this._filterControlValuesLoaded=!1,this.options.cookiesEnabled="string"==typeof this.options.cookiesEnabled?this.options.cookiesEnabled.replace("[","").replace("]","").replace(/'/g,"").replace(/ /g,"").split(","):this.options.cookiesEnabled,this.options.filterControl){var n=this;this.$el.on("column-search.bs.table",(function(t,e,r){for(var i=!0,o=0;o1)||arguments[1]]),this.options.cookie&&(this.options.search&&No.setCookie(this,No.cookieIds.searchText,this.searchText),No.setCookie(this,No.cookieIds.pageNumber,this.options.pageNumber))}},{key:"initHeader",value:function(){this.options.reorderableColumns&&this.options.cookie&&(this.columnsSortOrder=JSON.parse(No.getCookie(this,No.cookieIds.reorderColumns)));for(var t=arguments.length,r=new Array(t),n=0;n
    '),this.$el.before('
    '),this.$el.after('
    '),this.$header.addClass("sticky-header"),this.$stickyContainer=this.$tableBody.find(".sticky-header-container"),this.$stickyBegin=this.$tableBody.find(".sticky_anchor_begin"),this.$stickyEnd=this.$tableBody.find(".sticky_anchor_end"),this.$stickyHeader=this.$header.clone(!0,!0);var a=Cn.getEventName("resize.sticky-header-table",this.$el.attr("id")),c=Cn.getEventName("scroll.sticky-header-table",this.$el.attr("id"));t(window).off(a).on(a,(function(){return e.renderStickyHeader()})),t(window).off(c).on(c,(function(){return e.renderStickyHeader()})),this.$tableBody.off("scroll").on("scroll",(function(){return e.matchPositionX()}))}}},{key:"onColumnSearch",value:function(t){var e=t.currentTarget,r=t.keyCode;s(i,"onColumnSearch",this)([{currentTarget:e,keyCode:r}]),this.options.stickyHeader&&this.renderStickyHeader()}},{key:"resetView",value:function(){for(var e=this,r=arguments.length,n=new Array(r),o=0;oi&&n<=o){this.$stickyHeader.find("tr").each((function(r,n){t(n).find("th").each((function(n,i){t(i).css("min-width",e.$header.find("tr:eq(".concat(r,")")).find("th:eq(".concat(n,")")).css("width"))}))})),this.$stickyContainer.show().addClass("fix-sticky fixed-table-container");var a=this.$tableBody[0].getBoundingClientRect(),s="100%",c=this.options.stickyHeaderOffsetLeft,l=this.options.stickyHeaderOffsetRight;c||(c=a.left),l||(s="".concat(a.width,"px")),this.$el.closest(".bootstrap-table").hasClass("fullscreen")&&(c=0,l=0,s="100%"),this.$stickyContainer.css("top","".concat(this.options.stickyHeaderOffsetY,"px")),this.$stickyContainer.css("left","".concat(c,"px")),this.$stickyContainer.css("right","".concat(l,"px")),this.$stickyContainer.css("width","".concat(s)),this.$stickyTable=t(""),this.$stickyTable.addClass(this.options.classes),this.$stickyContainer.html(this.$stickyTable.append(this.$stickyHeader)),this.matchPositionX()}else this.$stickyContainer.removeClass("fix-sticky").hide()}},{key:"matchPositionX",value:function(){this.$stickyContainer.scrollLeft(this.$tableBody.scrollLeft())}}])}(t.BootstrapTable)})),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){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r0&&t[0]<4?1:+(t[0]+t[1])),!e&&n&&(!(t=n.match(/Edge\/(\d+)/))||t[1]>=74)&&(t=n.match(/Chrome\/(\d+)/))&&(e=+t[1]),tt=e}function Ct(){if(nt)return rt;nt=1;var t=Nt(),e=A(),r=v().String;return rt=!!Object.getOwnPropertySymbols&&!e((function(){var e=Symbol("symbol detection");return!r(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&t&&t<41}))}function Rt(){if(ot)return it;ot=1;var t=Ct();return it=t&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}function Pt(){if(st)return at;st=1;var t=_t(),e=At(),r=Ot(),n=Rt(),i=Object;return at=n?function(t){return"symbol"==typeof t}:function(n){var o=t("Symbol");return e(o)&&r(o.prototype,i(n))}}function Lt(){if(lt)return ct;lt=1;var t=String;return ct=function(e){try{return t(e)}catch(t){return"Object"}}}function It(){if(ft)return ut;ft=1;var t=At(),e=Lt(),r=TypeError;return ut=function(n){if(t(n))return n;throw new r(e(n)+" is not a function")}}function Ft(){if(dt)return ht;dt=1;var t=It(),e=xt();return ht=function(r,n){var i=r[n];return e(i)?void 0:t(i)}}function jt(){if(vt)return pt;vt=1;var t=O(),e=At(),r=Et(),n=TypeError;return pt=function(i,o){var a,s;if("string"===o&&e(a=i.toString)&&!r(s=t(a,i)))return s;if(e(a=i.valueOf)&&!r(s=t(a,i)))return s;if("string"!==o&&e(a=i.toString)&&!r(s=t(a,i)))return s;throw new n("Can't convert object to primitive value")}}var Dt,Mt,Bt,Wt,Ut,Ht,zt,Vt,qt,$t,Gt,Xt,Yt,Kt,Jt,Zt,Qt,te,ee,re,ne,ie,oe,ae,se={exports:{}};function ce(){return Mt?Dt:(Mt=1,Dt=!1)}function le(){if(Wt)return Bt;Wt=1;var t=v(),e=Object.defineProperty;return Bt=function(r,n){try{e(t,r,{value:n,configurable:!0,writable:!0})}catch(e){t[r]=n}return n}}function ue(){if(Ut)return se.exports;Ut=1;var t=ce(),e=v(),r=le(),n="__core-js_shared__",i=se.exports=e[n]||r(n,{});return(i.versions||(i.versions=[])).push({version:"3.38.1",mode:t?"pure":"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"}),se.exports}function fe(){if(zt)return Ht;zt=1;var t=ue();return Ht=function(e,r){return t[e]||(t[e]=r||{})}}function he(){if(qt)return Vt;qt=1;var t=kt(),e=Object;return Vt=function(r){return e(t(r))}}function de(){if(Gt)return $t;Gt=1;var t=yt(),e=he(),r=t({}.hasOwnProperty);return $t=Object.hasOwn||function(t,n){return r(e(t),n)}}function pe(){if(Yt)return Xt;Yt=1;var t=yt(),e=0,r=Math.random(),n=t(1..toString);return Xt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+n(++e+r,36)}}function ve(){if(Jt)return Kt;Jt=1;var t=v(),e=fe(),r=de(),n=pe(),i=Ct(),o=Rt(),a=t.Symbol,s=e("wks"),c=o?a.for||a:a&&a.withoutSetter||n;return Kt=function(t){return r(s,t)||(s[t]=i&&r(a,t)?a[t]:c("Symbol."+t)),s[t]}}function ge(){if(Qt)return Zt;Qt=1;var t=O(),e=Et(),r=Pt(),n=Ft(),i=jt(),o=ve(),a=TypeError,s=o("toPrimitive");return Zt=function(o,c){if(!e(o)||r(o))return o;var l,u=n(o,s);if(u){if(void 0===c&&(c="default"),l=t(u,o,c),!e(l)||r(l))return l;throw new a("Can't convert object to primitive value")}return void 0===c&&(c="number"),i(o,c)}}function me(){if(ee)return te;ee=1;var t=ge(),e=Pt();return te=function(r){var n=t(r,"string");return e(n)?n:n+""}}function be(){if(ne)return re;ne=1;var t=v(),e=Et(),r=t.document,n=e(r)&&e(r.createElement);return re=function(t){return n?r.createElement(t):{}}}function ye(){if(oe)return ie;oe=1;var t=E(),e=A(),r=be();return ie=!t&&!e((function(){return 7!==Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a}))}function we(){if(ae)return T;ae=1;var t=E(),e=O(),r=mt(),n=bt(),i=Tt(),o=me(),a=de(),s=ye(),c=Object.getOwnPropertyDescriptor;return T.f=t?c:function(t,l){if(t=i(t),l=o(l),s)try{return c(t,l)}catch(t){}if(a(t,l))return n(!e(r.f,t,l),t[l])},T}var Se,xe,ke,Te,Ae,Ee,_e,Oe={};function Ne(){if(xe)return Se;xe=1;var t=E(),e=A();return Se=t&&e((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))}function Ce(){if(Te)return ke;Te=1;var t=Et(),e=String,r=TypeError;return ke=function(n){if(t(n))return n;throw new r(e(n)+" is not an object")}}function Re(){if(Ae)return Oe;Ae=1;var t=E(),e=ye(),r=Ne(),n=Ce(),i=me(),o=TypeError,a=Object.defineProperty,s=Object.getOwnPropertyDescriptor,c="enumerable",l="configurable",u="writable";return Oe.f=t?r?function(t,e,r){if(n(t),e=i(e),n(r),"function"==typeof t&&"prototype"===e&&"value"in r&&u in r&&!r[u]){var o=s(t,e);o&&o[u]&&(t[e]=r.value,r={configurable:l in r?r[l]:o[l],enumerable:c in r?r[c]:o[c],writable:!1})}return a(t,e,r)}:a:function(t,r,s){if(n(t),r=i(r),n(s),e)try{return a(t,r,s)}catch(t){}if("get"in s||"set"in s)throw new o("Accessors not supported");return"value"in s&&(t[r]=s.value),t},Oe}function Pe(){if(_e)return Ee;_e=1;var t=E(),e=Re(),r=bt();return Ee=t?function(t,n,i){return e.f(t,n,r(1,i))}:function(t,e,r){return t[e]=r,t}}var Le,Ie,Fe,je,De,Me,Be,We,Ue,He,ze,Ve,qe,$e,Ge,Xe={exports:{}};function Ye(){if(Ie)return Le;Ie=1;var t=E(),e=de(),r=Function.prototype,n=t&&Object.getOwnPropertyDescriptor,i=e(r,"name"),o=i&&"something"===function(){}.name,a=i&&(!t||t&&n(r,"name").configurable);return Le={EXISTS:i,PROPER:o,CONFIGURABLE:a}}function Ke(){if(je)return Fe;je=1;var t=yt(),e=At(),r=ue(),n=t(Function.toString);return e(r.inspectSource)||(r.inspectSource=function(t){return n(t)}),Fe=r.inspectSource}function Je(){if(We)return Be;We=1;var t=fe(),e=pe(),r=t("keys");return Be=function(t){return r[t]||(r[t]=e(t))}}function Ze(){return He?Ue:(He=1,Ue={})}function Qe(){if(Ve)return ze;Ve=1;var t,e,r,n=function(){if(Me)return De;Me=1;var t=v(),e=At(),r=t.WeakMap;return De=e(r)&&/native code/.test(String(r))}(),i=v(),o=Et(),a=Pe(),s=de(),c=ue(),l=Je(),u=Ze(),f="Object already initialized",h=i.TypeError,d=i.WeakMap;if(n||c.state){var p=c.state||(c.state=new d);p.get=p.get,p.has=p.has,p.set=p.set,t=function(t,e){if(p.has(t))throw new h(f);return e.facade=t,p.set(t,e),e},e=function(t){return p.get(t)||{}},r=function(t){return p.has(t)}}else{var g=l("state");u[g]=!0,t=function(t,e){if(s(t,g))throw new h(f);return e.facade=t,a(t,g,e),e},e=function(t){return s(t,g)?t[g]:{}},r=function(t){return s(t,g)}}return ze={set:t,get:e,has:r,enforce:function(n){return r(n)?e(n):t(n,{})},getterFor:function(t){return function(r){var n;if(!o(r)||(n=e(r)).type!==t)throw new h("Incompatible receiver, "+t+" required");return n}}}}function tr(){if(qe)return Xe.exports;qe=1;var t=yt(),e=A(),r=At(),n=de(),i=E(),o=Ye().CONFIGURABLE,a=Ke(),s=Qe(),c=s.enforce,l=s.get,u=String,f=Object.defineProperty,h=t("".slice),d=t("".replace),p=t([].join),v=i&&!e((function(){return 8!==f((function(){}),"length",{value:8}).length})),g=String(String).split("String"),m=Xe.exports=function(t,e,r){"Symbol("===h(u(e),0,7)&&(e="["+d(u(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!n(t,"name")||o&&t.name!==e)&&(i?f(t,"name",{value:e,configurable:!0}):t.name=e),v&&r&&n(r,"arity")&&t.length!==r.arity&&f(t,"length",{value:r.arity});try{r&&n(r,"constructor")&&r.constructor?i&&f(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var a=c(t);return n(a,"source")||(a.source=p(g,"string"==typeof e?e:"")),t};return Function.prototype.toString=m((function(){return r(this)&&l(this).source||a(this)}),"toString"),Xe.exports}function er(){if(Ge)return $e;Ge=1;var t=At(),e=Re(),r=tr(),n=le();return $e=function(i,o,a,s){s||(s={});var c=s.enumerable,l=void 0!==s.name?s.name:o;if(t(a)&&r(a,l,s),s.global)c?i[o]=a:n(o,a);else{try{s.unsafe?i[o]&&(c=!0):delete i[o]}catch(t){}c?i[o]=a:e.f(i,o,{value:a,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return i}}var rr,nr,ir,or,ar,sr,cr,lr,ur,fr,hr,dr,pr,vr,gr,mr,br,yr={};function wr(){if(or)return ir;or=1;var t=function(){if(nr)return rr;nr=1;var t=Math.ceil,e=Math.floor;return rr=Math.trunc||function(r){var n=+r;return(n>0?e:t)(n)}}();return ir=function(e){var r=+e;return r!=r||0===r?0:t(r)}}function Sr(){if(sr)return ar;sr=1;var t=wr(),e=Math.max,r=Math.min;return ar=function(n,i){var o=t(n);return o<0?e(o+i,0):r(o,i)}}function xr(){if(lr)return cr;lr=1;var t=wr(),e=Math.min;return cr=function(r){var n=t(r);return n>0?e(n,9007199254740991):0}}function kr(){if(fr)return ur;fr=1;var t=xr();return ur=function(e){return t(e.length)}}function Tr(){if(vr)return pr;vr=1;var t=yt(),e=de(),r=Tt(),n=function(){if(dr)return hr;dr=1;var t=Tt(),e=Sr(),r=kr(),n=function(n){return function(i,o,a){var s=t(i),c=r(s);if(0===c)return!n&&-1;var l,u=e(a,c);if(n&&o!=o){for(;c>u;)if((l=s[u++])!=l)return!0}else for(;c>u;u++)if((n||u in s)&&s[u]===o)return n||u||0;return!n&&-1}};return hr={includes:n(!0),indexOf:n(!1)}}().indexOf,i=Ze(),o=t([].push);return pr=function(t,a){var s,c=r(t),l=0,u=[];for(s in c)!e(i,s)&&e(c,s)&&o(u,s);for(;a.length>l;)e(c,s=a[l++])&&(~n(u,s)||o(u,s));return u}}function Ar(){return mr?gr:(mr=1,gr=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"])}var Er,_r,Or,Nr,Cr,Rr,Pr,Lr,Ir,Fr,jr,Dr,Mr,Br,Wr,Ur,Hr,zr,Vr,qr,$r,Gr,Xr,Yr,Kr,Jr,Zr,Qr,tn={};function en(){return Er||(Er=1,tn.f=Object.getOwnPropertySymbols),tn}function rn(){if(Or)return _r;Or=1;var t=_t(),e=yt(),r=function(){if(br)return yr;br=1;var t=Tr(),e=Ar().concat("length","prototype");return yr.f=Object.getOwnPropertyNames||function(r){return t(r,e)},yr}(),n=en(),i=Ce(),o=e([].concat);return _r=t("Reflect","ownKeys")||function(t){var e=r.f(i(t)),a=n.f;return a?o(e,a(t)):e}}function nn(){if(Cr)return Nr;Cr=1;var t=de(),e=rn(),r=we(),n=Re();return Nr=function(i,o,a){for(var s=e(o),c=n.f,l=r.f,u=0;u9007199254740991)throw t("Maximum allowed index exceeded");return e}}function cn(){if(Wr)return Br;Wr=1;var t=E(),e=Re(),r=bt();return Br=function(n,i,o){t?e.f(n,i,r(0,o)):n[i]=o}}function ln(){if(Hr)return Ur;Hr=1;var t={};return t[ve()("toStringTag")]="z",Ur="[object z]"===String(t)}function un(){if(Vr)return zr;Vr=1;var t=ln(),e=At(),r=wt(),n=ve()("toStringTag"),i=Object,o="Arguments"===r(function(){return arguments}());return zr=t?r:function(t){var a,s,c;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(s=function(t,e){try{return t[e]}catch(t){}}(a=i(t),n))?s:o?r(a):"Object"===(c=r(a))&&e(a.callee)?"Arguments":c}}function fn(){if($r)return qr;$r=1;var t=yt(),e=A(),r=At(),n=un(),i=_t(),o=Ke(),a=function(){},s=i("Reflect","construct"),c=/^\s*(?:class|function)\b/,l=t(c.exec),u=!c.test(a),f=function(t){if(!r(t))return!1;try{return s(a,[],t),!0}catch(t){return!1}},h=function(t){if(!r(t))return!1;switch(n(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return u||!!l(c,o(t))}catch(t){return!0}};return h.sham=!0,qr=!s||e((function(){var t;return f(f.call)||!f(Object)||!f((function(){t=!0}))||t}))?h:f}function hn(){if(Xr)return Gr;Xr=1;var t=an(),e=fn(),r=Et(),n=ve()("species"),i=Array;return Gr=function(o){var a;return t(o)&&(a=o.constructor,(e(a)&&(a===i||t(a.prototype))||r(a)&&null===(a=a[n]))&&(a=void 0)),void 0===a?i:a}}function dn(){if(Kr)return Yr;Kr=1;var t=hn();return Yr=function(e,r){return new(t(e))(0===r?0:r)}}function pn(){if(Zr)return Jr;Zr=1;var t=A(),e=ve(),r=Nt(),n=e("species");return Jr=function(e){return r>=51||!t((function(){var t=[];return(t.constructor={})[n]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}}!function(){if(Qr)return p;Qr=1;var t=on(),e=A(),r=an(),n=Et(),i=he(),o=kr(),a=sn(),s=cn(),c=dn(),l=pn(),u=ve(),f=Nt(),h=u("isConcatSpreadable"),d=f>=51||!e((function(){var t=[];return t[h]=!1,t.concat()[0]!==t})),v=function(t){if(!n(t))return!1;var e=t[h];return void 0!==e?!!e:r(t)};t({target:"Array",proto:!0,arity:1,forced:!d||!l("concat")},{concat:function(t){var e,r,n,l,u,f=i(this),h=c(f,0),d=0;for(e=-1,n=arguments.length;eu;)r.f(t,a=c[u++],s[a]);return t},Kn}(),n=Ar(),i=Ze(),o=Zn(),a=be(),s=Je(),c="prototype",l="script",u=s("IE_PROTO"),f=function(){},h=function(t){return"<"+l+">"+t+""},d=function(t){t.write(h("")),t.close();var e=t.parentWindow.Object;return t=null,e},p=function(){try{t=new ActiveXObject("htmlfile")}catch(t){}var e,r,i;p="undefined"!=typeof document?document.domain&&t?d(t):(r=a("iframe"),i="java"+l+":",r.style.display="none",o.appendChild(r),r.src=String(i),(e=r.contentWindow.document).open(),e.write(h("document.F=Object")),e.close(),e.F):d(t);for(var s=n.length;s--;)delete p[c][n[s]];return p()};return i[u]=!0,wn=Object.create||function(t,n){var i;return null!==t?(f[c]=e(t),i=new f,f[c]=null,i[u]=t):i=p(),void 0===n?i:r.f(i,n)}}function ti(){if(kn)return xn;kn=1;var t=ve(),e=Qn(),r=Re().f,n=t("unscopables"),i=Array.prototype;return void 0===i[n]&&r(i,n,{configurable:!0,value:e(null)}),xn=function(t){i[n][t]=!0}}function ei(){return An?Tn:(An=1,Tn={})}function ri(){if(Nn)return On;Nn=1;var t=de(),e=At(),r=he(),n=Je(),i=function(){if(_n)return En;_n=1;var t=A();return En=!t((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))}(),o=n("IE_PROTO"),a=Object,s=a.prototype;return On=i?a.getPrototypeOf:function(n){var i=r(n);if(t(i,o))return i[o];var c=i.constructor;return e(c)&&i instanceof c?c.prototype:i instanceof a?s:null}}function ni(){if(Rn)return Cn;Rn=1;var t,e,r,n=A(),i=At(),o=Et(),a=Qn(),s=ri(),c=er(),l=ve(),u=ce(),f=l("iterator"),h=!1;return[].keys&&("next"in(r=[].keys())?(e=s(s(r)))!==Object.prototype&&(t=e):h=!0),!o(t)||n((function(){var e={};return t[f].call(e)!==e}))?t={}:u&&(t=a(t)),i(t[f])||c(t,f,(function(){return this})),Cn={IteratorPrototype:t,BUGGY_SAFARI_ITERATORS:h}}function ii(){if(Ln)return Pn;Ln=1;var t=Re().f,e=de(),r=ve()("toStringTag");return Pn=function(n,i,o){n&&!o&&(n=n.prototype),n&&!e(n,r)&&t(n,r,{configurable:!0,value:i})}}function oi(){if(Fn)return In;Fn=1;var t=ni().IteratorPrototype,e=Qn(),r=bt(),n=ii(),i=ei(),o=function(){return this};return In=function(a,s,c,l){var u=s+" Iterator";return a.prototype=e(t,{next:r(+!l,c)}),n(a,u,!1,!0),i[u]=o,a}}function ai(){if(Bn)return Mn;Bn=1;var t=Et();return Mn=function(e){return t(e)||null===e}}function si(){if(Un)return Wn;Un=1;var t=ai(),e=String,r=TypeError;return Wn=function(n){if(t(n))return n;throw new r("Can't set "+e(n)+" as a prototype")}}function ci(){if(zn)return Hn;zn=1;var t=function(){if(Dn)return jn;Dn=1;var t=yt(),e=It();return jn=function(r,n,i){try{return t(e(Object.getOwnPropertyDescriptor(r,n)[i]))}catch(t){}}}(),e=Et(),r=kt(),n=si();return Hn=Object.setPrototypeOf||("__proto__"in{}?function(){var i,o=!1,a={};try{(i=t(Object.prototype,"__proto__","set"))(a,[]),o=a instanceof Array}catch(t){}return function(t,a){return r(t),n(a),e(t)?(o?i(t,a):t.__proto__=a,t):t}}():void 0)}function li(){if(qn)return Vn;qn=1;var t=on(),e=O(),r=ce(),n=Ye(),i=At(),o=oi(),a=ri(),s=ci(),c=ii(),l=Pe(),u=er(),f=ve(),h=ei(),d=ni(),p=n.PROPER,v=n.CONFIGURABLE,g=d.IteratorPrototype,m=d.BUGGY_SAFARI_ITERATORS,b=f("iterator"),y="keys",w="values",S="entries",x=function(){return this};return Vn=function(n,f,d,k,T,A,E){o(d,f,k);var _,O,N,C=function(t){if(t===T&&F)return F;if(!m&&t&&t in L)return L[t];switch(t){case y:case w:case S:return function(){return new d(this,t)}}return function(){return new d(this)}},R=f+" Iterator",P=!1,L=n.prototype,I=L[b]||L["@@iterator"]||T&&L[T],F=!m&&I||C(T),j="Array"===f&&L.entries||I;if(j&&(_=a(j.call(new n)))!==Object.prototype&&_.next&&(r||a(_)===g||(s?s(_,g):i(_[b])||u(_,b,x)),c(_,R,!0,!0),r&&(h[R]=x)),p&&T===w&&I&&I.name!==w&&(!r&&v?l(L,"name",w):(P=!0,F=function(){return e(I,this)})),T)if(O={values:C(w),keys:A?F:C(y),entries:C(S)},E)for(N in O)(m||P||!(N in L))&&u(L,N,O[N]);else t({target:f,proto:!0,forced:m||P},O);return r&&!E||L[b]===F||u(L,b,F,{name:T}),h[f]=F,O}}function ui(){return Gn?$n:(Gn=1,$n=function(t,e){return{value:t,done:e}})}function fi(){if(Yn)return Xn;Yn=1;var t=Tt(),e=ti(),r=ei(),n=Qe(),i=Re().f,o=li(),a=ui(),s=ce(),c=E(),l="Array Iterator",u=n.set,f=n.getterFor(l);Xn=o(Array,"Array",(function(e,r){u(this,{type:l,target:t(e),index:0,kind:r})}),(function(){var t=f(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=null,a(void 0,!0);switch(t.kind){case"keys":return a(r,!1);case"values":return a(e[r],!1)}return a([r,e[r]],!1)}),"values");var h=r.Arguments=r.Array;if(e("keys"),e("values"),e("entries"),!s&&c&&"values"!==h.name)try{i(h,"name",{value:"values"})}catch(t){}return Xn}fi();var hi,di,pi,vi={};!function(){if(pi)return vi;pi=1;var t=on(),e=function(){if(di)return hi;di=1;var t=E(),e=yt(),r=O(),n=A(),i=Jn(),o=en(),a=mt(),s=he(),c=St(),l=Object.assign,u=Object.defineProperty,f=e([].concat);return hi=!l||n((function(){if(t&&1!==l({b:1},l(u({},"a",{enumerable:!0,get:function(){u(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},r={},n=Symbol("assign detection"),o="abcdefghijklmnopqrst";return e[n]=7,o.split("").forEach((function(t){r[t]=t})),7!==l({},e)[n]||i(l({},r)).join("")!==o}))?function(e,n){for(var l=s(e),u=arguments.length,h=1,d=o.f,p=a.f;u>h;)for(var v,g=c(arguments[h++]),m=d?f(i(g),d(g)):i(g),b=m.length,y=0;b>y;)v=m[y++],t&&!r(p,g,v)||(l[v]=g[v]);return l}:l,hi}();t({target:"Object",stat:!0,arity:2,forced:Object.assign!==e},{assign:e})}();var gi,mi,bi,yi={};!function(){if(bi)return yi;bi=1;var t=on(),e=function(){if(mi)return gi;mi=1;var t=E(),e=A(),r=yt(),n=ri(),i=Jn(),o=Tt(),a=r(mt().f),s=r([].push),c=t&&e((function(){var t=Object.create(null);return t[2]=2,!a(t,2)})),l=function(e){return function(r){for(var l,u=o(r),f=i(u),h=c&&null===n(u),d=f.length,p=0,v=[];d>p;)l=f[p++],t&&!(h?l in u:a(u,l))||s(v,e?[l,u[l]]:u[l]);return v}};return gi={entries:l(!0),values:l(!1)}}().entries;t({target:"Object",stat:!0},{entries:function(t){return e(t)}})}();var wi,Si,xi,ki={};!function(){if(xi)return ki;xi=1;var t=ln(),e=er(),r=function(){if(Si)return wi;Si=1;var t=ln(),e=un();return wi=t?{}.toString:function(){return"[object "+e(this)+"]"}}();t||e(Object.prototype,"toString",r,{unsafe:!0})}();var Ti,Ai,Ei,_i,Oi,Ni,Ci,Ri,Pi,Li,Ii,Fi,ji,Di={};function Mi(){if(Ai)return Ti;Ai=1;var t=un(),e=String;return Ti=function(r){if("Symbol"===t(r))throw new TypeError("Cannot convert a Symbol value to a string");return e(r)}}function Bi(){if(_i)return Ei;_i=1;var t=Ce();return Ei=function(){var e=t(this),r="";return e.hasIndices&&(r+="d"),e.global&&(r+="g"),e.ignoreCase&&(r+="i"),e.multiline&&(r+="m"),e.dotAll&&(r+="s"),e.unicode&&(r+="u"),e.unicodeSets&&(r+="v"),e.sticky&&(r+="y"),r}}function Wi(){if(Fi)return Ii;Fi=1;var t,e,r=O(),n=yt(),i=Mi(),o=Bi(),a=function(){if(Ni)return Oi;Ni=1;var t=A(),e=v().RegExp,r=t((function(){var t=e("a","y");return t.lastIndex=2,null!==t.exec("abcd")})),n=r||t((function(){return!e("a","y").sticky})),i=r||t((function(){var t=e("^r","gy");return t.lastIndex=2,null!==t.exec("str")}));return Oi={BROKEN_CARET:i,MISSED_STICKY:n,UNSUPPORTED_Y:r}}(),s=fe(),c=Qn(),l=Qe().get,u=function(){if(Ri)return Ci;Ri=1;var t=A(),e=v().RegExp;return Ci=t((function(){var t=e(".","s");return!(t.dotAll&&t.test("\n")&&"s"===t.flags)}))}(),f=function(){if(Li)return Pi;Li=1;var t=A(),e=v().RegExp;return Pi=t((function(){var t=e("(?b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$c")}))}(),h=s("native-string-replace",String.prototype.replace),d=RegExp.prototype.exec,p=d,g=n("".charAt),m=n("".indexOf),b=n("".replace),y=n("".slice),w=(e=/b*/g,r(d,t=/a/,"a"),r(d,e,"a"),0!==t.lastIndex||0!==e.lastIndex),S=a.BROKEN_CARET,x=void 0!==/()??/.exec("")[1];return(w||x||S||u||f)&&(p=function(t){var e,n,a,s,u,f,v,k=this,T=l(k),A=i(t),E=T.raw;if(E)return E.lastIndex=k.lastIndex,e=r(p,E,A),k.lastIndex=E.lastIndex,e;var _=T.groups,O=S&&k.sticky,N=r(o,k),C=k.source,R=0,P=A;if(O&&(N=b(N,"y",""),-1===m(N,"g")&&(N+="g"),P=y(A,k.lastIndex),k.lastIndex>0&&(!k.multiline||k.multiline&&"\n"!==g(A,k.lastIndex-1))&&(C="(?: "+C+")",P=" "+P,R++),n=new RegExp("^(?:"+C+")",N)),x&&(n=new RegExp("^"+C+"$(?!\\s)",N)),w&&(a=k.lastIndex),s=r(d,O?n:k,P),O?s?(s.input=y(s.input,R),s[0]=y(s[0],R),s.index=k.lastIndex,k.lastIndex+=s[0].length):k.lastIndex=0:w&&s&&(k.lastIndex=k.global?s.index+s[0].length:a),x&&s&&s.length>1&&r(h,s[0],n,(function(){for(u=1;u=d?t?"":void 0:(l=o(f,h))<55296||l>56319||h+1===d||(u=o(f,h+1))<56320||u>57343?t?i(f,h):l:t?a(f,h,h+2):u-56320+(l-55296<<10)+65536}};return $i={codeAt:s(!1),charAt:s(!0)}}().charAt,e=Mi(),r=Qe(),n=li(),i=ui(),o="String Iterator",a=r.set,s=r.getterFor(o);n(String,"String",(function(t){a(this,{type:o,string:e(t),index:0})}),(function(){var e,r=s(this),n=r.string,o=r.index;return o>=n.length?i(void 0,!0):(e=t(n,o),r.index+=e.length,i(e,!1))}))}();var Ki,Ji,Zi,Qi,to,eo,ro,no={};function io(){return Qi?Zi:(Qi=1,Zi=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e})}!function(){if(ro)return no;ro=1;var t=O(),e=function(){if(Ji)return Ki;Ji=1,Ui();var t=O(),e=er(),r=Wi(),n=A(),i=ve(),o=Pe(),a=i("species"),s=RegExp.prototype;return Ki=function(c,l,u,f){var h=i(c),d=!n((function(){var t={};return t[h]=function(){return 7},7!==""[c](t)})),p=d&&!n((function(){var t=!1,e=/a/;return"split"===c&&((e={}).constructor={},e.constructor[a]=function(){return e},e.flags="",e[h]=/./[h]),e.exec=function(){return t=!0,null},e[h](""),!t}));if(!d||!p||u){var v=/./[h],g=l(h,""[c],(function(e,n,i,o,a){var c=n.exec;return c===r||c===s.exec?d&&!a?{done:!0,value:t(v,n,i,o)}:{done:!0,value:t(e,i,n,o)}:{done:!1}}));e(String.prototype,c,g[0]),e(s,h,g[1])}f&&o(s[h],"sham",!0)}}(),r=Ce(),n=xt(),i=kt(),o=io(),a=Mi(),s=Ft(),c=function(){if(eo)return to;eo=1;var t=O(),e=Ce(),r=At(),n=wt(),i=Wi(),o=TypeError;return to=function(a,s){var c=a.exec;if(r(c)){var l=t(c,a,s);return null!==l&&e(l),l}if("RegExp"===n(a))return t(i,a,s);throw new o("RegExp#exec called on incompatible receiver")}}();e("search",(function(e,l,u){return[function(r){var o=i(this),c=n(r)?void 0:s(r,e);return c?t(c,r,o):new RegExp(r)[e](a(o))},function(t){var e=r(this),n=a(t),i=u(l,e,n);if(i.done)return i.value;var s=e.lastIndex;o(s,0)||(e.lastIndex=0);var f=c(e,n);return o(e.lastIndex,s)||(e.lastIndex=s),null===f?-1:f.index}]}))}();var oo,ao,so,co,lo,uo={};!function(){if(lo)return uo;lo=1;var t=v(),e=ao?oo:(ao=1,oo={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}),r=function(){if(co)return so;co=1;var t=be()("span").classList,e=t&&t.constructor&&t.constructor.prototype;return so=e===Object.prototype?void 0:e}(),n=fi(),i=Pe(),o=ii(),a=ve()("iterator"),s=n.values,c=function(t,r){if(t){if(t[a]!==s)try{i(t,a,s)}catch(e){t[a]=s}if(o(t,r,!0),e[r])for(var c in n)if(t[c]!==n[c])try{i(t,c,n[c])}catch(e){t[c]=n[c]}}};for(var l in e)c(t[l]&&t[l].prototype,l);c(r,"DOMTokenList")}();var fo,ho,po,vo,go,mo,bo,yo,wo,So,xo,ko,To,Ao,Eo,_o,Oo,No,Co,Ro,Po,Lo,Io,Fo,jo,Do,Mo,Bo,Wo={};function Uo(){if(po)return ho;po=1;var t=v(),e=E(),r=Object.getOwnPropertyDescriptor;return ho=function(n){if(!e)return t[n];var i=r(t,n);return i&&i.value}}function Ho(){if(bo)return mo;bo=1;var t=tr(),e=Re();return mo=function(r,n,i){return i.get&&t(i.get,n,{getter:!0}),i.set&&t(i.set,n,{setter:!0}),e.f(r,n,i)}}function zo(){if(wo)return yo;wo=1;var t=er();return yo=function(e,r,n){for(var i in r)t(e,i,r[i],n);return e}}function Vo(){if(xo)return So;xo=1;var t=Ot(),e=TypeError;return So=function(r,n){if(t(n,r))return r;throw new e("Incorrect invocation")}}function qo(){if(Eo)return Ao;Eo=1;var t=function(){if(To)return ko;To=1;var t=wt(),e=yt();return ko=function(r){if("Function"===t(r))return e(r)}}(),e=It(),r=_(),n=t(t.bind);return Ao=function(t,i){return e(t),void 0===i?t:r?n(t,i):function(){return t.apply(i,arguments)}},Ao}function $o(){if(Oo)return _o;Oo=1;var t=un(),e=Ft(),r=xt(),n=ei(),i=ve()("iterator");return _o=function(o){if(!r(o))return e(o,i)||e(o,"@@iterator")||n[t(o)]}}function Go(){if(Co)return No;Co=1;var t=O(),e=It(),r=Ce(),n=Lt(),i=$o(),o=TypeError;return No=function(a,s){var c=arguments.length<2?i(a):s;if(e(c))return r(t(c,a));throw new o(n(a)+" is not iterable")},No}function Xo(){if(Po)return Ro;Po=1;var t=TypeError;return Ro=function(e,r){if(e0;)n[s]=n[--s];s!==c++&&(n[s]=a)}else for(var l=e(o/2),u=r(t(n,0,l),i),f=r(t(n,l),i),h=u.length,d=f.length,p=0,v=0;pc;){if(e=+arguments[c++],r(e,1114111)!==e)throw new n(e+" is not a valid code point");o[c]=e<65536?i(e):i(55296+((e-=65536)>>10),e%1024+56320)}return a(o,"")}})}();var t=on(),e=v(),r=Uo(),n=_t(),i=O(),o=yt(),a=E(),s=function(){if(go)return vo;go=1;var t=A(),e=ve(),r=E(),n=ce(),i=e("iterator");return vo=!t((function(){var t=new URL("b?a=1&b=2&c=3","https://a"),e=t.searchParams,o=new URLSearchParams("a=1&a=2&b=3"),a="";return t.pathname="c%20d",e.forEach((function(t,r){e.delete("b"),a+=r+t})),o.delete("a",2),o.delete("b",void 0),n&&(!t.toJSON||!o.has("a",1)||o.has("a",2)||!o.has("a",void 0)||o.has("b"))||!e.size&&(n||!r)||!e.sort||"https://a/c%20d?a=1&c=3"!==t.href||"3"!==e.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!e[i]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("https://тест").host||"#%D0%B1"!==new URL("https://a#б").hash||"a1c3"!==a||"x"!==new URL("https://x",void 0).host}))}(),c=er(),l=Ho(),u=zo(),f=ii(),h=oi(),d=Qe(),p=Vo(),g=At(),m=de(),b=qo(),y=un(),w=Ce(),S=Et(),x=Mi(),k=Qn(),T=bt(),_=Go(),N=$o(),C=ui(),R=Xo(),P=ve(),L=Ko(),I=P("iterator"),F="URLSearchParams",j=F+"Iterator",D=d.set,M=d.getterFor(F),B=d.getterFor(j),W=r("fetch"),U=r("Request"),H=r("Headers"),z=U&&U.prototype,V=H&&H.prototype,q=e.TypeError,$=e.encodeURIComponent,G=String.fromCharCode,X=n("String","fromCodePoint"),Y=parseInt,K=o("".charAt),J=o([].join),Z=o([].push),Q=o("".replace),tt=o([].shift),et=o([].splice),rt=o("".split),nt=o("".slice),it=o(/./.exec),ot=/\+/g,at=/^[0-9a-f]+$/i,st=function(t,e){var r=nt(t,e,e+2);return it(at,r)?Y(r,16):NaN},ct=function(t){for(var e=0,r=128;r>0&&t&r;r>>=1)e++;return e},lt=function(t){var e=null;switch(t.length){case 1:e=t[0];break;case 2:e=(31&t[0])<<6|63&t[1];break;case 3:e=(15&t[0])<<12|(63&t[1])<<6|63&t[2];break;case 4:e=(7&t[0])<<18|(63&t[1])<<12|(63&t[2])<<6|63&t[3]}return e>1114111?null:e},ut=function(t){for(var e=(t=Q(t,ot," ")).length,r="",n=0;ne){r+="%",n++;continue}var o=st(t,n+1);if(o!=o){r+=i,n++;continue}n+=2;var a=ct(o);if(0===a)i=G(o);else{if(1===a||a>4){r+="�",n++;continue}for(var s=[o],c=1;ce||"%"!==K(t,n));){var l=st(t,n+1);if(l!=l){n+=3;break}if(l>191||l<128)break;Z(s,l),n+=2,c++}if(s.length!==a){r+="�";continue}var u=lt(s);null===u?r+="�":i=X(u)}}r+=i,n++}return r},ft=/[!'()~]|%20/g,ht={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},dt=function(t){return ht[t]},pt=function(t){return Q($(t),ft,dt)},vt=h((function(t,e){D(this,{type:j,target:M(t).entries,index:0,kind:e})}),F,(function(){var t=B(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=null,C(void 0,!0);var n=e[r];switch(t.kind){case"keys":return C(n.key,!1);case"values":return C(n.value,!1)}return C([n.key,n.value],!1)}),!0),gt=function(t){this.entries=[],this.url=null,void 0!==t&&(S(t)?this.parseObject(t):this.parseQuery("string"==typeof t?"?"===K(t,0)?nt(t,1):t:x(t)))};gt.prototype={type:F,bindURL:function(t){this.url=t,this.update()},parseObject:function(t){var e,r,n,o,a,s,c,l=this.entries,u=N(t);if(u)for(r=(e=_(t,u)).next;!(n=i(r,e)).done;){if(a=(o=_(w(n.value))).next,(s=i(a,o)).done||(c=i(a,o)).done||!i(a,o).done)throw new q("Expected sequence with length 2");Z(l,{key:x(s.value),value:x(c.value)})}else for(var f in t)m(t,f)&&Z(l,{key:f,value:x(t[f])})},parseQuery:function(t){if(t)for(var e,r,n=this.entries,i=rt(t,"&"),o=0;o0?arguments[0]:void 0));a||(this.size=t.entries.length)},wt=mt.prototype;if(u(wt,{append:function(t,e){var r=M(this);R(arguments.length,2),Z(r.entries,{key:x(t),value:x(e)}),a||this.length++,r.updateURL()},delete:function(t){for(var e=M(this),r=R(arguments.length,1),n=e.entries,i=x(t),o=r<2?void 0:arguments[1],s=void 0===o?o:x(o),c=0;ce.key?1:-1})),t.updateURL()},forEach:function(t){for(var e,r=M(this).entries,n=b(t,arguments.length>1?arguments[1]:void 0),i=0;i1?kt(arguments[1]):{})}}),g(U)){var Tt=function(t){return p(this,z),new U(t,arguments.length>1?kt(arguments[1]):{})};z.constructor=Tt,Tt.prototype=z,t({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:Tt})}}return Do={URLSearchParams:mt,getState:M}}Bo||(Bo=1,Jo());var Zo=t.fn.bootstrapTable.utils;Object.assign(t.fn.bootstrapTable.defaults,{addrbar:!1,addrPrefix:"",addrCustomParams:{}}),t.BootstrapTable=function(e){function i(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),r(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&&s(t,e)}(i,e),n(i,[{key:"init",value:function(){this.options.pagination&&this.options.addrbar&&this.initAddrbar();for(var t=arguments.length,e=new Array(t),r=0;r127&&n<2048?(e+=String.fromCharCode(n>>6|192),e+=String.fromCharCode(63&n|128)):(e+=String.fromCharCode(n>>12|224),e+=String.fromCharCode(n>>6&63|128),e+=String.fromCharCode(63&n|128))}return e}(t);u>2,a=(3&r)<<4|(n=t.charCodeAt(u++))>>4,s=(15&n)<<2|(i=t.charCodeAt(u++))>>6,c=63&i,isNaN(n)?s=c=64:isNaN(i)&&(c=64),l=l+e.charAt(o)+e.charAt(a)+e.charAt(s)+e.charAt(c);return l}return{encode:function(t){return r(t)}}}(jQuery);var $jscomp=$jscomp||{};$jscomp.scope={},$jscomp.findInternal=function(t,e,r){t instanceof String&&(t=String(t));for(var n=t.length,i=0;in&&void 0!==dt[n]&&-1!==t.inArray(dt[n],nt.ignoreColumn))&&(i=!0):i=!0,i}function h(e,r,n,i,o){if("function"==typeof o){var a=!1;if("function"==typeof nt.onIgnoreRow&&(a=nt.onIgnoreRow(t(e),n)),!1===a&&(0===nt.ignoreRow.length||-1===t.inArray(n,nt.ignoreRow)&&-1===t.inArray(n-i,nt.ignoreRow))&&u(t(e))){var s=(e=c(t(e),r)).length,l=0,h=0;e.each((function(){var e,r=t(this),i=N(this),a=C(this);if(t.each(pt,(function(){if(n>this.s.r&&n<=this.e.r&&l>=this.s.c&&l<=this.e.c)for(e=0;e<=this.e.c-this.s.c;++e)s++,h++,o(null,n,l++)})),(a||i)&&(i=i||1,pt.push({s:{r:n,c:l},e:{r:n+(a||1)-1,c:l+i-1}})),!1===f(r,s,h++)&&o(this,n,l++),1=this.s.r&&n<=this.e.r&&l>=this.s.c&&l<=this.e.c)for(var t=0;t<=this.e.c-this.s.c;++t)o(null,n,l++)}))}}}function d(t,e,r,n){if(void 0!==n.images&&void 0!==(r=n.images[r])){e=e.getBoundingClientRect();var i=t.width/t.height,o=e.width/e.height,a=t.width,s=t.height,c=19.049976/25.4,l=0;o<=i?(s=Math.min(t.height,e.height),a=e.width*s/e.height):o>i&&(a=Math.min(t.width,e.width),s=e.height*a/e.width),a*=c,(s*=c)e.textPos.x&&i+u>e.textPos.x+e.width&&(0<=".,!%*;:=-".indexOf(l.charAt(0))&&(f=l.charAt(0),i+(u=n.doc.getStringUnitWidth(f)*n.doc.internal.getFontSize())<=e.textPos.x+e.width&&(U(f,i,o,a),l=l.substring(1,l.length)),u=n.doc.getStringUnitWidth(l)*n.doc.internal.getFontSize()),i=e.textPos.x,o+=n.doc.internal.getFontSize()),"visible"!==e.styles.overflow)for(;l.length&&i+u>e.textPos.x+e.width;)l=l.substring(0,l.length-1),u=n.doc.getStringUnitWidth(l)*n.doc.internal.getFontSize();U(l,i,o,a),i+=u}(s||c)&&(t(r).is("b")?s=!1:t(r).is("i")&&(c=!1),n.doc.setFont("undefined ",s||c?s?"bold":"italic":"normal")),r=r.nextSibling}e.textPos.x=i,e.textPos.y=o}else U(e.text,e.textPos.x,e.textPos.y,a)}}function y(t,e,r){return null==t?"":t.toString().replace(new RegExp(null==e?"":e.toString().replace(/([.*+?^=!:${}()|\[\]\/\\])/g,"\\$1"),"g"),r)}function w(t){return null==t?"":t.toString().replace(/^\s+/,"")}function S(t){return null==t?"":t.toString().replace(/\s+$/,"")}function x(t){if(0===nt.date.html.length)return!1;nt.date.pattern.lastIndex=0;var e=nt.date.pattern.exec(t);if(null==e)return!1;if(0>(t=+e[nt.date.match_y])||8099"+c+"",null,!1);var l=0,u=0;c="",t.each(e,(function(){if(t(this).is("input"))c+=s.find("input").eq(l++).val();else if(t(this).is("select"))c+=s.find("select option:selected").eq(u++).text();else if(t(this).is("br"))c+="
    ";else if(void 0===t(this).html()?c+=t(this).text():(void 0===jQuery().bootstrapTable||!1===t(this).hasClass("fht-cell")&&!1===t(this).hasClass("filterControl")&&0===s.parents(".detail-view").length)&&(c+=t(this).html()),t(this).is("a")){var e=s.find("a").attr("href")||"";o="function"==typeof nt.onCellHtmlHyperlink?o+nt.onCellHtmlHyperlink(s,r,n,e,c):"href"===nt.htmlHyperlink?o+e:o+c,c=""}}))}if(c&&""!==c&&!0===nt.htmlContent)o=t.trim(c);else if(c&&""!==c)if(""!==s.attr("data-tableexport-cellformat")){var f=c.replace(/\n/g,"\u2028").replace(/(<\s*br([^>]*)>)/gi,"⁠"),h=t("
    ").html(f).contents();if(e=!1,f="",t.each(h.text().split("\u2028"),(function(t,e){0e?1:0)).split(".")).length&&(h[1]="");var d=3e?"-":"")+(nt.numbers.output.thousandsSeparator?(d?h[0].substr(0,d)+nt.numbers.output.thousandsSeparator:"")+h[0].substr(d).replace(/(\d{3})(?=\d)/g,"$1"+nt.numbers.output.thousandsSeparator):h[0])+(h[1].length?nt.numbers.output.decimalMark+h[1]:"")}}else o=c;!0===nt.escape&&(o=escape(o)),"function"==typeof nt.onCellData&&(o=nt.onCellData(s,r,n,o,a),s.data("teUserDefText",1))}return void 0!==i&&(i.type=a),o}function A(t){return 0o?i+=String.fromCharCode(o):(127o?i+=String.fromCharCode(o>>6|192):(i+=String.fromCharCode(o>>12|224),i+=String.fromCharCode(o>>6&63|128)),i+=String.fromCharCode(63&o|128))}t=i}for(;n>2,a=(3&a)<<4|(i=t.charCodeAt(n++))>>4;var s=(15&i)<<2|(e=t.charCodeAt(n++))>>6,c=63&e;isNaN(i)?s=c=64:isNaN(e)&&(c=64),r=r+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(o)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(a)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(s)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(c)}return r}function W(t,e,r,n){return e&&"object"==typeof e||console.error("The headers should be an object or array, is: "+typeof e),r&&"object"==typeof r||console.error("The data should be an object or array, is: "+typeof r),n&&"object"!=typeof n&&console.error("The data should be an object or array, is: "+typeof r),Array.prototype.forEach||console.error("The current browser does not support Array.prototype.forEach which is required for jsPDF-AutoTable"),Z=t,tt=function(t){var e=Y({theme:"striped",styles:{},headerStyles:{},bodyStyles:{},alternateRowStyles:{},columnStyles:{},startY:!1,margin:40,pageBreak:"auto",tableWidth:"auto",createdHeaderCell:function(t,e){},createdCell:function(t,e){},drawHeaderRow:function(t,e){},drawRow:function(t,e){},drawHeaderCell:function(t,e){},drawCell:function(t,e){},beforePageContent:function(t){},afterPageContent:function(t){}},t);void 0!==e.extendWidth&&(e.tableWidth=e.extendWidth?"auto":"wrap",console.error("Use of deprecated option: extendWidth, use tableWidth instead.")),void 0!==e.margins&&(void 0===e.margin&&(e.margin=e.margins),console.error("Use of deprecated option: margins, use margin instead.")),[["padding","cellPadding"],["lineHeight","rowHeight"],"fontSize","overflow"].forEach((function(t){var r="string"==typeof t?t:t[0];t="string"==typeof t?t:t[1],void 0!==e[r]&&(void 0===e.styles[t]&&(e.styles[t]=e[r]),console.error("Use of deprecated option: "+r+", use the style "+t+" instead."))}));var r=e.margin;return e.margin={},"number"==typeof r.horizontal&&(r.right=r.horizontal,r.left=r.horizontal),"number"==typeof r.vertical&&(r.top=r.vertical,r.bottom=r.vertical),["top","right","bottom","left"].forEach((function(t,n){"number"==typeof r?e.margin[t]=r:(n=Array.isArray(r)?n:t,e.margin[t]="number"==typeof r[n]?r[n]:40)})),e}(n||{}),et=1,Q={y:!1===tt.startY?tt.margin.top:tt.startY},t={textColor:30,fontSize:Z.internal.getFontSize(),fontStyle:Z.internal.getFont().fontStyle,fontName:Z.internal.getFont().fontName},H(e,r),function(){var t=0;rt.columns.forEach((function(e){e.contentWidth=rt.headerRow.cells[e.dataKey].contentWidth,rt.rows.forEach((function(t){(t=t.cells[e.dataKey].contentWidth)>e.contentWidth&&(e.contentWidth=t)})),e.width=e.contentWidth,t+=e.contentWidth})),rt.contentWidth=t;var e=Z.internal.pageSize.width-tt.margin.left-tt.margin.right,r=e;"number"==typeof tt.tableWidth?r=tt.tableWidth:"wrap"===tt.tableWidth&&(r=rt.contentWidth),rt.width=rrt.width?t.width=t.contentWidth:(n.push(t),i+=t.contentWidth,t.width=0),a+=t.width})),z(n,a,i,o),rt.height=0,rt.rows.concat(rt.headerRow).forEach((function(t,e){var r=0,n=rt.x;rt.columns.forEach((function(e){var i=t.cells[e.dataKey];e.x=n,q(i.styles);var o=e.width-2*i.styles.cellPadding;"linebreak"===i.styles.overflow?i.text=Z.splitTextToSize(i.text,o+1,{fontSize:i.styles.fontSize}):"ellipsize"===i.styles.overflow?i.text=G(i.text,o,i.styles):"visible"!==i.styles.overflow&&("hidden"===i.styles.overflow?i.text=G(i.text,o,i.styles,""):"function"==typeof i.styles.overflow?i.text=i.styles.overflow(i.text,o):console.error("Unrecognized overflow type: "+i.styles.overflow)),(i=Array.isArray(i.text)?i.text.length-1:0)>r&&(r=i),n+=e.width})),t.heightStyle=t.styles.rowHeight,t.height=t.heightStyle+r*t.styles.fontSize*1.15+(2-1.15)/2*t.styles.fontSize,rt.height+=t.height}))}(),e=tt.startY+tt.margin.bottom+rt.headerRow.height+(rt.rows[0]&&"auto"===tt.pageBreak?rt.rows[0].height:0),"avoid"===tt.pageBreak&&(e+=rt.height),("always"===tt.pageBreak&&!1!==tt.startY||!1!==tt.startY&&e>Z.internal.pageSize.height)&&(Z.addPage(),Q.y=tt.margin.top),q(t),tt.beforePageContent($()),!1!==tt.drawHeaderRow(rt.headerRow,$({row:rt.headerRow}))&&V(rt.headerRow,tt.drawHeaderCell),q(t),rt.rows.forEach((function(t,e){Q.y+t.height+tt.margin.bottom>=Z.internal.pageSize.height&&(tt.afterPageContent($()),Z.addPage(),et++,Q={x:tt.margin.left,y:tt.margin.top},tt.beforePageContent($()),!1!==tt.drawHeaderRow(rt.headerRow,$({row:rt.headerRow}))&&V(rt.headerRow,tt.drawHeaderCell)),t.y=Q.y,!1!==tt.drawRow(t,$({row:t}))&&V(t,tt.drawCell)})),tt.afterPageContent($()),q(t),Z}function U(t,e,r,n){"number"==typeof e&&"number"==typeof r||console.error("The x and y parameters are required. Missing for the text: ",t);var i=Z.internal.getFontSize()/Z.internal.scaleFactor,o=/\r\n|\r|\n/g,a=null,s=1;if("middle"!==n.valign&&"bottom"!==n.valign&&"center"!==n.halign&&"right"!==n.halign||(s=(a="string"==typeof t?t.split(o):t).length||1),r+=i*(2-1.15),"middle"===n.valign?r-=s/2*i:"bottom"===n.valign&&(r-=s*i),"center"===n.halign||"right"===n.halign){if(o=i,"center"===n.halign&&(o*=.5),a&&1<=s){for(t=0;ti&&c){t.splice(o,1),r-=a.contentWidth,a.width=n,z(t,e+=a.width,r,n);break}a.width=a.contentWidth+i*s}}function V(t,e){for(var r=0;r=X(t,r))return t;for(;et.length);)t=t.substring(0,t.length-1);return t.trim()+n}function X(t,e){return q(e),Z.getStringUnitWidth(t)*e.fontSize}function Y(t){var e,r={};for(e in t)t.hasOwnProperty(e)&&(r[e]=t[e]);for(var n=1;n"+T(t,e,r)+""})),ft++})),Ot+="";var Nt=1;if(ut=s(t(st)),t(ut).each((function(){var t=1;ht="",h(this,"td,th",ft,lt.length+ut.length,(function(e,r,n){ht+=""+T(e,r,n)+"",t++})),0"!==ht&&(Ot+=''+ht+"",Nt++),ft++})),Ot+="","string"===nt.outputMode)return Ot;if("base64"===nt.outputMode)return B(Ot);D(Ot,nt.fileName+".xml","application/xml","utf-8","base64",!1)}else if("excel"===nt.type&&"xmlss"===nt.mso.fileFormat){var Ct=[],Rt=[];t(st).filter((function(){return u(t(this))})).each((function(){function e(e,r,n){var i=[];return t(e).each((function(){var r=0,o=0;ht="",h(this,"td,th",ft,n+e.length,(function(e,n,a){if(null!==e){var s="";if(n=T(e,n,a),a="String",!1!==jQuery.isNumeric(n))a="Number";else{var c=function(t){return-1")),c=N(e),e=C(e),t.each(i,(function(){if(ft>=this.s.r&&ft<=this.e.r&&o>=this.s.c&&o<=this.e.c)for(var t=0;t<=this.e.c-this.s.c;++t)o++,r++})),(e||c)&&(e=e||1,c=c||1,i.push({s:{r:ft,c:o},e:{r:ft+e-1,c:o+c-1}})),1'+t("
    ").text(n).html()+"\r",o++}})),0\r'+ht+"\r"),ft++})),e.length}var r=t(this),n="";"string"==typeof nt.mso.worksheetName&&nt.mso.worksheetName.length?n=nt.mso.worksheetName+" "+(Rt.length+1):void 0!==nt.mso.worksheetName[Rt.length]&&(n=nt.mso.worksheetName[Rt.length]),n.length||(n=r.find("caption").text()||""),n.length||(n="Table "+(Rt.length+1)),n=t.trim(n.replace(/[\\\/[\]*:?'"]/g,"").substring(0,31)),Rt.push(t("
    ").text(n).html()),!1===nt.exportHiddenCells&&(vt=r.find("tr, th, td").filter(":hidden"),gt=0\r",n=e(a(r),0,0),e(s(r),0,n),K+="
    \r",Ct.push(K)}));for(var Pt,Lt,It={},Ft={},jt=0,Dt=Rt.length;jt\r\r\r \r\r\r 9000\r 13860\r 0\r 0\r False\r False\r\r\r \r \r \r\r',Bt=0;Bt\r'+Ct[Bt],Mt=nt.mso.rtl?Mt+'\r\r\r':Mt+'\r',Mt+="\r";if(Mt+="\r","string"===nt.outputMode)return Mt;if("base64"===nt.outputMode)return B(Mt);D(Mt,nt.fileName+".xml","application/xml","utf-8","base64",!1)}else if("excel"===nt.type&&"xlsx"===nt.mso.fileFormat){var Wt=[],Ut=XLSX.utils.book_new();t(st).filter((function(){return u(t(this))})).each((function(){for(var e,r,n,i,o,a,s,c=t(this),l={},h=this.getElementsByTagName("tr"),d=Math.min(1e7,h.length),p={s:{r:0,c:0},e:{r:0,c:0}},v=[],g=0,m=0,b=XLSX.SSF.get_table();ge||36e||48===e?E="n":("date"===A.type||13e||44e||56===e)&&(E="d")):E="s",null!=k&&(0===k.length?r.t="z":0!==k.trim().length&&"s"!==E&&("function"===A.type?r={f:k}:"TRUE"===k?r={t:"b",v:!0}:"FALSE"===k?r={t:"b",v:!1}:"n"===E||isFinite(F(k,nt.numbers.output))?(E=F(k,nt.numbers.output),0===e&&"function"!=typeof nt.mso.xlsx.formatId.numbers&&(e=nt.mso.xlsx.formatId.numbers),(isFinite(E)||isFinite(k))&&(r={t:"n",v:isFinite(E)?E:k,z:"string"==typeof e?e:e in b?b[e]:e===nt.mso.xlsx.formatId.currency?nt.mso.xlsx.format.currency:"0.00"})):!1===(A=x(k))&&"d"!==E||(0===e&&"function"!=typeof nt.mso.xlsx.formatId.date&&(e=nt.mso.xlsx.formatId.date),r={t:"d",v:!1!==A?A:k,z:"string"==typeof e?e:e in b?b[e]:"m/d/yy"})),(E=t(s).find("a"))&&E.length&&(E=E[0].hasAttribute("href")?E.attr("href"):"",k="href"!==nt.htmlHyperlink||""===E?k:"",""!==(A=""!==E?'=HYPERLINK("'+E+(k.length?'","'+k:"")+'")':"")&&("function"==typeof nt.mso.xlsx.onHyperlink?r=0!==(k=nt.mso.xlsx.onHyperlink(t(s),g,n,E,k,A)).indexOf("=HYPERLINK")?{t:"s",v:k}:{f:k}:r={f:A}))),l[L({c:i,r:m})]=r,p.e.c=d&&(l["!fullref"]=I((p.e.r=h.length-g+m-1,p))),e="","string"==typeof nt.mso.worksheetName&&nt.mso.worksheetName.length?e=nt.mso.worksheetName+" "+(Wt.length+1):void 0!==nt.mso.worksheetName[Wt.length]&&(e=nt.mso.worksheetName[Wt.length]),e.length||(e=c.find("caption").text()||""),e.length||(e="Table "+(Wt.length+1)),e=t.trim(e.replace(/[\\\/[\]*:?'"]/g,"").substring(0,31)),Wt.push(e),XLSX.utils.book_append_sheet(Ut,l,e)})),D(function(t){for(var e=new ArrayBuffer(t.length),r=new Uint8Array(e),n=0;n!==t.length;++n)r[n]=255&t.charCodeAt(n);return e}(XLSX.write(Ut,{type:"binary",bookType:nt.mso.fileFormat,bookSST:!1})),nt.fileName+"."+nt.mso.fileFormat,"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","UTF-8","",!1)}else if("excel"===nt.type||"xls"===nt.type||"word"===nt.type||"doc"===nt.type){var Ht="excel"===nt.type||"xls"===nt.type?"excel":"word",zt="excel"===Ht?"xls":"doc",Vt='xmlns:x="urn:schemas-microsoft-com:office:'+Ht+'"',qt=K="";t(st).filter((function(){return u(t(this))})).each((function(){var e=t(this);""===qt&&(qt=nt.mso.worksheetName||e.find("caption").text()||"Table",qt=t.trim(qt.replace(/[\\\/[\]*:?'"]/g,"").substring(0,31))),!1===nt.exportHiddenCells&&(vt=e.find("tr, th, td").filter(":hidden"),gt=0",lt=a(e),t(lt).each((function(){var e=t(this),r=document.defaultView.getComputedStyle(e[0],null);ht="",h(this,"th,td",ft,lt.length,(function(t,e,n){if(null!==t){var i="";if(ht+=""}})),0"+ht+""),ft++})),K+="",ut=s(e),t(ut).each((function(){var e=t(this),r=null,n=null;ht="",h(this,"td,th",ft,lt.length+ut.length,(function(i,o,a){if(null!==i){var s=T(i,o,a),c="",l=t(i).attr("data-tableexport-msonumberformat");if(void 0===l&&"function"==typeof nt.mso.onMsoNumberFormat&&(l=nt.mso.onMsoNumberFormat(i,o,a)),void 0!==l&&""!==l&&(c="style=\"mso-number-format:'"+l+"'"),nt.mso.styles.length)for(var u in r=document.defaultView.getComputedStyle(i,null),n=null,nt.mso.styles)o=nt.mso.styles[u],""===(l=R(r,o))&&(null===n&&(n=document.defaultView.getComputedStyle(e[0],null)),l=R(n,o)),""!==l&&"0px none rgb(0, 0, 0)"!==l&&"rgba(0, 0, 0, 0)"!==l&&(c+=""===c?'style="':";",c+=o+":"+l);ht+="")),ht+=">"+s+""}})),0"+ht+""),ft++})),nt.displayTableName&&(K+=""+T(t("

    "+nt.tableName+"

    "))+""),K+=""}));var $t='';if($t+="",$t+='',"excel"===Ht&&($t+="\x3c!--[if gte mso 9]>",$t+="",$t+="",$t+="",$t+="",$t+="",$t+=qt,$t+="",$t+="",$t+="",nt.mso.rtl&&($t+=""),$t+="",$t+="",$t+="",$t+="",$t+="",$t+="",$t+="@page { size:"+nt.mso.pageOrientation+"; mso-page-orientation:"+nt.mso.pageOrientation+"; }",$t+="@page Section1 {size:"+it[nt.mso.pageFormat][0]+"pt "+it[nt.mso.pageFormat][1]+"pt",$t+="; margin:1.0in 1.25in 1.0in 1.25in;mso-header-margin:.5in;mso-footer-margin:.5in;mso-paper-source:0;}",$t+="div.Section1 {page:Section1;}",$t+="@page Section2 {size:"+it[nt.mso.pageFormat][1]+"pt "+it[nt.mso.pageFormat][0]+"pt",$t+=";mso-page-orientation:"+nt.mso.pageOrientation+";margin:1.25in 1.0in 1.25in 1.0in;mso-header-margin:.5in;mso-footer-margin:.5in;mso-paper-source:0;}",$t+="div.Section2 {page:Section2;}",$t+="br {mso-data-placement:same-cell;}",$t+="",$t+="",$t+="",$t+='
    ',$t+=K,$t+="
    ",$t+="",$t+="","string"===nt.outputMode)return $t;if("base64"===nt.outputMode)return B($t);D($t,nt.fileName+"."+zt,"application/vnd.ms-"+Ht,"","base64",!1)}else if("png"===nt.type)html2canvas(t(st)[0]).then((function(t){t=t.toDataURL();for(var e=atob(t.substring(22)),r=new ArrayBuffer(e.length),n=new Uint8Array(r),i=0;i(e=o(ut=s(e),"td",lt.length+ut.length))?c:e,e=r.length;eZt){for(var r in e>it.a0[0]&&(Kt="a0",Jt="l"),it)it.hasOwnProperty(r)&&it[r][1]>e&&(Kt=r,Jt="l",it[r][0]>e&&(Jt="p"));Zt=e}}})),nt.jspdf.format=""===Kt?"a4":Kt,nt.jspdf.orientation=""===Jt?"w":Jt}null==Yt.doc&&(Yt.doc=new jspdf.jsPDF(nt.jspdf.orientation,nt.jspdf.unit,nt.jspdf.format),Yt.wScaleFactor=1,Yt.hScaleFactor=1,"function"==typeof nt.jspdf.onDocCreated)&&nt.jspdf.onDocCreated(Yt.doc),at.fontName=Yt.doc.getFont().fontName,!0===Yt.outputImages&&(Yt.images={}),void 0!==Yt.images&&(t(st).filter((function(){return u(t(this))})).each((function(){var e=0;pt=[],!1===nt.exportHiddenCells&&(vt=t(this).find("tr, th, td").filter(":hidden"),gt=0t.styles.rowHeight&&(t.styles.rowHeight=i)}t.styles.halign="inherit"===r.headerStyles.halign?"center":r.headerStyles.halign,t.styles.valign=r.headerStyles.valign,void 0!==n.style&&!0!==n.style.hidden&&("inherit"===r.headerStyles.halign&&(t.styles.halign=n.style.align),"inherit"===r.styles.fillColor&&(t.styles.fillColor=n.style.bcolor),"inherit"===r.styles.textColor&&(t.styles.textColor=n.style.color),"inherit"===r.styles.fontStyle&&(t.styles.fontStyle=n.style.fstyle))}}),"function"!=typeof r.createdCell&&(r.createdCell=function(t,e){e=Yt.teCells[e.row.index+":"+e.column.dataKey],t.styles.halign="inherit"===r.styles.halign?"center":r.styles.halign,t.styles.valign=r.styles.valign,void 0!==e&&void 0!==e.style&&!0!==e.style.hidden&&("inherit"===r.styles.halign&&(t.styles.halign=e.style.align),"inherit"===r.styles.fillColor&&(t.styles.fillColor=e.style.bcolor),"inherit"===r.styles.textColor&&(t.styles.textColor=e.style.color),"inherit"===r.styles.fontStyle&&(t.styles.fontStyle=e.style.fstyle))}),"function"!=typeof r.drawHeaderCell&&(r.drawHeaderCell=function(t,e){var r=Yt.columns[e.column.dataKey];return(!0!==r.style.hasOwnProperty("hidden")||!0!==r.style.hidden)&&0<=r.rowIndex&&v(t,e,r)}),"function"!=typeof r.drawCell&&(r.drawCell=function(e,r){var n=Yt.teCells[r.row.index+":"+r.column.dataKey];if(!0!==(void 0!==n&&n.isCanvas))v(e,r,n)&&(Yt.doc.rect(e.x,e.y,e.width,e.height,e.styles.fillStyle),void 0===n||void 0!==n.hasUserDefText&&!0===n.hasUserDefText||void 0===n.elements||!n.elements.length?b(e,{},Yt):((r=e.height/n.rect.height)>Yt.hScaleFactor&&(Yt.hScaleFactor=r),Yt.wScaleFactor=e.width/n.rect.width,r=e.textPos.y,m(e,n.elements,Yt),e.textPos.y=r,b(e,n.elements,Yt)));else{n=n.elements[0];var i=t(n).attr("data-tableexport-canvas"),o=n.getBoundingClientRect();e.width=o.width*Yt.wScaleFactor,e.height=o.height*Yt.hScaleFactor,r.row.height=e.height,d(e,n,i,Yt)}return!1}),Yt.headerrows=[],lt=a(t(this)),t(lt).each((function(){e=0,Yt.headerrows[ft]=[],h(this,"th,td",ft,lt.length,(function(t,r,n){var i=O(t);i.title=T(t,r,n),i.key=e++,i.rowIndex=ft,Yt.headerrows[ft].push(i)})),ft++})),0=200&&e.status<=299}function a(t){try{t.dispatchEvent(new MouseEvent("click"))}catch(r){var e=document.createEvent("MouseEvents");e.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),t.dispatchEvent(e)}}var s,c,l=e.saveAs||("object"!=typeof window||window!==e?function(){}:"undefined"!=typeof HTMLAnchorElement&&"download"in HTMLAnchorElement.prototype?function(t,r,n){var s=e.URL||e.webkitURL,c=document.createElement("a");r=r||t.name||"download",c.download=r,c.rel="noopener","string"==typeof t?(c.href=t,c.origin!==location.origin?o(c.href)?i(t,r,n):a(c,c.target="_blank"):a(c)):(c.href=s.createObjectURL(t),setTimeout((function(){s.revokeObjectURL(c.href)}),4e4),setTimeout((function(){a(c)}),0))}:"msSaveOrOpenBlob"in navigator?function(t,e,r){if(e=e||t.name||"download","string"==typeof t)if(o(t))i(t,e,r);else{var s=document.createElement("a");s.href=t,s.target="_blank",setTimeout((function(){a(s)}))}else navigator.msSaveOrOpenBlob(function(t,e){return void 0===e?e={autoBom:!1}:"object"!=typeof e&&(n.warn("Deprecated: Expected third argument to be a object"),e={autoBom:!e}),e.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(t.type)?new Blob([String.fromCharCode(65279),t],{type:t.type}):t}(t,r),e)}:function(t,r,n,o){if((o=o||open("","_blank"))&&(o.document.title=o.document.body.innerText="downloading..."),"string"==typeof t)return i(t,r,n);var a="application/octet-stream"===t.type,s=/constructor/i.test(e.HTMLElement)||e.safari,c=/CriOS\/[\d]+/.test(navigator.userAgent);if((c||a&&s)&&"object"==typeof FileReader){var l=new FileReader;l.onloadend=function(){var t=l.result;t=c?t:t.replace(/^data:[^;]*;/,"data:attachment/file;"),o?o.location.href=t:location=t,o=null},l.readAsDataURL(t)}else{var u=e.URL||e.webkitURL,f=u.createObjectURL(t);o?o.location=f:location.href=f,o=null,setTimeout((function(){u.revokeObjectURL(f)}),4e4)}});function u(t){var e;t=t||"",this.ok=!1,"#"==t.charAt(0)&&(t=t.substr(1,6)),t={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"}[t=(t=t.replace(/ /g,"")).toLowerCase()]||t;for(var r=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(t){return[parseInt(t[1]),parseInt(t[2]),parseInt(t[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(t){return[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(t){return[parseInt(t[1]+t[1],16),parseInt(t[2]+t[2],16),parseInt(t[3]+t[3],16)]}}],n=0;n255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var t=this.r.toString(16),e=this.g.toString(16),r=this.b.toString(16);return 1==t.length&&(t="0"+t),1==e.length&&(e="0"+e),1==r.length&&(r="0"+r),"#"+t+e+r}}function f(t,e){var r=t[0],n=t[1],i=t[2],o=t[3];r=d(r,n,i,o,e[0],7,-680876936),o=d(o,r,n,i,e[1],12,-389564586),i=d(i,o,r,n,e[2],17,606105819),n=d(n,i,o,r,e[3],22,-1044525330),r=d(r,n,i,o,e[4],7,-176418897),o=d(o,r,n,i,e[5],12,1200080426),i=d(i,o,r,n,e[6],17,-1473231341),n=d(n,i,o,r,e[7],22,-45705983),r=d(r,n,i,o,e[8],7,1770035416),o=d(o,r,n,i,e[9],12,-1958414417),i=d(i,o,r,n,e[10],17,-42063),n=d(n,i,o,r,e[11],22,-1990404162),r=d(r,n,i,o,e[12],7,1804603682),o=d(o,r,n,i,e[13],12,-40341101),i=d(i,o,r,n,e[14],17,-1502002290),r=p(r,n=d(n,i,o,r,e[15],22,1236535329),i,o,e[1],5,-165796510),o=p(o,r,n,i,e[6],9,-1069501632),i=p(i,o,r,n,e[11],14,643717713),n=p(n,i,o,r,e[0],20,-373897302),r=p(r,n,i,o,e[5],5,-701558691),o=p(o,r,n,i,e[10],9,38016083),i=p(i,o,r,n,e[15],14,-660478335),n=p(n,i,o,r,e[4],20,-405537848),r=p(r,n,i,o,e[9],5,568446438),o=p(o,r,n,i,e[14],9,-1019803690),i=p(i,o,r,n,e[3],14,-187363961),n=p(n,i,o,r,e[8],20,1163531501),r=p(r,n,i,o,e[13],5,-1444681467),o=p(o,r,n,i,e[2],9,-51403784),i=p(i,o,r,n,e[7],14,1735328473),r=v(r,n=p(n,i,o,r,e[12],20,-1926607734),i,o,e[5],4,-378558),o=v(o,r,n,i,e[8],11,-2022574463),i=v(i,o,r,n,e[11],16,1839030562),n=v(n,i,o,r,e[14],23,-35309556),r=v(r,n,i,o,e[1],4,-1530992060),o=v(o,r,n,i,e[4],11,1272893353),i=v(i,o,r,n,e[7],16,-155497632),n=v(n,i,o,r,e[10],23,-1094730640),r=v(r,n,i,o,e[13],4,681279174),o=v(o,r,n,i,e[0],11,-358537222),i=v(i,o,r,n,e[3],16,-722521979),n=v(n,i,o,r,e[6],23,76029189),r=v(r,n,i,o,e[9],4,-640364487),o=v(o,r,n,i,e[12],11,-421815835),i=v(i,o,r,n,e[15],16,530742520),r=g(r,n=v(n,i,o,r,e[2],23,-995338651),i,o,e[0],6,-198630844),o=g(o,r,n,i,e[7],10,1126891415),i=g(i,o,r,n,e[14],15,-1416354905),n=g(n,i,o,r,e[5],21,-57434055),r=g(r,n,i,o,e[12],6,1700485571),o=g(o,r,n,i,e[3],10,-1894986606),i=g(i,o,r,n,e[10],15,-1051523),n=g(n,i,o,r,e[1],21,-2054922799),r=g(r,n,i,o,e[8],6,1873313359),o=g(o,r,n,i,e[15],10,-30611744),i=g(i,o,r,n,e[6],15,-1560198380),n=g(n,i,o,r,e[13],21,1309151649),r=g(r,n,i,o,e[4],6,-145523070),o=g(o,r,n,i,e[11],10,-1120210379),i=g(i,o,r,n,e[2],15,718787259),n=g(n,i,o,r,e[9],21,-343485551),t[0]=k(r,t[0]),t[1]=k(n,t[1]),t[2]=k(i,t[2]),t[3]=k(o,t[3])}function h(t,e,r,n,i,o){return e=k(k(e,t),k(n,o)),k(e<>>32-i,r)}function d(t,e,r,n,i,o,a){return h(e&r|~e&n,t,e,i,o,a)}function p(t,e,r,n,i,o,a){return h(e&n|r&~n,t,e,i,o,a)}function v(t,e,r,n,i,o,a){return h(e^r^n,t,e,i,o,a)}function g(t,e,r,n,i,o,a){return h(r^(e|~n),t,e,i,o,a)}function m(t){var e,r=t.length,n=[1732584193,-271733879,-1732584194,271733878];for(e=64;e<=t.length;e+=64)f(n,b(t.substring(e-64,e)));t=t.substring(e-64);var i=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(e=0;e>2]|=t.charCodeAt(e)<<(e%4<<3);if(i[e>>2]|=128<<(e%4<<3),e>55)for(f(n,i),e=0;e<16;e++)i[e]=0;return i[14]=8*r,f(n,i),n}function b(t){var e,r=[];for(e=0;e<64;e+=4)r[e>>2]=t.charCodeAt(e)+(t.charCodeAt(e+1)<<8)+(t.charCodeAt(e+2)<<16)+(t.charCodeAt(e+3)<<24);return r}s=e.atob.bind(e),c=e.btoa.bind(e);var y="0123456789abcdef".split("");function w(t){for(var e="",r=0;r<4;r++)e+=y[t>>8*r+4&15]+y[t>>8*r&15];return e}function S(t){return String.fromCharCode(255&t,(65280&t)>>8,(16711680&t)>>16,(4278190080&t)>>24)}function x(t){return function(t){return t.map(S).join("")}(m(t))}function k(t,e){return t+e&4294967295}if("5d41402abc4b2a76b9719d911017c592"!=function(t){for(var e=0;e€/\f©þdSiz";let o=(e+this.padding).substr(0,32),a=(r+this.padding).substr(0,32);this.O=this.processOwnerPassword(o,a),this.P=-(1+(255^i)),this.encryptionKey=x(o+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(n)).substr(0,5),this.U=T(this.encryptionKey,this.padding)}function _(t){if("object"!=typeof t)throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var r={};this.subscribe=function(t,e,n){if(n=n||!1,"string"!=typeof t||"function"!=typeof e||"boolean"!=typeof n)throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");r.hasOwnProperty(t)||(r[t]={});var i=Math.random().toString(35);return r[t][i]=[e,!!n],i},this.unsubscribe=function(t){for(var e in r)if(r[e][t])return delete r[e][t],0===Object.keys(r[e]).length&&delete r[e],!0;return!1},this.publish=function(i){if(r.hasOwnProperty(i)){var o=Array.prototype.slice.call(arguments,1),a=[];for(var s in r[i]){var c=r[i][s];try{c[0].apply(t,o)}catch(t){e.console&&n.error("jsPDF PubSub Error",t.message,t)}c[1]&&a.push(s)}a.length&&a.forEach(this.unsubscribe)}},this.getTopics=function(){return r}}function O(t){if(!(this instanceof O))return new O(t);var e="opacity,stroke-opacity".split(",");for(var r in t)t.hasOwnProperty(r)&&e.indexOf(r)>=0&&(this[r]=t[r]);this.id="",this.objectNumber=-1}function N(t,e){this.gState=t,this.matrix=e,this.id="",this.objectNumber=-1}function C(t,e,r,n,i){if(!(this instanceof C))return new C(t,e,r,n,i);this.type="axial"===t?2:3,this.coords=e,this.colors=r,N.call(this,n,i)}function R(t,e,r,n,i){if(!(this instanceof R))return new R(t,e,r,n,i);this.boundingBox=t,this.xStep=e,this.yStep=r,this.stream="",this.cloneIndex=0,N.call(this,n,i)}function P(t){var r,i="string"==typeof arguments[0]?arguments[0]:"p",o=arguments[1],a=arguments[2],s=arguments[3],f=[],h=1,d=16,p="S",v=null;"object"==typeof(t=t||{})&&(i=t.orientation,o=t.unit||o,a=t.format||a,s=t.compress||t.compressPdf||s,null!==(v=t.encryption||null)&&(v.userPassword=v.userPassword||"",v.ownerPassword=v.ownerPassword||"",v.userPermissions=v.userPermissions||[]),h="number"==typeof t.userUnit?Math.abs(t.userUnit):1,void 0!==t.precision&&(r=t.precision),void 0!==t.floatPrecision&&(d=t.floatPrecision),p=t.defaultPathOperation||"S"),f=t.filters||(!0===s?["FlateEncode"]:f),o=o||"mm",i=(""+(i||"P")).toLowerCase();var g=t.putOnlyUsedFonts||!1,m={},b={internal:{},__private__:{}};b.__private__.PubSub=_;var y="1.3",w=b.__private__.getPdfVersion=function(){return y};b.__private__.setPdfVersion=function(t){y=t};var S={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};b.__private__.getPageFormats=function(){return S};var x=b.__private__.getPageFormat=function(t){return S[t]};a=a||"a4";var k="compat",T="advanced",A=k;function N(){this.saveGraphicsState(),ct(new Ht(kt,0,0,-kt,0,br()*kt).toString()+" cm"),this.setFontSize(this.getFontSize()/kt),p="n",A=T}function L(){this.restoreGraphicsState(),p="S",A=k}var I=function(t,e){if("bold"==t&&"normal"==e||"bold"==t&&400==e||"normal"==t&&"italic"==e||"bold"==t&&"italic"==e)throw new Error("Invalid Combination of fontweight and fontstyle");return e&&t!==e&&(t=400==e?"italic"==t?"italic":"normal":700==e&&"italic"!==t?"bold":t+""+e),t};b.advancedAPI=function(t){var e=A===k;return e&&N.call(this),"function"!=typeof t||(t(this),e&&L.call(this)),this},b.compatAPI=function(t){var e=A===T;return e&&L.call(this),"function"!=typeof t||(t(this),e&&N.call(this)),this},b.isAdvancedAPI=function(){return A===T};var F,j=function(t){if(A!==T)throw new Error(t+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},D=b.roundToPrecision=b.__private__.roundToPrecision=function(t,e){var n=r||e;if(isNaN(t)||isNaN(n))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return t.toFixed(n).replace(/0+$/,"")};F=b.hpf=b.__private__.hpf="number"==typeof d?function(t){if(isNaN(t))throw new Error("Invalid argument passed to jsPDF.hpf");return D(t,d)}:"smart"===d?function(t){if(isNaN(t))throw new Error("Invalid argument passed to jsPDF.hpf");return D(t,t>-1&&t<1?16:5)}:function(t){if(isNaN(t))throw new Error("Invalid argument passed to jsPDF.hpf");return D(t,16)};var M=b.f2=b.__private__.f2=function(t){if(isNaN(t))throw new Error("Invalid argument passed to jsPDF.f2");return D(t,2)},B=b.__private__.f3=function(t){if(isNaN(t))throw new Error("Invalid argument passed to jsPDF.f3");return D(t,3)},W=b.scale=b.__private__.scale=function(t){if(isNaN(t))throw new Error("Invalid argument passed to jsPDF.scale");return A===k?t*kt:A===T?t:void 0},U=function(t){return W(function(t){return A===k?br()-t:A===T?t:void 0}(t))};b.__private__.setPrecision=b.setPrecision=function(t){"number"==typeof parseInt(t,10)&&(r=parseInt(t,10))};var H,z="00000000000000000000000000000000",V=b.__private__.getFileId=function(){return z},q=b.__private__.setFileId=function(t){return z=void 0!==t&&/^[a-fA-F0-9]{32}$/.test(t)?t.toUpperCase():z.split("").map((function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))})).join(""),null!==v&&(Ne=new E(v.userPermissions,v.userPassword,v.ownerPassword,z)),z};b.setFileId=function(t){return q(t),this},b.getFileId=function(){return V()};var $=b.__private__.convertDateToPDFDate=function(t){var e=t.getTimezoneOffset(),r=e<0?"+":"-",n=Math.floor(Math.abs(e/60)),i=Math.abs(e%60),o=[r,J(n),"'",J(i),"'"].join("");return["D:",t.getFullYear(),J(t.getMonth()+1),J(t.getDate()),J(t.getHours()),J(t.getMinutes()),J(t.getSeconds()),o].join("")},G=b.__private__.convertPDFDateToDate=function(t){var e=parseInt(t.substr(2,4),10),r=parseInt(t.substr(6,2),10)-1,n=parseInt(t.substr(8,2),10),i=parseInt(t.substr(10,2),10),o=parseInt(t.substr(12,2),10),a=parseInt(t.substr(14,2),10);return new Date(e,r,n,i,o,a,0)},X=b.__private__.setCreationDate=function(t){var e;if(void 0===t&&(t=new Date),t instanceof Date)e=$(t);else{if(!/^D:(20[0-2][0-9]|203[0-7]|19[7-9][0-9])(0[0-9]|1[0-2])([0-2][0-9]|3[0-1])(0[0-9]|1[0-9]|2[0-3])(0[0-9]|[1-5][0-9])(0[0-9]|[1-5][0-9])(\+0[0-9]|\+1[0-4]|-0[0-9]|-1[0-1])'(0[0-9]|[1-5][0-9])'?$/.test(t))throw new Error("Invalid argument passed to jsPDF.setCreationDate");e=t}return H=e},Y=b.__private__.getCreationDate=function(t){var e=H;return"jsDate"===t&&(e=G(H)),e};b.setCreationDate=function(t){return X(t),this},b.getCreationDate=function(t){return Y(t)};var K,J=b.__private__.padd2=function(t){return("0"+parseInt(t)).slice(-2)},Z=b.__private__.padd2Hex=function(t){return("00"+(t=t.toString())).substr(t.length)},Q=0,tt=[],et=[],rt=0,nt=[],it=[],ot=!1,at=et;b.__private__.setCustomOutputDestination=function(t){ot=!0,at=t};var st=function(t){ot||(at=t)};b.__private__.resetCustomOutputDestination=function(){ot=!1,at=et};var ct=b.__private__.out=function(t){return t=t.toString(),rt+=t.length+1,at.push(t),at},lt=b.__private__.write=function(t){return ct(1===arguments.length?t.toString():Array.prototype.join.call(arguments," "))},ut=b.__private__.getArrayBuffer=function(t){for(var e=t.length,r=new ArrayBuffer(e),n=new Uint8Array(r);e--;)n[e]=t.charCodeAt(e);return r},ft=[["Helvetica","helvetica","normal","WinAnsiEncoding"],["Helvetica-Bold","helvetica","bold","WinAnsiEncoding"],["Helvetica-Oblique","helvetica","italic","WinAnsiEncoding"],["Helvetica-BoldOblique","helvetica","bolditalic","WinAnsiEncoding"],["Courier","courier","normal","WinAnsiEncoding"],["Courier-Bold","courier","bold","WinAnsiEncoding"],["Courier-Oblique","courier","italic","WinAnsiEncoding"],["Courier-BoldOblique","courier","bolditalic","WinAnsiEncoding"],["Times-Roman","times","normal","WinAnsiEncoding"],["Times-Bold","times","bold","WinAnsiEncoding"],["Times-Italic","times","italic","WinAnsiEncoding"],["Times-BoldItalic","times","bolditalic","WinAnsiEncoding"],["ZapfDingbats","zapfdingbats","normal",null],["Symbol","symbol","normal",null]];b.__private__.getStandardFonts=function(){return ft};var ht=t.fontSize||16;b.__private__.setFontSize=b.setFontSize=function(t){return ht=A===T?t/kt:t,this};var dt,pt=b.__private__.getFontSize=b.getFontSize=function(){return A===k?ht:ht*kt},vt=t.R2L||!1;b.__private__.setR2L=b.setR2L=function(t){return vt=t,this},b.__private__.getR2L=b.getR2L=function(){return vt};var gt,mt=b.__private__.setZoomMode=function(t){if(/^\d*\.?\d*%$/.test(t))dt=t;else if(isNaN(t)){if(-1===[void 0,null,"fullwidth","fullheight","fullpage","original"].indexOf(t))throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+t+'" is not recognized.');dt=t}else dt=parseInt(t,10)};b.__private__.getZoomMode=function(){return dt};var bt,yt=b.__private__.setPageMode=function(t){if(-1==[void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(t))throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+t+'" is not recognized.');gt=t};b.__private__.getPageMode=function(){return gt};var wt=b.__private__.setLayoutMode=function(t){if(-1==[void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(t))throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+t+'" is not recognized.');bt=t};b.__private__.getLayoutMode=function(){return bt},b.__private__.setDisplayMode=b.setDisplayMode=function(t,e,r){return mt(t),wt(e),yt(r),this};var St={title:"",subject:"",author:"",keywords:"",creator:""};b.__private__.getDocumentProperty=function(t){if(-1===Object.keys(St).indexOf(t))throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return St[t]},b.__private__.getDocumentProperties=function(){return St},b.__private__.setDocumentProperties=b.setProperties=b.setDocumentProperties=function(t){for(var e in St)St.hasOwnProperty(e)&&t[e]&&(St[e]=t[e]);return this},b.__private__.setDocumentProperty=function(t,e){if(-1===Object.keys(St).indexOf(t))throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return St[t]=e};var xt,kt,Tt,At,Et,_t={},Ot={},Nt=[],Ct={},Rt={},Pt={},Lt={},It=null,Ft=0,jt=[],Dt=new _(b),Mt=t.hotfixes||[],Bt={},Wt={},Ut=[],Ht=function(t,e,r,n,i,o){if(!(this instanceof Ht))return new Ht(t,e,r,n,i,o);isNaN(t)&&(t=1),isNaN(e)&&(e=0),isNaN(r)&&(r=0),isNaN(n)&&(n=1),isNaN(i)&&(i=0),isNaN(o)&&(o=0),this._matrix=[t,e,r,n,i,o]};Object.defineProperty(Ht.prototype,"sx",{get:function(){return this._matrix[0]},set:function(t){this._matrix[0]=t}}),Object.defineProperty(Ht.prototype,"shy",{get:function(){return this._matrix[1]},set:function(t){this._matrix[1]=t}}),Object.defineProperty(Ht.prototype,"shx",{get:function(){return this._matrix[2]},set:function(t){this._matrix[2]=t}}),Object.defineProperty(Ht.prototype,"sy",{get:function(){return this._matrix[3]},set:function(t){this._matrix[3]=t}}),Object.defineProperty(Ht.prototype,"tx",{get:function(){return this._matrix[4]},set:function(t){this._matrix[4]=t}}),Object.defineProperty(Ht.prototype,"ty",{get:function(){return this._matrix[5]},set:function(t){this._matrix[5]=t}}),Object.defineProperty(Ht.prototype,"a",{get:function(){return this._matrix[0]},set:function(t){this._matrix[0]=t}}),Object.defineProperty(Ht.prototype,"b",{get:function(){return this._matrix[1]},set:function(t){this._matrix[1]=t}}),Object.defineProperty(Ht.prototype,"c",{get:function(){return this._matrix[2]},set:function(t){this._matrix[2]=t}}),Object.defineProperty(Ht.prototype,"d",{get:function(){return this._matrix[3]},set:function(t){this._matrix[3]=t}}),Object.defineProperty(Ht.prototype,"e",{get:function(){return this._matrix[4]},set:function(t){this._matrix[4]=t}}),Object.defineProperty(Ht.prototype,"f",{get:function(){return this._matrix[5]},set:function(t){this._matrix[5]=t}}),Object.defineProperty(Ht.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(Ht.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(Ht.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(Ht.prototype,"isIdentity",{get:function(){return 1===this.sx&&0===this.shy&&0===this.shx&&1===this.sy&&0===this.tx&&0===this.ty}}),Ht.prototype.join=function(t){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(F).join(t)},Ht.prototype.multiply=function(t){var e=t.sx*this.sx+t.shy*this.shx,r=t.sx*this.shy+t.shy*this.sy,n=t.shx*this.sx+t.sy*this.shx,i=t.shx*this.shy+t.sy*this.sy,o=t.tx*this.sx+t.ty*this.shx+this.tx,a=t.tx*this.shy+t.ty*this.sy+this.ty;return new Ht(e,r,n,i,o,a)},Ht.prototype.decompose=function(){var t=this.sx,e=this.shy,r=this.shx,n=this.sy,i=this.tx,o=this.ty,a=Math.sqrt(t*t+e*e),s=(t/=a)*r+(e/=a)*n;r-=t*s,n-=e*s;var c=Math.sqrt(r*r+n*n);return s/=c,t*(n/=c)>16&255,n=c>>8&255,i=255&c}if(void 0===n||void 0===o&&r===n&&n===i)if("string"==typeof r)e=r+" "+a[0];else if(2===t.precision)e=M(r/255)+" "+a[0];else e=B(r/255)+" "+a[0];else if(void 0===o||"object"==typeof o){if(o&&!isNaN(o.a)&&0===o.a)return["1.","1.","1.",a[1]].join(" ");if("string"==typeof r)e=[r,n,i,a[1]].join(" ");else if(2===t.precision)e=[M(r/255),M(n/255),M(i/255),a[1]].join(" ");else e=[B(r/255),B(n/255),B(i/255),a[1]].join(" ")}else if("string"==typeof r)e=[r,n,i,o,a[2]].join(" ");else if(2===t.precision)e=[M(r),M(n),M(i),M(o),a[2]].join(" ");else e=[B(r),B(n),B(i),B(o),a[2]].join(" ");return e},te=b.__private__.getFilters=function(){return f},ee=b.__private__.putStream=function(t){var e=(t=t||{}).data||"",r=t.filters||te(),n=t.alreadyAppliedFilters||[],i=t.addLength1||!1,o=e.length,a=t.objectId,s=function(t){return t};if(null!==v&&void 0===a)throw new Error("ObjectId must be passed to putStream for file encryption");null!==v&&(s=Ne.encryptor(a,0));var c={};!0===r&&(r=["FlateEncode"]);var l=t.additionalKeyValues||[],u=(c=void 0!==P.API.processDataByFilters?P.API.processDataByFilters(e,r):{data:e,reverseChain:[]}).reverseChain+(Array.isArray(n)?n.join(" "):n.toString());if(0!==c.data.length&&(l.push({key:"Length",value:c.data.length}),!0===i&&l.push({key:"Length1",value:o})),0!=u.length)if(u.split("/").length-1==1)l.push({key:"Filter",value:u});else{l.push({key:"Filter",value:"["+u+"]"});for(var f=0;f>"),0!==c.data.length&&(ct("stream"),ct(s(c.data)),ct("endstream"))},re=b.__private__.putPage=function(t){var e=t.number,r=t.data,n=t.objId,i=t.contentsObjId;Xt(n,!0),ct("<>"),ct("endobj");var o=r.join("\n");return A===T&&(o+="\nQ"),Xt(i,!0),ee({data:o,filters:te(),objectId:i}),ct("endobj"),n},ne=b.__private__.putPages=function(){var t,e,r=[];for(t=1;t<=Ft;t++)jt[t].objId=Gt(),jt[t].contentsObjId=Gt();for(t=1;t<=Ft;t++)r.push(re({number:t,data:it[t],objId:jt[t].objId,contentsObjId:jt[t].contentsObjId,mediaBox:jt[t].mediaBox,cropBox:jt[t].cropBox,bleedBox:jt[t].bleedBox,trimBox:jt[t].trimBox,artBox:jt[t].artBox,userUnit:jt[t].userUnit,rootDictionaryObjId:Kt,resourceDictionaryObjId:Jt}));Xt(Kt,!0),ct("<>"),ct("endobj"),Dt.publish("postPutPages")},ie=function(t){var e=function(t,e){return-1!==t.indexOf(" ")?"("+de(t,e)+")":de(t,e)};Dt.publish("putFont",{font:t,out:ct,newObject:$t,putStream:ee,pdfEscapeWithNeededParanthesis:e}),!0!==t.isAlreadyPutted&&(t.objectNumber=$t(),ct("<<"),ct("/Type /Font"),ct("/BaseFont /"+e(t.postScriptName)),ct("/Subtype /Type1"),"string"==typeof t.encoding&&ct("/Encoding /"+t.encoding),ct("/FirstChar 32"),ct("/LastChar 255"),ct(">>"),ct("endobj"))},oe=function(t){t.objectNumber=$t();var e=[];e.push({key:"Type",value:"/XObject"}),e.push({key:"Subtype",value:"/Form"}),e.push({key:"BBox",value:"["+[F(t.x),F(t.y),F(t.x+t.width),F(t.y+t.height)].join(" ")+"]"}),e.push({key:"Matrix",value:"["+t.matrix.toString()+"]"});var r=t.pages[1].join("\n");ee({data:r,additionalKeyValues:e,objectId:t.objectNumber}),ct("endobj")},ae=function(t,e){e||(e=21);var r=$t(),n=function(t,e){var r,n=[],i=1/(e-1);for(r=0;r<1;r+=i)n.push(r);if(n.push(1),0!=t[0].offset){var o={offset:0,color:t[0].color};t.unshift(o)}if(1!=t[t.length-1].offset){var a={offset:1,color:t[t.length-1].color};t.push(a)}for(var s="",c=0,l=0;lt[c+1].offset;)c++;var u=t[c].offset,f=(r-u)/(t[c+1].offset-u),h=t[c].color,d=t[c+1].color;s+=Z(Math.round((1-f)*h[0]+f*d[0]).toString(16))+Z(Math.round((1-f)*h[1]+f*d[1]).toString(16))+Z(Math.round((1-f)*h[2]+f*d[2]).toString(16))}return s.trim()}(t.colors,e),i=[];i.push({key:"FunctionType",value:"0"}),i.push({key:"Domain",value:"[0.0 1.0]"}),i.push({key:"Size",value:"["+e+"]"}),i.push({key:"BitsPerSample",value:"8"}),i.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),i.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),ee({data:n,additionalKeyValues:i,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:r}),ct("endobj"),t.objectNumber=$t(),ct("<< /ShadingType "+t.type),ct("/ColorSpace /DeviceRGB");var o="/Coords ["+F(parseFloat(t.coords[0]))+" "+F(parseFloat(t.coords[1]))+" ";2===t.type?o+=F(parseFloat(t.coords[2]))+" "+F(parseFloat(t.coords[3])):o+=F(parseFloat(t.coords[2]))+" "+F(parseFloat(t.coords[3]))+" "+F(parseFloat(t.coords[4]))+" "+F(parseFloat(t.coords[5])),ct(o+="]"),t.matrix&&ct("/Matrix ["+t.matrix.toString()+"]"),ct("/Function "+r+" 0 R"),ct("/Extend [true true]"),ct(">>"),ct("endobj")},se=function(t,e){var r=Gt(),n=$t();e.push({resourcesOid:r,objectOid:n}),t.objectNumber=n;var i=[];i.push({key:"Type",value:"/Pattern"}),i.push({key:"PatternType",value:"1"}),i.push({key:"PaintType",value:"1"}),i.push({key:"TilingType",value:"1"}),i.push({key:"BBox",value:"["+t.boundingBox.map(F).join(" ")+"]"}),i.push({key:"XStep",value:F(t.xStep)}),i.push({key:"YStep",value:F(t.yStep)}),i.push({key:"Resources",value:r+" 0 R"}),t.matrix&&i.push({key:"Matrix",value:"["+t.matrix.toString()+"]"}),ee({data:t.stream,additionalKeyValues:i,objectId:t.objectNumber}),ct("endobj")},ce=function(t){for(var e in t.objectNumber=$t(),ct("<<"),t)switch(e){case"opacity":ct("/ca "+M(t[e]));break;case"stroke-opacity":ct("/CA "+M(t[e]))}ct(">>"),ct("endobj")},le=function(t){Xt(t.resourcesOid,!0),ct("<<"),ct("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),function(){for(var t in ct("/Font <<"),_t)_t.hasOwnProperty(t)&&(!1===g||!0===g&&m.hasOwnProperty(t))&&ct("/"+t+" "+_t[t].objectNumber+" 0 R");ct(">>")}(),function(){if(Object.keys(Ct).length>0){for(var t in ct("/Shading <<"),Ct)Ct.hasOwnProperty(t)&&Ct[t]instanceof C&&Ct[t].objectNumber>=0&&ct("/"+t+" "+Ct[t].objectNumber+" 0 R");Dt.publish("putShadingPatternDict"),ct(">>")}}(),function(t){if(Object.keys(Ct).length>0){for(var e in ct("/Pattern <<"),Ct)Ct.hasOwnProperty(e)&&Ct[e]instanceof b.TilingPattern&&Ct[e].objectNumber>=0&&Ct[e].objectNumber>")}}(t.objectOid),function(){if(Object.keys(Pt).length>0){var t;for(t in ct("/ExtGState <<"),Pt)Pt.hasOwnProperty(t)&&Pt[t].objectNumber>=0&&ct("/"+t+" "+Pt[t].objectNumber+" 0 R");Dt.publish("putGStateDict"),ct(">>")}}(),function(){for(var t in ct("/XObject <<"),Bt)Bt.hasOwnProperty(t)&&Bt[t].objectNumber>=0&&ct("/"+t+" "+Bt[t].objectNumber+" 0 R");Dt.publish("putXobjectDict"),ct(">>")}(),ct(">>"),ct("endobj")},ue=function(){var t=[];(function(){for(var t in _t)_t.hasOwnProperty(t)&&(!1===g||!0===g&&m.hasOwnProperty(t))&&ie(_t[t])})(),function(){var t;for(t in Pt)Pt.hasOwnProperty(t)&&ce(Pt[t])}(),function(){for(var t in Bt)Bt.hasOwnProperty(t)&&oe(Bt[t])}(),function(t){var e;for(e in Ct)Ct.hasOwnProperty(e)&&(Ct[e]instanceof C?ae(Ct[e]):Ct[e]instanceof R&&se(Ct[e],t))}(t),Dt.publish("putResources"),t.forEach(le),le({resourcesOid:Jt,objectOid:Number.MAX_SAFE_INTEGER}),Dt.publish("postPutResources")},fe=function(t){Ot[t.fontName]=Ot[t.fontName]||{},Ot[t.fontName][t.fontStyle]=t.id},he=function(t,e,r,n,i){var o={id:"F"+(Object.keys(_t).length+1).toString(10),postScriptName:t,fontName:e,fontStyle:r,encoding:n,isStandardFont:i||!1,metadata:{}};return Dt.publish("addFont",{font:o,instance:this}),_t[o.id]=o,fe(o),o.id},de=b.__private__.pdfEscape=b.pdfEscape=function(t,e){return function(t,e){var r,n,i,o,a,s,c,l,u;if(i=(e=e||{}).sourceEncoding||"Unicode",a=e.outputEncoding,(e.autoencode||a)&&_t[xt].metadata&&_t[xt].metadata[i]&&_t[xt].metadata[i].encoding&&(o=_t[xt].metadata[i].encoding,!a&&_t[xt].encoding&&(a=_t[xt].encoding),!a&&o.codePages&&(a=o.codePages[0]),"string"==typeof a&&(a=o[a]),a)){for(c=!1,s=[],r=0,n=t.length;r>8&&(c=!0);t=s.join("")}for(r=t.length;void 0===c&&0!==r;)t.charCodeAt(r-1)>>8&&(c=!0),r--;if(!c)return t;for(s=e.noBOM?[]:[254,255],r=0,n=t.length;r>8)>>8)throw new Error("Character at position "+r+" of string '"+t+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");s.push(u),s.push(l-(u<<8))}return String.fromCharCode.apply(void 0,s)}(t,e).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},pe=b.__private__.beginPage=function(t){it[++Ft]=[],jt[Ft]={objId:0,contentsObjId:0,userUnit:Number(h),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(t[0]),topRightY:Number(t[1])}},me(Ft),st(it[K])},ve=function(t,e){var r,o,s;switch(i=e||i,"string"==typeof t&&(r=x(t.toLowerCase()),Array.isArray(r)&&(o=r[0],s=r[1])),Array.isArray(t)&&(o=t[0]*kt,s=t[1]*kt),isNaN(o)&&(o=a[0],s=a[1]),(o>14400||s>14400)&&(n.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),o=Math.min(14400,o),s=Math.min(14400,s)),a=[o,s],i.substr(0,1)){case"l":s>o&&(a=[s,o]);break;case"p":o>s&&(a=[s,o])}pe(a),Xe(Ge),ct(rr),0!==cr&&ct(cr+" J"),0!==lr&&ct(lr+" j"),Dt.publish("addPage",{pageNumber:Ft})},ge=function(t){t>0&&t<=Ft&&(it.splice(t,1),jt.splice(t,1),Ft--,K>Ft&&(K=Ft),this.setPage(K))},me=function(t){t>0&&t<=Ft&&(K=t)},be=b.__private__.getNumberOfPages=b.getNumberOfPages=function(){return it.length-1},ye=function(t,e,r){var i,o=void 0;return r=r||{},t=void 0!==t?t:_t[xt].fontName,e=void 0!==e?e:_t[xt].fontStyle,i=t.toLowerCase(),void 0!==Ot[i]&&void 0!==Ot[i][e]?o=Ot[i][e]:void 0!==Ot[t]&&void 0!==Ot[t][e]?o=Ot[t][e]:!1===r.disableWarning&&n.warn("Unable to look up font label for font '"+t+"', '"+e+"'. Refer to getFontList() for available fonts."),o||r.noFallback||null==(o=Ot.times[e])&&(o=Ot.times.normal),o},we=b.__private__.putInfo=function(){var t=$t(),e=function(t){return t};for(var r in null!==v&&(e=Ne.encryptor(t,0)),ct("<<"),ct("/Producer ("+de(e("jsPDF "+P.version))+")"),St)St.hasOwnProperty(r)&&St[r]&&ct("/"+r.substr(0,1).toUpperCase()+r.substr(1)+" ("+de(e(St[r]))+")");ct("/CreationDate ("+de(e(H))+")"),ct(">>"),ct("endobj")},Se=b.__private__.putCatalog=function(t){var e=(t=t||{}).rootDictionaryObjId||Kt;switch($t(),ct("<<"),ct("/Type /Catalog"),ct("/Pages "+e+" 0 R"),dt||(dt="fullwidth"),dt){case"fullwidth":ct("/OpenAction [3 0 R /FitH null]");break;case"fullheight":ct("/OpenAction [3 0 R /FitV null]");break;case"fullpage":ct("/OpenAction [3 0 R /Fit]");break;case"original":ct("/OpenAction [3 0 R /XYZ null null 1]");break;default:var r=""+dt;"%"===r.substr(r.length-1)&&(dt=parseInt(dt)/100),"number"==typeof dt&&ct("/OpenAction [3 0 R /XYZ null null "+M(dt)+"]")}switch(bt||(bt="continuous"),bt){case"continuous":ct("/PageLayout /OneColumn");break;case"single":ct("/PageLayout /SinglePage");break;case"two":case"twoleft":ct("/PageLayout /TwoColumnLeft");break;case"tworight":ct("/PageLayout /TwoColumnRight")}gt&&ct("/PageMode /"+gt),Dt.publish("putCatalog"),ct(">>"),ct("endobj")},xe=b.__private__.putTrailer=function(){ct("trailer"),ct("<<"),ct("/Size "+(Q+1)),ct("/Root "+Q+" 0 R"),ct("/Info "+(Q-1)+" 0 R"),null!==v&&ct("/Encrypt "+Ne.oid+" 0 R"),ct("/ID [ <"+z+"> <"+z+"> ]"),ct(">>")},ke=b.__private__.putHeader=function(){ct("%PDF-"+y),ct("%ºß¬à")},Te=b.__private__.putXRef=function(){var t="0000000000";ct("xref"),ct("0 "+(Q+1)),ct("0000000000 65535 f ");for(var e=1;e<=Q;e++)"function"==typeof tt[e]?ct((t+tt[e]()).slice(-10)+" 00000 n "):void 0!==tt[e]?ct((t+tt[e]).slice(-10)+" 00000 n "):ct("0000000000 00000 n ")},Ae=b.__private__.buildDocument=function(){Q=0,rt=0,et=[],tt=[],nt=[],Kt=Gt(),Jt=Gt(),st(et),Dt.publish("buildDocument"),ke(),ne(),function(){Dt.publish("putAdditionalObjects");for(var t=0;t"),ct("/O <"+Ne.toHexString(Ne.O)+">"),ct("/P "+Ne.P),ct(">>"),ct("endobj")),we(),Se();var t=rt;return Te(),xe(),ct("startxref"),ct(""+t),ct("%%EOF"),st(it[K]),et.join("\n")},Ee=b.__private__.getBlob=function(t){return new Blob([ut(t)],{type:"application/pdf"})},_e=b.output=b.__private__.output=function(t){return t.foo=function(){try{return t.apply(this,arguments)}catch(t){var r=t.stack||"";~r.indexOf(" at ")&&(r=r.split(" at ")[1]);var n="Error in function "+r.split("\n")[0].split("<")[0]+": "+t.message;if(!e.console)throw new Error(n);e.console.error(n,t),e.alert&&alert(n)}},t.foo.bar=t,t.foo}((function(t,r){switch("string"==typeof(r=r||{})?r={filename:r}:r.filename=r.filename||"generated.pdf",t){case void 0:return Ae();case"save":b.save(r.filename);break;case"arraybuffer":return ut(Ae());case"blob":return Ee(Ae());case"bloburi":case"bloburl":if(void 0!==e.URL&&"function"==typeof e.URL.createObjectURL)return e.URL&&e.URL.createObjectURL(Ee(Ae()))||void 0;n.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var i="",o=Ae();try{i=c(o)}catch(t){i=c(unescape(encodeURIComponent(o)))}return"data:application/pdf;filename="+r.filename+";base64,"+i;case"pdfobjectnewwindow":if("[object Window]"===Object.prototype.toString.call(e)){var a='