@opengis/admin 0.2.131 → 0.2.133
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/add-page-DQ70Si9f.js +104 -0
 - package/dist/{admin-interface-CFR2WRun.js → admin-interface-CgXFerXl.js} +348 -323
 - package/dist/{admin-view-CE-4P8V-.js → admin-view-t-gzhVnl.js} +231 -291
 - package/dist/admin.js +1 -1
 - package/dist/admin.umd.cjs +82 -82
 - package/dist/{card-view-BbBU9cWN.js → card-view-Dtf6Ap9G.js} +1 -1
 - package/dist/edit-page-BWRXfML4.js +125 -0
 - package/dist/{import-file-C1vBdCEv.js → import-file-CztGvKRc.js} +25610 -26789
 - package/dist/style.css +1 -1
 - package/package.json +5 -5
 - package/server/helpers/list/utils/button.js +5 -5
 - package/server/routes/data/controllers/utils/conditions.js +20 -20
 - package/server/routes/menu/controllers/getMenu.js +11 -3
 - package/server/routes/menu/controllers/interfaces.js +19 -0
 - package/server/routes/menu/index.mjs +2 -0
 - package/server/routes/print/controllers/printTemplate.js +4 -3
 - package/server/routes/print/controllers/printTemplatePreview.js +15 -9
 - package/server/routes/properties/controllers/admin.properties.get.js +6 -8
 - package/server/routes/properties/controllers/admin.properties.post.js +28 -7
 - package/server/routes/properties/controllers/user.properties.get.js +2 -13
 - package/server/routes/properties/controllers/user.properties.post.js +2 -22
 - package/server/routes/properties/index.mjs +4 -4
 - package/server/routes/properties/utils/refreshData.js +4 -4
 - package/utils.js +2 -5
 - package/dist/add-page-B5Yx_gil.js +0 -119
 - package/dist/edit-page-D3q9Dp_D.js +0 -138
 - package/dist/profile-page-CVV-ZW1M.js +0 -78
 - package/dist/user-B_2kh6ic.js +0 -5
 - package/module/settings/setting/test.json +0 -6
 - package/server/routes/properties/funcs/getSettings.js +0 -56
 - package/server/routes/properties/funcs/setSettings.js +0 -44
 
| 
         @@ -1,7 +1,6 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            import { _ as  
     | 
| 
       2 
     | 
    
         
            -
            import { openBlock as s, createElementBlock as  
     | 
| 
       3 
     | 
    
         
            -
             
     | 
| 
       4 
     | 
    
         
            -
            const se = {}, ae = {
         
     | 
| 
      
 1 
     | 
    
         
            +
            import { _ as x, I as J, s as C, a as K, u as T, b as W, c as X, d as Y, e as R } from "./import-file-CztGvKRc.js";
         
     | 
| 
      
 2 
     | 
    
         
            +
            import { openBlock as s, createElementBlock as i, createElementVNode as o, createStaticVNode as A, resolveComponent as p, normalizeClass as f, createTextVNode as B, toDisplayString as N, createCommentVNode as w, createVNode as h, Transition as e1, withCtx as y, withDirectives as t1, Fragment as j, renderList as P, vShow as r1, createBlock as U, resolveDynamicComponent as S, withModifiers as l1 } from "vue";
         
     | 
| 
      
 3 
     | 
    
         
            +
            const o1 = {}, n1 = {
         
     | 
| 
       5 
4 
     | 
    
         
             
              xmlns: "http://www.w3.org/2000/svg",
         
     | 
| 
       6 
5 
     | 
    
         
             
              viewBox: "0 0 24 24",
         
     | 
| 
       7 
6 
     | 
    
         
             
              fill: "none",
         
     | 
| 
         @@ -11,8 +10,8 @@ const se = {}, ae = { 
     | 
|
| 
       11 
10 
     | 
    
         
             
              "stroke-linejoin": "round",
         
     | 
| 
       12 
11 
     | 
    
         
             
              class: "icon icon-tabler icons-tabler-outline icon-tabler-logout"
         
     | 
| 
       13 
12 
     | 
    
         
             
            };
         
     | 
| 
       14 
     | 
    
         
            -
            function  
     | 
| 
       15 
     | 
    
         
            -
              return s(),  
     | 
| 
      
 13 
     | 
    
         
            +
            function s1(t, e, l, u, n, r) {
         
     | 
| 
      
 14 
     | 
    
         
            +
              return s(), i("svg", n1, e[0] || (e[0] = [
         
     | 
| 
       16 
15 
     | 
    
         
             
                o("path", {
         
     | 
| 
       17 
16 
     | 
    
         
             
                  stroke: "none",
         
     | 
| 
       18 
17 
     | 
    
         
             
                  d: "M0 0h24v24H0z",
         
     | 
| 
         @@ -23,22 +22,22 @@ function ie(e, t, l, u, n, r) { 
     | 
|
| 
       23 
22 
     | 
    
         
             
                o("path", { d: "M18 15l3 -3" }, null, -1)
         
     | 
| 
       24 
23 
     | 
    
         
             
              ]));
         
     | 
| 
       25 
24 
     | 
    
         
             
            }
         
     | 
| 
       26 
     | 
    
         
            -
            const q = /* @__PURE__ */  
     | 
| 
      
 25 
     | 
    
         
            +
            const q = /* @__PURE__ */ x(o1, [["render", s1]]), a1 = {}, i1 = {
         
     | 
| 
       27 
26 
     | 
    
         
             
              viewBox: "0 0 1823 249",
         
     | 
| 
       28 
27 
     | 
    
         
             
              fill: "none",
         
     | 
| 
       29 
28 
     | 
    
         
             
              xmlns: "http://www.w3.org/2000/svg"
         
     | 
| 
       30 
29 
     | 
    
         
             
            };
         
     | 
| 
       31 
     | 
    
         
            -
            function  
     | 
| 
       32 
     | 
    
         
            -
              return s(),  
     | 
| 
       33 
     | 
    
         
            -
                 
     | 
| 
      
 30 
     | 
    
         
            +
            function u1(t, e, l, u, n, r) {
         
     | 
| 
      
 31 
     | 
    
         
            +
              return s(), i("svg", i1, e[0] || (e[0] = [
         
     | 
| 
      
 32 
     | 
    
         
            +
                A('<path d="M218.88 96.05C223.55 99.19 228.69 101.56 234.09 103.07V145.42C212.05 151.54 195.83 171.79 195.83 195.75C195.83 200.22 196.41 204.65 197.53 208.94L160.92 230.08C156.82 226.06 152.08 222.73 146.91 220.24V171.62C164.83 163.13 176.59 145.06 176.59 124.48C176.59 123.17 176.54 121.86 176.44 120.56L218.88 96.05ZM220.32 79.09L160.97 113.36C162.04 116.88 162.61 120.61 162.61 124.48C162.61 142.66 149.93 157.87 132.93 161.76V230.05C143.4 232.46 152.23 239.16 157.46 248.21L215 214.99C211.7 209.34 209.81 202.77 209.81 195.75C209.81 174.62 226.94 157.49 248.07 157.49V91.02C237.14 91.02 227.29 86.43 220.32 79.09Z" fill="#CE3936"></path><path d="M161.39 19.13L197.44 39.94C196.39 44.11 195.84 48.42 195.84 52.75C195.84 54.21 195.9 55.65 196.02 57.1L153.9 81.42C145.27 75.5 134.95 72.24 124.36 72.24C113.83 72.24 103.57 75.47 94.96 81.32L52.71 56.93C52.82 55.55 52.88 54.16 52.88 52.76C52.88 48.43 52.34 44.12 51.28 39.95L87.3 19.16C96.98 28.89 110.26 34.58 124.34 34.58C138.42 34.57 151.7 28.87 161.39 19.13ZM157.77 0.919983C151.24 12.66 138.71 20.6 124.33 20.6C109.95 20.6 97.44 12.67 90.9 0.939983L33.9 33.85C37.08 39.43 38.91 45.88 38.91 52.76C38.91 56.71 38.31 60.52 37.2 64.11L96.46 98.32C103.44 90.87 113.36 86.22 124.37 86.22C135.44 86.22 145.41 90.93 152.39 98.44L211.59 64.27C210.45 60.64 209.83 56.78 209.83 52.77C209.83 45.89 211.65 39.44 214.84 33.86L157.77 0.919983Z" fill="#CE3936"></path><path d="M29.97 95.95L72.28 120.38C72.17 121.74 72.12 123.1 72.12 124.47C72.12 145.02 83.86 163.08 101.74 171.58V220.23C96.58 222.71 91.84 226.04 87.75 230.05L51.17 208.93C52.29 204.64 52.87 200.21 52.87 195.74C52.87 171.78 36.65 151.53 14.61 145.41V103.06C20.07 101.55 25.27 99.14 29.97 95.95ZM28.5 78.97C21.52 86.38 11.63 91.02 0.640015 91.02V157.49C21.77 157.49 38.9 174.62 38.9 195.75C38.9 202.77 37 209.33 33.71 214.99L91.2 248.18C96.43 239.14 105.25 232.45 115.71 230.04V161.73C98.74 157.81 86.09 142.62 86.09 124.46C86.09 120.54 86.68 116.75 87.78 113.18L28.5 78.97Z" fill="#CE3936"></path><path d="M498.39 177.5V144.88C498.39 128.55 485.11 115.27 468.78 115.27H343.22C342.69 115.27 342.18 115.32 341.67 115.4H337.19C332.35 115.4 328.42 111.46 328.42 106.63V74C328.42 69.16 332.36 65.23 337.19 65.23H486.33C492.08 65.23 496.75 60.57 496.75 54.81C496.75 49.06 492.08 44.39 486.33 44.39H337.19C320.86 44.39 307.58 57.67 307.58 74V106.62C307.58 122.95 320.86 136.23 337.19 136.23H462.75C463.28 136.23 463.79 136.18 464.3 136.1H468.78C473.62 136.1 477.55 140.04 477.55 144.87V177.49C477.55 182.33 473.61 186.26 468.78 186.26H319.64C313.89 186.26 309.22 190.92 309.22 196.68C309.22 202.43 313.89 207.1 319.64 207.1H468.78C485.11 207.11 498.39 193.83 498.39 177.5Z" fill="#CE3935"></path><path d="M710.7 177.32V75.24C710.7 58.91 697.42 45.63 681.09 45.63H550.05C533.72 45.63 520.44 58.91 520.44 75.24V177.32C520.44 193.65 533.72 206.93 550.05 206.93H681.1C697.42 206.93 710.7 193.65 710.7 177.32ZM541.27 75.24C541.27 70.4 545.21 66.47 550.04 66.47H681.09C685.93 66.47 689.86 70.41 689.86 75.24V177.32C689.86 182.16 685.92 186.09 681.09 186.09H550.05C545.21 186.09 541.28 182.15 541.28 177.32V75.24H541.27Z" fill="#CE3935"></path><path d="M1823 177.32V75.24C1823 58.91 1809.72 45.63 1793.39 45.63H1662.34C1646.01 45.63 1632.73 58.91 1632.73 75.24V177.32C1632.73 193.65 1646.01 206.93 1662.34 206.93H1793.39C1809.72 206.93 1823 193.65 1823 177.32ZM1653.57 75.24C1653.57 70.4 1657.51 66.47 1662.34 66.47H1793.39C1798.23 66.47 1802.16 70.41 1802.16 75.24V177.32C1802.16 182.16 1798.22 186.09 1793.39 186.09H1662.34C1657.5 186.09 1653.57 182.15 1653.57 177.32V75.24Z" fill="#CE3935"></path><path d="M756.76 196.51V152H849.42C855.17 152 859.84 147.34 859.84 141.58C859.84 135.83 855.17 131.16 849.42 131.16H756.76V75.23C756.76 70.39 760.7 66.46 765.53 66.46H893.29C899.04 66.46 903.71 61.8 903.71 56.04C903.71 50.29 899.04 45.62 893.29 45.62H765.53C749.2 45.62 735.92 58.9 735.92 75.23V196.5C735.92 202.25 740.59 206.92 746.34 206.92C752.09 206.93 756.76 202.27 756.76 196.51Z" fill="#CE3935"></path><path d="M933.86 66.47H1006.51V194.32C1006.51 200.07 1011.18 204.74 1016.93 204.74C1022.68 204.74 1027.35 200.07 1027.35 194.32V66.47H1100C1105.75 66.47 1110.42 61.81 1110.42 56.05C1110.42 50.3 1105.76 45.63 1100 45.63H933.86C928.11 45.63 923.44 50.29 923.44 56.05C923.45 61.81 928.11 66.47 933.86 66.47Z" fill="#CE3935"></path><path d="M1218.44 204.19C1224.19 204.19 1228.86 199.53 1228.86 193.77V152H1368.13C1384.46 152 1397.74 138.72 1397.74 122.39V75.24C1397.74 58.91 1384.46 45.63 1368.13 45.63H1237.63C1221.3 45.63 1208.02 58.91 1208.02 75.24V193.77C1208.02 199.53 1212.68 204.19 1218.44 204.19ZM1237.63 66.47H1368.13C1372.97 66.47 1376.9 70.41 1376.9 75.24V122.39C1376.9 127.23 1372.96 131.16 1368.13 131.16H1228.86V75.23C1228.86 70.41 1232.79 66.47 1237.63 66.47Z" fill="#CE3935"></path><path d="M1430.64 204.19C1436.39 204.19 1441.06 199.53 1441.06 193.77V152H1523.95C1524.57 153.18 1525.42 154.26 1526.51 155.17L1581.89 201.23C1583.83 202.85 1586.2 203.64 1588.55 203.64C1591.54 203.64 1594.5 202.36 1596.57 199.88C1600.25 195.46 1599.64 188.89 1595.22 185.21L1555.29 152H1580.33C1596.66 152 1609.94 138.72 1609.94 122.39V75.24C1609.94 58.91 1596.66 45.63 1580.33 45.63H1449.83C1433.5 45.63 1420.22 58.91 1420.22 75.24V193.77C1420.22 199.53 1424.88 204.19 1430.64 204.19ZM1449.83 66.47H1580.33C1585.17 66.47 1589.1 70.41 1589.1 75.24V122.39C1589.1 127.23 1585.17 131.16 1580.33 131.16H1441.06V75.23C1441.05 70.41 1444.99 66.47 1449.83 66.47Z" fill="#CE3935"></path>', 10)
         
     | 
| 
       34 
33 
     | 
    
         
             
              ]));
         
     | 
| 
       35 
34 
     | 
    
         
             
            }
         
     | 
| 
       36 
     | 
    
         
            -
            const  
     | 
| 
      
 35 
     | 
    
         
            +
            const c1 = /* @__PURE__ */ x(a1, [["render", u1]]), d1 = {
         
     | 
| 
       37 
36 
     | 
    
         
             
              components: { IconChevronDown: J },
         
     | 
| 
       38 
37 
     | 
    
         
             
              props: { route: Object, searchable: String },
         
     | 
| 
       39 
38 
     | 
    
         
             
              mounted() {
         
     | 
| 
       40 
     | 
    
         
            -
                var  
     | 
| 
       41 
     | 
    
         
            -
                ( 
     | 
| 
      
 39 
     | 
    
         
            +
                var t, e;
         
     | 
| 
      
 40 
     | 
    
         
            +
                (e = (t = this.route) == null ? void 0 : t.menu) != null && e.some(
         
     | 
| 
       42 
41 
     | 
    
         
             
                  (l) => {
         
     | 
| 
       43 
42 
     | 
    
         
             
                    var u, n;
         
     | 
| 
       44 
43 
     | 
    
         
             
                    return (l == null ? void 0 : l.path) === this.$route.path.replace("/", "") || ((n = (u = this.$route) == null ? void 0 : u.params) == null ? void 0 : n.table) === (l == null ? void 0 : l.table) && (l == null ? void 0 : l.table);
         
     | 
| 
         @@ -48,8 +47,8 @@ const he = /* @__PURE__ */ C(ue, [["render", ce]]), ge = { 
     | 
|
| 
       48 
47 
     | 
    
         
             
              watch: {
         
     | 
| 
       49 
48 
     | 
    
         
             
                route: {
         
     | 
| 
       50 
49 
     | 
    
         
             
                  immediate: !0,
         
     | 
| 
       51 
     | 
    
         
            -
                  handler( 
     | 
| 
       52 
     | 
    
         
            -
                     
     | 
| 
      
 50 
     | 
    
         
            +
                  handler(t) {
         
     | 
| 
      
 51 
     | 
    
         
            +
                    t != null && t.open && (this.isOpen = !0);
         
     | 
| 
       53 
52 
     | 
    
         
             
                  }
         
     | 
| 
       54 
53 
     | 
    
         
             
                }
         
     | 
| 
       55 
54 
     | 
    
         
             
              },
         
     | 
| 
         @@ -62,18 +61,18 @@ const he = /* @__PURE__ */ C(ue, [["render", ce]]), ge = { 
     | 
|
| 
       62 
61 
     | 
    
         
             
              },
         
     | 
| 
       63 
62 
     | 
    
         
             
              computed: {
         
     | 
| 
       64 
63 
     | 
    
         
             
                darkMode() {
         
     | 
| 
       65 
     | 
    
         
            -
                  var  
     | 
| 
       66 
     | 
    
         
            -
                  return ( 
     | 
| 
      
 64 
     | 
    
         
            +
                  var t, e;
         
     | 
| 
      
 65 
     | 
    
         
            +
                  return (e = (t = C) == null ? void 0 : t.value) == null ? void 0 : e.sidebarDark;
         
     | 
| 
       67 
66 
     | 
    
         
             
                }
         
     | 
| 
       68 
67 
     | 
    
         
             
              },
         
     | 
| 
       69 
68 
     | 
    
         
             
              methods: {
         
     | 
| 
       70 
     | 
    
         
            -
                highLight( 
     | 
| 
       71 
     | 
    
         
            -
                  if (!this.searchable) return  
     | 
| 
       72 
     | 
    
         
            -
                  const  
     | 
| 
      
 69 
     | 
    
         
            +
                highLight(t) {
         
     | 
| 
      
 70 
     | 
    
         
            +
                  if (!this.searchable) return t;
         
     | 
| 
      
 71 
     | 
    
         
            +
                  const e = this.searchable.replace(
         
     | 
| 
       73 
72 
     | 
    
         
             
                    /[.*+?^${}()|[\]\\]/g,
         
     | 
| 
       74 
73 
     | 
    
         
             
                    "\\$&"
         
     | 
| 
       75 
     | 
    
         
            -
                  ), l = new RegExp(`(${ 
     | 
| 
       76 
     | 
    
         
            -
                  return  
     | 
| 
      
 74 
     | 
    
         
            +
                  ), l = new RegExp(`(${e})(\\s*)`, "gi");
         
     | 
| 
      
 75 
     | 
    
         
            +
                  return t.replace(
         
     | 
| 
       77 
76 
     | 
    
         
             
                    l,
         
     | 
| 
       78 
77 
     | 
    
         
             
                    (u, n, r) => `<span style="color:#1989fa;">${n}</span>${r}`
         
     | 
| 
       79 
78 
     | 
    
         
             
                  );
         
     | 
| 
         @@ -87,24 +86,24 @@ const he = /* @__PURE__ */ C(ue, [["render", ce]]), ge = { 
     | 
|
| 
       87 
86 
     | 
    
         
             
                //   }
         
     | 
| 
       88 
87 
     | 
    
         
             
                // },
         
     | 
| 
       89 
88 
     | 
    
         
             
              }
         
     | 
| 
       90 
     | 
    
         
            -
            },  
     | 
| 
      
 89 
     | 
    
         
            +
            }, h1 = {
         
     | 
| 
       91 
90 
     | 
    
         
             
              key: 0,
         
     | 
| 
       92 
91 
     | 
    
         
             
              class: ""
         
     | 
| 
       93 
     | 
    
         
            -
            },  
     | 
| 
      
 92 
     | 
    
         
            +
            }, p1 = {
         
     | 
| 
       94 
93 
     | 
    
         
             
              key: 0,
         
     | 
| 
       95 
94 
     | 
    
         
             
              class: "py-0.5 px-2 inline-flex items-center gap-x-1.5 text-xs font-medium bg-blue-100 text-blue-800 rounded-full dark:bg-blue-500/10 dark:text-blue-500"
         
     | 
| 
       96 
     | 
    
         
            -
            },  
     | 
| 
       97 
     | 
    
         
            -
            function  
     | 
| 
       98 
     | 
    
         
            -
              var  
     | 
| 
       99 
     | 
    
         
            -
              const  
     | 
| 
       100 
     | 
    
         
            -
              return ( 
     | 
| 
      
 95 
     | 
    
         
            +
            }, g1 = { key: 1 }, f1 = ["innerHTML"];
         
     | 
| 
      
 96 
     | 
    
         
            +
            function b1(t, e, l, u, n, r) {
         
     | 
| 
      
 97 
     | 
    
         
            +
              var a, g, b, _, z, M, H, L, v, V, I, $, O, D, E;
         
     | 
| 
      
 98 
     | 
    
         
            +
              const k = p("IconChevronDown"), m = p("router-link");
         
     | 
| 
      
 99 
     | 
    
         
            +
              return (a = l.route) != null && a.menu ? (s(), i("div", h1, [
         
     | 
| 
       101 
100 
     | 
    
         
             
                o("button", {
         
     | 
| 
       102 
     | 
    
         
            -
                  onClick:  
     | 
| 
       103 
     | 
    
         
            -
                  class:  
     | 
| 
       104 
     | 
    
         
            -
                    (( 
     | 
| 
       105 
     | 
    
         
            -
                      ( 
     | 
| 
       106 
     | 
    
         
            -
                        var  
     | 
| 
       107 
     | 
    
         
            -
                        return ( 
     | 
| 
      
 101 
     | 
    
         
            +
                  onClick: e[0] || (e[0] = (c) => n.isOpen = !n.isOpen),
         
     | 
| 
      
 102 
     | 
    
         
            +
                  class: f(["flex items-center justify-start w-full px-3 py-2 text-sm text-left text-gray-800 duration-300 border-none rounded-lg cursor-pointer gap-x-3 focus:outline-none hover:bg-gray-100", [
         
     | 
| 
      
 103 
     | 
    
         
            +
                    ((b = (g = l.route) == null ? void 0 : g.menu) == null ? void 0 : b.some(
         
     | 
| 
      
 104 
     | 
    
         
            +
                      (c) => {
         
     | 
| 
      
 105 
     | 
    
         
            +
                        var d, Z;
         
     | 
| 
      
 106 
     | 
    
         
            +
                        return (c == null ? void 0 : c.path) === t.$route.path.replace("/", "") || (c == null ? void 0 : c.table) === ((Z = (d = t.$route) == null ? void 0 : d.params) == null ? void 0 : Z.table) && (c == null ? void 0 : c.table);
         
     | 
| 
       108 
107 
     | 
    
         
             
                      }
         
     | 
| 
       109 
108 
     | 
    
         
             
                    )) && (r.darkMode ? "bg-white/10" : "bg-gray-100"),
         
     | 
| 
       110 
109 
     | 
    
         
             
                    {
         
     | 
| 
         @@ -113,32 +112,32 @@ function me(e, t, l, u, n, r) { 
     | 
|
| 
       113 
112 
     | 
    
         
             
                    }
         
     | 
| 
       114 
113 
     | 
    
         
             
                  ]])
         
     | 
| 
       115 
114 
     | 
    
         
             
                }, [
         
     | 
| 
       116 
     | 
    
         
            -
                   
     | 
| 
       117 
     | 
    
         
            -
                  ( 
     | 
| 
       118 
     | 
    
         
            -
                   
     | 
| 
       119 
     | 
    
         
            -
                    class:  
     | 
| 
      
 115 
     | 
    
         
            +
                  B(N((_ = l.route) == null ? void 0 : _.ua) + " ", 1),
         
     | 
| 
      
 116 
     | 
    
         
            +
                  (z = l.route) != null && z.new ? (s(), i("span", p1, "Нове")) : w("", !0),
         
     | 
| 
      
 117 
     | 
    
         
            +
                  h(k, {
         
     | 
| 
      
 118 
     | 
    
         
            +
                    class: f([[n.isOpen && "-rotate-180"], "ml-auto duration-300"]),
         
     | 
| 
       120 
119 
     | 
    
         
             
                    width: "14",
         
     | 
| 
       121 
120 
     | 
    
         
             
                    height: "14"
         
     | 
| 
       122 
121 
     | 
    
         
             
                  }, null, 8, ["class"])
         
     | 
| 
       123 
122 
     | 
    
         
             
                ], 2),
         
     | 
| 
       124 
     | 
    
         
            -
                 
     | 
| 
       125 
     | 
    
         
            -
                  default:  
     | 
| 
       126 
     | 
    
         
            -
                    var  
     | 
| 
      
 123 
     | 
    
         
            +
                h(e1, { name: "fade" }, {
         
     | 
| 
      
 124 
     | 
    
         
            +
                  default: y(() => {
         
     | 
| 
      
 125 
     | 
    
         
            +
                    var c;
         
     | 
| 
       127 
126 
     | 
    
         
             
                    return [
         
     | 
| 
       128 
     | 
    
         
            -
                       
     | 
| 
       129 
     | 
    
         
            -
                        class:  
     | 
| 
      
 127 
     | 
    
         
            +
                      t1(o("ul", {
         
     | 
| 
      
 128 
     | 
    
         
            +
                        class: f(["ml-[28px] pt-[6px] before:block before:absolute relative w-[calc(100%-28px)] flex-col gap-y-1.5 inline-flex before:w-[2px] before:h-[100%] before:left-[-10px] cursor-pointer", r.darkMode ? "before:bg-white/10" : "before:bg-gray-100"])
         
     | 
| 
       130 
129 
     | 
    
         
             
                      }, [
         
     | 
| 
       131 
     | 
    
         
            -
                        (s(!0),  
     | 
| 
       132 
     | 
    
         
            -
                          var  
     | 
| 
       133 
     | 
    
         
            -
                          return s(),  
     | 
| 
       134 
     | 
    
         
            -
                            key:  
     | 
| 
      
 130 
     | 
    
         
            +
                        (s(!0), i(j, null, P((c = l.route) == null ? void 0 : c.menu, (d, Z) => {
         
     | 
| 
      
 131 
     | 
    
         
            +
                          var F, Q;
         
     | 
| 
      
 132 
     | 
    
         
            +
                          return s(), i("li", {
         
     | 
| 
      
 133 
     | 
    
         
            +
                            key: Z,
         
     | 
| 
       135 
134 
     | 
    
         
             
                            class: "w-full"
         
     | 
| 
       136 
135 
     | 
    
         
             
                          }, [
         
     | 
| 
       137 
     | 
    
         
            -
                             
     | 
| 
       138 
     | 
    
         
            -
                              innerHTML: r.highLight( 
     | 
| 
       139 
     | 
    
         
            -
                              to: "/" + ( 
     | 
| 
       140 
     | 
    
         
            -
                              class:  
     | 
| 
       141 
     | 
    
         
            -
                                (( 
     | 
| 
      
 136 
     | 
    
         
            +
                            h(m, {
         
     | 
| 
      
 137 
     | 
    
         
            +
                              innerHTML: r.highLight(d == null ? void 0 : d.ua),
         
     | 
| 
      
 138 
     | 
    
         
            +
                              to: "/" + (d == null ? void 0 : d.path),
         
     | 
| 
      
 139 
     | 
    
         
            +
                              class: f([[
         
     | 
| 
      
 140 
     | 
    
         
            +
                                ((d == null ? void 0 : d.path) === t.$route.path.replace("/", "") || ((Q = (F = t.$route) == null ? void 0 : F.params) == null ? void 0 : Q.table) === (d == null ? void 0 : d.table) && (d == null ? void 0 : d.table)) && (r.darkMode ? "bg-white/10" : "bg-gray-100"),
         
     | 
| 
       142 
141 
     | 
    
         
             
                                {
         
     | 
| 
       143 
142 
     | 
    
         
             
                                  "text-white/80 hover:bg-white/10 hover:text-white/80 focus:bg-white/10": r.darkMode,
         
     | 
| 
       144 
143 
     | 
    
         
             
                                  "text-gray-800 hover:bg-gray-100 hover:text-gray-800  focus:bg-gray-100": !r.darkMode
         
     | 
| 
         @@ -148,36 +147,36 @@ function me(e, t, l, u, n, r) { 
     | 
|
| 
       148 
147 
     | 
    
         
             
                          ]);
         
     | 
| 
       149 
148 
     | 
    
         
             
                        }), 128))
         
     | 
| 
       150 
149 
     | 
    
         
             
                      ], 2), [
         
     | 
| 
       151 
     | 
    
         
            -
                        [ 
     | 
| 
      
 150 
     | 
    
         
            +
                        [r1, n.isOpen]
         
     | 
| 
       152 
151 
     | 
    
         
             
                      ])
         
     | 
| 
       153 
152 
     | 
    
         
             
                    ];
         
     | 
| 
       154 
153 
     | 
    
         
             
                  }),
         
     | 
| 
       155 
154 
     | 
    
         
             
                  _: 1
         
     | 
| 
       156 
155 
     | 
    
         
             
                })
         
     | 
| 
       157 
     | 
    
         
            -
              ])) : ( 
     | 
| 
       158 
     | 
    
         
            -
                 
     | 
| 
       159 
     | 
    
         
            -
                  to: (( 
     | 
| 
       160 
     | 
    
         
            -
                  class:  
     | 
| 
       161 
     | 
    
         
            -
                    ((( 
     | 
| 
      
 156 
     | 
    
         
            +
              ])) : (M = l.route) != null && M.hidden ? w("", !0) : (s(), i("div", g1, [
         
     | 
| 
      
 157 
     | 
    
         
            +
                h(m, {
         
     | 
| 
      
 158 
     | 
    
         
            +
                  to: ((L = (H = l.route) == null ? void 0 : H.path) == null ? void 0 : L[0]) === "/" ? (v = l.route) == null ? void 0 : v.path : "/" + ((V = l.route) == null ? void 0 : V.path),
         
     | 
| 
      
 159 
     | 
    
         
            +
                  class: f([[
         
     | 
| 
      
 160 
     | 
    
         
            +
                    (((I = l.route) == null ? void 0 : I.path.replace("/", "")) === t.$route.path.replace("/", "") || ((O = ($ = t.$route) == null ? void 0 : $.params) == null ? void 0 : O.table) === ((D = l.route) == null ? void 0 : D.table) && ((E = l.route) == null ? void 0 : E.table)) && (r.darkMode ? "bg-white/10" : "bg-gray-100"),
         
     | 
| 
       162 
161 
     | 
    
         
             
                    {
         
     | 
| 
       163 
162 
     | 
    
         
             
                      "text-white/80 hover:bg-white/10 hover:text-white/80 focus:bg-white/10 ": r.darkMode,
         
     | 
| 
       164 
163 
     | 
    
         
             
                      "text-gray-800 hover:bg-gray-100 hover:text-gray-800  focus:bg-gray-100 ": !r.darkMode
         
     | 
| 
       165 
164 
     | 
    
         
             
                    }
         
     | 
| 
       166 
165 
     | 
    
         
             
                  ], "flex items-center w-full px-3 py-2 text-sm text-gray-800 duration-300 rounded-lg gap-x-3"])
         
     | 
| 
       167 
166 
     | 
    
         
             
                }, {
         
     | 
| 
       168 
     | 
    
         
            -
                  default:  
     | 
| 
       169 
     | 
    
         
            -
                    var  
     | 
| 
      
 167 
     | 
    
         
            +
                  default: y(() => {
         
     | 
| 
      
 168 
     | 
    
         
            +
                    var c;
         
     | 
| 
       170 
169 
     | 
    
         
             
                    return [
         
     | 
| 
       171 
170 
     | 
    
         
             
                      o("span", {
         
     | 
| 
       172 
     | 
    
         
            -
                        innerHTML: r.highLight(( 
     | 
| 
       173 
     | 
    
         
            -
                      }, null, 8,  
     | 
| 
      
 171 
     | 
    
         
            +
                        innerHTML: r.highLight((c = l.route) == null ? void 0 : c.ua)
         
     | 
| 
      
 172 
     | 
    
         
            +
                      }, null, 8, f1)
         
     | 
| 
       174 
173 
     | 
    
         
             
                    ];
         
     | 
| 
       175 
174 
     | 
    
         
             
                  }),
         
     | 
| 
       176 
175 
     | 
    
         
             
                  _: 1
         
     | 
| 
       177 
176 
     | 
    
         
             
                }, 8, ["to", "class"])
         
     | 
| 
       178 
177 
     | 
    
         
             
              ]));
         
     | 
| 
       179 
178 
     | 
    
         
             
            }
         
     | 
| 
       180 
     | 
    
         
            -
            const  
     | 
| 
      
 179 
     | 
    
         
            +
            const x1 = /* @__PURE__ */ x(d1, [["render", b1]]), m1 = {}, k1 = {
         
     | 
| 
       181 
180 
     | 
    
         
             
              class: "flex-shrink-0 size-4",
         
     | 
| 
       182 
181 
     | 
    
         
             
              xmlns: "http://www.w3.org/2000/svg",
         
     | 
| 
       183 
182 
     | 
    
         
             
              viewBox: "0 0 24 24",
         
     | 
| 
         @@ -187,8 +186,8 @@ const ke = /* @__PURE__ */ C(ge, [["render", me]]), ve = {}, Ce = { 
     | 
|
| 
       187 
186 
     | 
    
         
             
              "stroke-linecap": "round",
         
     | 
| 
       188 
187 
     | 
    
         
             
              "stroke-linejoin": "round"
         
     | 
| 
       189 
188 
     | 
    
         
             
            };
         
     | 
| 
       190 
     | 
    
         
            -
            function  
     | 
| 
       191 
     | 
    
         
            -
              return s(),  
     | 
| 
      
 189 
     | 
    
         
            +
            function v1(t, e, l, u, n, r) {
         
     | 
| 
      
 190 
     | 
    
         
            +
              return s(), i("svg", k1, e[0] || (e[0] = [
         
     | 
| 
       192 
191 
     | 
    
         
             
                o("circle", {
         
     | 
| 
       193 
192 
     | 
    
         
             
                  cx: "12",
         
     | 
| 
       194 
193 
     | 
    
         
             
                  cy: "12",
         
     | 
| 
         @@ -198,17 +197,17 @@ function we(e, t, l, u, n, r) { 
     | 
|
| 
       198 
197 
     | 
    
         
             
                o("path", { d: "M12 17h.01" }, null, -1)
         
     | 
| 
       199 
198 
     | 
    
         
             
              ]));
         
     | 
| 
       200 
199 
     | 
    
         
             
            }
         
     | 
| 
       201 
     | 
    
         
            -
            const G = /* @__PURE__ */  
     | 
| 
      
 200 
     | 
    
         
            +
            const G = /* @__PURE__ */ x(m1, [["render", v1]]), C1 = {}, w1 = {
         
     | 
| 
       202 
201 
     | 
    
         
             
              class: "shrink-0 size-4 rounded-full",
         
     | 
| 
       203 
202 
     | 
    
         
             
              xmlns: "http://www.w3.org/2000/svg",
         
     | 
| 
       204 
203 
     | 
    
         
             
              viewBox: "0 0 512 512"
         
     | 
| 
       205 
204 
     | 
    
         
             
            };
         
     | 
| 
       206 
     | 
    
         
            -
            function  
     | 
| 
       207 
     | 
    
         
            -
              return s(),  
     | 
| 
       208 
     | 
    
         
            -
                 
     | 
| 
      
 205 
     | 
    
         
            +
            function _1(t, e, l, u, n, r) {
         
     | 
| 
      
 206 
     | 
    
         
            +
              return s(), i("svg", w1, e[0] || (e[0] = [
         
     | 
| 
      
 207 
     | 
    
         
            +
                A('<g fill-rule="evenodd"><g stroke-width="1pt"><path fill="#bd3d44" d="M0 0h247v10H0zm0 20h247v10H0zm0 20h247v10H0zm0 20h247v10H0zm0 20h247v10H0zm0 20h247v10H0zm0 20h247v10H0z" transform="scale(3.9385)"></path><path fill="#fff" d="M0 10h247v10H0zm0 20h247v10H0zm0 20h247v10H0zm0 20h247v10H0zm0 20h247v10H0zm0 20h247v10H0z" transform="scale(3.9385)"></path></g><path fill="#192f5d" d="M0 0h98.8v70H0z" transform="scale(3.9385)"></path><path fill="#fff" d="M8.2 3l1 2.8H12L9.7 7.5l.9 2.7-2.4-1.7L6 10.2l.9-2.7-2.4-1.7h3zm16.5 0l.9 2.8h2.9l-2.4 1.7 1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9zm16.5 0l.9 2.8H45l-2.4 1.7 1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9zm16.4 0l1 2.8h2.8l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h3zm16.5 0l.9 2.8h2.9l-2.4 1.7 1 2.7L74 8.5l-2.3 1.7.9-2.7-2.4-1.7h2.9zm16.5 0l.9 2.8h2.9L92 7.5l1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9zm-74.1 7l.9 2.8h2.9l-2.4 1.7 1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9zm16.4 0l1 2.8h2.8l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h3zm16.5 0l.9 2.8h2.9l-2.4 1.7 1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9zm16.5 0l.9 2.8h2.9l-2.4 1.7 1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7H65zm16.4 0l1 2.8H86l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h3zm-74 7l.8 2.8h3l-2.4 1.7.9 2.7-2.4-1.7L6 24.2l.9-2.7-2.4-1.7h3zm16.4 0l.9 2.8h2.9l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h2.9zm16.5 0l.9 2.8H45l-2.4 1.7 1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9zm16.4 0l1 2.8h2.8l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h3zm16.5 0l.9 2.8h2.9l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h2.9zm16.5 0l.9 2.8h2.9L92 21.5l1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9zm-74.1 7l.9 2.8h2.9l-2.4 1.7 1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9zm16.4 0l1 2.8h2.8l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h3zm16.5 0l.9 2.8h2.9l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h2.9zm16.5 0l.9 2.8h2.9l-2.4 1.7 1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7H65zm16.4 0l1 2.8H86l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h3zm-74 7l.8 2.8h3l-2.4 1.7.9 2.7-2.4-1.7L6 38.2l.9-2.7-2.4-1.7h3zm16.4 0l.9 2.8h2.9l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h2.9zm16.5 0l.9 2.8H45l-2.4 1.7 1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9zm16.4 0l1 2.8h2.8l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h3zm16.5 0l.9 2.8h2.9l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h2.9zm16.5 0l.9 2.8h2.9L92 35.5l1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9zm-74.1 7l.9 2.8h2.9l-2.4 1.7 1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9zm16.4 0l1 2.8h2.8l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h3zm16.5 0l.9 2.8h2.9l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h2.9zm16.5 0l.9 2.8h2.9l-2.4 1.7 1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7H65zm16.4 0l1 2.8H86l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h3zm-74 7l.8 2.8h3l-2.4 1.7.9 2.7-2.4-1.7L6 52.2l.9-2.7-2.4-1.7h3zm16.4 0l.9 2.8h2.9l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h2.9zm16.5 0l.9 2.8H45l-2.4 1.7 1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9zm16.4 0l1 2.8h2.8l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h3zm16.5 0l.9 2.8h2.9l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h2.9zm16.5 0l.9 2.8h2.9L92 49.5l1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9zm-74.1 7l.9 2.8h2.9l-2.4 1.7 1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9zm16.4 0l1 2.8h2.8l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h3zm16.5 0l.9 2.8h2.9l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h2.9zm16.5 0l.9 2.8h2.9l-2.4 1.7 1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7H65zm16.4 0l1 2.8H86l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h3zm-74 7l.8 2.8h3l-2.4 1.7.9 2.7-2.4-1.7L6 66.2l.9-2.7-2.4-1.7h3zm16.4 0l.9 2.8h2.9l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h2.9zm16.5 0l.9 2.8H45l-2.4 1.7 1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9zm16.4 0l1 2.8h2.8l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h3zm16.5 0l.9 2.8h2.9l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h2.9zm16.5 0l.9 2.8h2.9L92 63.5l1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9z" transform="scale(3.9385)"></path></g>', 1)
         
     | 
| 
       209 
208 
     | 
    
         
             
              ]));
         
     | 
| 
       210 
209 
     | 
    
         
             
            }
         
     | 
| 
       211 
     | 
    
         
            -
            const  
     | 
| 
      
 210 
     | 
    
         
            +
            const y1 = /* @__PURE__ */ x(C1, [["render", _1]]), z1 = {}, M1 = {
         
     | 
| 
       212 
211 
     | 
    
         
             
              xmlns: "http://www.w3.org/2000/svg",
         
     | 
| 
       213 
212 
     | 
    
         
             
              "xmlns:xlink": "http://www.w3.org/1999/xlink",
         
     | 
| 
       214 
213 
     | 
    
         
             
              version: "1.1",
         
     | 
| 
         @@ -217,8 +216,8 @@ const Me = /* @__PURE__ */ C(_e, [["render", ze]]), He = {}, Le = { 
     | 
|
| 
       217 
216 
     | 
    
         
             
              viewBox: "0 0 256 256",
         
     | 
| 
       218 
217 
     | 
    
         
             
              "xml:space": "preserve"
         
     | 
| 
       219 
218 
     | 
    
         
             
            };
         
     | 
| 
       220 
     | 
    
         
            -
            function  
     | 
| 
       221 
     | 
    
         
            -
              return s(),  
     | 
| 
      
 219 
     | 
    
         
            +
            function H1(t, e, l, u, n, r) {
         
     | 
| 
      
 220 
     | 
    
         
            +
              return s(), i("svg", M1, e[0] || (e[0] = [
         
     | 
| 
       222 
221 
     | 
    
         
             
                o("defs", null, null, -1),
         
     | 
| 
       223 
222 
     | 
    
         
             
                o("g", {
         
     | 
| 
       224 
223 
     | 
    
         
             
                  style: { stroke: "none", "stroke-width": "0", "stroke-dasharray": "none", "stroke-linecap": "butt", "stroke-linejoin": "miter", "stroke-miterlimit": "10", fill: "none", "fill-rule": "nonzero", opacity: "1" },
         
     | 
| 
         @@ -239,7 +238,7 @@ function Ve(e, t, l, u, n, r) { 
     | 
|
| 
       239 
238 
     | 
    
         
             
                ], -1)
         
     | 
| 
       240 
239 
     | 
    
         
             
              ]));
         
     | 
| 
       241 
240 
     | 
    
         
             
            }
         
     | 
| 
       242 
     | 
    
         
            -
            const  
     | 
| 
      
 241 
     | 
    
         
            +
            const L1 = /* @__PURE__ */ x(z1, [["render", H1]]), V1 = {}, I1 = {
         
     | 
| 
       243 
242 
     | 
    
         
             
              class: "shrink-0 size-3.5 text-gray-800 dark:text-neutral-200",
         
     | 
| 
       244 
243 
     | 
    
         
             
              xmlns: "http:.w3.org/2000/svg",
         
     | 
| 
       245 
244 
     | 
    
         
             
              width: "24",
         
     | 
| 
         @@ -251,13 +250,13 @@ const Ie = /* @__PURE__ */ C(He, [["render", Ve]]), $e = {}, De = { 
     | 
|
| 
       251 
250 
     | 
    
         
             
              "stroke-linecap": "round",
         
     | 
| 
       252 
251 
     | 
    
         
             
              "stroke-linejoin": "round"
         
     | 
| 
       253 
252 
     | 
    
         
             
            };
         
     | 
| 
       254 
     | 
    
         
            -
            function  
     | 
| 
       255 
     | 
    
         
            -
              return s(),  
     | 
| 
      
 253 
     | 
    
         
            +
            function $1(t, e, l, u, n, r) {
         
     | 
| 
      
 254 
     | 
    
         
            +
              return s(), i("svg", I1, e[0] || (e[0] = [
         
     | 
| 
       256 
255 
     | 
    
         
             
                o("polyline", { points: "20 6 9 17 4 12" }, null, -1)
         
     | 
| 
       257 
256 
     | 
    
         
             
              ]));
         
     | 
| 
       258 
257 
     | 
    
         
             
            }
         
     | 
| 
       259 
     | 
    
         
            -
            const  
     | 
| 
       260 
     | 
    
         
            -
              components: { IconQuestion: G, IconUSA:  
     | 
| 
      
 258 
     | 
    
         
            +
            const O1 = /* @__PURE__ */ x(V1, [["render", $1]]), D1 = {
         
     | 
| 
      
 259 
     | 
    
         
            +
              components: { IconQuestion: G, IconUSA: y1, IconUkraine: L1, IconTick: O1 },
         
     | 
| 
       261 
260 
     | 
    
         
             
              props: ["docs", "languages"],
         
     | 
| 
       262 
261 
     | 
    
         
             
              data() {
         
     | 
| 
       263 
262 
     | 
    
         
             
                return {
         
     | 
| 
         @@ -280,72 +279,72 @@ const Be = /* @__PURE__ */ C($e, [["render", Oe]]), Ee = { 
     | 
|
| 
       280 
279 
     | 
    
         
             
              },
         
     | 
| 
       281 
280 
     | 
    
         
             
              computed: {
         
     | 
| 
       282 
281 
     | 
    
         
             
                selectedLang() {
         
     | 
| 
       283 
     | 
    
         
            -
                  return this.languagesOptions.find(( 
     | 
| 
      
 282 
     | 
    
         
            +
                  return this.languagesOptions.find((t) => t.id === this.currentLang);
         
     | 
| 
       284 
283 
     | 
    
         
             
                },
         
     | 
| 
       285 
284 
     | 
    
         
             
                darkMode() {
         
     | 
| 
       286 
     | 
    
         
            -
                  var  
     | 
| 
       287 
     | 
    
         
            -
                  return ( 
     | 
| 
      
 285 
     | 
    
         
            +
                  var t, e;
         
     | 
| 
      
 286 
     | 
    
         
            +
                  return (e = (t = C) == null ? void 0 : t.value) == null ? void 0 : e.sidebarDark;
         
     | 
| 
       288 
287 
     | 
    
         
             
                }
         
     | 
| 
       289 
288 
     | 
    
         
             
              },
         
     | 
| 
       290 
289 
     | 
    
         
             
              methods: {
         
     | 
| 
       291 
     | 
    
         
            -
                changeLang( 
     | 
| 
       292 
     | 
    
         
            -
                  this.$refs.langPopover.togglePopover(), this.currentLang =  
     | 
| 
      
 290 
     | 
    
         
            +
                changeLang(t) {
         
     | 
| 
      
 291 
     | 
    
         
            +
                  this.$refs.langPopover.togglePopover(), this.currentLang = t;
         
     | 
| 
       293 
292 
     | 
    
         
             
                }
         
     | 
| 
       294 
293 
     | 
    
         
             
              }
         
     | 
| 
       295 
     | 
    
         
            -
            },  
     | 
| 
       296 
     | 
    
         
            -
            function  
     | 
| 
       297 
     | 
    
         
            -
              const  
     | 
| 
       298 
     | 
    
         
            -
              return l.docs || l.languages ? (s(),  
     | 
| 
      
 294 
     | 
    
         
            +
            }, E1 = { class: "flex justify-center items-center gap-x-2" }, U1 = ["onClick"], N1 = { class: "text-gray-800" }, Z1 = { class: "ms-auto" }, j1 = { class: "truncate" };
         
     | 
| 
      
 295 
     | 
    
         
            +
            function T1(t, e, l, u, n, r) {
         
     | 
| 
      
 296 
     | 
    
         
            +
              const k = p("IconTick"), m = p("VsPopover");
         
     | 
| 
      
 297 
     | 
    
         
            +
              return l.docs || l.languages ? (s(), i("div", {
         
     | 
| 
       299 
298 
     | 
    
         
             
                key: 0,
         
     | 
| 
       300 
     | 
    
         
            -
                class:  
     | 
| 
      
 299 
     | 
    
         
            +
                class: f(["py-2 px-5 border-t dark:border-neutral-700", r.darkMode ? "border-white/10 " : "border-gray-200"])
         
     | 
| 
       301 
300 
     | 
    
         
             
              }, [
         
     | 
| 
       302 
     | 
    
         
            -
                o("div",  
     | 
| 
       303 
     | 
    
         
            -
                   
     | 
| 
      
 301 
     | 
    
         
            +
                o("div", E1, [
         
     | 
| 
      
 302 
     | 
    
         
            +
                  h(m, {
         
     | 
| 
       304 
303 
     | 
    
         
             
                    trigger: "click",
         
     | 
| 
       305 
304 
     | 
    
         
             
                    placement: "top",
         
     | 
| 
       306 
305 
     | 
    
         
             
                    ref: "langPopover"
         
     | 
| 
       307 
306 
     | 
    
         
             
                  }, {
         
     | 
| 
       308 
     | 
    
         
            -
                    reference:  
     | 
| 
       309 
     | 
    
         
            -
                      var  
     | 
| 
      
 307 
     | 
    
         
            +
                    reference: y(() => {
         
     | 
| 
      
 308 
     | 
    
         
            +
                      var a, g, b;
         
     | 
| 
       310 
309 
     | 
    
         
             
                      return [
         
     | 
| 
       311 
310 
     | 
    
         
             
                        o("button", {
         
     | 
| 
       312 
311 
     | 
    
         
             
                          type: "button",
         
     | 
| 
       313 
312 
     | 
    
         
             
                          "aria-expanded": "false",
         
     | 
| 
       314 
     | 
    
         
            -
                          class:  
     | 
| 
      
 313 
     | 
    
         
            +
                          class: f([
         
     | 
| 
       315 
314 
     | 
    
         
             
                            "relative py-2 px-3 flex items-center gap-x-2 text-nowrap w-full cursor-pointer border rounded-full text-start text-sm text-gray-800 focus:outline-none",
         
     | 
| 
       316 
315 
     | 
    
         
             
                            r.darkMode ? "border-white/10 bg-transparent text-white/80 hover:bg-white/10 focus:bg-white/10" : "border-gray-200 bg-white hover:bg-gray-100 focus:bg-gray-100"
         
     | 
| 
       317 
316 
     | 
    
         
             
                          ])
         
     | 
| 
       318 
317 
     | 
    
         
             
                        }, [
         
     | 
| 
       319 
318 
     | 
    
         
             
                          o("div", null, [
         
     | 
| 
       320 
     | 
    
         
            -
                            (s(), U(S(( 
     | 
| 
      
 319 
     | 
    
         
            +
                            (s(), U(S((a = r.selectedLang) == null ? void 0 : a.icon), { class: "w-[16px] h-[16px] rounded-full" }))
         
     | 
| 
       321 
320 
     | 
    
         
             
                          ]),
         
     | 
| 
       322 
     | 
    
         
            -
                          o("span",  
     | 
| 
      
 321 
     | 
    
         
            +
                          o("span", j1, N(n.currentLang === "ukraine" ? (g = r.selectedLang) == null ? void 0 : g.titleUA : (b = r.selectedLang) == null ? void 0 : b.titleEN), 1)
         
     | 
| 
       323 
322 
     | 
    
         
             
                        ], 2)
         
     | 
| 
       324 
323 
     | 
    
         
             
                      ];
         
     | 
| 
       325 
324 
     | 
    
         
             
                    }),
         
     | 
| 
       326 
     | 
    
         
            -
                    default:  
     | 
| 
      
 325 
     | 
    
         
            +
                    default: y(() => [
         
     | 
| 
       327 
326 
     | 
    
         
             
                      o("div", null, [
         
     | 
| 
       328 
     | 
    
         
            -
                        (s(!0),  
     | 
| 
       329 
     | 
    
         
            -
                          key:  
     | 
| 
      
 327 
     | 
    
         
            +
                        (s(!0), i(j, null, P(n.languagesOptions, (a) => (s(), i("button", {
         
     | 
| 
      
 328 
     | 
    
         
            +
                          key: a.id,
         
     | 
| 
       330 
329 
     | 
    
         
             
                          type: "button",
         
     | 
| 
       331 
     | 
    
         
            -
                          onClick: ( 
     | 
| 
       332 
     | 
    
         
            -
                          class:  
     | 
| 
      
 330 
     | 
    
         
            +
                          onClick: (g) => r.changeLang(a.id),
         
     | 
| 
      
 331 
     | 
    
         
            +
                          class: f(["flex items-center gap-x-2 cursor-pointer dark:hs-selected:bg-neutral-800 py-2 px-4 w-full text-sm text-gray-800 hover:bg-gray-100 rounded-lg focus:outline-none focus:bg-gray-100 dark:text-neutral-300 dark:hover:bg-neutral-800 dark:focus:bg-neutral-800 selected", (a == null ? void 0 : a.id) === n.currentLang ? "bg-gray-100" : ""])
         
     | 
| 
       333 
332 
     | 
    
         
             
                        }, [
         
     | 
| 
       334 
     | 
    
         
            -
                          (s(), U(S( 
     | 
| 
       335 
     | 
    
         
            -
                          o("div",  
     | 
| 
       336 
     | 
    
         
            -
                          o("span",  
     | 
| 
       337 
     | 
    
         
            -
                            ( 
     | 
| 
      
 333 
     | 
    
         
            +
                          (s(), U(S(a == null ? void 0 : a.icon), { class: "w-[16px] h-[16px] rounded-full" })),
         
     | 
| 
      
 334 
     | 
    
         
            +
                          o("div", N1, N(n.currentLang === "ukraine" ? a == null ? void 0 : a.titleUA : a == null ? void 0 : a.titleEN), 1),
         
     | 
| 
      
 335 
     | 
    
         
            +
                          o("span", Z1, [
         
     | 
| 
      
 336 
     | 
    
         
            +
                            (a == null ? void 0 : a.id) === n.currentLang ? (s(), U(k, { key: 0 })) : w("", !0)
         
     | 
| 
       338 
337 
     | 
    
         
             
                          ])
         
     | 
| 
       339 
     | 
    
         
            -
                        ], 10,  
     | 
| 
      
 338 
     | 
    
         
            +
                        ], 10, U1))), 128))
         
     | 
| 
       340 
339 
     | 
    
         
             
                      ])
         
     | 
| 
       341 
340 
     | 
    
         
             
                    ]),
         
     | 
| 
       342 
341 
     | 
    
         
             
                    _: 1
         
     | 
| 
       343 
342 
     | 
    
         
             
                  }, 512)
         
     | 
| 
       344 
343 
     | 
    
         
             
                ])
         
     | 
| 
       345 
     | 
    
         
            -
              ], 2)) :  
     | 
| 
      
 344 
     | 
    
         
            +
              ], 2)) : w("", !0);
         
     | 
| 
       346 
345 
     | 
    
         
             
            }
         
     | 
| 
       347 
     | 
    
         
            -
            const  
     | 
| 
       348 
     | 
    
         
            -
              components: { IconLogout: q, NavbarItem:  
     | 
| 
      
 346 
     | 
    
         
            +
            const B1 = /* @__PURE__ */ x(D1, [["render", T1]]), S1 = {
         
     | 
| 
      
 347 
     | 
    
         
            +
              components: { IconLogout: q, NavbarItem: x1, IconLogo: c1, IconSearch: K, NavbarFooter: B1 },
         
     | 
| 
       349 
348 
     | 
    
         
             
              data() {
         
     | 
| 
       350 
349 
     | 
    
         
             
                return {
         
     | 
| 
       351 
350 
     | 
    
         
             
                  activeIndex: null,
         
     | 
| 
         @@ -354,29 +353,28 @@ const Se = /* @__PURE__ */ C(Ee, [["render", Ae]]), Pe = { 
     | 
|
| 
       354 
353 
     | 
    
         
             
              },
         
     | 
| 
       355 
354 
     | 
    
         
             
              computed: {
         
     | 
| 
       356 
355 
     | 
    
         
             
                data() {
         
     | 
| 
       357 
     | 
    
         
            -
                  var  
     | 
| 
       358 
     | 
    
         
            -
                  return ( 
     | 
| 
      
 356 
     | 
    
         
            +
                  var t;
         
     | 
| 
      
 357 
     | 
    
         
            +
                  return (t = this.searchValue) != null && t.trim() ? this.filterMenu(T.value, this.searchValue) : T.value;
         
     | 
| 
       359 
358 
     | 
    
         
             
                },
         
     | 
| 
       360 
359 
     | 
    
         
             
                logo() {
         
     | 
| 
       361 
     | 
    
         
            -
                  var  
     | 
| 
       362 
     | 
    
         
            -
                  return (( 
     | 
| 
      
 360 
     | 
    
         
            +
                  var t;
         
     | 
| 
      
 361 
     | 
    
         
            +
                  return ((t = C.value) == null ? void 0 : t.logo) || "/assets/logo.svg";
         
     | 
| 
       363 
362 
     | 
    
         
             
                },
         
     | 
| 
       364 
363 
     | 
    
         
             
                docs() {
         
     | 
| 
       365 
     | 
    
         
            -
                  var  
     | 
| 
       366 
     | 
    
         
            -
                  return ( 
     | 
| 
      
 364 
     | 
    
         
            +
                  var t, e;
         
     | 
| 
      
 365 
     | 
    
         
            +
                  return (e = (t = C) == null ? void 0 : t.value) == null ? void 0 : e.docs;
         
     | 
| 
       367 
366 
     | 
    
         
             
                },
         
     | 
| 
       368 
367 
     | 
    
         
             
                languages() {
         
     | 
| 
       369 
     | 
    
         
            -
                  var  
     | 
| 
       370 
     | 
    
         
            -
                  return ( 
     | 
| 
      
 368 
     | 
    
         
            +
                  var t, e;
         
     | 
| 
      
 369 
     | 
    
         
            +
                  return (e = (t = C) == null ? void 0 : t.value) == null ? void 0 : e.languages;
         
     | 
| 
       371 
370 
     | 
    
         
             
                },
         
     | 
| 
       372 
371 
     | 
    
         
             
                darkMode() {
         
     | 
| 
       373 
     | 
    
         
            -
                  var  
     | 
| 
       374 
     | 
    
         
            -
                  return ( 
     | 
| 
      
 372 
     | 
    
         
            +
                  var t, e;
         
     | 
| 
      
 373 
     | 
    
         
            +
                  return (e = (t = C) == null ? void 0 : t.value) == null ? void 0 : e.sidebarDark;
         
     | 
| 
       375 
374 
     | 
    
         
             
                },
         
     | 
| 
       376 
375 
     | 
    
         
             
                darkColor() {
         
     | 
| 
       377 
     | 
    
         
            -
                  var t, l, u 
     | 
| 
       378 
     | 
    
         
            -
                   
     | 
| 
       379 
     | 
    
         
            -
                  return e.includes("-") || e.includes("[") ? e : e + "-950";
         
     | 
| 
      
 376 
     | 
    
         
            +
                  var t, e, l, u;
         
     | 
| 
      
 377 
     | 
    
         
            +
                  return ((e = (t = C) == null ? void 0 : t.value) == null ? void 0 : e.sidebarColor) || ((u = (l = C) == null ? void 0 : l.value) == null ? void 0 : u.color) || "blue";
         
     | 
| 
       380 
378 
     | 
    
         
             
                }
         
     | 
| 
       381 
379 
     | 
    
         
             
              },
         
     | 
| 
       382 
380 
     | 
    
         
             
              watch: {
         
     | 
| 
         @@ -385,91 +383,91 @@ const Se = /* @__PURE__ */ C(Ee, [["render", Ae]]), Pe = { 
     | 
|
| 
       385 
383 
     | 
    
         
             
                }
         
     | 
| 
       386 
384 
     | 
    
         
             
              },
         
     | 
| 
       387 
385 
     | 
    
         
             
              methods: {
         
     | 
| 
       388 
     | 
    
         
            -
                filterMenu( 
     | 
| 
       389 
     | 
    
         
            -
                  return  
     | 
| 
      
 386 
     | 
    
         
            +
                filterMenu(t, e) {
         
     | 
| 
      
 387 
     | 
    
         
            +
                  return t.map((l) => {
         
     | 
| 
       390 
388 
     | 
    
         
             
                    var u, n;
         
     | 
| 
       391 
389 
     | 
    
         
             
                    if (l.menu) {
         
     | 
| 
       392 
     | 
    
         
            -
                      const r = this.filterMenu(l.menu,  
     | 
| 
      
 390 
     | 
    
         
            +
                      const r = this.filterMenu(l.menu, e);
         
     | 
| 
       393 
391 
     | 
    
         
             
                      if (r.length > 0)
         
     | 
| 
       394 
392 
     | 
    
         
             
                        return { ...l, menu: r, open: !0 };
         
     | 
| 
       395 
     | 
    
         
            -
                    } else if ((n = (u = l.ua) == null ? void 0 : u.toLowerCase()) != null && n.includes( 
     | 
| 
      
 393 
     | 
    
         
            +
                    } else if ((n = (u = l.ua) == null ? void 0 : u.toLowerCase()) != null && n.includes(e.toLowerCase()))
         
     | 
| 
       396 
394 
     | 
    
         
             
                      return l;
         
     | 
| 
       397 
395 
     | 
    
         
             
                    return null;
         
     | 
| 
       398 
396 
     | 
    
         
             
                  }).filter(Boolean);
         
     | 
| 
       399 
397 
     | 
    
         
             
                }
         
     | 
| 
       400 
398 
     | 
    
         
             
              }
         
     | 
| 
       401 
     | 
    
         
            -
            },  
     | 
| 
      
 399 
     | 
    
         
            +
            }, A1 = { class: "h-[46px] w-full px-5 lg:px-8 mb-[10px]" }, P1 = { href: "/" }, F1 = ["src"], Q1 = { class: "px-2 lg:px-5" }, R1 = { class: "px-2 lg:px-5 flex flex-col flex-wrap w-full pb-3" }, q1 = {
         
     | 
| 
       402 
400 
     | 
    
         
             
              key: 0,
         
     | 
| 
       403 
401 
     | 
    
         
             
              class: "flex flex-col gap-y-1"
         
     | 
| 
       404 
402 
     | 
    
         
             
            };
         
     | 
| 
       405 
     | 
    
         
            -
            function  
     | 
| 
       406 
     | 
    
         
            -
              var  
     | 
| 
       407 
     | 
    
         
            -
              const  
     | 
| 
       408 
     | 
    
         
            -
              return s(),  
     | 
| 
       409 
     | 
    
         
            -
                class:  
     | 
| 
       410 
     | 
    
         
            -
                  "left-0":  
     | 
| 
       411 
     | 
    
         
            -
                  ["bg-" + r.darkColor]: r. 
     | 
| 
       412 
     | 
    
         
            -
                  "bg-white": !r.darkMode 
     | 
| 
      
 403 
     | 
    
         
            +
            function G1(t, e, l, u, n, r) {
         
     | 
| 
      
 404 
     | 
    
         
            +
              var g;
         
     | 
| 
      
 405 
     | 
    
         
            +
              const k = p("VsText"), m = p("NavbarItem"), a = p("NavbarFooter");
         
     | 
| 
      
 406 
     | 
    
         
            +
              return s(), i("div", {
         
     | 
| 
      
 407 
     | 
    
         
            +
                class: f(["lg:flex lg:relative lg:left-0 flex-col h-[100vh] pt-3 border-r w-[260px] top-0 bottom-0 shrink-0 absolute transition left-[-100%] z-[11]", {
         
     | 
| 
      
 408 
     | 
    
         
            +
                  "left-0": t.$parent.showMenu,
         
     | 
| 
      
 409 
     | 
    
         
            +
                  ["bg-" + r.darkColor + "-950"]: r.darkMode,
         
     | 
| 
      
 410 
     | 
    
         
            +
                  "bg-white": !r.darkMode
         
     | 
| 
       413 
411 
     | 
    
         
             
                }])
         
     | 
| 
       414 
412 
     | 
    
         
             
              }, [
         
     | 
| 
       415 
     | 
    
         
            -
                o("div",  
     | 
| 
       416 
     | 
    
         
            -
                  o("a",  
     | 
| 
      
 413 
     | 
    
         
            +
                o("div", A1, [
         
     | 
| 
      
 414 
     | 
    
         
            +
                  o("a", P1, [
         
     | 
| 
       417 
415 
     | 
    
         
             
                    o("img", {
         
     | 
| 
       418 
416 
     | 
    
         
             
                      src: r.logo,
         
     | 
| 
       419 
417 
     | 
    
         
             
                      class: "object-contain w-full h-full"
         
     | 
| 
       420 
     | 
    
         
            -
                    }, null, 8,  
     | 
| 
      
 418 
     | 
    
         
            +
                    }, null, 8, F1)
         
     | 
| 
       421 
419 
     | 
    
         
             
                  ])
         
     | 
| 
       422 
420 
     | 
    
         
             
                ]),
         
     | 
| 
       423 
     | 
    
         
            -
                o("div",  
     | 
| 
       424 
     | 
    
         
            -
                   
     | 
| 
      
 421 
     | 
    
         
            +
                o("div", Q1, [
         
     | 
| 
      
 422 
     | 
    
         
            +
                  h(k, {
         
     | 
| 
       425 
423 
     | 
    
         
             
                    type: "text",
         
     | 
| 
       426 
424 
     | 
    
         
             
                    modelValue: n.searchValue,
         
     | 
| 
       427 
     | 
    
         
            -
                    "onUpdate:modelValue":  
     | 
| 
      
 425 
     | 
    
         
            +
                    "onUpdate:modelValue": e[0] || (e[0] = (b) => n.searchValue = b),
         
     | 
| 
       428 
426 
     | 
    
         
             
                    clearable: !0,
         
     | 
| 
       429 
427 
     | 
    
         
             
                    icon: "search",
         
     | 
| 
       430 
428 
     | 
    
         
             
                    "icon-position": "left",
         
     | 
| 
       431 
429 
     | 
    
         
             
                    placeholder: "Пошук по меню",
         
     | 
| 
       432 
     | 
    
         
            -
                    class:  
     | 
| 
      
 430 
     | 
    
         
            +
                    class: f(["[&>input]:h-[38px]", {
         
     | 
| 
       433 
431 
     | 
    
         
             
                      "[&>input]:bg-[#172554] [&>input]:text-white/80 [&>input]:placeholder:text-white/40 [&>input]:border [&>input]:border-white/50": r.darkMode,
         
     | 
| 
       434 
     | 
    
         
            -
                      ["[&>input]:bg-" + r.darkColor]: r. 
     | 
| 
      
 432 
     | 
    
         
            +
                      ["[&>input]:bg-" + r.darkColor + "-950"]: r.darkMode,
         
     | 
| 
       435 
433 
     | 
    
         
             
                      ["focus:[&>input]:border-" + r.darkColor + "-500"]: r.darkMode
         
     | 
| 
       436 
434 
     | 
    
         
             
                    }])
         
     | 
| 
       437 
435 
     | 
    
         
             
                  }, null, 8, ["modelValue", "class"])
         
     | 
| 
       438 
436 
     | 
    
         
             
                ]),
         
     | 
| 
       439 
437 
     | 
    
         
             
                o("div", {
         
     | 
| 
       440 
     | 
    
         
            -
                  class:  
     | 
| 
      
 438 
     | 
    
         
            +
                  class: f([
         
     | 
| 
       441 
439 
     | 
    
         
             
                    "py-[10px] overflow-y-auto [&::-webkit-scrollbar]:w-2 [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar-track]:bg-gray-100 [&::-webkit-scrollbar-thumb]:bg-gray-300 dark:[&::-webkit-scrollbar-track]:bg-neutral-700 dark:[&::-webkit-scrollbar-thumb]:bg-neutral-500",
         
     | 
| 
       442 
440 
     | 
    
         
             
                    r.languages || r.docs ? "h-[calc(100vh-161px)]" : "h-[calc(100vh-110px)]"
         
     | 
| 
       443 
441 
     | 
    
         
             
                  ])
         
     | 
| 
       444 
442 
     | 
    
         
             
                }, [
         
     | 
| 
       445 
     | 
    
         
            -
                  o("nav",  
     | 
| 
       446 
     | 
    
         
            -
                    ( 
     | 
| 
       447 
     | 
    
         
            -
                      (s(!0),  
     | 
| 
       448 
     | 
    
         
            -
                        key:  
     | 
| 
      
 443 
     | 
    
         
            +
                  o("nav", R1, [
         
     | 
| 
      
 444 
     | 
    
         
            +
                    (g = r.data) != null && g.length ? (s(), i("ul", q1, [
         
     | 
| 
      
 445 
     | 
    
         
            +
                      (s(!0), i(j, null, P(r.data, (b, _) => (s(), i("li", {
         
     | 
| 
      
 446 
     | 
    
         
            +
                        key: _,
         
     | 
| 
       449 
447 
     | 
    
         
             
                        class: "flex flex-col gap-[6px]"
         
     | 
| 
       450 
448 
     | 
    
         
             
                      }, [
         
     | 
| 
       451 
     | 
    
         
            -
                         
     | 
| 
       452 
     | 
    
         
            -
                          route:  
     | 
| 
      
 449 
     | 
    
         
            +
                        h(m, {
         
     | 
| 
      
 450 
     | 
    
         
            +
                          route: b,
         
     | 
| 
       453 
451 
     | 
    
         
             
                          searchable: n.searchValue
         
     | 
| 
       454 
452 
     | 
    
         
             
                        }, null, 8, ["route", "searchable"])
         
     | 
| 
       455 
453 
     | 
    
         
             
                      ]))), 128))
         
     | 
| 
       456 
     | 
    
         
            -
                    ])) : (s(),  
     | 
| 
      
 454 
     | 
    
         
            +
                    ])) : (s(), i("div", {
         
     | 
| 
       457 
455 
     | 
    
         
             
                      key: 1,
         
     | 
| 
       458 
     | 
    
         
            -
                      class:  
     | 
| 
      
 456 
     | 
    
         
            +
                      class: f(["text-lg mt-[20px]", {
         
     | 
| 
       459 
457 
     | 
    
         
             
                        "text-white/80": r.darkMode,
         
     | 
| 
       460 
458 
     | 
    
         
             
                        "text-gray-800": !r.darkMode
         
     | 
| 
       461 
459 
     | 
    
         
             
                      }])
         
     | 
| 
       462 
460 
     | 
    
         
             
                    }, " Не знайдено ", 2))
         
     | 
| 
       463 
461 
     | 
    
         
             
                  ])
         
     | 
| 
       464 
462 
     | 
    
         
             
                ], 2),
         
     | 
| 
       465 
     | 
    
         
            -
                r.docs || r.languages ? (s(), U( 
     | 
| 
      
 463 
     | 
    
         
            +
                r.docs || r.languages ? (s(), U(a, {
         
     | 
| 
       466 
464 
     | 
    
         
             
                  key: 0,
         
     | 
| 
       467 
465 
     | 
    
         
             
                  docs: r.docs,
         
     | 
| 
       468 
466 
     | 
    
         
             
                  languages: r.languages
         
     | 
| 
       469 
     | 
    
         
            -
                }, null, 8, ["docs", "languages"])) :  
     | 
| 
      
 467 
     | 
    
         
            +
                }, null, 8, ["docs", "languages"])) : w("", !0)
         
     | 
| 
       470 
468 
     | 
    
         
             
              ], 2);
         
     | 
| 
       471 
469 
     | 
    
         
             
            }
         
     | 
| 
       472 
     | 
    
         
            -
            const  
     | 
| 
      
 470 
     | 
    
         
            +
            const J1 = /* @__PURE__ */ x(S1, [["render", G1], ["__scopeId", "data-v-ebe4c2ff"]]), K1 = {
         
     | 
| 
       473 
471 
     | 
    
         
             
              components: {
         
     | 
| 
       474 
472 
     | 
    
         
             
                IconQuestion: G,
         
     | 
| 
       475 
473 
     | 
    
         
             
                IconUser: W,
         
     | 
| 
         @@ -478,7 +476,7 @@ const We = /* @__PURE__ */ C(Pe, [["render", Ke], ["__scopeId", "data-v-1bcbb021 
     | 
|
| 
       478 
476 
     | 
    
         
             
                IconLogout: q
         
     | 
| 
       479 
477 
     | 
    
         
             
              },
         
     | 
| 
       480 
478 
     | 
    
         
             
              mounted() {
         
     | 
| 
       481 
     | 
    
         
            -
                this.getUserData() 
     | 
| 
      
 479 
     | 
    
         
            +
                this.getUserData();
         
     | 
| 
       482 
480 
     | 
    
         
             
              },
         
     | 
| 
       483 
481 
     | 
    
         
             
              data() {
         
     | 
| 
       484 
482 
     | 
    
         
             
                return {
         
     | 
| 
         @@ -486,19 +484,9 @@ const We = /* @__PURE__ */ C(Pe, [["render", Ke], ["__scopeId", "data-v-1bcbb021 
     | 
|
| 
       486 
484 
     | 
    
         
             
                  isVisible: !1
         
     | 
| 
       487 
485 
     | 
    
         
             
                };
         
     | 
| 
       488 
486 
     | 
    
         
             
              },
         
     | 
| 
       489 
     | 
    
         
            -
              computed: {
         
     | 
| 
       490 
     | 
    
         
            -
                headerBadgeTitle() {
         
     | 
| 
       491 
     | 
    
         
            -
                  var e;
         
     | 
| 
       492 
     | 
    
         
            -
                  return (e = v.value) == null ? void 0 : e.headerBadge;
         
     | 
| 
       493 
     | 
    
         
            -
                },
         
     | 
| 
       494 
     | 
    
         
            -
                headerBadgeColor() {
         
     | 
| 
       495 
     | 
    
         
            -
                  var e;
         
     | 
| 
       496 
     | 
    
         
            -
                  return (e = v.value) == null ? void 0 : e.headerBadgeColor;
         
     | 
| 
       497 
     | 
    
         
            -
                }
         
     | 
| 
       498 
     | 
    
         
            -
              },
         
     | 
| 
       499 
487 
     | 
    
         
             
              watch: {
         
     | 
| 
       500 
     | 
    
         
            -
                isVisible( 
     | 
| 
       501 
     | 
    
         
            -
                   
     | 
| 
      
 488 
     | 
    
         
            +
                isVisible(t) {
         
     | 
| 
      
 489 
     | 
    
         
            +
                  t ? setTimeout(
         
     | 
| 
       502 
490 
     | 
    
         
             
                    () => window.addEventListener("click", this.closeOnOutsideClick),
         
     | 
| 
       503 
491 
     | 
    
         
             
                    0
         
     | 
| 
       504 
492 
     | 
    
         
             
                  ) : window.removeEventListener("click", this.closeOnOutsideClick);
         
     | 
| 
         @@ -507,22 +495,14 @@ const We = /* @__PURE__ */ C(Pe, [["render", Ke], ["__scopeId", "data-v-1bcbb021 
     | 
|
| 
       507 
495 
     | 
    
         
             
              methods: {
         
     | 
| 
       508 
496 
     | 
    
         
             
                async getUserData() {
         
     | 
| 
       509 
497 
     | 
    
         
             
                  try {
         
     | 
| 
       510 
     | 
    
         
            -
                    const { data:  
     | 
| 
       511 
     | 
    
         
            -
                    this.userData =  
     | 
| 
      
 498 
     | 
    
         
            +
                    const { data: t } = await R.get("/user");
         
     | 
| 
      
 499 
     | 
    
         
            +
                    this.userData = t;
         
     | 
| 
       512 
500 
     | 
    
         
             
                  } catch {
         
     | 
| 
       513 
501 
     | 
    
         
             
                  }
         
     | 
| 
       514 
502 
     | 
    
         
             
                },
         
     | 
| 
       515 
     | 
    
         
            -
                async getAdminProperties() {
         
     | 
| 
       516 
     | 
    
         
            -
                  try {
         
     | 
| 
       517 
     | 
    
         
            -
                    const { data: e } = await T.get("/api/settings-app");
         
     | 
| 
       518 
     | 
    
         
            -
                    ee.value = e;
         
     | 
| 
       519 
     | 
    
         
            -
                  } catch (e) {
         
     | 
| 
       520 
     | 
    
         
            -
                    console.error(e);
         
     | 
| 
       521 
     | 
    
         
            -
                  }
         
     | 
| 
       522 
     | 
    
         
            -
                },
         
     | 
| 
       523 
503 
     | 
    
         
             
                async logout() {
         
     | 
| 
       524 
504 
     | 
    
         
             
                  try {
         
     | 
| 
       525 
     | 
    
         
            -
                    await  
     | 
| 
      
 505 
     | 
    
         
            +
                    await R.get("/logout"), await window.history.pushState({}, "", "/login"), await location.reload(), localStorage.removeItem("user");
         
     | 
| 
       526 
506 
     | 
    
         
             
                  } catch {
         
     | 
| 
       527 
507 
     | 
    
         
             
                  }
         
     | 
| 
       528 
508 
     | 
    
         
             
                },
         
     | 
| 
         @@ -533,153 +513,113 @@ const We = /* @__PURE__ */ C(Pe, [["render", Ke], ["__scopeId", "data-v-1bcbb021 
     | 
|
| 
       533 
513 
     | 
    
         
             
              beforeUnmount() {
         
     | 
| 
       534 
514 
     | 
    
         
             
                window.removeEventListener("click", this.closeOnOutsideClick);
         
     | 
| 
       535 
515 
     | 
    
         
             
              }
         
     | 
| 
       536 
     | 
    
         
            -
            },  
     | 
| 
      
 516 
     | 
    
         
            +
            }, W1 = { class: "h-[58px] border-b flex lg:justify-end justify-between items-center px-[20px]" }, X1 = { class: "flex items-center gap-[6px]" }, Y1 = {
         
     | 
| 
       537 
517 
     | 
    
         
             
              href: "/docs-user",
         
     | 
| 
       538 
518 
     | 
    
         
             
              class: "size-[38px] inline-flex justify-center items-center gap-x-2 rounded-full border border-transparent text-gray-500 hover:bg-gray-100 disabled:opacity-50 disabled:pointer-events-none focus:outline-none focus:bg-gray-100 dark:text-neutral-400 dark:hover:bg-neutral-700 dark:focus:bg-neutral-700"
         
     | 
| 
       539 
     | 
    
         
            -
            },  
     | 
| 
       540 
     | 
    
         
            -
              href: "/docs-user",
         
     | 
| 
       541 
     | 
    
         
            -
              class: "size-[38px] inline-flex justify-center items-center gap-x-2 rounded-full border border-transparent text-gray-500 hover:bg-gray-100 disabled:opacity-50 disabled:pointer-events-none focus:outline-none focus:bg-gray-100 dark:text-neutral-400 dark:hover:bg-neutral-700 dark:focus:bg-neutral-700"
         
     | 
| 
       542 
     | 
    
         
            -
            }, r1 = { class: "relative" }, l1 = ["src"], o1 = {
         
     | 
| 
      
 519 
     | 
    
         
            +
            }, ee = { class: "relative" }, te = ["src"], re = {
         
     | 
| 
       543 
520 
     | 
    
         
             
              key: 1,
         
     | 
| 
       544 
521 
     | 
    
         
             
              class: "size-[40px] rounded-full bg-gray-200 flex items-center justify-center"
         
     | 
| 
       545 
     | 
    
         
            -
            },  
     | 
| 
      
 522 
     | 
    
         
            +
            }, le = ["src"], oe = {
         
     | 
| 
       546 
523 
     | 
    
         
             
              key: 1,
         
     | 
| 
       547 
524 
     | 
    
         
             
              class: "flex items-center justify-center bg-gray-200 rounded-full size-10"
         
     | 
| 
       548 
     | 
    
         
            -
            },  
     | 
| 
       549 
     | 
    
         
            -
            function  
     | 
| 
       550 
     | 
    
         
            -
               
     | 
| 
       551 
     | 
    
         
            -
               
     | 
| 
       552 
     | 
    
         
            -
             
     | 
| 
       553 
     | 
    
         
            -
              }, [
         
     | 
| 
       554 
     | 
    
         
            -
                r.headerBadgeTitle ? (s(), a("div", {
         
     | 
| 
       555 
     | 
    
         
            -
                  key: 0,
         
     | 
| 
       556 
     | 
    
         
            -
                  class: p(["py-1.5 px-2.5 flex justify-center items-center text-white hover:bg-gray-900 focus:bg-gray-900 dark:bg-neutral-100 dark:text-neutral-800 dark:hover:bg-white dark:focus:bg-white.class text-nowrap text-xs sm:text-[13px] rounded-lg disabled:opacity-50 disabled:pointer-events-none focus:outline-none dark:text-neutral-400", {
         
     | 
| 
       557 
     | 
    
         
            -
                    ["bg-" + r.headerBadgeColor]: r.headerBadgeColor,
         
     | 
| 
       558 
     | 
    
         
            -
                    "bg-gray-800": !r.headerBadgeColor
         
     | 
| 
       559 
     | 
    
         
            -
                  }])
         
     | 
| 
       560 
     | 
    
         
            -
                }, V(r.headerBadgeTitle), 3)) : _("", !0),
         
     | 
| 
      
 525 
     | 
    
         
            +
            }, ne = { class: "grow" }, se = { class: "block text-sm font-medium text-gray-800 dark:text-neutral-200" }, ae = { class: "text-xs text-gray-500 dark:text-neutral-500" }, ie = { class: "flex flex-col space-y-0.5" };
         
     | 
| 
      
 526 
     | 
    
         
            +
            function ue(t, e, l, u, n, r) {
         
     | 
| 
      
 527 
     | 
    
         
            +
              var z, M, H, L;
         
     | 
| 
      
 528 
     | 
    
         
            +
              const k = p("IconQuestion"), m = p("AdminNotification"), a = p("IconUser"), g = p("router-link"), b = p("IconUserOutline"), _ = p("IconLogout");
         
     | 
| 
      
 529 
     | 
    
         
            +
              return s(), i("div", W1, [
         
     | 
| 
       561 
530 
     | 
    
         
             
                o("div", {
         
     | 
| 
       562 
531 
     | 
    
         
             
                  class: "flex lg:hidden",
         
     | 
| 
       563 
     | 
    
         
            -
                  onClick:  
     | 
| 
       564 
     | 
    
         
            -
                },  
     | 
| 
       565 
     | 
    
         
            -
                   
     | 
| 
      
 532 
     | 
    
         
            +
                  onClick: e[0] || (e[0] = (v) => t.$parent.showMenu = !0)
         
     | 
| 
      
 533 
     | 
    
         
            +
                }, e[4] || (e[4] = [
         
     | 
| 
      
 534 
     | 
    
         
            +
                  A('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-tabler icons-tabler-outline icon-tabler-menu-2"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M4 6l16 0"></path><path d="M4 12l16 0"></path><path d="M4 18l16 0"></path></svg>', 1)
         
     | 
| 
       566 
535 
     | 
    
         
             
                ])),
         
     | 
| 
       567 
     | 
    
         
            -
                o("div",  
     | 
| 
       568 
     | 
    
         
            -
                   
     | 
| 
       569 
     | 
    
         
            -
                     
     | 
| 
       570 
     | 
    
         
            -
                       
     | 
| 
       571 
     | 
    
         
            -
             
     | 
| 
       572 
     | 
    
         
            -
             
     | 
| 
       573 
     | 
    
         
            -
             
     | 
| 
       574 
     | 
    
         
            -
             
     | 
| 
       575 
     | 
    
         
            -
             
     | 
| 
       576 
     | 
    
         
            -
             
     | 
| 
       577 
     | 
    
         
            -
                    default: k(() => [
         
     | 
| 
       578 
     | 
    
         
            -
                      t[5] || (t[5] = L(" Допомога "))
         
     | 
| 
       579 
     | 
    
         
            -
                    ]),
         
     | 
| 
       580 
     | 
    
         
            -
                    _: 1
         
     | 
| 
       581 
     | 
    
         
            -
                  }),
         
     | 
| 
       582 
     | 
    
         
            -
                  d(f, { trigger: "hover" }, {
         
     | 
| 
       583 
     | 
    
         
            -
                    reference: k(() => [
         
     | 
| 
       584 
     | 
    
         
            -
                      o("a", t1, [
         
     | 
| 
       585 
     | 
    
         
            -
                        d(i)
         
     | 
| 
       586 
     | 
    
         
            -
                      ])
         
     | 
| 
       587 
     | 
    
         
            -
                    ]),
         
     | 
| 
       588 
     | 
    
         
            -
                    default: k(() => [
         
     | 
| 
       589 
     | 
    
         
            -
                      t[6] || (t[6] = L(" Сповіщення "))
         
     | 
| 
       590 
     | 
    
         
            -
                    ]),
         
     | 
| 
       591 
     | 
    
         
            -
                    _: 1
         
     | 
| 
       592 
     | 
    
         
            -
                  }),
         
     | 
| 
       593 
     | 
    
         
            -
                  t[12] || (t[12] = o("div", { class: "h-[30px] w-[1px] bg-gray-200 ml-[10px] mr-[10px]" }, null, -1)),
         
     | 
| 
       594 
     | 
    
         
            -
                  o("div", r1, [
         
     | 
| 
      
 536 
     | 
    
         
            +
                o("div", X1, [
         
     | 
| 
      
 537 
     | 
    
         
            +
                  o("a", Y1, [
         
     | 
| 
      
 538 
     | 
    
         
            +
                    h(k, {
         
     | 
| 
      
 539 
     | 
    
         
            +
                      height: "24",
         
     | 
| 
      
 540 
     | 
    
         
            +
                      width: "24"
         
     | 
| 
      
 541 
     | 
    
         
            +
                    })
         
     | 
| 
      
 542 
     | 
    
         
            +
                  ]),
         
     | 
| 
      
 543 
     | 
    
         
            +
                  h(m),
         
     | 
| 
      
 544 
     | 
    
         
            +
                  e[9] || (e[9] = o("div", { class: "h-[30px] w-[1px] bg-gray-200 ml-[10px] mr-[10px]" }, null, -1)),
         
     | 
| 
      
 545 
     | 
    
         
            +
                  o("div", ee, [
         
     | 
| 
       595 
546 
     | 
    
         
             
                    o("div", {
         
     | 
| 
       596 
     | 
    
         
            -
                      onClick:  
     | 
| 
      
 547 
     | 
    
         
            +
                      onClick: e[1] || (e[1] = (v) => n.isVisible = !0),
         
     | 
| 
       597 
548 
     | 
    
         
             
                      class: "cursor-pointer"
         
     | 
| 
       598 
549 
     | 
    
         
             
                    }, [
         
     | 
| 
       599 
     | 
    
         
            -
                       
     | 
| 
       600 
     | 
    
         
            -
                         
     | 
| 
       601 
     | 
    
         
            -
             
     | 
| 
       602 
     | 
    
         
            -
             
     | 
| 
       603 
     | 
    
         
            -
             
     | 
| 
       604 
     | 
    
         
            -
             
     | 
| 
       605 
     | 
    
         
            -
             
     | 
| 
       606 
     | 
    
         
            -
             
     | 
| 
       607 
     | 
    
         
            -
                              alt: "Image Description"
         
     | 
| 
       608 
     | 
    
         
            -
                            }, null, 8, l1)) : (s(), a("div", o1, [
         
     | 
| 
       609 
     | 
    
         
            -
                              d(b)
         
     | 
| 
       610 
     | 
    
         
            -
                            ]))
         
     | 
| 
       611 
     | 
    
         
            -
                          ];
         
     | 
| 
       612 
     | 
    
         
            -
                        }),
         
     | 
| 
       613 
     | 
    
         
            -
                        default: k(() => [
         
     | 
| 
       614 
     | 
    
         
            -
                          t[7] || (t[7] = L(" Профіль "))
         
     | 
| 
       615 
     | 
    
         
            -
                        ]),
         
     | 
| 
       616 
     | 
    
         
            -
                        _: 1
         
     | 
| 
       617 
     | 
    
         
            -
                      })
         
     | 
| 
      
 550 
     | 
    
         
            +
                      (M = (z = n.userData) == null ? void 0 : z.user) != null && M.avatar ? (s(), i("img", {
         
     | 
| 
      
 551 
     | 
    
         
            +
                        key: 0,
         
     | 
| 
      
 552 
     | 
    
         
            +
                        class: "flex-shrink-0 size-[30px] rounded-full",
         
     | 
| 
      
 553 
     | 
    
         
            +
                        src: (L = (H = n.userData) == null ? void 0 : H.user) == null ? void 0 : L.avatar,
         
     | 
| 
      
 554 
     | 
    
         
            +
                        alt: "Image Description"
         
     | 
| 
      
 555 
     | 
    
         
            +
                      }, null, 8, te)) : (s(), i("div", re, [
         
     | 
| 
      
 556 
     | 
    
         
            +
                        h(a)
         
     | 
| 
      
 557 
     | 
    
         
            +
                      ]))
         
     | 
| 
       618 
558 
     | 
    
         
             
                    ]),
         
     | 
| 
       619 
     | 
    
         
            -
                    n.isVisible ? (s(),  
     | 
| 
      
 559 
     | 
    
         
            +
                    n.isVisible ? (s(), i("div", {
         
     | 
| 
       620 
560 
     | 
    
         
             
                      key: 0,
         
     | 
| 
       621 
     | 
    
         
            -
                      onClick:  
     | 
| 
      
 561 
     | 
    
         
            +
                      onClick: e[3] || (e[3] = l1(() => {
         
     | 
| 
       622 
562 
     | 
    
         
             
                      }, ["stop"])),
         
     | 
| 
       623 
563 
     | 
    
         
             
                      class: "fixed p-2 bg-white w-[240px] top-[55px] right-[20px] rounded-xl z-[1] shadow-[0_10px_40px_10px_rgba(0,0,0,0.08)] dark:shadow-[0_10px_40px_10px_rgba(0,0,0,0.2)] dark:bg-neutral-900 block"
         
     | 
| 
       624 
564 
     | 
    
         
             
                    }, [
         
     | 
| 
       625 
     | 
    
         
            -
                       
     | 
| 
      
 565 
     | 
    
         
            +
                      h(g, {
         
     | 
| 
       626 
566 
     | 
    
         
             
                        to: "profile",
         
     | 
| 
       627 
567 
     | 
    
         
             
                        disabled: !0,
         
     | 
| 
       628 
568 
     | 
    
         
             
                        class: "py-2 px-2.5 flex items-center gap-3 rounded-lg hover:bg-gray-100 focus:outline-none focus:bg-gray-100 dark:hover:bg-neutral-800 dark:focus:bg-neutral-800"
         
     | 
| 
       629 
569 
     | 
    
         
             
                      }, {
         
     | 
| 
       630 
     | 
    
         
            -
                        default:  
     | 
| 
       631 
     | 
    
         
            -
                          var  
     | 
| 
      
 570 
     | 
    
         
            +
                        default: y(() => {
         
     | 
| 
      
 571 
     | 
    
         
            +
                          var v, V, I, $, O, D, E, c;
         
     | 
| 
       632 
572 
     | 
    
         
             
                          return [
         
     | 
| 
       633 
     | 
    
         
            -
                            ( 
     | 
| 
      
 573 
     | 
    
         
            +
                            (V = (v = n.userData) == null ? void 0 : v.user) != null && V.avatar ? (s(), i("img", {
         
     | 
| 
       634 
574 
     | 
    
         
             
                              key: 0,
         
     | 
| 
       635 
575 
     | 
    
         
             
                              class: "rounded-full shrink-0 size-10",
         
     | 
| 
       636 
     | 
    
         
            -
                              src: ( 
     | 
| 
      
 576 
     | 
    
         
            +
                              src: ($ = (I = n.userData) == null ? void 0 : I.user) == null ? void 0 : $.avatar,
         
     | 
| 
       637 
577 
     | 
    
         
             
                              alt: "Image Description"
         
     | 
| 
       638 
     | 
    
         
            -
                            }, null, 8,  
     | 
| 
       639 
     | 
    
         
            -
                               
     | 
| 
      
 578 
     | 
    
         
            +
                            }, null, 8, le)) : (s(), i("div", oe, [
         
     | 
| 
      
 579 
     | 
    
         
            +
                              h(a, { class: "w-[16px]" })
         
     | 
| 
       640 
580 
     | 
    
         
             
                            ])),
         
     | 
| 
       641 
     | 
    
         
            -
                            o("div",  
     | 
| 
       642 
     | 
    
         
            -
                              o("span",  
     | 
| 
       643 
     | 
    
         
            -
                              o("p",  
     | 
| 
      
 581 
     | 
    
         
            +
                            o("div", ne, [
         
     | 
| 
      
 582 
     | 
    
         
            +
                              o("span", se, N(((D = (O = n.userData) == null ? void 0 : O.user) == null ? void 0 : D.username) || "User User"), 1),
         
     | 
| 
      
 583 
     | 
    
         
            +
                              o("p", ae, N(((c = (E = n.userData) == null ? void 0 : E.user) == null ? void 0 : c.email) || "email не вказано"), 1)
         
     | 
| 
       644 
584 
     | 
    
         
             
                            ])
         
     | 
| 
       645 
585 
     | 
    
         
             
                          ];
         
     | 
| 
       646 
586 
     | 
    
         
             
                        }),
         
     | 
| 
       647 
587 
     | 
    
         
             
                        _: 1
         
     | 
| 
       648 
588 
     | 
    
         
             
                      }),
         
     | 
| 
       649 
     | 
    
         
            -
                       
     | 
| 
       650 
     | 
    
         
            -
                      o("ul",  
     | 
| 
      
 589 
     | 
    
         
            +
                      e[7] || (e[7] = o("div", { class: "my-2 mx-2.5 h-px bg-gray-200 dark:bg-neutral-700" }, null, -1)),
         
     | 
| 
      
 590 
     | 
    
         
            +
                      o("ul", ie, [
         
     | 
| 
       651 
591 
     | 
    
         
             
                        o("li", null, [
         
     | 
| 
       652 
     | 
    
         
            -
                           
     | 
| 
      
 592 
     | 
    
         
            +
                          h(g, {
         
     | 
| 
       653 
593 
     | 
    
         
             
                            to: "profile",
         
     | 
| 
       654 
594 
     | 
    
         
             
                            class: "w-full flex items-center gap-x-3.5 py-2 px-2.5 text-sm text-gray-800 rounded-lg hover:bg-gray-100 focus:outline-none focus:bg-gray-100 dark:text-white dark:hover:bg-neutral-800 dark:focus:bg-neutral-800",
         
     | 
| 
       655 
595 
     | 
    
         
             
                            disabled: "true"
         
     | 
| 
       656 
596 
     | 
    
         
             
                          }, {
         
     | 
| 
       657 
     | 
    
         
            -
                            default:  
     | 
| 
       658 
     | 
    
         
            -
                               
     | 
| 
       659 
     | 
    
         
            -
                               
     | 
| 
      
 597 
     | 
    
         
            +
                            default: y(() => [
         
     | 
| 
      
 598 
     | 
    
         
            +
                              h(b, { class: "size-4" }),
         
     | 
| 
      
 599 
     | 
    
         
            +
                              e[5] || (e[5] = B(" Профіль "))
         
     | 
| 
       660 
600 
     | 
    
         
             
                            ]),
         
     | 
| 
       661 
601 
     | 
    
         
             
                            _: 1
         
     | 
| 
       662 
602 
     | 
    
         
             
                          })
         
     | 
| 
       663 
603 
     | 
    
         
             
                        ])
         
     | 
| 
       664 
604 
     | 
    
         
             
                      ]),
         
     | 
| 
       665 
     | 
    
         
            -
                       
     | 
| 
      
 605 
     | 
    
         
            +
                      e[8] || (e[8] = o("div", { class: "my-2 mx-2.5 h-px bg-gray-200 dark:bg-neutral-700" }, null, -1)),
         
     | 
| 
       666 
606 
     | 
    
         
             
                      o("p", null, [
         
     | 
| 
       667 
607 
     | 
    
         
             
                        o("button", {
         
     | 
| 
       668 
608 
     | 
    
         
             
                          type: "button",
         
     | 
| 
       669 
     | 
    
         
            -
                          onClick:  
     | 
| 
      
 609 
     | 
    
         
            +
                          onClick: e[2] || (e[2] = (...v) => r.logout && r.logout(...v)),
         
     | 
| 
       670 
610 
     | 
    
         
             
                          class: "w-full flex items-center gap-x-3.5 py-2 px-2.5 text-sm text-gray-800 rounded-lg hover:bg-gray-100 hover:text-red-500 focus:outline-none focus:bg-gray-100 focus:text-red-500 dark:text-white dark:hover:bg-neutral-800 dark:focus:bg-neutral-800 dark:hover:text-red-500 dark:focus:text-red-500"
         
     | 
| 
       671 
611 
     | 
    
         
             
                        }, [
         
     | 
| 
       672 
     | 
    
         
            -
                           
     | 
| 
       673 
     | 
    
         
            -
                           
     | 
| 
      
 612 
     | 
    
         
            +
                          h(_, { class: "size-4" }),
         
     | 
| 
      
 613 
     | 
    
         
            +
                          e[6] || (e[6] = B(" Вийти "))
         
     | 
| 
       674 
614 
     | 
    
         
             
                        ])
         
     | 
| 
       675 
615 
     | 
    
         
             
                      ])
         
     | 
| 
       676 
     | 
    
         
            -
                    ])) :  
     | 
| 
      
 616 
     | 
    
         
            +
                    ])) : w("", !0)
         
     | 
| 
       677 
617 
     | 
    
         
             
                  ])
         
     | 
| 
       678 
618 
     | 
    
         
             
                ])
         
     | 
| 
       679 
     | 
    
         
            -
              ] 
     | 
| 
      
 619 
     | 
    
         
            +
              ]);
         
     | 
| 
       680 
620 
     | 
    
         
             
            }
         
     | 
| 
       681 
     | 
    
         
            -
            const  
     | 
| 
       682 
     | 
    
         
            -
              components: { navbar:  
     | 
| 
      
 621 
     | 
    
         
            +
            const ce = /* @__PURE__ */ x(K1, [["render", ue]]), de = {
         
     | 
| 
      
 622 
     | 
    
         
            +
              components: { navbar: J1, AdminHeader: ce },
         
     | 
| 
       683 
623 
     | 
    
         
             
              data() {
         
     | 
| 
       684 
624 
     | 
    
         
             
                return {
         
     | 
| 
       685 
625 
     | 
    
         
             
                  showMenu: !1
         
     | 
| 
         @@ -687,32 +627,32 @@ const h1 = /* @__PURE__ */ C(Xe, [["render", c1]]), g1 = { 
     | 
|
| 
       687 
627 
     | 
    
         
             
              },
         
     | 
| 
       688 
628 
     | 
    
         
             
              computed: {
         
     | 
| 
       689 
629 
     | 
    
         
             
                isMenu() {
         
     | 
| 
       690 
     | 
    
         
            -
                  return  
     | 
| 
      
 630 
     | 
    
         
            +
                  return T.value || null;
         
     | 
| 
       691 
631 
     | 
    
         
             
                },
         
     | 
| 
       692 
632 
     | 
    
         
             
                header() {
         
     | 
| 
       693 
     | 
    
         
            -
                  var  
     | 
| 
       694 
     | 
    
         
            -
                  return (( 
     | 
| 
      
 633 
     | 
    
         
            +
                  var t;
         
     | 
| 
      
 634 
     | 
    
         
            +
                  return ((t = C.value) == null ? void 0 : t.header) || "admin-header";
         
     | 
| 
       695 
635 
     | 
    
         
             
                }
         
     | 
| 
       696 
636 
     | 
    
         
             
              }
         
     | 
| 
       697 
     | 
    
         
            -
            },  
     | 
| 
       698 
     | 
    
         
            -
            function  
     | 
| 
       699 
     | 
    
         
            -
              const  
     | 
| 
       700 
     | 
    
         
            -
              return s(),  
     | 
| 
       701 
     | 
    
         
            -
                 
     | 
| 
       702 
     | 
    
         
            -
                n.showMenu ? (s(),  
     | 
| 
      
 637 
     | 
    
         
            +
            }, he = { class: "admin-wrapper" }, pe = { class: "flex flex-col w-full" };
         
     | 
| 
      
 638 
     | 
    
         
            +
            function ge(t, e, l, u, n, r) {
         
     | 
| 
      
 639 
     | 
    
         
            +
              const k = p("navbar"), m = p("router-view");
         
     | 
| 
      
 640 
     | 
    
         
            +
              return s(), i("div", he, [
         
     | 
| 
      
 641 
     | 
    
         
            +
                h(k),
         
     | 
| 
      
 642 
     | 
    
         
            +
                n.showMenu ? (s(), i("div", {
         
     | 
| 
       703 
643 
     | 
    
         
             
                  key: 0,
         
     | 
| 
       704 
     | 
    
         
            -
                  onClick:  
     | 
| 
      
 644 
     | 
    
         
            +
                  onClick: e[0] || (e[0] = (a) => n.showMenu = !1),
         
     | 
| 
       705 
645 
     | 
    
         
             
                  class: "z-[10] lg:hidden transition duration fixed inset-0 bg-gray-900 bg-opacity-50 dark:bg-opacity-80 dark:bg-neutral-900"
         
     | 
| 
       706 
     | 
    
         
            -
                })) :  
     | 
| 
       707 
     | 
    
         
            -
                o("div",  
     | 
| 
       708 
     | 
    
         
            -
                  r.isMenu ? (s(),  
     | 
| 
      
 646 
     | 
    
         
            +
                })) : w("", !0),
         
     | 
| 
      
 647 
     | 
    
         
            +
                o("div", pe, [
         
     | 
| 
      
 648 
     | 
    
         
            +
                  r.isMenu ? (s(), i(j, { key: 0 }, [
         
     | 
| 
       709 
649 
     | 
    
         
             
                    (s(), U(S(r.header))),
         
     | 
| 
       710 
     | 
    
         
            -
                     
     | 
| 
       711 
     | 
    
         
            -
                  ], 64)) :  
     | 
| 
      
 650 
     | 
    
         
            +
                    h(m)
         
     | 
| 
      
 651 
     | 
    
         
            +
                  ], 64)) : w("", !0)
         
     | 
| 
       712 
652 
     | 
    
         
             
                ])
         
     | 
| 
       713 
653 
     | 
    
         
             
              ]);
         
     | 
| 
       714 
654 
     | 
    
         
             
            }
         
     | 
| 
       715 
     | 
    
         
            -
            const  
     | 
| 
      
 655 
     | 
    
         
            +
            const xe = /* @__PURE__ */ x(de, [["render", ge], ["__scopeId", "data-v-34da2042"]]);
         
     | 
| 
       716 
656 
     | 
    
         
             
            export {
         
     | 
| 
       717 
     | 
    
         
            -
               
     | 
| 
      
 657 
     | 
    
         
            +
              xe as default
         
     | 
| 
       718 
658 
     | 
    
         
             
            };
         
     |