f1tness_parser/frontend/vendor/dataTables.min.js

4 lines
No EOL
121 KiB
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*! DataTables 3.1.4
* Copyright (c) SpryMedia Ltd - datatables.net/license
*/
(t=>{"function"==typeof define&&define.amd?define([],function(){return t(window,document)}):"object"==typeof exports?"undefined"==typeof window?module.exports=function(e){return e=e||window,t(e,e.document)}:module.exports=t(window,window.document):window.DataTable=t(window,document)})(function(A,T){let _=/['\u00A0,$£€¥%\u2009\u202F\u20BD\u20a9\u20BArfkɃΞ]/gi,j=/<([^>]*>)/g,C=new RegExp("(\\"+["/",".","*","+","?","|","(",")","[","]","{","}","\\","$","^","-"].join("|\\")+")","g");var O=Object.freeze({__proto__:null,isoTimezone:/[T\s]\d{2}.*?(Z|[+-]\d{2}(?::?\d{2})?)$/,reDate:/^\d{2,4}[./-]\d{1,2}[./-]\d{1,2}([T ]{1}\d{1,2}[:.]\d{2}([.:]\d{2})?)?$/,reFormattedNumeric:_,reHtml:j,reNewLines:/[\r\n\u2028]/g,reRegexCharacters:C});let S=Math.pow(2,28),N=function(e,t){var r;return"string"!=typeof e?e:(r=e.normalize?e.normalize("NFD"):e).length!==e.length?(!0===t?e+" ":"")+r.replace(/[\u0300-\u036f]/g,""):r},R=function(e,t=""){if(!e||"string"!=typeof e)return e;if(e.length>S)throw new Error("Exceeded max str len");let r,n=e.replace(j,t);for(;(n=(r=n).replace(/<script/i,""))!==r;);return r},I=function(e){e=Array.isArray(e)?e.join(","):e;return"string"==typeof e?e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;"):e};function E(e){return e.replace(C,"\\$1")}function L(e){var t=typeof e;if("function"!=t)return"string"==t||Array.isArray(e)?I(e):e;I=e}function V(e,t){if("function"!=typeof e)return N(e,t);N=e}function J(e,t){var r=typeof e;if("function"!=r)return"string"==r?R(e,t):e;R=e}let G=Object.freeze({__proto__:null,escapeHtml:L,escapeRegex:E,normalize:V,stripHtml:J}),Y={};function Z(e){var t=parseInt(e,10);return!isNaN(t)&&isFinite(e)?t:null}function Q(e,t){return Y[t]||(Y[t]=new RegExp(E(t),"g")),"string"==typeof e&&"."!==t?e.replace(/\./g,"").replace(Y[t],"."):e}var K=Object.freeze({__proto__:null,intVal:Z,numToDecimal:Q});function o(e){return e&&"string"!=typeof e&&void 0!==e.length&&void 0===e.nodeType}function ee(e){return e&&"object"==typeof e&&e._isDom}function te(e){return!e||!0===e||"-"===e}function re(e){return te(e)||"string"==typeof e}function ne(e,t,r,n){var a=typeof e;return"number"==a||"bigint"==a||!(!n||!te(e))||(t&&"string"==a&&(e=Q(e,t)),r&&"string"==a&&(e=e.replace(_,"")),!isNaN(parseFloat(e))&&isFinite(e))}function y(e){return"object"==typeof e&&null!==e&&(null===(e=Object.getPrototypeOf(e))||e===Object.prototype)}var e=Object.freeze({__proto__:null,arrayLike:o,dom:ee,element:function(e){return"object"==typeof e&&e.nodeName},empty:te,html:re,htmlNum:function(e,t,r,n){return!(!n||!te(e))||("string"!=typeof e||!e.match(/<(input|select)/i))&&re(e)&&!!ne(J(e),t,r,n)||null},jquery:function(e){return e&&"string"==typeof e.jquery},num:ne,plainObject:y});function d(t,r){if(t){var n=Object.keys(t);for(let e=0;e<n.length;e++){var a=n[e];r(a,t[a],e)}}}function u(e,...t){var r=Object(e);for(let e=0;e<t.length;e++){var n=t[e];if(null!=n)for(var a in n){var i=n[a];"__proto__"!==a&&r!==i&&void 0!==i&&(r[a]=i)}}return r}function ae(t,...r){if(!t)return{};for(let e=0;e<r.length;e++){var n=r[e];if(n)for(var[a,i]of Object.entries(n))"__proto__"!==a&&(Array.isArray(i)?(Array.isArray(t[a])||(t[a]=[]),ae(t[a],i)):y(i)?(y(t[a])||(t[a]={}),ae(t[a],i)):void 0!==n[a]&&(t[a]=n[a]))}return t}var ie,oe,le,se,ce,de,a,i,ue=Object.freeze({__proto__:null,assign:u,assignDeep:ae,assignDeepObjects:function e(t,r,n=!1){var a,i;for(i in r)"__proto__"!==i&&Object.prototype.hasOwnProperty.call(r,i)&&(y(a=r[i])?(y(t[i])||(t[i]={}),e(t[i],a,n)):n&&"data"!==i&&"aaData"!==i&&Array.isArray(a)?t[i]=a.slice():t[i]=a);return t},each:d,map:function(e,r){let n=[];return d(e,(e,t)=>{n.push(r(e,t))}),n}});function l(){return ie||("undefined"!=typeof globalThis&&globalThis.window?globalThis.window:void 0!==A?A:{})}function M(e,t){var r,n="string"==typeof e?t:e,t="string"==typeof t?t:e;if(void 0===n&&"string"==typeof t)switch(t){case"lib":case"jq":return i?i:(r=l().jQuery)&&r.fn?r:null;case"win":return l();case"doc":return l().document;case"datatable":return a;case"datetime":return de;case"luxon":return se||l().luxon||null;case"moment":return ce||l().moment||null;case"bootstrap":return oe||l().bootstrap||null;case"foundation":return le||l().Foundation||null;default:return null}"lib"===t||"jq"===t||n&&n.fn&&n.fn.jquery?(i=n,a&&i&&((a.$=i).fn.dataTable=a,i.fn.DataTable=function(e){return new a(this.toArray(),e)},i.fn.dataTableSettings=a.ext.settings,i.fn.dataTableExt=a.ext,d(a,function(e,t){i.fn.DataTable[e]=t}))):"datatable"===t||n&&n.isDataTable?a=n:"win"===t||n&&n.document?ie=n:"datetime"===t||n&&"DateTime"===n.type?de=n:"luxon"===t||n&&n.FixedOffsetZone?se=n:"moment"===t||n&&n.isMoment?ce=n:"bootstrap"===t||n&&n.Modal&&"modal"===n.Modal.NAME?oe=n:("foundation"===t||n&&n.Reveal)&&(le=n)}let fe={cache:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",headers:{},traditional:!1,url:""};function pe(e){let r=new XMLHttpRequest,n=u({},fe,e);var t,e=(e=>{var t=[];return"GET"===me(e)&&t.push(ve(e.data,e.traditional)),"DELETE"!==me(e)||void 0!==e.deleteBody&&!0!==e.deleteBody||(t.push(ve(e.data,e.traditional)),delete e.data),!1===e.cache&&t.push(ve({_:+new Date})),ge(t.filter(e=>!!e).join("&"),e)})(n);let a=me(n),i=null;return"json"===n.submitAs&&n.data&&(n.data=JSON.stringify(n.data),n.contentType||(n.contentType="application/json; charset=utf-8")),r.open(a,n.url+(e?(n.url.includes("?")?"&":"?")+e:""),!0,n.username||null,n.password||null),!n.contentType||n.data instanceof FormData||r.setRequestHeader("Content-Type",n.contentType),n.headers&&!n.headers["X-Requested-With"]&&(e=n.url,t=M("win"),(e=new URL(e,t.location.origin)).origin===t.location.origin)&&(n.headers["X-Requested-With"]="XMLHttpRequest"),"json"===n.dataType&&n.headers&&!n.headers.accepts&&(n.headers.Accept="application/json, text/javascript, */*; q=0.01"),d(n.headers,(e,t)=>{r.setRequestHeader(e,t)}),n.data instanceof FormData?i=n.data:"GET"!==a&&n.data&&("string"==typeof n.data?i=n.data:(i=ge(i=ve(n.data,n.traditional),n),n.data=i)),r.onreadystatechange=function(){if(4==r.readyState){let e=r.responseText,t="success";if(0!==r.status){if(204===r.status||"HEAD"===a?t="nocontent":304===r.status?t="notmodified":400<=r.status&&(t="error"),"json"===n.dataType)try{e=JSON.parse(e)}catch(e){t="parsererror"}else if(!n.dataType)try{e=JSON.parse(e)}catch(e){}"success"===t?he(n.success,e,t,r):he(n.error,r,t,r.statusText),he(n.complete,r,t)}}},n.beforeSend&&!1===n.beforeSend.call(n,r,n)?r.abort():r.send(i),r}function he(e,t,r,n){if(e){var a=Array.isArray(e)?e:[e];for(let e=0;e<a.length;e++)a[e](t,r,n)}}function ge(e,t){return 0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")?e.replace(/%20/g,"+"):e}function me(e){let t="GET";return e.type&&(t=e.type),(t=e.method?e.method:t).toUpperCase()}function ve(e,t=!1){var r=[];return null==e?"":(function r(n,a,i,o=""){let l=Array.isArray(a);for(var s in a){let e=a[s],t=Array.isArray(e)||!i&&y(e);if(o){let e=!l||t?s:"";s=i?o:o+"["+e+"]"}!o&&l?ye(n,e.name,e.value):t?r(n,e,i,s):ye(n,s,e)}}(r,e,t),r.join("&"))}function ye(e,t,r){r="function"==typeof r?r():r;e.push(encodeURIComponent(t)+"="+encodeURIComponent(null===r?"":r))}function be(e,t){if(Array.isArray(t)||o(t))for(var r=0;r<t.length;r++)be(e,t[r]);else e.push(t);return e}function we(e,t){return e.filter(e=>t.includes(e))}function b(e,t,r){let n=[],a=0,i=e.length;if(void 0!==r)for(;a<i;a++)e[a]&&e[a][t]&&n.push(e[a][t][r]);else for(;a<i;a++)e[a]&&n.push(e[a][t]);return n}function xe(e,t,r,n){let a=[],i=0,o=t.length;if(void 0!==n)for(;i<o;i++)e[t[i]]&&e[t[i]][r]&&a.push(e[t[i]][r][n]);else for(;i<o;i++)e[t[i]]&&a.push(e[t[i]][r]);return a}function f(e,t){var r,n=[];void 0===t?(t=0,r=e):(r=t,t=e);for(var a=t;a<r;a++)n.push(a);return n}function Te(e){for(var t=[],r=0,n=e.length;r<n;r++)e[r]&&t.push(e[r]);return t}function _e(e){if(Array.from&&Set)return Array.from(new Set(e));if((e=>{if(!(e.length<2))for(var t=e.slice().sort(),r=t[0],n=1,a=t.length;n<a;n++){if(t[n]===r)return;r=t[n]}return 1})(e))return e.slice();var t,r,n,a=[],i=e.length,o=0;e:for(r=0;r<i;r++){for(t=e[r],n=0;n<o;n++)if(a[n]===t)continue e;a.push(t),o++}return a}pe.defaults=fe,pe.serialize=ve;let Ae=Object.freeze({__proto__:null,flatten:be,intersection:we,pluck:b,pluckOrder:xe,range:f,removeEmpty:Te,selectiveJoin:function(t,r){if("number"==typeof r)return""+t[r];if(0===r.length)return"";let n=""+t[r[0]];for(let e=1;e<r.length;e++)n+=" "+t[r[e]];return n},unique:_e}),De=/\[.*?\]$/,je=/\(\)$/;function Ce(e){return(e.match(/(\\.|[^.])+/g)||[""]).map(function(e){return e.replace(/\\\./g,".")})}function Oe(a){if(null===a)return function(e){return e};if("function"==typeof a)return function(e,t,r,n){return a(e,t,r,n)};if("string"!=typeof a||-1===a.indexOf(".")&&-1===a.indexOf("[")&&-1===a.indexOf("(")){if(y(a)){let i={};return d(a,function(e,t){t&&(i[e]=Oe(t))}),function(e,t,r,n){var a=i[t]||i._;return void 0!==a?a(e,t,r,n):e}}return function(e){return e[a]}}{let c=function(r,n,e){var a,i,o;if(""!==e){var l=Ce(e);for(let e=0,t=l.length;e<t;e++){if(s=l[e].match(De),a=l[e].match(je),s){if(l[e]=l[e].replace(De,""),""!==l[e]&&(r=r[l[e]]),i=[],l.splice(0,e+1),o=l.join("."),Array.isArray(r))for(let e=0,t=r.length;e<t;e++)i.push(c(r[e],n,o));var s=s[0].substring(1,s[0].length-1);r=""===s?i:i.join(s);break}if(a)l[e]=l[e].replace(je,""),r=r[l[e]]();else{if(null===r||null===r[l[e]])return null;if(void 0===r||void 0===r[l[e]])return;r=r[l[e]]}}}return r};return function(e,t){return c(e,t,a)}}}function Se(n){if(null===n)return function(){};if("function"==typeof n)return function(e,t,r){n(e,"set",t,r)};if("string"!=typeof n||-1===n.indexOf(".")&&-1===n.indexOf("[")&&-1===n.indexOf("("))return y(n)?Se(n._):function(e,t){e[n]=t};{let c=function(n,a,e){var t,i,o,l,s=Ce(e),e=s[s.length-1];for(let r=0,e=s.length-1;r<e;r++){if("__proto__"===s[r]||"constructor"===s[r])throw new Error("Cannot set prototype values");if(t=s[r].match(De),i=s[r].match(je),t){if(s[r]=s[r].replace(De,""),n[s[r]]=[],(t=s.slice()).splice(0,r+1),l=t.join("."),Array.isArray(a))for(let e=0,t=a.length;e<t;e++)o={},c(o,a[e],l),n[s[r]].push(o);else n[s[r]]=a;return}i&&(s[r]=s[r].replace(je,""),n=n[s[r]](a)),null==n[s[r]]&&(n[s[r]]={}),n=n[s[r]]}e.match(je)?n[e.replace(je,"")](a):n[e.replace(De,"")]=a};return function(e,t){return c(e,t,n)}}}function Ne(t,r=250){let n;return function(...e){clearTimeout(n),n=setTimeout(()=>{t.call(this,...e)},r)}}function Re(r,n=200){let a,i;return function(...e){var t=+new Date;a&&t<a+n?(clearTimeout(i),i=setTimeout(()=>{a=void 0,r.call(this,...e)},n)):(a=t,r.call(this,...e))}}function Ie(e,t){for(var r,n,a=M("datatable"),i=(t||a.ext.version).split("."),o=e.split("."),l=0,s=o.length;l<s;l++)if((r=parseInt(i[l],10)||0)!==(n=parseInt(o[l],10)||0))return n<r;return!0}var k={ajax:pe,array:Ae,conv:K,data:Object.freeze({__proto__:null,get:Oe,set:Se}),debounce:Ne,diacritics:V,escapeHtml:L,escapeRegex:E,external:M,get:Oe,is:e,object:ue,regex:O,set:Se,string:G,stripHtml:J,throttle:Re,timer:Object.freeze({__proto__:null,debounce:Ne,throttle:Re}),unique:_e,version:Object.freeze({__proto__:null,check:Ie})};let Ee=1,Le=[];function Me(e){e=e._event_uid;return e&&Le[e]?Le[e]:null}function ke(e,t){(e=e)._event_uid||(e._event_uid=Ee++);e=e._event_uid;void 0===Le[e]&&(Le[e]=[]),Le[e].push(t)}let Fe=["click","dblclick","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup"];function p(e,t,r){Object.defineProperty(e,t,{configurable:!0,get(){return r}})}function He(e){if(!e)return{eventName:null,namespaces:[]};e=e.split(".");let t=e.shift(),r=!1,n=!1;return"mouseenter"===t?(t="mouseover",r=!0):"mouseleave"===t?(t="mouseout",r=!0):"focus"===t?(t="focusin",n=!0):"blur"===t?(t="focusout",n=!0):"ready"===t&&(t="DOMContentLoaded"),{eventName:t,isFocus:n,isHover:r,namespaces:e}}function Pe(l,e,s,c,d){var t,r=M("jq"),u=M("doc");if(r&&l.constructor!==EventTarget)t=d?"one":"on",c?r(l)[t](e,c,s):r(l)[t](e,s);else{let{eventName:n,namespaces:a,isFocus:i,isHover:o}=He(e);n&&(l===u&&"DOMContentLoaded"===n&&e.includes("ready")&&"complete"===u.readyState?s(new Event("DOMContentLoaded")):((r=function(e){let t=l;if((!e.namespace||we(a,e.namespace.split(".")).length)&&(c||!(i&&e.target!==l||o&&e.relatedTarget&&l.contains(e.relatedTarget)))){if(c){var r=function(e,t,r){var n=Array.from(e.querySelectorAll(t));let a=r.target;for(;a&&a!==this;a=a.parentNode)for(var i of n)if(i===a)return a}(l,c,e);if(!r)return;if(o&&e.relatedTarget&&r.contains(e.relatedTarget))return;t=r}p(e,"currentTarget",t),p(e,"delegateTarget",l),p(e,"relatedTarget",e.relatedTarget);r=s.apply(t,[e,...e._args||[]]);d&&qe(l,n,s,c),!1===r&&(e.preventDefault(),e.stopPropagation()),e.result=r}}).delegateSelector=c,r.original=s,r.one=d,r.type=n,r.namespaces=a,ke(l,r),l.addEventListener(n,r)))}}function qe(n,a,i,o){var l=M("jq");if(l&&n.constructor!==EventTarget)o?l(n).off(a,o,i):l(n).off(a,i);else{let{eventName:t,namespaces:r}=He(a),e=[];l=Me(n);null!==l&&(e=t&&o&&i?l.filter(e=>e.type===t&&e.delegateSelector===o&&e.original===i):t&&o?l.filter(e=>e.type===t&&e.delegateSelector===o):t&&i?l.filter(e=>e.type===t&&e.original===i):t?l.filter(e=>e.type===t):l,(e=r.length?e.filter(e=>e.namespaces.filter(e=>r.includes(e)).length===r.length):e).forEach(e=>{var t,r;r=e,(t=Me(t=n))&&-1!==(r=t.indexOf(r))&&t.splice(r,1),n.removeEventListener(e.type,e)}))}}function We(e,t,n=!1,a=[],i=null,o=!1){var l=M("jq"),r=M("win");if(l&&e.constructor!==EventTarget){var s=n?"trigger":"triggerHandler";let r=l.Event(t);return d(i,(e,t)=>{p(r,e,t)}),l(e)[s](r,a||[]),o?(r.defaultPrevented=r.isDefaultPrevented(),r):!r.isDefaultPrevented()}var{eventName:l,namespaces:s}=He(t);if(!l)return!1;let c;return p(c=new(e.constructor===EventTarget?Event:Fe.includes(l.toLowerCase())?r.MouseEvent:r.Event)(l,{bubbles:n,cancelable:!0}),"namespace",s.join(".")),p(c,"_args",a||[]),d(i,(e,t)=>p(c,e,t)),e.dispatchEvent(c),o?c:!c.defaultPrevented}K={height(){var e;return(null==(e=M("doc").querySelector("html"))?void 0:e.clientHeight)||0},off(e,t=null){qe(A,e,t,null)},on(e,t){Pe(A,e,t,null,!1)},one(e,t){Pe(A,e,t,null,!0)},scrollLeft(e){return void 0!==e&&(A.scrollX=e),A.scrollX},scrollTop(e){return void 0!==e&&(A.scrollY=e),A.scrollY},width(){var e;return(null==(e=M("doc").querySelector("html"))?void 0:e.clientWidth)||0}};function ze(e){e=M("doc").createElement(e);return new F(e)}function Be(e){return new F(e)}let Ue=new EventTarget;class F{constructor(e){this.length=0,this._isDom=!0,e&&this.add(e)}add(e,t=!0){if(e)if("string"==typeof e)Ge(this,Array.from(M("doc").querySelectorAll(e)));else if(e instanceof F)Ge(this,e.get());else if("object"!=typeof e||e.nodeName||void 0===e.length)Ge(this,e);else{var r=e;for(let e=0;e<r.length;e++)Ge(this,r[e]);t=!1}return t&&this.sort(),this}append(e){if(!e)return this;let r=be([],e=o(e)?e:[e]).filter(e=>!!e);return r.find(e=>"string"==typeof e)?this.each(t=>{for(let e=0;e<r.length;e++)"string"==typeof r[e]?t.insertAdjacentHTML("beforeend",r[e]):t.append(r[e])}):this.each(e=>{var t=new DocumentFragment;for(let e=0;e<r.length;e++)t.append(r[e]);e.append(t)})}appendTo(e){return(e instanceof F?e:new F(e)).append(this),this}attr(e,t){return"string"==typeof e&&void 0===t?this.count()?this[0].getAttribute(e):null:this.each(r=>{"string"==typeof e?null!=t&&r.setAttribute(e,"string"==typeof t?t:t.toString()):d(e,(e,t)=>{null!=t&&r.setAttribute(e,t)})})}attrRemove(t){return this.each(e=>e.removeAttribute(t))}blur(){return this.each(e=>e.blur())}children(t){return this.map(e=>{e=Array.from(e.children);return t?e.filter(e=>e.matches(t)):e})}classAdd(e){if(!e)return this;let r=Ye(e);return this.each(t=>{r.filter(e=>e).forEach(e=>t.classList.add(e))})}classHas(e){return!!this.count()&&this[0].classList.contains(e)}classRemove(e){if(!e)return this;let r=Ye(e);return this.each(t=>{r.filter(e=>e).forEach(e=>t.classList.remove(e))})}classToggle(e,r){let n=Array.isArray(e)?e:e.split(" ");return this.each(t=>{n.filter(e=>e).forEach(e=>t.classList.toggle(e,r))})}clone(t=!1){return this.map(e=>e.cloneNode(t))}closest(t){return"string"==typeof t?this.map(e=>e.closest(t)):this.map(e=>{for(;e.parentElement;){if(e.parentElement===t)return t;e=e.parentElement}return null})}contains(e){return 0!==this.find(e).count()}count(){return this.length}css(t,r){return"string"==typeof t&&void 0===r?this.length?getComputedStyle(this[0])[t]:null:this.each(e=>{"string"==typeof t?e.style[t]=r:Object.assign(e.style,t)})}data(t,r){if(t)return"string"==typeof t&&void 0===r?this.length?Xe(this[0].dataset[t]):null:("string"==typeof t?this.each(e=>e.dataset[t]=JSON.stringify(r)):d(t,(t,r)=>{this.each(e=>e.dataset[t]=JSON.stringify(r))}),this);{let r={};return this.count()&&k.object.each(this[0].dataset,(e,t)=>{r[e]=Xe(t)}),r}}detach(){return this.each(e=>e.remove())}detachChildren(){return this.each(e=>{e.replaceChildren()})}each(t){for(let e=0;e<this.length;e++){var r=this[e];t.call(r,r,e)}return this}eachReverse(t){for(let e=this.length-1;0<=e;e--){var r=this[e];t.call(r,r,e)}return this}empty(){return this.each(e=>{var t;if(e.replaceChildren)e.replaceChildren();else for(;e.childNodes.length;)null!=(t=e.firstChild)&&t.remove()})}eq(e){return e<this.count()?new F(this.get(e)):new F}get(e){return void 0!==e?this[e]:Array.from(this)}focus(){return this.each(e=>e.focus())}filter(t){return this.map(e=>void 0===t?e:"function"==typeof t?t(e)?e:null:"string"!=typeof t?o(t)?Array.from(t).includes(e)?e:null:t===e?e:null:e.matches(t)&&(e.parentNode||!t.match(/:\w+-child/)&&!t.match(/:\w+-of-type/))?e:null)}find(t){if(null===t)return new F;if("string"==typeof t)return this.map(e=>Array.from(e.querySelectorAll(t)));let r=t instanceof F?t.get():t,n=!1;return this.each(e=>{new F(r).closest(e).count()&&(n=!0)}),new F(n?r:[])}first(){return new F(this.length?this[0]:null)}height(t){var e,r,n;return this.count()?void 0===t||"withPadding"===t||"withBorder"===t||"withMargin"===t||"inner"===t||"outer"===t?(n=this[0],e=M("win").getComputedStyle(this[0]),r=n.getBoundingClientRect().height,t&&"content"!==t?"withPadding"===t||"inner"===t?r-parseFloat(e.borderTop)-parseFloat(e.borderBottom):"withBorder"===t?r:r+parseFloat(e.marginTop)+parseFloat(e.marginBottom):(n=n.offsetHeight-parseFloat(e.borderTop)-parseFloat(e.borderBottom)-n.clientHeight,r-parseFloat(e.paddingTop)-parseFloat(e.paddingBottom)-parseFloat(e.borderTop)-parseFloat(e.borderBottom)-n)):this.each(e=>e.style.height="string"==typeof t?t:t+"px"):0}hide(){return this.each(e=>{e.style.display="none"})}html(t){return void 0!==t?this.each(e=>{e.innerHTML=t}):this.count()?this[0].innerHTML:null}is(e){return 0<this.filter(e).count()}isAttached(){return 0!==this.count()&&M("doc").body.contains(this[0])}isVisible(){var e;return 0!==this.count()&&!!((e=this[0]).offsetWidth||e.offsetHeight||e.getClientRects().length)}index(){var e;return this.count()?(e=this[0],Array.from(e.parentNode.children).indexOf(e)):-1}insertAfter(e){let t=Je(e);return this.eachReverse(r=>{t.forEach(e=>{var t;return null==(t=null==e?void 0:e.parentNode)?void 0:t.insertBefore(r,e.nextSibling)})})}insertBefore(e){let t=Je(e);return this.each(r=>{t.forEach(e=>{var t;return null==(t=null==e?void 0:e.parentNode)?void 0:t.insertBefore(r,e)})})}last(){return new F(this.length?this[this.length-1]:null)}map(t){let r=new F;return this.each(e=>{r.add(t(e),!1)}),r}mapTo(r){let n=[];return this.each((e,t)=>n.push(r(e,t))),n}off(e,t,r){let{handler:n,names:a,selector:i}=$e(e,t,r);return this.each(t=>{a.forEach(e=>{qe(t,e,n,i)})})}offset(){var e,t;return this.count()?(e=this[0].getBoundingClientRect(),t=M("doc").documentElement,{top:e.top+M("win").pageYOffset-t.clientTop,left:e.left+M("win").pageXOffset-t.clientLeft}):{top:0,left:0}}offsetParent(){return this.map(e=>e.offsetParent||M("doc").body)}on(e,t,r){let{handler:n,names:a,selector:i}=$e(e,t,r);return this.each(t=>{a.filter(e=>null!==e).forEach(e=>{Pe(t,e,n,i,!1)})})}one(e,t,r){let{handler:n,names:a,selector:i}=$e(e,t,r);return this.each(t=>{a.filter(e=>null!==e).forEach(e=>{Pe(t,e,n,i,!0)})})}parent(t){return this.map(e=>{e=e.parentElement;return!t||null!=e&&e.matches(t)?e:null})}position(){var e,t,r;return this.count()?(e=this[0],{marginTop:t,marginLeft:r}=getComputedStyle(e),{top:e.offsetTop-parseInt(t),left:e.offsetLeft-parseInt(r)}):{top:0,left:0}}prepend(e){return this.each(t=>{o(e)||ee(e)?Array.from(e).reverse().forEach(e=>t.prepend(e)):"string"==typeof e?t.insertAdjacentHTML("afterbegin",e):t.prepend(e)})}prependTo(e){return(e instanceof F?e:new F(e)).prepend(this),this}prop(t,r){return"string"==typeof t&&void 0===r?this.count()?this[0][t]:null:this.each(e=>{e[t]=r})}propRemove(t){return this.each(e=>{delete e[t]})}remove(){return this.each(e=>e.remove())}replaceWith(t){return this.each(e=>{t instanceof F?e.replaceWith(...t.get()):e.replaceWith(t)})}scrollLeft(t){return void 0===t?this.count()?this[0].scrollLeft:0:this.each(e=>e.scrollLeft=t)}scrollTop(t){return void 0===t?this.count()?this[0].scrollTop:0:this.each(e=>e.scrollTop=t)}siblings(){return this.map(t=>t.parentElement?Array.from(t.parentElement.children).filter(e=>e!==t):[])}show(){return this.each(e=>{e.style.display="block"})}sort(){return Array.prototype.sort.call(this,Ve),this}text(t){return void 0===t?this.count()?this[0].textContent:null:this.each(e=>{e.textContent=t})}transition(t,r,n,a){if(this.count())if(r||0===r||(r=400),n=n||"",a=a||(()=>{}),F.transitions&&0!==r){let e=this[0];e._dom_tra&&(clearTimeout(e._dom_tra),delete e._dom_tra),setTimeout(()=>{this.css("transition","all "+r+"ms "+n),this.css(t)},0),e._dom_tra=setTimeout(()=>{delete e._dom_tra,this.css("transition",""),a.call(this)},r)}else this.css(t),a.call(this);return this}trigger(e,r=!0,n=null,a=null,i=!1){let o=$e(e).names,l=[];return this.each(t=>{o.filter(e=>null!==e).forEach(e=>{l.push(We(t,e,r,n,a,i))})}),l}val(r){var e;return void 0===r?this.count()?(e=this[0]).options&&e.multiple?Array.from(e.options).filter(e=>e.selected).map(e=>e.value):e.value:null:this.each(e=>{if(e.options&&e.multiple){let t=Array.isArray(r)?r:[r];Array.from(e.options).forEach(e=>e.selected=t.includes(e.value))}else e.value=r})}width(t){var e,r,n;return this.count()?void 0===t||"withPadding"===t||"withBorder"===t||"withMargin"===t||"inner"===t||"outer"===t?(n=this[0],e=M("win").getComputedStyle(n),r=n.getBoundingClientRect().width,t&&"content"!==t?"withPadding"===t||"inner"===t?r-parseFloat(e.borderLeft)-parseFloat(e.borderRight):"withBorder"===t?r:r+parseFloat(e.marginLeft)+parseFloat(e.marginRight):(n=n.offsetWidth-parseFloat(e.borderLeft)-parseFloat(e.borderRight)-n.clientWidth,r-parseFloat(e.paddingLeft)-parseFloat(e.paddingRight)-parseFloat(e.borderLeft)-parseFloat(e.borderRight)-n)):this.each(e=>e.style.width="string"==typeof t?t:t+"px"):0}}function Xe(t){if(void 0===t)return null;try{return JSON.parse(t)}catch(e){return t}}function $e(e,t,r){let n,a;e=e?e.split(" ").map(e=>e.trim()):[null];return{handler:a="string"==typeof t?(n=t,r):(n=null,t),names:e,selector:n}}function Ve(e,t){var r;return e===t?0:(r=e.compareDocumentPosition(t))&Node.DOCUMENT_POSITION_DISCONNECTED?M("doc").body.contains(e)?-1:M("doc").body.contains(t)?1:0:r&Node.DOCUMENT_POSITION_FOLLOWING||r&Node.DOCUMENT_POSITION_CONTAINED_BY?-1:r&Node.DOCUMENT_POSITION_PRECEDING||r&Node.DOCUMENT_POSITION_CONTAINS?1:0}function Je(e){return ee(e)?e.get():Array.isArray(e)?e:[e]}function Ge(e,t){if(k.is.arrayLike(t))for(var r=0;r<t.length;r++){var n=t[r];null!=n&&(e[e.length]=n,e.length++)}else null!=t&&(e[e.length]=t,e.length++)}function Ye(e){function t(e){r.push.apply(r,e.split(" "))}let r=[];return Array.isArray(e)?e.forEach(e=>t(e)):t(e),r}F.c=ze,F.create=ze,F.on=function(e,t){Pe(Ue,e,t,null,!1)},F.s=Be,F.select=Be,F.transitions=!0,F.trigger=function(e,t,r){We(Ue,e,!0,t,r)},F.w=K,F.prototype.addClass=F.prototype.classAdd,F.prototype.hasClass=F.prototype.classHas,F.prototype.removeClass=F.prototype.classRemove;let Ze={},Qe=[];function Ke(e,t,r=""){Ze[e]=t,r&&Qe.push({cFeature:r,fnInit:t})}function et(e,t,r,n){let a=[],i=Math.floor(r/2),o=n?2:1,l=n?1:0;return t<=r?a=f(0,t):1===r?a=[e]:3===r?e<=1?a=[0,1,"ellipsis"]:t-2<=e?(a=f(t-2,t)).unshift("ellipsis"):a=["ellipsis",e,"ellipsis"]:e<=i?((a=f(0,r-o)).push("ellipsis"),n&&a.push(t-1)):t-1-i<=e?((a=f(t-(r-o),t)).unshift("ellipsis"),n&&a.unshift(0)):((a=f(e-i+o,e+i-l)).push("ellipsis"),a.unshift("ellipsis"),n&&(a.push(t-1),a.unshift(0))),a}let tt={simple:function(){return["previous","next"]},full:function(){return["first","previous","next","last"]},numbers:function(){return["numbers"]},simple_numbers:function(){return["previous","numbers","next"]},full_numbers:function(){return["first","previous","numbers","next","last"]},first_last:function(){return["first","last"]},first_last_numbers:function(){return["first","numbers","last"]},_numbers:et,numbers_length:7},rt={addedClasses:[],cells:[],data:[],details:void 0,detailsShow:void 0,displayData:null,idx:-1,orderCache:null,searchCellCache:null,searchRowCache:null,src:"dom",tr:null};function nt(e={}){return k.object.assignDeep({},rt,e)}function c(e,t,r,n){for(var a=e.data.length,i=nt({src:r?"dom":"data",idx:a}),o=(i.data=t,e.data.push(i),e.columns),l=0,s=o.length;l<s;l++)o[l].type=null;e.displayMaster.push(a);t=e.rowIdFn(t);return void 0!==t&&(e.ids[t]=i),!r&&e.features.deferRender||zt(e,a,r,n),a}function at(r,e){return e.mapTo(e=>{var t=((r,e)=>{let n=r.rowReadObject?{}:[],t=F.s(e).children("th, td"),a=e.getAttribute("id");return t.each((e,t)=>{dt(r,e,n,t)}),a&&k.set(r.rowId)(n,a),{data:n,cells:t.get()}})(r,e);return c(r,t.data,e,t.cells)})}function H(e,t,r,n){"search"===n?n="filter":"order"===n&&(n="sort");var a=e.data[t];if(a){var i=e.drawCount,o=e.columns[r],a=a.data,l=o.defaultContent,s=o.dataGet(a,n,{settings:e,row:t,col:r});if(void 0===(s="display"!==n&&s&&"object"==typeof s&&s.nodeName?s.innerHTML:s))return e.drawError!=i&&null===l&&(q(e,0,"Requested unknown parameter "+("function"==typeof o.data?"{function}":"'"+o.data+"'")+" for row "+t+", column "+r,4),e.drawError=i),l;if(s!==a&&null!==s||null===l||void 0===n){if("function"==typeof s)return s.call(a)}else s=l;return null===s&&"display"===n?"":s="filter"===n&&(t=X.type.search,o.type)&&t[o.type]?t[o.type](s):s}}function it(e,t){e=F.s(e);t&&"object"==typeof t&&t.nodeName?e.empty().append(t):e.html(t)}function ot(e){return k.array.pluck(e.data,"data")}function lt(e){e.data.length=0,e.displayMaster.length=0,e.display.length=0,e.ids={}}function st(e,t,r,n){var a,i,o=e.data[t];if(o){if(o.orderCache=null,o.searchCellCache=null,o.displayData=null,"dom"!==r&&(r&&"auto"!==r||"dom"!==o.src)){var l=o.cells,s=Wt(e,t);if(l.length)if(void 0!==n)it(l[n],s[n]);else for(a=0,i=l.length;a<i;a++)it(l[a],s[a])}else o.data=((t,r,n)=>{var e,a=r.cells;for(let e=0;e<a.length;e++)void 0!==n&&n!==e||dt(t,a[e],r.data,e);return r.tr&&(e=r.tr.getAttribute("id"))&&k.set(t.rowId)(r.data,e),{data:r.data,cells:a}})(e,o,n).data;ct(e,n),Bt(e,o),B(e,null,"rowInvalidate",[e,t,n],!1)}}function ct(e,t){var r=e.columns;if(void 0!==t)r[t].type=null,r[t].wideStrings=null;else for(let e=0,t=r.length;e<t;e++)r[e].type=null,r[e].wideStrings=null;e.containerWidth=-1}function dt(e,t,n,r){var a,i,e=e.columns[r],r=t.innerHTML.trim();e.attrSrc?(a=e.data,i=function(e,t){var r;"string"==typeof e&&-1!==(r=e.indexOf("@"))&&(r=e.substring(r+1),k.set(e)(n,t.getAttribute(r)))},k.set(a._)(n,r),i(a.sort,t),i(a.type,t),i(a.filter,t)):(e.setter||(e.setter=k.set(e.data)),e.setter(n,r))}function w(e,t){e.doingDraw&&!1===t||B(e,null,"processing",[e,t])}function ut(e,t,r){t?(w(e,!0),setTimeout(function(){r(),w(e,!1)},0)):r()}function ft(e,t){var e=e.renderer,r=X.renderer[t];return y(e)&&e[t]?r[e[t]]||r._:"string"==typeof e&&r[e]||r._}function pt(r){if(r.features.autoWidth){var e=r.table,t=r.columns,n=r.scroll,a=n.y,i=n.x,o=Ir(r,"visible"),n=e.getAttribute("width"),l=e.parentElement,s=e.style.width,c=ht(r);if(c!==r.containerWidth){r.containerWidth=c,(s=s||n?s:e.style.width="100%")&&-1!==s.indexOf("%")&&(n=s),B(r,null,"column-calc",[{visible:o}],!1);for(var d=F.s(e.cloneNode()).css("visibility","hidden").css("margin","0").attrRemove("id"),u=(d.append(F.c("tbody")),d.append(r.thead.cloneNode(!0)).append(r.tfoot.cloneNode(!0)),d.find("tfoot th, tfoot td").css("width",""),d.find("thead th, thead td").each(e=>{var t=kr(r,e,!0);t?(e.style.width=t,i&&(e.style.minWidth=t,F.s(e).append(F.c("div").css({width:t,margin:"0",padding:"0",border:"0",height:"1px"})))):e.style.width=""}),[]),f=0;f<o.length;f++)u.push(((n,a)=>{var i=n.columns[a];if(!i.wideStrings||"display"===i.widthCalc){let e=[],t=[],r=n.displayMaster;"display"===i.widthCalc&&(r=n.display.slice(n.displayStart,n.displayStart+n.pageLength));for(var o=0,l=r.length;o<l;o++){var s=r[o],s=Wt(n,s,a),s=s&&"object"==typeof s&&s.nodeType?s.innerHTML:s+"",c=(s=(s=s.replace(/id=".*?"/g,"").replace(/name=".*?"/g,"")).replace(/<script[\s\S]*?<\/script(?:\s[^>]*)?>/gi," ").replace(/<dialog[\s\S]*?<\/dialog(?:\s[^>]*)?>/gi," ").replace(/<template[\s\S]*?<\/template(?:\s[^>]*)?>/gi," "),k.string.stripHtml(s," ").replace(/&nbsp;/g," "));t.push({str:s,len:c.length}),e.push(c)}t.sort(function(e,t){return t.len-e.len}).splice(3),i.wideStrings=t.map(function(e){return e.str});var d=e.join(" ").split(" ");d.sort(function(e,t){return t.length-e.length}),d.length&&i.wideStrings.push(d[0]),1<d.length&&i.wideStrings.push(d[1]),2<d.length&&i.wideStrings.push(d[3])}return i.wideStrings})(r,o[f]));if(u.length)for(f=0;f<u[0].length;f++)for(var p=F.c("tr").appendTo(d.children("tbody")),h=0;h<o.length;h++){var g=t[o[h]],m=u[h][f]||"",v=X.type.className[g.type],y=m+(g.contentPadding||(i?"-":"")),v=F.c("td").classAdd(v).classAdd(g.className).appendTo(p);-1===m.indexOf("<")&&-1===m.indexOf("&")?v.text(y):v.html(y)}d.find("[name]").attrRemove("name");var b,w,c=F.c("div").css(i||a?{position:"absolute",top:"0",left:"0",height:"1px",right:"0",overflow:"hidden"}:{}).append(d).appendTo(l),x=(i?(d.css("width","auto").attrRemove("width"),d.width()<l.clientWidth&&n&&d.width(l.clientWidth)):a?d.width(l.clientWidth):n&&d.width(n),0),T=d.find("tbody tr").eq(0).children();for(f=0;f<o.length;f++){var _=T.get(f).getBoundingClientRect().width;x+=_,t[o[f]].width=D(_)}e.style.width=D(x),c.remove(),n&&(e.style.width=D(n)),!n&&!i||r.reszEvt||(b=k.throttle(function(){var e=ht(r);r.destroying||0===e||Or(r)}),A.ResizeObserver?(w=F.s(r.tableWrapper).isVisible(),s=F.c("div").css({width:"100%",height:"0"}).classAdd("dt-autosize").appendTo(r.tableWrapper),r.resizeObserver=new ResizeObserver(function(e){w?w=!1:b()}),r.resizeObserver.observe(s.get(0))):(A.addEventListener("resize",b),r.windowResizeCb=b),r.reszEvt=!0)}}}function ht(e){e=F.s(e.tableWrapper);return e.isVisible()?e.width():0}function D(e){return null===e?"0px":"number"==typeof e?e<0?"0px":e+"px":e.match(/\d$/)?e+"px":e}function gt(e){var t=e.columns;e.colgroup.empty();for(var r=0;r<t.length;r++)t[r].visible&&e.colgroup.append(t[r].colEl)}function mt(e){var t=F.s(e.table),r=e.scroll,n=r.x,a=r.y;if(""===a&&""===n)return t.get(0);function i(e){return e?D(e):"100%"}var o=e.classes.scrolling,l=e.captionNode,s=l?l._captionSide:null,c=t.clone(!1),d=t.clone(!1),u=t.children("tfoot"),f=F.c("div").classAdd(o.container).attr("role","table").append(F.c("div").classAdd(o.header.self).css({overflow:"hidden",position:"relative",border:"0",width:n?i(n):"100%"}).attr("role","none").append(F.c("div").classAdd(o.header.inner).css({"box-sizing":"content-box",width:r.xInner||"100%"}).attr("role","none").append(c.attrRemove("id").css("margin-left","0").append("top"===s?l:null).append(t.children("thead"))))).append(F.c("div").classAdd(o.body).css({position:"relative",overflow:"auto",width:i(n)}).attr("role","none").append(t)),u=(u.count()&&f.append(F.c("div").classAdd(o.footer.self).css({overflow:"hidden",border:"0",width:n?i(n):"100%"}).attr("role","none").append(F.c("div").classAdd(o.footer.inner).attr("role","none").append(d.attrRemove("id").css("margin-left","0").append("bottom"===s?l:null).append(t.children("tfoot"))))),f.children());let p=u.eq(0),h=u.eq(1),g=u.eq(2);h.on("scroll.DT",()=>{var e=h.scrollLeft();p.scrollLeft(e),g.scrollLeft(e)}),p.on("focusin.DT",()=>{var e=p.scrollLeft();h.scrollLeft(e),g.scrollLeft(e)}),g.on("focusin.DT",()=>{var e=g.scrollLeft();p.scrollLeft(e),h.scrollLeft(e)}),h.css("max-height",i(a)),r.collapse||h.css("height",i(a)),e.scrollHead=p,e.scrollBody=h,e.scrollFoot=g,e.callbacks.draw.push(vt),t.attr("role","none"),t.find("tbody").attr("role","rowgroup"),c.attr("role","none"),d.attr("role","none"),e.colgroup.find("colgroup").attr("role","none");n=t.attr("aria-describedby");return n&&(f.attr("aria-describedby",n),t.attrRemove("aria-describedby")),f.get(0)}function vt(r){let n=r.scroll,e=n.barWidth,t=r.scrollHead,a=t.children("div"),i=a.children("table"),o=r.scrollBody,l=o,s=r.scrollFoot,c=s.children("div"),d=c.children("table"),u=F.s(r.thead),f=F.s(r.table),p=F.s(r.tfoot),h=r.browser,g,m;var v=o.get(0).scrollHeight>o.get(0).clientHeight;if(r.scrollBarVis!==v&&void 0!==r.scrollBarVis)r.scrollBarVis=v,Or(r);else{if(r.scrollBarVis=v,u.find("thead").attr("role","rowgroup"),p.find("tfoot").attr("role","rowgroup"),f.children("thead, tfoot").remove(),(g=u.clone(!0).prependTo(f)).find("th, td").attrRemove("tabindex"),g.find("[id]").attrRemove("id"),p.count()&&(m=p.clone(!0).prependTo(f)).find("[id]").attrRemove("id"),r.display.length){let t=null;var y="ssp"!==U(r)?r.displayStart:0;for(let e=y;e<y+r.display.length;e++){var b=r.display[e],b=r.data[b];if(b){b=b.tr;if(b){t=b;break}}}if(t){var w=F.s(t).children("th, td").mapTo(function(e,t){return{idx:Sr(r,t),width:F.s(e).width("outer")}});for(let e=0;e<w.length;e++){var x=r.columns[w[e].idx].colEl;x.css("width",w[e].width+"px"),n.x&&x.css("minWidth",w[e].width+"px")}}}i.find("colgroup").remove(),i.append(r.colgroup.clone(!0)),p&&(d.find("colgroup").remove(),d.append(r.colgroup.clone(!0))),g.find("th, td").each(function(e){F.c("div").classAdd("dt-scroll-sizing").append(Array.from(e.childNodes)).appendTo(e)}),m&&m.find("th, td").each(function(e){F.c("div").classAdd("dt-scroll-sizing").append(Array.from(e.childNodes)).appendTo(e)});var v=Math.floor(f.height())>o.get(0).clientHeight||"scroll"==l.css("overflow-y"),T="padding"+(h.scrollbarLeft?"Left":"Right"),_=f.width("withPadding");i.css("width",D(_)),a.css("width",D(_)).css(T,v?e+"px":"0px"),p.count()&&(d.css("width",D(_)),c.css("width",D(_)).css(T,v?e+"px":"0px")),f.children("colgroup").prependTo(f),f.find("thead, tfoot").find("[tabindex]").attrRemove("tabindex"),f.find("thead, tfoot").attr("role","none").find("[role]").attrRemove("role"),f.find("tbody tr:not([role])").attr("role","row"),f.find("tbody td:not([role]), tbody th:not([role])").attr("role","cell"),yt(g),yt(m),l.trigger("scroll"),!r.wasOrdered&&!r.wasFiltered||r.drawHold||o.scrollTop(0)}}function yt(e){e&&(e.find("tfoot:not([role])").attr("role","rowgroup"),e.find("tr:not([role])").attr("role","row"),e.find("th:not([role])").attr("role","columnheader"),e.find("td:not([role])").attr("role","cell"))}function bt(r){var l,n,e,s=r.classes,c=F.c("div").attr("id",r.tableId+"_wrapper").classAdd(s.container).insertBefore(r.table);if(r.tableWrapper=c.get(0),r.dom){var d=r;var s=r.dom;var u=c;let e=s.match(/(".*?")|('.*?')|./g),t,n,a,i,o;if(e)for(let r=0;r<e.length;r++){if(t=null,"<"==(n=e[r])){if(a=F.c("div"),"'"==(i=e[r+1])[0]||'"'==i[0]){o=i.replace(/['"]/g,"");let e="",t;-1!=o.indexOf(".")?(l=o.split("."),e=l[0],t=l[1]):"#"==o[0]?e=o:t=o,a.attr("id",e.substring(1)).classAdd(t),r++}u.append(a.get()),u=a}else">"==n?u=u.parent():"t"==n?t=mt(d):X.feature.forEach(function(e){n==e.cFeature&&(t=e.fnInit(d))});t&&u.append(t instanceof F?t.get():t)}}else{var s=wt(r,r.layout,"top"),t=wt(r,r.layout,"bottom"),a=ft(r,"layout");s.forEach(function(e){a(r,c,e)}),a(r,c,{full:{contents:[mt(r)],items:[],table:!0}}),t.forEach(function(e){a(r,c,e)})}t=(s=r).table,e=""!==s.scroll.x||""!==s.scroll.y,s.features.processing&&(n=F.c("div").attr("id",s.tableId+"_processing").attr("role","status").classAdd(s.classes.processing.container).html(s.language.processing).append(F.c("div").append(F.c("div")).append(F.c("div")).append(F.c("div")).append(F.c("div"))),e?n.prependTo(F.s(s.tableWrapper).find("div.dt-scroll").get(0)):n.insertBefore(t),F.s(t).on("processing.dt.DT",(e,t,r)=>{n.css("display",r?"block":"none")}))}function wt(e,t,a){var i=[];k.object.each(t,function(e,t){var r,n,e=e.match(/^([a-z]+)([0-9]*)([A-Za-z]*)$/);null!==t&&e&&(r=e[2]?parseInt(e[2]):0,n=e[3]?e[3].toLowerCase():"full",e[1]!==a||"full"!==n&&"start"!==n&&"end"!==n||function e(t,r,n){if(Array.isArray(n))for(var a=0;a<n.length;a++)e(t,r,n[a]);else{var i=t[r];k.is.plainObject(n)?n.features?(n.rowId&&(t.id=n.rowId),n.rowClass&&(t.className=n.rowClass),i.id=n.id,i.className=n.className,e(t,r,n.features)):k.object.each(n,(e,t)=>{i.items.push({feature:e,opts:t})}):i.items.push(n)}}(((e,t,r)=>{for(var n,a=0;a<e.length;a++)if((n=e[a]).rowNum===t&&("full"===r&&n.full||("start"===r||"end"===r)&&(n.start||n.end)))return n[r]||(n[r]={contents:[],items:[]}),n;return(n={rowNum:t})[r]={contents:[],items:[]},e.push(n),n})(i,r,n),n,t))}),i.sort(function(e,t){var r=e.rowNum||0,n=t.rowNum||0;return r===n?(e=e.full&&!t.full?-1:1,"bottom"===a?-1*e:e):n-r}),"bottom"===a&&i.reverse();for(var r=0;r<i.length;r++)delete i[r].rowNum,((r,t)=>{function n(e,t){return X.features[e]||q(r,0,"Unknown feature: "+e),X.features[e].apply(this,[r,t])}function e(e){t[e]&&(t[e].contents=t[e].items.filter(e=>!!e).map(e=>{var t;return"string"==typeof e?n(e,null):k.is.plainObject(e)?n(e.feature,e.opts):"function"==typeof e.node?e.node(r):"function"==typeof e?"function"==typeof(t=e(r)).node?t.node():t:e.nodeName?e:e instanceof F?e.get(0):e.length?e[0]:void 0}))}e("start"),e("end"),e("full")})(e,i[r]);return i}function xt(i,e,t,o,l){er(e,t,function(e){var t=!1,r=void 0===o?Fr(e.target):"function"==typeof o?o():Array.isArray(o)?o:[o];if(r.length){for(var n=0,a=r.length;n<a;n++)if(!1!==((e,t,r,n)=>{function a(e,t){var r=e._idx;return(r=void 0===r?s.indexOf(e[1]):r)+1<s.length?r+1:t?null:0}var i,o=e.columns[t],l=e.order,s=o.orderSequence;if(!o.orderable)return!1;"number"==typeof l[0]&&(l=e.order=[l]),(n||r)&&e.features.orderMulti?-1!==(o=b(l,"0").indexOf(t))?null===(i=null===(i=a(l[o],!0))&&1===l.length?0:i)||""===s[i]?l.splice(o,1):(l[o][1]=s[i],l[o]._idx=i):(n?l.push([t,s[0],0]):l.push([t,l[0][1],0]),l[l.length-1]._idx=0):l.length&&l[0][0]==t?(i=a(l[0]))?(l.length=1,l[0][1]=s[i],l[0]._idx=i):(l.length=1,l[0][1]=s[0],l[0]._idx=0):(l.length=0,l.push([t,s[0]]),l[0]._idx=0)})(i,r[n],n,e.shiftKey)&&(t=!0),1===i.order.length&&""===i.order[0][1])break;t&&ut(i,!0,function(){At(i),Tt(i,i.display),Jt(i,!1,!1),l&&l()})}})}function Tt(e,t){if(!(t.length<2)){for(var r=e.displayMaster,n={},a={},i=0;i<r.length;i++)n[r[i]]=i;for(i=0;i<t.length;i++)a[t[i]]=n[t[i]];t.sort(function(e,t){return a[e]-a[t]})}}function h(n,a,e){function t(e){var t,r;y(e)?void 0!==(t=e).idx?a.push([e.idx,e.dir]):t.name&&-1!==(r=b(n.columns,"name").indexOf(t.name))&&a.push([r,t.dir]):a.push(e)}if(y(e))t(e);else if(Array.isArray(e)&&"number"==typeof e[0])t(e);else if(Array.isArray(e))for(var r=0;r<e.length;r++)t(e[r])}function _t(e){var t,r,n,a,i,o,l,s=[],c=X.type.order,d=e.columns,u=e.orderFixed,f=y(u),p=[];if(e.features.ordering)for(Array.isArray(u)&&h(e,p,u),f&&u.pre&&h(e,p,u.pre),h(e,p,e.order),f&&u.post&&h(e,p,u.post),t=0;t<p.length;t++)if(d[l=p[t][0]])for(r=0,n=(a=d[l].orderData).length;r<n;r++)o=d[i=a[r]].type||"string",void 0===p[t]._idx&&(p[t]._idx=d[i].orderSequence.indexOf(p[t][1])),p[t][1]&&s.push({src:l,col:i,dir:p[t][1],index:p[t]._idx,type:o,formatter:c[o+"-pre"],sorter:c[o+"-"+p[t][1]]});return s}function At(e,t,r){var n,a,i,o,u,f=[],l=X.type.order,p=e.data,s=e.displayMaster;for(Lr(e),void 0!==t?(o=e.columns[t],u=[{src:t,col:t,dir:r||"",index:0,type:o.type,formatter:l[o.type+"-pre"],sorter:l[o.type+"-"+r]}],s=s.slice()):u=_t(e),n=0,a=u.length;n<a;n++){i=u[n],x=w=b=h=d=c=y=v=m=g=void 0;var c,d,h,g=e,m=i.col,v=g.columns[m],y=X.order[v.orderDataType];y&&(c=y.call(g.instance,g,m,Nr(g,m)));for(var b=X.type.order[v.type+"-pre"],w=g.data,x=0;x<w.length;x++)w[x]&&((d=w[x])&&!d.orderCache&&(d.orderCache=[]),!d||d.orderCache[m]&&!y||(h=y?c[x]:H(g,x,m,"sort"),d.orderCache[m]=b?b(h,g):h))}if("ssp"!=U(e)&&0!==u.length){for(n=0,a=s.length;n<a;n++)f[n]=n;u.length&&"desc"===u[0].dir&&e.orderDescReverse&&f.reverse(),s.sort(function(e,t){for(var r,n,a,i,o,l=u.length,s=null==(r=p[e])?void 0:r.orderCache,c=null==(r=p[t])?void 0:r.orderCache,d=0;d<l;d++)if(n=s[(o=u[d]).col],a=c[o.col],o.sorter){if(0!==(i=o.sorter(n,a)))return i}else if(0!==(i=n<a?-1:a<n?1:0))return"asc"===o.dir?i:-i;return(n=f[e])<(a=f[t])?-1:a<n?1:0})}else 0===u.length&&s.sort(function(e,t){return e<t?-1:t<e?1:0});return void 0===t&&(e.wasOrdered=!0,e.sortDetails=u,B(e,null,"order",[e,u])),s}function Dt(e){var t,r,n,a=e.lastOrder,i=e.classes.order.position,o=_t(e),l=e.features;if(l.ordering&&l.orderClasses){for(t=0,r=a.length;t<r;t++)n=a[t].src,F.s(b(e.data,"cells",n)).classRemove(i+(t<2?t+1:3));for(t=0,r=o.length;t<r;t++)n=o[t].src,F.s(b(e.data,"cells",n)).classAdd(i+(t<2?t+1:3))}e.lastOrder=o}let jt={boundary:!1,caseInsensitive:!0,columns:null,exact:!1,regex:!1,return:!1,search:"",smart:!0};function P(e={}){return k.object.assignDeep({},jt,e)}function Ct(e,t,r){var n=e.displayStart,a=e.pageLength,i=Qt(e);if(0===i||-1===a)n=0;else if("number"==typeof t)i<(n=t*a)&&(n=0);else if("first"==t)n=0;else if("previous"==t)(n=0<=a?n-a:0)<0&&(n=0);else if("next"==t)n+a<i&&(n+=a);else if("last"==t)n=Math.floor((i-1)/a)*a;else{if("ellipsis"===t)return;q(e,0,"Unknown paging action: "+t,5)}i=e.displayStart!==n;e.displayStart=n,B(e,null,i?"page":"page-nc",[e]),i&&r&&Vt(e)}function Ot(r){var t,e;r.loadingState||(h(r,e=[],r.order),e={columns:(t=r.columns).map(function(e,t){return{name:e.name,visible:e.visible,search:Object.assign({},r.searches[t])}}),length:r.pageLength,order:e.map(function(e){return t[e[0]]&&t[e[0]].name?[t[e[0]].name,e[1]]:e.slice()}),search:Object.assign({},r.searches["*"]),searchGroups:Object.keys(r.searches).filter(e=>e.includes(",")).map(e=>Object.assign({},r.searches[e])),start:r.displayStart,time:+new Date},r.stateSaved=e,B(r,"stateSaveParams","stateSaveParams",[r,e]),r.features.stateSave&&!r.destroying&&r.stateSaveCallback.call(r.instance,r,e))}function St(r,t,e,n){var a,i,o=r.columns,l=b(r.columns,"name"),s=(r.loadingState=!0,r.initDone?new $(r):null);if(!e){if(!t||!t.time)return r.loadingState=!1,void n();e=r.stateDuration;if(0<e&&t.time<+new Date-1e3*e)return r.loadingState=!1,void n()}if(-1!==B(r,"stateLoadParams","stateLoadParams",[r,t]).indexOf(!1))r.loadingState=!1;else{if(r.stateLoaded=ae({},t),B(r,null,"stateLoadInit",[r,t],!0),void 0!==t.length&&(s?s.page.len(t.length):r.pageLength=t.length),void 0!==t.start&&(null===s?(r.displayStart=t.start,r.displayStartInit=t.start):Ct(r,t.start/r.pageLength)),void 0!==t.order){r.order=[];for(let e=0;e<t.order.length;e++){var c=t.order[e],d=[c[0],c[1]];if("string"==typeof c[0]){c=l.indexOf(c[0]);if(c<0)continue;d[0]=c}else if(d[0]>=o.length)continue;r.order.push(d)}}if(void 0!==t.search&&Object.assign(r.searches["*"],t.search),t.searchGroups&&t.searchGroups.forEach(e=>{var t;e.columns&&(t=e.columns.join(","),r.searches[t]=P(e))}),t.columns){var u,f=t.columns,p=b(t.columns,"name");if(p.join("").length&&p.join("")!==l.join(""))for(f=[],a=0;a<l.length;a++)""!=l[a]&&0<=(u=p.indexOf(l[a]))?f.push(t.columns[u]):f.push({});if(f.length===o.length){for(a=0,i=f.length;a<i;a++){var h=f[a];void 0!==h.visible&&(s?s.column(a).visible(h.visible,!1):o[a].visible=h.visible),void 0!==h.search&&(Object.assign(r.searches[a],h.search),r.searches[a].columns=[a])}s&&s.one("draw",function(){s.columns.adjust()})}}r.loadingState=!1,B(r,"stateLoaded","stateLoaded",[r,t])}n()}function Nt(n){var a,r,i,e,o=n.init,l=n.deferLoading,s=U(n);n.initialised?(Ut(n,"header"),Ut(n,"footer"),i=function(){$t(n,n.header),$t(n,n.footer);var t,e,r=n.displayStartInit;if(o&&o.data)for(a=0;a<o.data.length;a++)c(n,o.data[a]);else!l&&"dom"!=s||at(n,F.s(n.tbody).children("tr"));n.display=n.displayMaster.slice(),bt(n),(t=n).orderHandler&&Pr(t,':not([data-dt-order="disable"]):not([data-dt-order="icon-only"])').each(e=>{xt(t,e,"")}),h(t,e=[],t.order),t.order=e,gt(n),w(n,!0),B(n,null,"preInit",[n],!0),Jt(n),"ssp"==s&&!l||("ajax"==s?It(n,{},function(e){var t=Mt(n,e,!1);for(a=0;a<t.length;a++)c(n,t[a]);n.displayStartInit=r,Jt(n),w(n,!1),Rt(n)}):(Rt(n),w(n,!1)))},(r=n).features.stateSave?void 0!==(e=r.stateLoadCallback.call(r.instance,r,function(e,t=!1){St(r,e,t,i)}))&&St(r,e,!1,i):i()):setTimeout(function(){Nt(n)},200)}function Rt(e){var t,r;e.initDone||(t=[e,e.json],e.initDone=!0,0===(r=F.s(e.tfoot)).children().count()&&r.remove(),Or(e),B(e,null,"plugin-init",t,!0),B(e,"init","init",t,!0))}function It(r,e,n){function t(e){var t=r.jqXHR?r.jqXHR.status:null;if((null===e||"number"==typeof t&&204==t)&&Mt(r,e={},[]),(t=e.error||e.sError)&&q(r,0,t),e.d&&"string"==typeof e.d)try{e=JSON.parse(e.d)}catch(e){}r.json=e,ct(r),B(r,null,"xhr",[r,e,r.jqXHR],!0),n(e)}var a,i=r.ajax,o=r.instance,l=(k.is.plainObject(i)&&i.data&&(l="function"==typeof(a=i.data)?a(e,r):a,e="function"==typeof a&&l?l:k.object.assignDeep(e,l),delete i.data),{url:"string"==typeof i?i:"",data:e,success:t,dataType:"json",cache:!1,type:r.serverMethod,error:function(e,t){-1===B(r,null,"xhr",[r,null,r.jqXHR],!0).indexOf(!1)&&("parsererror"==t?q(r,0,"Invalid JSON response",1):4===e.readyState&&q(r,0,"Ajax error",7)),w(r,!1)}});k.is.plainObject(i)&&k.object.assign(l,i),r.ajaxData=e,B(r,null,"preXhr",[r,e,l],!0),"function"==typeof i?r.jqXHR=i.call(o,e,t,r):i&&"string"!=typeof i&&""===i.url?(Mt(r,o={},[]),t(o)):r.jqXHR=k.ajax(l),a&&(i.data=a)}function Et(s){function r(e,t){return"function"==typeof a[e][t]?"function":a[e][t]}var n,a,e,i,o;s.drawCount++,w(s,!0),It(s,(a=(n=s).columns,e=n.features,i=n.searches,o=n.searchesFixed,{draw:n.drawCount,columns:a.map(function(e,t){return{data:r(t,"data"),name:e.name,searchable:e.searchable,orderable:e.orderable,search:{value:i[t]?Lt(i[t].search):"",regex:!!i[t]&&i[t].regex,fixed:o[t]?Object.keys(o[t]).map(e=>({name:e,term:Lt(o[t][e].search)})):[]}}}),order:_t(n).map(function(e){return{column:e.col,dir:e.dir,name:r(e.col,"name")}}),start:n.displayStart,length:e.paging?n.pageLength:-1,search:{value:Lt(i["*"].search),regex:i["*"].regex,fixed:Object.keys(n.searchesFixed["*"]).map(e=>({name:e,term:Lt(n.searchesFixed["*"][e].search)})),groups:Object.keys(n.searches).filter(e=>e.includes(",")).map(e=>({columns:n.searches[e].columns||[],term:Lt(n.searches[e].search)})),groupsFixed:Object.keys(n.searchesFixed).filter(e=>e.includes(",")).map(e=>{let t=n.searchesFixed[e];return Object.keys(t).map(e=>({columns:t[e].columns||[],name:e,term:Lt(t[e].search)}))}).flat()}}),function(e){var t=s,r=Mt(t,e=e,!1),n=kt(t,"draw",e),a=kt(t,"recordsTotal",e),e=kt(t,"recordsFiltered",e),i=t.columns.map(e=>e.type).join(",");if(void 0!==n){if(+n<t.drawCount)return;t.drawCount=+n}r=r||[],lt(t),t.recordsTotal=parseInt(a,10),t.recordsDisplay=parseInt(e,10);for(var o=0,l=r.length;o<l;o++)c(t,r[o]);t.display=t.displayMaster.slice(),Lr(t,i),Vt(t,!0),Rt(t),w(t,!1)})}function Lt(e){return"function"==typeof e?"function":e.toString()}function Mt(e,t,r){var n="data";if(k.is.plainObject(e.ajax)&&void 0!==e.ajax.dataSrc&&("string"==typeof(e=e.ajax.dataSrc)||"function"==typeof e?n=e:void 0!==e.data&&(n=e.data)),!r)return"data"===n?t.aaData||t[n]:""!==n?k.get(n)(t):t;k.set(n)(t,r)}function kt(e,t,r){var e=k.is.plainObject(e.ajax)?e.ajax.dataSrc:null;return e&&e[t]?k.data.get(e[t])(r):(e="","draw"===t?e="sEcho":"recordsTotal"===t?e="iTotalRecords":"recordsFiltered"===t&&(e="iTotalDisplayRecords"),void 0!==r[e]?r[e]:r[t])}let Ft,Ht;function Pt(s){if(s.columns,"ssp"!=U(s)){{var c=s;let t=c.columns,r=c.data,n,a,i,o,l=!1;Ft||(Ft=F.c("div").get(0),Ht=void 0!==Ft.textContent);for(let e=0;e<r.length;e++)if(r[e]&&(o=r[e])&&!o.searchCellCache){var d=[];for(n=0,a=t.length;n<a;n++)t[n].searchable?"string"!=typeof(i=null===(i=H(c,e,n,"filter"))?"":i)&&i.toString&&(i=i.toString()):i="",i.indexOf&&-1!==i.indexOf("&")&&(Ft.innerHTML=i,i=Ht?Ft.textContent:Ft.innerText),i.replace&&(i=i.replace(/[\r\n\u2028]/g,"")),d.push(i);o.searchCellCache=d,o.searchRowCache=d.join(" "),l=!0}l}s.display=s.displayMaster.slice(),k.object.each(s.searches,(e,t)=>{qt(s.display,s,t.search,t)}),k.object.each(s.searchesFixed,function(e){k.object.each(s.searchesFixed[e],function(e,t){qt(s.display,s,t.search,t)})});var n,a,i=s,o=X.search,l=i.display;for(let r=0,e=o.length;r<e;r++){var u=[];for(let e=0,t=l.length;e<t;e++)a=l[e],(n=i.data[a])&&o[r](i,n.searchCellCache,a,n.data,e)&&u.push(a);l.length=0,nr(l,u)}}s.wasFiltered=!0,B(s,null,"search",[s])}function qt(t,r,n,a){if(""!==n){let e=0;var i=[],o="function"==typeof n?n:null,l=n instanceof RegExp?n:o?null:((e,t)=>{let n=[],r=Object.assign({},{boundary:!1,caseInsensitive:!0,exact:!1,regex:!1,smart:!0},t),a="string"!=typeof e?e.toString():e;var i;return a=k.diacritics(a),r.exact?new RegExp("^"+k.escapeRegex(a)+"$",r.caseInsensitive?"i":""):(a=r.regex?a:k.escapeRegex(a),r.smart&&(t=(a.match(/!?["\u201C][^"\u201D]+["\u201D]|[^ ]+/g)||[""]).map(function(e){let t=!1,r;return"!"===e.charAt(0)&&(t=!0,e=e.substring(1)),'"'===e.charAt(0)?e=(r=e.match(/^"(.*)"$/))?r[1]:e:"“"===e.charAt(0)&&(e=(r=e.match(/^\u201C(.*)\u201D$/))?r[1]:e),t&&(1<e.length&&n.push("(?!"+e+")"),e=""),e.replace(/"/g,"")}),e=n.length?n.join(""):"",i=r.boundary?"\\b":"",a="^(?=.*?"+i+t.join(")(?=.*?"+i)+")("+e+".)*$"),new RegExp(a,r.caseInsensitive?"i":""))})(n,a),s=a.columns||k.array.range(r.columns.length);for(e=0;e<t.length;e++){var c,d=r.data[t[e]];d&&(c=k.array.selectiveJoin(d.searchCellCache,s),o&&o(c,d.data,t[e],1===s.length?s[0]:s)||l&&"string"==typeof c&&l.test(c))&&i.push(t[e])}for(t.length=i.length,e=0;e<i.length;e++)t[e]=i[e]}}function Wt(e,t,r=null){var n=e.data[t],a=e.columns;if(!n)return[];n.displayData||(n.displayData=[]);var i=n.displayData;if(!i._complete)if(null!==r)i[r]||(i[r]=H(e,t,r,"display"));else for(var o=0,l=a.length;o<l;o++)i[o]||(i[o]=H(e,t,o,"display"),i._complete=!0);return null!==r?i[r]:i}function zt(e,t,r,n){var a,i,o,l,s,c=e.data[t],d=[],u=e.classes.tbody.row,f=M("doc");if(c&&null===c.tr){var p=c.data,h=r||f.createElement("tr");for(c.tr=h,c.cells=d,F.s(h).classAdd(u),h._DT_RowIndex=t,Bt(e,c),o=0,l=e.columns.length;o<l;o++){i=e.columns[o],(a=(s=!(r&&n&&n[o]))?f.createElement(i.cellType):n[o])||q(e,0,"Incorrect column count",18),a._DT_CellIndex={row:t,column:o},d.push(a);var g=Wt(e,t);(s||(i.render||i.data!==o)&&(!k.is.plainObject(i.data)||i.data&&i.data._!==o+".display"))&&it(a,g[o]),F.s(a).classAdd(i.className),i.visible&&s?h.appendChild(a):i.visible||s||a.parentNode.removeChild(a),i.createdCell&&i.createdCell.call(e.instance,a,H(e,t,o),p,t,o)}B(e,"rowCreated","row-created",[h,p,t,d])}else c&&F.s(c.tr).classAdd(u)}function Bt(e,t){var r=t.tr,n=t.data;r&&((e=e.rowIdFn(n))&&(r.id=e),n.DT_RowClass&&(e=n.DT_RowClass.split(" "),t.addedClasses=t.addedClasses?k.unique(t.addedClasses.concat(e)):e,F.s(r).classRemove(t.addedClasses.join(" ")).classAdd(n.DT_RowClass)),n.DT_RowAttr&&F.s(r).attr(n.DT_RowAttr),n.DT_RowData)&&F.s(r).data(n.DT_RowData)}function Ut(t,r){let n=t.classes;var e=t.columns;let a,i,o;var l=F.s("header"===r?t.thead:t.tfoot),s="header"===r?"title":r;if(l){if(("header"===r||k.array.pluck(t.columns,s).join(""))&&1===(o=(o=l.find("tr")).count()?o:F.c("tr").appendTo(l)).count()){let t=0;for(o.find("td, th").each(e=>{t+=e.colSpan}),a=t,i=e.length;a<i;a++)F.c("th").html(e[a][s]||"").appendTo(o)}var c=Yt(t,l.get(0),!0);"header"===r?(t.header=c,l.find("tr").classAdd(n.thead.row)):(t.footer=c,l.find("tr").classAdd(n.tfoot.row)),l.children("tr").children("th, td").each(e=>{ft(t,"header"===r?"header":"footer")(t,F.s(e),n)})}}function Xt(e,t,r){var n,a,i,o,l,s=[],c=[],d=e.columns,e=d.length;if(t){for(r=r||k.array.range(e).filter(function(e){return d[e].visible}),n=0;n<t.length;n++)s[n]=t[n].slice().filter(function(e,t){return r.includes(t)}),c.push([]);for(n=0;n<s.length;n++)for(a=0;a<s[n].length;a++)if(l=o=1,void 0===c[n][a]){for(i=s[n][a].cell;void 0!==s[n+o]&&s[n][a].cell==s[n+o][a].cell;)c[n+o][a]=null,o++;for(;void 0!==s[n][a+l]&&s[n][a].cell==s[n][a+l].cell;){for(var u=0;u<o;u++)c[n+u][a+l]=null;l++}var f=F.s(i).find(".dt-column-title");c[n][a]={cell:i,colspan:l,rowspan:o,title:(f.count()?f:F.s(i)).html()}}return c}}function $t(e,r){var n,a=Xt(e,r);if(a)for(let t=0;t<r.length;t++){(n=r[t].row)&&F.s(n).detachChildren();for(let e=0;e<a[t].length;e++){var i=a[t][e];i&&F.s(i.cell).appendTo(n).attr("rowspan",i.rowspan).attr("colspan",i.colspan)}}}function Vt(e,t){if(a="ssp"==U(l=e),void 0!==(o=l.displayStartInit)&&-1!==o&&(l.displayStart=!a&&o>=Qt(l)?0:o,l.displayStartInit=-1),-1!==B(e,"preDraw","preDraw",[e]).indexOf(!1))w(e,!1);else{var r=[],n=0,a="ssp"==U(e),i=e.display,o=e.displayStart,l=Kt(e),s=e.columns,c=F.s(e.tbody);if(e.doingDraw=!0,e.deferLoading)e.deferLoading=!1,e.drawCount++,w(e,!1);else if(a){if(!e.destroying&&!t)return 0===e.drawCount&&c.empty().append(Gt(e)),void Et(e)}else e.drawCount++;if(0!==i.length)for(var d=a?e.data.length:l,u=a?0:o;u<d;u++){var f=i[u],p=e.data[f];if(null!==p){null===p.tr&&zt(e,f);for(var h=p.tr,g=0;g<s.length;g++){var m=s[g],v=p.cells[g];F.s(v).classAdd(m.type?X.type.className[m.type]:null).classAdd(e.classes.tbody.cell)}B(e,"row",null,[h,p.data,n,u,f]),r.push(h),n++}}else r[0]=Gt(e);B(e,"header","header",[F.s(e.thead).children("tr").get(0),ot(e),o,l,i]),B(e,"footer","footer",[F.s(e.tfoot).children("tr").get(0),ot(e),o,l,i]),c.detachChildren().append(r),F.s(e.tableWrapper).classToggle("dt-empty-footer",0===F.s(e.tfoot).find("tr").count()),B(e,"draw","draw",[e],!0),e.wasOrdered=!1,e.wasFiltered=!1,e.doingDraw=!1}}function Jt(e,t,r){var n=e.features,a=n.ordering,n=n.searching;void 0!==r&&!0!==r||(Lr(e),(r=e).columns.map(e=>e.wideStrings).includes(null)&&pt(r),a&&At(e),n?Pt(e):e.display=e.displayMaster.slice()),!0!==t?e.displayStart=0:tr(e),e.drawHold=t,Vt(e),e.api.one("draw",function(){e.drawHold=!1})}function Gt(e){var t=e.language;let r=t.zeroRecords;var n=U(e);return"ssp"!==n&&"ajax"!==n||e.json?t.emptyTable&&0===Zt(e)&&(r=t.emptyTable):r=t.loadingRecords,F.c("tr").append(F.c("td").attr("colSpan",Rr(e)).classAdd(e.classes.empty.row).html(r)).get(0)}function Yt(t,e,r){var n=t.columns,a=F.s(e).children("tr");let i,o,l,s,c,d,u,f,p;var h,g=t.titleRow,m=e&&"thead"===e.nodeName.toLowerCase(),v=[];for(l=0,d=a.count();l<d;l++)v.push([]);for(l=0,d=a.count();l<d;l++)for(i=a.get(l),o=i.firstChild;o;){if("TD"==o.nodeName.toUpperCase()||"TH"==o.nodeName.toUpperCase()){var y=F.s(o),b=[];if(f=(f=parseInt(y.attr("colspan")||"1")||1)&&0!==f&&1!==f?f:1,p=(p=parseInt(y.attr("rowspan")||"1")||1)&&0!==p&&1!==p?p:1,u=((e,t,r)=>{for(var n=e[t];n[r];)r++;return r})(v,l,0),h=1===f,r){if(h){Cr(t,u,ir(y.data()));var w=n[u];let e=y.attr("width")||null;var x=y.get(0).style.width.match(/width:\s*(\d+[pxem%]+)/);x&&(e=x[1]),w.widthOrig=w.width||e,m?(null===w.title||w.autoTitle||(!0===g&&0===l||!1===g&&l===a.count()-1||g===l||null===g)&&y.html(w.title),!w.title&&h&&(w.title=k.string.stripHtml(y.html()),w.autoTitle=!0)):w.footer&&y.html(w.footer),w.ariaTitle||(w.ariaTitle=y.attr("aria-label")||w.title),w.className&&y.classAdd(w.className)}0===y.find("div.dt-column-title").count()&&F.c("div").classAdd("dt-column-title").append(Array.from(y.get(0).childNodes)).appendTo(y),t.orderIndicators&&m&&0!==y.filter(":not([data-dt-order=disable])").count()&&0!==y.parent(":not([data-dt-order=disable])").count()&&0===y.find("div.dt-column-order").count()&&F.c("div").classAdd("dt-column-order").appendTo(y);x=m?"header":"footer";0===y.find("div.dt-column-"+x).count()&&F.c("div").classAdd("dt-column-"+x).append(Array.from(y.get(0).childNodes)).appendTo(y)}for(c=0;c<f;c++){for(s=0;s<p;s++)v[l+s][u+c]={cell:y.get(0),unique:h},v[l+s].row=i;b.push(u+c)}y.attr("data-dt-column",k.unique(b).join(","))}o=o.nextSibling}return v}function Zt(e){return"ssp"==U(e)?+e.recordsTotal:e.displayMaster.length}function Qt(e){return"ssp"==U(e)?+e.recordsDisplay:e.display.length}function Kt(e){var t=e.pageLength,r=e.displayStart,n=r+t,a=e.display.length,i=e.features,o=i.paging;return i.serverSide?!1===o||-1===t?r+a:Math.min(r+t,e.recordsDisplay):!o||a<n||-1===t?a:n}function q(e,t,r,n){r="DataTables warning: "+(e?"table id="+e.tableId+" - ":"")+r,n&&(r+=". For more information about this error, please see https://datatables.net/tn/"+n);var a=X.sErrMode||X.errMode;if(e&&B(e,null,"dt-error",[e,n,r],!0),"alert"==a)alert(r);else{if("throw"==a)throw new Error(r);"function"==typeof a&&a(e,n,r)}}function W(t,r,n,e){if(Array.isArray(n))for(let e=0;e<n.length;e++){var a=n[e];Array.isArray(a)?W(t,r,a[0],a[1]):W(t,r,a)}else void 0===e&&(e=n),void 0!==r[n]&&(t[e]=r[n])}function er(e,t,r){F.s(e).on("click.DT",t,function(e){r(e)}).on("keypress.DT",t,function(e){13===e.which&&(e.preventDefault(),r(e))}).on("selectstart.DT",t,function(){return!1})}function z(e,t,r){r&&e.callbacks[t].push(r)}function B(t,e,r,n,a=!1){var i,o=[];return e&&(o=t.callbacks[e].slice().reverse().map(function(e){return e.apply(t.instance,n)})),null!==r&&(a&&F.trigger(r+".dt",n,{dt:t.api}),i=(e=F.s(t.table)).trigger(r+".dt",a,n,{dt:t.api}),a&&0===e.closest("body").count()&&F.s("body").trigger(r+".dt",a,n,{dt:t.api}),o.push(i[0])),o}function tr(e){var t=e.displayStart,r=Kt(e),n=e.pageLength;r<=t&&(t=r-n),t-=t%n,e.displayStart=t=-1===n||t<0?0:t}function U(e){return e.features.serverSide?"ssp":e.ajax?"ajax":"dom"}function rr(e,t,r){var n=e.formatNumber,a=e.displayStart+1,i=e.pageLength,o=Qt(e),l=Zt(e),s=-1===i;return t.replace(/_START_/g,n(a,e)).replace(/_END_/g,n(Kt(e),e)).replace(/_MAX_/g,n(l,e)).replace(/_TOTAL_/g,n(o,e)).replace(/_PAGE_/g,n(s?1:Math.ceil(a/i),e)).replace(/_PAGES_/g,n(s?1:Math.ceil(o/i),e)).replace(/_ENTRIES_/g,e.api.i18n("entries","",r)).replace(/_ENTRIES-MAX_/g,e.api.i18n("entries","",l)).replace(/_ENTRIES-TOTAL_/g,e.api.i18n("entries","",o))}function nr(e,t){if(t)if(t.length<1e4)e.push.apply(e,t);else for(var r=0;r<t.length;r++)e.push(t[r])}function ar(e,t,r){for(var n=Array.isArray(r)?r:[r],a=0;a<n.length;a++)e.on(t+".dt.DT",n[a])}function ir(r){return X.escape.attributes&&d(r,function(e,t){r[e]=L(t)}),r}let g={className:{},detect:[],render:{},search:{},order:{}};function or(t){return function(e){return k.is.empty(e)||"string"!=typeof e||(e=e.replace(k.regex.reNewLines," "),t&&(e=k.stripHtml(e)),e=k.diacritics(e,!1)),e}}function lr(e,t,r,n){return 0===e||e&&"-"!==e?"number"==typeof e||"bigint"==typeof e?e:+(e="string"==typeof(e=t?k.conv.numToDecimal(e,t):e)&&(r&&(e=e.replace(r,"")),n)?e.replace(n,""):e):-1/0}function t(r,e,t){if(!e)return{className:g.className[r],detect:g.detect.find(function(e){return e._name===r}),order:{pre:g.order[r+"-pre"],asc:g.order[r+"-asc"],desc:g.order[r+"-desc"]},render:g.render[r],search:g.search[r]};function n(e,t){g[e][r]=t}function a(e){Object.defineProperty(e,"_name",{value:r});var t=g.detect.findIndex(function(e){return e._name===r});-1===t?g.detect.unshift(e):g.detect.splice(t,1,e)}function i(e){g.order[r+"-pre"]=e.pre,g.order[r+"-asc"]=e.asc,g.order[r+"-desc"]=e.desc}void 0===t&&(t=e,e=void 0),"className"===e?n("className",t):"detect"===e?a(t):"order"===e?i(t):"render"===e?n("render",t):"search"===e?n("search",t):e||(t.className&&n("className",t.className),void 0!==t.detect&&a(t.detect),t.order&&i(t.order),void 0!==t.render&&n("render",t.render),void 0!==t.search&&n("search",t.search))}function sr(e,t){return e=null!=e?e.toString().toLowerCase():"",t=null!=t?t.toString().toLowerCase():"",e.localeCompare(t,navigator.languages[0]||navigator.language,{numeric:!0,ignorePunctuation:!0})}function cr(e,t){return e=k.stripHtml(e),t=k.stripHtml(t),sr(e,t)}function dr(e,t,r,n,a){return fr?e[t](a):ur?e[r](a):n?e[n](a):e}t("string",{detect:function(){return"string"},order:{pre:function(e){return k.is.empty(e)&&"boolean"!=typeof e?"":"string"==typeof e?e.toLowerCase():e.toString?e.toString():""}},search:or(!1)}),t("string-utf8",{detect:{allOf:function(){return!0},oneOf:function(e){return!k.is.empty(e)&&navigator.languages&&"string"==typeof e&&!!e.match(/[^\x00-\x7F]/)}},order:{asc:sr,desc:function(e,t){return-1*sr(e,t)}},search:or(!1)}),t("html",{detect:{allOf:function(e){return k.is.empty(e)||"string"==typeof e&&-1!==e.indexOf("<")},oneOf:function(e){return!k.is.empty(e)&&"string"==typeof e&&-1!==e.indexOf("<")}},order:{pre:function(e){return k.is.empty(e)?"":e.replace?k.stripHtml(e).trim().toLowerCase():e+""}},search:or(!0)}),t("html-utf8",{detect:{allOf:function(e){return k.is.empty(e)||"string"==typeof e&&-1!==e.indexOf("<")},oneOf:function(e){return navigator.languages&&!k.is.empty(e)&&"string"==typeof e&&-1!==e.indexOf("<")&&"string"==typeof e&&!!e.match(/[^\x00-\x7F]/)}},order:{asc:cr,desc:function(e,t){return-1*cr(e,t)}},search:or(!0)}),t("date",{className:"dt-type-date",detect:{allOf:function(e){var t;return!e||e instanceof Date||k.regex.reDate.test(e)?null!==(t=Date.parse(e))&&!isNaN(t)||k.is.empty(e):null},oneOf:function(e){return e instanceof Date||"string"==typeof e&&k.regex.reDate.test(e)}},order:{pre:function(e){e=Date.parse(e);return isNaN(e)?-1/0:e}}}),t("html-num-fmt",{className:"dt-type-numeric",detect:{allOf:function(e,t){t=t.language.decimal;return k.is.htmlNum(e,t,!0,!1)},oneOf:function(e,t){t=t.language.decimal;return k.is.htmlNum(e,t,!0,!1)}},order:{pre:function(e,t){return lr(e,t.language.decimal,k.regex.reHtml,k.regex.reFormattedNumeric)}},search:or(!0)}),t("html-num",{className:"dt-type-numeric",detect:{allOf:function(e,t){t=t.language.decimal;return k.is.htmlNum(e,t,!1,!0)},oneOf:function(e,t){t=t.language.decimal;return k.is.htmlNum(e,t,!1,!1)}},order:{pre:function(e,t){return lr(e,t.language.decimal,k.regex.reHtml)}},search:or(!0)}),t("num-fmt",{className:"dt-type-numeric",detect:{allOf:function(e,t){t=t.language.decimal;return k.is.num(e,t,!0,!0)},oneOf:function(e,t){t=t.language.decimal;return k.is.num(e,t,!0,!1)}},order:{pre:function(e,t){return lr(e,t.language.decimal,k.regex.reFormattedNumeric)}}}),t("num",{className:"dt-type-numeric",detect:{allOf:function(e,t){t=t.language.decimal;return k.is.num(e,t,!1,!0)},oneOf:function(e,t){t=t.language.decimal;return k.is.num(e,t,!1,!1)}},order:{pre:function(e,t){return lr(e,t.language.decimal)}}});var ur,fr,pr,hr,gr=!1;function mr(e,t,r){var n;if(ur=k.external("luxon"),fr=k.external("moment")){if(!(n=fr(e,t,r,!0)).isValid())return null}else if(ur){if(!(n=t&&"string"==typeof e?ur.DateTime.fromFormat(e,t):ur.DateTime.fromISO(e)).isValid)return null;n=n.setLocale(r)}else t?(gr||alert("DataTables warning: Formatted date without Moment.js or Luxon - https://datatables.net/tn/17"),gr=!0):n=new Date(e);return n}function vr(c){return function(a,i,o,l){0===arguments.length?(o="en",a=i=null):1===arguments.length?(o="en",i=a,a=null):2===arguments.length&&(o=i,i=a,a=null);var s="datetime"+(i?"-"+i:"");return g.order[s+"-pre"]||t(s,{detect:function(e){return e===s&&s},order:{pre:function(e){return e.valueOf()}}}),g.className[s]||(g.className[s]="dt-right"),function(e,t){var r,n;return null==e&&(e="--now"===l?(r=new Date,new Date(Date.UTC(r.getFullYear(),r.getMonth(),r.getDate(),r.getHours(),r.getMinutes(),r.getSeconds()))):""),"type"===t?s:""===e?"sort"!==t?"":mr("0000-01-01 00:00:00",null,o):!(null===i||a!==i||"sort"===t||"type"===t||e instanceof Date)||(r={},(n="string"==typeof e?e.match(k.regex.isoTimezone):null)&&(r.timeZone="Z"===n[1]?"UTC":n[1]),null===(n=mr(e,a,o)))?e:"sort"===t?n:(e=null===i?dr(n,"toDate","toJSDate","")[c](navigator.language,r):dr(n,"format","toFormat","toISOString",i),"display"===t?k.escapeHtml(e):e)}}}var yr={date:vr("toLocaleDateString"),datetime:vr("toLocaleString"),time:vr("toLocaleTimeString"),number:function(a,i,o,l,s){if(!pr&&!hr){var e=x.use("win");if(pr=",",hr=".",void 0!==e.Intl)try{for(var t=(new Intl.NumberFormat).formatToParts(100000.1),r=0;r<t.length;r++)"group"===t[r].type?pr=t[r].value:"decimal"===t[r].type&&(hr=t[r].value)}catch(e){}}return null==a&&(a=pr),null==i&&(i=hr),{display:function(e){var t,r,n;return"number"!=typeof e&&"string"!=typeof e||""===e||null===e?e:(t=(n="number"==typeof e?e:parseFloat(e))<0?"-":"",1e11<=(r=Math.abs(n))||r<1e-4&&0!==r?(r=n.toExponential(o).split(/e\+?/))[0]+" x 10<sup>"+r[1]+"</sup>":isNaN(n)?k.escapeHtml(e):(n=n.toFixed(o),r=Math.abs(n),e=Math.abs(parseInt(n,10)),n=o?i+(r-e).toFixed(o).substring(2):"",(t=0===e&&0===parseFloat(n)?"":t)+(l||"")+e.toString().replace(/\B(?=(\d{3})+(?!\d))/g,a)+n+(s||"")))}}},text:function(){return{display:k.escapeHtml,filter:k.escapeHtml}}};let br={ariaTitle:"",cellType:"td",className:"",contentPadding:"",createdCell:null,data:null,defaultContent:null,footer:null,name:"",orderable:!0,orderData:null,orderDataType:"std",orderSequence:["asc","desc",""],render:null,search:null,searchable:!0,title:null,type:null,visible:!0,width:null,widthCalc:"all"};class wr{constructor(){this.attrSrc=!1,this.ariaTitle="",this.className=null,this.contentPadding=null,this.data=null,this.defaultContent=null,this.name=null,this.orderData=[],this.orderDataType="std",this.orderingClass=null,this.orderSequence=[],this.render=null,this.title=null,this.typeManual=null,this.wideStrings=null,this.width=null,this.widthCalc="all",this.widthOrig=null}}let xr={barWidth:-1,scrollbarLeft:!1},Tr=/^(a|aa|ai|ao|as|b|fn|i|m|o|s)([A-Z])([a-z].*$)/;function _r(t){if(t){var r=Object.keys(t),n=t;for(let e=0;e<r.length;e++){var a=r[e],i=a.match(Tr);i&&(t[i[2].toLowerCase()+i[3]]=n[a]),k.is.plainObject(n[a])&&_r(n[a])}}return t}function s(e,t,r){void 0!==e[r]&&(e[t]=e[r])}function Ar(e,t=!1){_r(e),s(e,"ordering","sort"),s(e,"orderMulti","sortMulti"),s(e,"orderClasses","sortClasses"),s(e,"orderCellsTop","sortCellsTop"),s(e,"order","sorting"),s(e,"orderFixed","sortingFixed"),s(e,"paging","paginate"),s(e,"pagingType","paginationType"),s(e,"pageLength","displayLength"),s(e,"searching","filter"),s(e,"stateDuration","cookieDuration"),"boolean"==typeof e.scrollX&&(e.scrollX=e.scrollX?"100%":""),"object"==typeof e.ordering?(e.orderIndicators=void 0===e.ordering.indicators||e.ordering.indicators,e.orderHandler=void 0===e.ordering.handler||e.ordering.handler,t||(e.ordering=!0)):!1===e.ordering?(e.orderIndicators=!1,e.orderHandler=!1):!0===e.ordering&&(e.orderIndicators=!0,e.orderHandler=!0),"boolean"==typeof e.orderCellsTop&&(e.titleRow=e.orderCellsTop);var r=e.searchCols;if(r)for(var n=0,a=r.length;n<a;n++)r[n]&&_r(r[n]);e.serverSide&&!e.searchDelay&&(e.searchDelay=400),e.language&&e.language.url&&!e.language.ajax&&(e.language.ajax=e.language.url)}function Dr(e){_r(e),s(e,"orderable","sortable"),s(e,"orderData","dataSort"),s(e,"orderSequence","sorting"),s(e,"orderDataType","sortDataType"),s(e,"className","class");var t=e.aDataSort,r=e.orderData;"number"==typeof t&&(e.orderData=[t]),"number"==typeof r&&(e.orderData=[r]),void 0===e.dataProp||e.data||(e.data=e.dataProp)}function jr(e){var t=e.columns.length,r=k.object.assign({},new wr,br,{orderData:br.orderData||[t],data:br.data||t,idx:t,searchFixed:{},colEl:F.c("col").attr("data-dt-column",t)}),r=(e.columns.push(r),e.searchCols);e.searches[t]=P(r[t]?_r(r[t]):{}),e.searches[t].columns=[t]}function Cr(e,t,r){function n(e){return"string"==typeof e&&-1!==e.indexOf("@")}var a,i=e.columns[t],o=(null!=r&&(Dr(r),r.type&&(i.typeManual=r.type),r.className&&!r.className&&(r.className=r.className),a=i.className,k.object.assign(i,r),W(i,r,"width","widthOrig"),a!==i.className&&(i.className=a+" "+i.className),W(i,r,"orderData"),r.search)&&k.object.assign(e.searches[t],r.search),i.data),l=k.get(o);i.render&&Array.isArray(i.render)&&(t=(a=i.render.slice()).shift(),i.render=yr[t].apply(A,a)),i.renderer=i.render?k.get(i.render):null;i.attrSrc=!!o&&k.is.plainObject(o)&&(n(o.sort)||n(o.type)||n(o.filter)),i.setter=null,i.dataGet=function(e,t,r){var n=l(e,t,void 0,r);return i.renderer&&t?i.renderer(n,t,e,r):n},i.dataSet=function(e,t,r){return k.set(o)(e,t,r)},"number"==typeof o||i._isArrayHost||(e.rowReadObject=!0),e.features.ordering||(i.orderable=!1)}function Or(e){pt(e);var t=e,r=t.columns;for(let e=0;e<r.length;e++){var n=kr(t,[e],!1);n&&(r[e].colEl.css("width",n),t.scroll.x)&&r[e].colEl.css("min-width",n)}var a=e.scroll;""===a.y&&""===a.x||vt(e),B(e,null,"column-sizing",[e])}function Sr(e,t){e=Ir(e,"visible");return"number"==typeof e[t]?e[t]:null}function Nr(e,t){e=Ir(e,"visible").indexOf(t);return-1!==e?e:null}function Rr(e){var r=e.header,n=e.columns;let a=0;if(r.length)for(let e=0,t=r[0].length;e<t;e++)n[e].visible&&"none"!==F.s(r[0][e].cell).css("display")&&a++;return a}function Ir(e,r){let n=[];return e.columns.map(function(e,t){e[r]&&n.push(t)}),n}function Er(e,t){return!0===t?e._name:t}function Lr(a,e=""){var i,t,o,r,l,s,c,d,u,n=a.columns,f=a.data,p=X.type.detect;for(e=e||n.map(e=>e.type).join(","),i=0,t=n.length;i<t;i++){if(u=[],!(c=n[i]).type&&c.typeManual)c.type=c.typeManual;else if(!c.type){if(!a.typeDetect)return;for(o=0,r=p.length;o<r;o++){var h=p[o];let e,t,r,n=!1;if("function"==typeof h?t=h:(e=h.oneOf,t=h.allOf,r=h.init),d=null,r&&(d=Er(h,r(a,c,i)))){c.type=d;break}for(l=0,s=f.length;l<s;l++)if(f[l]){if(void 0===u[l]&&(u[l]=H(a,l,i,"type")),e&&!n&&(n=Er(h,e(u[l],a))),!(d=Er(h,t(u[l],a)))&&o!==p.length-3)break;if("html"===d&&!k.is.empty(u[l]))break}if(e&&n&&d||!e&&d){c.type=d;break}}c.type||(c.type="string")}var g=X.type.className[c.type],g=(g&&(Mr(a.header,i,g),Mr(a.footer,i,g)),X.type.render[c.type]);if(g&&!c.renderer){c.renderer=k.get(g),b=w=y=v=m=void 0;var m=a,v=i,y=m.data;for(let e=0;e<y.length;e++){var b,w=y[e];w&&w.tr&&(b=H(m,e,v,"display"),w.displayData[v]=b,it(w.cells[v],b))}}}n.map(e=>e.type).join(",")!==e&&B(a,null,"columnTypes",[a],!1)}function Mr(e,t,r){e.forEach(function(e){e[t]&&e[t].unique&&F.s(e[t].cell).classAdd(r)})}function kr(e,r,n){Array.isArray(r)||(r=Fr(r));let a=0,i="px";var o=e.columns;for(let e=0,t=r.length;e<t;e++){var l=o[r[e]],s=n?l.widthOrig:l.width;if(!1!==l.visible){if(null==s)return null;"number"==typeof s?a+=s:(l=s.match(/([\d\.]+)([^\d]*)/))&&(a+=parseFloat(l[1]),i=3===l.length?l[2]:"px")}}return a+i}function Fr(e){e=F.s(e).closest("[data-dt-column]").attr("data-dt-column");return e?e.split(",").map(function(e){return parseInt(e)}):[]}function Hr(e,t=null,r=null){for(var n=[],a=[],i=0;i<e.length;i++)if(null===t||t===i)for(var o=0;o<e[i].length;o++){var l=e[i][o].cell;null!==r&&r!==o||a.includes(l)||(a.push(l),n.push({cell:l,row:e[i].row}))}return n}function Pr(e,t){let r=[];var n=e.titleRow;let a=(r=!0===n?Hr(e.header,0):!1===n?Hr(e.header,e.header.length-1):null!==n?Hr(e.header,n):Hr(e.header)).map(e=>e.cell),i=r.map(e=>e.row);return F.s(a).filter("th"+t+", td"+t).filter(e=>{e=a.indexOf(e);return!(0<=e)||0!==F.s(i[e]).filter(t).length})}function qr(e,t){e.start&&t("start",e.start),e.end&&t("end",e.end),e.full&&t("full",e.full)}let X={builder:"-source-",buttons:{},ccContent:{},classes:{container:"dt-container",empty:{row:"dt-empty"},info:{container:"dt-info"},layout:{row:"dt-layout-row",cell:"dt-layout-cell",tableRow:"dt-layout-table",tableCell:"",start:"dt-layout-start",end:"dt-layout-end",full:"dt-layout-full"},length:{container:"dt-length",select:"dt-input"},order:{canAsc:"dt-orderable-asc",canDesc:"dt-orderable-desc",isAsc:"dt-ordering-asc",isDesc:"dt-ordering-desc",none:"dt-orderable-none",position:"sorting_"},processing:{container:"dt-processing"},scrolling:{body:"dt-scroll-body",container:"dt-scroll",footer:{self:"dt-scroll-foot",inner:"dt-scroll-footInner"},header:{self:"dt-scroll-head",inner:"dt-scroll-headInner"}},search:{container:"dt-search",input:"dt-input"},table:"dataTable",tbody:{cell:"",row:""},thead:{cell:"",row:""},tfoot:{cell:"",row:""},paging:{active:"current",button:"dt-paging-button",container:"dt-paging",disabled:"disabled",nav:""}},errMode:"alert",escape:{attributes:!1},feature:Qe,features:Ze,search:[],selector:{cell:[],column:[],row:[]},settings:[],legacy:{ajax:null},pager:tt,renderer:{footer:{_:(e,t,r)=>{t.classAdd(r.tfoot.cell)}},header:{_:(g,m,v)=>{m.classAdd(v.thead.cell),g.features.ordering||m.classAdd(v.order.none),Pr(g,':not([data-dt-order="disable"])').get().includes(m[0])&&F.s(g.table).on("order.dt.DT column-visibility.dt.DT",function(e,t,r){if(g===t){var n=t.sortDetails;if(n){var a=b(n,"col");if("column-visibility"!==e.type||a.includes(r)){for(var e=v.order,r=t.api.columns(m),i=g.columns[r.flatten()[0]],o=r.orderable().includes(!0),l="",s=r.indexes(),c=r.orderable(!0).flatten(),d=g.tabIndex,u=t.orderHandler&&o,f=(m.classRemove(e.isAsc+" "+e.isDesc).classToggle(e.none,!o).classToggle(e.canAsc,u&&c.includes("asc")).classToggle(e.canDesc,u&&c.includes("desc")),!0),p=0;p<s.length;p++)a.includes(s[p])||(f=!1);f&&(u=r.order(),m.classAdd((u.includes("asc")?e.isAsc:"")+(u.includes("desc")?e.isDesc:"")));var h=-1;for(p=0;p<a.length;p++)if(g.columns[a[p]].visible){h=a[p];break}s[0]==h?(c=n[0],r=i.orderSequence,m.attr("aria-sort","asc"===c.dir?"ascending":"descending"),l=r&&!r[c.index+1]?"Remove":"Reverse"):m.attrRemove("aria-sort"),o&&((u=m.find(".dt-column-order")).attr("role","button").attr("aria-label",o?i.ariaTitle+t.api.i18n("aria.orderable"+l):i.ariaTitle),-1!==d)&&u.attr("tabindex",d)}}}})}},layout:{_:(e,t,r)=>{let n=e.classes.layout,a=F.c("div").attr("id",r.id||null).classAdd(r.className||n.row).appendTo(t);qr(r,function(e,t){var r="";t.table&&(a.classAdd(n.tableRow),r+=n.tableCell+" "),r+="start"===e?n.start:"end"===e?n.end:n.full,F.c("div").attr({id:t.id||null,class:t.className||n.cell+" "+r}).append(t.contents).appendTo(a)})}},pagingButton:{_:(e,t,r,n,a)=>{var e=e.classes.paging,i=[e.button];return n&&i.push(e.active),a&&i.push(e.disabled),{display:n=("ellipsis"===t?F.c("span").classAdd("ellipsis"):F.c("button").classAdd(i.join(" ")).attr("role","link").attr("type","button")).html(r).get(0),clicker:n}}},pagingContainer:{_:(e,t)=>t}},rendererDisplayRowCells:qr,order:{},type:g,_unique:0,version:"3.1.4"};function Wr(e,t,r,n,a){for(var i,o=[],l=typeof t,s=0,c=(t=(t=t instanceof F?t.get():t)&&"string"!=l&&"function"!=l&&void 0!==t.length?t:[t]).length;s<c;s++)(i=(i=r("string"==typeof t[s]?t[s].trim():t[s])).filter(function(e){return null!=e}))&&i.length&&(o=o.concat(i));var d=X.selector[e];if(d.length)for(s=0,c=d.length;s<c;s++)o=d[s](n,a,o);return _e(o)}function zr(e){return(e=e||{}).filter&&void 0===e.search&&(e.search=e.filter),u({},{columnOrder:"implied",search:"none",order:"current",page:"all"},e)}function Br(e){var t=e.inst(e.context[0],null,e._newClass.replace(/s$/,""));return e.length&&t.push(e[0]),t.selector=e.selector,t.length&&1<t[0].length&&t[0].splice(1),t}function Ur(e,t){var r,n=[],a=e.display,i=e.displayMaster,o=t.search,l=t.order,t=t.page;if("ssp"==U(e))return"removed"===o?[]:f(0,i.length);if("current"==t)for(c=e.displayStart,d=Kt(e);c<d;c++)n.push(a[c]);else if("current"==l||"applied"==l){if("none"==o)n=i.slice();else if("applied"==o)n=a.slice();else if("removed"==o){for(var s={},c=0,d=a.length;c<d;c++)s[a[c]]=null;i.forEach(function(e){Object.prototype.hasOwnProperty.call(s,e)||n.push(e)})}}else if("index"==l||"original"==l)for(c=0,d=e.data.length;c<d;c++)e.data[c]&&("none"==o||-1===(r=a.indexOf(c))&&"removed"==o||0<=r&&"applied"==o)&&n.push(c);else if("number"==typeof l){var u=At(e,l,"asc");if("none"===o)n=u;else for(c=0;c<u.length;c++)(-1===(r=a.indexOf(u[c]))&&"removed"==o||0<=r&&"applied"==o)&&n.push(u[c])}return n}Object.assign(X,{afnFiltering:X.search,aTypes:X.type.detect,ofnSearch:X.type.search,oSort:X.type.order,afnSortData:X.order,aoFeatures:X.feature,oStdClasses:X.classes,oPagination:X.pager,sVersion:X.version,fnVersionCheck:Ie});let r=Array.prototype,$=function(e,t){if(!(this instanceof $))return new $(e,t);this.context=Jr(e),nr(this,t),Vr(this,"Api")};function n(t,a){if(Array.isArray(t))for(let e=0;e<t.length;e++)$.register(t[e],a);else{let n=(e=>{let t=e.split("."),r=null,n="Api",a="Api",i="",o="",l="";for(let e=0;e<t.length;e++){var s=t[e],c=s.replace("()","");n=a,a+=c.charAt(0).toUpperCase()+c.slice(1).toLowerCase(),s.includes("()")?(i=c,l.includes("()")&&(r=null,o="")):(r=s,o=n),l=s}return{couldReturn:a,hostClass:n,property:r,propertyHost:o,methodName:i}})(t);var e;if($r[n.hostClass]||(e=n.hostClass,r.prototype=Object.create($.prototype),Object.defineProperty(r,"name",{value:e,writable:!1}),r.prototype._newClass=e,$r[e]=r),n.property)Xr[n.propertyHost]||(Xr[n.propertyHost]=[]),Xr[n.propertyHost].push({couldReturn:n.couldReturn,property:n.property,method:n.methodName,fn:a});else{let r=function(){var e=this._newClass,t=(this._newClass=n.couldReturn,a.apply(this,arguments));return this._newClass=e,t};$r[n.hostClass].prototype[n.methodName]=r,"Api"===n.hostClass&&k.object.each($r,(e,t)=>{t.prototype[n.methodName]||(t.prototype[n.methodName]=r)})}function r(e,t){this.context=Jr(e),nr(this,t),Vr(this,"Api"),Vr(this,this._newClass)}}}function m(e,t,r){$.register(e,r),$.register(t,function(){var e=r.apply(this,arguments);return e===this?this:e&&e.isDataTableApi?e.length?Array.isArray(e[0])?this.inst(e.context,e[0]):e[0]:void 0:e})}k.object.assign($.prototype,{_newClass:"Api",isDataTableApi:!0,any(){return 0!==this.count()},context:[],count(){return this.flatten().length},each(e){for(var t=0,r=this.length;t<r;t++)e.call(this,this[t],t,this);return this},eq(e){var t=this.context;return t.length>e?this.inst(t[e],this[e],"Api"):null},filter(e){e=r.filter.call(this,e,this);return this.inst(this.context,e)},flatten(){var e=[];return this.inst(this.context,e.concat.apply(e,this.toArray()))},get(e){return this[e]},join:r.join,includes(e){return-1!==this.indexOf(e)},indexOf:r.indexOf,inst(e,t,r){r=r||this._newClass;let n=$;return new(n=$r[r]?$r[r]:n)(e,t)},iterator(e,t,r,n){var a,i,o,l,s,c,d,u,f=[],p=this.context,h=this.selector;for("string"==typeof e&&(n=r,r=t,t=e,e=!1),i=0,o=p.length;i<o;i++){var g=this.inst(p[i]);if("table"===t)void 0!==(a=r.call(g,p[i],i))&&f.push(a);else if("columns"===t||"rows"===t)void 0!==(a=r.call(g,p[i],this[i],i))&&f.push(a);else if("every"===t||"column"===t||"column-rows"===t||"row"===t||"cell"===t)for(d=this[i],"column-rows"===t&&(c=Ur(p[i],h.opts)),l=0,s=d.length;l<s;l++)u=d[l],void 0!==(a="cell"===t?r.call(g,p[i],u.row,u.column,i,l):r.call(g,p[i],u,i,l,c))&&f.push(a)}return f.length||n?((e=(n=this.inst(p,e?f.concat.apply([],f):f)).selector)&&(e.rows=h.rows,e.cols=h.cols,e.opts=h.opts),n):this},lastIndexOf:r.lastIndexOf,length:0,map(e){e=r.map.call(this,e,this);return this.inst(this.context,e)},pluck(e){var t=k.get(e);return this.map(e=>t(e))},pop:r.pop,push:r.push,reduce:r.reduce,reduceRight:r.reduceRight,reverse:r.reverse,selector:{rows:void 0,cols:void 0,opts:void 0},shift:r.shift,slice(){return this.inst(this.context,this)},sort:r.sort,splice:r.splice,toArray(){return r.slice.call(this)},to$(){return k.external("jq")(this)},toDom(){return new F(this.toArray())},toJQuery:function(){return k.external("jq")(this)},unique:function(){return this.inst(this.context,k.array.unique(this.toArray()))},unshift:r.unshift}),$.register=n,$.registerPlural=m;let Xr={},$r={Api:$};function Vr(n,e){var t=Xr[e];if(t)for(let e=0;e<t.length;e++){let r=t[e];if(n[r.property]){if(!n.hasOwnProperty(r.property)){let e=n[r.property];n[r.property]=function(){return e.apply(n,arguments)}}}else n[r.property]={};n[r.property][r.method]=function(){var e=n._newClass,t=(n._newClass=r.couldReturn,r.fn.apply(n,arguments));return n._newClass=e,t}}}function Jr(e){function t(e){e=e,r=null,t=X.settings,n=k.array.pluck(t,"table");var r,t,n,a=e?e.table&&e.features?[e]:e.nodeName&&"table"===e.nodeName.toLowerCase()?-1!==(a=n.indexOf(e))?[t[a]]:null:e&&"function"==typeof e.settings?e.settings().toArray():("string"==typeof e?r=F.s(e).get():(k.is.jquery(e)||k.is.dom(e))&&(r=e.get()),r?t.filter(function(e,t){return r.includes(n[t])}):void 0):[];a&&i.push.apply(i,a)}var r,i=[];if(Array.isArray(e))for(r=0;r<e.length;r++)t(e[r]);else t(e);return 1<i.length?k.unique(i):i}function Gr(e,t){e=F.s(e);e.find(".dt-column-order").remove(),e.find(".dt-column-title").each(function(e){var e=F.s(e),t=e.html();e.parent().parent().html(t),e.remove()}),e.find("div.dt-column-"+t).remove(),e.find("th, td").attrRemove("data-dt-column")}n("$()",function(e,t){var r=k.external("jq"),t=(r||q(this.context[0],0,"No jQuery available. Use `.dom()` or register jQuery"),this.rows(t).nodes()),t=r(t);return r([].concat(t.filter(e).toArray(),t.find(e).toArray()))}),["on","one","off"].forEach(r=>{n(r+"()",function(){var e=Array.prototype.slice.call(arguments),t=(e[0]=e[0].split(/\s/).map(function(e){return e.match(/\.dt\b/)?e:e+".dt"}).join(" "),F.s(this.tables().nodes()));return t[r].apply(t,e),this})}),n("clear()",function(){return this.iterator("table",function(e){lt(e)})}),n("error()",function(t){return this.iterator("table",function(e){q(e,0,t)})}),n("settings()",function(){return new $(this.context,this.context)}),n("init()",function(){var e=this.context;return e.length?e[0].init:null}),n("data()",function(){return this.iterator("table",function(e){return k.array.pluck(e.data,"data")}).flatten()}),n("trigger()",function(t,r,n){return this.iterator("table",function(e){return B(e,null,t,r,n)}).flatten()}),n("ready()",function(t){var e=this.context;return t?this.tables().every(function(){var e=this;this.context[0].initDone?t.call(e):this.on("init.dt.DT",function(){t.call(e)})}):e.length&&e[0].initDone||!1}),n("destroy()",function(d){return d=d||!1,this.iterator("table",function(e){var t=e.classes,r=e.table,n=e.tbody,a=e.thead,i=e.tfoot,o=F.s(r),n=F.s(n),l=F.s(e.tableWrapper),s=e.data.map(function(e){return e?e.tr:null}).filter(e=>!!e),c=t.order,i=(e.destroying=!0,B(e,"destroy","destroy",[e],!0),d||new $(e).columns().visible(!0),e.resizeObserver&&e.resizeObserver.disconnect(),l.off(".DT").find(":not(tbody *)").off(".DT"),e.windowResizeCb&&A.removeEventListener("resize",e.windowResizeCb),r!=a.parentNode&&(o.children("thead").detach(),o.append(a)),i&&r!=i.parentNode&&(o.children("tfoot").detach(),o.append(i)),Gr(a,"header"),Gr(i,"footer"),e.colgroup.remove(),e.order=[],e.orderFixed=[],Dt(e),o.find("th, td").classRemove(Object.values(X.type.className).join(" ")),F.s(a).find("th, td").classRemove(c.none+" "+c.canAsc+" "+c.canDesc+" "+c.isAsc+" "+c.isDesc).css("width","").attrRemove("aria-sort"),n.children().detach(),n.append(s),e.tableWrapper.parentNode),a=e.tableWrapper.nextSibling,c=d?"remove":"detach",n=(o[c](),l[c](),!d&&i&&(i.insertBefore(r,a),o.css("width",e+"px").classRemove(t.table)),X.settings.indexOf(e));-1!==n&&X.settings.splice(n,1)})}),n("i18n()",function(e,t,r){var n=this.context[0],e=k.get(e)(n.language);return"string"==typeof(e=k.is.plainObject(e=void 0===e?t:e)&&!1!==r?void 0!==r&&void 0!==e[r]?e[r]:e._:e)?e.replace("%d",r):e});function Yr(a,i,e){var t,r;e&&(t=new $(a)).one("draw",function(){e(t.ajax.json())}),"ssp"==U(a)?Jt(a,i):(w(a,!0),(r=a.jqXHR)&&4!==r.readyState&&"function"==typeof r.abort&&r.abort(),It(a,{},function(e){lt(a);for(var t=Mt(a,e,!1),r=0,n=t.length;r<n;r++)c(a,t[r]);Jt(a,i),Rt(a),w(a,!1)}))}n("ajax.json()",function(){var e=this.context;if(0<e.length)return e[0].json}),n("ajax.params()",function(){var e=this.context;if(0<e.length)return e[0].ajaxData}),n("ajax.reload()",function(t,r){return this.iterator("table",function(e){Yr(e,!1===r,t)})}),n("ajax.url()",function(t){var e=this.context;return void 0===t?0===e.length?void 0:(e=e[0],k.is.plainObject(e.ajax)?e.ajax.url:e.ajax):this.iterator("table",function(e){k.is.plainObject(e.ajax)?e.ajax.url=t:e.ajax=t},!0)}),n("ajax.url().load()",function(t,r){return this.iterator("table",function(e){Yr(e,!1===r,t)})}),n("cells()",function(e,t,r){let n=null,a=null,m,v;if(y(e)?v=void 0===e.row?e:(m=e,t):y(t)||void 0===t?(m=e,v=t):void 0!==e&&(n=e,a=t,v=r),null===a)return this.iterator("table",function(e){return a=e,e=m,t=zr(v),p=a.data,h=Ur(a,t),g=a.columns.length,Wr("cell",e,function(e){var t="function"==typeof e;if(null==e||t){for(l=[],s=0,c=h.length;s<c;s++)for(o=h[s],d=0;d<g;d++)u={row:o,column:d},(!t||(f=p[o],e(u,H(a,o,d),f&&f.cells?f.cells[d]:null)))&&l.push(u);return l}if(y(e))return void 0!==e.column&&void 0!==e.row&&-1!==h.indexOf(e.row)?[e]:[];i||(n=Te(xe(p,h,"cells")),i=F.s(be([],n)));var r,n=i.filter(e).mapTo(e=>({row:e._DT_CellIndex.row,column:e._DT_CellIndex.column}));return n.length||!e.nodeName?n:(n=F.s(e).closest("*[data-dt-row]"),r=F.s(e).closest("*[data-dt-column]"),n.count()?[{row:parseInt(n.attr("data-dt-row")),column:parseInt(r.attr("data-dt-column"))}]:[])},a,t);var a,t,i,o,l,s,c,d,u,f,p,h,g});e=v?{page:v.page,order:v.order,search:v.search}:{};let i=this.columns(a,e),o=this.rows(n,e),l,s,c,d;t=this.iterator("table",function(e,t){var r=[];for(l=0,s=o[t].length;l<s;l++)for(c=0,d=i[t].length;c<d;c++)r.push({row:o[t][l],column:i[t][c]});return r},!0),r=v&&v.selected?this.cells(t.toArray(),v):t;return u(r.selector,{cols:a,rows:n,opts:v}),r}),n("cells().every()",function(n){var a=this.selector.opts,i=0;return this.iterator("every",(e,t,r)=>{t=this.cell(t,a);n.call(t,t[0][0].row,t[0][0].column,r,i),i++})}),m("cells().nodes()","cell().node()",function(){return this.iterator("cell",function(e,t,r){e=e.data[t];return e&&e.cells?e.cells[r]:void 0},!0)}),n("cells().data()",function(){return this.iterator("cell",function(e,t,r){return H(e,t,r)},!0)}),m("cells().render()","cell().render()",function(n){return this.iterator("cell",function(e,t,r){return H(e,t,r,n)},!0)}),m("cells().indexes()","cell().index()",function(){return this.iterator("cell",function(e,t,r){return{row:t,column:r,columnVisible:Nr(e,r)}},!0)}),m("cells().invalidate()","cell().invalidate()",function(n){return this.iterator("cell",function(e,t,r){st(e,t,n,r)})}),n("cell()",function(e,t,r){return Br(this.cells(e,t,r))}),n("cell().data()",function(e){var t,r,n,a,i,o=this.context,l=this[0];return void 0===e?o.length&&l.length?H(o[0],l[0].row,l[0].column):void 0:(t=o[0],r=l[0].row,n=l[0].column,e=e,(i=t.data[r])&&(a=t.columns[n],i=i.data,a.dataSet(i,e,{settings:t,row:r,col:n})),st(o[0],l[0].row,"data",l[0].column),this)});let Zr=/^(.*?):(name|title|visIdx|visible)$/;function Qr(r,n,e,t,a,i){var o=[];for(let e=0,t=a.length;e<t;e++)o.push(H(r,a[e],n,i));return o}function Kr(e,t,r){var n=e.header,e=e.titleRow,a=0;if(void 0!==r)a=r;else if(!0===e)a=0;else if(!1===e)a=n.length-1;else if(null!==e)a=e;else{for(var i=0;i<n.length;i++)n[i][t].unique&&F.s(n[i][t].cell).find(".dt-column-title").text()&&(a=i);null===a&&(a=0)}return n[a][t].cell}function en(e,t){t="string"==typeof t?parseInt(t,10):t;e.pageLength=t,tr(e),B(e,null,"length",[e,t])}function tn(e,t){t&&t.childRows&&e.rows(t.childRows.map(function(e){return e.replace(/([^:\\]*(?:\\.[^:\\]*)*):/g,"$1\\:")})).every(function(){B(e.settings()[0],null,"requestChild",[this])})}n("columns()",function(e,t){let r,n;void 0===e?r="":y(e)?(r="",t=e):r=e,n=zr(t);e=this.iterator("table",e=>{return o=e,e=r,l=n,d=o.columns,e=Wr("column",e,function(r){var n,e=Z(r);if(""===r)return f(d.length);if(null!==e)return[0<=e?e:d.length+e];if("function"==typeof r)return n=Ur(o,l),d.map(function(e,t){return r(t,Qr(o,t,0,0,n),Kr(o,t))?t:null});var t,a,i="string"==typeof r?r.match(Zr):"";if(i)switch(i[2]){case"visIdx":case"visible":return i[1]&&i[1].match(/^\d+$/)?(t=parseInt(i[1],10))<0?[(a=d.map(function(e,t){return e.visible?t:null}))[a.length+t]]:[Sr(o,t)]:d.map(function(e,t){return e.visible&&!1!==e.responsiveVisible&&(!i||!i[1]||(e=Hr(o.header,null,e.idx).map(e=>e.cell),0<F.s(e).filter(i[1]).count()))?t:null});case"name":return(s=s||b(d,"name")).map(function(e,t){return i&&e===i[1]?t:null});case"title":return(c=c||b(d,"title")).map(function(e,t){return i&&e===i[1]?t:null});default:return[]}return r.nodeName&&r._DT_CellIndex?[r._DT_CellIndex.column]:(e=F.s(Hr(o.header).map(e=>e.cell)).filter(r).mapTo(e=>Fr(e)).flat().sort(function(e,t){return e-t})).length||!r.nodeName?e:(e=F.s(r).closest("*[data-dt-column]")).count()?[parseInt(e.attr("data-dt-column"))]:[]},o,l),l.columnOrder&&"index"===l.columnOrder?e.sort(function(e,t){return e-t}):e;var o,l,s,c,d},!0);return e.selector.cols=r,e.selector.opts=n,e}),n("columns().every()",function(a){var i=this.selector.opts,o=0;return this.iterator("every",(e,t,r)=>{var n=this.column(t,i);a.call(n,t,r,o),o++})}),m("columns().header()","column().header()",function(r){return this.iterator("column",function(e,t){return Kr(e,t,r)},!0)}),m("columns().footer()","column().footer()",function(r){return this.iterator("column",function(e,t){return e.footer.length?e.footer[void 0!==r?r:0][t].cell:null},!0)}),m("columns().data()","column().data()",function(){return this.iterator("column-rows",Qr,!0)}),m("columns().render()","column().render()",function(i){return this.iterator("column-rows",function(e,t,r,n,a){return Qr(e,t,0,0,a,i)},!0)}),m("columns().dataSrc()","column().dataSrc()",function(){return this.iterator("column",function(e,t){return e.columns[t].data},!0)}),m("columns().init()","column().init()",function(){return this.iterator("column",function(e,t){return e.columns[t]},!0)}),m("columns().names()","column().name()",function(){return this.iterator("column",function(e,t){return e.columns[t].name},!0)}),m("columns().nodes()","column().nodes()",function(){return this.iterator("column-rows",function(e,t,r,n,a){return Te(xe(e.data,a,"cells",t))},!0)}),m("columns().titles()","column().title()",function(r,n){return this.iterator("column",function(e,t){"number"==typeof r&&(n=r,r=void 0);t=F.s(this.column(t).header(n)).find(".dt-column-title");return void 0!==r?(t.html(r),this):t.html()},!0)}),m("columns().types()","column().type()",function(){return this.iterator("column",function(e,t){var t=e.columns[t],r=t.type;return r||(Lr(e),r=t.type),r},!0)}),m("columns().visible()","column().visible()",function(r,n){var t=this,a=[],e=this.iterator("column",function(e,t){if(void 0===r)return e.columns[t].visible;((e,t,r)=>{var n,a=e.columns,i=a[t],o=e.data;if(void 0===r)return i.visible;if(i.visible!==r){if(r)for(var l=b(a,"visible").indexOf(!0,t+1),s=0,c=o.length;s<c;s++){var d=o[s];d&&(n=d.tr,d=d.cells,n)&&n.insertBefore(d[t],d[l]||null)}else F.s(Te(b(e.data,"cells",t))).detach();return i.visible=r,gt(e),1}})(e,t,r)&&a.push(t)});return void 0!==r&&this.iterator("table",function(e){$t(e,e.header),$t(e,e.footer),e.display.length||F.s(e.tbody).find("td[colspan]").attr("colspan",Rr(e)),Ot(e),t.iterator("column",function(e,t){a.includes(t)&&B(e,null,"column-visibility",[e,t,r,n])}),a.length&&(void 0===n||n)&&t.columns.adjust()}),e}),m("columns().widths()","column().width()",function(){var t=this.columns(":visible"),r=F.c("tr");for(let e=0;e<t.count();e++)F.c("td").appendTo(r);F.s(this.table().body()).append(r);let n=[],a=t.indexes();return r.children().each((e,t)=>{n[a[t]]=F.s(e).width("outer")}),r.remove(),this.iterator("column",(e,t)=>n[t]||0,!0)}),m("columns().indexes()","column().index()",function(r){return this.iterator("column",function(e,t){return"visible"===r?Nr(e,t):t},!0)}),n("columns.adjust()",function(){return this.iterator("table",function(e){e.containerWidth=-1,Or(e)},!0)}),n("column.index()",function(e,t){if(0!==this.context.length){var r=this.context[0];if("fromVisible"===e||"toData"===e)return Sr(r,t);if("fromData"===e||"toVisible"===e)return Nr(r,t)}return-1}),n("column()",function(e,t){return Br(this.columns(e,t))}),$.register("draw()",function(t){return this.iterator("table",function(e){"page"===t?Vt(e):Jt(e,!1===(t="string"==typeof t?"full-hold"!==t:t))})}),n("order()",function(r,e){var t=this.context,n=Array.prototype.slice.call(arguments);return void 0===r?0!==t.length?t[0].order:void 0:("number"==typeof r&&"string"==typeof e?r=[[r,e]]:1<n.length&&(r=n),this.iterator("table",function(e){var t=[];h(e,t,r),e.order=t}))}),n("order.listener()",function(t,r,n){return this.iterator("table",function(e){xt(e,t,"",r,n)})}),n("order.fixed()",function(t){var e;return t?this.iterator("table",function(e){e.orderFixed=ae({},t)}):(e=(e=this.context).length?e[0].orderFixed:void 0,Array.isArray(e)?{pre:e}:e)}),n(["columns().order()","column().order()"],function(r){var n=this;return r?this.iterator("table",function(e,t){e.order=n[t].map(function(e){return[e,r]})}):this.iterator("column",function(e,t){for(var r=_t(e),n=0,a=r.length;n<a;n++)if(r[n].col===t)return r[n].dir;return null},!0)}),m("columns().orderable()","column().orderable()",function(r){return this.iterator("column",function(e,t){e=e.columns[t];return r?e.orderSequence:e.orderable},!0)}),n("page()",function(t){return void 0===t?this.page.info().page:this.iterator("table",function(e){Ct(e,t)})}),n("page.info()",function(){var e=this.context[0],t=e.displayStart,r=e.features.paging?e.pageLength:-1,n=Qt(e),a=-1===r;return{page:a?0:Math.floor(t/r),pages:a?1:Math.ceil(n/r),start:t,end:Kt(e),length:r,recordsTotal:Zt(e),recordsDisplay:n,serverSide:"ssp"===U(e)}}),n("page.len()",function(t){return null==t?0!==this.context.length?this.context[0].pageLength:void 0:this.iterator("table",function(e){en(e,t)})}),n("processing()",function(t){return this.iterator("table",e=>w(e,t))}),F.on("preInit.dt",function(e,t){var n=new $(t);n.on("stateSaveParams.DT",function(e,t,r){for(var n=t.rowIdFn,a=t.displayMaster,i=[],o=0;o<a.length;o++){var l=a[o],l=t.data[l];l.detailsShow&&i.push("#"+n(l.data))}r.childRows=i}),n.on("stateLoaded.DT",function(e,t,r){tn(n,r)})}),F.on("plugin-init.dt",function(e,t){t=t.api;tn(t,t.state.loaded())});var rn=k.throttle(function(e){Ot(e[0])},500);function nn(e,t){var r=e.context;r.length&&(t=r[0].data[void 0!==t?t:e[0]])&&t.details&&(t.details.detach(),t.detailsShow=void 0,t.details=void 0,F.s(t.tr).classRemove("dt-hasChild"),rn(r))}function an(e,t){var o,i,r,l,n=e.context;n.length&&e.length&&(r=n[0].data[e[0]])&&r.details&&((r.detailsShow=t)&&r.tr?(r.details.insertAfter(r.tr),F.s(r.tr).classAdd("dt-hasChild")):t||(r.details.detach(),F.s(r.tr).classRemove("dt-hasChild")),B(n[0],null,"childRow",[t,e.row(e[0])]),o=n[0],i=new $(o),t="draw"+(r=".dt.DT_details"),e="column-sizing"+r,r="destroy"+r,l=o.data,i.off(t+" "+e+" "+r),0<k.array.pluck(l,"details").length&&(i.on(t,function(e,t){o===t&&i.rows({page:"current"}).eq(0).each(function(e){e=l[e];e&&e.detailsShow&&e.details&&e.tr&&e.details.insertAfter(e.tr)})}),i.on(e,function(e,t){if(o===t)for(var r,n=Rr(t),a=0,i=l.length;a<i;a++)(r=l[a])&&r.details&&r.details.each(function(e){e=F.s(e).children("td");1==e.count()&&e.attr("colspan",n)})}),i.on(r,function(e,t){if(o===t)for(var r=0,n=l.length;r<n;r++){var a=l[r];a&&a.details&&nn(i,r)}})),rn(n))}e="row().child",ue=e+"()";$.register(ue,function(e,t){var o,l,r,s,c,n=this.context;return void 0===e?!(n.length&&this.length&&n[0].data[this[0]])||null==(r=n[0].data[this[0]])?void 0:r.details:(!0===e?this.child.show():!1===e?nn(this):n.length&&this.length&&(o=n[0],l=n[0].data[this[0]],r=e,n=t,l)&&(s=[],(c=function(e,t){var r,n;if(Array.isArray(e)||k.is.jquery(e))for(var a=0,i=e.length;a<i;a++)c(e[a],t);else e.nodeName&&"tr"===e.nodeName.toLowerCase()?(e.setAttribute("data-dt-row",l.idx),s.push(e)):(r=F.c("td").classAdd(t),n=F.c("tr").append(r).attr("data-dt-row",l.idx).classAdd(t),e.nodeName?r.append(e):r.html(e),r.get(0).colSpan=Rr(o),s.push(n.get(0)))})(r,n),l.details&&l.details.detach(),l.details=F.s(s),l.detailsShow)&&l.tr&&l.details.insertAfter(l.tr),this.inst(this.context,this))}),$.register([e+".show()",ue+".show()"],function(){return an(this,!0),this}),$.register([e+".hide()",ue+".hide()"],function(){return an(this,!1),this}),$.register([e+".remove()",ue+".remove()"],function(){return nn(this),this}),$.register(e+".isShown()",function(){var e=this.context;return e.length&&this.length&&e[0].data[this[0]]&&e[0].data[this[0]].detailsShow||!1}),n("rows()",function(e,t){let r,n;void 0===e?n="":r=k.is.plainObject(e)?(n="",e):(n=e,t),r=zr(r);e=this.iterator("table",function(e){return i=e,e=n,o=r,e=Wr("row",e,function(r){var e,t=k.conv.intVal(r),n=i.data;if(null!==t&&!o)return[t];if(l=l||Ur(i,o),null!==t&&-1!==l.indexOf(t))return[t];if(null==r||""===r)return l;if("function"==typeof r)return l.map(function(e){var t=n[e];return t&&r(e,t.data,t.tr)?e:null});if(r.nodeName)return t=r._DT_RowIndex,e=r._DT_CellIndex,void 0!==t?(a=n[t])&&a.tr===r?[t]:[]:e?(a=n[e.row])&&a.tr===r.parentNode?[e.row]:[]:(t=F.s(r).closest("*[data-dt-row]")).count()?[parseInt(t.attr("data-dt-row"))]:[];if("string"==typeof r)if("#"===r.charAt(0)){var a=i.ids[r.replace(/^#/,"")];if(void 0!==a)return[a.idx]}else if(r.match(/^(tr)?:eq\(\d+\)$/))return e=parseInt(r.replace(/[^\d]/g,"")),void 0!==l[e]?[l[e]]:[];t=k.array.removeEmpty(k.array.pluckOrder(i.data,l,"tr"));return F.s(t).filter(r).mapTo(e=>e._DT_RowIndex)},i,o),"current"!==o.order&&"applied"!==o.order||Tt(i,e),e;var i,o,l},!0);return e.selector.rows=n,e.selector.opts=r,e}),n("rows().every()",function(a){var i=this.selector.opts,o=0;return this.iterator("every",(e,t,r)=>{var n=this.row(t,i);a.call(n,t,r,o),o++})}),n("rows().nodes()",function(){return this.iterator("row",function(e,t){return(null==(e=e.data[t])?void 0:e.tr)||void 0},!0)}),n("rows().data()",function(){return this.iterator(!0,"rows",function(e,t){return k.array.pluckOrder(e.data,t,"data")},!0)}),m("rows().invalidate()","row().invalidate()",function(r){return this.iterator("row",function(e,t){st(e,t,r)})}),m("rows().indexes()","row().index()",function(){return this.iterator("row",function(e,t){return t},!0)}),m("rows().ids()","row().id()",function(e){for(var t=[],r=this.context,n=0,a=r.length;n<a;n++)for(var i=0,o=this[n].length;i<o;i++){var l=r[n].rowIdFn(null==(l=r[n].data[this[n][i]])?void 0:l.data);t.push((!0===e?"#":"")+l)}return this.inst(r,t)}),m("rows().remove()","row().remove()",function(){return this.iterator("row",function(e,t){var r=e.data,n=r[t],a=e.displayMaster.indexOf(t),a=(-1!==a&&e.displayMaster.splice(a,1),0<e.recordsDisplay&&e.recordsDisplay--,tr(e),e.rowIdFn(null==n?void 0:n.data));void 0!==a&&delete e.ids[a],r[t]=null}),this}),n("rows.add()",function(i){var e=this.iterator("table",function(e){for(var t,r=[],n=0,a=i.length;n<a;n++)(t=i[n]).nodeName&&"TR"===t.nodeName.toUpperCase()?r.push(at(e,F.s(t))[0]):r.push(c(e,t));return r},!0),t=this.rows(-1);return t.pop(),nr(t,e),t}),n("row()",function(e,t){return Br(this.rows(e,t))}),n("row().data()",function(e){var t,r=this.context;return void 0===e?!(r.length&&this.length&&this[0].length)||null==(t=r[0].data[this[0]])?void 0:t.data:((t=r[0].data[this[0]]).data=e,Array.isArray(e)&&t.tr&&t.tr.id&&k.set(r[0].rowId)(e,t.tr.id),st(r[0],this[0][0],"data"),this)}),n("row().node()",function(){var e=this.context;if(e.length&&this.length&&this[0].length){e=e[0].data[this[0]];if(e&&e.tr)return e.tr}return null}),n("row.add()",function(t){t&&t.fn&&t.length&&(t=t[0]);var e=this.iterator("table",function(e){return ct(e),t.nodeName&&"TR"===t.nodeName.toUpperCase()?at(e,F.s(t))[0]:c(e,t)});return this.row(e[0])}),n("search()",function(r,n,a,i){var e;return void 0===r?0===(e=this.context).length?void 0:e[0].searches["*"].search:this.iterator("table",function(t){if(t.features.searching){let e=t.searches["*"];u(e=e||P(),"object"==typeof n?n:{regex:null!==n&&n,smart:null===a||a,caseInsensitive:null===i||i}),e.search=r,t.searches["*"]=e,Pt(t)}})}),n("search.fixed()",function(r,n,a){var e=this.iterator(!0,"table",function(t){var e,t=t.searchesFixed["*"];if(!r)return Object.keys(t);if(void 0===n)return null==(e=t[r])?void 0:e.search;if(null===n)delete t[r];else{let e=t[r];e&&k.is.plainObject(e)||(e=P()),a&&u(e,a),e.search=n,t[r]=e}return this});return void 0!==r&&void 0===n?e[0]:e}),n(["columns().search()","column().search()"],function(a,i,o,l){var e;return void 0===a?(e=this[0].join(","),this.context.length&&(null==(e=this.context[0].searches[e])?void 0:e.search)||""):this.iterator("columns",function(e,t){var r=t.join(",");let n=e.searches[r];n=n||P(),(""===a||null===a)&&1<t.length?delete e.searches[r]:(u(n,"object"==typeof i?i:{regex:null!==i&&i,smart:null===o||o,caseInsensitive:null===l||l}),n.search=a,n.columns=t.slice(),e.searches[r]=n,Pt(e))})}),n(["columns().search.fixed()","column().search.fixed()"],function(a,i,o){var e;return a?void 0===i?this.context.length&&(e=this[0].join(","),e=this.context[0].searchesFixed[e])&&e[a]?e[a].search:void 0:this.iterator(!0,"columns",function(e,t){var r=t.join(",");let n=e.searchesFixed[r];if(n||(n={},e.searchesFixed[r]=n),null===i)delete n[a];else{let e=n[a];e&&k.is.plainObject(e)||(e=P()),o&&u(e,o),e.search=i,e.columns=t,n[a]=e}return this}):this.iterator(!0,"columns",function(e,t){t=t.join(","),e=e.searchesFixed[t];return e?Object.keys(e):[]})}),n("state()",function(e,t=!0){if(!e)return this.context.length?this.context[0].stateSaved:null;let r=ae({},e);return this.iterator("table",function(e){St(e,r,t,function(){})})}),n("state.clear()",function(){return this.iterator("table",function(e){e.stateSaveCallback.call(e.instance,e,{})})}),n("state.loaded()",function(){return this.context.length?this.context[0].stateLoaded:null}),n("state.save()",function(){return this.iterator("table",function(e){Ot(e)})}),n("tables()",function(e){return null!=e?this.inst(function t(e,r){var n,a;return Array.isArray(e)?(n=[],e.forEach(function(e){e=t(e,r),nr(n,e)}),n.filter(e=>!!e)):"number"==typeof e?[r[e]]:(a=r.map(function(e){return e.table}),F.s(a).filter(e).mapTo(e=>(e=a.indexOf(e),r[e])))}(e,this.context)):this.inst(this.context)}),n("table()",function(e){return Br(this.tables(e))}),[["nodes","node","table"],["body","body","tbody"],["header","header","thead"],["footer","footer","tfoot"]].forEach(function(t){m("tables()."+t[0]+"()","table()."+t[1]+"()",function(){return this.iterator("table",e=>e[t[2]],!0)})}),["header","footer"].forEach(function(t){n("table()."+t+".structure()",function(e){var r=this.columns(e).indexes().flatten().toArray(),e=this.context[0],e=Xt(e,e[t],r),n=r.slice().sort(function(e,t){return e-t});return e.map(function(t){return r.map(function(e){return t[n.indexOf(e)]})})})}),m("tables().containers()","table().container()",function(){return this.iterator("table",function(e){return e.tableWrapper},!0)}),n("tables().every()",function(r){return this.iterator("table",(e,t)=>{r.call(this.table(t),t)})}),n("caption()",function(a,i){var e,t=this.context;return void 0===a?(e=t[0].captionNode)&&t.length?e.innerHTML:null:this.iterator("table",function(e){var t=F.s(e.table),r=F.s(e.captionNode),n=F.s(e.tableWrapper);r.count()||(r=F.c("caption").html(a),e.captionNode=r.get(0),i)||(t.prepend(r),i=r.css("caption-side")),r.html(a),i&&(r.css("caption-side",i),r.get(0)._captionSide=i),(n.find("div.dt-scroll").count()?(e="top"===i?"head":"foot",n.find("div.dt-scroll-"+e+" table")):t).prepend(r)},!0)}),n("caption.node()",function(){var e=this.context;return e.length?e[0].captionNode:null});let on=!1,ln,sn=!1,cn=null,dn=null,v={developers:0,type:null,expires:null,valid:null},un,fn="BE1A9w9D9U/4s4/TogY+1sW/dLJ8IquzK1PmV70J93ZTIvXMZ0eV2NAb52ntpgwVFySSB2fOI7geLNO737rQAyo=";function pn(e){return Uint8Array.from(atob(e),e=>e.charCodeAt(0))}function hn(e,t){var r,n=v.expires;if(yn())if(!1===v.valid)mn("Invalid license key"),vn();else{if("trial"===v.type)return(r=n?Math.ceil((n.getTime()-(new Date).getTime())/864e5):-1)<0?(gn("Your trial has now expired. Please visit https://datatables.net/plus to purchase a license","warn"),mn("Trial expired"),vn(),!1):(gn("Your trial expires in "+r+" day"+(1===r?"":"s")),!0);if(null===t)return!0;if("plus"===v.type||"editor"===v.type&&"editor"===t)return!(!n||new Date(e)>n)||(mn("Upgrade required for this version"),vn(),!1);if("editor"===v.type&&"editor"!==t)return mn("License for Editor only. Upgrade for Plus"),vn(),!1}else mn("Unable to validate license key"),vn();return mn(),vn(),!1}function gn(e,t="log"){("log"===t?console.log:console.warn)("%cDataTables Plus%c "+e,"background: #007bff; color: #fff; padding: 2px 5px;","color: inherit;")}function mn(e){var t,r;on||(on||(t=(un=un||F.c("div"))[0].attachShadow({mode:"closed"}),r=F.c("div").css({position:"fixed",bottom:"1em",right:"1em",border:"1px solid #ffc107",background:"#fff3cd",color:"#856404",padding:"0.5em 1em","font-family":"sans-serif","font-size":"12px","line-height":"1.4em","text-align":"center","border-radius":"4px","z-index":"10000","box-shadow":"1px 3px 5px rgba(0, 0, 0, 0.333)"}),t.appendChild(r[0]),ln=r,on=!0),ln.empty(),e?ln.append(F.c("span").text("DataTables Plus")).append(F.c("br")).append(F.c("span").text(e+" - ")).append(F.c("a").attr("href","https://datatables.net/tn/25").attr("target","_blank").css({color:"inherit"}).html("learn more &#187;")):ln.append(F.c("span").text("DataTables Plus - Evaluation Mode")).append(F.c("br")).append(F.c("a").attr("href","https://datatables.net/plus/trial").attr("target","_blank").css({color:"inherit"}).text("Start a Free Trial")).append(F.c("span").text(" - ")).append(F.c("a").attr("href","https://datatables.net/plus").attr("target","_blank").css({color:"inherit"}).text("Purchase a License")))}function vn(){var e=M("doc");sn||!e.body||e.body.contains(un[0])||e.body.appendChild(un[0])}function yn(){var e=M("win"),e=e.crypto||e.msCrypto;return e.subtle||e.webkitSubtle}function bn(e,t){var r=!1;return e&&e.document&&(T=(A=e).document),r=t&&t.fn&&t.fn.jquery?!0:r}function wn(e,t,r){r&&(e[t]=r)}function xn(e){var t=[];return e.numbers&&t.push("numbers"),e.previousNext&&(t.unshift("previous"),t.push("next")),e.firstLast&&(t.unshift("first"),t.push("last")),t}function Tn(e,t,r,n){var a=e.language.paginate,i={display:"",active:!1,disabled:!1};switch(t){case"ellipsis":i.display="&#x2026;";break;case"first":i.display=a.first,0===r&&(i.disabled=!0);break;case"previous":i.display=a.previous,0===r&&(i.disabled=!0);break;case"next":i.display=a.next,0!==n&&r!==n-1||(i.disabled=!0);break;case"last":i.display=a.last,0!==n&&r!==n-1||(i.disabled=!0);break;default:"number"==typeof t&&(i.display=e.formatNumber(t+1,e),r===t)&&(i.active=!0)}return i}Ke("div",function(e,t){var r=F.c("div").get(0);return t&&(wn(r,"className",t.className),wn(r,"id",t.id),wn(r,"innerHTML",t.html),wn(r,"textContent",t.text)),r}),Ke("info",function(e,t){if(!e.features.info)return null;let r=e.language,n=e.tableId,s=F.c("div").classAdd(e.classes.info.container),c=Object.assign({callback:r.infoCallback,empty:r.infoEmpty,postfix:r.infoPostFix,search:r.infoFiltered,text:r.info},t);return e.callbacks.draw.push(function(e){var t=c,r=s,n=e.displayStart+1,a=Kt(e),i=Zt(e),o=Qt(e),l=o?t.text:t.empty;o!==i&&(l+=" "+t.search),l+=t.postfix,l=rr(e,l),t.callback&&(l=t.callback.call(e.instance,e,n,a,i,o,l)),r.html(l),B(e,null,"info",[e,r.get(0),l])}),e.infoEl||(s.attr({"aria-live":"polite",id:n+"_info",role:"status"}),F.s(e.table).attr("aria-describedby",n+"_info"),e.infoEl=s),s},"i"),Ke("paging",function(e,t){if(!e.features.paging)return null;let r=Object.assign({buttons:X.pager.numbers_length,type:e.pagingType,boundaryNumbers:!0,firstLast:!0,previousNext:!0,numbers:!0},t),n=F.c("div").classAdd(e.classes.paging.container+(r.type?" paging_"+r.type:"")).append(F.c("nav").attr("aria-label","pagination").classAdd(e.classes.paging.nav));function a(){!function t(i,r,n){if(!i.initDone)return;let e=n.type?X.pager[n.type]:xn,o=i.language.aria.paginate||{},a=i.displayStart,l=i.pageLength,s=Qt(i),c=-1===l,d=c?0:Math.ceil(a/l),u=c?s?1:0:Math.ceil(s/l),f=[],p=[],h=e(n).map(function(e){return"numbers"===e?et(d,u,n.buttons,n.boundaryNumbers):e});f=f.concat.apply(f,h);for(let a=0;a<f.length;a++){let t=f[a],e=Tn(i,t,d,u),r=ft(i,"pagingButton")(i,t,e.display,e.active,e.disabled),n="string"==typeof t?o[t]:o.number?o.number+(t+1):null;F.s(r.clicker).attr({"aria-controls":i.tableId,"aria-disabled":e.disabled?"true":null,"aria-current":e.active?"page":null,"aria-label":n,"data-dt-idx":t,tabIndex:e.disabled?-1:i.tabIndex&&"span"!==r.clicker.nodeName.toLowerCase()?i.tabIndex:null}),"number"!=typeof t&&F.s(r.clicker).classAdd(t),er(r.clicker,"",function(e){e.preventDefault(),Ct(i,t,!0)}),p.push(r.display)}let g=ft(i,"pagingContainer")(i,p);let m=r.find(M("doc").activeElement).attr("data-dt-idx");r.empty().append(g);m&&r.find('[data-dt-idx="'+m+'"]').trigger("focus");if(p.length){let e=F.s(p[0]).height("withBorder");1<n.buttons&&0<e&&r.height()>=2*e-10&&t(i,r,Object.assign({},n,{buttons:n.buttons-2}))}}(e,n.children(),r)}return e.callbacks.draw.push(a),F.s(e.table).on("column-sizing.dt.DT",a),n},"p");var _n=0;Ke("pageLength",function(o,e){var t=o.features;if(!t.paging||!t.lengthChange)return null;t=Object.assign({menu:o.lengthMenu,text:o.language.lengthMenu},e);let r=o.classes.length,n=o.tableId,a=t.menu,i=[],l=[],s;if(Array.isArray(a[0]))i=a[0],l=a[1];else for(s=0;s<a.length;s++)y(a[s])?(i.push(a[s].value),l.push(a[s].label)):(i.push(a[s]),l.push(a[s]));function c(t){p.forEach(function(e){e.el.textContent=rr(o,e.text,t)})}var e=t.text.match(/_MENU_$/),d=t.text.match(/^_MENU_/),u=t.text.replace(/_MENU_/,""),t="<label>"+t.text+"</label>",d=(d?t="_MENU_<label>"+u+"</label>":e&&(t="<label>"+u+"</label>_MENU_"),"tmp-"+ +new Date),f=F.c("div").classAdd(r.container).html(t.replace("_MENU_",'<span id="'+d+'"></span>')),p=[],h=(Array.prototype.slice.call(f.find("label").get(0).childNodes).forEach(function(e){e.nodeType===Node.TEXT_NODE&&p.push({el:e,text:e.textContent})}),F.c("select").attr("aria-controls",n).attr("autocomplete","off").classAdd(r.select));for(s=0;s<i.length;s++){var g=o.api.i18n("lengthLabels."+i[s],null);null===g&&(g="number"==typeof l[s]?o.formatNumber(l[s],o):l[s]),h.get(0)[s]=new Option(g,i[s])}return f.find("#"+d).replaceWith(h),f.find("select").attr("id","dt-length-"+_n).val(o.pageLength).on("change.DT",function(){en(o,h.val()),Vt(o)}),f.find("label").attr("for","dt-length-"+_n),_n++,F.s(o.table).on("length.dt.DT",function(e,t,r){var n,a,i;o===t&&((t=f.find("select")).find("option[data-dt-len-tmp]").remove(),t.find('option[value="'+r+'"]').length||(a=r,n=(n=h).find("option"),n=(i=(i=n.mapTo(e=>parseInt(e.value))).findIndex(e=>a<e))<-1?null:n.eq(i),i=F.c("option").val(r).text(r).attr("data-dt-len-tmp",!0),n&&n.length?i.insertBefore(n):t.append(i)),t.val(r),c(r))}),c(o.pageLength),f},"l");let An=0;function Dn(e){return e instanceof RegExp?e.toString():"function"!=typeof e?e:""}Ke("search",function(r,e){if(!r.features.searching)return null;var t=r.classes.search,n=r.tableId,a=r.language,i='<input type="search" class="'+t.input+'" autocomplete="off"/>';let o=k.object.assignDeep({columns:"*",placeholder:a.searchPlaceholder,processing:!1,text:a.search},e);-1===o.text.indexOf("_INPUT_")&&(o.text+="_INPUT_"),o.text=rr(r,o.text);a=r.api.columns(o.columns).indexes().toArray();let l="*"===o.columns?"*":a.join(","),s=r.searches[l];s||(s=P(),r.searches[l]=s),s.columns=a;var e=o.text.match(/_INPUT_$/),a=o.text.match(/^_INPUT_/),c=o.text.replace(/_INPUT_/,"");let d="<label>"+o.text+"</label>";a?d="_INPUT_<label>"+c+"</label>":e&&(d="<label>"+c+"</label>_INPUT_");a=F.c("div").classAdd(t.container).html(d.replace(/_INPUT_/,i));a.find("label").attr("for","dt-search-"+An),a.find("input").attr("id","dt-search-"+An),An++;function u(e){let t=this.value;s.return&&"Enter"!==e.key||t!=s.search&&ut(r,o.processing,function(){s.search=t,Pt(r),r.displayStart=0,Vt(r)})}e=r.searchDelay;let f=a.find("input").val(Dn(s.search)).attr("placeholder",o.placeholder).on("keyup.DT search.DT input.DT paste.DT cut.DT",e?k.debounce(u,e):u).on("mouseup.DT",function(e){setTimeout(function(){u.call(f.get(0),e)},10)}).on("keypress.DT",function(e){if(13==e.keyCode)return!1}).attr("aria-controls",n);return F.s(r.table).on("search.dt.DT",function(e,t){r===t&&f.get(0)!==T.activeElement&&(t=r.searches[l],f.val(Dn(t.search)))}),a},"f");let jn={ajax:null,ajaxDataGet:!1,api:null,browser:{barWidth:0,scrollbarLeft:!1},callbacks:{destroy:[],draw:[],footer:[],header:[],init:[],preDraw:[],row:[],rowCreated:[],stateLoadParams:[],stateLoaded:[],stateSaveParams:[]},caption:"",captionNode:null,classes:{},columns:[],containerWidth:-1,data:[],deferLoading:!1,destroyWidth:0,destroying:!1,display:[],displayMaster:[],displayStart:0,displayStartInit:-1,doingDraw:!1,dom:null,drawCount:0,drawError:-1,drawHold:!1,features:{autoWidth:!1,deferRender:!1,info:!1,lengthChange:!1,orderClasses:!1,orderMulti:!1,ordering:!1,paging:!1,processing:!1,searching:!1,serverSide:!1,stateSave:!1},footer:[],header:[],ids:{},init:{},initDone:!1,initialised:!1,language:{ajax:"",aria:{orderable:"",orderableRemove:"",orderableReverse:"",paginate:{first:"",last:"",next:"",number:"",previous:""}},decimal:"",emptyTable:"",entries:{_:""},info:"",infoEmpty:"",infoFiltered:"",infoPostFix:"",lengthMenu:"",lengthLabels:{},loadingRecords:"",paginate:{first:"",last:"",next:"",previous:""},processing:"",search:"",searchPlaceholder:"",thousands:"",url:"",zeroRecords:""},lastOrder:[],layout:{},loadingState:!1,order:[],orderCellsTop:null,orderDescReverse:!1,orderFixed:[],orderHandler:!0,orderIndicators:!0,pageLength:10,pagingControls:0,pagingType:"two_button",searchCols:[],recordsDisplay:0,recordsTotal:0,renderer:null,resizeObserver:null,reszEvt:!1,rowId:"",rowReadObject:!1,scroll:{barWidth:0,collapse:null,x:"",xInner:"",y:""},scrollBarVis:!1,searchDelay:0,searches:{},searchesFixed:{"*":{}},serverMethod:null,sortDetails:[],stateDuration:0,stateLoadCallback:()=>({}),stateLoaded:null,stateSaveCallback:()=>{},stateSaved:null,tabIndex:0,tableId:"",titleRow:null,typeDetect:!0,unique:"",wasFiltered:!1,wasOrdered:!1,windowResizeCb:()=>{}};function Cn(e={}){return k.object.assignDeep({},jn,e)}let On={Column:wr,Row:nt,Search:P,Settings:Cn},Sn={ajax:null,autoWidth:!0,caption:"",classes:{},column:br,columnDefs:null,columns:null,createdRow:null,data:null,deferLoading:null,deferRender:!0,destroy:!1,displayStart:0,dom:null,drawCallback:null,footerCallback:null,formatNumber:function(e,t){return e.toString().replace(/\B(?=(\d{3})+(?!\d))/g,t.language.thousands)},headerCallback:null,info:!0,infoCallback:null,initComplete:null,language:{ajax:"",aria:{orderable:": Activate to sort",orderableRemove:": Activate to remove sorting",orderableReverse:": Activate to invert sorting",paginate:{first:"First",last:"Last",next:"Next",number:"",previous:"Previous"}},decimal:"",emptyTable:"No data available in table",entries:{_:"entries",1:"entry"},info:"Showing _START_ to _END_ of _TOTAL_ _ENTRIES-TOTAL_",infoEmpty:"Showing 0 to 0 of 0 _ENTRIES-TOTAL_",infoFiltered:"(filtered from _MAX_ total _ENTRIES-MAX_)",infoPostFix:"",lengthLabels:{"-1":"All"},lengthMenu:"_MENU_ _ENTRIES_ per page",loadingRecords:"Loading...",paginate:{first:"«",last:"»",next:"›",previous:"‹"},processing:"",search:"Search:",searchPlaceholder:"",thousands:",",url:"",zeroRecords:"No matching records found"},layout:{bottomEnd:"paging",bottomStart:"info",topEnd:"search",topStart:"pageLength"},lengthChange:!0,lengthMenu:[10,25,50,100],on:{},order:[[0,"asc"]],orderCellsTop:null,orderClasses:!0,orderDescReverse:!0,orderFixed:[],orderMulti:!0,ordering:!0,pageLength:10,paging:!0,pagingType:"",preDrawCallback:null,processing:!1,renderer:null,retrieve:!1,rowCallback:null,rowId:"DT_RowId",scrollCollapse:!1,scrollX:"",scrollY:"",search:jt,searchCols:[],searchDelay:0,searching:!0,serverMethod:"GET",serverSide:!1,stateDuration:7200,stateLoadCallback:function(e){try{var t=(-1===e.stateDuration?sessionStorage:localStorage).getItem("DataTables_"+e.unique+"_"+M("win").location.pathname);return t?JSON.parse(t):{}}catch(e){return{}}},stateLoadParams:null,stateLoaded:null,stateSave:!1,stateSaveCallback:function(e,t){try{(-1===e.stateDuration?sessionStorage:localStorage).setItem("DataTables_"+e.unique+"_"+M("win").location.pathname,JSON.stringify(t))}catch(e){}},stateSaveParams:null,tabIndex:0,titleRow:null,typeDetect:!0},x=function(e,t){if(bn(e,t))return x;if(this.api=()=>new $(e),"string"==typeof this.jquery)return new x(this.toArray(),e),this;var E=void 0===t,r=F.s(e);let L=r.count();return E&&(t={}),r.each(e=>{var r=1<L?k.object.assignDeepObjects({},t,!0):t,n=0,a=e.getAttribute("id"),i=F.s(e);if("table"!=e.nodeName.toLowerCase())q(null,0,"Non-table node initialisation ("+e.nodeName+")",2);else{r.on&&r.on.options&&ar(i,"options",r.on.options),F.trigger("options.dt",[r]),i.trigger("options.dt",!0,[r]),Ar(Sn,!0),Dr(br),k.object.assign(r,ir(i.data())),Ar(r);var o=X.settings;for(n=0,R=o.length;n<R;n++){var l=o[n];if(l.table==e||l.thead&&l.thead.parentNode==e||l.tfoot&&l.tfoot.parentNode==e){var s=r.retrieve||!1,c=r.destroy||!1;if(E||s)return l.instance;if(c){new $(l).destroy();break}return void q(l,0,"Cannot reinitialise DataTable",3)}if(l.tableId==e.id){o.splice(n,1);break}}null!==a&&""!==a||(a="DataTables_Table_"+X._unique++,e.id=a),i.children("colgroup").remove();var d=Cn({destroyWidth:i.width(),unique:a,tableId:a,colgroup:F.c("colgroup"),fastData:function(e,t,r){return H(d,e,t,r)}});d.table=e,d.init=r,o.push(d),d.api=new $(d),d.instance=F.s(e),d.instance.api=()=>d.api,r.lengthMenu&&!r.pageLength&&(r.pageLength="number"==typeof r.lengthMenu[0]?r.lengthMenu[0]:Array.isArray(r.lengthMenu[0])?r.lengthMenu[0][0]:r.lengthMenu[0].value);let t=k.object.assignDeepObjects(k.object.assignDeep({},Sn),r);W(d.features,t,["autoWidth","deferRender","info","lengthChange","orderClasses","ordering","orderMulti","paging","processing","searching","serverSide"]),W(d,t,["ajax","formatNumber","serverMethod","order","orderFixed","lengthMenu","pagingType","stateDuration","orderCellsTop","tabIndex","dom","stateLoadCallback","stateSaveCallback","renderer","searchDelay","rowId","caption","layout","orderDescReverse","orderIndicators","orderHandler","titleRow","typeDetect","pageLength","searchCols"]),W(d.scroll,t,[["scrollX","x"],["scrollY","y"],["scrollCollapse","collapse"]]),W(d.language,t,"infoCallback"),d.searches["*"]=P(t.search),z(d,"draw",t.drawCallback),z(d,"stateSaveParams",t.stateSaveParams),z(d,"stateLoadParams",t.stateLoadParams),z(d,"stateLoaded",t.stateLoaded),z(d,"row",t.rowCallback),z(d,"rowCreated",t.createdRow),z(d,"header",t.headerCallback),z(d,"footer",t.footerCallback),z(d,"init",t.initComplete),z(d,"preDraw",t.preDrawCallback),d.rowIdFn=k.get(d.rowId),t.on&&Object.keys(t.on).forEach(function(e){ar(i,e,t.on[e])}),a=d,-1===xr.barWidth&&(f=(u=(h=F.c("div").css({position:"fixed",top:"0",left:-1*M("win").pageXOffset+"px",height:"1px",width:"1px",overflow:"hidden"}).append(F.c("div").css({position:"absolute",top:"1px",left:"1px",width:"100px",overflow:"scroll"}).append(F.c("div").css({width:"100%",height:"10px"}))).appendTo("body")).children()).children(),xr.barWidth=u.get(0).offsetWidth-u.get(0).clientWidth,xr.scrollbarLeft=1!==Math.round(f.offset().left),h.remove()),Object.assign(a.browser,xr),a.scroll.barWidth=xr.barWidth;var u=d.classes,f=(k.object.assignDeep(u,X.classes,t.classes),i.classAdd(u.table),d.features.paging||(t.displayStart=0),-1===d.displayStartInit&&(d.displayStartInit=t.displayStart,d.displayStart=t.displayStart),t.deferLoading),p=(null!==f&&(d.deferLoading=!0,Array.isArray(f)?(d.recordsDisplay=f[0],d.recordsTotal=f[1]):(d.recordsDisplay=f,d.recordsTotal=f)),[]),h=i.children("thead"),a=Yt(d,h.get(0),!1);if(t.columns)p=t.columns;else if(a.length)for(R=a[n=0].length;n<R;n++)p.push(null);for(n=0,R=p.length;n<R;n++)jr(d);var g,m,v,y,b,w,x=d,T=t.columnDefs,_=p,A=a,D=function(e,t){Cr(d,e,t)},j=x.columns;if(_)for(g=0,m=_.length;g<m;g++)_[g]&&_[g].name&&(j[g].name=_[g].name);if(T)for(g=T.length-1;0<=g;g--){let t=T[g],e=void 0!==t.target?t.target:void 0!==t.targets?t.targets:t.aTargets;for(v=0,y=(e=Array.isArray(e)?e:[e]).length;v<y;v++){var C=e[v];if("number"==typeof C&&0<=C){for(;j.length<=C;)jr(x);D(C,t)}else if("number"==typeof C&&C<0)D(j.length+C,t);else if("string"==typeof C)for(b=0,w=j.length;b<w;b++)"_all"===C?D(b,t):-1!==C.indexOf(":name")?j[b].name===C.replace(":name","")&&D(b,t):A.forEach(function(e){e[b]&&(e=e[b].cell,C.match(/^[a-z][\w-]*$/i)&&(C="."+C),e.matches(C))&&D(b,t)})}}if(_)for(g=0,m=_.length;g<m;g++)D(g,_[g]);var O,a=i.children("tbody").find("tr:first-child").eq(0),S=(a.count()&&(O=function(e,t){return null!==e.getAttribute("data-"+t)?t:null},a.eq(0).children("th, td").each(function(e,t){var r,n=d.columns[t];n||q(d,0,"Incorrect column count",18),n.data===t&&(r=O(e,"sort")||O(e,"order"),e=O(e,"filter")||O(e,"search"),null===r&&null===e||(n.data={_:t+".display",sort:null!==r?t+".@data-"+r:void 0,type:null!==r?t+".@data-"+r:void 0,filter:null!==e?t+".@data-"+e:void 0},n._isArrayHost=!0,Cr(d,t)))})),z(d,"draw",Ot),d.features);if(t.stateSave&&(S.stateSave=!0),void 0===t.order)for(var N=d.order,n=0,R=N.length;n<R;n++)N[n][1]=d.columns[n].orderSequence[0];Dt(d),z(d,"draw",function(){(d.wasOrdered||"ssp"===U(d)||S.deferRender)&&Dt(d)});var a=i.children("caption"),a=(d.caption&&(a=0===a.count()?F.c("caption").prependTo(i):a).html(d.caption),a.count()&&(a.get(0)._captionSide=a.css("caption-side"),d.captionNode=a.get(0)),a.count()?d.colgroup.insertAfter(a.get(0)):d.colgroup.prependTo(e),0===h.count()&&(h=F.c("thead").appendTo(i)),d.thead=h.get(0),i.children("tbody")),a=(0===a.count()&&(a=F.c("tbody").insertAfter(h.get(0))),d.tbody=a.get(0),i.children("tfoot")),I=(0===a.count()&&(a=F.c("tfoot").appendTo(e)),d.tfoot=a.get(0),d.display=d.displayMaster.slice(),d.initialised=!0,d.language);if(t.language&&k.object.assignDeep(I,t.language),I.ajax){a=function(e){_r(e),k.object.assignDeep(I,e,d.init.language),B(d,null,"i18n",[d],!0),Nt(d)};if("function"==typeof I.ajax)I.ajax(d,a);else{let e={dataType:"json",url:"",success:a,error:function(){q(d,0,"i18n file loading error",21),Nt(d)}};"string"==typeof I.ajax?e.url=I.ajax:e=k.object.assign(e,I.ajax),k.ajax(e)}}else B(d,null,"i18n",[d],!0),Nt(d)}}),this.api()};return x.type=t,x.types=function(){return g.detect.map(function(e){return e._name})},x.render=yr,x.ext=X,x.use=k.external,x.factory=bn,x.versionCheck=k.version.check,x.version=X.version,x.isDataTable=function(e){if(e instanceof $)return!0;o(e)&&(e=Array.from(e));var t=F.s(e).get(0),r=!1;for(let e=0;e<X.settings.length;e++){var n=X.settings[e],a=n.scrollHead?n.scrollHead.find("table").get(0):null,i=n.scrollFoot?n.scrollFoot.find("table").get(0):null;n.table!==t&&a!==t&&i!==t||(r=!0)}return r},x.tables=function(t){var e=!1,r=(t&&"boolean"!=typeof t&&(e=t.api||!1,t=t.visible||!1),X.settings.filter(function(e){return!(t&&!F.s(e.table).isVisible())}).map(function(e){return e.table}));return e?new $(r):r},x.util=k,x.Api=$,x.datetime=function(r,n){var a="datetime-"+r;n=n||"en",g.order[a]||t(a,{detect:function(e){var t=mr(e,r,n);return!(""!==e&&!t)&&a},order:{pre:function(e){return mr(e,r,n)||0}}}),g.className[a]||(g.className[a]="dt-right")},x.__browser=xr,x.Dom=F,x.ajax=k.ajax,x.key=function(e){var c;sn=!0,c=e,new Promise(function(t){try{var e=c.split(":");if(2!==e.length)return v.valid=!1,t();var r=e[0],n=e[1],a=r.match(/(plus|trial|editor)_(\d+)_(\d{4})(\d{2})(\d{2})/);if(!a||6!==a.length)return v.valid=!1,t();v.type=a[1],v.developers=parseInt(a[2]),v.expires=new Date(a[3]+"-"+a[4]+"-"+a[5]);var i=yn(),o=pn(fn),l=pn(n),s=(new TextEncoder).encode(r);i?i.importKey("raw",o,{name:"ECDSA",namedCurve:"P-256"},!1,["verify"]).then(function(e){return i.verify({name:"ECDSA",hash:{name:"SHA-256"}},e,l,s)}).then(function(e){v.valid=e,t()}).catch(function(){v.valid=!1,t()}):(v.valid=!1,t())}catch(e){v.valid=!1,t()}}).then(e=>{sn=!1,hn(cn,dn)}).catch(()=>{sn=!1,hn(cn,dn)})},O=x,Object.defineProperty(O,"plus",{value:function(e,t=""){var r=M("win").location.hostname;return!("192.168.234.234"!==r&&!r.endsWith(".datatables.net")&&"datatables.net"!==r)||(sn?(cn=e,dn=t,!0):hn(e,t))},configurable:!1,enumerable:!1,writable:!1}),x.settings=X.settings,x.models=On,x.defaults=Sn,x.feature={register:Ke},k.external(x),void 0!==A&&A.jQuery&&k.external(A.jQuery),x});