homebridge-config-ui-x 5.8.1-beta.6 → 5.8.1-beta.8

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 (93) hide show
  1. package/CHANGELOG.md +2 -0
  2. package/dist/core/auth/auth.controller.d.ts +2 -0
  3. package/dist/core/config/config.interfaces.d.ts +2 -0
  4. package/dist/core/config/config.service.d.ts +2 -0
  5. package/dist/core/config/config.service.js +2 -0
  6. package/dist/core/config/config.service.js.map +1 -1
  7. package/dist/core/config/config.startup.js +36 -17
  8. package/dist/core/config/config.startup.js.map +1 -1
  9. package/dist/core/ssl/ssl-cert-generator.service.d.ts +15 -0
  10. package/dist/core/ssl/ssl-cert-generator.service.js +127 -0
  11. package/dist/core/ssl/ssl-cert-generator.service.js.map +1 -0
  12. package/package.json +12 -13
  13. package/public/3rdpartylicenses.txt +20 -25
  14. package/public/{chunk-UOJOCD7W.js → chunk-2KBCNI6Y.js} +1 -1
  15. package/public/{chunk-BGG4RVP7.js → chunk-2OCKXN2O.js} +1 -1
  16. package/public/{chunk-JLX7DJ3K.js → chunk-3IJOB7KN.js} +1 -1
  17. package/public/{chunk-UDQEYLU7.js → chunk-47IATDES.js} +1 -1
  18. package/public/{chunk-OJX2J4IO.js → chunk-4R4IZBUF.js} +1 -1
  19. package/public/{chunk-OF6YGNIY.js → chunk-4RTPAVTT.js} +1 -1
  20. package/public/{chunk-QRR3KLNN.js → chunk-5BQFCCGO.js} +1 -1
  21. package/public/{chunk-7JVOT7CF.js → chunk-5HLX3GDT.js} +1 -1
  22. package/public/{chunk-ZEAMNZFI.js → chunk-5NEGWNAS.js} +1 -1
  23. package/public/{chunk-S6GHBD3G.js → chunk-6WRRM4B2.js} +1 -1
  24. package/public/{chunk-YY2LDN4T.js → chunk-AC2GDX54.js} +1 -1
  25. package/public/{chunk-XMDA2J6Q.js → chunk-ACCB57RX.js} +1 -1
  26. package/public/chunk-AD22ACMC.js +4 -0
  27. package/public/{chunk-XWNEH47P.js → chunk-AFEHH4TK.js} +1 -1
  28. package/public/{chunk-7LBCLGF3.js → chunk-AIPZCHZA.js} +1 -1
  29. package/public/{chunk-ZGTXUKGT.js → chunk-AQXENSP6.js} +1 -1
  30. package/public/{chunk-QZF4EB22.js → chunk-AV66VEBK.js} +1 -1
  31. package/public/{chunk-KANB2ARW.js → chunk-BIXWXEEW.js} +1 -1
  32. package/public/{chunk-DX5CHJXF.js → chunk-CERXB6GX.js} +1 -1
  33. package/public/{chunk-W6X5DVD5.js → chunk-CQLJRFML.js} +1 -1
  34. package/public/{chunk-ATLYAVD6.js → chunk-DG7UZP7P.js} +1 -1
  35. package/public/{chunk-PYA6JJYU.js → chunk-DYJIYW6A.js} +1 -1
  36. package/public/{chunk-NB5GDKRD.js → chunk-E7VEZ2AD.js} +1 -1
  37. package/public/{chunk-KAUTK43H.js → chunk-ET3NGHAG.js} +1 -1
  38. package/public/{chunk-EDX2ENGN.js → chunk-EZTBVVCV.js} +1 -1
  39. package/public/{chunk-SFVGGMAW.js → chunk-GE7KE5PB.js} +1 -1
  40. package/public/{chunk-MERUZ3TI.js → chunk-GUSZVIO6.js} +1 -1
  41. package/public/chunk-H5GDOIPU.js +50 -0
  42. package/public/{chunk-LSPBN36X.js → chunk-HQMHZMG7.js} +1 -1
  43. package/public/{chunk-TFGWHHOW.js → chunk-HW3MSWTY.js} +1 -1
  44. package/public/chunk-ISCWWCPM.js +1 -0
  45. package/public/{chunk-NSGFRJXN.js → chunk-J6Q2DPRL.js} +1 -1
  46. package/public/{chunk-62JP7T4U.js → chunk-KHQJILET.js} +1 -1
  47. package/public/{chunk-55HYMJBU.js → chunk-KYFLQ7R3.js} +1 -1
  48. package/public/{chunk-33PXPKLK.js → chunk-LC42647Y.js} +1 -1
  49. package/public/{chunk-KTJUFKEY.js → chunk-LNSJO7IF.js} +1 -1
  50. package/public/{chunk-E4RPQIGZ.js → chunk-LSA4FH7A.js} +1 -1
  51. package/public/{chunk-6B3IOUQP.js → chunk-MCAII2U5.js} +1 -1
  52. package/public/{chunk-WGVJTFLN.js → chunk-MQZ2H474.js} +1 -1
  53. package/public/chunk-NKVA4YGF.js +1 -0
  54. package/public/{chunk-A3BKR6VK.js → chunk-O4BJGTI7.js} +1 -1
  55. package/public/chunk-O64RKNOD.js +1 -0
  56. package/public/{chunk-IRYK7NUM.js → chunk-O6NBNFQY.js} +1 -1
  57. package/public/{chunk-AJXWRGZ7.js → chunk-PELXH4TO.js} +1 -1
  58. package/public/{chunk-3T2NXEM5.js → chunk-Q433GZ7T.js} +1 -1
  59. package/public/{chunk-UB2OPEQX.js → chunk-QJT3E7XI.js} +1 -1
  60. package/public/{chunk-4NN4G3KJ.js → chunk-RI2YPN2T.js} +1 -1
  61. package/public/{chunk-2XFSGIAO.js → chunk-RM3JSPOW.js} +1 -1
  62. package/public/{chunk-QXIKOILC.js → chunk-SDLDVFVI.js} +1 -1
  63. package/public/{chunk-OG4E33JL.js → chunk-SGJA6DYY.js} +1 -1
  64. package/public/chunk-TIND2G23.js +1 -0
  65. package/public/{chunk-4T57QGZW.js → chunk-TQND7IG5.js} +1 -1
  66. package/public/{chunk-SWTHJ45W.js → chunk-TVXZP4H4.js} +1 -1
  67. package/public/{chunk-E7P7TS6S.js → chunk-U4XTIC32.js} +1 -1
  68. package/public/{chunk-OCUITVCJ.js → chunk-UW7ONP62.js} +1 -1
  69. package/public/{chunk-5SGKOFZ6.js → chunk-VNRKEIC4.js} +1 -1
  70. package/public/chunk-WBRW2IBE.js +1 -0
  71. package/public/chunk-WJZZ6J6W.js +1 -0
  72. package/public/{chunk-H4PVV6PH.js → chunk-X7RA5NE6.js} +1 -1
  73. package/public/{chunk-CNPUDSX4.js → chunk-Y4ZWZZ2T.js} +1 -1
  74. package/public/{chunk-OQMPX5YA.js → chunk-Y7FUFGRH.js} +1 -1
  75. package/public/{chunk-EX7NHGXU.js → chunk-YB47ML5G.js} +1 -1
  76. package/public/{chunk-ZCLWXDAG.js → chunk-YLFJH4ZN.js} +1 -1
  77. package/public/{chunk-PI6U5IEP.js → chunk-YUQABIDS.js} +1 -1
  78. package/public/chunk-YYORCSG2.js +5 -0
  79. package/public/{chunk-HJCS3ZYL.js → chunk-Z2TNGNOQ.js} +1 -1
  80. package/public/{chunk-HEYIR6Y7.js → chunk-Z2WDBC42.js} +1 -1
  81. package/public/{chunk-HQOFUDLO.js → chunk-ZZ6KAEI5.js} +1 -1
  82. package/public/index.html +1 -1
  83. package/public/main-FL6734PC.js +1 -0
  84. package/public/chunk-4AV4UVMK.js +0 -1
  85. package/public/chunk-EPNOJESR.js +0 -1
  86. package/public/chunk-FUCI63F2.js +0 -1
  87. package/public/chunk-KB2F2YYC.js +0 -5
  88. package/public/chunk-NFLWESOE.js +0 -1
  89. package/public/chunk-NVNWS3JF.js +0 -1
  90. package/public/chunk-PHTV4OM7.js +0 -49
  91. package/public/chunk-VMLNVXCL.js +0 -4
  92. package/public/chunk-WTOHMHRN.js +0 -1
  93. package/public/main-6EHMFJNF.js +0 -1
@@ -0,0 +1 @@
1
+ import{a as q}from"./chunk-X7RA5NE6.js";import{a as pr}from"./chunk-AD22ACMC.js";import{b as gr}from"./chunk-RM3JSPOW.js";import{a as yr}from"./chunk-LNSJO7IF.js";import{a as dr}from"./chunk-AFEHH4TK.js";import{a as cr,b as ke}from"./chunk-ACCB57RX.js";import{a as fr,b as hr}from"./chunk-KHQJILET.js";import{c as or}from"./chunk-HW3MSWTY.js";import"./chunk-ZZ6KAEI5.js";import"./chunk-MCAII2U5.js";import{A as ds,B as fs,C as hs,D as ps,E as gs,F as ys,G as Ms,H as Ss,I as Es,J as _s,K as vs,L as bs,k as Xn,l as Qn,m as xn,n as Zn,o as es,p as ts,q as rs,r as ns,s as ss,t as is,u as os,v as as,w as ls,x as us,y as ms,z as cs}from"./chunk-H5GDOIPU.js";import"./chunk-47IATDES.js";import"./chunk-AV66VEBK.js";import{c as ar}from"./chunk-CQLJRFML.js";import"./chunk-KYFLQ7R3.js";import"./chunk-2KBCNI6Y.js";import"./chunk-O6NBNFQY.js";import"./chunk-BIXWXEEW.js";import"./chunk-O4BJGTI7.js";import"./chunk-Q433GZ7T.js";import"./chunk-J6Q2DPRL.js";import"./chunk-EZTBVVCV.js";import{v as sr}from"./chunk-PELXH4TO.js";import"./chunk-YLFJH4ZN.js";import"./chunk-4R4IZBUF.js";import{a as mr,b as de}from"./chunk-DYJIYW6A.js";import{d as ur,e as Re,h as it}from"./chunk-NKVA4YGF.js";import{b as ce}from"./chunk-MQZ2H474.js";import{a as S,b as K,e as nr,f as st,h as ne,i as Ce,j as ye,k as ze,m as ir,o as lr,p as me}from"./chunk-ISCWWCPM.js";import{Ia as nt,Ra as Jt,Ta as Gt,Ya as Wt,_c as v,a as Ae,bd as Xt,c as Bt,d as Kt,db as qt,eb as B,fa as _,h as we,hd as Qt,ia as Q,id as xt,ja as I,jd as Zt,kd as er,ld as tr,ma as De,md as rr,na as L,pa as jt,wc as Yt,x as Pe,xa as Ut,zb as Vt}from"./chunk-YYORCSG2.js";function Mr(n){return new _(3e3,!1)}function Ts(){return new _(3100,!1)}function Ns(){return new _(3101,!1)}function As(n){return new _(3001,!1)}function ws(n){return new _(3003,!1)}function Ps(n){return new _(3004,!1)}function Er(n,t){return new _(3005,!1)}function _r(){return new _(3006,!1)}function vr(){return new _(3007,!1)}function br(n,t){return new _(3008,!1)}function Tr(n){return new _(3002,!1)}function Nr(n,t,e,r,s){return new _(3010,!1)}function Ar(){return new _(3011,!1)}function wr(){return new _(3012,!1)}function Pr(){return new _(3200,!1)}function Dr(){return new _(3202,!1)}function Cr(){return new _(3013,!1)}function zr(n){return new _(3014,!1)}function Rr(n){return new _(3015,!1)}function kr(n){return new _(3016,!1)}function $r(n,t){return new _(3404,!1)}function Ds(n){return new _(3502,!1)}function Hr(n){return new _(3503,!1)}function Fr(){return new _(3300,!1)}function Lr(n){return new _(3504,!1)}function Or(n){return new _(3301,!1)}function Ir(n,t){return new _(3302,!1)}function Br(n){return new _(3303,!1)}function Kr(n,t){return new _(3400,!1)}function jr(n){return new _(3401,!1)}function Ur(n){return new _(3402,!1)}function Jr(n,t){return new _(3505,!1)}function V(n){switch(n.length){case 0:return new ne;case 1:return n[0];default:return new Ce(n)}}function ut(n,t,e=new Map,r=new Map){let s=[],i=[],o=-1,a=null;if(t.forEach(l=>{let u=l.get("offset"),c=u==o,m=c&&a||new Map;l.forEach((M,y)=>{let f=y,g=M;if(y!=="offset")switch(f=n.normalizePropertyName(f,s),g){case ye:g=e.get(y);break;case K:g=r.get(y);break;default:g=n.normalizeStyleValue(y,f,g,s);break}m.set(f,g)}),c||i.push(m),a=m,o=u}),s.length)throw Ds(s);return i}function $e(n,t,e,r){switch(t){case"start":n.onStart(()=>r(e&&ot(e,"start",n)));break;case"done":n.onDone(()=>r(e&&ot(e,"done",n)));break;case"destroy":n.onDestroy(()=>r(e&&ot(e,"destroy",n)));break}}function ot(n,t,e){let r=e.totalTime,s=!!e.disabled,i=He(n.element,n.triggerName,n.fromState,n.toState,t||n.phaseName,r??n.totalTime,s),o=n._data;return o!=null&&(i._data=o),i}function He(n,t,e,r,s="",i=0,o){return{element:n,triggerName:t,fromState:e,toState:r,phaseName:s,totalTime:i,disabled:!!o}}function k(n,t,e){let r=n.get(t);return r||n.set(t,r=e),r}function mt(n){let t=n.indexOf(":"),e=n.substring(1,t),r=n.slice(t+1);return[e,r]}var Cs=typeof document>"u"?null:document.documentElement;function Fe(n){let t=n.parentNode||n.host||null;return t===Cs?null:t}function zs(n){return n.substring(1,6)=="ebkit"}var se=null,Sr=!1;function Gr(n){se||(se=Rs()||{},Sr=se.style?"WebkitAppearance"in se.style:!1);let t=!0;return se.style&&!zs(n)&&(t=n in se.style,!t&&Sr&&(t="Webkit"+n.charAt(0).toUpperCase()+n.slice(1)in se.style)),t}function Rs(){return typeof document<"u"?document.body:null}function ct(n,t){for(;t;){if(t===n)return!0;t=Fe(t)}return!1}function dt(n,t,e){if(e)return Array.from(n.querySelectorAll(t));let r=n.querySelector(t);return r?[r]:[]}var ks=1e3,ft="{{",$s="}}",ht="ng-enter",Le="ng-leave",Me="ng-trigger",Se=".ng-trigger",pt="ng-animating",Oe=".ng-animating";function W(n){if(typeof n=="number")return n;let t=n.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:at(parseFloat(t[1]),t[2])}function at(n,t){switch(t){case"s":return n*ks;default:return n}}function Ee(n,t,e){return n.hasOwnProperty("duration")?n:Fs(n,t,e)}var Hs=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i;function Fs(n,t,e){let r,s=0,i="";if(typeof n=="string"){let o=n.match(Hs);if(o===null)return t.push(Mr(n)),{duration:0,delay:0,easing:""};r=at(parseFloat(o[1]),o[2]);let a=o[3];a!=null&&(s=at(parseFloat(a),o[4]));let l=o[5];l&&(i=l)}else r=n;if(!e){let o=!1,a=t.length;r<0&&(t.push(Ts()),o=!0),s<0&&(t.push(Ns()),o=!0),o&&t.splice(a,0,Mr(n))}return{duration:r,delay:s,easing:i}}function Wr(n){return n.length?n[0]instanceof Map?n:n.map(t=>new Map(Object.entries(t))):[]}function j(n,t,e){t.forEach((r,s)=>{let i=Ie(s);e&&!e.has(s)&&e.set(s,n.style[i]),n.style[i]=r})}function x(n,t){t.forEach((e,r)=>{let s=Ie(r);n.style[s]=""})}function fe(n){return Array.isArray(n)?n.length==1?n[0]:nr(n):n}function qr(n,t,e){let r=t.params||{},s=gt(n);s.length&&s.forEach(i=>{r.hasOwnProperty(i)||e.push(As(i))})}var lt=new RegExp(`${ft}\\s*(.+?)\\s*${$s}`,"g");function gt(n){let t=[];if(typeof n=="string"){let e;for(;e=lt.exec(n);)t.push(e[1]);lt.lastIndex=0}return t}function he(n,t,e){let r=`${n}`,s=r.replace(lt,(i,o)=>{let a=t[o];return a==null&&(e.push(ws(o)),a=""),a.toString()});return s==r?n:s}var Ls=/-+([a-z0-9])/g;function Ie(n){return n.replace(Ls,(...t)=>t[1].toUpperCase())}function Vr(n,t){return n===0||t===0}function Yr(n,t,e){if(e.size&&t.length){let r=t[0],s=[];if(e.forEach((i,o)=>{r.has(o)||s.push(o),r.set(o,i)}),s.length)for(let i=1;i<t.length;i++){let o=t[i];s.forEach(a=>o.set(a,Be(n,a)))}}return t}function $(n,t,e){switch(t.type){case S.Trigger:return n.visitTrigger(t,e);case S.State:return n.visitState(t,e);case S.Transition:return n.visitTransition(t,e);case S.Sequence:return n.visitSequence(t,e);case S.Group:return n.visitGroup(t,e);case S.Animate:return n.visitAnimate(t,e);case S.Keyframes:return n.visitKeyframes(t,e);case S.Style:return n.visitStyle(t,e);case S.Reference:return n.visitReference(t,e);case S.AnimateChild:return n.visitAnimateChild(t,e);case S.AnimateRef:return n.visitAnimateRef(t,e);case S.Query:return n.visitQuery(t,e);case S.Stagger:return n.visitStagger(t,e);default:throw Ps(t.type)}}function Be(n,t){return window.getComputedStyle(n)[t]}var kt=(()=>{class n{validateStyleProperty(e){return Gr(e)}containsElement(e,r){return ct(e,r)}getParentElement(e){return Fe(e)}query(e,r,s){return dt(e,r,s)}computeStyle(e,r,s){return s||""}animate(e,r,s,i,o,a=[],l){return new ne(s,i)}static \u0275fac=function(r){return new(r||n)};static \u0275prov=Q({token:n,factory:n.\u0275fac})}return n})(),oe=class{static NOOP=new kt},ae=class{};var Os=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]),Ge=class extends ae{normalizePropertyName(t,e){return Ie(t)}normalizeStyleValue(t,e,r,s){let i="",o=r.toString().trim();if(Os.has(e)&&r!==0&&r!=="0")if(typeof r=="number")i="px";else{let a=r.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&a[1].length==0&&s.push(Er(t,r))}return o+i}};var We="*";function Is(n,t){let e=[];return typeof n=="string"?n.split(/\s*,\s*/).forEach(r=>Bs(r,e,t)):e.push(n),e}function Bs(n,t,e){if(n[0]==":"){let l=Ks(n,e);if(typeof l=="function"){t.push(l);return}n=l}let r=n.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(r==null||r.length<4)return e.push(Rr(n)),t;let s=r[1],i=r[2],o=r[3];t.push(Xr(s,o));let a=s==We&&o==We;i[0]=="<"&&!a&&t.push(Xr(o,s))}function Ks(n,t){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,r)=>parseFloat(r)>parseFloat(e);case":decrement":return(e,r)=>parseFloat(r)<parseFloat(e);default:return t.push(kr(n)),"* => *"}}var Ke=new Set(["true","1"]),je=new Set(["false","0"]);function Xr(n,t){let e=Ke.has(n)||je.has(n),r=Ke.has(t)||je.has(t);return(s,i)=>{let o=n==We||n==s,a=t==We||t==i;return!o&&e&&typeof s=="boolean"&&(o=s?Ke.has(n):je.has(n)),!a&&r&&typeof i=="boolean"&&(a=i?Ke.has(t):je.has(t)),o&&a}}var an=":self",js=new RegExp(`s*${an}s*,?`,"g");function ln(n,t,e,r){return new vt(n).build(t,e,r)}var Qr="",vt=class{_driver;constructor(t){this._driver=t}build(t,e,r){let s=new bt(e);return this._resetContextStyleTimingState(s),$(this,fe(t),s)}_resetContextStyleTimingState(t){t.currentQuerySelector=Qr,t.collectedStyles=new Map,t.collectedStyles.set(Qr,new Map),t.currentTime=0}visitTrigger(t,e){let r=e.queryCount=0,s=e.depCount=0,i=[],o=[];return t.name.charAt(0)=="@"&&e.errors.push(_r()),t.definitions.forEach(a=>{if(this._resetContextStyleTimingState(e),a.type==S.State){let l=a,u=l.name;u.toString().split(/\s*,\s*/).forEach(c=>{l.name=c,i.push(this.visitState(l,e))}),l.name=u}else if(a.type==S.Transition){let l=this.visitTransition(a,e);r+=l.queryCount,s+=l.depCount,o.push(l)}else e.errors.push(vr())}),{type:S.Trigger,name:t.name,states:i,transitions:o,queryCount:r,depCount:s,options:null}}visitState(t,e){let r=this.visitStyle(t.styles,e),s=t.options&&t.options.params||null;if(r.containsDynamicStyles){let i=new Set,o=s||{};r.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{gt(l).forEach(u=>{o.hasOwnProperty(u)||i.add(u)})})}),i.size&&e.errors.push(br(t.name,[...i.values()]))}return{type:S.State,name:t.name,style:r,options:s?{params:s}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;let r=$(this,fe(t.animation),e),s=Is(t.expr,e.errors);return{type:S.Transition,matchers:s,animation:r,queryCount:e.queryCount,depCount:e.depCount,options:ie(t.options)}}visitSequence(t,e){return{type:S.Sequence,steps:t.steps.map(r=>$(this,r,e)),options:ie(t.options)}}visitGroup(t,e){let r=e.currentTime,s=0,i=t.steps.map(o=>{e.currentTime=r;let a=$(this,o,e);return s=Math.max(s,e.currentTime),a});return e.currentTime=s,{type:S.Group,steps:i,options:ie(t.options)}}visitAnimate(t,e){let r=Ws(t.timings,e.errors);e.currentAnimateTimings=r;let s,i=t.styles?t.styles:st({});if(i.type==S.Keyframes)s=this.visitKeyframes(i,e);else{let o=t.styles,a=!1;if(!o){a=!0;let u={};r.easing&&(u.easing=r.easing),o=st(u)}e.currentTime+=r.duration+r.delay;let l=this.visitStyle(o,e);l.isEmptyStep=a,s=l}return e.currentAnimateTimings=null,{type:S.Animate,timings:r,style:s,options:null}}visitStyle(t,e){let r=this._makeStyleAst(t,e);return this._validateStyleAst(r,e),r}_makeStyleAst(t,e){let r=[],s=Array.isArray(t.styles)?t.styles:[t.styles];for(let a of s)typeof a=="string"?a===K?r.push(a):e.errors.push(Tr(a)):r.push(new Map(Object.entries(a)));let i=!1,o=null;return r.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(o=a.get("easing"),a.delete("easing")),!i)){for(let l of a.values())if(l.toString().indexOf(ft)>=0){i=!0;break}}}),{type:S.Style,styles:r,easing:o,offset:t.offset,containsDynamicStyles:i,options:null}}_validateStyleAst(t,e){let r=e.currentAnimateTimings,s=e.currentTime,i=e.currentTime;r&&i>0&&(i-=r.duration+r.delay),t.styles.forEach(o=>{typeof o!="string"&&o.forEach((a,l)=>{let u=e.collectedStyles.get(e.currentQuerySelector),c=u.get(l),m=!0;c&&(i!=s&&i>=c.startTime&&s<=c.endTime&&(e.errors.push(Nr(l,c.startTime,c.endTime,i,s)),m=!1),i=c.startTime),m&&u.set(l,{startTime:i,endTime:s}),e.options&&qr(a,e.options,e.errors)})})}visitKeyframes(t,e){let r={type:S.Keyframes,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(Ar()),r;let s=1,i=0,o=[],a=!1,l=!1,u=0,c=t.steps.map(N=>{let A=this._makeStyleAst(N,e),C=A.offset!=null?A.offset:Gs(A.styles),P=0;return C!=null&&(i++,P=A.offset=C),l=l||P<0||P>1,a=a||P<u,u=P,o.push(P),A});l&&e.errors.push(wr()),a&&e.errors.push(Pr());let m=t.steps.length,M=0;i>0&&i<m?e.errors.push(Dr()):i==0&&(M=s/(m-1));let y=m-1,f=e.currentTime,g=e.currentAnimateTimings,b=g.duration;return c.forEach((N,A)=>{let C=M>0?A==y?1:M*A:o[A],P=C*b;e.currentTime=f+g.delay+P,g.duration=P,this._validateStyleAst(N,e),N.offset=C,r.styles.push(N)}),r}visitReference(t,e){return{type:S.Reference,animation:$(this,fe(t.animation),e),options:ie(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:S.AnimateChild,options:ie(t.options)}}visitAnimateRef(t,e){return{type:S.AnimateRef,animation:this.visitReference(t.animation,e),options:ie(t.options)}}visitQuery(t,e){let r=e.currentQuerySelector,s=t.options||{};e.queryCount++,e.currentQuery=t;let[i,o]=Us(t.selector);e.currentQuerySelector=r.length?r+" "+i:i,k(e.collectedStyles,e.currentQuerySelector,new Map);let a=$(this,fe(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=r,{type:S.Query,selector:i,limit:s.limit||0,optional:!!s.optional,includeSelf:o,animation:a,originalSelector:t.selector,options:ie(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push(Cr());let r=t.timings==="full"?{duration:0,delay:0,easing:"full"}:Ee(t.timings,e.errors,!0);return{type:S.Stagger,animation:$(this,fe(t.animation),e),timings:r,options:null}}};function Us(n){let t=!!n.split(/\s*,\s*/).find(e=>e==an);return t&&(n=n.replace(js,"")),n=n.replace(/@\*/g,Se).replace(/@\w+/g,e=>Se+"-"+e.slice(1)).replace(/:animating/g,Oe),[n,t]}function Js(n){return n?Ae({},n):null}var bt=class{errors;queryCount=0;depCount=0;currentTransition=null;currentQuery=null;currentQuerySelector=null;currentAnimateTimings=null;currentTime=0;collectedStyles=new Map;options=null;unsupportedCSSPropertiesFound=new Set;constructor(t){this.errors=t}};function Gs(n){if(typeof n=="string")return null;let t=null;if(Array.isArray(n))n.forEach(e=>{if(e instanceof Map&&e.has("offset")){let r=e;t=parseFloat(r.get("offset")),r.delete("offset")}});else if(n instanceof Map&&n.has("offset")){let e=n;t=parseFloat(e.get("offset")),e.delete("offset")}return t}function Ws(n,t){if(n.hasOwnProperty("duration"))return n;if(typeof n=="number"){let i=Ee(n,t).duration;return yt(i,0,"")}let e=n;if(e.split(/\s+/).some(i=>i.charAt(0)=="{"&&i.charAt(1)=="{")){let i=yt(0,0,"");return i.dynamic=!0,i.strValue=e,i}let s=Ee(e,t);return yt(s.duration,s.delay,s.easing)}function ie(n){return n?(n=Ae({},n),n.params&&(n.params=Js(n.params))):n={},n}function yt(n,t,e){return{duration:n,delay:t,easing:e}}function $t(n,t,e,r,s,i,o=null,a=!1){return{type:1,element:n,keyframes:t,preStyleProps:e,postStyleProps:r,duration:s,delay:i,totalTime:s+i,easing:o,subTimeline:a}}var ve=class{_map=new Map;get(t){return this._map.get(t)||[]}append(t,e){let r=this._map.get(t);r||this._map.set(t,r=[]),r.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}},qs=1,Vs=":enter",Ys=new RegExp(Vs,"g"),Xs=":leave",Qs=new RegExp(Xs,"g");function un(n,t,e,r,s,i=new Map,o=new Map,a,l,u=[]){return new Tt().buildKeyframes(n,t,e,r,s,i,o,a,l,u)}var Tt=class{buildKeyframes(t,e,r,s,i,o,a,l,u,c=[]){u=u||new ve;let m=new Nt(t,e,u,s,i,c,[]);m.options=l;let M=l.delay?W(l.delay):0;m.currentTimeline.delayNextStep(M),m.currentTimeline.setStyles([o],null,m.errors,l),$(this,r,m);let y=m.timelines.filter(f=>f.containsAnimation());if(y.length&&a.size){let f;for(let g=y.length-1;g>=0;g--){let b=y[g];if(b.element===e){f=b;break}}f&&!f.allowOnlyTimelineStyles()&&f.setStyles([a],null,m.errors,l)}return y.length?y.map(f=>f.buildKeyframes()):[$t(e,[],[],[],0,M,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){let r=e.subInstructions.get(e.element);if(r){let s=e.createSubContext(t.options),i=e.currentTimeline.currentTime,o=this._visitSubInstructions(r,s,s.options);i!=o&&e.transformIntoNewTimeline(o)}e.previousNode=t}visitAnimateRef(t,e){let r=e.createSubContext(t.options);r.transformIntoNewTimeline(),this._applyAnimationRefDelays([t.options,t.animation.options],e,r),this.visitReference(t.animation,r),e.transformIntoNewTimeline(r.currentTimeline.currentTime),e.previousNode=t}_applyAnimationRefDelays(t,e,r){for(let s of t){let i=s?.delay;if(i){let o=typeof i=="number"?i:W(he(i,s?.params??{},e.errors));r.delayNextStep(o)}}}_visitSubInstructions(t,e,r){let i=e.currentTimeline.currentTime,o=r.duration!=null?W(r.duration):null,a=r.delay!=null?W(r.delay):null;return o!==0&&t.forEach(l=>{let u=e.appendInstructionToTimeline(l,o,a);i=Math.max(i,u.duration+u.delay)}),i}visitReference(t,e){e.updateOptions(t.options,!0),$(this,t.animation,e),e.previousNode=t}visitSequence(t,e){let r=e.subContextCount,s=e,i=t.options;if(i&&(i.params||i.delay)&&(s=e.createSubContext(i),s.transformIntoNewTimeline(),i.delay!=null)){s.previousNode.type==S.Style&&(s.currentTimeline.snapshotCurrentStyles(),s.previousNode=qe);let o=W(i.delay);s.delayNextStep(o)}t.steps.length&&(t.steps.forEach(o=>$(this,o,s)),s.currentTimeline.applyStylesToKeyframe(),s.subContextCount>r&&s.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){let r=[],s=e.currentTimeline.currentTime,i=t.options&&t.options.delay?W(t.options.delay):0;t.steps.forEach(o=>{let a=e.createSubContext(t.options);i&&a.delayNextStep(i),$(this,o,a),s=Math.max(s,a.currentTimeline.currentTime),r.push(a.currentTimeline)}),r.forEach(o=>e.currentTimeline.mergeTimelineCollectedStyles(o)),e.transformIntoNewTimeline(s),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){let r=t.strValue,s=e.params?he(r,e.params,e.errors):r;return Ee(s,e.errors)}else return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){let r=e.currentAnimateTimings=this._visitTiming(t.timings,e),s=e.currentTimeline;r.delay&&(e.incrementTime(r.delay),s.snapshotCurrentStyles());let i=t.style;i.type==S.Keyframes?this.visitKeyframes(i,e):(e.incrementTime(r.duration),this.visitStyle(i,e),s.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){let r=e.currentTimeline,s=e.currentAnimateTimings;!s&&r.hasCurrentStyleProperties()&&r.forwardFrame();let i=s&&s.easing||t.easing;t.isEmptyStep?r.applyEmptyStep(i):r.setStyles(t.styles,i,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){let r=e.currentAnimateTimings,s=e.currentTimeline.duration,i=r.duration,a=e.createSubContext().currentTimeline;a.easing=r.easing,t.styles.forEach(l=>{let u=l.offset||0;a.forwardTime(u*i),a.setStyles(l.styles,l.easing,e.errors,e.options),a.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(a),e.transformIntoNewTimeline(s+i),e.previousNode=t}visitQuery(t,e){let r=e.currentTimeline.currentTime,s=t.options||{},i=s.delay?W(s.delay):0;i&&(e.previousNode.type===S.Style||r==0&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=qe);let o=r,a=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!s.optional,e.errors);e.currentQueryTotal=a.length;let l=null;a.forEach((u,c)=>{e.currentQueryIndex=c;let m=e.createSubContext(t.options,u);i&&m.delayNextStep(i),u===e.element&&(l=m.currentTimeline),$(this,t.animation,m),m.currentTimeline.applyStylesToKeyframe();let M=m.currentTimeline.currentTime;o=Math.max(o,M)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(o),l&&(e.currentTimeline.mergeTimelineCollectedStyles(l),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){let r=e.parentContext,s=e.currentTimeline,i=t.timings,o=Math.abs(i.duration),a=o*(e.currentQueryTotal-1),l=o*e.currentQueryIndex;switch(i.duration<0?"reverse":i.easing){case"reverse":l=a-l;break;case"full":l=r.currentStaggerTime;break}let c=e.currentTimeline;l&&c.delayNextStep(l);let m=c.currentTime;$(this,t.animation,e),e.previousNode=t,r.currentStaggerTime=s.currentTime-m+(s.startTime-r.currentTimeline.startTime)}},qe={},Nt=class n{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=qe;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(t,e,r,s,i,o,a,l){this._driver=t,this.element=e,this.subInstructions=r,this._enterClassName=s,this._leaveClassName=i,this.errors=o,this.timelines=a,this.currentTimeline=l||new Ve(this._driver,e,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;let r=t,s=this.options;r.duration!=null&&(s.duration=W(r.duration)),r.delay!=null&&(s.delay=W(r.delay));let i=r.params;if(i){let o=s.params;o||(o=this.options.params={}),Object.keys(i).forEach(a=>{(!e||!o.hasOwnProperty(a))&&(o[a]=he(i[a],o,this.errors))})}}_copyOptions(){let t={};if(this.options){let e=this.options.params;if(e){let r=t.params={};Object.keys(e).forEach(s=>{r[s]=e[s]})}}return t}createSubContext(t=null,e,r){let s=e||this.element,i=new n(this._driver,s,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(s,r||0));return i.previousNode=this.previousNode,i.currentAnimateTimings=this.currentAnimateTimings,i.options=this._copyOptions(),i.updateOptions(t),i.currentQueryIndex=this.currentQueryIndex,i.currentQueryTotal=this.currentQueryTotal,i.parentContext=this,this.subContextCount++,i}transformIntoNewTimeline(t){return this.previousNode=qe,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,r){let s={duration:e??t.duration,delay:this.currentTimeline.currentTime+(r??0)+t.delay,easing:""},i=new At(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,s,t.stretchStartingKeyframe);return this.timelines.push(i),s}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,r,s,i,o){let a=[];if(s&&a.push(this.element),t.length>0){t=t.replace(Ys,"."+this._enterClassName),t=t.replace(Qs,"."+this._leaveClassName);let l=r!=1,u=this._driver.query(this.element,t,l);r!==0&&(u=r<0?u.slice(u.length+r,u.length):u.slice(0,r)),a.push(...u)}return!i&&a.length==0&&o.push(zr(e)),a}},Ve=class n{_driver;element;startTime;_elementTimelineStylesLookup;duration=0;easing=null;_previousKeyframe=new Map;_currentKeyframe=new Map;_keyframes=new Map;_styleSummary=new Map;_localTimelineStyles=new Map;_globalTimelineStyles;_pendingStyles=new Map;_backFill=new Map;_currentEmptyStepKeyframe=null;constructor(t,e,r,s){this._driver=t,this.element=e,this.startTime=r,this._elementTimelineStylesLookup=s,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(t){let e=this._keyframes.size===1&&this._pendingStyles.size;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new n(this._driver,t,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=qs,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,e){this._localTimelineStyles.set(t,e),this._globalTimelineStyles.set(t,e),this._styleSummary.set(t,{time:this.currentTime,value:e})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&this._previousKeyframe.set("easing",t);for(let[e,r]of this._globalTimelineStyles)this._backFill.set(e,r||K),this._currentKeyframe.set(e,K);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,r,s){e&&this._previousKeyframe.set("easing",e);let i=s&&s.params||{},o=xs(t,this._globalTimelineStyles);for(let[a,l]of o){let u=he(l,i,r);this._pendingStyles.set(a,u),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??K),this._updateStyle(a,u)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((t,e)=>{this._currentKeyframe.set(e,t)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((t,e)=>{this._currentKeyframe.has(e)||this._currentKeyframe.set(e,t)}))}snapshotCurrentStyles(){for(let[t,e]of this._localTimelineStyles)this._pendingStyles.set(t,e),this._updateStyle(t,e)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let t=[];for(let e in this._currentKeyframe)t.push(e);return t}mergeTimelineCollectedStyles(t){t._styleSummary.forEach((e,r)=>{let s=this._styleSummary.get(r);(!s||e.time>s.time)&&this._updateStyle(r,e.value)})}buildKeyframes(){this.applyStylesToKeyframe();let t=new Set,e=new Set,r=this._keyframes.size===1&&this.duration===0,s=[];this._keyframes.forEach((a,l)=>{let u=new Map([...this._backFill,...a]);u.forEach((c,m)=>{c===ye?t.add(m):c===K&&e.add(m)}),r||u.set("offset",l/this.duration),s.push(u)});let i=[...t.values()],o=[...e.values()];if(r){let a=s[0],l=new Map(a);a.set("offset",0),l.set("offset",1),s=[a,l]}return $t(this.element,s,i,o,this.duration,this.startTime,this.easing,!1)}},At=class extends Ve{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(t,e,r,s,i,o,a=!1){super(t,e,o.delay),this.keyframes=r,this.preStyleProps=s,this.postStyleProps=i,this._stretchStartingKeyframe=a,this.timings={duration:o.duration,delay:o.delay,easing:o.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:r,easing:s}=this.timings;if(this._stretchStartingKeyframe&&e){let i=[],o=r+e,a=e/o,l=new Map(t[0]);l.set("offset",0),i.push(l);let u=new Map(t[0]);u.set("offset",xr(a)),i.push(u);let c=t.length-1;for(let m=1;m<=c;m++){let M=new Map(t[m]),y=M.get("offset"),f=e+y*r;M.set("offset",xr(f/o)),i.push(M)}r=o,e=0,s="",t=i}return $t(this.element,t,this.preStyleProps,this.postStyleProps,r,e,s,!0)}};function xr(n,t=3){let e=Math.pow(10,t-1);return Math.round(n*e)/e}function xs(n,t){let e=new Map,r;return n.forEach(s=>{if(s==="*"){r??=t.keys();for(let i of r)e.set(i,K)}else for(let[i,o]of s)e.set(i,o)}),e}function Zr(n,t,e,r,s,i,o,a,l,u,c,m,M){return{type:0,element:n,triggerName:t,isRemovalTransition:s,fromState:e,fromStyles:i,toState:r,toStyles:o,timelines:a,queriedElements:l,preStyleProps:u,postStyleProps:c,totalTime:m,errors:M}}var Mt={},Ye=class{_triggerName;ast;_stateStyles;constructor(t,e,r){this._triggerName=t,this.ast=e,this._stateStyles=r}match(t,e,r,s){return Zs(this.ast.matchers,t,e,r,s)}buildStyles(t,e,r){let s=this._stateStyles.get("*");return t!==void 0&&(s=this._stateStyles.get(t?.toString())||s),s?s.buildStyles(e,r):new Map}build(t,e,r,s,i,o,a,l,u,c){let m=[],M=this.ast.options&&this.ast.options.params||Mt,y=a&&a.params||Mt,f=this.buildStyles(r,y,m),g=l&&l.params||Mt,b=this.buildStyles(s,g,m),N=new Set,A=new Map,C=new Map,P=s==="void",le={params:mn(g,M),delay:this.ast.options?.delay},J=c?[]:un(t,e,this.ast.animation,i,o,f,b,le,u,m),z=0;return J.forEach(R=>{z=Math.max(R.duration+R.delay,z)}),m.length?Zr(e,this._triggerName,r,s,P,f,b,[],[],A,C,z,m):(J.forEach(R=>{let ee=R.element,ue=k(A,ee,new Set);R.preStyleProps.forEach(te=>ue.add(te));let Ft=k(C,ee,new Set);R.postStyleProps.forEach(te=>Ft.add(te)),ee!==e&&N.add(ee)}),Zr(e,this._triggerName,r,s,P,f,b,J,[...N.values()],A,C,z))}};function Zs(n,t,e,r,s){return n.some(i=>i(t,e,r,s))}function mn(n,t){let e=Ae({},t);return Object.entries(n).forEach(([r,s])=>{s!=null&&(e[r]=s)}),e}var wt=class{styles;defaultParams;normalizer;constructor(t,e,r){this.styles=t,this.defaultParams=e,this.normalizer=r}buildStyles(t,e){let r=new Map,s=mn(t,this.defaultParams);return this.styles.styles.forEach(i=>{typeof i!="string"&&i.forEach((o,a)=>{o&&(o=he(o,s,e));let l=this.normalizer.normalizePropertyName(a,e);o=this.normalizer.normalizeStyleValue(a,l,o,e),r.set(a,o)})}),r}};function ei(n,t,e){return new Pt(n,t,e)}var Pt=class{name;ast;_normalizer;transitionFactories=[];fallbackTransition;states=new Map;constructor(t,e,r){this.name=t,this.ast=e,this._normalizer=r,e.states.forEach(s=>{let i=s.options&&s.options.params||{};this.states.set(s.name,new wt(s.style,i,r))}),en(this.states,"true","1"),en(this.states,"false","0"),e.transitions.forEach(s=>{this.transitionFactories.push(new Ye(t,s,this.states))}),this.fallbackTransition=ti(t,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,r,s){return this.transitionFactories.find(o=>o.match(t,e,r,s))||null}matchStyles(t,e,r){return this.fallbackTransition.buildStyles(t,e,r)}};function ti(n,t,e){let r=[(o,a)=>!0],s={type:S.Sequence,steps:[],options:null},i={type:S.Transition,animation:s,matchers:r,options:null,queryCount:0,depCount:0};return new Ye(n,i,t)}function en(n,t,e){n.has(t)?n.has(e)||n.set(e,n.get(t)):n.has(e)&&n.set(t,n.get(e))}var ri=new ve,Dt=class{bodyNode;_driver;_normalizer;_animations=new Map;_playersById=new Map;players=[];constructor(t,e,r){this.bodyNode=t,this._driver=e,this._normalizer=r}register(t,e){let r=[],s=[],i=ln(this._driver,e,r,s);if(r.length)throw Hr(r);this._animations.set(t,i)}_buildPlayer(t,e,r){let s=t.element,i=ut(this._normalizer,t.keyframes,e,r);return this._driver.animate(s,i,t.duration,t.delay,t.easing,[],!0)}create(t,e,r={}){let s=[],i=this._animations.get(t),o,a=new Map;if(i?(o=un(this._driver,e,i,ht,Le,new Map,new Map,r,ri,s),o.forEach(c=>{let m=k(a,c.element,new Map);c.postStyleProps.forEach(M=>m.set(M,null))})):(s.push(Fr()),o=[]),s.length)throw Lr(s);a.forEach((c,m)=>{c.forEach((M,y)=>{c.set(y,this._driver.computeStyle(m,y,K))})});let l=o.map(c=>{let m=a.get(c.element);return this._buildPlayer(c,new Map,m)}),u=V(l);return this._playersById.set(t,u),u.onDestroy(()=>this.destroy(t)),this.players.push(u),u}destroy(t){let e=this._getPlayer(t);e.destroy(),this._playersById.delete(t);let r=this.players.indexOf(e);r>=0&&this.players.splice(r,1)}_getPlayer(t){let e=this._playersById.get(t);if(!e)throw Or(t);return e}listen(t,e,r,s){let i=He(e,"","","");return $e(this._getPlayer(t),r,i,s),()=>{}}command(t,e,r,s){if(r=="register"){this.register(t,s[0]);return}if(r=="create"){let o=s[0]||{};this.create(t,e,o);return}let i=this._getPlayer(t);switch(r){case"play":i.play();break;case"pause":i.pause();break;case"reset":i.reset();break;case"restart":i.restart();break;case"finish":i.finish();break;case"init":i.init();break;case"setPosition":i.setPosition(parseFloat(s[0]));break;case"destroy":this.destroy(t);break}}},tn="ng-animate-queued",ni=".ng-animate-queued",St="ng-animate-disabled",si=".ng-animate-disabled",ii="ng-star-inserted",oi=".ng-star-inserted",ai=[],cn={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},li={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},U="__ng_removed",be=class{namespaceId;value;options;get params(){return this.options.params}constructor(t,e=""){this.namespaceId=e;let r=t&&t.hasOwnProperty("value"),s=r?t.value:t;if(this.value=mi(s),r){let i=t,{value:o}=i,a=Kt(i,["value"]);this.options=a}else this.options={};this.options.params||(this.options.params={})}absorbOptions(t){let e=t.params;if(e){let r=this.options.params;Object.keys(e).forEach(s=>{r[s]==null&&(r[s]=e[s])})}}},_e="void",Et=new be(_e),Ct=class{id;hostElement;_engine;players=[];_triggers=new Map;_queue=[];_elementListeners=new Map;_hostClassName;constructor(t,e,r){this.id=t,this.hostElement=e,this._engine=r,this._hostClassName="ng-tns-"+t,O(e,this._hostClassName)}listen(t,e,r,s){if(!this._triggers.has(e))throw Ir(r,e);if(r==null||r.length==0)throw Br(e);if(!ci(r))throw Kr(r,e);let i=k(this._elementListeners,t,[]),o={name:e,phase:r,callback:s};i.push(o);let a=k(this._engine.statesByElement,t,new Map);return a.has(e)||(O(t,Me),O(t,Me+"-"+e),a.set(e,Et)),()=>{this._engine.afterFlush(()=>{let l=i.indexOf(o);l>=0&&i.splice(l,1),this._triggers.has(e)||a.delete(e)})}}register(t,e){return this._triggers.has(t)?!1:(this._triggers.set(t,e),!0)}_getTrigger(t){let e=this._triggers.get(t);if(!e)throw jr(t);return e}trigger(t,e,r,s=!0){let i=this._getTrigger(e),o=new Te(this.id,e,t),a=this._engine.statesByElement.get(t);a||(O(t,Me),O(t,Me+"-"+e),this._engine.statesByElement.set(t,a=new Map));let l=a.get(e),u=new be(r,this.id);if(!(r&&r.hasOwnProperty("value"))&&l&&u.absorbOptions(l.options),a.set(e,u),l||(l=Et),!(u.value===_e)&&l.value===u.value){if(!hi(l.params,u.params)){let g=[],b=i.matchStyles(l.value,l.params,g),N=i.matchStyles(u.value,u.params,g);g.length?this._engine.reportError(g):this._engine.afterFlush(()=>{x(t,b),j(t,N)})}return}let M=k(this._engine.playersByElement,t,[]);M.forEach(g=>{g.namespaceId==this.id&&g.triggerName==e&&g.queued&&g.destroy()});let y=i.matchTransition(l.value,u.value,t,u.params),f=!1;if(!y){if(!s)return;y=i.fallbackTransition,f=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:y,fromState:l,toState:u,player:o,isFallbackTransition:f}),f||(O(t,tn),o.onStart(()=>{pe(t,tn)})),o.onDone(()=>{let g=this.players.indexOf(o);g>=0&&this.players.splice(g,1);let b=this._engine.playersByElement.get(t);if(b){let N=b.indexOf(o);N>=0&&b.splice(N,1)}}),this.players.push(o),M.push(o),o}deregister(t){this._triggers.delete(t),this._engine.statesByElement.forEach(e=>e.delete(t)),this._elementListeners.forEach((e,r)=>{this._elementListeners.set(r,e.filter(s=>s.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);let e=this._engine.playersByElement.get(t);e&&(e.forEach(r=>r.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e){let r=this._engine.driver.query(t,Se,!0);r.forEach(s=>{if(s[U])return;let i=this._engine.fetchNamespacesByElement(s);i.size?i.forEach(o=>o.triggerLeaveAnimation(s,e,!1,!0)):this.clearElementCache(s)}),this._engine.afterFlushAnimationsDone(()=>r.forEach(s=>this.clearElementCache(s)))}triggerLeaveAnimation(t,e,r,s){let i=this._engine.statesByElement.get(t),o=new Map;if(i){let a=[];if(i.forEach((l,u)=>{if(o.set(u,l.value),this._triggers.has(u)){let c=this.trigger(t,u,_e,s);c&&a.push(c)}}),a.length)return this._engine.markElementAsRemoved(this.id,t,!0,e,o),r&&V(a).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){let e=this._elementListeners.get(t),r=this._engine.statesByElement.get(t);if(e&&r){let s=new Set;e.forEach(i=>{let o=i.name;if(s.has(o))return;s.add(o);let l=this._triggers.get(o).fallbackTransition,u=r.get(o)||Et,c=new be(_e),m=new Te(this.id,o,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:o,transition:l,fromState:u,toState:c,player:m,isFallbackTransition:!0})})}}removeNode(t,e){let r=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let s=!1;if(r.totalAnimations){let i=r.players.length?r.playersByQueriedElement.get(t):[];if(i&&i.length)s=!0;else{let o=t;for(;o=o.parentNode;)if(r.statesByElement.get(o)){s=!0;break}}}if(this.prepareLeaveAnimationListeners(t),s)r.markElementAsRemoved(this.id,t,!1,e);else{let i=t[U];(!i||i===cn)&&(r.afterFlush(()=>this.clearElementCache(t)),r.destroyInnerAnimations(t),r._onRemovalComplete(t,e))}}insertNode(t,e){O(t,this._hostClassName)}drainQueuedTransitions(t){let e=[];return this._queue.forEach(r=>{let s=r.player;if(s.destroyed)return;let i=r.element,o=this._elementListeners.get(i);o&&o.forEach(a=>{if(a.name==r.triggerName){let l=He(i,r.triggerName,r.fromState.value,r.toState.value);l._data=t,$e(r.player,a.phase,l,a.callback)}}),s.markedForDestroy?this._engine.afterFlush(()=>{s.destroy()}):e.push(r)}),this._queue=[],e.sort((r,s)=>{let i=r.transition.ast.depCount,o=s.transition.ast.depCount;return i==0||o==0?i-o:this._engine.driver.containsElement(r.element,s.element)?1:-1})}destroy(t){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}},zt=class{bodyNode;driver;_normalizer;players=[];newHostElements=new Map;playersByElement=new Map;playersByQueriedElement=new Map;statesByElement=new Map;disabledNodes=new Set;totalAnimations=0;totalQueuedPlayers=0;_namespaceLookup={};_namespaceList=[];_flushFns=[];_whenQuietFns=[];namespacesByHostElement=new Map;collectedEnterElements=[];collectedLeaveElements=[];onRemovalComplete=(t,e)=>{};_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}constructor(t,e,r){this.bodyNode=t,this.driver=e,this._normalizer=r}get queuedPlayers(){let t=[];return this._namespaceList.forEach(e=>{e.players.forEach(r=>{r.queued&&t.push(r)})}),t}createNamespace(t,e){let r=new Ct(t,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(r,e):(this.newHostElements.set(e,r),this.collectEnterElement(e)),this._namespaceLookup[t]=r}_balanceNamespaceList(t,e){let r=this._namespaceList,s=this.namespacesByHostElement;if(r.length-1>=0){let o=!1,a=this.driver.getParentElement(e);for(;a;){let l=s.get(a);if(l){let u=r.indexOf(l);r.splice(u+1,0,t),o=!0;break}a=this.driver.getParentElement(a)}o||r.unshift(t)}else r.push(t);return s.set(e,t),t}register(t,e){let r=this._namespaceLookup[t];return r||(r=this.createNamespace(t,e)),r}registerTrigger(t,e,r){let s=this._namespaceLookup[t];s&&s.register(e,r)&&this.totalAnimations++}destroy(t,e){t&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let r=this._fetchNamespace(t);this.namespacesByHostElement.delete(r.hostElement);let s=this._namespaceList.indexOf(r);s>=0&&this._namespaceList.splice(s,1),r.destroy(e),delete this._namespaceLookup[t]}))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){let e=new Set,r=this.statesByElement.get(t);if(r){for(let s of r.values())if(s.namespaceId){let i=this._fetchNamespace(s.namespaceId);i&&e.add(i)}}return e}trigger(t,e,r,s){if(Ue(e)){let i=this._fetchNamespace(t);if(i)return i.trigger(e,r,s),!0}return!1}insertNode(t,e,r,s){if(!Ue(e))return;let i=e[U];if(i&&i.setForRemoval){i.setForRemoval=!1,i.setForMove=!0;let o=this.collectedLeaveElements.indexOf(e);o>=0&&this.collectedLeaveElements.splice(o,1)}if(t){let o=this._fetchNamespace(t);o&&o.insertNode(e,r)}s&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),O(t,St)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),pe(t,St))}removeNode(t,e,r){if(Ue(e)){let s=t?this._fetchNamespace(t):null;s?s.removeNode(e,r):this.markElementAsRemoved(t,e,!1,r);let i=this.namespacesByHostElement.get(e);i&&i.id!==t&&i.removeNode(e,r)}else this._onRemovalComplete(e,r)}markElementAsRemoved(t,e,r,s,i){this.collectedLeaveElements.push(e),e[U]={namespaceId:t,setForRemoval:s,hasAnimation:r,removedBeforeQueried:!1,previousTriggersValues:i}}listen(t,e,r,s,i){return Ue(e)?this._fetchNamespace(t).listen(e,r,s,i):()=>{}}_buildInstruction(t,e,r,s,i){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,r,s,t.fromState.options,t.toState.options,e,i)}destroyInnerAnimations(t){let e=this.driver.query(t,Se,!0);e.forEach(r=>this.destroyActiveAnimationsForElement(r)),this.playersByQueriedElement.size!=0&&(e=this.driver.query(t,Oe,!0),e.forEach(r=>this.finishActiveQueriedAnimationOnElement(r)))}destroyActiveAnimationsForElement(t){let e=this.playersByElement.get(t);e&&e.forEach(r=>{r.queued?r.markedForDestroy=!0:r.destroy()})}finishActiveQueriedAnimationOnElement(t){let e=this.playersByQueriedElement.get(t);e&&e.forEach(r=>r.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return V(this.players).onDone(()=>t());t()})}processLeaveNode(t){let e=t[U];if(e&&e.setForRemoval){if(t[U]=cn,e.namespaceId){this.destroyInnerAnimations(t);let r=this._fetchNamespace(e.namespaceId);r&&r.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}t.classList?.contains(St)&&this.markElementAsDisabled(t,!1),this.driver.query(t,si,!0).forEach(r=>{this.markElementAsDisabled(r,!1)})}flush(t=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((r,s)=>this._balanceNamespaceList(r,s)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let r=0;r<this.collectedEnterElements.length;r++){let s=this.collectedEnterElements[r];O(s,ii)}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){let r=[];try{e=this._flushAnimations(r,t)}finally{for(let s=0;s<r.length;s++)r[s]()}}else for(let r=0;r<this.collectedLeaveElements.length;r++){let s=this.collectedLeaveElements[r];this.processLeaveNode(s)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(r=>r()),this._flushFns=[],this._whenQuietFns.length){let r=this._whenQuietFns;this._whenQuietFns=[],e.length?V(e).onDone(()=>{r.forEach(s=>s())}):r.forEach(s=>s())}}reportError(t){throw Ur(t)}_flushAnimations(t,e){let r=new ve,s=[],i=new Map,o=[],a=new Map,l=new Map,u=new Map,c=new Set;this.disabledNodes.forEach(d=>{c.add(d);let h=this.driver.query(d,ni,!0);for(let p=0;p<h.length;p++)c.add(h[p])});let m=this.bodyNode,M=Array.from(this.statesByElement.keys()),y=sn(M,this.collectedEnterElements),f=new Map,g=0;y.forEach((d,h)=>{let p=ht+g++;f.set(h,p),d.forEach(E=>O(E,p))});let b=[],N=new Set,A=new Set;for(let d=0;d<this.collectedLeaveElements.length;d++){let h=this.collectedLeaveElements[d],p=h[U];p&&p.setForRemoval&&(b.push(h),N.add(h),p.hasAnimation?this.driver.query(h,oi,!0).forEach(E=>N.add(E)):A.add(h))}let C=new Map,P=sn(M,Array.from(N));P.forEach((d,h)=>{let p=Le+g++;C.set(h,p),d.forEach(E=>O(E,p))}),t.push(()=>{y.forEach((d,h)=>{let p=f.get(h);d.forEach(E=>pe(E,p))}),P.forEach((d,h)=>{let p=C.get(h);d.forEach(E=>pe(E,p))}),b.forEach(d=>{this.processLeaveNode(d)})});let le=[],J=[];for(let d=this._namespaceList.length-1;d>=0;d--)this._namespaceList[d].drainQueuedTransitions(e).forEach(p=>{let E=p.player,w=p.element;if(le.push(E),this.collectedEnterElements.length){let D=w[U];if(D&&D.setForMove){if(D.previousTriggersValues&&D.previousTriggersValues.has(p.triggerName)){let re=D.previousTriggersValues.get(p.triggerName),F=this.statesByElement.get(p.element);if(F&&F.has(p.triggerName)){let Ne=F.get(p.triggerName);Ne.value=re,F.set(p.triggerName,Ne)}}E.destroy();return}}let G=!m||!this.driver.containsElement(m,w),H=C.get(w),X=f.get(w),T=this._buildInstruction(p,r,X,H,G);if(T.errors&&T.errors.length){J.push(T);return}if(G){E.onStart(()=>x(w,T.fromStyles)),E.onDestroy(()=>j(w,T.toStyles)),s.push(E);return}if(p.isFallbackTransition){E.onStart(()=>x(w,T.fromStyles)),E.onDestroy(()=>j(w,T.toStyles)),s.push(E);return}let It=[];T.timelines.forEach(D=>{D.stretchStartingKeyframe=!0,this.disabledNodes.has(D.element)||It.push(D)}),T.timelines=It,r.append(w,T.timelines);let Yn={instruction:T,player:E,element:w};o.push(Yn),T.queriedElements.forEach(D=>k(a,D,[]).push(E)),T.preStyleProps.forEach((D,re)=>{if(D.size){let F=l.get(re);F||l.set(re,F=new Set),D.forEach((Ne,rt)=>F.add(rt))}}),T.postStyleProps.forEach((D,re)=>{let F=u.get(re);F||u.set(re,F=new Set),D.forEach((Ne,rt)=>F.add(rt))})});if(J.length){let d=[];J.forEach(h=>{d.push(Jr(h.triggerName,h.errors))}),le.forEach(h=>h.destroy()),this.reportError(d)}let z=new Map,R=new Map;o.forEach(d=>{let h=d.element;r.has(h)&&(R.set(h,h),this._beforeAnimationBuild(d.player.namespaceId,d.instruction,z))}),s.forEach(d=>{let h=d.element;this._getPreviousPlayers(h,!1,d.namespaceId,d.triggerName,null).forEach(E=>{k(z,h,[]).push(E),E.destroy()})});let ee=b.filter(d=>on(d,l,u)),ue=new Map;nn(ue,this.driver,A,u,K).forEach(d=>{on(d,l,u)&&ee.push(d)});let te=new Map;y.forEach((d,h)=>{nn(te,this.driver,new Set(d),l,ye)}),ee.forEach(d=>{let h=ue.get(d),p=te.get(d);ue.set(d,new Map([...h?.entries()??[],...p?.entries()??[]]))});let tt=[],Lt=[],Ot={};o.forEach(d=>{let{element:h,player:p,instruction:E}=d;if(r.has(h)){if(c.has(h)){p.onDestroy(()=>j(h,E.toStyles)),p.disabled=!0,p.overrideTotalTime(E.totalTime),s.push(p);return}let w=Ot;if(R.size>1){let H=h,X=[];for(;H=H.parentNode;){let T=R.get(H);if(T){w=T;break}X.push(H)}X.forEach(T=>R.set(T,w))}let G=this._buildAnimation(p.namespaceId,E,z,i,te,ue);if(p.setRealPlayer(G),w===Ot)tt.push(p);else{let H=this.playersByElement.get(w);H&&H.length&&(p.parentPlayer=V(H)),s.push(p)}}else x(h,E.fromStyles),p.onDestroy(()=>j(h,E.toStyles)),Lt.push(p),c.has(h)&&s.push(p)}),Lt.forEach(d=>{let h=i.get(d.element);if(h&&h.length){let p=V(h);d.setRealPlayer(p)}}),s.forEach(d=>{d.parentPlayer?d.syncPlayerEvents(d.parentPlayer):d.destroy()});for(let d=0;d<b.length;d++){let h=b[d],p=h[U];if(pe(h,Le),p&&p.hasAnimation)continue;let E=[];if(a.size){let G=a.get(h);G&&G.length&&E.push(...G);let H=this.driver.query(h,Oe,!0);for(let X=0;X<H.length;X++){let T=a.get(H[X]);T&&T.length&&E.push(...T)}}let w=E.filter(G=>!G.destroyed);w.length?di(this,h,w):this.processLeaveNode(h)}return b.length=0,tt.forEach(d=>{this.players.push(d),d.onDone(()=>{d.destroy();let h=this.players.indexOf(d);this.players.splice(h,1)}),d.play()}),tt}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,r,s,i){let o=[];if(e){let a=this.playersByQueriedElement.get(t);a&&(o=a)}else{let a=this.playersByElement.get(t);if(a){let l=!i||i==_e;a.forEach(u=>{u.queued||!l&&u.triggerName!=s||o.push(u)})}}return(r||s)&&(o=o.filter(a=>!(r&&r!=a.namespaceId||s&&s!=a.triggerName))),o}_beforeAnimationBuild(t,e,r){let s=e.triggerName,i=e.element,o=e.isRemovalTransition?void 0:t,a=e.isRemovalTransition?void 0:s;for(let l of e.timelines){let u=l.element,c=u!==i,m=k(r,u,[]);this._getPreviousPlayers(u,c,o,a,e.toState).forEach(y=>{let f=y.getRealPlayer();f.beforeDestroy&&f.beforeDestroy(),y.destroy(),m.push(y)})}x(i,e.fromStyles)}_buildAnimation(t,e,r,s,i,o){let a=e.triggerName,l=e.element,u=[],c=new Set,m=new Set,M=e.timelines.map(f=>{let g=f.element;c.add(g);let b=g[U];if(b&&b.removedBeforeQueried)return new ne(f.duration,f.delay);let N=g!==l,A=fi((r.get(g)||ai).map(z=>z.getRealPlayer())).filter(z=>{let R=z;return R.element?R.element===g:!1}),C=i.get(g),P=o.get(g),le=ut(this._normalizer,f.keyframes,C,P),J=this._buildPlayer(f,le,A);if(f.subTimeline&&s&&m.add(g),N){let z=new Te(t,a,g);z.setRealPlayer(J),u.push(z)}return J});u.forEach(f=>{k(this.playersByQueriedElement,f.element,[]).push(f),f.onDone(()=>ui(this.playersByQueriedElement,f.element,f))}),c.forEach(f=>O(f,pt));let y=V(M);return y.onDestroy(()=>{c.forEach(f=>pe(f,pt)),j(l,e.toStyles)}),m.forEach(f=>{k(s,f,[]).push(y)}),y}_buildPlayer(t,e,r){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,r):new ne(t.duration,t.delay)}},Te=class{namespaceId;triggerName;element;_player=new ne;_containsRealPlayer=!1;_queuedCallbacks=new Map;destroyed=!1;parentPlayer=null;markedForDestroy=!1;disabled=!1;queued=!0;totalTime=0;constructor(t,e,r){this.namespaceId=t,this.triggerName=e,this.element=r}setRealPlayer(t){this._containsRealPlayer||(this._player=t,this._queuedCallbacks.forEach((e,r)=>{e.forEach(s=>$e(t,r,void 0,s))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(t){this.totalTime=t}syncPlayerEvents(t){let e=this._player;e.triggerCallback&&t.onStart(()=>e.triggerCallback("start")),t.onDone(()=>this.finish()),t.onDestroy(()=>this.destroy())}_queueEvent(t,e){k(this._queuedCallbacks,t,[]).push(e)}onDone(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}init(){this._player.init()}hasStarted(){return this.queued?!1:this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){let e=this._player;e.triggerCallback&&e.triggerCallback(t)}};function ui(n,t,e){let r=n.get(t);if(r){if(r.length){let s=r.indexOf(e);r.splice(s,1)}r.length==0&&n.delete(t)}return r}function mi(n){return n??null}function Ue(n){return n&&n.nodeType===1}function ci(n){return n=="start"||n=="done"}function rn(n,t){let e=n.style.display;return n.style.display=t??"none",e}function nn(n,t,e,r,s){let i=[];e.forEach(l=>i.push(rn(l)));let o=[];r.forEach((l,u)=>{let c=new Map;l.forEach(m=>{let M=t.computeStyle(u,m,s);c.set(m,M),(!M||M.length==0)&&(u[U]=li,o.push(u))}),n.set(u,c)});let a=0;return e.forEach(l=>rn(l,i[a++])),o}function sn(n,t){let e=new Map;if(n.forEach(a=>e.set(a,[])),t.length==0)return e;let r=1,s=new Set(t),i=new Map;function o(a){if(!a)return r;let l=i.get(a);if(l)return l;let u=a.parentNode;return e.has(u)?l=u:s.has(u)?l=r:l=o(u),i.set(a,l),l}return t.forEach(a=>{let l=o(a);l!==r&&e.get(l).push(a)}),e}function O(n,t){n.classList?.add(t)}function pe(n,t){n.classList?.remove(t)}function di(n,t,e){V(e).onDone(()=>n.processLeaveNode(t))}function fi(n){let t=[];return dn(n,t),t}function dn(n,t){for(let e=0;e<n.length;e++){let r=n[e];r instanceof Ce?dn(r.players,t):t.push(r)}}function hi(n,t){let e=Object.keys(n),r=Object.keys(t);if(e.length!=r.length)return!1;for(let s=0;s<e.length;s++){let i=e[s];if(!t.hasOwnProperty(i)||n[i]!==t[i])return!1}return!0}function on(n,t,e){let r=e.get(n);if(!r)return!1;let s=t.get(n);return s?r.forEach(i=>s.add(i)):t.set(n,r),e.delete(n),!0}var ge=class{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(t,e)=>{};constructor(t,e,r){this._driver=e,this._normalizer=r,this._transitionEngine=new zt(t.body,e,r),this._timelineEngine=new Dt(t.body,e,r),this._transitionEngine.onRemovalComplete=(s,i)=>this.onRemovalComplete(s,i)}registerTrigger(t,e,r,s,i){let o=t+"-"+s,a=this._triggerCache[o];if(!a){let l=[],u=[],c=ln(this._driver,i,l,u);if(l.length)throw $r(s,l);a=ei(s,c,this._normalizer),this._triggerCache[o]=a}this._transitionEngine.registerTrigger(e,s,a)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,r,s){this._transitionEngine.insertNode(t,e,r,s)}onRemove(t,e,r){this._transitionEngine.removeNode(t,e,r)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,r,s){if(r.charAt(0)=="@"){let[i,o]=mt(r),a=s;this._timelineEngine.command(i,e,o,a)}else this._transitionEngine.trigger(t,e,r,s)}listen(t,e,r,s,i){if(r.charAt(0)=="@"){let[o,a]=mt(r);return this._timelineEngine.listen(o,e,a,i)}return this._transitionEngine.listen(t,e,r,s,i)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(t){this._transitionEngine.afterFlushAnimationsDone(t)}};function pi(n,t){let e=null,r=null;return Array.isArray(t)&&t.length?(e=_t(t[0]),t.length>1&&(r=_t(t[t.length-1]))):t instanceof Map&&(e=_t(t)),e||r?new gi(n,e,r):null}var gi=(()=>{class n{_element;_startStyles;_endStyles;static initialStylesByElement=new WeakMap;_state=0;_initialStyles;constructor(e,r,s){this._element=e,this._startStyles=r,this._endStyles=s;let i=n.initialStylesByElement.get(e);i||n.initialStylesByElement.set(e,i=new Map),this._initialStyles=i}start(){this._state<1&&(this._startStyles&&j(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(j(this._element,this._initialStyles),this._endStyles&&(j(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(n.initialStylesByElement.delete(this._element),this._startStyles&&(x(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(x(this._element,this._endStyles),this._endStyles=null),j(this._element,this._initialStyles),this._state=3)}}return n})();function _t(n){let t=null;return n.forEach((e,r)=>{yi(r)&&(t=t||new Map,t.set(r,e))}),t}function yi(n){return n==="display"||n==="position"}var Xe=class{element;keyframes;options;_specialStyles;_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_duration;_delay;_initialized=!1;_finished=!1;_started=!1;_destroyed=!1;_finalKeyframe;_originalOnDoneFns=[];_originalOnStartFns=[];domPlayer=null;time=0;parentPlayer=null;currentSnapshot=new Map;constructor(t,e,r,s){this.element=t,this.keyframes=e,this.options=r,this._specialStyles=s,this._duration=r.duration,this._delay=r.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this._buildPlayer()&&this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return this.domPlayer;this._initialized=!0;let t=this.keyframes,e=this._triggerWebAnimation(this.element,t,this.options);if(!e)return this._onFinish(),null;this.domPlayer=e,this._finalKeyframe=t.length?t[t.length-1]:new Map;let r=()=>this._onFinish();return e.addEventListener("finish",r),this.onDestroy(()=>{e.removeEventListener("finish",r)}),e}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer?.pause()}_convertKeyframesToObject(t){let e=[];return t.forEach(r=>{e.push(Object.fromEntries(r))}),e}_triggerWebAnimation(t,e,r){let s=this._convertKeyframesToObject(e);try{return t.animate(s,r)}catch{return null}}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}play(){let t=this._buildPlayer();t&&(this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),t.play())}pause(){this.init(),this.domPlayer?.pause()}finish(){this.init(),this.domPlayer&&(this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish())}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer?.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}setPosition(t){this.domPlayer||this.init(),this.domPlayer&&(this.domPlayer.currentTime=t*this.time)}getPosition(){return this.domPlayer?+(this.domPlayer.currentTime??0)/this.time:this._initialized?1:0}get totalTime(){return this._delay+this._duration}beforeDestroy(){let t=new Map;this.hasStarted()&&this._finalKeyframe.forEach((r,s)=>{s!=="offset"&&t.set(s,this._finished?r:Be(this.element,s))}),this.currentSnapshot=t}triggerCallback(t){let e=t==="start"?this._onStartFns:this._onDoneFns;e.forEach(r=>r()),e.length=0}},Qe=class{validateStyleProperty(t){return!0}validateAnimatableStyleProperty(t){return!0}containsElement(t,e){return ct(t,e)}getParentElement(t){return Fe(t)}query(t,e,r){return dt(t,e,r)}computeStyle(t,e,r){return Be(t,e)}animate(t,e,r,s,i,o=[]){let a=s==0?"both":"forwards",l={duration:r,delay:s,fill:a};i&&(l.easing=i);let u=new Map,c=o.filter(y=>y instanceof Xe);Vr(r,s)&&c.forEach(y=>{y.currentSnapshot.forEach((f,g)=>u.set(g,f))});let m=Wr(e).map(y=>new Map(y));m=Yr(t,m,u);let M=pi(t,m);return new Xe(t,m,l,M)}};var Je="@",fn="@.disabled",xe=class{namespaceId;delegate;engine;_onDestroy;\u0275type=0;constructor(t,e,r,s){this.namespaceId=t,this.delegate=e,this.engine=r,this._onDestroy=s}get data(){return this.delegate.data}destroyNode(t){this.delegate.destroyNode?.(t)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}appendChild(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}insertBefore(t,e,r,s=!0){this.delegate.insertBefore(t,e,r),this.engine.onInsert(this.namespaceId,e,t,s)}removeChild(t,e,r,s){if(s){this.delegate.removeChild(t,e,r,s);return}this.parentNode(e)&&this.engine.onRemove(this.namespaceId,e,this.delegate)}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,r,s){this.delegate.setAttribute(t,e,r,s)}removeAttribute(t,e,r){this.delegate.removeAttribute(t,e,r)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,r,s){this.delegate.setStyle(t,e,r,s)}removeStyle(t,e,r){this.delegate.removeStyle(t,e,r)}setProperty(t,e,r){e.charAt(0)==Je&&e==fn?this.disableAnimations(t,!!r):this.delegate.setProperty(t,e,r)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,r,s){return this.delegate.listen(t,e,r,s)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}},Rt=class extends xe{factory;constructor(t,e,r,s,i){super(e,r,s,i),this.factory=t,this.namespaceId=e}setProperty(t,e,r){e.charAt(0)==Je?e.charAt(1)=="."&&e==fn?(r=r===void 0?!0:!!r,this.disableAnimations(t,r)):this.engine.process(this.namespaceId,t,e.slice(1),r):this.delegate.setProperty(t,e,r)}listen(t,e,r,s){if(e.charAt(0)==Je){let i=Mi(t),o=e.slice(1),a="";return o.charAt(0)!=Je&&([o,a]=Si(o)),this.engine.listen(this.namespaceId,i,o,a,l=>{let u=l._data||-1;this.factory.scheduleListenerCallback(u,r,l)})}return this.delegate.listen(t,e,r,s)}};function Mi(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}function Si(n){let t=n.indexOf("."),e=n.substring(0,t),r=n.slice(t+1);return[e,r]}var Ze=class{delegate;engine;_zone;_currentId=0;_microtaskId=1;_animationCallbacksBuffer=[];_rendererCache=new Map;_cdRecurDepth=0;constructor(t,e,r){this.delegate=t,this.engine=e,this._zone=r,e.onRemovalComplete=(s,i)=>{i?.removeChild(null,s)}}createRenderer(t,e){let s=this.delegate.createRenderer(t,e);if(!t||!e?.data?.animation){let u=this._rendererCache,c=u.get(s);if(!c){let m=()=>u.delete(s);c=new xe("",s,this.engine,m),u.set(s,c)}return c}let i=e.id,o=e.id+"-"+this._currentId;this._currentId++,this.engine.register(o,t);let a=u=>{Array.isArray(u)?u.forEach(a):this.engine.registerTrigger(i,o,t,u.name,u)};return e.data.animation.forEach(a),new Rt(this,o,s,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(t,e,r){if(t>=0&&t<this._microtaskId){this._zone.run(()=>e(r));return}let s=this._animationCallbacksBuffer;s.length==0&&queueMicrotask(()=>{this._zone.run(()=>{s.forEach(i=>{let[o,a]=i;o(a)}),this._animationCallbacksBuffer=[]})}),s.push([e,r])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}componentReplaced(t){this.engine.flush(),this.delegate.componentReplaced?.(t)}};var _i=(()=>{class n extends ge{constructor(e,r,s){super(e,r,s)}ngOnDestroy(){this.flush()}static \u0275fac=function(r){return new(r||n)(De(Ut),De(oe),De(ae))};static \u0275prov=Q({token:n,factory:n.\u0275fac})}return n})();function vi(){return new Ge}function bi(n,t,e){return new Ze(n,t,e)}var hn=[{provide:ae,useFactory:vi},{provide:ge,useClass:_i},{provide:Wt,useFactory:bi,deps:[er,ge,Gt]}],Eo=[{provide:oe,useClass:kt},{provide:nt,useValue:"NoopAnimations"},...hn],Ti=[{provide:oe,useFactory:()=>new Qe},{provide:nt,useFactory:()=>"BrowserAnimations"},...hn];function pn(){return Jt("NgEagerAnimations"),[...Ti]}var Z=(()=>{class n{$auth=L(de);$authHelper=L(ke);$router=L(Re);$settings=L(ce);canActivate(e,r){return we(this,null,function*(){return this.$settings.settingsLoaded||(yield Pe(this.$settings.onSettingsLoaded)),this.$settings.formAuth===!1?(yield this.$auth.noauth(),!0):(yield this.$authHelper.isAuthenticated())?(yield this.$auth.checkAndRefreshIfNeeded(),!0):(window.sessionStorage.setItem("target_route",r.url),yield this.$router.navigate(["/login"]),!1)})}static \u0275fac=function(r){return new(r||n)};static \u0275prov=Q({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var et=(()=>{class n{$auth=L(de);$router=L(Re);$settings=L(ce);canActivate(){return we(this,null,function*(){return this.$settings.settingsLoaded||(yield Pe(this.$settings.onSettingsLoaded)),this.$settings.env.setupWizardComplete===!1?(this.$router.navigate(["/setup"]),!1):this.$settings.formAuth===!1||this.$auth.isLoggedIn()?(this.$router.navigate(["/"]),!1):!0})}static \u0275fac=function(r){return new(r||n)};static \u0275prov=Q({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var Ni=[{path:"login",loadComponent:()=>import("./chunk-U4XTIC32.js").then(n=>n.LoginComponent),canActivate:[et]},{path:"setup",loadChildren:()=>import("./chunk-RI2YPN2T.js").then(n=>n.SetupWizardModule),canActivate:[dr]},{path:"",loadComponent:()=>import("./chunk-VNRKEIC4.js").then(n=>n.LayoutComponent),canActivate:[Z],children:[{path:"",loadComponent:()=>import("./chunk-5NEGWNAS.js").then(n=>n.StatusComponent),canDeactivate:[n=>n.canDeactivate?n.canDeactivate():!0]},{path:"restart",loadComponent:()=>import("./chunk-HQMHZMG7.js").then(n=>n.RestartComponent),canActivate:[q]},{path:"plugins",loadChildren:()=>import("./chunk-O64RKNOD.js").then(n=>n.PluginsModule),canActivate:[Z]},{path:"config",loadChildren:()=>import("./chunk-YUQABIDS.js").then(n=>n.ConfigEditorModule),canActivate:[q]},{path:"accessories",loadChildren:()=>import("./chunk-WBRW2IBE.js").then(n=>n.AccessoriesModule),canActivate:[Z]},{path:"logs",loadChildren:()=>import("./chunk-5BQFCCGO.js").then(n=>n.LogsModule),canActivate:[Z]},{path:"users",loadChildren:()=>import("./chunk-DG7UZP7P.js").then(n=>n.UsersModule),canActivate:[q]},{path:"settings",loadChildren:()=>import("./chunk-TQND7IG5.js").then(n=>n.SettingsModule),canActivate:[q]},{path:"support",loadChildren:()=>import("./chunk-QJT3E7XI.js").then(n=>n.SupportModule),canActivate:[Z]},{path:"power-options",loadChildren:()=>import("./chunk-GUSZVIO6.js").then(n=>n.PowerOptionsModule),canActivate:[q]},{path:"platform-tools",loadChildren:()=>import("./chunk-TIND2G23.js").then(n=>n.PlatformToolsModule),canActivate:[q]}]},{path:"**",pathMatch:"full",redirectTo:"/"}],gn=(()=>{class n{static \u0275fac=function(r){return new(r||n)};static \u0275mod=B({type:n});static \u0275inj=I({imports:[it.forRoot(Ni,{scrollPositionRestoration:"enabled",onSameUrlNavigation:"reload"}),it]})}return n})();var Ai=Bt({"../i18n/bg.json":()=>Xn(),"../i18n/ca.json":()=>Qn(),"../i18n/cs.json":()=>xn(),"../i18n/de.json":()=>Zn(),"../i18n/en.json":()=>es(),"../i18n/es.json":()=>ts(),"../i18n/fi.json":()=>rs(),"../i18n/fr.json":()=>ns(),"../i18n/he.json":()=>ss(),"../i18n/hu.json":()=>is(),"../i18n/id.json":()=>os(),"../i18n/it.json":()=>as(),"../i18n/ja.json":()=>ls(),"../i18n/ko.json":()=>us(),"../i18n/mk.json":()=>ms(),"../i18n/nl.json":()=>cs(),"../i18n/no.json":()=>ds(),"../i18n/pl.json":()=>fs(),"../i18n/pt-BR.json":()=>hs(),"../i18n/pt.json":()=>ps(),"../i18n/ru.json":()=>gs(),"../i18n/sl.json":()=>ys(),"../i18n/sv.json":()=>Ms(),"../i18n/th.json":()=>Ss(),"../i18n/tr.json":()=>Es(),"../i18n/uk.json":()=>_s(),"../i18n/zh-CN.json":()=>vs(),"../i18n/zh-TW.json":()=>bs()});var yn=(()=>{class n{$translate=L(ze);$settings=L(ce);constructor(){let e=window.matchMedia("(prefers-color-scheme: dark)"),r=a=>{this.$settings.setBrowserLightingMode(a.matches?"dark":"light")};r(e),e.addEventListener("change",r);let s=["en","de","fi","fr","pl","cs","ru","zh-CN","zh-TW","hu","ja","es","nl","tr","it","bg","sv","no","sl","pt-BR","pt","id","ca","ko","mk","th","uk","he"],i=["he"];this.$translate.onLangChange.subscribe(()=>{this.$settings.rtl=i.includes(this.$translate.getCurrentLang())});let o=s.find(a=>a===this.$translate.getBrowserLang()||a===this.$translate.getBrowserCultureLang());for(let a of s)this.$translate.setTranslation(a,Ai(`../i18n/${a}.json`));o?this.$translate.use(o):this.$translate.setFallbackLang("en")}static \u0275fac=function(r){return new(r||n)};static \u0275cmp=qt({type:n,selectors:[["app-root"]],decls:1,vars:0,template:function(r,s){r&1&&Vt(0,"router-outlet")},dependencies:[ur],encapsulation:2})}return n})();var wi=()=>localStorage.getItem(me.jwt.tokenKey),Mn=(()=>{class n{static \u0275fac=function(r){return new(r||n)};static \u0275mod=B({type:n});static \u0275inj=I({providers:[ke,de,Z,q,cr],imports:[mr.forRoot({config:{authScheme:"bearer ",tokenGetter:wi,skipWhenExpired:!1,allowedDomains:me.jwt.allowedDomains,disallowedRoutes:me.jwt.disallowedRoutes}})]})}return n})();function Pi(n){return n===1?1:5}var Sn=["bg",[["am","pm"],void 0,["\u043F\u0440.\u043E\u0431.","\u0441\u043B.\u043E\u0431."]],[["am","pm"]],[["\u043D","\u043F","\u0432","\u0441","\u0447","\u043F","\u0441"],["\u043D\u0434","\u043F\u043D","\u0432\u0442","\u0441\u0440","\u0447\u0442","\u043F\u0442","\u0441\u0431"],["\u043D\u0435\u0434\u0435\u043B\u044F","\u043F\u043E\u043D\u0435\u0434\u0435\u043B\u043D\u0438\u043A","\u0432\u0442\u043E\u0440\u043D\u0438\u043A","\u0441\u0440\u044F\u0434\u0430","\u0447\u0435\u0442\u0432\u044A\u0440\u0442\u044A\u043A","\u043F\u0435\u0442\u044A\u043A","\u0441\u044A\u0431\u043E\u0442\u0430"],["\u043D\u0434","\u043F\u043D","\u0432\u0442","\u0441\u0440","\u0447\u0442","\u043F\u0442","\u0441\u0431"]],void 0,[["\u044F","\u0444","\u043C","\u0430","\u043C","\u044E","\u044E","\u0430","\u0441","\u043E","\u043D","\u0434"],["\u044F\u043D\u0443","\u0444\u0435\u0432","\u043C\u0430\u0440\u0442","\u0430\u043F\u0440","\u043C\u0430\u0439","\u044E\u043D\u0438","\u044E\u043B\u0438","\u0430\u0432\u0433","\u0441\u0435\u043F","\u043E\u043A\u0442","\u043D\u043E\u0435","\u0434\u0435\u043A"],["\u044F\u043D\u0443\u0430\u0440\u0438","\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438","\u043C\u0430\u0440\u0442","\u0430\u043F\u0440\u0438\u043B","\u043C\u0430\u0439","\u044E\u043D\u0438","\u044E\u043B\u0438","\u0430\u0432\u0433\u0443\u0441\u0442","\u0441\u0435\u043F\u0442\u0435\u043C\u0432\u0440\u0438","\u043E\u043A\u0442\u043E\u043C\u0432\u0440\u0438","\u043D\u043E\u0435\u043C\u0432\u0440\u0438","\u0434\u0435\u043A\u0435\u043C\u0432\u0440\u0438"]],void 0,[["\u043F\u0440.\u0425\u0440.","\u0441\u043B.\u0425\u0440."],void 0,["\u043F\u0440\u0435\u0434\u0438 \u0425\u0440\u0438\u0441\u0442\u0430","\u0441\u043B\u0435\u0434 \u0425\u0440\u0438\u0441\u0442\u0430"]],1,[6,0],["d.MM.yy '\u0433'.","d.MM.y '\u0433'.","d MMMM y '\u0433'.","EEEE, d MMMM y '\u0433'."],["H:mm '\u0447'.","H:mm:ss '\u0447'.","H:mm:ss '\u0447'. z","H:mm:ss '\u0447'. zzzz"],["{1}, {0}",void 0,void 0,void 0],[",","\xA0",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","0.00\xA0\xA4","#E0"],"BGN","\u043B\u0432.","\u0411\u044A\u043B\u0433\u0430\u0440\u0441\u043A\u0438 \u043B\u0435\u0432",{AFN:[void 0,"Af"],AMD:[],ARS:[],AUD:[],AZN:[],BBD:[],BDT:[],BGN:["\u043B\u0432."],BMD:[],BND:[],BRL:[],BSD:[],BZD:[],CAD:[],CLP:[],CNY:[],COP:[],CRC:[],CUP:[],DOP:[],FJD:[],FKP:[],GBP:[void 0,"\xA3"],GHS:[],GIP:[],GYD:[],HKD:[],ILS:[],INR:[],JMD:[],JPY:[void 0,"\xA5"],KHR:[],KRW:[],KYD:[],KZT:[],LAK:[],LRD:[],MNT:[],MXN:[],NAD:[],NGN:[],NZD:[],PHP:[],PYG:[],RON:[],SBD:[],SGD:[],SRD:[],SSP:[],TRY:[],TTD:[],TWD:[],UAH:[],USD:["\u0449.\u0434.","$"],UYU:[],VND:[],XCD:[void 0,"$"]},"ltr",Pi];function Di(n){let t=n,e=Math.floor(Math.abs(n)),r=n.toString().replace(/^[^.]*\.?/,"").length;return e===1&&r===0?1:5}var En=["ca",[["a.\xA0m.","p.\xA0m."]],void 0,[["dg","dl","dt","dc","dj","dv","ds"],["dg.","dl.","dt.","dc.","dj.","dv.","ds."],["diumenge","dilluns","dimarts","dimecres","dijous","divendres","dissabte"],["dg.","dl.","dt.","dc.","dj.","dv.","ds."]],void 0,[["GN","FB","M\xC7","AB","MG","JN","JL","AG","ST","OC","NV","DS"],["de gen.","de febr.","de mar\xE7","d\u2019abr.","de maig","de juny","de jul.","d\u2019ag.","de set.","d\u2019oct.","de nov.","de des."],["de gener","de febrer","de mar\xE7","d\u2019abril","de maig","de juny","de juliol","d\u2019agost","de setembre","d\u2019octubre","de novembre","de desembre"]],[["GN","FB","M\xC7","AB","MG","JN","JL","AG","ST","OC","NV","DS"],["gen.","febr.","mar\xE7","abr.","maig","juny","jul.","ag.","set.","oct.","nov.","des."],["gener","febrer","mar\xE7","abril","maig","juny","juliol","agost","setembre","octubre","novembre","desembre"]],[["aC","dC"],void 0,["abans de Crist","despr\xE9s de Crist"]],1,[6,0],["d/M/yy","d MMM y","d MMMM 'de' y","EEEE, d MMMM 'de' y"],["H:mm","H:mm:ss","H:mm:ss z","H:mm:ss (zzzz)"],["{1} {0}","{1}, {0}","{1}, 'a' 'les' {0}",void 0],[",",".",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","#,##0.00\xA0\xA4","#E0"],"EUR","\u20AC","euro",{AUD:["AU$","$"],BRL:[void 0,"R$"],BYN:[void 0,"\u0440."],CAD:[void 0,"$"],CNY:[void 0,"\xA5"],ESP:["\u20A7"],MXN:[void 0,"$"],PHP:[void 0,"\u20B1"],THB:["\u0E3F"],USD:[void 0,"$"],VEF:[void 0,"Bs F"],XCD:[void 0,"$"],XXX:[]},"ltr",Di];function Ci(n){let t=n,e=Math.floor(Math.abs(n)),r=n.toString().replace(/^[^.]*\.?/,"").length;return e===1&&r===0?1:e===Math.floor(e)&&e>=2&&e<=4&&r===0?3:r!==0?4:5}var _n=["cs",[["dop.","odp."]],void 0,[["N","P","\xDA","S","\u010C","P","S"],["ne","po","\xFAt","st","\u010Dt","p\xE1","so"],["ned\u011Ble","pond\u011Bl\xED","\xFAter\xFD","st\u0159eda","\u010Dtvrtek","p\xE1tek","sobota"],["ne","po","\xFAt","st","\u010Dt","p\xE1","so"]],void 0,[["1","2","3","4","5","6","7","8","9","10","11","12"],["led","\xFAno","b\u0159e","dub","kv\u011B","\u010Dvn","\u010Dvc","srp","z\xE1\u0159","\u0159\xEDj","lis","pro"],["ledna","\xFAnora","b\u0159ezna","dubna","kv\u011Btna","\u010Dervna","\u010Dervence","srpna","z\xE1\u0159\xED","\u0159\xEDjna","listopadu","prosince"]],[["1","2","3","4","5","6","7","8","9","10","11","12"],["led","\xFAno","b\u0159e","dub","kv\u011B","\u010Dvn","\u010Dvc","srp","z\xE1\u0159","\u0159\xEDj","lis","pro"],["leden","\xFAnor","b\u0159ezen","duben","kv\u011Bten","\u010Derven","\u010Dervenec","srpen","z\xE1\u0159\xED","\u0159\xEDjen","listopad","prosinec"]],[["p\u0159.n.l.","n.l."],["p\u0159. n. l.","n. l."],["p\u0159ed na\u0161\xEDm letopo\u010Dtem","na\u0161eho letopo\u010Dtu"]],1,[6,0],["dd.MM.yy","d. M. y","d. MMMM y","EEEE d. MMMM y"],["H:mm","H:mm:ss","H:mm:ss z","H:mm:ss zzzz"],["{1} {0}",void 0,void 0,void 0],[",","\xA0",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0\xA0%","#,##0.00\xA0\xA4","#E0"],"CZK","K\u010D","\u010Desk\xE1 koruna",{AUD:["AU$","$"],BYN:[void 0,"\u0440."],CSK:["K\u010Ds"],CZK:["K\u010D"],ILS:[void 0,"\u20AA"],INR:[void 0,"\u20B9"],JPY:["JP\xA5","\xA5"],PHP:[void 0,"\u20B1"],RON:[void 0,"L"],RUR:[void 0,"\u0440."],TWD:["NT$"],USD:["US$","$"],VND:[void 0,"\u20AB"],XEU:["ECU"],XXX:[]},"ltr",Ci];function zi(n){let t=n,e=Math.floor(Math.abs(n)),r=n.toString().replace(/^[^.]*\.?/,"").length;return e===1&&r===0?1:5}var vn=["de",[["AM","PM"]],void 0,[["S","M","D","M","D","F","S"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."],["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."]],[["S","M","D","M","D","F","S"],["So","Mo","Di","Mi","Do","Fr","Sa"],["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."]],[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan.","Feb.","M\xE4rz","Apr.","Mai","Juni","Juli","Aug.","Sept.","Okt.","Nov.","Dez."],["Januar","Februar","M\xE4rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]],[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","M\xE4r","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],["Januar","Februar","M\xE4rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]],[["v. Chr.","n. Chr."]],1,[6,0],["dd.MM.yy","dd.MM.y","d. MMMM y","EEEE, d. MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1}, {0}",void 0,"{1} 'um' {0}",void 0],[",",".",";","%","+","-","E","\xB7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0\xA0%","#,##0.00\xA0\xA4","#E0"],"EUR","\u20AC","Euro",{ATS:["\xF6S"],AUD:["AU$","$"],BGM:["BGK"],BGO:["BGJ"],BYN:[void 0,"\u0440."],CUC:[void 0,"Cub$"],DEM:["DM"],FKP:[void 0,"Fl\xA3"],GHS:[void 0,"\u20B5"],GNF:[void 0,"F.G."],KMF:[void 0,"FC"],PHP:[void 0,"\u20B1"],RON:[void 0,"L"],RUR:[void 0,"\u0440."],RWF:[void 0,"F.Rw"],SYP:[],THB:["\u0E3F"],TWD:["NT$"],XXX:[],ZMW:[void 0,"K"]},"ltr",zi];function Ri(n){let t=n,e=Math.floor(Math.abs(n)),r=n.toString().replace(/^[^.]*\.?/,"").length;return e===1&&r===0?1:5}var bn=["en",[["a","p"],["AM","PM"]],[["AM","PM"]],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],void 0,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],void 0,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",void 0,"{1} 'at' {0}",void 0],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",Ri];function ki(n){let t=n,e=Math.floor(Math.abs(n)),r=n.toString().replace(/^[^.]*\.?/,"").length,s=parseInt(n.toString().replace(/^[^e]*(e([-+]?\d+))?/,"$2"))||0;return t===1?1:s===0&&e!==0&&e%1e6===0&&r===0||!(s>=0&&s<=5)?4:5}var Tn=["es",[["a.\xA0m.","p.\xA0m."]],void 0,[["D","L","M","X","J","V","S"],["dom","lun","mar","mi\xE9","jue","vie","s\xE1b"],["domingo","lunes","martes","mi\xE9rcoles","jueves","viernes","s\xE1bado"],["DO","LU","MA","MI","JU","VI","SA"]],void 0,[["E","F","M","A","M","J","J","A","S","O","N","D"],["ene","feb","mar","abr","may","jun","jul","ago","sept","oct","nov","dic"],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"]],void 0,[["a. C.","d. C."],void 0,["antes de Cristo","despu\xE9s de Cristo"]],1,[6,0],["d/M/yy","d MMM y","d 'de' MMMM 'de' y","EEEE, d 'de' MMMM 'de' y"],["H:mm","H:mm:ss","H:mm:ss z","H:mm:ss (zzzz)"],["{1}, {0}",void 0,void 0,void 0],[",",".",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0\xA0%","#,##0.00\xA0\xA4","#E0"],"EUR","\u20AC","euro",{AUD:[void 0,"$"],BRL:[void 0,"R$"],BYN:[void 0,"\u0440."],CAD:[void 0,"$"],CNY:[void 0,"\xA5"],EGP:[],ESP:["\u20A7"],GBP:[void 0,"\xA3"],HKD:[void 0,"$"],ILS:[void 0,"\u20AA"],INR:[void 0,"\u20B9"],JPY:[void 0,"\xA5"],KRW:[void 0,"\u20A9"],MXN:[void 0,"$"],NZD:[void 0,"$"],PHP:[void 0,"\u20B1"],RON:[void 0,"L"],THB:["\u0E3F"],TWD:[void 0,"NT$"],USD:["US$","$"],XAF:[],XCD:[void 0,"$"],XOF:[]},"ltr",ki];function $i(n){let t=n,e=Math.floor(Math.abs(n)),r=n.toString().replace(/^[^.]*\.?/,"").length,s=parseInt(n.toString().replace(/^[^e]*(e([-+]?\d+))?/,"$2"))||0;return e===0||e===1?1:s===0&&e!==0&&e%1e6===0&&r===0||!(s>=0&&s<=5)?4:5}var Nn=["fr",[["AM","PM"]],void 0,[["D","L","M","M","J","V","S"],["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],["di","lu","ma","me","je","ve","sa"]],void 0,[["J","F","M","A","M","J","J","A","S","O","N","D"],["janv.","f\xE9vr.","mars","avr.","mai","juin","juil.","ao\xFBt","sept.","oct.","nov.","d\xE9c."],["janvier","f\xE9vrier","mars","avril","mai","juin","juillet","ao\xFBt","septembre","octobre","novembre","d\xE9cembre"]],void 0,[["av. J.-C.","ap. J.-C."],void 0,["avant J\xE9sus-Christ","apr\xE8s J\xE9sus-Christ"]],1,[6,0],["dd/MM/y","d MMM y","d MMMM y","EEEE d MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1} {0}","{1}, {0}","{1} '\xE0' {0}",void 0],[",","\u202F",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0\xA0%","#,##0.00\xA0\xA4","#E0"],"EUR","\u20AC","euro",{ARS:["$AR","$"],AUD:["$AU","$"],BEF:["FB"],BMD:["$BM","$"],BND:["$BN","$"],BYN:[void 0,"\u0440."],BZD:["$BZ","$"],CAD:["$CA","$"],CLP:["$CL","$"],CNY:[void 0,"\xA5"],COP:["$CO","$"],CYP:["\xA3CY"],EGP:[void 0,"\xA3E"],FJD:["$FJ","$"],FKP:["\xA3FK","\xA3"],FRF:["F"],GBP:["\xA3GB","\xA3"],GIP:["\xA3GI","\xA3"],HKD:[void 0,"$"],IEP:["\xA3IE"],ILP:["\xA3IL"],ITL:["\u20A4IT"],JPY:[void 0,"\xA5"],KMF:[void 0,"FC"],LBP:["\xA3LB","\xA3L"],MTP:["\xA3MT"],MXN:["$MX","$"],NAD:["$NA","$"],NIO:[void 0,"$C"],NZD:["$NZ","$"],PHP:[void 0,"\u20B1"],RHD:["$RH"],RON:[void 0,"L"],RWF:[void 0,"FR"],SBD:["$SB","$"],SGD:["$SG","$"],SRD:["$SR","$"],TOP:[void 0,"$T"],TTD:["$TT","$"],TWD:[void 0,"NT$"],USD:["$US","$"],UYU:["$UY","$"],WST:["$WS"],XCD:[void 0,"$"],XPF:["FCFP"],ZMW:[void 0,"Kw"]},"ltr",$i];function Hi(n){let t=n,e=Math.floor(Math.abs(n)),r=n.toString().replace(/^[^.]*\.?/,"").length;return e===1&&r===0?1:e===2&&r===0?2:r===0&&!(t>=0&&t<=10)&&t%10===0?4:5}var An=["he",[["\u05DC\u05E4\u05E0\u05D4\u05F4\u05E6","\u05D0\u05D7\u05D4\u05F4\u05E6"]],[["\u05DC\u05E4\u05E0\u05D4\u05F4\u05E6","\u05D0\u05D7\u05D4\u05F4\u05E6"],["AM","PM"]],[["\u05D0\u05F3","\u05D1\u05F3","\u05D2\u05F3","\u05D3\u05F3","\u05D4\u05F3","\u05D5\u05F3","\u05E9\u05F3"],["\u05D9\u05D5\u05DD \u05D0\u05F3","\u05D9\u05D5\u05DD \u05D1\u05F3","\u05D9\u05D5\u05DD \u05D2\u05F3","\u05D9\u05D5\u05DD \u05D3\u05F3","\u05D9\u05D5\u05DD \u05D4\u05F3","\u05D9\u05D5\u05DD \u05D5\u05F3","\u05E9\u05D1\u05EA"],["\u05D9\u05D5\u05DD \u05E8\u05D0\u05E9\u05D5\u05DF","\u05D9\u05D5\u05DD \u05E9\u05E0\u05D9","\u05D9\u05D5\u05DD \u05E9\u05DC\u05D9\u05E9\u05D9","\u05D9\u05D5\u05DD \u05E8\u05D1\u05D9\u05E2\u05D9","\u05D9\u05D5\u05DD \u05D7\u05DE\u05D9\u05E9\u05D9","\u05D9\u05D5\u05DD \u05E9\u05D9\u05E9\u05D9","\u05D9\u05D5\u05DD \u05E9\u05D1\u05EA"],["\u05D0\u05F3","\u05D1\u05F3","\u05D2\u05F3","\u05D3\u05F3","\u05D4\u05F3","\u05D5\u05F3","\u05E9\u05F3"]],void 0,[["1","2","3","4","5","6","7","8","9","10","11","12"],["\u05D9\u05E0\u05D5\u05F3","\u05E4\u05D1\u05E8\u05F3","\u05DE\u05E8\u05E5","\u05D0\u05E4\u05E8\u05F3","\u05DE\u05D0\u05D9","\u05D9\u05D5\u05E0\u05D9","\u05D9\u05D5\u05DC\u05D9","\u05D0\u05D5\u05D2\u05F3","\u05E1\u05E4\u05D8\u05F3","\u05D0\u05D5\u05E7\u05F3","\u05E0\u05D5\u05D1\u05F3","\u05D3\u05E6\u05DE\u05F3"],["\u05D9\u05E0\u05D5\u05D0\u05E8","\u05E4\u05D1\u05E8\u05D5\u05D0\u05E8","\u05DE\u05E8\u05E5","\u05D0\u05E4\u05E8\u05D9\u05DC","\u05DE\u05D0\u05D9","\u05D9\u05D5\u05E0\u05D9","\u05D9\u05D5\u05DC\u05D9","\u05D0\u05D5\u05D2\u05D5\u05E1\u05D8","\u05E1\u05E4\u05D8\u05DE\u05D1\u05E8","\u05D0\u05D5\u05E7\u05D8\u05D5\u05D1\u05E8","\u05E0\u05D5\u05D1\u05DE\u05D1\u05E8","\u05D3\u05E6\u05DE\u05D1\u05E8"]],void 0,[["\u05DC\u05E4\u05E0\u05D9","\u05D0\u05D7\u05E8\u05D9\u05D9"],["\u05DC\u05E4\u05E0\u05D4\u05F4\u05E1","\u05DC\u05E1\u05E4\u05D9\u05E8\u05D4"],["\u05DC\u05E4\u05E0\u05D9 \u05D4\u05E1\u05E4\u05D9\u05E8\u05D4","\u05DC\u05E1\u05E4\u05D9\u05E8\u05D4"]],0,[5,6],["d.M.y","d \u05D1MMM y","d \u05D1MMMM y","EEEE, d \u05D1MMMM y"],["H:mm","H:mm:ss","H:mm:ss z","H:mm:ss zzzz"],["{1}, {0}",void 0,"{1} \u05D1\u05E9\u05E2\u05D4 {0}",void 0],[".",",",";","%","\u200E+","\u200E-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\u200F#,##0.00\xA0\xA4;\u200F-#,##0.00\xA0\xA4","#E0"],"ILS","\u20AA","\u05E9\u05E7\u05DC \u05D7\u05D3\u05E9",{BYN:[void 0,"\u0440"],CNY:["\u200ECN\xA5\u200E","\xA5"],ILP:["\u05DC\u05F4\u05D9"],PHP:[void 0,"\u20B1"],THB:["\u0E3F"],TWD:["NT$"]},"rtl",Hi];function Fi(n){return n===1?1:5}var wn=["hu",[["de.","du."]],void 0,[["V","H","K","Sz","Cs","P","Sz"],["V","H","K","Sze","Cs","P","Szo"],["vas\xE1rnap","h\xE9tf\u0151","kedd","szerda","cs\xFCt\xF6rt\xF6k","p\xE9ntek","szombat"],["V","H","K","Sze","Cs","P","Szo"]],void 0,[["J","F","M","\xC1","M","J","J","A","Sz","O","N","D"],["jan.","febr.","m\xE1rc.","\xE1pr.","m\xE1j.","j\xFAn.","j\xFAl.","aug.","szept.","okt.","nov.","dec."],["janu\xE1r","febru\xE1r","m\xE1rcius","\xE1prilis","m\xE1jus","j\xFAnius","j\xFAlius","augusztus","szeptember","okt\xF3ber","november","december"]],void 0,[["ie.","isz."],["i. e.","i. sz."],["Krisztus el\u0151tt","id\u0151sz\xE1m\xEDt\xE1sunk szerint"]],1,[6,0],["y. MM. dd.","y. MMM d.","y. MMMM d.","y. MMMM d., EEEE"],["H:mm","H:mm:ss","H:mm:ss z","H:mm:ss zzzz"],["{1} {0}",void 0,void 0,void 0],[",","\xA0",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","#,##0.00\xA0\xA4","#E0"],"HUF","Ft","magyar forint",{AUD:[void 0,"$"],BRL:[void 0,"R$"],BYN:[void 0,"\u0440."],CAD:[void 0,"$"],CNY:[void 0,"\xA5"],EUR:[void 0,"\u20AC"],GBP:[void 0,"\xA3"],HKD:[void 0,"$"],HUF:["Ft"],ILS:[void 0,"\u20AA"],INR:[void 0,"\u20B9"],KRW:[void 0,"\u20A9"],MXN:[void 0,"$"],NZD:[void 0,"$"],PHP:[void 0,"\u20B1"],TWD:[void 0,"NT$"],USD:[void 0,"$"],VND:[void 0,"\u20AB"],XCD:[void 0,"$"]},"ltr",Fi];function Li(n){let t=n;return 5}var Pn=["id",[["AM","PM"]],void 0,[["M","S","S","R","K","J","S"],["Min","Sen","Sel","Rab","Kam","Jum","Sab"],["Minggu","Senin","Selasa","Rabu","Kamis","Jumat","Sabtu"],["Min","Sen","Sel","Rab","Kam","Jum","Sab"]],void 0,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","Mei","Jun","Jul","Agu","Sep","Okt","Nov","Des"],["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember"]],void 0,[["SM","M"],void 0,["Sebelum Masehi","Masehi"]],0,[6,0],["dd/MM/yy","d MMM y","d MMMM y","EEEE, dd MMMM y"],["HH.mm","HH.mm.ss","HH.mm.ss z","HH.mm.ss zzzz"],["{1} {0}",void 0,void 0,void 0],[",",".",";","%","+","-","E","\xD7","\u2030","\u221E","NaN","."],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"IDR","Rp","Rupiah Indonesia",{AUD:["AU$","$"],BYN:[void 0,"\u0440."],IDR:["Rp"],INR:["Rs","\u20B9"],JPY:["JP\xA5","\xA5"],PHP:[void 0,"\u20B1"],THB:["\u0E3F"],TWD:["NT$"],USD:["US$","$"],XXX:[]},"ltr",Li];function Oi(n){let t=n,e=Math.floor(Math.abs(n)),r=n.toString().replace(/^[^.]*\.?/,"").length,s=parseInt(n.toString().replace(/^[^e]*(e([-+]?\d+))?/,"$2"))||0;return e===1&&r===0?1:s===0&&e!==0&&e%1e6===0&&r===0||!(s>=0&&s<=5)?4:5}var Dn=["it",[["m.","p."],["AM","PM"]],void 0,[["D","L","M","M","G","V","S"],["dom","lun","mar","mer","gio","ven","sab"],["domenica","luned\xEC","marted\xEC","mercoled\xEC","gioved\xEC","venerd\xEC","sabato"],["dom","lun","mar","mer","gio","ven","sab"]],void 0,[["G","F","M","A","M","G","L","A","S","O","N","D"],["gen","feb","mar","apr","mag","giu","lug","ago","set","ott","nov","dic"],["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre"]],void 0,[["aC","dC"],["a.C.","d.C."],["avanti Cristo","dopo Cristo"]],1,[6,0],["dd/MM/yy","d MMM y","d MMMM y","EEEE d MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1}, {0}",void 0,"{1} {0}",void 0],[",",".",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","#,##0.00\xA0\xA4","#E0"],"EUR","\u20AC","euro",{BRL:[void 0,"R$"],BYN:[void 0,"Br"],EGP:[void 0,"\xA3E"],HKD:[void 0,"$"],INR:[void 0,"\u20B9"],JPY:[void 0,"\xA5"],KRW:[void 0,"\u20A9"],MXN:[void 0,"$"],NOK:[void 0,"NKr"],THB:["\u0E3F"],TWD:[void 0,"NT$"],USD:[void 0,"$"],VND:[void 0,"\u20AB"]},"ltr",Oi];function Ii(n){let t=n;return 5}var Cn=["ja",[["\u5348\u524D","\u5348\u5F8C"]],void 0,[["\u65E5","\u6708","\u706B","\u6C34","\u6728","\u91D1","\u571F"],void 0,["\u65E5\u66DC\u65E5","\u6708\u66DC\u65E5","\u706B\u66DC\u65E5","\u6C34\u66DC\u65E5","\u6728\u66DC\u65E5","\u91D1\u66DC\u65E5","\u571F\u66DC\u65E5"],["\u65E5","\u6708","\u706B","\u6C34","\u6728","\u91D1","\u571F"]],void 0,[["1","2","3","4","5","6","7","8","9","10","11","12"],["1\u6708","2\u6708","3\u6708","4\u6708","5\u6708","6\u6708","7\u6708","8\u6708","9\u6708","10\u6708","11\u6708","12\u6708"]],void 0,[["BC","AD"],["\u7D00\u5143\u524D","\u897F\u66A6"]],0,[6,0],["y/MM/dd",void 0,"y\u5E74M\u6708d\u65E5","y\u5E74M\u6708d\u65E5EEEE"],["H:mm","H:mm:ss","H:mm:ss z","H\u6642mm\u5206ss\u79D2 zzzz"],["{1} {0}",void 0,void 0,void 0],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"JPY","\uFFE5","\u65E5\u672C\u5186",{BYN:[void 0,"\u0440."],CNY:["\u5143","\uFFE5"],JPY:["\uFFE5"],PHP:[void 0,"\u20B1"],RON:[void 0,"\u30EC\u30A4"],XXX:[]},"ltr",Ii];function Bi(n){let t=n;return 5}var zn=["ko",[["AM","PM"],void 0,["\uC624\uC804","\uC624\uD6C4"]],void 0,[["\uC77C","\uC6D4","\uD654","\uC218","\uBAA9","\uAE08","\uD1A0"],void 0,["\uC77C\uC694\uC77C","\uC6D4\uC694\uC77C","\uD654\uC694\uC77C","\uC218\uC694\uC77C","\uBAA9\uC694\uC77C","\uAE08\uC694\uC77C","\uD1A0\uC694\uC77C"],["\uC77C","\uC6D4","\uD654","\uC218","\uBAA9","\uAE08","\uD1A0"]],void 0,[["1\uC6D4","2\uC6D4","3\uC6D4","4\uC6D4","5\uC6D4","6\uC6D4","7\uC6D4","8\uC6D4","9\uC6D4","10\uC6D4","11\uC6D4","12\uC6D4"]],void 0,[["BC","AD"],void 0,["\uAE30\uC6D0\uC804","\uC11C\uAE30"]],0,[6,0],["yy. M. d.","y. M. d.","y\uB144 M\uC6D4 d\uC77C","y\uB144 M\uC6D4 d\uC77C EEEE"],["a h:mm","a h:mm:ss","a h\uC2DC m\uBD84 s\uCD08 z","a h\uC2DC m\uBD84 s\uCD08 zzzz"],["{1} {0}",void 0,void 0,void 0],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"KRW","\u20A9","\uB300\uD55C\uBBFC\uAD6D \uC6D0",{AUD:["AU$","$"],BYN:[void 0,"\u0440."],JPY:["JP\xA5","\xA5"],PHP:[void 0,"\u20B1"],RON:[void 0,"L"],TWD:["NT$"],USD:["US$","$"]},"ltr",Bi];function Ki(n){let t=n,e=Math.floor(Math.abs(n)),r=n.toString().replace(/^[^.]*\.?/,"").length,s=parseInt(n.toString().replace(/^[^.]*\.?/,""),10)||0;return r===0&&e%10===1&&e%100!==11||s%10===1&&s%100!==11?1:5}var Rn=["mk",[["\u043F\u0440\u0435\u0442\u043F\u043B.","\u043F\u043E\u043F\u043B."],void 0,["\u043F\u0440\u0435\u0442\u043F\u043B\u0430\u0434\u043D\u0435","\u043F\u043E\u043F\u043B\u0430\u0434\u043D\u0435"]],void 0,[["\u043D","\u043F","\u0432","\u0441","\u0447","\u043F","\u0441"],["\u043D\u0435\u0434.","\u043F\u043E\u043D.","\u0432\u0442\u043E.","\u0441\u0440\u0435.","\u0447\u0435\u0442.","\u043F\u0435\u0442.","\u0441\u0430\u0431."],["\u043D\u0435\u0434\u0435\u043B\u0430","\u043F\u043E\u043D\u0435\u0434\u0435\u043B\u043D\u0438\u043A","\u0432\u0442\u043E\u0440\u043D\u0438\u043A","\u0441\u0440\u0435\u0434\u0430","\u0447\u0435\u0442\u0432\u0440\u0442\u043E\u043A","\u043F\u0435\u0442\u043E\u043A","\u0441\u0430\u0431\u043E\u0442\u0430"],["\u043D\u0435\u0434.","\u043F\u043E\u043D.","\u0432\u0442\u043E.","\u0441\u0440\u0435.","\u0447\u0435\u0442.","\u043F\u0435\u0442.","\u0441\u0430\u0431."]],void 0,[["\u0458","\u0444","\u043C","\u0430","\u043C","\u0458","\u0458","\u0430","\u0441","\u043E","\u043D","\u0434"],["\u0458\u0430\u043D.","\u0444\u0435\u0432.","\u043C\u0430\u0440.","\u0430\u043F\u0440.","\u043C\u0430\u0458","\u0458\u0443\u043D.","\u0458\u0443\u043B.","\u0430\u0432\u0433.","\u0441\u0435\u043F\u0442.","\u043E\u043A\u0442.","\u043D\u043E\u0435\u043C.","\u0434\u0435\u043A."],["\u0458\u0430\u043D\u0443\u0430\u0440\u0438","\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438","\u043C\u0430\u0440\u0442","\u0430\u043F\u0440\u0438\u043B","\u043C\u0430\u0458","\u0458\u0443\u043D\u0438","\u0458\u0443\u043B\u0438","\u0430\u0432\u0433\u0443\u0441\u0442","\u0441\u0435\u043F\u0442\u0435\u043C\u0432\u0440\u0438","\u043E\u043A\u0442\u043E\u043C\u0432\u0440\u0438","\u043D\u043E\u0435\u043C\u0432\u0440\u0438","\u0434\u0435\u043A\u0435\u043C\u0432\u0440\u0438"]],void 0,[["\u043F.\u043D.\u0435.","\u043D.\u0435."],void 0,["\u043F\u0440\u0435\u0434 \u043D\u0430\u0448\u0430\u0442\u0430 \u0435\u0440\u0430","\u043E\u0434 \u043D\u0430\u0448\u0430\u0442\u0430 \u0435\u0440\u0430"]],1,[6,0],["d.M.yy","d.M.y","d MMMM y","EEEE, d MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1}, '\u0432\u043E' {0}",void 0,void 0,void 0],[",",".",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0\xA0%","#,##0.00\xA0\xA4","#E0"],"MKD","\u0434\u0435\u043D.","\u041C\u0430\u043A\u0435\u0434\u043E\u043D\u0441\u043A\u0438 \u0434\u0435\u043D\u0430\u0440",{AUD:[void 0,"$"],BYN:[void 0,"\u0440."],CNY:[void 0,"\xA5"],GBP:[void 0,"\xA3"],HKD:[void 0,"$"],ILS:[void 0,"\u20AA"],INR:[void 0,"\u20B9"],JPY:[void 0,"\xA5"],KRW:[void 0,"\u20A9"],MKD:["\u0434\u0435\u043D."],NZD:[void 0,"$"],PHP:[void 0,"\u20B1"],TWD:[void 0,"NT$"],USD:["US$","$"],VND:[void 0,"\u20AB"]},"ltr",Ki];function ji(n){return n===1?1:5}var kn=["nb",[["a","p"],["a.m.","p.m."]],[["a.m.","p.m."]],[["S","M","T","O","T","F","L"],["s\xF8n.","man.","tir.","ons.","tor.","fre.","l\xF8r."],["s\xF8ndag","mandag","tirsdag","onsdag","torsdag","fredag","l\xF8rdag"],["s\xF8.","ma.","ti.","on.","to.","fr.","l\xF8."]],void 0,[["J","F","M","A","M","J","J","A","S","O","N","D"],["jan.","feb.","mar.","apr.","mai","jun.","jul.","aug.","sep.","okt.","nov.","des."],["januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember"]],[["J","F","M","A","M","J","J","A","S","O","N","D"],["jan","feb","mar","apr","mai","jun","jul","aug","sep","okt","nov","des"],["januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember"]],[["f.Kr.","e.Kr."],void 0,["f\xF8r Kristus","etter Kristus"]],1,[6,0],["dd.MM.y","d. MMM y","d. MMMM y","EEEE d. MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1}, {0}",void 0,"{1} 'kl'. {0}",void 0],[",","\xA0",";","%","+","\u2212","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0\xA0%","\xA4\xA0#,##0.00;\xA4\xA0-#,##0.00","#E0"],"NOK","kr","norske kroner",{AUD:[void 0,"$"],BRL:[void 0,"R$"],BYN:[void 0,"\u0440."],CAD:[void 0,"$"],CNY:[void 0,"\xA5"],HKD:[void 0,"$"],ILS:[void 0,"\u20AA"],INR:[void 0,"\u20B9"],JPY:[void 0,"\xA5"],KRW:[void 0,"\u20A9"],MXN:[void 0,"$"],NOK:["kr"],NZD:[void 0,"$"],PHP:[void 0,"\u20B1"],RON:[void 0,"L"],TWD:[void 0,"NT$"],USD:[void 0,"$"],VND:[void 0,"\u20AB"],XAF:[],XCD:[void 0,"$"],XPF:[],XXX:[]},"ltr",ji];function Ui(n){let t=n,e=Math.floor(Math.abs(n)),r=n.toString().replace(/^[^.]*\.?/,"").length;return e===1&&r===0?1:5}var $n=["nl",[["a.m.","p.m."]],void 0,[["Z","M","D","W","D","V","Z"],["zo","ma","di","wo","do","vr","za"],["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"],["zo","ma","di","wo","do","vr","za"]],void 0,[["J","F","M","A","M","J","J","A","S","O","N","D"],["jan.","feb.","mrt.","apr.","mei","jun.","jul.","aug.","sep.","okt.","nov.","dec."],["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"]],void 0,[["v.C.","n.C."],["v.Chr.","n.Chr."],["voor Christus","na Christus"]],1,[6,0],["dd-MM-y","d MMM y","d MMMM y","EEEE d MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1} {0}",void 0,"{1} 'om' {0}",void 0],[",",".",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4\xA0#,##0.00;\xA4\xA0-#,##0.00","#E0"],"EUR","\u20AC","Euro",{AUD:["AU$","$"],BYN:[void 0,"\u0440."],CAD:["C$","$"],FJD:["FJ$","$"],JPY:["JP\xA5","\xA5"],PHP:[void 0,"\u20B1"],RUR:[void 0,"\u0440."],SBD:["SI$","$"],THB:["\u0E3F"],TWD:["NT$"],USD:["US$","$"],XPF:[],XXX:[]},"ltr",Ui];function Ji(n){let t=n,e=Math.floor(Math.abs(n)),r=n.toString().replace(/^[^.]*\.?/,"").length;return e===1&&r===0?1:r===0&&e%10===Math.floor(e%10)&&e%10>=2&&e%10<=4&&!(e%100>=12&&e%100<=14)?3:r===0&&e!==1&&e%10===Math.floor(e%10)&&e%10>=0&&e%10<=1||r===0&&e%10===Math.floor(e%10)&&e%10>=5&&e%10<=9||r===0&&e%100===Math.floor(e%100)&&e%100>=12&&e%100<=14?4:5}var Hn=["pl",[["a","p"],["AM","PM"]],void 0,[["n","p","w","\u015B","c","p","s"],["niedz.","pon.","wt.","\u015Br.","czw.","pt.","sob."],["niedziela","poniedzia\u0142ek","wtorek","\u015Broda","czwartek","pi\u0105tek","sobota"],["nie","pon","wto","\u015Bro","czw","pi\u0105","sob"]],[["N","P","W","\u015A","C","P","S"],["niedz.","pon.","wt.","\u015Br.","czw.","pt.","sob."],["niedziela","poniedzia\u0142ek","wtorek","\u015Broda","czwartek","pi\u0105tek","sobota"],["nie","pon","wto","\u015Bro","czw","pi\u0105","sob"]],[["s","l","m","k","m","c","l","s","w","p","l","g"],["sty","lut","mar","kwi","maj","cze","lip","sie","wrz","pa\u017A","lis","gru"],["stycznia","lutego","marca","kwietnia","maja","czerwca","lipca","sierpnia","wrze\u015Bnia","pa\u017Adziernika","listopada","grudnia"]],[["S","L","M","K","M","C","L","S","W","P","L","G"],["sty","lut","mar","kwi","maj","cze","lip","sie","wrz","pa\u017A","lis","gru"],["stycze\u0144","luty","marzec","kwiecie\u0144","maj","czerwiec","lipiec","sierpie\u0144","wrzesie\u0144","pa\u017Adziernik","listopad","grudzie\u0144"]],[["p.n.e.","n.e."],void 0,["przed nasz\u0105 er\u0105","naszej ery"]],1,[6,0],["d.MM.y","d MMM y","d MMMM y","EEEE, d MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1}, {0}",void 0,"{1} {0}",void 0],[",","\xA0",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","#,##0.00\xA0\xA4","#E0"],"PLN","z\u0142","z\u0142oty polski",{AUD:[void 0,"$"],CAD:[void 0,"$"],CNY:[void 0,"\xA5"],GBP:[void 0,"\xA3"],HKD:[void 0,"$"],ILS:[void 0,"\u20AA"],INR:[void 0,"\u20B9"],JPY:[void 0,"\xA5"],KRW:[void 0,"\u20A9"],MXN:[void 0,"$"],NZD:[void 0,"$"],PHP:[void 0,"\u20B1"],PLN:["z\u0142"],RON:[void 0,"lej"],TWD:[void 0,"NT$"],USD:[void 0,"$"],VND:[void 0,"\u20AB"]},"ltr",Ji];function Gi(n){let t=n,e=Math.floor(Math.abs(n)),r=n.toString().replace(/^[^.]*\.?/,"").length,s=parseInt(n.toString().replace(/^[^e]*(e([-+]?\d+))?/,"$2"))||0;return e===Math.floor(e)&&e>=0&&e<=1?1:s===0&&e!==0&&e%1e6===0&&r===0||!(s>=0&&s<=5)?4:5}var Fn=["pt",[["AM","PM"]],void 0,[["D","S","T","Q","Q","S","S"],["dom.","seg.","ter.","qua.","qui.","sex.","s\xE1b."],["domingo","segunda-feira","ter\xE7a-feira","quarta-feira","quinta-feira","sexta-feira","s\xE1bado"],["dom.","seg.","ter.","qua.","qui.","sex.","s\xE1b."]],void 0,[["J","F","M","A","M","J","J","A","S","O","N","D"],["jan.","fev.","mar.","abr.","mai.","jun.","jul.","ago.","set.","out.","nov.","dez."],["janeiro","fevereiro","mar\xE7o","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro"]],void 0,[["a.C.","d.C."],void 0,["antes de Cristo","depois de Cristo"]],0,[6,0],["dd/MM/y","d 'de' MMM 'de' y","d 'de' MMMM 'de' y","EEEE, d 'de' MMMM 'de' y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1} {0}",void 0,void 0,void 0],[",",".",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4\xA0#,##0.00","#E0"],"BRL","R$","Real brasileiro",{AUD:["AU$","$"],BYN:[void 0,"\u0440."],JPY:["JP\xA5","\xA5"],PHP:[void 0,"\u20B1"],PTE:["Esc."],RON:[void 0,"L"],SYP:[void 0,"S\xA3"],THB:["\u0E3F"],TWD:["NT$"],USD:["US$","$"]},"ltr",Gi];function Wi(n){let t=n,e=Math.floor(Math.abs(n)),r=n.toString().replace(/^[^.]*\.?/,"").length;return r===0&&e%10===1&&e%100!==11?1:r===0&&e%10===Math.floor(e%10)&&e%10>=2&&e%10<=4&&!(e%100>=12&&e%100<=14)?3:r===0&&e%10===0||r===0&&e%10===Math.floor(e%10)&&e%10>=5&&e%10<=9||r===0&&e%100===Math.floor(e%100)&&e%100>=11&&e%100<=14?4:5}var Ln=["ru",[["AM","PM"]],void 0,[["\u0412","\u041F","\u0412","\u0421","\u0427","\u041F","\u0421"],["\u0432\u0441","\u043F\u043D","\u0432\u0442","\u0441\u0440","\u0447\u0442","\u043F\u0442","\u0441\u0431"],["\u0432\u043E\u0441\u043A\u0440\u0435\u0441\u0435\u043D\u044C\u0435","\u043F\u043E\u043D\u0435\u0434\u0435\u043B\u044C\u043D\u0438\u043A","\u0432\u0442\u043E\u0440\u043D\u0438\u043A","\u0441\u0440\u0435\u0434\u0430","\u0447\u0435\u0442\u0432\u0435\u0440\u0433","\u043F\u044F\u0442\u043D\u0438\u0446\u0430","\u0441\u0443\u0431\u0431\u043E\u0442\u0430"],["\u0432\u0441","\u043F\u043D","\u0432\u0442","\u0441\u0440","\u0447\u0442","\u043F\u0442","\u0441\u0431"]],void 0,[["\u042F","\u0424","\u041C","\u0410","\u041C","\u0418","\u0418","\u0410","\u0421","\u041E","\u041D","\u0414"],["\u044F\u043D\u0432.","\u0444\u0435\u0432\u0440.","\u043C\u0430\u0440.","\u0430\u043F\u0440.","\u043C\u0430\u044F","\u0438\u044E\u043D.","\u0438\u044E\u043B.","\u0430\u0432\u0433.","\u0441\u0435\u043D\u0442.","\u043E\u043A\u0442.","\u043D\u043E\u044F\u0431.","\u0434\u0435\u043A."],["\u044F\u043D\u0432\u0430\u0440\u044F","\u0444\u0435\u0432\u0440\u0430\u043B\u044F","\u043C\u0430\u0440\u0442\u0430","\u0430\u043F\u0440\u0435\u043B\u044F","\u043C\u0430\u044F","\u0438\u044E\u043D\u044F","\u0438\u044E\u043B\u044F","\u0430\u0432\u0433\u0443\u0441\u0442\u0430","\u0441\u0435\u043D\u0442\u044F\u0431\u0440\u044F","\u043E\u043A\u0442\u044F\u0431\u0440\u044F","\u043D\u043E\u044F\u0431\u0440\u044F","\u0434\u0435\u043A\u0430\u0431\u0440\u044F"]],[["\u042F","\u0424","\u041C","\u0410","\u041C","\u0418","\u0418","\u0410","\u0421","\u041E","\u041D","\u0414"],["\u044F\u043D\u0432.","\u0444\u0435\u0432\u0440.","\u043C\u0430\u0440\u0442","\u0430\u043F\u0440.","\u043C\u0430\u0439","\u0438\u044E\u043D\u044C","\u0438\u044E\u043B\u044C","\u0430\u0432\u0433.","\u0441\u0435\u043D\u0442.","\u043E\u043A\u0442.","\u043D\u043E\u044F\u0431.","\u0434\u0435\u043A."],["\u044F\u043D\u0432\u0430\u0440\u044C","\u0444\u0435\u0432\u0440\u0430\u043B\u044C","\u043C\u0430\u0440\u0442","\u0430\u043F\u0440\u0435\u043B\u044C","\u043C\u0430\u0439","\u0438\u044E\u043D\u044C","\u0438\u044E\u043B\u044C","\u0430\u0432\u0433\u0443\u0441\u0442","\u0441\u0435\u043D\u0442\u044F\u0431\u0440\u044C","\u043E\u043A\u0442\u044F\u0431\u0440\u044C","\u043D\u043E\u044F\u0431\u0440\u044C","\u0434\u0435\u043A\u0430\u0431\u0440\u044C"]],[["\u0434\u043E \u043D.\u044D.","\u043D.\u044D."],["\u0434\u043E \u043D. \u044D.","\u043D. \u044D."],["\u0434\u043E \u0420\u043E\u0436\u0434\u0435\u0441\u0442\u0432\u0430 \u0425\u0440\u0438\u0441\u0442\u043E\u0432\u0430","\u043E\u0442 \u0420\u043E\u0436\u0434\u0435\u0441\u0442\u0432\u0430 \u0425\u0440\u0438\u0441\u0442\u043E\u0432\u0430"]],1,[6,0],["dd.MM.y","d MMM y '\u0433'.","d MMMM y '\u0433'.","EEEE, d MMMM y '\u0433'."],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1}, {0}",void 0,void 0,void 0],[",","\xA0",";","%","+","-","E","\xD7","\u2030","\u221E","\u043D\u0435\xA0\u0447\u0438\u0441\u043B\u043E",":"],["#,##0.###","#,##0\xA0%","#,##0.00\xA0\xA4","#E0"],"RUB","\u20BD","\u0440\u043E\u0441\u0441\u0438\u0439\u0441\u043A\u0438\u0439 \u0440\u0443\u0431\u043B\u044C",{BYN:[void 0,"\u0440."],GEL:[void 0,"\u10DA"],PHP:[void 0,"\u20B1"],RON:[void 0,"L"],RUB:["\u20BD"],RUR:["\u0440."],THB:["\u0E3F"],TMT:["\u0422\u041C\u0422"],TWD:["NT$"],UAH:["\u20B4"],XXX:["XXXX"]},"ltr",Wi];function qi(n){let t=n,e=Math.floor(Math.abs(n)),r=n.toString().replace(/^[^.]*\.?/,"").length;return r===0&&e%100===1?1:r===0&&e%100===2?2:r===0&&e%100===Math.floor(e%100)&&e%100>=3&&e%100<=4||r!==0?3:5}var On=["sl",[["d","p"],["dop.","pop."]],[["d","p"],["dop.","pop."],["dopoldne","popoldne"]],[["n","p","t","s","\u010D","p","s"],["ned.","pon.","tor.","sre.","\u010Det.","pet.","sob."],["nedelja","ponedeljek","torek","sreda","\u010Detrtek","petek","sobota"],["ned.","pon.","tor.","sre.","\u010Det.","pet.","sob."]],void 0,[["j","f","m","a","m","j","j","a","s","o","n","d"],["jan.","feb.","mar.","apr.","maj","jun.","jul.","avg.","sep.","okt.","nov.","dec."],["januar","februar","marec","april","maj","junij","julij","avgust","september","oktober","november","december"]],void 0,[["pr. Kr.","po Kr."],void 0,["pred Kristusom","po Kristusu"]],1,[6,0],["d. MM. yy","d. MMM y","d. MMMM y","EEEE, d. MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1}, {0}",void 0,"{1} {0}",void 0],[",",".",";","%","+","\u2212","e","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0\xA0%","#,##0.00\xA0\xA4","#E0"],"EUR","\u20AC","evro",{AUD:[void 0,"$"],BRL:[void 0,"R$"],BYN:[void 0,"\u0440."],CAD:[void 0,"$"],GBP:[void 0,"\xA3"],MXN:[void 0,"$"],NZD:[void 0,"$"],PHP:[void 0,"\u20B1"],TWD:[void 0,"NT$"],XCD:[void 0,"$"]},"ltr",qi];function Vi(n){let t=n,e=Math.floor(Math.abs(n)),r=n.toString().replace(/^[^.]*\.?/,"").length;return e===1&&r===0?1:5}var In=["sv",[["fm","em"]],[["fm","em"],["f.m.","e.m."],["f\xF6rmiddag","eftermiddag"]],[["S","M","T","O","T","F","L"],["s\xF6n","m\xE5n","tis","ons","tors","fre","l\xF6r"],["s\xF6ndag","m\xE5ndag","tisdag","onsdag","torsdag","fredag","l\xF6rdag"],["s\xF6","m\xE5","ti","on","to","fr","l\xF6"]],void 0,[["J","F","M","A","M","J","J","A","S","O","N","D"],["jan.","feb.","mars","apr.","maj","juni","juli","aug.","sep.","okt.","nov.","dec."],["januari","februari","mars","april","maj","juni","juli","augusti","september","oktober","november","december"]],void 0,[["f.Kr.","e.Kr."],void 0,["f\xF6re Kristus","efter Kristus"]],1,[6,0],["y-MM-dd","d MMM y","d MMMM y","EEEE d MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1} {0}",void 0,void 0,void 0],[",","\xA0",";","%","+","\u2212","\xD710^","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0\xA0%","#,##0.00\xA0\xA4","#E0"],"SEK","kr","svensk krona",{AUD:[void 0,"$"],BBD:["Bds$","$"],BMD:["BM$","$"],BRL:["BR$","R$"],BSD:["BS$","$"],BYN:[void 0,"\u0440."],BZD:["BZ$","$"],CNY:[void 0,"\xA5"],DKK:["Dkr","kr"],DOP:["RD$","$"],EEK:["Ekr"],EGP:["EG\xA3","E\xA3"],ESP:[],GBP:[void 0,"\xA3"],HKD:[void 0,"$"],IEP:["IE\xA3"],INR:[void 0,"\u20B9"],ISK:["Ikr","kr"],JMD:["JM$","$"],JPY:[void 0,"\xA5"],KRW:[void 0,"\u20A9"],NOK:["Nkr","kr"],NZD:[void 0,"$"],PHP:[void 0,"\u20B1"],RON:[void 0,"L"],SEK:["kr"],TWD:[void 0,"NT$"],USD:["US$","$"],VND:[void 0,"\u20AB"]},"ltr",Vi];function Yi(n){let t=n;return 5}var Bn=["th",[["a","p"],["\u0E01\u0E48\u0E2D\u0E19\u0E40\u0E17\u0E35\u0E48\u0E22\u0E07","\u0E2B\u0E25\u0E31\u0E07\u0E40\u0E17\u0E35\u0E48\u0E22\u0E07"]],[["\u0E01\u0E48\u0E2D\u0E19\u0E40\u0E17\u0E35\u0E48\u0E22\u0E07","\u0E2B\u0E25\u0E31\u0E07\u0E40\u0E17\u0E35\u0E48\u0E22\u0E07"]],[["\u0E2D\u0E32","\u0E08","\u0E2D","\u0E1E","\u0E1E\u0E24","\u0E28","\u0E2A"],["\u0E2D\u0E32.","\u0E08.","\u0E2D.","\u0E1E.","\u0E1E\u0E24.","\u0E28.","\u0E2A."],["\u0E27\u0E31\u0E19\u0E2D\u0E32\u0E17\u0E34\u0E15\u0E22\u0E4C","\u0E27\u0E31\u0E19\u0E08\u0E31\u0E19\u0E17\u0E23\u0E4C","\u0E27\u0E31\u0E19\u0E2D\u0E31\u0E07\u0E04\u0E32\u0E23","\u0E27\u0E31\u0E19\u0E1E\u0E38\u0E18","\u0E27\u0E31\u0E19\u0E1E\u0E24\u0E2B\u0E31\u0E2A\u0E1A\u0E14\u0E35","\u0E27\u0E31\u0E19\u0E28\u0E38\u0E01\u0E23\u0E4C","\u0E27\u0E31\u0E19\u0E40\u0E2A\u0E32\u0E23\u0E4C"],["\u0E2D\u0E32.","\u0E08.","\u0E2D.","\u0E1E.","\u0E1E\u0E24.","\u0E28.","\u0E2A."]],void 0,[["\u0E21.\u0E04.","\u0E01.\u0E1E.","\u0E21\u0E35.\u0E04.","\u0E40\u0E21.\u0E22.","\u0E1E.\u0E04.","\u0E21\u0E34.\u0E22.","\u0E01.\u0E04.","\u0E2A.\u0E04.","\u0E01.\u0E22.","\u0E15.\u0E04.","\u0E1E.\u0E22.","\u0E18.\u0E04."],void 0,["\u0E21\u0E01\u0E23\u0E32\u0E04\u0E21","\u0E01\u0E38\u0E21\u0E20\u0E32\u0E1E\u0E31\u0E19\u0E18\u0E4C","\u0E21\u0E35\u0E19\u0E32\u0E04\u0E21","\u0E40\u0E21\u0E29\u0E32\u0E22\u0E19","\u0E1E\u0E24\u0E29\u0E20\u0E32\u0E04\u0E21","\u0E21\u0E34\u0E16\u0E38\u0E19\u0E32\u0E22\u0E19","\u0E01\u0E23\u0E01\u0E0E\u0E32\u0E04\u0E21","\u0E2A\u0E34\u0E07\u0E2B\u0E32\u0E04\u0E21","\u0E01\u0E31\u0E19\u0E22\u0E32\u0E22\u0E19","\u0E15\u0E38\u0E25\u0E32\u0E04\u0E21","\u0E1E\u0E24\u0E28\u0E08\u0E34\u0E01\u0E32\u0E22\u0E19","\u0E18\u0E31\u0E19\u0E27\u0E32\u0E04\u0E21"]],void 0,[["\u0E01\u0E48\u0E2D\u0E19 \u0E04.\u0E28.","\u0E04.\u0E28."],void 0,["\u0E1B\u0E35\u0E01\u0E48\u0E2D\u0E19\u0E04\u0E23\u0E34\u0E2A\u0E15\u0E01\u0E32\u0E25","\u0E04\u0E23\u0E34\u0E2A\u0E15\u0E4C\u0E28\u0E31\u0E01\u0E23\u0E32\u0E0A"]],0,[6,0],["d/M/yy","d MMM y","d MMMM G y","EEEE\u0E17\u0E35\u0E48 d MMMM G y"],["HH:mm","HH:mm:ss","H \u0E19\u0E32\u0E2C\u0E34\u0E01\u0E32 mm \u0E19\u0E32\u0E17\u0E35 ss \u0E27\u0E34\u0E19\u0E32\u0E17\u0E35 z","H \u0E19\u0E32\u0E2C\u0E34\u0E01\u0E32 mm \u0E19\u0E32\u0E17\u0E35 ss \u0E27\u0E34\u0E19\u0E32\u0E17\u0E35 zzzz"],["{1} {0}",void 0,void 0,void 0],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"THB","\u0E3F","\u0E1A\u0E32\u0E17",{AUD:["AU$","$"],BYN:[void 0,"\u0440."],PHP:[void 0,"\u20B1"],THB:["\u0E3F"],TWD:["NT$"],USD:["US$","$"],XXX:[]},"ltr",Yi];function Xi(n){return n===1?1:5}var Kn=["tr",[["\xF6\xF6","\xF6s"],["\xD6\xD6","\xD6S"]],[["\xD6\xD6","\xD6S"]],[["P","P","S","\xC7","P","C","C"],["Paz","Pzt","Sal","\xC7ar","Per","Cum","Cmt"],["Pazar","Pazartesi","Sal\u0131","\xC7ar\u015Famba","Per\u015Fembe","Cuma","Cumartesi"],["Pa","Pt","Sa","\xC7a","Pe","Cu","Ct"]],void 0,[["O","\u015E","M","N","M","H","T","A","E","E","K","A"],["Oca","\u015Eub","Mar","Nis","May","Haz","Tem","A\u011Fu","Eyl","Eki","Kas","Ara"],["Ocak","\u015Eubat","Mart","Nisan","May\u0131s","Haziran","Temmuz","A\u011Fustos","Eyl\xFCl","Ekim","Kas\u0131m","Aral\u0131k"]],void 0,[["M\xD6","MS"],void 0,["Milattan \xD6nce","Milattan Sonra"]],1,[6,0],["d.MM.y","d MMM y","d MMMM y","d MMMM y EEEE"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1} {0}",void 0,void 0,void 0],[",",".",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","%#,##0","\xA4#,##0.00","#E0"],"TRY","\u20BA","T\xFCrk Liras\u0131",{AUD:["AU$","$"],BYN:[void 0,"\u0440."],PHP:[void 0,"\u20B1"],RON:[void 0,"L"],RUR:[void 0,"\u0440."],THB:["\u0E3F"],TRY:["\u20BA"],TWD:["NT$"]},"ltr",Xi];function Qi(n){let t=n,e=Math.floor(Math.abs(n)),r=n.toString().replace(/^[^.]*\.?/,"").length;return r===0&&e%10===1&&e%100!==11?1:r===0&&e%10===Math.floor(e%10)&&e%10>=2&&e%10<=4&&!(e%100>=12&&e%100<=14)?3:r===0&&e%10===0||r===0&&e%10===Math.floor(e%10)&&e%10>=5&&e%10<=9||r===0&&e%100===Math.floor(e%100)&&e%100>=11&&e%100<=14?4:5}var jn=["uk",[["\u0434\u043F","\u043F\u043F"]],void 0,[["\u041D","\u041F","\u0412","\u0421","\u0427","\u041F","\u0421"],["\u043D\u0434","\u043F\u043D","\u0432\u0442","\u0441\u0440","\u0447\u0442","\u043F\u0442","\u0441\u0431"],["\u043D\u0435\u0434\u0456\u043B\u044F","\u043F\u043E\u043D\u0435\u0434\u0456\u043B\u043E\u043A","\u0432\u0456\u0432\u0442\u043E\u0440\u043E\u043A","\u0441\u0435\u0440\u0435\u0434\u0430","\u0447\u0435\u0442\u0432\u0435\u0440","\u043F\u02BC\u044F\u0442\u043D\u0438\u0446\u044F","\u0441\u0443\u0431\u043E\u0442\u0430"],["\u043D\u0434","\u043F\u043D","\u0432\u0442","\u0441\u0440","\u0447\u0442","\u043F\u0442","\u0441\u0431"]],void 0,[["\u0441","\u043B","\u0431","\u043A","\u0442","\u0447","\u043B","\u0441","\u0432","\u0436","\u043B","\u0433"],["\u0441\u0456\u0447.","\u043B\u044E\u0442.","\u0431\u0435\u0440.","\u043A\u0432\u0456\u0442.","\u0442\u0440\u0430\u0432.","\u0447\u0435\u0440\u0432.","\u043B\u0438\u043F.","\u0441\u0435\u0440\u043F.","\u0432\u0435\u0440.","\u0436\u043E\u0432\u0442.","\u043B\u0438\u0441\u0442.","\u0433\u0440\u0443\u0434."],["\u0441\u0456\u0447\u043D\u044F","\u043B\u044E\u0442\u043E\u0433\u043E","\u0431\u0435\u0440\u0435\u0437\u043D\u044F","\u043A\u0432\u0456\u0442\u043D\u044F","\u0442\u0440\u0430\u0432\u043D\u044F","\u0447\u0435\u0440\u0432\u043D\u044F","\u043B\u0438\u043F\u043D\u044F","\u0441\u0435\u0440\u043F\u043D\u044F","\u0432\u0435\u0440\u0435\u0441\u043D\u044F","\u0436\u043E\u0432\u0442\u043D\u044F","\u043B\u0438\u0441\u0442\u043E\u043F\u0430\u0434\u0430","\u0433\u0440\u0443\u0434\u043D\u044F"]],[["\u0421","\u041B","\u0411","\u041A","\u0422","\u0427","\u041B","\u0421","\u0412","\u0416","\u041B","\u0413"],["\u0441\u0456\u0447","\u043B\u044E\u0442","\u0431\u0435\u0440","\u043A\u0432\u0456","\u0442\u0440\u0430","\u0447\u0435\u0440","\u043B\u0438\u043F","\u0441\u0435\u0440","\u0432\u0435\u0440","\u0436\u043E\u0432","\u043B\u0438\u0441","\u0433\u0440\u0443"],["\u0441\u0456\u0447\u0435\u043D\u044C","\u043B\u044E\u0442\u0438\u0439","\u0431\u0435\u0440\u0435\u0437\u0435\u043D\u044C","\u043A\u0432\u0456\u0442\u0435\u043D\u044C","\u0442\u0440\u0430\u0432\u0435\u043D\u044C","\u0447\u0435\u0440\u0432\u0435\u043D\u044C","\u043B\u0438\u043F\u0435\u043D\u044C","\u0441\u0435\u0440\u043F\u0435\u043D\u044C","\u0432\u0435\u0440\u0435\u0441\u0435\u043D\u044C","\u0436\u043E\u0432\u0442\u0435\u043D\u044C","\u043B\u0438\u0441\u0442\u043E\u043F\u0430\u0434","\u0433\u0440\u0443\u0434\u0435\u043D\u044C"]],[["\u0434\u043E \u043D.\u0435.","\u043D.\u0435."],["\u0434\u043E \u043D. \u0435.","\u043D. \u0435."],["\u0434\u043E \u043D\u0430\u0448\u043E\u0457 \u0435\u0440\u0438","\u043D\u0430\u0448\u043E\u0457 \u0435\u0440\u0438"]],1,[6,0],["dd.MM.yy","d MMM y '\u0440'.","d MMMM y '\u0440'.","EEEE, d MMMM y '\u0440'."],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1}, {0}",void 0,"{1} '\u043E' {0}",void 0],[",","\xA0",";","%","+","-","\u0415","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","#,##0.00\xA0\xA4","#E0"],"UAH","\u20B4","\u0443\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0430 \u0433\u0440\u0438\u0432\u043D\u044F",{AUD:[void 0,"$"],BRL:[void 0,"R$"],BYN:[void 0,"\u0440."],CAD:[void 0,"$"],CNY:[void 0,"\xA5"],EUR:[void 0,"\u20AC"],GBP:[void 0,"\xA3"],HKD:[void 0,"$"],ILS:[void 0,"\u20AA"],INR:[void 0,"\u20B9"],KRW:[void 0,"\u20A9"],MXN:[void 0,"$"],NZD:[void 0,"$"],PHP:[void 0,"\u20B1"],RUR:[void 0,"\u0440."],TWD:[void 0,"$"],UAH:["\u20B4"],UAK:["\u043A\u0440\u0431."],USD:[void 0,"$"],VND:[void 0,"\u20AB"],XCD:[void 0,"$"]},"ltr",Qi];function xi(n){let t=n;return 5}var Un=["zh-Hans",[["\u4E0A\u5348","\u4E0B\u5348"]],void 0,[["\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"],["\u5468\u65E5","\u5468\u4E00","\u5468\u4E8C","\u5468\u4E09","\u5468\u56DB","\u5468\u4E94","\u5468\u516D"],["\u661F\u671F\u65E5","\u661F\u671F\u4E00","\u661F\u671F\u4E8C","\u661F\u671F\u4E09","\u661F\u671F\u56DB","\u661F\u671F\u4E94","\u661F\u671F\u516D"],["\u5468\u65E5","\u5468\u4E00","\u5468\u4E8C","\u5468\u4E09","\u5468\u56DB","\u5468\u4E94","\u5468\u516D"]],void 0,[["1","2","3","4","5","6","7","8","9","10","11","12"],["1\u6708","2\u6708","3\u6708","4\u6708","5\u6708","6\u6708","7\u6708","8\u6708","9\u6708","10\u6708","11\u6708","12\u6708"],["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00\u6708","\u5341\u4E8C\u6708"]],void 0,[["\u516C\u5143\u524D","\u516C\u5143"]],0,[6,0],["y/M/d","y\u5E74M\u6708d\u65E5",void 0,"y\u5E74M\u6708d\u65E5EEEE"],["HH:mm","HH:mm:ss","z HH:mm:ss","zzzz HH:mm:ss"],["{1} {0}",void 0,void 0,void 0],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"CNY","\xA5","\u4EBA\u6C11\u5E01",{AUD:["AU$","$"],BYN:[void 0,"\u0440."],CNY:["\xA5"],ILR:["ILS"],JPY:["JP\xA5","\xA5"],KRW:["\uFFE6","\u20A9"],PHP:[void 0,"\u20B1"],RUR:[void 0,"\u0440."],TWD:["NT$"],USD:["US$","$"],XXX:[]},"ltr",xi];function Zi(n){let t=n;return 5}var Jn=["zh-Hant",[["\u4E0A\u5348","\u4E0B\u5348"]],void 0,[["\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"],["\u9031\u65E5","\u9031\u4E00","\u9031\u4E8C","\u9031\u4E09","\u9031\u56DB","\u9031\u4E94","\u9031\u516D"],["\u661F\u671F\u65E5","\u661F\u671F\u4E00","\u661F\u671F\u4E8C","\u661F\u671F\u4E09","\u661F\u671F\u56DB","\u661F\u671F\u4E94","\u661F\u671F\u516D"],["\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"]],void 0,[["1","2","3","4","5","6","7","8","9","10","11","12"],["1\u6708","2\u6708","3\u6708","4\u6708","5\u6708","6\u6708","7\u6708","8\u6708","9\u6708","10\u6708","11\u6708","12\u6708"]],void 0,[["\u897F\u5143\u524D","\u897F\u5143"]],0,[6,0],["y/M/d","y\u5E74M\u6708d\u65E5",void 0,"y\u5E74M\u6708d\u65E5 EEEE"],["Bh:mm","Bh:mm:ss","Bh:mm:ss [z]","Bh:mm:ss [zzzz]"],["{1} {0}",void 0,void 0,void 0],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","\u975E\u6578\u503C",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"TWD","$","\u65B0\u53F0\u5E63",{AUD:["AU$","$"],BYN:[void 0,"\u0440."],KRW:["\uFFE6","\u20A9"],PHP:[void 0,"\u20B1"],RON:[void 0,"L"],RUR:[void 0,"\u0440."],TWD:["$"],USD:["US$","$"],XXX:[]},"ltr",Zi];v(bn);v(vn);v(Nn);v(Hn);v(_n);v(Ln);v(Un);v(Jn);v(wn);v(Cn);v(Tn);v($n);v(Kn);v(Dn);v(Sn);v(In);v(kn);v(On);v(Fn);v(Pn);v(En);v(zn);v(Rn);v(Bn);v(jn);v(An);var Ht={en:"en",de:"de",fi:"fi",fr:"fr",pl:"pl",cs:"cs",ru:"ru","zh-CN":"zh-Hans","zh-TW":"zh-Hant",hu:"hu",ja:"ja",es:"es",nl:"nl",tr:"tr",it:"it",bg:"bg",sl:"sl",sv:"sv",no:"nb",pt:"pt","pt-BR":"pt",id:"id",ca:"ca",ko:"ko",mk:"mk",th:"th",uk:"uk",he:"he"};var Gn=(()=>{class n{static \u0275fac=function(r){return new(r||n)};static \u0275mod=B({type:n});static \u0275inj=I({providers:[et]})}return n})();var Wn=(()=>{class n{static \u0275fac=function(r){return new(r||n)};static \u0275mod=B({type:n});static \u0275inj=I({})}return n})();var qn=(()=>{class n{static \u0275fac=function(r){return new(r||n)};static \u0275mod=B({type:n});static \u0275inj=I({providers:[hr(fr())],imports:[yr,pr]})}return n})();globalThis.backup={maxBackupSize:25*1024*1024,maxBackupSizeText:"25MB",maxBackupFileSize:10*1024*1024,maxBackupFileSizeText:"10MB"};globalThis.terminal={bufferSize:5e4};globalThis.webroot={errorCode:"EACCES"};me.production&&void 0;var Vn="./assets/monaco/min/vs",eo={baseUrl:Vn,defaultOptions:{automaticLayout:!0,copyWithSyntaxHighlighting:!0,ignoreTrimWhitespace:!1,scrollBeyondLastLine:!1,quickSuggestions:!0,parameterHints:!0,formatOnType:!0,formatOnPaste:!0,folding:!0,"bracketPairColorization.enabled":!0,minimap:{enabled:!1}},onMonacoLoad:()=>{window.MonacoEnvironment={getWorker(){return new Worker(`${Vn}/base/worker/workerMain.js`)}},gr()}};tr(yn,{providers:[jt(rr,lr.forRoot({autoDismiss:!0,newestOnTop:!1,closeButton:!0,maxOpened:2,positionClass:"toast-bottom-right"}),sr,ar.forRoot(eo),or.forRoot(),Mn,Gn,qn,Wn,gn,Xt),{provide:Yt,useFactory:n=>n.getCurrentLang()in Ht?Ht[n.getCurrentLang()]:"en",deps:[ze]},pn(),Qt(Zt(),xt()),ir({fallbackLang:"en",lang:"en"})]}).catch(n=>console.error(n));
@@ -1 +0,0 @@
1
- import{a as n}from"./chunk-VMLNVXCL.js";import"./chunk-PHTV4OM7.js";import"./chunk-UDQEYLU7.js";import"./chunk-QZF4EB22.js";import"./chunk-W6X5DVD5.js";import"./chunk-55HYMJBU.js";import"./chunk-UOJOCD7W.js";import"./chunk-IRYK7NUM.js";import"./chunk-KANB2ARW.js";import"./chunk-A3BKR6VK.js";import"./chunk-3T2NXEM5.js";import"./chunk-NSGFRJXN.js";import"./chunk-EDX2ENGN.js";import"./chunk-AJXWRGZ7.js";import"./chunk-ZCLWXDAG.js";import"./chunk-OJX2J4IO.js";import"./chunk-PYA6JJYU.js";import{h as r}from"./chunk-NVNWS3JF.js";import"./chunk-WGVJTFLN.js";import"./chunk-EPNOJESR.js";import{$a as i,fa as t}from"./chunk-KB2F2YYC.js";var l=[{path:"",loadComponent:()=>import("./chunk-OF6YGNIY.js").then(o=>o.PluginsComponent)}],u=(()=>{class o{static \u0275fac=function(e){return new(e||o)};static \u0275mod=i({type:o});static \u0275inj=t({imports:[r.forChild(l),r]})}return o})();var f=(()=>{class o{static \u0275fac=function(e){return new(e||o)};static \u0275mod=i({type:o});static \u0275inj=t({imports:[n,u]})}return o})();export{f as PluginsModule};
@@ -1 +0,0 @@
1
- import{$a as bt,$c as zt,Ac as Kt,B as at,C as lt,D as Pt,Db as Tt,Fa as Ht,Fb as $t,Ga as gt,Gb as V,Ib as f,L as Mt,La as a,Mc as Ct,O as P,Oa as mt,Sa as Bt,Sb as $,Ub as v,Va as L,Vb as b,X as ut,Xb as x,_ as ct,_a as vt,a as c,b as F,bb as Vt,e as ne,ea as d,eb as N,fa as ht,ha as Y,ia as S,id as qt,ja as u,jb as W,ka as Nt,kb as H,n as p,oa as dt,pa as ft,r as k,rb as h,sa as J,sb as g,t as D,ta as pt,tb as m,ub as B,wa as M,x as ot,yb as _t,za as Q,zb as yt}from"./chunk-KB2F2YYC.js";var Xt=ne((Li,Ne)=>{Ne.exports={name:"homebridge-config-ui-x",displayName:"Homebridge UI",version:"5.8.1-beta.6",description:"A web based management, configuration and control platform for Homebridge.",author:"oznu <dev@oz.nu>",license:"MIT",funding:[{type:"github",url:"https://github.com/sponsors/oznu"},{type:"paypal",url:"https://paypal.me/oznu"}],repository:{type:"git",url:"git+https://github.com/homebridge/homebridge-config-ui-x.git"},bugs:{url:"https://github.com/homebridge/homebridge-config-ui-x/issues"},keywords:["homebridge-plugin","ui","gui","web","homebridge","homebridge-config-ui-x","ui-x","config-ui-x","homebridge-x","homebridge server","homebridge ui","homebridge-ui","homebridge gui","homebridge-gui","web interface","config ui","management","config editor","linux","macOS","osx","windows","raspberry pi","accessory control","smart home","hb-service"],main:"./dist/index.js",bin:{"hb-service":"dist/bin/hb-service.js"},engines:{node:"^20.19.0 || ^22.12.0 || ^24.0.0",homebridge:"^1.8.0 || ^2.0.0-alpha.0"},scripts:{build:"npm run build:server && npm run build:ui","build:server":"rimraf dist && tsc -p tsconfig.build.json","build:ui":"npm run build --prefix ui",check:"npm run check:server && npm run check:ui","check:server":"npm install && npm outdated","check:ui":"npm install --prefix ui && npm outdated --prefix ui","lang-sync":"ts-node scripts/lang-sync.ts",lint:"eslint . --max-warnings=0","lint:fix":"npm run lint -- --fix",prepublishOnly:"npm i --package-lock-only && npm run lint && npm run build",start:"ts-node -r tsconfig-paths/register src/main.ts",test:"vitest run","test-coverage":"npm run test -- --coverage","upgrade-install":"./scripts/upgrade-install.sh",watch:'concurrently "npm run watch:ui" "npm run watch:server"',"watch:server":"nodemon","watch:ui":"npm run start --prefix ui"},dependencies:{"@fastify/helmet":"13.0.2","@fastify/multipart":"9.2.1","@fastify/static":"8.3.0","@homebridge/hap-client":"3.1.2","@homebridge/node-pty-prebuilt-multiarch":"0.13.1","@nestjs/axios":"4.0.1","@nestjs/common":"11.1.6","@nestjs/core":"11.1.6","@nestjs/jwt":"11.0.1","@nestjs/passport":"11.0.5","@nestjs/platform-fastify":"11.1.6","@nestjs/platform-socket.io":"11.1.6","@nestjs/swagger":"11.2.1","@nestjs/websockets":"11.1.6",axios:"1.12.2","bash-color":"0.0.4","bonjour-service":"^1.3.0","class-transformer":"0.5.1","class-validator":"0.14.2",commander:"14.0.1",dayjs:"1.11.18",fastify:"5.6.1","fs-extra":"11.3.2",jsonwebtoken:"9.0.2",lodash:"4.17.21","node-cache":"5.1.2","node-schedule":"2.1.1",ora:"9.0.0",otplib:"12.0.1","p-limit":"7.2.0",passport:"0.7.0","passport-jwt":"4.0.1","reflect-metadata":"0.2.2",rxjs:"7.8.2",semver:"7.7.3",systeminformation:"5.27.11",tail:"2.2.6",tar:"7.5.1","tcp-port-used":"1.0.2",unzipper:"0.12.3"},devDependencies:{"@antfu/eslint-config":"^6.0.0","@nestjs/testing":"^11.1.6","@prettier/plugin-xml":"^3.4.2","@types/fs-extra":"^11.0.4","@types/lodash":"^4.17.20","@types/node":"^24.9.1","@types/node-schedule":"^2.1.8","@types/passport-jwt":"^4.0.1","@types/semver":"^7.7.1","@types/tail":"^2.2.3","@types/tcp-port-used":"^1.0.4","@types/unzipper":"^0.10.11","@vitest/coverage-v8":"^3.2.4",concurrently:"^9.2.1","eslint-plugin-format":"^1.0.2","form-data":"^4.0.4",nodemon:"^3.1.10",rimraf:"^6.0.1","ts-loader":"^9.5.4","ts-node":"^10.9.2","tsconfig-paths":"^4.2.0",typescript:"^5.9.3","unplugin-swc":"^1.5.8",vitest:"^3.2.4"},overrides:{"@homebridge/hap-client":{axios:"1.12.2"},"@nestjs/platform-fastify":{fastify:"5.6.1"}},maintainers:[{email:"bwp91@icloud.com",name:"bwp91"},{email:"dev@oz.nu",name:"oznu"},{email:"northern.man1@gmail.com",name:"northernman"},{email:"mail@anderl-bauer.de",name:"supereg"},{email:"khaos.tian@gmail.com",name:"khaost"},{email:"erik.baauw@xs4all.nl",name:"ebaauw"},{email:"donavan.becker@icloud.com",name:"donavanbecker"},{email:"dustin.greif@gmail.com",name:"dustin.greif"},{email:"nfarina@gmail.com",name:"nfarina"}],scarfSettings:{enabled:!1}}});var y=(function(e){return e[e.State=0]="State",e[e.Transition=1]="Transition",e[e.Sequence=2]="Sequence",e[e.Group=3]="Group",e[e.Animate=4]="Animate",e[e.Keyframes=5]="Keyframes",e[e.Style=6]="Style",e[e.Trigger=7]="Trigger",e[e.Reference=8]="Reference",e[e.AnimateChild=9]="AnimateChild",e[e.AnimateRef=10]="AnimateRef",e[e.Query=11]="Query",e[e.Stagger=12]="Stagger",e})(y||{}),se="*";function Lt(e,n){return{type:y.Trigger,name:e,definitions:n,options:{}}}function X(e,n=null){return{type:y.Animate,styles:n,timings:e}}function He(e,n=null){return{type:y.Sequence,steps:e,options:n}}function K(e){return{type:y.Style,styles:e,offset:null}}function z(e,n,t){return{type:y.State,name:e,styles:n,options:t}}function tt(e,n,t=null){return{type:y.Transition,expr:e,animation:n,options:t}}var wt=class{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(n=0,t=0){this.totalTime=n+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(n=>n()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(n){this._position=this.totalTime?n*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(n){let t=n=="start"?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}},Dt=class{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(n){this.players=n;let t=0,i=0,s=0,r=this.players.length;r==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(o=>{o.onDone(()=>{++t==r&&this._onFinish()}),o.onDestroy(()=>{++i==r&&this._onDestroy()}),o.onStart(()=>{++s==r&&this._onStart()})}),this.totalTime=this.players.reduce((o,l)=>Math.max(o,l.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this.players.forEach(n=>n.init())}onStart(n){this._onStartFns.push(n)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(n=>n()),this._onStartFns=[])}onDone(n){this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(n=>n.play())}pause(){this.players.forEach(n=>n.pause())}restart(){this.players.forEach(n=>n.restart())}finish(){this._onFinish(),this.players.forEach(n=>n.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(n=>n.destroy()),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this.players.forEach(n=>n.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(n){let t=n*this.totalTime;this.players.forEach(i=>{let s=i.totalTime?Math.min(1,t/i.totalTime):1;i.setPosition(s)})}getPosition(){let n=this.players.reduce((t,i)=>t===null||i.totalTime>t.totalTime?i:t,null);return n!=null?n.getPosition():0}beforeDestroy(){this.players.forEach(n=>{n.beforeDestroy&&n.beforeDestroy()})}triggerCallback(n){let t=n=="start"?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}},re="!";var G=class{},le=(()=>{class e{handle(t){return t.key}static \u0275fac=function(i){return new(i||e)};static \u0275prov=d({token:e,factory:e.\u0275fac})}return e})(),O=class{},ue=(()=>{class e extends O{compile(t,i){return t}compileTranslations(t,i){return t}static \u0275fac=(()=>{let t;return function(s){return(t||(t=Q(e)))(s||e)}})();static \u0275prov=d({token:e,factory:e.\u0275fac})}return e})(),E=class{},ce=(()=>{class e extends E{getTranslation(t){return k({})}static \u0275fac=(()=>{let t;return function(s){return(t||(t=Q(e)))(s||e)}})();static \u0275prov=d({token:e,factory:e.\u0275fac})}return e})();function et(e,n){if(e===n)return!0;if(e===null||n===null)return!1;if(e!==e&&n!==n)return!0;let t=typeof e,i=typeof n,s;if(t==i&&t=="object")if(Array.isArray(e)){if(!Array.isArray(n))return!1;if((s=e.length)==n.length){for(let r=0;r<s;r++)if(!et(e[r],n[r]))return!1;return!0}}else{if(Array.isArray(n))return!1;if(_(e)&&_(n)){let r=Object.create(null);for(let o in e){if(!et(e[o],n[o]))return!1;r[o]=!0}for(let o in n)if(!(o in r)&&typeof n[o]<"u")return!1;return!0}}return!1}function T(e){return typeof e<"u"&&e!==null}function Zt(e){return e!==void 0}function _(e){return Z(e)&&!I(e)&&e!==null}function Z(e){return typeof e=="object"&&e!==null}function I(e){return Array.isArray(e)}function it(e){return typeof e=="string"}function he(e){return typeof e=="function"}function nt(e){if(I(e))return e.map(n=>nt(n));if(_(e)){let n={};return Object.keys(e).forEach(t=>{n[t]=nt(e[t])}),n}else return e}function St(e,n){if(!Z(e))return nt(n);let t=nt(e);return Z(t)&&Z(n)&&Object.keys(n).forEach(i=>{_(n[i])?i in e?t[i]=St(e[i],n[i]):Object.assign(t,{[i]:n[i]}):Object.assign(t,{[i]:n[i]})}),t}function Ut(e,n){let t=n.split(".");n="";do{n+=t.shift();let i=!t.length;if(T(e)){if(_(e)&&Zt(e[n])&&(_(e[n])||I(e[n])||i)){e=e[n],n="";continue}if(I(e)){let s=parseInt(n,10);if(Zt(e[s])&&(_(e[s])||I(e[s])||i)){e=e[s],n="";continue}}}if(i){e=void 0;continue}n+="."}while(t.length);return e}function de(e,n,t){return St(e,fe(n,t))}function fe(e,n){return e.split(".").reduceRight((t,i)=>({[i]:t}),n)}var A=class{},pe=(()=>{class e extends A{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(t,i){if(it(t))return this.interpolateString(t,i);if(he(t))return this.interpolateFunction(t,i)}interpolateFunction(t,i){return t(i)}interpolateString(t,i){return i?t.replace(this.templateMatcher,(s,r)=>{let o=this.getInterpolationReplacement(i,r);return o!==void 0?o:s}):t}getInterpolationReplacement(t,i){return this.formatValue(Ut(t,i))}formatValue(t){if(it(t))return t;if(typeof t=="number"||typeof t=="boolean")return t.toString();if(t===null)return"null";if(I(t))return t.join(", ");if(Z(t))return typeof t.toString=="function"&&t.toString!==Object.prototype.toString?t.toString():JSON.stringify(t)}static \u0275fac=(()=>{let t;return function(s){return(t||(t=Q(e)))(s||e)}})();static \u0275prov=d({token:e,factory:e.\u0275fac})}return e})(),xt=(()=>{class e{_onTranslationChange=new p;_onLangChange=new p;_onFallbackLangChange=new p;fallbackLang=null;currentLang;translations={};languages=[];getTranslations(t){return this.translations[t]}setTranslations(t,i,s){this.translations[t]=s&&this.hasTranslationFor(t)?St(this.translations[t],i):i,this.addLanguages([t]),this._onTranslationChange.next({lang:t,translations:this.getTranslations(t)})}getLanguages(){return this.languages}getCurrentLang(){return this.currentLang}getFallbackLang(){return this.fallbackLang}setFallbackLang(t,i=!0){this.fallbackLang=t,i&&this._onFallbackLangChange.next({lang:t,translations:this.translations[t]})}setCurrentLang(t,i=!0){this.currentLang=t,i&&this._onLangChange.next({lang:t,translations:this.translations[t]})}get onTranslationChange(){return this._onTranslationChange.asObservable()}get onLangChange(){return this._onLangChange.asObservable()}get onFallbackLangChange(){return this._onFallbackLangChange.asObservable()}addLanguages(t){this.languages=Array.from(new Set([...this.languages,...t]))}hasTranslationFor(t){return typeof this.translations[t]<"u"}deleteTranslations(t){delete this.translations[t]}getTranslation(t){let i=this.getValue(this.currentLang,t);return i===void 0&&this.fallbackLang!=null&&this.fallbackLang!==this.currentLang&&(i=this.getValue(this.fallbackLang,t)),i}getValue(t,i){return Ut(this.getTranslations(t),i)}static \u0275fac=function(i){return new(i||e)};static \u0275prov=d({token:e,factory:e.\u0275fac})}return e})(),It=new Y("TRANSLATE_CONFIG"),q=e=>D(e)?e:k(e);var Ft=(()=>{class e{loadingTranslations;pending=!1;_translationRequests={};lastUseLanguage=null;currentLoader=u(E);compiler=u(O);parser=u(A);missingTranslationHandler=u(G);store=u(xt);extend=!1;get onTranslationChange(){return this.store.onTranslationChange}get onLangChange(){return this.store.onLangChange}get onFallbackLangChange(){return this.store.onFallbackLangChange}get onDefaultLangChange(){return this.store.onFallbackLangChange}constructor(){let t=c({extend:!1,fallbackLang:null},u(It,{optional:!0}));t.lang&&this.use(t.lang),t.fallbackLang&&this.setFallbackLang(t.fallbackLang),t.extend&&(this.extend=!0)}setFallbackLang(t){this.getFallbackLang()||this.store.setFallbackLang(t,!1);let i=this.loadOrExtendLanguage(t);return D(i)?(i.pipe(P(1)).subscribe({next:()=>{this.store.setFallbackLang(t)},error:()=>{}}),i):(this.store.setFallbackLang(t),k(this.store.getTranslations(t)))}use(t){this.lastUseLanguage=t,this.getCurrentLang()||this.store.setCurrentLang(t,!1);let i=this.loadOrExtendLanguage(t);return D(i)?(i.pipe(P(1)).subscribe({next:()=>{this.changeLang(t)},error:()=>{}}),i):(this.changeLang(t),k(this.store.getTranslations(t)))}loadOrExtendLanguage(t){if(!this.store.hasTranslationFor(t)||this.extend)return this._translationRequests[t]=this._translationRequests[t]||this.loadAndCompileTranslations(t),this._translationRequests[t]}changeLang(t){t===this.lastUseLanguage&&this.store.setCurrentLang(t)}getCurrentLang(){return this.store.getCurrentLang()}loadAndCompileTranslations(t){this.pending=!0;let i=this.currentLoader.getTranslation(t).pipe(ut(1),P(1));return this.loadingTranslations=i.pipe(ot(s=>this.compiler.compileTranslations(s,t)),ut(1),P(1)),this.loadingTranslations.subscribe({next:s=>{this.store.setTranslations(t,s,this.extend),this.pending=!1},error:s=>{this.pending=!1}}),i}setTranslation(t,i,s=!1){let r=this.compiler.compileTranslations(i,t);this.store.setTranslations(t,r,s||this.extend)}getLangs(){return this.store.getLanguages()}addLangs(t){this.store.addLanguages(t)}getParsedResultForKey(t,i){let s=this.getTextToInterpolate(t);if(T(s))return this.runInterpolation(s,i);let r=this.missingTranslationHandler.handle(c({key:t,translateService:this},i!==void 0&&{interpolateParams:i}));return r!==void 0?r:t}getFallbackLang(){return this.store.getFallbackLang()}getTextToInterpolate(t){return this.store.getTranslation(t)}runInterpolation(t,i){if(T(t))return I(t)?this.runInterpolationOnArray(t,i):_(t)?this.runInterpolationOnDict(t,i):this.parser.interpolate(t,i)}runInterpolationOnArray(t,i){return t.map(s=>this.runInterpolation(s,i))}runInterpolationOnDict(t,i){let s={};for(let r in t){let o=this.runInterpolation(t[r],i);o!==void 0&&(s[r]=o)}return s}getParsedResult(t,i){return t instanceof Array?this.getParsedResultForArray(t,i):this.getParsedResultForKey(t,i)}getParsedResultForArray(t,i){let s={},r=!1;for(let l of t)s[l]=this.getParsedResultForKey(l,i),r=r||D(s[l]);if(!r)return s;let o=t.map(l=>q(s[l]));return Pt(o).pipe(ot(l=>{let C={};return l.forEach((U,w)=>{C[t[w]]=U}),C}))}get(t,i){if(!T(t)||!t.length)throw new Error('Parameter "key" is required and cannot be empty');return this.pending?this.loadingTranslations.pipe(Mt(()=>q(this.getParsedResult(t,i)))):q(this.getParsedResult(t,i))}getStreamOnTranslationChange(t,i){if(!T(t)||!t.length)throw new Error('Parameter "key" is required and cannot be empty');return at(lt(()=>this.get(t,i)),this.onTranslationChange.pipe(ct(()=>{let s=this.getParsedResult(t,i);return q(s)})))}stream(t,i){if(!T(t)||!t.length)throw new Error('Parameter "key" required');return at(lt(()=>this.get(t,i)),this.onLangChange.pipe(ct(()=>{let s=this.getParsedResult(t,i);return q(s)})))}instant(t,i){if(!T(t)||t.length===0)throw new Error('Parameter "key" is required and cannot be empty');let s=this.getParsedResult(t,i);return D(s)?Array.isArray(t)?t.reduce((r,o)=>(r[o]=o,r),{}):t:s}set(t,i,s=this.getCurrentLang()){this.store.setTranslations(s,de(this.store.getTranslations(s),t,it(i)?this.compiler.compile(i,s):this.compiler.compileTranslations(i,s)),!1)}reloadLang(t){return this.resetLang(t),this.loadAndCompileTranslations(t)}resetLang(t){delete this._translationRequests[t],this.store.deleteTranslations(t)}static getBrowserLang(){if(typeof window>"u"||!window.navigator)return;let t=this.getBrowserCultureLang();return t?t.split(/[-_]/)[0]:void 0}static getBrowserCultureLang(){if(!(typeof window>"u"||typeof window.navigator>"u"))return window.navigator.languages?window.navigator.languages[0]:window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage}getBrowserLang(){return e.getBrowserLang()}getBrowserCultureLang(){return e.getBrowserCultureLang()}get defaultLang(){return this.getFallbackLang()}get currentLang(){return this.store.getCurrentLang()}get langs(){return this.store.getLanguages()}setDefaultLang(t){return this.setFallbackLang(t)}getDefaultLang(){return this.getFallbackLang()}static \u0275fac=function(i){return new(i||e)};static \u0275prov=d({token:e,factory:e.\u0275fac})}return e})();var Ye=(()=>{class e{translate=u(Ft);_ref=u(Kt);value="";lastKey=null;lastParams=[];onTranslationChange;onLangChange;onFallbackLangChange;updateValue(t,i,s){let r=o=>{this.value=o!==void 0?o:t,this.lastKey=t,this._ref.markForCheck()};if(s){let o=this.translate.getParsedResult(t,i);D(o)?o.subscribe(r):r(o)}this.translate.get(t,i).subscribe(r)}transform(t,...i){if(!t||!t.length)return t;if(et(t,this.lastKey)&&et(i,this.lastParams))return this.value;let s;if(T(i[0])&&i.length)if(it(i[0])&&i[0].length){let r=i[0].replace(/(')?([a-zA-Z0-9_]+)(')?(\s)?:/g,'"$2":').replace(/:(\s)?(')(.*?)(')/g,':"$3"');try{s=JSON.parse(r)}catch(o){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${i[0]}`)}}else _(i[0])&&(s=i[0]);return this.lastKey=t,this.lastParams=i,this.updateValue(t,s),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(r=>{(this.lastKey&&r.lang===this.translate.getCurrentLang()||r.lang===this.translate.getFallbackLang())&&(this.lastKey=null,this.updateValue(t,s,r.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(r=>{this.lastKey&&(this.lastKey=null,this.updateValue(t,s,r.translations))})),this.onFallbackLangChange||(this.onFallbackLangChange=this.translate.onFallbackLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(t,s))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onFallbackLangChange<"u"&&(this.onFallbackLangChange.unsubscribe(),this.onFallbackLangChange=void 0)}ngOnDestroy(){this._dispose()}static \u0275fac=function(i){return new(i||e)};static \u0275pipe=Vt({name:"translate",type:e,pure:!1});static \u0275prov=d({token:e,factory:e.\u0275fac})}return e})();function ge(e){return{provide:E,useClass:e}}function me(e){return{provide:O,useClass:e}}function ve(e){return{provide:A,useClass:e}}function be(e){return{provide:G,useClass:e}}function Je(e={}){return _e(c({compiler:me(ue),parser:ve(pe),loader:ge(ce),missingTranslationHandler:be(le)},e),!0)}function _e(e={},n){let t=[];e.loader&&t.push(e.loader),e.compiler&&t.push(e.compiler),e.parser&&t.push(e.parser),e.missingTranslationHandler&&t.push(e.missingTranslationHandler),n&&t.push(xt),(e.useDefaultLang||e.defaultLanguage)&&(console.warn("The `useDefaultLang` and `defaultLanguage` options are deprecated. Please use `fallbackLang` instead."),e.useDefaultLang===!0&&e.defaultLanguage&&(e.fallbackLang=e.defaultLanguage));let i={fallbackLang:e.fallbackLang??null,lang:e.lang,extend:e.extend??!1};return t.push({provide:It,useValue:i}),t.push({provide:Ft,useClass:Ft,deps:[xt,E,O,A,G,It]}),t}var Yt=["toast-component",""];function ye(e,n){if(e&1){let t=Tt();g(0,"button",5),V("click",function(){dt(t);let s=f();return ft(s.remove())}),g(1,"span",6),b(2,"\xD7"),m()()}}function Te(e,n){if(e&1&&(_t(0),b(1),yt()),e&2){let t=f(2);a(),x("[",t.duplicatesCount+1,"]")}}function Ce(e,n){if(e&1&&(g(0,"div"),b(1),N(2,Te,2,1,"ng-container",4),m()),e&2){let t=f();v(t.options.titleClass),H("aria-label",t.title),a(),x(" ",t.title," "),a(),h("ngIf",t.duplicatesCount)}}function we(e,n){if(e&1&&B(0,"div",7),e&2){let t=f();v(t.options.messageClass),h("innerHTML",t.message,gt)}}function De(e,n){if(e&1&&(g(0,"div",8),b(1),m()),e&2){let t=f();v(t.options.messageClass),H("aria-label",t.message),a(),x(" ",t.message," ")}}function Le(e,n){if(e&1&&(g(0,"div"),B(1,"div",9),m()),e&2){let t=f();a(),$("width",t.width()+"%")}}function xe(e,n){if(e&1){let t=Tt();g(0,"button",5),V("click",function(){dt(t);let s=f();return ft(s.remove())}),g(1,"span",6),b(2,"\xD7"),m()()}}function Ie(e,n){if(e&1&&(_t(0),b(1),yt()),e&2){let t=f(2);a(),x("[",t.duplicatesCount+1,"]")}}function Fe(e,n){if(e&1&&(g(0,"div"),b(1),N(2,Ie,2,1,"ng-container",4),m()),e&2){let t=f();v(t.options.titleClass),H("aria-label",t.title),a(),x(" ",t.title," "),a(),h("ngIf",t.duplicatesCount)}}function Se(e,n){if(e&1&&B(0,"div",7),e&2){let t=f();v(t.options.messageClass),h("innerHTML",t.message,gt)}}function Oe(e,n){if(e&1&&(g(0,"div",8),b(1),m()),e&2){let t=f();v(t.options.messageClass),H("aria-label",t.message),a(),x(" ",t.message," ")}}function Ee(e,n){if(e&1&&(g(0,"div"),B(1,"div",9),m()),e&2){let t=f();a(),$("width",t.width()+"%")}}var Ot=class{_attachedHost;component;viewContainerRef;injector;constructor(n,t){this.component=n,this.injector=t}attach(n,t){return this._attachedHost=n,n.attach(this,t)}detach(){let n=this._attachedHost;if(n)return this._attachedHost=void 0,n.detach()}get isAttached(){return this._attachedHost!=null}setAttachedHost(n){this._attachedHost=n}},Et=class{_attachedPortal;_disposeFn;attach(n,t){return this._attachedPortal=n,this.attachComponentPortal(n,t)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(n){this._disposeFn=n}},At=class{_overlayRef;componentInstance;duplicatesCount=0;_afterClosed=new p;_activate=new p;_manualClose=new p;_resetTimeout=new p;_countDuplicate=new p;constructor(n){this._overlayRef=n}manualClose(){this._manualClose.next(),this._manualClose.complete()}manualClosed(){return this._manualClose.asObservable()}timeoutReset(){return this._resetTimeout.asObservable()}countDuplicate(){return this._countDuplicate.asObservable()}close(){this._overlayRef.detach(),this._afterClosed.next(),this._manualClose.next(),this._afterClosed.complete(),this._manualClose.complete(),this._activate.complete(),this._resetTimeout.complete(),this._countDuplicate.complete()}afterClosed(){return this._afterClosed.asObservable()}isInactive(){return this._activate.isStopped}activate(){this._activate.next(),this._activate.complete()}afterActivate(){return this._activate.asObservable()}onDuplicate(n,t){n&&this._resetTimeout.next(),t&&this._countDuplicate.next(++this.duplicatesCount)}},j=class{toastId;config;message;title;toastType;toastRef;_onTap=new p;_onAction=new p;constructor(n,t,i,s,r,o){this.toastId=n,this.config=t,this.message=i,this.title=s,this.toastType=r,this.toastRef=o,this.toastRef.afterClosed().subscribe(()=>{this._onAction.complete(),this._onTap.complete()})}triggerTap(){this._onTap.next(),this.config.tapToDismiss&&this._onTap.complete()}onTap(){return this._onTap.asObservable()}triggerAction(n){this._onAction.next(n)}onAction(){return this._onAction.asObservable()}},Jt={maxOpened:0,autoDismiss:!1,newestOnTop:!0,preventDuplicates:!1,countDuplicates:!1,resetTimeoutOnDuplicate:!1,includeTitleDuplicates:!1,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},closeButton:!1,disableTimeOut:!1,timeOut:5e3,extendedTimeOut:1e3,enableHtml:!1,progressBar:!1,toastClass:"ngx-toastr",positionClass:"toast-top-right",titleClass:"toast-title",messageClass:"toast-message",easing:"ease-in",easeTime:300,tapToDismiss:!0,onActivateTick:!1,progressAnimation:"decreasing"},Qt=new Y("ToastConfig"),jt=class extends Et{_hostDomElement;_componentFactoryResolver;_appRef;constructor(n,t,i){super(),this._hostDomElement=n,this._componentFactoryResolver=t,this._appRef=i}attachComponentPortal(n,t){let i=this._componentFactoryResolver.resolveComponentFactory(n.component),s;return s=i.create(n.injector),this._appRef.attachView(s.hostView),this.setDisposeFn(()=>{this._appRef.detachView(s.hostView),s.destroy()}),t?this._hostDomElement.insertBefore(this._getComponentRootNode(s),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(s)),s}_getComponentRootNode(n){return n.hostView.rootNodes[0]}},Ae=(()=>{class e{_document=u(pt);_containerElement;ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let t=this._document.createElement("div");t.classList.add("overlay-container"),t.setAttribute("aria-live","polite"),this._document.body.appendChild(t),this._containerElement=t}static \u0275fac=function(i){return new(i||e)};static \u0275prov=d({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Rt=class{_portalHost;constructor(n){this._portalHost=n}attach(n,t=!0){return this._portalHost.attach(n,t)}detach(){return this._portalHost.detach()}},je=(()=>{class e{_overlayContainer=u(Ae);_componentFactoryResolver=u(Bt);_appRef=u(W);_document=u(pt);_paneElements=new Map;create(t,i){return this._createOverlayRef(this.getPaneElement(t,i))}getPaneElement(t="",i){return this._paneElements.get(i)||this._paneElements.set(i,{}),this._paneElements.get(i)[t]||(this._paneElements.get(i)[t]=this._createPaneElement(t,i)),this._paneElements.get(i)[t]}_createPaneElement(t,i){let s=this._document.createElement("div");return s.id="toast-container",s.classList.add(t),s.classList.add("toast-container"),i?i.getContainerElement().appendChild(s):this._overlayContainer.getContainerElement().appendChild(s),s}_createPortalHost(t){return new jt(t,this._componentFactoryResolver,this._appRef)}_createOverlayRef(t){return new Rt(this._createPortalHost(t))}static \u0275fac=function(i){return new(i||e)};static \u0275prov=d({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Wt=(()=>{class e{overlay;_injector;sanitizer;ngZone;toastrConfig;currentlyActive=0;toasts=[];overlayContainer;previousToastMessage;index=0;constructor(t,i,s,r,o){this.overlay=i,this._injector=s,this.sanitizer=r,this.ngZone=o,this.toastrConfig=c(c({},t.default),t.config),t.config.iconClasses&&(this.toastrConfig.iconClasses=c(c({},t.default.iconClasses),t.config.iconClasses))}show(t,i,s={},r=""){return this._preBuildNotification(r,t,i,this.applyConfig(s))}success(t,i,s={}){let r=this.toastrConfig.iconClasses.success||"";return this._preBuildNotification(r,t,i,this.applyConfig(s))}error(t,i,s={}){let r=this.toastrConfig.iconClasses.error||"";return this._preBuildNotification(r,t,i,this.applyConfig(s))}info(t,i,s={}){let r=this.toastrConfig.iconClasses.info||"";return this._preBuildNotification(r,t,i,this.applyConfig(s))}warning(t,i,s={}){let r=this.toastrConfig.iconClasses.warning||"";return this._preBuildNotification(r,t,i,this.applyConfig(s))}clear(t){for(let i of this.toasts)if(t!==void 0){if(i.toastId===t){i.toastRef.manualClose();return}}else i.toastRef.manualClose()}remove(t){let i=this._findToast(t);if(!i||(i.activeToast.toastRef.close(),this.toasts.splice(i.index,1),this.currentlyActive=this.currentlyActive-1,!this.toastrConfig.maxOpened||!this.toasts.length))return!1;if(this.currentlyActive<this.toastrConfig.maxOpened&&this.toasts[this.currentlyActive]){let s=this.toasts[this.currentlyActive].toastRef;s.isInactive()||(this.currentlyActive=this.currentlyActive+1,s.activate())}return!0}findDuplicate(t="",i="",s,r){let{includeTitleDuplicates:o}=this.toastrConfig;for(let l of this.toasts){let C=o&&l.title===t;if((!o||C)&&l.message===i)return l.toastRef.onDuplicate(s,r),l}return null}applyConfig(t={}){return c(c({},this.toastrConfig),t)}_findToast(t){for(let i=0;i<this.toasts.length;i++)if(this.toasts[i].toastId===t)return{index:i,activeToast:this.toasts[i]};return null}_preBuildNotification(t,i,s,r){return r.onActivateTick?this.ngZone.run(()=>this._buildNotification(t,i,s,r)):this._buildNotification(t,i,s,r)}_buildNotification(t,i,s,r){if(!r.toastComponent)throw new Error("toastComponent required");let o=this.findDuplicate(s,i,this.toastrConfig.resetTimeoutOnDuplicate&&r.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&s||i)&&this.toastrConfig.preventDuplicates&&o!==null)return o;this.previousToastMessage=i;let l=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(l=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));let C=this.overlay.create(r.positionClass,this.overlayContainer);this.index=this.index+1;let U=i;i&&r.enableHtml&&(U=this.sanitizer.sanitize(Ht.HTML,i));let w=new At(C),st=new j(this.index,r,U,s,t,w),te=[{provide:j,useValue:st}],ee=J.create({providers:te,parent:this._injector}),ie=new Ot(r.toastComponent,ee),kt=C.attach(ie,r.newestOnTop);w.componentInstance=kt.instance;let rt={toastId:this.index,title:s||"",message:i||"",toastRef:w,onShown:w.afterActivate(),onHidden:w.afterClosed(),onTap:st.onTap(),onAction:st.onAction(),portal:kt};return l||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{rt.toastRef.activate()})),this.toasts.push(rt),rt}static \u0275fac=function(i){return new(i||e)(S(Qt),S(je),S(J),S(qt),S(mt))};static \u0275prov=d({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Re=(()=>{class e{toastrService;toastPackage;ngZone;message;title;options;duplicatesCount;originalTimeout;width=M(-1);toastClasses="";state;get _state(){return this.state()}get displayStyle(){if(this.state().value==="inactive")return"none"}timeout;intervalId;hideTime;sub;sub1;sub2;sub3;constructor(t,i,s){this.toastrService=t,this.toastPackage=i,this.ngZone=s,this.message=i.message,this.title=i.title,this.options=i.config,this.originalTimeout=i.config.timeOut,this.toastClasses=`${i.toastType} ${i.config.toastClass}`,this.sub=i.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=i.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=i.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=i.toastRef.countDuplicate().subscribe(r=>{this.duplicatesCount=r}),this.state=M({value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}})}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state.update(t=>F(c({},t),{value:"active"})),!(this.options.disableTimeOut===!0||this.options.disableTimeOut==="timeOut")&&this.options.timeOut&&(this.outsideTimeout(()=>this.remove(),this.options.timeOut),this.hideTime=new Date().getTime()+this.options.timeOut,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}updateProgress(){if(this.width()===0||this.width()===100||!this.options.timeOut)return;let t=new Date().getTime(),i=this.hideTime-t;this.width.set(i/this.options.timeOut*100),this.options.progressAnimation==="increasing"&&this.width.update(s=>100-s),this.width()<=0&&this.width.set(0),this.width()>=100&&this.width.set(100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state.update(t=>F(c({},t),{value:"active"})),this.outsideTimeout(()=>this.remove(),this.originalTimeout),this.options.timeOut=this.originalTimeout,this.hideTime=new Date().getTime()+(this.options.timeOut||0),this.width.set(-1),this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10)}remove(){this.state().value!=="removed"&&(clearTimeout(this.timeout),this.state.update(t=>F(c({},t),{value:"removed"})),this.outsideTimeout(()=>this.toastrService.remove(this.toastPackage.toastId),+this.toastPackage.config.easeTime))}tapToast(){this.state().value!=="removed"&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){this.state().value!=="removed"&&this.options.disableTimeOut!=="extendedTimeOut"&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width.set(0))}delayedHideToast(){this.options.disableTimeOut===!0||this.options.disableTimeOut==="extendedTimeOut"||this.options.extendedTimeOut===0||this.state().value==="removed"||(this.outsideTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=new Date().getTime()+(this.options.timeOut||0),this.width.set(-1),this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}outsideTimeout(t,i){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(t),i)):this.timeout=setTimeout(()=>t(),i)}outsideInterval(t,i){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(t),i)):this.intervalId=setInterval(()=>t(),i)}runInsideAngular(t){this.ngZone?this.ngZone.run(()=>t()):t()}static \u0275fac=function(i){return new(i||e)(L(Wt),L(j),L(mt))};static \u0275cmp=vt({type:e,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(i,s){i&1&&V("click",function(){return s.tapToast()})("mouseenter",function(){return s.stickAround()})("mouseleave",function(){return s.delayedHideToast()}),i&2&&($t("@flyInOut",s._state),v(s.toastClasses),$("display",s.displayStyle))},attrs:Yt,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert",3,"class","innerHTML",4,"ngIf"],["role","alert",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(i,s){i&1&&N(0,ye,3,0,"button",0)(1,Ce,3,5,"div",1)(2,we,1,3,"div",2)(3,De,2,4,"div",3)(4,Le,2,2,"div",4),i&2&&(h("ngIf",s.options.closeButton),a(),h("ngIf",s.title),a(),h("ngIf",s.message&&s.options.enableHtml),a(),h("ngIf",s.message&&!s.options.enableHtml),a(),h("ngIf",s.options.progressBar))},dependencies:[Ct],encapsulation:2,data:{animation:[Lt("flyInOut",[z("inactive",K({opacity:0})),z("active",K({opacity:1})),z("removed",K({opacity:0})),tt("inactive => active",X("{{ easeTime }}ms {{ easing }}")),tt("active => removed",X("{{ easeTime }}ms {{ easing }}"))])]},changeDetection:0})}return e})(),ke=F(c({},Jt),{toastComponent:Re}),Pe=(e={})=>Nt([{provide:Qt,useValue:{default:ke,config:e}}]),Ti=(()=>{class e{static forRoot(t={}){return{ngModule:e,providers:[Pe(t)]}}static \u0275fac=function(i){return new(i||e)};static \u0275mod=bt({type:e});static \u0275inj=ht({})}return e})();var Me=(()=>{class e{toastrService;toastPackage;appRef;message;title;options;duplicatesCount;originalTimeout;width=M(-1);toastClasses="";get displayStyle(){return this.state()==="inactive"?"none":null}state=M("inactive");timeout;intervalId;hideTime;sub;sub1;sub2;sub3;constructor(t,i,s){this.toastrService=t,this.toastPackage=i,this.appRef=s,this.message=i.message,this.title=i.title,this.options=i.config,this.originalTimeout=i.config.timeOut,this.toastClasses=`${i.toastType} ${i.config.toastClass}`,this.sub=i.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=i.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=i.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=i.toastRef.countDuplicate().subscribe(r=>{this.duplicatesCount=r})}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state.set("active"),!(this.options.disableTimeOut===!0||this.options.disableTimeOut==="timeOut")&&this.options.timeOut&&(this.timeout=setTimeout(()=>{this.remove()},this.options.timeOut),this.hideTime=new Date().getTime()+this.options.timeOut,this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10))),this.options.onActivateTick&&this.appRef.tick()}updateProgress(){if(this.width()===0||this.width()===100||!this.options.timeOut)return;let t=new Date().getTime(),i=this.hideTime-t;this.width.set(i/this.options.timeOut*100),this.options.progressAnimation==="increasing"&&this.width.update(s=>100-s),this.width()<=0&&this.width.set(0),this.width()>=100&&this.width.set(100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state.set("active"),this.options.timeOut=this.originalTimeout,this.timeout=setTimeout(()=>this.remove(),this.originalTimeout),this.hideTime=new Date().getTime()+(this.originalTimeout||0),this.width.set(-1),this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10))}remove(){this.state()!=="removed"&&(clearTimeout(this.timeout),this.state.set("removed"),this.timeout=setTimeout(()=>this.toastrService.remove(this.toastPackage.toastId)))}tapToast(){this.state()!=="removed"&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){this.state()!=="removed"&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width.set(0))}delayedHideToast(){this.options.disableTimeOut===!0||this.options.disableTimeOut==="extendedTimeOut"||this.options.extendedTimeOut===0||this.state()==="removed"||(this.timeout=setTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=new Date().getTime()+(this.options.timeOut||0),this.width.set(-1),this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10)))}static \u0275fac=function(i){return new(i||e)(L(Wt),L(j),L(W))};static \u0275cmp=vt({type:e,selectors:[["","toast-component",""]],hostVars:4,hostBindings:function(i,s){i&1&&V("click",function(){return s.tapToast()})("mouseenter",function(){return s.stickAround()})("mouseleave",function(){return s.delayedHideToast()}),i&2&&(v(s.toastClasses),$("display",s.displayStyle))},attrs:Yt,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert",3,"class","innerHTML",4,"ngIf"],["role","alert",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(i,s){i&1&&N(0,xe,3,0,"button",0)(1,Fe,3,5,"div",1)(2,Se,1,3,"div",2)(3,Oe,2,4,"div",3)(4,Ee,2,2,"div",4),i&2&&(h("ngIf",s.options.closeButton),a(),h("ngIf",s.title),a(),h("ngIf",s.message&&s.options.enableHtml),a(),h("ngIf",s.message&&!s.options.enableHtml),a(),h("ngIf",s.options.progressBar))},dependencies:[Ct],encapsulation:2,changeDetection:0})}return e})(),Ci=F(c({},Jt),{toastComponent:Me});var R={serverTarget:Xt().version,production:!0,socket:"",api:{base:(()=>{let n=document.querySelector("base")?.getAttribute("href")||"/";return n.endsWith("/")?`${n}api`:`${n}/api`})(),socket:`${window.location.protocol==="http:"?"ws://":"wss://"}${window.location.host}`,origin:window.location.origin},jwt:{tokenKey:"access_token",allowedDomains:[document.location.host],disallowedRoutes:[(()=>{let n=document.querySelector("base")?.getAttribute("href")||"/",t=n.endsWith("/")?`${n}api`:`${n}/api`;return`${window.location.protocol}//${document.location.host}${t}/auth/login`})()]},apiHttpOptions:{},owm:{appid:"fec67b55f7f74deaa28df89ba6a60821"}};var Ei=(()=>{class e{$http=u(zt);get(t,i){return this.$http.get(`${R.api.base}${t}`,i)}post(t,i,s){return this.$http.post(`${R.api.base}${t}`,i,s)}put(t,i,s){return this.$http.put(`${R.api.base}${t}`,i,s)}patch(t,i,s){return this.$http.patch(`${R.api.base}${t}`,i,s)}delete(t,i){return this.$http.delete(`${R.api.base}${t}`,i)}static \u0275fac=function(i){return new(i||e)};static \u0275prov=d({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();export{y as a,se as b,Lt as c,X as d,He as e,K as f,tt as g,wt as h,Dt as i,re as j,Ft as k,Ye as l,Je as m,Wt as n,Ti as o,R as p,Ei as q};