@maggioli-design-system/mds-push-notification 2.1.2 → 2.2.0

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 (55) hide show
  1. package/dist/cjs/{index-bdd83d01.js → index-c4051bde.js} +160 -65
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/mds-push-notification.cjs.entry.js +20 -12
  4. package/dist/cjs/mds-push-notification.cjs.js +2 -2
  5. package/dist/collection/collection-manifest.json +1 -1
  6. package/dist/collection/common/floating-controller.js +180 -0
  7. package/dist/collection/common/slot.js +10 -4
  8. package/dist/collection/components/mds-push-notification/mds-push-notification.js +41 -11
  9. package/dist/collection/dictionary/tree.js +13 -0
  10. package/dist/collection/type/tree.js +1 -0
  11. package/dist/components/mds-push-notification.js +19 -11
  12. package/dist/documentation.d.ts +8 -0
  13. package/dist/documentation.json +35 -13
  14. package/dist/esm/{index-a5ecda80.js → index-40893e6d.js} +160 -65
  15. package/dist/esm/loader.js +2 -2
  16. package/dist/esm/mds-push-notification.entry.js +20 -12
  17. package/dist/esm/mds-push-notification.js +3 -3
  18. package/dist/esm-es5/index-40893e6d.js +1 -0
  19. package/dist/esm-es5/loader.js +1 -1
  20. package/dist/esm-es5/mds-push-notification.entry.js +2 -2
  21. package/dist/esm-es5/mds-push-notification.js +1 -1
  22. package/dist/mds-push-notification/mds-push-notification.esm.js +1 -1
  23. package/dist/mds-push-notification/mds-push-notification.js +1 -1
  24. package/dist/mds-push-notification/p-1c60e347.entry.js +6 -0
  25. package/dist/mds-push-notification/p-3b18d74e.js +2 -0
  26. package/{www/build/p-313df2a2.system.entry.js → dist/mds-push-notification/p-4ff55f8a.system.entry.js} +2 -2
  27. package/dist/mds-push-notification/p-91b16fd4.system.js +2 -0
  28. package/dist/mds-push-notification/{p-9d064301.system.js → p-be470da4.system.js} +1 -1
  29. package/dist/stats.json +107 -53
  30. package/dist/types/common/floating-controller.d.ts +46 -0
  31. package/dist/types/common/slot.d.ts +2 -1
  32. package/dist/types/dictionary/tree.d.ts +4 -0
  33. package/dist/types/type/tree.d.ts +3 -0
  34. package/documentation.json +60 -18
  35. package/package.json +6 -6
  36. package/src/common/floating-controller.ts +263 -0
  37. package/src/common/slot.ts +12 -3
  38. package/src/dictionary/tree.ts +21 -0
  39. package/src/fixtures/icons.json +20 -0
  40. package/src/fixtures/iconsauce.json +6 -0
  41. package/src/type/tree.ts +12 -0
  42. package/www/build/mds-push-notification.esm.js +1 -1
  43. package/www/build/mds-push-notification.js +1 -1
  44. package/www/build/p-1c60e347.entry.js +6 -0
  45. package/www/build/p-3b18d74e.js +2 -0
  46. package/{dist/mds-push-notification/p-313df2a2.system.entry.js → www/build/p-4ff55f8a.system.entry.js} +2 -2
  47. package/www/build/p-91b16fd4.system.js +2 -0
  48. package/www/build/{p-9d064301.system.js → p-be470da4.system.js} +1 -1
  49. package/dist/esm-es5/index-a5ecda80.js +0 -1
  50. package/dist/mds-push-notification/p-36238f45.system.js +0 -2
  51. package/dist/mds-push-notification/p-4e329022.entry.js +0 -6
  52. package/dist/mds-push-notification/p-7857bd4f.js +0 -2
  53. package/www/build/p-36238f45.system.js +0 -2
  54. package/www/build/p-4e329022.entry.js +0 -6
  55. package/www/build/p-7857bd4f.js +0 -2
@@ -1,6 +1,6 @@
1
- var __awaiter=this&&this.__awaiter||function(n,t,r,i){function a(n){return n instanceof r?n:new r((function(t){t(n)}))}return new(r||(r=Promise))((function(r,o){function e(n){try{c(i.next(n))}catch(n){o(n)}}function s(n){try{c(i["throw"](n))}catch(n){o(n)}}function c(n){n.done?r(n.value):a(n.value).then(e,s)}c((i=i.apply(n,t||[])).next())}))};var __generator=this&&this.__generator||function(n,t){var r={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},i,a,o,e;return e={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(e[Symbol.iterator]=function(){return this}),e;function s(n){return function(t){return c([n,t])}}function c(s){if(i)throw new TypeError("Generator is already executing.");while(e&&(e=0,s[0]&&(r=0)),r)try{if(i=1,a&&(o=s[0]&2?a["return"]:s[0]?a["throw"]||((o=a["return"])&&o.call(a),0):a.next)&&!(o=o.call(a,s[1])).done)return o;if(a=0,o)s=[s[0]&2,o.value];switch(s[0]){case 0:case 1:o=s;break;case 4:r.label++;return{value:s[1],done:false};case 5:r.label++;a=s[1];s=[0];continue;case 7:s=r.ops.pop();r.trys.pop();continue;default:if(!(o=r.trys,o=o.length>0&&o[o.length-1])&&(s[0]===6||s[0]===2)){r=0;continue}if(s[0]===3&&(!o||s[1]>o[0]&&s[1]<o[3])){r.label=s[1];break}if(s[0]===6&&r.label<o[1]){r.label=o[1];o=s;break}if(o&&r.label<o[2]){r.label=o[2];r.ops.push(s);break}if(o[2])r.ops.pop();r.trys.pop();continue}s=t.call(n,r)}catch(n){s=[6,n];a=0}finally{i=o=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-36238f45.system.js"],(function(n){"use strict";var t,r,i,a,o;return{setters:[function(n){t=n.r;r=n.c;i=n.h;a=n.H;o=n.g}],execute:function(){var e=typeof globalThis!=="undefined"?globalThis:typeof window!=="undefined"?window:typeof global!=="undefined"?global:typeof self!=="undefined"?self:{};var s={exports:{}};(function(n,t){!function(t,r){n.exports=r()}(e,(function(){var n=1e3,t=6e4,r=36e5,i="millisecond",a="second",o="minute",e="hour",s="day",c="week",u="month",h="quarter",f="year",l="date",d="Invalid Date",v=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,m=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,b={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(n){var t=["th","st","nd","rd"],r=n%100;return"["+n+(t[(r-20)%10]||t[r]||t[0])+"]"}},p=function(n,t,r){var i=String(n);return!i||i.length>=t?n:""+Array(t+1-i.length).join(r)+n},g={s:p,z:function(n){var t=-n.utcOffset(),r=Math.abs(t),i=Math.floor(r/60),a=r%60;return(t<=0?"+":"-")+p(i,2,"0")+":"+p(a,2,"0")},m:function n(t,r){if(t.date()<r.date())return-n(r,t);var i=12*(r.year()-t.year())+(r.month()-t.month()),a=t.clone().add(i,u),o=r-a<0,e=t.clone().add(i+(o?-1:1),u);return+(-(i+(r-a)/(o?a-e:e-a))||0)},a:function(n){return n<0?Math.ceil(n)||0:Math.floor(n)},p:function(n){return{M:u,y:f,w:c,d:s,D:l,h:e,m:o,s:a,ms:i,Q:h}[n]||String(n||"").toLowerCase().replace(/s$/,"")},u:function(n){return void 0===n}},y="en",w={};w[y]=b;var k="$isDayjsObject",x=function(n){return n instanceof D||!(!n||!n[k])},M=function n(t,r,i){var a;if(!t)return y;if("string"==typeof t){var o=t.toLowerCase();w[o]&&(a=o),r&&(w[o]=r,a=o);var e=t.split("-");if(!a&&e.length>1)return n(e[0])}else{var s=t.name;w[s]=t,a=s}return!i&&a&&(y=a),a||!i&&y},_=function(n,t){if(x(n))return n.clone();var r="object"==typeof t?t:{};return r.date=n,r.args=arguments,new D(r)},q=g;q.l=M,q.i=x,q.w=function(n,t){return _(n,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var D=function(){function b(n){this.$L=M(n.locale,null,!0),this.parse(n),this.$x=this.$x||n.x||{},this[k]=!0}var p=b.prototype;return p.parse=function(n){this.$d=function(n){var t=n.date,r=n.utc;if(null===t)return new Date(NaN);if(q.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var i=t.match(v);if(i){var a=i[2]-1||0,o=(i[7]||"0").substring(0,3);return r?new Date(Date.UTC(i[1],a,i[3]||1,i[4]||0,i[5]||0,i[6]||0,o)):new Date(i[1],a,i[3]||1,i[4]||0,i[5]||0,i[6]||0,o)}}return new Date(t)}(n),this.init()},p.init=function(){var n=this.$d;this.$y=n.getFullYear(),this.$M=n.getMonth(),this.$D=n.getDate(),this.$W=n.getDay(),this.$H=n.getHours(),this.$m=n.getMinutes(),this.$s=n.getSeconds(),this.$ms=n.getMilliseconds()},p.$utils=function(){return q},p.isValid=function(){return!(this.$d.toString()===d)},p.isSame=function(n,t){var r=_(n);return this.startOf(t)<=r&&r<=this.endOf(t)},p.isAfter=function(n,t){return _(n)<this.startOf(t)},p.isBefore=function(n,t){return this.endOf(t)<_(n)},p.$g=function(n,t,r){return q.u(n)?this[t]:this.set(r,n)},p.unix=function(){return Math.floor(this.valueOf()/1e3)},p.valueOf=function(){return this.$d.getTime()},p.startOf=function(n,t){var r=this,i=!!q.u(t)||t,h=q.p(n),d=function(n,t){var a=q.w(r.$u?Date.UTC(r.$y,t,n):new Date(r.$y,t,n),r);return i?a:a.endOf(s)},v=function(n,t){return q.w(r.toDate()[n].apply(r.toDate("s"),(i?[0,0,0,0]:[23,59,59,999]).slice(t)),r)},m=this.$W,b=this.$M,p=this.$D,g="set"+(this.$u?"UTC":"");switch(h){case f:return i?d(1,0):d(31,11);case u:return i?d(1,b):d(0,b+1);case c:var y=this.$locale().weekStart||0,w=(m<y?m+7:m)-y;return d(i?p-w:p+(6-w),b);case s:case l:return v(g+"Hours",0);case e:return v(g+"Minutes",1);case o:return v(g+"Seconds",2);case a:return v(g+"Milliseconds",3);default:return this.clone()}},p.endOf=function(n){return this.startOf(n,!1)},p.$set=function(n,t){var r,c=q.p(n),h="set"+(this.$u?"UTC":""),d=(r={},r[s]=h+"Date",r[l]=h+"Date",r[u]=h+"Month",r[f]=h+"FullYear",r[e]=h+"Hours",r[o]=h+"Minutes",r[a]=h+"Seconds",r[i]=h+"Milliseconds",r)[c],v=c===s?this.$D+(t-this.$W):t;if(c===u||c===f){var m=this.clone().set(l,1);m.$d[d](v),m.init(),this.$d=m.set(l,Math.min(this.$D,m.daysInMonth())).$d}else d&&this.$d[d](v);return this.init(),this},p.set=function(n,t){return this.clone().$set(n,t)},p.get=function(n){return this[q.p(n)]()},p.add=function(i,h){var l,d=this;i=Number(i);var v=q.p(h),m=function(n){var t=_(d);return q.w(t.date(t.date()+Math.round(n*i)),d)};if(v===u)return this.set(u,this.$M+i);if(v===f)return this.set(f,this.$y+i);if(v===s)return m(1);if(v===c)return m(7);var b=(l={},l[o]=t,l[e]=r,l[a]=n,l)[v]||1,p=this.$d.getTime()+i*b;return q.w(p,this)},p.subtract=function(n,t){return this.add(-1*n,t)},p.format=function(n){var t=this,r=this.$locale();if(!this.isValid())return r.invalidDate||d;var i=n||"YYYY-MM-DDTHH:mm:ssZ",a=q.z(this),o=this.$H,e=this.$m,s=this.$M,c=r.weekdays,u=r.months,h=r.meridiem,f=function(n,r,a,o){return n&&(n[r]||n(t,i))||a[r].slice(0,o)},l=function(n){return q.s(o%12||12,n,"0")},v=h||function(n,t,r){var i=n<12?"AM":"PM";return r?i.toLowerCase():i};return i.replace(m,(function(n,i){return i||function(n){switch(n){case"YY":return String(t.$y).slice(-2);case"YYYY":return q.s(t.$y,4,"0");case"M":return s+1;case"MM":return q.s(s+1,2,"0");case"MMM":return f(r.monthsShort,s,u,3);case"MMMM":return f(u,s);case"D":return t.$D;case"DD":return q.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return f(r.weekdaysMin,t.$W,c,2);case"ddd":return f(r.weekdaysShort,t.$W,c,3);case"dddd":return c[t.$W];case"H":return String(o);case"HH":return q.s(o,2,"0");case"h":return l(1);case"hh":return l(2);case"a":return v(o,e,!0);case"A":return v(o,e,!1);case"m":return String(e);case"mm":return q.s(e,2,"0");case"s":return String(t.$s);case"ss":return q.s(t.$s,2,"0");case"SSS":return q.s(t.$ms,3,"0");case"Z":return a}return null}(n)||a.replace(":","")}))},p.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},p.diff=function(i,l,d){var v,m=this,b=q.p(l),p=_(i),g=(p.utcOffset()-this.utcOffset())*t,y=this-p,w=function(){return q.m(m,p)};switch(b){case f:v=w()/12;break;case u:v=w();break;case h:v=w()/3;break;case c:v=(y-g)/6048e5;break;case s:v=(y-g)/864e5;break;case e:v=y/r;break;case o:v=y/t;break;case a:v=y/n;break;default:v=y}return d?v:q.a(v)},p.daysInMonth=function(){return this.endOf(u).$D},p.$locale=function(){return w[this.$L]},p.locale=function(n,t){if(!n)return this.$L;var r=this.clone(),i=M(n,t,!0);return i&&(r.$L=i),r},p.clone=function(){return q.w(this.$d,this)},p.toDate=function(){return new Date(this.valueOf())},p.toJSON=function(){return this.isValid()?this.toISOString():null},p.toISOString=function(){return this.$d.toISOString()},p.toString=function(){return this.$d.toUTCString()},b}(),S=D.prototype;return _.prototype=S,[["$ms",i],["$s",a],["$m",o],["$H",e],["$W",s],["$M",u],["$y",f],["$D",l]].forEach((function(n){S[n[1]]=function(t){return this.$g(t,n[0],n[1])}})),_.extend=function(n,t){return n.$i||(n(t,D,_),n.$i=!0),_},_.locale=M,_.isDayjs=x,_.unix=function(n){return _(1e3*n)},_.en=w[y],_.Ls=w,_.p={},_}))})(s);var c=s.exports;var u="Κλείσιμο";var h="σε %s";var f="πριν από %s";var l="λίγα δευτ.";var d="1 λεπτό";var v="%d λεπτά";var m="1 ώρα";var b="%d ώρες";var p="1 ημέρα";var g="%d ημέρες";var y="1 μήνας";var w="%d μήνες";var k="1 έτος";var x="%d έτη";var M={dismiss:u,future:h,past:f,s:l,m:d,mm:v,h:m,hh:b,d:p,dd:g,M:y,MM:w,y:k,yy:x};var _="Close";var q="in %s";var D="%s ago";var S="few sec";var j="1 min";var $="%d mins";var C="1 hour";var E="%d hours";var L="1 day";var T="%d days";var Y="1 month";var A="%d months";var H="1 year";var z="%d years";var N={dismiss:_,future:q,past:D,s:S,m:j,mm:$,h:C,hh:E,d:L,dd:T,M:Y,MM:A,y:H,yy:z};var U="Cerrar";var O="en %s";var R="hace %s";var Z="pocos seg";var F="1 min";var I="%d mins";var J="1 hora";var P="%d horas";var W="1 día";var B="%d días";var G="1 mes";var Q="%d meses";var K="1 año";var V="%d años";var X={dismiss:U,future:O,past:R,s:Z,m:F,mm:I,h:J,hh:P,d:W,dd:B,M:G,MM:Q,y:K,yy:V};var nn="Chiudi";var tn="tra %s";var rn="%s fa";var an="pochi sec";var on="1 min";var en="%d min";var sn="1 ora";var cn="%d ore";var un="1 giorno";var hn="%d giorni";var fn="1 mese";var ln="%d mesi";var dn="1 anno";var vn="%d anni";var mn={dismiss:nn,future:tn,past:rn,s:an,m:on,mm:en,h:sn,hh:cn,d:un,dd:hn,M:fn,MM:ln,y:dn,yy:vn};var bn='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10s10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17L12 13.41L8.41 17L7 15.59L10.59 12L7 8.41L8.41 7L12 10.59L15.59 7L17 8.41L13.41 12L17 15.59z"/></svg>';var pn={exports:{}};(function(n,t){!function(t,r){n.exports=r()}(e,(function(){return function(n,t,r){n=n||{};var i=t.prototype,a={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function o(n,t,r,a){return i.fromToBase(n,t,r,a)}r.en.relativeTime=a,i.fromToBase=function(t,i,o,e,s){for(var c,u,h,f=o.$locale().relativeTime||a,l=n.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],d=l.length,v=0;v<d;v+=1){var m=l[v];m.d&&(c=e?r(t).diff(o,m.d,!0):o.diff(t,m.d,!0));var b=(n.rounding||Math.round)(Math.abs(c));if(h=c>0,b<=m.r||!m.r){b<=1&&v>0&&(m=l[v-1]);var p=f[m.l];s&&(b=s(""+b)),u="string"==typeof p?p.replace("%d",b):p(b,i,m.l,h);break}}if(i)return u;var g=h?f.future:f.past;return"function"==typeof g?g(u):g.replace("%s",u)},i.to=function(n,t){return o(n,t,this,!0)},i.from=function(n,t){return o(n,t,this)};var e=function(n){return n.$u?r.utc():r()};i.toNow=function(n){return this.to(e(this),n)},i.fromNow=function(n){return this.from(e(this),n)}}}))})(pn);var gn=pn.exports;var yn={exports:{}};(function(n,t){(function(t,r){n.exports=r()})(e,(function(){
1
+ var __awaiter=this&&this.__awaiter||function(n,t,r,i){function a(n){return n instanceof r?n:new r((function(t){t(n)}))}return new(r||(r=Promise))((function(r,o){function e(n){try{c(i.next(n))}catch(n){o(n)}}function s(n){try{c(i["throw"](n))}catch(n){o(n)}}function c(n){n.done?r(n.value):a(n.value).then(e,s)}c((i=i.apply(n,t||[])).next())}))};var __generator=this&&this.__generator||function(n,t){var r={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},i,a,o,e;return e={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(e[Symbol.iterator]=function(){return this}),e;function s(n){return function(t){return c([n,t])}}function c(s){if(i)throw new TypeError("Generator is already executing.");while(e&&(e=0,s[0]&&(r=0)),r)try{if(i=1,a&&(o=s[0]&2?a["return"]:s[0]?a["throw"]||((o=a["return"])&&o.call(a),0):a.next)&&!(o=o.call(a,s[1])).done)return o;if(a=0,o)s=[s[0]&2,o.value];switch(s[0]){case 0:case 1:o=s;break;case 4:r.label++;return{value:s[1],done:false};case 5:r.label++;a=s[1];s=[0];continue;case 7:s=r.ops.pop();r.trys.pop();continue;default:if(!(o=r.trys,o=o.length>0&&o[o.length-1])&&(s[0]===6||s[0]===2)){r=0;continue}if(s[0]===3&&(!o||s[1]>o[0]&&s[1]<o[3])){r.label=s[1];break}if(s[0]===6&&r.label<o[1]){r.label=o[1];o=s;break}if(o&&r.label<o[2]){r.label=o[2];r.ops.push(s);break}if(o[2])r.ops.pop();r.trys.pop();continue}s=t.call(n,r)}catch(n){s=[6,n];a=0}finally{i=o=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-91b16fd4.system.js"],(function(n){"use strict";var t,r,i,a,o;return{setters:[function(n){t=n.r;r=n.c;i=n.h;a=n.H;o=n.g}],execute:function(){var e=typeof globalThis!=="undefined"?globalThis:typeof window!=="undefined"?window:typeof global!=="undefined"?global:typeof self!=="undefined"?self:{};var s={exports:{}};(function(n,t){!function(t,r){n.exports=r()}(e,(function(){var n=1e3,t=6e4,r=36e5,i="millisecond",a="second",o="minute",e="hour",s="day",c="week",u="month",h="quarter",f="year",l="date",d="Invalid Date",v=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,m=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,b={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(n){var t=["th","st","nd","rd"],r=n%100;return"["+n+(t[(r-20)%10]||t[r]||t[0])+"]"}},p=function(n,t,r){var i=String(n);return!i||i.length>=t?n:""+Array(t+1-i.length).join(r)+n},g={s:p,z:function(n){var t=-n.utcOffset(),r=Math.abs(t),i=Math.floor(r/60),a=r%60;return(t<=0?"+":"-")+p(i,2,"0")+":"+p(a,2,"0")},m:function n(t,r){if(t.date()<r.date())return-n(r,t);var i=12*(r.year()-t.year())+(r.month()-t.month()),a=t.clone().add(i,u),o=r-a<0,e=t.clone().add(i+(o?-1:1),u);return+(-(i+(r-a)/(o?a-e:e-a))||0)},a:function(n){return n<0?Math.ceil(n)||0:Math.floor(n)},p:function(n){return{M:u,y:f,w:c,d:s,D:l,h:e,m:o,s:a,ms:i,Q:h}[n]||String(n||"").toLowerCase().replace(/s$/,"")},u:function(n){return void 0===n}},y="en",w={};w[y]=b;var k="$isDayjsObject",x=function(n){return n instanceof D||!(!n||!n[k])},M=function n(t,r,i){var a;if(!t)return y;if("string"==typeof t){var o=t.toLowerCase();w[o]&&(a=o),r&&(w[o]=r,a=o);var e=t.split("-");if(!a&&e.length>1)return n(e[0])}else{var s=t.name;w[s]=t,a=s}return!i&&a&&(y=a),a||!i&&y},_=function(n,t){if(x(n))return n.clone();var r="object"==typeof t?t:{};return r.date=n,r.args=arguments,new D(r)},q=g;q.l=M,q.i=x,q.w=function(n,t){return _(n,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var D=function(){function b(n){this.$L=M(n.locale,null,!0),this.parse(n),this.$x=this.$x||n.x||{},this[k]=!0}var p=b.prototype;return p.parse=function(n){this.$d=function(n){var t=n.date,r=n.utc;if(null===t)return new Date(NaN);if(q.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var i=t.match(v);if(i){var a=i[2]-1||0,o=(i[7]||"0").substring(0,3);return r?new Date(Date.UTC(i[1],a,i[3]||1,i[4]||0,i[5]||0,i[6]||0,o)):new Date(i[1],a,i[3]||1,i[4]||0,i[5]||0,i[6]||0,o)}}return new Date(t)}(n),this.init()},p.init=function(){var n=this.$d;this.$y=n.getFullYear(),this.$M=n.getMonth(),this.$D=n.getDate(),this.$W=n.getDay(),this.$H=n.getHours(),this.$m=n.getMinutes(),this.$s=n.getSeconds(),this.$ms=n.getMilliseconds()},p.$utils=function(){return q},p.isValid=function(){return!(this.$d.toString()===d)},p.isSame=function(n,t){var r=_(n);return this.startOf(t)<=r&&r<=this.endOf(t)},p.isAfter=function(n,t){return _(n)<this.startOf(t)},p.isBefore=function(n,t){return this.endOf(t)<_(n)},p.$g=function(n,t,r){return q.u(n)?this[t]:this.set(r,n)},p.unix=function(){return Math.floor(this.valueOf()/1e3)},p.valueOf=function(){return this.$d.getTime()},p.startOf=function(n,t){var r=this,i=!!q.u(t)||t,h=q.p(n),d=function(n,t){var a=q.w(r.$u?Date.UTC(r.$y,t,n):new Date(r.$y,t,n),r);return i?a:a.endOf(s)},v=function(n,t){return q.w(r.toDate()[n].apply(r.toDate("s"),(i?[0,0,0,0]:[23,59,59,999]).slice(t)),r)},m=this.$W,b=this.$M,p=this.$D,g="set"+(this.$u?"UTC":"");switch(h){case f:return i?d(1,0):d(31,11);case u:return i?d(1,b):d(0,b+1);case c:var y=this.$locale().weekStart||0,w=(m<y?m+7:m)-y;return d(i?p-w:p+(6-w),b);case s:case l:return v(g+"Hours",0);case e:return v(g+"Minutes",1);case o:return v(g+"Seconds",2);case a:return v(g+"Milliseconds",3);default:return this.clone()}},p.endOf=function(n){return this.startOf(n,!1)},p.$set=function(n,t){var r,c=q.p(n),h="set"+(this.$u?"UTC":""),d=(r={},r[s]=h+"Date",r[l]=h+"Date",r[u]=h+"Month",r[f]=h+"FullYear",r[e]=h+"Hours",r[o]=h+"Minutes",r[a]=h+"Seconds",r[i]=h+"Milliseconds",r)[c],v=c===s?this.$D+(t-this.$W):t;if(c===u||c===f){var m=this.clone().set(l,1);m.$d[d](v),m.init(),this.$d=m.set(l,Math.min(this.$D,m.daysInMonth())).$d}else d&&this.$d[d](v);return this.init(),this},p.set=function(n,t){return this.clone().$set(n,t)},p.get=function(n){return this[q.p(n)]()},p.add=function(i,h){var l,d=this;i=Number(i);var v=q.p(h),m=function(n){var t=_(d);return q.w(t.date(t.date()+Math.round(n*i)),d)};if(v===u)return this.set(u,this.$M+i);if(v===f)return this.set(f,this.$y+i);if(v===s)return m(1);if(v===c)return m(7);var b=(l={},l[o]=t,l[e]=r,l[a]=n,l)[v]||1,p=this.$d.getTime()+i*b;return q.w(p,this)},p.subtract=function(n,t){return this.add(-1*n,t)},p.format=function(n){var t=this,r=this.$locale();if(!this.isValid())return r.invalidDate||d;var i=n||"YYYY-MM-DDTHH:mm:ssZ",a=q.z(this),o=this.$H,e=this.$m,s=this.$M,c=r.weekdays,u=r.months,h=r.meridiem,f=function(n,r,a,o){return n&&(n[r]||n(t,i))||a[r].slice(0,o)},l=function(n){return q.s(o%12||12,n,"0")},v=h||function(n,t,r){var i=n<12?"AM":"PM";return r?i.toLowerCase():i};return i.replace(m,(function(n,i){return i||function(n){switch(n){case"YY":return String(t.$y).slice(-2);case"YYYY":return q.s(t.$y,4,"0");case"M":return s+1;case"MM":return q.s(s+1,2,"0");case"MMM":return f(r.monthsShort,s,u,3);case"MMMM":return f(u,s);case"D":return t.$D;case"DD":return q.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return f(r.weekdaysMin,t.$W,c,2);case"ddd":return f(r.weekdaysShort,t.$W,c,3);case"dddd":return c[t.$W];case"H":return String(o);case"HH":return q.s(o,2,"0");case"h":return l(1);case"hh":return l(2);case"a":return v(o,e,!0);case"A":return v(o,e,!1);case"m":return String(e);case"mm":return q.s(e,2,"0");case"s":return String(t.$s);case"ss":return q.s(t.$s,2,"0");case"SSS":return q.s(t.$ms,3,"0");case"Z":return a}return null}(n)||a.replace(":","")}))},p.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},p.diff=function(i,l,d){var v,m=this,b=q.p(l),p=_(i),g=(p.utcOffset()-this.utcOffset())*t,y=this-p,w=function(){return q.m(m,p)};switch(b){case f:v=w()/12;break;case u:v=w();break;case h:v=w()/3;break;case c:v=(y-g)/6048e5;break;case s:v=(y-g)/864e5;break;case e:v=y/r;break;case o:v=y/t;break;case a:v=y/n;break;default:v=y}return d?v:q.a(v)},p.daysInMonth=function(){return this.endOf(u).$D},p.$locale=function(){return w[this.$L]},p.locale=function(n,t){if(!n)return this.$L;var r=this.clone(),i=M(n,t,!0);return i&&(r.$L=i),r},p.clone=function(){return q.w(this.$d,this)},p.toDate=function(){return new Date(this.valueOf())},p.toJSON=function(){return this.isValid()?this.toISOString():null},p.toISOString=function(){return this.$d.toISOString()},p.toString=function(){return this.$d.toUTCString()},b}(),S=D.prototype;return _.prototype=S,[["$ms",i],["$s",a],["$m",o],["$H",e],["$W",s],["$M",u],["$y",f],["$D",l]].forEach((function(n){S[n[1]]=function(t){return this.$g(t,n[0],n[1])}})),_.extend=function(n,t){return n.$i||(n(t,D,_),n.$i=!0),_},_.locale=M,_.isDayjs=x,_.unix=function(n){return _(1e3*n)},_.en=w[y],_.Ls=w,_.p={},_}))})(s);var c=s.exports;var u="Κλείσιμο";var h="σε %s";var f="πριν από %s";var l="λίγα δευτ.";var d="1 λεπτό";var v="%d λεπτά";var m="1 ώρα";var b="%d ώρες";var p="1 ημέρα";var g="%d ημέρες";var y="1 μήνας";var w="%d μήνες";var k="1 έτος";var x="%d έτη";var M={dismiss:u,future:h,past:f,s:l,m:d,mm:v,h:m,hh:b,d:p,dd:g,M:y,MM:w,y:k,yy:x};var _="Close";var q="in %s";var D="%s ago";var S="few sec";var j="1 min";var $="%d mins";var C="1 hour";var E="%d hours";var L="1 day";var T="%d days";var Y="1 month";var A="%d months";var H="1 year";var z="%d years";var N={dismiss:_,future:q,past:D,s:S,m:j,mm:$,h:C,hh:E,d:L,dd:T,M:Y,MM:A,y:H,yy:z};var U="Cerrar";var O="en %s";var R="hace %s";var Z="pocos seg";var F="1 min";var I="%d mins";var J="1 hora";var P="%d horas";var W="1 día";var B="%d días";var G="1 mes";var Q="%d meses";var K="1 año";var V="%d años";var X={dismiss:U,future:O,past:R,s:Z,m:F,mm:I,h:J,hh:P,d:W,dd:B,M:G,MM:Q,y:K,yy:V};var nn="Chiudi";var tn="tra %s";var rn="%s fa";var an="pochi sec";var on="1 min";var en="%d min";var sn="1 ora";var cn="%d ore";var un="1 giorno";var hn="%d giorni";var fn="1 mese";var ln="%d mesi";var dn="1 anno";var vn="%d anni";var mn={dismiss:nn,future:tn,past:rn,s:an,m:on,mm:en,h:sn,hh:cn,d:un,dd:hn,M:fn,MM:ln,y:dn,yy:vn};var bn='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10s10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17L12 13.41L8.41 17L7 15.59L10.59 12L7 8.41L8.41 7L12 10.59L15.59 7L17 8.41L13.41 12L17 15.59z"/></svg>';var pn={exports:{}};(function(n,t){!function(t,r){n.exports=r()}(e,(function(){return function(n,t,r){n=n||{};var i=t.prototype,a={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function o(n,t,r,a){return i.fromToBase(n,t,r,a)}r.en.relativeTime=a,i.fromToBase=function(t,i,o,e,s){for(var c,u,h,f=o.$locale().relativeTime||a,l=n.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],d=l.length,v=0;v<d;v+=1){var m=l[v];m.d&&(c=e?r(t).diff(o,m.d,!0):o.diff(t,m.d,!0));var b=(n.rounding||Math.round)(Math.abs(c));if(h=c>0,b<=m.r||!m.r){b<=1&&v>0&&(m=l[v-1]);var p=f[m.l];s&&(b=s(""+b)),u="string"==typeof p?p.replace("%d",b):p(b,i,m.l,h);break}}if(i)return u;var g=h?f.future:f.past;return"function"==typeof g?g(u):g.replace("%s",u)},i.to=function(n,t){return o(n,t,this,!0)},i.from=function(n,t){return o(n,t,this)};var e=function(n){return n.$u?r.utc():r()};i.toNow=function(n){return this.to(e(this),n)},i.fromNow=function(n){return this.from(e(this),n)}}}))})(pn);var gn=pn.exports;var yn={exports:{}};(function(n,t){(function(t,r){n.exports=r()})(e,(function(){
2
2
  /*!
3
3
  * mustache.js - Logic-less {{mustache}} templates with JavaScript
4
4
  * http://github.com/janl/mustache.js
5
5
  */
6
- var n=Object.prototype.toString;var t=Array.isArray||function t(r){return n.call(r)==="[object Array]"};function r(n){return typeof n==="function"}function i(n){return t(n)?"array":typeof n}function a(n){return n.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function o(n,t){return n!=null&&typeof n==="object"&&t in n}function e(n,t){return n!=null&&typeof n!=="object"&&n.hasOwnProperty&&n.hasOwnProperty(t)}var s=RegExp.prototype.test;function c(n,t){return s.call(n,t)}var u=/\S/;function h(n){return!c(u,n)}var f={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;","`":"&#x60;","=":"&#x3D;"};function l(n){return String(n).replace(/[&<>"'`=\/]/g,(function n(t){return f[t]}))}var d=/\s*/;var v=/\s+/;var m=/\s*=/;var b=/\s*\}/;var p=/#|\^|\/|>|\{|&|=|!/;function g(n,r){if(!n)return[];var i=false;var o=[];var e=[];var s=[];var c=false;var u=false;var f="";var l=0;function g(){if(c&&!u){while(s.length)delete e[s.pop()]}else{s=[]}c=false;u=false}var x,M,q;function D(n){if(typeof n==="string")n=n.split(v,2);if(!t(n)||n.length!==2)throw new Error("Invalid tags: "+n);x=new RegExp(a(n[0])+"\\s*");M=new RegExp("\\s*"+a(n[1]));q=new RegExp("\\s*"+a("}"+n[1]))}D(r||_.tags);var S=new k(n);var j,$,C,E,L,T;while(!S.eos()){j=S.pos;C=S.scanUntil(x);if(C){for(var Y=0,A=C.length;Y<A;++Y){E=C.charAt(Y);if(h(E)){s.push(e.length);f+=E}else{u=true;i=true;f+=" "}e.push(["text",E,j,j+1]);j+=1;if(E==="\n"){g();f="";l=0;i=false}}}if(!S.scan(x))break;c=true;$=S.scan(p)||"name";S.scan(d);if($==="="){C=S.scanUntil(m);S.scan(m);S.scanUntil(M)}else if($==="{"){C=S.scanUntil(q);S.scan(b);S.scanUntil(M);$="&"}else{C=S.scanUntil(M)}if(!S.scan(M))throw new Error("Unclosed tag at "+S.pos);if($==">"){L=[$,C,j,S.pos,f,l,i]}else{L=[$,C,j,S.pos]}l++;e.push(L);if($==="#"||$==="^"){o.push(L)}else if($==="/"){T=o.pop();if(!T)throw new Error('Unopened section "'+C+'" at '+j);if(T[1]!==C)throw new Error('Unclosed section "'+T[1]+'" at '+j)}else if($==="name"||$==="{"||$==="&"){u=true}else if($==="="){D(C)}}g();T=o.pop();if(T)throw new Error('Unclosed section "'+T[1]+'" at '+S.pos);return w(y(e))}function y(n){var t=[];var r,i;for(var a=0,o=n.length;a<o;++a){r=n[a];if(r){if(r[0]==="text"&&i&&i[0]==="text"){i[1]+=r[1];i[3]=r[3]}else{t.push(r);i=r}}}return t}function w(n){var t=[];var r=t;var i=[];var a,o;for(var e=0,s=n.length;e<s;++e){a=n[e];switch(a[0]){case"#":case"^":r.push(a);i.push(a);r=a[4]=[];break;case"/":o=i.pop();o[5]=a[2];r=i.length>0?i[i.length-1][4]:t;break;default:r.push(a)}}return t}function k(n){this.string=n;this.tail=n;this.pos=0}k.prototype.eos=function n(){return this.tail===""};k.prototype.scan=function n(t){var r=this.tail.match(t);if(!r||r.index!==0)return"";var i=r[0];this.tail=this.tail.substring(i.length);this.pos+=i.length;return i};k.prototype.scanUntil=function n(t){var r=this.tail.search(t),i;switch(r){case-1:i=this.tail;this.tail="";break;case 0:i="";break;default:i=this.tail.substring(0,r);this.tail=this.tail.substring(r)}this.pos+=i.length;return i};function x(n,t){this.view=n;this.cache={".":this.view};this.parent=t}x.prototype.push=function n(t){return new x(t,this)};x.prototype.lookup=function n(t){var i=this.cache;var a;if(i.hasOwnProperty(t)){a=i[t]}else{var s=this,c,u,h,f=false;while(s){if(t.indexOf(".")>0){c=s.view;u=t.split(".");h=0;while(c!=null&&h<u.length){if(h===u.length-1)f=o(c,u[h])||e(c,u[h]);c=c[u[h++]]}}else{c=s.view[t];f=o(s.view,t)}if(f){a=c;break}s=s.parent}i[t]=a}if(r(a))a=a.call(this.view);return a};function M(){this.templateCache={_cache:{},set:function n(t,r){this._cache[t]=r},get:function n(t){return this._cache[t]},clear:function n(){this._cache={}}}}M.prototype.clearCache=function n(){if(typeof this.templateCache!=="undefined"){this.templateCache.clear()}};M.prototype.parse=function n(t,r){var i=this.templateCache;var a=t+":"+(r||_.tags).join(":");var o=typeof i!=="undefined";var e=o?i.get(a):undefined;if(e==undefined){e=g(t,r);o&&i.set(a,e)}return e};M.prototype.render=function n(t,r,i,a){var o=this.getConfigTags(a);var e=this.parse(t,o);var s=r instanceof x?r:new x(r,undefined);return this.renderTokens(e,s,i,t,a)};M.prototype.renderTokens=function n(t,r,i,a,o){var e="";var s,c,u;for(var h=0,f=t.length;h<f;++h){u=undefined;s=t[h];c=s[0];if(c==="#")u=this.renderSection(s,r,i,a,o);else if(c==="^")u=this.renderInverted(s,r,i,a,o);else if(c===">")u=this.renderPartial(s,r,i,o);else if(c==="&")u=this.unescapedValue(s,r);else if(c==="name")u=this.escapedValue(s,r,o);else if(c==="text")u=this.rawValue(s);if(u!==undefined)e+=u}return e};M.prototype.renderSection=function n(i,a,o,e,s){var c=this;var u="";var h=a.lookup(i[1]);function f(n){return c.render(n,a,o,s)}if(!h)return;if(t(h)){for(var l=0,d=h.length;l<d;++l){u+=this.renderTokens(i[4],a.push(h[l]),o,e,s)}}else if(typeof h==="object"||typeof h==="string"||typeof h==="number"){u+=this.renderTokens(i[4],a.push(h),o,e,s)}else if(r(h)){if(typeof e!=="string")throw new Error("Cannot use higher-order sections without the original template");h=h.call(a.view,e.slice(i[3],i[5]),f);if(h!=null)u+=h}else{u+=this.renderTokens(i[4],a,o,e,s)}return u};M.prototype.renderInverted=function n(r,i,a,o,e){var s=i.lookup(r[1]);if(!s||t(s)&&s.length===0)return this.renderTokens(r[4],i,a,o,e)};M.prototype.indentPartial=function n(t,r,i){var a=r.replace(/[^ \t]/g,"");var o=t.split("\n");for(var e=0;e<o.length;e++){if(o[e].length&&(e>0||!i)){o[e]=a+o[e]}}return o.join("\n")};M.prototype.renderPartial=function n(t,i,a,o){if(!a)return;var e=this.getConfigTags(o);var s=r(a)?a(t[1]):a[t[1]];if(s!=null){var c=t[6];var u=t[5];var h=t[4];var f=s;if(u==0&&h){f=this.indentPartial(s,h,c)}var l=this.parse(f,e);return this.renderTokens(l,i,a,f,o)}};M.prototype.unescapedValue=function n(t,r){var i=r.lookup(t[1]);if(i!=null)return i};M.prototype.escapedValue=function n(t,r,i){var a=this.getConfigEscape(i)||_.escape;var o=r.lookup(t[1]);if(o!=null)return typeof o==="number"&&a===_.escape?String(o):a(o)};M.prototype.rawValue=function n(t){return t[1]};M.prototype.getConfigTags=function n(r){if(t(r)){return r}else if(r&&typeof r==="object"){return r.tags}else{return undefined}};M.prototype.getConfigEscape=function n(r){if(r&&typeof r==="object"&&!t(r)){return r.escape}else{return undefined}};var _={name:"mustache.js",version:"4.2.0",tags:["{{","}}"],clearCache:undefined,escape:undefined,parse:undefined,render:undefined,Scanner:undefined,Context:undefined,Writer:undefined,set templateCache(n){q.templateCache=n},get templateCache(){return q.templateCache}};var q=new M;_.clearCache=function n(){return q.clearCache()};_.parse=function n(t,r){return q.parse(t,r)};_.render=function n(t,r,a,o){if(typeof t!=="string"){throw new TypeError('Invalid template! Template should be a "string" '+'but "'+i(t)+'" was given as the first '+"argument for mustache#render(template, view, partials)")}return q.render(t,r,a,o)};_.escape=l;_.Scanner=k;_.Context=x;_.Writer=M;return _}))})(yn);var wn=function(){function n(n){var t=this;this.rollbackLanguage="en";this.set=function(n){t.config=n};this.lang=function(n){t.element=n;t.closestElement=t.element.closest("[lang]");if(t.closestElement){if(t.closestElement.lang){t.language=t.closestElement.lang;return t.language}}t.language=t.rollbackLanguage;return t.language};this.update=function(n){var r=n!==null&&n!==void 0?n:t.element.shadowRoot;r&&r.querySelectorAll("*").forEach((function(n){if(n.tagName.toLowerCase().startsWith("mds-")){if(n&&"updateLang"in n){n.updateLang()}}}))};this.pluralize=function(n,r){var i=t.config[t.language]?t.config[t.language][n]:t.config[t.rollbackLanguage][n];var a=[];if(Array.isArray(i)){a.push(i[0]);a.push(i[1])}else{a.push(i);a.push(i)}var o=a[0];var e=o;var s=Object.keys(r);if(s.length>0){var c=s[0];if(typeof r[c]==="number"){if(r[c]!==1){e=a[1]}}}return yn.exports.render(e,r)};this.get=function(n,r){if(r){return t.pluralize(n,r)}return t.config[t.language]?t.config[t.language][n]:t.config[t.rollbackLanguage][n]};if(n){this.set(n)}}return n}();var kn="^\\d{4}(-\\d{2})?(-\\d{2})?(T\\d{2}(:\\d{2})?(:\\d{2})?(\\.\\d{3})?)?([+-]\\d{2}:\\d{2}|Z)?$";var xn=function(n){var t=new RegExp(kn);return t.test(n)};var Mn=function(n){if(xn(n)){return n}return new Date(n).toISOString()};var _n='@tailwind components;\n@tailwind utilities;\n\n:host {\n\n --mds-push-notification-duration: 200ms;\n --mds-push-notification-icon-background-color: transparent;\n --mds-push-notification-icon-color: rgb(var(--tone-neutral-04));\n --mds-push-notification-message-line-clamp: 2;\n --mds-push-notification-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);\n --mds-push-notification-subject-line-clamp: 1;\n --mds-push-notification-timing-function: cubic-bezier(1, 0, 0, 1);\n min-width: 18rem;\n max-width: 20rem;\n gap: 1rem;\n border-radius: 0.5rem;\n padding: 1rem;\n padding-right: 2rem;\n\n -ms-flex-align: start;\n\n align-items: flex-start;\n background-color: rgb(var(--tone-neutral));\n -webkit-box-shadow: var(--mds-push-notification-shadow);\n box-shadow: var(--mds-push-notification-shadow);\n color: rgb(var(--tone-neutral-02));\n display: -ms-flexbox;\n display: flex;\n pointer-events: auto;\n position: relative;\n -webkit-transition-duration: var(--mds-push-notification-duration);\n transition-duration: var(--mds-push-notification-duration);\n -webkit-transition-property: background-color, color, margin, -webkit-box-shadow, -webkit-transform;\n transition-property: background-color, color, margin, -webkit-box-shadow, -webkit-transform;\n transition-property: background-color, box-shadow, color, margin, transform;\n transition-property: background-color, box-shadow, color, margin, transform, -webkit-box-shadow, -webkit-transform;\n -webkit-transition-timing-function: var(--mds-push-notification-timing-function);\n transition-timing-function: var(--mds-push-notification-timing-function);\n}\n\n:host([deletable="false"]){\n\n padding-right: 1rem;\n}\n\n.content {\n display: grid;\n -ms-flex-positive: 1;\n flex-grow: 1;\n}\n\n.actions{\n\n gap: 0.5rem;\n\n padding-top: 0.5rem;\n\n display: -ms-flexbox;\n\n display: flex;\n -ms-flex-wrap: wrap;\n flex-wrap: wrap;\n min-width: 1px;\n}\n\n.avatar,\n.picture {\n -ms-flex-negative: 0;\n flex-shrink: 0;\n}\n\n.picture{\n\n max-width: 3rem;\n\n border-radius: 0.25rem;\n\n -webkit-box-shadow: 0 0 1px 1px rgb(0 0 0 / 0.06), 0 1px 2px 0 rgb(0 0 0 / 0.05);\n\n box-shadow: 0 0 1px 1px rgb(0 0 0 / 0.06), 0 1px 2px 0 rgb(0 0 0 / 0.05);\n width: 100%;\n}\n\n.close-button{\n\n padding: 0.375rem;\n\n -webkit-transition-property: opacity;\n\n transition-property: opacity;\n\n -webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n\n -webkit-transition-duration: 150ms;\n\n transition-duration: 150ms;\n\n background-color: transparent;\n fill: rgb(var(--tone-neutral-06));\n opacity: 0;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n:host(:hover) .close-button {\n opacity: 1;\n}\n\n.close-button:focus-visible,\n.close-button:hover {\n fill: rgb(var(--tone-neutral-03));\n opacity: 1;\n}\n\n.header{\n\n gap: 0.25rem;\n\n -ms-flex-align: baseline;\n\n align-items: baseline;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-pack: justify;\n justify-content: space-between;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.infos {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-direction: column;\n flex-direction: column;\n}\n\n.time{\n\n margin-right: 0.25rem;\n\n -ms-flex-negative: 0;\n\n flex-shrink: 0;\n white-space: nowrap;\n}\n\n.subject {\n\n --mds-text-line-clamp: var(--mds-push-notification-subject-line-clamp);\n\n line-height: 1.25rem;\n text-overflow: ellipsis;\n}\n\n.message {\n\n --mds-text-line-clamp: var(--mds-push-notification-message-line-clamp);\n\n line-height: 1.25rem;\n text-overflow: ellipsis;\n}\n\n.avatar{\n\n height: 2.25rem;\n\n width: 2.25rem;\n\n background-color: var(--mds-push-notification-icon-background-color);\n border-radius: 1000px;\n fill: var(--mds-push-notification-icon-color);\n}\n\n.avatar::part(svg){\n\n width: 1.5rem;\n}\n\n:host([src]) .avatar {\n background-color: transparent;\n}\n\n:host([icon]) .avatar::part(wrapper){\n\n padding: 0.375rem;\n}\n\n@tailwind utilities;\n\n:host( [variant="primary"][tone="strong"] ) {\n\n --mds-push-notification-icon-background-color: rgb(var(--variant-primary-05));\n --mds-push-notification-icon-color: rgb(var(--variant-primary-10));\n}\n\n:host( [variant="primary"] ),\n:host( [variant="primary"][tone="weak"] ) {\n\n --mds-push-notification-icon-background-color: rgb(var(--variant-primary-09));\n --mds-push-notification-icon-color: rgb(var(--variant-primary-05));\n}\n\n:host( [variant="primary"][tone="quiet"] ) {\n\n --mds-push-notification-icon-background-color: transparent;\n --mds-push-notification-icon-color: rgb(var(--variant-primary-05));\n}\n\n@tailwind utilities;\n\n:host( [variant="orange"][tone="strong"] ) {\n \n --mds-push-notification-icon-background-color: rgb(var(--label-orange-05));\n --mds-push-notification-icon-color: rgb(var(--label-orange-10));\n}\n\n:host( [variant="orange"] ),\n:host( [variant="orange"][tone="weak"] ) {\n\n --mds-push-notification-icon-background-color: rgb(var(--label-orange-09));\n --mds-push-notification-icon-color: rgb(var(--label-orange-05));\n}\n\n:host( [variant="orange"][tone="quiet"] ) {\n\n --mds-push-notification-icon-background-color: transparent;\n --mds-push-notification-icon-color: rgb(var(--label-orange-05));\n}\n\n:host( [variant="amaranth"][tone="strong"] ) {\n \n --mds-push-notification-icon-background-color: rgb(var(--label-amaranth-05));\n --mds-push-notification-icon-color: rgb(var(--label-amaranth-10));\n}\n\n:host( [variant="amaranth"] ),\n:host( [variant="amaranth"][tone="weak"] ) {\n\n --mds-push-notification-icon-background-color: rgb(var(--label-amaranth-09));\n --mds-push-notification-icon-color: rgb(var(--label-amaranth-05));\n}\n\n:host( [variant="amaranth"][tone="quiet"] ) {\n\n --mds-push-notification-icon-background-color: transparent;\n --mds-push-notification-icon-color: rgb(var(--label-amaranth-05));\n}\n\n:host( [variant="orchid"][tone="strong"] ) {\n \n --mds-push-notification-icon-background-color: rgb(var(--label-orchid-05));\n --mds-push-notification-icon-color: rgb(var(--label-orchid-10));\n}\n\n:host( [variant="orchid"] ),\n:host( [variant="orchid"][tone="weak"] ) {\n\n --mds-push-notification-icon-background-color: rgb(var(--label-orchid-09));\n --mds-push-notification-icon-color: rgb(var(--label-orchid-05));\n}\n\n:host( [variant="orchid"][tone="quiet"] ) {\n\n --mds-push-notification-icon-background-color: transparent;\n --mds-push-notification-icon-color: rgb(var(--label-orchid-05));\n}\n\n:host( [variant="violet"][tone="strong"] ) {\n \n --mds-push-notification-icon-background-color: rgb(var(--label-violet-05));\n --mds-push-notification-icon-color: rgb(var(--label-violet-10));\n}\n\n:host( [variant="violet"] ),\n:host( [variant="violet"][tone="weak"] ) {\n\n --mds-push-notification-icon-background-color: rgb(var(--label-violet-09));\n --mds-push-notification-icon-color: rgb(var(--label-violet-05));\n}\n\n:host( [variant="violet"][tone="quiet"] ) {\n\n --mds-push-notification-icon-background-color: transparent;\n --mds-push-notification-icon-color: rgb(var(--label-violet-05));\n}\n\n:host( [variant="blue"][tone="strong"] ) {\n \n --mds-push-notification-icon-background-color: rgb(var(--label-blue-05));\n --mds-push-notification-icon-color: rgb(var(--label-blue-10));\n}\n\n:host( [variant="blue"] ),\n:host( [variant="blue"][tone="weak"] ) {\n\n --mds-push-notification-icon-background-color: rgb(var(--label-blue-09));\n --mds-push-notification-icon-color: rgb(var(--label-blue-05));\n}\n\n:host( [variant="blue"][tone="quiet"] ) {\n\n --mds-push-notification-icon-background-color: transparent;\n --mds-push-notification-icon-color: rgb(var(--label-blue-05));\n}\n\n:host( [variant="sky"][tone="strong"] ) {\n \n --mds-push-notification-icon-background-color: rgb(var(--label-sky-05));\n --mds-push-notification-icon-color: rgb(var(--label-sky-10));\n}\n\n:host( [variant="sky"] ),\n:host( [variant="sky"][tone="weak"] ) {\n\n --mds-push-notification-icon-background-color: rgb(var(--label-sky-09));\n --mds-push-notification-icon-color: rgb(var(--label-sky-05));\n}\n\n:host( [variant="sky"][tone="quiet"] ) {\n\n --mds-push-notification-icon-background-color: transparent;\n --mds-push-notification-icon-color: rgb(var(--label-sky-05));\n}\n\n:host( [variant="aqua"][tone="strong"] ) {\n \n --mds-push-notification-icon-background-color: rgb(var(--label-aqua-05));\n --mds-push-notification-icon-color: rgb(var(--label-aqua-10));\n}\n\n:host( [variant="aqua"] ),\n:host( [variant="aqua"][tone="weak"] ) {\n\n --mds-push-notification-icon-background-color: rgb(var(--label-aqua-09));\n --mds-push-notification-icon-color: rgb(var(--label-aqua-05));\n}\n\n:host( [variant="aqua"][tone="quiet"] ) {\n\n --mds-push-notification-icon-background-color: transparent;\n --mds-push-notification-icon-color: rgb(var(--label-aqua-05));\n}\n\n:host( [variant="green"][tone="strong"] ) {\n \n --mds-push-notification-icon-background-color: rgb(var(--label-green-05));\n --mds-push-notification-icon-color: rgb(var(--label-green-10));\n}\n\n:host( [variant="green"] ),\n:host( [variant="green"][tone="weak"] ) {\n\n --mds-push-notification-icon-background-color: rgb(var(--label-green-09));\n --mds-push-notification-icon-color: rgb(var(--label-green-05));\n}\n\n:host( [variant="green"][tone="quiet"] ) {\n\n --mds-push-notification-icon-background-color: transparent;\n --mds-push-notification-icon-color: rgb(var(--label-green-05));\n}\n\n:host( [variant="lime"][tone="strong"] ) {\n \n --mds-push-notification-icon-background-color: rgb(var(--label-lime-05));\n --mds-push-notification-icon-color: rgb(var(--label-lime-10));\n}\n\n:host( [variant="lime"] ),\n:host( [variant="lime"][tone="weak"] ) {\n\n --mds-push-notification-icon-background-color: rgb(var(--label-lime-09));\n --mds-push-notification-icon-color: rgb(var(--label-lime-05));\n}\n\n:host( [variant="lime"][tone="quiet"] ) {\n\n --mds-push-notification-icon-background-color: transparent;\n --mds-push-notification-icon-color: rgb(var(--label-lime-05));\n}\n\n:host( [variant="yellow"][tone="strong"] ) {\n \n --mds-push-notification-icon-background-color: rgb(var(--label-yellow-05));\n --mds-push-notification-icon-color: rgb(var(--label-yellow-10));\n}\n\n:host( [variant="yellow"] ),\n:host( [variant="yellow"][tone="weak"] ) {\n\n --mds-push-notification-icon-background-color: rgb(var(--label-yellow-09));\n --mds-push-notification-icon-color: rgb(var(--label-yellow-05));\n}\n\n:host( [variant="yellow"][tone="quiet"] ) {\n\n --mds-push-notification-icon-background-color: transparent;\n --mds-push-notification-icon-color: rgb(var(--label-yellow-05));\n}\n\n@tailwind utilities;\n\n:host( [variant="error"][tone="strong"] ) {\n\n --mds-push-notification-icon-background-color: rgb(var(--status-error-05));\n --mds-push-notification-icon-color: rgb(var(--status-error-10));\n}\n\n:host( [variant="error"] ),\n:host( [variant="error"][tone="weak"] ) {\n\n --mds-push-notification-icon-background-color: rgb(var(--status-error-09));\n --mds-push-notification-icon-color: rgb(var(--status-error-05));\n}\n\n:host( [variant="error"][tone="quiet"] ) {\n\n --mds-push-notification-icon-background-color: transparent;\n --mds-push-notification-icon-color: rgb(var(--status-error-05));\n}\n\n:host( [variant="warning"][tone="strong"] ) {\n \n --mds-push-notification-icon-background-color: rgb(var(--status-warning-05));\n --mds-push-notification-icon-color: rgb(var(--status-warning-10));\n}\n\n:host( [variant="warning"] ),\n:host( [variant="warning"][tone="weak"] ) {\n\n --mds-push-notification-icon-background-color: rgb(var(--status-warning-09));\n --mds-push-notification-icon-color: rgb(var(--status-warning-05));\n}\n\n:host( [variant="warning"][tone="quiet"] ) {\n\n --mds-push-notification-icon-background-color: transparent;\n --mds-push-notification-icon-color: rgb(var(--status-warning-05));\n}\n\n:host( [variant="success"][tone="strong"] ) {\n \n --mds-push-notification-icon-background-color: rgb(var(--status-success-05));\n --mds-push-notification-icon-color: rgb(var(--status-success-10));\n}\n\n:host( [variant="success"] ),\n:host( [variant="success"][tone="weak"] ) {\n\n --mds-push-notification-icon-background-color: rgb(var(--status-success-09));\n --mds-push-notification-icon-color: rgb(var(--status-success-05));\n}\n\n:host( [variant="success"][tone="quiet"] ) {\n\n --mds-push-notification-icon-background-color: transparent;\n --mds-push-notification-icon-color: rgb(var(--status-success-05));\n}\n\n:host( [variant="info"][tone="strong"] ) {\n \n --mds-push-notification-icon-background-color: rgb(var(--status-info-05));\n --mds-push-notification-icon-color: rgb(var(--status-info-10));\n}\n\n:host( [variant="info"] ),\n:host( [variant="info"][tone="weak"] ) {\n\n --mds-push-notification-icon-background-color: rgb(var(--status-info-09));\n --mds-push-notification-icon-color: rgb(var(--status-info-05));\n}\n\n:host( [variant="info"][tone="quiet"] ) {\n\n --mds-push-notification-icon-background-color: transparent;\n --mds-push-notification-icon-color: rgb(var(--status-info-05));\n}\n\n@tailwind utilities;\n\n@container style(--magma-pref-animation: reduce) {\n :host,\n .close-button {\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n}\n\n@container style(--magma-pref-animation: system) {\n\n @media (prefers-reduced-motion) {\n :host,\n .close-button {\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n }\n}\n\n@tailwind utilities;\n\n@container style(--magma-pref-theme: dark) {\n :host {\n\n --mds-push-notification-shadow: 0 0 0 1px rgb(var(--tone-neutral-01) / 0.3) inset;\n }\n}\n\n@container style(--magma-pref-theme: system) {\n\n @media (prefers-color-scheme: dark) {\n :host {\n\n --mds-push-notification-shadow: 0 0 0 1px rgb(var(--tone-neutral-01) / 0.3) inset;\n }\n }\n}\n\n@container style(--magma-pref-contrast: more) {\n :host {\n\n --mds-push-notification-shadow: 0 0 0 2px rgb(var(--tone-neutral-01) / 0.6) inset;\n\n color: rgb(var(--tone-neutral-01));\n }\n}\n\n@container style(--magma-pref-contrast: system) {\n\n @media (prefers-contrast: more) {\n :host {\n\n --mds-push-notification-shadow: 0 0 0 2px rgb(var(--tone-neutral-01) / 0.6) inset;\n\n color: rgb(var(--tone-neutral-01));\n }\n }\n}\n\n';var qn=_n;c.extend(gn);var Dn=n("mds_push_notification",function(){function n(n){var i=this;t(this,n);this.closedEvent=r(this,"mdsPushNotificationClose",7);this.t=new wn({el:M,en:N,es:X,it:mn});this.onClickClose=function(n){n.stopPropagation();i.closedEvent.emit()};this.language=undefined;this.datetime=undefined;this.dateFormat="timeago";this.deletable=true;this.icon=undefined;this.initials=undefined;this.message="Nessun messaggio disponibile";this.preview="image";this.src=undefined;this.subject=undefined;this.tone="weak";this.variant=undefined}n.prototype.updateLang=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(n){this.language=this.t.lang(this.host);return[2]}))}))};n.prototype.componentWillLoad=function(){var n;this.hasActions=this.host.querySelector('[slot="actions"]')!==null;this.hasBadge=this.host.querySelector('[slot="badge"]')!==null;if(this.datetime){this.datetime=Mn((n=this.datetime)===null||n===void 0?void 0:n.toString())}this.t.lang(this.host);var t={future:this.t.get("future"),past:this.t.get("past"),s:this.t.get("s"),m:this.t.get("m"),mm:this.t.get("mm"),h:this.t.get("h"),hh:this.t.get("hh"),d:this.t.get("d"),dd:this.t.get("dd"),M:this.t.get("M"),MM:this.t.get("MM"),y:this.t.get("y"),yy:this.t.get("yy")};c.locale("custom-locale",{relativeTime:t})};n.prototype.render=function(){var n;return i(a,{key:"ca899101a9c26450da9eb84acfe90b3114ca4231"},((n=this.icon)!==null&&n!==void 0?n:this.preview==="avatar")&&i("mds-avatar",{key:"2440255e356dc29ac4ff3043f8f1dea40db036cc",class:"avatar",icon:this.icon,initials:this.initials,part:"avatar",src:this.src,tone:this.tone,variant:this.variant}),this.src&&this.preview!=="avatar"&&i("mds-img",{key:"09641cbadb6b8ce0d93d99fa0b4cc271e264cd8b",class:"picture",part:"picture",src:this.src}),i("div",{key:"161f883ef9e1f0deaee84cd421d3a776ea86d336",class:"content",part:"content"},i("div",{key:"b61782b62a16064d841e546489eabd8ee2aa1f21",class:"header"},i("div",{key:"02463af834b5c7f98a38dc6defc1c55ce01930bd",class:"infos"},this.hasBadge&&i("div",{key:"a3f13e3d63edc69705f11d082b875811cfcc7aab"},i("slot",{key:"4d9700269231a39130483c4c62e169051c82c863",name:"badge"})),this.subject&&i("mds-text",{key:"dc4550b30b02fd37a097db6ea2ed1076ea7794bd",class:"subject",typography:"h6",variant:"title",truncate:"all"},this.subject)),this.datetime&&i("mds-text",{key:"6b2b852330706a607c4c9dfb1178f98218a2ac6b",class:"time",typography:"option"},this.dateFormat==="timeago"?c(this.datetime).fromNow():c(this.datetime).format(this.dateFormat))),i("mds-text",{key:"dc624ccb1feb0fcaed8d25a672312930f2a4812d",class:"message",truncate:"all",typography:"caption",variant:"info"},this.message),this.hasActions&&i("div",{key:"ff8cdd1a38b50041ebf11314c7fe3ad17d1b5d7f",class:"actions",part:"actions"},i("slot",{key:"3932ede2f98b5a97300c9536d5e4cf9bf82c5836",name:"actions"}))),this.deletable&&i("mds-button",{key:"3be9139ed74f8a9a0425c01cc6ceff541771057b",class:"close-button",title:this.t.get("dismiss"),icon:bn,onClick:this.onClickClose.bind(this)}))};Object.defineProperty(n.prototype,"host",{get:function(){return o(this)},enumerable:false,configurable:true});return n}());Dn.style=qn}}}));
6
+ var n=Object.prototype.toString;var t=Array.isArray||function t(r){return n.call(r)==="[object Array]"};function r(n){return typeof n==="function"}function i(n){return t(n)?"array":typeof n}function a(n){return n.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function o(n,t){return n!=null&&typeof n==="object"&&t in n}function e(n,t){return n!=null&&typeof n!=="object"&&n.hasOwnProperty&&n.hasOwnProperty(t)}var s=RegExp.prototype.test;function c(n,t){return s.call(n,t)}var u=/\S/;function h(n){return!c(u,n)}var f={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;","`":"&#x60;","=":"&#x3D;"};function l(n){return String(n).replace(/[&<>"'`=\/]/g,(function n(t){return f[t]}))}var d=/\s*/;var v=/\s+/;var m=/\s*=/;var b=/\s*\}/;var p=/#|\^|\/|>|\{|&|=|!/;function g(n,r){if(!n)return[];var i=false;var o=[];var e=[];var s=[];var c=false;var u=false;var f="";var l=0;function g(){if(c&&!u){while(s.length)delete e[s.pop()]}else{s=[]}c=false;u=false}var x,M,q;function D(n){if(typeof n==="string")n=n.split(v,2);if(!t(n)||n.length!==2)throw new Error("Invalid tags: "+n);x=new RegExp(a(n[0])+"\\s*");M=new RegExp("\\s*"+a(n[1]));q=new RegExp("\\s*"+a("}"+n[1]))}D(r||_.tags);var S=new k(n);var j,$,C,E,L,T;while(!S.eos()){j=S.pos;C=S.scanUntil(x);if(C){for(var Y=0,A=C.length;Y<A;++Y){E=C.charAt(Y);if(h(E)){s.push(e.length);f+=E}else{u=true;i=true;f+=" "}e.push(["text",E,j,j+1]);j+=1;if(E==="\n"){g();f="";l=0;i=false}}}if(!S.scan(x))break;c=true;$=S.scan(p)||"name";S.scan(d);if($==="="){C=S.scanUntil(m);S.scan(m);S.scanUntil(M)}else if($==="{"){C=S.scanUntil(q);S.scan(b);S.scanUntil(M);$="&"}else{C=S.scanUntil(M)}if(!S.scan(M))throw new Error("Unclosed tag at "+S.pos);if($==">"){L=[$,C,j,S.pos,f,l,i]}else{L=[$,C,j,S.pos]}l++;e.push(L);if($==="#"||$==="^"){o.push(L)}else if($==="/"){T=o.pop();if(!T)throw new Error('Unopened section "'+C+'" at '+j);if(T[1]!==C)throw new Error('Unclosed section "'+T[1]+'" at '+j)}else if($==="name"||$==="{"||$==="&"){u=true}else if($==="="){D(C)}}g();T=o.pop();if(T)throw new Error('Unclosed section "'+T[1]+'" at '+S.pos);return w(y(e))}function y(n){var t=[];var r,i;for(var a=0,o=n.length;a<o;++a){r=n[a];if(r){if(r[0]==="text"&&i&&i[0]==="text"){i[1]+=r[1];i[3]=r[3]}else{t.push(r);i=r}}}return t}function w(n){var t=[];var r=t;var i=[];var a,o;for(var e=0,s=n.length;e<s;++e){a=n[e];switch(a[0]){case"#":case"^":r.push(a);i.push(a);r=a[4]=[];break;case"/":o=i.pop();o[5]=a[2];r=i.length>0?i[i.length-1][4]:t;break;default:r.push(a)}}return t}function k(n){this.string=n;this.tail=n;this.pos=0}k.prototype.eos=function n(){return this.tail===""};k.prototype.scan=function n(t){var r=this.tail.match(t);if(!r||r.index!==0)return"";var i=r[0];this.tail=this.tail.substring(i.length);this.pos+=i.length;return i};k.prototype.scanUntil=function n(t){var r=this.tail.search(t),i;switch(r){case-1:i=this.tail;this.tail="";break;case 0:i="";break;default:i=this.tail.substring(0,r);this.tail=this.tail.substring(r)}this.pos+=i.length;return i};function x(n,t){this.view=n;this.cache={".":this.view};this.parent=t}x.prototype.push=function n(t){return new x(t,this)};x.prototype.lookup=function n(t){var i=this.cache;var a;if(i.hasOwnProperty(t)){a=i[t]}else{var s=this,c,u,h,f=false;while(s){if(t.indexOf(".")>0){c=s.view;u=t.split(".");h=0;while(c!=null&&h<u.length){if(h===u.length-1)f=o(c,u[h])||e(c,u[h]);c=c[u[h++]]}}else{c=s.view[t];f=o(s.view,t)}if(f){a=c;break}s=s.parent}i[t]=a}if(r(a))a=a.call(this.view);return a};function M(){this.templateCache={_cache:{},set:function n(t,r){this._cache[t]=r},get:function n(t){return this._cache[t]},clear:function n(){this._cache={}}}}M.prototype.clearCache=function n(){if(typeof this.templateCache!=="undefined"){this.templateCache.clear()}};M.prototype.parse=function n(t,r){var i=this.templateCache;var a=t+":"+(r||_.tags).join(":");var o=typeof i!=="undefined";var e=o?i.get(a):undefined;if(e==undefined){e=g(t,r);o&&i.set(a,e)}return e};M.prototype.render=function n(t,r,i,a){var o=this.getConfigTags(a);var e=this.parse(t,o);var s=r instanceof x?r:new x(r,undefined);return this.renderTokens(e,s,i,t,a)};M.prototype.renderTokens=function n(t,r,i,a,o){var e="";var s,c,u;for(var h=0,f=t.length;h<f;++h){u=undefined;s=t[h];c=s[0];if(c==="#")u=this.renderSection(s,r,i,a,o);else if(c==="^")u=this.renderInverted(s,r,i,a,o);else if(c===">")u=this.renderPartial(s,r,i,o);else if(c==="&")u=this.unescapedValue(s,r);else if(c==="name")u=this.escapedValue(s,r,o);else if(c==="text")u=this.rawValue(s);if(u!==undefined)e+=u}return e};M.prototype.renderSection=function n(i,a,o,e,s){var c=this;var u="";var h=a.lookup(i[1]);function f(n){return c.render(n,a,o,s)}if(!h)return;if(t(h)){for(var l=0,d=h.length;l<d;++l){u+=this.renderTokens(i[4],a.push(h[l]),o,e,s)}}else if(typeof h==="object"||typeof h==="string"||typeof h==="number"){u+=this.renderTokens(i[4],a.push(h),o,e,s)}else if(r(h)){if(typeof e!=="string")throw new Error("Cannot use higher-order sections without the original template");h=h.call(a.view,e.slice(i[3],i[5]),f);if(h!=null)u+=h}else{u+=this.renderTokens(i[4],a,o,e,s)}return u};M.prototype.renderInverted=function n(r,i,a,o,e){var s=i.lookup(r[1]);if(!s||t(s)&&s.length===0)return this.renderTokens(r[4],i,a,o,e)};M.prototype.indentPartial=function n(t,r,i){var a=r.replace(/[^ \t]/g,"");var o=t.split("\n");for(var e=0;e<o.length;e++){if(o[e].length&&(e>0||!i)){o[e]=a+o[e]}}return o.join("\n")};M.prototype.renderPartial=function n(t,i,a,o){if(!a)return;var e=this.getConfigTags(o);var s=r(a)?a(t[1]):a[t[1]];if(s!=null){var c=t[6];var u=t[5];var h=t[4];var f=s;if(u==0&&h){f=this.indentPartial(s,h,c)}var l=this.parse(f,e);return this.renderTokens(l,i,a,f,o)}};M.prototype.unescapedValue=function n(t,r){var i=r.lookup(t[1]);if(i!=null)return i};M.prototype.escapedValue=function n(t,r,i){var a=this.getConfigEscape(i)||_.escape;var o=r.lookup(t[1]);if(o!=null)return typeof o==="number"&&a===_.escape?String(o):a(o)};M.prototype.rawValue=function n(t){return t[1]};M.prototype.getConfigTags=function n(r){if(t(r)){return r}else if(r&&typeof r==="object"){return r.tags}else{return undefined}};M.prototype.getConfigEscape=function n(r){if(r&&typeof r==="object"&&!t(r)){return r.escape}else{return undefined}};var _={name:"mustache.js",version:"4.2.0",tags:["{{","}}"],clearCache:undefined,escape:undefined,parse:undefined,render:undefined,Scanner:undefined,Context:undefined,Writer:undefined,set templateCache(n){q.templateCache=n},get templateCache(){return q.templateCache}};var q=new M;_.clearCache=function n(){return q.clearCache()};_.parse=function n(t,r){return q.parse(t,r)};_.render=function n(t,r,a,o){if(typeof t!=="string"){throw new TypeError('Invalid template! Template should be a "string" '+'but "'+i(t)+'" was given as the first '+"argument for mustache#render(template, view, partials)")}return q.render(t,r,a,o)};_.escape=l;_.Scanner=k;_.Context=x;_.Writer=M;return _}))})(yn);var wn=function(){function n(n){var t=this;this.rollbackLanguage="en";this.set=function(n){t.config=n};this.lang=function(n){t.element=n;t.closestElement=t.element.closest("[lang]");if(t.closestElement){if(t.closestElement.lang){t.language=t.closestElement.lang;return t.language}}t.language=t.rollbackLanguage;return t.language};this.update=function(n){var r=n!==null&&n!==void 0?n:t.element.shadowRoot;r&&r.querySelectorAll("*").forEach((function(n){if(n.tagName.toLowerCase().startsWith("mds-")){if(n&&"updateLang"in n){n.updateLang()}}}))};this.pluralize=function(n,r){var i=t.config[t.language]?t.config[t.language][n]:t.config[t.rollbackLanguage][n];var a=[];if(Array.isArray(i)){a.push(i[0]);a.push(i[1])}else{a.push(i);a.push(i)}var o=a[0];var e=o;var s=Object.keys(r);if(s.length>0){var c=s[0];if(typeof r[c]==="number"){if(r[c]!==1){e=a[1]}}}return yn.exports.render(e,r)};this.get=function(n,r){if(r){return t.pluralize(n,r)}return t.config[t.language]?t.config[t.language][n]:t.config[t.rollbackLanguage][n]};if(n){this.set(n)}}return n}();var kn="^\\d{4}(-\\d{2})?(-\\d{2})?(T\\d{2}(:\\d{2})?(:\\d{2})?(\\.\\d{3})?)?([+-]\\d{2}:\\d{2}|Z)?$";var xn=function(n){var t=new RegExp(kn);return t.test(n)};var Mn=function(n){if(xn(n)){return n}return new Date(n).toISOString()};var _n='@tailwind components;\n@tailwind utilities;\n\n:host {\n\n --mds-push-notification-duration: 200ms;\n --mds-push-notification-icon-background-color: transparent;\n --mds-push-notification-icon-color: rgb(var(--tone-neutral-04));\n --mds-push-notification-message-line-clamp: 2;\n --mds-push-notification-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);\n --mds-push-notification-subject-line-clamp: 1;\n --mds-push-notification-timing-function: cubic-bezier(1, 0, 0, 1);\n min-width: 18rem;\n max-width: 20rem;\n gap: 1rem;\n border-radius: 0.5rem;\n padding: 1rem;\n padding-right: 2rem;\n\n -ms-flex-align: start;\n\n align-items: flex-start;\n background-color: rgb(var(--tone-neutral));\n -webkit-box-shadow: var(--mds-push-notification-shadow);\n box-shadow: var(--mds-push-notification-shadow);\n color: rgb(var(--tone-neutral-02));\n display: -ms-flexbox;\n display: flex;\n pointer-events: auto;\n position: relative;\n -webkit-transition-duration: var(--mds-push-notification-duration);\n transition-duration: var(--mds-push-notification-duration);\n -webkit-transition-property: background-color, color, margin, -webkit-box-shadow, -webkit-transform;\n transition-property: background-color, color, margin, -webkit-box-shadow, -webkit-transform;\n transition-property: background-color, box-shadow, color, margin, transform;\n transition-property: background-color, box-shadow, color, margin, transform, -webkit-box-shadow, -webkit-transform;\n -webkit-transition-timing-function: var(--mds-push-notification-timing-function);\n transition-timing-function: var(--mds-push-notification-timing-function);\n}\n\n:host([deletable="false"]){\n\n padding-right: 1rem;\n}\n\n.content {\n display: grid;\n -ms-flex-positive: 1;\n flex-grow: 1;\n}\n\n.actions{\n\n gap: 0.5rem;\n\n padding-top: 0.5rem;\n\n display: -ms-flexbox;\n\n display: flex;\n -ms-flex-wrap: wrap;\n flex-wrap: wrap;\n min-width: 1px;\n}\n\n.avatar,\n.picture {\n -ms-flex-negative: 0;\n flex-shrink: 0;\n}\n\n.picture{\n\n max-width: 3rem;\n\n border-radius: 0.25rem;\n\n -webkit-box-shadow: 0 0 1px 1px rgb(0 0 0 / 0.06), 0 1px 2px 0 rgb(0 0 0 / 0.05);\n\n box-shadow: 0 0 1px 1px rgb(0 0 0 / 0.06), 0 1px 2px 0 rgb(0 0 0 / 0.05);\n width: 100%;\n}\n\n.close-button{\n\n padding: 0.375rem;\n\n -webkit-transition-property: opacity;\n\n transition-property: opacity;\n\n -webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n\n -webkit-transition-duration: 150ms;\n\n transition-duration: 150ms;\n\n background-color: transparent;\n fill: rgb(var(--tone-neutral-06));\n opacity: 0;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n:host(:hover) .close-button {\n opacity: 1;\n}\n\n.close-button:focus-visible,\n.close-button:hover {\n fill: rgb(var(--tone-neutral-03));\n opacity: 1;\n}\n\n.header{\n\n gap: 0.25rem;\n\n -ms-flex-align: baseline;\n\n align-items: baseline;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-pack: justify;\n justify-content: space-between;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.infos {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-direction: column;\n flex-direction: column;\n}\n\n.time{\n\n margin-right: 0.25rem;\n\n -ms-flex-negative: 0;\n\n flex-shrink: 0;\n white-space: nowrap;\n}\n\n.subject {\n\n --mds-text-line-clamp: var(--mds-push-notification-subject-line-clamp);\n\n line-height: 1.25rem;\n text-overflow: ellipsis;\n}\n\n.message {\n\n --mds-text-line-clamp: var(--mds-push-notification-message-line-clamp);\n\n line-height: 1.25rem;\n text-overflow: ellipsis;\n}\n\n.avatar{\n\n height: 2.25rem;\n\n width: 2.25rem;\n\n background-color: var(--mds-push-notification-icon-background-color);\n border-radius: 1000px;\n fill: var(--mds-push-notification-icon-color);\n}\n\n.avatar::part(svg){\n\n width: 1.5rem;\n}\n\n:host([src]) .avatar {\n background-color: transparent;\n}\n\n:host([icon]) .avatar::part(wrapper){\n\n padding: 0.375rem;\n}\n\n@tailwind utilities;\n\n:host( [variant="primary"][tone="strong"] ) {\n\n --mds-push-notification-icon-background-color: rgb(var(--variant-primary-05));\n --mds-push-notification-icon-color: rgb(var(--variant-primary-10));\n}\n\n:host( [variant="primary"] ),\n:host( [variant="primary"][tone="weak"] ) {\n\n --mds-push-notification-icon-background-color: rgb(var(--variant-primary-09));\n --mds-push-notification-icon-color: rgb(var(--variant-primary-05));\n}\n\n:host( [variant="primary"][tone="quiet"] ) {\n\n --mds-push-notification-icon-background-color: transparent;\n --mds-push-notification-icon-color: rgb(var(--variant-primary-05));\n}\n\n@tailwind utilities;\n\n:host( [variant="orange"][tone="strong"] ) {\n \n --mds-push-notification-icon-background-color: rgb(var(--label-orange-05));\n --mds-push-notification-icon-color: rgb(var(--label-orange-10));\n}\n\n:host( [variant="orange"] ),\n:host( [variant="orange"][tone="weak"] ) {\n\n --mds-push-notification-icon-background-color: rgb(var(--label-orange-09));\n --mds-push-notification-icon-color: rgb(var(--label-orange-05));\n}\n\n:host( [variant="orange"][tone="quiet"] ) {\n\n --mds-push-notification-icon-background-color: transparent;\n --mds-push-notification-icon-color: rgb(var(--label-orange-05));\n}\n\n:host( [variant="amaranth"][tone="strong"] ) {\n \n --mds-push-notification-icon-background-color: rgb(var(--label-amaranth-05));\n --mds-push-notification-icon-color: rgb(var(--label-amaranth-10));\n}\n\n:host( [variant="amaranth"] ),\n:host( [variant="amaranth"][tone="weak"] ) {\n\n --mds-push-notification-icon-background-color: rgb(var(--label-amaranth-09));\n --mds-push-notification-icon-color: rgb(var(--label-amaranth-05));\n}\n\n:host( [variant="amaranth"][tone="quiet"] ) {\n\n --mds-push-notification-icon-background-color: transparent;\n --mds-push-notification-icon-color: rgb(var(--label-amaranth-05));\n}\n\n:host( [variant="orchid"][tone="strong"] ) {\n \n --mds-push-notification-icon-background-color: rgb(var(--label-orchid-05));\n --mds-push-notification-icon-color: rgb(var(--label-orchid-10));\n}\n\n:host( [variant="orchid"] ),\n:host( [variant="orchid"][tone="weak"] ) {\n\n --mds-push-notification-icon-background-color: rgb(var(--label-orchid-09));\n --mds-push-notification-icon-color: rgb(var(--label-orchid-05));\n}\n\n:host( [variant="orchid"][tone="quiet"] ) {\n\n --mds-push-notification-icon-background-color: transparent;\n --mds-push-notification-icon-color: rgb(var(--label-orchid-05));\n}\n\n:host( [variant="violet"][tone="strong"] ) {\n \n --mds-push-notification-icon-background-color: rgb(var(--label-violet-05));\n --mds-push-notification-icon-color: rgb(var(--label-violet-10));\n}\n\n:host( [variant="violet"] ),\n:host( [variant="violet"][tone="weak"] ) {\n\n --mds-push-notification-icon-background-color: rgb(var(--label-violet-09));\n --mds-push-notification-icon-color: rgb(var(--label-violet-05));\n}\n\n:host( [variant="violet"][tone="quiet"] ) {\n\n --mds-push-notification-icon-background-color: transparent;\n --mds-push-notification-icon-color: rgb(var(--label-violet-05));\n}\n\n:host( [variant="blue"][tone="strong"] ) {\n \n --mds-push-notification-icon-background-color: rgb(var(--label-blue-05));\n --mds-push-notification-icon-color: rgb(var(--label-blue-10));\n}\n\n:host( [variant="blue"] ),\n:host( [variant="blue"][tone="weak"] ) {\n\n --mds-push-notification-icon-background-color: rgb(var(--label-blue-09));\n --mds-push-notification-icon-color: rgb(var(--label-blue-05));\n}\n\n:host( [variant="blue"][tone="quiet"] ) {\n\n --mds-push-notification-icon-background-color: transparent;\n --mds-push-notification-icon-color: rgb(var(--label-blue-05));\n}\n\n:host( [variant="sky"][tone="strong"] ) {\n \n --mds-push-notification-icon-background-color: rgb(var(--label-sky-05));\n --mds-push-notification-icon-color: rgb(var(--label-sky-10));\n}\n\n:host( [variant="sky"] ),\n:host( [variant="sky"][tone="weak"] ) {\n\n --mds-push-notification-icon-background-color: rgb(var(--label-sky-09));\n --mds-push-notification-icon-color: rgb(var(--label-sky-05));\n}\n\n:host( [variant="sky"][tone="quiet"] ) {\n\n --mds-push-notification-icon-background-color: transparent;\n --mds-push-notification-icon-color: rgb(var(--label-sky-05));\n}\n\n:host( [variant="aqua"][tone="strong"] ) {\n \n --mds-push-notification-icon-background-color: rgb(var(--label-aqua-05));\n --mds-push-notification-icon-color: rgb(var(--label-aqua-10));\n}\n\n:host( [variant="aqua"] ),\n:host( [variant="aqua"][tone="weak"] ) {\n\n --mds-push-notification-icon-background-color: rgb(var(--label-aqua-09));\n --mds-push-notification-icon-color: rgb(var(--label-aqua-05));\n}\n\n:host( [variant="aqua"][tone="quiet"] ) {\n\n --mds-push-notification-icon-background-color: transparent;\n --mds-push-notification-icon-color: rgb(var(--label-aqua-05));\n}\n\n:host( [variant="green"][tone="strong"] ) {\n \n --mds-push-notification-icon-background-color: rgb(var(--label-green-05));\n --mds-push-notification-icon-color: rgb(var(--label-green-10));\n}\n\n:host( [variant="green"] ),\n:host( [variant="green"][tone="weak"] ) {\n\n --mds-push-notification-icon-background-color: rgb(var(--label-green-09));\n --mds-push-notification-icon-color: rgb(var(--label-green-05));\n}\n\n:host( [variant="green"][tone="quiet"] ) {\n\n --mds-push-notification-icon-background-color: transparent;\n --mds-push-notification-icon-color: rgb(var(--label-green-05));\n}\n\n:host( [variant="lime"][tone="strong"] ) {\n \n --mds-push-notification-icon-background-color: rgb(var(--label-lime-05));\n --mds-push-notification-icon-color: rgb(var(--label-lime-10));\n}\n\n:host( [variant="lime"] ),\n:host( [variant="lime"][tone="weak"] ) {\n\n --mds-push-notification-icon-background-color: rgb(var(--label-lime-09));\n --mds-push-notification-icon-color: rgb(var(--label-lime-05));\n}\n\n:host( [variant="lime"][tone="quiet"] ) {\n\n --mds-push-notification-icon-background-color: transparent;\n --mds-push-notification-icon-color: rgb(var(--label-lime-05));\n}\n\n:host( [variant="yellow"][tone="strong"] ) {\n \n --mds-push-notification-icon-background-color: rgb(var(--label-yellow-05));\n --mds-push-notification-icon-color: rgb(var(--label-yellow-10));\n}\n\n:host( [variant="yellow"] ),\n:host( [variant="yellow"][tone="weak"] ) {\n\n --mds-push-notification-icon-background-color: rgb(var(--label-yellow-09));\n --mds-push-notification-icon-color: rgb(var(--label-yellow-05));\n}\n\n:host( [variant="yellow"][tone="quiet"] ) {\n\n --mds-push-notification-icon-background-color: transparent;\n --mds-push-notification-icon-color: rgb(var(--label-yellow-05));\n}\n\n@tailwind utilities;\n\n:host( [variant="error"][tone="strong"] ) {\n\n --mds-push-notification-icon-background-color: rgb(var(--status-error-05));\n --mds-push-notification-icon-color: rgb(var(--status-error-10));\n}\n\n:host( [variant="error"] ),\n:host( [variant="error"][tone="weak"] ) {\n\n --mds-push-notification-icon-background-color: rgb(var(--status-error-09));\n --mds-push-notification-icon-color: rgb(var(--status-error-05));\n}\n\n:host( [variant="error"][tone="quiet"] ) {\n\n --mds-push-notification-icon-background-color: transparent;\n --mds-push-notification-icon-color: rgb(var(--status-error-05));\n}\n\n:host( [variant="warning"][tone="strong"] ) {\n \n --mds-push-notification-icon-background-color: rgb(var(--status-warning-05));\n --mds-push-notification-icon-color: rgb(var(--status-warning-10));\n}\n\n:host( [variant="warning"] ),\n:host( [variant="warning"][tone="weak"] ) {\n\n --mds-push-notification-icon-background-color: rgb(var(--status-warning-09));\n --mds-push-notification-icon-color: rgb(var(--status-warning-05));\n}\n\n:host( [variant="warning"][tone="quiet"] ) {\n\n --mds-push-notification-icon-background-color: transparent;\n --mds-push-notification-icon-color: rgb(var(--status-warning-05));\n}\n\n:host( [variant="success"][tone="strong"] ) {\n \n --mds-push-notification-icon-background-color: rgb(var(--status-success-05));\n --mds-push-notification-icon-color: rgb(var(--status-success-10));\n}\n\n:host( [variant="success"] ),\n:host( [variant="success"][tone="weak"] ) {\n\n --mds-push-notification-icon-background-color: rgb(var(--status-success-09));\n --mds-push-notification-icon-color: rgb(var(--status-success-05));\n}\n\n:host( [variant="success"][tone="quiet"] ) {\n\n --mds-push-notification-icon-background-color: transparent;\n --mds-push-notification-icon-color: rgb(var(--status-success-05));\n}\n\n:host( [variant="info"][tone="strong"] ) {\n \n --mds-push-notification-icon-background-color: rgb(var(--status-info-05));\n --mds-push-notification-icon-color: rgb(var(--status-info-10));\n}\n\n:host( [variant="info"] ),\n:host( [variant="info"][tone="weak"] ) {\n\n --mds-push-notification-icon-background-color: rgb(var(--status-info-09));\n --mds-push-notification-icon-color: rgb(var(--status-info-05));\n}\n\n:host( [variant="info"][tone="quiet"] ) {\n\n --mds-push-notification-icon-background-color: transparent;\n --mds-push-notification-icon-color: rgb(var(--status-info-05));\n}\n\n@tailwind utilities;\n\n@container style(--magma-pref-animation: reduce) {\n :host,\n .close-button {\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n}\n\n@container style(--magma-pref-animation: system) {\n\n @media (prefers-reduced-motion) {\n :host,\n .close-button {\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n }\n}\n\n@tailwind utilities;\n\n@container style(--magma-pref-theme: dark) {\n :host {\n\n --mds-push-notification-shadow: 0 0 0 1px rgb(var(--tone-neutral-01) / 0.3) inset;\n }\n}\n\n@container style(--magma-pref-theme: system) {\n\n @media (prefers-color-scheme: dark) {\n :host {\n\n --mds-push-notification-shadow: 0 0 0 1px rgb(var(--tone-neutral-01) / 0.3) inset;\n }\n }\n}\n\n@container style(--magma-pref-contrast: more) {\n :host {\n\n --mds-push-notification-shadow: 0 0 0 2px rgb(var(--tone-neutral-01) / 0.6) inset;\n\n color: rgb(var(--tone-neutral-01));\n }\n}\n\n@container style(--magma-pref-contrast: system) {\n\n @media (prefers-contrast: more) {\n :host {\n\n --mds-push-notification-shadow: 0 0 0 2px rgb(var(--tone-neutral-01) / 0.6) inset;\n\n color: rgb(var(--tone-neutral-01));\n }\n }\n}\n\n';var qn=_n;c.extend(gn);var Dn=n("mds_push_notification",function(){function n(n){var i=this;t(this,n);this.closedEvent=r(this,"mdsPushNotificationClose",7);this.t=new wn({el:M,en:N,es:X,it:mn});this.dateFormat="timeago";this.deletable=true;this.message="Nessun messaggio disponibile";this.preview="image";this.tone="weak";this.onClickClose=function(n){n.stopPropagation();i.closedEvent.emit()}}n.prototype.updateLang=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(n){this.language=this.t.lang(this.host);return[2]}))}))};n.prototype.componentWillLoad=function(){var n;this.hasActions=this.host.querySelector('[slot="actions"]')!==null;this.hasBadge=this.host.querySelector('[slot="badge"]')!==null;if(this.datetime){this.datetime=Mn((n=this.datetime)===null||n===void 0?void 0:n.toString())}this.t.lang(this.host);var t={future:this.t.get("future"),past:this.t.get("past"),s:this.t.get("s"),m:this.t.get("m"),mm:this.t.get("mm"),h:this.t.get("h"),hh:this.t.get("hh"),d:this.t.get("d"),dd:this.t.get("dd"),M:this.t.get("M"),MM:this.t.get("MM"),y:this.t.get("y"),yy:this.t.get("yy")};c.locale("custom-locale",{relativeTime:t})};n.prototype.render=function(){var n;return i(a,{key:"ca899101a9c26450da9eb84acfe90b3114ca4231"},((n=this.icon)!==null&&n!==void 0?n:this.preview==="avatar")&&i("mds-avatar",{key:"2440255e356dc29ac4ff3043f8f1dea40db036cc",class:"avatar",icon:this.icon,initials:this.initials,part:"avatar",src:this.src,tone:this.tone,variant:this.variant}),this.src&&this.preview!=="avatar"&&i("mds-img",{key:"09641cbadb6b8ce0d93d99fa0b4cc271e264cd8b",class:"picture",part:"picture",src:this.src}),i("div",{key:"161f883ef9e1f0deaee84cd421d3a776ea86d336",class:"content",part:"content"},i("div",{key:"b61782b62a16064d841e546489eabd8ee2aa1f21",class:"header"},i("div",{key:"02463af834b5c7f98a38dc6defc1c55ce01930bd",class:"infos"},this.hasBadge&&i("div",{key:"a3f13e3d63edc69705f11d082b875811cfcc7aab"},i("slot",{key:"4d9700269231a39130483c4c62e169051c82c863",name:"badge"})),this.subject&&i("mds-text",{key:"dc4550b30b02fd37a097db6ea2ed1076ea7794bd",class:"subject",typography:"h6",variant:"title",truncate:"all"},this.subject)),this.datetime&&i("mds-text",{key:"6b2b852330706a607c4c9dfb1178f98218a2ac6b",class:"time",typography:"option"},this.dateFormat==="timeago"?c(this.datetime).fromNow():c(this.datetime).format(this.dateFormat))),i("mds-text",{key:"dc624ccb1feb0fcaed8d25a672312930f2a4812d",class:"message",truncate:"all",typography:"caption",variant:"info"},this.message),this.hasActions&&i("div",{key:"ff8cdd1a38b50041ebf11314c7fe3ad17d1b5d7f",class:"actions",part:"actions"},i("slot",{key:"3932ede2f98b5a97300c9536d5e4cf9bf82c5836",name:"actions"}))),this.deletable&&i("mds-button",{key:"3be9139ed74f8a9a0425c01cc6ceff541771057b",class:"close-button",title:this.t.get("dismiss"),icon:bn,onClick:this.onClickClose.bind(this)}))};Object.defineProperty(n.prototype,"host",{get:function(){return o(this)},enumerable:false,configurable:true});return n}());Dn.style=qn}}}));
@@ -0,0 +1,2 @@
1
+ var __extends=this&&this.__extends||function(){var e=function(r,n){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var n in r)if(Object.prototype.hasOwnProperty.call(r,n))e[n]=r[n]};return e(r,n)};return function(r,n){if(typeof n!=="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(r,n);function t(){this.constructor=r}r.prototype=n===null?Object.create(n):(t.prototype=n.prototype,new t)}}();var __awaiter=this&&this.__awaiter||function(e,r,n,t){function i(e){return e instanceof n?e:new n((function(r){r(e)}))}return new(n||(n=Promise))((function(n,a){function f(e){try{o(t.next(e))}catch(e){a(e)}}function u(e){try{o(t["throw"](e))}catch(e){a(e)}}function o(e){e.done?n(e.value):i(e.value).then(f,u)}o((t=t.apply(e,r||[])).next())}))};var __generator=this&&this.__generator||function(e,r){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},t,i,a,f;return f={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(f[Symbol.iterator]=function(){return this}),f;function u(e){return function(r){return o([e,r])}}function o(u){if(t)throw new TypeError("Generator is already executing.");while(f&&(f=0,u[0]&&(n=0)),n)try{if(t=1,i&&(a=u[0]&2?i["return"]:u[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,u[1])).done)return a;if(i=0,a)u=[u[0]&2,a.value];switch(u[0]){case 0:case 1:a=u;break;case 4:n.label++;return{value:u[1],done:false};case 5:n.label++;i=u[1];u=[0];continue;case 7:u=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]<a[3])){n.label=u[1];break}if(u[0]===6&&n.label<a[1]){n.label=a[1];a=u;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(u);break}if(a[2])n.ops.pop();n.trys.pop();continue}u=r.call(e,n)}catch(e){u=[6,e];i=0}finally{t=a=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,r,n){if(n||arguments.length===2)for(var t=0,i=r.length,a;t<i;t++){if(a||!(t in r)){if(!a)a=Array.prototype.slice.call(r,0,t);a[t]=r[t]}}return e.concat(a||Array.prototype.slice.call(r))};System.register([],(function(e,r){"use strict";return{execute:function(){var n=this;var t="mds-push-notification";var i={allRenderFn:true,appendChildSlotFix:false,asyncLoading:true,asyncQueue:false,attachStyles:true,cloneNodeFix:false,cmpDidLoad:false,cmpDidRender:false,cmpDidUnload:false,cmpDidUpdate:false,cmpShouldUpdate:false,cmpWillLoad:true,cmpWillRender:false,cmpWillUpdate:false,connectedCallback:false,constructableCSS:true,cssAnnotations:true,devTools:false,disconnectedCallback:false,element:false,event:true,experimentalScopedSlotChanges:false,experimentalSlotFixes:false,formAssociated:false,hasRenderFn:true,hostListener:false,hostListenerTarget:false,hostListenerTargetBody:false,hostListenerTargetDocument:false,hostListenerTargetParent:false,hostListenerTargetWindow:false,hotModuleReplacement:false,hydrateClientSide:false,hydrateServerSide:false,hydratedAttribute:true,hydratedClass:false,hydratedSelectorName:"hydrated",initializeNextTick:false,invisiblePrehydration:true,isDebug:false,isDev:false,isTesting:false,lazyLoad:true,lifecycle:true,lifecycleDOMEvents:false,member:true,method:true,mode:false,modernPropertyDecls:false,observeAttribute:true,profile:false,prop:true,propBoolean:true,propMutable:true,propNumber:false,propString:true,reflect:true,scoped:false,scopedSlotTextContentFix:false,scriptDataOpts:false,shadowDelegatesFocus:false,shadowDom:true,slot:true,slotChildNodesFix:false,slotRelocation:false,state:true,style:true,svg:false,taskQueue:true,transformTagName:false,updatable:true,vdomAttribute:true,vdomClass:true,vdomFunctional:false,vdomKey:true,vdomListener:true,vdomPropOrAttr:true,vdomRef:false,vdomRender:true,vdomStyle:false,vdomText:true,vdomXlink:false,watchCallback:false};var a=Object.defineProperty;var f=function(e,r){for(var n in r)a(e,n,{get:r[n],enumerable:true})};var u=new WeakMap;var o=function(e){return u.get(e)};var l=e("r",(function(e,r){u.set(r.t=e,r)}));var s=function(e,r){var n={i:0,$hostElement$:e,u:r,o:new Map};{n.l=new Promise((function(e){return n.v=e}))}{n.h=new Promise((function(e){return n.p=e}));e["s-p"]=[];e["s-rc"]=[]}var t=u.set(e,n);return t};var c=function(e,r){return r in e};var v=function(e,r){return(0,console.error)(e,r)};var d=new Map;var h=function(e,n,t){var i=e.m.replace(/-/g,"_");var a=e.S;if(!a){return void 0}var f=d.get(a);if(f){return f[i]}
2
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/return r.import("./".concat(a,".entry.js").concat("")).then((function(e){{d.set(a,e)}return e[i]}),(function(e){v(e,n.$hostElement$)}))};var p=new Map;var m="sty-id";var y="{visibility:hidden}[hydrated]{visibility:inherit}";var b="slot-fb{display:contents}slot-fb[hidden]{display:none}";var w=typeof window!=="undefined"?window:{};var S=w.document||{head:{}};var g={i:0,_:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,r,n,t){return e.addEventListener(r,n,t)},rel:function(e,r,n,t){return e.removeEventListener(r,n,t)},ce:function(e,r){return new CustomEvent(e,r)}};var _=e("p",(function(e){return Promise.resolve(e)}));var $=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(e){}return false}();var j=false;var k=[];var A=[];var C=function(e,r){return function(n){e.push(n);if(!j){j=true;if(r&&g.i&4){T(x)}else{g.raf(x)}}}};var O=function(e){for(var r=0;r<e.length;r++){try{e[r](performance.now())}catch(e){v(e)}}e.length=0};var x=function(){O(k);{O(A);if(j=k.length>0){g.raf(x)}}};var T=function(e){return _().then(e)};var E=C(A,true);var D=function(e){e=typeof e;return e==="object"||e==="function"};function L(e){var r,n,t;return(t=(n=(r=e.head)==null?void 0:r.querySelector('meta[name="csp-nonce"]'))==null?void 0:n.getAttribute("content"))!=null?t:void 0}var M={};f(M,{err:function(){return F},map:function(){return R},ok:function(){return P},unwrap:function(){return N},unwrapErr:function(){return U}});var P=function(e){return{isOk:true,isErr:false,value:e}};var F=function(e){return{isOk:false,isErr:true,value:e}};function R(e,r){if(e.isOk){var n=r(e.value);if(n instanceof Promise){return n.then((function(e){return P(e)}))}else{return P(n)}}if(e.isErr){var t=e.value;return F(t)}throw"should never get here"}var N=function(e){if(e.isOk){return e.value}else{throw e.value}};var U=function(e){if(e.isErr){return e.value}else{throw e.value}};var W=function(e,r){if(r===void 0){r=""}{return function(){return}}};var H=function(e,r){{return function(){return}}};var z=e("h",(function(e,r){var n=[];for(var t=2;t<arguments.length;t++){n[t-2]=arguments[t]}var i=null;var a=null;var f=false;var u=false;var o=[];var l=function(r){for(var n=0;n<r.length;n++){i=r[n];if(Array.isArray(i)){l(i)}else if(i!=null&&typeof i!=="boolean"){if(f=typeof e!=="function"&&!D(i)){i=String(i)}if(f&&u){o[o.length-1].$+=i}else{o.push(f?B(null,i):i)}u=f}}};l(n);if(r){if(r.key){a=r.key}{var s=r.className||r.class;if(s){r.class=typeof s!=="object"?s:Object.keys(s).filter((function(e){return s[e]})).join(" ")}}}var c=B(e,null);c.j=r;if(o.length>0){c.k=o}{c.A=a}return c}));var B=function(e,r){var n={i:0,C:e,$:r,O:null,k:null};{n.j=null}{n.A=null}return n};var G=e("H",{});var Q=function(e){return e&&e.C===G};var V=function(e,r){if(e!=null&&!D(e)){if(r&4){return e==="false"?false:e===""||!!e}if(r&1){return String(e)}return e}return e};var q=e("g",(function(e){return o(e).$hostElement$}));var I=e("c",(function(e,r,n){var t=q(e);return{emit:function(e){return K(t,r,{bubbles:!!(n&4),composed:!!(n&2),cancelable:!!(n&1),detail:e})}}}));var K=function(e,r,n){var t=g.ce(r,n);e.dispatchEvent(t);return t};var X=new WeakMap;var J=function(e,r,n){var t=p.get(e);if($&&n){t=t||new CSSStyleSheet;if(typeof t==="string"){t=r}else{t.replaceSync(r)}}else{t=r}p.set(e,t)};var Y=function(e,r,n){var t;var i=ee(r);var a=p.get(i);e=e.nodeType===11?e:S;if(a){if(typeof a==="string"){e=e.head||e;var f=X.get(e);var u=void 0;if(!f){X.set(e,f=new Set)}if(!f.has(i)){{u=document.querySelector("[".concat(m,'="').concat(i,'"]'))||S.createElement("style");u.innerHTML=a;var o=(t=g.T)!=null?t:L(S);if(o!=null){u.setAttribute("nonce",o)}if(!(r.i&1)){if(e.nodeName==="HEAD"){var l=e.querySelectorAll("link[rel=preconnect]");var s=l.length>0?l[l.length-1].nextSibling:e.querySelector("style");e.insertBefore(u,(s==null?void 0:s.parentNode)===e?s:null)}else if("host"in e){if($){var c=new CSSStyleSheet;c.replaceSync(a);e.adoptedStyleSheets=__spreadArray([c],e.adoptedStyleSheets,true)}else{var v=e.querySelector("style");if(v){v.innerHTML=a+v.innerHTML}else{e.prepend(u)}}}else{e.append(u)}}if(r.i&1&&e.nodeName!=="HEAD"){e.insertBefore(u,null)}}if(r.i&4){u.innerHTML+=b}if(f){f.add(i)}}}else if(!e.adoptedStyleSheets.includes(a)){e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets,true),[a],false)}}return i};var Z=function(e){var r=e.u;var n=e.$hostElement$;var t=r.i;var i=W("attachStyles",r.m);var a=Y(n.shadowRoot?n.shadowRoot:n.getRootNode(),r);if(t&10&&t&2){n["s-sc"]=a;n.classList.add(a+"-h")}i()};var ee=function(e,r){return"sc-"+e.m};var re=function(e,r,n,t,i,a,f){if(n!==t){var u=c(e,r);var o=r.toLowerCase();if(r==="class"){var l=e.classList;var s=te(n);var v=te(t);{l.remove.apply(l,s.filter((function(e){return e&&!v.includes(e)})));l.add.apply(l,v.filter((function(e){return e&&!s.includes(e)})))}}else if(r==="key");else if(!u&&r[0]==="o"&&r[1]==="n"){if(r[2]==="-"){r=r.slice(3)}else if(c(w,o)){r=o.slice(2)}else{r=o[2]+r.slice(3)}if(n||t){var d=r.endsWith(ie);r=r.replace(ae,"");if(n){g.rel(e,r,n,d)}if(t){g.ael(e,r,t,d)}}}else{var h=D(t);if((u||h&&t!==null)&&!i){try{if(!e.tagName.includes("-")){var p=t==null?"":t;if(r==="list"){u=false}else if(n==null||e[r]!=p){if(typeof e.__lookupSetter__(r)==="function"){e[r]=p}else{e.setAttribute(r,p)}}}else if(e[r]!==t){e[r]=t}}catch(e){}}if(t==null||t===false){if(t!==false||e.getAttribute(r)===""){{e.removeAttribute(r)}}}else if((!u||a&4||i)&&!h){t=t===true?"":t;{e.setAttribute(r,t)}}}}};var ne=/\s/;var te=function(e){if(typeof e==="object"&&e&&"baseVal"in e){e=e.baseVal}if(!e||typeof e!=="string"){return[]}return e.split(ne)};var ie="Capture";var ae=new RegExp(ie+"$");var fe=function(e,r,n,t){var i=r.O.nodeType===11&&r.O.host?r.O.host:r.O;var a=e&&e.j||{};var f=r.j||{};{for(var u=0,o=ue(Object.keys(a));u<o.length;u++){var l=o[u];if(!(l in f)){re(i,l,a[l],void 0,n,r.i)}}}for(var s=0,c=ue(Object.keys(f));s<c.length;s++){var l=c[s];re(i,l,a[l],f[l],n,r.i)}};function ue(e){return e.includes("ref")?__spreadArray(__spreadArray([],e.filter((function(e){return e!=="ref"})),true),["ref"],false):e}var oe;var le=false;var se=false;var ce=function(e,r,n){var t=r.k[n];var a=0;var f;var u;if(t.$!==null){f=t.O=S.createTextNode(t.$)}else{f=t.O=S.createElement(!le&&i.slotRelocation&&t.i&2?"slot-fb":t.C);{fe(null,t,se)}if(t.k){for(a=0;a<t.k.length;++a){u=ce(e,t,a);if(u){f.appendChild(u)}}}}f["s-hn"]=oe;return f};var ve=function(e,r,n,t,i,a){var f=e;var u;if(f.shadowRoot&&f.tagName===oe){f=f.shadowRoot}for(;i<=a;++i){if(t[i]){u=ce(null,n,i);if(u){t[i].O=u;ye(f,u,r)}}}};var de=function(e,r,n){for(var t=r;t<=n;++t){var i=e[t];if(i){var a=i.O;if(a){a.remove()}}}};var he=function(e,r,n,t,i){if(i===void 0){i=false}var a=0;var f=0;var u=0;var o=0;var l=r.length-1;var s=r[0];var c=r[l];var v=t.length-1;var d=t[0];var h=t[v];var p;var m;while(a<=l&&f<=v){if(s==null){s=r[++a]}else if(c==null){c=r[--l]}else if(d==null){d=t[++f]}else if(h==null){h=t[--v]}else if(pe(s,d,i)){me(s,d,i);s=r[++a];d=t[++f]}else if(pe(c,h,i)){me(c,h,i);c=r[--l];h=t[--v]}else if(pe(s,h,i)){me(s,h,i);ye(e,s.O,c.O.nextSibling);s=r[++a];h=t[--v]}else if(pe(c,d,i)){me(c,d,i);ye(e,c.O,s.O);c=r[--l];d=t[++f]}else{u=-1;{for(o=a;o<=l;++o){if(r[o]&&r[o].A!==null&&r[o].A===d.A){u=o;break}}}if(u>=0){m=r[u];if(m.C!==d.C){p=ce(r&&r[f],n,u)}else{me(m,d,i);r[u]=void 0;p=m.O}d=t[++f]}else{p=ce(r&&r[f],n,f);d=t[++f]}if(p){{ye(s.O.parentNode,p,s.O)}}}}if(a>l){ve(e,t[v+1]==null?null:t[v+1].O,n,t,f,v)}else if(f>v){de(r,a,l)}};var pe=function(e,r,n){if(n===void 0){n=false}if(e.C===r.C){if(!n){return e.A===r.A}if(n&&!e.A&&r.A){e.A=r.A}return true}return false};var me=function(e,r,n){if(n===void 0){n=false}var t=r.O=e.O;var a=e.k;var f=r.k;var u=r.C;var o=r.$;if(o===null){{if(u==="slot"&&!le);else{fe(e,r,se)}}if(a!==null&&f!==null){he(t,a,r,f,n)}else if(f!==null){if(e.$!==null){t.textContent=""}ve(t,null,r,f,0,f.length-1)}else if(!n&&i.updatable&&a!==null){de(a,0,a.length-1)}}else if(e.$!==o){t.data=o}};var ye=function(e,r,n){{return e==null?void 0:e.insertBefore(r,n)}};var be=function(e,r,n){if(n===void 0){n=false}var t=e.$hostElement$;var i=e.u;var a=e.D||B(null,null);var f=Q(r)?r:z(null,null,r);oe=t.tagName;if(i.L){f.j=f.j||{};i.L.map((function(e){var r=e[0],n=e[1];return f.j[n]=t[r]}))}if(n&&f.j){for(var u=0,o=Object.keys(f.j);u<o.length;u++){var l=o[u];if(t.hasAttribute(l)&&!["key","ref","style","class"].includes(l)){f.j[l]=t[l]}}}f.C=null;f.i|=4;e.D=f;f.O=a.O=t.shadowRoot||t;le=(i.i&1)!==0;me(a,f,n)};var we=function(e,r){if(r&&!e.M&&r["s-p"]){var n=r["s-p"].push(new Promise((function(t){return e.M=function(){r["s-p"].splice(n-1,1);t()}})))}};var Se=function(e,r){{e.i|=16}if(e.i&4){e.i|=512;return}we(e,e.P);var n=function(){return ge(e,r)};return E(n)};var ge=function(e,r){var n=e.$hostElement$;var t=W("scheduleUpdate",e.u.m);var i=e.t;if(!i){throw new Error("Can't render component <".concat(n.tagName.toLowerCase()," /> with invalid Stencil runtime! Make sure this imported component is compiled with a `externalRuntime: true` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime"))}var a;if(r){{a=Oe(i,"componentWillLoad",void 0,n)}}t();return _e(a,(function(){return je(e,i,r)}))};var _e=function(e,r){return $e(e)?e.then(r).catch((function(e){console.error(e);r()})):r()};var $e=function(e){return e instanceof Promise||e&&e.then&&typeof e.then==="function"};var je=function(e,r,t){return __awaiter(n,void 0,void 0,(function(){var n,i,a,f,u,o,l;return __generator(this,(function(s){i=e.$hostElement$;a=W("update",e.u.m);f=i["s-rc"];if(t){Z(e)}u=W("render",e.u.m);{ke(e,r,i,t)}if(f){f.map((function(e){return e()}));i["s-rc"]=void 0}u();a();{o=(n=i["s-p"])!=null?n:[];l=function(){return Ae(e)};if(o.length===0){l()}else{Promise.all(o).then(l);e.i|=4;o.length=0}}return[2]}))}))};var ke=function(e,r,n,t){try{r=r.render();{e.i&=~16}{e.i|=2}{{{be(e,r,t)}}}}catch(r){v(r,e.$hostElement$)}return null};var Ae=function(e){var r=e.u.m;var n=e.$hostElement$;var t=W("postUpdate",r);var i=e.P;if(!(e.i&64)){e.i|=64;{xe(n)}t();{e.p(n);if(!i){Ce()}}}else{t()}{e.v(n)}{if(e.M){e.M();e.M=void 0}if(e.i&512){T((function(){return Se(e,false)}))}e.i&=~(4|512)}};var Ce=function(e){{xe(S.documentElement)}T((function(){return K(w,"appload",{detail:{namespace:t}})}))};var Oe=function(e,r,n,t){if(e&&e[r]){try{return e[r](n)}catch(e){v(e,t)}}return void 0};var xe=function(e){var r;return e.setAttribute((r=i.hydratedSelectorName)!=null?r:"hydrated","")};var Te=function(e,r){return o(e).o.get(r)};var Ee=function(e,r,n,t){var i=o(e);if(!i){throw new Error("Couldn't find host element for \"".concat(t.m,'" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).'))}var a=i.o.get(r);var f=i.i;var u=i.t;n=V(n,t.F[r][0]);var l=Number.isNaN(a)&&Number.isNaN(n);var s=n!==a&&!l;if((!(f&8)||a===void 0)&&s){i.o.set(r,n);if(u){if((f&(2|16))===2){Se(i,false)}}}};var De=function(e,r,n){var t,a;var f=e.prototype;if(r.F||i.watchCallback){var u=Object.entries((t=r.F)!=null?t:{});u.map((function(e){var t=e[0],i=e[1][0];if(i&31||n&2&&i&32){var a=Object.getOwnPropertyDescriptor(f,t)||{},u=a.get,l=a.set;if(u)r.F[t][0]|=2048;if(l)r.F[t][0]|=4096;if(n&1||!u){Object.defineProperty(f,t,{get:function(){{if((r.F[t][0]&2048)===0){return Te(this,t)}var e=o(this);var n=e?e.t:f;if(!n)return;return n[t]}},configurable:true,enumerable:true})}Object.defineProperty(f,t,{set:function(e){var a=this;var f=o(this);if(l){var u=i&32?this[t]:f.$hostElement$[t];if(typeof u==="undefined"&&f.o.get(t)){e=f.o.get(t)}else if(!f.o.get(t)&&u){f.o.set(t,u)}l.apply(this,[V(e,i)]);e=i&32?this[t]:f.$hostElement$[t];Ee(this,t,e,r);return}{if((n&1)===0||(r.F[t][0]&4096)===0){Ee(this,t,e,r);if(n&1&&!f.t){f.h.then((function(){if(r.F[t][0]&4096&&f.t[t]!==f.o.get(t)){f.t[t]=e}}))}return}var s=function(){var n=f.t[t];if(!f.o.get(t)&&n){f.o.set(t,n)}f.t[t]=V(e,i);Ee(a,t,f.t[t],r)};if(f.t){s()}else{f.h.then((function(){return s()}))}}}})}else if(n&1&&i&64){Object.defineProperty(f,t,{value:function(){var e=[];for(var r=0;r<arguments.length;r++){e[r]=arguments[r]}var n;var i=o(this);return(n=i==null?void 0:i.l)==null?void 0:n.then((function(){var r;return(r=i.t)==null?void 0:r[t].apply(r,e)}))}})}}));if(n&1){var l=new Map;f.attributeChangedCallback=function(e,n,t){var a=this;g.jmp((function(){var u;var s=l.get(e);if(a.hasOwnProperty(s)&&i.lazyLoad){t=a[s];delete a[s]}else if(f.hasOwnProperty(s)&&typeof a[s]==="number"&&a[s]==t){return}else if(s==null){var c=o(a);var v=c==null?void 0:c.i;if(v&&!(v&8)&&v&128&&t!==n){var d=c.t;var h=(u=r.R)==null?void 0:u[e];h==null?void 0:h.forEach((function(r){if(d[r]!=null){d[r].call(d,t,n,e)}}))}return}var p=Object.getOwnPropertyDescriptor(f,s);t=t===null&&typeof a[s]==="boolean"?false:t;if(t!==a[s]&&(!p.get||!!p.set)){a[s]=t}}))};e.observedAttributes=Array.from(new Set(__spreadArray(__spreadArray([],Object.keys((a=r.R)!=null?a:{}),true),u.filter((function(e){var r=e[0],n=e[1];return n[0]&15})).map((function(e){var n=e[0],t=e[1];var i;var a=t[1]||n;l.set(a,n);if(t[0]&512){(i=r.L)==null?void 0:i.push([n,a])}return a})),true)))}}return e};var Le=function(e,r,t,i){return __awaiter(n,void 0,void 0,(function(){var n,i,a,f,u,o,l,s,c;return __generator(this,(function(d){switch(d.label){case 0:if(!((r.i&32)===0))return[3,4];r.i|=32;i=h(t,r);if(!(i&&"then"in i))return[3,2];a=H();return[4,i];case 1:n=d.sent();a();return[3,3];case 2:n=i;d.label=3;case 3:if(!n){throw new Error('Constructor for "'.concat(t.m,"#").concat(r.N,'" was not found'))}if(!n.isProxied){De(n,t,2);n.isProxied=true}f=W("createInstance",t.m);{r.i|=8}try{new n(r)}catch(r){v(r,e)}{r.i&=~8}f();if(n&&n.style){u=void 0;if(typeof n.style==="string"){u=n.style}o=ee(t);if(!p.has(o)){l=W("registerStyles",t.m);J(o,u,!!(t.i&1));l()}}d.label=4;case 4:s=r.P;c=function(){return Se(r,true)};if(s&&s["s-rc"]){s["s-rc"].push(c)}else{c()}return[2]}}))}))};var Me=function(e,r){};var Pe=function(e){if((g.i&1)===0){var r=o(e);var n=r.u;var t=W("connectedCallback",n.m);if(!(r.i&1)){r.i|=1;{var i=e;while(i=i.parentNode||i.host){if(i["s-p"]){we(r,r.P=i);break}}}if(n.F){Object.entries(n.F).map((function(r){var n=r[0],t=r[1][0];if(t&31&&e.hasOwnProperty(n)){var i=e[n];delete e[n];e[n]=i}}))}{Le(e,r,n)}}else{if(r==null?void 0:r.t);else if(r==null?void 0:r.h){r.h.then((function(){return Me()}))}}t()}};var Fe=function(e,r){};var Re=function(e){return __awaiter(n,void 0,void 0,(function(){var r;return __generator(this,(function(n){if((g.i&1)===0){r=o(e);if(r==null?void 0:r.t);else if(r==null?void 0:r.h){r.h.then((function(){return Fe()}))}}if(X.has(e)){X.delete(e)}if(e.shadowRoot&&X.has(e.shadowRoot)){X.delete(e.shadowRoot)}return[2]}))}))};var Ne=e("b",(function(e,r){if(r===void 0){r={}}var n;var t=W();var i=[];var a=r.exclude||[];var f=w.customElements;var u=S.head;var l=u.querySelector("meta[charset]");var c=S.createElement("style");var v=[];var d;var h=true;Object.assign(g,r);g._=new URL(r.resourcesUrl||"./",S.baseURI).href;var p=false;e.map((function(e){e[1].map((function(r){var n={i:r[0],m:r[1],F:r[2],U:r[3]};if(n.i&4){p=true}{n.F=r[2]}{n.L=[]}var t=n.m;var u=function(e){__extends(r,e);function r(r){var t=e.call(this,r)||this;t.hasRegisteredEventListeners=false;r=t;s(r,n);if(n.i&1){{if(!r.shadowRoot){{r.attachShadow({mode:"open"})}}else{if(r.shadowRoot.mode!=="open"){throw new Error("Unable to re-use existing shadow root for ".concat(n.m,"! Mode is set to ").concat(r.shadowRoot.mode," but Stencil only supports open shadow roots."))}}}}return t}r.prototype.connectedCallback=function(){var e=this;o(this);if(!this.hasRegisteredEventListeners){this.hasRegisteredEventListeners=true}if(d){clearTimeout(d);d=null}if(h){v.push(this)}else{g.jmp((function(){return Pe(e)}))}};r.prototype.disconnectedCallback=function(){var e=this;g.jmp((function(){return Re(e)}));g.raf((function(){var r;var n=o(e);if(((r=n==null?void 0:n.D)==null?void 0:r.O)instanceof Node&&!n.D.O.isConnected){delete n.D.O}}))};r.prototype.componentOnReady=function(){return o(this).h};return r}(HTMLElement);n.S=e[0];if(!a.includes(t)&&!f.get(t)){i.push(t);f.define(t,De(u,n,1))}}))}));if(i.length>0){if(p){c.textContent+=b}{c.textContent+=i.sort()+y}if(c.innerHTML.length){c.setAttribute("data-styles","");var m=(n=g.T)!=null?n:L(S);if(m!=null){c.setAttribute("nonce",m)}u.insertBefore(c,l?l.nextSibling:u.firstChild)}}h=false;if(v.length){v.map((function(e){return e.connectedCallback()}))}else{{g.jmp((function(){return d=setTimeout(Ce,30)}))}}t()}));var Ue=e("s",(function(e){return g.T=e}))}}}));
@@ -1 +1 @@
1
- var __awaiter=this&&this.__awaiter||function(t,n,e,r){function i(t){return t instanceof e?t:new e((function(n){n(t)}))}return new(e||(e=Promise))((function(e,a){function u(t){try{c(r.next(t))}catch(t){a(t)}}function o(t){try{c(r["throw"](t))}catch(t){a(t)}}function c(t){t.done?e(t.value):i(t.value).then(u,o)}c((r=r.apply(t,n||[])).next())}))};var __generator=this&&this.__generator||function(t,n){var e={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,i,a,u;return u={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function o(t){return function(n){return c([t,n])}}function c(o){if(r)throw new TypeError("Generator is already executing.");while(u&&(u=0,o[0]&&(e=0)),e)try{if(r=1,i&&(a=o[0]&2?i["return"]:o[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,o[1])).done)return a;if(i=0,a)o=[o[0]&2,a.value];switch(o[0]){case 0:case 1:a=o;break;case 4:e.label++;return{value:o[1],done:false};case 5:e.label++;i=o[1];o=[0];continue;case 7:o=e.ops.pop();e.trys.pop();continue;default:if(!(a=e.trys,a=a.length>0&&a[a.length-1])&&(o[0]===6||o[0]===2)){e=0;continue}if(o[0]===3&&(!a||o[1]>a[0]&&o[1]<a[3])){e.label=o[1];break}if(o[0]===6&&e.label<a[1]){e.label=a[1];a=o;break}if(a&&e.label<a[2]){e.label=a[2];e.ops.push(o);break}if(a[2])e.ops.pop();e.trys.pop();continue}o=n.call(t,e)}catch(t){o=[6,t];i=0}finally{r=a=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};System.register(["./p-36238f45.system.js","./p-56ba5cbf.system.js"],(function(t,n){"use strict";var e,r,i;return{setters:[function(n){e=n.p;r=n.b;t("setNonce",n.s)},function(t){i=t.g}],execute:function(){var t=this;var a=function(){var t=n.meta.url;var r={};if(t!==""){r.resourcesUrl=new URL(".",t).href}return e(r)};a().then((function(n){return __awaiter(t,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:return[4,i()];case 1:t.sent();return[2,r([["p-313df2a2.system",[[1,"mds-push-notification",{datetime:[1537],dateFormat:[513,"date-format"],deletable:[516],icon:[513],initials:[1537],message:[513],preview:[513],src:[513],subject:[513],tone:[513],variant:[513],language:[32],updateLang:[64]}]]]],n)]}}))}))}))}}}));
1
+ var __awaiter=this&&this.__awaiter||function(t,n,e,r){function i(t){return t instanceof e?t:new e((function(n){n(t)}))}return new(e||(e=Promise))((function(e,a){function u(t){try{c(r.next(t))}catch(t){a(t)}}function o(t){try{c(r["throw"](t))}catch(t){a(t)}}function c(t){t.done?e(t.value):i(t.value).then(u,o)}c((r=r.apply(t,n||[])).next())}))};var __generator=this&&this.__generator||function(t,n){var e={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,i,a,u;return u={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function o(t){return function(n){return c([t,n])}}function c(o){if(r)throw new TypeError("Generator is already executing.");while(u&&(u=0,o[0]&&(e=0)),e)try{if(r=1,i&&(a=o[0]&2?i["return"]:o[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,o[1])).done)return a;if(i=0,a)o=[o[0]&2,a.value];switch(o[0]){case 0:case 1:a=o;break;case 4:e.label++;return{value:o[1],done:false};case 5:e.label++;i=o[1];o=[0];continue;case 7:o=e.ops.pop();e.trys.pop();continue;default:if(!(a=e.trys,a=a.length>0&&a[a.length-1])&&(o[0]===6||o[0]===2)){e=0;continue}if(o[0]===3&&(!a||o[1]>a[0]&&o[1]<a[3])){e.label=o[1];break}if(o[0]===6&&e.label<a[1]){e.label=a[1];a=o;break}if(a&&e.label<a[2]){e.label=a[2];e.ops.push(o);break}if(a[2])e.ops.pop();e.trys.pop();continue}o=n.call(t,e)}catch(t){o=[6,t];i=0}finally{r=a=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};System.register(["./p-91b16fd4.system.js","./p-56ba5cbf.system.js"],(function(t,n){"use strict";var e,r,i;return{setters:[function(n){e=n.p;r=n.b;t("setNonce",n.s)},function(t){i=t.g}],execute:function(){var t=this;var a=function(){var t=n.meta.url;var r={};if(t!==""){r.resourcesUrl=new URL(".",t).href}return e(r)};a().then((function(n){return __awaiter(t,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:return[4,i()];case 1:t.sent();return[2,r([["p-4ff55f8a.system",[[1,"mds-push-notification",{datetime:[1537],dateFormat:[513,"date-format"],deletable:[516],icon:[513],initials:[1537],message:[513],preview:[513],src:[513],subject:[513],tone:[513],variant:[513],language:[32],updateLang:[64]}]]]],n)]}}))}))}))}}}));