@milaboratories/graph-maker 1.1.1 → 1.1.2

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.
@@ -18092,6 +18092,7 @@ const lpe = /* @__PURE__ */ ta(ape, [["render", ope]]), spe = { class: "zoom-tex
18092
18092
  theme: _e(Mte),
18093
18093
  gridApi: o.value,
18094
18094
  onGridReady: p,
18095
+ defaultColDef: { suppressHeaderMenuButton: !0 },
18095
18096
  rowData: c.value,
18096
18097
  columnDefs: f.value,
18097
18098
  rowHeight: d.value,
@@ -42,7 +42,7 @@ function print() { __p += __j.call(arguments, '') }
42
42
  </svg>`,yI=`<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none">
43
43
  <path fill-rule="evenodd" clip-rule="evenodd" d="M10.8146 2.375C9.56367 0.208331 6.43636 0.208336 5.18543 2.375L0.855305 9.875C-0.395622 12.0417 1.16804 14.75 3.66989 14.75H5.00056V13.25H3.66989C2.32274 13.25 1.48077 11.7917 2.15434 10.625L6.48447 3.125C7.15805 1.95833 8.84198 1.95833 9.51556 3.125L13.8457 10.625C14.5193 11.7917 13.6773 13.25 12.3301 13.25H11.0006V14.75H12.3301C14.832 14.75 16.3956 12.0417 15.1447 9.875L10.8146 2.375Z" fill="#FF5C5C"/>
44
44
  <path fill-rule="evenodd" clip-rule="evenodd" d="M8.75001 6V11.5H7.25001V6H8.75001ZM7.25 14.75H8.75L8.75 13.25H7.25V14.75Z" fill="#FF5C5C"/>
45
- </svg>`,hie={class:"dnd-double-chip__top"},vie=["innerHTML"],mie=["title"],gie={class:"dnd-double-chip__title"},yie=["innerHTML"],wie={class:"dnd-double-chip__bottom"},Cie=d.defineComponent({__name:"DndDoubleChip",props:{id:{},title:{},options:{},type:{},modelValue:{},error:{type:Boolean}},emits:["close-chip","update:modelValue"],setup(e,{emit:t}){const n=e,r=t,a=d.ref(n.modelValue);return d.watch(()=>a.value,o=>{r("update:modelValue",o)}),(o,l)=>(d.openBlock(),d.createElementBlock("div",{ref:"chipRoot",class:d.normalizeClass([{error:o.error},"dnd-double-chip"]),draggable:"true"},[d.createElementVNode("div",hie,[d.createElementVNode("div",{class:"dnd-double-chip__icon",innerHTML:o.error?d.unref(yI):o.type==="string"?d.unref(Gb):d.unref(jb)},null,8,vie),d.createElementVNode("div",{class:"dnd-double-chip__title-wrapper",title:o.title},[d.createElementVNode("div",gie,d.toDisplayString(o.title),1)],8,mie),d.createElementVNode("div",{innerHTML:d.unref(gI),class:"dnd-double-chip__icon-close",onClick:l[0]||(l[0]=u=>o.$emit("close-chip",n.id))},null,8,yie)]),d.createElementVNode("div",wie,[d.createVNode(d.unref(Du),{modelValue:a.value,"onUpdate:modelValue":l[1]||(l[1]=u=>a.value=u),options:o.options},null,8,["modelValue","options"])])],2))}}),Eie=["innerHTML"],bie={class:"dnd-basket-chip__title-wrapper"},Bie=["title"],Sie=["title"],xie=["innerHTML"],kie=d.defineComponent({__name:"DndBasketChip",props:{error:{type:Boolean},info:{}},emits:["close-chip"],setup(e,{emit:t}){const n=e,r=t,a=d.ref(),o=d.computed(()=>n.info.uniqueValues.map(u=>n.info.valueLabels[u]).join("/"));function l(){r("close-chip",n.info.id)}return(u,c)=>(d.openBlock(),d.createElementBlock("div",{ref_key:"chipRoot",ref:a,class:d.normalizeClass([{error:u.error},"dnd-basket-chip"])},[d.createElementVNode("div",{class:"dnd-basket-chip__icon",innerHTML:u.error?d.unref(yI):u.info.type==="string"?d.unref(Gb):d.unref(jb)},null,8,Eie),d.createElementVNode("div",bie,[d.createElementVNode("div",{class:"dnd-basket-chip__title",title:u.info.title},d.toDisplayString(u.info.title),9,Bie),u.info.nonHomogenous?(d.openBlock(),d.createElementBlock("div",{key:0,class:"dnd-basket-chip__sub-title",title:o.value},d.toDisplayString(o.value),9,Sie)):d.createCommentVNode("",!0)]),d.createElementVNode("div",{innerHTML:d.unref(gI),class:"dnd-basket-chip__icon-close",onClick:l},null,8,xie)],2))}}),Tie={class:"dnd-basket__title"},_ie={key:0,class:"dnd-basket__required"},Pie={class:"dnd-basket__drop-container"},Hie={key:0,class:"dnd-basket__placeholder"},Die={class:"dnd-basket__chip-wrapper"},Ew=d.defineComponent({__name:"DndBasket",props:{id:{},title:{},multiple:{type:Boolean},isFilter:{type:Boolean},required:{type:Boolean},disabled:{type:Boolean},consistency:{},droppedIds:{},availableIds:{},selectedFilters:{},info:{},draggedId:{}},emits:["drop-item","remove-item","select-filter-value"],setup(e,{emit:t}){const n=e,r=t,a=d.ref();let o=d.reactive(n.selectedFilters??{});const l=d.computed(()=>!(n.disabled||!n.multiple&&n.droppedIds.length>0)),u=d.computed(()=>n.disabled?"1 true":!l.value&&n.draggedId?"2 true":!1);d.watch(()=>n.selectedFilters,()=>{o=d.reactive(n.selectedFilters??{})});function c(){a.value&&!n.disabled&&l.value&&a.value.classList.add("active")}function f(){a.value&&a.value.classList.remove("active")}function p(C){C.stopPropagation(),l.value&&(n.draggedId&&r("drop-item",{draggedId:n.draggedId,id:n.id}),f())}function v(C){C.preventDefault()}function y(C){C.preventDefault(),c()}return(C,S)=>(d.openBlock(),d.createElementBlock("div",{ref_key:"basketRoot",ref:a,class:d.normalizeClass([u.value?"disabled":"","dnd-basket"]),dropzone:"true",onDrop:p,onDragenter:v,onDragover:y,onDragleave:f},[d.createElementVNode("div",Tie,[C.required?(d.openBlock(),d.createElementBlock("span",_ie,S[0]||(S[0]=[d.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"6",height:"16",viewBox:"0 0 6 16",fill:"none"},[d.createElementVNode("path",{d:"M2.01685 6.8L3 5.34159L3.97612 6.8L4.89607 6.12743L3.81461 4.7469L5.5 4.25133L5.14888 3.16106L3.50562 3.77699L3.56882 2H2.43118L2.49438 3.77699L0.851124 3.16106L0.5 4.25133L2.18539 4.7469L1.09691 6.12743L2.01685 6.8Z",fill:"#F1222F"})],-1)]))):d.createCommentVNode("",!0),d.createTextVNode(" "+d.toDisplayString(C.title),1)]),d.createElementVNode("div",Pie,[C.droppedIds.length?d.createCommentVNode("",!0):(d.openBlock(),d.createElementBlock("div",Hie," Drop dimensions here ")),d.createElementVNode("div",Die,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(C.droppedIds,(x,P)=>(d.openBlock(),d.createElementBlock(d.Fragment,{key:x},[C.isFilter?(d.openBlock(),d.createBlock(Cie,{key:1,modelValue:d.unref(o)[x],"onUpdate:modelValue":[_=>d.unref(o)[x]=_,_=>C.$emit("select-filter-value",{v:_,idx:P})],error:C.consistency[x]===!1,options:C.info[x].uniqueValues.map(_=>({value:_,text:C.info[x].valueLabels[_]})),id:C.info[x].id,type:C.info[x].type,title:C.info[x].title,onCloseChip:_=>C.$emit("remove-item",{chipId:x,basketId:C.id})},null,8,["modelValue","onUpdate:modelValue","error","options","id","type","title","onCloseChip"])):(d.openBlock(),d.createBlock(kie,{key:0,error:C.consistency[x]===!1,info:C.info[x],onCloseChip:_=>C.$emit("remove-item",{chipId:x,basketId:C.id})},null,8,["error","info","onCloseChip"]))],64))),128))])])],34))}}),Mie=["innerHTML"],Iie={class:"dnd-chip__title-wrapper"},Rie=["title"],Lie=["title"],N1=d.defineComponent({__name:"DndChip",props:{info:{}},emits:["dragstart","dragend"],setup(e,{emit:t}){const n=e,r=t,a=d.ref(),o=d.computed(()=>n.info.uniqueValues.map(c=>n.info.valueLabels[c]).join("/"));function l(c){var f,p;(f=c.dataTransfer)==null||f.clearData(),(p=c.dataTransfer)==null||p.setData("text/plain",n.info.id),r("dragstart",n.info.id),c.target.style.opacity="0.4",a.value&&a.value.classList.toggle("drag-active")}function u(c){r("dragend",n.info.id),c.target.style.opacity="1",a.value&&a.value.classList.toggle("drag-active")}return(c,f)=>(d.openBlock(),d.createElementBlock("div",{ref_key:"chipRoot",ref:a,draggable:"true",class:"dnd-chip",onDragstart:l,onDragend:u},[d.createElementVNode("div",{class:"dnd-chip__icon",innerHTML:c.info.type==="string"?d.unref(Gb):d.unref(jb)},null,8,Mie),d.createElementVNode("div",Iie,[d.createElementVNode("div",{class:"dnd-chip__title",title:c.info.title},d.toDisplayString(c.info.title),9,Rie),c.info.nonHomogenous?(d.openBlock(),d.createElementBlock("div",{key:0,class:"dnd-chip__sub-title",title:o.value},d.toDisplayString(o.value),9,Lie)):d.createCommentVNode("",!0)])],544))}}),Nie={class:"data-form-input-item"},$ie={key:0,class:"metadata-block"},Fie={class:"metadata-block__items"},Qie={key:1,class:"metadata-block"},Vie={class:"metadata-block__items"},Oie=d.defineComponent({__name:"DiscreteForm",setup(e){const t=xi(),n=t.value.reactive.optionsState,r=d.toRef(t.value.reactive,"optionsState"),a=d.computed(()=>t.value.inputGuide.value);function o(z){return gw(r,z,t.value.controller,t.value.columnsDataStore)}function l(z){return mw(r,z,t.value.controller,t.value.columnsDataStore)}function u(z){return vw(r,z,t.value.controller,t.value.columnsDataStore,d.computed(()=>a.value.components.filters.filterValueOptions))}const c=d.ref({y:o("y"),filters:u("filters"),tabBy:u("tabBy"),primaryGrouping:l("primaryGrouping"),secondaryGrouping:l("secondaryGrouping"),facetBy:l("facetBy")}),f=d.computed(()=>yw(n,a)),p=d.computed(()=>hI(a,y)),v=d.computed(()=>vI(a,y));d.watch(()=>t.value.commonHelpersData.primaryGroups.value,Hb(t));const y=["filters","primaryGrouping","secondaryGrouping","tabBy","facetBy"],C={filters:"Filter",primaryGrouping:"Primary grouping",secondaryGrouping:"Secondary grouping",tabBy:"Tab by",facetBy:"Facet by"},S=d.ref(null),x=d.computed(()=>{const z=new Set;return y.forEach(j=>{f.value[j].forEach(X=>{z.add(X.value)}),n.components[j].selectorStates.forEach(X=>{z.add(X.selectedSource)})}),Cw(a.value,[...z])});function P(z){return n.components[z].selectorStates.reduce((j,X)=>(j[X.selectedSource]=String(X.selectedFilterValue),j),{})}function _(z){c.value[z.id]=[...c.value[z.id],z.draggedId],S.value=null}function H(z){c.value[z.basketId]=c.value[z.basketId].filter(j=>j!==z.chipId)}function D(z){return new Set(a.value.components[z].options.map(j=>j.value))}function G(z){return a.value.components[z].stateConsistency}function Q(z){return!a.value.readyData||f.value[z].length===0||S.value!==null&&!x.value[S.value].availableBasketIds.has(z)}const F=d.computed(()=>y.map(z=>{const j=a.value.components[z],X="filterValueOptions"in j&&z!=="tabBy",re={id:z,title:C[z],isFilter:X,multiple:j.multipleSelectors,required:j.required,disabled:Q(z),consistency:G(z),draggedId:S.value,availableIds:D(z),droppedIds:c.value[z],info:x.value,listeners:{"drop-item":_,"remove-item":H}};return X&&(re.selectedFilters=P(z),re.listeners["select-filter-value"]=Z=>{n.components[z].selectorStates[Z.idx].selectedFilterValue=Z.v}),re}));function N(){S.value=null}return(z,j)=>(d.openBlock(),d.createBlock(hw,null,{dataVar:d.withCtx(()=>[d.createElementVNode("div",Nie,[d.createVNode(d.unref(Du),{modelValue:c.value.y,"onUpdate:modelValue":j[0]||(j[0]=X=>c.value.y=X),options:f.value.y,error:d.unref(zb)("y",a.value),label:"Y:",clearable:""},null,8,["modelValue","options","error"])]),v.value.length>0?(d.openBlock(),d.createElementBlock("div",$ie,[j[3]||(j[3]=d.createElementVNode("div",{class:"title"},"Dimensions",-1)),d.createElementVNode("div",Fie,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(v.value,({id:X})=>(d.openBlock(),d.createBlock(N1,{key:X,info:x.value[X],onDragstart:j[1]||(j[1]=re=>S.value=re),onDragend:N},null,8,["info"]))),128))])])):d.createCommentVNode("",!0),p.value.length>0?(d.openBlock(),d.createElementBlock("div",Qie,[j[4]||(j[4]=d.createElementVNode("div",{class:"title"},"Metadata",-1)),d.createElementVNode("div",Vie,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(p.value,({id:X})=>(d.openBlock(),d.createBlock(N1,{key:X,info:x.value[X],onDragstart:j[2]||(j[2]=re=>S.value=re),onDragend:N},null,8,["info"]))),128))])])):d.createCommentVNode("",!0)]),chartVar:d.withCtx(()=>[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(F.value,X=>(d.openBlock(),d.createElementBlock("div",{key:X.id,class:"data-form-input-item"},[d.createVNode(Ew,d.mergeProps({ref_for:!0},X,d.toHandlers(X.listeners)),null,16)]))),128))]),_:1}))}}),Uie={class:"data-form-input-item"},zie={class:"data-form-input-item",style:{"margin-top":"10px"}},Gie={key:0,class:"metadata-block"},jie={class:"metadata-block__items"},Yie={key:1,class:"metadata-block"},Wie={class:"metadata-block__items"},wI=d.defineComponent({__name:"ScatterplotForm",setup(e){const t=xi(),n=t.value.reactive.optionsState,r=d.toRef(t.value.reactive,"optionsState"),a=d.computed(()=>t.value.inputGuide.value);function o(z){return gw(r,z,t.value.controller,t.value.columnsDataStore)}function l(z){return mw(r,z,t.value.controller,t.value.columnsDataStore)}function u(z){return vw(r,z,t.value.controller,t.value.columnsDataStore,d.computed(()=>a.value.components.filters.filterValueOptions))}const c=d.ref({x:o("x"),y:o("y"),filters:u("filters"),tabBy:u("tabBy"),grouping:l("grouping"),facetBy:l("facetBy")}),f=["filters","grouping","tabBy","facetBy"],p={filters:"Filter",grouping:"Grouping",tabBy:"Tab by",facetBy:"Facet by"},v=d.computed(()=>yw(n,a)),y=d.computed(()=>hI(a,f)),C=d.computed(()=>vI(a,f)),S=d.ref(null),x=d.computed(()=>{const z=new Set;return f.forEach(j=>{v.value[j].forEach(X=>{z.add(X.value)}),n.components[j].selectorStates.forEach(X=>{z.add(X.selectedSource)})}),Cw(a.value,[...z])});function P(z){return n.components[z].selectorStates.reduce((j,X)=>(j[X.selectedSource]=String(X.selectedFilterValue),j),{})}function _(z){c.value[z.id]=[...c.value[z.id],z.draggedId],S.value=null}function H(z){c.value[z.basketId]=c.value[z.basketId].filter(j=>j!==z.chipId)}function D(z){return new Set(a.value.components[z].options.map(j=>j.value))}function G(z){return a.value.components[z].stateConsistency}function Q(z){return!a.value.readyData||v.value[z].length===0||S.value!==null&&!x.value[S.value].availableBasketIds.has(z)}const F=d.computed(()=>f.map(z=>{const j=a.value.components[z],X="filterValueOptions"in j&&z!=="tabBy",re={id:z,title:p[z],isFilter:X,multiple:j.multipleSelectors,required:j.required,disabled:Q(z),consistency:G(z),draggedId:S.value,availableIds:D(z),droppedIds:c.value[z],info:x.value,listeners:{"drop-item":_,"remove-item":H}};return X&&(re.selectedFilters=P(z),re.listeners["select-filter-value"]=Z=>{n.components[z].selectorStates[Z.idx].selectedFilterValue=Z.v}),re}));function N(){S.value=null}return(z,j)=>(d.openBlock(),d.createBlock(hw,null,{dataVar:d.withCtx(()=>[d.createElementVNode("div",Uie,[d.createVNode(d.unref(Du),{label:"X:",clearable:"",modelValue:c.value.x,"onUpdate:modelValue":j[0]||(j[0]=X=>c.value.x=X),options:v.value.x},null,8,["modelValue","options"])]),d.createElementVNode("div",zie,[d.createVNode(d.unref(Du),{label:"Y:",clearable:"",modelValue:c.value.y,"onUpdate:modelValue":j[1]||(j[1]=X=>c.value.y=X),options:v.value.y},null,8,["modelValue","options"])]),C.value.length>0?(d.openBlock(),d.createElementBlock("div",Gie,[j[4]||(j[4]=d.createElementVNode("div",{class:"title"},"Dimensions",-1)),d.createElementVNode("div",jie,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(C.value,({id:X})=>(d.openBlock(),d.createBlock(N1,{key:X,info:x.value[X],onDragstart:j[2]||(j[2]=re=>S.value=re),onDragend:N},null,8,["info"]))),128))])])):d.createCommentVNode("",!0),y.value.length>0?(d.openBlock(),d.createElementBlock("div",Yie,[j[5]||(j[5]=d.createElementVNode("div",{class:"title"},"Metadata",-1)),d.createElementVNode("div",Wie,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(y.value,({id:X})=>(d.openBlock(),d.createBlock(N1,{key:X,info:x.value[X],onDragstart:j[3]||(j[3]=re=>S.value=re),onDragend:N},null,8,["info"]))),128))])])):d.createCommentVNode("",!0)]),chartVar:d.withCtx(()=>[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(F.value,X=>(d.openBlock(),d.createElementBlock("div",{key:X.id,class:"data-form-input-item"},[d.createVNode(Ew,d.mergeProps({ref_for:!0},X,d.toHandlers(X.listeners)),null,16)]))),128))]),_:1}))}}),Kie={class:"data-form-input-item"},Xie={key:0,class:"metadata-block"},Zie={class:"metadata-block__items"},Jie={key:1,class:"metadata-block"},qie={class:"metadata-block__items"},eoe=d.defineComponent({__name:"HeatmapForm",setup(e){const t=xi(),n=t.value.reactive.optionsState,r=d.toRef(t.value.reactive,"optionsState"),a=d.computed(()=>t.value.inputGuide.value);function o(j){return gw(r,j,t.value.controller,t.value.columnsDataStore)}function l(j){return mw(r,j,t.value.controller,t.value.columnsDataStore)}function u(j){return vw(r,j,t.value.controller,t.value.columnsDataStore,d.computed(()=>a.value.components.filters.filterValueOptions))}const c=d.ref({value:o("value"),xGroupBy:l("xGroupBy"),yGroupBy:l("yGroupBy"),x:l("x"),y:l("y"),annotations:l("annotations"),filters:u("filters"),tabBy:u("tabBy"),facetBy:l("facetBy")}),f=d.computed(()=>yw(n,a)),p=d.computed(()=>ww(a,C)),v=d.computed(()=>p.value.filter(j=>j.info.kind==="axis")),y=d.computed(()=>p.value.filter(j=>j.info.kind==="column")),C=["filters","x","y","xGroupBy","yGroupBy","tabBy","facetBy","annotations"],S={filters:"Filter",x:"X",y:"Y",xGroupBy:"X group",yGroupBy:"Y group",tabBy:"Tab by",facetBy:"Facet by",annotations:"Annotations"},x=d.ref(null),P=d.computed(()=>{const j=new Set;return C.forEach(X=>{f.value[X].forEach(re=>{j.add(re.value)}),n.components[X].selectorStates.forEach(re=>{j.add(re.selectedSource)})}),Cw(a.value,[...j])});function _(j){return n.components[j].selectorStates.reduce((X,re)=>(X[re.selectedSource]=String(re.selectedFilterValue),X),{})}function H(j){c.value[j.id]=[...c.value[j.id],j.draggedId],x.value=null}function D(j){c.value[j.basketId]=c.value[j.basketId].filter(X=>X!==j.chipId)}function G(j){return new Set(a.value.components[j].options.map(X=>X.value))}function Q(j){return a.value.components[j].stateConsistency}function F(j){return!a.value.readyData||f.value[j].length===0||x.value!==null&&!P.value[x.value].availableBasketIds.has(j)}const N=d.computed(()=>C.map(j=>{const X=a.value.components[j],re="filterValueOptions"in X&&j!=="tabBy",Z={id:j,title:S[j],isFilter:re,multiple:X.multipleSelectors,required:X.required,disabled:F(j),consistency:Q(j),draggedId:x.value,availableIds:G(j),droppedIds:c.value[j],info:P.value,listeners:{"drop-item":H,"remove-item":D}};return re&&(Z.selectedFilters=_(j),Z.listeners["select-filter-value"]=ne=>{n.components[j].selectorStates[ne.idx].selectedFilterValue=ne.v}),Z}));function z(){x.value=null}return(j,X)=>(d.openBlock(),d.createBlock(hw,null,{dataVar:d.withCtx(()=>[d.createElementVNode("div",Kie,[d.createVNode(d.unref(Du),{label:"Data source:",clearable:"",modelValue:c.value.value,"onUpdate:modelValue":X[0]||(X[0]=re=>c.value.value=re),options:f.value.value,error:d.unref(zb)("value",a.value)},null,8,["modelValue","options","error"])]),v.value.length>0?(d.openBlock(),d.createElementBlock("div",Xie,[X[3]||(X[3]=d.createElementVNode("div",{class:"title"},"Dimensions",-1)),d.createElementVNode("div",Zie,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(v.value,({id:re})=>(d.openBlock(),d.createBlock(N1,{key:re,info:P.value[re],onDragstart:X[1]||(X[1]=Z=>x.value=Z),onDragend:z},null,8,["info"]))),128))])])):d.createCommentVNode("",!0),y.value.length>0?(d.openBlock(),d.createElementBlock("div",Jie,[X[4]||(X[4]=d.createElementVNode("div",{class:"title"},"Metadata",-1)),d.createElementVNode("div",qie,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(y.value,({id:re})=>(d.openBlock(),d.createBlock(N1,{key:re,info:P.value[re],onDragstart:X[2]||(X[2]=Z=>x.value=Z),onDragend:z},null,8,["info"]))),128))])])):d.createCommentVNode("",!0)]),chartVar:d.withCtx(()=>[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(N.value,re=>(d.openBlock(),d.createElementBlock("div",{key:re.id,class:"data-form-input-item"},[d.createVNode(Ew,d.mergeProps({ref_for:!0},re,d.toHandlers(re.listeners)),null,16)]))),128))]),_:1}))}}),toe={class:"data-form-input-item"},noe={key:0,class:"metadata-block"},roe={class:"metadata-block__items"},aoe={key:1,class:"metadata-block"},ioe={class:"metadata-block__items"},ooe={key:0,class:"data-form-input-item"},loe=d.defineComponent({__name:"DendroForm",setup(e){const t=xi(),n=t.value.reactive.optionsState,r=d.toRef(t.value.reactive,"optionsState"),a=d.computed(()=>t.value.inputGuide.value);function o(j){return gw(r,j,t.value.controller,t.value.columnsDataStore)}function l(j){return mw(r,j,t.value.controller,t.value.columnsDataStore)}function u(j){return vw(r,j,t.value.controller,t.value.columnsDataStore,d.computed(()=>a.value.components.filters.filterValueOptions))}const c=d.ref({value:o("value"),tableContent:l("tableContent"),heatmapAnnotation:l("heatmapAnnotation"),heatmapForSequence:l("heatmapForSequence"),filters:u("filters"),tabBy:u("tabBy"),height:l("height"),labels:l("labels"),nodeShape:l("nodeShape"),nodeColor:l("nodeColor"),lineColor:l("lineColor"),heatmapAxis:l("heatmapAxis"),heatmapGroup:l("heatmapGroup")});d.watch(()=>c.value.nodeShape,j=>{t.value.reactive.layersSettings.dendro.dotShape=j.length?{type:"nodeShape",value:j[0]}:kb}),d.watch(()=>c.value.nodeColor,j=>{t.value.reactive.layersSettings.dendro.dotFill=j.length?{type:"nodeColor",value:j[0]}:As}),d.watch(()=>c.value.lineColor,j=>{t.value.reactive.layersSettings.dendro.lineColor=j.length?{type:"lineColor",value:j[0]}:As});const f=d.computed(()=>yw(n,a)),p=d.computed(()=>ww(a,y)),v=d.computed(()=>p.value.filter(j=>j.info.kind==="axis")),y=["height","tableContent","labels","heatmapAnnotation","heatmapAxis","heatmapGroup","heatmapForSequence","nodeShape","nodeColor","lineColor"],C={height:"Connections length",tableContent:"Table/tooltip content",labels:"Labels",heatmapAnnotation:"Heatmap annotation",heatmapAxis:"Heatmap axis",heatmapGroup:"Heatmap group",heatmapForSequence:"Heatmap sequence",nodeShape:"Node shape",nodeColor:"Node color",lineColor:"Line color"},S=d.ref(null),x=d.computed(()=>{const j=new Set;return y.forEach(X=>{f.value[X].forEach(re=>{j.add(re.value)}),n.components[X].selectorStates.forEach(re=>{j.add(re.selectedSource)})}),Cw(a.value,[...j])});function P(j){c.value[j.id]=[...c.value[j.id],j.draggedId],S.value=null}function _(j){c.value[j.basketId]=c.value[j.basketId].filter(X=>X!==j.chipId)}function H(j){return new Set(a.value.components[j].options.map(X=>X.value))}function D(j){return a.value.components[j].stateConsistency}function G(j){return!a.value.readyData||f.value[j].length===0||S.value!==null&&!x.value[S.value].availableBasketIds.has(j)}const Q=d.computed(()=>y.map(j=>{const X=a.value.components[j];return{id:j,title:C[j],isFilter:!1,multiple:X.multipleSelectors,required:X.required,disabled:G(j),consistency:D(j),draggedId:S.value,availableIds:H(j),droppedIds:c.value[j],info:x.value,listeners:{"drop-item":P,"remove-item":_}}}));function F(j){return j==="heatmapAxis"||j==="heatmapGroup"?c.value.heatmapAnnotation!==null:!0}function N(){S.value=null}return["value"].forEach(j=>{d.watch([()=>c.value[j],()=>f.value],([X,re])=>{(typeof X>"u"||mI("value",a.value))&&re[j]&&re[j].length&&t.value.controller.changeSelected(j,t.value.columnsDataStore,t.value.reactive.optionsState,[re[j][0].value])},{immediate:!0})}),(j,X)=>(d.openBlock(),d.createBlock(hw,null,{dataVar:d.withCtx(()=>[d.createElementVNode("div",toe,[d.createVNode(d.unref(Du),{label:"Data source:",modelValue:c.value.value,"onUpdate:modelValue":X[0]||(X[0]=re=>c.value.value=re),options:f.value.value,error:d.unref(zb)("value",a.value)},null,8,["modelValue","options","error"])]),v.value.length>0?(d.openBlock(),d.createElementBlock("div",noe,[X[3]||(X[3]=d.createElementVNode("div",{class:"title"},"Dimensions",-1)),d.createElementVNode("div",roe,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(v.value,({id:re})=>(d.openBlock(),d.createBlock(N1,{key:re,info:x.value[re],onDragstart:X[1]||(X[1]=Z=>S.value=Z),onDragend:N},null,8,["info"]))),128))])])):d.createCommentVNode("",!0),p.value.length>0?(d.openBlock(),d.createElementBlock("div",aoe,[X[4]||(X[4]=d.createElementVNode("div",{class:"title"},"Metadata",-1)),d.createElementVNode("div",ioe,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(p.value,({id:re})=>(d.openBlock(),d.createBlock(N1,{key:re,info:x.value[re],onDragstart:X[2]||(X[2]=Z=>S.value=Z),onDragend:N},null,8,["info"]))),128))])])):d.createCommentVNode("",!0)]),chartVar:d.withCtx(()=>[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(Q.value,re=>(d.openBlock(),d.createElementBlock(d.Fragment,{key:re.id},[F(re.id)?(d.openBlock(),d.createElementBlock("div",ooe,[d.createVNode(Ew,d.mergeProps({ref_for:!0},re,d.toHandlers(re.listeners)),null,16)])):d.createCommentVNode("",!0)],64))),128))]),_:1}))}}),soe={class:"data-form"},uoe=d.defineComponent({__name:"index",setup(e){const t=xi();return(n,r)=>(d.openBlock(),d.createElementBlock("div",soe,[d.unref(t).reactive.chartType==="discrete"?(d.openBlock(),d.createBlock(Oie,{key:0})):d.createCommentVNode("",!0),d.unref(t).reactive.chartType==="scatterplot"?(d.openBlock(),d.createBlock(wI,{key:1})):d.createCommentVNode("",!0),d.unref(t).reactive.chartType==="scatterplot-umap"?(d.openBlock(),d.createBlock(wI,{key:2})):d.createCommentVNode("",!0),d.unref(t).reactive.chartType==="heatmap"?(d.openBlock(),d.createBlock(eoe,{key:3})):d.createCommentVNode("",!0),d.unref(t).reactive.chartType==="dendro"?(d.openBlock(),d.createBlock(loe,{key:4})):d.createCommentVNode("",!0)]))}}),coe={class:"collapsable-block-content"},vp=d.defineComponent({__name:"CollapsableBlock",props:{iconOpen:{},icon:{},title:{},settings:{}},setup(e){var o,l,u,c,f;const t=e,n=d.ref(((o=t.settings)==null?void 0:o.defaultState)!=="open"),r={},a={};return(l=t.settings)!=null&&l.height&&(a["--title-height"]=`${(u=t.settings)==null?void 0:u.height}px`),(c=t.settings)!=null&&c.horizontalPadding&&(r.padding=`0 ${(f=t.settings)==null?void 0:f.horizontalPadding}px`),(p,v)=>(d.openBlock(),d.createElementBlock("div",{class:d.normalizeClass(["collapsable-block-container",{minimized:n.value,maximized:!n.value}]),style:a},[d.createElementVNode("div",{class:"collapsable-block-title",onClick:v[0]||(v[0]=y=>n.value=!n.value),style:r},[t.icon?(d.openBlock(),d.createBlock(d.resolveDynamicComponent(!n.value&&t.iconOpen?t.iconOpen:t.icon),{key:0})):d.createCommentVNode("",!0),d.createElementVNode("span",null,d.toDisplayString(t.title),1)]),d.createElementVNode("div",coe,[d.renderSlot(p.$slots,"default")])],2))}}),foe={},Aoe={class:"inline-icon",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function doe(e,t){return d.openBlock(),d.createElementBlock("svg",Aoe,t[0]||(t[0]=[d.createElementVNode("path",{d:"M6 11.3773C6 11.8102 6.51272 12.0386 6.83448 11.749L10.5871 8.37165C10.8077 8.17303 10.8077 7.82697 10.5871 7.62835L6.83448 4.25103C6.51272 3.96145 6 4.1898 6 4.62268V11.3773Z",fill:"#CFD1DB"},null,-1)]))}const l3=Nr(foe,[["render",doe]]),poe={},hoe={class:"inline-icon",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function voe(e,t){return d.openBlock(),d.createElementBlock("svg",hoe,t[0]||(t[0]=[d.createElementVNode("path",{d:"M4.70711 6.00018C4.26165 6.00018 4.03857 6.53875 4.35355 6.85374L7.64645 10.1466C7.84171 10.3419 8.15829 10.3419 8.35355 10.1466L11.6464 6.85374C11.9614 6.53875 11.7383 6.00018 11.2929 6.00018H4.70711Z",fill:"#CFD1DB"},null,-1)]))}const s3=Nr(poe,[["render",voe]]),moe=["tabindex","onKeydown","onClick"],u3=d.defineComponent({__name:"BtnIconGroup",props:{modelValue:{},options:{},disabled:{type:Boolean}},emits:["update:modelValue"],setup(e,{emit:t}){d.useSlots();const n=t,r=a=>n("update:modelValue",a);return(a,o)=>(d.openBlock(),d.createElementBlock("div",{class:d.normalizeClass(["btn-icon-group",{disabled:a.disabled}])},[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(a.options,(l,u)=>(d.openBlock(),d.createElementBlock("div",{key:l.value+":"+u,class:d.normalizeClass(["btn-icon-group__option",{active:a.modelValue===l.value}]),tabindex:a.modelValue===l.value||a.disabled?void 0:0,onKeydown:d.withKeys(c=>r(l.value),["enter"]),onClick:c=>r(l.value)},[(d.openBlock(),d.createBlock(d.resolveDynamicComponent(l.icon)))],42,moe))),128))],2))}}),goe={},yoe={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"};function woe(e,t){return d.openBlock(),d.createElementBlock("svg",yoe,t[0]||(t[0]=[d.createElementVNode("path",{d:"M4 19L4 5C4 4.44772 4.44772 4 5 4L19 4C19.5523 4 20 4.44772 20 5L20 19C20 19.5523 19.5523 20 19 20L5 20C4.44772 20 4 19.5523 4 19Z",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"square"},null,-1)]))}const Yb=Nr(goe,[["render",woe]]),Coe={},Eoe={width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function boe(e,t){return d.openBlock(),d.createElementBlock("svg",Eoe,t[0]||(t[0]=[d.createStaticVNode('<path d="M4.25 1H5.75" stroke="currentColor" stroke-width="1.5"></path><path d="M8.25 1H9.75" stroke="currentColor" stroke-width="1.5"></path><path d="M12.25 1H13.75" stroke="currentColor" stroke-width="1.5"></path><path d="M16.25 1H17.75" stroke="currentColor" stroke-width="1.5"></path><path d="M0.25 17H1.75" stroke="currentColor" stroke-width="1.5"></path><path d="M4.25 17H5.75" stroke="currentColor" stroke-width="1.5"></path><path d="M8.25 17H9.75" stroke="currentColor" stroke-width="1.5"></path><path d="M12.25 17H13.75" stroke="currentColor" stroke-width="1.5"></path><path d="M16.25 17H17.75" stroke="currentColor" stroke-width="1.5"></path><path d="M17 0.25L17 1.75" stroke="currentColor" stroke-width="1.5"></path><path d="M17 4.25L17 5.75" stroke="currentColor" stroke-width="1.5"></path><path d="M17 8.25L17 9.75" stroke="currentColor" stroke-width="1.5"></path><path d="M17 12.25L17 13.75" stroke="currentColor" stroke-width="1.5"></path><path d="M1 0.25L1 1.75" stroke="currentColor" stroke-width="1.5"></path><path d="M1 4.25L1 5.75" stroke="currentColor" stroke-width="1.5"></path><path d="M1 8.25L1 9.75" stroke="currentColor" stroke-width="1.5"></path><path d="M1 12.25L1 13.75" stroke="currentColor" stroke-width="1.5"></path>',17)]))}const Wb=Nr(Coe,[["render",boe]]),Boe={},Soe={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"};function xoe(e,t){return d.openBlock(),d.createElementBlock("svg",Soe,t[0]||(t[0]=[d.createElementVNode("path",{d:"M8.8148 18.2251C6.6173 18.2251 5.0498 16.6576 5.0498 14.4601V10.7401C5.0498 8.5426 6.6173 6.9751 8.8148 6.9751C11.0123 6.9751 12.5798 8.5426 12.5798 10.7401V14.4601C12.5798 16.6576 11.0123 18.2251 8.8148 18.2251ZM6.6473 14.5576C6.6473 15.7651 7.60731 16.7251 8.8148 16.7251C10.0223 16.7251 10.9823 15.7651 10.9823 14.5576V10.6276C10.9823 9.4276 10.0223 8.4676 8.8148 8.4676C7.60731 8.4676 6.6473 9.4276 6.6473 10.6276V14.5576Z",fill:"currentColor"},null,-1),d.createElementVNode("path",{d:"M15.8738 12.3751C14.3888 12.3751 13.1738 11.1751 13.1738 9.6751C13.1738 8.2051 14.4338 6.9751 15.8738 6.9751C17.3588 6.9751 18.5738 8.1751 18.5738 9.6751C18.5738 11.1751 17.3588 12.3751 15.8738 12.3751ZM14.5313 9.6751C14.5313 10.4026 15.1463 11.0176 15.8738 11.0176C16.6013 11.0176 17.2163 10.4026 17.2163 9.6751C17.2163 8.9476 16.6013 8.3326 15.8738 8.3326C15.1463 8.3326 14.5313 8.9476 14.5313 9.6751Z",fill:"currentColor"},null,-1)]))}const CI=Nr(Boe,[["render",xoe]]),koe={},Toe={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"};function _oe(e,t){return d.openBlock(),d.createElementBlock("svg",Toe,t[0]||(t[0]=[d.createElementVNode("path",{d:"M5.75684 18.0001V16.1176H0.881836V14.6326L4.39184 7.2001H6.18434L2.67434 14.6326H5.75684V11.7076H7.34684V14.6326H8.41934V16.1176H7.34684V18.0001H5.75684Z",fill:"currentColor"},null,-1),d.createElementVNode("path",{d:"M12.5224 18.2251C10.8574 18.2251 9.46242 17.1226 9.01992 15.5476L10.5274 15.1426C10.7749 16.1026 11.6674 16.7101 12.5674 16.7101C13.7524 16.7101 14.6899 15.7576 14.6899 14.6026C14.6899 13.4176 13.7224 12.4876 12.5674 12.4876C11.6824 12.4876 11.0749 12.9076 10.7374 13.3576L9.37242 12.8776L9.70242 7.2001H15.5299V8.6776H11.1049L10.9249 11.6476C11.4574 11.2651 12.1324 11.0626 12.7699 11.0626C14.7874 11.0626 16.2724 12.5776 16.2724 14.6026C16.2724 16.6126 14.5399 18.2251 12.5224 18.2251Z",fill:"currentColor"},null,-1),d.createElementVNode("path",{d:"M19.265 12.3751C17.78 12.3751 16.565 11.1751 16.565 9.6751C16.565 8.2051 17.825 6.9751 19.265 6.9751C20.75 6.9751 21.965 8.1751 21.965 9.6751C21.965 11.1751 20.75 12.3751 19.265 12.3751ZM17.9225 9.6751C17.9225 10.4026 18.5375 11.0176 19.265 11.0176C19.9925 11.0176 20.6075 10.4026 20.6075 9.6751C20.6075 8.9476 19.9925 8.3326 19.265 8.3326C18.5375 8.3326 17.9225 8.9476 17.9225 9.6751Z",fill:"currentColor"},null,-1)]))}const EI=Nr(koe,[["render",_oe]]),Poe={},Hoe={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"};function Doe(e,t){return d.openBlock(),d.createElementBlock("svg",Hoe,t[0]||(t[0]=[d.createElementVNode("path",{d:"M4.6132 6.9826C6.7057 6.9826 8.3257 8.6026 8.3257 10.8301V14.2726C8.3257 16.6351 6.7432 18.2251 4.4557 18.2251C3.3157 18.2251 2.2882 17.7901 1.5532 16.9426L2.7007 15.8701C3.1132 16.4026 3.7582 16.7401 4.4557 16.7401C5.7982 16.7401 6.7282 15.6601 6.7282 14.4751V13.1851C6.1207 13.7926 5.2957 14.1526 4.4032 14.1526C2.3857 14.1526 0.908203 12.6226 0.908203 10.6051C0.908203 8.5801 2.5957 6.9826 4.6132 6.9826ZM2.4982 10.6051C2.4982 11.7751 3.4357 12.7201 4.6057 12.7201C5.7757 12.7201 6.7282 11.7751 6.7282 10.6051C6.7282 9.4501 5.7832 8.4901 4.6132 8.4901C3.4432 8.4901 2.4982 9.4351 2.4982 10.6051Z",fill:"currentColor"},null,-1),d.createElementVNode("path",{d:"M13.2846 18.2251C11.0871 18.2251 9.51961 16.6576 9.51961 14.4601V10.7401C9.51961 8.5426 11.0871 6.9751 13.2846 6.9751C15.4821 6.9751 17.0496 8.5426 17.0496 10.7401V14.4601C17.0496 16.6576 15.4821 18.2251 13.2846 18.2251ZM11.1171 14.5576C11.1171 15.7651 12.0771 16.7251 13.2846 16.7251C14.4921 16.7251 15.4521 15.7651 15.4521 14.5576V10.6276C15.4521 9.4276 14.4921 8.4676 13.2846 8.4676C12.0771 8.4676 11.1171 9.4276 11.1171 10.6276V14.5576Z",fill:"currentColor"},null,-1),d.createElementVNode("path",{d:"M20.3436 12.3751C18.8586 12.3751 17.6436 11.1751 17.6436 9.6751C17.6436 8.2051 18.9036 6.9751 20.3436 6.9751C21.8286 6.9751 23.0436 8.1751 23.0436 9.6751C23.0436 11.1751 21.8286 12.3751 20.3436 12.3751ZM19.0011 9.6751C19.0011 10.4026 19.6161 11.0176 20.3436 11.0176C21.0711 11.0176 21.6861 10.4026 21.6861 9.6751C21.6861 8.9476 21.0711 8.3326 20.3436 8.3326C19.6161 8.3326 19.0011 8.9476 19.0011 9.6751Z",fill:"currentColor"},null,-1)]))}const bI=Nr(Poe,[["render",Doe]]),Moe={},Ioe={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Roe(e,t){return d.openBlock(),d.createElementBlock("svg",Ioe,t[0]||(t[0]=[d.createStaticVNode('<path d="M4 4L4 20" stroke="currentColor" stroke-width="1.5" stroke-linecap="square"></path><path d="M7.25 4H8.75" stroke="currentColor" stroke-width="1.5"></path><path d="M11.25 4H12.75" stroke="currentColor" stroke-width="1.5"></path><path d="M15.25 4H16.75" stroke="currentColor" stroke-width="1.5"></path><path d="M19.25 4H20.75" stroke="currentColor" stroke-width="1.5"></path><path d="M7.25 20H8.75" stroke="currentColor" stroke-width="1.5"></path><path d="M11.25 20H12.75" stroke="currentColor" stroke-width="1.5"></path><path d="M15.25 20H16.75" stroke="currentColor" stroke-width="1.5"></path><path d="M19.25 20H20.75" stroke="currentColor" stroke-width="1.5"></path><path d="M20 3.25L20 4.75" stroke="currentColor" stroke-width="1.5"></path><path d="M20 7.25L20 8.75" stroke="currentColor" stroke-width="1.5"></path><path d="M20 11.25L20 12.75" stroke="currentColor" stroke-width="1.5"></path><path d="M20 15.25L20 16.75" stroke="currentColor" stroke-width="1.5"></path>',13)]))}const BI=Nr(Moe,[["render",Roe]]),Loe={},Noe={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function $oe(e,t){return d.openBlock(),d.createElementBlock("svg",Noe,t[0]||(t[0]=[d.createStaticVNode('<path d="M20 20L4 20" stroke="currentColor" stroke-width="1.5" stroke-linecap="square"></path><path d="M7.25 4H8.75" stroke="currentColor" stroke-width="1.5"></path><path d="M11.25 4H12.75" stroke="currentColor" stroke-width="1.5"></path><path d="M15.25 4H16.75" stroke="currentColor" stroke-width="1.5"></path><path d="M19.25 4H20.75" stroke="currentColor" stroke-width="1.5"></path><path d="M20 3.25L20 4.75" stroke="currentColor" stroke-width="1.5"></path><path d="M20 7.25L20 8.75" stroke="currentColor" stroke-width="1.5"></path><path d="M20 11.25L20 12.75" stroke="currentColor" stroke-width="1.5"></path><path d="M20 15.25L20 16.75" stroke="currentColor" stroke-width="1.5"></path><path d="M4 3.25L4 4.75" stroke="currentColor" stroke-width="1.5"></path><path d="M4 7.25L4 8.75" stroke="currentColor" stroke-width="1.5"></path><path d="M4 11.25L4 12.75" stroke="currentColor" stroke-width="1.5"></path><path d="M4 15.25L4 16.75" stroke="currentColor" stroke-width="1.5"></path>',13)]))}const SI=Nr(Loe,[["render",$oe]]),Foe={},Qoe={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Voe(e,t){return d.openBlock(),d.createElementBlock("svg",Qoe,t[0]||(t[0]=[d.createStaticVNode('<path d="M4 4L4 19C4 19.5523 4.44772 20 5 20L20 20" stroke="currentColor" stroke-width="1.5" stroke-linecap="square"></path><path d="M7.25 4H8.75" stroke="currentColor" stroke-width="1.5"></path><path d="M11.25 4H12.75" stroke="currentColor" stroke-width="1.5"></path><path d="M15.25 4H16.75" stroke="currentColor" stroke-width="1.5"></path><path d="M19.25 4H20.75" stroke="currentColor" stroke-width="1.5"></path><path d="M20 3.25L20 4.75" stroke="currentColor" stroke-width="1.5"></path><path d="M20 7.25L20 8.75" stroke="currentColor" stroke-width="1.5"></path><path d="M20 11.25L20 12.75" stroke="currentColor" stroke-width="1.5"></path><path d="M20 15.25L20 16.75" stroke="currentColor" stroke-width="1.5"></path>',9)]))}const xI=Nr(Foe,[["render",Voe]]),Ooe={inheritAttrs:!1},Uoe={class:"double-contour-temp"};function zoe(e,t,n,r,a,o){return d.openBlock(),d.createElementBlock("div",Uoe,[d.createElementVNode("div",d.normalizeProps(d.guardReactiveProps(e.$attrs)),[d.renderSlot(e.$slots,"default")],16)])}const Kb=Nr(Ooe,[["render",zoe]]),Goe={},joe={class:"inline-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Yoe(e,t){return d.openBlock(),d.createElementBlock("svg",joe,t[0]||(t[0]=[d.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M10.5951 8.76689C9.7962 8.43389 8.91957 8.25 8 8.25C4.27208 8.25 1.25 11.2721 1.25 15C1.25 18.7279 4.27208 21.75 8 21.75C11.7279 21.75 14.75 18.7279 14.75 15C14.75 12.7693 13.6679 10.7913 12 9.56231C11.5866 9.86693 11.2092 10.2176 10.8753 10.6067C12.3055 11.5446 13.25 13.162 13.25 15C13.25 17.8995 10.8995 20.25 8 20.25C5.10051 20.25 2.75 17.8995 2.75 15C2.75 12.1005 5.10051 9.75 8 9.75C8.51 9.75 9.00302 9.82272 9.46924 9.95836C9.80438 9.52487 10.1817 9.12566 10.5951 8.76689Z",fill:"#110529"},null,-1),d.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12 2.75C9.10051 2.75 6.75 5.10051 6.75 8C6.75 10.8995 9.10051 13.25 12 13.25C14.8995 13.25 17.25 10.8995 17.25 8C17.25 5.10051 14.8995 2.75 12 2.75ZM5.25 8C5.25 4.27208 8.27208 1.25 12 1.25C15.7279 1.25 18.75 4.27208 18.75 8C18.75 11.7279 15.7279 14.75 12 14.75C8.27208 14.75 5.25 11.7279 5.25 8Z",fill:"#07AD3E"},null,-1),d.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M21.25 15C21.25 12.9441 20.0683 11.1643 18.3471 10.3026C18.5192 9.82834 18.6396 9.32933 18.7016 8.81237C21.0847 9.85434 22.75 12.2327 22.75 15C22.75 18.7279 19.7279 21.75 16 21.75C13.9499 21.75 12.1132 20.836 10.8753 19.3933C11.2961 19.1174 11.6749 18.7825 12 18.4005C12.963 19.5322 14.3977 20.25 16 20.25C18.8995 20.25 21.25 17.8995 21.25 15ZM11.1556 17.0269C10.8943 16.4032 10.75 15.7185 10.75 15C10.75 12.1005 13.1005 9.75 16 9.75C16.3146 9.75 16.6227 9.77767 16.922 9.83069C17.0939 9.36877 17.2026 8.87611 17.2376 8.36321C16.8364 8.28886 16.4227 8.25 16 8.25C12.2721 8.25 9.25 11.2721 9.25 15C9.25 16.139 9.53213 17.2122 10.0303 18.1534C10.481 17.8626 10.8653 17.4779 11.1556 17.0269Z",fill:"#110529"},null,-1)]))}const Woe=Nr(Goe,[["render",Yoe]]),Koe={key:4,class:"size"},Xb=d.defineComponent({__name:"AesButton",props:{data:{}},emits:["ref"],setup(e,{emit:t}){const n=e,r=n.data.type==="fill"||n.data.type==="stroke",a=d.computed(()=>({icon__white:r&&n.data.value.toLowerCase()==="#ffffff",icon__empty:r&&n.data.value.toLowerCase()==="transparent"})),o=d.computed(()=>n.data.type==="fill"?{"background-color":n.data.value}:n.data.type==="stroke"&&!a.value.icon__empty&&!a.value.icon__white?{"border-color":n.data.value}:{});return(l,u)=>(d.openBlock(),d.createElementBlock("div",{class:"ui-aes-button",ref:c=>l.$emit("ref",c)},[d.createVNode(Kb,{class:"ui-multiselect-button__contour"}),l.data.type==="fill"?(d.openBlock(),d.createElementBlock("div",{key:0,class:d.normalizeClass(["icon icon__fill",a.value]),style:d.normalizeStyle(o.value)},null,6)):l.data.type==="stroke"?(d.openBlock(),d.createElementBlock("div",{key:1,class:d.normalizeClass(["icon icon__stroke",a.value]),style:d.normalizeStyle(o.value)},null,6)):l.data.type==="dotShape"?(d.openBlock(),d.createElementBlock("div",{key:2,class:d.normalizeClass(["icon dot",{[`dot__${l.data.value}`]:!0}])},null,2)):l.data.type==="lineType"?(d.openBlock(),d.createElementBlock("div",{key:3,class:d.normalizeClass(["icon icon__line",{[`line__${l.data.value}`]:!0}])},null,2)):l.data.type==="size"?(d.openBlock(),d.createElementBlock("span",Koe,d.toDisplayString(l.data.value),1)):l.data.type==="data"?(d.openBlock(),d.createBlock(d.resolveDynamicComponent(Woe),{key:5,class:"icon"})):d.createCommentVNode("",!0)],512))}}),Xoe={},Zoe={class:"inline-icon",xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"};function Joe(e,t){return d.openBlock(),d.createElementBlock("svg",Zoe,t[0]||(t[0]=[d.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M2 8L7.53033 13.5303L8.59099 12.4697L4.87132 8.75L14.0607 8.75L14.0607 7.25L4.87132 7.25L8.59099 3.53033L7.53033 2.46967L2 8Z",fill:"#110529"},null,-1)]))}const qoe=Nr(Xoe,[["render",Joe]]),ele={ref:"root",class:"aes-settings-form"},tle={class:"aes-settings-form__header"},bw=d.defineComponent({__name:"FormWrapper",props:{title:{},backTitle:{}},emits:["form:close"],setup(e,{emit:t}){return(n,r)=>(d.openBlock(),d.createBlock(d.Teleport,{to:"#graph-settings-modal"},[d.createElementVNode("div",ele,[d.createElementVNode("div",tle,[d.createElementVNode("div",{onClick:r[0]||(r[0]=d.withModifiers(a=>n.$emit("form:close"),["stop"])),class:"back-link"},[(d.openBlock(),d.createBlock(d.resolveDynamicComponent(qoe))),d.createTextVNode(" "+d.toDisplayString(`Back to ${n.backTitle}`),1)]),d.createElementVNode("h3",null,d.toDisplayString(n.title),1)]),d.renderSlot(n.$slots,"default")],512)]))}}),nle={class:"ui-multiselect-button__content"},rle={key:0,class:"title"},ale={key:1,class:"gradient"},ile=6,ole=d.defineComponent({__name:"MultiselectButton",props:{label:{},title:{},palette:{},iconColor:{}},emits:["button-click"],setup(e,{emit:t}){const n=d.ref(void 0);Nb(n);function r(a){const o=100/(a.length-1);return`background: linear-gradient(to right, ${a.map((l,u)=>`${l} ${u*o}%`).join(", ")})`}return(a,o)=>(d.openBlock(),d.createElementBlock("div",{ref_key:"root",ref:n,class:"ui-multiselect-button",onClick:o[0]||(o[0]=d.withModifiers(l=>a.$emit("button-click"),["stop"]))},[a.label?(d.openBlock(),d.createElementBlock("label",{key:0,ref:"label"},d.toDisplayString(a.label),513)):d.createCommentVNode("",!0),d.createVNode(Kb,{class:"ui-multiselect-button__contour"}),d.createElementVNode("div",nle,[a.title?(d.openBlock(),d.createElementBlock("div",rle,d.toDisplayString(a.title),1)):d.createCommentVNode("",!0),a.palette&&d.unref(eb)(a.palette)?(d.openBlock(),d.createElementBlock("div",ale,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(d.unref(qu)[a.palette].colors.slice(0,ile),l=>(d.openBlock(),d.createElementBlock("div",{class:"gradient__item",style:d.normalizeStyle({background:l})},null,4))),256))])):a.palette?(d.openBlock(),d.createElementBlock("div",{key:2,class:"gradient",style:d.normalizeStyle(r(d.unref(qu)[a.palette].colors))},null,4)):(d.openBlock(),d.createBlock(d.unref(nw),{key:3,class:"icon",name:"chevron-right"}))])],512))}}),lle={class:"palettes-groups"},sle={class:"palettes-list"},ule=["onClick"],cle={class:"palette-gradient"},fle={class:"palettes-list"},Ale=["onClick"],dle={class:"palettes-list"},ple=["onClick"],hle=9,vle=d.defineComponent({__name:"PalettesForm",props:{selected:{}},emits:["select"],setup(e,{emit:t}){const n=t;function r(o){n("select",o)}function a(o){const l=100/(o.length-1);return`background: linear-gradient(to right, ${o.map((u,c)=>`${u} ${c*l}%`).join(", ")})`}return(o,l)=>(d.openBlock(),d.createElementBlock("div",lle,[l[0]||(l[0]=d.createElementVNode("div",{class:"section-title"},[d.createElementVNode("span",null,"CATEGORICAL")],-1)),l[1]||(l[1]=d.createElementVNode("div",{class:"section-description"}," Best to representing categorical data ",-1)),d.createElementVNode("div",sle,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(d.unref(HD),u=>(d.openBlock(),d.createElementBlock("div",{class:d.normalizeClass(["palettes-list__palette",{selected:o.selected===u}]),onClick:d.withModifiers(c=>r(u),["stop"])},[d.createElementVNode("div",null,d.toDisplayString(d.unref(qu)[u].title),1),d.createElementVNode("div",cle,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(d.unref(qu)[u].colors.slice(0,hle),c=>(d.openBlock(),d.createElementBlock("div",{class:"palette-gradient__item",style:d.normalizeStyle({background:c})},null,4))),256))])],10,ule))),256))]),l[2]||(l[2]=d.createElementVNode("div",{class:"section-title"},[d.createElementVNode("span",null,"SEQUENTIAL")],-1)),l[3]||(l[3]=d.createElementVNode("div",{class:"section-description"}," Best to representing sequential data ",-1)),d.createElementVNode("div",fle,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(d.unref(GJ),u=>(d.openBlock(),d.createElementBlock("div",{class:d.normalizeClass(["palettes-list__palette",{selected:o.selected===u}]),onClick:d.withModifiers(c=>r(u),["stop"])},[d.createElementVNode("div",null,d.toDisplayString(d.unref(qu)[u].title),1),d.createElementVNode("div",{class:"palette-gradient",style:d.normalizeStyle(a(d.unref(qu)[u].colors))},null,4)],10,Ale))),256))]),l[4]||(l[4]=d.createElementVNode("div",{class:"section-title"},[d.createElementVNode("span",null,"DIVERGING")],-1)),l[5]||(l[5]=d.createElementVNode("div",{class:"section-description"}," Best to representing diverging data ",-1)),d.createElementVNode("div",dle,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(d.unref(jJ),u=>(d.openBlock(),d.createElementBlock("div",{class:d.normalizeClass(["palettes-list__palette",{selected:o.selected===u}]),onClick:d.withModifiers(c=>r(u),["stop"])},[d.createElementVNode("div",null,d.toDisplayString(d.unref(qu)[u].title),1),d.createElementVNode("div",{class:"palette-gradient",style:d.normalizeStyle(a(d.unref(qu)[u].colors))},null,4)],10,ple))),256))])]))}}),mle=["onClick"],kI=d.defineComponent({__name:"FixedColorsList",props:{modelValue:{},colorUsing:{default:"fill"},colorsList:{default:()=>Ug}},emits:["update:modelValue"],setup(e,{emit:t}){return(n,r)=>(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(n.colorsList,a=>(d.openBlock(),d.createElementBlock("div",{key:a.color,class:d.normalizeClass(["color-item",{border:n.colorUsing==="stroke",white:a.name==="White",empty:a.name==="None",selected:a.color===n.modelValue}]),style:d.normalizeStyle(a.name!=="White"&&a.name!=="None"?`${n.colorUsing==="fill"?"background":"border-color"}: ${a.color};`:""),onClick:o=>n.$emit("update:modelValue",a.color)},r[0]||(r[0]=[d.createElementVNode("div",{class:"checkmark"},null,-1)]),14,mle))),128))}}),gle=["onClick"],yle={class:"row-item__title"},TI=d.defineComponent({__name:"FixedLineTypeList",props:{modelValue:{},list:{default:()=>gy}},emits:["update:modelValue"],setup(e,{emit:t}){return(n,r)=>(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(n.list,a=>(d.openBlock(),d.createElementBlock("div",{key:a,class:d.normalizeClass(["row-item",{"row-item__selected":a===n.modelValue,[`line__${a}`]:!0}]),onClick:o=>n.$emit("update:modelValue",a)},[d.createElementVNode("div",yle,d.toDisplayString(d.unref(WJ)[a].title),1),(d.openBlock(),d.createElementBlock("svg",{class:d.normalizeClass(["row-item__line line",{[`line__${a}`]:!0}])},r[0]||(r[0]=[d.createElementVNode("line",{x1:"0",x2:"100%",y1:"50%",y2:"50%"},null,-1)]),2))],10,gle))),128))}}),wle=["onClick"],_I=d.defineComponent({__name:"FixedDotShapeList",props:{modelValue:{},list:{default:()=>my}},emits:["update:modelValue"],setup(e,{emit:t}){return(n,r)=>(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(n.list,a=>(d.openBlock(),d.createElementBlock("div",{key:a,class:d.normalizeClass(["color-item dot",{selected:a===n.modelValue,[`dot__${a}`]:!0}]),onClick:o=>n.$emit("update:modelValue",a)},null,10,wle))),128))}}),PI=d.defineComponent({__name:"Popup",props:{gap:{default:8},targetRef:{},width:{default:258},height:{}},emits:["popup:close"],setup(e,{emit:t}){const n=t,r=e;function a(){n("popup:close")}const o=d.ref(),l=d.ref(r.targetRef),u=d.ref("bottom"),c=d.ref(""),f=d.ref("");function p(v,y=8){Mb(v,C=>{if(r.height&&C.offsetY+C.height+3*y+r.height>C.clientHeight){const x=C.right-C.width-y;if(C.clientHeight-C.offsetY>r.height+y){const P=C.offsetY;c.value=`left: ${x}px; top: ${P}px;`,f.value="top: 16px;",u.value="left-bottom"}else{const P=C.clientHeight-r.height-2*y;c.value=`left: ${x}px; top: ${P}px;`;const _=C.offsetY+2*Math.floor(C.height/2),H=C.clientHeight-_;f.value=`bottom: ${H}px;`,u.value="left-bottom"}}else c.value=`left: ${C.right}px; top: ${C.offsetY+C.height+y}px;`,f.value="",u.value="bottom"})}return p(l,r.gap),tw([l,o],()=>a()),(v,y)=>(d.openBlock(),d.createBlock(d.Teleport,{to:"body"},[d.createElementVNode("div",{class:"popup",style:d.normalizeStyle(c.value),onClick:y[0]||(y[0]=C=>C.stopPropagation())},[d.createElementVNode("div",{ref_key:"popup",ref:o,class:d.normalizeClass(["popup__content",u.value]),style:d.normalizeStyle({width:`${v.width}px`})},[d.createElementVNode("div",null,[d.renderSlot(v.$slots,"default")]),(d.openBlock(),d.createElementBlock("svg",{style:d.normalizeStyle(f.value),class:"beak",width:"5",height:"9",viewBox:"0 0 3 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"},y[1]||(y[1]=[d.createElementVNode("path",{d:"M4 8L0 4L4 0L4 8 Z"},null,-1),d.createElementVNode("polyline",{points:"4,8 0,4 4,0"},null,-1)]),4))],6)],4)]))}}),Cle={},Ele={xmlns:"http://www.w3.org/2000/svg",width:"8",height:"12",viewBox:"0 0 8 12",fill:"none"};function ble(e,t){return d.openBlock(),d.createElementBlock("svg",Ele,t[0]||(t[0]=[d.createStaticVNode('<path d="M2.5 0H0.5V2H2.5V0Z" fill="#CFD1DB"></path><path d="M2.5 5H0.5V7H2.5V5Z" fill="#CFD1DB"></path><path d="M0.5 10H2.5V12H0.5V10Z" fill="#CFD1DB"></path><path d="M7.5 0H5.5V2H7.5V0Z" fill="#CFD1DB"></path><path d="M5.5 5H7.5V7H5.5V5Z" fill="#CFD1DB"></path><path d="M7.5 10H5.5V12H7.5V10Z" fill="#CFD1DB"></path>',6)]))}const Ble=Nr(Cle,[["render",ble]]);var Sle=Object.defineProperty,xle=(e,t,n)=>t in e?Sle(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Zb=(e,t,n)=>xle(e,typeof t!="symbol"?t+"":t,n);function kle(e,t){if(e==null)throw Error(t??"Empty (null | undefined) value");return e}function Tle(e,t){if(e===void 0)throw Error(t??"Undefined value");return e}function _le(e=void 0){return e}function Ple(e){return e}function Hle(e){return[...new Set(e)]}function Dle(e,t){if(e==null)throw Error(t??"Empty (null | undefined) value")}function Mle(e,t){if(e===void 0)throw Error(t??"Undefined value")}function Ile(e,t,n){const r=Math.min(t,n),a=Math.max(t,n);return e>=r&&e<=a}function Rle(e){return e.map(t=>({text:String(t),value:t}))}function Lle(e){return function(...t){const n=e(...t);async function r(a){return a.done?Promise.resolve(a.value):Promise.resolve(a.value).then(o=>r(n.next(o))).catch(o=>r(n.throw(o)))}try{return r(n.next())}catch(a){return Promise.reject(a)}}}class Nle{constructor(){Zb(this,"promise"),Zb(this,"resolve",()=>{}),Zb(this,"reject",()=>{}),this.promise=new Promise((t,n)=>{this.resolve=t,this.reject=n})}}function Jb(e){return new Promise(t=>setTimeout(t,e))}function $le(){return new Promise(e=>queueMicrotask(e))}function Fle(){const e=new Date().getTime();return function(){return new Date().getTime()-e}}function Qle(){const e=performance.now();return function(){return performance.now()-e}}function Vle(e){return e()}function Ole(e,t,n){return t>e?t:e>n?n:e}function Ule(e,t){return t(e)}function zle(e,t){if(e!=null)return t(e)}function Gle(e,t){return e=Math.ceil(e),t=Math.floor(t),Math.floor(Math.random()*(t-e))+e}function*HI(e,t,n=1){for(let r=e;r<t;r+=n)yield r}function DI(e){const t=[];for(const n of e)t.push(n);return t}function jle(e,t){return DI(HI(0,e)).map(t)}class Yle{constructor(t){this._delay=t}async*generate(){let t=0;for(;;)await Jb(this._delay),yield t++}async*[Symbol.asyncIterator](){let t=0;for(;;)await Jb(this._delay),yield t++}}function Wle(e,t){return Array.from({length:e},(n,r)=>t(r))}function Kle(e,t){throw Error(t)}function Xle(e){return t=>e[t]()}function Zle(e){if(e&&e.ok)return e.value}function Jle(e){if(e&&!e.ok)return e.error}function qle(e){if(e.ok)return e.value;throw Error(e.error)}function ese(e){return Array.isArray(e)?e:[e]}async function tse(e){return Object.fromEntries(await Promise.all(Object.entries(e).map(async([t,n])=>[t,await n])))}function nse(e,t){return Object.keys(t).every(n=>e[n]===t[n])}const rse=e=>e;function ase(e){return e}function ise(e){return Object.entries(e).map(([t,n])=>({key:t,value:n}))}const e7=Object.freeze(Object.defineProperty({__proto__:null,Deferred:Nle,Interval:Yle,alike:nse,arrayFrom:Wle,asConst:ase,async:Lle,between:Ile,bool:Ple,call:Vle,checkIfDefined:Mle,checkIfNotEmpty:Dle,clamp:Ole,delay:Jb,errorOptional:Jle,exhaustive:Kle,flatValue:ese,identity:rse,listToOptions:Rle,match:Xle,notEmpty:kle,notUndef:Tle,okOptional:Zle,performanceTimer:Qle,randomInt:Gle,range:HI,resolveAwaited:tse,tap:Ule,tapIf:zle,tear:$le,timer:Fle,times:jle,toList:DI,undef:_le,unionize:ise,uniqueValues:Hle,unwrap:qle},Symbol.toStringTag,{value:"Module"})),qb=Array.isArray;function t7(e){return e!==null&&typeof e=="object"}function eB(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return t===null||t===Object.prototype||Object.getPrototypeOf(t)===null}function ose(e,t){return Object.keys(e).map(n=>t(e[n],n))}function MI(e,t){return t7(e)&&t7(t)?Object.keys(e).length!==Object.keys(t).length?!1:Object.keys(e).every(n=>MI(e[n],t[n])):e===t}function tB(e){if(Array.isArray(e)){const t=[];for(let n=0;n<e.length;n++)t[n]=tB(e[n]);return t}else if(t7(e)){const t={};return Object.keys(e).forEach(n=>{t[n]=tB(e[n])}),t}else return e}function lse(e){return Array.isArray(e)?Object.assign([],e):t7(e)?Object.assign({},e):e}function sse(e,t){const n={};for(const r in t)t[r]!==e[r]&&(n[r]=e[r]);return n}function use(e){return Object.entries(e).forEach(([t,n])=>{n instanceof Function&&(e[t]=n.bind(e))}),e}function cse(e,t,n){return e[t]=n,e}function fse(e,t){return e[t]}function Ase(e,t){e={...e};const n=e[t];return delete e[t],[n,e]}function dse(e,...t){return Object.assign({},...t.map(n=>({[n]:e[n]})))}function pse(e,...t){return t.map(n=>e[n])}function hse(e,...t){const n=Object.assign({},e);return t.forEach(r=>delete n[r]),n}function II(e,t){return new Set([...Object.keys(e),...Object.keys(t)]).forEach(n=>{const r=e[n],a=t[n];eB(r)&&eB(a)||qb(r)&&qb(a)&&r.length===a.length?II(r,a):e[n]=a}),e}const vse=Object.freeze(Object.defineProperty({__proto__:null,bindMethods:use,deepClone:tB,deepEqual:MI,deepPatch:II,getProp:fse,isArray:qb,isObject:t7,isPlainObject:eB,map:ose,omit:hse,pick:dse,pickValues:pse,setProp:cse,shallowClone:lse,shallowDiff:sse,shiftProp:Ase},Symbol.toStringTag,{value:"Module"})),Bw=1,mse=d.defineComponent({__name:"PlColorSliderThumb",props:{barRef:{},modelValue:{},min:{default:0},max:{default:100},getColorForPercent:{},padding:{default:16},isActive:{type:Boolean}},emits:["update:modelValue","active"],setup(e,{emit:t}){const n=e,r=t,a=d.ref(),o=d.ref(),l=d.ref(!1),u=n.min,c=n.max;let f=d.ref(0);const p=c-u,v=n.padding/n.barRef.getBoundingClientRect().width*100/2,y=d.computed(()=>e7.clamp((n.modelValue??0)+f.value,Math.ceil(u+v),Math.ceil(c-v))),C=d.computed(()=>({right:`calc(${Math.ceil((1-S.value)*100)}%) `})),S=d.computed(()=>(y.value-u)/p);function x(G){const Q=e7.clamp(G,u,c);return Math.round((Q+Number.EPSILON)*(1/Bw))/(1/Bw)}function P(){l.value=!1}function _(G){G?(document.addEventListener("mouseup",P),document.addEventListener("focusout",P)):(document.removeEventListener("mouseup",P),document.removeEventListener("focusout",P)),l.value=G,r("active",G)}jM(a,G=>{var Q;e7.tapIf((Q=d.unref(n.barRef))==null?void 0:Q.getBoundingClientRect(),F=>{const{dx:N}=G;f.value=N/F.width*p,G.stop&&(r("update:modelValue",x(y.value)),f.value=0)})});function H(G){["ArrowDown","ArrowUp","ArrowRight","ArrowLeft","Enter"].includes(G.code)&&G.preventDefault(),G.code==="ArrowLeft"&&r("update:modelValue",e7.clamp(n.modelValue-Bw,u,c)),G.code==="ArrowRight"&&r("update:modelValue",e7.clamp(n.modelValue+Bw,u,c))}function D(G){var Q,F;G?(Q=o.value)==null||Q.classList.add("pl-color-slider__top-index"):(F=o.value)==null||F.classList.remove("pl-color-slider__top-index")}return(G,Q)=>(d.openBlock(),d.createElementBlock("div",{ref_key:"wrapper",ref:o,style:d.normalizeStyle(C.value),class:d.normalizeClass([{"active-thumb":l.value||G.isActive},"pl-color-slider__thumb"]),tabindex:"0",onMousedown:Q[2]||(Q[2]=F=>_(!0)),onMouseup:Q[3]||(Q[3]=F=>_(!1)),onKeydown:H,onFocus:Q[4]||(Q[4]=F=>_(!0))},[d.createElementVNode("div",{ref_key:"thumb",ref:a,class:d.normalizeClass([{active:l.value},"pl-color-slider__thumb-roof"]),onMouseover:Q[0]||(Q[0]=F=>D(!0)),onMouseout:Q[1]||(Q[1]=F=>D(!1))},[d.createElementVNode("div",{class:"pl-color-slider__thumb-color-indicator",style:d.normalizeStyle({backgroundColor:G.getColorForPercent(y.value)})},null,4)],34)],38))}}),gse={class:"pl-color-slider"},yse={class:"pl-color-slider__wrapper"},wse={class:"pl-color-slider__thumbs-contaier"},Cse=d.defineComponent({__name:"PlColorSlider",props:{colors:{},modelValue:{},getColorForPercent:{type:Function},active:{}},emits:["update:modelValue","active"],setup(e,{emit:t}){const n=e,r=t,a=d.ref(),o=d.reactive({}),l=d.ref(-1);d.watch(()=>n.modelValue,()=>{n.modelValue.forEach((p,v)=>o[v]=p)},{immediate:!0});const u=d.computed(()=>Math.floor(l.value!==-1?0-l.value:0)),c=d.computed(()=>Math.floor(l.value!==-1?100+l.value:100));d.watch(()=>o,p=>{r("update:modelValue",Object.values(p))},{deep:!0});const f=d.computed(()=>{const p=100/(n.colors.length-1);return`linear-gradient(to right, ${n.colors.map((y,C)=>`${y} ${p*C}%`).join(", ")})`});return d.onMounted(()=>{let p=16,v=a.value.getBoundingClientRect().width-p*2;l.value=p/v*100}),(p,v)=>(d.openBlock(),d.createElementBlock("div",gse,[d.createElementVNode("div",yse,[d.createElementVNode("div",{ref_key:"barRef",ref:a,class:"pl-color-slider__color-contaier"},[d.createElementVNode("div",{style:d.normalizeStyle({background:f.value}),class:"pl-color-slider__gradient"},null,4)],512),d.createElementVNode("div",wse,[a.value?(d.openBlock(!0),d.createElementBlock(d.Fragment,{key:0},d.renderList(p.modelValue,(y,C)=>(d.openBlock(),d.createBlock(mse,{modelValue:o[C],"onUpdate:modelValue":S=>o[C]=S,"is-active":p.active===C,key:C,min:u.value,max:c.value,"bar-ref":a.value,"get-color-for-percent":p.getColorForPercent,class:"pl-color-slider__thumb",tabindex:"0",onActive:S=>p.$emit("active",{index:C,status:S})},null,8,["modelValue","onUpdate:modelValue","is-active","min","max","bar-ref","get-color-for-percent","onActive"]))),128)):d.createCommentVNode("",!0)])])]))}}),Ese={class:"aes-mapping-block"},bse={style:{margin:"0 24px"}},Bse={class:"section-title"},Sse={style:{margin:"24px 0"}},xse={key:0,style:{margin:"24px 0"}},kse={key:0,class:"aes-settings-hint"},Tse={class:"column-value__title"},_se={class:"column-value__aes-group"},Pse=["onClick"],Hse=["onClick"],Dse=["onClick"],nB=d.defineComponent({__name:"AesDataMapping",props:{dataColumnLabel:{},columnValueLabels:{},usedAesInMapping:{},modelValue:{},allowReordering:{type:Boolean}},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,r=t,a=d.ref(!1),o=d.ref(n.modelValue.palette),l=d.computed(()=>eb(o.value)),u=d.ref(null),c=d.computed(()=>u.value===null?null:n.modelValue.order.indexOf(u.value)),f=d.ref(null),p=d.computed(()=>n.modelValue.order.map(X=>{var Z;const re=(Z=n.modelValue.mapping[X])==null?void 0:Z.aes;return{text:n.columnValueLabels[X],value:X,dotShape:re==null?void 0:re.dotShape,color:re==null?void 0:re.color,lineType:re==null?void 0:re.lineShape}}));function v(X){o.value=X,a.value=!1,r("update:modelValue",RM(X,n.modelValue.order))}function y(X,re,Z){r("update:modelValue",{...n.modelValue,mapping:{...n.modelValue.mapping,[X]:{...n.modelValue.mapping[X],aes:{...n.modelValue.mapping[X].aes,[re]:Z}}}})}const C=d.reactive({color:{},dotShape:{},lineType:{}});function S(X,re,Z){Z&&!C[X][re.value]&&(C[X][re.value]=Z)}function x(X,re){const Z=u.value===X.value&&f.value===re;u.value=Z?null:X.value,f.value=Z?null:re}function P(){u.value=null,f.value=null}const _=d.computed(()=>qu[o.value].colors.map(X=>({color:X,name:X}))),H=d.computed(()=>{if(f.value==="lineType")return gy.length*32+16*2;if(f.value==="dotShape")return Math.ceil(my.length/6)*36+20*2;if(f.value==="color")return Math.ceil(_.value.length/6)*36+20*2}),D=d.ref();n.allowReordering&&uie(D,{onChange(X){r("update:modelValue",{...n.modelValue,order:X.map(re=>n.modelValue.order[re])})}});function G(X,re,Z=0,ne=1){const ee=1/(X.length-1),ie=hi().domain(X.map((oe,Pe)=>Z+Pe*ee*(ne-Z))).range(X);return oe=>oe>ne||oe<Z?re:ie(oe)}const Q=d.computed(()=>G(qu[o.value].colors,DD)),F=d.computed(()=>G(qu[o.value].colors,DD,0,100)),N=d.ref(n.modelValue.order.map(X=>n.modelValue.mapping[X].colorIdx*100));d.watch(()=>n.modelValue,X=>{N.value=X.order.map(re=>X.mapping[re].colorIdx*100)});function z(X){X.forEach((re,Z)=>{const ne=n.modelValue.order[Z],ee=re/100;n.modelValue.mapping[ne].colorIdx!==ee&&r("update:modelValue",{...n.modelValue,mapping:{...n.modelValue.mapping,[ne]:{colorIdx:ee,aes:{...n.modelValue.mapping[ne].aes,color:Q.value(ee)}}}})})}function j(X){f.value="color",u.value=X.status?n.modelValue.order[X.index]:null}return(X,re)=>(d.openBlock(),d.createElementBlock("div",Ese,[d.createElementVNode("div",bse,[d.createElementVNode("div",Bse,[d.createElementVNode("span",null,d.toDisplayString(X.dataColumnLabel),1)]),d.createElementVNode("div",Sse,[d.createVNode(ole,{label:"Color Palette ",icon:"chevron-right",title:d.unref(qu)[o.value].title,palette:o.value,onButtonClick:re[0]||(re[0]=Z=>{a.value=!0,P()})},null,8,["title","palette"])]),l.value?d.createCommentVNode("",!0):(d.openBlock(),d.createElementBlock("div",xse,[d.createVNode(Cse,{modelValue:N.value,"onUpdate:modelValue":[re[1]||(re[1]=Z=>N.value=Z),z],colors:d.unref(qu)[o.value].colors,"get-color-for-percent":F.value,active:c.value,onActive:j},null,8,["modelValue","colors","get-color-for-percent","active"])])),a.value?(d.openBlock(),d.createBlock(bw,{key:1,title:"Color Palette","back-title":"Back to Color mapping","onForm:close":re[2]||(re[2]=Z=>a.value=!1)},{default:d.withCtx(()=>[d.createVNode(vle,{selected:o.value,onSelect:v},null,8,["selected"])]),_:1})):d.createCommentVNode("",!0)]),X.allowReordering?(d.openBlock(),d.createElementBlock("div",kse," Drag the rows to reorder ")):d.createCommentVNode("",!0),d.createElementVNode("div",{class:"column-values-list",ref_key:"optionsListRef",ref:D},[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(p.value,Z=>(d.openBlock(),d.createElementBlock("div",{class:d.normalizeClass(["column-value",{"column-value__with-reorder":X.allowReordering}])},[X.allowReordering?(d.openBlock(),d.createBlock(d.resolveDynamicComponent(Ble),{key:0,class:"column-value__reorder-icon"})):d.createCommentVNode("",!0),d.createElementVNode("div",Tse,d.toDisplayString(Z.text),1),d.createElementVNode("div",_se,[X.usedAesInMapping.lineType?(d.openBlock(),d.createElementBlock("div",{key:0,class:d.normalizeClass(["column-value__aes",{aes__selected:u.value===Z.value&&f.value==="lineType"&&!X.allowReordering}]),ref_for:!0,ref:ne=>S("lineType",Z,ne),onClick:d.withModifiers(ne=>x(Z,"lineType"),["stop"])},[d.createElementVNode("div",{class:d.normalizeClass(["icon__line line",{[`line__${Z.lineType}`]:!0}])},null,2)],10,Pse)):d.createCommentVNode("",!0),X.usedAesInMapping.dotShape?(d.openBlock(),d.createElementBlock("div",{key:1,class:d.normalizeClass(["column-value__aes",{aes__selected:u.value===Z.value&&f.value==="dotShape"&&!X.allowReordering}]),ref_for:!0,ref:ne=>S("dotShape",Z,ne),onClick:d.withModifiers(ne=>x(Z,"dotShape"),["stop"])},[d.createElementVNode("div",{class:d.normalizeClass(["dot",{[`dot__${Z.dotShape}`]:!0}])},null,2)],10,Hse)):d.createCommentVNode("",!0),X.usedAesInMapping.fill||X.usedAesInMapping.stroke?(d.openBlock(),d.createElementBlock("div",{key:2,class:d.normalizeClass(["column-value__aes",{aes__selected:u.value===Z.value&&f.value==="color"&&!X.allowReordering}]),ref_for:!0,ref:ne=>S("color",Z,ne),onClick:d.withModifiers(ne=>x(Z,"color"),["stop"])},[d.createElementVNode("div",{class:"column-value__color",style:d.normalizeStyle({background:Z.color})},null,4)],10,Dse)):d.createCommentVNode("",!0),!X.allowReordering&&(f.value!=="color"||l.value)&&f.value!==null&&u.value===Z.value?(d.openBlock(),d.createBlock(PI,{key:`${f.value}_${u.value}`,targetRef:C[f.value][u.value],"onPopup:close":P,height:H.value},{default:d.withCtx(()=>[d.createElementVNode("div",{class:d.normalizeClass(["fixed-aes-list",{"fixed-aes-list__rows":!1}])},[f.value==="lineType"?(d.openBlock(),d.createBlock(TI,{key:0,"onUpdate:modelValue":[ne=>y(Z.value,"lineShape",ne),ne=>Z.lineType=ne],modelValue:Z.lineType},null,8,["onUpdate:modelValue","modelValue"])):d.createCommentVNode("",!0),f.value==="dotShape"?(d.openBlock(),d.createBlock(_I,{key:1,"onUpdate:modelValue":[ne=>y(Z.value,"dotShape",ne),ne=>Z.dotShape=ne],modelValue:Z.dotShape},null,8,["onUpdate:modelValue","modelValue"])):d.createCommentVNode("",!0),f.value==="color"?(d.openBlock(),d.createBlock(kI,{key:2,"colors-list":_.value,"onUpdate:modelValue":[ne=>y(Z.value,"color",ne),ne=>Z.color=ne],modelValue:Z.color},null,8,["colors-list","onUpdate:modelValue","modelValue"])):d.createCommentVNode("",!0)])]),_:2},1032,["targetRef","height"])):d.createCommentVNode("",!0)])],2))),256))],512)]))}}),Mse={class:"axes-settings-list"},Ise={key:0,class:"axes-settings-options-row"},Rse={key:1,class:"axes-settings-options-row"},Lse={key:2,class:"axes-settings-options-row"},Nse={class:"axes-settings-options-row block"},$se={key:3},Fse={class:"axes-settings-options-row table"},Qse={class:"axes-settings-options-row table"},Vse={class:"axes-settings-options-row table"},Ose={class:"axes-settings-options-row block"},Use={key:0},zse={class:"axes-settings-options-row block"},Gse={class:"axes-settings-options-row table"},jse={class:"axes-settings-options-row table"},Yse={class:"other"},Wse={class:"axes-settings-options-row"},Kse={class:"axes-settings-options-row"},Xse={class:"axes-settings-options-row"},Zse={class:"axes-settings-options-row block"},Jse=d.defineComponent({__name:"DiscreteAxesSettingsForm",setup(e){const t=xi(),n=t.value.reactive.axesSettings,r={height:40,horizontalPadding:12,defaultState:"open"},a=[{value:"center",icon:CI},{value:"45deg",icon:EI},{value:"90deg",icon:bI}],o=[{value:"auto",text:"Auto"},{value:"custom",text:"Custom"},{value:"hide",text:"Hide"}],l=[{value:"linear",text:"Linear"},{value:"log",text:"Log"}],u=[{value:"empty",icon:Wb},{value:"left",icon:BI},{value:"bottom",icon:SI},{value:"left-bottom",icon:xI},{value:"full",icon:Yb}],c=d.computed(()=>t.value.inputGuide.value),f=d.ref(!1),p=d.ref(!1),v=d.computed(()=>{var F,N;return(N=(F=t.value.reactive.optionsState.components.primaryGrouping)==null?void 0:F.selectorStates[0])==null?void 0:N.selectedSource}),y=d.computed(()=>{var F,N;return(N=(F=t.value.reactive.optionsState.components.secondaryGrouping)==null?void 0:F.selectorStates[0])==null?void 0:N.selectedSource}),C=d.computed(()=>t.value.commonHelpersData.primaryGroups.value),S=d.computed(()=>t.value.commonHelpersData.secondaryGroups.value),x=d.computed(()=>t.value.commonHelpersData.usedAesInMapping.value),P=d.ref(t.value.reactive.dataBindAes[v.value]??qg(C.value)),_=d.ref(t.value.reactive.dataBindAes[y.value]??qg(S.value)),H=d.computed(()=>{if(v.value){const F=c.value.getSourceInfo(v.value)??null;return{selectedSourceInfo:F,labels:C.value.reduce((N,z)=>(N[z]=(F==null?void 0:F.valueLabels[z])??String(z),N),{})}}}),D=d.computed(()=>{if(y.value){const F=c.value.getSourceInfo(y.value)??null;return{selectedSourceInfo:F,labels:S.value.reduce((N,z)=>(N[z]=(F==null?void 0:F.valueLabels[z])??String(z),N),{})}}});function G(F,N){t.value.reactive.dataBindAes[N]=F}const Q=[{text:"X",value:"x"},{text:"Y",value:"y"},{text:"XY",value:"xy"},{text:"None",value:"none"}];return(F,N)=>(d.openBlock(),d.createElementBlock("div",{class:"axes-form",onClick:N[23]||(N[23]=z=>z.stopPropagation())},[N[34]||(N[34]=d.createElementVNode("h3",{class:"axes-title"}," Axes ",-1)),d.createElementVNode("div",Mse,[d.createVNode(vp,{title:"X-axis",settings:r,icon:l3,"icon-open":s3},{default:d.withCtx(()=>[C.value.length>1?(d.openBlock(),d.createElementBlock("div",Ise,[N[24]||(N[24]=d.createElementVNode("span",null,"Primary groups order: ",-1)),d.createVNode(Xb,{data:{type:"data",value:null},onClick:N[0]||(N[0]=z=>{f.value=!0})}),f.value&&H.value?(d.openBlock(),d.createBlock(bw,{key:0,title:"Reorder primary groups","back-title":"Axes Settings","onForm:close":N[3]||(N[3]=z=>f.value=!1)},{default:d.withCtx(()=>{var z;return[d.createVNode(nB,{"column-value-labels":H.value.labels,"data-column-label":((z=H.value.selectedSourceInfo)==null?void 0:z.label)??"","used-aes-in-mapping":x.value[v.value],"allow-reordering":"",modelValue:P.value,"onUpdate:modelValue":[N[1]||(N[1]=j=>P.value=j),N[2]||(N[2]=j=>G(j,v.value))]},null,8,["column-value-labels","data-column-label","used-aes-in-mapping","modelValue"])]}),_:1})):d.createCommentVNode("",!0)])):d.createCommentVNode("",!0),S.value.length>1?(d.openBlock(),d.createElementBlock("div",Rse,[N[25]||(N[25]=d.createElementVNode("span",null,"Secondary groups order: ",-1)),d.createVNode(Xb,{data:{type:"data",value:null},onClick:N[4]||(N[4]=z=>{p.value=!0})}),p.value&&D.value?(d.openBlock(),d.createBlock(bw,{key:0,title:"Reorder secondary groups","back-title":"Axes Settings","onForm:close":N[7]||(N[7]=z=>p.value=!1)},{default:d.withCtx(()=>{var z;return[d.createVNode(nB,{"column-value-labels":D.value.labels,"data-column-label":((z=D.value.selectedSourceInfo)==null?void 0:z.label)??"","used-aes-in-mapping":x.value[y.value],"allow-reordering":"",modelValue:_.value,"onUpdate:modelValue":[N[5]||(N[5]=j=>_.value=j),N[6]||(N[6]=j=>G(j,y.value))]},null,8,["column-value-labels","data-column-label","used-aes-in-mapping","modelValue"])]}),_:1})):d.createCommentVNode("",!0)])):d.createCommentVNode("",!0),d.unref(t).reactive.chartType==="discrete"?(d.openBlock(),d.createElementBlock("div",Lse,[N[26]||(N[26]=d.createElementVNode("span",null,"Labels rotation",-1)),d.createVNode(u3,{options:a,modelValue:d.unref(n).axisX.labelsRotation,"onUpdate:modelValue":N[8]||(N[8]=z=>d.unref(n).axisX.labelsRotation=z)},null,8,["modelValue"])])):d.createCommentVNode("",!0),d.createElementVNode("div",Nse,[d.createVNode(d.unref(tA),{label:"Title",options:o,modelValue:d.unref(n).axisX.titleMode,"onUpdate:modelValue":N[9]||(N[9]=z=>d.unref(n).axisX.titleMode=z)},null,8,["modelValue"])]),d.unref(n).axisX.titleMode==="custom"?(d.openBlock(),d.createElementBlock("div",$se,[d.createVNode(d.unref(t3),{label:"Text",placeholder:"Type",modelValue:d.unref(n).axisX.customTitle,"onUpdate:modelValue":N[10]||(N[10]=z=>d.unref(n).axisX.customTitle=z)},null,8,["modelValue"])])):d.createCommentVNode("",!0),d.createElementVNode("div",Fse,[N[27]||(N[27]=d.createElementVNode("span",null,"Gridlines",-1)),d.createVNode(d.unref(Ed),{modelValue:d.unref(n).axisX.gridlines,"onUpdate:modelValue":N[11]||(N[11]=z=>d.unref(n).axisX.gridlines=z)},null,8,["modelValue"])]),d.createElementVNode("div",Qse,[N[28]||(N[28]=d.createElementVNode("span",null,"Lines between categories",-1)),d.createVNode(d.unref(Ed),{modelValue:d.unref(n).axisX.linesBetweenCategories,"onUpdate:modelValue":N[12]||(N[12]=z=>d.unref(n).axisX.linesBetweenCategories=z)},null,8,["modelValue"])]),d.createElementVNode("div",Vse,[N[29]||(N[29]=d.createElementVNode("span",null,"Ticks",-1)),d.createVNode(d.unref(Ed),{modelValue:d.unref(n).axisX.ticks,"onUpdate:modelValue":N[13]||(N[13]=z=>d.unref(n).axisX.ticks=z)},null,8,["modelValue"])])]),_:1}),d.createVNode(vp,{title:"Y-axis",settings:r,icon:l3,"icon-open":s3},{default:d.withCtx(()=>[d.createElementVNode("div",Ose,[d.createVNode(d.unref(tA),{label:"Title",options:o,modelValue:d.unref(n).axisY.titleMode,"onUpdate:modelValue":N[14]||(N[14]=z=>d.unref(n).axisY.titleMode=z)},null,8,["modelValue"])]),d.unref(n).axisY.titleMode==="custom"?(d.openBlock(),d.createElementBlock("div",Use,[d.createVNode(d.unref(t3),{label:"Text",placeholder:"Type",modelValue:d.unref(n).axisY.customTitle,"onUpdate:modelValue":N[15]||(N[15]=z=>d.unref(n).axisY.customTitle=z)},null,8,["modelValue"])])):d.createCommentVNode("",!0),d.createElementVNode("div",zse,[d.createVNode(d.unref(tA),{label:"Scale",options:l,modelValue:d.unref(n).axisY.scale,"onUpdate:modelValue":N[16]||(N[16]=z=>d.unref(n).axisY.scale=z)},null,8,["modelValue"])]),d.createElementVNode("div",Gse,[N[30]||(N[30]=d.createElementVNode("span",null,"Gridlines",-1)),d.createVNode(d.unref(Ed),{modelValue:d.unref(n).axisY.gridlines,"onUpdate:modelValue":N[17]||(N[17]=z=>d.unref(n).axisY.gridlines=z)},null,8,["modelValue"])]),d.createElementVNode("div",jse,[N[31]||(N[31]=d.createElementVNode("span",null,"Ticks",-1)),d.createVNode(d.unref(Ed),{modelValue:d.unref(n).axisY.ticks,"onUpdate:modelValue":N[18]||(N[18]=z=>d.unref(n).axisY.ticks=z)},null,8,["modelValue"])])]),_:1}),d.createElementVNode("div",Yse,[d.createElementVNode("div",Wse,[N[32]||(N[32]=d.createElementVNode("span",null,"Frame",-1)),d.createVNode(u3,{options:u,modelValue:d.unref(n).other.frame,"onUpdate:modelValue":N[19]||(N[19]=z=>d.unref(n).other.frame=z)},null,8,["modelValue"])]),d.createElementVNode("div",Kse,[N[33]||(N[33]=d.createElementVNode("span",null,"Reverse axes",-1)),d.createVNode(d.unref(Ed),{modelValue:d.unref(n).other.reverse,"onUpdate:modelValue":N[20]||(N[20]=z=>d.unref(n).other.reverse=z)},null,8,["modelValue"])]),d.createElementVNode("div",Xse,[d.createVNode(d.unref(Bd),{label:"Facet column count",min:1,max:6,step:1,breakpoints:!0,mode:"input",modelValue:d.unref(n).other.facetColumns,"onUpdate:modelValue":N[21]||(N[21]=z=>d.unref(n).other.facetColumns=z)},null,8,["modelValue"])]),d.createElementVNode("div",Zse,[d.createVNode(d.unref(tA),{label:"Facet shared by",options:Q,modelValue:d.unref(n).other.facetSharedBy,"onUpdate:modelValue":N[22]||(N[22]=z=>d.unref(n).other.facetSharedBy=z)},null,8,["modelValue"])])])])]))}}),qse={class:"axes-settings-list"},eue={class:"axes-settings-options-row block"},tue={key:0},nue={class:"axes-settings-options-row block"},rue={class:"axes-settings-options-row table"},aue={class:"axes-settings-options-row table"},iue={class:"axes-settings-options-row block"},oue={key:0},lue={class:"axes-settings-options-row block"},sue={class:"axes-settings-options-row table"},uue={class:"axes-settings-options-row table"},cue={class:"other"},fue={class:"axes-settings-options-row"},Aue={class:"axes-settings-options-row"},due={class:"axes-settings-options-row block"},pue=d.defineComponent({__name:"ScatterplotAxesSettingsForm",setup(e){const n=xi().value.reactive.axesSettings,r={height:40,horizontalPadding:12,defaultState:"open"},a=[{value:"auto",text:"Auto"},{value:"custom",text:"Custom"},{value:"hide",text:"Hide"}],o=[{value:"linear",text:"Linear"},{value:"log",text:"Log"}],l=[{value:"empty",icon:Wb},{value:"left",icon:BI},{value:"bottom",icon:SI},{value:"left-bottom",icon:xI},{value:"full",icon:Yb}],u=[{text:"X",value:"x"},{text:"Y",value:"y"},{text:"XY",value:"xy"},{text:"None",value:"none"}];return(c,f)=>(d.openBlock(),d.createElementBlock("div",{class:"axes-form",onClick:f[13]||(f[13]=p=>p.stopPropagation())},[f[19]||(f[19]=d.createElementVNode("h3",{class:"axes-title"}," Axes ",-1)),d.createElementVNode("div",qse,[d.createVNode(vp,{title:"X-axis",settings:r,icon:l3,"icon-open":s3},{default:d.withCtx(()=>[d.createElementVNode("div",eue,[d.createVNode(d.unref(tA),{label:"Title",options:a,modelValue:d.unref(n).axisX.titleMode,"onUpdate:modelValue":f[0]||(f[0]=p=>d.unref(n).axisX.titleMode=p)},null,8,["modelValue"])]),d.unref(n).axisX.titleMode==="custom"?(d.openBlock(),d.createElementBlock("div",tue,[d.createVNode(d.unref(t3),{label:"Text",placeholder:"Type",modelValue:d.unref(n).axisX.customTitle,"onUpdate:modelValue":f[1]||(f[1]=p=>d.unref(n).axisX.customTitle=p)},null,8,["modelValue"])])):d.createCommentVNode("",!0),d.createElementVNode("div",nue,[d.createVNode(d.unref(tA),{label:"Scale",options:o,modelValue:d.unref(n).axisX.scale,"onUpdate:modelValue":f[2]||(f[2]=p=>d.unref(n).axisX.scale=p)},null,8,["modelValue"])]),d.createElementVNode("div",rue,[f[14]||(f[14]=d.createElementVNode("span",null,"Gridlines",-1)),d.createVNode(d.unref(Ed),{modelValue:d.unref(n).axisX.gridlines,"onUpdate:modelValue":f[3]||(f[3]=p=>d.unref(n).axisX.gridlines=p)},null,8,["modelValue"])]),d.createElementVNode("div",aue,[f[15]||(f[15]=d.createElementVNode("span",null,"Ticks",-1)),d.createVNode(d.unref(Ed),{modelValue:d.unref(n).axisX.ticks,"onUpdate:modelValue":f[4]||(f[4]=p=>d.unref(n).axisX.ticks=p)},null,8,["modelValue"])])]),_:1}),d.createVNode(vp,{title:"Y-axis",settings:r,icon:l3,"icon-open":s3},{default:d.withCtx(()=>[d.createElementVNode("div",iue,[d.createVNode(d.unref(tA),{label:"Title",options:a,modelValue:d.unref(n).axisY.titleMode,"onUpdate:modelValue":f[5]||(f[5]=p=>d.unref(n).axisY.titleMode=p)},null,8,["modelValue"])]),d.unref(n).axisY.titleMode==="custom"?(d.openBlock(),d.createElementBlock("div",oue,[d.createVNode(d.unref(t3),{label:"Text",placeholder:"Type",modelValue:d.unref(n).axisY.customTitle,"onUpdate:modelValue":f[6]||(f[6]=p=>d.unref(n).axisY.customTitle=p)},null,8,["modelValue"])])):d.createCommentVNode("",!0),d.createElementVNode("div",lue,[d.createVNode(d.unref(tA),{label:"Scale",options:o,modelValue:d.unref(n).axisY.scale,"onUpdate:modelValue":f[7]||(f[7]=p=>d.unref(n).axisY.scale=p)},null,8,["modelValue"])]),d.createElementVNode("div",sue,[f[16]||(f[16]=d.createElementVNode("span",null,"Gridlines",-1)),d.createVNode(d.unref(Ed),{modelValue:d.unref(n).axisY.gridlines,"onUpdate:modelValue":f[8]||(f[8]=p=>d.unref(n).axisY.gridlines=p)},null,8,["modelValue"])]),d.createElementVNode("div",uue,[f[17]||(f[17]=d.createElementVNode("span",null,"Ticks",-1)),d.createVNode(d.unref(Ed),{modelValue:d.unref(n).axisY.ticks,"onUpdate:modelValue":f[9]||(f[9]=p=>d.unref(n).axisY.ticks=p)},null,8,["modelValue"])])]),_:1}),d.createElementVNode("div",cue,[d.createElementVNode("div",fue,[f[18]||(f[18]=d.createElementVNode("span",null,"Frame",-1)),d.createVNode(u3,{options:l,modelValue:d.unref(n).other.frame,"onUpdate:modelValue":f[10]||(f[10]=p=>d.unref(n).other.frame=p)},null,8,["modelValue"])]),d.createElementVNode("div",Aue,[d.createVNode(d.unref(Bd),{label:"Facet column count",min:1,max:6,step:1,breakpoints:!0,mode:"input",modelValue:d.unref(n).other.facetColumns,"onUpdate:modelValue":f[11]||(f[11]=p=>d.unref(n).other.facetColumns=p)},null,8,["modelValue"])]),d.createElementVNode("div",due,[d.createVNode(d.unref(tA),{label:"Facet shared by",options:u,modelValue:d.unref(n).other.facetSharedBy,"onUpdate:modelValue":f[12]||(f[12]=p=>d.unref(n).other.facetSharedBy=p)},null,8,["modelValue"])])])])]))}}),hue={class:"axes-settings-list"},vue={class:"axes-settings-options-row"},mue={class:"axes-settings-options-row block"},gue={key:0},yue={key:1,class:"axes-settings-options-row table"},wue={class:"axes-settings-options-row"},Cue={class:"axes-settings-options-row block"},Eue={key:0},bue={class:"other"},Bue={class:"axes-settings-options-row"},Sue={class:"axes-settings-options-row"},xue={class:"axes-settings-options-row block"},kue=d.defineComponent({__name:"HeatmapAxesSettingsForm",setup(e){const t=xi(),n=t.value.reactive.axesSettings,r={height:40,horizontalPadding:12,defaultState:"open"},a=d.computed(()=>t.value.reactive.layersSettings.heatmap),o=[{value:0,icon:CI},{value:45,icon:EI},{value:90,icon:bI}],l=[{value:"auto",text:"Auto"},{value:"custom",text:"Custom"},{value:"hide",text:"Hide"}],u=[{value:"none",icon:Wb},{value:"full",icon:Yb}],c=[{text:"X",value:"x"},{text:"Y",value:"y"},{text:"XY",value:"xy"},{text:"None",value:"none"}],f=d.computed(()=>c.filter(p=>a.value.dendrogramX&&a.value.dendrogramY?p.value!=="x"&&p.value!=="xy"&&p.value!=="y":a.value.dendrogramX?p.value!=="x"&&p.value!=="xy":a.value.dendrogramY?p.value!=="y"&&p.value!=="xy":!0));return(p,v)=>(d.openBlock(),d.createElementBlock("div",{class:"axes-form",onClick:v[10]||(v[10]=y=>y.stopPropagation())},[v[15]||(v[15]=d.createElementVNode("h3",{class:"axes-title"}," Axes ",-1)),d.createElementVNode("div",hue,[d.createVNode(vp,{title:"X-axis",settings:r,icon:l3,"icon-open":s3},{default:d.withCtx(()=>[d.createElementVNode("div",vue,[v[11]||(v[11]=d.createElementVNode("span",null,"Labels rotation",-1)),d.createVNode(u3,{options:o,modelValue:d.unref(n).axisX.axisLabelsAngle,"onUpdate:modelValue":v[0]||(v[0]=y=>d.unref(n).axisX.axisLabelsAngle=y)},null,8,["modelValue"])]),d.createElementVNode("div",mue,[d.createVNode(d.unref(tA),{label:"Title",options:l,modelValue:d.unref(n).axisX.titleMode,"onUpdate:modelValue":v[1]||(v[1]=y=>d.unref(n).axisX.titleMode=y)},null,8,["modelValue"])]),d.unref(n).axisX.titleMode==="custom"?(d.openBlock(),d.createElementBlock("div",gue,[d.createVNode(d.unref(t3),{label:"Text",placeholder:"Type",modelValue:d.unref(n).axisX.customTitle,"onUpdate:modelValue":v[2]||(v[2]=y=>d.unref(n).axisX.customTitle=y)},null,8,["modelValue"])])):d.createCommentVNode("",!0),d.unref(t).reactive.chartType==="discrete"?(d.openBlock(),d.createElementBlock("div",yue,[v[12]||(v[12]=d.createElementVNode("span",null,"Lines between categories",-1)),d.createVNode(d.unref(Ed),{modelValue:d.unref(n).axisX.linesBetweenCategories,"onUpdate:modelValue":v[3]||(v[3]=y=>d.unref(n).axisX.linesBetweenCategories=y)},null,8,["modelValue"])])):d.createCommentVNode("",!0)]),_:1}),d.createVNode(vp,{title:"Y-axis",settings:r,icon:l3,"icon-open":s3},{default:d.withCtx(()=>[d.createElementVNode("div",wue,[v[13]||(v[13]=d.createElementVNode("span",null,"Labels rotation",-1)),d.createVNode(u3,{options:o,modelValue:d.unref(n).axisY.axisLabelsAngle,"onUpdate:modelValue":v[4]||(v[4]=y=>d.unref(n).axisY.axisLabelsAngle=y)},null,8,["modelValue"])]),d.createElementVNode("div",Cue,[d.createVNode(d.unref(tA),{label:"Title",options:l,modelValue:d.unref(n).axisY.titleMode,"onUpdate:modelValue":v[5]||(v[5]=y=>d.unref(n).axisY.titleMode=y)},null,8,["modelValue"])]),d.unref(n).axisY.titleMode==="custom"?(d.openBlock(),d.createElementBlock("div",Eue,[d.createVNode(d.unref(t3),{label:"Text",placeholder:"Type",modelValue:d.unref(n).axisY.customTitle,"onUpdate:modelValue":v[6]||(v[6]=y=>d.unref(n).axisY.customTitle=y)},null,8,["modelValue"])])):d.createCommentVNode("",!0)]),_:1}),d.createElementVNode("div",bue,[d.createElementVNode("div",Bue,[v[14]||(v[14]=d.createElementVNode("span",null,"Frame",-1)),d.createVNode(u3,{options:u,modelValue:d.unref(n).other.frame,"onUpdate:modelValue":v[7]||(v[7]=y=>d.unref(n).other.frame=y)},null,8,["modelValue"])]),d.createElementVNode("div",Sue,[d.createVNode(d.unref(Bd),{label:"Facet column count",min:1,max:6,step:1,breakpoints:!0,mode:"input",modelValue:d.unref(n).other.facetColumns,"onUpdate:modelValue":v[8]||(v[8]=y=>d.unref(n).other.facetColumns=y)},null,8,["modelValue"])]),d.createElementVNode("div",xue,[d.createVNode(d.unref(tA),{label:"Facet shared by",options:f.value,modelValue:d.unref(n).other.facetSharedBy,"onUpdate:modelValue":v[9]||(v[9]=y=>d.unref(n).other.facetSharedBy=y)},null,8,["options","modelValue"])])])])]))}}),Tue={class:"data-form"},_ue=d.defineComponent({__name:"index",setup(e){const t=xi();return(n,r)=>(d.openBlock(),d.createElementBlock("div",Tue,[d.unref(t).reactive.chartType==="discrete"?(d.openBlock(),d.createBlock(Jse,{key:0})):d.createCommentVNode("",!0),d.unref(t).reactive.chartType==="scatterplot"?(d.openBlock(),d.createBlock(pue,{key:1})):d.createCommentVNode("",!0),d.unref(t).reactive.chartType==="heatmap"?(d.openBlock(),d.createBlock(kue,{key:2})):d.createCommentVNode("",!0)]))}});function nA(e,t,n,r=!1){const a=t.components.primaryGrouping.selectorStates.length>0,o=t.components.secondaryGrouping.selectorStates.length>0;return e===null?o?{type:"secondaryGrouping"}:a&&!r?{type:"primaryGrouping"}:n:e}const Pue={class:"aes-input-row"},ki=d.defineComponent({__name:"AesSelector",props:{label:{},type:{},selected:{},formTitle:{},formBackTitle:{},possibleAesSourceInputs:{},withoutFixed:{type:Boolean}},emits:["aes-update","aes-selector-close"],setup(e,{emit:t}){var F;const n=e,r=xi(),a=d.computed(()=>r.value.reactive.chartType),o=t,l={discrete:["primaryGrouping","secondaryGrouping"],scatterplot:["grouping"],"scatterplot-umap":["grouping"],dendro:[],heatmap:[]},u=n.possibleAesSourceInputs??l[a.value],c=d.computed(()=>r.value.commonHelpersData.usedAesInMapping.value);function f(N){return typeof N=="string"?N:a.value==="scatterplot"||a.value==="dendro"?`${N.type}_${N.value}`:N.type}const p=d.ref(hm(n.selected)?f(n.selected):"fix"),v={fill:Ug[0].color,stroke:Ug[0].color,dotShape:hh,lineType:R4,size:""},y=d.computed(()=>r.value.inputGuide.value),C=d.computed(()=>{const N={},z=r.value.reactive.optionsState.components;function j(X,re){const Z=y.value.getSourceInfo(re),ne=r.value.reactive.dataBindAes[re]??qg(Z.uniqueValues),ee=f({type:X,value:re});N[ee]={type:"data",value:ee,initialData:ne,inputName:X,selectedSource:re,selectedSourceInfo:Z,selectedSourceValues:Z.uniqueValues,labels:ne.order.reduce((ie,oe)=>(ie[oe]=Z.valueLabels[oe],ie),{})}}return u.forEach(X=>{var re;(re=z==null?void 0:z[X])!=null&&re.selectorStates.length&&z[X].selectorStates.forEach(({selectedSource:Z})=>{j(X,Z)})}),n.withoutFixed||(N.fix={type:"fix",value:"fix",initialData:hm(n.selected)?v[n.type]:n.selected}),N}),S=d.computed(()=>C.value[p.value]??null);function x(N,z){var j,X,re,Z;return N.type==="fix"?"Fixed":z===N.value?`${(j=N.selectedSourceInfo)==null?void 0:j.label}`:a.value==="discrete"?`${N.value==="primaryGrouping"?"Primary":"Secondary"} grouping: ${(X=N.selectedSourceInfo)==null?void 0:X.label}`:a.value==="scatterplot"||a.value==="dendro"?`Grouping: ${(re=N.selectedSourceInfo)==null?void 0:re.label}`:((Z=N.selectedSourceInfo)==null?void 0:Z.label)??""}const P=d.computed(()=>{const N=[],z=r.value.reactive.optionsState.components;function j(X,re){const Z=f({type:X,value:re});C.value[Z]&&N.push({text:x(C.value[Z],p.value),value:Z})}if(u.forEach(X=>{var re;(re=z==null?void 0:z[X])!=null&&re.selectorStates.length&&z[X].selectorStates.forEach(({selectedSource:Z})=>{j(X,Z)})}),!C.value[p.value]){let X="Not consistent (grouping)";a.value==="discrete"&&(X=`${p.value==="primaryGrouping"?"Primary":"Secondary"} grouping (not selected)`),N.push({text:X,value:p.value})}return n.withoutFixed||N.push({text:"Fixed",value:"fix"}),N}),_=d.ref(!1),H=d.ref(C.value.fix?C.value.fix.initialData:null),D=d.ref(((F=S.value)==null?void 0:F.type)==="data"?S.value.initialData:null);d.watch(()=>p.value,N=>{const z=C.value[N];z.type==="fix"?o("aes-update",H.value,z):(D.value=z.initialData,o("aes-update",z.initialData,z))});const G=d.ref(),Q=d.computed(()=>{if(n.type==="lineType")return gy.length*32+16*2;if(n.type==="dotShape")return Math.ceil(my.length/6)*36+20*2;if(n.type==="fill"||n.type==="stroke")return Math.ceil(Ug.length/6)*36+20*2});return d.computed(()=>p.value==="fix"?{type:"data",value:null}:{type:p.value,value:n.selected}),(N,z)=>{var j;return d.openBlock(),d.createElementBlock(d.Fragment,null,[d.createElementVNode("div",Pue,[d.createElementVNode("div",{class:"aes-input-select",onClick:z[1]||(z[1]=d.withModifiers(()=>{},["stop"]))},[d.createVNode(d.unref(Du),{disabled:P.value.length<2,label:N.label,options:P.value,modelValue:p.value,"onUpdate:modelValue":z[0]||(z[0]=X=>p.value=X)},null,8,["disabled","label","options","modelValue"])]),d.createVNode(Xb,{data:{type:p.value==="fix"?N.type:"data",value:p.value==="fix"?N.type==="size"?Number(N.selected):N.selected:null},onClick:z[2]||(z[2]=X=>_.value=!_.value),onRef:z[3]||(z[3]=X=>G.value=X)},null,8,["data"]),p.value==="fix"&&_.value&&H.value?(d.openBlock(),d.createBlock(PI,{key:0,height:Q.value,targetRef:G.value,"onPopup:close":z[10]||(z[10]=X=>_.value=!1)},{default:d.withCtx(()=>[d.createElementVNode("div",{class:d.normalizeClass(["fixed-aes-list",{"fixed-aes-list__rows":N.type==="lineType"}])},[N.type==="fill"||N.type==="stroke"?(d.openBlock(),d.createBlock(kI,{key:0,"color-using":N.type,modelValue:H.value,"onUpdate:modelValue":[z[4]||(z[4]=X=>H.value=X),z[5]||(z[5]=X=>N.$emit("aes-update",X,C.value.fix))]},null,8,["color-using","modelValue"])):d.createCommentVNode("",!0),N.type==="dotShape"?(d.openBlock(),d.createBlock(_I,{key:1,modelValue:H.value,"onUpdate:modelValue":[z[6]||(z[6]=X=>H.value=X),z[7]||(z[7]=X=>N.$emit("aes-update",X,C.value.fix))]},null,8,["modelValue"])):d.createCommentVNode("",!0),N.type==="lineType"?(d.openBlock(),d.createBlock(TI,{key:2,modelValue:H.value,"onUpdate:modelValue":[z[8]||(z[8]=X=>H.value=X),z[9]||(z[9]=X=>N.$emit("aes-update",X,C.value.fix))]},null,8,["modelValue"])):d.createCommentVNode("",!0)],2)]),_:1},8,["height","targetRef"])):d.createCommentVNode("",!0)]),((j=S.value)==null?void 0:j.type)==="data"&&D.value&&_.value?(d.openBlock(),d.createBlock(bw,{key:0,title:N.formTitle,"back-title":N.formBackTitle,"onForm:close":z[13]||(z[13]=X=>_.value=!1)},{default:d.withCtx(()=>{var X;return[d.createVNode(nB,{"column-value-labels":S.value.labels,"data-column-label":((X=S.value.selectedSourceInfo)==null?void 0:X.label)??"","used-aes-in-mapping":c.value[S.value.selectedSource],modelValue:D.value,"onUpdate:modelValue":[z[11]||(z[11]=re=>D.value=re),z[12]||(z[12]=re=>N.$emit("aes-update",re,S.value))]},null,8,["column-value-labels","data-column-label","used-aes-in-mapping","modelValue"])]}),_:1},8,["title","back-title"])):d.createCommentVNode("",!0)],64)}}}),Hue={class:"checkbox-item"},ym="box",Due=d.defineComponent({__name:"Boxplot",setup(e){const t=xi(),n=d.computed(()=>t.value.reactive.layersSettings[ym]),r=d.computed(()=>t.value.reactive.optionsState),a=d.computed(()=>nA(n.value.fillColor,r.value,hy)),o=d.computed(()=>nA(n.value.lineColor,r.value,As)),l=d.computed(()=>n.value.dotShape),u=d.computed(()=>n.value.lineType);function c(y,C,S){C.type==="data"?t.value.reactive.layersSettings[ym][S]={type:C.inputName}:t.value.reactive.layersSettings[ym][S]=y,C.type==="data"&&typeof y!="string"&&(t.value.reactive.dataBindAes[C.selectedSource]=y)}function f(y,C,S){C.type==="data"?t.value.reactive.layersSettings[ym][S]={type:C.inputName}:t.value.reactive.layersSettings[ym][S]=y,C.type==="data"&&typeof y=="object"&&(t.value.reactive.dataBindAes[C.selectedSource]=y)}function p(y,C,S){C.type==="data"?t.value.reactive.layersSettings[ym][S]={type:C.inputName}:t.value.reactive.layersSettings[ym][S]=y,C.type==="data"&&typeof y=="object"&&(t.value.reactive.dataBindAes[C.selectedSource]=y)}const v=d.computed({get:()=>n.value.opacity*100,set:y=>{n.value.opacity=y/100}});return(y,C)=>(d.openBlock(),d.createElementBlock(d.Fragment,null,[d.createVNode(ki,{label:"Fill color","form-title":"Fill Color Settings","form-back-title":"Layers",type:"fill",selected:a.value,onAesUpdate:C[0]||(C[0]=(S,x)=>c(S,x,"fillColor"))},null,8,["selected"]),d.createVNode(ki,{label:"Stroke color","form-title":"Stroke Color Settings","form-back-title":"Layers",type:"stroke",selected:o.value,onAesUpdate:C[1]||(C[1]=(S,x)=>c(S,x,"lineColor"))},null,8,["selected"]),d.createVNode(ki,{label:"Line Type","form-title":"Line Type Settings","form-back-title":"Layers",type:"lineType","possible-aes-source-inputs":[],selected:u.value,onAesUpdate:C[2]||(C[2]=(S,x)=>p(S,x,"lineType"))},null,8,["selected"]),d.createVNode(d.unref(Bd),{label:"Opacity",min:0,max:100,step:1,breakpoints:!1,measure:"%",modelValue:v.value,"onUpdate:modelValue":C[3]||(C[3]=S=>v.value=S)},null,8,["modelValue"]),d.createElementVNode("div",Hue,[d.createVNode(d.unref(Eh),{modelValue:n.value.showOutliers,"onUpdate:modelValue":C[4]||(C[4]=S=>n.value.showOutliers=S)},null,8,["modelValue"]),C[6]||(C[6]=d.createElementVNode("span",null,"Show outliers",-1))]),n.value.showOutliers?(d.openBlock(),d.createBlock(ki,{key:0,label:"Outlier shape","form-title":"Outlier Shape Settings","form-back-title":"Layers",type:"dotShape","possible-aes-source-inputs":[],selected:l.value,onAesUpdate:C[5]||(C[5]=(S,x)=>f(S,x,"dotShape"))},null,8,["selected"])):d.createCommentVNode("",!0)],64))}}),Mue={class:"checkbox-item"},rB="binnedDots",Iue=d.defineComponent({__name:"BinnedDots",setup(e){const t=xi(),n=d.computed(()=>t.value.reactive.layersSettings[rB]),r=d.computed(()=>t.value.reactive.optionsState),a=d.computed(()=>nA(n.value.fillColor,r.value,hy)),o=d.computed(()=>nA(n.value.lineColor,r.value,As));function l(c,f,p){f.type==="data"?t.value.reactive.layersSettings[rB][p]={type:f.inputName}:t.value.reactive.layersSettings[rB][p]=c,f.type==="data"&&typeof c!="string"&&(t.value.reactive.dataBindAes[f.selectedSource]=c)}const u=d.computed({get:()=>n.value.opacity*100,set:c=>{n.value.opacity=c/100}});return(c,f)=>(d.openBlock(),d.createElementBlock(d.Fragment,null,[d.createVNode(ki,{label:"Fill color","form-title":"Fill Color Settings","form-back-title":"Layers",type:"fill",selected:a.value,onAesUpdate:f[0]||(f[0]=(p,v)=>l(p,v,"fillColor"))},null,8,["selected"]),d.createVNode(ki,{label:"Stroke color","form-title":"Stroke Color Settings","form-back-title":"Layers",type:"stroke",selected:o.value,onAesUpdate:f[1]||(f[1]=(p,v)=>l(p,v,"lineColor"))},null,8,["selected"]),d.createVNode(d.unref(Bd),{label:"Opacity",min:0,max:100,step:1,breakpoints:!1,measure:"%",modelValue:u.value,"onUpdate:modelValue":f[2]||(f[2]=p=>u.value=p)},null,8,["modelValue"]),d.createElementVNode("div",Mue,[d.createVNode(d.unref(Eh),{modelValue:n.value.showOutliers,"onUpdate:modelValue":f[3]||(f[3]=p=>n.value.showOutliers=p)},null,8,["modelValue"]),f[4]||(f[4]=d.createElementVNode("span",null,"Show outliers",-1))])],64))}}),Rue={class:"checkbox-item"},n7="jitteredDots",Lue=d.defineComponent({__name:"JitteredDots",setup(e){const t=xi(),n=d.computed(()=>t.value.reactive.layersSettings[n7]),r=d.computed(()=>t.value.reactive.optionsState),a=d.computed(()=>nA(n.value.dotFill,r.value,As));function o(c,f,p){f.type==="data"?t.value.reactive.layersSettings[n7][p]={type:f.inputName}:t.value.reactive.layersSettings[n7][p]=c,f.type==="data"&&typeof c!="string"&&(t.value.reactive.dataBindAes[f.selectedSource]=c)}function l(c,f,p){f.type==="data"?t.value.reactive.layersSettings[n7][p]={type:f.inputName}:t.value.reactive.layersSettings[n7][p]=c,f.type==="data"&&typeof c=="object"&&(t.value.reactive.dataBindAes[f.selectedSource]=c)}const u=d.computed({get:()=>n.value.opacity*100,set:c=>{n.value.opacity=c/100}});return(c,f)=>(d.openBlock(),d.createElementBlock(d.Fragment,null,[d.createVNode(ki,{label:"Fill color","form-title":"Fill Color Settings","form-back-title":"Layers",type:"fill",selected:a.value,onAesUpdate:f[0]||(f[0]=(p,v)=>o(p,v,"dotFill"))},null,8,["selected"]),d.createVNode(ki,{label:"Dot shape","form-title":"Dot Shape Settings","form-back-title":"Layers",type:"dotShape",selected:n.value.dotShape,onAesUpdate:f[1]||(f[1]=(p,v)=>l(p,v,"dotShape"))},null,8,["selected"]),d.createVNode(d.unref(Bd),{label:"Opacity",min:0,max:100,step:1,breakpoints:!1,measure:"%",modelValue:u.value,"onUpdate:modelValue":f[2]||(f[2]=p=>u.value=p)},null,8,["modelValue"]),d.createElementVNode("div",Rue,[d.createVNode(d.unref(Eh),{modelValue:n.value.showOutliers,"onUpdate:modelValue":f[3]||(f[3]=p=>n.value.showOutliers=p)},null,8,["modelValue"]),f[4]||(f[4]=d.createElementVNode("span",null,"Show outliers",-1))])],64))}}),Nue={class:"checkbox-item"},Sw="violin",$ue=d.defineComponent({__name:"Violin",setup(e){const t=xi(),n=d.computed(()=>t.value.reactive.layersSettings[Sw]),r=d.computed(()=>t.value.reactive.optionsState),a=d.computed(()=>nA(n.value.fillColor,r.value,hy)),o=d.computed(()=>nA(n.value.lineColor,r.value,As)),l=d.computed(()=>n.value.lineType);function u(p,v,y){v.type==="data"?t.value.reactive.layersSettings[Sw][y]={type:v.inputName}:t.value.reactive.layersSettings[Sw][y]=p,v.type==="data"&&typeof p!="string"&&(t.value.reactive.dataBindAes[v.selectedSource]=p)}function c(p,v,y){t.value.reactive.layersSettings[Sw][y]=typeof p=="object"?{type:v.value}:p,v.type==="data"&&typeof p=="object"&&(t.value.reactive.dataBindAes[v.selectedSource]=p)}const f=d.computed({get:()=>n.value.opacity*100,set:p=>{n.value.opacity=p/100}});return(p,v)=>(d.openBlock(),d.createElementBlock(d.Fragment,null,[d.createVNode(ki,{label:"Fill color","form-title":"Fill Color Settings","form-back-title":"Layers",type:"fill",selected:a.value,onAesUpdate:v[0]||(v[0]=(y,C)=>u(y,C,"fillColor"))},null,8,["selected"]),d.createVNode(ki,{label:"Stroke color","form-title":"Stroke Color Settings","form-back-title":"Layers",type:"stroke",selected:o.value,onAesUpdate:v[1]||(v[1]=(y,C)=>u(y,C,"lineColor"))},null,8,["selected"]),d.createVNode(ki,{label:"Line Type","form-title":"Line Type Settings","form-back-title":"Layers",type:"lineType","possible-aes-source-inputs":[],selected:l.value,onAesUpdate:v[2]||(v[2]=(y,C)=>c(y,C,"lineType"))},null,8,["selected"]),d.createElementVNode("div",Nue,[d.createVNode(d.unref(Eh),{modelValue:n.value.trim,"onUpdate:modelValue":v[3]||(v[3]=y=>n.value.trim=y)},null,8,["modelValue"]),v[5]||(v[5]=d.createElementVNode("span",null,"Trim",-1))]),d.createVNode(d.unref(Bd),{label:"Opacity",min:0,max:100,step:1,breakpoints:!1,measure:"%",modelValue:f.value,"onUpdate:modelValue":v[4]||(v[4]=y=>f.value=y)},null,8,["modelValue"])],64))}}),aB="bar",Fue=d.defineComponent({__name:"Bar",setup(e){const t=xi(),n=d.computed(()=>t.value.reactive.layersSettings[aB]),r=d.computed(()=>t.value.reactive.optionsState),a=d.computed(()=>nA(n.value.fillColor,r.value,hy)),o=d.computed(()=>nA(n.value.lineColor,r.value,As));function l(f,p,v){p.type==="data"?t.value.reactive.layersSettings[aB][v]={type:p.inputName}:t.value.reactive.layersSettings[aB][v]=f,p.type==="data"&&typeof f!="string"&&(t.value.reactive.dataBindAes[p.selectedSource]=f)}const u=[{text:"Min",value:"min"},{text:"Max",value:"max"},{text:"Mean",value:"mean"},{text:"Median",value:"median"}],c=d.computed({get:()=>n.value.opacity*100,set:f=>{n.value.opacity=f/100}});return(f,p)=>(d.openBlock(),d.createElementBlock(d.Fragment,null,[d.createVNode(ki,{label:"Fill color","form-title":"Fill Color Settings","form-back-title":"Layers",type:"fill",selected:a.value,onAesUpdate:p[0]||(p[0]=(v,y)=>l(v,y,"fillColor"))},null,8,["selected"]),d.createVNode(ki,{label:"Stroke color","form-title":"Stroke Color Settings","form-back-title":"Layers",type:"stroke",selected:o.value,onAesUpdate:p[1]||(p[1]=(v,y)=>l(v,y,"lineColor"))},null,8,["selected"]),d.createElementVNode("div",{class:"input-item",onClick:p[3]||(p[3]=d.withModifiers(()=>{},["stop"]))},[d.createVNode(d.unref(Du),{label:"Height",options:u,modelValue:n.value.height,"onUpdate:modelValue":p[2]||(p[2]=v=>n.value.height=v)},null,8,["modelValue"])]),d.createVNode(d.unref(Bd),{label:"Opacity",min:0,max:100,step:1,breakpoints:!1,measure:"%",modelValue:c.value,"onUpdate:modelValue":p[4]||(p[4]=v=>c.value=v)},null,8,["modelValue"])],64))}}),iB="stackedBar",Que=d.defineComponent({__name:"StackedBar",setup(e){const t=xi(),n=d.computed(()=>t.value.reactive.layersSettings[iB]),r=d.computed(()=>t.value.reactive.optionsState),a=d.computed(()=>nA(n.value.fillColor,r.value,hy)),o=d.computed(()=>nA(n.value.lineColor,r.value,As));function l(c,f,p){f.type==="data"?t.value.reactive.layersSettings[iB][p]={type:f.inputName}:t.value.reactive.layersSettings[iB][p]=c,f.type==="data"&&typeof c!="string"&&(t.value.reactive.dataBindAes[f.selectedSource]=c)}const u=d.computed({get:()=>n.value.opacity*100,set:c=>{n.value.opacity=c/100}});return(c,f)=>(d.openBlock(),d.createElementBlock(d.Fragment,null,[d.createVNode(ki,{label:"Fill color","form-title":"Fill Color Settings","form-back-title":"Layers",type:"fill",selected:a.value,onAesUpdate:f[0]||(f[0]=(p,v)=>l(p,v,"fillColor"))},null,8,["selected"]),d.createVNode(ki,{label:"Stroke color","form-title":"Stroke Color Settings","form-back-title":"Layers",type:"stroke",selected:o.value,onAesUpdate:f[1]||(f[1]=(p,v)=>l(p,v,"lineColor"))},null,8,["selected"]),d.createVNode(d.unref(Bd),{label:"Opacity",min:0,max:100,step:1,breakpoints:!1,measure:"%",modelValue:u.value,"onUpdate:modelValue":f[2]||(f[2]=p=>u.value=p)},null,8,["modelValue"])],64))}}),wm="line",Vue=d.defineComponent({__name:"Line",setup(e){const t=xi(),n=d.computed(()=>t.value.reactive.layersSettings[wm]),r=d.computed(()=>t.value.reactive.optionsState),a=d.computed(()=>nA(n.value.lineColor,r.value,As,!0)),o=d.computed(()=>n.value.lineType);function l(v,y,C){y.type==="data"?t.value.reactive.layersSettings[wm][C]={type:y.inputName}:t.value.reactive.layersSettings[wm][C]=v,y.type==="data"&&typeof v!="string"&&(t.value.reactive.dataBindAes[y.selectedSource]=v)}function u(v,y,C){y.type==="data"?t.value.reactive.layersSettings[wm][C]={type:y.inputName}:t.value.reactive.layersSettings[wm][C]=v,y.type==="data"&&typeof v=="object"&&(t.value.reactive.dataBindAes[y.selectedSource]=v)}function c(v,y,C){y.type==="data"?t.value.reactive.layersSettings[wm][C]={type:y.inputName}:t.value.reactive.layersSettings[wm][C]=v,y.type==="data"&&typeof v=="object"&&(t.value.reactive.dataBindAes[y.selectedSource]=v)}const f=[{text:"Mean",value:"mean"},{text:"Median",value:"median"}],p=d.computed({get:()=>n.value.opacity*100,set:v=>{n.value.opacity=v/100}});return(v,y)=>(d.openBlock(),d.createElementBlock(d.Fragment,null,[d.createVNode(ki,{label:"Stroke color","form-title":"Stroke Color Settings","form-back-title":"Layers",type:"stroke",selected:a.value,"possible-aes-source-inputs":["secondaryGrouping"],onAesUpdate:y[0]||(y[0]=(C,S)=>l(C,S,"lineColor"))},null,8,["selected"]),d.createVNode(ki,{label:"Line Type","form-title":"Line Type Settings","form-back-title":"Layers",type:"lineType","possible-aes-source-inputs":["secondaryGrouping"],selected:o.value,onAesUpdate:y[1]||(y[1]=(C,S)=>c(C,S,"lineType"))},null,8,["selected"]),d.createVNode(ki,{label:"Dot fill","form-title":"Dot Fill Settings","form-back-title":"Layers",type:"fill",selected:n.value.dotFill,"possible-aes-source-inputs":[],onAesUpdate:y[2]||(y[2]=(C,S)=>l(C,S,"dotFill"))},null,8,["selected"]),d.createVNode(ki,{label:"Dot shape","form-title":"Dot Shape Settings","form-back-title":"Layers",type:"dotShape",selected:n.value.dotShape,"possible-aes-source-inputs":["secondaryGrouping"],onAesUpdate:y[3]||(y[3]=(C,S)=>u(C,S,"dotShape"))},null,8,["selected"]),d.createElementVNode("div",{class:"input-item",onClick:y[5]||(y[5]=d.withModifiers(()=>{},["stop"]))},[d.createVNode(d.unref(Du),{label:"Point value",options:f,modelValue:n.value.pointsValues,"onUpdate:modelValue":y[4]||(y[4]=C=>n.value.pointsValues=C)},null,8,["modelValue"])]),d.createVNode(d.unref(Bd),{label:"Opacity",min:0,max:100,step:1,breakpoints:!1,measure:"%",modelValue:p.value,"onUpdate:modelValue":y[6]||(y[6]=C=>p.value=C)},null,8,["modelValue"])],64))}}),r7="errorbar",Oue=d.defineComponent({__name:"Errorbar",setup(e){const t=xi(),n=d.computed(()=>t.value.reactive.layersSettings[r7]),r=d.computed(()=>t.value.reactive.optionsState),a=d.computed(()=>nA(n.value.lineColor,r.value,As,!0));function o(p,v,y){v.type==="data"?t.value.reactive.layersSettings[r7][y]={type:v.inputName}:t.value.reactive.layersSettings[r7][y]=p,v.type==="data"&&typeof p!="string"&&(t.value.reactive.dataBindAes[v.selectedSource]=p)}function l(p,v,y){v.type==="data"?t.value.reactive.layersSettings[r7][y]={type:v.inputName}:t.value.reactive.layersSettings[r7][y]=p,v.type==="data"&&typeof p=="object"&&(t.value.reactive.dataBindAes[v.selectedSource]=p)}const u=[{text:"Standard deviation",value:"sd"},{text:"Standard error",value:"se"},{text:"Confident interval",value:"ci"}],c=[{text:"Mean",value:"mean"},{text:"Median",value:"median"}],f=d.computed({get:()=>n.value.opacity*100,set:p=>{n.value.opacity=p/100}});return(p,v)=>(d.openBlock(),d.createElementBlock(d.Fragment,null,[d.createVNode(ki,{label:"Stroke color","form-title":"Stroke Color Settings","form-back-title":"Layers",type:"stroke",selected:a.value,"possible-aes-source-inputs":["secondaryGrouping"],onAesUpdate:v[0]||(v[0]=(y,C)=>o(y,C,"lineColor"))},null,8,["selected"]),d.createVNode(ki,{label:"Dot fill","form-title":"Dot Fill Settings","form-back-title":"Layers",type:"fill",selected:n.value.dotFill,"possible-aes-source-inputs":[],onAesUpdate:v[1]||(v[1]=(y,C)=>o(y,C,"dotFill"))},null,8,["selected"]),d.createVNode(ki,{label:"Dot shape","form-title":"Dot Shape Settings","form-back-title":"Layers",type:"dotShape",selected:n.value.dotShape,"possible-aes-source-inputs":["secondaryGrouping"],onAesUpdate:v[2]||(v[2]=(y,C)=>l(y,C,"dotShape"))},null,8,["selected"]),d.createElementVNode("div",{class:"input-item",onClick:v[4]||(v[4]=d.withModifiers(()=>{},["stop"]))},[d.createVNode(d.unref(Du),{label:"Point value",options:c,modelValue:n.value.pointsValues,"onUpdate:modelValue":v[3]||(v[3]=y=>n.value.pointsValues=y)},null,8,["modelValue"])]),d.createElementVNode("div",{class:"input-item",onClick:v[6]||(v[6]=d.withModifiers(()=>{},["stop"]))},[d.createVNode(d.unref(Du),{label:"Interval",options:u,modelValue:n.value.interval,"onUpdate:modelValue":v[5]||(v[5]=y=>n.value.interval=y)},null,8,["modelValue"])]),d.createVNode(d.unref(Bd),{label:"Opacity",min:0,max:100,step:1,breakpoints:!1,measure:"%",modelValue:f.value,"onUpdate:modelValue":v[7]||(v[7]=y=>f.value=y)},null,8,["modelValue"])],64))}}),a7="sina",Uue=d.defineComponent({__name:"Sina",setup(e){const t=xi(),n=d.computed(()=>t.value.reactive.layersSettings[a7]),r=d.computed(()=>t.value.reactive.optionsState),a=d.computed(()=>nA(n.value.dotFill,r.value,As));function o(c,f,p){f.type==="data"?t.value.reactive.layersSettings[a7][p]={type:f.inputName}:t.value.reactive.layersSettings[a7][p]=c,f.type==="data"&&typeof c!="string"&&(t.value.reactive.dataBindAes[f.selectedSource]=c)}function l(c,f,p){f.type==="data"?t.value.reactive.layersSettings[a7][p]={type:f.inputName}:t.value.reactive.layersSettings[a7][p]=c,f.type==="data"&&typeof c=="object"&&(t.value.reactive.dataBindAes[f.selectedSource]=c)}const u=d.computed({get:()=>n.value.opacity*100,set:c=>{n.value.opacity=c/100}});return(c,f)=>(d.openBlock(),d.createElementBlock(d.Fragment,null,[d.createVNode(ki,{label:"Fill color","form-title":"Fill Color Settings","form-back-title":"Layers",type:"fill",selected:a.value,onAesUpdate:f[0]||(f[0]=(p,v)=>o(p,v,"dotFill"))},null,8,["selected"]),d.createVNode(ki,{label:"Dot shape","form-title":"Dot Shape Settings","form-back-title":"Layers",type:"dotShape",selected:n.value.dotShape,onAesUpdate:f[1]||(f[1]=(p,v)=>l(p,v,"dotShape"))},null,8,["selected"]),d.createVNode(d.unref(Bd),{label:"Opacity",min:0,max:100,step:1,breakpoints:!1,measure:"%",modelValue:u.value,"onUpdate:modelValue":f[2]||(f[2]=p=>u.value=p)},null,8,["modelValue"])],64))}}),zue={class:"checkbox-item"},Gue={class:"checkbox-item"},jue=d.defineComponent({__name:"Heatmap",setup(e){const t=xi(),n=d.computed(()=>t.value.reactive.layersSettings.heatmap);function r(o){o&&t.value.reactive.axesSettings.other.facetSharedBy.includes("x")&&(t.value.reactive.axesSettings.other.facetSharedBy="none")}function a(o){o&&t.value.reactive.axesSettings.other.facetSharedBy.includes("y")&&(t.value.reactive.axesSettings.other.facetSharedBy="none")}return(o,l)=>(d.openBlock(),d.createElementBlock(d.Fragment,null,[d.createElementVNode("div",zue,[d.createVNode(d.unref(Eh),{"onUpdate:modelValue":[r,l[0]||(l[0]=u=>n.value.dendrogramX=u)],modelValue:n.value.dendrogramX},null,8,["modelValue"]),l[2]||(l[2]=d.createElementVNode("span",null,"Build dendrogram for X axis",-1))]),d.createElementVNode("div",Gue,[d.createVNode(d.unref(Eh),{"onUpdate:modelValue":[a,l[1]||(l[1]=u=>n.value.dendrogramY=u)],modelValue:n.value.dendrogramY},null,8,["modelValue"]),l[3]||(l[3]=d.createElementVNode("span",null,"Build dendrogram for Y axis",-1))])],64))}}),Yue={class:"checkbox-item"},i7="dendro",Wue=d.defineComponent({__name:"Dendro",setup(e){const t=xi(),n=d.computed(()=>t.value.reactive.layersSettings[i7]),r=d.computed(()=>t.value.reactive.optionsState),a=d.computed(()=>n.value.dotFill),o=d.computed(()=>n.value.dotShape),l=d.computed(()=>n.value.lineColor);function u(p,v,y){typeof p=="string"?t.value.reactive.layersSettings[i7][y]=p:v.type==="data"&&(t.value.reactive.layersSettings[i7][y]={type:v.inputName,value:v.selectedSource}),v.type==="data"&&typeof p!="string"&&(t.value.reactive.dataBindAes[v.selectedSource]=p)}function c(p,v,y){typeof p=="string"?t.value.reactive.layersSettings[i7][y]=p:v.type==="data"&&(t.value.reactive.layersSettings[i7][y]={type:v.inputName,value:v.selectedSource}),v.type==="data"&&typeof p!="string"&&(t.value.reactive.dataBindAes[v.selectedSource]=p)}const f=d.ref(n.value.leavesMode==="alignLeavesToLine");return(p,v)=>(d.openBlock(),d.createElementBlock(d.Fragment,null,[d.createVNode(ki,{label:"Node color","form-title":"Node Color Settings","form-back-title":"Layers",type:"fill",selected:a.value,"possible-aes-source-inputs":["nodeColor"],"without-fixed":r.value.components.nodeColor.selectorStates.length>0,onAesUpdate:v[0]||(v[0]=(y,C)=>u(y,C,"dotFill"))},null,8,["selected","without-fixed"]),d.createVNode(ki,{label:"Node shape","form-title":"Node Shape Settings","form-back-title":"Layers",type:"dotShape",selected:o.value,"possible-aes-source-inputs":["nodeShape"],"without-fixed":r.value.components.nodeShape.selectorStates.length>0,onAesUpdate:v[1]||(v[1]=(y,C)=>c(y,C,"dotShape"))},null,8,["selected","without-fixed"]),d.createVNode(ki,{label:"Line color","form-title":"Line Color Settings","form-back-title":"Layers",type:"fill",selected:l.value,"possible-aes-source-inputs":["lineColor"],"without-fixed":r.value.components.lineColor.selectorStates.length>0,onAesUpdate:v[2]||(v[2]=(y,C)=>u(y,C,"lineColor"))},null,8,["selected","without-fixed"]),d.createElementVNode("div",Yue,[d.createVNode(d.unref(Eh),{modelValue:f.value,"onUpdate:modelValue":[v[3]||(v[3]=y=>f.value=y),v[4]||(v[4]=y=>{n.value.leavesMode=y?"alignLeavesToLine":"normal"})]},null,8,["modelValue"]),v[5]||(v[5]=d.createElementVNode("span",null,"Move leaves to the right",-1))])],64))}}),o7="dots",Kue=d.defineComponent({__name:"Scatter",setup(e){const t=xi(),n=d.computed(()=>t.value.reactive.layersSettings[o7]),r=d.computed(()=>n.value.dotFill??As),a=d.computed(()=>n.value.dotShape??hh);function o(u,c,f){typeof u=="string"?t.value.reactive.layersSettings[o7][f]=u:c.type==="data"&&(t.value.reactive.layersSettings[o7][f]={type:c.inputName,value:c.selectedSource}),c.type==="data"&&typeof u!="string"&&(t.value.reactive.dataBindAes[c.selectedSource]=u)}function l(u,c,f){typeof u=="string"?t.value.reactive.layersSettings[o7][f]=u:c.type==="data"&&(t.value.reactive.layersSettings[o7][f]={type:c.inputName,value:c.selectedSource}),c.type==="data"&&typeof u!="string"&&(t.value.reactive.dataBindAes[c.selectedSource]=u)}return(u,c)=>(d.openBlock(),d.createElementBlock(d.Fragment,null,[d.createVNode(ki,{label:"Color","form-title":"Color Settings","form-back-title":"Layers",type:"fill",selected:r.value,"possible-aes-source-inputs":["grouping"],onAesUpdate:c[0]||(c[0]=(f,p)=>o(f,p,"dotFill"))},null,8,["selected"]),d.createVNode(ki,{label:"Dot shape","form-title":"Dot shape Settings","form-back-title":"Layers",type:"dotShape","possible-aes-source-inputs":["grouping"],selected:a.value,onAesUpdate:c[1]||(c[1]=(f,p)=>l(f,p,"dotShape"))},null,8,["selected"])],64))}}),Xue={class:"input-item",style:{display:"flex","justify-content":"space-between","align-items":"center"}},oB="curve",Zue=d.defineComponent({__name:"Curve",setup(e){const t=xi(),n=d.computed(()=>t.value.reactive.layersSettings[oB]),r=d.computed(()=>n.value.lineColor??As);function a(o,l,u){typeof o=="string"?t.value.reactive.layersSettings[oB][u]=o:l.type==="data"&&(t.value.reactive.layersSettings[oB][u]={type:l.inputName,value:l.selectedSource}),l.type==="data"&&typeof o!="string"&&(t.value.reactive.dataBindAes[l.selectedSource]=o)}return(o,l)=>(d.openBlock(),d.createElementBlock(d.Fragment,null,[d.createVNode(ki,{label:"Color","form-title":"Color Settings","form-back-title":"Layers",type:"stroke",selected:r.value,"possible-aes-source-inputs":["grouping"],onAesUpdate:l[0]||(l[0]=(u,c)=>a(u,c,"lineColor"))},null,8,["selected"]),d.createElementVNode("div",Xue,[l[2]||(l[2]=d.createElementVNode("span",null,"Smoothing",-1)),d.createVNode(d.unref(Ed),{modelValue:d.unref(t).reactive.layersSettings.curve.smoothing,"onUpdate:modelValue":l[1]||(l[1]=u=>d.unref(t).reactive.layersSettings.curve.smoothing=u)},null,8,["modelValue"])])],64))}}),Jue={class:"layers-form",id:"layers-form"},que={class:"layers-list"},ece=d.defineComponent({__name:"index",setup(e){const t=xi(),n={box:Due,binnedDots:Iue,jitteredDots:Lue,violin:$ue,bar:Fue,stackedBar:Que,line:Vue,errorbar:Oue,sina:Uue},r={dots:Kue,curve:Zue};return(a,o)=>(d.openBlock(),d.createElementBlock("div",Jue,[o[0]||(o[0]=d.createElementVNode("div",{class:"layers-title"},[d.createElementVNode("h3",null," Layers ")],-1)),d.createElementVNode("div",que,[d.unref(t).reactive.chartType==="discrete"?(d.openBlock(!0),d.createElementBlock(d.Fragment,{key:0},d.renderList(d.unref(Dy)[d.unref(t).reactive.template],l=>(d.openBlock(),d.createBlock(vp,{icon:d.unref(T1)[l],title:d.unref(e3)[l],settings:{defaultState:d.unref(Dy)[d.unref(t).reactive.template].length>1?"close":"open"}},{default:d.withCtx(()=>[(d.openBlock(),d.createBlock(d.resolveDynamicComponent(n[l])))]),_:2},1032,["icon","title","settings"]))),256)):d.createCommentVNode("",!0),d.unref(t).reactive.chartType==="scatterplot"||d.unref(t).reactive.chartType==="scatterplot-umap"?(d.openBlock(!0),d.createElementBlock(d.Fragment,{key:1},d.renderList(d.unref(My)[d.unref(t).reactive.template],l=>(d.openBlock(),d.createBlock(vp,{icon:d.unref(T1)[l],title:d.unref(e3)[l],settings:{defaultState:d.unref(My)[d.unref(t).reactive.template].length>1?"close":"open"}},{default:d.withCtx(()=>[(d.openBlock(),d.createBlock(d.resolveDynamicComponent(r[l])))]),_:2},1032,["icon","title","settings"]))),256)):d.createCommentVNode("",!0),d.unref(t).reactive.chartType==="heatmap"?(d.openBlock(),d.createBlock(vp,{key:2,icon:d.unref(T1).heatmap,title:d.unref(e3).heatmap,settings:{defaultState:"open"}},{default:d.withCtx(()=>[d.createVNode(jue)]),_:1},8,["icon","title"])):d.createCommentVNode("",!0),d.unref(t).reactive.chartType==="dendro"?(d.openBlock(),d.createBlock(vp,{key:3,icon:d.unref(T1).dendro,title:d.unref(e3).dendro,settings:{defaultState:"open"}},{default:d.withCtx(()=>[d.createVNode(Wue)]),_:1},8,["icon","title"])):d.createCommentVNode("",!0)])]))}});function tce(e,{slots:t}){return d.h("div",Object.assign({},e,{class:"non-found-component"}),t.default&&t.default())}function nce(e,t){return d.computed(()=>{const n=d.unref(t);return n&&e[n]?e[n]:tce})}const rce={},ace={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function ice(e,t){return d.openBlock(),d.createElementBlock("svg",ace,t[0]||(t[0]=[d.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M14.5 7.5V4.5H19.5V7.5H14.5ZM13 4C13 3.44772 13.4477 3 14 3H20C20.5523 3 21 3.44772 21 4V8C21 8.55228 20.5523 9 20 9H14C13.4477 9 13 8.55228 13 8V4ZM4.5 19.5V16.5H9.5V19.5H4.5ZM3 16C3 15.4477 3.44772 15 4 15H10C10.5523 15 11 15.4477 11 16V20C11 20.5523 10.5523 21 10 21H4C3.44772 21 3 20.5523 3 20V16Z",fill:"#07AD3E"},null,-1),d.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4.5 11.5V4.5H9.5V11.5H4.5ZM3 4C3 3.44772 3.44772 3 4 3H10C10.5523 3 11 3.44772 11 4V12C11 12.5523 10.5523 13 10 13H4C3.44772 13 3 12.5523 3 12V4ZM14.5 19.5V12.5H19.5V19.5H14.5ZM13 12C13 11.4477 13.4477 11 14 11H20C20.5523 11 21 11.4477 21 12V20C21 20.5523 20.5523 21 20 21H14C13.4477 21 13 20.5523 13 20V12Z",fill:"#110529"},null,-1)]))}const oce=Nr(rce,[["render",ice]]),lce={},sce={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function uce(e,t){return d.openBlock(),d.createElementBlock("svg",sce,t[0]||(t[0]=[d.createStaticVNode('<g clip-path="url(#clip0_8849_14901)"><path fill-rule="evenodd" clip-rule="evenodd" d="M11.2214 15.2215L13.5701 12.8728C15.2298 11.2131 15.2298 8.5221 13.5701 6.86237C11.9104 5.20264 9.21943 5.20264 7.5597 6.86237L3.31706 11.105C1.65733 12.7647 1.65733 15.4557 3.31706 17.1154C4.38616 18.1845 5.88312 18.565 7.25674 18.2568L8.45258 19.4526C6.38303 20.2767 3.93151 19.8512 2.2564 18.1761C0.0108876 15.9306 0.0108879 12.2899 2.2564 10.0444L6.49904 5.80171C8.74456 3.5562 12.3853 3.5562 14.6308 5.80171C16.8763 8.04723 16.8763 11.6879 14.6308 13.9334L12.2821 16.2821L11.2214 15.2215Z" fill="#110529"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M17.4594 18.1761C15.2139 20.4216 11.5732 20.4216 9.32769 18.1761C7.08218 15.9306 7.08218 12.2899 9.32769 10.0444L11.686 7.68604L12.7467 8.7467L10.3884 11.105C8.72862 12.7647 8.72862 15.4557 10.3884 17.1154C12.0481 18.7751 14.739 18.7751 16.3988 17.1154L20.6414 12.8728C22.3011 11.2131 22.3011 8.5221 20.6414 6.86237C19.5764 5.79737 18.0868 5.41575 16.7175 5.71752L15.5197 4.51971C17.5863 3.70299 20.0307 4.13032 21.7021 5.80171C23.9476 8.04723 23.9476 11.6879 21.7021 13.9334L17.4594 18.1761Z" fill="#07AD3E"></path></g><defs><clipPath id="clip0_8849_14901"><rect width="24" height="24" fill="white"></rect></clipPath></defs>',2)]))}const cce=Nr(lce,[["render",uce]]),fce={},Ace={width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function dce(e,t){return d.openBlock(),d.createElementBlock("svg",Ace,t[0]||(t[0]=[d.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M23.25 17.75V14H24.75V17.75H26V19.25H24.75V23.25H28.75V22H30.25V23.25H34V24.75H30.25V26H28.75V24.75H24.75V28.75H26V30.25H24.75V34H23.25V30.25H22V28.75H23.25V24.75H19.25V26H17.75V24.75H14V23.25H17.75V22H19.25V23.25H23.25V19.25H22V17.75H23.25Z",fill:"#110529"},null,-1),d.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M15.4697 15.5303L17.7501 17.8107V20H19.2501V17.8107L21.5304 15.5303L20.4697 14.4697L18.5001 16.4393L16.5304 14.4697L15.4697 15.5303ZM27.4697 28.5303L29.4394 30.5L27.4697 32.4697L28.5304 33.5303L30.5001 31.5607L32.4697 33.5303L33.5304 32.4697L31.5607 30.5L33.5304 28.5303L32.4697 27.4697L30.5001 29.4393L28.5304 27.4697L27.4697 28.5303Z",fill:"#07AD3E"},null,-1)]))}const pce=Nr(fce,[["render",dce]]),hce={},vce={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function mce(e,t){return d.openBlock(),d.createElementBlock("svg",vce,t[0]||(t[0]=[d.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M20.5 12C20.5 10.3189 20.0015 8.67547 19.0675 7.27766C18.1335 5.87984 16.806 4.79037 15.2528 4.14703C13.6996 3.50368 11.9906 3.33536 10.3417 3.66333C8.6929 3.9913 7.17834 4.80085 5.9896 5.9896C4.80085 7.17834 3.9913 8.6929 3.66333 10.3417C3.33536 11.9906 3.50368 13.6996 4.14703 15.2528C4.79037 16.806 5.87984 18.1335 7.27766 19.0675C8.18407 19.6731 9.19374 20.0957 10.25 20.3179V12.75H7V11.25H10.25V8C10.25 6.48122 11.4812 5.25 13 5.25C14.5188 5.25 15.75 6.48122 15.75 8V8.5H14.25V8C14.25 7.30964 13.6904 6.75 13 6.75C12.3096 6.75 11.75 7.30964 11.75 8V11.25H15V12.75H11.75V20.4963V21.5V21.9969C9.85961 21.9496 8.01943 21.3672 6.4443 20.3147C4.79981 19.2159 3.51809 17.6541 2.76121 15.8268C2.00433 13.9996 1.8063 11.9889 2.19215 10.0491C2.578 8.10929 3.53041 6.32746 4.92894 4.92894C6.32746 3.53041 8.10929 2.578 10.0491 2.19215C11.9889 1.8063 13.9996 2.00433 15.8268 2.76121C17.6541 3.51809 19.2159 4.79981 20.3147 6.4443C21.4135 8.08879 22 10.0222 22 12H20.5Z",fill:"#110529"},null,-1),d.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M19.0607 18L21.5304 15.5303L20.4697 14.4697L18.0001 16.9393L15.5304 14.4697L14.4697 15.5303L16.9394 18L14.4697 20.4697L15.5304 21.5303L18.0001 19.0607L20.4697 21.5303L21.5304 20.4697L19.0607 18Z",fill:"#07AD3E"},null,-1)]))}const gce=Nr(hce,[["render",mce]]),yce={},wce={class:"layers-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Cce(e,t){return d.openBlock(),d.createElementBlock("svg",wce,t[0]||(t[0]=[d.createElementVNode("g",{id:"24: layers"},[d.createElementVNode("path",{id:"Subtract","fill-rule":"evenodd","clip-rule":"evenodd",d:"M2.37549 15.1251L12.0003 21.25L21.6255 15.1249L21.6749 15.1563C22.2924 15.5493 22.2924 16.4507 21.6749 16.8436L12.5375 22.6583C12.21 22.8668 11.7913 22.8668 11.4638 22.6583L2.32641 16.8436C1.70891 16.4507 1.70891 15.5493 2.32641 15.1563L2.37549 15.1251Z",fill:"#07AD3E"}),d.createElementVNode("path",{id:"Union","fill-rule":"evenodd","clip-rule":"evenodd",d:"M2.32641 7.15633C1.70891 7.54929 1.70891 8.4507 2.32641 8.84366L11.4638 14.6583C11.7913 14.8668 12.21 14.8668 12.5375 14.6583L21.6749 8.84365C22.2924 8.4507 22.2924 7.54929 21.6749 7.15633L12.5375 1.34164C12.21 1.13319 11.7913 1.13319 11.4638 1.34164L2.32641 7.15633ZM3.75 7.99997L12 13.25L20.25 7.99997L12 2.74997L3.75 7.99997ZM12.0003 17.25L2.37549 11.1251L2.32641 11.1563C1.70891 11.5493 1.70891 12.4507 2.32641 12.8436L11.4638 18.6583C11.7913 18.8668 12.21 18.8668 12.5375 18.6583L21.6749 12.8436C22.2924 12.4507 22.2924 11.5493 21.6749 11.1563L21.6255 11.1249L12.0003 17.25Z",fill:"#110529"})],-1)]))}const Ece=Nr(yce,[["render",Cce]]),bce={},Bce={class:"export-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Sce(e,t){return d.openBlock(),d.createElementBlock("svg",Bce,t[0]||(t[0]=[d.createElementVNode("g",{id:"Icon"},[d.createElementVNode("path",{id:"Rectangle 4179",d:"M3 17V18C3 19.6569 4.34315 21 6 21H18C19.6569 21 21 19.6569 21 18V17",stroke:"#07AD3E","stroke-width":"1.5"}),d.createElementVNode("path",{id:"Vector 1335",d:"M18 10L12 16M12 16L6 10M12 16L12 2",stroke:"black","stroke-width":"1.5"})],-1)]))}const xce=Nr(bce,[["render",Sce]]),kce={class:"input-item"},Tce={class:"input-item"},_ce={class:"input-item"},Pce={class:"input-item"},Hce={class:"input-item",style:{"z-index":"0"}},Dce={class:"checkbox-item"},Mce={class:"input-item"},Ice={class:"input-item"},Rce={class:"input-item",style:{"z-index":"0"}},Lce={class:"checkbox-item"},Nce=d.defineComponent({__name:"StatisticsForm",setup(e){const t=xi(),n=d.computed(()=>t.value.reactive.statisticsSettings),r=d.computed(()=>t.value.commonHelpersData.primaryGroups.value),a=d.computed(()=>zM(r.value)),o=d.computed(()=>GM(r.value)),l=(C,S)=>d.computed({get(){return C[S]??void 0},set(x){C[S]=x??null}}),u=l(n.value.overall.data,"testMethod"),c=l(n.value.referenceGroup.data,"testMethod"),f=l(n.value.referenceGroup.data,"referenceGroup"),p=l(n.value.referenceGroup.data,"correctionMethod"),v=l(n.value.pairwise.data,"testMethod"),y=l(n.value.pairwise.data,"correctionMethod");return Hb(t)(),d.watch([()=>n.value.overall.data.testMethod,()=>n.value.referenceGroup.data.referenceGroup],Hb(t)),(C,S)=>(d.openBlock(),d.createElementBlock("div",{class:"stat-form",onClick:S[10]||(S[10]=x=>x.stopPropagation())},[S[13]||(S[13]=d.createElementVNode("h3",null," Statistics ",-1)),S[14]||(S[14]=d.createElementVNode("div",{class:"section-title"},[d.createElementVNode("span",null,"overall p-value")],-1)),d.createElementVNode("div",kce,[d.createVNode(d.unref(Du),{label:"Method",clearable:"",placeholder:"Choose",modelValue:d.unref(u),"onUpdate:modelValue":S[0]||(S[0]=x=>d.isRef(u)?u.value=x:null),options:o.value,error:n.value.overall.validity.testMethod?"":" "},null,8,["modelValue","options","error"])]),S[15]||(S[15]=d.createElementVNode("div",{class:"section-title"},[d.createElementVNode("span",null,"reference group")],-1)),d.createElementVNode("div",Tce,[d.createVNode(d.unref(Du),{label:"Reference from...",clearable:"",placeholder:"Choose",modelValue:d.unref(f),"onUpdate:modelValue":S[1]||(S[1]=x=>d.isRef(f)?f.value=x:null),options:a.value,error:n.value.referenceGroup.validity.referenceGroup?"":" "},null,8,["modelValue","options","error"])]),d.createElementVNode("div",_ce,[d.createVNode(d.unref(Du),{label:"Method",clearable:"",placeholder:"Choose",modelValue:d.unref(c),"onUpdate:modelValue":S[2]||(S[2]=x=>d.isRef(c)?c.value=x:null),options:d.unref(Z4)},null,8,["modelValue","options"])]),d.createElementVNode("div",Pce,[d.createVNode(d.unref(Du),{label:"Correction method",placeholder:"Choose",modelValue:d.unref(p),"onUpdate:modelValue":S[3]||(S[3]=x=>d.isRef(p)?p.value=x:null),options:d.unref($M)},null,8,["modelValue","options"])]),d.createElementVNode("div",Hce,[d.createVNode(d.unref(tA),{label:"Show",modelValue:n.value.referenceGroup.data.format,"onUpdate:modelValue":S[4]||(S[4]=x=>n.value.referenceGroup.data.format=x),options:d.unref(FM)},null,8,["modelValue","options"])]),d.createElementVNode("div",Dce,[d.createVNode(d.unref(Eh),{modelValue:n.value.referenceGroup.data.ns,"onUpdate:modelValue":S[5]||(S[5]=x=>n.value.referenceGroup.data.ns=x)},null,8,["modelValue"]),S[11]||(S[11]=d.createElementVNode("span",null,"Non-significant",-1))]),S[16]||(S[16]=d.createElementVNode("div",{class:"section-title"},[d.createElementVNode("span",null,"pairwise p-value")],-1)),d.createElementVNode("div",Mce,[d.createVNode(d.unref(Du),{label:"Method",clearable:"",placeholder:"Choose",modelValue:d.unref(v),"onUpdate:modelValue":S[6]||(S[6]=x=>d.isRef(v)?v.value=x:null),options:d.unref(Z4)},null,8,["modelValue","options"])]),d.createElementVNode("div",Ice,[d.createVNode(d.unref(Du),{label:"Correction method",placeholder:"Choose",modelValue:d.unref(y),"onUpdate:modelValue":S[7]||(S[7]=x=>d.isRef(y)?y.value=x:null),options:d.unref($M)},null,8,["modelValue","options"])]),d.createElementVNode("div",Rce,[d.createVNode(d.unref(tA),{label:"Show",modelValue:n.value.pairwise.data.format,"onUpdate:modelValue":S[8]||(S[8]=x=>n.value.pairwise.data.format=x),options:d.unref(FM)},null,8,["modelValue","options"])]),d.createElementVNode("div",Lce,[d.createVNode(d.unref(Eh),{modelValue:n.value.pairwise.data.ns,"onUpdate:modelValue":S[9]||(S[9]=x=>n.value.pairwise.data.ns=x)},null,8,["modelValue"]),S[12]||(S[12]=d.createElementVNode("span",null,"Non-significant",-1))])]))}}),$ce={},Fce={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"};function Qce(e,t){return d.openBlock(),d.createElementBlock("svg",Fce,t[0]||(t[0]=[d.createStaticVNode('<path fill-rule="evenodd" clip-rule="evenodd" d="M7.5 3.75002C7.5 3.05967 8.05964 2.50002 8.75 2.50002L15.25 2.5C15.9404 2.5 16.5 3.05964 16.5 3.75V5.50004L20.5 5.50006V7.00006L19 7.00006H17.5L6.5 7.00004H5L3.5 7V5.5L7.5 5.50006V3.75002ZM9 5.50006L15 5.50004V4L9 4.00002V5.50006Z" fill="#110529"></path><path d="M17.5 7.00006V12.5H19V7.00006H17.5Z" fill="#110529"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M6.5 17.75C6.5 18.9926 7.50736 20 8.75 20H12V21.5H8.75C6.67893 21.5 5 19.8211 5 17.75V8.50006H6.5V17.75Z" fill="#110529"></path><path d="M6.5 7.00004H5V8.50006H6.5V7.00004Z" fill="#110529"></path><path d="M14.75 14.5L18.25 18M21.75 21.5L18.25 18M18.25 18L21.75 14.5M18.25 18L14.75 21.5" stroke="#07AD3E" stroke-width="1.5"></path>',5)]))}const xw={template:{icon:oce,component:une,title:"Template"},dataMapping:{icon:cce,component:uoe,title:"Data mapping"},axes:{icon:pce,component:_ue,title:"Axes settings"},statistics:{icon:gce,component:Nce,title:"Statistics"},layers:{icon:Ece,component:ece,title:"Layers"},delete:{icon:Nr($ce,[["render",Qce]]),component:null,title:"Delete graph"},export:{icon:xce,component:null,title:"Export"}};function Vce(){return Object.keys(xw)}function Oce(e){return xw[e].icon??""}function Uce(e){return xw[e].title??""}function zce(e){const t=Object.entries(xw).reduce((n,[r,a])=>vse.setProp(n,r,a.component),{});return nce(t,e)}const Gce={class:"settings-tabs"},jce={style:{"font-family":"var(--font-family-base)"}},Yce=d.defineComponent({__name:"index",props:{chartType:{},chartEmpty:{type:Boolean},allowDeleting:{type:Boolean},modelValue:{}},emits:["update:modelValue","export","delete"],setup(e,{emit:t}){const n=t,r=e,a=d.computed(()=>Vce().filter(l=>!(l==="statistics"&&r.chartType!=="discrete")&&!(l==="delete"&&r.allowDeleting)));function o(l){n("update:modelValue",l===r.modelValue?null:l)}return(l,u)=>(d.openBlock(),d.createElementBlock("div",Gce,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(a.value,c=>(d.openBlock(),d.createBlock(d.unref(Ry),{key:c,"open-delay":100,"close-delay":100,class:d.normalizeClass(["has-inline-icon",{active:l.modelValue===c,"temp-inactive":c==="export"&&(l.chartEmpty||l.chartType==="scatterplot-umap"),[c]:!0}]),position:"left",hide:l.modelValue===c,onClick:f=>{f.stopPropagation(),c==="export"?l.$emit("export"):c==="delete"?l.$emit("delete"):o(c)}},{tooltip:d.withCtx(()=>[d.createElementVNode("span",jce,d.toDisplayString(d.unref(Uce)(c)),1)]),default:d.withCtx(()=>[(d.openBlock(),d.createBlock(d.resolveDynamicComponent(d.unref(Oce)(c))))]),_:2},1032,["class","hide","onClick"]))),128))]))}}),Wce=d.defineComponent({__name:"TransitionSlidePanel",setup(e){function t(){window.dispatchEvent(new CustomEvent("adjust"))}function n(){window.dispatchEvent(new CustomEvent("adjust"))}return(r,a)=>(d.openBlock(),d.createBlock(d.Transition,{name:"slide-panel",onAfterEnter:t,onAfterLeave:n},{default:d.withCtx(()=>[d.renderSlot(r.$slots,"default")]),_:3}))}}),Kce=d.defineComponent({__name:"PanelModal",emits:["close"],setup(e,{emit:t}){const n=t,r=d.ref();return tw([r],()=>n("close")),(a,o)=>(d.openBlock(),d.createElementBlock("div",{ref_key:"rootRef",ref:r,class:"panel-modal"},[d.createVNode(d.unref(q4),{class:"close-panel-modal",name:"delete-clear",onClick:o[0]||(o[0]=l=>n("close"))}),d.renderSlot(a.$slots,"default",{ref:"contentRef"})],512))}}),Xce={},Zce={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"};function Jce(e,t){return d.openBlock(),d.createElementBlock("svg",Zce,t[0]||(t[0]=[d.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M8.75 2.25V7.25H13.75V8.75H8.75V13.75H7.25V8.75H2.25V7.25H7.25V2.25H8.75Z",fill:"#110529"},null,-1)]))}const qce=Nr(Xce,[["render",Jce]]),efe={},tfe={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"};function nfe(e,t){return d.openBlock(),d.createElementBlock("svg",tfe,t[0]||(t[0]=[d.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M2.25 7.25H13.75V8.75H2.25V7.25Z",fill:"#110529"},null,-1)]))}const rfe=Nr(efe,[["render",nfe]]),afe={class:"zoom-text-field"},ife=d.defineComponent({__name:"ZoomInput",props:{modelValue:{}},emits:["update:modelValue"],setup(e,{emit:t}){const n=t,r=e,a=d.ref(),o=d.ref(!1),l=d.ref(String(r.modelValue)),u=d.computed({get(){const c=l.value??"100";return o.value?c:c+"%"},set(c){return l.value=c,c}});return d.watch(()=>o.value,c=>{if(!c){let f=Number(l.value);isNaN(f)?l.value=String(r.modelValue):n("update:modelValue",f)}}),d.watch(()=>r.modelValue,c=>{l.value=String(c)}),(c,f)=>(d.openBlock(),d.createElementBlock("div",{class:"zoom-text-field__envelope zoom-input",onFocusin:f[1]||(f[1]=p=>o.value=!0),onFocusout:f[2]||(f[2]=p=>o.value=!1),onKeyup:f[3]||(f[3]=d.withKeys(p=>{var v;return(v=a.value)==null?void 0:v.blur()},["enter"]))},[d.createElementVNode("div",afe,[d.withDirectives(d.createElementVNode("input",{ref_key:"input",ref:a,"onUpdate:modelValue":f[0]||(f[0]=p=>u.value=p),type:"text"},null,512),[[d.vModelText,u.value]]),d.createVNode(Kb,{style:{"z-index":"1"},class:"zoom-text-field__contour"})])],32))}}),ofe={class:"zoom-container"},lfe=20,sfe=400,RI=10,ufe=d.defineComponent({__name:"index",setup(e){const t=xi();function n(o){return Math.max(lfe,Math.min(sfe,o))}function r(){t.value.reactive.chartScale=n(t.value.reactive.chartScale-RI)}function a(){t.value.reactive.chartScale=n(t.value.reactive.chartScale+RI)}return(o,l)=>(d.openBlock(),d.createElementBlock("div",ofe,[l[1]||(l[1]=d.createElementVNode("div",{class:"zoom-border"},null,-1)),d.createVNode(d.unref(WM),{onClick:r},{default:d.withCtx(()=>[(d.openBlock(),d.createBlock(d.resolveDynamicComponent(rfe)))]),_:1}),d.createVNode(ife,{modelValue:d.unref(t).reactive.chartScale,"onUpdate:modelValue":l[0]||(l[0]=u=>d.unref(t).reactive.chartScale=n(u))},null,8,["modelValue"]),d.createVNode(d.unref(WM),{onClick:a},{default:d.withCtx(()=>[(d.openBlock(),d.createBlock(d.resolveDynamicComponent(qce)))]),_:1})]))}}),cfe=d.defineComponent({__name:"DendroTable",props:{chartData:{}},emits:["row-select"],setup(e,{emit:t}){const n=xi(),r=e,a=d.ref(100),o=d.shallowRef(),l=d.computed(()=>["id",...n.value.reactive.optionsState.components.tableContent.selectorStates.map(C=>C.selectedSource)]),u=d.ref([]);d.watch(()=>{var C;return(C=r.chartData)==null?void 0:C.hierarchy},C=>{if(C){const S=C.leaves().map(x=>x.data.rawData.id);(S.length!==u.value.length||S.some((x,P)=>x!==u.value[P]))&&(u.value=S)}else u.value=[]},{immediate:!0});const c=d.ref([]),f=d.ref([]);d.watch([()=>u.value,()=>l.value,()=>n.value.commonHelpersData.dendroTableData.value],([C,S,x])=>{if(x===null){f.value=[],c.value=[];return}if(S.some(_=>!x[_]))return;const P=x.id.data.reduce((_,H,D)=>{const G=H;return _[G]&&console.warn(`More than 1 value for node id ${G} in dendro table`),_[G]=S.reduce((Q,F)=>{const N=x[F];return N&&(Q[F]=N.data[D]),Q},{}),_},{});f.value=S.map(_=>({headerName:x[_].label,field:_,sortable:!1,resizable:!1})),c.value=C.map(_=>P[_]??null),y()},{immediate:!0});const p=d.computed(()=>{var S,x;const C=(x=(S=r.chartData)==null?void 0:S.chartSizes)==null?void 0:x.treeHeight;return u.value.length?C/u.value.length:0}),v=C=>{o.value=C.api,y()};function y(){if(o.value&&!o.value.isDestroyed()){o.value.autoSizeAllColumns();const C=o.value.getColumns();C&&(a.value=C.reduce((S,x)=>S+x.getActualWidth(),2))}}return d.watch(()=>n.value.reactive.dendroSelectedNodeId,C=>{o.value&&(C===null?o.value.deselectAll():o.value.forEachNode(S=>{S.data.id===C&&S.setSelected(!0,!0)}))}),(C,S)=>(d.openBlock(),d.createElementBlock("div",{class:"dendro-table",style:d.normalizeStyle({width:a.value+"px"})},[d.createVNode(d.unref(Vg.AgGridVue),{theme:d.unref(UX.AgGridTheme),gridApi:o.value,onGridReady:v,rowData:c.value,columnDefs:f.value,rowHeight:p.value,autoSizeStrategy:{type:"fitCellContents"},onGridColumnsChanged:S[0]||(S[0]=()=>{y()}),domLayout:"autoHeight"},null,8,["theme","gridApi","rowData","columnDefs","rowHeight"])],4))}}),ffe={},Afe={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"};function dfe(e,t){return d.openBlock(),d.createElementBlock("svg",Afe,t[0]||(t[0]=[d.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M19.091 3.53035C18.2123 2.65166 16.7877 2.65167 15.909 3.53037L3.90901 15.5304C3.48705 15.9524 3.25 16.5246 3.25 17.1214V20.0001C3.25 20.4143 3.58579 20.7501 4 20.7501H6.87868C7.47542 20.7501 8.04771 20.513 8.46967 20.0911L20.4697 8.09099C21.3484 7.21231 21.3484 5.7877 20.4697 4.90903L19.091 3.53035ZM16.9697 4.59101C17.2626 4.29811 17.7374 4.29811 18.0303 4.59101L19.409 5.96969C19.7019 6.26258 19.7019 6.73745 19.409 7.03034L18.5 7.9394L16.0607 5.50006L16.9697 4.59101ZM15 6.56073L17.4393 9.00007L7.40901 19.0304C7.26836 19.171 7.07759 19.2501 6.87868 19.2501H4.75V17.1214C4.75 16.9225 4.82902 16.7317 4.96967 16.5911L15 6.56073Z",fill:"#CFD1DB"},null,-1),d.createElementVNode("path",{d:"M12 20.7501L20 20.7501L20 19.2501L12 19.2501L12 20.7501Z",fill:"#CFD1DB"},null,-1)]))}const pfe=Nr(ffe,[["render",dfe]]),LI=d.defineComponent({__name:"Loading",props:{top:{default:0},left:{default:0},right:{default:0},bottom:{default:0}},setup(e){return(t,n)=>(d.openBlock(),d.createElementBlock("div",{class:"graph-maker__loading",style:d.normalizeStyle({top:`${t.top}px`,bottom:`${t.bottom}px`,right:`${t.right}px`,left:`${t.left}px`})},n[0]||(n[0]=[d.createStaticVNode('<div class="loading-picture"><svg xmlns="http://www.w3.org/2000/svg" width="80" height="80" viewBox="0 0 80 80" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M36.0197 2.29384C37.0053 1.76506 37.7157 1.45481 38.4537 1.29931C39.4734 1.08447 40.5266 1.08447 41.5463 1.29931C42.2843 1.45481 42.9947 1.76506 43.9803 2.29384C44.7026 2.66301 45.5542 3.14998 46.6565 3.78023L68.4201 16.2247C69.3757 16.7711 70.1409 17.2086 70.7708 17.5978C71.8362 18.2367 72.5158 18.7183 73.0579 19.3166C73.7667 20.0989 74.3023 21.0219 74.6298 22.0253C75 23.1595 75 24.4276 75 26.9639V53.0362C75 55.5725 75 56.8407 74.6298 57.9748C74.3023 58.9782 73.7667 59.9012 73.0579 60.6835C72.5154 61.2822 71.8353 61.764 70.7688 62.4035C70.1393 62.7924 69.3748 63.2295 68.4203 63.7753L46.6565 76.2198C45.555 76.8497 44.7037 77.3364 43.9817 77.7055C42.9954 78.2347 42.2847 78.5452 41.5463 78.7008C40.5266 78.9156 39.4734 78.9156 38.4537 78.7008C37.7153 78.5452 37.0045 78.2347 36.0182 77.7054C35.2962 77.3364 34.445 76.8497 33.3436 76.2199L11.5799 63.7754C10.6253 63.2295 9.86069 62.7924 9.23115 62.4035C8.16466 61.764 7.48457 61.2822 6.94208 60.6835C6.23334 59.9012 5.6977 58.9782 5.37018 57.9748C5 56.8407 5 55.5725 5 53.0362V26.9639C5 24.4276 5 23.1595 5.37018 22.0253C5.6977 21.0219 6.23334 20.0989 6.94208 19.3166C7.48422 18.7183 8.16379 18.2367 9.22911 17.5978C9.85904 17.2086 10.6242 16.7711 11.5799 16.2247L33.3435 3.78023C34.4457 3.14998 35.2974 2.663 36.0197 2.29384ZM10 34.9971V24.9907H37.4546V34.9971H10ZM10 45.0036V40.0003H37.4546V45.0036H10ZM37.4546 72.9139L10 57.1541V50.0069H37.4546V72.9139ZM65.0189 60.0134L42.5455 72.9138V60.0134H65.0189ZM70 24.9907V55.0101H42.5455V24.9907H70ZM14.98 19.9874L40 5.62505L65.0201 19.9874H14.98Z" fill="#E1E3EB"></path></svg><div class="loading-progress-bar"><div class="moving-dash"></div></div></div>',1)]),4))}}),hfe={class:"chart_header"},vfe=["value"],mfe={class:"chart_titleLineSlot"},gfe={key:0,class:"chart_tabBy"},yfe=d.defineComponent({__name:"Chart",props:{empty:{type:Boolean},graphTitle:{},chartData:{}},emits:["graph-title-update","dendro-node-select"],setup(e,{emit:t}){const n=t,r=xi(),a=e,o=d.ref(a.graphTitle);d.watch(()=>a.graphTitle,S=>{o.value=S});const l=d.computed(()=>{var S;return(S=r.value.reactive.optionsState.components.tabBy.selectorStates[0])==null?void 0:S.selectedSource});function u(S,x,P){const{valueLabels:_}=P(x);return S.map(H=>({value:String(H),text:_[H]})).sort((H,D)=>H.text>D.text?1:-1)}function c(){const S=r.value.reactive.optionsState.components.tabBy;return S.type==="filter"&&S.selectorStates.length?S.selectorStates[0].selectedFilterValue:void 0}const f=d.ref(c());d.watch(l,(S,x)=>{S!==x&&(f.value=c())});const p=d.computed(()=>r.value.inputGuide.value),v=d.computed(()=>{const S=p.value.components.tabBy;return S?u(S.filterValueOptions[l.value],l.value,p.value.getSourceInfo):[]});d.watch(f,(S,x)=>{if(S!==x){const P=r.value.reactive.optionsState.components.tabBy.selectorStates;P.length&&(r.value.reactive.optionsState.components.tabBy.selectorStates=[{...P[0],selectedFilterValue:S}])}});function y(S){const x=S.currentTarget;o.value=x.value,n("graph-title-update",x.value)}function C(S){n("dendro-node-select",S)}return(S,x)=>(d.openBlock(),d.createElementBlock("div",{class:d.normalizeClass(["chart_container",{chart_container__empty:a.empty&&!d.unref(r).loading.chartData}])},[d.createElementVNode("div",hfe,[d.createElementVNode("input",{class:"chart_title",value:o.value,onChange:y,onKeyup:x[0]||(x[0]=d.withKeys(P=>{var _;(_=P.target)==null||_.blur()},["enter"]))},null,40,vfe),(d.openBlock(),d.createBlock(d.resolveDynamicComponent(pfe),{class:"chart_titleEdit"})),d.createElementVNode("div",mfe,[d.renderSlot(S.$slots,"default")])]),l.value&&!S.empty?(d.openBlock(),d.createElementBlock("div",gfe,[d.createVNode(d.unref(Du),{label:"Show for",modelValue:f.value,"onUpdate:modelValue":x[1]||(x[1]=P=>f.value=P),options:v.value},null,8,["modelValue","options"])])):d.createCommentVNode("",!0),d.createElementVNode("div",{class:d.normalizeClass(["chart_main-content",{"chart_main-content__dendro":d.unref(r).reactive.chartType==="dendro"}])},[d.createElementVNode("div",{id:"chartSvgContainer",class:d.normalizeClass({chart_loading:d.unref(r).loading.chartData})},[d.unref(r).loading.chartData?(d.openBlock(),d.createBlock(LI,{key:0})):d.createCommentVNode("",!0)],2),d.unref(r).reactive.chartType==="dendro"&&S.chartData&&d.unref(r).reactive.layersSettings.dendro.showTable?(d.openBlock(),d.createBlock(cfe,{key:0,chartData:S.chartData,onRowSelect:C},null,8,["chartData"])):d.createCommentVNode("",!0)],2),!S.empty&&d.unref(r).reactive.chartType!=="scatterplot-umap"?(d.openBlock(),d.createBlock(ufe,{key:1})):d.createCommentVNode("",!0)],2))}});function wfe(e,t){return e.parent===t.parent?1:2}function Cfe(e){return e.reduce(Efe,0)/e.length}function Efe(e,t){return e+t.x}function bfe(e){return 1+e.reduce(Bfe,0)}function Bfe(e,t){return Math.max(e,t.y)}function Sfe(e){for(var t;t=e.children;)e=t[0];return e}function xfe(e){for(var t;t=e.children;)e=t[t.length-1];return e}function lB(){var e=wfe,t=1,n=1,r=!1;function a(o){var l,u=0;o.eachAfter(function(y){var C=y.children;C?(y.x=Cfe(C),y.y=bfe(C)):(y.x=l?u+=e(y,l):0,y.y=0,l=y)});var c=Sfe(o),f=xfe(o),p=c.x-e(c,f)/2,v=f.x+e(f,c)/2;return o.eachAfter(r?function(y){y.x=(y.x-o.x)*t,y.y=(o.y-y.y)*n}:function(y){y.x=(y.x-p)/(v-p)*t,y.y=(1-(o.y?y.y/o.y:1))*n})}return a.separation=function(o){return arguments.length?(e=o,a):e},a.size=function(o){return arguments.length?(r=!1,t=+o[0],n=+o[1],a):r?null:[t,n]},a.nodeSize=function(o){return arguments.length?(r=!0,t=+o[0],n=+o[1],a):r?[t,n]:null},a}function kfe(e){var t=0,n=e.children,r=n&&n.length;if(!r)t=1;else for(;--r>=0;)t+=n[r].value;e.value=t}function Tfe(){return this.eachAfter(kfe)}function _fe(e,t){let n=-1;for(const r of this)e.call(t,r,++n,this);return this}function Pfe(e,t){for(var n=this,r=[n],a,o,l=-1;n=r.pop();)if(e.call(t,n,++l,this),a=n.children)for(o=a.length-1;o>=0;--o)r.push(a[o]);return this}function Hfe(e,t){for(var n=this,r=[n],a=[],o,l,u,c=-1;n=r.pop();)if(a.push(n),o=n.children)for(l=0,u=o.length;l<u;++l)r.push(o[l]);for(;n=a.pop();)e.call(t,n,++c,this);return this}function Dfe(e,t){let n=-1;for(const r of this)if(e.call(t,r,++n,this))return r}function Mfe(e){return this.eachAfter(function(t){for(var n=+e(t.data)||0,r=t.children,a=r&&r.length;--a>=0;)n+=r[a].value;t.value=n})}function Ife(e){return this.eachBefore(function(t){t.children&&t.children.sort(e)})}function Rfe(e){for(var t=this,n=Lfe(t,e),r=[t];t!==n;)t=t.parent,r.push(t);for(var a=r.length;e!==n;)r.splice(a,0,e),e=e.parent;return r}function Lfe(e,t){if(e===t)return e;var n=e.ancestors(),r=t.ancestors(),a=null;for(e=n.pop(),t=r.pop();e===t;)a=e,e=n.pop(),t=r.pop();return a}function Nfe(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t}function $fe(){return Array.from(this)}function Ffe(){var e=[];return this.eachBefore(function(t){t.children||e.push(t)}),e}function Qfe(){var e=this,t=[];return e.each(function(n){n!==e&&t.push({source:n.parent,target:n})}),t}function*Vfe(){var e=this,t,n=[e],r,a,o;do for(t=n.reverse(),n=[];e=t.pop();)if(yield e,r=e.children)for(a=0,o=r.length;a<o;++a)n.push(r[a]);while(n.length)}function kw(e,t){e instanceof Map?(e=[void 0,e],t===void 0&&(t=zfe)):t===void 0&&(t=Ufe);for(var n=new l7(e),r,a=[n],o,l,u,c;r=a.pop();)if((l=t(r.data))&&(c=(l=Array.from(l)).length))for(r.children=l,u=c-1;u>=0;--u)a.push(o=l[u]=new l7(l[u])),o.parent=r,o.depth=r.depth+1;return n.eachBefore(NI)}function Ofe(){return kw(this).eachBefore(Gfe)}function Ufe(e){return e.children}function zfe(e){return Array.isArray(e)?e[1]:null}function Gfe(e){e.data.value!==void 0&&(e.value=e.data.value),e.data=e.data.data}function NI(e){var t=0;do e.height=t;while((e=e.parent)&&e.height<++t)}function l7(e){this.data=e,this.depth=this.height=0,this.parent=null}l7.prototype=kw.prototype={constructor:l7,count:Tfe,each:_fe,eachAfter:Hfe,eachBefore:Pfe,find:Dfe,sum:Mfe,sort:Ife,path:Rfe,ancestors:Nfe,descendants:$fe,leaves:Ffe,links:Qfe,copy:Ofe,[Symbol.iterator]:Vfe};function sB(e){return e==null?null:jfe(e)}function jfe(e){if(typeof e!="function")throw new Error;return e}var Yfe={depth:-1},$I={},uB={};function Wfe(e){return e.id}function Kfe(e){return e.parentId}function FI(){var e=Wfe,t=Kfe,n;function r(a){var o=Array.from(a),l=e,u=t,c,f,p,v,y,C,S,x,P=new Map;if(n!=null){const _=o.map((G,Q)=>Xfe(n(G,Q,a))),H=_.map(QI),D=new Set(_).add("");for(const G of H)D.has(G)||(D.add(G),_.push(G),H.push(QI(G)),o.push(uB));l=(G,Q)=>_[Q],u=(G,Q)=>H[Q]}for(p=0,c=o.length;p<c;++p)f=o[p],C=o[p]=new l7(f),(S=l(f,p,a))!=null&&(S+="")&&(x=C.id=S,P.set(x,P.has(x)?$I:C)),(S=u(f,p,a))!=null&&(S+="")&&(C.parent=S);for(p=0;p<c;++p)if(C=o[p],S=C.parent){if(y=P.get(S),!y)throw new Error("missing: "+S);if(y===$I)throw new Error("ambiguous: "+S);y.children?y.children.push(C):y.children=[C],C.parent=y}else{if(v)throw new Error("multiple roots");v=C}if(!v)throw new Error("no root");if(n!=null){for(;v.data===uB&&v.children.length===1;)v=v.children[0],--c;for(let _=o.length-1;_>=0&&(C=o[_],C.data===uB);--_)C.data=null}if(v.parent=Yfe,v.eachBefore(function(_){_.depth=_.parent.depth+1,--c}).eachBefore(NI),v.parent=null,c>0)throw new Error("cycle");return v}return r.id=function(a){return arguments.length?(e=sB(a),r):e},r.parentId=function(a){return arguments.length?(t=sB(a),r):t},r.path=function(a){return arguments.length?(n=sB(a),r):n},r}function Xfe(e){e=`${e}`;let t=e.length;return cB(e,t-1)&&!cB(e,t-2)&&(e=e.slice(0,-1)),e[0]==="/"?e:`/${e}`}function QI(e){let t=e.length;if(t<2)return"";for(;--t>1&&!cB(e,t););return e.slice(0,t)}function cB(e,t){if(e[t]==="/"){let n=0;for(;t>0&&e[--t]==="\\";)++n;if(!(n&1))return!0}return!1}var Cm={},fB={exports:{}},Sa={};/**
45
+ </svg>`,hie={class:"dnd-double-chip__top"},vie=["innerHTML"],mie=["title"],gie={class:"dnd-double-chip__title"},yie=["innerHTML"],wie={class:"dnd-double-chip__bottom"},Cie=d.defineComponent({__name:"DndDoubleChip",props:{id:{},title:{},options:{},type:{},modelValue:{},error:{type:Boolean}},emits:["close-chip","update:modelValue"],setup(e,{emit:t}){const n=e,r=t,a=d.ref(n.modelValue);return d.watch(()=>a.value,o=>{r("update:modelValue",o)}),(o,l)=>(d.openBlock(),d.createElementBlock("div",{ref:"chipRoot",class:d.normalizeClass([{error:o.error},"dnd-double-chip"]),draggable:"true"},[d.createElementVNode("div",hie,[d.createElementVNode("div",{class:"dnd-double-chip__icon",innerHTML:o.error?d.unref(yI):o.type==="string"?d.unref(Gb):d.unref(jb)},null,8,vie),d.createElementVNode("div",{class:"dnd-double-chip__title-wrapper",title:o.title},[d.createElementVNode("div",gie,d.toDisplayString(o.title),1)],8,mie),d.createElementVNode("div",{innerHTML:d.unref(gI),class:"dnd-double-chip__icon-close",onClick:l[0]||(l[0]=u=>o.$emit("close-chip",n.id))},null,8,yie)]),d.createElementVNode("div",wie,[d.createVNode(d.unref(Du),{modelValue:a.value,"onUpdate:modelValue":l[1]||(l[1]=u=>a.value=u),options:o.options},null,8,["modelValue","options"])])],2))}}),Eie=["innerHTML"],bie={class:"dnd-basket-chip__title-wrapper"},Bie=["title"],Sie=["title"],xie=["innerHTML"],kie=d.defineComponent({__name:"DndBasketChip",props:{error:{type:Boolean},info:{}},emits:["close-chip"],setup(e,{emit:t}){const n=e,r=t,a=d.ref(),o=d.computed(()=>n.info.uniqueValues.map(u=>n.info.valueLabels[u]).join("/"));function l(){r("close-chip",n.info.id)}return(u,c)=>(d.openBlock(),d.createElementBlock("div",{ref_key:"chipRoot",ref:a,class:d.normalizeClass([{error:u.error},"dnd-basket-chip"])},[d.createElementVNode("div",{class:"dnd-basket-chip__icon",innerHTML:u.error?d.unref(yI):u.info.type==="string"?d.unref(Gb):d.unref(jb)},null,8,Eie),d.createElementVNode("div",bie,[d.createElementVNode("div",{class:"dnd-basket-chip__title",title:u.info.title},d.toDisplayString(u.info.title),9,Bie),u.info.nonHomogenous?(d.openBlock(),d.createElementBlock("div",{key:0,class:"dnd-basket-chip__sub-title",title:o.value},d.toDisplayString(o.value),9,Sie)):d.createCommentVNode("",!0)]),d.createElementVNode("div",{innerHTML:d.unref(gI),class:"dnd-basket-chip__icon-close",onClick:l},null,8,xie)],2))}}),Tie={class:"dnd-basket__title"},_ie={key:0,class:"dnd-basket__required"},Pie={class:"dnd-basket__drop-container"},Hie={key:0,class:"dnd-basket__placeholder"},Die={class:"dnd-basket__chip-wrapper"},Ew=d.defineComponent({__name:"DndBasket",props:{id:{},title:{},multiple:{type:Boolean},isFilter:{type:Boolean},required:{type:Boolean},disabled:{type:Boolean},consistency:{},droppedIds:{},availableIds:{},selectedFilters:{},info:{},draggedId:{}},emits:["drop-item","remove-item","select-filter-value"],setup(e,{emit:t}){const n=e,r=t,a=d.ref();let o=d.reactive(n.selectedFilters??{});const l=d.computed(()=>!(n.disabled||!n.multiple&&n.droppedIds.length>0)),u=d.computed(()=>n.disabled?"1 true":!l.value&&n.draggedId?"2 true":!1);d.watch(()=>n.selectedFilters,()=>{o=d.reactive(n.selectedFilters??{})});function c(){a.value&&!n.disabled&&l.value&&a.value.classList.add("active")}function f(){a.value&&a.value.classList.remove("active")}function p(C){C.stopPropagation(),l.value&&(n.draggedId&&r("drop-item",{draggedId:n.draggedId,id:n.id}),f())}function v(C){C.preventDefault()}function y(C){C.preventDefault(),c()}return(C,S)=>(d.openBlock(),d.createElementBlock("div",{ref_key:"basketRoot",ref:a,class:d.normalizeClass([u.value?"disabled":"","dnd-basket"]),dropzone:"true",onDrop:p,onDragenter:v,onDragover:y,onDragleave:f},[d.createElementVNode("div",Tie,[C.required?(d.openBlock(),d.createElementBlock("span",_ie,S[0]||(S[0]=[d.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"6",height:"16",viewBox:"0 0 6 16",fill:"none"},[d.createElementVNode("path",{d:"M2.01685 6.8L3 5.34159L3.97612 6.8L4.89607 6.12743L3.81461 4.7469L5.5 4.25133L5.14888 3.16106L3.50562 3.77699L3.56882 2H2.43118L2.49438 3.77699L0.851124 3.16106L0.5 4.25133L2.18539 4.7469L1.09691 6.12743L2.01685 6.8Z",fill:"#F1222F"})],-1)]))):d.createCommentVNode("",!0),d.createTextVNode(" "+d.toDisplayString(C.title),1)]),d.createElementVNode("div",Pie,[C.droppedIds.length?d.createCommentVNode("",!0):(d.openBlock(),d.createElementBlock("div",Hie," Drop dimensions here ")),d.createElementVNode("div",Die,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(C.droppedIds,(x,P)=>(d.openBlock(),d.createElementBlock(d.Fragment,{key:x},[C.isFilter?(d.openBlock(),d.createBlock(Cie,{key:1,modelValue:d.unref(o)[x],"onUpdate:modelValue":[_=>d.unref(o)[x]=_,_=>C.$emit("select-filter-value",{v:_,idx:P})],error:C.consistency[x]===!1,options:C.info[x].uniqueValues.map(_=>({value:_,text:C.info[x].valueLabels[_]})),id:C.info[x].id,type:C.info[x].type,title:C.info[x].title,onCloseChip:_=>C.$emit("remove-item",{chipId:x,basketId:C.id})},null,8,["modelValue","onUpdate:modelValue","error","options","id","type","title","onCloseChip"])):(d.openBlock(),d.createBlock(kie,{key:0,error:C.consistency[x]===!1,info:C.info[x],onCloseChip:_=>C.$emit("remove-item",{chipId:x,basketId:C.id})},null,8,["error","info","onCloseChip"]))],64))),128))])])],34))}}),Mie=["innerHTML"],Iie={class:"dnd-chip__title-wrapper"},Rie=["title"],Lie=["title"],N1=d.defineComponent({__name:"DndChip",props:{info:{}},emits:["dragstart","dragend"],setup(e,{emit:t}){const n=e,r=t,a=d.ref(),o=d.computed(()=>n.info.uniqueValues.map(c=>n.info.valueLabels[c]).join("/"));function l(c){var f,p;(f=c.dataTransfer)==null||f.clearData(),(p=c.dataTransfer)==null||p.setData("text/plain",n.info.id),r("dragstart",n.info.id),c.target.style.opacity="0.4",a.value&&a.value.classList.toggle("drag-active")}function u(c){r("dragend",n.info.id),c.target.style.opacity="1",a.value&&a.value.classList.toggle("drag-active")}return(c,f)=>(d.openBlock(),d.createElementBlock("div",{ref_key:"chipRoot",ref:a,draggable:"true",class:"dnd-chip",onDragstart:l,onDragend:u},[d.createElementVNode("div",{class:"dnd-chip__icon",innerHTML:c.info.type==="string"?d.unref(Gb):d.unref(jb)},null,8,Mie),d.createElementVNode("div",Iie,[d.createElementVNode("div",{class:"dnd-chip__title",title:c.info.title},d.toDisplayString(c.info.title),9,Rie),c.info.nonHomogenous?(d.openBlock(),d.createElementBlock("div",{key:0,class:"dnd-chip__sub-title",title:o.value},d.toDisplayString(o.value),9,Lie)):d.createCommentVNode("",!0)])],544))}}),Nie={class:"data-form-input-item"},$ie={key:0,class:"metadata-block"},Fie={class:"metadata-block__items"},Qie={key:1,class:"metadata-block"},Vie={class:"metadata-block__items"},Oie=d.defineComponent({__name:"DiscreteForm",setup(e){const t=xi(),n=t.value.reactive.optionsState,r=d.toRef(t.value.reactive,"optionsState"),a=d.computed(()=>t.value.inputGuide.value);function o(z){return gw(r,z,t.value.controller,t.value.columnsDataStore)}function l(z){return mw(r,z,t.value.controller,t.value.columnsDataStore)}function u(z){return vw(r,z,t.value.controller,t.value.columnsDataStore,d.computed(()=>a.value.components.filters.filterValueOptions))}const c=d.ref({y:o("y"),filters:u("filters"),tabBy:u("tabBy"),primaryGrouping:l("primaryGrouping"),secondaryGrouping:l("secondaryGrouping"),facetBy:l("facetBy")}),f=d.computed(()=>yw(n,a)),p=d.computed(()=>hI(a,y)),v=d.computed(()=>vI(a,y));d.watch(()=>t.value.commonHelpersData.primaryGroups.value,Hb(t));const y=["filters","primaryGrouping","secondaryGrouping","tabBy","facetBy"],C={filters:"Filter",primaryGrouping:"Primary grouping",secondaryGrouping:"Secondary grouping",tabBy:"Tab by",facetBy:"Facet by"},S=d.ref(null),x=d.computed(()=>{const z=new Set;return y.forEach(j=>{f.value[j].forEach(X=>{z.add(X.value)}),n.components[j].selectorStates.forEach(X=>{z.add(X.selectedSource)})}),Cw(a.value,[...z])});function P(z){return n.components[z].selectorStates.reduce((j,X)=>(j[X.selectedSource]=String(X.selectedFilterValue),j),{})}function _(z){c.value[z.id]=[...c.value[z.id],z.draggedId],S.value=null}function H(z){c.value[z.basketId]=c.value[z.basketId].filter(j=>j!==z.chipId)}function D(z){return new Set(a.value.components[z].options.map(j=>j.value))}function G(z){return a.value.components[z].stateConsistency}function Q(z){return!a.value.readyData||f.value[z].length===0||S.value!==null&&!x.value[S.value].availableBasketIds.has(z)}const F=d.computed(()=>y.map(z=>{const j=a.value.components[z],X="filterValueOptions"in j&&z!=="tabBy",re={id:z,title:C[z],isFilter:X,multiple:j.multipleSelectors,required:j.required,disabled:Q(z),consistency:G(z),draggedId:S.value,availableIds:D(z),droppedIds:c.value[z],info:x.value,listeners:{"drop-item":_,"remove-item":H}};return X&&(re.selectedFilters=P(z),re.listeners["select-filter-value"]=Z=>{n.components[z].selectorStates[Z.idx].selectedFilterValue=Z.v}),re}));function N(){S.value=null}return(z,j)=>(d.openBlock(),d.createBlock(hw,null,{dataVar:d.withCtx(()=>[d.createElementVNode("div",Nie,[d.createVNode(d.unref(Du),{modelValue:c.value.y,"onUpdate:modelValue":j[0]||(j[0]=X=>c.value.y=X),options:f.value.y,error:d.unref(zb)("y",a.value),label:"Y:",clearable:""},null,8,["modelValue","options","error"])]),v.value.length>0?(d.openBlock(),d.createElementBlock("div",$ie,[j[3]||(j[3]=d.createElementVNode("div",{class:"title"},"Dimensions",-1)),d.createElementVNode("div",Fie,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(v.value,({id:X})=>(d.openBlock(),d.createBlock(N1,{key:X,info:x.value[X],onDragstart:j[1]||(j[1]=re=>S.value=re),onDragend:N},null,8,["info"]))),128))])])):d.createCommentVNode("",!0),p.value.length>0?(d.openBlock(),d.createElementBlock("div",Qie,[j[4]||(j[4]=d.createElementVNode("div",{class:"title"},"Metadata",-1)),d.createElementVNode("div",Vie,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(p.value,({id:X})=>(d.openBlock(),d.createBlock(N1,{key:X,info:x.value[X],onDragstart:j[2]||(j[2]=re=>S.value=re),onDragend:N},null,8,["info"]))),128))])])):d.createCommentVNode("",!0)]),chartVar:d.withCtx(()=>[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(F.value,X=>(d.openBlock(),d.createElementBlock("div",{key:X.id,class:"data-form-input-item"},[d.createVNode(Ew,d.mergeProps({ref_for:!0},X,d.toHandlers(X.listeners)),null,16)]))),128))]),_:1}))}}),Uie={class:"data-form-input-item"},zie={class:"data-form-input-item",style:{"margin-top":"10px"}},Gie={key:0,class:"metadata-block"},jie={class:"metadata-block__items"},Yie={key:1,class:"metadata-block"},Wie={class:"metadata-block__items"},wI=d.defineComponent({__name:"ScatterplotForm",setup(e){const t=xi(),n=t.value.reactive.optionsState,r=d.toRef(t.value.reactive,"optionsState"),a=d.computed(()=>t.value.inputGuide.value);function o(z){return gw(r,z,t.value.controller,t.value.columnsDataStore)}function l(z){return mw(r,z,t.value.controller,t.value.columnsDataStore)}function u(z){return vw(r,z,t.value.controller,t.value.columnsDataStore,d.computed(()=>a.value.components.filters.filterValueOptions))}const c=d.ref({x:o("x"),y:o("y"),filters:u("filters"),tabBy:u("tabBy"),grouping:l("grouping"),facetBy:l("facetBy")}),f=["filters","grouping","tabBy","facetBy"],p={filters:"Filter",grouping:"Grouping",tabBy:"Tab by",facetBy:"Facet by"},v=d.computed(()=>yw(n,a)),y=d.computed(()=>hI(a,f)),C=d.computed(()=>vI(a,f)),S=d.ref(null),x=d.computed(()=>{const z=new Set;return f.forEach(j=>{v.value[j].forEach(X=>{z.add(X.value)}),n.components[j].selectorStates.forEach(X=>{z.add(X.selectedSource)})}),Cw(a.value,[...z])});function P(z){return n.components[z].selectorStates.reduce((j,X)=>(j[X.selectedSource]=String(X.selectedFilterValue),j),{})}function _(z){c.value[z.id]=[...c.value[z.id],z.draggedId],S.value=null}function H(z){c.value[z.basketId]=c.value[z.basketId].filter(j=>j!==z.chipId)}function D(z){return new Set(a.value.components[z].options.map(j=>j.value))}function G(z){return a.value.components[z].stateConsistency}function Q(z){return!a.value.readyData||v.value[z].length===0||S.value!==null&&!x.value[S.value].availableBasketIds.has(z)}const F=d.computed(()=>f.map(z=>{const j=a.value.components[z],X="filterValueOptions"in j&&z!=="tabBy",re={id:z,title:p[z],isFilter:X,multiple:j.multipleSelectors,required:j.required,disabled:Q(z),consistency:G(z),draggedId:S.value,availableIds:D(z),droppedIds:c.value[z],info:x.value,listeners:{"drop-item":_,"remove-item":H}};return X&&(re.selectedFilters=P(z),re.listeners["select-filter-value"]=Z=>{n.components[z].selectorStates[Z.idx].selectedFilterValue=Z.v}),re}));function N(){S.value=null}return(z,j)=>(d.openBlock(),d.createBlock(hw,null,{dataVar:d.withCtx(()=>[d.createElementVNode("div",Uie,[d.createVNode(d.unref(Du),{label:"X:",clearable:"",modelValue:c.value.x,"onUpdate:modelValue":j[0]||(j[0]=X=>c.value.x=X),options:v.value.x},null,8,["modelValue","options"])]),d.createElementVNode("div",zie,[d.createVNode(d.unref(Du),{label:"Y:",clearable:"",modelValue:c.value.y,"onUpdate:modelValue":j[1]||(j[1]=X=>c.value.y=X),options:v.value.y},null,8,["modelValue","options"])]),C.value.length>0?(d.openBlock(),d.createElementBlock("div",Gie,[j[4]||(j[4]=d.createElementVNode("div",{class:"title"},"Dimensions",-1)),d.createElementVNode("div",jie,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(C.value,({id:X})=>(d.openBlock(),d.createBlock(N1,{key:X,info:x.value[X],onDragstart:j[2]||(j[2]=re=>S.value=re),onDragend:N},null,8,["info"]))),128))])])):d.createCommentVNode("",!0),y.value.length>0?(d.openBlock(),d.createElementBlock("div",Yie,[j[5]||(j[5]=d.createElementVNode("div",{class:"title"},"Metadata",-1)),d.createElementVNode("div",Wie,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(y.value,({id:X})=>(d.openBlock(),d.createBlock(N1,{key:X,info:x.value[X],onDragstart:j[3]||(j[3]=re=>S.value=re),onDragend:N},null,8,["info"]))),128))])])):d.createCommentVNode("",!0)]),chartVar:d.withCtx(()=>[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(F.value,X=>(d.openBlock(),d.createElementBlock("div",{key:X.id,class:"data-form-input-item"},[d.createVNode(Ew,d.mergeProps({ref_for:!0},X,d.toHandlers(X.listeners)),null,16)]))),128))]),_:1}))}}),Kie={class:"data-form-input-item"},Xie={key:0,class:"metadata-block"},Zie={class:"metadata-block__items"},Jie={key:1,class:"metadata-block"},qie={class:"metadata-block__items"},eoe=d.defineComponent({__name:"HeatmapForm",setup(e){const t=xi(),n=t.value.reactive.optionsState,r=d.toRef(t.value.reactive,"optionsState"),a=d.computed(()=>t.value.inputGuide.value);function o(j){return gw(r,j,t.value.controller,t.value.columnsDataStore)}function l(j){return mw(r,j,t.value.controller,t.value.columnsDataStore)}function u(j){return vw(r,j,t.value.controller,t.value.columnsDataStore,d.computed(()=>a.value.components.filters.filterValueOptions))}const c=d.ref({value:o("value"),xGroupBy:l("xGroupBy"),yGroupBy:l("yGroupBy"),x:l("x"),y:l("y"),annotations:l("annotations"),filters:u("filters"),tabBy:u("tabBy"),facetBy:l("facetBy")}),f=d.computed(()=>yw(n,a)),p=d.computed(()=>ww(a,C)),v=d.computed(()=>p.value.filter(j=>j.info.kind==="axis")),y=d.computed(()=>p.value.filter(j=>j.info.kind==="column")),C=["filters","x","y","xGroupBy","yGroupBy","tabBy","facetBy","annotations"],S={filters:"Filter",x:"X",y:"Y",xGroupBy:"X group",yGroupBy:"Y group",tabBy:"Tab by",facetBy:"Facet by",annotations:"Annotations"},x=d.ref(null),P=d.computed(()=>{const j=new Set;return C.forEach(X=>{f.value[X].forEach(re=>{j.add(re.value)}),n.components[X].selectorStates.forEach(re=>{j.add(re.selectedSource)})}),Cw(a.value,[...j])});function _(j){return n.components[j].selectorStates.reduce((X,re)=>(X[re.selectedSource]=String(re.selectedFilterValue),X),{})}function H(j){c.value[j.id]=[...c.value[j.id],j.draggedId],x.value=null}function D(j){c.value[j.basketId]=c.value[j.basketId].filter(X=>X!==j.chipId)}function G(j){return new Set(a.value.components[j].options.map(X=>X.value))}function Q(j){return a.value.components[j].stateConsistency}function F(j){return!a.value.readyData||f.value[j].length===0||x.value!==null&&!P.value[x.value].availableBasketIds.has(j)}const N=d.computed(()=>C.map(j=>{const X=a.value.components[j],re="filterValueOptions"in X&&j!=="tabBy",Z={id:j,title:S[j],isFilter:re,multiple:X.multipleSelectors,required:X.required,disabled:F(j),consistency:Q(j),draggedId:x.value,availableIds:G(j),droppedIds:c.value[j],info:P.value,listeners:{"drop-item":H,"remove-item":D}};return re&&(Z.selectedFilters=_(j),Z.listeners["select-filter-value"]=ne=>{n.components[j].selectorStates[ne.idx].selectedFilterValue=ne.v}),Z}));function z(){x.value=null}return(j,X)=>(d.openBlock(),d.createBlock(hw,null,{dataVar:d.withCtx(()=>[d.createElementVNode("div",Kie,[d.createVNode(d.unref(Du),{label:"Data source:",clearable:"",modelValue:c.value.value,"onUpdate:modelValue":X[0]||(X[0]=re=>c.value.value=re),options:f.value.value,error:d.unref(zb)("value",a.value)},null,8,["modelValue","options","error"])]),v.value.length>0?(d.openBlock(),d.createElementBlock("div",Xie,[X[3]||(X[3]=d.createElementVNode("div",{class:"title"},"Dimensions",-1)),d.createElementVNode("div",Zie,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(v.value,({id:re})=>(d.openBlock(),d.createBlock(N1,{key:re,info:P.value[re],onDragstart:X[1]||(X[1]=Z=>x.value=Z),onDragend:z},null,8,["info"]))),128))])])):d.createCommentVNode("",!0),y.value.length>0?(d.openBlock(),d.createElementBlock("div",Jie,[X[4]||(X[4]=d.createElementVNode("div",{class:"title"},"Metadata",-1)),d.createElementVNode("div",qie,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(y.value,({id:re})=>(d.openBlock(),d.createBlock(N1,{key:re,info:P.value[re],onDragstart:X[2]||(X[2]=Z=>x.value=Z),onDragend:z},null,8,["info"]))),128))])])):d.createCommentVNode("",!0)]),chartVar:d.withCtx(()=>[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(N.value,re=>(d.openBlock(),d.createElementBlock("div",{key:re.id,class:"data-form-input-item"},[d.createVNode(Ew,d.mergeProps({ref_for:!0},re,d.toHandlers(re.listeners)),null,16)]))),128))]),_:1}))}}),toe={class:"data-form-input-item"},noe={key:0,class:"metadata-block"},roe={class:"metadata-block__items"},aoe={key:1,class:"metadata-block"},ioe={class:"metadata-block__items"},ooe={key:0,class:"data-form-input-item"},loe=d.defineComponent({__name:"DendroForm",setup(e){const t=xi(),n=t.value.reactive.optionsState,r=d.toRef(t.value.reactive,"optionsState"),a=d.computed(()=>t.value.inputGuide.value);function o(j){return gw(r,j,t.value.controller,t.value.columnsDataStore)}function l(j){return mw(r,j,t.value.controller,t.value.columnsDataStore)}function u(j){return vw(r,j,t.value.controller,t.value.columnsDataStore,d.computed(()=>a.value.components.filters.filterValueOptions))}const c=d.ref({value:o("value"),tableContent:l("tableContent"),heatmapAnnotation:l("heatmapAnnotation"),heatmapForSequence:l("heatmapForSequence"),filters:u("filters"),tabBy:u("tabBy"),height:l("height"),labels:l("labels"),nodeShape:l("nodeShape"),nodeColor:l("nodeColor"),lineColor:l("lineColor"),heatmapAxis:l("heatmapAxis"),heatmapGroup:l("heatmapGroup")});d.watch(()=>c.value.nodeShape,j=>{t.value.reactive.layersSettings.dendro.dotShape=j.length?{type:"nodeShape",value:j[0]}:kb}),d.watch(()=>c.value.nodeColor,j=>{t.value.reactive.layersSettings.dendro.dotFill=j.length?{type:"nodeColor",value:j[0]}:As}),d.watch(()=>c.value.lineColor,j=>{t.value.reactive.layersSettings.dendro.lineColor=j.length?{type:"lineColor",value:j[0]}:As});const f=d.computed(()=>yw(n,a)),p=d.computed(()=>ww(a,y)),v=d.computed(()=>p.value.filter(j=>j.info.kind==="axis")),y=["height","tableContent","labels","heatmapAnnotation","heatmapAxis","heatmapGroup","heatmapForSequence","nodeShape","nodeColor","lineColor"],C={height:"Connections length",tableContent:"Table/tooltip content",labels:"Labels",heatmapAnnotation:"Heatmap annotation",heatmapAxis:"Heatmap axis",heatmapGroup:"Heatmap group",heatmapForSequence:"Heatmap sequence",nodeShape:"Node shape",nodeColor:"Node color",lineColor:"Line color"},S=d.ref(null),x=d.computed(()=>{const j=new Set;return y.forEach(X=>{f.value[X].forEach(re=>{j.add(re.value)}),n.components[X].selectorStates.forEach(re=>{j.add(re.selectedSource)})}),Cw(a.value,[...j])});function P(j){c.value[j.id]=[...c.value[j.id],j.draggedId],S.value=null}function _(j){c.value[j.basketId]=c.value[j.basketId].filter(X=>X!==j.chipId)}function H(j){return new Set(a.value.components[j].options.map(X=>X.value))}function D(j){return a.value.components[j].stateConsistency}function G(j){return!a.value.readyData||f.value[j].length===0||S.value!==null&&!x.value[S.value].availableBasketIds.has(j)}const Q=d.computed(()=>y.map(j=>{const X=a.value.components[j];return{id:j,title:C[j],isFilter:!1,multiple:X.multipleSelectors,required:X.required,disabled:G(j),consistency:D(j),draggedId:S.value,availableIds:H(j),droppedIds:c.value[j],info:x.value,listeners:{"drop-item":P,"remove-item":_}}}));function F(j){return j==="heatmapAxis"||j==="heatmapGroup"?c.value.heatmapAnnotation!==null:!0}function N(){S.value=null}return["value"].forEach(j=>{d.watch([()=>c.value[j],()=>f.value],([X,re])=>{(typeof X>"u"||mI("value",a.value))&&re[j]&&re[j].length&&t.value.controller.changeSelected(j,t.value.columnsDataStore,t.value.reactive.optionsState,[re[j][0].value])},{immediate:!0})}),(j,X)=>(d.openBlock(),d.createBlock(hw,null,{dataVar:d.withCtx(()=>[d.createElementVNode("div",toe,[d.createVNode(d.unref(Du),{label:"Data source:",modelValue:c.value.value,"onUpdate:modelValue":X[0]||(X[0]=re=>c.value.value=re),options:f.value.value,error:d.unref(zb)("value",a.value)},null,8,["modelValue","options","error"])]),v.value.length>0?(d.openBlock(),d.createElementBlock("div",noe,[X[3]||(X[3]=d.createElementVNode("div",{class:"title"},"Dimensions",-1)),d.createElementVNode("div",roe,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(v.value,({id:re})=>(d.openBlock(),d.createBlock(N1,{key:re,info:x.value[re],onDragstart:X[1]||(X[1]=Z=>S.value=Z),onDragend:N},null,8,["info"]))),128))])])):d.createCommentVNode("",!0),p.value.length>0?(d.openBlock(),d.createElementBlock("div",aoe,[X[4]||(X[4]=d.createElementVNode("div",{class:"title"},"Metadata",-1)),d.createElementVNode("div",ioe,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(p.value,({id:re})=>(d.openBlock(),d.createBlock(N1,{key:re,info:x.value[re],onDragstart:X[2]||(X[2]=Z=>S.value=Z),onDragend:N},null,8,["info"]))),128))])])):d.createCommentVNode("",!0)]),chartVar:d.withCtx(()=>[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(Q.value,re=>(d.openBlock(),d.createElementBlock(d.Fragment,{key:re.id},[F(re.id)?(d.openBlock(),d.createElementBlock("div",ooe,[d.createVNode(Ew,d.mergeProps({ref_for:!0},re,d.toHandlers(re.listeners)),null,16)])):d.createCommentVNode("",!0)],64))),128))]),_:1}))}}),soe={class:"data-form"},uoe=d.defineComponent({__name:"index",setup(e){const t=xi();return(n,r)=>(d.openBlock(),d.createElementBlock("div",soe,[d.unref(t).reactive.chartType==="discrete"?(d.openBlock(),d.createBlock(Oie,{key:0})):d.createCommentVNode("",!0),d.unref(t).reactive.chartType==="scatterplot"?(d.openBlock(),d.createBlock(wI,{key:1})):d.createCommentVNode("",!0),d.unref(t).reactive.chartType==="scatterplot-umap"?(d.openBlock(),d.createBlock(wI,{key:2})):d.createCommentVNode("",!0),d.unref(t).reactive.chartType==="heatmap"?(d.openBlock(),d.createBlock(eoe,{key:3})):d.createCommentVNode("",!0),d.unref(t).reactive.chartType==="dendro"?(d.openBlock(),d.createBlock(loe,{key:4})):d.createCommentVNode("",!0)]))}}),coe={class:"collapsable-block-content"},vp=d.defineComponent({__name:"CollapsableBlock",props:{iconOpen:{},icon:{},title:{},settings:{}},setup(e){var o,l,u,c,f;const t=e,n=d.ref(((o=t.settings)==null?void 0:o.defaultState)!=="open"),r={},a={};return(l=t.settings)!=null&&l.height&&(a["--title-height"]=`${(u=t.settings)==null?void 0:u.height}px`),(c=t.settings)!=null&&c.horizontalPadding&&(r.padding=`0 ${(f=t.settings)==null?void 0:f.horizontalPadding}px`),(p,v)=>(d.openBlock(),d.createElementBlock("div",{class:d.normalizeClass(["collapsable-block-container",{minimized:n.value,maximized:!n.value}]),style:a},[d.createElementVNode("div",{class:"collapsable-block-title",onClick:v[0]||(v[0]=y=>n.value=!n.value),style:r},[t.icon?(d.openBlock(),d.createBlock(d.resolveDynamicComponent(!n.value&&t.iconOpen?t.iconOpen:t.icon),{key:0})):d.createCommentVNode("",!0),d.createElementVNode("span",null,d.toDisplayString(t.title),1)]),d.createElementVNode("div",coe,[d.renderSlot(p.$slots,"default")])],2))}}),foe={},Aoe={class:"inline-icon",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function doe(e,t){return d.openBlock(),d.createElementBlock("svg",Aoe,t[0]||(t[0]=[d.createElementVNode("path",{d:"M6 11.3773C6 11.8102 6.51272 12.0386 6.83448 11.749L10.5871 8.37165C10.8077 8.17303 10.8077 7.82697 10.5871 7.62835L6.83448 4.25103C6.51272 3.96145 6 4.1898 6 4.62268V11.3773Z",fill:"#CFD1DB"},null,-1)]))}const l3=Nr(foe,[["render",doe]]),poe={},hoe={class:"inline-icon",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function voe(e,t){return d.openBlock(),d.createElementBlock("svg",hoe,t[0]||(t[0]=[d.createElementVNode("path",{d:"M4.70711 6.00018C4.26165 6.00018 4.03857 6.53875 4.35355 6.85374L7.64645 10.1466C7.84171 10.3419 8.15829 10.3419 8.35355 10.1466L11.6464 6.85374C11.9614 6.53875 11.7383 6.00018 11.2929 6.00018H4.70711Z",fill:"#CFD1DB"},null,-1)]))}const s3=Nr(poe,[["render",voe]]),moe=["tabindex","onKeydown","onClick"],u3=d.defineComponent({__name:"BtnIconGroup",props:{modelValue:{},options:{},disabled:{type:Boolean}},emits:["update:modelValue"],setup(e,{emit:t}){d.useSlots();const n=t,r=a=>n("update:modelValue",a);return(a,o)=>(d.openBlock(),d.createElementBlock("div",{class:d.normalizeClass(["btn-icon-group",{disabled:a.disabled}])},[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(a.options,(l,u)=>(d.openBlock(),d.createElementBlock("div",{key:l.value+":"+u,class:d.normalizeClass(["btn-icon-group__option",{active:a.modelValue===l.value}]),tabindex:a.modelValue===l.value||a.disabled?void 0:0,onKeydown:d.withKeys(c=>r(l.value),["enter"]),onClick:c=>r(l.value)},[(d.openBlock(),d.createBlock(d.resolveDynamicComponent(l.icon)))],42,moe))),128))],2))}}),goe={},yoe={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"};function woe(e,t){return d.openBlock(),d.createElementBlock("svg",yoe,t[0]||(t[0]=[d.createElementVNode("path",{d:"M4 19L4 5C4 4.44772 4.44772 4 5 4L19 4C19.5523 4 20 4.44772 20 5L20 19C20 19.5523 19.5523 20 19 20L5 20C4.44772 20 4 19.5523 4 19Z",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"square"},null,-1)]))}const Yb=Nr(goe,[["render",woe]]),Coe={},Eoe={width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function boe(e,t){return d.openBlock(),d.createElementBlock("svg",Eoe,t[0]||(t[0]=[d.createStaticVNode('<path d="M4.25 1H5.75" stroke="currentColor" stroke-width="1.5"></path><path d="M8.25 1H9.75" stroke="currentColor" stroke-width="1.5"></path><path d="M12.25 1H13.75" stroke="currentColor" stroke-width="1.5"></path><path d="M16.25 1H17.75" stroke="currentColor" stroke-width="1.5"></path><path d="M0.25 17H1.75" stroke="currentColor" stroke-width="1.5"></path><path d="M4.25 17H5.75" stroke="currentColor" stroke-width="1.5"></path><path d="M8.25 17H9.75" stroke="currentColor" stroke-width="1.5"></path><path d="M12.25 17H13.75" stroke="currentColor" stroke-width="1.5"></path><path d="M16.25 17H17.75" stroke="currentColor" stroke-width="1.5"></path><path d="M17 0.25L17 1.75" stroke="currentColor" stroke-width="1.5"></path><path d="M17 4.25L17 5.75" stroke="currentColor" stroke-width="1.5"></path><path d="M17 8.25L17 9.75" stroke="currentColor" stroke-width="1.5"></path><path d="M17 12.25L17 13.75" stroke="currentColor" stroke-width="1.5"></path><path d="M1 0.25L1 1.75" stroke="currentColor" stroke-width="1.5"></path><path d="M1 4.25L1 5.75" stroke="currentColor" stroke-width="1.5"></path><path d="M1 8.25L1 9.75" stroke="currentColor" stroke-width="1.5"></path><path d="M1 12.25L1 13.75" stroke="currentColor" stroke-width="1.5"></path>',17)]))}const Wb=Nr(Coe,[["render",boe]]),Boe={},Soe={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"};function xoe(e,t){return d.openBlock(),d.createElementBlock("svg",Soe,t[0]||(t[0]=[d.createElementVNode("path",{d:"M8.8148 18.2251C6.6173 18.2251 5.0498 16.6576 5.0498 14.4601V10.7401C5.0498 8.5426 6.6173 6.9751 8.8148 6.9751C11.0123 6.9751 12.5798 8.5426 12.5798 10.7401V14.4601C12.5798 16.6576 11.0123 18.2251 8.8148 18.2251ZM6.6473 14.5576C6.6473 15.7651 7.60731 16.7251 8.8148 16.7251C10.0223 16.7251 10.9823 15.7651 10.9823 14.5576V10.6276C10.9823 9.4276 10.0223 8.4676 8.8148 8.4676C7.60731 8.4676 6.6473 9.4276 6.6473 10.6276V14.5576Z",fill:"currentColor"},null,-1),d.createElementVNode("path",{d:"M15.8738 12.3751C14.3888 12.3751 13.1738 11.1751 13.1738 9.6751C13.1738 8.2051 14.4338 6.9751 15.8738 6.9751C17.3588 6.9751 18.5738 8.1751 18.5738 9.6751C18.5738 11.1751 17.3588 12.3751 15.8738 12.3751ZM14.5313 9.6751C14.5313 10.4026 15.1463 11.0176 15.8738 11.0176C16.6013 11.0176 17.2163 10.4026 17.2163 9.6751C17.2163 8.9476 16.6013 8.3326 15.8738 8.3326C15.1463 8.3326 14.5313 8.9476 14.5313 9.6751Z",fill:"currentColor"},null,-1)]))}const CI=Nr(Boe,[["render",xoe]]),koe={},Toe={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"};function _oe(e,t){return d.openBlock(),d.createElementBlock("svg",Toe,t[0]||(t[0]=[d.createElementVNode("path",{d:"M5.75684 18.0001V16.1176H0.881836V14.6326L4.39184 7.2001H6.18434L2.67434 14.6326H5.75684V11.7076H7.34684V14.6326H8.41934V16.1176H7.34684V18.0001H5.75684Z",fill:"currentColor"},null,-1),d.createElementVNode("path",{d:"M12.5224 18.2251C10.8574 18.2251 9.46242 17.1226 9.01992 15.5476L10.5274 15.1426C10.7749 16.1026 11.6674 16.7101 12.5674 16.7101C13.7524 16.7101 14.6899 15.7576 14.6899 14.6026C14.6899 13.4176 13.7224 12.4876 12.5674 12.4876C11.6824 12.4876 11.0749 12.9076 10.7374 13.3576L9.37242 12.8776L9.70242 7.2001H15.5299V8.6776H11.1049L10.9249 11.6476C11.4574 11.2651 12.1324 11.0626 12.7699 11.0626C14.7874 11.0626 16.2724 12.5776 16.2724 14.6026C16.2724 16.6126 14.5399 18.2251 12.5224 18.2251Z",fill:"currentColor"},null,-1),d.createElementVNode("path",{d:"M19.265 12.3751C17.78 12.3751 16.565 11.1751 16.565 9.6751C16.565 8.2051 17.825 6.9751 19.265 6.9751C20.75 6.9751 21.965 8.1751 21.965 9.6751C21.965 11.1751 20.75 12.3751 19.265 12.3751ZM17.9225 9.6751C17.9225 10.4026 18.5375 11.0176 19.265 11.0176C19.9925 11.0176 20.6075 10.4026 20.6075 9.6751C20.6075 8.9476 19.9925 8.3326 19.265 8.3326C18.5375 8.3326 17.9225 8.9476 17.9225 9.6751Z",fill:"currentColor"},null,-1)]))}const EI=Nr(koe,[["render",_oe]]),Poe={},Hoe={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"};function Doe(e,t){return d.openBlock(),d.createElementBlock("svg",Hoe,t[0]||(t[0]=[d.createElementVNode("path",{d:"M4.6132 6.9826C6.7057 6.9826 8.3257 8.6026 8.3257 10.8301V14.2726C8.3257 16.6351 6.7432 18.2251 4.4557 18.2251C3.3157 18.2251 2.2882 17.7901 1.5532 16.9426L2.7007 15.8701C3.1132 16.4026 3.7582 16.7401 4.4557 16.7401C5.7982 16.7401 6.7282 15.6601 6.7282 14.4751V13.1851C6.1207 13.7926 5.2957 14.1526 4.4032 14.1526C2.3857 14.1526 0.908203 12.6226 0.908203 10.6051C0.908203 8.5801 2.5957 6.9826 4.6132 6.9826ZM2.4982 10.6051C2.4982 11.7751 3.4357 12.7201 4.6057 12.7201C5.7757 12.7201 6.7282 11.7751 6.7282 10.6051C6.7282 9.4501 5.7832 8.4901 4.6132 8.4901C3.4432 8.4901 2.4982 9.4351 2.4982 10.6051Z",fill:"currentColor"},null,-1),d.createElementVNode("path",{d:"M13.2846 18.2251C11.0871 18.2251 9.51961 16.6576 9.51961 14.4601V10.7401C9.51961 8.5426 11.0871 6.9751 13.2846 6.9751C15.4821 6.9751 17.0496 8.5426 17.0496 10.7401V14.4601C17.0496 16.6576 15.4821 18.2251 13.2846 18.2251ZM11.1171 14.5576C11.1171 15.7651 12.0771 16.7251 13.2846 16.7251C14.4921 16.7251 15.4521 15.7651 15.4521 14.5576V10.6276C15.4521 9.4276 14.4921 8.4676 13.2846 8.4676C12.0771 8.4676 11.1171 9.4276 11.1171 10.6276V14.5576Z",fill:"currentColor"},null,-1),d.createElementVNode("path",{d:"M20.3436 12.3751C18.8586 12.3751 17.6436 11.1751 17.6436 9.6751C17.6436 8.2051 18.9036 6.9751 20.3436 6.9751C21.8286 6.9751 23.0436 8.1751 23.0436 9.6751C23.0436 11.1751 21.8286 12.3751 20.3436 12.3751ZM19.0011 9.6751C19.0011 10.4026 19.6161 11.0176 20.3436 11.0176C21.0711 11.0176 21.6861 10.4026 21.6861 9.6751C21.6861 8.9476 21.0711 8.3326 20.3436 8.3326C19.6161 8.3326 19.0011 8.9476 19.0011 9.6751Z",fill:"currentColor"},null,-1)]))}const bI=Nr(Poe,[["render",Doe]]),Moe={},Ioe={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Roe(e,t){return d.openBlock(),d.createElementBlock("svg",Ioe,t[0]||(t[0]=[d.createStaticVNode('<path d="M4 4L4 20" stroke="currentColor" stroke-width="1.5" stroke-linecap="square"></path><path d="M7.25 4H8.75" stroke="currentColor" stroke-width="1.5"></path><path d="M11.25 4H12.75" stroke="currentColor" stroke-width="1.5"></path><path d="M15.25 4H16.75" stroke="currentColor" stroke-width="1.5"></path><path d="M19.25 4H20.75" stroke="currentColor" stroke-width="1.5"></path><path d="M7.25 20H8.75" stroke="currentColor" stroke-width="1.5"></path><path d="M11.25 20H12.75" stroke="currentColor" stroke-width="1.5"></path><path d="M15.25 20H16.75" stroke="currentColor" stroke-width="1.5"></path><path d="M19.25 20H20.75" stroke="currentColor" stroke-width="1.5"></path><path d="M20 3.25L20 4.75" stroke="currentColor" stroke-width="1.5"></path><path d="M20 7.25L20 8.75" stroke="currentColor" stroke-width="1.5"></path><path d="M20 11.25L20 12.75" stroke="currentColor" stroke-width="1.5"></path><path d="M20 15.25L20 16.75" stroke="currentColor" stroke-width="1.5"></path>',13)]))}const BI=Nr(Moe,[["render",Roe]]),Loe={},Noe={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function $oe(e,t){return d.openBlock(),d.createElementBlock("svg",Noe,t[0]||(t[0]=[d.createStaticVNode('<path d="M20 20L4 20" stroke="currentColor" stroke-width="1.5" stroke-linecap="square"></path><path d="M7.25 4H8.75" stroke="currentColor" stroke-width="1.5"></path><path d="M11.25 4H12.75" stroke="currentColor" stroke-width="1.5"></path><path d="M15.25 4H16.75" stroke="currentColor" stroke-width="1.5"></path><path d="M19.25 4H20.75" stroke="currentColor" stroke-width="1.5"></path><path d="M20 3.25L20 4.75" stroke="currentColor" stroke-width="1.5"></path><path d="M20 7.25L20 8.75" stroke="currentColor" stroke-width="1.5"></path><path d="M20 11.25L20 12.75" stroke="currentColor" stroke-width="1.5"></path><path d="M20 15.25L20 16.75" stroke="currentColor" stroke-width="1.5"></path><path d="M4 3.25L4 4.75" stroke="currentColor" stroke-width="1.5"></path><path d="M4 7.25L4 8.75" stroke="currentColor" stroke-width="1.5"></path><path d="M4 11.25L4 12.75" stroke="currentColor" stroke-width="1.5"></path><path d="M4 15.25L4 16.75" stroke="currentColor" stroke-width="1.5"></path>',13)]))}const SI=Nr(Loe,[["render",$oe]]),Foe={},Qoe={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Voe(e,t){return d.openBlock(),d.createElementBlock("svg",Qoe,t[0]||(t[0]=[d.createStaticVNode('<path d="M4 4L4 19C4 19.5523 4.44772 20 5 20L20 20" stroke="currentColor" stroke-width="1.5" stroke-linecap="square"></path><path d="M7.25 4H8.75" stroke="currentColor" stroke-width="1.5"></path><path d="M11.25 4H12.75" stroke="currentColor" stroke-width="1.5"></path><path d="M15.25 4H16.75" stroke="currentColor" stroke-width="1.5"></path><path d="M19.25 4H20.75" stroke="currentColor" stroke-width="1.5"></path><path d="M20 3.25L20 4.75" stroke="currentColor" stroke-width="1.5"></path><path d="M20 7.25L20 8.75" stroke="currentColor" stroke-width="1.5"></path><path d="M20 11.25L20 12.75" stroke="currentColor" stroke-width="1.5"></path><path d="M20 15.25L20 16.75" stroke="currentColor" stroke-width="1.5"></path>',9)]))}const xI=Nr(Foe,[["render",Voe]]),Ooe={inheritAttrs:!1},Uoe={class:"double-contour-temp"};function zoe(e,t,n,r,a,o){return d.openBlock(),d.createElementBlock("div",Uoe,[d.createElementVNode("div",d.normalizeProps(d.guardReactiveProps(e.$attrs)),[d.renderSlot(e.$slots,"default")],16)])}const Kb=Nr(Ooe,[["render",zoe]]),Goe={},joe={class:"inline-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Yoe(e,t){return d.openBlock(),d.createElementBlock("svg",joe,t[0]||(t[0]=[d.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M10.5951 8.76689C9.7962 8.43389 8.91957 8.25 8 8.25C4.27208 8.25 1.25 11.2721 1.25 15C1.25 18.7279 4.27208 21.75 8 21.75C11.7279 21.75 14.75 18.7279 14.75 15C14.75 12.7693 13.6679 10.7913 12 9.56231C11.5866 9.86693 11.2092 10.2176 10.8753 10.6067C12.3055 11.5446 13.25 13.162 13.25 15C13.25 17.8995 10.8995 20.25 8 20.25C5.10051 20.25 2.75 17.8995 2.75 15C2.75 12.1005 5.10051 9.75 8 9.75C8.51 9.75 9.00302 9.82272 9.46924 9.95836C9.80438 9.52487 10.1817 9.12566 10.5951 8.76689Z",fill:"#110529"},null,-1),d.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12 2.75C9.10051 2.75 6.75 5.10051 6.75 8C6.75 10.8995 9.10051 13.25 12 13.25C14.8995 13.25 17.25 10.8995 17.25 8C17.25 5.10051 14.8995 2.75 12 2.75ZM5.25 8C5.25 4.27208 8.27208 1.25 12 1.25C15.7279 1.25 18.75 4.27208 18.75 8C18.75 11.7279 15.7279 14.75 12 14.75C8.27208 14.75 5.25 11.7279 5.25 8Z",fill:"#07AD3E"},null,-1),d.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M21.25 15C21.25 12.9441 20.0683 11.1643 18.3471 10.3026C18.5192 9.82834 18.6396 9.32933 18.7016 8.81237C21.0847 9.85434 22.75 12.2327 22.75 15C22.75 18.7279 19.7279 21.75 16 21.75C13.9499 21.75 12.1132 20.836 10.8753 19.3933C11.2961 19.1174 11.6749 18.7825 12 18.4005C12.963 19.5322 14.3977 20.25 16 20.25C18.8995 20.25 21.25 17.8995 21.25 15ZM11.1556 17.0269C10.8943 16.4032 10.75 15.7185 10.75 15C10.75 12.1005 13.1005 9.75 16 9.75C16.3146 9.75 16.6227 9.77767 16.922 9.83069C17.0939 9.36877 17.2026 8.87611 17.2376 8.36321C16.8364 8.28886 16.4227 8.25 16 8.25C12.2721 8.25 9.25 11.2721 9.25 15C9.25 16.139 9.53213 17.2122 10.0303 18.1534C10.481 17.8626 10.8653 17.4779 11.1556 17.0269Z",fill:"#110529"},null,-1)]))}const Woe=Nr(Goe,[["render",Yoe]]),Koe={key:4,class:"size"},Xb=d.defineComponent({__name:"AesButton",props:{data:{}},emits:["ref"],setup(e,{emit:t}){const n=e,r=n.data.type==="fill"||n.data.type==="stroke",a=d.computed(()=>({icon__white:r&&n.data.value.toLowerCase()==="#ffffff",icon__empty:r&&n.data.value.toLowerCase()==="transparent"})),o=d.computed(()=>n.data.type==="fill"?{"background-color":n.data.value}:n.data.type==="stroke"&&!a.value.icon__empty&&!a.value.icon__white?{"border-color":n.data.value}:{});return(l,u)=>(d.openBlock(),d.createElementBlock("div",{class:"ui-aes-button",ref:c=>l.$emit("ref",c)},[d.createVNode(Kb,{class:"ui-multiselect-button__contour"}),l.data.type==="fill"?(d.openBlock(),d.createElementBlock("div",{key:0,class:d.normalizeClass(["icon icon__fill",a.value]),style:d.normalizeStyle(o.value)},null,6)):l.data.type==="stroke"?(d.openBlock(),d.createElementBlock("div",{key:1,class:d.normalizeClass(["icon icon__stroke",a.value]),style:d.normalizeStyle(o.value)},null,6)):l.data.type==="dotShape"?(d.openBlock(),d.createElementBlock("div",{key:2,class:d.normalizeClass(["icon dot",{[`dot__${l.data.value}`]:!0}])},null,2)):l.data.type==="lineType"?(d.openBlock(),d.createElementBlock("div",{key:3,class:d.normalizeClass(["icon icon__line",{[`line__${l.data.value}`]:!0}])},null,2)):l.data.type==="size"?(d.openBlock(),d.createElementBlock("span",Koe,d.toDisplayString(l.data.value),1)):l.data.type==="data"?(d.openBlock(),d.createBlock(d.resolveDynamicComponent(Woe),{key:5,class:"icon"})):d.createCommentVNode("",!0)],512))}}),Xoe={},Zoe={class:"inline-icon",xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"};function Joe(e,t){return d.openBlock(),d.createElementBlock("svg",Zoe,t[0]||(t[0]=[d.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M2 8L7.53033 13.5303L8.59099 12.4697L4.87132 8.75L14.0607 8.75L14.0607 7.25L4.87132 7.25L8.59099 3.53033L7.53033 2.46967L2 8Z",fill:"#110529"},null,-1)]))}const qoe=Nr(Xoe,[["render",Joe]]),ele={ref:"root",class:"aes-settings-form"},tle={class:"aes-settings-form__header"},bw=d.defineComponent({__name:"FormWrapper",props:{title:{},backTitle:{}},emits:["form:close"],setup(e,{emit:t}){return(n,r)=>(d.openBlock(),d.createBlock(d.Teleport,{to:"#graph-settings-modal"},[d.createElementVNode("div",ele,[d.createElementVNode("div",tle,[d.createElementVNode("div",{onClick:r[0]||(r[0]=d.withModifiers(a=>n.$emit("form:close"),["stop"])),class:"back-link"},[(d.openBlock(),d.createBlock(d.resolveDynamicComponent(qoe))),d.createTextVNode(" "+d.toDisplayString(`Back to ${n.backTitle}`),1)]),d.createElementVNode("h3",null,d.toDisplayString(n.title),1)]),d.renderSlot(n.$slots,"default")],512)]))}}),nle={class:"ui-multiselect-button__content"},rle={key:0,class:"title"},ale={key:1,class:"gradient"},ile=6,ole=d.defineComponent({__name:"MultiselectButton",props:{label:{},title:{},palette:{},iconColor:{}},emits:["button-click"],setup(e,{emit:t}){const n=d.ref(void 0);Nb(n);function r(a){const o=100/(a.length-1);return`background: linear-gradient(to right, ${a.map((l,u)=>`${l} ${u*o}%`).join(", ")})`}return(a,o)=>(d.openBlock(),d.createElementBlock("div",{ref_key:"root",ref:n,class:"ui-multiselect-button",onClick:o[0]||(o[0]=d.withModifiers(l=>a.$emit("button-click"),["stop"]))},[a.label?(d.openBlock(),d.createElementBlock("label",{key:0,ref:"label"},d.toDisplayString(a.label),513)):d.createCommentVNode("",!0),d.createVNode(Kb,{class:"ui-multiselect-button__contour"}),d.createElementVNode("div",nle,[a.title?(d.openBlock(),d.createElementBlock("div",rle,d.toDisplayString(a.title),1)):d.createCommentVNode("",!0),a.palette&&d.unref(eb)(a.palette)?(d.openBlock(),d.createElementBlock("div",ale,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(d.unref(qu)[a.palette].colors.slice(0,ile),l=>(d.openBlock(),d.createElementBlock("div",{class:"gradient__item",style:d.normalizeStyle({background:l})},null,4))),256))])):a.palette?(d.openBlock(),d.createElementBlock("div",{key:2,class:"gradient",style:d.normalizeStyle(r(d.unref(qu)[a.palette].colors))},null,4)):(d.openBlock(),d.createBlock(d.unref(nw),{key:3,class:"icon",name:"chevron-right"}))])],512))}}),lle={class:"palettes-groups"},sle={class:"palettes-list"},ule=["onClick"],cle={class:"palette-gradient"},fle={class:"palettes-list"},Ale=["onClick"],dle={class:"palettes-list"},ple=["onClick"],hle=9,vle=d.defineComponent({__name:"PalettesForm",props:{selected:{}},emits:["select"],setup(e,{emit:t}){const n=t;function r(o){n("select",o)}function a(o){const l=100/(o.length-1);return`background: linear-gradient(to right, ${o.map((u,c)=>`${u} ${c*l}%`).join(", ")})`}return(o,l)=>(d.openBlock(),d.createElementBlock("div",lle,[l[0]||(l[0]=d.createElementVNode("div",{class:"section-title"},[d.createElementVNode("span",null,"CATEGORICAL")],-1)),l[1]||(l[1]=d.createElementVNode("div",{class:"section-description"}," Best to representing categorical data ",-1)),d.createElementVNode("div",sle,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(d.unref(HD),u=>(d.openBlock(),d.createElementBlock("div",{class:d.normalizeClass(["palettes-list__palette",{selected:o.selected===u}]),onClick:d.withModifiers(c=>r(u),["stop"])},[d.createElementVNode("div",null,d.toDisplayString(d.unref(qu)[u].title),1),d.createElementVNode("div",cle,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(d.unref(qu)[u].colors.slice(0,hle),c=>(d.openBlock(),d.createElementBlock("div",{class:"palette-gradient__item",style:d.normalizeStyle({background:c})},null,4))),256))])],10,ule))),256))]),l[2]||(l[2]=d.createElementVNode("div",{class:"section-title"},[d.createElementVNode("span",null,"SEQUENTIAL")],-1)),l[3]||(l[3]=d.createElementVNode("div",{class:"section-description"}," Best to representing sequential data ",-1)),d.createElementVNode("div",fle,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(d.unref(GJ),u=>(d.openBlock(),d.createElementBlock("div",{class:d.normalizeClass(["palettes-list__palette",{selected:o.selected===u}]),onClick:d.withModifiers(c=>r(u),["stop"])},[d.createElementVNode("div",null,d.toDisplayString(d.unref(qu)[u].title),1),d.createElementVNode("div",{class:"palette-gradient",style:d.normalizeStyle(a(d.unref(qu)[u].colors))},null,4)],10,Ale))),256))]),l[4]||(l[4]=d.createElementVNode("div",{class:"section-title"},[d.createElementVNode("span",null,"DIVERGING")],-1)),l[5]||(l[5]=d.createElementVNode("div",{class:"section-description"}," Best to representing diverging data ",-1)),d.createElementVNode("div",dle,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(d.unref(jJ),u=>(d.openBlock(),d.createElementBlock("div",{class:d.normalizeClass(["palettes-list__palette",{selected:o.selected===u}]),onClick:d.withModifiers(c=>r(u),["stop"])},[d.createElementVNode("div",null,d.toDisplayString(d.unref(qu)[u].title),1),d.createElementVNode("div",{class:"palette-gradient",style:d.normalizeStyle(a(d.unref(qu)[u].colors))},null,4)],10,ple))),256))])]))}}),mle=["onClick"],kI=d.defineComponent({__name:"FixedColorsList",props:{modelValue:{},colorUsing:{default:"fill"},colorsList:{default:()=>Ug}},emits:["update:modelValue"],setup(e,{emit:t}){return(n,r)=>(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(n.colorsList,a=>(d.openBlock(),d.createElementBlock("div",{key:a.color,class:d.normalizeClass(["color-item",{border:n.colorUsing==="stroke",white:a.name==="White",empty:a.name==="None",selected:a.color===n.modelValue}]),style:d.normalizeStyle(a.name!=="White"&&a.name!=="None"?`${n.colorUsing==="fill"?"background":"border-color"}: ${a.color};`:""),onClick:o=>n.$emit("update:modelValue",a.color)},r[0]||(r[0]=[d.createElementVNode("div",{class:"checkmark"},null,-1)]),14,mle))),128))}}),gle=["onClick"],yle={class:"row-item__title"},TI=d.defineComponent({__name:"FixedLineTypeList",props:{modelValue:{},list:{default:()=>gy}},emits:["update:modelValue"],setup(e,{emit:t}){return(n,r)=>(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(n.list,a=>(d.openBlock(),d.createElementBlock("div",{key:a,class:d.normalizeClass(["row-item",{"row-item__selected":a===n.modelValue,[`line__${a}`]:!0}]),onClick:o=>n.$emit("update:modelValue",a)},[d.createElementVNode("div",yle,d.toDisplayString(d.unref(WJ)[a].title),1),(d.openBlock(),d.createElementBlock("svg",{class:d.normalizeClass(["row-item__line line",{[`line__${a}`]:!0}])},r[0]||(r[0]=[d.createElementVNode("line",{x1:"0",x2:"100%",y1:"50%",y2:"50%"},null,-1)]),2))],10,gle))),128))}}),wle=["onClick"],_I=d.defineComponent({__name:"FixedDotShapeList",props:{modelValue:{},list:{default:()=>my}},emits:["update:modelValue"],setup(e,{emit:t}){return(n,r)=>(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(n.list,a=>(d.openBlock(),d.createElementBlock("div",{key:a,class:d.normalizeClass(["color-item dot",{selected:a===n.modelValue,[`dot__${a}`]:!0}]),onClick:o=>n.$emit("update:modelValue",a)},null,10,wle))),128))}}),PI=d.defineComponent({__name:"Popup",props:{gap:{default:8},targetRef:{},width:{default:258},height:{}},emits:["popup:close"],setup(e,{emit:t}){const n=t,r=e;function a(){n("popup:close")}const o=d.ref(),l=d.ref(r.targetRef),u=d.ref("bottom"),c=d.ref(""),f=d.ref("");function p(v,y=8){Mb(v,C=>{if(r.height&&C.offsetY+C.height+3*y+r.height>C.clientHeight){const x=C.right-C.width-y;if(C.clientHeight-C.offsetY>r.height+y){const P=C.offsetY;c.value=`left: ${x}px; top: ${P}px;`,f.value="top: 16px;",u.value="left-bottom"}else{const P=C.clientHeight-r.height-2*y;c.value=`left: ${x}px; top: ${P}px;`;const _=C.offsetY+2*Math.floor(C.height/2),H=C.clientHeight-_;f.value=`bottom: ${H}px;`,u.value="left-bottom"}}else c.value=`left: ${C.right}px; top: ${C.offsetY+C.height+y}px;`,f.value="",u.value="bottom"})}return p(l,r.gap),tw([l,o],()=>a()),(v,y)=>(d.openBlock(),d.createBlock(d.Teleport,{to:"body"},[d.createElementVNode("div",{class:"popup",style:d.normalizeStyle(c.value),onClick:y[0]||(y[0]=C=>C.stopPropagation())},[d.createElementVNode("div",{ref_key:"popup",ref:o,class:d.normalizeClass(["popup__content",u.value]),style:d.normalizeStyle({width:`${v.width}px`})},[d.createElementVNode("div",null,[d.renderSlot(v.$slots,"default")]),(d.openBlock(),d.createElementBlock("svg",{style:d.normalizeStyle(f.value),class:"beak",width:"5",height:"9",viewBox:"0 0 3 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"},y[1]||(y[1]=[d.createElementVNode("path",{d:"M4 8L0 4L4 0L4 8 Z"},null,-1),d.createElementVNode("polyline",{points:"4,8 0,4 4,0"},null,-1)]),4))],6)],4)]))}}),Cle={},Ele={xmlns:"http://www.w3.org/2000/svg",width:"8",height:"12",viewBox:"0 0 8 12",fill:"none"};function ble(e,t){return d.openBlock(),d.createElementBlock("svg",Ele,t[0]||(t[0]=[d.createStaticVNode('<path d="M2.5 0H0.5V2H2.5V0Z" fill="#CFD1DB"></path><path d="M2.5 5H0.5V7H2.5V5Z" fill="#CFD1DB"></path><path d="M0.5 10H2.5V12H0.5V10Z" fill="#CFD1DB"></path><path d="M7.5 0H5.5V2H7.5V0Z" fill="#CFD1DB"></path><path d="M5.5 5H7.5V7H5.5V5Z" fill="#CFD1DB"></path><path d="M7.5 10H5.5V12H7.5V10Z" fill="#CFD1DB"></path>',6)]))}const Ble=Nr(Cle,[["render",ble]]);var Sle=Object.defineProperty,xle=(e,t,n)=>t in e?Sle(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Zb=(e,t,n)=>xle(e,typeof t!="symbol"?t+"":t,n);function kle(e,t){if(e==null)throw Error(t??"Empty (null | undefined) value");return e}function Tle(e,t){if(e===void 0)throw Error(t??"Undefined value");return e}function _le(e=void 0){return e}function Ple(e){return e}function Hle(e){return[...new Set(e)]}function Dle(e,t){if(e==null)throw Error(t??"Empty (null | undefined) value")}function Mle(e,t){if(e===void 0)throw Error(t??"Undefined value")}function Ile(e,t,n){const r=Math.min(t,n),a=Math.max(t,n);return e>=r&&e<=a}function Rle(e){return e.map(t=>({text:String(t),value:t}))}function Lle(e){return function(...t){const n=e(...t);async function r(a){return a.done?Promise.resolve(a.value):Promise.resolve(a.value).then(o=>r(n.next(o))).catch(o=>r(n.throw(o)))}try{return r(n.next())}catch(a){return Promise.reject(a)}}}class Nle{constructor(){Zb(this,"promise"),Zb(this,"resolve",()=>{}),Zb(this,"reject",()=>{}),this.promise=new Promise((t,n)=>{this.resolve=t,this.reject=n})}}function Jb(e){return new Promise(t=>setTimeout(t,e))}function $le(){return new Promise(e=>queueMicrotask(e))}function Fle(){const e=new Date().getTime();return function(){return new Date().getTime()-e}}function Qle(){const e=performance.now();return function(){return performance.now()-e}}function Vle(e){return e()}function Ole(e,t,n){return t>e?t:e>n?n:e}function Ule(e,t){return t(e)}function zle(e,t){if(e!=null)return t(e)}function Gle(e,t){return e=Math.ceil(e),t=Math.floor(t),Math.floor(Math.random()*(t-e))+e}function*HI(e,t,n=1){for(let r=e;r<t;r+=n)yield r}function DI(e){const t=[];for(const n of e)t.push(n);return t}function jle(e,t){return DI(HI(0,e)).map(t)}class Yle{constructor(t){this._delay=t}async*generate(){let t=0;for(;;)await Jb(this._delay),yield t++}async*[Symbol.asyncIterator](){let t=0;for(;;)await Jb(this._delay),yield t++}}function Wle(e,t){return Array.from({length:e},(n,r)=>t(r))}function Kle(e,t){throw Error(t)}function Xle(e){return t=>e[t]()}function Zle(e){if(e&&e.ok)return e.value}function Jle(e){if(e&&!e.ok)return e.error}function qle(e){if(e.ok)return e.value;throw Error(e.error)}function ese(e){return Array.isArray(e)?e:[e]}async function tse(e){return Object.fromEntries(await Promise.all(Object.entries(e).map(async([t,n])=>[t,await n])))}function nse(e,t){return Object.keys(t).every(n=>e[n]===t[n])}const rse=e=>e;function ase(e){return e}function ise(e){return Object.entries(e).map(([t,n])=>({key:t,value:n}))}const e7=Object.freeze(Object.defineProperty({__proto__:null,Deferred:Nle,Interval:Yle,alike:nse,arrayFrom:Wle,asConst:ase,async:Lle,between:Ile,bool:Ple,call:Vle,checkIfDefined:Mle,checkIfNotEmpty:Dle,clamp:Ole,delay:Jb,errorOptional:Jle,exhaustive:Kle,flatValue:ese,identity:rse,listToOptions:Rle,match:Xle,notEmpty:kle,notUndef:Tle,okOptional:Zle,performanceTimer:Qle,randomInt:Gle,range:HI,resolveAwaited:tse,tap:Ule,tapIf:zle,tear:$le,timer:Fle,times:jle,toList:DI,undef:_le,unionize:ise,uniqueValues:Hle,unwrap:qle},Symbol.toStringTag,{value:"Module"})),qb=Array.isArray;function t7(e){return e!==null&&typeof e=="object"}function eB(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return t===null||t===Object.prototype||Object.getPrototypeOf(t)===null}function ose(e,t){return Object.keys(e).map(n=>t(e[n],n))}function MI(e,t){return t7(e)&&t7(t)?Object.keys(e).length!==Object.keys(t).length?!1:Object.keys(e).every(n=>MI(e[n],t[n])):e===t}function tB(e){if(Array.isArray(e)){const t=[];for(let n=0;n<e.length;n++)t[n]=tB(e[n]);return t}else if(t7(e)){const t={};return Object.keys(e).forEach(n=>{t[n]=tB(e[n])}),t}else return e}function lse(e){return Array.isArray(e)?Object.assign([],e):t7(e)?Object.assign({},e):e}function sse(e,t){const n={};for(const r in t)t[r]!==e[r]&&(n[r]=e[r]);return n}function use(e){return Object.entries(e).forEach(([t,n])=>{n instanceof Function&&(e[t]=n.bind(e))}),e}function cse(e,t,n){return e[t]=n,e}function fse(e,t){return e[t]}function Ase(e,t){e={...e};const n=e[t];return delete e[t],[n,e]}function dse(e,...t){return Object.assign({},...t.map(n=>({[n]:e[n]})))}function pse(e,...t){return t.map(n=>e[n])}function hse(e,...t){const n=Object.assign({},e);return t.forEach(r=>delete n[r]),n}function II(e,t){return new Set([...Object.keys(e),...Object.keys(t)]).forEach(n=>{const r=e[n],a=t[n];eB(r)&&eB(a)||qb(r)&&qb(a)&&r.length===a.length?II(r,a):e[n]=a}),e}const vse=Object.freeze(Object.defineProperty({__proto__:null,bindMethods:use,deepClone:tB,deepEqual:MI,deepPatch:II,getProp:fse,isArray:qb,isObject:t7,isPlainObject:eB,map:ose,omit:hse,pick:dse,pickValues:pse,setProp:cse,shallowClone:lse,shallowDiff:sse,shiftProp:Ase},Symbol.toStringTag,{value:"Module"})),Bw=1,mse=d.defineComponent({__name:"PlColorSliderThumb",props:{barRef:{},modelValue:{},min:{default:0},max:{default:100},getColorForPercent:{},padding:{default:16},isActive:{type:Boolean}},emits:["update:modelValue","active"],setup(e,{emit:t}){const n=e,r=t,a=d.ref(),o=d.ref(),l=d.ref(!1),u=n.min,c=n.max;let f=d.ref(0);const p=c-u,v=n.padding/n.barRef.getBoundingClientRect().width*100/2,y=d.computed(()=>e7.clamp((n.modelValue??0)+f.value,Math.ceil(u+v),Math.ceil(c-v))),C=d.computed(()=>({right:`calc(${Math.ceil((1-S.value)*100)}%) `})),S=d.computed(()=>(y.value-u)/p);function x(G){const Q=e7.clamp(G,u,c);return Math.round((Q+Number.EPSILON)*(1/Bw))/(1/Bw)}function P(){l.value=!1}function _(G){G?(document.addEventListener("mouseup",P),document.addEventListener("focusout",P)):(document.removeEventListener("mouseup",P),document.removeEventListener("focusout",P)),l.value=G,r("active",G)}jM(a,G=>{var Q;e7.tapIf((Q=d.unref(n.barRef))==null?void 0:Q.getBoundingClientRect(),F=>{const{dx:N}=G;f.value=N/F.width*p,G.stop&&(r("update:modelValue",x(y.value)),f.value=0)})});function H(G){["ArrowDown","ArrowUp","ArrowRight","ArrowLeft","Enter"].includes(G.code)&&G.preventDefault(),G.code==="ArrowLeft"&&r("update:modelValue",e7.clamp(n.modelValue-Bw,u,c)),G.code==="ArrowRight"&&r("update:modelValue",e7.clamp(n.modelValue+Bw,u,c))}function D(G){var Q,F;G?(Q=o.value)==null||Q.classList.add("pl-color-slider__top-index"):(F=o.value)==null||F.classList.remove("pl-color-slider__top-index")}return(G,Q)=>(d.openBlock(),d.createElementBlock("div",{ref_key:"wrapper",ref:o,style:d.normalizeStyle(C.value),class:d.normalizeClass([{"active-thumb":l.value||G.isActive},"pl-color-slider__thumb"]),tabindex:"0",onMousedown:Q[2]||(Q[2]=F=>_(!0)),onMouseup:Q[3]||(Q[3]=F=>_(!1)),onKeydown:H,onFocus:Q[4]||(Q[4]=F=>_(!0))},[d.createElementVNode("div",{ref_key:"thumb",ref:a,class:d.normalizeClass([{active:l.value},"pl-color-slider__thumb-roof"]),onMouseover:Q[0]||(Q[0]=F=>D(!0)),onMouseout:Q[1]||(Q[1]=F=>D(!1))},[d.createElementVNode("div",{class:"pl-color-slider__thumb-color-indicator",style:d.normalizeStyle({backgroundColor:G.getColorForPercent(y.value)})},null,4)],34)],38))}}),gse={class:"pl-color-slider"},yse={class:"pl-color-slider__wrapper"},wse={class:"pl-color-slider__thumbs-contaier"},Cse=d.defineComponent({__name:"PlColorSlider",props:{colors:{},modelValue:{},getColorForPercent:{type:Function},active:{}},emits:["update:modelValue","active"],setup(e,{emit:t}){const n=e,r=t,a=d.ref(),o=d.reactive({}),l=d.ref(-1);d.watch(()=>n.modelValue,()=>{n.modelValue.forEach((p,v)=>o[v]=p)},{immediate:!0});const u=d.computed(()=>Math.floor(l.value!==-1?0-l.value:0)),c=d.computed(()=>Math.floor(l.value!==-1?100+l.value:100));d.watch(()=>o,p=>{r("update:modelValue",Object.values(p))},{deep:!0});const f=d.computed(()=>{const p=100/(n.colors.length-1);return`linear-gradient(to right, ${n.colors.map((y,C)=>`${y} ${p*C}%`).join(", ")})`});return d.onMounted(()=>{let p=16,v=a.value.getBoundingClientRect().width-p*2;l.value=p/v*100}),(p,v)=>(d.openBlock(),d.createElementBlock("div",gse,[d.createElementVNode("div",yse,[d.createElementVNode("div",{ref_key:"barRef",ref:a,class:"pl-color-slider__color-contaier"},[d.createElementVNode("div",{style:d.normalizeStyle({background:f.value}),class:"pl-color-slider__gradient"},null,4)],512),d.createElementVNode("div",wse,[a.value?(d.openBlock(!0),d.createElementBlock(d.Fragment,{key:0},d.renderList(p.modelValue,(y,C)=>(d.openBlock(),d.createBlock(mse,{modelValue:o[C],"onUpdate:modelValue":S=>o[C]=S,"is-active":p.active===C,key:C,min:u.value,max:c.value,"bar-ref":a.value,"get-color-for-percent":p.getColorForPercent,class:"pl-color-slider__thumb",tabindex:"0",onActive:S=>p.$emit("active",{index:C,status:S})},null,8,["modelValue","onUpdate:modelValue","is-active","min","max","bar-ref","get-color-for-percent","onActive"]))),128)):d.createCommentVNode("",!0)])])]))}}),Ese={class:"aes-mapping-block"},bse={style:{margin:"0 24px"}},Bse={class:"section-title"},Sse={style:{margin:"24px 0"}},xse={key:0,style:{margin:"24px 0"}},kse={key:0,class:"aes-settings-hint"},Tse={class:"column-value__title"},_se={class:"column-value__aes-group"},Pse=["onClick"],Hse=["onClick"],Dse=["onClick"],nB=d.defineComponent({__name:"AesDataMapping",props:{dataColumnLabel:{},columnValueLabels:{},usedAesInMapping:{},modelValue:{},allowReordering:{type:Boolean}},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,r=t,a=d.ref(!1),o=d.ref(n.modelValue.palette),l=d.computed(()=>eb(o.value)),u=d.ref(null),c=d.computed(()=>u.value===null?null:n.modelValue.order.indexOf(u.value)),f=d.ref(null),p=d.computed(()=>n.modelValue.order.map(X=>{var Z;const re=(Z=n.modelValue.mapping[X])==null?void 0:Z.aes;return{text:n.columnValueLabels[X],value:X,dotShape:re==null?void 0:re.dotShape,color:re==null?void 0:re.color,lineType:re==null?void 0:re.lineShape}}));function v(X){o.value=X,a.value=!1,r("update:modelValue",RM(X,n.modelValue.order))}function y(X,re,Z){r("update:modelValue",{...n.modelValue,mapping:{...n.modelValue.mapping,[X]:{...n.modelValue.mapping[X],aes:{...n.modelValue.mapping[X].aes,[re]:Z}}}})}const C=d.reactive({color:{},dotShape:{},lineType:{}});function S(X,re,Z){Z&&!C[X][re.value]&&(C[X][re.value]=Z)}function x(X,re){const Z=u.value===X.value&&f.value===re;u.value=Z?null:X.value,f.value=Z?null:re}function P(){u.value=null,f.value=null}const _=d.computed(()=>qu[o.value].colors.map(X=>({color:X,name:X}))),H=d.computed(()=>{if(f.value==="lineType")return gy.length*32+16*2;if(f.value==="dotShape")return Math.ceil(my.length/6)*36+20*2;if(f.value==="color")return Math.ceil(_.value.length/6)*36+20*2}),D=d.ref();n.allowReordering&&uie(D,{onChange(X){r("update:modelValue",{...n.modelValue,order:X.map(re=>n.modelValue.order[re])})}});function G(X,re,Z=0,ne=1){const ee=1/(X.length-1),ie=hi().domain(X.map((oe,Pe)=>Z+Pe*ee*(ne-Z))).range(X);return oe=>oe>ne||oe<Z?re:ie(oe)}const Q=d.computed(()=>G(qu[o.value].colors,DD)),F=d.computed(()=>G(qu[o.value].colors,DD,0,100)),N=d.ref(n.modelValue.order.map(X=>n.modelValue.mapping[X].colorIdx*100));d.watch(()=>n.modelValue,X=>{N.value=X.order.map(re=>X.mapping[re].colorIdx*100)});function z(X){X.forEach((re,Z)=>{const ne=n.modelValue.order[Z],ee=re/100;n.modelValue.mapping[ne].colorIdx!==ee&&r("update:modelValue",{...n.modelValue,mapping:{...n.modelValue.mapping,[ne]:{colorIdx:ee,aes:{...n.modelValue.mapping[ne].aes,color:Q.value(ee)}}}})})}function j(X){f.value="color",u.value=X.status?n.modelValue.order[X.index]:null}return(X,re)=>(d.openBlock(),d.createElementBlock("div",Ese,[d.createElementVNode("div",bse,[d.createElementVNode("div",Bse,[d.createElementVNode("span",null,d.toDisplayString(X.dataColumnLabel),1)]),d.createElementVNode("div",Sse,[d.createVNode(ole,{label:"Color Palette ",icon:"chevron-right",title:d.unref(qu)[o.value].title,palette:o.value,onButtonClick:re[0]||(re[0]=Z=>{a.value=!0,P()})},null,8,["title","palette"])]),l.value?d.createCommentVNode("",!0):(d.openBlock(),d.createElementBlock("div",xse,[d.createVNode(Cse,{modelValue:N.value,"onUpdate:modelValue":[re[1]||(re[1]=Z=>N.value=Z),z],colors:d.unref(qu)[o.value].colors,"get-color-for-percent":F.value,active:c.value,onActive:j},null,8,["modelValue","colors","get-color-for-percent","active"])])),a.value?(d.openBlock(),d.createBlock(bw,{key:1,title:"Color Palette","back-title":"Back to Color mapping","onForm:close":re[2]||(re[2]=Z=>a.value=!1)},{default:d.withCtx(()=>[d.createVNode(vle,{selected:o.value,onSelect:v},null,8,["selected"])]),_:1})):d.createCommentVNode("",!0)]),X.allowReordering?(d.openBlock(),d.createElementBlock("div",kse," Drag the rows to reorder ")):d.createCommentVNode("",!0),d.createElementVNode("div",{class:"column-values-list",ref_key:"optionsListRef",ref:D},[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(p.value,Z=>(d.openBlock(),d.createElementBlock("div",{class:d.normalizeClass(["column-value",{"column-value__with-reorder":X.allowReordering}])},[X.allowReordering?(d.openBlock(),d.createBlock(d.resolveDynamicComponent(Ble),{key:0,class:"column-value__reorder-icon"})):d.createCommentVNode("",!0),d.createElementVNode("div",Tse,d.toDisplayString(Z.text),1),d.createElementVNode("div",_se,[X.usedAesInMapping.lineType?(d.openBlock(),d.createElementBlock("div",{key:0,class:d.normalizeClass(["column-value__aes",{aes__selected:u.value===Z.value&&f.value==="lineType"&&!X.allowReordering}]),ref_for:!0,ref:ne=>S("lineType",Z,ne),onClick:d.withModifiers(ne=>x(Z,"lineType"),["stop"])},[d.createElementVNode("div",{class:d.normalizeClass(["icon__line line",{[`line__${Z.lineType}`]:!0}])},null,2)],10,Pse)):d.createCommentVNode("",!0),X.usedAesInMapping.dotShape?(d.openBlock(),d.createElementBlock("div",{key:1,class:d.normalizeClass(["column-value__aes",{aes__selected:u.value===Z.value&&f.value==="dotShape"&&!X.allowReordering}]),ref_for:!0,ref:ne=>S("dotShape",Z,ne),onClick:d.withModifiers(ne=>x(Z,"dotShape"),["stop"])},[d.createElementVNode("div",{class:d.normalizeClass(["dot",{[`dot__${Z.dotShape}`]:!0}])},null,2)],10,Hse)):d.createCommentVNode("",!0),X.usedAesInMapping.fill||X.usedAesInMapping.stroke?(d.openBlock(),d.createElementBlock("div",{key:2,class:d.normalizeClass(["column-value__aes",{aes__selected:u.value===Z.value&&f.value==="color"&&!X.allowReordering}]),ref_for:!0,ref:ne=>S("color",Z,ne),onClick:d.withModifiers(ne=>x(Z,"color"),["stop"])},[d.createElementVNode("div",{class:"column-value__color",style:d.normalizeStyle({background:Z.color})},null,4)],10,Dse)):d.createCommentVNode("",!0),!X.allowReordering&&(f.value!=="color"||l.value)&&f.value!==null&&u.value===Z.value?(d.openBlock(),d.createBlock(PI,{key:`${f.value}_${u.value}`,targetRef:C[f.value][u.value],"onPopup:close":P,height:H.value},{default:d.withCtx(()=>[d.createElementVNode("div",{class:d.normalizeClass(["fixed-aes-list",{"fixed-aes-list__rows":!1}])},[f.value==="lineType"?(d.openBlock(),d.createBlock(TI,{key:0,"onUpdate:modelValue":[ne=>y(Z.value,"lineShape",ne),ne=>Z.lineType=ne],modelValue:Z.lineType},null,8,["onUpdate:modelValue","modelValue"])):d.createCommentVNode("",!0),f.value==="dotShape"?(d.openBlock(),d.createBlock(_I,{key:1,"onUpdate:modelValue":[ne=>y(Z.value,"dotShape",ne),ne=>Z.dotShape=ne],modelValue:Z.dotShape},null,8,["onUpdate:modelValue","modelValue"])):d.createCommentVNode("",!0),f.value==="color"?(d.openBlock(),d.createBlock(kI,{key:2,"colors-list":_.value,"onUpdate:modelValue":[ne=>y(Z.value,"color",ne),ne=>Z.color=ne],modelValue:Z.color},null,8,["colors-list","onUpdate:modelValue","modelValue"])):d.createCommentVNode("",!0)])]),_:2},1032,["targetRef","height"])):d.createCommentVNode("",!0)])],2))),256))],512)]))}}),Mse={class:"axes-settings-list"},Ise={key:0,class:"axes-settings-options-row"},Rse={key:1,class:"axes-settings-options-row"},Lse={key:2,class:"axes-settings-options-row"},Nse={class:"axes-settings-options-row block"},$se={key:3},Fse={class:"axes-settings-options-row table"},Qse={class:"axes-settings-options-row table"},Vse={class:"axes-settings-options-row table"},Ose={class:"axes-settings-options-row block"},Use={key:0},zse={class:"axes-settings-options-row block"},Gse={class:"axes-settings-options-row table"},jse={class:"axes-settings-options-row table"},Yse={class:"other"},Wse={class:"axes-settings-options-row"},Kse={class:"axes-settings-options-row"},Xse={class:"axes-settings-options-row"},Zse={class:"axes-settings-options-row block"},Jse=d.defineComponent({__name:"DiscreteAxesSettingsForm",setup(e){const t=xi(),n=t.value.reactive.axesSettings,r={height:40,horizontalPadding:12,defaultState:"open"},a=[{value:"center",icon:CI},{value:"45deg",icon:EI},{value:"90deg",icon:bI}],o=[{value:"auto",text:"Auto"},{value:"custom",text:"Custom"},{value:"hide",text:"Hide"}],l=[{value:"linear",text:"Linear"},{value:"log",text:"Log"}],u=[{value:"empty",icon:Wb},{value:"left",icon:BI},{value:"bottom",icon:SI},{value:"left-bottom",icon:xI},{value:"full",icon:Yb}],c=d.computed(()=>t.value.inputGuide.value),f=d.ref(!1),p=d.ref(!1),v=d.computed(()=>{var F,N;return(N=(F=t.value.reactive.optionsState.components.primaryGrouping)==null?void 0:F.selectorStates[0])==null?void 0:N.selectedSource}),y=d.computed(()=>{var F,N;return(N=(F=t.value.reactive.optionsState.components.secondaryGrouping)==null?void 0:F.selectorStates[0])==null?void 0:N.selectedSource}),C=d.computed(()=>t.value.commonHelpersData.primaryGroups.value),S=d.computed(()=>t.value.commonHelpersData.secondaryGroups.value),x=d.computed(()=>t.value.commonHelpersData.usedAesInMapping.value),P=d.ref(t.value.reactive.dataBindAes[v.value]??qg(C.value)),_=d.ref(t.value.reactive.dataBindAes[y.value]??qg(S.value)),H=d.computed(()=>{if(v.value){const F=c.value.getSourceInfo(v.value)??null;return{selectedSourceInfo:F,labels:C.value.reduce((N,z)=>(N[z]=(F==null?void 0:F.valueLabels[z])??String(z),N),{})}}}),D=d.computed(()=>{if(y.value){const F=c.value.getSourceInfo(y.value)??null;return{selectedSourceInfo:F,labels:S.value.reduce((N,z)=>(N[z]=(F==null?void 0:F.valueLabels[z])??String(z),N),{})}}});function G(F,N){t.value.reactive.dataBindAes[N]=F}const Q=[{text:"X",value:"x"},{text:"Y",value:"y"},{text:"XY",value:"xy"},{text:"None",value:"none"}];return(F,N)=>(d.openBlock(),d.createElementBlock("div",{class:"axes-form",onClick:N[23]||(N[23]=z=>z.stopPropagation())},[N[34]||(N[34]=d.createElementVNode("h3",{class:"axes-title"}," Axes ",-1)),d.createElementVNode("div",Mse,[d.createVNode(vp,{title:"X-axis",settings:r,icon:l3,"icon-open":s3},{default:d.withCtx(()=>[C.value.length>1?(d.openBlock(),d.createElementBlock("div",Ise,[N[24]||(N[24]=d.createElementVNode("span",null,"Primary groups order: ",-1)),d.createVNode(Xb,{data:{type:"data",value:null},onClick:N[0]||(N[0]=z=>{f.value=!0})}),f.value&&H.value?(d.openBlock(),d.createBlock(bw,{key:0,title:"Reorder primary groups","back-title":"Axes Settings","onForm:close":N[3]||(N[3]=z=>f.value=!1)},{default:d.withCtx(()=>{var z;return[d.createVNode(nB,{"column-value-labels":H.value.labels,"data-column-label":((z=H.value.selectedSourceInfo)==null?void 0:z.label)??"","used-aes-in-mapping":x.value[v.value],"allow-reordering":"",modelValue:P.value,"onUpdate:modelValue":[N[1]||(N[1]=j=>P.value=j),N[2]||(N[2]=j=>G(j,v.value))]},null,8,["column-value-labels","data-column-label","used-aes-in-mapping","modelValue"])]}),_:1})):d.createCommentVNode("",!0)])):d.createCommentVNode("",!0),S.value.length>1?(d.openBlock(),d.createElementBlock("div",Rse,[N[25]||(N[25]=d.createElementVNode("span",null,"Secondary groups order: ",-1)),d.createVNode(Xb,{data:{type:"data",value:null},onClick:N[4]||(N[4]=z=>{p.value=!0})}),p.value&&D.value?(d.openBlock(),d.createBlock(bw,{key:0,title:"Reorder secondary groups","back-title":"Axes Settings","onForm:close":N[7]||(N[7]=z=>p.value=!1)},{default:d.withCtx(()=>{var z;return[d.createVNode(nB,{"column-value-labels":D.value.labels,"data-column-label":((z=D.value.selectedSourceInfo)==null?void 0:z.label)??"","used-aes-in-mapping":x.value[y.value],"allow-reordering":"",modelValue:_.value,"onUpdate:modelValue":[N[5]||(N[5]=j=>_.value=j),N[6]||(N[6]=j=>G(j,y.value))]},null,8,["column-value-labels","data-column-label","used-aes-in-mapping","modelValue"])]}),_:1})):d.createCommentVNode("",!0)])):d.createCommentVNode("",!0),d.unref(t).reactive.chartType==="discrete"?(d.openBlock(),d.createElementBlock("div",Lse,[N[26]||(N[26]=d.createElementVNode("span",null,"Labels rotation",-1)),d.createVNode(u3,{options:a,modelValue:d.unref(n).axisX.labelsRotation,"onUpdate:modelValue":N[8]||(N[8]=z=>d.unref(n).axisX.labelsRotation=z)},null,8,["modelValue"])])):d.createCommentVNode("",!0),d.createElementVNode("div",Nse,[d.createVNode(d.unref(tA),{label:"Title",options:o,modelValue:d.unref(n).axisX.titleMode,"onUpdate:modelValue":N[9]||(N[9]=z=>d.unref(n).axisX.titleMode=z)},null,8,["modelValue"])]),d.unref(n).axisX.titleMode==="custom"?(d.openBlock(),d.createElementBlock("div",$se,[d.createVNode(d.unref(t3),{label:"Text",placeholder:"Type",modelValue:d.unref(n).axisX.customTitle,"onUpdate:modelValue":N[10]||(N[10]=z=>d.unref(n).axisX.customTitle=z)},null,8,["modelValue"])])):d.createCommentVNode("",!0),d.createElementVNode("div",Fse,[N[27]||(N[27]=d.createElementVNode("span",null,"Gridlines",-1)),d.createVNode(d.unref(Ed),{modelValue:d.unref(n).axisX.gridlines,"onUpdate:modelValue":N[11]||(N[11]=z=>d.unref(n).axisX.gridlines=z)},null,8,["modelValue"])]),d.createElementVNode("div",Qse,[N[28]||(N[28]=d.createElementVNode("span",null,"Lines between categories",-1)),d.createVNode(d.unref(Ed),{modelValue:d.unref(n).axisX.linesBetweenCategories,"onUpdate:modelValue":N[12]||(N[12]=z=>d.unref(n).axisX.linesBetweenCategories=z)},null,8,["modelValue"])]),d.createElementVNode("div",Vse,[N[29]||(N[29]=d.createElementVNode("span",null,"Ticks",-1)),d.createVNode(d.unref(Ed),{modelValue:d.unref(n).axisX.ticks,"onUpdate:modelValue":N[13]||(N[13]=z=>d.unref(n).axisX.ticks=z)},null,8,["modelValue"])])]),_:1}),d.createVNode(vp,{title:"Y-axis",settings:r,icon:l3,"icon-open":s3},{default:d.withCtx(()=>[d.createElementVNode("div",Ose,[d.createVNode(d.unref(tA),{label:"Title",options:o,modelValue:d.unref(n).axisY.titleMode,"onUpdate:modelValue":N[14]||(N[14]=z=>d.unref(n).axisY.titleMode=z)},null,8,["modelValue"])]),d.unref(n).axisY.titleMode==="custom"?(d.openBlock(),d.createElementBlock("div",Use,[d.createVNode(d.unref(t3),{label:"Text",placeholder:"Type",modelValue:d.unref(n).axisY.customTitle,"onUpdate:modelValue":N[15]||(N[15]=z=>d.unref(n).axisY.customTitle=z)},null,8,["modelValue"])])):d.createCommentVNode("",!0),d.createElementVNode("div",zse,[d.createVNode(d.unref(tA),{label:"Scale",options:l,modelValue:d.unref(n).axisY.scale,"onUpdate:modelValue":N[16]||(N[16]=z=>d.unref(n).axisY.scale=z)},null,8,["modelValue"])]),d.createElementVNode("div",Gse,[N[30]||(N[30]=d.createElementVNode("span",null,"Gridlines",-1)),d.createVNode(d.unref(Ed),{modelValue:d.unref(n).axisY.gridlines,"onUpdate:modelValue":N[17]||(N[17]=z=>d.unref(n).axisY.gridlines=z)},null,8,["modelValue"])]),d.createElementVNode("div",jse,[N[31]||(N[31]=d.createElementVNode("span",null,"Ticks",-1)),d.createVNode(d.unref(Ed),{modelValue:d.unref(n).axisY.ticks,"onUpdate:modelValue":N[18]||(N[18]=z=>d.unref(n).axisY.ticks=z)},null,8,["modelValue"])])]),_:1}),d.createElementVNode("div",Yse,[d.createElementVNode("div",Wse,[N[32]||(N[32]=d.createElementVNode("span",null,"Frame",-1)),d.createVNode(u3,{options:u,modelValue:d.unref(n).other.frame,"onUpdate:modelValue":N[19]||(N[19]=z=>d.unref(n).other.frame=z)},null,8,["modelValue"])]),d.createElementVNode("div",Kse,[N[33]||(N[33]=d.createElementVNode("span",null,"Reverse axes",-1)),d.createVNode(d.unref(Ed),{modelValue:d.unref(n).other.reverse,"onUpdate:modelValue":N[20]||(N[20]=z=>d.unref(n).other.reverse=z)},null,8,["modelValue"])]),d.createElementVNode("div",Xse,[d.createVNode(d.unref(Bd),{label:"Facet column count",min:1,max:6,step:1,breakpoints:!0,mode:"input",modelValue:d.unref(n).other.facetColumns,"onUpdate:modelValue":N[21]||(N[21]=z=>d.unref(n).other.facetColumns=z)},null,8,["modelValue"])]),d.createElementVNode("div",Zse,[d.createVNode(d.unref(tA),{label:"Facet shared by",options:Q,modelValue:d.unref(n).other.facetSharedBy,"onUpdate:modelValue":N[22]||(N[22]=z=>d.unref(n).other.facetSharedBy=z)},null,8,["modelValue"])])])])]))}}),qse={class:"axes-settings-list"},eue={class:"axes-settings-options-row block"},tue={key:0},nue={class:"axes-settings-options-row block"},rue={class:"axes-settings-options-row table"},aue={class:"axes-settings-options-row table"},iue={class:"axes-settings-options-row block"},oue={key:0},lue={class:"axes-settings-options-row block"},sue={class:"axes-settings-options-row table"},uue={class:"axes-settings-options-row table"},cue={class:"other"},fue={class:"axes-settings-options-row"},Aue={class:"axes-settings-options-row"},due={class:"axes-settings-options-row block"},pue=d.defineComponent({__name:"ScatterplotAxesSettingsForm",setup(e){const n=xi().value.reactive.axesSettings,r={height:40,horizontalPadding:12,defaultState:"open"},a=[{value:"auto",text:"Auto"},{value:"custom",text:"Custom"},{value:"hide",text:"Hide"}],o=[{value:"linear",text:"Linear"},{value:"log",text:"Log"}],l=[{value:"empty",icon:Wb},{value:"left",icon:BI},{value:"bottom",icon:SI},{value:"left-bottom",icon:xI},{value:"full",icon:Yb}],u=[{text:"X",value:"x"},{text:"Y",value:"y"},{text:"XY",value:"xy"},{text:"None",value:"none"}];return(c,f)=>(d.openBlock(),d.createElementBlock("div",{class:"axes-form",onClick:f[13]||(f[13]=p=>p.stopPropagation())},[f[19]||(f[19]=d.createElementVNode("h3",{class:"axes-title"}," Axes ",-1)),d.createElementVNode("div",qse,[d.createVNode(vp,{title:"X-axis",settings:r,icon:l3,"icon-open":s3},{default:d.withCtx(()=>[d.createElementVNode("div",eue,[d.createVNode(d.unref(tA),{label:"Title",options:a,modelValue:d.unref(n).axisX.titleMode,"onUpdate:modelValue":f[0]||(f[0]=p=>d.unref(n).axisX.titleMode=p)},null,8,["modelValue"])]),d.unref(n).axisX.titleMode==="custom"?(d.openBlock(),d.createElementBlock("div",tue,[d.createVNode(d.unref(t3),{label:"Text",placeholder:"Type",modelValue:d.unref(n).axisX.customTitle,"onUpdate:modelValue":f[1]||(f[1]=p=>d.unref(n).axisX.customTitle=p)},null,8,["modelValue"])])):d.createCommentVNode("",!0),d.createElementVNode("div",nue,[d.createVNode(d.unref(tA),{label:"Scale",options:o,modelValue:d.unref(n).axisX.scale,"onUpdate:modelValue":f[2]||(f[2]=p=>d.unref(n).axisX.scale=p)},null,8,["modelValue"])]),d.createElementVNode("div",rue,[f[14]||(f[14]=d.createElementVNode("span",null,"Gridlines",-1)),d.createVNode(d.unref(Ed),{modelValue:d.unref(n).axisX.gridlines,"onUpdate:modelValue":f[3]||(f[3]=p=>d.unref(n).axisX.gridlines=p)},null,8,["modelValue"])]),d.createElementVNode("div",aue,[f[15]||(f[15]=d.createElementVNode("span",null,"Ticks",-1)),d.createVNode(d.unref(Ed),{modelValue:d.unref(n).axisX.ticks,"onUpdate:modelValue":f[4]||(f[4]=p=>d.unref(n).axisX.ticks=p)},null,8,["modelValue"])])]),_:1}),d.createVNode(vp,{title:"Y-axis",settings:r,icon:l3,"icon-open":s3},{default:d.withCtx(()=>[d.createElementVNode("div",iue,[d.createVNode(d.unref(tA),{label:"Title",options:a,modelValue:d.unref(n).axisY.titleMode,"onUpdate:modelValue":f[5]||(f[5]=p=>d.unref(n).axisY.titleMode=p)},null,8,["modelValue"])]),d.unref(n).axisY.titleMode==="custom"?(d.openBlock(),d.createElementBlock("div",oue,[d.createVNode(d.unref(t3),{label:"Text",placeholder:"Type",modelValue:d.unref(n).axisY.customTitle,"onUpdate:modelValue":f[6]||(f[6]=p=>d.unref(n).axisY.customTitle=p)},null,8,["modelValue"])])):d.createCommentVNode("",!0),d.createElementVNode("div",lue,[d.createVNode(d.unref(tA),{label:"Scale",options:o,modelValue:d.unref(n).axisY.scale,"onUpdate:modelValue":f[7]||(f[7]=p=>d.unref(n).axisY.scale=p)},null,8,["modelValue"])]),d.createElementVNode("div",sue,[f[16]||(f[16]=d.createElementVNode("span",null,"Gridlines",-1)),d.createVNode(d.unref(Ed),{modelValue:d.unref(n).axisY.gridlines,"onUpdate:modelValue":f[8]||(f[8]=p=>d.unref(n).axisY.gridlines=p)},null,8,["modelValue"])]),d.createElementVNode("div",uue,[f[17]||(f[17]=d.createElementVNode("span",null,"Ticks",-1)),d.createVNode(d.unref(Ed),{modelValue:d.unref(n).axisY.ticks,"onUpdate:modelValue":f[9]||(f[9]=p=>d.unref(n).axisY.ticks=p)},null,8,["modelValue"])])]),_:1}),d.createElementVNode("div",cue,[d.createElementVNode("div",fue,[f[18]||(f[18]=d.createElementVNode("span",null,"Frame",-1)),d.createVNode(u3,{options:l,modelValue:d.unref(n).other.frame,"onUpdate:modelValue":f[10]||(f[10]=p=>d.unref(n).other.frame=p)},null,8,["modelValue"])]),d.createElementVNode("div",Aue,[d.createVNode(d.unref(Bd),{label:"Facet column count",min:1,max:6,step:1,breakpoints:!0,mode:"input",modelValue:d.unref(n).other.facetColumns,"onUpdate:modelValue":f[11]||(f[11]=p=>d.unref(n).other.facetColumns=p)},null,8,["modelValue"])]),d.createElementVNode("div",due,[d.createVNode(d.unref(tA),{label:"Facet shared by",options:u,modelValue:d.unref(n).other.facetSharedBy,"onUpdate:modelValue":f[12]||(f[12]=p=>d.unref(n).other.facetSharedBy=p)},null,8,["modelValue"])])])])]))}}),hue={class:"axes-settings-list"},vue={class:"axes-settings-options-row"},mue={class:"axes-settings-options-row block"},gue={key:0},yue={key:1,class:"axes-settings-options-row table"},wue={class:"axes-settings-options-row"},Cue={class:"axes-settings-options-row block"},Eue={key:0},bue={class:"other"},Bue={class:"axes-settings-options-row"},Sue={class:"axes-settings-options-row"},xue={class:"axes-settings-options-row block"},kue=d.defineComponent({__name:"HeatmapAxesSettingsForm",setup(e){const t=xi(),n=t.value.reactive.axesSettings,r={height:40,horizontalPadding:12,defaultState:"open"},a=d.computed(()=>t.value.reactive.layersSettings.heatmap),o=[{value:0,icon:CI},{value:45,icon:EI},{value:90,icon:bI}],l=[{value:"auto",text:"Auto"},{value:"custom",text:"Custom"},{value:"hide",text:"Hide"}],u=[{value:"none",icon:Wb},{value:"full",icon:Yb}],c=[{text:"X",value:"x"},{text:"Y",value:"y"},{text:"XY",value:"xy"},{text:"None",value:"none"}],f=d.computed(()=>c.filter(p=>a.value.dendrogramX&&a.value.dendrogramY?p.value!=="x"&&p.value!=="xy"&&p.value!=="y":a.value.dendrogramX?p.value!=="x"&&p.value!=="xy":a.value.dendrogramY?p.value!=="y"&&p.value!=="xy":!0));return(p,v)=>(d.openBlock(),d.createElementBlock("div",{class:"axes-form",onClick:v[10]||(v[10]=y=>y.stopPropagation())},[v[15]||(v[15]=d.createElementVNode("h3",{class:"axes-title"}," Axes ",-1)),d.createElementVNode("div",hue,[d.createVNode(vp,{title:"X-axis",settings:r,icon:l3,"icon-open":s3},{default:d.withCtx(()=>[d.createElementVNode("div",vue,[v[11]||(v[11]=d.createElementVNode("span",null,"Labels rotation",-1)),d.createVNode(u3,{options:o,modelValue:d.unref(n).axisX.axisLabelsAngle,"onUpdate:modelValue":v[0]||(v[0]=y=>d.unref(n).axisX.axisLabelsAngle=y)},null,8,["modelValue"])]),d.createElementVNode("div",mue,[d.createVNode(d.unref(tA),{label:"Title",options:l,modelValue:d.unref(n).axisX.titleMode,"onUpdate:modelValue":v[1]||(v[1]=y=>d.unref(n).axisX.titleMode=y)},null,8,["modelValue"])]),d.unref(n).axisX.titleMode==="custom"?(d.openBlock(),d.createElementBlock("div",gue,[d.createVNode(d.unref(t3),{label:"Text",placeholder:"Type",modelValue:d.unref(n).axisX.customTitle,"onUpdate:modelValue":v[2]||(v[2]=y=>d.unref(n).axisX.customTitle=y)},null,8,["modelValue"])])):d.createCommentVNode("",!0),d.unref(t).reactive.chartType==="discrete"?(d.openBlock(),d.createElementBlock("div",yue,[v[12]||(v[12]=d.createElementVNode("span",null,"Lines between categories",-1)),d.createVNode(d.unref(Ed),{modelValue:d.unref(n).axisX.linesBetweenCategories,"onUpdate:modelValue":v[3]||(v[3]=y=>d.unref(n).axisX.linesBetweenCategories=y)},null,8,["modelValue"])])):d.createCommentVNode("",!0)]),_:1}),d.createVNode(vp,{title:"Y-axis",settings:r,icon:l3,"icon-open":s3},{default:d.withCtx(()=>[d.createElementVNode("div",wue,[v[13]||(v[13]=d.createElementVNode("span",null,"Labels rotation",-1)),d.createVNode(u3,{options:o,modelValue:d.unref(n).axisY.axisLabelsAngle,"onUpdate:modelValue":v[4]||(v[4]=y=>d.unref(n).axisY.axisLabelsAngle=y)},null,8,["modelValue"])]),d.createElementVNode("div",Cue,[d.createVNode(d.unref(tA),{label:"Title",options:l,modelValue:d.unref(n).axisY.titleMode,"onUpdate:modelValue":v[5]||(v[5]=y=>d.unref(n).axisY.titleMode=y)},null,8,["modelValue"])]),d.unref(n).axisY.titleMode==="custom"?(d.openBlock(),d.createElementBlock("div",Eue,[d.createVNode(d.unref(t3),{label:"Text",placeholder:"Type",modelValue:d.unref(n).axisY.customTitle,"onUpdate:modelValue":v[6]||(v[6]=y=>d.unref(n).axisY.customTitle=y)},null,8,["modelValue"])])):d.createCommentVNode("",!0)]),_:1}),d.createElementVNode("div",bue,[d.createElementVNode("div",Bue,[v[14]||(v[14]=d.createElementVNode("span",null,"Frame",-1)),d.createVNode(u3,{options:u,modelValue:d.unref(n).other.frame,"onUpdate:modelValue":v[7]||(v[7]=y=>d.unref(n).other.frame=y)},null,8,["modelValue"])]),d.createElementVNode("div",Sue,[d.createVNode(d.unref(Bd),{label:"Facet column count",min:1,max:6,step:1,breakpoints:!0,mode:"input",modelValue:d.unref(n).other.facetColumns,"onUpdate:modelValue":v[8]||(v[8]=y=>d.unref(n).other.facetColumns=y)},null,8,["modelValue"])]),d.createElementVNode("div",xue,[d.createVNode(d.unref(tA),{label:"Facet shared by",options:f.value,modelValue:d.unref(n).other.facetSharedBy,"onUpdate:modelValue":v[9]||(v[9]=y=>d.unref(n).other.facetSharedBy=y)},null,8,["options","modelValue"])])])])]))}}),Tue={class:"data-form"},_ue=d.defineComponent({__name:"index",setup(e){const t=xi();return(n,r)=>(d.openBlock(),d.createElementBlock("div",Tue,[d.unref(t).reactive.chartType==="discrete"?(d.openBlock(),d.createBlock(Jse,{key:0})):d.createCommentVNode("",!0),d.unref(t).reactive.chartType==="scatterplot"?(d.openBlock(),d.createBlock(pue,{key:1})):d.createCommentVNode("",!0),d.unref(t).reactive.chartType==="heatmap"?(d.openBlock(),d.createBlock(kue,{key:2})):d.createCommentVNode("",!0)]))}});function nA(e,t,n,r=!1){const a=t.components.primaryGrouping.selectorStates.length>0,o=t.components.secondaryGrouping.selectorStates.length>0;return e===null?o?{type:"secondaryGrouping"}:a&&!r?{type:"primaryGrouping"}:n:e}const Pue={class:"aes-input-row"},ki=d.defineComponent({__name:"AesSelector",props:{label:{},type:{},selected:{},formTitle:{},formBackTitle:{},possibleAesSourceInputs:{},withoutFixed:{type:Boolean}},emits:["aes-update","aes-selector-close"],setup(e,{emit:t}){var F;const n=e,r=xi(),a=d.computed(()=>r.value.reactive.chartType),o=t,l={discrete:["primaryGrouping","secondaryGrouping"],scatterplot:["grouping"],"scatterplot-umap":["grouping"],dendro:[],heatmap:[]},u=n.possibleAesSourceInputs??l[a.value],c=d.computed(()=>r.value.commonHelpersData.usedAesInMapping.value);function f(N){return typeof N=="string"?N:a.value==="scatterplot"||a.value==="dendro"?`${N.type}_${N.value}`:N.type}const p=d.ref(hm(n.selected)?f(n.selected):"fix"),v={fill:Ug[0].color,stroke:Ug[0].color,dotShape:hh,lineType:R4,size:""},y=d.computed(()=>r.value.inputGuide.value),C=d.computed(()=>{const N={},z=r.value.reactive.optionsState.components;function j(X,re){const Z=y.value.getSourceInfo(re),ne=r.value.reactive.dataBindAes[re]??qg(Z.uniqueValues),ee=f({type:X,value:re});N[ee]={type:"data",value:ee,initialData:ne,inputName:X,selectedSource:re,selectedSourceInfo:Z,selectedSourceValues:Z.uniqueValues,labels:ne.order.reduce((ie,oe)=>(ie[oe]=Z.valueLabels[oe],ie),{})}}return u.forEach(X=>{var re;(re=z==null?void 0:z[X])!=null&&re.selectorStates.length&&z[X].selectorStates.forEach(({selectedSource:Z})=>{j(X,Z)})}),n.withoutFixed||(N.fix={type:"fix",value:"fix",initialData:hm(n.selected)?v[n.type]:n.selected}),N}),S=d.computed(()=>C.value[p.value]??null);function x(N,z){var j,X,re,Z;return N.type==="fix"?"Fixed":z===N.value?`${(j=N.selectedSourceInfo)==null?void 0:j.label}`:a.value==="discrete"?`${N.value==="primaryGrouping"?"Primary":"Secondary"} grouping: ${(X=N.selectedSourceInfo)==null?void 0:X.label}`:a.value==="scatterplot"||a.value==="dendro"?`Grouping: ${(re=N.selectedSourceInfo)==null?void 0:re.label}`:((Z=N.selectedSourceInfo)==null?void 0:Z.label)??""}const P=d.computed(()=>{const N=[],z=r.value.reactive.optionsState.components;function j(X,re){const Z=f({type:X,value:re});C.value[Z]&&N.push({text:x(C.value[Z],p.value),value:Z})}if(u.forEach(X=>{var re;(re=z==null?void 0:z[X])!=null&&re.selectorStates.length&&z[X].selectorStates.forEach(({selectedSource:Z})=>{j(X,Z)})}),!C.value[p.value]){let X="Not consistent (grouping)";a.value==="discrete"&&(X=`${p.value==="primaryGrouping"?"Primary":"Secondary"} grouping (not selected)`),N.push({text:X,value:p.value})}return n.withoutFixed||N.push({text:"Fixed",value:"fix"}),N}),_=d.ref(!1),H=d.ref(C.value.fix?C.value.fix.initialData:null),D=d.ref(((F=S.value)==null?void 0:F.type)==="data"?S.value.initialData:null);d.watch(()=>p.value,N=>{const z=C.value[N];z.type==="fix"?o("aes-update",H.value,z):(D.value=z.initialData,o("aes-update",z.initialData,z))});const G=d.ref(),Q=d.computed(()=>{if(n.type==="lineType")return gy.length*32+16*2;if(n.type==="dotShape")return Math.ceil(my.length/6)*36+20*2;if(n.type==="fill"||n.type==="stroke")return Math.ceil(Ug.length/6)*36+20*2});return d.computed(()=>p.value==="fix"?{type:"data",value:null}:{type:p.value,value:n.selected}),(N,z)=>{var j;return d.openBlock(),d.createElementBlock(d.Fragment,null,[d.createElementVNode("div",Pue,[d.createElementVNode("div",{class:"aes-input-select",onClick:z[1]||(z[1]=d.withModifiers(()=>{},["stop"]))},[d.createVNode(d.unref(Du),{disabled:P.value.length<2,label:N.label,options:P.value,modelValue:p.value,"onUpdate:modelValue":z[0]||(z[0]=X=>p.value=X)},null,8,["disabled","label","options","modelValue"])]),d.createVNode(Xb,{data:{type:p.value==="fix"?N.type:"data",value:p.value==="fix"?N.type==="size"?Number(N.selected):N.selected:null},onClick:z[2]||(z[2]=X=>_.value=!_.value),onRef:z[3]||(z[3]=X=>G.value=X)},null,8,["data"]),p.value==="fix"&&_.value&&H.value?(d.openBlock(),d.createBlock(PI,{key:0,height:Q.value,targetRef:G.value,"onPopup:close":z[10]||(z[10]=X=>_.value=!1)},{default:d.withCtx(()=>[d.createElementVNode("div",{class:d.normalizeClass(["fixed-aes-list",{"fixed-aes-list__rows":N.type==="lineType"}])},[N.type==="fill"||N.type==="stroke"?(d.openBlock(),d.createBlock(kI,{key:0,"color-using":N.type,modelValue:H.value,"onUpdate:modelValue":[z[4]||(z[4]=X=>H.value=X),z[5]||(z[5]=X=>N.$emit("aes-update",X,C.value.fix))]},null,8,["color-using","modelValue"])):d.createCommentVNode("",!0),N.type==="dotShape"?(d.openBlock(),d.createBlock(_I,{key:1,modelValue:H.value,"onUpdate:modelValue":[z[6]||(z[6]=X=>H.value=X),z[7]||(z[7]=X=>N.$emit("aes-update",X,C.value.fix))]},null,8,["modelValue"])):d.createCommentVNode("",!0),N.type==="lineType"?(d.openBlock(),d.createBlock(TI,{key:2,modelValue:H.value,"onUpdate:modelValue":[z[8]||(z[8]=X=>H.value=X),z[9]||(z[9]=X=>N.$emit("aes-update",X,C.value.fix))]},null,8,["modelValue"])):d.createCommentVNode("",!0)],2)]),_:1},8,["height","targetRef"])):d.createCommentVNode("",!0)]),((j=S.value)==null?void 0:j.type)==="data"&&D.value&&_.value?(d.openBlock(),d.createBlock(bw,{key:0,title:N.formTitle,"back-title":N.formBackTitle,"onForm:close":z[13]||(z[13]=X=>_.value=!1)},{default:d.withCtx(()=>{var X;return[d.createVNode(nB,{"column-value-labels":S.value.labels,"data-column-label":((X=S.value.selectedSourceInfo)==null?void 0:X.label)??"","used-aes-in-mapping":c.value[S.value.selectedSource],modelValue:D.value,"onUpdate:modelValue":[z[11]||(z[11]=re=>D.value=re),z[12]||(z[12]=re=>N.$emit("aes-update",re,S.value))]},null,8,["column-value-labels","data-column-label","used-aes-in-mapping","modelValue"])]}),_:1},8,["title","back-title"])):d.createCommentVNode("",!0)],64)}}}),Hue={class:"checkbox-item"},ym="box",Due=d.defineComponent({__name:"Boxplot",setup(e){const t=xi(),n=d.computed(()=>t.value.reactive.layersSettings[ym]),r=d.computed(()=>t.value.reactive.optionsState),a=d.computed(()=>nA(n.value.fillColor,r.value,hy)),o=d.computed(()=>nA(n.value.lineColor,r.value,As)),l=d.computed(()=>n.value.dotShape),u=d.computed(()=>n.value.lineType);function c(y,C,S){C.type==="data"?t.value.reactive.layersSettings[ym][S]={type:C.inputName}:t.value.reactive.layersSettings[ym][S]=y,C.type==="data"&&typeof y!="string"&&(t.value.reactive.dataBindAes[C.selectedSource]=y)}function f(y,C,S){C.type==="data"?t.value.reactive.layersSettings[ym][S]={type:C.inputName}:t.value.reactive.layersSettings[ym][S]=y,C.type==="data"&&typeof y=="object"&&(t.value.reactive.dataBindAes[C.selectedSource]=y)}function p(y,C,S){C.type==="data"?t.value.reactive.layersSettings[ym][S]={type:C.inputName}:t.value.reactive.layersSettings[ym][S]=y,C.type==="data"&&typeof y=="object"&&(t.value.reactive.dataBindAes[C.selectedSource]=y)}const v=d.computed({get:()=>n.value.opacity*100,set:y=>{n.value.opacity=y/100}});return(y,C)=>(d.openBlock(),d.createElementBlock(d.Fragment,null,[d.createVNode(ki,{label:"Fill color","form-title":"Fill Color Settings","form-back-title":"Layers",type:"fill",selected:a.value,onAesUpdate:C[0]||(C[0]=(S,x)=>c(S,x,"fillColor"))},null,8,["selected"]),d.createVNode(ki,{label:"Stroke color","form-title":"Stroke Color Settings","form-back-title":"Layers",type:"stroke",selected:o.value,onAesUpdate:C[1]||(C[1]=(S,x)=>c(S,x,"lineColor"))},null,8,["selected"]),d.createVNode(ki,{label:"Line Type","form-title":"Line Type Settings","form-back-title":"Layers",type:"lineType","possible-aes-source-inputs":[],selected:u.value,onAesUpdate:C[2]||(C[2]=(S,x)=>p(S,x,"lineType"))},null,8,["selected"]),d.createVNode(d.unref(Bd),{label:"Opacity",min:0,max:100,step:1,breakpoints:!1,measure:"%",modelValue:v.value,"onUpdate:modelValue":C[3]||(C[3]=S=>v.value=S)},null,8,["modelValue"]),d.createElementVNode("div",Hue,[d.createVNode(d.unref(Eh),{modelValue:n.value.showOutliers,"onUpdate:modelValue":C[4]||(C[4]=S=>n.value.showOutliers=S)},null,8,["modelValue"]),C[6]||(C[6]=d.createElementVNode("span",null,"Show outliers",-1))]),n.value.showOutliers?(d.openBlock(),d.createBlock(ki,{key:0,label:"Outlier shape","form-title":"Outlier Shape Settings","form-back-title":"Layers",type:"dotShape","possible-aes-source-inputs":[],selected:l.value,onAesUpdate:C[5]||(C[5]=(S,x)=>f(S,x,"dotShape"))},null,8,["selected"])):d.createCommentVNode("",!0)],64))}}),Mue={class:"checkbox-item"},rB="binnedDots",Iue=d.defineComponent({__name:"BinnedDots",setup(e){const t=xi(),n=d.computed(()=>t.value.reactive.layersSettings[rB]),r=d.computed(()=>t.value.reactive.optionsState),a=d.computed(()=>nA(n.value.fillColor,r.value,hy)),o=d.computed(()=>nA(n.value.lineColor,r.value,As));function l(c,f,p){f.type==="data"?t.value.reactive.layersSettings[rB][p]={type:f.inputName}:t.value.reactive.layersSettings[rB][p]=c,f.type==="data"&&typeof c!="string"&&(t.value.reactive.dataBindAes[f.selectedSource]=c)}const u=d.computed({get:()=>n.value.opacity*100,set:c=>{n.value.opacity=c/100}});return(c,f)=>(d.openBlock(),d.createElementBlock(d.Fragment,null,[d.createVNode(ki,{label:"Fill color","form-title":"Fill Color Settings","form-back-title":"Layers",type:"fill",selected:a.value,onAesUpdate:f[0]||(f[0]=(p,v)=>l(p,v,"fillColor"))},null,8,["selected"]),d.createVNode(ki,{label:"Stroke color","form-title":"Stroke Color Settings","form-back-title":"Layers",type:"stroke",selected:o.value,onAesUpdate:f[1]||(f[1]=(p,v)=>l(p,v,"lineColor"))},null,8,["selected"]),d.createVNode(d.unref(Bd),{label:"Opacity",min:0,max:100,step:1,breakpoints:!1,measure:"%",modelValue:u.value,"onUpdate:modelValue":f[2]||(f[2]=p=>u.value=p)},null,8,["modelValue"]),d.createElementVNode("div",Mue,[d.createVNode(d.unref(Eh),{modelValue:n.value.showOutliers,"onUpdate:modelValue":f[3]||(f[3]=p=>n.value.showOutliers=p)},null,8,["modelValue"]),f[4]||(f[4]=d.createElementVNode("span",null,"Show outliers",-1))])],64))}}),Rue={class:"checkbox-item"},n7="jitteredDots",Lue=d.defineComponent({__name:"JitteredDots",setup(e){const t=xi(),n=d.computed(()=>t.value.reactive.layersSettings[n7]),r=d.computed(()=>t.value.reactive.optionsState),a=d.computed(()=>nA(n.value.dotFill,r.value,As));function o(c,f,p){f.type==="data"?t.value.reactive.layersSettings[n7][p]={type:f.inputName}:t.value.reactive.layersSettings[n7][p]=c,f.type==="data"&&typeof c!="string"&&(t.value.reactive.dataBindAes[f.selectedSource]=c)}function l(c,f,p){f.type==="data"?t.value.reactive.layersSettings[n7][p]={type:f.inputName}:t.value.reactive.layersSettings[n7][p]=c,f.type==="data"&&typeof c=="object"&&(t.value.reactive.dataBindAes[f.selectedSource]=c)}const u=d.computed({get:()=>n.value.opacity*100,set:c=>{n.value.opacity=c/100}});return(c,f)=>(d.openBlock(),d.createElementBlock(d.Fragment,null,[d.createVNode(ki,{label:"Fill color","form-title":"Fill Color Settings","form-back-title":"Layers",type:"fill",selected:a.value,onAesUpdate:f[0]||(f[0]=(p,v)=>o(p,v,"dotFill"))},null,8,["selected"]),d.createVNode(ki,{label:"Dot shape","form-title":"Dot Shape Settings","form-back-title":"Layers",type:"dotShape",selected:n.value.dotShape,onAesUpdate:f[1]||(f[1]=(p,v)=>l(p,v,"dotShape"))},null,8,["selected"]),d.createVNode(d.unref(Bd),{label:"Opacity",min:0,max:100,step:1,breakpoints:!1,measure:"%",modelValue:u.value,"onUpdate:modelValue":f[2]||(f[2]=p=>u.value=p)},null,8,["modelValue"]),d.createElementVNode("div",Rue,[d.createVNode(d.unref(Eh),{modelValue:n.value.showOutliers,"onUpdate:modelValue":f[3]||(f[3]=p=>n.value.showOutliers=p)},null,8,["modelValue"]),f[4]||(f[4]=d.createElementVNode("span",null,"Show outliers",-1))])],64))}}),Nue={class:"checkbox-item"},Sw="violin",$ue=d.defineComponent({__name:"Violin",setup(e){const t=xi(),n=d.computed(()=>t.value.reactive.layersSettings[Sw]),r=d.computed(()=>t.value.reactive.optionsState),a=d.computed(()=>nA(n.value.fillColor,r.value,hy)),o=d.computed(()=>nA(n.value.lineColor,r.value,As)),l=d.computed(()=>n.value.lineType);function u(p,v,y){v.type==="data"?t.value.reactive.layersSettings[Sw][y]={type:v.inputName}:t.value.reactive.layersSettings[Sw][y]=p,v.type==="data"&&typeof p!="string"&&(t.value.reactive.dataBindAes[v.selectedSource]=p)}function c(p,v,y){t.value.reactive.layersSettings[Sw][y]=typeof p=="object"?{type:v.value}:p,v.type==="data"&&typeof p=="object"&&(t.value.reactive.dataBindAes[v.selectedSource]=p)}const f=d.computed({get:()=>n.value.opacity*100,set:p=>{n.value.opacity=p/100}});return(p,v)=>(d.openBlock(),d.createElementBlock(d.Fragment,null,[d.createVNode(ki,{label:"Fill color","form-title":"Fill Color Settings","form-back-title":"Layers",type:"fill",selected:a.value,onAesUpdate:v[0]||(v[0]=(y,C)=>u(y,C,"fillColor"))},null,8,["selected"]),d.createVNode(ki,{label:"Stroke color","form-title":"Stroke Color Settings","form-back-title":"Layers",type:"stroke",selected:o.value,onAesUpdate:v[1]||(v[1]=(y,C)=>u(y,C,"lineColor"))},null,8,["selected"]),d.createVNode(ki,{label:"Line Type","form-title":"Line Type Settings","form-back-title":"Layers",type:"lineType","possible-aes-source-inputs":[],selected:l.value,onAesUpdate:v[2]||(v[2]=(y,C)=>c(y,C,"lineType"))},null,8,["selected"]),d.createElementVNode("div",Nue,[d.createVNode(d.unref(Eh),{modelValue:n.value.trim,"onUpdate:modelValue":v[3]||(v[3]=y=>n.value.trim=y)},null,8,["modelValue"]),v[5]||(v[5]=d.createElementVNode("span",null,"Trim",-1))]),d.createVNode(d.unref(Bd),{label:"Opacity",min:0,max:100,step:1,breakpoints:!1,measure:"%",modelValue:f.value,"onUpdate:modelValue":v[4]||(v[4]=y=>f.value=y)},null,8,["modelValue"])],64))}}),aB="bar",Fue=d.defineComponent({__name:"Bar",setup(e){const t=xi(),n=d.computed(()=>t.value.reactive.layersSettings[aB]),r=d.computed(()=>t.value.reactive.optionsState),a=d.computed(()=>nA(n.value.fillColor,r.value,hy)),o=d.computed(()=>nA(n.value.lineColor,r.value,As));function l(f,p,v){p.type==="data"?t.value.reactive.layersSettings[aB][v]={type:p.inputName}:t.value.reactive.layersSettings[aB][v]=f,p.type==="data"&&typeof f!="string"&&(t.value.reactive.dataBindAes[p.selectedSource]=f)}const u=[{text:"Min",value:"min"},{text:"Max",value:"max"},{text:"Mean",value:"mean"},{text:"Median",value:"median"}],c=d.computed({get:()=>n.value.opacity*100,set:f=>{n.value.opacity=f/100}});return(f,p)=>(d.openBlock(),d.createElementBlock(d.Fragment,null,[d.createVNode(ki,{label:"Fill color","form-title":"Fill Color Settings","form-back-title":"Layers",type:"fill",selected:a.value,onAesUpdate:p[0]||(p[0]=(v,y)=>l(v,y,"fillColor"))},null,8,["selected"]),d.createVNode(ki,{label:"Stroke color","form-title":"Stroke Color Settings","form-back-title":"Layers",type:"stroke",selected:o.value,onAesUpdate:p[1]||(p[1]=(v,y)=>l(v,y,"lineColor"))},null,8,["selected"]),d.createElementVNode("div",{class:"input-item",onClick:p[3]||(p[3]=d.withModifiers(()=>{},["stop"]))},[d.createVNode(d.unref(Du),{label:"Height",options:u,modelValue:n.value.height,"onUpdate:modelValue":p[2]||(p[2]=v=>n.value.height=v)},null,8,["modelValue"])]),d.createVNode(d.unref(Bd),{label:"Opacity",min:0,max:100,step:1,breakpoints:!1,measure:"%",modelValue:c.value,"onUpdate:modelValue":p[4]||(p[4]=v=>c.value=v)},null,8,["modelValue"])],64))}}),iB="stackedBar",Que=d.defineComponent({__name:"StackedBar",setup(e){const t=xi(),n=d.computed(()=>t.value.reactive.layersSettings[iB]),r=d.computed(()=>t.value.reactive.optionsState),a=d.computed(()=>nA(n.value.fillColor,r.value,hy)),o=d.computed(()=>nA(n.value.lineColor,r.value,As));function l(c,f,p){f.type==="data"?t.value.reactive.layersSettings[iB][p]={type:f.inputName}:t.value.reactive.layersSettings[iB][p]=c,f.type==="data"&&typeof c!="string"&&(t.value.reactive.dataBindAes[f.selectedSource]=c)}const u=d.computed({get:()=>n.value.opacity*100,set:c=>{n.value.opacity=c/100}});return(c,f)=>(d.openBlock(),d.createElementBlock(d.Fragment,null,[d.createVNode(ki,{label:"Fill color","form-title":"Fill Color Settings","form-back-title":"Layers",type:"fill",selected:a.value,onAesUpdate:f[0]||(f[0]=(p,v)=>l(p,v,"fillColor"))},null,8,["selected"]),d.createVNode(ki,{label:"Stroke color","form-title":"Stroke Color Settings","form-back-title":"Layers",type:"stroke",selected:o.value,onAesUpdate:f[1]||(f[1]=(p,v)=>l(p,v,"lineColor"))},null,8,["selected"]),d.createVNode(d.unref(Bd),{label:"Opacity",min:0,max:100,step:1,breakpoints:!1,measure:"%",modelValue:u.value,"onUpdate:modelValue":f[2]||(f[2]=p=>u.value=p)},null,8,["modelValue"])],64))}}),wm="line",Vue=d.defineComponent({__name:"Line",setup(e){const t=xi(),n=d.computed(()=>t.value.reactive.layersSettings[wm]),r=d.computed(()=>t.value.reactive.optionsState),a=d.computed(()=>nA(n.value.lineColor,r.value,As,!0)),o=d.computed(()=>n.value.lineType);function l(v,y,C){y.type==="data"?t.value.reactive.layersSettings[wm][C]={type:y.inputName}:t.value.reactive.layersSettings[wm][C]=v,y.type==="data"&&typeof v!="string"&&(t.value.reactive.dataBindAes[y.selectedSource]=v)}function u(v,y,C){y.type==="data"?t.value.reactive.layersSettings[wm][C]={type:y.inputName}:t.value.reactive.layersSettings[wm][C]=v,y.type==="data"&&typeof v=="object"&&(t.value.reactive.dataBindAes[y.selectedSource]=v)}function c(v,y,C){y.type==="data"?t.value.reactive.layersSettings[wm][C]={type:y.inputName}:t.value.reactive.layersSettings[wm][C]=v,y.type==="data"&&typeof v=="object"&&(t.value.reactive.dataBindAes[y.selectedSource]=v)}const f=[{text:"Mean",value:"mean"},{text:"Median",value:"median"}],p=d.computed({get:()=>n.value.opacity*100,set:v=>{n.value.opacity=v/100}});return(v,y)=>(d.openBlock(),d.createElementBlock(d.Fragment,null,[d.createVNode(ki,{label:"Stroke color","form-title":"Stroke Color Settings","form-back-title":"Layers",type:"stroke",selected:a.value,"possible-aes-source-inputs":["secondaryGrouping"],onAesUpdate:y[0]||(y[0]=(C,S)=>l(C,S,"lineColor"))},null,8,["selected"]),d.createVNode(ki,{label:"Line Type","form-title":"Line Type Settings","form-back-title":"Layers",type:"lineType","possible-aes-source-inputs":["secondaryGrouping"],selected:o.value,onAesUpdate:y[1]||(y[1]=(C,S)=>c(C,S,"lineType"))},null,8,["selected"]),d.createVNode(ki,{label:"Dot fill","form-title":"Dot Fill Settings","form-back-title":"Layers",type:"fill",selected:n.value.dotFill,"possible-aes-source-inputs":[],onAesUpdate:y[2]||(y[2]=(C,S)=>l(C,S,"dotFill"))},null,8,["selected"]),d.createVNode(ki,{label:"Dot shape","form-title":"Dot Shape Settings","form-back-title":"Layers",type:"dotShape",selected:n.value.dotShape,"possible-aes-source-inputs":["secondaryGrouping"],onAesUpdate:y[3]||(y[3]=(C,S)=>u(C,S,"dotShape"))},null,8,["selected"]),d.createElementVNode("div",{class:"input-item",onClick:y[5]||(y[5]=d.withModifiers(()=>{},["stop"]))},[d.createVNode(d.unref(Du),{label:"Point value",options:f,modelValue:n.value.pointsValues,"onUpdate:modelValue":y[4]||(y[4]=C=>n.value.pointsValues=C)},null,8,["modelValue"])]),d.createVNode(d.unref(Bd),{label:"Opacity",min:0,max:100,step:1,breakpoints:!1,measure:"%",modelValue:p.value,"onUpdate:modelValue":y[6]||(y[6]=C=>p.value=C)},null,8,["modelValue"])],64))}}),r7="errorbar",Oue=d.defineComponent({__name:"Errorbar",setup(e){const t=xi(),n=d.computed(()=>t.value.reactive.layersSettings[r7]),r=d.computed(()=>t.value.reactive.optionsState),a=d.computed(()=>nA(n.value.lineColor,r.value,As,!0));function o(p,v,y){v.type==="data"?t.value.reactive.layersSettings[r7][y]={type:v.inputName}:t.value.reactive.layersSettings[r7][y]=p,v.type==="data"&&typeof p!="string"&&(t.value.reactive.dataBindAes[v.selectedSource]=p)}function l(p,v,y){v.type==="data"?t.value.reactive.layersSettings[r7][y]={type:v.inputName}:t.value.reactive.layersSettings[r7][y]=p,v.type==="data"&&typeof p=="object"&&(t.value.reactive.dataBindAes[v.selectedSource]=p)}const u=[{text:"Standard deviation",value:"sd"},{text:"Standard error",value:"se"},{text:"Confident interval",value:"ci"}],c=[{text:"Mean",value:"mean"},{text:"Median",value:"median"}],f=d.computed({get:()=>n.value.opacity*100,set:p=>{n.value.opacity=p/100}});return(p,v)=>(d.openBlock(),d.createElementBlock(d.Fragment,null,[d.createVNode(ki,{label:"Stroke color","form-title":"Stroke Color Settings","form-back-title":"Layers",type:"stroke",selected:a.value,"possible-aes-source-inputs":["secondaryGrouping"],onAesUpdate:v[0]||(v[0]=(y,C)=>o(y,C,"lineColor"))},null,8,["selected"]),d.createVNode(ki,{label:"Dot fill","form-title":"Dot Fill Settings","form-back-title":"Layers",type:"fill",selected:n.value.dotFill,"possible-aes-source-inputs":[],onAesUpdate:v[1]||(v[1]=(y,C)=>o(y,C,"dotFill"))},null,8,["selected"]),d.createVNode(ki,{label:"Dot shape","form-title":"Dot Shape Settings","form-back-title":"Layers",type:"dotShape",selected:n.value.dotShape,"possible-aes-source-inputs":["secondaryGrouping"],onAesUpdate:v[2]||(v[2]=(y,C)=>l(y,C,"dotShape"))},null,8,["selected"]),d.createElementVNode("div",{class:"input-item",onClick:v[4]||(v[4]=d.withModifiers(()=>{},["stop"]))},[d.createVNode(d.unref(Du),{label:"Point value",options:c,modelValue:n.value.pointsValues,"onUpdate:modelValue":v[3]||(v[3]=y=>n.value.pointsValues=y)},null,8,["modelValue"])]),d.createElementVNode("div",{class:"input-item",onClick:v[6]||(v[6]=d.withModifiers(()=>{},["stop"]))},[d.createVNode(d.unref(Du),{label:"Interval",options:u,modelValue:n.value.interval,"onUpdate:modelValue":v[5]||(v[5]=y=>n.value.interval=y)},null,8,["modelValue"])]),d.createVNode(d.unref(Bd),{label:"Opacity",min:0,max:100,step:1,breakpoints:!1,measure:"%",modelValue:f.value,"onUpdate:modelValue":v[7]||(v[7]=y=>f.value=y)},null,8,["modelValue"])],64))}}),a7="sina",Uue=d.defineComponent({__name:"Sina",setup(e){const t=xi(),n=d.computed(()=>t.value.reactive.layersSettings[a7]),r=d.computed(()=>t.value.reactive.optionsState),a=d.computed(()=>nA(n.value.dotFill,r.value,As));function o(c,f,p){f.type==="data"?t.value.reactive.layersSettings[a7][p]={type:f.inputName}:t.value.reactive.layersSettings[a7][p]=c,f.type==="data"&&typeof c!="string"&&(t.value.reactive.dataBindAes[f.selectedSource]=c)}function l(c,f,p){f.type==="data"?t.value.reactive.layersSettings[a7][p]={type:f.inputName}:t.value.reactive.layersSettings[a7][p]=c,f.type==="data"&&typeof c=="object"&&(t.value.reactive.dataBindAes[f.selectedSource]=c)}const u=d.computed({get:()=>n.value.opacity*100,set:c=>{n.value.opacity=c/100}});return(c,f)=>(d.openBlock(),d.createElementBlock(d.Fragment,null,[d.createVNode(ki,{label:"Fill color","form-title":"Fill Color Settings","form-back-title":"Layers",type:"fill",selected:a.value,onAesUpdate:f[0]||(f[0]=(p,v)=>o(p,v,"dotFill"))},null,8,["selected"]),d.createVNode(ki,{label:"Dot shape","form-title":"Dot Shape Settings","form-back-title":"Layers",type:"dotShape",selected:n.value.dotShape,onAesUpdate:f[1]||(f[1]=(p,v)=>l(p,v,"dotShape"))},null,8,["selected"]),d.createVNode(d.unref(Bd),{label:"Opacity",min:0,max:100,step:1,breakpoints:!1,measure:"%",modelValue:u.value,"onUpdate:modelValue":f[2]||(f[2]=p=>u.value=p)},null,8,["modelValue"])],64))}}),zue={class:"checkbox-item"},Gue={class:"checkbox-item"},jue=d.defineComponent({__name:"Heatmap",setup(e){const t=xi(),n=d.computed(()=>t.value.reactive.layersSettings.heatmap);function r(o){o&&t.value.reactive.axesSettings.other.facetSharedBy.includes("x")&&(t.value.reactive.axesSettings.other.facetSharedBy="none")}function a(o){o&&t.value.reactive.axesSettings.other.facetSharedBy.includes("y")&&(t.value.reactive.axesSettings.other.facetSharedBy="none")}return(o,l)=>(d.openBlock(),d.createElementBlock(d.Fragment,null,[d.createElementVNode("div",zue,[d.createVNode(d.unref(Eh),{"onUpdate:modelValue":[r,l[0]||(l[0]=u=>n.value.dendrogramX=u)],modelValue:n.value.dendrogramX},null,8,["modelValue"]),l[2]||(l[2]=d.createElementVNode("span",null,"Build dendrogram for X axis",-1))]),d.createElementVNode("div",Gue,[d.createVNode(d.unref(Eh),{"onUpdate:modelValue":[a,l[1]||(l[1]=u=>n.value.dendrogramY=u)],modelValue:n.value.dendrogramY},null,8,["modelValue"]),l[3]||(l[3]=d.createElementVNode("span",null,"Build dendrogram for Y axis",-1))])],64))}}),Yue={class:"checkbox-item"},i7="dendro",Wue=d.defineComponent({__name:"Dendro",setup(e){const t=xi(),n=d.computed(()=>t.value.reactive.layersSettings[i7]),r=d.computed(()=>t.value.reactive.optionsState),a=d.computed(()=>n.value.dotFill),o=d.computed(()=>n.value.dotShape),l=d.computed(()=>n.value.lineColor);function u(p,v,y){typeof p=="string"?t.value.reactive.layersSettings[i7][y]=p:v.type==="data"&&(t.value.reactive.layersSettings[i7][y]={type:v.inputName,value:v.selectedSource}),v.type==="data"&&typeof p!="string"&&(t.value.reactive.dataBindAes[v.selectedSource]=p)}function c(p,v,y){typeof p=="string"?t.value.reactive.layersSettings[i7][y]=p:v.type==="data"&&(t.value.reactive.layersSettings[i7][y]={type:v.inputName,value:v.selectedSource}),v.type==="data"&&typeof p!="string"&&(t.value.reactive.dataBindAes[v.selectedSource]=p)}const f=d.ref(n.value.leavesMode==="alignLeavesToLine");return(p,v)=>(d.openBlock(),d.createElementBlock(d.Fragment,null,[d.createVNode(ki,{label:"Node color","form-title":"Node Color Settings","form-back-title":"Layers",type:"fill",selected:a.value,"possible-aes-source-inputs":["nodeColor"],"without-fixed":r.value.components.nodeColor.selectorStates.length>0,onAesUpdate:v[0]||(v[0]=(y,C)=>u(y,C,"dotFill"))},null,8,["selected","without-fixed"]),d.createVNode(ki,{label:"Node shape","form-title":"Node Shape Settings","form-back-title":"Layers",type:"dotShape",selected:o.value,"possible-aes-source-inputs":["nodeShape"],"without-fixed":r.value.components.nodeShape.selectorStates.length>0,onAesUpdate:v[1]||(v[1]=(y,C)=>c(y,C,"dotShape"))},null,8,["selected","without-fixed"]),d.createVNode(ki,{label:"Line color","form-title":"Line Color Settings","form-back-title":"Layers",type:"fill",selected:l.value,"possible-aes-source-inputs":["lineColor"],"without-fixed":r.value.components.lineColor.selectorStates.length>0,onAesUpdate:v[2]||(v[2]=(y,C)=>u(y,C,"lineColor"))},null,8,["selected","without-fixed"]),d.createElementVNode("div",Yue,[d.createVNode(d.unref(Eh),{modelValue:f.value,"onUpdate:modelValue":[v[3]||(v[3]=y=>f.value=y),v[4]||(v[4]=y=>{n.value.leavesMode=y?"alignLeavesToLine":"normal"})]},null,8,["modelValue"]),v[5]||(v[5]=d.createElementVNode("span",null,"Move leaves to the right",-1))])],64))}}),o7="dots",Kue=d.defineComponent({__name:"Scatter",setup(e){const t=xi(),n=d.computed(()=>t.value.reactive.layersSettings[o7]),r=d.computed(()=>n.value.dotFill??As),a=d.computed(()=>n.value.dotShape??hh);function o(u,c,f){typeof u=="string"?t.value.reactive.layersSettings[o7][f]=u:c.type==="data"&&(t.value.reactive.layersSettings[o7][f]={type:c.inputName,value:c.selectedSource}),c.type==="data"&&typeof u!="string"&&(t.value.reactive.dataBindAes[c.selectedSource]=u)}function l(u,c,f){typeof u=="string"?t.value.reactive.layersSettings[o7][f]=u:c.type==="data"&&(t.value.reactive.layersSettings[o7][f]={type:c.inputName,value:c.selectedSource}),c.type==="data"&&typeof u!="string"&&(t.value.reactive.dataBindAes[c.selectedSource]=u)}return(u,c)=>(d.openBlock(),d.createElementBlock(d.Fragment,null,[d.createVNode(ki,{label:"Color","form-title":"Color Settings","form-back-title":"Layers",type:"fill",selected:r.value,"possible-aes-source-inputs":["grouping"],onAesUpdate:c[0]||(c[0]=(f,p)=>o(f,p,"dotFill"))},null,8,["selected"]),d.createVNode(ki,{label:"Dot shape","form-title":"Dot shape Settings","form-back-title":"Layers",type:"dotShape","possible-aes-source-inputs":["grouping"],selected:a.value,onAesUpdate:c[1]||(c[1]=(f,p)=>l(f,p,"dotShape"))},null,8,["selected"])],64))}}),Xue={class:"input-item",style:{display:"flex","justify-content":"space-between","align-items":"center"}},oB="curve",Zue=d.defineComponent({__name:"Curve",setup(e){const t=xi(),n=d.computed(()=>t.value.reactive.layersSettings[oB]),r=d.computed(()=>n.value.lineColor??As);function a(o,l,u){typeof o=="string"?t.value.reactive.layersSettings[oB][u]=o:l.type==="data"&&(t.value.reactive.layersSettings[oB][u]={type:l.inputName,value:l.selectedSource}),l.type==="data"&&typeof o!="string"&&(t.value.reactive.dataBindAes[l.selectedSource]=o)}return(o,l)=>(d.openBlock(),d.createElementBlock(d.Fragment,null,[d.createVNode(ki,{label:"Color","form-title":"Color Settings","form-back-title":"Layers",type:"stroke",selected:r.value,"possible-aes-source-inputs":["grouping"],onAesUpdate:l[0]||(l[0]=(u,c)=>a(u,c,"lineColor"))},null,8,["selected"]),d.createElementVNode("div",Xue,[l[2]||(l[2]=d.createElementVNode("span",null,"Smoothing",-1)),d.createVNode(d.unref(Ed),{modelValue:d.unref(t).reactive.layersSettings.curve.smoothing,"onUpdate:modelValue":l[1]||(l[1]=u=>d.unref(t).reactive.layersSettings.curve.smoothing=u)},null,8,["modelValue"])])],64))}}),Jue={class:"layers-form",id:"layers-form"},que={class:"layers-list"},ece=d.defineComponent({__name:"index",setup(e){const t=xi(),n={box:Due,binnedDots:Iue,jitteredDots:Lue,violin:$ue,bar:Fue,stackedBar:Que,line:Vue,errorbar:Oue,sina:Uue},r={dots:Kue,curve:Zue};return(a,o)=>(d.openBlock(),d.createElementBlock("div",Jue,[o[0]||(o[0]=d.createElementVNode("div",{class:"layers-title"},[d.createElementVNode("h3",null," Layers ")],-1)),d.createElementVNode("div",que,[d.unref(t).reactive.chartType==="discrete"?(d.openBlock(!0),d.createElementBlock(d.Fragment,{key:0},d.renderList(d.unref(Dy)[d.unref(t).reactive.template],l=>(d.openBlock(),d.createBlock(vp,{icon:d.unref(T1)[l],title:d.unref(e3)[l],settings:{defaultState:d.unref(Dy)[d.unref(t).reactive.template].length>1?"close":"open"}},{default:d.withCtx(()=>[(d.openBlock(),d.createBlock(d.resolveDynamicComponent(n[l])))]),_:2},1032,["icon","title","settings"]))),256)):d.createCommentVNode("",!0),d.unref(t).reactive.chartType==="scatterplot"||d.unref(t).reactive.chartType==="scatterplot-umap"?(d.openBlock(!0),d.createElementBlock(d.Fragment,{key:1},d.renderList(d.unref(My)[d.unref(t).reactive.template],l=>(d.openBlock(),d.createBlock(vp,{icon:d.unref(T1)[l],title:d.unref(e3)[l],settings:{defaultState:d.unref(My)[d.unref(t).reactive.template].length>1?"close":"open"}},{default:d.withCtx(()=>[(d.openBlock(),d.createBlock(d.resolveDynamicComponent(r[l])))]),_:2},1032,["icon","title","settings"]))),256)):d.createCommentVNode("",!0),d.unref(t).reactive.chartType==="heatmap"?(d.openBlock(),d.createBlock(vp,{key:2,icon:d.unref(T1).heatmap,title:d.unref(e3).heatmap,settings:{defaultState:"open"}},{default:d.withCtx(()=>[d.createVNode(jue)]),_:1},8,["icon","title"])):d.createCommentVNode("",!0),d.unref(t).reactive.chartType==="dendro"?(d.openBlock(),d.createBlock(vp,{key:3,icon:d.unref(T1).dendro,title:d.unref(e3).dendro,settings:{defaultState:"open"}},{default:d.withCtx(()=>[d.createVNode(Wue)]),_:1},8,["icon","title"])):d.createCommentVNode("",!0)])]))}});function tce(e,{slots:t}){return d.h("div",Object.assign({},e,{class:"non-found-component"}),t.default&&t.default())}function nce(e,t){return d.computed(()=>{const n=d.unref(t);return n&&e[n]?e[n]:tce})}const rce={},ace={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function ice(e,t){return d.openBlock(),d.createElementBlock("svg",ace,t[0]||(t[0]=[d.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M14.5 7.5V4.5H19.5V7.5H14.5ZM13 4C13 3.44772 13.4477 3 14 3H20C20.5523 3 21 3.44772 21 4V8C21 8.55228 20.5523 9 20 9H14C13.4477 9 13 8.55228 13 8V4ZM4.5 19.5V16.5H9.5V19.5H4.5ZM3 16C3 15.4477 3.44772 15 4 15H10C10.5523 15 11 15.4477 11 16V20C11 20.5523 10.5523 21 10 21H4C3.44772 21 3 20.5523 3 20V16Z",fill:"#07AD3E"},null,-1),d.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4.5 11.5V4.5H9.5V11.5H4.5ZM3 4C3 3.44772 3.44772 3 4 3H10C10.5523 3 11 3.44772 11 4V12C11 12.5523 10.5523 13 10 13H4C3.44772 13 3 12.5523 3 12V4ZM14.5 19.5V12.5H19.5V19.5H14.5ZM13 12C13 11.4477 13.4477 11 14 11H20C20.5523 11 21 11.4477 21 12V20C21 20.5523 20.5523 21 20 21H14C13.4477 21 13 20.5523 13 20V12Z",fill:"#110529"},null,-1)]))}const oce=Nr(rce,[["render",ice]]),lce={},sce={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function uce(e,t){return d.openBlock(),d.createElementBlock("svg",sce,t[0]||(t[0]=[d.createStaticVNode('<g clip-path="url(#clip0_8849_14901)"><path fill-rule="evenodd" clip-rule="evenodd" d="M11.2214 15.2215L13.5701 12.8728C15.2298 11.2131 15.2298 8.5221 13.5701 6.86237C11.9104 5.20264 9.21943 5.20264 7.5597 6.86237L3.31706 11.105C1.65733 12.7647 1.65733 15.4557 3.31706 17.1154C4.38616 18.1845 5.88312 18.565 7.25674 18.2568L8.45258 19.4526C6.38303 20.2767 3.93151 19.8512 2.2564 18.1761C0.0108876 15.9306 0.0108879 12.2899 2.2564 10.0444L6.49904 5.80171C8.74456 3.5562 12.3853 3.5562 14.6308 5.80171C16.8763 8.04723 16.8763 11.6879 14.6308 13.9334L12.2821 16.2821L11.2214 15.2215Z" fill="#110529"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M17.4594 18.1761C15.2139 20.4216 11.5732 20.4216 9.32769 18.1761C7.08218 15.9306 7.08218 12.2899 9.32769 10.0444L11.686 7.68604L12.7467 8.7467L10.3884 11.105C8.72862 12.7647 8.72862 15.4557 10.3884 17.1154C12.0481 18.7751 14.739 18.7751 16.3988 17.1154L20.6414 12.8728C22.3011 11.2131 22.3011 8.5221 20.6414 6.86237C19.5764 5.79737 18.0868 5.41575 16.7175 5.71752L15.5197 4.51971C17.5863 3.70299 20.0307 4.13032 21.7021 5.80171C23.9476 8.04723 23.9476 11.6879 21.7021 13.9334L17.4594 18.1761Z" fill="#07AD3E"></path></g><defs><clipPath id="clip0_8849_14901"><rect width="24" height="24" fill="white"></rect></clipPath></defs>',2)]))}const cce=Nr(lce,[["render",uce]]),fce={},Ace={width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function dce(e,t){return d.openBlock(),d.createElementBlock("svg",Ace,t[0]||(t[0]=[d.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M23.25 17.75V14H24.75V17.75H26V19.25H24.75V23.25H28.75V22H30.25V23.25H34V24.75H30.25V26H28.75V24.75H24.75V28.75H26V30.25H24.75V34H23.25V30.25H22V28.75H23.25V24.75H19.25V26H17.75V24.75H14V23.25H17.75V22H19.25V23.25H23.25V19.25H22V17.75H23.25Z",fill:"#110529"},null,-1),d.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M15.4697 15.5303L17.7501 17.8107V20H19.2501V17.8107L21.5304 15.5303L20.4697 14.4697L18.5001 16.4393L16.5304 14.4697L15.4697 15.5303ZM27.4697 28.5303L29.4394 30.5L27.4697 32.4697L28.5304 33.5303L30.5001 31.5607L32.4697 33.5303L33.5304 32.4697L31.5607 30.5L33.5304 28.5303L32.4697 27.4697L30.5001 29.4393L28.5304 27.4697L27.4697 28.5303Z",fill:"#07AD3E"},null,-1)]))}const pce=Nr(fce,[["render",dce]]),hce={},vce={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function mce(e,t){return d.openBlock(),d.createElementBlock("svg",vce,t[0]||(t[0]=[d.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M20.5 12C20.5 10.3189 20.0015 8.67547 19.0675 7.27766C18.1335 5.87984 16.806 4.79037 15.2528 4.14703C13.6996 3.50368 11.9906 3.33536 10.3417 3.66333C8.6929 3.9913 7.17834 4.80085 5.9896 5.9896C4.80085 7.17834 3.9913 8.6929 3.66333 10.3417C3.33536 11.9906 3.50368 13.6996 4.14703 15.2528C4.79037 16.806 5.87984 18.1335 7.27766 19.0675C8.18407 19.6731 9.19374 20.0957 10.25 20.3179V12.75H7V11.25H10.25V8C10.25 6.48122 11.4812 5.25 13 5.25C14.5188 5.25 15.75 6.48122 15.75 8V8.5H14.25V8C14.25 7.30964 13.6904 6.75 13 6.75C12.3096 6.75 11.75 7.30964 11.75 8V11.25H15V12.75H11.75V20.4963V21.5V21.9969C9.85961 21.9496 8.01943 21.3672 6.4443 20.3147C4.79981 19.2159 3.51809 17.6541 2.76121 15.8268C2.00433 13.9996 1.8063 11.9889 2.19215 10.0491C2.578 8.10929 3.53041 6.32746 4.92894 4.92894C6.32746 3.53041 8.10929 2.578 10.0491 2.19215C11.9889 1.8063 13.9996 2.00433 15.8268 2.76121C17.6541 3.51809 19.2159 4.79981 20.3147 6.4443C21.4135 8.08879 22 10.0222 22 12H20.5Z",fill:"#110529"},null,-1),d.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M19.0607 18L21.5304 15.5303L20.4697 14.4697L18.0001 16.9393L15.5304 14.4697L14.4697 15.5303L16.9394 18L14.4697 20.4697L15.5304 21.5303L18.0001 19.0607L20.4697 21.5303L21.5304 20.4697L19.0607 18Z",fill:"#07AD3E"},null,-1)]))}const gce=Nr(hce,[["render",mce]]),yce={},wce={class:"layers-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Cce(e,t){return d.openBlock(),d.createElementBlock("svg",wce,t[0]||(t[0]=[d.createElementVNode("g",{id:"24: layers"},[d.createElementVNode("path",{id:"Subtract","fill-rule":"evenodd","clip-rule":"evenodd",d:"M2.37549 15.1251L12.0003 21.25L21.6255 15.1249L21.6749 15.1563C22.2924 15.5493 22.2924 16.4507 21.6749 16.8436L12.5375 22.6583C12.21 22.8668 11.7913 22.8668 11.4638 22.6583L2.32641 16.8436C1.70891 16.4507 1.70891 15.5493 2.32641 15.1563L2.37549 15.1251Z",fill:"#07AD3E"}),d.createElementVNode("path",{id:"Union","fill-rule":"evenodd","clip-rule":"evenodd",d:"M2.32641 7.15633C1.70891 7.54929 1.70891 8.4507 2.32641 8.84366L11.4638 14.6583C11.7913 14.8668 12.21 14.8668 12.5375 14.6583L21.6749 8.84365C22.2924 8.4507 22.2924 7.54929 21.6749 7.15633L12.5375 1.34164C12.21 1.13319 11.7913 1.13319 11.4638 1.34164L2.32641 7.15633ZM3.75 7.99997L12 13.25L20.25 7.99997L12 2.74997L3.75 7.99997ZM12.0003 17.25L2.37549 11.1251L2.32641 11.1563C1.70891 11.5493 1.70891 12.4507 2.32641 12.8436L11.4638 18.6583C11.7913 18.8668 12.21 18.8668 12.5375 18.6583L21.6749 12.8436C22.2924 12.4507 22.2924 11.5493 21.6749 11.1563L21.6255 11.1249L12.0003 17.25Z",fill:"#110529"})],-1)]))}const Ece=Nr(yce,[["render",Cce]]),bce={},Bce={class:"export-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Sce(e,t){return d.openBlock(),d.createElementBlock("svg",Bce,t[0]||(t[0]=[d.createElementVNode("g",{id:"Icon"},[d.createElementVNode("path",{id:"Rectangle 4179",d:"M3 17V18C3 19.6569 4.34315 21 6 21H18C19.6569 21 21 19.6569 21 18V17",stroke:"#07AD3E","stroke-width":"1.5"}),d.createElementVNode("path",{id:"Vector 1335",d:"M18 10L12 16M12 16L6 10M12 16L12 2",stroke:"black","stroke-width":"1.5"})],-1)]))}const xce=Nr(bce,[["render",Sce]]),kce={class:"input-item"},Tce={class:"input-item"},_ce={class:"input-item"},Pce={class:"input-item"},Hce={class:"input-item",style:{"z-index":"0"}},Dce={class:"checkbox-item"},Mce={class:"input-item"},Ice={class:"input-item"},Rce={class:"input-item",style:{"z-index":"0"}},Lce={class:"checkbox-item"},Nce=d.defineComponent({__name:"StatisticsForm",setup(e){const t=xi(),n=d.computed(()=>t.value.reactive.statisticsSettings),r=d.computed(()=>t.value.commonHelpersData.primaryGroups.value),a=d.computed(()=>zM(r.value)),o=d.computed(()=>GM(r.value)),l=(C,S)=>d.computed({get(){return C[S]??void 0},set(x){C[S]=x??null}}),u=l(n.value.overall.data,"testMethod"),c=l(n.value.referenceGroup.data,"testMethod"),f=l(n.value.referenceGroup.data,"referenceGroup"),p=l(n.value.referenceGroup.data,"correctionMethod"),v=l(n.value.pairwise.data,"testMethod"),y=l(n.value.pairwise.data,"correctionMethod");return Hb(t)(),d.watch([()=>n.value.overall.data.testMethod,()=>n.value.referenceGroup.data.referenceGroup],Hb(t)),(C,S)=>(d.openBlock(),d.createElementBlock("div",{class:"stat-form",onClick:S[10]||(S[10]=x=>x.stopPropagation())},[S[13]||(S[13]=d.createElementVNode("h3",null," Statistics ",-1)),S[14]||(S[14]=d.createElementVNode("div",{class:"section-title"},[d.createElementVNode("span",null,"overall p-value")],-1)),d.createElementVNode("div",kce,[d.createVNode(d.unref(Du),{label:"Method",clearable:"",placeholder:"Choose",modelValue:d.unref(u),"onUpdate:modelValue":S[0]||(S[0]=x=>d.isRef(u)?u.value=x:null),options:o.value,error:n.value.overall.validity.testMethod?"":" "},null,8,["modelValue","options","error"])]),S[15]||(S[15]=d.createElementVNode("div",{class:"section-title"},[d.createElementVNode("span",null,"reference group")],-1)),d.createElementVNode("div",Tce,[d.createVNode(d.unref(Du),{label:"Reference from...",clearable:"",placeholder:"Choose",modelValue:d.unref(f),"onUpdate:modelValue":S[1]||(S[1]=x=>d.isRef(f)?f.value=x:null),options:a.value,error:n.value.referenceGroup.validity.referenceGroup?"":" "},null,8,["modelValue","options","error"])]),d.createElementVNode("div",_ce,[d.createVNode(d.unref(Du),{label:"Method",clearable:"",placeholder:"Choose",modelValue:d.unref(c),"onUpdate:modelValue":S[2]||(S[2]=x=>d.isRef(c)?c.value=x:null),options:d.unref(Z4)},null,8,["modelValue","options"])]),d.createElementVNode("div",Pce,[d.createVNode(d.unref(Du),{label:"Correction method",placeholder:"Choose",modelValue:d.unref(p),"onUpdate:modelValue":S[3]||(S[3]=x=>d.isRef(p)?p.value=x:null),options:d.unref($M)},null,8,["modelValue","options"])]),d.createElementVNode("div",Hce,[d.createVNode(d.unref(tA),{label:"Show",modelValue:n.value.referenceGroup.data.format,"onUpdate:modelValue":S[4]||(S[4]=x=>n.value.referenceGroup.data.format=x),options:d.unref(FM)},null,8,["modelValue","options"])]),d.createElementVNode("div",Dce,[d.createVNode(d.unref(Eh),{modelValue:n.value.referenceGroup.data.ns,"onUpdate:modelValue":S[5]||(S[5]=x=>n.value.referenceGroup.data.ns=x)},null,8,["modelValue"]),S[11]||(S[11]=d.createElementVNode("span",null,"Non-significant",-1))]),S[16]||(S[16]=d.createElementVNode("div",{class:"section-title"},[d.createElementVNode("span",null,"pairwise p-value")],-1)),d.createElementVNode("div",Mce,[d.createVNode(d.unref(Du),{label:"Method",clearable:"",placeholder:"Choose",modelValue:d.unref(v),"onUpdate:modelValue":S[6]||(S[6]=x=>d.isRef(v)?v.value=x:null),options:d.unref(Z4)},null,8,["modelValue","options"])]),d.createElementVNode("div",Ice,[d.createVNode(d.unref(Du),{label:"Correction method",placeholder:"Choose",modelValue:d.unref(y),"onUpdate:modelValue":S[7]||(S[7]=x=>d.isRef(y)?y.value=x:null),options:d.unref($M)},null,8,["modelValue","options"])]),d.createElementVNode("div",Rce,[d.createVNode(d.unref(tA),{label:"Show",modelValue:n.value.pairwise.data.format,"onUpdate:modelValue":S[8]||(S[8]=x=>n.value.pairwise.data.format=x),options:d.unref(FM)},null,8,["modelValue","options"])]),d.createElementVNode("div",Lce,[d.createVNode(d.unref(Eh),{modelValue:n.value.pairwise.data.ns,"onUpdate:modelValue":S[9]||(S[9]=x=>n.value.pairwise.data.ns=x)},null,8,["modelValue"]),S[12]||(S[12]=d.createElementVNode("span",null,"Non-significant",-1))])]))}}),$ce={},Fce={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"};function Qce(e,t){return d.openBlock(),d.createElementBlock("svg",Fce,t[0]||(t[0]=[d.createStaticVNode('<path fill-rule="evenodd" clip-rule="evenodd" d="M7.5 3.75002C7.5 3.05967 8.05964 2.50002 8.75 2.50002L15.25 2.5C15.9404 2.5 16.5 3.05964 16.5 3.75V5.50004L20.5 5.50006V7.00006L19 7.00006H17.5L6.5 7.00004H5L3.5 7V5.5L7.5 5.50006V3.75002ZM9 5.50006L15 5.50004V4L9 4.00002V5.50006Z" fill="#110529"></path><path d="M17.5 7.00006V12.5H19V7.00006H17.5Z" fill="#110529"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M6.5 17.75C6.5 18.9926 7.50736 20 8.75 20H12V21.5H8.75C6.67893 21.5 5 19.8211 5 17.75V8.50006H6.5V17.75Z" fill="#110529"></path><path d="M6.5 7.00004H5V8.50006H6.5V7.00004Z" fill="#110529"></path><path d="M14.75 14.5L18.25 18M21.75 21.5L18.25 18M18.25 18L21.75 14.5M18.25 18L14.75 21.5" stroke="#07AD3E" stroke-width="1.5"></path>',5)]))}const xw={template:{icon:oce,component:une,title:"Template"},dataMapping:{icon:cce,component:uoe,title:"Data mapping"},axes:{icon:pce,component:_ue,title:"Axes settings"},statistics:{icon:gce,component:Nce,title:"Statistics"},layers:{icon:Ece,component:ece,title:"Layers"},delete:{icon:Nr($ce,[["render",Qce]]),component:null,title:"Delete graph"},export:{icon:xce,component:null,title:"Export"}};function Vce(){return Object.keys(xw)}function Oce(e){return xw[e].icon??""}function Uce(e){return xw[e].title??""}function zce(e){const t=Object.entries(xw).reduce((n,[r,a])=>vse.setProp(n,r,a.component),{});return nce(t,e)}const Gce={class:"settings-tabs"},jce={style:{"font-family":"var(--font-family-base)"}},Yce=d.defineComponent({__name:"index",props:{chartType:{},chartEmpty:{type:Boolean},allowDeleting:{type:Boolean},modelValue:{}},emits:["update:modelValue","export","delete"],setup(e,{emit:t}){const n=t,r=e,a=d.computed(()=>Vce().filter(l=>!(l==="statistics"&&r.chartType!=="discrete")&&!(l==="delete"&&r.allowDeleting)));function o(l){n("update:modelValue",l===r.modelValue?null:l)}return(l,u)=>(d.openBlock(),d.createElementBlock("div",Gce,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(a.value,c=>(d.openBlock(),d.createBlock(d.unref(Ry),{key:c,"open-delay":100,"close-delay":100,class:d.normalizeClass(["has-inline-icon",{active:l.modelValue===c,"temp-inactive":c==="export"&&(l.chartEmpty||l.chartType==="scatterplot-umap"),[c]:!0}]),position:"left",hide:l.modelValue===c,onClick:f=>{f.stopPropagation(),c==="export"?l.$emit("export"):c==="delete"?l.$emit("delete"):o(c)}},{tooltip:d.withCtx(()=>[d.createElementVNode("span",jce,d.toDisplayString(d.unref(Uce)(c)),1)]),default:d.withCtx(()=>[(d.openBlock(),d.createBlock(d.resolveDynamicComponent(d.unref(Oce)(c))))]),_:2},1032,["class","hide","onClick"]))),128))]))}}),Wce=d.defineComponent({__name:"TransitionSlidePanel",setup(e){function t(){window.dispatchEvent(new CustomEvent("adjust"))}function n(){window.dispatchEvent(new CustomEvent("adjust"))}return(r,a)=>(d.openBlock(),d.createBlock(d.Transition,{name:"slide-panel",onAfterEnter:t,onAfterLeave:n},{default:d.withCtx(()=>[d.renderSlot(r.$slots,"default")]),_:3}))}}),Kce=d.defineComponent({__name:"PanelModal",emits:["close"],setup(e,{emit:t}){const n=t,r=d.ref();return tw([r],()=>n("close")),(a,o)=>(d.openBlock(),d.createElementBlock("div",{ref_key:"rootRef",ref:r,class:"panel-modal"},[d.createVNode(d.unref(q4),{class:"close-panel-modal",name:"delete-clear",onClick:o[0]||(o[0]=l=>n("close"))}),d.renderSlot(a.$slots,"default",{ref:"contentRef"})],512))}}),Xce={},Zce={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"};function Jce(e,t){return d.openBlock(),d.createElementBlock("svg",Zce,t[0]||(t[0]=[d.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M8.75 2.25V7.25H13.75V8.75H8.75V13.75H7.25V8.75H2.25V7.25H7.25V2.25H8.75Z",fill:"#110529"},null,-1)]))}const qce=Nr(Xce,[["render",Jce]]),efe={},tfe={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"};function nfe(e,t){return d.openBlock(),d.createElementBlock("svg",tfe,t[0]||(t[0]=[d.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M2.25 7.25H13.75V8.75H2.25V7.25Z",fill:"#110529"},null,-1)]))}const rfe=Nr(efe,[["render",nfe]]),afe={class:"zoom-text-field"},ife=d.defineComponent({__name:"ZoomInput",props:{modelValue:{}},emits:["update:modelValue"],setup(e,{emit:t}){const n=t,r=e,a=d.ref(),o=d.ref(!1),l=d.ref(String(r.modelValue)),u=d.computed({get(){const c=l.value??"100";return o.value?c:c+"%"},set(c){return l.value=c,c}});return d.watch(()=>o.value,c=>{if(!c){let f=Number(l.value);isNaN(f)?l.value=String(r.modelValue):n("update:modelValue",f)}}),d.watch(()=>r.modelValue,c=>{l.value=String(c)}),(c,f)=>(d.openBlock(),d.createElementBlock("div",{class:"zoom-text-field__envelope zoom-input",onFocusin:f[1]||(f[1]=p=>o.value=!0),onFocusout:f[2]||(f[2]=p=>o.value=!1),onKeyup:f[3]||(f[3]=d.withKeys(p=>{var v;return(v=a.value)==null?void 0:v.blur()},["enter"]))},[d.createElementVNode("div",afe,[d.withDirectives(d.createElementVNode("input",{ref_key:"input",ref:a,"onUpdate:modelValue":f[0]||(f[0]=p=>u.value=p),type:"text"},null,512),[[d.vModelText,u.value]]),d.createVNode(Kb,{style:{"z-index":"1"},class:"zoom-text-field__contour"})])],32))}}),ofe={class:"zoom-container"},lfe=20,sfe=400,RI=10,ufe=d.defineComponent({__name:"index",setup(e){const t=xi();function n(o){return Math.max(lfe,Math.min(sfe,o))}function r(){t.value.reactive.chartScale=n(t.value.reactive.chartScale-RI)}function a(){t.value.reactive.chartScale=n(t.value.reactive.chartScale+RI)}return(o,l)=>(d.openBlock(),d.createElementBlock("div",ofe,[l[1]||(l[1]=d.createElementVNode("div",{class:"zoom-border"},null,-1)),d.createVNode(d.unref(WM),{onClick:r},{default:d.withCtx(()=>[(d.openBlock(),d.createBlock(d.resolveDynamicComponent(rfe)))]),_:1}),d.createVNode(ife,{modelValue:d.unref(t).reactive.chartScale,"onUpdate:modelValue":l[0]||(l[0]=u=>d.unref(t).reactive.chartScale=n(u))},null,8,["modelValue"]),d.createVNode(d.unref(WM),{onClick:a},{default:d.withCtx(()=>[(d.openBlock(),d.createBlock(d.resolveDynamicComponent(qce)))]),_:1})]))}}),cfe=d.defineComponent({__name:"DendroTable",props:{chartData:{}},emits:["row-select"],setup(e,{emit:t}){const n=xi(),r=e,a=d.ref(100),o=d.shallowRef(),l=d.computed(()=>["id",...n.value.reactive.optionsState.components.tableContent.selectorStates.map(C=>C.selectedSource)]),u=d.ref([]);d.watch(()=>{var C;return(C=r.chartData)==null?void 0:C.hierarchy},C=>{if(C){const S=C.leaves().map(x=>x.data.rawData.id);(S.length!==u.value.length||S.some((x,P)=>x!==u.value[P]))&&(u.value=S)}else u.value=[]},{immediate:!0});const c=d.ref([]),f=d.ref([]);d.watch([()=>u.value,()=>l.value,()=>n.value.commonHelpersData.dendroTableData.value],([C,S,x])=>{if(x===null){f.value=[],c.value=[];return}if(S.some(_=>!x[_]))return;const P=x.id.data.reduce((_,H,D)=>{const G=H;return _[G]&&console.warn(`More than 1 value for node id ${G} in dendro table`),_[G]=S.reduce((Q,F)=>{const N=x[F];return N&&(Q[F]=N.data[D]),Q},{}),_},{});f.value=S.map(_=>({headerName:x[_].label,field:_,sortable:!1,resizable:!1})),c.value=C.map(_=>P[_]??null),y()},{immediate:!0});const p=d.computed(()=>{var S,x;const C=(x=(S=r.chartData)==null?void 0:S.chartSizes)==null?void 0:x.treeHeight;return u.value.length?C/u.value.length:0}),v=C=>{o.value=C.api,y()};function y(){if(o.value&&!o.value.isDestroyed()){o.value.autoSizeAllColumns();const C=o.value.getColumns();C&&(a.value=C.reduce((S,x)=>S+x.getActualWidth(),2))}}return d.watch(()=>n.value.reactive.dendroSelectedNodeId,C=>{o.value&&(C===null?o.value.deselectAll():o.value.forEachNode(S=>{S.data.id===C&&S.setSelected(!0,!0)}))}),(C,S)=>(d.openBlock(),d.createElementBlock("div",{class:"dendro-table",style:d.normalizeStyle({width:a.value+"px"})},[d.createVNode(d.unref(Vg.AgGridVue),{theme:d.unref(UX.AgGridTheme),gridApi:o.value,onGridReady:v,defaultColDef:{suppressHeaderMenuButton:!0},rowData:c.value,columnDefs:f.value,rowHeight:p.value,autoSizeStrategy:{type:"fitCellContents"},onGridColumnsChanged:S[0]||(S[0]=()=>{y()}),domLayout:"autoHeight"},null,8,["theme","gridApi","rowData","columnDefs","rowHeight"])],4))}}),ffe={},Afe={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"};function dfe(e,t){return d.openBlock(),d.createElementBlock("svg",Afe,t[0]||(t[0]=[d.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M19.091 3.53035C18.2123 2.65166 16.7877 2.65167 15.909 3.53037L3.90901 15.5304C3.48705 15.9524 3.25 16.5246 3.25 17.1214V20.0001C3.25 20.4143 3.58579 20.7501 4 20.7501H6.87868C7.47542 20.7501 8.04771 20.513 8.46967 20.0911L20.4697 8.09099C21.3484 7.21231 21.3484 5.7877 20.4697 4.90903L19.091 3.53035ZM16.9697 4.59101C17.2626 4.29811 17.7374 4.29811 18.0303 4.59101L19.409 5.96969C19.7019 6.26258 19.7019 6.73745 19.409 7.03034L18.5 7.9394L16.0607 5.50006L16.9697 4.59101ZM15 6.56073L17.4393 9.00007L7.40901 19.0304C7.26836 19.171 7.07759 19.2501 6.87868 19.2501H4.75V17.1214C4.75 16.9225 4.82902 16.7317 4.96967 16.5911L15 6.56073Z",fill:"#CFD1DB"},null,-1),d.createElementVNode("path",{d:"M12 20.7501L20 20.7501L20 19.2501L12 19.2501L12 20.7501Z",fill:"#CFD1DB"},null,-1)]))}const pfe=Nr(ffe,[["render",dfe]]),LI=d.defineComponent({__name:"Loading",props:{top:{default:0},left:{default:0},right:{default:0},bottom:{default:0}},setup(e){return(t,n)=>(d.openBlock(),d.createElementBlock("div",{class:"graph-maker__loading",style:d.normalizeStyle({top:`${t.top}px`,bottom:`${t.bottom}px`,right:`${t.right}px`,left:`${t.left}px`})},n[0]||(n[0]=[d.createStaticVNode('<div class="loading-picture"><svg xmlns="http://www.w3.org/2000/svg" width="80" height="80" viewBox="0 0 80 80" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M36.0197 2.29384C37.0053 1.76506 37.7157 1.45481 38.4537 1.29931C39.4734 1.08447 40.5266 1.08447 41.5463 1.29931C42.2843 1.45481 42.9947 1.76506 43.9803 2.29384C44.7026 2.66301 45.5542 3.14998 46.6565 3.78023L68.4201 16.2247C69.3757 16.7711 70.1409 17.2086 70.7708 17.5978C71.8362 18.2367 72.5158 18.7183 73.0579 19.3166C73.7667 20.0989 74.3023 21.0219 74.6298 22.0253C75 23.1595 75 24.4276 75 26.9639V53.0362C75 55.5725 75 56.8407 74.6298 57.9748C74.3023 58.9782 73.7667 59.9012 73.0579 60.6835C72.5154 61.2822 71.8353 61.764 70.7688 62.4035C70.1393 62.7924 69.3748 63.2295 68.4203 63.7753L46.6565 76.2198C45.555 76.8497 44.7037 77.3364 43.9817 77.7055C42.9954 78.2347 42.2847 78.5452 41.5463 78.7008C40.5266 78.9156 39.4734 78.9156 38.4537 78.7008C37.7153 78.5452 37.0045 78.2347 36.0182 77.7054C35.2962 77.3364 34.445 76.8497 33.3436 76.2199L11.5799 63.7754C10.6253 63.2295 9.86069 62.7924 9.23115 62.4035C8.16466 61.764 7.48457 61.2822 6.94208 60.6835C6.23334 59.9012 5.6977 58.9782 5.37018 57.9748C5 56.8407 5 55.5725 5 53.0362V26.9639C5 24.4276 5 23.1595 5.37018 22.0253C5.6977 21.0219 6.23334 20.0989 6.94208 19.3166C7.48422 18.7183 8.16379 18.2367 9.22911 17.5978C9.85904 17.2086 10.6242 16.7711 11.5799 16.2247L33.3435 3.78023C34.4457 3.14998 35.2974 2.663 36.0197 2.29384ZM10 34.9971V24.9907H37.4546V34.9971H10ZM10 45.0036V40.0003H37.4546V45.0036H10ZM37.4546 72.9139L10 57.1541V50.0069H37.4546V72.9139ZM65.0189 60.0134L42.5455 72.9138V60.0134H65.0189ZM70 24.9907V55.0101H42.5455V24.9907H70ZM14.98 19.9874L40 5.62505L65.0201 19.9874H14.98Z" fill="#E1E3EB"></path></svg><div class="loading-progress-bar"><div class="moving-dash"></div></div></div>',1)]),4))}}),hfe={class:"chart_header"},vfe=["value"],mfe={class:"chart_titleLineSlot"},gfe={key:0,class:"chart_tabBy"},yfe=d.defineComponent({__name:"Chart",props:{empty:{type:Boolean},graphTitle:{},chartData:{}},emits:["graph-title-update","dendro-node-select"],setup(e,{emit:t}){const n=t,r=xi(),a=e,o=d.ref(a.graphTitle);d.watch(()=>a.graphTitle,S=>{o.value=S});const l=d.computed(()=>{var S;return(S=r.value.reactive.optionsState.components.tabBy.selectorStates[0])==null?void 0:S.selectedSource});function u(S,x,P){const{valueLabels:_}=P(x);return S.map(H=>({value:String(H),text:_[H]})).sort((H,D)=>H.text>D.text?1:-1)}function c(){const S=r.value.reactive.optionsState.components.tabBy;return S.type==="filter"&&S.selectorStates.length?S.selectorStates[0].selectedFilterValue:void 0}const f=d.ref(c());d.watch(l,(S,x)=>{S!==x&&(f.value=c())});const p=d.computed(()=>r.value.inputGuide.value),v=d.computed(()=>{const S=p.value.components.tabBy;return S?u(S.filterValueOptions[l.value],l.value,p.value.getSourceInfo):[]});d.watch(f,(S,x)=>{if(S!==x){const P=r.value.reactive.optionsState.components.tabBy.selectorStates;P.length&&(r.value.reactive.optionsState.components.tabBy.selectorStates=[{...P[0],selectedFilterValue:S}])}});function y(S){const x=S.currentTarget;o.value=x.value,n("graph-title-update",x.value)}function C(S){n("dendro-node-select",S)}return(S,x)=>(d.openBlock(),d.createElementBlock("div",{class:d.normalizeClass(["chart_container",{chart_container__empty:a.empty&&!d.unref(r).loading.chartData}])},[d.createElementVNode("div",hfe,[d.createElementVNode("input",{class:"chart_title",value:o.value,onChange:y,onKeyup:x[0]||(x[0]=d.withKeys(P=>{var _;(_=P.target)==null||_.blur()},["enter"]))},null,40,vfe),(d.openBlock(),d.createBlock(d.resolveDynamicComponent(pfe),{class:"chart_titleEdit"})),d.createElementVNode("div",mfe,[d.renderSlot(S.$slots,"default")])]),l.value&&!S.empty?(d.openBlock(),d.createElementBlock("div",gfe,[d.createVNode(d.unref(Du),{label:"Show for",modelValue:f.value,"onUpdate:modelValue":x[1]||(x[1]=P=>f.value=P),options:v.value},null,8,["modelValue","options"])])):d.createCommentVNode("",!0),d.createElementVNode("div",{class:d.normalizeClass(["chart_main-content",{"chart_main-content__dendro":d.unref(r).reactive.chartType==="dendro"}])},[d.createElementVNode("div",{id:"chartSvgContainer",class:d.normalizeClass({chart_loading:d.unref(r).loading.chartData})},[d.unref(r).loading.chartData?(d.openBlock(),d.createBlock(LI,{key:0})):d.createCommentVNode("",!0)],2),d.unref(r).reactive.chartType==="dendro"&&S.chartData&&d.unref(r).reactive.layersSettings.dendro.showTable?(d.openBlock(),d.createBlock(cfe,{key:0,chartData:S.chartData,onRowSelect:C},null,8,["chartData"])):d.createCommentVNode("",!0)],2),!S.empty&&d.unref(r).reactive.chartType!=="scatterplot-umap"?(d.openBlock(),d.createBlock(ufe,{key:1})):d.createCommentVNode("",!0)],2))}});function wfe(e,t){return e.parent===t.parent?1:2}function Cfe(e){return e.reduce(Efe,0)/e.length}function Efe(e,t){return e+t.x}function bfe(e){return 1+e.reduce(Bfe,0)}function Bfe(e,t){return Math.max(e,t.y)}function Sfe(e){for(var t;t=e.children;)e=t[0];return e}function xfe(e){for(var t;t=e.children;)e=t[t.length-1];return e}function lB(){var e=wfe,t=1,n=1,r=!1;function a(o){var l,u=0;o.eachAfter(function(y){var C=y.children;C?(y.x=Cfe(C),y.y=bfe(C)):(y.x=l?u+=e(y,l):0,y.y=0,l=y)});var c=Sfe(o),f=xfe(o),p=c.x-e(c,f)/2,v=f.x+e(f,c)/2;return o.eachAfter(r?function(y){y.x=(y.x-o.x)*t,y.y=(o.y-y.y)*n}:function(y){y.x=(y.x-p)/(v-p)*t,y.y=(1-(o.y?y.y/o.y:1))*n})}return a.separation=function(o){return arguments.length?(e=o,a):e},a.size=function(o){return arguments.length?(r=!1,t=+o[0],n=+o[1],a):r?null:[t,n]},a.nodeSize=function(o){return arguments.length?(r=!0,t=+o[0],n=+o[1],a):r?[t,n]:null},a}function kfe(e){var t=0,n=e.children,r=n&&n.length;if(!r)t=1;else for(;--r>=0;)t+=n[r].value;e.value=t}function Tfe(){return this.eachAfter(kfe)}function _fe(e,t){let n=-1;for(const r of this)e.call(t,r,++n,this);return this}function Pfe(e,t){for(var n=this,r=[n],a,o,l=-1;n=r.pop();)if(e.call(t,n,++l,this),a=n.children)for(o=a.length-1;o>=0;--o)r.push(a[o]);return this}function Hfe(e,t){for(var n=this,r=[n],a=[],o,l,u,c=-1;n=r.pop();)if(a.push(n),o=n.children)for(l=0,u=o.length;l<u;++l)r.push(o[l]);for(;n=a.pop();)e.call(t,n,++c,this);return this}function Dfe(e,t){let n=-1;for(const r of this)if(e.call(t,r,++n,this))return r}function Mfe(e){return this.eachAfter(function(t){for(var n=+e(t.data)||0,r=t.children,a=r&&r.length;--a>=0;)n+=r[a].value;t.value=n})}function Ife(e){return this.eachBefore(function(t){t.children&&t.children.sort(e)})}function Rfe(e){for(var t=this,n=Lfe(t,e),r=[t];t!==n;)t=t.parent,r.push(t);for(var a=r.length;e!==n;)r.splice(a,0,e),e=e.parent;return r}function Lfe(e,t){if(e===t)return e;var n=e.ancestors(),r=t.ancestors(),a=null;for(e=n.pop(),t=r.pop();e===t;)a=e,e=n.pop(),t=r.pop();return a}function Nfe(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t}function $fe(){return Array.from(this)}function Ffe(){var e=[];return this.eachBefore(function(t){t.children||e.push(t)}),e}function Qfe(){var e=this,t=[];return e.each(function(n){n!==e&&t.push({source:n.parent,target:n})}),t}function*Vfe(){var e=this,t,n=[e],r,a,o;do for(t=n.reverse(),n=[];e=t.pop();)if(yield e,r=e.children)for(a=0,o=r.length;a<o;++a)n.push(r[a]);while(n.length)}function kw(e,t){e instanceof Map?(e=[void 0,e],t===void 0&&(t=zfe)):t===void 0&&(t=Ufe);for(var n=new l7(e),r,a=[n],o,l,u,c;r=a.pop();)if((l=t(r.data))&&(c=(l=Array.from(l)).length))for(r.children=l,u=c-1;u>=0;--u)a.push(o=l[u]=new l7(l[u])),o.parent=r,o.depth=r.depth+1;return n.eachBefore(NI)}function Ofe(){return kw(this).eachBefore(Gfe)}function Ufe(e){return e.children}function zfe(e){return Array.isArray(e)?e[1]:null}function Gfe(e){e.data.value!==void 0&&(e.value=e.data.value),e.data=e.data.data}function NI(e){var t=0;do e.height=t;while((e=e.parent)&&e.height<++t)}function l7(e){this.data=e,this.depth=this.height=0,this.parent=null}l7.prototype=kw.prototype={constructor:l7,count:Tfe,each:_fe,eachAfter:Hfe,eachBefore:Pfe,find:Dfe,sum:Mfe,sort:Ife,path:Rfe,ancestors:Nfe,descendants:$fe,leaves:Ffe,links:Qfe,copy:Ofe,[Symbol.iterator]:Vfe};function sB(e){return e==null?null:jfe(e)}function jfe(e){if(typeof e!="function")throw new Error;return e}var Yfe={depth:-1},$I={},uB={};function Wfe(e){return e.id}function Kfe(e){return e.parentId}function FI(){var e=Wfe,t=Kfe,n;function r(a){var o=Array.from(a),l=e,u=t,c,f,p,v,y,C,S,x,P=new Map;if(n!=null){const _=o.map((G,Q)=>Xfe(n(G,Q,a))),H=_.map(QI),D=new Set(_).add("");for(const G of H)D.has(G)||(D.add(G),_.push(G),H.push(QI(G)),o.push(uB));l=(G,Q)=>_[Q],u=(G,Q)=>H[Q]}for(p=0,c=o.length;p<c;++p)f=o[p],C=o[p]=new l7(f),(S=l(f,p,a))!=null&&(S+="")&&(x=C.id=S,P.set(x,P.has(x)?$I:C)),(S=u(f,p,a))!=null&&(S+="")&&(C.parent=S);for(p=0;p<c;++p)if(C=o[p],S=C.parent){if(y=P.get(S),!y)throw new Error("missing: "+S);if(y===$I)throw new Error("ambiguous: "+S);y.children?y.children.push(C):y.children=[C],C.parent=y}else{if(v)throw new Error("multiple roots");v=C}if(!v)throw new Error("no root");if(n!=null){for(;v.data===uB&&v.children.length===1;)v=v.children[0],--c;for(let _=o.length-1;_>=0&&(C=o[_],C.data===uB);--_)C.data=null}if(v.parent=Yfe,v.eachBefore(function(_){_.depth=_.parent.depth+1,--c}).eachBefore(NI),v.parent=null,c>0)throw new Error("cycle");return v}return r.id=function(a){return arguments.length?(e=sB(a),r):e},r.parentId=function(a){return arguments.length?(t=sB(a),r):t},r.path=function(a){return arguments.length?(n=sB(a),r):n},r}function Xfe(e){e=`${e}`;let t=e.length;return cB(e,t-1)&&!cB(e,t-2)&&(e=e.slice(0,-1)),e[0]==="/"?e:`/${e}`}function QI(e){let t=e.length;if(t<2)return"";for(;--t>1&&!cB(e,t););return e.slice(0,t)}function cB(e,t){if(e[t]==="/"){let n=0;for(;t>0&&e[--t]==="\\";)++n;if(!(n&1))return!0}return!1}var Cm={},fB={exports:{}},Sa={};/**
46
46
  * @license React
47
47
  * react.production.min.js
48
48
  *
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- .graph-maker .settings-tabs{display:flex;flex-direction:column;border-radius:6px;border:1px solid var(--color-div-grey);background:var(--bg-elevated-01);z-index:1}.graph-maker .settings-tabs>div{--divider-display: block;position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;width:48px;height:48px}.graph-maker .settings-tabs>div:after{content:"";position:absolute;bottom:0;left:8px;right:8px;border-bottom:1px solid var(--color-div-grey);display:var(--divider-display)}.graph-maker .settings-tabs>div:last-child{--divider-display: none}.graph-maker .settings-tabs>div.active{border-radius:6px;border:1px solid var(--color-border-default);background:var(--btn-switcher-bg);box-shadow:var(--btn-shape-shadow)}.graph-maker .settings-tabs>div.active svg:not(.export-icon) path{fill:var(--color-ic-01)}.graph-maker .settings-tabs>div:not(.active){cursor:pointer}.graph-maker .settings-tabs>div.last{margin-top:auto;border-top:1px solid var(--color-div-grey);border-bottom:0}.graph-maker .settings-tabs>div.temp-inactive{pointer-events:none}.graph-maker .settings-tabs>div.temp-inactive.axes svg path{fill:var(--color-div-grey)}.graph-maker .settings-tabs>div.temp-inactive.export svg path{stroke:var(--color-div-grey)}.graph-maker{position:relative;display:flex;background-color:#fff;height:100%;padding:12px;overflow:hidden}.graph-maker__main-pane{position:relative;overflow:hidden;width:100%;z-index:1}.graph-maker__loading{position:absolute;left:0;right:0;bottom:0;border-radius:6px;border:solid 1px var(--color-div-grey);background:var(--bg-base-light);z-index:1;display:flex;justify-content:center;align-items:center}.graph-maker__loading .loading-picture{width:160px;height:124px;display:flex;flex-direction:column;align-items:center}.graph-maker__loading .loading-progress-bar{width:100%;height:4px;border-radius:6px;margin-top:40px;background:#fff;position:relative;overflow:hidden}.graph-maker__loading .loading-progress-bar .moving-dash{height:4px;width:80px;position:absolute;left:0;background:var(--bg-elevated-02);transform:translate(-80px);animation:moving-to-right 2s infinite linear}@keyframes moving-to-right{0%{transform:translate(-80px)}to{transform:translate(160px)}}.graph-maker .settings-tabs{margin-left:auto;align-self:start}.graph-maker .chart_container{position:relative;padding:12px 24px 0 12px;height:100%;width:100%;display:flex;flex-direction:column}.graph-maker .chart_container__empty{background-image:url("data:image/svg+xml,%3csvg%20width='301'%20height='245'%20viewBox='0%200%20301%20245'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M33.96%20176V155.84H41.926C42.318%20155.84%2042.892%20155.868%2043.41%20155.952C46.672%20156.456%2048.394%20158.99%2048.394%20162.196C48.394%20165.402%2046.658%20167.936%2043.41%20168.44C42.892%20168.524%2042.304%20168.552%2041.926%20168.552H36.452V176H33.96ZM36.452%20166.186H41.842C42.192%20166.186%2042.682%20166.158%2043.102%20166.06C45.034%20165.626%2045.846%20163.876%2045.846%20162.196C45.846%20160.516%2045.034%20158.766%2043.102%20158.332C42.682%20158.234%2042.192%20158.206%2041.842%20158.206H36.452V166.186ZM50.9066%20176V155.84H53.3986V176H50.9066ZM63.5912%20176.42C59.1252%20176.42%2056.1992%20173.27%2056.1992%20168.538C56.1992%20163.582%2059.0832%20160.46%2063.4792%20160.46C68.0292%20160.46%2070.6892%20163.764%2070.4652%20169.14H58.8732C59.0692%20172.276%2060.6932%20174.054%2063.4792%20174.054C65.4672%20174.054%2066.9792%20173.116%2067.8192%20171.394L70.2132%20172.22C69.0232%20174.894%2066.5172%20176.42%2063.5912%20176.42ZM58.9152%20167.138H67.8752C67.5672%20164.17%2066.1252%20162.7%2063.5632%20162.7C60.8472%20162.7%2059.2652%20164.268%2058.9152%20167.138ZM77.0468%20176.42C73.6587%20176.42%2071.9087%20174.348%2071.9087%20171.912C71.9087%20169.532%2073.3227%20168.146%2075.6188%20167.474C77.5087%20166.97%2080.1687%20166.648%2082.4088%20166.34C82.3388%20163.932%2081.3028%20162.784%2078.6847%20162.784C76.8508%20162.784%2075.3807%20163.582%2074.8347%20165.43L72.4687%20164.716C73.1827%20162.07%2075.2968%20160.46%2078.7128%20160.46C81.4428%20160.46%2083.5008%20161.44%2084.3688%20163.414C84.7887%20164.352%2084.8587%20165.458%2084.8587%20166.648V176H82.6468V173.648C81.4428%20175.496%2079.5668%20176.42%2077.0468%20176.42ZM74.3867%20171.898C74.3867%20173.144%2075.2688%20174.334%2077.4248%20174.334C80.1127%20174.334%2081.7648%20172.724%2082.1288%20170.848C82.3388%20170.12%2082.3668%20169.154%2082.3808%20168.468C80.2528%20168.748%2078.2088%20168.986%2076.7387%20169.406C75.4928%20169.798%2074.3867%20170.484%2074.3867%20171.898ZM93.6507%20176.406C90.0387%20176.406%2087.6167%20174.754%2087.0987%20171.912L89.6467%20171.506C90.0527%20173.158%2091.6207%20174.18%2093.8047%20174.18C95.8627%20174.18%2097.1227%20173.27%2097.1227%20171.786C97.1227%20170.512%2096.5487%20170.148%2092.8527%20169.154C88.8487%20168.09%2087.5747%20167.054%2087.5747%20164.884C87.5747%20162.224%2089.8987%20160.46%2093.3847%20160.46C96.8287%20160.46%2099.3207%20162.224%2099.6427%20164.884L97.0947%20165.346C96.8427%20163.736%2095.4427%20162.742%2093.3847%20162.686C91.4247%20162.63%2090.0807%20163.47%2090.0807%20164.758C90.0807%20165.864%2090.8507%20166.34%2094.4067%20167.236C98.3967%20168.258%2099.6987%20169.378%2099.6987%20171.716C99.6987%20174.642%2097.4167%20176.406%2093.6507%20176.406ZM108.778%20176.42C104.312%20176.42%20101.386%20173.27%20101.386%20168.538C101.386%20163.582%20104.27%20160.46%20108.666%20160.46C113.216%20160.46%20115.876%20163.764%20115.652%20169.14H104.06C104.256%20172.276%20105.88%20174.054%20108.666%20174.054C110.654%20174.054%20112.166%20173.116%20113.006%20171.394L115.4%20172.22C114.21%20174.894%20111.704%20176.42%20108.778%20176.42ZM104.102%20167.138H113.062C112.754%20164.17%20111.312%20162.7%20108.75%20162.7C106.034%20162.7%20104.452%20164.268%20104.102%20167.138ZM128.967%20176.406C125.355%20176.406%20122.933%20174.754%20122.415%20171.912L124.963%20171.506C125.369%20173.158%20126.937%20174.18%20129.121%20174.18C131.179%20174.18%20132.439%20173.27%20132.439%20171.786C132.439%20170.512%20131.865%20170.148%20128.169%20169.154C124.165%20168.09%20122.891%20167.054%20122.891%20164.884C122.891%20162.224%20125.215%20160.46%20128.701%20160.46C132.145%20160.46%20134.637%20162.224%20134.959%20164.884L132.411%20165.346C132.159%20163.736%20130.759%20162.742%20128.701%20162.686C126.741%20162.63%20125.397%20163.47%20125.397%20164.758C125.397%20165.864%20126.167%20166.34%20129.723%20167.236C133.713%20168.258%20135.015%20169.378%20135.015%20171.716C135.015%20174.642%20132.733%20176.406%20128.967%20176.406ZM144.094%20176.42C139.628%20176.42%20136.702%20173.27%20136.702%20168.538C136.702%20163.582%20139.586%20160.46%20143.982%20160.46C148.532%20160.46%20151.192%20163.764%20150.968%20169.14H139.376C139.572%20172.276%20141.196%20174.054%20143.982%20174.054C145.97%20174.054%20147.482%20173.116%20148.322%20171.394L150.716%20172.22C149.526%20174.894%20147.02%20176.42%20144.094%20176.42ZM139.418%20167.138H148.378C148.07%20164.17%20146.628%20162.7%20144.066%20162.7C141.35%20162.7%20139.768%20164.268%20139.418%20167.138ZM161.967%20176C159.265%20176.546%20156.479%20176.238%20155.429%20174.18C154.827%20173.004%20154.911%20171.856%20154.911%20170.288V162.938H151.845V160.88H154.911V156.68H157.403V160.88H161.967V162.938H157.403V170.176C157.403%20171.422%20157.347%20172.262%20157.711%20172.892C158.383%20174.096%20159.895%20174.18%20161.967%20173.858V176ZM175.263%20176.392C170.391%20176.392%20169.243%20172.108%20169.243%20169.238V160.88H171.763V168.454C171.763%20171.296%20172.673%20174.026%20175.865%20174.026C178.371%20174.026%20180.023%20172.346%20180.023%20168.846V160.88H182.529V176H180.303V174.054C179.183%20175.552%20177.447%20176.392%20175.263%20176.392ZM192.832%20176.42C190.956%20176.42%20189.458%20175.748%20188.38%20174.6V182.72H185.874V160.88H188.1V162.574C189.206%20161.244%20190.788%20160.46%20192.846%20160.46C197.046%20160.46%20199.608%20163.89%20199.608%20168.426C199.608%20172.962%20197.06%20176.42%20192.832%20176.42ZM188.1%20168.426C188.1%20171.744%20189.472%20174.138%20192.524%20174.138C195.506%20174.138%20196.962%20171.646%20196.962%20168.426C196.962%20165.234%20195.534%20162.742%20192.454%20162.742C189.5%20162.742%20188.1%20165.08%20188.1%20168.426ZM42.402%20208C39.7%20208.546%2036.914%20208.238%2035.864%20206.18C35.262%20205.004%2035.346%20203.856%2035.346%20202.288V194.938H32.28V192.88H35.346V188.68H37.838V192.88H42.402V194.938H37.838V202.176C37.838%20203.422%2037.782%20204.262%2038.146%20204.892C38.818%20206.096%2040.33%20206.18%2042.402%20205.858V208ZM55.6777%20200.426C55.6777%20197.584%2054.7677%20194.854%2051.5757%20194.854C49.0697%20194.854%2047.4177%20196.534%2047.4177%20200.034V208H44.8977V187.84H47.1377V194.826C48.2577%20193.328%2049.9937%20192.488%2052.1777%20192.488C57.0497%20192.488%2058.1977%20196.772%2058.1977%20199.642V208H55.6777V200.426ZM67.8295%20208.42C63.3635%20208.42%2060.4375%20205.27%2060.4375%20200.538C60.4375%20195.582%2063.3215%20192.46%2067.7175%20192.46C72.2675%20192.46%2074.9275%20195.764%2074.7035%20201.14H63.1115C63.3075%20204.276%2064.9315%20206.054%2067.7175%20206.054C69.7055%20206.054%2071.2175%20205.116%2072.0575%20203.394L74.4515%20204.22C73.2615%20206.894%2070.7555%20208.42%2067.8295%20208.42ZM63.1535%20199.138H72.1135C71.8055%20196.17%2070.3635%20194.7%2067.8015%20194.7C65.0855%20194.7%2063.5035%20196.268%2063.1535%20199.138ZM88.2419%20208.42C84.0139%20208.42%2081.4659%20204.962%2081.4659%20200.426C81.4659%20195.89%2084.0279%20192.46%2088.2279%20192.46C90.1179%20192.46%2091.6159%20193.118%2092.6939%20194.252V187.84H95.1999V208H92.9739V206.292C91.8679%20207.622%2090.2859%20208.42%2088.2419%20208.42ZM84.1119%20200.426C84.1119%20203.646%2085.5679%20206.138%2088.5499%20206.138C91.6019%20206.138%2092.9739%20203.744%2092.9739%20200.426C92.9739%20197.08%2091.5739%20194.742%2088.6199%20194.742C85.5399%20194.742%2084.1119%20197.234%2084.1119%20200.426ZM102.86%20208.42C99.4723%20208.42%2097.7223%20206.348%2097.7223%20203.912C97.7223%20201.532%2099.1363%20200.146%20101.432%20199.474C103.322%20198.97%20105.982%20198.648%20108.222%20198.34C108.152%20195.932%20107.116%20194.784%20104.498%20194.784C102.664%20194.784%20101.194%20195.582%20100.648%20197.43L98.2823%20196.716C98.9963%20194.07%20101.11%20192.46%20104.526%20192.46C107.256%20192.46%20109.314%20193.44%20110.182%20195.414C110.602%20196.352%20110.672%20197.458%20110.672%20198.648V208H108.46V205.648C107.256%20207.496%20105.38%20208.42%20102.86%20208.42ZM100.2%20203.898C100.2%20205.144%20101.082%20206.334%20103.238%20206.334C105.926%20206.334%20107.578%20204.724%20107.942%20202.848C108.152%20202.12%20108.18%20201.154%20108.194%20200.468C106.066%20200.748%20104.022%20200.986%20102.552%20201.406C101.306%20201.798%20100.2%20202.484%20100.2%20203.898ZM122.194%20208C119.492%20208.546%20116.706%20208.238%20115.656%20206.18C115.054%20205.004%20115.138%20203.856%20115.138%20202.288V194.938H112.072V192.88H115.138V188.68H117.63V192.88H122.194V194.938H117.63V202.176C117.63%20203.422%20117.574%20204.262%20117.938%20204.892C118.61%20206.096%20120.122%20206.18%20122.194%20205.858V208ZM129.002%20208.42C125.614%20208.42%20123.864%20206.348%20123.864%20203.912C123.864%20201.532%20125.278%20200.146%20127.574%20199.474C129.464%20198.97%20132.124%20198.648%20134.364%20198.34C134.294%20195.932%20133.258%20194.784%20130.64%20194.784C128.806%20194.784%20127.336%20195.582%20126.79%20197.43L124.424%20196.716C125.138%20194.07%20127.252%20192.46%20130.668%20192.46C133.398%20192.46%20135.456%20193.44%20136.324%20195.414C136.744%20196.352%20136.814%20197.458%20136.814%20198.648V208H134.602V205.648C133.398%20207.496%20131.522%20208.42%20129.002%20208.42ZM126.342%20203.898C126.342%20205.144%20127.224%20206.334%20129.38%20206.334C132.068%20206.334%20133.72%20204.724%20134.084%20202.848C134.294%20202.12%20134.322%20201.154%20134.336%20200.468C132.208%20200.748%20130.164%20200.986%20128.694%20201.406C127.448%20201.798%20126.342%20202.484%20126.342%20203.898ZM163.028%20198.326C163.028%20196.072%20161.684%20194.714%20159.78%20194.714C158.086%20194.714%20156.476%20195.848%20156.476%20198.396L156.462%20208H153.984L153.998%20198.424C153.998%20196.128%20152.696%20194.714%20150.722%20194.714C148.748%20194.714%20147.432%20196.184%20147.432%20198.396V208H144.926V192.88H147.152V194.49C148.104%20193.258%20149.644%20192.488%20151.45%20192.488C153.494%20192.488%20155.048%20193.398%20155.86%20194.98C156.756%20193.426%20158.45%20192.488%20160.438%20192.488C163.588%20192.488%20165.52%20194.56%20165.52%20197.78L165.506%20208H163.014L163.028%20198.326ZM172.904%20208.42C169.516%20208.42%20167.766%20206.348%20167.766%20203.912C167.766%20201.532%20169.18%20200.146%20171.476%20199.474C173.366%20198.97%20176.026%20198.648%20178.266%20198.34C178.196%20195.932%20177.16%20194.784%20174.542%20194.784C172.708%20194.784%20171.238%20195.582%20170.692%20197.43L168.326%20196.716C169.04%20194.07%20171.154%20192.46%20174.57%20192.46C177.3%20192.46%20179.358%20193.44%20180.226%20195.414C180.646%20196.352%20180.716%20197.458%20180.716%20198.648V208H178.504V205.648C177.3%20207.496%20175.424%20208.42%20172.904%20208.42ZM170.244%20203.898C170.244%20205.144%20171.126%20206.334%20173.282%20206.334C175.97%20206.334%20177.622%20204.724%20177.986%20202.848C178.196%20202.12%20178.224%20201.154%20178.238%20200.468C176.11%20200.748%20174.066%20200.986%20172.596%20201.406C171.35%20201.798%20170.244%20202.484%20170.244%20203.898ZM190.74%20208.42C188.864%20208.42%20187.366%20207.748%20186.288%20206.6V214.72H183.782V192.88H186.008V194.574C187.114%20193.244%20188.696%20192.46%20190.754%20192.46C194.954%20192.46%20197.516%20195.89%20197.516%20200.426C197.516%20204.962%20194.968%20208.42%20190.74%20208.42ZM186.008%20200.426C186.008%20203.744%20187.38%20206.138%20190.432%20206.138C193.414%20206.138%20194.87%20203.646%20194.87%20200.426C194.87%20197.234%20193.442%20194.742%20190.362%20194.742C187.408%20194.742%20186.008%20197.08%20186.008%20200.426ZM206.969%20208.42C205.093%20208.42%20203.595%20207.748%20202.517%20206.6V214.72H200.011V192.88H202.237V194.574C203.343%20193.244%20204.925%20192.46%20206.983%20192.46C211.183%20192.46%20213.745%20195.89%20213.745%20200.426C213.745%20204.962%20211.197%20208.42%20206.969%20208.42ZM202.237%20200.426C202.237%20203.744%20203.609%20206.138%20206.661%20206.138C209.643%20206.138%20211.099%20203.646%20211.099%20200.426C211.099%20197.234%20209.671%20194.742%20206.591%20194.742C203.637%20194.742%20202.237%20197.08%20202.237%20200.426ZM216.534%20190.206V187.63H219.026V190.206H216.534ZM216.534%20208V192.88H219.026V208H216.534ZM233.433%20200.426C233.433%20197.584%20232.523%20194.854%20229.331%20194.854C226.825%20194.854%20225.173%20196.534%20225.173%20200.034V208H222.653V192.88H224.893V194.826C226.013%20193.328%20227.749%20192.488%20229.933%20192.488C234.805%20192.488%20235.953%20196.772%20235.953%20199.642V208H233.433V200.426ZM245.151%20215.14C242.771%20215.14%20240.433%20214.076%20239.173%20211.822L241.455%20210.618C242.197%20212.102%20243.695%20212.732%20245.165%20212.732C248.049%20212.732%20249.435%20211.15%20249.407%20208.07V206.614C248.329%20207.748%20246.831%20208.42%20244.969%20208.42C240.741%20208.42%20238.193%20204.962%20238.193%20200.426C238.193%20195.89%20240.755%20192.46%20244.955%20192.46C247.013%20192.46%20248.595%20193.244%20249.701%20194.574V192.88H251.913V208.098C251.913%20208.938%20251.871%20209.68%20251.731%20210.422C251.143%20213.642%20248.763%20215.14%20245.151%20215.14ZM240.839%20200.426C240.839%20203.646%20242.295%20206.138%20245.277%20206.138C248.329%20206.138%20249.701%20203.744%20249.701%20200.426C249.701%20197.08%20248.301%20194.742%20245.347%20194.742C242.267%20194.742%20240.839%20197.234%20240.839%20200.426Z'%20fill='%23CFD1DB'/%3e%3cpath%20d='M6%203V239H298'%20stroke='%23CFD1DB'%20stroke-width='2'/%3e%3cpath%20d='M20%20236V242'%20stroke='%23CFD1DB'%20stroke-width='2'/%3e%3cpath%20d='M72%20236V242'%20stroke='%23CFD1DB'%20stroke-width='2'/%3e%3cpath%20d='M124%20236V242'%20stroke='%23CFD1DB'%20stroke-width='2'/%3e%3cpath%20d='M176%20236V242'%20stroke='%23CFD1DB'%20stroke-width='2'/%3e%3cpath%20d='M228%20236V242'%20stroke='%23CFD1DB'%20stroke-width='2'/%3e%3cpath%20d='M280%20236V242'%20stroke='%23CFD1DB'%20stroke-width='2'/%3e%3cpath%20d='M9%2023L3%2023'%20stroke='%23CFD1DB'%20stroke-width='2'/%3e%3cpath%20d='M9%2063L3%2063'%20stroke='%23CFD1DB'%20stroke-width='2'/%3e%3cpath%20d='M9%20103L3%20103'%20stroke='%23CFD1DB'%20stroke-width='2'/%3e%3cpath%20d='M9%20143L3%20143'%20stroke='%23CFD1DB'%20stroke-width='2'/%3e%3cpath%20d='M9%20183L3%20183'%20stroke='%23CFD1DB'%20stroke-width='2'/%3e%3cpath%20d='M9%20223L3%20223'%20stroke='%23CFD1DB'%20stroke-width='2'/%3e%3cpath%20d='M140%2079L156%2073'%20stroke='%23CFD1DB'%20stroke-width='3'/%3e%3ccircle%20cx='157'%20cy='54'%20r='2'%20fill='%23CFD1DB'%20stroke='%23CFD1DB'%20stroke-width='2'/%3e%3ccircle%20cx='127'%20cy='66'%20r='2'%20fill='%23CFD1DB'%20stroke='%23CFD1DB'%20stroke-width='2'/%3e%3ccircle%20cx='150'%20cy='74'%20r='41'%20stroke='%23CFD1DB'%20stroke-width='3'/%3e%3cpath%20d='M189%20116H217L237%2044H265'%20stroke='%23CFD1DB'%20stroke-width='3'/%3e%3ccircle%20cx='189'%20cy='116'%20r='5'%20fill='white'%20stroke='%23CFD1DB'%20stroke-width='3'/%3e%3ccircle%20cx='217'%20cy='116'%20r='5'%20fill='white'%20stroke='%23CFD1DB'%20stroke-width='3'/%3e%3ccircle%20cx='237'%20cy='44'%20r='5'%20fill='white'%20stroke='%23CFD1DB'%20stroke-width='3'/%3e%3ccircle%20cx='265'%20cy='44'%20r='5'%20fill='white'%20stroke='%23CFD1DB'%20stroke-width='3'/%3e%3cpath%20d='M113%20116H85L65%2044H37'%20stroke='%23CFD1DB'%20stroke-width='3'/%3e%3ccircle%20cx='5'%20cy='5'%20r='5'%20transform='matrix(-1%200%200%201%20118%20111)'%20fill='white'%20stroke='%23CFD1DB'%20stroke-width='3'/%3e%3ccircle%20cx='5'%20cy='5'%20r='5'%20transform='matrix(-1%200%200%201%2090%20111)'%20fill='white'%20stroke='%23CFD1DB'%20stroke-width='3'/%3e%3ccircle%20cx='5'%20cy='5'%20r='5'%20transform='matrix(-1%200%200%201%2070%2039)'%20fill='white'%20stroke='%23CFD1DB'%20stroke-width='3'/%3e%3ccircle%20cx='5'%20cy='5'%20r='5'%20transform='matrix(-1%200%200%201%2042%2039)'%20fill='white'%20stroke='%23CFD1DB'%20stroke-width='3'/%3e%3cpath%20d='M11%207L6%202L1%207'%20stroke='%23CFD1DB'%20stroke-width='2'/%3e%3cpath%20d='M294%20244L299%20239L294%20234'%20stroke='%23CFD1DB'%20stroke-width='2'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:12px 92px}.graph-maker .chart_container .chart_header{display:flex;margin-bottom:16px;width:max-content;max-width:100%}.graph-maker .chart_container .chart_titleEdit{margin-top:11px;margin-left:-24px;opacity:0;pointer-events:none}.graph-maker .chart_container .chart_header:hover .chart_titleEdit,.graph-maker .chart_container .chart_header:focus-within .chart_titleEdit{opacity:1}.graph-maker .chart_container .chart_title{font-family:var(--font-family-base);font-weight:var(--font-weigh-base);font-size:28px;height:40px;border:none;outline:none;text-overflow:ellipsis;margin-left:-2px;padding-right:28px;cursor:pointer;field-sizing:content}.graph-maker .chart_container .chart_titleLineSlot{display:flex;margin-left:8px;align-content:center}.graph-maker .chart_container .chart_tabBy{width:max-content;min-width:200px;margin-top:24px}.graph-maker .chart_container .chart_main-content{display:flex;width:100%;overflow:auto;padding-bottom:40px;position:relative}.graph-maker .chart_container .chart_main-content__dendro{padding-top:24px}.graph-maker .chart_container .chart_main-content__dendro .dendro-table{position:relative;margin-top:-12px;flex-shrink:0;z-index:0}.graph-maker .chart_container .chart_main-content #chartSvgContainer{flex-shrink:0;width:max-content;height:max-content;position:relative}.graph-maker .chart_container .chart_main-content #chartSvgContainer.chart_loading{min-width:600px;min-height:400px}.graph-maker{--modal-shadow: 0 6px 24px -2px rgba(15, 36, 77, .08), 0px 4px 12px -2px rgba(15, 36, 77, .08)}.graph-maker .panel-modal{position:absolute;top:0;right:6px;bottom:6px;display:flex;flex-direction:column;margin:0;min-width:280px;border-radius:6px;border:1px solid var(--color-div-grey);background:var(--bg-elevated-01);z-index:1;box-shadow:var(--modal-shadow)}.graph-maker .panel-modal .close-panel-modal{cursor:pointer;position:absolute;top:12px;right:12px;background-color:var(--color-div-grey)}.graph-maker .panel-modal .close-panel-modal:hover{background-color:var(--txt-01)}.graph-maker .panel-modal h3{color:var(--txt-01);font-size:20px;font-style:normal;font-weight:500;line-height:24px;letter-spacing:-.2px;margin:0;font-family:var(--font-family-base)}.graph-maker .panel-modal .inputs-block{height:100%;display:flex;flex-direction:column;overflow:auto;overflow-x:hidden;padding:0 4px;margin:16px -4px 0}.graph-maker .panel-modal .input-item{min-width:256px;margin:12px 0}.graph-maker .panel-modal .data-form-input-item{min-width:256px;margin:6px 0 0}.graph-maker .panel-modal .aes-input-row{display:flex;margin:12px 0}.graph-maker .panel-modal .aes-input-row .aes-input-select{width:100%}.graph-maker .panel-modal .aes-input-row .ui-aes-button{margin-left:8px}.graph-maker .panel-modal .checkbox-item{margin:12px 0;display:flex;align-items:center}.graph-maker .panel-modal .checkbox-item span{font-family:var(--font-family-base);margin-left:8px;font-size:var(--font-size-base);color:var(--txt-01)}.graph-maker .panel-modal .section-title{color:var(--txt-03);font-family:var(--font-family-base);font-size:11px;letter-spacing:.44px;font-style:normal;font-weight:500;line-height:12px;text-transform:uppercase;background:linear-gradient(transparent 0%,transparent calc(50% - .5px),var(--color-div-grey) calc(50% - .5px),var(--color-div-grey) calc(50% + .5px),transparent calc(50% + .5px))}.graph-maker .panel-modal .section-title span{background-color:#fff;padding-right:8px}.graph-maker .panel-modal .section-description{color:var(--txt-03);font-family:var(--font-family-base);font-size:12px;line-height:16px;margin-top:4px}.graph-maker .panel-modal .data-form{height:100%;overflow:hidden;display:flex}.graph-maker .panel-modal .data-form .left-block,.graph-maker .panel-modal .data-form .right-block{height:100%;overflow:hidden;display:flex;flex-direction:column;padding:16px 24px;max-width:320px}.graph-maker .panel-modal .data-form .separator{position:relative;width:0;border:.5px solid var(--color-div-grey)}.graph-maker .panel-modal .data-form .separator .arrow-circle{width:32px;height:32px;border-radius:32px;border:1px solid var(--color-div-grey);position:absolute;top:11px;left:-16px;background:#fff;display:flex;align-items:center;justify-content:center}.graph-maker .panel-modal .data-form .separator .mask{position:static;cursor:default;background-color:var(--txt-01)}.graph-maker .panel-modal .data-form .separator .mask:hover{background-color:var(--txt-01)}.graph-maker .panel-modal .data-form .metadata-block{font-family:var(--font-family-base);font-size:var(--font-size-base);font-weight:var(--font-weigh-base);margin-top:12px}.graph-maker .panel-modal .data-form .metadata-block .title{margin-bottom:8px}.graph-maker .panel-modal .data-form .metadata-block .metadata-item{margin:3px 0}.graph-maker .panel-modal .stat-form{height:100%;overflow:auto;display:flex;flex-direction:column;padding:16px 24px}.graph-maker .panel-modal .stat-form .section-title{margin:20px 0 12px}.graph-maker .panel-modal .template-form{height:100%;display:flex;overflow:hidden;flex-direction:column}.graph-maker .panel-modal .template-form .template-title{padding:16px 24px 8px}.graph-maker .panel-modal .template-form .template-list{padding:24px 0;overflow:auto}.graph-maker .panel-modal .template-form .template-item{font-family:var(--font-family-base);height:40px;padding:0 24px;display:flex;align-items:center;position:relative;cursor:pointer}.graph-maker .panel-modal .template-form .template-item .checkmark{margin-left:auto;display:none}.graph-maker .panel-modal .template-form .template-item:hover,.graph-maker .panel-modal .template-form .template-item.selected{background-color:var(--color-active-select)}.graph-maker .panel-modal .template-form .template-item.selected .checkmark{display:block}.graph-maker .panel-modal .template-form .inline-icon{margin-right:8px}.graph-maker .panel-modal .layers-form,.graph-maker .panel-modal .axes-form{height:100%;overflow:hidden;display:flex;flex-direction:column;font-family:var(--font-family-base)}.graph-maker .panel-modal .layers-form .layers-title,.graph-maker .panel-modal .layers-form .axes-title,.graph-maker .panel-modal .axes-form .layers-title,.graph-maker .panel-modal .axes-form .axes-title{padding:16px 24px}.graph-maker .panel-modal .layers-list,.graph-maker .panel-modal .axes-settings-list{overflow:auto;height:100%}.graph-maker .panel-modal .axes-form{width:100%}.graph-maker .panel-modal .axes-form .axes-settings-list .axes-settings-input{margin:24px 0}.graph-maker .panel-modal .axes-form .axes-settings-list .axes-settings-row{margin:12px 0;height:20px}.graph-maker .panel-modal .axes-form .axes-settings-list .axes-settings-options-row{margin:12px 0;font-size:var(--font-size-base);display:flex;justify-content:space-between;align-items:center}.graph-maker .panel-modal .axes-form .axes-settings-list .axes-settings-options-row.block{display:block}.graph-maker .panel-modal .axes-form .axes-settings-list .axes-settings-options-row.table{border-bottom:1px solid var(--color-div-grey);padding:8px 0;margin:0}.graph-maker .panel-modal .axes-form .axes-settings-list .axes-settings-options-row.table:last-of-type{border-bottom:none}.graph-maker .panel-modal .axes-form .axes-settings-list .other{padding:16px 24px 8px;border-top:1px solid var(--color-div-grey)}.graph-maker .panel-modal .collapsable-block-container{border-top:1px solid var(--color-div-grey);max-height:100vh;transition:max-height .3s;--title-height: 48px}.graph-maker .panel-modal .collapsable-block-container .collapsable-block-title{font-family:var(--font-family-base);font-size:var(--font-size-base);height:var(--title-height);padding:0 24px;display:flex;align-items:center;position:relative;cursor:pointer;background-color:transparent;transition:background-color .3s}.graph-maker .panel-modal .collapsable-block-container .collapsable-block-title:before{position:absolute;content:"";top:0;left:0;right:0;bottom:0;opacity:.5;background:linear-gradient(var(--color-active-select) 0,#fff var(--title-height));transition:opacity .3s;z-index:0}.graph-maker .panel-modal .collapsable-block-container .collapsable-block-title svg,.graph-maker .panel-modal .collapsable-block-container .collapsable-block-title span{z-index:0}.graph-maker .panel-modal .collapsable-block-container .collapsable-block-title span{margin-left:8px}.graph-maker .panel-modal .collapsable-block-container .collapsable-block-content{padding:8px 24px;background-color:transparent;transition:background-color .3s}.graph-maker .panel-modal .collapsable-block-container.minimized{overflow:hidden;max-height:var(--title-height)}.graph-maker .panel-modal .collapsable-block-container.minimized .collapsable-block-title{background-color:var(--bg-base-light)}.graph-maker .panel-modal .collapsable-block-container.minimized .collapsable-block-title:before{opacity:0}.graph-maker .panel-modal .collapsable-block-container.minimized .collapsable-block-content{background-color:var(--bg-base-light)}.graph-maker .panel-modal .collapsable-block-container.maximized{overflow:visible;animation:.3s delay-overflow}@keyframes delay-overflow{0%{overflow:hidden}}.graph-maker .btn-icon-group{display:inline-flex;--size: 32px}.graph-maker .btn-icon-group .btn-icon-group__option{width:var(--size);height:var(--size);display:flex;justify-content:center;align-items:center;cursor:pointer;color:var(--color-dis-01)}.graph-maker .btn-icon-group .btn-icon-group__option.active{color:var(--main-dark-color)}.fixed-aes-list{display:flex;flex-wrap:wrap;overflow:auto;padding:20px}.fixed-aes-list__rows{flex-wrap:nowrap;flex-direction:column;flex-shrink:1;flex-basis:100%;padding:16px}.fixed-aes-list .color-item{width:24px;height:24px;display:flex;align-items:center;justify-content:center;border-radius:3px;margin:6px;position:relative;cursor:pointer}.fixed-aes-list .color-item:after{content:"";position:absolute;top:-4px;left:-4px;width:32px;height:32px;border:1px solid var(--color-ic-01);border-radius:6px;opacity:0}.fixed-aes-list .color-item:hover:after{opacity:1}.fixed-aes-list .color-item.border{background:var(--color-ic-00);border:3px solid}.fixed-aes-list .color-item.border:after{top:-7px;left:-7px}.fixed-aes-list .color-item.white,.fixed-aes-list .color-item.empty{border:1px solid var(--color-div-grey)}.fixed-aes-list .color-item.white:after,.fixed-aes-list .color-item.empty:after{top:-5px;left:-5px}.fixed-aes-list .color-item.white.white.border:before,.fixed-aes-list .color-item.empty.white.border:before{content:"";position:absolute;top:1px;left:1px;width:20px;height:20px;border:1px solid var(--color-div-grey);border-radius:1px}.fixed-aes-list .color-item.empty{background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M0 0H4V4H0V0ZM8 4H4V8H0V12H4V16H0V20H4V16H8V20H12V16H16V20H20V16H16V12H20V8H16V4H20V0H16V4H12V0H8V4ZM8 8V4H12V8H8ZM8 12V16H12V12H16V8H12V12H8ZM8 12H4V8H8V12Z" fill="%23E1E3EB"/></svg>') no-repeat center}.fixed-aes-list .color-item .checkmark{display:none}.fixed-aes-list .color-item.selected:after{opacity:1}.fixed-aes-list .color-item.selected .checkmark{display:block}.fixed-aes-list .row-item{width:100%;height:32px;padding:0 12px;display:flex;align-items:center;justify-content:space-between;cursor:pointer;border-radius:6px;border:1px solid transparent}.fixed-aes-list .row-item:hover{background-color:var(--color-sec-hover-grey)}.fixed-aes-list .row-item__selected{background-color:transparent;border-color:var(--color-ic-01);cursor:default;pointer-events:none}.fixed-aes-list .row-item__title{margin-right:8px;font-size:var(--font-size-base)}.fixed-aes-list .row-item__line{width:120px;height:100%}.graph-maker .aes-settings-form{position:absolute;top:-1px;right:-1px;bottom:-1px;width:368px;margin:0;background:#fff;display:flex;flex-direction:column;border-radius:6px;font-family:var(--font-family-base);overflow:hidden;z-index:1;border:1px solid var(--color-div-grey);box-shadow:var(--modal-shadow)}.graph-maker .aes-settings-form__header{padding:16px 24px 0}.graph-maker .aes-settings-form__header .back-link{margin:0 0 8px -8px;cursor:pointer;font-size:var(--font-size-base);display:flex;align-items:center}.graph-maker .aes-settings-form__header .back-link .inline-icon{margin-right:8px}.graph-maker .aes-settings-form__header h3{margin:24px 0}.graph-maker .aes-settings-form .type-color-selector{margin:8px 0 32px}.graph-maker .aes-settings-form .aes-mapping-block{overflow:hidden;display:flex;flex-direction:column}.graph-maker .aes-settings-form .palettes-groups{padding:0 24px;overflow:auto}.graph-maker .aes-settings-form .palettes-groups .palettes-list{margin:24px 0}.graph-maker .aes-settings-form .palettes-groups .palettes-list__palette{display:flex;height:40px;padding:8px 12px;align-items:center;justify-content:space-between;font-size:var(--font-size-base);cursor:pointer;border-radius:6px;border:1px solid transparent}.graph-maker .aes-settings-form .palettes-groups .palettes-list__palette:hover{background-color:var(--color-sec-hover-grey)}.graph-maker .aes-settings-form .palettes-groups .palettes-list__palette.selected{border-color:var(--color-ic-01);cursor:default;pointer-events:none}.graph-maker .aes-settings-form .palettes-groups .palettes-list__palette .palette-gradient{height:24px;min-width:196px;border-radius:3px;display:flex;overflow:hidden}.graph-maker .aes-settings-form .palettes-groups .palettes-list__palette .palette-gradient__item{flex-basis:100%;border-right:.5px solid white;border-left:.5px solid white}.graph-maker .aes-settings-form .palettes-groups .palettes-list__palette .palette-gradient__item:first-child{border-left:none}.graph-maker .aes-settings-form .palettes-groups .palettes-list__palette .palette-gradient__item:last-child{border-right:none}.graph-maker .aes-settings-form .aes-settings-hint{padding:0 24px;font-family:var(--font-family-base);font-size:12px;color:var(--txt-03)}.graph-maker .aes-settings-form .column-values-list{overflow:auto;padding:8px 24px 24px;--contour-color: var(--color-focus);--contour-border-width: 2px;--contour-box-shadow: 0 0 0 4px var(--color-focus-shadow)}.graph-maker .aes-settings-form .column-values-list .column-value{display:flex;min-height:40px;align-items:center;padding-left:12px;padding-right:2px;border-radius:var(--border-radius-control);border:1px solid var(--color-div-grey);margin-bottom:6px;background-color:var(--color-ic-00)}.graph-maker .aes-settings-form .column-values-list .column-value__with-reorder{cursor:pointer}.graph-maker .aes-settings-form .column-values-list .column-value__reorder-icon{margin-right:8px}.graph-maker .aes-settings-form .column-values-list .column-value:last-child{margin-bottom:0}.graph-maker .aes-settings-form .column-values-list .column-value__aes-group{margin-left:auto;flex-shrink:0;display:flex;align-items:center}.graph-maker .aes-settings-form .column-values-list .column-value__aes{width:40px;height:40px;display:flex;justify-content:center;align-items:center;cursor:pointer;background:var(--color-ic-00);border-radius:var(--border-radius-control)}.graph-maker .aes-settings-form .column-values-list .column-value__aes.aes__selected{border:var(--contour-border-width) solid var(--contour-color);box-shadow:var(--contour-box-shadow);z-index:1}.graph-maker .aes-settings-form .column-values-list .column-value__title{overflow:hidden;text-overflow:ellipsis;margin-right:8px}.graph-maker .aes-settings-form .column-values-list .column-value__color{width:18px;height:18px;border-radius:3px}.ui-multiselect-button{--contour-color: var(--txt-01);--label-color: var(--txt-01);--contour-border-width: 1px;--contour-box-shadow: none;--label-offset-left-x: 8px;--label-offset-right-x: 8px;width:100%;min-height:var(--control-height);position:relative;border-radius:var(--border-radius-control);display:flex;flex-direction:row;align-items:center;outline:none;cursor:pointer}.ui-multiselect-button__envelope{font-family:var(--font-family-base)}.ui-multiselect-button label{display:flex;align-items:center;position:absolute;top:0;transform:translateY(-60%);left:var(--label-offset-left-x);padding:0 4px;max-width:calc(100% - 16px);overflow:hidden;white-space:pre;text-overflow:ellipsis;cursor:inherit;color:var(--label-color);font-size:12px;font-weight:500}.ui-multiselect-button__contour{position:absolute;top:0;left:0;right:0;bottom:0;border-radius:var(--border-radius-control);border-width:var(--contour-border-width);border-color:var(--contour-color);border-style:solid;box-shadow:var(--contour-box-shadow);z-index:0;pointer-events:none}.ui-multiselect-button__content{padding:8px 12px;display:flex;align-items:center;flex-basis:100%;font-size:var(--font-size-base)}.ui-multiselect-button__content .title{margin-right:auto}.ui-multiselect-button__content .gradient{height:18px;min-width:113px;border-radius:3px;display:flex;overflow:hidden}.ui-multiselect-button__content .gradient__item{flex-basis:100%;border-right:.5px solid white;border-left:.5px solid white}.ui-multiselect-button__content .gradient__item:first-child{border-left:none}.ui-multiselect-button__content .gradient__item:last-child{border-right:none}.ui-multiselect-button__content .icon{margin-left:8px;background-color:var(--color-ic-01);position:relative}.ui-multiselect-button__content .icon__fill,.ui-multiselect-button__content .icon__stroke{width:18px;height:18px;border-radius:3px;margin:0 4px}.ui-multiselect-button__content .icon__stroke{background:none;border:3px solid}.ui-multiselect-button__content .icon__stroke.icon__white:before{content:"";position:absolute;top:1px;left:1px;width:14px;height:14px;border:1px solid var(--color-div-grey);border-radius:1px}.ui-multiselect-button__content .icon__white,.ui-multiselect-button__content .icon__empty{border:1px solid var(--color-div-grey)}.ui-multiselect-button__content .icon__white:after,.ui-multiselect-button__content .icon__empty:after{top:-5px;left:-5px}.ui-multiselect-button__content .icon__empty{background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M0 0H4V4H0V0ZM8 4H4V8H0V12H4V16H0V20H4V16H8V20H12V16H16V20H20V16H16V12H20V8H16V4H20V0H16V4H12V0H8V4ZM8 8V4H12V8H8ZM8 12V16H12V12H16V8H12V12H8ZM8 12H4V8H8V12Z" fill="%23E1E3EB"/></svg>') no-repeat center}.ui-aes-button{--contour-color: var(--txt-01);--label-color: var(--txt-01);--contour-border-width: 1px;--contour-box-shadow: none;width:var(--control-height);height:var(--control-height);position:relative;border-radius:var(--border-radius-control);display:flex;flex-shrink:0;flex-direction:row;align-items:center;justify-content:center;outline:none;cursor:pointer;font-family:var(--font-family-base)}.ui-aes-button .icon{position:relative}.ui-aes-button .icon__fill,.ui-aes-button .icon__stroke{width:18px;height:18px;border-radius:3px;margin:0 4px}.ui-aes-button .icon__stroke{background:none;border:3px solid}.ui-aes-button .icon__stroke.icon__white:before{content:"";position:absolute;top:1px;left:1px;width:14px;height:14px;border:1px solid var(--color-div-grey);border-radius:1px}.ui-aes-button .icon__white,.ui-aes-button .icon__empty{border:1px solid var(--color-div-grey)}.ui-aes-button .icon__white:after,.ui-aes-button .icon__empty:after{top:-5px;left:-5px}.ui-aes-button .icon__empty{background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M0 0H4V4H0V0ZM8 4H4V8H0V12H4V16H0V20H4V16H8V20H12V16H16V20H20V16H16V12H20V8H16V4H20V0H16V4H12V0H8V4ZM8 8V4H12V8H8ZM8 12V16H12V12H16V8H12V12H8ZM8 12H4V8H8V12Z" fill="%23E1E3EB"/></svg>') no-repeat center}.dot{width:24px;height:24px}.dot__0{background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><rect x="6" y="6" width="12" height="12" stroke="%23110529"/></svg>') no-repeat center}.dot__5{background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path d="M12 5L19 12L12 19L5 12L12 5Z" stroke="%23110529"/></svg>') no-repeat center}.dot__1{background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><circle cx="12" cy="12" r="6" stroke="%23110529"/></svg>') no-repeat center}.dot__2{background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path d="M12 6L19 18H5L12 6Z" stroke="%23110529"/></svg>') no-repeat center}.dot__6{background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path d="M12 18L19 6H5L12 18Z" stroke="%23110529"/></svg>') no-repeat center}.dot__7{background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M6 5.5H5.5V6V18V18.5H6H18H18.5V18V6V5.5H18H6ZM6.5 7.20711V16.7929L11.2929 12L6.5 7.20711ZM7.20711 17.5H16.7929L12 12.7071L7.20711 17.5ZM17.5 16.7929V7.20711L12.7071 12L17.5 16.7929ZM16.7929 6.5H7.20711L12 11.2929L16.7929 6.5Z" fill="%23110529"/></svg>') no-repeat center}.dot__9{background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.3536 4.6464L12.0001 4.29285L11.6465 4.6464L4.64652 11.6464L4.29297 12L4.64652 12.3535L11.6465 19.3535L12.0001 19.7071L12.3536 19.3535L19.3536 12.3535L19.7072 12L19.3536 11.6464L12.3536 4.6464ZM6.20718 12.5L11.5001 17.7928V12.5H6.20718ZM12.5001 17.7928L17.793 12.5H12.5001V17.7928ZM17.793 11.5L12.5001 6.20706V11.5H17.793ZM11.5001 6.20706L6.20718 11.5H11.5001V6.20706Z" fill="%23110529"/></svg>') no-repeat center}.dot__3{background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path d="M12 6V12M12 18V12M12 12H18M12 12H6" stroke="%23110529"/></svg>') no-repeat center}.dot__4{background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path d="M17 7L12 12M12 12L7 17M12 12L17 17M12 12L7 7" stroke="%23110529"/></svg>') no-repeat center}.dot__8{background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M10.7924 11.5L6.69625 7.40385L7.40336 6.69674L11.5 10.7934V5H12.5V10.7925L16.5957 6.69674L17.3029 7.40385L13.2067 11.5H19V12.5H13.2066L17.3029 16.5962L16.5957 17.3033L12.5 13.2076V19H11.5V13.2067L7.40336 17.3033L6.69625 16.5962L10.7925 12.5H5V11.5H10.7924Z" fill="%23110529"/></svg>') no-repeat center}.dot__12{background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M6 5.5H5.5V6V18V18.5H6H18H18.5V18V6V5.5H18H6ZM6.5 11.5V6.5H11.5V11.5H6.5ZM6.5 12.5V17.5H11.5V12.5H6.5ZM12.5 17.5H17.5V12.5H12.5V17.5ZM17.5 11.5V6.5H12.5V11.5H17.5Z" fill="%23110529"/></svg>') no-repeat center}.dot__10{background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M11.5 6.02054C8.5851 6.26101 6.26101 8.5851 6.02054 11.5L11.5 11.5V6.02054ZM6.02054 12.5C6.26101 15.4149 8.5851 17.739 11.5 17.9795L11.5 12.5L6.02054 12.5ZM12.5 17.9795C15.4149 17.739 17.739 15.4149 17.9795 12.5H12.5L12.5 17.9795ZM17.9795 11.5C17.739 8.5851 15.4149 6.26101 12.5 6.02054V11.5H17.9795ZM12 5C8.13401 5 5 8.13401 5 12C5 15.866 8.13401 19 12 19C15.866 19 19 15.866 19 12C19 8.13401 15.866 5 12 5Z" fill="%23110529"/></svg>') no-repeat center}.dot__13{background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M8.48049 7.77335C9.43424 6.9783 10.6613 6.5 12 6.5C13.3387 6.5 14.5658 6.9783 15.5195 7.77335L12 11.2929L8.48049 7.77335ZM7.77091 7.06377L6.35355 5.64641L5.64645 6.35352L7.0638 7.77087C6.08896 8.90764 5.5 10.385 5.5 12C5.5 13.6149 6.08894 15.0923 7.06377 16.2291L5.64645 17.6464L6.35355 18.3535L7.77087 16.9362C8.90764 17.911 10.385 18.5 12 18.5C13.615 18.5 15.0924 17.911 16.2291 16.9362L17.6464 18.3535L18.3536 17.6464L16.9362 16.2291C17.9111 15.0923 18.5 13.6149 18.5 12C18.5 10.385 17.911 8.90764 16.9362 7.77087L18.3536 6.35352L17.6464 5.64641L16.2291 7.06377C15.0923 6.08894 13.6149 5.5 12 5.5C10.3851 5.5 8.90768 6.08894 7.77091 7.06377ZM16.2266 8.48045L12.7071 12L16.2267 15.5195C17.0217 14.5658 17.5 13.3387 17.5 12C17.5 10.6612 17.0217 9.4342 16.2266 8.48045ZM15.5195 16.2266L12 12.7071L8.48045 16.2266C9.4342 17.0217 10.6612 17.5 12 17.5C13.3388 17.5 14.5658 17.0217 15.5195 16.2266ZM7.77335 15.5195L11.2929 12L7.77338 8.48045C6.97832 9.4342 6.5 10.6612 6.5 12C6.5 13.3387 6.9783 14.5658 7.77335 15.5195Z" fill="%23110529"/></svg>') no-repeat center}.dot__14{background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M6 5.5H5.5V6V18V18.5H6H18H18.5V18V6V5.5H18H6ZM17.5 15.882V6.5H12.809L17.5 15.882ZM11.191 6.5H6.5V15.882L11.191 6.5ZM6.80902 17.5H17.191L12 7.11803L6.80902 17.5Z" fill="%23110529"/></svg>') no-repeat center}.dot__11{background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M11.441 5.11803L12 4L12.559 5.11803L13 6H17.882H19L18.5 7L16 12L18.5 17L19 18H17.882H13L12.559 18.882L12 20L11.441 18.882L11 18H6.11803H5L5.5 17L8 12L5.5 7L5 6H6.11803H11L11.441 5.11803ZM10.5 7H6.61803L8.55902 10.882L10.5 7ZM8.55902 13.118L6.61803 17H10.5L8.55902 13.118ZM11.618 17L9.11803 12L11.618 7H12.382L14.882 12L12.382 17H11.618ZM13.5 17H17.382L15.441 13.118L13.5 17ZM15.441 10.882L17.382 7H13.5L15.441 10.882Z" fill="%23110529"/></svg>') no-repeat center}.dot__22{background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><rect x="6" y="6" width="12" height="12" fill="%23110529"/></svg>') no-repeat center}.dot__23{background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path d="M12 5L19 12L12 19L5 12L12 5Z" fill="%23110529"/></svg>') no-repeat center}.dot__21{background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><circle cx="12" cy="12" r="6" fill="%23110529"/></svg>') no-repeat center}.dot__24{background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path d="M12 6L19 18H5L12 6Z" fill="%23110529"/></svg>') no-repeat center}.dot__25{background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path d="M12 18L19 6H5L12 18Z" fill="%23110529"/></svg>') no-repeat center}svg.line{width:100%;height:100%;stroke-width:1.5px;stroke:var(--color-ic-01)}svg.line__dashed{stroke-dasharray:6 6}svg.line__dotted{stroke-dasharray:1.5 4}svg.line__dotdash{stroke-dasharray:1.5 4 8 4}svg.line__longdash{stroke-dasharray:10 4}svg.line__twodash{stroke-dasharray:3 3 9 3}.icon__line{height:24px;width:24px}.icon__line.line__solid{background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M1 11.25H23V12.75H1V11.25Z" fill="%23110529"/></svg>') no-repeat center}.icon__line.line__dashed{background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M1 11.25H6V12.75H1V11.25ZM9.5 11.25H14.5V12.75H9.5V11.25ZM18 11.25H23V12.75H18V11.25Z" fill="%23110529"/></svg>') no-repeat center}.icon__line.line__dotted{background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path d="M2.75 11.25H1.25V12.75H2.75V11.25Z" fill="%23110529"/><path d="M11.25 11.25H12.75V12.75H11.25V11.25Z" fill="%23110529"/><path d="M22.75 11.25H21.25V12.75H22.75V11.25Z" fill="%23110529"/><path d="M7.75 11.25H6.25V12.75H7.75V11.25Z" fill="%23110529"/><path d="M16.25 11.25H17.75V12.75H16.25V11.25Z" fill="%23110529"/></svg>') no-repeat center}.icon__line.line__dotdash{background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M1 11.25H2.5V12.75H1V11.25ZM17 12.75H7V11.25H17V12.75ZM21.5 12.75V11.25H23V12.75H21.5Z" fill="%23110529"/></svg>') no-repeat center}.icon__line.line__longdash{background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M1 11.25H10V12.75H1V11.25ZM14 11.25H23V12.75H14V11.25Z" fill="%23110529"/></svg>') no-repeat center}.icon__line.line__twodash{background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M1 11.25H4V12.75H1V11.25ZM17.0261 12.75H7V11.25H17.0261V12.75ZM20 12.75V11.25H23V12.75H20Z" fill="%23110529"/></svg>') no-repeat center}.popup{position:absolute;width:0;height:0;--modal-shadow: 0 6px 24px -2px rgba(15, 36, 77, .08), 0px 4px 12px -2px rgba(15, 36, 77, .08)}.popup__content{z-index:3;position:absolute;display:inline-block;background:var(--color-ic-00);border-radius:6px;width:max-content;border:1px solid var(--color-div-grey);box-shadow:var(--modal-shadow);font-family:var(--font-family-base)}.popup__content .beak{position:absolute}.popup__content .beak path{fill:var(--color-ic-00)}.popup__content .beak polyline{stroke:var(--color-div-grey)}.popup__content.bottom{top:0;right:0}.popup__content.bottom .beak{transform:translate(50%) translateY(-100%) rotate(90deg);top:2px;right:20px}.popup__content.left-bottom{top:0;right:0}.popup__content.left-bottom .beak{transform:translate(100%) rotate(180deg);right:0}.pl-color-slider{height:32px;border:1px solid var(--color-border-default);border-radius:6px;display:flex}.pl-color-slider__wrapper{width:100%;height:100%;position:relative}.pl-color-slider__color-contaier{height:100%;padding:0 16px;background-color:#f0f0f0;position:absolute;width:100%;z-index:2;border-radius:5px}.pl-color-slider__gradient{height:100%}.pl-color-slider__thumbs-contaier{height:100%;z-index:2;position:relative;border-radius:4px}.pl-color-slider__thumb{height:100%;width:1px;background-color:var(--txt-01);position:absolute;z-index:5;outline:none}.pl-color-slider__thumb-roof{width:8px;height:8px;position:absolute;bottom:-4px;left:-3.5px;background-color:red;background:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='8'%20height='9'%20viewBox='0%200%208%209'%20fill='none'%3e%3cpath%20d='M3.64645%201.56066C3.84171%201.3654%204.15829%201.3654%204.35355%201.56066L6.93934%204.14645C7.1346%204.34171%207.1346%204.65829%206.93934%204.85355L4.35355%207.43934C4.15829%207.6346%203.84171%207.6346%203.64645%207.43934L1.06066%204.85355C0.865398%204.65829%200.865398%204.34171%201.06066%204.14645L3.64645%201.56066Z'%20fill='white'%20stroke='%23110529'/%3e%3c/svg%3e");cursor:pointer}.pl-color-slider .active,.pl-color-slider__thumb-roof:active,.pl-color-slider__thumb-roof:hover,.active-thumb .pl-color-slider__thumb-roof{background:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='36'%20height='44'%20viewBox='0%200%2036%2044'%20fill='none'%3e%3cg%20filter='url(%23filter0_d_11505_23033)'%3e%3cpath%20d='M6%2017.1995C6%2015.798%206.58823%2014.4608%207.62138%2013.5137L18%204L28.3786%2013.5137C29.4118%2014.4608%2030%2015.798%2030%2017.1995V31C30%2033.7614%2027.7614%2036%2025%2036H11C8.23858%2036%206%2033.7614%206%2031V17.1995Z'%20fill='white'/%3e%3cpath%20d='M6.5%2017.1995C6.5%2015.9381%207.02941%2014.7347%207.95924%2013.8823L18%204.67828L28.0408%2013.8823C28.9706%2014.7347%2029.5%2015.9381%2029.5%2017.1995V31C29.5%2033.4853%2027.4853%2035.5%2025%2035.5H11C8.51472%2035.5%206.5%2033.4853%206.5%2031V17.1995Z'%20stroke='%23110529'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_11505_23033'%20x='0'%20y='0'%20width='36'%20height='44'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='2'/%3e%3cfeGaussianBlur%20stdDeviation='3'/%3e%3cfeComposite%20in2='hardAlpha'%20operator='out'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200.0666667%200%200%200%200%200.0196078%200%200%200%200%200.160784%200%200%200%200.16%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_11505_23033'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_11505_23033'%20result='shape'/%3e%3c/filter%3e%3c/defs%3e%3c/svg%3e");width:24px;height:32px;background-repeat:no-repeat;background-position:-6px -4px;border-radius:4px;left:-11.5px;bottom:-25px;position:absolute;transition:all .1s ease-in-out}.pl-color-slider .active-thumb{z-index:6}.pl-color-slider__top-index{z-index:7}.active .pl-color-slider__thumb-color-indicator,.active-thumb .pl-color-slider__thumb-color-indicator,.pl-color-slider__thumb-roof:active,.pl-color-slider__thumb-roof:hover .pl-color-slider__thumb-color-indicator{opacity:1;transform:scale(1);transition:all .5s}.pl-color-slider__thumb-color-indicator{opacity:0;position:absolute;bottom:3px;width:18px;height:18px;left:3px;border-radius:4px;transform:scale(0);pointer-events:none}.dnd-chip{border-radius:6px;border:1px solid #E1E3EB;background:#f7f8fa;padding:10px 12px;display:flex;align-items:center;width:100%;margin-bottom:6px}.dnd-chip.drag-active{background:#fff;position:relative}.dnd-chip.drag-active:after{content:"";position:absolute;pointer-events:none;top:0;bottom:0;left:0;right:0;z-index:10;border-radius:6px;border-width:2px;border-color:#49cc49;border-style:solid;box-shadow:0 0 0 4px #49cc493d}.dnd-chip:hover{cursor:move}.dnd-chip__title{overflow:hidden;color:#110529;text-overflow:ellipsis;white-space:nowrap;font-family:Manrope;font-size:14px;font-style:normal;font-weight:500;line-height:20px}.dnd-chip__sub-title{overflow:hidden;color:#9d9eae;text-overflow:ellipsis;white-space:nowrap;font-family:Manrope;font-size:12px;font-style:normal;font-weight:500;line-height:16px}.dnd-chip__title-wrapper{overflow:hidden}.dnd-chip__icon{width:16px;height:16px;margin-right:12px;flex-shrink:0}.dnd-chip__icon svg{width:100%;height:100%}.dnd-basket{border-radius:6px;border:1px solid #E1E3EB;background:#f7f8fa;padding:10px 12px 12px}.dnd-basket__required{position:relative}.dnd-basket__required svg{position:relative;left:2px;top:4px;margin-right:2px}.dnd-basket__title{color:#110529;font-family:Manrope;font-size:14px;font-style:normal;font-weight:500;line-height:20px;margin-bottom:6px}.dnd-basket__chip-wrapper .dnd-basket-chip:last-child{margin-bottom:0}.dnd-basket__placeholder{border-radius:6px;border:1.5px dashed #E1E3EB;padding:12px 24px;color:#9d9eae;text-align:center;font-family:Manrope;font-size:14px;font-style:normal;font-weight:500;line-height:20px}.dnd-basket.disabled{opacity:.24;cursor:no-drop}.dnd-basket.active{border:1px solid #49CC49;background:#63e0241f}.dnd-basket.active .dnd-basket__placeholder{border:1.5px dashed #49CC49}.dnd-basket__chip-wrapper .dnd-double-chip:last-child{margin-bottom:0}.dnd-double-chip{margin-bottom:6px;background:#fff}.dnd-double-chip.error *{border-color:#ff5c5c}.dnd-double-chip .pl-dropdown__contour{border-top:none;border-top-right-radius:0;border-top-left-radius:0}.dnd-double-chip__top{display:flex;padding:10px 12px;align-items:center;border:1px solid #110529;border-radius:6px 6px 0 0}.dnd-double-chip__icon-close,.dnd-double-chip__icon{line-height:0;width:16px;height:16px;cursor:pointer}.dnd-double-chip__icon{margin-right:12px}.dnd-double-chip__icon-close{margin-left:12px}.dnd-double-chip__title-wrapper{flex-grow:1;overflow:hidden}.dnd-double-chip__title{overflow:hidden;color:#110529;text-overflow:ellipsis;white-space:nowrap;font-family:Manrope;font-size:14px;font-style:normal;font-weight:500;line-height:20px}.dnd-basket-chip{border-radius:6px;border:1px solid #E1E3EB;background:#fff;padding:10px 12px;display:flex;align-items:center;width:100%;margin-bottom:6px}.dnd-basket-chip.error{border-color:#ff5c5c}.dnd-basket-chip.drag-active{border-radius:6px;border:2px solid #49CC49;background:#fff;box-shadow:0 0 0 4px #49cc493d}.dnd-basket-chip:hover{cursor:move}.dnd-basket-chip__title{overflow:hidden;color:#110529;text-overflow:ellipsis;white-space:nowrap;font-family:Manrope;font-size:14px;font-style:normal;font-weight:500;line-height:20px}.dnd-basket-chip__sub-title{overflow:hidden;color:#9d9eae;text-overflow:ellipsis;white-space:nowrap;font-family:Manrope;font-size:12px;font-style:normal;font-weight:500;line-height:16px}.dnd-basket-chip__title-wrapper{overflow:hidden;flex-grow:1}.dnd-basket-chip__icon{width:16px;height:16px;margin-right:12px;flex-shrink:0}.dnd-basket-chip__icon svg{width:100%;height:100%}.dnd-basket-chip__icon-close{line-height:0;width:16px;height:16px;margin-left:12px;cursor:pointer}.double-contour-temp{--contour-offset: 4px;position:absolute;top:calc(var(--contour-offset) * -1);left:calc(var(--contour-offset) * -1);right:calc(var(--contour-offset) * -1);bottom:calc(var(--contour-offset) * -1);pointer-events:none;z-index:1;--offset-left-x: calc(var(--label-offset-left-x) + var(--contour-offset));clip-path:polygon(0 0,var(--offset-left-x) 0,var(--offset-left-x) 12px,var(--label-offset-right-x) 12px,var(--label-offset-right-x) 0,100% 0,100% 100%,0 100%,0 0)}.double-contour-temp>div{position:absolute;top:var(--contour-offset);left:var(--contour-offset);right:var(--contour-offset);bottom:var(--contour-offset)}.zoom-container{background:#fff;display:flex;position:absolute;left:0;bottom:0}.zoom-container .zoom-border{position:absolute;border:1px solid var(--color-div-grey);border-radius:var(--border-radius-control);top:0;left:0;right:0;bottom:0}.zoom-input input::-webkit-outer-spin-button,.zoom-input input::-webkit-inner-spin-button{-webkit-appearance:none}.zoom-input .zoom-text-field{--contour-color: transparent;--contour-border-width: 1px;--contour-box-shadow: none;--prefix-color: var(--color-placeholder);min-height:var(--control-height);position:relative;border-radius:var(--border-radius-control);display:flex;flex-direction:row;align-items:center;outline:none;width:64px}.zoom-input .zoom-text-field__envelope{font-family:var(--font-family-base)}.zoom-input .zoom-text-field input{min-height:calc(var(--control-height) - 2px);line-height:calc(var(--control-height) - 2px);width:100%;border:none;font-size:inherit;background-color:transparent;color:var(--txt-01);caret-color:var(--border-color-focus);cursor:inherit;padding:0;text-align:center;font-family:var(--font-family-base)}.zoom-input .zoom-text-field input:focus{outline:none}.zoom-input .zoom-text-field__contour{border-radius:var(--border-radius-control);border-width:var(--contour-border-width);border-color:var(--contour-color);border-style:solid;box-shadow:var(--contour-box-shadow);z-index:0;pointer-events:none}.zoom-input .zoom-text-field:hover{background-color:var(--btn-sec-hover-grey)}.zoom-input .zoom-text-field:focus-within{--contour-color: var(--border-color-focus);--contour-border-width: 2px;--contour-box-shadow: 0 0 0 4px var(--border-color-focus-shadow)}.zoom-input .zoom-text-field:before{left:0}.zoom-input .zoom-text-field:after{right:0}.zoom-input .zoom-text-field:before,.zoom-input .zoom-text-field:after{content:"";position:absolute;top:8px;bottom:8px;width:1px;background-color:var(--color-div-grey);z-index:0}.graph-info-tooltip{position:fixed;top:20%;left:50%;transform:translate(-50%);min-width:320px;max-width:500px;border-radius:16px;background:var(--bg-base-dark);color:var(--color-ic-00);padding:16px;display:flex;flex-direction:column}.graph-info-tooltip .graph-info-tooltip-row{display:flex;line-height:20px}.graph-info-tooltip .graph-info-tooltip-row .graph-info-tooltip-title,.graph-info-tooltip .graph-info-tooltip-row .graph-info-tooltip-value{flex-basis:50%}.graph-info-tooltip .graph-info-tooltip-row__sequence{flex-direction:column}.graph-info-tooltip .graph-info-tooltip-row__sequence .graph-info-tooltip-title,.graph-info-tooltip .graph-info-tooltip-row__sequence .graph-info-tooltip-value{flex-basis:unset}.graph-info-tooltip .graph-info-tooltip-sequence-row{display:flex;background:var(--txt-02);padding:8px}.graph-info-tooltip .graph-info-tooltip-value{text-overflow:ellipsis;overflow:hidden}.graph-info-tooltip .graph-info-tooltip-close{cursor:pointer;position:absolute;top:12px;right:12px;background-color:var(--ic-02)}.graph-info-tooltip .graph-info-tooltip-clipboard{cursor:pointer;background-color:var(--ic-02);margin-left:4px}.slide-panel-enter-active{transition:transform .3s ease-out}.slide-panel-leave-active{transition:transform .3s ease-in-out}.slide-panel-enter-from{transform:translate(200%);opacity:0}.slide-panel-leave-to{transform:translate(200%);opacity:1}
1
+ .graph-maker .settings-tabs{display:flex;flex-direction:column;border-radius:6px;border:1px solid var(--color-div-grey);background:var(--bg-elevated-01);z-index:1}.graph-maker .settings-tabs>div{--divider-display: block;position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;width:48px;height:48px}.graph-maker .settings-tabs>div:after{content:"";position:absolute;bottom:0;left:8px;right:8px;border-bottom:1px solid var(--color-div-grey);display:var(--divider-display)}.graph-maker .settings-tabs>div:last-child{--divider-display: none}.graph-maker .settings-tabs>div.active{border-radius:6px;border:1px solid var(--color-border-default);background:var(--btn-switcher-bg);box-shadow:var(--btn-shape-shadow)}.graph-maker .settings-tabs>div.active svg:not(.export-icon) path{fill:var(--color-ic-01)}.graph-maker .settings-tabs>div:not(.active){cursor:pointer}.graph-maker .settings-tabs>div.last{margin-top:auto;border-top:1px solid var(--color-div-grey);border-bottom:0}.graph-maker .settings-tabs>div.temp-inactive{pointer-events:none}.graph-maker .settings-tabs>div.temp-inactive.axes svg path{fill:var(--color-div-grey)}.graph-maker .settings-tabs>div.temp-inactive.export svg path{stroke:var(--color-div-grey)}.graph-maker{position:relative;display:flex;background-color:#fff;height:100%;padding:12px;overflow:hidden}.graph-maker__main-pane{position:relative;overflow:hidden;width:100%;z-index:1}.graph-maker__loading{position:absolute;left:0;right:0;bottom:0;border-radius:6px;border:solid 1px var(--color-div-grey);background:var(--bg-base-light);z-index:1;display:flex;justify-content:center;align-items:center}.graph-maker__loading .loading-picture{width:160px;height:124px;display:flex;flex-direction:column;align-items:center}.graph-maker__loading .loading-progress-bar{width:100%;height:4px;border-radius:6px;margin-top:40px;background:#fff;position:relative;overflow:hidden}.graph-maker__loading .loading-progress-bar .moving-dash{height:4px;width:80px;position:absolute;left:0;background:var(--bg-elevated-02);transform:translate(-80px);animation:moving-to-right 2s infinite linear}@keyframes moving-to-right{0%{transform:translate(-80px)}to{transform:translate(160px)}}.graph-maker .settings-tabs{margin-left:auto;align-self:start}.graph-maker .chart_container{position:relative;padding:12px 24px 0 12px;height:100%;width:100%;display:flex;flex-direction:column}.graph-maker .chart_container__empty{background-image:url("data:image/svg+xml,%3csvg%20width='301'%20height='245'%20viewBox='0%200%20301%20245'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M33.96%20176V155.84H41.926C42.318%20155.84%2042.892%20155.868%2043.41%20155.952C46.672%20156.456%2048.394%20158.99%2048.394%20162.196C48.394%20165.402%2046.658%20167.936%2043.41%20168.44C42.892%20168.524%2042.304%20168.552%2041.926%20168.552H36.452V176H33.96ZM36.452%20166.186H41.842C42.192%20166.186%2042.682%20166.158%2043.102%20166.06C45.034%20165.626%2045.846%20163.876%2045.846%20162.196C45.846%20160.516%2045.034%20158.766%2043.102%20158.332C42.682%20158.234%2042.192%20158.206%2041.842%20158.206H36.452V166.186ZM50.9066%20176V155.84H53.3986V176H50.9066ZM63.5912%20176.42C59.1252%20176.42%2056.1992%20173.27%2056.1992%20168.538C56.1992%20163.582%2059.0832%20160.46%2063.4792%20160.46C68.0292%20160.46%2070.6892%20163.764%2070.4652%20169.14H58.8732C59.0692%20172.276%2060.6932%20174.054%2063.4792%20174.054C65.4672%20174.054%2066.9792%20173.116%2067.8192%20171.394L70.2132%20172.22C69.0232%20174.894%2066.5172%20176.42%2063.5912%20176.42ZM58.9152%20167.138H67.8752C67.5672%20164.17%2066.1252%20162.7%2063.5632%20162.7C60.8472%20162.7%2059.2652%20164.268%2058.9152%20167.138ZM77.0468%20176.42C73.6587%20176.42%2071.9087%20174.348%2071.9087%20171.912C71.9087%20169.532%2073.3227%20168.146%2075.6188%20167.474C77.5087%20166.97%2080.1687%20166.648%2082.4088%20166.34C82.3388%20163.932%2081.3028%20162.784%2078.6847%20162.784C76.8508%20162.784%2075.3807%20163.582%2074.8347%20165.43L72.4687%20164.716C73.1827%20162.07%2075.2968%20160.46%2078.7128%20160.46C81.4428%20160.46%2083.5008%20161.44%2084.3688%20163.414C84.7887%20164.352%2084.8587%20165.458%2084.8587%20166.648V176H82.6468V173.648C81.4428%20175.496%2079.5668%20176.42%2077.0468%20176.42ZM74.3867%20171.898C74.3867%20173.144%2075.2688%20174.334%2077.4248%20174.334C80.1127%20174.334%2081.7648%20172.724%2082.1288%20170.848C82.3388%20170.12%2082.3668%20169.154%2082.3808%20168.468C80.2528%20168.748%2078.2088%20168.986%2076.7387%20169.406C75.4928%20169.798%2074.3867%20170.484%2074.3867%20171.898ZM93.6507%20176.406C90.0387%20176.406%2087.6167%20174.754%2087.0987%20171.912L89.6467%20171.506C90.0527%20173.158%2091.6207%20174.18%2093.8047%20174.18C95.8627%20174.18%2097.1227%20173.27%2097.1227%20171.786C97.1227%20170.512%2096.5487%20170.148%2092.8527%20169.154C88.8487%20168.09%2087.5747%20167.054%2087.5747%20164.884C87.5747%20162.224%2089.8987%20160.46%2093.3847%20160.46C96.8287%20160.46%2099.3207%20162.224%2099.6427%20164.884L97.0947%20165.346C96.8427%20163.736%2095.4427%20162.742%2093.3847%20162.686C91.4247%20162.63%2090.0807%20163.47%2090.0807%20164.758C90.0807%20165.864%2090.8507%20166.34%2094.4067%20167.236C98.3967%20168.258%2099.6987%20169.378%2099.6987%20171.716C99.6987%20174.642%2097.4167%20176.406%2093.6507%20176.406ZM108.778%20176.42C104.312%20176.42%20101.386%20173.27%20101.386%20168.538C101.386%20163.582%20104.27%20160.46%20108.666%20160.46C113.216%20160.46%20115.876%20163.764%20115.652%20169.14H104.06C104.256%20172.276%20105.88%20174.054%20108.666%20174.054C110.654%20174.054%20112.166%20173.116%20113.006%20171.394L115.4%20172.22C114.21%20174.894%20111.704%20176.42%20108.778%20176.42ZM104.102%20167.138H113.062C112.754%20164.17%20111.312%20162.7%20108.75%20162.7C106.034%20162.7%20104.452%20164.268%20104.102%20167.138ZM128.967%20176.406C125.355%20176.406%20122.933%20174.754%20122.415%20171.912L124.963%20171.506C125.369%20173.158%20126.937%20174.18%20129.121%20174.18C131.179%20174.18%20132.439%20173.27%20132.439%20171.786C132.439%20170.512%20131.865%20170.148%20128.169%20169.154C124.165%20168.09%20122.891%20167.054%20122.891%20164.884C122.891%20162.224%20125.215%20160.46%20128.701%20160.46C132.145%20160.46%20134.637%20162.224%20134.959%20164.884L132.411%20165.346C132.159%20163.736%20130.759%20162.742%20128.701%20162.686C126.741%20162.63%20125.397%20163.47%20125.397%20164.758C125.397%20165.864%20126.167%20166.34%20129.723%20167.236C133.713%20168.258%20135.015%20169.378%20135.015%20171.716C135.015%20174.642%20132.733%20176.406%20128.967%20176.406ZM144.094%20176.42C139.628%20176.42%20136.702%20173.27%20136.702%20168.538C136.702%20163.582%20139.586%20160.46%20143.982%20160.46C148.532%20160.46%20151.192%20163.764%20150.968%20169.14H139.376C139.572%20172.276%20141.196%20174.054%20143.982%20174.054C145.97%20174.054%20147.482%20173.116%20148.322%20171.394L150.716%20172.22C149.526%20174.894%20147.02%20176.42%20144.094%20176.42ZM139.418%20167.138H148.378C148.07%20164.17%20146.628%20162.7%20144.066%20162.7C141.35%20162.7%20139.768%20164.268%20139.418%20167.138ZM161.967%20176C159.265%20176.546%20156.479%20176.238%20155.429%20174.18C154.827%20173.004%20154.911%20171.856%20154.911%20170.288V162.938H151.845V160.88H154.911V156.68H157.403V160.88H161.967V162.938H157.403V170.176C157.403%20171.422%20157.347%20172.262%20157.711%20172.892C158.383%20174.096%20159.895%20174.18%20161.967%20173.858V176ZM175.263%20176.392C170.391%20176.392%20169.243%20172.108%20169.243%20169.238V160.88H171.763V168.454C171.763%20171.296%20172.673%20174.026%20175.865%20174.026C178.371%20174.026%20180.023%20172.346%20180.023%20168.846V160.88H182.529V176H180.303V174.054C179.183%20175.552%20177.447%20176.392%20175.263%20176.392ZM192.832%20176.42C190.956%20176.42%20189.458%20175.748%20188.38%20174.6V182.72H185.874V160.88H188.1V162.574C189.206%20161.244%20190.788%20160.46%20192.846%20160.46C197.046%20160.46%20199.608%20163.89%20199.608%20168.426C199.608%20172.962%20197.06%20176.42%20192.832%20176.42ZM188.1%20168.426C188.1%20171.744%20189.472%20174.138%20192.524%20174.138C195.506%20174.138%20196.962%20171.646%20196.962%20168.426C196.962%20165.234%20195.534%20162.742%20192.454%20162.742C189.5%20162.742%20188.1%20165.08%20188.1%20168.426ZM42.402%20208C39.7%20208.546%2036.914%20208.238%2035.864%20206.18C35.262%20205.004%2035.346%20203.856%2035.346%20202.288V194.938H32.28V192.88H35.346V188.68H37.838V192.88H42.402V194.938H37.838V202.176C37.838%20203.422%2037.782%20204.262%2038.146%20204.892C38.818%20206.096%2040.33%20206.18%2042.402%20205.858V208ZM55.6777%20200.426C55.6777%20197.584%2054.7677%20194.854%2051.5757%20194.854C49.0697%20194.854%2047.4177%20196.534%2047.4177%20200.034V208H44.8977V187.84H47.1377V194.826C48.2577%20193.328%2049.9937%20192.488%2052.1777%20192.488C57.0497%20192.488%2058.1977%20196.772%2058.1977%20199.642V208H55.6777V200.426ZM67.8295%20208.42C63.3635%20208.42%2060.4375%20205.27%2060.4375%20200.538C60.4375%20195.582%2063.3215%20192.46%2067.7175%20192.46C72.2675%20192.46%2074.9275%20195.764%2074.7035%20201.14H63.1115C63.3075%20204.276%2064.9315%20206.054%2067.7175%20206.054C69.7055%20206.054%2071.2175%20205.116%2072.0575%20203.394L74.4515%20204.22C73.2615%20206.894%2070.7555%20208.42%2067.8295%20208.42ZM63.1535%20199.138H72.1135C71.8055%20196.17%2070.3635%20194.7%2067.8015%20194.7C65.0855%20194.7%2063.5035%20196.268%2063.1535%20199.138ZM88.2419%20208.42C84.0139%20208.42%2081.4659%20204.962%2081.4659%20200.426C81.4659%20195.89%2084.0279%20192.46%2088.2279%20192.46C90.1179%20192.46%2091.6159%20193.118%2092.6939%20194.252V187.84H95.1999V208H92.9739V206.292C91.8679%20207.622%2090.2859%20208.42%2088.2419%20208.42ZM84.1119%20200.426C84.1119%20203.646%2085.5679%20206.138%2088.5499%20206.138C91.6019%20206.138%2092.9739%20203.744%2092.9739%20200.426C92.9739%20197.08%2091.5739%20194.742%2088.6199%20194.742C85.5399%20194.742%2084.1119%20197.234%2084.1119%20200.426ZM102.86%20208.42C99.4723%20208.42%2097.7223%20206.348%2097.7223%20203.912C97.7223%20201.532%2099.1363%20200.146%20101.432%20199.474C103.322%20198.97%20105.982%20198.648%20108.222%20198.34C108.152%20195.932%20107.116%20194.784%20104.498%20194.784C102.664%20194.784%20101.194%20195.582%20100.648%20197.43L98.2823%20196.716C98.9963%20194.07%20101.11%20192.46%20104.526%20192.46C107.256%20192.46%20109.314%20193.44%20110.182%20195.414C110.602%20196.352%20110.672%20197.458%20110.672%20198.648V208H108.46V205.648C107.256%20207.496%20105.38%20208.42%20102.86%20208.42ZM100.2%20203.898C100.2%20205.144%20101.082%20206.334%20103.238%20206.334C105.926%20206.334%20107.578%20204.724%20107.942%20202.848C108.152%20202.12%20108.18%20201.154%20108.194%20200.468C106.066%20200.748%20104.022%20200.986%20102.552%20201.406C101.306%20201.798%20100.2%20202.484%20100.2%20203.898ZM122.194%20208C119.492%20208.546%20116.706%20208.238%20115.656%20206.18C115.054%20205.004%20115.138%20203.856%20115.138%20202.288V194.938H112.072V192.88H115.138V188.68H117.63V192.88H122.194V194.938H117.63V202.176C117.63%20203.422%20117.574%20204.262%20117.938%20204.892C118.61%20206.096%20120.122%20206.18%20122.194%20205.858V208ZM129.002%20208.42C125.614%20208.42%20123.864%20206.348%20123.864%20203.912C123.864%20201.532%20125.278%20200.146%20127.574%20199.474C129.464%20198.97%20132.124%20198.648%20134.364%20198.34C134.294%20195.932%20133.258%20194.784%20130.64%20194.784C128.806%20194.784%20127.336%20195.582%20126.79%20197.43L124.424%20196.716C125.138%20194.07%20127.252%20192.46%20130.668%20192.46C133.398%20192.46%20135.456%20193.44%20136.324%20195.414C136.744%20196.352%20136.814%20197.458%20136.814%20198.648V208H134.602V205.648C133.398%20207.496%20131.522%20208.42%20129.002%20208.42ZM126.342%20203.898C126.342%20205.144%20127.224%20206.334%20129.38%20206.334C132.068%20206.334%20133.72%20204.724%20134.084%20202.848C134.294%20202.12%20134.322%20201.154%20134.336%20200.468C132.208%20200.748%20130.164%20200.986%20128.694%20201.406C127.448%20201.798%20126.342%20202.484%20126.342%20203.898ZM163.028%20198.326C163.028%20196.072%20161.684%20194.714%20159.78%20194.714C158.086%20194.714%20156.476%20195.848%20156.476%20198.396L156.462%20208H153.984L153.998%20198.424C153.998%20196.128%20152.696%20194.714%20150.722%20194.714C148.748%20194.714%20147.432%20196.184%20147.432%20198.396V208H144.926V192.88H147.152V194.49C148.104%20193.258%20149.644%20192.488%20151.45%20192.488C153.494%20192.488%20155.048%20193.398%20155.86%20194.98C156.756%20193.426%20158.45%20192.488%20160.438%20192.488C163.588%20192.488%20165.52%20194.56%20165.52%20197.78L165.506%20208H163.014L163.028%20198.326ZM172.904%20208.42C169.516%20208.42%20167.766%20206.348%20167.766%20203.912C167.766%20201.532%20169.18%20200.146%20171.476%20199.474C173.366%20198.97%20176.026%20198.648%20178.266%20198.34C178.196%20195.932%20177.16%20194.784%20174.542%20194.784C172.708%20194.784%20171.238%20195.582%20170.692%20197.43L168.326%20196.716C169.04%20194.07%20171.154%20192.46%20174.57%20192.46C177.3%20192.46%20179.358%20193.44%20180.226%20195.414C180.646%20196.352%20180.716%20197.458%20180.716%20198.648V208H178.504V205.648C177.3%20207.496%20175.424%20208.42%20172.904%20208.42ZM170.244%20203.898C170.244%20205.144%20171.126%20206.334%20173.282%20206.334C175.97%20206.334%20177.622%20204.724%20177.986%20202.848C178.196%20202.12%20178.224%20201.154%20178.238%20200.468C176.11%20200.748%20174.066%20200.986%20172.596%20201.406C171.35%20201.798%20170.244%20202.484%20170.244%20203.898ZM190.74%20208.42C188.864%20208.42%20187.366%20207.748%20186.288%20206.6V214.72H183.782V192.88H186.008V194.574C187.114%20193.244%20188.696%20192.46%20190.754%20192.46C194.954%20192.46%20197.516%20195.89%20197.516%20200.426C197.516%20204.962%20194.968%20208.42%20190.74%20208.42ZM186.008%20200.426C186.008%20203.744%20187.38%20206.138%20190.432%20206.138C193.414%20206.138%20194.87%20203.646%20194.87%20200.426C194.87%20197.234%20193.442%20194.742%20190.362%20194.742C187.408%20194.742%20186.008%20197.08%20186.008%20200.426ZM206.969%20208.42C205.093%20208.42%20203.595%20207.748%20202.517%20206.6V214.72H200.011V192.88H202.237V194.574C203.343%20193.244%20204.925%20192.46%20206.983%20192.46C211.183%20192.46%20213.745%20195.89%20213.745%20200.426C213.745%20204.962%20211.197%20208.42%20206.969%20208.42ZM202.237%20200.426C202.237%20203.744%20203.609%20206.138%20206.661%20206.138C209.643%20206.138%20211.099%20203.646%20211.099%20200.426C211.099%20197.234%20209.671%20194.742%20206.591%20194.742C203.637%20194.742%20202.237%20197.08%20202.237%20200.426ZM216.534%20190.206V187.63H219.026V190.206H216.534ZM216.534%20208V192.88H219.026V208H216.534ZM233.433%20200.426C233.433%20197.584%20232.523%20194.854%20229.331%20194.854C226.825%20194.854%20225.173%20196.534%20225.173%20200.034V208H222.653V192.88H224.893V194.826C226.013%20193.328%20227.749%20192.488%20229.933%20192.488C234.805%20192.488%20235.953%20196.772%20235.953%20199.642V208H233.433V200.426ZM245.151%20215.14C242.771%20215.14%20240.433%20214.076%20239.173%20211.822L241.455%20210.618C242.197%20212.102%20243.695%20212.732%20245.165%20212.732C248.049%20212.732%20249.435%20211.15%20249.407%20208.07V206.614C248.329%20207.748%20246.831%20208.42%20244.969%20208.42C240.741%20208.42%20238.193%20204.962%20238.193%20200.426C238.193%20195.89%20240.755%20192.46%20244.955%20192.46C247.013%20192.46%20248.595%20193.244%20249.701%20194.574V192.88H251.913V208.098C251.913%20208.938%20251.871%20209.68%20251.731%20210.422C251.143%20213.642%20248.763%20215.14%20245.151%20215.14ZM240.839%20200.426C240.839%20203.646%20242.295%20206.138%20245.277%20206.138C248.329%20206.138%20249.701%20203.744%20249.701%20200.426C249.701%20197.08%20248.301%20194.742%20245.347%20194.742C242.267%20194.742%20240.839%20197.234%20240.839%20200.426Z'%20fill='%23CFD1DB'/%3e%3cpath%20d='M6%203V239H298'%20stroke='%23CFD1DB'%20stroke-width='2'/%3e%3cpath%20d='M20%20236V242'%20stroke='%23CFD1DB'%20stroke-width='2'/%3e%3cpath%20d='M72%20236V242'%20stroke='%23CFD1DB'%20stroke-width='2'/%3e%3cpath%20d='M124%20236V242'%20stroke='%23CFD1DB'%20stroke-width='2'/%3e%3cpath%20d='M176%20236V242'%20stroke='%23CFD1DB'%20stroke-width='2'/%3e%3cpath%20d='M228%20236V242'%20stroke='%23CFD1DB'%20stroke-width='2'/%3e%3cpath%20d='M280%20236V242'%20stroke='%23CFD1DB'%20stroke-width='2'/%3e%3cpath%20d='M9%2023L3%2023'%20stroke='%23CFD1DB'%20stroke-width='2'/%3e%3cpath%20d='M9%2063L3%2063'%20stroke='%23CFD1DB'%20stroke-width='2'/%3e%3cpath%20d='M9%20103L3%20103'%20stroke='%23CFD1DB'%20stroke-width='2'/%3e%3cpath%20d='M9%20143L3%20143'%20stroke='%23CFD1DB'%20stroke-width='2'/%3e%3cpath%20d='M9%20183L3%20183'%20stroke='%23CFD1DB'%20stroke-width='2'/%3e%3cpath%20d='M9%20223L3%20223'%20stroke='%23CFD1DB'%20stroke-width='2'/%3e%3cpath%20d='M140%2079L156%2073'%20stroke='%23CFD1DB'%20stroke-width='3'/%3e%3ccircle%20cx='157'%20cy='54'%20r='2'%20fill='%23CFD1DB'%20stroke='%23CFD1DB'%20stroke-width='2'/%3e%3ccircle%20cx='127'%20cy='66'%20r='2'%20fill='%23CFD1DB'%20stroke='%23CFD1DB'%20stroke-width='2'/%3e%3ccircle%20cx='150'%20cy='74'%20r='41'%20stroke='%23CFD1DB'%20stroke-width='3'/%3e%3cpath%20d='M189%20116H217L237%2044H265'%20stroke='%23CFD1DB'%20stroke-width='3'/%3e%3ccircle%20cx='189'%20cy='116'%20r='5'%20fill='white'%20stroke='%23CFD1DB'%20stroke-width='3'/%3e%3ccircle%20cx='217'%20cy='116'%20r='5'%20fill='white'%20stroke='%23CFD1DB'%20stroke-width='3'/%3e%3ccircle%20cx='237'%20cy='44'%20r='5'%20fill='white'%20stroke='%23CFD1DB'%20stroke-width='3'/%3e%3ccircle%20cx='265'%20cy='44'%20r='5'%20fill='white'%20stroke='%23CFD1DB'%20stroke-width='3'/%3e%3cpath%20d='M113%20116H85L65%2044H37'%20stroke='%23CFD1DB'%20stroke-width='3'/%3e%3ccircle%20cx='5'%20cy='5'%20r='5'%20transform='matrix(-1%200%200%201%20118%20111)'%20fill='white'%20stroke='%23CFD1DB'%20stroke-width='3'/%3e%3ccircle%20cx='5'%20cy='5'%20r='5'%20transform='matrix(-1%200%200%201%2090%20111)'%20fill='white'%20stroke='%23CFD1DB'%20stroke-width='3'/%3e%3ccircle%20cx='5'%20cy='5'%20r='5'%20transform='matrix(-1%200%200%201%2070%2039)'%20fill='white'%20stroke='%23CFD1DB'%20stroke-width='3'/%3e%3ccircle%20cx='5'%20cy='5'%20r='5'%20transform='matrix(-1%200%200%201%2042%2039)'%20fill='white'%20stroke='%23CFD1DB'%20stroke-width='3'/%3e%3cpath%20d='M11%207L6%202L1%207'%20stroke='%23CFD1DB'%20stroke-width='2'/%3e%3cpath%20d='M294%20244L299%20239L294%20234'%20stroke='%23CFD1DB'%20stroke-width='2'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:12px 92px}.graph-maker .chart_container .chart_header{display:flex;margin-bottom:16px;max-width:100%}.graph-maker .chart_container .chart_titleEdit{margin-top:11px;margin-left:-24px;opacity:0;pointer-events:none}.graph-maker .chart_container .chart_header:hover .chart_titleEdit,.graph-maker .chart_container .chart_header:focus-within .chart_titleEdit{opacity:1}.graph-maker .chart_container .chart_title{font-family:var(--font-family-base);font-weight:var(--font-weigh-base);font-size:28px;height:40px;border:none;outline:none;text-overflow:ellipsis;margin-left:-2px;padding-right:28px;cursor:pointer;field-sizing:content}.graph-maker .chart_container .chart_titleLineSlot{display:flex;margin-left:auto;align-content:center}.graph-maker .chart_container .chart_tabBy{width:max-content;min-width:200px;margin-top:24px}.graph-maker .chart_container .chart_main-content{display:flex;width:100%;overflow:auto;padding-bottom:40px;position:relative}.graph-maker .chart_container .chart_main-content__dendro{padding-top:24px}.graph-maker .chart_container .chart_main-content__dendro .dendro-table{position:relative;margin-top:-12px;flex-shrink:0;z-index:0}.graph-maker .chart_container .chart_main-content #chartSvgContainer{flex-shrink:0;width:max-content;height:max-content;position:relative}.graph-maker .chart_container .chart_main-content #chartSvgContainer.chart_loading{min-width:600px;min-height:400px}.graph-maker{--modal-shadow: 0 6px 24px -2px rgba(15, 36, 77, .08), 0px 4px 12px -2px rgba(15, 36, 77, .08)}.graph-maker .panel-modal{position:absolute;top:0;right:6px;bottom:6px;display:flex;flex-direction:column;margin:0;min-width:280px;border-radius:6px;border:1px solid var(--color-div-grey);background:var(--bg-elevated-01);z-index:1;box-shadow:var(--modal-shadow)}.graph-maker .panel-modal .close-panel-modal{cursor:pointer;position:absolute;top:12px;right:12px;background-color:var(--color-div-grey)}.graph-maker .panel-modal .close-panel-modal:hover{background-color:var(--txt-01)}.graph-maker .panel-modal h3{color:var(--txt-01);font-size:20px;font-style:normal;font-weight:500;line-height:24px;letter-spacing:-.2px;margin:0;font-family:var(--font-family-base)}.graph-maker .panel-modal .inputs-block{height:100%;display:flex;flex-direction:column;overflow:auto;overflow-x:hidden;padding:0 4px;margin:16px -4px 0}.graph-maker .panel-modal .input-item{min-width:256px;margin:12px 0}.graph-maker .panel-modal .data-form-input-item{min-width:256px;margin:6px 0 0}.graph-maker .panel-modal .aes-input-row{display:flex;margin:12px 0}.graph-maker .panel-modal .aes-input-row .aes-input-select{width:100%}.graph-maker .panel-modal .aes-input-row .ui-aes-button{margin-left:8px}.graph-maker .panel-modal .checkbox-item{margin:12px 0;display:flex;align-items:center}.graph-maker .panel-modal .checkbox-item span{font-family:var(--font-family-base);margin-left:8px;font-size:var(--font-size-base);color:var(--txt-01)}.graph-maker .panel-modal .section-title{color:var(--txt-03);font-family:var(--font-family-base);font-size:11px;letter-spacing:.44px;font-style:normal;font-weight:500;line-height:12px;text-transform:uppercase;background:linear-gradient(transparent 0%,transparent calc(50% - .5px),var(--color-div-grey) calc(50% - .5px),var(--color-div-grey) calc(50% + .5px),transparent calc(50% + .5px))}.graph-maker .panel-modal .section-title span{background-color:#fff;padding-right:8px}.graph-maker .panel-modal .section-description{color:var(--txt-03);font-family:var(--font-family-base);font-size:12px;line-height:16px;margin-top:4px}.graph-maker .panel-modal .data-form{height:100%;overflow:hidden;display:flex}.graph-maker .panel-modal .data-form .left-block,.graph-maker .panel-modal .data-form .right-block{height:100%;overflow:hidden;display:flex;flex-direction:column;padding:16px 24px;max-width:320px}.graph-maker .panel-modal .data-form .separator{position:relative;width:0;border:.5px solid var(--color-div-grey)}.graph-maker .panel-modal .data-form .separator .arrow-circle{width:32px;height:32px;border-radius:32px;border:1px solid var(--color-div-grey);position:absolute;top:11px;left:-16px;background:#fff;display:flex;align-items:center;justify-content:center}.graph-maker .panel-modal .data-form .separator .mask{position:static;cursor:default;background-color:var(--txt-01)}.graph-maker .panel-modal .data-form .separator .mask:hover{background-color:var(--txt-01)}.graph-maker .panel-modal .data-form .metadata-block{font-family:var(--font-family-base);font-size:var(--font-size-base);font-weight:var(--font-weigh-base);margin-top:12px}.graph-maker .panel-modal .data-form .metadata-block .title{margin-bottom:8px}.graph-maker .panel-modal .data-form .metadata-block .metadata-item{margin:3px 0}.graph-maker .panel-modal .stat-form{height:100%;overflow:auto;display:flex;flex-direction:column;padding:16px 24px}.graph-maker .panel-modal .stat-form .section-title{margin:20px 0 12px}.graph-maker .panel-modal .template-form{height:100%;display:flex;overflow:hidden;flex-direction:column}.graph-maker .panel-modal .template-form .template-title{padding:16px 24px 8px}.graph-maker .panel-modal .template-form .template-list{padding:24px 0;overflow:auto}.graph-maker .panel-modal .template-form .template-item{font-family:var(--font-family-base);height:40px;padding:0 24px;display:flex;align-items:center;position:relative;cursor:pointer}.graph-maker .panel-modal .template-form .template-item .checkmark{margin-left:auto;display:none}.graph-maker .panel-modal .template-form .template-item:hover,.graph-maker .panel-modal .template-form .template-item.selected{background-color:var(--color-active-select)}.graph-maker .panel-modal .template-form .template-item.selected .checkmark{display:block}.graph-maker .panel-modal .template-form .inline-icon{margin-right:8px}.graph-maker .panel-modal .layers-form,.graph-maker .panel-modal .axes-form{height:100%;overflow:hidden;display:flex;flex-direction:column;font-family:var(--font-family-base)}.graph-maker .panel-modal .layers-form .layers-title,.graph-maker .panel-modal .layers-form .axes-title,.graph-maker .panel-modal .axes-form .layers-title,.graph-maker .panel-modal .axes-form .axes-title{padding:16px 24px}.graph-maker .panel-modal .layers-list,.graph-maker .panel-modal .axes-settings-list{overflow:auto;height:100%}.graph-maker .panel-modal .axes-form{width:100%}.graph-maker .panel-modal .axes-form .axes-settings-list .axes-settings-input{margin:24px 0}.graph-maker .panel-modal .axes-form .axes-settings-list .axes-settings-row{margin:12px 0;height:20px}.graph-maker .panel-modal .axes-form .axes-settings-list .axes-settings-options-row{margin:12px 0;font-size:var(--font-size-base);display:flex;justify-content:space-between;align-items:center}.graph-maker .panel-modal .axes-form .axes-settings-list .axes-settings-options-row.block{display:block}.graph-maker .panel-modal .axes-form .axes-settings-list .axes-settings-options-row.table{border-bottom:1px solid var(--color-div-grey);padding:8px 0;margin:0}.graph-maker .panel-modal .axes-form .axes-settings-list .axes-settings-options-row.table:last-of-type{border-bottom:none}.graph-maker .panel-modal .axes-form .axes-settings-list .other{padding:16px 24px 8px;border-top:1px solid var(--color-div-grey)}.graph-maker .panel-modal .collapsable-block-container{border-top:1px solid var(--color-div-grey);max-height:100vh;transition:max-height .3s;--title-height: 48px}.graph-maker .panel-modal .collapsable-block-container .collapsable-block-title{font-family:var(--font-family-base);font-size:var(--font-size-base);height:var(--title-height);padding:0 24px;display:flex;align-items:center;position:relative;cursor:pointer;background-color:transparent;transition:background-color .3s}.graph-maker .panel-modal .collapsable-block-container .collapsable-block-title:before{position:absolute;content:"";top:0;left:0;right:0;bottom:0;opacity:.5;background:linear-gradient(var(--color-active-select) 0,#fff var(--title-height));transition:opacity .3s;z-index:0}.graph-maker .panel-modal .collapsable-block-container .collapsable-block-title svg,.graph-maker .panel-modal .collapsable-block-container .collapsable-block-title span{z-index:0}.graph-maker .panel-modal .collapsable-block-container .collapsable-block-title span{margin-left:8px}.graph-maker .panel-modal .collapsable-block-container .collapsable-block-content{padding:8px 24px;background-color:transparent;transition:background-color .3s}.graph-maker .panel-modal .collapsable-block-container.minimized{overflow:hidden;max-height:var(--title-height)}.graph-maker .panel-modal .collapsable-block-container.minimized .collapsable-block-title{background-color:var(--bg-base-light)}.graph-maker .panel-modal .collapsable-block-container.minimized .collapsable-block-title:before{opacity:0}.graph-maker .panel-modal .collapsable-block-container.minimized .collapsable-block-content{background-color:var(--bg-base-light)}.graph-maker .panel-modal .collapsable-block-container.maximized{overflow:visible;animation:.3s delay-overflow}@keyframes delay-overflow{0%{overflow:hidden}}.graph-maker .btn-icon-group{display:inline-flex;--size: 32px}.graph-maker .btn-icon-group .btn-icon-group__option{width:var(--size);height:var(--size);display:flex;justify-content:center;align-items:center;cursor:pointer;color:var(--color-dis-01)}.graph-maker .btn-icon-group .btn-icon-group__option.active{color:var(--main-dark-color)}.fixed-aes-list{display:flex;flex-wrap:wrap;overflow:auto;padding:20px}.fixed-aes-list__rows{flex-wrap:nowrap;flex-direction:column;flex-shrink:1;flex-basis:100%;padding:16px}.fixed-aes-list .color-item{width:24px;height:24px;display:flex;align-items:center;justify-content:center;border-radius:3px;margin:6px;position:relative;cursor:pointer}.fixed-aes-list .color-item:after{content:"";position:absolute;top:-4px;left:-4px;width:32px;height:32px;border:1px solid var(--color-ic-01);border-radius:6px;opacity:0}.fixed-aes-list .color-item:hover:after{opacity:1}.fixed-aes-list .color-item.border{background:var(--color-ic-00);border:3px solid}.fixed-aes-list .color-item.border:after{top:-7px;left:-7px}.fixed-aes-list .color-item.white,.fixed-aes-list .color-item.empty{border:1px solid var(--color-div-grey)}.fixed-aes-list .color-item.white:after,.fixed-aes-list .color-item.empty:after{top:-5px;left:-5px}.fixed-aes-list .color-item.white.white.border:before,.fixed-aes-list .color-item.empty.white.border:before{content:"";position:absolute;top:1px;left:1px;width:20px;height:20px;border:1px solid var(--color-div-grey);border-radius:1px}.fixed-aes-list .color-item.empty{background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M0 0H4V4H0V0ZM8 4H4V8H0V12H4V16H0V20H4V16H8V20H12V16H16V20H20V16H16V12H20V8H16V4H20V0H16V4H12V0H8V4ZM8 8V4H12V8H8ZM8 12V16H12V12H16V8H12V12H8ZM8 12H4V8H8V12Z" fill="%23E1E3EB"/></svg>') no-repeat center}.fixed-aes-list .color-item .checkmark{display:none}.fixed-aes-list .color-item.selected:after{opacity:1}.fixed-aes-list .color-item.selected .checkmark{display:block}.fixed-aes-list .row-item{width:100%;height:32px;padding:0 12px;display:flex;align-items:center;justify-content:space-between;cursor:pointer;border-radius:6px;border:1px solid transparent}.fixed-aes-list .row-item:hover{background-color:var(--color-sec-hover-grey)}.fixed-aes-list .row-item__selected{background-color:transparent;border-color:var(--color-ic-01);cursor:default;pointer-events:none}.fixed-aes-list .row-item__title{margin-right:8px;font-size:var(--font-size-base)}.fixed-aes-list .row-item__line{width:120px;height:100%}.graph-maker .aes-settings-form{position:absolute;top:-1px;right:-1px;bottom:-1px;width:368px;margin:0;background:#fff;display:flex;flex-direction:column;border-radius:6px;font-family:var(--font-family-base);overflow:hidden;z-index:1;border:1px solid var(--color-div-grey);box-shadow:var(--modal-shadow)}.graph-maker .aes-settings-form__header{padding:16px 24px 0}.graph-maker .aes-settings-form__header .back-link{margin:0 0 8px -8px;cursor:pointer;font-size:var(--font-size-base);display:flex;align-items:center}.graph-maker .aes-settings-form__header .back-link .inline-icon{margin-right:8px}.graph-maker .aes-settings-form__header h3{margin:24px 0}.graph-maker .aes-settings-form .type-color-selector{margin:8px 0 32px}.graph-maker .aes-settings-form .aes-mapping-block{overflow:hidden;display:flex;flex-direction:column}.graph-maker .aes-settings-form .palettes-groups{padding:0 24px;overflow:auto}.graph-maker .aes-settings-form .palettes-groups .palettes-list{margin:24px 0}.graph-maker .aes-settings-form .palettes-groups .palettes-list__palette{display:flex;height:40px;padding:8px 12px;align-items:center;justify-content:space-between;font-size:var(--font-size-base);cursor:pointer;border-radius:6px;border:1px solid transparent}.graph-maker .aes-settings-form .palettes-groups .palettes-list__palette:hover{background-color:var(--color-sec-hover-grey)}.graph-maker .aes-settings-form .palettes-groups .palettes-list__palette.selected{border-color:var(--color-ic-01);cursor:default;pointer-events:none}.graph-maker .aes-settings-form .palettes-groups .palettes-list__palette .palette-gradient{height:24px;min-width:196px;border-radius:3px;display:flex;overflow:hidden}.graph-maker .aes-settings-form .palettes-groups .palettes-list__palette .palette-gradient__item{flex-basis:100%;border-right:.5px solid white;border-left:.5px solid white}.graph-maker .aes-settings-form .palettes-groups .palettes-list__palette .palette-gradient__item:first-child{border-left:none}.graph-maker .aes-settings-form .palettes-groups .palettes-list__palette .palette-gradient__item:last-child{border-right:none}.graph-maker .aes-settings-form .aes-settings-hint{padding:0 24px;font-family:var(--font-family-base);font-size:12px;color:var(--txt-03)}.graph-maker .aes-settings-form .column-values-list{overflow:auto;padding:8px 24px 24px;--contour-color: var(--color-focus);--contour-border-width: 2px;--contour-box-shadow: 0 0 0 4px var(--color-focus-shadow)}.graph-maker .aes-settings-form .column-values-list .column-value{display:flex;min-height:40px;align-items:center;padding-left:12px;padding-right:2px;border-radius:var(--border-radius-control);border:1px solid var(--color-div-grey);margin-bottom:6px;background-color:var(--color-ic-00)}.graph-maker .aes-settings-form .column-values-list .column-value__with-reorder{cursor:pointer}.graph-maker .aes-settings-form .column-values-list .column-value__reorder-icon{margin-right:8px}.graph-maker .aes-settings-form .column-values-list .column-value:last-child{margin-bottom:0}.graph-maker .aes-settings-form .column-values-list .column-value__aes-group{margin-left:auto;flex-shrink:0;display:flex;align-items:center}.graph-maker .aes-settings-form .column-values-list .column-value__aes{width:40px;height:40px;display:flex;justify-content:center;align-items:center;cursor:pointer;background:var(--color-ic-00);border-radius:var(--border-radius-control)}.graph-maker .aes-settings-form .column-values-list .column-value__aes.aes__selected{border:var(--contour-border-width) solid var(--contour-color);box-shadow:var(--contour-box-shadow);z-index:1}.graph-maker .aes-settings-form .column-values-list .column-value__title{overflow:hidden;text-overflow:ellipsis;margin-right:8px}.graph-maker .aes-settings-form .column-values-list .column-value__color{width:18px;height:18px;border-radius:3px}.ui-multiselect-button{--contour-color: var(--txt-01);--label-color: var(--txt-01);--contour-border-width: 1px;--contour-box-shadow: none;--label-offset-left-x: 8px;--label-offset-right-x: 8px;width:100%;min-height:var(--control-height);position:relative;border-radius:var(--border-radius-control);display:flex;flex-direction:row;align-items:center;outline:none;cursor:pointer}.ui-multiselect-button__envelope{font-family:var(--font-family-base)}.ui-multiselect-button label{display:flex;align-items:center;position:absolute;top:0;transform:translateY(-60%);left:var(--label-offset-left-x);padding:0 4px;max-width:calc(100% - 16px);overflow:hidden;white-space:pre;text-overflow:ellipsis;cursor:inherit;color:var(--label-color);font-size:12px;font-weight:500}.ui-multiselect-button__contour{position:absolute;top:0;left:0;right:0;bottom:0;border-radius:var(--border-radius-control);border-width:var(--contour-border-width);border-color:var(--contour-color);border-style:solid;box-shadow:var(--contour-box-shadow);z-index:0;pointer-events:none}.ui-multiselect-button__content{padding:8px 12px;display:flex;align-items:center;flex-basis:100%;font-size:var(--font-size-base)}.ui-multiselect-button__content .title{margin-right:auto}.ui-multiselect-button__content .gradient{height:18px;min-width:113px;border-radius:3px;display:flex;overflow:hidden}.ui-multiselect-button__content .gradient__item{flex-basis:100%;border-right:.5px solid white;border-left:.5px solid white}.ui-multiselect-button__content .gradient__item:first-child{border-left:none}.ui-multiselect-button__content .gradient__item:last-child{border-right:none}.ui-multiselect-button__content .icon{margin-left:8px;background-color:var(--color-ic-01);position:relative}.ui-multiselect-button__content .icon__fill,.ui-multiselect-button__content .icon__stroke{width:18px;height:18px;border-radius:3px;margin:0 4px}.ui-multiselect-button__content .icon__stroke{background:none;border:3px solid}.ui-multiselect-button__content .icon__stroke.icon__white:before{content:"";position:absolute;top:1px;left:1px;width:14px;height:14px;border:1px solid var(--color-div-grey);border-radius:1px}.ui-multiselect-button__content .icon__white,.ui-multiselect-button__content .icon__empty{border:1px solid var(--color-div-grey)}.ui-multiselect-button__content .icon__white:after,.ui-multiselect-button__content .icon__empty:after{top:-5px;left:-5px}.ui-multiselect-button__content .icon__empty{background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M0 0H4V4H0V0ZM8 4H4V8H0V12H4V16H0V20H4V16H8V20H12V16H16V20H20V16H16V12H20V8H16V4H20V0H16V4H12V0H8V4ZM8 8V4H12V8H8ZM8 12V16H12V12H16V8H12V12H8ZM8 12H4V8H8V12Z" fill="%23E1E3EB"/></svg>') no-repeat center}.ui-aes-button{--contour-color: var(--txt-01);--label-color: var(--txt-01);--contour-border-width: 1px;--contour-box-shadow: none;width:var(--control-height);height:var(--control-height);position:relative;border-radius:var(--border-radius-control);display:flex;flex-shrink:0;flex-direction:row;align-items:center;justify-content:center;outline:none;cursor:pointer;font-family:var(--font-family-base)}.ui-aes-button .icon{position:relative}.ui-aes-button .icon__fill,.ui-aes-button .icon__stroke{width:18px;height:18px;border-radius:3px;margin:0 4px}.ui-aes-button .icon__stroke{background:none;border:3px solid}.ui-aes-button .icon__stroke.icon__white:before{content:"";position:absolute;top:1px;left:1px;width:14px;height:14px;border:1px solid var(--color-div-grey);border-radius:1px}.ui-aes-button .icon__white,.ui-aes-button .icon__empty{border:1px solid var(--color-div-grey)}.ui-aes-button .icon__white:after,.ui-aes-button .icon__empty:after{top:-5px;left:-5px}.ui-aes-button .icon__empty{background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M0 0H4V4H0V0ZM8 4H4V8H0V12H4V16H0V20H4V16H8V20H12V16H16V20H20V16H16V12H20V8H16V4H20V0H16V4H12V0H8V4ZM8 8V4H12V8H8ZM8 12V16H12V12H16V8H12V12H8ZM8 12H4V8H8V12Z" fill="%23E1E3EB"/></svg>') no-repeat center}.dot{width:24px;height:24px}.dot__0{background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><rect x="6" y="6" width="12" height="12" stroke="%23110529"/></svg>') no-repeat center}.dot__5{background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path d="M12 5L19 12L12 19L5 12L12 5Z" stroke="%23110529"/></svg>') no-repeat center}.dot__1{background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><circle cx="12" cy="12" r="6" stroke="%23110529"/></svg>') no-repeat center}.dot__2{background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path d="M12 6L19 18H5L12 6Z" stroke="%23110529"/></svg>') no-repeat center}.dot__6{background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path d="M12 18L19 6H5L12 18Z" stroke="%23110529"/></svg>') no-repeat center}.dot__7{background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M6 5.5H5.5V6V18V18.5H6H18H18.5V18V6V5.5H18H6ZM6.5 7.20711V16.7929L11.2929 12L6.5 7.20711ZM7.20711 17.5H16.7929L12 12.7071L7.20711 17.5ZM17.5 16.7929V7.20711L12.7071 12L17.5 16.7929ZM16.7929 6.5H7.20711L12 11.2929L16.7929 6.5Z" fill="%23110529"/></svg>') no-repeat center}.dot__9{background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.3536 4.6464L12.0001 4.29285L11.6465 4.6464L4.64652 11.6464L4.29297 12L4.64652 12.3535L11.6465 19.3535L12.0001 19.7071L12.3536 19.3535L19.3536 12.3535L19.7072 12L19.3536 11.6464L12.3536 4.6464ZM6.20718 12.5L11.5001 17.7928V12.5H6.20718ZM12.5001 17.7928L17.793 12.5H12.5001V17.7928ZM17.793 11.5L12.5001 6.20706V11.5H17.793ZM11.5001 6.20706L6.20718 11.5H11.5001V6.20706Z" fill="%23110529"/></svg>') no-repeat center}.dot__3{background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path d="M12 6V12M12 18V12M12 12H18M12 12H6" stroke="%23110529"/></svg>') no-repeat center}.dot__4{background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path d="M17 7L12 12M12 12L7 17M12 12L17 17M12 12L7 7" stroke="%23110529"/></svg>') no-repeat center}.dot__8{background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M10.7924 11.5L6.69625 7.40385L7.40336 6.69674L11.5 10.7934V5H12.5V10.7925L16.5957 6.69674L17.3029 7.40385L13.2067 11.5H19V12.5H13.2066L17.3029 16.5962L16.5957 17.3033L12.5 13.2076V19H11.5V13.2067L7.40336 17.3033L6.69625 16.5962L10.7925 12.5H5V11.5H10.7924Z" fill="%23110529"/></svg>') no-repeat center}.dot__12{background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M6 5.5H5.5V6V18V18.5H6H18H18.5V18V6V5.5H18H6ZM6.5 11.5V6.5H11.5V11.5H6.5ZM6.5 12.5V17.5H11.5V12.5H6.5ZM12.5 17.5H17.5V12.5H12.5V17.5ZM17.5 11.5V6.5H12.5V11.5H17.5Z" fill="%23110529"/></svg>') no-repeat center}.dot__10{background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M11.5 6.02054C8.5851 6.26101 6.26101 8.5851 6.02054 11.5L11.5 11.5V6.02054ZM6.02054 12.5C6.26101 15.4149 8.5851 17.739 11.5 17.9795L11.5 12.5L6.02054 12.5ZM12.5 17.9795C15.4149 17.739 17.739 15.4149 17.9795 12.5H12.5L12.5 17.9795ZM17.9795 11.5C17.739 8.5851 15.4149 6.26101 12.5 6.02054V11.5H17.9795ZM12 5C8.13401 5 5 8.13401 5 12C5 15.866 8.13401 19 12 19C15.866 19 19 15.866 19 12C19 8.13401 15.866 5 12 5Z" fill="%23110529"/></svg>') no-repeat center}.dot__13{background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M8.48049 7.77335C9.43424 6.9783 10.6613 6.5 12 6.5C13.3387 6.5 14.5658 6.9783 15.5195 7.77335L12 11.2929L8.48049 7.77335ZM7.77091 7.06377L6.35355 5.64641L5.64645 6.35352L7.0638 7.77087C6.08896 8.90764 5.5 10.385 5.5 12C5.5 13.6149 6.08894 15.0923 7.06377 16.2291L5.64645 17.6464L6.35355 18.3535L7.77087 16.9362C8.90764 17.911 10.385 18.5 12 18.5C13.615 18.5 15.0924 17.911 16.2291 16.9362L17.6464 18.3535L18.3536 17.6464L16.9362 16.2291C17.9111 15.0923 18.5 13.6149 18.5 12C18.5 10.385 17.911 8.90764 16.9362 7.77087L18.3536 6.35352L17.6464 5.64641L16.2291 7.06377C15.0923 6.08894 13.6149 5.5 12 5.5C10.3851 5.5 8.90768 6.08894 7.77091 7.06377ZM16.2266 8.48045L12.7071 12L16.2267 15.5195C17.0217 14.5658 17.5 13.3387 17.5 12C17.5 10.6612 17.0217 9.4342 16.2266 8.48045ZM15.5195 16.2266L12 12.7071L8.48045 16.2266C9.4342 17.0217 10.6612 17.5 12 17.5C13.3388 17.5 14.5658 17.0217 15.5195 16.2266ZM7.77335 15.5195L11.2929 12L7.77338 8.48045C6.97832 9.4342 6.5 10.6612 6.5 12C6.5 13.3387 6.9783 14.5658 7.77335 15.5195Z" fill="%23110529"/></svg>') no-repeat center}.dot__14{background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M6 5.5H5.5V6V18V18.5H6H18H18.5V18V6V5.5H18H6ZM17.5 15.882V6.5H12.809L17.5 15.882ZM11.191 6.5H6.5V15.882L11.191 6.5ZM6.80902 17.5H17.191L12 7.11803L6.80902 17.5Z" fill="%23110529"/></svg>') no-repeat center}.dot__11{background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M11.441 5.11803L12 4L12.559 5.11803L13 6H17.882H19L18.5 7L16 12L18.5 17L19 18H17.882H13L12.559 18.882L12 20L11.441 18.882L11 18H6.11803H5L5.5 17L8 12L5.5 7L5 6H6.11803H11L11.441 5.11803ZM10.5 7H6.61803L8.55902 10.882L10.5 7ZM8.55902 13.118L6.61803 17H10.5L8.55902 13.118ZM11.618 17L9.11803 12L11.618 7H12.382L14.882 12L12.382 17H11.618ZM13.5 17H17.382L15.441 13.118L13.5 17ZM15.441 10.882L17.382 7H13.5L15.441 10.882Z" fill="%23110529"/></svg>') no-repeat center}.dot__22{background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><rect x="6" y="6" width="12" height="12" fill="%23110529"/></svg>') no-repeat center}.dot__23{background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path d="M12 5L19 12L12 19L5 12L12 5Z" fill="%23110529"/></svg>') no-repeat center}.dot__21{background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><circle cx="12" cy="12" r="6" fill="%23110529"/></svg>') no-repeat center}.dot__24{background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path d="M12 6L19 18H5L12 6Z" fill="%23110529"/></svg>') no-repeat center}.dot__25{background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path d="M12 18L19 6H5L12 18Z" fill="%23110529"/></svg>') no-repeat center}svg.line{width:100%;height:100%;stroke-width:1.5px;stroke:var(--color-ic-01)}svg.line__dashed{stroke-dasharray:6 6}svg.line__dotted{stroke-dasharray:1.5 4}svg.line__dotdash{stroke-dasharray:1.5 4 8 4}svg.line__longdash{stroke-dasharray:10 4}svg.line__twodash{stroke-dasharray:3 3 9 3}.icon__line{height:24px;width:24px}.icon__line.line__solid{background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M1 11.25H23V12.75H1V11.25Z" fill="%23110529"/></svg>') no-repeat center}.icon__line.line__dashed{background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M1 11.25H6V12.75H1V11.25ZM9.5 11.25H14.5V12.75H9.5V11.25ZM18 11.25H23V12.75H18V11.25Z" fill="%23110529"/></svg>') no-repeat center}.icon__line.line__dotted{background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path d="M2.75 11.25H1.25V12.75H2.75V11.25Z" fill="%23110529"/><path d="M11.25 11.25H12.75V12.75H11.25V11.25Z" fill="%23110529"/><path d="M22.75 11.25H21.25V12.75H22.75V11.25Z" fill="%23110529"/><path d="M7.75 11.25H6.25V12.75H7.75V11.25Z" fill="%23110529"/><path d="M16.25 11.25H17.75V12.75H16.25V11.25Z" fill="%23110529"/></svg>') no-repeat center}.icon__line.line__dotdash{background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M1 11.25H2.5V12.75H1V11.25ZM17 12.75H7V11.25H17V12.75ZM21.5 12.75V11.25H23V12.75H21.5Z" fill="%23110529"/></svg>') no-repeat center}.icon__line.line__longdash{background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M1 11.25H10V12.75H1V11.25ZM14 11.25H23V12.75H14V11.25Z" fill="%23110529"/></svg>') no-repeat center}.icon__line.line__twodash{background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M1 11.25H4V12.75H1V11.25ZM17.0261 12.75H7V11.25H17.0261V12.75ZM20 12.75V11.25H23V12.75H20Z" fill="%23110529"/></svg>') no-repeat center}.popup{position:absolute;width:0;height:0;--modal-shadow: 0 6px 24px -2px rgba(15, 36, 77, .08), 0px 4px 12px -2px rgba(15, 36, 77, .08)}.popup__content{z-index:3;position:absolute;display:inline-block;background:var(--color-ic-00);border-radius:6px;width:max-content;border:1px solid var(--color-div-grey);box-shadow:var(--modal-shadow);font-family:var(--font-family-base)}.popup__content .beak{position:absolute}.popup__content .beak path{fill:var(--color-ic-00)}.popup__content .beak polyline{stroke:var(--color-div-grey)}.popup__content.bottom{top:0;right:0}.popup__content.bottom .beak{transform:translate(50%) translateY(-100%) rotate(90deg);top:2px;right:20px}.popup__content.left-bottom{top:0;right:0}.popup__content.left-bottom .beak{transform:translate(100%) rotate(180deg);right:0}.pl-color-slider{height:32px;border:1px solid var(--color-border-default);border-radius:6px;display:flex}.pl-color-slider__wrapper{width:100%;height:100%;position:relative}.pl-color-slider__color-contaier{height:100%;padding:0 16px;background-color:#f0f0f0;position:absolute;width:100%;z-index:2;border-radius:5px}.pl-color-slider__gradient{height:100%}.pl-color-slider__thumbs-contaier{height:100%;z-index:2;position:relative;border-radius:4px}.pl-color-slider__thumb{height:100%;width:1px;background-color:var(--txt-01);position:absolute;z-index:5;outline:none}.pl-color-slider__thumb-roof{width:8px;height:8px;position:absolute;bottom:-4px;left:-3.5px;background-color:red;background:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='8'%20height='9'%20viewBox='0%200%208%209'%20fill='none'%3e%3cpath%20d='M3.64645%201.56066C3.84171%201.3654%204.15829%201.3654%204.35355%201.56066L6.93934%204.14645C7.1346%204.34171%207.1346%204.65829%206.93934%204.85355L4.35355%207.43934C4.15829%207.6346%203.84171%207.6346%203.64645%207.43934L1.06066%204.85355C0.865398%204.65829%200.865398%204.34171%201.06066%204.14645L3.64645%201.56066Z'%20fill='white'%20stroke='%23110529'/%3e%3c/svg%3e");cursor:pointer}.pl-color-slider .active,.pl-color-slider__thumb-roof:active,.pl-color-slider__thumb-roof:hover,.active-thumb .pl-color-slider__thumb-roof{background:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='36'%20height='44'%20viewBox='0%200%2036%2044'%20fill='none'%3e%3cg%20filter='url(%23filter0_d_11505_23033)'%3e%3cpath%20d='M6%2017.1995C6%2015.798%206.58823%2014.4608%207.62138%2013.5137L18%204L28.3786%2013.5137C29.4118%2014.4608%2030%2015.798%2030%2017.1995V31C30%2033.7614%2027.7614%2036%2025%2036H11C8.23858%2036%206%2033.7614%206%2031V17.1995Z'%20fill='white'/%3e%3cpath%20d='M6.5%2017.1995C6.5%2015.9381%207.02941%2014.7347%207.95924%2013.8823L18%204.67828L28.0408%2013.8823C28.9706%2014.7347%2029.5%2015.9381%2029.5%2017.1995V31C29.5%2033.4853%2027.4853%2035.5%2025%2035.5H11C8.51472%2035.5%206.5%2033.4853%206.5%2031V17.1995Z'%20stroke='%23110529'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_11505_23033'%20x='0'%20y='0'%20width='36'%20height='44'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='2'/%3e%3cfeGaussianBlur%20stdDeviation='3'/%3e%3cfeComposite%20in2='hardAlpha'%20operator='out'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200.0666667%200%200%200%200%200.0196078%200%200%200%200%200.160784%200%200%200%200.16%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_11505_23033'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_11505_23033'%20result='shape'/%3e%3c/filter%3e%3c/defs%3e%3c/svg%3e");width:24px;height:32px;background-repeat:no-repeat;background-position:-6px -4px;border-radius:4px;left:-11.5px;bottom:-25px;position:absolute;transition:all .1s ease-in-out}.pl-color-slider .active-thumb{z-index:6}.pl-color-slider__top-index{z-index:7}.active .pl-color-slider__thumb-color-indicator,.active-thumb .pl-color-slider__thumb-color-indicator,.pl-color-slider__thumb-roof:active,.pl-color-slider__thumb-roof:hover .pl-color-slider__thumb-color-indicator{opacity:1;transform:scale(1);transition:all .5s}.pl-color-slider__thumb-color-indicator{opacity:0;position:absolute;bottom:3px;width:18px;height:18px;left:3px;border-radius:4px;transform:scale(0);pointer-events:none}.dnd-chip{border-radius:6px;border:1px solid #E1E3EB;background:#f7f8fa;padding:10px 12px;display:flex;align-items:center;width:100%;margin-bottom:6px}.dnd-chip.drag-active{background:#fff;position:relative}.dnd-chip.drag-active:after{content:"";position:absolute;pointer-events:none;top:0;bottom:0;left:0;right:0;z-index:10;border-radius:6px;border-width:2px;border-color:#49cc49;border-style:solid;box-shadow:0 0 0 4px #49cc493d}.dnd-chip:hover{cursor:move}.dnd-chip__title{overflow:hidden;color:#110529;text-overflow:ellipsis;white-space:nowrap;font-family:Manrope;font-size:14px;font-style:normal;font-weight:500;line-height:20px}.dnd-chip__sub-title{overflow:hidden;color:#9d9eae;text-overflow:ellipsis;white-space:nowrap;font-family:Manrope;font-size:12px;font-style:normal;font-weight:500;line-height:16px}.dnd-chip__title-wrapper{overflow:hidden}.dnd-chip__icon{width:16px;height:16px;margin-right:12px;flex-shrink:0}.dnd-chip__icon svg{width:100%;height:100%}.dnd-basket{border-radius:6px;border:1px solid #E1E3EB;background:#f7f8fa;padding:10px 12px 12px}.dnd-basket__required{position:relative}.dnd-basket__required svg{position:relative;left:2px;top:4px;margin-right:2px}.dnd-basket__title{color:#110529;font-family:Manrope;font-size:14px;font-style:normal;font-weight:500;line-height:20px;margin-bottom:6px}.dnd-basket__chip-wrapper .dnd-basket-chip:last-child{margin-bottom:0}.dnd-basket__placeholder{border-radius:6px;border:1.5px dashed #E1E3EB;padding:12px 24px;color:#9d9eae;text-align:center;font-family:Manrope;font-size:14px;font-style:normal;font-weight:500;line-height:20px}.dnd-basket.disabled{opacity:.24;cursor:no-drop}.dnd-basket.active{border:1px solid #49CC49;background:#63e0241f}.dnd-basket.active .dnd-basket__placeholder{border:1.5px dashed #49CC49}.dnd-basket__chip-wrapper .dnd-double-chip:last-child{margin-bottom:0}.dnd-double-chip{margin-bottom:6px;background:#fff}.dnd-double-chip.error *{border-color:#ff5c5c}.dnd-double-chip .pl-dropdown__contour{border-top:none;border-top-right-radius:0;border-top-left-radius:0}.dnd-double-chip__top{display:flex;padding:10px 12px;align-items:center;border:1px solid #110529;border-radius:6px 6px 0 0}.dnd-double-chip__icon-close,.dnd-double-chip__icon{line-height:0;width:16px;height:16px;cursor:pointer}.dnd-double-chip__icon{margin-right:12px}.dnd-double-chip__icon-close{margin-left:12px}.dnd-double-chip__title-wrapper{flex-grow:1;overflow:hidden}.dnd-double-chip__title{overflow:hidden;color:#110529;text-overflow:ellipsis;white-space:nowrap;font-family:Manrope;font-size:14px;font-style:normal;font-weight:500;line-height:20px}.dnd-basket-chip{border-radius:6px;border:1px solid #E1E3EB;background:#fff;padding:10px 12px;display:flex;align-items:center;width:100%;margin-bottom:6px}.dnd-basket-chip.error{border-color:#ff5c5c}.dnd-basket-chip.drag-active{border-radius:6px;border:2px solid #49CC49;background:#fff;box-shadow:0 0 0 4px #49cc493d}.dnd-basket-chip:hover{cursor:move}.dnd-basket-chip__title{overflow:hidden;color:#110529;text-overflow:ellipsis;white-space:nowrap;font-family:Manrope;font-size:14px;font-style:normal;font-weight:500;line-height:20px}.dnd-basket-chip__sub-title{overflow:hidden;color:#9d9eae;text-overflow:ellipsis;white-space:nowrap;font-family:Manrope;font-size:12px;font-style:normal;font-weight:500;line-height:16px}.dnd-basket-chip__title-wrapper{overflow:hidden;flex-grow:1}.dnd-basket-chip__icon{width:16px;height:16px;margin-right:12px;flex-shrink:0}.dnd-basket-chip__icon svg{width:100%;height:100%}.dnd-basket-chip__icon-close{line-height:0;width:16px;height:16px;margin-left:12px;cursor:pointer}.double-contour-temp{--contour-offset: 4px;position:absolute;top:calc(var(--contour-offset) * -1);left:calc(var(--contour-offset) * -1);right:calc(var(--contour-offset) * -1);bottom:calc(var(--contour-offset) * -1);pointer-events:none;z-index:1;--offset-left-x: calc(var(--label-offset-left-x) + var(--contour-offset));clip-path:polygon(0 0,var(--offset-left-x) 0,var(--offset-left-x) 12px,var(--label-offset-right-x) 12px,var(--label-offset-right-x) 0,100% 0,100% 100%,0 100%,0 0)}.double-contour-temp>div{position:absolute;top:var(--contour-offset);left:var(--contour-offset);right:var(--contour-offset);bottom:var(--contour-offset)}.zoom-container{background:#fff;display:flex;position:absolute;left:0;bottom:0}.zoom-container .zoom-border{position:absolute;border:1px solid var(--color-div-grey);border-radius:var(--border-radius-control);top:0;left:0;right:0;bottom:0}.zoom-input input::-webkit-outer-spin-button,.zoom-input input::-webkit-inner-spin-button{-webkit-appearance:none}.zoom-input .zoom-text-field{--contour-color: transparent;--contour-border-width: 1px;--contour-box-shadow: none;--prefix-color: var(--color-placeholder);min-height:var(--control-height);position:relative;border-radius:var(--border-radius-control);display:flex;flex-direction:row;align-items:center;outline:none;width:64px}.zoom-input .zoom-text-field__envelope{font-family:var(--font-family-base)}.zoom-input .zoom-text-field input{min-height:calc(var(--control-height) - 2px);line-height:calc(var(--control-height) - 2px);width:100%;border:none;font-size:inherit;background-color:transparent;color:var(--txt-01);caret-color:var(--border-color-focus);cursor:inherit;padding:0;text-align:center;font-family:var(--font-family-base)}.zoom-input .zoom-text-field input:focus{outline:none}.zoom-input .zoom-text-field__contour{border-radius:var(--border-radius-control);border-width:var(--contour-border-width);border-color:var(--contour-color);border-style:solid;box-shadow:var(--contour-box-shadow);z-index:0;pointer-events:none}.zoom-input .zoom-text-field:hover{background-color:var(--btn-sec-hover-grey)}.zoom-input .zoom-text-field:focus-within{--contour-color: var(--border-color-focus);--contour-border-width: 2px;--contour-box-shadow: 0 0 0 4px var(--border-color-focus-shadow)}.zoom-input .zoom-text-field:before{left:0}.zoom-input .zoom-text-field:after{right:0}.zoom-input .zoom-text-field:before,.zoom-input .zoom-text-field:after{content:"";position:absolute;top:8px;bottom:8px;width:1px;background-color:var(--color-div-grey);z-index:0}.graph-info-tooltip{position:fixed;top:20%;left:50%;transform:translate(-50%);min-width:320px;max-width:500px;border-radius:16px;background:var(--bg-base-dark);color:var(--color-ic-00);padding:16px;display:flex;flex-direction:column}.graph-info-tooltip .graph-info-tooltip-row{display:flex;line-height:20px}.graph-info-tooltip .graph-info-tooltip-row .graph-info-tooltip-title,.graph-info-tooltip .graph-info-tooltip-row .graph-info-tooltip-value{flex-basis:50%}.graph-info-tooltip .graph-info-tooltip-row__sequence{flex-direction:column}.graph-info-tooltip .graph-info-tooltip-row__sequence .graph-info-tooltip-title,.graph-info-tooltip .graph-info-tooltip-row__sequence .graph-info-tooltip-value{flex-basis:unset}.graph-info-tooltip .graph-info-tooltip-sequence-row{display:flex;background:var(--txt-02);padding:8px}.graph-info-tooltip .graph-info-tooltip-value{text-overflow:ellipsis;overflow:hidden}.graph-info-tooltip .graph-info-tooltip-close{cursor:pointer;position:absolute;top:12px;right:12px;background-color:var(--ic-02)}.graph-info-tooltip .graph-info-tooltip-clipboard{cursor:pointer;background-color:var(--ic-02);margin-left:4px}.slide-panel-enter-active{transition:transform .3s ease-out}.slide-panel-leave-active{transition:transform .3s ease-in-out}.slide-panel-enter-from{transform:translate(200%);opacity:0}.slide-panel-leave-to{transform:translate(200%);opacity:1}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@milaboratories/graph-maker",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "type": "module",
5
5
  "main": "dist/graph-maker.umd.cjs",
6
6
  "module": "dist/graph-maker.js",