@egen-civitas/esm-app-shell 2.8.0 → 2.8.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_egen_civitas_esm_app_shell=self.webpackChunk_egen_civitas_esm_app_shell||[]).push([["4794"],{5745(h,v,a){var s=a(3645),g=a(784),t=a(7388),e=a(1017),l=document.createElement("div"),n=function(){document.body.appendChild(l)};l.id="egen-svgs-container",l.style.display="none","complete"===document.readyState?n():window.addEventListener("load",n);var w=[],c=!1;function o(h,v){if(!c)return void w.push({id:h,svg:v});var a=new DOMParser().parseFromString(v,"image/svg+xml").querySelector("svg");a&&(a.id=h,l.appendChild(a))}var p=a(2883);a(8783);var M=a(8300),i=a(5565);function d(h,v){document.documentElement.style.setProperty(h,v)}(0,s.defineConfigSchema)("@egen-civitas/esm-styleguide",e.u),(0,s.getConfigStore)("@egen-civitas/esm-styleguide").subscribe(function(h){h.loaded&&h.config&&(d("--brand-01",h.config["Brand color #1"]),d("--brand-02",h.config["Brand color #2"]),d("--brand-03",h.config["Brand color #3"]))}),o("egen-icon-activity",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M6 14.5a.5.5 0 0 1-.46-.31L3.165 8.5H1v-1h2.5a.5.5 0 0 1 .46.31L6 12.64l4.03-10.815a.5.5 0 0 1 .47-.325.5.5 0 0 1 .465.34L12.86 7.5H15v1h-2.5a.5.5 0 0 1-.475-.34L10.5 3.5 6.47 14.175A.5.5 0 0 1 6 14.5"/></svg>'),o("egen-icon-add",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M8.5 7.5V4h-1v3.5H4v1h3.5V12h1V8.5H12v-1z"/></svg>'),o("egen-icon-arrow-down",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M12.295 8.295 8.5 12.085V2h-1v10.085l-3.795-3.79L3 9l5 5 5-5z"/></svg>'),o("egen-icon-arrow-left",'<svg xmlns="http://www.w3.org/2000/svg"><path d="m7 13 .705-.705L3.915 8.5H14v-1H3.915l3.79-3.795L7 3 2 8z"/></svg>'),o("egen-icon-arrow-right",'<svg xmlns="http://www.w3.org/2000/svg"><path d="m9 3-.715.696 3.79 3.804H2v1h10.075l-3.79 3.787L9 13l5-5z"/></svg>'),o("egen-icon-arrow-up",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M8 2 3 7l.705.705L7.5 3.915V14h1V3.915l3.795 3.79L13 7z"/></svg>'),o("egen-icon-calendar-heat-map",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M13 2h-2V1h-1v1H6V1H5v1H3a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1M3 3h2v1h1V3h4v1h1V3h2v2H3zm0 3h2.5v3H3zm6.5 7h-3v-3h3zm0-4h-3V6h3zm1 4v-3H13v3z"/></svg>'),o("egen-icon-calendar",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M13 2h-2V1h-1v1H6V1H5v1H3c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h10c.55 0 1-.45 1-1V3c0-.55-.45-1-1-1m0 11H3V6h10zm0-8H3V3h2v1h1V3h4v1h1V3h2z"/></svg>'),o("egen-icon-caret-down",'<svg xmlns="http://www.w3.org/2000/svg"><path d="m12 6-4 5-4-5z"/></svg>'),o("egen-icon-caret-left",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M10 12 5 8l5-4z"/></svg>'),o("egen-icon-caret-right",'<svg xmlns="http://www.w3.org/2000/svg"><path d="m6 4 5 4-5 4z"/></svg>'),o("egen-icon-caret-up",'<svg xmlns="http://www.w3.org/2000/svg"><path d="m4 10 4-5 4 5z"/></svg>'),o("egen-icon-chart-average",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M11.5 12c-1.8 0-2.515-2.088-3.206-4.107C7.638 5.979 6.96 4 5.5 4a1.72 1.72 0 0 0-1.527 1.16l-.947-.318C3.05 4.767 3.66 3 5.5 3c2.175 0 3.006 2.427 3.74 4.569C9.844 9.333 10.415 11 11.5 11a1.72 1.72 0 0 0 1.527-1.16l.947.318C13.95 10.233 13.34 12 11.5 12"/><path d="M2 14V8.5h1v-1H2V1H1v13a1 1 0 0 0 1 1h13v-1z"/><path d="M5 7.5H4v1h1zM7 7.5H6v1h1zM11 7.5h-1v1h1zM13 7.5h-1v1h1zM15 7.5h-1v1h1z"/></svg>'),o("egen-icon-chart-line",'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path d="m4.67 28 6.39-12 7.3 6.49a2 2 0 0 0 1.7.47 2 2 0 0 0 1.42-1.07L27 10.9l-1.82-.9-5.49 11-7.3-6.49a2 2 0 0 0-1.68-.51 2 2 0 0 0-1.42 1L4 25V2H2v26a2 2 0 0 0 2 2h26v-2Z"/><path d="M0 0h32v32H0z" data-name="&lt;Transparent Rectangle&gt;" style="fill:none"/></svg>'),o("egen-icon-checkmark-filled",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M8 1a7 7 0 1 0 0 14A7 7 0 0 0 8 1m-1 9.795-2.5-2.5.795-.795L7 9.205 10.705 5.5l.798.793z"/></svg>'),o("egen-icon-checkmark-outline",'<svg xmlns="http://www.w3.org/2000/svg"><path d="m7 10.707-2.5-2.5.707-.707L7 9.293 10.793 5.5l.707.707z"/><path d="M8 1a7 7 0 1 0 0 14A7 7 0 0 0 8 1m0 13A6 6 0 1 1 8 2a6 6 0 0 1 0 12"/></svg>'),o("egen-icon-chevron-down",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M8 11 3 6l.7-.7L8 9.6l4.3-4.3.7.7z"/></svg>'),o("egen-icon-chevron-left",'<svg xmlns="http://www.w3.org/2000/svg"><path d="m5 8 5-5 .7.7L6.4 8l4.3 4.3-.7.7z"/></svg>'),o("egen-icon-chevron-right",'<svg xmlns="http://www.w3.org/2000/svg"><path d="m11 8-5 5-.7-.7L9.6 8 5.3 3.7 6 3z"/></svg>'),o("egen-icon-chevron-up",'<svg xmlns="http://www.w3.org/2000/svg"><path d="m8 5 5 5-.7.7L8 6.4l-4.3 4.3L3 10z"/></svg>'),o("egen-icon-close",'<svg xmlns="http://www.w3.org/2000/svg"><path d="m12 4.7-.7-.7L8 7.3 4.7 4l-.7.7L7.3 8 4 11.3l.7.7L8 8.7l3.3 3.3.7-.7L8.7 8z"/></svg>'),o("egen-icon-close-filled",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M8 1C4.1 1 1 4.1 1 8s3.1 7 7 7 7-3.1 7-7-3.1-7-7-7m2.7 10.5L8 8.8l-2.7 2.7-.8-.8L7.2 8 4.5 5.3l.8-.8L8 7.2l2.7-2.7.8.8L8.8 8l2.7 2.7z"/></svg>'),o("egen-icon-close-outline",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M8 1C4.1 1 1 4.1 1 8s3.1 7 7 7 7-3.1 7-7-3.1-7-7-7m0 13c-3.3 0-6-2.7-6-6s2.7-6 6-6 6 2.7 6 6-2.7 6-6 6"/><path d="M10.7 11.5 8 8.8l-2.7 2.7-.8-.8L7.2 8 4.5 5.3l.8-.8L8 7.2l2.7-2.7.8.8L8.8 8l2.7 2.7z"/></svg>'),o("egen-icon-document",'<svg xmlns="http://www.w3.org/2000/svg"><path d="m12.85 4.65-3.5-3.5C9.25 1.05 9.15 1 9 1H4c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h8c.55 0 1-.45 1-1V5c0-.15-.05-.25-.15-.35M9 2.2 11.8 5H9zM12 14H4V2h4v3c0 .55.45 1 1 1h3z"/><path d="M11 11H5v1h6zM11 8H5v1h6z"/></svg>'),o("egen-icon-document-attachment",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M13 15H5.5a1 1 0 0 1-1-1v-3h1v3H13V3H8.5V2H13a1 1 0 0 1 1 1v11a1 1 0 0 1-1 1"/><path d="M12 5H8.5v1H12zM12 7.5H8v1h4zM12 10H7.5v1H12zM4.5 9.5A2.503 2.503 0 0 1 2 7V1.5h1V7a1.5 1.5 0 0 0 3 0V2.5a.5.5 0 1 0-1 0v5H4v-5a1.5 1.5 0 0 1 3 0V7a2.503 2.503 0 0 1-2.5 2.5"/></svg>'),o("egen-icon-download",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M13 12v2H3v-2H2v2a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1v-2zM13 7l-.705-.705-3.795 3.79V1h-1v9.085l-3.795-3.79L3 7l5 5z"/></svg>'),o("egen-icon-edit",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M15 13H1v1h14zM12.7 4.5c.4-.4.4-1 0-1.4l-1.8-1.8c-.4-.4-1-.4-1.4 0L2 8.8V12h3.2zM10.2 2 12 3.8l-1.5 1.5-1.8-1.8zM3 11V9.2l5-5L9.8 6l-5 5z"/></svg>'),o("egen-icon-event-schedule",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M10.5 15a4 4 0 1 1 0-8 4 4 0 0 1 0 8m0-7a3 3 0 1 0 0 6 3 3 0 0 0 0-6"/><path d="M11.295 12.5 10 11.205V9h1v1.795l1 1z"/><path d="M14 3a1 1 0 0 0-1-1h-2V1h-1v1H6V1H5v1H3a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h2v-1H3V3h2v1h1V3h4v1h1V3h2v3h1z"/></svg>'),o("egen-icon-events",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M13 7h-1v1h1a1.5 1.5 0 0 1 1.5 1.5v2h1v-2A2.503 2.503 0 0 0 13 7M12 2a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3m0-1a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5M11.5 15h-1v-1A1.5 1.5 0 0 0 9 12.5H7A1.5 1.5 0 0 0 5.5 14v1h-1v-1A2.503 2.503 0 0 1 7 11.5h2a2.503 2.503 0 0 1 2.5 2.5zM8 6.5a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3m0-1a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5M4 7H3A2.503 2.503 0 0 0 .5 9.5v2h1v-2A1.5 1.5 0 0 1 3 8h1zM4 2a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3m0-1a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5"/></svg>'),o("egen-icon-gender-female",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M8.5 9.965a4 4 0 1 0-1 0V11H5v1h2.5v2h1v-2H11v-1H8.5zM5 6a3 3 0 1 1 6 0 3 3 0 0 1-6 0"/></svg>'),o("egen-icon-gender-male",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M9 2v1h3.293L8.449 6.844a4.014 4.014 0 1 0 .707.707L13 3.707V7h1V2zM6 13a3 3 0 1 1 0-6 3 3 0 0 1 0 6"/></svg>'),o("egen-icon-gender-other",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M11 1v1h2.293l-3.2 3.2a3.47 3.47 0 0 0-4.185 0l-.7-.7L6.5 3.207 5.793 2.5 4.5 3.793 2.707 2H5V1H1v4h1V2.707L3.793 4.5 2.5 5.793l.707.707L4.5 5.207l.7.7a3.49 3.49 0 0 0 2.3 5.553v1.04h-2v1h2V15h1v-1.5h2v-1h-2v-1.04a3.49 3.49 0 0 0 2.3-5.552L14 2.707V5h1V1zm-3 9.5a2.5 2.5 0 1 1 0-5 2.5 2.5 0 0 1 0 5"/></svg>'),o("egen-icon-gender-unknown",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M8 12a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5M8.5 9.5h-1v-2h1a1 1 0 0 0 0-2h-1a1 1 0 0 0-1 1v.25h-1V6.5a2 2 0 0 1 2-2h1a2 2 0 1 1 0 4z"/><path d="M8 15a1.04 1.04 0 0 1-.737-.305L1.305 8.737a1.043 1.043 0 0 1 0-1.474l5.958-5.958a1.043 1.043 0 0 1 1.474 0l5.958 5.958a1.043 1.043 0 0 1 0 1.474l-5.958 5.958A1.04 1.04 0 0 1 8 15M8 2a.04.04 0 0 0-.03.012L2.012 7.97a.04.04 0 0 0 0 .06l5.958 5.958a.04.04 0 0 0 .06 0l5.958-5.958a.04.04 0 0 0 0-.06L8.03 2.012A.04.04 0 0 0 8 2"/></svg>'),o("egen-icon-group",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M15.5 15h-1v-1.5A1.5 1.5 0 0 0 13 12h-2a1.5 1.5 0 0 0-1.5 1.5V15h-1v-1.5A2.5 2.5 0 0 1 11 11h2a2.5 2.5 0 0 1 2.5 2.5zM12 6a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3m0-1a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5M7.5 11h-1V9.5A1.5 1.5 0 0 0 5 8H3a1.5 1.5 0 0 0-1.5 1.5V11h-1V9.5A2.5 2.5 0 0 1 3 7h2a2.5 2.5 0 0 1 2.5 2.5zM4 2a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3m0-1a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5"/></svg>'),o("egen-icon-group-access",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M4 9.5H3v-1A1.5 1.5 0 0 1 4.5 7H7v1H4.5a.5.5 0 0 0-.5.5zM6 6.5a2 2 0 1 1 0-4 2 2 0 0 1 0 4m0-3a1 1 0 1 0 0 2 1 1 0 0 0 0-2M10 10a2 2 0 1 1 0-4 2 2 0 0 1 0 4m0-3a1 1 0 1 0 0 2 1 1 0 0 0 0-2M13 13h-1v-1a.5.5 0 0 0-.5-.5h-3a.5.5 0 0 0-.5.5v1H7v-1a1.5 1.5 0 0 1 1.5-1.5h3A1.5 1.5 0 0 1 13 12z"/><path d="M4 15H2a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h2v1H2v12h2zM14 15h-2v-1h2V2h-2V1h2a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1"/></svg>'),o("egen-icon-information",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M8.5 11V7h-2v1h1v3H6v1h4v-1zM8 4a.75.75 0 1 0 0 1.5A.75.75 0 0 0 8 4"/><path d="M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14M8 2a6 6 0 1 0 0 12A6 6 0 0 0 8 2"/></svg>'),o("egen-icon-information-filled",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M8 1a7 7 0 1 0 0 14A7 7 0 0 0 8 1m0 3a.75.75 0 1 1 0 1.5A.75.75 0 0 1 8 4m2 8.063H6v-1.126h1.438V8.063H6.5V6.937h2.063v4H10z"/></svg>'),o("egen-icon-information-square",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M8.5 11V7h-2v1h1v3H6v1h4v-1zM8 4a.75.75 0 1 0 0 1.5A.75.75 0 0 0 8 4"/><path d="M13 14H3a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1M3 3v10h10V3z"/></svg>'),o("egen-icon-inventory-management",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M11.5 12h-2v2h2zM15 12h-2v2h2zM11.5 8.5h-2v2h2zM15 8.5h-2v2h2z"/><path d="M8.5 12H2V5h12v2.5h1V5a1 1 0 0 0-1-1h-3V2a1 1 0 0 0-1-1H6a1 1 0 0 0-1 1v2H2a1 1 0 0 0-1 1v7a1 1 0 0 0 1 1h6.5zM6 2h4v2H6z"/></svg>'),o("egen-icon-list-checked",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M15 4H8v1h7zM3 5.295 1.705 4 1 4.705l2 2 4-4L6.295 2zM15 11H8v1h7zM3 12.295 1.705 11 1 11.705l2 2 4-4L6.295 9z"/></svg>'),o("egen-icon-location",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M8 9a2.5 2.5 0 1 1 0-5 2.5 2.5 0 0 1 0 5m0-4a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3"/><path d="m8 15-4.218-4.974-.174-.226A5.44 5.44 0 0 1 2.5 6.5a5.5 5.5 0 1 1 11 0 5.44 5.44 0 0 1-1.107 3.299h-.001s-.15.198-.172.225zM4.406 9.198s.117.154.144.187L8 13.454l3.455-4.075.14-.183A4.45 4.45 0 0 0 12.5 6.5a4.5 4.5 0 1 0-9 0 4.45 4.45 0 0 0 .906 2.698"/></svg>'),o("egen-icon-maximize",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M10 1v1h3.293L9 6.291 9.707 7 14 2.707V6h1V1zM7 9.708 6.296 9 2 13.293V10H1v5h5v-1H2.707z"/></svg>'),o("egen-icon-message-queue",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M14 14H2a1 1 0 0 1-1-1v-2.5h1V13h12v-2.5h1V13a1 1 0 0 1-1 1"/><path d="M12.5 10.5h-9v1h9zM12.5 8h-9v1h9zM12.5 5.5h-9v1h9zM12.5 3h-9v1h9z"/></svg>'),o("egen-icon-money",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M15 11H1v1h14zM15 13H1v1h14zM12 5a1 1 0 1 0 0 2 1 1 0 0 0 0-2M8 8a2 2 0 1 1 0-4 2 2 0 0 1 0 4m0-3a1 1 0 1 0 0 2 1 1 0 0 0 0-2M4 5a1 1 0 1 0 0 2 1 1 0 0 0 0-2"/><path d="M14 10H2a1.003 1.003 0 0 1-1-1V3a1.003 1.003 0 0 1 1-1h12a1.003 1.003 0 0 1 1 1v6a1 1 0 0 1-1 1m0-7H2v6h12z"/></svg>'),o("egen-icon-movement",'<svg xmlns="http://www.w3.org/2000/svg"><path d="m12 10-.705.705 1.79 1.795H5a2 2 0 1 1 0-4h6a3 3 0 0 0 0-6H2.915L4.705.705 4 0 1 3l3 3 .705-.705L2.915 3.5H11a2 2 0 0 1 0 4H5a3 3 0 1 0 0 6h8.085l-1.79 1.795L12 16l3-3z"/></svg>'),o("egen-icon-overflow-menu--horizontal",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M4 9a1 1 0 1 0 0-2 1 1 0 0 0 0 2M8 9a1 1 0 1 0 0-2 1 1 0 0 0 0 2M12 9a1 1 0 1 0 0-2 1 1 0 0 0 0 2"/></svg>'),o("egen-icon-overflow-menu--vertical",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M8 5a1 1 0 1 0 0-2 1 1 0 0 0 0 2M8 9a1 1 0 1 0 0-2 1 1 0 0 0 0 2M8 13a1 1 0 1 0 0-2 1 1 0 0 0 0 2"/></svg>'),o("egen-icon-password",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M10.5 1a4.5 4.5 0 0 0-4.306 5.806L1 12v3h3l5.194-5.194A4.5 4.5 0 1 0 10.5 1m0 8c-.344 0-.687-.051-1.016-.151l-.573-.174-2.015 2.014L6.207 10l-.707.707.69.69-.794.792-.689-.689-.707.707.69.69L3.585 14H2v-1.586L7.325 7.09l-.174-.573A3.5 3.5 0 1 1 10.5 9"/><path d="M11 6a1 1 0 1 0 0-2 1 1 0 0 0 0 2"/></svg>'),o("egen-icon-pedestrian-family",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M10 15H8.5a1 1 0 0 1-1-1v-2.5h1V14H10v-2.5h1v-2a.5.5 0 0 0-.5-.5H6.14l-1-3H2a.5.5 0 0 0-.5.5v3h1V14h2v-3.5h1V14a1 1 0 0 1-1 1h-2a1 1 0 0 1-1-1v-3.5a1 1 0 0 1-1-1v-3A1.5 1.5 0 0 1 2 5h3.14a1 1 0 0 1 .948.684L6.86 8h3.64A1.5 1.5 0 0 1 12 9.5v2a1 1 0 0 1-1 1V14a1 1 0 0 1-1 1M14 15h-1V9.5h1.5v-3A.5.5 0 0 0 14 6h-2V5h2a1.5 1.5 0 0 1 1.5 1.5v3a1 1 0 0 1-1 1H14zM3.5 4.5a2 2 0 1 1 0-4 2 2 0 0 1 0 4m0-3a1 1 0 1 0 0 2 1 1 0 0 0 0-2M12.5 4.5a2 2 0 1 1 0-4 2 2 0 0 1 0 4m0-3a1 1 0 1 0 0 2 1 1 0 0 0 0-2"/><path d="M9.25 7.5a1.75 1.75 0 1 1 0-3.5 1.75 1.75 0 0 1 0 3.5m0-2.5a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5"/></svg>'),o("egen-icon-pen",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M13.654 3.053 15 1.707 14.293 1l-1.346 1.346L12.4 1.8a.967.967 0 0 0-1.4 0l-9 9V14h3.2l9-9a.967.967 0 0 0 0-1.4zM4.8 13H3v-1.8l8.7-8.7 1.8 1.8zM8.293 2 4.5 5.793l.707.707L9 2.707z"/></svg>'),o("egen-icon-printer",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M14 4.5h-1.5v-3h-9v3H2a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h1.5v3h9v-3H14a1 1 0 0 0 1-1v-5a1 1 0 0 0-1-1m-9.5-2h7v2h-7zm7 11h-7v-5h7zm2.5-3h-1.5v-3h-9v3H2v-5h12z"/></svg>'),o("egen-icon-programs",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M15 15h-1v-1a.5.5 0 0 0-.5-.5h-3a.5.5 0 0 0-.5.5v1H9v-1c0-.827.673-1.5 1.5-1.5h3c.827 0 1.5.673 1.5 1.5zM12 12c-1.103 0-2-.897-2-2s.897-2 2-2 2 .897 2 2-.897 2-2 2m0-3a1.001 1.001 0 0 0 0 2 1.001 1.001 0 0 0 0-2M5 10H4v1h1zM9 10H6v1h3zM5 8H4v1h1zM9 8H6v1h3zM5 6H4v1h1zM9 6H6v1h3z"/><path d="M10.5 2.5H9V2c0-.552-.449-1-1-1H5c-.551 0-1 .448-1 1v.5H2.5c-.551 0-1 .449-1 1V13c0 .552.449 1 1 1H7v-1H2.5V3.5H4v1h5v-1h1.5V7h1V3.5c0-.551-.449-1-1-1M8 3.5H5V2h3z"/></svg>'),o("egen-icon-renew",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M6 5H3.39A5.5 5.5 0 0 1 13.5 8h1A6.5 6.5 0 0 0 3 3.84V2H2v4h4zM10 11h2.61A5.5 5.5 0 0 1 2.5 8h-1A6.5 6.5 0 0 0 13 12.16V14h1v-4h-4z"/></svg>'),o("egen-icon-report",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M9 9H5v1h4zM11 6.5H5v1h6zM7.5 11.5H5v1h2.5z"/><path d="M12.5 2.5H11V2a1 1 0 0 0-1-1H6a1 1 0 0 0-1 1v.5H3.5a1 1 0 0 0-1 1V14a1 1 0 0 0 1 1h9a1 1 0 0 0 1-1V3.5a1 1 0 0 0-1-1M6 2h4v2H6zm6.5 12h-9V3.5H5V5h6V3.5h1.5z"/></svg>'),o("egen-icon-reset",'<svg xmlns="http://www.w3.org/2000/svg"><path fill="#161616" d="M9 14a6 6 0 1 0-6-6v3.1L1.2 9.3l-.7.7 3 3 3-3-.7-.7L4 11.1V8a5 5 0 1 1 5 5z"/></svg>'),o("egen-icon-save",'<svg xmlns="http://www.w3.org/2000/svg"><path fill="#161616" d="m13.855 4.645-2.5-2.5A.5.5 0 0 0 11 2H3a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V5a.5.5 0 0 0-.145-.355M6 3h4v2H6zm4 10H6V9h4zm1 0V9a1 1 0 0 0-1-1H6a1 1 0 0 0-1 1v4H3V3h2v2a1 1 0 0 0 1 1h4a1 1 0 0 0 1-1V3.205l2 2V13z"/></svg>'),o("egen-icon-search",'<svg xmlns="http://www.w3.org/2000/svg"><path d="m14.5 13.793-3.776-3.776a5.508 5.508 0 1 0-.707.707l3.776 3.776zM2 6.5a4.5 4.5 0 1 1 9 0 4.5 4.5 0 0 1-9 0"/></svg>'),o("egen-icon-settings",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M13.5 8.38v-.765l.96-.84a1 1 0 0 0 .19-1.275l-1.18-2a1 1 0 0 0-1.185-.45l-1.215.41a6 6 0 0 0-.655-.375l-.255-1.26a1 1 0 0 0-1-.805H6.82a1 1 0 0 0-1 .805l-.255 1.26q-.343.166-.66.375l-1.19-.43a1 1 0 0 0-.32-.03 1 1 0 0 0-.865.5l-1.18 2a1 1 0 0 0 .205 1.255l.945.865v.765l-.945.84A1 1 0 0 0 1.35 10.5l1.18 2a1 1 0 0 0 1.185.45l1.215-.41q.315.21.655.375l.255 1.26a1 1 0 0 0 1 .805H9.2a1 1 0 0 0 1-.805l.255-1.26q.342-.165.66-.375l1.21.41q.155.051.32.05a1 1 0 0 0 .865-.5l1.14-2a1 1 0 0 0-.205-1.255zM12.605 12l-1.715-.58c-.402.34-.86.606-1.355.785L9.18 14H6.82l-.355-1.775a4.7 4.7 0 0 1-1.35-.785l-1.72.56-1.18-2 1.36-1.2a4.5 4.5 0 0 1 0-1.565L2.215 6l1.18-2 1.715.58a4.4 4.4 0 0 1 1.355-.785L6.82 2h2.36l.355 1.775c.49.184.947.45 1.35.785l1.72-.56 1.18 2-1.36 1.2a4.5 4.5 0 0 1 0 1.565L13.785 10z"/><path d="M8 11a3 3 0 1 1 3-3 2.97 2.97 0 0 1-3 3m0-5a1.955 1.955 0 0 0-2 2 1.955 1.955 0 0 0 2 2 1.954 1.954 0 0 0 2-2 1.954 1.954 0 0 0-2-2"/></svg>'),o("egen-icon-shopping-cart",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M5 15a1 1 0 1 0 0-2 1 1 0 0 0 0 2M12 15a1 1 0 1 0 0-2 1 1 0 0 0 0 2M14 3.5H2.91L2.5 1.4A.5.5 0 0 0 2 1H0v1h1.59l1.91 9.6a.5.5 0 0 0 .5.4h9v-1H4.41L4 9h9a.5.5 0 0 0 .5-.39l1-4.5a.5.5 0 0 0-.5-.61M12.6 8H3.81l-.7-3.5h10.265z"/></svg>'),o("egen-icon-shopping-cart--arrow-down",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M5 15a1 1 0 1 0 0-2 1 1 0 0 0 0 2M12 15a1 1 0 1 0 0-2 1 1 0 0 0 0 2M2.49 1.402A.5.5 0 0 0 2 1H0v1h1.59l1.92 9.598A.5.5 0 0 0 4 12h9v-1H4.41l-.4-2H13a.5.5 0 0 0 .488-.392L14.622 3.5h-1.024L12.6 8H3.81z"/><path d="M10.793 3.293 9 5.086V1H8v4.086L6.207 3.293 5.5 4l3 3 3-3z"/></svg>'),o("egen-icon-sticky-note-add",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M11.5 1h-1v2h-2v1h2v2h1V4h2V3h-2z"/><path d="M7.5 2h-4a1.003 1.003 0 0 0-1 1v10a1.003 1.003 0 0 0 1 1h6a.45.45 0 0 0 .35-.15l3.5-3.5a.45.45 0 0 0 .15-.35V7h-1v2h-3a1.003 1.003 0 0 0-1 1v3h-5V3h4zm4.8 8-2.8 2.8V10z"/></svg>'),o("egen-icon-switcher",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M9 2H7v2h2zM4 2H2v2h2zM14 2h-2v2h2zM9 7H7v2h2zM4 7H2v2h2zM14 7h-2v2h2zM9 12H7v2h2zM4 12H2v2h2zM14 12h-2v2h2z"/></svg>'),o("egen-icon-table-of-contents",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M11 3H2v1h9zM11 6H2v1h9zM11 9H2v1h9zM11 12H2v1h9zM14 3h-1v1h1zM14 6h-1v1h1zM14 9h-1v1h1zM14 12h-1v1h1z"/></svg>'),o("egen-icon-table",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M14.5 2.5a1 1 0 0 0-1-1h-11a1 1 0 0 0-1 1v11a1 1 0 0 0 1 1h11a1 1 0 0 0 1-1zm-1 0v2h-11v-2zm0 11h-11v-2h11zm0-3h-11v-2h11zm0-3h-11v-2h11z"/></svg>'),o("egen-icon-time",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14M8 2a6 6 0 1 0 0 12A6 6 0 0 0 8 2"/><path d="M10.295 11 7.5 8.205V3.5h1v4.29l2.5 2.505z"/></svg>'),o("egen-icon-tools",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M6.05 1a4.9 4.9 0 0 0-2.7.8L6.55 5a1.05 1.05 0 0 1 .1 1.5 1.05 1.05 0 0 1-1.5-.1l-3.3-3.2A4.9 4.9 0 0 0 1 6.05a5.07 5.07 0 0 0 5.05 5.05c.438.002.874-.048 1.3-.15l3.35 3.35a2.51 2.51 0 1 0 3.55-3.55L10.9 7.4q.153-.641.15-1.3a5 5 0 0 0-5-5.1m4 5.05c0 .355-.051.709-.15 1.05l-.15.55.4.4 3.35 3.35a1.44 1.44 0 0 1 .45 1.05 1.36 1.36 0 0 1-.45 1.05 1.45 1.45 0 0 1-2.1 0l-3.35-3.35-.4-.4-.55.15c-.341.099-.695.15-1.05.15A4.14 4.14 0 0 1 3.2 8.9 3.82 3.82 0 0 1 2 6.05c0-.372.051-.742.15-1.1l2.2 2.2a2.07 2.07 0 0 0 2.95.1 2.07 2.07 0 0 0-.1-2.95L5 2.1c.323-.102.66-.153 1-.15A4.14 4.14 0 0 1 8.85 3.1a4.25 4.25 0 0 1 1.2 2.95"/></svg>'),o("egen-icon-translate",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M13.925 14.5H15L12 7h-1.175l-3 7.5H8.9l.8-2h3.425zm-3.825-3 1.31-3.28 1.315 3.28zM9 3.5v-1H5.5V1h-1v1.5H1v1h5.37a7.36 7.36 0 0 1-1.595 3.09A6.8 6.8 0 0 1 3.63 4.5H2.58a8.2 8.2 0 0 0 1.5 2.79A8.4 8.4 0 0 1 1.5 9l.375.93A9.2 9.2 0 0 0 4.765 8a8.5 8.5 0 0 0 2.88 1.92L8 9a7.2 7.2 0 0 1-2.56-1.685A8.8 8.8 0 0 0 7.4 3.5z"/></svg>'),o("egen-icon-trash-can",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M7 6H6v6h1zM10 6H9v6h1z"/><path d="M2 3v1h1v10a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V4h1V3zm2 11V4h8v10zM10 1H6v1h4z"/></svg>'),o("egen-icon-tree-view--alt",'<svg xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#a)"><path d="M11.5 4.502h3a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1h-3a1 1 0 0 0-1 1v.5h-5v-.5a1 1 0 0 0-1-1h-3a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-.5h2v10a1 1 0 0 0 1 1h2v.5a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1h-3a1 1 0 0 0-1 1v.5h-2v-4.5h2v.5a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1h-3a1 1 0 0 0-1 1v.5h-2v-4.5h2v.5a1 1 0 0 0 1 1m0-3h3v2h-3zm-7 2h-3v-2h3zm7 9h3v2h-3zm0-5.5h3v2h-3z"/></g><defs><clipPath id="a"><path fill="#fff" d="M0 0h16v16H0z"/></clipPath></defs></svg>'),o("egen-icon-user-avatar",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M8 4a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5m0 4a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3"/><path d="M8 1a7 7 0 1 0 7 7 7.01 7.01 0 0 0-7-7M5 13.188V12.5A1.5 1.5 0 0 1 6.5 11h3a1.5 1.5 0 0 1 1.5 1.5v.688a5.95 5.95 0 0 1-6 0m6.996-.725A2.5 2.5 0 0 0 9.5 10h-3a2.5 2.5 0 0 0-2.496 2.463 6 6 0 1 1 7.992 0"/></svg>'),o("egen-icon-user-follow",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M16 7h-2V5h-1v2h-2v1h2v2h1V8h2zM6 2a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5m0-1a3.5 3.5 0 1 0 0 7 3.5 3.5 0 0 0 0-7M11 15h-1v-2.5A2.5 2.5 0 0 0 7.5 10h-3A2.5 2.5 0 0 0 2 12.5V15H1v-2.5A3.5 3.5 0 0 1 4.5 9h3a3.5 3.5 0 0 1 3.5 3.5z"/></svg>'),o("egen-icon-user",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M8 2a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5m0-1a3.5 3.5 0 1 0 0 7 3.5 3.5 0 0 0 0-7M13 15h-1v-2.5A2.5 2.5 0 0 0 9.5 10h-3A2.5 2.5 0 0 0 4 12.5V15H3v-2.5A3.5 3.5 0 0 1 6.5 9h3a3.5 3.5 0 0 1 3.5 3.5z"/></svg>'),o("egen-icon-view-off",'<svg xmlns="http://www.w3.org/2000/svg"><path d="m2.62 11.255.715-.71A7 7 0 0 1 1.535 8C2.55 5.465 5.35 3.5 8 3.5a6.2 6.2 0 0 1 2 .36l.775-.78A7.4 7.4 0 0 0 8 2.5 8.35 8.35 0 0 0 .53 7.83a.5.5 0 0 0 0 .34 8 8 0 0 0 2.09 3.085"/><path d="M6 7.865a2 2 0 0 1 1.85-1.85l.905-.91A3 3 0 0 0 5.09 8.77zM15.47 7.83a8.2 8.2 0 0 0-2.87-3.72L15 1.705 14.295 1 1 14.295l.705.705 2.55-2.55A7.65 7.65 0 0 0 8 13.5a8.35 8.35 0 0 0 7.47-5.33.5.5 0 0 0 0-.34M10 8a2 2 0 0 1-3 1.72L9.72 7A2 2 0 0 1 10 8m-2 4.5a6.5 6.5 0 0 1-3-.79l1.27-1.27a3 3 0 0 0 4.175-4.175L11.88 4.83A7.27 7.27 0 0 1 14.465 8C13.45 10.535 10.65 12.5 8 12.5"/></svg>'),o("egen-icon-view",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M15.47 7.83A8.34 8.34 0 0 0 8 2.5 8.35 8.35 0 0 0 .53 7.83a.5.5 0 0 0 0 .34A8.35 8.35 0 0 0 8 13.5a8.35 8.35 0 0 0 7.47-5.33.5.5 0 0 0 0-.34M8 12.5c-2.65 0-5.45-1.965-6.465-4.5C2.55 5.465 5.35 3.5 8 3.5s5.45 1.965 6.465 4.5C13.45 10.535 10.65 12.5 8 12.5"/><path d="M8 5a3 3 0 1 0 0 6 3 3 0 0 0 0-6m0 5a2 2 0 1 1 0-4 2 2 0 0 1 0 4"/></svg>'),o("egen-icon-warning",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M8 1a7 7 0 1 0 0 14A7 7 0 0 0 8 1m0 13A6 6 0 1 1 8 2a6 6 0 0 1 0 12"/><path d="M8.5 4h-1v5.5h1zM8 11a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5"/></svg>'),o("egen-pict-appointments",'<svg xmlns="http://www.w3.org/2000/svg"><path fill="#CEE6E5" d="M59.73 22.18H19.85c-.28 0-.51.23-.51.51v38.45c0 .28.23.51.51.51h39.88c.28 0 .51-.23.51-.51V22.7c0-.28-.23-.51-.51-.51z"/><path fill="#7BBCB9" d="M54.03 46.4h-11.4a.51.51 0 0 0-.51.51v5.7c0 .282.228.51.51.51h11.4a.51.51 0 0 0 .51-.51v-5.7a.51.51 0 0 0-.51-.51M36.94 46.4h-11.4a.51.51 0 0 0-.51.51v5.7c0 .282.228.51.51.51h11.4a.51.51 0 0 0 .51-.51v-5.7a.51.51 0 0 0-.51-.51M54.03 33.58h-11.4a.51.51 0 0 0-.51.51v5.7c0 .282.228.51.51.51h11.4a.51.51 0 0 0 .51-.51v-5.7a.51.51 0 0 0-.51-.51M36.94 33.58h-11.4a.51.51 0 0 0-.51.51v5.7c0 .282.228.51.51.51h11.4a.51.51 0 0 0 .51-.51v-5.7a.51.51 0 0 0-.51-.51M49.76 27.48c-1.07 0-1.94-.87-1.94-1.94v-5.69c0-1.07.87-1.94 1.94-1.94s1.94.87 1.94 1.94v5.7c0 1.07-.87 1.94-1.94 1.94zM29.82 27.48c-1.07 0-1.94-.87-1.94-1.94v-5.69c0-1.07.87-1.94 1.94-1.94s1.94.87 1.94 1.94v5.7c0 1.07-.87 1.94-1.94 1.94z"/><path fill="#CEE6E5" d="M45.48 22.18H34.09v1.03h11.39z"/></svg>'),o("egen-pict-assessment-1",'<svg xmlns="http://www.w3.org/2000/svg"><path fill="#7BBCB9" d="M37.08 22.95a5.046 5.046 0 0 1-4.96 4.13c-2.78 0-5.04-2.26-5.04-5.04 0-.33.03-.66.09-.97 1.92 1.17 3.6 1.83 5.35 2.06 1.48.2 2.95.09 4.56-.18M28.27 18.79a5.04 5.04 0 0 1 8.63 1.64c-1.59.28-2.84.38-4.04.21-1.36-.19-2.76-.72-4.59-1.85M27.71 28.35c-3.45 0-6.18 2.1-7.93 4.65-1.76 2.57-2.78 5.89-2.78 9.18 0 1.75.81 3.79 1.39 5.07.32.71.64 1.33.87 1.78.1.2.19.36.26.49v10.35c0 1.39 1.13 2.52 2.52 2.52s2.52-1.13 2.52-2.52V45.43c.37-3.04 1.23-5.79 2.22-8.04l.83 3.22a2.525 2.525 0 0 0 2.44 1.89h6.48c1.39 0 2.52-1.13 2.52-2.52s-1.13-2.52-2.52-2.52H32l-1.85-7.22a2.525 2.525 0 0 0-2.44-1.89"/><path fill="#CEE6E5" d="M56.07 32.13c2.78 0 5.04-2.26 5.04-5.04s-2.26-5.04-5.04-5.04-5.04 2.26-5.04 5.04 2.26 5.04 5.04 5.04"/><path fill="#CEE6E5" fill-rule="evenodd" d="M48.79 32.18a2.53 2.53 0 0 1 2.83 1.43l3.34 7.42h4.9c1.39 0 2.52 1.13 2.52 2.52s-1.13 2.52-2.52 2.52h-6.53c-.99 0-1.89-.58-2.3-1.49l-1.81-4.02c-.58 1.06-.96 2.04-1.2 3.05-.25 1.06-.36 2.22-.34 3.64.41.17.86.34 1.34.51a49 49 0 0 0 3.67 1.07c.28.07.53.14.74.2.16.04.33.09.48.14h.01c.08.03.41.13.73.32.41.25.69.58.75.65.12.15.24.3.34.44.22.29.47.66.74 1.07.55.81 1.21 1.85 1.85 2.86s1.27 2.02 1.73 2.76c.23.37.42.68.56.9l.21.34-2.15 1.32 2.15-1.32a2.52 2.52 0 0 1-.83 3.47 2.52 2.52 0 0 1-3.47-.83l-.21-.33c-.13-.21-.32-.52-.55-.89-.46-.74-1.07-1.73-1.71-2.72-.63-1-1.27-1.99-1.78-2.74-.17-.25-.32-.47-.44-.64-.13-.03-.27-.07-.42-.11-.16-.04-.33-.09-.52-.14-.96-.26-2.25-.61-3.53-1.06l-.13-.05v9.89h-2.52v-8.82H30.85v8.82h-2.52V49.75h13.91c-.11-.11-.22-.23-.32-.36-.5-.61-.98-1.48-.98-2.58 0-5.93 1.6-9.61 3.55-11.85.96-1.1 1.95-1.79 2.74-2.2.39-.21.74-.35 1.01-.44.13-.05.25-.08.34-.11q.075-.015.12-.03c.02 0 .03 0 .05-.01h.02l.54 2.46-.53-2.46zm3.61 21.83s-.02 0-.04-.02c.03.01.04.02.04.02m-.83-.54s-.05-.06-.01-.02v.02z" clip-rule="evenodd"/><path fill="#7BBCB9" d="M39.05 24.56c1.04 0 1.89-1.41 1.89-3.15s-.85-3.15-1.89-3.15-1.89 1.41-1.89 3.15.85 3.15 1.89 3.15"/></svg>'),o("egen-pict-assessment-2",'<svg xmlns="http://www.w3.org/2000/svg"><path fill="#CEE6E5" d="M25.983 23.69c1.29 0 2.34-1.05 2.34-2.34a2.343 2.343 0 0 0-4.37-1.17h-.31c-1.94 0-3.52 1.57-3.52 3.52v10.55c-.64-.02-1.17.51-1.12 1.15.27 2.99 1.58 5.8 3.72 7.94 1.57 1.57 3.5 2.69 5.6 3.29v2.83c0 1.53.98 2.83 2.34 3.32a8.49 8.49 0 0 0 8.49 8.4c4.66 0 8.49-3.8 8.49-8.49V48a4.39 4.39 0 1 1 8.78 0v2.84a3.5 3.5 0 0 0-2.34 3.32c0 1.94 1.57 3.52 3.52 3.52s3.52-1.57 3.52-3.52c0-1.53-.98-2.83-2.34-3.32V48c0-3.72-3.02-6.74-6.74-6.74s-6.74 3.02-6.74 6.74v4.69c0 3.4-2.75 6.15-6.15 6.15s-6.1-2.7-6.15-6.06a3.51 3.51 0 0 0 2.34-3.31v-2.83c2.1-.59 4.03-1.72 5.6-3.29 2.14-2.14 3.45-4.95 3.72-7.94.06-.64-.47-1.17-1.12-1.17V23.69c0-1.94-1.57-3.52-3.52-3.52h-.31a2.343 2.343 0 0 0-4.37 1.17 2.343 2.343 0 0 0 4.37 1.17h.31c.65 0 1.17.52 1.17 1.17v10.55h.25c-.65 0-1.16.53-1.25 1.17a8.5 8.5 0 0 1-2.39 4.81 8.447 8.447 0 0 1-11.94 0c-1.31-1.31-2.14-3-2.39-4.81-.09-.64-.61-1.17-1.25-1.17h.25V23.69c0-.65.52-1.17 1.17-1.17h.31c.41.7 1.16 1.17 2.03 1.17"/><path fill="#7BBCB9" d="M57.943 58.5a3.88 3.88 0 1 0 0-7.76 3.88 3.88 0 0 0 0 7.76M26.073 24.14a2.57 2.57 0 1 0 0-5.14 2.57 2.57 0 0 0 0 5.14M37.503 24.14a2.57 2.57 0 1 0 0-5.14 2.57 2.57 0 0 0 0 5.14"/></svg>'),o("egen-pict-facility",'<svg xmlns="http://www.w3.org/2000/svg"><path fill="#CEE6E5" d="M61.48 62H18.52c-.29 0-.52-.23-.52-.52V28.54c0-.29.23-.52.52-.52h30.99v-9.5c0-.29.23-.52.52-.52h11.46c.28 0 .52.23.52.52v42.96c0 .28-.23.52-.52.52z"/><path fill="#7BBCB9" d="M39.63 51.97h-6.85v8.99h6.85zM56.41 52.89h-1.03v-2.87h1.03zM48.54 52.89h-1.03v-2.87h1.03zM24.9 50.02h-1.03v2.86h1.03zM56.41 47.16h-1.03v-2.87h1.03zM48.54 47.16h-1.03v-2.87h1.03zM40.66 44.29h-1.03v2.86h1.03zM32.78 44.29h-1.03v2.86h1.03zM24.9 44.29h-1.03v2.86h1.03zM56.41 41.43h-1.03v-2.86h1.03zM48.54 41.43h-1.03v-2.86h1.03zM40.66 38.57h-1.03v2.86h1.03zM32.78 38.57h-1.03v2.86h1.03zM24.9 38.57h-1.03v2.86h1.03zM56.41 35.7h-1.03v-2.86h1.03zM48.54 35.7h-1.03v-2.86h1.03zM40.66 32.84h-1.03v2.86h1.03zM32.78 32.84h-1.03v2.86h1.03zM24.9 32.84h-1.03v2.86h1.03zM56.41 26.39h-1.03v-2.35h-2.35v-1.03h2.35v-2.35h1.03v2.35h2.35v1.03h-2.35z"/></svg>'),o("egen-pict-payments-desk",'<svg xmlns="http://www.w3.org/2000/svg"><path fill="#CEE6E5" d="M63.28 42.47c0 1.72-5.05 4.13-13.28 4.13-2.01 0-3.93-.15-5.72-.44.03-.16.06-.32.06-.49v-4.7c1.79.27 3.68.42 5.65.42 5.15 0 10.52-1.04 13.28-3v4.09z"/><path fill="#7BBCB9" d="M42.45 45.67c0 1.72-5.03 4.12-13.23 4.12S16 47.39 16 45.67V41.6c2.75 1.96 8.1 2.99 13.23 2.99s10.47-1.03 13.23-2.99v4.07z"/><path fill="#7BBCB9" d="M16 48.69c2.76 1.96 8.1 2.99 13.23 2.99s10.47-1.04 13.23-2.99v4.07c0 1.72-5.03 4.12-13.23 4.12S16 54.48 16 52.76z"/><path fill="#CEE6E5" d="M63.28 28.25c0 1.72-5.05 4.13-13.28 4.13s-13.28-2.41-13.28-4.13v-4.09c2.76 1.96 8.13 3 13.28 3s10.52-1.04 13.28-3z"/><path fill="#CEE6E5" d="M50 17c8.23 0 13.28 2.41 13.28 4.13S58.23 25.26 50 25.26s-13.28-2.41-13.28-4.13S41.77 17 50 17M36.73 31.26c2.76 1.97 8.13 3.01 13.28 3.01s10.52-1.04 13.28-3.01v4.09c0 1.72-5.05 4.13-13.28 4.13-1.97 0-3.93-.16-5.71-.45.03-.15.06-.3.06-.46 0-2.54-3.3-4.31-7.62-5.24v-2.07z"/><path fill="#7BBCB9" d="M29.23 34.47c8.2 0 13.23 2.4 13.23 4.12s-5.03 4.11-13.23 4.11S16 40.3 16 38.58s5.03-4.12 13.23-4.12zM29.23 63.96c-8.19 0-13.23-2.4-13.23-4.12v-4.07c2.75 1.96 8.1 2.99 13.23 2.99s10.47-1.04 13.23-2.99v4.07c0 1.72-5.03 4.12-13.23 4.12"/><path fill="#CEE6E5" d="M50 53.71c-2 0-3.92-.15-5.72-.44.03-.17.07-.34.07-.51v-4.67c1.78.27 3.68.41 5.65.41 5.15 0 10.52-1.04 13.28-3v4.09c0 1.72-5.05 4.13-13.28 4.13z"/></svg>'),o("egen-pict-registration",'<svg xmlns="http://www.w3.org/2000/svg"><path fill="#CEE6E5" d="M53.975 60.797H24.762a.525.525 0 0 1-.525-.524V23.762c0-.295.24-.525.525-.525h11.154v-6.773c0-.295.24-.524.524-.524h5.845c.295 0 .525.24.525.524v6.773h11.154c.295 0 .524.24.524.525v36.51c0 .296-.24.525-.524.525z"/><path fill="#7BBCB9" d="M40.57 55.367H30.344v1.05H40.57zM47.868 52.45H30.344v1.05h17.524zM42.242 40.04a5.73 5.73 0 0 0 2.83-4.927 5.726 5.726 0 0 0-5.715-5.714 5.726 5.726 0 0 0-5.713 5.714 5.7 5.7 0 0 0 2.84 4.927c-4.25 1.278-7.265 5.145-7.265 9.417h20.298c0-4.272-3.026-8.14-7.265-9.417zM54.5 65.462h4.096v-4.38c0-.154.12-.285.284-.285h4.38V56.7h-4.38a.28.28 0 0 1-.284-.284v-4.38h-4.097v4.38c0 .153-.12.284-.284.284h-4.38v4.097h4.38c.153 0 .284.12.284.284z"/></svg>'),o("egen-pict-service-queues",'<svg xmlns="http://www.w3.org/2000/svg"><path fill="#CEE6E5" fill-rule="evenodd" d="M34.824 27.412c.659-.473.879-1.41.784-2.353C35.703 21.133 32.502 18 28.55 18s-7.153 3.133-7.059 7.059c-.094 2.802 1.647 5.26 3.922 6.275C20.11 32.699 16 37.538 16 43.099v11.765h21.961V27.412zM63.06 54.864V43.099c0-5.561-4.11-10.415-9.412-11.765 2.274-1.015 4.016-3.473 3.922-6.275.094-3.926-3.106-7.059-7.06-7.059-3.952 0-7.152 3.133-7.058 7.059-.094.944.11 1.88.784 2.353h-3.137v27.452z" clip-rule="evenodd"/><path fill="#7BBCB9" fill-rule="evenodd" d="M28.55 61.138v-11.52c0-5.806 4.11-10.66 9.647-11.934-2.51-1.09-4.251-3.548-4.251-6.405 0-3.87 3.2-7.004 7.153-7.004s7.153 3.133 7.153 7.004c0 2.857-1.741 5.314-4.251 6.405 5.537 1.29 9.647 6.128 9.647 11.934v11.52" clip-rule="evenodd"/></svg>'),o("egen-pict-stock-management",'<svg xmlns="http://www.w3.org/2000/svg"><path fill="#CEE6E5" d="M40.9 16 16 27.04v36.17h7.79V32.06h33.32v31.15h7.79V26.1z"/><path fill="#7BBCB9" d="M38.28 53h-8.42a.9.9 0 0 0-.9.9v8.42a.9.9 0 0 0 .9.9h8.42a.9.9 0 0 0 .9-.9V53.9a.9.9 0 0 0-.9-.9M50.36 53h-8.42a.9.9 0 0 0-.9.9v8.42a.9.9 0 0 0 .9.9h8.42a.9.9 0 0 0 .9-.9V53.9a.9.9 0 0 0-.9-.9M44.36 41h-8.42a.9.9 0 0 0-.9.9v8.42a.9.9 0 0 0 .9.9h8.42a.9.9 0 0 0 .9-.9V41.9a.9.9 0 0 0-.9-.9"/></svg>'),o("egen-pict-transfer",'<svg xmlns="http://www.w3.org/2000/svg"><path fill="#CEE6E5" d="M58.87 20h-10a1.11 1.11 0 0 0-1.11 1.11v10c0 .613.497 1.11 1.11 1.11h10a1.11 1.11 0 0 0 1.11-1.11v-10A1.11 1.11 0 0 0 58.87 20M31.11 47.76h-10A1.11 1.11 0 0 0 20 48.87v10c0 .613.497 1.11 1.11 1.11h10a1.11 1.11 0 0 0 1.11-1.11v-10a1.11 1.11 0 0 0-1.11-1.11"/><path fill="#7BBCB9" d="M36.426 41.985 32.89 45.52l1.57 1.57 3.536-3.535z"/><path fill="#7BBCB9" fill-rule="evenodd" d="M37.88 35.84v-2.22h8.48v8.47h-2.22v-4.68l-4.42 4.42-1.57-1.57 4.42-4.42z" clip-rule="evenodd"/></svg>'),o("egen-empty-data-illustration",'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><g fill="none"><path fill="#F4F4F4" d="M38.133 13.186H21.947a1.39 1.39 0 0 0-1.39 1.391V50.55l-.186.057-3.97 1.216a.743.743 0 0 1-.927-.493L3.664 12.751a.74.74 0 0 1 .492-.926l6.118-1.874 17.738-5.43 6.119-1.873a.74.74 0 0 1 .926.492L38.076 13z"/><path fill="#8D8D8D" d="M41.664 13 38.026 1.117A1.576 1.576 0 0 0 36.056.07l-8.601 2.633-17.737 5.43-8.603 2.634a1.58 1.58 0 0 0-1.046 1.97l12.436 40.616a1.58 1.58 0 0 0 1.969 1.046l5.897-1.805.185-.057v-.194l-.185.057-5.952 1.822a1.393 1.393 0 0 1-1.737-.923L.247 12.682a1.39 1.39 0 0 1 .923-1.738L9.772 8.31 27.51 2.881 36.112.247a1.393 1.393 0 0 1 1.737.923L41.47 13l.057.186h.193l-.057-.185z"/><path fill="#C6C6C6" d="M11.378 11.855a.84.84 0 0 1-.798-.59L9.385 7.361a.835.835 0 0 1 .554-1.042l16.318-4.996a.836.836 0 0 1 1.042.554l1.195 3.902a.836.836 0 0 1-.554 1.043l-16.318 4.995a.8.8 0 0 1-.244.037z"/><circle cx="17.636" cy="2.314" r="1.855" fill="#C6C6C6"/><circle cx="17.636" cy="2.314" r="1.175" fill="#FFF"/><path fill="#F4F4F4" d="M55.893 53.995H24.544a.79.79 0 0 1-.788-.789V15.644a.79.79 0 0 1 .788-.788h31.349a.79.79 0 0 1 .788.788v37.562a.79.79 0 0 1-.788.789"/><path fill="#8D8D8D" d="M41.47 13H21.948a1.58 1.58 0 0 0-1.576 1.577V52.4l.185-.057V14.577a1.39 1.39 0 0 1 1.391-1.39h19.581zm17.02 0H21.947a1.58 1.58 0 0 0-1.576 1.577v42.478c0 .87.706 1.576 1.576 1.577H58.49a1.58 1.58 0 0 0 1.576-1.577V14.577a1.58 1.58 0 0 0-1.576-1.576zm1.39 44.055c0 .768-.622 1.39-1.39 1.392H21.947a1.39 1.39 0 0 1-1.39-1.392V14.577c0-.768.622-1.39 1.39-1.39H58.49c.768 0 1.39.622 1.39 1.39z"/><path fill="#C6C6C6" d="M48.751 17.082H31.686a.836.836 0 0 1-.835-.835v-4.081c0-.46.374-.834.835-.835H48.75c.461 0 .834.374.835.835v4.08a.836.836 0 0 1-.835.836z"/><circle cx="40.218" cy="9.755" r="1.855" fill="#C6C6C6"/><circle cx="40.218" cy="9.755" r="1.13" fill="#FFF"/></g></svg>'),function(){if(!c&&(c=!0,0!==w.length)){for(var h=w.map(function(h){return h.svg}).join(""),v=new DOMParser().parseFromString("<body>".concat(h,"</body>"),"text/html").body.querySelectorAll(":scope > svg"),a=0;a<v.length;a++)v[a].id=w[a].id,l.appendChild(l.ownerDocument.importNode(v[a],!0));w.length=0}}(),(0,g.Ju)({name:"workspace2-close-prompt",moduleName:"@egen-civitas/esm-styleguide",load:(0,t.getSyncLifecycle)(function(h){var v=h.onConfirm,a=h.onCancel,s=h.affectedWorkspaceTitles;return(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(M.ModalHeader,{closeModal:a,title:(0,i.V)("closeWorkspaces2PromptTitle")}),(0,p.jsxs)(M.ModalBody,{children:[(0,p.jsx)("p",{children:(0,i.V)("closeWorkspaces2PromptBody")}),(0,p.jsx)("ul",{className:"P0mBO1Xif5+ed74ed2GBqA==",children:s.map(function(h){return(0,p.jsx)("li",{children:h},h)})})]}),(0,p.jsxs)(M.ModalFooter,{children:[(0,p.jsx)(M.Button,{kind:"secondary",onClick:a,children:(0,i.V)("cancel","Cancel")}),(0,p.jsx)(M.Button,{kind:"danger",onClick:v,children:(0,i.V)("discardChanges","Discard changes")})]})]})},{featureName:"workspace2-close-prompt",moduleName:"@egen-civitas/esm-styleguide"})})}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_egen_civitas_esm_app_shell=self.webpackChunk_egen_civitas_esm_app_shell||[]).push([["3736"],{9167(e,t,r){r.d(t,{y:()=>o});let n=e=>{let t,r=new Set,n=(e,n)=>{let o="function"==typeof e?e(t):e;if(!Object.is(o,t)){let e=t;t=(null!=n?n:"object"!=typeof o||null===o)?o:Object.assign({},t,o),r.forEach(r=>r(t,e))}},o=()=>t,u={setState:n,getState:o,getInitialState:()=>i,subscribe:e=>(r.add(e),()=>r.delete(e)),destroy:()=>{console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),r.clear()}},i=t=e(n,o,u);return u},o=e=>e?n(e):n},427(e,t,r){r.r(t),r.d(t,{useExtensionSlotMeta:()=>eT,useEgenPagination:()=>eJ,useConnectivity:()=>eC,createUseStore:()=>h,useBackendConfiguration:()=>em,useEgenSWR:()=>e0,useOnVisible:()=>eG,useRenderableExtensions:()=>e6,useForceUpdate:()=>eL,useExtensionStore:()=>eM,useSessionContext:()=>tu,useBodyScrollLock:()=>eg,useAppContext:()=>el,UserHasAccess:()=>tc,getAsyncExtensionLifecycle:()=>H,getAsyncLifecycle:()=>G,useWorkSessionTypes:()=>ta,ComponentContext:()=>i,ExtensionSlot:()=>x,useConfig:()=>eE,useDebounce:()=>ek,useEgenInfinite:()=>eX,useAssignedExtensions:()=>S,Extension:()=>f,useAbortController:()=>ei,useConnectedExtensions:()=>ej,useExtensionSlotStore:()=>O,usePagination:()=>e2,useSession:()=>e4,ConfigurableLink:()=>l,egenComponentDecorator:()=>z,useAssignedExtensionIds:()=>ey,useFeatureFlag:()=>eU,useSessionContextStore:()=>to,useExtensionInternalStore:()=>eN,useDefineAppContext:()=>en,EgenAppContext:()=>eo,useAttachments:()=>eb,usePaginationInfo:()=>e3,useLocations:()=>ez,useExtensionSlot:()=>w,useStore:()=>g,useOnClickOutside:()=>e$,getLifecycle:()=>$,useStoreWithActions:()=>v,isDesktop:()=>eB,RenderIfValueIsTruthy:()=>eu,getSyncLifecycle:()=>W,useEgenFetchAll:()=>eQ,useLayoutType:()=>eV});var n,o=r(8783),u=r.n(o),i=(0,o.createContext)({moduleName:"",featureName:""}),a=r(7774);function l(e){var t=e.to,r=e.templateParams,n=e.onBeforeNavigate,i=e.children,l=function(e,t){if(null==e)return{};var r,n,o,u={};if("u">typeof Reflect&&Reflect.ownKeys){for(o=0,r=Reflect.ownKeys(Object(e));o<r.length;o++)n=r[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(u[n]=e[n]);return u}if(u=function(e,t){if(null==e)return{};var r,n,o={},u=Object.getOwnPropertyNames(e);for(n=0;n<u.length;n++)r=u[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r]);return o}(e,t),Object.getOwnPropertySymbols)for(o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)n=r[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(u[n]=e[n]);return u}(e,["to","templateParams","onBeforeNavigate","children"]);return(0,o.useEffect)(function(){l.href&&console.warn("ConfigurableLink does not support the href prop. Use the 'to' prop instead. The provided href value is '".concat(l.href,"'")),l.onClick&&console.warn("ConfigurableLink does not support the onClick prop. Use the 'onBeforeNavigate' prop instead. The 'to' prop of the offending link is ".concat(t))},[]),u().createElement("a",function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}({onClick:function(e){0===e.button&&!e.ctrlKey&&!e.shiftKey&&!e.altKey&&!e.metaKey&&(e.preventDefault(),null==n||n(e),(0,a.oo)({to:t,templateParams:r})),0===e.button&&(e.ctrlKey||e.metaKey)&&(null==n||n(e)),0===e.button&&e.shiftKey&&(null==n||n(e)),1===e.button&&(null==n||n(e))},href:(0,a.JG)(t,r)},l),i)}var c=r(784);function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}var f=function(e){var t=e.state,r=(e.children,function(e,t){if(null==e)return{};var r,n,o,u={};if("u">typeof Reflect&&Reflect.ownKeys){for(o=0,r=Reflect.ownKeys(Object(e));o<r.length;o++)n=r[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(u[n]=e[n]);return u}if(u=function(e,t){if(null==e)return{};var r,n,o={},u=Object.getOwnPropertyNames(e);for(n=0;n<u.length;n++)r=u[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r]);return o}(e,t),Object.getOwnPropertySymbols)for(o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)n=r[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(u[n]=e[n]);return u}(e,["state","children"])),n=(0,o.useContext)(i).extension,a=(0,o.useRef)(null),l=(0,o.useRef)(Promise.resolve()),f=(0,o.useCallback)(function(e){(null==n?void 0:n.extensionSlotName)&&n.extensionSlotModuleName&&n.extensionSlotModuleName&&!a.current&&(0,c.wG)(e,n.extensionSlotName,n.extensionSlotModuleName,n.extensionId,void 0,t).then(function(e){a.current=e})},[]);return(0,o.useEffect)(function(){return function(){if(a&&a.current)switch(a.current.getStatus()){case"MOUNTING":a.current.mountPromise.then(function(){var e;(null==(e=a.current)?void 0:e.getStatus())==="MOUNTED"&&a.current.unmount()});break;case"MOUNTED":a.current.unmount();break;case"UPDATING":l.current&&l.current.then(function(){var e;(null==(e=a.current)?void 0:e.getStatus())==="MOUNTED"&&a.current.unmount()})}}},[]),(0,o.useEffect)(function(){a.current&&a.current.update&&"UNMOUNTING"!==a.current.getStatus()&&Promise.all([a.current.mountPromise,l.current]).then(function(){var e;(null==a||null==(e=a.current)?void 0:e.getStatus())==="MOUNTED"&&a.current.update&&(l.current=a.current.update(s({},t)).catch(function(e){var t,r;if((null!=(r=Error)&&"u">typeof Symbol&&r[Symbol.hasInstance]?!r[Symbol.hasInstance](e):!(e instanceof r))||!e.message.includes("minified message #32")||(null==(t=a.current)?void 0:t.getStatus())==="MOUNTED")throw e}))})},[t]),n?u().createElement("div",s({ref:f,"data-extension-id":null==n?void 0:n.extensionId,style:{position:"relative"}},r)):null};function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}function b(e,t){if(e){if("string"==typeof e)return y(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return y(e,t)}}function p(e,t){"function"==typeof t&&(t=t(e));var r={},n=!0,o=!1,u=void 0;try{for(var i,a=Object.entries(t)[Symbol.iterator]();!(n=(i=a.next()).done);n=!0)!function(){var t,n=(t=i.value,function(e){if(Array.isArray(e))return e}(t)||function(e){var t,r,n=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o=[],u=!0,i=!1;try{for(n=n.call(e);!(u=(t=n.next()).done)&&(o.push(t.value),2!==o.length);u=!0);}catch(e){i=!0,r=e}finally{try{u||null==n.return||n.return()}finally{if(i)throw r}}return o}}(t)||b(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),o=n[0],u=n[1];r[o]=function(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];e.setState(function(e){return u.apply(void 0,[e].concat(function(e){if(Array.isArray(e))return y(e)}(r)||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(r)||b(r)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()))})}}()}catch(e){o=!0,u=e}finally{try{n||null==a.return||a.return()}finally{if(o)throw u}}return r}var m=function(){return function(e){return e}};function g(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:m(),r=arguments.length>2?arguments[2]:void 0,n=(0,o.useCallback)(function(t){return e.subscribe(t)},[e]),u=(0,o.useCallback)(function(){return t(e.getState())},[e,t]);return d({},(0,o.useSyncExternalStore)(n,u,u),(0,o.useMemo)(function(){return r?p(e,r):{}},[e,r]))}function v(e,t){return g(e,m(),t)}function h(e){return function(t){var r=(0,o.useCallback)(function(t){return e.subscribe(t)},[]),n=(0,o.useCallback)(function(){return e.getState()},[]);return d({},(0,o.useSyncExternalStore)(r,n,n),(0,o.useMemo)(function(){return t?p(e,t):{}},[t]))}}var O=function(e){return g((0,c.zF)(),function(t){var r;return null==(r=t.slots)?void 0:r[e]})};function S(e){var t,r=O(e);return null!=(t=null==r?void 0:r.assignedExtensions)?t:[]}function w(e,t){var r=(0,o.useContext)(i).moduleName,n=(0,o.useRef)(!0);if(!r)throw Error("ComponentContext has not been provided. This should come from @egen-civitas/esm-react-utils.");return(0,o.useEffect)(function(){(0,c.FY)(r,e,t),n.current=!1},[]),(0,o.useEffect)(function(){n.current||(0,c.ap)(e,t)},[e,t]),{extensions:S(e),extensionSlotName:e,extensionSlotModuleName:r}}function E(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}function j(e){return e}function x(e){var t,r,n=e.name,a=e.extensionSlotName,l=e.select,c=void 0===l?j:l,s=e.children,y=e.state,d=e.style,b=function(e,t){if(null==e)return{};var r,n,o,u={};if("u">typeof Reflect&&Reflect.ownKeys){for(o=0,r=Reflect.ownKeys(Object(e));o<r.length;o++)n=r[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(u[n]=e[n]);return u}if(u=function(e,t){if(null==e)return{};var r,n,o={},u=Object.getOwnPropertyNames(e);for(n=0;n<u.length;n++)r=u[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r]);return o}(e,t),Object.getOwnPropertySymbols)for(o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)n=r[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(u[n]=e[n]);return u}(e,["name","extensionSlotName","select","children","state","style"]);if(s&&y)throw Error("Both children and state have been provided. If children are provided, the state must be passed as a prop to the `Extension` component.");var p=null!=n?n:a,m=(0,o.useRef)(null),g=w(p,y),v=g.extensions,h=g.extensionSlotModuleName,O=(0,o.useMemo)(function(){return c(v)},[c,v]),S=(0,o.useMemo)(function(){if("function"==typeof s&&!u().isValidElement(s))return O.map(function(e){return s(e,y)})},[s,O]);return u().createElement("div",E({ref:m,"data-extension-slot-name":p,"data-extension-slot-module-name":h,style:(t=E({},d),r=r={position:"relative"},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t})(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}),t)},b),p&&(null==O?void 0:O.map(function(e,t){var r,n;return u().createElement(i.Provider,{key:e.id,value:{moduleName:h,featureName:"",extension:{extensionId:e.id,extensionSlotName:p,extensionSlotModuleName:h}}},null!=(r=null!=(n=null==S?void 0:S[t])?n:"function"!=typeof s?s:null)?r:u().createElement(f,{state:y}))})))}var P=r(8279),A=r(2879),C=r(3511),I=r(8597),k=r(4555);let N=u().use||(e=>{if("pending"===e.status)throw e;if("fulfilled"===e.status)return e.value;if("rejected"===e.status)throw e.reason;throw e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e}),T={dedupe:!0},M=k.OBJECT.defineProperty(k.SWRConfig,"defaultValue",{value:k.defaultConfig}),R=(0,k.withArgs)((e,t,r)=>{let{cache:n,compare:u,suspense:i,fallbackData:a,revalidateOnMount:l,revalidateIfStale:c,refreshInterval:s,refreshWhenHidden:f,refreshWhenOffline:y,keepPreviousData:d}=r,[b,p,m,g]=k.SWRGlobalState.get(n),[v,h]=(0,k.serialize)(e),O=(0,o.useRef)(!1),S=(0,o.useRef)(!1),w=(0,o.useRef)(v),E=(0,o.useRef)(t),j=(0,o.useRef)(r),x=()=>j.current.isVisible()&&j.current.isOnline(),[P,A,C,M]=(0,k.createCacheHelper)(n,v),R=(0,o.useRef)({}).current,U=(0,k.isUndefined)(a)?r.fallback[v]:a,D=(e,t)=>{for(let r in R)if("data"===r){if(!u(e[r],t[r])&&(!(0,k.isUndefined)(e[r])||!u(G,t[r])))return!1}else if(t[r]!==e[r])return!1;return!0},L=(0,o.useMemo)(()=>{let e=!!v&&!!t&&((0,k.isUndefined)(l)?!j.current.isPaused()&&!i&&(!!(0,k.isUndefined)(c)||c):l),r=t=>{let r=(0,k.mergeObjects)(t);return(delete r._k,e)?{isValidating:!0,isLoading:!0,...r}:r},n=P(),o=M(),u=r(n),a=n===o?u:r(o),s=u;return[()=>{let e=r(P());return D(e,s)?(s.data=e.data,s.isLoading=e.isLoading,s.isValidating=e.isValidating,s.error=e.error,s):(s=e,e)},()=>a]},[n,v]),_=(0,I.useSyncExternalStore)((0,o.useCallback)(e=>C(v,(t,r)=>{D(r,t)||e()}),[n,v]),L[0],L[1]),F=!O.current,V=b[v]&&b[v].length>0,B=_.data,K=(0,k.isUndefined)(B)?U:B,z=_.error,$=(0,o.useRef)(K),G=d?(0,k.isUndefined)(B)?$.current:B:K,W=(!V||!!(0,k.isUndefined)(z))&&(F&&!(0,k.isUndefined)(l)?l:!j.current.isPaused()&&(i?!(0,k.isUndefined)(K)&&c:(0,k.isUndefined)(K)||c)),H=!!(v&&t&&F&&W),J=(0,k.isUndefined)(_.isValidating)?H:_.isValidating,Y=(0,k.isUndefined)(_.isLoading)?H:_.isLoading,q=(0,o.useCallback)(async e=>{let t,n,o=E.current;if(!v||!o||S.current||j.current.isPaused())return!1;let i=!0,a=e||{},l=!m[v]||!a.dedupe,c=()=>k.IS_REACT_LEGACY?!S.current&&v===w.current&&O.current:v===w.current,s={isValidating:!1,isLoading:!1},f=()=>{A(s)},y=()=>{let e=m[v];e&&e[1]===n&&delete m[v]},d={isValidating:!0};(0,k.isUndefined)(P().data)&&(d.isLoading=!0);try{if(l&&(A(d),r.loadingTimeout&&(0,k.isUndefined)(P().data)&&setTimeout(()=>{i&&c()&&j.current.onLoadingSlow(v,r)},r.loadingTimeout),m[v]=[o(h),(0,k.getTimestamp)()]),[t,n]=m[v],t=await t,l&&setTimeout(y,r.dedupingInterval),!m[v]||m[v][1]!==n)return l&&c()&&j.current.onDiscarded(v),!1;s.error=k.UNDEFINED;let e=p[v];if(!(0,k.isUndefined)(e)&&(n<=e[0]||n<=e[1]||0===e[1]))return f(),l&&c()&&j.current.onDiscarded(v),!1;let a=P().data;s.data=u(a,t)?a:t,l&&c()&&j.current.onSuccess(t,v,r)}catch(r){y();let e=j.current,{shouldRetryOnError:t}=e;!e.isPaused()&&(s.error=r,l&&c()&&(e.onError(r,v,e),(!0===t||(0,k.isFunction)(t)&&t(r))&&(!j.current.revalidateOnFocus||!j.current.revalidateOnReconnect||x())&&e.onErrorRetry(r,v,e,e=>{let t=b[v];t&&t[0]&&t[0](k.revalidateEvents.ERROR_REVALIDATE_EVENT,e)},{retryCount:(a.retryCount||0)+1,dedupe:!0})))}return i=!1,f(),!0},[v,n]),X=(0,o.useCallback)((...e)=>(0,k.internalMutate)(n,w.current,...e),[]);if((0,k.useIsomorphicLayoutEffect)(()=>{E.current=t,j.current=r,(0,k.isUndefined)(B)||($.current=B)}),(0,k.useIsomorphicLayoutEffect)(()=>{if(!v)return;let e=q.bind(k.UNDEFINED,T),t=0,r=(0,k.subscribeCallback)(v,b,(r,n={})=>{if(r==k.revalidateEvents.FOCUS_EVENT){let r=Date.now();j.current.revalidateOnFocus&&r>t&&x()&&(t=r+j.current.focusThrottleInterval,e())}else if(r==k.revalidateEvents.RECONNECT_EVENT)j.current.revalidateOnReconnect&&x()&&e();else if(r==k.revalidateEvents.MUTATE_EVENT)return q();else if(r==k.revalidateEvents.ERROR_REVALIDATE_EVENT)return q(n)});return S.current=!1,w.current=v,O.current=!0,A({_k:h}),W&&((0,k.isUndefined)(K)||k.IS_SERVER?e():(0,k.rAF)(e)),()=>{S.current=!0,r()}},[v]),(0,k.useIsomorphicLayoutEffect)(()=>{let e;function t(){let t=(0,k.isFunction)(s)?s(P().data):s;t&&-1!==e&&(e=setTimeout(r,t))}function r(){!P().error&&(f||j.current.isVisible())&&(y||j.current.isOnline())?q(T).then(t):t()}return t(),()=>{e&&(clearTimeout(e),e=-1)}},[s,f,y,v]),(0,o.useDebugValue)(G),i&&(0,k.isUndefined)(K)&&v){if(!k.IS_REACT_LEGACY&&k.IS_SERVER)throw Error("Fallback data is required when using suspense in SSR.");E.current=t,j.current=r,S.current=!1;let e=g[v];if((0,k.isUndefined)(e)||N(X(e)),(0,k.isUndefined)(z)){let e=q(T);(0,k.isUndefined)(G)||(e.status="fulfilled",e.value=!0),N(e)}else throw z}return{mutate:X,get data(){return R.data=!0,G},get error(){return R.error=!0,z},get isValidating(){return R.isValidating=!0,J},get isLoading(){return R.isLoading=!0,Y}}});var U=r(3975);function D(e){return(D=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function L(e,t){return(L=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function _(e){return e&&"u">typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function F(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(F=function(){return!!e})()}var V={strictMode:!0,throwErrorsToConsole:!0,disableTranslations:!1},B=new Map,K={errorRetryCount:3,fetcher:U.egenFetch,focusThrottleInterval:18e5,revalidateIfStale:!0,revalidateOnFocus:!1,revalidateOnReconnect:!1,refreshInterval:0,shouldRetryOnError:function(e){var t;if(null!=(t=U.EgenFetchError)&&"u">typeof Symbol&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t){var r=e.response.status;return!!(r>=500)||401===r||403===r||429===r}return!0},provider:function(){return B}};function z(e){if((void 0===e?"undefined":_(e))!=="object"||"string"!=typeof e.featureName||"string"!=typeof e.moduleName)throw Error("Invalid options");var t=Object.assign({},V,e),r=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}({},K,t.swrConfig);return function(e){var n,a,l,c;return a=n=function(n){var a;if("function"!=typeof n&&null!==n)throw TypeError("Super expression must either be null or a function");function l(e){var r,n,o;if(!(this instanceof l))throw TypeError("Cannot call a class as a function");return n=l,o=[e],n=D(n),(r=function(e,t){if(t&&("object"===_(t)||"function"==typeof t))return t;if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(this,F()?Reflect.construct(n,o||[],D(this).constructor):n.apply(this,o))).state={caughtError:null,caughtErrorInfo:null,config:{moduleName:t.moduleName,featureName:t.featureName,extension:e._extensionContext}},r}return l.prototype=Object.create(n&&n.prototype,{constructor:{value:l,writable:!0,configurable:!0}}),n&&L(l,n),a=[{key:"componentDidCatch",value:function(e,r){r&&r.componentStack&&(e.extra=Object.assign(e.extra||{},{componentStack:r.componentStack})),t.throwErrorsToConsole&&setTimeout(function(){throw e}),this.setState({caughtError:e,caughtErrorInfo:r})}},{key:"render",value:function(){if(this.state.caughtError)return u().createElement("div",null,"An error has occurred. Please try reloading the page.");var n=u().createElement(o.Suspense,{fallback:null},u().createElement(M,{value:r},u().createElement(i.Provider,{value:this.state.config},t.disableTranslations?u().createElement(e,this.props):u().createElement(C.I18nextProvider,{i18n:window.i18next,defaultNS:this.state.config.extension?"".concat(this.state.config.moduleName,"___").concat(this.state.config.extension.extensionSlotName,"___").concat(this.state.config.extension.extensionId):this.state.config.moduleName},u().createElement(e,this.props)))));return t.strictMode&&u().StrictMode?u().createElement(u().StrictMode,null,n):n}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(l.prototype,a),l}(u().Component),l="displayName",c="EgenReactComponent(".concat(t.featureName,")"),l in a?Object.defineProperty(a,l,{value:c,enumerable:!0,configurable:!0,writable:!0}):a[l]=c,n}}function $(e,t){return(0,A.A)({React:u(),ReactDOMClient:P,rootComponent:z(t)(e)})}function G(e,t){return function(){return e().then(function(e){return $(e.default,t)})}}function W(e,t){return function(){return Promise.resolve($(e,t))}}var H=G,J=r(9167),Y=r(1442),q=(0,J.y)()(function(){return{}});(0,Y.registerGlobalStore)("egen-app-context",q);var X={};function Z(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e){return e},r=q.getState();return e in r?Object.freeze(Object.assign({},t?t(r[e]):r[e])):null}function Q(e,t){q.setState(function(r){return e in r||(r[e]={}),r[e]=t(r[e]),Object.assign({},r)})}function ee(e){return null===e?null:Object.freeze(Object.assign({},e))}var et=r(8254),er=new Map;function en(e,t){var r=(0,o.useRef)(null!=t?t:{}),n=(0,o.useRef)(function(t){return Q(e,t)}),u=(0,o.useRef)(Symbol());return(0,o.useEffect)(function(){var r=null!=t?t:{},n=u.current;return null===Z(e)?!function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:X;q.setState(function(r){var n,o;if(e in r)throw Error("Attempted to re-register namespace ".concat(e," in the app context. Each namespace must be unregistered before the name can be registered again."));return Object.assign({},r,(n={},o=t===X?{}:t,e in n?Object.defineProperty(n,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[e]=o,n))})}(e,r):(console.warn("Namespace ".concat(e," is already registered in the app context. ")+"This is likely a race condition during navigation, but may indicate two components are trying to own the same namespace. Updating the existing context."),Q(e,function(){return r})),er.set(e,n),function(){er.get(e)===n&&(q.setState(function(t){return e in t&&delete t[e],t}),er.delete(e))}},[e]),(0,o.useEffect)(function(){var n=null!=t?t:{};(0,et.b)(r.current,n)||(Q(e,function(){return n}),r.current=n)},[t]),n.current}function eo(e){return en(e.namespace,e.value),null}var eu=function(e){var t=e.children,r=e.value,n=e.fallback;return r?u().createElement(u().Fragment,null,t):n?u().createElement(u().Fragment,null,n):null};function ei(){var e=(0,o.useRef)();return(!e.current||e.current.signal.aborted)&&(e.current=new AbortController),(0,o.useEffect)(function(){var t=e.current;return function(){return null==t?void 0:t.abort()}},[]),e.current}function ea(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function el(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e){return null!=e?e:{}},n=function(e){if(Array.isArray(e))return e}(t=(0,o.useState)(function(){if(!ec(e)){var t=Z(e);if(null!==t)return r?r(t):t}}))||function(e){var t,r,n=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o=[],u=!0,i=!1;try{for(n=n.call(e);!(u=(t=n.next()).done)&&(o.push(t.value),2!==o.length);u=!0);}catch(e){i=!0,r=e}finally{try{u||null==n.return||n.return()}finally{if(i)throw r}}return o}}(t)||function(e){if(e){if("string"==typeof e)return ea(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return ea(e,2)}}(t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),u=n[0],i=n[1];return(0,o.useEffect)(function(){if(ec(e))throw Error('The namespace supplied to useAppContext must be a non-empty string, but was "'.concat(e,'".'))},[e]),(0,o.useEffect)(function(){var t,n;return(t=function(e){if(null==e)return void i(void 0);var t=r?r(e):e;i(function(e){return(0,et.b)(e,t)?e:t})})(ee(n=Z(e))),q.subscribe(function(r){var o=e in r?r[e]:null;o!==n&&(n=o,t(ee(o)))})},[e,r]),u}function ec(e){return"string"!=typeof e||0===e.trim().length}var es=r(4809);function ef(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function ey(e){var t,r=function(e){if(Array.isArray(e))return e}(t=(0,o.useState)([]))||function(e){var t,r,n=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o=[],u=!0,i=!1;try{for(n=n.call(e);!(u=(t=n.next()).done)&&(o.push(t.value),2!==o.length);u=!0);}catch(e){i=!0,r=e}finally{try{u||null==n.return||n.return()}finally{if(i)throw r}}return o}}(t)||function(e){if(e){if("string"==typeof e)return ef(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return ef(e,2)}}(t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),n=r[0],u=r[1];return(0,o.useEffect)(function(){return(0,c.zF)().subscribe(function(t){var r,o,i=null!=(r=null==(o=t.slots[e])?void 0:o.assignedExtensions.map(function(e){return e.id}))?r:[];(0,es.A)(i,n)||u(i)})},[]),n}var ed=r(3400);function eb(e,t){var r=R("".concat(ed.Zu,"?entity=").concat(e,"&includeOrphan=").concat(t),U.egenFetch),n=r.data,u=r.error,i=r.mutate,a=r.isLoading,l=r.isValidating;return(0,o.useMemo)(function(){var e;return{isLoading:a,data:null!=(e=null==n?void 0:n.data.results)?e:[],error:u,mutate:i,isValidating:l}},[n,u,a,l,i])}var ep=r(6269);function em(e){var t=null!=e?e:"".concat(U.restBaseUrl,"/config"),r=(0,ep.A)(t,U.egenFetch);return(0,o.useMemo)(function(){var e;return{backendConfiguration:null==(e=r.data)?void 0:e.data,isLoadingBackendConfiguration:r.isLoading,mutateBackendConfiguration:r.mutate,errorFetchingBackendConfiguration:r.error}},[r])}function eg(e){(0,o.useEffect)(function(){if(e){var t=window.getComputedStyle(document.body).overflow;return document.body.style.overflow="hidden",function(){document.body.style.overflow=t}}},[e])}var ev=r(3645);function eh(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function eO(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}function eS(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r,n,o=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var u=[],i=!0,a=!1;try{for(o=o.call(e);!(i=(r=o.next()).done)&&(u.push(r.value),!t||u.length!==t);i=!0);}catch(e){a=!0,n=e}finally{try{i||null==o.return||o.return()}finally{if(a)throw n}}return u}}(e,t)||function(e,t){if(e){if("string"==typeof e)return eh(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return eh(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var ew={};function eE(e){var t,r=(0,o.useContext)(i),n=r.moduleName,u=r.extension,a=null!=(t=null==e?void 0:e.externalModuleName)?t:n;if(!a&&!u)throw Error('No ComponentContext has been provided. This should come from "egenComponentDecorator".\nUsually this is already applied when using "getAsyncLifecycle" or "getSyncLifecycle".');var l=function(e){var t,r,n,u=(0,o.useMemo)(function(){return(0,ev.getConfigStore)(e)},[e]),i=(r=(t=eS((0,o.useState)(function(){var e=u.getState();return e.loaded&&e.config?e.config:null}),2))[0],n=t[1],(0,o.useEffect)(function(){return null==u?void 0:u.subscribe(function(e){e.loaded&&e.config&&n(e.config)})},[u]),r);if(!i)throw ew[e]||(ew[e]=new Promise(function(e){var t=u.subscribe(function(r){r.loaded&&r.config&&(e(r.config),t())})})),ew[e];return i}(a),c=function(e){var t=(0,o.useMemo)(ev.getExtensionsConfigStore,[]),r=(u=(n=eS((0,o.useState)(e?function(){var r=t.getState(),n=(0,ev.getExtensionConfigFromStore)(r,e.extensionSlotName,e.extensionId);if(n.loaded&&n.config)return n.config}:null),2))[0],i=n[1],(0,o.useEffect)(function(){if(e)return t.subscribe(function(t){var r=(0,ev.getExtensionConfigFromStore)(t,e.extensionSlotName,e.extensionId);r.loaded&&r.config&&!(0,es.A)(r.config,u)&&i(r.config)})},[t,e,u]),u);if(!r&&e){var n,u,i,a="".concat(e.extensionSlotName,"-").concat(e.extensionId);throw!ew[a]&&t&&(ew[a]=new Promise(function(r){var n=t.subscribe(function(t){var o=(0,ev.getExtensionConfigFromStore)(t,e.extensionSlotName,e.extensionId);o.loaded&&o.config&&(r(o.config),n())})})),ew[a]}return r||{}}(u);return(0,o.useMemo)(function(){return(null==e?void 0:e.externalModuleName)&&a===e.externalModuleName?eO({},l):eO({},l,c)},[a,null==e?void 0:e.externalModuleName,l,c])}var ej=S,ex=r(9726),eP=r(2316);function eA(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function eC(){var e,t=function(e){if(Array.isArray(e))return e}(e=(0,o.useState)((0,eP.s)()))||function(e){var t,r,n=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o=[],u=!0,i=!1;try{for(n=n.call(e);!(u=(t=n.next()).done)&&(o.push(t.value),2!==o.length);u=!0);}catch(e){i=!0,r=e}finally{try{u||null==n.return||n.return()}finally{if(i)throw r}}return o}}(e)||function(e){if(e){if("string"==typeof e)return eA(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return eA(e,2)}}(e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),r=t[0],n=t[1];return(0,o.useEffect)(function(){return(0,ex.gj)(function(e){return n(e.online)})},[]),r}function eI(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function ek(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:300,n=function(e){if(Array.isArray(e))return e}(t=(0,o.useState)(e))||function(e){var t,r,n=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o=[],u=!0,i=!1;try{for(n=n.call(e);!(u=(t=n.next()).done)&&(o.push(t.value),2!==o.length);u=!0);}catch(e){i=!0,r=e}finally{try{u||null==n.return||n.return()}finally{if(i)throw r}}return o}}(t)||function(e){if(e){if("string"==typeof e)return eI(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return eI(e,2)}}(t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),u=n[0],i=n[1];return(0,o.useEffect)(function(){var t=setTimeout(function(){i(e)},r);return function(){clearTimeout(t)}},[e,r]),u}var eN=h((0,c.a9)());function eT(e){var t=S(e);return(0,o.useMemo)(function(){return Object.fromEntries(t.map(function(e){return[e.name,e.meta]}))},[t])}var eM=h((0,c.zF)()),eR=r(5794);function eU(e){var t,r;return null!=(t=null==(r=g(eR.jX).flags[e])?void 0:r.enabled)&&t}function eD(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function eL(){var e,t=(function(e){if(Array.isArray(e))return e}(e=(0,o.useState)(0))||function(e){var t,r,n=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o=[],u=!0,i=!1;try{for(n=n.call(e);!(u=(t=n.next()).done)&&(o.push(t.value),2!==o.length);u=!0);}catch(e){i=!0,r=e}finally{try{u||null==n.return||n.return()}finally{if(i)throw r}}return o}}(e)||function(e){if(e){if("string"==typeof e)return eD(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return eD(e,2)}}(e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[1];return(0,o.useCallback)(function(){t(function(e){return e+1})},[])}function e_(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function eF(){var e="tablet";return document.body.classList.forEach(function(t){switch(t){case"egen-breakpoint-lt-tablet":e="phone";break;case"egen-breakpoint-gt-small-desktop":e="large-desktop";break;case"egen-breakpoint-gt-tablet":e="small-desktop"}}),e}function eV(){var e,t=function(e){if(Array.isArray(e))return e}(e=(0,o.useState)(eF))||function(e){var t,r,n=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o=[],u=!0,i=!1;try{for(n=n.call(e);!(u=(t=n.next()).done)&&(o.push(t.value),2!==o.length);u=!0);}catch(e){i=!0,r=e}finally{try{u||null==n.return||n.return()}finally{if(i)throw r}}return o}}(e)||function(e){if(e){if("string"==typeof e)return e_(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return e_(e,2)}}(e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),r=t[0],n=t[1];return(0,o.useEffect)(function(){var e=function(){n(eF())};return window.addEventListener("resize",e),function(){return window.removeEventListener("resize",e)}},[]),r}var eB=function(e){return"small-desktop"===e||"large-desktop"===e};function eK(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function ez(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=function(e){if(Array.isArray(e))return e}(e=(0,o.useState)([]))||function(e){var t,r,n=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o=[],u=!0,i=!1;try{for(n=n.call(e);!(u=(t=n.next()).done)&&(o.push(t.value),2!==o.length);u=!0);}catch(e){i=!0,r=e}finally{try{u||null==n.return||n.return()}finally{if(i)throw r}}return o}}(e)||function(e){if(e){if("string"==typeof e)return eK(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return eK(e,2)}}(e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),u=n[0],i=n[1];return(0,o.useEffect)(function(){var e=(0,ed.Vs)(t,r).subscribe(function(e){i(e)},function(e){console.error(e)});return function(){return e.unsubscribe()}},[t,r]),u}function e$(e){var t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],r=(0,o.useRef)(null);return(0,o.useEffect)(function(){var n=function(n){var o,u;t&&r.current&&n.target&&(o=n.target,null!=(u=Node)&&"u">typeof Symbol&&u[Symbol.hasInstance]?u[Symbol.hasInstance](o):o instanceof u)&&(r.current.contains(n.target)||e(n))};return window.addEventListener("mousedown",n),window.addEventListener("touchstart",n),function(){window.removeEventListener("mousedown",n),window.removeEventListener("touchstart",n)}},[e,t]),r}function eG(e){var t=(0,o.useRef)();return(0,o.useEffect)(function(){var r=new IntersectionObserver(function(t){var r=!0,n=!1,o=void 0;try{for(var u,i=t[Symbol.iterator]();!(r=(u=i.next()).done);r=!0)if(u.value.isIntersecting)return void e()}catch(e){n=!0,o=e}finally{try{r||null==i.return||i.return()}finally{if(n)throw o}}},{threshold:1});return t.current&&r.observe(t.current),function(){t.current&&r.unobserve(t.current)}},[t.current,e]),t}var eW=r(3709);function eH(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function eJ(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return function(e,t,r){var n,u,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=r.getPaginatedUrl,l=r.getTotalCount,c=r.getCurrentPageSize,s=r.getData,f=i.immutable,y=i.swrConfig,d=null!=(u=i.fetcher)?u:U.egenFetch,b=function(e){if(Array.isArray(e))return e}(n=(0,o.useState)(1))||function(e){var t,r,n=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o=[],u=!0,i=!1;try{for(n=n.call(e);!(u=(t=n.next()).done)&&(o.push(t.value),2!==o.length);u=!0);}catch(e){i=!0,r=e}finally{try{u||null==n.return||n.return()}finally{if(i)throw r}}return o}}(n)||function(e){if(e){if("string"==typeof e)return eH(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return eH(e,2)}}(n)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),p=b[0],m=b[1],g=(0,o.useRef)(NaN),v=(0,o.useRef)(NaN),h=(p-1)*t,O=(0,o.useMemo)(function(){return a(e,t,h)},[e,t,h]),S=(f?ep.A:R)(O,d,y),w=S.data,E=function(e,t){if(null==e)return{};var r,n,o,u={};if("u">typeof Reflect&&Reflect.ownKeys){for(o=0,r=Reflect.ownKeys(Object(e));o<r.length;o++)n=r[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(u[n]=e[n]);return u}if(u=function(e,t){if(null==e)return{};var r,n,o={},u=Object.getOwnPropertyNames(e);for(n=0;n<u.length;n++)r=u[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r]);return o}(e,t),Object.getOwnPropertySymbols)for(o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)n=r[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(u[n]=e[n]);return u}(S,["data"]);(null==w?void 0:w.data)&&(g.current=l(null==w?void 0:w.data),v.current=c(null==w?void 0:w.data));var j=Math.ceil(g.current/t),x=(0,o.useCallback)(function(e){0<e&&e<=j?m(e):console.warn("Invalid attempt to go to out of bounds page: "+e)},[e,p,j]),P=(0,o.useCallback)(function(){x(p+1)},[e,p,j]),A=(0,o.useCallback)(function(){x(p-1)},[e,p,j]);return function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}({data:s(null==w?void 0:w.data),totalPages:j,totalCount:g.current,currentPage:p,currentPageSize:v,paginated:j>1,showNextButton:p<j,showPreviousButton:p>1,goTo:x,goToNext:P,goToPrevious:A},E)}(e,t,eY,r)}var eY={getPaginatedUrl:function(e,t,r){if(!e)return null;var n=new URL((0,U.makeUrl)(e.toString()),window.location.toString());return n.searchParams.set("limit",""+t),n.searchParams.set("startIndex",""+r),n.searchParams.set("totalCount","true"),n.toString()},getNextUrl:function(e){var t,r,n=null==e||null==(r=e.links)||null==(t=r.find(function(e){return"next"==e.rel}))?void 0:t.uri;if(!n)return null;var o=new URL(n);return o.host=window.location.host,o.protocol=window.location.protocol,o.toString()},getTotalCount:function(e){var t;return null!=(t=null==e?void 0:e.totalCount)?t:NaN},getCurrentPageSize:function(e){var t,r;return null!=(t=null==e||null==(r=e.results)?void 0:r.length)?t:NaN},getData:function(e){return null==e?void 0:e.results}};function eq(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}function eX(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return eZ(e,eY,t)}function eZ(e,t){var r,n,u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=u.swrInfiniteConfig,a=u.immutable,l=t.getNextUrl,c=t.getTotalCount,s=t.getData,f=null!=(r=u.fetcher)?r:U.egenFetch,y=(0,o.useCallback)(function(r,n){var o;return 0!=r?t.getNextUrl(n.data):null!=(o=null==e?void 0:e.toString())?o:null},[e]),d=(0,eW.Ay)(y,f,eq({},i,a?{revalidateIfStale:!1,revalidateOnFocus:!1,revalidateOnReconnect:!1}:{})),b=d.data,p=(d.size,d.setSize),m=function(e,t){if(null==e)return{};var r,n,o,u={};if("u">typeof Reflect&&Reflect.ownKeys){for(o=0,r=Reflect.ownKeys(Object(e));o<r.length;o++)n=r[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(u[n]=e[n]);return u}if(u=function(e,t){if(null==e)return{};var r,n,o={},u=Object.getOwnPropertyNames(e);for(n=0;n<u.length;n++)r=u[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r]);return o}(e,t),Object.getOwnPropertySymbols)for(o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)n=r[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(u[n]=e[n]);return u}(d,["data","size","setSize"]),g=l(null==b?void 0:b[b.length-1].data),v=c(null==b||null==(n=b[0])?void 0:n.data);return eq({data:null==b?void 0:b.flatMap(function(e){return s(e.data)}),totalCount:v,hasMore:null!=g,loadMore:function(){var e;p((null!=(e=null==b?void 0:b.length)?e:0)+1)},nextUri:g},m)}function eQ(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(e,t){var r,n,u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=eZ(e,t,u),a=i.hasMore,l=i.error,c=i.data,s=i.loadMore,f=i.isLoading,y=i.nextUri;return((0,o.useEffect)(function(){a&&!l&&s()},[a,y]),u.partialData)?i:(r=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}({},i),n=n={data:a||l?void 0:c,isLoading:f||a},Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(n)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t})(Object(n)).forEach(function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(n,e))}),r)}(e,eY,t)}function e0(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.abortController,n=t.fetchInit,u=t.url,i=t.swrConfig,a=ei(),l=(0,o.useMemo)(function(){var e,t;return null!=(e=null!=(t=null==n?void 0:n.signal)?t:null==r?void 0:r.signal)?e:a.signal},[null==r?void 0:r.signal,null==n?void 0:n.signal,a.signal]);return R(e,(0,o.useCallback)(function(e){var t,r,o=function(e,t){if(t)return"function"==typeof t?t(e):t;if("string"==typeof e)return e;throw Error("When using useEgenSWR with a key that is not a string, you must provide a url() function that converts the key to a valid url. The key for this hook is ".concat(e,"."))}(e,u);return(0,U.egenFetch)(o,(t=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}({},n),r=r={signal:l},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t})(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}),t))},[l,n,u]),i)}function e1(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function e2(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10,n=function(e){if(Array.isArray(e))return e}(e=(0,o.useState)(1))||function(e){var t,r,n=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o=[],u=!0,i=!1;try{for(n=n.call(e);!(u=(t=n.next()).done)&&(o.push(t.value),2!==o.length);u=!0);}catch(e){i=!0,r=e}finally{try{u||null==n.return||n.return()}finally{if(i)throw r}}return o}}(e)||function(e){if(e){if("string"==typeof e)return e1(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return e1(e,2)}}(e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),u=n[0],i=n[1],a=(0,o.useMemo)(function(){return"number"==typeof r&&r>0?Math.max(1,Math.ceil(t.length/r)):1},[t.length,r]),l=(0,o.useMemo)(function(){var e=(u-1)*r,n=(u+0)*r;return t.slice(e,n)},[t,u,r]),c=(0,o.useCallback)(function(e){i(Math.max(1,Math.min(a,e)))},[i,a]),s=(0,o.useCallback)(function(){u<a&&i(u+1)},[u,a,i]),f=(0,o.useCallback)(function(){u>1&&i(u-1)},[u,i]);return(0,o.useMemo)(function(){return{results:l,totalPages:a,currentPage:u,paginated:t.length>r,showNextButton:u<a,showPreviousButton:u>1,goTo:c,goToNext:s,goToPrevious:f}},[l,a,t.length,r,u,c,s,f])}function e8(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function e3(e,t,r,n){return{pageSizes:(0,o.useMemo)(function(){var r,n=Math.ceil(t/e);return isNaN(n)&&(n=0),((function(e){if(Array.isArray(e))return e8(e)})(r=Array(n).keys())||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(r)||function(e){if(e){if("string"==typeof e)return e8(e,void 0);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return e8(e,void 0)}}(r)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).map(function(t){return(t+1)*e})},[e,t]),pageItemsCount:(0,o.useMemo)(function(){return e>t?t:e*r>t?e*(r-1)+n:e*r},[e,t,r,n])}}function e6(e){var t=w(e),r=t.extensions,n=t.extensionSlotModuleName;return e?r.map(function(t){return function(r){var o=r.state;return u().createElement(i.Provider,{value:{moduleName:n,featureName:"",extension:{extensionId:t.id,extensionSlotName:e,extensionSlotModuleName:n}}},u().createElement(f,{state:o}))}}):[]}function e7(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function e4(){var e,t=(0,o.useRef)(),r=function(e){if(Array.isArray(e))return e}(e=(0,o.useState)(null))||function(e){var t,r,n=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o=[],u=!0,i=!1;try{for(n=n.call(e);!(u=(t=n.next()).done)&&(o.push(t.value),2!==o.length);u=!0);}catch(e){i=!0,r=e}finally{try{u||null==n.return||n.return()}finally{if(i)throw r}}return o}}(e)||function(e){if(e){if("string"==typeof e)return e7(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return e7(e,2)}}(e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),u=r[0],i=r[1],a=null;if(!u){if(n){var l=(0,U.getSessionStore)().getState();l.loaded&&(a=l.session)}else n=new Promise(function(e){var r=function(r){var n=r.loaded,o=r.session;n&&(e(o),a=o,t.current&&(t.current(),t.current=void 0))};r((0,U.getSessionStore)().getState()),a||(t.current=(0,U.getSessionStore)().subscribe(r))});if(a)i(a);else throw n}(0,o.useEffect)(function(){return t.current||(t.current=(0,U.getSessionStore)().subscribe(function(e){var t=e.loaded,r=e.session;t&&(a=r,i(r))})),function(){t.current&&(t.current(),t.current=void 0)}},[]);var c=u||a;if(!c)if(n)throw console.warn("useSession is in an unexpected state. Attempting to recover."),n;else throw Error("useSession is in an invalid state.");return c}var e5=r(5350),e9=r.n(e5),te=r(648);function tt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function tr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){tt(e,t,r[t])})}return e}var tn={setSessionContext:function(e,t){var r;return null==t?{manuallySetSessionUuid:null}:{manuallySetSessionUuid:t.uuid,entityUuid:null==(r=t.entity)?void 0:r.uuid}},mutateSession:function(e){var t=!0,r=!1,n=void 0;try{for(var o,u,i=Object.values(null!=(o=e.mutateSessionCallbacks)?o:{})[Symbol.iterator]();!(t=(u=i.next()).done);t=!0)(0,u.value)()}catch(e){r=!0,n=e}finally{try{t||null==i.return||i.return()}finally{if(r)throw n}}return{}}};function to(e){var t=(0,o.useId)();return(0,o.useEffect)(function(){var r,n,o=(0,ed.r_)();return e&&o.setState({mutateSessionCallbacks:(r=tr({},o.getState().mutateSessionCallbacks),n=null!=(n=tt({},t,e))?n:{},Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(n)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t})(Object(n)).forEach(function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(n,e))}),r)}),function(){if(e){var r=tr({},o.getState().mutateSessionCallbacks);delete r[t],o.setState({mutateSessionCallbacks:r})}}},[t,e]),v((0,ed.r_)(),tn)}function tu(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ed.pJ,r=to(),n=r.entityUuid,u=r.manuallySetSessionUuid,i=r.setSessionContext,a=e&&n==e?u:null,l="?entity=".concat(e,"&v=").concat(t,"&includeInactive=false"),c="/".concat(a,"?v=").concat(t),s=R(e?"".concat(U.restBaseUrl,"/session").concat(l):null,U.egenFetch),f=s.data,y=s.error,d=s.mutate,b=s.isValidating,p=R(e&&a?"".concat(U.restBaseUrl,"/session").concat(c):null,U.egenFetch),m=p.data,g=p.error,v=p.mutate,h=p.isValidating,O=(0,o.useMemo)(function(){var e;return null!=(e=null==f?void 0:f.data.results.find(function(e){return null===e.stopDatetime}))?e:null},[f]),S=(0,o.useMemo)(function(){return a&&m?m.data:null},[m,a]),w=(0,o.useRef)(null);(0,o.useEffect)(function(){!b&&O&&n===e&&null===u&&i(O),h||(w.current&&S&&w.current.uuid===S.uuid&&!w.current.stopDatetime&&S.stopDatetime&&i(null),w.current=S)},[S,u,O,b,h,n]);var E=(0,o.useCallback)(function(){d(),v()},[d,v]);to(E);var j=!!(!f||a&&!m),x=!!(a?g:y);return{error:y||g,mutate:E,isValidating:b||h,activeSession:O,currentSession:S,currentSessionIsRetrospective:!!a,isLoading:j&&!x}}function ti(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function ta(){var e,t=function(e){if(Array.isArray(e))return e}(e=(0,o.useState)([]))||function(e){var t,r,n=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o=[],u=!0,i=!1;try{for(n=n.call(e);!(u=(t=n.next()).done)&&(o.push(t.value),2!==o.length);u=!0);}catch(e){i=!0,r=e}finally{try{u||null==n.return||n.return()}finally{if(i)throw r}}return o}}(e)||function(e){if(e){if("string"==typeof e)return ti(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return ti(e,2)}}(e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),r=t[0],n=t[1];return(0,o.useEffect)(function(){var e=(0,ed.Ty)().subscribe(function(e){return n(e)},function(e){return console.error(e)});return function(){return e.unsubscribe()}},[]),r}function tl(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}e9().extend(te);var tc=function(e){var t,r=e.privilege,n=e.fallback,i=e.children,a=function(e){if(Array.isArray(e))return e}(t=(0,o.useState)(null))||function(e){var t,r,n=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o=[],u=!0,i=!1;try{for(n=n.call(e);!(u=(t=n.next()).done)&&(o.push(t.value),2!==o.length);u=!0);}catch(e){i=!0,r=e}finally{try{u||null==n.return||n.return()}finally{if(i)throw r}}return o}}(t)||function(e){if(e){if("string"==typeof e)return tl(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return tl(e,2)}}(t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),l=a[0],c=a[1];return((0,o.useEffect)(function(){var e=(0,U.getCurrentUser)({includeAuthStatus:!1}).subscribe(c);return function(){return e.unsubscribe()}},[]),l&&(0,U.userHasAccess)(r,l))?u().createElement(u().Fragment,null,i):n?u().createElement(u().Fragment,null,n):null}}}]);