snipe-it/public/js/dist/bootstrap-table.js

20 lines
584 KiB
JavaScript
Raw Normal View History

function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],e):(t=t||self,t.BootstrapTable=e(t.jQuery))}(this,function(t){"use strict";function e(t,e){return e={exports:{}},t(e,e.exports),e.exports}function n(t,e){return RegExp(t,e)}function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function a(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),t}function s(t,e){return u(t)||h(t,e)||p()}function l(t){return c(t)||f(t)||d()}function c(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}function u(t){if(Array.isArray(t))return t}function f(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}function h(t,e){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}}function d(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function p(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}t=t&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t;var g="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},m=function(t){return t&&t.Math==Math&&t},v=m("object"==typeof globalThis&&globalThis)||m("object"==typeof window&&window)||m("object"==typeof self&&self)||m("object"==typeof g&&g)||Function("return this")(),y=function(t){try{return!!t()}catch(t){return!0}},b=!y(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}),w={}.propertyIsEnumerable,x=Object.getOwnPropertyDescriptor,S=x&&!w.call({1:2},1),A=S?function(t){var e=x(this,t);return!!e&&e.enumerable}:w,N={f:A},L=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},k={}.toString,C=function(t){return k.call(t).slice(8,-1)},O="".split,_=y(function(){return!Object("z").propertyIsEnumerable(0)})?function(t){return"String"==C(t)?O.call(t,""):Object(t)}:Object,P=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t},I=function(t){return _(P(t))},T=function(t){return"object"==typeof t?null!==t:"function"==typeof t},E=function(t,e){if(!T(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!T(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!T(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!T(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")},j={}.hasOwnProperty,F=function(t,e){return j.call(t,e)},R=v.document,B=T(R)&&T(R.createElement),M=function(t){return B?R.createElement(t):{}},D=!b&&!y(function(){return 7!=Object.defineProperty(M("div"),"a",{get:function(){return 7}}).a}),q=Object.getOwnPropertyDescriptor,U=b?q:function(t,e){if(t=I(t),e=E(e,!0),D)try{return q(t,e)}catch(t){}if(F(t,e))return L(!N.f.call(t,e),t[e])},z={f:U},H=function(t){if(!T(t))throw TypeError(String(t)+" is not an object");return t},$=Object.defineProperty,V=b?$:function(t,e,n){if(H(t),e=E(e,!0),H(n),D)try{return $(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t},W={f:V},G=b?function(t,e,n){return W.f(t,e,L(1,n))}:function(t,e,n){return t[e]=n,t},Y=function(t,e){try{G(v,t,e)}c
;return void 0!==o?o.call(e,i,n):r.call(String(i),e,n)},function(t,i){var o=n(r,t,this,i,r!==e);if(o.done)return o.value;var a=H(t),s=String(this),l=Io(a,RegExp),c=a.unicode,u=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(jo?"y":"g"),f=new l(jo?a:"^(?:"+a.source+")",u),h=void 0===i?4294967295:i>>>0;if(0===h)return[];if(0===s.length)return null===So(f,s)?[s]:[];for(var d=0,p=0,g=[];p<s.length;){f.lastIndex=jo?p:0;var m,v=So(f,jo?s:s.slice(p));if(null===v||(m=Eo(_t(f.lastIndex+(jo?0:p)),s.length))===d)p=xo(s,p,c);else{if(g.push(s.slice(d,p)),g.length===h)return g;for(var y=1;y<=v.length-1;y++)if(g.push(v[y]),g.length===h)return g;p=d=m}}return g.push(s.slice(d)),g}]},!jo);var Fo="…",Ro=Wr.trim;Zt({target:"String",proto:!0,forced:function(t){return y(function(){return!!Ur[t]()||Fo[t]()!=Fo||Ur[t].name!==t})}("trim")},{trim:function(){return Ro(this)}});var Bo={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},Mo=Be.forEach,Do=Yn("forEach")?function(t){return Mo(this,t,arguments.length>1?arguments[1]:void 0)}:[].forEach;for(var qo in Bo){var Uo=v[qo],zo=Uo&&Uo.prototype;if(zo&&zo.forEach!==Do)try{G(zo,"forEach",Do)}catch(t){zo.forEach=Do}}var Ho=Ae("iterator"),$o=Ae("toStringTag"),Vo=xr.values;for(var Wo in Bo){var Go=v[Wo],Yo=Go&&Go.prototype;if(Yo){if(Yo[Ho]!==Vo)try{G(Yo,Ho,Vo)}catch(t){Yo[Ho]=Vo}if(Yo[$o]||G(Yo,$o,Wo),Bo[Wo])for(var Jo in xr)if(Yo[Jo]!==xr[Jo])try{G(Yo,Jo,xr[Jo])}catch(t){Yo[Jo]=xr[Jo]}}}var Xo=4;try{var Ko=t.fn.dropdown.Constructor.VERSION;void 0!==Ko&&(Xo=parseInt(Ko,10))}catch(t){}try{var Qo=bootstrap.Tooltip.VERSION;void 0!==Qo&&(Xo=parseInt(Qo,10))}catch(t){}var Zo={3:{iconsPrefix:"glyphicon",icons:{paginationSwitchDown:"glyphicon-collapse-down icon-chevron-down",paginationSwitchUp:"glyphicon-collapse-up icon-chevron-up",refresh:"glyphicon-refresh icon-refresh",toggleOff:"glyphicon-list-alt icon-list-alt",toggleOn:"glyphicon-list-alt icon-list-alt",columns:"glyphicon-th icon-th",detailOpen:"glyphicon-plus icon-plus",detailClose:"glyphicon-minus icon-minus",fullscreen:"glyphicon-fullscreen",search:"glyphicon-search",clearSearch:"glyphicon-trash"},classes:{buttonsPrefix:"btn",buttons:"default",buttonsGroup:"btn-group",buttonsDropdown:"btn-group",pull:"pull",inputGroup:"input-group",inputPrefix:"input-",input:"form-control",paginationDropdown:"btn-group dropdown",dropup:"dropup",dropdownActive:"active",paginationActive:"active",buttonActive:"active"},html:{toolbarDropdown:['<ul class="dropdown-menu" role="menu">',"</ul>"],toolbarDropdownItem:'<li class="dropdown-item-marker" role="menuitem"><label>%s</label></li>',toolbarDropdownSeparator:'<li class="divider"></li>',pageDropdown:['<ul class="dropdown-menu" role="menu">',"</ul>"],pageDropdownItem:'<li role="menuitem" class="%s"><a href="#">%s</a></li>',dropdownCaret:'<span class="caret"></span>',pagination:['<ul class="pagination%s">',"</ul>"],paginationItem:'<li class="page-item%s"><a class="page-link" aria-label="%s" href="javascript:void(0)">%s</a></li>',icon:'<i class="%s %s"></i>',inputGroup:'<div class="input-group">%s<span class="input-group-btn">%s</span></div>',searchInput:'<input class="%s%s" type="text" placeholder="%s">',searchButton:'<button class="%s" type="button" name="search" title="%s">%s %s</button>',searchClearButton:'<button class="%s" type="button" name="clearSearch" title="%s">%s %s</button>'}},4:{iconsPrefix:"fa",icons:{paginationSwitchDown:"fa-caret-square-down",paginationSwitchUp:"fa-caret-square-up",refresh:"fa-sync",toggleOff:"fa-toggle-off",toggleOn:"fa-toggle-on",columns:"fa-th-list",detailOpen:"fa-plus",detailClose:"fa-minus",fullscreen:"fa-arrows-alt",sea
this.$container.off("click",".th-inner").on("click",".th-inner",function(n){var r=t(n.currentTarget);if(e.options.detailView&&!r.parent().hasClass("bs-checkbox")&&r.closest(".bootstrap-table")[0]!==e.$container[0])return!1;e.options.sortable&&r.parent().data().sortable&&e.onSort(n)}),this.$header.children().children().off("keypress").on("keypress",function(n){if(e.options.sortable&&t(n.currentTarget).data().sortable){13===(n.keyCode||n.which)&&e.onSort(n)}});var i=va.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(n){n.stopPropagation();var r=t(n.currentTarget).prop("checked");e[r?"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||va.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,n="desc"===this.options.sortOrder?-1:1,r=this.header.fields.indexOf(this.options.sortName),i=0;-1!==r?(this.options.sortStable&&this.data.forEach(function(t,e){t.hasOwnProperty("_position")||(t._position=e)}),this.options.customSort?va.calculateObjectValue(this.options,this.options.customSort,[this.options.sortName,this.options.sortOrder,this.data]):this.data.sort(function(i,o){t.header.sortNames[r]&&(e=t.header.sortNames[r]);var a=va.getItemField(i,e,t.options.escape),s=va.getItemField(o,e,t.options.escape),l=va.calculateObjectValue(t.header,t.header.sorters[r],[a,s,i,o]);return void 0!==l?t.options.sortStable&&0===l?n*(i._position-o._position):n*l:va.sort(a,s,n,t.options.sortStable,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:"onSort",value:function(e){var n=e.type,r=e.currentTarget,i="keypress"===n?t(r):t(r).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;void 0===a?this.options.sortOrder="asc":"asc"===a?this.options.sortOrder="desc":"desc"===this.options.sortOrder&&(this.options.sortOrder=this.options.sortReset?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;if(this.trigger("sort",this.options.sortName,this.options.sortOrder),i.add(o).data("order",this.options.sortOrder),this.getCaret(),"server"===this.options.sidePagination&&this.options.serverSort)return this.options.pageNumber=1,void this.initServer(this.options.silentSort);this.initSort(),this.initBody()}},{key:"initToolbar",value:function(){var e,n=this,i=this.options,o=[],a=0,l=0;this.$toolbar.find(".bs-bars").children().length&&t("body").append(t(i.toolbar)),this.$toolbar.html(""),"string"!=typeof i.toolbar&&"object"!==r(i.toolbar)||t(va.sprintf('<div class="bs-bars %s-%s"></div>',this.constants.classes.pull,i.toolbarAlign)).appendTo(this.$toolbar).append(t(i.toolbar)),o=['<div class="'
;!d.checkbox&&d.searchable&&(this.options.visibleSearch&&d.visible||!this.options.visibleSearch)&&s.searchable.push(d.field)}}catch(t){c=!0,u=t}finally{try{l||null==h.return||h.return()}finally{if(c)throw u}}}if(va.isEmptyObject(this.filterColumnsPartial)||(s.filter=JSON.stringify(this.filterColumnsPartial,null)),t.extend(s,n||{}),!1!==(o=va.calculateObjectValue(this.options,this.options.queryParams,[s],o))){e||this.showLoading();var p=t.extend({},va.calculateObjectValue(null,this.options.ajaxOptions),{type:this.options.method,url:r||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,n,r){var o=va.calculateObjectValue(i.options,i.options.responseHandler,[t,r],t);i.load(o),i.trigger("load-success",o,r&&r.status,r),e||i.hideLoading(),"server"===i.options.sidePagination&&o[i.options.totalField]>0&&!o[i.options.dataField].length&&i.updatePagination()},error:function(t){var n=[];"server"===i.options.sidePagination&&(n={},n[i.options.totalField]=0,n[i.options.dataField]=[]),i.load(n),i.trigger("load-error",t&&t.status,t),e||i.$tableLoading.hide()}});return this.options.ajax?va.calculateObjectValue(this,this.options.ajax,[p],null):(this._xhr&&4!==this._xhr.readyState&&this._xhr.abort(),this._xhr=t.ajax(p)),o}}}},{key:"initSearchText",value:function(){if(this.options.search&&(this.searchText="",""!==this.options.searchText)){var t=va.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(n,r){t(r).find(".sortable").removeClass("desc asc").addClass(t(r).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,n){t(n).closest("tr")[t(n).prop("checked")?"addClass":"removeClass"]("selected")})}},{key:"updateRows",value:function(){var e=this;this.$selectItem.each(function(n,r){e.data[t(r).data("index")][e.header.stateField]=t(r).prop("checked")})}},{key:"resetRows",value:function(){var t=!0,e=!1,n=void 0;try{for(var r,i=this.data[Symbol.iterator]();!(t=(r=i.next()).done);t=!0){var o=r.value;this.$selectAll.prop("checked",!1),this.$selectItem.prop("checked",!1),this.header.stateField&&(o[this.header.stateField]=!1)}}catch(t){e=!0,n=t}finally{try{t||null==i.return||i.return()}finally{if(e)throw n}}this.initHiddenRows()}},{key:"trigger",value:function(n){for(var r,i,o="".concat(n,".bs.table"),a=arguments.length,s=new Array(a>1?a-1:0),l=1;l<a;l++)s[l-1]=arguments[l];(r=this.options)[e.EVENTS[o]].apply(r,[].concat(s,[this])),this.$el.trigger(t.Event(o,{sender:this}),s),(i=this.options).onAll.apply(i,[o].concat([].concat(s,[this]))),this.$el.trigger(t.Event("all.bs.table",{sender:this}),[o,s])}},{key:"resetHeader",value:function(){var t=this;clearTimeout(this.timeoutId_),this.timeoutId_=setTimeout(function(){return t.fitHeader()},this.$el.is(":hidden")?100:0)}},{key:"fitHeader",value:function(){var e=this;if(this.$el.is(":hidden"))return void(this.timeoutId_=setTimeout(function(){return e.fitHeader()},100));var n=this.$tableBody.get(0),r=n.scrollWidth>n.clientWidth&&n.scrollHeight>n.clientHeight+this.$header.outerHeight()?va.getScrollBarWidth():0;this.$el.css("margin-top",-this.$header.outerHeight());var i=t(":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",r).find("table").css("width",this.$el.outerWidth()).html("").attr("class",this.$el.at
return V.f(t,e,N(1,n))}:function(t,e,n){return t[e]=n,t},G=function(t,e){try{W(m,t,e)}catch(n){m[t]=e}return e},Y=m["__core-js_shared__"]||G("__core-js_shared__",{}),J=Y,X=Function.toString;"function"!=typeof J.inspectSource&&(J.inspectSource=function(t){return X.call(t)});var K,Q,Z,tt=J.inspectSource,et=m.WeakMap,nt="function"==typeof et&&/native code/.test(tt(et)),rt=e(function(t){(t.exports=function(t,e){return J[t]||(J[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.0",mode:"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})}),it=0,ot=Math.random(),at=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++it+ot).toString(36)},st=rt("keys"),lt=function(t){return st[t]||(st[t]=at(t))},ct={},ut=m.WeakMap,ft=function(t){return Z(t)?Q(t):K(t,{})},ht=function(t){return function(e){var n;if(!I(e)||(n=Q(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}};if(nt){var dt=new ut,pt=dt.get,gt=dt.has,mt=dt.set;K=function(t,e){return mt.call(dt,t,e),e},Q=function(t){return pt.call(dt,t)||{}},Z=function(t){return gt.call(dt,t)}}else{var vt=lt("state");ct[vt]=!0,K=function(t,e){return W(t,vt,e),e},Q=function(t){return j(t,vt)?t[vt]:{}},Z=function(t){return j(t,vt)}}var yt,bt={set:K,get:Q,has:Z,enforce:ft,getterFor:ht},wt=e(function(t){var e=bt.get,n=bt.enforce,r=String(String).split("String");(t.exports=function(t,e,i,o){var a=!!o&&!!o.unsafe,s=!!o&&!!o.enumerable,l=!!o&&!!o.noTargetGet;if("function"==typeof i&&("string"!=typeof e||j(i,"name")||W(i,"name",e),n(i).source=r.join("string"==typeof e?e:"")),t===m)return void(s?t[e]=i:G(e,i));a?!l&&t[e]&&(s=!0):delete t[e],s?t[e]=i:W(t,e,i)})(Function.prototype,"toString",function(){return"function"==typeof this&&e(this).source||tt(this)})}),xt=m,St=function(t){return"function"==typeof t?t:void 0},At=function(t,e){return arguments.length<2?St(xt[t])||St(m[t]):xt[t]&&xt[t][e]||m[t]&&m[t][e]},Nt=Math.ceil,Lt=Math.floor,kt=function(t){return isNaN(t=+t)?0:(t>0?Lt:Nt)(t)},Ct=Math.min,Ot=function(t){return t>0?Ct(kt(t),9007199254740991):0},_t=Math.max,Pt=Math.min,It=function(t,e){var n=kt(t);return n<0?_t(n+e,0):Pt(n,e)},Tt=function(t){return function(e,n,r){var i,o=P(e),a=Ot(o.length),s=It(r,a);if(t&&n!=n){for(;a>s;)if((i=o[s++])!=i)return!0}else for(;a>s;s++)if((t||s in o)&&o[s]===n)return t||s||0;return!t&&-1}},Et={includes:Tt(!0),indexOf:Tt(!1)},jt=Et.indexOf,Ft=function(t,e){var n,r=P(t),i=0,o=[];for(n in r)!j(ct,n)&&j(r,n)&&o.push(n);for(;e.length>i;)j(r,n=e[i++])&&(~jt(o,n)||o.push(n));return o},Rt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Bt=Rt.concat("length","prototype"),Mt=Object.getOwnPropertyNames||function(t){return Ft(t,Bt)},Dt={f:Mt},qt=Object.getOwnPropertySymbols,Ut={f:qt},zt=At("Reflect","ownKeys")||function(t){var e=Dt.f(z(t)),n=Ut.f;return n?e.concat(n(t)):e},Ht=function(t,e){for(var n=zt(e),r=V.f,i=U.f,o=0;o<n.length;o++){var a=n[o];j(t,a)||r(t,a,i(e,a))}},$t=/#|\.prototype\./,Vt=function(t,e){var n=Gt[Wt(t)];return n==Jt||n!=Yt&&("function"==typeof e?v(e):!!e)},Wt=Vt.normalize=function(t){return String(t).replace($t,".").toLowerCase()},Gt=Vt.data={},Yt=Vt.NATIVE="N",Jt=Vt.POLYFILL="P",Xt=Vt,Kt=U.f,Qt=function(t,e){var n,r,i,o,a,s=t.target,l=t.global,c=t.stat;if(n=l?m:c?m[s]||G(s,{}):(m[s]||{}).prototype)for(r in e){if(o=e[r],t.noTargetGet?(a=Kt(n,r),i=a&&a.value):i=n[r],!Xt(l?r:s+(c?".":"#")+r,t.forced)&&void 0!==i){if(typeof o==typeof i)continue;Ht(o,i)}(t.sham||i&&i.sham)&&W(o,"sham",!0),wt(n,r,o,t)}},Zt=!!Object.getOwnPropertySymbols&&!v(function(){return!String(Symbol())}),te=Zt&&!Symbol.sham&&"symbol"==typeof Symbol(),ee=Array.isArray||function(t){return"Array"==k(t)},ne=function(t){return Object(_(t))},re=Object.keys||function(t){return Ft(t,Rt)},ie=y?Object.defineProperties:function(t,e){z(t);for(var n,r=re(e),i=r.length,o=0;i>o;)V.f(t,n=r[o++],e[n]);return t},oe=At("document","documentElement"),ae=lt("IE_PROTO"),se=function(){},le=function(t){return"<script>"+t+"<\/script>"},ce=function(t){t.write(le("")),t.close();var e=t.parentWindow.Object;ret
return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}),y={}.propertyIsEnumerable,b=Object.getOwnPropertyDescriptor,w=b&&!y.call({1:2},1),x=w?function(t){var e=b(this,t);return!!e&&e.enumerable}:y,S={f:x},A=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},N={}.toString,L=function(t){return N.call(t).slice(8,-1)},k="".split,C=m(function(){return!Object("z").propertyIsEnumerable(0)})?function(t){return"String"==L(t)?k.call(t,""):Object(t)}:Object,O=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t},_=function(t){return C(O(t))},P=function(t){return"object"==typeof t?null!==t:"function"==typeof t},I=function(t,e){if(!P(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!P(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!P(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!P(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")},T={}.hasOwnProperty,E=function(t,e){return T.call(t,e)},j=g.document,F=P(j)&&P(j.createElement),R=function(t){return F?j.createElement(t):{}},B=!v&&!m(function(){return 7!=Object.defineProperty(R("div"),"a",{get:function(){return 7}}).a}),M=Object.getOwnPropertyDescriptor,D=v?M:function(t,e){if(t=_(t),e=I(e,!0),B)try{return M(t,e)}catch(t){}if(E(t,e))return A(!S.f.call(t,e),t[e])},q={f:D},U=function(t){if(!P(t))throw TypeError(String(t)+" is not an object");return t},z=Object.defineProperty,H=v?z:function(t,e,n){if(U(t),e=I(e,!0),U(n),B)try{return z(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t},$={f:H},V=v?function(t,e,n){return $.f(t,e,A(1,n))}:function(t,e,n){return t[e]=n,t},W=function(t,e){try{V(g,t,e)}catch(n){g[t]=e}return e},G=g["__core-js_shared__"]||W("__core-js_shared__",{}),Y=G,J=Function.toString;"function"!=typeof Y.inspectSource&&(Y.inspectSource=function(t){return J.call(t)});var X,K,Q,Z=Y.inspectSource,tt=g.WeakMap,et="function"==typeof tt&&/native code/.test(Z(tt)),nt=e(function(t){(t.exports=function(t,e){return Y[t]||(Y[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.0",mode:"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})}),rt=0,it=Math.random(),ot=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++rt+it).toString(36)},at=nt("keys"),st=function(t){return at[t]||(at[t]=ot(t))},lt={},ct=g.WeakMap,ut=function(t){return Q(t)?K(t):X(t,{})},ft=function(t){return function(e){var n;if(!P(e)||(n=K(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}};if(et){var ht=new ct,dt=ht.get,pt=ht.has,gt=ht.set;X=function(t,e){return gt.call(ht,t,e),e},K=function(t){return dt.call(ht,t)||{}},Q=function(t){return pt.call(ht,t)}}else{var mt=st("state");lt[mt]=!0,X=function(t,e){return V(t,mt,e),e},K=function(t){return E(t,mt)?t[mt]:{}},Q=function(t){return E(t,mt)}}var vt,yt={set:X,get:K,has:Q,enforce:ut,getterFor:ft},bt=e(function(t){var e=yt.get,n=yt.enforce,r=String(String).split("String");(t.exports=function(t,e,i,o){var a=!!o&&!!o.unsafe,s=!!o&&!!o.enumerable,l=!!o&&!!o.noTargetGet;if("function"==typeof i&&("string"!=typeof e||E(i,"name")||V(i,"name",e),n(i).source=r.join("string"==typeof e?e:"")),t===g)return void(s?t[e]=i:W(e,i));a?!l&&t[e]&&(s=!0):delete t[e],s?t[e]=i:V(t,e,i)})(Function.prototype,"toString",function(){return"function"==typeof this&&e(this).source||Z(this)})}),wt=g,xt=function(t){return"function"==typeof t?t:void 0},St=function(t,e){return arguments.length<2?xt(wt[t])||xt(g[t]):wt[t]&&wt[t][e]||g[t]&&g[t][e]},At=Math.ceil,Nt=Math.floor,Lt=function(t){return isNaN(t=+t)?0:(t>0?Nt:At)(t)},kt=Math.min,Ct=function(t){return t>0?kt(Lt(t),9007199254740991):0},Ot=Math.max,_t=Math.min,Pt=function(t,e){var n=Lt(t);return n<0?Ot(n+e,0):_t(n,e)},It=function(t){return function(e,n,r){var i,o=_(e),a=Ct(o.length),s=Pt(r,a);if(t&&n!=n){for(;a>s;)if((i=o[s++])!=i)return!0}else for(;a>s;s++)if((t||s in o)&&o[s]===n)return t||s||0;return!t&&-1}},Tt={includes:It(!0),indexOf:It(!1)},Et=Tt.indexOf,jt=function(t,e){var n,r=_(t),i=0,o=[
for(var i=!0,o=0;o<r.options.filterControls.length;o++)if(r.options.filterControls[o].field===e){r.options.filterControls[o].text=n,i=!1;break}i&&r.options.filterControls.push({field:e,text:n}),_i.setCookie(r,_i.cookieIds.filterControl,JSON.stringify(r.options.filterControls))}).on("created-controls.bs.table",_i.initCookieFilters(r))}}h(s(n.prototype),"init",this).call(this)}},{key:"initServer",value:function(){var t;if(this.options.cookie&&this.options.filterControl&&!this.options.filterControlValuesLoaded){if(JSON.parse(_i.getCookie(this,this.options.cookieIdTable,_i.cookieIds.filterControl)))return}for(var e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];(t=h(s(n.prototype),"initServer",this)).call.apply(t,[this].concat(r))}},{key:"initTable",value:function(){for(var t,e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];(t=h(s(n.prototype),"initTable",this)).call.apply(t,[this].concat(r)),this.initCookie()}},{key:"onSort",value:function(){for(var t,e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];(t=h(s(n.prototype),"onSort",this)).call.apply(t,[this].concat(r)),_i.setCookie(this,_i.cookieIds.sortOrder,this.options.sortOrder),_i.setCookie(this,_i.cookieIds.sortName,this.options.sortName)}},{key:"onPageNumber",value:function(){for(var t,e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];(t=h(s(n.prototype),"onPageNumber",this)).call.apply(t,[this].concat(r)),_i.setCookie(this,_i.cookieIds.pageNumber,this.options.pageNumber)}},{key:"onPageListChange",value:function(){for(var t,e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];(t=h(s(n.prototype),"onPageListChange",this)).call.apply(t,[this].concat(r)),_i.setCookie(this,_i.cookieIds.pageList,this.options.pageSize),_i.setCookie(this,_i.cookieIds.pageNumber,this.options.pageNumber)}},{key:"onPagePre",value:function(){for(var t,e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];(t=h(s(n.prototype),"onPagePre",this)).call.apply(t,[this].concat(r)),_i.setCookie(this,_i.cookieIds.pageNumber,this.options.pageNumber)}},{key:"onPageNext",value:function(){for(var t,e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];(t=h(s(n.prototype),"onPageNext",this)).call.apply(t,[this].concat(r)),_i.setCookie(this,_i.cookieIds.pageNumber,this.options.pageNumber)}},{key:"_toggleColumn",value:function(){for(var t,e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];(t=h(s(n.prototype),"_toggleColumn",this)).call.apply(t,[this].concat(r)),_i.setCookie(this,_i.cookieIds.columns,JSON.stringify(this.getVisibleColumns().map(function(t){return t.field})))}},{key:"_toggleAllColumns",value:function(){for(var t,e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];(t=h(s(n.prototype),"_toggleAllColumns",this)).call.apply(t,[this].concat(r)),_i.setCookie(this,_i.cookieIds.columns,JSON.stringify(this.getVisibleColumns().map(function(t){return t.field})))}},{key:"selectPage",value:function(t){h(s(n.prototype),"selectPage",this).call(this,t),_i.setCookie(this,_i.cookieIds.pageNumber,t)}},{key:"onSearch",value:function(t){h(s(n.prototype),"onSearch",this).call(this,t),this.options.search&&_i.setCookie(this,_i.cookieIds.searchText,this.searchText),_i.setCookie(this,_i.cookieIds.pageNumber,this.options.pageNumber)}},{key:"initHeader",value:function(){var t;this.options.reorderableColumns&&(this.columnsSortOrder=JSON.parse(_i.getCookie(this,this.options.cookieIdTable,_i.cookieIds.reorderColumns)));for(var e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];(t=h(s(n.prototype),"initHeader",this)).call.apply(t,[this].concat(r))}},{key:"persistReorderColumnsState",value:function(t){_i.setCookie(t,_i.cookieIds.reorderColumns,JSON.stringify(t.columnsSortOrder))}},{key:"filterBy",value:function(){for(var t,e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];(t=h(s(n.prototype),"filterBy",this)).call.apply(t,[this].concat(r)),_i.setCookie(this,_i.cookieIds.filterBy,JSON.stringify(this.filterColumns))}},{key:"initCookie",value:function(){var t=this;if(this.options.cookie){if(""===
Ft="<Table>\r";var s=e(n(i),"th,td",0);e(r(i),"td,th",s),Ft+="</Table>\r",yt.push(Ft)});for(var wt,xt,St={},At={},Nt=0,Lt=bt.length;Nt<Lt;Nt++)wt=bt[Nt],xt=St[wt],xt=St[wt]=null==xt?1:xt+1,2===xt&&(bt[At[wt]]=bt[At[wt]].substring(0,29)+"-1"),St[wt]>1?bt[Nt]=bt[Nt].substring(0,29)+"-"+St[wt]:At[wt]=Nt;for(var kt=(new Date).toISOString(),Ct='<?xml version="1.0" encoding="UTF-8"?>\r<?mso-application progid="Excel.Sheet"?>\r<Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet"\r xmlns:o="urn:schemas-microsoft-com:office:office"\r xmlns:x="urn:schemas-microsoft-com:office:excel"\r xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet"\r xmlns:html="http://www.w3.org/TR/REC-html40">\r<DocumentProperties xmlns="urn:schemas-microsoft-com:office:office">\r <Created>'+kt+'</Created>\r</DocumentProperties>\r<OfficeDocumentSettings xmlns="urn:schemas-microsoft-com:office:office">\r <AllowPNG/>\r</OfficeDocumentSettings>\r<ExcelWorkbook xmlns="urn:schemas-microsoft-com:office:excel">\r <WindowHeight>9000</WindowHeight>\r <WindowWidth>13860</WindowWidth>\r <WindowTopX>0</WindowTopX>\r <WindowTopY>0</WindowTopY>\r <ProtectStructure>False</ProtectStructure>\r <ProtectWindows>False</ProtectWindows>\r</ExcelWorkbook>\r<Styles>\r <Style ss:ID="Default" ss:Name="Normal">\r <Alignment ss:Vertical="Bottom"/>\r <Borders/>\r <Font/>\r <Interior/>\r <NumberFormat/>\r <Protection/>\r </Style>\r <Style ss:ID="rsp1">\r <Alignment ss:Vertical="Center"/>\r </Style>\r <Style ss:ID="pct1">\r <NumberFormat ss:Format="Percent"/>\r </Style>\r</Styles>\r',Ot=0;Ot<yt.length;Ot++)Ct+='<Worksheet ss:Name="'+bt[Ot]+'" ss:RightToLeft="'+(V.mso.rtl?"1":"0")+'">\r'+yt[Ot],V.mso.rtl?Ct+='<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">\r<DisplayRightToLeft/>\r</WorksheetOptions>\r':Ct+='<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel"/>\r',Ct+="</Worksheet>\r";if(Ct+="</Workbook>\r","string"===V.outputMode)return Ct;if("base64"===V.outputMode)return H(Ct);q(Ct,V.fileName+".xml","application/xml","utf-8","base64",!1)}else if("excel"===V.type&&"xlsx"===V.mso.fileFormat){var _t=[],Pt=XLSX.utils.book_new();t(Y).filter(function(){return a(t(this))}).each(function(){var e=t(this),n=E(this),r="";"string"==typeof V.mso.worksheetName&&V.mso.worksheetName.length?r=V.mso.worksheetName+" "+(_t.length+1):void 0!==V.mso.worksheetName[_t.length]&&(r=V.mso.worksheetName[_t.length]),r.length||(r=e.find("caption").text()||""),r.length||(r="Table "+(_t.length+1)),r=t.trim(r.replace(/[\\\/[\]*:?'"]/g,"").substring(0,31)),_t.push(r),XLSX.utils.book_append_sheet(Pt,n,r)});var It=XLSX.write(Pt,{type:"binary",bookType:V.mso.fileFormat,bookSST:!1});q(function(t){for(var e=new ArrayBuffer(t.length),n=new Uint8Array(e),r=0;r!==t.length;++r)n[r]=255&t.charCodeAt(r);return e}(It),V.fileName+"."+V.mso.fileFormat,"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","UTF-8","",!1)}else if("excel"===V.type||"xls"===V.type||"word"===V.type||"doc"===V.type){var Tt="excel"===V.type||"xls"===V.type?"excel":"word",Et="excel"===Tt?"xls":"doc",jt='xmlns:x="urn:schemas-microsoft-com:office:'+Tt+'"',Ft="",Rt="";t(Y).filter(function(){return a(t(this))}).each(function(){var e=t(this);""===Rt&&(Rt=V.mso.worksheetName||e.find("caption").text()||"Table",Rt=t.trim(Rt.replace(/[\\\/[\]*:?'"]/g,"").substring(0,31))),!1===V.exportHiddenCells&&(nt=e.find("tr, th, td").filter(":hidden"),rt=nt.length>0),Q=0,et=[],tt=o(this),Ft+="<table><thead>",X=n(e),t(X).each(function(){var e=t(this);Z="",c(this,"th,td",Q,X.length,function(t,n,r){if(null!==t){var i="";if(Z+="<th",V.mso.styles.length){var o=document.defaultView.getComputedStyle(t,null),a=document.defaultView.getComputedStyle(e[0],null);for(var s in V.mso.styles){var l=o[V.mso.styles[s]];""===l&&(l=a[V.mso.styles[s]]),""!==l&&"0px none rgb(0, 0, 0)"!==l&&"rgba(0, 0, 0, 0)"!==l&&(i+=""===i?'style="':";",i+=V.mso.styles[s]+":"+l)}}""!==i&&(Z+=" "+i+'"');var c=O(t);c>0&&(Z+=' colspan="'+c+'"');var u=_(t);u>0&&(Z+=' rowspan="'+u+'"'),Z+=">"+A(t,n,r)+"</th>"}}),Z.length>0&&(F
;var N=d.__private__.convertDateToPDFDate=function(t){var e=t.getTimezoneOffset(),n=e<0?"+":"-",r=Math.floor(Math.abs(e/60)),i=Math.abs(e%60),o=[n,R(r),"'",R(i),"'"].join("");return["D:",t.getFullYear(),R(t.getMonth()+1),R(t.getDate()),R(t.getHours()),R(t.getMinutes()),R(t.getSeconds()),o].join("")},L=d.__private__.convertPDFDateToDate=function(t){var e=parseInt(t.substr(2,4),10),n=parseInt(t.substr(6,2),10)-1,r=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 parseInt(t.substr(16,2),10),parseInt(t.substr(20,2),10),new Date(e,n,r,i,o,a,0)},k=d.__private__.setCreationDate=function(e){var n;if(void 0===e&&(e=new Date),"object"===t(e)&&"[object Date]"===Object.prototype.toString.call(e))n=N(e);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(e))throw new Error("Invalid argument passed to jsPDF.setCreationDate");n=e}return y=n},C=d.__private__.getCreationDate=function(t){var e=y;return"jsDate"===t&&(e=L(y)),e};d.setCreationDate=function(t){return k(t),this},d.getCreationDate=function(t){return C(t)};var O,_,P,I,T,E,j,F,R=d.__private__.padd2=function(t){return("0"+parseInt(t)).slice(-2)},B=!1,M=[],D=[],q=0,U=(d.__private__.setCustomOutputDestination=function(t){_=t},d.__private__.resetCustomOutputDestination=function(t){_=void 0},d.__private__.out=function(t){var e;return t="string"==typeof t?t:t.toString(),(e=void 0===_?B?M[O]:D:_).push(t),B||(q+=t.length+1),e}),z=d.__private__.write=function(t){return U(1===arguments.length?t.toString():Array.prototype.join.call(arguments," "))},H=d.__private__.getArrayBuffer=function(t){for(var e=t.length,n=new ArrayBuffer(e),r=new Uint8Array(n);e--;)r[e]=t.charCodeAt(e);return n},$=[["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]],V=(d.__private__.getStandardFonts=function(t){return $},l.fontSize||16),W=(d.__private__.setFontSize=d.setFontSize=function(t){return V=t,this},d.__private__.getFontSize=d.getFontSize=function(){return V}),G=l.R2L||!1,Y=(d.__private__.setR2L=d.setR2L=function(t){return G=t,this},d.__private__.getR2L=d.getR2L=function(t){return G},d.__private__.setZoomMode=function(t){var e=[void 0,null,"fullwidth","fullheight","fullpage","original"];if(/^\d*\.?\d*\%$/.test(t))P=t;else if(isNaN(t)){if(-1===e.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.');P=t}else P=parseInt(t,10)}),J=(d.__private__.getZoomMode=function(){return P},d.__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.');I=t}),X=(d.__private__.getPageMode=function(){return I},d.__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.');T=t}),K=(d.__private__.getLayoutMode=function(){return T},d.__private__.setDisplayMode=d.setDisplayMode=function(t,e,n){return Y(t),X(e),J(n),this},{title:"",subject:"",author:"",keywords:"",cre
isNaN(t)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return t&=~(1<<e)},g=e.__acroform__.getBit=function(t,e){if(isNaN(t)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return 0==(t&1<<e)?0:1},m=e.__acroform__.getBitForPdf=function(t,e){if(isNaN(t)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return g(t,e-1)},v=e.__acroform__.setBitForPdf=function(t,e){if(isNaN(t)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return d(t,e-1)},y=e.__acroform__.clearBitForPdf=function(t,e,n){if(isNaN(t)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return p(t,e-1)},b=e.__acroform__.calculateCoordinates=function(t){var e=this.internal.getHorizontalCoordinate,n=this.internal.getVerticalCoordinate,r=t[0],i=t[1],o=t[2],a=t[3],l={};return l.lowerLeft_X=e(r)||0,l.lowerLeft_Y=n(i+a)||0,l.upperRight_X=e(r+o)||0,l.upperRight_Y=n(i)||0,[Number(s(l.lowerLeft_X)),Number(s(l.lowerLeft_Y)),Number(s(l.upperRight_X)),Number(s(l.upperRight_Y))]},w=function(t){if(t.appearanceStreamContent)return t.appearanceStreamContent;if(t.V||t.DV){var e=[],n=t.V||t.DV,i=x(t,n),o=r.internal.getFont(t.fontName,t.fontStyle).id;e.push("/Tx BMC"),e.push("q"),e.push("BT"),e.push(r.__private__.encodeColorString(t.color)),e.push("/"+o+" "+s(i.fontSize)+" Tf"),e.push("1 0 0 1 0 0 Tm"),e.push(i.text),e.push("ET"),e.push("Q"),e.push("EMC");var a=new h(t);return a.stream=e.join("\n"),a}},x=function(t,e){var n=t.maxFontSize||12,i=(t.fontName,{text:"",fontSize:""}),a=(e=")"==(e="("==e.substr(0,1)?e.substr(1):e).substr(e.length-1)?e.substr(0,e.length-1):e).split(" "),l=(r.__private__.encodeColorString(t.color),n),c=Y.internal.getHeight(t)||0;c=c<0?-c:c;var u=Y.internal.getWidth(t)||0;u=u<0?-u:u;l++;t:for(;;){e="";var f=S("3",t,--l).height,h=t.multiline?c-l:(c-f)/2,d=-2,p=h+=2,g=0,m=0,v=0;if(l<=0){e="(...) Tj\n",e+="% Width of Text: "+S(e,t,l=12).width+", FieldWidth:"+u+"\n";break}v=S(a[0]+" ",t,l).width;var y="",b=0;for(var w in a)if(a.hasOwnProperty(w)){y=" "==(y+=a[w]+" ").substr(y.length-1)?y.substr(0,y.length-1):y;var x=parseInt(w);v=S(y+" ",t,l).width;var A=function(e,n,r){if(e+1<a.length){var i=n+" "+a[e+1];return S(i,t,r).width<=u-4}return!1}(x,y,l),N=w>=a.length-1;if(A&&!N){y+=" ";continue}if(A||N){if(N)m=x;else if(t.multiline&&c<(f+2)*(b+2)+2)continue t}else{if(!t.multiline)continue t;if(c<(f+2)*(b+2)+2)continue t;m=x}for(var L="",k=g;k<=m;k++)L+=a[k]+" ";switch(L=" "==L.substr(L.length-1)?L.substr(0,L.length-1):L,v=S(L,t,l).width,t.textAlign){case"right":d=u-v-2;break;case"center":d=(u-v)/2;break;case"left":default:d=2}e+=s(d)+" "+s(p)+" Td\n",e+="("+o(L)+") Tj\n",e+=-s(d)+" 0 Td\n",p=-(l+2),v=0,g=m+1,b++,y=""}break}return i.text=e,i.fontSize=l,i},S=function(t,e,n){var i=r.internal.getFont(e.fontName,e.fontStyle),o=r.getStringUnitWidth(t,{font:i,fontSize:parseFloat(n),charSpace:0})*parseFloat(n);return{height:r.getStringUnitWidth("3",{font:i,fontSize:parseFloat(n),charSpace:0})*parseFloat(n)*1.5,width:o}},A={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},N=function(){r.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var t=r.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var e in t)if(t.hasOwnProperty(e)){var n=t[e];n.objId=void 0,n.hasAnnotation&&L.call(r,n)}},L=function(t){var e={type:"reference",object:t};void 0===r.internal.getPageInfo(t.page).pageContext.annotations.find(function(t){return t.type===e.type&&t.object===e.object})&&r.internal.getPageInfo(t.page).pageContext.annotations.push(e)},k=function(){if(void 0===r.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("putCatalogCallback: Root missing.");r.internal.write("/AcroForm "+r.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")},C=function(){r.internal.events.unsubscribe(r.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete r.internal.acroformPlugin.acroFormDictionaryRoot._eventID,r.in
;var i=e.loadFile(r);if(void 0!==i)return btoa(i)}if("CANVAS"===t.nodeName){var o=t;return t.toDataURL("image/jpeg",1)}(o=document.createElement("canvas")).width=t.clientWidth||t.width,o.height=t.clientHeight||t.height;var a=o.getContext("2d");if(!a)throw"addImage requires canvas to be supported by browser.";return a.drawImage(t,0,0,o.width,o.height),o.toDataURL("png"==(""+n).toLowerCase()?"image/png":"image/jpeg")},f=function(t,e){var n;if(e)for(var r in e)if(t===e[r].alias){n=e[r];break}return n};e.color_spaces={DEVICE_RGB:"DeviceRGB",DEVICE_GRAY:"DeviceGray",DEVICE_CMYK:"DeviceCMYK",CAL_GREY:"CalGray",CAL_RGB:"CalRGB",LAB:"Lab",ICC_BASED:"ICCBased",INDEXED:"Indexed",PATTERN:"Pattern",SEPARATION:"Separation",DEVICE_N:"DeviceN"},e.decode={DCT_DECODE:"DCTDecode",FLATE_DECODE:"FlateDecode",LZW_DECODE:"LZWDecode",JPX_DECODE:"JPXDecode",JBIG2_DECODE:"JBIG2Decode",ASCII85_DECODE:"ASCII85Decode",ASCII_HEX_DECODE:"ASCIIHexDecode",RUN_LENGTH_DECODE:"RunLengthDecode",CCITT_FAX_DECODE:"CCITTFaxDecode"},e.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},e.sHashCode=function(t){var e,n=0;if(0===(t=t||"").length)return n;for(e=0;e<t.length;e++)n=(n<<5)-n+t.charCodeAt(e),n|=0;return n},e.isString=function(t){return"string"==typeof t},e.validateStringAsBase64=function(t){(t=t||"").toString().trim();var e=!0;return 0===t.length&&(e=!1),t.length%4!=0&&(e=!1),!1===/^[A-Za-z0-9+\/]+$/.test(t.substr(0,t.length-2))&&(e=!1),!1===/^[A-Za-z0-9\/][A-Za-z0-9+\/]|[A-Za-z0-9+\/]=|==$/.test(t.substr(-2))&&(e=!1),e},e.extractInfoFromBase64DataURI=function(t){return/^data:([\w]+?\/([\w]+?));\S*;*base64,(.+)$/g.exec(t)},e.extractImageFromDataUrl=function(t){var e=(t=t||"").split("base64,"),n=null;if(2===e.length){var r=/^data:(\w*\/\w*);*(charset=[\w=-]*)*;*$/.exec(e[0]);Array.isArray(r)&&(n={mimeType:r[1],charset:r[2],data:e[1]})}return n},e.supportsArrayBuffer=function(){return"undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array},e.isArrayBuffer=function(t){return!!this.supportsArrayBuffer()&&t instanceof ArrayBuffer},e.isArrayBufferView=function(t){return!!this.supportsArrayBuffer()&&"undefined"!=typeof Uint32Array&&(t instanceof Int8Array||t instanceof Uint8Array||"undefined"!=typeof Uint8ClampedArray&&t instanceof Uint8ClampedArray||t instanceof Int16Array||t instanceof Uint16Array||t instanceof Int32Array||t instanceof Uint32Array||t instanceof Float32Array||t instanceof Float64Array)},e.binaryStringToUint8Array=function(t){for(var e=t.length,n=new Uint8Array(e),r=0;r<e;r++)n[r]=t.charCodeAt(r);return n},e.arrayBufferToBinaryString=function(t){if("function"==typeof atob)return atob(this.arrayBufferToBase64(t))},e.arrayBufferToBase64=function(t){for(var e,n="",r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=new Uint8Array(t),o=i.byteLength,a=o%3,s=o-a,l=0;l<s;l+=3)n+=r[(16515072&(e=i[l]<<16|i[l+1]<<8|i[l+2]))>>18]+r[(258048&e)>>12]+r[(4032&e)>>6]+r[63&e];return 1==a?n+=r[(252&(e=i[s]))>>2]+r[(3&e)<<4]+"==":2==a&&(n+=r[(64512&(e=i[s]<<8|i[s+1]))>>10]+r[(1008&e)>>4]+r[(15&e)<<2]+"="),n},e.createImageInfo=function(t,e,n,r,i,o,a,s,l,c,u,f,h){var d={alias:s,w:e,h:n,cs:r,bpc:i,i:a,data:t};return o&&(d.f=o),l&&(d.dp=l),c&&(d.trns=c),u&&(d.pal=u),f&&(d.smask=f),h&&(d.p=h),d},e.addImage=function(r,i,o,h,d,p,g,m,v){var y="";if("string"!=typeof i){var b=p;p=d,d=h,h=o,o=i,i=b}if("object"===t(r)&&!c(r)&&"imageData"in r){var w=r;r=w.imageData,i=w.format||i||"UNKNOWN",o=w.x||o||0,h=w.y||h||0,d=w.w||d,p=w.h||p,g=w.alias||g,m=w.compression||m,v=w.rotation||w.angle||v}var x=this.internal.getFilters();if(void 0===m&&-1!==x.indexOf("FlateEncode")&&(m="SLOW"),"string"==typeof r&&(r=unescape(r)),isNaN(o)||isNaN(h))throw console.error("jsPDF.addImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addImage");var S,A,N,L,k,C,O,_=function(){var t=this.internal.collections[n+"images"];return t||(this.internal.collections[n+"images"]=t={},this.internal.events.subscribe("putResources",a),this.internal.events.subscribe("putXobjectDict",s)),t}.call(this);if(!((S=f(r,_))||(c(r)&&(r=u(r,i)
if(isNaN(t)||isNaN(e)||isNaN(n)||isNaN(r))throw console.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");h.call(this)||(this.beginPath(),this.rect(t,e,n,r),this.stroke())},c.prototype.clearRect=function(t,e,n,r){if(isNaN(t)||isNaN(e)||isNaN(n)||isNaN(r))throw console.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(t,e,n,r))},c.prototype.save=function(t){t="boolean"!=typeof t||t;for(var e=this.pdf.internal.getCurrentPageInfo().pageNumber,n=0;n<this.pdf.internal.getNumberOfPages();n++)this.pdf.setPage(n+1),this.pdf.internal.out("q");if(this.pdf.setPage(e),t){this.ctx.fontSize=this.pdf.internal.getFontSize();var r=new l(this.ctx);this.ctxStack.push(this.ctx),this.ctx=r}},c.prototype.restore=function(t){t="boolean"!=typeof t||t;for(var e=this.pdf.internal.getCurrentPageInfo().pageNumber,n=0;n<this.pdf.internal.getNumberOfPages();n++)this.pdf.setPage(n+1),this.pdf.internal.out("Q");this.pdf.setPage(e),t&&0!==this.ctxStack.length&&(this.ctx=this.ctxStack.pop(),this.fillStyle=this.ctx.fillStyle,this.strokeStyle=this.ctx.strokeStyle,this.font=this.ctx.font,this.lineCap=this.ctx.lineCap,this.lineWidth=this.ctx.lineWidth,this.lineJoin=this.ctx.lineJoin)},c.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var u=function(t){var e,n,r,i;if(!0===t.isCanvasGradient&&(t=t.getColor()),!t)return{r:0,g:0,b:0,a:0,style:t};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(t))i=r=n=e=0;else{var o=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(t);if(null!==o)e=parseInt(o[1]),n=parseInt(o[2]),r=parseInt(o[3]),i=1;else if(null!==(o=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d\.]+)\s*\)/.exec(t)))e=parseInt(o[1]),n=parseInt(o[2]),r=parseInt(o[3]),i=parseFloat(o[4]);else{if(i=1,"string"==typeof t&&"#"!==t.charAt(0)){var a=new RGBColor(t);t=a.ok?a.toHex():"#000000"}4===t.length?(e=t.substring(1,2),e+=e,n=t.substring(2,3),n+=n,r=t.substring(3,4),r+=r):(e=t.substring(1,3),n=t.substring(3,5),r=t.substring(5,7)),e=parseInt(e,16),n=parseInt(n,16),r=parseInt(r,16)}}return{r:e,g:n,b:r,a:i,style:t}},f=function(){return this.ctx.isFillTransparent||0==this.globalAlpha},h=function(){return Boolean(this.ctx.isStrokeTransparent||0==this.globalAlpha)};c.prototype.fillText=function(t,e,n,r){if(isNaN(e)||isNaN(n)||"string"!=typeof t)throw console.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(r=isNaN(r)?void 0:r,!f.call(this)){n=y.call(this,n);var i=_(this.ctx.transform.rotation),o=this.ctx.transform.scaleX;A.call(this,{text:t,x:e,y:n,scale:o,angle:i,align:this.textAlign,maxWidth:r})}},c.prototype.strokeText=function(t,e,n,r){if(isNaN(e)||isNaN(n)||"string"!=typeof t)throw console.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!h.call(this)){r=isNaN(r)?void 0:r,n=y.call(this,n);var i=_(this.ctx.transform.rotation),o=this.ctx.transform.scaleX;A.call(this,{text:t,x:e,y:n,scale:o,renderingMode:"stroke",angle:i,align:this.textAlign,maxWidth:r})}},c.prototype.measureText=function(t){if("string"!=typeof t)throw console.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var e=this.pdf,n=this.pdf.internal.scaleFactor,r=e.internal.getFontSize(),i=e.getStringUnitWidth(t)*r/e.internal.scaleFactor;return new function(t){var e=(t=t||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return e}}),this}({width:i*=Math.round(96*n/72*1e4)/1e4})},c.prototype.scale=function(t,e){if(isNaN(t)||isNaN(e))throw console.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var n=new F(t,0,0,e,0,0);this.ctx.transform=this.ctx.transform.multiply(n)},c.pro
}),this},(P=dt.API).events.push(["postPutResources",function(){var t=this,e=/^(\d+) 0 obj$/;if(0<this.outline.root.children.length)for(var n=t.outline.render().split(/\r\n/),r=0;r<n.length;r++){var i=n[r],o=e.exec(i);if(null!=o){var a=o[1];t.internal.newObjectDeferredBegin(a,!1)}t.internal.write(i)}if(this.outline.createNamedDestinations){var s=this.internal.pages.length,l=[];for(r=0;r<s;r++){var c=t.internal.newObject();l.push(c);var u=t.internal.getPageInfo(r+1);t.internal.write("<< /D["+u.objId+" 0 R /XYZ null null null]>> endobj")}var f=t.internal.newObject();for(t.internal.write("<< /Names [ "),r=0;r<l.length;r++)t.internal.write("(page_"+(r+1)+")"+l[r]+" 0 R");t.internal.write(" ] >>","endobj"),t.internal.newObject(),t.internal.write("<< /Dests "+f+" 0 R"),t.internal.write(">>","endobj")}}]),P.events.push(["putCatalog",function(){0<this.outline.root.children.length&&(this.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&this.internal.write("/Names "+namesOid+" 0 R"))}]),P.events.push(["initialized",function(){var t=this;t.outline={createNamedDestinations:!1,root:{children:[]}},t.outline.add=function(t,e,n){var r={title:e,options:n,children:[]};return null==t&&(t=this.root),t.children.push(r),r},t.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=t,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},t.outline.genIds_r=function(e){e.id=t.internal.newObjectDeferred();for(var n=0;n<e.children.length;n++)this.genIds_r(e.children[n])},t.outline.renderRoot=function(t){this.objStart(t),this.line("/Type /Outlines"),0<t.children.length&&(this.line("/First "+this.makeRef(t.children[0])),this.line("/Last "+this.makeRef(t.children[t.children.length-1]))),this.line("/Count "+this.count_r({count:0},t)),this.objEnd()},t.outline.renderItems=function(e){this.ctx.pdf.internal.getCoordinateString;for(var n=this.ctx.pdf.internal.getVerticalCoordinateString,r=0;r<e.children.length;r++){var i=e.children[r];this.objStart(i),this.line("/Title "+this.makeString(i.title)),this.line("/Parent "+this.makeRef(e)),0<r&&this.line("/Prev "+this.makeRef(e.children[r-1])),r<e.children.length-1&&this.line("/Next "+this.makeRef(e.children[r+1])),0<i.children.length&&(this.line("/First "+this.makeRef(i.children[0])),this.line("/Last "+this.makeRef(i.children[i.children.length-1])));var o=this.count=this.count_r({count:0},i);if(0<o&&this.line("/Count "+o),i.options&&i.options.pageNumber){var a=t.internal.getPageInfo(i.options.pageNumber);this.line("/Dest ["+a.objId+" 0 R /XYZ 0 "+n(0)+" 0]")}this.objEnd()}for(r=0;r<e.children.length;r++)i=e.children[r],this.renderItems(i)},t.outline.line=function(t){this.ctx.val+=t+"\r\n"},t.outline.makeRef=function(t){return t.id+" 0 R"},t.outline.makeString=function(e){return"("+t.internal.pdfEscape(e)+")"},t.outline.objStart=function(t){this.ctx.val+="\r\n"+t.id+" 0 obj\r\n<<\r\n"},t.outline.objEnd=function(t){this.ctx.val+=">> \r\nendobj\r\n"},t.outline.count_r=function(t,e){for(var n=0;n<e.children.length;n++)t.count++,this.count_r(t,e.children[n]);return t.count}}]),I=dt.API,T=function(){var t="function"==typeof Deflater;if(!t)throw new Error("requires deflate.js for compression");return t},E=function(t,e,n,r){var i=5,o=D;switch(r){case I.image_compression.FAST:i=3,o=M;break;case I.image_compression.MEDIUM:i=6,o=q;break;case I.image_compression.SLOW:i=9,o=U}t=R(t,e,n,o);var a=new Uint8Array(j(i)),s=F(t),l=new Deflater(i),c=l.append(t),u=l.flush(),f=a.length+c.length+u.length,h=new Uint8Array(f+4);return h.set(a),h.set(c,a.length),h.set(u,a.length+c.length),h[f++]=s>>>24&255,h[f++]=s>>>16&255,h[f++]=s>>>8&255,h[f++]=255&s,I.arrayBufferToBinaryString(h)},j=function(t,e){var n=Math.LOG2E*Math.log(32768)-8<<4|8,r=n<<8;return r|=Math.min(3,(e-1&255)>>1)<<6,r|=0,[n,255&(r+=31-r%31)]},F=function(t,e){for(var n,r=1,i=0,o=t.length,a=0;0<o;){for(o-=n=e<o?e:o;i+=r+=t[a++],--n;);r%=65521,i%=65521}return(i<<16|r)>>>0},R=function(t,e,n,r){for(var i,o,a,s=t.length/e,l=new Uint8Array(t.length+s),c=H(),u=0;u<s
h.setAttribute("class","jsPDF_sillysvg_iframe"),l.body.appendChild(h),h),p=(o=t,(s=((a=d).contentWindow||a.contentDocument).document).write(o),s.close(),s.getElementsByTagName("svg")[0]),g=[1,1],m=parseFloat(p.getAttribute("width")),v=parseFloat(p.getAttribute("height"));m&&v&&(r&&i?g=[r/m,i/v]:r?g=[r/m,r/m]:i&&(g=[i/v,i/v]));var y,b,w,x,S=p.childNodes;for(y=0,b=S.length;y<b;y++)(w=S[y]).tagName&&"PATH"===w.tagName.toUpperCase()&&((x=function(t){for(var e=parseFloat(t[1]),n=parseFloat(t[2]),r=[],i=3,o=t.length;i<o;)"c"===t[i]?(r.push([parseFloat(t[i+1]),parseFloat(t[i+2]),parseFloat(t[i+3]),parseFloat(t[i+4]),parseFloat(t[i+5]),parseFloat(t[i+6])]),i+=7):"l"===t[i]?(r.push([parseFloat(t[i+1]),parseFloat(t[i+2])]),i+=3):i+=1;return[e,n,r]}(w.getAttribute("d").split(" ")))[0]=x[0]*g[0]+e,x[1]=x[1]*g[1]+n,this.lines.call(this,x[2],x[0],x[1],g));return this},at.addSVG=at.addSvg,at.addSvgAsImage=function(t,e,n,r,i,o,a,s){if(isNaN(e)||isNaN(n))throw console.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(r)||isNaN(i))throw console.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var l=document.createElement("canvas");l.width=r,l.height=i;var c=l.getContext("2d");return c.fillStyle="#fff",c.fillRect(0,0,l.width,l.height),canvg(l,t,{ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0,ignoreClear:!0}),this.addImage(l.toDataURL("image/jpeg",1),e,n,r,i,a,s),this},dt.API.putTotalPages=function(t){var e,n=0;n=parseInt(this.internal.getFont().id.substr(1),10)<15?(e=new RegExp(t,"g"),this.internal.getNumberOfPages()):(e=new RegExp(this.pdfEscape16(t,this.internal.getFont()),"g"),this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var r=1;r<=this.internal.getNumberOfPages();r++)for(var i=0;i<this.internal.pages[r].length;i++)this.internal.pages[r][i]=this.internal.pages[r][i].replace(e,n);return this},dt.API.viewerPreferences=function(e,n){function r(t,e){var n,r=!1;for(n=0;n<t.length;n+=1)t[n]===e&&(r=!0);return r}var i;e=e||{},n=n||!1;var o,a,s={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValu
r.toString=function(){return"[object File]"},c&&(r[c]="File"),r},t.File=r}}}var o=t.BlobBuilder||t.WebKitBlobBuilder||t.MSBlobBuilder||t.MozBlobBuilder;t.URL=t.URL||t.webkitURL||function(t,e){return(e=document.createElement("a")).href=t,e};var a=t.Blob,s=URL.createObjectURL,l=URL.revokeObjectURL,c=t.Symbol&&t.Symbol.toStringTag,u=!1,f=!1,h=!!t.ArrayBuffer,d=o&&o.prototype.append&&o.prototype.getBlob;try{u=2===new Blob(["ä"]).size,f=2===new Blob([new Uint8Array([1,2])]).size}catch(u){}if(t.Blob&&(n.prototype=Blob.prototype,r.prototype=Blob.prototype),c)try{File.prototype[c]="File",Blob.prototype[c]="Blob",FileReader.prototype[c]="FileReader"}catch(u){}u?(i(),t.Blob=f?t.Blob:r):d?(i(),t.Blob=n):function(){function e(t){for(var e=[],n=0;n<t.length;n++){var r=t.charCodeAt(n);r<128?e.push(r):r<2048?e.push(192|r>>6,128|63&r):r<55296||57344<=r?e.push(224|r>>12,128|r>>6&63,128|63&r):(n++,r=65536+((1023&r)<<10|1023&t.charCodeAt(n)),e.push(240|r>>18,128|r>>12&63,128|r>>6&63,128|63&r))}return e}function n(t){var e,n,r,i,o,a;for(e="",r=t.length,n=0;n<r;)switch((i=t[n++])>>4){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:e+=String.fromCharCode(i);break;case 12:case 13:o=t[n++],e+=String.fromCharCode((31&i)<<6|63&o);break;case 14:o=t[n++],a=t[n++],e+=String.fromCharCode((15&i)<<12|(63&o)<<6|(63&a)<<0)}return e}function r(t){for(var e=new Array(t.byteLength),n=new Uint8Array(t),r=e.length;r--;)e[r]=n[r];return e}function i(t){for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=[],r=0;r<t.length;r+=3){var i=t[r],o=r+1<t.length,a=o?t[r+1]:0,s=r+2<t.length,l=s?t[r+2]:0,c=i>>2,u=(3&i)<<4|a>>4,f=(15&a)<<2|l>>6,h=63&l;s||(h=64,o||(f=64)),n.push(e[c],e[u],e[f],e[h])}return n.join("")}function o(t,n){for(var i=0,a=(t=t||[]).length;i<a;i++){var s=t[i];s instanceof o?t[i]=s._buffer:"string"==typeof s?t[i]=e(s):h&&(ArrayBuffer.prototype.isPrototypeOf(s)||p(s))?t[i]=r(s):h&&(l=s)&&DataView.prototype.isPrototypeOf(l)?t[i]=r(s.buffer):t[i]=e(String(s))}var l;this._buffer=[].concat.apply([],t),this.size=this._buffer.length,this.type=n&&n.type||""}function a(t,e,n){var r=o.call(this,t,n=n||{})||this;return r.name=e,r.lastModifiedDate=n.lastModified?new Date(n.lastModified):new Date,r.lastModified=+r.lastModifiedDate,r}function c(){if(!(this instanceof c))throw new TypeError("Failed to construct 'FileReader': Please use the 'new' operator, this DOM object constructor cannot be called as a function.");var t=document.createDocumentFragment();this.addEventListener=t.addEventListener,this.dispatchEvent=function(e){var n=this["on"+e.type];"function"==typeof n&&n(e),t.dispatchEvent(e)},this.removeEventListener=t.removeEventListener}function u(t,e,n){if(!(e instanceof o))throw new TypeError("Failed to execute '"+n+"' on 'FileReader': parameter 1 is not of type 'Blob'.");t.result="",setTimeout(function(){this.readyState=c.LOADING,t.dispatchEvent(new Event("load")),t.dispatchEvent(new Event("loadend"))})}var f=Object.create||function(t){function e(){}return e.prototype=t,new e};if(h)var d=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],p=ArrayBuffer.isView||function(t){return t&&-1<d.indexOf(Object.prototype.toString.call(t))};if(o.prototype.slice=function(t,e,n){return new o([this._buffer.slice(t||0,e||this._buffer.length)],{type:n})},o.prototype.toString=function(){return"[object Blob]"},(a.prototype=f(o.prototype)).constructor=a,Object.setPrototypeOf)Object.setPrototypeOf(a,o);else try{a.__proto__=o}catch(f){}a.prototype.toString=function(){return"[object File]"},c.EMPTY=0,c.LOADING=1,c.DONE=2,c.prototype.error=null,c.prototype.onabort=null,c.prototype.onerror=null,c.prototype.onload=null,c.prototype.onloadend=null,c.prototype.onloadstart=null,c.prototype.onprogress=null,c.prototype.readAsDataURL=function(t){u(this,t,"readAsDataURL"),this.result="data:"+t.type+";base64,"+i(t._buffer)},c.prototype.readAsText=function(t){u(this,t,"readAsText"),this.result=n(t._bu
;for(t=0;t<286;t++)Q[2*t]=0;for(t=0;t<30;t++)Z[2*t]=0;for(t=0;t<19;t++)tt[2*t]=0;Q[512]=1,ct.opt_len=ct.static_len=0,rt=ot=0}function r(t,e){var n,r,i=-1,o=t[1],a=0,s=7,l=4;for(0===o&&(s=138,l=3),t[2*(e+1)+1]=65535,n=0;n<=e;n++)r=o,o=t[2*(n+1)+1],++a<s&&r==o||(a<l?tt[2*r]+=a:0!==r?(r!=i&&tt[2*r]++,tt[32]++):a<=10?tt[34]++:tt[36]++,i=r,l=(a=0)===o?(s=138,3):r==o?(s=6,3):(s=7,4))}function o(t){ct.pending_buf[ct.pending++]=t}function a(t){o(255&t),o(t>>>8&255)}function s(t,e){var n,r=e;16-r<lt?(a(st|=(n=t)<<lt&65535),st=n>>>16-lt,lt+=r-16):(st|=t<<lt&65535,lt+=r)}function l(t,e){var n=2*t;s(65535&e[n],65535&e[n+1])}function c(t,e){var n,r,i=-1,o=t[1],a=0,c=7,u=4;for(0===o&&(c=138,u=3),n=0;n<=e;n++)if(r=o,o=t[2*(n+1)+1],!(++a<c&&r==o)){if(a<u)for(;l(r,tt),0!=--a;);else 0!==r?(r!=i&&(l(r,tt),a--),l(16,tt),s(a-3,2)):a<=10?(l(17,tt),s(a-3,3)):(l(18,tt),s(a-11,7));i=r,u=(a=0)===o?(c=138,3):r==o?(c=6,3):(c=7,4)}}function h(){16==lt?(a(st),lt=st=0):8<=lt&&(o(255&st),st>>>=8,lt-=8)}function d(t,n){var r,i,o;if(ct.pending_buf[it+2*rt]=t>>>8&255,ct.pending_buf[it+2*rt+1]=255&t,ct.pending_buf[et+rt]=255&n,rt++,0===t?Q[2*n]++:(ot++,t--,Q[2*(e._length_code[n]+256+1)]++,Z[2*e.d_code(t)]++),0==(8191&rt)&&2<Y){for(r=8*rt,i=z-M,o=0;o<30;o++)r+=Z[2*o]*(5+e.extra_dbits[o]);if(r>>>=3,ot<Math.floor(rt/2)&&r<Math.floor(i/2))return!0}return rt==nt-1}function p(t,n){var r,i,o,a,c=0;if(0!==rt)for(;r=ct.pending_buf[it+2*c]<<8&65280|255&ct.pending_buf[it+2*c+1],i=255&ct.pending_buf[et+c],c++,0===r?l(i,t):(l((o=e._length_code[i])+256+1,t),0!==(a=e.extra_lbits[o])&&s(i-=e.base_length[o],a),l(o=e.d_code(--r),n),0!==(a=e.extra_dbits[o])&&s(r-=e.base_dist[o],a)),c<rt;);l(256,t),at=t[513]}function g(){8<lt?a(st):0<lt&&o(255&st),lt=st=0}function m(t,e,n){var r,i,o;s(0+(n?1:0),3),r=t,i=e,o=!0,g(),at=8,o&&(a(i),a(~i)),ct.pending_buf.set(_.subarray(r,r+i),ct.pending),ct.pending+=i}function v(i,o,a){var l,u,f=0;0<Y?(ut.build_tree(ct),ft.build_tree(ct),f=function(){var t;for(r(Q,ut.max_code),r(Z,ft.max_code),ht.build_tree(ct),t=18;3<=t&&0===tt[2*e.bl_order[t]+1];t--);return ct.opt_len+=3*(t+1)+5+5+4,t}(),l=ct.opt_len+3+7>>>3,(u=ct.static_len+3+7>>>3)<=l&&(l=u)):l=u=o+5,o+4<=l&&-1!=i?m(i,o,a):u==l?(s(2+(a?1:0),3),p(n.static_ltree,n.static_dtree)):(s(4+(a?1:0),3),function(t,n,r){var i;for(s(t-257,5),s(n-1,5),s(r-4,4),i=0;i<r;i++)s(tt[2*e.bl_order[i]+1],3);c(Q,t-1),c(Z,n-1)}(ut.max_code+1,ft.max_code+1,f+1),p(Q,Z)),t(),a&&g()}function y(t){v(0<=M?M:-1,z-M,t),M=z,S.flush_pending()}function b(){var t,e,n,r;do{if(0==(r=P-$-z)&&0===z&&0===$)r=k;else if(-1==r)r--;else if(k+k-262<=z){for(_.set(_.subarray(k,k+k),0),H-=k,z-=k,M-=k,n=t=j;e=65535&T[--n],T[n]=k<=e?e-k:0,0!=--t;);for(n=t=k;e=65535&I[--n],I[n]=k<=e?e-k:0,0!=--t;);r+=k}if(0===S.avail_in)return;t=S.read_buf(_,z+$,r),3<=($+=t)&&(E=((E=255&_[z])<<B^255&_[z+1])&R)}while($<262&&0!==S.avail_in)}function w(t){var e,n,r=W,i=z,o=V,a=k-262<z?z-(k-262):0,s=K,l=O,c=z+258,u=_[i+o-1],f=_[i+o];X<=V&&(r>>=2),$<s&&(s=$);do{if(_[(e=t)+o]==f&&_[e+o-1]==u&&_[e]==_[i]&&_[++e]==_[i+1]){i+=2,e++;do{}while(_[++i]==_[++e]&&_[++i]==_[++e]&&_[++i]==_[++e]&&_[++i]==_[++e]&&_[++i]==_[++e]&&_[++i]==_[++e]&&_[++i]==_[++e]&&_[++i]==_[++e]&&i<c);if(n=258-(c-i),i=c-258,o<n){if(H=t,s<=(o=n))break;u=_[i+o-1],f=_[i+o]}}}while((t=65535&I[t&l])>a&&0!=--r);return o<=$?o:$}function x(e){return e.total_in=e.total_out=0,e.msg=null,ct.pending=0,ct.pending_out=0,A=113,L=0,ut.dyn_tree=Q,ut.stat_desc=n.static_l_desc,ft.dyn_tree=Z,ft.stat_desc=n.static_d_desc,ht.dyn_tree=tt,ht.stat_desc=n.static_bl_desc,lt=st=0,at=8,t(),function(){var t;for(P=2*k,t=T[j-1]=0;t<j-1;t++)T[t]=0;G=u[Y].max_lazy,X=u[Y].good_length,K=u[Y].nice_length,W=u[Y].max_chain,D=V=2,E=U=$=M=z=0}(),0}var S,A,N,L,k,C,O,_,P,I,T,E,j,F,R,B,M,D,q,U,z,H,$,V,W,G,Y,J,X,K,Q,Z,tt,et,nt,rt,it,ot,at,st,lt,ct=this,ut=new e,ft=new e,ht=new e;ct.depth=[],ct.bl_count=[],ct.heap=[],Q=[],Z=[],tt=[],ct.pqdownheap=function(t,e){for(var n=ct.heap,r=n[e],o=e<<1;o<=ct.heap_len&&(o<ct.heap_len&&i(t,n[o+1],n[o],ct.depth)&&o++,!i(t,r,n[o],ct.depth));)n[e]=n[o],e=o,o<<=1;n[e]=r},ct.deflateInit=function(t,e,n,r,i,o){ret
this.widthClass=t.readUInt16(),this.type=t.readShort(),this.ySubscriptXSize=t.readShort(),this.ySubscriptYSize=t.readShort(),this.ySubscriptXOffset=t.readShort(),this.ySubscriptYOffset=t.readShort(),this.ySuperscriptXSize=t.readShort(),this.ySuperscriptYSize=t.readShort(),this.ySuperscriptXOffset=t.readShort(),this.ySuperscriptYOffset=t.readShort(),this.yStrikeoutSize=t.readShort(),this.yStrikeoutPosition=t.readShort(),this.familyClass=t.readShort(),this.panose=function(){var e,n;for(n=[],e=0;e<10;++e)n.push(t.readByte());return n}(),this.charRange=function(){var e,n;for(n=[],e=0;e<4;++e)n.push(t.readInt());return n}(),this.vendorID=t.readString(4),this.selection=t.readShort(),this.firstCharIndex=t.readShort(),this.lastCharIndex=t.readShort(),0<this.version&&(this.ascent=t.readShort(),this.descent=t.readShort(),this.lineGap=t.readShort(),this.winAscent=t.readShort(),this.winDescent=t.readShort(),this.codePageRange=function(){var e,n;for(n=[],e=0;e<2;++e)n.push(t.readInt());return n}(),1<this.version))return this.xHeight=t.readShort(),this.capHeight=t.readShort(),this.defaultChar=t.readShort(),this.breakChar=t.readShort(),this.maxContext=t.readShort()},e}(),b=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return d(e,c),e.prototype.tag="post",e.prototype.parse=function(t){var e,n,r,i;switch(t.pos=this.offset,this.format=t.readInt(),this.italicAngle=t.readInt(),this.underlinePosition=t.readShort(),this.underlineThickness=t.readShort(),this.isFixedPitch=t.readInt(),this.minMemType42=t.readInt(),this.maxMemType42=t.readInt(),this.minMemType1=t.readInt(),this.maxMemType1=t.readInt(),this.format){case 65536:break;case 131072:for(n=t.readUInt16(),this.glyphNameIndex=[],r=0;0<=n?r<n:n<r;0<=n?++r:--r)this.glyphNameIndex.push(t.readUInt16());for(this.names=[],i=[];t.pos<this.offset+this.length;)e=t.readByte(),i.push(this.names.push(t.readString(e)));return i;case 151552:return n=t.readUInt16(),this.offsets=t.read(n);case 196608:break;case 262144:return this.map=function(){var e,n,r;for(r=[],e=0,n=this.file.maxp.numGlyphs;0<=n?e<n:n<e;0<=n?++e:--e)r.push(t.readUInt32());return r}.call(this)}},e}(),w=function(t,e){this.raw=t,this.length=t.length,this.platformID=e.platformID,this.encodingID=e.encodingID,this.languageID=e.languageID},x=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return d(e,c),e.prototype.tag="name",e.prototype.parse=function(t){var e,n,r,i,o,a,s,l,c,u,f,h;for(t.pos=this.offset,t.readShort(),e=t.readShort(),a=t.readShort(),n=[],i=c=0;0<=e?c<e:e<c;i=0<=e?++c:--c)n.push({platformID:t.readShort(),encodingID:t.readShort(),languageID:t.readShort(),nameID:t.readShort(),length:t.readShort(),offset:this.offset+a+t.readShort()});for(s={},i=u=0,f=n.length;u<f;i=++u)r=n[i],t.pos=r.offset,l=t.readString(r.length),o=new w(l,r),null==s[h=r.nameID]&&(s[h]=[]),s[r.nameID].push(o);this.strings=s,this.copyright=s[0],this.fontFamily=s[1],this.fontSubfamily=s[2],this.uniqueSubfamily=s[3],this.fontName=s[4],this.version=s[5];try{this.postscriptName=s[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch(t){this.postscriptName=s[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=s[7],this.manufacturer=s[8],this.designer=s[9],this.description=s[10],this.vendorUrl=s[11],this.designerUrl=s[12],this.license=s[13],this.licenseUrl=s[14],this.preferredFamily=s[15],this.preferredSubfamily=s[17],this.compatibleFull=s[18],this.sampleText=s[19]},e}(),S=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return d(e,c),e.prototype.tag="maxp",e.prototype.parse=function(t){return t.pos=this.offset,this.version=t.readInt(),this.numGlyphs=t.readUInt16(),this.maxPoints=t.readUInt16(),this.maxContours=t.readUInt16(),this.maxCompositePoints=t.readUInt16(),this.maxComponentContours=t.readUInt16(),this.maxZones=t.readUInt16(),this.maxTwilightPoints=t.readUInt16(),this.maxStorage=t.readUInt16(),this.maxFunctionDefs=t.readUInt16(),this.maxInstructionDefs=t.readUInt16(),this.maxStackElements=t.readUInt16(),this.maxSizeOfInstructions=t.readUInt16(),this.maxCompo
drawHeaderCell:function(t,e){},drawCell:function(t,e){},beforePageContent:function(t){},afterPageContent:function(t){}}};t.autoTable=function(t,i,a){p=this,m=e(a||{}),v=1,g={y:!1===m.startY?m.margin.top:m.startY};var s={textColor:30,fontSize:p.internal.getFontSize(),fontStyle:p.internal.getFont().fontStyle};n(t,i),r();var f=y.rows[0]&&"auto"===m.pageBreak?y.rows[0].height:0,h=m.startY+m.margin.bottom+y.headerRow.height+f;return"avoid"===m.pageBreak&&(h+=y.height),("always"===m.pageBreak&&!1!==m.startY||!1!==m.startY&&h>p.internal.pageSize.height)&&(p.addPage(),g.y=m.margin.top),c(s),m.beforePageContent(u()),!1!==m.drawHeaderRow(y.headerRow,u({row:y.headerRow}))&&l(y.headerRow,m.drawHeaderCell),c(s),o(),m.afterPageContent(u()),c(s),this},t.autoTableEndPosY=function(){return void 0===g||void 0===g.y?0:g.y},t.autoTableHtmlToJson=function(t){var e,n,r,i,o=[],a=[],s=t.rows[0];for(r=0;r<s.cells.length;r++)a.push(void 0!==s.cells[r]?s.cells[r].textContent:"");for(r=1;r<t.rows.length;r++){for(e=t.rows[r],n=[],i=0;i<s.cells.length;i++)n.push(void 0!==e.cells[i]?e.cells[i].textContent:"");o.push(n)}return{columns:a,data:o,rows:o}},t.autoTableText=function(t,e,n,r){"number"==typeof e&&"number"==typeof n||console.error("The x and y parameters are required. Missing for the text: ",t);var i=p.internal.getFontSize()/p.internal.scaleFactor,o=b,a=/\r\n|\r|\n/g,s=null,l=1;if("middle"!==r.valign&&"bottom"!==r.valign&&"center"!==r.halign&&"right"!==r.halign||(s="string"==typeof t?t.split(a):t,l=s.length||1),n+=i*(2-o),"middle"===r.valign?n-=l/2*i:"bottom"===r.valign&&(n-=l*i),"center"===r.halign||"right"===r.halign){var c=i;if("center"===r.halign&&(c*=.5),l>=1){for(var u=0;u<s.length;u++)p.text(s[u],e-p.getStringUnitWidth(s[u])*c,n),n+=i;return p}e-=p.getStringUnitWidth(t)*c}return p.text(t,e,n),p}}(jsPDF.API);var Table=function t(){_classCallCheck(this,t),this.height=0,this.width=0,this.x=0,this.y=0,this.contentWidth=0,this.rows=[],this.columns=[],this.headerRow=null,this.settings={}},Row=function t(e){_classCallCheck(this,t),this.raw=e||{},this.index=0,this.styles={},this.cells={},this.height=0,this.y=0},Cell=function t(e){_classCallCheck(this,t),this.raw=e,this.styles={},this.text="",this.contentWidth=0,this.textPos={},this.height=0,this.width=0,this.x=0,this.y=0},Column=function t(e){_classCallCheck(this,t),this.dataKey=e,this.options={},this.styles={},this.contentWidth=0,this.width=0,this.x=0};!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],e):(t=t||self,e(t.jQuery))}(this,function(t){"use strict";function e(t,e){return e={exports:{}},t(e,e.exports),e.exports}function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function i(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),t}function o(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}}),e&&s(t,e)}function a(t){return(a=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function s(t,e){return(s=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function l(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function c(t,e){return!e||"object"!=typeof e&&"function"!=typeof e?l(t):e}function u(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=a(t)););return t}function f(t,e,n){return(f="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=u(t,e);if(r){var i=Object.getOwnPropertyDescriptor(r,e);return i.get?i.get.call(n):i.value}})(t,e,n||t)}t=t&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t;var h="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?wind
;var _n,Pn,In=function(t,e,n){var r=D(e);r in t?Q.f(t,r,I(0,n)):t[r]=n},Tn=Pt("navigator","userAgent")||"",En=A.process,jn=En&&En.versions,Fn=jn&&jn.v8;Fn?(_n=Fn.split("."),Pn=_n[0]+_n[1]):Tn&&(!(_n=Tn.match(/Edge\/(\d+)/))||_n[1]>=74)&&(_n=Tn.match(/Chrome\/(\d+)/))&&(Pn=_n[1]);var Rn=Pn&&+Pn,Bn=_e("species"),Mn=function(t){return Rn>=51||!N(function(){var e=[],n=e.constructor={};return n[Bn]=function(){return{foo:1}},1!==e[t](Boolean).foo})},Dn=_e("isConcatSpreadable"),qn=Rn>=51||!N(function(){var t=[];return t[Dn]=!1,t.concat()[0]!==t}),Un=Mn("concat"),zn=function(t){if(!M(t))return!1;var e=t[Dn];return void 0!==e?!!e:le(t)};oe({target:"Array",proto:!0,forced:!qn||!Un},{concat:function(t){var e,n,r,i,o,a=ce(this),s=qe(a,0),l=0;for(e=-1,r=arguments.length;e<r;e++)if(o=-1===e?a:arguments[e],zn(o)){if(i=Ft(o.length),l+i>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n<i;n++,l++)n in o&&In(s,l,o[n])}else{if(l>=9007199254740991)throw TypeError("Maximum allowed index exceeded");In(s,l++,o)}return s.length=l,s}});var Hn=He.filter,$n=Mn("filter"),Vn=$n&&!N(function(){[].filter.call({length:-1,0:1},function(t){throw t})});oe({target:"Array",proto:!0,forced:!$n||!Vn},{filter:function(t){return Hn(this,t,arguments.length>1?arguments[1]:void 0)}});var Wn=_e("unscopables"),Gn=Array.prototype;void 0==Gn[Wn]&&Q.f(Gn,Wn,{configurable:!0,value:be(null)});var Yn=function(t){Gn[Wn][t]=!0},Jn=He.find,Xn=!0;"find"in[]&&Array(1).find(function(){Xn=!1}),oe({target:"Array",proto:!0,forced:Xn},{find:function(t){return Jn(this,t,arguments.length>1?arguments[1]:void 0)}}),Yn("find");var Kn=qt.includes;oe({target:"Array",proto:!0},{includes:function(t){return Kn(this,t,arguments.length>1?arguments[1]:void 0)}}),Yn("includes");var Qn=function(t,e){var n=[][t];return!n||!N(function(){n.call(null,e||function(){throw 1},1)})},Zn=qt.indexOf,tr=[].indexOf,er=!!tr&&1/[1].indexOf(1,-0)<0,nr=Qn("indexOf");oe({target:"Array",proto:!0,forced:er||nr},{indexOf:function(t){return er?tr.apply(this,arguments)||0:Zn(this,t,arguments.length>1?arguments[1]:void 0)}});var rr,ir,or,ar=!N(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}),sr=gt("IE_PROTO"),lr=Object.prototype,cr=ar?Object.getPrototypeOf:function(t){return t=ce(t),U(t,sr)?t[sr]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?lr:null},ur=_e("iterator"),fr=!1,hr=function(){return this};[].keys&&(or=[].keys(),"next"in or?(ir=cr(cr(or)))!==Object.prototype&&(rr=ir):fr=!0),void 0==rr&&(rr={}),U(rr,ur)||Z(rr,ur,hr);var dr={IteratorPrototype:rr,BUGGY_SAFARI_ITERATORS:fr},pr=dr.IteratorPrototype,gr=function(t,e,n){var r=e+" Iterator";return t.prototype=be(pr,{next:I(1,n)}),Re(t,r,!1),t},mr=function(t){if(!M(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t},vr=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,t.call(n,[]),e=n instanceof Array}catch(t){}return function(n,r){return J(n),mr(r),e?t.call(n,r):n.__proto__=r,n}}():void 0),yr=dr.IteratorPrototype,br=dr.BUGGY_SAFARI_ITERATORS,wr=_e("iterator"),xr=function(){return this},Sr=function(t,e,n,r,i,o,a){gr(n,e,r);var s,l,c,u=function(t){if(t===i&&g)return g;if(!br&&t in d)return d[t];switch(t){case"keys":case"values":case"entries":return function(){return new n(this,t)}}return function(){return new n(this)}},f=e+" Iterator",h=!1,d=t.prototype,p=d[wr]||d["@@iterator"]||i&&d[i],g=!br&&p||u(i),m="Array"==e?d.entries||p:p;if(m&&(s=cr(m.call(new t)),yr!==Object.prototype&&s.next&&(cr(s)!==yr&&(vr?vr(s,yr):"function"!=typeof s[wr]&&Z(s,wr,xr)),Re(s,f,!0))),"values"==i&&p&&"values"!==p.name&&(h=!0,g=function(){return p.call(this)}),d[wr]!==g&&Z(d,wr,g),i)if(l={values:u("values"),keys:o?g:u("keys"),entries:u("entries")},a)for(c in l)!br&&!h&&c in d||Ct(d,c,l[c]);else oe({target:e,proto:!0,forced:br||h},l);return l},Ar=kt.set,Nr=kt.getterFor("Array Iterator"),Lr=Sr(Array,"Array",function(t,e){Ar(this,{type:"Arra