PageSourceSearch

https://medon.lv/assets/useAppNotifications-CLPhjmlT.js

js medon.lv collected 2026-09-25 07:42:44 UTC 1,679 bytes, 1 lines download raw bytes

1import{A as e}from"./notification-DP_a1qS2.js";import{t}from"./chunk-62JRHF6Z-B_bjtN1J.js";import{a as c}from"./addRouteTranslations-COy-KLhr.js";import{b as i}from"./I18nProvider-Ca6s5pTt.js";const u={"notifications:success-title":"Success!","notifications:updated-successfully":"Data updated successfully","notifications:created-successfully":"Entry created successfully","notifications:deleted-successfully":"Entry deleted successfully","notifications:logged-out":"👋 You've been logged out"},o={"notifications:success-title":"Gatavs!","notifications:updated-successfully":"Dati veiksmīgi atjaunināti","notifications:created-successfully":"Ieraksts veiksmīgi izveidots","notifications:deleted-successfully":"Ieraksts veiksmīgi dzēsts","notifications:logged-out":"👋 Tu esi izrakstījies"},l={"notifications:success-title":"Готово!","notifications:updated-successfully":"Данные успешно обновлены","notifications:created-successfully":"Запись успешно создана","notifications:deleted-successfully":"Запись успешно удалена","notifications:logged-out":"👋 Вы вышли из системы"};c("notifications",{lv:o,en:u,ru:l});function r(){const{t:s}=i("notifications");return t.useMemo(()=>({updatedSuccessfully:()=>e.success({title:s("success-title"),message:s("updated-successfully")}),createdSuccessfully:()=>e.success({title:s("success-title"),message:s("created-successfully")}),deletedSuccessfully:()=>e.success({title:s("success-title"),message:s("deleted-successfully")}),loggedOutSuccessfully:()=>e.success({message:s("logged-out")}),success:e.success,error:e.error}),[s])}export{r as u};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.