diff --git a/.laminas-ci/pre-run.sh b/.laminas-ci/pre-run.sh
index c24f8f1d..2b5300aa 100755
--- a/.laminas-ci/pre-run.sh
+++ b/.laminas-ci/pre-run.sh
@@ -12,6 +12,4 @@ if [[ ${COMMAND} =~ phpunit ]];then
cp config/autoload/mail.local.php.dist config/autoload/mail.local.php
cp config/autoload/local.test.php.dist config/autoload/local.test.php
- echo 'running if'
-
fi
diff --git a/psalm-baseline.xml b/psalm-baseline.xml
index 35fe0e50..4c71f0da 100644
--- a/psalm-baseline.xml
+++ b/psalm-baseline.xml
@@ -11,4 +11,14 @@
iterable
+
+
+ init
+
+
+
+
+ init
+
+
diff --git a/public/js/app.js b/public/js/app.js
index de80ce89..42abca1b 100644
--- a/public/js/app.js
+++ b/public/js/app.js
@@ -79,4 +79,4 @@ const nb=new Map,ib={set(t,e,n){nb.has(t)||nb.set(t,new Map);const i=nb.get(t);i
* Copyright 2021 Hyunje Jun, MDBootstrap and Contributors
* Licensed under MIT
*/
-function Lw(t){return getComputedStyle(t)}function jw(t,e){for(var n in e){var i=e[n];"number"==typeof i&&(i+="px"),t.style[n]=i}return t}function Hw(t){var e=document.createElement("div");return e.className=t,e}var Bw="undefined"!=typeof Element&&(Element.prototype.matches||Element.prototype.webkitMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector);function Fw(t,e){if(!Bw)throw new Error("No element matching method supported");return Bw.call(t,e)}function Ww(t){t.remove?t.remove():t.parentNode&&t.parentNode.removeChild(t)}function zw(t,e){return Array.prototype.filter.call(t.children,(function(t){return Fw(t,e)}))}var Vw={main:"ps",rtl:"ps__rtl",element:{thumb:function(t){return"ps__thumb-"+t},rail:function(t){return"ps__rail-"+t},consuming:"ps__child--consume"},state:{focus:"ps--focus",clicking:"ps--clicking",active:function(t){return"ps--active-"+t},scrolling:function(t){return"ps--scrolling-"+t}}},$w={x:null,y:null};function Uw(t,e){var n=t.element.classList,i=Vw.state.scrolling(e);n.contains(i)?clearTimeout($w[e]):n.add(i)}function qw(t,e){$w[e]=setTimeout((function(){return t.isAlive&&t.element.classList.remove(Vw.state.scrolling(e))}),t.settings.scrollingThreshold)}var Yw=function(t){this.element=t,this.handlers={}},Gw={isEmpty:{configurable:!0}};Yw.prototype.bind=function(t,e){void 0===this.handlers[t]&&(this.handlers[t]=[]),this.handlers[t].push(e),this.element.addEventListener(t,e,!1)},Yw.prototype.unbind=function(t,e){var n=this;this.handlers[t]=this.handlers[t].filter((function(i){return!(!e||i===e)||(n.element.removeEventListener(t,i,!1),!1)}))},Yw.prototype.unbindAll=function(){for(var t in this.handlers)this.unbind(t)},Gw.isEmpty.get=function(){var t=this;return Object.keys(this.handlers).every((function(e){return 0===t.handlers[e].length}))},Object.defineProperties(Yw.prototype,Gw);var Xw=function(){this.eventElements=[]};function Qw(t){if("function"==typeof window.CustomEvent)return new CustomEvent(t);var e=document.createEvent("CustomEvent");return e.initCustomEvent(t,!1,!1,void 0),e}function Zw(t,e,n,i,r){var s;if(void 0===i&&(i=!0),void 0===r&&(r=!1),"top"===e)s=["contentHeight","containerHeight","scrollTop","y","up","down"];else{if("left"!==e)throw new Error("A proper axis should be provided");s=["contentWidth","containerWidth","scrollLeft","x","left","right"]}!function(t,e,n,i,r){var s=n[0],o=n[1],a=n[2],l=n[3],c=n[4],h=n[5];void 0===i&&(i=!0);void 0===r&&(r=!1);var u=t.element;t.reach[l]=null,u[a]<1&&(t.reach[l]="start");u[a]>t[s]-t[o]-1&&(t.reach[l]="end");e&&(u.dispatchEvent(Qw("ps-scroll-"+l)),e<0?u.dispatchEvent(Qw("ps-scroll-"+c)):e>0&&u.dispatchEvent(Qw("ps-scroll-"+h)),i&&function(t,e){Uw(t,e),qw(t,e)}(t,l));t.reach[l]&&(e||r)&&u.dispatchEvent(Qw("ps-"+l+"-reach-"+t.reach[l]))}(t,n,s,i,r)}function Kw(t){return parseInt(t,10)||0}Xw.prototype.eventElement=function(t){var e=this.eventElements.filter((function(e){return e.element===t}))[0];return e||(e=new Yw(t),this.eventElements.push(e)),e},Xw.prototype.bind=function(t,e,n){this.eventElement(t).bind(e,n)},Xw.prototype.unbind=function(t,e,n){var i=this.eventElement(t);i.unbind(e,n),i.isEmpty&&this.eventElements.splice(this.eventElements.indexOf(i),1)},Xw.prototype.unbindAll=function(){this.eventElements.forEach((function(t){return t.unbindAll()})),this.eventElements=[]},Xw.prototype.once=function(t,e,n){var i=this.eventElement(t),r=function(t){i.unbind(e,r),n(t)};i.bind(e,r)};var Jw={isWebKit:"undefined"!=typeof document&&"WebkitAppearance"in document.documentElement.style,supportsTouch:"undefined"!=typeof window&&("ontouchstart"in window||"maxTouchPoints"in window.navigator&&window.navigator.maxTouchPoints>0||window.DocumentTouch&&document instanceof window.DocumentTouch),supportsIePointer:"undefined"!=typeof navigator&&navigator.msMaxTouchPoints,isChrome:"undefined"!=typeof navigator&&/Chrome/i.test(navigator&&navigator.userAgent)};function tS(t){var e=t.element,n=Math.floor(e.scrollTop),i=e.getBoundingClientRect();t.containerWidth=Math.round(i.width),t.containerHeight=Math.round(i.height),t.contentWidth=e.scrollWidth,t.contentHeight=e.scrollHeight,e.contains(t.scrollbarXRail)||(zw(e,Vw.element.rail("x")).forEach((function(t){return Ww(t)})),e.appendChild(t.scrollbarXRail)),e.contains(t.scrollbarYRail)||(zw(e,Vw.element.rail("y")).forEach((function(t){return Ww(t)})),e.appendChild(t.scrollbarYRail)),!t.settings.suppressScrollX&&t.containerWidth+t.settings.scrollXMarginOffset=t.railXWidth-t.scrollbarXWidth&&(t.scrollbarXLeft=t.railXWidth-t.scrollbarXWidth),t.scrollbarYTop>=t.railYHeight-t.scrollbarYHeight&&(t.scrollbarYTop=t.railYHeight-t.scrollbarYHeight),function(t,e){var n={width:e.railXWidth},i=Math.floor(t.scrollTop);e.isRtl?n.left=e.negativeScrollAdjustment+t.scrollLeft+e.containerWidth-e.contentWidth:n.left=t.scrollLeft;e.isScrollbarXUsingBottom?n.bottom=e.scrollbarXBottom-i:n.top=e.scrollbarXTop+i;jw(e.scrollbarXRail,n);var r={top:i,height:e.railYHeight};e.isScrollbarYUsingRight?e.isRtl?r.right=e.contentWidth-(e.negativeScrollAdjustment+t.scrollLeft)-e.scrollbarYRight-e.scrollbarYOuterWidth-9:r.right=e.scrollbarYRight-t.scrollLeft:e.isRtl?r.left=e.negativeScrollAdjustment+t.scrollLeft+2*e.containerWidth-e.contentWidth-e.scrollbarYLeft-e.scrollbarYOuterWidth:r.left=e.scrollbarYLeft+t.scrollLeft;jw(e.scrollbarYRail,r),jw(e.scrollbarX,{left:e.scrollbarXLeft,width:e.scrollbarXWidth-e.railBorderXWidth}),jw(e.scrollbarY,{top:e.scrollbarYTop,height:e.scrollbarYHeight-e.railBorderYWidth})}(e,t),t.scrollbarXActive?e.classList.add(Vw.state.active("x")):(e.classList.remove(Vw.state.active("x")),t.scrollbarXWidth=0,t.scrollbarXLeft=0,e.scrollLeft=!0===t.isRtl?t.contentWidth:0),t.scrollbarYActive?e.classList.add(Vw.state.active("y")):(e.classList.remove(Vw.state.active("y")),t.scrollbarYHeight=0,t.scrollbarYTop=0,e.scrollTop=0)}function eS(t,e){return t.settings.minScrollbarLength&&(e=Math.max(e,t.settings.minScrollbarLength)),t.settings.maxScrollbarLength&&(e=Math.min(e,t.settings.maxScrollbarLength)),e}function nS(t,e){var n=e[0],i=e[1],r=e[2],s=e[3],o=e[4],a=e[5],l=e[6],c=e[7],h=e[8],u=t.element,d=null,f=null,p=null;function g(e){e.touches&&e.touches[0]&&(e[r]=e.touches[0].pageY),u[l]=d+p*(e[r]-f),Uw(t,c),tS(t),e.stopPropagation(),e.type.startsWith("touch")&&e.changedTouches.length>1&&e.preventDefault()}function m(){qw(t,c),t[h].classList.remove(Vw.state.clicking),t.event.unbind(t.ownerDocument,"mousemove",g)}function v(e,o){d=u[l],o&&e.touches&&(e[r]=e.touches[0].pageY),f=e[r],p=(t[i]-t[n])/(t[s]-t[a]),o?t.event.bind(t.ownerDocument,"touchmove",g):(t.event.bind(t.ownerDocument,"mousemove",g),t.event.once(t.ownerDocument,"mouseup",m),e.preventDefault()),t[h].classList.add(Vw.state.clicking),e.stopPropagation()}t.event.bind(t[o],"mousedown",(function(t){v(t)})),t.event.bind(t[o],"touchstart",(function(t){v(t,!0)}))}var iS={"click-rail":function(t){t.element,t.event.bind(t.scrollbarY,"mousedown",(function(t){return t.stopPropagation()})),t.event.bind(t.scrollbarYRail,"mousedown",(function(e){var n=e.pageY-window.pageYOffset-t.scrollbarYRail.getBoundingClientRect().top>t.scrollbarYTop?1:-1;t.element.scrollTop+=n*t.containerHeight,tS(t),e.stopPropagation()})),t.event.bind(t.scrollbarX,"mousedown",(function(t){return t.stopPropagation()})),t.event.bind(t.scrollbarXRail,"mousedown",(function(e){var n=e.pageX-window.pageXOffset-t.scrollbarXRail.getBoundingClientRect().left>t.scrollbarXLeft?1:-1;t.element.scrollLeft+=n*t.containerWidth,tS(t),e.stopPropagation()}))},"drag-thumb":function(t){nS(t,["containerWidth","contentWidth","pageX","railXWidth","scrollbarX","scrollbarXWidth","scrollLeft","x","scrollbarXRail"]),nS(t,["containerHeight","contentHeight","pageY","railYHeight","scrollbarY","scrollbarYHeight","scrollTop","y","scrollbarYRail"])},keyboard:function(t){var e=t.element;t.event.bind(t.ownerDocument,"keydown",(function(n){if(!(n.isDefaultPrevented&&n.isDefaultPrevented()||n.defaultPrevented)&&(Fw(e,":hover")||Fw(t.scrollbarX,":focus")||Fw(t.scrollbarY,":focus"))){var i,r=document.activeElement?document.activeElement:t.ownerDocument.activeElement;if(r){if("IFRAME"===r.tagName)r=r.contentDocument.activeElement;else for(;r.shadowRoot;)r=r.shadowRoot.activeElement;if(Fw(i=r,"input,[contenteditable]")||Fw(i,"select,[contenteditable]")||Fw(i,"textarea,[contenteditable]")||Fw(i,"button,[contenteditable]"))return}var s=0,o=0;switch(n.which){case 37:s=n.metaKey?-t.contentWidth:n.altKey?-t.containerWidth:-30;break;case 38:o=n.metaKey?t.contentHeight:n.altKey?t.containerHeight:30;break;case 39:s=n.metaKey?t.contentWidth:n.altKey?t.containerWidth:30;break;case 40:o=n.metaKey?-t.contentHeight:n.altKey?-t.containerHeight:-30;break;case 32:o=n.shiftKey?t.containerHeight:-t.containerHeight;break;case 33:o=t.containerHeight;break;case 34:o=-t.containerHeight;break;case 36:o=t.contentHeight;break;case 35:o=-t.contentHeight;break;default:return}t.settings.suppressScrollX&&0!==s||t.settings.suppressScrollY&&0!==o||(e.scrollTop-=o,e.scrollLeft+=s,tS(t),function(n,i){var r=Math.floor(e.scrollTop);if(0===n){if(!t.scrollbarYActive)return!1;if(0===r&&i>0||r>=t.contentHeight-t.containerHeight&&i<0)return!t.settings.wheelPropagation}var s=e.scrollLeft;if(0===i){if(!t.scrollbarXActive)return!1;if(0===s&&n<0||s>=t.contentWidth-t.containerWidth&&n>0)return!t.settings.wheelPropagation}return!0}(s,o)&&n.preventDefault())}}))},wheel:function(t){var e=t.element;function n(n){var i=function(t){var e=t.deltaX,n=-1*t.deltaY;return void 0!==e&&void 0!==n||(e=-1*t.wheelDeltaX/6,n=t.wheelDeltaY/6),t.deltaMode&&1===t.deltaMode&&(e*=10,n*=10),e!=e&&n!=n&&(e=0,n=t.wheelDelta),t.shiftKey?[-n,-e]:[e,n]}(n),r=i[0],s=i[1];if(!function(t,n,i){if(!Jw.isWebKit&&e.querySelector("select:focus"))return!0;if(!e.contains(t))return!1;for(var r=t;r&&r!==e;){if(r.classList.contains(Vw.element.consuming))return!0;var s=Lw(r);if(i&&s.overflowY.match(/(scroll|auto)/)){var o=r.scrollHeight-r.clientHeight;if(o>0&&(r.scrollTop>0&&i<0||r.scrollTop0))return!0}if(n&&s.overflowX.match(/(scroll|auto)/)){var a=r.scrollWidth-r.clientWidth;if(a>0&&(r.scrollLeft>0&&n<0||r.scrollLeft0))return!0}r=r.parentNode}return!1}(n.target,r,s)){var o=!1;t.settings.useBothWheelAxes?t.scrollbarYActive&&!t.scrollbarXActive?(s?e.scrollTop-=s*t.settings.wheelSpeed:e.scrollTop+=r*t.settings.wheelSpeed,o=!0):t.scrollbarXActive&&!t.scrollbarYActive&&(r?e.scrollLeft+=r*t.settings.wheelSpeed:e.scrollLeft-=s*t.settings.wheelSpeed,o=!0):(e.scrollTop-=s*t.settings.wheelSpeed,e.scrollLeft+=r*t.settings.wheelSpeed),tS(t),o=o||function(n,i){var r=Math.floor(e.scrollTop),s=0===e.scrollTop,o=r+e.offsetHeight===e.scrollHeight,a=0===e.scrollLeft,l=e.scrollLeft+e.offsetWidth===e.scrollWidth;return!(Math.abs(i)>Math.abs(n)?s||o:a||l)||!t.settings.wheelPropagation}(r,s),o&&!n.ctrlKey&&(n.stopPropagation(),n.preventDefault())}}void 0!==window.onwheel?t.event.bind(e,"wheel",n):void 0!==window.onmousewheel&&t.event.bind(e,"mousewheel",n)},touch:function(t){if(Jw.supportsTouch||Jw.supportsIePointer){var e=t.element,n={},i=0,r={},s=null;Jw.supportsTouch?(t.event.bind(e,"touchstart",c),t.event.bind(e,"touchmove",h),t.event.bind(e,"touchend",u)):Jw.supportsIePointer&&(window.PointerEvent?(t.event.bind(e,"pointerdown",c),t.event.bind(e,"pointermove",h),t.event.bind(e,"pointerup",u)):window.MSPointerEvent&&(t.event.bind(e,"MSPointerDown",c),t.event.bind(e,"MSPointerMove",h),t.event.bind(e,"MSPointerUp",u)))}function o(n,i){e.scrollTop-=i,e.scrollLeft-=n,tS(t)}function a(t){return t.targetTouches?t.targetTouches[0]:t}function l(t){return(!t.pointerType||"pen"!==t.pointerType||0!==t.buttons)&&(!(!t.targetTouches||1!==t.targetTouches.length)||!(!t.pointerType||"mouse"===t.pointerType||t.pointerType===t.MSPOINTER_TYPE_MOUSE))}function c(t){if(l(t)){var e=a(t);n.pageX=e.pageX,n.pageY=e.pageY,i=(new Date).getTime(),null!==s&&clearInterval(s)}}function h(s){if(l(s)){var c=a(s),h={pageX:c.pageX,pageY:c.pageY},u=h.pageX-n.pageX,d=h.pageY-n.pageY;if(function(t,n,i){if(!e.contains(t))return!1;for(var r=t;r&&r!==e;){if(r.classList.contains(Vw.element.consuming))return!0;var s=Lw(r);if(i&&s.overflowY.match(/(scroll|auto)/)){var o=r.scrollHeight-r.clientHeight;if(o>0&&(r.scrollTop>0&&i<0||r.scrollTop0))return!0}if(n&&s.overflowX.match(/(scroll|auto)/)){var a=r.scrollWidth-r.clientWidth;if(a>0&&(r.scrollLeft>0&&n<0||r.scrollLeft0))return!0}r=r.parentNode}return!1}(s.target,u,d))return;o(u,d),n=h;var f=(new Date).getTime(),p=f-i;p>0&&(r.x=u/p,r.y=d/p,i=f),function(n,i){var r=Math.floor(e.scrollTop),s=e.scrollLeft,o=Math.abs(n),a=Math.abs(i);if(a>o){if(i<0&&r===t.contentHeight-t.containerHeight||i>0&&0===r)return 0===window.scrollY&&i>0&&Jw.isChrome}else if(o>a&&(n<0&&s===t.contentWidth-t.containerWidth||n>0&&0===s))return!0;return!0}(u,d)&&s.preventDefault()}}function u(){t.settings.swipeEasing&&(clearInterval(s),s=setInterval((function(){t.isInitialized?clearInterval(s):r.x||r.y?Math.abs(r.x)<.01&&Math.abs(r.y)<.01?clearInterval(s):t.element?(o(30*r.x,30*r.y),r.x*=.8,r.y*=.8):clearInterval(s):clearInterval(s)}),10))}}},rS=function(t,e){var n=this;if(void 0===e&&(e={}),"string"==typeof t&&(t=document.querySelector(t)),!t||!t.nodeName)throw new Error("no element is specified to initialize PerfectScrollbar");for(var i in this.element=t,t.classList.add(Vw.main),this.settings={handlers:["click-rail","drag-thumb","keyboard","wheel","touch"],maxScrollbarLength:null,minScrollbarLength:null,scrollingThreshold:1e3,scrollXMarginOffset:0,scrollYMarginOffset:0,suppressScrollX:!1,suppressScrollY:!1,swipeEasing:!0,useBothWheelAxes:!1,wheelPropagation:!0,wheelSpeed:1},e)this.settings[i]=e[i];this.containerWidth=null,this.containerHeight=null,this.contentWidth=null,this.contentHeight=null;var r,s,o=function(){return t.classList.add(Vw.state.focus)},a=function(){return t.classList.remove(Vw.state.focus)};this.isRtl="rtl"===Lw(t).direction,!0===this.isRtl&&t.classList.add(Vw.rtl),this.isNegativeScroll=(s=t.scrollLeft,t.scrollLeft=-1,r=t.scrollLeft<0,t.scrollLeft=s,r),this.negativeScrollAdjustment=this.isNegativeScroll?t.scrollWidth-t.clientWidth:0,this.event=new Xw,this.ownerDocument=t.ownerDocument||document,this.scrollbarXRail=Hw(Vw.element.rail("x")),t.appendChild(this.scrollbarXRail),this.scrollbarX=Hw(Vw.element.thumb("x")),this.scrollbarXRail.appendChild(this.scrollbarX),this.scrollbarX.setAttribute("tabindex",0),this.event.bind(this.scrollbarX,"focus",o),this.event.bind(this.scrollbarX,"blur",a),this.scrollbarXActive=null,this.scrollbarXWidth=null,this.scrollbarXLeft=null;var l=Lw(this.scrollbarXRail);this.scrollbarXBottom=parseInt(l.bottom,10),isNaN(this.scrollbarXBottom)?(this.isScrollbarXUsingBottom=!1,this.scrollbarXTop=Kw(l.top)):this.isScrollbarXUsingBottom=!0,this.railBorderXWidth=Kw(l.borderLeftWidth)+Kw(l.borderRightWidth),jw(this.scrollbarXRail,{display:"block"}),this.railXMarginWidth=Kw(l.marginLeft)+Kw(l.marginRight),jw(this.scrollbarXRail,{display:""}),this.railXWidth=null,this.railXRatio=null,this.scrollbarYRail=Hw(Vw.element.rail("y")),t.appendChild(this.scrollbarYRail),this.scrollbarY=Hw(Vw.element.thumb("y")),this.scrollbarYRail.appendChild(this.scrollbarY),this.scrollbarY.setAttribute("tabindex",0),this.event.bind(this.scrollbarY,"focus",o),this.event.bind(this.scrollbarY,"blur",a),this.scrollbarYActive=null,this.scrollbarYHeight=null,this.scrollbarYTop=null;var c=Lw(this.scrollbarYRail);this.scrollbarYRight=parseInt(c.right,10),isNaN(this.scrollbarYRight)?(this.isScrollbarYUsingRight=!1,this.scrollbarYLeft=Kw(c.left)):this.isScrollbarYUsingRight=!0,this.scrollbarYOuterWidth=this.isRtl?function(t){var e=Lw(t);return Kw(e.width)+Kw(e.paddingLeft)+Kw(e.paddingRight)+Kw(e.borderLeftWidth)+Kw(e.borderRightWidth)}(this.scrollbarY):null,this.railBorderYWidth=Kw(c.borderTopWidth)+Kw(c.borderBottomWidth),jw(this.scrollbarYRail,{display:"block"}),this.railYMarginHeight=Kw(c.marginTop)+Kw(c.marginBottom),jw(this.scrollbarYRail,{display:""}),this.railYHeight=null,this.railYRatio=null,this.reach={x:t.scrollLeft<=0?"start":t.scrollLeft>=this.contentWidth-this.containerWidth?"end":null,y:t.scrollTop<=0?"start":t.scrollTop>=this.contentHeight-this.containerHeight?"end":null},this.isAlive=!0,this.settings.handlers.forEach((function(t){return iS[t](n)})),this.lastScrollTop=Math.floor(t.scrollTop),this.lastScrollLeft=t.scrollLeft,this.event.bind(this.element,"scroll",(function(t){return n.onScroll(t)})),tS(this)};rS.prototype.update=function(){this.isAlive&&(this.negativeScrollAdjustment=this.isNegativeScroll?this.element.scrollWidth-this.element.clientWidth:0,jw(this.scrollbarXRail,{display:"block"}),jw(this.scrollbarYRail,{display:"block"}),this.railXMarginWidth=Kw(Lw(this.scrollbarXRail).marginLeft)+Kw(Lw(this.scrollbarXRail).marginRight),this.railYMarginHeight=Kw(Lw(this.scrollbarYRail).marginTop)+Kw(Lw(this.scrollbarYRail).marginBottom),jw(this.scrollbarXRail,{display:"none"}),jw(this.scrollbarYRail,{display:"none"}),tS(this),Zw(this,"top",0,!1,!0),Zw(this,"left",0,!1,!0),jw(this.scrollbarXRail,{display:""}),jw(this.scrollbarYRail,{display:""}))},rS.prototype.onScroll=function(t){this.isAlive&&(tS(this),Zw(this,"top",this.element.scrollTop-this.lastScrollTop),Zw(this,"left",this.element.scrollLeft-this.lastScrollLeft),this.lastScrollTop=Math.floor(this.element.scrollTop),this.lastScrollLeft=this.element.scrollLeft)},rS.prototype.destroy=function(){this.isAlive&&(this.event.unbindAll(),Ww(this.scrollbarX),Ww(this.scrollbarY),Ww(this.scrollbarXRail),Ww(this.scrollbarYRail),this.removePsClasses(),this.element=null,this.scrollbarX=null,this.scrollbarY=null,this.scrollbarXRail=null,this.scrollbarYRail=null,this.isAlive=!1)},rS.prototype.removePsClasses=function(){this.element.className=this.element.className.split(" ").filter((function(t){return!t.match(/^ps([-_].+|)$/)})).join(" ")};const sS=rS;(function(){const t=Bl(".scrollable");t.length>0&&t.each(((t,e)=>{new sS(e)}))})(),Bl(".search-toggle").on("click",(t=>{Bl(".search-box, .search-input").toggleClass("active"),Bl(".search-input input").focus(),t.preventDefault()})),function(){Bl(".sidebar .sidebar-menu li a").on("click",(function(){const t=Bl(this);t.parent().hasClass("open")?t.parent().children(".dropdown-menu").slideUp(200,(()=>{t.parent().removeClass("open")})):(t.parent().parent().children("li.open").children(".dropdown-menu").slideUp(200),t.parent().parent().children("li.open").children("a").removeClass("open"),t.parent().parent().children("li.open").removeClass("open"),t.parent().children(".dropdown-menu").slideDown(200,(()=>{t.parent().addClass("open")})))}));Bl(".sidebar").find(".sidebar-link").each(((t,e)=>{Bl(e).removeClass("active")})).filter((function(){const t=Bl(this).attr("href");return("/"===t[0]?t.substr(1):t)===window.location.pathname.substr(1)})).addClass("active"),Bl(".sidebar-toggle").on("click",(t=>{Bl(".app").toggleClass("is-collapsed"),t.preventDefault()})),Bl("#sidebar-toggle").click((t=>{t.preventDefault(),setTimeout((()=>{window.dispatchEvent(window.EVENT)}),300)}))}();var oS=n(743);const aS=n.n(oS)()(window);(function(){const t=new aS({color:"#ff6849"}),e=["clear-day","clear-night","partly-cloudy-day","partly-cloudy-night","cloudy","rain","sleet","snow","wind","fog"];let n=e.length;for(;n--;){const i=e[n],r=document.getElementsByClassName(i);let s=r.length;for(;s--;)t.set(r[s],i)}t.play()})(),Bl("#chat-sidebar-toggle").on("click",(t=>{Bl("#chat-sidebar").toggleClass("open"),t.preventDefault()}));!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("core-js/modules/es.array.concat.js"),require("core-js/modules/es.array.filter.js"),require("core-js/modules/es.array.find.js"),require("core-js/modules/es.array.find-index.js"),require("core-js/modules/es.array.includes.js"),require("core-js/modules/es.array.index-of.js"),require("core-js/modules/es.array.iterator.js"),require("core-js/modules/es.array.join.js"),require("core-js/modules/es.array.map.js"),require("core-js/modules/es.array.reverse.js"),require("core-js/modules/es.array.slice.js"),require("core-js/modules/es.array.sort.js"),require("core-js/modules/es.array.splice.js"),require("core-js/modules/es.date.to-json.js"),require("core-js/modules/es.number.constructor.js"),require("core-js/modules/es.object.assign.js"),require("core-js/modules/es.object.entries.js"),require("core-js/modules/es.object.keys.js"),require("core-js/modules/es.object.to-string.js"),require("core-js/modules/es.parse-float.js"),require("core-js/modules/es.parse-int.js"),require("core-js/modules/es.regexp.constructor.js"),require("core-js/modules/es.regexp.exec.js"),require("core-js/modules/es.regexp.to-string.js"),require("core-js/modules/es.string.includes.js"),require("core-js/modules/es.string.replace.js"),require("core-js/modules/es.string.search.js"),require("core-js/modules/es.string.split.js"),require("core-js/modules/es.string.trim.js"),require("core-js/modules/web.dom-collections.for-each.js"),require("core-js/modules/web.dom-collections.iterator.js"),require("jquery"),require("core-js/modules/es.object.get-prototype-of.js"),require("core-js/modules/es.string.ends-with.js"),require("core-js/modules/es.string.match.js"),require("core-js/modules/es.string.starts-with.js")):"function"==typeof define&&define.amd?define(["core-js/modules/es.array.concat.js","core-js/modules/es.array.filter.js","core-js/modules/es.array.find.js","core-js/modules/es.array.find-index.js","core-js/modules/es.array.includes.js","core-js/modules/es.array.index-of.js","core-js/modules/es.array.iterator.js","core-js/modules/es.array.join.js","core-js/modules/es.array.map.js","core-js/modules/es.array.reverse.js","core-js/modules/es.array.slice.js","core-js/modules/es.array.sort.js","core-js/modules/es.array.splice.js","core-js/modules/es.date.to-json.js","core-js/modules/es.number.constructor.js","core-js/modules/es.object.assign.js","core-js/modules/es.object.entries.js","core-js/modules/es.object.keys.js","core-js/modules/es.object.to-string.js","core-js/modules/es.parse-float.js","core-js/modules/es.parse-int.js","core-js/modules/es.regexp.constructor.js","core-js/modules/es.regexp.exec.js","core-js/modules/es.regexp.to-string.js","core-js/modules/es.string.includes.js","core-js/modules/es.string.replace.js","core-js/modules/es.string.search.js","core-js/modules/es.string.split.js","core-js/modules/es.string.trim.js","core-js/modules/web.dom-collections.for-each.js","core-js/modules/web.dom-collections.iterator.js","jquery","core-js/modules/es.object.get-prototype-of.js","core-js/modules/es.string.ends-with.js","core-js/modules/es.string.match.js","core-js/modules/es.string.starts-with.js"],e):(t="undefined"!=typeof globalThis?globalThis:t||self).BootstrapTable=e(null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,t.jQuery)}(void 0,(function(t,e,n,i,r,s,o,a,l,c,h,u,d,f,p,g,m,v,b,y,_,x,w,S,C,k,A,E,D,T,M,R){function O(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=Array(e);n=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s,o=!0,a=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return o=t.done,t},e:function(t){a=!0,s=t},f:function(){try{o||null==n.return||n.return()}finally{if(a)throw s}}}}function L(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,s,o,a=[],l=!0,c=!1;try{if(s=(n=n.call(t)).next,0===e);else for(;!(l=(i=s.call(n)).done)&&(a.push(i.value),a.length!==e);l=!0);}catch(t){c=!0,r=t}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw r}}return a}}(t,e)||F(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function j(t){return function(t){if(Array.isArray(t))return O(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||F(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function H(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,"string");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}function B(t){return B="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},B(t)}function F(t,e){if(t){if("string"==typeof t)return O(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?O(t,e):void 0}}var W={getBootstrapVersion:function(){var t=5;try{var e=R.fn.dropdown.Constructor.VERSION;void 0!==e&&(t=parseInt(e,10))}catch(t){}try{var n=bootstrap.Tooltip.VERSION;void 0!==n&&(t=parseInt(n,10))}catch(t){}return t},getIconsPrefix:function(t){return{bootstrap3:"glyphicon",bootstrap4:"fa",bootstrap5:"bi","bootstrap-table":"icon",bulma:"fa",foundation:"fa",materialize:"material-icons",semantic:"fa"}[t]||"fa"},getIcons:function(t){return{glyphicon:{paginationSwitchDown:"glyphicon-collapse-down icon-chevron-down",paginationSwitchUp:"glyphicon-collapse-up icon-chevron-up",refresh:"glyphicon-refresh icon-refresh",toggleOff:"glyphicon-list-alt icon-list-alt",toggleOn:"glyphicon-list-alt icon-list-alt",columns:"glyphicon-th icon-th",detailOpen:"glyphicon-plus icon-plus",detailClose:"glyphicon-minus icon-minus",fullscreen:"glyphicon-fullscreen",search:"glyphicon-search",clearSearch:"glyphicon-trash"},fa:{paginationSwitchDown:"fa-caret-square-down",paginationSwitchUp:"fa-caret-square-up",refresh:"fa-sync",toggleOff:"fa-toggle-off",toggleOn:"fa-toggle-on",columns:"fa-th-list",detailOpen:"fa-plus",detailClose:"fa-minus",fullscreen:"fa-arrows-alt",search:"fa-search",clearSearch:"fa-trash"},bi:{paginationSwitchDown:"bi-caret-down-square",paginationSwitchUp:"bi-caret-up-square",refresh:"bi-arrow-clockwise",toggleOff:"bi-toggle-off",toggleOn:"bi-toggle-on",columns:"bi-list-ul",detailOpen:"bi-plus",detailClose:"bi-dash",fullscreen:"bi-arrows-move",search:"bi-search",clearSearch:"bi-trash"},icon:{paginationSwitchDown:"icon-arrow-up-circle",paginationSwitchUp:"icon-arrow-down-circle",refresh:"icon-refresh-cw",toggleOff:"icon-toggle-right",toggleOn:"icon-toggle-right",columns:"icon-list",detailOpen:"icon-plus",detailClose:"icon-minus",fullscreen:"icon-maximize",search:"icon-search",clearSearch:"icon-trash-2"},"material-icons":{paginationSwitchDown:"grid_on",paginationSwitchUp:"grid_off",refresh:"refresh",toggleOff:"tablet",toggleOn:"tablet_android",columns:"view_list",detailOpen:"add",detailClose:"remove",fullscreen:"fullscreen",sort:"sort",search:"search",clearSearch:"delete"}}[t]||{}},getSearchInput:function(t){return"string"==typeof t.options.searchSelector?R(t.options.searchSelector):t.$toolbar.find(".search input")},extend:function(){for(var t=this,e=arguments.length,n=new Array(e),i=0;i1?e-1:0),i=1;i0&&void 0!==arguments[0]?arguments[0]:{};return 0===Object.entries(t).length&&t.constructor===Object},isNumeric:function(t){return!isNaN(parseFloat(t))&&isFinite(t)},getFieldTitle:function(t,e){var n,i=N(t);try{for(i.s();!(n=i.n()).done;){var r=n.value;if(r.field===e)return r.title}}catch(t){i.e(t)}finally{i.f()}return""},setFieldIndex:function(t){var e,n=0,i=[],r=N(t[0]);try{for(r.s();!(e=r.n()).done;)n+=e.value.colspan||1}catch(t){r.e(t)}finally{r.f()}for(var s=0;s1){for(var c=0,h=function(t){var e=r.filter((function(e){return e.fieldIndex===t})),n=e[e.length-1];if(e.length>1)for(var i=0;i0}}}catch(t){a.e(t)}finally{a.f()}}}catch(t){s.e(t)}finally{s.f()}if(!(t.length<2)){var d,f=N(e);try{var p=function(){var t=d.value,e=r.filter((function(e){return e.fieldIndex===t.fieldIndex}));if(e.length>1){var n,i=N(e);try{for(i.s();!(n=i.n()).done;)n.value.visible=t.visible}catch(t){i.e(t)}finally{i.f()}}};for(f.s();!(d=f.n()).done;)p()}catch(t){f.e(t)}finally{f.f()}}},getScrollBarWidth:function(){if(void 0===this.cachedWidth){var t=R("").addClass("fixed-table-scroll-inner"),e=R("").addClass("fixed-table-scroll-outer");e.append(t),R("body").append(e);var n=t[0].offsetWidth;e.css("overflow","scroll");var i=t[0].offsetWidth;n===i&&(i=e[0].clientWidth),e.remove(),this.cachedWidth=n-i}return this.cachedWidth},calculateObjectValue:function(t,e,n,i){var r=e;if("string"==typeof e){var s=e.split(".");if(s.length>1){r=window;var o,a=N(s);try{for(a.s();!(o=a.n()).done;)r=r[o.value]}catch(t){a.e(t)}finally{a.f()}}else r=window[e]}return null!==r&&"object"===B(r)?r:"function"==typeof r?r.apply(t,n||[]):!r&&"string"==typeof e&&n&&this.sprintf.apply(this,[e].concat(j(n)))?this.sprintf.apply(this,[e].concat(j(n))):i},compareObjects:function(t,e,n){var i=Object.keys(t),r=Object.keys(e);if(n&&i.length!==r.length)return!1;for(var s=0,o=i;s/g,">").replace(/"/g,""").replace(/'/g,"'"):t},unescapeHTML:function(t){return"string"==typeof t&&t?t.toString().replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,'"').replace(/'/g,"'"):t},removeHTML:function(t){return t?t.toString().replace(/(<([^>]+)>)/gi,"").replace(/&[#A-Za-z0-9]+;/gi,"").trim():t},getRealDataAttr:function(t){for(var e=0,n=Object.entries(t);e3&&void 0!==arguments[3]?arguments[3]:void 0,r=t;if(void 0!==i&&(n=i),"string"!=typeof e||t.hasOwnProperty(e))return n?this.escapeHTML(t[e]):t[e];var s,o=N(e.split("."));try{for(o.s();!(s=o.n()).done;){var a=s.value;r=r&&r[a]}}catch(t){o.e(t)}finally{o.f()}return n?this.escapeHTML(r):r},isIEBrowser:function(){return navigator.userAgent.includes("MSIE ")||/Trident.*rv:11\./.test(navigator.userAgent)},findIndex:function(t,e){var n,i=N(t);try{for(i.s();!(n=i.n()).done;){var r=n.value;if(JSON.stringify(r)===JSON.stringify(e))return t.indexOf(r)}}catch(t){i.e(t)}finally{i.f()}return-1},trToData:function(t,e){var n=this,i=[],r=[];return e.each((function(e,s){var o=R(s),a={};a._id=o.attr("id"),a._class=o.attr("class"),a._data=n.getRealDataAttr(o.data()),a._style=o.attr("style"),o.find(">td,>th").each((function(i,s){for(var o=R(s),l=+o.attr("colspan")||1,c=+o.attr("rowspan")||1,h=i;r[e]&&r[e][h];h++);for(var u=h;ue?n:0;if(i.sortEmptyLast){if(""===t)return 1;if(""===e)return-1}return t===e?0:("string"!=typeof t&&(t=t.toString()),-1===t.localeCompare(e)?-1*n:n)},getEventName:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e=e||"".concat(+new Date).concat(~~(1e6*Math.random())),"".concat(t,"-").concat(e)},hasDetailViewIcon:function(t){return t.detailView&&t.detailViewIcon&&!t.cardView},getDetailViewIndexOffset:function(t){return this.hasDetailViewIcon(t)&&"right"!==t.detailViewAlign?1:0},checkAutoMergeCells:function(t){var e,n=N(t);try{for(n.s();!(e=n.n()).done;)for(var i=e.value,r=0,s=Object.keys(i);r