@opengis/cms 0.0.24 → 0.0.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/dist/index-W-qQIppj-DRzFSjU1.js +2452 -0
  2. package/dist/index.html +28 -34
  3. package/dist/index.js +13915 -0
  4. package/dist/index.umd.cjs +153 -0
  5. package/package.json +4 -3
  6. package/dist/assets/AddUser-CX-McfRW.js +0 -1
  7. package/dist/assets/ApiKeys-DSv1exYv.js +0 -16
  8. package/dist/assets/Appearance-DDtOUvCV.js +0 -6
  9. package/dist/assets/ArticlesPage-D6B3cZsl.js +0 -6
  10. package/dist/assets/BuilderPage-CCeSMVWe.js +0 -1
  11. package/dist/assets/CollectionsBreadcrumb.vue_vue_type_script_setup_true_lang-DVYVfYF4.js +0 -1
  12. package/dist/assets/CollectionsPage-CHk8Cn5k.js +0 -1
  13. package/dist/assets/Dashboard-Bs7sXO6h.js +0 -11
  14. package/dist/assets/EditCollectionPage-gPuLJrN8.js +0 -41
  15. package/dist/assets/EmailPage-DhlWsPxk.js +0 -1
  16. package/dist/assets/EmptyData-Ct-xQv_N.js +0 -1
  17. package/dist/assets/FeedbackPage-DtaOncVv.js +0 -1
  18. package/dist/assets/Logs-CZ5klHNK.js +0 -1
  19. package/dist/assets/MediaBreadcrumb-BpOxt5PK.js +0 -11
  20. package/dist/assets/MediaPage-DqRcZFlO.js +0 -16
  21. package/dist/assets/MenuAddPage-BLcoVgrS.js +0 -1
  22. package/dist/assets/MenuItemPage-B2otXqkz.js +0 -20
  23. package/dist/assets/MenuPage-C00m4Fc_.js +0 -1
  24. package/dist/assets/MonacoEditor.vue_vue_type_script_setup_true_lang-CjoEsC67.js +0 -3
  25. package/dist/assets/PermissionsPage-LtqcCJ14.js +0 -1
  26. package/dist/assets/Settings-BHH6RoBP.js +0 -1
  27. package/dist/assets/SettingsTable-CY5pZx1z.js +0 -1
  28. package/dist/assets/SettingsTitle-t4WJBFxZ.js +0 -1
  29. package/dist/assets/SingletonsPage-Bn2Ypjhs.js +0 -6
  30. package/dist/assets/TagsPage-DAiakEth.js +0 -1
  31. package/dist/assets/UniversalTable.vue_vue_type_script_setup_true_lang-BQ5m4aZd.js +0 -11
  32. package/dist/assets/UniversalTablePagination.vue_vue_type_script_setup_true_lang-DppVBws0.js +0 -1
  33. package/dist/assets/Users-CMH5j0db.js +0 -1
  34. package/dist/assets/UsersPage-CDGreEib.js +0 -1
  35. package/dist/assets/arrow-up-DCe0WsrM.js +0 -16
  36. package/dist/assets/calendar-o9t4MkD2.js +0 -6
  37. package/dist/assets/chevron-left-WFftVS9c.js +0 -6
  38. package/dist/assets/chevron-right-BiiSb3Be.js +0 -6
  39. package/dist/assets/contentForm-unZQhjCu.js +0 -6
  40. package/dist/assets/en-BDx3Svx8.js +0 -1
  41. package/dist/assets/eye-Dijywc6g.js +0 -6
  42. package/dist/assets/file-B_duymIT.js +0 -6
  43. package/dist/assets/general-CkN_0qIV.js +0 -1
  44. package/dist/assets/index-BIp7eSXk.js +0 -1
  45. package/dist/assets/index-DCW2e4Az.js +0 -9
  46. package/dist/assets/index-DGweaj24.js +0 -1
  47. package/dist/assets/index-W-qQIppj-BDlsxaGB.js +0 -1
  48. package/dist/assets/index-W-qQIppj-BsopI3Hz-BIZR-dhy.js +0 -1
  49. package/dist/assets/index-oQz9FOqL.css +0 -1
  50. package/dist/assets/index-yMJAVBXk.js +0 -290
  51. package/dist/assets/list-CXRbSNky.js +0 -6
  52. package/dist/assets/logo-Cct5WB26.png +0 -0
  53. package/dist/assets/pencil-CwnPP4IJ.js +0 -6
  54. package/dist/assets/plus-DLR44m6p.js +0 -6
  55. package/dist/assets/save-FeDrOUOd.js +0 -6
  56. package/dist/assets/search-C4-fHihx.js +0 -6
  57. package/dist/assets/square-pen-xVs4e8Yb.js +0 -6
  58. package/dist/assets/trash-2-BGXMNU3d.js +0 -6
  59. package/dist/assets/uk-BA7DIKEL.js +0 -1
  60. package/dist/assets/useDebounce-DFq3rxAW.js +0 -1
  61. package/dist/assets/vs-form-reletion-link-C-xrdHDl.js +0 -20
  62. package/dist/assets/vs-form-reletion-link-bk-9ZkDH.css +0 -1
  63. package/dist/assets/vue.-sixQ7xP-CUPNuJcq.js +0 -1
  64. package/dist/assets/vuedraggable.umd-W_2WTF6i.js +0 -14
  65. package/dist/assets/x-D2t-wfBe.js +0 -6
  66. package/src/index.js +0 -23
@@ -1,6 +0,0 @@
1
- import{c as y}from"./index-yMJAVBXk.js";/**
2
- * @license lucide-vue-next v0.344.0 - ISC
3
- *
4
- * This source code is licensed under the ISC license.
5
- * See the LICENSE file in the root directory of this source tree.
6
- */const x=y("ListIcon",[["line",{x1:"8",x2:"21",y1:"6",y2:"6",key:"7ey8pc"}],["line",{x1:"8",x2:"21",y1:"12",y2:"12",key:"rjfblc"}],["line",{x1:"8",x2:"21",y1:"18",y2:"18",key:"c3b1m8"}],["line",{x1:"3",x2:"3.01",y1:"6",y2:"6",key:"1g7gq3"}],["line",{x1:"3",x2:"3.01",y1:"12",y2:"12",key:"1pjlvk"}],["line",{x1:"3",x2:"3.01",y1:"18",y2:"18",key:"28t2mc"}]]);export{x as L};
Binary file
@@ -1,6 +0,0 @@
1
- import{c}from"./index-yMJAVBXk.js";/**
2
- * @license lucide-vue-next v0.344.0 - ISC
3
- *
4
- * This source code is licensed under the ISC license.
5
- * See the LICENSE file in the root directory of this source tree.
6
- */const o=c("PencilIcon",[["path",{d:"M17 3a2.85 2.83 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5Z",key:"5qss01"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]]);export{o as P};
@@ -1,6 +0,0 @@
1
- import{c as e}from"./index-yMJAVBXk.js";/**
2
- * @license lucide-vue-next v0.344.0 - ISC
3
- *
4
- * This source code is licensed under the ISC license.
5
- * See the LICENSE file in the root directory of this source tree.
6
- */const a=e("PlusIcon",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);export{a as P};
@@ -1,6 +0,0 @@
1
- import{c as o}from"./index-yMJAVBXk.js";/**
2
- * @license lucide-vue-next v0.344.0 - ISC
3
- *
4
- * This source code is licensed under the ISC license.
5
- * See the LICENSE file in the root directory of this source tree.
6
- */const a=o("SaveIcon",[["path",{d:"M19 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11l5 5v11a2 2 0 0 1-2 2z",key:"1owoqh"}],["polyline",{points:"17 21 17 13 7 13 7 21",key:"1md35c"}],["polyline",{points:"7 3 7 8 15 8",key:"8nz8an"}]]);export{a as S};
@@ -1,6 +0,0 @@
1
- import{c}from"./index-yMJAVBXk.js";/**
2
- * @license lucide-vue-next v0.344.0 - ISC
3
- *
4
- * This source code is licensed under the ISC license.
5
- * See the LICENSE file in the root directory of this source tree.
6
- */const r=c("SearchIcon",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);export{r as S};
@@ -1,6 +0,0 @@
1
- import{c as a}from"./index-yMJAVBXk.js";/**
2
- * @license lucide-vue-next v0.344.0 - ISC
3
- *
4
- * This source code is licensed under the ISC license.
5
- * See the LICENSE file in the root directory of this source tree.
6
- */const o=a("SquarePenIcon",[["path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1m0v6g"}],["path",{d:"M18.375 2.625a2.121 2.121 0 1 1 3 3L12 15l-4 1 1-4Z",key:"1lpok0"}]]);export{o as S};
@@ -1,6 +0,0 @@
1
- import{c as e}from"./index-yMJAVBXk.js";/**
2
- * @license lucide-vue-next v0.344.0 - ISC
3
- *
4
- * This source code is licensed under the ISC license.
5
- * See the LICENSE file in the root directory of this source tree.
6
- */const a=e("Trash2Icon",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]]);export{a as T};
@@ -1 +0,0 @@
1
- const e={faq:"Акордeон",photoGrid:"Фотогалерея",banner:"Банер",slider:"Слайдер",video:"Відео",about:"Про нас",cards:"Картки",usefulLinks:"Корисні посилання",team:"Команда",body:"Тіло",news:"Новини",form:"Форма",tabs:"Таби",vertical_tabs:"Вертикальні таби",documents:"Документи",infoLine:"Інформаційна лінія",iframe:"Iframe",interested:"Вас може зацікавити",contact:"Контакти"},t={editMenu:"Редагувати меню",dashboard:"Панель керування",collections:"Керування контентом",articles:"Статті",posts:"Дописи",media:"Медіа",permissions:"Дозволи",tags:"Теги",singletons:"Сторінки",singletonsMenu:"Меню",feedback:"Зворотній зв'язок",email:"Пошти користувачів",menuAdd:"Створити меню",builder:"Структура колекцій",back:"Назад",settings:"Налаштування",settingsDescription:"Налаштування вашого сайту",singletonsMenuDescription:"Керування меню.",users:"Користувачі",general:"Основні",apiKeys:"API ключі",appearance:"Вигляд",logs:"Логи"},i={title:"Панель керування",description:"Вітаємо в панелі керування CMS. Ви можете створювати, редагувати та управляти контентом вашого сайту.",newCollection:"Створити колекцію",quickActions:"Швидкі дії",views:"переглядів",stats:{totalArticles:"Всього статей",totalMedia:"Всього медіа",activeUsers:"Активні користувачі",apiRequests:"API запити",fromLastMonth:"з минулого місяця"},collections:{title:"Колекції",articles:"Статті",articlesDesc:"Опис для статей",posts:"Дописи",postsDesc:"Опис для дописів",products:"Продукти",productsDesc:"Опис для продуктів",categories:"Категорії",categoriesDesc:"Опис для категорій",items:"шт.",new:"Нова колекція"},recentArticles:"Останні статті",recentPosts:"Останні дописи",recentContent:"Останній контент",activityFeed:"Стрічка активності",viewAll:"Показати все",totalContent:"Всього контенту",articlesPostsPages:"Статті, дописи та сторінки",monthlyActiveUsers:"Активних користувачів за місяць",imagesVideosDocs:"Зображення, відео та документи",thisMonth:"Цього місяця",activeUsers:"Активні користувачі",mediaFiles:"Файли медіа",createArticle:"Створити статтю",createPost:"Створити допис",uploadMedia:"Завантажити медіа",createArticleDescription:"Створіть статтю для вашого сайту",uploadMediaDescription:"Завантажте медіа файли для вашого сайту",manageUsersDescription:"Керуйте користувачами вашого сайту",viewFeedbackDescription:"Перегляд зворотнього зв'язку",manageUsers:"Керування користувачами",feedback:"Зворотній зв'язок",newMediaFiles:"Нових файлів медіа",gettingStartedWithNextJs14:"Початок роботи з Next.js 14",sarahJohnson:"Sarah Johnson",advancedReactPatterns:"Підвищені шаблони React",uiUxDesignPrinciples:"Принципи дизайну UI/UX",databaseOptimizationTips:"Поради з оптимізації бази даних",mikeChen:"Mike Chen",emmaWilson:"Emma Wilson",alexRodriguez:"Alex Rodriguez"},o={title:"Колекції",selectCollection:"Виберіть колекцію для перегляду її контенту",createCollection:"Створити колекцію",searchCollections:"Пошук колекцій...",entries:"Записи",fields:"Поля",lastModified:"Останнє редагування",edit:"Редагувати",delete:"Видалити",view:"Перегляд",form:{name:"Назва колекції",slug:"Слаг",description:"Опис",fields:"Поля",addField:"Додати поле"},dragToBuild:"Перетягніть блоки контенту сюди, щоб створити структуру колекції",collectionCreated:"Колекція успішно створена",collectionCreationFailed:"Помилка при створенні колекції",pinPublication:"Закріпити публікацію"},s={title:"Сторінки",createArticle:"Створити сторінку",searchArticles:"Пошук статей...",showColumns:"Показати колонки",update:"Оновити",create:"Створити",form:{title:"Заголовок",content:"Зміст",author:"Автор",category:"Категорія",status:"Статус"}},a={title:"Дописи",createPost:"Створити допис",searchPosts:"Пошук дописів...",form:{title:"Заголовок",content:"Зміст",author:"Автор",category:"Категорія",status:"Статус"}},n={title:"Синглтони",createSingleton:"Створити синглтон",searchSingletons:"Пошук синглтонів...",form:{name:"Назва",description:"Опис",content:"Зміст",status:"Статус"},search:"Пошук синглтонів..."},r={title:"Медіа бібліотека",description:"Керуйте своїми зображеннями, документами та медіа файлами.",uploadMedia:"Завантажити медіа",searchMedia:"Пошук файлів...",fileInfo:"Інформація про файл",preview:"Перегляд",newFolder:"Нова папка",selectFile:"Виберіть файл для перегляду деталей",fileDetails:"Інформація про файл",name:"Назва",size:"Розмір",dimensions:"Розміри",uploadDate:"Дата завантаження",author:"Автор",tags:"Теги",banner:"Банер",hero:"Герой",homepage:"Головна",download:"Завантажити",copyPath:"Копіювати шлях",copyPathFailed:"Не вдалося скопіювати шлях",delete:"Видалити",edit:"Редагувати",share:"Поділитися",moreActions:"Більше дій",deleteFile:"Ви впевнені, що хочете видалити цей файл?",createFolder:"Створити папку",cancel:"Скасувати",mediaLibrary:"Медіа бібліотека",files:"файлів",noFilesInFolder:"Немає файлів у цій папці",deleteConfirmation:"Ви впевнені, що хочете видалити цей файл?",uploaded:"Завантажено",filter:"Фільтр",search:"Пошук файлів...",uploadingFiles:"Завантаження файлів",uploading:"Завантаження...",folder:"Папка",type:"Тип",updatedAt:"Оновлено",sortBy:{title:"Сортувати за",name:"Назва файлу",filesize:"Розмір файлу"},upload:"Завантажити",selectFromMedia:"Вибрати з медіа",selectFiles:"Вибрати файли",selectedFiles:"Вибрано файлів: {count}"},l={title:"Теги",description:"Керування тегами.",createTag:"Створити тег",editTag:"Редагувати тег",searchTags:"Пошук тегів...",form:{name:"Назва",description:"Опис",color:"Колір",slug:"Slug",created_at:"Дата створення",count_data:"Кількість використань",topic:"Тема"},emptyTitle:"Теги не знайдені",emptyDescription:"Створіть свій перший тег, щоб почати.",emptyButton:"Створити тег"},c={title:"Зворотній зв'язок",description:"Переглядайте зворотній зв'язок",table:{number:"№",noFeedback:"Фідбек відсутній",email:"Email",userName:"ПІБ",messageText:"Текст повідомлення",feedbackType:"Тип звернення",cdate:"Дата відгуку",phone:"Телефон",resumeLink:"Посилання на резюме",linkedinLink:"Посилання на лінкедин",portfolioLink:"Посилання на портфоліо",telegramLink:"Посилання на телеграм"}},d={title:"Пошти користувачів",description:"Переглядайте користувачів, які очікують зворотнього зв'язку",table:{number:"№",date:"Дата відправки",email:"Email"}},p={title:"Немає даних",description:"Створіть свій перший елемент, щоб почати.",buttonText:"Створити елемент"},m={gen:"Згенерувати",key:"Ключ",value:"Значення",noDataToDisplay:"Дані для відображення відсутні",add:"Додати"},u={faq:"Акордeон",photoGrid:"Фотогалерея",banner:"Банер",slider:"Слайдер",video:"Відео",about:"Про нас",cards:"Картки",usefulLinks:"Корисні посилання",team:"Команда",body:"Тіло",news:"Новини",form:"Форма",tabs:"Таби",vertical_tabs:"Вертикальні таби",documents:"Документи",infoLine:"Інформаційна лінія",iframe:"Iframe",manageContentCollections:"Керування колекціями контенту",searchCollections:"Пошук колекцій...",collections:"Структура колекцій",collectionStructure:"Структура колекції",defineFields:"Визначте поля та їх типи для цієї колекції",name:"Назва",changeType:"Змінити тип",type:"Тип",save:"Зберегти",edit:"Редагувати",content:"Контент",seo:"SEO",tags:"Теги",preview:"Перегляд",collectionName:"Назва колекції",title:"Заголовок",entries:"Записи",fields:"Поля",status:"Статус",lastModified:"Останнє редагування",cancel:"Скасувати",create:"Створити",localization:"Локалізація",actions:"Дії",noColumnsFound:"Немає колонок",editCollection:"Редагувати колекцію",editContentForYourSite:"Редагувати контент для вашого сайту",deleteObject:"Ви впевнені, що хочете видалити цей об'єкт?",editField:"Редагувати поле",deleteTitle:"Видалити поле",deleteField:"Ви впевнені, що хочете видалити це поле?",scheme:{name:{label:"Назва",placeholder:"Назва"},title:{label:"Заголовок",placeholder:"Заголовок"},type:{label:"Тип",placeholder:"Тип",options:{collection:"Колекція",single:"Сторінка"}},customTable:{label:"Власна таблиця"},status:{label:"Статус",placeholder:"Статус",options:{published:"Опубліковано",draft:"Чернетка",archived:"Архівовано"}},description:{label:"Опис",placeholder:"Опис"},preview_path:{label:"Шлях для прев'ю",placeholder:"Шлях для прев'ю",info:"Шлях до slug для прев'ю"},include_search:{label:"Включити в пошук?",placeholder:"Включити в пошук?"}},required:"Обов'язкове поле",createField:"Створити поле",selectType:"Оберіть тип",createFolder:"Створити папку",fieldLabels:{name:"Назва",label:"Мітка",placeholder:"Плейсхолдер",help:"Допомога",type:"Тип",subtype:"Підтип",parent:"Батьківський",data:"ID класифікатора",options:"Опції",colModel:"Модель колонок",multiple:"Множинний",api:"API",relation:"Зв'язок",required:"Обов'язковий",localization:"Локалізація"},fieldPlaceholders:{name:"Назва",label:"Заголовок",placeholder:"Плейсхолдер",help:"Допомога",type:"Тип",subtype:"Підтип",parent:"Батьківський",data:"ID класифікатора",options:"Опції",colModel:"Модель колонок",api:"API",relation:"Зв'язок"},fieldOptions:{text:"Текст",number:"Число",integer:"Ціле число",date:"Дата",datetime:"Дата і час",file:"Файл",select:"Селект",multiselect:"Мультиселект",mediaselect:"Вибір медіа",radio:"Радіо",boolean:"Булевий",datalist:"Дататейбл",image:"Зображення",slug:"Слаг",richtext:"Текстовий редактор",markdown:"Markdown",reference:"Секції",relation:"Зв'язок",fileList:"Мультифайл",tags:"Теги"}},g={title:"Меню",description:"Керування меню.",createMenu:"Створити меню",searchMenu:"Пошук меню...",menuAdd:"Додати меню",editMenu:"Редагувати меню",textEditor:"Текстовий редактор",menuCreated:"Меню створено",menuCreateError:"Помилка при створенні меню",menuUpdated:"Меню оновлено",menuUpdateError:"Помилка при оновленні меню",menuDeleted:"Меню видалено",menuDeleteError:"Помилка при видаленні меню",listTree:"Список дерева",filter:"Фільтр",search:"Пошук меню...",form:{name:"Назва",description:"Опис",content:"Зміст",status:"Статус",value:"Значення",language:"Мова"}},h={title:"Налаштування",description:"Налаштуйте ваші налаштування CMS та налаштування.",systemStatus:"Статус системи",siteInformation:"Інформація про сайт",logo:"Логотип",siteName:"Назва сайту",version:"Версія",environment:"Середовище",security:"Безпека",localization:"Локалізація",production:"Виробництво",systemHealth:"Здоров'я системи",database:"База даних",connected:"З'єднано",cache:"Кеш",active:"Активний",storage:"Хмарне сховище",used:"Використано",configure:"Налаштувати",successTitle:"Успішно",successMessage:"Налаштування успішно збережено",errorTitle:"Помилка",errorMessage:"Помилка при збереженні налаштувань",generateNewKey:"Згенерувати новий ключ",apiSecurity:"Безпека API",general:{general:"Основні налаштування",generalDescription:"Керуйте вашими загальними налаштуваннями.",url:"URL",language:"Мова",languages:"Мови",contacts:"Контакти",socials:"Соціальні мережі",showSocialsNumber:"Кількість соціальних мереж для відображення",mapCoords:"Координати для відображення на карті",saveChanges:"Зберегти зміни",cancel:"Скасувати",notifications:"Сповіщення",emailNotifications:"Сповіщення по email",emailNotificationsDescription:"Отримувати сповіщення по email",pushNotifications:"Сповіщення в браузері",pushNotificationsDescription:"Сповіщення в браузері для важливих оновлень",smsNotifications:"Сповіщення по SMS",smsNotificationsDescription:"Сповіщення по SMS для критичних оновлень",desktopNotifications:"Сповіщення на комп'ютері",desktopNotificationsDescription:"Сповіщення на комп'ютері",siteName:"Назва сайту",siteDescription:"Опис сайту",siteUrl:"URL сайту",previewUrl:"URL попереднього перегляду",logoSite:"Логотип сайту",logoCms:"Логотип CMS",imageLogin:"Зображення для входу",siteLanguage:"Мова сайту",siteEmail:"Email сайту",sitePhone:"Телефон сайту",siteAddress:"Адреса сайту",siteInformation:"Інформація про сайт",logo:"Логотип",siteInformationDescription:"Керуйте вашою інформацією про сайт.",title:"Заголовок",content:"Контент",name:"Назва соцмережі"},users:{users:"Керування користувачами",usersDescription:"Керуйте налаштуваннями керування користувачами.",userRegistration:"Реєстрація користувачів",allowRegistration:"Дозволити реєстрацію користувачів",allowRegistrationDescription:"Дозволити новим користувачам реєструвати акаунти",emailVerification:"Потрібна верифікація email",emailVerificationDescription:"Вимагати підтвердження email для нових акаунтів",autoApprove:"Автоматичне схвалення користувачів",autoApproveDescription:"Автоматично схвалювати нові реєстрації користувачів",defaultRole:"Роль за замовчуванням"},"api-keys":{apiKeys:"API ключі",apiKeysDescription:"Керуйте налаштуваннями API ключів.",productionApiKey:"Production API ключ",developmentApiKey:"Development API ключ",generateNewKey:"Згенерувати новий ключ",apiSecurity:"Безпека API",rateLimiting:"Обмеження швидкості",rateLimitingDescription:"Увімкнути захист обмеження швидкості API",corsProtection:"Захист CORS",corsProtectionDescription:"Безпека крос-доменних запитів",apiLogging:"Логування API",apiLoggingDescription:"Логувати всі API запити та відповіді"},appearance:{appearance:"Вигляд",appearanceDescription:"Керуйте вашим виглядом та налаштуваннями.",colorTheme:"Кольорова тема",darkMode:"Темний режим",darkModeDescription:"Перемкнути на темну тему",compactMode:"Компактний режим",compactModeDescription:"Зменшити відступи та поля",animations:"Анімації",animationsDescription:"Увімкнути анімації інтерфейсу",themeBlue:"Синя",themeGreen:"Зелена",themePurple:"Фіолетова"},logs:{title:"Логи",description:"Переглядай всі свої дії в системі",table:{number:"№",objectId:"Ідентифікатор об'єкта",dateTime:"Дата та час зміни",changeType:"Тип зміни",noLogs:"Логи користувача відсутні"}},permissions:{title:"Дозволи",user:"Користувач",role:"Роль",lastActive:"Остання активність",actions:"Дії",rolePermissions:"Дозволи ролі",rolePermissionsDescription:"Дозволи, призначені для кожної ролі в системі.",permission:"Дозвіл",admin:"Адміністратор",editor:"Редактор",author:"Автор",viewer:"Переглядач",customizePermissions:"Налаштувати дозволи",inviteUser:"Запросити користувача",searchUsers:"Пошук користувачів...",createContent:"Створити контент",editContent:"Редагувати контент",deleteContent:"Видалити контент",publishContent:"Опублікувати контент",manageMedia:"Керування медіа",manageUsers:"Керування користувачами",manageSettings:"Керування налаштуваннями",remove:"Вилучити",edit:"Редагувати",time:{hoursAgo:"{count} годин тому",hourAgo:"1 година тому",daysAgo:"{count} днів тому",dayAgo:"1 день тому",weeksAgo:"{count} тижнів тому",weekAgo:"1 тиждень тому",minutesAgo:"{count} хвилин тому",minuteAgo:"1 хвилина тому",justNow:"щойно"},roles:{admin:"Адміністратор",editor:"Редактор",author:"Автор",viewer:"Переглядач"}}},f={type:{heading:"Заголовок",paragraph:"Параграф"}},b={name:"Програмний комплекс SOFTPRO: ГІС МБК Кам'янської міської ТГ",tagline:"Зробіть більше з меншим"},y={home:"Домашній",about:"Про",profile:"Профіль",settings:"Налаштування",logout:"Вихід"},v={ok:"Добре",save:"Зберегти",cancel:"Скасувати",close:"Закрити",delete:"Вилучити",edit:"Редагувати",loading:"Завантаження…",retry:"Повторити",title:"Назва",description:"Опис",keywords:"Ключові слова",success:"Успіх",error:"Помилка",successMessage:"Успішно",errorMessage:"Помилка",meta:"Мета",content:"Контент",actions:{add:"Додати",save:"Зберегти",cancel:"Скасувати",edit:"Редагувати",delete:"Видалити",create:"Створити",preview:"Перегляд",search:"Пошук",filter:"Фільтр",export:"Експорт",addField:"Додати поле",success:"Успіх",error:"Помилка",back:"Повернутися"},status:{published:"Опубліковано",draft:"Чернетка",archived:"Архівовано"},pagination:{showing:"Показано",to:"по",of:"з",results:"результатів",previous:"Попередня",next:"Наступна"}},A={title:"Увійти",email:"Електронна пошта",password:"Пароль",remember:"Пам'ятайте мене",submit:"Увійти",errors:{invalid:"Недійсний електронний лист або пароль",required:"{Поле} потрібно"}},D={choose:"Оберіть колонки для відображення",columns:"Колонки",actions:"Дії",search:"Пошук",export:"Експорт",exportTitle:"Експорт таблиці",close:"Закрити",chooseColumns:"Виберіть стовпці таблиці для експорту:",selectAll:"Вибрати усі",selectCurrent:"Вибрати поточні",none:"Жодного",chooseFormat:"Виберіть формат таблиці:",cancel:"Скасувати",download:"Завантажити таблицю",time:{weeksAgo:"{count} тижнів тому",weekAgo:"1 тиждень тому",daysAgo:"{count} днів тому",dayAgo:"1 день тому",hoursAgo:"{count} годин тому",hourAgo:"1 година тому",minutesAgo:"{count} хвилин тому",minuteAgo:"1 хвилина тому",justNow:"щойно"},format:{json:"Формат json",csv:"Формат csv",xlsx:"Формат xlsx"}},w={search:"Пошук",more:"Показати більше",less:"Показати меньше",selected:"обрано",clear:"Очистити",apply:"Застосувати",from:"Від",period:"Період",today:"Сьогодні",week:"Тиждень",month:"Місяць",quarter:"Квартал",year:"Рік",alltime:"Весь час",prev:"Попередній період",next:"Настпуний період",to:"До",notfound:"Нічого не знайдено"},k={title:"Предмети",add:"Додати елемент",count:"Немає предметів | ",created:`Елемент "{Ім'я}" створений`,deleted:"Елемент видалено"},F={network:"Помилка мережі. ",notFound:"Ми не змогли знайти те, що ви шукали."},P={saved:"Збережені зміни",copied:"Скопіювано в буфер обміну"},C={title:"Користувачі",description:"Керування користувачами.",createUser:"Створити користувача",editUser:"Редагувати користувача",searchUsers:"Пошук користувачів...",createUserFailed:"Створити користувача не вдалося",createUserSuccess:"Користувача створено успішно",editUserFailed:"Редагувати користувача не вдалося",editUserSuccess:"Користувача редаговано успішно",deleteUserSuccess:"Користувача видалено успішно",deleteUserFailed:"Користувача видалено не вдалося",form:{name:"Назва",description:"Опис",color:"Колір",created_at:"Дата створення",count_data:"Кількість використань",topic:"Тема"}},M="fetchContentTypes",I="action",U="formValues",S="metaParentValue",T="blur",L="noFilesInFolder",x={menu:"Посібник з меню",general:"Посібник",media:"Посібник з медіа",settings:"Посібник з налаштувань",users:"Посібник з користувачів",content:"Посібник з контенту",appOverview:"Посібник з огляду програми",collections:"Посібник з колекцій",help:"Допомога"},N={reference:e,navigation:t,dashboard:i,collections:o,articles:s,posts:a,singletons:n,media:r,tags:l,feedback:c,email:d,emptyData:p,form:m,builder:u,menu:g,settings:h,block:f,app:b,nav:y,common:v,auth:A,table:D,filter:w,items:k,errors:F,toast:P,users:C,fetchContentTypes:M,action:I,delete:"delete","create-folder":"create-folder",formValues:U,metaParentValue:S,blur:T,"-":"-",noFilesInFolder:L,guide:x};export{I as action,b as app,s as articles,A as auth,f as block,T as blur,u as builder,o as collections,v as common,i as dashboard,N as default,d as email,p as emptyData,F as errors,c as feedback,M as fetchContentTypes,w as filter,m as form,U as formValues,x as guide,k as items,r as media,g as menu,S as metaParentValue,y as nav,t as navigation,L as noFilesInFolder,a as posts,e as reference,h as settings,n as singletons,D as table,l as tags,P as toast,C as users};
@@ -1 +0,0 @@
1
- import{m,z as r}from"./index-yMJAVBXk.js";function c(e,o=300){const t=m(e.value);let u;return r(e,a=>{clearTimeout(u),u=setTimeout(()=>{t.value=a},o)},{immediate:!0}),t}export{c as u};
@@ -1,20 +0,0 @@
1
- import{J as ze,Z as He,y as se,t as Ee}from"./index-DGweaj24.js";import{c as ye,E as G,u as J,D as T,m as _,z as Z,o as s,a as d,b as t,f as j,e as x,w as U,t as v,g as te,p as he,j as N,k as Y,n as O,v as M,s as I,h as q,i as Fe,_ as be,r as Ie,A as R,J as Xe,l as et,S as tt,y as ee,I as rt,T as Ce,V as lt,B as Le,C as De,K as at,x as st,W as ot,X as it}from"./index-yMJAVBXk.js";import{l as oe,Q as Ae,j as dt}from"./index-DCW2e4Az.js";import{P as nt}from"./pencil-CwnPP4IJ.js";import{T as re}from"./trash-2-BGXMNU3d.js";import{P as ge}from"./plus-DLR44m6p.js";import{d as ut}from"./vuedraggable.umd-W_2WTF6i.js";import{S as ct}from"./square-pen-xVs4e8Yb.js";import{D as ve,_ as vt,a as pt,b as gt}from"./MediaBreadcrumb-BpOxt5PK.js";import{S as yt}from"./search-C4-fHihx.js";import{L as ht}from"./list-CXRbSNky.js";/**
2
- * @license lucide-vue-next v0.344.0 - ISC
3
- *
4
- * This source code is licensed under the ISC license.
5
- * See the LICENSE file in the root directory of this source tree.
6
- */const Te=ye("GripVerticalIcon",[["circle",{cx:"9",cy:"12",r:"1",key:"1vctgf"}],["circle",{cx:"9",cy:"5",r:"1",key:"hp0tcf"}],["circle",{cx:"9",cy:"19",r:"1",key:"fkjjf6"}],["circle",{cx:"15",cy:"12",r:"1",key:"1tmaij"}],["circle",{cx:"15",cy:"5",r:"1",key:"19l28e"}],["circle",{cx:"15",cy:"19",r:"1",key:"f4zoj3"}]]);/**
7
- * @license lucide-vue-next v0.344.0 - ISC
8
- *
9
- * This source code is licensed under the ISC license.
10
- * See the LICENSE file in the root directory of this source tree.
11
- */const bt=ye("LayoutGridIcon",[["rect",{width:"7",height:"7",x:"3",y:"3",rx:"1",key:"1g98yp"}],["rect",{width:"7",height:"7",x:"14",y:"3",rx:"1",key:"6d4xhi"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1",key:"nxv5o0"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1",key:"1bb6yr"}]]);/**
12
- * @license lucide-vue-next v0.344.0 - ISC
13
- *
14
- * This source code is licensed under the ISC license.
15
- * See the LICENSE file in the root directory of this source tree.
16
- */const pe=ye("Loader2Icon",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]),mt=e=>{var y,i;const a=(y=e==null?void 0:e.type)==null?void 0:y.toLowerCase(),r=e!=null&&e.required?["required"]:null;return a==="array"?{key:e.name,label:e.label||e.title,type:"multi-text",help:e==null?void 0:e.help,colModel:{type:(e==null?void 0:e.subtype)||"text",placeholder:e==null?void 0:e.placeholder},validators:r}:a==="boolean"?{key:e.name,label:e.label||e.title,type:"Switcher",help:e==null?void 0:e.help,validators:r}:a==="tags"?{key:e.name,label:e.label||e.title,type:"tags",help:e==null?void 0:e.help,validators:r}:a==="radio"?{key:e.name,label:e.label||e.title,type:"radio",help:e==null?void 0:e.help,options:e.options||[],validators:r}:a==="date"?{key:e.name,label:e.label||e.title,type:"Date",time:!1,help:e==null?void 0:e.help,validators:r}:a==="datetime"?{key:e.name,label:e.label||e.title,type:"Date",help:e==null?void 0:e.help,mode:"datetime",time:!0,validators:r}:a==="number"?{key:e.name,label:e.label||e.title,help:e==null?void 0:e.help,type:"Number",validators:r}:a==="integer"?{key:e.name,label:e.label||e.title,type:"Integer",help:e==null?void 0:e.help,validators:r}:a==="text"?{key:e.name,label:e.label||e.title,type:"Text",help:e==null?void 0:e.help,validators:r}:a==="file"?{key:e.name,label:e.label||e.title,type:"File",multiple:e.multi||e.multiple,help:e==null?void 0:e.help,validators:r,api:"/api/cms-media/upload?subdir=",dir:"uploads/"+new Date().toLocaleDateString("en-US").replace(/\//g,"-")}:a==="filelist"?{key:e.name,label:e.label||e.title,type:"file",multiple:!0,help:e==null?void 0:e.help,validators:r}:a==="slug"?{key:e.name,label:e.label||e.title,type:"Slug",parent:e.parent||"",help:e==null?void 0:e.help,validators:r}:a==="image"?{key:e.name,label:e.label||e.title,type:"File",multi:e.multiple,help:e==null?void 0:e.help,validators:r,api:"/api/cms-media/upload?subdir=",dir:"uploads/"+new Date().toLocaleDateString("en-US").replace(/\//g,"-")}:a==="select"?e.options?{key:e.name,label:e.label||e.title,type:"select",options:e.options||[],help:e==null?void 0:e.help,validators:r}:{key:e.name,label:e.label||e.title,type:"select",data:e.data||[],help:e==null?void 0:e.help,validators:r}:a==="multiselect"?{key:e.name,label:e.label||e.title,type:"select",data:e.data||[],parent:e.parent||"",options:e.options||[],help:e==null?void 0:e.help,validators:r,multiple:!0}:a==="richtext"?{key:e.name,label:e.label||e.title,type:"Texteditor",help:e==null?void 0:e.help,validators:r}:a==="datalist"?{key:e.name,label:e.label||e.title,type:"Custom-Datatable",colModel:((i=e.colModel)==null?void 0:i.map(o=>mt(o)))||[],help:e==null?void 0:e.help,validators:r}:a==="reference"?{key:e.name,label:e.label||e.title,type:"reference",reference_type:e.reference_type,help:e==null?void 0:e.help,validators:r}:a==="reference-list"?{key:e.name,label:e.label||e.title,type:"reference",reference_type:e.reference_type,help:e==null?void 0:e.help,validators:r}:a==="relation"?(console.log(e),{key:e.name,label:e.label||e.title,type:"relation-link",help:e==null?void 0:e.help,relation:e.relation,validators:r}):a==="markdown"?{key:e.name,label:e.label||e.title,type:"richtext-md",help:e==null?void 0:e.help,validators:r}:a==="mediaselect"?{key:e.name,label:e.label||e.title,type:"mediaselect",help:e==null?void 0:e.help,validators:r}:{key:e.name,label:e.label||e.title,placeholder:e.placeholder,help:e==null?void 0:e.help,type:"Text",validators:r}},xt={class:"flex items-center justify-end gap-2"},ft={class:"flex justify-end p-[20px] gap-[10px] border-t w-full"},wt={__name:"vs-form-custom-datatable-controls",props:G({item:{type:Object,required:!0},colModel:{type:Array,required:!0}},{modelValue:{type:Array,required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const{t:a}=J(),r=e,y=T(e,"modelValue"),i=_(!1),o=_({}),b=_({}),h=()=>{He({title:a("builder.deleteTitle"),message:a("builder.deleteField"),type:"error",onConfirm:()=>{f()}})},f=()=>{y.value=y.value.filter(u=>u.id!==r.item.id)},p=async()=>{if(await b.value.validate()){se({type:"warning",title:a("common.actions.warning"),message:a("builder.editFieldFailed")});return}y.value=y.value.map(w=>w.id===r.item.id?o.value:w),i.value=!1};return Z(i,u=>{u&&(o.value=r.item)}),(u,w)=>(s(),d("div",xt,[t("button",{class:"inline-flex items-center justify-center whitespace-nowrap font-medium focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 border rounded-md text-xs h-8 w-8 p-0 border-slate-300 dark:border-slate-600 bg-white dark:bg-slate-700 hover:bg-blue-50 dark:hover:bg-slate-600 hover:border-blue-300 dark:hover:border-slate-500 hover:text-blue-600 dark:hover:text-slate-200 transition-all duration-200 shadow-sm",onClick:w[0]||(w[0]=V=>i.value=!0)},[j(x(nt),{class:"w-4 h-4"})]),t("button",{onClick:h,class:"inline-flex items-center justify-center whitespace-nowrap font-medium focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 border rounded-md text-xs h-8 w-8 p-0 border-slate-300 dark:border-slate-600 bg-white dark:bg-slate-700 hover:bg-red-50 dark:hover:bg-slate-600 hover:border-red-300 dark:hover:border-slate-500 hover:text-red-600 dark:hover:text-slate-200 transition-all duration-200 shadow-sm"},[j(x(re),{class:"w-4 h-4"})]),j(x(ze),{teleport:"#modal",title:u.$t("builder.editField"),visible:i.value,onClose:w[4]||(w[4]=V=>i.value=!1)},{footer:U(()=>[t("div",ft,[t("button",{class:"py-2 px-3 inline-flex items-center gap-x-2 text-sm whitespace-nowrap text-white bg-blue-500 rounded-lg !border-gray-200 hover:bg-blue-700 duration-300",onClick:w[3]||(w[3]=V=>i.value=!1)},v(u.$t("common.actions.cancel")),1),t("button",{onClick:p,class:"py-2 px-3 inline-flex items-center gap-x-2 text-sm whitespace-nowrap text-white bg-blue-500 rounded-lg !border-gray-200 hover:bg-blue-700 duration-300"},v(u.$t("common.actions.save")),1)])]),default:U(()=>[j(x(oe),{form:b.value,"onUpdate:form":w[1]||(w[1]=V=>b.value=V),schema:e.colModel,modelValue:o.value,"onUpdate:modelValue":w[2]||(w[2]=V=>o.value=V)},null,8,["form","schema","modelValue"])]),_:1},8,["title","visible"])]))}},kt={class:"p-6 border-t border-slate-200 dark:border-slate-700 bg-slate-50/30 dark:bg-slate-700/30"},_t={class:"flex justify-end p-[20px] gap-[10px] border-t w-full"},$t={__name:"vs-form-custom-datatable-add",props:G({colModel:{type:Array,required:!0}},{modelValue:{type:Array,required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const{t:a}=J(),r=T(e,"modelValue"),y=_(!1),i=_({}),o=_({}),b=async()=>{try{if(await o.value.validate()){se({type:"warning",title:a("common.actions.warning"),message:a("builder.editFieldFailed")});return}r.value=[...r.value||[],{...i.value,id:Math.random().toString(36).substring(2,15)}],y.value=!1,i.value={}}catch(h){console.log(h)}};return(h,f)=>(s(),d("div",kt,[t("button",{class:"inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 shadow-sm h-9 px-4 w-full border-2 border-dashed border-slate-300 dark:border-slate-600 bg-white dark:bg-slate-700 hover:bg-slate-50 dark:hover:bg-slate-600 hover:border-blue-400 dark:hover:border-blue-500 text-slate-600 dark:text-slate-300 hover:text-blue-600 dark:hover:text-blue-400 py-3 transition-all duration-200",onClick:f[0]||(f[0]=p=>y.value=!0)},[j(x(ge),{class:"w-4 h-4 mr-2"}),te(" "+v(h.$t("common.actions.add")),1)]),j(x(ze),{teleport:"#modal",title:h.$t("common.actions.add"),visible:y.value,onClose:f[4]||(f[4]=p=>y.value=!1)},{footer:U(()=>[t("div",_t,[t("button",{class:"inline-flex items-center px-3 py-2 text-sm text-black duration-300 border border-gray-200 rounded-lg gap-x-2 whitespace-nowrap hover:bg-gray-100",onClick:f[3]||(f[3]=p=>y.value=!1)},v(h.$t("common.actions.cancel")),1),t("button",{onClick:b,class:"py-2 px-3 inline-flex items-center gap-x-2 text-sm whitespace-nowrap text-white bg-blue-500 rounded-lg !border-gray-200 hover:bg-blue-700 duration-300"},v(h.$t("common.actions.save")),1)])]),default:U(()=>[j(x(oe),{form:o.value,"onUpdate:form":f[1]||(f[1]=p=>o.value=p),schema:e.colModel,modelValue:i.value,"onUpdate:modelValue":f[2]||(f[2]=p=>i.value=p)},null,8,["form","schema","modelValue"])]),_:1},8,["title","visible"])]))}},Ct={class:"p-0 shadow w-full"},At={class:"overflow-x-auto"},jt={class:"relative w-full overflow-auto"},Mt={class:"w-full caption-bottom text-sm"},Vt={class:"[&_tr]:border-b"},St={class:"border-b data-[state=selected]:bg-muted bg-slate-50/50 dark:bg-slate-700/50 hover:bg-slate-50/80 dark:hover:bg-slate-700/80 transition-colors"},Bt={class:"h-10 px-2 align-middle [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px] font-semibold text-slate-700 dark:text-slate-300 text-end"},qt={class:"[&_tr:last-child]:border-0"},zt=["onDragstart","onDragover","onDrop","onDragenter"],Et={class:"p-2 align-middle [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px] text-center"},Ft={class:"flex items-center justify-center text-slate-400"},It=["innerHTML"],Lt={key:1,class:"flex items-center gap-2"},Dt={key:0,class:"flex items-center gap-1"},Tt=["src","alt"],Qt={key:0,class:"text-xs text-gray-500 dark:text-gray-400 ml-1"},Gt={key:1,class:"w-8 h-8 rounded bg-gray-100 dark:bg-gray-700 flex items-center justify-center"},Ut={key:2},Zt={class:"p-2 align-middle [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]"},Nt={key:0,class:"h-2 bg-blue-200 dark:bg-blue-800 transition-all duration-200"},je=3,ma={__name:"vs-form-custom-datatable",props:G({colModel:{type:Array,required:!0}},{modelValue:{type:Array,required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const a=T(e,"modelValue"),r=_(null),y=_(-1),i=_(!1),o=($,A,m)=>{r.value=A,y.value=m,$.dataTransfer.effectAllowed="move",$.dataTransfer.setData("text/html","")},b=($,A)=>{$.preventDefault(),$.dataTransfer.dropEffect="move"},h=($,A)=>{y.value!==A&&(i.value=!0)},f=$=>{$.currentTarget.contains($.relatedTarget)||(i.value=!1)},p=($,A)=>{if($.preventDefault(),i.value=!1,y.value===-1||y.value===A)return;const m=[...a.value],[F]=m.splice(y.value,1);m.splice(A,0,F),a.value=m,r.value=null,y.value=-1},u=$=>Array.isArray($)?$.slice(0,je):[],w=$=>Array.isArray($)?Math.max(0,$.length-je):0,V=$=>{const A=$.target;A.style.display="none";const m=document.createElement("div");m.className="w-full h-full flex items-center justify-center bg-gray-200 dark:bg-gray-600",m.innerHTML=`
17
- <svg class="w-4 h-4 text-gray-400" fill="currentColor" viewBox="0 0 20 20">
18
- <path fill-rule="evenodd" d="M4 3a2 2 0 00-2 2v10a2 2 0 002 2h12a2 2 0 002-2V5a2 2 0 00-2-2H4zm12 12H4l4-8 3 6 2-4 3 6z" clip-rule="evenodd" />
19
- </svg>
20
- `,A.parentNode.appendChild(m)};return he(()=>{var $,A;(A=($=a.value)==null?void 0:$.filter(m=>typeof m=="object"))==null||A.forEach(m=>m.id?m.id:m.id=Math.random().toString(36).substring(2,15))}),($,A)=>(s(),d("div",Ct,[t("div",At,[t("div",jt,[t("table",Mt,[t("thead",Vt,[t("tr",St,[A[4]||(A[4]=t("th",{class:"h-10 px-2 align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px] w-12 text-center"},null,-1)),(s(!0),d(N,null,Y(e.colModel,m=>(s(),d("th",{key:m.name,class:"h-10 px-2 text-left align-middle [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px] font-semibold text-slate-700 dark:text-slate-300 min-w-[150px]"},v(m.label||m.title||m.name),1))),128)),t("th",Bt,v($.$t("table.actions")),1)])]),t("tbody",qt,[(s(!0),d(N,null,Y(a.value,(m,F)=>(s(),d("tr",{key:m==null?void 0:m.id,class:O(["border-b data-[state=selected]:bg-muted transition-all duration-200 hover:bg-slate-50/60 dark:hover:bg-slate-700/60 cursor-move",{"opacity-50":r.value===m}]),draggable:"true",onDragstart:C=>o(C,m,F),onDragover:C=>b(C),onDrop:C=>p(C,F),onDragenter:C=>h(C,F),onDragleave:A[2]||(A[2]=C=>f(C))},[t("td",Et,[t("div",Ft,[j(x(Te))])]),(s(!0),d(N,null,Y(e.colModel,C=>(s(),d("td",{key:C.name,class:"p-2 align-middle [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px] text-slate-600 dark:text-slate-400 text-sm"},[C.type==="Texteditor"?(s(),d("span",{key:0,innerHTML:m[C.key]||"-"},null,8,It)):C.type==="File"?(s(),d("div",Lt,[Array.isArray(m[C.key])&&m[C.key].length>0?(s(),d("div",Dt,[(s(!0),d(N,null,Y(u(m[C.key]),(Q,S)=>(s(),d("div",{key:S,class:"relative w-8 h-8 rounded overflow-hidden bg-gray-100 dark:bg-gray-700 flex-shrink-0"},[t("img",{src:Q,alt:`Image ${S+1}`,class:"w-full h-full object-cover",onError:A[0]||(A[0]=z=>V(z))},null,40,Tt)]))),128)),w(m[C.key])>0?(s(),d("span",Qt," +"+v(w(m[C.key])),1)):M("",!0)])):(s(),d("div",Gt,[...A[5]||(A[5]=[t("svg",{class:"w-4 h-4 text-gray-400",fill:"currentColor",viewBox:"0 0 20 20"},[t("path",{"fill-rule":"evenodd",d:"M4 3a2 2 0 00-2 2v10a2 2 0 002 2h12a2 2 0 002-2V5a2 2 0 00-2-2H4zm12 12H4l4-8 3 6 2-4 3 6z","clip-rule":"evenodd"})],-1)])]))])):(s(),d("span",Ut,v(m[C.key]||"-"),1))]))),128)),t("td",Zt,[j(wt,{item:m,colModel:e.colModel,modelValue:a.value,"onUpdate:modelValue":A[1]||(A[1]=C=>a.value=C)},null,8,["item","colModel","modelValue"])])],42,zt))),128)),i.value?(s(),d("tr",Nt)):M("",!0)])])])]),j($t,{colModel:e.colModel,modelValue:a.value,"onUpdate:modelValue":A[3]||(A[3]=m=>a.value=m)},null,8,["colModel","modelValue"])]))}},Qe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASIAAACbCAIAAABJbgHoAAAGfklEQVR4Ae3d7W6baBSF0d7/7Q6IDxkzmrHEQU2DHZudWH1XflRHcXNqVnka4tL01+qNAIGwwK/wfusJEFjPyexyuUzTNAxD3/dd1/3z/1vXdX3fD8MwTdPlcoFNoFmBlzJblmWapr7vb10d/9j3/TRNy7I0a+3AmxV4MrPr9TqO43FXnz06juP1em1W3IE3KPBMZvM8b1eGn7V0/P6u6+Z5bpDbIbcp8OXMnv4k9jG8cRzbRHfUrQl8LbNhGD7W8sp7hmFoTdzxNijwhcxOb+zWp9IaPO1aO+RHMzvxWvHjZz9Xj62ddq0d70OZzfP8sY1z3+MVkdbOvKaO935m1+v1xdcVHwmy6zqv8jd15jV1sPczi14u7gt06djUmdfUwd7JbFmWfQnp2T0iTZ187RzsncymaUqntd8/TVM79I60HYE7mT14v+I+lVfmvu+P6W93UQ7eCLyxwMd7d48yu1wurzTz3Mce3Mu/LMs4jt3/b88t91EE0gK383Mcx/1XQEeZffMV4+34D64bb42lmewn8LpA13X7l/SOMgvd9nF8DAc3hXzzFezx8/QogWOB/VdAR5n9yGm9f3K/fZ32DX99dwznUQKPC3Rdt53AR5n9yGm9f3Lbs7wNjx+hn0ngHQS2E/gos596otuT+234qefj1yXwnMB2AsvsOUAfReC+wEOZuWi8D+lnEPhc4KHM3u0lkM8PxyME3lHgocze7QX9d4T0nAh8LvBQZu/219M/8tn1c0OPEDgS2P/V1NFLIO92s9U0TT/y5eKRpccI/Emg67r9/UxHma3r+s2fQPZ/AGyfcLfhlW8O+ScK7yOQEvjtm5Heyeybrxv3fwBsde2HZVnmeZ68EXhjgXme9/cNr+u976Hvn3XuIzcTeE7gzmezdV19k4LnZH0UgU3gfma+5c6GZSDwnMD9zNZ19Q3knsP1UQRuAg9llr503P8DOL8xBP4+gUczW9c1dFPIwb/j/Pu4HVGbAl/ILFGaxto87Vo76q9ldu7Vo2vF1s62Zo/3y5ndXhF58aYn/41gsydcmwf+TGbrur5y39Nv96G06e6omxJ4MrObkf/ivalzxcE+LfBSZtuverlcpmkahqHv++16suu6vu+HYZim6eCbnG5LDAT+VoFzMvtbdRwXgVMEZHYKoyUEjgRkdqTjMQKnCMjsFEZLCBwJyOxIx2METhGQ2SmMlhA4EpDZkY7HCJwiILNTGC0hcCTwX2a3/1/QjwQInCuwlSezc2FtI1ACMisLE4GQgMxCsNYSKAGZlYWJQEhAZiFYawmUgMzKwkQgJCCzEKy1BEpAZmVhIhASkFkI1loCJSCzsjARCAnILARrLYESkFlZmAiEBGQWgrWWQAnIrCxMBEICMgvBWkugBGRWFiYCIQGZhWCtJVACMisLE4GQgMxCsNYSKAGZlYWJQEhAZiFYawmUgMzKwkQgJCCzEKy1BEpAZmVhIhASkFkI1loCJSCzsjARCAnILARrLYESkFlZmAiEBGQWgrWWQAnIrCxMBEICMgvBWkugBGRWFiYCIQGZhWCtJVACMisLE4GQgMxCsNYSKAGZlYWJQEhAZiFYawmUgMzKwkQgJCCzEKy1BEpAZmVhIhASkFkI1loCJSCzsjARCAnILARrLYESkFlZmAiEBGQWgrWWQAnIrCxMBEICMgvBWkugBGRWFiYCIQGZhWCtJVACMisLE4GQgMxCsNYSKAGZlYWJQEhAZiFYawmUgMzKwkQgJCCzEKy1BEpAZmVhIhASkFkI1loCJSCzsjARCAnILARrLYESkFlZmAiEBGQWgrWWQAnIrCxMBEICMgvBWkugBGRWFiYCIQGZhWCtJVACMisLE4GQgMxCsNYSKAGZlYWJQEhAZiFYawmUgMzKwkQgJCCzEKy1BEpAZmVhIhASkFkI1loCJSCzsjARCAnILARrLYESkFlZmAiEBGQWgrWWQAnIrCxMBEICMgvBWkugBGRWFiYCIQGZhWCtJVACMisLE4GQgMxCsNYSKAGZlYWJQEhAZiFYawmUgMzKwkQgJCCzEKy1BEpAZmVhIhASkFkI1loCJSCzsjARCAnILARrLYESkFlZmAiEBGQWgrWWQAnIrCxMBEICMgvBWkugBGRWFiYCIQGZhWCtJVACMisLE4GQgMxCsNYSKAGZlYWJQEhAZiFYawmUgMzKwkQgJCCzEKy1BEpAZmVhIhAS2DL7F8r/OP7dtZNpAAAAAElFTkSuQmCC",Ge={faq:{schema:{title:{type:"text",label:"Назва",placeholder:"Назва"},show_dots:{type:"switcher",label:"Показувати точки"},show_index:{type:"switcher",conditions:["show_dots","==","true"],label:"Показувати нумерацію"},index_type:{type:"combobox",conditions:["show_index","==","true"],label:"Тип нумерації",options:[{id:"decimal",text:"Десятковий"},{id:"upper-alpha",text:"Латинські великі букви"},{id:"lower-alpha",text:"Латинські маленькі букви"},{id:"upper-roman",text:"Римські великі цифри"},{id:"lower-roman",text:"Римські маленькі цифри"},{id:"upper-cyrillic",text:"Кириличні великі букви"},{id:"lower-cyrillic",text:"Кириличні маленькі букви"}]},openfirst:{type:"switcher",label:"Відкрити перший елемент?"},collapse_mode:{type:"switcher",label:"Не згортати попередній елемент?"},data:{type:"DataTable",colModel:[{key:"title",ua:"Назва",type:"text",required:!0,validators:["required"]},{key:"is_section",type:"Radio",label:"Заповнити секціями",options:[{id:"yes",text:"Так"},{id:"no",text:"Ні"}],required:!0,validators:["required"]},{key:"section",type:"reference",label:"Вкладений контент",placeholder:"Ваш контент",conditions:["is_section","==","yes"],required:!0,validators:["required"]},{key:"body",type:"tiptap-editor",label:"Тіло вкладки",placeholder:"Ваш контент",conditions:["is_section","==","no"],required:!0,validators:["required"]}]}}},banner:{schema:{title:{type:"text",label:"Назва",placeholder:"Назва"},image:{type:"file",label:"Зображення",placeholder:"Зображення"}}},photoGrid:{schema:{columns:{type:"number",label:"Кількість колонок",placeholder:"Кількість колонок",default:3},data:{type:"DataTable",colModel:[{key:"image",ua:"Зображення",type:"file"},{key:"caption",ua:"Заголовок",type:"text"}]}}},slider:{schema:{autoplay:{type:"switcher",label:"Автоматичне гортання?",default:!0},autoplaySpeed:{type:"number",label:"Швидкість автоматичного гортання(мс)",placeholder:"Швидкість автоматичного гортання(мс)",default:3e3},show_navigation:{type:"switcher",label:"Показувати кнопки навігації?"},data:{type:"DataTable",colModel:[{key:"title",ua:"Назва",type:"text"},{key:"link",ua:"Посилання",type:"text"},{key:"image",ua:"Зображення",type:"file"},{key:"image_width",ua:"Ширина зображення(px)",type:"number",placeholder:"Ширина зображення"},{key:"image_height",ua:"Висота зображення(px)",type:"number",placeholder:"Висота зображення"},{ua:"Розтягувати по ширині",key:"stretch",type:"switcher"},{key:"target_blank",ua:"Відкривати в новій вкладці?",type:"switcher"}]}}},video:{schema:{file:{type:"file",max_size:50,description:"Максимальний розмір файлу 50MB",label:"Завантажити відео",placeholder:"Завантажити відео"},hidden_gif:{type:"switcher",label:"Сховати GIF"},preview:{type:"file",label:"Прев'ю для відео"},link:{type:"text",label:"Посилання",placeholder:"Посилання"}}},about:{schema:{title:{type:"text",label:"Заголовок",placeholder:"Заголовок"},text:{type:"tiptap-editor",label:"Текст",placeholder:"Текст"},url:{type:"file",label:"Зображення / відео",placeholder:"Посилання"}}},cards:{schema:{title:{type:"text",label:"Заголовок",placeholder:"Заголовок"},data:{type:"DataTable",colModel:[{key:"title",ua:"Назва",type:"text"},{key:"img",ua:"Зображення",type:"file"},{key:"link",ua:"Посилання",type:"text"},{key:"description",ua:"Опис",type:"text"}]}}},usefulLinks:{schema:{title:{type:"text",label:"Заголовок",placeholder:"Заголовок"},data:{type:"DataTable",colModel:[{key:"text",ua:"Назва",type:"text"},{key:"url",ua:"Посилання",type:"text"},{key:"target_blank",ua:"Відкривати в новій вкладці?",type:"switcher"}]}}},team:{schema:{data:{type:"DataTable",colModel:[{key:"avatar",ua:"Аватар",type:"file"},{key:"title",ua:"Ім'я/ПІБ",type:"text"},{key:"description",ua:"Опис",type:"textarea",optional:!0},{key:"position",ua:"Посада",type:"text",tooltip:!0},{key:"email",ua:"Email",type:"text",optional:!0},{key:"tel",ua:"Телефон",type:"text",optional:!0},{key:"schedule",ua:"Графік прийому",type:"text",optional:!0},{key:"isinfo",type:"switcher",label:"Відображати кнопку 'Детальніше'"},{key:"slug",ua:"Slug",type:"text",label:"Унікальний ідентифікатор"}]}}},body:{schema:{background_color:{type:"switcher",label:"Додати білий фон?"},content:{type:"tiptap-editor",label:"Текст",placeholder:"Текст"}}},news:{schema:{title:{type:"text",label:"Заголовок",placeholder:"Заголовок"},buttonText:{type:"text",label:"Текст кнопки",placeholder:"Текст кнопки"},buttonLink:{type:"text",label:"Посилання кнопки",placeholder:"Посилання кнопки"},tag:{type:"select",label:"Тег",placeholder:"Тег",data:"tag_id"},news_list:{type:"select",label:"Список новин",multiple:!0,placeholder:"Список новин",parent:"tag",data:"news_tag_id"}}},form:{schema:{title:{type:"text",label:"Заголовок",placeholder:"Заголовок"},formUrl:{type:"text",label:"Посилання для відправки форми",placeholder:"Посилання"},schema:{label:"Схема форми",type:"DataTable",colModel:[{key:"name",ua:"Name",type:"text",placeholder:"Name"},{key:"label",ua:"Title",type:"text",placeholder:"Title"},{key:"type",ua:"Type",type:"combobox",options:[{text:"Text",id:"text"},{text:"Textarea",id:"textarea"},{text:"switcher",id:"switcher"},{text:"Email",id:"email"},{text:"Mask",id:"mask"},{text:"Number",id:"number"},{text:"Date",id:"date"},{text:"Datetime",id:"datetime"}]},{key:"mask",ua:"Маска",type:"text",conditions:["type","==","mask"],placeholder:"Маска"},{key:"placeholder",ua:"Плейсхолдер",type:"text",placeholder:"Placeholder"},{key:"required",ua:"Required",type:"switcher"}]}}},tabs:{schema:{title:{type:"text",label:"Заголовок",placeholder:"Заголовок"},description:{type:"textarea",label:"Опис",placeholder:"Опис"},history_mode:{type:"switcher",label:"Використовувати історію сторінки?"},data:{type:"DataTable",colModel:[{key:"slug",type:"slug",label:"Slug",parent:"title",placeholder:"Slug"},{key:"title",ua:"Назва",type:"text",required:!0,validators:["required"]},{key:"is_section",type:"Radio",label:"Заповнити секціями",options:[{id:"yes",text:"Так"},{id:"no",text:"Ні"}],required:!0,validators:["required"]},{key:"section",type:"reference",label:"Тіло вкладки",placeholder:"Ваш контент",conditions:["is_section","==","yes"],required:!0,validators:["required"]},{key:"body",type:"tiptap-editor",label:"Тіло вкладки",placeholder:"Ваш контент",conditions:["is_section","==","no"],required:!0,validators:["required"]}]}}},vertical_tabs:{schema:{title:{type:"text",label:"Заголовок",placeholder:"Заголовок"},history_mode:{type:"switcher",label:"Використовувати історію сторінки?"},data:{type:"DataTable",colModel:[{key:"slug",type:"slug",label:"Slug",parent:"title",placeholder:"Slug"},{key:"title",ua:"Назва",type:"text",required:!0,validators:["required"]},{key:"is_section",type:"Radio",label:"Заповнити секціями",options:[{id:"yes",text:"Так"},{id:"no",text:"Ні"},{id:"slug",text:"Привязати сторінку"}],required:!0,validators:["required"]},{key:"slug",type:"text",label:"Slug",placeholder:"Slug",conditions:["is_section","==","slug"]},{key:"section",type:"reference",label:"Тіло вкладки",placeholder:"Ваш контент",conditions:["is_section","==","yes"],required:!0,validators:["required"]},{key:"body",type:"tiptap-editor",label:"Тіло вкладки",placeholder:"Ваш контент",conditions:["is_section","==","no"],required:!0,validators:["required"]}]}}},documents:{schema:{title:{type:"text",label:"Заголовок",placeholder:"Заголовок"},icon:{type:"file",label:"Завантажити іконку",placeholder:"Завантажити іконку"},show_icon:{type:"switcher",label:"Показувати іконку?"},documents:{type:"DataTable",colModel:[{key:"title",ua:"Назва",type:"text"},{key:"file",info:"Прев'ю доступно тільки для документів у форматі pdf, html, txt. Інші формати одразу завантажуються.",ua:"Файл",type:"file"}]}}},infoLine:{schema:{divider:{type:"file",label:"Завантажити розподілювач"},speed:{type:"number",label:"Швидкість автоматичного гортання(с)",placeholder:"Швидкість автоматичного гортання(с)",default:20},data:{type:"DataTable",colModel:[{key:"title",ua:"Текст",type:"text"}]}}},interested:{schema:{title:{type:"text",label:"Заголовок",placeholder:"Заголовок"},data:{type:"DataTable",colModel:[{key:"title",ua:"Заголовок",type:"text"},{key:"link",ua:"Посилання",type:"text"},{key:"target_blank",ua:"Відкривати в новій вкладці?",type:"switcher"},{key:"color",ua:"Колір фону",type:"color"}]}}},contact:{schema:{title:{type:"text",label:"Заголовок",placeholder:"Заголовок"},data:{type:"DataTable",colModel:[{key:"type",ua:"Тип",type:"combobox",options:[{id:"email",text:"Email"},{id:"tel",text:"Телефон"},{id:"address",text:"Адреса"}]},{key:"title",ua:"Пошта",type:"text",conditions:["type","==","email"]},{key:"title",ua:"Телефон",type:"text",conditions:["type","==","tel"]},{key:"title",ua:"Адреса",type:"text",conditions:["type","==","address"]},{key:"description",ua:"Опис",type:"text"}]}}},iframe:{schema:{link:{type:"text",label:"Посилання",placeholder:"Посилання"},file:{type:"file",label:"Завантажити файл",placeholder:"Завантажити файл"},height:{type:"text",label:"Висота iframe(px)",placeholder:"Висота iframe(px)"}}}},le=[{text:"reference.faq",id:"faq"},{text:"reference.banner",id:"banner"},{text:"reference.slider",id:"slider"},{text:"reference.photoGrid",id:"photoGrid"},{text:"reference.video",id:"video"},{text:"reference.about",id:"about"},{text:"reference.cards",id:"cards"},{text:"reference.usefulLinks",id:"usefulLinks"},{text:"reference.team",id:"team"},{text:"reference.body",id:"body"},{text:"reference.news",id:"news"},{text:"reference.form",id:"form"},{text:"reference.tabs",id:"tabs"},{text:"reference.vertical_tabs",id:"vertical_tabs"},{text:"reference.documents",id:"documents"},{text:"reference.infoLine",id:"infoLine"},{text:"reference.interested",id:"interested"},{text:"reference.contact",id:"contact"},{text:"reference.iframe",id:"iframe"}],Wt={class:"h-full w-full flex flex-col"},Rt={class:"flex justify-between items-center mt-2 pt-2 border-t border-gray-300"},Pt={class:"text-xs font-medium text-gray-600"},Yt={key:0,class:"text-xs text-gray-500"},Me={__name:"cards-skeleton",props:{text:{type:String,required:!0},count:{type:Number,required:!0}},setup(e){return(a,r)=>(s(),d("div",Wt,[r[0]||(r[0]=I('<div class="flex-1 grid grid-cols-3 gap-1.5"><div class="bg-gray-200 rounded p-1.5 flex flex-col"><div class="flex-1 bg-gray-300 rounded mb-1"></div><div class="h-1.5 bg-gray-400 rounded"></div></div><div class="bg-gray-200 rounded p-1.5 flex flex-col"><div class="flex-1 bg-gray-300 rounded mb-1"></div><div class="h-1.5 bg-gray-400 rounded"></div></div><div class="bg-gray-200 rounded p-1.5 flex flex-col"><div class="flex-1 bg-gray-300 rounded mb-1"></div><div class="h-1.5 bg-gray-400 rounded"></div></div><div class="bg-gray-200 rounded p-1.5 flex flex-col"><div class="flex-1 bg-gray-300 rounded mb-1"></div><div class="h-1.5 bg-gray-400 rounded"></div></div><div class="bg-gray-200 rounded p-1.5 flex flex-col"><div class="flex-1 bg-gray-300 rounded mb-1"></div><div class="h-1.5 bg-gray-400 rounded"></div></div><div class="bg-gray-200 rounded p-1.5 flex flex-col"><div class="flex-1 bg-gray-300 rounded mb-1"></div><div class="h-1.5 bg-gray-400 rounded"></div></div></div>',1)),t("div",Rt,[t("div",Pt,v(a.$t(e.text)),1),e.count&&e.count>0?(s(),d("div",Yt,v(e.count),1)):M("",!0)])]))}},Ot={class:"h-full w-full flex flex-col"},Jt={class:"flex justify-between items-center mt-2 pt-2 border-t border-gray-300"},Kt={class:"text-xs font-medium text-gray-600"},Ht={key:0,class:"text-xs text-gray-500"},Xt={__name:"faq-skeleton",props:{text:{type:String,required:!0},count:{type:Number,required:!0}},setup(e){return(a,r)=>(s(),d("div",Ot,[r[0]||(r[0]=I('<div class="h-3 bg-gray-500 rounded mb-2"></div><div class="space-y-1.5 flex-1"><div class="border border-gray-300 rounded p-1"><div class="flex items-center justify-between"><div class="h-1.5 bg-gray-300 rounded flex-1 mr-2"></div><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="lucide lucide-chevron-down w-2.5 h-2.5 text-gray-400"><path d="m6 9 6 6 6-6"></path></svg></div></div><div class="border border-gray-300 rounded p-1"><div class="flex items-center justify-between"><div class="h-1.5 bg-gray-300 rounded flex-1 mr-2"></div><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="lucide lucide-chevron-down w-2.5 h-2.5 text-gray-400"><path d="m6 9 6 6 6-6"></path></svg></div><div class="mt-1 pt-1 border-t border-gray-200"><div class="space-y-0.5"><div class="h-1 bg-gray-200 rounded"></div><div class="h-1 bg-gray-200 rounded w-5/6"></div><div class="h-1 bg-gray-200 rounded w-4/5"></div></div></div></div><div class="border border-gray-300 rounded p-1"><div class="flex items-center justify-between"><div class="h-1.5 bg-gray-300 rounded flex-1 mr-2"></div><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="lucide lucide-chevron-down w-2.5 h-2.5 text-gray-400"><path d="m6 9 6 6 6-6"></path></svg></div></div><div class="border border-gray-300 rounded p-1"><div class="flex items-center justify-between"><div class="h-1.5 bg-gray-300 rounded flex-1 mr-2"></div><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="lucide lucide-chevron-down w-2.5 h-2.5 text-gray-400"><path d="m6 9 6 6 6-6"></path></svg></div></div></div>',2)),t("div",Jt,[t("div",Kt,v(a.$t(e.text)),1),e.count&&e.count>0?(s(),d("div",Ht,v(e.count),1)):M("",!0)])]))}},er={class:"h-full w-full flex flex-col"},tr={class:"flex justify-between items-center mt-2 pt-2 border-t border-gray-300"},rr={class:"text-xs font-medium text-gray-600"},lr={key:0,class:"text-xs text-gray-500"},Ve={__name:"banner-skeleton",props:{text:{type:String,required:!0},count:{type:Number,required:!0}},setup(e){return(a,r)=>(s(),d("div",er,[r[0]||(r[0]=I('<div class="flex-1 bg-gray-200 rounded relative"><div class="absolute inset-0 flex items-center justify-center"><div class="w-16 h-10 bg-gray-300 rounded"></div></div><div class="absolute bottom-2 left-2"><div class="h-3 bg-gray-400 rounded w-16"></div></div></div>',1)),t("div",tr,[t("div",rr,v(a.$t(e.text)),1),e.count&&e.count>0?(s(),d("div",lr,v(e.count),1)):M("",!0)])]))}},ar={class:"h-full w-full flex flex-col"},sr={class:"flex justify-between items-center mt-2 pt-2 border-t border-gray-300"},or={class:"text-xs font-medium text-gray-600"},ir={key:0,class:"text-xs text-gray-500"},dr={__name:"form-skeleton",props:{text:{type:String,required:!0},count:{type:Number,required:!0}},setup(e){return(a,r)=>(s(),d("div",ar,[r[0]||(r[0]=I('<div class="h-3 bg-gray-500 rounded mb-2"></div><div class="space-y-1.5 flex-1"><div><div class="h-1.5 bg-gray-300 rounded mb-1 w-1/4"></div><div class="h-5 bg-gray-200 rounded border border-gray-300"></div></div><div><div class="h-1.5 bg-gray-300 rounded mb-1 w-1/3"></div><div class="h-5 bg-gray-200 rounded border border-gray-300"></div></div><div><div class="h-1.5 bg-gray-300 rounded mb-1 w-1/4"></div><div class="h-5 bg-gray-200 rounded border border-gray-300"></div></div><div><div class="h-1.5 bg-gray-300 rounded mb-1 w-1/3"></div><div class="h-8 bg-gray-200 rounded border border-gray-300"></div></div></div><div class="h-6 bg-gray-600 rounded mt-2"></div>',3)),t("div",sr,[t("div",or,v(a.$t(e.text)),1),e.count&&e.count>0?(s(),d("div",ir,v(e.count),1)):M("",!0)])]))}},nr={class:"h-full w-full flex flex-col"},ur={class:"flex justify-between items-center mt-2 pt-2 border-t border-gray-300"},cr={class:"text-xs font-medium text-gray-600"},vr={key:0,class:"text-xs text-gray-500"},Se={__name:"news-skeleton",props:{text:{type:String,required:!0},count:{type:Number,required:!0}},setup(e){return(a,r)=>(s(),d("div",nr,[r[0]||(r[0]=I('<div class="h-4 bg-gray-400 rounded mb-2"></div><div class="flex gap-2 flex-1"><div class="flex-1 space-y-2"><div class="bg-gray-200 rounded p-1.5"><div class="h-8 bg-gray-300 rounded mb-1"></div><div class="h-1.5 bg-gray-400 rounded mb-1"></div><div class="h-1 bg-gray-300 rounded w-3/4"></div></div><div class="bg-gray-200 rounded p-1.5"><div class="h-8 bg-gray-300 rounded mb-1"></div><div class="h-1.5 bg-gray-400 rounded mb-1"></div><div class="h-1 bg-gray-300 rounded w-3/4"></div></div></div><div class="w-20 space-y-1"><div class="border-b border-gray-300 pb-1"><div class="h-1 bg-gray-300 rounded mb-1"></div><div class="h-1 bg-gray-300 rounded w-4/5"></div></div><div class="border-b border-gray-300 pb-1"><div class="h-1 bg-gray-300 rounded mb-1"></div><div class="h-1 bg-gray-300 rounded w-4/5"></div></div><div class="border-b border-gray-300 pb-1"><div class="h-1 bg-gray-300 rounded mb-1"></div><div class="h-1 bg-gray-300 rounded w-4/5"></div></div><div class="border-b border-gray-300 pb-1"><div class="h-1 bg-gray-300 rounded mb-1"></div><div class="h-1 bg-gray-300 rounded w-4/5"></div></div></div></div>',2)),t("div",ur,[t("div",cr,v(a.$t(e.text)),1),e.count&&e.count>0?(s(),d("div",vr,v(e.count),1)):M("",!0)])]))}},pr={class:"h-full w-full flex flex-col"},gr={class:"flex justify-between items-center mt-2 pt-2 border-t border-gray-300"},yr={class:"text-xs font-medium text-gray-600"},hr={key:0,class:"text-xs text-gray-500"},br={__name:"team-skeleton",props:{text:{type:String,required:!0},count:{type:Number,required:!0}},setup(e){return(a,r)=>(s(),d("div",pr,[r[0]||(r[0]=I('<div class="space-y-2 flex-1"><div class="flex items-start gap-2"><div class="w-8 h-8 bg-gray-300 rounded flex-shrink-0"></div><div class="flex-1 min-w-0"><div class="h-2 bg-gray-400 rounded mb-1 w-2/3"></div><div class="h-1.5 bg-gray-300 rounded mb-1"></div><div class="flex gap-1"><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="lucide lucide-phone w-2.5 h-2.5 text-gray-400"><path d="M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z"></path></svg><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="lucide lucide-mail w-2.5 h-2.5 text-gray-400"><rect width="20" height="16" x="2" y="4" rx="2"></rect><path d="m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7"></path></svg><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="lucide lucide-clock w-2.5 h-2.5 text-gray-400"><circle cx="12" cy="12" r="10"></circle><polyline points="12 6 12 12 16 14"></polyline></svg></div></div></div><div class="flex items-start gap-2"><div class="w-8 h-8 bg-gray-300 rounded flex-shrink-0"></div><div class="flex-1 min-w-0"><div class="h-2 bg-gray-400 rounded mb-1 w-2/3"></div><div class="h-1.5 bg-gray-300 rounded mb-1"></div><div class="flex gap-1"><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="lucide lucide-phone w-2.5 h-2.5 text-gray-400"><path d="M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z"></path></svg><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="lucide lucide-mail w-2.5 h-2.5 text-gray-400"><rect width="20" height="16" x="2" y="4" rx="2"></rect><path d="m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7"></path></svg><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="lucide lucide-clock w-2.5 h-2.5 text-gray-400"><circle cx="12" cy="12" r="10"></circle><polyline points="12 6 12 12 16 14"></polyline></svg></div></div></div><div class="flex items-start gap-2"><div class="w-8 h-8 bg-gray-300 rounded flex-shrink-0"></div><div class="flex-1 min-w-0"><div class="h-2 bg-gray-400 rounded mb-1 w-2/3"></div><div class="h-1.5 bg-gray-300 rounded mb-1"></div><div class="flex gap-1"><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="lucide lucide-phone w-2.5 h-2.5 text-gray-400"><path d="M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z"></path></svg><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="lucide lucide-mail w-2.5 h-2.5 text-gray-400"><rect width="20" height="16" x="2" y="4" rx="2"></rect><path d="m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7"></path></svg><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="lucide lucide-clock w-2.5 h-2.5 text-gray-400"><circle cx="12" cy="12" r="10"></circle><polyline points="12 6 12 12 16 14"></polyline></svg></div></div></div><div class="flex items-start gap-2"><div class="w-8 h-8 bg-gray-300 rounded flex-shrink-0"></div><div class="flex-1 min-w-0"><div class="h-2 bg-gray-400 rounded mb-1 w-2/3"></div><div class="h-1.5 bg-gray-300 rounded mb-1"></div><div class="flex gap-1"><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="lucide lucide-phone w-2.5 h-2.5 text-gray-400"><path d="M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z"></path></svg><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="lucide lucide-mail w-2.5 h-2.5 text-gray-400"><rect width="20" height="16" x="2" y="4" rx="2"></rect><path d="m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7"></path></svg><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="lucide lucide-clock w-2.5 h-2.5 text-gray-400"><circle cx="12" cy="12" r="10"></circle><polyline points="12 6 12 12 16 14"></polyline></svg></div></div></div></div>',1)),t("div",gr,[t("div",yr,v(a.$t(e.text)),1),e.count&&e.count>0?(s(),d("div",hr,v(e.count),1)):M("",!0)])]))}},mr={class:"h-full w-full flex flex-col"},xr={class:"flex justify-between items-center mt-2 pt-2 border-t border-gray-300"},fr={class:"text-xs font-medium text-gray-600"},wr={key:0,class:"text-xs text-gray-500"},Be={__name:"usefulLinks-skeleton",props:{text:{type:String,required:!0},count:{type:Number,required:!0}},setup(e){return(a,r)=>(s(),d("div",mr,[r[0]||(r[0]=I('<div class="h-4 bg-gray-400 rounded mb-3"></div><div class="grid grid-cols-2 gap-2 flex-1"><div class="space-y-2"><div class="flex items-center justify-between p-1.5 border border-gray-300 rounded"><div class="h-1.5 bg-gray-300 rounded flex-1 mr-2"></div><div class="w-2 h-2 bg-gray-400 rounded-full"></div></div><div class="flex items-center justify-between p-1.5 border border-gray-300 rounded"><div class="h-1.5 bg-gray-300 rounded flex-1 mr-2"></div><div class="w-2 h-2 bg-gray-400 rounded-full"></div></div><div class="flex items-center justify-between p-1.5 border border-gray-300 rounded"><div class="h-1.5 bg-gray-300 rounded flex-1 mr-2"></div><div class="w-2 h-2 bg-gray-400 rounded-full"></div></div></div><div class="space-y-2"><div class="flex items-center justify-between p-1.5 border border-gray-300 rounded"><div class="h-1.5 bg-gray-300 rounded flex-1 mr-2"></div><div class="w-2 h-2 bg-gray-400 rounded-full"></div></div><div class="flex items-center justify-between p-1.5 border border-gray-300 rounded"><div class="h-1.5 bg-gray-300 rounded flex-1 mr-2"></div><div class="w-2 h-2 bg-gray-400 rounded-full"></div></div><div class="flex items-center justify-between p-1.5 border border-gray-300 rounded"><div class="h-1.5 bg-gray-300 rounded flex-1 mr-2"></div><div class="w-2 h-2 bg-gray-400 rounded-full"></div></div></div></div>',2)),t("div",xr,[t("div",fr,v(a.$t(e.text)),1),e.count&&e.count>0?(s(),d("div",wr,v(e.count),1)):M("",!0)])]))}},kr={class:"h-full w-full flex flex-col"},_r={class:"flex justify-between items-center mt-2 pt-2 border-t border-gray-300"},$r={class:"text-xs font-medium text-gray-600"},Cr={key:0,class:"text-xs text-gray-500"},Ar={__name:"video-skeleton",props:{text:{type:String,required:!0},count:{type:Number,required:!0}},setup(e){return(a,r)=>(s(),d("div",kr,[r[0]||(r[0]=I('<div class="flex-1 bg-gray-200 rounded relative"><div class="absolute inset-0 flex items-center justify-center"><div class="w-10 h-10 bg-gray-400 rounded-full flex items-center justify-center"><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="lucide lucide-play w-5 h-5 text-white ml-0.5"><polygon points="6 3 20 12 6 21 6 3"></polygon></svg></div></div><div class="absolute bottom-1.5 left-1.5 right-1.5"><div class="h-2 bg-gray-400 rounded mb-1"></div><div class="h-2 bg-gray-400 rounded w-3/4"></div></div></div><div class="mt-2 flex items-center gap-2"><div class="w-5 h-5 bg-gray-300 rounded"></div><div class="h-2 bg-gray-300 rounded flex-1"></div></div>',2)),t("div",_r,[t("div",$r,v(a.$t(e.text)),1),e.count&&e.count>0?(s(),d("div",Cr,v(e.count),1)):M("",!0)])]))}},jr={class:"h-full w-full flex flex-col"},Mr={class:"flex justify-between items-center mt-2 pt-2 border-t border-gray-300"},Vr={class:"text-xs font-medium text-gray-600"},Sr={key:0,class:"text-xs text-gray-500"},Br={__name:"about-skeleton",props:{text:{type:String,required:!0},count:{type:Number,required:!0}},setup(e){return(a,r)=>(s(),d("div",jr,[r[0]||(r[0]=I('<div class="flex flex-1"><div class="flex-1 pr-2"><div class="h-4 bg-gray-400 rounded mb-2"></div><div class="space-y-1.5"><div class="h-2 bg-gray-300 rounded"></div><div class="h-2 bg-gray-300 rounded"></div><div class="h-2 bg-gray-300 rounded w-4/5"></div><div class="h-2 bg-gray-300 rounded"></div><div class="h-2 bg-gray-300 rounded w-3/4"></div><div class="h-2 bg-gray-300 rounded"></div></div></div><div class="w-16 h-20 bg-gray-200 rounded flex items-center justify-center"><div class="w-6 h-6 bg-gray-300 rounded-full"></div></div></div>',1)),t("div",Mr,[t("div",Vr,v(a.$t(e.text)),1),e.count&&e.count>0?(s(),d("div",Sr,v(e.count),1)):M("",!0)])]))}},qr={class:"h-full w-full flex flex-col"},zr={class:"flex justify-between items-center mt-2 pt-2 border-t border-gray-300"},Er={class:"text-xs font-medium text-gray-600"},Fr={key:0,class:"text-xs text-gray-500"},Ir={__name:"slider-skeleton",props:{text:{type:String,required:!0},count:{type:Number,required:!0}},setup(e){return(a,r)=>(s(),d("div",qr,[r[0]||(r[0]=I('<div class="flex-1 bg-gray-200 rounded mb-2 relative"><div class="absolute inset-0 flex items-center justify-center"><div class="w-12 h-8 bg-gray-300 rounded"></div></div><div class="absolute left-1 top-1/2 transform -translate-y-1/2"><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="lucide lucide-chevron-left w-4 h-4 text-gray-400"><path d="m15 18-6-6 6-6"></path></svg></div><div class="absolute right-1 top-1/2 transform -translate-y-1/2"><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="lucide lucide-chevron-right w-4 h-4 text-gray-400"><path d="m9 18 6-6-6-6"></path></svg></div></div><div class="h-3 bg-gray-300 rounded mb-2"></div><div class="h-6 w-20 bg-gray-400 rounded"></div><div class="flex justify-center gap-1 mt-2"><div class="w-1.5 h-1.5 bg-gray-300 rounded-full"></div><div class="w-1.5 h-1.5 bg-gray-300 rounded-full"></div><div class="w-1.5 h-1.5 bg-gray-300 rounded-full"></div><div class="w-1.5 h-1.5 bg-gray-300 rounded-full"></div><div class="w-1.5 h-1.5 bg-gray-300 rounded-full"></div></div>',4)),t("div",zr,[t("div",Er,v(a.$t(e.text)),1),e.count&&e.count>0?(s(),d("div",Fr,v(e.count),1)):M("",!0)])]))}},Lr={class:"h-full flex flex-col"},Dr={class:"flex justify-between items-center mt-2 pt-2 border-t border-gray-300"},Tr={class:"text-xs font-medium text-gray-600"},Qr={key:0,class:"text-xs text-gray-500"},Gr={__name:"infoLine-skeleton",props:{text:{type:String,required:!0},count:{type:Number,required:!0}},setup(e){return(a,r)=>(s(),d("div",Lr,[r[0]||(r[0]=I('<div class="flex-1 bg-gray-200 rounded relative overflow-hidden"><div class="absolute inset-0 flex items-center"><div class="flex gap-8 whitespace-nowrap animate-pulse"><div class="h-3 bg-gray-400 rounded w-32"></div><div class="h-3 bg-gray-300 rounded w-24"></div><div class="h-3 bg-gray-400 rounded w-40"></div><div class="h-3 bg-gray-300 rounded w-28"></div><div class="h-3 bg-gray-400 rounded w-36"></div><div class="h-3 bg-gray-300 rounded w-20"></div></div></div><div class="absolute top-2 left-2 right-2 flex justify-between items-center"><div class="w-2 h-2 bg-gray-500 rounded-full"></div><div class="w-2 h-2 bg-gray-500 rounded-full"></div></div></div>',1)),t("div",Dr,[t("div",Tr,v(a.$t(e.text)),1),e.count&&e.count>0?(s(),d("div",Qr,v(e.count),1)):M("",!0)])]))}},Ur={class:"h-full flex flex-col"},Zr={class:"flex justify-between items-center mt-2 pt-2 border-t border-gray-300"},Nr={class:"text-xs font-medium text-gray-600"},Wr={key:0,class:"text-xs text-gray-500"},Rr={__name:"tabs-skeleton",props:{text:{type:String,required:!0},count:{type:Number,required:!0}},setup(e){return(a,r)=>(s(),d("div",Ur,[r[0]||(r[0]=I('<div class="h-2 bg-gray-300 rounded mb-2"></div><div class="flex gap-1 mb-3"><div class="h-4 w-16 bg-gray-400 rounded"></div><div class="h-4 w-16 bg-gray-200 rounded"></div></div><div class="space-y-2 flex-1"><div class="h-2 bg-gray-300 rounded w-5/6"></div><div class="h-2 bg-gray-300 rounded"></div><div class="space-y-1 mt-3"><div class="flex items-center gap-2"><div class="w-2 h-2 bg-gray-400 rounded-full"></div><div class="h-1.5 bg-gray-300 rounded w-20"></div></div><div class="flex items-center gap-2"><div class="w-2 h-2 bg-gray-400 rounded-full"></div><div class="h-1.5 bg-gray-300 rounded w-16"></div></div></div></div>',3)),t("div",Zr,[t("div",Nr,v(a.$t(e.text)),1),e.count&&e.count>0?(s(),d("div",Wr,v(e.count),1)):M("",!0)])]))}},Pr={class:"h-full flex flex-col"},Yr={class:"flex justify-between items-center mt-2 pt-2 border-t border-gray-300"},Or={class:"text-xs font-medium text-gray-600"},Jr={key:0,class:"text-xs text-gray-500"},qe={__name:"documents-skeleton",props:{text:{type:String,required:!0},count:{type:Number,required:!0}},setup(e){return(a,r)=>(s(),d("div",Pr,[r[0]||(r[0]=I('<div class="h-4 bg-gray-400 rounded mb-2"></div><div class="space-y-1.5 flex-1"><div class="flex items-center justify-between p-1.5 border-b border-gray-200"><div class="flex items-center gap-2"><div class="w-3 h-3 bg-gray-400 rounded-full"></div><div class="h-2 bg-gray-300 rounded flex-1 w-28"></div></div><div class="flex gap-1.5"><div class="w-3 h-3 bg-gray-200 rounded"></div><div class="w-3 h-3 bg-gray-200 rounded"></div></div></div><div class="flex items-center justify-between p-1.5 border-b border-gray-200"><div class="flex items-center gap-2"><div class="w-3 h-3 bg-gray-400 rounded-full"></div><div class="h-2 bg-gray-300 rounded flex-1 w-28"></div></div><div class="flex gap-1.5"><div class="w-3 h-3 bg-gray-200 rounded"></div><div class="w-3 h-3 bg-gray-200 rounded"></div></div></div><div class="flex items-center justify-between p-1.5 border-b border-gray-200"><div class="flex items-center gap-2"><div class="w-3 h-3 bg-gray-400 rounded-full"></div><div class="h-2 bg-gray-300 rounded flex-1 w-28"></div></div><div class="flex gap-1.5"><div class="w-3 h-3 bg-gray-200 rounded"></div><div class="w-3 h-3 bg-gray-200 rounded"></div></div></div><div class="flex items-center justify-between p-1.5 border-b border-gray-200"><div class="flex items-center gap-2"><div class="w-3 h-3 bg-gray-400 rounded-full"></div><div class="h-2 bg-gray-300 rounded flex-1 w-28"></div></div><div class="flex gap-1.5"><div class="w-3 h-3 bg-gray-200 rounded"></div><div class="w-3 h-3 bg-gray-200 rounded"></div></div></div></div>',2)),t("div",Yr,[t("div",Or,v(a.$t(e.text)),1),e.count&&e.count>0?(s(),d("div",Jr,v(e.count),1)):M("",!0)])]))}},Kr={class:"h-full flex flex-col"},Hr={class:"flex justify-between items-center mt-2 pt-2 border-t border-gray-300"},Xr={class:"text-xs font-medium text-gray-600"},el={key:0,class:"text-xs text-gray-500"},tl={__name:"body-skeleton",props:{text:{type:String,required:!0},count:{type:Number,required:!0}},setup(e){return(a,r)=>(s(),d("div",Kr,[r[0]||(r[0]=I('<div class="grid grid-cols-3 gap-2 flex-1"><div class="flex flex-col"><div class="h-3 bg-gray-400 rounded mb-2"></div><div class="space-y-1.5"><div class="h-4 bg-gray-200 rounded border border-gray-300 p-1.5"><div class="h-1.5 bg-gray-300 rounded w-3/4"></div></div><div class="h-4 bg-gray-200 rounded border border-gray-300 p-1.5"><div class="h-1.5 bg-gray-300 rounded w-3/4"></div></div></div></div><div class="flex flex-col"><div class="h-3 bg-gray-400 rounded mb-2"></div><div class="space-y-1.5"><div class="h-4 bg-gray-200 rounded border border-gray-300 p-1.5"><div class="h-1.5 bg-gray-300 rounded w-3/4"></div></div><div class="h-4 bg-gray-200 rounded border border-gray-300 p-1.5"><div class="h-1.5 bg-gray-300 rounded w-3/4"></div></div></div></div><div class="flex flex-col"><div class="h-3 bg-gray-400 rounded mb-2"></div><div class="space-y-1.5"><div class="h-4 bg-gray-200 rounded border border-gray-300 p-1.5"><div class="h-1.5 bg-gray-300 rounded w-3/4"></div></div><div class="h-4 bg-gray-200 rounded border border-gray-300 p-1.5"><div class="h-1.5 bg-gray-300 rounded w-3/4"></div></div></div></div></div>',1)),t("div",Hr,[t("div",Xr,v(a.$t(e.text)),1),e.count&&e.count>0?(s(),d("div",el,v(e.count),1)):M("",!0)])]))}},ae={faq:Xt,banner:Ve,slider:Ir,video:Ar,about:Br,cards:Me,usefulLinks:Be,team:br,news:Se,form:dr,tabs:Rr,vertical_tabs:Se,documents:qe,infoLine:Gr,body:tl,photoGrid:Me,interested:Be,contact:qe,iframe:Ve},rl={class:"grid grid-cols-1 md:grid-cols-1 lg:grid-cols-2 2xl:grid-cols-3 gap-4"},ll=["onClick"],al={class:"wireframe-block h-[240px] !p-4 border-2 border-dashed bg-white relative overflow-hidden transition-all rounded-lg shadow-sm border-gray-300 hover:border-gray-400 cursor-pointer"},sl=["src"],ol={__name:"vs-form-reference-choce",props:{modelValue:{type:String,required:!0},modelModifiers:{}},emits:["update:modelValue"],setup(e){const a=T(e,"modelValue");return(r,y)=>(s(),d("div",rl,[(s(!0),d(N,null,Y(x(le),i=>(s(),d("div",{key:i.id,onClick:o=>a.value=i.id,class:"relative"},[t("div",al,[x(ae)[i.id]?(s(),q(Fe(x(ae)[i.id]),{key:0,text:i==null?void 0:i.text,count:(i==null?void 0:i.data)||0},null,8,["text","count"])):(s(),d("img",{key:1,src:x(Qe),alt:"Team collaboration",class:"w-full h-full object-cover"},null,8,sl))])],8,ll))),128))]))}},il={};function dl(e,a,r,y,i,o){const b=Ie("vs-richtext");return s(),q(b,{class:"w-full"})}const nl=be(il,[["render",dl]]),ul={class:"flex gap-4"},cl={class:"text-sm text-gray-500 dark:text-gray-400 border flex items-center h-10 px-4 rounded-lg w-full"},vl={class:"flex items-center justify-between w-full p-4 border-t border-gray-200 dark:border-gray-700"},pl={__name:"vs-form-reference-add",props:G({title:{type:String,required:!0}},{modelValue:{type:Array,default:()=>[]},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const{t:a}=J();Ae["vs-input-reference"]=wl,Ae["vs-input-tiptap-editor"]=nl;const r=T(e,"modelValue"),y=_(!1),i=_({}),o=_(null),b=_({}),h=R(()=>{var p;return((p=Ge[o.value])==null?void 0:p.schema)||null}),f=async()=>{if(await i.value.validate()){se({type:"warning",title:a("common.actions.warning"),message:a("builder.editFieldFailed")});return}try{Object.keys(b.value).length!==0&&(r.value=[...r.value||[],{...b.value,id:Math.random().toString(36).substring(2,15),reference_type:o.value}]),y.value=!1,o.value=null,b.value={}}catch(u){console.log(u)}};return Z(y,()=>{y.value||(o.value=null,b.value={})}),(p,u)=>(s(),d("div",null,[t("button",{type:"button",class:"inline-flex items-center px-4 py-2 border border-gray-300 dark:border-gray-600 rounded-md shadow-sm text-sm font-medium text-gray-700 dark:text-gray-200 bg-white dark:bg-gray-700 hover:bg-gray-50 dark:hover:bg-gray-600 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-sky-500",onClick:u[0]||(u[0]=w=>y.value=!y.value)},v(p.$t("builder.create")),1),j(x(Ee),{visible:y.value,"onUpdate:visible":u[6]||(u[6]=w=>y.value=w),position:"right",closeClickBackdrop:!1,onClose:u[7]||(u[7]=w=>y.value=!1),title:o.value?p.$t("builder."+o.value):p.$t("builder.selectType"),size:"50vw"},{footer:U(()=>[t("div",vl,[t("button",{onClick:u[5]||(u[5]=w=>y.value=!1),class:"inline-flex items-center px-3 py-2 text-sm text-black duration-300 border border-gray-200 rounded-lg gap-x-2 whitespace-nowrap hover:bg-gray-100"},v(p.$t("builder.cancel")),1),t("button",{onClick:f,class:"py-2 px-3 inline-flex items-center gap-x-2 text-sm whitespace-nowrap text-white bg-blue-500 rounded-lg !border-gray-200 hover:bg-blue-700 duration-300"},v(p.$t("builder.create")),1)])]),default:U(()=>{var w;return[o.value?(s(),d(N,{key:1},[t("div",ul,[t("div",cl,[t("span",null,v((w=x(le).find(V=>V.id===o.value))==null?void 0:w.text),1)]),t("button",{class:"py-2.5 px-3 mb-4 inline-flex items-center gap-x-2 text-sm whitespace-nowrap text-white bg-blue-500 rounded-lg !border-gray-200 hover:bg-blue-700 duration-300",onClick:u[2]||(u[2]=V=>o.value=null)},v(p.$t("builder.changeType")),1)]),h.value?(s(),q(x(oe),{key:o.value,schema:h.value,modelValue:b.value,"onUpdate:modelValue":u[3]||(u[3]=V=>b.value=V),form:i.value,"onUpdate:form":u[4]||(u[4]=V=>i.value=V)},null,8,["schema","modelValue","form"])):M("",!0)],64)):(s(),q(ol,{key:0,modelValue:o.value,"onUpdate:modelValue":u[1]||(u[1]=V=>o.value=V),options:x(le)},null,8,["modelValue","options"]))]}),_:1},8,["visible","title"])]))}},gl={class:"absolute top-2 right-2 opacity-0 group-hover:opacity-100 transition-opacity flex space-x-1 z-10"},yl={class:"flex items-center justify-between w-full p-4 border-t border-gray-200 dark:border-gray-700"},hl={__name:"vs-form-reference-controls",props:G({title:{type:String,required:!0}},{modelValue:{type:Object,default:()=>({})},modelModifiers:{},parent:{type:Array,default:()=>[]},parentModifiers:{}}),emits:["update:modelValue","update:parent"],setup(e){const{t:a}=J(),r=T(e,"modelValue"),y=T(e,"parent"),i=_(!1),o=_({}),b=_({}),h=R(()=>{var p;return((p=Ge[r.value.reference_type])==null?void 0:p.schema)||null});Z(i,p=>{p&&(o.value={...r.value})});const f=async()=>{try{if(await b.value.validate()){se({type:"warning",title:a("common.actions.warning"),message:a("builder.editFieldFailed")});return}r.value={...o.value},i.value=!1}catch(p){console.log(p)}};return(p,u)=>(s(),d("div",gl,[t("button",{onClick:u[0]||(u[0]=w=>i.value=!i.value),class:"p-1.5 bg-white dark:bg-gray-800 rounded shadow-sm hover:bg-gray-50 dark:hover:bg-gray-700 transition-colors border border-gray-200 dark:border-gray-700"},[j(x(ct),{class:"h-4 w-4 text-gray-400"})]),t("button",{onClick:u[1]||(u[1]=w=>y.value=y.value.filter(V=>V.id!==r.value.id)),class:"p-1.5 bg-white dark:bg-gray-800 rounded shadow-sm hover:bg-red-50 dark:hover:bg-red-900/20 transition-colors border border-gray-200 dark:border-gray-700"},[j(x(re),{class:"h-4 w-4 text-red-500"})]),j(x(Ee),{visible:i.value,"onUpdate:visible":u[5]||(u[5]=w=>i.value=w),onClose:u[6]||(u[6]=w=>i.value=!1),title:e.title,width:"50vw"},{footer:U(()=>[t("div",yl,[t("button",{class:"inline-flex items-center px-3 py-2 text-sm text-black duration-300 border border-gray-200 rounded-lg gap-x-2 whitespace-nowrap hover:bg-gray-100",onClick:u[4]||(u[4]=w=>i.value=!1)},v(p.$t("common.actions.cancel")),1),t("button",{onClick:f,class:"py-2 px-3 inline-flex items-center gap-x-2 text-sm whitespace-nowrap text-white bg-blue-500 rounded-lg !border-gray-200 hover:bg-blue-700 duration-300"},v(p.$t("common.actions.save")),1)])]),default:U(()=>[h.value?(s(),q(x(oe),{key:0,form:b.value,"onUpdate:form":u[2]||(u[2]=w=>b.value=w),schema:h.value,modelValue:o.value,"onUpdate:modelValue":u[3]||(u[3]=w=>o.value=w),class:"-mr-[10px] ml-[10px] mt-[10px]"},null,8,["form","schema","modelValue"])):M("",!0)]),_:1},8,["visible","title"])]))}},bl={class:"w-full"},ml={key:0,class:"relative"},xl={class:"group wireframe-block h-[280px] !p-4 border-2 border-dashed bg-white relative overflow-hidden transition-all rounded-lg shadow-sm border-gray-00 hover:border-gray-400 cursor-grab"},fl=["src"],wl={__name:"vs-form-reference-list",props:G({reference_type:{type:String,required:!0},title:{type:String,required:!0}},{modelValue:{default:()=>[]},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const a=i=>{var o;return(o=le.find(b=>b.id===i))==null?void 0:o.text},r=T(e,"modelValue"),y=R({get(){const i=r.value;return i==null?[]:Array.isArray(i)?i:[]},set(i){r.value=Array.isArray(i)?i:[]}});return Z(r,i=>{i!=null&&!Array.isArray(i)&&(r.value=[])},{immediate:!0}),(i,o)=>{var b;return s(),d("div",bl,[((b=y.value)==null?void 0:b.length)>0?(s(),q(x(ut),{key:0,modelValue:y.value,"onUpdate:modelValue":o[1]||(o[1]=h=>y.value=h),"item-key":"id",handle:".drag-handle",class:"grid grid-cols-1 lg:grid-cols-2 xl:grid-cols-3 gap-4"},{item:U(({element:h,index:f})=>[h!=null&&h.reference_type?(s(),d("div",ml,[t("div",xl,[(s(),d("div",{key:h.id,class:"absolute top-2 left-2 opacity-0 group-hover:opacity-100 border border-gray-200 dark:border-gray-700 transition-opacity cursor-move z-10 bg-white dark:bg-gray-800 rounded p-1 shadow-sm drag-handle"},[j(x(Te),{class:"h-4 w-4 text-gray-400"})])),j(hl,{title:i.$t("builder."+(h==null?void 0:h.reference_type)),modelValue:y.value[f],"onUpdate:modelValue":p=>y.value[f]=p,parent:y.value,"onUpdate:parent":o[0]||(o[0]=p=>y.value=p)},null,8,["title","modelValue","onUpdate:modelValue","parent"]),x(ae)[h==null?void 0:h.reference_type]?(s(),q(Fe(x(ae)[h==null?void 0:h.reference_type]),{key:0,index:f,text:a(h==null?void 0:h.reference_type),count:Array.isArray(h==null?void 0:h.data)?h.data.length:0},null,8,["index","text","count"])):(s(),d("img",{key:1,src:x(Qe),alt:"Team collaboration",class:"w-full h-full object-cover"},null,8,fl))])])):M("",!0)]),_:1},8,["modelValue"])):M("",!0),j(pl,{class:"mt-4",title:e.title,modelValue:y.value,"onUpdate:modelValue":o[2]||(o[2]=h=>y.value=h)},null,8,["title","modelValue"])])}}},kl=["src"],_l={class:"absolute inset-0 bg-black bg-opacity-50 flex items-center justify-center opacity-0 group-hover:opacity-100 transition-opacity rounded-lg gap-2"},$l=["onClick"],Cl=["onClick"],Al=["title"],jl={key:1,class:"relative group"},Ml=["src"],Vl={class:"absolute inset-0 bg-black bg-opacity-50 flex items-center justify-center opacity-0 group-hover:opacity-100 transition-opacity rounded-lg gap-2"},Sl=["title"],Bl={key:2,class:"absolute inset-0 bg-white bg-opacity-75 flex items-center justify-center rounded-lg z-10"},ql={class:"flex flex-col items-center gap-2"},zl={class:"text-xs text-gray-600"},El=["multiple","disabled"],Fl={class:"whitespace-nowrap text-sm"},Il={class:"whitespace-nowrap text-sm"},Ll={class:"flex items-center justify-between p-4 border-b"},Dl={class:"text-lg font-semibold"},Tl={class:"flex items-center justify-between gap-4 p-4 border-b"},Ql={class:"relative z-[1] rounded-xl text-card-foreground shadow-lg border-0 bg-white dark:bg-slate-800 backdrop-blur-sm mb-6 p-4 mx-4"},Gl={class:"flex items-center justify-between gap-4"},Ul={class:"flex items-center gap-4 flex-1"},Zl={class:"relative flex-1 max-w-md"},Nl=["placeholder"],Wl={class:"flex items-center gap-2 relative"},Rl={class:"text-xs font-bold"},Pl={class:"text-xs font-bold"},Yl={key:0,class:"w-full absolute top-full left-1/2 transform -translate-x-1/2 mt-2 z-50 bg-white dark:bg-slate-700 flex flex-col items-start border border-slate-200 dark:border-slate-600 rounded-md shadow-lg"},Ol={class:"flex items-center gap-2"},Jl={class:"flex flex-col gap-4 overflow-y-auto p-4 flex-1"},Kl={class:"p-4 border-t flex items-center justify-between"},Hl={key:0,class:"text-sm text-gray-600 dark:text-gray-400"},Xl={key:1},ea=["disabled"],xa={__name:"vs-form-media-select",props:G({multiple:{type:Boolean,default:!1},multi:{type:Boolean,default:!1}},{modelValue:{},modelModifiers:{}}),emits:G(["change"],["update:modelValue"]),setup(e,{emit:a}){const{t:r}=J(),y=Xe(),i=et(),o=T(e,"modelValue"),b=a,h=e,f=R(()=>h.multiple||h.multi),p=_(null),u=R(()=>o.value||p.value),w=R(()=>{if(!f.value)return[];const l=u.value;return l?Array.isArray(l)?l:[l]:[]}),V=R(()=>u.value?typeof u.value=="object"?u.value.filename||u.value.file_name||u.value.native_file_name||"File":typeof u.value=="string"?u.value.split("/").pop()||u.value:"File":""),$=_(!1),A=_(!1),m=_("grid"),F=_([]),C=_([]),Q=_([]),S=_(),z=_([]),ie=_(null),D=_(!1),K=_(null),de=_(null),me=_({}),W=_(""),P=_(!1),H=_("name"),Ue=new Map([["name",r("media.sortBy.name")],["filesize",r("media.sortBy.filesize")]]),ne=l=>typeof l=="string"?l:(l==null?void 0:l.filepath)||(l==null?void 0:l.file_path)||l,xe=l=>l?typeof l=="string"?l.split("/").pop()||l:l.filename||l.file_name||l.native_file_name||"File":"",Ze=l=>typeof l=="string"?l:(l==null?void 0:l.preview)||`/file/resize?filepath=${ne(l)}&h=137&quality=75`,Ne=()=>{ie.value&&ie.value.click()},We=()=>{$.value=!$.value,$.value&&Re()},Re=()=>{if(K.value){const l=K.value.getBoundingClientRect();me.value={top:`${l.bottom+10}px`,left:`${l.left+l.width/2}px`,transform:"translateX(-50%)",width:"200px"}}},fe=l=>{var n;if(l.type==="dir")we([...F.value,l.name]);else if(f.value){const c=z.value.findIndex(g=>g.id===l.id);c>=0?z.value.splice(c,1):z.value.push(l)}else S.value=l.id===((n=S.value)==null?void 0:n.id)?null:l},X=l=>{H.value=l,P.value=!1,C.value=C.value.sort((n,c)=>{var g;if((n==null?void 0:n.type)==="dir")return-1;if(l==="name")return(g=n==null?void 0:n.name)==null?void 0:g.localeCompare(c==null?void 0:c.name);if(l==="filesize")return(c==null?void 0:c.filesize)-(n==null?void 0:n.filesize)})},Pe=async()=>{try{const l=F.value.join("/"),c=await(await fetch(`/api/cms-media?subdir=${l}${W.value?"&search="+W.value:""}`,{method:"GET"})).json();c.data?(C.value=c.data.map(g=>({...g,id:g.type==="dir"?`dir-${g.name}`:g.id,preview:`/file/resize?filepath=${g.filepath}&h=137&quality=75`})),X(H.value)):C.value=[]}catch(l){console.error("Search error:",l),C.value=[]}},Ye=()=>{if(f.value){if(z.value.length>0){const l=Array.isArray(o.value)?[...o.value]:o.value?[o.value]:[],n=Array.isArray(p.value)?[...p.value]:p.value?[p.value]:[];z.value.forEach(c=>{const g=c.filepath||c.file_path;l.some(k=>(typeof k=="string"?k:(k==null?void 0:k.filepath)||(k==null?void 0:k.file_path))===g)||(l.push(g),n.push(c))}),o&&(o.value=l),p.value=n,b("change",l),z.value=[]}}else if(S.value){const l=S.value.filepath||S.value.file_path;o&&(o.value=l),p.value=S.value,b("change",l),S.value=null}ue()},ue=()=>{A.value=!1},we=l=>{F.value=l,Q.value=[...Q.value,l],S.value=null,f.value&&(z.value=[]),ce()},Oe=()=>{Q.value.length>1&&(Q.value.pop(),F.value=Q.value[Q.value.length-1],S.value=null,f.value&&(z.value=[]),ce())},ce=async()=>{try{const l=F.value.join("/"),c=await(await fetch(`/api/cms-media?subdir=${l}${W.value?"&search="+W.value:""}`,{method:"GET"})).json();c.data?(C.value=c.data.map(g=>({...g,id:g.type==="dir"?`dir-${g.name}`:g.id,preview:`/file/resize?filepath=${g.filepath}&h=137&quality=75`})),X(H.value)):C.value=[]}catch(l){console.error("Fetch error:",l),C.value=[]}},ke=async(l,n)=>{try{const c=typeof l=="string"?l:ne(l);if(await fetch(`/file/delete${c}`),f.value){const g=Array.isArray(o.value)?[...o.value]:[],k=Array.isArray(p.value)?[...p.value]:[];if(n!==void 0&&n>=0)g.splice(n,1),k.splice(n,1);else{const B=g.findIndex(E=>(typeof E=="string"?E:(E==null?void 0:E.filepath)||(E==null?void 0:E.file_path))===c);B>=0&&(g.splice(B,1),k.splice(B,1))}o&&(o.value=g.length>0?g:null),p.value=k.length>0?k:null,b("change",g.length>0?g:null)}else o&&(o.value=null),p.value=null,b("change",null);return!0}catch(c){return console.error(c),!1}},_e=async l=>{try{const n=await fetch(`/file/download/files/uploads${l}`),c=await n.arrayBuffer(),g=n.headers["content-type"],k=new TextDecoder("utf-8").decode(c),B=new Blob([k],{type:g}),E=document.createElement("a");E.setAttribute("download",l),E.href=window.URL.createObjectURL(B),E.click()}catch(n){console.error(n.message)}},Je=async l=>{if(!l.target.files||l.target.files.length===0)return;const n=Array.from(l.target.files);console.log("Uploading files:",n),D.value=!0;try{const c=[];for(const g of n){const k=new FormData;k.append("file",g);const B=await fetch("/file/upload/uploads?id=1&form=form&table=table",{method:"POST",body:k});if(!B.ok)throw new Error(`Upload failed: ${B.status}`);const E=await B.json();console.log("Upload result:",E);const L=E.result,Ke={file_id:L.file_id,file_name:L.file_name,file_path:L.file_path,filepath:L.file_path,format:L.format,size:L.size,entity_id:L.entity_id,dir:L.dir,native_file_name:L.native_file_name,preview:`/file/resize?filepath=${L.file_path}&h=137&quality=75`};c.push(Ke)}if(f.value){const g=Array.isArray(o.value)?[...o.value]:o.value?[o.value]:[],k=Array.isArray(p.value)?[...p.value]:p.value?[p.value]:[];c.forEach(B=>{g.push(B.file_path),k.push(B)}),o&&(o.value=g),p.value=k,b("change",g)}else{const g=c[0];o&&(o.value=g.file_path),p.value=g,b("change",g.file_path)}$.value=!1}catch(c){console.error("Upload error:",c),alert("Помилка завантаження файлу: "+c.message)}finally{D.value=!1}l.target.value=""};Z(A,l=>{l&&ce()}),Z(F,l=>{l.length>0?i.push({query:{path:l.join("/")}}):i.push({query:{path:void 0}})});let $e;return Z(W,l=>{clearTimeout($e),$e=setTimeout(()=>{Pe()},500)}),Z(o,l=>{var n,c,g,k;if(l&&typeof l=="object"){const B=((n=S.value)==null?void 0:n.filepath)||((c=S.value)==null?void 0:c.file_path);l.filepath!==B&&l.file_path!==B&&(S.value=null)}else if(l&&typeof l=="string"){const B=((g=S.value)==null?void 0:g.filepath)||((k=S.value)==null?void 0:k.file_path);l!==B&&(S.value=null)}}),he(()=>{var n,c;F.value=((c=(n=y.query)==null?void 0:n.path)==null?void 0:c.split("/"))||[],Q.value=[[]],o.value||(S.value=null);const l=g=>{var k;$.value&&!((k=K.value)!=null&&k.contains(g.target))&&($.value=!1),P.value&&de.value&&!de.value.contains(g.target)&&(P.value=!1)};document.addEventListener("click",l)}),(l,n)=>(s(),d(N,null,[t("div",lt(l.$attrs,{class:"flex gap-4 flex-wrap"}),[f.value?(s(!0),d(N,{key:0},Y(w.value,(c,g)=>(s(),d("div",{key:g,class:"relative group"},[t("img",{src:Ze(c),alt:"Selected File",class:"w-32 h-32 object-cover rounded-lg"},null,8,kl),t("div",_l,[t("button",{type:"button",onClick:k=>ke(c,g),class:"p-2 rounded-full bg-red-500 text-white hover:bg-red-600 transition-colors"},[j(x(re),{class:"w-4 h-4"})],8,$l),t("button",{type:"button",onClick:k=>_e(ne(c)),class:"p-2 rounded-full bg-blue-500 text-white hover:bg-blue-600 transition-colors"},[j(x(ve),{class:"w-4 h-4"})],8,Cl)]),t("div",{class:"absolute bottom-full left-0 mb-2 px-3 py-1.5 bg-gray-900 text-white text-xs rounded-lg opacity-0 group-hover:opacity-100 transition-opacity pointer-events-none whitespace-nowrap z-10 max-w-[200px] truncate",title:xe(c)},[te(v(xe(c))+" ",1),n[12]||(n[12]=t("div",{class:"absolute top-full left-4 border-4 border-transparent border-t-gray-900"},null,-1))],8,Al)]))),128)):u.value?(s(),d("div",jl,[t("img",{src:u.value.preview||u.value,alt:"Selected File",class:"w-32 h-32 object-cover rounded-lg"},null,8,Ml),t("div",Vl,[t("button",{type:"button",onClick:n[0]||(n[0]=c=>{var g,k;return ke(((g=u.value)==null?void 0:g.filepath)||((k=u.value)==null?void 0:k.file_path)||u.value)}),class:"p-2 rounded-full bg-red-500 text-white hover:bg-red-600 transition-colors"},[j(x(re),{class:"w-4 h-4"})]),t("button",{type:"button",onClick:n[1]||(n[1]=c=>{var g,k;return _e(((g=u.value)==null?void 0:g.filepath)||((k=u.value)==null?void 0:k.file_path)||u.value)}),class:"p-2 rounded-full bg-blue-500 text-white hover:bg-blue-600 transition-colors"},[j(x(ve),{class:"w-4 h-4"})])]),t("div",{class:"absolute bottom-full left-0 mb-2 px-3 py-1.5 bg-gray-900 text-white text-xs rounded-lg opacity-0 group-hover:opacity-100 transition-opacity pointer-events-none whitespace-nowrap z-10 max-w-[200px] truncate",title:V.value},[te(v(V.value)+" ",1),n[13]||(n[13]=t("div",{class:"absolute top-full left-4 border-4 border-transparent border-t-gray-900"},null,-1))],8,Sl)])):M("",!0),t("div",{ref_key:"triggerButton",ref:K,class:O(["relative w-32 h-32 flex items-center justify-center border border-dotted border-gray-300 rounded-lg hover:border-blue-500 hover:bg-blue-500/10 hover:cursor-pointer transition-all",{"border-blue-500 bg-blue-500/10":$.value,"opacity-50 cursor-not-allowed":D.value}]),onClick:We},[D.value?(s(),q(x(pe),{key:0,class:"w-4 h-4 animate-spin text-blue-500"})):(s(),q(x(ge),{key:1,class:"w-4 h-4"})),D.value?(s(),d("div",Bl,[t("div",ql,[j(x(pe),{class:"w-6 h-6 animate-spin text-blue-500"}),t("span",zl,v(l.$t("media.uploading")),1)])])):M("",!0),(s(),q(Ce,{to:"body"},[$.value?(s(),d("div",{key:0,class:"fixed bg-white z-50 border border-gray-200 rounded-lg shadow-lg flex flex-col items-center justify-center",style:tt(me.value)},[t("div",{class:O(["relative overflow-hidden flex justify-start items-center w-full gap-2 p-4 hover:bg-blue-50 text-blue-700 border hover:border-blue-200 dark:bg-slate-700 dark:text-slate-100 hover:cursor-pointer",{"opacity-50 cursor-not-allowed":D.value}]),onClick:n[3]||(n[3]=c=>!D.value&&Ne())},[t("input",{type:"file",ref_key:"fileInput",ref:ie,class:"absolute justify-center bottom-0 left-0 w-full opacity-0",onChange:Je,onClick:n[2]||(n[2]=ee(()=>{},["stop"])),multiple:f.value,disabled:D.value},null,40,El),D.value?(s(),q(x(pe),{key:0,class:"w-4 h-4 animate-spin"})):(s(),q(x(ve),{key:1})),t("span",Fl,v(D.value?l.$t("media.uploading"):l.$t("media.upload")),1)],2),t("div",{onClick:n[4]||(n[4]=c=>A.value=!0),class:"flex justify-start items-center w-full gap-2 p-4 hover:bg-blue-50 text-blue-700 border hover:border-blue-200 dark:bg-slate-700 dark:text-slate-100 hover:cursor-pointer"},[j(x(rt)),t("span",Il,v(l.$t("media.selectFromMedia")),1)])],4)):M("",!0)]))],2)],16),(s(),q(Ce,{to:"body"},[A.value?(s(),d("div",{key:0,class:"fixed inset-0 z-50 flex items-center justify-center bg-black bg-opacity-50",onClick:ue},[t("div",{class:"bg-white rounded-lg shadow-xl max-w-4xl w-full mx-4 max-h-[90vh] flex flex-col",onClick:n[11]||(n[11]=ee(()=>{},["stop"]))},[t("div",Ll,[t("h3",Dl,v(l.$t("media.selectFiles")),1),t("button",{onClick:ue,class:"text-gray-400 hover:text-gray-600"},[...n[14]||(n[14]=[t("svg",{class:"w-6 h-6",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18L18 6M6 6l12 12"})],-1)])])]),t("div",Tl,[j(vt,{"current-path":F.value,onNavigate:we,onNavigateBack:Oe},null,8,["current-path"])]),t("div",Ql,[t("div",Gl,[t("div",Ul,[t("div",Zl,[j(x(yt),{class:"absolute left-3 top-1/2 transform -translate-y-1/2 w-4 h-4 text-slate-400 dark:text-slate-500"}),Le(t("input",{type:"text",placeholder:l.$t("media.search"),class:"w-full pl-10 pr-4 py-2 text-sm border border-slate-200 dark:border-slate-600 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent bg-white dark:bg-slate-700 text-slate-700 dark:text-slate-200 placeholder-slate-400 dark:placeholder-slate-500","onUpdate:modelValue":n[5]||(n[5]=c=>W.value=c)},null,8,Nl),[[De,W.value]])]),t("div",Wl,[t("span",Rl,v(l.$t("media.sortBy.title")+": "),1),t("button",{ref_key:"sortByButton",ref:de,class:"relative z-[1000] inline-flex items-center justify-center gap-2 whitespace-nowrap font-medium transition-colors border shadow-sm h-8 rounded-md px-3 text-xs bg-white border-slate-300 text-slate-700 disabled:pointer-events-none disabled:opacity-50 hover:text-accent-foreground hover:bg-slate-50 dark:bg-slate-700 dark:border-slate-600 dark:text-slate-300 dark:hover:bg-slate-600",onClick:n[8]||(n[8]=c=>P.value=!P.value)},[j(x(at),{class:"w-4 h-4"}),t("span",Pl,v(x(Ue).get(H.value)),1),P.value?(s(),d("div",Yl,[t("span",{class:"text-left text-xs font-bold w-full p-2 hover:bg-slate-100 dark:hover:bg-slate-600 border-b border-slate-200 dark:border-slate-600 cursor-pointer",onClick:n[6]||(n[6]=ee(c=>X("name"),["stop"]))},v(l.$t("media.sortBy.name")),1),t("span",{class:"text-left text-xs font-bold w-full p-2 hover:bg-slate-100 dark:hover:bg-slate-600 cursor-pointer",onClick:n[7]||(n[7]=ee(c=>X("filesize"),["stop"]))},v(l.$t("media.sortBy.filesize")),1)])):M("",!0)],512)])]),t("div",Ol,[t("button",{class:O(["inline-flex items-center justify-center whitespace-nowrap font-medium transition-colors disabled:pointer-events-none disabled:opacity-50 h-8 px-3 text-xs rounded-md",{"shadow bg-blue-600 hover:bg-blue-700 text-white":m.value==="grid","border shadow-sm hover:text-accent-foreground bg-white dark:bg-slate-700 border-slate-300 dark:border-slate-600 text-slate-700 dark:text-slate-300 hover:bg-slate-50 dark:hover:bg-slate-600":m.value==="list"}]),onClick:n[9]||(n[9]=c=>m.value="grid")},[j(x(bt),{class:"w-4 h-4"})],2),t("button",{class:O(["inline-flex items-center justify-center whitespace-nowrap font-medium transition-colors disabled:pointer-events-none disabled:opacity-50 h-8 px-3 text-xs rounded-md",{"shadow bg-blue-600 hover:bg-blue-700 text-white":m.value==="list","border shadow-sm hover:text-accent-foreground bg-white dark:bg-slate-700 border-slate-300 dark:border-slate-600 text-slate-700 dark:text-slate-300 hover:bg-slate-50 dark:hover:bg-slate-600":m.value==="grid"}]),onClick:n[10]||(n[10]=c=>m.value="list")},[j(x(ht),{class:"w-4 h-4"})],2)])])]),t("div",Jl,[m.value==="grid"?(s(),q(pt,{key:0,files:C.value,"selected-file":f.value?null:S.value,"selected-files":f.value?z.value:[],onFileClick:fe},null,8,["files","selected-file","selected-files"])):(s(),q(gt,{key:1,files:C.value,"selected-file":f.value?null:S.value,"selected-files":f.value?z.value:[],onFileClick:fe},null,8,["files","selected-file","selected-files"]))]),t("div",Kl,[f.value&&z.value.length>0?(s(),d("div",Hl,v(l.$t("media.selectedFiles",{count:z.value.length})),1)):(s(),d("div",Xl)),t("button",{onClick:Ye,disabled:f.value?z.value.length===0:!S.value,class:"flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium disabled:pointer-events-none disabled:opacity-50 h-9 px-4 py-2 ml-auto bg-blue-600 hover:bg-blue-700 text-white shadow-md hover:shadow-lg transition-all duration-200 transform hover:scale-105"},[j(x(ge),{class:"w-4 h-4 mr-2"}),te(" "+v(l.$t("common.actions.add")),1)],8,ea)])])])):M("",!0)]))],64))}},ta={};function ra(e,a){const r=Ie("vs-richtext-md",!0);return s(),q(r,{class:"w-full h-[300px]"})}const fa=be(ta,[["render",ra]]),la={props:{min:{type:Number},step:{type:Number,default:()=>1},max:{type:Number,default:()=>1/0},modelValue:{type:Number,default:()=>null},label:{type:String,default:()=>""},placeholder:{type:String,default:()=>"0"},disabled:{type:Boolean,default:()=>!1}},data(){return{id:`input-number-${Math.floor(Math.random()*1e3)}`,inputValue:this.modelValue}},watch:{modelValue(e){this.inputValue=e},inputValue(e){this.$emit("update:modelValue",e)}},methods:{validateInput(e){(e.key==="+"||e.key===","||e.key==="."||e.key==="-"&&this.inputValue&&this.inputValue.toString().length>0)&&e.preventDefault()},handleBlur(){let e=parseFloat(this.inputValue);this.$emit("blur"),isNaN(e)?e=this.min:e>this.max?e=this.max:e<this.min&&(e=this.min),this.inputValue=e,this.$emit("update:modelValue",this.inputValue)}}},aa={class:"p-0"},sa=["step","min","max","id","placeholder","disabled"];function oa(e,a,r,y,i,o){return s(),d("div",aa,[st(e.$slots,"label",ot(it({id:i.id}))),Le(t("input",{"onUpdate:modelValue":a[0]||(a[0]=b=>i.inputValue=b),type:"number",onKeydown:a[1]||(a[1]=(...b)=>o.validateInput&&o.validateInput(...b)),onBlur:a[2]||(a[2]=(...b)=>o.handleBlur&&o.handleBlur(...b)),step:r.step,min:r.min,max:r.max,id:i.id,"aria-describedby":"helper-text-explanation",class:O(["vs-number__input py-2 px-3 block w-full h-[38px] border border-solid border-stone-200 rounded-lg text-sm text-stone-800 placeholder:text-stone-500 focus:z-10 focus:border-1 focus:outline-none focus:border-blue-600 dark:bg-neutral-800 dark:border-neutral-700 dark:text-neutral-200 dark:placeholder:text-neutral-500 dark:focus:outline-none dark:focus:ring-1 dark:focus:ring-neutral-600",{"cursor-not-allowed":r.disabled}]),placeholder:r.placeholder,disabled:r.disabled},null,42,sa),[[De,i.inputValue]])])}const wa=be(la,[["render",oa]]),ka={__name:"vs-form-reletion-link",props:G({relation:{type:String,required:!0}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const a=T(e,"modelValue"),r=e,y=_([]);return he(async()=>{const b=await(await fetch(`/api/cms-suggest/${r.relation}`)).json();y.value=b==null?void 0:b.data}),(o,b)=>{var h;return(h=y.value)!=null&&h.length?(s(),q(x(dt),{key:0,mode:"combo",modelValue:a.value,"onUpdate:modelValue":b[0]||(b[0]=f=>a.value=f),options:y.value},null,8,["modelValue","options"])):M("",!0)}}};export{nl as V,ma as _,wl as a,xa as b,fa as c,wa as d,ka as e,mt as g};
@@ -1 +0,0 @@
1
- .ui-dialog__wrapper[data-v-6d0970a6]{position:relative}.ui-dialog__modal[data-v-6d0970a6]{margin:10px;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);min-height:0;height:-moz-fit-content;height:fit-content;max-height:80vh;overflow:hidden}.ui-dialog__content[data-v-6d0970a6]{min-height:0;height:100%;overflow:auto}.ui-dialog__content[data-v-6d0970a6]::-webkit-scrollbar{width:6px;height:6px;background-color:#f5f5f5}.ui-dialog__content[data-v-6d0970a6]::-webkit-scrollbar-thumb{border-radius:10px;background-color:#d9d9d9bf}.ui-dialog__content[data-v-6d0970a6]::-webkit-scrollbar-track{background-color:#f5f5f5}@media (max-width: 650px){.ui-dialog__modal[data-v-6d0970a6]{top:50%}}.fade-enter-active[data-v-6d0970a6],.fade-leave-active[data-v-6d0970a6]{transition:opacity .2s}.fade-enter-from[data-v-6d0970a6],.fade-leave-to[data-v-6d0970a6]{opacity:0}.content-enter-active[data-v-6d0970a6],.content-leave-active[data-v-6d0970a6]{transition:transform .4s}.content-enter-from[data-v-6d0970a6],.content-leave-to[data-v-6d0970a6]{transform:translate(-50%,-50%) scale(.95)}.col-error .vs-form-text input[data-v-749b581f]{border:1px solid red}.vs-form-text[data-v-749b581f]{position:relative}.vs-form-text__input[data-v-749b581f]::-moz-placeholder{opacity:.5}.vs-form-text__input[data-v-749b581f]::placeholder{opacity:.5}.fade-enter-active,.fade-leave-active{transition:opacity .3s}.fade-enter-from,.fade-leave-to{opacity:0}.heading-level-1[data-v-ef7c378e]{font-weight:700;font-size:30px}.heading-level-2[data-v-ef7c378e]{font-weight:700;font-size:26px}.heading-level-3[data-v-ef7c378e]{font-weight:700;font-size:22px}.heading-level-4[data-v-ef7c378e]{font-weight:700;font-size:18px}.heading-level-5[data-v-ef7c378e]{font-weight:500;font-size:16px}.heading-level-6[data-v-ef7c378e]{font-weight:400;font-size:14px}.flex>button[data-v-b5a7cc5a]:first-child{border-top-right-radius:0;border-bottom-right-radius:0}.flex>button[data-v-b5a7cc5a]:last-child{border-top-left-radius:0;border-bottom-left-radius:0}.flex:hover button[data-v-b5a7cc5a]:first-child{border-right-color:transparent}code[data-v-72ce3024]{font-family:Courier New,monospace;font-size:11px}.vs-editor-html-mode[data-v-99a48167]{display:flex;align-items:center;gap:4px;padding:6px 8px;border:1px solid #d1d5db;border-radius:4px;background-color:#fff;color:#374151;font-size:12px;font-weight:500;cursor:pointer;transition:all .2s ease;min-width:60px;justify-content:center}.vs-editor-html-mode[data-v-99a48167]:hover{background-color:#f3f4f6;border-color:#9ca3af}.vs-editor-html-mode.is-active[data-v-99a48167]{background-color:#3b82f6;border-color:#3b82f6;color:#fff}.vs-editor-html-mode.is-active[data-v-99a48167]:hover{background-color:#2563eb;border-color:#2563eb}.vs-editor-html-mode__text[data-v-99a48167]{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.vs-editor-html-mode svg[data-v-99a48167]{flex-shrink:0}.monaco-editor-container[data-v-b1d773a1]{position:relative;width:100%;height:100%;border-radius:4px;border:1px solid #e5e7eb;overflow:visible}.monaco-editor-container[data-v-b1d773a1]:focus-within{border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f61a}.dark .monaco-editor-container[data-v-b1d773a1]{border-color:#374151}.dark .monaco-editor-container[data-v-b1d773a1]:focus-within{border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f61a}.monaco-editor-container .monaco-editor[data-v-b1d773a1]{position:relative!important;width:100%!important;height:100%!important}.monaco-editor-container .monaco-editor .view-lines[data-v-b1d773a1],.monaco-editor-container .monaco-editor .view-overlays[data-v-b1d773a1],.monaco-editor-container .monaco-editor .margin[data-v-b1d773a1]{position:relative}.monaco-editor .html-tag[data-v-b1d773a1]{color:#4fc1ff!important;font-weight:700}.monaco-editor .html-attribute[data-v-b1d773a1]{color:#9cdcfe!important}.monaco-editor .html-attribute-value[data-v-b1d773a1]{color:#ff6b6b!important}.monaco-editor .html-comment[data-v-b1d773a1]{color:#6a9955!important;font-style:italic}.monaco-editor .html-string[data-v-b1d773a1]{color:#ff6b6b!important}.monaco-editor .html-keyword[data-v-b1d773a1]{color:#4fc1ff!important;font-weight:700}.monaco-editor.vs .html-tag[data-v-b1d773a1]{color:#06c!important;font-weight:700}.monaco-editor.vs .html-attribute[data-v-b1d773a1]{color:#00f!important}.monaco-editor.vs .html-attribute-value[data-v-b1d773a1]{color:#c00!important}.monaco-editor.vs .html-comment[data-v-b1d773a1]{color:green!important;font-style:italic}.monaco-editor.vs .html-string[data-v-b1d773a1]{color:#c00!important}.monaco-editor.vs .html-keyword[data-v-b1d773a1]{color:#06c!important;font-weight:700}.monaco-editor .token.tag[data-v-b1d773a1]{color:#4fc1ff!important;font-weight:700}.monaco-editor .token.attribute.name[data-v-b1d773a1]{color:#9cdcfe!important}.monaco-editor .token.attribute.value[data-v-b1d773a1],.monaco-editor .token.string[data-v-b1d773a1]{color:#ff6b6b!important}.monaco-editor .token.comment[data-v-b1d773a1]{color:#6a9955!important;font-style:italic}.monaco-editor.vs .token.tag[data-v-b1d773a1]{color:#06c!important;font-weight:700}.monaco-editor.vs .token.attribute.name[data-v-b1d773a1]{color:#00f!important}.monaco-editor.vs .token.attribute.value[data-v-b1d773a1],.monaco-editor.vs .token.string[data-v-b1d773a1]{color:#c00!important}.monaco-editor.vs .token.comment[data-v-b1d773a1]{color:green!important;font-style:italic}.editor-content{min-height:160px;width:100%;overflow:auto;max-height:500px;position:relative}.fixed .editor-content{max-height:none;height:calc(100vh - 60px)}.html-source-editor{width:100%;height:100%;overflow:auto;max-height:500px}.editor-content ul{margin-left:20px}.editor-content ul>li{list-style:disc}.editor-content ol{list-style-type:decimal;margin-left:20px}.editor-content pre{background-color:#e7e7e7;border-radius:4px;padding:0 4px}.editor-content a{color:#00f;text-decoration:underline}.editor-content table{width:100%;table-layout:fixed;border-collapse:collapse;text-align:left;margin:20px 0;font-family:Arial,sans-serif;font-size:14px;position:relative}.editor-content thead{position:sticky;top:0;z-index:10}.editor-content th,.editor-content td{border:1px solid #ccc;padding:10px;position:relative}.editor-content th{background-color:#f4f4f4;font-weight:700;position:sticky;top:0;z-index:10}.editor-content tr:nth-child(2n){background-color:#f9f9f9}.editor-content tr:nth-child(odd){background-color:#fff}.editor-content .editor-image{display:inline-block;vertical-align:middle;margin:0;border:2px solid transparent;border-radius:4px;transition:border-color .2s ease}.editor-content .editor-image[width][height]{max-width:none!important;max-height:none!important;min-width:auto!important;min-height:auto!important;-o-object-fit:fill!important;object-fit:fill!important}.editor-content .editor-image[style*=width]{max-width:none!important}.editor-content .editor-image[style*=height]{max-height:none!important}.editor-content .editor-image[style*=width][style*=height]{max-width:none!important;max-height:none!important}.editor-content .editor-image[width]:not([height]){height:auto}.editor-content .editor-image[height]:not([width]){width:auto}.editor-content .editor-image:not([width]):not([height]):not([style*=width]):not([style*=height]){height:auto;width:auto;max-width:100%}.editor-content .editor-image.ProseMirror-selectednode,.editor-content .ProseMirror-selectednode.editor-image{border:2px solid #3b82f6;box-shadow:0 0 0 2px #3b82f633}.editor-content p:has(.editor-image){display:flex;flex-wrap:wrap;align-items:flex-start;gap:8px;line-height:1.5}.editor-content p:has(.editor-image)[style*="text-align: center"],.editor-content p:has(.editor-image)[style*="text-align:center"]{justify-content:center}.editor-content p:has(.editor-image)[style*="text-align: right"],.editor-content p:has(.editor-image)[style*="text-align:right"]{justify-content:flex-end}.editor-content p:has(.editor-image)[style*="text-align: left"],.editor-content p:has(.editor-image)[style*="text-align:left"]{justify-content:flex-start}.editor-content p:has(.editor-image)[style*="text-align: justify"],.editor-content p:has(.editor-image)[style*="text-align:justify"]{justify-content:space-between}.editor-content p:has(.editor-image):not(:has(text)){margin:8px 0}.editor-content p .editor-image{flex-shrink:0;max-width:calc(50% - 4px);-o-object-fit:contain;object-fit:contain}.editor-content p .editor-image:only-child{max-width:100%}.editor-content p .editor-image:nth-child(1):nth-last-child(2),.editor-content p .editor-image:nth-child(2):nth-last-child(1){max-width:calc(50% - 4px)}.editor-content p .editor-image:nth-child(1):nth-last-child(3),.editor-content p .editor-image:nth-child(2):nth-last-child(2),.editor-content p .editor-image:nth-child(3):nth-last-child(1){max-width:calc(33.333% - 6px)}.editor-content p .editor-image:nth-child(n+4){max-width:calc(33.333% - 6px)}.ProseMirror-focused{outline:none}.editor-toolbar{background-color:#f9fafb}.editor-page-content{min-height:160px;width:100%;overflow:auto;position:relative}.fixed .editor-page-content{max-height:none;height:calc(100vh - 117px)}.html-source-editor{width:100%;height:100%;overflow:auto}.fixed .html-source-editor{height:calc(100vh - 60px);max-height:none}button{transition:background-color .2s ease;outline:none}button:focus{outline:none}.editor-page-content ul{margin-left:20px}.editor-page-content ul>li{list-style:disc}.editor-page-content ol{list-style-type:decimal;margin-left:20px}.editor-page-content pre{background-color:#e7e7e7;border-radius:4px;padding:0 4px}.editor-code{background-color:#f1f1f1;border-radius:3px;padding:2px 4px;font-family:Courier New,monospace;font-size:.9em}.editor-codeblock{background-color:#f8f8f8;border:1px solid #e1e1e1;border-radius:4px;padding:12px;margin:8px 0;font-family:Courier New,monospace;overflow-x:auto}.editor-page-content a{color:#00f;text-decoration:underline}.editor-page-content table{width:100%;table-layout:fixed;border-collapse:collapse;text-align:left;margin:20px 0;font-family:Arial,sans-serif;font-size:14px;position:relative}.editor-page-content thead{position:sticky;top:0;z-index:10}.editor-page-content th,.editor-page-content td{border:1px solid #ccc;padding:10px;position:relative}.editor-page-content th{background-color:#f4f4f4;font-weight:700;position:sticky;top:0;z-index:10}.editor-page-content tr:nth-child(2n){background-color:#f9f9f9}.editor-page-content tr:nth-child(odd){background-color:#fff}.selectedCell{background:#f0eeed}.column-resize-handle{background-color:#1d4ed8;bottom:-2px;pointer-events:none;position:absolute;right:-2px;top:0;width:4px}.resize-cursor{cursor:ew-resize;cursor:col-resize}.editor-link{color:#00f}.editor-link:hover{text-decoration:underline}blockquote{font-style:italic;quotes:"«" "»";text-indent:16px}blockquote>p{display:inline}blockquote:before{content:open-quote;display:inline;font-size:18px;margin-right:2px}blockquote:after{content:close-quote;font-size:18px;display:inline;margin-left:2px}.html-source-editor{width:100%;height:100%}.col-error .vs-number__input{border:1px solid red}.vs-number__input::-moz-placeholder{opacity:.5}.vs-number__input::placeholder{opacity:.5}
@@ -1 +0,0 @@
1
- import{e as f,q as d,m as i,bV as p,z as h,G as v,b5 as y,b3 as b,aH as m}from"./index-yMJAVBXk.js";let g;function w(){return g}function H(e){return typeof e=="function"?e():f(e)}function r(e){if(e instanceof Promise||e instanceof Date||e instanceof RegExp)return e;const n=H(e);if(!e||!n)return n;if(Array.isArray(n))return n.map(t=>r(t));if(typeof n=="object"){const t={};for(const a in n)if(Object.prototype.hasOwnProperty.call(n,a)){if(a==="titleTemplate"||a[0]==="o"&&a[1]==="n"){t[a]=f(n[a]);continue}t[a]=r(n[a])}return t}return n}const _="usehead",c=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},u="__unhead_injection_handler__";function j(){return u in c?c[u]():d(_)||w()}function T(e,n={}){const t=n.head||j();if(t)return t.ssr?t.push(e,n):A(t,e,n)}function A(e,n,t={}){const a=i(!1),o=i({});p(()=>{o.value=a.value?{}:r(n)});const s=e.push(o.value,t);return h(o,l=>{s.patch(l)}),m()&&(v(()=>{s.dispose()}),y(()=>{a.value=!0}),b(()=>{a.value=!1})),s}export{T as u};