home
/
forge
/
roadtovirtuosity.com
/
public
/
assets
/
js
➕ New
📤 Upload
✎ Editing:
codebase.app.min.js
← Back
/*! * codebase - v5.1.0 * @author pixelcave - https://pixelcave.com * Copyright (c) 2022 */ /*! For license information please see app.js.LICENSE.txt */ !function(){var e={1807:function(e){var t=!("undefined"==typeof window||!window.document||!window.document.createElement);e.exports=t},9662:function(e,t,i){var n=i(7854),r=i(614),s=i(6330),o=n.TypeError;e.exports=function(e){if(r(e))return e;throw o(s(e)+" is not a function")}},6077:function(e,t,i){var n=i(7854),r=i(614),s=n.String,o=n.TypeError;e.exports=function(e){if("object"==typeof e||r(e))return e;throw o("Can't set "+s(e)+" as a prototype")}},1223:function(e,t,i){var n=i(5112),r=i(30),s=i(3070),o=n("unscopables"),a=Array.prototype;null==a[o]&&s.f(a,o,{configurable:!0,value:r(null)}),e.exports=function(e){a[o][e]=!0}},1530:function(e,t,i){"use strict";var n=i(8710).charAt;e.exports=function(e,t,i){return t+(i?n(e,t).length:1)}},5787:function(e,t,i){var n=i(7854),r=i(7976),s=n.TypeError;e.exports=function(e,t){if(r(t,e))return e;throw s("Incorrect invocation")}},9670:function(e,t,i){var n=i(7854),r=i(111),s=n.String,o=n.TypeError;e.exports=function(e){if(r(e))return e;throw o(s(e)+" is not an object")}},7556:function(e,t,i){var n=i(7293);e.exports=n((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}))},8533:function(e,t,i){"use strict";var n=i(2092).forEach,r=i(9341)("forEach");e.exports=r?[].forEach:function(e){return n(this,e,arguments.length>1?arguments[1]:void 0)}},1318:function(e,t,i){var n=i(5656),r=i(1400),s=i(6244),o=function(e){return function(t,i,o){var a,l=n(t),c=s(l),u=r(o,c);if(e&&i!=i){for(;c>u;)if((a=l[u++])!=a)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===i)return e||u||0;return!e&&-1}};e.exports={includes:o(!0),indexOf:o(!1)}},2092:function(e,t,i){var n=i(9974),r=i(1702),s=i(8361),o=i(7908),a=i(6244),l=i(5417),c=r([].push),u=function(e){var t=1==e,i=2==e,r=3==e,u=4==e,d=6==e,h=7==e,f=5==e||d;return function(p,g,m,v){for(var b,_,y=o(p),w=s(y),x=n(g,m),E=a(w),k=0,S=v||l,L=t?S(p,E):i||h?S(p,0):void 0;E>k;k++)if((f||k in w)&&(_=x(b=w[k],k,y),e))if(t)L[k]=_;else if(_)switch(e){case 3:return!0;case 5:return b;case 6:return k;case 2:c(L,b)}else switch(e){case 4:return!1;case 7:c(L,b)}return d?-1:r||u?u:L}};e.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterReject:u(7)}},1194:function(e,t,i){var n=i(7293),r=i(5112),s=i(7392),o=r("species");e.exports=function(e){return s>=51||!n((function(){var t=[];return(t.constructor={})[o]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},9341:function(e,t,i){"use strict";var n=i(7293);e.exports=function(e,t){var i=[][e];return!!i&&n((function(){i.call(null,t||function(){throw 1},1)}))}},3671:function(e,t,i){var n=i(7854),r=i(9662),s=i(7908),o=i(8361),a=i(6244),l=n.TypeError,c=function(e){return function(t,i,n,c){r(i);var u=s(t),d=o(u),h=a(u),f=e?h-1:0,p=e?-1:1;if(n<2)for(;;){if(f in d){c=d[f],f+=p;break}if(f+=p,e?f<0:h<=f)throw l("Reduce of empty array with no initial value")}for(;e?f>=0:h>f;f+=p)f in d&&(c=i(c,d[f],f,u));return c}};e.exports={left:c(!1),right:c(!0)}},1589:function(e,t,i){var n=i(7854),r=i(1400),s=i(6244),o=i(6135),a=n.Array,l=Math.max;e.exports=function(e,t,i){for(var n=s(e),c=r(t,n),u=r(void 0===i?n:i,n),d=a(l(u-c,0)),h=0;c<u;c++,h++)o(d,h,e[c]);return d.length=h,d}},7475:function(e,t,i){var n=i(7854),r=i(3157),s=i(4411),o=i(111),a=i(5112)("species"),l=n.Array;e.exports=function(e){var t;return r(e)&&(t=e.constructor,(s(t)&&(t===l||r(t.prototype))||o(t)&&null===(t=t[a]))&&(t=void 0)),void 0===t?l:t}},5417:function(e,t,i){var n=i(7475);e.exports=function(e,t){return new(n(e))(0===t?0:t)}},7072:function(e,t,i){var n=i(5112)("iterator"),r=!1;try{var s=0,o={next:function(){return{done:!!s++}},return:function(){r=!0}};o[n]=function(){return this},Array.from(o,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!r)return!1;var i=!1;try{var s={};s[n]=function(){return{next:function(){return{done:i=!0}}}},e(s)}catch(e){}return i}},4326:function(e,t,i){var n=i(1702),r=n({}.toString),s=n("".slice);e.exports=function(e){return s(r(e),8,-1)}},648:function(e,t,i){var n=i(7854),r=i(1694),s=i(614),o=i(4326),a=i(5112)("toStringTag"),l=n.Object,c="Arguments"==o(function(){return arguments}());e.exports=r?o:function(e){var t,i,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(i=function(e,t){try{return e[t]}catch(e){}}(t=l(e),a))?i:c?o(t):"Object"==(n=o(t))&&s(t.callee)?"Arguments":n}},9320:function(e,t,i){"use strict";var n=i(1702),r=i(2248),s=i(2423).getWeakData,o=i(9670),a=i(111),l=i(5787),c=i(408),u=i(2092),d=i(2597),h=i(9909),f=h.set,p=h.getterFor,g=u.find,m=u.findIndex,v=n([].splice),b=0,_=function(e){return e.frozen||(e.frozen=new y)},y=function(){this.entries=[]},w=function(e,t){return g(e.entries,(function(e){return e[0]===t}))};y.prototype={get:function(e){var t=w(this,e);if(t)return t[1]},has:function(e){return!!w(this,e)},set:function(e,t){var i=w(this,e);i?i[1]=t:this.entries.push([e,t])},delete:function(e){var t=m(this.entries,(function(t){return t[0]===e}));return~t&&v(this.entries,t,1),!!~t}},e.exports={getConstructor:function(e,t,i,n){var u=e((function(e,r){l(e,h),f(e,{type:t,id:b++,frozen:void 0}),null!=r&&c(r,e[n],{that:e,AS_ENTRIES:i})})),h=u.prototype,g=p(t),m=function(e,t,i){var n=g(e),r=s(o(t),!0);return!0===r?_(n).set(t,i):r[n.id]=i,e};return r(h,{delete:function(e){var t=g(this);if(!a(e))return!1;var i=s(e);return!0===i?_(t).delete(e):i&&d(i,t.id)&&delete i[t.id]},has:function(e){var t=g(this);if(!a(e))return!1;var i=s(e);return!0===i?_(t).has(e):i&&d(i,t.id)}}),r(h,i?{get:function(e){var t=g(this);if(a(e)){var i=s(e);return!0===i?_(t).get(e):i?i[t.id]:void 0}},set:function(e,t){return m(this,e,t)}}:{add:function(e){return m(this,e,!0)}}),u}}},7710:function(e,t,i){"use strict";var n=i(2109),r=i(7854),s=i(1702),o=i(4705),a=i(1320),l=i(2423),c=i(408),u=i(5787),d=i(614),h=i(111),f=i(7293),p=i(7072),g=i(8003),m=i(9587);e.exports=function(e,t,i){var v=-1!==e.indexOf("Map"),b=-1!==e.indexOf("Weak"),_=v?"set":"add",y=r[e],w=y&&y.prototype,x=y,E={},k=function(e){var t=s(w[e]);a(w,e,"add"==e?function(e){return t(this,0===e?0:e),this}:"delete"==e?function(e){return!(b&&!h(e))&&t(this,0===e?0:e)}:"get"==e?function(e){return b&&!h(e)?void 0:t(this,0===e?0:e)}:"has"==e?function(e){return!(b&&!h(e))&&t(this,0===e?0:e)}:function(e,i){return t(this,0===e?0:e,i),this})};if(o(e,!d(y)||!(b||w.forEach&&!f((function(){(new y).entries().next()})))))x=i.getConstructor(t,e,v,_),l.enable();else if(o(e,!0)){var S=new x,L=S[_](b?{}:-0,1)!=S,A=f((function(){S.has(1)})),O=p((function(e){new y(e)})),j=!b&&f((function(){for(var e=new y,t=5;t--;)e[_](t,t);return!e.has(-0)}));O||((x=t((function(e,t){u(e,w);var i=m(new y,e,x);return null!=t&&c(t,i[_],{that:i,AS_ENTRIES:v}),i}))).prototype=w,w.constructor=x),(A||j)&&(k("delete"),k("has"),v&&k("get")),(j||L)&&k(_),b&&w.clear&&delete w.clear}return E[e]=x,n({global:!0,forced:x!=y},E),g(x,e),b||i.setStrong(x,e,v),x}},9920:function(e,t,i){var n=i(2597),r=i(3887),s=i(1236),o=i(3070);e.exports=function(e,t,i){for(var a=r(t),l=o.f,c=s.f,u=0;u<a.length;u++){var d=a[u];n(e,d)||i&&n(i,d)||l(e,d,c(t,d))}}},8544:function(e,t,i){var n=i(7293);e.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},4994:function(e,t,i){"use strict";var n=i(3383).IteratorPrototype,r=i(30),s=i(9114),o=i(8003),a=i(7497),l=function(){return this};e.exports=function(e,t,i,c){var u=t+" Iterator";return e.prototype=r(n,{next:s(+!c,i)}),o(e,u,!1,!0),a[u]=l,e}},8880:function(e,t,i){var n=i(9781),r=i(3070),s=i(9114);e.exports=n?function(e,t,i){return r.f(e,t,s(1,i))}:function(e,t,i){return e[t]=i,e}},9114:function(e){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},6135:function(e,t,i){"use strict";var n=i(4948),r=i(3070),s=i(9114);e.exports=function(e,t,i){var o=n(t);o in e?r.f(e,o,s(0,i)):e[o]=i}},654:function(e,t,i){"use strict";var n=i(2109),r=i(6916),s=i(1913),o=i(6530),a=i(614),l=i(4994),c=i(9518),u=i(7674),d=i(8003),h=i(8880),f=i(1320),p=i(5112),g=i(7497),m=i(3383),v=o.PROPER,b=o.CONFIGURABLE,_=m.IteratorPrototype,y=m.BUGGY_SAFARI_ITERATORS,w=p("iterator"),x="keys",E="values",k="entries",S=function(){return this};e.exports=function(e,t,i,o,p,m,L){l(i,t,o);var A,O,j,T=function(e){if(e===p&&N)return N;if(!y&&e in P)return P[e];switch(e){case x:case E:case k:return function(){return new i(this,e)}}return function(){return new i(this)}},C=t+" Iterator",D=!1,P=e.prototype,I=P[w]||P["@@iterator"]||p&&P[p],N=!y&&I||T(p),M="Array"==t&&P.entries||I;if(M&&(A=c(M.call(new e)))!==Object.prototype&&A.next&&(s||c(A)===_||(u?u(A,_):a(A[w])||f(A,w,S)),d(A,C,!0,!0),s&&(g[C]=S)),v&&p==E&&I&&I.name!==E&&(!s&&b?h(P,"name",E):(D=!0,N=function(){return r(I,this)})),p)if(O={values:T(E),keys:m?N:T(x),entries:T(k)},L)for(j in O)(y||D||!(j in P))&&f(P,j,O[j]);else n({target:t,proto:!0,forced:y||D},O);return s&&!L||P[w]===N||f(P,w,N,{name:p}),g[t]=N,O}},9781:function(e,t,i){var n=i(7293);e.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},317:function(e,t,i){var n=i(7854),r=i(111),s=n.document,o=r(s)&&r(s.createElement);e.exports=function(e){return o?s.createElement(e):{}}},8324:function(e){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},8509:function(e,t,i){var n=i(317)("span").classList,r=n&&n.constructor&&n.constructor.prototype;e.exports=r===Object.prototype?void 0:r},5268:function(e,t,i){var n=i(4326),r=i(7854);e.exports="process"==n(r.process)},8113:function(e,t,i){var n=i(5005);e.exports=n("navigator","userAgent")||""},7392:function(e,t,i){var n,r,s=i(7854),o=i(8113),a=s.process,l=s.Deno,c=a&&a.versions||l&&l.version,u=c&&c.v8;u&&(r=(n=u.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!r&&o&&(!(n=o.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=o.match(/Chrome\/(\d+)/))&&(r=+n[1]),e.exports=r},748:function(e){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:function(e,t,i){var n=i(7854),r=i(1236).f,s=i(8880),o=i(1320),a=i(3505),l=i(9920),c=i(4705);e.exports=function(e,t){var i,u,d,h,f,p=e.target,g=e.global,m=e.stat;if(i=g?n:m?n[p]||a(p,{}):(n[p]||{}).prototype)for(u in t){if(h=t[u],d=e.noTargetGet?(f=r(i,u))&&f.value:i[u],!c(g?u:p+(m?".":"#")+u,e.forced)&&void 0!==d){if(typeof h==typeof d)continue;l(h,d)}(e.sham||d&&d.sham)&&s(h,"sham",!0),o(i,u,h,e)}}},7293:function(e){e.exports=function(e){try{return!!e()}catch(e){return!0}}},7007:function(e,t,i){"use strict";i(4916);var n=i(1702),r=i(1320),s=i(2261),o=i(7293),a=i(5112),l=i(8880),c=a("species"),u=RegExp.prototype;e.exports=function(e,t,i,d){var h=a(e),f=!o((function(){var t={};return t[h]=function(){return 7},7!=""[e](t)})),p=f&&!o((function(){var t=!1,i=/a/;return"split"===e&&((i={}).constructor={},i.constructor[c]=function(){return i},i.flags="",i[h]=/./[h]),i.exec=function(){return t=!0,null},i[h](""),!t}));if(!f||!p||i){var g=n(/./[h]),m=t(h,""[e],(function(e,t,i,r,o){var a=n(e),l=t.exec;return l===s||l===u.exec?f&&!o?{done:!0,value:g(t,i,r)}:{done:!0,value:a(i,t,r)}:{done:!1}}));r(String.prototype,e,m[0]),r(u,h,m[1])}d&&l(u[h],"sham",!0)}},6677:function(e,t,i){var n=i(7293);e.exports=!n((function(){return Object.isExtensible(Object.preventExtensions({}))}))},2104:function(e,t,i){var n=i(4374),r=Function.prototype,s=r.apply,o=r.call;e.exports="object"==typeof Reflect&&Reflect.apply||(n?o.bind(s):function(){return o.apply(s,arguments)})},9974:function(e,t,i){var n=i(1702),r=i(9662),s=i(4374),o=n(n.bind);e.exports=function(e,t){return r(e),void 0===t?e:s?o(e,t):function(){return e.apply(t,arguments)}}},4374:function(e,t,i){var n=i(7293);e.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},6916:function(e,t,i){var n=i(4374),r=Function.prototype.call;e.exports=n?r.bind(r):function(){return r.apply(r,arguments)}},6530:function(e,t,i){var n=i(9781),r=i(2597),s=Function.prototype,o=n&&Object.getOwnPropertyDescriptor,a=r(s,"name"),l=a&&"something"===function(){}.name,c=a&&(!n||n&&o(s,"name").configurable);e.exports={EXISTS:a,PROPER:l,CONFIGURABLE:c}},1702:function(e,t,i){var n=i(4374),r=Function.prototype,s=r.bind,o=r.call,a=n&&s.bind(o,o);e.exports=n?function(e){return e&&a(e)}:function(e){return e&&function(){return o.apply(e,arguments)}}},5005:function(e,t,i){var n=i(7854),r=i(614),s=function(e){return r(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?s(n[e]):n[e]&&n[e][t]}},1246:function(e,t,i){var n=i(648),r=i(8173),s=i(7497),o=i(5112)("iterator");e.exports=function(e){if(null!=e)return r(e,o)||r(e,"@@iterator")||s[n(e)]}},8554:function(e,t,i){var n=i(7854),r=i(6916),s=i(9662),o=i(9670),a=i(6330),l=i(1246),c=n.TypeError;e.exports=function(e,t){var i=arguments.length<2?l(e):t;if(s(i))return o(r(i,e));throw c(a(e)+" is not iterable")}},8173:function(e,t,i){var n=i(9662);e.exports=function(e,t){var i=e[t];return null==i?void 0:n(i)}},647:function(e,t,i){var n=i(1702),r=i(7908),s=Math.floor,o=n("".charAt),a=n("".replace),l=n("".slice),c=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,u=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,i,n,d,h){var f=i+e.length,p=n.length,g=u;return void 0!==d&&(d=r(d),g=c),a(h,g,(function(r,a){var c;switch(o(a,0)){case"$":return"$";case"&":return e;case"`":return l(t,0,i);case"'":return l(t,f);case"<":c=d[l(a,1,-1)];break;default:var u=+a;if(0===u)return r;if(u>p){var h=s(u/10);return 0===h?r:h<=p?void 0===n[h-1]?o(a,1):n[h-1]+o(a,1):r}c=n[u-1]}return void 0===c?"":c}))}},7854:function(e,t,i){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof i.g&&i.g)||function(){return this}()||Function("return this")()},2597:function(e,t,i){var n=i(1702),r=i(7908),s=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return s(r(e),t)}},3501:function(e){e.exports={}},490:function(e,t,i){var n=i(5005);e.exports=n("document","documentElement")},4664:function(e,t,i){var n=i(9781),r=i(7293),s=i(317);e.exports=!n&&!r((function(){return 7!=Object.defineProperty(s("div"),"a",{get:function(){return 7}}).a}))},8361:function(e,t,i){var n=i(7854),r=i(1702),s=i(7293),o=i(4326),a=n.Object,l=r("".split);e.exports=s((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?l(e,""):a(e)}:a},9587:function(e,t,i){var n=i(614),r=i(111),s=i(7674);e.exports=function(e,t,i){var o,a;return s&&n(o=t.constructor)&&o!==i&&r(a=o.prototype)&&a!==i.prototype&&s(e,a),e}},2788:function(e,t,i){var n=i(1702),r=i(614),s=i(5465),o=n(Function.toString);r(s.inspectSource)||(s.inspectSource=function(e){return o(e)}),e.exports=s.inspectSource},2423:function(e,t,i){var n=i(2109),r=i(1702),s=i(3501),o=i(111),a=i(2597),l=i(3070).f,c=i(8006),u=i(1156),d=i(2050),h=i(9711),f=i(6677),p=!1,g=h("meta"),m=0,v=function(e){l(e,g,{value:{objectID:"O"+m++,weakData:{}}})},b=e.exports={enable:function(){b.enable=function(){},p=!0;var e=c.f,t=r([].splice),i={};i[g]=1,e(i).length&&(c.f=function(i){for(var n=e(i),r=0,s=n.length;r<s;r++)if(n[r]===g){t(n,r,1);break}return n},n({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:u.f}))},fastKey:function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!a(e,g)){if(!d(e))return"F";if(!t)return"E";v(e)}return e[g].objectID},getWeakData:function(e,t){if(!a(e,g)){if(!d(e))return!0;if(!t)return!1;v(e)}return e[g].weakData},onFreeze:function(e){return f&&p&&d(e)&&!a(e,g)&&v(e),e}};s[g]=!0},9909:function(e,t,i){var n,r,s,o=i(8536),a=i(7854),l=i(1702),c=i(111),u=i(8880),d=i(2597),h=i(5465),f=i(6200),p=i(3501),g="Object already initialized",m=a.TypeError,v=a.WeakMap;if(o||h.state){var b=h.state||(h.state=new v),_=l(b.get),y=l(b.has),w=l(b.set);n=function(e,t){if(y(b,e))throw new m(g);return t.facade=e,w(b,e,t),t},r=function(e){return _(b,e)||{}},s=function(e){return y(b,e)}}else{var x=f("state");p[x]=!0,n=function(e,t){if(d(e,x))throw new m(g);return t.facade=e,u(e,x,t),t},r=function(e){return d(e,x)?e[x]:{}},s=function(e){return d(e,x)}}e.exports={set:n,get:r,has:s,enforce:function(e){return s(e)?r(e):n(e,{})},getterFor:function(e){return function(t){var i;if(!c(t)||(i=r(t)).type!==e)throw m("Incompatible receiver, "+e+" required");return i}}}},7659:function(e,t,i){var n=i(5112),r=i(7497),s=n("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||o[s]===e)}},3157:function(e,t,i){var n=i(4326);e.exports=Array.isArray||function(e){return"Array"==n(e)}},614:function(e){e.exports=function(e){return"function"==typeof e}},4411:function(e,t,i){var n=i(1702),r=i(7293),s=i(614),o=i(648),a=i(5005),l=i(2788),c=function(){},u=[],d=a("Reflect","construct"),h=/^\s*(?:class|function)\b/,f=n(h.exec),p=!h.exec(c),g=function(e){if(!s(e))return!1;try{return d(c,u,e),!0}catch(e){return!1}},m=function(e){if(!s(e))return!1;switch(o(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return p||!!f(h,l(e))}catch(e){return!0}};m.sham=!0,e.exports=!d||r((function(){var e;return g(g.call)||!g(Object)||!g((function(){e=!0}))||e}))?m:g},4705:function(e,t,i){var n=i(7293),r=i(614),s=/#|\.prototype\./,o=function(e,t){var i=l[a(e)];return i==u||i!=c&&(r(t)?n(t):!!t)},a=o.normalize=function(e){return String(e).replace(s,".").toLowerCase()},l=o.data={},c=o.NATIVE="N",u=o.POLYFILL="P";e.exports=o},111:function(e,t,i){var n=i(614);e.exports=function(e){return"object"==typeof e?null!==e:n(e)}},1913:function(e){e.exports=!1},2190:function(e,t,i){var n=i(7854),r=i(5005),s=i(614),o=i(7976),a=i(3307),l=n.Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return s(t)&&o(t.prototype,l(e))}},408:function(e,t,i){var n=i(7854),r=i(9974),s=i(6916),o=i(9670),a=i(6330),l=i(7659),c=i(6244),u=i(7976),d=i(8554),h=i(1246),f=i(9212),p=n.TypeError,g=function(e,t){this.stopped=e,this.result=t},m=g.prototype;e.exports=function(e,t,i){var n,v,b,_,y,w,x,E=i&&i.that,k=!(!i||!i.AS_ENTRIES),S=!(!i||!i.IS_ITERATOR),L=!(!i||!i.INTERRUPTED),A=r(t,E),O=function(e){return n&&f(n,"normal",e),new g(!0,e)},j=function(e){return k?(o(e),L?A(e[0],e[1],O):A(e[0],e[1])):L?A(e,O):A(e)};if(S)n=e;else{if(!(v=h(e)))throw p(a(e)+" is not iterable");if(l(v)){for(b=0,_=c(e);_>b;b++)if((y=j(e[b]))&&u(m,y))return y;return new g(!1)}n=d(e,v)}for(w=n.next;!(x=s(w,n)).done;){try{y=j(x.value)}catch(e){f(n,"throw",e)}if("object"==typeof y&&y&&u(m,y))return y}return new g(!1)}},9212:function(e,t,i){var n=i(6916),r=i(9670),s=i(8173);e.exports=function(e,t,i){var o,a;r(e);try{if(!(o=s(e,"return"))){if("throw"===t)throw i;return i}o=n(o,e)}catch(e){a=!0,o=e}if("throw"===t)throw i;if(a)throw o;return r(o),i}},3383:function(e,t,i){"use strict";var n,r,s,o=i(7293),a=i(614),l=i(30),c=i(9518),u=i(1320),d=i(5112),h=i(1913),f=d("iterator"),p=!1;[].keys&&("next"in(s=[].keys())?(r=c(c(s)))!==Object.prototype&&(n=r):p=!0),null==n||o((function(){var e={};return n[f].call(e)!==e}))?n={}:h&&(n=l(n)),a(n[f])||u(n,f,(function(){return this})),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:p}},7497:function(e){e.exports={}},6244:function(e,t,i){var n=i(7466);e.exports=function(e){return n(e.length)}},133:function(e,t,i){var n=i(7392),r=i(7293);e.exports=!!Object.getOwnPropertySymbols&&!r((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},8536:function(e,t,i){var n=i(7854),r=i(614),s=i(2788),o=n.WeakMap;e.exports=r(o)&&/native code/.test(s(o))},3009:function(e,t,i){var n=i(7854),r=i(7293),s=i(1702),o=i(1340),a=i(3111).trim,l=i(1361),c=n.parseInt,u=n.Symbol,d=u&&u.iterator,h=/^[+-]?0x/i,f=s(h.exec),p=8!==c(l+"08")||22!==c(l+"0x16")||d&&!r((function(){c(Object(d))}));e.exports=p?function(e,t){var i=a(o(e));return c(i,t>>>0||(f(h,i)?16:10))}:c},1574:function(e,t,i){"use strict";var n=i(9781),r=i(1702),s=i(6916),o=i(7293),a=i(1956),l=i(5181),c=i(5296),u=i(7908),d=i(8361),h=Object.assign,f=Object.defineProperty,p=r([].concat);e.exports=!h||o((function(){if(n&&1!==h({b:1},h(f({},"a",{enumerable:!0,get:function(){f(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},i=Symbol(),r="abcdefghijklmnopqrst";return e[i]=7,r.split("").forEach((function(e){t[e]=e})),7!=h({},e)[i]||a(h({},t)).join("")!=r}))?function(e,t){for(var i=u(e),r=arguments.length,o=1,h=l.f,f=c.f;r>o;)for(var g,m=d(arguments[o++]),v=h?p(a(m),h(m)):a(m),b=v.length,_=0;b>_;)g=v[_++],n&&!s(f,m,g)||(i[g]=m[g]);return i}:h},30:function(e,t,i){var n,r=i(9670),s=i(6048),o=i(748),a=i(3501),l=i(490),c=i(317),u=i(6200)("IE_PROTO"),d=function(){},h=function(e){return"<script>"+e+"<\/script>"},f=function(e){e.write(h("")),e.close();var t=e.parentWindow.Object;return e=null,t},p=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}var e,t;p="undefined"!=typeof document?document.domain&&n?f(n):((t=c("iframe")).style.display="none",l.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(h("document.F=Object")),e.close(),e.F):f(n);for(var i=o.length;i--;)delete p.prototype[o[i]];return p()};a[u]=!0,e.exports=Object.create||function(e,t){var i;return null!==e?(d.prototype=r(e),i=new d,d.prototype=null,i[u]=e):i=p(),void 0===t?i:s.f(i,t)}},6048:function(e,t,i){var n=i(9781),r=i(3353),s=i(3070),o=i(9670),a=i(5656),l=i(1956);t.f=n&&!r?Object.defineProperties:function(e,t){o(e);for(var i,n=a(t),r=l(t),c=r.length,u=0;c>u;)s.f(e,i=r[u++],n[i]);return e}},3070:function(e,t,i){var n=i(7854),r=i(9781),s=i(4664),o=i(3353),a=i(9670),l=i(4948),c=n.TypeError,u=Object.defineProperty,d=Object.getOwnPropertyDescriptor;t.f=r?o?function(e,t,i){if(a(e),t=l(t),a(i),"function"==typeof e&&"prototype"===t&&"value"in i&&"writable"in i&&!i.writable){var n=d(e,t);n&&n.writable&&(e[t]=i.value,i={configurable:"configurable"in i?i.configurable:n.configurable,enumerable:"enumerable"in i?i.enumerable:n.enumerable,writable:!1})}return u(e,t,i)}:u:function(e,t,i){if(a(e),t=l(t),a(i),s)try{return u(e,t,i)}catch(e){}if("get"in i||"set"in i)throw c("Accessors not supported");return"value"in i&&(e[t]=i.value),e}},1236:function(e,t,i){var n=i(9781),r=i(6916),s=i(5296),o=i(9114),a=i(5656),l=i(4948),c=i(2597),u=i(4664),d=Object.getOwnPropertyDescriptor;t.f=n?d:function(e,t){if(e=a(e),t=l(t),u)try{return d(e,t)}catch(e){}if(c(e,t))return o(!r(s.f,e,t),e[t])}},1156:function(e,t,i){var n=i(4326),r=i(5656),s=i(8006).f,o=i(1589),a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"Window"==n(e)?function(e){try{return s(e)}catch(e){return o(a)}}(e):s(r(e))}},8006:function(e,t,i){var n=i(6324),r=i(748).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,r)}},5181:function(e,t){t.f=Object.getOwnPropertySymbols},9518:function(e,t,i){var n=i(7854),r=i(2597),s=i(614),o=i(7908),a=i(6200),l=i(8544),c=a("IE_PROTO"),u=n.Object,d=u.prototype;e.exports=l?u.getPrototypeOf:function(e){var t=o(e);if(r(t,c))return t[c];var i=t.constructor;return s(i)&&t instanceof i?i.prototype:t instanceof u?d:null}},2050:function(e,t,i){var n=i(7293),r=i(111),s=i(4326),o=i(7556),a=Object.isExtensible,l=n((function(){a(1)}));e.exports=l||o?function(e){return!!r(e)&&(!o||"ArrayBuffer"!=s(e))&&(!a||a(e))}:a},7976:function(e,t,i){var n=i(1702);e.exports=n({}.isPrototypeOf)},6324:function(e,t,i){var n=i(1702),r=i(2597),s=i(5656),o=i(1318).indexOf,a=i(3501),l=n([].push);e.exports=function(e,t){var i,n=s(e),c=0,u=[];for(i in n)!r(a,i)&&r(n,i)&&l(u,i);for(;t.length>c;)r(n,i=t[c++])&&(~o(u,i)||l(u,i));return u}},1956:function(e,t,i){var n=i(6324),r=i(748);e.exports=Object.keys||function(e){return n(e,r)}},5296:function(e,t){"use strict";var i={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,r=n&&!i.call({1:2},1);t.f=r?function(e){var t=n(this,e);return!!t&&t.enumerable}:i},7674:function(e,t,i){var n=i(1702),r=i(9670),s=i(6077);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,i={};try{(e=n(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(i,[]),t=i instanceof Array}catch(e){}return function(i,n){return r(i),s(n),t?e(i,n):i.__proto__=n,i}}():void 0)},288:function(e,t,i){"use strict";var n=i(1694),r=i(648);e.exports=n?{}.toString:function(){return"[object "+r(this)+"]"}},2140:function(e,t,i){var n=i(7854),r=i(6916),s=i(614),o=i(111),a=n.TypeError;e.exports=function(e,t){var i,n;if("string"===t&&s(i=e.toString)&&!o(n=r(i,e)))return n;if(s(i=e.valueOf)&&!o(n=r(i,e)))return n;if("string"!==t&&s(i=e.toString)&&!o(n=r(i,e)))return n;throw a("Can't convert object to primitive value")}},3887:function(e,t,i){var n=i(5005),r=i(1702),s=i(8006),o=i(5181),a=i(9670),l=r([].concat);e.exports=n("Reflect","ownKeys")||function(e){var t=s.f(a(e)),i=o.f;return i?l(t,i(e)):t}},2248:function(e,t,i){var n=i(1320);e.exports=function(e,t,i){for(var r in t)n(e,r,t[r],i);return e}},1320:function(e,t,i){var n=i(7854),r=i(614),s=i(2597),o=i(8880),a=i(3505),l=i(2788),c=i(9909),u=i(6530).CONFIGURABLE,d=c.get,h=c.enforce,f=String(String).split("String");(e.exports=function(e,t,i,l){var c,d=!!l&&!!l.unsafe,p=!!l&&!!l.enumerable,g=!!l&&!!l.noTargetGet,m=l&&void 0!==l.name?l.name:t;r(i)&&("Symbol("===String(m).slice(0,7)&&(m="["+String(m).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!s(i,"name")||u&&i.name!==m)&&o(i,"name",m),(c=h(i)).source||(c.source=f.join("string"==typeof m?m:""))),e!==n?(d?!g&&e[t]&&(p=!0):delete e[t],p?e[t]=i:o(e,t,i)):p?e[t]=i:a(t,i)})(Function.prototype,"toString",(function(){return r(this)&&d(this).source||l(this)}))},7651:function(e,t,i){var n=i(7854),r=i(6916),s=i(9670),o=i(614),a=i(4326),l=i(2261),c=n.TypeError;e.exports=function(e,t){var i=e.exec;if(o(i)){var n=r(i,e,t);return null!==n&&s(n),n}if("RegExp"===a(e))return r(l,e,t);throw c("RegExp#exec called on incompatible receiver")}},2261:function(e,t,i){"use strict";var n,r,s=i(6916),o=i(1702),a=i(1340),l=i(7066),c=i(2999),u=i(2309),d=i(30),h=i(9909).get,f=i(9441),p=i(7168),g=u("native-string-replace",String.prototype.replace),m=RegExp.prototype.exec,v=m,b=o("".charAt),_=o("".indexOf),y=o("".replace),w=o("".slice),x=(r=/b*/g,s(m,n=/a/,"a"),s(m,r,"a"),0!==n.lastIndex||0!==r.lastIndex),E=c.BROKEN_CARET,k=void 0!==/()??/.exec("")[1];(x||k||E||f||p)&&(v=function(e){var t,i,n,r,o,c,u,f=this,p=h(f),S=a(e),L=p.raw;if(L)return L.lastIndex=f.lastIndex,t=s(v,L,S),f.lastIndex=L.lastIndex,t;var A=p.groups,O=E&&f.sticky,j=s(l,f),T=f.source,C=0,D=S;if(O&&(j=y(j,"y",""),-1===_(j,"g")&&(j+="g"),D=w(S,f.lastIndex),f.lastIndex>0&&(!f.multiline||f.multiline&&"\n"!==b(S,f.lastIndex-1))&&(T="(?: "+T+")",D=" "+D,C++),i=new RegExp("^(?:"+T+")",j)),k&&(i=new RegExp("^"+T+"$(?!\\s)",j)),x&&(n=f.lastIndex),r=s(m,O?i:f,D),O?r?(r.input=w(r.input,C),r[0]=w(r[0],C),r.index=f.lastIndex,f.lastIndex+=r[0].length):f.lastIndex=0:x&&r&&(f.lastIndex=f.global?r.index+r[0].length:n),k&&r&&r.length>1&&s(g,r[0],i,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(r[o]=void 0)})),r&&A)for(r.groups=c=d(null),o=0;o<A.length;o++)c[(u=A[o])[0]]=r[u[1]];return r}),e.exports=v},7066:function(e,t,i){"use strict";var n=i(9670);e.exports=function(){var e=n(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},2999:function(e,t,i){var n=i(7293),r=i(7854).RegExp,s=n((function(){var e=r("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),o=s||n((function(){return!r("a","y").sticky})),a=s||n((function(){var e=r("^r","gy");return e.lastIndex=2,null!=e.exec("str")}));e.exports={BROKEN_CARET:a,MISSED_STICKY:o,UNSUPPORTED_Y:s}},9441:function(e,t,i){var n=i(7293),r=i(7854).RegExp;e.exports=n((function(){var e=r(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)}))},7168:function(e,t,i){var n=i(7293),r=i(7854).RegExp;e.exports=n((function(){var e=r("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}))},4488:function(e,t,i){var n=i(7854).TypeError;e.exports=function(e){if(null==e)throw n("Can't call method on "+e);return e}},3505:function(e,t,i){var n=i(7854),r=Object.defineProperty;e.exports=function(e,t){try{r(n,e,{value:t,configurable:!0,writable:!0})}catch(i){n[e]=t}return t}},8003:function(e,t,i){var n=i(3070).f,r=i(2597),s=i(5112)("toStringTag");e.exports=function(e,t,i){e&&!i&&(e=e.prototype),e&&!r(e,s)&&n(e,s,{configurable:!0,value:t})}},6200:function(e,t,i){var n=i(2309),r=i(9711),s=n("keys");e.exports=function(e){return s[e]||(s[e]=r(e))}},5465:function(e,t,i){var n=i(7854),r=i(3505),s="__core-js_shared__",o=n[s]||r(s,{});e.exports=o},2309:function(e,t,i){var n=i(1913),r=i(5465);(e.exports=function(e,t){return r[e]||(r[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.21.0",mode:n?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.21.0/LICENSE",source:"https://github.com/zloirock/core-js"})},8710:function(e,t,i){var n=i(1702),r=i(9303),s=i(1340),o=i(4488),a=n("".charAt),l=n("".charCodeAt),c=n("".slice),u=function(e){return function(t,i){var n,u,d=s(o(t)),h=r(i),f=d.length;return h<0||h>=f?e?"":void 0:(n=l(d,h))<55296||n>56319||h+1===f||(u=l(d,h+1))<56320||u>57343?e?a(d,h):n:e?c(d,h,h+2):u-56320+(n-55296<<10)+65536}};e.exports={codeAt:u(!1),charAt:u(!0)}},3111:function(e,t,i){var n=i(1702),r=i(4488),s=i(1340),o=i(1361),a=n("".replace),l="["+o+"]",c=RegExp("^"+l+l+"*"),u=RegExp(l+l+"*$"),d=function(e){return function(t){var i=s(r(t));return 1&e&&(i=a(i,c,"")),2&e&&(i=a(i,u,"")),i}};e.exports={start:d(1),end:d(2),trim:d(3)}},1400:function(e,t,i){var n=i(9303),r=Math.max,s=Math.min;e.exports=function(e,t){var i=n(e);return i<0?r(i+t,0):s(i,t)}},5656:function(e,t,i){var n=i(8361),r=i(4488);e.exports=function(e){return n(r(e))}},9303:function(e){var t=Math.ceil,i=Math.floor;e.exports=function(e){var n=+e;return n!=n||0===n?0:(n>0?i:t)(n)}},7466:function(e,t,i){var n=i(9303),r=Math.min;e.exports=function(e){return e>0?r(n(e),9007199254740991):0}},7908:function(e,t,i){var n=i(7854),r=i(4488),s=n.Object;e.exports=function(e){return s(r(e))}},7593:function(e,t,i){var n=i(7854),r=i(6916),s=i(111),o=i(2190),a=i(8173),l=i(2140),c=i(5112),u=n.TypeError,d=c("toPrimitive");e.exports=function(e,t){if(!s(e)||o(e))return e;var i,n=a(e,d);if(n){if(void 0===t&&(t="default"),i=r(n,e,t),!s(i)||o(i))return i;throw u("Can't convert object to primitive value")}return void 0===t&&(t="number"),l(e,t)}},4948:function(e,t,i){var n=i(7593),r=i(2190);e.exports=function(e){var t=n(e,"string");return r(t)?t:t+""}},1694:function(e,t,i){var n={};n[i(5112)("toStringTag")]="z",e.exports="[object z]"===String(n)},1340:function(e,t,i){var n=i(7854),r=i(648),s=n.String;e.exports=function(e){if("Symbol"===r(e))throw TypeError("Cannot convert a Symbol value to a string");return s(e)}},6330:function(e,t,i){var n=i(7854).String;e.exports=function(e){try{return n(e)}catch(e){return"Object"}}},9711:function(e,t,i){var n=i(1702),r=0,s=Math.random(),o=n(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++r+s,36)}},3307:function(e,t,i){var n=i(133);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},3353:function(e,t,i){var n=i(9781),r=i(7293);e.exports=n&&r((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},5112:function(e,t,i){var n=i(7854),r=i(2309),s=i(2597),o=i(9711),a=i(133),l=i(3307),c=r("wks"),u=n.Symbol,d=u&&u.for,h=l?u:u&&u.withoutSetter||o;e.exports=function(e){if(!s(c,e)||!a&&"string"!=typeof c[e]){var t="Symbol."+e;a&&s(u,e)?c[e]=u[e]:c[e]=l&&d?d(t):h(t)}return c[e]}},1361:function(e){e.exports="\t\n\v\f\r \u2028\u2029\ufeff"},7327:function(e,t,i){"use strict";var n=i(2109),r=i(2092).filter;n({target:"Array",proto:!0,forced:!i(1194)("filter")},{filter:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}})},9554:function(e,t,i){"use strict";var n=i(2109),r=i(8533);n({target:"Array",proto:!0,forced:[].forEach!=r},{forEach:r})},6992:function(e,t,i){"use strict";var n=i(5656),r=i(1223),s=i(7497),o=i(9909),a=i(3070).f,l=i(654),c=i(1913),u=i(9781),d="Array Iterator",h=o.set,f=o.getterFor(d);e.exports=l(Array,"Array",(function(e,t){h(this,{type:d,target:n(e),index:0,kind:t})}),(function(){var e=f(this),t=e.target,i=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==i?{value:n,done:!1}:"values"==i?{value:t[n],done:!1}:{value:[n,t[n]],done:!1}}),"values");var p=s.Arguments=s.Array;if(r("keys"),r("values"),r("entries"),!c&&u&&"values"!==p.name)try{a(p,"name",{value:"values"})}catch(e){}},5827:function(e,t,i){"use strict";var n=i(2109),r=i(3671).left,s=i(9341),o=i(7392),a=i(5268);n({target:"Array",proto:!0,forced:!s("reduce")||!a&&o>79&&o<83},{reduce:function(e){var t=arguments.length;return r(this,e,t,t>1?arguments[1]:void 0)}})},8309:function(e,t,i){var n=i(9781),r=i(6530).EXISTS,s=i(1702),o=i(3070).f,a=Function.prototype,l=s(a.toString),c=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,u=s(c.exec);n&&!r&&o(a,"name",{configurable:!0,get:function(){try{return u(c,l(this))[1]}catch(e){return""}}})},9601:function(e,t,i){var n=i(2109),r=i(1574);n({target:"Object",stat:!0,forced:Object.assign!==r},{assign:r})},1539:function(e,t,i){var n=i(1694),r=i(1320),s=i(288);n||r(Object.prototype,"toString",s,{unsafe:!0})},1058:function(e,t,i){var n=i(2109),r=i(3009);n({global:!0,forced:parseInt!=r},{parseInt:r})},4916:function(e,t,i){"use strict";var n=i(2109),r=i(2261);n({target:"RegExp",proto:!0,forced:/./.exec!==r},{exec:r})},8783:function(e,t,i){"use strict";var n=i(8710).charAt,r=i(1340),s=i(9909),o=i(654),a="String Iterator",l=s.set,c=s.getterFor(a);o(String,"String",(function(e){l(this,{type:a,string:r(e),index:0})}),(function(){var e,t=c(this),i=t.string,r=t.index;return r>=i.length?{value:void 0,done:!0}:(e=n(i,r),t.index+=e.length,{value:e,done:!1})}))},4723:function(e,t,i){"use strict";var n=i(6916),r=i(7007),s=i(9670),o=i(7466),a=i(1340),l=i(4488),c=i(8173),u=i(1530),d=i(7651);r("match",(function(e,t,i){return[function(t){var i=l(this),r=null==t?void 0:c(t,e);return r?n(r,t,i):new RegExp(t)[e](a(i))},function(e){var n=s(this),r=a(e),l=i(t,n,r);if(l.done)return l.value;if(!n.global)return d(n,r);var c=n.unicode;n.lastIndex=0;for(var h,f=[],p=0;null!==(h=d(n,r));){var g=a(h[0]);f[p]=g,""===g&&(n.lastIndex=u(r,o(n.lastIndex),c)),p++}return 0===p?null:f}]}))},5306:function(e,t,i){"use strict";var n=i(2104),r=i(6916),s=i(1702),o=i(7007),a=i(7293),l=i(9670),c=i(614),u=i(9303),d=i(7466),h=i(1340),f=i(4488),p=i(1530),g=i(8173),m=i(647),v=i(7651),b=i(5112)("replace"),_=Math.max,y=Math.min,w=s([].concat),x=s([].push),E=s("".indexOf),k=s("".slice),S="$0"==="a".replace(/./,"$0"),L=!!/./[b]&&""===/./[b]("a","$0");o("replace",(function(e,t,i){var s=L?"$":"$0";return[function(e,i){var n=f(this),s=null==e?void 0:g(e,b);return s?r(s,e,n,i):r(t,h(n),e,i)},function(e,r){var o=l(this),a=h(e);if("string"==typeof r&&-1===E(r,s)&&-1===E(r,"$<")){var f=i(t,o,a,r);if(f.done)return f.value}var g=c(r);g||(r=h(r));var b=o.global;if(b){var S=o.unicode;o.lastIndex=0}for(var L=[];;){var A=v(o,a);if(null===A)break;if(x(L,A),!b)break;""===h(A[0])&&(o.lastIndex=p(a,d(o.lastIndex),S))}for(var O,j="",T=0,C=0;C<L.length;C++){for(var D=h((A=L[C])[0]),P=_(y(u(A.index),a.length),0),I=[],N=1;N<A.length;N++)x(I,void 0===(O=A[N])?O:String(O));var M=A.groups;if(g){var F=w([D],I,P,a);void 0!==M&&x(F,M);var R=h(n(r,void 0,F))}else R=m(D,a,P,I,M,r);P>=T&&(j+=k(a,T,P)+R,T=P+D.length)}return j+k(a,T)}]}),!!a((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!S||L)},4129:function(e,t,i){"use strict";var n,r=i(7854),s=i(1702),o=i(2248),a=i(2423),l=i(7710),c=i(9320),u=i(111),d=i(2050),h=i(9909).enforce,f=i(8536),p=!r.ActiveXObject&&"ActiveXObject"in r,g=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},m=l("WeakMap",g,c);if(f&&p){n=c.getConstructor(g,"WeakMap",!0),a.enable();var v=m.prototype,b=s(v.delete),_=s(v.has),y=s(v.get),w=s(v.set);o(v,{delete:function(e){if(u(e)&&!d(e)){var t=h(this);return t.frozen||(t.frozen=new n),b(this,e)||t.frozen.delete(e)}return b(this,e)},has:function(e){if(u(e)&&!d(e)){var t=h(this);return t.frozen||(t.frozen=new n),_(this,e)||t.frozen.has(e)}return _(this,e)},get:function(e){if(u(e)&&!d(e)){var t=h(this);return t.frozen||(t.frozen=new n),_(this,e)?y(this,e):t.frozen.get(e)}return y(this,e)},set:function(e,t){if(u(e)&&!d(e)){var i=h(this);i.frozen||(i.frozen=new n),_(this,e)?w(this,e,t):i.frozen.set(e,t)}else w(this,e,t);return this}})}},4747:function(e,t,i){var n=i(7854),r=i(8324),s=i(8509),o=i(8533),a=i(8880),l=function(e){if(e&&e.forEach!==o)try{a(e,"forEach",o)}catch(t){e.forEach=o}};for(var c in r)r[c]&&l(n[c]&&n[c].prototype);l(s)},3948:function(e,t,i){var n=i(7854),r=i(8324),s=i(8509),o=i(6992),a=i(8880),l=i(5112),c=l("iterator"),u=l("toStringTag"),d=o.values,h=function(e,t){if(e){if(e[c]!==d)try{a(e,c,d)}catch(t){e[c]=d}if(e[u]||a(e,u,t),r[t])for(var i in o)if(e[i]!==o[i])try{a(e,i,o[i])}catch(t){e[i]=o[i]}}};for(var f in r)h(n[f]&&n[f].prototype,f);h(s,"DOMTokenList")},1296:function(e,t,i){var n=/^\s+|\s+$/g,r=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,o=/^0o[0-7]+$/i,a=parseInt,l="object"==typeof i.g&&i.g&&i.g.Object===Object&&i.g,c="object"==typeof self&&self&&self.Object===Object&&self,u=l||c||Function("return this")(),d=Object.prototype.toString,h=Math.max,f=Math.min,p=function(){return u.Date.now()};function g(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function m(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==d.call(e)}(e))return NaN;if(g(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=g(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(n,"");var i=s.test(e);return i||o.test(e)?a(e.slice(2),i?2:8):r.test(e)?NaN:+e}e.exports=function(e,t,i){var n,r,s,o,a,l,c=0,u=!1,d=!1,v=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function b(t){var i=n,s=r;return n=r=void 0,c=t,o=e.apply(s,i)}function _(e){return c=e,a=setTimeout(w,t),u?b(e):o}function y(e){var i=e-l;return void 0===l||i>=t||i<0||d&&e-c>=s}function w(){var e=p();if(y(e))return x(e);a=setTimeout(w,function(e){var i=t-(e-l);return d?f(i,s-(e-c)):i}(e))}function x(e){return a=void 0,v&&n?b(e):(n=r=void 0,o)}function E(){var e=p(),i=y(e);if(n=arguments,r=this,l=e,i){if(void 0===a)return _(l);if(d)return a=setTimeout(w,t),b(l)}return void 0===a&&(a=setTimeout(w,t)),o}return t=m(t)||0,g(i)&&(u=!!i.leading,s=(d="maxWait"in i)?h(m(i.maxWait)||0,t):s,v="trailing"in i?!!i.trailing:v),E.cancel=function(){void 0!==a&&clearTimeout(a),c=0,n=l=r=a=void 0},E.flush=function(){return void 0===a?o:x(p())},E}},773:function(e,t,i){var n,r="__lodash_hash_undefined__",s=/^\[object .+?Constructor\]$/,o="object"==typeof i.g&&i.g&&i.g.Object===Object&&i.g,a="object"==typeof self&&self&&self.Object===Object&&self,l=o||a||Function("return this")(),c=Array.prototype,u=Function.prototype,d=Object.prototype,h=l["__core-js_shared__"],f=(n=/[^.]+$/.exec(h&&h.keys&&h.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",p=u.toString,g=d.hasOwnProperty,m=d.toString,v=RegExp("^"+p.call(g).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),b=c.splice,_=L(l,"Map"),y=L(Object,"create");function w(e){var t=-1,i=e?e.length:0;for(this.clear();++t<i;){var n=e[t];this.set(n[0],n[1])}}function x(e){var t=-1,i=e?e.length:0;for(this.clear();++t<i;){var n=e[t];this.set(n[0],n[1])}}function E(e){var t=-1,i=e?e.length:0;for(this.clear();++t<i;){var n=e[t];this.set(n[0],n[1])}}function k(e,t){for(var i,n,r=e.length;r--;)if((i=e[r][0])===(n=t)||i!=i&&n!=n)return r;return-1}function S(e,t){var i,n,r=e.__data__;return("string"==(n=typeof(i=t))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==i:null===i)?r["string"==typeof t?"string":"hash"]:r.map}function L(e,t){var i=function(e,t){return null==e?void 0:e[t]}(e,t);return function(e){if(!O(e)||f&&f in e)return!1;var t=function(e){var t=O(e)?m.call(e):"";return"[object Function]"==t||"[object GeneratorFunction]"==t}(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e)?v:s;return t.test(function(e){if(null!=e){try{return p.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e))}(i)?i:void 0}function A(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError("Expected a function");var i=function(){var n=arguments,r=t?t.apply(this,n):n[0],s=i.cache;if(s.has(r))return s.get(r);var o=e.apply(this,n);return i.cache=s.set(r,o),o};return i.cache=new(A.Cache||E),i}function O(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}w.prototype.clear=function(){this.__data__=y?y(null):{}},w.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},w.prototype.get=function(e){var t=this.__data__;if(y){var i=t[e];return i===r?void 0:i}return g.call(t,e)?t[e]:void 0},w.prototype.has=function(e){var t=this.__data__;return y?void 0!==t[e]:g.call(t,e)},w.prototype.set=function(e,t){return this.__data__[e]=y&&void 0===t?r:t,this},x.prototype.clear=function(){this.__data__=[]},x.prototype.delete=function(e){var t=this.__data__,i=k(t,e);return!(i<0||(i==t.length-1?t.pop():b.call(t,i,1),0))},x.prototype.get=function(e){var t=this.__data__,i=k(t,e);return i<0?void 0:t[i][1]},x.prototype.has=function(e){return k(this.__data__,e)>-1},x.prototype.set=function(e,t){var i=this.__data__,n=k(i,e);return n<0?i.push([e,t]):i[n][1]=t,this},E.prototype.clear=function(){this.__data__={hash:new w,map:new(_||x),string:new w}},E.prototype.delete=function(e){return S(this,e).delete(e)},E.prototype.get=function(e){return S(this,e).get(e)},E.prototype.has=function(e){return S(this,e).has(e)},E.prototype.set=function(e,t){return S(this,e).set(e,t),this},A.Cache=E,e.exports=A},3096:function(e,t,i){var n="Expected a function",r=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,a=/^0o[0-7]+$/i,l=parseInt,c="object"==typeof i.g&&i.g&&i.g.Object===Object&&i.g,u="object"==typeof self&&self&&self.Object===Object&&self,d=c||u||Function("return this")(),h=Object.prototype.toString,f=Math.max,p=Math.min,g=function(){return d.Date.now()};function m(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function v(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==h.call(e)}(e))return NaN;if(m(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=m(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(r,"");var i=o.test(e);return i||a.test(e)?l(e.slice(2),i?2:8):s.test(e)?NaN:+e}e.exports=function(e,t,i){var r=!0,s=!0;if("function"!=typeof e)throw new TypeError(n);return m(i)&&(r="leading"in i?!!i.leading:r,s="trailing"in i?!!i.trailing:s),function(e,t,i){var r,s,o,a,l,c,u=0,d=!1,h=!1,b=!0;if("function"!=typeof e)throw new TypeError(n);function _(t){var i=r,n=s;return r=s=void 0,u=t,a=e.apply(n,i)}function y(e){return u=e,l=setTimeout(x,t),d?_(e):a}function w(e){var i=e-c;return void 0===c||i>=t||i<0||h&&e-u>=o}function x(){var e=g();if(w(e))return E(e);l=setTimeout(x,function(e){var i=t-(e-c);return h?p(i,o-(e-u)):i}(e))}function E(e){return l=void 0,b&&r?_(e):(r=s=void 0,a)}function k(){var e=g(),i=w(e);if(r=arguments,s=this,c=e,i){if(void 0===l)return y(c);if(h)return l=setTimeout(x,t),_(c)}return void 0===l&&(l=setTimeout(x,t)),a}return t=v(t)||0,m(i)&&(d=!!i.leading,o=(h="maxWait"in i)?f(v(i.maxWait)||0,t):o,b="trailing"in i?!!i.trailing:b),k.cancel=function(){void 0!==l&&clearTimeout(l),u=0,r=c=s=l=void 0},k.flush=function(){return void 0===l?a:E(g())},k}(e,t,{leading:r,maxWait:t,trailing:s})}}},t={};function i(n){var r=t[n];if(void 0!==r)return r.exports;var s=t[n]={exports:{}};return e[n](s,s.exports,i),s.exports}i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,{a:t}),t},i.d=function(e,t){for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},function(){"use strict";var e={};i.r(e),i.d(e,{afterMain:function(){return x},afterRead:function(){return _},afterWrite:function(){return S},applyStyles:function(){return D},arrow:function(){return K},auto:function(){return a},basePlacements:function(){return l},beforeMain:function(){return y},beforeRead:function(){return v},beforeWrite:function(){return E},bottom:function(){return r},clippingParents:function(){return d},computeStyles:function(){return ee},createPopper:function(){return je},createPopperBase:function(){return Oe},createPopperLite:function(){return Te},detectOverflow:function(){return ge},end:function(){return u},eventListeners:function(){return ie},flip:function(){return me},hide:function(){return _e},left:function(){return o},main:function(){return w},modifierPhases:function(){return L},offset:function(){return ye},placements:function(){return m},popper:function(){return f},popperGenerator:function(){return Ae},popperOffsets:function(){return we},preventOverflow:function(){return xe},read:function(){return b},reference:function(){return p},right:function(){return s},start:function(){return c},top:function(){return n},variationPlacements:function(){return g},viewport:function(){return h},write:function(){return k}});var t={};i.r(t),i.d(t,{Alert:function(){return vt},Button:function(){return _t},Carousel:function(){return Nt},Collapse:function(){return Vt},Dropdown:function(){return di},Modal:function(){return Ri},Offcanvas:function(){return Vi},Popover:function(){return vn},ScrollSpy:function(){return kn},Tab:function(){return Tn},Toast:function(){return Fn},Tooltip:function(){return fn}});var n="top",r="bottom",s="right",o="left",a="auto",l=[n,r,s,o],c="start",u="end",d="clippingParents",h="viewport",f="popper",p="reference",g=l.reduce((function(e,t){return e.concat([t+"-"+c,t+"-"+u])}),[]),m=[].concat(l,[a]).reduce((function(e,t){return e.concat([t,t+"-"+c,t+"-"+u])}),[]),v="beforeRead",b="read",_="afterRead",y="beforeMain",w="main",x="afterMain",E="beforeWrite",k="write",S="afterWrite",L=[v,b,_,y,w,x,E,k,S];function A(e){return e?(e.nodeName||"").toLowerCase():null}function O(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function j(e){return e instanceof O(e).Element||e instanceof Element}function T(e){return e instanceof O(e).HTMLElement||e instanceof HTMLElement}function C(e){return"undefined"!=typeof ShadowRoot&&(e instanceof O(e).ShadowRoot||e instanceof ShadowRoot)}var D={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var i=t.styles[e]||{},n=t.attributes[e]||{},r=t.elements[e];T(r)&&A(r)&&(Object.assign(r.style,i),Object.keys(n).forEach((function(e){var t=n[e];!1===t?r.removeAttribute(e):r.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,i={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,i.popper),t.styles=i,t.elements.arrow&&Object.assign(t.elements.arrow.style,i.arrow),function(){Object.keys(t.elements).forEach((function(e){var n=t.elements[e],r=t.attributes[e]||{},s=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:i[e]).reduce((function(e,t){return e[t]="",e}),{});T(n)&&A(n)&&(Object.assign(n.style,s),Object.keys(r).forEach((function(e){n.removeAttribute(e)})))}))}},requires:["computeStyles"]};function P(e){return e.split("-")[0]}var I=Math.max,N=Math.min,M=Math.round;function F(e,t){void 0===t&&(t=!1);var i=e.getBoundingClientRect(),n=1,r=1;if(T(e)&&t){var s=e.offsetHeight,o=e.offsetWidth;o>0&&(n=M(i.width)/o||1),s>0&&(r=M(i.height)/s||1)}return{width:i.width/n,height:i.height/r,top:i.top/r,right:i.right/n,bottom:i.bottom/r,left:i.left/n,x:i.left/n,y:i.top/r}}function R(e){var t=F(e),i=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-i)<=1&&(i=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:i,height:n}}function z(e,t){var i=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(i&&C(i)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function B(e){return O(e).getComputedStyle(e)}function W(e){return["table","td","th"].indexOf(A(e))>=0}function q(e){return((j(e)?e.ownerDocument:e.document)||window.document).documentElement}function H(e){return"html"===A(e)?e:e.assignedSlot||e.parentNode||(C(e)?e.host:null)||q(e)}function $(e){return T(e)&&"fixed"!==B(e).position?e.offsetParent:null}function V(e){for(var t=O(e),i=$(e);i&&W(i)&&"static"===B(i).position;)i=$(i);return i&&("html"===A(i)||"body"===A(i)&&"static"===B(i).position)?t:i||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&T(e)&&"fixed"===B(e).position)return null;for(var i=H(e);T(i)&&["html","body"].indexOf(A(i))<0;){var n=B(i);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||t&&"filter"===n.willChange||t&&n.filter&&"none"!==n.filter)return i;i=i.parentNode}return null}(e)||t}function Q(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function X(e,t,i){return I(e,N(t,i))}function Y(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function U(e,t){return t.reduce((function(t,i){return t[i]=e,t}),{})}var K={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,i=e.state,a=e.name,c=e.options,u=i.elements.arrow,d=i.modifiersData.popperOffsets,h=P(i.placement),f=Q(h),p=[o,s].indexOf(h)>=0?"height":"width";if(u&&d){var g=function(e,t){return Y("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:U(e,l))}(c.padding,i),m=R(u),v="y"===f?n:o,b="y"===f?r:s,_=i.rects.reference[p]+i.rects.reference[f]-d[f]-i.rects.popper[p],y=d[f]-i.rects.reference[f],w=V(u),x=w?"y"===f?w.clientHeight||0:w.clientWidth||0:0,E=_/2-y/2,k=g[v],S=x-m[p]-g[b],L=x/2-m[p]/2+E,A=X(k,L,S),O=f;i.modifiersData[a]=((t={})[O]=A,t.centerOffset=A-L,t)}},effect:function(e){var t=e.state,i=e.options.element,n=void 0===i?"[data-popper-arrow]":i;null!=n&&("string"!=typeof n||(n=t.elements.popper.querySelector(n)))&&z(t.elements.popper,n)&&(t.elements.arrow=n)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function G(e){return e.split("-")[1]}var J={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Z(e){var t,i=e.popper,a=e.popperRect,l=e.placement,c=e.variation,d=e.offsets,h=e.position,f=e.gpuAcceleration,p=e.adaptive,g=e.roundOffsets,m=e.isFixed,v=d.x,b=void 0===v?0:v,_=d.y,y=void 0===_?0:_,w="function"==typeof g?g({x:b,y:y}):{x:b,y:y};b=w.x,y=w.y;var x=d.hasOwnProperty("x"),E=d.hasOwnProperty("y"),k=o,S=n,L=window;if(p){var A=V(i),j="clientHeight",T="clientWidth";A===O(i)&&"static"!==B(A=q(i)).position&&"absolute"===h&&(j="scrollHeight",T="scrollWidth"),A=A,(l===n||(l===o||l===s)&&c===u)&&(S=r,y-=(m&&L.visualViewport?L.visualViewport.height:A[j])-a.height,y*=f?1:-1),l!==o&&(l!==n&&l!==r||c!==u)||(k=s,b-=(m&&L.visualViewport?L.visualViewport.width:A[T])-a.width,b*=f?1:-1)}var C,D=Object.assign({position:h},p&&J),P=!0===g?function(e){var t=e.x,i=e.y,n=window.devicePixelRatio||1;return{x:M(t*n)/n||0,y:M(i*n)/n||0}}({x:b,y:y}):{x:b,y:y};return b=P.x,y=P.y,f?Object.assign({},D,((C={})[S]=E?"0":"",C[k]=x?"0":"",C.transform=(L.devicePixelRatio||1)<=1?"translate("+b+"px, "+y+"px)":"translate3d("+b+"px, "+y+"px, 0)",C)):Object.assign({},D,((t={})[S]=E?y+"px":"",t[k]=x?b+"px":"",t.transform="",t))}var ee={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,i=e.options,n=i.gpuAcceleration,r=void 0===n||n,s=i.adaptive,o=void 0===s||s,a=i.roundOffsets,l=void 0===a||a,c={placement:P(t.placement),variation:G(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Z(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Z(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},te={passive:!0},ie={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,i=e.instance,n=e.options,r=n.scroll,s=void 0===r||r,o=n.resize,a=void 0===o||o,l=O(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return s&&c.forEach((function(e){e.addEventListener("scroll",i.update,te)})),a&&l.addEventListener("resize",i.update,te),function(){s&&c.forEach((function(e){e.removeEventListener("scroll",i.update,te)})),a&&l.removeEventListener("resize",i.update,te)}},data:{}},ne={left:"right",right:"left",bottom:"top",top:"bottom"};function re(e){return e.replace(/left|right|bottom|top/g,(function(e){return ne[e]}))}var se={start:"end",end:"start"};function oe(e){return e.replace(/start|end/g,(function(e){return se[e]}))}function ae(e){var t=O(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function le(e){return F(q(e)).left+ae(e).scrollLeft}function ce(e){var t=B(e),i=t.overflow,n=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(i+r+n)}function ue(e){return["html","body","#document"].indexOf(A(e))>=0?e.ownerDocument.body:T(e)&&ce(e)?e:ue(H(e))}function de(e,t){var i;void 0===t&&(t=[]);var n=ue(e),r=n===(null==(i=e.ownerDocument)?void 0:i.body),s=O(n),o=r?[s].concat(s.visualViewport||[],ce(n)?n:[]):n,a=t.concat(o);return r?a:a.concat(de(H(o)))}function he(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function fe(e,t){return t===h?he(function(e){var t=O(e),i=q(e),n=t.visualViewport,r=i.clientWidth,s=i.clientHeight,o=0,a=0;return n&&(r=n.width,s=n.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(o=n.offsetLeft,a=n.offsetTop)),{width:r,height:s,x:o+le(e),y:a}}(e)):j(t)?function(e){var t=F(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):he(function(e){var t,i=q(e),n=ae(e),r=null==(t=e.ownerDocument)?void 0:t.body,s=I(i.scrollWidth,i.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),o=I(i.scrollHeight,i.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),a=-n.scrollLeft+le(e),l=-n.scrollTop;return"rtl"===B(r||i).direction&&(a+=I(i.clientWidth,r?r.clientWidth:0)-s),{width:s,height:o,x:a,y:l}}(q(e)))}function pe(e){var t,i=e.reference,a=e.element,l=e.placement,d=l?P(l):null,h=l?G(l):null,f=i.x+i.width/2-a.width/2,p=i.y+i.height/2-a.height/2;switch(d){case n:t={x:f,y:i.y-a.height};break;case r:t={x:f,y:i.y+i.height};break;case s:t={x:i.x+i.width,y:p};break;case o:t={x:i.x-a.width,y:p};break;default:t={x:i.x,y:i.y}}var g=d?Q(d):null;if(null!=g){var m="y"===g?"height":"width";switch(h){case c:t[g]=t[g]-(i[m]/2-a[m]/2);break;case u:t[g]=t[g]+(i[m]/2-a[m]/2)}}return t}function ge(e,t){void 0===t&&(t={});var i=t,o=i.placement,a=void 0===o?e.placement:o,c=i.boundary,u=void 0===c?d:c,g=i.rootBoundary,m=void 0===g?h:g,v=i.elementContext,b=void 0===v?f:v,_=i.altBoundary,y=void 0!==_&&_,w=i.padding,x=void 0===w?0:w,E=Y("number"!=typeof x?x:U(x,l)),k=b===f?p:f,S=e.rects.popper,L=e.elements[y?k:b],O=function(e,t,i){var n="clippingParents"===t?function(e){var t=de(H(e)),i=["absolute","fixed"].indexOf(B(e).position)>=0&&T(e)?V(e):e;return j(i)?t.filter((function(e){return j(e)&&z(e,i)&&"body"!==A(e)})):[]}(e):[].concat(t),r=[].concat(n,[i]),s=r[0],o=r.reduce((function(t,i){var n=fe(e,i);return t.top=I(n.top,t.top),t.right=N(n.right,t.right),t.bottom=N(n.bottom,t.bottom),t.left=I(n.left,t.left),t}),fe(e,s));return o.width=o.right-o.left,o.height=o.bottom-o.top,o.x=o.left,o.y=o.top,o}(j(L)?L:L.contextElement||q(e.elements.popper),u,m),C=F(e.elements.reference),D=pe({reference:C,element:S,strategy:"absolute",placement:a}),P=he(Object.assign({},S,D)),M=b===f?P:C,R={top:O.top-M.top+E.top,bottom:M.bottom-O.bottom+E.bottom,left:O.left-M.left+E.left,right:M.right-O.right+E.right},W=e.modifiersData.offset;if(b===f&&W){var $=W[a];Object.keys(R).forEach((function(e){var t=[s,r].indexOf(e)>=0?1:-1,i=[n,r].indexOf(e)>=0?"y":"x";R[e]+=$[i]*t}))}return R}var me={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,i=e.options,u=e.name;if(!t.modifiersData[u]._skip){for(var d=i.mainAxis,h=void 0===d||d,f=i.altAxis,p=void 0===f||f,v=i.fallbackPlacements,b=i.padding,_=i.boundary,y=i.rootBoundary,w=i.altBoundary,x=i.flipVariations,E=void 0===x||x,k=i.allowedAutoPlacements,S=t.options.placement,L=P(S),A=v||(L!==S&&E?function(e){if(P(e)===a)return[];var t=re(e);return[oe(e),t,oe(t)]}(S):[re(S)]),O=[S].concat(A).reduce((function(e,i){return e.concat(P(i)===a?function(e,t){void 0===t&&(t={});var i=t,n=i.placement,r=i.boundary,s=i.rootBoundary,o=i.padding,a=i.flipVariations,c=i.allowedAutoPlacements,u=void 0===c?m:c,d=G(n),h=d?a?g:g.filter((function(e){return G(e)===d})):l,f=h.filter((function(e){return u.indexOf(e)>=0}));0===f.length&&(f=h);var p=f.reduce((function(t,i){return t[i]=ge(e,{placement:i,boundary:r,rootBoundary:s,padding:o})[P(i)],t}),{});return Object.keys(p).sort((function(e,t){return p[e]-p[t]}))}(t,{placement:i,boundary:_,rootBoundary:y,padding:b,flipVariations:E,allowedAutoPlacements:k}):i)}),[]),j=t.rects.reference,T=t.rects.popper,C=new Map,D=!0,I=O[0],N=0;N<O.length;N++){var M=O[N],F=P(M),R=G(M)===c,z=[n,r].indexOf(F)>=0,B=z?"width":"height",W=ge(t,{placement:M,boundary:_,rootBoundary:y,altBoundary:w,padding:b}),q=z?R?s:o:R?r:n;j[B]>T[B]&&(q=re(q));var H=re(q),$=[];if(h&&$.push(W[F]<=0),p&&$.push(W[q]<=0,W[H]<=0),$.every((function(e){return e}))){I=M,D=!1;break}C.set(M,$)}if(D)for(var V=function(e){var t=O.find((function(t){var i=C.get(t);if(i)return i.slice(0,e).every((function(e){return e}))}));if(t)return I=t,"break"},Q=E?3:1;Q>0&&"break"!==V(Q);Q--);t.placement!==I&&(t.modifiersData[u]._skip=!0,t.placement=I,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function ve(e,t,i){return void 0===i&&(i={x:0,y:0}),{top:e.top-t.height-i.y,right:e.right-t.width+i.x,bottom:e.bottom-t.height+i.y,left:e.left-t.width-i.x}}function be(e){return[n,s,r,o].some((function(t){return e[t]>=0}))}var _e={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,i=e.name,n=t.rects.reference,r=t.rects.popper,s=t.modifiersData.preventOverflow,o=ge(t,{elementContext:"reference"}),a=ge(t,{altBoundary:!0}),l=ve(o,n),c=ve(a,r,s),u=be(l),d=be(c);t.modifiersData[i]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}},ye={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,i=e.options,r=e.name,a=i.offset,l=void 0===a?[0,0]:a,c=m.reduce((function(e,i){return e[i]=function(e,t,i){var r=P(e),a=[o,n].indexOf(r)>=0?-1:1,l="function"==typeof i?i(Object.assign({},t,{placement:e})):i,c=l[0],u=l[1];return c=c||0,u=(u||0)*a,[o,s].indexOf(r)>=0?{x:u,y:c}:{x:c,y:u}}(i,t.rects,l),e}),{}),u=c[t.placement],d=u.x,h=u.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=d,t.modifiersData.popperOffsets.y+=h),t.modifiersData[r]=c}},we={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,i=e.name;t.modifiersData[i]=pe({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},xe={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,i=e.options,a=e.name,l=i.mainAxis,u=void 0===l||l,d=i.altAxis,h=void 0!==d&&d,f=i.boundary,p=i.rootBoundary,g=i.altBoundary,m=i.padding,v=i.tether,b=void 0===v||v,_=i.tetherOffset,y=void 0===_?0:_,w=ge(t,{boundary:f,rootBoundary:p,padding:m,altBoundary:g}),x=P(t.placement),E=G(t.placement),k=!E,S=Q(x),L="x"===S?"y":"x",A=t.modifiersData.popperOffsets,O=t.rects.reference,j=t.rects.popper,T="function"==typeof y?y(Object.assign({},t.rects,{placement:t.placement})):y,C="number"==typeof T?{mainAxis:T,altAxis:T}:Object.assign({mainAxis:0,altAxis:0},T),D=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,M={x:0,y:0};if(A){if(u){var F,z="y"===S?n:o,B="y"===S?r:s,W="y"===S?"height":"width",q=A[S],H=q+w[z],$=q-w[B],Y=b?-j[W]/2:0,U=E===c?O[W]:j[W],K=E===c?-j[W]:-O[W],J=t.elements.arrow,Z=b&&J?R(J):{width:0,height:0},ee=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},te=ee[z],ie=ee[B],ne=X(0,O[W],Z[W]),re=k?O[W]/2-Y-ne-te-C.mainAxis:U-ne-te-C.mainAxis,se=k?-O[W]/2+Y+ne+ie+C.mainAxis:K+ne+ie+C.mainAxis,oe=t.elements.arrow&&V(t.elements.arrow),ae=oe?"y"===S?oe.clientTop||0:oe.clientLeft||0:0,le=null!=(F=null==D?void 0:D[S])?F:0,ce=q+se-le,ue=X(b?N(H,q+re-le-ae):H,q,b?I($,ce):$);A[S]=ue,M[S]=ue-q}if(h){var de,he="x"===S?n:o,fe="x"===S?r:s,pe=A[L],me="y"===L?"height":"width",ve=pe+w[he],be=pe-w[fe],_e=-1!==[n,o].indexOf(x),ye=null!=(de=null==D?void 0:D[L])?de:0,we=_e?ve:pe-O[me]-j[me]-ye+C.altAxis,xe=_e?pe+O[me]+j[me]-ye-C.altAxis:be,Ee=b&&_e?function(e,t,i){var n=X(e,t,i);return n>i?i:n}(we,pe,xe):X(b?we:ve,pe,b?xe:be);A[L]=Ee,M[L]=Ee-pe}t.modifiersData[a]=M}},requiresIfExists:["offset"]};function Ee(e,t,i){void 0===i&&(i=!1);var n,r,s=T(t),o=T(t)&&function(e){var t=e.getBoundingClientRect(),i=M(t.width)/e.offsetWidth||1,n=M(t.height)/e.offsetHeight||1;return 1!==i||1!==n}(t),a=q(t),l=F(e,o),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(s||!s&&!i)&&(("body"!==A(t)||ce(a))&&(c=(n=t)!==O(n)&&T(n)?{scrollLeft:(r=n).scrollLeft,scrollTop:r.scrollTop}:ae(n)),T(t)?((u=F(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):a&&(u.x=le(a))),{x:l.left+c.scrollLeft-u.x,y:l.top+c.scrollTop-u.y,width:l.width,height:l.height}}function ke(e){var t=new Map,i=new Set,n=[];function r(e){i.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!i.has(e)){var n=t.get(e);n&&r(n)}})),n.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){i.has(e.name)||r(e)})),n}var Se={placement:"bottom",modifiers:[],strategy:"absolute"};function Le(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function Ae(e){void 0===e&&(e={});var t=e,i=t.defaultModifiers,n=void 0===i?[]:i,r=t.defaultOptions,s=void 0===r?Se:r;return function(e,t,i){void 0===i&&(i=s);var r,o,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},Se,s),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],c=!1,u={state:a,setOptions:function(i){var r="function"==typeof i?i(a.options):i;d(),a.options=Object.assign({},s,a.options,r),a.scrollParents={reference:j(e)?de(e):e.contextElement?de(e.contextElement):[],popper:de(t)};var o,c,h=function(e){var t=ke(e);return L.reduce((function(e,i){return e.concat(t.filter((function(e){return e.phase===i})))}),[])}((o=[].concat(n,a.options.modifiers),c=o.reduce((function(e,t){var i=e[t.name];return e[t.name]=i?Object.assign({},i,t,{options:Object.assign({},i.options,t.options),data:Object.assign({},i.data,t.data)}):t,e}),{}),Object.keys(c).map((function(e){return c[e]}))));return a.orderedModifiers=h.filter((function(e){return e.enabled})),a.orderedModifiers.forEach((function(e){var t=e.name,i=e.options,n=void 0===i?{}:i,r=e.effect;if("function"==typeof r){var s=r({state:a,name:t,instance:u,options:n});l.push(s||function(){})}})),u.update()},forceUpdate:function(){if(!c){var e=a.elements,t=e.reference,i=e.popper;if(Le(t,i)){a.rects={reference:Ee(t,V(i),"fixed"===a.options.strategy),popper:R(i)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach((function(e){return a.modifiersData[e.name]=Object.assign({},e.data)}));for(var n=0;n<a.orderedModifiers.length;n++)if(!0!==a.reset){var r=a.orderedModifiers[n],s=r.fn,o=r.options,l=void 0===o?{}:o,d=r.name;"function"==typeof s&&(a=s({state:a,options:l,name:d,instance:u})||a)}else a.reset=!1,n=-1}}},update:(r=function(){return new Promise((function(e){u.forceUpdate(),e(a)}))},function(){return o||(o=new Promise((function(e){Promise.resolve().then((function(){o=void 0,e(r())}))}))),o}),destroy:function(){d(),c=!0}};if(!Le(e,t))return u;function d(){l.forEach((function(e){return e()})),l=[]}return u.setOptions(i).then((function(e){!c&&i.onFirstUpdate&&i.onFirstUpdate(e)})),u}}var Oe=Ae(),je=Ae({defaultModifiers:[ie,we,ee,D,ye,me,xe,K,_e]}),Te=Ae({defaultModifiers:[ie,we,ee,D]});const Ce="transitionend",De=e=>{let t=e.getAttribute("data-bs-target");if(!t||"#"===t){let i=e.getAttribute("href");if(!i||!i.includes("#")&&!i.startsWith("."))return null;i.includes("#")&&!i.startsWith("#")&&(i=`#${i.split("#")[1]}`),t=i&&"#"!==i?i.trim():null}return t},Pe=e=>{const t=De(e);return t&&document.querySelector(t)?t:null},Ie=e=>{const t=De(e);return t?document.querySelector(t):null},Ne=e=>{e.dispatchEvent(new Event(Ce))},Me=e=>!(!e||"object"!=typeof e)&&(void 0!==e.jquery&&(e=e[0]),void 0!==e.nodeType),Fe=e=>Me(e)?e.jquery?e[0]:e:"string"==typeof e&&e.length>0?document.querySelector(e):null,Re=(e,t,i)=>{Object.keys(i).forEach((n=>{const r=i[n],s=t[n],o=s&&Me(s)?"element":null==(a=s)?`${a}`:{}.toString.call(a).match(/\s([a-z]+)/i)[1].toLowerCase();var a;if(!new RegExp(r).test(o))throw new TypeError(`${e.toUpperCase()}: Option "${n}" provided type "${o}" but expected type "${r}".`)}))},ze=e=>!(!Me(e)||0===e.getClientRects().length)&&"visible"===getComputedStyle(e).getPropertyValue("visibility"),Be=e=>!e||e.nodeType!==Node.ELEMENT_NODE||!!e.classList.contains("disabled")||(void 0!==e.disabled?e.disabled:e.hasAttribute("disabled")&&"false"!==e.getAttribute("disabled")),We=e=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof e.getRootNode){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?We(e.parentNode):null},qe=()=>{},He=e=>{e.offsetHeight},$e=()=>{const{jQuery:e}=window;return e&&!document.body.hasAttribute("data-bs-no-jquery")?e:null},Ve=[],Qe=()=>"rtl"===document.documentElement.dir,Xe=e=>{var t;t=()=>{const t=$e();if(t){const i=e.NAME,n=t.fn[i];t.fn[i]=e.jQueryInterface,t.fn[i].Constructor=e,t.fn[i].noConflict=()=>(t.fn[i]=n,e.jQueryInterface)}},"loading"===document.readyState?(Ve.length||document.addEventListener("DOMContentLoaded",(()=>{Ve.forEach((e=>e()))})),Ve.push(t)):t()},Ye=e=>{"function"==typeof e&&e()},Ue=(e,t,i=!0)=>{if(!i)return void Ye(e);const n=(e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:i}=window.getComputedStyle(e);const n=Number.parseFloat(t),r=Number.parseFloat(i);return n||r?(t=t.split(",")[0],i=i.split(",")[0],1e3*(Number.parseFloat(t)+Number.parseFloat(i))):0})(t)+5;let r=!1;const s=({target:i})=>{i===t&&(r=!0,t.removeEventListener(Ce,s),Ye(e))};t.addEventListener(Ce,s),setTimeout((()=>{r||Ne(t)}),n)},Ke=(e,t,i,n)=>{let r=e.indexOf(t);if(-1===r)return e[!i&&n?e.length-1:0];const s=e.length;return r+=i?1:-1,n&&(r=(r+s)%s),e[Math.max(0,Math.min(r,s-1))]},Ge=/[^.]*(?=\..*)\.|.*/,Je=/\..*/,Ze=/::\d+$/,et={};let tt=1;const it={mouseenter:"mouseover",mouseleave:"mouseout"},nt=/^(mouseenter|mouseleave)/i,rt=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function st(e,t){return t&&`${t}::${tt++}`||e.uidEvent||tt++}function ot(e){const t=st(e);return e.uidEvent=t,et[t]=et[t]||{},et[t]}function at(e,t,i=null){const n=Object.keys(e);for(let r=0,s=n.length;r<s;r++){const s=e[n[r]];if(s.originalHandler===t&&s.delegationSelector===i)return s}return null}function lt(e,t,i){const n="string"==typeof t,r=n?i:t;let s=dt(e);return rt.has(s)||(s=e),[n,r,s]}function ct(e,t,i,n,r){if("string"!=typeof t||!e)return;if(i||(i=n,n=null),nt.test(t)){const e=e=>function(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget))return e.call(this,t)};n?n=e(n):i=e(i)}const[s,o,a]=lt(t,i,n),l=ot(e),c=l[a]||(l[a]={}),u=at(c,o,s?i:null);if(u)return void(u.oneOff=u.oneOff&&r);const d=st(o,t.replace(Ge,"")),h=s?function(e,t,i){return function n(r){const s=e.querySelectorAll(t);for(let{target:o}=r;o&&o!==this;o=o.parentNode)for(let a=s.length;a--;)if(s[a]===o)return r.delegateTarget=o,n.oneOff&&ht.off(e,r.type,t,i),i.apply(o,[r]);return null}}(e,i,n):function(e,t){return function i(n){return n.delegateTarget=e,i.oneOff&&ht.off(e,n.type,t),t.apply(e,[n])}}(e,i);h.delegationSelector=s?i:null,h.originalHandler=o,h.oneOff=r,h.uidEvent=d,c[d]=h,e.addEventListener(a,h,s)}function ut(e,t,i,n,r){const s=at(t[i],n,r);s&&(e.removeEventListener(i,s,Boolean(r)),delete t[i][s.uidEvent])}function dt(e){return e=e.replace(Je,""),it[e]||e}const ht={on(e,t,i,n){ct(e,t,i,n,!1)},one(e,t,i,n){ct(e,t,i,n,!0)},off(e,t,i,n){if("string"!=typeof t||!e)return;const[r,s,o]=lt(t,i,n),a=o!==t,l=ot(e),c=t.startsWith(".");if(void 0!==s){if(!l||!l[o])return;return void ut(e,l,o,s,r?i:null)}c&&Object.keys(l).forEach((i=>{!function(e,t,i,n){const r=t[i]||{};Object.keys(r).forEach((s=>{if(s.includes(n)){const n=r[s];ut(e,t,i,n.originalHandler,n.delegationSelector)}}))}(e,l,i,t.slice(1))}));const u=l[o]||{};Object.keys(u).forEach((i=>{const n=i.replace(Ze,"");if(!a||t.includes(n)){const t=u[i];ut(e,l,o,t.originalHandler,t.delegationSelector)}}))},trigger(e,t,i){if("string"!=typeof t||!e)return null;const n=$e(),r=dt(t),s=t!==r,o=rt.has(r);let a,l=!0,c=!0,u=!1,d=null;return s&&n&&(a=n.Event(t,i),n(e).trigger(a),l=!a.isPropagationStopped(),c=!a.isImmediatePropagationStopped(),u=a.isDefaultPrevented()),o?(d=document.createEvent("HTMLEvents"),d.initEvent(r,l,!0)):d=new CustomEvent(t,{bubbles:l,cancelable:!0}),void 0!==i&&Object.keys(i).forEach((e=>{Object.defineProperty(d,e,{get:()=>i[e]})})),u&&d.preventDefault(),c&&e.dispatchEvent(d),d.defaultPrevented&&void 0!==a&&a.preventDefault(),d}},ft=new Map,pt={set(e,t,i){ft.has(e)||ft.set(e,new Map);const n=ft.get(e);n.has(t)||0===n.size?n.set(t,i):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(n.keys())[0]}.`)},get:(e,t)=>ft.has(e)&&ft.get(e).get(t)||null,remove(e,t){if(!ft.has(e))return;const i=ft.get(e);i.delete(t),0===i.size&&ft.delete(e)}};class gt{constructor(e){(e=Fe(e))&&(this._element=e,pt.set(this._element,this.constructor.DATA_KEY,this))}dispose(){pt.remove(this._element,this.constructor.DATA_KEY),ht.off(this._element,this.constructor.EVENT_KEY),Object.getOwnPropertyNames(this).forEach((e=>{this[e]=null}))}_queueCallback(e,t,i=!0){Ue(e,t,i)}static getInstance(e){return pt.get(Fe(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,"object"==typeof t?t:null)}static get VERSION(){return"5.1.3"}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}}const mt=(e,t="hide")=>{const i=`click.dismiss${e.EVENT_KEY}`,n=e.NAME;ht.on(document,i,`[data-bs-dismiss="${n}"]`,(function(i){if(["A","AREA"].includes(this.tagName)&&i.preventDefault(),Be(this))return;const r=Ie(this)||this.closest(`.${n}`);e.getOrCreateInstance(r)[t]()}))};class vt extends gt{static get NAME(){return"alert"}close(){if(ht.trigger(this._element,"close.bs.alert").defaultPrevented)return;this._element.classList.remove("show");const e=this._element.classList.contains("fade");this._queueCallback((()=>this._destroyElement()),this._element,e)}_destroyElement(){this._element.remove(),ht.trigger(this._element,"closed.bs.alert"),this.dispose()}static jQueryInterface(e){return this.each((function(){const t=vt.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e](this)}}))}}mt(vt,"close"),Xe(vt);const bt='[data-bs-toggle="button"]';class _t extends gt{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(e){return this.each((function(){const t=_t.getOrCreateInstance(this);"toggle"===e&&t[e]()}))}}function yt(e){return"true"===e||"false"!==e&&(e===Number(e).toString()?Number(e):""===e||"null"===e?null:e)}function wt(e){return e.replace(/[A-Z]/g,(e=>`-${e.toLowerCase()}`))}ht.on(document,"click.bs.button.data-api",bt,(e=>{e.preventDefault();const t=e.target.closest(bt);_t.getOrCreateInstance(t).toggle()})),Xe(_t);const xt={setDataAttribute(e,t,i){e.setAttribute(`data-bs-${wt(t)}`,i)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${wt(t)}`)},getDataAttributes(e){if(!e)return{};const t={};return Object.keys(e.dataset).filter((e=>e.startsWith("bs"))).forEach((i=>{let n=i.replace(/^bs/,"");n=n.charAt(0).toLowerCase()+n.slice(1,n.length),t[n]=yt(e.dataset[i])})),t},getDataAttribute:(e,t)=>yt(e.getAttribute(`data-bs-${wt(t)}`)),offset(e){const t=e.getBoundingClientRect();return{top:t.top+window.pageYOffset,left:t.left+window.pageXOffset}},position:e=>({top:e.offsetTop,left:e.offsetLeft})},Et={find:(e,t=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(t,e)),findOne:(e,t=document.documentElement)=>Element.prototype.querySelector.call(t,e),children:(e,t)=>[].concat(...e.children).filter((e=>e.matches(t))),parents(e,t){const i=[];let n=e.parentNode;for(;n&&n.nodeType===Node.ELEMENT_NODE&&3!==n.nodeType;)n.matches(t)&&i.push(n),n=n.parentNode;return i},prev(e,t){let i=e.previousElementSibling;for(;i;){if(i.matches(t))return[i];i=i.previousElementSibling}return[]},next(e,t){let i=e.nextElementSibling;for(;i;){if(i.matches(t))return[i];i=i.nextElementSibling}return[]},focusableChildren(e){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map((e=>`${e}:not([tabindex^="-"])`)).join(", ");return this.find(t,e).filter((e=>!Be(e)&&ze(e)))}},kt="carousel",St={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},Lt={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},At="next",Ot="prev",jt="left",Tt="right",Ct={ArrowLeft:Tt,ArrowRight:jt},Dt="slid.bs.carousel",Pt="active",It=".active.carousel-item";class Nt extends gt{constructor(e,t){super(e),this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this.touchStartX=0,this.touchDeltaX=0,this._config=this._getConfig(t),this._indicatorsElement=Et.findOne(".carousel-indicators",this._element),this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0,this._pointerEvent=Boolean(window.PointerEvent),this._addEventListeners()}static get Default(){return St}static get NAME(){return kt}next(){this._slide(At)}nextWhenVisible(){!document.hidden&&ze(this._element)&&this.next()}prev(){this._slide(Ot)}pause(e){e||(this._isPaused=!0),Et.findOne(".carousel-item-next, .carousel-item-prev",this._element)&&(Ne(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null}cycle(e){e||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config&&this._config.interval&&!this._isPaused&&(this._updateInterval(),this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))}to(e){this._activeElement=Et.findOne(It,this._element);const t=this._getItemIndex(this._activeElement);if(e>this._items.length-1||e<0)return;if(this._isSliding)return void ht.one(this._element,Dt,(()=>this.to(e)));if(t===e)return this.pause(),void this.cycle();const i=e>t?At:Ot;this._slide(i,this._items[e])}_getConfig(e){return e={...St,...xt.getDataAttributes(this._element),..."object"==typeof e?e:{}},Re(kt,e,Lt),e}_handleSwipe(){const e=Math.abs(this.touchDeltaX);if(e<=40)return;const t=e/this.touchDeltaX;this.touchDeltaX=0,t&&this._slide(t>0?Tt:jt)}_addEventListeners(){this._config.keyboard&&ht.on(this._element,"keydown.bs.carousel",(e=>this._keydown(e))),"hover"===this._config.pause&&(ht.on(this._element,"mouseenter.bs.carousel",(e=>this.pause(e))),ht.on(this._element,"mouseleave.bs.carousel",(e=>this.cycle(e)))),this._config.touch&&this._touchSupported&&this._addTouchEventListeners()}_addTouchEventListeners(){const e=e=>this._pointerEvent&&("pen"===e.pointerType||"touch"===e.pointerType),t=t=>{e(t)?this.touchStartX=t.clientX:this._pointerEvent||(this.touchStartX=t.touches[0].clientX)},i=e=>{this.touchDeltaX=e.touches&&e.touches.length>1?0:e.touches[0].clientX-this.touchStartX},n=t=>{e(t)&&(this.touchDeltaX=t.clientX-this.touchStartX),this._handleSwipe(),"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout((e=>this.cycle(e)),500+this._config.interval))};Et.find(".carousel-item img",this._element).forEach((e=>{ht.on(e,"dragstart.bs.carousel",(e=>e.preventDefault()))})),this._pointerEvent?(ht.on(this._element,"pointerdown.bs.carousel",(e=>t(e))),ht.on(this._element,"pointerup.bs.carousel",(e=>n(e))),this._element.classList.add("pointer-event")):(ht.on(this._element,"touchstart.bs.carousel",(e=>t(e))),ht.on(this._element,"touchmove.bs.carousel",(e=>i(e))),ht.on(this._element,"touchend.bs.carousel",(e=>n(e))))}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const t=Ct[e.key];t&&(e.preventDefault(),this._slide(t))}_getItemIndex(e){return this._items=e&&e.parentNode?Et.find(".carousel-item",e.parentNode):[],this._items.indexOf(e)}_getItemByOrder(e,t){const i=e===At;return Ke(this._items,t,i,this._config.wrap)}_triggerSlideEvent(e,t){const i=this._getItemIndex(e),n=this._getItemIndex(Et.findOne(It,this._element));return ht.trigger(this._element,"slide.bs.carousel",{relatedTarget:e,direction:t,from:n,to:i})}_setActiveIndicatorElement(e){if(this._indicatorsElement){const t=Et.findOne(".active",this._indicatorsElement);t.classList.remove(Pt),t.removeAttribute("aria-current");const i=Et.find("[data-bs-target]",this._indicatorsElement);for(let t=0;t<i.length;t++)if(Number.parseInt(i[t].getAttribute("data-bs-slide-to"),10)===this._getItemIndex(e)){i[t].classList.add(Pt),i[t].setAttribute("aria-current","true");break}}}_updateInterval(){const e=this._activeElement||Et.findOne(It,this._element);if(!e)return;const t=Number.parseInt(e.getAttribute("data-bs-interval"),10);t?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=t):this._config.interval=this._config.defaultInterval||this._config.interval}_slide(e,t){const i=this._directionToOrder(e),n=Et.findOne(It,this._element),r=this._getItemIndex(n),s=t||this._getItemByOrder(i,n),o=this._getItemIndex(s),a=Boolean(this._interval),l=i===At,c=l?"carousel-item-start":"carousel-item-end",u=l?"carousel-item-next":"carousel-item-prev",d=this._orderToDirection(i);if(s&&s.classList.contains(Pt))return void(this._isSliding=!1);if(this._isSliding)return;if(this._triggerSlideEvent(s,d).defaultPrevented)return;if(!n||!s)return;this._isSliding=!0,a&&this.pause(),this._setActiveIndicatorElement(s),this._activeElement=s;const h=()=>{ht.trigger(this._element,Dt,{relatedTarget:s,direction:d,from:r,to:o})};if(this._element.classList.contains("slide")){s.classList.add(u),He(s),n.classList.add(c),s.classList.add(c);const e=()=>{s.classList.remove(c,u),s.classList.add(Pt),n.classList.remove(Pt,u,c),this._isSliding=!1,setTimeout(h,0)};this._queueCallback(e,n,!0)}else n.classList.remove(Pt),s.classList.add(Pt),this._isSliding=!1,h();a&&this.cycle()}_directionToOrder(e){return[Tt,jt].includes(e)?Qe()?e===jt?Ot:At:e===jt?At:Ot:e}_orderToDirection(e){return[At,Ot].includes(e)?Qe()?e===Ot?jt:Tt:e===Ot?Tt:jt:e}static carouselInterface(e,t){const i=Nt.getOrCreateInstance(e,t);let{_config:n}=i;"object"==typeof t&&(n={...n,...t});const r="string"==typeof t?t:n.slide;if("number"==typeof t)i.to(t);else if("string"==typeof r){if(void 0===i[r])throw new TypeError(`No method named "${r}"`);i[r]()}else n.interval&&n.ride&&(i.pause(),i.cycle())}static jQueryInterface(e){return this.each((function(){Nt.carouselInterface(this,e)}))}static dataApiClickHandler(e){const t=Ie(this);if(!t||!t.classList.contains("carousel"))return;const i={...xt.getDataAttributes(t),...xt.getDataAttributes(this)},n=this.getAttribute("data-bs-slide-to");n&&(i.interval=!1),Nt.carouselInterface(t,i),n&&Nt.getInstance(t).to(n),e.preventDefault()}}ht.on(document,"click.bs.carousel.data-api","[data-bs-slide], [data-bs-slide-to]",Nt.dataApiClickHandler),ht.on(window,"load.bs.carousel.data-api",(()=>{const e=Et.find('[data-bs-ride="carousel"]');for(let t=0,i=e.length;t<i;t++)Nt.carouselInterface(e[t],Nt.getInstance(e[t]))})),Xe(Nt);const Mt="collapse",Ft={toggle:!0,parent:null},Rt={toggle:"boolean",parent:"(null|element)"},zt="show",Bt="collapse",Wt="collapsing",qt="collapsed",Ht=":scope .collapse .collapse",$t='[data-bs-toggle="collapse"]';class Vt extends gt{constructor(e,t){super(e),this._isTransitioning=!1,this._config=this._getConfig(t),this._triggerArray=[];const i=Et.find($t);for(let e=0,t=i.length;e<t;e++){const t=i[e],n=Pe(t),r=Et.find(n).filter((e=>e===this._element));null!==n&&r.length&&(this._selector=n,this._triggerArray.push(t))}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Ft}static get NAME(){return Mt}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e,t=[];if(this._config.parent){const e=Et.find(Ht,this._config.parent);t=Et.find(".collapse.show, .collapse.collapsing",this._config.parent).filter((t=>!e.includes(t)))}const i=Et.findOne(this._selector);if(t.length){const n=t.find((e=>i!==e));if(e=n?Vt.getInstance(n):null,e&&e._isTransitioning)return}if(ht.trigger(this._element,"show.bs.collapse").defaultPrevented)return;t.forEach((t=>{i!==t&&Vt.getOrCreateInstance(t,{toggle:!1}).hide(),e||pt.set(t,"bs.collapse",null)}));const n=this._getDimension();this._element.classList.remove(Bt),this._element.classList.add(Wt),this._element.style[n]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const r=`scroll${n[0].toUpperCase()+n.slice(1)}`;this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(Wt),this._element.classList.add(Bt,zt),this._element.style[n]="",ht.trigger(this._element,"shown.bs.collapse")}),this._element,!0),this._element.style[n]=`${this._element[r]}px`}hide(){if(this._isTransitioning||!this._isShown())return;if(ht.trigger(this._element,"hide.bs.collapse").defaultPrevented)return;const e=this._getDimension();this._element.style[e]=`${this._element.getBoundingClientRect()[e]}px`,He(this._element),this._element.classList.add(Wt),this._element.classList.remove(Bt,zt);const t=this._triggerArray.length;for(let e=0;e<t;e++){const t=this._triggerArray[e],i=Ie(t);i&&!this._isShown(i)&&this._addAriaAndCollapsedClass([t],!1)}this._isTransitioning=!0,this._element.style[e]="",this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(Wt),this._element.classList.add(Bt),ht.trigger(this._element,"hidden.bs.collapse")}),this._element,!0)}_isShown(e=this._element){return e.classList.contains(zt)}_getConfig(e){return(e={...Ft,...xt.getDataAttributes(this._element),...e}).toggle=Boolean(e.toggle),e.parent=Fe(e.parent),Re(Mt,e,Rt),e}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const e=Et.find(Ht,this._config.parent);Et.find($t,this._config.parent).filter((t=>!e.includes(t))).forEach((e=>{const t=Ie(e);t&&this._addAriaAndCollapsedClass([e],this._isShown(t))}))}_addAriaAndCollapsedClass(e,t){e.length&&e.forEach((e=>{t?e.classList.remove(qt):e.classList.add(qt),e.setAttribute("aria-expanded",t)}))}static jQueryInterface(e){return this.each((function(){const t={};"string"==typeof e&&/show|hide/.test(e)&&(t.toggle=!1);const i=Vt.getOrCreateInstance(this,t);if("string"==typeof e){if(void 0===i[e])throw new TypeError(`No method named "${e}"`);i[e]()}}))}}ht.on(document,"click.bs.collapse.data-api",$t,(function(e){("A"===e.target.tagName||e.delegateTarget&&"A"===e.delegateTarget.tagName)&&e.preventDefault();const t=Pe(this);Et.find(t).forEach((e=>{Vt.getOrCreateInstance(e,{toggle:!1}).toggle()}))})),Xe(Vt);const Qt="dropdown",Xt="Escape",Yt="Space",Ut="ArrowUp",Kt="ArrowDown",Gt=new RegExp("ArrowUp|ArrowDown|Escape"),Jt="click.bs.dropdown.data-api",Zt="keydown.bs.dropdown.data-api",ei="show",ti='[data-bs-toggle="dropdown"]',ii=".dropdown-menu",ni=Qe()?"top-end":"top-start",ri=Qe()?"top-start":"top-end",si=Qe()?"bottom-end":"bottom-start",oi=Qe()?"bottom-start":"bottom-end",ai=Qe()?"left-start":"right-start",li=Qe()?"right-start":"left-start",ci={offset:[0,2],boundary:"clippingParents",reference:"toggle",display:"dynamic",popperConfig:null,autoClose:!0},ui={offset:"(array|string|function)",boundary:"(string|element)",reference:"(string|element|object)",display:"string",popperConfig:"(null|object|function)",autoClose:"(boolean|string)"};class di extends gt{constructor(e,t){super(e),this._popper=null,this._config=this._getConfig(t),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar()}static get Default(){return ci}static get DefaultType(){return ui}static get NAME(){return Qt}toggle(){return this._isShown()?this.hide():this.show()}show(){if(Be(this._element)||this._isShown(this._menu))return;const e={relatedTarget:this._element};if(ht.trigger(this._element,"show.bs.dropdown",e).defaultPrevented)return;const t=di.getParentFromElement(this._element);this._inNavbar?xt.setDataAttribute(this._menu,"popper","none"):this._createPopper(t),"ontouchstart"in document.documentElement&&!t.closest(".navbar-nav")&&[].concat(...document.body.children).forEach((e=>ht.on(e,"mouseover",qe))),this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(ei),this._element.classList.add(ei),ht.trigger(this._element,"shown.bs.dropdown",e)}hide(){if(Be(this._element)||!this._isShown(this._menu))return;const e={relatedTarget:this._element};this._completeHide(e)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(e){ht.trigger(this._element,"hide.bs.dropdown",e).defaultPrevented||("ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach((e=>ht.off(e,"mouseover",qe))),this._popper&&this._popper.destroy(),this._menu.classList.remove(ei),this._element.classList.remove(ei),this._element.setAttribute("aria-expanded","false"),xt.removeDataAttribute(this._menu,"popper"),ht.trigger(this._element,"hidden.bs.dropdown",e))}_getConfig(e){if(e={...this.constructor.Default,...xt.getDataAttributes(this._element),...e},Re(Qt,e,this.constructor.DefaultType),"object"==typeof e.reference&&!Me(e.reference)&&"function"!=typeof e.reference.getBoundingClientRect)throw new TypeError(`${Qt.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(t){if(void 0===e)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let i=this._element;"parent"===this._config.reference?i=t:Me(this._config.reference)?i=Fe(this._config.reference):"object"==typeof this._config.reference&&(i=this._config.reference);const n=this._getPopperConfig(),r=n.modifiers.find((e=>"applyStyles"===e.name&&!1===e.enabled));this._popper=je(i,this._menu,n),r&&xt.setDataAttribute(this._menu,"popper","static")}_isShown(e=this._element){return e.classList.contains(ei)}_getMenuElement(){return Et.next(this._element,ii)[0]}_getPlacement(){const e=this._element.parentNode;if(e.classList.contains("dropend"))return ai;if(e.classList.contains("dropstart"))return li;const t="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return e.classList.contains("dropup")?t?ri:ni:t?oi:si}_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const{offset:e}=this._config;return"string"==typeof e?e.split(",").map((e=>Number.parseInt(e,10))):"function"==typeof e?t=>e(t,this._element):e}_getPopperConfig(){const e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return"static"===this._config.display&&(e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,..."function"==typeof this._config.popperConfig?this._config.popperConfig(e):this._config.popperConfig}}_selectMenuItem({key:e,target:t}){const i=Et.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(ze);i.length&&Ke(i,t,e===Kt,!i.includes(t)).focus()}static jQueryInterface(e){return this.each((function(){const t=di.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}static clearMenus(e){if(e&&(2===e.button||"keyup"===e.type&&"Tab"!==e.key))return;const t=Et.find(ti);for(let i=0,n=t.length;i<n;i++){const n=di.getInstance(t[i]);if(!n||!1===n._config.autoClose)continue;if(!n._isShown())continue;const r={relatedTarget:n._element};if(e){const t=e.composedPath(),i=t.includes(n._menu);if(t.includes(n._element)||"inside"===n._config.autoClose&&!i||"outside"===n._config.autoClose&&i)continue;if(n._menu.contains(e.target)&&("keyup"===e.type&&"Tab"===e.key||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;"click"===e.type&&(r.clickEvent=e)}n._completeHide(r)}}static getParentFromElement(e){return Ie(e)||e.parentNode}static dataApiKeydownHandler(e){if(/input|textarea/i.test(e.target.tagName)?e.key===Yt||e.key!==Xt&&(e.key!==Kt&&e.key!==Ut||e.target.closest(ii)):!Gt.test(e.key))return;const t=this.classList.contains(ei);if(!t&&e.key===Xt)return;if(e.preventDefault(),e.stopPropagation(),Be(this))return;const i=this.matches(ti)?this:Et.prev(this,ti)[0],n=di.getOrCreateInstance(i);if(e.key!==Xt)return e.key===Ut||e.key===Kt?(t||n.show(),void n._selectMenuItem(e)):void(t&&e.key!==Yt||di.clearMenus());n.hide()}}ht.on(document,Zt,ti,di.dataApiKeydownHandler),ht.on(document,Zt,ii,di.dataApiKeydownHandler),ht.on(document,Jt,di.clearMenus),ht.on(document,"keyup.bs.dropdown.data-api",di.clearMenus),ht.on(document,Jt,ti,(function(e){e.preventDefault(),di.getOrCreateInstance(this).toggle()})),Xe(di);const hi=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",fi=".sticky-top";class pi{constructor(){this._element=document.body}getWidth(){const e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}hide(){const e=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,"paddingRight",(t=>t+e)),this._setElementAttributes(hi,"paddingRight",(t=>t+e)),this._setElementAttributes(fi,"marginRight",(t=>t-e))}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,t,i){const n=this.getWidth();this._applyManipulationCallback(e,(e=>{if(e!==this._element&&window.innerWidth>e.clientWidth+n)return;this._saveInitialAttribute(e,t);const r=window.getComputedStyle(e)[t];e.style[t]=`${i(Number.parseFloat(r))}px`}))}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,"paddingRight"),this._resetElementAttributes(hi,"paddingRight"),this._resetElementAttributes(fi,"marginRight")}_saveInitialAttribute(e,t){const i=e.style[t];i&&xt.setDataAttribute(e,t,i)}_resetElementAttributes(e,t){this._applyManipulationCallback(e,(e=>{const i=xt.getDataAttribute(e,t);void 0===i?e.style.removeProperty(t):(xt.removeDataAttribute(e,t),e.style[t]=i)}))}_applyManipulationCallback(e,t){Me(e)?t(e):Et.find(e,this._element).forEach(t)}isOverflowing(){return this.getWidth()>0}}const gi={className:"modal-backdrop",isVisible:!0,isAnimated:!1,rootElement:"body",clickCallback:null},mi={className:"string",isVisible:"boolean",isAnimated:"boolean",rootElement:"(element|string)",clickCallback:"(function|null)"},vi="show",bi="mousedown.bs.backdrop";class _i{constructor(e){this._config=this._getConfig(e),this._isAppended=!1,this._element=null}show(e){this._config.isVisible?(this._append(),this._config.isAnimated&&He(this._getElement()),this._getElement().classList.add(vi),this._emulateAnimation((()=>{Ye(e)}))):Ye(e)}hide(e){this._config.isVisible?(this._getElement().classList.remove(vi),this._emulateAnimation((()=>{this.dispose(),Ye(e)}))):Ye(e)}_getElement(){if(!this._element){const e=document.createElement("div");e.className=this._config.className,this._config.isAnimated&&e.classList.add("fade"),this._element=e}return this._element}_getConfig(e){return(e={...gi,..."object"==typeof e?e:{}}).rootElement=Fe(e.rootElement),Re("backdrop",e,mi),e}_append(){this._isAppended||(this._config.rootElement.append(this._getElement()),ht.on(this._getElement(),bi,(()=>{Ye(this._config.clickCallback)})),this._isAppended=!0)}dispose(){this._isAppended&&(ht.off(this._element,bi),this._element.remove(),this._isAppended=!1)}_emulateAnimation(e){Ue(e,this._getElement(),this._config.isAnimated)}}const yi={trapElement:null,autofocus:!0},wi={trapElement:"element",autofocus:"boolean"},xi=".bs.focustrap",Ei="backward";class ki{constructor(e){this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}activate(){const{trapElement:e,autofocus:t}=this._config;this._isActive||(t&&e.focus(),ht.off(document,xi),ht.on(document,"focusin.bs.focustrap",(e=>this._handleFocusin(e))),ht.on(document,"keydown.tab.bs.focustrap",(e=>this._handleKeydown(e))),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,ht.off(document,xi))}_handleFocusin(e){const{target:t}=e,{trapElement:i}=this._config;if(t===document||t===i||i.contains(t))return;const n=Et.focusableChildren(i);0===n.length?i.focus():this._lastTabNavDirection===Ei?n[n.length-1].focus():n[0].focus()}_handleKeydown(e){"Tab"===e.key&&(this._lastTabNavDirection=e.shiftKey?Ei:"forward")}_getConfig(e){return e={...yi,..."object"==typeof e?e:{}},Re("focustrap",e,wi),e}}const Si="modal",Li="Escape",Ai={backdrop:!0,keyboard:!0,focus:!0},Oi={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean"},ji="hidden.bs.modal",Ti="show.bs.modal",Ci="resize.bs.modal",Di="click.dismiss.bs.modal",Pi="keydown.dismiss.bs.modal",Ii="mousedown.dismiss.bs.modal",Ni="modal-open",Mi="show",Fi="modal-static";class Ri extends gt{constructor(e,t){super(e),this._config=this._getConfig(t),this._dialog=Et.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollBar=new pi}static get Default(){return Ai}static get NAME(){return Si}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||ht.trigger(this._element,Ti,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isAnimated()&&(this._isTransitioning=!0),this._scrollBar.hide(),document.body.classList.add(Ni),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),ht.on(this._dialog,Ii,(()=>{ht.one(this._element,"mouseup.dismiss.bs.modal",(e=>{e.target===this._element&&(this._ignoreBackdropClick=!0)}))})),this._showBackdrop((()=>this._showElement(e))))}hide(){if(!this._isShown||this._isTransitioning)return;if(ht.trigger(this._element,"hide.bs.modal").defaultPrevented)return;this._isShown=!1;const e=this._isAnimated();e&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),this._focustrap.deactivate(),this._element.classList.remove(Mi),ht.off(this._element,Di),ht.off(this._dialog,Ii),this._queueCallback((()=>this._hideModal()),this._element,e)}dispose(){[window,this._dialog].forEach((e=>ht.off(e,".bs.modal"))),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new _i({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new ki({trapElement:this._element})}_getConfig(e){return e={...Ai,...xt.getDataAttributes(this._element),..."object"==typeof e?e:{}},Re(Si,e,Oi),e}_showElement(e){const t=this._isAnimated(),i=Et.findOne(".modal-body",this._dialog);this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0,i&&(i.scrollTop=0),t&&He(this._element),this._element.classList.add(Mi),this._queueCallback((()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,ht.trigger(this._element,"shown.bs.modal",{relatedTarget:e})}),this._dialog,t)}_setEscapeEvent(){this._isShown?ht.on(this._element,Pi,(e=>{this._config.keyboard&&e.key===Li?(e.preventDefault(),this.hide()):this._config.keyboard||e.key!==Li||this._triggerBackdropTransition()})):ht.off(this._element,Pi)}_setResizeEvent(){this._isShown?ht.on(window,Ci,(()=>this._adjustDialog())):ht.off(window,Ci)}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide((()=>{document.body.classList.remove(Ni),this._resetAdjustments(),this._scrollBar.reset(),ht.trigger(this._element,ji)}))}_showBackdrop(e){ht.on(this._element,Di,(e=>{this._ignoreBackdropClick?this._ignoreBackdropClick=!1:e.target===e.currentTarget&&(!0===this._config.backdrop?this.hide():"static"===this._config.backdrop&&this._triggerBackdropTransition())})),this._backdrop.show(e)}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(ht.trigger(this._element,"hidePrevented.bs.modal").defaultPrevented)return;const{classList:e,scrollHeight:t,style:i}=this._element,n=t>document.documentElement.clientHeight;!n&&"hidden"===i.overflowY||e.contains(Fi)||(n||(i.overflowY="hidden"),e.add(Fi),this._queueCallback((()=>{e.remove(Fi),n||this._queueCallback((()=>{i.overflowY=""}),this._dialog)}),this._dialog),this._element.focus())}_adjustDialog(){const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._scrollBar.getWidth(),i=t>0;(!i&&e&&!Qe()||i&&!e&&Qe())&&(this._element.style.paddingLeft=`${t}px`),(i&&!e&&!Qe()||!i&&e&&Qe())&&(this._element.style.paddingRight=`${t}px`)}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,t){return this.each((function(){const i=Ri.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===i[e])throw new TypeError(`No method named "${e}"`);i[e](t)}}))}}ht.on(document,"click.bs.modal.data-api",'[data-bs-toggle="modal"]',(function(e){const t=Ie(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),ht.one(t,Ti,(e=>{e.defaultPrevented||ht.one(t,ji,(()=>{ze(this)&&this.focus()}))}));const i=Et.findOne(".modal.show");i&&Ri.getInstance(i).hide(),Ri.getOrCreateInstance(t).toggle(this)})),mt(Ri),Xe(Ri);const zi="offcanvas",Bi={backdrop:!0,keyboard:!0,scroll:!1},Wi={backdrop:"boolean",keyboard:"boolean",scroll:"boolean"},qi="show",Hi=".offcanvas.show",$i="hidden.bs.offcanvas";class Vi extends gt{constructor(e,t){super(e),this._config=this._getConfig(t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get NAME(){return zi}static get Default(){return Bi}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||ht.trigger(this._element,"show.bs.offcanvas",{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._element.style.visibility="visible",this._backdrop.show(),this._config.scroll||(new pi).hide(),this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(qi),this._queueCallback((()=>{this._config.scroll||this._focustrap.activate(),ht.trigger(this._element,"shown.bs.offcanvas",{relatedTarget:e})}),this._element,!0))}hide(){this._isShown&&(ht.trigger(this._element,"hide.bs.offcanvas").defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.remove(qi),this._backdrop.hide(),this._queueCallback((()=>{this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._element.style.visibility="hidden",this._config.scroll||(new pi).reset(),ht.trigger(this._element,$i)}),this._element,!0)))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_getConfig(e){return e={...Bi,...xt.getDataAttributes(this._element),..."object"==typeof e?e:{}},Re(zi,e,Wi),e}_initializeBackDrop(){return new _i({className:"offcanvas-backdrop",isVisible:this._config.backdrop,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:()=>this.hide()})}_initializeFocusTrap(){return new ki({trapElement:this._element})}_addEventListeners(){ht.on(this._element,"keydown.dismiss.bs.offcanvas",(e=>{this._config.keyboard&&"Escape"===e.key&&this.hide()}))}static jQueryInterface(e){return this.each((function(){const t=Vi.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e](this)}}))}}ht.on(document,"click.bs.offcanvas.data-api",'[data-bs-toggle="offcanvas"]',(function(e){const t=Ie(this);if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),Be(this))return;ht.one(t,$i,(()=>{ze(this)&&this.focus()}));const i=Et.findOne(Hi);i&&i!==t&&Vi.getInstance(i).hide(),Vi.getOrCreateInstance(t).toggle(this)})),ht.on(window,"load.bs.offcanvas.data-api",(()=>Et.find(Hi).forEach((e=>Vi.getOrCreateInstance(e).show())))),mt(Vi),Xe(Vi);const Qi=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Xi=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,Yi=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i,Ui=(e,t)=>{const i=e.nodeName.toLowerCase();if(t.includes(i))return!Qi.has(i)||Boolean(Xi.test(e.nodeValue)||Yi.test(e.nodeValue));const n=t.filter((e=>e instanceof RegExp));for(let e=0,t=n.length;e<t;e++)if(n[e].test(i))return!0;return!1};function Ki(e,t,i){if(!e.length)return e;if(i&&"function"==typeof i)return i(e);const n=(new window.DOMParser).parseFromString(e,"text/html"),r=[].concat(...n.body.querySelectorAll("*"));for(let e=0,i=r.length;e<i;e++){const i=r[e],n=i.nodeName.toLowerCase();if(!Object.keys(t).includes(n)){i.remove();continue}const s=[].concat(...i.attributes),o=[].concat(t["*"]||[],t[n]||[]);s.forEach((e=>{Ui(e,o)||i.removeAttribute(e.nodeName)}))}return n.body.innerHTML}const Gi="tooltip",Ji=new Set(["sanitize","allowList","sanitizeFn"]),Zi={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(array|string|function)",container:"(string|element|boolean)",fallbackPlacements:"array",boundary:"(string|element)",customClass:"(string|function)",sanitize:"boolean",sanitizeFn:"(null|function)",allowList:"object",popperConfig:"(null|object|function)"},en={AUTO:"auto",TOP:"top",RIGHT:Qe()?"left":"right",BOTTOM:"bottom",LEFT:Qe()?"right":"left"},tn={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:[0,0],container:!1,fallbackPlacements:["top","right","bottom","left"],boundary:"clippingParents",customClass:"",sanitize:!0,sanitizeFn:null,allowList:{"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},popperConfig:null},nn={HIDE:"hide.bs.tooltip",HIDDEN:"hidden.bs.tooltip",SHOW:"show.bs.tooltip",SHOWN:"shown.bs.tooltip",INSERTED:"inserted.bs.tooltip",CLICK:"click.bs.tooltip",FOCUSIN:"focusin.bs.tooltip",FOCUSOUT:"focusout.bs.tooltip",MOUSEENTER:"mouseenter.bs.tooltip",MOUSELEAVE:"mouseleave.bs.tooltip"},rn="fade",sn="show",on="show",an="out",ln=".tooltip-inner",cn=".modal",un="hide.bs.modal",dn="hover",hn="focus";class fn extends gt{constructor(t,i){if(void 0===e)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(t),this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this._config=this._getConfig(i),this.tip=null,this._setListeners()}static get Default(){return tn}static get NAME(){return Gi}static get Event(){return nn}static get DefaultType(){return Zi}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(e){if(this._isEnabled)if(e){const t=this._initializeOnDelegatedTarget(e);t._activeTrigger.click=!t._activeTrigger.click,t._isWithActiveTrigger()?t._enter(null,t):t._leave(null,t)}else{if(this.getTipElement().classList.contains(sn))return void this._leave(null,this);this._enter(null,this)}}dispose(){clearTimeout(this._timeout),ht.off(this._element.closest(cn),un,this._hideModalHandler),this.tip&&this.tip.remove(),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this.isWithContent()||!this._isEnabled)return;const e=ht.trigger(this._element,this.constructor.Event.SHOW),t=We(this._element),i=null===t?this._element.ownerDocument.documentElement.contains(this._element):t.contains(this._element);if(e.defaultPrevented||!i)return;"tooltip"===this.constructor.NAME&&this.tip&&this.getTitle()!==this.tip.querySelector(ln).innerHTML&&(this._disposePopper(),this.tip.remove(),this.tip=null);const n=this.getTipElement(),r=(e=>{do{e+=Math.floor(1e6*Math.random())}while(document.getElementById(e));return e})(this.constructor.NAME);n.setAttribute("id",r),this._element.setAttribute("aria-describedby",r),this._config.animation&&n.classList.add(rn);const s="function"==typeof this._config.placement?this._config.placement.call(this,n,this._element):this._config.placement,o=this._getAttachment(s);this._addAttachmentClass(o);const{container:a}=this._config;pt.set(n,this.constructor.DATA_KEY,this),this._element.ownerDocument.documentElement.contains(this.tip)||(a.append(n),ht.trigger(this._element,this.constructor.Event.INSERTED)),this._popper?this._popper.update():this._popper=je(this._element,n,this._getPopperConfig(o)),n.classList.add(sn);const l=this._resolvePossibleFunction(this._config.customClass);l&&n.classList.add(...l.split(" ")),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach((e=>{ht.on(e,"mouseover",qe)}));const c=this.tip.classList.contains(rn);this._queueCallback((()=>{const e=this._hoverState;this._hoverState=null,ht.trigger(this._element,this.constructor.Event.SHOWN),e===an&&this._leave(null,this)}),this.tip,c)}hide(){if(!this._popper)return;const e=this.getTipElement();if(ht.trigger(this._element,this.constructor.Event.HIDE).defaultPrevented)return;e.classList.remove(sn),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach((e=>ht.off(e,"mouseover",qe))),this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1;const t=this.tip.classList.contains(rn);this._queueCallback((()=>{this._isWithActiveTrigger()||(this._hoverState!==on&&e.remove(),this._cleanTipClass(),this._element.removeAttribute("aria-describedby"),ht.trigger(this._element,this.constructor.Event.HIDDEN),this._disposePopper())}),this.tip,t),this._hoverState=""}update(){null!==this._popper&&this._popper.update()}isWithContent(){return Boolean(this.getTitle())}getTipElement(){if(this.tip)return this.tip;const e=document.createElement("div");e.innerHTML=this._config.template;const t=e.children[0];return this.setContent(t),t.classList.remove(rn,sn),this.tip=t,this.tip}setContent(e){this._sanitizeAndSetContent(e,this.getTitle(),ln)}_sanitizeAndSetContent(e,t,i){const n=Et.findOne(i,e);t||!n?this.setElementContent(n,t):n.remove()}setElementContent(e,t){if(null!==e)return Me(t)?(t=Fe(t),void(this._config.html?t.parentNode!==e&&(e.innerHTML="",e.append(t)):e.textContent=t.textContent)):void(this._config.html?(this._config.sanitize&&(t=Ki(t,this._config.allowList,this._config.sanitizeFn)),e.innerHTML=t):e.textContent=t)}getTitle(){const e=this._element.getAttribute("data-bs-original-title")||this._config.title;return this._resolvePossibleFunction(e)}updateAttachment(e){return"right"===e?"end":"left"===e?"start":e}_initializeOnDelegatedTarget(e,t){return t||this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_getOffset(){const{offset:e}=this._config;return"string"==typeof e?e.split(",").map((e=>Number.parseInt(e,10))):"function"==typeof e?t=>e(t,this._element):e}_resolvePossibleFunction(e){return"function"==typeof e?e.call(this._element):e}_getPopperConfig(e){const t={placement:e,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"onChange",enabled:!0,phase:"afterWrite",fn:e=>this._handlePopperPlacementChange(e)}],onFirstUpdate:e=>{e.options.placement!==e.placement&&this._handlePopperPlacementChange(e)}};return{...t,..."function"==typeof this._config.popperConfig?this._config.popperConfig(t):this._config.popperConfig}}_addAttachmentClass(e){this.getTipElement().classList.add(`${this._getBasicClassPrefix()}-${this.updateAttachment(e)}`)}_getAttachment(e){return en[e.toUpperCase()]}_setListeners(){this._config.trigger.split(" ").forEach((e=>{if("click"===e)ht.on(this._element,this.constructor.Event.CLICK,this._config.selector,(e=>this.toggle(e)));else if("manual"!==e){const t=e===dn?this.constructor.Event.MOUSEENTER:this.constructor.Event.FOCUSIN,i=e===dn?this.constructor.Event.MOUSELEAVE:this.constructor.Event.FOCUSOUT;ht.on(this._element,t,this._config.selector,(e=>this._enter(e))),ht.on(this._element,i,this._config.selector,(e=>this._leave(e)))}})),this._hideModalHandler=()=>{this._element&&this.hide()},ht.on(this._element.closest(cn),un,this._hideModalHandler),this._config.selector?this._config={...this._config,trigger:"manual",selector:""}:this._fixTitle()}_fixTitle(){const e=this._element.getAttribute("title"),t=typeof this._element.getAttribute("data-bs-original-title");(e||"string"!==t)&&(this._element.setAttribute("data-bs-original-title",e||""),!e||this._element.getAttribute("aria-label")||this._element.textContent||this._element.setAttribute("aria-label",e),this._element.setAttribute("title",""))}_enter(e,t){t=this._initializeOnDelegatedTarget(e,t),e&&(t._activeTrigger["focusin"===e.type?hn:dn]=!0),t.getTipElement().classList.contains(sn)||t._hoverState===on?t._hoverState=on:(clearTimeout(t._timeout),t._hoverState=on,t._config.delay&&t._config.delay.show?t._timeout=setTimeout((()=>{t._hoverState===on&&t.show()}),t._config.delay.show):t.show())}_leave(e,t){t=this._initializeOnDelegatedTarget(e,t),e&&(t._activeTrigger["focusout"===e.type?hn:dn]=t._element.contains(e.relatedTarget)),t._isWithActiveTrigger()||(clearTimeout(t._timeout),t._hoverState=an,t._config.delay&&t._config.delay.hide?t._timeout=setTimeout((()=>{t._hoverState===an&&t.hide()}),t._config.delay.hide):t.hide())}_isWithActiveTrigger(){for(const e in this._activeTrigger)if(this._activeTrigger[e])return!0;return!1}_getConfig(e){const t=xt.getDataAttributes(this._element);return Object.keys(t).forEach((e=>{Ji.has(e)&&delete t[e]})),(e={...this.constructor.Default,...t,..."object"==typeof e&&e?e:{}}).container=!1===e.container?document.body:Fe(e.container),"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),"number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),Re(Gi,e,this.constructor.DefaultType),e.sanitize&&(e.template=Ki(e.template,e.allowList,e.sanitizeFn)),e}_getDelegateConfig(){const e={};for(const t in this._config)this.constructor.Default[t]!==this._config[t]&&(e[t]=this._config[t]);return e}_cleanTipClass(){const e=this.getTipElement(),t=new RegExp(`(^|\\s)${this._getBasicClassPrefix()}\\S+`,"g"),i=e.getAttribute("class").match(t);null!==i&&i.length>0&&i.map((e=>e.trim())).forEach((t=>e.classList.remove(t)))}_getBasicClassPrefix(){return"bs-tooltip"}_handlePopperPlacementChange(e){const{state:t}=e;t&&(this.tip=t.elements.popper,this._cleanTipClass(),this._addAttachmentClass(this._getAttachment(t.placement)))}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null)}static jQueryInterface(e){return this.each((function(){const t=fn.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}}Xe(fn);const pn={...fn.Default,placement:"right",offset:[0,8],trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'},gn={...fn.DefaultType,content:"(string|element|function)"},mn={HIDE:"hide.bs.popover",HIDDEN:"hidden.bs.popover",SHOW:"show.bs.popover",SHOWN:"shown.bs.popover",INSERTED:"inserted.bs.popover",CLICK:"click.bs.popover",FOCUSIN:"focusin.bs.popover",FOCUSOUT:"focusout.bs.popover",MOUSEENTER:"mouseenter.bs.popover",MOUSELEAVE:"mouseleave.bs.popover"};class vn extends fn{static get Default(){return pn}static get NAME(){return"popover"}static get Event(){return mn}static get DefaultType(){return gn}isWithContent(){return this.getTitle()||this._getContent()}setContent(e){this._sanitizeAndSetContent(e,this.getTitle(),".popover-header"),this._sanitizeAndSetContent(e,this._getContent(),".popover-body")}_getContent(){return this._resolvePossibleFunction(this._config.content)}_getBasicClassPrefix(){return"bs-popover"}static jQueryInterface(e){return this.each((function(){const t=vn.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}}Xe(vn);const bn="scrollspy",_n={offset:10,method:"auto",target:""},yn={offset:"number",method:"string",target:"(string|element)"},wn="active",xn=".nav-link, .list-group-item, .dropdown-item",En="position";class kn extends gt{constructor(e,t){super(e),this._scrollElement="BODY"===this._element.tagName?window:this._element,this._config=this._getConfig(t),this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,ht.on(this._scrollElement,"scroll.bs.scrollspy",(()=>this._process())),this.refresh(),this._process()}static get Default(){return _n}static get NAME(){return bn}refresh(){const e=this._scrollElement===this._scrollElement.window?"offset":En,t="auto"===this._config.method?e:this._config.method,i=t===En?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),Et.find(xn,this._config.target).map((e=>{const n=Pe(e),r=n?Et.findOne(n):null;if(r){const e=r.getBoundingClientRect();if(e.width||e.height)return[xt[t](r).top+i,n]}return null})).filter((e=>e)).sort(((e,t)=>e[0]-t[0])).forEach((e=>{this._offsets.push(e[0]),this._targets.push(e[1])}))}dispose(){ht.off(this._scrollElement,".bs.scrollspy"),super.dispose()}_getConfig(e){return(e={..._n,...xt.getDataAttributes(this._element),..."object"==typeof e&&e?e:{}}).target=Fe(e.target)||document.documentElement,Re(bn,e,yn),e}_getScrollTop(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop}_getScrollHeight(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)}_getOffsetHeight(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height}_process(){const e=this._getScrollTop()+this._config.offset,t=this._getScrollHeight(),i=this._config.offset+t-this._getOffsetHeight();if(this._scrollHeight!==t&&this.refresh(),e>=i){const e=this._targets[this._targets.length-1];this._activeTarget!==e&&this._activate(e)}else{if(this._activeTarget&&e<this._offsets[0]&&this._offsets[0]>0)return this._activeTarget=null,void this._clear();for(let t=this._offsets.length;t--;)this._activeTarget!==this._targets[t]&&e>=this._offsets[t]&&(void 0===this._offsets[t+1]||e<this._offsets[t+1])&&this._activate(this._targets[t])}}_activate(e){this._activeTarget=e,this._clear();const t=xn.split(",").map((t=>`${t}[data-bs-target="${e}"],${t}[href="${e}"]`)),i=Et.findOne(t.join(","),this._config.target);i.classList.add(wn),i.classList.contains("dropdown-item")?Et.findOne(".dropdown-toggle",i.closest(".dropdown")).classList.add(wn):Et.parents(i,".nav, .list-group").forEach((e=>{Et.prev(e,".nav-link, .list-group-item").forEach((e=>e.classList.add(wn))),Et.prev(e,".nav-item").forEach((e=>{Et.children(e,".nav-link").forEach((e=>e.classList.add(wn)))}))})),ht.trigger(this._scrollElement,"activate.bs.scrollspy",{relatedTarget:e})}_clear(){Et.find(xn,this._config.target).filter((e=>e.classList.contains(wn))).forEach((e=>e.classList.remove(wn)))}static jQueryInterface(e){return this.each((function(){const t=kn.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}}ht.on(window,"load.bs.scrollspy.data-api",(()=>{Et.find('[data-bs-spy="scroll"]').forEach((e=>new kn(e)))})),Xe(kn);const Sn="active",Ln="fade",An="show",On=".active",jn=":scope > li > .active";class Tn extends gt{static get NAME(){return"tab"}show(){if(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&this._element.classList.contains(Sn))return;let e;const t=Ie(this._element),i=this._element.closest(".nav, .list-group");if(i){const t="UL"===i.nodeName||"OL"===i.nodeName?jn:On;e=Et.find(t,i),e=e[e.length-1]}const n=e?ht.trigger(e,"hide.bs.tab",{relatedTarget:this._element}):null;if(ht.trigger(this._element,"show.bs.tab",{relatedTarget:e}).defaultPrevented||null!==n&&n.defaultPrevented)return;this._activate(this._element,i);const r=()=>{ht.trigger(e,"hidden.bs.tab",{relatedTarget:this._element}),ht.trigger(this._element,"shown.bs.tab",{relatedTarget:e})};t?this._activate(t,t.parentNode,r):r()}_activate(e,t,i){const n=(!t||"UL"!==t.nodeName&&"OL"!==t.nodeName?Et.children(t,On):Et.find(jn,t))[0],r=i&&n&&n.classList.contains(Ln),s=()=>this._transitionComplete(e,n,i);n&&r?(n.classList.remove(An),this._queueCallback(s,e,!0)):s()}_transitionComplete(e,t,i){if(t){t.classList.remove(Sn);const e=Et.findOne(":scope > .dropdown-menu .active",t.parentNode);e&&e.classList.remove(Sn),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!1)}e.classList.add(Sn),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!0),He(e),e.classList.contains(Ln)&&e.classList.add(An);let n=e.parentNode;if(n&&"LI"===n.nodeName&&(n=n.parentNode),n&&n.classList.contains("dropdown-menu")){const t=e.closest(".dropdown");t&&Et.find(".dropdown-toggle",t).forEach((e=>e.classList.add(Sn))),e.setAttribute("aria-expanded",!0)}i&&i()}static jQueryInterface(e){return this.each((function(){const t=Tn.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}}ht.on(document,"click.bs.tab.data-api",'[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',(function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),Be(this)||Tn.getOrCreateInstance(this).show()})),Xe(Tn);const Cn="toast",Dn="hide",Pn="show",In="showing",Nn={animation:"boolean",autohide:"boolean",delay:"number"},Mn={animation:!0,autohide:!0,delay:5e3};class Fn extends gt{constructor(e,t){super(e),this._config=this._getConfig(t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get DefaultType(){return Nn}static get Default(){return Mn}static get NAME(){return Cn}show(){ht.trigger(this._element,"show.bs.toast").defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove(Dn),He(this._element),this._element.classList.add(Pn),this._element.classList.add(In),this._queueCallback((()=>{this._element.classList.remove(In),ht.trigger(this._element,"shown.bs.toast"),this._maybeScheduleHide()}),this._element,this._config.animation))}hide(){this._element.classList.contains(Pn)&&(ht.trigger(this._element,"hide.bs.toast").defaultPrevented||(this._element.classList.add(In),this._queueCallback((()=>{this._element.classList.add(Dn),this._element.classList.remove(In),this._element.classList.remove(Pn),ht.trigger(this._element,"hidden.bs.toast")}),this._element,this._config.animation)))}dispose(){this._clearTimeout(),this._element.classList.contains(Pn)&&this._element.classList.remove(Pn),super.dispose()}_getConfig(e){return e={...Mn,...xt.getDataAttributes(this._element),..."object"==typeof e&&e?e:{}},Re(Cn,e,this.constructor.DefaultType),e}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout((()=>{this.hide()}),this._config.delay)))}_onInteraction(e,t){switch(e.type){case"mouseover":case"mouseout":this._hasMouseInteraction=t;break;case"focusin":case"focusout":this._hasKeyboardInteraction=t}if(t)return void this._clearTimeout();const i=e.relatedTarget;this._element===i||this._element.contains(i)||this._maybeScheduleHide()}_setListeners(){ht.on(this._element,"mouseover.bs.toast",(e=>this._onInteraction(e,!0))),ht.on(this._element,"mouseout.bs.toast",(e=>this._onInteraction(e,!1))),ht.on(this._element,"focusin.bs.toast",(e=>this._onInteraction(e,!0))),ht.on(this._element,"focusout.bs.toast",(e=>this._onInteraction(e,!1)))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each((function(){const t=Fn.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e](this)}}))}}mt(Fn),Xe(Fn),i(9554),i(4747);var Rn,zn=i(1807),Bn=i.n(zn),Wn=(i(7327),i(6992),i(9601),i(1539),i(1058),i(8783),i(4129),i(3948),i(3096)),qn=i.n(Wn),Hn=i(1296),$n=i.n(Hn),Vn=i(773),Qn=i.n(Vn),Xn=[],Yn="ResizeObserver loop completed with undelivered notifications.";!function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"}(Rn||(Rn={}));var Un,Kn=function(e){return Object.freeze(e)},Gn=function(e,t){this.inlineSize=e,this.blockSize=t,Kn(this)},Jn=function(){function e(e,t,i,n){return this.x=e,this.y=t,this.width=i,this.height=n,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,Kn(this)}return e.prototype.toJSON=function(){var e=this;return{x:e.x,y:e.y,top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.width,height:e.height}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),Zn=function(e){return e instanceof SVGElement&&"getBBox"in e},er=function(e){if(Zn(e)){var t=e.getBBox(),i=t.width,n=t.height;return!i&&!n}var r=e,s=r.offsetWidth,o=r.offsetHeight;return!(s||o||e.getClientRects().length)},tr=function(e){var t,i;if(e instanceof Element)return!0;var n=null===(i=null===(t=e)||void 0===t?void 0:t.ownerDocument)||void 0===i?void 0:i.defaultView;return!!(n&&e instanceof n.Element)},ir="undefined"!=typeof window?window:{},nr=new WeakMap,rr=/auto|scroll/,sr=/^tb|vertical/,or=/msie|trident/i.test(ir.navigator&&ir.navigator.userAgent),ar=function(e){return parseFloat(e||"0")},lr=function(e,t,i){return void 0===e&&(e=0),void 0===t&&(t=0),void 0===i&&(i=!1),new Gn((i?t:e)||0,(i?e:t)||0)},cr=Kn({devicePixelContentBoxSize:lr(),borderBoxSize:lr(),contentBoxSize:lr(),contentRect:new Jn(0,0,0,0)}),ur=function(e,t){if(void 0===t&&(t=!1),nr.has(e)&&!t)return nr.get(e);if(er(e))return nr.set(e,cr),cr;var i=getComputedStyle(e),n=Zn(e)&&e.ownerSVGElement&&e.getBBox(),r=!or&&"border-box"===i.boxSizing,s=sr.test(i.writingMode||""),o=!n&&rr.test(i.overflowY||""),a=!n&&rr.test(i.overflowX||""),l=n?0:ar(i.paddingTop),c=n?0:ar(i.paddingRight),u=n?0:ar(i.paddingBottom),d=n?0:ar(i.paddingLeft),h=n?0:ar(i.borderTopWidth),f=n?0:ar(i.borderRightWidth),p=n?0:ar(i.borderBottomWidth),g=d+c,m=l+u,v=(n?0:ar(i.borderLeftWidth))+f,b=h+p,_=a?e.offsetHeight-b-e.clientHeight:0,y=o?e.offsetWidth-v-e.clientWidth:0,w=r?g+v:0,x=r?m+b:0,E=n?n.width:ar(i.width)-w-y,k=n?n.height:ar(i.height)-x-_,S=E+g+y+v,L=k+m+_+b,A=Kn({devicePixelContentBoxSize:lr(Math.round(E*devicePixelRatio),Math.round(k*devicePixelRatio),s),borderBoxSize:lr(S,L,s),contentBoxSize:lr(E,k,s),contentRect:new Jn(d,l,E,k)});return nr.set(e,A),A},dr=function(e,t,i){var n=ur(e,i),r=n.borderBoxSize,s=n.contentBoxSize,o=n.devicePixelContentBoxSize;switch(t){case Rn.DEVICE_PIXEL_CONTENT_BOX:return o;case Rn.BORDER_BOX:return r;default:return s}},hr=function(e){var t=ur(e);this.target=e,this.contentRect=t.contentRect,this.borderBoxSize=Kn([t.borderBoxSize]),this.contentBoxSize=Kn([t.contentBoxSize]),this.devicePixelContentBoxSize=Kn([t.devicePixelContentBoxSize])},fr=function(e){if(er(e))return 1/0;for(var t=0,i=e.parentNode;i;)t+=1,i=i.parentNode;return t},pr=function(){var e=1/0,t=[];Xn.forEach((function(i){if(0!==i.activeTargets.length){var n=[];i.activeTargets.forEach((function(t){var i=new hr(t.target),r=fr(t.target);n.push(i),t.lastReportedSize=dr(t.target,t.observedBox),r<e&&(e=r)})),t.push((function(){i.callback.call(i.observer,n,i.observer)})),i.activeTargets.splice(0,i.activeTargets.length)}}));for(var i=0,n=t;i<n.length;i++)(0,n[i])();return e},gr=function(e){Xn.forEach((function(t){t.activeTargets.splice(0,t.activeTargets.length),t.skippedTargets.splice(0,t.skippedTargets.length),t.observationTargets.forEach((function(i){i.isActive()&&(fr(i.target)>e?t.activeTargets.push(i):t.skippedTargets.push(i))}))}))},mr=[],vr=0,br={attributes:!0,characterData:!0,childList:!0,subtree:!0},_r=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],yr=function(e){return void 0===e&&(e=0),Date.now()+e},wr=!1,xr=new(function(){function e(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return e.prototype.run=function(e){var t=this;if(void 0===e&&(e=250),!wr){wr=!0;var i,n=yr(e);i=function(){var i=!1;try{i=function(){var e,t=0;for(gr(t);Xn.some((function(e){return e.activeTargets.length>0}));)t=pr(),gr(t);return Xn.some((function(e){return e.skippedTargets.length>0}))&&("function"==typeof ErrorEvent?e=new ErrorEvent("error",{message:Yn}):((e=document.createEvent("Event")).initEvent("error",!1,!1),e.message=Yn),window.dispatchEvent(e)),t>0}()}finally{if(wr=!1,e=n-yr(),!vr)return;i?t.run(1e3):e>0?t.run(e):t.start()}},function(e){if(!Un){var t=0,i=document.createTextNode("");new MutationObserver((function(){return mr.splice(0).forEach((function(e){return e()}))})).observe(i,{characterData:!0}),Un=function(){i.textContent=""+(t?t--:t++)}}mr.push(e),Un()}((function(){requestAnimationFrame(i)}))}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var e=this,t=function(){return e.observer&&e.observer.observe(document.body,br)};document.body?t():ir.addEventListener("DOMContentLoaded",t)},e.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),_r.forEach((function(t){return ir.addEventListener(t,e.listener,!0)})))},e.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),_r.forEach((function(t){return ir.removeEventListener(t,e.listener,!0)})),this.stopped=!0)},e}()),Er=function(e){!vr&&e>0&&xr.start(),!(vr+=e)&&xr.stop()},kr=function(){function e(e,t){this.target=e,this.observedBox=t||Rn.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var e,t=dr(this.target,this.observedBox,!0);return e=this.target,Zn(e)||function(e){switch(e.tagName){case"INPUT":if("image"!==e.type)break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1}(e)||"inline"!==getComputedStyle(e).display||(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),Sr=function(e,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=t},Lr=new WeakMap,Ar=function(e,t){for(var i=0;i<e.length;i+=1)if(e[i].target===t)return i;return-1},Or=function(){function e(){}return e.connect=function(e,t){var i=new Sr(e,t);Lr.set(e,i)},e.observe=function(e,t,i){var n=Lr.get(e),r=0===n.observationTargets.length;Ar(n.observationTargets,t)<0&&(r&&Xn.push(n),n.observationTargets.push(new kr(t,i&&i.box)),Er(1),xr.schedule())},e.unobserve=function(e,t){var i=Lr.get(e),n=Ar(i.observationTargets,t),r=1===i.observationTargets.length;n>=0&&(r&&Xn.splice(Xn.indexOf(i),1),i.observationTargets.splice(n,1),Er(-1))},e.disconnect=function(e){var t=this,i=Lr.get(e);i.observationTargets.slice().forEach((function(i){return t.unobserve(e,i.target)})),i.activeTargets.splice(0,i.activeTargets.length)},e}(),jr=function(){function e(e){if(0===arguments.length)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if("function"!=typeof e)throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");Or.connect(this,e)}return e.prototype.observe=function(e,t){if(0===arguments.length)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!tr(e))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");Or.observe(this,e,t)},e.prototype.unobserve=function(e){if(0===arguments.length)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!tr(e))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");Or.unobserve(this,e)},e.prototype.disconnect=function(){Or.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}(),Tr=(i(5827),i(8309),i(4916),i(4723),i(5306),function(e){return Array.prototype.reduce.call(e,(function(e,t){var i=t.name.match(/data-simplebar-(.+)/);if(i){var n=i[1].replace(/\W+(.)/g,(function(e,t){return t.toUpperCase()}));switch(t.value){case"true":e[n]=!0;break;case"false":e[n]=!1;break;case void 0:e[n]=!0;break;default:e[n]=t.value}}return e}),{})});function Cr(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView?e.ownerDocument.defaultView:window}function Dr(e){return e&&e.ownerDocument?e.ownerDocument:document}var Pr=null,Ir=null;function Nr(e){if(null===Pr){var t=Dr(e);if(void 0===t)return Pr=0;var i=t.body,n=t.createElement("div");n.classList.add("simplebar-hide-scrollbar"),i.appendChild(n);var r=n.getBoundingClientRect().right;i.removeChild(n),Pr=r}return Pr}Bn()&&window.addEventListener("resize",(function(){Ir!==window.devicePixelRatio&&(Ir=window.devicePixelRatio,Pr=null)}));var Mr=function(){function e(t,i){var n=this;this.onScroll=function(){var e=Cr(n.el);n.scrollXTicking||(e.requestAnimationFrame(n.scrollX),n.scrollXTicking=!0),n.scrollYTicking||(e.requestAnimationFrame(n.scrollY),n.scrollYTicking=!0)},this.scrollX=function(){n.axis.x.isOverflowing&&(n.showScrollbar("x"),n.positionScrollbar("x")),n.scrollXTicking=!1},this.scrollY=function(){n.axis.y.isOverflowing&&(n.showScrollbar("y"),n.positionScrollbar("y")),n.scrollYTicking=!1},this.onMouseEnter=function(){n.showScrollbar("x"),n.showScrollbar("y")},this.onMouseMove=function(e){n.mouseX=e.clientX,n.mouseY=e.clientY,(n.axis.x.isOverflowing||n.axis.x.forceVisible)&&n.onMouseMoveForAxis("x"),(n.axis.y.isOverflowing||n.axis.y.forceVisible)&&n.onMouseMoveForAxis("y")},this.onMouseLeave=function(){n.onMouseMove.cancel(),(n.axis.x.isOverflowing||n.axis.x.forceVisible)&&n.onMouseLeaveForAxis("x"),(n.axis.y.isOverflowing||n.axis.y.forceVisible)&&n.onMouseLeaveForAxis("y"),n.mouseX=-1,n.mouseY=-1},this.onWindowResize=function(){n.scrollbarWidth=n.getScrollbarWidth(),n.hideNativeScrollbar()},this.hideScrollbars=function(){n.axis.x.track.rect=n.axis.x.track.el.getBoundingClientRect(),n.axis.y.track.rect=n.axis.y.track.el.getBoundingClientRect(),n.isWithinBounds(n.axis.y.track.rect)||(n.axis.y.scrollbar.el.classList.remove(n.classNames.visible),n.axis.y.isVisible=!1),n.isWithinBounds(n.axis.x.track.rect)||(n.axis.x.scrollbar.el.classList.remove(n.classNames.visible),n.axis.x.isVisible=!1)},this.onPointerEvent=function(e){var t,i;n.axis.x.track.rect=n.axis.x.track.el.getBoundingClientRect(),n.axis.y.track.rect=n.axis.y.track.el.getBoundingClientRect(),(n.axis.x.isOverflowing||n.axis.x.forceVisible)&&(t=n.isWithinBounds(n.axis.x.track.rect)),(n.axis.y.isOverflowing||n.axis.y.forceVisible)&&(i=n.isWithinBounds(n.axis.y.track.rect)),(t||i)&&(e.preventDefault(),e.stopPropagation(),"mousedown"===e.type&&(t&&(n.axis.x.scrollbar.rect=n.axis.x.scrollbar.el.getBoundingClientRect(),n.isWithinBounds(n.axis.x.scrollbar.rect)?n.onDragStart(e,"x"):n.onTrackClick(e,"x")),i&&(n.axis.y.scrollbar.rect=n.axis.y.scrollbar.el.getBoundingClientRect(),n.isWithinBounds(n.axis.y.scrollbar.rect)?n.onDragStart(e,"y"):n.onTrackClick(e,"y"))))},this.drag=function(t){var i=n.axis[n.draggedAxis].track,r=i.rect[n.axis[n.draggedAxis].sizeAttr],s=n.axis[n.draggedAxis].scrollbar,o=n.contentWrapperEl[n.axis[n.draggedAxis].scrollSizeAttr],a=parseInt(n.elStyles[n.axis[n.draggedAxis].sizeAttr],10);t.preventDefault(),t.stopPropagation();var l=(("y"===n.draggedAxis?t.pageY:t.pageX)-i.rect[n.axis[n.draggedAxis].offsetAttr]-n.axis[n.draggedAxis].dragOffset)/(r-s.size)*(o-a);"x"===n.draggedAxis&&(l=n.isRtl&&e.getRtlHelpers().isRtlScrollbarInverted?l-(r+s.size):l,l=n.isRtl&&e.getRtlHelpers().isRtlScrollingInverted?-l:l),n.contentWrapperEl[n.axis[n.draggedAxis].scrollOffsetAttr]=l},this.onEndDrag=function(e){var t=Dr(n.el),i=Cr(n.el);e.preventDefault(),e.stopPropagation(),n.el.classList.remove(n.classNames.dragging),t.removeEventListener("mousemove",n.drag,!0),t.removeEventListener("mouseup",n.onEndDrag,!0),n.removePreventClickId=i.setTimeout((function(){t.removeEventListener("click",n.preventClick,!0),t.removeEventListener("dblclick",n.preventClick,!0),n.removePreventClickId=null}))},this.preventClick=function(e){e.preventDefault(),e.stopPropagation()},this.el=t,this.minScrollbarWidth=20,this.options=Object.assign({},e.defaultOptions,{},i),this.classNames=Object.assign({},e.defaultOptions.classNames,{},this.options.classNames),this.axis={x:{scrollOffsetAttr:"scrollLeft",sizeAttr:"width",scrollSizeAttr:"scrollWidth",offsetSizeAttr:"offsetWidth",offsetAttr:"left",overflowAttr:"overflowX",dragOffset:0,isOverflowing:!0,isVisible:!1,forceVisible:!1,track:{},scrollbar:{}},y:{scrollOffsetAttr:"scrollTop",sizeAttr:"height",scrollSizeAttr:"scrollHeight",offsetSizeAttr:"offsetHeight",offsetAttr:"top",overflowAttr:"overflowY",dragOffset:0,isOverflowing:!0,isVisible:!1,forceVisible:!1,track:{},scrollbar:{}}},this.removePreventClickId=null,e.instances.has(this.el)||(this.recalculate=qn()(this.recalculate.bind(this),64),this.onMouseMove=qn()(this.onMouseMove.bind(this),64),this.hideScrollbars=$n()(this.hideScrollbars.bind(this),this.options.timeout),this.onWindowResize=$n()(this.onWindowResize.bind(this),64,{leading:!0}),e.getRtlHelpers=Qn()(e.getRtlHelpers),this.init())}e.getRtlHelpers=function(){var t=document.createElement("div");t.innerHTML='<div class="hs-dummy-scrollbar-size"><div style="height: 200%; width: 200%; margin: 10px 0;"></div></div>';var i=t.firstElementChild;document.body.appendChild(i);var n=i.firstElementChild;i.scrollLeft=0;var r=e.getOffset(i),s=e.getOffset(n);i.scrollLeft=999;var o=e.getOffset(n);return{isRtlScrollingInverted:r.left!==s.left&&s.left-o.left!=0,isRtlScrollbarInverted:r.left!==s.left}},e.getOffset=function(e){var t=e.getBoundingClientRect(),i=Dr(e),n=Cr(e);return{top:t.top+(n.pageYOffset||i.documentElement.scrollTop),left:t.left+(n.pageXOffset||i.documentElement.scrollLeft)}};var t=e.prototype;return t.init=function(){e.instances.set(this.el,this),Bn()&&(this.initDOM(),this.setAccessibilityAttributes(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},t.initDOM=function(){var e=this;if(Array.prototype.filter.call(this.el.children,(function(t){return t.classList.contains(e.classNames.wrapper)})).length)this.wrapperEl=this.el.querySelector("."+this.classNames.wrapper),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector("."+this.classNames.contentWrapper),this.contentEl=this.options.contentNode||this.el.querySelector("."+this.classNames.contentEl),this.offsetEl=this.el.querySelector("."+this.classNames.offset),this.maskEl=this.el.querySelector("."+this.classNames.mask),this.placeholderEl=this.findChild(this.wrapperEl,"."+this.classNames.placeholder),this.heightAutoObserverWrapperEl=this.el.querySelector("."+this.classNames.heightAutoObserverWrapperEl),this.heightAutoObserverEl=this.el.querySelector("."+this.classNames.heightAutoObserverEl),this.axis.x.track.el=this.findChild(this.el,"."+this.classNames.track+"."+this.classNames.horizontal),this.axis.y.track.el=this.findChild(this.el,"."+this.classNames.track+"."+this.classNames.vertical);else{for(this.wrapperEl=document.createElement("div"),this.contentWrapperEl=document.createElement("div"),this.offsetEl=document.createElement("div"),this.maskEl=document.createElement("div"),this.contentEl=document.createElement("div"),this.placeholderEl=document.createElement("div"),this.heightAutoObserverWrapperEl=document.createElement("div"),this.heightAutoObserverEl=document.createElement("div"),this.wrapperEl.classList.add(this.classNames.wrapper),this.contentWrapperEl.classList.add(this.classNames.contentWrapper),this.offsetEl.classList.add(this.classNames.offset),this.maskEl.classList.add(this.classNames.mask),this.contentEl.classList.add(this.classNames.contentEl),this.placeholderEl.classList.add(this.classNames.placeholder),this.heightAutoObserverWrapperEl.classList.add(this.classNames.heightAutoObserverWrapperEl),this.heightAutoObserverEl.classList.add(this.classNames.heightAutoObserverEl);this.el.firstChild;)this.contentEl.appendChild(this.el.firstChild);this.contentWrapperEl.appendChild(this.contentEl),this.offsetEl.appendChild(this.contentWrapperEl),this.maskEl.appendChild(this.offsetEl),this.heightAutoObserverWrapperEl.appendChild(this.heightAutoObserverEl),this.wrapperEl.appendChild(this.heightAutoObserverWrapperEl),this.wrapperEl.appendChild(this.maskEl),this.wrapperEl.appendChild(this.placeholderEl),this.el.appendChild(this.wrapperEl)}if(!this.axis.x.track.el||!this.axis.y.track.el){var t=document.createElement("div"),i=document.createElement("div");t.classList.add(this.classNames.track),i.classList.add(this.classNames.scrollbar),t.appendChild(i),this.axis.x.track.el=t.cloneNode(!0),this.axis.x.track.el.classList.add(this.classNames.horizontal),this.axis.y.track.el=t.cloneNode(!0),this.axis.y.track.el.classList.add(this.classNames.vertical),this.el.appendChild(this.axis.x.track.el),this.el.appendChild(this.axis.y.track.el)}this.axis.x.scrollbar.el=this.axis.x.track.el.querySelector("."+this.classNames.scrollbar),this.axis.y.scrollbar.el=this.axis.y.track.el.querySelector("."+this.classNames.scrollbar),this.options.autoHide||(this.axis.x.scrollbar.el.classList.add(this.classNames.visible),this.axis.y.scrollbar.el.classList.add(this.classNames.visible)),this.el.setAttribute("data-simplebar","init")},t.setAccessibilityAttributes=function(){var e=this.options.ariaLabel||"scrollable content";this.contentWrapperEl.setAttribute("tabindex","0"),this.contentWrapperEl.setAttribute("role","region"),this.contentWrapperEl.setAttribute("aria-label",e)},t.initListeners=function(){var e=this,t=Cr(this.el);this.options.autoHide&&this.el.addEventListener("mouseenter",this.onMouseEnter),["mousedown","click","dblclick"].forEach((function(t){e.el.addEventListener(t,e.onPointerEvent,!0)})),["touchstart","touchend","touchmove"].forEach((function(t){e.el.addEventListener(t,e.onPointerEvent,{capture:!0,passive:!0})})),this.el.addEventListener("mousemove",this.onMouseMove),this.el.addEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl.addEventListener("scroll",this.onScroll),t.addEventListener("resize",this.onWindowResize);var i=!1,n=t.ResizeObserver||jr;this.resizeObserver=new n((function(){i&&e.recalculate()})),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),t.requestAnimationFrame((function(){i=!0})),this.mutationObserver=new t.MutationObserver(this.recalculate),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})},t.recalculate=function(){var e=Cr(this.el);this.elStyles=e.getComputedStyle(this.el),this.isRtl="rtl"===this.elStyles.direction;var t=this.heightAutoObserverEl.offsetHeight<=1,i=this.heightAutoObserverEl.offsetWidth<=1,n=this.contentEl.offsetWidth,r=this.contentWrapperEl.offsetWidth,s=this.elStyles.overflowX,o=this.elStyles.overflowY;this.contentEl.style.padding=this.elStyles.paddingTop+" "+this.elStyles.paddingRight+" "+this.elStyles.paddingBottom+" "+this.elStyles.paddingLeft,this.wrapperEl.style.margin="-"+this.elStyles.paddingTop+" -"+this.elStyles.paddingRight+" -"+this.elStyles.paddingBottom+" -"+this.elStyles.paddingLeft;var a=this.contentEl.scrollHeight,l=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=t?"auto":"100%",this.placeholderEl.style.width=i?n+"px":"auto",this.placeholderEl.style.height=a+"px";var c=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=l>n,this.axis.y.isOverflowing=a>c,this.axis.x.isOverflowing="hidden"!==s&&this.axis.x.isOverflowing,this.axis.y.isOverflowing="hidden"!==o&&this.axis.y.isOverflowing,this.axis.x.forceVisible="x"===this.options.forceVisible||!0===this.options.forceVisible,this.axis.y.forceVisible="y"===this.options.forceVisible||!0===this.options.forceVisible,this.hideNativeScrollbar();var u=this.axis.x.isOverflowing?this.scrollbarWidth:0,d=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&l>r-d,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&a>c-u,this.axis.x.scrollbar.size=this.getScrollbarSize("x"),this.axis.y.scrollbar.size=this.getScrollbarSize("y"),this.axis.x.scrollbar.el.style.width=this.axis.x.scrollbar.size+"px",this.axis.y.scrollbar.el.style.height=this.axis.y.scrollbar.size+"px",this.positionScrollbar("x"),this.positionScrollbar("y"),this.toggleTrackVisibility("x"),this.toggleTrackVisibility("y")},t.getScrollbarSize=function(e){if(void 0===e&&(e="y"),!this.axis[e].isOverflowing)return 0;var t,i=this.contentEl[this.axis[e].scrollSizeAttr],n=this.axis[e].track.el[this.axis[e].offsetSizeAttr],r=n/i;return t=Math.max(~~(r*n),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(t=Math.min(t,this.options.scrollbarMaxSize)),t},t.positionScrollbar=function(t){if(void 0===t&&(t="y"),this.axis[t].isOverflowing){var i=this.contentWrapperEl[this.axis[t].scrollSizeAttr],n=this.axis[t].track.el[this.axis[t].offsetSizeAttr],r=parseInt(this.elStyles[this.axis[t].sizeAttr],10),s=this.axis[t].scrollbar,o=this.contentWrapperEl[this.axis[t].scrollOffsetAttr],a=(o="x"===t&&this.isRtl&&e.getRtlHelpers().isRtlScrollingInverted?-o:o)/(i-r),l=~~((n-s.size)*a);l="x"===t&&this.isRtl&&e.getRtlHelpers().isRtlScrollbarInverted?l+(n-s.size):l,s.el.style.transform="x"===t?"translate3d("+l+"px, 0, 0)":"translate3d(0, "+l+"px, 0)"}},t.toggleTrackVisibility=function(e){void 0===e&&(e="y");var t=this.axis[e].track.el,i=this.axis[e].scrollbar.el;this.axis[e].isOverflowing||this.axis[e].forceVisible?(t.style.visibility="visible",this.contentWrapperEl.style[this.axis[e].overflowAttr]="scroll"):(t.style.visibility="hidden",this.contentWrapperEl.style[this.axis[e].overflowAttr]="hidden"),this.axis[e].isOverflowing?i.style.display="block":i.style.display="none"},t.hideNativeScrollbar=function(){this.offsetEl.style[this.isRtl?"left":"right"]=this.axis.y.isOverflowing||this.axis.y.forceVisible?"-"+this.scrollbarWidth+"px":0,this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?"-"+this.scrollbarWidth+"px":0},t.onMouseMoveForAxis=function(e){void 0===e&&(e="y"),this.axis[e].track.rect=this.axis[e].track.el.getBoundingClientRect(),this.axis[e].scrollbar.rect=this.axis[e].scrollbar.el.getBoundingClientRect(),this.isWithinBounds(this.axis[e].scrollbar.rect)?this.axis[e].scrollbar.el.classList.add(this.classNames.hover):this.axis[e].scrollbar.el.classList.remove(this.classNames.hover),this.isWithinBounds(this.axis[e].track.rect)?(this.showScrollbar(e),this.axis[e].track.el.classList.add(this.classNames.hover)):this.axis[e].track.el.classList.remove(this.classNames.hover)},t.onMouseLeaveForAxis=function(e){void 0===e&&(e="y"),this.axis[e].track.el.classList.remove(this.classNames.hover),this.axis[e].scrollbar.el.classList.remove(this.classNames.hover)},t.showScrollbar=function(e){void 0===e&&(e="y");var t=this.axis[e].scrollbar.el;this.axis[e].isVisible||(t.classList.add(this.classNames.visible),this.axis[e].isVisible=!0),this.options.autoHide&&this.hideScrollbars()},t.onDragStart=function(e,t){void 0===t&&(t="y");var i=Dr(this.el),n=Cr(this.el),r=this.axis[t].scrollbar,s="y"===t?e.pageY:e.pageX;this.axis[t].dragOffset=s-r.rect[this.axis[t].offsetAttr],this.draggedAxis=t,this.el.classList.add(this.classNames.dragging),i.addEventListener("mousemove",this.drag,!0),i.addEventListener("mouseup",this.onEndDrag,!0),null===this.removePreventClickId?(i.addEventListener("click",this.preventClick,!0),i.addEventListener("dblclick",this.preventClick,!0)):(n.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},t.onTrackClick=function(e,t){var i=this;if(void 0===t&&(t="y"),this.options.clickOnTrack){var n=Cr(this.el);this.axis[t].scrollbar.rect=this.axis[t].scrollbar.el.getBoundingClientRect();var r=this.axis[t].scrollbar.rect[this.axis[t].offsetAttr],s=parseInt(this.elStyles[this.axis[t].sizeAttr],10),o=this.contentWrapperEl[this.axis[t].scrollOffsetAttr],a=("y"===t?this.mouseY-r:this.mouseX-r)<0?-1:1,l=-1===a?o-s:o+s;!function e(){var r,s;-1===a?o>l&&(o-=i.options.clickOnTrackSpeed,i.contentWrapperEl.scrollTo(((r={})[i.axis[t].offsetAttr]=o,r)),n.requestAnimationFrame(e)):o<l&&(o+=i.options.clickOnTrackSpeed,i.contentWrapperEl.scrollTo(((s={})[i.axis[t].offsetAttr]=o,s)),n.requestAnimationFrame(e))}()}},t.getContentElement=function(){return this.contentEl},t.getScrollElement=function(){return this.contentWrapperEl},t.getScrollbarWidth=function(){try{return"none"===getComputedStyle(this.contentWrapperEl,"::-webkit-scrollbar").display||"scrollbarWidth"in document.documentElement.style||"-ms-overflow-style"in document.documentElement.style?0:Nr(this.el)}catch(e){return Nr(this.el)}},t.removeListeners=function(){var e=this,t=Cr(this.el);this.options.autoHide&&this.el.removeEventListener("mouseenter",this.onMouseEnter),["mousedown","click","dblclick"].forEach((function(t){e.el.removeEventListener(t,e.onPointerEvent,!0)})),["touchstart","touchend","touchmove"].forEach((function(t){e.el.removeEventListener(t,e.onPointerEvent,{capture:!0,passive:!0})})),this.el.removeEventListener("mousemove",this.onMouseMove),this.el.removeEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl&&this.contentWrapperEl.removeEventListener("scroll",this.onScroll),t.removeEventListener("resize",this.onWindowResize),this.mutationObserver&&this.mutationObserver.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect(),this.recalculate.cancel(),this.onMouseMove.cancel(),this.hideScrollbars.cancel(),this.onWindowResize.cancel()},t.unMount=function(){this.removeListeners(),e.instances.delete(this.el)},t.isWithinBounds=function(e){return this.mouseX>=e.left&&this.mouseX<=e.left+e.width&&this.mouseY>=e.top&&this.mouseY<=e.top+e.height},t.findChild=function(e,t){var i=e.matches||e.webkitMatchesSelector||e.mozMatchesSelector||e.msMatchesSelector;return Array.prototype.filter.call(e.children,(function(e){return i.call(e,t)}))[0]},e}();Mr.defaultOptions={autoHide:!0,forceVisible:!1,clickOnTrack:!0,clickOnTrackSpeed:40,classNames:{contentEl:"simplebar-content",contentWrapper:"simplebar-content-wrapper",offset:"simplebar-offset",mask:"simplebar-mask",wrapper:"simplebar-wrapper",placeholder:"simplebar-placeholder",scrollbar:"simplebar-scrollbar",track:"simplebar-track",heightAutoObserverWrapperEl:"simplebar-height-auto-observer-wrapper",heightAutoObserverEl:"simplebar-height-auto-observer",visible:"simplebar-visible",horizontal:"simplebar-horizontal",vertical:"simplebar-vertical",hover:"simplebar-hover",dragging:"simplebar-dragging"},scrollbarMinSize:25,scrollbarMaxSize:0,timeout:1e3},Mr.instances=new WeakMap,Mr.initDOMLoadedElements=function(){document.removeEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.removeEventListener("load",this.initDOMLoadedElements),Array.prototype.forEach.call(document.querySelectorAll("[data-simplebar]"),(function(e){"init"===e.getAttribute("data-simplebar")||Mr.instances.has(e)||new Mr(e,Tr(e.attributes))}))},Mr.removeObserver=function(){this.globalObserver.disconnect()},Mr.initHtmlApi=function(){this.initDOMLoadedElements=this.initDOMLoadedElements.bind(this),"undefined"!=typeof MutationObserver&&(this.globalObserver=new MutationObserver(Mr.handleMutations),this.globalObserver.observe(document,{childList:!0,subtree:!0})),"complete"===document.readyState||"loading"!==document.readyState&&!document.documentElement.doScroll?window.setTimeout(this.initDOMLoadedElements):(document.addEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.addEventListener("load",this.initDOMLoadedElements))},Mr.handleMutations=function(e){e.forEach((function(e){Array.prototype.forEach.call(e.addedNodes,(function(e){1===e.nodeType&&(e.hasAttribute("data-simplebar")?!Mr.instances.has(e)&&document.documentElement.contains(e)&&new Mr(e,Tr(e.attributes)):Array.prototype.forEach.call(e.querySelectorAll("[data-simplebar]"),(function(e){"init"!==e.getAttribute("data-simplebar")&&!Mr.instances.has(e)&&document.documentElement.contains(e)&&new Mr(e,Tr(e.attributes))})))})),Array.prototype.forEach.call(e.removedNodes,(function(e){1===e.nodeType&&("init"===e.getAttribute("data-simplebar")?Mr.instances.has(e)&&!document.documentElement.contains(e)&&Mr.instances.get(e).unMount():Array.prototype.forEach.call(e.querySelectorAll('[data-simplebar="init"]'),(function(e){Mr.instances.has(e)&&!document.documentElement.contains(e)&&Mr.instances.get(e).unMount()})))}))}))},Mr.getOptions=Tr,Bn()&&Mr.initHtmlApi();var Fr=Mr;let Rr,zr=!1;class Br{static run(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i={"bs-tooltip":()=>this.bsTooltip(),"bs-popover":()=>this.bsPopover(),"cb-toggle-class":()=>this.cbToggleClass(),"cb-year-copy":()=>this.cbYearCopy(),"cb-ripple":()=>this.cbRipple(),"cb-print":()=>this.cbPrint(),"cb-table-tools-sections":()=>this.cbTableToolsSections(),"cb-table-tools-checkable":()=>this.cbTableToolsCheckable(),"js-ckeditor":()=>this.jsCkeditor(),"js-ckeditor5":()=>this.jsCkeditor5(),"js-simplemde":()=>this.jsSimpleMDE(),"js-highlightjs":()=>this.jsHighlightjs(),"js-flatpickr":()=>this.jsFlatpickr(),"jq-appear":()=>this.jqAppear(),"jq-magnific-popup":()=>this.jqMagnific(),"jq-slick":()=>this.jqSlick(),"jq-datepicker":()=>this.jqDatepicker(),"jq-colorpicker":()=>this.jqColorpicker(),"jq-masked-inputs":()=>this.jqMaskedInputs(),"jq-select2":()=>this.jqSelect2(),"jq-notify":e=>this.jqNotify(e),"jq-easy-pie-chart":()=>this.jqEasyPieChart(),"jq-maxlength":()=>this.jqMaxlength(),"jq-rangeslider":()=>this.jqRangeslider(),"jq-pw-strength":()=>this.jqPwStrength(),"jq-sparkline":()=>this.jqSparkline(),"jq-validation":()=>this.jqValidation()};if(e instanceof Array)for(let n in e)i[e[n]]&&i[e[n]](t);else i[e]&&i[e](t)}static bsTooltip(){let e=[].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]:not(.js-bs-tooltip-enabled), .js-bs-tooltip:not(.js-bs-tooltip-enabled)'));window.helperBsTooltips=e.map((e=>(e.classList.add("js-bs-tooltip-enabled"),new bootstrap.Tooltip(e,{container:e.dataset.bsContainer||"#page-container",animation:!(!e.dataset.bsAnimation||"true"!=e.dataset.bsAnimation.toLowerCase())}))))}static bsPopover(){let e=[].slice.call(document.querySelectorAll('[data-bs-toggle="popover"]:not(.js-bs-popover-enabled), .js-bs-popover:not(.js-bs-popover-enabled)'));window.helperBsPopovers=e.map((e=>(e.classList.add("js-bs-popover-enabled"),new bootstrap.Popover(e,{container:e.dataset.bsContainer||"#page-container",animation:!(!e.dataset.bsAnimation||"true"!=e.dataset.bsAnimation.toLowerCase()),trigger:e.dataset.bsTrigger||"hover focus"}))))}static cbToggleClass(){document.querySelectorAll('[data-toggle="class-toggle"]:not(.js-class-toggle-enabled), .js-class-toggle:not(.js-class-toggle-enabled)').forEach((e=>{e.addEventListener("click",(()=>{e.classList.add("js-class-toggle-enabled");let t=!!e.dataset.class&&e.dataset.class.split(" ");document.querySelectorAll(e.dataset.target).forEach((e=>{t&&t.forEach((t=>{e.classList.toggle(t)}))}))}))}))}static cbYearCopy(){document.querySelectorAll('[data-toggle="year-copy"]:not(.js-year-copy-enabled)').forEach((e=>{let t=(new Date).getFullYear(),i=e.textContent||t;e.classList.add("js-year-copy-enabled"),e.textContent=parseInt(i)>=t?t:i+"-"+t.toString().substr(2,2)}))}static cbRipple(){document.querySelectorAll('[data-toggle="click-ripple"]:not(.js-click-ripple-enabled)').forEach((e=>{e.classList.add("js-click-ripple-enabled"),e.style.overflow="hidden",e.style.position="relative",e.style.zIndex=1,e.addEventListener("click",(t=>{let i,n,r,s="click-ripple",o=e.querySelector("."+s);if(o)o.classList.remove("animate");else{let t=document.createElement("span");t.classList.add(s),e.insertBefore(t,e.firstChild)}o=e.querySelector("."+s),"0px"!==getComputedStyle(o).height&&"0px"!==getComputedStyle(o).width||(i=Math.max(e.offsetWidth,e.offsetHeight),o.style.height=i+"px",o.style.width=i+"px"),n=t.pageX-(e.getBoundingClientRect().left+window.scrollX)-parseFloat(getComputedStyle(o).width.replace("px",""))/2,r=t.pageY-(e.getBoundingClientRect().top+window.scrollY)-parseFloat(getComputedStyle(o).height.replace("px",""))/2,o.style.top=r+"px",o.style.left=n+"px",o.classList.add("animate")}))}))}static cbPrint(){let e=document.getElementById("page-container"),t=e.className;console.log(t),e.classList="",window.print(),e.classList=t}static cbTableToolsSections(){document.querySelectorAll(".js-table-sections:not(.js-table-sections-enabled)").forEach((e=>{e.classList.add("js-table-sections-enabled"),e.querySelectorAll(".js-table-sections-header > tr").forEach((t=>{t.addEventListener("click",(i=>{if("checkbox"!==i.target.type&&"button"!==i.target.type&&"a"!==i.target.tagName.toLowerCase()&&"a"!==i.target.parentNode.nodeName.toLowerCase()&&"button"!==i.target.parentNode.nodeName.toLowerCase()&&"label"!==i.target.parentNode.nodeName.toLowerCase()&&!i.target.parentNode.classList.contains("custom-control")){let i=t.parentNode,n=e.querySelectorAll("tbody");i.classList.contains("show")||n&&n.forEach((e=>{e.classList.remove("show"),e.classList.remove("table-active")})),i.classList.toggle("show"),i.classList.toggle("table-active")}}))}))}))}static cbTableToolsCheckable(){document.querySelectorAll(".js-table-checkable:not(.js-table-checkable-enabled)").forEach((e=>{e.classList.add("js-table-checkable-enabled"),e.querySelector("thead input[type=checkbox]").addEventListener("click",(t=>{e.querySelectorAll("tbody input[type=checkbox]").forEach((e=>{e.checked=t.currentTarget.checked,this.tableToolscheckRow(e,t.currentTarget.checked)}))})),e.querySelectorAll("tbody input[type=checkbox], tbody input + label").forEach((t=>{t.addEventListener("click",(i=>{let n=e.querySelector("thead input[type=checkbox]");t.checked?e.querySelectorAll("tbody input[type=checkbox]:checked").length===e.querySelectorAll("tbody input[type=checkbox]").length&&(n.checked=!0):n.checked=!1,this.tableToolscheckRow(t,t.checked)}))})),e.querySelectorAll("tbody > tr").forEach((t=>{t.addEventListener("click",(t=>{if("checkbox"!==t.target.type&&"button"!==t.target.type&&"a"!==t.target.tagName.toLowerCase()&&"a"!==t.target.parentNode.nodeName.toLowerCase()&&"button"!==t.target.parentNode.nodeName.toLowerCase()&&"label"!==t.target.parentNode.nodeName.toLowerCase()&&!t.target.parentNode.classList.contains("custom-control")){let i=e.querySelector("thead input[type=checkbox]"),n=t.currentTarget.querySelector("input[type=checkbox]");n.checked=!n.checked,this.tableToolscheckRow(n,n.checked),n.checked?e.querySelectorAll("tbody input[type=checkbox]:checked").length===e.querySelectorAll("tbody input[type=checkbox]").length&&(i.checked=!0):i.checked=!1}}))}))}))}static tableToolscheckRow(e,t){t?e.closest("tr").classList.add("table-active"):e.closest("tr").classList.remove("table-active")}static jsCkeditor(){let e=document.querySelector("#js-ckeditor-inline:not(.js-ckeditor-inline-enabled)"),t=document.querySelector("#js-ckeditor:not(.js-ckeditor-enabled)");e&&(e.setAttribute("contenteditable","true"),CKEDITOR.inline("js-ckeditor-inline"),e.classList.add("js-ckeditor-inline-enabled")),t&&(CKEDITOR.replace("js-ckeditor"),t.classList.add("js-ckeditor-enabled"))}static jsCkeditor5(){let e=document.querySelector("#js-ckeditor5-inline"),t=document.querySelector("#js-ckeditor5-classic");e&&InlineEditor.create(document.querySelector("#js-ckeditor5-inline")).then((e=>{window.editor=e})).catch((e=>{console.error("There was a problem initializing the inline editor.",e)})),t&&ClassicEditor.create(document.querySelector("#js-ckeditor5-classic")).then((e=>{window.editor=e})).catch((e=>{console.error("There was a problem initializing the classic editor.",e)}))}static jsSimpleMDE(){let e=document.querySelectorAll(".js-simplemde");e.forEach((e=>{new SimpleMDE({element:e,autoDownloadFontAwesome:!1})})),e&&(document.querySelector(".editor-toolbar > a.fa-header").classList.replace("fa-header","fa-heading"),document.querySelector(".editor-toolbar > a.fa-picture-o").classList.replace("fa-picture-o","fa-image"))}static jsHighlightjs(){hljs.isHighlighted||hljs.initHighlighting()}static jsFlatpickr(){document.querySelectorAll(".js-flatpickr:not(.js-flatpickr-enabled)").forEach((e=>{e.classList.add("js-flatpickr-enabled"),flatpickr(e)}))}static jqAppear(){jQuery('[data-toggle="appear"]:not(.js-appear-enabled)').each(((e,t)=>{let i=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,n=jQuery(t),r=n.data("class")||"animated fadeIn",s=n.data("offset")||0,o=i<992?0:n.data("timeout")?n.data("timeout"):0;n.addClass("js-appear-enabled").appear((()=>{setTimeout((()=>{n.removeClass("invisible").addClass(r)}),o)}),{accY:s})}))}static jqMagnific(){jQuery(".js-gallery:not(.js-gallery-enabled)").each(((e,t)=>{jQuery(t).addClass("js-gallery-enabled").magnificPopup({delegate:"a.img-lightbox",type:"image",gallery:{enabled:!0}})}))}static jqSlick(){jQuery(".js-slider:not(.js-slider-enabled)").each(((e,t)=>{let i=jQuery(t);i.addClass("js-slider-enabled").slick({arrows:i.data("arrows")||!1,dots:i.data("dots")||!1,slidesToShow:i.data("slides-to-show")||1,centerMode:i.data("center-mode")||!1,autoplay:i.data("autoplay")||!1,autoplaySpeed:i.data("autoplay-speed")||3e3,infinite:void 0===i.data("infinite")||i.data("infinite")})}))}static jqDatepicker(){jQuery(".js-datepicker:not(.js-datepicker-enabled)").add(".input-daterange:not(.js-datepicker-enabled)").each(((e,t)=>{let i=jQuery(t);i.addClass("js-datepicker-enabled").datepicker({weekStart:i.data("week-start")||0,autoclose:i.data("autoclose")||!1,todayHighlight:i.data("today-highlight")||!1,container:i.data("container")||"#page-container",orientation:"bottom"})}))}static jqColorpicker(){jQuery(".js-colorpicker:not(.js-colorpicker-enabled)").each(((e,t)=>{setTimeout((()=>{jQuery(t).addClass("js-colorpicker-enabled").colorpicker()}),500)}))}static jqMaskedInputs(){jQuery(".js-masked-date:not(.js-masked-enabled)").mask("99/99/9999"),jQuery(".js-masked-date-dash:not(.js-masked-enabled)").mask("99-99-9999"),jQuery(".js-masked-phone:not(.js-masked-enabled)").mask("(999) 999-9999"),jQuery(".js-masked-phone-ext:not(.js-masked-enabled)").mask("(999) 999-9999? x99999"),jQuery(".js-masked-taxid:not(.js-masked-enabled)").mask("99-9999999"),jQuery(".js-masked-ssn:not(.js-masked-enabled)").mask("999-99-9999"),jQuery(".js-masked-pkey:not(.js-masked-enabled)").mask("a*-999-a999"),jQuery(".js-masked-time:not(.js-masked-enabled)").mask("99:99"),jQuery(".js-masked-date").add(".js-masked-date-dash").add(".js-masked-phone").add(".js-masked-phone-ext").add(".js-masked-taxid").add(".js-masked-ssn").add(".js-masked-pkey").add(".js-masked-time").addClass("js-masked-enabled")}static jqSelect2(){jQuery(".js-select2:not(.js-select2-enabled)").each(((e,t)=>{let i=jQuery(t);i.addClass("js-select2-enabled").select2({placeholder:i.data("placeholder")||!1,dropdownParent:i.data("container")||document.getElementById("page-container")})}))}static jqNotify(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};jQuery.isEmptyObject(e)?jQuery(".js-notify:not(.js-notify-enabled)").each(((e,t)=>{jQuery(t).addClass("js-notify-enabled").on("click.pixelcave.helpers",(e=>{let t=jQuery(e.currentTarget);jQuery.notify({icon:t.data("icon")||"",message:t.data("message"),url:t.data("url")||""},{element:"body",type:t.data("type")||"info",placement:{from:t.data("from")||"top",align:t.data("align")||"right"},allow_dismiss:!0,newest_on_top:!0,showProgressbar:!1,offset:20,spacing:10,z_index:1033,delay:5e3,timer:1e3,animate:{enter:"animated fadeIn",exit:"animated fadeOutDown"},template:'<div data-notify="container" class="col-11 col-sm-4 alert alert-{0} alert-dismissible" role="alert">\n <p class="mb-0">\n <span data-notify="icon"></span>\n <span data-notify="title">{1}</span>\n <span data-notify="message">{2}</span>\n </p>\n <div class="progress" data-notify="progressbar">\n <div class="progress-bar progress-bar-{0}" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="width: 0%;"></div>\n </div>\n <a href="{3}" target="{4}" data-notify="url"></a>\n <a class="p-2 m-1 text-dark" href="javascript:void(0)" aria-label="Close" data-notify="dismiss">\n <i class="fa fa-times"></i>\n </a>\n</div>'})}))})):jQuery.notify({icon:e.icon||"",message:e.message,url:e.url||""},{element:e.element||"body",type:e.type||"info",placement:{from:e.from||"top",align:e.align||"right"},allow_dismiss:!1!==e.allow_dismiss,newest_on_top:!1!==e.newest_on_top,showProgressbar:!!e.show_progress_bar,offset:e.offset||20,spacing:e.spacing||10,z_index:e.z_index||1033,delay:e.delay||5e3,timer:e.timer||1e3,animate:{enter:e.animate_enter||"animated fadeIn",exit:e.animate_exit||"animated fadeOutDown"},template:'<div data-notify="container" class="col-11 col-sm-4 alert alert-{0} alert-dismissible" role="alert">\n <p class="mb-0">\n <span data-notify="icon"></span>\n <span data-notify="title">{1}</span>\n <span data-notify="message">{2}</span>\n </p>\n <div class="progress" data-notify="progressbar">\n <div class="progress-bar progress-bar-{0}" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="width: 0%;"></div>\n </div>\n <a href="{3}" target="{4}" data-notify="url"></a>\n <a class="p-2 m-1 text-dark" href="javascript:void(0)" aria-label="Close" data-notify="dismiss">\n <i class="fa fa-times"></i>\n </a>\n</div>'})}static jqEasyPieChart(){jQuery(".js-pie-chart:not(.js-pie-chart-enabled)").each(((e,t)=>{let i=jQuery(t);i.addClass("js-pie-chart-enabled").easyPieChart({barColor:i.data("bar-color")||"#777777",trackColor:i.data("track-color")||"#eeeeee",lineWidth:i.data("line-width")||3,size:i.data("size")||"80",animate:i.data("animate")||750,scaleColor:i.data("scale-color")||!1})}))}static jqMaxlength(){jQuery(".js-maxlength:not(.js-maxlength-enabled)").each(((e,t)=>{let i=jQuery(t);i.addClass("js-maxlength-enabled").maxlength({alwaysShow:!!i.data("always-show"),threshold:i.data("threshold")||10,warningClass:i.data("warning-class")||"badge bg-warning",limitReachedClass:i.data("limit-reached-class")||"badge bg-danger",placement:i.data("placement")||"bottom",preText:i.data("pre-text")||"",separator:i.data("separator")||"/",postText:i.data("post-text")||""})}))}static jqRangeslider(){jQuery(".js-rangeslider:not(.js-rangeslider-enabled)").each(((e,t)=>{let i=jQuery(t);jQuery(t).addClass("js-rangeslider-enabled").ionRangeSlider({input_values_separator:";",skin:i.data("skin")||"round"})}))}static jqPwStrength(){jQuery(".js-pw-strength:not(.js-pw-strength-enabled)").each(((e,t)=>{let i=jQuery(t),n=i.parents(".js-pw-strength-container"),r=jQuery(".js-pw-strength-progress",n),s=jQuery(".js-pw-strength-feedback",n);i.addClass("js-pw-strength-enabled").pwstrength({ui:{container:n,viewports:{progress:r,verdict:s}}})}))}static jqSparkline(){let e=this;jQuery(".js-sparkline:not(.js-sparkline-enabled)").each(((t,i)=>{let n=jQuery(i),r=n.data("type"),s={},o={line:()=>{s.type=r,s.lineWidth=n.data("line-width")||2,s.lineColor=n.data("line-color")||"#0665d0",s.fillColor=n.data("fill-color")||"#0665d0",s.spotColor=n.data("spot-color")||"#495057",s.minSpotColor=n.data("min-spot-color")||"#495057",s.maxSpotColor=n.data("max-spot-color")||"#495057",s.highlightSpotColor=n.data("highlight-spot-color")||"#495057",s.highlightLineColor=n.data("highlight-line-color")||"#495057",s.spotRadius=n.data("spot-radius")||2,s.tooltipFormat="{{prefix}}{{y}}{{suffix}}"},bar:()=>{s.type=r,s.barWidth=n.data("bar-width")||8,s.barSpacing=n.data("bar-spacing")||6,s.barColor=n.data("bar-color")||"#0665d0",s.tooltipFormat="{{prefix}}{{value}}{{suffix}}"},pie:()=>{s.type=r,s.sliceColors=["#fadb7d","#faad7d","#75b0eb","#abe37d"],s.highlightLighten=n.data("highlight-lighten")||1.1,s.tooltipFormat="{{prefix}}{{value}}{{suffix}}"},tristate:()=>{s.type=r,s.barWidth=n.data("bar-width")||8,s.barSpacing=n.data("bar-spacing")||6,s.posBarColor=n.data("pos-bar-color")||"#82b54b",s.negBarColor=n.data("neg-bar-color")||"#e04f1a"}};o[r]?(o[r](),"line"===r&&((n.data("chart-range-min")>=0||n.data("chart-range-min"))&&(s.chartRangeMin=n.data("chart-range-min")),(n.data("chart-range-max")>=0||n.data("chart-range-max"))&&(s.chartRangeMax=n.data("chart-range-max"))),s.width=n.data("width")||"120px",s.height=n.data("height")||"80px",s.tooltipPrefix=n.data("tooltip-prefix")?n.data("tooltip-prefix")+" ":"",s.tooltipSuffix=n.data("tooltip-suffix")?" "+n.data("tooltip-suffix"):"","100%"===s.width?zr||(zr=!0,jQuery(window).on("resize.pixelcave.helpers.sparkline",(function(t){clearTimeout(Rr),Rr=setTimeout((()=>{e.sparkline()}),500)}))):jQuery(i).addClass("js-sparkline-enabled"),jQuery(i).sparkline(n.data("points")||[0],s)):console.log("[jQuery Sparkline JS Helper] Please add a correct type (line, bar, pie or tristate) in all your elements with 'js-sparkline' class.")}))}static jqValidation(){jQuery.validator.setDefaults({errorClass:"invalid-feedback animated fadeIn",errorElement:"div",errorPlacement:(e,t)=>{jQuery(t).addClass("is-invalid"),jQuery(t).parents("div:not(.input-group)").first().append(e)},highlight:e=>{jQuery(e).parents("div:not(.input-group)").first().find(".is-invalid").removeClass("is-invalid").addClass("is-invalid")},success:e=>{jQuery(e).parents("div:not(.input-group)").first().find(".is-invalid").removeClass("is-invalid"),jQuery(e).remove()}}),jQuery.validator.addMethod("emailWithDot",(function(e,t){return this.optional(t)||/^([a-z\d!#$%&'*+\-\/=?^_`{|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+(\.[a-z\d!#$%&'*+\-\/=?^_`{|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+)*|"((([ \t]*\r\n)?[ \t]+)?([\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|\\[\x01-\x09\x0b\x0c\x0d-\x7f\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))*(([ \t]*\r\n)?[ \t]+)?")@(([a-z\d\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|[a-z\d\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF][a-z\d\-._~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]*[a-z\d\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])\.)+([a-z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|[a-z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF][a-z\d\-._~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]*[a-z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])\.?$/i.test(e)}),"Please enter a valid email address")}}window.bootstrap=t,window.SimpleBar=Fr,window.Codebase=new class extends class{constructor(){this.onLoad(this._uiInit())}_uiInit(){this._lHtml=document.documentElement,this._lBody=document.body,this._lpageLoader=document.getElementById("page-loader"),this._lPage=document.getElementById("page-container"),this._lSidebar=document.getElementById("sidebar"),this._lSidebarScrollCon=this._lSidebar&&this._lSidebar.querySelector(".js-sidebar-scroll"),this._lSideOverlay=document.getElementById("side-overlay"),this._lResize=!1,this._lHeader=document.getElementById("page-header"),this._lHeaderSearch=document.getElementById("page-header-search"),this._lHeaderSearchInput=document.getElementById("page-header-search-input"),this._lHeaderLoader=document.getElementById("page-header-loader"),this._lMain=document.getElementById("main-container"),this._lFooter=document.getElementById("page-footer"),this._lSidebarScroll=!1,this._lSideOverlayScroll=!1,this._uiHandleTheme(),this._uiHandleDarkMode(),this._uiHandleSidebars(),this._uiHandleHeader(),this._uiHandleNav(),this._uiApiLayout(),this._uiApiBlocks(),this.helpers(["bs-tooltip","bs-popover","cb-toggle-class","cb-year-copy","cb-ripple"]),this._uiHandlePageLoader()}_uiHandleSidebars(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"init",t=this;(t._lSidebar||t._lSideOverlay)&&("init"===e?(t._lPage.classList.add("side-trans-enabled"),window.addEventListener("resize",(()=>{clearTimeout(t._lResize),t._lPage.classList.remove("side-trans-enabled"),t._lResize=setTimeout((()=>{t._lPage.classList.add("side-trans-enabled")}),500)})),this._uiHandleSidebars("custom-scroll")):(e="custom-scroll")&&t._lPage.classList.contains("side-scroll")&&(t._lSidebar&&!t._lSidebarScroll&&(t._lSidebarScroll=new Fr(t._lSidebarScrollCon)),t._lSideOverlay&&!t._lSideOverlayScroll&&(t._lSideOverlayScroll=new Fr(t._lSideOverlay))))}_uiHandleHeader(){let e=this;e._lPage.classList.contains("page-header-glass")&&e._lPage.classList.contains("page-header-fixed")&&(window.addEventListener("scroll",(t=>{window.scrollY>60?e._lPage.classList.add("page-header-scroll"):e._lPage.classList.remove("page-header-scroll")})),window.dispatchEvent(new CustomEvent("scroll")))}_uiHandleNav(){let e=document.querySelectorAll('[data-toggle="submenu"]');e&&e.forEach((e=>{e.addEventListener("click",(t=>{t.preventDefault();let i=e.closest(".nav-main");if(!((window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth)>991&&i.classList.contains("nav-main-horizontal")&&i.classList.contains("nav-main-hover"))){let t=e.closest("li");t.classList.contains("open")?(t.classList.remove("open"),e.setAttribute("aria-expanded","false")):(Array.from(e.closest("ul").children).forEach((e=>{e.classList.remove("open")})),t.classList.add("open"),e.setAttribute("aria-expanded","true"))}return!1}))}))}_uiHandlePageLoader(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"hide",t=arguments.length>1?arguments[1]:void 0;if("show"===e)if(this._lpageLoader)t&&(this._lpageLoader.className="",this._lpageLoader.classList.add(t)),this._lpageLoader.classList.add("show");else{let e=document.createElement("div");e.id="page-loader",t&&e.classList.add(t),e.classList.add("show"),this._lPage.insertBefore(e,this._lPage.firstChild),this._lpageLoader=document.getElementById("page-loader")}else"hide"===e&&this._lpageLoader&&this._lpageLoader.classList.remove("show")}_uiHandleDarkMode(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"init",t=this;if("init"!==e||t._lPage.classList.contains("dark-mode")||(t._lPage.classList.contains("sidebar-dark")?localStorage.setItem("codebaseDefaultsSidebarDark",!0):localStorage.removeItem("codebaseDefaultsSidebarDark"),t._lPage.classList.contains("page-header-dark")?localStorage.setItem("codebaseDefaultsPageHeaderDark",!0):localStorage.removeItem("codebaseDefaultsPageHeaderDark")),t._lPage.classList.contains("remember-theme")){let i=localStorage.getItem("codebaseDarkMode")||!1;"init"===e?i?(t._lPage.classList.add("sidebar-dark"),t._lPage.classList.add("page-header-dark"),t._lPage.classList.add("dark-mode")):"init"===e&&t._lPage.classList.remove("dark-mode"):"on"===e?localStorage.setItem("codebaseDarkMode",!0):"off"===e&&localStorage.removeItem("codebaseDarkMode")}else"init"===e&&localStorage.removeItem("codebaseDarkMode")}_uiHandleTheme(){let e=this,t=document.getElementById("css-theme"),i=!!this._lPage.classList.contains("remember-theme");if(i){let i=localStorage.getItem("codebaseThemeName")||!1;i&&e._uiUpdateTheme(t,i),t=document.getElementById("css-theme")}else localStorage.removeItem("codebaseThemeName");document.querySelectorAll('[data-toggle="theme"][data-theme="'+(t?t.getAttribute("href"):"default")+'"]').forEach((e=>{e.classList.add("active")})),document.querySelectorAll('[data-toggle="theme"]').forEach((n=>{n.addEventListener("click",(r=>{r.preventDefault();let s=n.dataset.theme;document.querySelectorAll('[data-toggle="theme"]').forEach((e=>{e.classList.remove("active")})),document.querySelector('[data-toggle="theme"][data-theme="'+s+'"]').classList.add("active"),e._uiUpdateTheme(t,s),t=document.getElementById("css-theme"),i&&localStorage.setItem("codebaseThemeName",s)}))}))}_uiUpdateTheme(e,t){if("default"===t)e&&e.parentNode.removeChild(e);else if(e)e.setAttribute("href",t);else{let e=document.createElement("link");e.id="css-theme",e.setAttribute("rel","stylesheet"),e.setAttribute("href",t),document.getElementById("css-main").insertAdjacentElement("afterend",e)}}_uiApiLayout(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"init",t=this,i={init:()=>{let e=document.querySelectorAll('[data-toggle="layout"]');if(e&&e.forEach((e=>{e.addEventListener("click",(i=>{t._uiApiLayout(e.dataset.action)}))})),t._lPage.classList.contains("enable-page-overlay")){let e=document.createElement("div");e.id="page-overlay",t._lPage.insertBefore(e,t._lPage.firstChild),document.getElementById("page-overlay").addEventListener("click",(e=>{t._uiApiLayout("side_overlay_close")}))}},sidebar_pos_toggle:()=>{t._lPage.classList.toggle("sidebar-r")},sidebar_pos_left:()=>{t._lPage.classList.remove("sidebar-r")},sidebar_pos_right:()=>{t._lPage.classList.add("sidebar-r")},sidebar_toggle:()=>{window.innerWidth>991?t._lPage.classList.toggle("sidebar-o"):t._lPage.classList.toggle("sidebar-o-xs")},sidebar_open:()=>{window.innerWidth>991?t._lPage.classList.add("sidebar-o"):t._lPage.classList.add("sidebar-o-xs")},sidebar_close:()=>{window.innerWidth>991?t._lPage.classList.remove("sidebar-o"):t._lPage.classList.remove("sidebar-o-xs")},sidebar_mini_toggle:()=>{window.innerWidth>991&&t._lPage.classList.toggle("sidebar-mini")},sidebar_mini_on:()=>{window.innerWidth>991&&t._lPage.classList.add("sidebar-mini")},sidebar_mini_off:()=>{window.innerWidth>991&&t._lPage.classList.remove("sidebar-mini")},sidebar_style_toggle:()=>{t._lPage.classList.contains("sidebar-dark")?t._uiApiLayout("sidebar_style_light"):t._uiApiLayout("sidebar_style_dark")},sidebar_style_dark:()=>{t._lPage.classList.add("sidebar-dark"),localStorage.setItem("codebaseDefaultsSidebarDark",!0)},sidebar_style_light:()=>{t._lPage.classList.remove("sidebar-dark"),t._lPage.classList.remove("dark-mode"),localStorage.removeItem("codebaseDefaultsSidebarDark")},side_overlay_toggle:()=>{t._lPage.classList.contains("side-overlay-o")?t._uiApiLayout("side_overlay_close"):t._uiApiLayout("side_overlay_open")},side_overlay_open:()=>{document.addEventListener("keydown",(e=>{"Esc"!==e.key&&"Escape"!==e.key||t._uiApiLayout("side_overlay_close")})),t._lPage.classList.add("side-overlay-o")},side_overlay_close:()=>{t._lPage.classList.remove("side-overlay-o")},side_overlay_mode_hover_toggle:()=>{t._lPage.classList.toggle("side-overlay-hover")},side_overlay_mode_hover_on:()=>{t._lPage.classList.add("side-overlay-hover")},side_overlay_mode_hover_off:()=>{t._lPage.classList.remove("side-overlay-hover")},header_glass_toggle:()=>{t._lPage.classList.contains("page-header-glass")?t._uiApiLayout("header_glass_off"):t._uiApiLayout("header_glass_on")},header_glass_on:()=>{t._lPage.classList.add("page-header-glass"),t._lPage.classList.remove("page-header-modern"),t._uiHandleHeader()},header_glass_off:()=>{t._lPage.classList.remove("page-header-glass"),t._uiHandleHeader()},header_modern_toggle:()=>{t._lPage.classList.contains("page-header-modern")?t._uiApiLayout("header_modern_off"):t._uiApiLayout("header_modern_on")},header_modern_on:()=>{t._lPage.classList.add("page-header-modern"),t._lPage.classList.remove("page-header-glass")},header_modern_off:()=>{t._lPage.classList.remove("page-header-modern")},header_mode_toggle:()=>{t._lPage.classList.toggle("page-header-fixed")},header_mode_static:()=>{t._lPage.classList.remove("page-header-fixed")},header_mode_fixed:()=>{t._lPage.classList.add("page-header-fixed")},header_style_toggle:()=>{t._lPage.classList.contains("page-header-dark")?t._uiApiLayout("header_style_light"):t._uiApiLayout("header_style_dark")},header_style_dark:()=>{t._lPage.classList.add("page-header-dark"),localStorage.setItem("codebaseDefaultsPageHeaderDark",!0)},header_style_light:()=>{t._lPage.classList.remove("page-header-dark"),t._lPage.classList.remove("dark-mode"),localStorage.removeItem("codebaseDefaultsPageHeaderDark")},header_search_on:()=>{t._lHeaderSearch.classList.add("show"),t._lHeaderSearchInput.focus(),document.addEventListener("keydown",(e=>{"Esc"!==e.key&&"Escape"!==e.key||t._uiApiLayout("header_search_off")}))},header_search_off:()=>{t._lHeaderSearch.classList.remove("show"),t._lHeaderSearchInput.blur()},header_loader_on:()=>{t._lHeaderLoader.classList.add("show")},header_loader_off:()=>{t._lHeaderLoader.classList.remove("show")},dark_mode_toggle:()=>{t._lPage.classList.contains("dark-mode")?t._uiApiLayout("dark_mode_off"):t._uiApiLayout("dark_mode_on")},dark_mode_on:()=>{t._lPage.classList.add("sidebar-dark"),t._lPage.classList.add("page-header-dark"),t._lPage.classList.add("dark-mode"),this._uiHandleDarkMode("on")},dark_mode_off:()=>{localStorage.getItem("codebaseDefaultsSidebarDark")||t._lPage.classList.remove("sidebar-dark"),localStorage.getItem("codebaseDefaultsPageHeaderDark")||t._lPage.classList.remove("page-header-dark"),t._lPage.classList.remove("dark-mode"),this._uiHandleDarkMode("off")},content_layout_toggle:()=>{t._lPage.classList.contains("main-content-boxed")?t._uiApiLayout("content_layout_narrow"):t._lPage.classList.contains("main-content-narrow")?t._uiApiLayout("content_layout_full_width"):t._uiApiLayout("content_layout_boxed")},content_layout_boxed:()=>{t._lPage.classList.remove("main-content-narrow"),t._lPage.classList.add("main-content-boxed")},content_layout_narrow:()=>{t._lPage.classList.remove("main-content-boxed"),t._lPage.classList.add("main-content-narrow")},content_layout_full_width:()=>{t._lPage.classList.remove("main-content-boxed"),t._lPage.classList.remove("main-content-narrow")}};i[e]&&i[e]()}_uiApiBlocks(){let e,t,i,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"init",r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],s="si-size-fullscreen",o="si-size-actual",a="si-arrow-up",l="si-arrow-down",c={init:()=>{document.querySelectorAll('[data-toggle="block-option"][data-action="fullscreen_toggle"]').forEach((e=>{e.innerHTML='<i class="si '+(e.closest(".block").classList.contains("block-mode-fullscreen")?o:s)+'"></i>'})),document.querySelectorAll('[data-toggle="block-option"][data-action="content_toggle"]').forEach((e=>{e.innerHTML='<i class="si '+(e.closest(".block").classList.contains("block-mode-hidden")?l:a)+'"></i>'})),document.querySelectorAll('[data-toggle="block-option"]').forEach((e=>{e.addEventListener("click",(t=>{this._uiApiBlocks(e.dataset.action,e.closest(".block"))}))}))},fullscreen_toggle:()=>{e.classList.remove("block-mode-pinned"),e.classList.toggle("block-mode-fullscreen"),t&&(e.classList.contains("block-mode-fullscreen")?t&&t.querySelector("i").classList.replace(s,o):t&&t.querySelector("i").classList.replace(o,s))},fullscreen_on:()=>{e.classList.remove("block-mode-pinned"),e.classList.add("block-mode-fullscreen"),t&&t.querySelector("i").classList.replace(s,o)},fullscreen_off:()=>{e.classList.remove("block-mode-fullscreen"),t&&t.querySelector("i").classList.replace(o,s)},content_toggle:()=>{e.classList.toggle("block-mode-hidden"),i&&(e.classList.contains("block-mode-hidden")?i.querySelector("i").classList.replace(a,l):i.querySelector("i").classList.replace(l,a))},content_hide:()=>{e.classList.add("block-mode-hidden"),i&&i.querySelector("i").classList.replace(a,l)},content_show:()=>{e.classList.remove("block-mode-hidden"),i&&i.querySelector("i").classList.replace(l,a)},state_toggle:()=>{e.classList.toggle("block-mode-loading"),e.querySelector('[data-toggle="block-option"][data-action="state_toggle"][data-action-mode="demo"]')&&setTimeout((()=>{e.classList.remove("block-mode-loading")}),2e3)},state_loading:()=>{e.classList.add("block-mode-loading")},state_normal:()=>{e.classList.remove("block-mode-loading")},pinned_toggle:()=>{e.classList.remove("block-mode-fullscreen"),e.classList.toggle("block-mode-pinned")},pinned_on:()=>{e.classList.remove("block-mode-fullscreen"),e.classList.add("block-mode-pinned")},pinned_off:()=>{e.classList.remove("block-mode-pinned")},close:()=>{e.classList.add("d-none")},open:()=>{e.classList.remove("d-none")}};"init"===n?c[n]():(e=r instanceof Element?r:document.querySelector("".concat(r)),e&&(t=e.querySelector('[data-toggle="block-option"][data-action="fullscreen_toggle"]'),i=e.querySelector('[data-toggle="block-option"][data-action="content_toggle"]'),c[n]&&c[n]()))}onLoad(e){"loading"!=document.readyState?e():document.addEventListener("DOMContentLoaded",e)}init(){this._uiInit()}layout(e){this._uiApiLayout(e)}block(e,t){this._uiApiBlocks(e,t)}loader(e,t){this._uiHandlePageLoader(e,t)}helpers(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Br.run(e,t)}helpersOnLoad(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.onLoad((()=>Br.run(e,t)))}}{constructor(){super()}}}()}();
💾 Save Changes
Cancel
📤 Upload File
×
Select File
Upload
Cancel
➕ Create New
×
Type
📄 File
📁 Folder
Name
Create
Cancel
✎ Rename Item
×
Current Name
New Name
Rename
Cancel
🔐 Change Permissions
×
Target File
Permission (e.g., 0755, 0644)
0755
0644
0777
Apply
Cancel