@qaecy/cue-ui 0.0.49 → 0.0.51

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.
Files changed (106) hide show
  1. package/1138.js +1 -0
  2. package/1153.js +1 -0
  3. package/{247.js → 1247.js} +1 -1
  4. package/1338.js +1 -0
  5. package/1359.js +1 -0
  6. package/1573.js +1 -0
  7. package/1931.js +1 -0
  8. package/1985.js +1 -0
  9. package/2245.js +1 -0
  10. package/2269.js +1 -0
  11. package/2312.js +1 -0
  12. package/2399.js +1 -0
  13. package/2724.js +1 -0
  14. package/2839.js +1 -0
  15. package/29.js +1 -0
  16. package/3036.js +1 -0
  17. package/3039.js +1 -0
  18. package/{418.js → 3418.js} +1 -1
  19. package/3523.js +1 -0
  20. package/3910.js +1 -0
  21. package/4031.js +1 -0
  22. package/4283.js +1 -0
  23. package/4284.js +1 -0
  24. package/4311.js +1 -0
  25. package/4613.js +1 -0
  26. package/4687.js +1 -0
  27. package/4879.js +1 -0
  28. package/503.js +1 -0
  29. package/5041.js +1 -0
  30. package/5137.js +1 -0
  31. package/5187.js +1 -0
  32. package/5559.js +1 -0
  33. package/5740.js +1 -0
  34. package/5872.js +1 -0
  35. package/617.js +1 -0
  36. package/63.js +1 -0
  37. package/6376.js +1 -0
  38. package/6419.js +1 -0
  39. package/6423.js +1 -0
  40. package/6586.js +1 -0
  41. package/6911.js +1 -0
  42. package/7056.js +1 -0
  43. package/7247.js +1 -0
  44. package/7284.js +1 -0
  45. package/7427.js +1 -0
  46. package/7598.js +1 -0
  47. package/7719.js +1 -0
  48. package/8336.js +1 -0
  49. package/836.js +1 -1
  50. package/8560.js +1 -0
  51. package/8791.js +1 -0
  52. package/8855.js +1 -0
  53. package/8957.js +1 -0
  54. package/9004.js +1 -0
  55. package/906.js +1 -0
  56. package/928.js +1 -1
  57. package/9396.js +1 -0
  58. package/9417.js +1 -0
  59. package/9443.js +1 -0
  60. package/9495.js +1 -0
  61. package/9695.js +1 -0
  62. package/9769.js +1 -0
  63. package/README.md +135 -0
  64. package/common.js +1 -1
  65. package/index.js +1 -1
  66. package/main.js +1 -1
  67. package/package.json +1 -1
  68. package/runtime.js +1 -1
  69. package/149.js +0 -1
  70. package/153.js +0 -1
  71. package/245.js +0 -1
  72. package/269.js +0 -1
  73. package/284.js +0 -1
  74. package/311.js +0 -1
  75. package/336.js +0 -1
  76. package/36.js +0 -1
  77. package/376.js +0 -1
  78. package/393.js +0 -1
  79. package/396.js +0 -1
  80. package/399.js +0 -1
  81. package/4.js +0 -1
  82. package/41.js +0 -1
  83. package/419.js +0 -1
  84. package/423.js +0 -1
  85. package/494.js +0 -1
  86. package/523.js +0 -1
  87. package/560.js +0 -1
  88. package/586.js +0 -1
  89. package/598.js +0 -1
  90. package/613.js +0 -1
  91. package/628.js +0 -1
  92. package/7.js +0 -1
  93. package/719.js +0 -1
  94. package/724.js +0 -1
  95. package/740.js +0 -1
  96. package/773.js +0 -1
  97. package/791.js +0 -1
  98. package/799.js +0 -1
  99. package/802.js +0 -1
  100. package/839.js +0 -1
  101. package/855.js +0 -1
  102. package/872.js +0 -1
  103. package/879.js +0 -1
  104. package/903.js +0 -1
  105. package/911.js +0 -1
  106. package/931.js +0 -1
package/2724.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkcue_ui=self.webpackChunkcue_ui||[]).push([[2724],{2014(ae,N,g){g.d(N,{z:()=>C});var m=g(7705),s=g(2271),_=g(5547);const L=["*"];let C=(()=>{class j{justify=(0,m.hFB)("start");size=(0,m.hFB)("l");widthStyle=(0,s.EW)(()=>`var(--cue-button-label-padding-${this.size()}-x)`);static \u0275fac=function(E){return new(E||j)};static \u0275cmp=_.VBU({type:j,selectors:[["cue-button-padder"]],inputs:{justify:[1,"justify"],size:[1,"size"]},ngContentSelectors:L,decls:2,vars:4,template:function(E,B){1&E&&(_.NAR(),_.rj2(0,"div"),_.SdG(1),_.eux()),2&E&&_.xc7("justify-content",B.justify())("min-width",B.widthStyle())},styles:["div[_ngcontent-%COMP%]{display:flex;align-items:center;min-height:1px}"]})}return j})()},2724(ae,N,g){g.d(N,{CueSparqlTable:()=>en});var m=g(7705),s=g(5802),_=g(2271),L=g(7427),C=g(467),j=g(7374),G=g.n(j),x=g(7400);function E(i,u,t=""){const a=u.valueKey??"val",n=u.priorityKey,o=u.fallback??t,l=u.preProcess?i.map(p=>{const c=p[a];return null==c?p:{...p,[a]:(0,x.w9)(u.preProcess,c)}}):i,r=(n?[...l].sort((p,c)=>{const f=p[n],h=c[n],y=Number(f),T=Number(h);return isNaN(y)||isNaN(T)?(h??"").localeCompare(f??""):T-y}):l).map(p=>p[a]).filter(p=>null!=p);if(0===r.length)return o;switch(u.type){case"first":default:return r[0];case"last":return r[r.length-1];case"random":return r[Math.floor(Math.random()*r.length)];case"count":return String(r.length);case"join":return r.join(u.separator??", ");case"longest":return r.reduce((p,c)=>c.length>p.length?c:p);case"shortest":return r.reduce((p,c)=>c.length<p.length?c:p);case"sum":{const p=r.map(Number).filter(c=>!isNaN(c));return p.length?String(p.reduce((c,f)=>c+f,0)):t}case"avg":{const p=r.map(Number).filter(c=>!isNaN(c));return p.length?String(p.reduce((c,f)=>c+f,0)/p.length):t}case"min":{const p=r.map(Number).filter(c=>!isNaN(c));return p.length?String(Math.min(...p)):t}case"max":{const p=r.map(Number).filter(c=>!isNaN(c));return p.length?String(Math.max(...p)):t}case"mostRecent":return[...r].sort((c,f)=>G()(f).valueOf()-G()(c).valueOf())[0];case"oldest":return[...r].sort((c,f)=>G()(c).valueOf()-G()(f).valueOf())[0];case"map":{const{map:p}=u;return p[r[0]]??o}}}const oe=Object.keys({first:"First",last:"Last",random:"Random",join:"Concatenate",count:"Count",longest:"Longest text",shortest:"Shortest text",map:"Map lookup",sum:"Sum",avg:"Average",min:"Minimum",max:"Maximum",mostRecent:"Most recent date",oldest:"Oldest date"}),z=["first","last","random","join","count"],ie={text:[...z,"longest","shortest","map"],number:[...z,"sum","avg","min","max"],date:[...z,"mostRecent","oldest"]},ve={first:"components.sparqlTable.strategyFirst",last:"components.sparqlTable.strategyLast",random:"components.sparqlTable.strategyRandom",join:"components.sparqlTable.strategyJoin",count:"components.sparqlTable.strategyCount",longest:"components.sparqlTable.strategyLongest",shortest:"components.sparqlTable.strategyShortest",map:"components.sparqlTable.strategyMap",sum:"components.sparqlTable.strategySum",avg:"components.sparqlTable.strategyAvg",min:"components.sparqlTable.strategyMin",max:"components.sparqlTable.strategyMax",mostRecent:"components.sparqlTable.strategyMostRecent",oldest:"components.sparqlTable.strategyOldest"},De={first:"components.sparqlTable.strategyFirstDesc",last:"components.sparqlTable.strategyLastDesc",random:"components.sparqlTable.strategyRandomDesc",join:"components.sparqlTable.strategyJoinDesc",count:"components.sparqlTable.strategyCountDesc",longest:"components.sparqlTable.strategyLongestDesc",shortest:"components.sparqlTable.strategyShortestDesc",map:"components.sparqlTable.strategyMapDesc",sum:"components.sparqlTable.strategySumDesc",avg:"components.sparqlTable.strategyAvgDesc",min:"components.sparqlTable.strategyMinDesc",max:"components.sparqlTable.strategyMaxDesc",mostRecent:"components.sparqlTable.strategyMostRecentDesc",oldest:"components.sparqlTable.strategyOldestDesc"};var X=g(7573);const K=`PREFIX qcy: <${X.E.qcy}>\nPREFIX qcy-e: <${X.E["qcy-e"]}>\n\nSELECT ?subject\nWHERE {\n ?subject a qcy:CanonicalEntity ;\n qcy:hasEntityCategory qcy-e:Person .\n}`;class le{field;headerName;sortable;filter;editable;hide;minWidth;cellStyle;headerClass;query="";defType="data";calculatedFrom;evaluation;datatype;postProcess;strategy;valueKey;labelKey;formatter=void 0;constructor(u="",t=""){this.field=u,this.headerName=t}getFormatter=()=>{if(this.formatter)return this.formatter;if(this.strategy){const u=this.strategy;return t=>E(t,u,"")}return u=>Array.isArray(u)?u.map(t=>t?.val??"").filter(Boolean).join(", "):String(u??"")}}var Ce=g(4284);class Se{menuDisplaySettings=new Me;columnSelectSettings=new Re}class Me{hide=!0;buttonVariant="tertiary";buttonSize="s";showColumnSelect=!0;showDownload=!0}class Re{allowEditing=!0;allowToggleEditable=!0;allowToggleHideOnHover=!0;allowSettingTextAlign=!0;allowSettingLabel=!0}var Pe=g(222),A=g(6593);function w(i){const u=new A.Parser({sparqlStar:!0});try{return u.parse(i)}catch(t){if(-1!=t.toString().indexOf("SPARQL*"))return{type:"query",queryType:"CONSTRUCT",sparqlStar:!0};throw"Couldn't get query details: "+t.toString()}}class Ee{queryHandler=(0,C.A)(function*(){throw new Error("No query handler defined")})}var re=g(7089),e=g(5547);function Fe(i,u){if(1&i&&(e.j41(0,"span",1),e.EFF(1),e.k0s()),2&i){const t=e.XpG();e.Y8G("cueTooltip",t._tooltip()),e.R7$(),e.SpI("\xd7",t._allValues().length)}}let je=(()=>{class i{_displayValue=(0,s.vPA)("");_allValues=(0,s.vPA)([]);_tooltip=(0,s.vPA)("");agInit(t){this._apply(t)}refresh(t){return this._apply(t),!0}_apply(t){const a=t.value,n=Array.isArray(a)?a:null!=a?[a]:[],o=t.colDef?.cellRendererParams?.strategy,l=t.colDef?.cellRendererParams?.valueKey??"val",r=t.colDef?.cellRendererParams?.labelKey??l,p=n.map(f=>f[r]).filter(Boolean);this._allValues.set(p);const c=t.colDef?.cellRendererParams?.postProcess;this._displayValue.set((0,x.g4)(o?E(n,o):p[0]??"",c)),this._tooltip.set(p.map(f=>(0,x.g4)(f,c)).join("\n"))}static \u0275fac=function(a){return new(a||i)};static \u0275cmp=e.VBU({type:i,selectors:[["cue-multi-binding-cell-renderer"]],decls:3,vars:2,consts:[[1,"cell-value"],["cueTooltipPosition","bottomleft",1,"badge",3,"cueTooltip"]],template:function(a,n){1&a&&(e.j41(0,"span",0),e.EFF(1),e.k0s(),e.nVh(2,Fe,2,2,"span",1)),2&a&&(e.R7$(),e.JRh(n._displayValue()),e.R7$(),e.vxM(n._allValues().length>1?2:-1))},dependencies:[re.d],styles:["[_nghost-%COMP%]{display:flex;align-items:center;gap:4px;overflow:hidden;width:100%}.cell-value[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.badge[_ngcontent-%COMP%]{flex-shrink:0;font-size:10px;font-weight:600;background:var(--cue-color-blue, #2563eb);color:#fff;border-radius:8px;padding:0 5px;line-height:16px;cursor:default}"],changeDetection:0})}return i})();const ce=["template","formula","pipeline"],ue=["add","subtract","multiply","divide"],Ne={template:"components.sparqlTable.evalTypeTemplate",formula:"components.sparqlTable.evalTypeFormula",pipeline:"components.sparqlTable.evalTypePipeline"},ke={template:"components.sparqlTable.evalTypeTemplateDesc",formula:"components.sparqlTable.evalTypeFormulaDesc",pipeline:"components.sparqlTable.evalTypePipelineDesc"},qe={add:"components.sparqlTable.formulaOpAdd",subtract:"components.sparqlTable.formulaOpSubtract",multiply:"components.sparqlTable.formulaOpMultiply",divide:"components.sparqlTable.formulaOpDivide"};let V=(()=>{class i{_requestedColumns=[];_columnQueries={};emptyTableText=(0,s.vPA)("Building table");_columns=(0,s.vPA)([]);_columnsGross=(0,s.vPA)(void 0);_dataColumns=(0,s.vPA)(void 0);columnDefsGross=(0,_.EW)(()=>void 0===this._columnsGross()?this._columns():this._columnsGross());keyVals={};_handlers=(0,s.vPA)(new Ee);destroy(){this.keyVals={},this._requestedColumns=[],this._columnQueries={},this.fetchedColumns.update(()=>[])}resetData(){this.keyVals={},this._requestedColumns=[],this._columnQueries={},this.fetchedColumns.update(()=>[])}mergeColumnData(t,a,n){Object.entries(a).forEach(([o,l])=>{this.keyVals[o]||(this.keyVals[o]={}),void 0===this.keyVals[o][t]&&(this.keyVals[o][t]=l)}),this._requestedColumns.includes(t)||this._requestedColumns.push(t),this._columnQueries[t]=n,this.fetchedColumns.update(o=>[...o,t])}injectPreloadedData(t,a,n){this.keyVals=t,this._requestedColumns=[...a],this._columnQueries={...n},this.fetchedColumns.update(()=>[...a])}fetchedColumns=(0,s.vPA)([],{equal:(t,a)=>t.length===a.length});isLoading=(0,_.EW)(()=>this._columns().length>0&&this.fetchedColumns().length<this.totalQueryCount());totalQueryCount=(0,_.EW)(()=>{const t=new Set;for(const a of this._columns())"data"===a.defType&&!a.hide&&a.query&&t.add(a.field);return t.size});columnDefsAG=(0,_.EW)(()=>{const t=[];return this._columns().forEach(a=>{const n=a.getFormatter();if("calculated"===a.defType){const o=this._columns().filter(r=>"data"===r.defType).map(r=>r.field);if(Array.from(new Set(o)).every(r=>this.fetchedColumns().includes(r))){const r=a.formatter??n;t.push({colId:a.field,headerName:a.headerName,sortable:!0,filter:!0,...a.minWidth?{minWidth:a.minWidth}:{},valueGetter:p=>r(null,p.data)})}}else if("evaluation"===a.defType){const o=this._columns().filter(r=>"data"===r.defType).map(r=>r.field);if(Array.from(new Set(o)).every(r=>this.fetchedColumns().includes(r))&&a.evaluation){const r=a.evaluation,p=this._columns();t.push({colId:a.field,headerName:a.headerName,hide:a.hide,flex:1,sortable:!0,filter:!0,valueGetter:c=>{const f=c.data??{},h={};for(const y of p)if("data"===y.defType){const T=y.getFormatter();h[y.field]=(0,x.g4)(T(f[y.field]??[]),y.postProcess)}return function Ae(i,u,t="",a){switch(i.type){case"template":return i.template.replace(/\$\{([\w.-]+)\}/g,(n,o)=>u[o]??"").trim();case"formula":{const n=i.fields.map(o=>parseFloat(u[o])).filter(o=>!isNaN(o));if(0===n.length)return t;switch(i.op){case"add":return String(n.reduce((o,l)=>o+l,0));case"subtract":return String(n.reduce((o,l)=>o-l));case"multiply":return String(n.reduce((o,l)=>o*l,1));case"divide":return n.length<2||0===n[1]?t:String(n[0]/n[1])}return t}case"pipeline":{const{sources:n,transform:o,exclude:l,deduplicate:d,sort:r,limit:p,valueKey:c="val"}=i,f=i.separator??", ",h=i.fallback??t,y=new Set,T=[];for(const M of n){let D=(a?.[M]??[]).map(v=>v[c]??"").filter(v=>""!==v);o&&(D=D.map(v=>(0,x.w9)(o,v))),l?.length&&(D=D.filter(v=>!l.includes(v)));for(const v of D)d&&y.has(v)||(y.add(v),T.push(v))}r&&T.sort();const b=void 0!==p?T.slice(0,p):T;return 0===b.length?h:b.join(f)}}}(r,h,"",f)}})}}else{const o=!!a.strategy;t.push({field:a.field,headerName:a.headerName,hide:a.hide,flex:1,sortable:!0,filter:!0,...a.minWidth?{minWidth:a.minWidth}:{},...a.cellStyle?{cellStyle:a.cellStyle}:{},...a.headerClass?{headerClass:a.headerClass}:{},valueGetter:o?l=>l.data?.[a.field]??[]:l=>(0,x.g4)(n(l.data?.[a.field]??[]),a.postProcess),...o?{comparator:(l,d)=>{const r=Array.isArray(l)?l:[],p=Array.isArray(d)?d:[],c=(0,x.g4)(E(r,a.strategy,""),a.postProcess),f=(0,x.g4)(E(p,a.strategy,""),a.postProcess);return c.localeCompare(f)},cellRenderer:je,cellRendererParams:{strategy:a.strategy,valueKey:a.valueKey??"val",labelKey:a.labelKey,postProcess:a.postProcess}}:{}})}}),t});set columns(t){t.forEach(a=>{a.field&&void 0!==this._columnQueries[a.field]&&this._columnQueries[a.field]!==a.query&&(this._requestedColumns=this._requestedColumns.filter(n=>n!==a.field),Object.values(this.keyVals).forEach(n=>delete n[a.field]),this.fetchedColumns.update(n=>n.filter(o=>o!==a.field))),this._columnQueries[a.field]=a.query}),this._columns.set(t),this.buildTable()}set columnsGross(t){this._columnsGross.set(t)}set dataColumns(t){this._dataColumns.set(t)}set handlers(t){this._handlers.set(t)}get visibleColumns(){return this._columns}buildTable(){var t=this;return(0,C.A)(function*(){const a=t._columns(),n=t._dataColumns(),o=a.filter(r=>"data"===r.defType&&!r.hide),l=n?.filter(r=>"data"===r.defType&&!r.hide);if(!o.length&&!l?.length)return void((a.length>0||(n?.length??0)>0)&&t.emptyTableText.set("No data columns defined"));t.emptyTableText.set("Building table...");const d=[];o.forEach(r=>{d.push(t.fetchColumnData(r))}),l?.forEach(r=>{d.push(t.fetchColumnData(r))}),yield Promise.all(d),t.emptyTableText.set("Table data downloaded")})()}fetchColumnData(t){var a=this;return(0,C.A)(function*(){if(a._requestedColumns.includes(t.field))return;a._requestedColumns.push(t.field);const n=w(t.query),o=yield a._handlers().queryHandler(t.query,n),l=new Set;o.results.bindings.forEach(d=>{const r=d.subject?.value,p=Object.keys(d).filter(f=>"subject"!==f),c={};p.forEach(f=>{const h=d[f]?.value;Object.keys(a.keyVals).includes(r)||(a.keyVals[r]={}),void 0===a.keyVals[r][t.field]&&(a.keyVals[r][t.field]=[]),c[f]=h}),a.keyVals[r][t.field].push(c),l.add(r)}),a.fetchedColumns.update(d=>[...d,t.field])})()}static \u0275fac=function(a){return new(a||i)};static \u0275prov=s.jDH({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),W=(()=>{class i{_isUpdating=!1;_pendingUpdate=!1;_dataFetchService=(0,s.WQX)(V);tableData=(0,s.vPA)([]);destroy(){this.tableData.update(()=>[])}onProcessedColumn=(0,s.QZP)((()=>{var t=this;return(0,C.A)(function*(){t._dataFetchService.fetchedColumns(),yield t._debouncedUpdateTableData()})})());_debouncedUpdateTableData(){var t=this;return(0,C.A)(function*(){t._isUpdating?t._pendingUpdate=!0:(t._isUpdating=!0,yield t._updateTableData(),t._isUpdating=!1,t._pendingUpdate&&(t._pendingUpdate=!1,yield t._debouncedUpdateTableData()))})()}_updateTableData(){var t=this;return(0,C.A)(function*(){return new Promise(a=>{const n={},o=Object.keys(t._dataFetchService.keyVals),l=[],d=t._dataFetchService.visibleColumns().map(p=>p.field);let r=!1;for(let p=0;p<o.length;p++){const c=o[p],f={};if(f.id=c,Object.keys(t._dataFetchService.keyVals[c]).forEach(h=>{Object.keys(n).includes(h)||(n[h]=0),f[h]=t._dataFetchService.keyVals[c][h]??[],""!==f[h]&&n[h]++}),l.push(f),!r&&9===p){let h=!0;for(const y of d)if(typeof f[y]>"u"){h=!1;break}h&&(t.tableData.update(()=>[...l]),r=!0)}}t.tableData.update(()=>l),a()})})()}static \u0275fac=function(a){return new(a||i)};static \u0275prov=s.jDH({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var k=g(2245),q=g(5381),Ie=g(2611);function Le(i,u){if(1&i&&e.nrm(0,"cue-typography",1),2&i){const t=e.XpG();e.Y8G("innerHTML",t.instructions(),e.npT)}}let Ge=(()=>{class i{tableService=(0,s.WQX)(W);dataFetchService=(0,s.WQX)(V);handlers=m.hFB.required();columns=(0,m.geq)([]);columnsGross=(0,m.hFB)();dataColumns=(0,m.hFB)();showInstructions=(0,m.hFB)(!1);showPaginator=(0,m.hFB)(!0);paginationPageSize=(0,m.hFB)(10);settings=(0,m.hFB)(new Se);emptyTableText=(0,m.geq)("Building table");loading=(0,m.hFB)(!1);clickableRows=(0,m.hFB)(!1);useAGGrid=(0,m.hFB)(!1);size=(0,m.hFB)("m");clickedRow=(0,m.CGW)();hoveredRow=(0,m.CGW)();tableDataUpdated=(0,m.CGW)();gridApi=(0,m.CGW)();visibleRows=(0,m.CGW)();columnDefsAG=(0,m.CGW)();onAGColumnDefs=(0,s.QZP)(()=>{const t=this.dataFetchService.columnDefsAG();this.columnDefsAG.emit(t)});onTableDataChange=(0,s.QZP)(()=>{this.tableDataUpdated.emit(this.tableService.tableData())});onHandlersChange=(0,s.QZP)(()=>{this.dataFetchService.handlers=this.handlers()});onColumnsChange=(0,s.QZP)(()=>{this.dataFetchService.columns=this.columns()});onColumnsGrossChange=(0,s.QZP)(()=>{this.dataFetchService.columnsGross=this.columnsGross()});onDataColumnsChange=(0,s.QZP)(()=>{this.dataFetchService.dataColumns=this.dataColumns()});onEmptyTableTextChange=(0,s.QZP)(()=>{this.emptyTableText.set(this.emptyTableText())});_onGridApiReady(t){this.gridApi.emit(t),t.addEventListener("columnVisible",a=>{a.visible&&(a.columns??(a.column?[a.column]:[])).forEach(o=>{const l=o.getColId(),d=this.columns().find(r=>r.field===l);d&&this.dataFetchService.fetchColumnData(d)})})}instructions=(0,s.vPA)("");buildInstructions=(0,s.QZP)((()=>{var t=this;return(0,C.A)(function*(){if(t.showInstructions()){const a=yield(0,Pe.xI)('The component takes an array of SPARQL table columns. It is an extension of the regular table that adds a query to the column definition and restricts the formatter to always start with an array of values that should be converted to a string value (per default by comma joining).\n\nThere are some requirements for the SPARQL query:\n\n- Must be a SELECT query \n- Must use variable `?subject` to bind to the row identifier\n- No grouping needed since the component automatically groups by key and returns the remaining bindings as an array\n\nExample query:\n\n```sparql\nSELECT ?subject ?val \nWHERE { \n ?subject qcy:entityCategory qcy-e:Space ;\n qcy:hasProperty [\n qcy:label "LongName" ;\n qcy:value ?val\n ]\n}\n```\n\nThis query will outputs for the formatter in the following form (in this case with two bindings to the key/val):\n\n```json\n[{"val": "Room 101"}, {"val": "Room 01"}]\n```\n\nThese can then be used in a simple formatter that simply returns the first value or a - in case there are no bindings:\n\n```typescript\n(row) => row[0]?.val ?? \'-\'\n```\n\nLet\'s imagine that we instead had a query that would return bindings on the variables *?val* and *?score* and return bindings like this:\n\n```json\n[{"val": "Room 101", "score": "1"}, {"val": "Room 01", "score": "0.9"}]\n```\n\nA formatter could then take the highest score value:\n\n```typescript\n(row) => {\n const maxScore = 0;\n let val = "";\n row.forEach(r => {\n if(parseFloat(r.score) > maxScore) {\n maxScore = parseFloat(r.score);\n val = r.val;\n }\n });\n return val;\n}\n```\n\nThe formatter can also be more advanced and for example first format the values as dates using a library like DayJS before taking the most recent.\n');t.instructions.set(a)}})})());ngOnDestroy(){this.tableService.destroy(),this.dataFetchService.destroy()}static \u0275fac=function(a){return new(a||i)};static \u0275cmp=e.VBU({type:i,selectors:[["cue-sparql-table-inner"]],inputs:{handlers:[1,"handlers"],columns:[1,"columns"],columnsGross:[1,"columnsGross"],dataColumns:[1,"dataColumns"],showInstructions:[1,"showInstructions"],showPaginator:[1,"showPaginator"],paginationPageSize:[1,"paginationPageSize"],settings:[1,"settings"],emptyTableText:[1,"emptyTableText"],loading:[1,"loading"],clickableRows:[1,"clickableRows"],useAGGrid:[1,"useAGGrid"],size:[1,"size"]},outputs:{columns:"columnsChange",emptyTableText:"emptyTableTextChange",clickedRow:"clickedRow",hoveredRow:"hoveredRow",tableDataUpdated:"tableDataUpdated",gridApi:"gridApi",visibleRows:"visibleRows",columnDefsAG:"columnDefsAG"},decls:3,vars:8,consts:[["direction","column","gap","xl"],[3,"innerHTML"],[3,"gridApiReady","visibleRows","size","rowData","columnDefs","showPaginator","paginationPageSize","noRowsText","loading"]],template:function(a,n){1&a&&(e.j41(0,"cue-flexcontainer",0),e.nVh(1,Le,1,1,"cue-typography",1),e.j41(2,"cue-ag-grid",2),e.bIt("gridApiReady",function(l){return n._onGridApiReady(l)})("visibleRows",function(l){return n.visibleRows.emit(l)}),e.k0s()()),2&a&&(e.R7$(),e.vxM(n.showInstructions()?1:-1),e.R7$(),e.Y8G("size",n.size())("rowData",n.tableService.tableData())("columnDefs",n.dataFetchService.columnDefsAG())("showPaginator",n.showPaginator())("paginationPageSize",n.paginationPageSize())("noRowsText",n.dataFetchService.emptyTableText())("loading",n.loading()||n.dataFetchService.isLoading()))},dependencies:[k.Typography,q.n,Ie.R],encapsulation:2,changeDetection:0})}return i})();var Ve=g(9079),Q=g(9352),de=g(63),pe=g(8957),Y=g(5971),_e=g(3319),fe=g(836),U=g(1096),me=g(5448),Qe=g(2014);const H=(i,u)=>u.field;function $e(i,u){if(1&i&&(e.j41(0,"cue-typography",6),e.EFF(1),e.k0s()),2&i){const t=e.XpG(2);e.R7$(),e.SpI(" ",t._queryError()," ")}}function Be(i,u){if(1&i){const t=e.RV6();e.j41(0,"cue-button",17),e.bIt("click",function(){s.eBV(t);const n=e.XpG(2);return s.Njj(n.discardQuery())}),e.nrm(1,"cue-button-padder"),e.j41(2,"cue-button-label"),e.EFF(3),e.nI1(4,"transloco"),e.k0s(),e.nrm(5,"cue-button-padder"),e.k0s()}2&i&&(e.R7$(3),e.JRh(e.bMT(4,1,"components.sparqlTable.labelDiscard")))}function ze(i,u){1&i&&(e.j41(0,"cue-typography",11),e.EFF(1),e.nI1(2,"transloco"),e.k0s()),2&i&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"components.sparqlTable.labelQueryPending")," "))}function Xe(i,u){if(1&i&&(e.j41(0,"cue-typography",6),e.EFF(1),e.k0s()),2&i){const t=e.XpG(2);e.R7$(),e.SpI(" ",t._testError()," ")}}function Ke(i,u){if(1&i&&(e.j41(0,"cue-typography",19),e.EFF(1),e.k0s()),2&i){const t=u.$implicit;e.R7$(),e.JRh(t)}}function We(i,u){if(1&i&&(e.j41(0,"cue-typography",18),e.EFF(1),e.nI1(2,"transloco"),e.k0s(),e.Z7z(3,Ke,2,1,"cue-typography",19,e.Vm6)),2&i){const t=e.XpG(2);e.R7$(),e.JRh(e.bMT(2,1,"components.sparqlTable.labelTestResults")),e.R7$(2),e.Dyx(t._testRows())}}function Ye(i,u){if(1&i){const t=e.RV6();e.j41(0,"cue-input",20),e.nI1(1,"transloco"),e.bIt("valueChange",function(n){s.eBV(t);const o=e.XpG(2);return s.Njj(o._strategySeparator.set(n))}),e.k0s()}if(2&i){const t=e.XpG(2);e.Y8G("label",e.bMT(1,2,"components.sparqlTable.labelSeparator"))("value",t._strategySeparator())}}function Ue(i,u){if(1&i){const t=e.RV6();e.j41(0,"cue-input",20),e.nI1(1,"transloco"),e.bIt("valueChange",function(n){s.eBV(t);const o=e.XpG(2);return s.Njj(o._strategyValueKey.set(n))}),e.k0s()}if(2&i){const t=e.XpG(2);e.Y8G("label",e.bMT(1,2,"components.sparqlTable.labelValueKey"))("value",t._strategyValueKey())}}function He(i,u){if(1&i){const t=e.RV6();e.j41(0,"cue-input",16),e.nI1(1,"transloco"),e.nI1(2,"transloco"),e.bIt("valueChange",function(n){s.eBV(t);const o=e.XpG(2);return o._strategyPriorityKey.set(n),s.Njj(o._applyStrategyChange())}),e.k0s()}if(2&i){const t=e.XpG(2);e.Y8G("label",e.bMT(1,3,"components.sparqlTable.labelPriorityKey"))("info",e.bMT(2,5,"components.sparqlTable.tooltipPriorityKey"))("value",t._strategyPriorityKey())}}function Je(i,u){if(1&i&&(e.j41(0,"cue-typography",6),e.EFF(1),e.k0s()),2&i){const t=e.XpG(3);e.R7$(),e.SpI(" ",t._strategyMapError()," ")}}function Ze(i,u){if(1&i){const t=e.RV6();e.j41(0,"cue-typography",3),e.nI1(1,"transloco"),e.EFF(2),e.nI1(3,"transloco"),e.k0s(),e.j41(4,"div",21)(5,"cue-code-editor",22),e.bIt("contentChanged",function(n){s.eBV(t);const o=e.XpG(2);return s.Njj(o._onMapJsonChanged(n))}),e.k0s()(),e.nVh(6,Je,2,1,"cue-typography",6)}if(2&i){const t=e.XpG(2);e.Y8G("info",e.bMT(1,4,"components.sparqlTable.tooltipMapJson")),e.R7$(2),e.SpI(" ",e.bMT(3,6,"components.sparqlTable.labelMapJson")," "),e.R7$(3),e.Y8G("content",t._strategyMapJson()),e.R7$(),e.vxM(t._strategyMapError()?6:-1)}}function et(i,u){if(1&i&&(e.j41(0,"cue-typography",6),e.EFF(1),e.k0s()),2&i){const t=e.XpG(2);e.R7$(),e.SpI(" ",t._strategyPreProcessError()," ")}}function tt(i,u){if(1&i){const t=e.RV6();e.j41(0,"cue-typography",3),e.nI1(1,"transloco"),e.EFF(2),e.nI1(3,"transloco"),e.k0s(),e.j41(4,"div",4)(5,"cue-code-editor",5),e.bIt("contentChanged",function(n){s.eBV(t);const o=e.XpG();return s.Njj(o.onQueryChanged(n))}),e.k0s()(),e.nVh(6,$e,2,1,"cue-typography",6),e.j41(7,"cue-flexcontainer",7),e.nVh(8,Be,6,3,"cue-button",8),e.j41(9,"cue-button",9),e.bIt("click",function(){s.eBV(t);const n=e.XpG();return s.Njj(n.testQuery())}),e.nrm(10,"cue-button-padder")(11,"cue-button-icon",10),e.j41(12,"cue-button-label"),e.EFF(13),e.nI1(14,"transloco"),e.k0s(),e.nrm(15,"cue-button-padder"),e.k0s()(),e.nVh(16,ze,3,3,"cue-typography",11),e.nVh(17,Xe,2,1,"cue-typography",6),e.nVh(18,We,5,3),e.j41(19,"cue-select",2),e.nI1(20,"transloco"),e.bIt("valueChange",function(n){s.eBV(t);const o=e.XpG();return s.Njj(o.setDatatype(n))}),e.k0s(),e.j41(21,"cue-select",12),e.nI1(22,"transloco"),e.nI1(23,"transloco"),e.bIt("valueChange",function(n){s.eBV(t);const o=e.XpG();return s.Njj(o.setStrategyType(n))}),e.k0s(),e.j41(24,"cue-typography",13),e.EFF(25),e.k0s(),e.nVh(26,Ye,2,4,"cue-input",14),e.nVh(27,Ue,2,4,"cue-input",14),e.nVh(28,He,3,7,"cue-input",15),e.nVh(29,Ze,7,8),e.j41(30,"cue-input",16),e.nI1(31,"transloco"),e.nI1(32,"transloco"),e.bIt("valueChange",function(n){s.eBV(t);const o=e.XpG();return o._strategyPreProcess.set(n),s.Njj(o._applyStrategyChange())}),e.k0s(),e.nVh(33,et,2,1,"cue-typography",6),e.j41(34,"cue-input",16),e.nI1(35,"transloco"),e.nI1(36,"transloco"),e.bIt("valueChange",function(n){s.eBV(t);const o=e.XpG();return o._strategyFallback.set(n),s.Njj(o._applyStrategyChange())}),e.k0s()}if(2&i){const t=e.XpG();e.Y8G("info",e.bMT(1,31,"components.sparqlTable.tooltipQuery")),e.R7$(2),e.JRh(e.bMT(3,33,"components.sparqlTable.labelQuery")),e.R7$(3),e.Y8G("content",t.query()),e.R7$(),e.vxM(t._queryError()?6:-1),e.R7$(2),e.vxM(t._queryDirty()?8:-1),e.R7$(),e.Y8G("disabled",!!t._queryError()),e.R7$(4),e.JRh(e.bMT(14,35,"components.sparqlTable.labelTest")),e.R7$(3),e.vxM(t._queryDirty()&&!t._queryError()?16:-1),e.R7$(),e.vxM(t._testError()?17:-1),e.R7$(),e.vxM(t._testRows().length>0?18:-1),e.R7$(),e.Y8G("label",e.bMT(20,37,"components.sparqlTable.labelDatatype"))("value",t._datatype()??"")("options",t.datatypeOptions)("labelMap",t.datatypeLabelMap()),e.R7$(2),e.Y8G("label",e.bMT(22,39,"components.sparqlTable.labelStrategy"))("info",e.bMT(23,41,"components.sparqlTable.tooltipStrategy"))("value",t._strategyType())("options",t.availableStrategyTypes())("labelMap",t.strategyLabelMap()),e.R7$(4),e.JRh(t._strategyDescription()),e.R7$(),e.vxM(t._strategyNeedsSeparator()?26:-1),e.R7$(),e.vxM(t._strategyNeedsValueKey()?27:-1),e.R7$(),e.vxM(t._strategyNeedsPriorityKey()?28:-1),e.R7$(),e.vxM(t._strategyNeedsMap()?29:-1),e.R7$(),e.Y8G("label",e.bMT(31,43,"components.sparqlTable.labelPreProcess"))("info",e.bMT(32,45,"components.sparqlTable.tooltipPreProcess"))("value",t._strategyPreProcess()),e.R7$(3),e.vxM(t._strategyPreProcessError()?33:-1),e.R7$(),e.Y8G("label",e.bMT(35,47,"components.sparqlTable.labelFallback"))("info",e.bMT(36,49,"components.sparqlTable.tooltipFallback"))("value",t._strategyFallback())}}function nt(i,u){if(1&i){const t=e.RV6();e.j41(0,"span",26),e.bIt("click",function(){const n=s.eBV(t).$implicit,o=e.XpG(4);return s.Njj(o._insertFieldIntoTemplate(n.field))}),e.EFF(1),e.k0s()}if(2&i){const t=u.$implicit;e.Y8G("title",t.headerName),e.R7$(),e.JRh(t.token)}}function at(i,u){if(1&i&&(e.j41(0,"cue-typography",13),e.EFF(1),e.nI1(2,"transloco"),e.k0s(),e.j41(3,"cue-flexcontainer",24),e.Z7z(4,nt,2,2,"span",25,H),e.k0s()),2&i){const t=e.XpG(3);e.R7$(),e.SpI(" ",e.bMT(2,1,"components.sparqlTable.labelAvailableFields")," "),e.R7$(3),e.Dyx(t._dataColumnFields())}}function ot(i,u){if(1&i){const t=e.RV6();e.j41(0,"cue-input",16),e.nI1(1,"transloco"),e.nI1(2,"transloco"),e.bIt("valueChange",function(n){s.eBV(t);const o=e.XpG(2);return o._evalTemplate.set(n),s.Njj(o._applyEvaluation())}),e.k0s(),e.nVh(3,at,6,3)}if(2&i){const t=e.XpG(2);e.Y8G("label",e.bMT(1,4,"components.sparqlTable.labelEvalTemplate"))("info",e.bMT(2,6,"components.sparqlTable.tooltipEvalTemplate"))("value",t._evalTemplate()),e.R7$(3),e.vxM(t._dataColumnFields().length?3:-1)}}function it(i,u){if(1&i){const t=e.RV6();e.j41(0,"span",26),e.bIt("click",function(){const n=s.eBV(t).$implicit,o=e.XpG(3);return s.Njj(o._toggleFormulaField(n.field))}),e.EFF(1),e.k0s()}if(2&i){const t=u.$implicit,a=e.XpG(3);e.AVh("field-chip--active",a._formulaFields().includes(t.field)),e.Y8G("title",t.field),e.R7$(),e.JRh(t.headerName)}}function lt(i,u){if(1&i&&(e.j41(0,"span",30),e.EFF(1),e.k0s()),2&i){const t=e.XpG(5);e.R7$(),e.JRh(t._formulaOpSymbol())}}function st(i,u){if(1&i&&(e.j41(0,"span",29),e.EFF(1),e.k0s(),e.nVh(2,lt,2,1,"span",30)),2&i){const t=u.$implicit,a=u.$index,n=u.$count,o=e.XpG(4);e.R7$(),e.JRh(o._fieldLabel(t)),e.R7$(),e.vxM(a!==n-1?2:-1)}}function rt(i,u){if(1&i&&(e.j41(0,"cue-flexcontainer",28),e.Z7z(1,st,3,2,null,null,e.fX1),e.k0s()),2&i){const t=e.XpG(3);e.R7$(),e.Dyx(t._formulaFields())}}function ct(i,u){if(1&i){const t=e.RV6();e.j41(0,"cue-select",2),e.nI1(1,"transloco"),e.bIt("valueChange",function(n){s.eBV(t);const o=e.XpG(2);return s.Njj(o.setFormulaOp(n))}),e.k0s(),e.j41(2,"cue-typography",13),e.EFF(3),e.nI1(4,"transloco"),e.k0s(),e.j41(5,"cue-flexcontainer",24),e.Z7z(6,it,2,4,"span",27,H),e.k0s(),e.nVh(8,rt,3,0,"cue-flexcontainer",28)}if(2&i){const t=e.XpG(2);e.Y8G("label",e.bMT(1,6,"components.sparqlTable.labelFormulaOp"))("value",t._formulaOp())("options",t.formulaOpOptions)("labelMap",t.formulaOpLabelMap()),e.R7$(3),e.SpI(" ",e.bMT(4,8,"components.sparqlTable.labelFormulaFields")," "),e.R7$(3),e.Dyx(t._dataColumnFields()),e.R7$(2),e.vxM(t._formulaFields().length?8:-1)}}function ut(i,u){if(1&i&&(e.j41(0,"cue-typography",23),e.EFF(1),e.nI1(2,"transloco"),e.k0s()),2&i){const t=e.XpG(2);e.R7$(),e.Lme(" ",e.bMT(2,2,"components.sparqlTable.labelEvalPreview"),": ",t._evalPreview()," ")}}function dt(i,u){if(1&i){const t=e.RV6();e.j41(0,"span",26),e.bIt("click",function(){const n=s.eBV(t).$implicit,o=e.XpG(3);return s.Njj(o._togglePipelineSource(n.field))}),e.EFF(1),e.k0s()}if(2&i){const t=u.$implicit,a=e.XpG(3);e.AVh("field-chip--active",a._pipelineSources().includes(t.field)),e.Y8G("title",t.field),e.R7$(),e.JRh(t.headerName)}}function pt(i,u){if(1&i&&(e.j41(0,"cue-typography",11),e.EFF(1),e.nI1(2,"transloco"),e.k0s()),2&i){const t=e.XpG(3);e.R7$(),e.Lme(" ",e.bMT(2,2,"components.sparqlTable.labelPipelineSourceOrder"),": ",t._pipelineSources().join(" \u2192 ")," ")}}function _t(i,u){if(1&i&&(e.j41(0,"cue-typography",6),e.EFF(1),e.k0s()),2&i){const t=e.XpG(3);e.R7$(),e.JRh(t._pipelineTransformError())}}function ft(i,u){if(1&i&&(e.j41(0,"cue-typography",6),e.EFF(1),e.k0s()),2&i){const t=e.XpG(3);e.R7$(),e.JRh(t._pipelineExcludeError())}}function mt(i,u){if(1&i){const t=e.RV6();e.j41(0,"cue-typography",3),e.nI1(1,"transloco"),e.EFF(2),e.nI1(3,"transloco"),e.k0s(),e.j41(4,"cue-flexcontainer",24),e.Z7z(5,dt,2,4,"span",27,H),e.k0s(),e.nVh(7,pt,3,4,"cue-typography",11),e.j41(8,"cue-input",16),e.nI1(9,"transloco"),e.nI1(10,"transloco"),e.bIt("valueChange",function(n){s.eBV(t);const o=e.XpG(2);return o._pipelineTransform.set(n),s.Njj(o._applyEvaluation())}),e.k0s(),e.nVh(11,_t,2,1,"cue-typography",6),e.j41(12,"cue-input",16),e.nI1(13,"transloco"),e.nI1(14,"transloco"),e.bIt("valueChange",function(n){s.eBV(t);const o=e.XpG(2);return o._pipelineLimit.set(n),s.Njj(o._applyEvaluation())}),e.k0s(),e.j41(15,"cue-input",20),e.nI1(16,"transloco"),e.bIt("valueChange",function(n){s.eBV(t);const o=e.XpG(2);return o._pipelineSeparator.set(n),s.Njj(o._applyEvaluation())}),e.k0s(),e.j41(17,"cue-input",16),e.nI1(18,"transloco"),e.nI1(19,"transloco"),e.bIt("valueChange",function(n){s.eBV(t);const o=e.XpG(2);return o._pipelineFallback.set(n),s.Njj(o._applyEvaluation())}),e.k0s(),e.j41(20,"cue-flexcontainer",31)(21,"label",32)(22,"input",33),e.bIt("change",function(){s.eBV(t);const n=e.XpG(2);return n._pipelineDeduplicate.set(!n._pipelineDeduplicate()),s.Njj(n._applyEvaluation())}),e.k0s(),e.EFF(23),e.nI1(24,"transloco"),e.k0s(),e.j41(25,"label",32)(26,"input",33),e.bIt("change",function(){s.eBV(t);const n=e.XpG(2);return n._pipelineSort.set(!n._pipelineSort()),s.Njj(n._applyEvaluation())}),e.k0s(),e.EFF(27),e.nI1(28,"transloco"),e.k0s()(),e.j41(29,"cue-typography",3),e.nI1(30,"transloco"),e.EFF(31),e.nI1(32,"transloco"),e.k0s(),e.j41(33,"div",34)(34,"cue-code-editor",22),e.bIt("contentChanged",function(n){s.eBV(t);const o=e.XpG(2);return s.Njj(o._onPipelineExcludeChanged(n))}),e.k0s()(),e.nVh(35,ft,2,1,"cue-typography",6)}if(2&i){const t=e.XpG(2);e.Y8G("info",e.bMT(1,23,"components.sparqlTable.tooltipPipelineSources")),e.R7$(2),e.SpI(" ",e.bMT(3,25,"components.sparqlTable.labelPipelineSources")," "),e.R7$(3),e.Dyx(t._dataColumnFields()),e.R7$(2),e.vxM(t._pipelineSources().length>1?7:-1),e.R7$(),e.Y8G("label",e.bMT(9,27,"components.sparqlTable.labelPipelineTransform"))("info",e.bMT(10,29,"components.sparqlTable.tooltipPipelineTransform"))("value",t._pipelineTransform()),e.R7$(3),e.vxM(t._pipelineTransformError()?11:-1),e.R7$(),e.Y8G("label",e.bMT(13,31,"components.sparqlTable.labelPipelineLimit"))("info",e.bMT(14,33,"components.sparqlTable.tooltipPipelineLimit"))("value",t._pipelineLimit()),e.R7$(3),e.Y8G("label",e.bMT(16,35,"components.sparqlTable.labelSeparator"))("value",t._pipelineSeparator()),e.R7$(2),e.Y8G("label",e.bMT(18,37,"components.sparqlTable.labelFallback"))("info",e.bMT(19,39,"components.sparqlTable.tooltipFallback"))("value",t._pipelineFallback()),e.R7$(5),e.Y8G("checked",t._pipelineDeduplicate()),e.R7$(),e.SpI(" ",e.bMT(24,41,"components.sparqlTable.labelPipelineDeduplicate")," "),e.R7$(3),e.Y8G("checked",t._pipelineSort()),e.R7$(),e.SpI(" ",e.bMT(28,43,"components.sparqlTable.labelPipelineSort")," "),e.R7$(2),e.Y8G("info",e.bMT(30,45,"components.sparqlTable.tooltipPipelineExclude")),e.R7$(2),e.SpI(" ",e.bMT(32,47,"components.sparqlTable.labelPipelineExclude")," "),e.R7$(3),e.Y8G("content",t._pipelineExcludeJson()),e.R7$(),e.vxM(t._pipelineExcludeError()?35:-1)}}function gt(i,u){if(1&i){const t=e.RV6();e.j41(0,"cue-select",2),e.nI1(1,"transloco"),e.bIt("valueChange",function(n){s.eBV(t);const o=e.XpG();return s.Njj(o.setEvalType(n))}),e.k0s(),e.j41(2,"cue-typography",13),e.EFF(3),e.k0s(),e.nVh(4,ot,4,8),e.nVh(5,ct,9,10),e.nVh(6,ut,3,4,"cue-typography",23),e.nVh(7,mt,36,49)}if(2&i){const t=e.XpG();e.Y8G("label",e.bMT(1,9,"components.sparqlTable.labelEvalType"))("value",t._evalType())("options",t.evaluationTypeOptions)("labelMap",t.evaluationTypeLabelMap()),e.R7$(3),e.JRh(t._evalTypeDescription()),e.R7$(),e.vxM("template"===t._evalType()?4:-1),e.R7$(),e.vxM("formula"===t._evalType()?5:-1),e.R7$(),e.vxM(t._evalPreview()?6:-1),e.R7$(),e.vxM("pipeline"===t._evalType()?7:-1)}}const ht=["join"],ge=["sum","avg","min","max","mostRecent","oldest","longest","shortest"],he=["first","last","sum","avg","min","max","mostRecent","oldest","longest","shortest"],yt=["map"],ye=["text","number","date"],bt=Object.assign(new U.e,{});let vt=(()=>{class i{columnDef=m.geq.required();handlers=(0,m.hFB)();columns=(0,m.hFB)([]);close=(0,m.CGW)();updateColumnDef=(0,m.CGW)();agGridSettings=bt;_transloco=(0,s.WQX)(Q.JO);_lang=(0,Ve.ot)(this._transloco.langChanges$,{initialValue:this._transloco.getActiveLang()});columnTypeOptions=["data","evaluation"];columnTypeLabelMap=(0,_.EW)(()=>(this._lang(),{data:this._transloco.translate("components.sparqlTable.columnTypeData"),evaluation:this._transloco.translate("components.sparqlTable.columnTypeEvaluation")}));_defType=(0,_.uu)(()=>"evaluation"===this.columnDef().defType?"evaluation":"data");setDefType(t){const a=t;if(this._defType.set(a),"evaluation"===a){const o=this.columnDef().evaluation??{type:"template",template:""};this.updateColumnDef.emit({defType:"evaluation",evaluation:o})}else this.updateColumnDef.emit({defType:"data"})}_evalType=(0,_.uu)(()=>this.columnDef().evaluation?.type??"template");_evalTemplate=(0,_.uu)(()=>{const t=this.columnDef().evaluation;return"template"===t?.type?t.template:""});_formulaOp=(0,_.uu)(()=>{const t=this.columnDef().evaluation;return"formula"===t?.type?t.op:"add"});_formulaFields=(0,_.uu)(()=>{const t=this.columnDef().evaluation;return"formula"===t?.type?[...t.fields]:[]});_pipelineSources=(0,_.uu)(()=>{const t=this.columnDef().evaluation;return"pipeline"===t?.type?[...t.sources]:[]});_pipelineTransform=(0,_.uu)(()=>{const t=this.columnDef().evaluation;return"pipeline"===t?.type?t.transform??"":""});_pipelineLimit=(0,_.uu)(()=>{const t=this.columnDef().evaluation;return"pipeline"===t?.type?String(t.limit??""):""});_pipelineSeparator=(0,_.uu)(()=>{const t=this.columnDef().evaluation;return"pipeline"===t?.type?t.separator??", ":", "});_pipelineFallback=(0,_.uu)(()=>{const t=this.columnDef().evaluation;return"pipeline"===t?.type?t.fallback??"":""});_pipelineDeduplicate=(0,_.uu)(()=>{const t=this.columnDef().evaluation;return"pipeline"===t?.type&&(t.deduplicate??!1)});_pipelineSort=(0,_.uu)(()=>{const t=this.columnDef().evaluation;return"pipeline"===t?.type&&(t.sort??!1)});_pipelineExcludeJson=(0,_.uu)(()=>{const t=this.columnDef().evaluation,a="pipeline"===t?.type?t.exclude??[]:[];try{return JSON.stringify(a,null,2)}catch{return"[]"}});_pipelineExcludeError=(0,s.vPA)("");_pipelineExcludeParsed=(0,s.vPA)([]);_pipelineTransformError=(0,_.EW)(()=>{const t=this._pipelineTransform();if(t)return(0,x.NF)(t)??void 0});evaluationTypeOptions=ce;evaluationTypeLabelMap=(0,_.EW)(()=>(this._lang(),Object.fromEntries(ce.map(t=>[t,this._transloco.translate(Ne[t])]))));_evalTypeDescription=(0,_.EW)(()=>(this._lang(),this._transloco.translate(ke[this._evalType()])));formulaOpOptions=ue;formulaOpLabelMap=(0,_.EW)(()=>(this._lang(),Object.fromEntries(ue.map(t=>[t,this._transloco.translate(qe[t])]))));_dataColumnFields=(0,_.EW)(()=>this.columns().filter(t=>"data"===t.defType&&t.field!==this.columnDef().field).map(t=>({field:t.field,headerName:t.headerName??t.field,token:"${"+t.field+"}"})));_evalPreview=(0,_.EW)(()=>{if("template"===this._evalType()){const t=this._evalTemplate();return t?t.replace(/\$\{([\w.-]+)\}/g,(a,n)=>`[${n}]`):""}if("formula"===this._evalType()){const t=this._formulaFields(),a=this._formulaOp();return 0===t.length?"":t.join(` ${{add:"+",subtract:"\u2212",multiply:"\xd7",divide:"\xf7"}[a]} `)}if("pipeline"===this._evalType()){const t=this._pipelineSources(),a=this._pipelineTransform(),n=this._pipelineLimit();if(0===t.length)return"";const o=[`sources: [${t.join(", ")}]`];return a&&o.push(`transform: ${a}`),this._pipelineDeduplicate()&&o.push("deduplicate"),this._pipelineSort()&&o.push("sort"),n&&o.push(`limit: ${n}`),o.join(" | ")}return""});setEvalType(t){if(t){if(this._evalType.set(t),"pipeline"===t&&0===this._pipelineSources().length){const a=this._dataColumnFields()[0];a&&this._pipelineSources.set([a.field])}this._applyEvaluation()}}setFormulaOp(t){t&&(this._formulaOp.set(t),this._applyEvaluation())}_toggleFormulaField(t){const a=this._formulaFields(),n=a.includes(t)?a.filter(o=>o!==t):[...a,t];this._formulaFields.set(n),this._applyEvaluation()}_fieldLabel(t){return this._dataColumnFields().find(a=>a.field===t)?.headerName??t}_formulaOpSymbol=(0,_.EW)(()=>({add:"+",subtract:"\u2212",multiply:"\xd7",divide:"\xf7"}[this._formulaOp()]));_insertFieldIntoTemplate(t){const a=this._evalTemplate();this._evalTemplate.set(a+`\${${t}}`),this._applyEvaluation()}_togglePipelineSource(t){const a=this._pipelineSources(),n=a.includes(t)?a.filter(o=>o!==t):[...a,t];this._pipelineSources.set(n),this._applyEvaluation()}_applyEvaluation(){let t;if("template"===this._evalType())t={type:"template",template:this._evalTemplate()};else if("pipeline"===this._evalType()){const a={type:"pipeline",sources:this._pipelineSources(),deduplicate:this._pipelineDeduplicate()||void 0,sort:this._pipelineSort()||void 0,separator:this._pipelineSeparator()||void 0,fallback:this._pipelineFallback()||void 0,transform:this._pipelineTransform()||void 0,exclude:this._pipelineExcludeParsed().length?this._pipelineExcludeParsed():void 0},n=parseInt(this._pipelineLimit(),10);!isNaN(n)&&n>0&&(a.limit=n),t=a}else t={type:"formula",fields:this._formulaFields(),op:this._formulaOp()};this.updateColumnDef.emit({evaluation:t})}_onPipelineExcludeChanged(t){this._pipelineExcludeJson.set(t);try{const a=JSON.parse(t);if(!Array.isArray(a))throw new Error("Must be a JSON array of strings");this._pipelineExcludeError.set(""),this._pipelineExcludeParsed.set(a),this._applyEvaluation()}catch(a){this._pipelineExcludeError.set(a?.message??"Invalid JSON")}}datatypeOptions=ye;datatypeLabelMap=(0,_.EW)(()=>(this._lang(),Object.fromEntries(ye.map(t=>[t,this._transloco.translate(`components.sparqlTable.datatype${t.charAt(0).toUpperCase()+t.slice(1)}`)]))));availableStrategyTypes=(0,_.EW)(()=>{const t=this._datatype();return t?ie[t]:oe});strategyLabelMap=(0,_.EW)(()=>(this._lang(),Object.fromEntries(oe.map(t=>[t,this._transloco.translate(ve[t])]))));_strategyDescription=(0,_.EW)(()=>(this._lang(),this._transloco.translate(De[this._strategyType()])));query=(0,_.EW)(()=>this.columnDef().query??"");_editedQuery=(0,_.uu)(()=>this.query());_queryError=(0,_.EW)(()=>{this._lang();const t=function Oe(i,u="val"){if(!i?.trim())return null;let t;try{t=new A.Parser({sparqlStar:!0}).parse(i)}catch{return"validationErrorSyntax"}if("query"!==t?.type||"SELECT"!==t?.queryType)return"validationErrorNotSelect";const n=t.variables;if(1===n.length&&"*"===n[0])return null;const o=n.map(l=>l?.value??l?.variable?.value??"");return o.includes("subject")?o.includes(u)?null:"validationErrorMissingVal":"validationErrorMissingKey"}(this._editedQuery(),this._strategyValueKey()||"val");if(!t)return;const a=`components.sparqlTable.${t}`;return"validationErrorMissingVal"===t?this._transloco.translate(a,{var:this._strategyValueKey()||"val"}):this._transloco.translate(a)});_datatype=(0,_.uu)(()=>this.columnDef().datatype);_strategyType=(0,_.uu)(()=>this.columnDef().strategy?.type??"join");_strategySeparator=(0,_.uu)(()=>this.columnDef().strategy?.separator??", ");_strategyValueKey=(0,_.uu)(()=>this.columnDef().strategy?.valueKey??"val");_strategyPriorityKey=(0,_.uu)(()=>this.columnDef().strategy?.priorityKey??"");_strategyPreProcess=(0,_.uu)(()=>this.columnDef().strategy?.preProcess??"");_strategyFallback=(0,_.uu)(()=>this.columnDef().strategy?.fallback??"");_strategyMapJson=(0,_.uu)(()=>{const t=this.columnDef().strategy;if("map"!==t?.type)return"{}";try{return JSON.stringify(t.map,null,2)}catch{return"{}"}});_strategyMapError=(0,s.vPA)("");_strategyNeedsSeparator=(0,_.EW)(()=>ht.includes(this._strategyType()));_strategyNeedsValueKey=(0,_.EW)(()=>ge.includes(this._strategyType()));_strategyNeedsPriorityKey=(0,_.EW)(()=>he.includes(this._strategyType())&&this._queryExtraBindings().length>0);_strategyNeedsMap=(0,_.EW)(()=>yt.includes(this._strategyType()));_strategyPreProcessError=(0,_.EW)(()=>{const t=this._strategyPreProcess();return t?(0,x.NF)(t)??void 0:void 0});_queryExtraBindings=(0,_.EW)(()=>{const t=this._editedQuery(),a=this._strategyValueKey()||"val";if(!t?.trim())return[];try{const n=new A.Parser({sparqlStar:!0}).parse(t);if("SELECT"!==n?.queryType)return[];const o=n.variables;return 1===o.length&&"*"===o[0]?[]:o.map(d=>d?.value??d?.variable?.value??"").filter(Boolean).filter(d=>"subject"!==d&&d!==a)}catch{return[]}});setDatatype(t){const a=t||void 0;if(this._datatype.set(a),a&&!ie[a].includes(this._strategyType()))return this._strategyType.set("first"),void this.updateColumnDef.emit({strategy:{type:"first"},datatype:a});this.updateColumnDef.emit({datatype:a})}setStrategyType(t){if(!t)return;this._strategyType.set(t);const a=this._buildStrategy(t);this.updateColumnDef.emit({strategy:a})}_applyStrategyChange(){const t=this._buildStrategy(this._strategyType());this.updateColumnDef.emit({strategy:t})}_buildStrategy(t){const a=this._strategyValueKey()||"val",n=this._strategyPriorityKey()||void 0,d={preProcess:this._strategyPreProcess()||void 0,fallback:this._strategyFallback()||void 0};if("join"===t)return{type:t,separator:this._strategySeparator(),...d};if("map"===t){let r={};try{r=JSON.parse(this._strategyMapJson())}catch{}return{type:t,map:r,...d}}return ge.includes(t)?{type:t,valueKey:a,priorityKey:n,...d}:he.includes(t)?{type:t,priorityKey:n,...d}:{type:t,...d}}_onMapJsonChanged(t){this._strategyMapJson.set(t);try{const a=JSON.parse(t);if("object"!=typeof a||Array.isArray(a))throw new Error("Must be a JSON object");this._strategyMapError.set(""),this._applyStrategyChange()}catch(a){this._strategyMapError.set(a?.message??"Invalid JSON")}}_queryDirty=(0,_.EW)(()=>this._editedQuery()!==this.query());onQueryChanged(t){this._editedQuery.set(t)}discardQuery(){this._editedQuery.set(this.query()),this._testRows.set([]),this._testError.set("")}_testRows=(0,s.vPA)([]);_testError=(0,s.vPA)("");_testLoading=(0,s.vPA)(!1);testQuery(){var t=this;return(0,C.A)(function*(){const a=t.handlers()?.queryHandler;if(!a)return void t._testError.set("No query handler available.");t._testRows.set([]),t._testError.set(""),t._testLoading.set(!0);const o=t._editedQuery().trim().replace(/\s*LIMIT\s+\d+\s*$/i,"")+"\nLIMIT 5";try{const d=((yield a(o,{}))?.results?.bindings??[]).map(r=>JSON.stringify(Object.fromEntries(Object.entries(r).map(([p,c])=>[p,c.value])),null,2));t._testRows.set(d),t.updateColumnDef.emit({query:t._editedQuery()})}catch(l){t._testError.set(l?.message??String(l))}finally{t._testLoading.set(!1)}})()}_onColDefUpdate(t){this.updateColumnDef.emit(t)}static \u0275fac=function(a){return new(a||i)};static \u0275cmp=e.VBU({type:i,selectors:[["cue-declarative-sparql-column-settings-modal"]],inputs:{columnDef:[1,"columnDef"],handlers:[1,"handlers"],columns:[1,"columns"]},outputs:{columnDef:"columnDefChange",close:"close",updateColumnDef:"updateColumnDef"},decls:7,vars:13,consts:[["minWidth","800px",3,"updateColumn","close","columnDef","settings","extraPanelLabel"],["cueExtraContent","","direction","column"],[3,"valueChange","label","value","options","labelMap"],["size","s",3,"info"],[2,"height","200px","min-height","120px"],["type","sparql",3,"contentChanged","content"],["size","s",2,"color","var(--cue-error)"],["direction","row","justify","end","gap","s"],["variant","ghost","size","s"],["variant","secondary","size","s",3,"click","disabled"],["icon","go"],["size","xs",2,"opacity","0.6","font-style","italic"],[3,"valueChange","label","info","value","options","labelMap"],["size","xs",2,"opacity","0.7"],[3,"label","value"],[3,"label","info","value"],[3,"valueChange","label","info","value"],["variant","ghost","size","s",3,"click"],["size","s"],["size","xs",2,"font-family","monospace","white-space","pre-wrap"],[3,"valueChange","label","value"],[2,"height","200px","min-height","120px","text-align","left"],["type","json",3,"contentChanged","content"],["size","xs",2,"opacity","0.7","font-style","italic"],["direction","row","wrap","wrap","gap","xs"],[1,"field-chip",3,"title"],[1,"field-chip",3,"click","title"],[1,"field-chip",3,"field-chip--active","title"],["direction","row","wrap","wrap","gap","xs",2,"align-items","center"],[1,"formula-token"],[1,"formula-op"],["direction","row","gap","m"],[2,"display","flex","align-items","center","gap","4px","font-size","0.85rem","cursor","pointer"],["type","checkbox",3,"change","checked"],[2,"height","160px","min-height","80px","text-align","left"]],template:function(a,n){1&a&&(e.j41(0,"cue-table-column-settings-modal",0),e.nI1(1,"transloco"),e.bIt("updateColumn",function(l){return n._onColDefUpdate(l)})("close",function(){return n.close.emit()}),e.j41(2,"cue-flexcontainer",1)(3,"cue-select",2),e.nI1(4,"transloco"),e.bIt("valueChange",function(l){return n.setDefType(l)}),e.k0s(),e.nVh(5,tt,37,51),e.nVh(6,gt,8,11),e.k0s()()),2&a&&(e.Y8G("columnDef",n.columnDef())("settings",n.agGridSettings)("extraPanelLabel",e.bMT(1,9,"components.sparqlTable.panelLabel")),e.R7$(3),e.Y8G("label",e.bMT(4,11,"components.sparqlTable.labelColumnType"))("value",n._defType())("options",n.columnTypeOptions)("labelMap",n.columnTypeLabelMap()),e.R7$(2),e.vxM("data"===n._defType()?5:-1),e.R7$(),e.vxM("evaluation"===n._defType()?6:-1))},dependencies:[U.T,q.n,k.Typography,de.Select,pe.Input,Y.$,_e.a,fe.B,me.L,Qe.z,Q.Kj],styles:[".field-chip[_ngcontent-%COMP%]{display:inline-block;padding:2px 8px;border-radius:4px;background:var(--cue-surface-2, #eee);font-family:monospace;font-size:.75rem;cursor:pointer;-webkit-user-select:none;user-select:none;transition:background .12s,outline .12s;outline:2px solid transparent}.field-chip[_ngcontent-%COMP%]:hover{background:var(--cue-primary-light, #c8e6c9)}.field-chip--active[_ngcontent-%COMP%]{background:var(--cue-primary, #4caf50);color:#fff;outline-color:var(--cue-primary, #4caf50)}.formula-token[_ngcontent-%COMP%]{display:inline-block;padding:2px 8px;border-radius:4px;background:var(--cue-primary, #4caf50);color:#fff;font-family:monospace;font-size:.75rem}.formula-op[_ngcontent-%COMP%]{font-size:1rem;font-weight:700;opacity:.6;padding:0 2px}"],changeDetection:0})}return i})();var Dt=g(5187),Tt=g(7717),J=g(5661),Ct=g(6117),St=g(356),Mt=g(6279),Rt=g(29),Pt=g(5821),xt=g(5745);const Et=(i,u)=>u.key;function wt(i,u){if(1&i){const t=e.RV6();e.j41(0,"cue-input",12),e.bIt("valueChange",function(n){s.eBV(t);const o=e.XpG().$implicit,l=e.XpG(2);return s.Njj(l._setVar(o.key,n))}),e.k0s()}if(2&i){const t=e.XpG().$implicit,a=e.XpG(2);e.Y8G("label",t.label)("value",a._varValues()[t.key]??a._filePathPlaceholder())}}function Ft(i,u){if(1&i){const t=e.RV6();e.j41(0,"cue-select",13),e.bIt("valueChange",function(n){s.eBV(t);const o=e.XpG().$implicit,l=e.XpG(2);return s.Njj(l._setVar(o.key,n))}),e.k0s()}if(2&i){const t=e.XpG().$implicit,a=e.XpG(2);e.Y8G("label",t.label)("options",a._categoryOptions())("labelMap",a._categoryLabelMap())("value",a._varValues()[t.key]??void 0)("disabled",a._categoriesLoading())("placeholder",a._categoriesLoading()?"Loading\u2026":"Select a category\u2026")}}function jt(i,u){if(1&i&&e.nVh(0,wt,1,2,"cue-input",10)(1,Ft,1,6,"cue-select",11),2&i){const t=u.$implicit;e.vxM("text"===t.type?0:"select"===t.type?1:-1)}}function At(i,u){1&i&&e.Z7z(0,jt,2,1,null,null,Et),2&i&&e.Dyx(u.variables)}function Nt(i,u){1&i&&(e.j41(0,"div",6),e.EFF(1),e.nI1(2,"transloco"),e.k0s()),2&i&&(e.R7$(),e.JRh(e.bMT(2,1,u)))}const kt=new A.Parser({sparqlStar:!0}),be=`PREFIX qcy: <${X.E.qcy}>`,Z=[{id:"files-in-directory",label:"Files in a specific directory",template:`${be}\n\nSELECT DISTINCT ?subject\nWHERE {\n ?subject a qcy:FileContent ;\n qcy:hasFileLocation ?fl .\n ?fl qcy:filePath ?path .\n FILTER(STRSTARTS(STR(?path), "\${THE_FILE_PATH}"))\n\n # EXCLUDE DERIVED FILES\n FILTER NOT EXISTS {?x qcy:alternativeRepresentation ?subject}\n}`,variables:[{key:"THE_FILE_PATH",label:"File path",type:"text"}]},{id:"entities-of-category",label:"Entities of a specific category",template:`${be}\n\nSELECT DISTINCT ?subject\nWHERE {\n ?subject a qcy:CanonicalEntity ;\n qcy:hasEntityCategory <\${CATEGORY_IRI}> .\n}`,variables:[{key:"CATEGORY_IRI",label:"Category",type:"select"}]}];let qt=(()=>{class i{rowDefinitionQuery=(0,m.geq)(null);handlers=(0,m.hFB)(void 0);close=(0,m.CGW)();saved=(0,m.CGW)();_draft=(0,_.uu)(()=>this.rowDefinitionQuery()||K);_selectedPredefinedId=(0,s.vPA)(null);_varValues=(0,s.vPA)({});_categories=(0,s.vPA)([]);_categoriesLoading=(0,s.vPA)(!1);_filePathPlaceholder=(0,s.vPA)("");_selectedPredefined=(0,_.EW)(()=>{const t=this._selectedPredefinedId();return t?Z.find(a=>a.id===t)??null:null});_predefinedOptions=Z.map(t=>t.id);_predefinedLabelMap=Object.fromEntries(Z.map(t=>[t.id,t.label]));_categoryOptions=(0,_.EW)(()=>this._categories().map(t=>t.iri));_categoryLabelMap=(0,_.EW)(()=>Object.fromEntries(this._categories().map(t=>[t.iri,t.label])));_resolvedTemplate=(0,_.EW)(()=>{const t=this._selectedPredefined();if(!t)return null;const a=this._varValues();let n=t.template;for(const o of t.variables)n=n.replaceAll(`\${${o.key}}`,a[o.key]??"");return n});constructor(){(0,s.QZP)(()=>{const t=this._selectedPredefined(),a=this.handlers();this._varValues.set({}),this._categories.set([]),this._filePathPlaceholder.set(""),t?.variables.some(n=>"select"===n.type)&&this._loadCategories(a),t?.variables.some(n=>"THE_FILE_PATH"===n.key)&&this._loadFilePathPlaceholder(a)}),(0,s.QZP)(()=>{const t=this._resolvedTemplate();null!==t&&this._draft.set(t)})}_loadCategories(t){var a=this;return(0,C.A)(function*(){const n=t?.contentCategoriesInProject;if(n){a._categoriesLoading.set(!0);try{const o=yield n();a._categories.set(o)}catch(o){console.error("[RowDefModal] _loadCategories \u2014 error:",o)}finally{a._categoriesLoading.set(!1)}}})()}_loadFilePathPlaceholder(t){var a=this;return(0,C.A)(function*(){const n=t?.randomFilePath;if(!n)return;const o=yield n();if(o){const l=o.replace(/\/?[^\/]*$/,"/");a._filePathPlaceholder.set(l),a._setVar("THE_FILE_PATH",l)}})()}_onPredefinedChange(t){this._selectedPredefinedId.set(null!=t?String(t):null)}_setVar(t,a){null!=a&&this._varValues.update(n=>({...n,[t]:String(a)}))}_validationError=(0,_.EW)(()=>{const t=this._draft().trim();if(!t)return null;try{const a=kt.parse(t);if("SELECT"!==a?.queryType)return"components.sparqlTable.rowDefinitionErrorNotSelect";if(!a.variables.filter(l=>"*"!==l).map(l=>l?.value??l?.variable?.value??"").includes("subject"))return"components.sparqlTable.rowDefinitionErrorMissingSubject"}catch{return"components.sparqlTable.rowDefinitionErrorSyntax"}return null});_isSaveDisabled=(0,_.EW)(()=>!!this._draft().trim()&&!!this._validationError());_save(){this._draft()&&this._validationError()||(this.rowDefinitionQuery.set(this._draft()),this.saved.emit(),this.close.emit())}static \u0275fac=function(a){return new(a||i)};static \u0275cmp=e.VBU({type:i,selectors:[["cue-sparql-row-definition-modal"]],inputs:{rowDefinitionQuery:[1,"rowDefinitionQuery"],handlers:[1,"handlers"]},outputs:{rowDefinitionQuery:"rowDefinitionQueryChange",close:"close",saved:"saved"},decls:20,vars:20,consts:[[3,"close","label","minWidth"],["direction","column","gap","m",2,"padding","4px 0"],["size","s","color","secondary"],["label","Predefined query","placeholder","Custom query\u2026",3,"valueChange","options","labelMap","value"],[2,"height","200px","display","flex","flex-direction","column"],["type","sparql",2,"flex","1",3,"contentChange","content"],[1,"row-def-error"],["direction","row","gap","s","justify","end"],["variant","tertiary","size","s",3,"click"],["variant","primary","size","s",3,"click","disabled"],[3,"label","value"],[3,"label","options","labelMap","value","disabled","placeholder"],[3,"valueChange","label","value"],[3,"valueChange","label","options","labelMap","value","disabled","placeholder"]],template:function(a,n){if(1&a&&(e.j41(0,"cue-modal",0),e.nI1(1,"transloco"),e.bIt("close",function(){return n.close.emit()}),e.j41(2,"cue-flexcontainer",1)(3,"cue-typography",2),e.EFF(4),e.nI1(5,"transloco"),e.k0s(),e.j41(6,"cue-select",3),e.bIt("valueChange",function(l){return n._onPredefinedChange(l)}),e.k0s(),e.nVh(7,At,2,0),e.j41(8,"div",4)(9,"cue-code-editor",5),e.bIt("contentChange",function(l){return n._draft.set(l)}),e.k0s()(),e.nVh(10,Nt,3,3,"div",6),e.j41(11,"cue-flexcontainer",7)(12,"cue-button",8),e.bIt("click",function(){return n.close.emit()}),e.j41(13,"cue-button-label"),e.EFF(14),e.nI1(15,"transloco"),e.k0s()(),e.j41(16,"cue-button",9),e.bIt("click",function(){return n._save()}),e.j41(17,"cue-button-label"),e.EFF(18),e.nI1(19,"transloco"),e.k0s()()()()()),2&a){let o,l;e.Y8G("label",e.bMT(1,12,"components.sparqlTable.rowDefinitionModalTitle"))("minWidth","620px"),e.R7$(4),e.SpI(" ",e.bMT(5,14,"components.sparqlTable.rowDefinitionModalDescription")," "),e.R7$(2),e.Y8G("options",n._predefinedOptions)("labelMap",n._predefinedLabelMap)("value",n._selectedPredefinedId()??void 0),e.R7$(),e.vxM((o=n._selectedPredefined())?7:-1,o),e.R7$(2),e.Y8G("content",n._draft()),e.R7$(),e.vxM((l=n._draft()&&n._validationError())?10:-1,l),e.R7$(4),e.SpI(" ",e.bMT(15,16,"components.sparqlTable.rowDefinitionDiscard")," "),e.R7$(2),e.Y8G("disabled",n._isSaveDisabled()),e.R7$(2),e.SpI(" ",e.bMT(19,18,"components.sparqlTable.rowDefinitionSave")," ")}},dependencies:[xt.a,q.n,k.Typography,Y.$,me.L,fe.B,de.Select,pe.Input,Q.Kj],styles:[".row-def-error[_ngcontent-%COMP%]{color:var(--cue-color-error, #ef4444);font-size:12px;padding:2px 0}"],changeDetection:0})}return i})();var It=g(7284);function Lt(i,u){if(1&i&&(e.j41(0,"div",13),e.nrm(1,"span",26),e.EFF(2),e.k0s()),2&i){const t=u;e.R7$(2),e.Lme(" ",t.done," / ",t.total," queries ")}}function Gt(i,u){1&i&&(e.j41(0,"div",13),e.nrm(1,"span",26),e.EFF(2," Building table for download\u2026 "),e.k0s())}function Vt(i,u){if(1&i){const t=e.RV6();e.j41(0,"div",27),e.bIt("click",function(){s.eBV(t);const n=e.XpG();return s.Njj(n._openRowDefModal())}),e.j41(1,"cue-typography",28),e.EFF(2),e.nI1(3,"transloco"),e.k0s()()}2&i&&(e.R7$(2),e.SpI(" ",e.bMT(3,1,"components.sparqlTable.rowDefinitionEmpty")," "))}function Qt(i,u){if(1&i){const t=e.RV6();e.j41(0,"cue-paginator",29),e.bIt("currentPage",function(n){s.eBV(t);const o=e.XpG();return s.Njj(o._onPaginateEvent(n))}),e.k0s()}if(2&i){const t=e.XpG();e.Y8G("size",t._totalKeys())("pageSize",t.pageSize())}}function Ot(i,u){if(1&i){const t=e.RV6();e.j41(0,"cue-button",30),e.bIt("click",function(){const n=s.eBV(t),o=n.$implicit,l=n.index,d=e.XpG();return s.Njj(d._openSettings(o,l))}),e.nrm(1,"cue-button-icon",11),e.k0s(),e.j41(2,"cue-button",31),e.bIt("click",function(){const n=s.eBV(t).$implicit,o=e.XpG();return s.Njj(o._deleteColumn(n.field))}),e.nrm(3,"cue-button-icon",32),e.k0s()}}function $t(i,u){if(1&i){const t=e.RV6();e.j41(0,"div",33),e.bIt("click",function(){s.eBV(t);const n=e.XpG();return s.Njj(n._addColumn())}),e.nrm(1,"cue-button-icon",34),e.k0s()}}function Bt(i,u){if(1&i){const t=e.RV6();e.j41(0,"cue-declarative-sparql-column-settings-modal",35),e.mxI("columnDefChange",function(n){const o=s.eBV(t);return e.DH7(o.col,n)||(o.col=n),s.Njj(n)}),e.bIt("close",function(){s.eBV(t);const n=e.XpG();return s.Njj(n._activeColumn.set(void 0))})("updateColumnDef",function(n){const o=s.eBV(t),l=e.XpG();return s.Njj(l._applyColumnUpdate(o.index,n))}),e.k0s()}if(2&i){const t=e.XpG();e.R50("columnDef",u.col),e.Y8G("handlers",t.handlers())("columns",t.columns())}}function zt(i,u){if(1&i){const t=e.RV6();e.j41(0,"cue-sparql-row-definition-modal",36),e.mxI("rowDefinitionQueryChange",function(n){s.eBV(t);const o=e.XpG();return e.DH7(o.rowDefinition,n)||(o.rowDefinition=n),s.Njj(n)}),e.bIt("saved",function(){s.eBV(t);const n=e.XpG();return s.Njj(n._onRowDefSaved())})("close",function(){s.eBV(t);const n=e.XpG();return s.Njj(n._showRowDefModal.set(!1))}),e.k0s()}if(2&i){const t=e.XpG();e.R50("rowDefinitionQuery",t.rowDefinition),e.Y8G("handlers",t.rowDefinitionHandlers())}}const Xt=new A.Parser({sparqlStar:!0}),Kt=new A.Generator;function $(i,u){return ee.apply(this,arguments)}function ee(){return ee=(0,C.A)(function*(i,u){const t=new Array(i.length);let a=0;function o(){return(o=(0,C.A)(function*(){for(;a<i.length;){const d=a++;t[d]=yield i[d]()}})).apply(this,arguments)}const l=Array.from({length:Math.min(u,i.length)},()=>function n(){return o.apply(this,arguments)}());return yield Promise.all(l),t}),ee.apply(this,arguments)}function te(i,u){if(u.length>200)return i;try{const t=Xt.parse(i),a={type:"values",values:u.map(n=>({"?subject":{termType:"NamedNode",value:n}}))};return Array.isArray(t.where)&&(t.where=[a,...t.where]),Kt.stringify(t)}catch{const t=`VALUES ?subject { ${u.map(a=>`<${a}>`).join(" ")} }`;return i.replace(/WHERE\s*\{/i,`WHERE {\n ${t}`)}}let Yt=(()=>{class i{visibleRows=(0,m.CGW)();columnDefsAG=(0,m.CGW)();columns=m.geq.required();handlers=m.hFB.required();rowDefinitionHandlers=(0,m.hFB)(void 0);rowDefinition=(0,m.geq)(K);pageSize=(0,m.hFB)(10);size=(0,m.hFB)("m");bufferFactor=(0,m.hFB)(5);_bufferSize=(0,_.EW)(()=>this.pageSize()*this.bufferFactor());_noRowDef=(0,_.EW)(()=>null!==this.rowDefinition()&&!this.rowDefinition()&&!this._showSettings());_showSettings=(0,s.vPA)(!1);_activeColumn=(0,s.vPA)(void 0);_showRowDefModal=(0,s.vPA)(!1);_dataFetchService=(0,s.WQX)(V);_tableService=(0,s.WQX)(W);_allKeys=(0,s.vPA)([]);_totalKeys=(0,_.EW)(()=>this._allKeys().length);_bufferKeys=(0,s.vPA)([]);_bufferOffset=(0,s.vPA)(0);_rowDefLoading=(0,s.vPA)(!1);_rowDefError=(0,s.vPA)("");_gridApi=null;_fullDataMode=(0,s.vPA)(!1);_fetchingFullData=(0,s.vPA)(!1);_fullDataFetchVersion=0;_exporting=(0,s.vPA)(!1);_prefetchCache=new Map;_currentlyPrefetching=new Set;_displayColumns=(0,_.EW)(()=>{const t=this._bufferKeys();return null===this.rowDefinition()||t.length?this._patchColumns(this.columns(),t):[]});_queryProgress=(0,_.EW)(()=>{const t=!!this.rowDefinition(),a=t?1:0;if(this._fetchingFullData()){const p=this._dataFetchService.totalQueryCount(),c=a+Math.max(p,1);return 0===c?null:{done:0,total:c}}const n=t&&!this._rowDefLoading()&&this._allKeys().length>0?1:0,o=this._dataFetchService.totalQueryCount(),d=n+this._dataFetchService.fetchedColumns().length,r=a+o;return 0===r||d>=r?null:{done:d,total:r}});_handlers=(0,_.EW)(()=>({queryHandler:this.handlers().queryHandler}));constructor(){(0,s.QZP)(()=>{const t=this.rowDefinition(),a=this.handlers();t&&a&&this._fetchRowDef(t,a)})}_openRowDefModal(){this._showRowDefModal.set(!0)}_onGridApi(t){this._gridApi=t,null!==this.rowDefinition()&&(t.addEventListener("sortChanged",()=>this._checkSortFilterState(t)),t.addEventListener("filterChanged",()=>this._checkSortFilterState(t)))}_checkSortFilterState(t){if(!this.rowDefinition())return;const a=t.getColumnState().some(l=>null!=l.sort),n=Object.keys(t.getFilterModel()??{}).length>0,o=a||n;!o||this._fullDataMode()||this._fetchingFullData()?o&&this._fullDataMode()?this._fillVisibleRows():!o&&(this._fullDataMode()||this._fetchingFullData())&&this._exitFullDataMode():this._enterFullDataMode()}_fillingVisibleRows=!1;_fillVisibleRows(){var t=this;return(0,C.A)(function*(){if(!t._fillingVisibleRows&&t._gridApi){t._fillingVisibleRows=!0;try{const a=t._gridApi.paginationGetPageSize?.()??t.pageSize(),o=(t._gridApi.paginationGetCurrentPage?.()??0)*a,l=[];for(let p=o;p<o+a;p++){const c=t._gridApi.getDisplayedRowAtIndex(p);if(!c?.data?.id)break;l.push(c.data.id)}if(!l.length)return;const d=t.columns().filter(p=>"data"===p.defType&&p.query&&!p.hide),r=t._dataFetchService.keyVals;yield $(d.map(p=>(0,C.A)(function*(){const c=l.filter(h=>void 0===r[h]?.[p.field]);if(!c.length)return;const f=te(p.query,c);try{const h=yield t.handlers().queryHandler(f,w(f)),y={};h.results.bindings.forEach(T=>{const b=T.subject?.value;if(!b)return;y[b]||(y[b]=[]);const M={};Object.keys(T).filter(S=>"subject"!==S).forEach(S=>{M[S]=T[S]?.value}),y[b].push(M)}),t._dataFetchService.mergeColumnData(p.field,y,p.query)}catch{}})),3)}finally{t._fillingVisibleRows=!1}}})()}_onPaginateEvent(t){const a=t.startIndex,n=this._bufferSize(),o=Math.floor(a/n)*n;this._loadBuffer(o);const l=Math.floor((a-o)/this.pageSize());if(this._gridApi)try{this._gridApi.paginationGoToPage(l)}catch{}if(l>=Math.ceil(n/this.pageSize())-1){const r=o+n;r<this._allKeys().length&&this._prefetchBuffer(r)}}_fetchRowDef(t,a){var n=this;return(0,C.A)(function*(){n._rowDefLoading.set(!0),n._rowDefError.set(""),n._dataFetchService.emptyTableText.set("Loading\u2026"),n._allKeys.set([]),n._bufferKeys.set([]),n._bufferOffset.set(0),n._prefetchCache.clear(),n._currentlyPrefetching.clear();try{const o=w(t),l=yield a.queryHandler(t,o),d=l.results.bindings.map(r=>r.subject?.value).filter(Boolean);console.log("[ROWDEF] _fetchRowDef received",l.results.bindings.length,"bindings,",d.length,"valid keys. meta=",l.meta),n._allKeys.set(d),n._loadBuffer(0)}catch(o){n._rowDefError.set(String(o?.message??o))}finally{n._rowDefLoading.set(!1)}})()}_loadBuffer(t,a=!1){const n=this._allKeys().slice(t,t+this._bufferSize()),o=this._bufferKeys();if(!a&&n.length===o.length&&n.every((d,r)=>d===o[r]))return;const l=this._prefetchCache.get(t);if(this._prefetchCache.delete(t),this._dataFetchService.resetData(),l?this._dataFetchService.injectPreloadedData(l.keyVals,l.fetchedColumnFields,l.columnQueries):this._tableService.destroy(),this._bufferOffset.set(t),this._bufferKeys.set(n),this._gridApi)try{this._gridApi.paginationGoToPage(0)}catch{}}_enterFullDataMode(){var t=this;return(0,C.A)(function*(){if(console.log("[FDM] _enterFullDataMode called. _fetchingFullData=",t._fetchingFullData(),"_fullDataMode=",t._fullDataMode(),"_allKeys=",t._allKeys().length),t._fetchingFullData())return;t._fetchingFullData.set(!0);const a=++t._fullDataFetchVersion;let n;t._gridApi&&(n=t._gridApi.getColumnState().find(r=>null!=r.sort)?.colId,n||(n=Object.keys(t._gridApi.getFilterModel()??{})[0]));const o=n?.replace(/_\d+$/,""),l=o?t.columns().find(d=>d.field===o&&"data"===d.defType&&d.query):void 0;if(!l)return t._fullDataMode.set(!0),void t._fetchingFullData.set(!1);try{if(a!==t._fullDataFetchVersion)return;const d=yield t.handlers().queryHandler(l.query,w(l.query));if(a!==t._fullDataFetchVersion)return;const r={};Object.entries(t._dataFetchService.keyVals).forEach(([b,M])=>{r[b]={...M}});const p=t._allKeys();p.forEach(b=>{r[b]||(r[b]={})}),console.log("[DeclarativeSPARQLTable] keyVals pre-seed: allKeys=",p.length,"keyVals size=",Object.keys(r).length);const c=[...t._dataFetchService.fetchedColumns()],f={...t._dataFetchService._columnQueries},h=[];if(d.results.bindings.forEach(b=>{const M=b.subject?.value;if(!M)return;r[M]||(r[M]={}),r[M][l.field]=[];const S={};Object.keys(b).filter(D=>"subject"!==D).forEach(D=>{S[D]=b[D]?.value}),r[M][l.field].push(S),h.push(M)}),c.includes(l.field)||c.push(l.field),f[l.field]=l.query,console.log("[FDM] after sort-col fetch: keyVals size=",Object.keys(r).length,"allKeys from sort col=",h.length),console.log("[FDM] calling resetData()"),t._dataFetchService.resetData(),t._tableService.destroy(),console.log("[FDM] calling injectPreloadedData with",Object.keys(r).length,"rows"),t._dataFetchService.injectPreloadedData(r,c,f),console.log("[FDM] injectPreloadedData done. Service keyVals size=",Object.keys(t._dataFetchService.keyVals).length),t._fullDataMode.set(!0),a!==t._fullDataFetchVersion)return;const y=t.columns().filter(b=>"data"===b.defType&&b.query&&b.field!==l.field&&!b.hide),T=new Set(t._bufferKeys());yield $(y.map(b=>(0,C.A)(function*(){const M=h.filter(D=>T.has(D)&&void 0===r[D]?.[b.field]);if(!M.length||a!==t._fullDataFetchVersion)return;const S=te(b.query,M);try{const D=yield t.handlers().queryHandler(S,w(S));if(a!==t._fullDataFetchVersion)return;const v={};D.results.bindings.forEach(R=>{const P=R.subject?.value;if(!P)return;v[P]||(v[P]=[]);const I={};Object.keys(R).filter(F=>"subject"!==F).forEach(F=>{I[F]=R[F]?.value}),v[P].push(I)}),Object.entries(v).forEach(([R,P])=>{r[R]&&(r[R][b.field]=P)}),t._dataFetchService.mergeColumnData(b.field,v,b.query)}catch{}})),3)}catch(d){console.error("[DeclarativeSPARQLTable] Error in _enterFullDataMode:",d)}finally{a===t._fullDataFetchVersion&&t._fetchingFullData.set(!1)}})()}_exitFullDataMode(){if(console.log("[FDM] _exitFullDataMode called"),this._fullDataFetchVersion++,this._fetchingFullData.set(!1),this._fullDataMode.set(!1),this._dataFetchService.resetData(),this._tableService.destroy(),this._loadBuffer(this._bufferOffset(),!0),this._gridApi)try{this._gridApi.paginationGoToPage(0)}catch{}}_prefetchBuffer(t){var a=this;return(0,C.A)(function*(){if(a._prefetchCache.has(t)||a._currentlyPrefetching.has(t))return;const n=a._allKeys().slice(t,t+a._bufferSize());if(!n.length)return;a._currentlyPrefetching.add(t);const l=a._patchColumns(a.columns(),n).filter(c=>"data"===c.defType&&!c.hide&&c.query),d={},r=[],p={};try{yield $(l.map(c=>(0,C.A)(function*(){try{(yield a.handlers().queryHandler(c.query,w(c.query))).results.bindings.forEach(h=>{const y=h.subject?.value;if(!y)return;d[y]||(d[y]={}),d[y][c.field]||(d[y][c.field]=[]);const T={};Object.keys(h).filter(b=>"subject"!==b).forEach(b=>{T[b]=h[b]?.value}),d[y][c.field].push(T)}),r.push(c.field),p[c.field]=c.query}catch{}})),3),a._prefetchCache.set(t,{keyVals:d,fetchedColumnFields:r,columnQueries:p})}finally{a._currentlyPrefetching.delete(t)}})()}_patchColumns(t,a){return a.length?t.map(n=>n.query&&"data"===n.defType?{...n,query:te(n.query,a)}:n):t}_columnSelectSettings=Object.assign(new U.e,{allowEditing:!1});_shownColumns=(0,_.EW)(()=>this.columns().filter(t=>!t.hide));_openSettings(t,a){const n=this.columns().findIndex(o=>o.field===t.field);this._activeColumn.set({col:{...t},index:n})}_onShownChanged(t){const a=new Set(t.map(d=>d.field)),n=this.columns(),o=t.map(d=>({...n.find(p=>p.field===d.field)??d,hide:!1})),l=n.filter(d=>!a.has(d.field)).map(d=>({...d,hide:!0}));this.columns.set([...o,...l])}_applyColumnUpdate(t,a){const n=this.columns().map((o,l)=>l===t?Object.assign(Object.create(Object.getPrototypeOf(o)),o,a):o);this.columns.set(n)}_addColumn(){const t=this.columns();let a;if(t.length>0)a=t[t.length-1];else{const l=this.rowDefinition();a=Object.assign(new le,{query:l?this._seedQueryFromRowDef(l):"",strategy:{type:"first"}})}const n=Object.assign(Object.create(Object.getPrototypeOf(a)),a,{field:`column_${Date.now()}`,headerName:`${a.headerName??a.field??"Column"} Copy`,hide:!1}),o=t.length;this.columns.update(l=>[...l,n]),this._activeColumn.set({col:{...n},index:o})}_deleteColumn(t){this.columns.update(a=>a.filter(n=>n.field!==t))}_onRowDefSaved(){if(this.columns().length>0)return;this._showSettings.set(!0);const t=this.rowDefinition(),a=t?this._seedQueryFromRowDef(t):"",n=Object.assign(new le,{field:`column_${Date.now()}`,headerName:"Column 1",query:a,strategy:{type:"first"}});this.columns.set([n]),this._activeColumn.set({col:{...n},index:0})}_seedQueryFromRowDef(t){try{if(/qcy:FileContent\b/.test(t)){let n=t.replace(/SELECT\s+(?:DISTINCT\s+)?\?subject\b/i,"SELECT ?subject ?value");n=n.replace(/\s*ORDER\s+BY\s+[^\n{}]*/gi,""),/PREFIX\s+skos:/i.test(n)||(n=`PREFIX skos: <${Ce.B.skos}>\n`+n);const o=n.lastIndexOf("}");return-1!==o&&(n=n.slice(0,o)+" ?subject qcy:hasContentCategory ?cat .\n ?cat skos:prefLabel ?value .\n}"),n.trim()}{let n=t.replace(/SELECT\s+(?:DISTINCT\s+)?\?subject\b/i,"SELECT ?subject ?val");n=n.replace(/\s*ORDER\s+BY\s+[^\n{}]*/gi,"");const o=n.lastIndexOf("}");return-1!==o&&(n=n.slice(0,o)+" ?subject qcy:value ?val .\n}"),n.trim()}}catch{return t}}_getFormattedData(t=!1,a){const n=t?this.columns().filter(c=>"data"===c.defType&&c.query).map(c=>this._dataFetchService.columnDefsAG().find(h=>h.colId===c.field||h.field===c.field)??{colId:c.field,headerName:c.headerName??c.field,cellRendererParams:{strategy:c.strategy,postProcess:c.postProcess}}):this._dataFetchService.columnDefsAG().filter(c=>!c.hide),o=this._allKeys(),l=a?(o.length>0?o:Object.keys(a)).map(c=>({id:c,...a[c]??{}})):this._tableService.tableData(),d=["Key",...n.map(c=>c.headerName??c.field??"")],r=["",...n.map(c=>{const f=c.cellStyle;return f&&"object"==typeof f?String(f.textAlign??f["text-align"]??"").toLowerCase():""})];return{headers:d,rows:l.map(c=>[String(c.id??""),...n.map(f=>{const h=f.colId??f.field??"",y=f.valueGetter;let T="function"==typeof y?y({data:c,colDef:f}):c[h];if(void 0===T&&a&&(T=(a[c.id]??{})[h]??[]),Array.isArray(T)){const b=f.cellRendererParams?.strategy,M=f.cellRendererParams?.postProcess,S=b?E(T,b,""):T.map(D=>D?.val??"").filter(Boolean).join(", ");return(0,x.g4)(S,M)}return String(T??"")})]),alignments:r}}_fetchAllColumnsForExport(t){var a=this;return(0,C.A)(function*(){const n=a._allKeys();console.log("[EXPORT] _fetchAllColumnsForExport called for",t.length,"columns. allKeys=",n.length);const o=t.filter(r=>"data"===r.defType&&r.query);if(!o.length)return{};const l=n.length?a._patchColumns(o,n):o,d={};return yield $(l.map(r=>(0,C.A)(function*(){try{(yield a.handlers().queryHandler(r.query,w(r.query))).results.bindings.forEach(c=>{const f=c.subject?.value;if(!f)return;d[f]||(d[f]={}),d[f][r.field]||(d[f][r.field]=[]);const h={};Object.keys(c).filter(y=>"subject"!==y).forEach(y=>{h[y]=c[y]?.value}),d[f][r.field].push(h)})}catch{}})),3),d})()}_downloadCsv(){var t=this;return(0,C.A)(function*(a=!1){if(!t._exporting()){t._exporting.set(!0);try{const n=a?t.columns():t.columns().filter(c=>!c.hide),o=yield t._fetchAllColumnsForExport(n),{headers:l,rows:d}=t._getFormattedData(a,o),r=It.unparse([l,...d]),p=new Blob([r],{type:"text/csv;charset=utf-8;"});t._triggerDownload(p,"export.csv")}finally{t._exporting.set(!1)}}}).apply(this,arguments)}_downloadXlsx(){var t=this;return(0,C.A)(function*(a=!1){if(!t._exporting()){t._exporting.set(!0);try{const n=a?t.columns():t.columns().filter(c=>!c.hide),o=yield t._fetchAllColumnsForExport(n),{headers:l,rows:d,alignments:r}=t._getFormattedData(a,o),p=yield t._buildStyledXlsxBlob(l,d,r);t._triggerDownload(p,"export.xlsx")}finally{t._exporting.set(!1)}}}).apply(this,arguments)}_buildStyledXlsxBlob(t,a,n){return(0,C.A)(function*(){const d=(D,v)=>D?"center"===v?2:"right"===v?3:1:"center"===v?4:"right"===v?5:0,r=(D,v,R,P)=>{const I=`${(D=>{let v="",R=D+1;for(;R>0;)v=String.fromCharCode(65+(R-1)%26)+v,R=Math.floor((R-1)/26);return v})(D)}${v}`,F=P>0?` s="${P}"`:"",ne=Number(R);return 0===P&&""!==R&&!isNaN(ne)&&isFinite(ne)?`<c r="${I}"${F}><v>${ne}</v></c>`:`<c r="${I}"${F} t="inlineStr"><is><t>${(D=>D.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;"))(R)}</t></is></c>`},p=[];p.push(`<row r="1">${t.map((D,v)=>r(v,1,D,d(!0,n[v]??""))).join("")}</row>`),a.forEach((D,v)=>{p.push(`<row r="${v+2}">${D.map((R,P)=>r(P,v+2,R,d(!1,n[P]??""))).join("")}</row>`)});const c=`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\n<worksheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main">\n <cols><col min="1" max="1" hidden="1"/></cols>\n <sheetData>${p.join("")}</sheetData>\n</worksheet>`,S=new(0,(yield g.e(7247).then(g.t.bind(g,7247,23))).default);return S.file("[Content_Types].xml",'<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\n<Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types">\n <Default Extension="rels" ContentType="application/vnd.openxmlformats-package.relationships+xml"/>\n <Default Extension="xml" ContentType="application/xml"/>\n <Override PartName="/xl/workbook.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml"/>\n <Override PartName="/xl/worksheets/sheet1.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml"/>\n <Override PartName="/xl/styles.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml"/>\n</Types>'),S.file("_rels/.rels",'<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\n<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">\n <Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="xl/workbook.xml"/>\n</Relationships>'),S.file("xl/workbook.xml",'<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\n<workbook xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships">\n <sheets><sheet name="Data" sheetId="1" r:id="rId1"/></sheets>\n</workbook>'),S.file("xl/_rels/workbook.xml.rels",'<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\n<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">\n <Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet" Target="worksheets/sheet1.xml"/>\n <Relationship Id="rId2" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles" Target="styles.xml"/>\n</Relationships>'),S.file("xl/worksheets/sheet1.xml",c),S.file("xl/styles.xml",'<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\n<styleSheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main">\n <fonts count="2">\n <font><sz val="11"/><name val="Calibri"/></font>\n <font><b/><color rgb="FFFFFFFF"/><sz val="11"/><name val="Poppins"/></font>\n </fonts>\n <fills count="3">\n <fill><patternFill patternType="none"/></fill>\n <fill><patternFill patternType="gray125"/></fill>\n <fill><patternFill patternType="solid"><fgColor rgb="FF2859E1"/><bgColor indexed="64"/></patternFill></fill>\n </fills>\n <borders count="1">\n <border><left/><right/><top/><bottom/><diagonal/></border>\n </borders>\n <cellStyleXfs count="1"><xf numFmtId="0" fontId="0" fillId="0" borderId="0"/></cellStyleXfs>\n <cellXfs count="6">\n <xf numFmtId="0" fontId="0" fillId="0" borderId="0" xfId="0"/>\n <xf numFmtId="0" fontId="1" fillId="2" borderId="0" xfId="0" applyFont="1" applyFill="1"/>\n <xf numFmtId="0" fontId="1" fillId="2" borderId="0" xfId="0" applyFont="1" applyFill="1" applyAlignment="1"><alignment horizontal="center"/></xf>\n <xf numFmtId="0" fontId="1" fillId="2" borderId="0" xfId="0" applyFont="1" applyFill="1" applyAlignment="1"><alignment horizontal="right"/></xf>\n <xf numFmtId="0" fontId="0" fillId="0" borderId="0" xfId="0" applyAlignment="1"><alignment horizontal="center"/></xf>\n <xf numFmtId="0" fontId="0" fillId="0" borderId="0" xfId="0" applyAlignment="1"><alignment horizontal="right"/></xf>\n </cellXfs>\n</styleSheet>'),S.generateAsync({type:"blob",mimeType:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"})})()}_triggerDownload(t,a){const n=URL.createObjectURL(t),o=document.createElement("a");o.href=n,o.download=a,document.body.appendChild(o),o.click(),document.body.removeChild(o),URL.revokeObjectURL(n)}static \u0275fac=function(a){return new(a||i)};static \u0275cmp=e.VBU({type:i,selectors:[["cue-declarative-sparql-table"]],inputs:{columns:[1,"columns"],handlers:[1,"handlers"],rowDefinitionHandlers:[1,"rowDefinitionHandlers"],rowDefinition:[1,"rowDefinition"],pageSize:[1,"pageSize"],size:[1,"size"],bufferFactor:[1,"bufferFactor"]},outputs:{visibleRows:"visibleRows",columnDefsAG:"columnDefsAG",columns:"columnsChange",rowDefinition:"rowDefinitionChange"},features:[e.Jv_([V,W])],decls:39,vars:27,consts:[[1,"flip-card",3,"cueFlipChange","cueFlip"],[1,"flip-content"],[1,"card-face","front"],["direction","row","justify","end",2,"padding","2px"],["positioning","bottomleft"],["trigger","","variant","tertiary","size","s","cueTooltip","Export",3,"disabled"],["icon","more-vert"],["menu",""],[3,"click","disabled"],["before","","name","download"],["variant","accent","size","s","cueTooltip","Column settings",3,"click"],["icon","settings"],[3,"gridApi","visibleRows","columnDefsAG","handlers","columns","showPaginator","paginationPageSize","size","loading"],[1,"query-status"],[1,"row-def-empty"],[3,"size","pageSize"],[1,"card-face","back",2,"min-height","var(--cue-table-m-height)",3,"maxHeight"],["variant","tertiary","size","s",3,"click","cueTooltip"],["icon","filter"],["variant","accent","size","s","cueTooltip","Back to table",3,"click"],["icon","arrow-back"],[3,"shown","columnDefs","columnDefsGross","settings"],["cueColumnItem",""],["cueColumnListFooter",""],[3,"columnDef","handlers","columns"],[3,"rowDefinitionQuery","handlers"],[1,"query-status-spinner"],[1,"row-def-empty",3,"click"],["size","s","color","muted"],[3,"currentPage","size","pageSize"],["variant","tertiary","size","s","cueTooltip","Edit column",3,"click"],["variant","tertiary","size","s","cueTooltip","Delete column",3,"click"],["icon","delete"],["cueTooltip","Add column definition",1,"add-column-row",3,"click"],["icon","add"],[3,"columnDefChange","close","updateColumnDef","columnDef","handlers","columns"],[3,"rowDefinitionQueryChange","saved","close","rowDefinitionQuery","handlers"]],template:function(a,n){if(1&a&&(e.j41(0,"div",0),e.mxI("cueFlipChange",function(l){return e.DH7(n._showSettings,l)||(n._showSettings=l),l}),e.j41(1,"div",1)(2,"cue-card",2)(3,"cue-flexcontainer",3)(4,"cue-menu",4)(5,"cue-button",5),e.nrm(6,"cue-button-icon",6),e.k0s(),e.j41(7,"cue-menu-wrap",7)(8,"cue-menu-item",8),e.bIt("click",function(){return n._downloadCsv()}),e.nrm(9,"cue-svg-icon",9),e.EFF(10," Download CSV "),e.k0s(),e.j41(11,"cue-menu-item",8),e.bIt("click",function(){return n._downloadCsv(!0)}),e.nrm(12,"cue-svg-icon",9),e.EFF(13," Download CSV (incl. hidden columns) "),e.k0s(),e.j41(14,"cue-menu-item",8),e.bIt("click",function(){return n._downloadXlsx()}),e.nrm(15,"cue-svg-icon",9),e.EFF(16," Download XLSX "),e.k0s(),e.j41(17,"cue-menu-item",8),e.bIt("click",function(){return n._downloadXlsx(!0)}),e.nrm(18,"cue-svg-icon",9),e.EFF(19," Download XLSX (incl. hidden columns) "),e.k0s()()(),e.j41(20,"cue-button",10),e.bIt("click",function(){return n._showSettings.set(!0)}),e.nrm(21,"cue-button-icon",11),e.k0s()(),e.j41(22,"cue-sparql-table-inner",12),e.bIt("gridApi",function(l){return n._onGridApi(l)})("visibleRows",function(l){return n.visibleRows.emit(l)})("columnDefsAG",function(l){return n.columnDefsAG.emit(l)}),e.k0s(),e.nVh(23,Lt,3,2,"div",13),e.nVh(24,Gt,3,0,"div",13),e.nVh(25,Vt,4,3,"div",14),e.nVh(26,Qt,1,2,"cue-paginator",15),e.k0s(),e.j41(27,"cue-card",16)(28,"cue-flexcontainer",3)(29,"cue-button",17),e.nI1(30,"transloco"),e.bIt("click",function(){return n._openRowDefModal()}),e.nrm(31,"cue-button-icon",18),e.k0s(),e.j41(32,"cue-button",19),e.bIt("click",function(){return n._showSettings.set(!1)}),e.nrm(33,"cue-button-icon",20),e.k0s()(),e.j41(34,"cue-ag-grid-column-select",21),e.bIt("shown",function(l){return n._onShownChanged(l)}),e.DNE(35,Ot,4,0,"ng-template",22)(36,$t,2,0,"ng-template",23),e.k0s()()()(),e.nVh(37,Bt,1,3,"cue-declarative-sparql-column-settings-modal",24),e.nVh(38,zt,1,2,"cue-sparql-row-definition-modal",25)),2&a){let o,l;e.R50("cueFlip",n._showSettings),e.R7$(5),e.Y8G("disabled",n._exporting()),e.R7$(3),e.Y8G("disabled",n._exporting()),e.R7$(3),e.Y8G("disabled",n._exporting()),e.R7$(3),e.Y8G("disabled",n._exporting()),e.R7$(3),e.Y8G("disabled",n._exporting()),e.R7$(5),e.AVh("hidden",n._showSettings()||n._noRowDef()),e.Y8G("handlers",n._handlers())("columns",n._displayColumns())("showPaginator",n._fullDataMode())("paginationPageSize",n.pageSize())("size",n.size())("loading",n._rowDefLoading()),e.R7$(),e.vxM((o=n._queryProgress())?23:-1,o),e.R7$(),e.vxM(n._exporting()?24:-1),e.R7$(),e.vxM(n._noRowDef()?25:-1),e.R7$(),e.vxM(n.rowDefinition()&&!n._fullDataMode()?26:-1),e.R7$(),e.Y8G("maxHeight","var(--cue-table-m-height)"),e.R7$(2),e.Y8G("cueTooltip",e.bMT(30,25,"components.sparqlTable.rowDefinitionTooltip")),e.R7$(5),e.Y8G("columnDefs",n._shownColumns())("columnDefsGross",n.columns())("settings",n._columnSelectSettings),e.R7$(3),e.vxM((l=n._activeColumn())?37:-1,l),e.R7$(),e.vxM(n._showRowDefModal()?38:-1)}},dependencies:[Ge,vt,qt,J.pL,J.pC,J.rx,Dt.Card,q.n,k.Typography,Y.$,_e.a,Tt.R,re.d,Ct.W,St.M,Mt.D,Rt.A,Pt.m,Q.Kj],styles:[".flip-card[_ngcontent-%COMP%]{width:100%}.flip-content[_ngcontent-%COMP%]{position:relative;width:100%}.card-face[_ngcontent-%COMP%]{width:100%}.hidden[_ngcontent-%COMP%]{display:none}.row-def-empty[_ngcontent-%COMP%]{flex:1;min-height:160px;display:flex;align-items:center;justify-content:center;padding:32px 16px;border:2px dashed var(--cue-color-border, #d1d5db);border-radius:8px;cursor:pointer;margin-top:8px;transition:border-color .15s}.row-def-empty[_ngcontent-%COMP%]:hover{border-color:var(--cue-color-accent, #4f46e5)}.query-status[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;padding:6px 10px;font-size:12px;color:var(--cue-color-text-muted, #6b7280);background:var(--cue-color-surface-subtle, #f9fafb);border:1px solid var(--cue-color-border, #e5e7eb);border-radius:6px;margin-top:6px}@keyframes _ngcontent-%COMP%_spin{to{transform:rotate(360deg)}}.query-status-spinner[_ngcontent-%COMP%]{display:inline-block;width:11px;height:11px;border:2px solid currentColor;border-top-color:transparent;border-radius:50%;animation:_ngcontent-%COMP%_spin .7s linear infinite;flex-shrink:0}.add-column-row[_ngcontent-%COMP%]{padding:20px 10px;border-top:solid 1px #ccc;display:flex;align-items:center;justify-content:center;opacity:.4;cursor:pointer;transition:opacity .15s ease}.add-column-row[_ngcontent-%COMP%]:hover{opacity:.75}"],changeDetection:0})}return i})();var Ut=g(7293);function Ht(i,u){if(1&i){const t=e.RV6();e.j41(0,"cue-declarative-sparql-table",3),e.mxI("columnsChange",function(n){s.eBV(t);const o=e.XpG();return e.DH7(o.columns,n)||(o.columns=n),s.Njj(n)})("rowDefinitionChange",function(n){s.eBV(t);const o=e.XpG();return e.DH7(o.rowDefinition,n)||(o.rowDefinition=n),s.Njj(n)}),e.bIt("visibleRows",function(n){s.eBV(t);const o=e.XpG();return s.Njj(o.visibleRows.emit(n))})("columnDefsAG",function(n){s.eBV(t);const o=e.XpG();return s.Njj(o.columnDefsAG.emit(n))}),e.k0s()}if(2&i){const t=e.XpG();e.Y8G("handlers",u)("rowDefinitionHandlers",t._rowDefinitionHandlers()),e.R50("columns",t.columns)("rowDefinition",t.rowDefinition),e.Y8G("pageSize",t.pageSize())("size",t.size())("bufferFactor",t.bufferFactor())}}function Jt(i,u){1&i&&(e.j41(0,"cue-flexcontainer",1)(1,"cue-typography",4),e.EFF(2," No project connected. Pass a sdkState with cue and projectId. "),e.k0s()())}function Zt(i,u){if(1&i&&e.nrm(0,"cue-logo-link",2),2&i){let t;const a=e.XpG();e.Y8G("projectId",null==(t=a.sdkState())?null:t.projectId)}}let en=(()=>{class i{sdkState=(0,m.hFB)(void 0);columns=m.geq.required();rowDefinition=(0,m.geq)(K);pageSize=(0,m.hFB)(10,{transform:m.Udg});size=(0,m.hFB)("m");showLogo=(0,m.hFB)(!1,{transform:m.L39});bufferFactor=(0,m.hFB)(5,{transform:m.Udg});visibleRows=(0,m.CGW)();columnDefsAG=(0,m.CGW)();_entities=(0,s.vPA)(void 0);_documents=(0,s.vPA)(void 0);_handlers=(0,_.EW)(()=>{const t=this.sdkState();if(!t)return;const{cue:a,projectId:n,graphType:o="fuseki"}=t;return{queryHandler:l=>a.api.sparql(l,n,o)}});_rowDefinitionHandlers=(0,_.EW)(()=>{const t=this._entities(),a=this._documents();if(t&&a)return{contentCategoriesInProject:()=>t.contentCategoriesInProject(),randomFilePath:()=>a.randomFilePath()}});constructor(){(0,s.QZP)(()=>{const t=this.sdkState();t?.cue&&t?.projectId?(this._entities.set(new L.g8(t.cue.api,t.projectId)),this._documents.set(new L.f$(t.cue.api,t.projectId))):(this._entities.set(void 0),this._documents.set(void 0))})}static \u0275fac=function(a){return new(a||i)};static \u0275cmp=e.VBU({type:i,selectors:[["cue-sparql-table"]],inputs:{sdkState:[1,"sdkState"],columns:[1,"columns"],rowDefinition:[1,"rowDefinition"],pageSize:[1,"pageSize"],size:[1,"size"],showLogo:[1,"showLogo"],bufferFactor:[1,"bufferFactor"]},outputs:{columns:"columnsChange",rowDefinition:"rowDefinitionChange",visibleRows:"visibleRows",columnDefsAG:"columnDefsAG"},decls:3,vars:2,consts:[[3,"handlers","rowDefinitionHandlers","columns","rowDefinition","pageSize","size","bufferFactor"],["direction","column","align","center","justify","center",2,"height","100%","width","100%","padding","8px"],[2,"position","absolute","top","26px","left","26px","z-index","5",3,"projectId"],[3,"columnsChange","rowDefinitionChange","visibleRows","columnDefsAG","handlers","rowDefinitionHandlers","columns","rowDefinition","pageSize","size","bufferFactor"],[2,"color","#9ca3af","font-size","13px"]],template:function(a,n){if(1&a&&(e.nVh(0,Ht,1,7,"cue-declarative-sparql-table",0)(1,Jt,3,0,"cue-flexcontainer",1),e.nVh(2,Zt,1,1,"cue-logo-link",2)),2&a){let o;e.vxM((o=n._handlers())?0:1,o),e.R7$(2),e.vxM(n.showLogo()?2:-1)}},dependencies:[Yt,q.n,k.Typography,Ut.x],styles:["[_nghost-%COMP%]{display:block;width:100%;position:relative}"],changeDetection:0})}return i})()},7573(ae,N,g){g.d(N,{E:()=>m});const m={qcy:"https://dev.qaecy.com/ont#","qcy-e":"https://dev.qaecy.com/enum#","qcy-f":"https://dev.qaecy.com/functions#",obc:"https://w3id.org/obc#",dicc:"https://w3id.org/digitalconstruction/0.5/Contexts#",dicv:"https://w3id.org/digitalconstruction/0.5/Variables#",dice:"https://w3id.org/digitalconstruction/0.5/Entities#",dicp:"https://w3id.org/digitalconstruction/0.5/Processes#",dica:"https://w3id.org/digitalconstruction/0.5/Agents#",dici:"https://w3id.org/digitalconstruction/0.5/Information#",dicbm:"https://w3id.org/digitalconstruction/0.5/Materials#",dicob:"https://w3id.org/digitalconstruction/0.5/Occupancy#",dicl:"https://w3id.org/digitalconstruction/0.5/Lifecycle#",dices:"https://w3id.org/digitalconstruction/0.5/Energy#",dicu:"https://w3id.org/digitalconstruction/0.5/Units#",diclvl:"https://w3id.org/digitalconstruction/0.5/Levels#",dicstg:"https://w3id.org/digitalconstruction/0.5/Stages#"}}}]);
package/2839.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkcue_ui=self.webpackChunkcue_ui||[]).push([[2839],{2014(N,D,s){s.d(D,{z:()=>_});var C=s(7705),o=s(2271),l=s(5547);const m=["*"];let _=(()=>{class h{justify=(0,C.hFB)("start");size=(0,C.hFB)("l");widthStyle=(0,o.EW)(()=>`var(--cue-button-label-padding-${this.size()}-x)`);static \u0275fac=function(f){return new(f||h)};static \u0275cmp=l.VBU({type:h,selectors:[["cue-button-padder"]],inputs:{justify:[1,"justify"],size:[1,"size"]},ngContentSelectors:m,decls:2,vars:4,template:function(f,b){1&f&&(l.NAR(),l.rj2(0,"div"),l.SdG(1),l.eux()),2&f&&l.xc7("justify-content",b.justify())("min-width",b.widthStyle())},styles:["div[_ngcontent-%COMP%]{display:flex;align-items:center;min-height:1px}"]})}return h})()},2839(N,D,s){s.d(D,{u:()=>U});var C=s(467),o=s(5802),l=s(7705),m=s(2271),_=s(2611),h=s(9352),L=s(1951),M=s(6455),f=s(8334),b=s(5949),B=s(2843),P=s(3646),g=s(8017),y=s(2306),u=s(6103);let p=(()=>{class d{mapboxToken=(0,o.vPA)(void 0);entityData=(0,o.vPA)({});availableEntityRelationships=(0,o.vPA)([]);settings=(0,m.EW)(()=>{const t=this.mapboxToken();if(!t)return;const e=new y.yY;return e.mapboxToken=t,e.contextMenu.showFlyTo=!1,e.contextMenu.showProperties=!1,e});layers=(0,m.EW)(()=>{const t=this.entityData(),e=this.availableEntityRelationships();return(0,u.N)({entityData:t,availableEntityRelationships:e})});static \u0275fac=function(e){return new(e||d)};static \u0275prov=o.jDH({token:d,factory:d.\u0275fac,providedIn:"root"})}return d})();var A=s(3183),R=s(5902);let x=(()=>{class d{entities=(0,o.vPA)([]);entityData=(0,o.vPA)({});orderByMentionCount=(0,o.vPA)(!1);availableEntityCategories=(0,o.vPA)(void 0);labelValue=(0,h.Xx)("components.entityList.labelValue");labelCategories=(0,h.Xx)("components.entityList.labelCategories");labelMentions=(0,h.Xx)("components.entityList.labelMentionCount");_filterChangeCounter=(0,o.vPA)(0);filterChangeCounter=this._filterChangeCounter.asReadonly();onFilterChanged(){this._filterChangeCounter.update(t=>t+1)}columnDefs=(0,m.EW)(()=>{const t=[{field:"value",headerName:this.labelValue(),flex:2,filter:R.U,valueGetter:e=>!e.data?.value&&e.data?.loading?"Loading...":e.data?.value||e.data?.entity},{field:"categories",headerName:this.labelCategories(),flex:1.5,filter:A.A,valueGetter:e=>{const n=e.data?.categories;if(!n)return e.data?.loading?"...":"";const a=Array.isArray(n)?n:[n],r=this._leafEntityCategoryIris();return(r?a.filter(v=>r.has(v)):a).map(v=>this._getEntityCategoryLabel(v)).join(", ")}}];return this.orderByMentionCount()&&t.push({field:"mentionCount",headerName:this.labelMentions(),flex:1,filter:"agNumberColumnFilter",valueGetter:e=>{const n=e.data;if(n?.loading)return"...";const a=n?.mentionCount??0;return a>0?a:""},cellStyle:{textAlign:"center"}}),t});rows=(0,m.EW)(()=>{const t=this.entities()||[],e=this.entityData()||{},n=t.map(a=>{const r=e[a];return{entity:a,value:r?.value,categories:r?.categories,mentionCount:r?.mentionCount,loading:!r}});return this.orderByMentionCount()?n.sort((a,r)=>(r.mentionCount||0)-(a.mentionCount||0)):n});_leafEntityCategoryIris=(0,m.EW)(()=>{const t=this.availableEntityCategories();if(!t)return null;const e=new Set(t.map(n=>n.parent).filter(n=>!!n));return new Set(t.filter(n=>!e.has(n.iri)).map(n=>n.iri))});_getEntityCategoryLabel(t){const e=this.availableEntityCategories();if(void 0!==e){const n=e.find(a=>a.iri===t);if(n)return n.label}return this._prettifyCategory(t)}_prettifyCategory(t){if(!t)return"";const e=t.split("#");return(e[e.length-1]||t).replace(/([A-Z])/g," $1").trim()}static \u0275fac=function(e){return new(e||d)};static \u0275prov=o.jDH({token:d,factory:d.\u0275fac,providedIn:"root"})}return d})();var T=s(5971),w=s(5448),O=s(2014),G=s(5381),i=s(5547);function z(d,j){if(1&d){const t=i.RV6();i.j41(0,"cue-flexcontainer",2)(1,"cue-button",5),i.bIt("click",function(){o.eBV(t);const n=i.XpG();return o.Njj(n.onOrderByMentionCountClick())}),i.nrm(2,"cue-button-padder"),i.j41(3,"cue-button-label"),i.EFF(4),i.nI1(5,"transloco"),i.k0s(),i.nrm(6,"cue-button-padder"),i.k0s()()}if(2&d){const t=i.XpG();i.R7$(),i.Y8G("tooltip",t.infoOrderByMentionCount()),i.R7$(3),i.JRh(i.bMT(5,2,"components.entityList.labelOrderByMentionCount"))}}function F(d,j){if(1&d){const t=i.RV6();i.j41(0,"cue-tab",1),i.nI1(1,"transloco"),i.j41(2,"cue-map",6),i.bIt("clickedFeature",function(n){o.eBV(t);const a=i.XpG();return o.Njj(a.onMapFeatureClick(n))}),i.k0s()()}if(2&d){i.XpG();const t=i.r8f(6),e=i.r8f(7);i.Y8G("label",i.bMT(1,3,"components.entityList.tabMap")),i.R7$(2),i.Y8G("layers",e)("settings",t)}}let U=(()=>{class d{map=(0,o.WQX)(p);table=(0,o.WQX)(x);entities=l.hFB.required();mapboxToken=(0,l.hFB)(void 0);handlers=l.hFB.required();availableEntityCategories=(0,l.hFB)(void 0);availableEntityRelationships=(0,l.hFB)();entityData=(0,l.hFB)({});paginationPageSize=(0,l.hFB)(10);prefetchPages=(0,l.hFB)(3);size=(0,l.hFB)("m");variant=(0,l.hFB)("none");rowClicked=(0,l.CGW)();clickedOpen=(0,l.CGW)();_gridApi=null;_requestedIris=new Set;_requestedLocationIris=new Set;_isSorted=!1;_pendingMapClickIri=(0,o.vPA)(null);_bufferedUntilIndex=(0,o.vPA)(0);_locationBufferedUntilIndex=0;_lastEntitiesKey="";_destroyed=!1;labelOpenInEntityViewer=(0,h.Xx)("components.entityList.labelOpenInEntityViewer");infoOrderByMentionCount=(0,h.Xx)("components.entityList.infoOrderByMentionCount");overlaySettings={...new L.K,mode:"row"};overlayActions=(0,m.EW)(()=>[{label:this.labelOpenInEntityViewer(),icon:"info",action:t=>{this.handlers().requestOpen?.(t.rowData),this.clickedOpen.emit(t.rowData)}}]);constructor(){(0,o.QZP)(()=>this.map.mapboxToken.set(this.mapboxToken())),(0,o.QZP)(()=>{const t=this.entityData();this.map.entityData.update(e=>{let n=!1;const a={...e};for(const[r,c]of Object.entries(t))(c.directMapGeometries?.length||c.indirectMapGeometries?.length)&&(a[r]={value:"",categories:[],directMapGeometries:c.directMapGeometries,indirectMapGeometries:c.indirectMapGeometries},n=!0);return n?a:e})}),(0,o.QZP)(()=>this.map.availableEntityRelationships.set(this.availableEntityRelationships()??[])),(0,o.QZP)(()=>this.table.availableEntityCategories.set(this.availableEntityCategories())),(0,o.QZP)(()=>this.table.entities.set(this.entities())),(0,o.QZP)(()=>this.table.entityData.set(this.entityData())),(0,o.QZP)(()=>{const t=this._pendingMapClickIri();if(!t)return;const e=this.entityData()[t];e&&(this._pendingMapClickIri.set(null),this.rowClicked.emit({entity:t,value:e.value,categories:e.categories,mentionCount:e.mentionCount,loading:!1}))}),(0,o.QZP)(()=>{const e=this.entities().join("|");if(e!==this._lastEntitiesKey)if(this._lastEntitiesKey=e,this._requestedIris.clear(),this._requestedLocationIris.clear(),this._bufferedUntilIndex.set(0),this._locationBufferedUntilIndex=0,this.handlers().checkHasLocations&&this.handlers().requestLocations){const n=(this.availableEntityCategories()??[]).map(a=>a.iri);this.handlers().checkHasLocations(n).then(a=>{a&&!this._destroyed&&this._requestLocationBatch()})}else this.handlers().requestLocations&&setTimeout(()=>this._requestLocationBatch())}),(0,o.QZP)(()=>{const t=this.table.orderByMentionCount(),e=this.table.filterChangeCounter();if(t||e>0){const r=this.entities().filter(c=>!this._requestedIris.has(c));r.length>0&&(r.forEach(c=>this._requestedIris.add(c)),this.handlers().requestData(r,t))}})}rowSelection={mode:"singleRow",checkboxes:!1,enableClickSelection:!0};onGridReady(t){this._gridApi=t,t.addEventListener("viewportChanged",()=>this._checkViewport()),t.addEventListener("modelUpdated",()=>this._checkViewport()),t.addEventListener("paginationChanged",()=>this._checkViewport()),t.addEventListener("sortChanged",()=>{const e=t.getColumnState();this._isSorted=e.some(n=>null!=n.sort),this._isSorted&&this._requestAllUnloaded()}),t.addEventListener("filterChanged",()=>{this.table.onFilterChanged()}),setTimeout(()=>this._checkViewport(),100)}onMapFeatureClick(t){var e=this;return(0,C.A)(function*(){const a=t.feature.properties?.iri;a&&(e._pendingMapClickIri.set(a),yield e.handlers().requestData?.([a],e.table.orderByMentionCount()))})()}_checkViewport(){if(!this._gridApi||this._gridApi.isDestroyed?.())return;if(this._isSorted)return void this._requestAllUnloaded();const t=this.entities(),e=t.length;if(!e)return;const n=Math.max(1,this._gridApi.paginationGetPageSize?.()??this.paginationPageSize()),r=Math.max(0,this._gridApi.paginationGetCurrentPage?.()??0)*n,c=Math.min(e,r+n),v=this._bufferedUntilIndex();let E=null;if(0===v?E=0:(r>=Math.max(0,v-n)||c>v)&&(E=v),null===E||E>=e)return;const V=n*Math.max(1,this.prefetchPages()),k=Math.min(e,E+V),S=t.slice(E,k).filter(I=>!this._requestedIris.has(I));this._bufferedUntilIndex.set(Math.max(v,k)),S.length&&(S.forEach(I=>this._requestedIris.add(I)),setTimeout(()=>this.handlers().requestData(S,this.table.orderByMentionCount())))}_requestLocationBatch(){if(!this.handlers().requestLocations)return;const t=this.entities(),e=t.length;if(this._locationBufferedUntilIndex>=e)return;const a=Math.min(e,this._locationBufferedUntilIndex+500),r=t.slice(this._locationBufferedUntilIndex,a).filter(c=>!this._requestedLocationIris.has(c));this._locationBufferedUntilIndex=a,r.length>0&&(r.forEach(c=>this._requestedLocationIris.add(c)),setTimeout(()=>this.handlers().requestLocations(r))),a<e&&!this._destroyed&&setTimeout(()=>this._requestLocationBatch(),200)}ngOnDestroy(){this._destroyed=!0,this._gridApi=null}_requestAllUnloaded(){if(!this._gridApi)return;const t=[];if(this._gridApi.forEachNode(e=>{const n=e.data;n?.loading&&!this._requestedIris.has(n.entity)&&t.push(n.entity)}),t.length>0){const e=Array.from(new Set(t));e.forEach(n=>this._requestedIris.add(n)),this.handlers().requestData(e,this.table.orderByMentionCount())}}onOrderByMentionCountClick(){this.table.orderByMentionCount.set(!this.table.orderByMentionCount())}static \u0275fac=function(e){return new(e||d)};static \u0275cmp=i.VBU({type:d,selectors:[["cue-ent-list-inner"]],inputs:{entities:[1,"entities"],mapboxToken:[1,"mapboxToken"],handlers:[1,"handlers"],availableEntityCategories:[1,"availableEntityCategories"],availableEntityRelationships:[1,"availableEntityRelationships"],entityData:[1,"entityData"],paginationPageSize:[1,"paginationPageSize"],prefetchPages:[1,"prefetchPages"],size:[1,"size"],variant:[1,"variant"]},outputs:{rowClicked:"rowClicked",clickedOpen:"clickedOpen"},features:[i.Jv_([b.u,B.M,P.B,p,x])],decls:9,vars:15,consts:[[2,"position","relative","width","100%","height","100%","display","flex","flex-direction","column","gap","12px",3,"variant"],[3,"label"],["direction","row","justify","end",2,"width","100%","padding-bottom","6px"],[2,"flex","1","min-height","0","position","relative","display","flex","flex-direction","column"],["height","100%",2,"flex","1","min-height","0",3,"gridApiReady","selectedRows","columnDefs","rowData","rowSelection","paginationPageSize","size","overlaySettings","overlayActions"],["size","xs","variant","secondary",3,"click","tooltip"],[3,"clickedFeature","layers","settings"]],template:function(e,n){if(1&e&&(i.j41(0,"cue-tabs",0)(1,"cue-tab",1),i.nI1(2,"transloco"),i.nVh(3,z,7,4,"cue-flexcontainer",2),i.j41(4,"div",3)(5,"cue-ag-grid",4),i.bIt("gridApiReady",function(r){return n.onGridReady(r)})("selectedRows",function(r){return r[0]&&n.rowClicked.emit(r[0])}),i.k0s()()(),i.SS7(6)(7),i.nVh(8,F,3,5,"cue-tab",1),i.k0s()),2&e){i.Y8G("variant",n.variant()),i.R7$(),i.Y8G("label",i.bMT(2,11,"components.entityList.tabList")),i.R7$(2),i.vxM(n.table.orderByMentionCount()?-1:3),i.R7$(2),i.Y8G("columnDefs",n.table.columnDefs())("rowData",n.table.rows())("rowSelection",n.rowSelection)("paginationPageSize",n.paginationPageSize())("size",n.size())("overlaySettings",n.overlaySettings)("overlayActions",n.overlayActions()),i.R7$();const a=i.bH3(n.map.settings());i.R7$();const r=i.bH3(n.map.layers());i.R7$(),i.vxM(r.length>0&&a?8:-1)}},dependencies:[_.R,M.t,f.o,g.T,T.$,w.L,O.z,G.n,h.Kj],styles:["[_nghost-%COMP%]{display:block;width:100%;height:100%}"],changeDetection:0})}return d})()},6103(N,D,s){s.d(D,{N:()=>m});var C=s(2306),o=s(140),l=s(58);function m({entityData:_,availableEntityRelationships:h}){const L=g=>h.find(y=>y.iri===g)?.label??g.split("#").pop()??g,M=[],f={};for(const[g,y]of Object.entries(_)){for(const u of y.directMapGeometries??[])M.push({iri:g,wkt:u.wkt});for(const u of y.indirectMapGeometries??[]){f[u.rel]||(f[u.rel]=[]);for(const p of u.geometries)f[u.rel].push({iri:u.entityUUID,wkt:p.wkt})}}const b=(g,y,u)=>{if(!y.length)return null;const p=new C.ux(g,g);return p.category=u,p.collection=new o.o(y.flatMap(({iri:A,wkt:R})=>{const x=(0,l.S)(R);return x?[{type:"Feature",geometry:(0,l.n)(x),properties:{iri:A}}]:[]})),p},B=[],P=b("direct",M,"Direct");P&&B.push(P);for(const[g,y]of Object.entries(f)){const u=L(g),p=b(u,y,u);p&&B.push(p)}return B}}}]);
package/29.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkcue_ui=self.webpackChunkcue_ui||[]).push([[29],{5381(y,x,s){s.d(x,{n:()=>M});var c=s(7705),f=s(2271),m=s(5547);const a=["*"];let M=(()=>{class v{style=(0,c.hFB)("");gap=(0,c.hFB)("m");direction=(0,c.hFB)("row");wrap=(0,c.hFB)("nowrap");align=(0,c.hFB)("stretch");justify=(0,c.hFB)("start");noGap=(0,c.hFB)(!1);getStyles=(0,f.EW)(()=>{const w=this.noGap()?"0":`var(--cue-flex-gap-${this.gap()})`;return`\n flex-direction: ${this.direction()};\n flex-wrap: ${this.wrap()};\n align-items: ${this.align()};\n justify-content: ${this.justify()};\n gap: ${w};\n ${this.style()}\n `});static \u0275fac=function(l){return new(l||v)};static \u0275cmp=m.VBU({type:v,selectors:[["cue-flexcontainer"]],hostVars:2,hostBindings:function(l,E){2&l&&m.Aen(E.getStyles())},inputs:{style:[1,"style"],gap:[1,"gap"],direction:[1,"direction"],wrap:[1,"wrap"],align:[1,"align"],justify:[1,"justify"],noGap:[1,"noGap"]},ngContentSelectors:a,decls:1,vars:0,template:function(l,E){1&l&&(m.NAR(),m.SdG(0))},styles:["[_nghost-%COMP%]{display:flex;min-width:0;min-height:0}"]})}return v})()},29(y,x,s){s.d(x,{A:()=>w});var c=s(7705),f=s(2271),m=s(5869),a=s(5547),M=s(345);let v=(()=>{class l{sanitizer;constructor(u){this.sanitizer=u}transform(u){return this.sanitizer.bypassSecurityTrustHtml(u)}static \u0275fac=function(g){return new(g||l)(a.rXU(M.up,16))};static \u0275pipe=a.EJ8({name:"cueSafeHtml",type:l,pure:!0})}return l})();var B=s(5381);let w=(()=>{class l{name=(0,c.hFB)(void 0);size=(0,c.hFB)(void 0);getSvg=(0,f.EW)(()=>this.name()&&m[this.name()]);hostStyles=(0,f.EW)(()=>this.size()?`--cue-icon-width: ${{xs:"10px",s:"12px",m:"14px",l:"16px",xl:"18px"}[this.size()]}`:"");static \u0275fac=function(g){return new(g||l)};static \u0275cmp=a.VBU({type:l,selectors:[["cue-svg-icon"]],hostVars:2,hostBindings:function(g,k){2&g&&a.Aen(k.hostStyles())},inputs:{name:[1,"name"],size:[1,"size"]},decls:2,vars:4,consts:[["align","center","justify","center",3,"noGap","innerHTML"]],template:function(g,k){1&g&&(a.nrm(0,"cue-flexcontainer",0),a.nI1(1,"cueSafeHtml")),2&g&&a.Y8G("noGap",!0)("innerHTML",a.bMT(1,2,k.getSvg()??""),a.npT)},dependencies:[B.n,v],styles:["svg{display:block;width:var(--cue-icon-width);height:var(--cue-icon-width)}\n"],encapsulation:3})}return l})()},345(y,x,s){s.d(x,{up:()=>G});var h=s(5802),r=s(5547);let G=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=h.jDH({token:t,factory:function(n){let i=null;return i=n?new(n||t):h.KVO(L),i},providedIn:"root"})}return t})(),L=(()=>{class t extends G{_doc;constructor(e){super(),this._doc=e}sanitize(e,n){if(null==n)return null;switch(e){case r.WPN.NONE:return n;case r.WPN.HTML:return(0,r.iWE)(n,"HTML")?(0,r.aCM)(n):(0,r.wr$)(this._doc,String(n)).toString();case r.WPN.STYLE:return(0,r.iWE)(n,"Style")?(0,r.aCM)(n):n;case r.WPN.SCRIPT:if((0,r.iWE)(n,"Script"))return(0,r.aCM)(n);throw new h.buA(5200,!1);case r.WPN.URL:return(0,r.iWE)(n,"URL")?(0,r.aCM)(n):(0,r.gil)(String(n));case r.WPN.RESOURCE_URL:if((0,r.iWE)(n,"ResourceURL"))return(0,r.aCM)(n);throw new h.buA(5201,!1);default:throw new h.buA(5202,!1)}}bypassSecurityTrustHtml(e){return(0,r.PYC)(e)}bypassSecurityTrustStyle(e){return(0,r.rAh)(e)}bypassSecurityTrustScript(e){return(0,r.p2i)(e)}bypassSecurityTrustUrl(e){return(0,r.B1s)(e)}bypassSecurityTrustResourceUrl(e){return(0,r.RPW)(e)}static \u0275fac=function(n){return new(n||t)(h.KVO(h.qQL))};static \u0275prov=h.jDH({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})()},5869(y){y.exports=JSON.parse('{"add":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>\\n<svg id=\\"Ebene_1\\" xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"24\\" height=\\"24\\" version=\\"1.1\\" viewBox=\\"0 0 24 24\\">\\n \x3c!-- Generator: Adobe Illustrator 29.3.1, SVG Export Plug-In . SVG Version: 2.1.0 Build 151) --\x3e\\n <line x1=\\"18.5\\" y1=\\"12\\" x2=\\"5.5\\" y2=\\"12\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-miterlimit=\\"10\\" stroke-width=\\"1.5\\"/>\\n <line x1=\\"12\\" y1=\\"5.5\\" x2=\\"12\\" y2=\\"18.5\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-miterlimit=\\"10\\" stroke-width=\\"1.5\\"/>\\n</svg>","arrow-back":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>\\n<svg id=\\"Ebene_1\\" xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"24\\" height=\\"24\\" version=\\"1.1\\" viewBox=\\"0 0 24 24\\">\\n \x3c!-- Generator: Adobe Illustrator 29.3.1, SVG Export Plug-In . SVG Version: 2.1.0 Build 151) --\x3e\\n <polyline points=\\"11.4 17.5 5.9 12 11.4 6.5\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"1.5\\"/>\\n <line x1=\\"5.9\\" y1=\\"12\\" x2=\\"18\\" y2=\\"12\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"1.5\\"/>\\n</svg>","arrow-down":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" height=\\"24\\" viewBox=\\"0 -960 960 960\\" width=\\"24\\" fill=\\"currentColor\\"><path d=\\"M440-800v487L216-537l-56 57 320 320 320-320-56-57-224 224v-487h-80Z\\"/></svg>","arrow-dropdown":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>\\n<svg id=\\"Ebene_1\\" xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"24\\" height=\\"24\\" version=\\"1.1\\" viewBox=\\"0 0 24 24\\">\\n \x3c!-- Generator: Adobe Illustrator 29.3.1, SVG Export Plug-In . SVG Version: 2.1.0 Build 151) --\x3e\\n <polyline points=\\"17.9 10.2 11.9 16.2 5.9 10.2\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"1.5\\"/>\\n</svg>","arrow-up-down":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>\\n<svg id=\\"Ebene_1\\" xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"24\\" height=\\"24\\" version=\\"1.1\\" viewBox=\\"0 0 24 24\\">\\n \x3c!-- Generator: Adobe Illustrator 29.3.1, SVG Export Plug-In . SVG Version: 2.1.0 Build 151) --\x3e\\n <polyline points=\\"6.5 11.5 12 6 17.5 11.5\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"1.5\\"/>\\n <line x1=\\"12\\" y1=\\"6\\" x2=\\"12\\" y2=\\"18.1\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"1.5\\"/>\\n</svg>","arrow-up":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" height=\\"24\\" viewBox=\\"0 -960 960 960\\" width=\\"24\\" fill=\\"currentColor\\"><path d=\\"M440-160v-487L216-423l-56-57 320-320 320 320-56 57-224-224v487h-80Z\\"/></svg>","avatar":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>\\n<svg id=\\"Ebene_1\\" xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"24\\" height=\\"24\\" version=\\"1.1\\" viewBox=\\"0 0 24 24\\">\\n \x3c!-- Generator: Adobe Illustrator 29.3.1, SVG Export Plug-In . SVG Version: 2.1.0 Build 151) --\x3e\\n <path d=\\"M8.4,9.4c-.4-.6-.6-1.4-.6-2.1,0-2.3,1.9-4.2,4.2-4.2s4.2,1.9,4.2,4.2-1.6,3.9-4.2,4.2c-4.1.5-7.4,3-7.4,6.8v1.8\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"1.5\\"/>\\n <path d=\\"M12.2,11.5c4.1.5,7.4,3,7.4,6.8v1.8\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"1.5\\"/>\\n</svg>","black-white":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"512\\" height=\\"512\\" viewBox=\\"0 0 512 512\\"><path fill=\\"currentColor\\" d=\\"M256 0C114.6 0 0 114.6 0 256s114.6 256 256 256s256-114.6 256-256S397.4 0 256 0m0 469.3V42.7c117.8 0 213.3 95.5 213.3 213.3S373.8 469.3 256 469.3\\"/></svg>","brief":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"24\\" height=\\"24\\" viewBox=\\"0 0 24 24\\"><path fill=\\"currentColor\\" d=\\"M19 12.75H8a.75.75 0 0 1 0-1.5h11a.75.75 0 0 1 0 1.5m0-4.5H8a.75.75 0 0 1 0-1.5h11a.75.75 0 0 1 0 1.5m0 9H8a.75.75 0 0 1 0-1.5h11a.75.75 0 0 1 0 1.5M5 8.5a1 1 0 0 1-.38-.07a1.5 1.5 0 0 1-.33-.22A1 1 0 0 1 4 7.5a1.05 1.05 0 0 1 .29-.71a.9.9 0 0 1 .33-.21a1 1 0 0 1 .76 0a1 1 0 0 1 .33.21A1.05 1.05 0 0 1 6 7.5a1 1 0 0 1-.29.71a1.5 1.5 0 0 1-.33.22A1 1 0 0 1 5 8.5M5 13a1 1 0 0 1-.38-.08a1.2 1.2 0 0 1-.33-.21A1 1 0 0 1 4 12a1.05 1.05 0 0 1 .29-.71a1.2 1.2 0 0 1 .33-.21A1 1 0 0 1 5.2 11l.18.06l.18.09a2 2 0 0 1 .15.12A1.05 1.05 0 0 1 6 12a1 1 0 0 1-1 1m0 4.5a1 1 0 0 1-.38-.07a1.5 1.5 0 0 1-.33-.22a1.2 1.2 0 0 1-.21-.33a.94.94 0 0 1 0-.76a1.2 1.2 0 0 1 .21-.33a1 1 0 0 1 1.09-.21a1 1 0 0 1 .33.21a1.2 1.2 0 0 1 .21.33a.94.94 0 0 1 0 .76a1.2 1.2 0 0 1-.21.33a1 1 0 0 1-.71.29\\"/></svg>","calendar":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"24\\" height=\\"24\\" viewBox=\\"0 0 24 24\\"><path fill=\\"currentColor\\" d=\\"M19 4h-2V3a1 1 0 0 0-2 0v1H9V3a1 1 0 0 0-2 0v1H5a3 3 0 0 0-3 3v12a3 3 0 0 0 3 3h14a3 3 0 0 0 3-3V7a3 3 0 0 0-3-3m1 15a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1v-7h16Zm0-9H4V7a1 1 0 0 1 1-1h2v1a1 1 0 0 0 2 0V6h6v1a1 1 0 0 0 2 0V6h2a1 1 0 0 1 1 1Z\\"/></svg>","category":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"24\\" height=\\"24\\" viewBox=\\"0 0 24 24\\"><path fill=\\"currentColor\\" d=\\"m8.637 8.994l2.667-4.402q.13-.211.312-.295T12 4.213t.384.084t.312.295l2.667 4.402q.131.202.131.424t-.106.409t-.284.295t-.418.109H9.314q-.241 0-.422-.111t-.28-.293q-.106-.18-.106-.4t.13-.433M17.5 21.231q-1.567 0-2.649-1.082T13.769 17.5t1.082-2.649t2.649-1.082t2.649 1.082t1.082 2.649t-1.082 2.649t-2.649 1.082M3.77 19.922v-4.85q0-.343.231-.573q.233-.23.576-.23h4.85q.344 0 .574.232q.23.233.23.577v4.85q0 .343-.233.573q-.232.23-.576.23h-4.85q-.343 0-.573-.233q-.23-.232-.23-.576m13.73.309q1.147 0 1.94-.792t.792-1.939t-.792-1.939t-1.939-.792t-1.939.792t-.792 1.939t.792 1.939t1.938.792m-12.73-.5h4.462v-4.462H4.769zm4.858-10.5h4.746L12 5.427zM17.5 17.5\\"/></svg>","check":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"24\\" height=\\"24\\" viewBox=\\"0 0 24 24\\"><path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"1.5\\" d=\\"m5 13l5 5l9-11\\"/></svg>","close":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>\\n<svg id=\\"Ebene_1\\" xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"24\\" height=\\"24\\" version=\\"1.1\\" viewBox=\\"0 0 24 24\\">\\n \x3c!-- Generator: Adobe Illustrator 29.3.1, SVG Export Plug-In . SVG Version: 2.1.0 Build 151) --\x3e\\n <line x1=\\"17\\" y1=\\"7\\" x2=\\"7\\" y2=\\"17\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-miterlimit=\\"10\\" stroke-width=\\"1.5\\"/>\\n <line x1=\\"7\\" y1=\\"7\\" x2=\\"17\\" y2=\\"17\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-miterlimit=\\"10\\" stroke-width=\\"1.5\\"/>\\n</svg>","cloud":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"24\\" height=\\"24\\" viewBox=\\"0 0 24 24\\"><path fill=\\"currentColor\\" d=\\"M5.5 20A5.5 5.5 0 0 1 0 14.5A5.5 5.5 0 0 1 5.5 9c1-2.35 3.3-4 6-4c3.43 0 6.24 2.66 6.5 6.03l.5-.03c2.5 0 4.5 2 4.5 4.5S21 20 18.5 20zm0-10C3 10 1 12 1 14.5S3 19 5.5 19h13a3.5 3.5 0 0 0 3.5-3.5a3.5 3.5 0 0 0-3.5-3.5c-.56 0-1.1.13-1.57.37c.07-.28.07-.57.07-.87A5.5 5.5 0 0 0 11.5 6a5.51 5.51 0 0 0-5.31 4.05z\\"/></svg>","cloud-funnel":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" standalone=\\"no\\"?><svg width=\\"24\\" height=\\"24\\" viewBox=\\"0 0 24 24\\" version=\\"1.1\\" id=\\"svg33282\\" sodipodi:docname=\\"stash--cloud-arrow-up-light.svg\\" inkscape:version=\\"1.2 (dc2aeda, 2022-05-15)\\" xmlns:inkscape=\\"http://www.inkscape.org/namespaces/inkscape\\" xmlns:sodipodi=\\"http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd\\" xmlns=\\"http://www.w3.org/2000/svg\\" xmlns:svg=\\"http://www.w3.org/2000/svg\\"> <path fill=\\"currentColor\\" d=\\"M5.544 10.302a5.501 5.501 0 0 1 10.886-.186l.077.478l.48-.061q.252-.033.513-.033a4 4 0 0 1 0 8a.5.5 0 0 0 0 1c1.19 0 2.285-.416 3.143-1.111a5 5 0 0 0-3.317-8.886a6.502 6.502 0 0 0-12.729.372A5.001 5.001 0 0 0 6.5 19.5a.5.5 0 0 0 0-1a3.98 3.98 0 0 1-2.514-.889a4.002 4.002 0 0 1 1.223-6.898l.296-.101z\\" id=\\"path33278\\" /> <path style=\\"fill:none;stroke:#000000;stroke-width:1.2;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1;stop-color:#000000\\" d=\\"M 9.6812184,12.703611 H 14.318816 L 11.8992,16.721679 v 4.161571\\" id=\\"path33459\\" /></svg>","control":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"16\\" height=\\"16\\" viewBox=\\"0 0 16 16\\"><path fill=\\"none\\" stroke=\\"currentColor\\" d=\\"M8 4.5h6m-12 0h2.5m0 0a2 2 0 1 0 4 0a2 2 0 0 0-4 0Zm-2.5 7h6m3.5 0H14m-2.5 0a2 2 0 1 1-4 0a2 2 0 0 1 4 0Z\\" stroke-width=\\"1\\"/></svg>","copy":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"24\\" height=\\"24\\" viewBox=\\"0 0 24 24\\"><path fill=\\"currentColor\\" fill-rule=\\"evenodd\\" d=\\"M15 1.25h-4.056c-1.838 0-3.294 0-4.433.153c-1.172.158-2.121.49-2.87 1.238c-.748.749-1.08 1.698-1.238 2.87c-.153 1.14-.153 2.595-.153 4.433V16a3.75 3.75 0 0 0 3.166 3.705c.137.764.402 1.416.932 1.947c.602.602 1.36.86 2.26.982c.867.116 1.97.116 3.337.116h3.11c1.367 0 2.47 0 3.337-.116c.9-.122 1.658-.38 2.26-.982s.86-1.36.982-2.26c.116-.867.116-1.97.116-3.337v-5.11c0-1.367 0-2.47-.116-3.337c-.122-.9-.38-1.658-.982-2.26c-.531-.53-1.183-.795-1.947-.932A3.75 3.75 0 0 0 15 1.25m2.13 3.021A2.25 2.25 0 0 0 15 2.75h-4c-1.907 0-3.261.002-4.29.14c-1.005.135-1.585.389-2.008.812S4.025 4.705 3.89 5.71c-.138 1.029-.14 2.383-.14 4.29v6a2.25 2.25 0 0 0 1.521 2.13c-.021-.61-.021-1.3-.021-2.075v-5.11c0-1.367 0-2.47.117-3.337c.12-.9.38-1.658.981-2.26c.602-.602 1.36-.86 2.26-.981c.867-.117 1.97-.117 3.337-.117h3.11c.775 0 1.464 0 2.074.021M7.408 6.41c.277-.277.665-.457 1.4-.556c.754-.101 1.756-.103 3.191-.103h3c1.435 0 2.436.002 3.192.103c.734.099 1.122.28 1.399.556c.277.277.457.665.556 1.4c.101.754.103 1.756.103 3.191v5c0 1.435-.002 2.436-.103 3.192c-.099.734-.28 1.122-.556 1.399c-.277.277-.665.457-1.4.556c-.755.101-1.756.103-3.191.103h-3c-1.435 0-2.437-.002-3.192-.103c-.734-.099-1.122-.28-1.399-.556c-.277-.277-.457-.665-.556-1.4c-.101-.755-.103-1.756-.103-3.191v-5c0-1.435.002-2.437.103-3.192c.099-.734.28-1.122.556-1.399\\" clip-rule=\\"evenodd\\"/></svg>","dark-mode":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>\\n<svg id=\\"Ebene_1\\" xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"24\\" height=\\"24\\" version=\\"1.1\\" viewBox=\\"0 0 24 24\\">\\n \x3c!-- Generator: Adobe Illustrator 29.3.1, SVG Export Plug-In . SVG Version: 2.1.0 Build 151) --\x3e\\n <path d=\\"M12.6,12.2c-2.1-2.9-2.3-6.6-.9-9.6,0,0,0-.1,0-.1-1.6.2-3.1.9-4.5,1.9-3.9,3.1-4.8,8.8-2,12.9,3,4.4,9.1,5.4,13.4,2.3s2.3-2.1,2.9-3.4,0-.1,0-.1c-3.3.4-6.7-1-8.8-3.9Z\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"1.5\\"/>\\n</svg>","delete":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>\\n<svg id=\\"Ebene_1\\" xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"24\\" height=\\"24\\" version=\\"1.1\\" viewBox=\\"0 0 24 24\\">\\n \x3c!-- Generator: Adobe Illustrator 29.3.1, SVG Export Plug-In . SVG Version: 2.1.0 Build 151) --\x3e\\n <path d=\\"M6.3,6.5h11.6v11.2c0,1.2-1,2.3-2.3,2.3h-7.1c-1.2,0-2.3-1-2.3-2.3V6.5h0Z\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"1.5\\"/>\\n <line x1=\\"4.2\\" y1=\\"6.5\\" x2=\\"19.9\\" y2=\\"6.5\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"1.5\\"/>\\n <path d=\\"M8.9,5.1v-1.8c0-.3.2-.5.5-.5h5.3c.3,0,.5.2.5.5v1.8\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linejoin=\\"round\\" stroke-width=\\"1.5\\"/>\\n</svg>","difference":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"24\\" height=\\"24\\" viewBox=\\"0 0 24 24\\"><path fill=\\"currentColor\\" d=\\"M4 2h8a3 3 0 0 1 3 3v1h-1V5a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h1v1H4a3 3 0 0 1-3-3V5a3 3 0 0 1 3-3m11 6v3h-1V9h-2V8zm3 0a3 3 0 0 1 3 3v8a3 3 0 0 1-3 3h-8a3 3 0 0 1-3-3v-1h1v1a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2v-8a2 2 0 0 0-2-2h-1V8zM7 15v-2h1v2h2v1H7zm8-2a3 3 0 0 1-3 3v-1a2 2 0 0 0 2-2zm-5-4a2 2 0 0 0-2 2H7a3 3 0 0 1 3-3z\\"/></svg>","document":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"28\\" height=\\"28\\" viewBox=\\"0 0 28 28\\"><path fill=\\"currentColor\\" d=\\"M6.4 2A2.4 2.4 0 0 0 4 4.4v19.2A2.4 2.4 0 0 0 6.4 26h15.2a2.4 2.4 0 0 0 2.4-2.4V11.578c0-.729-.29-1.428-.805-1.944l-6.931-6.931A2.4 2.4 0 0 0 14.567 2zm-.9 2.4a.9.9 0 0 1 .9-.9H14V10a2 2 0 0 0 2 2h6.5v11.6a.9.9 0 0 1-.9.9H6.4a.9.9 0 0 1-.9-.9zm16.44 6.1H16a.5.5 0 0 1-.5-.5V4.06z\\"/></svg>","download":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"24\\" height=\\"24\\" viewBox=\\"0 0 24 24\\"><path fill=\\"currentColor\\" d=\\"M11 5.5a5.5 5.5 0 0 0-5.456 4.802l-.04.31l-.295.1A4.002 4.002 0 0 0 6.5 18.5a.5.5 0 0 1 0 1a4.98 4.98 0 0 1-3.143-1.111a5 5 0 0 1 1.24-8.514a6.502 6.502 0 0 1 12.73-.372q.086-.003.173-.003a5 5 0 0 1 0 10a.5.5 0 0 1 0-1c.953 0 1.827-.333 2.514-.889a4 4 0 0 0-3.028-7.079l-.48.062l-.076-.478A5.5 5.5 0 0 0 11 5.5\\"/><path fill=\\"currentColor\\" d=\\"m12.354 21.354l2.5-2.5a.5.5 0 0 0-.708-.708L12.5 19.793V13a.5.5 0 0 0-1 0v6.793l-1.646-1.647a.5.5 0 0 0-.708.708l2.5 2.5a.5.5 0 0 0 .708 0\\"/></svg>","edit":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"24\\" height=\\"24\\" viewBox=\\"0 0 24 24\\"><path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-width=\\"1.5\\" d=\\"m14.36 4.079l.927-.927a3.932 3.932 0 0 1 5.561 5.561l-.927.927m-5.56-5.561s.115 1.97 1.853 3.707C17.952 9.524 19.92 9.64 19.92 9.64m-5.56-5.561L12 6.439m7.921 3.2l-5.26 5.262L11.56 18l-.16.161c-.578.577-.867.866-1.185 1.114a6.6 6.6 0 0 1-1.211.749c-.364.173-.751.302-1.526.56l-3.281 1.094m0 0l-.802.268a1.06 1.06 0 0 1-1.342-1.342l.268-.802m1.876 1.876l-1.876-1.876m0 0l1.094-3.281c.258-.775.387-1.162.56-1.526q.309-.647.749-1.211c.248-.318.537-.607 1.114-1.184L8.5 9.939\\"/></svg>","email":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"24\\" height=\\"24\\" viewBox=\\"0 0 24 24\\"><path fill=\\"currentColor\\" fill-rule=\\"evenodd\\" d=\\"m4.2 5.2l7.56 5.67a.4.4 0 0 0 .48 0L19.8 5.2zm16.6.75l-7.84 5.88a1.6 1.6 0 0 1-1.92 0L3.2 5.95V18.8h17.6zM3 4h18a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1\\"/></svg>","expand":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"21\\" height=\\"21\\" viewBox=\\"0 0 21 21\\"><path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" d=\\"M18.5 7.5v-5h-5m5 0l-6 5.929M7.5 18.5l-5 .023V13.5m6-1l-6 6\\" stroke-width=\\"1\\"/></svg>","external-link":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"16\\" height=\\"16\\" viewBox=\\"0 0 16 16\\"><path fill=\\"currentColor\\" d=\\"M15 1.31a.5.5 0 0 0-.461-.309h-4a.5.5 0 0 0 0 1h2.79l-7.15 7.15a.5.5 0 0 0 .707.707l7.15-7.15v2.79a.5.5 0 0 0 1 0v-4a.5.5 0 0 0-.038-.188z\\"/><path fill=\\"currentColor\\" d=\\"M3.5 3A2.5 2.5 0 0 0 1 5.5v7A2.5 2.5 0 0 0 3.5 15h7a2.5 2.5 0 0 0 2.5-2.5v-5a.5.5 0 0 0-1 0v5a1.5 1.5 0 0 1-1.5 1.5h-7A1.5 1.5 0 0 1 2 12.5v-7A1.5 1.5 0 0 1 3.5 4h5a.5.5 0 0 0 0-1z\\"/></svg>","filter":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>\\n<svg id=\\"Ebene_1\\" xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"24\\" height=\\"24\\" version=\\"1.1\\" viewBox=\\"0 0 24 24\\">\\n \x3c!-- Generator: Adobe Illustrator 29.3.1, SVG Export Plug-In . SVG Version: 2.1.0 Build 151) --\x3e\\n <line x1=\\"2.5\\" y1=\\"7\\" x2=\\"21.5\\" y2=\\"7\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"1.5\\"/>\\n <line x1=\\"4.9\\" y1=\\"12\\" x2=\\"19.1\\" y2=\\"12\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"1.5\\"/>\\n <line x1=\\"8.4\\" y1=\\"17\\" x2=\\"15.6\\" y2=\\"17\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"1.5\\"/>\\n</svg>","flip":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"24\\" height=\\"24\\" viewBox=\\"0 0 24 24\\"><g fill=\\"none\\" stroke=\\"currentColor\\" stroke-width=\\"1.5\\"><path stroke-linecap=\\"round\\" d=\\"M22 9.667v4.666M16.5 3.015c-.5-.017-1-.018-1.5-.016m1.5 17.986c-.5.017-1 .018-1.5.017m4.255-17.465a5 5 0 0 1 2.217 2.226M21.5 18.18a5 5 0 0 1-2.245 2.283\\"/><path d=\\"M12 5.505c0-1.958-.638-2.498-2.5-2.498c-2.532 0-5.454-.25-6.897 2.248C2 6.3 2 7.7 2 10.501v2.998c0 2.801 0 4.202.603 5.246c1.443 2.498 4.365 2.248 6.897 2.248c1.862 0 2.5-.54 2.5-2.498z\\"/></g></svg>","folder":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>\\n<svg id=\\"Ebene_1\\" xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"24\\" height=\\"24\\" version=\\"1.1\\" viewBox=\\"0 0 24 24\\">\\n \x3c!-- Generator: Adobe Illustrator 29.3.1, SVG Export Plug-In . SVG Version: 2.1.0 Build 151) --\x3e\\n <path d=\\"M16.1,4.4s-7,0-10.1,0c-1.6,0-2.8,1.3-2.8,2.8v11c0,.6.5,1.2,1.2,1.2h15c.6,0,1.2-.5,1.2-1.2h0v-9.6c0-.6-.5-1.2-1.2-1.2H7.4c-.6,0-1.2.5-1.2,1.2h0v5.1\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"1.5\\"/>\\n</svg>","follow-up":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"24\\" height=\\"24\\" version=\\"1.1\\" viewBox=\\"0 0 24 24\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-width=\\"1.2\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\"> <path d=\\"M3 16v-8a4 4 0 0 1 4-4h10a4 4 0 0 1 4 4v8a4 4 0 0 1-4 4H7l-4 4\\" /> <circle cx=\\"12\\" cy=\\"12\\" r=\\"3\\" /> <path d=\\"M12 10v2\\" /> <path d=\\"M12 16h.01\\" /></svg>","fullscreen":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>\\n<svg id=\\"Ebene_1\\" xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"24\\" height=\\"24\\" version=\\"1.1\\" viewBox=\\"0 0 24 24\\">\\n \x3c!-- Generator: Adobe Illustrator 29.3.1, SVG Export Plug-In . SVG Version: 2.1.0 Build 151) --\x3e\\n <polyline points=\\"3.8 9.3 3.8 3.8 9.2 3.8\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"1.5\\"/>\\n <polyline points=\\"9.2 20.2 3.8 20.2 3.8 14.7\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"1.5\\"/>\\n <polyline points=\\"20.2 14.7 20.2 20.2 14.8 20.2\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"1.5\\"/>\\n <polyline points=\\"14.8 3.8 20.2 3.8 20.2 9.3\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"1.5\\"/>\\n</svg>","funnel":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"24\\" height=\\"24\\" fill=\\"none\\" viewBox=\\"0 0 24 24\\" stroke=\\"currentColor\\" stroke-width=\\"1.5\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\">\\n <path d=\\"M3 4h18l-7 9v5a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-5L3 4z\\"/>\\n</svg>","go":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"16\\" height=\\"16\\" viewBox=\\"0 0 16 16\\"><path fill=\\"currentColor\\" d=\\"M1 8.5a.5.5 0 0 1 .5-.5h9.79L7.14 3.85a.5.5 0 0 1 .707-.707l5 5a.5.5 0 0 1 0 .707l-5 5a.5.5 0 0 1-.707-.707l4.15-4.15H1.5a.5.5 0 0 1-.5-.5zm14 4a.5.5 0 0 0 1 0v-8a.5.5 0 0 0-1 0z\\"/></svg>","google":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"24\\" height=\\"24\\" viewBox=\\"0 0 24 24\\"><path fill=\\"currentColor\\" d=\\"M12 11h8.533q.066.578.067 1.184c0 2.734-.98 5.036-2.678 6.6c-1.485 1.371-3.518 2.175-5.942 2.175A8.976 8.976 0 0 1 3 11.98A8.976 8.976 0 0 1 11.98 3c2.42 0 4.453.89 6.008 2.339L16.526 6.8C15.368 5.681 13.803 5 12 5a7 7 0 0 0 0 14c3.527 0 6.144-2.608 6.577-6H12z\\"/></svg>","info":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"24\\" height=\\"24\\" viewBox=\\"0 0 24 24\\"><path fill=\\"currentColor\\" d=\\"M12.002 1.999c5.523 0 10.001 4.478 10.001 10.002c0 5.523-4.478 10.001-10.001 10.001C6.478 22.002 2 17.524 2 12.001C2 6.477 6.478 1.999 12.002 1.999m0 1.5a8.502 8.502 0 1 0 0 17.003a8.502 8.502 0 0 0 0-17.003M12 10.5a.75.75 0 0 1 .75.75v5a.75.75 0 0 1-1.5 0v-5a.75.75 0 0 1 .75-.75M12 9a1 1 0 1 0 0-2a1 1 0 0 0 0 2\\"/></svg>","intersection":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"24\\" height=\\"24\\" viewBox=\\"0 0 24 24\\"><path fill=\\"currentColor\\" d=\\"M4 2h1v1H4a2 2 0 0 0-2 2v1H1V5a3 3 0 0 1 3-3m5 0v1H7V2zm3 0a3 3 0 0 1 3 3v1h-1V5a2 2 0 0 0-2-2h-1V2zm3 6v5a3 3 0 0 1-3 3H7v-5a3 3 0 0 1 3-3zM2 10H1V8h1zm0 3a2 2 0 0 0 2 2h1v1H4a3 3 0 0 1-3-3v-1h1zm6 6a2 2 0 0 0 2 2h1v1h-1a3 3 0 0 1-3-3v-1h1zm10 2a2 2 0 0 0 2-2v-1h1v1a3 3 0 0 1-3 3h-1v-1zm2-10a2 2 0 0 0-2-2h-1V8h1a3 3 0 0 1 3 3v1h-1zm1 5h-1v-2h1zm-8 6v-1h2v1zm-1-7a2 2 0 0 0 2-2V9h-4a2 2 0 0 0-2 2v4z\\"/></svg>","layers":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"24\\" height=\\"24\\" fill=\\"none\\" viewBox=\\"0 0 24 24\\" stroke=\\"currentColor\\" stroke-width=\\"1.5\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\">\\n <polygon points=\\"4 6 12 12 20 6 12 0 4 6\\"/>\\n <path d=\\"M4 10l8 6 8-6\\"/>\\n <path d=\\"M4 14l8 6 8-6\\"/>\\n</svg>","layers-clear":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"24\\" height=\\"24\\" fill=\\"none\\" viewBox=\\"0 0 24 24\\" stroke=\\"currentColor\\" stroke-width=\\"1.5\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\">\\n <polygon points=\\"4 6 12 12 20 6 12 0 4 6\\"/>\\n <path d=\\"M4 10l8 6 8-6\\"/>\\n <path d=\\"M4 14l8 6 8-6\\"/>\\n <line x1=\\"3\\" y1=\\"21\\" x2=\\"21\\" y2=\\"3\\"/>\\n</svg>","layout":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>\\n<svg id=\\"Ebene_1\\" xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"24\\" height=\\"24\\" version=\\"1.1\\" viewBox=\\"0 0 24 24\\">\\n \x3c!-- Generator: Adobe Illustrator 29.3.1, SVG Export Plug-In . SVG Version: 2.1.0 Build 151) --\x3e\\n <rect x=\\"3.8\\" y=\\"3.8\\" width=\\"6.7\\" height=\\"6.7\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"1.5\\"/>\\n <rect x=\\"13.6\\" y=\\"3.8\\" width=\\"6.7\\" height=\\"6.7\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"1.5\\"/>\\n <rect x=\\"3.8\\" y=\\"13.6\\" width=\\"6.7\\" height=\\"6.7\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"1.5\\"/>\\n <polyline points=\\"20.2 20.3 13.6 20.3 13.6 13.6 20.3 13.6 20.3 17.8\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"1.5\\"/>\\n</svg>","light-mode":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>\\n<svg id=\\"Ebene_1\\" xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"24\\" height=\\"24\\" version=\\"1.1\\" viewBox=\\"0 0 24 24\\">\\n \x3c!-- Generator: Adobe Illustrator 29.3.1, SVG Export Plug-In . SVG Version: 2.1.0 Build 151) --\x3e\\n <path d=\\"M12,18.6c3.6,0,6.6-2.9,6.6-6.6s-2.9-6.6-6.6-6.6-6.6,2.9-6.6,6.6,2.9,6.6,6.6,6.6Z\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-miterlimit=\\"10\\" stroke-width=\\"1.5\\"/>\\n <path d=\\"M12,2.7V.8\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-miterlimit=\\"10\\" stroke-width=\\"1.5\\"/>\\n <path d=\\"M12,23.2v-1.9\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-miterlimit=\\"10\\" stroke-width=\\"1.5\\"/>\\n <path d=\\"M2.7,12H.8\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-miterlimit=\\"10\\" stroke-width=\\"1.5\\"/>\\n <path d=\\"M23.2,12h-1.9\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-miterlimit=\\"10\\" stroke-width=\\"1.5\\"/>\\n <path d=\\"M5.4,18.6l-1.3,1.3\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-miterlimit=\\"10\\" stroke-width=\\"1.5\\"/>\\n <path d=\\"M19.9,4.1l-1.3,1.3\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-miterlimit=\\"10\\" stroke-width=\\"1.5\\"/>\\n <path d=\\"M18.6,18.6l1.3,1.3\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-miterlimit=\\"10\\" stroke-width=\\"1.5\\"/>\\n <path d=\\"M4.1,4.1l1.3,1.3\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-miterlimit=\\"10\\" stroke-width=\\"1.5\\"/>\\n</svg>","lightning":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"24\\" height=\\"24\\" viewBox=\\"0 0 24 24\\"><path fill=\\"none\\" stroke=\\"currentColor\\" d=\\"m18.496 10.709l-8.636 8.88c-.24.246-.638-.039-.482-.345l3.074-6.066a.3.3 0 0 0-.268-.436H5.718a.3.3 0 0 1-.214-.51l8.01-8.115c.232-.235.618.023.489.328L11.706 9.86a.3.3 0 0 0 .28.417l6.291-.078a.3.3 0 0 1 .22.509Z\\" stroke-width=\\"1\\"/></svg>","link":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"24\\" height=\\"24\\" viewBox=\\"0 0 24 24\\"><path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"1.5\\" d=\\"m15.988 13l3.902-3.902c1.437-1.437 1.485-3.718.107-5.095c-1.377-1.378-3.658-1.33-5.095.107L11 8.012m2 7.95l-3.892 3.88c-1.432 1.43-3.64 1.615-5.082.107c-1.442-1.507-1.326-3.639.107-5.068L8.025 11M9 15l6-6\\"/></svg>","map":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"24\\" height=\\"24\\" fill=\\"none\\" viewBox=\\"0 0 24 24\\" stroke=\\"currentColor\\" stroke-width=\\"1.3\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\">\\n <polygon points=\\"9 18 3 20 3 6 9 4 9 18\\"/>\\n <polygon points=\\"15 20 9 18 9 4 15 6 15 20\\"/>\\n <polygon points=\\"21 18 15 20 15 6 21 4 21 18\\"/>\\n</svg>","menu-burger":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"24\\" height=\\"24\\" viewBox=\\"0 0 24 24\\"><path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2.5\\" d=\\"M3 6h18M3 12h18M3 18h18\\"/></svg>","merge":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"20\\" height=\\"20\\" viewBox=\\"0 0 20 20\\"><path fill=\\"currentColor\\" d=\\"M3 5.5a.5.5 0 0 1 .5-.5h1.653c1 0 1.952.428 2.616 1.175l2.21 2.486a2.5 2.5 0 0 0 1.868.839h4.446l-3.647-3.646a.5.5 0 0 1 .708-.708l4.5 4.5a.5.5 0 0 1 0 .708l-4.5 4.5a.5.5 0 0 1-.708-.708l3.647-3.646h-4.446a2.5 2.5 0 0 0-1.868.84l-2.21 2.485A3.5 3.5 0 0 1 5.153 15H3.5a.5.5 0 0 1 0-1h1.653a2.5 2.5 0 0 0 1.868-.84l2.21-2.485c.238-.268.513-.494.813-.675c-.3-.18-.575-.407-.813-.675L7.021 6.84A2.5 2.5 0 0 0 5.153 6H3.5a.5.5 0 0 1-.5-.5\\"/></svg>","microsoft":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"24\\" height=\\"24\\" viewBox=\\"0 0 24 24\\"><path fill=\\"currentColor\\" d=\\"M4 4h7.5v7.5H4Zm8.5 0H20v7.5h-7.5ZM4 12.5h7.5V20H4Zm8.5 0H20V20h-7.5Z\\"/></svg>","more-vert":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" height=\\"24\\" viewBox=\\"0 -960 960 960\\" width=\\"24\\" fill=\\"currentColor\\"><path d=\\"M480-160q-33 0-56.5-23.5T400-240q0-33 23.5-56.5T480-320q33 0 56.5 23.5T560-240q0 33-23.5 56.5T480-160Zm0-240q-33 0-56.5-23.5T400-480q0-33 23.5-56.5T480-560q33 0 56.5 23.5T560-480q0 33-23.5 56.5T480-400Zm0-240q-33 0-56.5-23.5T400-720q0-33 23.5-56.5T480-800q33 0 56.5 23.5T560-720q0 33-23.5 56.5T480-640Z\\"/></svg>","move-click":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>\\n<svg id=\\"Ebene_1\\" xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"24\\" height=\\"24\\" version=\\"1.1\\" viewBox=\\"0 0 24 24\\">\\n \x3c!-- Generator: Adobe Illustrator 29.3.1, SVG Export Plug-In . SVG Version: 2.1.0 Build 151) --\x3e\\n <path d=\\"M19.4,16.4c0,0,0-.2,0-.2s0-.2,0-.2V7c0-.8-.6-1.4-1.4-1.4s-1.4.6-1.4,1.4v-2c0-.8-.6-1.4-1.4-1.4s-1.4.6-1.4,1.4v-2.1c0-.8-.6-1.4-1.4-1.4s-1.4.6-1.4,1.4v1.9c0-.8-.6-1.4-1.4-1.4s-1.4.6-1.4,1.4v8.2s-1.3-1.9-1.3-1.9c-.9-1.3-2.6-1.7-3.9-.8,0,0,2.8,4.6,3.3,6.2,1,3,3.2,6.1,6.8,6.1s6.1-2.6,6.3-5.8c0,0,0,0,0,0v-.2Z\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"1.5\\"/>\\n <line x1=\\"11\\" y1=\\"4.8\\" x2=\\"11\\" y2=\\"11.1\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"1.5\\"/>\\n <line x1=\\"13.8\\" y1=\\"4.8\\" x2=\\"13.8\\" y2=\\"10.7\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"1.5\\"/>\\n <line x1=\\"16.6\\" y1=\\"5.6\\" x2=\\"16.6\\" y2=\\"11.9\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"1.5\\"/>\\n</svg>","move-grab":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>\\n<svg id=\\"Ebene_1\\" xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"24\\" height=\\"24\\" version=\\"1.1\\" viewBox=\\"0 0 24 24\\">\\n \x3c!-- Generator: Adobe Illustrator 29.3.1, SVG Export Plug-In . SVG Version: 2.1.0 Build 151) --\x3e\\n <path d=\\"M19.5,16.2c0,0,0-.2,0-.3s0-.2,0-.3v-4.7c0-.8-.6-1.4-1.4-1.4s-1.4.6-1.4,1.4v-2c0-.8-.6-1.4-1.4-1.4s-1.4.6-1.4,1.4v-.6c0-.8-.6-1.4-1.4-1.4s-1.4.6-1.4,1.4v.4c0-.8-.6-1.4-1.4-1.4s-1.4.6-1.4,1.4v4s-.4-.6-.4-.6c0,0,0,0,0,0-1.1-1.6-3.4,0-2.5,1.7.8,1.4.8,1.6,1,2.4,1.1,3,3.3,6.2,6.9,6.2s6.2-2.6,6.4-5.9c0,0,0,0,0,0v-.2Z\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"1.5\\"/>\\n <line x1=\\"10.9\\" y1=\\"8.8\\" x2=\\"10.9\\" y2=\\"10.9\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"1.5\\"/>\\n <line x1=\\"13.7\\" y1=\\"8.8\\" x2=\\"13.7\\" y2=\\"10.4\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"1.5\\"/>\\n <line x1=\\"16.6\\" y1=\\"9.6\\" x2=\\"16.6\\" y2=\\"11.7\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"1.5\\"/>\\n</svg>","paginator-back":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" height=\\"24\\" viewBox=\\"0 -960 960 960\\" width=\\"24\\" fill=\\"currentColor\\"><path d=\\"M560-240 320-480l240-240 56 56-184 184 184 184-56 56Z\\"/></svg>","paginator-first":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" height=\\"24\\" viewBox=\\"0 -960 960 960\\" width=\\"24\\" fill=\\"currentColor\\"><path d=\\"M240-240v-480h80v480h-80Zm440 0L440-480l240-240 56 56-184 184 184 184-56 56Z\\"/></svg>","paginator-last":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" height=\\"24\\" viewBox=\\"0 -960 960 960\\" width=\\"24\\" fill=\\"currentColor\\"><path d=\\"m280-240-56-56 184-184-184-184 56-56 240 240-240 240Zm360 0v-480h80v480h-80Z\\"/></svg>","paginator-next":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" height=\\"24\\" viewBox=\\"0 -960 960 960\\" width=\\"24\\" fill=\\"currentColor\\"><path d=\\"M504-480 320-664l56-56 240 240-240 240-56-56 184-184Z\\"/></svg>","pdf":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"24\\" height=\\"24\\" viewBox=\\"0 0 24 24\\"><path fill=\\"currentColor\\" d=\\"M18.53 9L13 3.47a.75.75 0 0 0-.53-.22H8A2.75 2.75 0 0 0 5.25 6v12A2.75 2.75 0 0 0 8 20.75h8A2.75 2.75 0 0 0 18.75 18V9.5a.75.75 0 0 0-.22-.5m-5.28-3.19l2.94 2.94h-2.94ZM16 19.25H8A1.25 1.25 0 0 1 6.75 18V6A1.25 1.25 0 0 1 8 4.75h3.75V9.5a.76.76 0 0 0 .75.75h4.75V18A1.25 1.25 0 0 1 16 19.25\\"/><path fill=\\"currentColor\\" d=\\"M13.49 14.85a3.15 3.15 0 0 1-1.31-1.66a4.44 4.44 0 0 0 .19-2a.8.8 0 0 0-1.52-.19a5 5 0 0 0 .25 2.4A29 29 0 0 1 9.83 16c-.71.4-1.68 1-1.83 1.69c-.12.56.93 2 2.72-1.12a19 19 0 0 1 2.44-.72a4.7 4.7 0 0 0 2 .61a.82.82 0 0 0 .62-1.38c-.42-.43-1.67-.31-2.29-.23m-4.78 3a4.3 4.3 0 0 1 1.09-1.24c-.68 1.08-1.09 1.27-1.09 1.25Zm2.92-6.81c.26 0 .24 1.15.06 1.46a3.1 3.1 0 0 1-.06-1.45Zm-.87 4.88a15 15 0 0 0 .88-1.92a3.9 3.9 0 0 0 1.08 1.26a12.4 12.4 0 0 0-1.96.67Zm4.7-.18s-.18.22-1.33-.28c1.25-.08 1.46.21 1.33.29Z\\"/></svg>","pin":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"16\\" height=\\"16\\" viewBox=\\"0 0 16 16\\"><path fill=\\"currentColor\\" d=\\"M10.059 2.445a1.5 1.5 0 0 0-2.386.354l-2.02 3.79l-2.811.937a.5.5 0 0 0-.196.828L4.793 10.5l-2.647 2.647L2 14l.854-.146L5.5 11.207l2.146 2.147a.5.5 0 0 0 .828-.196l.937-2.81l3.779-2.024a1.5 1.5 0 0 0 .354-2.38zm-1.504.824a.5.5 0 0 1 .796-.118l3.485 3.498a.5.5 0 0 1-.118.794L8.764 9.559a.5.5 0 0 0-.238.283l-.744 2.233l-3.856-3.856l2.232-.744a.5.5 0 0 0 .283-.24z\\"/></svg>","pin-off":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"16\\" height=\\"16\\" viewBox=\\"0 0 16 16\\"><path fill=\\"currentColor\\" d=\\"m9.56 10.267l4.586 4.587a.5.5 0 0 0 .708-.708l-13-13a.5.5 0 1 0-.708.708l4.586 4.585l-.08.15l-2.81.937a.5.5 0 0 0-.196.828L4.793 10.5l-2.647 2.646L2 14l.854-.146L5.5 11.207l2.146 2.147a.5.5 0 0 0 .828-.196l.937-2.811zm-.739-.739l-.057.031a.5.5 0 0 0-.238.283l-.744 2.232L3.926 8.22l2.232-.745a.5.5 0 0 0 .283-.239l.03-.056zm3.897-2.085l-2.054 1.1l.738.738l1.788-.957a1.5 1.5 0 0 0 .354-2.381L10.06 2.445a1.5 1.5 0 0 0-2.386.353l-.957 1.796l.739.74l1.1-2.065a.5.5 0 0 1 .796-.118l3.485 3.498a.5.5 0 0 1-.118.794\\"/></svg>","polygon":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"256\\" height=\\"256\\" viewBox=\\"0 0 256 256\\"><path fill=\\"currentColor\\" d=\\"M229.23 50.78a30 30 0 0 0-42.44 0a29.8 29.8 0 0 0-5.56 7.69l-31.31-8.54a30 30 0 0 0-51.14-23.16a30.09 30.09 0 0 0-4.65 36.43l-36.3 32.67a30.07 30.07 0 0 0-39.06 2.91a30 30 0 0 0 41.38 43.44l72.6 53.25a30 30 0 1 0 48.47-8.68a29.7 29.7 0 0 0-5.77-4.5l28.44-80.59a32 32 0 0 0 4.11.3a30 30 0 0 0 21.22-51.2Zm-122-15.52a18 18 0 1 1 0 25.46a18 18 0 0 1 .04-25.46Zm-80 97.47a18 18 0 1 1 25.46 0a18 18 0 0 1-25.43 0Zm145.47 88a18 18 0 1 1 0-25.46a18 18 0 0 1 .03 25.47Zm-8.61-42.43a30 30 0 0 0-24.27 7.48l-72.58-53.24a30.14 30.14 0 0 0-1.38-27.75l36.3-32.67a30 30 0 0 0 44.62-10.61l31.31 8.54a30 30 0 0 0 8.7 23.16a30.5 30.5 0 0 0 5.78 4.51Zm56.62-93.59a18 18 0 1 1 0-25.46a18 18 0 0 1 .03 25.47Z\\"/></svg>","report":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"32\\" height=\\"32\\" viewBox=\\"0 0 32 32\\"><path fill=\\"currentColor\\" d=\\"M10 18h8v2h-8zm0-5h12v2H10zm0 10h5v2h-5z\\"/><path fill=\\"currentColor\\" d=\\"M25 5h-3V4a2 2 0 0 0-2-2h-8a2 2 0 0 0-2 2v1H7a2 2 0 0 0-2 2v21a2 2 0 0 0 2 2h18a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2M12 4h8v4h-8Zm13 24H7V7h3v3h12V7h3Z\\"/></svg>","reset":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"16\\" height=\\"16\\" viewBox=\\"0 0 16 16\\"><path fill=\\"currentColor\\" d=\\"M4.02 9.46A5.002 5.002 0 0 0 14 9c0-2.76-2.24-5-5-5H1.71l2.15 2.15a.5.5 0 0 1-.707.707l-3-3a.5.5 0 0 1 0-.707l3-3a.5.5 0 0 1 .707.707l-2.15 2.15H9c3.31 0 6 2.69 6 6s-2.69 6-6 6c-3.13 0-5.7-2.4-5.98-5.46a.5.5 0 0 1 .996-.09z\\"/><path fill=\\"currentColor\\" d=\\"M10.7 10.1a.5.5 0 0 1-.447.895l-2-1a.5.5 0 0 1-.276-.447v-3a.5.5 0 0 1 1 0v2.69l1.72.862z\\"/></svg>","rotate-2d":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>\\n<svg id=\\"Ebene_1\\" xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"24\\" height=\\"24\\" version=\\"1.1\\" viewBox=\\"0 0 24 24\\">\\n \x3c!-- Generator: Adobe Illustrator 29.3.1, SVG Export Plug-In . SVG Version: 2.1.0 Build 151) --\x3e\\n <path d=\\"M19.6,12.4c0,4.4-3.6,8-8,8S3.6,16.8,3.6,12.4s3.6-8,8-8,4.3.9,5.7,2.4\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"1.5\\"/>\\n <polyline points=\\"18.3 3.5 18.3 7.9 13.9 7.9\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"1.5\\"/>\\n</svg>","rotate-3d":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>\\n<svg id=\\"Ebene_1\\" xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"24\\" height=\\"24\\" version=\\"1.1\\" viewBox=\\"0 0 24 24\\">\\n \x3c!-- Generator: Adobe Illustrator 29.3.1, SVG Export Plug-In . SVG Version: 2.1.0 Build 151) --\x3e\\n <polyline points=\\"10 17.9 12 19.9 10 21.9\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"1.5\\"/>\\n <g id=\\"Gruppe_279\\">\\n <g id=\\"Gruppe_269\\">\\n <g id=\\"Gruppe_14\\">\\n <path id=\\"Pfad_12\\" d=\\"M18.3,13l-6.3,3.1v-7.7l6.3-3.1v7.7Z\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"1.5\\"/>\\n <path id=\\"Pfad_13\\" d=\\"M5.7,13l6.3,3.1v-7.7l-6.3-3.1v7.7Z\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"1.5\\"/>\\n <path id=\\"Pfad_14\\" d=\\"M5.7,5.3l6.4-3.2,6.2,3.2\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"1.5\\"/>\\n </g>\\n </g>\\n </g>\\n <path d=\\"M19,10.3c2.1,1,3.5,2.5,3.5,4.1,0,2.5-3.3,4.7-7.7,5.3\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"1.5\\"/>\\n <path d=\\"M12,19.9c-5.8,0-10.5-2.5-10.5-5.5s1.4-3.1,3.5-4.1\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"1.5\\"/>\\n</svg>","save":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"24\\" height=\\"24\\" fill=\\"none\\" viewBox=\\"0 0 24 24\\" stroke=\\"currentColor\\" stroke-width=\\"1.5\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\">\\n <path d=\\"M17 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V7l-4-4z\\"/>\\n <path d=\\"M17 21V13H7v8\\"/>\\n <path d=\\"M7 3v5h8V3\\"/>\\n</svg>","search":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>\\n<svg id=\\"Ebene_1\\" xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"24\\" height=\\"24\\" version=\\"1.1\\" viewBox=\\"0 0 24 24\\">\\n \x3c!-- Generator: Adobe Illustrator 29.3.1, SVG Export Plug-In . SVG Version: 2.1.0 Build 151) --\x3e\\n <path d=\\"M14.7,18.1c-2.9,1.4-6.5.9-8.9-1.5-3-2.9-3-7.9,0-10.9,3-3.1,8-3.1,11.1,0,2.9,2.9,3,7.4.5,10.4s-.2.8,0,1.1l3.2,3.2\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"1.2\\"/>\\n</svg>","settings":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>\\n<svg id=\\"Ebene_1\\" xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"24\\" height=\\"24\\" version=\\"1.1\\" viewBox=\\"0 0 24 24\\">\\n \x3c!-- Generator: Adobe Illustrator 29.3.1, SVG Export Plug-In . SVG Version: 2.1.0 Build 151) --\x3e\\n <path d=\\"M21.5,13.3v-2.7l-2.6-.5c-.2-.6-.4-1.2-.7-1.7l1.5-2.2-1.9-1.9-2.2,1.5c-.5-.3-1.1-.5-1.7-.7l-.5-2.6h-2.7l-.5,2.6c-.6.2-1.2.4-1.7.7l-2.2-1.5-1.9,1.9,1.5,2.2c-.3.5-.5,1.1-.7,1.7l-2.6.5v2.7l2.6.5c.2.6.4,1.2.7,1.7l-1.5,2.2,1.9,1.9,2.2-1.5c.5.3,1.1.5,1.7.7l.5,2.6h2.7l.5-2.6c.6-.2,1.2-.4,1.7-.7l2.2,1.5,1.9-1.9-1.5-2.2c.3-.5.5-1.1.7-1.7l2.6-.5Z\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"1.5\\"/>\\n <rect x=\\"8.2\\" y=\\"8.2\\" width=\\"7.7\\" height=\\"7.7\\" rx=\\"3.8\\" ry=\\"3.8\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"1.5\\"/>\\n</svg>","share":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>\\n<svg id=\\"Ebene_1\\" xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"24\\" height=\\"24\\" version=\\"1.1\\" viewBox=\\"0 0 24 24\\">\\n \x3c!-- Generator: Adobe Illustrator 29.3.1, SVG Export Plug-In . SVG Version: 2.1.0 Build 151) --\x3e\\n <circle cx=\\"17.1\\" cy=\\"18.3\\" r=\\"3.3\\" transform=\\"translate(-5.7 7.9) rotate(-22.4)\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"1.5\\"/>\\n <circle cx=\\"17.1\\" cy=\\"5.8\\" r=\\"3.3\\" transform=\\"translate(-.9 6.9) rotate(-22.4)\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"1.5\\"/>\\n <circle cx=\\"6\\" cy=\\"12.1\\" r=\\"3.3\\" transform=\\"translate(-4.1 3.2) rotate(-22.4)\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"1.5\\"/>\\n <line x1=\\"8.7\\" y1=\\"10.7\\" x2=\\"14.5\\" y2=\\"7.2\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linejoin=\\"round\\" stroke-width=\\"1.5\\"/>\\n <line x1=\\"8.9\\" y1=\\"13.5\\" x2=\\"14.2\\" y2=\\"16.8\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linejoin=\\"round\\" stroke-width=\\"1.5\\"/>\\n</svg>","sign-out":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"256\\" height=\\"256\\" viewBox=\\"0 0 256 256\\"><path fill=\\"currentColor\\" d=\\"M120 216a8 8 0 0 1-8 8H48a8 8 0 0 1-8-8V40a8 8 0 0 1 8-8h64a8 8 0 0 1 0 16H56v160h56a8 8 0 0 1 8 8m109.66-93.66l-40-40a8 8 0 0 0-11.32 11.32L204.69 120H112a8 8 0 0 0 0 16h92.69l-26.35 26.34a8 8 0 0 0 11.32 11.32l40-40a8 8 0 0 0 0-11.32\\"/></svg>","stats":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"16\\" height=\\"16\\" viewBox=\\"0 0 16 16\\"><path fill=\\"currentColor\\" fill-rule=\\"evenodd\\" d=\\"M8 14v-4h1v4h5V5h1v9a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1v-2h1v2zm4.853-10.146l-2.999 3a1.5 1.5 0 0 1-2.538 1.568l-2.714.904L4 9.527a1.5 1.5 0 1 1-.316-.948L7 7.473a1.5 1.5 0 0 1 2.146-1.327l3-3a1.5 1.5 0 1 1 .707.707\\"/></svg>","stop":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"24\\" height=\\"24\\" viewBox=\\"0 0 24 24\\"><path fill=\\"currentColor\\" d=\\"M18 18H6V6h12z\\"/></svg>","table":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"24\\" height=\\"24\\" viewBox=\\"0 0 24 24\\"><g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"1.5\\"><rect width=\\"18.5\\" height=\\"16.5\\" x=\\"2.75\\" y=\\"3.75\\" rx=\\"3\\"/><path d=\\"M2.75 7.75h18.5M2.75 14h18.5M8.92 7.75v12.5m6.17-12.5v12.5\\"/></g></svg>","tag":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"24\\" height=\\"24\\" viewBox=\\"0 0 24 24\\"><path fill=\\"currentColor\\" d=\\"M15.62 21.12a3 3 0 0 1-4.24 0L3.05 13C2.45 12.45 2 11.63 2 10.75V6a3 3 0 0 1 3-3h4.75c.88 0 1.7.45 2.25 1.05l8.07 8.38a3 3 0 0 1 0 4.24zm-.71-.71l4.45-4.45c.78-.78.78-2.05 0-2.83l-8.25-8.55C10.78 4.2 10.3 4 9.75 4l-4.78-.03C3.87 3.97 3 4.9 3 6v4.75c0 .55.2 1.03.58 1.36l8.5 8.3c.78.78 2.05.78 2.83 0M6.5 5A2.5 2.5 0 0 1 9 7.5A2.5 2.5 0 0 1 6.5 10A2.5 2.5 0 0 1 4 7.5A2.5 2.5 0 0 1 6.5 5m0 1A1.5 1.5 0 0 0 5 7.5A1.5 1.5 0 0 0 6.5 9A1.5 1.5 0 0 0 8 7.5A1.5 1.5 0 0 0 6.5 6\\"/></svg>","text-align-center":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"24\\" height=\\"24\\" viewBox=\\"0 0 24 24\\"><path fill=\\"currentColor\\" d=\\"M3.75 6a.75.75 0 0 1 .75-.75h15a.75.75 0 0 1 0 1.5h-15A.75.75 0 0 1 3.75 6m2.5 4A.75.75 0 0 1 7 9.25h10a.75.75 0 0 1 0 1.5H7a.75.75 0 0 1-.75-.75m-2.5 4a.75.75 0 0 1 .75-.75h15a.75.75 0 0 1 0 1.5h-15a.75.75 0 0 1-.75-.75m2.5 4a.75.75 0 0 1 .75-.75h10a.75.75 0 0 1 0 1.5H7a.75.75 0 0 1-.75-.75\\"/></svg>","text-align-left":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"24\\" height=\\"24\\" viewBox=\\"0 0 24 24\\"><path fill=\\"currentColor\\" d=\\"M3.75 6a.75.75 0 0 1 .75-.75h15a.75.75 0 0 1 0 1.5h-15A.75.75 0 0 1 3.75 6m0 4a.75.75 0 0 1 .75-.75h10a.75.75 0 0 1 0 1.5h-10a.75.75 0 0 1-.75-.75m0 4a.75.75 0 0 1 .75-.75h15a.75.75 0 0 1 0 1.5h-15a.75.75 0 0 1-.75-.75m0 4a.75.75 0 0 1 .75-.75h10a.75.75 0 0 1 0 1.5h-10a.75.75 0 0 1-.75-.75\\"/></svg>","text-align-right":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"24\\" height=\\"24\\" viewBox=\\"0 0 24 24\\"><path fill=\\"currentColor\\" d=\\"M3.75 6a.75.75 0 0 1 .75-.75h15a.75.75 0 0 1 0 1.5h-15A.75.75 0 0 1 3.75 6m5 4a.75.75 0 0 1 .75-.75h10a.75.75 0 0 1 0 1.5h-10a.75.75 0 0 1-.75-.75m-5 4a.75.75 0 0 1 .75-.75h15a.75.75 0 0 1 0 1.5h-15a.75.75 0 0 1-.75-.75m5 4a.75.75 0 0 1 .75-.75h10a.75.75 0 0 1 0 1.5h-10a.75.75 0 0 1-.75-.75\\"/></svg>","transparent":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"15\\" height=\\"15\\" viewBox=\\"0 0 15 15\\"><path fill=\\"currentColor\\" d=\\"M3 15H0v-3h3zm6 0H6v-3h3zm6 0h-3v-3h3zm-9-3H3V9h3zm6 0H9V9h3zM3 9H0V6h3zm6 0H6V6h3zm6 0h-3V6h3zM6 6H3V3h3zm6 0H9V3h3zM3 3H0V0h3zm6 0H6V0h3zm6 0h-3V0h3z\\" opacity=\\"0.25\\"/></svg>","tree":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"256\\" height=\\"256\\" viewBox=\\"0 0 256 256\\"><path fill=\\"currentColor\\" d=\\"M176 150h32a14 14 0 0 0 14-14v-32a14 14 0 0 0-14-14h-32a14 14 0 0 0-14 14v10H86V78h10a14 14 0 0 0 14-14V32a14 14 0 0 0-14-14H64a14 14 0 0 0-14 14v32a14 14 0 0 0 14 14h10v114a22 22 0 0 0 22 22h66v10a14 14 0 0 0 14 14h32a14 14 0 0 0 14-14v-32a14 14 0 0 0-14-14h-32a14 14 0 0 0-14 14v10H96a10 10 0 0 1-10-10v-66h76v10a14 14 0 0 0 14 14M62 64V32a2 2 0 0 1 2-2h32a2 2 0 0 1 2 2v32a2 2 0 0 1-2 2H64a2 2 0 0 1-2-2m112 128a2 2 0 0 1 2-2h32a2 2 0 0 1 2 2v32a2 2 0 0 1-2 2h-32a2 2 0 0 1-2-2Zm0-88a2 2 0 0 1 2-2h32a2 2 0 0 1 2 2v32a2 2 0 0 1-2 2h-32a2 2 0 0 1-2-2Z\\"/></svg>","union":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"24\\" height=\\"24\\" viewBox=\\"0 0 24 24\\"><path fill=\\"currentColor\\" d=\\"M4 2h8a3 3 0 0 1 3 3v3h3a3 3 0 0 1 3 3v8a3 3 0 0 1-3 3h-8a3 3 0 0 1-3-3v-3H4a3 3 0 0 1-3-3V5a3 3 0 0 1 3-3m10 3a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h4v4a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2v-8a2 2 0 0 0-2-2h-4z\\"/></svg>","update":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"16\\" height=\\"16\\" viewBox=\\"0 0 16 16\\"><path fill=\\"currentColor\\" d=\\"M7.46 2a5.52 5.52 0 0 0-3.91 1.61a5.44 5.44 0 0 0-1.54 2.97a.503.503 0 0 1-.992-.166a6.514 6.514 0 0 1 6.44-5.41a6.55 6.55 0 0 1 4.65 1.93l1.89 2.21v-2.64a.502.502 0 0 1 1.006 0v4a.5.5 0 0 1-.503.5h-3.99a.5.5 0 0 1-.503-.5c0-.275.225-.5.503-.5h2.91l-2.06-2.4a5.53 5.53 0 0 0-3.9-1.6zm1.09 12a5.52 5.52 0 0 0 3.91-1.61A5.44 5.44 0 0 0 14 9.42a.504.504 0 0 1 .992.166a6.514 6.514 0 0 1-6.44 5.41a6.55 6.55 0 0 1-4.65-1.93l-1.89-2.21v2.64a.501.501 0 0 1-.858.353a.5.5 0 0 1-.148-.354v-4c0-.276.225-.5.503-.5H5.5c.278 0 .503.224.503.5s-.225.5-.503.5H2.59l2.06 2.4a5.53 5.53 0 0 0 3.9 1.6z\\"/></svg>","upload":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"24\\" height=\\"24\\" viewBox=\\"0 0 24 24\\"><path fill=\\"currentColor\\" d=\\"M5.544 10.302a5.501 5.501 0 0 1 10.886-.186l.077.478l.48-.061q.252-.033.513-.033a4 4 0 0 1 0 8a.5.5 0 0 0 0 1c1.19 0 2.285-.416 3.143-1.111a5 5 0 0 0-3.317-8.886a6.502 6.502 0 0 0-12.729.372A5.001 5.001 0 0 0 6.5 19.5a.5.5 0 0 0 0-1a3.98 3.98 0 0 1-2.514-.889a4.002 4.002 0 0 1 1.223-6.898l.296-.101z\\"/><path fill=\\"currentColor\\" d=\\"m14.854 15.146l-2.5-2.5a.5.5 0 0 0-.708 0l-2.5 2.5a.5.5 0 0 0 .708.708l1.646-1.647V21a.5.5 0 0 0 1 0v-6.793l1.646 1.647a.5.5 0 0 0 .708-.708\\"/></svg>","view-active":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>\\n<svg id=\\"Ebene_1\\" xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"24\\" height=\\"24\\" version=\\"1.1\\" viewBox=\\"0 0 24 24\\">\\n \x3c!-- Generator: Adobe Illustrator 29.3.1, SVG Export Plug-In . SVG Version: 2.1.0 Build 151) --\x3e\\n <path d=\\"M12,6.5c-4.3,0-8.2,2.2-10.5,5.5,2.3,3.3,6.2,5.5,10.5,5.5s8.2-2.2,10.5-5.5c-2.3-3.3-6.2-5.5-10.5-5.5Z\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-miterlimit=\\"10\\" stroke-width=\\"1.5\\"/>\\n <circle cx=\\"12\\" cy=\\"12\\" r=\\"5.4\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-miterlimit=\\"10\\" stroke-width=\\"1.5\\"/>\\n <circle cx=\\"12\\" cy=\\"12\\" r=\\"1.7\\" fill=\\"currentColor\\"/>\\n</svg>","view-inactive":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>\\n<svg id=\\"Ebene_1\\" xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"24\\" height=\\"24\\" version=\\"1.1\\" viewBox=\\"0 0 24 24\\">\\n \x3c!-- Generator: Adobe Illustrator 29.3.1, SVG Export Plug-In . SVG Version: 2.1.0 Build 151) --\x3e\\n <g>\\n <path d=\\"M12,6.5c-4.3,0-8.2,2.2-10.5,5.5,2.3,3.3,6.2,5.5,10.5,5.5s8.2-2.2,10.5-5.5c-2.3-3.3-6.2-5.5-10.5-5.5Z\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-miterlimit=\\"10\\" stroke-width=\\"1.5\\"/>\\n <circle cx=\\"12\\" cy=\\"12\\" r=\\"5.4\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-miterlimit=\\"10\\" stroke-width=\\"1.5\\"/>\\n <circle cx=\\"12\\" cy=\\"12\\" r=\\"1.7\\" fill=\\"currentColor\\"/>\\n </g>\\n <line x1=\\"19\\" y1=\\"5\\" x2=\\"5\\" y2=\\"19\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"1.5\\"/>\\n</svg>","zoom-fit":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>\\n<svg id=\\"Ebene_1\\" xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"24\\" height=\\"24\\" version=\\"1.1\\" viewBox=\\"0 0 24 24\\">\\n <path d=\\"M14.7,18.1c-2.9,1.4-6.5.9-8.9-1.5-3-2.9-3-7.9,0-10.9s8-3.1,11.1,0c2.9,2.9,3,7.4.5,10.4s-.2.8,0,1.1l3.2,3.2\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"1.5\\"/>\\n <g>\\n <path d=\\"M9,9h-1.2v-1.2\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"1.5\\"/>\\n <path d=\\"M13.6,9h1.2v-1.2\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"1.5\\"/>\\n <path d=\\"M9,13.4h-1.2v1.2\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"1.5\\"/>\\n <path d=\\"M13.6,13.4h1.2v1.2\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"1.5\\"/>\\n </g>\\n</svg>","zoom-in":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>\\n<svg id=\\"Ebene_1\\" xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"24\\" height=\\"24\\" version=\\"1.1\\" viewBox=\\"0 0 24 24\\">\\n \x3c!-- Generator: Adobe Illustrator 29.3.1, SVG Export Plug-In . SVG Version: 2.1.0 Build 151) --\x3e\\n <path d=\\"M14.7,18.1c-2.9,1.4-6.5.9-8.9-1.5-3-2.9-3-7.9,0-10.9s8-3.1,11.1,0c2.9,2.9,3,7.4.5,10.4s-.2.8,0,1.1l3.2,3.2\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"1.5\\"/>\\n <g>\\n <line x1=\\"14.7\\" y1=\\"11.2\\" x2=\\"7.8\\" y2=\\"11.2\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"1.5\\"/>\\n <line x1=\\"11.3\\" y1=\\"7.7\\" x2=\\"11.3\\" y2=\\"14.7\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"1.5\\"/>\\n </g>\\n</svg>","zoom-out":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>\\n<svg id=\\"Ebene_1\\" xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"24\\" height=\\"24\\" version=\\"1.1\\" viewBox=\\"0 0 24 24\\">\\n \x3c!-- Generator: Adobe Illustrator 29.3.1, SVG Export Plug-In . SVG Version: 2.1.0 Build 151) --\x3e\\n <path d=\\"M14.7,18.1c-2.9,1.4-6.5.9-8.9-1.5-3-2.9-3-7.9,0-10.9,3-3.1,8-3.1,11.1,0,2.9,2.9,3,7.4.5,10.4s-.2.8,0,1.1l3.2,3.2\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"1.5\\"/>\\n <line x1=\\"14.7\\" y1=\\"11.2\\" x2=\\"7.8\\" y2=\\"11.2\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"1.5\\"/>\\n</svg>","buildings":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 256 256\\" fill=\\"currentColor\\"><path fill=\\"currentColor\\" d=\\"M240 208h-16V96a16 16 0 0 0-16-16h-64V32a16 16 0 0 0-24.88-13.32L39.12 72A16 16 0 0 0 32 85.34V208H16a8 8 0 0 0 0 16h224a8 8 0 0 0 0-16M208 96v112h-64V96ZM48 85.34L128 32v176H48ZM112 112v16a8 8 0 0 1-16 0v-16a8 8 0 1 1 16 0m-32 0v16a8 8 0 0 1-16 0v-16a8 8 0 1 1 16 0m0 56v16a8 8 0 0 1-16 0v-16a8 8 0 0 1 16 0m32 0v16a8 8 0 0 1-16 0v-16a8 8 0 0 1 16 0\\"/></svg>","coins":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 256 256\\" fill=\\"currentColor\\"><path fill=\\"currentColor\\" d=\\"M184 89.57V84c0-25.08-37.83-44-88-44S8 58.92 8 84v40c0 20.89 26.25 37.49 64 42.46V172c0 25.08 37.83 44 88 44s88-18.92 88-44v-40c0-20.7-25.42-37.32-64-42.43M232 132c0 13.22-30.79 28-72 28c-3.73 0-7.43-.13-11.08-.37C170.49 151.77 184 139 184 124v-18.26c29.87 4.45 48 16.53 48 26.26M72 150.25v-23.79A184 184 0 0 0 96 128a184 184 0 0 0 24-1.54v23.79A163 163 0 0 1 96 152a163 163 0 0 1-24-1.75m96-40.32V124c0 8.39-12.41 17.4-32 22.87V123.5c12.91-3.13 23.84-7.79 32-13.57M96 56c41.21 0 72 14.78 72 28s-30.79 28-72 28s-72-14.78-72-28s30.79-28 72-28m-72 68v-14.07c8.16 5.78 19.09 10.44 32 13.57v23.37C36.41 141.4 24 132.39 24 124m64 48v-4.17c2.63.1 5.29.17 8 .17c3.88 0 7.67-.13 11.39-.35a122 122 0 0 0 12.61 3.76v23.46c-19.59-5.47-32-14.48-32-22.87m48 26.25V174.4a179.5 179.5 0 0 0 24 1.6a184 184 0 0 0 24-1.54v23.79a165.5 165.5 0 0 1-48 0m64-3.38V171.5c12.91-3.13 23.84-7.79 32-13.57V172c0 8.39-12.41 17.4-32 22.87\\"/></svg>","bell":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 256 256\\" fill=\\"currentColor\\"><path fill=\\"currentColor\\" d=\\"M221.8 175.94c-5.55-9.56-13.8-36.61-13.8-71.94a80 80 0 1 0-160 0c0 35.34-8.26 62.38-13.81 71.94A16 16 0 0 0 48 200h40.81a40 40 0 0 0 78.38 0H208a16 16 0 0 0 13.8-24.06M128 216a24 24 0 0 1-22.62-16h45.24A24 24 0 0 1 128 216m-80-32c7.7-13.24 16-43.92 16-80a64 64 0 1 1 128 0c0 36.05 8.28 66.73 16 80Z\\"/></svg>"}')}}]);
package/3036.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkcue_ui=self.webpackChunkcue_ui||[]).push([[3036],{2014(V,M,n){n.d(M,{z:()=>R});var f=n(7705),e=n(2271),a=n(5547);const t=["*"];let R=(()=>{class u{justify=(0,f.hFB)("start");size=(0,f.hFB)("l");widthStyle=(0,e.EW)(()=>`var(--cue-button-label-padding-${this.size()}-x)`);static \u0275fac=function(g){return new(g||u)};static \u0275cmp=a.VBU({type:u,selectors:[["cue-button-padder"]],inputs:{justify:[1,"justify"],size:[1,"size"]},ngContentSelectors:t,decls:2,vars:4,template:function(g,T){1&g&&(a.NAR(),a.rj2(0,"div"),a.SdG(1),a.eux()),2&g&&a.xc7("justify-content",T.justify())("min-width",T.widthStyle())},styles:["div[_ngcontent-%COMP%]{display:flex;align-items:center;min-height:1px}"]})}return u})()},3036(V,M,n){n.r(M),n.d(M,{DocumentViewer:()=>G});var f=n(467),e=n(9769),a=n(5802),t=n(7705),R=n(2271),u=n(5547),h=n(3418),c=n(6114);const g={bim:()=>Promise.all([n.e(7598),n.e(2076),n.e(6419)]).then(n.bind(n,6419)).then(r=>r.BIMFragmentsViewer),cad:()=>Promise.all([n.e(7598),n.e(8560),n.e(2076),n.e(1931)]).then(n.bind(n,1051)).then(r=>r.DXFViewer),image:()=>n.e(8560).then(n.bind(n,8560)).then(r=>r.ImageViewer),markdown:()=>Promise.all([n.e(222),n.e(6586)]).then(n.bind(n,6586)).then(r=>r.MarkdownViewer),pdf:()=>Promise.all([n.e(8560),n.e(4311)]).then(n.bind(n,4311)).then(r=>r.PDFViewer),text:()=>n.e(3523).then(n.bind(n,3523)).then(r=>r.TextViewer),spreadsheet:()=>Promise.all([n.e(7284),n.e(8336)]).then(n.bind(n,8336)).then(r=>r.Spreadsheet),code:()=>Promise.all([n.e(4284),n.e(836),n.e(329)]).then(n.bind(n,329)).then(r=>r.CodeViewer),email:()=>n.e(5740).then(n.bind(n,5740)).then(r=>r.EmailViewer)},T=new Map([[c.N.DXF,"cad"],[c.N.FRAG,"bim"],[c.N.PDF,"pdf"],[c.N.PNG,"image"],[c.N.JPG,"image"],[c.N.JPEG,"image"],[c.N.SVG,"image"],[c.N.GIF,"image"],[c.N.WEBP,"image"],[c.N.BMP,"image"],[c.N.AVIF,"image"],[c.N.APNG,"image"],[c.N.CSV,"spreadsheet"],[c.N.XLSX,"spreadsheet"],[c.N.XLS,"spreadsheet"],[c.N.JSON,"code"],[c.N.JSONLD,"code"],[c.N.XML,"code"],[c.N.CSS,"code"],[c.N.JS,"code"],[c.N.HTML,"code"],[c.N.HTM,"code"],[c.N.SH,"code"],[c.N.TXT,"text"],[c.N.RST,"text"],[c.N.MD,"markdown"]]);var A=n(8807),E=n(2065);const C=["*"];let H=(()=>{class r{width=(0,t.hFB)("auto");height=(0,t.hFB)("auto");style=(0,t.hFB)("");getStyles=(0,R.EW)(()=>this.style());static \u0275fac=function(o){return new(o||r)};static \u0275cmp=u.VBU({type:r,selectors:[["cue-container"]],hostVars:6,hostBindings:function(o,d){2&o&&(u.Aen(d.getStyles()),u.xc7("max-width",d.width())("max-height",d.height()))},inputs:{width:[1,"width"],height:[1,"height"],style:[1,"style"]},ngContentSelectors:C,decls:1,vars:0,template:function(o,d){1&o&&(u.NAR(),u.SdG(0))},styles:["[_nghost-%COMP%]{display:flex;align-items:stretch;container-name:cue-container;container-type:inline-size}[_nghost-%COMP%] > *[_ngcontent-%COMP%]{flex:1;max-width:100%}"]})}return r})();var w=n(2245),X=n(5381),J=n(5971),U=n(3319),O=n(5448),y=n(2014),W=n(7851),v=n(3191);let P=(()=>{class r{searchService=(0,a.WQX)(v.g);entityBeingPlaced=(0,a.vPA)(void 0);confirmedPlacement=(0,a.vPA)(void 0);rdfBaseURL=(0,a.vPA)("");contentUUID=(0,a.vPA)("");activePdfDoc=(0,a.vPA)(null);currentPage=(0,a.vPA)(1);requestedPage=(0,a.vPA)(null);navigateToPage(p){this.currentPage.set(p),this.requestedPage.set(p)}entityTextSearchResults=(0,a.vPA)([]);entityTextSearchResultsOnCurrentPage=(0,R.EW)(()=>this.entityTextSearchResults().filter(p=>p.page===this.currentPage()));currentPlacementBbox=(0,a.vPA)(null);categoryPreviewBoxes=(0,a.vPA)([]);_lastMatchIndex=(0,a.vPA)(null);matchCycleDisplay=(0,R.EW)(()=>{const p=this._lastMatchIndex(),o=this.entityTextSearchResultsOnCurrentPage().length;return null===p||0===o?"":`${p+1}/${o}`});cycleTextMatch(){const p=this.entityTextSearchResultsOnCurrentPage();if(!p.length)return;const o=this._lastMatchIndex(),d=null===o?0:(o+1)%p.length;this._lastMatchIndex.set(d);const s=p[d].xywhStr.replace("percent:",""),[I,D,i,m]=s.split(",").map(Number),j=Math.max(0,I-.5),b=Math.max(0,D-.5),x=Math.min(100-j,i+1),N=Math.min(100-b,m+1);this.currentPlacementBbox.set({xywhStr:`percent:${j.toFixed(2)},${b.toFixed(2)},${x.toFixed(2)},${N.toFixed(2)}`,color:"rgba(255, 160, 0, 0.9)",allowRemove:!1})}setManualBbox(p){this._lastMatchIndex.set(null),this.currentPlacementBbox.set({...p,allowRemove:!1})}clearPlacement(){this.currentPlacementBbox.set(null),this._lastMatchIndex.set(null)}constructor(){(0,a.QZP)(()=>{const p=this.entityBeingPlaced(),o=this.activePdfDoc();p?.value&&o?this.searchService.searchAll(o,p.value).then(d=>{this.entityTextSearchResults.set(d)}):this.entityTextSearchResults.set([])}),(0,a.QZP)(()=>{this.currentPage(),this._lastMatchIndex.set(null),this.currentPlacementBbox.set(null)}),(0,a.QZP)(()=>{const p=this.entityBeingPlaced();this._lastMatchIndex.set(null),void 0===p&&this.currentPlacementBbox.set(null)})}static \u0275fac=function(o){return new(o||r)};static \u0275prov=a.jDH({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();var S=n(9352);const B=["viewerTarget"];function L(r,$){if(1&r){const p=u.RV6();u.j41(0,"cue-flexcontainer",2)(1,"cue-typography"),u.EFF(2),u.nI1(3,"transloco"),u.k0s(),u.j41(4,"cue-button",3),u.bIt("click",function(){a.eBV(p);const d=u.XpG();return a.Njj(d.downloadFile())}),u.j41(5,"cue-button-padder"),u.nrm(6,"cue-button-icon",4),u.k0s(),u.j41(7,"cue-button-label"),u.EFF(8),u.nI1(9,"transloco"),u.k0s()()()}2&r&&(u.R7$(2),u.JRh(u.bMT(3,2,"components.documentViewer.infoNoViewer")),u.R7$(6),u.JRh(u.bMT(9,4,"common.buttons.download")))}let G=(()=>{class r{_eps=(0,a.WQX)(P);_destroyed=!1;url=t.hFB.required();suffix=(0,t.hFB)();settings=(0,t.hFB)(new h.DocumentViewerSettings);viewerTypeOverride=(0,t.hFB)(void 0);interactions=(0,t.CGW)();viewerType=(0,R.EW)(()=>{const p=this.viewerTypeOverride();if(p)return p;const o=this.url(),d=void 0!==this.suffix()?this.suffix()?.trim():`.${o.split(".").pop()?.trim()}`,s=d?T.get(d):void 0;return console.log("[DocumentViewer] viewerType resolved",{url:o?.substring(0,80),suffix:d,viewerType:s}),void 0!==d?s:void 0});currentComponent=(0,a.vPA)(null);noViewer=(0,R.EW)(()=>null===this.currentComponent());isLoading=(0,a.vPA)(!1);viewerTarget;currentRef;_interactionsState=(0,a.vPA)(new h.DocumentViewerInteractions);constructor(){(0,a.QZP)(()=>{const p=this.viewerType(),o=this.url();console.log("[DocumentViewer] url/viewerType effect \u2014",{viewerType:p,url:o?.substring(0,80),destroyed:this._destroyed}),p?("pdf"!==p&&this._eps.activePdfDoc.set(null),this.isLoading.set(!0),this.loadViewerComponent(p,o,this.settings())):(this.viewerTarget.clear(),this.currentRef?.destroy(),this.currentRef=void 0,console.info("No viewer available for this file type"),this.currentComponent.set(null),this.isLoading.set(!1),this._eps.activePdfDoc.set(null))}),(0,a.QZP)(()=>{this.interactions.emit(this._interactionsState())}),(0,a.QZP)(()=>{const p=this.settings().pdf,o=this.currentRef;o&&o.setInput("settings",p)})}ngOnDestroy(){this._destroyed=!0,this.viewerTarget.clear(),this.currentRef?.destroy(),this.currentRef=void 0}loadViewerComponent(p,o,d){var s=this;return(0,f.A)(function*(){console.log("[DocumentViewer] loadViewerComponent",{viewerType:p,url:o?.substring(0,100)});try{const I=g[p],D=yield I();if(s._destroyed)return;if(s.currentComponent.set(D),s.isLoading.set(!1),s.viewerTarget.clear(),s.currentRef?.destroy(),s.currentRef=s.viewerTarget.createComponent(D),"pdf"===p)s.currentRef.setInput("src",o),void 0!==d?.pdf&&s.currentRef.setInput("settings",d.pdf),s.currentRef.instance.pdfLoaded&&s.currentRef.instance.pdfLoaded.subscribe(i=>{s._eps.currentPage.set(1),s._eps.activePdfDoc.set(i)}),s.currentRef.instance.settingsChange&&s.currentRef.instance.settingsChange.subscribe(i=>{const m=parseInt(i?.page,10);!isNaN(m)&&m>0&&s._eps.currentPage.set(m)}),s.currentRef.instance.artefactDrawn&&s.currentRef.instance.artefactDrawn.subscribe(i=>{"xywh"===i.type&&s._eps.setManualBbox(i.def)}),s.currentRef.instance.artefactEdited&&s.currentRef.instance.artefactEdited.subscribe(i=>{"bbox"===i.type&&s._eps.setManualBbox(i.after)});else if("bim"===p){const i=new A.di("model","Model",o);i.visible=!0,s.currentRef.setInput("data",{models:[i]}),void 0!==d?.bim&&s.currentRef.setInput("settings",d.bim),s.currentRef.instance.selectedElements&&s.currentRef.instance.selectedElements.subscribe(m=>{s._interactionsState.update(l=>(l.bim.selectedElements=m,Object.assign({},l)))}),s.currentRef.instance.clickedElement&&s.currentRef.instance.clickedElement.subscribe(m=>{s._interactionsState.update(l=>(l.bim.clickedElement=m,Object.assign({},l)))})}else if("cad"===p)s.currentRef.setInput("fileURL",o),void 0!==d?.cad&&s.currentRef.setInput("settings",d.cad);else if("image"===p)s.currentRef.setInput("src",o);else if("markdown"===p)s.currentRef.setInput("fileURL",o);else if("text"===p)s.currentRef.setInput("fileURL",o);else if("spreadsheet"===p){const i=s.suffix()?.split(".").pop()||o.split(".").pop()||"csv";s.currentRef.setInput("data",{url:o,format:i})}else if("code"===p){const l={".json":"json",".jsonld":"jsonld",".xml":"xml",".html":"xml",".htm":"xml",".css":"text",".js":"text",".sh":"text"}[s.suffix()??`.${o.split(".").pop()??""}`]??"text";s.currentRef.setInput("fileURL",o),s.currentRef.setInput("codeType",l)}else"email"===p&&s.currentRef.setInput("fileURL",o)}catch(I){console.error("Failed to load viewer component:",I),s.currentComponent.set(null)}})()}downloadFile(){var p=this;return(0,f.A)(function*(){const d=yield(yield fetch(p.url())).blob();(0,E.KE)(d,`document${p.suffix()??""}`)})()}static \u0275fac=function(o){return new(o||r)};static \u0275cmp=u.VBU({type:r,selectors:[["cue-doc-viewer"]],viewQuery:function(o,d){if(1&o&&u.GBs(B,7,u.c1b),2&o){let s;u.mGM(s=u.lsd())&&(d.viewerTarget=s.first)}},inputs:{url:[1,"url"],suffix:[1,"suffix"],settings:[1,"settings"],viewerTypeOverride:[1,"viewerTypeOverride"]},outputs:{interactions:"interactions"},decls:4,vars:2,consts:[["viewerTarget",""],[2,"height","100%","width","100%",3,"cueLogoLoader"],["direction","column","align","center","justify","center",2,"height","100%","width","100%"],[3,"click"],["icon","download"]],template:function(o,d){1&o&&(u.j41(0,"cue-container",1),u.eu8(1,null,0),u.nVh(3,L,10,6,"cue-flexcontainer",2),u.k0s()),2&o&&(u.Y8G("cueLogoLoader",d.isLoading()),u.R7$(3),u.vxM(!d.isLoading()&&d.noViewer()?3:-1))},dependencies:[e.MD,H,w.Typography,X.n,J.$,U.a,O.L,y.z,W.k,S.Kj],styles:["[_nghost-%COMP%]{display:contents}"],changeDetection:0})}return r})()},3191(V,M,n){n.d(M,{g:()=>a});var f=n(467),e=n(5802);let a=(()=>{class t{searchPage(u,h,c){return(0,f.A)(function*(){if(!c||!c.trim())return[];const g=c.toLowerCase(),T=yield u.getPage(h),A=T.getViewport({scale:1}),C=(yield T.getTextContent()).items,H=[];let w="";const X=[],J=[];for(let y=0;y<C.length;y++){const v=C[y].str??"";for(let P=0;P<v.length;P++)w+=v[P],X.push(y),J.push(P)}const U=w.toLowerCase();let O=0;for(;O<U.length;){const y=U.indexOf(g,O);if(-1===y)break;const W=y+g.length-1;O=y+1;const v=new Set;for(let D=y;D<=W;D++)v.add(X[D]);let P=1/0,S=1/0,B=-1/0,L=-1/0;for(const D of v){const i=C[D],[m,l,j,b,x,N]=i.transform,K=i.width??0,z=i.height??Math.abs(m||b||12),Z=Math.sqrt(m*m+l*l)||1,Q=m/Z,Y=l/Z,k=j/Z,q=b/Z,fe=[[x,N],[x+Q*K,N+Y*K],[x+Q*K+k*z,N+Y*K+q*z],[x+k*z,N+q*z]];for(const[ne,pe]of fe){const[F,_]=A.convertToViewportPoint(ne,pe);P=Math.min(P,F),S=Math.min(S,_),B=Math.max(B,F),L=Math.max(L,_)}}const G=A.width,r=A.height,$=.005*G,p=.005*r,d=(S-p)/r*100,s=(B-P+2*$)/G*100,I=(L-S+2*p)/r*100;s>0&&I>0&&H.push({page:h,xywhStr:`percent:${((P-$)/G*100).toFixed(2)},${d.toFixed(2)},${s.toFixed(2)},${I.toFixed(2)}`})}return H})()}searchAll(u,h){var c=this;return(0,f.A)(function*(){if(!h||!h.trim())return[];const g=u.numPages,T=[];for(let A=1;A<=g;A++){const E=yield c.searchPage(u,A,h);T.push(...E)}return T})()}static \u0275fac=function(h){return new(h||t)};static \u0275prov=e.jDH({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})()},6114(V,M,n){n.d(M,{N:()=>e,V:()=>a});var f=n(4820),e=function(t){return t.AAC=".aac",t.ABW=".abw",t.ARC=".arc",t.AVIF=".avif",t.AVI=".avi",t.APNG=".apng",t.BAK=".bak",t.BIN=".bin",t.BMC=".bmc",t.BMP=".bmp",t.BZ=".bz",t.BZ2=".bz2",t.C3D=".c3d",t.CPG=".cpg",t.CSS=".css",t.CSV=".csv",t.DAT=".dat",t.DOC=".doc",t.DOCX=".docx",t.E57=".e57",t.EPUB=".epub",t.EXE=".exe",t.FFS=".ffs",t.FME=".fme",t.FMW=".fmw",t.FRAG=".fragments",t.GH=".gh",t.GZ=".gz",t.GIF=".gif",t.HTML=".html",t.HTM=".htm",t.ICO=".ico",t.ICS=".ics",t.JAR=".jar",t.JPG=".jpg",t.JPEG=".jpeg",t.JSON=".json",t.JSONLD=".jsonld",t.JS=".js",t.MOV=".mov",t.MP3=".mp3",t.MP4=".mp4",t.MPEG=".mpeg",t.MSI=".msi",t.MTL=".mtl",t.ODP=".odp",t.ODS=".ods",t.ODT=".odt",t.OGA=".oga",t.OGG=".ogg",t.OGV=".ogv",t.OGX=".ogx",t.OTF=".otf",t.PNG=".png",t.PDF=".pdf",t.PHP=".php",t.PKG=".pkg",t.PPT=".ppt",t.PPTX=".pptx",t.PS=".ps",t.RAR=".rar",t.RCP=".rcp",t.RTF=".rtf",t.SH=".sh",t.SLK=".slk",t.SVG=".svg",t.TAR=".tar",t.TIFF=".tiff",t.TIF=".tif",t.TTF=".ttf",t.TXT=".txt",t.VGL=".vgl",t.VWX=".vwx",t.WAV=".wav",t.WEBM=".webm",t.WEBP=".webp",t.WMV=".wmv",t.WOFF=".woff",t.WOFF2=".woff2",t.XLS=".xls",t.XLSX=".xlsx",t.XHTML=".xhtml",t.XML=".xml",t.XYZ=".xyz",t.ZIP=".zip",t.SEVEN_Z=".7z",t.DBF=".dbf",t.EML=".eml",t.EMLX=".emlx",t.MBX=".mbx",t.MD=".md",t.MSG=".msg",t.RST=".rst",t.HEIC=".heic",t.MPP=".mpp",t.TSV=".tsv",t.B3DM=".b3dm",t.I3DM=".i3dm",t.PNTS=".pnts",t.CMPT=".cmpt",t.GLTF=".gltf",t.GLB=".glb",t.IFC=".ifc",t.IFCZIP=".ifczip",t.IFXML=".ifcxml",t.THREEDM=".3dm",t.THREEDS=".3ds",t.GHP=".ghp",t.RVT=".rvt",t.RFA=".rfa",t.RFT=".rft",t.RTE=".rte",t.PLA=".pla",t.PLN=".pln",t.GSM=".gsm",t.SMC=".smc",t.BCF=".bcf",t.DWG=".dwg",t.DWL=".dwl",t.DXF=".dxf",t.DGN=".dgn",t.NWD=".nwd",t.OBJ=".obj",t.C4D=".c4d",t.TEKLASTRUCTURES=".teklastructures",t.PTS=".pts",t.LAS=".las",t.LAZ=".laz",t.USDZ=".usdz",t.USDA=".usda",t.USDC=".usdc",t.USD=".usd",t.PSD=".psd",t.PSP=".psp",t.AI=".ai",t.SBN=".sbn",t.SBX=".sbx",t.SHX=".shx",t.SKP=".skp",t.STL=".stl",t.FBX=".fbx",t.KML=".kml",t.SHP=".shp",t}(e||{});const a={[e.AAC]:{type:f.p.AUDIO,open:!0,suffix:".aac"},[e.ABW]:{type:f.p.TEXT,open:!0,suffix:".abw"},[e.ARC]:{type:f.p.ARCHIVE,open:!1,suffix:".arc"},[e.AVIF]:{type:f.p.IMAGE,open:!0,suffix:".avif"},[e.AVI]:{type:f.p.VIDEO,open:!0,suffix:".avi"},[e.APNG]:{type:f.p.IMAGE,open:!0,suffix:".apng"},[e.BAK]:{type:f.p.BACKUP,open:!1,suffix:".bak"},[e.BIN]:{type:f.p.BINARY,open:!1,suffix:".bin"},[e.BMC]:{type:f.p.BIM,open:!1,suffix:".bmc"},[e.BMP]:{type:f.p.IMAGE,open:!0,suffix:".bmp"},[e.BZ]:{type:f.p.ARCHIVE,open:!0,suffix:".bz"},[e.BZ2]:{type:f.p.ARCHIVE,open:!0,suffix:".bz2"},[e.C3D]:{type:f.p.THREE_D,open:!0,suffix:".c3d"},[e.CPG]:{type:f.p.GEOSPATIAL,open:!0,suffix:".cpg"},[e.CSS]:{type:f.p.MARKUP,open:!0,suffix:".css"},[e.CSV]:{type:f.p.DATA,open:!0,suffix:".csv"},[e.DAT]:{type:f.p.DATA,open:!1,suffix:".dat"},[e.DBF]:{type:f.p.DATA,open:!0,suffix:".dbf"},[e.DOC]:{type:f.p.TEXT,open:!1,suffix:".doc"},[e.DOCX]:{type:f.p.TEXT,open:!0,suffix:".docx"},[e.E57]:{type:f.p.THREE_D,open:!0,suffix:".e57"},[e.EPUB]:{type:f.p.TEXT,open:!0,suffix:".epub"},[e.EXE]:{type:f.p.INSTALLER,open:!1,suffix:".exe"},[e.FFS]:{type:f.p.AUTOMATION,open:!1,suffix:".ffs"},[e.FME]:{type:f.p.AUTOMATION,open:!1,suffix:".fme"},[e.FMW]:{type:f.p.AUTOMATION,open:!1,suffix:".fmw"},[e.FRAG]:{type:f.p.BIM,open:!0,suffix:".fragments"},[e.GH]:{type:f.p.THREE_D,open:!1,suffix:".gh"},[e.GZ]:{type:f.p.ARCHIVE,open:!0,suffix:".gz"},[e.GIF]:{type:f.p.IMAGE,open:!0,suffix:".gif"},[e.HTML]:{type:f.p.MARKUP,open:!0,suffix:".html"},[e.HTM]:{type:f.p.MARKUP,open:!0,suffix:".htm"},[e.ICO]:{type:f.p.IMAGE,open:!1,suffix:".ico"},[e.ICS]:{type:f.p.DATA,open:!0,suffix:".ics"},[e.JAR]:{type:f.p.ARCHIVE,open:!0,suffix:".jar"},[e.JPG]:{type:f.p.IMAGE,open:!0,suffix:".jpg"},[e.JPEG]:{type:f.p.IMAGE,open:!0,suffix:".jpeg"},[e.JSON]:{type:f.p.DATA,open:!0,suffix:".json"},[e.JSONLD]:{type:f.p.DATA,open:!0,suffix:".jsonld"},[e.JS]:{type:f.p.SCRIPT,open:!0,suffix:".js"},[e.MSI]:{type:f.p.INSTALLER,open:!1,suffix:".msi"},[e.MOV]:{type:f.p.VIDEO,open:!0,suffix:".mov"},[e.MP3]:{type:f.p.AUDIO,open:!0,suffix:".mp3"},[e.MP4]:{type:f.p.VIDEO,open:!0,suffix:".mp4"},[e.MPEG]:{type:f.p.VIDEO,open:!0,suffix:".mpeg"},[e.MTL]:{type:f.p.THREE_D,open:!0,suffix:".mtl"},[e.ODP]:{type:f.p.PRESENTATION,open:!0,suffix:".odp"},[e.ODS]:{type:f.p.SPREADSHEET,open:!0,suffix:".ods"},[e.ODT]:{type:f.p.TEXT,open:!0,suffix:".odt"},[e.OGA]:{type:f.p.AUDIO,open:!0,suffix:".oga"},[e.OGG]:{type:f.p.AUDIO,open:!0,suffix:".ogg"},[e.OGV]:{type:f.p.VIDEO,open:!0,suffix:".ogv"},[e.OGX]:{type:f.p.VIDEO,open:!0,suffix:".ogx"},[e.OTF]:{type:f.p.FONT,open:!0,suffix:".otf"},[e.PNG]:{type:f.p.IMAGE,open:!0,suffix:".png"},[e.PDF]:{type:f.p.TEXT,open:!0,suffix:".pdf"},[e.PHP]:{type:f.p.SCRIPT,open:!0,suffix:".php"},[e.PKG]:{type:f.p.INSTALLER,open:!1,suffix:".pkg"},[e.PPT]:{type:f.p.PRESENTATION,open:!1,suffix:".ppt"},[e.PPTX]:{type:f.p.PRESENTATION,open:!0,suffix:".pptx"},[e.PS]:{type:f.p.IMAGE,open:!1,suffix:".ps"},[e.RAR]:{type:f.p.ARCHIVE,open:!1,suffix:".rar"},[e.RCP]:{type:f.p.THREE_D,open:!1,suffix:".rcp"},[e.RTF]:{type:f.p.TEXT,open:!0,suffix:".rtf"},[e.SBN]:{type:f.p.GEOSPATIAL,open:!1,suffix:".sbn"},[e.SBX]:{type:f.p.GEOSPATIAL,open:!1,suffix:".sbx"},[e.SHX]:{type:f.p.GEOSPATIAL,open:!0,suffix:".shx"},[e.SH]:{type:f.p.SCRIPT,open:!0,suffix:".sh"},[e.SLK]:{type:f.p.DATA,open:!0,suffix:".slk"},[e.SVG]:{type:f.p.IMAGE,open:!0,suffix:".svg"},[e.TAR]:{type:f.p.ARCHIVE,open:!0,suffix:".tar"},[e.TIFF]:{type:f.p.IMAGE,open:!0,suffix:".tiff"},[e.TIF]:{type:f.p.IMAGE,open:!0,suffix:".tif"},[e.TTF]:{type:f.p.FONT,open:!0,suffix:".ttf"},[e.TXT]:{type:f.p.TEXT,open:!0,suffix:".txt"},[e.VGL]:{type:f.p.THREE_D,open:!1,suffix:".vgl"},[e.VWX]:{type:f.p.CAD,open:!1,suffix:".vwx"},[e.WAV]:{type:f.p.AUDIO,open:!0,suffix:".wav"},[e.WEBM]:{type:f.p.VIDEO,open:!0,suffix:".webm"},[e.WEBP]:{type:f.p.IMAGE,open:!0,suffix:".webp"},[e.WMV]:{type:f.p.VIDEO,open:!0,suffix:".wmv"},[e.WOFF]:{type:f.p.FONT,open:!0,suffix:".woff"},[e.WOFF2]:{type:f.p.FONT,open:!0,suffix:".woff2"},[e.XLS]:{type:f.p.SPREADSHEET,open:!1,suffix:".xls"},[e.XLSX]:{type:f.p.SPREADSHEET,open:!0,suffix:".xlsx"},[e.XHTML]:{type:f.p.MARKUP,open:!0,suffix:".xhtml"},[e.XML]:{type:f.p.DATA,open:!0,suffix:".xml"},[e.XYZ]:{type:f.p.THREE_D,open:!0,suffix:".xyz"},[e.ZIP]:{type:f.p.ARCHIVE,open:!0,suffix:".zip"},[e.SEVEN_Z]:{type:f.p.ARCHIVE,open:!0,suffix:".7z"},[e.EML]:{type:f.p.EMAIL,open:!0,suffix:".eml"},[e.EMLX]:{type:f.p.EMAIL,open:!0,suffix:".emlx"},[e.MBX]:{type:f.p.EMAIL,open:!0,suffix:".mbx"},[e.MD]:{type:f.p.TEXT,open:!0,suffix:".md"},[e.MSG]:{type:f.p.EMAIL,open:!1,suffix:".msg"},[e.RST]:{type:f.p.TEXT,open:!0,suffix:".rst"},[e.HEIC]:{type:f.p.IMAGE,open:!1,suffix:".heic"},[e.MPP]:{type:f.p.PLANNING,open:!1,suffix:".mpp"},[e.TSV]:{type:f.p.DATA,open:!0,suffix:".tsv"},[e.B3DM]:{type:f.p.THREE_D,open:!0,suffix:".b3dm"},[e.I3DM]:{type:f.p.THREE_D,open:!0,suffix:".i3dm"},[e.PNTS]:{type:f.p.THREE_D,open:!1,suffix:".pnts"},[e.CMPT]:{type:f.p.THREE_D,open:!1,suffix:".cmpt"},[e.GLTF]:{type:f.p.THREE_D,open:!0,suffix:".gltf"},[e.GLB]:{type:f.p.THREE_D,open:!0,suffix:".glb"},[e.IFC]:{type:f.p.BIM,open:!0,suffix:".ifc"},[e.IFCZIP]:{type:f.p.BIM,open:!0,suffix:".ifczip"},[e.IFXML]:{type:f.p.BIM,open:!0,suffix:".ifcxml"},[e.THREEDM]:{type:f.p.CAD,open:!1,suffix:".3dm"},[e.THREEDS]:{type:f.p.THREE_D,open:!1,suffix:".3ds"},[e.GHP]:{type:f.p.CAD,open:!1,suffix:".ghp"},[e.RVT]:{type:f.p.BIM,open:!1,suffix:".rvt"},[e.RFA]:{type:f.p.BIM,open:!1,suffix:".rfa"},[e.RFT]:{type:f.p.BIM,open:!1,suffix:".rft"},[e.RTE]:{type:f.p.BIM,open:!1,suffix:".rte"},[e.PLA]:{type:f.p.BIM,open:!1,suffix:".pla"},[e.PLN]:{type:f.p.BIM,open:!1,suffix:".pln"},[e.GSM]:{type:f.p.BIM,open:!1,suffix:".gsm"},[e.SMC]:{type:f.p.BIM,open:!1,suffix:".smc"},[e.STL]:{type:f.p.THREE_D,open:!0,suffix:".stl"},[e.BCF]:{type:f.p.BIM,open:!0,suffix:".bcf"},[e.DWG]:{type:f.p.CAD,open:!1,suffix:".dwg"},[e.DWL]:{type:f.p.CAD,open:!1,suffix:".dwl"},[e.DXF]:{type:f.p.CAD,open:!0,suffix:".dxf"},[e.DGN]:{type:f.p.CAD,open:!1,suffix:".dgn"},[e.NWD]:{type:f.p.BIM,open:!1,suffix:".nwd"},[e.OBJ]:{type:f.p.THREE_D,open:!0,suffix:".obj"},[e.C4D]:{type:f.p.THREE_D,open:!1,suffix:".c4d"},[e.TEKLASTRUCTURES]:{type:f.p.BIM,open:!1,suffix:".teklastructures"},[e.PTS]:{type:f.p.THREE_D,open:!1,suffix:".pts"},[e.LAS]:{type:f.p.THREE_D,open:!0,suffix:".las"},[e.LAZ]:{type:f.p.THREE_D,open:!0,suffix:".laz"},[e.USDZ]:{type:f.p.THREE_D,open:!0,suffix:".usdz"},[e.USDA]:{type:f.p.THREE_D,open:!0,suffix:".usda"},[e.USDC]:{type:f.p.THREE_D,open:!0,suffix:".usdc"},[e.USD]:{type:f.p.THREE_D,open:!0,suffix:".usd"},[e.PSD]:{type:f.p.IMAGE,open:!1,suffix:".psd"},[e.PSP]:{type:f.p.IMAGE,open:!1,suffix:".psp"},[e.AI]:{type:f.p.IMAGE,open:!1,suffix:".ai"},[e.SKP]:{type:f.p.THREE_D,open:!1,suffix:".skp"},[e.FBX]:{type:f.p.THREE_D,open:!0,suffix:".fbx"},[e.KML]:{type:f.p.GEOSPATIAL,open:!0,suffix:".kml"},[e.SHP]:{type:f.p.GEOSPATIAL,open:!0,suffix:".shp"}}},4820(V,M,n){n.d(M,{p:()=>f});var f=function(e){return e.AUTOMATION="automation",e.ARCHIVE="archive",e.AUDIO="audio",e.BACKUP="backup",e.BINARY="binary",e.BIM="bim",e.CAD="cad",e.DATA="data",e.EMAIL="email",e.FONT="font",e.GEOSPATIAL="geospatial",e.IMAGE="image",e.INSTALLER="installer",e.MARKUP="markup",e.MULTIMEDIA="multimedia",e.PLANNING="planning",e.PRESENTATION="presentation",e.SCRIPT="script",e.SPREADSHEET="spreadsheet",e.TEXT="text",e.THREE_D="3d",e.UNKNOWN="unknown",e.VIDEO="video",e}(f||{})}}]);
package/3039.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkcue_ui=self.webpackChunkcue_ui||[]).push([[3039],{3039(T,v,a){a.d(v,{MultiSelect:()=>B});var s=a(7705),c=a(5802),g=a(2271),_=a(8957),p=a(9352),m=a(6117),h=a(356),b=a(6279),P=a(2245),C=a(1359),O=a(29),E=a(5381),z=a(7851),e=a(5547);function D(i,d){if(1&i){const t=e.RV6();e.j41(0,"cue-typography",11),e.bIt("click",function(){c.eBV(t);const n=e.XpG();return c.Njj(!n.disabled()&&n.openMenu())}),e.EFF(1),e.k0s()}if(2&i){const t=e.XpG();e.Y8G("info",t.info()),e.R7$(),e.JRh(t.label())}}function x(i,d){if(1&i&&e.nrm(0,"cue-svg-icon",12),2&i){const t=e.XpG();e.xc7("--cue-icon-width",t.iconSize()),e.Y8G("name",d)}}function S(i,d){if(1&i){const t=e.RV6();e.j41(0,"cue-input",13),e.nI1(1,"transloco"),e.mxI("valueChange",function(n){c.eBV(t);const o=e.XpG();return e.DH7(o.filterValue,n)||(o.filterValue=n),c.Njj(n)}),e.k0s(),e.nrm(2,"div",14)}if(2&i){const t=e.XpG();e.R50("value",t.filterValue),e.Y8G("placeholder",e.bMT(1,2,"components.input.select.placeholderFilter"))}}function F(i,d){1&i&&e.nrm(0,"cue-svg-icon",17),2&i&&e.Y8G("name",d)}function y(i,d){if(1&i){const t=e.RV6();e.j41(0,"cue-menu-item",15),e.bIt("click",function(n){const o=c.eBV(t).$implicit,r=e.XpG();return c.Njj(r.handleSelect(n,o.value))})("mousedown",function(n){c.eBV(t);const o=e.XpG();return c.Njj(o.preventEventBubbling(n))}),e.j41(1,"cue-checkbox",16),e.bIt("mousedown",function(n){c.eBV(t);const o=e.XpG();return c.Njj(o.preventEventBubbling(n))}),e.k0s(),e.nVh(2,F,1,1,"cue-svg-icon",17),e.EFF(3),e.k0s()}if(2&i){let t;const l=d.$implicit,n=e.XpG();e.Y8G("size",n.size())("disabled",n.isFixedValue(l.value)&&n.isSelected(l.value))("selected",n.isSelected(l.value)),e.R7$(),e.Y8G("checked",n.isSelected(l.value))("disabled",n.isFixedValue(l.value)&&n.isSelected(l.value)),e.R7$(),e.vxM((t=n.icon(l.value))?2:-1,t),e.R7$(),e.SpI(" ",l.label," ")}}function I(i,d){if(1&i&&(e.j41(0,"cue-typography",10),e.EFF(1),e.k0s()),2&i){const t=e.XpG();e.R7$(),e.JRh(t.error())}}let B=(()=>{class i{label=(0,s.hFB)("");info=(0,s.hFB)("");placeholder=(0,s.hFB)(void 0);menuPosition=(0,s.hFB)(void 0);options=(0,s.hFB)();labelMap=(0,s.hFB)({});iconMap=(0,s.hFB)({});value=(0,s.geq)([]);fixedValues=(0,s.hFB)([]);size=(0,s.hFB)("xs");disabled=(0,s.hFB)(!1);showFilter=(0,s.hFB)(!1);underline=(0,s.hFB)(!0);error=(0,s.hFB)(void 0);maxHeight=(0,s.hFB)(void 0);loading=(0,s.hFB)(!1);optionLabels=(0,g.EW)(()=>{const t=this.labelMap();return(this.options()??[]).map(n=>t[n]?t[n]:n.toString())});_multiSelectCount=(0,g.EW)(()=>(this.value()||[]).length);_multiSelectTranslated=(0,p.Xx)("components.input.multiSelect.itemsSelected",(0,g.EW)(()=>({count:this._multiSelectCount()})));_defaultPlaceholder=(0,p.Xx)("components.input.multiSelect.placeholderSelect");_placeholder=(0,g.EW)(()=>this.placeholder()??this._defaultPlaceholder());valueLabel=(0,g.EW)(()=>{const t=this.labelMap(),l=this.value()||[],n=this._multiSelectTranslated();let o;if(0===l.length)o="";else if(1===l.length){const r=l[0];o=t[r]?t[r]:r.toString()}else o=n;return o});menuIsOpen=(0,c.vPA)(void 0);filterInputEl=(0,s.ebz)(_.Input);menuEl=(0,s.ebz)(m.W);filterValue=(0,c.vPA)("");optionsFiltered=(0,g.EW)(()=>this._appendFilter(this.options()??[],this.filterValue(),this.labelMap()));iconSize=(0,g.EW)(()=>`var(--cue-input-${this.size()}-font-size)`);handleSelect(t,l){const o=t.target.closest("cue-multi-select");(null!==o?.closest(".ag-filter-wrapper")||null!==o?.closest(".ag-popup")||null!==o?.closest(".ag-filter-apply-panel")||null!==o?.closest('[class*="ag-"]')||null!==document.querySelector(".ag-filter-wrapper"))&&t.stopPropagation(),t.preventDefault();const u=this.value()||[],M=u.includes(l),w=this.fixedValues().includes(l);if(M&&w)return;let f;f=M?u.filter(V=>V!==l):[...u,l],this.value.update(()=>[...f])}preventEventBubbling(t){const n=t.target.closest("cue-multi-select");(null!==n?.closest(".ag-filter-wrapper")||null!==n?.closest(".ag-popup")||null!==n?.closest(".ag-filter-apply-panel")||null!==n?.closest('[class*="ag-"]')||null!==document.querySelector(".ag-filter-wrapper"))&&(t.stopPropagation(),t.stopImmediatePropagation())}onMenuClosed(){this.menuIsOpen.set(!1)}openMenu(){this.menuIsOpen.set(!0),this.filterValue.set("")}handleSpace(t){t.preventDefault(),this.openMenu()}isSelected(t){return(this.value()||[]).includes(t)}isFixedValue(t){return this.fixedValues().includes(t)}constructor(){(0,c.QZP)(()=>{this.showFilter()&&this.menuIsOpen()&&setTimeout(()=>this.filterInputEl()?.focus(),20)}),(0,c.QZP)(()=>{const t=this.value()||[],n=this.fixedValues().filter(o=>!t.includes(o));if(n.length>0){const o=[...t,...n];this.value.set(o)}})}icon(t){if(void 0!==t)return this.iconMap()[t]}_appendFilter(t,l,n){const o=l.toLowerCase();return(""===l?t:t.filter(u=>(n[u]?n[u].toLowerCase():u.toString().toLowerCase()).startsWith(o))).map(u=>({value:u,label:n[u]?n[u]:u.toString()}))}static \u0275fac=function(l){return new(l||i)};static \u0275cmp=e.VBU({type:i,selectors:[["cue-multi-select"]],viewQuery:function(l,n){1&l&&e.wEZ(n.filterInputEl,_.Input,5)(n.menuEl,m.W,5),2&l&&e.NyB(2)},inputs:{label:[1,"label"],info:[1,"info"],placeholder:[1,"placeholder"],menuPosition:[1,"menuPosition"],options:[1,"options"],labelMap:[1,"labelMap"],iconMap:[1,"iconMap"],value:[1,"value"],fixedValues:[1,"fixedValues"],size:[1,"size"],disabled:[1,"disabled"],showFilter:[1,"showFilter"],underline:[1,"underline"],error:[1,"error"],maxHeight:[1,"maxHeight"],loading:[1,"loading"]},outputs:{value:"valueChange"},decls:15,vars:23,consts:[["trigger",""],[1,"form-field"],["size","s",1,"label",3,"info"],[3,"menuClosed","positioning","contextEnabled"],["trigger","","tabindex","0",1,"select-trigger",3,"click","keydown.enter","keydown.space"],["align","center","gap","s",1,"select-value"],[3,"--cue-icon-width","name"],["name","arrow-dropdown",1,"select-arrow"],["menu","",1,"menu",3,"maxHeight","cueLogoLoader"],[3,"size","disabled","selected"],["size","s",1,"error-text"],["size","s",1,"label",3,"click","info"],[3,"name"],[3,"valueChange","value","placeholder"],[2,"height","6px"],[3,"click","mousedown","size","disabled","selected"],["before","",3,"mousedown","checked","disabled"],["before","",3,"name"]],template:function(l,n){if(1&l&&(e.j41(0,"div",1),e.nVh(1,D,2,2,"cue-typography",2),e.j41(2,"cue-menu",3),e.bIt("menuClosed",function(){return n.onMenuClosed()}),e.EFF(3,"> "),e.j41(4,"div",4,0),e.bIt("click",function(){return!n.disabled()&&n.openMenu()})("keydown.enter",function(){return!n.disabled()&&n.openMenu()})("keydown.space",function(r){return!n.disabled()&&n.handleSpace(r)}),e.j41(6,"cue-flexcontainer",5),e.nVh(7,x,1,3,"cue-svg-icon",6),e.EFF(8),e.k0s(),e.nrm(9,"cue-svg-icon",7),e.k0s(),e.j41(10,"cue-menu-wrap",8),e.nVh(11,S,3,4),e.Z7z(12,y,4,7,"cue-menu-item",9,e.Vm6),e.k0s()(),e.nVh(14,I,2,1,"cue-typography",10),e.k0s()),2&l){let o;e.HbH("size-"+n.size()),e.AVh("focused",n.value()&&n.value().length>0||""!==n.placeholder())("menu-open",n.menuIsOpen())("underline",n.underline())("no-label",!n.label()),e.R7$(),e.vxM(n.label()?1:-1),e.R7$(),e.Y8G("positioning",n.menuPosition())("contextEnabled",!n.disabled()),e.R7$(2),e.AVh("disabled",n.disabled()),e.R7$(3),e.vxM((o=n.icon(1===n.value().length?n.value()[0]:void 0))?7:-1,o),e.R7$(),e.SpI(" ",n.value()&&n.value().length>0?n.valueLabel():n._placeholder()," "),e.R7$(2),e.xc7("min-height",n.loading()?"200px":null),e.Y8G("maxHeight",n.maxHeight())("cueLogoLoader",n.loading()),e.R7$(),e.vxM(n.showFilter()?11:-1),e.R7$(),e.Dyx(n.optionsFiltered()),e.R7$(2),e.vxM(n.error()?14:-1)}},dependencies:[m.W,h.M,b.D,P.Typography,_.Input,C.Checkbox,O.A,E.n,z.k,p.Kj],styles:[".form-field[_ngcontent-%COMP%]{position:relative}.select-trigger[_ngcontent-%COMP%]{color:var(--cue-input-value-color);width:100%;border:none;background:none;outline:none;font-family:var(--cue-font-family);display:flex;justify-content:space-between;align-items:center;cursor:pointer;box-sizing:border-box}.form-field.underline[_ngcontent-%COMP%] .select-trigger[_ngcontent-%COMP%]{border-bottom:1px solid var(--cue-input-border-bottom-color)}.form-field[_ngcontent-%COMP%]:not(.underline) .select-trigger[_ngcontent-%COMP%]{align-items:flex-start;padding-top:2px;padding-bottom:1px}.select-trigger.disabled[_ngcontent-%COMP%]{cursor:not-allowed;opacity:.6}.select-trigger[_ngcontent-%COMP%]:focus{outline:none}.size-xs[_ngcontent-%COMP%] .select-trigger[_ngcontent-%COMP%]{padding:var(--cue-input-xs-padding);font-size:var(--cue-input-xs-font-size)}.size-s[_ngcontent-%COMP%] .select-trigger[_ngcontent-%COMP%]{padding:var(--cue-input-s-padding);font-size:var(--cue-input-s-font-size)}.size-m[_ngcontent-%COMP%] .select-trigger[_ngcontent-%COMP%]{padding:var(--cue-input-m-padding);font-size:var(--cue-input-m-font-size)}.size-l[_ngcontent-%COMP%] .select-trigger[_ngcontent-%COMP%]{padding:var(--cue-input-l-padding);font-size:var(--cue-input-l-font-size)}.form-field.no-label.size-xs[_ngcontent-%COMP%] .select-trigger[_ngcontent-%COMP%], .form-field.no-label.size-s[_ngcontent-%COMP%] .select-trigger[_ngcontent-%COMP%], .form-field.no-label.size-m[_ngcontent-%COMP%] .select-trigger[_ngcontent-%COMP%], .form-field.no-label.size-l[_ngcontent-%COMP%] .select-trigger[_ngcontent-%COMP%]{padding-top:0}.select-value[_ngcontent-%COMP%]{color:var(--cue-input-value-color);font-family:var(--cue-font-family);flex:1;text-align:left}.form-field[_ngcontent-%COMP%]:not(.focused) .select-value[_ngcontent-%COMP%]{color:var(--cue-input-placeholder-color)}.select-arrow[_ngcontent-%COMP%]{color:var(--cue-input-value-color);margin-left:8px;display:inline-block;transition:transform .2s ease}.form-field.menu-open[_ngcontent-%COMP%] .select-arrow[_ngcontent-%COMP%]{transform:rotate(180deg)}.label[_ngcontent-%COMP%]{position:absolute;pointer-events:auto;transition:all .2s ease;cursor:pointer}.size-xs[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{top:var(--cue-input-xs-label-top);left:var(--cue-input-xs-label-left)}.size-s[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{top:var(--cue-input-s-label-top);left:var(--cue-input-s-label-left)}.size-m[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{top:var(--cue-input-m-label-top);left:var(--cue-input-m-label-left)}.size-l[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{top:var(--cue-input-l-label-top);left:var(--cue-input-l-label-left)}.form-field.focused[_ngcontent-%COMP%] .label[_ngcontent-%COMP%], .form-field.menu-open[_ngcontent-%COMP%] .label[_ngcontent-%COMP%], .form-field[_ngcontent-%COMP%] .select-trigger[_ngcontent-%COMP%]:not(:placeholder-shown) + .label[_ngcontent-%COMP%], .form-field[_ngcontent-%COMP%] select[_ngcontent-%COMP%]:valid + .label[_ngcontent-%COMP%]{color:var(--cue-input-value-color)}.size-xs.focused[_ngcontent-%COMP%] .label[_ngcontent-%COMP%], .size-xs.menu-open[_ngcontent-%COMP%] .label[_ngcontent-%COMP%], .size-xs[_ngcontent-%COMP%] .select-trigger[_ngcontent-%COMP%]:not(:placeholder-shown) + .label[_ngcontent-%COMP%], .size-xs[_ngcontent-%COMP%] select[_ngcontent-%COMP%]:valid + .label[_ngcontent-%COMP%]{top:var(--cue-input-xs-label-focused-top);font-size:var(--cue-input-xs-label-focused-font-size)}.size-s.focused[_ngcontent-%COMP%] .label[_ngcontent-%COMP%], .size-s.menu-open[_ngcontent-%COMP%] .label[_ngcontent-%COMP%], .size-s[_ngcontent-%COMP%] .select-trigger[_ngcontent-%COMP%]:not(:placeholder-shown) + .label[_ngcontent-%COMP%], .size-s[_ngcontent-%COMP%] select[_ngcontent-%COMP%]:valid + .label[_ngcontent-%COMP%]{top:var(--cue-input-s-label-focused-top);font-size:var(--cue-input-s-label-focused-font-size)}.size-m.focused[_ngcontent-%COMP%] .label[_ngcontent-%COMP%], .size-m.menu-open[_ngcontent-%COMP%] .label[_ngcontent-%COMP%], .size-m[_ngcontent-%COMP%] .select-trigger[_ngcontent-%COMP%]:not(:placeholder-shown) + .label[_ngcontent-%COMP%], .size-m[_ngcontent-%COMP%] select[_ngcontent-%COMP%]:valid + .label[_ngcontent-%COMP%]{top:var(--cue-input-m-label-focused-top);font-size:var(--cue-input-m-label-focused-font-size)}.size-l.focused[_ngcontent-%COMP%] .label[_ngcontent-%COMP%], .size-l.menu-open[_ngcontent-%COMP%] .label[_ngcontent-%COMP%], .size-l[_ngcontent-%COMP%] .select-trigger[_ngcontent-%COMP%]:not(:placeholder-shown) + .label[_ngcontent-%COMP%], .size-l[_ngcontent-%COMP%] select[_ngcontent-%COMP%]:valid + .label[_ngcontent-%COMP%]{top:var(--cue-input-l-label-focused-top);font-size:var(--cue-input-l-label-focused-font-size)}cue-menu[_ngcontent-%COMP%]{width:100%}.error-text[_ngcontent-%COMP%]{color:var(--cue-error);margin-top:4px;min-height:18px}"],changeDetection:0})}return i})()}}]);