dealpos 25.49.4 → 25.50.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (93) hide show
  1. package/browser/{chunk-WYRHUSXS.js → chunk-2ENLMKGR.js} +1 -1
  2. package/browser/{chunk-QS32TZGB.js → chunk-2FJNMKCN.js} +1 -1
  3. package/browser/{chunk-OYEU5L3I.js → chunk-2ITJBRJU.js} +1 -1
  4. package/browser/{chunk-34X4ZZD5.js → chunk-2KI73XNT.js} +1 -1
  5. package/browser/{chunk-T4E5A3KH.js → chunk-2SZZVWQD.js} +11 -11
  6. package/browser/{chunk-JZFX4FNK.js → chunk-3AZAILT2.js} +1 -1
  7. package/browser/{chunk-INWLOCX3.js → chunk-3CUT73ZP.js} +1 -1
  8. package/browser/{chunk-D2OMTDKS.js → chunk-3ZWJMFYL.js} +1 -1
  9. package/browser/{chunk-SY463GX6.js → chunk-4KYROBKJ.js} +1 -1
  10. package/browser/{chunk-IFKUMLMD.js → chunk-4MQZXTMM.js} +1 -1
  11. package/browser/{chunk-KWFL5YOV.js → chunk-4YZVDERU.js} +1 -1
  12. package/browser/{chunk-F3YWM4BJ.js → chunk-5SIEW7SH.js} +1 -1
  13. package/browser/{chunk-FTZZHFXM.js → chunk-7L5VMLEF.js} +1 -1
  14. package/browser/{chunk-P2R2O6GD.js → chunk-7MJWZXSK.js} +2 -2
  15. package/browser/{chunk-ROVDZJVT.js → chunk-A5CTHLE4.js} +1 -1
  16. package/browser/{chunk-C777CYT4.js → chunk-A6Z5ZHVO.js} +1 -1
  17. package/browser/{chunk-SFXDXOSB.js → chunk-B7BVEOOI.js} +1 -1
  18. package/browser/{chunk-LNZY3GKF.js → chunk-BFNGPKGX.js} +1 -1
  19. package/browser/{chunk-52ONOTHS.js → chunk-BLEJLNEO.js} +1 -1
  20. package/browser/{chunk-QOCGWG6L.js → chunk-BQ7QT5RB.js} +1 -1
  21. package/browser/chunk-BZ3GMUQ7.js +14 -0
  22. package/browser/{chunk-Y4XWHUVX.js → chunk-CB6QEEJX.js} +1 -1
  23. package/browser/{chunk-ASHEF37H.js → chunk-CCJ6SHBL.js} +1 -1
  24. package/browser/{chunk-7V6NCJRQ.js → chunk-COL56R4A.js} +1 -1
  25. package/browser/chunk-CXWICNFP.js +1 -0
  26. package/browser/{chunk-TLLI6Z5X.js → chunk-CZHWPDAM.js} +1 -1
  27. package/browser/{chunk-XOQUXJ6S.js → chunk-DYBRYTEM.js} +1 -1
  28. package/browser/{chunk-SO3RL6QR.js → chunk-EAEOJMTA.js} +1 -1
  29. package/browser/{chunk-LI6G74I7.js → chunk-F765TCAS.js} +1 -1
  30. package/browser/{chunk-RGO36X34.js → chunk-FMKY4THI.js} +1 -1
  31. package/browser/{chunk-KJ5BS7KR.js → chunk-FSOHJLXB.js} +1 -1
  32. package/browser/{chunk-APHRANVH.js → chunk-FV4MYFQI.js} +1 -1
  33. package/browser/{chunk-7V2CY4DW.js → chunk-G3DZI5XK.js} +1 -1
  34. package/browser/{chunk-YTXYAEFO.js → chunk-G5JGQBAG.js} +1 -1
  35. package/browser/{chunk-BVMFVFGN.js → chunk-GBSRXCWH.js} +1 -1
  36. package/browser/{chunk-BSV3Y4MG.js → chunk-GDQGP7DV.js} +1 -1
  37. package/browser/{chunk-TAVEJBKL.js → chunk-GESNWWTD.js} +2 -2
  38. package/browser/{chunk-3Y2TKGP4.js → chunk-GRLVYPPM.js} +1 -1
  39. package/browser/{chunk-WZWXE6GT.js → chunk-HFDJ5XSI.js} +1 -1
  40. package/browser/{chunk-NTCQH6TH.js → chunk-HFOJZ3B5.js} +1 -1
  41. package/browser/{chunk-ADQOH7YA.js → chunk-HFZ437GH.js} +1 -1
  42. package/browser/{chunk-OXMLRZZ4.js → chunk-IPPIH4F4.js} +1 -1
  43. package/browser/{chunk-RULBTV6L.js → chunk-ISN5K6K2.js} +1 -1
  44. package/browser/{chunk-V45WTUQ2.js → chunk-ISQHQTAS.js} +1 -1
  45. package/browser/chunk-JCLYKROE.js +1 -0
  46. package/browser/chunk-KUF3JPB2.js +1 -0
  47. package/browser/{chunk-743523SK.js → chunk-KZBVWICA.js} +1 -1
  48. package/browser/{chunk-CLO7U3RB.js → chunk-LIX7XJ55.js} +1 -1
  49. package/browser/{chunk-ZEI66KM2.js → chunk-LIXEWT4U.js} +3 -3
  50. package/browser/{chunk-XTU3LHA6.js → chunk-M2HEFQUY.js} +1 -1
  51. package/browser/{chunk-HOZ6XJ4Z.js → chunk-MFJH22SW.js} +1 -1
  52. package/browser/{chunk-NFODKKJI.js → chunk-MZSJCSUV.js} +2 -2
  53. package/browser/{chunk-6H5XBM35.js → chunk-O3ENARQZ.js} +1 -1
  54. package/browser/{chunk-QE5OFO56.js → chunk-OZ3MKU4C.js} +1 -1
  55. package/browser/chunk-PHYDJ3P5.js +1 -0
  56. package/browser/{chunk-HCMW3RC5.js → chunk-PIAQ4TBN.js} +1 -1
  57. package/browser/{chunk-N7M4OSQZ.js → chunk-PLR55YR2.js} +1 -1
  58. package/browser/{chunk-CD6ZWSFG.js → chunk-PMDFKXZY.js} +1 -1
  59. package/browser/{chunk-XFJYJSZU.js → chunk-PV4YHZX5.js} +1 -1
  60. package/browser/chunk-PVBS6SYW.js +3 -0
  61. package/browser/{chunk-WFSJDUCV.js → chunk-PXIMA665.js} +2 -2
  62. package/browser/{chunk-OETRAGYY.js → chunk-Q3DS2RLM.js} +1 -1
  63. package/browser/chunk-QWB3USYP.js +3 -0
  64. package/browser/{chunk-K3V25WUQ.js → chunk-QZRMHLML.js} +1 -1
  65. package/browser/{chunk-XWXXETJY.js → chunk-RE6SQEP6.js} +1 -1
  66. package/browser/{chunk-GT5IX3D6.js → chunk-S4D5UGSM.js} +1 -1
  67. package/browser/{chunk-IQ5KAZ7I.js → chunk-S65MPEJS.js} +1 -1
  68. package/browser/{chunk-46D5QBZT.js → chunk-SBTTKQ4L.js} +1 -1
  69. package/browser/{chunk-UJ63ZNAO.js → chunk-SK6Y77W4.js} +4 -4
  70. package/browser/{chunk-XBRNDXDZ.js → chunk-SOW7VMSU.js} +1 -1
  71. package/browser/{chunk-R2Y4JAXW.js → chunk-T3ZHKT2K.js} +1 -1
  72. package/browser/{chunk-WP2FVSCM.js → chunk-T7PBUS2H.js} +1 -1
  73. package/browser/{chunk-FD7ICK7T.js → chunk-TTCSYFRX.js} +1 -1
  74. package/browser/{chunk-3YFVIHNY.js → chunk-UZN4OKOJ.js} +2 -2
  75. package/browser/{chunk-TBBZ7RAN.js → chunk-WXYXGYFH.js} +1 -1
  76. package/browser/{chunk-H4U5GDQZ.js → chunk-X2GHGFH2.js} +2 -2
  77. package/browser/{chunk-LX26RD3F.js → chunk-XFAV2VZL.js} +1 -1
  78. package/browser/{chunk-YZY45SFB.js → chunk-XSZJISVJ.js} +1 -1
  79. package/browser/{chunk-5DNDULL7.js → chunk-Y5DX5U5Q.js} +1 -1
  80. package/browser/{chunk-GNIF2YD2.js → chunk-Y7KCHRMM.js} +1 -1
  81. package/browser/{chunk-3RQ35Y7Q.js → chunk-YBUERVXV.js} +1 -1
  82. package/browser/{chunk-V3KYBOFM.js → chunk-YLEKN2EU.js} +1 -1
  83. package/browser/{chunk-QVI22QDX.js → chunk-YUILNWDI.js} +1 -1
  84. package/browser/index.html +2 -2
  85. package/browser/{main-DAVMX2B6.js → main-4PHVOJ3C.js} +2 -2
  86. package/package.json +1 -1
  87. package/browser/chunk-3PJCCDIY.js +0 -14
  88. package/browser/chunk-6LSNTX2C.js +0 -1
  89. package/browser/chunk-FQVYXDHS.js +0 -3
  90. package/browser/chunk-KJF3M7DY.js +0 -1
  91. package/browser/chunk-N6JQHXKN.js +0 -3
  92. package/browser/chunk-NZBKYR7R.js +0 -1
  93. package/browser/chunk-OWK34F6X.js +0 -1
@@ -1,3 +1,3 @@
1
- import{b as Co,c as aa}from"./chunk-HWPSC7RE.js";import{a as Qi}from"./chunk-FPRM3L6U.js";import{a as Yi,b as vr,c as Gi,d as Xi,e as kr,f as Zi,g as wr,h as Ji,i as Xe,j as Cr,k as Z}from"./chunk-V432I4ZE.js";import{a as zi}from"./chunk-B7AC4RMR.js";import"./chunk-EQLHPWVB.js";import{d as na}from"./chunk-THT6CY5E.js";import{d as ea,g as ta,n as ia}from"./chunk-ZTD4APMR.js";import"./chunk-7P3L3ODB.js";import{sa as oa,za as ra}from"./chunk-SLX34TWD.js";import{F as Ki,G as Vi,c as Fi,h as ji,i as Wi,k as Ui,o as qi,p as Hi}from"./chunk-DWZ5JTI2.js";import{c as Fe}from"./chunk-743523SK.js";import"./chunk-46D5QBZT.js";import"./chunk-36GWLMZX.js";import{b as $i}from"./chunk-WFQIMZGL.js";import{a as Ce}from"./chunk-WUV22SZ4.js";import{a as K}from"./chunk-SO3RL6QR.js";import{a as v,b as G,c as Ai,d as gr,e as Pi,f as X,g as Bi,h as hr,i as br,l as Ae,m as vo,n as Ge,o as Di,p as ko,q as Oi,r as Li,s as wo}from"./chunk-LGOSIAUC.js";import{Ab as Y,Ad as _i,Bd as yo,Cb as ui,D as ei,Db as fi,E as oi,Eb as pi,Fa as li,Fb as q,Fc as ho,Fd as Si,Gb as B,Gc as bo,Hb as E,Hd as Ti,I as ri,Ib as L,Id as Ei,Jb as ke,Jd as Mi,Kb as we,Lb as lr,Ma as uo,Na as ar,Nd as Ri,Od as Ii,Pb as Oe,Pd as ze,Qa as fo,Qb as mi,Qd as Ni,S as ti,Sa as $e,Sb as po,Sd as yr,Tb as cr,Ub as N,Xa as _,Y as tr,Yc as Ye,Za as ye,aa as fe,ba as nr,c as lo,cb as ci,d as Gn,dc as dr,eb as le,fa as ni,gc as Me,gd as bi,h as Xn,ha as ii,hc as D,i as Zn,ia as ai,ib as ve,ic as mo,ja as x,jb as ce,jc as Le,l as Ke,la as ie,m as co,ma as ae,mb as di,mc as ur,n as Ve,na as se,nc as fr,o as Qe,oa as T,oc as pr,od as yi,p as Jn,pa as Q,qd as vi,ra as ir,sd as ki,t as ue,ta as pe,tc as mr,ua as me,wb as sr,xc as go,xd as wi,ya as si,yb as $,yc as gi,yd as Ci,zc as hi,zd as xi}from"./chunk-IEVGW2RT.js";import"./chunk-WFMAM73Y.js";import{a as De,b as $n,e as Yn,k as be}from"./chunk-SNAKHGZS.js";function sa(t){return new x(3e3,!1)}function Ps(){return new x(3100,!1)}function Bs(){return new x(3101,!1)}function Rs(t){return new x(3001,!1)}function Is(t){return new x(3003,!1)}function Ns(t){return new x(3004,!1)}function ca(t,e){return new x(3005,!1)}function da(){return new x(3006,!1)}function ua(){return new x(3007,!1)}function fa(t,e){return new x(3008,!1)}function pa(t){return new x(3002,!1)}function ma(t,e,o,r,n){return new x(3010,!1)}function ga(){return new x(3011,!1)}function ha(){return new x(3012,!1)}function ba(){return new x(3200,!1)}function ya(){return new x(3202,!1)}function va(){return new x(3013,!1)}function ka(t){return new x(3014,!1)}function wa(t){return new x(3015,!1)}function Ca(t){return new x(3016,!1)}function xa(t,e){return new x(3404,!1)}function Ds(t){return new x(3502,!1)}function _a(t){return new x(3503,!1)}function Sa(){return new x(3300,!1)}function Ta(t){return new x(3504,!1)}function Ea(t){return new x(3301,!1)}function Ma(t,e){return new x(3302,!1)}function Aa(t){return new x(3303,!1)}function Pa(t,e){return new x(3400,!1)}function Ba(t){return new x(3401,!1)}function Ra(t){return new x(3402,!1)}function Ia(t,e){return new x(3505,!1)}function ge(t){switch(t.length){case 0:return new Ae;case 1:return t[0];default:return new vo(t)}}function Tr(t,e,o=new Map,r=new Map){let n=[],i=[],a=-1,s=null;if(e.forEach(l=>{let c=l.get("offset"),d=c==a,u=d&&s||new Map;l.forEach((y,m)=>{let p=m,h=y;if(m!=="offset")switch(p=t.normalizePropertyName(p,n),h){case Ge:h=o.get(m);break;case G:h=r.get(m);break;default:h=t.normalizeStyleValue(m,p,h,n);break}u.set(p,h)}),d||i.push(u),s=u,a=c}),n.length)throw Ds(n);return i}function xo(t,e,o,r){switch(e){case"start":t.onStart(()=>r(o&&xr(o,"start",t)));break;case"done":t.onDone(()=>r(o&&xr(o,"done",t)));break;case"destroy":t.onDestroy(()=>r(o&&xr(o,"destroy",t)));break}}function xr(t,e,o){let r=o.totalTime,n=!!o.disabled,i=_o(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,r??t.totalTime,n),a=t._data;return a!=null&&(i._data=a),i}function _o(t,e,o,r,n="",i=0,a){return{element:t,triggerName:e,fromState:o,toState:r,phaseName:n,totalTime:i,disabled:!!a}}function j(t,e,o){let r=t.get(e);return r||t.set(e,r=o),r}function Er(t){let e=t.indexOf(":"),o=t.substring(1,e),r=t.slice(e+1);return[o,r]}var Os=typeof document>"u"?null:document.documentElement;function So(t){let e=t.parentNode||t.host||null;return e===Os?null:e}function Ls(t){return t.substring(1,6)=="ebkit"}var Pe=null,la=!1;function Na(t){Pe||(Pe=zs()||{},la=Pe.style?"WebkitAppearance"in Pe.style:!1);let e=!0;return Pe.style&&!Ls(t)&&(e=t in Pe.style,!e&&la&&(e="Webkit"+t.charAt(0).toUpperCase()+t.slice(1)in Pe.style)),e}function zs(){return typeof document<"u"?document.body:null}function Mr(t,e){for(;e;){if(e===t)return!0;e=So(e)}return!1}function Ar(t,e,o){if(o)return Array.from(t.querySelectorAll(e));let r=t.querySelector(e);return r?[r]:[]}var Fs=1e3,Pr="{{",js="}}",Br="ng-enter",To="ng-leave",Ze="ng-trigger",Je=".ng-trigger",Rr="ng-animating",Eo=".ng-animating";function de(t){if(typeof t=="number")return t;let e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:_r(parseFloat(e[1]),e[2])}function _r(t,e){switch(e){case"s":return t*Fs;default:return t}}function eo(t,e,o){return t.hasOwnProperty("duration")?t:Us(t,e,o)}var Ws=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i;function Us(t,e,o){let r,n=0,i="";if(typeof t=="string"){let a=t.match(Ws);if(a===null)return e.push(sa(t)),{duration:0,delay:0,easing:""};r=_r(parseFloat(a[1]),a[2]);let s=a[3];s!=null&&(n=_r(parseFloat(s),a[4]));let l=a[5];l&&(i=l)}else r=t;if(!o){let a=!1,s=e.length;r<0&&(e.push(Ps()),a=!0),n<0&&(e.push(Bs()),a=!0),a&&e.splice(s,0,sa(t))}return{duration:r,delay:n,easing:i}}function Da(t){return t.length?t[0]instanceof Map?t:t.map(e=>new Map(Object.entries(e))):[]}function J(t,e,o){e.forEach((r,n)=>{let i=Mo(n);o&&!o.has(n)&&o.set(n,t.style[i]),t.style[i]=r})}function xe(t,e){e.forEach((o,r)=>{let n=Mo(r);t.style[n]=""})}function je(t){return Array.isArray(t)?t.length==1?t[0]:Pi(t):t}function Oa(t,e,o){let r=e.params||{},n=Ir(t);n.length&&n.forEach(i=>{r.hasOwnProperty(i)||o.push(Rs(i))})}var Sr=new RegExp(`${Pr}\\s*(.+?)\\s*${js}`,"g");function Ir(t){let e=[];if(typeof t=="string"){let o;for(;o=Sr.exec(t);)e.push(o[1]);Sr.lastIndex=0}return e}function We(t,e,o){let r=`${t}`,n=r.replace(Sr,(i,a)=>{let s=e[a];return s==null&&(o.push(Is(a)),s=""),s.toString()});return n==r?t:n}var qs=/-+([a-z0-9])/g;function Mo(t){return t.replace(qs,(...e)=>e[1].toUpperCase())}function La(t,e){return t===0||e===0}function za(t,e,o){if(o.size&&e.length){let r=e[0],n=[];if(o.forEach((i,a)=>{r.has(a)||n.push(a),r.set(a,i)}),n.length)for(let i=1;i<e.length;i++){let a=e[i];n.forEach(s=>a.set(s,Ao(t,s)))}}return e}function W(t,e,o){switch(e.type){case v.Trigger:return t.visitTrigger(e,o);case v.State:return t.visitState(e,o);case v.Transition:return t.visitTransition(e,o);case v.Sequence:return t.visitSequence(e,o);case v.Group:return t.visitGroup(e,o);case v.Animate:return t.visitAnimate(e,o);case v.Keyframes:return t.visitKeyframes(e,o);case v.Style:return t.visitStyle(e,o);case v.Reference:return t.visitReference(e,o);case v.AnimateChild:return t.visitAnimateChild(e,o);case v.AnimateRef:return t.visitAnimateRef(e,o);case v.Query:return t.visitQuery(e,o);case v.Stagger:return t.visitStagger(e,o);default:throw Ns(e.type)}}function Ao(t,e){return window.getComputedStyle(t)[e]}var Gr=(()=>{class t{validateStyleProperty(o){return Na(o)}containsElement(o,r){return Mr(o,r)}getParentElement(o){return So(o)}query(o,r,n){return Ar(o,r,n)}computeStyle(o,r,n){return n||""}animate(o,r,n,i,a,s=[],l){return new Ae(n,i)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=ie({token:t,factory:t.\u0275fac})}return t})(),Re=class{static NOOP=new Gr},Ie=class{};var Hs=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"]),No=class extends Ie{normalizePropertyName(e,o){return Mo(e)}normalizeStyleValue(e,o,r,n){let i="",a=r.toString().trim();if(Hs.has(o)&&r!==0&&r!=="0")if(typeof r=="number")i="px";else{let s=r.match(/^[+-]?[\d\.]+([a-z]*)$/);s&&s[1].length==0&&n.push(ca(e,r))}return a+i}};var Do="*";function Ks(t,e){let o=[];return typeof t=="string"?t.split(/\s*,\s*/).forEach(r=>Vs(r,o,e)):o.push(t),o}function Vs(t,e,o){if(t[0]==":"){let l=Qs(t,o);if(typeof l=="function"){e.push(l);return}t=l}let r=t.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(r==null||r.length<4)return o.push(wa(t)),e;let n=r[1],i=r[2],a=r[3];e.push(Fa(n,a));let s=n==Do&&a==Do;i[0]=="<"&&!s&&e.push(Fa(a,n))}function Qs(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(o,r)=>parseFloat(r)>parseFloat(o);case":decrement":return(o,r)=>parseFloat(r)<parseFloat(o);default:return e.push(Ca(t)),"* => *"}}var Po=new Set(["true","1"]),Bo=new Set(["false","0"]);function Fa(t,e){let o=Po.has(t)||Bo.has(t),r=Po.has(e)||Bo.has(e);return(n,i)=>{let a=t==Do||t==n,s=e==Do||e==i;return!a&&o&&typeof n=="boolean"&&(a=n?Po.has(t):Bo.has(t)),!s&&r&&typeof i=="boolean"&&(s=i?Po.has(e):Bo.has(e)),a&&s}}var Ya=":self",$s=new RegExp(`s*${Ya}s*,?`,"g");function Ga(t,e,o,r){return new Fr(t).build(e,o,r)}var ja="",Fr=class{_driver;constructor(e){this._driver=e}build(e,o,r){let n=new jr(o);return this._resetContextStyleTimingState(n),W(this,je(e),n)}_resetContextStyleTimingState(e){e.currentQuerySelector=ja,e.collectedStyles=new Map,e.collectedStyles.set(ja,new Map),e.currentTime=0}visitTrigger(e,o){let r=o.queryCount=0,n=o.depCount=0,i=[],a=[];return e.name.charAt(0)=="@"&&o.errors.push(da()),e.definitions.forEach(s=>{if(this._resetContextStyleTimingState(o),s.type==v.State){let l=s,c=l.name;c.toString().split(/\s*,\s*/).forEach(d=>{l.name=d,i.push(this.visitState(l,o))}),l.name=c}else if(s.type==v.Transition){let l=this.visitTransition(s,o);r+=l.queryCount,n+=l.depCount,a.push(l)}else o.errors.push(ua())}),{type:v.Trigger,name:e.name,states:i,transitions:a,queryCount:r,depCount:n,options:null}}visitState(e,o){let r=this.visitStyle(e.styles,o),n=e.options&&e.options.params||null;if(r.containsDynamicStyles){let i=new Set,a=n||{};r.styles.forEach(s=>{s instanceof Map&&s.forEach(l=>{Ir(l).forEach(c=>{a.hasOwnProperty(c)||i.add(c)})})}),i.size&&o.errors.push(fa(e.name,[...i.values()]))}return{type:v.State,name:e.name,style:r,options:n?{params:n}:null}}visitTransition(e,o){o.queryCount=0,o.depCount=0;let r=W(this,je(e.animation),o),n=Ks(e.expr,o.errors);return{type:v.Transition,matchers:n,animation:r,queryCount:o.queryCount,depCount:o.depCount,options:Be(e.options)}}visitSequence(e,o){return{type:v.Sequence,steps:e.steps.map(r=>W(this,r,o)),options:Be(e.options)}}visitGroup(e,o){let r=o.currentTime,n=0,i=e.steps.map(a=>{o.currentTime=r;let s=W(this,a,o);return n=Math.max(n,o.currentTime),s});return o.currentTime=n,{type:v.Group,steps:i,options:Be(e.options)}}visitAnimate(e,o){let r=Zs(e.timings,o.errors);o.currentAnimateTimings=r;let n,i=e.styles?e.styles:X({});if(i.type==v.Keyframes)n=this.visitKeyframes(i,o);else{let a=e.styles,s=!1;if(!a){s=!0;let c={};r.easing&&(c.easing=r.easing),a=X(c)}o.currentTime+=r.duration+r.delay;let l=this.visitStyle(a,o);l.isEmptyStep=s,n=l}return o.currentAnimateTimings=null,{type:v.Animate,timings:r,style:n,options:null}}visitStyle(e,o){let r=this._makeStyleAst(e,o);return this._validateStyleAst(r,o),r}_makeStyleAst(e,o){let r=[],n=Array.isArray(e.styles)?e.styles:[e.styles];for(let s of n)typeof s=="string"?s===G?r.push(s):o.errors.push(pa(s)):r.push(new Map(Object.entries(s)));let i=!1,a=null;return r.forEach(s=>{if(s instanceof Map&&(s.has("easing")&&(a=s.get("easing"),s.delete("easing")),!i)){for(let l of s.values())if(l.toString().indexOf(Pr)>=0){i=!0;break}}}),{type:v.Style,styles:r,easing:a,offset:e.offset,containsDynamicStyles:i,options:null}}_validateStyleAst(e,o){let r=o.currentAnimateTimings,n=o.currentTime,i=o.currentTime;r&&i>0&&(i-=r.duration+r.delay),e.styles.forEach(a=>{typeof a!="string"&&a.forEach((s,l)=>{let c=o.collectedStyles.get(o.currentQuerySelector),d=c.get(l),u=!0;d&&(i!=n&&i>=d.startTime&&n<=d.endTime&&(o.errors.push(ma(l,d.startTime,d.endTime,i,n)),u=!1),i=d.startTime),u&&c.set(l,{startTime:i,endTime:n}),o.options&&Oa(s,o.options,o.errors)})})}visitKeyframes(e,o){let r={type:v.Keyframes,styles:[],options:null};if(!o.currentAnimateTimings)return o.errors.push(ga()),r;let n=1,i=0,a=[],s=!1,l=!1,c=0,d=e.steps.map(A=>{let P=this._makeStyleAst(A,o),k=P.offset!=null?P.offset:Xs(P.styles),S=0;return k!=null&&(i++,S=P.offset=k),l=l||S<0||S>1,s=s||S<c,c=S,a.push(S),P});l&&o.errors.push(ha()),s&&o.errors.push(ba());let u=e.steps.length,y=0;i>0&&i<u?o.errors.push(ya()):i==0&&(y=n/(u-1));let m=u-1,p=o.currentTime,h=o.currentAnimateTimings,w=h.duration;return d.forEach((A,P)=>{let k=y>0?P==m?1:y*P:a[P],S=k*w;o.currentTime=p+h.delay+S,h.duration=S,this._validateStyleAst(A,o),A.offset=k,r.styles.push(A)}),r}visitReference(e,o){return{type:v.Reference,animation:W(this,je(e.animation),o),options:Be(e.options)}}visitAnimateChild(e,o){return o.depCount++,{type:v.AnimateChild,options:Be(e.options)}}visitAnimateRef(e,o){return{type:v.AnimateRef,animation:this.visitReference(e.animation,o),options:Be(e.options)}}visitQuery(e,o){let r=o.currentQuerySelector,n=e.options||{};o.queryCount++,o.currentQuery=e;let[i,a]=Ys(e.selector);o.currentQuerySelector=r.length?r+" "+i:i,j(o.collectedStyles,o.currentQuerySelector,new Map);let s=W(this,je(e.animation),o);return o.currentQuery=null,o.currentQuerySelector=r,{type:v.Query,selector:i,limit:n.limit||0,optional:!!n.optional,includeSelf:a,animation:s,originalSelector:e.selector,options:Be(e.options)}}visitStagger(e,o){o.currentQuery||o.errors.push(va());let r=e.timings==="full"?{duration:0,delay:0,easing:"full"}:eo(e.timings,o.errors,!0);return{type:v.Stagger,animation:W(this,je(e.animation),o),timings:r,options:null}}};function Ys(t){let e=!!t.split(/\s*,\s*/).find(o=>o==Ya);return e&&(t=t.replace($s,"")),t=t.replace(/@\*/g,Je).replace(/@\w+/g,o=>Je+"-"+o.slice(1)).replace(/:animating/g,Eo),[t,e]}function Gs(t){return t?De({},t):null}var jr=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(e){this.errors=e}};function Xs(t){if(typeof t=="string")return null;let e=null;if(Array.isArray(t))t.forEach(o=>{if(o instanceof Map&&o.has("offset")){let r=o;e=parseFloat(r.get("offset")),r.delete("offset")}});else if(t instanceof Map&&t.has("offset")){let o=t;e=parseFloat(o.get("offset")),o.delete("offset")}return e}function Zs(t,e){if(t.hasOwnProperty("duration"))return t;if(typeof t=="number"){let i=eo(t,e).duration;return Nr(i,0,"")}let o=t;if(o.split(/\s+/).some(i=>i.charAt(0)=="{"&&i.charAt(1)=="{")){let i=Nr(0,0,"");return i.dynamic=!0,i.strValue=o,i}let n=eo(o,e);return Nr(n.duration,n.delay,n.easing)}function Be(t){return t?(t=De({},t),t.params&&(t.params=Gs(t.params))):t={},t}function Nr(t,e,o){return{duration:t,delay:e,easing:o}}function Xr(t,e,o,r,n,i,a=null,s=!1){return{type:1,element:t,keyframes:e,preStyleProps:o,postStyleProps:r,duration:n,delay:i,totalTime:n+i,easing:a,subTimeline:s}}var ro=class{_map=new Map;get(e){return this._map.get(e)||[]}append(e,o){let r=this._map.get(e);r||this._map.set(e,r=[]),r.push(...o)}has(e){return this._map.has(e)}clear(){this._map.clear()}},Js=1,el=":enter",ol=new RegExp(el,"g"),rl=":leave",tl=new RegExp(rl,"g");function Xa(t,e,o,r,n,i=new Map,a=new Map,s,l,c=[]){return new Wr().buildKeyframes(t,e,o,r,n,i,a,s,l,c)}var Wr=class{buildKeyframes(e,o,r,n,i,a,s,l,c,d=[]){c=c||new ro;let u=new Ur(e,o,c,n,i,d,[]);u.options=l;let y=l.delay?de(l.delay):0;u.currentTimeline.delayNextStep(y),u.currentTimeline.setStyles([a],null,u.errors,l),W(this,r,u);let m=u.timelines.filter(p=>p.containsAnimation());if(m.length&&s.size){let p;for(let h=m.length-1;h>=0;h--){let w=m[h];if(w.element===o){p=w;break}}p&&!p.allowOnlyTimelineStyles()&&p.setStyles([s],null,u.errors,l)}return m.length?m.map(p=>p.buildKeyframes()):[Xr(o,[],[],[],0,y,"",!1)]}visitTrigger(e,o){}visitState(e,o){}visitTransition(e,o){}visitAnimateChild(e,o){let r=o.subInstructions.get(o.element);if(r){let n=o.createSubContext(e.options),i=o.currentTimeline.currentTime,a=this._visitSubInstructions(r,n,n.options);i!=a&&o.transformIntoNewTimeline(a)}o.previousNode=e}visitAnimateRef(e,o){let r=o.createSubContext(e.options);r.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],o,r),this.visitReference(e.animation,r),o.transformIntoNewTimeline(r.currentTimeline.currentTime),o.previousNode=e}_applyAnimationRefDelays(e,o,r){for(let n of e){let i=n?.delay;if(i){let a=typeof i=="number"?i:de(We(i,n?.params??{},o.errors));r.delayNextStep(a)}}}_visitSubInstructions(e,o,r){let i=o.currentTimeline.currentTime,a=r.duration!=null?de(r.duration):null,s=r.delay!=null?de(r.delay):null;return a!==0&&e.forEach(l=>{let c=o.appendInstructionToTimeline(l,a,s);i=Math.max(i,c.duration+c.delay)}),i}visitReference(e,o){o.updateOptions(e.options,!0),W(this,e.animation,o),o.previousNode=e}visitSequence(e,o){let r=o.subContextCount,n=o,i=e.options;if(i&&(i.params||i.delay)&&(n=o.createSubContext(i),n.transformIntoNewTimeline(),i.delay!=null)){n.previousNode.type==v.Style&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=Oo);let a=de(i.delay);n.delayNextStep(a)}e.steps.length&&(e.steps.forEach(a=>W(this,a,n)),n.currentTimeline.applyStylesToKeyframe(),n.subContextCount>r&&n.transformIntoNewTimeline()),o.previousNode=e}visitGroup(e,o){let r=[],n=o.currentTimeline.currentTime,i=e.options&&e.options.delay?de(e.options.delay):0;e.steps.forEach(a=>{let s=o.createSubContext(e.options);i&&s.delayNextStep(i),W(this,a,s),n=Math.max(n,s.currentTimeline.currentTime),r.push(s.currentTimeline)}),r.forEach(a=>o.currentTimeline.mergeTimelineCollectedStyles(a)),o.transformIntoNewTimeline(n),o.previousNode=e}_visitTiming(e,o){if(e.dynamic){let r=e.strValue,n=o.params?We(r,o.params,o.errors):r;return eo(n,o.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,o){let r=o.currentAnimateTimings=this._visitTiming(e.timings,o),n=o.currentTimeline;r.delay&&(o.incrementTime(r.delay),n.snapshotCurrentStyles());let i=e.style;i.type==v.Keyframes?this.visitKeyframes(i,o):(o.incrementTime(r.duration),this.visitStyle(i,o),n.applyStylesToKeyframe()),o.currentAnimateTimings=null,o.previousNode=e}visitStyle(e,o){let r=o.currentTimeline,n=o.currentAnimateTimings;!n&&r.hasCurrentStyleProperties()&&r.forwardFrame();let i=n&&n.easing||e.easing;e.isEmptyStep?r.applyEmptyStep(i):r.setStyles(e.styles,i,o.errors,o.options),o.previousNode=e}visitKeyframes(e,o){let r=o.currentAnimateTimings,n=o.currentTimeline.duration,i=r.duration,s=o.createSubContext().currentTimeline;s.easing=r.easing,e.styles.forEach(l=>{let c=l.offset||0;s.forwardTime(c*i),s.setStyles(l.styles,l.easing,o.errors,o.options),s.applyStylesToKeyframe()}),o.currentTimeline.mergeTimelineCollectedStyles(s),o.transformIntoNewTimeline(n+i),o.previousNode=e}visitQuery(e,o){let r=o.currentTimeline.currentTime,n=e.options||{},i=n.delay?de(n.delay):0;i&&(o.previousNode.type===v.Style||r==0&&o.currentTimeline.hasCurrentStyleProperties())&&(o.currentTimeline.snapshotCurrentStyles(),o.previousNode=Oo);let a=r,s=o.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!n.optional,o.errors);o.currentQueryTotal=s.length;let l=null;s.forEach((c,d)=>{o.currentQueryIndex=d;let u=o.createSubContext(e.options,c);i&&u.delayNextStep(i),c===o.element&&(l=u.currentTimeline),W(this,e.animation,u),u.currentTimeline.applyStylesToKeyframe();let y=u.currentTimeline.currentTime;a=Math.max(a,y)}),o.currentQueryIndex=0,o.currentQueryTotal=0,o.transformIntoNewTimeline(a),l&&(o.currentTimeline.mergeTimelineCollectedStyles(l),o.currentTimeline.snapshotCurrentStyles()),o.previousNode=e}visitStagger(e,o){let r=o.parentContext,n=o.currentTimeline,i=e.timings,a=Math.abs(i.duration),s=a*(o.currentQueryTotal-1),l=a*o.currentQueryIndex;switch(i.duration<0?"reverse":i.easing){case"reverse":l=s-l;break;case"full":l=r.currentStaggerTime;break}let d=o.currentTimeline;l&&d.delayNextStep(l);let u=d.currentTime;W(this,e.animation,o),o.previousNode=e,r.currentStaggerTime=n.currentTime-u+(n.startTime-r.currentTimeline.startTime)}},Oo={},Ur=class t{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=Oo;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(e,o,r,n,i,a,s,l){this._driver=e,this.element=o,this.subInstructions=r,this._enterClassName=n,this._leaveClassName=i,this.errors=a,this.timelines=s,this.currentTimeline=l||new Lo(this._driver,o,0),s.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,o){if(!e)return;let r=e,n=this.options;r.duration!=null&&(n.duration=de(r.duration)),r.delay!=null&&(n.delay=de(r.delay));let i=r.params;if(i){let a=n.params;a||(a=this.options.params={}),Object.keys(i).forEach(s=>{(!o||!a.hasOwnProperty(s))&&(a[s]=We(i[s],a,this.errors))})}}_copyOptions(){let e={};if(this.options){let o=this.options.params;if(o){let r=e.params={};Object.keys(o).forEach(n=>{r[n]=o[n]})}}return e}createSubContext(e=null,o,r){let n=o||this.element,i=new t(this._driver,n,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(n,r||0));return i.previousNode=this.previousNode,i.currentAnimateTimings=this.currentAnimateTimings,i.options=this._copyOptions(),i.updateOptions(e),i.currentQueryIndex=this.currentQueryIndex,i.currentQueryTotal=this.currentQueryTotal,i.parentContext=this,this.subContextCount++,i}transformIntoNewTimeline(e){return this.previousNode=Oo,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,o,r){let n={duration:o??e.duration,delay:this.currentTimeline.currentTime+(r??0)+e.delay,easing:""},i=new qr(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,n,e.stretchStartingKeyframe);return this.timelines.push(i),n}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,o,r,n,i,a){let s=[];if(n&&s.push(this.element),e.length>0){e=e.replace(ol,"."+this._enterClassName),e=e.replace(tl,"."+this._leaveClassName);let l=r!=1,c=this._driver.query(this.element,e,l);r!==0&&(c=r<0?c.slice(c.length+r,c.length):c.slice(0,r)),s.push(...c)}return!i&&s.length==0&&a.push(ka(o)),s}},Lo=class t{_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(e,o,r,n){this._driver=e,this.element=o,this.startTime=r,this._elementTimelineStylesLookup=n,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(o),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(o,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(e){let o=this._keyframes.size===1&&this._pendingStyles.size;this.duration||o?(this.forwardTime(this.currentTime+e),o&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,o){return this.applyStylesToKeyframe(),new t(this._driver,e,o||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+=Js,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,o){this._localTimelineStyles.set(e,o),this._globalTimelineStyles.set(e,o),this._styleSummary.set(e,{time:this.currentTime,value:o})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[o,r]of this._globalTimelineStyles)this._backFill.set(o,r||G),this._currentKeyframe.set(o,G);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,o,r,n){o&&this._previousKeyframe.set("easing",o);let i=n&&n.params||{},a=nl(e,this._globalTimelineStyles);for(let[s,l]of a){let c=We(l,i,r);this._pendingStyles.set(s,c),this._localTimelineStyles.has(s)||this._backFill.set(s,this._globalTimelineStyles.get(s)??G),this._updateStyle(s,c)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((e,o)=>{this._currentKeyframe.set(o,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,o)=>{this._currentKeyframe.has(o)||this._currentKeyframe.set(o,e)}))}snapshotCurrentStyles(){for(let[e,o]of this._localTimelineStyles)this._pendingStyles.set(e,o),this._updateStyle(e,o)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let e=[];for(let o in this._currentKeyframe)e.push(o);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((o,r)=>{let n=this._styleSummary.get(r);(!n||o.time>n.time)&&this._updateStyle(r,o.value)})}buildKeyframes(){this.applyStylesToKeyframe();let e=new Set,o=new Set,r=this._keyframes.size===1&&this.duration===0,n=[];this._keyframes.forEach((s,l)=>{let c=new Map([...this._backFill,...s]);c.forEach((d,u)=>{d===Ge?e.add(u):d===G&&o.add(u)}),r||c.set("offset",l/this.duration),n.push(c)});let i=[...e.values()],a=[...o.values()];if(r){let s=n[0],l=new Map(s);s.set("offset",0),l.set("offset",1),n=[s,l]}return Xr(this.element,n,i,a,this.duration,this.startTime,this.easing,!1)}},qr=class extends Lo{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(e,o,r,n,i,a,s=!1){super(e,o,a.delay),this.keyframes=r,this.preStyleProps=n,this.postStyleProps=i,this._stretchStartingKeyframe=s,this.timings={duration:a.duration,delay:a.delay,easing:a.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:o,duration:r,easing:n}=this.timings;if(this._stretchStartingKeyframe&&o){let i=[],a=r+o,s=o/a,l=new Map(e[0]);l.set("offset",0),i.push(l);let c=new Map(e[0]);c.set("offset",Wa(s)),i.push(c);let d=e.length-1;for(let u=1;u<=d;u++){let y=new Map(e[u]),m=y.get("offset"),p=o+m*r;y.set("offset",Wa(p/a)),i.push(y)}r=a,o=0,n="",e=i}return Xr(this.element,e,this.preStyleProps,this.postStyleProps,r,o,n,!0)}};function Wa(t,e=3){let o=Math.pow(10,e-1);return Math.round(t*o)/o}function nl(t,e){let o=new Map,r;return t.forEach(n=>{if(n==="*"){r??=e.keys();for(let i of r)o.set(i,G)}else for(let[i,a]of n)o.set(i,a)}),o}function Ua(t,e,o,r,n,i,a,s,l,c,d,u,y){return{type:0,element:t,triggerName:e,isRemovalTransition:n,fromState:o,fromStyles:i,toState:r,toStyles:a,timelines:s,queriedElements:l,preStyleProps:c,postStyleProps:d,totalTime:u,errors:y}}var Dr={},zo=class{_triggerName;ast;_stateStyles;constructor(e,o,r){this._triggerName=e,this.ast=o,this._stateStyles=r}match(e,o,r,n){return il(this.ast.matchers,e,o,r,n)}buildStyles(e,o,r){let n=this._stateStyles.get("*");return e!==void 0&&(n=this._stateStyles.get(e?.toString())||n),n?n.buildStyles(o,r):new Map}build(e,o,r,n,i,a,s,l,c,d){let u=[],y=this.ast.options&&this.ast.options.params||Dr,m=s&&s.params||Dr,p=this.buildStyles(r,m,u),h=l&&l.params||Dr,w=this.buildStyles(n,h,u),A=new Set,P=new Map,k=new Map,S=n==="void",z={params:Za(h,y),delay:this.ast.options?.delay},te=d?[]:Xa(e,o,this.ast.animation,i,a,p,w,z,c,u),O=0;return te.forEach(F=>{O=Math.max(F.duration+F.delay,O)}),u.length?Ua(o,this._triggerName,r,n,S,p,w,[],[],P,k,O,u):(te.forEach(F=>{let Se=F.element,Ne=j(P,Se,new Set);F.preStyleProps.forEach(Te=>Ne.add(Te));let Hn=j(k,Se,new Set);F.postStyleProps.forEach(Te=>Hn.add(Te)),Se!==o&&A.add(Se)}),Ua(o,this._triggerName,r,n,S,p,w,te,[...A.values()],P,k,O))}};function il(t,e,o,r,n){return t.some(i=>i(e,o,r,n))}function Za(t,e){let o=De({},e);return Object.entries(t).forEach(([r,n])=>{n!=null&&(o[r]=n)}),o}var Hr=class{styles;defaultParams;normalizer;constructor(e,o,r){this.styles=e,this.defaultParams=o,this.normalizer=r}buildStyles(e,o){let r=new Map,n=Za(e,this.defaultParams);return this.styles.styles.forEach(i=>{typeof i!="string"&&i.forEach((a,s)=>{a&&(a=We(a,n,o));let l=this.normalizer.normalizePropertyName(s,o);a=this.normalizer.normalizeStyleValue(s,l,a,o),r.set(s,a)})}),r}};function al(t,e,o){return new Kr(t,e,o)}var Kr=class{name;ast;_normalizer;transitionFactories=[];fallbackTransition;states=new Map;constructor(e,o,r){this.name=e,this.ast=o,this._normalizer=r,o.states.forEach(n=>{let i=n.options&&n.options.params||{};this.states.set(n.name,new Hr(n.style,i,r))}),qa(this.states,"true","1"),qa(this.states,"false","0"),o.transitions.forEach(n=>{this.transitionFactories.push(new zo(e,n,this.states))}),this.fallbackTransition=sl(e,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,o,r,n){return this.transitionFactories.find(a=>a.match(e,o,r,n))||null}matchStyles(e,o,r){return this.fallbackTransition.buildStyles(e,o,r)}};function sl(t,e,o){let r=[(a,s)=>!0],n={type:v.Sequence,steps:[],options:null},i={type:v.Transition,animation:n,matchers:r,options:null,queryCount:0,depCount:0};return new zo(t,i,e)}function qa(t,e,o){t.has(e)?t.has(o)||t.set(o,t.get(e)):t.has(o)&&t.set(e,t.get(o))}var ll=new ro,Vr=class{bodyNode;_driver;_normalizer;_animations=new Map;_playersById=new Map;players=[];constructor(e,o,r){this.bodyNode=e,this._driver=o,this._normalizer=r}register(e,o){let r=[],n=[],i=Ga(this._driver,o,r,n);if(r.length)throw _a(r);this._animations.set(e,i)}_buildPlayer(e,o,r){let n=e.element,i=Tr(this._normalizer,e.keyframes,o,r);return this._driver.animate(n,i,e.duration,e.delay,e.easing,[],!0)}create(e,o,r={}){let n=[],i=this._animations.get(e),a,s=new Map;if(i?(a=Xa(this._driver,o,i,Br,To,new Map,new Map,r,ll,n),a.forEach(d=>{let u=j(s,d.element,new Map);d.postStyleProps.forEach(y=>u.set(y,null))})):(n.push(Sa()),a=[]),n.length)throw Ta(n);s.forEach((d,u)=>{d.forEach((y,m)=>{d.set(m,this._driver.computeStyle(u,m,G))})});let l=a.map(d=>{let u=s.get(d.element);return this._buildPlayer(d,new Map,u)}),c=ge(l);return this._playersById.set(e,c),c.onDestroy(()=>this.destroy(e)),this.players.push(c),c}destroy(e){let o=this._getPlayer(e);o.destroy(),this._playersById.delete(e);let r=this.players.indexOf(o);r>=0&&this.players.splice(r,1)}_getPlayer(e){let o=this._playersById.get(e);if(!o)throw Ea(e);return o}listen(e,o,r,n){let i=_o(o,"","","");return xo(this._getPlayer(e),r,i,n),()=>{}}command(e,o,r,n){if(r=="register"){this.register(e,n[0]);return}if(r=="create"){let a=n[0]||{};this.create(e,o,a);return}let i=this._getPlayer(e);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(n[0]));break;case"destroy":this.destroy(e);break}}},Ha="ng-animate-queued",cl=".ng-animate-queued",Or="ng-animate-disabled",dl=".ng-animate-disabled",ul="ng-star-inserted",fl=".ng-star-inserted",pl=[],Ja={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},ml={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},ee="__ng_removed",to=class{namespaceId;value;options;get params(){return this.options.params}constructor(e,o=""){this.namespaceId=o;let r=e&&e.hasOwnProperty("value"),n=r?e.value:e;if(this.value=hl(n),r){let i=e,{value:a}=i,s=Yn(i,["value"]);this.options=s}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){let o=e.params;if(o){let r=this.options.params;Object.keys(o).forEach(n=>{r[n]==null&&(r[n]=o[n])})}}},oo="void",Lr=new to(oo),Qr=class{id;hostElement;_engine;players=[];_triggers=new Map;_queue=[];_elementListeners=new Map;_hostClassName;constructor(e,o,r){this.id=e,this.hostElement=o,this._engine=r,this._hostClassName="ng-tns-"+e,V(o,this._hostClassName)}listen(e,o,r,n){if(!this._triggers.has(o))throw Ma(r,o);if(r==null||r.length==0)throw Aa(o);if(!bl(r))throw Pa(r,o);let i=j(this._elementListeners,e,[]),a={name:o,phase:r,callback:n};i.push(a);let s=j(this._engine.statesByElement,e,new Map);return s.has(o)||(V(e,Ze),V(e,Ze+"-"+o),s.set(o,Lr)),()=>{this._engine.afterFlush(()=>{let l=i.indexOf(a);l>=0&&i.splice(l,1),this._triggers.has(o)||s.delete(o)})}}register(e,o){return this._triggers.has(e)?!1:(this._triggers.set(e,o),!0)}_getTrigger(e){let o=this._triggers.get(e);if(!o)throw Ba(e);return o}trigger(e,o,r,n=!0){let i=this._getTrigger(o),a=new no(this.id,o,e),s=this._engine.statesByElement.get(e);s||(V(e,Ze),V(e,Ze+"-"+o),this._engine.statesByElement.set(e,s=new Map));let l=s.get(o),c=new to(r,this.id);if(!(r&&r.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),s.set(o,c),l||(l=Lr),!(c.value===oo)&&l.value===c.value){if(!kl(l.params,c.params)){let h=[],w=i.matchStyles(l.value,l.params,h),A=i.matchStyles(c.value,c.params,h);h.length?this._engine.reportError(h):this._engine.afterFlush(()=>{xe(e,w),J(e,A)})}return}let y=j(this._engine.playersByElement,e,[]);y.forEach(h=>{h.namespaceId==this.id&&h.triggerName==o&&h.queued&&h.destroy()});let m=i.matchTransition(l.value,c.value,e,c.params),p=!1;if(!m){if(!n)return;m=i.fallbackTransition,p=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:o,transition:m,fromState:l,toState:c,player:a,isFallbackTransition:p}),p||(V(e,Ha),a.onStart(()=>{Ue(e,Ha)})),a.onDone(()=>{let h=this.players.indexOf(a);h>=0&&this.players.splice(h,1);let w=this._engine.playersByElement.get(e);if(w){let A=w.indexOf(a);A>=0&&w.splice(A,1)}}),this.players.push(a),y.push(a),a}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(o=>o.delete(e)),this._elementListeners.forEach((o,r)=>{this._elementListeners.set(r,o.filter(n=>n.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let o=this._engine.playersByElement.get(e);o&&(o.forEach(r=>r.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,o){let r=this._engine.driver.query(e,Je,!0);r.forEach(n=>{if(n[ee])return;let i=this._engine.fetchNamespacesByElement(n);i.size?i.forEach(a=>a.triggerLeaveAnimation(n,o,!1,!0)):this.clearElementCache(n)}),this._engine.afterFlushAnimationsDone(()=>r.forEach(n=>this.clearElementCache(n)))}triggerLeaveAnimation(e,o,r,n){let i=this._engine.statesByElement.get(e),a=new Map;if(i){let s=[];if(i.forEach((l,c)=>{if(a.set(c,l.value),this._triggers.has(c)){let d=this.trigger(e,c,oo,n);d&&s.push(d)}}),s.length)return this._engine.markElementAsRemoved(this.id,e,!0,o,a),r&&ge(s).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let o=this._elementListeners.get(e),r=this._engine.statesByElement.get(e);if(o&&r){let n=new Set;o.forEach(i=>{let a=i.name;if(n.has(a))return;n.add(a);let l=this._triggers.get(a).fallbackTransition,c=r.get(a)||Lr,d=new to(oo),u=new no(this.id,a,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:a,transition:l,fromState:c,toState:d,player:u,isFallbackTransition:!0})})}}removeNode(e,o){let r=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,o),this.triggerLeaveAnimation(e,o,!0))return;let n=!1;if(r.totalAnimations){let i=r.players.length?r.playersByQueriedElement.get(e):[];if(i&&i.length)n=!0;else{let a=e;for(;a=a.parentNode;)if(r.statesByElement.get(a)){n=!0;break}}}if(this.prepareLeaveAnimationListeners(e),n)r.markElementAsRemoved(this.id,e,!1,o);else{let i=e[ee];(!i||i===Ja)&&(r.afterFlush(()=>this.clearElementCache(e)),r.destroyInnerAnimations(e),r._onRemovalComplete(e,o))}}insertNode(e,o){V(e,this._hostClassName)}drainQueuedTransitions(e){let o=[];return this._queue.forEach(r=>{let n=r.player;if(n.destroyed)return;let i=r.element,a=this._elementListeners.get(i);a&&a.forEach(s=>{if(s.name==r.triggerName){let l=_o(i,r.triggerName,r.fromState.value,r.toState.value);l._data=e,xo(r.player,s.phase,l,s.callback)}}),n.markedForDestroy?this._engine.afterFlush(()=>{n.destroy()}):o.push(r)}),this._queue=[],o.sort((r,n)=>{let i=r.transition.ast.depCount,a=n.transition.ast.depCount;return i==0||a==0?i-a:this._engine.driver.containsElement(r.element,n.element)?1:-1})}destroy(e){this.players.forEach(o=>o.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},$r=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=(e,o)=>{};_onRemovalComplete(e,o){this.onRemovalComplete(e,o)}constructor(e,o,r){this.bodyNode=e,this.driver=o,this._normalizer=r}get queuedPlayers(){let e=[];return this._namespaceList.forEach(o=>{o.players.forEach(r=>{r.queued&&e.push(r)})}),e}createNamespace(e,o){let r=new Qr(e,o,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,o)?this._balanceNamespaceList(r,o):(this.newHostElements.set(o,r),this.collectEnterElement(o)),this._namespaceLookup[e]=r}_balanceNamespaceList(e,o){let r=this._namespaceList,n=this.namespacesByHostElement;if(r.length-1>=0){let a=!1,s=this.driver.getParentElement(o);for(;s;){let l=n.get(s);if(l){let c=r.indexOf(l);r.splice(c+1,0,e),a=!0;break}s=this.driver.getParentElement(s)}a||r.unshift(e)}else r.push(e);return n.set(o,e),e}register(e,o){let r=this._namespaceLookup[e];return r||(r=this.createNamespace(e,o)),r}registerTrigger(e,o,r){let n=this._namespaceLookup[e];n&&n.register(o,r)&&this.totalAnimations++}destroy(e,o){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let r=this._fetchNamespace(e);this.namespacesByHostElement.delete(r.hostElement);let n=this._namespaceList.indexOf(r);n>=0&&this._namespaceList.splice(n,1),r.destroy(o),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let o=new Set,r=this.statesByElement.get(e);if(r){for(let n of r.values())if(n.namespaceId){let i=this._fetchNamespace(n.namespaceId);i&&o.add(i)}}return o}trigger(e,o,r,n){if(Ro(o)){let i=this._fetchNamespace(e);if(i)return i.trigger(o,r,n),!0}return!1}insertNode(e,o,r,n){if(!Ro(o))return;let i=o[ee];if(i&&i.setForRemoval){i.setForRemoval=!1,i.setForMove=!0;let a=this.collectedLeaveElements.indexOf(o);a>=0&&this.collectedLeaveElements.splice(a,1)}if(e){let a=this._fetchNamespace(e);a&&a.insertNode(o,r)}n&&this.collectEnterElement(o)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,o){o?this.disabledNodes.has(e)||(this.disabledNodes.add(e),V(e,Or)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),Ue(e,Or))}removeNode(e,o,r){if(Ro(o)){let n=e?this._fetchNamespace(e):null;n?n.removeNode(o,r):this.markElementAsRemoved(e,o,!1,r);let i=this.namespacesByHostElement.get(o);i&&i.id!==e&&i.removeNode(o,r)}else this._onRemovalComplete(o,r)}markElementAsRemoved(e,o,r,n,i){this.collectedLeaveElements.push(o),o[ee]={namespaceId:e,setForRemoval:n,hasAnimation:r,removedBeforeQueried:!1,previousTriggersValues:i}}listen(e,o,r,n,i){return Ro(o)?this._fetchNamespace(e).listen(o,r,n,i):()=>{}}_buildInstruction(e,o,r,n,i){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,r,n,e.fromState.options,e.toState.options,o,i)}destroyInnerAnimations(e){let o=this.driver.query(e,Je,!0);o.forEach(r=>this.destroyActiveAnimationsForElement(r)),this.playersByQueriedElement.size!=0&&(o=this.driver.query(e,Eo,!0),o.forEach(r=>this.finishActiveQueriedAnimationOnElement(r)))}destroyActiveAnimationsForElement(e){let o=this.playersByElement.get(e);o&&o.forEach(r=>{r.queued?r.markedForDestroy=!0:r.destroy()})}finishActiveQueriedAnimationOnElement(e){let o=this.playersByQueriedElement.get(e);o&&o.forEach(r=>r.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return ge(this.players).onDone(()=>e());e()})}processLeaveNode(e){let o=e[ee];if(o&&o.setForRemoval){if(e[ee]=Ja,o.namespaceId){this.destroyInnerAnimations(e);let r=this._fetchNamespace(o.namespaceId);r&&r.clearElementCache(e)}this._onRemovalComplete(e,o.setForRemoval)}e.classList?.contains(Or)&&this.markElementAsDisabled(e,!1),this.driver.query(e,dl,!0).forEach(r=>{this.markElementAsDisabled(r,!1)})}flush(e=-1){let o=[];if(this.newHostElements.size&&(this.newHostElements.forEach((r,n)=>this._balanceNamespaceList(r,n)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let r=0;r<this.collectedEnterElements.length;r++){let n=this.collectedEnterElements[r];V(n,ul)}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){let r=[];try{o=this._flushAnimations(r,e)}finally{for(let n=0;n<r.length;n++)r[n]()}}else for(let r=0;r<this.collectedLeaveElements.length;r++){let n=this.collectedLeaveElements[r];this.processLeaveNode(n)}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=[],o.length?ge(o).onDone(()=>{r.forEach(n=>n())}):r.forEach(n=>n())}}reportError(e){throw Ra(e)}_flushAnimations(e,o){let r=new ro,n=[],i=new Map,a=[],s=new Map,l=new Map,c=new Map,d=new Set;this.disabledNodes.forEach(f=>{d.add(f);let g=this.driver.query(f,cl,!0);for(let b=0;b<g.length;b++)d.add(g[b])});let u=this.bodyNode,y=Array.from(this.statesByElement.keys()),m=Qa(y,this.collectedEnterElements),p=new Map,h=0;m.forEach((f,g)=>{let b=Br+h++;p.set(g,b),f.forEach(C=>V(C,b))});let w=[],A=new Set,P=new Set;for(let f=0;f<this.collectedLeaveElements.length;f++){let g=this.collectedLeaveElements[f],b=g[ee];b&&b.setForRemoval&&(w.push(g),A.add(g),b.hasAnimation?this.driver.query(g,fl,!0).forEach(C=>A.add(C)):P.add(g))}let k=new Map,S=Qa(y,Array.from(A));S.forEach((f,g)=>{let b=To+h++;k.set(g,b),f.forEach(C=>V(C,b))}),e.push(()=>{m.forEach((f,g)=>{let b=p.get(g);f.forEach(C=>Ue(C,b))}),S.forEach((f,g)=>{let b=k.get(g);f.forEach(C=>Ue(C,b))}),w.forEach(f=>{this.processLeaveNode(f)})});let z=[],te=[];for(let f=this._namespaceList.length-1;f>=0;f--)this._namespaceList[f].drainQueuedTransitions(o).forEach(b=>{let C=b.player,R=b.element;if(z.push(C),this.collectedEnterElements.length){let I=R[ee];if(I&&I.setForMove){if(I.previousTriggersValues&&I.previousTriggersValues.has(b.triggerName)){let Ee=I.previousTriggersValues.get(b.triggerName),H=this.statesByElement.get(b.element);if(H&&H.has(b.triggerName)){let so=H.get(b.triggerName);so.value=Ee,H.set(b.triggerName,so)}}C.destroy();return}}let ne=!u||!this.driver.containsElement(u,R),U=k.get(R),he=p.get(R),M=this._buildInstruction(b,r,he,U,ne);if(M.errors&&M.errors.length){te.push(M);return}if(ne){C.onStart(()=>xe(R,M.fromStyles)),C.onDestroy(()=>J(R,M.toStyles)),n.push(C);return}if(b.isFallbackTransition){C.onStart(()=>xe(R,M.fromStyles)),C.onDestroy(()=>J(R,M.toStyles)),n.push(C);return}let Qn=[];M.timelines.forEach(I=>{I.stretchStartingKeyframe=!0,this.disabledNodes.has(I.element)||Qn.push(I)}),M.timelines=Qn,r.append(R,M.timelines);let As={instruction:M,player:C,element:R};a.push(As),M.queriedElements.forEach(I=>j(s,I,[]).push(C)),M.preStyleProps.forEach((I,Ee)=>{if(I.size){let H=l.get(Ee);H||l.set(Ee,H=new Set),I.forEach((so,rr)=>H.add(rr))}}),M.postStyleProps.forEach((I,Ee)=>{let H=c.get(Ee);H||c.set(Ee,H=new Set),I.forEach((so,rr)=>H.add(rr))})});if(te.length){let f=[];te.forEach(g=>{f.push(Ia(g.triggerName,g.errors))}),z.forEach(g=>g.destroy()),this.reportError(f)}let O=new Map,F=new Map;a.forEach(f=>{let g=f.element;r.has(g)&&(F.set(g,g),this._beforeAnimationBuild(f.player.namespaceId,f.instruction,O))}),n.forEach(f=>{let g=f.element;this._getPreviousPlayers(g,!1,f.namespaceId,f.triggerName,null).forEach(C=>{j(O,g,[]).push(C),C.destroy()})});let Se=w.filter(f=>$a(f,l,c)),Ne=new Map;Va(Ne,this.driver,P,c,G).forEach(f=>{$a(f,l,c)&&Se.push(f)});let Te=new Map;m.forEach((f,g)=>{Va(Te,this.driver,new Set(f),l,Ge)}),Se.forEach(f=>{let g=Ne.get(f),b=Te.get(f);Ne.set(f,new Map([...g?.entries()??[],...b?.entries()??[]]))});let or=[],Kn=[],Vn={};a.forEach(f=>{let{element:g,player:b,instruction:C}=f;if(r.has(g)){if(d.has(g)){b.onDestroy(()=>J(g,C.toStyles)),b.disabled=!0,b.overrideTotalTime(C.totalTime),n.push(b);return}let R=Vn;if(F.size>1){let U=g,he=[];for(;U=U.parentNode;){let M=F.get(U);if(M){R=M;break}he.push(U)}he.forEach(M=>F.set(M,R))}let ne=this._buildAnimation(b.namespaceId,C,O,i,Te,Ne);if(b.setRealPlayer(ne),R===Vn)or.push(b);else{let U=this.playersByElement.get(R);U&&U.length&&(b.parentPlayer=ge(U)),n.push(b)}}else xe(g,C.fromStyles),b.onDestroy(()=>J(g,C.toStyles)),Kn.push(b),d.has(g)&&n.push(b)}),Kn.forEach(f=>{let g=i.get(f.element);if(g&&g.length){let b=ge(g);f.setRealPlayer(b)}}),n.forEach(f=>{f.parentPlayer?f.syncPlayerEvents(f.parentPlayer):f.destroy()});for(let f=0;f<w.length;f++){let g=w[f],b=g[ee];if(Ue(g,To),b&&b.hasAnimation)continue;let C=[];if(s.size){let ne=s.get(g);ne&&ne.length&&C.push(...ne);let U=this.driver.query(g,Eo,!0);for(let he=0;he<U.length;he++){let M=s.get(U[he]);M&&M.length&&C.push(...M)}}let R=C.filter(ne=>!ne.destroyed);R.length?yl(this,g,R):this.processLeaveNode(g)}return w.length=0,or.forEach(f=>{this.players.push(f),f.onDone(()=>{f.destroy();let g=this.players.indexOf(f);this.players.splice(g,1)}),f.play()}),or}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,o,r,n,i){let a=[];if(o){let s=this.playersByQueriedElement.get(e);s&&(a=s)}else{let s=this.playersByElement.get(e);if(s){let l=!i||i==oo;s.forEach(c=>{c.queued||!l&&c.triggerName!=n||a.push(c)})}}return(r||n)&&(a=a.filter(s=>!(r&&r!=s.namespaceId||n&&n!=s.triggerName))),a}_beforeAnimationBuild(e,o,r){let n=o.triggerName,i=o.element,a=o.isRemovalTransition?void 0:e,s=o.isRemovalTransition?void 0:n;for(let l of o.timelines){let c=l.element,d=c!==i,u=j(r,c,[]);this._getPreviousPlayers(c,d,a,s,o.toState).forEach(m=>{let p=m.getRealPlayer();p.beforeDestroy&&p.beforeDestroy(),m.destroy(),u.push(m)})}xe(i,o.fromStyles)}_buildAnimation(e,o,r,n,i,a){let s=o.triggerName,l=o.element,c=[],d=new Set,u=new Set,y=o.timelines.map(p=>{let h=p.element;d.add(h);let w=h[ee];if(w&&w.removedBeforeQueried)return new Ae(p.duration,p.delay);let A=h!==l,P=vl((r.get(h)||pl).map(O=>O.getRealPlayer())).filter(O=>{let F=O;return F.element?F.element===h:!1}),k=i.get(h),S=a.get(h),z=Tr(this._normalizer,p.keyframes,k,S),te=this._buildPlayer(p,z,P);if(p.subTimeline&&n&&u.add(h),A){let O=new no(e,s,h);O.setRealPlayer(te),c.push(O)}return te});c.forEach(p=>{j(this.playersByQueriedElement,p.element,[]).push(p),p.onDone(()=>gl(this.playersByQueriedElement,p.element,p))}),d.forEach(p=>V(p,Rr));let m=ge(y);return m.onDestroy(()=>{d.forEach(p=>Ue(p,Rr)),J(l,o.toStyles)}),u.forEach(p=>{j(n,p,[]).push(m)}),m}_buildPlayer(e,o,r){return o.length>0?this.driver.animate(e.element,o,e.duration,e.delay,e.easing,r):new Ae(e.duration,e.delay)}},no=class{namespaceId;triggerName;element;_player=new Ae;_containsRealPlayer=!1;_queuedCallbacks=new Map;destroyed=!1;parentPlayer=null;markedForDestroy=!1;disabled=!1;queued=!0;totalTime=0;constructor(e,o,r){this.namespaceId=e,this.triggerName=o,this.element=r}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((o,r)=>{o.forEach(n=>xo(e,r,void 0,n))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){let o=this._player;o.triggerCallback&&e.onStart(()=>o.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,o){j(this._queuedCallbacks,e,[]).push(o)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}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(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){let o=this._player;o.triggerCallback&&o.triggerCallback(e)}};function gl(t,e,o){let r=t.get(e);if(r){if(r.length){let n=r.indexOf(o);r.splice(n,1)}r.length==0&&t.delete(e)}return r}function hl(t){return t??null}function Ro(t){return t&&t.nodeType===1}function bl(t){return t=="start"||t=="done"}function Ka(t,e){let o=t.style.display;return t.style.display=e??"none",o}function Va(t,e,o,r,n){let i=[];o.forEach(l=>i.push(Ka(l)));let a=[];r.forEach((l,c)=>{let d=new Map;l.forEach(u=>{let y=e.computeStyle(c,u,n);d.set(u,y),(!y||y.length==0)&&(c[ee]=ml,a.push(c))}),t.set(c,d)});let s=0;return o.forEach(l=>Ka(l,i[s++])),a}function Qa(t,e){let o=new Map;if(t.forEach(s=>o.set(s,[])),e.length==0)return o;let r=1,n=new Set(e),i=new Map;function a(s){if(!s)return r;let l=i.get(s);if(l)return l;let c=s.parentNode;return o.has(c)?l=c:n.has(c)?l=r:l=a(c),i.set(s,l),l}return e.forEach(s=>{let l=a(s);l!==r&&o.get(l).push(s)}),o}function V(t,e){t.classList?.add(e)}function Ue(t,e){t.classList?.remove(e)}function yl(t,e,o){ge(o).onDone(()=>t.processLeaveNode(e))}function vl(t){let e=[];return es(t,e),e}function es(t,e){for(let o=0;o<t.length;o++){let r=t[o];r instanceof vo?es(r.players,e):e.push(r)}}function kl(t,e){let o=Object.keys(t),r=Object.keys(e);if(o.length!=r.length)return!1;for(let n=0;n<o.length;n++){let i=o[n];if(!e.hasOwnProperty(i)||t[i]!==e[i])return!1}return!0}function $a(t,e,o){let r=o.get(t);if(!r)return!1;let n=e.get(t);return n?r.forEach(i=>n.add(i)):e.set(t,r),o.delete(t),!0}var qe=class{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(e,o)=>{};constructor(e,o,r){this._driver=o,this._normalizer=r,this._transitionEngine=new $r(e.body,o,r),this._timelineEngine=new Vr(e.body,o,r),this._transitionEngine.onRemovalComplete=(n,i)=>this.onRemovalComplete(n,i)}registerTrigger(e,o,r,n,i){let a=e+"-"+n,s=this._triggerCache[a];if(!s){let l=[],c=[],d=Ga(this._driver,i,l,c);if(l.length)throw xa(n,l);s=al(n,d,this._normalizer),this._triggerCache[a]=s}this._transitionEngine.registerTrigger(o,n,s)}register(e,o){this._transitionEngine.register(e,o)}destroy(e,o){this._transitionEngine.destroy(e,o)}onInsert(e,o,r,n){this._transitionEngine.insertNode(e,o,r,n)}onRemove(e,o,r){this._transitionEngine.removeNode(e,o,r)}disableAnimations(e,o){this._transitionEngine.markElementAsDisabled(e,o)}process(e,o,r,n){if(r.charAt(0)=="@"){let[i,a]=Er(r),s=n;this._timelineEngine.command(i,o,a,s)}else this._transitionEngine.trigger(e,o,r,n)}listen(e,o,r,n,i){if(r.charAt(0)=="@"){let[a,s]=Er(r);return this._timelineEngine.listen(a,o,s,i)}return this._transitionEngine.listen(e,o,r,n,i)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}};function wl(t,e){let o=null,r=null;return Array.isArray(e)&&e.length?(o=zr(e[0]),e.length>1&&(r=zr(e[e.length-1]))):e instanceof Map&&(o=zr(e)),o||r?new Cl(t,o,r):null}var Cl=(()=>{class t{_element;_startStyles;_endStyles;static initialStylesByElement=new WeakMap;_state=0;_initialStyles;constructor(o,r,n){this._element=o,this._startStyles=r,this._endStyles=n;let i=t.initialStylesByElement.get(o);i||t.initialStylesByElement.set(o,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&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(xe(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(xe(this._element,this._endStyles),this._endStyles=null),J(this._element,this._initialStyles),this._state=3)}}return t})();function zr(t){let e=null;return t.forEach((o,r)=>{xl(r)&&(e=e||new Map,e.set(r,o))}),e}function xl(t){return t==="display"||t==="position"}var Fo=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(e,o,r,n){this.element=e,this.keyframes=o,this.options=r,this._specialStyles=n,this._duration=r.duration,this._delay=r.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer()&&this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return this.domPlayer;this._initialized=!0;let e=this.keyframes,o=this._triggerWebAnimation(this.element,e,this.options);if(!o)return this._onFinish(),null;this.domPlayer=o,this._finalKeyframe=e.length?e[e.length-1]:new Map;let r=()=>this._onFinish();return o.addEventListener("finish",r),this.onDestroy(()=>{o.removeEventListener("finish",r)}),o}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer?.pause()}_convertKeyframesToObject(e){let o=[];return e.forEach(r=>{o.push(Object.fromEntries(r))}),o}_triggerWebAnimation(e,o,r){let n=this._convertKeyframesToObject(o);try{return e.animate(n,r)}catch{return null}}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){let e=this._buildPlayer();e&&(this.hasStarted()||(this._onStartFns.forEach(o=>o()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),e.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(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer||this.init(),this.domPlayer&&(this.domPlayer.currentTime=e*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 e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((r,n)=>{n!=="offset"&&e.set(n,this._finished?r:Ao(this.element,n))}),this.currentSnapshot=e}triggerCallback(e){let o=e==="start"?this._onStartFns:this._onDoneFns;o.forEach(r=>r()),o.length=0}},jo=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}containsElement(e,o){return Mr(e,o)}getParentElement(e){return So(e)}query(e,o,r){return Ar(e,o,r)}computeStyle(e,o,r){return Ao(e,o)}animate(e,o,r,n,i,a=[]){let s=n==0?"both":"forwards",l={duration:r,delay:n,fill:s};i&&(l.easing=i);let c=new Map,d=a.filter(m=>m instanceof Fo);La(r,n)&&d.forEach(m=>{m.currentSnapshot.forEach((p,h)=>c.set(h,p))});let u=Da(o).map(m=>new Map(m));u=za(e,u,c);let y=wl(e,u);return new Fo(e,u,l,y)}};var Io="@",os="@.disabled",Wo=class{namespaceId;delegate;engine;_onDestroy;\u0275type=0;constructor(e,o,r,n){this.namespaceId=e,this.delegate=o,this.engine=r,this._onDestroy=n}get data(){return this.delegate.data}destroyNode(e){this.delegate.destroyNode?.(e)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(e,o){return this.delegate.createElement(e,o)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,o){this.delegate.appendChild(e,o),this.engine.onInsert(this.namespaceId,o,e,!1)}insertBefore(e,o,r,n=!0){this.delegate.insertBefore(e,o,r),this.engine.onInsert(this.namespaceId,o,e,n)}removeChild(e,o,r,n){if(n){this.delegate.removeChild(e,o,r,n);return}this.parentNode(o)&&this.engine.onRemove(this.namespaceId,o,this.delegate)}selectRootElement(e,o){return this.delegate.selectRootElement(e,o)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,o,r,n){this.delegate.setAttribute(e,o,r,n)}removeAttribute(e,o,r){this.delegate.removeAttribute(e,o,r)}addClass(e,o){this.delegate.addClass(e,o)}removeClass(e,o){this.delegate.removeClass(e,o)}setStyle(e,o,r,n){this.delegate.setStyle(e,o,r,n)}removeStyle(e,o,r){this.delegate.removeStyle(e,o,r)}setProperty(e,o,r){o.charAt(0)==Io&&o==os?this.disableAnimations(e,!!r):this.delegate.setProperty(e,o,r)}setValue(e,o){this.delegate.setValue(e,o)}listen(e,o,r,n){return this.delegate.listen(e,o,r,n)}disableAnimations(e,o){this.engine.disableAnimations(e,o)}},Yr=class extends Wo{factory;constructor(e,o,r,n,i){super(o,r,n,i),this.factory=e,this.namespaceId=o}setProperty(e,o,r){o.charAt(0)==Io?o.charAt(1)=="."&&o==os?(r=r===void 0?!0:!!r,this.disableAnimations(e,r)):this.engine.process(this.namespaceId,e,o.slice(1),r):this.delegate.setProperty(e,o,r)}listen(e,o,r,n){if(o.charAt(0)==Io){let i=_l(e),a=o.slice(1),s="";return a.charAt(0)!=Io&&([a,s]=Sl(a)),this.engine.listen(this.namespaceId,i,a,s,l=>{let c=l._data||-1;this.factory.scheduleListenerCallback(c,r,l)})}return this.delegate.listen(e,o,r,n)}};function _l(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}function Sl(t){let e=t.indexOf("."),o=t.substring(0,e),r=t.slice(e+1);return[o,r]}var Uo=class{delegate;engine;_zone;_currentId=0;_microtaskId=1;_animationCallbacksBuffer=[];_rendererCache=new Map;_cdRecurDepth=0;constructor(e,o,r){this.delegate=e,this.engine=o,this._zone=r,o.onRemovalComplete=(n,i)=>{i?.removeChild(null,n)}}createRenderer(e,o){let n=this.delegate.createRenderer(e,o);if(!e||!o?.data?.animation){let c=this._rendererCache,d=c.get(n);if(!d){let u=()=>c.delete(n);d=new Wo("",n,this.engine,u),c.set(n,d)}return d}let i=o.id,a=o.id+"-"+this._currentId;this._currentId++,this.engine.register(a,e);let s=c=>{Array.isArray(c)?c.forEach(s):this.engine.registerTrigger(i,a,e,c.name,c)};return o.data.animation.forEach(s),new Yr(this,a,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,o,r){if(e>=0&&e<this._microtaskId){this._zone.run(()=>o(r));return}let n=this._animationCallbacksBuffer;n.length==0&&queueMicrotask(()=>{this._zone.run(()=>{n.forEach(i=>{let[a,s]=i;a(s)}),this._animationCallbacksBuffer=[]})}),n.push([o,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(e){this.engine.flush(),this.delegate.componentReplaced?.(e)}};var El=(()=>{class t extends qe{constructor(o,r,n){super(o,r,n)}ngOnDestroy(){this.flush()}static \u0275fac=function(r){return new(r||t)(T(si),T(Re),T(Ie))};static \u0275prov=ie({token:t,factory:t.\u0275fac})}return t})();function Ml(){return new No}function Al(t,e,o){return new Uo(t,e,o)}var ts=[{provide:Ie,useFactory:Ml},{provide:qe,useClass:El},{provide:ci,useFactory:Al,deps:[xi,qe,ye]}],Pl=[{provide:Re,useClass:Gr},{provide:ar,useValue:"NoopAnimations"},...ts],rs=[{provide:Re,useFactory:()=>new jo},{provide:ar,useFactory:()=>"BrowserAnimations"},...ts],ns=(()=>{class t{static withConfig(o){return{ngModule:t,providers:o.disableAnimations?Pl:rs}}static \u0275fac=function(r){return new(r||t)};static \u0275mod=ce({type:t});static \u0275inj=ae({providers:rs,imports:[yo]})}return t})();function Bl(t,e){if(t&1&&(B(0,"swiper-slide")(1,"div")(2,"a",1),L(3,"img",2),E()(),B(4,"a",3),D(5),E(),L(6,"p",4),ho(7,"newlines"),E()),t&2){let o=e.$implicit;_(2),q("href",o.href,$e),_(),q("ngSrc",o.imgSrc),_(),q("href",o.href,$e),_(),mo(o.title),_(),q("innerHTML",bo(7,5,o.description),fo)}}var qo=class t{newsList=[];static \u0275fac=function(o){return new(o||t)};static \u0275cmp=ve({type:t,selectors:[["POS-news-swiper"]],inputs:{newsList:"newsList"},decls:3,vars:0,consts:[["pagination","true","pagination-clickable","true","autoplay-delay","5000",2,"margin-top","30px"],["target","_blank",3,"href"],["width","252","height","152","priority","",1,"border","rounded-1","mb-8",3,"ngSrc"],["target","_blank",1,"fw-bold","h5","text-primary","header-title","fs-4",3,"href"],[1,"mt-3",2,"margin-bottom","3rem",3,"innerHTML"]],template:function(o,r){o&1&&(B(0,"swiper-container",0),fi(1,Bl,8,7,"swiper-slide",null,ui),E()),o&2&&(_(),pi(r.newsList))},dependencies:[Ci,Qi],encapsulation:2})};var Rl="firebase",Il="11.10.0";Xe(Rl,Il,"app");var He=new ii("ANGULARFIRE2_VERSION");var as=(t,e)=>{let o=e?[e]:Ji(),r=[];return o.forEach(n=>{n.container.getProvider(t).instances.forEach(a=>{r.includes(a)||r.push(a)})}),r},Zr=(function(t){return t[t.SILENT=0]="SILENT",t[t.WARN=1]="WARN",t[t.VERBOSE=2]="VERBOSE",t})(Zr||{}),ob=Ye()&&typeof Zone<"u"?Zr.WARN:Zr.SILENT;var Ho=class{zone;delegate;constructor(e,o=Zn){this.zone=e,this.delegate=o}now(){return this.delegate.now()}schedule(e,o,r){let n=this.zone,i=function(a){n?n.runGuarded(()=>{e.apply(this,[a])}):e.apply(this,[a])};return this.delegate.schedule(i,o,r)}},Jr=(()=>{class t{outsideAngular;insideAngular;constructor(){let o=Q(ye);this.outsideAngular=o.runOutsideAngular(()=>new Ho(typeof Zone>"u"?void 0:Zone.current)),this.insideAngular=o.run(()=>new Ho(typeof Zone>"u"?void 0:Zone.current,Xn))}static \u0275fac=function(r){return new(r||t)};static \u0275prov=ie({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Dl=new Map,Ol={activated:!1,tokenObservers:[]},Ll={initialized:!1,enabled:!1};function re(t){return Dl.get(t)||Object.assign({},Ol)}function ds(){return Ll}var zl="https://content-firebaseappcheck.googleapis.com/v1";var Fl="exchangeDebugToken",ss={OFFSET_DURATION:300*1e3,RETRIAL_MIN_WAIT:30*1e3,RETRIAL_MAX_WAIT:960*1e3},fb=1440*60*1e3;var rt=class{constructor(e,o,r,n,i){if(this.operation=e,this.retryPolicy=o,this.getWaitDuration=r,this.lowerBound=n,this.upperBound=i,this.pending=null,this.nextErrorWaitInterval=n,n>i)throw new Error("Proactive refresh lower bound greater than upper bound!")}start(){this.nextErrorWaitInterval=this.lowerBound,this.process(!0).catch(()=>{})}stop(){this.pending&&(this.pending.reject("cancelled"),this.pending=null)}isRunning(){return!!this.pending}process(e){return be(this,null,function*(){this.stop();try{this.pending=new vr,this.pending.promise.catch(o=>{}),yield jl(this.getNextRun(e)),this.pending.resolve(),yield this.pending.promise,this.pending=new vr,this.pending.promise.catch(o=>{}),yield this.operation(),this.pending.resolve(),yield this.pending.promise,this.process(!0).catch(()=>{})}catch(o){this.retryPolicy(o)?this.process(!1).catch(()=>{}):this.stop()}})}getNextRun(e){if(e)return this.nextErrorWaitInterval=this.lowerBound,this.getWaitDuration();{let o=this.nextErrorWaitInterval;return this.nextErrorWaitInterval*=2,this.nextErrorWaitInterval>this.upperBound&&(this.nextErrorWaitInterval=this.upperBound),o}}};function jl(t){return new Promise(e=>{setTimeout(e,t)})}var Wl={"already-initialized":"You have already called initializeAppCheck() for FirebaseApp {$appName} with different options. To avoid this error, call initializeAppCheck() with the same options as when it was originally called. This will return the already initialized instance.","use-before-activation":"App Check is being used before initializeAppCheck() is called for FirebaseApp {$appName}. Call initializeAppCheck() before instantiating other Firebase services.","fetch-network-error":"Fetch failed to connect to a network. Check Internet connection. Original error: {$originalErrorMessage}.","fetch-parse-error":"Fetch client could not parse response. Original error: {$originalErrorMessage}.","fetch-status-error":"Fetch server returned an HTTP error status. HTTP status: {$httpStatus}.","storage-open":"Error thrown when opening storage. Original error: {$originalErrorMessage}.","storage-get":"Error thrown when reading from storage. Original error: {$originalErrorMessage}.","storage-set":"Error thrown when writing to storage. Original error: {$originalErrorMessage}.","recaptcha-error":"ReCAPTCHA error.","initial-throttle":"{$httpStatus} error. Attempts allowed again after {$time}",throttled:"Requests throttled due to previous {$httpStatus} error. Attempts allowed again after {$time}"},_e=new Xi("appCheck","AppCheck",Wl);function us(t){if(!re(t).activated)throw _e.create("use-before-activation",{appName:t.name})}function fs(r,n){return be(this,arguments,function*({url:t,body:e},o){let i={"Content-Type":"application/json"},a=o.getImmediate({optional:!0});if(a){let m=yield a.getHeartbeatsHeader();m&&(i["X-Firebase-Client"]=m)}let s={method:"POST",body:JSON.stringify(e),headers:i},l;try{l=yield fetch(t,s)}catch(m){throw _e.create("fetch-network-error",{originalErrorMessage:m?.message})}if(l.status!==200)throw _e.create("fetch-status-error",{httpStatus:l.status});let c;try{c=yield l.json()}catch(m){throw _e.create("fetch-parse-error",{originalErrorMessage:m?.message})}let d=c.ttl.match(/^([\d.]+)(s)$/);if(!d||!d[2]||isNaN(Number(d[1])))throw _e.create("fetch-parse-error",{originalErrorMessage:`ttl field (timeToLive) is not in standard Protobuf Duration format: ${c.ttl}`});let u=Number(d[1])*1e3,y=Date.now();return{token:c.token,expireTimeMillis:y+u,issuedAtTimeMillis:y}})}function ps(t,e){let{projectId:o,appId:r,apiKey:n}=t.options;return{url:`${zl}/projects/${o}/apps/${r}:${Fl}?key=${n}`,body:{debug_token:e}}}var Ul="firebase-app-check-database",ql=1,tt="firebase-app-check-store";var Ko=null;function Hl(){return Ko||(Ko=new Promise((t,e)=>{try{let o=indexedDB.open(Ul,ql);o.onsuccess=r=>{t(r.target.result)},o.onerror=r=>{var n;e(_e.create("storage-open",{originalErrorMessage:(n=r.target.error)===null||n===void 0?void 0:n.message}))},o.onupgradeneeded=r=>{let n=r.target.result;switch(r.oldVersion){case 0:n.createObjectStore(tt,{keyPath:"compositeKey"})}}}catch(o){e(_e.create("storage-open",{originalErrorMessage:o?.message}))}}),Ko)}function Kl(t,e){return Vl(Ql(t),e)}function Vl(t,e){return be(this,null,function*(){let r=(yield Hl()).transaction(tt,"readwrite"),i=r.objectStore(tt).put({compositeKey:t,value:e});return new Promise((a,s)=>{i.onsuccess=l=>{a()},r.onerror=l=>{var c;s(_e.create("storage-set",{originalErrorMessage:(c=l.target.error)===null||c===void 0?void 0:c.message}))}})})}function Ql(t){return`${t.options.appId}-${t.name}`}var io=new Zi("@firebase/app-check");function et(t,e){return Gi()?Kl(t,e).catch(o=>{io.warn(`Failed to write token to IndexedDB. Error: ${o}`)}):Promise.resolve()}function ms(){return ds().enabled}function gs(){return be(this,null,function*(){let t=ds();if(t.enabled&&t.token)return t.token.promise;throw Error(`
1
+ import{b as Co,c as aa}from"./chunk-HWPSC7RE.js";import{a as Qi}from"./chunk-FPRM3L6U.js";import{a as Yi,b as vr,c as Gi,d as Xi,e as kr,f as Zi,g as wr,h as Ji,i as Xe,j as Cr,k as Z}from"./chunk-V432I4ZE.js";import{a as zi}from"./chunk-B7AC4RMR.js";import"./chunk-EQLHPWVB.js";import{d as na}from"./chunk-THT6CY5E.js";import{d as ea,g as ta,n as ia}from"./chunk-ZTD4APMR.js";import"./chunk-7P3L3ODB.js";import{sa as oa,za as ra}from"./chunk-SLX34TWD.js";import{F as Ki,G as Vi,c as Fi,h as ji,i as Wi,k as Ui,o as qi,p as Hi}from"./chunk-DWZ5JTI2.js";import{c as Fe}from"./chunk-KZBVWICA.js";import"./chunk-SBTTKQ4L.js";import"./chunk-36GWLMZX.js";import{b as $i}from"./chunk-WFQIMZGL.js";import{a as Ce}from"./chunk-WUV22SZ4.js";import{a as K}from"./chunk-EAEOJMTA.js";import{a as v,b as G,c as Ai,d as gr,e as Pi,f as X,g as Bi,h as hr,i as br,l as Ae,m as vo,n as Ge,o as Di,p as ko,q as Oi,r as Li,s as wo}from"./chunk-LGOSIAUC.js";import{Ab as Y,Ad as _i,Bd as yo,Cb as ui,D as ei,Db as fi,E as oi,Eb as pi,Fa as li,Fb as q,Fc as ho,Fd as Si,Gb as B,Gc as bo,Hb as E,Hd as Ti,I as ri,Ib as L,Id as Ei,Jb as ke,Jd as Mi,Kb as we,Lb as lr,Ma as uo,Na as ar,Nd as Ri,Od as Ii,Pb as Oe,Pd as ze,Qa as fo,Qb as mi,Qd as Ni,S as ti,Sa as $e,Sb as po,Sd as yr,Tb as cr,Ub as N,Xa as _,Y as tr,Yc as Ye,Za as ye,aa as fe,ba as nr,c as lo,cb as ci,d as Gn,dc as dr,eb as le,fa as ni,gc as Me,gd as bi,h as Xn,ha as ii,hc as D,i as Zn,ia as ai,ib as ve,ic as mo,ja as x,jb as ce,jc as Le,l as Ke,la as ie,m as co,ma as ae,mb as di,mc as ur,n as Ve,na as se,nc as fr,o as Qe,oa as T,oc as pr,od as yi,p as Jn,pa as Q,qd as vi,ra as ir,sd as ki,t as ue,ta as pe,tc as mr,ua as me,wb as sr,xc as go,xd as wi,ya as si,yb as $,yc as gi,yd as Ci,zc as hi,zd as xi}from"./chunk-IEVGW2RT.js";import"./chunk-WFMAM73Y.js";import{a as De,b as $n,e as Yn,k as be}from"./chunk-SNAKHGZS.js";function sa(t){return new x(3e3,!1)}function Ps(){return new x(3100,!1)}function Bs(){return new x(3101,!1)}function Rs(t){return new x(3001,!1)}function Is(t){return new x(3003,!1)}function Ns(t){return new x(3004,!1)}function ca(t,e){return new x(3005,!1)}function da(){return new x(3006,!1)}function ua(){return new x(3007,!1)}function fa(t,e){return new x(3008,!1)}function pa(t){return new x(3002,!1)}function ma(t,e,o,r,n){return new x(3010,!1)}function ga(){return new x(3011,!1)}function ha(){return new x(3012,!1)}function ba(){return new x(3200,!1)}function ya(){return new x(3202,!1)}function va(){return new x(3013,!1)}function ka(t){return new x(3014,!1)}function wa(t){return new x(3015,!1)}function Ca(t){return new x(3016,!1)}function xa(t,e){return new x(3404,!1)}function Ds(t){return new x(3502,!1)}function _a(t){return new x(3503,!1)}function Sa(){return new x(3300,!1)}function Ta(t){return new x(3504,!1)}function Ea(t){return new x(3301,!1)}function Ma(t,e){return new x(3302,!1)}function Aa(t){return new x(3303,!1)}function Pa(t,e){return new x(3400,!1)}function Ba(t){return new x(3401,!1)}function Ra(t){return new x(3402,!1)}function Ia(t,e){return new x(3505,!1)}function ge(t){switch(t.length){case 0:return new Ae;case 1:return t[0];default:return new vo(t)}}function Tr(t,e,o=new Map,r=new Map){let n=[],i=[],a=-1,s=null;if(e.forEach(l=>{let c=l.get("offset"),d=c==a,u=d&&s||new Map;l.forEach((y,m)=>{let p=m,h=y;if(m!=="offset")switch(p=t.normalizePropertyName(p,n),h){case Ge:h=o.get(m);break;case G:h=r.get(m);break;default:h=t.normalizeStyleValue(m,p,h,n);break}u.set(p,h)}),d||i.push(u),s=u,a=c}),n.length)throw Ds(n);return i}function xo(t,e,o,r){switch(e){case"start":t.onStart(()=>r(o&&xr(o,"start",t)));break;case"done":t.onDone(()=>r(o&&xr(o,"done",t)));break;case"destroy":t.onDestroy(()=>r(o&&xr(o,"destroy",t)));break}}function xr(t,e,o){let r=o.totalTime,n=!!o.disabled,i=_o(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,r??t.totalTime,n),a=t._data;return a!=null&&(i._data=a),i}function _o(t,e,o,r,n="",i=0,a){return{element:t,triggerName:e,fromState:o,toState:r,phaseName:n,totalTime:i,disabled:!!a}}function j(t,e,o){let r=t.get(e);return r||t.set(e,r=o),r}function Er(t){let e=t.indexOf(":"),o=t.substring(1,e),r=t.slice(e+1);return[o,r]}var Os=typeof document>"u"?null:document.documentElement;function So(t){let e=t.parentNode||t.host||null;return e===Os?null:e}function Ls(t){return t.substring(1,6)=="ebkit"}var Pe=null,la=!1;function Na(t){Pe||(Pe=zs()||{},la=Pe.style?"WebkitAppearance"in Pe.style:!1);let e=!0;return Pe.style&&!Ls(t)&&(e=t in Pe.style,!e&&la&&(e="Webkit"+t.charAt(0).toUpperCase()+t.slice(1)in Pe.style)),e}function zs(){return typeof document<"u"?document.body:null}function Mr(t,e){for(;e;){if(e===t)return!0;e=So(e)}return!1}function Ar(t,e,o){if(o)return Array.from(t.querySelectorAll(e));let r=t.querySelector(e);return r?[r]:[]}var Fs=1e3,Pr="{{",js="}}",Br="ng-enter",To="ng-leave",Ze="ng-trigger",Je=".ng-trigger",Rr="ng-animating",Eo=".ng-animating";function de(t){if(typeof t=="number")return t;let e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:_r(parseFloat(e[1]),e[2])}function _r(t,e){switch(e){case"s":return t*Fs;default:return t}}function eo(t,e,o){return t.hasOwnProperty("duration")?t:Us(t,e,o)}var Ws=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i;function Us(t,e,o){let r,n=0,i="";if(typeof t=="string"){let a=t.match(Ws);if(a===null)return e.push(sa(t)),{duration:0,delay:0,easing:""};r=_r(parseFloat(a[1]),a[2]);let s=a[3];s!=null&&(n=_r(parseFloat(s),a[4]));let l=a[5];l&&(i=l)}else r=t;if(!o){let a=!1,s=e.length;r<0&&(e.push(Ps()),a=!0),n<0&&(e.push(Bs()),a=!0),a&&e.splice(s,0,sa(t))}return{duration:r,delay:n,easing:i}}function Da(t){return t.length?t[0]instanceof Map?t:t.map(e=>new Map(Object.entries(e))):[]}function J(t,e,o){e.forEach((r,n)=>{let i=Mo(n);o&&!o.has(n)&&o.set(n,t.style[i]),t.style[i]=r})}function xe(t,e){e.forEach((o,r)=>{let n=Mo(r);t.style[n]=""})}function je(t){return Array.isArray(t)?t.length==1?t[0]:Pi(t):t}function Oa(t,e,o){let r=e.params||{},n=Ir(t);n.length&&n.forEach(i=>{r.hasOwnProperty(i)||o.push(Rs(i))})}var Sr=new RegExp(`${Pr}\\s*(.+?)\\s*${js}`,"g");function Ir(t){let e=[];if(typeof t=="string"){let o;for(;o=Sr.exec(t);)e.push(o[1]);Sr.lastIndex=0}return e}function We(t,e,o){let r=`${t}`,n=r.replace(Sr,(i,a)=>{let s=e[a];return s==null&&(o.push(Is(a)),s=""),s.toString()});return n==r?t:n}var qs=/-+([a-z0-9])/g;function Mo(t){return t.replace(qs,(...e)=>e[1].toUpperCase())}function La(t,e){return t===0||e===0}function za(t,e,o){if(o.size&&e.length){let r=e[0],n=[];if(o.forEach((i,a)=>{r.has(a)||n.push(a),r.set(a,i)}),n.length)for(let i=1;i<e.length;i++){let a=e[i];n.forEach(s=>a.set(s,Ao(t,s)))}}return e}function W(t,e,o){switch(e.type){case v.Trigger:return t.visitTrigger(e,o);case v.State:return t.visitState(e,o);case v.Transition:return t.visitTransition(e,o);case v.Sequence:return t.visitSequence(e,o);case v.Group:return t.visitGroup(e,o);case v.Animate:return t.visitAnimate(e,o);case v.Keyframes:return t.visitKeyframes(e,o);case v.Style:return t.visitStyle(e,o);case v.Reference:return t.visitReference(e,o);case v.AnimateChild:return t.visitAnimateChild(e,o);case v.AnimateRef:return t.visitAnimateRef(e,o);case v.Query:return t.visitQuery(e,o);case v.Stagger:return t.visitStagger(e,o);default:throw Ns(e.type)}}function Ao(t,e){return window.getComputedStyle(t)[e]}var Gr=(()=>{class t{validateStyleProperty(o){return Na(o)}containsElement(o,r){return Mr(o,r)}getParentElement(o){return So(o)}query(o,r,n){return Ar(o,r,n)}computeStyle(o,r,n){return n||""}animate(o,r,n,i,a,s=[],l){return new Ae(n,i)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=ie({token:t,factory:t.\u0275fac})}return t})(),Re=class{static NOOP=new Gr},Ie=class{};var Hs=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"]),No=class extends Ie{normalizePropertyName(e,o){return Mo(e)}normalizeStyleValue(e,o,r,n){let i="",a=r.toString().trim();if(Hs.has(o)&&r!==0&&r!=="0")if(typeof r=="number")i="px";else{let s=r.match(/^[+-]?[\d\.]+([a-z]*)$/);s&&s[1].length==0&&n.push(ca(e,r))}return a+i}};var Do="*";function Ks(t,e){let o=[];return typeof t=="string"?t.split(/\s*,\s*/).forEach(r=>Vs(r,o,e)):o.push(t),o}function Vs(t,e,o){if(t[0]==":"){let l=Qs(t,o);if(typeof l=="function"){e.push(l);return}t=l}let r=t.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(r==null||r.length<4)return o.push(wa(t)),e;let n=r[1],i=r[2],a=r[3];e.push(Fa(n,a));let s=n==Do&&a==Do;i[0]=="<"&&!s&&e.push(Fa(a,n))}function Qs(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(o,r)=>parseFloat(r)>parseFloat(o);case":decrement":return(o,r)=>parseFloat(r)<parseFloat(o);default:return e.push(Ca(t)),"* => *"}}var Po=new Set(["true","1"]),Bo=new Set(["false","0"]);function Fa(t,e){let o=Po.has(t)||Bo.has(t),r=Po.has(e)||Bo.has(e);return(n,i)=>{let a=t==Do||t==n,s=e==Do||e==i;return!a&&o&&typeof n=="boolean"&&(a=n?Po.has(t):Bo.has(t)),!s&&r&&typeof i=="boolean"&&(s=i?Po.has(e):Bo.has(e)),a&&s}}var Ya=":self",$s=new RegExp(`s*${Ya}s*,?`,"g");function Ga(t,e,o,r){return new Fr(t).build(e,o,r)}var ja="",Fr=class{_driver;constructor(e){this._driver=e}build(e,o,r){let n=new jr(o);return this._resetContextStyleTimingState(n),W(this,je(e),n)}_resetContextStyleTimingState(e){e.currentQuerySelector=ja,e.collectedStyles=new Map,e.collectedStyles.set(ja,new Map),e.currentTime=0}visitTrigger(e,o){let r=o.queryCount=0,n=o.depCount=0,i=[],a=[];return e.name.charAt(0)=="@"&&o.errors.push(da()),e.definitions.forEach(s=>{if(this._resetContextStyleTimingState(o),s.type==v.State){let l=s,c=l.name;c.toString().split(/\s*,\s*/).forEach(d=>{l.name=d,i.push(this.visitState(l,o))}),l.name=c}else if(s.type==v.Transition){let l=this.visitTransition(s,o);r+=l.queryCount,n+=l.depCount,a.push(l)}else o.errors.push(ua())}),{type:v.Trigger,name:e.name,states:i,transitions:a,queryCount:r,depCount:n,options:null}}visitState(e,o){let r=this.visitStyle(e.styles,o),n=e.options&&e.options.params||null;if(r.containsDynamicStyles){let i=new Set,a=n||{};r.styles.forEach(s=>{s instanceof Map&&s.forEach(l=>{Ir(l).forEach(c=>{a.hasOwnProperty(c)||i.add(c)})})}),i.size&&o.errors.push(fa(e.name,[...i.values()]))}return{type:v.State,name:e.name,style:r,options:n?{params:n}:null}}visitTransition(e,o){o.queryCount=0,o.depCount=0;let r=W(this,je(e.animation),o),n=Ks(e.expr,o.errors);return{type:v.Transition,matchers:n,animation:r,queryCount:o.queryCount,depCount:o.depCount,options:Be(e.options)}}visitSequence(e,o){return{type:v.Sequence,steps:e.steps.map(r=>W(this,r,o)),options:Be(e.options)}}visitGroup(e,o){let r=o.currentTime,n=0,i=e.steps.map(a=>{o.currentTime=r;let s=W(this,a,o);return n=Math.max(n,o.currentTime),s});return o.currentTime=n,{type:v.Group,steps:i,options:Be(e.options)}}visitAnimate(e,o){let r=Zs(e.timings,o.errors);o.currentAnimateTimings=r;let n,i=e.styles?e.styles:X({});if(i.type==v.Keyframes)n=this.visitKeyframes(i,o);else{let a=e.styles,s=!1;if(!a){s=!0;let c={};r.easing&&(c.easing=r.easing),a=X(c)}o.currentTime+=r.duration+r.delay;let l=this.visitStyle(a,o);l.isEmptyStep=s,n=l}return o.currentAnimateTimings=null,{type:v.Animate,timings:r,style:n,options:null}}visitStyle(e,o){let r=this._makeStyleAst(e,o);return this._validateStyleAst(r,o),r}_makeStyleAst(e,o){let r=[],n=Array.isArray(e.styles)?e.styles:[e.styles];for(let s of n)typeof s=="string"?s===G?r.push(s):o.errors.push(pa(s)):r.push(new Map(Object.entries(s)));let i=!1,a=null;return r.forEach(s=>{if(s instanceof Map&&(s.has("easing")&&(a=s.get("easing"),s.delete("easing")),!i)){for(let l of s.values())if(l.toString().indexOf(Pr)>=0){i=!0;break}}}),{type:v.Style,styles:r,easing:a,offset:e.offset,containsDynamicStyles:i,options:null}}_validateStyleAst(e,o){let r=o.currentAnimateTimings,n=o.currentTime,i=o.currentTime;r&&i>0&&(i-=r.duration+r.delay),e.styles.forEach(a=>{typeof a!="string"&&a.forEach((s,l)=>{let c=o.collectedStyles.get(o.currentQuerySelector),d=c.get(l),u=!0;d&&(i!=n&&i>=d.startTime&&n<=d.endTime&&(o.errors.push(ma(l,d.startTime,d.endTime,i,n)),u=!1),i=d.startTime),u&&c.set(l,{startTime:i,endTime:n}),o.options&&Oa(s,o.options,o.errors)})})}visitKeyframes(e,o){let r={type:v.Keyframes,styles:[],options:null};if(!o.currentAnimateTimings)return o.errors.push(ga()),r;let n=1,i=0,a=[],s=!1,l=!1,c=0,d=e.steps.map(A=>{let P=this._makeStyleAst(A,o),k=P.offset!=null?P.offset:Xs(P.styles),S=0;return k!=null&&(i++,S=P.offset=k),l=l||S<0||S>1,s=s||S<c,c=S,a.push(S),P});l&&o.errors.push(ha()),s&&o.errors.push(ba());let u=e.steps.length,y=0;i>0&&i<u?o.errors.push(ya()):i==0&&(y=n/(u-1));let m=u-1,p=o.currentTime,h=o.currentAnimateTimings,w=h.duration;return d.forEach((A,P)=>{let k=y>0?P==m?1:y*P:a[P],S=k*w;o.currentTime=p+h.delay+S,h.duration=S,this._validateStyleAst(A,o),A.offset=k,r.styles.push(A)}),r}visitReference(e,o){return{type:v.Reference,animation:W(this,je(e.animation),o),options:Be(e.options)}}visitAnimateChild(e,o){return o.depCount++,{type:v.AnimateChild,options:Be(e.options)}}visitAnimateRef(e,o){return{type:v.AnimateRef,animation:this.visitReference(e.animation,o),options:Be(e.options)}}visitQuery(e,o){let r=o.currentQuerySelector,n=e.options||{};o.queryCount++,o.currentQuery=e;let[i,a]=Ys(e.selector);o.currentQuerySelector=r.length?r+" "+i:i,j(o.collectedStyles,o.currentQuerySelector,new Map);let s=W(this,je(e.animation),o);return o.currentQuery=null,o.currentQuerySelector=r,{type:v.Query,selector:i,limit:n.limit||0,optional:!!n.optional,includeSelf:a,animation:s,originalSelector:e.selector,options:Be(e.options)}}visitStagger(e,o){o.currentQuery||o.errors.push(va());let r=e.timings==="full"?{duration:0,delay:0,easing:"full"}:eo(e.timings,o.errors,!0);return{type:v.Stagger,animation:W(this,je(e.animation),o),timings:r,options:null}}};function Ys(t){let e=!!t.split(/\s*,\s*/).find(o=>o==Ya);return e&&(t=t.replace($s,"")),t=t.replace(/@\*/g,Je).replace(/@\w+/g,o=>Je+"-"+o.slice(1)).replace(/:animating/g,Eo),[t,e]}function Gs(t){return t?De({},t):null}var jr=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(e){this.errors=e}};function Xs(t){if(typeof t=="string")return null;let e=null;if(Array.isArray(t))t.forEach(o=>{if(o instanceof Map&&o.has("offset")){let r=o;e=parseFloat(r.get("offset")),r.delete("offset")}});else if(t instanceof Map&&t.has("offset")){let o=t;e=parseFloat(o.get("offset")),o.delete("offset")}return e}function Zs(t,e){if(t.hasOwnProperty("duration"))return t;if(typeof t=="number"){let i=eo(t,e).duration;return Nr(i,0,"")}let o=t;if(o.split(/\s+/).some(i=>i.charAt(0)=="{"&&i.charAt(1)=="{")){let i=Nr(0,0,"");return i.dynamic=!0,i.strValue=o,i}let n=eo(o,e);return Nr(n.duration,n.delay,n.easing)}function Be(t){return t?(t=De({},t),t.params&&(t.params=Gs(t.params))):t={},t}function Nr(t,e,o){return{duration:t,delay:e,easing:o}}function Xr(t,e,o,r,n,i,a=null,s=!1){return{type:1,element:t,keyframes:e,preStyleProps:o,postStyleProps:r,duration:n,delay:i,totalTime:n+i,easing:a,subTimeline:s}}var ro=class{_map=new Map;get(e){return this._map.get(e)||[]}append(e,o){let r=this._map.get(e);r||this._map.set(e,r=[]),r.push(...o)}has(e){return this._map.has(e)}clear(){this._map.clear()}},Js=1,el=":enter",ol=new RegExp(el,"g"),rl=":leave",tl=new RegExp(rl,"g");function Xa(t,e,o,r,n,i=new Map,a=new Map,s,l,c=[]){return new Wr().buildKeyframes(t,e,o,r,n,i,a,s,l,c)}var Wr=class{buildKeyframes(e,o,r,n,i,a,s,l,c,d=[]){c=c||new ro;let u=new Ur(e,o,c,n,i,d,[]);u.options=l;let y=l.delay?de(l.delay):0;u.currentTimeline.delayNextStep(y),u.currentTimeline.setStyles([a],null,u.errors,l),W(this,r,u);let m=u.timelines.filter(p=>p.containsAnimation());if(m.length&&s.size){let p;for(let h=m.length-1;h>=0;h--){let w=m[h];if(w.element===o){p=w;break}}p&&!p.allowOnlyTimelineStyles()&&p.setStyles([s],null,u.errors,l)}return m.length?m.map(p=>p.buildKeyframes()):[Xr(o,[],[],[],0,y,"",!1)]}visitTrigger(e,o){}visitState(e,o){}visitTransition(e,o){}visitAnimateChild(e,o){let r=o.subInstructions.get(o.element);if(r){let n=o.createSubContext(e.options),i=o.currentTimeline.currentTime,a=this._visitSubInstructions(r,n,n.options);i!=a&&o.transformIntoNewTimeline(a)}o.previousNode=e}visitAnimateRef(e,o){let r=o.createSubContext(e.options);r.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],o,r),this.visitReference(e.animation,r),o.transformIntoNewTimeline(r.currentTimeline.currentTime),o.previousNode=e}_applyAnimationRefDelays(e,o,r){for(let n of e){let i=n?.delay;if(i){let a=typeof i=="number"?i:de(We(i,n?.params??{},o.errors));r.delayNextStep(a)}}}_visitSubInstructions(e,o,r){let i=o.currentTimeline.currentTime,a=r.duration!=null?de(r.duration):null,s=r.delay!=null?de(r.delay):null;return a!==0&&e.forEach(l=>{let c=o.appendInstructionToTimeline(l,a,s);i=Math.max(i,c.duration+c.delay)}),i}visitReference(e,o){o.updateOptions(e.options,!0),W(this,e.animation,o),o.previousNode=e}visitSequence(e,o){let r=o.subContextCount,n=o,i=e.options;if(i&&(i.params||i.delay)&&(n=o.createSubContext(i),n.transformIntoNewTimeline(),i.delay!=null)){n.previousNode.type==v.Style&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=Oo);let a=de(i.delay);n.delayNextStep(a)}e.steps.length&&(e.steps.forEach(a=>W(this,a,n)),n.currentTimeline.applyStylesToKeyframe(),n.subContextCount>r&&n.transformIntoNewTimeline()),o.previousNode=e}visitGroup(e,o){let r=[],n=o.currentTimeline.currentTime,i=e.options&&e.options.delay?de(e.options.delay):0;e.steps.forEach(a=>{let s=o.createSubContext(e.options);i&&s.delayNextStep(i),W(this,a,s),n=Math.max(n,s.currentTimeline.currentTime),r.push(s.currentTimeline)}),r.forEach(a=>o.currentTimeline.mergeTimelineCollectedStyles(a)),o.transformIntoNewTimeline(n),o.previousNode=e}_visitTiming(e,o){if(e.dynamic){let r=e.strValue,n=o.params?We(r,o.params,o.errors):r;return eo(n,o.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,o){let r=o.currentAnimateTimings=this._visitTiming(e.timings,o),n=o.currentTimeline;r.delay&&(o.incrementTime(r.delay),n.snapshotCurrentStyles());let i=e.style;i.type==v.Keyframes?this.visitKeyframes(i,o):(o.incrementTime(r.duration),this.visitStyle(i,o),n.applyStylesToKeyframe()),o.currentAnimateTimings=null,o.previousNode=e}visitStyle(e,o){let r=o.currentTimeline,n=o.currentAnimateTimings;!n&&r.hasCurrentStyleProperties()&&r.forwardFrame();let i=n&&n.easing||e.easing;e.isEmptyStep?r.applyEmptyStep(i):r.setStyles(e.styles,i,o.errors,o.options),o.previousNode=e}visitKeyframes(e,o){let r=o.currentAnimateTimings,n=o.currentTimeline.duration,i=r.duration,s=o.createSubContext().currentTimeline;s.easing=r.easing,e.styles.forEach(l=>{let c=l.offset||0;s.forwardTime(c*i),s.setStyles(l.styles,l.easing,o.errors,o.options),s.applyStylesToKeyframe()}),o.currentTimeline.mergeTimelineCollectedStyles(s),o.transformIntoNewTimeline(n+i),o.previousNode=e}visitQuery(e,o){let r=o.currentTimeline.currentTime,n=e.options||{},i=n.delay?de(n.delay):0;i&&(o.previousNode.type===v.Style||r==0&&o.currentTimeline.hasCurrentStyleProperties())&&(o.currentTimeline.snapshotCurrentStyles(),o.previousNode=Oo);let a=r,s=o.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!n.optional,o.errors);o.currentQueryTotal=s.length;let l=null;s.forEach((c,d)=>{o.currentQueryIndex=d;let u=o.createSubContext(e.options,c);i&&u.delayNextStep(i),c===o.element&&(l=u.currentTimeline),W(this,e.animation,u),u.currentTimeline.applyStylesToKeyframe();let y=u.currentTimeline.currentTime;a=Math.max(a,y)}),o.currentQueryIndex=0,o.currentQueryTotal=0,o.transformIntoNewTimeline(a),l&&(o.currentTimeline.mergeTimelineCollectedStyles(l),o.currentTimeline.snapshotCurrentStyles()),o.previousNode=e}visitStagger(e,o){let r=o.parentContext,n=o.currentTimeline,i=e.timings,a=Math.abs(i.duration),s=a*(o.currentQueryTotal-1),l=a*o.currentQueryIndex;switch(i.duration<0?"reverse":i.easing){case"reverse":l=s-l;break;case"full":l=r.currentStaggerTime;break}let d=o.currentTimeline;l&&d.delayNextStep(l);let u=d.currentTime;W(this,e.animation,o),o.previousNode=e,r.currentStaggerTime=n.currentTime-u+(n.startTime-r.currentTimeline.startTime)}},Oo={},Ur=class t{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=Oo;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(e,o,r,n,i,a,s,l){this._driver=e,this.element=o,this.subInstructions=r,this._enterClassName=n,this._leaveClassName=i,this.errors=a,this.timelines=s,this.currentTimeline=l||new Lo(this._driver,o,0),s.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,o){if(!e)return;let r=e,n=this.options;r.duration!=null&&(n.duration=de(r.duration)),r.delay!=null&&(n.delay=de(r.delay));let i=r.params;if(i){let a=n.params;a||(a=this.options.params={}),Object.keys(i).forEach(s=>{(!o||!a.hasOwnProperty(s))&&(a[s]=We(i[s],a,this.errors))})}}_copyOptions(){let e={};if(this.options){let o=this.options.params;if(o){let r=e.params={};Object.keys(o).forEach(n=>{r[n]=o[n]})}}return e}createSubContext(e=null,o,r){let n=o||this.element,i=new t(this._driver,n,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(n,r||0));return i.previousNode=this.previousNode,i.currentAnimateTimings=this.currentAnimateTimings,i.options=this._copyOptions(),i.updateOptions(e),i.currentQueryIndex=this.currentQueryIndex,i.currentQueryTotal=this.currentQueryTotal,i.parentContext=this,this.subContextCount++,i}transformIntoNewTimeline(e){return this.previousNode=Oo,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,o,r){let n={duration:o??e.duration,delay:this.currentTimeline.currentTime+(r??0)+e.delay,easing:""},i=new qr(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,n,e.stretchStartingKeyframe);return this.timelines.push(i),n}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,o,r,n,i,a){let s=[];if(n&&s.push(this.element),e.length>0){e=e.replace(ol,"."+this._enterClassName),e=e.replace(tl,"."+this._leaveClassName);let l=r!=1,c=this._driver.query(this.element,e,l);r!==0&&(c=r<0?c.slice(c.length+r,c.length):c.slice(0,r)),s.push(...c)}return!i&&s.length==0&&a.push(ka(o)),s}},Lo=class t{_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(e,o,r,n){this._driver=e,this.element=o,this.startTime=r,this._elementTimelineStylesLookup=n,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(o),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(o,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(e){let o=this._keyframes.size===1&&this._pendingStyles.size;this.duration||o?(this.forwardTime(this.currentTime+e),o&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,o){return this.applyStylesToKeyframe(),new t(this._driver,e,o||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+=Js,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,o){this._localTimelineStyles.set(e,o),this._globalTimelineStyles.set(e,o),this._styleSummary.set(e,{time:this.currentTime,value:o})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[o,r]of this._globalTimelineStyles)this._backFill.set(o,r||G),this._currentKeyframe.set(o,G);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,o,r,n){o&&this._previousKeyframe.set("easing",o);let i=n&&n.params||{},a=nl(e,this._globalTimelineStyles);for(let[s,l]of a){let c=We(l,i,r);this._pendingStyles.set(s,c),this._localTimelineStyles.has(s)||this._backFill.set(s,this._globalTimelineStyles.get(s)??G),this._updateStyle(s,c)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((e,o)=>{this._currentKeyframe.set(o,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,o)=>{this._currentKeyframe.has(o)||this._currentKeyframe.set(o,e)}))}snapshotCurrentStyles(){for(let[e,o]of this._localTimelineStyles)this._pendingStyles.set(e,o),this._updateStyle(e,o)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let e=[];for(let o in this._currentKeyframe)e.push(o);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((o,r)=>{let n=this._styleSummary.get(r);(!n||o.time>n.time)&&this._updateStyle(r,o.value)})}buildKeyframes(){this.applyStylesToKeyframe();let e=new Set,o=new Set,r=this._keyframes.size===1&&this.duration===0,n=[];this._keyframes.forEach((s,l)=>{let c=new Map([...this._backFill,...s]);c.forEach((d,u)=>{d===Ge?e.add(u):d===G&&o.add(u)}),r||c.set("offset",l/this.duration),n.push(c)});let i=[...e.values()],a=[...o.values()];if(r){let s=n[0],l=new Map(s);s.set("offset",0),l.set("offset",1),n=[s,l]}return Xr(this.element,n,i,a,this.duration,this.startTime,this.easing,!1)}},qr=class extends Lo{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(e,o,r,n,i,a,s=!1){super(e,o,a.delay),this.keyframes=r,this.preStyleProps=n,this.postStyleProps=i,this._stretchStartingKeyframe=s,this.timings={duration:a.duration,delay:a.delay,easing:a.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:o,duration:r,easing:n}=this.timings;if(this._stretchStartingKeyframe&&o){let i=[],a=r+o,s=o/a,l=new Map(e[0]);l.set("offset",0),i.push(l);let c=new Map(e[0]);c.set("offset",Wa(s)),i.push(c);let d=e.length-1;for(let u=1;u<=d;u++){let y=new Map(e[u]),m=y.get("offset"),p=o+m*r;y.set("offset",Wa(p/a)),i.push(y)}r=a,o=0,n="",e=i}return Xr(this.element,e,this.preStyleProps,this.postStyleProps,r,o,n,!0)}};function Wa(t,e=3){let o=Math.pow(10,e-1);return Math.round(t*o)/o}function nl(t,e){let o=new Map,r;return t.forEach(n=>{if(n==="*"){r??=e.keys();for(let i of r)o.set(i,G)}else for(let[i,a]of n)o.set(i,a)}),o}function Ua(t,e,o,r,n,i,a,s,l,c,d,u,y){return{type:0,element:t,triggerName:e,isRemovalTransition:n,fromState:o,fromStyles:i,toState:r,toStyles:a,timelines:s,queriedElements:l,preStyleProps:c,postStyleProps:d,totalTime:u,errors:y}}var Dr={},zo=class{_triggerName;ast;_stateStyles;constructor(e,o,r){this._triggerName=e,this.ast=o,this._stateStyles=r}match(e,o,r,n){return il(this.ast.matchers,e,o,r,n)}buildStyles(e,o,r){let n=this._stateStyles.get("*");return e!==void 0&&(n=this._stateStyles.get(e?.toString())||n),n?n.buildStyles(o,r):new Map}build(e,o,r,n,i,a,s,l,c,d){let u=[],y=this.ast.options&&this.ast.options.params||Dr,m=s&&s.params||Dr,p=this.buildStyles(r,m,u),h=l&&l.params||Dr,w=this.buildStyles(n,h,u),A=new Set,P=new Map,k=new Map,S=n==="void",z={params:Za(h,y),delay:this.ast.options?.delay},te=d?[]:Xa(e,o,this.ast.animation,i,a,p,w,z,c,u),O=0;return te.forEach(F=>{O=Math.max(F.duration+F.delay,O)}),u.length?Ua(o,this._triggerName,r,n,S,p,w,[],[],P,k,O,u):(te.forEach(F=>{let Se=F.element,Ne=j(P,Se,new Set);F.preStyleProps.forEach(Te=>Ne.add(Te));let Hn=j(k,Se,new Set);F.postStyleProps.forEach(Te=>Hn.add(Te)),Se!==o&&A.add(Se)}),Ua(o,this._triggerName,r,n,S,p,w,te,[...A.values()],P,k,O))}};function il(t,e,o,r,n){return t.some(i=>i(e,o,r,n))}function Za(t,e){let o=De({},e);return Object.entries(t).forEach(([r,n])=>{n!=null&&(o[r]=n)}),o}var Hr=class{styles;defaultParams;normalizer;constructor(e,o,r){this.styles=e,this.defaultParams=o,this.normalizer=r}buildStyles(e,o){let r=new Map,n=Za(e,this.defaultParams);return this.styles.styles.forEach(i=>{typeof i!="string"&&i.forEach((a,s)=>{a&&(a=We(a,n,o));let l=this.normalizer.normalizePropertyName(s,o);a=this.normalizer.normalizeStyleValue(s,l,a,o),r.set(s,a)})}),r}};function al(t,e,o){return new Kr(t,e,o)}var Kr=class{name;ast;_normalizer;transitionFactories=[];fallbackTransition;states=new Map;constructor(e,o,r){this.name=e,this.ast=o,this._normalizer=r,o.states.forEach(n=>{let i=n.options&&n.options.params||{};this.states.set(n.name,new Hr(n.style,i,r))}),qa(this.states,"true","1"),qa(this.states,"false","0"),o.transitions.forEach(n=>{this.transitionFactories.push(new zo(e,n,this.states))}),this.fallbackTransition=sl(e,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,o,r,n){return this.transitionFactories.find(a=>a.match(e,o,r,n))||null}matchStyles(e,o,r){return this.fallbackTransition.buildStyles(e,o,r)}};function sl(t,e,o){let r=[(a,s)=>!0],n={type:v.Sequence,steps:[],options:null},i={type:v.Transition,animation:n,matchers:r,options:null,queryCount:0,depCount:0};return new zo(t,i,e)}function qa(t,e,o){t.has(e)?t.has(o)||t.set(o,t.get(e)):t.has(o)&&t.set(e,t.get(o))}var ll=new ro,Vr=class{bodyNode;_driver;_normalizer;_animations=new Map;_playersById=new Map;players=[];constructor(e,o,r){this.bodyNode=e,this._driver=o,this._normalizer=r}register(e,o){let r=[],n=[],i=Ga(this._driver,o,r,n);if(r.length)throw _a(r);this._animations.set(e,i)}_buildPlayer(e,o,r){let n=e.element,i=Tr(this._normalizer,e.keyframes,o,r);return this._driver.animate(n,i,e.duration,e.delay,e.easing,[],!0)}create(e,o,r={}){let n=[],i=this._animations.get(e),a,s=new Map;if(i?(a=Xa(this._driver,o,i,Br,To,new Map,new Map,r,ll,n),a.forEach(d=>{let u=j(s,d.element,new Map);d.postStyleProps.forEach(y=>u.set(y,null))})):(n.push(Sa()),a=[]),n.length)throw Ta(n);s.forEach((d,u)=>{d.forEach((y,m)=>{d.set(m,this._driver.computeStyle(u,m,G))})});let l=a.map(d=>{let u=s.get(d.element);return this._buildPlayer(d,new Map,u)}),c=ge(l);return this._playersById.set(e,c),c.onDestroy(()=>this.destroy(e)),this.players.push(c),c}destroy(e){let o=this._getPlayer(e);o.destroy(),this._playersById.delete(e);let r=this.players.indexOf(o);r>=0&&this.players.splice(r,1)}_getPlayer(e){let o=this._playersById.get(e);if(!o)throw Ea(e);return o}listen(e,o,r,n){let i=_o(o,"","","");return xo(this._getPlayer(e),r,i,n),()=>{}}command(e,o,r,n){if(r=="register"){this.register(e,n[0]);return}if(r=="create"){let a=n[0]||{};this.create(e,o,a);return}let i=this._getPlayer(e);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(n[0]));break;case"destroy":this.destroy(e);break}}},Ha="ng-animate-queued",cl=".ng-animate-queued",Or="ng-animate-disabled",dl=".ng-animate-disabled",ul="ng-star-inserted",fl=".ng-star-inserted",pl=[],Ja={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},ml={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},ee="__ng_removed",to=class{namespaceId;value;options;get params(){return this.options.params}constructor(e,o=""){this.namespaceId=o;let r=e&&e.hasOwnProperty("value"),n=r?e.value:e;if(this.value=hl(n),r){let i=e,{value:a}=i,s=Yn(i,["value"]);this.options=s}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){let o=e.params;if(o){let r=this.options.params;Object.keys(o).forEach(n=>{r[n]==null&&(r[n]=o[n])})}}},oo="void",Lr=new to(oo),Qr=class{id;hostElement;_engine;players=[];_triggers=new Map;_queue=[];_elementListeners=new Map;_hostClassName;constructor(e,o,r){this.id=e,this.hostElement=o,this._engine=r,this._hostClassName="ng-tns-"+e,V(o,this._hostClassName)}listen(e,o,r,n){if(!this._triggers.has(o))throw Ma(r,o);if(r==null||r.length==0)throw Aa(o);if(!bl(r))throw Pa(r,o);let i=j(this._elementListeners,e,[]),a={name:o,phase:r,callback:n};i.push(a);let s=j(this._engine.statesByElement,e,new Map);return s.has(o)||(V(e,Ze),V(e,Ze+"-"+o),s.set(o,Lr)),()=>{this._engine.afterFlush(()=>{let l=i.indexOf(a);l>=0&&i.splice(l,1),this._triggers.has(o)||s.delete(o)})}}register(e,o){return this._triggers.has(e)?!1:(this._triggers.set(e,o),!0)}_getTrigger(e){let o=this._triggers.get(e);if(!o)throw Ba(e);return o}trigger(e,o,r,n=!0){let i=this._getTrigger(o),a=new no(this.id,o,e),s=this._engine.statesByElement.get(e);s||(V(e,Ze),V(e,Ze+"-"+o),this._engine.statesByElement.set(e,s=new Map));let l=s.get(o),c=new to(r,this.id);if(!(r&&r.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),s.set(o,c),l||(l=Lr),!(c.value===oo)&&l.value===c.value){if(!kl(l.params,c.params)){let h=[],w=i.matchStyles(l.value,l.params,h),A=i.matchStyles(c.value,c.params,h);h.length?this._engine.reportError(h):this._engine.afterFlush(()=>{xe(e,w),J(e,A)})}return}let y=j(this._engine.playersByElement,e,[]);y.forEach(h=>{h.namespaceId==this.id&&h.triggerName==o&&h.queued&&h.destroy()});let m=i.matchTransition(l.value,c.value,e,c.params),p=!1;if(!m){if(!n)return;m=i.fallbackTransition,p=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:o,transition:m,fromState:l,toState:c,player:a,isFallbackTransition:p}),p||(V(e,Ha),a.onStart(()=>{Ue(e,Ha)})),a.onDone(()=>{let h=this.players.indexOf(a);h>=0&&this.players.splice(h,1);let w=this._engine.playersByElement.get(e);if(w){let A=w.indexOf(a);A>=0&&w.splice(A,1)}}),this.players.push(a),y.push(a),a}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(o=>o.delete(e)),this._elementListeners.forEach((o,r)=>{this._elementListeners.set(r,o.filter(n=>n.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let o=this._engine.playersByElement.get(e);o&&(o.forEach(r=>r.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,o){let r=this._engine.driver.query(e,Je,!0);r.forEach(n=>{if(n[ee])return;let i=this._engine.fetchNamespacesByElement(n);i.size?i.forEach(a=>a.triggerLeaveAnimation(n,o,!1,!0)):this.clearElementCache(n)}),this._engine.afterFlushAnimationsDone(()=>r.forEach(n=>this.clearElementCache(n)))}triggerLeaveAnimation(e,o,r,n){let i=this._engine.statesByElement.get(e),a=new Map;if(i){let s=[];if(i.forEach((l,c)=>{if(a.set(c,l.value),this._triggers.has(c)){let d=this.trigger(e,c,oo,n);d&&s.push(d)}}),s.length)return this._engine.markElementAsRemoved(this.id,e,!0,o,a),r&&ge(s).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let o=this._elementListeners.get(e),r=this._engine.statesByElement.get(e);if(o&&r){let n=new Set;o.forEach(i=>{let a=i.name;if(n.has(a))return;n.add(a);let l=this._triggers.get(a).fallbackTransition,c=r.get(a)||Lr,d=new to(oo),u=new no(this.id,a,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:a,transition:l,fromState:c,toState:d,player:u,isFallbackTransition:!0})})}}removeNode(e,o){let r=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,o),this.triggerLeaveAnimation(e,o,!0))return;let n=!1;if(r.totalAnimations){let i=r.players.length?r.playersByQueriedElement.get(e):[];if(i&&i.length)n=!0;else{let a=e;for(;a=a.parentNode;)if(r.statesByElement.get(a)){n=!0;break}}}if(this.prepareLeaveAnimationListeners(e),n)r.markElementAsRemoved(this.id,e,!1,o);else{let i=e[ee];(!i||i===Ja)&&(r.afterFlush(()=>this.clearElementCache(e)),r.destroyInnerAnimations(e),r._onRemovalComplete(e,o))}}insertNode(e,o){V(e,this._hostClassName)}drainQueuedTransitions(e){let o=[];return this._queue.forEach(r=>{let n=r.player;if(n.destroyed)return;let i=r.element,a=this._elementListeners.get(i);a&&a.forEach(s=>{if(s.name==r.triggerName){let l=_o(i,r.triggerName,r.fromState.value,r.toState.value);l._data=e,xo(r.player,s.phase,l,s.callback)}}),n.markedForDestroy?this._engine.afterFlush(()=>{n.destroy()}):o.push(r)}),this._queue=[],o.sort((r,n)=>{let i=r.transition.ast.depCount,a=n.transition.ast.depCount;return i==0||a==0?i-a:this._engine.driver.containsElement(r.element,n.element)?1:-1})}destroy(e){this.players.forEach(o=>o.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},$r=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=(e,o)=>{};_onRemovalComplete(e,o){this.onRemovalComplete(e,o)}constructor(e,o,r){this.bodyNode=e,this.driver=o,this._normalizer=r}get queuedPlayers(){let e=[];return this._namespaceList.forEach(o=>{o.players.forEach(r=>{r.queued&&e.push(r)})}),e}createNamespace(e,o){let r=new Qr(e,o,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,o)?this._balanceNamespaceList(r,o):(this.newHostElements.set(o,r),this.collectEnterElement(o)),this._namespaceLookup[e]=r}_balanceNamespaceList(e,o){let r=this._namespaceList,n=this.namespacesByHostElement;if(r.length-1>=0){let a=!1,s=this.driver.getParentElement(o);for(;s;){let l=n.get(s);if(l){let c=r.indexOf(l);r.splice(c+1,0,e),a=!0;break}s=this.driver.getParentElement(s)}a||r.unshift(e)}else r.push(e);return n.set(o,e),e}register(e,o){let r=this._namespaceLookup[e];return r||(r=this.createNamespace(e,o)),r}registerTrigger(e,o,r){let n=this._namespaceLookup[e];n&&n.register(o,r)&&this.totalAnimations++}destroy(e,o){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let r=this._fetchNamespace(e);this.namespacesByHostElement.delete(r.hostElement);let n=this._namespaceList.indexOf(r);n>=0&&this._namespaceList.splice(n,1),r.destroy(o),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let o=new Set,r=this.statesByElement.get(e);if(r){for(let n of r.values())if(n.namespaceId){let i=this._fetchNamespace(n.namespaceId);i&&o.add(i)}}return o}trigger(e,o,r,n){if(Ro(o)){let i=this._fetchNamespace(e);if(i)return i.trigger(o,r,n),!0}return!1}insertNode(e,o,r,n){if(!Ro(o))return;let i=o[ee];if(i&&i.setForRemoval){i.setForRemoval=!1,i.setForMove=!0;let a=this.collectedLeaveElements.indexOf(o);a>=0&&this.collectedLeaveElements.splice(a,1)}if(e){let a=this._fetchNamespace(e);a&&a.insertNode(o,r)}n&&this.collectEnterElement(o)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,o){o?this.disabledNodes.has(e)||(this.disabledNodes.add(e),V(e,Or)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),Ue(e,Or))}removeNode(e,o,r){if(Ro(o)){let n=e?this._fetchNamespace(e):null;n?n.removeNode(o,r):this.markElementAsRemoved(e,o,!1,r);let i=this.namespacesByHostElement.get(o);i&&i.id!==e&&i.removeNode(o,r)}else this._onRemovalComplete(o,r)}markElementAsRemoved(e,o,r,n,i){this.collectedLeaveElements.push(o),o[ee]={namespaceId:e,setForRemoval:n,hasAnimation:r,removedBeforeQueried:!1,previousTriggersValues:i}}listen(e,o,r,n,i){return Ro(o)?this._fetchNamespace(e).listen(o,r,n,i):()=>{}}_buildInstruction(e,o,r,n,i){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,r,n,e.fromState.options,e.toState.options,o,i)}destroyInnerAnimations(e){let o=this.driver.query(e,Je,!0);o.forEach(r=>this.destroyActiveAnimationsForElement(r)),this.playersByQueriedElement.size!=0&&(o=this.driver.query(e,Eo,!0),o.forEach(r=>this.finishActiveQueriedAnimationOnElement(r)))}destroyActiveAnimationsForElement(e){let o=this.playersByElement.get(e);o&&o.forEach(r=>{r.queued?r.markedForDestroy=!0:r.destroy()})}finishActiveQueriedAnimationOnElement(e){let o=this.playersByQueriedElement.get(e);o&&o.forEach(r=>r.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return ge(this.players).onDone(()=>e());e()})}processLeaveNode(e){let o=e[ee];if(o&&o.setForRemoval){if(e[ee]=Ja,o.namespaceId){this.destroyInnerAnimations(e);let r=this._fetchNamespace(o.namespaceId);r&&r.clearElementCache(e)}this._onRemovalComplete(e,o.setForRemoval)}e.classList?.contains(Or)&&this.markElementAsDisabled(e,!1),this.driver.query(e,dl,!0).forEach(r=>{this.markElementAsDisabled(r,!1)})}flush(e=-1){let o=[];if(this.newHostElements.size&&(this.newHostElements.forEach((r,n)=>this._balanceNamespaceList(r,n)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let r=0;r<this.collectedEnterElements.length;r++){let n=this.collectedEnterElements[r];V(n,ul)}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){let r=[];try{o=this._flushAnimations(r,e)}finally{for(let n=0;n<r.length;n++)r[n]()}}else for(let r=0;r<this.collectedLeaveElements.length;r++){let n=this.collectedLeaveElements[r];this.processLeaveNode(n)}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=[],o.length?ge(o).onDone(()=>{r.forEach(n=>n())}):r.forEach(n=>n())}}reportError(e){throw Ra(e)}_flushAnimations(e,o){let r=new ro,n=[],i=new Map,a=[],s=new Map,l=new Map,c=new Map,d=new Set;this.disabledNodes.forEach(f=>{d.add(f);let g=this.driver.query(f,cl,!0);for(let b=0;b<g.length;b++)d.add(g[b])});let u=this.bodyNode,y=Array.from(this.statesByElement.keys()),m=Qa(y,this.collectedEnterElements),p=new Map,h=0;m.forEach((f,g)=>{let b=Br+h++;p.set(g,b),f.forEach(C=>V(C,b))});let w=[],A=new Set,P=new Set;for(let f=0;f<this.collectedLeaveElements.length;f++){let g=this.collectedLeaveElements[f],b=g[ee];b&&b.setForRemoval&&(w.push(g),A.add(g),b.hasAnimation?this.driver.query(g,fl,!0).forEach(C=>A.add(C)):P.add(g))}let k=new Map,S=Qa(y,Array.from(A));S.forEach((f,g)=>{let b=To+h++;k.set(g,b),f.forEach(C=>V(C,b))}),e.push(()=>{m.forEach((f,g)=>{let b=p.get(g);f.forEach(C=>Ue(C,b))}),S.forEach((f,g)=>{let b=k.get(g);f.forEach(C=>Ue(C,b))}),w.forEach(f=>{this.processLeaveNode(f)})});let z=[],te=[];for(let f=this._namespaceList.length-1;f>=0;f--)this._namespaceList[f].drainQueuedTransitions(o).forEach(b=>{let C=b.player,R=b.element;if(z.push(C),this.collectedEnterElements.length){let I=R[ee];if(I&&I.setForMove){if(I.previousTriggersValues&&I.previousTriggersValues.has(b.triggerName)){let Ee=I.previousTriggersValues.get(b.triggerName),H=this.statesByElement.get(b.element);if(H&&H.has(b.triggerName)){let so=H.get(b.triggerName);so.value=Ee,H.set(b.triggerName,so)}}C.destroy();return}}let ne=!u||!this.driver.containsElement(u,R),U=k.get(R),he=p.get(R),M=this._buildInstruction(b,r,he,U,ne);if(M.errors&&M.errors.length){te.push(M);return}if(ne){C.onStart(()=>xe(R,M.fromStyles)),C.onDestroy(()=>J(R,M.toStyles)),n.push(C);return}if(b.isFallbackTransition){C.onStart(()=>xe(R,M.fromStyles)),C.onDestroy(()=>J(R,M.toStyles)),n.push(C);return}let Qn=[];M.timelines.forEach(I=>{I.stretchStartingKeyframe=!0,this.disabledNodes.has(I.element)||Qn.push(I)}),M.timelines=Qn,r.append(R,M.timelines);let As={instruction:M,player:C,element:R};a.push(As),M.queriedElements.forEach(I=>j(s,I,[]).push(C)),M.preStyleProps.forEach((I,Ee)=>{if(I.size){let H=l.get(Ee);H||l.set(Ee,H=new Set),I.forEach((so,rr)=>H.add(rr))}}),M.postStyleProps.forEach((I,Ee)=>{let H=c.get(Ee);H||c.set(Ee,H=new Set),I.forEach((so,rr)=>H.add(rr))})});if(te.length){let f=[];te.forEach(g=>{f.push(Ia(g.triggerName,g.errors))}),z.forEach(g=>g.destroy()),this.reportError(f)}let O=new Map,F=new Map;a.forEach(f=>{let g=f.element;r.has(g)&&(F.set(g,g),this._beforeAnimationBuild(f.player.namespaceId,f.instruction,O))}),n.forEach(f=>{let g=f.element;this._getPreviousPlayers(g,!1,f.namespaceId,f.triggerName,null).forEach(C=>{j(O,g,[]).push(C),C.destroy()})});let Se=w.filter(f=>$a(f,l,c)),Ne=new Map;Va(Ne,this.driver,P,c,G).forEach(f=>{$a(f,l,c)&&Se.push(f)});let Te=new Map;m.forEach((f,g)=>{Va(Te,this.driver,new Set(f),l,Ge)}),Se.forEach(f=>{let g=Ne.get(f),b=Te.get(f);Ne.set(f,new Map([...g?.entries()??[],...b?.entries()??[]]))});let or=[],Kn=[],Vn={};a.forEach(f=>{let{element:g,player:b,instruction:C}=f;if(r.has(g)){if(d.has(g)){b.onDestroy(()=>J(g,C.toStyles)),b.disabled=!0,b.overrideTotalTime(C.totalTime),n.push(b);return}let R=Vn;if(F.size>1){let U=g,he=[];for(;U=U.parentNode;){let M=F.get(U);if(M){R=M;break}he.push(U)}he.forEach(M=>F.set(M,R))}let ne=this._buildAnimation(b.namespaceId,C,O,i,Te,Ne);if(b.setRealPlayer(ne),R===Vn)or.push(b);else{let U=this.playersByElement.get(R);U&&U.length&&(b.parentPlayer=ge(U)),n.push(b)}}else xe(g,C.fromStyles),b.onDestroy(()=>J(g,C.toStyles)),Kn.push(b),d.has(g)&&n.push(b)}),Kn.forEach(f=>{let g=i.get(f.element);if(g&&g.length){let b=ge(g);f.setRealPlayer(b)}}),n.forEach(f=>{f.parentPlayer?f.syncPlayerEvents(f.parentPlayer):f.destroy()});for(let f=0;f<w.length;f++){let g=w[f],b=g[ee];if(Ue(g,To),b&&b.hasAnimation)continue;let C=[];if(s.size){let ne=s.get(g);ne&&ne.length&&C.push(...ne);let U=this.driver.query(g,Eo,!0);for(let he=0;he<U.length;he++){let M=s.get(U[he]);M&&M.length&&C.push(...M)}}let R=C.filter(ne=>!ne.destroyed);R.length?yl(this,g,R):this.processLeaveNode(g)}return w.length=0,or.forEach(f=>{this.players.push(f),f.onDone(()=>{f.destroy();let g=this.players.indexOf(f);this.players.splice(g,1)}),f.play()}),or}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,o,r,n,i){let a=[];if(o){let s=this.playersByQueriedElement.get(e);s&&(a=s)}else{let s=this.playersByElement.get(e);if(s){let l=!i||i==oo;s.forEach(c=>{c.queued||!l&&c.triggerName!=n||a.push(c)})}}return(r||n)&&(a=a.filter(s=>!(r&&r!=s.namespaceId||n&&n!=s.triggerName))),a}_beforeAnimationBuild(e,o,r){let n=o.triggerName,i=o.element,a=o.isRemovalTransition?void 0:e,s=o.isRemovalTransition?void 0:n;for(let l of o.timelines){let c=l.element,d=c!==i,u=j(r,c,[]);this._getPreviousPlayers(c,d,a,s,o.toState).forEach(m=>{let p=m.getRealPlayer();p.beforeDestroy&&p.beforeDestroy(),m.destroy(),u.push(m)})}xe(i,o.fromStyles)}_buildAnimation(e,o,r,n,i,a){let s=o.triggerName,l=o.element,c=[],d=new Set,u=new Set,y=o.timelines.map(p=>{let h=p.element;d.add(h);let w=h[ee];if(w&&w.removedBeforeQueried)return new Ae(p.duration,p.delay);let A=h!==l,P=vl((r.get(h)||pl).map(O=>O.getRealPlayer())).filter(O=>{let F=O;return F.element?F.element===h:!1}),k=i.get(h),S=a.get(h),z=Tr(this._normalizer,p.keyframes,k,S),te=this._buildPlayer(p,z,P);if(p.subTimeline&&n&&u.add(h),A){let O=new no(e,s,h);O.setRealPlayer(te),c.push(O)}return te});c.forEach(p=>{j(this.playersByQueriedElement,p.element,[]).push(p),p.onDone(()=>gl(this.playersByQueriedElement,p.element,p))}),d.forEach(p=>V(p,Rr));let m=ge(y);return m.onDestroy(()=>{d.forEach(p=>Ue(p,Rr)),J(l,o.toStyles)}),u.forEach(p=>{j(n,p,[]).push(m)}),m}_buildPlayer(e,o,r){return o.length>0?this.driver.animate(e.element,o,e.duration,e.delay,e.easing,r):new Ae(e.duration,e.delay)}},no=class{namespaceId;triggerName;element;_player=new Ae;_containsRealPlayer=!1;_queuedCallbacks=new Map;destroyed=!1;parentPlayer=null;markedForDestroy=!1;disabled=!1;queued=!0;totalTime=0;constructor(e,o,r){this.namespaceId=e,this.triggerName=o,this.element=r}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((o,r)=>{o.forEach(n=>xo(e,r,void 0,n))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){let o=this._player;o.triggerCallback&&e.onStart(()=>o.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,o){j(this._queuedCallbacks,e,[]).push(o)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}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(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){let o=this._player;o.triggerCallback&&o.triggerCallback(e)}};function gl(t,e,o){let r=t.get(e);if(r){if(r.length){let n=r.indexOf(o);r.splice(n,1)}r.length==0&&t.delete(e)}return r}function hl(t){return t??null}function Ro(t){return t&&t.nodeType===1}function bl(t){return t=="start"||t=="done"}function Ka(t,e){let o=t.style.display;return t.style.display=e??"none",o}function Va(t,e,o,r,n){let i=[];o.forEach(l=>i.push(Ka(l)));let a=[];r.forEach((l,c)=>{let d=new Map;l.forEach(u=>{let y=e.computeStyle(c,u,n);d.set(u,y),(!y||y.length==0)&&(c[ee]=ml,a.push(c))}),t.set(c,d)});let s=0;return o.forEach(l=>Ka(l,i[s++])),a}function Qa(t,e){let o=new Map;if(t.forEach(s=>o.set(s,[])),e.length==0)return o;let r=1,n=new Set(e),i=new Map;function a(s){if(!s)return r;let l=i.get(s);if(l)return l;let c=s.parentNode;return o.has(c)?l=c:n.has(c)?l=r:l=a(c),i.set(s,l),l}return e.forEach(s=>{let l=a(s);l!==r&&o.get(l).push(s)}),o}function V(t,e){t.classList?.add(e)}function Ue(t,e){t.classList?.remove(e)}function yl(t,e,o){ge(o).onDone(()=>t.processLeaveNode(e))}function vl(t){let e=[];return es(t,e),e}function es(t,e){for(let o=0;o<t.length;o++){let r=t[o];r instanceof vo?es(r.players,e):e.push(r)}}function kl(t,e){let o=Object.keys(t),r=Object.keys(e);if(o.length!=r.length)return!1;for(let n=0;n<o.length;n++){let i=o[n];if(!e.hasOwnProperty(i)||t[i]!==e[i])return!1}return!0}function $a(t,e,o){let r=o.get(t);if(!r)return!1;let n=e.get(t);return n?r.forEach(i=>n.add(i)):e.set(t,r),o.delete(t),!0}var qe=class{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(e,o)=>{};constructor(e,o,r){this._driver=o,this._normalizer=r,this._transitionEngine=new $r(e.body,o,r),this._timelineEngine=new Vr(e.body,o,r),this._transitionEngine.onRemovalComplete=(n,i)=>this.onRemovalComplete(n,i)}registerTrigger(e,o,r,n,i){let a=e+"-"+n,s=this._triggerCache[a];if(!s){let l=[],c=[],d=Ga(this._driver,i,l,c);if(l.length)throw xa(n,l);s=al(n,d,this._normalizer),this._triggerCache[a]=s}this._transitionEngine.registerTrigger(o,n,s)}register(e,o){this._transitionEngine.register(e,o)}destroy(e,o){this._transitionEngine.destroy(e,o)}onInsert(e,o,r,n){this._transitionEngine.insertNode(e,o,r,n)}onRemove(e,o,r){this._transitionEngine.removeNode(e,o,r)}disableAnimations(e,o){this._transitionEngine.markElementAsDisabled(e,o)}process(e,o,r,n){if(r.charAt(0)=="@"){let[i,a]=Er(r),s=n;this._timelineEngine.command(i,o,a,s)}else this._transitionEngine.trigger(e,o,r,n)}listen(e,o,r,n,i){if(r.charAt(0)=="@"){let[a,s]=Er(r);return this._timelineEngine.listen(a,o,s,i)}return this._transitionEngine.listen(e,o,r,n,i)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}};function wl(t,e){let o=null,r=null;return Array.isArray(e)&&e.length?(o=zr(e[0]),e.length>1&&(r=zr(e[e.length-1]))):e instanceof Map&&(o=zr(e)),o||r?new Cl(t,o,r):null}var Cl=(()=>{class t{_element;_startStyles;_endStyles;static initialStylesByElement=new WeakMap;_state=0;_initialStyles;constructor(o,r,n){this._element=o,this._startStyles=r,this._endStyles=n;let i=t.initialStylesByElement.get(o);i||t.initialStylesByElement.set(o,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&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(xe(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(xe(this._element,this._endStyles),this._endStyles=null),J(this._element,this._initialStyles),this._state=3)}}return t})();function zr(t){let e=null;return t.forEach((o,r)=>{xl(r)&&(e=e||new Map,e.set(r,o))}),e}function xl(t){return t==="display"||t==="position"}var Fo=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(e,o,r,n){this.element=e,this.keyframes=o,this.options=r,this._specialStyles=n,this._duration=r.duration,this._delay=r.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer()&&this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return this.domPlayer;this._initialized=!0;let e=this.keyframes,o=this._triggerWebAnimation(this.element,e,this.options);if(!o)return this._onFinish(),null;this.domPlayer=o,this._finalKeyframe=e.length?e[e.length-1]:new Map;let r=()=>this._onFinish();return o.addEventListener("finish",r),this.onDestroy(()=>{o.removeEventListener("finish",r)}),o}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer?.pause()}_convertKeyframesToObject(e){let o=[];return e.forEach(r=>{o.push(Object.fromEntries(r))}),o}_triggerWebAnimation(e,o,r){let n=this._convertKeyframesToObject(o);try{return e.animate(n,r)}catch{return null}}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){let e=this._buildPlayer();e&&(this.hasStarted()||(this._onStartFns.forEach(o=>o()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),e.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(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer||this.init(),this.domPlayer&&(this.domPlayer.currentTime=e*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 e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((r,n)=>{n!=="offset"&&e.set(n,this._finished?r:Ao(this.element,n))}),this.currentSnapshot=e}triggerCallback(e){let o=e==="start"?this._onStartFns:this._onDoneFns;o.forEach(r=>r()),o.length=0}},jo=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}containsElement(e,o){return Mr(e,o)}getParentElement(e){return So(e)}query(e,o,r){return Ar(e,o,r)}computeStyle(e,o,r){return Ao(e,o)}animate(e,o,r,n,i,a=[]){let s=n==0?"both":"forwards",l={duration:r,delay:n,fill:s};i&&(l.easing=i);let c=new Map,d=a.filter(m=>m instanceof Fo);La(r,n)&&d.forEach(m=>{m.currentSnapshot.forEach((p,h)=>c.set(h,p))});let u=Da(o).map(m=>new Map(m));u=za(e,u,c);let y=wl(e,u);return new Fo(e,u,l,y)}};var Io="@",os="@.disabled",Wo=class{namespaceId;delegate;engine;_onDestroy;\u0275type=0;constructor(e,o,r,n){this.namespaceId=e,this.delegate=o,this.engine=r,this._onDestroy=n}get data(){return this.delegate.data}destroyNode(e){this.delegate.destroyNode?.(e)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(e,o){return this.delegate.createElement(e,o)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,o){this.delegate.appendChild(e,o),this.engine.onInsert(this.namespaceId,o,e,!1)}insertBefore(e,o,r,n=!0){this.delegate.insertBefore(e,o,r),this.engine.onInsert(this.namespaceId,o,e,n)}removeChild(e,o,r,n){if(n){this.delegate.removeChild(e,o,r,n);return}this.parentNode(o)&&this.engine.onRemove(this.namespaceId,o,this.delegate)}selectRootElement(e,o){return this.delegate.selectRootElement(e,o)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,o,r,n){this.delegate.setAttribute(e,o,r,n)}removeAttribute(e,o,r){this.delegate.removeAttribute(e,o,r)}addClass(e,o){this.delegate.addClass(e,o)}removeClass(e,o){this.delegate.removeClass(e,o)}setStyle(e,o,r,n){this.delegate.setStyle(e,o,r,n)}removeStyle(e,o,r){this.delegate.removeStyle(e,o,r)}setProperty(e,o,r){o.charAt(0)==Io&&o==os?this.disableAnimations(e,!!r):this.delegate.setProperty(e,o,r)}setValue(e,o){this.delegate.setValue(e,o)}listen(e,o,r,n){return this.delegate.listen(e,o,r,n)}disableAnimations(e,o){this.engine.disableAnimations(e,o)}},Yr=class extends Wo{factory;constructor(e,o,r,n,i){super(o,r,n,i),this.factory=e,this.namespaceId=o}setProperty(e,o,r){o.charAt(0)==Io?o.charAt(1)=="."&&o==os?(r=r===void 0?!0:!!r,this.disableAnimations(e,r)):this.engine.process(this.namespaceId,e,o.slice(1),r):this.delegate.setProperty(e,o,r)}listen(e,o,r,n){if(o.charAt(0)==Io){let i=_l(e),a=o.slice(1),s="";return a.charAt(0)!=Io&&([a,s]=Sl(a)),this.engine.listen(this.namespaceId,i,a,s,l=>{let c=l._data||-1;this.factory.scheduleListenerCallback(c,r,l)})}return this.delegate.listen(e,o,r,n)}};function _l(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}function Sl(t){let e=t.indexOf("."),o=t.substring(0,e),r=t.slice(e+1);return[o,r]}var Uo=class{delegate;engine;_zone;_currentId=0;_microtaskId=1;_animationCallbacksBuffer=[];_rendererCache=new Map;_cdRecurDepth=0;constructor(e,o,r){this.delegate=e,this.engine=o,this._zone=r,o.onRemovalComplete=(n,i)=>{i?.removeChild(null,n)}}createRenderer(e,o){let n=this.delegate.createRenderer(e,o);if(!e||!o?.data?.animation){let c=this._rendererCache,d=c.get(n);if(!d){let u=()=>c.delete(n);d=new Wo("",n,this.engine,u),c.set(n,d)}return d}let i=o.id,a=o.id+"-"+this._currentId;this._currentId++,this.engine.register(a,e);let s=c=>{Array.isArray(c)?c.forEach(s):this.engine.registerTrigger(i,a,e,c.name,c)};return o.data.animation.forEach(s),new Yr(this,a,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,o,r){if(e>=0&&e<this._microtaskId){this._zone.run(()=>o(r));return}let n=this._animationCallbacksBuffer;n.length==0&&queueMicrotask(()=>{this._zone.run(()=>{n.forEach(i=>{let[a,s]=i;a(s)}),this._animationCallbacksBuffer=[]})}),n.push([o,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(e){this.engine.flush(),this.delegate.componentReplaced?.(e)}};var El=(()=>{class t extends qe{constructor(o,r,n){super(o,r,n)}ngOnDestroy(){this.flush()}static \u0275fac=function(r){return new(r||t)(T(si),T(Re),T(Ie))};static \u0275prov=ie({token:t,factory:t.\u0275fac})}return t})();function Ml(){return new No}function Al(t,e,o){return new Uo(t,e,o)}var ts=[{provide:Ie,useFactory:Ml},{provide:qe,useClass:El},{provide:ci,useFactory:Al,deps:[xi,qe,ye]}],Pl=[{provide:Re,useClass:Gr},{provide:ar,useValue:"NoopAnimations"},...ts],rs=[{provide:Re,useFactory:()=>new jo},{provide:ar,useFactory:()=>"BrowserAnimations"},...ts],ns=(()=>{class t{static withConfig(o){return{ngModule:t,providers:o.disableAnimations?Pl:rs}}static \u0275fac=function(r){return new(r||t)};static \u0275mod=ce({type:t});static \u0275inj=ae({providers:rs,imports:[yo]})}return t})();function Bl(t,e){if(t&1&&(B(0,"swiper-slide")(1,"div")(2,"a",1),L(3,"img",2),E()(),B(4,"a",3),D(5),E(),L(6,"p",4),ho(7,"newlines"),E()),t&2){let o=e.$implicit;_(2),q("href",o.href,$e),_(),q("ngSrc",o.imgSrc),_(),q("href",o.href,$e),_(),mo(o.title),_(),q("innerHTML",bo(7,5,o.description),fo)}}var qo=class t{newsList=[];static \u0275fac=function(o){return new(o||t)};static \u0275cmp=ve({type:t,selectors:[["POS-news-swiper"]],inputs:{newsList:"newsList"},decls:3,vars:0,consts:[["pagination","true","pagination-clickable","true","autoplay-delay","5000",2,"margin-top","30px"],["target","_blank",3,"href"],["width","252","height","152","priority","",1,"border","rounded-1","mb-8",3,"ngSrc"],["target","_blank",1,"fw-bold","h5","text-primary","header-title","fs-4",3,"href"],[1,"mt-3",2,"margin-bottom","3rem",3,"innerHTML"]],template:function(o,r){o&1&&(B(0,"swiper-container",0),fi(1,Bl,8,7,"swiper-slide",null,ui),E()),o&2&&(_(),pi(r.newsList))},dependencies:[Ci,Qi],encapsulation:2})};var Rl="firebase",Il="11.10.0";Xe(Rl,Il,"app");var He=new ii("ANGULARFIRE2_VERSION");var as=(t,e)=>{let o=e?[e]:Ji(),r=[];return o.forEach(n=>{n.container.getProvider(t).instances.forEach(a=>{r.includes(a)||r.push(a)})}),r},Zr=(function(t){return t[t.SILENT=0]="SILENT",t[t.WARN=1]="WARN",t[t.VERBOSE=2]="VERBOSE",t})(Zr||{}),ob=Ye()&&typeof Zone<"u"?Zr.WARN:Zr.SILENT;var Ho=class{zone;delegate;constructor(e,o=Zn){this.zone=e,this.delegate=o}now(){return this.delegate.now()}schedule(e,o,r){let n=this.zone,i=function(a){n?n.runGuarded(()=>{e.apply(this,[a])}):e.apply(this,[a])};return this.delegate.schedule(i,o,r)}},Jr=(()=>{class t{outsideAngular;insideAngular;constructor(){let o=Q(ye);this.outsideAngular=o.runOutsideAngular(()=>new Ho(typeof Zone>"u"?void 0:Zone.current)),this.insideAngular=o.run(()=>new Ho(typeof Zone>"u"?void 0:Zone.current,Xn))}static \u0275fac=function(r){return new(r||t)};static \u0275prov=ie({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Dl=new Map,Ol={activated:!1,tokenObservers:[]},Ll={initialized:!1,enabled:!1};function re(t){return Dl.get(t)||Object.assign({},Ol)}function ds(){return Ll}var zl="https://content-firebaseappcheck.googleapis.com/v1";var Fl="exchangeDebugToken",ss={OFFSET_DURATION:300*1e3,RETRIAL_MIN_WAIT:30*1e3,RETRIAL_MAX_WAIT:960*1e3},fb=1440*60*1e3;var rt=class{constructor(e,o,r,n,i){if(this.operation=e,this.retryPolicy=o,this.getWaitDuration=r,this.lowerBound=n,this.upperBound=i,this.pending=null,this.nextErrorWaitInterval=n,n>i)throw new Error("Proactive refresh lower bound greater than upper bound!")}start(){this.nextErrorWaitInterval=this.lowerBound,this.process(!0).catch(()=>{})}stop(){this.pending&&(this.pending.reject("cancelled"),this.pending=null)}isRunning(){return!!this.pending}process(e){return be(this,null,function*(){this.stop();try{this.pending=new vr,this.pending.promise.catch(o=>{}),yield jl(this.getNextRun(e)),this.pending.resolve(),yield this.pending.promise,this.pending=new vr,this.pending.promise.catch(o=>{}),yield this.operation(),this.pending.resolve(),yield this.pending.promise,this.process(!0).catch(()=>{})}catch(o){this.retryPolicy(o)?this.process(!1).catch(()=>{}):this.stop()}})}getNextRun(e){if(e)return this.nextErrorWaitInterval=this.lowerBound,this.getWaitDuration();{let o=this.nextErrorWaitInterval;return this.nextErrorWaitInterval*=2,this.nextErrorWaitInterval>this.upperBound&&(this.nextErrorWaitInterval=this.upperBound),o}}};function jl(t){return new Promise(e=>{setTimeout(e,t)})}var Wl={"already-initialized":"You have already called initializeAppCheck() for FirebaseApp {$appName} with different options. To avoid this error, call initializeAppCheck() with the same options as when it was originally called. This will return the already initialized instance.","use-before-activation":"App Check is being used before initializeAppCheck() is called for FirebaseApp {$appName}. Call initializeAppCheck() before instantiating other Firebase services.","fetch-network-error":"Fetch failed to connect to a network. Check Internet connection. Original error: {$originalErrorMessage}.","fetch-parse-error":"Fetch client could not parse response. Original error: {$originalErrorMessage}.","fetch-status-error":"Fetch server returned an HTTP error status. HTTP status: {$httpStatus}.","storage-open":"Error thrown when opening storage. Original error: {$originalErrorMessage}.","storage-get":"Error thrown when reading from storage. Original error: {$originalErrorMessage}.","storage-set":"Error thrown when writing to storage. Original error: {$originalErrorMessage}.","recaptcha-error":"ReCAPTCHA error.","initial-throttle":"{$httpStatus} error. Attempts allowed again after {$time}",throttled:"Requests throttled due to previous {$httpStatus} error. Attempts allowed again after {$time}"},_e=new Xi("appCheck","AppCheck",Wl);function us(t){if(!re(t).activated)throw _e.create("use-before-activation",{appName:t.name})}function fs(r,n){return be(this,arguments,function*({url:t,body:e},o){let i={"Content-Type":"application/json"},a=o.getImmediate({optional:!0});if(a){let m=yield a.getHeartbeatsHeader();m&&(i["X-Firebase-Client"]=m)}let s={method:"POST",body:JSON.stringify(e),headers:i},l;try{l=yield fetch(t,s)}catch(m){throw _e.create("fetch-network-error",{originalErrorMessage:m?.message})}if(l.status!==200)throw _e.create("fetch-status-error",{httpStatus:l.status});let c;try{c=yield l.json()}catch(m){throw _e.create("fetch-parse-error",{originalErrorMessage:m?.message})}let d=c.ttl.match(/^([\d.]+)(s)$/);if(!d||!d[2]||isNaN(Number(d[1])))throw _e.create("fetch-parse-error",{originalErrorMessage:`ttl field (timeToLive) is not in standard Protobuf Duration format: ${c.ttl}`});let u=Number(d[1])*1e3,y=Date.now();return{token:c.token,expireTimeMillis:y+u,issuedAtTimeMillis:y}})}function ps(t,e){let{projectId:o,appId:r,apiKey:n}=t.options;return{url:`${zl}/projects/${o}/apps/${r}:${Fl}?key=${n}`,body:{debug_token:e}}}var Ul="firebase-app-check-database",ql=1,tt="firebase-app-check-store";var Ko=null;function Hl(){return Ko||(Ko=new Promise((t,e)=>{try{let o=indexedDB.open(Ul,ql);o.onsuccess=r=>{t(r.target.result)},o.onerror=r=>{var n;e(_e.create("storage-open",{originalErrorMessage:(n=r.target.error)===null||n===void 0?void 0:n.message}))},o.onupgradeneeded=r=>{let n=r.target.result;switch(r.oldVersion){case 0:n.createObjectStore(tt,{keyPath:"compositeKey"})}}}catch(o){e(_e.create("storage-open",{originalErrorMessage:o?.message}))}}),Ko)}function Kl(t,e){return Vl(Ql(t),e)}function Vl(t,e){return be(this,null,function*(){let r=(yield Hl()).transaction(tt,"readwrite"),i=r.objectStore(tt).put({compositeKey:t,value:e});return new Promise((a,s)=>{i.onsuccess=l=>{a()},r.onerror=l=>{var c;s(_e.create("storage-set",{originalErrorMessage:(c=l.target.error)===null||c===void 0?void 0:c.message}))}})})}function Ql(t){return`${t.options.appId}-${t.name}`}var io=new Zi("@firebase/app-check");function et(t,e){return Gi()?Kl(t,e).catch(o=>{io.warn(`Failed to write token to IndexedDB. Error: ${o}`)}):Promise.resolve()}function ms(){return ds().enabled}function gs(){return be(this,null,function*(){let t=ds();if(t.enabled&&t.token)return t.token.promise;throw Error(`
2
2
  Can't get debug token in production mode.
3
- `)})}var $l={error:"UNKNOWN_ERROR"};function Yl(t){return Yi.encodeString(JSON.stringify(t),!1)}function nt(t,e=!1,o=!1){return be(this,null,function*(){let r=t.app;us(r);let n=re(r),i=n.token,a;if(i&&!ao(i)&&(n.token=void 0,i=void 0),!i){let c=yield n.cachedTokenPromise;c&&(ao(c)?i=c:yield et(r,void 0))}if(!e&&i&&ao(i))return{token:i.token};let s=!1;if(ms())try{n.exchangeTokenPromise||(n.exchangeTokenPromise=fs(ps(r,yield gs()),t.heartbeatServiceProvider).finally(()=>{n.exchangeTokenPromise=void 0}),s=!0);let c=yield n.exchangeTokenPromise;return yield et(r,c),n.token=c,{token:c.token}}catch(c){return c.code==="appCheck/throttled"||c.code==="appCheck/initial-throttle"?io.warn(c.message):o&&io.error(c),ot(c)}try{n.exchangeTokenPromise||(n.exchangeTokenPromise=n.provider.getToken().finally(()=>{n.exchangeTokenPromise=void 0}),s=!0),i=yield re(r).exchangeTokenPromise}catch(c){c.code==="appCheck/throttled"||c.code==="appCheck/initial-throttle"?io.warn(c.message):o&&io.error(c),a=c}let l;return i?a?ao(i)?l={token:i.token,internalError:a}:l=ot(a):(l={token:i.token},n.token=i,yield et(r,i)):l=ot(a),s&&Jl(r,l),l})}function Gl(t){return be(this,null,function*(){let e=t.app;us(e);let{provider:o}=re(e);if(ms()){let r=yield gs(),{token:n}=yield fs(ps(e,r),t.heartbeatServiceProvider);return{token:n}}else{let{token:r}=yield o.getToken();return{token:r}}})}function Xl(t,e,o,r){let{app:n}=t,i=re(n),a={next:o,error:r,type:e};if(i.tokenObservers=[...i.tokenObservers,a],i.token&&ao(i.token)){let s=i.token;Promise.resolve().then(()=>{o({token:s.token}),ls(t)}).catch(()=>{})}i.cachedTokenPromise.then(()=>ls(t))}function hs(t,e){let o=re(t),r=o.tokenObservers.filter(n=>n.next!==e);r.length===0&&o.tokenRefresher&&o.tokenRefresher.isRunning()&&o.tokenRefresher.stop(),o.tokenObservers=r}function ls(t){let{app:e}=t,o=re(e),r=o.tokenRefresher;r||(r=Zl(t),o.tokenRefresher=r),!r.isRunning()&&o.isTokenAutoRefreshEnabled&&r.start()}function Zl(t){let{app:e}=t;return new rt(()=>be(null,null,function*(){let o=re(e),r;if(o.token?r=yield nt(t,!0):r=yield nt(t),r.error)throw r.error;if(r.internalError)throw r.internalError}),()=>!0,()=>{let o=re(e);if(o.token){let r=o.token.issuedAtTimeMillis+(o.token.expireTimeMillis-o.token.issuedAtTimeMillis)*.5+3e5,n=o.token.expireTimeMillis-300*1e3;return r=Math.min(r,n),Math.max(0,r-Date.now())}else return 0},ss.RETRIAL_MIN_WAIT,ss.RETRIAL_MAX_WAIT)}function Jl(t,e){let o=re(t).tokenObservers;for(let r of o)try{r.type==="EXTERNAL"&&e.error!=null?r.error(e.error):r.next(e)}catch{}}function ao(t){return t.expireTimeMillis-Date.now()>0}function ot(t){return{token:Yl($l),error:t}}var it=class{constructor(e,o){this.app=e,this.heartbeatServiceProvider=o}_delete(){let{tokenObservers:e}=re(this.app);for(let o of e)hs(this.app,o.next);return Promise.resolve()}};function ec(t,e){return new it(t,e)}function oc(t){return{getToken:e=>nt(t,e),getLimitedUseToken:()=>Gl(t),addTokenListener:e=>Xl(t,"INTERNAL",e),removeTokenListener:e=>hs(t.app,e)}}var rc="@firebase/app-check",tc="0.10.1";var nc="app-check",cs="app-check-internal";function ic(){wr(new kr(nc,t=>{let e=t.getProvider("app").getImmediate(),o=t.getProvider("heartbeat");return ec(e,o)},"PUBLIC").setInstantiationMode("EXPLICIT").setInstanceCreatedCallback((t,e,o)=>{t.getProvider(cs).initialize()})),wr(new kr(cs,t=>{let e=t.getProvider("app-check").getImmediate();return oc(e)},"PUBLIC").setInstantiationMode("EXPLICIT")),Xe(rc,tc)}ic();var ac="app-check";var Vo=class{constructor(){return as(ac)}};var sc=["localhost","0.0.0.0","127.0.0.1"],Eb=typeof window<"u"&&sc.includes(window.location.hostname);var cc="firebase",dc="11.10.0";Z.registerVersion(cc,dc,"app-compat");var uc=["ngOnDestroy"],ys=(t,e,o,r={})=>new Proxy(t,{get:(n,i)=>o.runOutsideAngular(()=>{if(t[i])return r?.spy?.get&&r.spy.get(i,t[i]),t[i];if(uc.indexOf(i)>-1)return()=>{};let a=e.toPromise().then(s=>{let l=s?.[i];return typeof l=="function"?l.bind(s):l?.then?l.then(c=>o.run(()=>c)):o.run(()=>l)});return new Proxy(()=>{},{get:(s,l)=>a[l],apply:(s,l,c)=>a.then(d=>{let u=d?.(...c);return r?.spy?.apply&&r.spy.apply(i,c,u),u})})})});var Qo=class{constructor(e){return e}},$o=new se("angularfire2.app.options"),Yo=new se("angularfire2.app.name");function at(t,e,o){let r=typeof o=="string"&&o||"[DEFAULT]",n=typeof o=="object"&&o||{};n.name=n.name||r;let a=Z.apps.filter(s=>s&&s.name===n.name)[0]||e.runOutsideAngular(()=>Z.initializeApp(t,n));try{if(JSON.stringify(t)!==JSON.stringify(a.options)){let s=!!module.hot;fc("error",`${a.name} Firebase App already initialized with different options${s?", you may need to reload as Firebase is not HMR aware.":"."}`)}}catch{}return new Qo(a)}var fc=(t,...e)=>{Ye()&&typeof console<"u"&&console[t](...e)},pc={provide:Qo,useFactory:at,deps:[$o,ye,[new li,Yo]]},vs=(()=>{class t{static initializeApp(o,r){return{ngModule:t,providers:[{provide:$o,useValue:o},{provide:Yo,useValue:r}]}}constructor(o){Z.registerVersion("angularfire",He.full,"core"),Z.registerVersion("angularfire",He.full,"app-compat"),Z.registerVersion("angular",ai.full,o.toString())}static \u0275fac=function(r){return new(r||t)(T(uo))};static \u0275mod=ce({type:t});static \u0275inj=ae({providers:[pc]})}return t})();function ks(t,e,o,r,n){let[,i,a]=globalThis.\u0275AngularfireInstanceCache.find(s=>s[0]===t)||[];if(i)return mc(n,a)||(bs("error",`${e} was already initialized on the ${o} Firebase App with different settings.${gc?" You may need to reload as Firebase is not HMR aware.":""}`),bs("warn",{is:n,was:a})),i;{let s=r();return globalThis.\u0275AngularfireInstanceCache.push([t,s,n]),s}}function mc(t,e){try{return t.toString()===e.toString()}catch{return t===e}}var gc=typeof module<"u"&&!!module.hot,bs=(t,...e)=>{Ye()&&typeof console<"u"&&console[t](...e)};globalThis.\u0275AngularfireInstanceCache||=[];var hc=new se("angularfire2.auth.use-emulator"),bc=new se("angularfire2.auth.settings"),yc=new se("angularfire2.auth.tenant-id"),vc=new se("angularfire2.auth.langugage-code"),kc=new se("angularfire2.auth.use-device-language"),wc=new se("angularfire.auth.persistence"),Cc=(t,e,o,r,n,i,a,s)=>ks(`${t.name}.auth`,"AngularFireAuth",t.name,()=>{let l=e.runOutsideAngular(()=>t.auth());if(o&&l.useEmulator(...o),r&&(l.tenantId=r),l.languageCode=n,i&&l.useDeviceLanguage(),a)for(let[c,d]of Object.entries(a))l.settings[c]=d;return s&&l.setPersistence(s),l},[o,r,n,i,a,s]),st=(()=>{class t{injector=Q(ir);authState;idToken;user;idTokenResult;credential;constructor(o,r,n,i,a,s,l,c,d,u,y,m){let p=new Gn,h=Qe(void 0).pipe(Ke(a.outsideAngular),fe(()=>i.runOutsideAngular(()=>import("./chunk-Q7YUJXQP.js"))),ue(()=>at(o,i,r)),ue(w=>Cc(w,i,s,c,d,u,l,y)),tr({bufferSize:1,refCount:!1}));if(wi(n))this.authState=this.user=this.idToken=this.idTokenResult=this.credential=Qe(null);else{h.pipe(ti()).subscribe();let w=h.pipe(fe(k=>k.getRedirectResult().then(S=>S,()=>null)),ea(this.injector),tr({bufferSize:1,refCount:!1})),A=h.pipe(fe(k=>new lo(S=>({unsubscribe:i.runOutsideAngular(()=>k.onAuthStateChanged(z=>S.next(z),z=>S.error(z),()=>S.complete()))})))),P=h.pipe(fe(k=>new lo(S=>({unsubscribe:i.runOutsideAngular(()=>k.onIdTokenChanged(z=>S.next(z),z=>S.error(z),()=>S.complete()))}))));this.authState=w.pipe(nr(A),co(a.outsideAngular),Ke(a.insideAngular)),this.user=w.pipe(nr(P),co(a.outsideAngular),Ke(a.insideAngular)),this.idToken=this.user.pipe(fe(k=>k?Ve(k.getIdToken()):Qe(null))),this.idTokenResult=this.user.pipe(fe(k=>k?Ve(k.getIdTokenResult()):Qe(null))),this.credential=ei(w,p,this.authState.pipe(oi(k=>!k))).pipe(ue(k=>k?.user?k:null),co(a.outsideAngular),Ke(a.insideAngular))}return ys(this,h,i,{spy:{apply:(w,A,P)=>{(w.startsWith("signIn")||w.startsWith("createUser"))&&P.then(k=>p.next(k))}}})}static \u0275fac=function(r){return new(r||t)(T($o),T(Yo,8),T(uo),T(ye),T(Jr),T(hc,8),T(bc,8),T(yc,8),T(vc,8),T(kc,8),T(wc,8),T(Vo,8))};static \u0275prov=ie({token:t,factory:t.\u0275fac,providedIn:"any"})}return t})(),ws=(()=>{class t{constructor(){Z.registerVersion("angularfire",He.full,"auth-compat")}static \u0275fac=function(r){return new(r||t)};static \u0275mod=ce({type:t});static \u0275inj=ae({providers:[st]})}return t})();var Go=class t{constructor(e,o,r,n,i){this.afAuth=e;this.http=o;this.router=r;this.roleService=n;this.authService=i}loginWithGoogle(e){e.preventDefault();let o=new Cr;o.setCustomParameters({prompt:"select_account"}),Ve(this.afAuth.signInWithPopup(o)).pipe(ue(n=>n.credential),ue(n=>n.idToken),fe(n=>this.http.post("/api/login/Google",{IDToken:n})),ni(n=>{this.authService.saveLoginConfigToStorage(n);let i=this.authService.getRedirectUrl();this.router.navigate([i])})).subscribe()}static \u0275fac=function(o){return new(o||t)(T(st),T(wo),T(ze),T($i),T(Fe))};static \u0275prov=ie({token:t,factory:t.\u0275fac,providedIn:"root"})};var Mc=t=>({border:t}),Ac=(t,e)=>({"rounded-end":t,"border-end-0":e}),Pc=()=>["/ForgotPassword"];function Bc(t,e){if(t&1){let o=Oe();B(0,"i",34),po("click",function(){pe(o);let n=N(3);return me(n.showPassword())}),E()}if(t&2){let o=N(3);Me(mr("",o.showHideClass," fas"))}}function Rc(t,e){if(t&1&&(B(0,"span",18),$(1,Bc,1,3,"i",33),E()),t&2){let o=N(2);_(),Y(o.password?1:-1)}}function Ic(t,e){if(t&1){let o=Oe();B(0,"div",0)(1,"div",1)(2,"div",2)(3,"h3",3),D(4,"New Features"),E(),L(5,"POS-news-swiper",4),ho(6,"async"),E(),B(7,"div",5)(8,"div",6)(9,"h3",7),D(10),E(),B(11,"div",8),D(12),E()(),B(13,"form",9),po("submit",function(){pe(o);let n=N();return me(n.submitLogin())}),B(14,"div",10)(15,"div",11)(16,"div",12)(17,"span"),L(18,"i",13),E()(),B(19,"input",14),pr("ngModelChange",function(n){pe(o);let i=N();return fr(i.username,n)||(i.username=n),me(n)}),E()(),B(20,"div",15)(21,"div",12)(22,"span"),L(23,"i",16),E()(),B(24,"input",17),pr("ngModelChange",function(n){pe(o);let i=N();return fr(i.password,n)||(i.password=n),me(n)}),E(),$(25,Rc,2,1,"span",18),E(),B(26,"div",19)(27,"div",20)(28,"a",21),D(29,"Forgot your password?"),E()()(),L(30,"input",22),B(31,"div",23),L(32,"hr"),B(33,"span",24),D(34,"or"),E(),L(35,"hr"),E(),B(36,"div")(37,"button",25),po("click",function(n){pe(o);let i=N();return me(i.fbService.loginWithGoogle(n))}),L(38,"i",26),D(39," Sign In with Google"),E()()()()()(),B(40,"div",27)(41,"span",28),D(42,"powered by :"),E(),L(43,"a",29),E(),B(44,"div",30)(45,"a",31),D(46),L(47,"i",32),E()()()}if(t&2){let o=N();_(5),q("newsList",bo(6,15,o.news$)),_(5),Le(" ",o.loginLoaderData.Brand," "),_(),Me(o.subscriptionState==null?null:o.subscriptionState.class),q("ngClass",gi(17,Mc,o.subscriptionState==null?null:o.subscriptionState.class)),_(),Le(" ",o.subscriptionState==null?null:o.subscriptionState.message),_(7),ur("ngModel",o.username),_(5),q("type",o.inputType)("ngClass",hi(19,Ac,o.browserType=="edge",o.browserType!="edge")),ur("ngModel",o.password),_(),Y(o.browserType!="edge"?25:-1),_(3),q("routerLink",go(22,Pc)),_(17),q("href",mr("https://changelog.dealpos.com/?categories=cat_gAZdRhBYU7QVl&view=complete&v=",o.appVersion),$e),_(),Le("version ",o.loginLoaderData.V)}}var Xo=class t{constructor(e,o,r,n,i,a){this.httpService=e;this.authService=o;this.fbService=r;this.router=n;this.activatedRoute=i;this.title=a;this.initLogin(),this.news$=this.httpService.getNews(K.news).pipe(ue(s=>s.items.map(l=>l.properties)))}signalRClient=Q(zi);appVersion=K.version;showHideClass;inputType;browserType;loginLoaderData;username;password;news$;returnUrl;subscriptionStatus;subscriptionState;ngOnInit(){document.body.classList.add("login-body"),this.browserType=this.findname_browser(),this.initSubscriptionStatus()}initLogin(){this.returnUrl=this.authService.returnUrl;let e=this.activatedRoute.snapshot.queryParams,o=e?.OTT;Ce.IsNotEmpty(o)&&this.authService.login({OneTimeToken:o,GetMenu:!0}).subscribe({next:n=>{this.onLoginSuccess(n)}});let r={UserName:e.UserName,Password:e.Password};Ce.IsNotEmpty(r.UserName)&&Ce.IsNotEmpty(r.Password)?(this.username=r.UserName,this.password=r.Password,this.submitLogin(()=>this.loginLoader())):this.loginLoader()}initSubscriptionStatus(){this.subscriptionStatus=[{status:1,message:"Subscription overdue",class:"alert-warning"},{status:2,message:"Subscription partially suspended",class:"alert-danger"},{status:3,message:"Subscription suspended",class:"alert-danger"}]}loginLoader(){this.authService.loginLoader().subscribe(e=>{this.loginLoaderData=e;let o=`${e.Brand} | Login Form`;this.title.setTitle(o),this.initUserLogin(e),this.subscriptionState=this.subscriptionStatus.filter(r=>r.status==e.SubStatus)[0]}),this.inputType="password",this.showHideClass="fas fa-eye fas"}ngOnDestroy(){document.body.classList.remove("login-body")}initUserLogin(e){if(e.Auth)if(Ce.IsNotEmpty(this.returnUrl))this.router.navigateByUrl(this.returnUrl),this.authService.returnUrl=null;else{let o=this.authService.getRedirectUrl();this.router.navigate([o])}else Ce.IsNotEmpty(this.returnUrl)&&this.router.navigate([],{queryParamsHandling:"merge",queryParams:{ReturnUrl:this.returnUrl}})}submitLogin(e){let o={GetMenu:!0,Name:this.username,Password:this.password};this.authService.login(o).subscribe({next:r=>{this.onLoginSuccess(r)},error:r=>{e&&e()}})}onLoginSuccess(e){this.signalRClient._recacheOutlet.next(!0),e.Type=="totp"?this.router.navigate(["/verify-2fa"]):e.Type=="geo"?this.router.navigate(["/verify-geolocation"]):(Ce.IsEmpty(e.ReturnUrl)&&(e.ReturnUrl=this.authService.getRedirectUrl()),Ce.IsEmpty(this.returnUrl)?this.router.navigate([e.ReturnUrl]):(this.router.navigateByUrl(this.returnUrl),this.authService.returnUrl=null))}showPassword(){this.showHideClass=this.showHideClass=="fas fa-eye fas"?"fas fas fa-eye-slash":"fas fa-eye fas",this.inputType=this.showHideClass=="fas fa-eye fas"?"password":"text"}findname_browser(){var e=window.navigator.userAgent;if(e.indexOf("Edg/")>-1)return"edge";var o={chrome:/chrome/i,safari:/safari/i,firefox:/firefox/i,ie:/internet explorer/i,edge:/edg/i};for(var r in o)if(o[r].test(e))return r;return"unknown"}static \u0275fac=function(o){return new(o||t)(le(wo),le(Fe),le(Go),le(ze),le(Ri),le(Mi))};static \u0275cmp=ve({type:t,selectors:[["POS-auth-login"]],decls:1,vars:1,consts:[[1,"container-fluid","d-md-flex","align-items-center","justify-content-center",2,"height","100vh"],[1,"row","mx-auto","bg-white","login-pane"],[1,"col-md-5","order-md-first","order-last","border-end","border-secondary","features-pane","pt-12"],[1,"fw-normal","fs-2","header-title"],[3,"newsList"],[1,"col-md-7","order-md-last","order-first","py-12","sign-in-pane"],[1,"d-flex","align-items-center"],[1,"text-md-start","text-center","fw-normal","fs-2","header-title","me-2"],[1,"fs-6","fw-normal","mt-1","fst-italic","px-2","py-1","alert","rounded-0","mb-0",3,"ngClass"],[2,"margin-top","28px",3,"submit"],[1,"form-block","mt-5"],[1,"input-group","input-group-lg"],[1,"input-group-text","rounded-start","border-end-0",2,"width","52px"],[1,"fas","fa-user","fa-lg"],["id","txtUsername","type","text","data-cy","username","placeholder","Username / Email","aria-label","Username","aria-describedby","basic-addon1","autofocus","","name","username",1,"form-control","form-control-lg","rounded-end","border-start-0","ps-1",2,"height","50px",3,"ngModelChange","ngModel"],[1,"input-group","input-group-lg","mt-8"],[1,"fas","fa-key","fa-lg"],["id","txtPassword","data-cy","password","placeholder","Password","aria-label","Password","aria-describedby","basic-addon1","autofocus","","name","password",1,"form-control","form-control-lg","rounded-end","border-start-0","ps-1",2,"height","50px",3,"ngModelChange","type","ngClass","ngModel"],[1,"input-group-text","border-start-0","rounded-end"],[1,"text-end","mt-4"],[1,"me-2"],[1,"text-primary",3,"routerLink"],["id","btnSubmit","type","submit","value","Sign In","data-cy","loginBtn",1,"w-100","btn","fs-3","rounded-3","btn-login","text-white","mt-6","bg-primary"],[1,"divider","d-flex","align-items-center","justify-content-center"],[1,"mx-4","text-body-secondary"],[1,"btn","btn-social-login","text-primary","me-5","w-100","fw-bold",3,"click"],[1,"fa-brands","fa-google"],[1,"d-flex","copyright",2,"margin-left","20px"],[1,"align-self-center","me-5"],["target","_blank","href","http://www.dealpos.com"],[1,"version",2,"margin-right","18px"],["target","_blank",1,"text-dark","fst-italic",3,"href"],[1,"fa-solid","fa-circle-exclamation","ms-2",2,"font-size","16px"],[3,"class"],[3,"click"]],template:function(o,r){o&1&&$(0,Ic,48,23,"div",0),o&2&&Y(r.loginLoaderData?0:-1)},dependencies:[qo,bi,Vi,Hi,Fi,ji,Wi,Ki,qi,Ui,Ni,yi],styles:[".login-pane[_ngcontent-%COMP%]{max-width:57rem;height:max-content}@media (min-width: 900px){.login-pane[_ngcontent-%COMP%]{width:57rem}}@media (max-width: 768px){.login-pane[_ngcontent-%COMP%]{margin-top:0}}@media only screen and (max-width: 1300px) and (min-width: 1024px){.login-pane[_ngcontent-%COMP%]{margin-top:30px}}.header-title[_ngcontent-%COMP%]{font-family:Roboto Slab}.carousel-inner[_ngcontent-%COMP%]{height:310px}.carousel-inner[_ngcontent-%COMP%] div.carousel-item[_ngcontent-%COMP%]{top:28px}@media (max-width: 820px){.carousel-indicators[_ngcontent-%COMP%]{bottom:-8px}}.carousel-indicators[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{background-color:#ddd;width:1.25rem;height:.375rem;transition:.3s}.carousel-indicators[_ngcontent-%COMP%] button.active[_ngcontent-%COMP%]{background-color:var(--bs-primary)}.sign-in-pane[_ngcontent-%COMP%]{padding:0 3rem 0 3.5rem}@media (max-width: 768px){.sign-in-pane[_ngcontent-%COMP%]{padding:24px 12px}.sign-in-pane[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{padding-left:8px!important}}.subscription.danger[_ngcontent-%COMP%]{background-color:#f2dede;border-color:#eb415d;color:#a94442}.subscription.warning[_ngcontent-%COMP%]{background-color:#fcf8e3;border-color:#faebcc;color:#8a6d3b}@media (max-width: 768px){.features-pane[_ngcontent-%COMP%]{border-right:0px!important}}.copyright[_ngcontent-%COMP%]{position:absolute;bottom:1.25rem;left:1.25rem}.copyright[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{width:8.125rem;height:2.5rem;background-image:url(https://cdn.dealpos.app/public/logo/dealpos_130.png);background-position:left top;background-repeat:no-repeat;background-size:contain}.version[_ngcontent-%COMP%]{bottom:1.25rem;right:1.25rem;position:absolute}@media (max-width: 768px){.copyright[_ngcontent-%COMP%], .version[_ngcontent-%COMP%]{position:static;margin-top:10px}.copyright[_ngcontent-%COMP%]{justify-content:center}}div.divider[_ngcontent-%COMP%] > hr[_ngcontent-%COMP%]{margin-top:1.2rem;margin-bottom:1.2rem;border-top:1px solid rgba(0,0,0,.855);width:20%}button.btn-social-login[_ngcontent-%COMP%], .btn-login[_ngcontent-%COMP%]{border:1px solid var(--bs-primary)}.fa-google[_ngcontent-%COMP%]{background:conic-gradient(from -45deg,#ea4335 110deg,#4285f4 90deg 180deg,#34a853 180deg 270deg,#fbbc05 270deg) 73% 55%/150% 150% no-repeat;-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}.version[_ngcontent-%COMP%] a[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:#fe3a00!important}.version[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited i[_ngcontent-%COMP%]{color:#f4f4f4!important}.version[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{margin-left:-10px}"]})};var xs=[{path:"",component:Xo},{path:"ForgotPassword",loadComponent:()=>import("./chunk-7V6NCJRQ.js").then(t=>t.AuthForgotPasswordComponent)},{path:"ResetPassword",loadComponent:()=>import("./chunk-X44CHNHS.js").then(t=>t.AuthResetPasswordComponent)},{path:"verify-2fa",loadComponent:()=>import("./chunk-INWLOCX3.js").then(t=>t.AuthTotpComponent)},{path:"verify-geolocation",loadComponent:()=>import("./chunk-F3YWM4BJ.js").then(t=>t.AuthGeolocationComponent)},{path:"",redirectTo:"",pathMatch:"full"}];var Nc=[{path:"menu",loadChildren:()=>import("./chunk-LX26RD3F.js").then(t=>t.MenuMasterModule)},{path:"print",loadChildren:()=>import("./chunk-DTX2BFBV.js").then(t=>t.PrintModule)},...xs],Zo=class t{static \u0275fac=function(o){return new(o||t)};static \u0275mod=ce({type:t});static \u0275inj=ae({imports:[yr.forRoot(Nc),yr]})};var Dc=()=>["/api/charge","changelog.dealpos.app"],Jo=class t{debounceDelay=K.ngHttpLoaderDebounceDelay;constructor(){Date.prototype.toJSON=function(){return this.getFullYear()+"-"+e(this.getMonth()+1)+"-"+e(this.getDate())+"T"+e(this.getHours())+":"+e(this.getMinutes())+":"+e(this.getSeconds())+".000"};function e(o){return o<10?"0"+o:o}this.compareAppVersion()}compareAppVersion(){let e=localStorage.getItem("appVersion"),o=K.version;e!==o&&(localStorage.setItem("appVersion",o),localStorage.setItem("mapRouteOpenChangelogDialog",JSON.stringify([])))}static \u0275fac=function(o){return new(o||t)};static \u0275cmp=ve({type:t,selectors:[["app-root"]],standalone:!1,decls:3,vars:3,consts:[[3,"filteredUrlPatterns","debounceDelay"],[1,"simple-keyboard"]],template:function(o,r){o&1&&L(0,"router-outlet")(1,"ng-http-loader",0)(2,"div",1),o&2&&(_(),q("filteredUrlPatterns",go(2,Dc))("debounceDelay",r.debounceDelay))},dependencies:[Ii,Co],styles:[".toast-center-center[_ngcontent-%COMP%]{top:50%;left:50%;transform:translate(-50%,-50%)}.toast-top-center[_ngcontent-%COMP%]{top:0;right:0;width:100%}.toast-bottom-center[_ngcontent-%COMP%]{bottom:0;right:0;width:100%}.toast-top-full-width[_ngcontent-%COMP%]{top:0;right:0;width:100%}.toast-bottom-full-width[_ngcontent-%COMP%]{bottom:0;right:0;width:100%}.toast-top-left[_ngcontent-%COMP%]{top:12px;left:12px}.toast-top-right[_ngcontent-%COMP%]{top:12px;right:12px}.toast-bottom-right[_ngcontent-%COMP%]{right:12px;bottom:12px}.toast-bottom-left[_ngcontent-%COMP%]{bottom:12px;left:12px}.toast-title[_ngcontent-%COMP%]{font-weight:700}.toast-message[_ngcontent-%COMP%]{word-wrap:break-word}.toast-message[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .toast-message[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{color:#fff}.toast-message[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{color:#ccc;text-decoration:none}.toast-close-button[_ngcontent-%COMP%]{position:relative;right:-.3em;top:-.3em;float:right;font-size:20px;font-weight:700;color:#fff;text-shadow:0 1px 0 #ffffff}.toast-close-button[_ngcontent-%COMP%]:hover, .toast-close-button[_ngcontent-%COMP%]:focus{color:#000;text-decoration:none;cursor:pointer;opacity:.4}button.toast-close-button[_ngcontent-%COMP%]{padding:0;cursor:pointer;background:transparent;border:0}.toast-container[_ngcontent-%COMP%]{pointer-events:none;position:fixed;z-index:999999}.toast-container[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{box-sizing:border-box}.toast-container[_ngcontent-%COMP%] .ngx-toastr[_ngcontent-%COMP%]{position:relative;overflow:hidden;margin:0 0 6px;padding:15px 15px 15px 50px;width:300px;border-radius:3px;background-position:15px center;background-repeat:no-repeat;background-size:24px;box-shadow:0 0 12px #999;color:#fff}.toast-container[_ngcontent-%COMP%] .ngx-toastr[_ngcontent-%COMP%]:hover{box-shadow:0 0 12px #000;opacity:1;cursor:pointer}.toast-info[_ngcontent-%COMP%]{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCA1MTIgNTEyJyB3aWR0aD0nNTEyJyBoZWlnaHQ9JzUxMic+PHBhdGggZmlsbD0ncmdiKDI1NSwyNTUsMjU1KScgZD0nTTI1NiA4QzExOS4wNDMgOCA4IDExOS4wODMgOCAyNTZjMCAxMzYuOTk3IDExMS4wNDMgMjQ4IDI0OCAyNDhzMjQ4LTExMS4wMDMgMjQ4LTI0OEM1MDQgMTE5LjA4MyAzOTIuOTU3IDggMjU2IDh6bTAgMTEwYzIzLjE5NiAwIDQyIDE4LjgwNCA0MiA0MnMtMTguODA0IDQyLTQyIDQyLTQyLTE4LjgwNC00Mi00MiAxOC44MDQtNDIgNDItNDJ6bTU2IDI1NGMwIDYuNjI3LTUuMzczIDEyLTEyIDEyaC04OGMtNi42MjcgMC0xMi01LjM3My0xMi0xMnYtMjRjMC02LjYyNyA1LjM3My0xMiAxMi0xMmgxMnYtNjRoLTEyYy02LjYyNyAwLTEyLTUuMzczLTEyLTEydi0yNGMwLTYuNjI3IDUuMzczLTEyIDEyLTEyaDY0YzYuNjI3IDAgMTIgNS4zNzMgMTIgMTJ2MTAwaDEyYzYuNjI3IDAgMTIgNS4zNzMgMTIgMTJ2MjR6Jy8+PC9zdmc+)}.toast-error[_ngcontent-%COMP%]{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCA1MTIgNTEyJyB3aWR0aD0nNTEyJyBoZWlnaHQ9JzUxMic+PHBhdGggZmlsbD0ncmdiKDI1NSwyNTUsMjU1KScgZD0nTTI1NiA4QzExOSA4IDggMTE5IDggMjU2czExMSAyNDggMjQ4IDI0OCAyNDgtMTExIDI0OC0yNDhTMzkzIDggMjU2IDh6bTEyMS42IDMxMy4xYzQuNyA0LjcgNC43IDEyLjMgMCAxN0wzMzggMzc3LjZjLTQuNyA0LjctMTIuMyA0LjctMTcgMEwyNTYgMzEybC02NS4xIDY1LjZjLTQuNyA0LjctMTIuMyA0LjctMTcgMEwxMzQuNCAzMzhjLTQuNy00LjctNC43LTEyLjMgMC0xN2w2NS42LTY1LTY1LjYtNjUuMWMtNC43LTQuNy00LjctMTIuMyAwLTE3bDM5LjYtMzkuNmM0LjctNC43IDEyLjMtNC43IDE3IDBsNjUgNjUuNyA2NS4xLTY1LjZjNC43LTQuNyAxMi4zLTQuNyAxNyAwbDM5LjYgMzkuNmM0LjcgNC43IDQuNyAxMi4zIDAgMTdMMzEyIDI1Nmw2NS42IDY1LjF6Jy8+PC9zdmc+)}.toast-success[_ngcontent-%COMP%]{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCA1MTIgNTEyJyB3aWR0aD0nNTEyJyBoZWlnaHQ9JzUxMic+PHBhdGggZmlsbD0ncmdiKDI1NSwyNTUsMjU1KScgZD0nTTE3My44OTggNDM5LjQwNGwtMTY2LjQtMTY2LjRjLTkuOTk3LTkuOTk3LTkuOTk3LTI2LjIwNiAwLTM2LjIwNGwzNi4yMDMtMzYuMjA0YzkuOTk3LTkuOTk4IDI2LjIwNy05Ljk5OCAzNi4yMDQgMEwxOTIgMzEyLjY5IDQzMi4wOTUgNzIuNTk2YzkuOTk3LTkuOTk3IDI2LjIwNy05Ljk5NyAzNi4yMDQgMGwzNi4yMDMgMzYuMjA0YzkuOTk3IDkuOTk3IDkuOTk3IDI2LjIwNiAwIDM2LjIwNGwtMjk0LjQgMjk0LjQwMWMtOS45OTggOS45OTctMjYuMjA3IDkuOTk3LTM2LjIwNC0uMDAxeicvPjwvc3ZnPg==)}.toast-warning[_ngcontent-%COMP%]{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCA1NzYgNTEyJyB3aWR0aD0nNTc2JyBoZWlnaHQ9JzUxMic+PHBhdGggZmlsbD0ncmdiKDI1NSwyNTUsMjU1KScgZD0nTTU2OS41MTcgNDQwLjAxM0M1ODcuOTc1IDQ3Mi4wMDcgNTY0LjgwNiA1MTIgNTI3Ljk0IDUxMkg0OC4wNTRjLTM2LjkzNyAwLTU5Ljk5OS00MC4wNTUtNDEuNTc3LTcxLjk4N0wyNDYuNDIzIDIzLjk4NWMxOC40NjctMzIuMDA5IDY0LjcyLTMxLjk1MSA4My4xNTQgMGwyMzkuOTQgNDE2LjAyOHpNMjg4IDM1NGMtMjUuNDA1IDAtNDYgMjAuNTk1LTQ2IDQ2czIwLjU5NSA0NiA0NiA0NiA0Ni0yMC41OTUgNDYtNDYtMjAuNTk1LTQ2LTQ2LTQ2em0tNDMuNjczLTE2NS4zNDZsNy40MTggMTM2Yy4zNDcgNi4zNjQgNS42MDkgMTEuMzQ2IDExLjk4MiAxMS4zNDZoNDguNTQ2YzYuMzczIDAgMTEuNjM1LTQuOTgyIDExLjk4Mi0xMS4zNDZsNy40MTgtMTM2Yy4zNzUtNi44NzQtNS4wOTgtMTIuNjU0LTExLjk4Mi0xMi42NTRoLTYzLjM4M2MtNi44ODQgMC0xMi4zNTYgNS43OC0xMS45ODEgMTIuNjU0eicvPjwvc3ZnPg==)}.toast-container.toast-top-center[_ngcontent-%COMP%] .ngx-toastr[_ngcontent-%COMP%], .toast-container.toast-bottom-center[_ngcontent-%COMP%] .ngx-toastr[_ngcontent-%COMP%]{width:300px;margin-left:auto;margin-right:auto}.toast-container.toast-top-full-width[_ngcontent-%COMP%] .ngx-toastr[_ngcontent-%COMP%], .toast-container.toast-bottom-full-width[_ngcontent-%COMP%] .ngx-toastr[_ngcontent-%COMP%]{width:96%;margin-left:auto;margin-right:auto}.ngx-toastr[_ngcontent-%COMP%]{background-color:#030303;pointer-events:auto}.toast-success[_ngcontent-%COMP%]{background-color:#51a351}.toast-error[_ngcontent-%COMP%]{background-color:#bd362f}.toast-info[_ngcontent-%COMP%]{background-color:#2f96b4}.toast-warning[_ngcontent-%COMP%]{background-color:#f89406}.toast-progress[_ngcontent-%COMP%]{position:absolute;left:0;bottom:0;height:4px;background-color:#000;opacity:.4}@media all and (max-width: 240px){.toast-container[_ngcontent-%COMP%] .ngx-toastr.div[_ngcontent-%COMP%]{padding:8px 8px 8px 50px;width:11em}.toast-container[_ngcontent-%COMP%] .toast-close-button[_ngcontent-%COMP%]{right:-.2em;top:-.2em}}@media all and (min-width: 241px) and (max-width: 480px){.toast-container[_ngcontent-%COMP%] .ngx-toastr.div[_ngcontent-%COMP%]{padding:8px 8px 8px 50px;width:18em}.toast-container[_ngcontent-%COMP%] .toast-close-button[_ngcontent-%COMP%]{right:-.2em;top:-.2em}}@media all and (min-width: 481px) and (max-width: 768px){.toast-container[_ngcontent-%COMP%] .ngx-toastr.div[_ngcontent-%COMP%]{padding:15px 15px 15px 50px;width:25em}}"]})};var Oc=["custom-toast-component",""];function Lc(t,e){if(t&1){let o=Oe();ke(0,"a",9),cr("click",function(){pe(o);let n=N(2);return me(n.remove())}),D(1," x "),we()}}function zc(t,e){if(t&1&&(ke(0,"div",5)(1,"div",6)(2,"div",7)(3,"h4"),D(4),we()()(),ke(5,"div",8),$(6,Lc,2,0,"a",4),we()()),t&2){let o=N();dr("display",o.state().value==="inactive"?"none":""),_(2),Me(o.options.titleClass),sr("aria-label",o.title),_(2),mo(o.title),_(2),Y(o.options.closeButton?6:-1)}}function Fc(t,e){if(t&1&&lr(0,"div",10),t&2){let o=N();Me(o.options.messageClass),mi("innerHTML",o.message,fo)}}function jc(t,e){if(t&1&&(ke(0,"div",11),D(1),we()),t&2){let o=N();Me(o.options.messageClass),sr("aria-label",o.message),_(),Le(" ",o.message," ")}}function Wc(t,e){if(t&1){let o=Oe();ke(0,"a",9),cr("click",function(){pe(o);let n=N();return me(n.remove())}),D(1," x "),we()}}function Uc(t,e){if(t&1&&(ke(0,"div"),lr(1,"div",12),we()),t&2){let o=N();_(),dr("width",o.width+"%")}}var _s=(()=>{let e=class e extends Oi{constructor(r,n){super(r,n),this.toastrService=r,this.toastPackage=n}ngOnInit(){}action(r){return r.stopPropagation(),this.toastPackage.triggerAction(),!1}};e.\u0275fac=function(n){return new(n||e)(le(ko),le(Di))},e.\u0275cmp=ve({type:e,selectors:[["","custom-toast-component",""]],features:[di],attrs:Oc,decls:6,vars:5,consts:[[1,"toast-case"],[1,"row","toast-header",3,"display"],["role","alert","aria-live","polite",1,"row","toast-body","text-start",3,"class","innerHTML"],["role","alert","aria-live","polite",1,"row","toast-body","text-start",3,"class"],[1,"btn","toast-close-button","btn-sm"],[1,"row","toast-header"],[1,"col-9","px-0","text-start"],[1,"my-4"],[1,"col-auto","mt-5","pe-0"],[1,"btn","toast-close-button","btn-sm",3,"click"],["role","alert","aria-live","polite",1,"row","toast-body","text-start",3,"innerHTML"],["role","alert","aria-live","polite",1,"row","toast-body","text-start"],[1,"toast-progress"]],template:function(n,i){n&1&&(ke(0,"div",0),$(1,zc,7,7,"div",1),$(2,Fc,1,3,"div",2),$(3,jc,2,4,"div",3),$(4,Wc,2,0,"a",4),$(5,Uc,2,2,"div"),we()),n&2&&(_(),Y(i.title?1:-1),_(),Y(i.message&&i.options.enableHtml?2:-1),_(),Y(i.message&&!i.options.enableHtml?3:-1),_(),Y(i.options.closeButton&&i.title==null?4:-1),_(),Y(i.options.progressBar?5:-1))},styles:["[_nghost-%COMP%]{background-color:#fff;position:relative;overflow:hidden;margin:0 0 6px;width:300px;border-radius:3px;color:#141414;pointer-events:all;cursor:pointer}.toast-success[_nghost-%COMP%]{border:1.8px solid rgb(81,163,81)}.toast-info[_nghost-%COMP%]{border:1.8px solid rgb(47,150,180)}.toast-error[_nghost-%COMP%]{border:1.8px solid rgb(189,54,47)}.toast-warning[_nghost-%COMP%]{border:1.8px solid rgb(248,148,6)}.toast-case[_ngcontent-%COMP%]{margin-left:10px}.toast-header[_ngcontent-%COMP%]{background-clip:padding-box;border-bottom:1px solid gainsboro;border-width:1px;padding-bottom:0rem;padding-top:0rem;padding-right:0}.toast-title[_ngcontent-%COMP%]{color:#000}.toast-body[_ngcontent-%COMP%]{padding:10px 15px 10px 0}.notitle[_ngcontent-%COMP%]{margin-bottom:-1rem}.toast-close-button[_ngcontent-%COMP%]{color:#dcdcdc!important}"],data:{animation:[Ai("flyInOut",[Bi("inactive",X({opacity:0})),br("inactive => active",gr("400ms ease-out",hr([X({transform:"translate3d(100%, 0, 0) skewX(-30deg)",opacity:0}),X({transform:"skewX(20deg)",opacity:1}),X({transform:"skewX(-5deg)",opacity:1}),X({transform:"none",opacity:1})]))),br("active => removed",gr("400ms ease-out",hr([X({opacity:1}),X({transform:"translate3d(100%, 0, 0) skewX(30deg)",opacity:0})])))])]}});let t=e;return t})();var Ss={name:"pos-offline",version:K.pos.indexedDBVersion,objectStoresMeta:[{store:"Order",storeConfig:{keyPath:"id",autoIncrement:!0},storeSchema:[{name:"Action",options:{unique:!1},keypath:"Action"},{name:"Items",options:{unique:!1},keypath:"Items"},{name:"CartItems",options:{unique:!1},keypath:"CartItems"},{name:"Invoice",options:{unique:!1},keypath:"Invoice"},{name:"Order",options:{unique:!1},keypath:"Order"},{name:"Payments",options:{unique:!1},keypath:"Payments"},{name:"Shipping",options:{unique:!1},keypath:"Shipping"},{name:"ContactName",options:{unique:!1},keypath:"ContactName"}]},{store:"Outlet",storeConfig:{keyPath:"RegisterID",autoIncrement:!1},storeSchema:[{name:"DefaultSalesOrderTag",options:{unique:!1},keypath:"DefaultSalesOrderTag"},{name:"DefaultTaxType",options:{unique:!1},keypath:"DefaultTaxType"},{name:"DefaultWarehouse",options:{unique:!1},keypath:"DefaultWarehouse"},{name:"EntityID",options:{unique:!1},keypath:"EntityID"},{name:"EntityName",options:{unique:!1},keypath:"EntityName"},{name:"InvoiceNumberElement",options:{unique:!1},keypath:"InvoiceNumberElement"},{name:"ListSales",options:{unique:!1},keypath:"ListSales"},{name:"MemberPoint",options:{unique:!1},keypath:"MemberPoint"},{name:"NewOrderID",options:{unique:!1},keypath:"NewOrderID"},{name:"NumberElement",options:{unique:!1},keypath:"NumberElement"},{name:"ParkLayoutPack",options:{unique:!1},keypath:"ParkLayoutPack"},{name:"PrintTemplate",options:{unique:!1},keypath:"PrintTemplate"},{name:"QuickKeyPack",options:{unique:!1},keypath:"QuickKeyPack"},{name:"RegisterID",options:{unique:!1},keypath:"RegisterID"},{name:"ShippingDefault",options:{unique:!1},keypath:"ShippingDefault"}]},{store:"OutletPrice",storeConfig:{keyPath:"id",autoIncrement:!0},storeSchema:[{name:"EntityID",options:{unique:!1},keypath:"EntityID"},{name:"ExtraCost",options:{unique:!1},keypath:"ExtraCost"},{name:"PriceDiscount",options:{unique:!1},keypath:"PriceDiscount"},{name:"UnitCost",options:{unique:!1},keypath:"UnitCost"},{name:"UnitPrice",options:{unique:!1},keypath:"UnitPrice"},{name:"VariantID",options:{unique:!1},keypath:"VariantID"}]},{store:"POSStorage",storeConfig:{keyPath:"id",autoIncrement:!1},storeSchema:[{name:"AppConfigJSON",options:{unique:!1},keypath:"AppConfigJSON"},{name:"BINS",options:{unique:!1},keypath:"BINS"},{name:"Currencies",options:{unique:!1},keypath:"Currencies"},{name:"CustomerOptions",options:{unique:!1},keypath:"CustomerOptions"},{name:"Denomination",options:{unique:!1},keypath:"Denomination"},{name:"Entities",options:{unique:!1},keypath:"Entities"},{name:"PaymentTypes",options:{unique:!1},keypath:"PaymentTypes"},{name:"Payments",options:{unique:!1},keypath:"Payments"},{name:"PoTypes",options:{unique:!1},keypath:"PoTypes"},{name:"ProductCount",options:{unique:!1},keypath:"ProductCount"},{name:"Registers",options:{unique:!1},keypath:"Registers"},{name:"Restriction",options:{unique:!1},keypath:"Restriction"},{name:"Roles",options:{unique:!1},keypath:"Roles"},{name:"SalesID",options:{unique:!1},keypath:"SalesID"},{name:"ServerDateString",options:{unique:!1},keypath:"ServerDateString"},{name:"ServerTime",options:{unique:!1},keypath:"ServerTime"},{name:"Taxes",options:{unique:!1},keypath:"Taxes"},{name:"UserID",options:{unique:!1},keypath:"UserID"},{name:"UserName",options:{unique:!1},keypath:"UserName"},{name:"Version",options:{unique:!1},keypath:"Version"}]},{store:"Product",storeConfig:{keyPath:"ID",autoIncrement:!1},storeSchema:[{name:"BrandName",options:{unique:!1},keypath:"BrandName"},{name:"CategoryName",options:{unique:!1},keypath:"CategoryName"},{name:"CategoryTypeID",options:{unique:!1},keypath:"CategoryTypeID"},{name:"Code",options:{unique:!1},keypath:"Code"},{name:"Component",options:{unique:!1},keypath:"Component"},{name:"Created",options:{unique:!1},keypath:"Created"},{name:"Description",options:{unique:!1},keypath:"Description"},{name:"ExtraCost",options:{unique:!1},keypath:"ExtraCost"},{name:"ID",options:{unique:!1},keypath:"ID"},{name:"ImageUrl",options:{unique:!1},keypath:"ImageUrl"},{name:"LoyaltyPoint",options:{unique:!1},keypath:"LoyaltyPoint"},{name:"Name",options:{unique:!1},keypath:"Name"},{name:"OrderPrice",options:{unique:!1},keypath:"OrderPrice"},{name:"OrderPriceDiscount",options:{unique:!1},keypath:"OrderPriceDiscount"},{name:"Ordered",options:{unique:!1},keypath:"Ordered"},{name:"PaymentTypeID",options:{unique:!1},keypath:"PaymentTypeID"},{name:"PriceBook",options:{unique:!1},keypath:"PriceBook"},{name:"PriceDiscount",options:{unique:!1},keypath:"PriceDiscount"},{name:"PriceNote",options:{unique:!1},keypath:"PriceNote"},{name:"PriceTypeID",options:{unique:!1},keypath:"PriceTypeID"},{name:"ProductID",options:{unique:!1},keypath:"ProductID"},{name:"Taxable",options:{unique:!1},keypath:"Taxable"},{name:"ThumbnailUrl",options:{unique:!1},keypath:"ThumbnailUrl"},{name:"TypeID",options:{unique:!1},keypath:"TypeID"},{name:"UOM",options:{unique:!1},keypath:"UOM"},{name:"UnitCost",options:{unique:!1},keypath:"UnitCost"},{name:"UnitExpense",options:{unique:!1},keypath:"UnitExpense"},{name:"UnitPrice",options:{unique:!1},keypath:"UnitPrice"},{name:"UnitPriceOriginal",options:{unique:!1},keypath:"UnitPriceOriginal"},{name:"UnitQuantity",options:{unique:!1},keypath:"UnitQuantity"},{name:"OnHand",options:{unique:!1},keypath:"OnHand"}]},{store:"SyncTime",storeConfig:{keyPath:"id",autoIncrement:!1},storeSchema:[{name:"time",keypath:"time",options:{unique:!0}}]},{store:"FailedOrder",storeConfig:{keyPath:"id",autoIncrement:!0},storeSchema:[{name:"Action",options:{unique:!1},keypath:"Action"},{name:"Items",options:{unique:!1},keypath:"Items"},{name:"CartItems",options:{unique:!1},keypath:"CartItems"},{name:"Invoice",options:{unique:!1},keypath:"Invoice"},{name:"Order",options:{unique:!1},keypath:"Order"},{name:"Payments",options:{unique:!1},keypath:"Payments"},{name:"Shipping",options:{unique:!1},keypath:"Shipping"}]},{store:"SuccessOrder",storeConfig:{keyPath:"id",autoIncrement:!0},storeSchema:[{name:"Number",options:{unique:!1},keypath:"Order.Number"}]}]};var Ts=(t,e)=>{let o=Q(ko),r=Q(Fe),n=localStorage.getItem("Token"),i=Q(ze),a=Q(ta);return n&&(t.body instanceof FormData?t=t.clone({setHeaders:{Authorization:`Bearer ${n}`}}):t.url.includes("cloudflarestorage")?t=t.clone({setHeaders:{}}):t=t.clone({setHeaders:{Authorization:`Bearer ${n}`,"Content-Type":"application/json","Cache-Control":"no-cache"}})),e(t).pipe(ri(s=>{if(s instanceof Si){switch(console.log("error",s),s.status){case 401:o.error("You are forced to logout. Please relogin and contact administrator for more information!","Unauthorized"),a.closeAll(),r.logout();break;case 402:i.navigate(["/menu/Profile/Main/My_Subscription"]);break;case 403:i.navigate(["/menu/Unauthorized/Main/Unauthorized"],{state:{role:s?.error.Roles}});break}return Jn(()=>s)}}))};var qc={transitionDuration:"{transition.duration}"},Hc={borderWidth:"0 0 1px 0",borderColor:"{content.border.color}"},Kc={color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{text.color}",activeHoverColor:"{text.color}",padding:"1.125rem",fontWeight:"600",borderRadius:"0",borderWidth:"0",borderColor:"{content.border.color}",background:"{content.background}",hoverBackground:"{content.background}",activeBackground:"{content.background}",activeHoverBackground:"{content.background}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"},toggleIcon:{color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{text.color}",activeHoverColor:"{text.color}"},first:{topBorderRadius:"{content.border.radius}",borderWidth:"0"},last:{bottomBorderRadius:"{content.border.radius}",activeBottomBorderRadius:"0"}},Vc={borderWidth:"0",borderColor:"{content.border.color}",background:"{content.background}",color:"{text.color}",padding:"0 1.125rem 1.125rem 1.125rem"},lt={root:qc,panel:Hc,header:Kc,content:Vc};var Qc={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}"},$c={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},Yc={padding:"{list.padding}",gap:"{list.gap}"},Gc={focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"},Xc={background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},Zc={width:"2.5rem",sm:{width:"2rem"},lg:{width:"3rem"},borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.border.color}",activeBorderColor:"{form.field.border.color}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},Jc={borderRadius:"{border.radius.sm}"},ed={padding:"{list.option.padding}"},od={light:{chip:{focusBackground:"{surface.200}",focusColor:"{surface.800}"},dropdown:{background:"{surface.100}",hoverBackground:"{surface.200}",activeBackground:"{surface.300}",color:"{surface.600}",hoverColor:"{surface.700}",activeColor:"{surface.800}"}},dark:{chip:{focusBackground:"{surface.700}",focusColor:"{surface.0}"},dropdown:{background:"{surface.800}",hoverBackground:"{surface.700}",activeBackground:"{surface.600}",color:"{surface.300}",hoverColor:"{surface.200}",activeColor:"{surface.100}"}}},ct={root:Qc,overlay:$c,list:Yc,option:Gc,optionGroup:Xc,dropdown:Zc,chip:Jc,emptyMessage:ed,colorScheme:od};var rd={width:"2rem",height:"2rem",fontSize:"1rem",background:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}"},td={size:"1rem"},nd={borderColor:"{content.background}",offset:"-0.75rem"},id={width:"3rem",height:"3rem",fontSize:"1.5rem",icon:{size:"1.5rem"},group:{offset:"-1rem"}},ad={width:"4rem",height:"4rem",fontSize:"2rem",icon:{size:"2rem"},group:{offset:"-1.5rem"}},dt={root:rd,icon:td,group:nd,lg:id,xl:ad};var sd={borderRadius:"{border.radius.md}",padding:"0 0.5rem",fontSize:"0.75rem",fontWeight:"700",minWidth:"1.5rem",height:"1.5rem"},ld={size:"0.5rem"},cd={fontSize:"0.625rem",minWidth:"1.25rem",height:"1.25rem"},dd={fontSize:"0.875rem",minWidth:"1.75rem",height:"1.75rem"},ud={fontSize:"1rem",minWidth:"2rem",height:"2rem"},fd={light:{primary:{background:"{primary.color}",color:"{primary.contrast.color}"},secondary:{background:"{surface.100}",color:"{surface.600}"},success:{background:"{green.500}",color:"{surface.0}"},info:{background:"{sky.500}",color:"{surface.0}"},warn:{background:"{orange.500}",color:"{surface.0}"},danger:{background:"{red.500}",color:"{surface.0}"},contrast:{background:"{surface.950}",color:"{surface.0}"}},dark:{primary:{background:"{primary.color}",color:"{primary.contrast.color}"},secondary:{background:"{surface.800}",color:"{surface.300}"},success:{background:"{green.400}",color:"{green.950}"},info:{background:"{sky.400}",color:"{sky.950}"},warn:{background:"{orange.400}",color:"{orange.950}"},danger:{background:"{red.400}",color:"{red.950}"},contrast:{background:"{surface.0}",color:"{surface.950}"}}},ut={root:sd,dot:ld,sm:cd,lg:dd,xl:ud,colorScheme:fd};var pd={borderRadius:{none:"0",xs:"2px",sm:"4px",md:"6px",lg:"8px",xl:"12px"},emerald:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b",950:"#022c22"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d",950:"#052e16"},lime:{50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314",950:"#1a2e05"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d",950:"#450a0a"},orange:{50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12",950:"#431407"},amber:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f",950:"#451a03"},yellow:{50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12",950:"#422006"},teal:{50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a",950:"#042f2e"},cyan:{50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63",950:"#083344"},sky:{50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e",950:"#082f49"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a",950:"#172554"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81",950:"#1e1b4b"},violet:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95",950:"#2e1065"},purple:{50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87",950:"#3b0764"},fuchsia:{50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75",950:"#4a044e"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843",950:"#500724"},rose:{50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337",950:"#4c0519"},slate:{50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a",950:"#020617"},gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827",950:"#030712"},zinc:{50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b",950:"#09090b"},neutral:{50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",950:"#0a0a0a"},stone:{50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917",950:"#0c0a09"}},md={transitionDuration:"0.2s",focusRing:{width:"1px",style:"solid",color:"{primary.color}",offset:"2px",shadow:"none"},disabledOpacity:"0.6",iconSize:"1rem",anchorGutter:"2px",primary:{50:"{emerald.50}",100:"{emerald.100}",200:"{emerald.200}",300:"{emerald.300}",400:"{emerald.400}",500:"{emerald.500}",600:"{emerald.600}",700:"{emerald.700}",800:"{emerald.800}",900:"{emerald.900}",950:"{emerald.950}"},formField:{paddingX:"0.75rem",paddingY:"0.5rem",sm:{fontSize:"0.875rem",paddingX:"0.625rem",paddingY:"0.375rem"},lg:{fontSize:"1.125rem",paddingX:"0.875rem",paddingY:"0.625rem"},borderRadius:"{border.radius.md}",focusRing:{width:"0",style:"none",color:"transparent",offset:"0",shadow:"none"},transitionDuration:"{transition.duration}"},list:{padding:"0.25rem 0.25rem",gap:"2px",header:{padding:"0.5rem 1rem 0.25rem 1rem"},option:{padding:"0.5rem 0.75rem",borderRadius:"{border.radius.sm}"},optionGroup:{padding:"0.5rem 0.75rem",fontWeight:"600"}},content:{borderRadius:"{border.radius.md}"},mask:{transitionDuration:"0.15s"},navigation:{list:{padding:"0.25rem 0.25rem",gap:"2px"},item:{padding:"0.5rem 0.75rem",borderRadius:"{border.radius.sm}",gap:"0.5rem"},submenuLabel:{padding:"0.5rem 0.75rem",fontWeight:"600"},submenuIcon:{size:"0.875rem"}},overlay:{select:{borderRadius:"{border.radius.md}",shadow:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)"},popover:{borderRadius:"{border.radius.md}",padding:"0.75rem",shadow:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)"},modal:{borderRadius:"{border.radius.xl}",padding:"1.25rem",shadow:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1)"},navigation:{shadow:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)"}},colorScheme:{light:{surface:{0:"#ffffff",50:"{slate.50}",100:"{slate.100}",200:"{slate.200}",300:"{slate.300}",400:"{slate.400}",500:"{slate.500}",600:"{slate.600}",700:"{slate.700}",800:"{slate.800}",900:"{slate.900}",950:"{slate.950}"},primary:{color:"{primary.500}",contrastColor:"#ffffff",hoverColor:"{primary.600}",activeColor:"{primary.700}"},highlight:{background:"{primary.50}",focusBackground:"{primary.100}",color:"{primary.700}",focusColor:"{primary.800}"},mask:{background:"rgba(0,0,0,0.4)",color:"{surface.200}"},formField:{background:"{surface.0}",disabledBackground:"{surface.200}",filledBackground:"{surface.50}",filledHoverBackground:"{surface.50}",filledFocusBackground:"{surface.50}",borderColor:"{surface.300}",hoverBorderColor:"{surface.400}",focusBorderColor:"{primary.color}",invalidBorderColor:"{red.400}",color:"{surface.700}",disabledColor:"{surface.500}",placeholderColor:"{surface.500}",invalidPlaceholderColor:"{red.600}",floatLabelColor:"{surface.500}",floatLabelFocusColor:"{primary.600}",floatLabelActiveColor:"{surface.500}",floatLabelInvalidColor:"{form.field.invalid.placeholder.color}",iconColor:"{surface.400}",shadow:"0 0 #0000, 0 0 #0000, 0 1px 2px 0 rgba(18, 18, 23, 0.05)"},text:{color:"{surface.700}",hoverColor:"{surface.800}",mutedColor:"{surface.500}",hoverMutedColor:"{surface.600}"},content:{background:"{surface.0}",hoverBackground:"{surface.100}",borderColor:"{surface.200}",color:"{text.color}",hoverColor:"{text.hover.color}"},overlay:{select:{background:"{surface.0}",borderColor:"{surface.200}",color:"{text.color}"},popover:{background:"{surface.0}",borderColor:"{surface.200}",color:"{text.color}"},modal:{background:"{surface.0}",borderColor:"{surface.200}",color:"{text.color}"}},list:{option:{focusBackground:"{surface.100}",selectedBackground:"{highlight.background}",selectedFocusBackground:"{highlight.focus.background}",color:"{text.color}",focusColor:"{text.hover.color}",selectedColor:"{highlight.color}",selectedFocusColor:"{highlight.focus.color}",icon:{color:"{surface.400}",focusColor:"{surface.500}"}},optionGroup:{background:"transparent",color:"{text.muted.color}"}},navigation:{item:{focusBackground:"{surface.100}",activeBackground:"{surface.100}",color:"{text.color}",focusColor:"{text.hover.color}",activeColor:"{text.hover.color}",icon:{color:"{surface.400}",focusColor:"{surface.500}",activeColor:"{surface.500}"}},submenuLabel:{background:"transparent",color:"{text.muted.color}"},submenuIcon:{color:"{surface.400}",focusColor:"{surface.500}",activeColor:"{surface.500}"}}},dark:{surface:{0:"#ffffff",50:"{zinc.50}",100:"{zinc.100}",200:"{zinc.200}",300:"{zinc.300}",400:"{zinc.400}",500:"{zinc.500}",600:"{zinc.600}",700:"{zinc.700}",800:"{zinc.800}",900:"{zinc.900}",950:"{zinc.950}"},primary:{color:"{primary.400}",contrastColor:"{surface.900}",hoverColor:"{primary.300}",activeColor:"{primary.200}"},highlight:{background:"color-mix(in srgb, {primary.400}, transparent 84%)",focusBackground:"color-mix(in srgb, {primary.400}, transparent 76%)",color:"rgba(255,255,255,.87)",focusColor:"rgba(255,255,255,.87)"},mask:{background:"rgba(0,0,0,0.6)",color:"{surface.200}"},formField:{background:"{surface.950}",disabledBackground:"{surface.700}",filledBackground:"{surface.800}",filledHoverBackground:"{surface.800}",filledFocusBackground:"{surface.800}",borderColor:"{surface.600}",hoverBorderColor:"{surface.500}",focusBorderColor:"{primary.color}",invalidBorderColor:"{red.300}",color:"{surface.0}",disabledColor:"{surface.400}",placeholderColor:"{surface.400}",invalidPlaceholderColor:"{red.400}",floatLabelColor:"{surface.400}",floatLabelFocusColor:"{primary.color}",floatLabelActiveColor:"{surface.400}",floatLabelInvalidColor:"{form.field.invalid.placeholder.color}",iconColor:"{surface.400}",shadow:"0 0 #0000, 0 0 #0000, 0 1px 2px 0 rgba(18, 18, 23, 0.05)"},text:{color:"{surface.0}",hoverColor:"{surface.0}",mutedColor:"{surface.400}",hoverMutedColor:"{surface.300}"},content:{background:"{surface.900}",hoverBackground:"{surface.800}",borderColor:"{surface.700}",color:"{text.color}",hoverColor:"{text.hover.color}"},overlay:{select:{background:"{surface.900}",borderColor:"{surface.700}",color:"{text.color}"},popover:{background:"{surface.900}",borderColor:"{surface.700}",color:"{text.color}"},modal:{background:"{surface.900}",borderColor:"{surface.700}",color:"{text.color}"}},list:{option:{focusBackground:"{surface.800}",selectedBackground:"{highlight.background}",selectedFocusBackground:"{highlight.focus.background}",color:"{text.color}",focusColor:"{text.hover.color}",selectedColor:"{highlight.color}",selectedFocusColor:"{highlight.focus.color}",icon:{color:"{surface.500}",focusColor:"{surface.400}"}},optionGroup:{background:"transparent",color:"{text.muted.color}"}},navigation:{item:{focusBackground:"{surface.800}",activeBackground:"{surface.800}",color:"{text.color}",focusColor:"{text.hover.color}",activeColor:"{text.hover.color}",icon:{color:"{surface.500}",focusColor:"{surface.400}",activeColor:"{surface.400}"}},submenuLabel:{background:"transparent",color:"{text.muted.color}"},submenuIcon:{color:"{surface.500}",focusColor:"{surface.400}",activeColor:"{surface.400}"}}}}},ft={primitive:pd,semantic:md};var gd={borderRadius:"{content.border.radius}"},pt={root:gd};var hd={padding:"1rem",background:"{content.background}",gap:"0.5rem",transitionDuration:"{transition.duration}"},bd={color:"{text.muted.color}",hoverColor:"{text.color}",borderRadius:"{content.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",hoverColor:"{navigation.item.icon.focus.color}"},focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},yd={color:"{navigation.item.icon.color}"},mt={root:hd,item:bd,separator:yd};var vd={borderRadius:"{form.field.border.radius}",roundedBorderRadius:"2rem",gap:"0.5rem",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",iconOnlyWidth:"2.5rem",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}",iconOnlyWidth:"2rem"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}",iconOnlyWidth:"3rem"},label:{fontWeight:"500"},raisedShadow:"0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",offset:"{focus.ring.offset}"},badgeSize:"1rem",transitionDuration:"{form.field.transition.duration}"},kd={light:{root:{primary:{background:"{primary.color}",hoverBackground:"{primary.hover.color}",activeBackground:"{primary.active.color}",borderColor:"{primary.color}",hoverBorderColor:"{primary.hover.color}",activeBorderColor:"{primary.active.color}",color:"{primary.contrast.color}",hoverColor:"{primary.contrast.color}",activeColor:"{primary.contrast.color}",focusRing:{color:"{primary.color}",shadow:"none"}},secondary:{background:"{surface.100}",hoverBackground:"{surface.200}",activeBackground:"{surface.300}",borderColor:"{surface.100}",hoverBorderColor:"{surface.200}",activeBorderColor:"{surface.300}",color:"{surface.600}",hoverColor:"{surface.700}",activeColor:"{surface.800}",focusRing:{color:"{surface.600}",shadow:"none"}},info:{background:"{sky.500}",hoverBackground:"{sky.600}",activeBackground:"{sky.700}",borderColor:"{sky.500}",hoverBorderColor:"{sky.600}",activeBorderColor:"{sky.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{sky.500}",shadow:"none"}},success:{background:"{green.500}",hoverBackground:"{green.600}",activeBackground:"{green.700}",borderColor:"{green.500}",hoverBorderColor:"{green.600}",activeBorderColor:"{green.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{green.500}",shadow:"none"}},warn:{background:"{orange.500}",hoverBackground:"{orange.600}",activeBackground:"{orange.700}",borderColor:"{orange.500}",hoverBorderColor:"{orange.600}",activeBorderColor:"{orange.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{orange.500}",shadow:"none"}},help:{background:"{purple.500}",hoverBackground:"{purple.600}",activeBackground:"{purple.700}",borderColor:"{purple.500}",hoverBorderColor:"{purple.600}",activeBorderColor:"{purple.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{purple.500}",shadow:"none"}},danger:{background:"{red.500}",hoverBackground:"{red.600}",activeBackground:"{red.700}",borderColor:"{red.500}",hoverBorderColor:"{red.600}",activeBorderColor:"{red.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{red.500}",shadow:"none"}},contrast:{background:"{surface.950}",hoverBackground:"{surface.900}",activeBackground:"{surface.800}",borderColor:"{surface.950}",hoverBorderColor:"{surface.900}",activeBorderColor:"{surface.800}",color:"{surface.0}",hoverColor:"{surface.0}",activeColor:"{surface.0}",focusRing:{color:"{surface.950}",shadow:"none"}}},outlined:{primary:{hoverBackground:"{primary.50}",activeBackground:"{primary.100}",borderColor:"{primary.200}",color:"{primary.color}"},secondary:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",borderColor:"{surface.200}",color:"{surface.500}"},success:{hoverBackground:"{green.50}",activeBackground:"{green.100}",borderColor:"{green.200}",color:"{green.500}"},info:{hoverBackground:"{sky.50}",activeBackground:"{sky.100}",borderColor:"{sky.200}",color:"{sky.500}"},warn:{hoverBackground:"{orange.50}",activeBackground:"{orange.100}",borderColor:"{orange.200}",color:"{orange.500}"},help:{hoverBackground:"{purple.50}",activeBackground:"{purple.100}",borderColor:"{purple.200}",color:"{purple.500}"},danger:{hoverBackground:"{red.50}",activeBackground:"{red.100}",borderColor:"{red.200}",color:"{red.500}"},contrast:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",borderColor:"{surface.700}",color:"{surface.950}"},plain:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",borderColor:"{surface.200}",color:"{surface.700}"}},text:{primary:{hoverBackground:"{primary.50}",activeBackground:"{primary.100}",color:"{primary.color}"},secondary:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",color:"{surface.500}"},success:{hoverBackground:"{green.50}",activeBackground:"{green.100}",color:"{green.500}"},info:{hoverBackground:"{sky.50}",activeBackground:"{sky.100}",color:"{sky.500}"},warn:{hoverBackground:"{orange.50}",activeBackground:"{orange.100}",color:"{orange.500}"},help:{hoverBackground:"{purple.50}",activeBackground:"{purple.100}",color:"{purple.500}"},danger:{hoverBackground:"{red.50}",activeBackground:"{red.100}",color:"{red.500}"},contrast:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",color:"{surface.950}"},plain:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",color:"{surface.700}"}},link:{color:"{primary.color}",hoverColor:"{primary.color}",activeColor:"{primary.color}"}},dark:{root:{primary:{background:"{primary.color}",hoverBackground:"{primary.hover.color}",activeBackground:"{primary.active.color}",borderColor:"{primary.color}",hoverBorderColor:"{primary.hover.color}",activeBorderColor:"{primary.active.color}",color:"{primary.contrast.color}",hoverColor:"{primary.contrast.color}",activeColor:"{primary.contrast.color}",focusRing:{color:"{primary.color}",shadow:"none"}},secondary:{background:"{surface.800}",hoverBackground:"{surface.700}",activeBackground:"{surface.600}",borderColor:"{surface.800}",hoverBorderColor:"{surface.700}",activeBorderColor:"{surface.600}",color:"{surface.300}",hoverColor:"{surface.200}",activeColor:"{surface.100}",focusRing:{color:"{surface.300}",shadow:"none"}},info:{background:"{sky.400}",hoverBackground:"{sky.300}",activeBackground:"{sky.200}",borderColor:"{sky.400}",hoverBorderColor:"{sky.300}",activeBorderColor:"{sky.200}",color:"{sky.950}",hoverColor:"{sky.950}",activeColor:"{sky.950}",focusRing:{color:"{sky.400}",shadow:"none"}},success:{background:"{green.400}",hoverBackground:"{green.300}",activeBackground:"{green.200}",borderColor:"{green.400}",hoverBorderColor:"{green.300}",activeBorderColor:"{green.200}",color:"{green.950}",hoverColor:"{green.950}",activeColor:"{green.950}",focusRing:{color:"{green.400}",shadow:"none"}},warn:{background:"{orange.400}",hoverBackground:"{orange.300}",activeBackground:"{orange.200}",borderColor:"{orange.400}",hoverBorderColor:"{orange.300}",activeBorderColor:"{orange.200}",color:"{orange.950}",hoverColor:"{orange.950}",activeColor:"{orange.950}",focusRing:{color:"{orange.400}",shadow:"none"}},help:{background:"{purple.400}",hoverBackground:"{purple.300}",activeBackground:"{purple.200}",borderColor:"{purple.400}",hoverBorderColor:"{purple.300}",activeBorderColor:"{purple.200}",color:"{purple.950}",hoverColor:"{purple.950}",activeColor:"{purple.950}",focusRing:{color:"{purple.400}",shadow:"none"}},danger:{background:"{red.400}",hoverBackground:"{red.300}",activeBackground:"{red.200}",borderColor:"{red.400}",hoverBorderColor:"{red.300}",activeBorderColor:"{red.200}",color:"{red.950}",hoverColor:"{red.950}",activeColor:"{red.950}",focusRing:{color:"{red.400}",shadow:"none"}},contrast:{background:"{surface.0}",hoverBackground:"{surface.100}",activeBackground:"{surface.200}",borderColor:"{surface.0}",hoverBorderColor:"{surface.100}",activeBorderColor:"{surface.200}",color:"{surface.950}",hoverColor:"{surface.950}",activeColor:"{surface.950}",focusRing:{color:"{surface.0}",shadow:"none"}}},outlined:{primary:{hoverBackground:"color-mix(in srgb, {primary.color}, transparent 96%)",activeBackground:"color-mix(in srgb, {primary.color}, transparent 84%)",borderColor:"{primary.700}",color:"{primary.color}"},secondary:{hoverBackground:"rgba(255,255,255,0.04)",activeBackground:"rgba(255,255,255,0.16)",borderColor:"{surface.700}",color:"{surface.400}"},success:{hoverBackground:"color-mix(in srgb, {green.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {green.400}, transparent 84%)",borderColor:"{green.700}",color:"{green.400}"},info:{hoverBackground:"color-mix(in srgb, {sky.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {sky.400}, transparent 84%)",borderColor:"{sky.700}",color:"{sky.400}"},warn:{hoverBackground:"color-mix(in srgb, {orange.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {orange.400}, transparent 84%)",borderColor:"{orange.700}",color:"{orange.400}"},help:{hoverBackground:"color-mix(in srgb, {purple.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {purple.400}, transparent 84%)",borderColor:"{purple.700}",color:"{purple.400}"},danger:{hoverBackground:"color-mix(in srgb, {red.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {red.400}, transparent 84%)",borderColor:"{red.700}",color:"{red.400}"},contrast:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",borderColor:"{surface.500}",color:"{surface.0}"},plain:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",borderColor:"{surface.600}",color:"{surface.0}"}},text:{primary:{hoverBackground:"color-mix(in srgb, {primary.color}, transparent 96%)",activeBackground:"color-mix(in srgb, {primary.color}, transparent 84%)",color:"{primary.color}"},secondary:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",color:"{surface.400}"},success:{hoverBackground:"color-mix(in srgb, {green.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {green.400}, transparent 84%)",color:"{green.400}"},info:{hoverBackground:"color-mix(in srgb, {sky.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {sky.400}, transparent 84%)",color:"{sky.400}"},warn:{hoverBackground:"color-mix(in srgb, {orange.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {orange.400}, transparent 84%)",color:"{orange.400}"},help:{hoverBackground:"color-mix(in srgb, {purple.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {purple.400}, transparent 84%)",color:"{purple.400}"},danger:{hoverBackground:"color-mix(in srgb, {red.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {red.400}, transparent 84%)",color:"{red.400}"},contrast:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",color:"{surface.0}"},plain:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",color:"{surface.0}"}},link:{color:"{primary.color}",hoverColor:"{primary.color}",activeColor:"{primary.color}"}}},gt={root:vd,colorScheme:kd};var wd={background:"{content.background}",borderRadius:"{border.radius.xl}",color:"{content.color}",shadow:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)"},Cd={padding:"1.25rem",gap:"0.5rem"},xd={gap:"0.5rem"},_d={fontSize:"1.25rem",fontWeight:"500"},Sd={color:"{text.muted.color}"},ht={root:wd,body:Cd,caption:xd,title:_d,subtitle:Sd};var Td={transitionDuration:"{transition.duration}"},Ed={gap:"0.25rem"},Md={padding:"1rem",gap:"0.5rem"},Ad={width:"2rem",height:"0.5rem",borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},Pd={light:{indicator:{background:"{surface.200}",hoverBackground:"{surface.300}",activeBackground:"{primary.color}"}},dark:{indicator:{background:"{surface.700}",hoverBackground:"{surface.600}",activeBackground:"{primary.color}"}}},bt={root:Td,content:Ed,indicatorList:Md,indicator:Ad,colorScheme:Pd};var Bd={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},Rd={width:"2.5rem",color:"{form.field.icon.color}"},Id={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},Nd={padding:"{list.padding}",gap:"{list.gap}",mobileIndent:"1rem"},Dd={focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}",icon:{color:"{list.option.icon.color}",focusColor:"{list.option.icon.focus.color}",size:"0.875rem"}},Od={color:"{form.field.icon.color}"},yt={root:Bd,dropdown:Rd,overlay:Id,list:Nd,option:Dd,clearIcon:Od};var Ld={borderRadius:"{border.radius.sm}",width:"1.25rem",height:"1.25rem",background:"{form.field.background}",checkedBackground:"{primary.color}",checkedHoverBackground:"{primary.hover.color}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.border.color}",checkedBorderColor:"{primary.color}",checkedHoverBorderColor:"{primary.hover.color}",checkedFocusBorderColor:"{primary.color}",checkedDisabledBorderColor:"{form.field.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",shadow:"{form.field.shadow}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{width:"1rem",height:"1rem"},lg:{width:"1.5rem",height:"1.5rem"}},zd={size:"0.875rem",color:"{form.field.color}",checkedColor:"{primary.contrast.color}",checkedHoverColor:"{primary.contrast.color}",disabledColor:"{form.field.disabled.color}",sm:{size:"0.75rem"},lg:{size:"1rem"}},vt={root:Ld,icon:zd};var Fd={borderRadius:"16px",paddingX:"0.75rem",paddingY:"0.5rem",gap:"0.5rem",transitionDuration:"{transition.duration}"},jd={width:"2rem",height:"2rem"},Wd={size:"1rem"},Ud={size:"1rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"}},qd={light:{root:{background:"{surface.100}",color:"{surface.800}"},icon:{color:"{surface.800}"},removeIcon:{color:"{surface.800}"}},dark:{root:{background:"{surface.800}",color:"{surface.0}"},icon:{color:"{surface.0}"},removeIcon:{color:"{surface.0}"}}},kt={root:Fd,image:jd,icon:Wd,removeIcon:Ud,colorScheme:qd};var Hd={transitionDuration:"{transition.duration}"},Kd={width:"1.5rem",height:"1.5rem",borderRadius:"{form.field.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},Vd={shadow:"{overlay.popover.shadow}",borderRadius:"{overlay.popover.borderRadius}"},Qd={light:{panel:{background:"{surface.800}",borderColor:"{surface.900}"},handle:{color:"{surface.0}"}},dark:{panel:{background:"{surface.900}",borderColor:"{surface.700}"},handle:{color:"{surface.0}"}}},wt={root:Hd,preview:Kd,panel:Vd,colorScheme:Qd};var $d={size:"2rem",color:"{overlay.modal.color}"},Yd={gap:"1rem"},Ct={icon:$d,content:Yd};var Gd={background:"{overlay.popover.background}",borderColor:"{overlay.popover.border.color}",color:"{overlay.popover.color}",borderRadius:"{overlay.popover.border.radius}",shadow:"{overlay.popover.shadow}",gutter:"10px",arrowOffset:"1.25rem"},Xd={padding:"{overlay.popover.padding}",gap:"1rem"},Zd={size:"1.5rem",color:"{overlay.popover.color}"},Jd={gap:"0.5rem",padding:"0 {overlay.popover.padding} {overlay.popover.padding} {overlay.popover.padding}"},xt={root:Gd,content:Xd,icon:Zd,footer:Jd};var eu={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",transitionDuration:"{transition.duration}"},ou={padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},ru={focusBackground:"{navigation.item.focus.background}",activeBackground:"{navigation.item.active.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",activeColor:"{navigation.item.active.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}",activeColor:"{navigation.item.icon.active.color}"}},tu={mobileIndent:"1rem"},nu={size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"},iu={borderColor:"{content.border.color}"},_t={root:eu,list:ou,item:ru,submenu:tu,submenuIcon:nu,separator:iu};var au={transitionDuration:"{transition.duration}"},su={background:"{content.background}",borderColor:"{datatable.border.color}",color:"{content.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem",sm:{padding:"0.375rem 0.5rem"},lg:{padding:"1rem 1.25rem"}},lu={background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",borderColor:"{datatable.border.color}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{highlight.color}",gap:"0.5rem",padding:"0.75rem 1rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"},sm:{padding:"0.375rem 0.5rem"},lg:{padding:"1rem 1.25rem"}},cu={fontWeight:"600"},du={background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{highlight.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},uu={borderColor:"{datatable.border.color}",padding:"0.75rem 1rem",sm:{padding:"0.375rem 0.5rem"},lg:{padding:"1rem 1.25rem"}},fu={background:"{content.background}",borderColor:"{datatable.border.color}",color:"{content.color}",padding:"0.75rem 1rem",sm:{padding:"0.375rem 0.5rem"},lg:{padding:"1rem 1.25rem"}},pu={fontWeight:"600"},mu={background:"{content.background}",borderColor:"{datatable.border.color}",color:"{content.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem",sm:{padding:"0.375rem 0.5rem"},lg:{padding:"1rem 1.25rem"}},gu={color:"{primary.color}"},hu={width:"0.5rem"},bu={width:"1px",color:"{primary.color}"},yu={color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",size:"0.875rem"},vu={size:"2rem"},ku={hoverBackground:"{content.hover.background}",selectedHoverBackground:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.color}",selectedHoverColor:"{primary.color}",size:"1.75rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},wu={inlineGap:"0.5rem",overlaySelect:{background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},overlayPopover:{background:"{overlay.popover.background}",borderColor:"{overlay.popover.border.color}",borderRadius:"{overlay.popover.border.radius}",color:"{overlay.popover.color}",shadow:"{overlay.popover.shadow}",padding:"{overlay.popover.padding}",gap:"0.5rem"},rule:{borderColor:"{content.border.color}"},constraintList:{padding:"{list.padding}",gap:"{list.gap}"},constraint:{focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",separator:{borderColor:"{content.border.color}"},padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"}},Cu={borderColor:"{datatable.border.color}",borderWidth:"0 0 1px 0"},xu={borderColor:"{datatable.border.color}",borderWidth:"0 0 1px 0"},_u={light:{root:{borderColor:"{content.border.color}"},row:{stripedBackground:"{surface.50}"},bodyCell:{selectedBorderColor:"{primary.100}"}},dark:{root:{borderColor:"{surface.800}"},row:{stripedBackground:"{surface.950}"},bodyCell:{selectedBorderColor:"{primary.900}"}}},St={root:au,header:su,headerCell:lu,columnTitle:cu,row:du,bodyCell:uu,footerCell:fu,columnFooter:pu,footer:mu,dropPoint:gu,columnResizer:hu,resizeIndicator:bu,sortIcon:yu,loadingIcon:vu,rowToggleButton:ku,filter:wu,paginatorTop:Cu,paginatorBottom:xu,colorScheme:_u};var Su={borderColor:"transparent",borderWidth:"0",borderRadius:"0",padding:"0"},Tu={background:"{content.background}",color:"{content.color}",borderColor:"{content.border.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem",borderRadius:"0"},Eu={background:"{content.background}",color:"{content.color}",borderColor:"transparent",borderWidth:"0",padding:"0",borderRadius:"0"},Mu={background:"{content.background}",color:"{content.color}",borderColor:"{content.border.color}",borderWidth:"1px 0 0 0",padding:"0.75rem 1rem",borderRadius:"0"},Au={borderColor:"{content.border.color}",borderWidth:"0 0 1px 0"},Pu={borderColor:"{content.border.color}",borderWidth:"1px 0 0 0"},Tt={root:Su,header:Tu,content:Eu,footer:Mu,paginatorTop:Au,paginatorBottom:Pu};var Bu={transitionDuration:"{transition.duration}"},Ru={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.popover.shadow}",padding:"{overlay.popover.padding}"},Iu={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",padding:"0 0 0.5rem 0"},Nu={gap:"0.5rem",fontWeight:"500"},Du={width:"2.5rem",sm:{width:"2rem"},lg:{width:"3rem"},borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.border.color}",activeBorderColor:"{form.field.border.color}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},Ou={color:"{form.field.icon.color}"},Lu={hoverBackground:"{content.hover.background}",color:"{content.color}",hoverColor:"{content.hover.color}",padding:"0.25rem 0.5rem",borderRadius:"{content.border.radius}"},zu={hoverBackground:"{content.hover.background}",color:"{content.color}",hoverColor:"{content.hover.color}",padding:"0.25rem 0.5rem",borderRadius:"{content.border.radius}"},Fu={borderColor:"{content.border.color}",gap:"{overlay.popover.padding}"},ju={margin:"0.5rem 0 0 0"},Wu={padding:"0.25rem",fontWeight:"500",color:"{content.color}"},Uu={hoverBackground:"{content.hover.background}",selectedBackground:"{primary.color}",rangeSelectedBackground:"{highlight.background}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{primary.contrast.color}",rangeSelectedColor:"{highlight.color}",width:"2rem",height:"2rem",borderRadius:"50%",padding:"0.25rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},qu={margin:"0.5rem 0 0 0"},Hu={padding:"0.375rem",borderRadius:"{content.border.radius}"},Ku={margin:"0.5rem 0 0 0"},Vu={padding:"0.375rem",borderRadius:"{content.border.radius}"},Qu={padding:"0.5rem 0 0 0",borderColor:"{content.border.color}"},$u={padding:"0.5rem 0 0 0",borderColor:"{content.border.color}",gap:"0.5rem",buttonGap:"0.25rem"},Yu={light:{dropdown:{background:"{surface.100}",hoverBackground:"{surface.200}",activeBackground:"{surface.300}",color:"{surface.600}",hoverColor:"{surface.700}",activeColor:"{surface.800}"},today:{background:"{surface.200}",color:"{surface.900}"}},dark:{dropdown:{background:"{surface.800}",hoverBackground:"{surface.700}",activeBackground:"{surface.600}",color:"{surface.300}",hoverColor:"{surface.200}",activeColor:"{surface.100}"},today:{background:"{surface.700}",color:"{surface.0}"}}},Et={root:Bu,panel:Ru,header:Iu,title:Nu,dropdown:Du,inputIcon:Ou,selectMonth:Lu,selectYear:zu,group:Fu,dayView:ju,weekDay:Wu,date:Uu,monthView:qu,month:Hu,yearView:Ku,year:Vu,buttonbar:Qu,timePicker:$u,colorScheme:Yu};var Gu={background:"{overlay.modal.background}",borderColor:"{overlay.modal.border.color}",color:"{overlay.modal.color}",borderRadius:"{overlay.modal.border.radius}",shadow:"{overlay.modal.shadow}"},Xu={padding:"{overlay.modal.padding}",gap:"0.5rem"},Zu={fontSize:"1.25rem",fontWeight:"600"},Ju={padding:"0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}"},ef={padding:"0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}",gap:"0.5rem"},Mt={root:Gu,header:Xu,title:Zu,content:Ju,footer:ef};var of={borderColor:"{content.border.color}"},rf={background:"{content.background}",color:"{text.color}"},tf={margin:"1rem 0",padding:"0 1rem",content:{padding:"0 0.5rem"}},nf={margin:"0 1rem",padding:"0.5rem 0",content:{padding:"0.5rem 0"}},At={root:of,content:rf,horizontal:tf,vertical:nf};var af={background:"rgba(255, 255, 255, 0.1)",borderColor:"rgba(255, 255, 255, 0.2)",padding:"0.5rem",borderRadius:"{border.radius.xl}"},sf={borderRadius:"{content.border.radius}",padding:"0.5rem",size:"3rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},Pt={root:af,item:sf};var lf={background:"{overlay.modal.background}",borderColor:"{overlay.modal.border.color}",color:"{overlay.modal.color}",shadow:"{overlay.modal.shadow}"},cf={padding:"{overlay.modal.padding}"},df={fontSize:"1.5rem",fontWeight:"600"},uf={padding:"0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}"},ff={padding:"{overlay.modal.padding}"},Bt={root:lf,header:cf,title:df,content:uf,footer:ff};var pf={background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}"},mf={color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}"},gf={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}",padding:"{list.padding}"},hf={focusBackground:"{list.option.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"},bf={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}"},Rt={toolbar:pf,toolbarItem:mf,overlay:gf,overlayOption:hf,content:bf};var yf={background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",padding:"0 1.125rem 1.125rem 1.125rem",transitionDuration:"{transition.duration}"},vf={background:"{content.background}",hoverBackground:"{content.hover.background}",color:"{content.color}",hoverColor:"{content.hover.color}",borderRadius:"{content.border.radius}",borderWidth:"1px",borderColor:"transparent",padding:"0.5rem 0.75rem",gap:"0.5rem",fontWeight:"600",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},kf={color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}"},wf={padding:"0"},It={root:yf,legend:vf,toggleIcon:kf,content:wf};var Cf={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",transitionDuration:"{transition.duration}"},xf={background:"transparent",color:"{text.color}",padding:"1.125rem",borderColor:"unset",borderWidth:"0",borderRadius:"0",gap:"0.5rem"},_f={highlightBorderColor:"{primary.color}",padding:"0 1.125rem 1.125rem 1.125rem",gap:"1rem"},Sf={padding:"1rem",gap:"1rem",borderColor:"{content.border.color}",info:{gap:"0.5rem"}},Tf={gap:"0.5rem"},Ef={height:"0.25rem"},Mf={gap:"0.5rem"},Nt={root:Cf,header:xf,content:_f,file:Sf,fileList:Tf,progressbar:Ef,basic:Mf};var Af={color:"{form.field.float.label.color}",focusColor:"{form.field.float.label.focus.color}",activeColor:"{form.field.float.label.active.color}",invalidColor:"{form.field.float.label.invalid.color}",transitionDuration:"0.2s",positionX:"{form.field.padding.x}",positionY:"{form.field.padding.y}",fontWeight:"500",active:{fontSize:"0.75rem",fontWeight:"400"}},Pf={active:{top:"-1.25rem"}},Bf={input:{paddingTop:"1.5rem",paddingBottom:"{form.field.padding.y}"},active:{top:"{form.field.padding.y}"}},Rf={borderRadius:"{border.radius.xs}",active:{background:"{form.field.background}",padding:"0 0.125rem"}},Dt={root:Af,over:Pf,in:Bf,on:Rf};var If={borderWidth:"1px",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",transitionDuration:"{transition.duration}"},Nf={background:"rgba(255, 255, 255, 0.1)",hoverBackground:"rgba(255, 255, 255, 0.2)",color:"{surface.100}",hoverColor:"{surface.0}",size:"3rem",gutter:"0.5rem",prev:{borderRadius:"50%"},next:{borderRadius:"50%"},focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},Df={size:"1.5rem"},Of={background:"{content.background}",padding:"1rem 0.25rem"},Lf={size:"2rem",borderRadius:"{content.border.radius}",gutter:"0.5rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},zf={size:"1rem"},Ff={background:"rgba(0, 0, 0, 0.5)",color:"{surface.100}",padding:"1rem"},jf={gap:"0.5rem",padding:"1rem"},Wf={width:"1rem",height:"1rem",activeBackground:"{primary.color}",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},Uf={background:"rgba(0, 0, 0, 0.5)"},qf={background:"rgba(255, 255, 255, 0.4)",hoverBackground:"rgba(255, 255, 255, 0.6)",activeBackground:"rgba(255, 255, 255, 0.9)"},Hf={size:"3rem",gutter:"0.5rem",background:"rgba(255, 255, 255, 0.1)",hoverBackground:"rgba(255, 255, 255, 0.2)",color:"{surface.50}",hoverColor:"{surface.0}",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},Kf={size:"1.5rem"},Vf={light:{thumbnailNavButton:{hoverBackground:"{surface.100}",color:"{surface.600}",hoverColor:"{surface.700}"},indicatorButton:{background:"{surface.200}",hoverBackground:"{surface.300}"}},dark:{thumbnailNavButton:{hoverBackground:"{surface.700}",color:"{surface.400}",hoverColor:"{surface.0}"},indicatorButton:{background:"{surface.700}",hoverBackground:"{surface.600}"}}},Ot={root:If,navButton:Nf,navIcon:Df,thumbnailsContent:Of,thumbnailNavButton:Lf,thumbnailNavButtonIcon:zf,caption:Ff,indicatorList:jf,indicatorButton:Wf,insetIndicatorList:Uf,insetIndicatorButton:qf,closeButton:Hf,closeButtonIcon:Kf,colorScheme:Vf};var Qf={color:"{form.field.icon.color}"},Lt={icon:Qf};var $f={color:"{form.field.float.label.color}",focusColor:"{form.field.float.label.focus.color}",invalidColor:"{form.field.float.label.invalid.color}",transitionDuration:"0.2s",positionX:"{form.field.padding.x}",top:"{form.field.padding.y}",fontSize:"0.75rem",fontWeight:"400"},Yf={paddingTop:"1.5rem",paddingBottom:"{form.field.padding.y}"},zt={root:$f,input:Yf};var Gf={transitionDuration:"{transition.duration}"},Xf={icon:{size:"1.5rem"},mask:{background:"{mask.background}",color:"{mask.color}"}},Zf={position:{left:"auto",right:"1rem",top:"1rem",bottom:"auto"},blur:"8px",background:"rgba(255,255,255,0.1)",borderColor:"rgba(255,255,255,0.2)",borderWidth:"1px",borderRadius:"30px",padding:".5rem",gap:"0.5rem"},Jf={hoverBackground:"rgba(255,255,255,0.1)",color:"{surface.50}",hoverColor:"{surface.0}",size:"3rem",iconSize:"1.5rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},Ft={root:Gf,preview:Xf,toolbar:Zf,action:Jf};var ep={size:"15px",hoverSize:"30px",background:"rgba(255,255,255,0.3)",hoverBackground:"rgba(255,255,255,0.3)",borderColor:"unset",hoverBorderColor:"unset",borderWidth:"0",borderRadius:"50%",transitionDuration:"{transition.duration}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"rgba(255,255,255,0.3)",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},jt={handle:ep};var op={padding:"{form.field.padding.y} {form.field.padding.x}",borderRadius:"{content.border.radius}",gap:"0.5rem"},rp={fontWeight:"500"},tp={size:"1rem"},np={light:{info:{background:"color-mix(in srgb, {blue.50}, transparent 5%)",borderColor:"{blue.200}",color:"{blue.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)"},success:{background:"color-mix(in srgb, {green.50}, transparent 5%)",borderColor:"{green.200}",color:"{green.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)"},warn:{background:"color-mix(in srgb,{yellow.50}, transparent 5%)",borderColor:"{yellow.200}",color:"{yellow.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)"},error:{background:"color-mix(in srgb, {red.50}, transparent 5%)",borderColor:"{red.200}",color:"{red.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)"},secondary:{background:"{surface.100}",borderColor:"{surface.200}",color:"{surface.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)"},contrast:{background:"{surface.900}",borderColor:"{surface.950}",color:"{surface.50}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)"}},dark:{info:{background:"color-mix(in srgb, {blue.500}, transparent 84%)",borderColor:"color-mix(in srgb, {blue.700}, transparent 64%)",color:"{blue.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)"},success:{background:"color-mix(in srgb, {green.500}, transparent 84%)",borderColor:"color-mix(in srgb, {green.700}, transparent 64%)",color:"{green.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)"},warn:{background:"color-mix(in srgb, {yellow.500}, transparent 84%)",borderColor:"color-mix(in srgb, {yellow.700}, transparent 64%)",color:"{yellow.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)"},error:{background:"color-mix(in srgb, {red.500}, transparent 84%)",borderColor:"color-mix(in srgb, {red.700}, transparent 64%)",color:"{red.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)"},secondary:{background:"{surface.800}",borderColor:"{surface.700}",color:"{surface.300}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)"},contrast:{background:"{surface.0}",borderColor:"{surface.100}",color:"{surface.950}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)"}}},Wt={root:op,text:rp,icon:tp,colorScheme:np};var ip={padding:"{form.field.padding.y} {form.field.padding.x}",borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},transitionDuration:"{transition.duration}"},ap={hoverBackground:"{content.hover.background}",hoverColor:"{content.hover.color}"},Ut={root:ip,display:ap};var sp={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}"},lp={borderRadius:"{border.radius.sm}"},cp={light:{chip:{focusBackground:"{surface.200}",color:"{surface.800}"}},dark:{chip:{focusBackground:"{surface.700}",color:"{surface.0}"}}},qt={root:sp,chip:lp,colorScheme:cp};var dp={background:"{form.field.background}",borderColor:"{form.field.border.color}",color:"{form.field.icon.color}",borderRadius:"{form.field.border.radius}",padding:"0.5rem",minWidth:"2.5rem"},Ht={addon:dp};var up={transitionDuration:"{transition.duration}"},fp={width:"2.5rem",borderRadius:"{form.field.border.radius}",verticalPadding:"{form.field.padding.y}"},pp={light:{button:{background:"transparent",hoverBackground:"{surface.100}",activeBackground:"{surface.200}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.border.color}",activeBorderColor:"{form.field.border.color}",color:"{surface.400}",hoverColor:"{surface.500}",activeColor:"{surface.600}"}},dark:{button:{background:"transparent",hoverBackground:"{surface.800}",activeBackground:"{surface.700}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.border.color}",activeBorderColor:"{form.field.border.color}",color:"{surface.400}",hoverColor:"{surface.300}",activeColor:"{surface.200}"}}},Kt={root:up,button:fp,colorScheme:pp};var mp={gap:"0.5rem"},gp={width:"2.5rem",sm:{width:"2rem"},lg:{width:"3rem"}},Vt={root:mp,input:gp};var hp={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},Qt={root:hp};var bp={transitionDuration:"{transition.duration}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},yp={background:"{primary.color}"},vp={background:"{content.border.color}"},kp={color:"{text.muted.color}"},$t={root:bp,value:yp,range:vp,text:kp};var wp={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",borderColor:"{form.field.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",shadow:"{form.field.shadow}",borderRadius:"{form.field.border.radius}",transitionDuration:"{form.field.transition.duration}"},Cp={padding:"{list.padding}",gap:"{list.gap}",header:{padding:"{list.header.padding}"}},xp={focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"},_p={background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},Sp={color:"{list.option.color}",gutterStart:"-0.375rem",gutterEnd:"0.375rem"},Tp={padding:"{list.option.padding}"},Ep={light:{option:{stripedBackground:"{surface.50}"}},dark:{option:{stripedBackground:"{surface.900}"}}},Yt={root:wp,list:Cp,option:xp,optionGroup:_p,checkmark:Sp,emptyMessage:Tp,colorScheme:Ep};var Mp={background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",gap:"0.5rem",verticalOrientation:{padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},horizontalOrientation:{padding:"0.5rem 0.75rem",gap:"0.5rem"},transitionDuration:"{transition.duration}"},Ap={borderRadius:"{content.border.radius}",padding:"{navigation.item.padding}"},Pp={focusBackground:"{navigation.item.focus.background}",activeBackground:"{navigation.item.active.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",activeColor:"{navigation.item.active.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}",activeColor:"{navigation.item.icon.active.color}"}},Bp={padding:"0",background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",shadow:"{overlay.navigation.shadow}",gap:"0.5rem"},Rp={padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},Ip={padding:"{navigation.submenu.label.padding}",fontWeight:"{navigation.submenu.label.font.weight}",background:"{navigation.submenu.label.background}",color:"{navigation.submenu.label.color}"},Np={size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"},Dp={borderColor:"{content.border.color}"},Op={borderRadius:"50%",size:"1.75rem",color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",hoverBackground:"{content.hover.background}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},Gt={root:Mp,baseItem:Ap,item:Pp,overlay:Bp,submenu:Rp,submenuLabel:Ip,submenuIcon:Np,separator:Dp,mobileButton:Op};var Lp={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",transitionDuration:"{transition.duration}"},zp={padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},Fp={focusBackground:"{navigation.item.focus.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}"}},jp={padding:"{navigation.submenu.label.padding}",fontWeight:"{navigation.submenu.label.font.weight}",background:"{navigation.submenu.label.background}",color:"{navigation.submenu.label.color}"},Wp={borderColor:"{content.border.color}"},Xt={root:Lp,list:zp,item:Fp,submenuLabel:jp,separator:Wp};var Up={background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",gap:"0.5rem",padding:"0.5rem 0.75rem",transitionDuration:"{transition.duration}"},qp={borderRadius:"{content.border.radius}",padding:"{navigation.item.padding}"},Hp={focusBackground:"{navigation.item.focus.background}",activeBackground:"{navigation.item.active.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",activeColor:"{navigation.item.active.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}",activeColor:"{navigation.item.icon.active.color}"}},Kp={padding:"{navigation.list.padding}",gap:"{navigation.list.gap}",background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",mobileIndent:"1rem",icon:{size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"}},Vp={borderColor:"{content.border.color}"},Qp={borderRadius:"50%",size:"1.75rem",color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",hoverBackground:"{content.hover.background}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},Zt={root:Up,baseItem:qp,item:Hp,submenu:Kp,separator:Vp,mobileButton:Qp};var $p={borderRadius:"{content.border.radius}",borderWidth:"1px",transitionDuration:"{transition.duration}"},Yp={padding:"0.5rem 0.75rem",gap:"0.5rem",sm:{padding:"0.375rem 0.625rem"},lg:{padding:"0.625rem 0.875rem"}},Gp={fontSize:"1rem",fontWeight:"500",sm:{fontSize:"0.875rem"},lg:{fontSize:"1.125rem"}},Xp={size:"1.125rem",sm:{size:"1rem"},lg:{size:"1.25rem"}},Zp={width:"1.75rem",height:"1.75rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",offset:"{focus.ring.offset}"}},Jp={size:"1rem",sm:{size:"0.875rem"},lg:{size:"1.125rem"}},em={root:{borderWidth:"1px"}},om={content:{padding:"0"}},rm={light:{info:{background:"color-mix(in srgb, {blue.50}, transparent 5%)",borderColor:"{blue.200}",color:"{blue.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)",closeButton:{hoverBackground:"{blue.100}",focusRing:{color:"{blue.600}",shadow:"none"}},outlined:{color:"{blue.600}",borderColor:"{blue.600}"},simple:{color:"{blue.600}"}},success:{background:"color-mix(in srgb, {green.50}, transparent 5%)",borderColor:"{green.200}",color:"{green.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)",closeButton:{hoverBackground:"{green.100}",focusRing:{color:"{green.600}",shadow:"none"}},outlined:{color:"{green.600}",borderColor:"{green.600}"},simple:{color:"{green.600}"}},warn:{background:"color-mix(in srgb,{yellow.50}, transparent 5%)",borderColor:"{yellow.200}",color:"{yellow.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)",closeButton:{hoverBackground:"{yellow.100}",focusRing:{color:"{yellow.600}",shadow:"none"}},outlined:{color:"{yellow.600}",borderColor:"{yellow.600}"},simple:{color:"{yellow.600}"}},error:{background:"color-mix(in srgb, {red.50}, transparent 5%)",borderColor:"{red.200}",color:"{red.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)",closeButton:{hoverBackground:"{red.100}",focusRing:{color:"{red.600}",shadow:"none"}},outlined:{color:"{red.600}",borderColor:"{red.600}"},simple:{color:"{red.600}"}},secondary:{background:"{surface.100}",borderColor:"{surface.200}",color:"{surface.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)",closeButton:{hoverBackground:"{surface.200}",focusRing:{color:"{surface.600}",shadow:"none"}},outlined:{color:"{surface.500}",borderColor:"{surface.500}"},simple:{color:"{surface.500}"}},contrast:{background:"{surface.900}",borderColor:"{surface.950}",color:"{surface.50}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)",closeButton:{hoverBackground:"{surface.800}",focusRing:{color:"{surface.50}",shadow:"none"}},outlined:{color:"{surface.950}",borderColor:"{surface.950}"},simple:{color:"{surface.950}"}}},dark:{info:{background:"color-mix(in srgb, {blue.500}, transparent 84%)",borderColor:"color-mix(in srgb, {blue.700}, transparent 64%)",color:"{blue.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{blue.500}",shadow:"none"}},outlined:{color:"{blue.500}",borderColor:"{blue.500}"},simple:{color:"{blue.500}"}},success:{background:"color-mix(in srgb, {green.500}, transparent 84%)",borderColor:"color-mix(in srgb, {green.700}, transparent 64%)",color:"{green.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{green.500}",shadow:"none"}},outlined:{color:"{green.500}",borderColor:"{green.500}"},simple:{color:"{green.500}"}},warn:{background:"color-mix(in srgb, {yellow.500}, transparent 84%)",borderColor:"color-mix(in srgb, {yellow.700}, transparent 64%)",color:"{yellow.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{yellow.500}",shadow:"none"}},outlined:{color:"{yellow.500}",borderColor:"{yellow.500}"},simple:{color:"{yellow.500}"}},error:{background:"color-mix(in srgb, {red.500}, transparent 84%)",borderColor:"color-mix(in srgb, {red.700}, transparent 64%)",color:"{red.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{red.500}",shadow:"none"}},outlined:{color:"{red.500}",borderColor:"{red.500}"},simple:{color:"{red.500}"}},secondary:{background:"{surface.800}",borderColor:"{surface.700}",color:"{surface.300}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)",closeButton:{hoverBackground:"{surface.700}",focusRing:{color:"{surface.300}",shadow:"none"}},outlined:{color:"{surface.400}",borderColor:"{surface.400}"},simple:{color:"{surface.400}"}},contrast:{background:"{surface.0}",borderColor:"{surface.100}",color:"{surface.950}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)",closeButton:{hoverBackground:"{surface.100}",focusRing:{color:"{surface.950}",shadow:"none"}},outlined:{color:"{surface.0}",borderColor:"{surface.0}"},simple:{color:"{surface.0}"}}}},Jt={root:$p,content:Yp,text:Gp,icon:Xp,closeButton:Zp,closeIcon:Jp,outlined:em,simple:om,colorScheme:rm};var tm={borderRadius:"{content.border.radius}",gap:"1rem"},nm={background:"{content.border.color}",size:"0.5rem"},im={gap:"0.5rem"},am={size:"0.5rem"},sm={size:"1rem"},lm={verticalGap:"0.5rem",horizontalGap:"1rem"},en={root:tm,meters:nm,label:im,labelMarker:am,labelIcon:sm,labelList:lm};var cm={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},dm={width:"2.5rem",color:"{form.field.icon.color}"},um={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},fm={padding:"{list.padding}",gap:"{list.gap}",header:{padding:"{list.header.padding}"}},pm={focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}",gap:"0.5rem"},mm={background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},gm={color:"{form.field.icon.color}"},hm={borderRadius:"{border.radius.sm}"},bm={padding:"{list.option.padding}"},on={root:cm,dropdown:dm,overlay:um,list:fm,option:pm,optionGroup:mm,chip:hm,clearIcon:gm,emptyMessage:bm};var ym={gap:"1.125rem"},vm={gap:"0.5rem"},rn={root:ym,controls:vm};var km={gutter:"0.75rem",transitionDuration:"{transition.duration}"},wm={background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",borderColor:"{content.border.color}",color:"{content.color}",selectedColor:"{highlight.color}",hoverColor:"{content.hover.color}",padding:"0.75rem 1rem",toggleablePadding:"0.75rem 1rem 1.25rem 1rem",borderRadius:"{content.border.radius}"},Cm={background:"{content.background}",hoverBackground:"{content.hover.background}",borderColor:"{content.border.color}",color:"{text.muted.color}",hoverColor:"{text.color}",size:"1.5rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},xm={color:"{content.border.color}",borderRadius:"{content.border.radius}",height:"24px"},tn={root:km,node:wm,nodeToggleButton:Cm,connector:xm};var _m={outline:{width:"2px",color:"{content.background}"}},nn={root:_m};var Sm={padding:"0.5rem 1rem",gap:"0.25rem",borderRadius:"{content.border.radius}",background:"{content.background}",color:"{content.color}",transitionDuration:"{transition.duration}"},Tm={background:"transparent",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",selectedColor:"{highlight.color}",width:"2.5rem",height:"2.5rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},Em={color:"{text.muted.color}"},Mm={maxWidth:"2.5rem"},an={root:Sm,navButton:Tm,currentPageReport:Em,jumpToPageInput:Mm};var Am={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}"},Pm={background:"transparent",color:"{text.color}",padding:"1.125rem",borderColor:"{content.border.color}",borderWidth:"0",borderRadius:"0"},Bm={padding:"0.375rem 1.125rem"},Rm={fontWeight:"600"},Im={padding:"0 1.125rem 1.125rem 1.125rem"},Nm={padding:"0 1.125rem 1.125rem 1.125rem"},sn={root:Am,header:Pm,toggleableHeader:Bm,title:Rm,content:Im,footer:Nm};var Dm={gap:"0.5rem",transitionDuration:"{transition.duration}"},Om={background:"{content.background}",borderColor:"{content.border.color}",borderWidth:"1px",color:"{content.color}",padding:"0.25rem 0.25rem",borderRadius:"{content.border.radius}",first:{borderWidth:"1px",topBorderRadius:"{content.border.radius}"},last:{borderWidth:"1px",bottomBorderRadius:"{content.border.radius}"}},Lm={focusBackground:"{navigation.item.focus.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",gap:"0.5rem",padding:"{navigation.item.padding}",borderRadius:"{content.border.radius}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}"}},zm={indent:"1rem"},Fm={color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}"},ln={root:Dm,panel:Om,item:Lm,submenu:zm,submenuIcon:Fm};var jm={background:"{content.border.color}",borderRadius:"{content.border.radius}",height:".75rem"},Wm={color:"{form.field.icon.color}"},Um={background:"{overlay.popover.background}",borderColor:"{overlay.popover.border.color}",borderRadius:"{overlay.popover.border.radius}",color:"{overlay.popover.color}",padding:"{overlay.popover.padding}",shadow:"{overlay.popover.shadow}"},qm={gap:"0.5rem"},Hm={light:{strength:{weakBackground:"{red.500}",mediumBackground:"{amber.500}",strongBackground:"{green.500}"}},dark:{strength:{weakBackground:"{red.400}",mediumBackground:"{amber.400}",strongBackground:"{green.400}"}}},cn={meter:jm,icon:Wm,overlay:Um,content:qm,colorScheme:Hm};var Km={gap:"1.125rem"},Vm={gap:"0.5rem"},dn={root:Km,controls:Vm};var Qm={background:"{overlay.popover.background}",borderColor:"{overlay.popover.border.color}",color:"{overlay.popover.color}",borderRadius:"{overlay.popover.border.radius}",shadow:"{overlay.popover.shadow}",gutter:"10px",arrowOffset:"1.25rem"},$m={padding:"{overlay.popover.padding}"},un={root:Qm,content:$m};var Ym={background:"{content.border.color}",borderRadius:"{content.border.radius}",height:"1.25rem"},Gm={background:"{primary.color}"},Xm={color:"{primary.contrast.color}",fontSize:"0.75rem",fontWeight:"600"},fn={root:Ym,value:Gm,label:Xm};var Zm={light:{root:{colorOne:"{red.500}",colorTwo:"{blue.500}",colorThree:"{green.500}",colorFour:"{yellow.500}"}},dark:{root:{colorOne:"{red.400}",colorTwo:"{blue.400}",colorThree:"{green.400}",colorFour:"{yellow.400}"}}},pn={colorScheme:Zm};var Jm={width:"1.25rem",height:"1.25rem",background:"{form.field.background}",checkedBackground:"{primary.color}",checkedHoverBackground:"{primary.hover.color}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.border.color}",checkedBorderColor:"{primary.color}",checkedHoverBorderColor:"{primary.hover.color}",checkedFocusBorderColor:"{primary.color}",checkedDisabledBorderColor:"{form.field.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",shadow:"{form.field.shadow}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{width:"1rem",height:"1rem"},lg:{width:"1.5rem",height:"1.5rem"}},eg={size:"0.75rem",checkedColor:"{primary.contrast.color}",checkedHoverColor:"{primary.contrast.color}",disabledColor:"{form.field.disabled.color}",sm:{size:"0.5rem"},lg:{size:"1rem"}},mn={root:Jm,icon:eg};var og={gap:"0.25rem",transitionDuration:"{transition.duration}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},rg={size:"1rem",color:"{text.muted.color}",hoverColor:"{primary.color}",activeColor:"{primary.color}"},gn={root:og,icon:rg};var tg={light:{root:{background:"rgba(0,0,0,0.1)"}},dark:{root:{background:"rgba(255,255,255,0.3)"}}},hn={colorScheme:tg};var ng={transitionDuration:"{transition.duration}"},ig={size:"9px",borderRadius:"{border.radius.sm}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},ag={light:{bar:{background:"{surface.100}"}},dark:{bar:{background:"{surface.800}"}}},bn={root:ng,bar:ig,colorScheme:ag};var sg={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},lg={width:"2.5rem",color:"{form.field.icon.color}"},cg={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},dg={padding:"{list.padding}",gap:"{list.gap}",header:{padding:"{list.header.padding}"}},ug={focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"},fg={background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},pg={color:"{form.field.icon.color}"},mg={color:"{list.option.color}",gutterStart:"-0.375rem",gutterEnd:"0.375rem"},gg={padding:"{list.option.padding}"},yn={root:sg,dropdown:lg,overlay:cg,list:dg,option:ug,optionGroup:fg,clearIcon:pg,checkmark:mg,emptyMessage:gg};var hg={borderRadius:"{form.field.border.radius}"},bg={light:{root:{invalidBorderColor:"{form.field.invalid.border.color}"}},dark:{root:{invalidBorderColor:"{form.field.invalid.border.color}"}}},vn={root:hg,colorScheme:bg};var yg={borderRadius:"{content.border.radius}"},vg={light:{root:{background:"{surface.200}",animationBackground:"rgba(255,255,255,0.4)"}},dark:{root:{background:"rgba(255, 255, 255, 0.06)",animationBackground:"rgba(255, 255, 255, 0.04)"}}},kn={root:yg,colorScheme:vg};var kg={transitionDuration:"{transition.duration}"},wg={background:"{content.border.color}",borderRadius:"{content.border.radius}",size:"3px"},Cg={background:"{primary.color}"},xg={width:"20px",height:"20px",borderRadius:"50%",background:"{content.border.color}",hoverBackground:"{content.border.color}",content:{borderRadius:"50%",hoverBackground:"{content.background}",width:"16px",height:"16px",shadow:"0px 0.5px 0px 0px rgba(0, 0, 0, 0.08), 0px 1px 1px 0px rgba(0, 0, 0, 0.14)"},focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},_g={light:{handle:{content:{background:"{surface.0}"}}},dark:{handle:{content:{background:"{surface.950}"}}}},wn={root:kg,track:wg,range:Cg,handle:xg,colorScheme:_g};var Sg={gap:"0.5rem",transitionDuration:"{transition.duration}"},Cn={root:Sg};var Tg={borderRadius:"{form.field.border.radius}",roundedBorderRadius:"2rem",raisedShadow:"0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)"},xn={root:Tg};var Eg={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",transitionDuration:"{transition.duration}"},Mg={background:"{content.border.color}"},Ag={size:"24px",background:"transparent",borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},_n={root:Eg,gutter:Mg,handle:Ag};var Pg={transitionDuration:"{transition.duration}"},Bg={background:"{content.border.color}",activeBackground:"{primary.color}",margin:"0 0 0 1.625rem",size:"2px"},Rg={padding:"0.5rem",gap:"1rem"},Ig={padding:"0",borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},gap:"0.5rem"},Ng={color:"{text.muted.color}",activeColor:"{primary.color}",fontWeight:"500"},Dg={background:"{content.background}",activeBackground:"{content.background}",borderColor:"{content.border.color}",activeBorderColor:"{content.border.color}",color:"{text.muted.color}",activeColor:"{primary.color}",size:"2rem",fontSize:"1.143rem",fontWeight:"500",borderRadius:"50%",shadow:"0px 0.5px 0px 0px rgba(0, 0, 0, 0.06), 0px 1px 1px 0px rgba(0, 0, 0, 0.12)"},Og={padding:"0.875rem 0.5rem 1.125rem 0.5rem"},Lg={background:"{content.background}",color:"{content.color}",padding:"0",indent:"1rem"},Sn={root:Pg,separator:Bg,step:Rg,stepHeader:Ig,stepTitle:Ng,stepNumber:Dg,steppanels:Og,steppanel:Lg};var zg={transitionDuration:"{transition.duration}"},Fg={background:"{content.border.color}"},jg={borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},gap:"0.5rem"},Wg={color:"{text.muted.color}",activeColor:"{primary.color}",fontWeight:"500"},Ug={background:"{content.background}",activeBackground:"{content.background}",borderColor:"{content.border.color}",activeBorderColor:"{content.border.color}",color:"{text.muted.color}",activeColor:"{primary.color}",size:"2rem",fontSize:"1.143rem",fontWeight:"500",borderRadius:"50%",shadow:"0px 0.5px 0px 0px rgba(0, 0, 0, 0.06), 0px 1px 1px 0px rgba(0, 0, 0, 0.12)"},Tn={root:zg,separator:Fg,itemLink:jg,itemLabel:Wg,itemNumber:Ug};var qg={transitionDuration:"{transition.duration}"},Hg={borderWidth:"0 0 1px 0",background:"{content.background}",borderColor:"{content.border.color}"},Kg={background:"transparent",hoverBackground:"transparent",activeBackground:"transparent",borderWidth:"0 0 1px 0",borderColor:"{content.border.color}",hoverBorderColor:"{content.border.color}",activeBorderColor:"{primary.color}",color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}",padding:"1rem 1.125rem",fontWeight:"600",margin:"0 0 -1px 0",gap:"0.5rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},Vg={color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}"},Qg={height:"1px",bottom:"-1px",background:"{primary.color}"},En={root:qg,tablist:Hg,item:Kg,itemIcon:Vg,activeBar:Qg};var $g={transitionDuration:"{transition.duration}"},Yg={borderWidth:"0 0 1px 0",background:"{content.background}",borderColor:"{content.border.color}"},Gg={background:"transparent",hoverBackground:"transparent",activeBackground:"transparent",borderWidth:"0 0 1px 0",borderColor:"{content.border.color}",hoverBorderColor:"{content.border.color}",activeBorderColor:"{primary.color}",color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}",padding:"1rem 1.125rem",fontWeight:"600",margin:"0 0 -1px 0",gap:"0.5rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},Xg={background:"{content.background}",color:"{content.color}",padding:"0.875rem 1.125rem 1.125rem 1.125rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"inset {focus.ring.shadow}"}},Zg={background:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.color}",width:"2.5rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},Jg={height:"1px",bottom:"-1px",background:"{primary.color}"},e0={light:{navButton:{shadow:"0px 0px 10px 50px rgba(255, 255, 255, 0.6)"}},dark:{navButton:{shadow:"0px 0px 10px 50px color-mix(in srgb, {content.background}, transparent 50%)"}}},Mn={root:$g,tablist:Yg,tab:Gg,tabpanel:Xg,navButton:Zg,activeBar:Jg,colorScheme:e0};var o0={transitionDuration:"{transition.duration}"},r0={background:"{content.background}",borderColor:"{content.border.color}"},t0={borderColor:"{content.border.color}",activeBorderColor:"{primary.color}",color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}"},n0={background:"{content.background}",color:"{content.color}"},i0={background:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.color}"},a0={light:{navButton:{shadow:"0px 0px 10px 50px rgba(255, 255, 255, 0.6)"}},dark:{navButton:{shadow:"0px 0px 10px 50px color-mix(in srgb, {content.background}, transparent 50%)"}}},An={root:o0,tabList:r0,tab:t0,tabPanel:n0,navButton:i0,colorScheme:a0};var s0={fontSize:"0.875rem",fontWeight:"700",padding:"0.25rem 0.5rem",gap:"0.25rem",borderRadius:"{content.border.radius}",roundedBorderRadius:"{border.radius.xl}"},l0={size:"0.75rem"},c0={light:{primary:{background:"{primary.100}",color:"{primary.700}"},secondary:{background:"{surface.100}",color:"{surface.600}"},success:{background:"{green.100}",color:"{green.700}"},info:{background:"{sky.100}",color:"{sky.700}"},warn:{background:"{orange.100}",color:"{orange.700}"},danger:{background:"{red.100}",color:"{red.700}"},contrast:{background:"{surface.950}",color:"{surface.0}"}},dark:{primary:{background:"color-mix(in srgb, {primary.500}, transparent 84%)",color:"{primary.300}"},secondary:{background:"{surface.800}",color:"{surface.300}"},success:{background:"color-mix(in srgb, {green.500}, transparent 84%)",color:"{green.300}"},info:{background:"color-mix(in srgb, {sky.500}, transparent 84%)",color:"{sky.300}"},warn:{background:"color-mix(in srgb, {orange.500}, transparent 84%)",color:"{orange.300}"},danger:{background:"color-mix(in srgb, {red.500}, transparent 84%)",color:"{red.300}"},contrast:{background:"{surface.0}",color:"{surface.950}"}}},Pn={root:s0,icon:l0,colorScheme:c0};var d0={background:"{form.field.background}",borderColor:"{form.field.border.color}",color:"{form.field.color}",height:"18rem",padding:"{form.field.padding.y} {form.field.padding.x}",borderRadius:"{form.field.border.radius}"},u0={gap:"0.25rem"},f0={margin:"2px 0"},Bn={root:d0,prompt:u0,commandResponse:f0};var p0={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},Rn={root:p0};var m0={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",transitionDuration:"{transition.duration}"},g0={padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},h0={focusBackground:"{navigation.item.focus.background}",activeBackground:"{navigation.item.active.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",activeColor:"{navigation.item.active.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}",activeColor:"{navigation.item.icon.active.color}"}},b0={mobileIndent:"1rem"},y0={size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"},v0={borderColor:"{content.border.color}"},In={root:m0,list:g0,item:h0,submenu:b0,submenuIcon:y0,separator:v0};var k0={minHeight:"5rem"},w0={eventContent:{padding:"1rem 0"}},C0={eventContent:{padding:"0 1rem"}},x0={size:"1.125rem",borderRadius:"50%",borderWidth:"2px",background:"{content.background}",borderColor:"{content.border.color}",content:{borderRadius:"50%",size:"0.375rem",background:"{primary.color}",insetShadow:"0px 0.5px 0px 0px rgba(0, 0, 0, 0.06), 0px 1px 1px 0px rgba(0, 0, 0, 0.12)"}},_0={color:"{content.border.color}",size:"2px"},Nn={event:k0,horizontal:w0,vertical:C0,eventMarker:x0,eventConnector:_0};var S0={width:"25rem",borderRadius:"{content.border.radius}",borderWidth:"1px",transitionDuration:"{transition.duration}"},T0={size:"1.125rem"},E0={padding:"{overlay.popover.padding}",gap:"0.5rem"},M0={gap:"0.5rem"},A0={fontWeight:"500",fontSize:"1rem"},P0={fontWeight:"500",fontSize:"0.875rem"},B0={width:"1.75rem",height:"1.75rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",offset:"{focus.ring.offset}"}},R0={size:"1rem"},I0={light:{root:{blur:"1.5px"},info:{background:"color-mix(in srgb, {blue.50}, transparent 5%)",borderColor:"{blue.200}",color:"{blue.600}",detailColor:"{surface.700}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)",closeButton:{hoverBackground:"{blue.100}",focusRing:{color:"{blue.600}",shadow:"none"}}},success:{background:"color-mix(in srgb, {green.50}, transparent 5%)",borderColor:"{green.200}",color:"{green.600}",detailColor:"{surface.700}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)",closeButton:{hoverBackground:"{green.100}",focusRing:{color:"{green.600}",shadow:"none"}}},warn:{background:"color-mix(in srgb,{yellow.50}, transparent 5%)",borderColor:"{yellow.200}",color:"{yellow.600}",detailColor:"{surface.700}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)",closeButton:{hoverBackground:"{yellow.100}",focusRing:{color:"{yellow.600}",shadow:"none"}}},error:{background:"color-mix(in srgb, {red.50}, transparent 5%)",borderColor:"{red.200}",color:"{red.600}",detailColor:"{surface.700}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)",closeButton:{hoverBackground:"{red.100}",focusRing:{color:"{red.600}",shadow:"none"}}},secondary:{background:"{surface.100}",borderColor:"{surface.200}",color:"{surface.600}",detailColor:"{surface.700}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)",closeButton:{hoverBackground:"{surface.200}",focusRing:{color:"{surface.600}",shadow:"none"}}},contrast:{background:"{surface.900}",borderColor:"{surface.950}",color:"{surface.50}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)",closeButton:{hoverBackground:"{surface.800}",focusRing:{color:"{surface.50}",shadow:"none"}}}},dark:{root:{blur:"10px"},info:{background:"color-mix(in srgb, {blue.500}, transparent 84%)",borderColor:"color-mix(in srgb, {blue.700}, transparent 64%)",color:"{blue.500}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{blue.500}",shadow:"none"}}},success:{background:"color-mix(in srgb, {green.500}, transparent 84%)",borderColor:"color-mix(in srgb, {green.700}, transparent 64%)",color:"{green.500}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{green.500}",shadow:"none"}}},warn:{background:"color-mix(in srgb, {yellow.500}, transparent 84%)",borderColor:"color-mix(in srgb, {yellow.700}, transparent 64%)",color:"{yellow.500}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{yellow.500}",shadow:"none"}}},error:{background:"color-mix(in srgb, {red.500}, transparent 84%)",borderColor:"color-mix(in srgb, {red.700}, transparent 64%)",color:"{red.500}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{red.500}",shadow:"none"}}},secondary:{background:"{surface.800}",borderColor:"{surface.700}",color:"{surface.300}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)",closeButton:{hoverBackground:"{surface.700}",focusRing:{color:"{surface.300}",shadow:"none"}}},contrast:{background:"{surface.0}",borderColor:"{surface.100}",color:"{surface.950}",detailColor:"{surface.950}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)",closeButton:{hoverBackground:"{surface.100}",focusRing:{color:"{surface.950}",shadow:"none"}}}}},Dn={root:S0,icon:T0,content:E0,text:M0,summary:A0,detail:P0,closeButton:B0,closeIcon:R0,colorScheme:I0};var N0={padding:"0.25rem",borderRadius:"{content.border.radius}",gap:"0.5rem",fontWeight:"500",disabledBackground:"{form.field.disabled.background}",disabledBorderColor:"{form.field.disabled.background}",disabledColor:"{form.field.disabled.color}",invalidBorderColor:"{form.field.invalid.border.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",padding:"0.25rem"},lg:{fontSize:"{form.field.lg.font.size}",padding:"0.25rem"}},D0={disabledColor:"{form.field.disabled.color}"},O0={padding:"0.25rem 0.75rem",borderRadius:"{content.border.radius}",checkedShadow:"0px 1px 2px 0px rgba(0, 0, 0, 0.02), 0px 1px 2px 0px rgba(0, 0, 0, 0.04)",sm:{padding:"0.25rem 0.75rem"},lg:{padding:"0.25rem 0.75rem"}},L0={light:{root:{background:"{surface.100}",checkedBackground:"{surface.100}",hoverBackground:"{surface.100}",borderColor:"{surface.100}",color:"{surface.500}",hoverColor:"{surface.700}",checkedColor:"{surface.900}",checkedBorderColor:"{surface.100}"},content:{checkedBackground:"{surface.0}"},icon:{color:"{surface.500}",hoverColor:"{surface.700}",checkedColor:"{surface.900}"}},dark:{root:{background:"{surface.950}",checkedBackground:"{surface.950}",hoverBackground:"{surface.950}",borderColor:"{surface.950}",color:"{surface.400}",hoverColor:"{surface.300}",checkedColor:"{surface.0}",checkedBorderColor:"{surface.950}"},content:{checkedBackground:"{surface.800}"},icon:{color:"{surface.400}",hoverColor:"{surface.300}",checkedColor:"{surface.0}"}}},On={root:N0,icon:D0,content:O0,colorScheme:L0};var z0={width:"2.5rem",height:"1.5rem",borderRadius:"30px",gap:"0.25rem",shadow:"{form.field.shadow}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},borderWidth:"1px",borderColor:"transparent",hoverBorderColor:"transparent",checkedBorderColor:"transparent",checkedHoverBorderColor:"transparent",invalidBorderColor:"{form.field.invalid.border.color}",transitionDuration:"{form.field.transition.duration}",slideDuration:"0.2s"},F0={borderRadius:"50%",size:"1rem"},j0={light:{root:{background:"{surface.300}",disabledBackground:"{form.field.disabled.background}",hoverBackground:"{surface.400}",checkedBackground:"{primary.color}",checkedHoverBackground:"{primary.hover.color}"},handle:{background:"{surface.0}",disabledBackground:"{form.field.disabled.color}",hoverBackground:"{surface.0}",checkedBackground:"{surface.0}",checkedHoverBackground:"{surface.0}",color:"{text.muted.color}",hoverColor:"{text.color}",checkedColor:"{primary.color}",checkedHoverColor:"{primary.hover.color}"}},dark:{root:{background:"{surface.700}",disabledBackground:"{surface.600}",hoverBackground:"{surface.600}",checkedBackground:"{primary.color}",checkedHoverBackground:"{primary.hover.color}"},handle:{background:"{surface.400}",disabledBackground:"{surface.900}",hoverBackground:"{surface.300}",checkedBackground:"{surface.900}",checkedHoverBackground:"{surface.900}",color:"{surface.900}",hoverColor:"{surface.800}",checkedColor:"{primary.color}",checkedHoverColor:"{primary.hover.color}"}}},Ln={root:z0,handle:F0,colorScheme:j0};var W0={background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",gap:"0.5rem",padding:"0.75rem"},zn={root:W0};var U0={maxWidth:"12.5rem",gutter:"0.25rem",shadow:"{overlay.popover.shadow}",padding:"0.5rem 0.75rem",borderRadius:"{overlay.popover.border.radius}"},q0={light:{root:{background:"{surface.700}",color:"{surface.0}"}},dark:{root:{background:"{surface.700}",color:"{surface.0}"}}},Fn={root:U0,colorScheme:q0};var H0={background:"{content.background}",color:"{content.color}",padding:"1rem",gap:"2px",indent:"1rem",transitionDuration:"{transition.duration}"},K0={padding:"0.25rem 0.5rem",borderRadius:"{content.border.radius}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",color:"{text.color}",hoverColor:"{text.hover.color}",selectedColor:"{highlight.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"},gap:"0.25rem"},V0={color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",selectedColor:"{highlight.color}"},Q0={borderRadius:"50%",size:"1.75rem",hoverBackground:"{content.hover.background}",selectedHoverBackground:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",selectedHoverColor:"{primary.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},$0={size:"2rem"},Y0={margin:"0 0 0.5rem 0"},jn={root:H0,node:K0,nodeIcon:V0,nodeToggleButton:Q0,loadingIcon:$0,filter:Y0};var G0={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},X0={width:"2.5rem",color:"{form.field.icon.color}"},Z0={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},J0={padding:"{list.padding}"},eh={padding:"{list.option.padding}"},oh={borderRadius:"{border.radius.sm}"},rh={color:"{form.field.icon.color}"},Wn={root:G0,dropdown:X0,overlay:Z0,tree:J0,emptyMessage:eh,chip:oh,clearIcon:rh};var th={transitionDuration:"{transition.duration}"},nh={background:"{content.background}",borderColor:"{treetable.border.color}",color:"{content.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem"},ih={background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",borderColor:"{treetable.border.color}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{highlight.color}",gap:"0.5rem",padding:"0.75rem 1rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},ah={fontWeight:"600"},sh={background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{highlight.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},lh={borderColor:"{treetable.border.color}",padding:"0.75rem 1rem",gap:"0.5rem"},ch={background:"{content.background}",borderColor:"{treetable.border.color}",color:"{content.color}",padding:"0.75rem 1rem"},dh={fontWeight:"600"},uh={background:"{content.background}",borderColor:"{treetable.border.color}",color:"{content.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem"},fh={width:"0.5rem"},ph={width:"1px",color:"{primary.color}"},mh={color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",size:"0.875rem"},gh={size:"2rem"},hh={hoverBackground:"{content.hover.background}",selectedHoverBackground:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.color}",selectedHoverColor:"{primary.color}",size:"1.75rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},bh={borderColor:"{content.border.color}",borderWidth:"0 0 1px 0"},yh={borderColor:"{content.border.color}",borderWidth:"0 0 1px 0"},vh={light:{root:{borderColor:"{content.border.color}"},bodyCell:{selectedBorderColor:"{primary.100}"}},dark:{root:{borderColor:"{surface.800}"},bodyCell:{selectedBorderColor:"{primary.900}"}}},Un={root:th,header:nh,headerCell:ih,columnTitle:ah,row:sh,bodyCell:lh,footerCell:ch,columnFooter:dh,footer:uh,columnResizer:fh,resizeIndicator:ph,sortIcon:mh,loadingIcon:gh,nodeToggleButton:hh,paginatorTop:bh,paginatorBottom:yh,colorScheme:vh};var kh={mask:{background:"{content.background}",color:"{text.muted.color}"},icon:{size:"2rem"}},qn={loader:kh};var Es=$n(De({},ft),{components:{accordion:lt,autocomplete:ct,avatar:dt,badge:ut,blockui:pt,breadcrumb:mt,button:gt,datepicker:Et,card:ht,carousel:bt,cascadeselect:yt,checkbox:vt,chip:kt,colorpicker:wt,confirmdialog:Ct,confirmpopup:xt,contextmenu:_t,dataview:Tt,datatable:St,dialog:Mt,divider:At,dock:Pt,drawer:Bt,editor:Rt,fieldset:It,fileupload:Nt,iftalabel:zt,floatlabel:Dt,galleria:Ot,iconfield:Lt,image:Ft,imagecompare:jt,inlinemessage:Wt,inplace:Ut,inputchips:qt,inputgroup:Ht,inputnumber:Kt,inputotp:Vt,inputtext:Qt,knob:$t,listbox:Yt,megamenu:Gt,menu:Xt,menubar:Zt,message:Jt,metergroup:en,multiselect:on,orderlist:rn,organizationchart:tn,overlaybadge:nn,popover:un,paginator:an,password:cn,panel:sn,panelmenu:ln,picklist:dn,progressbar:fn,progressspinner:pn,radiobutton:mn,rating:gn,ripple:hn,scrollpanel:bn,select:yn,selectbutton:vn,skeleton:kn,slider:wn,speeddial:Cn,splitter:_n,splitbutton:xn,stepper:Sn,steps:Tn,tabmenu:En,tabs:Mn,tabview:An,textarea:Rn,tieredmenu:In,tag:Pn,terminal:Bn,timeline:Nn,togglebutton:On,toggleswitch:Ln,tree:jn,treeselect:Wn,treetable:Un,toast:Dn,toolbar:zn,tooltip:Fn,virtualscroller:qn}});var Ms=oa(Es,{semantic:{primary:{50:"#f3f8ff",100:"#c5dcff",200:"#97c1fe",300:"#69a5fe",400:"#3b8afd",500:"#0d6efd",600:"#0b5ed7",700:"#094db1",800:"#073d8b",900:"#052c65",950:"#031c3f"}}});var wh=Ss,er=class t{static \u0275fac=function(o){return new(o||t)};static \u0275mod=ce({type:t,bootstrap:[Jo]});static \u0275inj=ae({providers:[ki,vi,Ti(Ei([Ts,aa])),ra({theme:{preset:Ms,options:{darkModeSelector:!1}}})],imports:[yo,Zo,ns,ia.forRoot(wh),vs.initializeApp(K.firebaseConfig),ws,Co,Li.forRoot({toastComponent:_s,positionClass:"toast-bottom-right",closeButton:!0}),na]})};K.production&&void 0;_i().bootstrapModule(er);
3
+ `)})}var $l={error:"UNKNOWN_ERROR"};function Yl(t){return Yi.encodeString(JSON.stringify(t),!1)}function nt(t,e=!1,o=!1){return be(this,null,function*(){let r=t.app;us(r);let n=re(r),i=n.token,a;if(i&&!ao(i)&&(n.token=void 0,i=void 0),!i){let c=yield n.cachedTokenPromise;c&&(ao(c)?i=c:yield et(r,void 0))}if(!e&&i&&ao(i))return{token:i.token};let s=!1;if(ms())try{n.exchangeTokenPromise||(n.exchangeTokenPromise=fs(ps(r,yield gs()),t.heartbeatServiceProvider).finally(()=>{n.exchangeTokenPromise=void 0}),s=!0);let c=yield n.exchangeTokenPromise;return yield et(r,c),n.token=c,{token:c.token}}catch(c){return c.code==="appCheck/throttled"||c.code==="appCheck/initial-throttle"?io.warn(c.message):o&&io.error(c),ot(c)}try{n.exchangeTokenPromise||(n.exchangeTokenPromise=n.provider.getToken().finally(()=>{n.exchangeTokenPromise=void 0}),s=!0),i=yield re(r).exchangeTokenPromise}catch(c){c.code==="appCheck/throttled"||c.code==="appCheck/initial-throttle"?io.warn(c.message):o&&io.error(c),a=c}let l;return i?a?ao(i)?l={token:i.token,internalError:a}:l=ot(a):(l={token:i.token},n.token=i,yield et(r,i)):l=ot(a),s&&Jl(r,l),l})}function Gl(t){return be(this,null,function*(){let e=t.app;us(e);let{provider:o}=re(e);if(ms()){let r=yield gs(),{token:n}=yield fs(ps(e,r),t.heartbeatServiceProvider);return{token:n}}else{let{token:r}=yield o.getToken();return{token:r}}})}function Xl(t,e,o,r){let{app:n}=t,i=re(n),a={next:o,error:r,type:e};if(i.tokenObservers=[...i.tokenObservers,a],i.token&&ao(i.token)){let s=i.token;Promise.resolve().then(()=>{o({token:s.token}),ls(t)}).catch(()=>{})}i.cachedTokenPromise.then(()=>ls(t))}function hs(t,e){let o=re(t),r=o.tokenObservers.filter(n=>n.next!==e);r.length===0&&o.tokenRefresher&&o.tokenRefresher.isRunning()&&o.tokenRefresher.stop(),o.tokenObservers=r}function ls(t){let{app:e}=t,o=re(e),r=o.tokenRefresher;r||(r=Zl(t),o.tokenRefresher=r),!r.isRunning()&&o.isTokenAutoRefreshEnabled&&r.start()}function Zl(t){let{app:e}=t;return new rt(()=>be(null,null,function*(){let o=re(e),r;if(o.token?r=yield nt(t,!0):r=yield nt(t),r.error)throw r.error;if(r.internalError)throw r.internalError}),()=>!0,()=>{let o=re(e);if(o.token){let r=o.token.issuedAtTimeMillis+(o.token.expireTimeMillis-o.token.issuedAtTimeMillis)*.5+3e5,n=o.token.expireTimeMillis-300*1e3;return r=Math.min(r,n),Math.max(0,r-Date.now())}else return 0},ss.RETRIAL_MIN_WAIT,ss.RETRIAL_MAX_WAIT)}function Jl(t,e){let o=re(t).tokenObservers;for(let r of o)try{r.type==="EXTERNAL"&&e.error!=null?r.error(e.error):r.next(e)}catch{}}function ao(t){return t.expireTimeMillis-Date.now()>0}function ot(t){return{token:Yl($l),error:t}}var it=class{constructor(e,o){this.app=e,this.heartbeatServiceProvider=o}_delete(){let{tokenObservers:e}=re(this.app);for(let o of e)hs(this.app,o.next);return Promise.resolve()}};function ec(t,e){return new it(t,e)}function oc(t){return{getToken:e=>nt(t,e),getLimitedUseToken:()=>Gl(t),addTokenListener:e=>Xl(t,"INTERNAL",e),removeTokenListener:e=>hs(t.app,e)}}var rc="@firebase/app-check",tc="0.10.1";var nc="app-check",cs="app-check-internal";function ic(){wr(new kr(nc,t=>{let e=t.getProvider("app").getImmediate(),o=t.getProvider("heartbeat");return ec(e,o)},"PUBLIC").setInstantiationMode("EXPLICIT").setInstanceCreatedCallback((t,e,o)=>{t.getProvider(cs).initialize()})),wr(new kr(cs,t=>{let e=t.getProvider("app-check").getImmediate();return oc(e)},"PUBLIC").setInstantiationMode("EXPLICIT")),Xe(rc,tc)}ic();var ac="app-check";var Vo=class{constructor(){return as(ac)}};var sc=["localhost","0.0.0.0","127.0.0.1"],Eb=typeof window<"u"&&sc.includes(window.location.hostname);var cc="firebase",dc="11.10.0";Z.registerVersion(cc,dc,"app-compat");var uc=["ngOnDestroy"],ys=(t,e,o,r={})=>new Proxy(t,{get:(n,i)=>o.runOutsideAngular(()=>{if(t[i])return r?.spy?.get&&r.spy.get(i,t[i]),t[i];if(uc.indexOf(i)>-1)return()=>{};let a=e.toPromise().then(s=>{let l=s?.[i];return typeof l=="function"?l.bind(s):l?.then?l.then(c=>o.run(()=>c)):o.run(()=>l)});return new Proxy(()=>{},{get:(s,l)=>a[l],apply:(s,l,c)=>a.then(d=>{let u=d?.(...c);return r?.spy?.apply&&r.spy.apply(i,c,u),u})})})});var Qo=class{constructor(e){return e}},$o=new se("angularfire2.app.options"),Yo=new se("angularfire2.app.name");function at(t,e,o){let r=typeof o=="string"&&o||"[DEFAULT]",n=typeof o=="object"&&o||{};n.name=n.name||r;let a=Z.apps.filter(s=>s&&s.name===n.name)[0]||e.runOutsideAngular(()=>Z.initializeApp(t,n));try{if(JSON.stringify(t)!==JSON.stringify(a.options)){let s=!!module.hot;fc("error",`${a.name} Firebase App already initialized with different options${s?", you may need to reload as Firebase is not HMR aware.":"."}`)}}catch{}return new Qo(a)}var fc=(t,...e)=>{Ye()&&typeof console<"u"&&console[t](...e)},pc={provide:Qo,useFactory:at,deps:[$o,ye,[new li,Yo]]},vs=(()=>{class t{static initializeApp(o,r){return{ngModule:t,providers:[{provide:$o,useValue:o},{provide:Yo,useValue:r}]}}constructor(o){Z.registerVersion("angularfire",He.full,"core"),Z.registerVersion("angularfire",He.full,"app-compat"),Z.registerVersion("angular",ai.full,o.toString())}static \u0275fac=function(r){return new(r||t)(T(uo))};static \u0275mod=ce({type:t});static \u0275inj=ae({providers:[pc]})}return t})();function ks(t,e,o,r,n){let[,i,a]=globalThis.\u0275AngularfireInstanceCache.find(s=>s[0]===t)||[];if(i)return mc(n,a)||(bs("error",`${e} was already initialized on the ${o} Firebase App with different settings.${gc?" You may need to reload as Firebase is not HMR aware.":""}`),bs("warn",{is:n,was:a})),i;{let s=r();return globalThis.\u0275AngularfireInstanceCache.push([t,s,n]),s}}function mc(t,e){try{return t.toString()===e.toString()}catch{return t===e}}var gc=typeof module<"u"&&!!module.hot,bs=(t,...e)=>{Ye()&&typeof console<"u"&&console[t](...e)};globalThis.\u0275AngularfireInstanceCache||=[];var hc=new se("angularfire2.auth.use-emulator"),bc=new se("angularfire2.auth.settings"),yc=new se("angularfire2.auth.tenant-id"),vc=new se("angularfire2.auth.langugage-code"),kc=new se("angularfire2.auth.use-device-language"),wc=new se("angularfire.auth.persistence"),Cc=(t,e,o,r,n,i,a,s)=>ks(`${t.name}.auth`,"AngularFireAuth",t.name,()=>{let l=e.runOutsideAngular(()=>t.auth());if(o&&l.useEmulator(...o),r&&(l.tenantId=r),l.languageCode=n,i&&l.useDeviceLanguage(),a)for(let[c,d]of Object.entries(a))l.settings[c]=d;return s&&l.setPersistence(s),l},[o,r,n,i,a,s]),st=(()=>{class t{injector=Q(ir);authState;idToken;user;idTokenResult;credential;constructor(o,r,n,i,a,s,l,c,d,u,y,m){let p=new Gn,h=Qe(void 0).pipe(Ke(a.outsideAngular),fe(()=>i.runOutsideAngular(()=>import("./chunk-Q7YUJXQP.js"))),ue(()=>at(o,i,r)),ue(w=>Cc(w,i,s,c,d,u,l,y)),tr({bufferSize:1,refCount:!1}));if(wi(n))this.authState=this.user=this.idToken=this.idTokenResult=this.credential=Qe(null);else{h.pipe(ti()).subscribe();let w=h.pipe(fe(k=>k.getRedirectResult().then(S=>S,()=>null)),ea(this.injector),tr({bufferSize:1,refCount:!1})),A=h.pipe(fe(k=>new lo(S=>({unsubscribe:i.runOutsideAngular(()=>k.onAuthStateChanged(z=>S.next(z),z=>S.error(z),()=>S.complete()))})))),P=h.pipe(fe(k=>new lo(S=>({unsubscribe:i.runOutsideAngular(()=>k.onIdTokenChanged(z=>S.next(z),z=>S.error(z),()=>S.complete()))}))));this.authState=w.pipe(nr(A),co(a.outsideAngular),Ke(a.insideAngular)),this.user=w.pipe(nr(P),co(a.outsideAngular),Ke(a.insideAngular)),this.idToken=this.user.pipe(fe(k=>k?Ve(k.getIdToken()):Qe(null))),this.idTokenResult=this.user.pipe(fe(k=>k?Ve(k.getIdTokenResult()):Qe(null))),this.credential=ei(w,p,this.authState.pipe(oi(k=>!k))).pipe(ue(k=>k?.user?k:null),co(a.outsideAngular),Ke(a.insideAngular))}return ys(this,h,i,{spy:{apply:(w,A,P)=>{(w.startsWith("signIn")||w.startsWith("createUser"))&&P.then(k=>p.next(k))}}})}static \u0275fac=function(r){return new(r||t)(T($o),T(Yo,8),T(uo),T(ye),T(Jr),T(hc,8),T(bc,8),T(yc,8),T(vc,8),T(kc,8),T(wc,8),T(Vo,8))};static \u0275prov=ie({token:t,factory:t.\u0275fac,providedIn:"any"})}return t})(),ws=(()=>{class t{constructor(){Z.registerVersion("angularfire",He.full,"auth-compat")}static \u0275fac=function(r){return new(r||t)};static \u0275mod=ce({type:t});static \u0275inj=ae({providers:[st]})}return t})();var Go=class t{constructor(e,o,r,n,i){this.afAuth=e;this.http=o;this.router=r;this.roleService=n;this.authService=i}loginWithGoogle(e){e.preventDefault();let o=new Cr;o.setCustomParameters({prompt:"select_account"}),Ve(this.afAuth.signInWithPopup(o)).pipe(ue(n=>n.credential),ue(n=>n.idToken),fe(n=>this.http.post("/api/login/Google",{IDToken:n})),ni(n=>{this.authService.saveLoginConfigToStorage(n);let i=this.authService.getRedirectUrl();this.router.navigate([i])})).subscribe()}static \u0275fac=function(o){return new(o||t)(T(st),T(wo),T(ze),T($i),T(Fe))};static \u0275prov=ie({token:t,factory:t.\u0275fac,providedIn:"root"})};var Mc=t=>({border:t}),Ac=(t,e)=>({"rounded-end":t,"border-end-0":e}),Pc=()=>["/ForgotPassword"];function Bc(t,e){if(t&1){let o=Oe();B(0,"i",34),po("click",function(){pe(o);let n=N(3);return me(n.showPassword())}),E()}if(t&2){let o=N(3);Me(mr("",o.showHideClass," fas"))}}function Rc(t,e){if(t&1&&(B(0,"span",18),$(1,Bc,1,3,"i",33),E()),t&2){let o=N(2);_(),Y(o.password?1:-1)}}function Ic(t,e){if(t&1){let o=Oe();B(0,"div",0)(1,"div",1)(2,"div",2)(3,"h3",3),D(4,"New Features"),E(),L(5,"POS-news-swiper",4),ho(6,"async"),E(),B(7,"div",5)(8,"div",6)(9,"h3",7),D(10),E(),B(11,"div",8),D(12),E()(),B(13,"form",9),po("submit",function(){pe(o);let n=N();return me(n.submitLogin())}),B(14,"div",10)(15,"div",11)(16,"div",12)(17,"span"),L(18,"i",13),E()(),B(19,"input",14),pr("ngModelChange",function(n){pe(o);let i=N();return fr(i.username,n)||(i.username=n),me(n)}),E()(),B(20,"div",15)(21,"div",12)(22,"span"),L(23,"i",16),E()(),B(24,"input",17),pr("ngModelChange",function(n){pe(o);let i=N();return fr(i.password,n)||(i.password=n),me(n)}),E(),$(25,Rc,2,1,"span",18),E(),B(26,"div",19)(27,"div",20)(28,"a",21),D(29,"Forgot your password?"),E()()(),L(30,"input",22),B(31,"div",23),L(32,"hr"),B(33,"span",24),D(34,"or"),E(),L(35,"hr"),E(),B(36,"div")(37,"button",25),po("click",function(n){pe(o);let i=N();return me(i.fbService.loginWithGoogle(n))}),L(38,"i",26),D(39," Sign In with Google"),E()()()()()(),B(40,"div",27)(41,"span",28),D(42,"powered by :"),E(),L(43,"a",29),E(),B(44,"div",30)(45,"a",31),D(46),L(47,"i",32),E()()()}if(t&2){let o=N();_(5),q("newsList",bo(6,15,o.news$)),_(5),Le(" ",o.loginLoaderData.Brand," "),_(),Me(o.subscriptionState==null?null:o.subscriptionState.class),q("ngClass",gi(17,Mc,o.subscriptionState==null?null:o.subscriptionState.class)),_(),Le(" ",o.subscriptionState==null?null:o.subscriptionState.message),_(7),ur("ngModel",o.username),_(5),q("type",o.inputType)("ngClass",hi(19,Ac,o.browserType=="edge",o.browserType!="edge")),ur("ngModel",o.password),_(),Y(o.browserType!="edge"?25:-1),_(3),q("routerLink",go(22,Pc)),_(17),q("href",mr("https://changelog.dealpos.com/?categories=cat_gAZdRhBYU7QVl&view=complete&v=",o.appVersion),$e),_(),Le("version ",o.loginLoaderData.V)}}var Xo=class t{constructor(e,o,r,n,i,a){this.httpService=e;this.authService=o;this.fbService=r;this.router=n;this.activatedRoute=i;this.title=a;this.initLogin(),this.news$=this.httpService.getNews(K.news).pipe(ue(s=>s.items.map(l=>l.properties)))}signalRClient=Q(zi);appVersion=K.version;showHideClass;inputType;browserType;loginLoaderData;username;password;news$;returnUrl;subscriptionStatus;subscriptionState;ngOnInit(){document.body.classList.add("login-body"),this.browserType=this.findname_browser(),this.initSubscriptionStatus()}initLogin(){this.returnUrl=this.authService.returnUrl;let e=this.activatedRoute.snapshot.queryParams,o=e?.OTT;Ce.IsNotEmpty(o)&&this.authService.login({OneTimeToken:o,GetMenu:!0}).subscribe({next:n=>{this.onLoginSuccess(n)}});let r={UserName:e.UserName,Password:e.Password};Ce.IsNotEmpty(r.UserName)&&Ce.IsNotEmpty(r.Password)?(this.username=r.UserName,this.password=r.Password,this.submitLogin(()=>this.loginLoader())):this.loginLoader()}initSubscriptionStatus(){this.subscriptionStatus=[{status:1,message:"Subscription overdue",class:"alert-warning"},{status:2,message:"Subscription partially suspended",class:"alert-danger"},{status:3,message:"Subscription suspended",class:"alert-danger"}]}loginLoader(){this.authService.loginLoader().subscribe(e=>{this.loginLoaderData=e;let o=`${e.Brand} | Login Form`;this.title.setTitle(o),this.initUserLogin(e),this.subscriptionState=this.subscriptionStatus.filter(r=>r.status==e.SubStatus)[0]}),this.inputType="password",this.showHideClass="fas fa-eye fas"}ngOnDestroy(){document.body.classList.remove("login-body")}initUserLogin(e){if(e.Auth)if(Ce.IsNotEmpty(this.returnUrl))this.router.navigateByUrl(this.returnUrl),this.authService.returnUrl=null;else{let o=this.authService.getRedirectUrl();this.router.navigate([o])}else Ce.IsNotEmpty(this.returnUrl)&&this.router.navigate([],{queryParamsHandling:"merge",queryParams:{ReturnUrl:this.returnUrl}})}submitLogin(e){let o={GetMenu:!0,Name:this.username,Password:this.password};this.authService.login(o).subscribe({next:r=>{this.onLoginSuccess(r)},error:r=>{e&&e()}})}onLoginSuccess(e){this.signalRClient._recacheOutlet.next(!0),e.Type=="totp"?this.router.navigate(["/verify-2fa"]):e.Type=="geo"?this.router.navigate(["/verify-geolocation"]):(Ce.IsEmpty(e.ReturnUrl)&&(e.ReturnUrl=this.authService.getRedirectUrl()),Ce.IsEmpty(this.returnUrl)?this.router.navigate([e.ReturnUrl]):(this.router.navigateByUrl(this.returnUrl),this.authService.returnUrl=null))}showPassword(){this.showHideClass=this.showHideClass=="fas fa-eye fas"?"fas fas fa-eye-slash":"fas fa-eye fas",this.inputType=this.showHideClass=="fas fa-eye fas"?"password":"text"}findname_browser(){var e=window.navigator.userAgent;if(e.indexOf("Edg/")>-1)return"edge";var o={chrome:/chrome/i,safari:/safari/i,firefox:/firefox/i,ie:/internet explorer/i,edge:/edg/i};for(var r in o)if(o[r].test(e))return r;return"unknown"}static \u0275fac=function(o){return new(o||t)(le(wo),le(Fe),le(Go),le(ze),le(Ri),le(Mi))};static \u0275cmp=ve({type:t,selectors:[["POS-auth-login"]],decls:1,vars:1,consts:[[1,"container-fluid","d-md-flex","align-items-center","justify-content-center",2,"height","100vh"],[1,"row","mx-auto","bg-white","login-pane"],[1,"col-md-5","order-md-first","order-last","border-end","border-secondary","features-pane","pt-12"],[1,"fw-normal","fs-2","header-title"],[3,"newsList"],[1,"col-md-7","order-md-last","order-first","py-12","sign-in-pane"],[1,"d-flex","align-items-center"],[1,"text-md-start","text-center","fw-normal","fs-2","header-title","me-2"],[1,"fs-6","fw-normal","mt-1","fst-italic","px-2","py-1","alert","rounded-0","mb-0",3,"ngClass"],[2,"margin-top","28px",3,"submit"],[1,"form-block","mt-5"],[1,"input-group","input-group-lg"],[1,"input-group-text","rounded-start","border-end-0",2,"width","52px"],[1,"fas","fa-user","fa-lg"],["id","txtUsername","type","text","data-cy","username","placeholder","Username / Email","aria-label","Username","aria-describedby","basic-addon1","autofocus","","name","username",1,"form-control","form-control-lg","rounded-end","border-start-0","ps-1",2,"height","50px",3,"ngModelChange","ngModel"],[1,"input-group","input-group-lg","mt-8"],[1,"fas","fa-key","fa-lg"],["id","txtPassword","data-cy","password","placeholder","Password","aria-label","Password","aria-describedby","basic-addon1","autofocus","","name","password",1,"form-control","form-control-lg","rounded-end","border-start-0","ps-1",2,"height","50px",3,"ngModelChange","type","ngClass","ngModel"],[1,"input-group-text","border-start-0","rounded-end"],[1,"text-end","mt-4"],[1,"me-2"],[1,"text-primary",3,"routerLink"],["id","btnSubmit","type","submit","value","Sign In","data-cy","loginBtn",1,"w-100","btn","fs-3","rounded-3","btn-login","text-white","mt-6","bg-primary"],[1,"divider","d-flex","align-items-center","justify-content-center"],[1,"mx-4","text-body-secondary"],[1,"btn","btn-social-login","text-primary","me-5","w-100","fw-bold",3,"click"],[1,"fa-brands","fa-google"],[1,"d-flex","copyright",2,"margin-left","20px"],[1,"align-self-center","me-5"],["target","_blank","href","http://www.dealpos.com"],[1,"version",2,"margin-right","18px"],["target","_blank",1,"text-dark","fst-italic",3,"href"],[1,"fa-solid","fa-circle-exclamation","ms-2",2,"font-size","16px"],[3,"class"],[3,"click"]],template:function(o,r){o&1&&$(0,Ic,48,23,"div",0),o&2&&Y(r.loginLoaderData?0:-1)},dependencies:[qo,bi,Vi,Hi,Fi,ji,Wi,Ki,qi,Ui,Ni,yi],styles:[".login-pane[_ngcontent-%COMP%]{max-width:57rem;height:max-content}@media (min-width: 900px){.login-pane[_ngcontent-%COMP%]{width:57rem}}@media (max-width: 768px){.login-pane[_ngcontent-%COMP%]{margin-top:0}}@media only screen and (max-width: 1300px) and (min-width: 1024px){.login-pane[_ngcontent-%COMP%]{margin-top:30px}}.header-title[_ngcontent-%COMP%]{font-family:Roboto Slab}.carousel-inner[_ngcontent-%COMP%]{height:310px}.carousel-inner[_ngcontent-%COMP%] div.carousel-item[_ngcontent-%COMP%]{top:28px}@media (max-width: 820px){.carousel-indicators[_ngcontent-%COMP%]{bottom:-8px}}.carousel-indicators[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{background-color:#ddd;width:1.25rem;height:.375rem;transition:.3s}.carousel-indicators[_ngcontent-%COMP%] button.active[_ngcontent-%COMP%]{background-color:var(--bs-primary)}.sign-in-pane[_ngcontent-%COMP%]{padding:0 3rem 0 3.5rem}@media (max-width: 768px){.sign-in-pane[_ngcontent-%COMP%]{padding:24px 12px}.sign-in-pane[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{padding-left:8px!important}}.subscription.danger[_ngcontent-%COMP%]{background-color:#f2dede;border-color:#eb415d;color:#a94442}.subscription.warning[_ngcontent-%COMP%]{background-color:#fcf8e3;border-color:#faebcc;color:#8a6d3b}@media (max-width: 768px){.features-pane[_ngcontent-%COMP%]{border-right:0px!important}}.copyright[_ngcontent-%COMP%]{position:absolute;bottom:1.25rem;left:1.25rem}.copyright[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{width:8.125rem;height:2.5rem;background-image:url(https://cdn.dealpos.app/public/logo/dealpos_130.png);background-position:left top;background-repeat:no-repeat;background-size:contain}.version[_ngcontent-%COMP%]{bottom:1.25rem;right:1.25rem;position:absolute}@media (max-width: 768px){.copyright[_ngcontent-%COMP%], .version[_ngcontent-%COMP%]{position:static;margin-top:10px}.copyright[_ngcontent-%COMP%]{justify-content:center}}div.divider[_ngcontent-%COMP%] > hr[_ngcontent-%COMP%]{margin-top:1.2rem;margin-bottom:1.2rem;border-top:1px solid rgba(0,0,0,.855);width:20%}button.btn-social-login[_ngcontent-%COMP%], .btn-login[_ngcontent-%COMP%]{border:1px solid var(--bs-primary)}.fa-google[_ngcontent-%COMP%]{background:conic-gradient(from -45deg,#ea4335 110deg,#4285f4 90deg 180deg,#34a853 180deg 270deg,#fbbc05 270deg) 73% 55%/150% 150% no-repeat;-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}.version[_ngcontent-%COMP%] a[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:#fe3a00!important}.version[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited i[_ngcontent-%COMP%]{color:#f4f4f4!important}.version[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{margin-left:-10px}"]})};var xs=[{path:"",component:Xo},{path:"ForgotPassword",loadComponent:()=>import("./chunk-COL56R4A.js").then(t=>t.AuthForgotPasswordComponent)},{path:"ResetPassword",loadComponent:()=>import("./chunk-X44CHNHS.js").then(t=>t.AuthResetPasswordComponent)},{path:"verify-2fa",loadComponent:()=>import("./chunk-3CUT73ZP.js").then(t=>t.AuthTotpComponent)},{path:"verify-geolocation",loadComponent:()=>import("./chunk-5SIEW7SH.js").then(t=>t.AuthGeolocationComponent)},{path:"",redirectTo:"",pathMatch:"full"}];var Nc=[{path:"menu",loadChildren:()=>import("./chunk-XFAV2VZL.js").then(t=>t.MenuMasterModule)},{path:"print",loadChildren:()=>import("./chunk-DTX2BFBV.js").then(t=>t.PrintModule)},...xs],Zo=class t{static \u0275fac=function(o){return new(o||t)};static \u0275mod=ce({type:t});static \u0275inj=ae({imports:[yr.forRoot(Nc),yr]})};var Dc=()=>["/api/charge","changelog.dealpos.app"],Jo=class t{debounceDelay=K.ngHttpLoaderDebounceDelay;constructor(){Date.prototype.toJSON=function(){return this.getFullYear()+"-"+e(this.getMonth()+1)+"-"+e(this.getDate())+"T"+e(this.getHours())+":"+e(this.getMinutes())+":"+e(this.getSeconds())+".000"};function e(o){return o<10?"0"+o:o}this.compareAppVersion()}compareAppVersion(){let e=localStorage.getItem("appVersion"),o=K.version;e!==o&&(localStorage.setItem("appVersion",o),localStorage.setItem("mapRouteOpenChangelogDialog",JSON.stringify([])))}static \u0275fac=function(o){return new(o||t)};static \u0275cmp=ve({type:t,selectors:[["app-root"]],standalone:!1,decls:3,vars:3,consts:[[3,"filteredUrlPatterns","debounceDelay"],[1,"simple-keyboard"]],template:function(o,r){o&1&&L(0,"router-outlet")(1,"ng-http-loader",0)(2,"div",1),o&2&&(_(),q("filteredUrlPatterns",go(2,Dc))("debounceDelay",r.debounceDelay))},dependencies:[Ii,Co],styles:[".toast-center-center[_ngcontent-%COMP%]{top:50%;left:50%;transform:translate(-50%,-50%)}.toast-top-center[_ngcontent-%COMP%]{top:0;right:0;width:100%}.toast-bottom-center[_ngcontent-%COMP%]{bottom:0;right:0;width:100%}.toast-top-full-width[_ngcontent-%COMP%]{top:0;right:0;width:100%}.toast-bottom-full-width[_ngcontent-%COMP%]{bottom:0;right:0;width:100%}.toast-top-left[_ngcontent-%COMP%]{top:12px;left:12px}.toast-top-right[_ngcontent-%COMP%]{top:12px;right:12px}.toast-bottom-right[_ngcontent-%COMP%]{right:12px;bottom:12px}.toast-bottom-left[_ngcontent-%COMP%]{bottom:12px;left:12px}.toast-title[_ngcontent-%COMP%]{font-weight:700}.toast-message[_ngcontent-%COMP%]{word-wrap:break-word}.toast-message[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .toast-message[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{color:#fff}.toast-message[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{color:#ccc;text-decoration:none}.toast-close-button[_ngcontent-%COMP%]{position:relative;right:-.3em;top:-.3em;float:right;font-size:20px;font-weight:700;color:#fff;text-shadow:0 1px 0 #ffffff}.toast-close-button[_ngcontent-%COMP%]:hover, .toast-close-button[_ngcontent-%COMP%]:focus{color:#000;text-decoration:none;cursor:pointer;opacity:.4}button.toast-close-button[_ngcontent-%COMP%]{padding:0;cursor:pointer;background:transparent;border:0}.toast-container[_ngcontent-%COMP%]{pointer-events:none;position:fixed;z-index:999999}.toast-container[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{box-sizing:border-box}.toast-container[_ngcontent-%COMP%] .ngx-toastr[_ngcontent-%COMP%]{position:relative;overflow:hidden;margin:0 0 6px;padding:15px 15px 15px 50px;width:300px;border-radius:3px;background-position:15px center;background-repeat:no-repeat;background-size:24px;box-shadow:0 0 12px #999;color:#fff}.toast-container[_ngcontent-%COMP%] .ngx-toastr[_ngcontent-%COMP%]:hover{box-shadow:0 0 12px #000;opacity:1;cursor:pointer}.toast-info[_ngcontent-%COMP%]{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCA1MTIgNTEyJyB3aWR0aD0nNTEyJyBoZWlnaHQ9JzUxMic+PHBhdGggZmlsbD0ncmdiKDI1NSwyNTUsMjU1KScgZD0nTTI1NiA4QzExOS4wNDMgOCA4IDExOS4wODMgOCAyNTZjMCAxMzYuOTk3IDExMS4wNDMgMjQ4IDI0OCAyNDhzMjQ4LTExMS4wMDMgMjQ4LTI0OEM1MDQgMTE5LjA4MyAzOTIuOTU3IDggMjU2IDh6bTAgMTEwYzIzLjE5NiAwIDQyIDE4LjgwNCA0MiA0MnMtMTguODA0IDQyLTQyIDQyLTQyLTE4LjgwNC00Mi00MiAxOC44MDQtNDIgNDItNDJ6bTU2IDI1NGMwIDYuNjI3LTUuMzczIDEyLTEyIDEyaC04OGMtNi42MjcgMC0xMi01LjM3My0xMi0xMnYtMjRjMC02LjYyNyA1LjM3My0xMiAxMi0xMmgxMnYtNjRoLTEyYy02LjYyNyAwLTEyLTUuMzczLTEyLTEydi0yNGMwLTYuNjI3IDUuMzczLTEyIDEyLTEyaDY0YzYuNjI3IDAgMTIgNS4zNzMgMTIgMTJ2MTAwaDEyYzYuNjI3IDAgMTIgNS4zNzMgMTIgMTJ2MjR6Jy8+PC9zdmc+)}.toast-error[_ngcontent-%COMP%]{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCA1MTIgNTEyJyB3aWR0aD0nNTEyJyBoZWlnaHQ9JzUxMic+PHBhdGggZmlsbD0ncmdiKDI1NSwyNTUsMjU1KScgZD0nTTI1NiA4QzExOSA4IDggMTE5IDggMjU2czExMSAyNDggMjQ4IDI0OCAyNDgtMTExIDI0OC0yNDhTMzkzIDggMjU2IDh6bTEyMS42IDMxMy4xYzQuNyA0LjcgNC43IDEyLjMgMCAxN0wzMzggMzc3LjZjLTQuNyA0LjctMTIuMyA0LjctMTcgMEwyNTYgMzEybC02NS4xIDY1LjZjLTQuNyA0LjctMTIuMyA0LjctMTcgMEwxMzQuNCAzMzhjLTQuNy00LjctNC43LTEyLjMgMC0xN2w2NS42LTY1LTY1LjYtNjUuMWMtNC43LTQuNy00LjctMTIuMyAwLTE3bDM5LjYtMzkuNmM0LjctNC43IDEyLjMtNC43IDE3IDBsNjUgNjUuNyA2NS4xLTY1LjZjNC43LTQuNyAxMi4zLTQuNyAxNyAwbDM5LjYgMzkuNmM0LjcgNC43IDQuNyAxMi4zIDAgMTdMMzEyIDI1Nmw2NS42IDY1LjF6Jy8+PC9zdmc+)}.toast-success[_ngcontent-%COMP%]{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCA1MTIgNTEyJyB3aWR0aD0nNTEyJyBoZWlnaHQ9JzUxMic+PHBhdGggZmlsbD0ncmdiKDI1NSwyNTUsMjU1KScgZD0nTTE3My44OTggNDM5LjQwNGwtMTY2LjQtMTY2LjRjLTkuOTk3LTkuOTk3LTkuOTk3LTI2LjIwNiAwLTM2LjIwNGwzNi4yMDMtMzYuMjA0YzkuOTk3LTkuOTk4IDI2LjIwNy05Ljk5OCAzNi4yMDQgMEwxOTIgMzEyLjY5IDQzMi4wOTUgNzIuNTk2YzkuOTk3LTkuOTk3IDI2LjIwNy05Ljk5NyAzNi4yMDQgMGwzNi4yMDMgMzYuMjA0YzkuOTk3IDkuOTk3IDkuOTk3IDI2LjIwNiAwIDM2LjIwNGwtMjk0LjQgMjk0LjQwMWMtOS45OTggOS45OTctMjYuMjA3IDkuOTk3LTM2LjIwNC0uMDAxeicvPjwvc3ZnPg==)}.toast-warning[_ngcontent-%COMP%]{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCA1NzYgNTEyJyB3aWR0aD0nNTc2JyBoZWlnaHQ9JzUxMic+PHBhdGggZmlsbD0ncmdiKDI1NSwyNTUsMjU1KScgZD0nTTU2OS41MTcgNDQwLjAxM0M1ODcuOTc1IDQ3Mi4wMDcgNTY0LjgwNiA1MTIgNTI3Ljk0IDUxMkg0OC4wNTRjLTM2LjkzNyAwLTU5Ljk5OS00MC4wNTUtNDEuNTc3LTcxLjk4N0wyNDYuNDIzIDIzLjk4NWMxOC40NjctMzIuMDA5IDY0LjcyLTMxLjk1MSA4My4xNTQgMGwyMzkuOTQgNDE2LjAyOHpNMjg4IDM1NGMtMjUuNDA1IDAtNDYgMjAuNTk1LTQ2IDQ2czIwLjU5NSA0NiA0NiA0NiA0Ni0yMC41OTUgNDYtNDYtMjAuNTk1LTQ2LTQ2LTQ2em0tNDMuNjczLTE2NS4zNDZsNy40MTggMTM2Yy4zNDcgNi4zNjQgNS42MDkgMTEuMzQ2IDExLjk4MiAxMS4zNDZoNDguNTQ2YzYuMzczIDAgMTEuNjM1LTQuOTgyIDExLjk4Mi0xMS4zNDZsNy40MTgtMTM2Yy4zNzUtNi44NzQtNS4wOTgtMTIuNjU0LTExLjk4Mi0xMi42NTRoLTYzLjM4M2MtNi44ODQgMC0xMi4zNTYgNS43OC0xMS45ODEgMTIuNjU0eicvPjwvc3ZnPg==)}.toast-container.toast-top-center[_ngcontent-%COMP%] .ngx-toastr[_ngcontent-%COMP%], .toast-container.toast-bottom-center[_ngcontent-%COMP%] .ngx-toastr[_ngcontent-%COMP%]{width:300px;margin-left:auto;margin-right:auto}.toast-container.toast-top-full-width[_ngcontent-%COMP%] .ngx-toastr[_ngcontent-%COMP%], .toast-container.toast-bottom-full-width[_ngcontent-%COMP%] .ngx-toastr[_ngcontent-%COMP%]{width:96%;margin-left:auto;margin-right:auto}.ngx-toastr[_ngcontent-%COMP%]{background-color:#030303;pointer-events:auto}.toast-success[_ngcontent-%COMP%]{background-color:#51a351}.toast-error[_ngcontent-%COMP%]{background-color:#bd362f}.toast-info[_ngcontent-%COMP%]{background-color:#2f96b4}.toast-warning[_ngcontent-%COMP%]{background-color:#f89406}.toast-progress[_ngcontent-%COMP%]{position:absolute;left:0;bottom:0;height:4px;background-color:#000;opacity:.4}@media all and (max-width: 240px){.toast-container[_ngcontent-%COMP%] .ngx-toastr.div[_ngcontent-%COMP%]{padding:8px 8px 8px 50px;width:11em}.toast-container[_ngcontent-%COMP%] .toast-close-button[_ngcontent-%COMP%]{right:-.2em;top:-.2em}}@media all and (min-width: 241px) and (max-width: 480px){.toast-container[_ngcontent-%COMP%] .ngx-toastr.div[_ngcontent-%COMP%]{padding:8px 8px 8px 50px;width:18em}.toast-container[_ngcontent-%COMP%] .toast-close-button[_ngcontent-%COMP%]{right:-.2em;top:-.2em}}@media all and (min-width: 481px) and (max-width: 768px){.toast-container[_ngcontent-%COMP%] .ngx-toastr.div[_ngcontent-%COMP%]{padding:15px 15px 15px 50px;width:25em}}"]})};var Oc=["custom-toast-component",""];function Lc(t,e){if(t&1){let o=Oe();ke(0,"a",9),cr("click",function(){pe(o);let n=N(2);return me(n.remove())}),D(1," x "),we()}}function zc(t,e){if(t&1&&(ke(0,"div",5)(1,"div",6)(2,"div",7)(3,"h4"),D(4),we()()(),ke(5,"div",8),$(6,Lc,2,0,"a",4),we()()),t&2){let o=N();dr("display",o.state().value==="inactive"?"none":""),_(2),Me(o.options.titleClass),sr("aria-label",o.title),_(2),mo(o.title),_(2),Y(o.options.closeButton?6:-1)}}function Fc(t,e){if(t&1&&lr(0,"div",10),t&2){let o=N();Me(o.options.messageClass),mi("innerHTML",o.message,fo)}}function jc(t,e){if(t&1&&(ke(0,"div",11),D(1),we()),t&2){let o=N();Me(o.options.messageClass),sr("aria-label",o.message),_(),Le(" ",o.message," ")}}function Wc(t,e){if(t&1){let o=Oe();ke(0,"a",9),cr("click",function(){pe(o);let n=N();return me(n.remove())}),D(1," x "),we()}}function Uc(t,e){if(t&1&&(ke(0,"div"),lr(1,"div",12),we()),t&2){let o=N();_(),dr("width",o.width+"%")}}var _s=(()=>{let e=class e extends Oi{constructor(r,n){super(r,n),this.toastrService=r,this.toastPackage=n}ngOnInit(){}action(r){return r.stopPropagation(),this.toastPackage.triggerAction(),!1}};e.\u0275fac=function(n){return new(n||e)(le(ko),le(Di))},e.\u0275cmp=ve({type:e,selectors:[["","custom-toast-component",""]],features:[di],attrs:Oc,decls:6,vars:5,consts:[[1,"toast-case"],[1,"row","toast-header",3,"display"],["role","alert","aria-live","polite",1,"row","toast-body","text-start",3,"class","innerHTML"],["role","alert","aria-live","polite",1,"row","toast-body","text-start",3,"class"],[1,"btn","toast-close-button","btn-sm"],[1,"row","toast-header"],[1,"col-9","px-0","text-start"],[1,"my-4"],[1,"col-auto","mt-5","pe-0"],[1,"btn","toast-close-button","btn-sm",3,"click"],["role","alert","aria-live","polite",1,"row","toast-body","text-start",3,"innerHTML"],["role","alert","aria-live","polite",1,"row","toast-body","text-start"],[1,"toast-progress"]],template:function(n,i){n&1&&(ke(0,"div",0),$(1,zc,7,7,"div",1),$(2,Fc,1,3,"div",2),$(3,jc,2,4,"div",3),$(4,Wc,2,0,"a",4),$(5,Uc,2,2,"div"),we()),n&2&&(_(),Y(i.title?1:-1),_(),Y(i.message&&i.options.enableHtml?2:-1),_(),Y(i.message&&!i.options.enableHtml?3:-1),_(),Y(i.options.closeButton&&i.title==null?4:-1),_(),Y(i.options.progressBar?5:-1))},styles:["[_nghost-%COMP%]{background-color:#fff;position:relative;overflow:hidden;margin:0 0 6px;width:300px;border-radius:3px;color:#141414;pointer-events:all;cursor:pointer}.toast-success[_nghost-%COMP%]{border:1.8px solid rgb(81,163,81)}.toast-info[_nghost-%COMP%]{border:1.8px solid rgb(47,150,180)}.toast-error[_nghost-%COMP%]{border:1.8px solid rgb(189,54,47)}.toast-warning[_nghost-%COMP%]{border:1.8px solid rgb(248,148,6)}.toast-case[_ngcontent-%COMP%]{margin-left:10px}.toast-header[_ngcontent-%COMP%]{background-clip:padding-box;border-bottom:1px solid gainsboro;border-width:1px;padding-bottom:0rem;padding-top:0rem;padding-right:0}.toast-title[_ngcontent-%COMP%]{color:#000}.toast-body[_ngcontent-%COMP%]{padding:10px 15px 10px 0}.notitle[_ngcontent-%COMP%]{margin-bottom:-1rem}.toast-close-button[_ngcontent-%COMP%]{color:#dcdcdc!important}"],data:{animation:[Ai("flyInOut",[Bi("inactive",X({opacity:0})),br("inactive => active",gr("400ms ease-out",hr([X({transform:"translate3d(100%, 0, 0) skewX(-30deg)",opacity:0}),X({transform:"skewX(20deg)",opacity:1}),X({transform:"skewX(-5deg)",opacity:1}),X({transform:"none",opacity:1})]))),br("active => removed",gr("400ms ease-out",hr([X({opacity:1}),X({transform:"translate3d(100%, 0, 0) skewX(30deg)",opacity:0})])))])]}});let t=e;return t})();var Ss={name:"pos-offline",version:K.pos.indexedDBVersion,objectStoresMeta:[{store:"Order",storeConfig:{keyPath:"id",autoIncrement:!0},storeSchema:[{name:"Action",options:{unique:!1},keypath:"Action"},{name:"Items",options:{unique:!1},keypath:"Items"},{name:"CartItems",options:{unique:!1},keypath:"CartItems"},{name:"Invoice",options:{unique:!1},keypath:"Invoice"},{name:"Order",options:{unique:!1},keypath:"Order"},{name:"Payments",options:{unique:!1},keypath:"Payments"},{name:"Shipping",options:{unique:!1},keypath:"Shipping"},{name:"ContactName",options:{unique:!1},keypath:"ContactName"}]},{store:"Outlet",storeConfig:{keyPath:"RegisterID",autoIncrement:!1},storeSchema:[{name:"DefaultSalesOrderTag",options:{unique:!1},keypath:"DefaultSalesOrderTag"},{name:"DefaultTaxType",options:{unique:!1},keypath:"DefaultTaxType"},{name:"DefaultWarehouse",options:{unique:!1},keypath:"DefaultWarehouse"},{name:"EntityID",options:{unique:!1},keypath:"EntityID"},{name:"EntityName",options:{unique:!1},keypath:"EntityName"},{name:"InvoiceNumberElement",options:{unique:!1},keypath:"InvoiceNumberElement"},{name:"ListSales",options:{unique:!1},keypath:"ListSales"},{name:"MemberPoint",options:{unique:!1},keypath:"MemberPoint"},{name:"NewOrderID",options:{unique:!1},keypath:"NewOrderID"},{name:"NumberElement",options:{unique:!1},keypath:"NumberElement"},{name:"ParkLayoutPack",options:{unique:!1},keypath:"ParkLayoutPack"},{name:"PrintTemplate",options:{unique:!1},keypath:"PrintTemplate"},{name:"QuickKeyPack",options:{unique:!1},keypath:"QuickKeyPack"},{name:"RegisterID",options:{unique:!1},keypath:"RegisterID"},{name:"ShippingDefault",options:{unique:!1},keypath:"ShippingDefault"}]},{store:"OutletPrice",storeConfig:{keyPath:"id",autoIncrement:!0},storeSchema:[{name:"EntityID",options:{unique:!1},keypath:"EntityID"},{name:"ExtraCost",options:{unique:!1},keypath:"ExtraCost"},{name:"PriceDiscount",options:{unique:!1},keypath:"PriceDiscount"},{name:"UnitCost",options:{unique:!1},keypath:"UnitCost"},{name:"UnitPrice",options:{unique:!1},keypath:"UnitPrice"},{name:"VariantID",options:{unique:!1},keypath:"VariantID"}]},{store:"POSStorage",storeConfig:{keyPath:"id",autoIncrement:!1},storeSchema:[{name:"AppConfigJSON",options:{unique:!1},keypath:"AppConfigJSON"},{name:"BINS",options:{unique:!1},keypath:"BINS"},{name:"Currencies",options:{unique:!1},keypath:"Currencies"},{name:"CustomerOptions",options:{unique:!1},keypath:"CustomerOptions"},{name:"Denomination",options:{unique:!1},keypath:"Denomination"},{name:"Entities",options:{unique:!1},keypath:"Entities"},{name:"PaymentTypes",options:{unique:!1},keypath:"PaymentTypes"},{name:"Payments",options:{unique:!1},keypath:"Payments"},{name:"PoTypes",options:{unique:!1},keypath:"PoTypes"},{name:"ProductCount",options:{unique:!1},keypath:"ProductCount"},{name:"Registers",options:{unique:!1},keypath:"Registers"},{name:"Restriction",options:{unique:!1},keypath:"Restriction"},{name:"Roles",options:{unique:!1},keypath:"Roles"},{name:"SalesID",options:{unique:!1},keypath:"SalesID"},{name:"ServerDateString",options:{unique:!1},keypath:"ServerDateString"},{name:"ServerTime",options:{unique:!1},keypath:"ServerTime"},{name:"Taxes",options:{unique:!1},keypath:"Taxes"},{name:"UserID",options:{unique:!1},keypath:"UserID"},{name:"UserName",options:{unique:!1},keypath:"UserName"},{name:"Version",options:{unique:!1},keypath:"Version"}]},{store:"Product",storeConfig:{keyPath:"ID",autoIncrement:!1},storeSchema:[{name:"BrandName",options:{unique:!1},keypath:"BrandName"},{name:"CategoryName",options:{unique:!1},keypath:"CategoryName"},{name:"CategoryTypeID",options:{unique:!1},keypath:"CategoryTypeID"},{name:"Code",options:{unique:!1},keypath:"Code"},{name:"Component",options:{unique:!1},keypath:"Component"},{name:"Created",options:{unique:!1},keypath:"Created"},{name:"Description",options:{unique:!1},keypath:"Description"},{name:"ExtraCost",options:{unique:!1},keypath:"ExtraCost"},{name:"ID",options:{unique:!1},keypath:"ID"},{name:"ImageUrl",options:{unique:!1},keypath:"ImageUrl"},{name:"LoyaltyPoint",options:{unique:!1},keypath:"LoyaltyPoint"},{name:"Name",options:{unique:!1},keypath:"Name"},{name:"OrderPrice",options:{unique:!1},keypath:"OrderPrice"},{name:"OrderPriceDiscount",options:{unique:!1},keypath:"OrderPriceDiscount"},{name:"Ordered",options:{unique:!1},keypath:"Ordered"},{name:"PaymentTypeID",options:{unique:!1},keypath:"PaymentTypeID"},{name:"PriceBook",options:{unique:!1},keypath:"PriceBook"},{name:"PriceDiscount",options:{unique:!1},keypath:"PriceDiscount"},{name:"PriceNote",options:{unique:!1},keypath:"PriceNote"},{name:"PriceTypeID",options:{unique:!1},keypath:"PriceTypeID"},{name:"ProductID",options:{unique:!1},keypath:"ProductID"},{name:"Taxable",options:{unique:!1},keypath:"Taxable"},{name:"ThumbnailUrl",options:{unique:!1},keypath:"ThumbnailUrl"},{name:"TypeID",options:{unique:!1},keypath:"TypeID"},{name:"UOM",options:{unique:!1},keypath:"UOM"},{name:"UnitCost",options:{unique:!1},keypath:"UnitCost"},{name:"UnitExpense",options:{unique:!1},keypath:"UnitExpense"},{name:"UnitPrice",options:{unique:!1},keypath:"UnitPrice"},{name:"UnitPriceOriginal",options:{unique:!1},keypath:"UnitPriceOriginal"},{name:"UnitQuantity",options:{unique:!1},keypath:"UnitQuantity"},{name:"OnHand",options:{unique:!1},keypath:"OnHand"}]},{store:"SyncTime",storeConfig:{keyPath:"id",autoIncrement:!1},storeSchema:[{name:"time",keypath:"time",options:{unique:!0}}]},{store:"FailedOrder",storeConfig:{keyPath:"id",autoIncrement:!0},storeSchema:[{name:"Action",options:{unique:!1},keypath:"Action"},{name:"Items",options:{unique:!1},keypath:"Items"},{name:"CartItems",options:{unique:!1},keypath:"CartItems"},{name:"Invoice",options:{unique:!1},keypath:"Invoice"},{name:"Order",options:{unique:!1},keypath:"Order"},{name:"Payments",options:{unique:!1},keypath:"Payments"},{name:"Shipping",options:{unique:!1},keypath:"Shipping"}]},{store:"SuccessOrder",storeConfig:{keyPath:"id",autoIncrement:!0},storeSchema:[{name:"Number",options:{unique:!1},keypath:"Order.Number"}]}]};var Ts=(t,e)=>{let o=Q(ko),r=Q(Fe),n=localStorage.getItem("Token"),i=Q(ze),a=Q(ta);return n&&(t.body instanceof FormData?t=t.clone({setHeaders:{Authorization:`Bearer ${n}`}}):t.url.includes("cloudflarestorage")?t=t.clone({setHeaders:{}}):t=t.clone({setHeaders:{Authorization:`Bearer ${n}`,"Content-Type":"application/json","Cache-Control":"no-cache"}})),e(t).pipe(ri(s=>{if(s instanceof Si){switch(console.log("error",s),s.status){case 401:o.error("You are forced to logout. Please relogin and contact administrator for more information!","Unauthorized"),a.closeAll(),r.logout();break;case 402:i.navigate(["/menu/Profile/Main/My_Subscription"]);break;case 403:i.navigate(["/menu/Unauthorized/Main/Unauthorized"],{state:{role:s?.error.Roles}});break}return Jn(()=>s)}}))};var qc={transitionDuration:"{transition.duration}"},Hc={borderWidth:"0 0 1px 0",borderColor:"{content.border.color}"},Kc={color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{text.color}",activeHoverColor:"{text.color}",padding:"1.125rem",fontWeight:"600",borderRadius:"0",borderWidth:"0",borderColor:"{content.border.color}",background:"{content.background}",hoverBackground:"{content.background}",activeBackground:"{content.background}",activeHoverBackground:"{content.background}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"},toggleIcon:{color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{text.color}",activeHoverColor:"{text.color}"},first:{topBorderRadius:"{content.border.radius}",borderWidth:"0"},last:{bottomBorderRadius:"{content.border.radius}",activeBottomBorderRadius:"0"}},Vc={borderWidth:"0",borderColor:"{content.border.color}",background:"{content.background}",color:"{text.color}",padding:"0 1.125rem 1.125rem 1.125rem"},lt={root:qc,panel:Hc,header:Kc,content:Vc};var Qc={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}"},$c={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},Yc={padding:"{list.padding}",gap:"{list.gap}"},Gc={focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"},Xc={background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},Zc={width:"2.5rem",sm:{width:"2rem"},lg:{width:"3rem"},borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.border.color}",activeBorderColor:"{form.field.border.color}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},Jc={borderRadius:"{border.radius.sm}"},ed={padding:"{list.option.padding}"},od={light:{chip:{focusBackground:"{surface.200}",focusColor:"{surface.800}"},dropdown:{background:"{surface.100}",hoverBackground:"{surface.200}",activeBackground:"{surface.300}",color:"{surface.600}",hoverColor:"{surface.700}",activeColor:"{surface.800}"}},dark:{chip:{focusBackground:"{surface.700}",focusColor:"{surface.0}"},dropdown:{background:"{surface.800}",hoverBackground:"{surface.700}",activeBackground:"{surface.600}",color:"{surface.300}",hoverColor:"{surface.200}",activeColor:"{surface.100}"}}},ct={root:Qc,overlay:$c,list:Yc,option:Gc,optionGroup:Xc,dropdown:Zc,chip:Jc,emptyMessage:ed,colorScheme:od};var rd={width:"2rem",height:"2rem",fontSize:"1rem",background:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}"},td={size:"1rem"},nd={borderColor:"{content.background}",offset:"-0.75rem"},id={width:"3rem",height:"3rem",fontSize:"1.5rem",icon:{size:"1.5rem"},group:{offset:"-1rem"}},ad={width:"4rem",height:"4rem",fontSize:"2rem",icon:{size:"2rem"},group:{offset:"-1.5rem"}},dt={root:rd,icon:td,group:nd,lg:id,xl:ad};var sd={borderRadius:"{border.radius.md}",padding:"0 0.5rem",fontSize:"0.75rem",fontWeight:"700",minWidth:"1.5rem",height:"1.5rem"},ld={size:"0.5rem"},cd={fontSize:"0.625rem",minWidth:"1.25rem",height:"1.25rem"},dd={fontSize:"0.875rem",minWidth:"1.75rem",height:"1.75rem"},ud={fontSize:"1rem",minWidth:"2rem",height:"2rem"},fd={light:{primary:{background:"{primary.color}",color:"{primary.contrast.color}"},secondary:{background:"{surface.100}",color:"{surface.600}"},success:{background:"{green.500}",color:"{surface.0}"},info:{background:"{sky.500}",color:"{surface.0}"},warn:{background:"{orange.500}",color:"{surface.0}"},danger:{background:"{red.500}",color:"{surface.0}"},contrast:{background:"{surface.950}",color:"{surface.0}"}},dark:{primary:{background:"{primary.color}",color:"{primary.contrast.color}"},secondary:{background:"{surface.800}",color:"{surface.300}"},success:{background:"{green.400}",color:"{green.950}"},info:{background:"{sky.400}",color:"{sky.950}"},warn:{background:"{orange.400}",color:"{orange.950}"},danger:{background:"{red.400}",color:"{red.950}"},contrast:{background:"{surface.0}",color:"{surface.950}"}}},ut={root:sd,dot:ld,sm:cd,lg:dd,xl:ud,colorScheme:fd};var pd={borderRadius:{none:"0",xs:"2px",sm:"4px",md:"6px",lg:"8px",xl:"12px"},emerald:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b",950:"#022c22"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d",950:"#052e16"},lime:{50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314",950:"#1a2e05"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d",950:"#450a0a"},orange:{50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12",950:"#431407"},amber:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f",950:"#451a03"},yellow:{50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12",950:"#422006"},teal:{50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a",950:"#042f2e"},cyan:{50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63",950:"#083344"},sky:{50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e",950:"#082f49"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a",950:"#172554"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81",950:"#1e1b4b"},violet:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95",950:"#2e1065"},purple:{50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87",950:"#3b0764"},fuchsia:{50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75",950:"#4a044e"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843",950:"#500724"},rose:{50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337",950:"#4c0519"},slate:{50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a",950:"#020617"},gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827",950:"#030712"},zinc:{50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b",950:"#09090b"},neutral:{50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",950:"#0a0a0a"},stone:{50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917",950:"#0c0a09"}},md={transitionDuration:"0.2s",focusRing:{width:"1px",style:"solid",color:"{primary.color}",offset:"2px",shadow:"none"},disabledOpacity:"0.6",iconSize:"1rem",anchorGutter:"2px",primary:{50:"{emerald.50}",100:"{emerald.100}",200:"{emerald.200}",300:"{emerald.300}",400:"{emerald.400}",500:"{emerald.500}",600:"{emerald.600}",700:"{emerald.700}",800:"{emerald.800}",900:"{emerald.900}",950:"{emerald.950}"},formField:{paddingX:"0.75rem",paddingY:"0.5rem",sm:{fontSize:"0.875rem",paddingX:"0.625rem",paddingY:"0.375rem"},lg:{fontSize:"1.125rem",paddingX:"0.875rem",paddingY:"0.625rem"},borderRadius:"{border.radius.md}",focusRing:{width:"0",style:"none",color:"transparent",offset:"0",shadow:"none"},transitionDuration:"{transition.duration}"},list:{padding:"0.25rem 0.25rem",gap:"2px",header:{padding:"0.5rem 1rem 0.25rem 1rem"},option:{padding:"0.5rem 0.75rem",borderRadius:"{border.radius.sm}"},optionGroup:{padding:"0.5rem 0.75rem",fontWeight:"600"}},content:{borderRadius:"{border.radius.md}"},mask:{transitionDuration:"0.15s"},navigation:{list:{padding:"0.25rem 0.25rem",gap:"2px"},item:{padding:"0.5rem 0.75rem",borderRadius:"{border.radius.sm}",gap:"0.5rem"},submenuLabel:{padding:"0.5rem 0.75rem",fontWeight:"600"},submenuIcon:{size:"0.875rem"}},overlay:{select:{borderRadius:"{border.radius.md}",shadow:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)"},popover:{borderRadius:"{border.radius.md}",padding:"0.75rem",shadow:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)"},modal:{borderRadius:"{border.radius.xl}",padding:"1.25rem",shadow:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1)"},navigation:{shadow:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)"}},colorScheme:{light:{surface:{0:"#ffffff",50:"{slate.50}",100:"{slate.100}",200:"{slate.200}",300:"{slate.300}",400:"{slate.400}",500:"{slate.500}",600:"{slate.600}",700:"{slate.700}",800:"{slate.800}",900:"{slate.900}",950:"{slate.950}"},primary:{color:"{primary.500}",contrastColor:"#ffffff",hoverColor:"{primary.600}",activeColor:"{primary.700}"},highlight:{background:"{primary.50}",focusBackground:"{primary.100}",color:"{primary.700}",focusColor:"{primary.800}"},mask:{background:"rgba(0,0,0,0.4)",color:"{surface.200}"},formField:{background:"{surface.0}",disabledBackground:"{surface.200}",filledBackground:"{surface.50}",filledHoverBackground:"{surface.50}",filledFocusBackground:"{surface.50}",borderColor:"{surface.300}",hoverBorderColor:"{surface.400}",focusBorderColor:"{primary.color}",invalidBorderColor:"{red.400}",color:"{surface.700}",disabledColor:"{surface.500}",placeholderColor:"{surface.500}",invalidPlaceholderColor:"{red.600}",floatLabelColor:"{surface.500}",floatLabelFocusColor:"{primary.600}",floatLabelActiveColor:"{surface.500}",floatLabelInvalidColor:"{form.field.invalid.placeholder.color}",iconColor:"{surface.400}",shadow:"0 0 #0000, 0 0 #0000, 0 1px 2px 0 rgba(18, 18, 23, 0.05)"},text:{color:"{surface.700}",hoverColor:"{surface.800}",mutedColor:"{surface.500}",hoverMutedColor:"{surface.600}"},content:{background:"{surface.0}",hoverBackground:"{surface.100}",borderColor:"{surface.200}",color:"{text.color}",hoverColor:"{text.hover.color}"},overlay:{select:{background:"{surface.0}",borderColor:"{surface.200}",color:"{text.color}"},popover:{background:"{surface.0}",borderColor:"{surface.200}",color:"{text.color}"},modal:{background:"{surface.0}",borderColor:"{surface.200}",color:"{text.color}"}},list:{option:{focusBackground:"{surface.100}",selectedBackground:"{highlight.background}",selectedFocusBackground:"{highlight.focus.background}",color:"{text.color}",focusColor:"{text.hover.color}",selectedColor:"{highlight.color}",selectedFocusColor:"{highlight.focus.color}",icon:{color:"{surface.400}",focusColor:"{surface.500}"}},optionGroup:{background:"transparent",color:"{text.muted.color}"}},navigation:{item:{focusBackground:"{surface.100}",activeBackground:"{surface.100}",color:"{text.color}",focusColor:"{text.hover.color}",activeColor:"{text.hover.color}",icon:{color:"{surface.400}",focusColor:"{surface.500}",activeColor:"{surface.500}"}},submenuLabel:{background:"transparent",color:"{text.muted.color}"},submenuIcon:{color:"{surface.400}",focusColor:"{surface.500}",activeColor:"{surface.500}"}}},dark:{surface:{0:"#ffffff",50:"{zinc.50}",100:"{zinc.100}",200:"{zinc.200}",300:"{zinc.300}",400:"{zinc.400}",500:"{zinc.500}",600:"{zinc.600}",700:"{zinc.700}",800:"{zinc.800}",900:"{zinc.900}",950:"{zinc.950}"},primary:{color:"{primary.400}",contrastColor:"{surface.900}",hoverColor:"{primary.300}",activeColor:"{primary.200}"},highlight:{background:"color-mix(in srgb, {primary.400}, transparent 84%)",focusBackground:"color-mix(in srgb, {primary.400}, transparent 76%)",color:"rgba(255,255,255,.87)",focusColor:"rgba(255,255,255,.87)"},mask:{background:"rgba(0,0,0,0.6)",color:"{surface.200}"},formField:{background:"{surface.950}",disabledBackground:"{surface.700}",filledBackground:"{surface.800}",filledHoverBackground:"{surface.800}",filledFocusBackground:"{surface.800}",borderColor:"{surface.600}",hoverBorderColor:"{surface.500}",focusBorderColor:"{primary.color}",invalidBorderColor:"{red.300}",color:"{surface.0}",disabledColor:"{surface.400}",placeholderColor:"{surface.400}",invalidPlaceholderColor:"{red.400}",floatLabelColor:"{surface.400}",floatLabelFocusColor:"{primary.color}",floatLabelActiveColor:"{surface.400}",floatLabelInvalidColor:"{form.field.invalid.placeholder.color}",iconColor:"{surface.400}",shadow:"0 0 #0000, 0 0 #0000, 0 1px 2px 0 rgba(18, 18, 23, 0.05)"},text:{color:"{surface.0}",hoverColor:"{surface.0}",mutedColor:"{surface.400}",hoverMutedColor:"{surface.300}"},content:{background:"{surface.900}",hoverBackground:"{surface.800}",borderColor:"{surface.700}",color:"{text.color}",hoverColor:"{text.hover.color}"},overlay:{select:{background:"{surface.900}",borderColor:"{surface.700}",color:"{text.color}"},popover:{background:"{surface.900}",borderColor:"{surface.700}",color:"{text.color}"},modal:{background:"{surface.900}",borderColor:"{surface.700}",color:"{text.color}"}},list:{option:{focusBackground:"{surface.800}",selectedBackground:"{highlight.background}",selectedFocusBackground:"{highlight.focus.background}",color:"{text.color}",focusColor:"{text.hover.color}",selectedColor:"{highlight.color}",selectedFocusColor:"{highlight.focus.color}",icon:{color:"{surface.500}",focusColor:"{surface.400}"}},optionGroup:{background:"transparent",color:"{text.muted.color}"}},navigation:{item:{focusBackground:"{surface.800}",activeBackground:"{surface.800}",color:"{text.color}",focusColor:"{text.hover.color}",activeColor:"{text.hover.color}",icon:{color:"{surface.500}",focusColor:"{surface.400}",activeColor:"{surface.400}"}},submenuLabel:{background:"transparent",color:"{text.muted.color}"},submenuIcon:{color:"{surface.500}",focusColor:"{surface.400}",activeColor:"{surface.400}"}}}}},ft={primitive:pd,semantic:md};var gd={borderRadius:"{content.border.radius}"},pt={root:gd};var hd={padding:"1rem",background:"{content.background}",gap:"0.5rem",transitionDuration:"{transition.duration}"},bd={color:"{text.muted.color}",hoverColor:"{text.color}",borderRadius:"{content.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",hoverColor:"{navigation.item.icon.focus.color}"},focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},yd={color:"{navigation.item.icon.color}"},mt={root:hd,item:bd,separator:yd};var vd={borderRadius:"{form.field.border.radius}",roundedBorderRadius:"2rem",gap:"0.5rem",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",iconOnlyWidth:"2.5rem",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}",iconOnlyWidth:"2rem"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}",iconOnlyWidth:"3rem"},label:{fontWeight:"500"},raisedShadow:"0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",offset:"{focus.ring.offset}"},badgeSize:"1rem",transitionDuration:"{form.field.transition.duration}"},kd={light:{root:{primary:{background:"{primary.color}",hoverBackground:"{primary.hover.color}",activeBackground:"{primary.active.color}",borderColor:"{primary.color}",hoverBorderColor:"{primary.hover.color}",activeBorderColor:"{primary.active.color}",color:"{primary.contrast.color}",hoverColor:"{primary.contrast.color}",activeColor:"{primary.contrast.color}",focusRing:{color:"{primary.color}",shadow:"none"}},secondary:{background:"{surface.100}",hoverBackground:"{surface.200}",activeBackground:"{surface.300}",borderColor:"{surface.100}",hoverBorderColor:"{surface.200}",activeBorderColor:"{surface.300}",color:"{surface.600}",hoverColor:"{surface.700}",activeColor:"{surface.800}",focusRing:{color:"{surface.600}",shadow:"none"}},info:{background:"{sky.500}",hoverBackground:"{sky.600}",activeBackground:"{sky.700}",borderColor:"{sky.500}",hoverBorderColor:"{sky.600}",activeBorderColor:"{sky.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{sky.500}",shadow:"none"}},success:{background:"{green.500}",hoverBackground:"{green.600}",activeBackground:"{green.700}",borderColor:"{green.500}",hoverBorderColor:"{green.600}",activeBorderColor:"{green.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{green.500}",shadow:"none"}},warn:{background:"{orange.500}",hoverBackground:"{orange.600}",activeBackground:"{orange.700}",borderColor:"{orange.500}",hoverBorderColor:"{orange.600}",activeBorderColor:"{orange.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{orange.500}",shadow:"none"}},help:{background:"{purple.500}",hoverBackground:"{purple.600}",activeBackground:"{purple.700}",borderColor:"{purple.500}",hoverBorderColor:"{purple.600}",activeBorderColor:"{purple.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{purple.500}",shadow:"none"}},danger:{background:"{red.500}",hoverBackground:"{red.600}",activeBackground:"{red.700}",borderColor:"{red.500}",hoverBorderColor:"{red.600}",activeBorderColor:"{red.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{red.500}",shadow:"none"}},contrast:{background:"{surface.950}",hoverBackground:"{surface.900}",activeBackground:"{surface.800}",borderColor:"{surface.950}",hoverBorderColor:"{surface.900}",activeBorderColor:"{surface.800}",color:"{surface.0}",hoverColor:"{surface.0}",activeColor:"{surface.0}",focusRing:{color:"{surface.950}",shadow:"none"}}},outlined:{primary:{hoverBackground:"{primary.50}",activeBackground:"{primary.100}",borderColor:"{primary.200}",color:"{primary.color}"},secondary:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",borderColor:"{surface.200}",color:"{surface.500}"},success:{hoverBackground:"{green.50}",activeBackground:"{green.100}",borderColor:"{green.200}",color:"{green.500}"},info:{hoverBackground:"{sky.50}",activeBackground:"{sky.100}",borderColor:"{sky.200}",color:"{sky.500}"},warn:{hoverBackground:"{orange.50}",activeBackground:"{orange.100}",borderColor:"{orange.200}",color:"{orange.500}"},help:{hoverBackground:"{purple.50}",activeBackground:"{purple.100}",borderColor:"{purple.200}",color:"{purple.500}"},danger:{hoverBackground:"{red.50}",activeBackground:"{red.100}",borderColor:"{red.200}",color:"{red.500}"},contrast:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",borderColor:"{surface.700}",color:"{surface.950}"},plain:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",borderColor:"{surface.200}",color:"{surface.700}"}},text:{primary:{hoverBackground:"{primary.50}",activeBackground:"{primary.100}",color:"{primary.color}"},secondary:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",color:"{surface.500}"},success:{hoverBackground:"{green.50}",activeBackground:"{green.100}",color:"{green.500}"},info:{hoverBackground:"{sky.50}",activeBackground:"{sky.100}",color:"{sky.500}"},warn:{hoverBackground:"{orange.50}",activeBackground:"{orange.100}",color:"{orange.500}"},help:{hoverBackground:"{purple.50}",activeBackground:"{purple.100}",color:"{purple.500}"},danger:{hoverBackground:"{red.50}",activeBackground:"{red.100}",color:"{red.500}"},contrast:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",color:"{surface.950}"},plain:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",color:"{surface.700}"}},link:{color:"{primary.color}",hoverColor:"{primary.color}",activeColor:"{primary.color}"}},dark:{root:{primary:{background:"{primary.color}",hoverBackground:"{primary.hover.color}",activeBackground:"{primary.active.color}",borderColor:"{primary.color}",hoverBorderColor:"{primary.hover.color}",activeBorderColor:"{primary.active.color}",color:"{primary.contrast.color}",hoverColor:"{primary.contrast.color}",activeColor:"{primary.contrast.color}",focusRing:{color:"{primary.color}",shadow:"none"}},secondary:{background:"{surface.800}",hoverBackground:"{surface.700}",activeBackground:"{surface.600}",borderColor:"{surface.800}",hoverBorderColor:"{surface.700}",activeBorderColor:"{surface.600}",color:"{surface.300}",hoverColor:"{surface.200}",activeColor:"{surface.100}",focusRing:{color:"{surface.300}",shadow:"none"}},info:{background:"{sky.400}",hoverBackground:"{sky.300}",activeBackground:"{sky.200}",borderColor:"{sky.400}",hoverBorderColor:"{sky.300}",activeBorderColor:"{sky.200}",color:"{sky.950}",hoverColor:"{sky.950}",activeColor:"{sky.950}",focusRing:{color:"{sky.400}",shadow:"none"}},success:{background:"{green.400}",hoverBackground:"{green.300}",activeBackground:"{green.200}",borderColor:"{green.400}",hoverBorderColor:"{green.300}",activeBorderColor:"{green.200}",color:"{green.950}",hoverColor:"{green.950}",activeColor:"{green.950}",focusRing:{color:"{green.400}",shadow:"none"}},warn:{background:"{orange.400}",hoverBackground:"{orange.300}",activeBackground:"{orange.200}",borderColor:"{orange.400}",hoverBorderColor:"{orange.300}",activeBorderColor:"{orange.200}",color:"{orange.950}",hoverColor:"{orange.950}",activeColor:"{orange.950}",focusRing:{color:"{orange.400}",shadow:"none"}},help:{background:"{purple.400}",hoverBackground:"{purple.300}",activeBackground:"{purple.200}",borderColor:"{purple.400}",hoverBorderColor:"{purple.300}",activeBorderColor:"{purple.200}",color:"{purple.950}",hoverColor:"{purple.950}",activeColor:"{purple.950}",focusRing:{color:"{purple.400}",shadow:"none"}},danger:{background:"{red.400}",hoverBackground:"{red.300}",activeBackground:"{red.200}",borderColor:"{red.400}",hoverBorderColor:"{red.300}",activeBorderColor:"{red.200}",color:"{red.950}",hoverColor:"{red.950}",activeColor:"{red.950}",focusRing:{color:"{red.400}",shadow:"none"}},contrast:{background:"{surface.0}",hoverBackground:"{surface.100}",activeBackground:"{surface.200}",borderColor:"{surface.0}",hoverBorderColor:"{surface.100}",activeBorderColor:"{surface.200}",color:"{surface.950}",hoverColor:"{surface.950}",activeColor:"{surface.950}",focusRing:{color:"{surface.0}",shadow:"none"}}},outlined:{primary:{hoverBackground:"color-mix(in srgb, {primary.color}, transparent 96%)",activeBackground:"color-mix(in srgb, {primary.color}, transparent 84%)",borderColor:"{primary.700}",color:"{primary.color}"},secondary:{hoverBackground:"rgba(255,255,255,0.04)",activeBackground:"rgba(255,255,255,0.16)",borderColor:"{surface.700}",color:"{surface.400}"},success:{hoverBackground:"color-mix(in srgb, {green.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {green.400}, transparent 84%)",borderColor:"{green.700}",color:"{green.400}"},info:{hoverBackground:"color-mix(in srgb, {sky.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {sky.400}, transparent 84%)",borderColor:"{sky.700}",color:"{sky.400}"},warn:{hoverBackground:"color-mix(in srgb, {orange.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {orange.400}, transparent 84%)",borderColor:"{orange.700}",color:"{orange.400}"},help:{hoverBackground:"color-mix(in srgb, {purple.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {purple.400}, transparent 84%)",borderColor:"{purple.700}",color:"{purple.400}"},danger:{hoverBackground:"color-mix(in srgb, {red.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {red.400}, transparent 84%)",borderColor:"{red.700}",color:"{red.400}"},contrast:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",borderColor:"{surface.500}",color:"{surface.0}"},plain:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",borderColor:"{surface.600}",color:"{surface.0}"}},text:{primary:{hoverBackground:"color-mix(in srgb, {primary.color}, transparent 96%)",activeBackground:"color-mix(in srgb, {primary.color}, transparent 84%)",color:"{primary.color}"},secondary:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",color:"{surface.400}"},success:{hoverBackground:"color-mix(in srgb, {green.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {green.400}, transparent 84%)",color:"{green.400}"},info:{hoverBackground:"color-mix(in srgb, {sky.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {sky.400}, transparent 84%)",color:"{sky.400}"},warn:{hoverBackground:"color-mix(in srgb, {orange.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {orange.400}, transparent 84%)",color:"{orange.400}"},help:{hoverBackground:"color-mix(in srgb, {purple.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {purple.400}, transparent 84%)",color:"{purple.400}"},danger:{hoverBackground:"color-mix(in srgb, {red.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {red.400}, transparent 84%)",color:"{red.400}"},contrast:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",color:"{surface.0}"},plain:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",color:"{surface.0}"}},link:{color:"{primary.color}",hoverColor:"{primary.color}",activeColor:"{primary.color}"}}},gt={root:vd,colorScheme:kd};var wd={background:"{content.background}",borderRadius:"{border.radius.xl}",color:"{content.color}",shadow:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)"},Cd={padding:"1.25rem",gap:"0.5rem"},xd={gap:"0.5rem"},_d={fontSize:"1.25rem",fontWeight:"500"},Sd={color:"{text.muted.color}"},ht={root:wd,body:Cd,caption:xd,title:_d,subtitle:Sd};var Td={transitionDuration:"{transition.duration}"},Ed={gap:"0.25rem"},Md={padding:"1rem",gap:"0.5rem"},Ad={width:"2rem",height:"0.5rem",borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},Pd={light:{indicator:{background:"{surface.200}",hoverBackground:"{surface.300}",activeBackground:"{primary.color}"}},dark:{indicator:{background:"{surface.700}",hoverBackground:"{surface.600}",activeBackground:"{primary.color}"}}},bt={root:Td,content:Ed,indicatorList:Md,indicator:Ad,colorScheme:Pd};var Bd={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},Rd={width:"2.5rem",color:"{form.field.icon.color}"},Id={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},Nd={padding:"{list.padding}",gap:"{list.gap}",mobileIndent:"1rem"},Dd={focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}",icon:{color:"{list.option.icon.color}",focusColor:"{list.option.icon.focus.color}",size:"0.875rem"}},Od={color:"{form.field.icon.color}"},yt={root:Bd,dropdown:Rd,overlay:Id,list:Nd,option:Dd,clearIcon:Od};var Ld={borderRadius:"{border.radius.sm}",width:"1.25rem",height:"1.25rem",background:"{form.field.background}",checkedBackground:"{primary.color}",checkedHoverBackground:"{primary.hover.color}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.border.color}",checkedBorderColor:"{primary.color}",checkedHoverBorderColor:"{primary.hover.color}",checkedFocusBorderColor:"{primary.color}",checkedDisabledBorderColor:"{form.field.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",shadow:"{form.field.shadow}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{width:"1rem",height:"1rem"},lg:{width:"1.5rem",height:"1.5rem"}},zd={size:"0.875rem",color:"{form.field.color}",checkedColor:"{primary.contrast.color}",checkedHoverColor:"{primary.contrast.color}",disabledColor:"{form.field.disabled.color}",sm:{size:"0.75rem"},lg:{size:"1rem"}},vt={root:Ld,icon:zd};var Fd={borderRadius:"16px",paddingX:"0.75rem",paddingY:"0.5rem",gap:"0.5rem",transitionDuration:"{transition.duration}"},jd={width:"2rem",height:"2rem"},Wd={size:"1rem"},Ud={size:"1rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"}},qd={light:{root:{background:"{surface.100}",color:"{surface.800}"},icon:{color:"{surface.800}"},removeIcon:{color:"{surface.800}"}},dark:{root:{background:"{surface.800}",color:"{surface.0}"},icon:{color:"{surface.0}"},removeIcon:{color:"{surface.0}"}}},kt={root:Fd,image:jd,icon:Wd,removeIcon:Ud,colorScheme:qd};var Hd={transitionDuration:"{transition.duration}"},Kd={width:"1.5rem",height:"1.5rem",borderRadius:"{form.field.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},Vd={shadow:"{overlay.popover.shadow}",borderRadius:"{overlay.popover.borderRadius}"},Qd={light:{panel:{background:"{surface.800}",borderColor:"{surface.900}"},handle:{color:"{surface.0}"}},dark:{panel:{background:"{surface.900}",borderColor:"{surface.700}"},handle:{color:"{surface.0}"}}},wt={root:Hd,preview:Kd,panel:Vd,colorScheme:Qd};var $d={size:"2rem",color:"{overlay.modal.color}"},Yd={gap:"1rem"},Ct={icon:$d,content:Yd};var Gd={background:"{overlay.popover.background}",borderColor:"{overlay.popover.border.color}",color:"{overlay.popover.color}",borderRadius:"{overlay.popover.border.radius}",shadow:"{overlay.popover.shadow}",gutter:"10px",arrowOffset:"1.25rem"},Xd={padding:"{overlay.popover.padding}",gap:"1rem"},Zd={size:"1.5rem",color:"{overlay.popover.color}"},Jd={gap:"0.5rem",padding:"0 {overlay.popover.padding} {overlay.popover.padding} {overlay.popover.padding}"},xt={root:Gd,content:Xd,icon:Zd,footer:Jd};var eu={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",transitionDuration:"{transition.duration}"},ou={padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},ru={focusBackground:"{navigation.item.focus.background}",activeBackground:"{navigation.item.active.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",activeColor:"{navigation.item.active.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}",activeColor:"{navigation.item.icon.active.color}"}},tu={mobileIndent:"1rem"},nu={size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"},iu={borderColor:"{content.border.color}"},_t={root:eu,list:ou,item:ru,submenu:tu,submenuIcon:nu,separator:iu};var au={transitionDuration:"{transition.duration}"},su={background:"{content.background}",borderColor:"{datatable.border.color}",color:"{content.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem",sm:{padding:"0.375rem 0.5rem"},lg:{padding:"1rem 1.25rem"}},lu={background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",borderColor:"{datatable.border.color}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{highlight.color}",gap:"0.5rem",padding:"0.75rem 1rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"},sm:{padding:"0.375rem 0.5rem"},lg:{padding:"1rem 1.25rem"}},cu={fontWeight:"600"},du={background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{highlight.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},uu={borderColor:"{datatable.border.color}",padding:"0.75rem 1rem",sm:{padding:"0.375rem 0.5rem"},lg:{padding:"1rem 1.25rem"}},fu={background:"{content.background}",borderColor:"{datatable.border.color}",color:"{content.color}",padding:"0.75rem 1rem",sm:{padding:"0.375rem 0.5rem"},lg:{padding:"1rem 1.25rem"}},pu={fontWeight:"600"},mu={background:"{content.background}",borderColor:"{datatable.border.color}",color:"{content.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem",sm:{padding:"0.375rem 0.5rem"},lg:{padding:"1rem 1.25rem"}},gu={color:"{primary.color}"},hu={width:"0.5rem"},bu={width:"1px",color:"{primary.color}"},yu={color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",size:"0.875rem"},vu={size:"2rem"},ku={hoverBackground:"{content.hover.background}",selectedHoverBackground:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.color}",selectedHoverColor:"{primary.color}",size:"1.75rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},wu={inlineGap:"0.5rem",overlaySelect:{background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},overlayPopover:{background:"{overlay.popover.background}",borderColor:"{overlay.popover.border.color}",borderRadius:"{overlay.popover.border.radius}",color:"{overlay.popover.color}",shadow:"{overlay.popover.shadow}",padding:"{overlay.popover.padding}",gap:"0.5rem"},rule:{borderColor:"{content.border.color}"},constraintList:{padding:"{list.padding}",gap:"{list.gap}"},constraint:{focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",separator:{borderColor:"{content.border.color}"},padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"}},Cu={borderColor:"{datatable.border.color}",borderWidth:"0 0 1px 0"},xu={borderColor:"{datatable.border.color}",borderWidth:"0 0 1px 0"},_u={light:{root:{borderColor:"{content.border.color}"},row:{stripedBackground:"{surface.50}"},bodyCell:{selectedBorderColor:"{primary.100}"}},dark:{root:{borderColor:"{surface.800}"},row:{stripedBackground:"{surface.950}"},bodyCell:{selectedBorderColor:"{primary.900}"}}},St={root:au,header:su,headerCell:lu,columnTitle:cu,row:du,bodyCell:uu,footerCell:fu,columnFooter:pu,footer:mu,dropPoint:gu,columnResizer:hu,resizeIndicator:bu,sortIcon:yu,loadingIcon:vu,rowToggleButton:ku,filter:wu,paginatorTop:Cu,paginatorBottom:xu,colorScheme:_u};var Su={borderColor:"transparent",borderWidth:"0",borderRadius:"0",padding:"0"},Tu={background:"{content.background}",color:"{content.color}",borderColor:"{content.border.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem",borderRadius:"0"},Eu={background:"{content.background}",color:"{content.color}",borderColor:"transparent",borderWidth:"0",padding:"0",borderRadius:"0"},Mu={background:"{content.background}",color:"{content.color}",borderColor:"{content.border.color}",borderWidth:"1px 0 0 0",padding:"0.75rem 1rem",borderRadius:"0"},Au={borderColor:"{content.border.color}",borderWidth:"0 0 1px 0"},Pu={borderColor:"{content.border.color}",borderWidth:"1px 0 0 0"},Tt={root:Su,header:Tu,content:Eu,footer:Mu,paginatorTop:Au,paginatorBottom:Pu};var Bu={transitionDuration:"{transition.duration}"},Ru={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.popover.shadow}",padding:"{overlay.popover.padding}"},Iu={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",padding:"0 0 0.5rem 0"},Nu={gap:"0.5rem",fontWeight:"500"},Du={width:"2.5rem",sm:{width:"2rem"},lg:{width:"3rem"},borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.border.color}",activeBorderColor:"{form.field.border.color}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},Ou={color:"{form.field.icon.color}"},Lu={hoverBackground:"{content.hover.background}",color:"{content.color}",hoverColor:"{content.hover.color}",padding:"0.25rem 0.5rem",borderRadius:"{content.border.radius}"},zu={hoverBackground:"{content.hover.background}",color:"{content.color}",hoverColor:"{content.hover.color}",padding:"0.25rem 0.5rem",borderRadius:"{content.border.radius}"},Fu={borderColor:"{content.border.color}",gap:"{overlay.popover.padding}"},ju={margin:"0.5rem 0 0 0"},Wu={padding:"0.25rem",fontWeight:"500",color:"{content.color}"},Uu={hoverBackground:"{content.hover.background}",selectedBackground:"{primary.color}",rangeSelectedBackground:"{highlight.background}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{primary.contrast.color}",rangeSelectedColor:"{highlight.color}",width:"2rem",height:"2rem",borderRadius:"50%",padding:"0.25rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},qu={margin:"0.5rem 0 0 0"},Hu={padding:"0.375rem",borderRadius:"{content.border.radius}"},Ku={margin:"0.5rem 0 0 0"},Vu={padding:"0.375rem",borderRadius:"{content.border.radius}"},Qu={padding:"0.5rem 0 0 0",borderColor:"{content.border.color}"},$u={padding:"0.5rem 0 0 0",borderColor:"{content.border.color}",gap:"0.5rem",buttonGap:"0.25rem"},Yu={light:{dropdown:{background:"{surface.100}",hoverBackground:"{surface.200}",activeBackground:"{surface.300}",color:"{surface.600}",hoverColor:"{surface.700}",activeColor:"{surface.800}"},today:{background:"{surface.200}",color:"{surface.900}"}},dark:{dropdown:{background:"{surface.800}",hoverBackground:"{surface.700}",activeBackground:"{surface.600}",color:"{surface.300}",hoverColor:"{surface.200}",activeColor:"{surface.100}"},today:{background:"{surface.700}",color:"{surface.0}"}}},Et={root:Bu,panel:Ru,header:Iu,title:Nu,dropdown:Du,inputIcon:Ou,selectMonth:Lu,selectYear:zu,group:Fu,dayView:ju,weekDay:Wu,date:Uu,monthView:qu,month:Hu,yearView:Ku,year:Vu,buttonbar:Qu,timePicker:$u,colorScheme:Yu};var Gu={background:"{overlay.modal.background}",borderColor:"{overlay.modal.border.color}",color:"{overlay.modal.color}",borderRadius:"{overlay.modal.border.radius}",shadow:"{overlay.modal.shadow}"},Xu={padding:"{overlay.modal.padding}",gap:"0.5rem"},Zu={fontSize:"1.25rem",fontWeight:"600"},Ju={padding:"0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}"},ef={padding:"0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}",gap:"0.5rem"},Mt={root:Gu,header:Xu,title:Zu,content:Ju,footer:ef};var of={borderColor:"{content.border.color}"},rf={background:"{content.background}",color:"{text.color}"},tf={margin:"1rem 0",padding:"0 1rem",content:{padding:"0 0.5rem"}},nf={margin:"0 1rem",padding:"0.5rem 0",content:{padding:"0.5rem 0"}},At={root:of,content:rf,horizontal:tf,vertical:nf};var af={background:"rgba(255, 255, 255, 0.1)",borderColor:"rgba(255, 255, 255, 0.2)",padding:"0.5rem",borderRadius:"{border.radius.xl}"},sf={borderRadius:"{content.border.radius}",padding:"0.5rem",size:"3rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},Pt={root:af,item:sf};var lf={background:"{overlay.modal.background}",borderColor:"{overlay.modal.border.color}",color:"{overlay.modal.color}",shadow:"{overlay.modal.shadow}"},cf={padding:"{overlay.modal.padding}"},df={fontSize:"1.5rem",fontWeight:"600"},uf={padding:"0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}"},ff={padding:"{overlay.modal.padding}"},Bt={root:lf,header:cf,title:df,content:uf,footer:ff};var pf={background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}"},mf={color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}"},gf={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}",padding:"{list.padding}"},hf={focusBackground:"{list.option.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"},bf={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}"},Rt={toolbar:pf,toolbarItem:mf,overlay:gf,overlayOption:hf,content:bf};var yf={background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",padding:"0 1.125rem 1.125rem 1.125rem",transitionDuration:"{transition.duration}"},vf={background:"{content.background}",hoverBackground:"{content.hover.background}",color:"{content.color}",hoverColor:"{content.hover.color}",borderRadius:"{content.border.radius}",borderWidth:"1px",borderColor:"transparent",padding:"0.5rem 0.75rem",gap:"0.5rem",fontWeight:"600",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},kf={color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}"},wf={padding:"0"},It={root:yf,legend:vf,toggleIcon:kf,content:wf};var Cf={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",transitionDuration:"{transition.duration}"},xf={background:"transparent",color:"{text.color}",padding:"1.125rem",borderColor:"unset",borderWidth:"0",borderRadius:"0",gap:"0.5rem"},_f={highlightBorderColor:"{primary.color}",padding:"0 1.125rem 1.125rem 1.125rem",gap:"1rem"},Sf={padding:"1rem",gap:"1rem",borderColor:"{content.border.color}",info:{gap:"0.5rem"}},Tf={gap:"0.5rem"},Ef={height:"0.25rem"},Mf={gap:"0.5rem"},Nt={root:Cf,header:xf,content:_f,file:Sf,fileList:Tf,progressbar:Ef,basic:Mf};var Af={color:"{form.field.float.label.color}",focusColor:"{form.field.float.label.focus.color}",activeColor:"{form.field.float.label.active.color}",invalidColor:"{form.field.float.label.invalid.color}",transitionDuration:"0.2s",positionX:"{form.field.padding.x}",positionY:"{form.field.padding.y}",fontWeight:"500",active:{fontSize:"0.75rem",fontWeight:"400"}},Pf={active:{top:"-1.25rem"}},Bf={input:{paddingTop:"1.5rem",paddingBottom:"{form.field.padding.y}"},active:{top:"{form.field.padding.y}"}},Rf={borderRadius:"{border.radius.xs}",active:{background:"{form.field.background}",padding:"0 0.125rem"}},Dt={root:Af,over:Pf,in:Bf,on:Rf};var If={borderWidth:"1px",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",transitionDuration:"{transition.duration}"},Nf={background:"rgba(255, 255, 255, 0.1)",hoverBackground:"rgba(255, 255, 255, 0.2)",color:"{surface.100}",hoverColor:"{surface.0}",size:"3rem",gutter:"0.5rem",prev:{borderRadius:"50%"},next:{borderRadius:"50%"},focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},Df={size:"1.5rem"},Of={background:"{content.background}",padding:"1rem 0.25rem"},Lf={size:"2rem",borderRadius:"{content.border.radius}",gutter:"0.5rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},zf={size:"1rem"},Ff={background:"rgba(0, 0, 0, 0.5)",color:"{surface.100}",padding:"1rem"},jf={gap:"0.5rem",padding:"1rem"},Wf={width:"1rem",height:"1rem",activeBackground:"{primary.color}",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},Uf={background:"rgba(0, 0, 0, 0.5)"},qf={background:"rgba(255, 255, 255, 0.4)",hoverBackground:"rgba(255, 255, 255, 0.6)",activeBackground:"rgba(255, 255, 255, 0.9)"},Hf={size:"3rem",gutter:"0.5rem",background:"rgba(255, 255, 255, 0.1)",hoverBackground:"rgba(255, 255, 255, 0.2)",color:"{surface.50}",hoverColor:"{surface.0}",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},Kf={size:"1.5rem"},Vf={light:{thumbnailNavButton:{hoverBackground:"{surface.100}",color:"{surface.600}",hoverColor:"{surface.700}"},indicatorButton:{background:"{surface.200}",hoverBackground:"{surface.300}"}},dark:{thumbnailNavButton:{hoverBackground:"{surface.700}",color:"{surface.400}",hoverColor:"{surface.0}"},indicatorButton:{background:"{surface.700}",hoverBackground:"{surface.600}"}}},Ot={root:If,navButton:Nf,navIcon:Df,thumbnailsContent:Of,thumbnailNavButton:Lf,thumbnailNavButtonIcon:zf,caption:Ff,indicatorList:jf,indicatorButton:Wf,insetIndicatorList:Uf,insetIndicatorButton:qf,closeButton:Hf,closeButtonIcon:Kf,colorScheme:Vf};var Qf={color:"{form.field.icon.color}"},Lt={icon:Qf};var $f={color:"{form.field.float.label.color}",focusColor:"{form.field.float.label.focus.color}",invalidColor:"{form.field.float.label.invalid.color}",transitionDuration:"0.2s",positionX:"{form.field.padding.x}",top:"{form.field.padding.y}",fontSize:"0.75rem",fontWeight:"400"},Yf={paddingTop:"1.5rem",paddingBottom:"{form.field.padding.y}"},zt={root:$f,input:Yf};var Gf={transitionDuration:"{transition.duration}"},Xf={icon:{size:"1.5rem"},mask:{background:"{mask.background}",color:"{mask.color}"}},Zf={position:{left:"auto",right:"1rem",top:"1rem",bottom:"auto"},blur:"8px",background:"rgba(255,255,255,0.1)",borderColor:"rgba(255,255,255,0.2)",borderWidth:"1px",borderRadius:"30px",padding:".5rem",gap:"0.5rem"},Jf={hoverBackground:"rgba(255,255,255,0.1)",color:"{surface.50}",hoverColor:"{surface.0}",size:"3rem",iconSize:"1.5rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},Ft={root:Gf,preview:Xf,toolbar:Zf,action:Jf};var ep={size:"15px",hoverSize:"30px",background:"rgba(255,255,255,0.3)",hoverBackground:"rgba(255,255,255,0.3)",borderColor:"unset",hoverBorderColor:"unset",borderWidth:"0",borderRadius:"50%",transitionDuration:"{transition.duration}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"rgba(255,255,255,0.3)",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},jt={handle:ep};var op={padding:"{form.field.padding.y} {form.field.padding.x}",borderRadius:"{content.border.radius}",gap:"0.5rem"},rp={fontWeight:"500"},tp={size:"1rem"},np={light:{info:{background:"color-mix(in srgb, {blue.50}, transparent 5%)",borderColor:"{blue.200}",color:"{blue.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)"},success:{background:"color-mix(in srgb, {green.50}, transparent 5%)",borderColor:"{green.200}",color:"{green.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)"},warn:{background:"color-mix(in srgb,{yellow.50}, transparent 5%)",borderColor:"{yellow.200}",color:"{yellow.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)"},error:{background:"color-mix(in srgb, {red.50}, transparent 5%)",borderColor:"{red.200}",color:"{red.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)"},secondary:{background:"{surface.100}",borderColor:"{surface.200}",color:"{surface.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)"},contrast:{background:"{surface.900}",borderColor:"{surface.950}",color:"{surface.50}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)"}},dark:{info:{background:"color-mix(in srgb, {blue.500}, transparent 84%)",borderColor:"color-mix(in srgb, {blue.700}, transparent 64%)",color:"{blue.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)"},success:{background:"color-mix(in srgb, {green.500}, transparent 84%)",borderColor:"color-mix(in srgb, {green.700}, transparent 64%)",color:"{green.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)"},warn:{background:"color-mix(in srgb, {yellow.500}, transparent 84%)",borderColor:"color-mix(in srgb, {yellow.700}, transparent 64%)",color:"{yellow.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)"},error:{background:"color-mix(in srgb, {red.500}, transparent 84%)",borderColor:"color-mix(in srgb, {red.700}, transparent 64%)",color:"{red.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)"},secondary:{background:"{surface.800}",borderColor:"{surface.700}",color:"{surface.300}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)"},contrast:{background:"{surface.0}",borderColor:"{surface.100}",color:"{surface.950}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)"}}},Wt={root:op,text:rp,icon:tp,colorScheme:np};var ip={padding:"{form.field.padding.y} {form.field.padding.x}",borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},transitionDuration:"{transition.duration}"},ap={hoverBackground:"{content.hover.background}",hoverColor:"{content.hover.color}"},Ut={root:ip,display:ap};var sp={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}"},lp={borderRadius:"{border.radius.sm}"},cp={light:{chip:{focusBackground:"{surface.200}",color:"{surface.800}"}},dark:{chip:{focusBackground:"{surface.700}",color:"{surface.0}"}}},qt={root:sp,chip:lp,colorScheme:cp};var dp={background:"{form.field.background}",borderColor:"{form.field.border.color}",color:"{form.field.icon.color}",borderRadius:"{form.field.border.radius}",padding:"0.5rem",minWidth:"2.5rem"},Ht={addon:dp};var up={transitionDuration:"{transition.duration}"},fp={width:"2.5rem",borderRadius:"{form.field.border.radius}",verticalPadding:"{form.field.padding.y}"},pp={light:{button:{background:"transparent",hoverBackground:"{surface.100}",activeBackground:"{surface.200}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.border.color}",activeBorderColor:"{form.field.border.color}",color:"{surface.400}",hoverColor:"{surface.500}",activeColor:"{surface.600}"}},dark:{button:{background:"transparent",hoverBackground:"{surface.800}",activeBackground:"{surface.700}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.border.color}",activeBorderColor:"{form.field.border.color}",color:"{surface.400}",hoverColor:"{surface.300}",activeColor:"{surface.200}"}}},Kt={root:up,button:fp,colorScheme:pp};var mp={gap:"0.5rem"},gp={width:"2.5rem",sm:{width:"2rem"},lg:{width:"3rem"}},Vt={root:mp,input:gp};var hp={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},Qt={root:hp};var bp={transitionDuration:"{transition.duration}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},yp={background:"{primary.color}"},vp={background:"{content.border.color}"},kp={color:"{text.muted.color}"},$t={root:bp,value:yp,range:vp,text:kp};var wp={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",borderColor:"{form.field.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",shadow:"{form.field.shadow}",borderRadius:"{form.field.border.radius}",transitionDuration:"{form.field.transition.duration}"},Cp={padding:"{list.padding}",gap:"{list.gap}",header:{padding:"{list.header.padding}"}},xp={focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"},_p={background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},Sp={color:"{list.option.color}",gutterStart:"-0.375rem",gutterEnd:"0.375rem"},Tp={padding:"{list.option.padding}"},Ep={light:{option:{stripedBackground:"{surface.50}"}},dark:{option:{stripedBackground:"{surface.900}"}}},Yt={root:wp,list:Cp,option:xp,optionGroup:_p,checkmark:Sp,emptyMessage:Tp,colorScheme:Ep};var Mp={background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",gap:"0.5rem",verticalOrientation:{padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},horizontalOrientation:{padding:"0.5rem 0.75rem",gap:"0.5rem"},transitionDuration:"{transition.duration}"},Ap={borderRadius:"{content.border.radius}",padding:"{navigation.item.padding}"},Pp={focusBackground:"{navigation.item.focus.background}",activeBackground:"{navigation.item.active.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",activeColor:"{navigation.item.active.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}",activeColor:"{navigation.item.icon.active.color}"}},Bp={padding:"0",background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",shadow:"{overlay.navigation.shadow}",gap:"0.5rem"},Rp={padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},Ip={padding:"{navigation.submenu.label.padding}",fontWeight:"{navigation.submenu.label.font.weight}",background:"{navigation.submenu.label.background}",color:"{navigation.submenu.label.color}"},Np={size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"},Dp={borderColor:"{content.border.color}"},Op={borderRadius:"50%",size:"1.75rem",color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",hoverBackground:"{content.hover.background}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},Gt={root:Mp,baseItem:Ap,item:Pp,overlay:Bp,submenu:Rp,submenuLabel:Ip,submenuIcon:Np,separator:Dp,mobileButton:Op};var Lp={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",transitionDuration:"{transition.duration}"},zp={padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},Fp={focusBackground:"{navigation.item.focus.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}"}},jp={padding:"{navigation.submenu.label.padding}",fontWeight:"{navigation.submenu.label.font.weight}",background:"{navigation.submenu.label.background}",color:"{navigation.submenu.label.color}"},Wp={borderColor:"{content.border.color}"},Xt={root:Lp,list:zp,item:Fp,submenuLabel:jp,separator:Wp};var Up={background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",gap:"0.5rem",padding:"0.5rem 0.75rem",transitionDuration:"{transition.duration}"},qp={borderRadius:"{content.border.radius}",padding:"{navigation.item.padding}"},Hp={focusBackground:"{navigation.item.focus.background}",activeBackground:"{navigation.item.active.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",activeColor:"{navigation.item.active.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}",activeColor:"{navigation.item.icon.active.color}"}},Kp={padding:"{navigation.list.padding}",gap:"{navigation.list.gap}",background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",mobileIndent:"1rem",icon:{size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"}},Vp={borderColor:"{content.border.color}"},Qp={borderRadius:"50%",size:"1.75rem",color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",hoverBackground:"{content.hover.background}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},Zt={root:Up,baseItem:qp,item:Hp,submenu:Kp,separator:Vp,mobileButton:Qp};var $p={borderRadius:"{content.border.radius}",borderWidth:"1px",transitionDuration:"{transition.duration}"},Yp={padding:"0.5rem 0.75rem",gap:"0.5rem",sm:{padding:"0.375rem 0.625rem"},lg:{padding:"0.625rem 0.875rem"}},Gp={fontSize:"1rem",fontWeight:"500",sm:{fontSize:"0.875rem"},lg:{fontSize:"1.125rem"}},Xp={size:"1.125rem",sm:{size:"1rem"},lg:{size:"1.25rem"}},Zp={width:"1.75rem",height:"1.75rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",offset:"{focus.ring.offset}"}},Jp={size:"1rem",sm:{size:"0.875rem"},lg:{size:"1.125rem"}},em={root:{borderWidth:"1px"}},om={content:{padding:"0"}},rm={light:{info:{background:"color-mix(in srgb, {blue.50}, transparent 5%)",borderColor:"{blue.200}",color:"{blue.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)",closeButton:{hoverBackground:"{blue.100}",focusRing:{color:"{blue.600}",shadow:"none"}},outlined:{color:"{blue.600}",borderColor:"{blue.600}"},simple:{color:"{blue.600}"}},success:{background:"color-mix(in srgb, {green.50}, transparent 5%)",borderColor:"{green.200}",color:"{green.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)",closeButton:{hoverBackground:"{green.100}",focusRing:{color:"{green.600}",shadow:"none"}},outlined:{color:"{green.600}",borderColor:"{green.600}"},simple:{color:"{green.600}"}},warn:{background:"color-mix(in srgb,{yellow.50}, transparent 5%)",borderColor:"{yellow.200}",color:"{yellow.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)",closeButton:{hoverBackground:"{yellow.100}",focusRing:{color:"{yellow.600}",shadow:"none"}},outlined:{color:"{yellow.600}",borderColor:"{yellow.600}"},simple:{color:"{yellow.600}"}},error:{background:"color-mix(in srgb, {red.50}, transparent 5%)",borderColor:"{red.200}",color:"{red.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)",closeButton:{hoverBackground:"{red.100}",focusRing:{color:"{red.600}",shadow:"none"}},outlined:{color:"{red.600}",borderColor:"{red.600}"},simple:{color:"{red.600}"}},secondary:{background:"{surface.100}",borderColor:"{surface.200}",color:"{surface.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)",closeButton:{hoverBackground:"{surface.200}",focusRing:{color:"{surface.600}",shadow:"none"}},outlined:{color:"{surface.500}",borderColor:"{surface.500}"},simple:{color:"{surface.500}"}},contrast:{background:"{surface.900}",borderColor:"{surface.950}",color:"{surface.50}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)",closeButton:{hoverBackground:"{surface.800}",focusRing:{color:"{surface.50}",shadow:"none"}},outlined:{color:"{surface.950}",borderColor:"{surface.950}"},simple:{color:"{surface.950}"}}},dark:{info:{background:"color-mix(in srgb, {blue.500}, transparent 84%)",borderColor:"color-mix(in srgb, {blue.700}, transparent 64%)",color:"{blue.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{blue.500}",shadow:"none"}},outlined:{color:"{blue.500}",borderColor:"{blue.500}"},simple:{color:"{blue.500}"}},success:{background:"color-mix(in srgb, {green.500}, transparent 84%)",borderColor:"color-mix(in srgb, {green.700}, transparent 64%)",color:"{green.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{green.500}",shadow:"none"}},outlined:{color:"{green.500}",borderColor:"{green.500}"},simple:{color:"{green.500}"}},warn:{background:"color-mix(in srgb, {yellow.500}, transparent 84%)",borderColor:"color-mix(in srgb, {yellow.700}, transparent 64%)",color:"{yellow.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{yellow.500}",shadow:"none"}},outlined:{color:"{yellow.500}",borderColor:"{yellow.500}"},simple:{color:"{yellow.500}"}},error:{background:"color-mix(in srgb, {red.500}, transparent 84%)",borderColor:"color-mix(in srgb, {red.700}, transparent 64%)",color:"{red.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{red.500}",shadow:"none"}},outlined:{color:"{red.500}",borderColor:"{red.500}"},simple:{color:"{red.500}"}},secondary:{background:"{surface.800}",borderColor:"{surface.700}",color:"{surface.300}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)",closeButton:{hoverBackground:"{surface.700}",focusRing:{color:"{surface.300}",shadow:"none"}},outlined:{color:"{surface.400}",borderColor:"{surface.400}"},simple:{color:"{surface.400}"}},contrast:{background:"{surface.0}",borderColor:"{surface.100}",color:"{surface.950}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)",closeButton:{hoverBackground:"{surface.100}",focusRing:{color:"{surface.950}",shadow:"none"}},outlined:{color:"{surface.0}",borderColor:"{surface.0}"},simple:{color:"{surface.0}"}}}},Jt={root:$p,content:Yp,text:Gp,icon:Xp,closeButton:Zp,closeIcon:Jp,outlined:em,simple:om,colorScheme:rm};var tm={borderRadius:"{content.border.radius}",gap:"1rem"},nm={background:"{content.border.color}",size:"0.5rem"},im={gap:"0.5rem"},am={size:"0.5rem"},sm={size:"1rem"},lm={verticalGap:"0.5rem",horizontalGap:"1rem"},en={root:tm,meters:nm,label:im,labelMarker:am,labelIcon:sm,labelList:lm};var cm={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},dm={width:"2.5rem",color:"{form.field.icon.color}"},um={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},fm={padding:"{list.padding}",gap:"{list.gap}",header:{padding:"{list.header.padding}"}},pm={focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}",gap:"0.5rem"},mm={background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},gm={color:"{form.field.icon.color}"},hm={borderRadius:"{border.radius.sm}"},bm={padding:"{list.option.padding}"},on={root:cm,dropdown:dm,overlay:um,list:fm,option:pm,optionGroup:mm,chip:hm,clearIcon:gm,emptyMessage:bm};var ym={gap:"1.125rem"},vm={gap:"0.5rem"},rn={root:ym,controls:vm};var km={gutter:"0.75rem",transitionDuration:"{transition.duration}"},wm={background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",borderColor:"{content.border.color}",color:"{content.color}",selectedColor:"{highlight.color}",hoverColor:"{content.hover.color}",padding:"0.75rem 1rem",toggleablePadding:"0.75rem 1rem 1.25rem 1rem",borderRadius:"{content.border.radius}"},Cm={background:"{content.background}",hoverBackground:"{content.hover.background}",borderColor:"{content.border.color}",color:"{text.muted.color}",hoverColor:"{text.color}",size:"1.5rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},xm={color:"{content.border.color}",borderRadius:"{content.border.radius}",height:"24px"},tn={root:km,node:wm,nodeToggleButton:Cm,connector:xm};var _m={outline:{width:"2px",color:"{content.background}"}},nn={root:_m};var Sm={padding:"0.5rem 1rem",gap:"0.25rem",borderRadius:"{content.border.radius}",background:"{content.background}",color:"{content.color}",transitionDuration:"{transition.duration}"},Tm={background:"transparent",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",selectedColor:"{highlight.color}",width:"2.5rem",height:"2.5rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},Em={color:"{text.muted.color}"},Mm={maxWidth:"2.5rem"},an={root:Sm,navButton:Tm,currentPageReport:Em,jumpToPageInput:Mm};var Am={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}"},Pm={background:"transparent",color:"{text.color}",padding:"1.125rem",borderColor:"{content.border.color}",borderWidth:"0",borderRadius:"0"},Bm={padding:"0.375rem 1.125rem"},Rm={fontWeight:"600"},Im={padding:"0 1.125rem 1.125rem 1.125rem"},Nm={padding:"0 1.125rem 1.125rem 1.125rem"},sn={root:Am,header:Pm,toggleableHeader:Bm,title:Rm,content:Im,footer:Nm};var Dm={gap:"0.5rem",transitionDuration:"{transition.duration}"},Om={background:"{content.background}",borderColor:"{content.border.color}",borderWidth:"1px",color:"{content.color}",padding:"0.25rem 0.25rem",borderRadius:"{content.border.radius}",first:{borderWidth:"1px",topBorderRadius:"{content.border.radius}"},last:{borderWidth:"1px",bottomBorderRadius:"{content.border.radius}"}},Lm={focusBackground:"{navigation.item.focus.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",gap:"0.5rem",padding:"{navigation.item.padding}",borderRadius:"{content.border.radius}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}"}},zm={indent:"1rem"},Fm={color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}"},ln={root:Dm,panel:Om,item:Lm,submenu:zm,submenuIcon:Fm};var jm={background:"{content.border.color}",borderRadius:"{content.border.radius}",height:".75rem"},Wm={color:"{form.field.icon.color}"},Um={background:"{overlay.popover.background}",borderColor:"{overlay.popover.border.color}",borderRadius:"{overlay.popover.border.radius}",color:"{overlay.popover.color}",padding:"{overlay.popover.padding}",shadow:"{overlay.popover.shadow}"},qm={gap:"0.5rem"},Hm={light:{strength:{weakBackground:"{red.500}",mediumBackground:"{amber.500}",strongBackground:"{green.500}"}},dark:{strength:{weakBackground:"{red.400}",mediumBackground:"{amber.400}",strongBackground:"{green.400}"}}},cn={meter:jm,icon:Wm,overlay:Um,content:qm,colorScheme:Hm};var Km={gap:"1.125rem"},Vm={gap:"0.5rem"},dn={root:Km,controls:Vm};var Qm={background:"{overlay.popover.background}",borderColor:"{overlay.popover.border.color}",color:"{overlay.popover.color}",borderRadius:"{overlay.popover.border.radius}",shadow:"{overlay.popover.shadow}",gutter:"10px",arrowOffset:"1.25rem"},$m={padding:"{overlay.popover.padding}"},un={root:Qm,content:$m};var Ym={background:"{content.border.color}",borderRadius:"{content.border.radius}",height:"1.25rem"},Gm={background:"{primary.color}"},Xm={color:"{primary.contrast.color}",fontSize:"0.75rem",fontWeight:"600"},fn={root:Ym,value:Gm,label:Xm};var Zm={light:{root:{colorOne:"{red.500}",colorTwo:"{blue.500}",colorThree:"{green.500}",colorFour:"{yellow.500}"}},dark:{root:{colorOne:"{red.400}",colorTwo:"{blue.400}",colorThree:"{green.400}",colorFour:"{yellow.400}"}}},pn={colorScheme:Zm};var Jm={width:"1.25rem",height:"1.25rem",background:"{form.field.background}",checkedBackground:"{primary.color}",checkedHoverBackground:"{primary.hover.color}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.border.color}",checkedBorderColor:"{primary.color}",checkedHoverBorderColor:"{primary.hover.color}",checkedFocusBorderColor:"{primary.color}",checkedDisabledBorderColor:"{form.field.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",shadow:"{form.field.shadow}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{width:"1rem",height:"1rem"},lg:{width:"1.5rem",height:"1.5rem"}},eg={size:"0.75rem",checkedColor:"{primary.contrast.color}",checkedHoverColor:"{primary.contrast.color}",disabledColor:"{form.field.disabled.color}",sm:{size:"0.5rem"},lg:{size:"1rem"}},mn={root:Jm,icon:eg};var og={gap:"0.25rem",transitionDuration:"{transition.duration}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},rg={size:"1rem",color:"{text.muted.color}",hoverColor:"{primary.color}",activeColor:"{primary.color}"},gn={root:og,icon:rg};var tg={light:{root:{background:"rgba(0,0,0,0.1)"}},dark:{root:{background:"rgba(255,255,255,0.3)"}}},hn={colorScheme:tg};var ng={transitionDuration:"{transition.duration}"},ig={size:"9px",borderRadius:"{border.radius.sm}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},ag={light:{bar:{background:"{surface.100}"}},dark:{bar:{background:"{surface.800}"}}},bn={root:ng,bar:ig,colorScheme:ag};var sg={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},lg={width:"2.5rem",color:"{form.field.icon.color}"},cg={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},dg={padding:"{list.padding}",gap:"{list.gap}",header:{padding:"{list.header.padding}"}},ug={focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"},fg={background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},pg={color:"{form.field.icon.color}"},mg={color:"{list.option.color}",gutterStart:"-0.375rem",gutterEnd:"0.375rem"},gg={padding:"{list.option.padding}"},yn={root:sg,dropdown:lg,overlay:cg,list:dg,option:ug,optionGroup:fg,clearIcon:pg,checkmark:mg,emptyMessage:gg};var hg={borderRadius:"{form.field.border.radius}"},bg={light:{root:{invalidBorderColor:"{form.field.invalid.border.color}"}},dark:{root:{invalidBorderColor:"{form.field.invalid.border.color}"}}},vn={root:hg,colorScheme:bg};var yg={borderRadius:"{content.border.radius}"},vg={light:{root:{background:"{surface.200}",animationBackground:"rgba(255,255,255,0.4)"}},dark:{root:{background:"rgba(255, 255, 255, 0.06)",animationBackground:"rgba(255, 255, 255, 0.04)"}}},kn={root:yg,colorScheme:vg};var kg={transitionDuration:"{transition.duration}"},wg={background:"{content.border.color}",borderRadius:"{content.border.radius}",size:"3px"},Cg={background:"{primary.color}"},xg={width:"20px",height:"20px",borderRadius:"50%",background:"{content.border.color}",hoverBackground:"{content.border.color}",content:{borderRadius:"50%",hoverBackground:"{content.background}",width:"16px",height:"16px",shadow:"0px 0.5px 0px 0px rgba(0, 0, 0, 0.08), 0px 1px 1px 0px rgba(0, 0, 0, 0.14)"},focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},_g={light:{handle:{content:{background:"{surface.0}"}}},dark:{handle:{content:{background:"{surface.950}"}}}},wn={root:kg,track:wg,range:Cg,handle:xg,colorScheme:_g};var Sg={gap:"0.5rem",transitionDuration:"{transition.duration}"},Cn={root:Sg};var Tg={borderRadius:"{form.field.border.radius}",roundedBorderRadius:"2rem",raisedShadow:"0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)"},xn={root:Tg};var Eg={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",transitionDuration:"{transition.duration}"},Mg={background:"{content.border.color}"},Ag={size:"24px",background:"transparent",borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},_n={root:Eg,gutter:Mg,handle:Ag};var Pg={transitionDuration:"{transition.duration}"},Bg={background:"{content.border.color}",activeBackground:"{primary.color}",margin:"0 0 0 1.625rem",size:"2px"},Rg={padding:"0.5rem",gap:"1rem"},Ig={padding:"0",borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},gap:"0.5rem"},Ng={color:"{text.muted.color}",activeColor:"{primary.color}",fontWeight:"500"},Dg={background:"{content.background}",activeBackground:"{content.background}",borderColor:"{content.border.color}",activeBorderColor:"{content.border.color}",color:"{text.muted.color}",activeColor:"{primary.color}",size:"2rem",fontSize:"1.143rem",fontWeight:"500",borderRadius:"50%",shadow:"0px 0.5px 0px 0px rgba(0, 0, 0, 0.06), 0px 1px 1px 0px rgba(0, 0, 0, 0.12)"},Og={padding:"0.875rem 0.5rem 1.125rem 0.5rem"},Lg={background:"{content.background}",color:"{content.color}",padding:"0",indent:"1rem"},Sn={root:Pg,separator:Bg,step:Rg,stepHeader:Ig,stepTitle:Ng,stepNumber:Dg,steppanels:Og,steppanel:Lg};var zg={transitionDuration:"{transition.duration}"},Fg={background:"{content.border.color}"},jg={borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},gap:"0.5rem"},Wg={color:"{text.muted.color}",activeColor:"{primary.color}",fontWeight:"500"},Ug={background:"{content.background}",activeBackground:"{content.background}",borderColor:"{content.border.color}",activeBorderColor:"{content.border.color}",color:"{text.muted.color}",activeColor:"{primary.color}",size:"2rem",fontSize:"1.143rem",fontWeight:"500",borderRadius:"50%",shadow:"0px 0.5px 0px 0px rgba(0, 0, 0, 0.06), 0px 1px 1px 0px rgba(0, 0, 0, 0.12)"},Tn={root:zg,separator:Fg,itemLink:jg,itemLabel:Wg,itemNumber:Ug};var qg={transitionDuration:"{transition.duration}"},Hg={borderWidth:"0 0 1px 0",background:"{content.background}",borderColor:"{content.border.color}"},Kg={background:"transparent",hoverBackground:"transparent",activeBackground:"transparent",borderWidth:"0 0 1px 0",borderColor:"{content.border.color}",hoverBorderColor:"{content.border.color}",activeBorderColor:"{primary.color}",color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}",padding:"1rem 1.125rem",fontWeight:"600",margin:"0 0 -1px 0",gap:"0.5rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},Vg={color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}"},Qg={height:"1px",bottom:"-1px",background:"{primary.color}"},En={root:qg,tablist:Hg,item:Kg,itemIcon:Vg,activeBar:Qg};var $g={transitionDuration:"{transition.duration}"},Yg={borderWidth:"0 0 1px 0",background:"{content.background}",borderColor:"{content.border.color}"},Gg={background:"transparent",hoverBackground:"transparent",activeBackground:"transparent",borderWidth:"0 0 1px 0",borderColor:"{content.border.color}",hoverBorderColor:"{content.border.color}",activeBorderColor:"{primary.color}",color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}",padding:"1rem 1.125rem",fontWeight:"600",margin:"0 0 -1px 0",gap:"0.5rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},Xg={background:"{content.background}",color:"{content.color}",padding:"0.875rem 1.125rem 1.125rem 1.125rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"inset {focus.ring.shadow}"}},Zg={background:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.color}",width:"2.5rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},Jg={height:"1px",bottom:"-1px",background:"{primary.color}"},e0={light:{navButton:{shadow:"0px 0px 10px 50px rgba(255, 255, 255, 0.6)"}},dark:{navButton:{shadow:"0px 0px 10px 50px color-mix(in srgb, {content.background}, transparent 50%)"}}},Mn={root:$g,tablist:Yg,tab:Gg,tabpanel:Xg,navButton:Zg,activeBar:Jg,colorScheme:e0};var o0={transitionDuration:"{transition.duration}"},r0={background:"{content.background}",borderColor:"{content.border.color}"},t0={borderColor:"{content.border.color}",activeBorderColor:"{primary.color}",color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}"},n0={background:"{content.background}",color:"{content.color}"},i0={background:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.color}"},a0={light:{navButton:{shadow:"0px 0px 10px 50px rgba(255, 255, 255, 0.6)"}},dark:{navButton:{shadow:"0px 0px 10px 50px color-mix(in srgb, {content.background}, transparent 50%)"}}},An={root:o0,tabList:r0,tab:t0,tabPanel:n0,navButton:i0,colorScheme:a0};var s0={fontSize:"0.875rem",fontWeight:"700",padding:"0.25rem 0.5rem",gap:"0.25rem",borderRadius:"{content.border.radius}",roundedBorderRadius:"{border.radius.xl}"},l0={size:"0.75rem"},c0={light:{primary:{background:"{primary.100}",color:"{primary.700}"},secondary:{background:"{surface.100}",color:"{surface.600}"},success:{background:"{green.100}",color:"{green.700}"},info:{background:"{sky.100}",color:"{sky.700}"},warn:{background:"{orange.100}",color:"{orange.700}"},danger:{background:"{red.100}",color:"{red.700}"},contrast:{background:"{surface.950}",color:"{surface.0}"}},dark:{primary:{background:"color-mix(in srgb, {primary.500}, transparent 84%)",color:"{primary.300}"},secondary:{background:"{surface.800}",color:"{surface.300}"},success:{background:"color-mix(in srgb, {green.500}, transparent 84%)",color:"{green.300}"},info:{background:"color-mix(in srgb, {sky.500}, transparent 84%)",color:"{sky.300}"},warn:{background:"color-mix(in srgb, {orange.500}, transparent 84%)",color:"{orange.300}"},danger:{background:"color-mix(in srgb, {red.500}, transparent 84%)",color:"{red.300}"},contrast:{background:"{surface.0}",color:"{surface.950}"}}},Pn={root:s0,icon:l0,colorScheme:c0};var d0={background:"{form.field.background}",borderColor:"{form.field.border.color}",color:"{form.field.color}",height:"18rem",padding:"{form.field.padding.y} {form.field.padding.x}",borderRadius:"{form.field.border.radius}"},u0={gap:"0.25rem"},f0={margin:"2px 0"},Bn={root:d0,prompt:u0,commandResponse:f0};var p0={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},Rn={root:p0};var m0={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",transitionDuration:"{transition.duration}"},g0={padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},h0={focusBackground:"{navigation.item.focus.background}",activeBackground:"{navigation.item.active.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",activeColor:"{navigation.item.active.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}",activeColor:"{navigation.item.icon.active.color}"}},b0={mobileIndent:"1rem"},y0={size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"},v0={borderColor:"{content.border.color}"},In={root:m0,list:g0,item:h0,submenu:b0,submenuIcon:y0,separator:v0};var k0={minHeight:"5rem"},w0={eventContent:{padding:"1rem 0"}},C0={eventContent:{padding:"0 1rem"}},x0={size:"1.125rem",borderRadius:"50%",borderWidth:"2px",background:"{content.background}",borderColor:"{content.border.color}",content:{borderRadius:"50%",size:"0.375rem",background:"{primary.color}",insetShadow:"0px 0.5px 0px 0px rgba(0, 0, 0, 0.06), 0px 1px 1px 0px rgba(0, 0, 0, 0.12)"}},_0={color:"{content.border.color}",size:"2px"},Nn={event:k0,horizontal:w0,vertical:C0,eventMarker:x0,eventConnector:_0};var S0={width:"25rem",borderRadius:"{content.border.radius}",borderWidth:"1px",transitionDuration:"{transition.duration}"},T0={size:"1.125rem"},E0={padding:"{overlay.popover.padding}",gap:"0.5rem"},M0={gap:"0.5rem"},A0={fontWeight:"500",fontSize:"1rem"},P0={fontWeight:"500",fontSize:"0.875rem"},B0={width:"1.75rem",height:"1.75rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",offset:"{focus.ring.offset}"}},R0={size:"1rem"},I0={light:{root:{blur:"1.5px"},info:{background:"color-mix(in srgb, {blue.50}, transparent 5%)",borderColor:"{blue.200}",color:"{blue.600}",detailColor:"{surface.700}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)",closeButton:{hoverBackground:"{blue.100}",focusRing:{color:"{blue.600}",shadow:"none"}}},success:{background:"color-mix(in srgb, {green.50}, transparent 5%)",borderColor:"{green.200}",color:"{green.600}",detailColor:"{surface.700}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)",closeButton:{hoverBackground:"{green.100}",focusRing:{color:"{green.600}",shadow:"none"}}},warn:{background:"color-mix(in srgb,{yellow.50}, transparent 5%)",borderColor:"{yellow.200}",color:"{yellow.600}",detailColor:"{surface.700}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)",closeButton:{hoverBackground:"{yellow.100}",focusRing:{color:"{yellow.600}",shadow:"none"}}},error:{background:"color-mix(in srgb, {red.50}, transparent 5%)",borderColor:"{red.200}",color:"{red.600}",detailColor:"{surface.700}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)",closeButton:{hoverBackground:"{red.100}",focusRing:{color:"{red.600}",shadow:"none"}}},secondary:{background:"{surface.100}",borderColor:"{surface.200}",color:"{surface.600}",detailColor:"{surface.700}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)",closeButton:{hoverBackground:"{surface.200}",focusRing:{color:"{surface.600}",shadow:"none"}}},contrast:{background:"{surface.900}",borderColor:"{surface.950}",color:"{surface.50}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)",closeButton:{hoverBackground:"{surface.800}",focusRing:{color:"{surface.50}",shadow:"none"}}}},dark:{root:{blur:"10px"},info:{background:"color-mix(in srgb, {blue.500}, transparent 84%)",borderColor:"color-mix(in srgb, {blue.700}, transparent 64%)",color:"{blue.500}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{blue.500}",shadow:"none"}}},success:{background:"color-mix(in srgb, {green.500}, transparent 84%)",borderColor:"color-mix(in srgb, {green.700}, transparent 64%)",color:"{green.500}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{green.500}",shadow:"none"}}},warn:{background:"color-mix(in srgb, {yellow.500}, transparent 84%)",borderColor:"color-mix(in srgb, {yellow.700}, transparent 64%)",color:"{yellow.500}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{yellow.500}",shadow:"none"}}},error:{background:"color-mix(in srgb, {red.500}, transparent 84%)",borderColor:"color-mix(in srgb, {red.700}, transparent 64%)",color:"{red.500}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{red.500}",shadow:"none"}}},secondary:{background:"{surface.800}",borderColor:"{surface.700}",color:"{surface.300}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)",closeButton:{hoverBackground:"{surface.700}",focusRing:{color:"{surface.300}",shadow:"none"}}},contrast:{background:"{surface.0}",borderColor:"{surface.100}",color:"{surface.950}",detailColor:"{surface.950}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)",closeButton:{hoverBackground:"{surface.100}",focusRing:{color:"{surface.950}",shadow:"none"}}}}},Dn={root:S0,icon:T0,content:E0,text:M0,summary:A0,detail:P0,closeButton:B0,closeIcon:R0,colorScheme:I0};var N0={padding:"0.25rem",borderRadius:"{content.border.radius}",gap:"0.5rem",fontWeight:"500",disabledBackground:"{form.field.disabled.background}",disabledBorderColor:"{form.field.disabled.background}",disabledColor:"{form.field.disabled.color}",invalidBorderColor:"{form.field.invalid.border.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",padding:"0.25rem"},lg:{fontSize:"{form.field.lg.font.size}",padding:"0.25rem"}},D0={disabledColor:"{form.field.disabled.color}"},O0={padding:"0.25rem 0.75rem",borderRadius:"{content.border.radius}",checkedShadow:"0px 1px 2px 0px rgba(0, 0, 0, 0.02), 0px 1px 2px 0px rgba(0, 0, 0, 0.04)",sm:{padding:"0.25rem 0.75rem"},lg:{padding:"0.25rem 0.75rem"}},L0={light:{root:{background:"{surface.100}",checkedBackground:"{surface.100}",hoverBackground:"{surface.100}",borderColor:"{surface.100}",color:"{surface.500}",hoverColor:"{surface.700}",checkedColor:"{surface.900}",checkedBorderColor:"{surface.100}"},content:{checkedBackground:"{surface.0}"},icon:{color:"{surface.500}",hoverColor:"{surface.700}",checkedColor:"{surface.900}"}},dark:{root:{background:"{surface.950}",checkedBackground:"{surface.950}",hoverBackground:"{surface.950}",borderColor:"{surface.950}",color:"{surface.400}",hoverColor:"{surface.300}",checkedColor:"{surface.0}",checkedBorderColor:"{surface.950}"},content:{checkedBackground:"{surface.800}"},icon:{color:"{surface.400}",hoverColor:"{surface.300}",checkedColor:"{surface.0}"}}},On={root:N0,icon:D0,content:O0,colorScheme:L0};var z0={width:"2.5rem",height:"1.5rem",borderRadius:"30px",gap:"0.25rem",shadow:"{form.field.shadow}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},borderWidth:"1px",borderColor:"transparent",hoverBorderColor:"transparent",checkedBorderColor:"transparent",checkedHoverBorderColor:"transparent",invalidBorderColor:"{form.field.invalid.border.color}",transitionDuration:"{form.field.transition.duration}",slideDuration:"0.2s"},F0={borderRadius:"50%",size:"1rem"},j0={light:{root:{background:"{surface.300}",disabledBackground:"{form.field.disabled.background}",hoverBackground:"{surface.400}",checkedBackground:"{primary.color}",checkedHoverBackground:"{primary.hover.color}"},handle:{background:"{surface.0}",disabledBackground:"{form.field.disabled.color}",hoverBackground:"{surface.0}",checkedBackground:"{surface.0}",checkedHoverBackground:"{surface.0}",color:"{text.muted.color}",hoverColor:"{text.color}",checkedColor:"{primary.color}",checkedHoverColor:"{primary.hover.color}"}},dark:{root:{background:"{surface.700}",disabledBackground:"{surface.600}",hoverBackground:"{surface.600}",checkedBackground:"{primary.color}",checkedHoverBackground:"{primary.hover.color}"},handle:{background:"{surface.400}",disabledBackground:"{surface.900}",hoverBackground:"{surface.300}",checkedBackground:"{surface.900}",checkedHoverBackground:"{surface.900}",color:"{surface.900}",hoverColor:"{surface.800}",checkedColor:"{primary.color}",checkedHoverColor:"{primary.hover.color}"}}},Ln={root:z0,handle:F0,colorScheme:j0};var W0={background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",gap:"0.5rem",padding:"0.75rem"},zn={root:W0};var U0={maxWidth:"12.5rem",gutter:"0.25rem",shadow:"{overlay.popover.shadow}",padding:"0.5rem 0.75rem",borderRadius:"{overlay.popover.border.radius}"},q0={light:{root:{background:"{surface.700}",color:"{surface.0}"}},dark:{root:{background:"{surface.700}",color:"{surface.0}"}}},Fn={root:U0,colorScheme:q0};var H0={background:"{content.background}",color:"{content.color}",padding:"1rem",gap:"2px",indent:"1rem",transitionDuration:"{transition.duration}"},K0={padding:"0.25rem 0.5rem",borderRadius:"{content.border.radius}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",color:"{text.color}",hoverColor:"{text.hover.color}",selectedColor:"{highlight.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"},gap:"0.25rem"},V0={color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",selectedColor:"{highlight.color}"},Q0={borderRadius:"50%",size:"1.75rem",hoverBackground:"{content.hover.background}",selectedHoverBackground:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",selectedHoverColor:"{primary.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},$0={size:"2rem"},Y0={margin:"0 0 0.5rem 0"},jn={root:H0,node:K0,nodeIcon:V0,nodeToggleButton:Q0,loadingIcon:$0,filter:Y0};var G0={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},X0={width:"2.5rem",color:"{form.field.icon.color}"},Z0={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},J0={padding:"{list.padding}"},eh={padding:"{list.option.padding}"},oh={borderRadius:"{border.radius.sm}"},rh={color:"{form.field.icon.color}"},Wn={root:G0,dropdown:X0,overlay:Z0,tree:J0,emptyMessage:eh,chip:oh,clearIcon:rh};var th={transitionDuration:"{transition.duration}"},nh={background:"{content.background}",borderColor:"{treetable.border.color}",color:"{content.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem"},ih={background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",borderColor:"{treetable.border.color}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{highlight.color}",gap:"0.5rem",padding:"0.75rem 1rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},ah={fontWeight:"600"},sh={background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{highlight.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},lh={borderColor:"{treetable.border.color}",padding:"0.75rem 1rem",gap:"0.5rem"},ch={background:"{content.background}",borderColor:"{treetable.border.color}",color:"{content.color}",padding:"0.75rem 1rem"},dh={fontWeight:"600"},uh={background:"{content.background}",borderColor:"{treetable.border.color}",color:"{content.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem"},fh={width:"0.5rem"},ph={width:"1px",color:"{primary.color}"},mh={color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",size:"0.875rem"},gh={size:"2rem"},hh={hoverBackground:"{content.hover.background}",selectedHoverBackground:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.color}",selectedHoverColor:"{primary.color}",size:"1.75rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},bh={borderColor:"{content.border.color}",borderWidth:"0 0 1px 0"},yh={borderColor:"{content.border.color}",borderWidth:"0 0 1px 0"},vh={light:{root:{borderColor:"{content.border.color}"},bodyCell:{selectedBorderColor:"{primary.100}"}},dark:{root:{borderColor:"{surface.800}"},bodyCell:{selectedBorderColor:"{primary.900}"}}},Un={root:th,header:nh,headerCell:ih,columnTitle:ah,row:sh,bodyCell:lh,footerCell:ch,columnFooter:dh,footer:uh,columnResizer:fh,resizeIndicator:ph,sortIcon:mh,loadingIcon:gh,nodeToggleButton:hh,paginatorTop:bh,paginatorBottom:yh,colorScheme:vh};var kh={mask:{background:"{content.background}",color:"{text.muted.color}"},icon:{size:"2rem"}},qn={loader:kh};var Es=$n(De({},ft),{components:{accordion:lt,autocomplete:ct,avatar:dt,badge:ut,blockui:pt,breadcrumb:mt,button:gt,datepicker:Et,card:ht,carousel:bt,cascadeselect:yt,checkbox:vt,chip:kt,colorpicker:wt,confirmdialog:Ct,confirmpopup:xt,contextmenu:_t,dataview:Tt,datatable:St,dialog:Mt,divider:At,dock:Pt,drawer:Bt,editor:Rt,fieldset:It,fileupload:Nt,iftalabel:zt,floatlabel:Dt,galleria:Ot,iconfield:Lt,image:Ft,imagecompare:jt,inlinemessage:Wt,inplace:Ut,inputchips:qt,inputgroup:Ht,inputnumber:Kt,inputotp:Vt,inputtext:Qt,knob:$t,listbox:Yt,megamenu:Gt,menu:Xt,menubar:Zt,message:Jt,metergroup:en,multiselect:on,orderlist:rn,organizationchart:tn,overlaybadge:nn,popover:un,paginator:an,password:cn,panel:sn,panelmenu:ln,picklist:dn,progressbar:fn,progressspinner:pn,radiobutton:mn,rating:gn,ripple:hn,scrollpanel:bn,select:yn,selectbutton:vn,skeleton:kn,slider:wn,speeddial:Cn,splitter:_n,splitbutton:xn,stepper:Sn,steps:Tn,tabmenu:En,tabs:Mn,tabview:An,textarea:Rn,tieredmenu:In,tag:Pn,terminal:Bn,timeline:Nn,togglebutton:On,toggleswitch:Ln,tree:jn,treeselect:Wn,treetable:Un,toast:Dn,toolbar:zn,tooltip:Fn,virtualscroller:qn}});var Ms=oa(Es,{semantic:{primary:{50:"#f3f8ff",100:"#c5dcff",200:"#97c1fe",300:"#69a5fe",400:"#3b8afd",500:"#0d6efd",600:"#0b5ed7",700:"#094db1",800:"#073d8b",900:"#052c65",950:"#031c3f"}}});var wh=Ss,er=class t{static \u0275fac=function(o){return new(o||t)};static \u0275mod=ce({type:t,bootstrap:[Jo]});static \u0275inj=ae({providers:[ki,vi,Ti(Ei([Ts,aa])),ra({theme:{preset:Ms,options:{darkModeSelector:!1}}})],imports:[yo,Zo,ns,ia.forRoot(wh),vs.initializeApp(K.firebaseConfig),ws,Co,Li.forRoot({toastComponent:_s,positionClass:"toast-bottom-right",closeButton:!0}),na]})};K.production&&void 0;_i().bootstrapModule(er);