File: /mnt/data/smarthr-co-in/demo/angular/template/chunk-YSMYEO2I.js
import{A as D,C as St,D as L,G as kt,H as It,I as it,J as P,L as k,M as Bt,N as Q,v as et,w as Et,z as S}from"./chunk-IVC35BJF.js";import{c as K,d as tt,f as $,g as Tt,i as G,j as xt,k as wt}from"./chunk-GZFJ7A3T.js";import{a as _t}from"./chunk-ILLDEPHH.js";import{$b as X,Bd as Ct,Cb as b,Db as dt,Eb as Y,Ec as F,Fa as C,Gc as J,Hc as ht,Hd as A,Jc as vt,Kb as h,Mb as B,Nb as M,Sb as m,Tb as n,Ub as e,Vb as r,Wb as _,Xb as T,Yb as y,Zb as mt,_b as ct,ac as z,bc as O,cc as d,ec as c,fa as ot,fb as u,ga as st,gd as R,hc as H,hd as V,ia as at,jc as N,ka as I,kb as W,kc as j,lb as rt,pa as w,qa as E,ra as g,rc as pt,sb as U,sc as f,tc as o,uc as ut,ud as ft,vc as gt,vd as bt,wd as yt,yb as v,zb as lt}from"./chunk-AQ27DSQO.js";import"./chunk-EQDQRRRY.js";var Pt=["data-p-icon","check"],Mt=(()=>{class i extends k{static \u0275fac=(()=>{let t;return function(s){return(t||(t=C(i)))(s||i)}})();static \u0275cmp=v({type:i,selectors:[["","data-p-icon","check"]],features:[b],attrs:Pt,decls:1,vars:0,consts:[["d","M4.86199 11.5948C4.78717 11.5923 4.71366 11.5745 4.64596 11.5426C4.57826 11.5107 4.51779 11.4652 4.46827 11.4091L0.753985 7.69483C0.683167 7.64891 0.623706 7.58751 0.580092 7.51525C0.536478 7.44299 0.509851 7.36177 0.502221 7.27771C0.49459 7.19366 0.506156 7.10897 0.536046 7.03004C0.565935 6.95111 0.613367 6.88 0.674759 6.82208C0.736151 6.76416 0.8099 6.72095 0.890436 6.69571C0.970973 6.67046 1.05619 6.66385 1.13966 6.67635C1.22313 6.68886 1.30266 6.72017 1.37226 6.76792C1.44186 6.81567 1.4997 6.8786 1.54141 6.95197L4.86199 10.2503L12.6397 2.49483C12.7444 2.42694 12.8689 2.39617 12.9932 2.40745C13.1174 2.41873 13.2343 2.47141 13.3251 2.55705C13.4159 2.64268 13.4753 2.75632 13.4938 2.87973C13.5123 3.00315 13.4888 3.1292 13.4271 3.23768L5.2557 11.4091C5.20618 11.4652 5.14571 11.5107 5.07801 11.5426C5.01031 11.5745 4.9368 11.5923 4.86199 11.5948Z","fill","currentColor"]],template:function(a,s){a&1&&(g(),y(0,"path",0))},encapsulation:2})}return i})();var Zt=["data-p-icon","exclamation-triangle"],Ot=(()=>{class i extends k{pathId;onInit(){this.pathId="url(#"+S()+")"}static \u0275fac=(()=>{let t;return function(s){return(t||(t=C(i)))(s||i)}})();static \u0275cmp=v({type:i,selectors:[["","data-p-icon","exclamation-triangle"]],features:[b],attrs:Zt,decls:7,vars:2,consts:[["d","M13.4018 13.1893H0.598161C0.49329 13.189 0.390283 13.1615 0.299143 13.1097C0.208003 13.0578 0.131826 12.9832 0.0780112 12.8932C0.0268539 12.8015 0 12.6982 0 12.5931C0 12.4881 0.0268539 12.3848 0.0780112 12.293L6.47985 1.08982C6.53679 1.00399 6.61408 0.933574 6.70484 0.884867C6.7956 0.836159 6.897 0.810669 7 0.810669C7.103 0.810669 7.2044 0.836159 7.29516 0.884867C7.38592 0.933574 7.46321 1.00399 7.52015 1.08982L13.922 12.293C13.9731 12.3848 14 12.4881 14 12.5931C14 12.6982 13.9731 12.8015 13.922 12.8932C13.8682 12.9832 13.792 13.0578 13.7009 13.1097C13.6097 13.1615 13.5067 13.189 13.4018 13.1893ZM1.63046 11.989H12.3695L7 2.59425L1.63046 11.989Z","fill","currentColor"],["d","M6.99996 8.78801C6.84143 8.78594 6.68997 8.72204 6.57787 8.60993C6.46576 8.49782 6.40186 8.34637 6.39979 8.18784V5.38703C6.39979 5.22786 6.46302 5.0752 6.57557 4.96265C6.68813 4.85009 6.84078 4.78686 6.99996 4.78686C7.15914 4.78686 7.31179 4.85009 7.42435 4.96265C7.5369 5.0752 7.60013 5.22786 7.60013 5.38703V8.18784C7.59806 8.34637 7.53416 8.49782 7.42205 8.60993C7.30995 8.72204 7.15849 8.78594 6.99996 8.78801Z","fill","currentColor"],["d","M6.99996 11.1887C6.84143 11.1866 6.68997 11.1227 6.57787 11.0106C6.46576 10.8985 6.40186 10.7471 6.39979 10.5885V10.1884C6.39979 10.0292 6.46302 9.87658 6.57557 9.76403C6.68813 9.65147 6.84078 9.58824 6.99996 9.58824C7.15914 9.58824 7.31179 9.65147 7.42435 9.76403C7.5369 9.87658 7.60013 10.0292 7.60013 10.1884V10.5885C7.59806 10.7471 7.53416 10.8985 7.42205 11.0106C7.30995 11.1227 7.15849 11.1866 6.99996 11.1887Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(a,s){a&1&&(g(),_(0,"g"),y(1,"path",0)(2,"path",1)(3,"path",2),T(),_(4,"defs")(5,"clipPath",3),y(6,"rect",4),T()()),a&2&&(h("clip-path",s.pathId),u(5),O("id",s.pathId))},encapsulation:2})}return i})();var Ut=["data-p-icon","info-circle"],Dt=(()=>{class i extends k{pathId;onInit(){this.pathId="url(#"+S()+")"}static \u0275fac=(()=>{let t;return function(s){return(t||(t=C(i)))(s||i)}})();static \u0275cmp=v({type:i,selectors:[["","data-p-icon","info-circle"]],features:[b],attrs:Ut,decls:5,vars:2,consts:[["fill-rule","evenodd","clip-rule","evenodd","d","M3.11101 12.8203C4.26215 13.5895 5.61553 14 7 14C8.85652 14 10.637 13.2625 11.9497 11.9497C13.2625 10.637 14 8.85652 14 7C14 5.61553 13.5895 4.26215 12.8203 3.11101C12.0511 1.95987 10.9579 1.06266 9.67879 0.532846C8.3997 0.00303296 6.99224 -0.13559 5.63437 0.134506C4.2765 0.404603 3.02922 1.07129 2.05026 2.05026C1.07129 3.02922 0.404603 4.2765 0.134506 5.63437C-0.13559 6.99224 0.00303296 8.3997 0.532846 9.67879C1.06266 10.9579 1.95987 12.0511 3.11101 12.8203ZM3.75918 2.14976C4.71846 1.50879 5.84628 1.16667 7 1.16667C8.5471 1.16667 10.0308 1.78125 11.1248 2.87521C12.2188 3.96918 12.8333 5.45291 12.8333 7C12.8333 8.15373 12.4912 9.28154 11.8502 10.2408C11.2093 11.2001 10.2982 11.9478 9.23232 12.3893C8.16642 12.8308 6.99353 12.9463 5.86198 12.7212C4.73042 12.4962 3.69102 11.9406 2.87521 11.1248C2.05941 10.309 1.50384 9.26958 1.27876 8.13803C1.05367 7.00647 1.16919 5.83358 1.61071 4.76768C2.05222 3.70178 2.79989 2.79074 3.75918 2.14976ZM7.00002 4.8611C6.84594 4.85908 6.69873 4.79698 6.58977 4.68801C6.48081 4.57905 6.4187 4.43185 6.41669 4.27776V3.88888C6.41669 3.73417 6.47815 3.58579 6.58754 3.4764C6.69694 3.367 6.84531 3.30554 7.00002 3.30554C7.15473 3.30554 7.3031 3.367 7.4125 3.4764C7.52189 3.58579 7.58335 3.73417 7.58335 3.88888V4.27776C7.58134 4.43185 7.51923 4.57905 7.41027 4.68801C7.30131 4.79698 7.1541 4.85908 7.00002 4.8611ZM7.00002 10.6945C6.84594 10.6925 6.69873 10.6304 6.58977 10.5214C6.48081 10.4124 6.4187 10.2652 6.41669 10.1111V6.22225C6.41669 6.06754 6.47815 5.91917 6.58754 5.80977C6.69694 5.70037 6.84531 5.63892 7.00002 5.63892C7.15473 5.63892 7.3031 5.70037 7.4125 5.80977C7.52189 5.91917 7.58335 6.06754 7.58335 6.22225V10.1111C7.58134 10.2652 7.51923 10.4124 7.41027 10.5214C7.30131 10.6304 7.1541 10.6925 7.00002 10.6945Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(a,s){a&1&&(g(),_(0,"g"),y(1,"path",0),T(),_(2,"defs")(3,"clipPath",1),y(4,"rect",2),T()()),a&2&&(h("clip-path",s.pathId),u(3),O("id",s.pathId))},encapsulation:2})}return i})();var zt=["data-p-icon","times-circle"],Yt=(()=>{class i extends k{pathId;onInit(){this.pathId="url(#"+S()+")"}static \u0275fac=(()=>{let t;return function(s){return(t||(t=C(i)))(s||i)}})();static \u0275cmp=v({type:i,selectors:[["","data-p-icon","times-circle"]],features:[b],attrs:zt,decls:5,vars:2,consts:[["fill-rule","evenodd","clip-rule","evenodd","d","M7 14C5.61553 14 4.26215 13.5895 3.11101 12.8203C1.95987 12.0511 1.06266 10.9579 0.532846 9.67879C0.00303296 8.3997 -0.13559 6.99224 0.134506 5.63437C0.404603 4.2765 1.07129 3.02922 2.05026 2.05026C3.02922 1.07129 4.2765 0.404603 5.63437 0.134506C6.99224 -0.13559 8.3997 0.00303296 9.67879 0.532846C10.9579 1.06266 12.0511 1.95987 12.8203 3.11101C13.5895 4.26215 14 5.61553 14 7C14 8.85652 13.2625 10.637 11.9497 11.9497C10.637 13.2625 8.85652 14 7 14ZM7 1.16667C5.84628 1.16667 4.71846 1.50879 3.75918 2.14976C2.79989 2.79074 2.05222 3.70178 1.61071 4.76768C1.16919 5.83358 1.05367 7.00647 1.27876 8.13803C1.50384 9.26958 2.05941 10.309 2.87521 11.1248C3.69102 11.9406 4.73042 12.4962 5.86198 12.7212C6.99353 12.9463 8.16642 12.8308 9.23232 12.3893C10.2982 11.9478 11.2093 11.2001 11.8502 10.2408C12.4912 9.28154 12.8333 8.15373 12.8333 7C12.8333 5.45291 12.2188 3.96918 11.1248 2.87521C10.0308 1.78125 8.5471 1.16667 7 1.16667ZM4.66662 9.91668C4.58998 9.91704 4.51404 9.90209 4.44325 9.87271C4.37246 9.84333 4.30826 9.8001 4.2544 9.74557C4.14516 9.6362 4.0838 9.48793 4.0838 9.33335C4.0838 9.17876 4.14516 9.0305 4.2544 8.92113L6.17553 7L4.25443 5.07891C4.15139 4.96832 4.09529 4.82207 4.09796 4.67094C4.10063 4.51982 4.16185 4.37563 4.26872 4.26876C4.3756 4.16188 4.51979 4.10066 4.67091 4.09799C4.82204 4.09532 4.96829 4.15142 5.07887 4.25446L6.99997 6.17556L8.92106 4.25446C9.03164 4.15142 9.1779 4.09532 9.32903 4.09799C9.48015 4.10066 9.62434 4.16188 9.73121 4.26876C9.83809 4.37563 9.89931 4.51982 9.90198 4.67094C9.90464 4.82207 9.84855 4.96832 9.74551 5.07891L7.82441 7L9.74554 8.92113C9.85478 9.0305 9.91614 9.17876 9.91614 9.33335C9.91614 9.48793 9.85478 9.6362 9.74554 9.74557C9.69168 9.8001 9.62748 9.84333 9.55669 9.87271C9.4859 9.90209 9.40996 9.91704 9.33332 9.91668C9.25668 9.91704 9.18073 9.90209 9.10995 9.87271C9.03916 9.84333 8.97495 9.8001 8.9211 9.74557L6.99997 7.82444L5.07884 9.74557C5.02499 9.8001 4.96078 9.84333 4.88999 9.87271C4.81921 9.90209 4.74326 9.91704 4.66662 9.91668Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(a,s){a&1&&(g(),_(0,"g"),y(1,"path",0),T(),_(2,"defs")(3,"clipPath",1),y(4,"rect",2),T()()),a&2&&(h("clip-path",s.pathId),u(3),O("id",s.pathId))},encapsulation:2})}return i})();var Ft=`
.p-toast {
width: dt('toast.width');
white-space: pre-line;
word-break: break-word;
}
.p-toast-message {
margin: 0 0 1rem 0;
}
.p-toast-message-icon {
flex-shrink: 0;
font-size: dt('toast.icon.size');
width: dt('toast.icon.size');
height: dt('toast.icon.size');
}
.p-toast-message-content {
display: flex;
align-items: flex-start;
padding: dt('toast.content.padding');
gap: dt('toast.content.gap');
}
.p-toast-message-text {
flex: 1 1 auto;
display: flex;
flex-direction: column;
gap: dt('toast.text.gap');
}
.p-toast-summary {
font-weight: dt('toast.summary.font.weight');
font-size: dt('toast.summary.font.size');
}
.p-toast-detail {
font-weight: dt('toast.detail.font.weight');
font-size: dt('toast.detail.font.size');
}
.p-toast-close-button {
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
position: relative;
cursor: pointer;
background: transparent;
transition:
background dt('toast.transition.duration'),
color dt('toast.transition.duration'),
outline-color dt('toast.transition.duration'),
box-shadow dt('toast.transition.duration');
outline-color: transparent;
color: inherit;
width: dt('toast.close.button.width');
height: dt('toast.close.button.height');
border-radius: dt('toast.close.button.border.radius');
margin: -25% 0 0 0;
right: -25%;
padding: 0;
border: none;
user-select: none;
}
.p-toast-close-button:dir(rtl) {
margin: -25% 0 0 auto;
left: -25%;
right: auto;
}
.p-toast-message-info,
.p-toast-message-success,
.p-toast-message-warn,
.p-toast-message-error,
.p-toast-message-secondary,
.p-toast-message-contrast {
border-width: dt('toast.border.width');
border-style: solid;
backdrop-filter: blur(dt('toast.blur'));
border-radius: dt('toast.border.radius');
}
.p-toast-close-icon {
font-size: dt('toast.close.icon.size');
width: dt('toast.close.icon.size');
height: dt('toast.close.icon.size');
}
.p-toast-close-button:focus-visible {
outline-width: dt('focus.ring.width');
outline-style: dt('focus.ring.style');
outline-offset: dt('focus.ring.offset');
}
.p-toast-message-info {
background: dt('toast.info.background');
border-color: dt('toast.info.border.color');
color: dt('toast.info.color');
box-shadow: dt('toast.info.shadow');
}
.p-toast-message-info .p-toast-detail {
color: dt('toast.info.detail.color');
}
.p-toast-message-info .p-toast-close-button:focus-visible {
outline-color: dt('toast.info.close.button.focus.ring.color');
box-shadow: dt('toast.info.close.button.focus.ring.shadow');
}
.p-toast-message-info .p-toast-close-button:hover {
background: dt('toast.info.close.button.hover.background');
}
.p-toast-message-success {
background: dt('toast.success.background');
border-color: dt('toast.success.border.color');
color: dt('toast.success.color');
box-shadow: dt('toast.success.shadow');
}
.p-toast-message-success .p-toast-detail {
color: dt('toast.success.detail.color');
}
.p-toast-message-success .p-toast-close-button:focus-visible {
outline-color: dt('toast.success.close.button.focus.ring.color');
box-shadow: dt('toast.success.close.button.focus.ring.shadow');
}
.p-toast-message-success .p-toast-close-button:hover {
background: dt('toast.success.close.button.hover.background');
}
.p-toast-message-warn {
background: dt('toast.warn.background');
border-color: dt('toast.warn.border.color');
color: dt('toast.warn.color');
box-shadow: dt('toast.warn.shadow');
}
.p-toast-message-warn .p-toast-detail {
color: dt('toast.warn.detail.color');
}
.p-toast-message-warn .p-toast-close-button:focus-visible {
outline-color: dt('toast.warn.close.button.focus.ring.color');
box-shadow: dt('toast.warn.close.button.focus.ring.shadow');
}
.p-toast-message-warn .p-toast-close-button:hover {
background: dt('toast.warn.close.button.hover.background');
}
.p-toast-message-error {
background: dt('toast.error.background');
border-color: dt('toast.error.border.color');
color: dt('toast.error.color');
box-shadow: dt('toast.error.shadow');
}
.p-toast-message-error .p-toast-detail {
color: dt('toast.error.detail.color');
}
.p-toast-message-error .p-toast-close-button:focus-visible {
outline-color: dt('toast.error.close.button.focus.ring.color');
box-shadow: dt('toast.error.close.button.focus.ring.shadow');
}
.p-toast-message-error .p-toast-close-button:hover {
background: dt('toast.error.close.button.hover.background');
}
.p-toast-message-secondary {
background: dt('toast.secondary.background');
border-color: dt('toast.secondary.border.color');
color: dt('toast.secondary.color');
box-shadow: dt('toast.secondary.shadow');
}
.p-toast-message-secondary .p-toast-detail {
color: dt('toast.secondary.detail.color');
}
.p-toast-message-secondary .p-toast-close-button:focus-visible {
outline-color: dt('toast.secondary.close.button.focus.ring.color');
box-shadow: dt('toast.secondary.close.button.focus.ring.shadow');
}
.p-toast-message-secondary .p-toast-close-button:hover {
background: dt('toast.secondary.close.button.hover.background');
}
.p-toast-message-contrast {
background: dt('toast.contrast.background');
border-color: dt('toast.contrast.border.color');
color: dt('toast.contrast.color');
box-shadow: dt('toast.contrast.shadow');
}
.p-toast-message-contrast .p-toast-detail {
color: dt('toast.contrast.detail.color');
}
.p-toast-message-contrast .p-toast-close-button:focus-visible {
outline-color: dt('toast.contrast.close.button.focus.ring.color');
box-shadow: dt('toast.contrast.close.button.focus.ring.shadow');
}
.p-toast-message-contrast .p-toast-close-button:hover {
background: dt('toast.contrast.close.button.hover.background');
}
.p-toast-top-center {
transform: translateX(-50%);
}
.p-toast-bottom-center {
transform: translateX(-50%);
}
.p-toast-center {
min-width: 20vw;
transform: translate(-50%, -50%);
}
.p-toast-message-enter-from {
opacity: 0;
transform: translateY(50%);
}
.p-toast-message-leave-from {
max-height: 1000px;
}
.p-toast .p-toast-message.p-toast-message-leave-to {
max-height: 0;
opacity: 0;
margin-bottom: 0;
overflow: hidden;
}
.p-toast-message-enter-active {
transition:
transform 0.3s,
opacity 0.3s;
}
.p-toast-message-leave-active {
transition:
max-height 0.45s cubic-bezier(0, 1, 0, 1),
opacity 0.3s,
margin-bottom 0.3s;
}
`;var Ht=(i,l,t,a)=>({showTransformParams:i,hideTransformParams:l,showTransitionParams:t,hideTransitionParams:a}),Nt=i=>({value:"visible",params:i}),jt=(i,l)=>({$implicit:i,closeFn:l}),Rt=i=>({$implicit:i});function $t(i,l){i&1&&X(0)}function Gt(i,l){if(i&1&&Y(0,$t,1,0,"ng-container",3),i&2){let t=c();m("ngTemplateOutlet",t.headlessTemplate)("ngTemplateOutletContext",ht(2,jt,t.message,t.onCloseIconClick))}}function Qt(i,l){if(i&1&&r(0,"span",4),i&2){let t=c(3);f(t.cn(t.cx("messageIcon"),t.message==null?null:t.message.icon)),m("pBind",t.ptm("messageIcon"))}}function qt(i,l){if(i&1&&(g(),r(0,"svg",11)),i&2){let t=c(4);f(t.cx("messageIcon")),m("pBind",t.ptm("messageIcon")),h("aria-hidden",!0)}}function Wt(i,l){if(i&1&&(g(),r(0,"svg",12)),i&2){let t=c(4);f(t.cx("messageIcon")),m("pBind",t.ptm("messageIcon")),h("aria-hidden",!0)}}function Xt(i,l){if(i&1&&(g(),r(0,"svg",13)),i&2){let t=c(4);f(t.cx("messageIcon")),m("pBind",t.ptm("messageIcon")),h("aria-hidden",!0)}}function Jt(i,l){if(i&1&&(g(),r(0,"svg",14)),i&2){let t=c(4);f(t.cx("messageIcon")),m("pBind",t.ptm("messageIcon")),h("aria-hidden",!0)}}function Kt(i,l){if(i&1&&(g(),r(0,"svg",12)),i&2){let t=c(4);f(t.cx("messageIcon")),m("pBind",t.ptm("messageIcon")),h("aria-hidden",!0)}}function te(i,l){if(i&1&&B(0,qt,1,4,":svg:svg",7)(1,Wt,1,4,":svg:svg",8)(2,Xt,1,4,":svg:svg",9)(3,Jt,1,4,":svg:svg",10)(4,Kt,1,4,":svg:svg",8),i&2){let t,a=c(3);M((t=a.message.severity)==="success"?0:t==="info"?1:t==="error"?2:t==="warn"?3:4)}}function ee(i,l){if(i&1&&(mt(0),B(1,Qt,1,3,"span",2)(2,te,5,1),n(3,"div",6)(4,"div",6),o(5),e(),n(6,"div",6),o(7),e()(),ct()),i&2){let t=c(2);u(),M(t.message.icon?1:2),u(2),m("pBind",t.ptm("messageText"))("ngClass",t.cx("messageText")),u(),m("pBind",t.ptm("summary"))("ngClass",t.cx("summary")),u(),gt(" ",t.message.summary," "),u(),m("pBind",t.ptm("detail"))("ngClass",t.cx("detail")),u(),ut(t.message.detail)}}function ie(i,l){i&1&&X(0)}function ne(i,l){if(i&1&&r(0,"span",4),i&2){let t=c(4);f(t.cn(t.cx("closeIcon"),t.message==null?null:t.message.closeIcon)),m("pBind",t.ptm("closeIcon"))}}function oe(i,l){if(i&1&&Y(0,ne,1,3,"span",17),i&2){let t=c(3);m("ngIf",t.message.closeIcon)}}function se(i,l){if(i&1&&(g(),r(0,"svg",18)),i&2){let t=c(3);f(t.cx("closeIcon")),m("pBind",t.ptm("closeIcon")),h("aria-hidden",!0)}}function ae(i,l){if(i&1){let t=z();n(0,"div")(1,"button",15),d("click",function(s){w(t);let p=c(2);return E(p.onCloseIconClick(s))})("keydown.enter",function(s){w(t);let p=c(2);return E(p.onCloseIconClick(s))}),B(2,oe,1,1,"span",2)(3,se,1,4,":svg:svg",16),e()()}if(i&2){let t=c(2);u(),m("pBind",t.ptm("closeButton")),h("class",t.cx("closeButton"))("aria-label",t.closeAriaLabel),u(),M(t.message.closeIcon?2:3)}}function re(i,l){if(i&1&&(n(0,"div",4),Y(1,ee,8,9,"ng-container",5)(2,ie,1,0,"ng-container",3),B(3,ae,4,4,"div"),e()),i&2){let t=c();f(t.cn(t.cx("messageContent"),t.message==null?null:t.message.contentStyleClass)),m("pBind",t.ptm("messageContent")),u(),m("ngIf",!t.template),u(),m("ngTemplateOutlet",t.template)("ngTemplateOutletContext",J(7,Rt,t.message)),u(),M((t.message==null?null:t.message.closable)!==!1?3:-1)}}var le=["message"],de=["headless"];function me(i,l){if(i&1){let t=z();n(0,"p-toastItem",1),d("onClose",function(s){w(t);let p=c();return E(p.onMessageClose(s))})("@toastAnimation.start",function(s){w(t);let p=c();return E(p.onAnimationStart(s))})("@toastAnimation.done",function(s){w(t);let p=c();return E(p.onAnimationEnd(s))}),e()}if(i&2){let t=l.$implicit,a=l.index,s=c();m("message",t)("index",a)("life",s.life)("template",s.template||s._template)("headlessTemplate",s.headlessTemplate||s._headlessTemplate)("@toastAnimation",void 0)("showTransformOptions",s.showTransformOptions)("hideTransformOptions",s.hideTransformOptions)("showTransitionOptions",s.showTransitionOptions)("hideTransitionOptions",s.hideTransitionOptions)("pt",s.pt)}}var ce={root:({instance:i})=>{let{_position:l}=i;return{position:"fixed",top:l==="top-right"||l==="top-left"||l==="top-center"?"20px":l==="center"?"50%":null,right:(l==="top-right"||l==="bottom-right")&&"20px",bottom:(l==="bottom-left"||l==="bottom-right"||l==="bottom-center")&&"20px",left:l==="top-left"||l==="bottom-left"?"20px":l==="center"||l==="top-center"||l==="bottom-center"?"50%":null}}},pe={root:({instance:i})=>["p-toast p-component",`p-toast-${i._position}`],message:({instance:i})=>({"p-toast-message":!0,"p-toast-message-info":i.message.severity==="info"||i.message.severity===void 0,"p-toast-message-warn":i.message.severity==="warn","p-toast-message-error":i.message.severity==="error","p-toast-message-success":i.message.severity==="success","p-toast-message-secondary":i.message.severity==="secondary","p-toast-message-contrast":i.message.severity==="contrast"}),messageContent:"p-toast-message-content",messageIcon:({instance:i})=>({"p-toast-message-icon":!0,[`pi ${i.message.icon}`]:!!i.message.icon}),messageText:"p-toast-message-text",summary:"p-toast-summary",detail:"p-toast-detail",closeButton:"p-toast-close-button",closeIcon:({instance:i})=>({"p-toast-close-icon":!0,[`pi ${i.message.closeIcon}`]:!!i.message.closeIcon})},q=(()=>{class i extends kt{name="toast";style=Ft;classes=pe;inlineStyles=ce;static \u0275fac=(()=>{let t;return function(s){return(t||(t=C(i)))(s||i)}})();static \u0275prov=ot({token:i,factory:i.\u0275fac})}return i})();var Vt=new at("TOAST_INSTANCE"),ue=(()=>{class i extends it{zone;message;index;life;template;headlessTemplate;showTransformOptions;hideTransformOptions;showTransitionOptions;hideTransitionOptions;onClose=new W;_componentStyle=I(q);timeout;constructor(t){super(),this.zone=t}onAfterViewInit(){this.initTimeout()}initTimeout(){this.message?.sticky||(this.clearTimeout(),this.zone.runOutsideAngular(()=>{this.timeout=setTimeout(()=>{this.onClose.emit({index:this.index,message:this.message})},this.message?.life||this.life||3e3)}))}clearTimeout(){this.timeout&&(clearTimeout(this.timeout),this.timeout=null)}onMouseEnter(){this.clearTimeout()}onMouseLeave(){this.initTimeout()}onCloseIconClick=t=>{this.clearTimeout(),this.onClose.emit({index:this.index,message:this.message}),t.preventDefault()};get closeAriaLabel(){return this.config.translation.aria?this.config.translation.aria.close:void 0}onDestroy(){this.clearTimeout()}static \u0275fac=function(a){return new(a||i)(U(rt))};static \u0275cmp=v({type:i,selectors:[["p-toastItem"]],inputs:{message:"message",index:[2,"index","index",V],life:[2,"life","life",V],template:"template",headlessTemplate:"headlessTemplate",showTransformOptions:"showTransformOptions",hideTransformOptions:"hideTransformOptions",showTransitionOptions:"showTransitionOptions",hideTransitionOptions:"hideTransitionOptions"},outputs:{onClose:"onClose"},features:[F([q]),b],decls:4,vars:13,consts:[["container",""],["role","alert","aria-live","assertive","aria-atomic","true",3,"mouseenter","mouseleave","pBind"],[3,"pBind","class"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"pBind"],[4,"ngIf"],[3,"pBind","ngClass"],["data-p-icon","check",3,"pBind","class"],["data-p-icon","info-circle",3,"pBind","class"],["data-p-icon","times-circle",3,"pBind","class"],["data-p-icon","exclamation-triangle",3,"pBind","class"],["data-p-icon","check",3,"pBind"],["data-p-icon","info-circle",3,"pBind"],["data-p-icon","times-circle",3,"pBind"],["data-p-icon","exclamation-triangle",3,"pBind"],["type","button","autofocus","",3,"click","keydown.enter","pBind"],["data-p-icon","times",3,"pBind","class"],[3,"pBind","class",4,"ngIf"],["data-p-icon","times",3,"pBind"]],template:function(a,s){if(a&1){let p=z();n(0,"div",1,0),d("mouseenter",function(){return w(p),E(s.onMouseEnter())})("mouseleave",function(){return w(p),E(s.onMouseLeave())}),B(2,Gt,1,5,"ng-container")(3,re,4,9,"div",2),e()}a&2&&(f(s.cn(s.cx("message"),s.message==null?null:s.message.styleClass)),m("pBind",s.ptm("message"))("@messageState",J(11,Nt,vt(6,Ht,s.showTransformOptions,s.hideTransformOptions,s.showTransitionOptions,s.hideTransitionOptions))),h("id",s.message==null?null:s.message.id),u(2),M(s.headlessTemplate?2:3))},dependencies:[A,ft,yt,Ct,Mt,Ot,Dt,Bt,Yt,L,P],encapsulation:2,data:{animation:[K("messageState",[Tt("visible",$({transform:"translateY(0)",opacity:1})),G("void => *",[$({transform:"{{showTransformParams}}",opacity:0}),tt("{{showTransitionParams}}")]),G("* => void",[tt("{{hideTransitionParams}}",$({height:0,opacity:0,transform:"{{hideTransformParams}}"}))])])]},changeDetection:0})}return i})(),nt=(()=>{class i extends it{$pcToast=I(Vt,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=I(P,{self:!0});onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptms(["host","root"]))}key;autoZIndex=!0;baseZIndex=0;life=3e3;styleClass;get position(){return this._position}set position(t){this._position=t,this.cd.markForCheck()}preventOpenDuplicates=!1;preventDuplicates=!1;showTransformOptions="translateY(100%)";hideTransformOptions="translateY(-100%)";showTransitionOptions="300ms ease-out";hideTransitionOptions="250ms ease-in";breakpoints;onClose=new W;template;headlessTemplate;messageSubscription;clearSubscription;messages;messagesArchieve;_position="top-right";messageService=I(D);_componentStyle=I(q);styleElement;id=S("pn_id_");templates;constructor(){super()}onInit(){this.messageSubscription=this.messageService.messageObserver.subscribe(t=>{if(t)if(Array.isArray(t)){let a=t.filter(s=>this.canAdd(s));this.add(a)}else this.canAdd(t)&&this.add([t])}),this.clearSubscription=this.messageService.clearObserver.subscribe(t=>{t?this.key===t&&(this.messages=null):this.messages=null,this.cd.markForCheck()})}_template;_headlessTemplate;onAfterContentInit(){this.templates?.forEach(t=>{switch(t.getType()){case"message":this._template=t.template;break;case"headless":this._headlessTemplate=t.template;break;default:this._template=t.template;break}})}onAfterViewInit(){this.breakpoints&&this.createStyle()}add(t){this.messages=this.messages?[...this.messages,...t]:[...t],this.preventDuplicates&&(this.messagesArchieve=this.messagesArchieve?[...this.messagesArchieve,...t]:[...t]),this.cd.markForCheck()}canAdd(t){let a=this.key===t.key;return a&&this.preventOpenDuplicates&&(a=!this.containsMessage(this.messages,t)),a&&this.preventDuplicates&&(a=!this.containsMessage(this.messagesArchieve,t)),a}containsMessage(t,a){return t?t.find(s=>s.summary===a.summary&&s.detail==a.detail&&s.severity===a.severity)!=null:!1}onMessageClose(t){this.messages?.splice(t.index,1),this.onClose.emit({message:t.message}),this.cd.detectChanges()}onAnimationStart(t){t.fromState==="void"&&(this.renderer.setAttribute(this.el?.nativeElement,this.id,""),this.autoZIndex&&this.el?.nativeElement.style.zIndex===""&&Q.set("modal",this.el?.nativeElement,this.baseZIndex||this.config.zIndex.modal))}onAnimationEnd(t){t.toState==="void"&&this.autoZIndex&&Et(this.messages)&&Q.clear(this.el?.nativeElement)}createStyle(){if(!this.styleElement){this.styleElement=this.renderer.createElement("style"),this.styleElement.type="text/css",et(this.styleElement,"nonce",this.config?.csp()?.nonce),this.renderer.appendChild(this.document.head,this.styleElement);let t="";for(let a in this.breakpoints){let s="";for(let p in this.breakpoints[a])s+=p+":"+this.breakpoints[a][p]+" !important;";t+=`
@media screen and (max-width: ${a}) {
.p-toast[${this.id}] {
${s}
}
}
`}this.renderer.setProperty(this.styleElement,"innerHTML",t),et(this.styleElement,"nonce",this.config?.csp()?.nonce)}}destroyStyle(){this.styleElement&&(this.renderer.removeChild(this.document.head,this.styleElement),this.styleElement=null)}onDestroy(){this.messageSubscription&&this.messageSubscription.unsubscribe(),this.el&&this.autoZIndex&&Q.clear(this.el.nativeElement),this.clearSubscription&&this.clearSubscription.unsubscribe(),this.destroyStyle()}static \u0275fac=function(a){return new(a||i)};static \u0275cmp=v({type:i,selectors:[["p-toast"]],contentQueries:function(a,s,p){if(a&1&&(H(p,le,5),H(p,de,5),H(p,St,4)),a&2){let x;N(x=j())&&(s.template=x.first),N(x=j())&&(s.headlessTemplate=x.first),N(x=j())&&(s.templates=x)}},hostVars:4,hostBindings:function(a,s){a&2&&(pt(s.sx("root")),f(s.cn(s.cx("root"),s.styleClass)))},inputs:{key:"key",autoZIndex:[2,"autoZIndex","autoZIndex",R],baseZIndex:[2,"baseZIndex","baseZIndex",V],life:[2,"life","life",V],styleClass:"styleClass",position:"position",preventOpenDuplicates:[2,"preventOpenDuplicates","preventOpenDuplicates",R],preventDuplicates:[2,"preventDuplicates","preventDuplicates",R],showTransformOptions:"showTransformOptions",hideTransformOptions:"hideTransformOptions",showTransitionOptions:"showTransitionOptions",hideTransitionOptions:"hideTransitionOptions",breakpoints:"breakpoints"},outputs:{onClose:"onClose"},features:[F([q,{provide:Vt,useExisting:i},{provide:It,useExisting:i}]),dt([P]),b],decls:1,vars:1,consts:[[3,"message","index","life","template","headlessTemplate","showTransformOptions","hideTransformOptions","showTransitionOptions","hideTransitionOptions","pt","onClose",4,"ngFor","ngForOf"],[3,"onClose","message","index","life","template","headlessTemplate","showTransformOptions","hideTransformOptions","showTransitionOptions","hideTransitionOptions","pt"]],template:function(a,s){a&1&&Y(0,me,1,11,"p-toastItem",0),a&2&&m("ngForOf",s.messages)},dependencies:[A,bt,ue,L],encapsulation:2,data:{animation:[K("toastAnimation",[G(":enter, :leave",[wt("@*",xt())])])]},changeDetection:0})}return i})(),At=(()=>{class i{static \u0275fac=function(a){return new(a||i)};static \u0275mod=lt({type:i});static \u0275inj=st({imports:[nt,L,L]})}return i})();var Lt=class i{constructor(l){this.messageService=l}routes=_t;show(){this.messageService.add({summary:"Toast",detail:"Hello, world! This is a toast message."})}showPrimaryColor(){this.messageService.add({summary:"Toast",detail:"Your,toast message here.",styleClass:"primary-light-popover"})}showSecondaryColor(){this.messageService.add({summary:"Toast",detail:"Your,toast message here.",styleClass:"secondary-light-popover"})}showWarningColor(){this.messageService.add({summary:"Toast",detail:"Your,toast message here.",styleClass:"primary-light-popover"})}showInfoColor(){this.messageService.add({summary:"Toast",detail:"Your,toast message here.",styleClass:"info-light-popover"})}showSuccessColor(){this.messageService.add({summary:"Toast",detail:"Your,toast message here.",styleClass:"success-light-popover"})}showDangerColor(){this.messageService.add({summary:"Error",detail:"Your,toast message here.",styleClass:"danger-light-popover"})}showPrimaryBackground(){this.messageService.add({summary:"Toast",detail:"Your,toast message here.",styleClass:"primary-background-popover"})}showSecondaryBackground(){this.messageService.add({summary:"Toast",detail:"Your,toast message here.",styleClass:"secondary-background-popover"})}showWarningBackground(){this.messageService.add({summary:"Toast",detail:"Your,toast message here.",styleClass:"warning-background-popover"})}showInfoBackground(){this.messageService.add({summary:"Toast",detail:"Your,toast message here.",styleClass:"info-background-popover"})}showSuccessBackground(){this.messageService.add({summary:"Toast",detail:"Your,toast message here.",styleClass:"success-background-popover"})}showDangerBackground(){this.messageService.add({summary:"Toast",detail:"Your,toast message here.",styleClass:"danger-background-popover"})}showTopLeft(){this.messageService.add({key:"tl",summary:"Toast",detail:"Your,toast message here.",styleClass:"primary-light-popover"})}showTopCenter(){this.messageService.add({key:"tc",summary:"Toast",detail:"Your,toast message here.",styleClass:"primary-light-popover"})}showTopRight(){this.messageService.add({key:"tr",summary:"Toast",detail:"Your,toast message here.",styleClass:"primary-light-popover"})}showMiddleLeft(){this.messageService.add({key:"ml",summary:"Toast",detail:"Your,toast message here.",styleClass:"primary-light-popover"})}showBottomLeft(){this.messageService.add({key:"bl",summary:"Toast",detail:"Your,toast message here.",styleClass:"primary-light-popover"})}showBottomCenter(){this.messageService.add({key:"bc",summary:"Toast",detail:"Your,toast message here.",styleClass:"primary-light-popover"})}showBottomRight(){this.messageService.add({key:"br",summary:"Toast",detail:"Your,toast message here.",styleClass:"primary-light-popover"})}static \u0275fac=function(t){return new(t||i)(U(D))};static \u0275cmp=v({type:i,selectors:[["app-ui-toasts"]],features:[F([D])],decls:371,vars:0,consts:[[1,"page-header"],[1,"page-title"],[1,"row"],[1,"col-xl-4"],[1,"card"],[1,"card-header","justify-content-between"],[1,"card-title"],[1,"card-body"],["type","button","id","liveToastBtn","pButton","","pRipple","","label","Show",1,"btn","btn-primary","btn-wave",3,"click"],[1,"toast-container","position-fixed","top-0","end-0","p-3"],["id","liveToast","role","alert","aria-live","assertive","aria-atomic","true",1,"toast"],[1,"toast-header","text-default"],[1,"me-auto"],["type","button","data-bs-dismiss","toast","aria-label","Close",1,"btn-close"],[1,"toast-body"],["role","alert","aria-live","assertive","aria-atomic","true",1,"toast","align-items-center","text-bg-primary","border-0","fade","show","mb-4"],[1,"d-flex"],["type","button","data-bs-dismiss","toast","aria-label","Close",1,"btn-close","btn-close-white","me-2","m-auto"],["role","alert","aria-live","assertive","aria-atomic","true",1,"toast","align-items-center","text-bg-secondary","border-0","fade","show","mb-4"],["role","alert","aria-live","assertive","aria-atomic","true",1,"toast","align-items-center","text-bg-success","border-0","fade","show","mb-4"],["role","alert","aria-live","assertive","aria-atomic","true",1,"toast","align-items-center","text-bg-info","border-0","fade","show"],["role","alert","aria-live","assertive","aria-atomic","true",1,"toast","fade","show"],[1,"toast-container","position-static"],[1,"text-muted"],["role","alert","aria-live","assertive","aria-atomic","true",1,"toast","align-items-center","fade","show","mb-3"],["type","button","data-bs-dismiss","toast","aria-label","Close",1,"btn-close","me-2","m-auto"],[1,"my-4","text-muted"],["role","alert","aria-live","assertive","aria-atomic","true",1,"toast","fade","show","mt-2"],[1,"mt-2","pt-2","border-top"],["type","button",1,"btn","btn-primary","btn-sm","btn-wave","me-1"],["type","button","data-bs-dismiss","toast",1,"btn","btn-secondary","btn-sm","btn-wave"],[1,"col-xl-6"],[1,"btn-list"],["type","button","id","primaryToastBtn",1,"btn","btn-primary-light","me-2","btn-wave",3,"click"],["key","toast1"],["type","button","id","secondaryToastBtn",1,"btn","btn-secondary-light","me-2","btn-wave",3,"click"],["key","toast2"],["type","button","id","warningToastBtn",1,"btn","btn-warning-light","me-2","btn-wave",3,"click"],["key","toast3"],["type","button","id","infoToastBtn",1,"btn","btn-info-light","me-2","btn-wave",3,"click"],["key","toast4"],["type","button","id","successToastBtn",1,"btn","btn-success-light","me-2","btn-wave",3,"click"],["key","toast5"],["type","button","id","dangerToastBtn",1,"btn","btn-danger-light","me-2","btn-wave",3,"click"],["key","toast6"],["id","primaryToast","role","alert","aria-live","assertive","aria-atomic","true",1,"toast","colored-toast","bg-primary-transparent"],[1,"toast-header","bg-primary","text-fixed-white"],["id","secondaryToast","role","alert","aria-live","assertive","aria-atomic","true",1,"toast","colored-toast","bg-secondary-transparent"],[1,"toast-header","bg-secondary","text-fixed-white"],["id","warningToast","role","alert","aria-live","assertive","aria-atomic","true",1,"toast","colored-toast","bg-warning-transparent"],[1,"toast-header","bg-warning","text-fixed-white"],["id","infoToast","role","alert","aria-live","assertive","aria-atomic","true",1,"toast","colored-toast","bg-info-transparent"],[1,"toast-header","bg-info","text-fixed-white"],["id","successToast","role","alert","aria-live","assertive","aria-atomic","true",1,"toast","colored-toast","bg-success-transparent"],[1,"toast-header","bg-success","text-fixed-white"],["id","dangerToast","role","alert","aria-live","assertive","aria-atomic","true",1,"toast","colored-toast","bg-danger-transparent"],[1,"toast-header","bg-danger","text-fixed-white"],["type","button","id","solidprimaryToastBtn",1,"btn","btn-primary","me-2","btn-wave",3,"click"],["type","button","id","solidsecondaryToastBtn",1,"btn","btn-secondary","me-2","btn-wave",3,"click"],["type","button","id","solidwarningToastBtn",1,"btn","btn-warning","me-2","btn-wave",3,"click"],["type","button","id","solidinfoToastBtn",1,"btn","btn-info","me-2","btn-wave",3,"click"],["type","button","id","solidsuccessToastBtn",1,"btn","btn-success","me-2","btn-wave",3,"click"],["type","button","id","soliddangerToastBtn",1,"btn","btn-danger","me-2","btn-wave",3,"click"],["id","solid-primaryToast","role","alert","aria-live","assertive","aria-atomic","true",1,"toast","colored-toast","bg-primary","text-fixed-white"],["id","solid-secondaryToast","role","alert","aria-live","assertive","aria-atomic","true",1,"toast","colored-toast","bg-secondary","text-fixed-white"],["id","solid-warningToast","role","alert","aria-live","assertive","aria-atomic","true",1,"toast","colored-toast","bg-warning","text-fixed-white"],["id","solid-infoToast","role","alert","aria-live","assertive","aria-atomic","true",1,"toast","colored-toast","bg-info","text-fixed-white"],["id","solid-successToast","role","alert","aria-live","assertive","aria-atomic","true",1,"toast","colored-toast","bg-success","text-fixed-white"],["id","solid-dangerToast","role","alert","aria-live","assertive","aria-atomic","true",1,"toast","colored-toast","bg-danger","text-fixed-white"],[1,"col-xl-12"],["type","button","id","topleftToastBtn",1,"btn","btn-outline-primary","me-2","btn-wave",3,"click"],["position","top-left","key","tl"],["type","button","id","topcenterToastBtn",1,"btn","btn-outline-primary","me-2","btn-wave",3,"click"],["position","top-center","key","tc"],["type","button","id","toprightToastBtn",1,"btn","btn-outline-primary","me-2","btn-wave",3,"click"],["position","top-right","key","tr"],["type","button","id","bottomleftToastBtn",1,"btn","btn-outline-primary","me-2","btn-wave",3,"click"],["position","bottom-left","key","bl"],["type","button","id","bottomcenterToastBtn",1,"btn","btn-outline-primary","me-2","btn-wave",3,"click"],["position","bottom-center","key","bc"],["type","button","id","bottomrightToastBtn",1,"btn","btn-outline-primary","me-2","btn-wave",3,"click"],["position","bottom-right","key","br"],[1,"toast-container","position-fixed","top-0","start-0","p-3"],["id","topleft-Toast","role","alert","aria-live","assertive","aria-atomic","true",1,"toast","colored-toast","bg-primary-transparent","text-primary"],[1,"toast-container","position-fixed","top-0","start-50","translate-middle-x","p-3"],["id","topcenter-Toast","role","alert","aria-live","assertive","aria-atomic","true",1,"toast","colored-toast","bg-primary-transparent","text-primary"],["id","topright-Toast","role","alert","aria-live","assertive","aria-atomic","true",1,"toast","colored-toast","bg-primary-transparent","text-primary"],[1,"toast-container","position-fixed","top-50","start-0","translate-middle-y","p-3"],["id","middleleft-Toast","role","alert","aria-live","assertive","aria-atomic","true",1,"toast","colored-toast","bg-primary-transparent","text-primary"],[1,"toast-container","position-fixed","top-50","start-50","translate-middle"],["id","middlecenter-Toast","role","alert","aria-live","assertive","aria-atomic","true",1,"toast","colored-toast","bg-primary-transparent","text-primary"],[1,"toast-container","position-fixed","top-50","end-0","translate-middle-y","p-3"],["id","middleright-Toast","role","alert","aria-live","assertive","aria-atomic","true",1,"toast","colored-toast","bg-primary-transparent","text-primary"],[1,"toast-container","position-fixed","bottom-0","start-0","p-3"],["id","bottomleft-Toast","role","alert","aria-live","assertive","aria-atomic","true",1,"toast","colored-toast","bg-primary-transparent","text-primary"],[1,"toast-container","position-fixed","bottom-0","start-50","translate-middle-x","p-3"],["id","bottomcenter-Toast","role","alert","aria-live","assertive","aria-atomic","true",1,"toast","colored-toast","bg-primary-transparent","text-primary"],[1,"toast-container","position-fixed","bottom-0","end-0","p-3"],["id","bottomright-Toast","role","alert","aria-live","assertive","aria-atomic","true",1,"toast","colored-toast","bg-primary-transparent","text-primary"],[1,"bd-example","bd-example-toasts","d-flex","p-2"],["aria-live","polite","aria-atomic","true",1,"d-flex","justify-content-center","align-items-center","w-100"],["role","alert","aria-live","assertive","aria-atomic","true",1,"toast","fade","show","shadow-lg"]],template:function(t,a){t&1&&(n(0,"div",0)(1,"div",1)(2,"h4"),o(3,"Toastr"),e()()(),n(4,"div",2)(5,"div",3)(6,"div",4)(7,"div",5)(8,"div",6),o(9," Live example "),e()(),n(10,"div",7),r(11,"p-toast"),n(12,"button",8),d("click",function(){return a.show()}),o(13,"Show live toast"),e(),n(14,"div",9)(15,"div",10)(16,"div",11)(17,"strong",12),o(18,"Toast"),e(),n(19,"small"),o(20,"11 mins ago"),e(),r(21,"button",13),e(),n(22,"div",14),o(23," Hello, world! This is a toast message. "),e()()()()(),n(24,"div",4)(25,"div",5)(26,"div",6),o(27," Color schemes "),e()(),n(28,"div",7)(29,"div",15)(30,"div",16)(31,"div",14),o(32," Hello, world! This is the Primary toast message. "),e(),r(33,"button",17),e()(),n(34,"div",18)(35,"div",16)(36,"div",14),o(37," Hello, world! This is the Secondary toast. "),e(),r(38,"button",17),e()(),n(39,"div",19)(40,"div",16)(41,"div",14),o(42," Hello, world! This is the Success toast message. "),e(),r(43,"button",17),e()(),n(44,"div",20)(45,"div",16)(46,"div",14),o(47," Hello, world! This is the info toast message. "),e(),r(48,"button",17),e()()()()(),n(49,"div",3)(50,"div",4)(51,"div",5)(52,"div",6),o(53," Basic example "),e()(),n(54,"div",7)(55,"div",21)(56,"div",11)(57,"strong",12),o(58,"Toast"),e(),n(59,"small"),o(60,"11 mins ago"),e(),r(61,"button",13),e(),n(62,"div",14),o(63," Hello, world! This is a toast message. "),e()()()(),n(64,"div",4)(65,"div",5)(66,"div",6),o(67," Stacking "),e()(),n(68,"div",7)(69,"div",22)(70,"div",21)(71,"div",11)(72,"strong",12),o(73,"Toast"),e(),n(74,"small",23),o(75,"just now"),e(),r(76,"button",13),e(),n(77,"div",14),o(78," See? Just like this. "),e()(),n(79,"div",21)(80,"div",11)(81,"strong",12),o(82,"Toast"),e(),n(83,"small",23),o(84,"2 seconds ago"),e(),r(85,"button",13),e(),n(86,"div",14),o(87," Heads up, toasts will stack automatically "),e()()()()()(),n(88,"div",3)(89,"div",4)(90,"div",5)(91,"div",6),o(92," Translucent "),e()(),n(93,"div",7)(94,"div",21)(95,"div",11)(96,"strong",12),o(97,"Toast"),e(),n(98,"small",23),o(99,"11 mins ago"),e(),r(100,"button",13),e(),n(101,"div",14),o(102," Hello, world! This is a toast message. "),e()()()(),n(103,"div",4)(104,"div",5)(105,"div",6),o(106," Custom content "),e()(),n(107,"div",7)(108,"div",24)(109,"div",16)(110,"div",14),o(111," Hello, world! This is a toast message. "),e(),r(112,"button",25),e()(),n(113,"div")(114,"span",26),o(115," Alternatively, you can also add additional controls and components to toasts. "),e()(),n(116,"div",27)(117,"div",14),o(118," Hello, world! This is a toast message. "),n(119,"div",28)(120,"button",29),o(121,"Take action"),e(),n(122,"button",30),o(123,"Close"),e()()()()()()()(),n(124,"div",2)(125,"div",31)(126,"div",4)(127,"div",5)(128,"div",6),o(129," Color Variants Live "),e()(),n(130,"div",7)(131,"div",32)(132,"button",33),d("click",function(){return a.showPrimaryColor()}),o(133,"Primary"),e(),r(134,"p-toast",34),n(135,"button",35),d("click",function(){return a.showSecondaryColor()}),o(136,"secondary"),e(),r(137,"p-toast",36),n(138,"button",37),d("click",function(){return a.showWarningColor()}),o(139,"warning"),e(),r(140,"p-toast",38),n(141,"button",39),d("click",function(){return a.showInfoColor()}),o(142,"info"),e(),r(143,"p-toast",40),n(144,"button",41),d("click",function(){return a.showSuccessColor()}),o(145,"success"),e(),r(146,"p-toast",42),n(147,"button",43),d("click",function(){return a.showDangerColor()}),o(148,"danger"),e(),r(149,"p-toast",44),e(),n(150,"div",9)(151,"div",45)(152,"div",46)(153,"strong",12),o(154,"Toast"),e(),r(155,"button",13),e(),n(156,"div",14),o(157," Your,toast message here. "),e()(),n(158,"div",47)(159,"div",48)(160,"strong",12),o(161,"Toast"),e(),r(162,"button",13),e(),n(163,"div",14),o(164," Your,toast message here. "),e()(),n(165,"div",49)(166,"div",50)(167,"strong",12),o(168,"Toast"),e(),r(169,"button",13),e(),n(170,"div",14),o(171," Your,toast message here. "),e()(),n(172,"div",51)(173,"div",52)(174,"strong",12),o(175,"Toast"),e(),r(176,"button",13),e(),n(177,"div",14),o(178," Your,toast message here. "),e()(),n(179,"div",53)(180,"div",54)(181,"strong",12),o(182,"Toast"),e(),r(183,"button",13),e(),n(184,"div",14),o(185," Your,toast message here. "),e()(),n(186,"div",55)(187,"div",56)(188,"strong",12),o(189,"Toast"),e(),r(190,"button",13),e(),n(191,"div",14),o(192," Your,toast message here. "),e()()()()()(),n(193,"div",31)(194,"div",4)(195,"div",5)(196,"div",6),o(197," Solid Background Toasts "),e()(),n(198,"div",7)(199,"div",32)(200,"button",57),d("click",function(){return a.showPrimaryBackground()}),o(201,"Primary"),e(),n(202,"button",58),d("click",function(){return a.showSecondaryBackground()}),o(203,"secondary"),e(),n(204,"button",59),d("click",function(){return a.showWarningBackground()}),o(205,"warning"),e(),n(206,"button",60),d("click",function(){return a.showInfoBackground()}),o(207,"info"),e(),n(208,"button",61),d("click",function(){return a.showSuccessBackground()}),o(209,"success"),e(),n(210,"button",62),d("click",function(){return a.showDangerBackground()}),o(211,"danger"),e()(),n(212,"div",9)(213,"div",63)(214,"div",46)(215,"strong",12),o(216,"Toast"),e(),r(217,"button",13),e(),n(218,"div",14),o(219," Your,toast message here. "),e()(),n(220,"div",64)(221,"div",48)(222,"strong",12),o(223,"Toast"),e(),r(224,"button",13),e(),n(225,"div",14),o(226," Your,toast message here. "),e()(),n(227,"div",65)(228,"div",50)(229,"strong",12),o(230,"Toast"),e(),r(231,"button",13),e(),n(232,"div",14),o(233," Your,toast message here. "),e()(),n(234,"div",66)(235,"div",52)(236,"strong",12),o(237,"Toast"),e(),r(238,"button",13),e(),n(239,"div",14),o(240," Your,toast message here. "),e()(),n(241,"div",67)(242,"div",54)(243,"strong",12),o(244,"Toast"),e(),r(245,"button",13),e(),n(246,"div",14),o(247," Your,toast message here. "),e()(),n(248,"div",68)(249,"div",56)(250,"strong",12),o(251,"Toast"),e(),r(252,"button",13),e(),n(253,"div",14),o(254," Your,toast message here. "),e()()()()()()(),n(255,"div",2)(256,"div",69)(257,"div",4)(258,"div",5)(259,"div",6),o(260," Toast Placements "),e()(),n(261,"div",7)(262,"div",32)(263,"button",70),d("click",function(){return a.showTopLeft()}),o(264,"Top Left"),e(),r(265,"p-toast",71),n(266,"button",72),d("click",function(){return a.showTopCenter()}),o(267,"Top Center"),e(),r(268,"p-toast",73),n(269,"button",74),d("click",function(){return a.showTopRight()}),o(270,"Top Right"),e(),r(271,"p-toast",75),n(272,"button",76),d("click",function(){return a.showBottomLeft()}),o(273,"Bottom Left"),e(),r(274,"p-toast",77),n(275,"button",78),d("click",function(){return a.showBottomCenter()}),o(276,"Bottom Center"),e(),r(277,"p-toast",79),n(278,"button",80),d("click",function(){return a.showBottomRight()}),o(279,"Bottom Right"),e(),r(280,"p-toast",81),e(),n(281,"div",82)(282,"div",83)(283,"div",46)(284,"strong",12),o(285,"Toast"),e(),r(286,"button",13),e(),n(287,"div",14),o(288," Your,toast message here. "),e()()(),n(289,"div",84)(290,"div",85)(291,"div",46)(292,"strong",12),o(293,"Toast"),e(),r(294,"button",13),e(),n(295,"div",14),o(296," Your,toast message here. "),e()()(),n(297,"div",9)(298,"div",86)(299,"div",46)(300,"strong",12),o(301,"Toast"),e(),r(302,"button",13),e(),n(303,"div",14),o(304," Your,toast message here. "),e()()(),n(305,"div",87)(306,"div",88)(307,"div",46)(308,"strong",12),o(309,"Toast"),e(),r(310,"button",13),e(),n(311,"div",14),o(312," Your,toast message here. "),e()()(),n(313,"div",89)(314,"div",90)(315,"div",46)(316,"strong",12),o(317,"Toast"),e(),r(318,"button",13),e(),n(319,"div",14),o(320," Your,toast message here. "),e()()(),n(321,"div",91)(322,"div",92)(323,"div",46)(324,"strong",12),o(325,"Toast"),e(),r(326,"button",13),e(),n(327,"div",14),o(328," Your,toast message here. "),e()()(),n(329,"div",93)(330,"div",94)(331,"div",46)(332,"strong",12),o(333,"Toast"),e(),r(334,"button",13),e(),n(335,"div",14),o(336," Your,toast message here. "),e()()(),n(337,"div",95)(338,"div",96)(339,"div",46)(340,"strong",12),o(341,"Toast"),e(),r(342,"button",13),e(),n(343,"div",14),o(344," Your,toast message here. "),e()()(),n(345,"div",97)(346,"div",98)(347,"div",46)(348,"strong",12),o(349,"Toast"),e(),r(350,"button",13),e(),n(351,"div",14),o(352," Your,toast message here. "),e()()()()()()(),n(353,"div",2)(354,"div",69)(355,"div",4)(356,"div",5)(357,"div",6),o(358," Aligning Toast Using Flexbox "),e()(),n(359,"div",7)(360,"div",99)(361,"div",100)(362,"div",101)(363,"div",11)(364,"strong",12),o(365,"Toast"),e(),n(366,"small"),o(367,"11 mins ago"),e(),r(368,"button",13),e(),n(369,"div",14),o(370," Hello, world! This is a toast message. "),e()()()()()()()())},dependencies:[A,At,nt],encapsulation:2})};export{Lt as UiToastsComponent};