dolphin-components 2.0.0 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -16,10 +16,10 @@ npm install dolphin-components
16
16
 
17
17
  ### 1. Import Styles
18
18
 
19
- Make sure to import the CSS styles in your main entry file (e.g., `main.ts` or `main.js`):
19
+ Make sure to import the CSS styles in your main entry file (e.g., `main.css`):
20
20
 
21
- ```ts
22
- import 'dolphin-components/dist/dolphin-components.css';
21
+ ```css
22
+ @import 'dolphin-components/dolphin-components.css' layer(base);
23
23
  ```
24
24
 
25
25
  ### 2. Register Components
@@ -1,15 +1,39 @@
1
1
  import type { ContentAction, ContentProps } from '../types';
2
- declare function __VLS_template(): {
3
- attrs: Partial<{}>;
4
- slots: {
5
- 'action-before'?(_: {}): any;
6
- 'action-after'?(_: {}): any;
7
- default?(_: {}): any;
8
- };
9
- refs: {};
10
- rootEl: HTMLDivElement;
2
+ type __VLS_Emit = {
3
+ (event: string, data?: string | number): void;
11
4
  };
12
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
5
+ declare const emit: __VLS_Emit;
6
+ declare const currentActions: import("vue").Ref<{
7
+ title: string;
8
+ emit: string;
9
+ class?: string;
10
+ }[], ContentAction[] | {
11
+ title: string;
12
+ emit: string;
13
+ class?: string;
14
+ }[]>;
15
+ declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
16
+ declare var __VLS_5: {}, __VLS_7: {}, __VLS_9: {};
17
+ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
18
+ 'action-before'?: (props: typeof __VLS_5) => any;
19
+ } & {
20
+ 'action-after'?: (props: typeof __VLS_7) => any;
21
+ } & {
22
+ body?: (props: typeof __VLS_9) => any;
23
+ }>;
24
+ declare const __VLS_self: import("vue").DefineComponent<ContentProps, {
25
+ emit: typeof emit;
26
+ currentActions: typeof currentActions;
27
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
28
+ [x: string]: never;
29
+ }, string, import("vue").PublicProps, Readonly<ContentProps> & Readonly<{
30
+ [x: `on${Capitalize<string>}`]: (...args: unknown[]) => any;
31
+ }>, {
32
+ title: import("../types").ContentTitle[];
33
+ action: ContentAction[];
34
+ bodyClass: string;
35
+ titleClass: string;
36
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
37
  declare const __VLS_component: import("vue").DefineComponent<ContentProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
14
38
  [x: string]: never;
15
39
  }, string, import("vue").PublicProps, Readonly<ContentProps> & Readonly<{
@@ -19,10 +43,10 @@ declare const __VLS_component: import("vue").DefineComponent<ContentProps, {}, {
19
43
  action: ContentAction[];
20
44
  bodyClass: string;
21
45
  titleClass: string;
22
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
23
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
46
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
47
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
24
48
  export default _default;
25
- type __VLS_WithTemplateSlots<T, S> = T & {
49
+ type __VLS_WithSlots<T, S> = T & {
26
50
  new (): {
27
51
  $slots: S;
28
52
  };
@@ -1,15 +1,32 @@
1
- import type { ModalProps } from '../types';
2
- declare function __VLS_template(): {
3
- attrs: Partial<{}>;
4
- slots: {
5
- default?(_: {}): any;
6
- };
7
- refs: {
8
- dynamicDiv: HTMLDivElement;
9
- };
10
- rootEl: any;
1
+ import type { ModalAction, ModalProps } from '../types';
2
+ type __VLS_Emit = {
3
+ (event: string, data?: string | number): void;
11
4
  };
12
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
5
+ declare const emit: __VLS_Emit;
6
+ declare const screenHeight: import("vue").Ref<number, number>;
7
+ declare const dynamicDiv: import("vue").Ref<HTMLElement, HTMLElement>;
8
+ declare const shouldApplyOverflow: import("vue").Ref<boolean, boolean>;
9
+ declare const handleAction: (action: ModalAction) => void;
10
+ declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
11
+ declare var __VLS_9: {};
12
+ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
13
+ default?: (props: typeof __VLS_9) => any;
14
+ }>;
15
+ declare const __VLS_self: import("vue").DefineComponent<ModalProps, {
16
+ emit: typeof emit;
17
+ screenHeight: typeof screenHeight;
18
+ dynamicDiv: typeof dynamicDiv;
19
+ shouldApplyOverflow: typeof shouldApplyOverflow;
20
+ handleAction: typeof handleAction;
21
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
22
+ [x: string]: never;
23
+ }, string, import("vue").PublicProps, Readonly<ModalProps> & Readonly<{
24
+ [x: `on${Capitalize<string>}`]: (...args: unknown[]) => any;
25
+ }>, {
26
+ show: boolean;
27
+ width: string;
28
+ title: import("../types").ModalTitle[];
29
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
30
  declare const __VLS_component: import("vue").DefineComponent<ModalProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
14
31
  [x: string]: never;
15
32
  }, string, import("vue").PublicProps, Readonly<ModalProps> & Readonly<{
@@ -18,12 +35,10 @@ declare const __VLS_component: import("vue").DefineComponent<ModalProps, {}, {},
18
35
  show: boolean;
19
36
  width: string;
20
37
  title: import("../types").ModalTitle[];
21
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {
22
- dynamicDiv: HTMLDivElement;
23
- }, any>;
24
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
38
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
39
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
25
40
  export default _default;
26
- type __VLS_WithTemplateSlots<T, S> = T & {
41
+ type __VLS_WithSlots<T, S> = T & {
27
42
  new (): {
28
43
  $slots: S;
29
44
  };
@@ -7,5 +7,5 @@ declare const _default: import("vue").DefineComponent<SwitchProps, {}, {}, {}, {
7
7
  background: string;
8
8
  modelValue: boolean;
9
9
  disable: boolean;
10
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLButtonElement>;
10
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
11
  export default _default;
@@ -12,7 +12,5 @@ declare const _default: import("vue").DefineComponent<TabulatorProps, {}, {}, {}
12
12
  paginationSizeSelector: number[];
13
13
  actionButtons: import("../types").TabulatorAction[];
14
14
  heightOffset: number;
15
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {
16
- table: HTMLDivElement;
17
- }, HTMLDivElement>;
15
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
18
16
  export default _default;
@@ -9,5 +9,5 @@ declare const _default: import("vue").DefineComponent<ToggleProps, {}, {}, {}, {
9
9
  disable: boolean;
10
10
  onText: string;
11
11
  offText: string;
12
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLButtonElement>;
12
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
13
  export default _default;
@@ -1,14 +1,33 @@
1
1
  import type { TowserProps } from '../types';
2
- declare function __VLS_template(): {
3
- attrs: Partial<{}>;
4
- slots: {
5
- default?(_: {}): any;
6
- body2?(_: {}): any;
7
- };
8
- refs: {};
9
- rootEl: any;
2
+ type __VLS_Emit = {
3
+ (event: string, data?: string | number): void;
10
4
  };
11
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
5
+ declare const emit: __VLS_Emit;
6
+ declare const bodyStyle: import("vue").ComputedRef<string>;
7
+ declare const body2Style: import("vue").ComputedRef<string>;
8
+ declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
9
+ declare var __VLS_9: {}, __VLS_11: {};
10
+ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
11
+ default?: (props: typeof __VLS_9) => any;
12
+ } & {
13
+ body2?: (props: typeof __VLS_11) => any;
14
+ }>;
15
+ declare const __VLS_self: import("vue").DefineComponent<TowserProps, {
16
+ emit: typeof emit;
17
+ bodyStyle: typeof bodyStyle;
18
+ body2Style: typeof body2Style;
19
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
20
+ [x: string]: never;
21
+ }, string, import("vue").PublicProps, Readonly<TowserProps> & Readonly<{
22
+ [x: `on${Capitalize<string>}`]: (...args: unknown[]) => any;
23
+ }>, {
24
+ show: boolean;
25
+ title: import("../types").TowserTitle[];
26
+ action: import("../types").TowserAction[];
27
+ double: boolean;
28
+ bodyWidth: number;
29
+ body2Width: number;
30
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
31
  declare const __VLS_component: import("vue").DefineComponent<TowserProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
13
32
  [x: string]: never;
14
33
  }, string, import("vue").PublicProps, Readonly<TowserProps> & Readonly<{
@@ -21,9 +40,9 @@ declare const __VLS_component: import("vue").DefineComponent<TowserProps, {}, {}
21
40
  bodyWidth: number;
22
41
  body2Width: number;
23
42
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
24
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
43
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
25
44
  export default _default;
26
- type __VLS_WithTemplateSlots<T, S> = T & {
45
+ type __VLS_WithSlots<T, S> = T & {
27
46
  new (): {
28
47
  $slots: S;
29
48
  };
@@ -1,4 +1,4 @@
1
- "use strict";var Ct=Object.defineProperty;var yt=(l,e,t)=>e in l?Ct(l,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):l[e]=t;var v=(l,e,t)=>yt(l,typeof e!="symbol"?e+"":e,t);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("vue"),Et={class:"content-div"},Rt={class:"content-title"},xt={key:0},kt={key:2,width:"22px",height:"22px",class:"mt-[4px]",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Tt={class:"content-action"},Mt=["onClick"],Lt=u.defineComponent({__name:"ContentLayout",props:{title:{default:()=>[]},action:{default:()=>[]},bodyClass:{default:""},titleClass:{default:""}},setup(l,{emit:e}){const t=e,i=l,s=u.ref(i.action);return u.watch(()=>i.action,n=>{s.value=n},{deep:!0}),(n,o)=>{const r=u.resolveComponent("RouterLink");return u.openBlock(),u.createElementBlock("div",Et,[u.createElementVNode("div",{class:u.normalizeClass(["content-title-div",n.titleClass])},[u.createElementVNode("div",Rt,[(u.openBlock(!0),u.createElementBlock(u.Fragment,null,u.renderList(n.title,(a,h)=>(u.openBlock(),u.createElementBlock("div",{key:h},[a.link?u.createCommentVNode("",!0):(u.openBlock(),u.createElementBlock("span",xt,u.toDisplayString(a.name),1)),a.link?(u.openBlock(),u.createBlock(r,{key:1,to:a.link,class:"hover:underline cursor-pointer"},{default:u.withCtx(()=>[u.createTextVNode(u.toDisplayString(a.name),1)]),_:2},1032,["to"])):u.createCommentVNode("",!0),n.title.length!==0&&h+1!==n.title.length?(u.openBlock(),u.createElementBlock("svg",kt,o[0]||(o[0]=[u.createElementVNode("path",{d:"M9 6L15 12L9 18",stroke:"gray",style:{"stroke-width":"2.5px"},"stroke-linecap":"round","stroke-linejoin":"round"},null,-1)]))):u.createCommentVNode("",!0)]))),128))]),u.createElementVNode("div",Tt,[u.renderSlot(n.$slots,"action-before"),(u.openBlock(!0),u.createElementBlock(u.Fragment,null,u.renderList(s.value,(a,h)=>(u.openBlock(),u.createElementBlock("div",{key:h},[u.createElementVNode("button",{class:u.normalizeClass(a.class||"btn"),onClick:d=>t(a.emit)},u.toDisplayString(a.title),11,Mt)]))),128)),u.renderSlot(n.$slots,"action-after")])],2),u.createElementVNode("div",{class:u.normalizeClass(["content-body",n.bodyClass])},[u.renderSlot(n.$slots,"default")],2)])}}}),St={class:"border-b py-3 px-4"},Dt={class:"font-bold text-lg my-auto relative flex text-[19px]"},zt={key:0},Ht={key:3,width:"22px",height:"22px",class:"mt-[4px]",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Ft={class:"border-t py-2.5 px-4"},Ot={class:"my-auto relative"},Pt={class:"flex justify-end gap-1.5"},At=["onClick"],Bt={key:0,class:"h-screen bg-black/30 z-10 fixed top-0 right-0 left-0"},Je=u.defineComponent({__name:"Modal",props:{title:{default:()=>[]},action:{},show:{type:Boolean,default:!1},width:{default:"600px"}},setup(l,{emit:e}){const t=e,i=u.ref(window.innerHeight),s=u.ref(null),n=u.ref(!1),o=h=>{h.emit==="onClose"?t("onClose"):t(h.emit)},r=()=>{if(s.value){const h=i.value-200;n.value=s.value.scrollHeight>h}},a=()=>{i.value=window.innerHeight,r()};return u.onMounted(()=>{r(),window.addEventListener("resize",a)}),u.onUpdated(()=>{r()}),u.onBeforeUnmount(()=>{window.removeEventListener("resize",a)}),u.watch(i,r),(h,d)=>{const c=u.resolveComponent("RouterLink");return u.openBlock(),u.createElementBlock(u.Fragment,null,[u.createVNode(u.Transition,{name:"modal-load"},{default:u.withCtx(()=>[h.show?(u.openBlock(),u.createElementBlock("div",{key:0,class:u.normalizeClass(["bg-white border border-secondary-100 z-11 fixed top-[50px] right-0 left-0 mx-auto",{"overflow-y-auto":n.value}]),style:u.normalizeStyle({width:h.width})},[u.createElementVNode("div",St,[u.createElementVNode("div",Dt,[(u.openBlock(!0),u.createElementBlock(u.Fragment,null,u.renderList(h.title,(f,p)=>(u.openBlock(),u.createElementBlock("span",{key:p,class:"flex"},[f.link?u.createCommentVNode("",!0):(u.openBlock(),u.createElementBlock("span",zt,u.toDisplayString(f.name),1)),f.link&&f.link!=="#"?(u.openBlock(),u.createBlock(c,{key:1,to:f.link,class:"hover:underline"},{default:u.withCtx(()=>[u.createTextVNode(u.toDisplayString(f.name),1)]),_:2},1032,["to"])):u.createCommentVNode("",!0),f.link&&f.link==="#"?(u.openBlock(),u.createElementBlock("a",{key:2,onClick:d[0]||(d[0]=m=>t("onClose")),class:"hover:underline cursor-pointer"},u.toDisplayString(f.name),1)):u.createCommentVNode("",!0),h.title.length!==0&&p+1!==h.title.length?(u.openBlock(),u.createElementBlock("svg",Ht,d[2]||(d[2]=[u.createElementVNode("path",{d:"M9 6L15 12L9 18",stroke:"gray",style:{"stroke-width":"2.5px"},"stroke-linecap":"round","stroke-linejoin":"round"},null,-1)]))):u.createCommentVNode("",!0)]))),128)),u.createElementVNode("div",{class:"absolute hover:cursor-pointer top-[7px] right-0 text-xl group",onClick:d[1]||(d[1]=f=>t("onClose"))},d[3]||(d[3]=[u.createElementVNode("svg",{width:"16px",height:"16px",viewBox:"0 0 16.00 16.00",xmlns:"http://www.w3.org/2000/svg",stroke:"#000000",class:"stroke-secondary-400 fill-secondary-400 group-hover:stroke-secondary-600 group-hover:fill-secondary-600 duration-200","stroke-width":"0.592"},[u.createElementVNode("g",{id:"SVGRepo_iconCarrier"},[u.createElementVNode("path",{d:"M0 14.545L1.455 16 8 9.455 14.545 16 16 14.545 9.455 8 16 1.455 14.545 0 8 6.545 1.455 0 0 1.455 6.545 8z","fill-rule":"evenodd"})])],-1)]))])]),u.createElementVNode("div",{ref_key:"dynamicDiv",ref:s,class:u.normalizeClass(["py-4 px-4",{"overflow-y-auto":n.value}]),style:u.normalizeStyle({maxHeight:`${i.value-200}px`})},[u.renderSlot(h.$slots,"default")],6),u.createElementVNode("div",Ft,[u.createElementVNode("div",Ot,[u.createElementVNode("div",Pt,[(u.openBlock(!0),u.createElementBlock(u.Fragment,null,u.renderList(h.action,(f,p)=>(u.openBlock(),u.createElementBlock("div",{key:p},[u.createElementVNode("button",{class:u.normalizeClass(f.class||"btn"),onClick:m=>o(f)},u.toDisplayString(f.title),11,At)]))),128))])])])],6)):u.createCommentVNode("",!0)]),_:3}),h.show?(u.openBlock(),u.createElementBlock("div",Bt)):u.createCommentVNode("",!0)],64)}}}),_t=["aria-checked"],Vt=u.defineComponent({__name:"Switch",props:{modelValue:{type:Boolean,default:!1},background:{default:"bg-[#1C64F2]"},disable:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(l,{emit:e}){const t=l,i=e,s=u.ref(t.modelValue);u.watch(()=>t.modelValue,o=>{s.value=o});const n=()=>{t.disable||(s.value=!s.value,i("update:modelValue",s.value))};return(o,r)=>(u.openBlock(),u.createElementBlock("button",{onClick:n,class:u.normalizeClass(["relative w-[40px] h-[25px] rounded-full p-1 transition-colors duration-200 my-[1px]",[s.value?o.background:"bg-gray-200",o.disable?"cursor-not-allowed":"cursor-pointer"]]),role:"switch","aria-checked":s.value},[u.createElementVNode("div",{class:u.normalizeClass(["flex items-center justify-center w-[15px] h-[15px] rounded-full bg-white shadow-md transform transition-transform duration-200",s.value?"translate-x-[110%]":"translate-x-0"])},null,2)],10,_t))}});class z{constructor(e){this.table=e}reloadData(e,t,i){return this.table.dataLoader.load(e,void 0,void 0,void 0,t,i)}langText(){return this.table.modules.localize.getText(...arguments)}langBind(){return this.table.modules.localize.bind(...arguments)}langLocale(){return this.table.modules.localize.getLocale(...arguments)}commsConnections(){return this.table.modules.comms.getConnections(...arguments)}commsSend(){return this.table.modules.comms.send(...arguments)}layoutMode(){return this.table.modules.layout.getMode()}layoutRefresh(e){return this.table.modules.layout.layout(e)}subscribe(){return this.table.eventBus.subscribe(...arguments)}unsubscribe(){return this.table.eventBus.unsubscribe(...arguments)}subscribed(e){return this.table.eventBus.subscribed(e)}subscriptionChange(){return this.table.eventBus.subscriptionChange(...arguments)}dispatch(){return this.table.eventBus.dispatch(...arguments)}chain(){return this.table.eventBus.chain(...arguments)}confirm(){return this.table.eventBus.confirm(...arguments)}dispatchExternal(){return this.table.externalEvents.dispatch(...arguments)}subscribedExternal(e){return this.table.externalEvents.subscribed(e)}subscriptionChangeExternal(){return this.table.externalEvents.subscriptionChange(...arguments)}options(e){return this.table.options[e]}setOption(e,t){return typeof t<"u"&&(this.table.options[e]=t),this.table.options[e]}deprecationCheck(e,t,i){return this.table.deprecationAdvisor.check(e,t,i)}deprecationCheckMsg(e,t){return this.table.deprecationAdvisor.checkMsg(e,t)}deprecationMsg(e){return this.table.deprecationAdvisor.msg(e)}module(e){return this.table.module(e)}}class S{static elVisible(e){return!(e.offsetWidth<=0&&e.offsetHeight<=0)}static elOffset(e){var t=e.getBoundingClientRect();return{top:t.top+window.pageYOffset-document.documentElement.clientTop,left:t.left+window.pageXOffset-document.documentElement.clientLeft}}static retrieveNestedData(e,t,i){var s=e?t.split(e):[t],n=s.length,o;for(let r=0;r<n&&(i=i[s[r]],o=i,!!i);r++);return o}static deepClone(e,t,i=[]){var s={}.__proto__,n=[].__proto__;t||(t=Object.assign(Array.isArray(e)?[]:{},e));for(var o in e){let r=e[o],a,h;r!=null&&typeof r=="object"&&(r.__proto__===s||r.__proto__===n)&&(a=i.findIndex(d=>d.subject===r),a>-1?t[o]=i[a].copy:(h=Object.assign(Array.isArray(r)?[]:{},r),i.unshift({subject:r,copy:h}),t[o]=this.deepClone(r,h,i)))}return t}}let Nt=class Ke extends z{constructor(e,t,i){super(e),this.element=t,this.container=this._lookupContainer(),this.parent=i,this.reversedX=!1,this.childPopup=null,this.blurable=!1,this.blurCallback=null,this.blurEventsBound=!1,this.renderedCallback=null,this.visible=!1,this.hideable=!0,this.element.classList.add("tabulator-popup-container"),this.blurEvent=this.hide.bind(this,!1),this.escEvent=this._escapeCheck.bind(this),this.destroyBinding=this.tableDestroyed.bind(this),this.destroyed=!1}tableDestroyed(){this.destroyed=!0,this.hide(!0)}_lookupContainer(){var e=this.table.options.popupContainer;return typeof e=="string"?(e=document.querySelector(e),e||console.warn("Menu Error - no container element found matching selector:",this.table.options.popupContainer,"(defaulting to document body)")):e===!0&&(e=this.table.element),e&&!this._checkContainerIsParent(e)&&(e=!1,console.warn("Menu Error - container element does not contain this table:",this.table.options.popupContainer,"(defaulting to document body)")),e||(e=document.body),e}_checkContainerIsParent(e,t=this.table.element){return e===t?!0:t.parentNode?this._checkContainerIsParent(e,t.parentNode):!1}renderCallback(e){this.renderedCallback=e}containerEventCoords(e){var t=!(e instanceof MouseEvent),i=t?e.touches[0].pageX:e.pageX,s=t?e.touches[0].pageY:e.pageY;if(this.container!==document.body){let n=S.elOffset(this.container);i-=n.left,s-=n.top}return{x:i,y:s}}elementPositionCoords(e,t="right"){var i=S.elOffset(e),s,n,o;switch(this.container!==document.body&&(s=S.elOffset(this.container),i.left-=s.left,i.top-=s.top),t){case"right":n=i.left+e.offsetWidth,o=i.top-1;break;case"bottom":n=i.left,o=i.top+e.offsetHeight;break;case"left":n=i.left,o=i.top-1;break;case"top":n=i.left,o=i.top;break;case"center":n=i.left+e.offsetWidth/2,o=i.top+e.offsetHeight/2;break}return{x:n,y:o,offset:i}}show(e,t){var i,s,n,o,r;return this.destroyed||this.table.destroyed?this:(e instanceof HTMLElement?(n=e,r=this.elementPositionCoords(e,t),o=r.offset,i=r.x,s=r.y):typeof e=="number"?(o={top:0,left:0},i=e,s=t):(r=this.containerEventCoords(e),i=r.x,s=r.y,this.reversedX=!1),this.element.style.top=s+"px",this.element.style.left=i+"px",this.container.appendChild(this.element),typeof this.renderedCallback=="function"&&this.renderedCallback(),this._fitToScreen(i,s,n,o,t),this.visible=!0,this.subscribe("table-destroy",this.destroyBinding),this.element.addEventListener("mousedown",a=>{a.stopPropagation()}),this)}_fitToScreen(e,t,i,s,n){var o=this.container===document.body?document.documentElement.scrollTop:this.container.scrollTop;(e+this.element.offsetWidth>=this.container.offsetWidth||this.reversedX)&&(this.element.style.left="",i?this.element.style.right=this.container.offsetWidth-s.left+"px":this.element.style.right=this.container.offsetWidth-e+"px",this.reversedX=!0);let r=Math.max(this.container.offsetHeight,o?this.container.scrollHeight:0);if(t+this.element.offsetHeight>r)if(i)switch(n){case"bottom":this.element.style.top=parseInt(this.element.style.top)-this.element.offsetHeight-i.offsetHeight-1+"px";break;default:this.element.style.top=parseInt(this.element.style.top)-this.element.offsetHeight+i.offsetHeight+1+"px"}else this.element.style.height=r+"px"}isVisible(){return this.visible}hideOnBlur(e){return this.blurable=!0,this.visible&&(setTimeout(()=>{this.visible&&(this.table.rowManager.element.addEventListener("scroll",this.blurEvent),this.subscribe("cell-editing",this.blurEvent),document.body.addEventListener("click",this.blurEvent),document.body.addEventListener("contextmenu",this.blurEvent),document.body.addEventListener("mousedown",this.blurEvent),window.addEventListener("resize",this.blurEvent),document.body.addEventListener("keydown",this.escEvent),this.blurEventsBound=!0)},100),this.blurCallback=e),this}_escapeCheck(e){e.keyCode==27&&this.hide()}blockHide(){this.hideable=!1}restoreHide(){this.hideable=!0}hide(e=!1){return this.visible&&this.hideable&&(this.blurable&&this.blurEventsBound&&(document.body.removeEventListener("keydown",this.escEvent),document.body.removeEventListener("click",this.blurEvent),document.body.removeEventListener("contextmenu",this.blurEvent),document.body.removeEventListener("mousedown",this.blurEvent),window.removeEventListener("resize",this.blurEvent),this.table.rowManager.element.removeEventListener("scroll",this.blurEvent),this.unsubscribe("cell-editing",this.blurEvent),this.blurEventsBound=!1),this.childPopup&&this.childPopup.hide(),this.parent&&(this.parent.childPopup=null),this.element.parentNode&&this.element.parentNode.removeChild(this.element),this.visible=!1,this.blurCallback&&!e&&this.blurCallback(),this.unsubscribe("table-destroy",this.destroyBinding)),this}child(e){return this.childPopup&&this.childPopup.hide(),this.childPopup=new Ke(this.table,e,this),this.childPopup}};class y extends z{constructor(e,t){super(e),this._handler=null}initialize(){}registerTableOption(e,t){this.table.optionsList.register(e,t)}registerColumnOption(e,t){this.table.columnManager.optionsList.register(e,t)}registerTableFunction(e,t){typeof this.table[e]>"u"?this.table[e]=(...i)=>(this.table.initGuard(e),t(...i)):console.warn("Unable to bind table function, name already in use",e)}registerComponentFunction(e,t,i){return this.table.componentFunctionBinder.bind(e,t,i)}registerDataHandler(e,t){this.table.rowManager.registerDataPipelineHandler(e,t),this._handler=e}registerDisplayHandler(e,t){this.table.rowManager.registerDisplayPipelineHandler(e,t),this._handler=e}displayRows(e){var t=this.table.rowManager.displayRows.length-1,i;if(this._handler&&(i=this.table.rowManager.displayPipeline.findIndex(s=>s.handler===this._handler),i>-1&&(t=i)),e&&(t=t+e),this._handler)return t>-1?this.table.rowManager.getDisplayRows(t):this.activeRows()}activeRows(){return this.table.rowManager.activeRows}refreshData(e,t){t||(t=this._handler),t&&this.table.rowManager.refreshActiveData(t,!1,e)}footerAppend(e){return this.table.footerManager.append(e)}footerPrepend(e){return this.table.footerManager.prepend(e)}footerRemove(e){return this.table.footerManager.remove(e)}popup(e,t){return new Nt(this.table,e,t)}alert(e,t){return this.table.alertManager.alert(e,t)}clearAlert(){return this.table.alertManager.clear()}}var It={rownum:function(l,e,t,i,s,n){return n.getPosition()}};const Z=class Z extends y{constructor(e){super(e),this.allowedTypes=["","data","download","clipboard","print","htmlOutput"],this.registerColumnOption("accessor"),this.registerColumnOption("accessorParams"),this.registerColumnOption("accessorData"),this.registerColumnOption("accessorDataParams"),this.registerColumnOption("accessorDownload"),this.registerColumnOption("accessorDownloadParams"),this.registerColumnOption("accessorClipboard"),this.registerColumnOption("accessorClipboardParams"),this.registerColumnOption("accessorPrint"),this.registerColumnOption("accessorPrintParams"),this.registerColumnOption("accessorHtmlOutput"),this.registerColumnOption("accessorHtmlOutputParams")}initialize(){this.subscribe("column-layout",this.initializeColumn.bind(this)),this.subscribe("row-data-retrieve",this.transformRow.bind(this))}initializeColumn(e){var t=!1,i={};this.allowedTypes.forEach(s=>{var n="accessor"+(s.charAt(0).toUpperCase()+s.slice(1)),o;e.definition[n]&&(o=this.lookupAccessor(e.definition[n]),o&&(t=!0,i[n]={accessor:o,params:e.definition[n+"Params"]||{}}))}),t&&(e.modules.accessor=i)}lookupAccessor(e){var t=!1;switch(typeof e){case"string":Z.accessors[e]?t=Z.accessors[e]:console.warn("Accessor Error - No such accessor found, ignoring: ",e);break;case"function":t=e;break}return t}transformRow(e,t){var i="accessor"+(t.charAt(0).toUpperCase()+t.slice(1)),s=e.getComponent(),n=S.deepClone(e.data||{});return this.table.columnManager.traverse(function(o){var r,a,h,d;o.modules.accessor&&(a=o.modules.accessor[i]||o.modules.accessor.accessor||!1,a&&(r=o.getFieldValue(n),r!="undefined"&&(d=o.getComponent(),h=typeof a.params=="function"?a.params(r,n,t,d,s):a.params,o.setFieldValue(n,a.accessor(r,n,t,h,d,s)))))}),n}};v(Z,"moduleName","accessor"),v(Z,"accessors",It);let be=Z;var Wt={method:"GET"};function ve(l,e){var t=[];if(e=e||"",Array.isArray(l))l.forEach((s,n)=>{t=t.concat(ve(s,e?e+"["+n+"]":n))});else if(typeof l=="object")for(var i in l)t=t.concat(ve(l[i],e?e+"["+i+"]":i));else t.push({key:e,value:l});return t}function Gt(l){var e=ve(l),t=[];return e.forEach(function(i){t.push(encodeURIComponent(i.key)+"="+encodeURIComponent(i.value))}),t.join("&")}function qe(l,e,t){return l&&t&&Object.keys(t).length&&(!e.method||e.method.toLowerCase()=="get")&&(e.method="get",l+=(l.includes("?")?"&":"?")+Gt(t)),l}function jt(l,e,t){var i;return new Promise((s,n)=>{if(l=this.urlGenerator.call(this.table,l,e,t),e.method.toUpperCase()!="GET")if(i=typeof this.table.options.ajaxContentType=="object"?this.table.options.ajaxContentType:this.contentTypeFormatters[this.table.options.ajaxContentType],i){for(var o in i.headers)e.headers||(e.headers={}),typeof e.headers[o]>"u"&&(e.headers[o]=i.headers[o]);e.body=i.body.call(this,l,e,t)}else console.warn("Ajax Error - Invalid ajaxContentType value:",this.table.options.ajaxContentType);l?(typeof e.headers>"u"&&(e.headers={}),typeof e.headers.Accept>"u"&&(e.headers.Accept="application/json"),typeof e.headers["X-Requested-With"]>"u"&&(e.headers["X-Requested-With"]="XMLHttpRequest"),typeof e.mode>"u"&&(e.mode="cors"),e.mode=="cors"?(typeof e.headers.Origin>"u"&&(e.headers.Origin=window.location.origin),typeof e.credentials>"u"&&(e.credentials="same-origin")):typeof e.credentials>"u"&&(e.credentials="include"),fetch(l,e).then(r=>{r.ok?r.json().then(a=>{s(a)}).catch(a=>{n(a),console.warn("Ajax Load Error - Invalid JSON returned",a)}):(console.error("Ajax Load Error - Connection Error: "+r.status,r.statusText),n(r))}).catch(r=>{console.error("Ajax Load Error - Connection Error: ",r),n(r)})):(console.warn("Ajax Load Error - No URL Set"),s([]))})}function we(l,e){var t=[];if(e=e||"",Array.isArray(l))l.forEach((s,n)=>{t=t.concat(we(s,e?e+"["+n+"]":n))});else if(typeof l=="object")for(var i in l)t=t.concat(we(l[i],e?e+"["+i+"]":i));else t.push({key:e,value:l});return t}var Ut={json:{headers:{"Content-Type":"application/json"},body:function(l,e,t){return JSON.stringify(t)}},form:{headers:{},body:function(l,e,t){var i=we(t),s=new FormData;return i.forEach(function(n){s.append(n.key,n.value)}),s}}};const B=class B extends y{constructor(e){super(e),this.config={},this.url="",this.urlGenerator=!1,this.params=!1,this.loaderPromise=!1,this.registerTableOption("ajaxURL",!1),this.registerTableOption("ajaxURLGenerator",!1),this.registerTableOption("ajaxParams",{}),this.registerTableOption("ajaxConfig","get"),this.registerTableOption("ajaxContentType","form"),this.registerTableOption("ajaxRequestFunc",!1),this.registerTableOption("ajaxRequesting",function(){}),this.registerTableOption("ajaxResponse",!1),this.contentTypeFormatters=B.contentTypeFormatters}initialize(){this.loaderPromise=this.table.options.ajaxRequestFunc||B.defaultLoaderPromise,this.urlGenerator=this.table.options.ajaxURLGenerator||B.defaultURLGenerator,this.table.options.ajaxURL&&this.setUrl(this.table.options.ajaxURL),this.setDefaultConfig(this.table.options.ajaxConfig),this.registerTableFunction("getAjaxUrl",this.getUrl.bind(this)),this.subscribe("data-loading",this.requestDataCheck.bind(this)),this.subscribe("data-params",this.requestParams.bind(this)),this.subscribe("data-load",this.requestData.bind(this))}requestParams(e,t,i,s){var n=this.table.options.ajaxParams;return n&&(typeof n=="function"&&(n=n.call(this.table)),s=Object.assign(Object.assign({},n),s)),s}requestDataCheck(e,t,i,s){return!!(!e&&this.url||typeof e=="string")}requestData(e,t,i,s,n){var o;return!n&&this.requestDataCheck(e)?(e&&this.setUrl(e),o=this.generateConfig(i),this.sendRequest(this.url,t,o)):n}setDefaultConfig(e={}){this.config=Object.assign({},B.defaultConfig),typeof e=="string"?this.config.method=e:Object.assign(this.config,e)}generateConfig(e={}){var t=Object.assign({},this.config);return typeof e=="string"?t.method=e:Object.assign(t,e),t}setUrl(e){this.url=e}getUrl(){return this.url}sendRequest(e,t,i){return this.table.options.ajaxRequesting.call(this.table,e,t)!==!1?this.loaderPromise(e,i,t).then(s=>(this.table.options.ajaxResponse&&(s=this.table.options.ajaxResponse.call(this.table,e,t,s)),s)):Promise.reject()}};v(B,"moduleName","ajax"),v(B,"defaultConfig",Wt),v(B,"defaultURLGenerator",qe),v(B,"defaultLoaderPromise",jt),v(B,"contentTypeFormatters",Ut);let Ce=B;var $t={replace:function(l){return this.table.setData(l)},update:function(l){return this.table.updateOrAddData(l)},insert:function(l){return this.table.addData(l)}},Xt={table:function(l){var e=[],t=!0,i=this.table.columnManager.columns,s=[],n=[];return l=l.split(`
1
+ "use strict";var Ct=Object.defineProperty;var yt=(l,e,t)=>e in l?Ct(l,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):l[e]=t;var v=(l,e,t)=>yt(l,typeof e!="symbol"?e+"":e,t);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("vue"),Et={class:"content-div"},Rt={class:"content-title"},xt={key:0},kt={key:2,width:"22px",height:"22px",class:"mt-[4px]",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Tt={class:"content-action"},Mt=["onClick"],Lt=u.defineComponent({__name:"ContentLayout",props:{title:{default:()=>[]},action:{default:()=>[]},bodyClass:{default:""},titleClass:{default:""}},setup(l,{emit:e}){const t=e,i=l,s=u.ref(i.action);return u.watch(()=>i.action,n=>{s.value=n},{deep:!0}),(n,o)=>{const r=u.resolveComponent("RouterLink");return u.openBlock(),u.createElementBlock("div",Et,[u.createElementVNode("div",{class:u.normalizeClass(["content-title-div",n.titleClass])},[u.createElementVNode("div",Rt,[(u.openBlock(!0),u.createElementBlock(u.Fragment,null,u.renderList(n.title,(a,h)=>(u.openBlock(),u.createElementBlock("div",{key:h},[a.link?u.createCommentVNode("",!0):(u.openBlock(),u.createElementBlock("span",xt,u.toDisplayString(a.name),1)),a.link?(u.openBlock(),u.createBlock(r,{key:1,to:a.link,class:"hover:underline cursor-pointer"},{default:u.withCtx(()=>[u.createTextVNode(u.toDisplayString(a.name),1)]),_:2},1032,["to"])):u.createCommentVNode("",!0),n.title.length!==0&&h+1!==n.title.length?(u.openBlock(),u.createElementBlock("svg",kt,o[0]||(o[0]=[u.createElementVNode("path",{d:"M9 6L15 12L9 18",stroke:"gray",style:{"stroke-width":"2.5px"},"stroke-linecap":"round","stroke-linejoin":"round"},null,-1)]))):u.createCommentVNode("",!0)]))),128))]),u.createElementVNode("div",Tt,[u.renderSlot(n.$slots,"action-before"),(u.openBlock(!0),u.createElementBlock(u.Fragment,null,u.renderList(s.value,(a,h)=>(u.openBlock(),u.createElementBlock("div",{key:h},[u.createElementVNode("button",{class:u.normalizeClass(a.class||"btn"),onClick:d=>t(a.emit)},u.toDisplayString(a.title),11,Mt)]))),128)),u.renderSlot(n.$slots,"action-after")])],2),u.createElementVNode("div",{class:u.normalizeClass(["content-body",n.bodyClass])},[u.renderSlot(n.$slots,"body")],2)])}}}),St={class:"border-b py-3 px-4"},Dt={class:"font-bold text-lg my-auto relative flex text-[19px]"},zt={key:0},Ht={key:3,width:"22px",height:"22px",class:"mt-[4px]",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Ft={class:"border-t py-2.5 px-4"},Ot={class:"my-auto relative"},Pt={class:"flex justify-end gap-1.5"},At=["onClick"],Bt={key:0,class:"h-screen bg-black/30 z-10 fixed top-0 right-0 left-0"},Je=u.defineComponent({__name:"Modal",props:{title:{default:()=>[]},action:{},show:{type:Boolean,default:!1},width:{default:"600px"}},setup(l,{emit:e}){const t=e,i=u.ref(window.innerHeight),s=u.ref(null),n=u.ref(!1),o=h=>{h.emit==="onClose"?t("onClose"):t(h.emit)},r=()=>{if(s.value){const h=i.value-200;n.value=s.value.scrollHeight>h}},a=()=>{i.value=window.innerHeight,r()};return u.onMounted(()=>{r(),window.addEventListener("resize",a)}),u.onUpdated(()=>{r()}),u.onBeforeUnmount(()=>{window.removeEventListener("resize",a)}),u.watch(i,r),(h,d)=>{const c=u.resolveComponent("RouterLink");return u.openBlock(),u.createElementBlock(u.Fragment,null,[u.createVNode(u.Transition,{name:"modal-load"},{default:u.withCtx(()=>[h.show?(u.openBlock(),u.createElementBlock("div",{key:0,class:u.normalizeClass(["bg-white border border-secondary-100 z-11 fixed top-[50px] right-0 left-0 mx-auto",{"overflow-y-auto":n.value}]),style:u.normalizeStyle({width:h.width})},[u.createElementVNode("div",St,[u.createElementVNode("div",Dt,[(u.openBlock(!0),u.createElementBlock(u.Fragment,null,u.renderList(h.title,(f,p)=>(u.openBlock(),u.createElementBlock("span",{key:p,class:"flex"},[f.link?u.createCommentVNode("",!0):(u.openBlock(),u.createElementBlock("span",zt,u.toDisplayString(f.name),1)),f.link&&f.link!=="#"?(u.openBlock(),u.createBlock(c,{key:1,to:f.link,class:"hover:underline"},{default:u.withCtx(()=>[u.createTextVNode(u.toDisplayString(f.name),1)]),_:2},1032,["to"])):u.createCommentVNode("",!0),f.link&&f.link==="#"?(u.openBlock(),u.createElementBlock("a",{key:2,onClick:d[0]||(d[0]=m=>t("onClose")),class:"hover:underline cursor-pointer"},u.toDisplayString(f.name),1)):u.createCommentVNode("",!0),h.title.length!==0&&p+1!==h.title.length?(u.openBlock(),u.createElementBlock("svg",Ht,d[2]||(d[2]=[u.createElementVNode("path",{d:"M9 6L15 12L9 18",stroke:"gray",style:{"stroke-width":"2.5px"},"stroke-linecap":"round","stroke-linejoin":"round"},null,-1)]))):u.createCommentVNode("",!0)]))),128)),u.createElementVNode("div",{class:"absolute hover:cursor-pointer top-[7px] right-0 text-xl group",onClick:d[1]||(d[1]=f=>t("onClose"))},d[3]||(d[3]=[u.createElementVNode("svg",{width:"16px",height:"16px",viewBox:"0 0 16.00 16.00",xmlns:"http://www.w3.org/2000/svg",stroke:"#000000",class:"stroke-secondary-400 fill-secondary-400 group-hover:stroke-secondary-600 group-hover:fill-secondary-600 duration-200","stroke-width":"0.592"},[u.createElementVNode("g",{id:"SVGRepo_iconCarrier"},[u.createElementVNode("path",{d:"M0 14.545L1.455 16 8 9.455 14.545 16 16 14.545 9.455 8 16 1.455 14.545 0 8 6.545 1.455 0 0 1.455 6.545 8z","fill-rule":"evenodd"})])],-1)]))])]),u.createElementVNode("div",{ref_key:"dynamicDiv",ref:s,class:u.normalizeClass(["py-4 px-4",{"overflow-y-auto":n.value}]),style:u.normalizeStyle({maxHeight:`${i.value-200}px`})},[u.renderSlot(h.$slots,"default")],6),u.createElementVNode("div",Ft,[u.createElementVNode("div",Ot,[u.createElementVNode("div",Pt,[(u.openBlock(!0),u.createElementBlock(u.Fragment,null,u.renderList(h.action,(f,p)=>(u.openBlock(),u.createElementBlock("div",{key:p},[u.createElementVNode("button",{class:u.normalizeClass(f.class||"btn"),onClick:m=>o(f)},u.toDisplayString(f.title),11,At)]))),128))])])])],6)):u.createCommentVNode("",!0)]),_:3}),h.show?(u.openBlock(),u.createElementBlock("div",Bt)):u.createCommentVNode("",!0)],64)}}}),_t=["aria-checked"],Vt=u.defineComponent({__name:"Switch",props:{modelValue:{type:Boolean,default:!1},background:{default:"bg-[#1C64F2]"},disable:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(l,{emit:e}){const t=l,i=e,s=u.ref(t.modelValue);u.watch(()=>t.modelValue,o=>{s.value=o});const n=()=>{t.disable||(s.value=!s.value,i("update:modelValue",s.value))};return(o,r)=>(u.openBlock(),u.createElementBlock("button",{onClick:n,class:u.normalizeClass(["relative w-[40px] h-[25px] rounded-full p-1 transition-colors duration-200 my-[1px]",[s.value?o.background:"bg-gray-200",o.disable?"cursor-not-allowed":"cursor-pointer"]]),role:"switch","aria-checked":s.value},[u.createElementVNode("div",{class:u.normalizeClass(["flex items-center justify-center w-[15px] h-[15px] rounded-full bg-white shadow-md transform transition-transform duration-200",s.value?"translate-x-[110%]":"translate-x-0"])},null,2)],10,_t))}});class z{constructor(e){this.table=e}reloadData(e,t,i){return this.table.dataLoader.load(e,void 0,void 0,void 0,t,i)}langText(){return this.table.modules.localize.getText(...arguments)}langBind(){return this.table.modules.localize.bind(...arguments)}langLocale(){return this.table.modules.localize.getLocale(...arguments)}commsConnections(){return this.table.modules.comms.getConnections(...arguments)}commsSend(){return this.table.modules.comms.send(...arguments)}layoutMode(){return this.table.modules.layout.getMode()}layoutRefresh(e){return this.table.modules.layout.layout(e)}subscribe(){return this.table.eventBus.subscribe(...arguments)}unsubscribe(){return this.table.eventBus.unsubscribe(...arguments)}subscribed(e){return this.table.eventBus.subscribed(e)}subscriptionChange(){return this.table.eventBus.subscriptionChange(...arguments)}dispatch(){return this.table.eventBus.dispatch(...arguments)}chain(){return this.table.eventBus.chain(...arguments)}confirm(){return this.table.eventBus.confirm(...arguments)}dispatchExternal(){return this.table.externalEvents.dispatch(...arguments)}subscribedExternal(e){return this.table.externalEvents.subscribed(e)}subscriptionChangeExternal(){return this.table.externalEvents.subscriptionChange(...arguments)}options(e){return this.table.options[e]}setOption(e,t){return typeof t<"u"&&(this.table.options[e]=t),this.table.options[e]}deprecationCheck(e,t,i){return this.table.deprecationAdvisor.check(e,t,i)}deprecationCheckMsg(e,t){return this.table.deprecationAdvisor.checkMsg(e,t)}deprecationMsg(e){return this.table.deprecationAdvisor.msg(e)}module(e){return this.table.module(e)}}class S{static elVisible(e){return!(e.offsetWidth<=0&&e.offsetHeight<=0)}static elOffset(e){var t=e.getBoundingClientRect();return{top:t.top+window.pageYOffset-document.documentElement.clientTop,left:t.left+window.pageXOffset-document.documentElement.clientLeft}}static retrieveNestedData(e,t,i){var s=e?t.split(e):[t],n=s.length,o;for(let r=0;r<n&&(i=i[s[r]],o=i,!!i);r++);return o}static deepClone(e,t,i=[]){var s={}.__proto__,n=[].__proto__;t||(t=Object.assign(Array.isArray(e)?[]:{},e));for(var o in e){let r=e[o],a,h;r!=null&&typeof r=="object"&&(r.__proto__===s||r.__proto__===n)&&(a=i.findIndex(d=>d.subject===r),a>-1?t[o]=i[a].copy:(h=Object.assign(Array.isArray(r)?[]:{},r),i.unshift({subject:r,copy:h}),t[o]=this.deepClone(r,h,i)))}return t}}let Nt=class Ke extends z{constructor(e,t,i){super(e),this.element=t,this.container=this._lookupContainer(),this.parent=i,this.reversedX=!1,this.childPopup=null,this.blurable=!1,this.blurCallback=null,this.blurEventsBound=!1,this.renderedCallback=null,this.visible=!1,this.hideable=!0,this.element.classList.add("tabulator-popup-container"),this.blurEvent=this.hide.bind(this,!1),this.escEvent=this._escapeCheck.bind(this),this.destroyBinding=this.tableDestroyed.bind(this),this.destroyed=!1}tableDestroyed(){this.destroyed=!0,this.hide(!0)}_lookupContainer(){var e=this.table.options.popupContainer;return typeof e=="string"?(e=document.querySelector(e),e||console.warn("Menu Error - no container element found matching selector:",this.table.options.popupContainer,"(defaulting to document body)")):e===!0&&(e=this.table.element),e&&!this._checkContainerIsParent(e)&&(e=!1,console.warn("Menu Error - container element does not contain this table:",this.table.options.popupContainer,"(defaulting to document body)")),e||(e=document.body),e}_checkContainerIsParent(e,t=this.table.element){return e===t?!0:t.parentNode?this._checkContainerIsParent(e,t.parentNode):!1}renderCallback(e){this.renderedCallback=e}containerEventCoords(e){var t=!(e instanceof MouseEvent),i=t?e.touches[0].pageX:e.pageX,s=t?e.touches[0].pageY:e.pageY;if(this.container!==document.body){let n=S.elOffset(this.container);i-=n.left,s-=n.top}return{x:i,y:s}}elementPositionCoords(e,t="right"){var i=S.elOffset(e),s,n,o;switch(this.container!==document.body&&(s=S.elOffset(this.container),i.left-=s.left,i.top-=s.top),t){case"right":n=i.left+e.offsetWidth,o=i.top-1;break;case"bottom":n=i.left,o=i.top+e.offsetHeight;break;case"left":n=i.left,o=i.top-1;break;case"top":n=i.left,o=i.top;break;case"center":n=i.left+e.offsetWidth/2,o=i.top+e.offsetHeight/2;break}return{x:n,y:o,offset:i}}show(e,t){var i,s,n,o,r;return this.destroyed||this.table.destroyed?this:(e instanceof HTMLElement?(n=e,r=this.elementPositionCoords(e,t),o=r.offset,i=r.x,s=r.y):typeof e=="number"?(o={top:0,left:0},i=e,s=t):(r=this.containerEventCoords(e),i=r.x,s=r.y,this.reversedX=!1),this.element.style.top=s+"px",this.element.style.left=i+"px",this.container.appendChild(this.element),typeof this.renderedCallback=="function"&&this.renderedCallback(),this._fitToScreen(i,s,n,o,t),this.visible=!0,this.subscribe("table-destroy",this.destroyBinding),this.element.addEventListener("mousedown",a=>{a.stopPropagation()}),this)}_fitToScreen(e,t,i,s,n){var o=this.container===document.body?document.documentElement.scrollTop:this.container.scrollTop;(e+this.element.offsetWidth>=this.container.offsetWidth||this.reversedX)&&(this.element.style.left="",i?this.element.style.right=this.container.offsetWidth-s.left+"px":this.element.style.right=this.container.offsetWidth-e+"px",this.reversedX=!0);let r=Math.max(this.container.offsetHeight,o?this.container.scrollHeight:0);if(t+this.element.offsetHeight>r)if(i)switch(n){case"bottom":this.element.style.top=parseInt(this.element.style.top)-this.element.offsetHeight-i.offsetHeight-1+"px";break;default:this.element.style.top=parseInt(this.element.style.top)-this.element.offsetHeight+i.offsetHeight+1+"px"}else this.element.style.height=r+"px"}isVisible(){return this.visible}hideOnBlur(e){return this.blurable=!0,this.visible&&(setTimeout(()=>{this.visible&&(this.table.rowManager.element.addEventListener("scroll",this.blurEvent),this.subscribe("cell-editing",this.blurEvent),document.body.addEventListener("click",this.blurEvent),document.body.addEventListener("contextmenu",this.blurEvent),document.body.addEventListener("mousedown",this.blurEvent),window.addEventListener("resize",this.blurEvent),document.body.addEventListener("keydown",this.escEvent),this.blurEventsBound=!0)},100),this.blurCallback=e),this}_escapeCheck(e){e.keyCode==27&&this.hide()}blockHide(){this.hideable=!1}restoreHide(){this.hideable=!0}hide(e=!1){return this.visible&&this.hideable&&(this.blurable&&this.blurEventsBound&&(document.body.removeEventListener("keydown",this.escEvent),document.body.removeEventListener("click",this.blurEvent),document.body.removeEventListener("contextmenu",this.blurEvent),document.body.removeEventListener("mousedown",this.blurEvent),window.removeEventListener("resize",this.blurEvent),this.table.rowManager.element.removeEventListener("scroll",this.blurEvent),this.unsubscribe("cell-editing",this.blurEvent),this.blurEventsBound=!1),this.childPopup&&this.childPopup.hide(),this.parent&&(this.parent.childPopup=null),this.element.parentNode&&this.element.parentNode.removeChild(this.element),this.visible=!1,this.blurCallback&&!e&&this.blurCallback(),this.unsubscribe("table-destroy",this.destroyBinding)),this}child(e){return this.childPopup&&this.childPopup.hide(),this.childPopup=new Ke(this.table,e,this),this.childPopup}};class y extends z{constructor(e,t){super(e),this._handler=null}initialize(){}registerTableOption(e,t){this.table.optionsList.register(e,t)}registerColumnOption(e,t){this.table.columnManager.optionsList.register(e,t)}registerTableFunction(e,t){typeof this.table[e]>"u"?this.table[e]=(...i)=>(this.table.initGuard(e),t(...i)):console.warn("Unable to bind table function, name already in use",e)}registerComponentFunction(e,t,i){return this.table.componentFunctionBinder.bind(e,t,i)}registerDataHandler(e,t){this.table.rowManager.registerDataPipelineHandler(e,t),this._handler=e}registerDisplayHandler(e,t){this.table.rowManager.registerDisplayPipelineHandler(e,t),this._handler=e}displayRows(e){var t=this.table.rowManager.displayRows.length-1,i;if(this._handler&&(i=this.table.rowManager.displayPipeline.findIndex(s=>s.handler===this._handler),i>-1&&(t=i)),e&&(t=t+e),this._handler)return t>-1?this.table.rowManager.getDisplayRows(t):this.activeRows()}activeRows(){return this.table.rowManager.activeRows}refreshData(e,t){t||(t=this._handler),t&&this.table.rowManager.refreshActiveData(t,!1,e)}footerAppend(e){return this.table.footerManager.append(e)}footerPrepend(e){return this.table.footerManager.prepend(e)}footerRemove(e){return this.table.footerManager.remove(e)}popup(e,t){return new Nt(this.table,e,t)}alert(e,t){return this.table.alertManager.alert(e,t)}clearAlert(){return this.table.alertManager.clear()}}var It={rownum:function(l,e,t,i,s,n){return n.getPosition()}};const Z=class Z extends y{constructor(e){super(e),this.allowedTypes=["","data","download","clipboard","print","htmlOutput"],this.registerColumnOption("accessor"),this.registerColumnOption("accessorParams"),this.registerColumnOption("accessorData"),this.registerColumnOption("accessorDataParams"),this.registerColumnOption("accessorDownload"),this.registerColumnOption("accessorDownloadParams"),this.registerColumnOption("accessorClipboard"),this.registerColumnOption("accessorClipboardParams"),this.registerColumnOption("accessorPrint"),this.registerColumnOption("accessorPrintParams"),this.registerColumnOption("accessorHtmlOutput"),this.registerColumnOption("accessorHtmlOutputParams")}initialize(){this.subscribe("column-layout",this.initializeColumn.bind(this)),this.subscribe("row-data-retrieve",this.transformRow.bind(this))}initializeColumn(e){var t=!1,i={};this.allowedTypes.forEach(s=>{var n="accessor"+(s.charAt(0).toUpperCase()+s.slice(1)),o;e.definition[n]&&(o=this.lookupAccessor(e.definition[n]),o&&(t=!0,i[n]={accessor:o,params:e.definition[n+"Params"]||{}}))}),t&&(e.modules.accessor=i)}lookupAccessor(e){var t=!1;switch(typeof e){case"string":Z.accessors[e]?t=Z.accessors[e]:console.warn("Accessor Error - No such accessor found, ignoring: ",e);break;case"function":t=e;break}return t}transformRow(e,t){var i="accessor"+(t.charAt(0).toUpperCase()+t.slice(1)),s=e.getComponent(),n=S.deepClone(e.data||{});return this.table.columnManager.traverse(function(o){var r,a,h,d;o.modules.accessor&&(a=o.modules.accessor[i]||o.modules.accessor.accessor||!1,a&&(r=o.getFieldValue(n),r!="undefined"&&(d=o.getComponent(),h=typeof a.params=="function"?a.params(r,n,t,d,s):a.params,o.setFieldValue(n,a.accessor(r,n,t,h,d,s)))))}),n}};v(Z,"moduleName","accessor"),v(Z,"accessors",It);let be=Z;var Wt={method:"GET"};function ve(l,e){var t=[];if(e=e||"",Array.isArray(l))l.forEach((s,n)=>{t=t.concat(ve(s,e?e+"["+n+"]":n))});else if(typeof l=="object")for(var i in l)t=t.concat(ve(l[i],e?e+"["+i+"]":i));else t.push({key:e,value:l});return t}function Gt(l){var e=ve(l),t=[];return e.forEach(function(i){t.push(encodeURIComponent(i.key)+"="+encodeURIComponent(i.value))}),t.join("&")}function qe(l,e,t){return l&&t&&Object.keys(t).length&&(!e.method||e.method.toLowerCase()=="get")&&(e.method="get",l+=(l.includes("?")?"&":"?")+Gt(t)),l}function jt(l,e,t){var i;return new Promise((s,n)=>{if(l=this.urlGenerator.call(this.table,l,e,t),e.method.toUpperCase()!="GET")if(i=typeof this.table.options.ajaxContentType=="object"?this.table.options.ajaxContentType:this.contentTypeFormatters[this.table.options.ajaxContentType],i){for(var o in i.headers)e.headers||(e.headers={}),typeof e.headers[o]>"u"&&(e.headers[o]=i.headers[o]);e.body=i.body.call(this,l,e,t)}else console.warn("Ajax Error - Invalid ajaxContentType value:",this.table.options.ajaxContentType);l?(typeof e.headers>"u"&&(e.headers={}),typeof e.headers.Accept>"u"&&(e.headers.Accept="application/json"),typeof e.headers["X-Requested-With"]>"u"&&(e.headers["X-Requested-With"]="XMLHttpRequest"),typeof e.mode>"u"&&(e.mode="cors"),e.mode=="cors"?(typeof e.headers.Origin>"u"&&(e.headers.Origin=window.location.origin),typeof e.credentials>"u"&&(e.credentials="same-origin")):typeof e.credentials>"u"&&(e.credentials="include"),fetch(l,e).then(r=>{r.ok?r.json().then(a=>{s(a)}).catch(a=>{n(a),console.warn("Ajax Load Error - Invalid JSON returned",a)}):(console.error("Ajax Load Error - Connection Error: "+r.status,r.statusText),n(r))}).catch(r=>{console.error("Ajax Load Error - Connection Error: ",r),n(r)})):(console.warn("Ajax Load Error - No URL Set"),s([]))})}function we(l,e){var t=[];if(e=e||"",Array.isArray(l))l.forEach((s,n)=>{t=t.concat(we(s,e?e+"["+n+"]":n))});else if(typeof l=="object")for(var i in l)t=t.concat(we(l[i],e?e+"["+i+"]":i));else t.push({key:e,value:l});return t}var Ut={json:{headers:{"Content-Type":"application/json"},body:function(l,e,t){return JSON.stringify(t)}},form:{headers:{},body:function(l,e,t){var i=we(t),s=new FormData;return i.forEach(function(n){s.append(n.key,n.value)}),s}}};const B=class B extends y{constructor(e){super(e),this.config={},this.url="",this.urlGenerator=!1,this.params=!1,this.loaderPromise=!1,this.registerTableOption("ajaxURL",!1),this.registerTableOption("ajaxURLGenerator",!1),this.registerTableOption("ajaxParams",{}),this.registerTableOption("ajaxConfig","get"),this.registerTableOption("ajaxContentType","form"),this.registerTableOption("ajaxRequestFunc",!1),this.registerTableOption("ajaxRequesting",function(){}),this.registerTableOption("ajaxResponse",!1),this.contentTypeFormatters=B.contentTypeFormatters}initialize(){this.loaderPromise=this.table.options.ajaxRequestFunc||B.defaultLoaderPromise,this.urlGenerator=this.table.options.ajaxURLGenerator||B.defaultURLGenerator,this.table.options.ajaxURL&&this.setUrl(this.table.options.ajaxURL),this.setDefaultConfig(this.table.options.ajaxConfig),this.registerTableFunction("getAjaxUrl",this.getUrl.bind(this)),this.subscribe("data-loading",this.requestDataCheck.bind(this)),this.subscribe("data-params",this.requestParams.bind(this)),this.subscribe("data-load",this.requestData.bind(this))}requestParams(e,t,i,s){var n=this.table.options.ajaxParams;return n&&(typeof n=="function"&&(n=n.call(this.table)),s=Object.assign(Object.assign({},n),s)),s}requestDataCheck(e,t,i,s){return!!(!e&&this.url||typeof e=="string")}requestData(e,t,i,s,n){var o;return!n&&this.requestDataCheck(e)?(e&&this.setUrl(e),o=this.generateConfig(i),this.sendRequest(this.url,t,o)):n}setDefaultConfig(e={}){this.config=Object.assign({},B.defaultConfig),typeof e=="string"?this.config.method=e:Object.assign(this.config,e)}generateConfig(e={}){var t=Object.assign({},this.config);return typeof e=="string"?t.method=e:Object.assign(t,e),t}setUrl(e){this.url=e}getUrl(){return this.url}sendRequest(e,t,i){return this.table.options.ajaxRequesting.call(this.table,e,t)!==!1?this.loaderPromise(e,i,t).then(s=>(this.table.options.ajaxResponse&&(s=this.table.options.ajaxResponse.call(this.table,e,t,s)),s)):Promise.reject()}};v(B,"moduleName","ajax"),v(B,"defaultConfig",Wt),v(B,"defaultURLGenerator",qe),v(B,"defaultLoaderPromise",jt),v(B,"contentTypeFormatters",Ut);let Ce=B;var $t={replace:function(l){return this.table.setData(l)},update:function(l){return this.table.updateOrAddData(l)},insert:function(l){return this.table.addData(l)}},Xt={table:function(l){var e=[],t=!0,i=this.table.columnManager.columns,s=[],n=[];return l=l.split(`
2
2
  `),l.forEach(function(o){e.push(o.split(" "))}),e.length&&!(e.length===1&&e[0].length<2)?(e[0].forEach(function(o){var r=i.find(function(a){return o&&a.definition.title&&o.trim()&&a.definition.title.trim()===o.trim()});r?s.push(r):t=!1}),t||(t=!0,s=[],e[0].forEach(function(o){var r=i.find(function(a){return o&&a.field&&o.trim()&&a.field.trim()===o.trim()});r?s.push(r):t=!1}),t||(s=this.table.columnManager.columnsByIndex)),t&&e.shift(),e.forEach(function(o){var r={};o.forEach(function(a,h){s[h]&&(r[s[h].field]=a)}),n.push(r)}),n):!1}},Jt={copyToClipboard:["ctrl + 67","meta + 67"]},Kt={copyToClipboard:function(l){this.table.modules.edit.currentCell||this.table.modExists("clipboard",!0)&&this.table.modules.clipboard.copy(!1,!0)}},qt={keybindings:{bindings:Jt,actions:Kt}};const N=class N extends y{constructor(e){super(e),this.mode=!0,this.pasteParser=function(){},this.pasteAction=function(){},this.customSelection=!1,this.rowRange=!1,this.blocked=!0,this.registerTableOption("clipboard",!1),this.registerTableOption("clipboardCopyStyled",!0),this.registerTableOption("clipboardCopyConfig",!1),this.registerTableOption("clipboardCopyFormatter",!1),this.registerTableOption("clipboardCopyRowRange","active"),this.registerTableOption("clipboardPasteParser","table"),this.registerTableOption("clipboardPasteAction","insert"),this.registerColumnOption("clipboard"),this.registerColumnOption("titleClipboard")}initialize(){this.mode=this.table.options.clipboard,this.rowRange=this.table.options.clipboardCopyRowRange,(this.mode===!0||this.mode==="copy")&&this.table.element.addEventListener("copy",e=>{var t,i,s;this.blocked||(e.preventDefault(),this.customSelection?(t=this.customSelection,this.table.options.clipboardCopyFormatter&&(t=this.table.options.clipboardCopyFormatter("plain",t))):(s=this.table.modules.export.generateExportList(this.table.options.clipboardCopyConfig,this.table.options.clipboardCopyStyled,this.rowRange,"clipboard"),i=this.table.modules.export.generateHTMLTable(s),t=i?this.generatePlainContent(s):"",this.table.options.clipboardCopyFormatter&&(t=this.table.options.clipboardCopyFormatter("plain",t),i=this.table.options.clipboardCopyFormatter("html",i))),window.clipboardData&&window.clipboardData.setData?window.clipboardData.setData("Text",t):e.clipboardData&&e.clipboardData.setData?(e.clipboardData.setData("text/plain",t),i&&e.clipboardData.setData("text/html",i)):e.originalEvent&&e.originalEvent.clipboardData.setData&&(e.originalEvent.clipboardData.setData("text/plain",t),i&&e.originalEvent.clipboardData.setData("text/html",i)),this.dispatchExternal("clipboardCopied",t,i),this.reset())}),(this.mode===!0||this.mode==="paste")&&this.table.element.addEventListener("paste",e=>{this.paste(e)}),this.setPasteParser(this.table.options.clipboardPasteParser),this.setPasteAction(this.table.options.clipboardPasteAction),this.registerTableFunction("copyToClipboard",this.copy.bind(this))}reset(){this.blocked=!0,this.customSelection=!1}generatePlainContent(e){var t=[];return e.forEach(i=>{var s=[];i.columns.forEach(n=>{var o="";if(n)if(i.type==="group"&&(n.value=n.component.getKey()),n.value===null)o="";else switch(typeof n.value){case"object":o=JSON.stringify(n.value);break;case"undefined":o="";break;default:o=n.value}s.push(o)}),t.push(s.join(" "))}),t.join(`
3
3
  `)}copy(e,t){var i,s;this.blocked=!1,this.customSelection=!1,(this.mode===!0||this.mode==="copy")&&(this.rowRange=e||this.table.options.clipboardCopyRowRange,typeof window.getSelection<"u"&&typeof document.createRange<"u"?(e=document.createRange(),e.selectNodeContents(this.table.element),i=window.getSelection(),i.toString()&&t&&(this.customSelection=i.toString()),i.removeAllRanges(),i.addRange(e)):typeof document.selection<"u"&&typeof document.body.createTextRange<"u"&&(s=document.body.createTextRange(),s.moveToElementText(this.table.element),s.select()),document.execCommand("copy"),i&&i.removeAllRanges())}setPasteAction(e){switch(typeof e){case"string":this.pasteAction=N.pasteActions[e],this.pasteAction||console.warn("Clipboard Error - No such paste action found:",e);break;case"function":this.pasteAction=e;break}}setPasteParser(e){switch(typeof e){case"string":this.pasteParser=N.pasteParsers[e],this.pasteParser||console.warn("Clipboard Error - No such paste parser found:",e);break;case"function":this.pasteParser=e;break}}paste(e){var t,i,s;this.checkPasteOrigin(e)&&(t=this.getPasteData(e),i=this.pasteParser.call(this,t),i?(e.preventDefault(),this.table.modExists("mutator")&&(i=this.mutateData(i)),s=this.pasteAction.call(this,i),this.dispatchExternal("clipboardPasted",t,i,s)):this.dispatchExternal("clipboardPasteError",t))}mutateData(e){var t=[];return Array.isArray(e)?e.forEach(i=>{t.push(this.table.modules.mutator.transformRow(i,"clipboard"))}):t=e,t}checkPasteOrigin(e){var t=!0,i=this.confirm("clipboard-paste",[e]);return(i||!["DIV","SPAN"].includes(e.target.tagName))&&(t=!1),t}getPasteData(e){var t;return window.clipboardData&&window.clipboardData.getData?t=window.clipboardData.getData("Text"):e.clipboardData&&e.clipboardData.getData?t=e.clipboardData.getData("text/plain"):e.originalEvent&&e.originalEvent.clipboardData.getData&&(t=e.originalEvent.clipboardData.getData("text/plain")),t}};v(N,"moduleName","clipboard"),v(N,"moduleExtensions",qt),v(N,"pasteActions",$t),v(N,"pasteParsers",Xt);let ye=N;class Yt{constructor(e){return this._row=e,new Proxy(this,{get:function(t,i,s){return typeof t[i]<"u"?t[i]:t._row.table.componentFunctionBinder.handle("row",t._row,i)}})}getData(e){return this._row.getData(e)}getElement(){return this._row.getElement()}getTable(){return this._row.table}getCells(){var e=[];return this._row.getCells().forEach(function(t){e.push(t.getComponent())}),e}getCell(e){var t=this._row.getCell(e);return t?t.getComponent():!1}_getSelf(){return this._row}}class Ye{constructor(e){return this._cell=e,new Proxy(this,{get:function(t,i,s){return typeof t[i]<"u"?t[i]:t._cell.table.componentFunctionBinder.handle("cell",t._cell,i)}})}getValue(){return this._cell.getValue()}getOldValue(){return this._cell.getOldValue()}getInitialValue(){return this._cell.initialValue}getElement(){return this._cell.getElement()}getRow(){return this._cell.row.getComponent()}getData(e){return this._cell.row.getData(e)}getType(){return"cell"}getField(){return this._cell.column.getField()}getColumn(){return this._cell.column.getComponent()}setValue(e,t){typeof t>"u"&&(t=!0),this._cell.setValue(e,t)}restoreOldValue(){this._cell.setValueActual(this._cell.getOldValue())}restoreInitialValue(){this._cell.setValueActual(this._cell.initialValue)}checkHeight(){this._cell.checkHeight()}getTable(){return this._cell.table}_getSelf(){return this._cell}}class he extends z{constructor(e,t){super(e.table),this.table=e.table,this.column=e,this.row=t,this.element=null,this.value=null,this.initialValue,this.oldValue=null,this.modules={},this.height=null,this.width=null,this.minWidth=null,this.component=null,this.loaded=!1,this.build()}build(){this.generateElement(),this.setWidth(),this._configureCell(),this.setValueActual(this.column.getFieldValue(this.row.data)),this.initialValue=this.value}generateElement(){this.element=document.createElement("div"),this.element.className="tabulator-cell",this.element.setAttribute("role","gridcell"),this.column.isRowHeader&&this.element.classList.add("tabulator-row-header")}_configureCell(){var e=this.element,t=this.column.getField(),i={top:"flex-start",bottom:"flex-end",middle:"center"},s={left:"flex-start",right:"flex-end",center:"center"};if(e.style.textAlign=this.column.hozAlign,this.column.vertAlign&&(e.style.display="inline-flex",e.style.alignItems=i[this.column.vertAlign]||"",this.column.hozAlign&&(e.style.justifyContent=s[this.column.hozAlign]||"")),t&&e.setAttribute("tabulator-field",t),this.column.definition.cssClass){var n=this.column.definition.cssClass.split(" ");n.forEach(o=>{e.classList.add(o)})}this.dispatch("cell-init",this),this.column.visible||this.hide()}_generateContents(){var e;switch(e=this.chain("cell-format",this,null,()=>this.element.innerHTML=this.value),typeof e){case"object":if(e instanceof Node){for(;this.element.firstChild;)this.element.removeChild(this.element.firstChild);this.element.appendChild(e)}else this.element.innerHTML="",e!=null&&console.warn("Format Error - Formatter has returned a type of object, the only valid formatter object return is an instance of Node, the formatter returned:",e);break;case"undefined":this.element.innerHTML="";break;default:this.element.innerHTML=e}}cellRendered(){this.dispatch("cell-rendered",this)}getElement(e){return this.loaded||(this.loaded=!0,e||this.layoutElement()),this.element}getValue(){return this.value}getOldValue(){return this.oldValue}setValue(e,t,i){var s=this.setValueProcessData(e,t,i);s&&(this.dispatch("cell-value-updated",this),this.cellRendered(),this.column.definition.cellEdited&&this.column.definition.cellEdited.call(this.table,this.getComponent()),this.dispatchExternal("cellEdited",this.getComponent()),this.subscribedExternal("dataChanged")&&this.dispatchExternal("dataChanged",this.table.rowManager.getData()))}setValueProcessData(e,t,i){var s=!1;return(this.value!==e||i)&&(s=!0,t&&(e=this.chain("cell-value-changing",[this,e],null,e))),this.setValueActual(e),s&&this.dispatch("cell-value-changed",this),s}setValueActual(e){this.oldValue=this.value,this.value=e,this.dispatch("cell-value-save-before",this),this.column.setFieldValue(this.row.data,e),this.dispatch("cell-value-save-after",this),this.loaded&&this.layoutElement()}layoutElement(){this._generateContents(),this.dispatch("cell-layout",this)}setWidth(){this.width=this.column.width,this.element.style.width=this.column.widthStyled}clearWidth(){this.width="",this.element.style.width=""}getWidth(){return this.width||this.element.offsetWidth}setMinWidth(){this.minWidth=this.column.minWidth,this.element.style.minWidth=this.column.minWidthStyled}setMaxWidth(){this.maxWidth=this.column.maxWidth,this.element.style.maxWidth=this.column.maxWidthStyled}checkHeight(){this.row.reinitializeHeight()}clearHeight(){this.element.style.height="",this.height=null,this.dispatch("cell-height",this,"")}setHeight(){this.height=this.row.height,this.element.style.height=this.row.heightStyled,this.dispatch("cell-height",this,this.row.heightStyled)}getHeight(){return this.height||this.element.offsetHeight}show(){this.element.style.display=this.column.vertAlign?"inline-flex":""}hide(){this.element.style.display="none"}delete(){this.dispatch("cell-delete",this),!this.table.rowManager.redrawBlock&&this.element.parentNode&&this.element.parentNode.removeChild(this.element),this.element=!1,this.column.deleteCell(this),this.row.deleteCell(this),this.calcs={}}getIndex(){return this.row.getCellIndex(this)}getComponent(){return this.component||(this.component=new Ye(this)),this.component}}class Ze{constructor(e){return this._column=e,this.type="ColumnComponent",new Proxy(this,{get:function(t,i,s){return typeof t[i]<"u"?t[i]:t._column.table.componentFunctionBinder.handle("column",t._column,i)}})}getElement(){return this._column.getElement()}getDefinition(){return this._column.getDefinition()}getField(){return this._column.getField()}getTitleDownload(){return this._column.getTitleDownload()}getCells(){var e=[];return this._column.cells.forEach(function(t){e.push(t.getComponent())}),e}isVisible(){return this._column.visible}show(){this._column.isGroup?this._column.columns.forEach(function(e){e.show()}):this._column.show()}hide(){this._column.isGroup?this._column.columns.forEach(function(e){e.hide()}):this._column.hide()}toggle(){this._column.visible?this.hide():this.show()}delete(){return this._column.delete()}getSubColumns(){var e=[];return this._column.columns.length&&this._column.columns.forEach(function(t){e.push(t.getComponent())}),e}getParentColumn(){return this._column.getParentComponent()}_getSelf(){return this._column}scrollTo(e,t){return this._column.table.columnManager.scrollToColumn(this._column,e,t)}getTable(){return this._column.table}move(e,t){var i=this._column.table.columnManager.findColumn(e);i?this._column.table.columnManager.moveColumn(this._column,i,t):console.warn("Move Error - No matching column found:",i)}getNextColumn(){var e=this._column.nextColumn();return e?e.getComponent():!1}getPrevColumn(){var e=this._column.prevColumn();return e?e.getComponent():!1}updateDefinition(e){return this._column.updateDefinition(e)}getWidth(){return this._column.getWidth()}setWidth(e){var t;return e===!0?t=this._column.reinitializeWidth(!0):t=this._column.setWidth(e),this._column.table.columnManager.rerenderColumns(!0),t}}var Qe={title:void 0,field:void 0,columns:void 0,visible:void 0,hozAlign:void 0,vertAlign:void 0,width:void 0,minWidth:40,maxWidth:void 0,maxInitialWidth:void 0,cssClass:void 0,variableHeight:void 0,headerVertical:void 0,headerHozAlign:void 0,headerWordWrap:!1,editableTitle:void 0};const $=class $ extends z{constructor(e,t,i){super(t.table),this.definition=e,this.parent=t,this.type="column",this.columns=[],this.cells=[],this.isGroup=!1,this.isRowHeader=i,this.element=this.createElement(),this.contentElement=!1,this.titleHolderElement=!1,this.titleElement=!1,this.groupElement=this.createGroupElement(),this.hozAlign="",this.vertAlign="",this.field="",this.fieldStructure="",this.getFieldValue="",this.setFieldValue="",this.titleDownload=null,this.titleFormatterRendered=!1,this.mapDefinitions(),this.setField(this.definition.field),this.modules={},this.width=null,this.widthStyled="",this.maxWidth=null,this.maxWidthStyled="",this.maxInitialWidth=null,this.minWidth=null,this.minWidthStyled="",this.widthFixed=!1,this.visible=!0,this.component=null,this.definition.columns?(this.isGroup=!0,this.definition.columns.forEach((s,n)=>{var o=new $(s,this);this.attachColumn(o)}),this.checkColumnVisibility()):t.registerColumnField(this),this._initialize()}createElement(){var e=document.createElement("div");switch(e.classList.add("tabulator-col"),e.setAttribute("role","columnheader"),e.setAttribute("aria-sort","none"),this.isRowHeader&&e.classList.add("tabulator-row-header"),this.table.options.columnHeaderVertAlign){case"middle":e.style.justifyContent="center";break;case"bottom":e.style.justifyContent="flex-end";break}return e}createGroupElement(){var e=document.createElement("div");return e.classList.add("tabulator-col-group-cols"),e}mapDefinitions(){var e=this.table.options.columnDefaults;if(e)for(let t in e)typeof this.definition[t]>"u"&&(this.definition[t]=e[t]);this.definition=this.table.columnManager.optionsList.generate($.defaultOptionList,this.definition)}checkDefinition(){Object.keys(this.definition).forEach(e=>{$.defaultOptionList.indexOf(e)===-1&&console.warn("Invalid column definition option in '"+(this.field||this.definition.title)+"' column:",e)})}setField(e){this.field=e,this.fieldStructure=e?this.table.options.nestedFieldSeparator?e.split(this.table.options.nestedFieldSeparator):[e]:[],this.getFieldValue=this.fieldStructure.length>1?this._getNestedData:this._getFlatData,this.setFieldValue=this.fieldStructure.length>1?this._setNestedData:this._setFlatData}registerColumnPosition(e){this.parent.registerColumnPosition(e)}registerColumnField(e){this.parent.registerColumnField(e)}reRegisterPosition(){this.isGroup?this.columns.forEach(function(e){e.reRegisterPosition()}):this.registerColumnPosition(this)}_initialize(){for(var e=this.definition;this.element.firstChild;)this.element.removeChild(this.element.firstChild);e.headerVertical&&(this.element.classList.add("tabulator-col-vertical"),e.headerVertical==="flip"&&this.element.classList.add("tabulator-col-vertical-flip")),this.contentElement=this._buildColumnHeaderContent(),this.element.appendChild(this.contentElement),this.isGroup?this._buildGroupHeader():this._buildColumnHeader(),this.dispatch("column-init",this)}_buildColumnHeader(){var e=this.definition;if(this.dispatch("column-layout",this),typeof e.visible<"u"&&(e.visible?this.show(!0):this.hide(!0)),e.cssClass){var t=e.cssClass.split(" ");t.forEach(i=>{this.element.classList.add(i)})}e.field&&this.element.setAttribute("tabulator-field",e.field),this.setMinWidth(parseInt(e.minWidth)),e.maxInitialWidth&&(this.maxInitialWidth=parseInt(e.maxInitialWidth)),e.maxWidth&&this.setMaxWidth(parseInt(e.maxWidth)),this.reinitializeWidth(),this.hozAlign=this.definition.hozAlign,this.vertAlign=this.definition.vertAlign,this.titleElement.style.textAlign=this.definition.headerHozAlign}_buildColumnHeaderContent(){var e=document.createElement("div");return e.classList.add("tabulator-col-content"),this.titleHolderElement=document.createElement("div"),this.titleHolderElement.classList.add("tabulator-col-title-holder"),e.appendChild(this.titleHolderElement),this.titleElement=this._buildColumnHeaderTitle(),this.titleHolderElement.appendChild(this.titleElement),e}_buildColumnHeaderTitle(){var e=this.definition,t=document.createElement("div");if(t.classList.add("tabulator-col-title"),e.headerWordWrap&&t.classList.add("tabulator-col-title-wrap"),e.editableTitle){var i=document.createElement("input");i.classList.add("tabulator-title-editor"),i.addEventListener("click",s=>{s.stopPropagation(),i.focus()}),i.addEventListener("mousedown",s=>{s.stopPropagation()}),i.addEventListener("change",()=>{e.title=i.value,this.dispatchExternal("columnTitleChanged",this.getComponent())}),t.appendChild(i),e.field?this.langBind("columns|"+e.field,s=>{i.value=s||e.title||"&nbsp;"}):i.value=e.title||"&nbsp;"}else e.field?this.langBind("columns|"+e.field,s=>{this._formatColumnHeaderTitle(t,s||e.title||"&nbsp;")}):this._formatColumnHeaderTitle(t,e.title||"&nbsp;");return t}_formatColumnHeaderTitle(e,t){var i=this.chain("column-format",[this,t,e],null,()=>t);switch(typeof i){case"object":i instanceof Node?e.appendChild(i):(e.innerHTML="",console.warn("Format Error - Title formatter has returned a type of object, the only valid formatter object return is an instance of Node, the formatter returned:",i));break;case"undefined":e.innerHTML="";break;default:e.innerHTML=i}}_buildGroupHeader(){if(this.element.classList.add("tabulator-col-group"),this.element.setAttribute("role","columngroup"),this.element.setAttribute("aria-title",this.definition.title),this.definition.cssClass){var e=this.definition.cssClass.split(" ");e.forEach(t=>{this.element.classList.add(t)})}this.titleElement.style.textAlign=this.definition.headerHozAlign,this.element.appendChild(this.groupElement)}_getFlatData(e){return e[this.field]}_getNestedData(e){var t=e,i=this.fieldStructure,s=i.length,n;for(let o=0;o<s&&(t=t[i[o]],n=t,!!t);o++);return n}_setFlatData(e,t){this.field&&(e[this.field]=t)}_setNestedData(e,t){var i=e,s=this.fieldStructure,n=s.length;for(let o=0;o<n;o++)if(o==n-1)i[s[o]]=t;else{if(!i[s[o]])if(typeof t<"u")i[s[o]]={};else break;i=i[s[o]]}}attachColumn(e){this.groupElement?(this.columns.push(e),this.groupElement.appendChild(e.getElement()),e.columnRendered()):console.warn("Column Warning - Column being attached to another column instead of column group")}verticalAlign(e,t){var i=this.parent.isGroup?this.parent.getGroupElement().clientHeight:t||this.parent.getHeadersElement().clientHeight;this.element.style.height=i+"px",this.dispatch("column-height",this,this.element.style.height),this.isGroup&&(this.groupElement.style.minHeight=i-this.contentElement.offsetHeight+"px"),this.columns.forEach(function(s){s.verticalAlign(e)})}clearVerticalAlign(){this.element.style.paddingTop="",this.element.style.height="",this.element.style.minHeight="",this.groupElement.style.minHeight="",this.columns.forEach(function(e){e.clearVerticalAlign()}),this.dispatch("column-height",this,"")}getElement(){return this.element}getGroupElement(){return this.groupElement}getField(){return this.field}getTitleDownload(){return this.titleDownload}getFirstColumn(){return this.isGroup?this.columns.length?this.columns[0].getFirstColumn():!1:this}getLastColumn(){return this.isGroup?this.columns.length?this.columns[this.columns.length-1].getLastColumn():!1:this}getColumns(e){var t=[];return e?this.columns.forEach(i=>{t.push(i),t=t.concat(i.getColumns(!0))}):t=this.columns,t}getCells(){return this.cells}getTopColumn(){return this.parent.isGroup?this.parent.getTopColumn():this}getDefinition(e){var t=[];return this.isGroup&&e&&(this.columns.forEach(function(i){t.push(i.getDefinition(!0))}),this.definition.columns=t),this.definition}checkColumnVisibility(){var e=!1;this.columns.forEach(function(t){t.visible&&(e=!0)}),e?(this.show(),this.dispatchExternal("columnVisibilityChanged",this.getComponent(),!1)):this.hide()}show(e,t){this.visible||(this.visible=!0,this.element.style.display="",this.parent.isGroup&&this.parent.checkColumnVisibility(),this.cells.forEach(function(i){i.show()}),!this.isGroup&&this.width===null&&this.reinitializeWidth(),this.table.columnManager.verticalAlignHeaders(),this.dispatch("column-show",this,t),e||this.dispatchExternal("columnVisibilityChanged",this.getComponent(),!0),this.parent.isGroup&&this.parent.matchChildWidths(),this.silent||this.table.columnManager.rerenderColumns())}hide(e,t){this.visible&&(this.visible=!1,this.element.style.display="none",this.table.columnManager.verticalAlignHeaders(),this.parent.isGroup&&this.parent.checkColumnVisibility(),this.cells.forEach(function(i){i.hide()}),this.dispatch("column-hide",this,t),e||this.dispatchExternal("columnVisibilityChanged",this.getComponent(),!1),this.parent.isGroup&&this.parent.matchChildWidths(),this.silent||this.table.columnManager.rerenderColumns())}matchChildWidths(){var e=0;this.contentElement&&this.columns.length&&(this.columns.forEach(function(t){t.visible&&(e+=t.getWidth())}),this.contentElement.style.maxWidth=e-1+"px",this.table.initialized&&(this.element.style.width=e+"px"),this.parent.isGroup&&this.parent.matchChildWidths())}removeChild(e){var t=this.columns.indexOf(e);t>-1&&this.columns.splice(t,1),this.columns.length||this.delete()}setWidth(e){this.widthFixed=!0,this.setWidthActual(e)}setWidthActual(e){isNaN(e)&&(e=Math.floor(this.table.element.clientWidth/100*parseInt(e))),e=Math.max(this.minWidth,e),this.maxWidth&&(e=Math.min(this.maxWidth,e)),this.width=e,this.widthStyled=e?e+"px":"",this.element.style.width=this.widthStyled,this.isGroup||this.cells.forEach(function(t){t.setWidth()}),this.parent.isGroup&&this.parent.matchChildWidths(),this.dispatch("column-width",this),this.subscribedExternal("columnWidth")&&this.dispatchExternal("columnWidth",this.getComponent())}checkCellHeights(){var e=[];this.cells.forEach(function(t){t.row.heightInitialized&&(t.row.getElement().offsetParent!==null?(e.push(t.row),t.row.clearCellHeight()):t.row.heightInitialized=!1)}),e.forEach(function(t){t.calcHeight()}),e.forEach(function(t){t.setCellHeight()})}getWidth(){var e=0;return this.isGroup?this.columns.forEach(function(t){t.visible&&(e+=t.getWidth())}):e=this.width,e}getLeftOffset(){var e=this.element.offsetLeft;return this.parent.isGroup&&(e+=this.parent.getLeftOffset()),e}getHeight(){return Math.ceil(this.element.getBoundingClientRect().height)}setMinWidth(e){this.maxWidth&&e>this.maxWidth&&(e=this.maxWidth,console.warn("the minWidth ("+e+"px) for column '"+this.field+"' cannot be bigger that its maxWidth ("+this.maxWidthStyled+")")),this.minWidth=e,this.minWidthStyled=e?e+"px":"",this.element.style.minWidth=this.minWidthStyled,this.cells.forEach(function(t){t.setMinWidth()})}setMaxWidth(e){this.minWidth&&e<this.minWidth&&(e=this.minWidth,console.warn("the maxWidth ("+e+"px) for column '"+this.field+"' cannot be smaller that its minWidth ("+this.minWidthStyled+")")),this.maxWidth=e,this.maxWidthStyled=e?e+"px":"",this.element.style.maxWidth=this.maxWidthStyled,this.cells.forEach(function(t){t.setMaxWidth()})}delete(){return new Promise((e,t)=>{this.isGroup&&this.columns.forEach(function(s){s.delete()}),this.dispatch("column-delete",this);var i=this.cells.length;for(let s=0;s<i;s++)this.cells[0].delete();this.element.parentNode&&this.element.parentNode.removeChild(this.element),this.element=!1,this.contentElement=!1,this.titleElement=!1,this.groupElement=!1,this.parent.isGroup&&this.parent.removeChild(this),this.table.columnManager.deregisterColumn(this),this.table.columnManager.rerenderColumns(!0),this.dispatch("column-deleted",this),e()})}columnRendered(){this.titleFormatterRendered&&this.titleFormatterRendered(),this.dispatch("column-rendered",this)}generateCell(e){var t=new he(this,e);return this.cells.push(t),t}nextColumn(){var e=this.table.columnManager.findColumnIndex(this);return e>-1?this._nextVisibleColumn(e+1):!1}_nextVisibleColumn(e){var t=this.table.columnManager.getColumnByIndex(e);return!t||t.visible?t:this._nextVisibleColumn(e+1)}prevColumn(){var e=this.table.columnManager.findColumnIndex(this);return e>-1?this._prevVisibleColumn(e-1):!1}_prevVisibleColumn(e){var t=this.table.columnManager.getColumnByIndex(e);return!t||t.visible?t:this._prevVisibleColumn(e-1)}reinitializeWidth(e){this.widthFixed=!1,typeof this.definition.width<"u"&&!e&&this.setWidth(this.definition.width),this.dispatch("column-width-fit-before",this),this.fitToData(e),this.dispatch("column-width-fit-after",this)}fitToData(e){if(!this.isGroup){this.widthFixed||(this.element.style.width="",this.cells.forEach(s=>{s.clearWidth()}));var t=this.element.offsetWidth;if((!this.width||!this.widthFixed)&&(this.cells.forEach(s=>{var n=s.getWidth();n>t&&(t=n)}),t)){var i=t+1;e?this.setWidth(i):(this.maxInitialWidth&&!e&&(i=Math.min(i,this.maxInitialWidth)),this.setWidthActual(i))}}}updateDefinition(e){var t;return this.isGroup||this.parent.isGroup?(console.error("Column Update Error - The updateDefinition function is only available on ungrouped columns"),Promise.reject("Column Update Error - The updateDefinition function is only available on columns, not column groups")):(t=Object.assign({},this.getDefinition()),t=Object.assign(t,e),this.table.columnManager.addColumn(t,!1,this).then(i=>(t.field==this.field&&(this.field=!1),this.delete().then(()=>i.getComponent()))))}deleteCell(e){var t=this.cells.indexOf(e);t>-1&&this.cells.splice(t,1)}getComponent(){return this.component||(this.component=new Ze(this)),this.component}getPosition(){return this.table.columnManager.getVisibleColumnsByIndex().indexOf(this)+1}getParentComponent(){return this.parent instanceof $?this.parent.getComponent():!1}};v($,"defaultOptionList",Qe);let K=$;class ce{constructor(e){return this._row=e,new Proxy(this,{get:function(t,i,s){return typeof t[i]<"u"?t[i]:t._row.table.componentFunctionBinder.handle("row",t._row,i)}})}getData(e){return this._row.getData(e)}getElement(){return this._row.getElement()}getCells(){var e=[];return this._row.getCells().forEach(function(t){e.push(t.getComponent())}),e}getCell(e){var t=this._row.getCell(e);return t?t.getComponent():!1}getIndex(){return this._row.getData("data")[this._row.table.options.index]}getPosition(){return this._row.getPosition()}watchPosition(e){return this._row.watchPosition(e)}delete(){return this._row.delete()}scrollTo(e,t){return this._row.table.rowManager.scrollToRow(this._row,e,t)}move(e,t){this._row.moveToRow(e,t)}update(e){return this._row.updateData(e)}normalizeHeight(){this._row.normalizeHeight(!0)}_getSelf(){return this._row}reformat(){return this._row.reinitialize()}getTable(){return this._row.table}getNextRow(){var e=this._row.nextRow();return e&&e.getComponent()}getPrevRow(){var e=this._row.prevRow();return e&&e.getComponent()}}class H extends z{constructor(e,t,i="row"){super(t.table),this.parent=t,this.data={},this.type=i,this.element=!1,this.modules={},this.cells=[],this.height=0,this.heightStyled="",this.manualHeight=!1,this.outerHeight=0,this.initialized=!1,this.heightInitialized=!1,this.position=0,this.positionWatchers=[],this.component=null,this.created=!1,this.setData(e)}create(){this.created||(this.created=!0,this.generateElement())}createElement(){var e=document.createElement("div");e.classList.add("tabulator-row"),e.setAttribute("role","row"),this.element=e}getElement(){return this.create(),this.element}detachElement(){this.element&&this.element.parentNode&&this.element.parentNode.removeChild(this.element)}generateElement(){this.createElement(),this.dispatch("row-init",this)}generateCells(){this.cells=this.table.columnManager.generateCells(this)}initialize(e,t){if(this.create(),!this.initialized||e){for(this.deleteCells();this.element.firstChild;)this.element.removeChild(this.element.firstChild);this.dispatch("row-layout-before",this),this.generateCells(),this.initialized=!0,this.table.columnManager.renderer.renderRowCells(this,t),e&&this.normalizeHeight(),this.dispatch("row-layout",this),this.table.options.rowFormatter&&this.table.options.rowFormatter(this.getComponent()),this.dispatch("row-layout-after",this)}else this.table.columnManager.renderer.rerenderRowCells(this,t)}rendered(){this.cells.forEach(e=>{e.cellRendered()})}reinitializeHeight(){this.heightInitialized=!1,this.element&&this.element.offsetParent!==null&&this.normalizeHeight(!0)}deinitialize(){this.initialized=!1}deinitializeHeight(){this.heightInitialized=!1}reinitialize(e){this.initialized=!1,this.heightInitialized=!1,this.manualHeight||(this.height=0,this.heightStyled=""),this.element&&this.element.offsetParent!==null&&this.initialize(!0),this.dispatch("row-relayout",this)}calcHeight(e){var t=0,i=0;this.table.options.rowHeight?this.height=this.table.options.rowHeight:(i=this.calcMinHeight(),t=this.calcMaxHeight(),e?this.height=Math.max(t,i):this.height=this.manualHeight?this.height:Math.max(t,i)),this.heightStyled=this.height?this.height+"px":"",this.outerHeight=this.element.offsetHeight}calcMinHeight(){return this.table.options.resizableRows?this.element.clientHeight:0}calcMaxHeight(){var e=0;return this.cells.forEach(function(t){var i=t.getHeight();i>e&&(e=i)}),e}setCellHeight(){this.cells.forEach(function(e){e.setHeight()}),this.heightInitialized=!0}clearCellHeight(){this.cells.forEach(function(e){e.clearHeight()})}normalizeHeight(e){e&&!this.table.options.rowHeight&&this.clearCellHeight(),this.calcHeight(e),this.setCellHeight()}setHeight(e,t){(this.height!=e||t)&&(this.manualHeight=!0,this.height=e,this.heightStyled=e?e+"px":"",this.setCellHeight(),this.outerHeight=this.element.offsetHeight,this.subscribedExternal("rowHeight")&&this.dispatchExternal("rowHeight",this.getComponent()))}getHeight(){return this.outerHeight}getWidth(){return this.element.offsetWidth}deleteCell(e){var t=this.cells.indexOf(e);t>-1&&this.cells.splice(t,1)}setData(e){this.data=this.chain("row-data-init-before",[this,e],void 0,e),this.dispatch("row-data-init-after",this)}updateData(e){var t=this.element&&S.elVisible(this.element),i={},s;return new Promise((n,o)=>{typeof e=="string"&&(e=JSON.parse(e)),this.dispatch("row-data-save-before",this),this.subscribed("row-data-changing")&&(i=Object.assign(i,this.data),i=Object.assign(i,e)),s=this.chain("row-data-changing",[this,i,e],null,e);for(let r in s)this.data[r]=s[r];this.dispatch("row-data-save-after",this);for(let r in e)this.table.columnManager.getColumnsByFieldRoot(r).forEach(h=>{let d=this.getCell(h.getField());if(d){let c=h.getFieldValue(s);d.getValue()!==c&&(d.setValueProcessData(c),t&&d.cellRendered())}});t?(this.normalizeHeight(!0),this.table.options.rowFormatter&&this.table.options.rowFormatter(this.getComponent())):(this.initialized=!1,this.height=0,this.heightStyled=""),this.dispatch("row-data-changed",this,t,e),this.dispatchExternal("rowUpdated",this.getComponent()),this.subscribedExternal("dataChanged")&&this.dispatchExternal("dataChanged",this.table.rowManager.getData()),n()})}getData(e){return e?this.chain("row-data-retrieve",[this,e],null,this.data):this.data}getCell(e){var t=!1;return e=this.table.columnManager.findColumn(e),!this.initialized&&this.cells.length===0&&this.generateCells(),t=this.cells.find(function(i){return i.column===e}),t}getCellIndex(e){return this.cells.findIndex(function(t){return t===e})}findCell(e){return this.cells.find(t=>t.element===e)}getCells(){return!this.initialized&&this.cells.length===0&&this.generateCells(),this.cells}nextRow(){var e=this.table.rowManager.nextDisplayRow(this,!0);return e||!1}prevRow(){var e=this.table.rowManager.prevDisplayRow(this,!0);return e||!1}moveToRow(e,t){var i=this.table.rowManager.findRow(e);i?(this.table.rowManager.moveRowActual(this,i,!t),this.table.rowManager.refreshActiveData("display",!1,!0)):console.warn("Move Error - No matching row found:",e)}delete(){return this.dispatch("row-delete",this),this.deleteActual(),Promise.resolve()}deleteActual(e){this.detachModules(),this.table.rowManager.deleteRow(this,e),this.deleteCells(),this.initialized=!1,this.heightInitialized=!1,this.element=!1,this.dispatch("row-deleted",this)}detachModules(){this.dispatch("row-deleting",this)}deleteCells(){var e=this.cells.length;for(let t=0;t<e;t++)this.cells[0].delete()}wipe(){if(this.detachModules(),this.deleteCells(),this.element){for(;this.element.firstChild;)this.element.removeChild(this.element.firstChild);this.element.parentNode&&this.element.parentNode.removeChild(this.element)}this.element=!1,this.modules={}}isDisplayed(){return this.table.rowManager.getDisplayRows().includes(this)}getPosition(){return this.isDisplayed()?this.position:!1}setPosition(e){e!=this.position&&(this.position=e,this.positionWatchers.forEach(t=>{t(this.position)}))}watchPosition(e){this.positionWatchers.push(e),e(this.position)}getGroup(){return this.modules.group||!1}getComponent(){return this.component||(this.component=new ce(this)),this.component}}var Zt={avg:function(l,e,t){var i=0,s=typeof t.precision<"u"?t.precision:2;return l.length&&(i=l.reduce(function(n,o){return Number(n)+Number(o)}),i=i/l.length,i=s!==!1?i.toFixed(s):i),parseFloat(i).toString()},max:function(l,e,t){var i=null,s=typeof t.precision<"u"?t.precision:!1;return l.forEach(function(n){n=Number(n),(n>i||i===null)&&(i=n)}),i!==null?s!==!1?i.toFixed(s):i:""},min:function(l,e,t){var i=null,s=typeof t.precision<"u"?t.precision:!1;return l.forEach(function(n){n=Number(n),(n<i||i===null)&&(i=n)}),i!==null?s!==!1?i.toFixed(s):i:""},sum:function(l,e,t){var i=0,s=typeof t.precision<"u"?t.precision:!1;return l.length&&l.forEach(function(n){n=Number(n),i+=isNaN(n)?0:Number(n)}),s!==!1?i.toFixed(s):i},concat:function(l,e,t){var i=0;return l.length&&(i=l.reduce(function(s,n){return String(s)+String(n)})),i},count:function(l,e,t){var i=0;return l.length&&l.forEach(function(s){s&&i++}),i},unique:function(l,e,t){var i=l.filter((s,n)=>(l||s===0)&&l.indexOf(s)===n);return i.length}};const I=class I extends y{constructor(e){super(e),this.topCalcs=[],this.botCalcs=[],this.genColumn=!1,this.topElement=this.createElement(),this.botElement=this.createElement(),this.topRow=!1,this.botRow=!1,this.topInitialized=!1,this.botInitialized=!1,this.blocked=!1,this.recalcAfterBlock=!1,this.registerTableOption("columnCalcs",!0),this.registerColumnOption("topCalc"),this.registerColumnOption("topCalcParams"),this.registerColumnOption("topCalcFormatter"),this.registerColumnOption("topCalcFormatterParams"),this.registerColumnOption("bottomCalc"),this.registerColumnOption("bottomCalcParams"),this.registerColumnOption("bottomCalcFormatter"),this.registerColumnOption("bottomCalcFormatterParams")}createElement(){var e=document.createElement("div");return e.classList.add("tabulator-calcs-holder"),e}initialize(){this.genColumn=new K({field:"value"},this),this.subscribe("cell-value-changed",this.cellValueChanged.bind(this)),this.subscribe("column-init",this.initializeColumnCheck.bind(this)),this.subscribe("row-deleted",this.rowsUpdated.bind(this)),this.subscribe("scroll-horizontal",this.scrollHorizontal.bind(this)),this.subscribe("row-added",this.rowsUpdated.bind(this)),this.subscribe("column-moved",this.recalcActiveRows.bind(this)),this.subscribe("column-add",this.recalcActiveRows.bind(this)),this.subscribe("data-refreshed",this.recalcActiveRowsRefresh.bind(this)),this.subscribe("table-redraw",this.tableRedraw.bind(this)),this.subscribe("rows-visible",this.visibleRows.bind(this)),this.subscribe("scrollbar-vertical",this.adjustForScrollbar.bind(this)),this.subscribe("redraw-blocked",this.blockRedraw.bind(this)),this.subscribe("redraw-restored",this.restoreRedraw.bind(this)),this.subscribe("table-redrawing",this.resizeHolderWidth.bind(this)),this.subscribe("column-resized",this.resizeHolderWidth.bind(this)),this.subscribe("column-show",this.resizeHolderWidth.bind(this)),this.subscribe("column-hide",this.resizeHolderWidth.bind(this)),this.registerTableFunction("getCalcResults",this.getResults.bind(this)),this.registerTableFunction("recalc",this.userRecalc.bind(this)),this.resizeHolderWidth()}resizeHolderWidth(){this.topElement.style.minWidth=this.table.columnManager.headersElement.offsetWidth+"px"}tableRedraw(e){this.recalc(this.table.rowManager.activeRows),e&&this.redraw()}blockRedraw(){this.blocked=!0,this.recalcAfterBlock=!1}restoreRedraw(){this.blocked=!1,this.recalcAfterBlock&&(this.recalcAfterBlock=!1,this.recalcActiveRowsRefresh())}userRecalc(){this.recalc(this.table.rowManager.activeRows)}blockCheck(){return this.blocked&&(this.recalcAfterBlock=!0),this.blocked}visibleRows(e,t){return this.topRow&&t.unshift(this.topRow),this.botRow&&t.push(this.botRow),t}rowsUpdated(e){this.table.options.groupBy?this.recalcRowGroup(e):this.recalcActiveRows()}recalcActiveRowsRefresh(){this.table.options.groupBy&&this.table.options.dataTreeStartExpanded&&this.table.options.dataTree?this.recalcAll():this.recalcActiveRows()}recalcActiveRows(){this.recalc(this.table.rowManager.activeRows)}cellValueChanged(e){(e.column.definition.topCalc||e.column.definition.bottomCalc)&&(this.table.options.groupBy?((this.table.options.columnCalcs=="table"||this.table.options.columnCalcs=="both")&&this.recalcActiveRows(),this.table.options.columnCalcs!="table"&&this.recalcRowGroup(e.row)):this.recalcActiveRows())}initializeColumnCheck(e){(e.definition.topCalc||e.definition.bottomCalc)&&this.initializeColumn(e)}initializeColumn(e){var t=e.definition,i={topCalcParams:t.topCalcParams||{},botCalcParams:t.bottomCalcParams||{}};if(t.topCalc){switch(typeof t.topCalc){case"string":I.calculations[t.topCalc]?i.topCalc=I.calculations[t.topCalc]:console.warn("Column Calc Error - No such calculation found, ignoring: ",t.topCalc);break;case"function":i.topCalc=t.topCalc;break}i.topCalc&&(e.modules.columnCalcs=i,this.topCalcs.push(e),this.table.options.columnCalcs!="group"&&this.initializeTopRow())}if(t.bottomCalc){switch(typeof t.bottomCalc){case"string":I.calculations[t.bottomCalc]?i.botCalc=I.calculations[t.bottomCalc]:console.warn("Column Calc Error - No such calculation found, ignoring: ",t.bottomCalc);break;case"function":i.botCalc=t.bottomCalc;break}i.botCalc&&(e.modules.columnCalcs=i,this.botCalcs.push(e),this.table.options.columnCalcs!="group"&&this.initializeBottomRow())}}registerColumnField(){}removeCalcs(){var e=!1;this.topInitialized&&(this.topInitialized=!1,this.topElement.parentNode.removeChild(this.topElement),e=!0),this.botInitialized&&(this.botInitialized=!1,this.footerRemove(this.botElement),e=!0),e&&this.table.rowManager.adjustTableSize()}reinitializeCalcs(){this.topCalcs.length&&this.initializeTopRow(),this.botCalcs.length&&this.initializeBottomRow()}initializeTopRow(){var e=document.createDocumentFragment();this.topInitialized||(e.appendChild(document.createElement("br")),e.appendChild(this.topElement),this.table.columnManager.getContentsElement().insertBefore(e,this.table.columnManager.headersElement.nextSibling),this.topInitialized=!0)}initializeBottomRow(){this.botInitialized||(this.footerPrepend(this.botElement),this.botInitialized=!0)}scrollHorizontal(e){this.botInitialized&&this.botRow&&(this.botElement.scrollLeft=e)}recalc(e){var t,i;if(!this.blockCheck()&&(this.topInitialized||this.botInitialized)){if(t=this.rowsToData(e),this.topInitialized){for(this.topRow&&this.topRow.deleteCells(),i=this.generateRow("top",t),this.topRow=i;this.topElement.firstChild;)this.topElement.removeChild(this.topElement.firstChild);this.topElement.appendChild(i.getElement()),i.initialize(!0)}if(this.botInitialized){for(this.botRow&&this.botRow.deleteCells(),i=this.generateRow("bottom",t),this.botRow=i;this.botElement.firstChild;)this.botElement.removeChild(this.botElement.firstChild);this.botElement.appendChild(i.getElement()),i.initialize(!0)}this.table.rowManager.adjustTableSize(),this.table.modExists("frozenColumns")&&this.table.modules.frozenColumns.layout()}}recalcRowGroup(e){this.recalcGroup(this.table.modules.groupRows.getRowGroup(e))}recalcAll(){if((this.topCalcs.length||this.botCalcs.length)&&(this.table.options.columnCalcs!=="group"&&this.recalcActiveRows(),this.table.options.groupBy&&this.table.options.columnCalcs!=="table")){var e=this.table.modules.groupRows.getChildGroups();e.forEach(t=>{this.recalcGroup(t)})}}recalcGroup(e){var t,i;this.blockCheck()||e&&e.calcs&&(e.calcs.bottom&&(t=this.rowsToData(e.rows),i=this.generateRowData("bottom",t),e.calcs.bottom.updateData(i),e.calcs.bottom.reinitialize()),e.calcs.top&&(t=this.rowsToData(e.rows),i=this.generateRowData("top",t),e.calcs.top.updateData(i),e.calcs.top.reinitialize()))}generateTopRow(e){return this.generateRow("top",this.rowsToData(e))}generateBottomRow(e){return this.generateRow("bottom",this.rowsToData(e))}rowsToData(e){var t=[],i=this.table.options.dataTree&&this.table.options.dataTreeChildColumnCalcs,s=this.table.modules.dataTree;return e.forEach(n=>{var o;t.push(n.getData()),i&&((o=n.modules.dataTree)!=null&&o.open)&&this.rowsToData(s.getFilteredTreeChildren(n)).forEach(r=>{t.push(n)})}),t}generateRow(e,t){var i=this.generateRowData(e,t),s;return this.table.modExists("mutator")&&this.table.modules.mutator.disable(),s=new H(i,this,"calc"),this.table.modExists("mutator")&&this.table.modules.mutator.enable(),s.getElement().classList.add("tabulator-calcs","tabulator-calcs-"+e),s.component=!1,s.getComponent=()=>(s.component||(s.component=new Yt(s)),s.component),s.generateCells=()=>{var n=[];this.table.columnManager.columnsByIndex.forEach(o=>{this.genColumn.setField(o.getField()),this.genColumn.hozAlign=o.hozAlign,o.definition[e+"CalcFormatter"]&&this.table.modExists("format")?this.genColumn.modules.format={formatter:this.table.modules.format.lookupFormatter(o.definition[e+"CalcFormatter"]),params:o.definition[e+"CalcFormatterParams"]||{}}:this.genColumn.modules.format={formatter:this.table.modules.format.lookupFormatter("plaintext"),params:{}},this.genColumn.definition.cssClass=o.definition.cssClass;var r=new he(this.genColumn,s);r.getElement(),r.column=o,r.setWidth(),o.cells.push(r),n.push(r),o.visible||r.hide()}),s.cells=n},s}generateRowData(e,t){var i={},s=e=="top"?this.topCalcs:this.botCalcs,n=e=="top"?"topCalc":"botCalc",o,r;return s.forEach(function(a){var h=[];a.modules.columnCalcs&&a.modules.columnCalcs[n]&&(t.forEach(function(d){h.push(a.getFieldValue(d))}),r=n+"Params",o=typeof a.modules.columnCalcs[r]=="function"?a.modules.columnCalcs[r](h,t):a.modules.columnCalcs[r],a.setFieldValue(i,a.modules.columnCalcs[n](h,t,o)))}),i}hasTopCalcs(){return!!this.topCalcs.length}hasBottomCalcs(){return!!this.botCalcs.length}redraw(){this.topRow&&this.topRow.normalizeHeight(!0),this.botRow&&this.botRow.normalizeHeight(!0)}getResults(){var e={},t;return this.table.options.groupBy&&this.table.modExists("groupRows")?(t=this.table.modules.groupRows.getGroups(!0),t.forEach(i=>{e[i.getKey()]=this.getGroupResults(i)})):e={top:this.topRow?this.topRow.getData():{},bottom:this.botRow?this.botRow.getData():{}},e}getGroupResults(e){var t=e._getSelf(),i=e.getSubGroups(),s={},n={};return i.forEach(o=>{s[o.getKey()]=this.getGroupResults(o)}),n={top:t.calcs.top?t.calcs.top.getData():{},bottom:t.calcs.bottom?t.calcs.bottom.getData():{},groups:s},n}adjustForScrollbar(e){this.botRow&&(this.table.rtl?this.botElement.style.paddingLeft=e+"px":this.botElement.style.paddingRight=e+"px")}};v(I,"moduleName","columnCalcs"),v(I,"calculations",Zt);let Ee=I;class et extends y{constructor(e){super(e),this.indent=10,this.field="",this.collapseEl=null,this.expandEl=null,this.branchEl=null,this.elementField=!1,this.startOpen=function(){},this.registerTableOption("dataTree",!1),this.registerTableOption("dataTreeFilter",!0),this.registerTableOption("dataTreeSort",!0),this.registerTableOption("dataTreeElementColumn",!1),this.registerTableOption("dataTreeBranchElement",!0),this.registerTableOption("dataTreeChildIndent",9),this.registerTableOption("dataTreeChildField","_children"),this.registerTableOption("dataTreeCollapseElement",!1),this.registerTableOption("dataTreeExpandElement",!1),this.registerTableOption("dataTreeStartExpanded",!1),this.registerTableOption("dataTreeChildColumnCalcs",!1),this.registerTableOption("dataTreeSelectPropagate",!1),this.registerComponentFunction("row","treeCollapse",this.collapseRow.bind(this)),this.registerComponentFunction("row","treeExpand",this.expandRow.bind(this)),this.registerComponentFunction("row","treeToggle",this.toggleRow.bind(this)),this.registerComponentFunction("row","getTreeParent",this.getTreeParent.bind(this)),this.registerComponentFunction("row","getTreeChildren",this.getRowChildren.bind(this)),this.registerComponentFunction("row","addTreeChild",this.addTreeChildRow.bind(this)),this.registerComponentFunction("row","isTreeExpanded",this.isRowExpanded.bind(this))}initialize(){if(this.table.options.dataTree){var e=null,t=this.table.options;switch(this.field=t.dataTreeChildField,this.indent=t.dataTreeChildIndent,this.options("movableRows")&&console.warn("The movableRows option is not available with dataTree enabled, moving of child rows could result in unpredictable behavior"),t.dataTreeBranchElement?t.dataTreeBranchElement===!0?(this.branchEl=document.createElement("div"),this.branchEl.classList.add("tabulator-data-tree-branch")):typeof t.dataTreeBranchElement=="string"?(e=document.createElement("div"),e.innerHTML=t.dataTreeBranchElement,this.branchEl=e.firstChild):this.branchEl=t.dataTreeBranchElement:(this.branchEl=document.createElement("div"),this.branchEl.classList.add("tabulator-data-tree-branch-empty")),t.dataTreeCollapseElement?typeof t.dataTreeCollapseElement=="string"?(e=document.createElement("div"),e.innerHTML=t.dataTreeCollapseElement,this.collapseEl=e.firstChild):this.collapseEl=t.dataTreeCollapseElement:(this.collapseEl=document.createElement("div"),this.collapseEl.classList.add("tabulator-data-tree-control"),this.collapseEl.tabIndex=0,this.collapseEl.innerHTML="<div class='tabulator-data-tree-control-collapse'></div>"),t.dataTreeExpandElement?typeof t.dataTreeExpandElement=="string"?(e=document.createElement("div"),e.innerHTML=t.dataTreeExpandElement,this.expandEl=e.firstChild):this.expandEl=t.dataTreeExpandElement:(this.expandEl=document.createElement("div"),this.expandEl.classList.add("tabulator-data-tree-control"),this.expandEl.tabIndex=0,this.expandEl.innerHTML="<div class='tabulator-data-tree-control-expand'></div>"),typeof t.dataTreeStartExpanded){case"boolean":this.startOpen=function(i,s){return t.dataTreeStartExpanded};break;case"function":this.startOpen=t.dataTreeStartExpanded;break;default:this.startOpen=function(i,s){return t.dataTreeStartExpanded[s]};break}this.subscribe("row-init",this.initializeRow.bind(this)),this.subscribe("row-layout-after",this.layoutRow.bind(this)),this.subscribe("row-deleting",this.rowDeleting.bind(this)),this.subscribe("row-deleted",this.rowDelete.bind(this),0),this.subscribe("row-data-changed",this.rowDataChanged.bind(this),10),this.subscribe("cell-value-updated",this.cellValueChanged.bind(this)),this.subscribe("edit-cancelled",this.cellValueChanged.bind(this)),this.subscribe("column-moving-rows",this.columnMoving.bind(this)),this.subscribe("table-built",this.initializeElementField.bind(this)),this.subscribe("table-redrawing",this.tableRedrawing.bind(this)),this.registerDisplayHandler(this.getRows.bind(this),30)}}tableRedrawing(e){var t;e&&(t=this.table.rowManager.getRows(),t.forEach(i=>{this.reinitializeRowChildren(i)}))}initializeElementField(){var e=this.table.columnManager.getFirstVisibleColumn();this.elementField=this.table.options.dataTreeElementColumn||(e?e.field:!1)}getRowChildren(e){return this.getTreeChildren(e,!0)}columnMoving(){var e=[];return this.table.rowManager.rows.forEach(t=>{e=e.concat(this.getTreeChildren(t,!1,!0))}),e}rowDataChanged(e,t,i){this.redrawNeeded(i)&&(this.initializeRow(e),t&&(this.layoutRow(e),this.refreshData(!0)))}cellValueChanged(e){var t=e.column.getField();t===this.elementField&&this.layoutRow(e.row)}initializeRow(e){var t=e.getData()[this.field],i=Array.isArray(t),s=i||!i&&typeof t=="object"&&t!==null;!s&&e.modules.dataTree&&e.modules.dataTree.branchEl&&e.modules.dataTree.branchEl.parentNode.removeChild(e.modules.dataTree.branchEl),!s&&e.modules.dataTree&&e.modules.dataTree.controlEl&&e.modules.dataTree.controlEl.parentNode.removeChild(e.modules.dataTree.controlEl),e.modules.dataTree={index:e.modules.dataTree?e.modules.dataTree.index:0,open:s?e.modules.dataTree?e.modules.dataTree.open:this.startOpen(e.getComponent(),0):!1,controlEl:e.modules.dataTree&&s?e.modules.dataTree.controlEl:!1,branchEl:e.modules.dataTree&&s?e.modules.dataTree.branchEl:!1,parent:e.modules.dataTree?e.modules.dataTree.parent:!1,children:s}}reinitializeRowChildren(e){var t=this.getTreeChildren(e,!1,!0);t.forEach(function(i){i.reinitialize(!0)})}layoutRow(e){var t=this.elementField?e.getCell(this.elementField):e.getCells()[0],i=t.getElement(),s=e.modules.dataTree;s.branchEl&&(s.branchEl.parentNode&&s.branchEl.parentNode.removeChild(s.branchEl),s.branchEl=!1),s.controlEl&&(s.controlEl.parentNode&&s.controlEl.parentNode.removeChild(s.controlEl),s.controlEl=!1),this.generateControlElement(e,i),e.getElement().classList.add("tabulator-tree-level-"+s.index),s.index&&(this.branchEl?(s.branchEl=this.branchEl.cloneNode(!0),i.insertBefore(s.branchEl,i.firstChild),this.table.rtl?s.branchEl.style.marginRight=(s.branchEl.offsetWidth+s.branchEl.style.marginLeft)*(s.index-1)+s.index*this.indent+"px":s.branchEl.style.marginLeft=(s.branchEl.offsetWidth+s.branchEl.style.marginRight)*(s.index-1)+s.index*this.indent+"px"):this.table.rtl?i.style.paddingRight=parseInt(window.getComputedStyle(i,null).getPropertyValue("padding-right"))+s.index*this.indent+"px":i.style.paddingLeft=parseInt(window.getComputedStyle(i,null).getPropertyValue("padding-left"))+s.index*this.indent+"px")}generateControlElement(e,t){var i=e.modules.dataTree,s=i.controlEl;t=t||e.getCells()[0].getElement(),i.children!==!1&&(i.open?(i.controlEl=this.collapseEl.cloneNode(!0),i.controlEl.addEventListener("click",n=>{n.stopPropagation(),this.collapseRow(e)})):(i.controlEl=this.expandEl.cloneNode(!0),i.controlEl.addEventListener("click",n=>{n.stopPropagation(),this.expandRow(e)})),i.controlEl.addEventListener("mousedown",n=>{n.stopPropagation()}),s&&s.parentNode===t?s.parentNode.replaceChild(i.controlEl,s):t.insertBefore(i.controlEl,t.firstChild))}getRows(e){var t=[];return e.forEach((i,s)=>{var n,o;t.push(i),i instanceof H&&(i.create(),n=i.modules.dataTree,!n.index&&n.children!==!1&&(o=this.getChildren(i,!1,!0),o.forEach(r=>{r.create(),t.push(r)})))}),t}getChildren(e,t,i){var s=e.modules.dataTree,n=[],o=[];return s.children!==!1&&(s.open||t)&&(Array.isArray(s.children)||(s.children=this.generateChildren(e)),this.table.modExists("filter")&&this.table.options.dataTreeFilter?n=this.table.modules.filter.filter(s.children):n=s.children,this.table.modExists("sort")&&this.table.options.dataTreeSort&&this.table.modules.sort.sort(n,i),n.forEach(r=>{o.push(r);var a=this.getChildren(r,!1,!0);a.forEach(h=>{o.push(h)})})),o}generateChildren(e){var t=[],i=e.getData()[this.field];return Array.isArray(i)||(i=[i]),i.forEach(s=>{var n=new H(s||{},this.table.rowManager);n.create(),n.modules.dataTree.index=e.modules.dataTree.index+1,n.modules.dataTree.parent=e,n.modules.dataTree.children&&(n.modules.dataTree.open=this.startOpen(n.getComponent(),n.modules.dataTree.index)),t.push(n)}),t}expandRow(e,t){var i=e.modules.dataTree;i.children!==!1&&(i.open=!0,e.reinitialize(),this.refreshData(!0),this.dispatchExternal("dataTreeRowExpanded",e.getComponent(),e.modules.dataTree.index))}collapseRow(e){var t=e.modules.dataTree;t.children!==!1&&(t.open=!1,e.reinitialize(),this.refreshData(!0),this.dispatchExternal("dataTreeRowCollapsed",e.getComponent(),e.modules.dataTree.index))}toggleRow(e){var t=e.modules.dataTree;t.children!==!1&&(t.open?this.collapseRow(e):this.expandRow(e))}isRowExpanded(e){return e.modules.dataTree.open}getTreeParent(e){return e.modules.dataTree.parent?e.modules.dataTree.parent.getComponent():!1}getTreeParentRoot(e){return e.modules.dataTree&&e.modules.dataTree.parent?this.getTreeParentRoot(e.modules.dataTree.parent):e}getFilteredTreeChildren(e){var t=e.modules.dataTree,i=[],s;return t.children&&(Array.isArray(t.children)||(t.children=this.generateChildren(e)),this.table.modExists("filter")&&this.table.options.dataTreeFilter?s=this.table.modules.filter.filter(t.children):s=t.children,s.forEach(n=>{n instanceof H&&i.push(n)})),i}rowDeleting(e){var t=e.modules.dataTree;t&&t.children&&Array.isArray(t.children)&&t.children.forEach(i=>{i instanceof H&&i.wipe()})}rowDelete(e){var t=e.modules.dataTree.parent,i;t&&(i=this.findChildIndex(e,t),i!==!1&&t.data[this.field].splice(i,1),t.data[this.field].length||delete t.data[this.field],this.initializeRow(t),this.layoutRow(t)),this.refreshData(!0)}addTreeChildRow(e,t,i,s){var n=!1;typeof t=="string"&&(t=JSON.parse(t)),Array.isArray(e.data[this.field])||(e.data[this.field]=[],e.modules.dataTree.open=this.startOpen(e.getComponent(),e.modules.dataTree.index)),typeof s<"u"&&(n=this.findChildIndex(s,e),n!==!1&&e.data[this.field].splice(i?n:n+1,0,t)),n===!1&&(i?e.data[this.field].unshift(t):e.data[this.field].push(t)),this.initializeRow(e),this.layoutRow(e),this.refreshData(!0)}findChildIndex(e,t){var i=!1;return typeof e=="object"?e instanceof H?i=e.data:e instanceof ce?i=e._getSelf().data:typeof HTMLElement<"u"&&e instanceof HTMLElement?t.modules.dataTree&&(i=t.modules.dataTree.children.find(s=>s instanceof H?s.element===e:!1),i&&(i=i.data)):e===null&&(i=!1):typeof e>"u"?i=!1:i=t.data[this.field].find(s=>s.data[this.table.options.index]==e),i&&(Array.isArray(t.data[this.field])&&(i=t.data[this.field].indexOf(i)),i==-1&&(i=!1)),i}getTreeChildren(e,t,i){var s=e.modules.dataTree,n=[];return s&&s.children&&(Array.isArray(s.children)||(s.children=this.generateChildren(e)),s.children.forEach(o=>{o instanceof H&&(n.push(t?o.getComponent():o),i&&this.getTreeChildren(o,t,i).forEach(r=>{n.push(r)}))})),n}getChildField(){return this.field}redrawNeeded(e){return(this.field?typeof e[this.field]<"u":!1)||(this.elementField?typeof e[this.elementField]<"u":!1)}}v(et,"moduleName","dataTree");function Qt(l,e={},t){var i=e.delimiter?e.delimiter:",",s=[],n=[];l.forEach(o=>{var r=[];switch(o.type){case"group":console.warn("Download Warning - CSV downloader cannot process row groups");break;case"calc":console.warn("Download Warning - CSV downloader cannot process column calculations");break;case"header":o.columns.forEach((a,h)=>{a&&a.depth===1&&(n[h]=typeof a.value>"u"||a.value===null?"":'"'+String(a.value).split('"').join('""')+'"')});break;case"row":o.columns.forEach(a=>{if(a){switch(typeof a.value){case"object":a.value=a.value!==null?JSON.stringify(a.value):"";break;case"undefined":a.value="";break}r.push('"'+String(a.value).split('"').join('""')+'"')}}),s.push(r.join(i));break}}),n.length&&s.unshift(n.join(i)),s=s.join(`
4
4
  `),e.bom&&(s="\uFEFF"+s),t(s,"text/csv")}function ei(l,e,t){var i=[];l.forEach(s=>{var n={};switch(s.type){case"header":break;case"group":console.warn("Download Warning - JSON downloader cannot process row groups");break;case"calc":console.warn("Download Warning - JSON downloader cannot process column calculations");break;case"row":s.columns.forEach(o=>{o&&(n[o.component.getTitleDownload()||o.component.getField()]=o.value)}),i.push(n);break}}),i=JSON.stringify(i,null," "),t(i,"application/json")}function ti(l,e={},t){var i=[],s=[],n={},o=e.rowGroupStyles||{fontStyle:"bold",fontSize:12,cellPadding:6,fillColor:220},r=e.rowCalcStyles||{fontStyle:"bold",fontSize:10,cellPadding:4,fillColor:232},a=e.jsPDF||{},h=e.title?e.title:"",d,c;a.orientation||(a.orientation=e.orientation||"landscape"),a.unit||(a.unit="pt"),l.forEach(p=>{switch(p.type){case"header":i.push(f(p));break;case"group":s.push(f(p,o));break;case"calc":s.push(f(p,r));break;case"row":s.push(f(p));break}});function f(p,m){var b=[];return p.columns.forEach(w=>{var g;if(w){switch(typeof w.value){case"object":w.value=w.value!==null?JSON.stringify(w.value):"";break;case"undefined":w.value="";break}g={content:w.value,colSpan:w.width,rowSpan:w.height},m&&(g.styles=m),b.push(g)}}),b}d=this.dependencyRegistry.lookup("jspdf","jsPDF"),c=new d(a),e.autoTable&&(typeof e.autoTable=="function"?n=e.autoTable(c)||{}:n=e.autoTable),h&&(n.didDrawPage=function(p){c.text(h,40,30)}),n.head=i,n.body=s,c.autoTable(n),e.documentProcessing&&e.documentProcessing(c),t(c.output("arraybuffer"),"application/pdf")}function ii(l,e,t){var i=this,s=e.sheetName||"Sheet1",n=this.dependencyRegistry.lookup("XLSX"),o=n.utils.book_new(),r=new z(this),a="compress"in e?e.compress:!0,h=e.writeOptions||{bookType:"xlsx",bookSST:!0,compression:a},d;h.type="binary",o.SheetNames=[],o.Sheets={};function c(){var m=[],b=[],w={},g={s:{c:0,r:0},e:{c:l[0]?l[0].columns.reduce((E,T)=>E+(T&&T.width?T.width:1),0):0,r:l.length}};return l.forEach((E,T)=>{var D=[];E.columns.forEach(function(L,R){L?(D.push(!(L.value instanceof Date)&&typeof L.value=="object"?JSON.stringify(L.value):L.value),(L.width>1||L.height>-1)&&(L.height>1||L.width>1)&&b.push({s:{r:T,c:R},e:{r:T+L.height-1,c:R+L.width-1}})):D.push("")}),m.push(D)}),n.utils.sheet_add_aoa(w,m),w["!ref"]=n.utils.encode_range(g),b.length&&(w["!merges"]=b),w}if(e.sheetOnly){t(c());return}if(e.sheets)for(var f in e.sheets)e.sheets[f]===!0?(o.SheetNames.push(f),o.Sheets[f]=c()):(o.SheetNames.push(f),r.commsSend(e.sheets[f],"download","intercept",{type:"xlsx",options:{sheetOnly:!0},active:i.active,intercept:function(m){o.Sheets[f]=m}}));else o.SheetNames.push(s),o.Sheets[s]=c();e.documentProcessing&&(o=e.documentProcessing(o));function p(m){for(var b=new ArrayBuffer(m.length),w=new Uint8Array(b),g=0;g!=m.length;++g)w[g]=m.charCodeAt(g)&255;return b}d=n.write(o,h),t(p(d),"application/octet-stream")}function si(l,e,t){this.modExists("export",!0)&&t(this.modules.export.generateHTMLTable(l),"text/html")}function ni(l,e,t){const i=[];l.forEach(s=>{const n={};switch(s.type){case"header":break;case"group":console.warn("Download Warning - JSON downloader cannot process row groups");break;case"calc":console.warn("Download Warning - JSON downloader cannot process column calculations");break;case"row":s.columns.forEach(o=>{o&&(n[o.component.getTitleDownload()||o.component.getField()]=o.value)}),i.push(JSON.stringify(n));break}}),t(i.join(`
@@ -1 +1 @@
1
- /*! tailwindcss v4.0.3 | MIT License | https://tailwindcss.com */@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-serif:ui-serif,Georgia,Cambria,"Times New Roman",Times,serif;--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-50:oklch(.971 .013 17.38);--color-red-100:oklch(.936 .032 17.717);--color-red-200:oklch(.885 .062 18.334);--color-red-300:oklch(.808 .114 19.571);--color-red-400:oklch(.704 .191 22.216);--color-red-500:oklch(.637 .237 25.331);--color-red-600:oklch(.577 .245 27.325);--color-red-700:oklch(.505 .213 27.518);--color-red-800:oklch(.444 .177 26.899);--color-red-900:oklch(.396 .141 25.723);--color-red-950:oklch(.258 .092 26.042);--color-orange-50:oklch(.98 .016 73.684);--color-orange-100:oklch(.954 .038 75.164);--color-orange-200:oklch(.901 .076 70.697);--color-orange-300:oklch(.837 .128 66.29);--color-orange-400:oklch(.75 .183 55.934);--color-orange-500:oklch(.705 .213 47.604);--color-orange-600:oklch(.646 .222 41.116);--color-orange-700:oklch(.553 .195 38.402);--color-orange-800:oklch(.47 .157 37.304);--color-orange-900:oklch(.408 .123 38.172);--color-orange-950:oklch(.266 .079 36.259);--color-amber-50:oklch(.987 .022 95.277);--color-amber-100:oklch(.962 .059 95.617);--color-amber-200:oklch(.924 .12 95.746);--color-amber-300:oklch(.879 .169 91.605);--color-amber-400:oklch(.828 .189 84.429);--color-amber-500:oklch(.769 .188 70.08);--color-amber-600:oklch(.666 .179 58.318);--color-amber-700:oklch(.555 .163 48.998);--color-amber-800:oklch(.473 .137 46.201);--color-amber-900:oklch(.414 .112 45.904);--color-amber-950:oklch(.279 .077 45.635);--color-yellow-50:oklch(.987 .026 102.212);--color-yellow-100:oklch(.973 .071 103.193);--color-yellow-200:oklch(.945 .129 101.54);--color-yellow-300:oklch(.905 .182 98.111);--color-yellow-400:oklch(.852 .199 91.936);--color-yellow-500:oklch(.795 .184 86.047);--color-yellow-600:oklch(.681 .162 75.834);--color-yellow-700:oklch(.554 .135 66.442);--color-yellow-800:oklch(.476 .114 61.907);--color-yellow-900:oklch(.421 .095 57.708);--color-yellow-950:oklch(.286 .066 53.813);--color-lime-50:oklch(.986 .031 120.757);--color-lime-100:oklch(.967 .067 122.328);--color-lime-200:oklch(.938 .127 124.321);--color-lime-300:oklch(.897 .196 126.665);--color-lime-400:oklch(.841 .238 128.85);--color-lime-500:oklch(.768 .233 130.85);--color-lime-600:oklch(.648 .2 131.684);--color-lime-700:oklch(.532 .157 131.589);--color-lime-800:oklch(.453 .124 130.933);--color-lime-900:oklch(.405 .101 131.063);--color-lime-950:oklch(.274 .072 132.109);--color-green-50:oklch(.982 .018 155.826);--color-green-100:oklch(.962 .044 156.743);--color-green-200:oklch(.925 .084 155.995);--color-green-300:oklch(.871 .15 154.449);--color-green-400:oklch(.792 .209 151.711);--color-green-500:oklch(.723 .219 149.579);--color-green-600:oklch(.627 .194 149.214);--color-green-700:oklch(.527 .154 150.069);--color-green-800:oklch(.448 .119 151.328);--color-green-900:oklch(.393 .095 152.535);--color-green-950:oklch(.266 .065 152.934);--color-emerald-50:oklch(.979 .021 166.113);--color-emerald-100:oklch(.95 .052 163.051);--color-emerald-200:oklch(.905 .093 164.15);--color-emerald-300:oklch(.845 .143 164.978);--color-emerald-400:oklch(.765 .177 163.223);--color-emerald-500:oklch(.696 .17 162.48);--color-emerald-600:oklch(.596 .145 163.225);--color-emerald-700:oklch(.508 .118 165.612);--color-emerald-800:oklch(.432 .095 166.913);--color-emerald-900:oklch(.378 .077 168.94);--color-emerald-950:oklch(.262 .051 172.552);--color-teal-50:oklch(.984 .014 180.72);--color-teal-100:oklch(.953 .051 180.801);--color-teal-200:oklch(.91 .096 180.426);--color-teal-300:oklch(.855 .138 181.071);--color-teal-400:oklch(.777 .152 181.912);--color-teal-500:oklch(.704 .14 182.503);--color-teal-600:oklch(.6 .118 184.704);--color-teal-700:oklch(.511 .096 186.391);--color-teal-800:oklch(.437 .078 188.216);--color-teal-900:oklch(.386 .063 188.416);--color-teal-950:oklch(.277 .046 192.524);--color-cyan-50:oklch(.984 .019 200.873);--color-cyan-100:oklch(.956 .045 203.388);--color-cyan-200:oklch(.917 .08 205.041);--color-cyan-300:oklch(.865 .127 207.078);--color-cyan-400:oklch(.789 .154 211.53);--color-cyan-500:oklch(.715 .143 215.221);--color-cyan-600:oklch(.609 .126 221.723);--color-cyan-700:oklch(.52 .105 223.128);--color-cyan-800:oklch(.45 .085 224.283);--color-cyan-900:oklch(.398 .07 227.392);--color-cyan-950:oklch(.302 .056 229.695);--color-sky-50:oklch(.977 .013 236.62);--color-sky-100:oklch(.951 .026 236.824);--color-sky-200:oklch(.901 .058 230.902);--color-sky-300:oklch(.828 .111 230.318);--color-sky-400:oklch(.746 .16 232.661);--color-sky-500:oklch(.685 .169 237.323);--color-sky-600:oklch(.588 .158 241.966);--color-sky-700:oklch(.5 .134 242.749);--color-sky-800:oklch(.443 .11 240.79);--color-sky-900:oklch(.391 .09 240.876);--color-sky-950:oklch(.293 .066 243.157);--color-blue-50:oklch(.97 .014 254.604);--color-blue-100:oklch(.932 .032 255.585);--color-blue-200:oklch(.882 .059 254.128);--color-blue-300:oklch(.809 .105 251.813);--color-blue-400:oklch(.707 .165 254.624);--color-blue-500:oklch(.623 .214 259.815);--color-blue-600:oklch(.546 .245 262.881);--color-blue-700:oklch(.488 .243 264.376);--color-blue-800:oklch(.424 .199 265.638);--color-blue-900:oklch(.379 .146 265.522);--color-blue-950:oklch(.282 .091 267.935);--color-indigo-50:oklch(.962 .018 272.314);--color-indigo-100:oklch(.93 .034 272.788);--color-indigo-200:oklch(.87 .065 274.039);--color-indigo-300:oklch(.785 .115 274.713);--color-indigo-400:oklch(.673 .182 276.935);--color-indigo-500:oklch(.585 .233 277.117);--color-indigo-600:oklch(.511 .262 276.966);--color-indigo-700:oklch(.457 .24 277.023);--color-indigo-800:oklch(.398 .195 277.366);--color-indigo-900:oklch(.359 .144 278.697);--color-indigo-950:oklch(.257 .09 281.288);--color-violet-50:oklch(.969 .016 293.756);--color-violet-100:oklch(.943 .029 294.588);--color-violet-200:oklch(.894 .057 293.283);--color-violet-300:oklch(.811 .111 293.571);--color-violet-400:oklch(.702 .183 293.541);--color-violet-500:oklch(.606 .25 292.717);--color-violet-600:oklch(.541 .281 293.009);--color-violet-700:oklch(.491 .27 292.581);--color-violet-800:oklch(.432 .232 292.759);--color-violet-900:oklch(.38 .189 293.745);--color-violet-950:oklch(.283 .141 291.089);--color-purple-50:oklch(.977 .014 308.299);--color-purple-100:oklch(.946 .033 307.174);--color-purple-200:oklch(.902 .063 306.703);--color-purple-300:oklch(.827 .119 306.383);--color-purple-400:oklch(.714 .203 305.504);--color-purple-500:oklch(.627 .265 303.9);--color-purple-600:oklch(.558 .288 302.321);--color-purple-700:oklch(.496 .265 301.924);--color-purple-800:oklch(.438 .218 303.724);--color-purple-900:oklch(.381 .176 304.987);--color-purple-950:oklch(.291 .149 302.717);--color-fuchsia-50:oklch(.977 .017 320.058);--color-fuchsia-100:oklch(.952 .037 318.852);--color-fuchsia-200:oklch(.903 .076 319.62);--color-fuchsia-300:oklch(.833 .145 321.434);--color-fuchsia-400:oklch(.74 .238 322.16);--color-fuchsia-500:oklch(.667 .295 322.15);--color-fuchsia-600:oklch(.591 .293 322.896);--color-fuchsia-700:oklch(.518 .253 323.949);--color-fuchsia-800:oklch(.452 .211 324.591);--color-fuchsia-900:oklch(.401 .17 325.612);--color-fuchsia-950:oklch(.293 .136 325.661);--color-pink-50:oklch(.971 .014 343.198);--color-pink-100:oklch(.948 .028 342.258);--color-pink-200:oklch(.899 .061 343.231);--color-pink-300:oklch(.823 .12 346.018);--color-pink-400:oklch(.718 .202 349.761);--color-pink-500:oklch(.656 .241 354.308);--color-pink-600:oklch(.592 .249 .584);--color-pink-700:oklch(.525 .223 3.958);--color-pink-800:oklch(.459 .187 3.815);--color-pink-900:oklch(.408 .153 2.432);--color-pink-950:oklch(.284 .109 3.907);--color-rose-50:oklch(.969 .015 12.422);--color-rose-100:oklch(.941 .03 12.58);--color-rose-200:oklch(.892 .058 10.001);--color-rose-300:oklch(.81 .117 11.638);--color-rose-400:oklch(.712 .194 13.428);--color-rose-500:oklch(.645 .246 16.439);--color-rose-600:oklch(.586 .253 17.585);--color-rose-700:oklch(.514 .222 16.935);--color-rose-800:oklch(.455 .188 13.697);--color-rose-900:oklch(.41 .159 10.272);--color-rose-950:oklch(.271 .105 12.094);--color-slate-50:oklch(.984 .003 247.858);--color-slate-100:oklch(.968 .007 247.896);--color-slate-200:oklch(.929 .013 255.508);--color-slate-300:oklch(.869 .022 252.894);--color-slate-400:oklch(.704 .04 256.788);--color-slate-500:oklch(.554 .046 257.417);--color-slate-600:oklch(.446 .043 257.281);--color-slate-700:oklch(.372 .044 257.287);--color-slate-800:oklch(.279 .041 260.031);--color-slate-900:oklch(.208 .042 265.755);--color-slate-950:oklch(.129 .042 264.695);--color-gray-50:oklch(.985 .002 247.839);--color-gray-100:oklch(.967 .003 264.542);--color-gray-200:oklch(.928 .006 264.531);--color-gray-300:oklch(.872 .01 258.338);--color-gray-400:oklch(.707 .022 261.325);--color-gray-500:oklch(.551 .027 264.364);--color-gray-600:oklch(.446 .03 256.802);--color-gray-700:oklch(.373 .034 259.733);--color-gray-800:oklch(.278 .033 256.848);--color-gray-900:oklch(.21 .034 264.665);--color-gray-950:oklch(.13 .028 261.692);--color-zinc-50:oklch(.985 0 0);--color-zinc-100:oklch(.967 .001 286.375);--color-zinc-200:oklch(.92 .004 286.32);--color-zinc-300:oklch(.871 .006 286.286);--color-zinc-400:oklch(.705 .015 286.067);--color-zinc-500:oklch(.552 .016 285.938);--color-zinc-600:oklch(.442 .017 285.786);--color-zinc-700:oklch(.37 .013 285.805);--color-zinc-800:oklch(.274 .006 286.033);--color-zinc-900:oklch(.21 .006 285.885);--color-zinc-950:oklch(.141 .005 285.823);--color-neutral-50:oklch(.985 0 0);--color-neutral-100:oklch(.97 0 0);--color-neutral-200:oklch(.922 0 0);--color-neutral-300:oklch(.87 0 0);--color-neutral-400:oklch(.708 0 0);--color-neutral-500:oklch(.556 0 0);--color-neutral-600:oklch(.439 0 0);--color-neutral-700:oklch(.371 0 0);--color-neutral-800:oklch(.269 0 0);--color-neutral-900:oklch(.205 0 0);--color-neutral-950:oklch(.145 0 0);--color-stone-50:oklch(.985 .001 106.423);--color-stone-100:oklch(.97 .001 106.424);--color-stone-200:oklch(.923 .003 48.717);--color-stone-300:oklch(.869 .005 56.366);--color-stone-400:oklch(.709 .01 56.259);--color-stone-500:oklch(.553 .013 58.071);--color-stone-600:oklch(.444 .011 73.639);--color-stone-700:oklch(.374 .01 67.558);--color-stone-800:oklch(.268 .007 34.298);--color-stone-900:oklch(.216 .006 56.043);--color-stone-950:oklch(.147 .004 49.25);--color-black:#000;--color-white:#fff;--spacing:.25rem;--breakpoint-sm:40rem;--breakpoint-md:48rem;--breakpoint-lg:64rem;--breakpoint-xl:80rem;--breakpoint-2xl:96rem;--container-3xs:16rem;--container-2xs:18rem;--container-xs:20rem;--container-sm:24rem;--container-md:28rem;--container-lg:32rem;--container-xl:36rem;--container-2xl:42rem;--container-3xl:48rem;--container-4xl:56rem;--container-5xl:64rem;--container-6xl:72rem;--container-7xl:80rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--text-3xl:1.875rem;--text-3xl--line-height: 1.2 ;--text-4xl:2.25rem;--text-4xl--line-height:calc(2.5/2.25);--text-5xl:3rem;--text-5xl--line-height:1;--text-6xl:3.75rem;--text-6xl--line-height:1;--text-7xl:4.5rem;--text-7xl--line-height:1;--text-8xl:6rem;--text-8xl--line-height:1;--text-9xl:8rem;--text-9xl--line-height:1;--font-weight-thin:100;--font-weight-extralight:200;--font-weight-light:300;--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--font-weight-extrabold:800;--font-weight-black:900;--tracking-tighter:-.05em;--tracking-tight:-.025em;--tracking-normal:0em;--tracking-wide:.025em;--tracking-wider:.05em;--tracking-widest:.1em;--leading-tight:1.25;--leading-snug:1.375;--leading-normal:1.5;--leading-relaxed:1.625;--leading-loose:2;--radius-xs:.125rem;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--radius-3xl:1.5rem;--radius-4xl:2rem;--shadow-2xs:0 1px #0000000d;--shadow-xs:0 1px 2px 0 #0000000d;--shadow-sm:0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a;--shadow-md:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a;--shadow-lg:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;--shadow-xl:0 20px 25px -5px #0000001a,0 8px 10px -6px #0000001a;--shadow-2xl:0 25px 50px -12px #00000040;--inset-shadow-2xs:inset 0 1px #0000000d;--inset-shadow-xs:inset 0 1px 1px #0000000d;--inset-shadow-sm:inset 0 2px 4px #0000000d;--drop-shadow-xs:0 1px 1px #0000000d;--drop-shadow-sm:0 1px 2px #00000026;--drop-shadow-md:0 3px 3px #0000001f;--drop-shadow-lg:0 4px 4px #00000026;--drop-shadow-xl:0 9px 7px #0000001a;--drop-shadow-2xl:0 25px 25px #00000026;--ease-in:cubic-bezier(.4,0,1,1);--ease-out:cubic-bezier(0,0,.2,1);--ease-in-out:cubic-bezier(.4,0,.2,1);--animate-spin:spin 1s linear infinite;--animate-ping:ping 1s cubic-bezier(0,0,.2,1)infinite;--animate-pulse:pulse 2s cubic-bezier(.4,0,.6,1)infinite;--animate-bounce:bounce 1s infinite;--blur-xs:4px;--blur-sm:8px;--blur-md:12px;--blur-lg:16px;--blur-xl:24px;--blur-2xl:40px;--blur-3xl:64px;--perspective-dramatic:100px;--perspective-near:300px;--perspective-normal:500px;--perspective-midrange:800px;--perspective-distant:1200px;--aspect-video:16/9;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-font-feature-settings:var(--font-sans--font-feature-settings);--default-font-variation-settings:var(--font-sans--font-variation-settings);--default-mono-font-family:var(--font-mono);--default-mono-font-feature-settings:var(--font-mono--font-feature-settings);--default-mono-font-variation-settings:var(--font-mono--font-variation-settings);--color-primary-50:#d6eaff;--color-primary-100:#b3c9e6;--color-primary-200:#99b7de;--color-primary-300:#80a6d6;--color-primary-400:#6694ce;--color-primary-500:#4d82c6;--color-primary-600:#3370bd;--color-primary-700:#1a5eb5;--color-primary-800:#004cad;--color-primary-900:#00449c;--color-secondary-10:#f3f3f3;--color-secondary-50:#e1e1e1;--color-secondary-100:#cbcbcb;--color-secondary-200:#b4b4b4;--color-secondary-300:#9e9e9e;--color-secondary-400:#717171;--color-secondary-500:#5a5a5a;--color-secondary-600:#434343;--color-secondary-700:#2d2d2d;--color-secondary-800:#161616;--color-secondary-900:#000}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}body{line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1;color:color-mix(in oklab,currentColor 50%,transparent)}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}*,:after,:before,::backdrop{border-color:var(--color-gray-200,currentColor)}::file-selector-button{border-color:var(--color-gray-200,currentColor)}.multiselect{height:30px!important;min-height:30px!important;max-height:30px!important}.multiselect__tags{border-color:var(--color-secondary-100)!important;height:30px!important;min-height:30px!important;max-height:30px!important;padding-top:4px!important;padding-bottom:calc(var(--spacing)*0)!important;border-radius:2px!important;padding-left:4px!important}.multiselect__input{padding:calc(var(--spacing)*0)!important;font-size:14px!important}.multiselect__option{height:30px!important;min-height:30px!important;max-height:30px!important;color:var(--color-black)!important;padding-inline:8px!important;padding-top:6px!important;font-size:14px!important}@media (hover:hover){.multiselect__option:hover{background-color:var(--color-primary-50)!important}}.multiselect__element{border-style:var(--tw-border-style);border-width:1px;border-bottom-style:var(--tw-border-style);border-bottom-width:0;border-color:var(--color-secondary-100)}.multiselect__element:has(.multiselect__option--selected){border-style:var(--tw-border-style)!important;border-width:1px!important;border-color:var(--color-secondary-400)!important;background-color:var(--color-primary-50)!important}.multiselect__element .multiselect__option--selected{background-color:var(--color-primary-50)!important;--tw-font-weight:400!important;font-weight:400!important}.multiselect__content-wrapper{border-style:var(--tw-border-style)!important;border-width:0!important;border-bottom-style:var(--tw-border-style)!important;border-bottom-width:1px!important;border-color:var(--color-secondary-100)!important;border-bottom-right-radius:2px!important;border-bottom-left-radius:2px!important;margin-top:-1px!important}.multiselect__content{background-color:var(--color-white)!important}.multiselect__option--highlight{background-color:var(--color-primary-50)!important}.multiselect__single{margin:calc(var(--spacing)*0)!important;padding:calc(var(--spacing)*0)!important;color:var(--color-black)!important;font-size:14px!important}.multiselect__placeholder{margin:calc(var(--spacing)*0)!important;padding:calc(var(--spacing)*0)!important}.multiselect--active .multiselect__tags{border-color:var(--color-primary-100)!important}.multiselect__select{width:30px!important;height:30px!important;min-height:30px!important;max-height:30px!important;padding:calc(var(--spacing)*0)!important}.multiselect__content li.multiselect__element:has(span.multiselect__option--selected)+li.multiselect__element{border-top:none!important}.multiselect__option:after{border-style:var(--tw-border-style)!important;background-color:var(--color-primary-500)!important;height:30px!important;min-height:30px!important;max-height:30px!important;padding:calc(var(--spacing)*0)!important;padding-inline:calc(var(--spacing)*1)!important;border-width:0!important;padding-top:14px!important;line-height:0!important}.multiselect__option[data-select=""][data-selected=""][data-deselect=""]:after{background-color:var(--color-white)!important;padding:calc(var(--spacing)*0)!important}.multiselect__option--selected.multiselect__option[data-select][data-selected][data-deselect]:after{background-color:var(--color-primary-600)!important;color:var(--color-white)!important}li:not(.multiselect__element)>span{border-style:var(--tw-border-style)!important;border-width:1px!important;border-bottom-style:var(--tw-border-style)!important;border-bottom-width:0!important;border-color:var(--color-secondary-100)!important}@media (hover:hover){li:not(.multiselect__element)>span:hover{cursor:default!important;background-color:var(--color-white)!important}}.multiselect__content-wrapper{width:fit-content!important;min-width:100%!important;max-width:500px!important}.tabulator{margin:calc(var(--spacing)*0)!important;border-style:var(--tw-border-style)!important;border-width:1px!important;border-color:var(--color-secondary-50)!important}.tabulator .tabulator-col-resize-handle{width:5.7px!important}.tabulator-action .tabulator-col-resize-handle{width:5.5px!important}.tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-left{border-right-style:var(--tw-border-style)!important;padding:calc(var(--spacing)*0)!important;border-right-width:1px!important}.tabulator .tabulator-header{border-bottom-style:var(--tw-border-style)!important;background-color:var(--color-secondary-10)!important;border-bottom-width:1px!important;padding:5px!important}.tabulator .tabulator-header .tabulator-col{border-right-style:var(--tw-border-style)!important;border-right-width:1px!important;border-color:var(--color-secondary-50)!important;background-color:var(--color-secondary-10)!important;vertical-align:middle!important}.tabulator .tabulator-header{border-bottom-style:var(--tw-border-style)!important;border-bottom-width:1px!important;border-color:var(--color-secondary-50)!important;color:var(--color-secondary-600)!important}.tabulator-ellipse{-webkit-text-security:disc;height:30px!important;font-size:var(--text-xl)!important;line-height:var(--tw-leading,var(--text-xl--line-height))!important;--tw-font-weight:var(--font-weight-bold)!important;font-weight:var(--font-weight-bold)!important;margin-top:-2px!important;padding:10px!important;display:none!important}.tabulator-cell[tabulator-field=actions] .dropbtn:focus+.dropdown-content-list,.tabulator-cell[tabulator-field=actions] .dropbtn:active+.dropdown-content-list,.tabulator-cell[tabulator-field=action] .dropbtn:focus+.dropdown-content-list,.tabulator-cell[tabulator-field=action] .dropbtn:active+.dropdown-content-list{display:none!important}.tabulator-cell[tabulator-field=actions] .dropdown-content-list,.tabulator-cell[tabulator-field=action] .dropdown-content-list{max-height:"300px";overflow:auto}.tabulator-cell[tabulator-field=actions],.tabulator-cell[tabulator-field=action]{position:relative!important;overflow:visible!important}.tabulator-col.tabulator-sortable:hover .tabulator-col-sorter:after{content:url("data:image/svg+xml,%3Csvg%20style%3D'color%3A%23999'%20class='svg-inline--fa%20fa-arrow-down-wide-short'%20aria-hidden='true'%20focusable='false'%20data-prefix='fas'%20data-icon='arrow-down-wide-short'%20role='img'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20576%20512'%3E%3Cpath%20fill='currentColor'%20d='M151.6%20469.6C145.5%20476.2%20137%20480%20128%20480s-17.5-3.8-23.6-10.4l-88-96c-11.9-13-11.1-33.3%202-45.2s33.3-11.1%2045.2%202L96%20365.7%2096%2064c0-17.7%2014.3-32%2032-32s32%2014.3%2032%2032l0%20301.7%2032.4-35.4c11.9-13%2032.2-13.9%2045.2-2s13.9%2032.2%202%2045.2l-88%2096zM320%20480c-17.7%200-32-14.3-32-32s14.3-32%2032-32l32%200c17.7%200%2032%2014.3%2032%2032s-14.3%2032-32%2032l-32%200zm0-128c-17.7%200-32-14.3-32-32s14.3-32%2032-32l96%200c17.7%200%2032%2014.3%2032%2032s-14.3%2032-32%2032l-96%200zm0-128c-17.7%200-32-14.3-32-32s14.3-32%2032-32l160%200c17.7%200%2032%2014.3%2032%2032s-14.3%2032-32%2032l-160%200zm0-128c-17.7%200-32-14.3-32-32s14.3-32%2032-32l224%200c17.7%200%2032%2014.3%2032%2032s-14.3%2032-32%2032L320%2096z'%3E%3C/path%3E%3C/svg%3E");width:15px!important}.tabulator-col.tabulator-sortable[aria-sort=ascending] .tabulator-col-sorter:after{content:url("data:image/svg+xml,%3Csvg%20style%3D'color%3A%23666'%20class='svg-inline--fa%20fa-arrow-down-wide-short'%20aria-hidden='true'%20focusable='false'%20data-prefix='fas'%20data-icon='arrow-down-wide-short'%20role='img'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20576%20512'%3E%3Cpath%20fill='currentColor'%20d='M151.6%20469.6C145.5%20476.2%20137%20480%20128%20480s-17.5-3.8-23.6-10.4l-88-96c-11.9-13-11.1-33.3%202-45.2s33.3-11.1%2045.2%202L96%20365.7%2096%2064c0-17.7%2014.3-32%2032-32s32%2014.3%2032%2032l0%20301.7%2032.4-35.4c11.9-13%2032.2-13.9%2045.2-2s13.9%2032.2%202%2045.2l-88%2096zM320%20480c-17.7%200-32-14.3-32-32s14.3-32%2032-32l32%200c17.7%200%2032%2014.3%2032%2032s-14.3%2032-32%2032l-32%200zm0-128c-17.7%200-32-14.3-32-32s14.3-32%2032-32l96%200c17.7%200%2032%2014.3%2032%2032s-14.3%2032-32%2032l-96%200zm0-128c-17.7%200-32-14.3-32-32s14.3-32%2032-32l160%200c17.7%200%2032%2014.3%2032%2032s-14.3%2032-32%2032l-160%200zm0-128c-17.7%200-32-14.3-32-32s14.3-32%2032-32l224%200c17.7%200%2032%2014.3%2032%2032s-14.3%2032-32%2032L320%2096z'%3E%3C/path%3E%3C/svg%3E");width:15px!important}.tabulator-col.tabulator-sortable[aria-sort=descending] .tabulator-col-sorter:after{content:url("data:image/svg+xml,%3Csvg%20style%3D'color%3A%23666'%20class%3D'svg-inline--fa%20fa-arrow-up-wide-short'%20aria-hidden%3D'true'%20focusable%3D'false'%20data-prefix%3D'fas'%20data-icon%3D'arrow-up-wide-short'%20role%3D'img'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%20576%20512'%3E%3Cpath%20fill%3D'currentColor'%20d%3D'M151.6%2042.4C145.5%2035.8%20137%2032%20128%2032s-17.5%203.8-23.6%2010.4l-88%2096c-11.9%2013-11.1%2033.3%202%2045.2s33.3%2011.1%2045.2-2L96%20146.3%2096%20448c0%2017.7%2014.3%2032%2032%2032s32-14.3%2032-32l0-301.7%2032.4%2035.4c11.9%2013%2032.2%2013.9%2045.2%202s13.9-32.2%202-45.2l-88-96zM320%20480l32%200c17.7%200%2032-14.3%2032-32s-14.3-32-32-32l-32%200c-17.7%200-32%2014.3-32%2032s14.3%2032%2032%2032zm0-128l96%200c17.7%200%2032-14.3%2032-32s-14.3-32-32-32l-96%200c-17.7%200-32%2014.3-32%2032s14.3%2032%2032%2032zm0-128l160%200c17.7%200%2032-14.3%2032-32s-14.3-32-32-32l-160%200c-17.7%200-32%2014.3-32%2032s14.3%2032%2032%2032zm0-128l224%200c17.7%200%2032-14.3%2032-32s-14.3-32-32-32L320%2032c-17.7%200-32%2014.3-32%2032s14.3%2032%2032%2032z'%3E%3C%2Fpath%3E%3C%2Fsvg%3E");width:15px!important}.tabulator-col-sorter{display:flex!important}.tabulator-arrow{display:none!important}.tabulator-row.tabulator-row-even{border-bottom-style:var(--tw-border-style)!important;background-color:var(--color-white)!important;border-bottom-width:1px!important}.tabulator-row.tabulator-row-odd{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.tabulator-row.tabulator-selectable:hover{cursor:default!important;border-inline-color:var(--color-primary-50)!important;border-top-color:var(--color-primary-50)!important;background-color:color-mix(in oklab,var(--color-primary-50)50%,transparent)!important}.tabulator-row .tabulator-frozen.tabulator-frozen-left{border-bottom-style:var(--tw-border-style)!important;--tw-border-style:none!important;border-style:none!important;border-bottom-width:1px!important}.tabulator-row .tabulator-cell{border-right-style:var(--tw-border-style)!important;--tw-border-style:none!important;border-style:none!important;border-right-width:1px!important;padding-left:15px!important}.action-show{display:block!important}.tabulator .tabulator-header .tabulator-col .tabulator-col-content{margin-top:-2px!important;padding:1px 15px 2px 10px!important}.tabulator-row{border-style:var(--tw-border-style);border-width:1px;border-color:var(--color-white);border-bottom-color:var(--color-gray-200);background-color:var(--color-white);padding-block:4px}.tabulator-row .action-btn{display:none}.tabulator-row:hover .action-btn,.datarow-selected .action-btn{display:block!important}.tabulator-row.tabulator-row-even.datarow-selected,.tabulator-row.tabulator-row-odd.datarow-selected,.tabulator-row.tabulator-row-odd.datarow-selected:hover,.tabulator-row.tabulator-row-even.datarow-selected:hover{border-style:var(--tw-border-style)!important;border-width:1px!important;border-color:var(--color-primary-500)!important;background-color:color-mix(in oklab,var(--color-primary-50)50%,transparent)!important}.tabulator .tabulator-footer{z-index:999!important;border-top-style:var(--tw-border-style)!important;border-top-width:1px!important;border-top-color:var(--color-secondary-50)!important;background-color:var(--color-white)!important;position:sticky!important}.tabulator .tabulator-footer .tabulator-calcs-holder{background-color:var(--color-white)!important}.tabulator .tabulator-tableHolder .tabulator-table{color:var(--color-black)!important}.tabulator-tableholder{background-color:var(--color-white)!important}.tabulator-placeholder-contents{color:var(--color-secondary-800)!important}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter{margin-top:calc(var(--spacing)*0)!important}.tabulator .tabulator-footer .tabulator-page-size{--tw-font-weight:400!important;color:var(--color-black)!important;border-color:#e3e3e3!important;font-weight:400!important}.tabulator .tabulator-footer .tabulator-page{--tw-font-weight:400!important;border-color:#e3e3e3!important;font-weight:400!important}.tabulator .tabulator-footer .tabulator-paginator{color:var(--color-black)!important}.tabulator .tabulator-footer .tabulator-paginator label{--tw-font-weight:400!important;color:var(--color-black)!important;font-weight:400!important}.tabulator .tabulator-footer .tabulator-page:not(.disabled):hover{color:var(--color-black)!important;background-color:#d6eaff!important}.tabulator .tabulator-header .tabulator-col:last-child{border-style:var(--tw-border-style)!important;border-width:0!important}.tabulator-row:hover .dropbtn{display:block!important}.tabulator-cell{height:35px!important}.tabulator-tableHolder::-webkit-scrollbar{height:calc(var(--spacing)*0)!important;width:calc(var(--spacing)*0)!important}.tabulator-tableHolder.show-scroll::-webkit-scrollbar{width:5px!important;height:5px!important}.tabulator-tableHolder::-webkit-scrollbar:hover{width:5px!important;height:5px!important}.tabulator-tableHolder:not(.show-scroll){padding-bottom:.1px}.tabulator-col-content{margin-inline:4px!important;margin-block:calc(var(--spacing)*0)!important}.tabulator-calcs-bottom{background-color:var(--color-white)!important}.tabulator .tabulator-footer .tabulator-calcs-holder .tabulator-row,.tabulator .tabulator-footer .tabulator-calcs-holder .tabulator-row.tabulator-row{background-color:var(--color-white)!important;color:#3e3e3e!important}.tabulator-placeholder span{font-size:var(--text-sm)!important;line-height:var(--tw-leading,var(--text-sm--line-height))!important;--tw-font-weight:var(--font-weight-medium)!important;font-weight:var(--font-weight-medium)!important;color:var(--color-black)!important}.tabulator [type=search]{border-style:var(--tw-border-style);--tw-font-weight:400;border-width:1px;border-color:#e3e3e3;font-weight:400}.tabulator .tabulator-footer{z-index:2!important}.tabulator .tabulator-col-resize-handle:last-of-type{width:5px}.content-body:has(.content-search) .tabulator-body{margin-top:-30px!important}.tabulator-paginator>label,.tabulator-paginator .tabulator-page-size{display:none!important}.content-div{margin-bottom:calc(var(--spacing)*6);border-style:var(--tw-border-style);background-color:var(--color-white);border-width:1px;width:100%}.content-div .content-title-div{border-bottom-style:var(--tw-border-style);border-bottom-width:1px;justify-content:space-between;height:60px;min-height:60px;max-height:60px;padding-block:15px;padding-inline:15px;display:flex}.content-div .content-title-div .content-title{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height));--tw-font-weight:var(--font-weight-bold);font-size:19px;font-weight:var(--font-weight-bold);margin-block:auto;display:flex}.content-div .content-title-div .content-title>div{display:flex}.content-div .content-title-div .content-action{gap:5px;display:flex}.content-div .content-body{padding:calc(var(--spacing)*4);min-height:calc(100vh - 165px);overflow:auto}.nav-dropdown-enter-active,.nav-dropdown-leave-active{transition:max-height .2s;overflow:hidden}.nav-dropdown-enter-from,.nav-dropdown-leave-to{max-height:0}.nav-dropdown-enter-to,.nav-dropdown-leave-from{max-height:1000px}.sidebar::-webkit-scrollbar-thumb{background-color:#0000}.show-scrollbar::-webkit-scrollbar{background-color:#757575}::-webkit-scrollbar-track{background-color:#0000;border-radius:5px}::-webkit-scrollbar{background-color:#0000;width:5px;height:5px}::-webkit-scrollbar-thumb{background-color:#757575;border-radius:5px}.tabulator{text-align:left;background-color:#888;border:1px solid #999;font-size:14px;position:relative;overflow:hidden;transform:translateZ(0)}.tabulator[tabulator-layout=fitDataFill] .tabulator-tableholder .tabulator-table{min-width:100%}.tabulator[tabulator-layout=fitDataTable]{display:inline-block}.tabulator.tabulator-block-select,.tabulator.tabulator-ranges .tabulator-cell:not(.tabulator-editing){-webkit-user-select:none;user-select:none}.tabulator .tabulator-header{box-sizing:border-box;color:#555;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-khtml-user-select:none;-o-user-select:none;background-color:#e6e6e6;border-bottom:1px solid #999;outline:none;width:100%;font-weight:700;position:relative;overflow:hidden}.tabulator .tabulator-header.tabulator-header-hidden{display:none}.tabulator .tabulator-header .tabulator-header-contents{position:relative;overflow:hidden}.tabulator .tabulator-header .tabulator-header-contents .tabulator-headers{display:inline-block}.tabulator .tabulator-header .tabulator-col{box-sizing:border-box;text-align:left;vertical-align:bottom;background:#e6e6e6;border-right:1px solid #aaa;flex-direction:column;justify-content:flex-start;display:inline-flex;position:relative;overflow:hidden}.tabulator .tabulator-header .tabulator-col.tabulator-moving{pointer-events:none;background:#cdcdcd;border:1px solid #999;position:absolute}.tabulator .tabulator-header .tabulator-col.tabulator-range-highlight{color:#000;background-color:#d6d6d6}.tabulator .tabulator-header .tabulator-col.tabulator-range-selected{color:#fff;background-color:#3876ca}.tabulator .tabulator-header .tabulator-col .tabulator-col-content{box-sizing:border-box;padding:4px;position:relative}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-header-popup-button{padding:0 8px}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-header-popup-button:hover{cursor:pointer;opacity:.6}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title-holder{position:relative}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title{box-sizing:border-box;white-space:nowrap;text-overflow:ellipsis;vertical-align:bottom;width:100%;overflow:hidden}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title.tabulator-col-title-wrap{white-space:normal;text-overflow:initial}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title .tabulator-title-editor{box-sizing:border-box;background:#fff;border:1px solid #999;width:100%;padding:1px}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title .tabulator-header-popup-button+.tabulator-title-editor{width:calc(100% - 22px)}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter{align-items:center;display:flex;position:absolute;top:0;bottom:0;right:4px}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-bottom:6px solid #bbb;border-left:6px solid #0000;border-right:6px solid #0000;width:0;height:0}.tabulator .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols{border-top:1px solid #aaa;margin-right:-1px;display:flex;position:relative;overflow:hidden}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter{box-sizing:border-box;text-align:center;width:100%;margin-top:2px;position:relative}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter textarea{height:auto!important}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter svg{margin-top:3px}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter input::-ms-clear{width:0;height:0}.tabulator .tabulator-header .tabulator-col.tabulator-sortable .tabulator-col-title{padding-right:25px}@media (hover:hover) and (pointer:fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable.tabulator-col-sorter-element:hover{cursor:pointer;background-color:#cdcdcd}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter{color:#bbb}@media (hover:hover) and (pointer:fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter.tabulator-col-sorter-element .tabulator-arrow:hover{cursor:pointer;border-bottom:6px solid #555}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-top:none;border-bottom:6px solid #bbb}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=ascending] .tabulator-col-content .tabulator-col-sorter{color:#666}@media (hover:hover) and (pointer:fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=ascending] .tabulator-col-content .tabulator-col-sorter.tabulator-col-sorter-element .tabulator-arrow:hover{cursor:pointer;border-bottom:6px solid #555}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=ascending] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-top:none;border-bottom:6px solid #666}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=descending] .tabulator-col-content .tabulator-col-sorter{color:#666}@media (hover:hover) and (pointer:fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=descending] .tabulator-col-content .tabulator-col-sorter.tabulator-col-sorter-element .tabulator-arrow:hover{cursor:pointer;border-top:6px solid #555}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=descending] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{color:#666;border-top:6px solid #666;border-bottom:none}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical .tabulator-col-content .tabulator-col-title{writing-mode:vertical-rl;text-orientation:mixed;justify-content:center;align-items:center;display:flex}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-col-vertical-flip .tabulator-col-title{transform:rotate(180deg)}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable .tabulator-col-title{padding-top:20px;padding-right:0}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable.tabulator-col-vertical-flip .tabulator-col-title{padding-bottom:20px;padding-right:0}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable .tabulator-col-sorter{justify-content:center;inset:4px 0 auto}.tabulator .tabulator-header .tabulator-frozen{z-index:11;position:sticky;left:0}.tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-left{border-right:2px solid #aaa}.tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-right{border-left:2px solid #aaa}.tabulator .tabulator-header .tabulator-calcs-holder{box-sizing:border-box;border-top:1px solid #aaa;border-bottom:1px solid #aaa;display:inline-block;background:#f3f3f3!important}.tabulator .tabulator-header .tabulator-calcs-holder .tabulator-row{background:#f3f3f3!important}.tabulator .tabulator-header .tabulator-calcs-holder .tabulator-row .tabulator-col-resize-handle{display:none}.tabulator .tabulator-header .tabulator-frozen-rows-holder{display:inline-block}.tabulator .tabulator-header .tabulator-frozen-rows-holder:empty{display:none}.tabulator .tabulator-tableholder{white-space:nowrap;-webkit-overflow-scrolling:touch;width:100%;position:relative;overflow:auto}.tabulator .tabulator-tableholder:focus{outline:none}.tabulator .tabulator-tableholder .tabulator-placeholder{box-sizing:border-box;justify-content:center;align-items:center;width:100%;min-width:100%;display:flex}.tabulator .tabulator-tableholder .tabulator-placeholder[tabulator-render-mode=virtual]{min-height:100%}.tabulator .tabulator-tableholder .tabulator-placeholder .tabulator-placeholder-contents{text-align:center;color:#ccc;white-space:normal;padding:10px;font-size:20px;font-weight:700;display:inline-block}.tabulator .tabulator-tableholder .tabulator-table{white-space:nowrap;color:#333;background-color:#fff;display:inline-block;position:relative;overflow:visible}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.tabulator-calcs{font-weight:700;background:#e2e2e2!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.tabulator-calcs.tabulator-calcs-top{border-bottom:2px solid #aaa}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.tabulator-calcs.tabulator-calcs-bottom{border-top:2px solid #aaa}.tabulator .tabulator-tableholder .tabulator-range-overlay{z-index:10;pointer-events:none;position:absolute;top:0;right:0;bottom:0;left:0}.tabulator .tabulator-tableholder .tabulator-range-overlay .tabulator-range{box-sizing:border-box;border:1px solid #2975dd;position:absolute}.tabulator .tabulator-tableholder .tabulator-range-overlay .tabulator-range.tabulator-range-active:after{content:"";background-color:#2975dd;border-radius:999px;width:6px;height:6px;position:absolute;bottom:-3px;right:-3px}.tabulator .tabulator-tableholder .tabulator-range-overlay .tabulator-range-cell-active{box-sizing:border-box;border:2px solid #2975dd;position:absolute}.tabulator .tabulator-footer{color:#555;white-space:nowrap;-webkit-user-select:none;user-select:none;-khtml-user-select:none;-o-user-select:none;background-color:#e6e6e6;border-top:1px solid #999;font-weight:700}.tabulator .tabulator-footer .tabulator-footer-contents{flex-direction:row;justify-content:space-between;align-items:center;padding:5px 10px;display:flex}.tabulator .tabulator-footer .tabulator-footer-contents:empty{display:none}.tabulator .tabulator-footer .tabulator-spreadsheet-tabs{margin-top:-5px;overflow-x:auto}.tabulator .tabulator-footer .tabulator-spreadsheet-tabs .tabulator-spreadsheet-tab{border:1px solid #999;border-top:none;border-bottom-right-radius:5px;border-bottom-left-radius:5px;padding:5px;font-size:.9em;display:inline-block}.tabulator .tabulator-footer .tabulator-spreadsheet-tabs .tabulator-spreadsheet-tab:hover{cursor:pointer;opacity:.7}.tabulator .tabulator-footer .tabulator-spreadsheet-tabs .tabulator-spreadsheet-tab.tabulator-spreadsheet-tab-active{background:#fff}.tabulator .tabulator-footer .tabulator-calcs-holder{box-sizing:border-box;text-align:left;border-top:1px solid #aaa;border-bottom:1px solid #aaa;width:100%;overflow:hidden;background:#f3f3f3!important}.tabulator .tabulator-footer .tabulator-calcs-holder .tabulator-row{display:inline-block;background:#f3f3f3!important}.tabulator .tabulator-footer .tabulator-calcs-holder .tabulator-row .tabulator-col-resize-handle{display:none}.tabulator .tabulator-footer .tabulator-calcs-holder:only-child{border-bottom:none;margin-bottom:-5px}.tabulator .tabulator-footer>*+.tabulator-page-counter{margin-left:10px}.tabulator .tabulator-footer .tabulator-page-counter{font-weight:400}.tabulator .tabulator-footer .tabulator-paginator{text-align:right;color:#555;font-family:inherit;font-weight:inherit;font-size:inherit;flex:1}.tabulator .tabulator-footer .tabulator-page-size{border:1px solid #aaa;border-radius:3px;margin:0 5px;padding:2px 5px;display:inline-block}.tabulator .tabulator-footer .tabulator-pages{margin:0 7px}.tabulator .tabulator-footer .tabulator-page{background:#fff3;border:1px solid #aaa;border-radius:3px;margin:0 2px;padding:2px 5px;display:inline-block}.tabulator .tabulator-footer .tabulator-page.active{color:#d00}.tabulator .tabulator-footer .tabulator-page:disabled{opacity:.5}@media (hover:hover) and (pointer:fine){.tabulator .tabulator-footer .tabulator-page:not(disabled):hover{cursor:pointer;color:#fff;background:#0003}}.tabulator .tabulator-col-resize-handle{z-index:11;vertical-align:middle;width:6px;margin-left:-3px;margin-right:-3px;display:inline-block;position:relative}@media (hover:hover) and (pointer:fine){.tabulator .tabulator-col-resize-handle:hover{cursor:ew-resize}}.tabulator .tabulator-col-resize-handle:last-of-type{width:3px;margin-right:0}.tabulator .tabulator-col-resize-guide{opacity:.5;background-color:#999;width:4px;height:100%;margin-left:-.5px;position:absolute;top:0}.tabulator .tabulator-row-resize-guide{opacity:.5;background-color:#999;width:100%;height:4px;margin-top:-.5px;position:absolute;left:0}.tabulator .tabulator-alert{z-index:100;text-align:center;background:#0006;align-items:center;width:100%;height:100%;display:flex;position:absolute;top:0;left:0}.tabulator .tabulator-alert .tabulator-alert-msg{background:#fff;border-radius:10px;margin:0 auto;padding:10px 20px;font-size:16px;font-weight:700;display:inline-block}.tabulator .tabulator-alert .tabulator-alert-msg.tabulator-alert-state-msg{color:#000;border:4px solid #333}.tabulator .tabulator-alert .tabulator-alert-msg.tabulator-alert-state-error{color:#590000;border:4px solid #d00}.tabulator-row{box-sizing:border-box;background-color:#fff;min-height:22px;position:relative}.tabulator-row.tabulator-row-even{background-color:#efefef}@media (hover:hover) and (pointer:fine){.tabulator-row.tabulator-selectable:hover{cursor:pointer;background-color:#bbb}}.tabulator-row.tabulator-selected{background-color:#9abcea}@media (hover:hover) and (pointer:fine){.tabulator-row.tabulator-selected:hover{cursor:pointer;background-color:#769bcc}}.tabulator-row.tabulator-row-moving{background:#fff;border:1px solid #000}.tabulator-row.tabulator-moving{pointer-events:none;z-index:15;border-top:1px solid #aaa;border-bottom:1px solid #aaa;position:absolute}.tabulator-row.tabulator-range-highlight .tabulator-cell.tabulator-range-row-header{color:#000;background-color:#d6d6d6}.tabulator-row.tabulator-range-highlight.tabulator-range-selected .tabulator-cell.tabulator-range-row-header,.tabulator-row.tabulator-range-selected .tabulator-cell.tabulator-range-row-header{color:#fff;background-color:#3876ca}.tabulator-row .tabulator-row-resize-handle{height:5px;position:absolute;bottom:0;left:0;right:0}.tabulator-row .tabulator-row-resize-handle.prev{top:0;bottom:auto}@media (hover:hover) and (pointer:fine){.tabulator-row .tabulator-row-resize-handle:hover{cursor:ns-resize}}.tabulator-row .tabulator-responsive-collapse{box-sizing:border-box;border-top:1px solid #aaa;border-bottom:1px solid #aaa;padding:5px}.tabulator-row .tabulator-responsive-collapse:empty{display:none}.tabulator-row .tabulator-responsive-collapse table{font-size:14px}.tabulator-row .tabulator-responsive-collapse table tr td{position:relative}.tabulator-row .tabulator-responsive-collapse table tr td:first-of-type{padding-right:10px}.tabulator-row .tabulator-cell{box-sizing:border-box;vertical-align:middle;white-space:nowrap;text-overflow:ellipsis;border-right:1px solid #aaa;outline:none;padding:4px;display:inline-block;position:relative;overflow:hidden}.tabulator-row .tabulator-cell.tabulator-row-header{background:#e6e6e6;border-bottom:1px solid #aaa;border-right:1px solid #999}.tabulator-row .tabulator-cell.tabulator-frozen{background-color:inherit;z-index:11;display:inline-block;position:sticky;left:0}.tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-left{border-right:2px solid #aaa}.tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-right{border-left:2px solid #aaa}.tabulator-row .tabulator-cell.tabulator-editing{border:1px solid #1d68cd;outline:none;padding:0}.tabulator-row .tabulator-cell.tabulator-editing input,.tabulator-row .tabulator-cell.tabulator-editing select{background:0 0;border:1px;outline:none}.tabulator-row .tabulator-cell.tabulator-validation-fail{border:1px solid #d00}.tabulator-row .tabulator-cell.tabulator-validation-fail input,.tabulator-row .tabulator-cell.tabulator-validation-fail select{color:#d00;background:0 0;border:1px}.tabulator-row .tabulator-cell.tabulator-row-handle{-webkit-user-select:none;-moz-user-select:none;-khtml-user-select:none;-o-user-select:none;justify-content:center;align-items:center;display:inline-flex}.tabulator-row .tabulator-cell.tabulator-row-handle .tabulator-row-handle-box{width:80%}.tabulator-row .tabulator-cell.tabulator-row-handle .tabulator-row-handle-box .tabulator-row-handle-bar{background:#666;width:100%;height:3px;margin-top:2px}.tabulator-row .tabulator-cell.tabulator-range-selected:not(.tabulator-range-only-cell-selected):not(.tabulator-range-row-header){background-color:#9abcea}.tabulator-row .tabulator-cell .tabulator-data-tree-branch-empty{width:7px;display:inline-block}.tabulator-row .tabulator-cell .tabulator-data-tree-branch{vertical-align:middle;border-bottom:2px solid #aaa;border-left:2px solid #aaa;border-bottom-left-radius:1px;width:7px;height:9px;margin-top:-9px;margin-right:5px;display:inline-block}.tabulator-row .tabulator-cell .tabulator-data-tree-control{vertical-align:middle;background:#0000001a;border:1px solid #333;border-radius:2px;justify-content:center;align-items:center;width:11px;height:11px;margin-right:5px;display:inline-flex;overflow:hidden}@media (hover:hover) and (pointer:fine){.tabulator-row .tabulator-cell .tabulator-data-tree-control:hover{cursor:pointer;background:#0003}}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-collapse{background:0 0;width:1px;height:7px;display:inline-block;position:relative}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-collapse:after{content:"";background:#333;width:7px;height:1px;position:absolute;top:3px;left:-3px}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-expand{background:#333;width:1px;height:7px;display:inline-block;position:relative}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-expand:after{content:"";background:#333;width:7px;height:1px;position:absolute;top:3px;left:-3px}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle{-webkit-user-select:none;-moz-user-select:none;-khtml-user-select:none;-o-user-select:none;color:#fff;background:#666;border-radius:20px;justify-content:center;align-items:center;width:15px;height:15px;font-size:1.1em;font-weight:700;display:inline-flex}@media (hover:hover) and (pointer:fine){.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle:hover{opacity:.7;cursor:pointer}}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle.open .tabulator-responsive-collapse-toggle-close{display:initial}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle.open .tabulator-responsive-collapse-toggle-open{display:none}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle svg{stroke:#fff}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle .tabulator-responsive-collapse-toggle-close{display:none}.tabulator-row .tabulator-cell .tabulator-traffic-light{border-radius:14px;width:14px;height:14px;display:inline-block}.tabulator-row.tabulator-group{box-sizing:border-box;background:#ccc;border-top:1px solid #999;border-bottom:1px solid #999;border-right:1px solid #aaa;min-width:100%;padding:5px 5px 5px 10px;font-weight:700}@media (hover:hover) and (pointer:fine){.tabulator-row.tabulator-group:hover{cursor:pointer;background-color:#0000001a}}.tabulator-row.tabulator-group.tabulator-group-visible .tabulator-arrow{border:6px solid #0000;border-top-color:#666;border-bottom:0;margin-right:10px}.tabulator-row.tabulator-group.tabulator-group-level-1{padding-left:30px}.tabulator-row.tabulator-group.tabulator-group-level-2{padding-left:50px}.tabulator-row.tabulator-group.tabulator-group-level-3{padding-left:70px}.tabulator-row.tabulator-group.tabulator-group-level-4{padding-left:90px}.tabulator-row.tabulator-group.tabulator-group-level-5{padding-left:110px}.tabulator-row.tabulator-group .tabulator-group-toggle{display:inline-block}.tabulator-row.tabulator-group .tabulator-arrow{vertical-align:middle;border:6px solid #0000;border-left-color:#666;border-right:0;width:0;height:0;margin-right:16px;display:inline-block}.tabulator-row.tabulator-group span{color:#d00;margin-left:10px}.tabulator-toggle{box-sizing:border-box;background:#dcdcdc;border:1px solid #ccc;flex-direction:row;display:flex}.tabulator-toggle.tabulator-toggle-on{background:#1c6cc2}.tabulator-toggle .tabulator-toggle-switch{box-sizing:border-box;background:#fff;border:1px solid #ccc}.tabulator-popup-container{box-sizing:border-box;-webkit-overflow-scrolling:touch;z-index:10000;background:#fff;border:1px solid #aaa;font-size:14px;display:inline-block;position:absolute;overflow-y:auto;box-shadow:0 0 5px #0003}.tabulator-popup{border-radius:3px;padding:5px}.tabulator-tooltip{max-width:min(500px,100%);box-shadow:none;pointer-events:none;border-radius:2px;padding:3px 5px;font-size:12px}.tabulator-menu .tabulator-menu-item{box-sizing:border-box;-webkit-user-select:none;user-select:none;padding:5px 10px;position:relative}.tabulator-menu .tabulator-menu-item.tabulator-menu-item-disabled{opacity:.5}@media (hover:hover) and (pointer:fine){.tabulator-menu .tabulator-menu-item:not(.tabulator-menu-item-disabled):hover{cursor:pointer;background:#efefef}}.tabulator-menu .tabulator-menu-item.tabulator-menu-item-submenu{padding-right:25px}.tabulator-menu .tabulator-menu-item.tabulator-menu-item-submenu:after{content:"";vertical-align:top;border:1px solid #aaa;border-width:1px 1px 0 0;width:7px;height:7px;display:inline-block;position:absolute;top:calc(5px + .4em);right:10px;transform:rotate(45deg)}.tabulator-menu .tabulator-menu-separator{border-top:1px solid #aaa}.tabulator-edit-list{-webkit-overflow-scrolling:touch;max-height:200px;font-size:14px;overflow-y:auto}.tabulator-edit-list .tabulator-edit-list-item{color:#333;outline:none;padding:4px}.tabulator-edit-list .tabulator-edit-list-item.active{color:#fff;background:#1d68cd}.tabulator-edit-list .tabulator-edit-list-item.active.focused{outline:1px solid #ffffff80}.tabulator-edit-list .tabulator-edit-list-item.focused{outline:1px solid #1d68cd}@media (hover:hover) and (pointer:fine){.tabulator-edit-list .tabulator-edit-list-item:hover{cursor:pointer;color:#fff;background:#1d68cd}}.tabulator-edit-list .tabulator-edit-list-placeholder{color:#333;text-align:center;padding:4px}.tabulator-edit-list .tabulator-edit-list-group{color:#333;border-bottom:1px solid #aaa;padding:6px 4px 4px;font-weight:700}.tabulator-edit-list .tabulator-edit-list-item.tabulator-edit-list-group-level-2,.tabulator-edit-list .tabulator-edit-list-group.tabulator-edit-list-group-level-2{padding-left:12px}.tabulator-edit-list .tabulator-edit-list-item.tabulator-edit-list-group-level-3,.tabulator-edit-list .tabulator-edit-list-group.tabulator-edit-list-group-level-3{padding-left:20px}.tabulator-edit-list .tabulator-edit-list-item.tabulator-edit-list-group-level-4,.tabulator-edit-list .tabulator-edit-list-group.tabulator-edit-list-group-level-4{padding-left:28px}.tabulator-edit-list .tabulator-edit-list-item.tabulator-edit-list-group-level-5,.tabulator-edit-list .tabulator-edit-list-group.tabulator-edit-list-group-level-5{padding-left:36px}.tabulator.tabulator-ltr{direction:ltr}.tabulator.tabulator-rtl{text-align:initial;direction:rtl}.tabulator.tabulator-rtl .tabulator-header .tabulator-col{text-align:initial;border-left:1px solid #aaa;border-right:initial}.tabulator.tabulator-rtl .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols{margin-right:initial;margin-left:-1px}.tabulator.tabulator-rtl .tabulator-header .tabulator-col.tabulator-sortable .tabulator-col-title{padding-left:25px;padding-right:0}.tabulator.tabulator-rtl .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter{left:8px;right:initial}.tabulator.tabulator-rtl .tabulator-tableholder .tabulator-range-overlay .tabulator-range.tabulator-range-active:after{content:"";left:-3px;right:initial;background-color:#2975dd;border-radius:999px;width:6px;height:6px;position:absolute;bottom:-3px}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell{border-right:initial;border-left:1px solid #aaa}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell .tabulator-data-tree-branch{margin-right:initial;border-bottom-left-radius:initial;border-left:initial;border-right:2px solid #aaa;border-bottom-right-radius:1px;margin-left:5px}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell .tabulator-data-tree-control{margin-right:initial;margin-left:5px}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-left{border-left:2px solid #aaa}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-right{border-right:2px solid #aaa}.tabulator.tabulator-rtl .tabulator-row .tabulator-col-resize-handle:last-of-type{width:3px;margin-left:0;margin-right:-3px}.tabulator.tabulator-rtl .tabulator-footer .tabulator-calcs-holder{text-align:initial}.tabulator-print-fullscreen{z-index:10000;position:absolute;top:0;right:0;bottom:0;left:0}body.tabulator-print-fullscreen-hide>:not(.tabulator-print-fullscreen){display:none!important}.tabulator-print-table{border-collapse:collapse}.tabulator-print-table .tabulator-data-tree-branch{vertical-align:middle;border-bottom:2px solid #aaa;border-left:2px solid #aaa;border-bottom-left-radius:1px;width:7px;height:9px;margin-top:-9px;margin-right:5px;display:inline-block}.tabulator-print-table .tabulator-print-table-group{box-sizing:border-box;background:#ccc;border-top:1px solid #999;border-bottom:1px solid #999;border-right:1px solid #aaa;min-width:100%;padding:5px 5px 5px 10px;font-weight:700}@media (hover:hover) and (pointer:fine){.tabulator-print-table .tabulator-print-table-group:hover{cursor:pointer;background-color:#0000001a}}.tabulator-print-table .tabulator-print-table-group.tabulator-group-visible .tabulator-arrow{border:6px solid #0000;border-top-color:#666;border-bottom:0;margin-right:10px}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-1 td{padding-left:30px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-2 td{padding-left:50px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-3 td{padding-left:70px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-4 td{padding-left:90px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-5 td{padding-left:110px!important}.tabulator-print-table .tabulator-print-table-group .tabulator-group-toggle{display:inline-block}.tabulator-print-table .tabulator-print-table-group .tabulator-arrow{vertical-align:middle;border:6px solid #0000;border-left-color:#666;border-right:0;width:0;height:0;margin-right:16px;display:inline-block}.tabulator-print-table .tabulator-print-table-group span{color:#d00;margin-left:10px}.tabulator-print-table .tabulator-data-tree-control{vertical-align:middle;background:#0000001a;border:1px solid #333;border-radius:2px;justify-content:center;align-items:center;width:11px;height:11px;margin-right:5px;display:inline-flex;overflow:hidden}@media (hover:hover) and (pointer:fine){.tabulator-print-table .tabulator-data-tree-control:hover{cursor:pointer;background:#0003}}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-collapse{background:0 0;width:1px;height:7px;display:inline-block;position:relative}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-collapse:after{content:"";background:#333;width:7px;height:1px;position:absolute;top:3px;left:-3px}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-expand{background:#333;width:1px;height:7px;display:inline-block;position:relative}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-expand:after{content:"";background:#333;width:7px;height:1px;position:absolute;top:3px;left:-3px}@keyframes spinning{0%{transform:rotate(0)}to{transform:rotate(2turn)}}fieldset[disabled] .multiselect{pointer-events:none}.multiselect__spinner{background:#fff;width:40px;height:38px;display:block;position:absolute;top:1px;right:1px}.multiselect__spinner:after,.multiselect__spinner:before{content:"";border:2px solid #0000;border-top-color:#41b883;border-radius:100%;width:16px;height:16px;margin:-8px 0 0 -8px;animation:2.4s cubic-bezier(.41,.26,.2,.62) infinite spinning;position:absolute;top:50%;left:50%;box-shadow:0 0 0 1px #0000}.multiselect__spinner:after{animation:2.4s cubic-bezier(.51,.09,.21,.8) spinning}.multiselect__loading-enter-active{opacity:1;transition:opacity .4s ease-in-out}.multiselect__loading-leave-active{transition:opacity .4s ease-in-out}.multiselect__loading-enter,.multiselect__loading-leave-active{opacity:0}.multiselect,.multiselect__input,.multiselect__single{touch-action:manipulation;font-family:inherit;font-size:16px}.multiselect{box-sizing:content-box;text-align:left;color:#35495e;width:100%;min-height:40px;display:block;position:relative}.multiselect *{box-sizing:border-box}.multiselect:focus{outline:0}.multiselect--disabled{pointer-events:none;opacity:.6;background:#ededed}.multiselect--active{z-index:50}.multiselect--active:not(.multiselect--above) .multiselect__current,.multiselect--active:not(.multiselect--above) .multiselect__input,.multiselect--active:not(.multiselect--above) .multiselect__tags{border-bottom-right-radius:0;border-bottom-left-radius:0}.multiselect--active .multiselect__select{transform:rotate(180deg)}.multiselect--above.multiselect--active .multiselect__current,.multiselect--above.multiselect--active .multiselect__input,.multiselect--above.multiselect--active .multiselect__tags{border-top-left-radius:0;border-top-right-radius:0}.multiselect__input{margin-bottom:8px;padding:0 0 0 5px}.multiselect__input,.multiselect__single{box-sizing:border-box;vertical-align:top;background:#fff;border:0;border-radius:5px;width:100%;min-height:20px;line-height:20px;transition:border .1s;display:inline-block;position:relative}.multiselect__input::placeholder{color:#35495e}.multiselect__tag~.multiselect__input,.multiselect__tag~.multiselect__single{width:auto}.multiselect__input:hover,.multiselect__single:hover{border-color:#cfcfcf}.multiselect__input:focus,.multiselect__single:focus{border-color:#a8a8a8;outline:0}.multiselect__single{margin-bottom:8px;padding:0 0 0 5px}.multiselect__tags-wrap{display:inline}.multiselect__tags{background:#fff;border:1px solid #e8e8e8;border-radius:5px;min-height:40px;padding:8px 40px 0 8px;font-size:14px;display:block}.multiselect__tag{color:#fff;white-space:nowrap;text-overflow:ellipsis;background:#41b883;border-radius:5px;max-width:100%;margin-bottom:5px;margin-right:10px;padding:4px 26px 4px 10px;line-height:1;display:inline-block;position:relative;overflow:hidden}.multiselect__tag-icon{cursor:pointer;font-weight:700;font-style:initial;text-align:center;border-radius:5px;width:22px;margin-left:7px;line-height:22px;transition:all .2s;position:absolute;top:0;bottom:0;right:0}.multiselect__tag-icon:after{content:"×";color:#266d4d;font-size:14px}.multiselect__tag-icon:focus:after,.multiselect__tag-icon:hover:after{color:#fff}.multiselect__current,.multiselect__select{box-sizing:border-box;cursor:pointer;margin:0;line-height:16px;text-decoration:none;display:block}.multiselect__current{white-space:nowrap;border:1px solid #e8e8e8;border-radius:5px;min-height:40px;padding:8px 30px 0 12px;overflow:hidden}.multiselect__select{text-align:center;width:40px;height:38px;padding:4px 8px;transition:transform .2s;position:absolute;top:1px;right:1px}.multiselect__select:before{color:#999;content:"";border:5px solid #0000;border-top-color:#999;border-bottom-width:0;margin-top:4px;position:relative;top:65%;right:0}.multiselect__placeholder{color:#adadad;margin-bottom:10px;padding-top:2px;display:inline-block}.multiselect--active .multiselect__placeholder{display:none}.multiselect__content-wrapper{z-index:50;-webkit-overflow-scrolling:touch;background:#fff;border:1px solid #e8e8e8;border-top:none;border-bottom-right-radius:5px;border-bottom-left-radius:5px;width:100%;max-height:240px;display:block;position:absolute;overflow:auto}.multiselect__content{vertical-align:top;min-width:100%;margin:0;padding:0;list-style:none;display:inline-block}.multiselect--above .multiselect__content-wrapper{border-top:1px solid #e8e8e8;border-bottom:none;border-radius:5px 5px 0 0;bottom:100%}.multiselect__content::-webkit-scrollbar{display:none}.multiselect__element{display:block}.multiselect__option{text-transform:none;vertical-align:middle;cursor:pointer;white-space:nowrap;min-height:40px;padding:12px;line-height:16px;text-decoration:none;display:block;position:relative}.multiselect__option:after{padding-left:20px;padding-right:12px;font-size:13px;line-height:40px;position:absolute;top:0;right:0}.multiselect__option--highlight{color:#fff;background:#41b883;outline:0}.multiselect__option--highlight:after{content:attr(data-select);color:#fff;background:#41b883}.multiselect__option--selected{color:#35495e;background:#f3f3f3;font-weight:700}.multiselect__option--selected:after{content:attr(data-selected);color:silver;background:inherit}.multiselect__option--selected.multiselect__option--highlight{color:#fff;background:#ff6a6a}.multiselect__option--selected.multiselect__option--highlight:after{content:attr(data-deselect);color:#fff;background:#ff6a6a}.multiselect--disabled .multiselect__current,.multiselect--disabled .multiselect__select{color:#a6a6a6;background:#ededed}.multiselect__option--disabled{cursor:text;pointer-events:none;color:#a6a6a6!important;background:#ededed!important}.multiselect__option--group{color:#35495e;background:#ededed}.multiselect__option--group.multiselect__option--highlight{color:#fff;background:#35495e}.multiselect__option--group.multiselect__option--highlight:after{background:#35495e}.multiselect__option--disabled.multiselect__option--highlight{background:#dedede}.multiselect__option--group-selected.multiselect__option--highlight{color:#fff;background:#ff6a6a}.multiselect__option--group-selected.multiselect__option--highlight:after{content:attr(data-deselect);color:#fff;background:#ff6a6a}.multiselect-enter-active,.multiselect-leave-active{transition:all .15s}.multiselect-enter,.multiselect-leave-active{opacity:0}.multiselect__strong{vertical-align:top;margin-bottom:8px;line-height:20px;display:inline-block}[dir=rtl] .multiselect{text-align:right}[dir=rtl] .multiselect__select{left:1px;right:auto}[dir=rtl] .multiselect__tags{padding:8px 8px 0 40px}[dir=rtl] .multiselect__content{text-align:right}[dir=rtl] .multiselect__option:after{left:0;right:auto}[dir=rtl] .multiselect__clear{left:12px;right:auto}[dir=rtl] .multiselect__spinner{left:1px;right:auto}}@layer components{input{border-style:var(--tw-border-style);border-width:1px;border-color:var(--color-secondary-100);background-color:var(--color-white);height:30px;min-height:30px;max-height:30px;padding-inline:calc(var(--spacing)*1);border-radius:2px}input:focus{border-color:var(--color-primary-100)!important}input:disabled{cursor:not-allowed;border-color:var(--color-secondary-100);background-color:var(--color-secondary-50);color:var(--color-secondary-500)}.content-search{flex-wrap:wrap;align-items:center;gap:5px;display:flex}span[role=alert]{margin-left:calc(var(--spacing)*1);color:var(--color-red-500);font-size:12px}}@layer utilities{.\!visible{visibility:visible!important}.collapse{visibility:collapse}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.top-0{top:calc(var(--spacing)*0)}.top-\[7px\]{top:7px}.top-\[15px\]{top:15px}.top-\[50px\]{top:50px}.right-0{right:calc(var(--spacing)*0)}.right-4{right:calc(var(--spacing)*4)}.bottom-0{bottom:calc(var(--spacing)*0)}.left-0{left:calc(var(--spacing)*0)}.isolate{isolation:isolate}.z-3{z-index:3}.z-10{z-index:10}.z-11{z-index:11}.\!container{width:100%!important}@media (width>=40rem){.\!container{max-width:40rem!important}}@media (width>=48rem){.\!container{max-width:48rem!important}}@media (width>=64rem){.\!container{max-width:64rem!important}}@media (width>=80rem){.\!container{max-width:80rem!important}}@media (width>=96rem){.\!container{max-width:96rem!important}}.container{width:100%}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.mx-1\.5{margin-inline:calc(var(--spacing)*1.5)}.mx-4{margin-inline:calc(var(--spacing)*4)}.mx-auto{margin-inline:auto}.my-2{margin-block:calc(var(--spacing)*2)}.my-\[1px\]{margin-block:1px}.my-\[75px\]{margin-block:75px}.my-auto{margin-block:auto}.mt-2{margin-top:calc(var(--spacing)*2)}.mt-\[4px\]{margin-top:4px}.mr-2\.5{margin-right:calc(var(--spacing)*2.5)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.\!hidden{display:none!important}.\!table{display:table!important}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.table{display:table}.h-\[15px\]{height:15px}.h-\[25px\]{height:25px}.h-\[30px\]{height:30px}.h-\[100vh\]{height:100vh}.h-fit{height:fit-content}.h-full{height:100%}.h-screen{height:100vh}.max-h-\[50px\]{max-height:50px}.w-1\/2{width:50%}.w-10{width:calc(var(--spacing)*10)}.w-\[15px\]{width:15px}.w-\[40px\]{width:40px}.w-\[100vw\]{width:100vw}.min-w-\[100px\]{min-width:100px}.shrink{flex-shrink:1}.translate-x-0{--tw-translate-x:calc(var(--spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-\[110\%\]{--tw-translate-x:110%;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-full{--tw-translate-x:100%;translate:var(--tw-translate-x)var(--tw-translate-y)}.rotate-90{rotate:90deg}.transform{transform:var(--tw-rotate-x)var(--tw-rotate-y)var(--tw-rotate-z)var(--tw-skew-x)var(--tw-skew-y)}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.resize{resize:both}.items-center{align-items:center}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.gap-1{gap:calc(var(--spacing)*1)}.gap-1\.5{gap:calc(var(--spacing)*1.5)}.gap-2{gap:calc(var(--spacing)*2)}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px*var(--tw-divide-y-reverse));border-bottom-width:calc(1px*calc(1 - var(--tw-divide-y-reverse)))}:where(.divide-secondary-100>:not(:last-child)){border-color:var(--color-secondary-100)}.overflow-hidden{overflow:hidden}.overflow-x-hidden{overflow-x:hidden}.overflow-y-auto{overflow-y:auto}.rounded-full{border-radius:3.40282e38px}.rounded-xs{border-radius:var(--radius-xs)}.border{border-style:var(--tw-border-style);border-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-red-500{border-color:var(--color-red-500)}.border-secondary-100{border-color:var(--color-secondary-100)}.border-t-secondary-50{border-top-color:var(--color-secondary-50)}.border-b-secondary-50{border-bottom-color:var(--color-secondary-50)}.bg-\[\#1C64F2\]{background-color:#1c64f2}.bg-\[\#EAEAEA\]{background-color:#eaeaea}.bg-black\/30{background-color:color-mix(in oklab,var(--color-black)30%,transparent)}.bg-gray-200{background-color:var(--color-gray-200)}.bg-secondary-10{background-color:var(--color-secondary-10)}.bg-white{background-color:var(--color-white)}.fill-secondary-400{fill:var(--color-secondary-400)}.fill-secondary-500{fill:var(--color-secondary-500)}.stroke-secondary-400{stroke:var(--color-secondary-400)}.p-1{padding:calc(var(--spacing)*1)}.p-4{padding:calc(var(--spacing)*4)}.px-4{padding-inline:calc(var(--spacing)*4)}.py-2\.5{padding-block:calc(var(--spacing)*2.5)}.py-3{padding-block:calc(var(--spacing)*3)}.py-4{padding-block:calc(var(--spacing)*4)}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-\[12px\]{font-size:12px}.text-\[19px\]{font-size:19px}.text-\[20px\]{font-size:20px}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.text-red-500{color:var(--color-red-500)}.text-secondary-500{color:var(--color-secondary-500)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.\!blur{--tw-blur:blur(8px)!important;filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)!important}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-200{--tw-duration:.2s;transition-duration:.2s}.select-none{-webkit-user-select:none;user-select:none}@media (hover:hover){.group-hover\:fill-secondary-600:is(:where(.group):hover *){fill:var(--color-secondary-600)}.group-hover\:fill-white:is(:where(.group):hover *){fill:var(--color-white)}.group-hover\:stroke-secondary-600:is(:where(.group):hover *){stroke:var(--color-secondary-600)}.hover\:cursor-pointer:hover{cursor:pointer}.hover\:bg-\[\#e1e1e1\]:hover{background-color:#e1e1e1}.hover\:bg-primary-50:hover{background-color:var(--color-primary-50)}.hover\:underline:hover{text-decoration-line:underline}}}.btn{cursor:pointer;border-style:var(--tw-border-style);border-width:1px;border-color:var(--color-primary-800);background-color:var(--color-primary-800);height:30px;min-height:30px;max-height:30px;padding-inline:calc(var(--spacing)*2);color:var(--color-white);--tw-duration:.3s;border-radius:2px;padding-block:3.5px;transition-duration:.3s}@media (hover:hover){.btn:hover{border-color:var(--color-primary-700);background-color:var(--color-primary-700)}}.btn.btn-danger{border-color:var(--color-red-600)!important;background-color:var(--color-red-600)!important}@media (hover:hover){.btn.btn-danger:hover{border-color:var(--color-red-500)!important;background-color:var(--color-red-500)!important}}.btn.btn-success{border-color:var(--color-green-600)!important;background-color:var(--color-green-600)!important}@media (hover:hover){.btn.btn-success:hover{border-color:var(--color-green-500)!important;background-color:var(--color-green-500)!important}}.btn.btn-warning{border-color:var(--color-yellow-500)!important;background-color:var(--color-yellow-500)!important}@media (hover:hover){.btn.btn-warning:hover{border-color:var(--color-yellow-400)!important;background-color:var(--color-yellow-400)!important}}.btn.btn-secondary{border-color:var(--color-secondary-500)!important;background-color:var(--color-secondary-500)!important}@media (hover:hover){.btn.btn-secondary:hover{border-color:var(--color-secondary-400)!important;background-color:var(--color-secondary-400)!important}}.btn-outline{cursor:pointer;border-style:var(--tw-border-style);border-width:1px;border-color:var(--color-primary-800);min-width:30px;height:30px;min-height:30px;max-height:30px;padding-inline:calc(var(--spacing)*2);color:var(--color-primary-800);--tw-duration:.3s;border-radius:2px;padding-block:3.5px;transition-duration:.3s}@media (hover:hover){.btn-outline:hover{border-color:var(--color-primary-700);background-color:var(--color-primary-700);color:var(--color-white)}}.btn-outline.btn-danger{border-color:var(--color-red-600)!important;color:var(--color-red-600)!important}@media (hover:hover){.btn-outline.btn-danger:hover{border-color:var(--color-red-500)!important;background-color:var(--color-red-500)!important;color:var(--color-white)!important}}.btn-outline.btn-success{border-color:var(--color-green-600)!important;color:var(--color-green-600)!important}@media (hover:hover){.btn-outline.btn-success:hover{border-color:var(--color-green-500)!important;background-color:var(--color-green-500)!important;color:var(--color-white)!important}}.btn-outline.btn-warning{border-color:var(--color-yellow-500)!important;color:var(--color-yellow-500)!important}@media (hover:hover){.btn-outline.btn-warning:hover{border-color:var(--color-yellow-400)!important;background-color:var(--color-yellow-400)!important;color:var(--color-white)!important}}.btn-outline.btn-secondary{border-color:var(--color-secondary-500)!important;color:var(--color-secondary-500)!important}@media (hover:hover){.btn-outline.btn-secondary:hover{border-color:var(--color-secondary-400)!important;background-color:var(--color-secondary-400)!important;color:var(--color-white)!important}}body,html{background-color:#f5f6f7;font-family:Raleway,sans-serif;font-size:14px}input:focus-visible{outline:none}@keyframes spin{to{transform:rotate(360deg)}}@keyframes ping{75%,to{opacity:0;transform:scale(2)}}@keyframes pulse{50%{opacity:.5}}@keyframes bounce{0%,to{animation-timing-function:cubic-bezier(.8,0,1,1);transform:translateY(-25%)}50%{animation-timing-function:cubic-bezier(0,0,.2,1);transform:none}}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false;initial-value:rotateX(0)}@property --tw-rotate-y{syntax:"*";inherits:false;initial-value:rotateY(0)}@property --tw-rotate-z{syntax:"*";inherits:false;initial-value:rotateZ(0)}@property --tw-skew-x{syntax:"*";inherits:false;initial-value:skewX(0)}@property --tw-skew-y{syntax:"*";inherits:false;initial-value:skewY(0)}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}.modal-load-enter-active,.modal-load-leave-active{transition:transform .3s ease,opacity .3s ease}.modal-load-enter-from{transform:translateY(-100%);opacity:0}.modal-load-enter-to,.modal-load-leave-from{transform:translateY(0);opacity:1}.modal-load-leave-to{transform:translateY(-100%);opacity:0}.action-show{display:block!important}.datarow-selected{background-color:#f3f4f6!important}.tabulator-action .tabulator-row{cursor:pointer}.towser-enter-active[data-v-76a42c36],.towser-leave-active[data-v-76a42c36]{transition:transform .5s ease}.towser-enter-from[data-v-76a42c36]{transform:translateY(-100%)}.towser-enter-to[data-v-76a42c36],.towser-leave-from[data-v-76a42c36]{transform:translateY(0)}.towser-leave-to[data-v-76a42c36]{transform:translateY(-100%)}
1
+ /*! tailwindcss v4.0.8 | MIT License | https://tailwindcss.com */@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-500:oklch(.637 .237 25.331);--color-red-600:oklch(.577 .245 27.325);--color-yellow-400:oklch(.852 .199 91.936);--color-yellow-500:oklch(.795 .184 86.047);--color-green-500:oklch(.723 .219 149.579);--color-green-600:oklch(.627 .194 149.214);--color-blue-500:oklch(.623 .214 259.815);--color-gray-200:oklch(.928 .006 264.531);--color-gray-300:oklch(.872 .01 258.338);--color-gray-700:oklch(.373 .034 259.733);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-md:28rem;--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--radius-xs:.125rem;--radius-md:.375rem;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-font-feature-settings:var(--font-sans--font-feature-settings);--default-font-variation-settings:var(--font-sans--font-variation-settings);--default-mono-font-family:var(--font-mono);--default-mono-font-feature-settings:var(--font-mono--font-feature-settings);--default-mono-font-variation-settings:var(--font-mono--font-variation-settings);--color-primary-50:#d6eaff;--color-primary-100:#b3c9e6;--color-primary-500:#4d82c6;--color-primary-600:#3370bd;--color-primary-700:#1a5eb5;--color-primary-800:#004cad;--color-secondary-10:#f3f3f3;--color-secondary-50:#e1e1e1;--color-secondary-100:#cbcbcb;--color-secondary-400:#717171;--color-secondary-500:#5a5a5a;--color-secondary-600:#434343;--color-secondary-800:#161616}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}body{line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1;color:color-mix(in oklab,currentColor 50%,transparent)}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}*,:after,:before,::backdrop{border-color:var(--color-gray-200,currentColor)}::file-selector-button{border-color:var(--color-gray-200,currentColor)}.multiselect{height:30px!important;min-height:30px!important;max-height:30px!important}.multiselect__tags{border-color:var(--color-secondary-100)!important;height:30px!important;min-height:30px!important;max-height:30px!important;padding-top:4px!important;padding-bottom:calc(var(--spacing)*0)!important;border-radius:2px!important;padding-left:4px!important}.multiselect__input{padding:calc(var(--spacing)*0)!important;font-size:14px!important}.multiselect__option{height:30px!important;min-height:30px!important;max-height:30px!important;color:var(--color-black)!important;padding-inline:8px!important;padding-top:6px!important;font-size:14px!important}@media (hover:hover){.multiselect__option:hover{background-color:var(--color-primary-50)!important}}.multiselect__element{border-style:var(--tw-border-style);border-width:1px;border-bottom-style:var(--tw-border-style);border-bottom-width:0;border-color:var(--color-secondary-100)}.multiselect__element:has(.multiselect__option--selected){border-style:var(--tw-border-style)!important;border-width:1px!important;border-color:var(--color-secondary-400)!important;background-color:var(--color-primary-50)!important}.multiselect__element .multiselect__option--selected{--tw-font-weight:400;background-color:var(--color-primary-50)!important;font-weight:400!important}.multiselect__content-wrapper{border-style:var(--tw-border-style)!important;border-width:0!important;border-bottom-style:var(--tw-border-style)!important;border-bottom-width:1px!important;border-color:var(--color-secondary-100)!important;border-bottom-right-radius:2px!important;border-bottom-left-radius:2px!important;margin-top:-1px!important}.multiselect__content{background-color:var(--color-white)!important}.multiselect__option--highlight{background-color:var(--color-primary-50)!important}.multiselect__single{margin:calc(var(--spacing)*0)!important;padding:calc(var(--spacing)*0)!important;color:var(--color-black)!important;font-size:14px!important}.multiselect__placeholder{margin:calc(var(--spacing)*0)!important;padding:calc(var(--spacing)*0)!important}.multiselect--active .multiselect__tags{border-color:var(--color-primary-100)!important}.multiselect__select{width:30px!important;height:30px!important;min-height:30px!important;max-height:30px!important;padding:calc(var(--spacing)*0)!important}.multiselect__content li.multiselect__element:has(span.multiselect__option--selected)+li.multiselect__element{border-top:none!important}.multiselect__option:after{border-style:var(--tw-border-style)!important;background-color:var(--color-primary-500)!important;height:30px!important;min-height:30px!important;max-height:30px!important;padding:calc(var(--spacing)*0)!important;padding-inline:calc(var(--spacing)*1)!important;border-width:0!important;padding-top:14px!important;line-height:0!important}.multiselect__option[data-select=""][data-selected=""][data-deselect=""]:after{background-color:var(--color-white)!important;padding:calc(var(--spacing)*0)!important}.multiselect__option--selected.multiselect__option[data-select][data-selected][data-deselect]:after{background-color:var(--color-primary-600)!important;color:var(--color-white)!important}li:not(.multiselect__element)>span{border-style:var(--tw-border-style)!important;border-width:1px!important;border-bottom-style:var(--tw-border-style)!important;border-bottom-width:0!important;border-color:var(--color-secondary-100)!important}@media (hover:hover){li:not(.multiselect__element)>span:hover{cursor:default!important;background-color:var(--color-white)!important}}.multiselect__content-wrapper{width:fit-content!important;min-width:100%!important;max-width:500px!important}.tabulator{margin:calc(var(--spacing)*0)!important;border-style:var(--tw-border-style)!important;border-width:1px!important;border-color:var(--color-secondary-50)!important}.tabulator .tabulator-col-resize-handle{width:5.7px!important}.tabulator-action .tabulator-col-resize-handle{width:5.5px!important}.tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-left{border-right-style:var(--tw-border-style)!important;padding:calc(var(--spacing)*0)!important;border-right-width:1px!important}.tabulator .tabulator-header{border-bottom-style:var(--tw-border-style)!important;background-color:var(--color-secondary-10)!important;border-bottom-width:1px!important;padding:5px!important}.tabulator .tabulator-header .tabulator-col{border-right-style:var(--tw-border-style)!important;border-right-width:1px!important;border-color:var(--color-secondary-50)!important;background-color:var(--color-secondary-10)!important;vertical-align:middle!important}.tabulator .tabulator-header{border-bottom-style:var(--tw-border-style)!important;border-bottom-width:1px!important;border-color:var(--color-secondary-50)!important;color:var(--color-secondary-600)!important}.tabulator-ellipse{--tw-font-weight:var(--font-weight-bold);-webkit-text-security:disc;height:30px!important;font-size:var(--text-xl)!important;line-height:var(--tw-leading,var(--text-xl--line-height))!important;font-weight:var(--font-weight-bold)!important;margin-top:-2px!important;padding:10px!important;display:none!important}.tabulator-cell[tabulator-field=actions] .dropbtn:focus+.dropdown-content-list,.tabulator-cell[tabulator-field=actions] .dropbtn:active+.dropdown-content-list,.tabulator-cell[tabulator-field=action] .dropbtn:focus+.dropdown-content-list,.tabulator-cell[tabulator-field=action] .dropbtn:active+.dropdown-content-list{display:none!important}.tabulator-cell[tabulator-field=actions] .dropdown-content-list,.tabulator-cell[tabulator-field=action] .dropdown-content-list{max-height:"300px";overflow:auto}.tabulator-cell[tabulator-field=actions],.tabulator-cell[tabulator-field=action]{position:relative!important;overflow:visible!important}.tabulator-col.tabulator-sortable:hover .tabulator-col-sorter:after{content:url("data:image/svg+xml,%3Csvg%20style%3D'color%3A%23999'%20class='svg-inline--fa%20fa-arrow-down-wide-short'%20aria-hidden='true'%20focusable='false'%20data-prefix='fas'%20data-icon='arrow-down-wide-short'%20role='img'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20576%20512'%3E%3Cpath%20fill='currentColor'%20d='M151.6%20469.6C145.5%20476.2%20137%20480%20128%20480s-17.5-3.8-23.6-10.4l-88-96c-11.9-13-11.1-33.3%202-45.2s33.3-11.1%2045.2%202L96%20365.7%2096%2064c0-17.7%2014.3-32%2032-32s32%2014.3%2032%2032l0%20301.7%2032.4-35.4c11.9-13%2032.2-13.9%2045.2-2s13.9%2032.2%202%2045.2l-88%2096zM320%20480c-17.7%200-32-14.3-32-32s14.3-32%2032-32l32%200c17.7%200%2032%2014.3%2032%2032s-14.3%2032-32%2032l-32%200zm0-128c-17.7%200-32-14.3-32-32s14.3-32%2032-32l96%200c17.7%200%2032%2014.3%2032%2032s-14.3%2032-32%2032l-96%200zm0-128c-17.7%200-32-14.3-32-32s14.3-32%2032-32l160%200c17.7%200%2032%2014.3%2032%2032s-14.3%2032-32%2032l-160%200zm0-128c-17.7%200-32-14.3-32-32s14.3-32%2032-32l224%200c17.7%200%2032%2014.3%2032%2032s-14.3%2032-32%2032L320%2096z'%3E%3C/path%3E%3C/svg%3E");width:15px!important}.tabulator-col.tabulator-sortable[aria-sort=ascending] .tabulator-col-sorter:after{content:url("data:image/svg+xml,%3Csvg%20style%3D'color%3A%23666'%20class='svg-inline--fa%20fa-arrow-down-wide-short'%20aria-hidden='true'%20focusable='false'%20data-prefix='fas'%20data-icon='arrow-down-wide-short'%20role='img'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20576%20512'%3E%3Cpath%20fill='currentColor'%20d='M151.6%20469.6C145.5%20476.2%20137%20480%20128%20480s-17.5-3.8-23.6-10.4l-88-96c-11.9-13-11.1-33.3%202-45.2s33.3-11.1%2045.2%202L96%20365.7%2096%2064c0-17.7%2014.3-32%2032-32s32%2014.3%2032%2032l0%20301.7%2032.4-35.4c11.9-13%2032.2-13.9%2045.2-2s13.9%2032.2%202%2045.2l-88%2096zM320%20480c-17.7%200-32-14.3-32-32s14.3-32%2032-32l32%200c17.7%200%2032%2014.3%2032%2032s-14.3%2032-32%2032l-32%200zm0-128c-17.7%200-32-14.3-32-32s14.3-32%2032-32l96%200c17.7%200%2032%2014.3%2032%2032s-14.3%2032-32%2032l-96%200zm0-128c-17.7%200-32-14.3-32-32s14.3-32%2032-32l160%200c17.7%200%2032%2014.3%2032%2032s-14.3%2032-32%2032l-160%200zm0-128c-17.7%200-32-14.3-32-32s14.3-32%2032-32l224%200c17.7%200%2032%2014.3%2032%2032s-14.3%2032-32%2032L320%2096z'%3E%3C/path%3E%3C/svg%3E");width:15px!important}.tabulator-col.tabulator-sortable[aria-sort=descending] .tabulator-col-sorter:after{content:url("data:image/svg+xml,%3Csvg%20style%3D'color%3A%23666'%20class%3D'svg-inline--fa%20fa-arrow-up-wide-short'%20aria-hidden%3D'true'%20focusable%3D'false'%20data-prefix%3D'fas'%20data-icon%3D'arrow-up-wide-short'%20role%3D'img'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%20576%20512'%3E%3Cpath%20fill%3D'currentColor'%20d%3D'M151.6%2042.4C145.5%2035.8%20137%2032%20128%2032s-17.5%203.8-23.6%2010.4l-88%2096c-11.9%2013-11.1%2033.3%202%2045.2s33.3%2011.1%2045.2-2L96%20146.3%2096%20448c0%2017.7%2014.3%2032%2032%2032s32-14.3%2032-32l0-301.7%2032.4%2035.4c11.9%2013%2032.2%2013.9%2045.2%202s13.9-32.2%202-45.2l-88-96zM320%20480l32%200c17.7%200%2032-14.3%2032-32s-14.3-32-32-32l-32%200c-17.7%200-32%2014.3-32%2032s14.3%2032%2032%2032zm0-128l96%200c17.7%200%2032-14.3%2032-32s-14.3-32-32-32l-96%200c-17.7%200-32%2014.3-32%2032s14.3%2032%2032%2032zm0-128l160%200c17.7%200%2032-14.3%2032-32s-14.3-32-32-32l-160%200c-17.7%200-32%2014.3-32%2032s14.3%2032%2032%2032zm0-128l224%200c17.7%200%2032-14.3%2032-32s-14.3-32-32-32L320%2032c-17.7%200-32%2014.3-32%2032s14.3%2032%2032%2032z'%3E%3C%2Fpath%3E%3C%2Fsvg%3E");width:15px!important}.tabulator-col-sorter{display:flex!important}.tabulator-arrow{display:none!important}.tabulator-row.tabulator-row-even{border-bottom-style:var(--tw-border-style)!important;background-color:var(--color-white)!important;border-bottom-width:1px!important}.tabulator-row.tabulator-row-odd{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.tabulator-row.tabulator-selectable:hover{cursor:default!important;border-inline-color:var(--color-primary-50)!important;border-top-color:var(--color-primary-50)!important;background-color:color-mix(in oklab,var(--color-primary-50)50%,transparent)!important}.tabulator-row .tabulator-frozen.tabulator-frozen-left{--tw-border-style:none;border-bottom-style:var(--tw-border-style)!important;border-style:none!important;border-bottom-width:1px!important}.tabulator-row .tabulator-cell{--tw-border-style:none;border-right-style:var(--tw-border-style)!important;border-style:none!important;border-right-width:1px!important;padding-left:15px!important}.action-show{display:block!important}.tabulator .tabulator-header .tabulator-col .tabulator-col-content{margin-top:-2px!important;padding:1px 15px 2px 10px!important}.tabulator-row{border-style:var(--tw-border-style);border-width:1px;border-color:var(--color-white);border-bottom-color:var(--color-gray-200);background-color:var(--color-white);padding-block:4px}.tabulator-row .action-btn{display:none}.tabulator-row:hover .action-btn,.datarow-selected .action-btn{display:block!important}.tabulator-row.tabulator-row-even.datarow-selected,.tabulator-row.tabulator-row-odd.datarow-selected,.tabulator-row.tabulator-row-odd.datarow-selected:hover,.tabulator-row.tabulator-row-even.datarow-selected:hover{border-style:var(--tw-border-style)!important;border-width:1px!important;border-color:var(--color-primary-500)!important;background-color:color-mix(in oklab,var(--color-primary-50)50%,transparent)!important}.tabulator .tabulator-footer{z-index:999;border-top-style:var(--tw-border-style)!important;border-top-width:1px!important;border-top-color:var(--color-secondary-50)!important;background-color:var(--color-white)!important;position:sticky!important}.tabulator .tabulator-footer .tabulator-calcs-holder{background-color:var(--color-white)!important}.tabulator .tabulator-tableHolder .tabulator-table{color:var(--color-black)!important}.tabulator-tableholder{background-color:var(--color-white)!important}.tabulator-placeholder-contents{color:var(--color-secondary-800)!important}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter{margin-top:calc(var(--spacing)*0)!important}.tabulator .tabulator-footer .tabulator-page-size{--tw-font-weight:400;color:var(--color-black)!important;border-color:#e3e3e3!important;font-weight:400!important}.tabulator .tabulator-footer .tabulator-page{--tw-font-weight:400;border-color:#e3e3e3!important;font-weight:400!important}.tabulator .tabulator-footer .tabulator-paginator{color:var(--color-black)!important}.tabulator .tabulator-footer .tabulator-paginator label{--tw-font-weight:400;color:var(--color-black)!important;font-weight:400!important}.tabulator .tabulator-footer .tabulator-page:not(.disabled):hover{color:var(--color-black)!important;background-color:#d6eaff!important}.tabulator .tabulator-header .tabulator-col:last-child{border-style:var(--tw-border-style)!important;border-width:0!important}.tabulator-row:hover .dropbtn{display:block!important}.tabulator-cell{height:35px!important}.tabulator-tableHolder::-webkit-scrollbar{height:calc(var(--spacing)*0)!important;width:calc(var(--spacing)*0)!important}.tabulator-tableHolder.show-scroll::-webkit-scrollbar{width:5px!important;height:5px!important}.tabulator-tableHolder::-webkit-scrollbar:hover{width:5px!important;height:5px!important}.tabulator-tableHolder:not(.show-scroll){padding-bottom:.1px}.tabulator-col-content{margin-inline:4px!important;margin-block:calc(var(--spacing)*0)!important}.tabulator-calcs-bottom{background-color:var(--color-white)!important}.tabulator .tabulator-footer .tabulator-calcs-holder .tabulator-row,.tabulator .tabulator-footer .tabulator-calcs-holder .tabulator-row.tabulator-row{background-color:var(--color-white)!important;color:#3e3e3e!important}.tabulator-placeholder span{--tw-font-weight:var(--font-weight-medium);font-size:var(--text-sm)!important;line-height:var(--tw-leading,var(--text-sm--line-height))!important;font-weight:var(--font-weight-medium)!important;color:var(--color-black)!important}.tabulator [type=search]{border-style:var(--tw-border-style);--tw-font-weight:400;border-width:1px;border-color:#e3e3e3;font-weight:400}.tabulator .tabulator-footer{z-index:2}.tabulator .tabulator-col-resize-handle:last-of-type{width:5px}.content-body:has(.content-search) .tabulator-body{margin-top:-30px!important}.tabulator-paginator>label,.tabulator-paginator .tabulator-page-size{display:none!important}.content-div{margin-bottom:calc(var(--spacing)*6);border-style:var(--tw-border-style);background-color:var(--color-white);border-width:1px;width:100%}.content-div .content-title-div{border-bottom-style:var(--tw-border-style);border-bottom-width:1px;justify-content:space-between;height:60px;min-height:60px;max-height:60px;padding-block:15px;padding-inline:15px;display:flex}.content-div .content-title-div .content-title{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height));--tw-font-weight:var(--font-weight-bold);font-size:19px;font-weight:var(--font-weight-bold);margin-block:auto;display:flex}.content-div .content-title-div .content-title>div{display:flex}.content-div .content-title-div .content-action{gap:5px;display:flex}.content-div .content-body{padding:calc(var(--spacing)*4);min-height:calc(100vh - 165px);overflow:auto}.nav-dropdown-enter-active,.nav-dropdown-leave-active{transition:max-height .2s;overflow:hidden}.nav-dropdown-enter-from,.nav-dropdown-leave-to{max-height:0}.nav-dropdown-enter-to,.nav-dropdown-leave-from{max-height:1000px}.sidebar::-webkit-scrollbar-thumb{background-color:#0000}.show-scrollbar::-webkit-scrollbar{background-color:#757575}::-webkit-scrollbar-track{background-color:#0000;border-radius:5px}::-webkit-scrollbar{background-color:#0000;width:5px;height:5px}::-webkit-scrollbar-thumb{background-color:#757575;border-radius:5px}.tabulator{text-align:left;background-color:#888;border:1px solid #999;font-size:14px;position:relative;overflow:hidden;transform:translateZ(0)}.tabulator[tabulator-layout=fitDataFill] .tabulator-tableholder .tabulator-table{min-width:100%}.tabulator[tabulator-layout=fitDataTable]{display:inline-block}.tabulator.tabulator-block-select,.tabulator.tabulator-ranges .tabulator-cell:not(.tabulator-editing){-webkit-user-select:none;user-select:none}.tabulator .tabulator-header{box-sizing:border-box;color:#555;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-khtml-user-select:none;-o-user-select:none;background-color:#e6e6e6;border-bottom:1px solid #999;outline:none;width:100%;font-weight:700;position:relative;overflow:hidden}.tabulator .tabulator-header.tabulator-header-hidden{display:none}.tabulator .tabulator-header .tabulator-header-contents{position:relative;overflow:hidden}.tabulator .tabulator-header .tabulator-header-contents .tabulator-headers{display:inline-block}.tabulator .tabulator-header .tabulator-col{box-sizing:border-box;text-align:left;vertical-align:bottom;background:#e6e6e6;border-right:1px solid #aaa;flex-direction:column;justify-content:flex-start;display:inline-flex;position:relative;overflow:hidden}.tabulator .tabulator-header .tabulator-col.tabulator-moving{pointer-events:none;background:#cdcdcd;border:1px solid #999;position:absolute}.tabulator .tabulator-header .tabulator-col.tabulator-range-highlight{color:#000;background-color:#d6d6d6}.tabulator .tabulator-header .tabulator-col.tabulator-range-selected{color:#fff;background-color:#3876ca}.tabulator .tabulator-header .tabulator-col .tabulator-col-content{box-sizing:border-box;padding:4px;position:relative}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-header-popup-button{padding:0 8px}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-header-popup-button:hover{cursor:pointer;opacity:.6}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title-holder{position:relative}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title{box-sizing:border-box;white-space:nowrap;text-overflow:ellipsis;vertical-align:bottom;width:100%;overflow:hidden}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title.tabulator-col-title-wrap{white-space:normal;text-overflow:initial}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title .tabulator-title-editor{box-sizing:border-box;background:#fff;border:1px solid #999;width:100%;padding:1px}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title .tabulator-header-popup-button+.tabulator-title-editor{width:calc(100% - 22px)}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter{align-items:center;display:flex;position:absolute;top:0;bottom:0;right:4px}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-bottom:6px solid #bbb;border-left:6px solid #0000;border-right:6px solid #0000;width:0;height:0}.tabulator .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols{border-top:1px solid #aaa;margin-right:-1px;display:flex;position:relative;overflow:hidden}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter{box-sizing:border-box;text-align:center;width:100%;margin-top:2px;position:relative}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter textarea{height:auto!important}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter svg{margin-top:3px}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter input::-ms-clear{width:0;height:0}.tabulator .tabulator-header .tabulator-col.tabulator-sortable .tabulator-col-title{padding-right:25px}@media (hover:hover) and (pointer:fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable.tabulator-col-sorter-element:hover{cursor:pointer;background-color:#cdcdcd}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter{color:#bbb}@media (hover:hover) and (pointer:fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter.tabulator-col-sorter-element .tabulator-arrow:hover{cursor:pointer;border-bottom:6px solid #555}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-top:none;border-bottom:6px solid #bbb}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=ascending] .tabulator-col-content .tabulator-col-sorter{color:#666}@media (hover:hover) and (pointer:fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=ascending] .tabulator-col-content .tabulator-col-sorter.tabulator-col-sorter-element .tabulator-arrow:hover{cursor:pointer;border-bottom:6px solid #555}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=ascending] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-top:none;border-bottom:6px solid #666}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=descending] .tabulator-col-content .tabulator-col-sorter{color:#666}@media (hover:hover) and (pointer:fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=descending] .tabulator-col-content .tabulator-col-sorter.tabulator-col-sorter-element .tabulator-arrow:hover{cursor:pointer;border-top:6px solid #555}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=descending] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{color:#666;border-top:6px solid #666;border-bottom:none}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical .tabulator-col-content .tabulator-col-title{writing-mode:vertical-rl;text-orientation:mixed;justify-content:center;align-items:center;display:flex}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-col-vertical-flip .tabulator-col-title{transform:rotate(180deg)}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable .tabulator-col-title{padding-top:20px;padding-right:0}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable.tabulator-col-vertical-flip .tabulator-col-title{padding-bottom:20px;padding-right:0}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable .tabulator-col-sorter{justify-content:center;inset:4px 0 auto}.tabulator .tabulator-header .tabulator-frozen{z-index:11;position:sticky;left:0}.tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-left{border-right:2px solid #aaa}.tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-right{border-left:2px solid #aaa}.tabulator .tabulator-header .tabulator-calcs-holder{box-sizing:border-box;border-top:1px solid #aaa;border-bottom:1px solid #aaa;display:inline-block;background:#f3f3f3!important}.tabulator .tabulator-header .tabulator-calcs-holder .tabulator-row{background:#f3f3f3!important}.tabulator .tabulator-header .tabulator-calcs-holder .tabulator-row .tabulator-col-resize-handle{display:none}.tabulator .tabulator-header .tabulator-frozen-rows-holder{display:inline-block}.tabulator .tabulator-header .tabulator-frozen-rows-holder:empty{display:none}.tabulator .tabulator-tableholder{white-space:nowrap;-webkit-overflow-scrolling:touch;width:100%;position:relative;overflow:auto}.tabulator .tabulator-tableholder:focus{outline:none}.tabulator .tabulator-tableholder .tabulator-placeholder{box-sizing:border-box;justify-content:center;align-items:center;width:100%;min-width:100%;display:flex}.tabulator .tabulator-tableholder .tabulator-placeholder[tabulator-render-mode=virtual]{min-height:100%}.tabulator .tabulator-tableholder .tabulator-placeholder .tabulator-placeholder-contents{text-align:center;color:#ccc;white-space:normal;padding:10px;font-size:20px;font-weight:700;display:inline-block}.tabulator .tabulator-tableholder .tabulator-table{white-space:nowrap;color:#333;background-color:#fff;display:inline-block;position:relative;overflow:visible}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.tabulator-calcs{font-weight:700;background:#e2e2e2!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.tabulator-calcs.tabulator-calcs-top{border-bottom:2px solid #aaa}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.tabulator-calcs.tabulator-calcs-bottom{border-top:2px solid #aaa}.tabulator .tabulator-tableholder .tabulator-range-overlay{z-index:10;pointer-events:none;position:absolute;top:0;right:0;bottom:0;left:0}.tabulator .tabulator-tableholder .tabulator-range-overlay .tabulator-range{box-sizing:border-box;border:1px solid #2975dd;position:absolute}.tabulator .tabulator-tableholder .tabulator-range-overlay .tabulator-range.tabulator-range-active:after{content:"";background-color:#2975dd;border-radius:999px;width:6px;height:6px;position:absolute;bottom:-3px;right:-3px}.tabulator .tabulator-tableholder .tabulator-range-overlay .tabulator-range-cell-active{box-sizing:border-box;border:2px solid #2975dd;position:absolute}.tabulator .tabulator-footer{color:#555;white-space:nowrap;-webkit-user-select:none;user-select:none;-khtml-user-select:none;-o-user-select:none;background-color:#e6e6e6;border-top:1px solid #999;font-weight:700}.tabulator .tabulator-footer .tabulator-footer-contents{flex-direction:row;justify-content:space-between;align-items:center;padding:5px 10px;display:flex}.tabulator .tabulator-footer .tabulator-footer-contents:empty{display:none}.tabulator .tabulator-footer .tabulator-spreadsheet-tabs{margin-top:-5px;overflow-x:auto}.tabulator .tabulator-footer .tabulator-spreadsheet-tabs .tabulator-spreadsheet-tab{border:1px solid #999;border-top:none;border-bottom-right-radius:5px;border-bottom-left-radius:5px;padding:5px;font-size:.9em;display:inline-block}.tabulator .tabulator-footer .tabulator-spreadsheet-tabs .tabulator-spreadsheet-tab:hover{cursor:pointer;opacity:.7}.tabulator .tabulator-footer .tabulator-spreadsheet-tabs .tabulator-spreadsheet-tab.tabulator-spreadsheet-tab-active{background:#fff}.tabulator .tabulator-footer .tabulator-calcs-holder{box-sizing:border-box;text-align:left;border-top:1px solid #aaa;border-bottom:1px solid #aaa;width:100%;overflow:hidden;background:#f3f3f3!important}.tabulator .tabulator-footer .tabulator-calcs-holder .tabulator-row{display:inline-block;background:#f3f3f3!important}.tabulator .tabulator-footer .tabulator-calcs-holder .tabulator-row .tabulator-col-resize-handle{display:none}.tabulator .tabulator-footer .tabulator-calcs-holder:only-child{border-bottom:none;margin-bottom:-5px}.tabulator .tabulator-footer>*+.tabulator-page-counter{margin-left:10px}.tabulator .tabulator-footer .tabulator-page-counter{font-weight:400}.tabulator .tabulator-footer .tabulator-paginator{text-align:right;color:#555;font-family:inherit;font-weight:inherit;font-size:inherit;flex:1}.tabulator .tabulator-footer .tabulator-page-size{border:1px solid #aaa;border-radius:3px;margin:0 5px;padding:2px 5px;display:inline-block}.tabulator .tabulator-footer .tabulator-pages{margin:0 7px}.tabulator .tabulator-footer .tabulator-page{background:#fff3;border:1px solid #aaa;border-radius:3px;margin:0 2px;padding:2px 5px;display:inline-block}.tabulator .tabulator-footer .tabulator-page.active{color:#d00}.tabulator .tabulator-footer .tabulator-page:disabled{opacity:.5}@media (hover:hover) and (pointer:fine){.tabulator .tabulator-footer .tabulator-page:not(disabled):hover{cursor:pointer;color:#fff;background:#0003}}.tabulator .tabulator-col-resize-handle{z-index:11;vertical-align:middle;width:6px;margin-left:-3px;margin-right:-3px;display:inline-block;position:relative}@media (hover:hover) and (pointer:fine){.tabulator .tabulator-col-resize-handle:hover{cursor:ew-resize}}.tabulator .tabulator-col-resize-handle:last-of-type{width:3px;margin-right:0}.tabulator .tabulator-col-resize-guide{opacity:.5;background-color:#999;width:4px;height:100%;margin-left:-.5px;position:absolute;top:0}.tabulator .tabulator-row-resize-guide{opacity:.5;background-color:#999;width:100%;height:4px;margin-top:-.5px;position:absolute;left:0}.tabulator .tabulator-alert{z-index:100;text-align:center;background:#0006;align-items:center;width:100%;height:100%;display:flex;position:absolute;top:0;left:0}.tabulator .tabulator-alert .tabulator-alert-msg{background:#fff;border-radius:10px;margin:0 auto;padding:10px 20px;font-size:16px;font-weight:700;display:inline-block}.tabulator .tabulator-alert .tabulator-alert-msg.tabulator-alert-state-msg{color:#000;border:4px solid #333}.tabulator .tabulator-alert .tabulator-alert-msg.tabulator-alert-state-error{color:#590000;border:4px solid #d00}.tabulator-row{box-sizing:border-box;background-color:#fff;min-height:22px;position:relative}.tabulator-row.tabulator-row-even{background-color:#efefef}@media (hover:hover) and (pointer:fine){.tabulator-row.tabulator-selectable:hover{cursor:pointer;background-color:#bbb}}.tabulator-row.tabulator-selected{background-color:#9abcea}@media (hover:hover) and (pointer:fine){.tabulator-row.tabulator-selected:hover{cursor:pointer;background-color:#769bcc}}.tabulator-row.tabulator-row-moving{background:#fff;border:1px solid #000}.tabulator-row.tabulator-moving{pointer-events:none;z-index:15;border-top:1px solid #aaa;border-bottom:1px solid #aaa;position:absolute}.tabulator-row.tabulator-range-highlight .tabulator-cell.tabulator-range-row-header{color:#000;background-color:#d6d6d6}.tabulator-row.tabulator-range-highlight.tabulator-range-selected .tabulator-cell.tabulator-range-row-header,.tabulator-row.tabulator-range-selected .tabulator-cell.tabulator-range-row-header{color:#fff;background-color:#3876ca}.tabulator-row .tabulator-row-resize-handle{height:5px;position:absolute;bottom:0;left:0;right:0}.tabulator-row .tabulator-row-resize-handle.prev{top:0;bottom:auto}@media (hover:hover) and (pointer:fine){.tabulator-row .tabulator-row-resize-handle:hover{cursor:ns-resize}}.tabulator-row .tabulator-responsive-collapse{box-sizing:border-box;border-top:1px solid #aaa;border-bottom:1px solid #aaa;padding:5px}.tabulator-row .tabulator-responsive-collapse:empty{display:none}.tabulator-row .tabulator-responsive-collapse table{font-size:14px}.tabulator-row .tabulator-responsive-collapse table tr td{position:relative}.tabulator-row .tabulator-responsive-collapse table tr td:first-of-type{padding-right:10px}.tabulator-row .tabulator-cell{box-sizing:border-box;vertical-align:middle;white-space:nowrap;text-overflow:ellipsis;border-right:1px solid #aaa;outline:none;padding:4px;display:inline-block;position:relative;overflow:hidden}.tabulator-row .tabulator-cell.tabulator-row-header{background:#e6e6e6;border-bottom:1px solid #aaa;border-right:1px solid #999}.tabulator-row .tabulator-cell.tabulator-frozen{background-color:inherit;z-index:11;display:inline-block;position:sticky;left:0}.tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-left{border-right:2px solid #aaa}.tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-right{border-left:2px solid #aaa}.tabulator-row .tabulator-cell.tabulator-editing{border:1px solid #1d68cd;outline:none;padding:0}.tabulator-row .tabulator-cell.tabulator-editing input,.tabulator-row .tabulator-cell.tabulator-editing select{background:0 0;border:1px;outline:none}.tabulator-row .tabulator-cell.tabulator-validation-fail{border:1px solid #d00}.tabulator-row .tabulator-cell.tabulator-validation-fail input,.tabulator-row .tabulator-cell.tabulator-validation-fail select{color:#d00;background:0 0;border:1px}.tabulator-row .tabulator-cell.tabulator-row-handle{-webkit-user-select:none;-moz-user-select:none;-khtml-user-select:none;-o-user-select:none;justify-content:center;align-items:center;display:inline-flex}.tabulator-row .tabulator-cell.tabulator-row-handle .tabulator-row-handle-box{width:80%}.tabulator-row .tabulator-cell.tabulator-row-handle .tabulator-row-handle-box .tabulator-row-handle-bar{background:#666;width:100%;height:3px;margin-top:2px}.tabulator-row .tabulator-cell.tabulator-range-selected:not(.tabulator-range-only-cell-selected):not(.tabulator-range-row-header){background-color:#9abcea}.tabulator-row .tabulator-cell .tabulator-data-tree-branch-empty{width:7px;display:inline-block}.tabulator-row .tabulator-cell .tabulator-data-tree-branch{vertical-align:middle;border-bottom:2px solid #aaa;border-left:2px solid #aaa;border-bottom-left-radius:1px;width:7px;height:9px;margin-top:-9px;margin-right:5px;display:inline-block}.tabulator-row .tabulator-cell .tabulator-data-tree-control{vertical-align:middle;background:#0000001a;border:1px solid #333;border-radius:2px;justify-content:center;align-items:center;width:11px;height:11px;margin-right:5px;display:inline-flex;overflow:hidden}@media (hover:hover) and (pointer:fine){.tabulator-row .tabulator-cell .tabulator-data-tree-control:hover{cursor:pointer;background:#0003}}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-collapse{background:0 0;width:1px;height:7px;display:inline-block;position:relative}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-collapse:after{content:"";background:#333;width:7px;height:1px;position:absolute;top:3px;left:-3px}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-expand{background:#333;width:1px;height:7px;display:inline-block;position:relative}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-expand:after{content:"";background:#333;width:7px;height:1px;position:absolute;top:3px;left:-3px}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle{-webkit-user-select:none;-moz-user-select:none;-khtml-user-select:none;-o-user-select:none;color:#fff;background:#666;border-radius:20px;justify-content:center;align-items:center;width:15px;height:15px;font-size:1.1em;font-weight:700;display:inline-flex}@media (hover:hover) and (pointer:fine){.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle:hover{opacity:.7;cursor:pointer}}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle.open .tabulator-responsive-collapse-toggle-close{display:initial}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle.open .tabulator-responsive-collapse-toggle-open{display:none}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle svg{stroke:#fff}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle .tabulator-responsive-collapse-toggle-close{display:none}.tabulator-row .tabulator-cell .tabulator-traffic-light{border-radius:14px;width:14px;height:14px;display:inline-block}.tabulator-row.tabulator-group{box-sizing:border-box;background:#ccc;border-top:1px solid #999;border-bottom:1px solid #999;border-right:1px solid #aaa;min-width:100%;padding:5px 5px 5px 10px;font-weight:700}@media (hover:hover) and (pointer:fine){.tabulator-row.tabulator-group:hover{cursor:pointer;background-color:#0000001a}}.tabulator-row.tabulator-group.tabulator-group-visible .tabulator-arrow{border:6px solid #0000;border-top-color:#666;border-bottom:0;margin-right:10px}.tabulator-row.tabulator-group.tabulator-group-level-1{padding-left:30px}.tabulator-row.tabulator-group.tabulator-group-level-2{padding-left:50px}.tabulator-row.tabulator-group.tabulator-group-level-3{padding-left:70px}.tabulator-row.tabulator-group.tabulator-group-level-4{padding-left:90px}.tabulator-row.tabulator-group.tabulator-group-level-5{padding-left:110px}.tabulator-row.tabulator-group .tabulator-group-toggle{display:inline-block}.tabulator-row.tabulator-group .tabulator-arrow{vertical-align:middle;border:6px solid #0000;border-left-color:#666;border-right:0;width:0;height:0;margin-right:16px;display:inline-block}.tabulator-row.tabulator-group span{color:#d00;margin-left:10px}.tabulator-toggle{box-sizing:border-box;background:#dcdcdc;border:1px solid #ccc;flex-direction:row;display:flex}.tabulator-toggle.tabulator-toggle-on{background:#1c6cc2}.tabulator-toggle .tabulator-toggle-switch{box-sizing:border-box;background:#fff;border:1px solid #ccc}.tabulator-popup-container{box-sizing:border-box;-webkit-overflow-scrolling:touch;z-index:10000;background:#fff;border:1px solid #aaa;font-size:14px;display:inline-block;position:absolute;overflow-y:auto;box-shadow:0 0 5px #0003}.tabulator-popup{border-radius:3px;padding:5px}.tabulator-tooltip{max-width:min(500px,100%);box-shadow:none;pointer-events:none;border-radius:2px;padding:3px 5px;font-size:12px}.tabulator-menu .tabulator-menu-item{box-sizing:border-box;-webkit-user-select:none;user-select:none;padding:5px 10px;position:relative}.tabulator-menu .tabulator-menu-item.tabulator-menu-item-disabled{opacity:.5}@media (hover:hover) and (pointer:fine){.tabulator-menu .tabulator-menu-item:not(.tabulator-menu-item-disabled):hover{cursor:pointer;background:#efefef}}.tabulator-menu .tabulator-menu-item.tabulator-menu-item-submenu{padding-right:25px}.tabulator-menu .tabulator-menu-item.tabulator-menu-item-submenu:after{content:"";vertical-align:top;border:1px solid #aaa;border-width:1px 1px 0 0;width:7px;height:7px;display:inline-block;position:absolute;top:calc(5px + .4em);right:10px;transform:rotate(45deg)}.tabulator-menu .tabulator-menu-separator{border-top:1px solid #aaa}.tabulator-edit-list{-webkit-overflow-scrolling:touch;max-height:200px;font-size:14px;overflow-y:auto}.tabulator-edit-list .tabulator-edit-list-item{color:#333;outline:none;padding:4px}.tabulator-edit-list .tabulator-edit-list-item.active{color:#fff;background:#1d68cd}.tabulator-edit-list .tabulator-edit-list-item.active.focused{outline:1px solid #ffffff80}.tabulator-edit-list .tabulator-edit-list-item.focused{outline:1px solid #1d68cd}@media (hover:hover) and (pointer:fine){.tabulator-edit-list .tabulator-edit-list-item:hover{cursor:pointer;color:#fff;background:#1d68cd}}.tabulator-edit-list .tabulator-edit-list-placeholder{color:#333;text-align:center;padding:4px}.tabulator-edit-list .tabulator-edit-list-group{color:#333;border-bottom:1px solid #aaa;padding:6px 4px 4px;font-weight:700}.tabulator-edit-list .tabulator-edit-list-item.tabulator-edit-list-group-level-2,.tabulator-edit-list .tabulator-edit-list-group.tabulator-edit-list-group-level-2{padding-left:12px}.tabulator-edit-list .tabulator-edit-list-item.tabulator-edit-list-group-level-3,.tabulator-edit-list .tabulator-edit-list-group.tabulator-edit-list-group-level-3{padding-left:20px}.tabulator-edit-list .tabulator-edit-list-item.tabulator-edit-list-group-level-4,.tabulator-edit-list .tabulator-edit-list-group.tabulator-edit-list-group-level-4{padding-left:28px}.tabulator-edit-list .tabulator-edit-list-item.tabulator-edit-list-group-level-5,.tabulator-edit-list .tabulator-edit-list-group.tabulator-edit-list-group-level-5{padding-left:36px}.tabulator.tabulator-ltr{direction:ltr}.tabulator.tabulator-rtl{text-align:initial;direction:rtl}.tabulator.tabulator-rtl .tabulator-header .tabulator-col{text-align:initial;border-left:1px solid #aaa;border-right:initial}.tabulator.tabulator-rtl .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols{margin-right:initial;margin-left:-1px}.tabulator.tabulator-rtl .tabulator-header .tabulator-col.tabulator-sortable .tabulator-col-title{padding-left:25px;padding-right:0}.tabulator.tabulator-rtl .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter{left:8px;right:initial}.tabulator.tabulator-rtl .tabulator-tableholder .tabulator-range-overlay .tabulator-range.tabulator-range-active:after{content:"";left:-3px;right:initial;background-color:#2975dd;border-radius:999px;width:6px;height:6px;position:absolute;bottom:-3px}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell{border-right:initial;border-left:1px solid #aaa}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell .tabulator-data-tree-branch{margin-right:initial;border-bottom-left-radius:initial;border-left:initial;border-right:2px solid #aaa;border-bottom-right-radius:1px;margin-left:5px}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell .tabulator-data-tree-control{margin-right:initial;margin-left:5px}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-left{border-left:2px solid #aaa}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-right{border-right:2px solid #aaa}.tabulator.tabulator-rtl .tabulator-row .tabulator-col-resize-handle:last-of-type{width:3px;margin-left:0;margin-right:-3px}.tabulator.tabulator-rtl .tabulator-footer .tabulator-calcs-holder{text-align:initial}.tabulator-print-fullscreen{z-index:10000;position:absolute;top:0;right:0;bottom:0;left:0}body.tabulator-print-fullscreen-hide>:not(.tabulator-print-fullscreen){display:none!important}.tabulator-print-table{border-collapse:collapse}.tabulator-print-table .tabulator-data-tree-branch{vertical-align:middle;border-bottom:2px solid #aaa;border-left:2px solid #aaa;border-bottom-left-radius:1px;width:7px;height:9px;margin-top:-9px;margin-right:5px;display:inline-block}.tabulator-print-table .tabulator-print-table-group{box-sizing:border-box;background:#ccc;border-top:1px solid #999;border-bottom:1px solid #999;border-right:1px solid #aaa;min-width:100%;padding:5px 5px 5px 10px;font-weight:700}@media (hover:hover) and (pointer:fine){.tabulator-print-table .tabulator-print-table-group:hover{cursor:pointer;background-color:#0000001a}}.tabulator-print-table .tabulator-print-table-group.tabulator-group-visible .tabulator-arrow{border:6px solid #0000;border-top-color:#666;border-bottom:0;margin-right:10px}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-1 td{padding-left:30px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-2 td{padding-left:50px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-3 td{padding-left:70px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-4 td{padding-left:90px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-5 td{padding-left:110px!important}.tabulator-print-table .tabulator-print-table-group .tabulator-group-toggle{display:inline-block}.tabulator-print-table .tabulator-print-table-group .tabulator-arrow{vertical-align:middle;border:6px solid #0000;border-left-color:#666;border-right:0;width:0;height:0;margin-right:16px;display:inline-block}.tabulator-print-table .tabulator-print-table-group span{color:#d00;margin-left:10px}.tabulator-print-table .tabulator-data-tree-control{vertical-align:middle;background:#0000001a;border:1px solid #333;border-radius:2px;justify-content:center;align-items:center;width:11px;height:11px;margin-right:5px;display:inline-flex;overflow:hidden}@media (hover:hover) and (pointer:fine){.tabulator-print-table .tabulator-data-tree-control:hover{cursor:pointer;background:#0003}}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-collapse{background:0 0;width:1px;height:7px;display:inline-block;position:relative}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-collapse:after{content:"";background:#333;width:7px;height:1px;position:absolute;top:3px;left:-3px}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-expand{background:#333;width:1px;height:7px;display:inline-block;position:relative}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-expand:after{content:"";background:#333;width:7px;height:1px;position:absolute;top:3px;left:-3px}@keyframes spinning{0%{transform:rotate(0)}to{transform:rotate(2turn)}}fieldset[disabled] .multiselect{pointer-events:none}.multiselect__spinner{background:#fff;width:40px;height:38px;display:block;position:absolute;top:1px;right:1px}.multiselect__spinner:after,.multiselect__spinner:before{content:"";border:2px solid #0000;border-top-color:#41b883;border-radius:100%;width:16px;height:16px;margin:-8px 0 0 -8px;animation:2.4s cubic-bezier(.41,.26,.2,.62) infinite spinning;position:absolute;top:50%;left:50%;box-shadow:0 0 0 1px #0000}.multiselect__spinner:after{animation:2.4s cubic-bezier(.51,.09,.21,.8) spinning}.multiselect__loading-enter-active{opacity:1;transition:opacity .4s ease-in-out}.multiselect__loading-leave-active{transition:opacity .4s ease-in-out}.multiselect__loading-enter,.multiselect__loading-leave-active{opacity:0}.multiselect,.multiselect__input,.multiselect__single{touch-action:manipulation;font-family:inherit;font-size:16px}.multiselect{box-sizing:content-box;text-align:left;color:#35495e;width:100%;min-height:40px;display:block;position:relative}.multiselect *{box-sizing:border-box}.multiselect:focus{outline:0}.multiselect--disabled{pointer-events:none;opacity:.6;background:#ededed}.multiselect--active{z-index:50}.multiselect--active:not(.multiselect--above) .multiselect__current,.multiselect--active:not(.multiselect--above) .multiselect__input,.multiselect--active:not(.multiselect--above) .multiselect__tags{border-bottom-right-radius:0;border-bottom-left-radius:0}.multiselect--active .multiselect__select{transform:rotate(180deg)}.multiselect--above.multiselect--active .multiselect__current,.multiselect--above.multiselect--active .multiselect__input,.multiselect--above.multiselect--active .multiselect__tags{border-top-left-radius:0;border-top-right-radius:0}.multiselect__input{margin-bottom:8px;padding:0 0 0 5px}.multiselect__input,.multiselect__single{box-sizing:border-box;vertical-align:top;background:#fff;border:0;border-radius:5px;width:100%;min-height:20px;line-height:20px;transition:border .1s;display:inline-block;position:relative}.multiselect__input::placeholder{color:#35495e}.multiselect__tag~.multiselect__input,.multiselect__tag~.multiselect__single{width:auto}.multiselect__input:hover,.multiselect__single:hover{border-color:#cfcfcf}.multiselect__input:focus,.multiselect__single:focus{border-color:#a8a8a8;outline:0}.multiselect__single{margin-bottom:8px;padding:0 0 0 5px}.multiselect__tags-wrap{display:inline}.multiselect__tags{background:#fff;border:1px solid #e8e8e8;border-radius:5px;min-height:40px;padding:8px 40px 0 8px;font-size:14px;display:block}.multiselect__tag{color:#fff;white-space:nowrap;text-overflow:ellipsis;background:#41b883;border-radius:5px;max-width:100%;margin-bottom:5px;margin-right:10px;padding:4px 26px 4px 10px;line-height:1;display:inline-block;position:relative;overflow:hidden}.multiselect__tag-icon{cursor:pointer;font-weight:700;font-style:initial;text-align:center;border-radius:5px;width:22px;margin-left:7px;line-height:22px;transition:all .2s;position:absolute;top:0;bottom:0;right:0}.multiselect__tag-icon:after{content:"×";color:#266d4d;font-size:14px}.multiselect__tag-icon:focus:after,.multiselect__tag-icon:hover:after{color:#fff}.multiselect__current,.multiselect__select{box-sizing:border-box;cursor:pointer;margin:0;line-height:16px;text-decoration:none;display:block}.multiselect__current{white-space:nowrap;border:1px solid #e8e8e8;border-radius:5px;min-height:40px;padding:8px 30px 0 12px;overflow:hidden}.multiselect__select{text-align:center;width:40px;height:38px;padding:4px 8px;transition:transform .2s;position:absolute;top:1px;right:1px}.multiselect__select:before{color:#999;content:"";border:5px solid #0000;border-top-color:#999;border-bottom-width:0;margin-top:4px;position:relative;top:65%;right:0}.multiselect__placeholder{color:#adadad;margin-bottom:10px;padding-top:2px;display:inline-block}.multiselect--active .multiselect__placeholder{display:none}.multiselect__content-wrapper{z-index:50;-webkit-overflow-scrolling:touch;background:#fff;border:1px solid #e8e8e8;border-top:none;border-bottom-right-radius:5px;border-bottom-left-radius:5px;width:100%;max-height:240px;display:block;position:absolute;overflow:auto}.multiselect__content{vertical-align:top;min-width:100%;margin:0;padding:0;list-style:none;display:inline-block}.multiselect--above .multiselect__content-wrapper{border-top:1px solid #e8e8e8;border-bottom:none;border-radius:5px 5px 0 0;bottom:100%}.multiselect__content::-webkit-scrollbar{display:none}.multiselect__element{display:block}.multiselect__option{text-transform:none;vertical-align:middle;cursor:pointer;white-space:nowrap;min-height:40px;padding:12px;line-height:16px;text-decoration:none;display:block;position:relative}.multiselect__option:after{padding-left:20px;padding-right:12px;font-size:13px;line-height:40px;position:absolute;top:0;right:0}.multiselect__option--highlight{color:#fff;background:#41b883;outline:0}.multiselect__option--highlight:after{content:attr(data-select);color:#fff;background:#41b883}.multiselect__option--selected{color:#35495e;background:#f3f3f3;font-weight:700}.multiselect__option--selected:after{content:attr(data-selected);color:silver;background:inherit}.multiselect__option--selected.multiselect__option--highlight{color:#fff;background:#ff6a6a}.multiselect__option--selected.multiselect__option--highlight:after{content:attr(data-deselect);color:#fff;background:#ff6a6a}.multiselect--disabled .multiselect__current,.multiselect--disabled .multiselect__select{color:#a6a6a6;background:#ededed}.multiselect__option--disabled{cursor:text;pointer-events:none;color:#a6a6a6!important;background:#ededed!important}.multiselect__option--group{color:#35495e;background:#ededed}.multiselect__option--group.multiselect__option--highlight{color:#fff;background:#35495e}.multiselect__option--group.multiselect__option--highlight:after{background:#35495e}.multiselect__option--disabled.multiselect__option--highlight{background:#dedede}.multiselect__option--group-selected.multiselect__option--highlight{color:#fff;background:#ff6a6a}.multiselect__option--group-selected.multiselect__option--highlight:after{content:attr(data-deselect);color:#fff;background:#ff6a6a}.multiselect-enter-active,.multiselect-leave-active{transition:all .15s}.multiselect-enter,.multiselect-leave-active{opacity:0}.multiselect__strong{vertical-align:top;margin-bottom:8px;line-height:20px;display:inline-block}[dir=rtl] .multiselect{text-align:right}[dir=rtl] .multiselect__select{left:1px;right:auto}[dir=rtl] .multiselect__tags{padding:8px 8px 0 40px}[dir=rtl] .multiselect__content{text-align:right}[dir=rtl] .multiselect__option:after{left:0;right:auto}[dir=rtl] .multiselect__clear{left:12px;right:auto}[dir=rtl] .multiselect__spinner{left:1px;right:auto}}@layer components{input{border-style:var(--tw-border-style);border-width:1px;border-color:var(--color-secondary-100);background-color:var(--color-white);height:30px;min-height:30px;max-height:30px;padding-inline:calc(var(--spacing)*1);border-radius:2px}input:focus{border-color:var(--color-primary-100)!important}input:disabled{cursor:not-allowed;border-color:var(--color-secondary-100);background-color:var(--color-secondary-50);color:var(--color-secondary-500)}.content-search{flex-wrap:wrap;align-items:center;gap:5px;display:flex}span[role=alert]{margin-left:calc(var(--spacing)*1);color:var(--color-red-500);font-size:12px}}@layer utilities{.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.top-0{top:calc(var(--spacing)*0)}.top-\[7px\]{top:7px}.top-\[15px\]{top:15px}.top-\[50px\]{top:50px}.right-0{right:calc(var(--spacing)*0)}.right-4{right:calc(var(--spacing)*4)}.bottom-0{bottom:calc(var(--spacing)*0)}.left-0{left:calc(var(--spacing)*0)}.z-3{z-index:3}.z-10{z-index:10}.z-11{z-index:11}.mx-1\.5{margin-inline:calc(var(--spacing)*1.5)}.mx-4{margin-inline:calc(var(--spacing)*4)}.mx-auto{margin-inline:auto}.my-2{margin-block:calc(var(--spacing)*2)}.my-\[1px\]{margin-block:1px}.my-\[75px\]{margin-block:75px}.my-auto{margin-block:auto}.mt-1{margin-top:calc(var(--spacing)*1)}.mt-2{margin-top:calc(var(--spacing)*2)}.mt-8{margin-top:calc(var(--spacing)*8)}.mt-\[4px\]{margin-top:4px}.mr-2\.5{margin-right:calc(var(--spacing)*2.5)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.\!table{display:table!important}.block{display:block}.flex{display:flex}.hidden{display:none}.table{display:table}.h-\[15px\]{height:15px}.h-\[25px\]{height:25px}.h-\[30px\]{height:30px}.h-\[100vh\]{height:100vh}.h-fit{height:fit-content}.h-full{height:100%}.h-screen{height:100vh}.max-h-\[50px\]{max-height:50px}.w-1\/2{width:50%}.w-10{width:calc(var(--spacing)*10)}.w-\[15px\]{width:15px}.w-\[40px\]{width:40px}.w-\[100vw\]{width:100vw}.w-full{width:100%}.max-w-md{max-width:var(--container-md)}.min-w-\[100px\]{min-width:100px}.translate-x-0{--tw-translate-x:calc(var(--spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-\[110\%\]{--tw-translate-x:110%;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-full{--tw-translate-x:100%;translate:var(--tw-translate-x)var(--tw-translate-y)}.rotate-90{rotate:90deg}.transform{transform:var(--tw-rotate-x)var(--tw-rotate-y)var(--tw-rotate-z)var(--tw-skew-x)var(--tw-skew-y)}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.resize{resize:both}.items-center{align-items:center}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.gap-1{gap:calc(var(--spacing)*1)}.gap-1\.5{gap:calc(var(--spacing)*1.5)}.gap-2{gap:calc(var(--spacing)*2)}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px*var(--tw-divide-y-reverse));border-bottom-width:calc(1px*calc(1 - var(--tw-divide-y-reverse)))}:where(.divide-secondary-100>:not(:last-child)){border-color:var(--color-secondary-100)}.overflow-hidden{overflow:hidden}.overflow-x-hidden{overflow-x:hidden}.overflow-y-auto{overflow-y:auto}.rounded-full{border-radius:3.40282e38px}.rounded-md{border-radius:var(--radius-md)}.rounded-xs{border-radius:var(--radius-xs)}.border{border-style:var(--tw-border-style);border-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-gray-300{border-color:var(--color-gray-300)}.border-red-500{border-color:var(--color-red-500)}.border-secondary-100{border-color:var(--color-secondary-100)}.border-t-secondary-50{border-top-color:var(--color-secondary-50)}.border-b-secondary-50{border-bottom-color:var(--color-secondary-50)}.bg-\[\#1C64F2\]{background-color:#1c64f2}.bg-\[\#EAEAEA\]{background-color:#eaeaea}.bg-black\/30{background-color:color-mix(in oklab,var(--color-black)30%,transparent)}.bg-gray-200{background-color:var(--color-gray-200)}.bg-secondary-10{background-color:var(--color-secondary-10)}.bg-white{background-color:var(--color-white)}.fill-secondary-400{fill:var(--color-secondary-400)}.fill-secondary-500{fill:var(--color-secondary-500)}.stroke-secondary-400{stroke:var(--color-secondary-400)}.p-1{padding:calc(var(--spacing)*1)}.p-4{padding:calc(var(--spacing)*4)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-4{padding-inline:calc(var(--spacing)*4)}.py-2{padding-block:calc(var(--spacing)*2)}.py-2\.5{padding-block:calc(var(--spacing)*2.5)}.py-3{padding-block:calc(var(--spacing)*3)}.py-4{padding-block:calc(var(--spacing)*4)}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-\[12px\]{font-size:12px}.text-\[19px\]{font-size:19px}.text-\[20px\]{font-size:20px}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.text-gray-700{color:var(--color-gray-700)}.text-red-500{color:var(--color-red-500)}.text-secondary-500{color:var(--color-secondary-500)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-200{--tw-duration:.2s;transition-duration:.2s}.select-none{-webkit-user-select:none;user-select:none}@media (hover:hover){.group-hover\:fill-secondary-600:is(:where(.group):hover *){fill:var(--color-secondary-600)}.group-hover\:fill-white:is(:where(.group):hover *){fill:var(--color-white)}.group-hover\:stroke-secondary-600:is(:where(.group):hover *){stroke:var(--color-secondary-600)}.hover\:cursor-pointer:hover{cursor:pointer}.hover\:bg-\[\#e1e1e1\]:hover{background-color:#e1e1e1}.hover\:bg-primary-50:hover{background-color:var(--color-primary-50)}.hover\:underline:hover{text-decoration-line:underline}}.focus\:border-blue-500:focus{border-color:var(--color-blue-500)}.focus\:ring-blue-500:focus{--tw-ring-color:var(--color-blue-500)}.focus\:outline-none:focus{--tw-outline-style:none;outline-style:none}}.btn{cursor:pointer;border-style:var(--tw-border-style);border-width:1px;border-color:var(--color-primary-800);background-color:var(--color-primary-800);height:30px;min-height:30px;max-height:30px;padding-inline:calc(var(--spacing)*2);color:var(--color-white);--tw-duration:.3s;border-radius:2px;padding-block:3.5px;transition-duration:.3s}@media (hover:hover){.btn:hover{border-color:var(--color-primary-700);background-color:var(--color-primary-700)}}.btn.btn-danger{border-color:var(--color-red-600)!important;background-color:var(--color-red-600)!important}@media (hover:hover){.btn.btn-danger:hover{border-color:var(--color-red-500)!important;background-color:var(--color-red-500)!important}}.btn.btn-success{border-color:var(--color-green-600)!important;background-color:var(--color-green-600)!important}@media (hover:hover){.btn.btn-success:hover{border-color:var(--color-green-500)!important;background-color:var(--color-green-500)!important}}.btn.btn-warning{border-color:var(--color-yellow-500)!important;background-color:var(--color-yellow-500)!important}@media (hover:hover){.btn.btn-warning:hover{border-color:var(--color-yellow-400)!important;background-color:var(--color-yellow-400)!important}}.btn.btn-secondary{border-color:var(--color-secondary-500)!important;background-color:var(--color-secondary-500)!important}@media (hover:hover){.btn.btn-secondary:hover{border-color:var(--color-secondary-400)!important;background-color:var(--color-secondary-400)!important}}.btn-outline{cursor:pointer;border-style:var(--tw-border-style);border-width:1px;border-color:var(--color-primary-800);min-width:30px;height:30px;min-height:30px;max-height:30px;padding-inline:calc(var(--spacing)*2);color:var(--color-primary-800);--tw-duration:.3s;border-radius:2px;padding-block:3.5px;transition-duration:.3s}@media (hover:hover){.btn-outline:hover{border-color:var(--color-primary-700);background-color:var(--color-primary-700);color:var(--color-white)}}.btn-outline.btn-danger{border-color:var(--color-red-600)!important;color:var(--color-red-600)!important}@media (hover:hover){.btn-outline.btn-danger:hover{border-color:var(--color-red-500)!important;background-color:var(--color-red-500)!important;color:var(--color-white)!important}}.btn-outline.btn-success{border-color:var(--color-green-600)!important;color:var(--color-green-600)!important}@media (hover:hover){.btn-outline.btn-success:hover{border-color:var(--color-green-500)!important;background-color:var(--color-green-500)!important;color:var(--color-white)!important}}.btn-outline.btn-warning{border-color:var(--color-yellow-500)!important;color:var(--color-yellow-500)!important}@media (hover:hover){.btn-outline.btn-warning:hover{border-color:var(--color-yellow-400)!important;background-color:var(--color-yellow-400)!important;color:var(--color-white)!important}}.btn-outline.btn-secondary{border-color:var(--color-secondary-500)!important;color:var(--color-secondary-500)!important}@media (hover:hover){.btn-outline.btn-secondary:hover{border-color:var(--color-secondary-400)!important;background-color:var(--color-secondary-400)!important;color:var(--color-white)!important}}body,html{background-color:#f5f6f7;font-family:Raleway,sans-serif;font-size:14px}input:focus-visible{outline:none}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false;initial-value:rotateX(0)}@property --tw-rotate-y{syntax:"*";inherits:false;initial-value:rotateY(0)}@property --tw-rotate-z{syntax:"*";inherits:false;initial-value:rotateZ(0)}@property --tw-skew-x{syntax:"*";inherits:false;initial-value:skewX(0)}@property --tw-skew-y{syntax:"*";inherits:false;initial-value:skewY(0)}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}.modal-load-enter-active,.modal-load-leave-active{transition:transform .3s ease,opacity .3s ease}.modal-load-enter-from{transform:translateY(-100%);opacity:0}.modal-load-enter-to,.modal-load-leave-from{transform:translateY(0);opacity:1}.modal-load-leave-to{transform:translateY(-100%);opacity:0}.action-show{display:block!important}.datarow-selected{background-color:#f3f4f6!important}.tabulator-action .tabulator-row{cursor:pointer}.towser-enter-active[data-v-76a42c36],.towser-leave-active[data-v-76a42c36]{transition:transform .5s ease}.towser-enter-from[data-v-76a42c36]{transform:translateY(-100%)}.towser-enter-to[data-v-76a42c36],.towser-leave-from[data-v-76a42c36]{transform:translateY(0)}.towser-leave-to[data-v-76a42c36]{transform:translateY(-100%)}
@@ -70,7 +70,7 @@ const Xt = { class: "content-div" }, Jt = { class: "content-title" }, Kt = { key
70
70
  C("div", {
71
71
  class: N(["content-body", n.bodyClass])
72
72
  }, [
73
- de(n.$slots, "default")
73
+ de(n.$slots, "body")
74
74
  ], 2)
75
75
  ]);
76
76
  };
@@ -1,4 +1,4 @@
1
- (function(z,u){typeof exports=="object"&&typeof module<"u"?u(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],u):(z=typeof globalThis<"u"?globalThis:z||self,u(z.DolphinComponents={},z.Vue))})(this,function(z,u){"use strict";var Dn=Object.defineProperty;var zn=(z,u,Y)=>u in z?Dn(z,u,{enumerable:!0,configurable:!0,writable:!0,value:Y}):z[u]=Y;var v=(z,u,Y)=>zn(z,typeof u!="symbol"?u+"":u,Y);const Y={class:"content-div"},yt={class:"content-title"},Et={key:0},Rt={key:2,width:"22px",height:"22px",class:"mt-[4px]",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},xt={class:"content-action"},kt=["onClick"],Tt=u.defineComponent({__name:"ContentLayout",props:{title:{default:()=>[]},action:{default:()=>[]},bodyClass:{default:""},titleClass:{default:""}},setup(l,{emit:e}){const t=e,i=l,s=u.ref(i.action);return u.watch(()=>i.action,n=>{s.value=n},{deep:!0}),(n,o)=>{const r=u.resolveComponent("RouterLink");return u.openBlock(),u.createElementBlock("div",Y,[u.createElementVNode("div",{class:u.normalizeClass(["content-title-div",n.titleClass])},[u.createElementVNode("div",yt,[(u.openBlock(!0),u.createElementBlock(u.Fragment,null,u.renderList(n.title,(a,h)=>(u.openBlock(),u.createElementBlock("div",{key:h},[a.link?u.createCommentVNode("",!0):(u.openBlock(),u.createElementBlock("span",Et,u.toDisplayString(a.name),1)),a.link?(u.openBlock(),u.createBlock(r,{key:1,to:a.link,class:"hover:underline cursor-pointer"},{default:u.withCtx(()=>[u.createTextVNode(u.toDisplayString(a.name),1)]),_:2},1032,["to"])):u.createCommentVNode("",!0),n.title.length!==0&&h+1!==n.title.length?(u.openBlock(),u.createElementBlock("svg",Rt,o[0]||(o[0]=[u.createElementVNode("path",{d:"M9 6L15 12L9 18",stroke:"gray",style:{"stroke-width":"2.5px"},"stroke-linecap":"round","stroke-linejoin":"round"},null,-1)]))):u.createCommentVNode("",!0)]))),128))]),u.createElementVNode("div",xt,[u.renderSlot(n.$slots,"action-before"),(u.openBlock(!0),u.createElementBlock(u.Fragment,null,u.renderList(s.value,(a,h)=>(u.openBlock(),u.createElementBlock("div",{key:h},[u.createElementVNode("button",{class:u.normalizeClass(a.class||"btn"),onClick:d=>t(a.emit)},u.toDisplayString(a.title),11,kt)]))),128)),u.renderSlot(n.$slots,"action-after")])],2),u.createElementVNode("div",{class:u.normalizeClass(["content-body",n.bodyClass])},[u.renderSlot(n.$slots,"default")],2)])}}}),Mt={class:"border-b py-3 px-4"},Lt={class:"font-bold text-lg my-auto relative flex text-[19px]"},St={key:0},Dt={key:3,width:"22px",height:"22px",class:"mt-[4px]",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},zt={class:"border-t py-2.5 px-4"},Ht={class:"my-auto relative"},Ft={class:"flex justify-end gap-1.5"},Ot=["onClick"],Pt={key:0,class:"h-screen bg-black/30 z-10 fixed top-0 right-0 left-0"},Xe=u.defineComponent({__name:"Modal",props:{title:{default:()=>[]},action:{},show:{type:Boolean,default:!1},width:{default:"600px"}},setup(l,{emit:e}){const t=e,i=u.ref(window.innerHeight),s=u.ref(null),n=u.ref(!1),o=h=>{h.emit==="onClose"?t("onClose"):t(h.emit)},r=()=>{if(s.value){const h=i.value-200;n.value=s.value.scrollHeight>h}},a=()=>{i.value=window.innerHeight,r()};return u.onMounted(()=>{r(),window.addEventListener("resize",a)}),u.onUpdated(()=>{r()}),u.onBeforeUnmount(()=>{window.removeEventListener("resize",a)}),u.watch(i,r),(h,d)=>{const c=u.resolveComponent("RouterLink");return u.openBlock(),u.createElementBlock(u.Fragment,null,[u.createVNode(u.Transition,{name:"modal-load"},{default:u.withCtx(()=>[h.show?(u.openBlock(),u.createElementBlock("div",{key:0,class:u.normalizeClass(["bg-white border border-secondary-100 z-11 fixed top-[50px] right-0 left-0 mx-auto",{"overflow-y-auto":n.value}]),style:u.normalizeStyle({width:h.width})},[u.createElementVNode("div",Mt,[u.createElementVNode("div",Lt,[(u.openBlock(!0),u.createElementBlock(u.Fragment,null,u.renderList(h.title,(f,p)=>(u.openBlock(),u.createElementBlock("span",{key:p,class:"flex"},[f.link?u.createCommentVNode("",!0):(u.openBlock(),u.createElementBlock("span",St,u.toDisplayString(f.name),1)),f.link&&f.link!=="#"?(u.openBlock(),u.createBlock(c,{key:1,to:f.link,class:"hover:underline"},{default:u.withCtx(()=>[u.createTextVNode(u.toDisplayString(f.name),1)]),_:2},1032,["to"])):u.createCommentVNode("",!0),f.link&&f.link==="#"?(u.openBlock(),u.createElementBlock("a",{key:2,onClick:d[0]||(d[0]=m=>t("onClose")),class:"hover:underline cursor-pointer"},u.toDisplayString(f.name),1)):u.createCommentVNode("",!0),h.title.length!==0&&p+1!==h.title.length?(u.openBlock(),u.createElementBlock("svg",Dt,d[2]||(d[2]=[u.createElementVNode("path",{d:"M9 6L15 12L9 18",stroke:"gray",style:{"stroke-width":"2.5px"},"stroke-linecap":"round","stroke-linejoin":"round"},null,-1)]))):u.createCommentVNode("",!0)]))),128)),u.createElementVNode("div",{class:"absolute hover:cursor-pointer top-[7px] right-0 text-xl group",onClick:d[1]||(d[1]=f=>t("onClose"))},d[3]||(d[3]=[u.createElementVNode("svg",{width:"16px",height:"16px",viewBox:"0 0 16.00 16.00",xmlns:"http://www.w3.org/2000/svg",stroke:"#000000",class:"stroke-secondary-400 fill-secondary-400 group-hover:stroke-secondary-600 group-hover:fill-secondary-600 duration-200","stroke-width":"0.592"},[u.createElementVNode("g",{id:"SVGRepo_iconCarrier"},[u.createElementVNode("path",{d:"M0 14.545L1.455 16 8 9.455 14.545 16 16 14.545 9.455 8 16 1.455 14.545 0 8 6.545 1.455 0 0 1.455 6.545 8z","fill-rule":"evenodd"})])],-1)]))])]),u.createElementVNode("div",{ref_key:"dynamicDiv",ref:s,class:u.normalizeClass(["py-4 px-4",{"overflow-y-auto":n.value}]),style:u.normalizeStyle({maxHeight:`${i.value-200}px`})},[u.renderSlot(h.$slots,"default")],6),u.createElementVNode("div",zt,[u.createElementVNode("div",Ht,[u.createElementVNode("div",Ft,[(u.openBlock(!0),u.createElementBlock(u.Fragment,null,u.renderList(h.action,(f,p)=>(u.openBlock(),u.createElementBlock("div",{key:p},[u.createElementVNode("button",{class:u.normalizeClass(f.class||"btn"),onClick:m=>o(f)},u.toDisplayString(f.title),11,Ot)]))),128))])])])],6)):u.createCommentVNode("",!0)]),_:3}),h.show?(u.openBlock(),u.createElementBlock("div",Pt)):u.createCommentVNode("",!0)],64)}}}),At=["aria-checked"],Bt=u.defineComponent({__name:"Switch",props:{modelValue:{type:Boolean,default:!1},background:{default:"bg-[#1C64F2]"},disable:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(l,{emit:e}){const t=l,i=e,s=u.ref(t.modelValue);u.watch(()=>t.modelValue,o=>{s.value=o});const n=()=>{t.disable||(s.value=!s.value,i("update:modelValue",s.value))};return(o,r)=>(u.openBlock(),u.createElementBlock("button",{onClick:n,class:u.normalizeClass(["relative w-[40px] h-[25px] rounded-full p-1 transition-colors duration-200 my-[1px]",[s.value?o.background:"bg-gray-200",o.disable?"cursor-not-allowed":"cursor-pointer"]]),role:"switch","aria-checked":s.value},[u.createElementVNode("div",{class:u.normalizeClass(["flex items-center justify-center w-[15px] h-[15px] rounded-full bg-white shadow-md transform transition-transform duration-200",s.value?"translate-x-[110%]":"translate-x-0"])},null,2)],10,At))}});class H{constructor(e){this.table=e}reloadData(e,t,i){return this.table.dataLoader.load(e,void 0,void 0,void 0,t,i)}langText(){return this.table.modules.localize.getText(...arguments)}langBind(){return this.table.modules.localize.bind(...arguments)}langLocale(){return this.table.modules.localize.getLocale(...arguments)}commsConnections(){return this.table.modules.comms.getConnections(...arguments)}commsSend(){return this.table.modules.comms.send(...arguments)}layoutMode(){return this.table.modules.layout.getMode()}layoutRefresh(e){return this.table.modules.layout.layout(e)}subscribe(){return this.table.eventBus.subscribe(...arguments)}unsubscribe(){return this.table.eventBus.unsubscribe(...arguments)}subscribed(e){return this.table.eventBus.subscribed(e)}subscriptionChange(){return this.table.eventBus.subscriptionChange(...arguments)}dispatch(){return this.table.eventBus.dispatch(...arguments)}chain(){return this.table.eventBus.chain(...arguments)}confirm(){return this.table.eventBus.confirm(...arguments)}dispatchExternal(){return this.table.externalEvents.dispatch(...arguments)}subscribedExternal(e){return this.table.externalEvents.subscribed(e)}subscriptionChangeExternal(){return this.table.externalEvents.subscriptionChange(...arguments)}options(e){return this.table.options[e]}setOption(e,t){return typeof t<"u"&&(this.table.options[e]=t),this.table.options[e]}deprecationCheck(e,t,i){return this.table.deprecationAdvisor.check(e,t,i)}deprecationCheckMsg(e,t){return this.table.deprecationAdvisor.checkMsg(e,t)}deprecationMsg(e){return this.table.deprecationAdvisor.msg(e)}module(e){return this.table.module(e)}}class L{static elVisible(e){return!(e.offsetWidth<=0&&e.offsetHeight<=0)}static elOffset(e){var t=e.getBoundingClientRect();return{top:t.top+window.pageYOffset-document.documentElement.clientTop,left:t.left+window.pageXOffset-document.documentElement.clientLeft}}static retrieveNestedData(e,t,i){var s=e?t.split(e):[t],n=s.length,o;for(let r=0;r<n&&(i=i[s[r]],o=i,!!i);r++);return o}static deepClone(e,t,i=[]){var s={}.__proto__,n=[].__proto__;t||(t=Object.assign(Array.isArray(e)?[]:{},e));for(var o in e){let r=e[o],a,h;r!=null&&typeof r=="object"&&(r.__proto__===s||r.__proto__===n)&&(a=i.findIndex(d=>d.subject===r),a>-1?t[o]=i[a].copy:(h=Object.assign(Array.isArray(r)?[]:{},r),i.unshift({subject:r,copy:h}),t[o]=this.deepClone(r,h,i)))}return t}}let _t=class Ct extends H{constructor(e,t,i){super(e),this.element=t,this.container=this._lookupContainer(),this.parent=i,this.reversedX=!1,this.childPopup=null,this.blurable=!1,this.blurCallback=null,this.blurEventsBound=!1,this.renderedCallback=null,this.visible=!1,this.hideable=!0,this.element.classList.add("tabulator-popup-container"),this.blurEvent=this.hide.bind(this,!1),this.escEvent=this._escapeCheck.bind(this),this.destroyBinding=this.tableDestroyed.bind(this),this.destroyed=!1}tableDestroyed(){this.destroyed=!0,this.hide(!0)}_lookupContainer(){var e=this.table.options.popupContainer;return typeof e=="string"?(e=document.querySelector(e),e||console.warn("Menu Error - no container element found matching selector:",this.table.options.popupContainer,"(defaulting to document body)")):e===!0&&(e=this.table.element),e&&!this._checkContainerIsParent(e)&&(e=!1,console.warn("Menu Error - container element does not contain this table:",this.table.options.popupContainer,"(defaulting to document body)")),e||(e=document.body),e}_checkContainerIsParent(e,t=this.table.element){return e===t?!0:t.parentNode?this._checkContainerIsParent(e,t.parentNode):!1}renderCallback(e){this.renderedCallback=e}containerEventCoords(e){var t=!(e instanceof MouseEvent),i=t?e.touches[0].pageX:e.pageX,s=t?e.touches[0].pageY:e.pageY;if(this.container!==document.body){let n=L.elOffset(this.container);i-=n.left,s-=n.top}return{x:i,y:s}}elementPositionCoords(e,t="right"){var i=L.elOffset(e),s,n,o;switch(this.container!==document.body&&(s=L.elOffset(this.container),i.left-=s.left,i.top-=s.top),t){case"right":n=i.left+e.offsetWidth,o=i.top-1;break;case"bottom":n=i.left,o=i.top+e.offsetHeight;break;case"left":n=i.left,o=i.top-1;break;case"top":n=i.left,o=i.top;break;case"center":n=i.left+e.offsetWidth/2,o=i.top+e.offsetHeight/2;break}return{x:n,y:o,offset:i}}show(e,t){var i,s,n,o,r;return this.destroyed||this.table.destroyed?this:(e instanceof HTMLElement?(n=e,r=this.elementPositionCoords(e,t),o=r.offset,i=r.x,s=r.y):typeof e=="number"?(o={top:0,left:0},i=e,s=t):(r=this.containerEventCoords(e),i=r.x,s=r.y,this.reversedX=!1),this.element.style.top=s+"px",this.element.style.left=i+"px",this.container.appendChild(this.element),typeof this.renderedCallback=="function"&&this.renderedCallback(),this._fitToScreen(i,s,n,o,t),this.visible=!0,this.subscribe("table-destroy",this.destroyBinding),this.element.addEventListener("mousedown",a=>{a.stopPropagation()}),this)}_fitToScreen(e,t,i,s,n){var o=this.container===document.body?document.documentElement.scrollTop:this.container.scrollTop;(e+this.element.offsetWidth>=this.container.offsetWidth||this.reversedX)&&(this.element.style.left="",i?this.element.style.right=this.container.offsetWidth-s.left+"px":this.element.style.right=this.container.offsetWidth-e+"px",this.reversedX=!0);let r=Math.max(this.container.offsetHeight,o?this.container.scrollHeight:0);if(t+this.element.offsetHeight>r)if(i)switch(n){case"bottom":this.element.style.top=parseInt(this.element.style.top)-this.element.offsetHeight-i.offsetHeight-1+"px";break;default:this.element.style.top=parseInt(this.element.style.top)-this.element.offsetHeight+i.offsetHeight+1+"px"}else this.element.style.height=r+"px"}isVisible(){return this.visible}hideOnBlur(e){return this.blurable=!0,this.visible&&(setTimeout(()=>{this.visible&&(this.table.rowManager.element.addEventListener("scroll",this.blurEvent),this.subscribe("cell-editing",this.blurEvent),document.body.addEventListener("click",this.blurEvent),document.body.addEventListener("contextmenu",this.blurEvent),document.body.addEventListener("mousedown",this.blurEvent),window.addEventListener("resize",this.blurEvent),document.body.addEventListener("keydown",this.escEvent),this.blurEventsBound=!0)},100),this.blurCallback=e),this}_escapeCheck(e){e.keyCode==27&&this.hide()}blockHide(){this.hideable=!1}restoreHide(){this.hideable=!0}hide(e=!1){return this.visible&&this.hideable&&(this.blurable&&this.blurEventsBound&&(document.body.removeEventListener("keydown",this.escEvent),document.body.removeEventListener("click",this.blurEvent),document.body.removeEventListener("contextmenu",this.blurEvent),document.body.removeEventListener("mousedown",this.blurEvent),window.removeEventListener("resize",this.blurEvent),this.table.rowManager.element.removeEventListener("scroll",this.blurEvent),this.unsubscribe("cell-editing",this.blurEvent),this.blurEventsBound=!1),this.childPopup&&this.childPopup.hide(),this.parent&&(this.parent.childPopup=null),this.element.parentNode&&this.element.parentNode.removeChild(this.element),this.visible=!1,this.blurCallback&&!e&&this.blurCallback(),this.unsubscribe("table-destroy",this.destroyBinding)),this}child(e){return this.childPopup&&this.childPopup.hide(),this.childPopup=new Ct(this.table,e,this),this.childPopup}};class y extends H{constructor(e,t){super(e),this._handler=null}initialize(){}registerTableOption(e,t){this.table.optionsList.register(e,t)}registerColumnOption(e,t){this.table.columnManager.optionsList.register(e,t)}registerTableFunction(e,t){typeof this.table[e]>"u"?this.table[e]=(...i)=>(this.table.initGuard(e),t(...i)):console.warn("Unable to bind table function, name already in use",e)}registerComponentFunction(e,t,i){return this.table.componentFunctionBinder.bind(e,t,i)}registerDataHandler(e,t){this.table.rowManager.registerDataPipelineHandler(e,t),this._handler=e}registerDisplayHandler(e,t){this.table.rowManager.registerDisplayPipelineHandler(e,t),this._handler=e}displayRows(e){var t=this.table.rowManager.displayRows.length-1,i;if(this._handler&&(i=this.table.rowManager.displayPipeline.findIndex(s=>s.handler===this._handler),i>-1&&(t=i)),e&&(t=t+e),this._handler)return t>-1?this.table.rowManager.getDisplayRows(t):this.activeRows()}activeRows(){return this.table.rowManager.activeRows}refreshData(e,t){t||(t=this._handler),t&&this.table.rowManager.refreshActiveData(t,!1,e)}footerAppend(e){return this.table.footerManager.append(e)}footerPrepend(e){return this.table.footerManager.prepend(e)}footerRemove(e){return this.table.footerManager.remove(e)}popup(e,t){return new _t(this.table,e,t)}alert(e,t){return this.table.alertManager.alert(e,t)}clearAlert(){return this.table.alertManager.clear()}}var Vt={rownum:function(l,e,t,i,s,n){return n.getPosition()}};const Q=class Q extends y{constructor(e){super(e),this.allowedTypes=["","data","download","clipboard","print","htmlOutput"],this.registerColumnOption("accessor"),this.registerColumnOption("accessorParams"),this.registerColumnOption("accessorData"),this.registerColumnOption("accessorDataParams"),this.registerColumnOption("accessorDownload"),this.registerColumnOption("accessorDownloadParams"),this.registerColumnOption("accessorClipboard"),this.registerColumnOption("accessorClipboardParams"),this.registerColumnOption("accessorPrint"),this.registerColumnOption("accessorPrintParams"),this.registerColumnOption("accessorHtmlOutput"),this.registerColumnOption("accessorHtmlOutputParams")}initialize(){this.subscribe("column-layout",this.initializeColumn.bind(this)),this.subscribe("row-data-retrieve",this.transformRow.bind(this))}initializeColumn(e){var t=!1,i={};this.allowedTypes.forEach(s=>{var n="accessor"+(s.charAt(0).toUpperCase()+s.slice(1)),o;e.definition[n]&&(o=this.lookupAccessor(e.definition[n]),o&&(t=!0,i[n]={accessor:o,params:e.definition[n+"Params"]||{}}))}),t&&(e.modules.accessor=i)}lookupAccessor(e){var t=!1;switch(typeof e){case"string":Q.accessors[e]?t=Q.accessors[e]:console.warn("Accessor Error - No such accessor found, ignoring: ",e);break;case"function":t=e;break}return t}transformRow(e,t){var i="accessor"+(t.charAt(0).toUpperCase()+t.slice(1)),s=e.getComponent(),n=L.deepClone(e.data||{});return this.table.columnManager.traverse(function(o){var r,a,h,d;o.modules.accessor&&(a=o.modules.accessor[i]||o.modules.accessor.accessor||!1,a&&(r=o.getFieldValue(n),r!="undefined"&&(d=o.getComponent(),h=typeof a.params=="function"?a.params(r,n,t,d,s):a.params,o.setFieldValue(n,a.accessor(r,n,t,h,d,s)))))}),n}};v(Q,"moduleName","accessor"),v(Q,"accessors",Vt);let be=Q;var Nt={method:"GET"};function ve(l,e){var t=[];if(e=e||"",Array.isArray(l))l.forEach((s,n)=>{t=t.concat(ve(s,e?e+"["+n+"]":n))});else if(typeof l=="object")for(var i in l)t=t.concat(ve(l[i],e?e+"["+i+"]":i));else t.push({key:e,value:l});return t}function It(l){var e=ve(l),t=[];return e.forEach(function(i){t.push(encodeURIComponent(i.key)+"="+encodeURIComponent(i.value))}),t.join("&")}function Je(l,e,t){return l&&t&&Object.keys(t).length&&(!e.method||e.method.toLowerCase()=="get")&&(e.method="get",l+=(l.includes("?")?"&":"?")+It(t)),l}function Wt(l,e,t){var i;return new Promise((s,n)=>{if(l=this.urlGenerator.call(this.table,l,e,t),e.method.toUpperCase()!="GET")if(i=typeof this.table.options.ajaxContentType=="object"?this.table.options.ajaxContentType:this.contentTypeFormatters[this.table.options.ajaxContentType],i){for(var o in i.headers)e.headers||(e.headers={}),typeof e.headers[o]>"u"&&(e.headers[o]=i.headers[o]);e.body=i.body.call(this,l,e,t)}else console.warn("Ajax Error - Invalid ajaxContentType value:",this.table.options.ajaxContentType);l?(typeof e.headers>"u"&&(e.headers={}),typeof e.headers.Accept>"u"&&(e.headers.Accept="application/json"),typeof e.headers["X-Requested-With"]>"u"&&(e.headers["X-Requested-With"]="XMLHttpRequest"),typeof e.mode>"u"&&(e.mode="cors"),e.mode=="cors"?(typeof e.headers.Origin>"u"&&(e.headers.Origin=window.location.origin),typeof e.credentials>"u"&&(e.credentials="same-origin")):typeof e.credentials>"u"&&(e.credentials="include"),fetch(l,e).then(r=>{r.ok?r.json().then(a=>{s(a)}).catch(a=>{n(a),console.warn("Ajax Load Error - Invalid JSON returned",a)}):(console.error("Ajax Load Error - Connection Error: "+r.status,r.statusText),n(r))}).catch(r=>{console.error("Ajax Load Error - Connection Error: ",r),n(r)})):(console.warn("Ajax Load Error - No URL Set"),s([]))})}function we(l,e){var t=[];if(e=e||"",Array.isArray(l))l.forEach((s,n)=>{t=t.concat(we(s,e?e+"["+n+"]":n))});else if(typeof l=="object")for(var i in l)t=t.concat(we(l[i],e?e+"["+i+"]":i));else t.push({key:e,value:l});return t}var Gt={json:{headers:{"Content-Type":"application/json"},body:function(l,e,t){return JSON.stringify(t)}},form:{headers:{},body:function(l,e,t){var i=we(t),s=new FormData;return i.forEach(function(n){s.append(n.key,n.value)}),s}}};const B=class B extends y{constructor(e){super(e),this.config={},this.url="",this.urlGenerator=!1,this.params=!1,this.loaderPromise=!1,this.registerTableOption("ajaxURL",!1),this.registerTableOption("ajaxURLGenerator",!1),this.registerTableOption("ajaxParams",{}),this.registerTableOption("ajaxConfig","get"),this.registerTableOption("ajaxContentType","form"),this.registerTableOption("ajaxRequestFunc",!1),this.registerTableOption("ajaxRequesting",function(){}),this.registerTableOption("ajaxResponse",!1),this.contentTypeFormatters=B.contentTypeFormatters}initialize(){this.loaderPromise=this.table.options.ajaxRequestFunc||B.defaultLoaderPromise,this.urlGenerator=this.table.options.ajaxURLGenerator||B.defaultURLGenerator,this.table.options.ajaxURL&&this.setUrl(this.table.options.ajaxURL),this.setDefaultConfig(this.table.options.ajaxConfig),this.registerTableFunction("getAjaxUrl",this.getUrl.bind(this)),this.subscribe("data-loading",this.requestDataCheck.bind(this)),this.subscribe("data-params",this.requestParams.bind(this)),this.subscribe("data-load",this.requestData.bind(this))}requestParams(e,t,i,s){var n=this.table.options.ajaxParams;return n&&(typeof n=="function"&&(n=n.call(this.table)),s=Object.assign(Object.assign({},n),s)),s}requestDataCheck(e,t,i,s){return!!(!e&&this.url||typeof e=="string")}requestData(e,t,i,s,n){var o;return!n&&this.requestDataCheck(e)?(e&&this.setUrl(e),o=this.generateConfig(i),this.sendRequest(this.url,t,o)):n}setDefaultConfig(e={}){this.config=Object.assign({},B.defaultConfig),typeof e=="string"?this.config.method=e:Object.assign(this.config,e)}generateConfig(e={}){var t=Object.assign({},this.config);return typeof e=="string"?t.method=e:Object.assign(t,e),t}setUrl(e){this.url=e}getUrl(){return this.url}sendRequest(e,t,i){return this.table.options.ajaxRequesting.call(this.table,e,t)!==!1?this.loaderPromise(e,i,t).then(s=>(this.table.options.ajaxResponse&&(s=this.table.options.ajaxResponse.call(this.table,e,t,s)),s)):Promise.reject()}};v(B,"moduleName","ajax"),v(B,"defaultConfig",Nt),v(B,"defaultURLGenerator",Je),v(B,"defaultLoaderPromise",Wt),v(B,"contentTypeFormatters",Gt);let Ce=B;var jt={replace:function(l){return this.table.setData(l)},update:function(l){return this.table.updateOrAddData(l)},insert:function(l){return this.table.addData(l)}},Ut={table:function(l){var e=[],t=!0,i=this.table.columnManager.columns,s=[],n=[];return l=l.split(`
1
+ (function(z,u){typeof exports=="object"&&typeof module<"u"?u(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],u):(z=typeof globalThis<"u"?globalThis:z||self,u(z.DolphinComponents={},z.Vue))})(this,function(z,u){"use strict";var Dn=Object.defineProperty;var zn=(z,u,Y)=>u in z?Dn(z,u,{enumerable:!0,configurable:!0,writable:!0,value:Y}):z[u]=Y;var v=(z,u,Y)=>zn(z,typeof u!="symbol"?u+"":u,Y);const Y={class:"content-div"},yt={class:"content-title"},Et={key:0},Rt={key:2,width:"22px",height:"22px",class:"mt-[4px]",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},xt={class:"content-action"},kt=["onClick"],Tt=u.defineComponent({__name:"ContentLayout",props:{title:{default:()=>[]},action:{default:()=>[]},bodyClass:{default:""},titleClass:{default:""}},setup(l,{emit:e}){const t=e,i=l,s=u.ref(i.action);return u.watch(()=>i.action,n=>{s.value=n},{deep:!0}),(n,o)=>{const r=u.resolveComponent("RouterLink");return u.openBlock(),u.createElementBlock("div",Y,[u.createElementVNode("div",{class:u.normalizeClass(["content-title-div",n.titleClass])},[u.createElementVNode("div",yt,[(u.openBlock(!0),u.createElementBlock(u.Fragment,null,u.renderList(n.title,(a,h)=>(u.openBlock(),u.createElementBlock("div",{key:h},[a.link?u.createCommentVNode("",!0):(u.openBlock(),u.createElementBlock("span",Et,u.toDisplayString(a.name),1)),a.link?(u.openBlock(),u.createBlock(r,{key:1,to:a.link,class:"hover:underline cursor-pointer"},{default:u.withCtx(()=>[u.createTextVNode(u.toDisplayString(a.name),1)]),_:2},1032,["to"])):u.createCommentVNode("",!0),n.title.length!==0&&h+1!==n.title.length?(u.openBlock(),u.createElementBlock("svg",Rt,o[0]||(o[0]=[u.createElementVNode("path",{d:"M9 6L15 12L9 18",stroke:"gray",style:{"stroke-width":"2.5px"},"stroke-linecap":"round","stroke-linejoin":"round"},null,-1)]))):u.createCommentVNode("",!0)]))),128))]),u.createElementVNode("div",xt,[u.renderSlot(n.$slots,"action-before"),(u.openBlock(!0),u.createElementBlock(u.Fragment,null,u.renderList(s.value,(a,h)=>(u.openBlock(),u.createElementBlock("div",{key:h},[u.createElementVNode("button",{class:u.normalizeClass(a.class||"btn"),onClick:d=>t(a.emit)},u.toDisplayString(a.title),11,kt)]))),128)),u.renderSlot(n.$slots,"action-after")])],2),u.createElementVNode("div",{class:u.normalizeClass(["content-body",n.bodyClass])},[u.renderSlot(n.$slots,"body")],2)])}}}),Mt={class:"border-b py-3 px-4"},Lt={class:"font-bold text-lg my-auto relative flex text-[19px]"},St={key:0},Dt={key:3,width:"22px",height:"22px",class:"mt-[4px]",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},zt={class:"border-t py-2.5 px-4"},Ht={class:"my-auto relative"},Ft={class:"flex justify-end gap-1.5"},Ot=["onClick"],Pt={key:0,class:"h-screen bg-black/30 z-10 fixed top-0 right-0 left-0"},Xe=u.defineComponent({__name:"Modal",props:{title:{default:()=>[]},action:{},show:{type:Boolean,default:!1},width:{default:"600px"}},setup(l,{emit:e}){const t=e,i=u.ref(window.innerHeight),s=u.ref(null),n=u.ref(!1),o=h=>{h.emit==="onClose"?t("onClose"):t(h.emit)},r=()=>{if(s.value){const h=i.value-200;n.value=s.value.scrollHeight>h}},a=()=>{i.value=window.innerHeight,r()};return u.onMounted(()=>{r(),window.addEventListener("resize",a)}),u.onUpdated(()=>{r()}),u.onBeforeUnmount(()=>{window.removeEventListener("resize",a)}),u.watch(i,r),(h,d)=>{const c=u.resolveComponent("RouterLink");return u.openBlock(),u.createElementBlock(u.Fragment,null,[u.createVNode(u.Transition,{name:"modal-load"},{default:u.withCtx(()=>[h.show?(u.openBlock(),u.createElementBlock("div",{key:0,class:u.normalizeClass(["bg-white border border-secondary-100 z-11 fixed top-[50px] right-0 left-0 mx-auto",{"overflow-y-auto":n.value}]),style:u.normalizeStyle({width:h.width})},[u.createElementVNode("div",Mt,[u.createElementVNode("div",Lt,[(u.openBlock(!0),u.createElementBlock(u.Fragment,null,u.renderList(h.title,(f,p)=>(u.openBlock(),u.createElementBlock("span",{key:p,class:"flex"},[f.link?u.createCommentVNode("",!0):(u.openBlock(),u.createElementBlock("span",St,u.toDisplayString(f.name),1)),f.link&&f.link!=="#"?(u.openBlock(),u.createBlock(c,{key:1,to:f.link,class:"hover:underline"},{default:u.withCtx(()=>[u.createTextVNode(u.toDisplayString(f.name),1)]),_:2},1032,["to"])):u.createCommentVNode("",!0),f.link&&f.link==="#"?(u.openBlock(),u.createElementBlock("a",{key:2,onClick:d[0]||(d[0]=m=>t("onClose")),class:"hover:underline cursor-pointer"},u.toDisplayString(f.name),1)):u.createCommentVNode("",!0),h.title.length!==0&&p+1!==h.title.length?(u.openBlock(),u.createElementBlock("svg",Dt,d[2]||(d[2]=[u.createElementVNode("path",{d:"M9 6L15 12L9 18",stroke:"gray",style:{"stroke-width":"2.5px"},"stroke-linecap":"round","stroke-linejoin":"round"},null,-1)]))):u.createCommentVNode("",!0)]))),128)),u.createElementVNode("div",{class:"absolute hover:cursor-pointer top-[7px] right-0 text-xl group",onClick:d[1]||(d[1]=f=>t("onClose"))},d[3]||(d[3]=[u.createElementVNode("svg",{width:"16px",height:"16px",viewBox:"0 0 16.00 16.00",xmlns:"http://www.w3.org/2000/svg",stroke:"#000000",class:"stroke-secondary-400 fill-secondary-400 group-hover:stroke-secondary-600 group-hover:fill-secondary-600 duration-200","stroke-width":"0.592"},[u.createElementVNode("g",{id:"SVGRepo_iconCarrier"},[u.createElementVNode("path",{d:"M0 14.545L1.455 16 8 9.455 14.545 16 16 14.545 9.455 8 16 1.455 14.545 0 8 6.545 1.455 0 0 1.455 6.545 8z","fill-rule":"evenodd"})])],-1)]))])]),u.createElementVNode("div",{ref_key:"dynamicDiv",ref:s,class:u.normalizeClass(["py-4 px-4",{"overflow-y-auto":n.value}]),style:u.normalizeStyle({maxHeight:`${i.value-200}px`})},[u.renderSlot(h.$slots,"default")],6),u.createElementVNode("div",zt,[u.createElementVNode("div",Ht,[u.createElementVNode("div",Ft,[(u.openBlock(!0),u.createElementBlock(u.Fragment,null,u.renderList(h.action,(f,p)=>(u.openBlock(),u.createElementBlock("div",{key:p},[u.createElementVNode("button",{class:u.normalizeClass(f.class||"btn"),onClick:m=>o(f)},u.toDisplayString(f.title),11,Ot)]))),128))])])])],6)):u.createCommentVNode("",!0)]),_:3}),h.show?(u.openBlock(),u.createElementBlock("div",Pt)):u.createCommentVNode("",!0)],64)}}}),At=["aria-checked"],Bt=u.defineComponent({__name:"Switch",props:{modelValue:{type:Boolean,default:!1},background:{default:"bg-[#1C64F2]"},disable:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(l,{emit:e}){const t=l,i=e,s=u.ref(t.modelValue);u.watch(()=>t.modelValue,o=>{s.value=o});const n=()=>{t.disable||(s.value=!s.value,i("update:modelValue",s.value))};return(o,r)=>(u.openBlock(),u.createElementBlock("button",{onClick:n,class:u.normalizeClass(["relative w-[40px] h-[25px] rounded-full p-1 transition-colors duration-200 my-[1px]",[s.value?o.background:"bg-gray-200",o.disable?"cursor-not-allowed":"cursor-pointer"]]),role:"switch","aria-checked":s.value},[u.createElementVNode("div",{class:u.normalizeClass(["flex items-center justify-center w-[15px] h-[15px] rounded-full bg-white shadow-md transform transition-transform duration-200",s.value?"translate-x-[110%]":"translate-x-0"])},null,2)],10,At))}});class H{constructor(e){this.table=e}reloadData(e,t,i){return this.table.dataLoader.load(e,void 0,void 0,void 0,t,i)}langText(){return this.table.modules.localize.getText(...arguments)}langBind(){return this.table.modules.localize.bind(...arguments)}langLocale(){return this.table.modules.localize.getLocale(...arguments)}commsConnections(){return this.table.modules.comms.getConnections(...arguments)}commsSend(){return this.table.modules.comms.send(...arguments)}layoutMode(){return this.table.modules.layout.getMode()}layoutRefresh(e){return this.table.modules.layout.layout(e)}subscribe(){return this.table.eventBus.subscribe(...arguments)}unsubscribe(){return this.table.eventBus.unsubscribe(...arguments)}subscribed(e){return this.table.eventBus.subscribed(e)}subscriptionChange(){return this.table.eventBus.subscriptionChange(...arguments)}dispatch(){return this.table.eventBus.dispatch(...arguments)}chain(){return this.table.eventBus.chain(...arguments)}confirm(){return this.table.eventBus.confirm(...arguments)}dispatchExternal(){return this.table.externalEvents.dispatch(...arguments)}subscribedExternal(e){return this.table.externalEvents.subscribed(e)}subscriptionChangeExternal(){return this.table.externalEvents.subscriptionChange(...arguments)}options(e){return this.table.options[e]}setOption(e,t){return typeof t<"u"&&(this.table.options[e]=t),this.table.options[e]}deprecationCheck(e,t,i){return this.table.deprecationAdvisor.check(e,t,i)}deprecationCheckMsg(e,t){return this.table.deprecationAdvisor.checkMsg(e,t)}deprecationMsg(e){return this.table.deprecationAdvisor.msg(e)}module(e){return this.table.module(e)}}class L{static elVisible(e){return!(e.offsetWidth<=0&&e.offsetHeight<=0)}static elOffset(e){var t=e.getBoundingClientRect();return{top:t.top+window.pageYOffset-document.documentElement.clientTop,left:t.left+window.pageXOffset-document.documentElement.clientLeft}}static retrieveNestedData(e,t,i){var s=e?t.split(e):[t],n=s.length,o;for(let r=0;r<n&&(i=i[s[r]],o=i,!!i);r++);return o}static deepClone(e,t,i=[]){var s={}.__proto__,n=[].__proto__;t||(t=Object.assign(Array.isArray(e)?[]:{},e));for(var o in e){let r=e[o],a,h;r!=null&&typeof r=="object"&&(r.__proto__===s||r.__proto__===n)&&(a=i.findIndex(d=>d.subject===r),a>-1?t[o]=i[a].copy:(h=Object.assign(Array.isArray(r)?[]:{},r),i.unshift({subject:r,copy:h}),t[o]=this.deepClone(r,h,i)))}return t}}let _t=class Ct extends H{constructor(e,t,i){super(e),this.element=t,this.container=this._lookupContainer(),this.parent=i,this.reversedX=!1,this.childPopup=null,this.blurable=!1,this.blurCallback=null,this.blurEventsBound=!1,this.renderedCallback=null,this.visible=!1,this.hideable=!0,this.element.classList.add("tabulator-popup-container"),this.blurEvent=this.hide.bind(this,!1),this.escEvent=this._escapeCheck.bind(this),this.destroyBinding=this.tableDestroyed.bind(this),this.destroyed=!1}tableDestroyed(){this.destroyed=!0,this.hide(!0)}_lookupContainer(){var e=this.table.options.popupContainer;return typeof e=="string"?(e=document.querySelector(e),e||console.warn("Menu Error - no container element found matching selector:",this.table.options.popupContainer,"(defaulting to document body)")):e===!0&&(e=this.table.element),e&&!this._checkContainerIsParent(e)&&(e=!1,console.warn("Menu Error - container element does not contain this table:",this.table.options.popupContainer,"(defaulting to document body)")),e||(e=document.body),e}_checkContainerIsParent(e,t=this.table.element){return e===t?!0:t.parentNode?this._checkContainerIsParent(e,t.parentNode):!1}renderCallback(e){this.renderedCallback=e}containerEventCoords(e){var t=!(e instanceof MouseEvent),i=t?e.touches[0].pageX:e.pageX,s=t?e.touches[0].pageY:e.pageY;if(this.container!==document.body){let n=L.elOffset(this.container);i-=n.left,s-=n.top}return{x:i,y:s}}elementPositionCoords(e,t="right"){var i=L.elOffset(e),s,n,o;switch(this.container!==document.body&&(s=L.elOffset(this.container),i.left-=s.left,i.top-=s.top),t){case"right":n=i.left+e.offsetWidth,o=i.top-1;break;case"bottom":n=i.left,o=i.top+e.offsetHeight;break;case"left":n=i.left,o=i.top-1;break;case"top":n=i.left,o=i.top;break;case"center":n=i.left+e.offsetWidth/2,o=i.top+e.offsetHeight/2;break}return{x:n,y:o,offset:i}}show(e,t){var i,s,n,o,r;return this.destroyed||this.table.destroyed?this:(e instanceof HTMLElement?(n=e,r=this.elementPositionCoords(e,t),o=r.offset,i=r.x,s=r.y):typeof e=="number"?(o={top:0,left:0},i=e,s=t):(r=this.containerEventCoords(e),i=r.x,s=r.y,this.reversedX=!1),this.element.style.top=s+"px",this.element.style.left=i+"px",this.container.appendChild(this.element),typeof this.renderedCallback=="function"&&this.renderedCallback(),this._fitToScreen(i,s,n,o,t),this.visible=!0,this.subscribe("table-destroy",this.destroyBinding),this.element.addEventListener("mousedown",a=>{a.stopPropagation()}),this)}_fitToScreen(e,t,i,s,n){var o=this.container===document.body?document.documentElement.scrollTop:this.container.scrollTop;(e+this.element.offsetWidth>=this.container.offsetWidth||this.reversedX)&&(this.element.style.left="",i?this.element.style.right=this.container.offsetWidth-s.left+"px":this.element.style.right=this.container.offsetWidth-e+"px",this.reversedX=!0);let r=Math.max(this.container.offsetHeight,o?this.container.scrollHeight:0);if(t+this.element.offsetHeight>r)if(i)switch(n){case"bottom":this.element.style.top=parseInt(this.element.style.top)-this.element.offsetHeight-i.offsetHeight-1+"px";break;default:this.element.style.top=parseInt(this.element.style.top)-this.element.offsetHeight+i.offsetHeight+1+"px"}else this.element.style.height=r+"px"}isVisible(){return this.visible}hideOnBlur(e){return this.blurable=!0,this.visible&&(setTimeout(()=>{this.visible&&(this.table.rowManager.element.addEventListener("scroll",this.blurEvent),this.subscribe("cell-editing",this.blurEvent),document.body.addEventListener("click",this.blurEvent),document.body.addEventListener("contextmenu",this.blurEvent),document.body.addEventListener("mousedown",this.blurEvent),window.addEventListener("resize",this.blurEvent),document.body.addEventListener("keydown",this.escEvent),this.blurEventsBound=!0)},100),this.blurCallback=e),this}_escapeCheck(e){e.keyCode==27&&this.hide()}blockHide(){this.hideable=!1}restoreHide(){this.hideable=!0}hide(e=!1){return this.visible&&this.hideable&&(this.blurable&&this.blurEventsBound&&(document.body.removeEventListener("keydown",this.escEvent),document.body.removeEventListener("click",this.blurEvent),document.body.removeEventListener("contextmenu",this.blurEvent),document.body.removeEventListener("mousedown",this.blurEvent),window.removeEventListener("resize",this.blurEvent),this.table.rowManager.element.removeEventListener("scroll",this.blurEvent),this.unsubscribe("cell-editing",this.blurEvent),this.blurEventsBound=!1),this.childPopup&&this.childPopup.hide(),this.parent&&(this.parent.childPopup=null),this.element.parentNode&&this.element.parentNode.removeChild(this.element),this.visible=!1,this.blurCallback&&!e&&this.blurCallback(),this.unsubscribe("table-destroy",this.destroyBinding)),this}child(e){return this.childPopup&&this.childPopup.hide(),this.childPopup=new Ct(this.table,e,this),this.childPopup}};class y extends H{constructor(e,t){super(e),this._handler=null}initialize(){}registerTableOption(e,t){this.table.optionsList.register(e,t)}registerColumnOption(e,t){this.table.columnManager.optionsList.register(e,t)}registerTableFunction(e,t){typeof this.table[e]>"u"?this.table[e]=(...i)=>(this.table.initGuard(e),t(...i)):console.warn("Unable to bind table function, name already in use",e)}registerComponentFunction(e,t,i){return this.table.componentFunctionBinder.bind(e,t,i)}registerDataHandler(e,t){this.table.rowManager.registerDataPipelineHandler(e,t),this._handler=e}registerDisplayHandler(e,t){this.table.rowManager.registerDisplayPipelineHandler(e,t),this._handler=e}displayRows(e){var t=this.table.rowManager.displayRows.length-1,i;if(this._handler&&(i=this.table.rowManager.displayPipeline.findIndex(s=>s.handler===this._handler),i>-1&&(t=i)),e&&(t=t+e),this._handler)return t>-1?this.table.rowManager.getDisplayRows(t):this.activeRows()}activeRows(){return this.table.rowManager.activeRows}refreshData(e,t){t||(t=this._handler),t&&this.table.rowManager.refreshActiveData(t,!1,e)}footerAppend(e){return this.table.footerManager.append(e)}footerPrepend(e){return this.table.footerManager.prepend(e)}footerRemove(e){return this.table.footerManager.remove(e)}popup(e,t){return new _t(this.table,e,t)}alert(e,t){return this.table.alertManager.alert(e,t)}clearAlert(){return this.table.alertManager.clear()}}var Vt={rownum:function(l,e,t,i,s,n){return n.getPosition()}};const Q=class Q extends y{constructor(e){super(e),this.allowedTypes=["","data","download","clipboard","print","htmlOutput"],this.registerColumnOption("accessor"),this.registerColumnOption("accessorParams"),this.registerColumnOption("accessorData"),this.registerColumnOption("accessorDataParams"),this.registerColumnOption("accessorDownload"),this.registerColumnOption("accessorDownloadParams"),this.registerColumnOption("accessorClipboard"),this.registerColumnOption("accessorClipboardParams"),this.registerColumnOption("accessorPrint"),this.registerColumnOption("accessorPrintParams"),this.registerColumnOption("accessorHtmlOutput"),this.registerColumnOption("accessorHtmlOutputParams")}initialize(){this.subscribe("column-layout",this.initializeColumn.bind(this)),this.subscribe("row-data-retrieve",this.transformRow.bind(this))}initializeColumn(e){var t=!1,i={};this.allowedTypes.forEach(s=>{var n="accessor"+(s.charAt(0).toUpperCase()+s.slice(1)),o;e.definition[n]&&(o=this.lookupAccessor(e.definition[n]),o&&(t=!0,i[n]={accessor:o,params:e.definition[n+"Params"]||{}}))}),t&&(e.modules.accessor=i)}lookupAccessor(e){var t=!1;switch(typeof e){case"string":Q.accessors[e]?t=Q.accessors[e]:console.warn("Accessor Error - No such accessor found, ignoring: ",e);break;case"function":t=e;break}return t}transformRow(e,t){var i="accessor"+(t.charAt(0).toUpperCase()+t.slice(1)),s=e.getComponent(),n=L.deepClone(e.data||{});return this.table.columnManager.traverse(function(o){var r,a,h,d;o.modules.accessor&&(a=o.modules.accessor[i]||o.modules.accessor.accessor||!1,a&&(r=o.getFieldValue(n),r!="undefined"&&(d=o.getComponent(),h=typeof a.params=="function"?a.params(r,n,t,d,s):a.params,o.setFieldValue(n,a.accessor(r,n,t,h,d,s)))))}),n}};v(Q,"moduleName","accessor"),v(Q,"accessors",Vt);let be=Q;var Nt={method:"GET"};function ve(l,e){var t=[];if(e=e||"",Array.isArray(l))l.forEach((s,n)=>{t=t.concat(ve(s,e?e+"["+n+"]":n))});else if(typeof l=="object")for(var i in l)t=t.concat(ve(l[i],e?e+"["+i+"]":i));else t.push({key:e,value:l});return t}function It(l){var e=ve(l),t=[];return e.forEach(function(i){t.push(encodeURIComponent(i.key)+"="+encodeURIComponent(i.value))}),t.join("&")}function Je(l,e,t){return l&&t&&Object.keys(t).length&&(!e.method||e.method.toLowerCase()=="get")&&(e.method="get",l+=(l.includes("?")?"&":"?")+It(t)),l}function Wt(l,e,t){var i;return new Promise((s,n)=>{if(l=this.urlGenerator.call(this.table,l,e,t),e.method.toUpperCase()!="GET")if(i=typeof this.table.options.ajaxContentType=="object"?this.table.options.ajaxContentType:this.contentTypeFormatters[this.table.options.ajaxContentType],i){for(var o in i.headers)e.headers||(e.headers={}),typeof e.headers[o]>"u"&&(e.headers[o]=i.headers[o]);e.body=i.body.call(this,l,e,t)}else console.warn("Ajax Error - Invalid ajaxContentType value:",this.table.options.ajaxContentType);l?(typeof e.headers>"u"&&(e.headers={}),typeof e.headers.Accept>"u"&&(e.headers.Accept="application/json"),typeof e.headers["X-Requested-With"]>"u"&&(e.headers["X-Requested-With"]="XMLHttpRequest"),typeof e.mode>"u"&&(e.mode="cors"),e.mode=="cors"?(typeof e.headers.Origin>"u"&&(e.headers.Origin=window.location.origin),typeof e.credentials>"u"&&(e.credentials="same-origin")):typeof e.credentials>"u"&&(e.credentials="include"),fetch(l,e).then(r=>{r.ok?r.json().then(a=>{s(a)}).catch(a=>{n(a),console.warn("Ajax Load Error - Invalid JSON returned",a)}):(console.error("Ajax Load Error - Connection Error: "+r.status,r.statusText),n(r))}).catch(r=>{console.error("Ajax Load Error - Connection Error: ",r),n(r)})):(console.warn("Ajax Load Error - No URL Set"),s([]))})}function we(l,e){var t=[];if(e=e||"",Array.isArray(l))l.forEach((s,n)=>{t=t.concat(we(s,e?e+"["+n+"]":n))});else if(typeof l=="object")for(var i in l)t=t.concat(we(l[i],e?e+"["+i+"]":i));else t.push({key:e,value:l});return t}var Gt={json:{headers:{"Content-Type":"application/json"},body:function(l,e,t){return JSON.stringify(t)}},form:{headers:{},body:function(l,e,t){var i=we(t),s=new FormData;return i.forEach(function(n){s.append(n.key,n.value)}),s}}};const B=class B extends y{constructor(e){super(e),this.config={},this.url="",this.urlGenerator=!1,this.params=!1,this.loaderPromise=!1,this.registerTableOption("ajaxURL",!1),this.registerTableOption("ajaxURLGenerator",!1),this.registerTableOption("ajaxParams",{}),this.registerTableOption("ajaxConfig","get"),this.registerTableOption("ajaxContentType","form"),this.registerTableOption("ajaxRequestFunc",!1),this.registerTableOption("ajaxRequesting",function(){}),this.registerTableOption("ajaxResponse",!1),this.contentTypeFormatters=B.contentTypeFormatters}initialize(){this.loaderPromise=this.table.options.ajaxRequestFunc||B.defaultLoaderPromise,this.urlGenerator=this.table.options.ajaxURLGenerator||B.defaultURLGenerator,this.table.options.ajaxURL&&this.setUrl(this.table.options.ajaxURL),this.setDefaultConfig(this.table.options.ajaxConfig),this.registerTableFunction("getAjaxUrl",this.getUrl.bind(this)),this.subscribe("data-loading",this.requestDataCheck.bind(this)),this.subscribe("data-params",this.requestParams.bind(this)),this.subscribe("data-load",this.requestData.bind(this))}requestParams(e,t,i,s){var n=this.table.options.ajaxParams;return n&&(typeof n=="function"&&(n=n.call(this.table)),s=Object.assign(Object.assign({},n),s)),s}requestDataCheck(e,t,i,s){return!!(!e&&this.url||typeof e=="string")}requestData(e,t,i,s,n){var o;return!n&&this.requestDataCheck(e)?(e&&this.setUrl(e),o=this.generateConfig(i),this.sendRequest(this.url,t,o)):n}setDefaultConfig(e={}){this.config=Object.assign({},B.defaultConfig),typeof e=="string"?this.config.method=e:Object.assign(this.config,e)}generateConfig(e={}){var t=Object.assign({},this.config);return typeof e=="string"?t.method=e:Object.assign(t,e),t}setUrl(e){this.url=e}getUrl(){return this.url}sendRequest(e,t,i){return this.table.options.ajaxRequesting.call(this.table,e,t)!==!1?this.loaderPromise(e,i,t).then(s=>(this.table.options.ajaxResponse&&(s=this.table.options.ajaxResponse.call(this.table,e,t,s)),s)):Promise.reject()}};v(B,"moduleName","ajax"),v(B,"defaultConfig",Nt),v(B,"defaultURLGenerator",Je),v(B,"defaultLoaderPromise",Wt),v(B,"contentTypeFormatters",Gt);let Ce=B;var jt={replace:function(l){return this.table.setData(l)},update:function(l){return this.table.updateOrAddData(l)},insert:function(l){return this.table.addData(l)}},Ut={table:function(l){var e=[],t=!0,i=this.table.columnManager.columns,s=[],n=[];return l=l.split(`
2
2
  `),l.forEach(function(o){e.push(o.split(" "))}),e.length&&!(e.length===1&&e[0].length<2)?(e[0].forEach(function(o){var r=i.find(function(a){return o&&a.definition.title&&o.trim()&&a.definition.title.trim()===o.trim()});r?s.push(r):t=!1}),t||(t=!0,s=[],e[0].forEach(function(o){var r=i.find(function(a){return o&&a.field&&o.trim()&&a.field.trim()===o.trim()});r?s.push(r):t=!1}),t||(s=this.table.columnManager.columnsByIndex)),t&&e.shift(),e.forEach(function(o){var r={};o.forEach(function(a,h){s[h]&&(r[s[h].field]=a)}),n.push(r)}),n):!1}},$t={copyToClipboard:["ctrl + 67","meta + 67"]},Xt={copyToClipboard:function(l){this.table.modules.edit.currentCell||this.table.modExists("clipboard",!0)&&this.table.modules.clipboard.copy(!1,!0)}},Jt={keybindings:{bindings:$t,actions:Xt}};const I=class I extends y{constructor(e){super(e),this.mode=!0,this.pasteParser=function(){},this.pasteAction=function(){},this.customSelection=!1,this.rowRange=!1,this.blocked=!0,this.registerTableOption("clipboard",!1),this.registerTableOption("clipboardCopyStyled",!0),this.registerTableOption("clipboardCopyConfig",!1),this.registerTableOption("clipboardCopyFormatter",!1),this.registerTableOption("clipboardCopyRowRange","active"),this.registerTableOption("clipboardPasteParser","table"),this.registerTableOption("clipboardPasteAction","insert"),this.registerColumnOption("clipboard"),this.registerColumnOption("titleClipboard")}initialize(){this.mode=this.table.options.clipboard,this.rowRange=this.table.options.clipboardCopyRowRange,(this.mode===!0||this.mode==="copy")&&this.table.element.addEventListener("copy",e=>{var t,i,s;this.blocked||(e.preventDefault(),this.customSelection?(t=this.customSelection,this.table.options.clipboardCopyFormatter&&(t=this.table.options.clipboardCopyFormatter("plain",t))):(s=this.table.modules.export.generateExportList(this.table.options.clipboardCopyConfig,this.table.options.clipboardCopyStyled,this.rowRange,"clipboard"),i=this.table.modules.export.generateHTMLTable(s),t=i?this.generatePlainContent(s):"",this.table.options.clipboardCopyFormatter&&(t=this.table.options.clipboardCopyFormatter("plain",t),i=this.table.options.clipboardCopyFormatter("html",i))),window.clipboardData&&window.clipboardData.setData?window.clipboardData.setData("Text",t):e.clipboardData&&e.clipboardData.setData?(e.clipboardData.setData("text/plain",t),i&&e.clipboardData.setData("text/html",i)):e.originalEvent&&e.originalEvent.clipboardData.setData&&(e.originalEvent.clipboardData.setData("text/plain",t),i&&e.originalEvent.clipboardData.setData("text/html",i)),this.dispatchExternal("clipboardCopied",t,i),this.reset())}),(this.mode===!0||this.mode==="paste")&&this.table.element.addEventListener("paste",e=>{this.paste(e)}),this.setPasteParser(this.table.options.clipboardPasteParser),this.setPasteAction(this.table.options.clipboardPasteAction),this.registerTableFunction("copyToClipboard",this.copy.bind(this))}reset(){this.blocked=!0,this.customSelection=!1}generatePlainContent(e){var t=[];return e.forEach(i=>{var s=[];i.columns.forEach(n=>{var o="";if(n)if(i.type==="group"&&(n.value=n.component.getKey()),n.value===null)o="";else switch(typeof n.value){case"object":o=JSON.stringify(n.value);break;case"undefined":o="";break;default:o=n.value}s.push(o)}),t.push(s.join(" "))}),t.join(`
3
3
  `)}copy(e,t){var i,s;this.blocked=!1,this.customSelection=!1,(this.mode===!0||this.mode==="copy")&&(this.rowRange=e||this.table.options.clipboardCopyRowRange,typeof window.getSelection<"u"&&typeof document.createRange<"u"?(e=document.createRange(),e.selectNodeContents(this.table.element),i=window.getSelection(),i.toString()&&t&&(this.customSelection=i.toString()),i.removeAllRanges(),i.addRange(e)):typeof document.selection<"u"&&typeof document.body.createTextRange<"u"&&(s=document.body.createTextRange(),s.moveToElementText(this.table.element),s.select()),document.execCommand("copy"),i&&i.removeAllRanges())}setPasteAction(e){switch(typeof e){case"string":this.pasteAction=I.pasteActions[e],this.pasteAction||console.warn("Clipboard Error - No such paste action found:",e);break;case"function":this.pasteAction=e;break}}setPasteParser(e){switch(typeof e){case"string":this.pasteParser=I.pasteParsers[e],this.pasteParser||console.warn("Clipboard Error - No such paste parser found:",e);break;case"function":this.pasteParser=e;break}}paste(e){var t,i,s;this.checkPasteOrigin(e)&&(t=this.getPasteData(e),i=this.pasteParser.call(this,t),i?(e.preventDefault(),this.table.modExists("mutator")&&(i=this.mutateData(i)),s=this.pasteAction.call(this,i),this.dispatchExternal("clipboardPasted",t,i,s)):this.dispatchExternal("clipboardPasteError",t))}mutateData(e){var t=[];return Array.isArray(e)?e.forEach(i=>{t.push(this.table.modules.mutator.transformRow(i,"clipboard"))}):t=e,t}checkPasteOrigin(e){var t=!0,i=this.confirm("clipboard-paste",[e]);return(i||!["DIV","SPAN"].includes(e.target.tagName))&&(t=!1),t}getPasteData(e){var t;return window.clipboardData&&window.clipboardData.getData?t=window.clipboardData.getData("Text"):e.clipboardData&&e.clipboardData.getData?t=e.clipboardData.getData("text/plain"):e.originalEvent&&e.originalEvent.clipboardData.getData&&(t=e.originalEvent.clipboardData.getData("text/plain")),t}};v(I,"moduleName","clipboard"),v(I,"moduleExtensions",Jt),v(I,"pasteActions",jt),v(I,"pasteParsers",Ut);let ye=I;class Kt{constructor(e){return this._row=e,new Proxy(this,{get:function(t,i,s){return typeof t[i]<"u"?t[i]:t._row.table.componentFunctionBinder.handle("row",t._row,i)}})}getData(e){return this._row.getData(e)}getElement(){return this._row.getElement()}getTable(){return this._row.table}getCells(){var e=[];return this._row.getCells().forEach(function(t){e.push(t.getComponent())}),e}getCell(e){var t=this._row.getCell(e);return t?t.getComponent():!1}_getSelf(){return this._row}}class Ke{constructor(e){return this._cell=e,new Proxy(this,{get:function(t,i,s){return typeof t[i]<"u"?t[i]:t._cell.table.componentFunctionBinder.handle("cell",t._cell,i)}})}getValue(){return this._cell.getValue()}getOldValue(){return this._cell.getOldValue()}getInitialValue(){return this._cell.initialValue}getElement(){return this._cell.getElement()}getRow(){return this._cell.row.getComponent()}getData(e){return this._cell.row.getData(e)}getType(){return"cell"}getField(){return this._cell.column.getField()}getColumn(){return this._cell.column.getComponent()}setValue(e,t){typeof t>"u"&&(t=!0),this._cell.setValue(e,t)}restoreOldValue(){this._cell.setValueActual(this._cell.getOldValue())}restoreInitialValue(){this._cell.setValueActual(this._cell.initialValue)}checkHeight(){this._cell.checkHeight()}getTable(){return this._cell.table}_getSelf(){return this._cell}}class ne extends H{constructor(e,t){super(e.table),this.table=e.table,this.column=e,this.row=t,this.element=null,this.value=null,this.initialValue,this.oldValue=null,this.modules={},this.height=null,this.width=null,this.minWidth=null,this.component=null,this.loaded=!1,this.build()}build(){this.generateElement(),this.setWidth(),this._configureCell(),this.setValueActual(this.column.getFieldValue(this.row.data)),this.initialValue=this.value}generateElement(){this.element=document.createElement("div"),this.element.className="tabulator-cell",this.element.setAttribute("role","gridcell"),this.column.isRowHeader&&this.element.classList.add("tabulator-row-header")}_configureCell(){var e=this.element,t=this.column.getField(),i={top:"flex-start",bottom:"flex-end",middle:"center"},s={left:"flex-start",right:"flex-end",center:"center"};if(e.style.textAlign=this.column.hozAlign,this.column.vertAlign&&(e.style.display="inline-flex",e.style.alignItems=i[this.column.vertAlign]||"",this.column.hozAlign&&(e.style.justifyContent=s[this.column.hozAlign]||"")),t&&e.setAttribute("tabulator-field",t),this.column.definition.cssClass){var n=this.column.definition.cssClass.split(" ");n.forEach(o=>{e.classList.add(o)})}this.dispatch("cell-init",this),this.column.visible||this.hide()}_generateContents(){var e;switch(e=this.chain("cell-format",this,null,()=>this.element.innerHTML=this.value),typeof e){case"object":if(e instanceof Node){for(;this.element.firstChild;)this.element.removeChild(this.element.firstChild);this.element.appendChild(e)}else this.element.innerHTML="",e!=null&&console.warn("Format Error - Formatter has returned a type of object, the only valid formatter object return is an instance of Node, the formatter returned:",e);break;case"undefined":this.element.innerHTML="";break;default:this.element.innerHTML=e}}cellRendered(){this.dispatch("cell-rendered",this)}getElement(e){return this.loaded||(this.loaded=!0,e||this.layoutElement()),this.element}getValue(){return this.value}getOldValue(){return this.oldValue}setValue(e,t,i){var s=this.setValueProcessData(e,t,i);s&&(this.dispatch("cell-value-updated",this),this.cellRendered(),this.column.definition.cellEdited&&this.column.definition.cellEdited.call(this.table,this.getComponent()),this.dispatchExternal("cellEdited",this.getComponent()),this.subscribedExternal("dataChanged")&&this.dispatchExternal("dataChanged",this.table.rowManager.getData()))}setValueProcessData(e,t,i){var s=!1;return(this.value!==e||i)&&(s=!0,t&&(e=this.chain("cell-value-changing",[this,e],null,e))),this.setValueActual(e),s&&this.dispatch("cell-value-changed",this),s}setValueActual(e){this.oldValue=this.value,this.value=e,this.dispatch("cell-value-save-before",this),this.column.setFieldValue(this.row.data,e),this.dispatch("cell-value-save-after",this),this.loaded&&this.layoutElement()}layoutElement(){this._generateContents(),this.dispatch("cell-layout",this)}setWidth(){this.width=this.column.width,this.element.style.width=this.column.widthStyled}clearWidth(){this.width="",this.element.style.width=""}getWidth(){return this.width||this.element.offsetWidth}setMinWidth(){this.minWidth=this.column.minWidth,this.element.style.minWidth=this.column.minWidthStyled}setMaxWidth(){this.maxWidth=this.column.maxWidth,this.element.style.maxWidth=this.column.maxWidthStyled}checkHeight(){this.row.reinitializeHeight()}clearHeight(){this.element.style.height="",this.height=null,this.dispatch("cell-height",this,"")}setHeight(){this.height=this.row.height,this.element.style.height=this.row.heightStyled,this.dispatch("cell-height",this,this.row.heightStyled)}getHeight(){return this.height||this.element.offsetHeight}show(){this.element.style.display=this.column.vertAlign?"inline-flex":""}hide(){this.element.style.display="none"}delete(){this.dispatch("cell-delete",this),!this.table.rowManager.redrawBlock&&this.element.parentNode&&this.element.parentNode.removeChild(this.element),this.element=!1,this.column.deleteCell(this),this.row.deleteCell(this),this.calcs={}}getIndex(){return this.row.getCellIndex(this)}getComponent(){return this.component||(this.component=new Ke(this)),this.component}}class qe{constructor(e){return this._column=e,this.type="ColumnComponent",new Proxy(this,{get:function(t,i,s){return typeof t[i]<"u"?t[i]:t._column.table.componentFunctionBinder.handle("column",t._column,i)}})}getElement(){return this._column.getElement()}getDefinition(){return this._column.getDefinition()}getField(){return this._column.getField()}getTitleDownload(){return this._column.getTitleDownload()}getCells(){var e=[];return this._column.cells.forEach(function(t){e.push(t.getComponent())}),e}isVisible(){return this._column.visible}show(){this._column.isGroup?this._column.columns.forEach(function(e){e.show()}):this._column.show()}hide(){this._column.isGroup?this._column.columns.forEach(function(e){e.hide()}):this._column.hide()}toggle(){this._column.visible?this.hide():this.show()}delete(){return this._column.delete()}getSubColumns(){var e=[];return this._column.columns.length&&this._column.columns.forEach(function(t){e.push(t.getComponent())}),e}getParentColumn(){return this._column.getParentComponent()}_getSelf(){return this._column}scrollTo(e,t){return this._column.table.columnManager.scrollToColumn(this._column,e,t)}getTable(){return this._column.table}move(e,t){var i=this._column.table.columnManager.findColumn(e);i?this._column.table.columnManager.moveColumn(this._column,i,t):console.warn("Move Error - No matching column found:",i)}getNextColumn(){var e=this._column.nextColumn();return e?e.getComponent():!1}getPrevColumn(){var e=this._column.prevColumn();return e?e.getComponent():!1}updateDefinition(e){return this._column.updateDefinition(e)}getWidth(){return this._column.getWidth()}setWidth(e){var t;return e===!0?t=this._column.reinitializeWidth(!0):t=this._column.setWidth(e),this._column.table.columnManager.rerenderColumns(!0),t}}var Ye={title:void 0,field:void 0,columns:void 0,visible:void 0,hozAlign:void 0,vertAlign:void 0,width:void 0,minWidth:40,maxWidth:void 0,maxInitialWidth:void 0,cssClass:void 0,variableHeight:void 0,headerVertical:void 0,headerHozAlign:void 0,headerWordWrap:!1,editableTitle:void 0};const J=class J extends H{constructor(e,t,i){super(t.table),this.definition=e,this.parent=t,this.type="column",this.columns=[],this.cells=[],this.isGroup=!1,this.isRowHeader=i,this.element=this.createElement(),this.contentElement=!1,this.titleHolderElement=!1,this.titleElement=!1,this.groupElement=this.createGroupElement(),this.hozAlign="",this.vertAlign="",this.field="",this.fieldStructure="",this.getFieldValue="",this.setFieldValue="",this.titleDownload=null,this.titleFormatterRendered=!1,this.mapDefinitions(),this.setField(this.definition.field),this.modules={},this.width=null,this.widthStyled="",this.maxWidth=null,this.maxWidthStyled="",this.maxInitialWidth=null,this.minWidth=null,this.minWidthStyled="",this.widthFixed=!1,this.visible=!0,this.component=null,this.definition.columns?(this.isGroup=!0,this.definition.columns.forEach((s,n)=>{var o=new J(s,this);this.attachColumn(o)}),this.checkColumnVisibility()):t.registerColumnField(this),this._initialize()}createElement(){var e=document.createElement("div");switch(e.classList.add("tabulator-col"),e.setAttribute("role","columnheader"),e.setAttribute("aria-sort","none"),this.isRowHeader&&e.classList.add("tabulator-row-header"),this.table.options.columnHeaderVertAlign){case"middle":e.style.justifyContent="center";break;case"bottom":e.style.justifyContent="flex-end";break}return e}createGroupElement(){var e=document.createElement("div");return e.classList.add("tabulator-col-group-cols"),e}mapDefinitions(){var e=this.table.options.columnDefaults;if(e)for(let t in e)typeof this.definition[t]>"u"&&(this.definition[t]=e[t]);this.definition=this.table.columnManager.optionsList.generate(J.defaultOptionList,this.definition)}checkDefinition(){Object.keys(this.definition).forEach(e=>{J.defaultOptionList.indexOf(e)===-1&&console.warn("Invalid column definition option in '"+(this.field||this.definition.title)+"' column:",e)})}setField(e){this.field=e,this.fieldStructure=e?this.table.options.nestedFieldSeparator?e.split(this.table.options.nestedFieldSeparator):[e]:[],this.getFieldValue=this.fieldStructure.length>1?this._getNestedData:this._getFlatData,this.setFieldValue=this.fieldStructure.length>1?this._setNestedData:this._setFlatData}registerColumnPosition(e){this.parent.registerColumnPosition(e)}registerColumnField(e){this.parent.registerColumnField(e)}reRegisterPosition(){this.isGroup?this.columns.forEach(function(e){e.reRegisterPosition()}):this.registerColumnPosition(this)}_initialize(){for(var e=this.definition;this.element.firstChild;)this.element.removeChild(this.element.firstChild);e.headerVertical&&(this.element.classList.add("tabulator-col-vertical"),e.headerVertical==="flip"&&this.element.classList.add("tabulator-col-vertical-flip")),this.contentElement=this._buildColumnHeaderContent(),this.element.appendChild(this.contentElement),this.isGroup?this._buildGroupHeader():this._buildColumnHeader(),this.dispatch("column-init",this)}_buildColumnHeader(){var e=this.definition;if(this.dispatch("column-layout",this),typeof e.visible<"u"&&(e.visible?this.show(!0):this.hide(!0)),e.cssClass){var t=e.cssClass.split(" ");t.forEach(i=>{this.element.classList.add(i)})}e.field&&this.element.setAttribute("tabulator-field",e.field),this.setMinWidth(parseInt(e.minWidth)),e.maxInitialWidth&&(this.maxInitialWidth=parseInt(e.maxInitialWidth)),e.maxWidth&&this.setMaxWidth(parseInt(e.maxWidth)),this.reinitializeWidth(),this.hozAlign=this.definition.hozAlign,this.vertAlign=this.definition.vertAlign,this.titleElement.style.textAlign=this.definition.headerHozAlign}_buildColumnHeaderContent(){var e=document.createElement("div");return e.classList.add("tabulator-col-content"),this.titleHolderElement=document.createElement("div"),this.titleHolderElement.classList.add("tabulator-col-title-holder"),e.appendChild(this.titleHolderElement),this.titleElement=this._buildColumnHeaderTitle(),this.titleHolderElement.appendChild(this.titleElement),e}_buildColumnHeaderTitle(){var e=this.definition,t=document.createElement("div");if(t.classList.add("tabulator-col-title"),e.headerWordWrap&&t.classList.add("tabulator-col-title-wrap"),e.editableTitle){var i=document.createElement("input");i.classList.add("tabulator-title-editor"),i.addEventListener("click",s=>{s.stopPropagation(),i.focus()}),i.addEventListener("mousedown",s=>{s.stopPropagation()}),i.addEventListener("change",()=>{e.title=i.value,this.dispatchExternal("columnTitleChanged",this.getComponent())}),t.appendChild(i),e.field?this.langBind("columns|"+e.field,s=>{i.value=s||e.title||"&nbsp;"}):i.value=e.title||"&nbsp;"}else e.field?this.langBind("columns|"+e.field,s=>{this._formatColumnHeaderTitle(t,s||e.title||"&nbsp;")}):this._formatColumnHeaderTitle(t,e.title||"&nbsp;");return t}_formatColumnHeaderTitle(e,t){var i=this.chain("column-format",[this,t,e],null,()=>t);switch(typeof i){case"object":i instanceof Node?e.appendChild(i):(e.innerHTML="",console.warn("Format Error - Title formatter has returned a type of object, the only valid formatter object return is an instance of Node, the formatter returned:",i));break;case"undefined":e.innerHTML="";break;default:e.innerHTML=i}}_buildGroupHeader(){if(this.element.classList.add("tabulator-col-group"),this.element.setAttribute("role","columngroup"),this.element.setAttribute("aria-title",this.definition.title),this.definition.cssClass){var e=this.definition.cssClass.split(" ");e.forEach(t=>{this.element.classList.add(t)})}this.titleElement.style.textAlign=this.definition.headerHozAlign,this.element.appendChild(this.groupElement)}_getFlatData(e){return e[this.field]}_getNestedData(e){var t=e,i=this.fieldStructure,s=i.length,n;for(let o=0;o<s&&(t=t[i[o]],n=t,!!t);o++);return n}_setFlatData(e,t){this.field&&(e[this.field]=t)}_setNestedData(e,t){var i=e,s=this.fieldStructure,n=s.length;for(let o=0;o<n;o++)if(o==n-1)i[s[o]]=t;else{if(!i[s[o]])if(typeof t<"u")i[s[o]]={};else break;i=i[s[o]]}}attachColumn(e){this.groupElement?(this.columns.push(e),this.groupElement.appendChild(e.getElement()),e.columnRendered()):console.warn("Column Warning - Column being attached to another column instead of column group")}verticalAlign(e,t){var i=this.parent.isGroup?this.parent.getGroupElement().clientHeight:t||this.parent.getHeadersElement().clientHeight;this.element.style.height=i+"px",this.dispatch("column-height",this,this.element.style.height),this.isGroup&&(this.groupElement.style.minHeight=i-this.contentElement.offsetHeight+"px"),this.columns.forEach(function(s){s.verticalAlign(e)})}clearVerticalAlign(){this.element.style.paddingTop="",this.element.style.height="",this.element.style.minHeight="",this.groupElement.style.minHeight="",this.columns.forEach(function(e){e.clearVerticalAlign()}),this.dispatch("column-height",this,"")}getElement(){return this.element}getGroupElement(){return this.groupElement}getField(){return this.field}getTitleDownload(){return this.titleDownload}getFirstColumn(){return this.isGroup?this.columns.length?this.columns[0].getFirstColumn():!1:this}getLastColumn(){return this.isGroup?this.columns.length?this.columns[this.columns.length-1].getLastColumn():!1:this}getColumns(e){var t=[];return e?this.columns.forEach(i=>{t.push(i),t=t.concat(i.getColumns(!0))}):t=this.columns,t}getCells(){return this.cells}getTopColumn(){return this.parent.isGroup?this.parent.getTopColumn():this}getDefinition(e){var t=[];return this.isGroup&&e&&(this.columns.forEach(function(i){t.push(i.getDefinition(!0))}),this.definition.columns=t),this.definition}checkColumnVisibility(){var e=!1;this.columns.forEach(function(t){t.visible&&(e=!0)}),e?(this.show(),this.dispatchExternal("columnVisibilityChanged",this.getComponent(),!1)):this.hide()}show(e,t){this.visible||(this.visible=!0,this.element.style.display="",this.parent.isGroup&&this.parent.checkColumnVisibility(),this.cells.forEach(function(i){i.show()}),!this.isGroup&&this.width===null&&this.reinitializeWidth(),this.table.columnManager.verticalAlignHeaders(),this.dispatch("column-show",this,t),e||this.dispatchExternal("columnVisibilityChanged",this.getComponent(),!0),this.parent.isGroup&&this.parent.matchChildWidths(),this.silent||this.table.columnManager.rerenderColumns())}hide(e,t){this.visible&&(this.visible=!1,this.element.style.display="none",this.table.columnManager.verticalAlignHeaders(),this.parent.isGroup&&this.parent.checkColumnVisibility(),this.cells.forEach(function(i){i.hide()}),this.dispatch("column-hide",this,t),e||this.dispatchExternal("columnVisibilityChanged",this.getComponent(),!1),this.parent.isGroup&&this.parent.matchChildWidths(),this.silent||this.table.columnManager.rerenderColumns())}matchChildWidths(){var e=0;this.contentElement&&this.columns.length&&(this.columns.forEach(function(t){t.visible&&(e+=t.getWidth())}),this.contentElement.style.maxWidth=e-1+"px",this.table.initialized&&(this.element.style.width=e+"px"),this.parent.isGroup&&this.parent.matchChildWidths())}removeChild(e){var t=this.columns.indexOf(e);t>-1&&this.columns.splice(t,1),this.columns.length||this.delete()}setWidth(e){this.widthFixed=!0,this.setWidthActual(e)}setWidthActual(e){isNaN(e)&&(e=Math.floor(this.table.element.clientWidth/100*parseInt(e))),e=Math.max(this.minWidth,e),this.maxWidth&&(e=Math.min(this.maxWidth,e)),this.width=e,this.widthStyled=e?e+"px":"",this.element.style.width=this.widthStyled,this.isGroup||this.cells.forEach(function(t){t.setWidth()}),this.parent.isGroup&&this.parent.matchChildWidths(),this.dispatch("column-width",this),this.subscribedExternal("columnWidth")&&this.dispatchExternal("columnWidth",this.getComponent())}checkCellHeights(){var e=[];this.cells.forEach(function(t){t.row.heightInitialized&&(t.row.getElement().offsetParent!==null?(e.push(t.row),t.row.clearCellHeight()):t.row.heightInitialized=!1)}),e.forEach(function(t){t.calcHeight()}),e.forEach(function(t){t.setCellHeight()})}getWidth(){var e=0;return this.isGroup?this.columns.forEach(function(t){t.visible&&(e+=t.getWidth())}):e=this.width,e}getLeftOffset(){var e=this.element.offsetLeft;return this.parent.isGroup&&(e+=this.parent.getLeftOffset()),e}getHeight(){return Math.ceil(this.element.getBoundingClientRect().height)}setMinWidth(e){this.maxWidth&&e>this.maxWidth&&(e=this.maxWidth,console.warn("the minWidth ("+e+"px) for column '"+this.field+"' cannot be bigger that its maxWidth ("+this.maxWidthStyled+")")),this.minWidth=e,this.minWidthStyled=e?e+"px":"",this.element.style.minWidth=this.minWidthStyled,this.cells.forEach(function(t){t.setMinWidth()})}setMaxWidth(e){this.minWidth&&e<this.minWidth&&(e=this.minWidth,console.warn("the maxWidth ("+e+"px) for column '"+this.field+"' cannot be smaller that its minWidth ("+this.minWidthStyled+")")),this.maxWidth=e,this.maxWidthStyled=e?e+"px":"",this.element.style.maxWidth=this.maxWidthStyled,this.cells.forEach(function(t){t.setMaxWidth()})}delete(){return new Promise((e,t)=>{this.isGroup&&this.columns.forEach(function(s){s.delete()}),this.dispatch("column-delete",this);var i=this.cells.length;for(let s=0;s<i;s++)this.cells[0].delete();this.element.parentNode&&this.element.parentNode.removeChild(this.element),this.element=!1,this.contentElement=!1,this.titleElement=!1,this.groupElement=!1,this.parent.isGroup&&this.parent.removeChild(this),this.table.columnManager.deregisterColumn(this),this.table.columnManager.rerenderColumns(!0),this.dispatch("column-deleted",this),e()})}columnRendered(){this.titleFormatterRendered&&this.titleFormatterRendered(),this.dispatch("column-rendered",this)}generateCell(e){var t=new ne(this,e);return this.cells.push(t),t}nextColumn(){var e=this.table.columnManager.findColumnIndex(this);return e>-1?this._nextVisibleColumn(e+1):!1}_nextVisibleColumn(e){var t=this.table.columnManager.getColumnByIndex(e);return!t||t.visible?t:this._nextVisibleColumn(e+1)}prevColumn(){var e=this.table.columnManager.findColumnIndex(this);return e>-1?this._prevVisibleColumn(e-1):!1}_prevVisibleColumn(e){var t=this.table.columnManager.getColumnByIndex(e);return!t||t.visible?t:this._prevVisibleColumn(e-1)}reinitializeWidth(e){this.widthFixed=!1,typeof this.definition.width<"u"&&!e&&this.setWidth(this.definition.width),this.dispatch("column-width-fit-before",this),this.fitToData(e),this.dispatch("column-width-fit-after",this)}fitToData(e){if(!this.isGroup){this.widthFixed||(this.element.style.width="",this.cells.forEach(s=>{s.clearWidth()}));var t=this.element.offsetWidth;if((!this.width||!this.widthFixed)&&(this.cells.forEach(s=>{var n=s.getWidth();n>t&&(t=n)}),t)){var i=t+1;e?this.setWidth(i):(this.maxInitialWidth&&!e&&(i=Math.min(i,this.maxInitialWidth)),this.setWidthActual(i))}}}updateDefinition(e){var t;return this.isGroup||this.parent.isGroup?(console.error("Column Update Error - The updateDefinition function is only available on ungrouped columns"),Promise.reject("Column Update Error - The updateDefinition function is only available on columns, not column groups")):(t=Object.assign({},this.getDefinition()),t=Object.assign(t,e),this.table.columnManager.addColumn(t,!1,this).then(i=>(t.field==this.field&&(this.field=!1),this.delete().then(()=>i.getComponent()))))}deleteCell(e){var t=this.cells.indexOf(e);t>-1&&this.cells.splice(t,1)}getComponent(){return this.component||(this.component=new qe(this)),this.component}getPosition(){return this.table.columnManager.getVisibleColumnsByIndex().indexOf(this)+1}getParentComponent(){return this.parent instanceof J?this.parent.getComponent():!1}};v(J,"defaultOptionList",Ye);let X=J;class ce{constructor(e){return this._row=e,new Proxy(this,{get:function(t,i,s){return typeof t[i]<"u"?t[i]:t._row.table.componentFunctionBinder.handle("row",t._row,i)}})}getData(e){return this._row.getData(e)}getElement(){return this._row.getElement()}getCells(){var e=[];return this._row.getCells().forEach(function(t){e.push(t.getComponent())}),e}getCell(e){var t=this._row.getCell(e);return t?t.getComponent():!1}getIndex(){return this._row.getData("data")[this._row.table.options.index]}getPosition(){return this._row.getPosition()}watchPosition(e){return this._row.watchPosition(e)}delete(){return this._row.delete()}scrollTo(e,t){return this._row.table.rowManager.scrollToRow(this._row,e,t)}move(e,t){this._row.moveToRow(e,t)}update(e){return this._row.updateData(e)}normalizeHeight(){this._row.normalizeHeight(!0)}_getSelf(){return this._row}reformat(){return this._row.reinitialize()}getTable(){return this._row.table}getNextRow(){var e=this._row.nextRow();return e&&e.getComponent()}getPrevRow(){var e=this._row.prevRow();return e&&e.getComponent()}}class F extends H{constructor(e,t,i="row"){super(t.table),this.parent=t,this.data={},this.type=i,this.element=!1,this.modules={},this.cells=[],this.height=0,this.heightStyled="",this.manualHeight=!1,this.outerHeight=0,this.initialized=!1,this.heightInitialized=!1,this.position=0,this.positionWatchers=[],this.component=null,this.created=!1,this.setData(e)}create(){this.created||(this.created=!0,this.generateElement())}createElement(){var e=document.createElement("div");e.classList.add("tabulator-row"),e.setAttribute("role","row"),this.element=e}getElement(){return this.create(),this.element}detachElement(){this.element&&this.element.parentNode&&this.element.parentNode.removeChild(this.element)}generateElement(){this.createElement(),this.dispatch("row-init",this)}generateCells(){this.cells=this.table.columnManager.generateCells(this)}initialize(e,t){if(this.create(),!this.initialized||e){for(this.deleteCells();this.element.firstChild;)this.element.removeChild(this.element.firstChild);this.dispatch("row-layout-before",this),this.generateCells(),this.initialized=!0,this.table.columnManager.renderer.renderRowCells(this,t),e&&this.normalizeHeight(),this.dispatch("row-layout",this),this.table.options.rowFormatter&&this.table.options.rowFormatter(this.getComponent()),this.dispatch("row-layout-after",this)}else this.table.columnManager.renderer.rerenderRowCells(this,t)}rendered(){this.cells.forEach(e=>{e.cellRendered()})}reinitializeHeight(){this.heightInitialized=!1,this.element&&this.element.offsetParent!==null&&this.normalizeHeight(!0)}deinitialize(){this.initialized=!1}deinitializeHeight(){this.heightInitialized=!1}reinitialize(e){this.initialized=!1,this.heightInitialized=!1,this.manualHeight||(this.height=0,this.heightStyled=""),this.element&&this.element.offsetParent!==null&&this.initialize(!0),this.dispatch("row-relayout",this)}calcHeight(e){var t=0,i=0;this.table.options.rowHeight?this.height=this.table.options.rowHeight:(i=this.calcMinHeight(),t=this.calcMaxHeight(),e?this.height=Math.max(t,i):this.height=this.manualHeight?this.height:Math.max(t,i)),this.heightStyled=this.height?this.height+"px":"",this.outerHeight=this.element.offsetHeight}calcMinHeight(){return this.table.options.resizableRows?this.element.clientHeight:0}calcMaxHeight(){var e=0;return this.cells.forEach(function(t){var i=t.getHeight();i>e&&(e=i)}),e}setCellHeight(){this.cells.forEach(function(e){e.setHeight()}),this.heightInitialized=!0}clearCellHeight(){this.cells.forEach(function(e){e.clearHeight()})}normalizeHeight(e){e&&!this.table.options.rowHeight&&this.clearCellHeight(),this.calcHeight(e),this.setCellHeight()}setHeight(e,t){(this.height!=e||t)&&(this.manualHeight=!0,this.height=e,this.heightStyled=e?e+"px":"",this.setCellHeight(),this.outerHeight=this.element.offsetHeight,this.subscribedExternal("rowHeight")&&this.dispatchExternal("rowHeight",this.getComponent()))}getHeight(){return this.outerHeight}getWidth(){return this.element.offsetWidth}deleteCell(e){var t=this.cells.indexOf(e);t>-1&&this.cells.splice(t,1)}setData(e){this.data=this.chain("row-data-init-before",[this,e],void 0,e),this.dispatch("row-data-init-after",this)}updateData(e){var t=this.element&&L.elVisible(this.element),i={},s;return new Promise((n,o)=>{typeof e=="string"&&(e=JSON.parse(e)),this.dispatch("row-data-save-before",this),this.subscribed("row-data-changing")&&(i=Object.assign(i,this.data),i=Object.assign(i,e)),s=this.chain("row-data-changing",[this,i,e],null,e);for(let r in s)this.data[r]=s[r];this.dispatch("row-data-save-after",this);for(let r in e)this.table.columnManager.getColumnsByFieldRoot(r).forEach(h=>{let d=this.getCell(h.getField());if(d){let c=h.getFieldValue(s);d.getValue()!==c&&(d.setValueProcessData(c),t&&d.cellRendered())}});t?(this.normalizeHeight(!0),this.table.options.rowFormatter&&this.table.options.rowFormatter(this.getComponent())):(this.initialized=!1,this.height=0,this.heightStyled=""),this.dispatch("row-data-changed",this,t,e),this.dispatchExternal("rowUpdated",this.getComponent()),this.subscribedExternal("dataChanged")&&this.dispatchExternal("dataChanged",this.table.rowManager.getData()),n()})}getData(e){return e?this.chain("row-data-retrieve",[this,e],null,this.data):this.data}getCell(e){var t=!1;return e=this.table.columnManager.findColumn(e),!this.initialized&&this.cells.length===0&&this.generateCells(),t=this.cells.find(function(i){return i.column===e}),t}getCellIndex(e){return this.cells.findIndex(function(t){return t===e})}findCell(e){return this.cells.find(t=>t.element===e)}getCells(){return!this.initialized&&this.cells.length===0&&this.generateCells(),this.cells}nextRow(){var e=this.table.rowManager.nextDisplayRow(this,!0);return e||!1}prevRow(){var e=this.table.rowManager.prevDisplayRow(this,!0);return e||!1}moveToRow(e,t){var i=this.table.rowManager.findRow(e);i?(this.table.rowManager.moveRowActual(this,i,!t),this.table.rowManager.refreshActiveData("display",!1,!0)):console.warn("Move Error - No matching row found:",e)}delete(){return this.dispatch("row-delete",this),this.deleteActual(),Promise.resolve()}deleteActual(e){this.detachModules(),this.table.rowManager.deleteRow(this,e),this.deleteCells(),this.initialized=!1,this.heightInitialized=!1,this.element=!1,this.dispatch("row-deleted",this)}detachModules(){this.dispatch("row-deleting",this)}deleteCells(){var e=this.cells.length;for(let t=0;t<e;t++)this.cells[0].delete()}wipe(){if(this.detachModules(),this.deleteCells(),this.element){for(;this.element.firstChild;)this.element.removeChild(this.element.firstChild);this.element.parentNode&&this.element.parentNode.removeChild(this.element)}this.element=!1,this.modules={}}isDisplayed(){return this.table.rowManager.getDisplayRows().includes(this)}getPosition(){return this.isDisplayed()?this.position:!1}setPosition(e){e!=this.position&&(this.position=e,this.positionWatchers.forEach(t=>{t(this.position)}))}watchPosition(e){this.positionWatchers.push(e),e(this.position)}getGroup(){return this.modules.group||!1}getComponent(){return this.component||(this.component=new ce(this)),this.component}}var qt={avg:function(l,e,t){var i=0,s=typeof t.precision<"u"?t.precision:2;return l.length&&(i=l.reduce(function(n,o){return Number(n)+Number(o)}),i=i/l.length,i=s!==!1?i.toFixed(s):i),parseFloat(i).toString()},max:function(l,e,t){var i=null,s=typeof t.precision<"u"?t.precision:!1;return l.forEach(function(n){n=Number(n),(n>i||i===null)&&(i=n)}),i!==null?s!==!1?i.toFixed(s):i:""},min:function(l,e,t){var i=null,s=typeof t.precision<"u"?t.precision:!1;return l.forEach(function(n){n=Number(n),(n<i||i===null)&&(i=n)}),i!==null?s!==!1?i.toFixed(s):i:""},sum:function(l,e,t){var i=0,s=typeof t.precision<"u"?t.precision:!1;return l.length&&l.forEach(function(n){n=Number(n),i+=isNaN(n)?0:Number(n)}),s!==!1?i.toFixed(s):i},concat:function(l,e,t){var i=0;return l.length&&(i=l.reduce(function(s,n){return String(s)+String(n)})),i},count:function(l,e,t){var i=0;return l.length&&l.forEach(function(s){s&&i++}),i},unique:function(l,e,t){var i=l.filter((s,n)=>(l||s===0)&&l.indexOf(s)===n);return i.length}};const W=class W extends y{constructor(e){super(e),this.topCalcs=[],this.botCalcs=[],this.genColumn=!1,this.topElement=this.createElement(),this.botElement=this.createElement(),this.topRow=!1,this.botRow=!1,this.topInitialized=!1,this.botInitialized=!1,this.blocked=!1,this.recalcAfterBlock=!1,this.registerTableOption("columnCalcs",!0),this.registerColumnOption("topCalc"),this.registerColumnOption("topCalcParams"),this.registerColumnOption("topCalcFormatter"),this.registerColumnOption("topCalcFormatterParams"),this.registerColumnOption("bottomCalc"),this.registerColumnOption("bottomCalcParams"),this.registerColumnOption("bottomCalcFormatter"),this.registerColumnOption("bottomCalcFormatterParams")}createElement(){var e=document.createElement("div");return e.classList.add("tabulator-calcs-holder"),e}initialize(){this.genColumn=new X({field:"value"},this),this.subscribe("cell-value-changed",this.cellValueChanged.bind(this)),this.subscribe("column-init",this.initializeColumnCheck.bind(this)),this.subscribe("row-deleted",this.rowsUpdated.bind(this)),this.subscribe("scroll-horizontal",this.scrollHorizontal.bind(this)),this.subscribe("row-added",this.rowsUpdated.bind(this)),this.subscribe("column-moved",this.recalcActiveRows.bind(this)),this.subscribe("column-add",this.recalcActiveRows.bind(this)),this.subscribe("data-refreshed",this.recalcActiveRowsRefresh.bind(this)),this.subscribe("table-redraw",this.tableRedraw.bind(this)),this.subscribe("rows-visible",this.visibleRows.bind(this)),this.subscribe("scrollbar-vertical",this.adjustForScrollbar.bind(this)),this.subscribe("redraw-blocked",this.blockRedraw.bind(this)),this.subscribe("redraw-restored",this.restoreRedraw.bind(this)),this.subscribe("table-redrawing",this.resizeHolderWidth.bind(this)),this.subscribe("column-resized",this.resizeHolderWidth.bind(this)),this.subscribe("column-show",this.resizeHolderWidth.bind(this)),this.subscribe("column-hide",this.resizeHolderWidth.bind(this)),this.registerTableFunction("getCalcResults",this.getResults.bind(this)),this.registerTableFunction("recalc",this.userRecalc.bind(this)),this.resizeHolderWidth()}resizeHolderWidth(){this.topElement.style.minWidth=this.table.columnManager.headersElement.offsetWidth+"px"}tableRedraw(e){this.recalc(this.table.rowManager.activeRows),e&&this.redraw()}blockRedraw(){this.blocked=!0,this.recalcAfterBlock=!1}restoreRedraw(){this.blocked=!1,this.recalcAfterBlock&&(this.recalcAfterBlock=!1,this.recalcActiveRowsRefresh())}userRecalc(){this.recalc(this.table.rowManager.activeRows)}blockCheck(){return this.blocked&&(this.recalcAfterBlock=!0),this.blocked}visibleRows(e,t){return this.topRow&&t.unshift(this.topRow),this.botRow&&t.push(this.botRow),t}rowsUpdated(e){this.table.options.groupBy?this.recalcRowGroup(e):this.recalcActiveRows()}recalcActiveRowsRefresh(){this.table.options.groupBy&&this.table.options.dataTreeStartExpanded&&this.table.options.dataTree?this.recalcAll():this.recalcActiveRows()}recalcActiveRows(){this.recalc(this.table.rowManager.activeRows)}cellValueChanged(e){(e.column.definition.topCalc||e.column.definition.bottomCalc)&&(this.table.options.groupBy?((this.table.options.columnCalcs=="table"||this.table.options.columnCalcs=="both")&&this.recalcActiveRows(),this.table.options.columnCalcs!="table"&&this.recalcRowGroup(e.row)):this.recalcActiveRows())}initializeColumnCheck(e){(e.definition.topCalc||e.definition.bottomCalc)&&this.initializeColumn(e)}initializeColumn(e){var t=e.definition,i={topCalcParams:t.topCalcParams||{},botCalcParams:t.bottomCalcParams||{}};if(t.topCalc){switch(typeof t.topCalc){case"string":W.calculations[t.topCalc]?i.topCalc=W.calculations[t.topCalc]:console.warn("Column Calc Error - No such calculation found, ignoring: ",t.topCalc);break;case"function":i.topCalc=t.topCalc;break}i.topCalc&&(e.modules.columnCalcs=i,this.topCalcs.push(e),this.table.options.columnCalcs!="group"&&this.initializeTopRow())}if(t.bottomCalc){switch(typeof t.bottomCalc){case"string":W.calculations[t.bottomCalc]?i.botCalc=W.calculations[t.bottomCalc]:console.warn("Column Calc Error - No such calculation found, ignoring: ",t.bottomCalc);break;case"function":i.botCalc=t.bottomCalc;break}i.botCalc&&(e.modules.columnCalcs=i,this.botCalcs.push(e),this.table.options.columnCalcs!="group"&&this.initializeBottomRow())}}registerColumnField(){}removeCalcs(){var e=!1;this.topInitialized&&(this.topInitialized=!1,this.topElement.parentNode.removeChild(this.topElement),e=!0),this.botInitialized&&(this.botInitialized=!1,this.footerRemove(this.botElement),e=!0),e&&this.table.rowManager.adjustTableSize()}reinitializeCalcs(){this.topCalcs.length&&this.initializeTopRow(),this.botCalcs.length&&this.initializeBottomRow()}initializeTopRow(){var e=document.createDocumentFragment();this.topInitialized||(e.appendChild(document.createElement("br")),e.appendChild(this.topElement),this.table.columnManager.getContentsElement().insertBefore(e,this.table.columnManager.headersElement.nextSibling),this.topInitialized=!0)}initializeBottomRow(){this.botInitialized||(this.footerPrepend(this.botElement),this.botInitialized=!0)}scrollHorizontal(e){this.botInitialized&&this.botRow&&(this.botElement.scrollLeft=e)}recalc(e){var t,i;if(!this.blockCheck()&&(this.topInitialized||this.botInitialized)){if(t=this.rowsToData(e),this.topInitialized){for(this.topRow&&this.topRow.deleteCells(),i=this.generateRow("top",t),this.topRow=i;this.topElement.firstChild;)this.topElement.removeChild(this.topElement.firstChild);this.topElement.appendChild(i.getElement()),i.initialize(!0)}if(this.botInitialized){for(this.botRow&&this.botRow.deleteCells(),i=this.generateRow("bottom",t),this.botRow=i;this.botElement.firstChild;)this.botElement.removeChild(this.botElement.firstChild);this.botElement.appendChild(i.getElement()),i.initialize(!0)}this.table.rowManager.adjustTableSize(),this.table.modExists("frozenColumns")&&this.table.modules.frozenColumns.layout()}}recalcRowGroup(e){this.recalcGroup(this.table.modules.groupRows.getRowGroup(e))}recalcAll(){if((this.topCalcs.length||this.botCalcs.length)&&(this.table.options.columnCalcs!=="group"&&this.recalcActiveRows(),this.table.options.groupBy&&this.table.options.columnCalcs!=="table")){var e=this.table.modules.groupRows.getChildGroups();e.forEach(t=>{this.recalcGroup(t)})}}recalcGroup(e){var t,i;this.blockCheck()||e&&e.calcs&&(e.calcs.bottom&&(t=this.rowsToData(e.rows),i=this.generateRowData("bottom",t),e.calcs.bottom.updateData(i),e.calcs.bottom.reinitialize()),e.calcs.top&&(t=this.rowsToData(e.rows),i=this.generateRowData("top",t),e.calcs.top.updateData(i),e.calcs.top.reinitialize()))}generateTopRow(e){return this.generateRow("top",this.rowsToData(e))}generateBottomRow(e){return this.generateRow("bottom",this.rowsToData(e))}rowsToData(e){var t=[],i=this.table.options.dataTree&&this.table.options.dataTreeChildColumnCalcs,s=this.table.modules.dataTree;return e.forEach(n=>{var o;t.push(n.getData()),i&&((o=n.modules.dataTree)!=null&&o.open)&&this.rowsToData(s.getFilteredTreeChildren(n)).forEach(r=>{t.push(n)})}),t}generateRow(e,t){var i=this.generateRowData(e,t),s;return this.table.modExists("mutator")&&this.table.modules.mutator.disable(),s=new F(i,this,"calc"),this.table.modExists("mutator")&&this.table.modules.mutator.enable(),s.getElement().classList.add("tabulator-calcs","tabulator-calcs-"+e),s.component=!1,s.getComponent=()=>(s.component||(s.component=new Kt(s)),s.component),s.generateCells=()=>{var n=[];this.table.columnManager.columnsByIndex.forEach(o=>{this.genColumn.setField(o.getField()),this.genColumn.hozAlign=o.hozAlign,o.definition[e+"CalcFormatter"]&&this.table.modExists("format")?this.genColumn.modules.format={formatter:this.table.modules.format.lookupFormatter(o.definition[e+"CalcFormatter"]),params:o.definition[e+"CalcFormatterParams"]||{}}:this.genColumn.modules.format={formatter:this.table.modules.format.lookupFormatter("plaintext"),params:{}},this.genColumn.definition.cssClass=o.definition.cssClass;var r=new ne(this.genColumn,s);r.getElement(),r.column=o,r.setWidth(),o.cells.push(r),n.push(r),o.visible||r.hide()}),s.cells=n},s}generateRowData(e,t){var i={},s=e=="top"?this.topCalcs:this.botCalcs,n=e=="top"?"topCalc":"botCalc",o,r;return s.forEach(function(a){var h=[];a.modules.columnCalcs&&a.modules.columnCalcs[n]&&(t.forEach(function(d){h.push(a.getFieldValue(d))}),r=n+"Params",o=typeof a.modules.columnCalcs[r]=="function"?a.modules.columnCalcs[r](h,t):a.modules.columnCalcs[r],a.setFieldValue(i,a.modules.columnCalcs[n](h,t,o)))}),i}hasTopCalcs(){return!!this.topCalcs.length}hasBottomCalcs(){return!!this.botCalcs.length}redraw(){this.topRow&&this.topRow.normalizeHeight(!0),this.botRow&&this.botRow.normalizeHeight(!0)}getResults(){var e={},t;return this.table.options.groupBy&&this.table.modExists("groupRows")?(t=this.table.modules.groupRows.getGroups(!0),t.forEach(i=>{e[i.getKey()]=this.getGroupResults(i)})):e={top:this.topRow?this.topRow.getData():{},bottom:this.botRow?this.botRow.getData():{}},e}getGroupResults(e){var t=e._getSelf(),i=e.getSubGroups(),s={},n={};return i.forEach(o=>{s[o.getKey()]=this.getGroupResults(o)}),n={top:t.calcs.top?t.calcs.top.getData():{},bottom:t.calcs.bottom?t.calcs.bottom.getData():{},groups:s},n}adjustForScrollbar(e){this.botRow&&(this.table.rtl?this.botElement.style.paddingLeft=e+"px":this.botElement.style.paddingRight=e+"px")}};v(W,"moduleName","columnCalcs"),v(W,"calculations",qt);let Ee=W;class Ze extends y{constructor(e){super(e),this.indent=10,this.field="",this.collapseEl=null,this.expandEl=null,this.branchEl=null,this.elementField=!1,this.startOpen=function(){},this.registerTableOption("dataTree",!1),this.registerTableOption("dataTreeFilter",!0),this.registerTableOption("dataTreeSort",!0),this.registerTableOption("dataTreeElementColumn",!1),this.registerTableOption("dataTreeBranchElement",!0),this.registerTableOption("dataTreeChildIndent",9),this.registerTableOption("dataTreeChildField","_children"),this.registerTableOption("dataTreeCollapseElement",!1),this.registerTableOption("dataTreeExpandElement",!1),this.registerTableOption("dataTreeStartExpanded",!1),this.registerTableOption("dataTreeChildColumnCalcs",!1),this.registerTableOption("dataTreeSelectPropagate",!1),this.registerComponentFunction("row","treeCollapse",this.collapseRow.bind(this)),this.registerComponentFunction("row","treeExpand",this.expandRow.bind(this)),this.registerComponentFunction("row","treeToggle",this.toggleRow.bind(this)),this.registerComponentFunction("row","getTreeParent",this.getTreeParent.bind(this)),this.registerComponentFunction("row","getTreeChildren",this.getRowChildren.bind(this)),this.registerComponentFunction("row","addTreeChild",this.addTreeChildRow.bind(this)),this.registerComponentFunction("row","isTreeExpanded",this.isRowExpanded.bind(this))}initialize(){if(this.table.options.dataTree){var e=null,t=this.table.options;switch(this.field=t.dataTreeChildField,this.indent=t.dataTreeChildIndent,this.options("movableRows")&&console.warn("The movableRows option is not available with dataTree enabled, moving of child rows could result in unpredictable behavior"),t.dataTreeBranchElement?t.dataTreeBranchElement===!0?(this.branchEl=document.createElement("div"),this.branchEl.classList.add("tabulator-data-tree-branch")):typeof t.dataTreeBranchElement=="string"?(e=document.createElement("div"),e.innerHTML=t.dataTreeBranchElement,this.branchEl=e.firstChild):this.branchEl=t.dataTreeBranchElement:(this.branchEl=document.createElement("div"),this.branchEl.classList.add("tabulator-data-tree-branch-empty")),t.dataTreeCollapseElement?typeof t.dataTreeCollapseElement=="string"?(e=document.createElement("div"),e.innerHTML=t.dataTreeCollapseElement,this.collapseEl=e.firstChild):this.collapseEl=t.dataTreeCollapseElement:(this.collapseEl=document.createElement("div"),this.collapseEl.classList.add("tabulator-data-tree-control"),this.collapseEl.tabIndex=0,this.collapseEl.innerHTML="<div class='tabulator-data-tree-control-collapse'></div>"),t.dataTreeExpandElement?typeof t.dataTreeExpandElement=="string"?(e=document.createElement("div"),e.innerHTML=t.dataTreeExpandElement,this.expandEl=e.firstChild):this.expandEl=t.dataTreeExpandElement:(this.expandEl=document.createElement("div"),this.expandEl.classList.add("tabulator-data-tree-control"),this.expandEl.tabIndex=0,this.expandEl.innerHTML="<div class='tabulator-data-tree-control-expand'></div>"),typeof t.dataTreeStartExpanded){case"boolean":this.startOpen=function(i,s){return t.dataTreeStartExpanded};break;case"function":this.startOpen=t.dataTreeStartExpanded;break;default:this.startOpen=function(i,s){return t.dataTreeStartExpanded[s]};break}this.subscribe("row-init",this.initializeRow.bind(this)),this.subscribe("row-layout-after",this.layoutRow.bind(this)),this.subscribe("row-deleting",this.rowDeleting.bind(this)),this.subscribe("row-deleted",this.rowDelete.bind(this),0),this.subscribe("row-data-changed",this.rowDataChanged.bind(this),10),this.subscribe("cell-value-updated",this.cellValueChanged.bind(this)),this.subscribe("edit-cancelled",this.cellValueChanged.bind(this)),this.subscribe("column-moving-rows",this.columnMoving.bind(this)),this.subscribe("table-built",this.initializeElementField.bind(this)),this.subscribe("table-redrawing",this.tableRedrawing.bind(this)),this.registerDisplayHandler(this.getRows.bind(this),30)}}tableRedrawing(e){var t;e&&(t=this.table.rowManager.getRows(),t.forEach(i=>{this.reinitializeRowChildren(i)}))}initializeElementField(){var e=this.table.columnManager.getFirstVisibleColumn();this.elementField=this.table.options.dataTreeElementColumn||(e?e.field:!1)}getRowChildren(e){return this.getTreeChildren(e,!0)}columnMoving(){var e=[];return this.table.rowManager.rows.forEach(t=>{e=e.concat(this.getTreeChildren(t,!1,!0))}),e}rowDataChanged(e,t,i){this.redrawNeeded(i)&&(this.initializeRow(e),t&&(this.layoutRow(e),this.refreshData(!0)))}cellValueChanged(e){var t=e.column.getField();t===this.elementField&&this.layoutRow(e.row)}initializeRow(e){var t=e.getData()[this.field],i=Array.isArray(t),s=i||!i&&typeof t=="object"&&t!==null;!s&&e.modules.dataTree&&e.modules.dataTree.branchEl&&e.modules.dataTree.branchEl.parentNode.removeChild(e.modules.dataTree.branchEl),!s&&e.modules.dataTree&&e.modules.dataTree.controlEl&&e.modules.dataTree.controlEl.parentNode.removeChild(e.modules.dataTree.controlEl),e.modules.dataTree={index:e.modules.dataTree?e.modules.dataTree.index:0,open:s?e.modules.dataTree?e.modules.dataTree.open:this.startOpen(e.getComponent(),0):!1,controlEl:e.modules.dataTree&&s?e.modules.dataTree.controlEl:!1,branchEl:e.modules.dataTree&&s?e.modules.dataTree.branchEl:!1,parent:e.modules.dataTree?e.modules.dataTree.parent:!1,children:s}}reinitializeRowChildren(e){var t=this.getTreeChildren(e,!1,!0);t.forEach(function(i){i.reinitialize(!0)})}layoutRow(e){var t=this.elementField?e.getCell(this.elementField):e.getCells()[0],i=t.getElement(),s=e.modules.dataTree;s.branchEl&&(s.branchEl.parentNode&&s.branchEl.parentNode.removeChild(s.branchEl),s.branchEl=!1),s.controlEl&&(s.controlEl.parentNode&&s.controlEl.parentNode.removeChild(s.controlEl),s.controlEl=!1),this.generateControlElement(e,i),e.getElement().classList.add("tabulator-tree-level-"+s.index),s.index&&(this.branchEl?(s.branchEl=this.branchEl.cloneNode(!0),i.insertBefore(s.branchEl,i.firstChild),this.table.rtl?s.branchEl.style.marginRight=(s.branchEl.offsetWidth+s.branchEl.style.marginLeft)*(s.index-1)+s.index*this.indent+"px":s.branchEl.style.marginLeft=(s.branchEl.offsetWidth+s.branchEl.style.marginRight)*(s.index-1)+s.index*this.indent+"px"):this.table.rtl?i.style.paddingRight=parseInt(window.getComputedStyle(i,null).getPropertyValue("padding-right"))+s.index*this.indent+"px":i.style.paddingLeft=parseInt(window.getComputedStyle(i,null).getPropertyValue("padding-left"))+s.index*this.indent+"px")}generateControlElement(e,t){var i=e.modules.dataTree,s=i.controlEl;t=t||e.getCells()[0].getElement(),i.children!==!1&&(i.open?(i.controlEl=this.collapseEl.cloneNode(!0),i.controlEl.addEventListener("click",n=>{n.stopPropagation(),this.collapseRow(e)})):(i.controlEl=this.expandEl.cloneNode(!0),i.controlEl.addEventListener("click",n=>{n.stopPropagation(),this.expandRow(e)})),i.controlEl.addEventListener("mousedown",n=>{n.stopPropagation()}),s&&s.parentNode===t?s.parentNode.replaceChild(i.controlEl,s):t.insertBefore(i.controlEl,t.firstChild))}getRows(e){var t=[];return e.forEach((i,s)=>{var n,o;t.push(i),i instanceof F&&(i.create(),n=i.modules.dataTree,!n.index&&n.children!==!1&&(o=this.getChildren(i,!1,!0),o.forEach(r=>{r.create(),t.push(r)})))}),t}getChildren(e,t,i){var s=e.modules.dataTree,n=[],o=[];return s.children!==!1&&(s.open||t)&&(Array.isArray(s.children)||(s.children=this.generateChildren(e)),this.table.modExists("filter")&&this.table.options.dataTreeFilter?n=this.table.modules.filter.filter(s.children):n=s.children,this.table.modExists("sort")&&this.table.options.dataTreeSort&&this.table.modules.sort.sort(n,i),n.forEach(r=>{o.push(r);var a=this.getChildren(r,!1,!0);a.forEach(h=>{o.push(h)})})),o}generateChildren(e){var t=[],i=e.getData()[this.field];return Array.isArray(i)||(i=[i]),i.forEach(s=>{var n=new F(s||{},this.table.rowManager);n.create(),n.modules.dataTree.index=e.modules.dataTree.index+1,n.modules.dataTree.parent=e,n.modules.dataTree.children&&(n.modules.dataTree.open=this.startOpen(n.getComponent(),n.modules.dataTree.index)),t.push(n)}),t}expandRow(e,t){var i=e.modules.dataTree;i.children!==!1&&(i.open=!0,e.reinitialize(),this.refreshData(!0),this.dispatchExternal("dataTreeRowExpanded",e.getComponent(),e.modules.dataTree.index))}collapseRow(e){var t=e.modules.dataTree;t.children!==!1&&(t.open=!1,e.reinitialize(),this.refreshData(!0),this.dispatchExternal("dataTreeRowCollapsed",e.getComponent(),e.modules.dataTree.index))}toggleRow(e){var t=e.modules.dataTree;t.children!==!1&&(t.open?this.collapseRow(e):this.expandRow(e))}isRowExpanded(e){return e.modules.dataTree.open}getTreeParent(e){return e.modules.dataTree.parent?e.modules.dataTree.parent.getComponent():!1}getTreeParentRoot(e){return e.modules.dataTree&&e.modules.dataTree.parent?this.getTreeParentRoot(e.modules.dataTree.parent):e}getFilteredTreeChildren(e){var t=e.modules.dataTree,i=[],s;return t.children&&(Array.isArray(t.children)||(t.children=this.generateChildren(e)),this.table.modExists("filter")&&this.table.options.dataTreeFilter?s=this.table.modules.filter.filter(t.children):s=t.children,s.forEach(n=>{n instanceof F&&i.push(n)})),i}rowDeleting(e){var t=e.modules.dataTree;t&&t.children&&Array.isArray(t.children)&&t.children.forEach(i=>{i instanceof F&&i.wipe()})}rowDelete(e){var t=e.modules.dataTree.parent,i;t&&(i=this.findChildIndex(e,t),i!==!1&&t.data[this.field].splice(i,1),t.data[this.field].length||delete t.data[this.field],this.initializeRow(t),this.layoutRow(t)),this.refreshData(!0)}addTreeChildRow(e,t,i,s){var n=!1;typeof t=="string"&&(t=JSON.parse(t)),Array.isArray(e.data[this.field])||(e.data[this.field]=[],e.modules.dataTree.open=this.startOpen(e.getComponent(),e.modules.dataTree.index)),typeof s<"u"&&(n=this.findChildIndex(s,e),n!==!1&&e.data[this.field].splice(i?n:n+1,0,t)),n===!1&&(i?e.data[this.field].unshift(t):e.data[this.field].push(t)),this.initializeRow(e),this.layoutRow(e),this.refreshData(!0)}findChildIndex(e,t){var i=!1;return typeof e=="object"?e instanceof F?i=e.data:e instanceof ce?i=e._getSelf().data:typeof HTMLElement<"u"&&e instanceof HTMLElement?t.modules.dataTree&&(i=t.modules.dataTree.children.find(s=>s instanceof F?s.element===e:!1),i&&(i=i.data)):e===null&&(i=!1):typeof e>"u"?i=!1:i=t.data[this.field].find(s=>s.data[this.table.options.index]==e),i&&(Array.isArray(t.data[this.field])&&(i=t.data[this.field].indexOf(i)),i==-1&&(i=!1)),i}getTreeChildren(e,t,i){var s=e.modules.dataTree,n=[];return s&&s.children&&(Array.isArray(s.children)||(s.children=this.generateChildren(e)),s.children.forEach(o=>{o instanceof F&&(n.push(t?o.getComponent():o),i&&this.getTreeChildren(o,t,i).forEach(r=>{n.push(r)}))})),n}getChildField(){return this.field}redrawNeeded(e){return(this.field?typeof e[this.field]<"u":!1)||(this.elementField?typeof e[this.elementField]<"u":!1)}}v(Ze,"moduleName","dataTree");function Yt(l,e={},t){var i=e.delimiter?e.delimiter:",",s=[],n=[];l.forEach(o=>{var r=[];switch(o.type){case"group":console.warn("Download Warning - CSV downloader cannot process row groups");break;case"calc":console.warn("Download Warning - CSV downloader cannot process column calculations");break;case"header":o.columns.forEach((a,h)=>{a&&a.depth===1&&(n[h]=typeof a.value>"u"||a.value===null?"":'"'+String(a.value).split('"').join('""')+'"')});break;case"row":o.columns.forEach(a=>{if(a){switch(typeof a.value){case"object":a.value=a.value!==null?JSON.stringify(a.value):"";break;case"undefined":a.value="";break}r.push('"'+String(a.value).split('"').join('""')+'"')}}),s.push(r.join(i));break}}),n.length&&s.unshift(n.join(i)),s=s.join(`
4
4
  `),e.bom&&(s="\uFEFF"+s),t(s,"text/csv")}function Zt(l,e,t){var i=[];l.forEach(s=>{var n={};switch(s.type){case"header":break;case"group":console.warn("Download Warning - JSON downloader cannot process row groups");break;case"calc":console.warn("Download Warning - JSON downloader cannot process column calculations");break;case"row":s.columns.forEach(o=>{o&&(n[o.component.getTitleDownload()||o.component.getField()]=o.value)}),i.push(n);break}}),i=JSON.stringify(i,null," "),t(i,"application/json")}function Qt(l,e={},t){var i=[],s=[],n={},o=e.rowGroupStyles||{fontStyle:"bold",fontSize:12,cellPadding:6,fillColor:220},r=e.rowCalcStyles||{fontStyle:"bold",fontSize:10,cellPadding:4,fillColor:232},a=e.jsPDF||{},h=e.title?e.title:"",d,c;a.orientation||(a.orientation=e.orientation||"landscape"),a.unit||(a.unit="pt"),l.forEach(p=>{switch(p.type){case"header":i.push(f(p));break;case"group":s.push(f(p,o));break;case"calc":s.push(f(p,r));break;case"row":s.push(f(p));break}});function f(p,m){var b=[];return p.columns.forEach(w=>{var g;if(w){switch(typeof w.value){case"object":w.value=w.value!==null?JSON.stringify(w.value):"";break;case"undefined":w.value="";break}g={content:w.value,colSpan:w.width,rowSpan:w.height},m&&(g.styles=m),b.push(g)}}),b}d=this.dependencyRegistry.lookup("jspdf","jsPDF"),c=new d(a),e.autoTable&&(typeof e.autoTable=="function"?n=e.autoTable(c)||{}:n=e.autoTable),h&&(n.didDrawPage=function(p){c.text(h,40,30)}),n.head=i,n.body=s,c.autoTable(n),e.documentProcessing&&e.documentProcessing(c),t(c.output("arraybuffer"),"application/pdf")}function ei(l,e,t){var i=this,s=e.sheetName||"Sheet1",n=this.dependencyRegistry.lookup("XLSX"),o=n.utils.book_new(),r=new H(this),a="compress"in e?e.compress:!0,h=e.writeOptions||{bookType:"xlsx",bookSST:!0,compression:a},d;h.type="binary",o.SheetNames=[],o.Sheets={};function c(){var m=[],b=[],w={},g={s:{c:0,r:0},e:{c:l[0]?l[0].columns.reduce((E,M)=>E+(M&&M.width?M.width:1),0):0,r:l.length}};return l.forEach((E,M)=>{var D=[];E.columns.forEach(function(S,R){S?(D.push(!(S.value instanceof Date)&&typeof S.value=="object"?JSON.stringify(S.value):S.value),(S.width>1||S.height>-1)&&(S.height>1||S.width>1)&&b.push({s:{r:M,c:R},e:{r:M+S.height-1,c:R+S.width-1}})):D.push("")}),m.push(D)}),n.utils.sheet_add_aoa(w,m),w["!ref"]=n.utils.encode_range(g),b.length&&(w["!merges"]=b),w}if(e.sheetOnly){t(c());return}if(e.sheets)for(var f in e.sheets)e.sheets[f]===!0?(o.SheetNames.push(f),o.Sheets[f]=c()):(o.SheetNames.push(f),r.commsSend(e.sheets[f],"download","intercept",{type:"xlsx",options:{sheetOnly:!0},active:i.active,intercept:function(m){o.Sheets[f]=m}}));else o.SheetNames.push(s),o.Sheets[s]=c();e.documentProcessing&&(o=e.documentProcessing(o));function p(m){for(var b=new ArrayBuffer(m.length),w=new Uint8Array(b),g=0;g!=m.length;++g)w[g]=m.charCodeAt(g)&255;return b}d=n.write(o,h),t(p(d),"application/octet-stream")}function ti(l,e,t){this.modExists("export",!0)&&t(this.modules.export.generateHTMLTable(l),"text/html")}function ii(l,e,t){const i=[];l.forEach(s=>{const n={};switch(s.type){case"header":break;case"group":console.warn("Download Warning - JSON downloader cannot process row groups");break;case"calc":console.warn("Download Warning - JSON downloader cannot process column calculations");break;case"row":s.columns.forEach(o=>{o&&(n[o.component.getTitleDownload()||o.component.getField()]=o.value)}),i.push(JSON.stringify(n));break}}),t(i.join(`
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "dolphin-components",
3
3
  "private": false,
4
- "version": "2.0.0",
4
+ "version": "2.0.1",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"