marketplacepos 3.11.4 → 3.11.5

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 (130) hide show
  1. package/Marketplace/3rdpartylicenses.txt +27 -27
  2. package/Marketplace/chunk-26HLZRDA.js +1 -0
  3. package/Marketplace/chunk-2LVSLYBV.js +1 -0
  4. package/Marketplace/chunk-3G7XK5MI.js +4 -0
  5. package/Marketplace/chunk-4AXZQMAS.js +1 -0
  6. package/Marketplace/chunk-4BQPB4PL.js +1 -0
  7. package/Marketplace/chunk-5KH5BCQM.js +1 -0
  8. package/Marketplace/chunk-5RM66OVB.js +1 -0
  9. package/Marketplace/chunk-5ZM4XSQW.js +1 -0
  10. package/Marketplace/chunk-6HHZHN7P.js +8 -0
  11. package/Marketplace/chunk-7KGXTHIW.js +1 -0
  12. package/Marketplace/chunk-7NTKQFO6.js +1 -0
  13. package/Marketplace/chunk-A5TR5UHL.js +3 -0
  14. package/Marketplace/chunk-AALPQPNV.js +1 -0
  15. package/Marketplace/chunk-AI73JQCY.js +1 -0
  16. package/Marketplace/chunk-AOTR45SX.js +1 -0
  17. package/Marketplace/chunk-AS72XOBR.js +5 -0
  18. package/Marketplace/chunk-BIUR6K3C.js +2 -0
  19. package/Marketplace/chunk-BOSI3BJF.js +1 -0
  20. package/Marketplace/chunk-C2Z57PHM.js +1 -0
  21. package/Marketplace/chunk-CARHAIPY.js +1 -0
  22. package/Marketplace/chunk-CQZLPKQI.js +7 -0
  23. package/Marketplace/chunk-CRMU6PMW.js +1 -0
  24. package/Marketplace/chunk-EIZQWSOG.js +3 -0
  25. package/Marketplace/chunk-F4HOVOTI.js +1 -0
  26. package/Marketplace/chunk-FCNR3DL5.js +1 -0
  27. package/Marketplace/chunk-FTHF27YK.js +1 -0
  28. package/Marketplace/chunk-FY4ZBLX6.js +1 -0
  29. package/Marketplace/chunk-G4FCMEKS.js +5 -0
  30. package/Marketplace/chunk-GN6CGQMS.js +4 -0
  31. package/Marketplace/chunk-GS5L5VKE.js +39 -0
  32. package/Marketplace/chunk-GUPLRXO2.js +1 -0
  33. package/Marketplace/chunk-HL4F7T5B.js +1 -0
  34. package/Marketplace/{chunk-MSAVOLLA.js → chunk-HZ3YSVLS.js} +2 -2
  35. package/Marketplace/chunk-I5I7UHHM.js +2 -0
  36. package/Marketplace/chunk-I7XIC4MV.js +1 -0
  37. package/Marketplace/chunk-IGEQKV42.js +1 -0
  38. package/Marketplace/chunk-J7NK7BJJ.js +2 -0
  39. package/Marketplace/chunk-JQQV3EN5.js +1 -0
  40. package/Marketplace/chunk-L2NFIVJZ.js +1 -0
  41. package/Marketplace/chunk-MAW5LNHT.js +1 -0
  42. package/Marketplace/chunk-MSVBBUIV.js +1 -0
  43. package/Marketplace/chunk-MZTR7GGF.js +1 -0
  44. package/Marketplace/chunk-O7LVIN5K.js +1 -0
  45. package/Marketplace/chunk-OCT7STGJ.js +2 -0
  46. package/Marketplace/chunk-ODO3ELDR.js +1 -0
  47. package/Marketplace/chunk-Q2XGZGLR.js +1 -0
  48. package/Marketplace/chunk-Q4BXCRYS.js +1 -0
  49. package/Marketplace/chunk-QD5AAOCO.js +1 -0
  50. package/Marketplace/chunk-QGF4YW5W.js +6 -0
  51. package/Marketplace/chunk-RJJQKBQ5.js +1 -0
  52. package/Marketplace/chunk-RQUHSBJQ.js +1 -0
  53. package/Marketplace/chunk-SQJ3P2ZT.js +1 -0
  54. package/Marketplace/chunk-SWXSUMBG.js +1 -0
  55. package/Marketplace/chunk-TCCG4TE3.js +1 -0
  56. package/Marketplace/{chunk-GSSZWMCP.js → chunk-TH6EVOI3.js} +4 -4
  57. package/Marketplace/chunk-V437EVZ3.js +1 -0
  58. package/Marketplace/chunk-VFKZICIZ.js +5 -0
  59. package/Marketplace/chunk-W4KXSHWG.js +1 -0
  60. package/Marketplace/chunk-WOQ45EJA.js +1 -0
  61. package/Marketplace/chunk-Y3YRRYBU.js +1 -0
  62. package/Marketplace/chunk-YDMBBOTQ.js +1 -0
  63. package/Marketplace/index.html +2 -3
  64. package/Marketplace/main-AEZ74UFT.js +1 -0
  65. package/Marketplace/polyfills-FDR4O7DA.js +2 -0
  66. package/Marketplace/scripts-M46NWPTC.js +5 -0
  67. package/Marketplace/styles-3TBI7YP7.css +1 -0
  68. package/package.json +1 -1
  69. package/Marketplace/chunk-3LQ5TKLD.js +0 -1
  70. package/Marketplace/chunk-3PX6SSDC.js +0 -1
  71. package/Marketplace/chunk-5LCXVQBT.js +0 -1
  72. package/Marketplace/chunk-5SE72MGC.js +0 -2
  73. package/Marketplace/chunk-5ZUWMFL5.js +0 -1
  74. package/Marketplace/chunk-6B64VOO7.js +0 -1
  75. package/Marketplace/chunk-6DRNAUKE.js +0 -8
  76. package/Marketplace/chunk-6F6NSBIF.js +0 -1
  77. package/Marketplace/chunk-6HBK3C7G.js +0 -1
  78. package/Marketplace/chunk-6WGRXHNE.js +0 -47
  79. package/Marketplace/chunk-AL67KXJV.js +0 -2
  80. package/Marketplace/chunk-BD2QQPDK.js +0 -1
  81. package/Marketplace/chunk-BMZAGAK3.js +0 -1
  82. package/Marketplace/chunk-C45X4NQK.js +0 -5
  83. package/Marketplace/chunk-D72PMDHY.js +0 -1
  84. package/Marketplace/chunk-DEH6NGKQ.js +0 -1
  85. package/Marketplace/chunk-DT3B54LD.js +0 -4
  86. package/Marketplace/chunk-G5LCLRIW.js +0 -1
  87. package/Marketplace/chunk-GRMIXZTT.js +0 -1
  88. package/Marketplace/chunk-INNTQ5YN.js +0 -1
  89. package/Marketplace/chunk-IPGAIBF6.js +0 -5
  90. package/Marketplace/chunk-JM3LERUP.js +0 -7
  91. package/Marketplace/chunk-JPAJ6YR6.js +0 -1
  92. package/Marketplace/chunk-K3G6FMDF.js +0 -1
  93. package/Marketplace/chunk-KBYAFLE5.js +0 -1
  94. package/Marketplace/chunk-KUVW5SH2.js +0 -1
  95. package/Marketplace/chunk-KYJA5TD4.js +0 -1
  96. package/Marketplace/chunk-L4DP3Q4W.js +0 -1
  97. package/Marketplace/chunk-MK34PW5S.js +0 -1
  98. package/Marketplace/chunk-MSGMWJHN.js +0 -1
  99. package/Marketplace/chunk-MYMGWQRE.js +0 -6
  100. package/Marketplace/chunk-N4S3Q3EC.js +0 -1
  101. package/Marketplace/chunk-NRVXDIHY.js +0 -1
  102. package/Marketplace/chunk-NSM4JDXS.js +0 -1
  103. package/Marketplace/chunk-OHTJCLX7.js +0 -4
  104. package/Marketplace/chunk-PRYDCJG5.js +0 -1
  105. package/Marketplace/chunk-PZJCL4YS.js +0 -1
  106. package/Marketplace/chunk-PZOGC5DT.js +0 -1
  107. package/Marketplace/chunk-QK22WK2Q.js +0 -1
  108. package/Marketplace/chunk-SP6QPE3M.js +0 -1
  109. package/Marketplace/chunk-SQDLJ6C7.js +0 -3
  110. package/Marketplace/chunk-SRYGE2HW.js +0 -1
  111. package/Marketplace/chunk-TCC7PQV3.js +0 -1
  112. package/Marketplace/chunk-TDHJ34QP.js +0 -1
  113. package/Marketplace/chunk-TDK2QBFI.js +0 -1
  114. package/Marketplace/chunk-U5YOE633.js +0 -5
  115. package/Marketplace/chunk-UILE7H6I.js +0 -1
  116. package/Marketplace/chunk-VK32VX4W.js +0 -2
  117. package/Marketplace/chunk-VO5VAOZH.js +0 -1
  118. package/Marketplace/chunk-W3EAYQL3.js +0 -1
  119. package/Marketplace/chunk-WQ7LUTQ2.js +0 -1
  120. package/Marketplace/chunk-XDNW2F3I.js +0 -3
  121. package/Marketplace/chunk-XOYXFFE6.js +0 -1
  122. package/Marketplace/chunk-YZ67XPSX.js +0 -1
  123. package/Marketplace/chunk-ZIW2YTBP.js +0 -1
  124. package/Marketplace/chunk-ZKBLXGXT.js +0 -2
  125. package/Marketplace/main-RSHB3ATI.js +0 -1
  126. package/Marketplace/polyfills-Y3W47ZLP.js +0 -2
  127. package/Marketplace/scripts-TB7H6DN4.js +0 -5
  128. package/Marketplace/styles-D4MZYFH2.css +0 -1
  129. /package/Marketplace/{chunk-662E5VTA.js → chunk-6BSG6YUX.js} +0 -0
  130. /package/Marketplace/{chunk-IWVYX6KY.js → chunk-KB6IM3NP.js} +0 -0
@@ -5,7 +5,7 @@ License: "MIT"
5
5
 
6
6
  The MIT License
7
7
 
8
- Copyright (c) 2024 Google LLC.
8
+ Copyright (c) 2023 Google LLC.
9
9
 
10
10
  Permission is hereby granted, free of charge, to any person obtaining a copy
11
11
  of this software and associated documentation files (the "Software"), to deal
@@ -31,7 +31,7 @@ License: "MIT"
31
31
 
32
32
  The MIT License
33
33
 
34
- Copyright (c) 2024 Google LLC.
34
+ Copyright (c) 2023 Google LLC.
35
35
 
36
36
  Permission is hereby granted, free of charge, to any person obtaining a copy
37
37
  of this software and associated documentation files (the "Software"), to deal
@@ -94,7 +94,7 @@ License: "MIT"
94
94
 
95
95
  The MIT License
96
96
 
97
- Copyright (c) 2024 Google LLC.
97
+ Copyright (c) 2023 Google LLC.
98
98
 
99
99
  Permission is hereby granted, free of charge, to any person obtaining a copy
100
100
  of this software and associated documentation files (the "Software"), to deal
@@ -139,16 +139,6 @@ COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
139
139
  IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
140
140
  CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
141
141
 
142
- --------------------------------------------------------------------------------
143
- Package: @angular/animations
144
- License: "MIT"
145
-
146
-
147
- --------------------------------------------------------------------------------
148
- Package: @angular/platform-browser
149
- License: "MIT"
150
-
151
-
152
142
  --------------------------------------------------------------------------------
153
143
  Package: highcharts
154
144
  License: "https://www.highcharts.com/license"
@@ -213,16 +203,6 @@ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
213
203
  FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
214
204
  OTHER DEALINGS IN THE SOFTWARE.
215
205
 
216
- --------------------------------------------------------------------------------
217
- Package: bigger-picture
218
- License: "MIT"
219
-
220
-
221
- --------------------------------------------------------------------------------
222
- Package: @ng-select/ng-select
223
- License: "MIT"
224
-
225
-
226
206
  --------------------------------------------------------------------------------
227
207
  Package: firebase
228
208
  License: "Apache-2.0"
@@ -334,17 +314,32 @@ License: "Apache-2.0"
334
314
 
335
315
 
336
316
  --------------------------------------------------------------------------------
337
- Package: @angular/core
317
+ Package: ngx-permissions
338
318
  License: "MIT"
339
319
 
340
320
 
341
321
  --------------------------------------------------------------------------------
342
- Package: @angular/forms
322
+ Package: bigger-picture
343
323
  License: "MIT"
344
324
 
345
325
 
346
326
  --------------------------------------------------------------------------------
347
- Package: ngx-permissions
327
+ Package: @ng-select/ng-select
328
+ License: "MIT"
329
+
330
+
331
+ --------------------------------------------------------------------------------
332
+ Package: @angular/platform-browser
333
+ License: "MIT"
334
+
335
+
336
+ --------------------------------------------------------------------------------
337
+ Package: @angular/animations
338
+ License: "MIT"
339
+
340
+
341
+ --------------------------------------------------------------------------------
342
+ Package: @angular/forms
348
343
  License: "MIT"
349
344
 
350
345
 
@@ -555,6 +550,11 @@ License: "Apache-2.0"
555
550
  limitations under the License.
556
551
 
557
552
 
553
+ --------------------------------------------------------------------------------
554
+ Package: @angular/core
555
+ License: "MIT"
556
+
557
+
558
558
  --------------------------------------------------------------------------------
559
559
  Package: @angular/common
560
560
  License: "MIT"
@@ -587,7 +587,7 @@ License: "MIT"
587
587
 
588
588
  The MIT License
589
589
 
590
- Copyright (c) 2010-2024 Google LLC. https://angular.io/license
590
+ Copyright (c) 2010-2023 Google LLC. https://angular.io/license
591
591
 
592
592
  Permission is hereby granted, free of charge, to any person obtaining a copy
593
593
  of this software and associated documentation files (the "Software"), to deal
@@ -0,0 +1 @@
1
+ import{$ as w,$a as Ze,B as ji,Ba as H,Ca as qi,Dc as ve,Ec as Pt,Fa as ke,Fc as Je,Ga as M,Gb as Ot,H as $e,I as We,Ia as Hi,Ib as Ji,Ja as be,Jb as es,K as Bi,Ka as j,Lb as ts,Ma as Ce,Na as Dt,Oa as Qe,Qa as Ge,Qb as is,R as qe,Rb as ss,S as Ui,Tb as Ne,Ua as Mt,V as He,Va as Ye,Wb as L,X as zi,Za as kt,_ as E,_a as Ct,a as Ri,aa as C,b as Ve,ba as x,c as q,ca as y,d as Pi,da as U,ea as It,eb as Qi,fa as N,ga as ce,hb as Gi,hc as ns,ia as Ki,jb as Xe,kb as Yi,lb as Nt,n as Fi,nc as rs,pb as Zi,pc as os,q as Me,r as Li,rb as Xi,sc as Z,ta as Vi,u as xi,ua as $i,va as ie,wa as Wi,wc as as,xc as Rt}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.11.5/Marketplace/chunk-6HHZHN7P.js";import{a as R,b as Oi}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.11.5/Marketplace/chunk-MAW5LNHT.js";var Lt;try{Lt=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Lt=!1}var $=(()=>{let e=class e{constructor(t){this._platformId=t,this.isBrowser=this._platformId?ns(this._platformId):typeof document=="object"&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!!(window.chrome||Lt)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}};e.\u0275fac=function(s){return new(s||e)(y($i))},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();var Ee,ls=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function wa(){if(Ee)return Ee;if(typeof document!="object"||!document)return Ee=new Set(ls),Ee;let n=document.createElement("input");return Ee=new Set(ls.filter(e=>(n.setAttribute("type",e),n.type===e))),Ee}var Oe;function gn(){if(Oe==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Oe=!0}))}finally{Oe=Oe||!1}return Oe}function Te(n){return gn()?n:!!n.capture}var de;function Sa(){if(de==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return de=!1,de;if("scrollBehavior"in document.documentElement.style)de=!0;else{let n=Element.prototype.scrollTo;n?de=!/\{\s*\[native code\]\s*\}/.test(n.toString()):de=!1}}return de}var Ft;function _n(){if(Ft==null){let n=typeof document<"u"?document.head:null;Ft=!!(n&&(n.createShadowRoot||n.attachShadow))}return Ft}function cs(n){if(_n()){let e=n.getRootNode?n.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}function ds(){let n=typeof document<"u"&&document?document.activeElement:null;for(;n&&n.shadowRoot;){let e=n.shadowRoot.activeElement;if(e===n)break;n=e}return n}function re(n){return n.composedPath?n.composedPath()[0]:n.target}function hs(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function et(n,...e){return e.length?e.some(i=>n[i]):n.altKey||n.shiftKey||n.ctrlKey||n.metaKey}function jt(n){return n!=null&&`${n}`!="false"}function us(n,e=0){return yn(n)?Number(n):e}function yn(n){return!isNaN(parseFloat(n))&&!isNaN(Number(n))}function Bt(n){return Array.isArray(n)?n:[n]}function Da(n){return n==null?"":typeof n=="string"?n:`${n}px`}function ue(n){return n instanceof H?n.nativeElement:n}function Ma(n,e=/\s+/){let i=[];if(n!=null){let t=Array.isArray(n)?n:`${n}`.split(e);for(let s of t){let r=`${s}`.trim();r&&i.push(r)}}return i}var bn=(()=>{let e=class e{create(t){return typeof MutationObserver>"u"?null:new MutationObserver(t)}};e.\u0275fac=function(s){return new(s||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();var ms=(()=>{let e=class e{};e.\u0275fac=function(s){return new(s||e)},e.\u0275mod=N({type:e}),e.\u0275inj=C({providers:[bn]});let n=e;return n})();var fs=new Set,me,vn=(()=>{let e=class e{constructor(t,s){this._platform=t,this._nonce=s,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Tn}matchMedia(t){return(this._platform.WEBKIT||this._platform.BLINK)&&En(t,this._nonce),this._matchMedia(t)}};e.\u0275fac=function(s){return new(s||e)(y($),y(Wi,8))},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();function En(n,e){if(!fs.has(n))try{me||(me=document.createElement("style"),e&&(me.nonce=e),me.setAttribute("type","text/css"),document.head.appendChild(me)),me.sheet&&(me.sheet.insertRule(`@media ${n} {body{ }}`,0),fs.add(n))}catch(i){console.error(i)}}function Tn(n){return{matches:n==="all"||n==="",media:n,addListener:()=>{},removeListener:()=>{}}}var gs=(()=>{let e=class e{constructor(t,s){this._mediaMatcher=t,this._zone=s,this._queries=new Map,this._destroySubject=new q}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(t){return ps(Bt(t)).some(r=>this._registerQuery(r).mql.matches)}observe(t){let r=ps(Bt(t)).map(a=>this._registerQuery(a).observable),o=Li(r);return o=xi(o.pipe(We(1)),o.pipe(qe(1),$e(0))),o.pipe(Me(a=>{let l={matches:!1,breakpoints:{}};return a.forEach(({matches:c,query:d})=>{l.matches=l.matches||c,l.breakpoints[d]=c}),l}))}_registerQuery(t){if(this._queries.has(t))return this._queries.get(t);let s=this._mediaMatcher.matchMedia(t),o={observable:new Ve(a=>{let l=c=>this._zone.run(()=>a.next(c));return s.addListener(l),()=>{s.removeListener(l)}}).pipe(Ui(s),Me(({matches:a})=>({query:t,matches:a})),He(this._destroySubject)),mql:s};return this._queries.set(t,o),o}};e.\u0275fac=function(s){return new(s||e)(y(vn),y(j))},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();function ps(n){return n.map(e=>e.split(",")).reduce((e,i)=>e.concat(i)).map(e=>e.trim())}var ws=" ";function zn(n,e,i){let t=st(n,e);t.some(s=>s.trim()==i.trim())||(t.push(i.trim()),n.setAttribute(e,t.join(ws)))}function Kn(n,e,i){let s=st(n,e).filter(r=>r!=i.trim());s.length?n.setAttribute(e,s.join(ws)):n.removeAttribute(e)}function st(n,e){return(n.getAttribute(e)||"").match(/\S+/g)||[]}var Ss="cdk-describedby-message",tt="cdk-describedby-host",Kt=0,il=(()=>{let e=class e{constructor(t,s){this._platform=s,this._messageRegistry=new Map,this._messagesContainer=null,this._id=`${Kt++}`,this._document=t,this._id=U(Vi)+"-"+Kt++}describe(t,s,r){if(!this._canBeDescribed(t,s))return;let o=Ut(s,r);typeof s!="string"?(_s(s,this._id),this._messageRegistry.set(o,{messageElement:s,referenceCount:0})):this._messageRegistry.has(o)||this._createMessageElement(s,r),this._isElementDescribedByMessage(t,o)||this._addMessageReference(t,o)}removeDescription(t,s,r){if(!s||!this._isElementNode(t))return;let o=Ut(s,r);if(this._isElementDescribedByMessage(t,o)&&this._removeMessageReference(t,o),typeof s=="string"){let a=this._messageRegistry.get(o);a&&a.referenceCount===0&&this._deleteMessageElement(o)}this._messagesContainer?.childNodes.length===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){let t=this._document.querySelectorAll(`[${tt}="${this._id}"]`);for(let s=0;s<t.length;s++)this._removeCdkDescribedByReferenceIds(t[s]),t[s].removeAttribute(tt);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(t,s){let r=this._document.createElement("div");_s(r,this._id),r.textContent=t,s&&r.setAttribute("role",s),this._createMessagesContainer(),this._messagesContainer.appendChild(r),this._messageRegistry.set(Ut(t,s),{messageElement:r,referenceCount:0})}_deleteMessageElement(t){this._messageRegistry.get(t)?.messageElement?.remove(),this._messageRegistry.delete(t)}_createMessagesContainer(){if(this._messagesContainer)return;let t="cdk-describedby-message-container",s=this._document.querySelectorAll(`.${t}[platform="server"]`);for(let o=0;o<s.length;o++)s[o].remove();let r=this._document.createElement("div");r.style.visibility="hidden",r.classList.add(t),r.classList.add("cdk-visually-hidden"),this._platform&&!this._platform.isBrowser&&r.setAttribute("platform","server"),this._document.body.appendChild(r),this._messagesContainer=r}_removeCdkDescribedByReferenceIds(t){let s=st(t,"aria-describedby").filter(r=>r.indexOf(Ss)!=0);t.setAttribute("aria-describedby",s.join(" "))}_addMessageReference(t,s){let r=this._messageRegistry.get(s);zn(t,"aria-describedby",r.messageElement.id),t.setAttribute(tt,this._id),r.referenceCount++}_removeMessageReference(t,s){let r=this._messageRegistry.get(s);r.referenceCount--,Kn(t,"aria-describedby",r.messageElement.id),t.removeAttribute(tt)}_isElementDescribedByMessage(t,s){let r=st(t,"aria-describedby"),o=this._messageRegistry.get(s),a=o&&o.messageElement.id;return!!a&&r.indexOf(a)!=-1}_canBeDescribed(t,s){if(!this._isElementNode(t))return!1;if(s&&typeof s=="object")return!0;let r=s==null?"":`${s}`.trim(),o=t.getAttribute("aria-label");return r?!o||o.trim()!==r:!1}_isElementNode(t){return t.nodeType===this._document.ELEMENT_NODE}};e.\u0275fac=function(s){return new(s||e)(y(L),y($))},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();function Ut(n,e){return typeof n=="string"?`${e||""}/${n}`:n}function _s(n,e){n.id||(n.id=`${Ss}-${e}-${Kt++}`)}var nt=class{constructor(e){this._items=e,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new q,this._typeaheadSubscription=Ri.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=i=>i.disabled,this._pressedLetters=[],this.tabOut=new q,this.change=new q,e instanceof Ot&&(this._itemChangesSubscription=e.changes.subscribe(i=>{if(this._activeItem){let s=i.toArray().indexOf(this._activeItem);s>-1&&s!==this._activeItemIndex&&(this._activeItemIndex=s)}}))}skipPredicate(e){return this._skipPredicateFn=e,this}withWrap(e=!0){return this._wrap=e,this}withVerticalOrientation(e=!0){return this._vertical=e,this}withHorizontalOrientation(e){return this._horizontal=e,this}withAllowedModifierKeys(e){return this._allowedModifierKeys=e,this}withTypeAhead(e=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(zi(i=>this._pressedLetters.push(i)),$e(e),ji(()=>this._pressedLetters.length>0),Me(()=>this._pressedLetters.join(""))).subscribe(i=>{let t=this._getItemsArray();for(let s=1;s<t.length+1;s++){let r=(this._activeItemIndex+s)%t.length,o=t[r];if(!this._skipPredicateFn(o)&&o.getLabel().toUpperCase().trim().indexOf(i)===0){this.setActiveItem(r);break}}this._pressedLetters=[]}),this}cancelTypeahead(){return this._pressedLetters=[],this}withHomeAndEnd(e=!0){return this._homeAndEnd=e,this}withPageUpDown(e=!0,i=10){return this._pageUpAndDown={enabled:e,delta:i},this}setActiveItem(e){let i=this._activeItem;this.updateActiveItem(e),this._activeItem!==i&&this.change.next(this._activeItemIndex)}onKeydown(e){let i=e.keyCode,s=["altKey","ctrlKey","metaKey","shiftKey"].every(r=>!e[r]||this._allowedModifierKeys.indexOf(r)>-1);switch(i){case 9:this.tabOut.next();return;case 40:if(this._vertical&&s){this.setNextItemActive();break}else return;case 38:if(this._vertical&&s){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&s){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&s){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&s){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&s){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&s){let r=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(r>0?r:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&s){let r=this._activeItemIndex+this._pageUpAndDown.delta,o=this._getItemsArray().length;this._setActiveItemByIndex(r<o?r:o-1,-1);break}else return;default:(s||et(e,"shiftKey"))&&(e.key&&e.key.length===1?this._letterKeyStream.next(e.key.toLocaleUpperCase()):(i>=65&&i<=90||i>=48&&i<=57)&&this._letterKeyStream.next(String.fromCharCode(i)));return}this._pressedLetters=[],e.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(e){let i=this._getItemsArray(),t=typeof e=="number"?e:i.indexOf(e),s=i[t];this._activeItem=s??null,this._activeItemIndex=t}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)}_setActiveInWrapMode(e){let i=this._getItemsArray();for(let t=1;t<=i.length;t++){let s=(this._activeItemIndex+e*t+i.length)%i.length,r=i[s];if(!this._skipPredicateFn(r)){this.setActiveItem(s);return}}}_setActiveInDefaultMode(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)}_setActiveItemByIndex(e,i){let t=this._getItemsArray();if(t[e]){for(;this._skipPredicateFn(t[e]);)if(e+=i,!t[e])return;this.setActiveItem(e)}}_getItemsArray(){return this._items instanceof Ot?this._items.toArray():this._items}},ys=class extends nt{setActiveItem(e){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(e),this.activeItem&&this.activeItem.setActiveStyles()}},bs=class extends nt{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(e){return this._origin=e,this}setActiveItem(e){super.setActiveItem(e),this.activeItem&&this.activeItem.focus(this._origin)}};var Vn=(()=>{let e=class e{constructor(t){this._platform=t}isDisabled(t){return t.hasAttribute("disabled")}isVisible(t){return Wn(t)&&getComputedStyle(t).visibility==="visible"}isTabbable(t){if(!this._platform.isBrowser)return!1;let s=$n(Jn(t));if(s&&(vs(s)===-1||!this.isVisible(s)))return!1;let r=t.nodeName.toLowerCase(),o=vs(t);return t.hasAttribute("contenteditable")?o!==-1:r==="iframe"||r==="object"||this._platform.WEBKIT&&this._platform.IOS&&!Zn(t)?!1:r==="audio"?t.hasAttribute("controls")?o!==-1:!1:r==="video"?o===-1?!1:o!==null?!0:this._platform.FIREFOX||t.hasAttribute("controls"):t.tabIndex>=0}isFocusable(t,s){return Xn(t)&&!this.isDisabled(t)&&(s?.ignoreVisibility||this.isVisible(t))}};e.\u0275fac=function(s){return new(s||e)(y($))},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();function $n(n){try{return n.frameElement}catch{return null}}function Wn(n){return!!(n.offsetWidth||n.offsetHeight||typeof n.getClientRects=="function"&&n.getClientRects().length)}function qn(n){let e=n.nodeName.toLowerCase();return e==="input"||e==="select"||e==="button"||e==="textarea"}function Hn(n){return Gn(n)&&n.type=="hidden"}function Qn(n){return Yn(n)&&n.hasAttribute("href")}function Gn(n){return n.nodeName.toLowerCase()=="input"}function Yn(n){return n.nodeName.toLowerCase()=="a"}function As(n){if(!n.hasAttribute("tabindex")||n.tabIndex===void 0)return!1;let e=n.getAttribute("tabindex");return!!(e&&!isNaN(parseInt(e,10)))}function vs(n){if(!As(n))return null;let e=parseInt(n.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}function Zn(n){let e=n.nodeName.toLowerCase(),i=e==="input"&&n.type;return i==="text"||i==="password"||e==="select"||e==="textarea"}function Xn(n){return Hn(n)?!1:qn(n)||Qn(n)||n.hasAttribute("contenteditable")||As(n)}function Jn(n){return n.ownerDocument&&n.ownerDocument.defaultView||window}var Vt=class{get enabled(){return this._enabled}set enabled(e){this._enabled=e,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}constructor(e,i,t,s,r=!1){this._element=e,this._checker=i,this._ngZone=t,this._document=s,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,r||this.attachAnchors()}destroy(){let e=this._startAnchor,i=this._endAnchor;e&&(e.removeEventListener("focus",this.startAnchorListener),e.remove()),i&&(i.removeEventListener("focus",this.endAnchorListener),i.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return this._hasAttached?!0:(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(e){return new Promise(i=>{this._executeOnStable(()=>i(this.focusInitialElement(e)))})}focusFirstTabbableElementWhenReady(e){return new Promise(i=>{this._executeOnStable(()=>i(this.focusFirstTabbableElement(e)))})}focusLastTabbableElementWhenReady(e){return new Promise(i=>{this._executeOnStable(()=>i(this.focusLastTabbableElement(e)))})}_getRegionBoundary(e){let i=this._element.querySelectorAll(`[cdk-focus-region-${e}], [cdkFocusRegion${e}], [cdk-focus-${e}]`);return e=="start"?i.length?i[0]:this._getFirstTabbableElement(this._element):i.length?i[i.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(e){let i=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(i){if(!this._checker.isFocusable(i)){let t=this._getFirstTabbableElement(i);return t?.focus(e),!!t}return i.focus(e),!0}return this.focusFirstTabbableElement(e)}focusFirstTabbableElement(e){let i=this._getRegionBoundary("start");return i&&i.focus(e),!!i}focusLastTabbableElement(e){let i=this._getRegionBoundary("end");return i&&i.focus(e),!!i}hasAttached(){return this._hasAttached}_getFirstTabbableElement(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;let i=e.children;for(let t=0;t<i.length;t++){let s=i[t].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(i[t]):null;if(s)return s}return null}_getLastTabbableElement(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;let i=e.children;for(let t=i.length-1;t>=0;t--){let s=i[t].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(i[t]):null;if(s)return s}return null}_createAnchor(){let e=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,e),e.classList.add("cdk-visually-hidden"),e.classList.add("cdk-focus-trap-anchor"),e.setAttribute("aria-hidden","true"),e}_toggleAnchorTabIndex(e,i){e?i.setAttribute("tabindex","0"):i.removeAttribute("tabindex")}toggleAnchors(e){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}_executeOnStable(e){this._ngZone.isStable?e():this._ngZone.onStable.pipe(We(1)).subscribe(e)}},er=(()=>{let e=class e{constructor(t,s,r){this._checker=t,this._ngZone=s,this._document=r}create(t,s=!1){return new Vt(t,this._checker,this._ngZone,this._document,s)}};e.\u0275fac=function(s){return new(s||e)(y(Vn),y(j),y(L))},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),sl=(()=>{let e=class e{get enabled(){return this.focusTrap.enabled}set enabled(t){this.focusTrap.enabled=t}constructor(t,s,r){this._elementRef=t,this._focusTrapFactory=s,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}ngOnChanges(t){let s=t.autoCapture;s&&!s.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=ds(),this.focusTrap.focusInitialElementWhenReady()}};e.\u0275fac=function(s){return new(s||e)(M(H),M(er),M(L))},e.\u0275dir=ce({type:e,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled",Ne],autoCapture:["cdkTrapFocusAutoCapture","autoCapture",Ne]},exportAs:["cdkTrapFocus"],features:[Ce,Ki]});let n=e;return n})();function $t(n){return n.buttons===0||n.detail===0}function Wt(n){let e=n.touches&&n.touches[0]||n.changedTouches&&n.changedTouches[0];return!!e&&e.identifier===-1&&(e.radiusX==null||e.radiusX===1)&&(e.radiusY==null||e.radiusY===1)}var tr=new x("cdk-input-modality-detector-options"),ir={ignoreKeys:[18,17,224,91,16]},Is=650,we=Te({passive:!0,capture:!0}),sr=(()=>{let e=class e{get mostRecentModality(){return this._modality.value}constructor(t,s,r,o){this._platform=t,this._mostRecentTarget=null,this._modality=new Pi(null),this._lastTouchMs=0,this._onKeydown=a=>{this._options?.ignoreKeys?.some(l=>l===a.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=re(a))},this._onMousedown=a=>{Date.now()-this._lastTouchMs<Is||(this._modality.next($t(a)?"keyboard":"mouse"),this._mostRecentTarget=re(a))},this._onTouchstart=a=>{if(Wt(a)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=re(a)},this._options=R(R({},ir),o),this.modalityDetected=this._modality.pipe(qe(1)),this.modalityChanged=this.modalityDetected.pipe(Bi()),t.isBrowser&&s.runOutsideAngular(()=>{r.addEventListener("keydown",this._onKeydown,we),r.addEventListener("mousedown",this._onMousedown,we),r.addEventListener("touchstart",this._onTouchstart,we)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,we),document.removeEventListener("mousedown",this._onMousedown,we),document.removeEventListener("touchstart",this._onTouchstart,we))}};e.\u0275fac=function(s){return new(s||e)(y($),y(j),y(L),y(tr,8))},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),nr=new x("liveAnnouncerElement",{providedIn:"root",factory:rr});function rr(){return null}var or=new x("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),ar=0,nl=(()=>{let e=class e{constructor(t,s,r,o){this._ngZone=s,this._defaultOptions=o,this._document=r,this._liveElement=t||this._createLiveElement()}announce(t,...s){let r=this._defaultOptions,o,a;return s.length===1&&typeof s[0]=="number"?a=s[0]:[o,a]=s,this.clear(),clearTimeout(this._previousTimeout),o||(o=r&&r.politeness?r.politeness:"polite"),a==null&&r&&(a=r.duration),this._liveElement.setAttribute("aria-live",o),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(l=>this._currentResolve=l)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=t,typeof a=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),a)),this._currentResolve(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let t="cdk-live-announcer-element",s=this._document.getElementsByClassName(t),r=this._document.createElement("div");for(let o=0;o<s.length;o++)s[o].remove();return r.classList.add(t),r.classList.add("cdk-visually-hidden"),r.setAttribute("aria-atomic","true"),r.setAttribute("aria-live","polite"),r.id=`cdk-live-announcer-${ar++}`,this._document.body.appendChild(r),r}_exposeAnnouncerToModals(t){let s=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let r=0;r<s.length;r++){let o=s[r],a=o.getAttribute("aria-owns");a?a.indexOf(t)===-1&&o.setAttribute("aria-owns",a+" "+t):o.setAttribute("aria-owns",t)}}};e.\u0275fac=function(s){return new(s||e)(y(nr,8),y(j),y(L),y(or,8))},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();var lr=new x("cdk-focus-monitor-default-options"),it=Te({passive:!0,capture:!0}),cr=(()=>{let e=class e{constructor(t,s,r,o,a){this._ngZone=t,this._platform=s,this._inputModalityDetector=r,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new q,this._rootNodeFocusAndBlurListener=l=>{let c=re(l);for(let d=c;d;d=d.parentElement)l.type==="focus"?this._onFocus(l,d):this._onBlur(l,d)},this._document=o,this._detectionMode=a?.detectionMode||0}monitor(t,s=!1){let r=ue(t);if(!this._platform.isBrowser||r.nodeType!==1)return Fi();let o=cs(r)||this._getDocument(),a=this._elementInfo.get(r);if(a)return s&&(a.checkChildren=!0),a.subject;let l={checkChildren:s,subject:new q,rootNode:o};return this._elementInfo.set(r,l),this._registerGlobalListeners(l),l.subject}stopMonitoring(t){let s=ue(t),r=this._elementInfo.get(s);r&&(r.subject.complete(),this._setClasses(s),this._elementInfo.delete(s),this._removeGlobalListeners(r))}focusVia(t,s,r){let o=ue(t),a=this._getDocument().activeElement;o===a?this._getClosestElementsInfo(o).forEach(([l,c])=>this._originChanged(l,s,c)):(this._setOrigin(s),typeof o.focus=="function"&&o.focus(r))}ngOnDestroy(){this._elementInfo.forEach((t,s)=>this.stopMonitoring(s))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(t){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(t)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:t&&this._isLastInteractionFromInputLabel(t)?"mouse":"program"}_shouldBeAttributedToTouch(t){return this._detectionMode===1||!!t?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(t,s){t.classList.toggle("cdk-focused",!!s),t.classList.toggle("cdk-touch-focused",s==="touch"),t.classList.toggle("cdk-keyboard-focused",s==="keyboard"),t.classList.toggle("cdk-mouse-focused",s==="mouse"),t.classList.toggle("cdk-program-focused",s==="program")}_setOrigin(t,s=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=t,this._originFromTouchInteraction=t==="touch"&&s,this._detectionMode===0){clearTimeout(this._originTimeoutId);let r=this._originFromTouchInteraction?Is:1;this._originTimeoutId=setTimeout(()=>this._origin=null,r)}})}_onFocus(t,s){let r=this._elementInfo.get(s),o=re(t);!r||!r.checkChildren&&s!==o||this._originChanged(s,this._getFocusOrigin(o),r)}_onBlur(t,s){let r=this._elementInfo.get(s);!r||r.checkChildren&&t.relatedTarget instanceof Node&&s.contains(t.relatedTarget)||(this._setClasses(s),this._emitOrigin(r,null))}_emitOrigin(t,s){t.subject.observers.length&&this._ngZone.run(()=>t.subject.next(s))}_registerGlobalListeners(t){if(!this._platform.isBrowser)return;let s=t.rootNode,r=this._rootNodeFocusListenerCount.get(s)||0;r||this._ngZone.runOutsideAngular(()=>{s.addEventListener("focus",this._rootNodeFocusAndBlurListener,it),s.addEventListener("blur",this._rootNodeFocusAndBlurListener,it)}),this._rootNodeFocusListenerCount.set(s,r+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(He(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,!0)}))}_removeGlobalListeners(t){let s=t.rootNode;if(this._rootNodeFocusListenerCount.has(s)){let r=this._rootNodeFocusListenerCount.get(s);r>1?this._rootNodeFocusListenerCount.set(s,r-1):(s.removeEventListener("focus",this._rootNodeFocusAndBlurListener,it),s.removeEventListener("blur",this._rootNodeFocusAndBlurListener,it),this._rootNodeFocusListenerCount.delete(s))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(t,s,r){this._setClasses(t,s),this._emitOrigin(r,s),this._lastFocusOrigin=s}_getClosestElementsInfo(t){let s=[];return this._elementInfo.forEach((r,o)=>{(o===t||r.checkChildren&&o.contains(t))&&s.push([o,r])}),s}_isLastInteractionFromInputLabel(t){let{_mostRecentTarget:s,mostRecentModality:r}=this._inputModalityDetector;if(r!=="mouse"||!s||s===t||t.nodeName!=="INPUT"&&t.nodeName!=="TEXTAREA"||t.disabled)return!1;let o=t.labels;if(o){for(let a=0;a<o.length;a++)if(o[a].contains(s))return!0}return!1}};e.\u0275fac=function(s){return new(s||e)(y(j),y($),y(sr),y(L,8),y(lr,8))},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),rl=(()=>{let e=class e{constructor(t,s){this._elementRef=t,this._focusMonitor=s,this._focusOrigin=null,this.cdkFocusChange=new be}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){let t=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(t,t.nodeType===1&&t.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(s=>{this._focusOrigin=s,this.cdkFocusChange.emit(s)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}};e.\u0275fac=function(s){return new(s||e)(M(H),M(cr))},e.\u0275dir=ce({type:e,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]});let n=e;return n})(),Es="cdk-high-contrast-black-on-white",Ts="cdk-high-contrast-white-on-black",zt="cdk-high-contrast-active",qt=(()=>{let e=class e{constructor(t,s){this._platform=t,this._document=s,this._breakpointSubscription=U(gs).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;let t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);let s=this._document.defaultView||window,r=s&&s.getComputedStyle?s.getComputedStyle(t):null,o=(r&&r.backgroundColor||"").replace(/ /g,"");switch(t.remove(),o){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let t=this._document.body.classList;t.remove(zt,Es,Ts),this._hasCheckedHighContrastMode=!0;let s=this.getHighContrastMode();s===1?t.add(zt,Es):s===2&&t.add(zt,Ts)}}};e.\u0275fac=function(s){return new(s||e)(y($),y(L))},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),ol=(()=>{let e=class e{constructor(t){t._applyBodyHighContrastModeCssClasses()}};e.\u0275fac=function(s){return new(s||e)(y(qt))},e.\u0275mod=N({type:e}),e.\u0275inj=C({imports:[ms]});let n=e;return n})();var ur=new x("cdk-dir-doc",{providedIn:"root",factory:mr});function mr(){return U(L)}var fr=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function pr(n){let e=n?.toLowerCase()||"";return e==="auto"&&typeof navigator<"u"&&navigator?.language?fr.test(navigator.language)?"rtl":"ltr":e==="rtl"?"rtl":"ltr"}var _l=(()=>{let e=class e{constructor(t){if(this.value="ltr",this.change=new be,t){let s=t.body?t.body.dir:null,r=t.documentElement?t.documentElement.dir:null;this.value=pr(s||r||"ltr")}}ngOnDestroy(){this.change.complete()}};e.\u0275fac=function(s){return new(s||e)(y(ur,8))},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();var Ht=(()=>{let e=class e{};e.\u0275fac=function(s){return new(s||e)},e.\u0275mod=N({type:e}),e.\u0275inj=C({});let n=e;return n})();function Ds(n){return new E(3e3,!1)}function gr(){return new E(3100,!1)}function _r(){return new E(3101,!1)}function yr(n){return new E(3001,!1)}function br(n){return new E(3003,!1)}function vr(n){return new E(3004,!1)}function Er(n,e){return new E(3005,!1)}function Tr(){return new E(3006,!1)}function wr(){return new E(3007,!1)}function Sr(n,e){return new E(3008,!1)}function Ar(n){return new E(3002,!1)}function Ir(n,e,i,t,s){return new E(3010,!1)}function Dr(){return new E(3011,!1)}function Mr(){return new E(3012,!1)}function kr(){return new E(3200,!1)}function Cr(){return new E(3202,!1)}function Nr(){return new E(3013,!1)}function Or(n){return new E(3014,!1)}function Rr(n){return new E(3015,!1)}function Pr(n){return new E(3016,!1)}function Fr(n,e){return new E(3404,!1)}function Lr(n){return new E(3502,!1)}function xr(n){return new E(3503,!1)}function jr(){return new E(3300,!1)}function Br(n){return new E(3504,!1)}function Ur(n){return new E(3301,!1)}function zr(n,e){return new E(3302,!1)}function Kr(n){return new E(3303,!1)}function Vr(n,e){return new E(3400,!1)}function $r(n){return new E(3401,!1)}function Wr(n){return new E(3402,!1)}function qr(n,e){return new E(3505,!1)}function oe(n){switch(n.length){case 0:return new ve;case 1:return n[0];default:return new Pt(n)}}function zs(n,e,i=new Map,t=new Map){let s=[],r=[],o=-1,a=null;if(e.forEach(l=>{let c=l.get("offset"),d=c==o,h=d&&a||new Map;l.forEach((b,_)=>{let m=_,f=b;if(_!=="offset")switch(m=n.normalizePropertyName(m,s),f){case Je:f=i.get(_);break;case Z:f=t.get(_);break;default:f=n.normalizeStyleValue(_,m,f,s);break}h.set(m,f)}),d||r.push(h),a=h,o=c}),s.length)throw Lr(s);return r}function pi(n,e,i,t){switch(e){case"start":n.onStart(()=>t(i&&Qt(i,"start",n)));break;case"done":n.onDone(()=>t(i&&Qt(i,"done",n)));break;case"destroy":n.onDestroy(()=>t(i&&Qt(i,"destroy",n)));break}}function Qt(n,e,i){let t=i.totalTime,s=!!i.disabled,r=gi(n.element,n.triggerName,n.fromState,n.toState,e||n.phaseName,t??n.totalTime,s),o=n._data;return o!=null&&(r._data=o),r}function gi(n,e,i,t,s="",r=0,o){return{element:n,triggerName:e,fromState:i,toState:t,phaseName:s,totalTime:r,disabled:!!o}}function K(n,e,i){let t=n.get(e);return t||n.set(e,t=i),t}function Ms(n){let e=n.indexOf(":"),i=n.substring(1,e),t=n.slice(e+1);return[i,t]}var Hr=(()=>typeof document>"u"?null:document.documentElement)();function _i(n){let e=n.parentNode||n.host||null;return e===Hr?null:e}function Qr(n){return n.substring(1,6)=="ebkit"}var fe=null,ks=!1;function Gr(n){fe||(fe=Yr()||{},ks=fe.style?"WebkitAppearance"in fe.style:!1);let e=!0;return fe.style&&!Qr(n)&&(e=n in fe.style,!e&&ks&&(e="Webkit"+n.charAt(0).toUpperCase()+n.slice(1)in fe.style)),e}function Yr(){return typeof document<"u"?document.body:null}function Ks(n,e){for(;e;){if(e===n)return!0;e=_i(e)}return!1}function Vs(n,e,i){if(i)return Array.from(n.querySelectorAll(e));let t=n.querySelector(e);return t?[t]:[]}var yi=(()=>{let e=class e{validateStyleProperty(t){return Gr(t)}matchesElement(t,s){return!1}containsElement(t,s){return Ks(t,s)}getParentElement(t){return _i(t)}query(t,s,r){return Vs(t,s,r)}computeStyle(t,s,r){return r||""}animate(t,s,r,o,a,l=[],c){return new ve(r,o)}};e.\u0275fac=function(s){return new(s||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac});let n=e;return n})(),Be=(()=>{let e=class e{};e.NOOP=new yi;let n=e;return n})(),_e=class{};var Zr=1e3,$s="{{",Xr="}}",Ws="ng-enter",ei="ng-leave",rt="ng-trigger",dt=".ng-trigger",Cs="ng-animating",ti=".ng-animating";function se(n){if(typeof n=="number")return n;let e=n.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:ii(parseFloat(e[1]),e[2])}function ii(n,e){switch(e){case"s":return n*Zr;default:return n}}function ht(n,e,i){return n.hasOwnProperty("duration")?n:Jr(n,e,i)}function Jr(n,e,i){let t=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,s,r=0,o="";if(typeof n=="string"){let a=n.match(t);if(a===null)return e.push(Ds(n)),{duration:0,delay:0,easing:""};s=ii(parseFloat(a[1]),a[2]);let l=a[3];l!=null&&(r=ii(parseFloat(l),a[4]));let c=a[5];c&&(o=c)}else s=n;if(!i){let a=!1,l=e.length;s<0&&(e.push(gr()),a=!0),r<0&&(e.push(_r()),a=!0),a&&e.splice(l,0,Ds(n))}return{duration:s,delay:r,easing:o}}function Ue(n,e={}){return Object.keys(n).forEach(i=>{e[i]=n[i]}),e}function qs(n){let e=new Map;return Object.keys(n).forEach(i=>{let t=n[i];e.set(i,t)}),e}function eo(n){return n.length?n[0]instanceof Map?n:n.map(e=>qs(e)):[]}function Ae(n,e=new Map,i){if(i)for(let[t,s]of i)e.set(t,s);for(let[t,s]of n)e.set(t,s);return e}function X(n,e,i){e.forEach((t,s)=>{let r=bi(s);i&&!i.has(s)&&i.set(s,n.style[r]),n.style[r]=t})}function ge(n,e){e.forEach((i,t)=>{let s=bi(t);n.style[s]=""})}function Re(n){return Array.isArray(n)?n.length==1?n[0]:as(n):n}function to(n,e,i){let t=e.params||{},s=Hs(n);s.length&&s.forEach(r=>{t.hasOwnProperty(r)||i.push(yr(r))})}var si=new RegExp(`${$s}\\s*(.+?)\\s*${Xr}`,"g");function Hs(n){let e=[];if(typeof n=="string"){let i;for(;i=si.exec(n);)e.push(i[1]);si.lastIndex=0}return e}function Fe(n,e,i){let t=n.toString(),s=t.replace(si,(r,o)=>{let a=e[o];return a==null&&(i.push(br(o)),a=""),a.toString()});return s==t?n:s}function ut(n){let e=[],i=n.next();for(;!i.done;)e.push(i.value),i=n.next();return e}var io=/-+([a-z0-9])/g;function bi(n){return n.replace(io,(...e)=>e[1].toUpperCase())}function so(n,e){return n===0||e===0}function no(n,e,i){if(i.size&&e.length){let t=e[0],s=[];if(i.forEach((r,o)=>{t.has(o)||s.push(o),t.set(o,r)}),s.length)for(let r=1;r<e.length;r++){let o=e[r];s.forEach(a=>o.set(a,Qs(n,a)))}}return e}function z(n,e,i){switch(e.type){case 7:return n.visitTrigger(e,i);case 0:return n.visitState(e,i);case 1:return n.visitTransition(e,i);case 2:return n.visitSequence(e,i);case 3:return n.visitGroup(e,i);case 4:return n.visitAnimate(e,i);case 5:return n.visitKeyframes(e,i);case 6:return n.visitStyle(e,i);case 8:return n.visitReference(e,i);case 9:return n.visitAnimateChild(e,i);case 10:return n.visitAnimateRef(e,i);case 11:return n.visitQuery(e,i);case 12:return n.visitStagger(e,i);default:throw vr(e.type)}}function Qs(n,e){return window.getComputedStyle(n)[e]}var ro=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"]),mt=class extends _e{normalizePropertyName(e,i){return bi(e)}normalizeStyleValue(e,i,t,s){let r="",o=t.toString().trim();if(ro.has(i)&&t!==0&&t!=="0")if(typeof t=="number")r="px";else{let a=t.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&a[1].length==0&&s.push(Er(e,t))}return o+r}};var ft="*";function oo(n,e){let i=[];return typeof n=="string"?n.split(/\s*,\s*/).forEach(t=>ao(t,i,e)):i.push(n),i}function ao(n,e,i){if(n[0]==":"){let l=lo(n,i);if(typeof l=="function"){e.push(l);return}n=l}let t=n.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(t==null||t.length<4)return i.push(Rr(n)),e;let s=t[1],r=t[2],o=t[3];e.push(Ns(s,o));let a=s==ft&&o==ft;r[0]=="<"&&!a&&e.push(Ns(o,s))}function lo(n,e){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(i,t)=>parseFloat(t)>parseFloat(i);case":decrement":return(i,t)=>parseFloat(t)<parseFloat(i);default:return e.push(Pr(n)),"* => *"}}var ot=new Set(["true","1"]),at=new Set(["false","0"]);function Ns(n,e){let i=ot.has(n)||at.has(n),t=ot.has(e)||at.has(e);return(s,r)=>{let o=n==ft||n==s,a=e==ft||e==r;return!o&&i&&typeof s=="boolean"&&(o=s?ot.has(n):at.has(n)),!a&&t&&typeof r=="boolean"&&(a=r?ot.has(e):at.has(e)),o&&a}}var Gs=":self",co=new RegExp(`s*${Gs}s*,?`,"g");function Ys(n,e,i,t){return new ni(n).build(e,i,t)}var Os="",ni=class{constructor(e){this._driver=e}build(e,i,t){let s=new ri(i);return this._resetContextStyleTimingState(s),z(this,Re(e),s)}_resetContextStyleTimingState(e){e.currentQuerySelector=Os,e.collectedStyles=new Map,e.collectedStyles.set(Os,new Map),e.currentTime=0}visitTrigger(e,i){let t=i.queryCount=0,s=i.depCount=0,r=[],o=[];return e.name.charAt(0)=="@"&&i.errors.push(Tr()),e.definitions.forEach(a=>{if(this._resetContextStyleTimingState(i),a.type==0){let l=a,c=l.name;c.toString().split(/\s*,\s*/).forEach(d=>{l.name=d,r.push(this.visitState(l,i))}),l.name=c}else if(a.type==1){let l=this.visitTransition(a,i);t+=l.queryCount,s+=l.depCount,o.push(l)}else i.errors.push(wr())}),{type:7,name:e.name,states:r,transitions:o,queryCount:t,depCount:s,options:null}}visitState(e,i){let t=this.visitStyle(e.styles,i),s=e.options&&e.options.params||null;if(t.containsDynamicStyles){let r=new Set,o=s||{};if(t.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{Hs(l).forEach(c=>{o.hasOwnProperty(c)||r.add(c)})})}),r.size){let a=ut(r.values());i.errors.push(Sr(e.name,a))}}return{type:0,name:e.name,style:t,options:s?{params:s}:null}}visitTransition(e,i){i.queryCount=0,i.depCount=0;let t=z(this,Re(e.animation),i);return{type:1,matchers:oo(e.expr,i.errors),animation:t,queryCount:i.queryCount,depCount:i.depCount,options:pe(e.options)}}visitSequence(e,i){return{type:2,steps:e.steps.map(t=>z(this,t,i)),options:pe(e.options)}}visitGroup(e,i){let t=i.currentTime,s=0,r=e.steps.map(o=>{i.currentTime=t;let a=z(this,o,i);return s=Math.max(s,i.currentTime),a});return i.currentTime=s,{type:3,steps:r,options:pe(e.options)}}visitAnimate(e,i){let t=fo(e.timings,i.errors);i.currentAnimateTimings=t;let s,r=e.styles?e.styles:Rt({});if(r.type==5)s=this.visitKeyframes(r,i);else{let o=e.styles,a=!1;if(!o){a=!0;let c={};t.easing&&(c.easing=t.easing),o=Rt(c)}i.currentTime+=t.duration+t.delay;let l=this.visitStyle(o,i);l.isEmptyStep=a,s=l}return i.currentAnimateTimings=null,{type:4,timings:t,style:s,options:null}}visitStyle(e,i){let t=this._makeStyleAst(e,i);return this._validateStyleAst(t,i),t}_makeStyleAst(e,i){let t=[],s=Array.isArray(e.styles)?e.styles:[e.styles];for(let a of s)typeof a=="string"?a===Z?t.push(a):i.errors.push(Ar(a)):t.push(qs(a));let r=!1,o=null;return t.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(o=a.get("easing"),a.delete("easing")),!r)){for(let l of a.values())if(l.toString().indexOf($s)>=0){r=!0;break}}}),{type:6,styles:t,easing:o,offset:e.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(e,i){let t=i.currentAnimateTimings,s=i.currentTime,r=i.currentTime;t&&r>0&&(r-=t.duration+t.delay),e.styles.forEach(o=>{typeof o!="string"&&o.forEach((a,l)=>{let c=i.collectedStyles.get(i.currentQuerySelector),d=c.get(l),h=!0;d&&(r!=s&&r>=d.startTime&&s<=d.endTime&&(i.errors.push(Ir(l,d.startTime,d.endTime,r,s)),h=!1),r=d.startTime),h&&c.set(l,{startTime:r,endTime:s}),i.options&&to(a,i.options,i.errors)})})}visitKeyframes(e,i){let t={type:5,styles:[],options:null};if(!i.currentAnimateTimings)return i.errors.push(Dr()),t;let s=1,r=0,o=[],a=!1,l=!1,c=0,d=e.steps.map(A=>{let I=this._makeStyleAst(A,i),P=I.offset!=null?I.offset:mo(I.styles),k=0;return P!=null&&(r++,k=I.offset=P),l=l||k<0||k>1,a=a||k<c,c=k,o.push(k),I});l&&i.errors.push(Mr()),a&&i.errors.push(kr());let h=e.steps.length,b=0;r>0&&r<h?i.errors.push(Cr()):r==0&&(b=s/(h-1));let _=h-1,m=i.currentTime,f=i.currentAnimateTimings,T=f.duration;return d.forEach((A,I)=>{let P=b>0?I==_?1:b*I:o[I],k=P*T;i.currentTime=m+f.delay+k,f.duration=k,this._validateStyleAst(A,i),A.offset=P,t.styles.push(A)}),t}visitReference(e,i){return{type:8,animation:z(this,Re(e.animation),i),options:pe(e.options)}}visitAnimateChild(e,i){return i.depCount++,{type:9,options:pe(e.options)}}visitAnimateRef(e,i){return{type:10,animation:this.visitReference(e.animation,i),options:pe(e.options)}}visitQuery(e,i){let t=i.currentQuerySelector,s=e.options||{};i.queryCount++,i.currentQuery=e;let[r,o]=ho(e.selector);i.currentQuerySelector=t.length?t+" "+r:r,K(i.collectedStyles,i.currentQuerySelector,new Map);let a=z(this,Re(e.animation),i);return i.currentQuery=null,i.currentQuerySelector=t,{type:11,selector:r,limit:s.limit||0,optional:!!s.optional,includeSelf:o,animation:a,originalSelector:e.selector,options:pe(e.options)}}visitStagger(e,i){i.currentQuery||i.errors.push(Nr());let t=e.timings==="full"?{duration:0,delay:0,easing:"full"}:ht(e.timings,i.errors,!0);return{type:12,animation:z(this,Re(e.animation),i),timings:t,options:null}}};function ho(n){let e=!!n.split(/\s*,\s*/).find(i=>i==Gs);return e&&(n=n.replace(co,"")),n=n.replace(/@\*/g,dt).replace(/@\w+/g,i=>dt+"-"+i.slice(1)).replace(/:animating/g,ti),[n,e]}function uo(n){return n?Ue(n):null}var ri=class{constructor(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}};function mo(n){if(typeof n=="string")return null;let e=null;if(Array.isArray(n))n.forEach(i=>{if(i instanceof Map&&i.has("offset")){let t=i;e=parseFloat(t.get("offset")),t.delete("offset")}});else if(n instanceof Map&&n.has("offset")){let i=n;e=parseFloat(i.get("offset")),i.delete("offset")}return e}function fo(n,e){if(n.hasOwnProperty("duration"))return n;if(typeof n=="number"){let r=ht(n,e).duration;return Gt(r,0,"")}let i=n;if(i.split(/\s+/).some(r=>r.charAt(0)=="{"&&r.charAt(1)=="{")){let r=Gt(0,0,"");return r.dynamic=!0,r.strValue=i,r}let s=ht(i,e);return Gt(s.duration,s.delay,s.easing)}function pe(n){return n?(n=Ue(n),n.params&&(n.params=uo(n.params))):n={},n}function Gt(n,e,i){return{duration:n,delay:e,easing:i}}function vi(n,e,i,t,s,r,o=null,a=!1){return{type:1,element:n,keyframes:e,preStyleProps:i,postStyleProps:t,duration:s,delay:r,totalTime:s+r,easing:o,subTimeline:a}}var Le=class{constructor(){this._map=new Map}get(e){return this._map.get(e)||[]}append(e,i){let t=this._map.get(e);t||this._map.set(e,t=[]),t.push(...i)}has(e){return this._map.has(e)}clear(){this._map.clear()}},po=1,go=":enter",_o=new RegExp(go,"g"),yo=":leave",bo=new RegExp(yo,"g");function Zs(n,e,i,t,s,r=new Map,o=new Map,a,l,c=[]){return new oi().buildKeyframes(n,e,i,t,s,r,o,a,l,c)}var oi=class{buildKeyframes(e,i,t,s,r,o,a,l,c,d=[]){c=c||new Le;let h=new ai(e,i,c,s,r,d,[]);h.options=l;let b=l.delay?se(l.delay):0;h.currentTimeline.delayNextStep(b),h.currentTimeline.setStyles([o],null,h.errors,l),z(this,t,h);let _=h.timelines.filter(m=>m.containsAnimation());if(_.length&&a.size){let m;for(let f=_.length-1;f>=0;f--){let T=_[f];if(T.element===i){m=T;break}}m&&!m.allowOnlyTimelineStyles()&&m.setStyles([a],null,h.errors,l)}return _.length?_.map(m=>m.buildKeyframes()):[vi(i,[],[],[],0,b,"",!1)]}visitTrigger(e,i){}visitState(e,i){}visitTransition(e,i){}visitAnimateChild(e,i){let t=i.subInstructions.get(i.element);if(t){let s=i.createSubContext(e.options),r=i.currentTimeline.currentTime,o=this._visitSubInstructions(t,s,s.options);r!=o&&i.transformIntoNewTimeline(o)}i.previousNode=e}visitAnimateRef(e,i){let t=i.createSubContext(e.options);t.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],i,t),this.visitReference(e.animation,t),i.transformIntoNewTimeline(t.currentTimeline.currentTime),i.previousNode=e}_applyAnimationRefDelays(e,i,t){for(let s of e){let r=s?.delay;if(r){let o=typeof r=="number"?r:se(Fe(r,s?.params??{},i.errors));t.delayNextStep(o)}}}_visitSubInstructions(e,i,t){let r=i.currentTimeline.currentTime,o=t.duration!=null?se(t.duration):null,a=t.delay!=null?se(t.delay):null;return o!==0&&e.forEach(l=>{let c=i.appendInstructionToTimeline(l,o,a);r=Math.max(r,c.duration+c.delay)}),r}visitReference(e,i){i.updateOptions(e.options,!0),z(this,e.animation,i),i.previousNode=e}visitSequence(e,i){let t=i.subContextCount,s=i,r=e.options;if(r&&(r.params||r.delay)&&(s=i.createSubContext(r),s.transformIntoNewTimeline(),r.delay!=null)){s.previousNode.type==6&&(s.currentTimeline.snapshotCurrentStyles(),s.previousNode=pt);let o=se(r.delay);s.delayNextStep(o)}e.steps.length&&(e.steps.forEach(o=>z(this,o,s)),s.currentTimeline.applyStylesToKeyframe(),s.subContextCount>t&&s.transformIntoNewTimeline()),i.previousNode=e}visitGroup(e,i){let t=[],s=i.currentTimeline.currentTime,r=e.options&&e.options.delay?se(e.options.delay):0;e.steps.forEach(o=>{let a=i.createSubContext(e.options);r&&a.delayNextStep(r),z(this,o,a),s=Math.max(s,a.currentTimeline.currentTime),t.push(a.currentTimeline)}),t.forEach(o=>i.currentTimeline.mergeTimelineCollectedStyles(o)),i.transformIntoNewTimeline(s),i.previousNode=e}_visitTiming(e,i){if(e.dynamic){let t=e.strValue,s=i.params?Fe(t,i.params,i.errors):t;return ht(s,i.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,i){let t=i.currentAnimateTimings=this._visitTiming(e.timings,i),s=i.currentTimeline;t.delay&&(i.incrementTime(t.delay),s.snapshotCurrentStyles());let r=e.style;r.type==5?this.visitKeyframes(r,i):(i.incrementTime(t.duration),this.visitStyle(r,i),s.applyStylesToKeyframe()),i.currentAnimateTimings=null,i.previousNode=e}visitStyle(e,i){let t=i.currentTimeline,s=i.currentAnimateTimings;!s&&t.hasCurrentStyleProperties()&&t.forwardFrame();let r=s&&s.easing||e.easing;e.isEmptyStep?t.applyEmptyStep(r):t.setStyles(e.styles,r,i.errors,i.options),i.previousNode=e}visitKeyframes(e,i){let t=i.currentAnimateTimings,s=i.currentTimeline.duration,r=t.duration,a=i.createSubContext().currentTimeline;a.easing=t.easing,e.styles.forEach(l=>{let c=l.offset||0;a.forwardTime(c*r),a.setStyles(l.styles,l.easing,i.errors,i.options),a.applyStylesToKeyframe()}),i.currentTimeline.mergeTimelineCollectedStyles(a),i.transformIntoNewTimeline(s+r),i.previousNode=e}visitQuery(e,i){let t=i.currentTimeline.currentTime,s=e.options||{},r=s.delay?se(s.delay):0;r&&(i.previousNode.type===6||t==0&&i.currentTimeline.hasCurrentStyleProperties())&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=pt);let o=t,a=i.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!s.optional,i.errors);i.currentQueryTotal=a.length;let l=null;a.forEach((c,d)=>{i.currentQueryIndex=d;let h=i.createSubContext(e.options,c);r&&h.delayNextStep(r),c===i.element&&(l=h.currentTimeline),z(this,e.animation,h),h.currentTimeline.applyStylesToKeyframe();let b=h.currentTimeline.currentTime;o=Math.max(o,b)}),i.currentQueryIndex=0,i.currentQueryTotal=0,i.transformIntoNewTimeline(o),l&&(i.currentTimeline.mergeTimelineCollectedStyles(l),i.currentTimeline.snapshotCurrentStyles()),i.previousNode=e}visitStagger(e,i){let t=i.parentContext,s=i.currentTimeline,r=e.timings,o=Math.abs(r.duration),a=o*(i.currentQueryTotal-1),l=o*i.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":l=a-l;break;case"full":l=t.currentStaggerTime;break}let d=i.currentTimeline;l&&d.delayNextStep(l);let h=d.currentTime;z(this,e.animation,i),i.previousNode=e,t.currentStaggerTime=s.currentTime-h+(s.startTime-t.currentTimeline.startTime)}},pt={},ai=class n{constructor(e,i,t,s,r,o,a,l){this._driver=e,this.element=i,this.subInstructions=t,this._enterClassName=s,this._leaveClassName=r,this.errors=o,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=pt,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new gt(this._driver,i,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,i){if(!e)return;let t=e,s=this.options;t.duration!=null&&(s.duration=se(t.duration)),t.delay!=null&&(s.delay=se(t.delay));let r=t.params;if(r){let o=s.params;o||(o=this.options.params={}),Object.keys(r).forEach(a=>{(!i||!o.hasOwnProperty(a))&&(o[a]=Fe(r[a],o,this.errors))})}}_copyOptions(){let e={};if(this.options){let i=this.options.params;if(i){let t=e.params={};Object.keys(i).forEach(s=>{t[s]=i[s]})}}return e}createSubContext(e=null,i,t){let s=i||this.element,r=new n(this._driver,s,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(s,t||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(e),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(e){return this.previousNode=pt,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,i,t){let s={duration:i??e.duration,delay:this.currentTimeline.currentTime+(t??0)+e.delay,easing:""},r=new li(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,s,e.stretchStartingKeyframe);return this.timelines.push(r),s}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,i,t,s,r,o){let a=[];if(s&&a.push(this.element),e.length>0){e=e.replace(_o,"."+this._enterClassName),e=e.replace(bo,"."+this._leaveClassName);let l=t!=1,c=this._driver.query(this.element,e,l);t!==0&&(c=t<0?c.slice(c.length+t,c.length):c.slice(0,t)),a.push(...c)}return!r&&a.length==0&&o.push(Or(i)),a}},gt=class n{constructor(e,i,t,s){this._driver=e,this.element=i,this.startTime=t,this._elementTimelineStylesLookup=s,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(i),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(i,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 i=this._keyframes.size===1&&this._pendingStyles.size;this.duration||i?(this.forwardTime(this.currentTime+e),i&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,i){return this.applyStylesToKeyframe(),new n(this._driver,e,i||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+=po,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,i){this._localTimelineStyles.set(e,i),this._globalTimelineStyles.set(e,i),this._styleSummary.set(e,{time:this.currentTime,value:i})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[i,t]of this._globalTimelineStyles)this._backFill.set(i,t||Z),this._currentKeyframe.set(i,Z);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,i,t,s){i&&this._previousKeyframe.set("easing",i);let r=s&&s.params||{},o=vo(e,this._globalTimelineStyles);for(let[a,l]of o){let c=Fe(l,r,t);this._pendingStyles.set(a,c),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??Z),this._updateStyle(a,c)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((e,i)=>{this._currentKeyframe.set(i,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,i)=>{this._currentKeyframe.has(i)||this._currentKeyframe.set(i,e)}))}snapshotCurrentStyles(){for(let[e,i]of this._localTimelineStyles)this._pendingStyles.set(e,i),this._updateStyle(e,i)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let e=[];for(let i in this._currentKeyframe)e.push(i);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((i,t)=>{let s=this._styleSummary.get(t);(!s||i.time>s.time)&&this._updateStyle(t,i.value)})}buildKeyframes(){this.applyStylesToKeyframe();let e=new Set,i=new Set,t=this._keyframes.size===1&&this.duration===0,s=[];this._keyframes.forEach((a,l)=>{let c=Ae(a,new Map,this._backFill);c.forEach((d,h)=>{d===Je?e.add(h):d===Z&&i.add(h)}),t||c.set("offset",l/this.duration),s.push(c)});let r=e.size?ut(e.values()):[],o=i.size?ut(i.values()):[];if(t){let a=s[0],l=new Map(a);a.set("offset",0),l.set("offset",1),s=[a,l]}return vi(this.element,s,r,o,this.duration,this.startTime,this.easing,!1)}},li=class extends gt{constructor(e,i,t,s,r,o,a=!1){super(e,i,o.delay),this.keyframes=t,this.preStyleProps=s,this.postStyleProps=r,this._stretchStartingKeyframe=a,this.timings={duration:o.duration,delay:o.delay,easing:o.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:i,duration:t,easing:s}=this.timings;if(this._stretchStartingKeyframe&&i){let r=[],o=t+i,a=i/o,l=Ae(e[0]);l.set("offset",0),r.push(l);let c=Ae(e[0]);c.set("offset",Rs(a)),r.push(c);let d=e.length-1;for(let h=1;h<=d;h++){let b=Ae(e[h]),_=b.get("offset"),m=i+_*t;b.set("offset",Rs(m/o)),r.push(b)}t=o,i=0,s="",e=r}return vi(this.element,e,this.preStyleProps,this.postStyleProps,t,i,s,!0)}};function Rs(n,e=3){let i=Math.pow(10,e-1);return Math.round(n*i)/i}function vo(n,e){let i=new Map,t;return n.forEach(s=>{if(s==="*"){t=t||e.keys();for(let r of t)i.set(r,Z)}else Ae(s,i)}),i}function Ps(n,e,i,t,s,r,o,a,l,c,d,h,b){return{type:0,element:n,triggerName:e,isRemovalTransition:s,fromState:i,fromStyles:r,toState:t,toStyles:o,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:d,totalTime:h,errors:b}}var Yt={},_t=class{constructor(e,i,t){this._triggerName=e,this.ast=i,this._stateStyles=t}match(e,i,t,s){return Eo(this.ast.matchers,e,i,t,s)}buildStyles(e,i,t){let s=this._stateStyles.get("*");return e!==void 0&&(s=this._stateStyles.get(e?.toString())||s),s?s.buildStyles(i,t):new Map}build(e,i,t,s,r,o,a,l,c,d){let h=[],b=this.ast.options&&this.ast.options.params||Yt,_=a&&a.params||Yt,m=this.buildStyles(t,_,h),f=l&&l.params||Yt,T=this.buildStyles(s,f,h),A=new Set,I=new Map,P=new Map,k=s==="void",ye={params:To(f,b),delay:this.ast.options?.delay},G=d?[]:Zs(e,i,this.ast.animation,r,o,m,T,ye,c,h),F=0;if(G.forEach(ee=>{F=Math.max(ee.duration+ee.delay,F)}),h.length)return Ps(i,this._triggerName,t,s,k,m,T,[],[],I,P,F,h);G.forEach(ee=>{let te=ee.element,Mi=K(I,te,new Set);ee.preStyleProps.forEach(ae=>Mi.add(ae));let De=K(P,te,new Set);ee.postStyleProps.forEach(ae=>De.add(ae)),te!==i&&A.add(te)});let J=ut(A.values());return Ps(i,this._triggerName,t,s,k,m,T,G,J,I,P,F)}};function Eo(n,e,i,t,s){return n.some(r=>r(e,i,t,s))}function To(n,e){let i=Ue(e);for(let t in n)n.hasOwnProperty(t)&&n[t]!=null&&(i[t]=n[t]);return i}var ci=class{constructor(e,i,t){this.styles=e,this.defaultParams=i,this.normalizer=t}buildStyles(e,i){let t=new Map,s=Ue(this.defaultParams);return Object.keys(e).forEach(r=>{let o=e[r];o!==null&&(s[r]=o)}),this.styles.styles.forEach(r=>{typeof r!="string"&&r.forEach((o,a)=>{o&&(o=Fe(o,s,i));let l=this.normalizer.normalizePropertyName(a,i);o=this.normalizer.normalizeStyleValue(a,l,o,i),t.set(a,o)})}),t}};function wo(n,e,i){return new di(n,e,i)}var di=class{constructor(e,i,t){this.name=e,this.ast=i,this._normalizer=t,this.transitionFactories=[],this.states=new Map,i.states.forEach(s=>{let r=s.options&&s.options.params||{};this.states.set(s.name,new ci(s.style,r,t))}),Fs(this.states,"true","1"),Fs(this.states,"false","0"),i.transitions.forEach(s=>{this.transitionFactories.push(new _t(e,s,this.states))}),this.fallbackTransition=So(e,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,i,t,s){return this.transitionFactories.find(o=>o.match(e,i,t,s))||null}matchStyles(e,i,t){return this.fallbackTransition.buildStyles(e,i,t)}};function So(n,e,i){let r={type:1,animation:{type:2,steps:[],options:null},matchers:[(o,a)=>!0],options:null,queryCount:0,depCount:0};return new _t(n,r,e)}function Fs(n,e,i){n.has(e)?n.has(i)||n.set(i,n.get(e)):n.has(i)&&n.set(e,n.get(i))}var Ao=new Le,hi=class{constructor(e,i,t){this.bodyNode=e,this._driver=i,this._normalizer=t,this._animations=new Map,this._playersById=new Map,this.players=[]}register(e,i){let t=[],s=[],r=Ys(this._driver,i,t,s);if(t.length)throw xr(t);s.length&&void 0,this._animations.set(e,r)}_buildPlayer(e,i,t){let s=e.element,r=zs(this._normalizer,e.keyframes,i,t);return this._driver.animate(s,r,e.duration,e.delay,e.easing,[],!0)}create(e,i,t={}){let s=[],r=this._animations.get(e),o,a=new Map;if(r?(o=Zs(this._driver,i,r,Ws,ei,new Map,new Map,t,Ao,s),o.forEach(d=>{let h=K(a,d.element,new Map);d.postStyleProps.forEach(b=>h.set(b,null))})):(s.push(jr()),o=[]),s.length)throw Br(s);a.forEach((d,h)=>{d.forEach((b,_)=>{d.set(_,this._driver.computeStyle(h,_,Z))})});let l=o.map(d=>{let h=a.get(d.element);return this._buildPlayer(d,new Map,h)}),c=oe(l);return this._playersById.set(e,c),c.onDestroy(()=>this.destroy(e)),this.players.push(c),c}destroy(e){let i=this._getPlayer(e);i.destroy(),this._playersById.delete(e);let t=this.players.indexOf(i);t>=0&&this.players.splice(t,1)}_getPlayer(e){let i=this._playersById.get(e);if(!i)throw Ur(e);return i}listen(e,i,t,s){let r=gi(i,"","","");return pi(this._getPlayer(e),t,r,s),()=>{}}command(e,i,t,s){if(t=="register"){this.register(e,s[0]);return}if(t=="create"){let o=s[0]||{};this.create(e,i,o);return}let r=this._getPlayer(e);switch(t){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(s[0]));break;case"destroy":this.destroy(e);break}}},Ls="ng-animate-queued",Io=".ng-animate-queued",Zt="ng-animate-disabled",Do=".ng-animate-disabled",Mo="ng-star-inserted",ko=".ng-star-inserted",Co=[],Xs={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},No={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Q="__ng_removed",xe=class{get params(){return this.options.params}constructor(e,i=""){this.namespaceId=i;let t=e&&e.hasOwnProperty("value"),s=t?e.value:e;if(this.value=Ro(s),t){let r=Ue(e);delete r.value,this.options=r}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){let i=e.params;if(i){let t=this.options.params;Object.keys(i).forEach(s=>{t[s]==null&&(t[s]=i[s])})}}},Pe="void",Xt=new xe(Pe),ui=class{constructor(e,i,t){this.id=e,this.hostElement=i,this._engine=t,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,W(i,this._hostClassName)}listen(e,i,t,s){if(!this._triggers.has(i))throw zr(t,i);if(t==null||t.length==0)throw Kr(i);if(!Po(t))throw Vr(t,i);let r=K(this._elementListeners,e,[]),o={name:i,phase:t,callback:s};r.push(o);let a=K(this._engine.statesByElement,e,new Map);return a.has(i)||(W(e,rt),W(e,rt+"-"+i),a.set(i,Xt)),()=>{this._engine.afterFlush(()=>{let l=r.indexOf(o);l>=0&&r.splice(l,1),this._triggers.has(i)||a.delete(i)})}}register(e,i){return this._triggers.has(e)?!1:(this._triggers.set(e,i),!0)}_getTrigger(e){let i=this._triggers.get(e);if(!i)throw $r(e);return i}trigger(e,i,t,s=!0){let r=this._getTrigger(i),o=new je(this.id,i,e),a=this._engine.statesByElement.get(e);a||(W(e,rt),W(e,rt+"-"+i),this._engine.statesByElement.set(e,a=new Map));let l=a.get(i),c=new xe(t,this.id);if(!(t&&t.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(i,c),l||(l=Xt),!(c.value===Pe)&&l.value===c.value){if(!xo(l.params,c.params)){let f=[],T=r.matchStyles(l.value,l.params,f),A=r.matchStyles(c.value,c.params,f);f.length?this._engine.reportError(f):this._engine.afterFlush(()=>{ge(e,T),X(e,A)})}return}let b=K(this._engine.playersByElement,e,[]);b.forEach(f=>{f.namespaceId==this.id&&f.triggerName==i&&f.queued&&f.destroy()});let _=r.matchTransition(l.value,c.value,e,c.params),m=!1;if(!_){if(!s)return;_=r.fallbackTransition,m=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:i,transition:_,fromState:l,toState:c,player:o,isFallbackTransition:m}),m||(W(e,Ls),o.onStart(()=>{Se(e,Ls)})),o.onDone(()=>{let f=this.players.indexOf(o);f>=0&&this.players.splice(f,1);let T=this._engine.playersByElement.get(e);if(T){let A=T.indexOf(o);A>=0&&T.splice(A,1)}}),this.players.push(o),b.push(o),o}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(i=>i.delete(e)),this._elementListeners.forEach((i,t)=>{this._elementListeners.set(t,i.filter(s=>s.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let i=this._engine.playersByElement.get(e);i&&(i.forEach(t=>t.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,i){let t=this._engine.driver.query(e,dt,!0);t.forEach(s=>{if(s[Q])return;let r=this._engine.fetchNamespacesByElement(s);r.size?r.forEach(o=>o.triggerLeaveAnimation(s,i,!1,!0)):this.clearElementCache(s)}),this._engine.afterFlushAnimationsDone(()=>t.forEach(s=>this.clearElementCache(s)))}triggerLeaveAnimation(e,i,t,s){let r=this._engine.statesByElement.get(e),o=new Map;if(r){let a=[];if(r.forEach((l,c)=>{if(o.set(c,l.value),this._triggers.has(c)){let d=this.trigger(e,c,Pe,s);d&&a.push(d)}}),a.length)return this._engine.markElementAsRemoved(this.id,e,!0,i,o),t&&oe(a).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let i=this._elementListeners.get(e),t=this._engine.statesByElement.get(e);if(i&&t){let s=new Set;i.forEach(r=>{let o=r.name;if(s.has(o))return;s.add(o);let l=this._triggers.get(o).fallbackTransition,c=t.get(o)||Xt,d=new xe(Pe),h=new je(this.id,o,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:o,transition:l,fromState:c,toState:d,player:h,isFallbackTransition:!0})})}}removeNode(e,i){let t=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,i),this.triggerLeaveAnimation(e,i,!0))return;let s=!1;if(t.totalAnimations){let r=t.players.length?t.playersByQueriedElement.get(e):[];if(r&&r.length)s=!0;else{let o=e;for(;o=o.parentNode;)if(t.statesByElement.get(o)){s=!0;break}}}if(this.prepareLeaveAnimationListeners(e),s)t.markElementAsRemoved(this.id,e,!1,i);else{let r=e[Q];(!r||r===Xs)&&(t.afterFlush(()=>this.clearElementCache(e)),t.destroyInnerAnimations(e),t._onRemovalComplete(e,i))}}insertNode(e,i){W(e,this._hostClassName)}drainQueuedTransitions(e){let i=[];return this._queue.forEach(t=>{let s=t.player;if(s.destroyed)return;let r=t.element,o=this._elementListeners.get(r);o&&o.forEach(a=>{if(a.name==t.triggerName){let l=gi(r,t.triggerName,t.fromState.value,t.toState.value);l._data=e,pi(t.player,a.phase,l,a.callback)}}),s.markedForDestroy?this._engine.afterFlush(()=>{s.destroy()}):i.push(t)}),this._queue=[],i.sort((t,s)=>{let r=t.transition.ast.depCount,o=s.transition.ast.depCount;return r==0||o==0?r-o:this._engine.driver.containsElement(t.element,s.element)?1:-1})}destroy(e){this.players.forEach(i=>i.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},mi=class{_onRemovalComplete(e,i){this.onRemovalComplete(e,i)}constructor(e,i,t){this.bodyNode=e,this.driver=i,this._normalizer=t,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(s,r)=>{}}get queuedPlayers(){let e=[];return this._namespaceList.forEach(i=>{i.players.forEach(t=>{t.queued&&e.push(t)})}),e}createNamespace(e,i){let t=new ui(e,i,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,i)?this._balanceNamespaceList(t,i):(this.newHostElements.set(i,t),this.collectEnterElement(i)),this._namespaceLookup[e]=t}_balanceNamespaceList(e,i){let t=this._namespaceList,s=this.namespacesByHostElement;if(t.length-1>=0){let o=!1,a=this.driver.getParentElement(i);for(;a;){let l=s.get(a);if(l){let c=t.indexOf(l);t.splice(c+1,0,e),o=!0;break}a=this.driver.getParentElement(a)}o||t.unshift(e)}else t.push(e);return s.set(i,e),e}register(e,i){let t=this._namespaceLookup[e];return t||(t=this.createNamespace(e,i)),t}registerTrigger(e,i,t){let s=this._namespaceLookup[e];s&&s.register(i,t)&&this.totalAnimations++}destroy(e,i){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let t=this._fetchNamespace(e);this.namespacesByHostElement.delete(t.hostElement);let s=this._namespaceList.indexOf(t);s>=0&&this._namespaceList.splice(s,1),t.destroy(i),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let i=new Set,t=this.statesByElement.get(e);if(t){for(let s of t.values())if(s.namespaceId){let r=this._fetchNamespace(s.namespaceId);r&&i.add(r)}}return i}trigger(e,i,t,s){if(lt(i)){let r=this._fetchNamespace(e);if(r)return r.trigger(i,t,s),!0}return!1}insertNode(e,i,t,s){if(!lt(i))return;let r=i[Q];if(r&&r.setForRemoval){r.setForRemoval=!1,r.setForMove=!0;let o=this.collectedLeaveElements.indexOf(i);o>=0&&this.collectedLeaveElements.splice(o,1)}if(e){let o=this._fetchNamespace(e);o&&o.insertNode(i,t)}s&&this.collectEnterElement(i)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,i){i?this.disabledNodes.has(e)||(this.disabledNodes.add(e),W(e,Zt)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),Se(e,Zt))}removeNode(e,i,t){if(lt(i)){let s=e?this._fetchNamespace(e):null;s?s.removeNode(i,t):this.markElementAsRemoved(e,i,!1,t);let r=this.namespacesByHostElement.get(i);r&&r.id!==e&&r.removeNode(i,t)}else this._onRemovalComplete(i,t)}markElementAsRemoved(e,i,t,s,r){this.collectedLeaveElements.push(i),i[Q]={namespaceId:e,setForRemoval:s,hasAnimation:t,removedBeforeQueried:!1,previousTriggersValues:r}}listen(e,i,t,s,r){return lt(i)?this._fetchNamespace(e).listen(i,t,s,r):()=>{}}_buildInstruction(e,i,t,s,r){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,t,s,e.fromState.options,e.toState.options,i,r)}destroyInnerAnimations(e){let i=this.driver.query(e,dt,!0);i.forEach(t=>this.destroyActiveAnimationsForElement(t)),this.playersByQueriedElement.size!=0&&(i=this.driver.query(e,ti,!0),i.forEach(t=>this.finishActiveQueriedAnimationOnElement(t)))}destroyActiveAnimationsForElement(e){let i=this.playersByElement.get(e);i&&i.forEach(t=>{t.queued?t.markedForDestroy=!0:t.destroy()})}finishActiveQueriedAnimationOnElement(e){let i=this.playersByQueriedElement.get(e);i&&i.forEach(t=>t.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return oe(this.players).onDone(()=>e());e()})}processLeaveNode(e){let i=e[Q];if(i&&i.setForRemoval){if(e[Q]=Xs,i.namespaceId){this.destroyInnerAnimations(e);let t=this._fetchNamespace(i.namespaceId);t&&t.clearElementCache(e)}this._onRemovalComplete(e,i.setForRemoval)}e.classList?.contains(Zt)&&this.markElementAsDisabled(e,!1),this.driver.query(e,Do,!0).forEach(t=>{this.markElementAsDisabled(t,!1)})}flush(e=-1){let i=[];if(this.newHostElements.size&&(this.newHostElements.forEach((t,s)=>this._balanceNamespaceList(t,s)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let t=0;t<this.collectedEnterElements.length;t++){let s=this.collectedEnterElements[t];W(s,Mo)}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){let t=[];try{i=this._flushAnimations(t,e)}finally{for(let s=0;s<t.length;s++)t[s]()}}else for(let t=0;t<this.collectedLeaveElements.length;t++){let s=this.collectedLeaveElements[t];this.processLeaveNode(s)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(t=>t()),this._flushFns=[],this._whenQuietFns.length){let t=this._whenQuietFns;this._whenQuietFns=[],i.length?oe(i).onDone(()=>{t.forEach(s=>s())}):t.forEach(s=>s())}}reportError(e){throw Wr(e)}_flushAnimations(e,i){let t=new Le,s=[],r=new Map,o=[],a=new Map,l=new Map,c=new Map,d=new Set;this.disabledNodes.forEach(u=>{d.add(u);let p=this.driver.query(u,Io,!0);for(let g=0;g<p.length;g++)d.add(p[g])});let h=this.bodyNode,b=Array.from(this.statesByElement.keys()),_=Bs(b,this.collectedEnterElements),m=new Map,f=0;_.forEach((u,p)=>{let g=Ws+f++;m.set(p,g),u.forEach(v=>W(v,g))});let T=[],A=new Set,I=new Set;for(let u=0;u<this.collectedLeaveElements.length;u++){let p=this.collectedLeaveElements[u],g=p[Q];g&&g.setForRemoval&&(T.push(p),A.add(p),g.hasAnimation?this.driver.query(p,ko,!0).forEach(v=>A.add(v)):I.add(p))}let P=new Map,k=Bs(b,Array.from(A));k.forEach((u,p)=>{let g=ei+f++;P.set(p,g),u.forEach(v=>W(v,g))}),e.push(()=>{_.forEach((u,p)=>{let g=m.get(p);u.forEach(v=>Se(v,g))}),k.forEach((u,p)=>{let g=P.get(p);u.forEach(v=>Se(v,g))}),T.forEach(u=>{this.processLeaveNode(u)})});let ye=[],G=[];for(let u=this._namespaceList.length-1;u>=0;u--)this._namespaceList[u].drainQueuedTransitions(i).forEach(g=>{let v=g.player,D=g.element;if(ye.push(v),this.collectedEnterElements.length){let O=D[Q];if(O&&O.setForMove){if(O.previousTriggersValues&&O.previousTriggersValues.has(g.triggerName)){let le=O.previousTriggersValues.get(g.triggerName),V=this.statesByElement.get(g.element);if(V&&V.has(g.triggerName)){let Ke=V.get(g.triggerName);Ke.value=le,V.set(g.triggerName,Ke)}}v.destroy();return}}let Y=!h||!this.driver.containsElement(h,D),B=P.get(D),ne=m.get(D),S=this._buildInstruction(g,t,ne,B,Y);if(S.errors&&S.errors.length){G.push(S);return}if(Y){v.onStart(()=>ge(D,S.fromStyles)),v.onDestroy(()=>X(D,S.toStyles)),s.push(v);return}if(g.isFallbackTransition){v.onStart(()=>ge(D,S.fromStyles)),v.onDestroy(()=>X(D,S.toStyles)),s.push(v);return}let Ni=[];S.timelines.forEach(O=>{O.stretchStartingKeyframe=!0,this.disabledNodes.has(O.element)||Ni.push(O)}),S.timelines=Ni,t.append(D,S.timelines);let pn={instruction:S,player:v,element:D};o.push(pn),S.queriedElements.forEach(O=>K(a,O,[]).push(v)),S.preStyleProps.forEach((O,le)=>{if(O.size){let V=l.get(le);V||l.set(le,V=new Set),O.forEach((Ke,At)=>V.add(At))}}),S.postStyleProps.forEach((O,le)=>{let V=c.get(le);V||c.set(le,V=new Set),O.forEach((Ke,At)=>V.add(At))})});if(G.length){let u=[];G.forEach(p=>{u.push(qr(p.triggerName,p.errors))}),ye.forEach(p=>p.destroy()),this.reportError(u)}let F=new Map,J=new Map;o.forEach(u=>{let p=u.element;t.has(p)&&(J.set(p,p),this._beforeAnimationBuild(u.player.namespaceId,u.instruction,F))}),s.forEach(u=>{let p=u.element;this._getPreviousPlayers(p,!1,u.namespaceId,u.triggerName,null).forEach(v=>{K(F,p,[]).push(v),v.destroy()})});let ee=T.filter(u=>Us(u,l,c)),te=new Map;js(te,this.driver,I,c,Z).forEach(u=>{Us(u,l,c)&&ee.push(u)});let De=new Map;_.forEach((u,p)=>{js(De,this.driver,new Set(u),l,Je)}),ee.forEach(u=>{let p=te.get(u),g=De.get(u);te.set(u,new Map([...p?.entries()??[],...g?.entries()??[]]))});let ae=[],ki=[],Ci={};o.forEach(u=>{let{element:p,player:g,instruction:v}=u;if(t.has(p)){if(d.has(p)){g.onDestroy(()=>X(p,v.toStyles)),g.disabled=!0,g.overrideTotalTime(v.totalTime),s.push(g);return}let D=Ci;if(J.size>1){let B=p,ne=[];for(;B=B.parentNode;){let S=J.get(B);if(S){D=S;break}ne.push(B)}ne.forEach(S=>J.set(S,D))}let Y=this._buildAnimation(g.namespaceId,v,F,r,De,te);if(g.setRealPlayer(Y),D===Ci)ae.push(g);else{let B=this.playersByElement.get(D);B&&B.length&&(g.parentPlayer=oe(B)),s.push(g)}}else ge(p,v.fromStyles),g.onDestroy(()=>X(p,v.toStyles)),ki.push(g),d.has(p)&&s.push(g)}),ki.forEach(u=>{let p=r.get(u.element);if(p&&p.length){let g=oe(p);u.setRealPlayer(g)}}),s.forEach(u=>{u.parentPlayer?u.syncPlayerEvents(u.parentPlayer):u.destroy()});for(let u=0;u<T.length;u++){let p=T[u],g=p[Q];if(Se(p,ei),g&&g.hasAnimation)continue;let v=[];if(a.size){let Y=a.get(p);Y&&Y.length&&v.push(...Y);let B=this.driver.query(p,ti,!0);for(let ne=0;ne<B.length;ne++){let S=a.get(B[ne]);S&&S.length&&v.push(...S)}}let D=v.filter(Y=>!Y.destroyed);D.length?Fo(this,p,D):this.processLeaveNode(p)}return T.length=0,ae.forEach(u=>{this.players.push(u),u.onDone(()=>{u.destroy();let p=this.players.indexOf(u);this.players.splice(p,1)}),u.play()}),ae}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,i,t,s,r){let o=[];if(i){let a=this.playersByQueriedElement.get(e);a&&(o=a)}else{let a=this.playersByElement.get(e);if(a){let l=!r||r==Pe;a.forEach(c=>{c.queued||!l&&c.triggerName!=s||o.push(c)})}}return(t||s)&&(o=o.filter(a=>!(t&&t!=a.namespaceId||s&&s!=a.triggerName))),o}_beforeAnimationBuild(e,i,t){let s=i.triggerName,r=i.element,o=i.isRemovalTransition?void 0:e,a=i.isRemovalTransition?void 0:s;for(let l of i.timelines){let c=l.element,d=c!==r,h=K(t,c,[]);this._getPreviousPlayers(c,d,o,a,i.toState).forEach(_=>{let m=_.getRealPlayer();m.beforeDestroy&&m.beforeDestroy(),_.destroy(),h.push(_)})}ge(r,i.fromStyles)}_buildAnimation(e,i,t,s,r,o){let a=i.triggerName,l=i.element,c=[],d=new Set,h=new Set,b=i.timelines.map(m=>{let f=m.element;d.add(f);let T=f[Q];if(T&&T.removedBeforeQueried)return new ve(m.duration,m.delay);let A=f!==l,I=Lo((t.get(f)||Co).map(F=>F.getRealPlayer())).filter(F=>{let J=F;return J.element?J.element===f:!1}),P=r.get(f),k=o.get(f),ye=zs(this._normalizer,m.keyframes,P,k),G=this._buildPlayer(m,ye,I);if(m.subTimeline&&s&&h.add(f),A){let F=new je(e,a,f);F.setRealPlayer(G),c.push(F)}return G});c.forEach(m=>{K(this.playersByQueriedElement,m.element,[]).push(m),m.onDone(()=>Oo(this.playersByQueriedElement,m.element,m))}),d.forEach(m=>W(m,Cs));let _=oe(b);return _.onDestroy(()=>{d.forEach(m=>Se(m,Cs)),X(l,i.toStyles)}),h.forEach(m=>{K(s,m,[]).push(_)}),_}_buildPlayer(e,i,t){return i.length>0?this.driver.animate(e.element,i,e.duration,e.delay,e.easing,t):new ve(e.duration,e.delay)}},je=class{constructor(e,i,t){this.namespaceId=e,this.triggerName=i,this.element=t,this._player=new ve,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((i,t)=>{i.forEach(s=>pi(e,t,void 0,s))}),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 i=this._player;i.triggerCallback&&e.onStart(()=>i.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,i){K(this._queuedCallbacks,e,[]).push(i)}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 i=this._player;i.triggerCallback&&i.triggerCallback(e)}};function Oo(n,e,i){let t=n.get(e);if(t){if(t.length){let s=t.indexOf(i);t.splice(s,1)}t.length==0&&n.delete(e)}return t}function Ro(n){return n??null}function lt(n){return n&&n.nodeType===1}function Po(n){return n=="start"||n=="done"}function xs(n,e){let i=n.style.display;return n.style.display=e??"none",i}function js(n,e,i,t,s){let r=[];i.forEach(l=>r.push(xs(l)));let o=[];t.forEach((l,c)=>{let d=new Map;l.forEach(h=>{let b=e.computeStyle(c,h,s);d.set(h,b),(!b||b.length==0)&&(c[Q]=No,o.push(c))}),n.set(c,d)});let a=0;return i.forEach(l=>xs(l,r[a++])),o}function Bs(n,e){let i=new Map;if(n.forEach(a=>i.set(a,[])),e.length==0)return i;let t=1,s=new Set(e),r=new Map;function o(a){if(!a)return t;let l=r.get(a);if(l)return l;let c=a.parentNode;return i.has(c)?l=c:s.has(c)?l=t:l=o(c),r.set(a,l),l}return e.forEach(a=>{let l=o(a);l!==t&&i.get(l).push(a)}),i}function W(n,e){n.classList?.add(e)}function Se(n,e){n.classList?.remove(e)}function Fo(n,e,i){oe(i).onDone(()=>n.processLeaveNode(e))}function Lo(n){let e=[];return Js(n,e),e}function Js(n,e){for(let i=0;i<n.length;i++){let t=n[i];t instanceof Pt?Js(t.players,e):e.push(t)}}function xo(n,e){let i=Object.keys(n),t=Object.keys(e);if(i.length!=t.length)return!1;for(let s=0;s<i.length;s++){let r=i[s];if(!e.hasOwnProperty(r)||n[r]!==e[r])return!1}return!0}function Us(n,e,i){let t=i.get(n);if(!t)return!1;let s=e.get(n);return s?t.forEach(r=>s.add(r)):e.set(n,t),i.delete(n),!0}var Ie=class{constructor(e,i,t){this._driver=i,this._normalizer=t,this._triggerCache={},this.onRemovalComplete=(s,r)=>{},this._transitionEngine=new mi(e.body,i,t),this._timelineEngine=new hi(e.body,i,t),this._transitionEngine.onRemovalComplete=(s,r)=>this.onRemovalComplete(s,r)}registerTrigger(e,i,t,s,r){let o=e+"-"+s,a=this._triggerCache[o];if(!a){let l=[],c=[],d=Ys(this._driver,r,l,c);if(l.length)throw Fr(s,l);c.length&&void 0,a=wo(s,d,this._normalizer),this._triggerCache[o]=a}this._transitionEngine.registerTrigger(i,s,a)}register(e,i){this._transitionEngine.register(e,i)}destroy(e,i){this._transitionEngine.destroy(e,i)}onInsert(e,i,t,s){this._transitionEngine.insertNode(e,i,t,s)}onRemove(e,i,t){this._transitionEngine.removeNode(e,i,t)}disableAnimations(e,i){this._transitionEngine.markElementAsDisabled(e,i)}process(e,i,t,s){if(t.charAt(0)=="@"){let[r,o]=Ms(t),a=s;this._timelineEngine.command(r,i,o,a)}else this._transitionEngine.trigger(e,i,t,s)}listen(e,i,t,s,r){if(t.charAt(0)=="@"){let[o,a]=Ms(t);return this._timelineEngine.listen(o,i,a,r)}return this._transitionEngine.listen(e,i,t,s,r)}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 jo(n,e){let i=null,t=null;return Array.isArray(e)&&e.length?(i=Jt(e[0]),e.length>1&&(t=Jt(e[e.length-1]))):e instanceof Map&&(i=Jt(e)),i||t?new Bo(n,i,t):null}var Bo=(()=>{let e=class e{constructor(t,s,r){this._element=t,this._startStyles=s,this._endStyles=r,this._state=0;let o=e.initialStylesByElement.get(t);o||e.initialStylesByElement.set(t,o=new Map),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&X(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(X(this._element,this._initialStyles),this._endStyles&&(X(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(e.initialStylesByElement.delete(this._element),this._startStyles&&(ge(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(ge(this._element,this._endStyles),this._endStyles=null),X(this._element,this._initialStyles),this._state=3)}};e.initialStylesByElement=new WeakMap;let n=e;return n})();function Jt(n){let e=null;return n.forEach((i,t)=>{Uo(t)&&(e=e||new Map,e.set(t,i))}),e}function Uo(n){return n==="display"||n==="position"}var yt=class{constructor(e,i,t,s){this.element=e,this.keyframes=i,this.options=t,this._specialStyles=s,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=t.duration,this._delay=t.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._initialized=!0;let e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map;let i=()=>this._onFinish();this.domPlayer.addEventListener("finish",i),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",i)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){let i=[];return e.forEach(t=>{i.push(Object.fromEntries(t))}),i}_triggerWebAnimation(e,i,t){return e.animate(this._convertKeyframesToObject(i),t)}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(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),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&&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===void 0&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((t,s)=>{s!=="offset"&&e.set(s,this._finished?t:Qs(this.element,s))}),this.currentSnapshot=e}triggerCallback(e){let i=e==="start"?this._onStartFns:this._onDoneFns;i.forEach(t=>t()),i.length=0}},bt=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}matchesElement(e,i){return!1}containsElement(e,i){return Ks(e,i)}getParentElement(e){return _i(e)}query(e,i,t){return Vs(e,i,t)}computeStyle(e,i,t){return window.getComputedStyle(e)[i]}animate(e,i,t,s,r,o=[]){let a=s==0?"both":"forwards",l={duration:t,delay:s,fill:a};r&&(l.easing=r);let c=new Map,d=o.filter(_=>_ instanceof yt);so(t,s)&&d.forEach(_=>{_.currentSnapshot.forEach((m,f)=>c.set(f,m))});let h=eo(i).map(_=>Ae(_));h=no(e,h,c);let b=jo(e,h);return new yt(e,h,l,b)}};var ct="@",en="@.disabled",vt=class{constructor(e,i,t,s){this.namespaceId=e,this.delegate=i,this.engine=t,this._onDestroy=s,this.\u0275type=0}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,i){return this.delegate.createElement(e,i)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,i){this.delegate.appendChild(e,i),this.engine.onInsert(this.namespaceId,i,e,!1)}insertBefore(e,i,t,s=!0){this.delegate.insertBefore(e,i,t),this.engine.onInsert(this.namespaceId,i,e,s)}removeChild(e,i,t){this.engine.onRemove(this.namespaceId,i,this.delegate)}selectRootElement(e,i){return this.delegate.selectRootElement(e,i)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,i,t,s){this.delegate.setAttribute(e,i,t,s)}removeAttribute(e,i,t){this.delegate.removeAttribute(e,i,t)}addClass(e,i){this.delegate.addClass(e,i)}removeClass(e,i){this.delegate.removeClass(e,i)}setStyle(e,i,t,s){this.delegate.setStyle(e,i,t,s)}removeStyle(e,i,t){this.delegate.removeStyle(e,i,t)}setProperty(e,i,t){i.charAt(0)==ct&&i==en?this.disableAnimations(e,!!t):this.delegate.setProperty(e,i,t)}setValue(e,i){this.delegate.setValue(e,i)}listen(e,i,t){return this.delegate.listen(e,i,t)}disableAnimations(e,i){this.engine.disableAnimations(e,i)}},fi=class extends vt{constructor(e,i,t,s,r){super(i,t,s,r),this.factory=e,this.namespaceId=i}setProperty(e,i,t){i.charAt(0)==ct?i.charAt(1)=="."&&i==en?(t=t===void 0?!0:!!t,this.disableAnimations(e,t)):this.engine.process(this.namespaceId,e,i.slice(1),t):this.delegate.setProperty(e,i,t)}listen(e,i,t){if(i.charAt(0)==ct){let s=zo(e),r=i.slice(1),o="";return r.charAt(0)!=ct&&([r,o]=Ko(r)),this.engine.listen(this.namespaceId,s,r,o,a=>{let l=a._data||-1;this.factory.scheduleListenerCallback(l,t,a)})}return this.delegate.listen(e,i,t)}};function zo(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}function Ko(n){let e=n.indexOf("."),i=n.substring(0,e),t=n.slice(e+1);return[i,t]}var Et=class{constructor(e,i,t){this.delegate=e,this.engine=i,this._zone=t,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,i.onRemovalComplete=(s,r)=>{let o=r?.parentNode(s);o&&r.removeChild(o,s)}}createRenderer(e,i){let t="",s=this.delegate.createRenderer(e,i);if(!e||!i?.data?.animation){let c=this._rendererCache,d=c.get(s);if(!d){let h=()=>c.delete(s);d=new vt(t,s,this.engine,h),c.set(s,d)}return d}let r=i.id,o=i.id+"-"+this._currentId;this._currentId++,this.engine.register(o,e);let a=c=>{Array.isArray(c)?c.forEach(a):this.engine.registerTrigger(r,o,e,c.name,c)};return i.data.animation.forEach(a),new fi(this,o,s,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,i,t){if(e>=0&&e<this._microtaskId){this._zone.run(()=>i(t));return}let s=this._animationCallbacksBuffer;s.length==0&&queueMicrotask(()=>{this._zone.run(()=>{s.forEach(r=>{let[o,a]=r;o(a)}),this._animationCallbacksBuffer=[]})}),s.push([i,t])}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()}};var $o=(()=>{let e=class e extends Ie{constructor(t,s,r,o){super(t,s,r)}ngOnDestroy(){this.flush()}};e.\u0275fac=function(s){return new(s||e)(y(L),y(Be),y(_e),y(is))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let n=e;return n})();function Wo(){return new mt}function qo(n,e,i){return new Et(n,e,i)}var sn=[{provide:_e,useFactory:Wo},{provide:Ie,useClass:$o},{provide:qi,useFactory:qo,deps:[rs,Ie,j]}],tn=[{provide:Be,useFactory:()=>new bt},{provide:ie,useValue:"BrowserAnimations"},...sn],Ho=[{provide:Be,useClass:yi},{provide:ie,useValue:"NoopAnimations"},...sn],kl=(()=>{let e=class e{static withConfig(t){return{ngModule:e,providers:t.disableAnimations?Ho:tn}}};e.\u0275fac=function(s){return new(s||e)},e.\u0275mod=N({type:e}),e.\u0275inj=C({providers:tn,imports:[os]});let n=e;return n})();var Yo=["text"];function Zo(n,e){if(n&1&&Ze(0,"mat-pseudo-checkbox",6),n&2){let i=Xe();Qe("disabled",i.disabled)("state",i.selected?"checked":"unchecked")}}function Xo(n,e){if(n&1&&Ze(0,"mat-pseudo-checkbox",7),n&2){let i=Xe();Qe("disabled",i.disabled)}}function Jo(n,e){if(n&1&&(kt(0,"span",8),Zi(1),Ct()),n&2){let i=Xe();ke(1),Xi("(",i.group.label,")")}}var ea=[[["mat-icon"]],"*"],ta=["mat-icon","*"];var Jl=(()=>{let e=class e{};e.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",e.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",e.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",e.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)";let n=e;return n})(),ec=(()=>{let e=class e{};e.COMPLEX="375ms",e.ENTERING="225ms",e.EXITING="195ms";let n=e;return n})();function ia(){return!0}var sa=new x("mat-sanity-checks",{providedIn:"root",factory:ia}),wt=(()=>{let e=class e{constructor(t,s,r){this._sanityChecks=s,this._document=r,this._hasDoneGlobalChecks=!1,t._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(t){return hs()?!1:typeof this._sanityChecks=="boolean"?this._sanityChecks:!!this._sanityChecks[t]}};e.\u0275fac=function(s){return new(s||e)(y(qt),y(sa,8),y(L))},e.\u0275mod=N({type:e}),e.\u0275inj=C({imports:[Ht,Ht]});let n=e;return n})();function tc(n){return class extends n{get disabled(){return this._disabled}set disabled(e){this._disabled=jt(e)}constructor(...e){super(...e),this._disabled=!1}}}function ic(n,e){return class extends n{get color(){return this._color}set color(i){let t=i||this.defaultColor;t!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),t&&this._elementRef.nativeElement.classList.add(`mat-${t}`),this._color=t)}constructor(...i){super(...i),this.defaultColor=e,this.color=e}}}function sc(n){return class extends n{get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=jt(e)}constructor(...e){super(...e),this._disableRipple=!1}}}function nc(n,e=0){return class extends n{get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(i){this._tabIndex=i!=null?us(i):this.defaultTabIndex}constructor(...i){super(...i),this._tabIndex=e,this.defaultTabIndex=e}}}function rc(n){return class extends n{updateErrorState(){let e=this.errorState,i=this._parentFormGroup||this._parentForm,t=this.errorStateMatcher||this._defaultErrorStateMatcher,s=this.ngControl?this.ngControl.control:null,r=t.isErrorState(s,i);r!==e&&(this.errorState=r,this.stateChanges.next())}constructor(...e){super(...e),this.errorState=!1}}}function oc(n){return class extends n{constructor(...e){super(...e),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new Ve(i=>{this._isInitialized?this._notifySubscriber(i):this._pendingSubscribers.push(i)})}_markInitialized(){this._isInitialized,this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(e){e.next(),e.complete()}}}var nn=new x("MAT_DATE_LOCALE",{providedIn:"root",factory:na});function na(){return U(ss)}var St=class{constructor(){this._localeChanges=new q,this.localeChanges=this._localeChanges}getValidDateOrNull(e){return this.isDateInstance(e)&&this.isValid(e)?e:null}deserialize(e){return e==null||this.isDateInstance(e)&&this.isValid(e)?e:this.invalid()}setLocale(e){this.locale=e,this._localeChanges.next()}compareDate(e,i){return this.getYear(e)-this.getYear(i)||this.getMonth(e)-this.getMonth(i)||this.getDate(e)-this.getDate(i)}sameDate(e,i){if(e&&i){let t=this.isValid(e),s=this.isValid(i);return t&&s?!this.compareDate(e,i):t==s}return e==i}clampDate(e,i,t){return i&&this.compareDate(e,i)<0?i:t&&this.compareDate(e,t)>0?t:e}},ra=new x("mat-date-formats"),oa=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function Ei(n,e){let i=Array(n);for(let t=0;t<n;t++)i[t]=e(t);return i}var aa=(()=>{let e=class e extends St{constructor(t){super(),this.useUtcForDisplay=!1,this._matDateLocale=U(nn,{optional:!0}),t!==void 0&&(this._matDateLocale=t),super.setLocale(this._matDateLocale)}getYear(t){return t.getFullYear()}getMonth(t){return t.getMonth()}getDate(t){return t.getDate()}getDayOfWeek(t){return t.getDay()}getMonthNames(t){let s=new Intl.DateTimeFormat(this.locale,{month:t,timeZone:"utc"});return Ei(12,r=>this._format(s,new Date(2017,r,1)))}getDateNames(){let t=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return Ei(31,s=>this._format(t,new Date(2017,0,s+1)))}getDayOfWeekNames(t){let s=new Intl.DateTimeFormat(this.locale,{weekday:t,timeZone:"utc"});return Ei(7,r=>this._format(s,new Date(2017,0,r+1)))}getYearName(t){let s=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(s,t)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(t){return this.getDate(this._createDateWithOverflow(this.getYear(t),this.getMonth(t)+1,0))}clone(t){return new Date(t.getTime())}createDate(t,s,r){let o=this._createDateWithOverflow(t,s,r);return o.getMonth()!=s,o}today(){return new Date}parse(t,s){return typeof t=="number"?new Date(t):t?new Date(Date.parse(t)):null}format(t,s){if(!this.isValid(t))throw Error("NativeDateAdapter: Cannot format invalid date.");let r=new Intl.DateTimeFormat(this.locale,Oi(R({},s),{timeZone:"utc"}));return this._format(r,t)}addCalendarYears(t,s){return this.addCalendarMonths(t,s*12)}addCalendarMonths(t,s){let r=this._createDateWithOverflow(this.getYear(t),this.getMonth(t)+s,this.getDate(t));return this.getMonth(r)!=((this.getMonth(t)+s)%12+12)%12&&(r=this._createDateWithOverflow(this.getYear(r),this.getMonth(r),0)),r}addCalendarDays(t,s){return this._createDateWithOverflow(this.getYear(t),this.getMonth(t),this.getDate(t)+s)}toIso8601(t){return[t.getUTCFullYear(),this._2digit(t.getUTCMonth()+1),this._2digit(t.getUTCDate())].join("-")}deserialize(t){if(typeof t=="string"){if(!t)return null;if(oa.test(t)){let s=new Date(t);if(this.isValid(s))return s}}return super.deserialize(t)}isDateInstance(t){return t instanceof Date}isValid(t){return!isNaN(t.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(t,s,r){let o=new Date;return o.setFullYear(t,s,r),o.setHours(0,0,0,0),o}_2digit(t){return("00"+t).slice(-2)}_format(t,s){let r=new Date;return r.setUTCFullYear(s.getFullYear(),s.getMonth(),s.getDate()),r.setUTCHours(s.getHours(),s.getMinutes(),s.getSeconds(),s.getMilliseconds()),t.format(r)}};e.\u0275fac=function(s){return new(s||e)(y(nn,8))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let n=e;return n})(),la={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}},ca=(()=>{let e=class e{};e.\u0275fac=function(s){return new(s||e)},e.\u0275mod=N({type:e}),e.\u0275inj=C({providers:[{provide:St,useClass:aa}]});let n=e;return n})(),ac=(()=>{let e=class e{};e.\u0275fac=function(s){return new(s||e)},e.\u0275mod=N({type:e}),e.\u0275inj=C({providers:[{provide:ra,useValue:la}],imports:[ca]});let n=e;return n})();var lc=(()=>{let e=class e{isErrorState(t,s){return!!(t&&t.invalid&&(t.touched||s&&s.submitted))}};e.\u0275fac=function(s){return new(s||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();var Si=class{constructor(e,i,t,s=!1){this._renderer=e,this.element=i,this.config=t,this._animationForciblyDisabledThroughCss=s,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}},rn=Te({passive:!0,capture:!0}),Ai=class{constructor(){this._events=new Map,this._delegateEventHandler=e=>{let i=re(e);i&&this._events.get(e.type)?.forEach((t,s)=>{(s===i||s.contains(i))&&t.forEach(r=>r.handleEvent(e))})}}addHandler(e,i,t,s){let r=this._events.get(i);if(r){let o=r.get(t);o?o.add(s):r.set(t,new Set([s]))}else this._events.set(i,new Map([[t,new Set([s])]])),e.runOutsideAngular(()=>{document.addEventListener(i,this._delegateEventHandler,rn)})}removeHandler(e,i,t){let s=this._events.get(e);if(!s)return;let r=s.get(i);r&&(r.delete(t),r.size===0&&s.delete(i),s.size===0&&(this._events.delete(e),document.removeEventListener(e,this._delegateEventHandler,rn)))}},on={enterDuration:225,exitDuration:150},da=800,an=Te({passive:!0,capture:!0}),ln=["mousedown","touchstart"],cn=["mouseup","mouseleave","touchend","touchcancel"],ze=class ze{constructor(e,i,t,s){this._target=e,this._ngZone=i,this._platform=s,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,s.isBrowser&&(this._containerElement=ue(t))}fadeInRipple(e,i,t={}){let s=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),r=R(R({},on),t.animation);t.centered&&(e=s.left+s.width/2,i=s.top+s.height/2);let o=t.radius||ha(e,i,s),a=e-s.left,l=i-s.top,c=r.enterDuration,d=document.createElement("div");d.classList.add("mat-ripple-element"),d.style.left=`${a-o}px`,d.style.top=`${l-o}px`,d.style.height=`${o*2}px`,d.style.width=`${o*2}px`,t.color!=null&&(d.style.backgroundColor=t.color),d.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(d);let h=window.getComputedStyle(d),b=h.transitionProperty,_=h.transitionDuration,m=b==="none"||_==="0s"||_==="0s, 0s"||s.width===0&&s.height===0,f=new Si(this,d,t,m);d.style.transform="scale3d(1, 1, 1)",f.state=0,t.persistent||(this._mostRecentTransientRipple=f);let T=null;return!m&&(c||r.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let A=()=>this._finishRippleTransition(f),I=()=>this._destroyRipple(f);d.addEventListener("transitionend",A),d.addEventListener("transitioncancel",I),T={onTransitionEnd:A,onTransitionCancel:I}}),this._activeRipples.set(f,T),(m||!c)&&this._finishRippleTransition(f),f}fadeOutRipple(e){if(e.state===2||e.state===3)return;let i=e.element,t=R(R({},on),e.config.animation);i.style.transitionDuration=`${t.exitDuration}ms`,i.style.opacity="0",e.state=2,(e._animationForciblyDisabledThroughCss||!t.exitDuration)&&this._finishRippleTransition(e)}fadeOutAll(){this._getActiveRipples().forEach(e=>e.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(e=>{e.config.persistent||e.fadeOut()})}setupTriggerEvents(e){let i=ue(e);!this._platform.isBrowser||!i||i===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=i,ln.forEach(t=>{ze._eventManager.addHandler(this._ngZone,t,i,this)}))}handleEvent(e){e.type==="mousedown"?this._onMousedown(e):e.type==="touchstart"?this._onTouchStart(e):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{cn.forEach(i=>{this._triggerElement.addEventListener(i,this,an)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(e){e.state===0?this._startFadeOutTransition(e):e.state===2&&this._destroyRipple(e)}_startFadeOutTransition(e){let i=e===this._mostRecentTransientRipple,{persistent:t}=e.config;e.state=1,!t&&(!i||!this._isPointerDown)&&e.fadeOut()}_destroyRipple(e){let i=this._activeRipples.get(e)??null;this._activeRipples.delete(e),this._activeRipples.size||(this._containerRect=null),e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),e.state=3,i!==null&&(e.element.removeEventListener("transitionend",i.onTransitionEnd),e.element.removeEventListener("transitioncancel",i.onTransitionCancel)),e.element.remove()}_onMousedown(e){let i=$t(e),t=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+da;!this._target.rippleDisabled&&!i&&!t&&(this._isPointerDown=!0,this.fadeInRipple(e.clientX,e.clientY,this._target.rippleConfig))}_onTouchStart(e){if(!this._target.rippleDisabled&&!Wt(e)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;let i=e.changedTouches;if(i)for(let t=0;t<i.length;t++)this.fadeInRipple(i[t].clientX,i[t].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(e=>{let i=e.state===1||e.config.terminateOnPointerUp&&e.state===0;!e.config.persistent&&i&&e.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let e=this._triggerElement;e&&(ln.forEach(i=>ze._eventManager.removeHandler(i,e,this)),this._pointerUpEventsRegistered&&cn.forEach(i=>e.removeEventListener(i,this,an)))}};ze._eventManager=new Ai;var Ii=ze;function ha(n,e,i){let t=Math.max(Math.abs(n-i.left),Math.abs(n-i.right)),s=Math.max(Math.abs(e-i.top),Math.abs(e-i.bottom));return Math.sqrt(t*t+s*s)}var mn=new x("mat-ripple-global-options"),fn=(()=>{let e=class e{get disabled(){return this._disabled}set disabled(t){t&&this.fadeOutAllNonPersistent(),this._disabled=t,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(t){this._trigger=t,this._setupTriggerEventsIfEnabled()}constructor(t,s,r,o,a){this._elementRef=t,this._animationMode=a,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=o||{},this._rippleRenderer=new Ii(this,s,t,r)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:R(R(R({},this._globalOptions.animation),this._animationMode==="NoopAnimations"?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(t,s=0,r){return typeof t=="number"?this._rippleRenderer.fadeInRipple(t,s,R(R({},this.rippleConfig),r)):this._rippleRenderer.fadeInRipple(0,0,R(R({},this.rippleConfig),t))}};e.\u0275fac=function(s){return new(s||e)(M(H),M(j),M($),M(mn,8),M(ie,8))},e.\u0275dir=ce({type:e,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(s,r){s&2&&Ge("mat-ripple-unbounded",r.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]});let n=e;return n})(),ua=(()=>{let e=class e{};e.\u0275fac=function(s){return new(s||e)},e.\u0275mod=N({type:e}),e.\u0275inj=C({imports:[wt,wt]});let n=e;return n})(),ma=(()=>{let e=class e{constructor(t){this._animationMode=t,this.state="unchecked",this.disabled=!1,this.appearance="full"}};e.\u0275fac=function(s){return new(s||e)(M(ie,8))},e.\u0275cmp=It({type:e,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(s,r){s&2&&Ge("mat-pseudo-checkbox-indeterminate",r.state==="indeterminate")("mat-pseudo-checkbox-checked",r.state==="checked")("mat-pseudo-checkbox-disabled",r.disabled)("mat-pseudo-checkbox-minimal",r.appearance==="minimal")("mat-pseudo-checkbox-full",r.appearance==="full")("_mat-animation-noopable",r._animationMode==="NoopAnimations")},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(s,r){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-minimal-pseudo-checkbox-selected-checkmark-color)}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-unselected-icon-color);border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-full-pseudo-checkbox-disabled-unselected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-full-pseudo-checkbox-selected-icon-color);border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-full-pseudo-checkbox-selected-checkmark-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-full-pseudo-checkbox-disabled-selected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-full-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0});let n=e;return n})(),fa=(()=>{let e=class e{};e.\u0275fac=function(s){return new(s||e)},e.\u0275mod=N({type:e}),e.\u0275inj=C({imports:[wt]});let n=e;return n})(),pa=new x("MAT_OPTION_PARENT_COMPONENT");var ga=new x("MatOptgroup");var _a=0,Di=class{constructor(e,i=!1){this.source=e,this.isUserInput=i}},cc=(()=>{let e=class e{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(t){this._disabled=t}get disableRipple(){return!!(this._parent&&this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}constructor(t,s,r,o){this._element=t,this._changeDetectorRef=s,this._parent=r,this.group=o,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id=`mat-option-${_a++}`,this.onSelectionChange=new be,this._stateChanges=new q}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(t=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),t&&this._emitSelectionChangeEvent())}deselect(t=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),t&&this._emitSelectionChangeEvent())}focus(t,s){let r=this._getHostElement();typeof r.focus=="function"&&r.focus(s)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(t){(t.keyCode===13||t.keyCode===32)&&!et(t)&&(this._selectViaInteraction(),t.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=this.multiple?!this._selected:!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){let t=this.viewValue;t!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=t)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(t=!1){this.onSelectionChange.emit(new Di(this,t))}};e.\u0275fac=function(s){return new(s||e)(M(H),M(Hi),M(pa,8),M(ga,8))},e.\u0275cmp=It({type:e,selectors:[["mat-option"]],viewQuery:function(s,r){if(s&1&&es(Yo,7),s&2){let o;Ji(o=ts())&&(r._text=o.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(s,r){s&1&&Gi("click",function(){return r._selectViaInteraction()})("keydown",function(a){return r._handleKeydown(a)}),s&2&&(Qi("id",r.id),Dt("aria-selected",r.selected)("aria-disabled",r.disabled.toString()),Ge("mdc-list-item--selected",r.selected)("mat-mdc-option-multiple",r.multiple)("mat-mdc-option-active",r.active)("mdc-list-item--disabled",r.disabled))},inputs:{value:"value",id:"id",disabled:["disabled","disabled",Ne]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],features:[Ce],ngContentSelectors:ta,decls:8,vars:5,consts:[["class","mat-mdc-option-pseudo-checkbox","aria-hidden","true",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["text",""],["class","mat-mdc-option-pseudo-checkbox","state","checked","aria-hidden","true","appearance","minimal",3,"disabled"],["class","cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"]],template:function(s,r){s&1&&(Yi(ea),Mt(0,Zo,1,2,"mat-pseudo-checkbox",0),Nt(1),kt(2,"span",1,2),Nt(4,1),Ct(),Mt(5,Xo,1,1,"mat-pseudo-checkbox",3)(6,Jo,2,1,"span",4),Ze(7,"div",5)),s&2&&(Ye(0,r.multiple?0:-1),ke(5),Ye(5,!r.multiple&&r.selected&&!r.hideSingleSelectionIndicator?5:-1),ke(1),Ye(6,r.group&&r.group._inert?6:-1),ke(1),Qe("matRippleTrigger",r._getHostElement())("matRippleDisabled",r.disabled||r.disableRipple))},dependencies:[fn,ma],styles:['.mat-mdc-option{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color);font-family:var(--mat-option-label-text-font);line-height:var(--mat-option-label-text-line-height);font-size:var(--mat-option-label-text-size);letter-spacing:var(--mat-option-label-text-tracking);font-weight:var(--mat-option-label-text-weight);min-height:48px}.mat-mdc-option:focus{outline:none}[dir=rtl] .mat-mdc-option,.mat-mdc-option[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color)}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color)}.mat-mdc-option.mdc-list-item{align-items:center}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0});let n=e;return n})();function dc(n,e,i){if(i.length){let t=e.toArray(),s=i.toArray(),r=0;for(let o=0;o<n+1;o++)t[o].group&&t[o].group===s[r]&&r++;return r}return 0}function hc(n,e,i,t){return n<i?n:n+e>i+t?Math.max(0,n-t+e):i}var uc=(()=>{let e=class e{};e.\u0275fac=function(s){return new(s||e)},e.\u0275mod=N({type:e}),e.\u0275inj=C({imports:[ua,wt,fa]});let n=e;return n})(),dn={capture:!0},hn=["focus","click","mouseenter","touchstart"],Ti="mat-ripple-loader-uninitialized",wi="mat-ripple-loader-class-name",un="mat-ripple-loader-centered",Tt="mat-ripple-loader-disabled",mc=(()=>{let e=class e{constructor(){this._document=U(L,{optional:!0}),this._animationMode=U(ie,{optional:!0}),this._globalRippleOptions=U(mn,{optional:!0}),this._platform=U($),this._ngZone=U(j),this._hosts=new Map,this._onInteraction=t=>{if(!(t.target instanceof HTMLElement))return;let r=t.target.closest(`[${Ti}]`);r&&this._createRipple(r)},this._ngZone.runOutsideAngular(()=>{for(let t of hn)this._document?.addEventListener(t,this._onInteraction,dn)})}ngOnDestroy(){let t=this._hosts.keys();for(let s of t)this.destroyRipple(s);for(let s of hn)this._document?.removeEventListener(s,this._onInteraction,dn)}configureRipple(t,s){t.setAttribute(Ti,""),(s.className||!t.hasAttribute(wi))&&t.setAttribute(wi,s.className||""),s.centered&&t.setAttribute(un,""),s.disabled&&t.setAttribute(Tt,"")}getRipple(t){return this._hosts.get(t)||this._createRipple(t)}setDisabled(t,s){let r=this._hosts.get(t);if(r){r.disabled=s;return}s?t.setAttribute(Tt,""):t.removeAttribute(Tt)}_createRipple(t){if(!this._document)return;let s=this._hosts.get(t);if(s)return s;t.querySelector(".mat-ripple")?.remove();let r=this._document.createElement("span");r.classList.add("mat-ripple",t.getAttribute(wi)),t.append(r);let o=new fn(new H(r),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return o._isInitialized=!0,o.trigger=t,o.centered=t.hasAttribute(un),o.disabled=t.hasAttribute(Tt),this.attachRipple(t,o),o}attachRipple(t,s){t.removeAttribute(Ti),this._hosts.set(t,s)}destroyRipple(t){let s=this._hosts.get(t);s&&(s.ngOnDestroy(),this._hosts.delete(t))}};e.\u0275fac=function(s){return new(s||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();export{jt as a,us as b,Bt as c,Da as d,ue as e,Ma as f,et as g,$ as h,wa as i,Te as j,Sa as k,cs as l,ds as m,re as n,hs as o,kl as p,ms as q,zn as r,Kn as s,il as t,ys as u,bs as v,Vn as w,er as x,sl as y,$t as z,Wt as A,nl as B,cr as C,rl as D,ol as E,_l as F,Ht as G,Jl as H,ec as I,wt as J,tc as K,ic as L,sc as M,nc as N,rc as O,oc as P,nn as Q,St as R,ra as S,ac as T,lc as U,mn as V,fn as W,ua as X,pa as Y,ga as Z,cc as _,dc as $,hc as aa,uc as ba,mc as ca};
@@ -0,0 +1 @@
1
+ import{a as pe}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.11.5/Marketplace/chunk-6BSG6YUX.js";import{a as me,f as fe}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.11.5/Marketplace/chunk-GN6CGQMS.js";import"https://cdn.jsdelivr.net/npm/marketplacepos@3.11.5/Marketplace/chunk-BOSI3BJF.js";import{b as X,e as y}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.11.5/Marketplace/chunk-W4KXSHWG.js";import"https://cdn.jsdelivr.net/npm/marketplacepos@3.11.5/Marketplace/chunk-CQZLPKQI.js";import{a as ge,c as ue}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.11.5/Marketplace/chunk-5RM66OVB.js";import{d as he}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.11.5/Marketplace/chunk-J7NK7BJJ.js";import{c as Z,h as ee,i as te,j as ne,k as ie,l as oe,o as re,p as ae,q as se,r as ce,u as de}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.11.5/Marketplace/chunk-L2NFIVJZ.js";import{a as w,c as le}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.11.5/Marketplace/chunk-MZTR7GGF.js";import{$ as j,$a as l,$b as Q,Db as q,Eb as H,Fa as d,Ga as m,Hc as S,Ib as $,Jb as Y,Jc as v,Lb as B,Mb as G,Mc as N,Oa as p,Q as D,Ra as V,Ua as f,Yb as W,Za as i,_a as r,_b as A,aa as I,ab as k,bb as E,cc as K,db as T,ea as x,fa as L,gc as J,hb as g,ja as b,jb as u,ka as _,ob as P,pb as a,qb as C,rb as F,sb as R,xb as U,za as M}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.11.5/Marketplace/chunk-6HHZHN7P.js";import"https://cdn.jsdelivr.net/npm/marketplacepos@3.11.5/Marketplace/chunk-MAW5LNHT.js";var be=(()=>{let t=class t{constructor(n,e,s){this.route=n,this.http=e,this.service=s}ngOnInit(){this.route.queryParams.subscribe(n=>{this.code=n.code})}addChannelLazada(){let n={Code:this.code};this.http.post("/api/ChannelAdd/AddLazada",n).subscribe(e=>{this.service.navigate(["/menu/channel"])})}};t.\u0275fac=function(e){return new(e||t)(m(S),m(y),m(v))},t.\u0275cmp=x({type:t,selectors:[["app-lazada"]],decls:20,vars:1,consts:[[1,"container","h-100"],[1,"row","d-flex","justify-content-center","align-items-center","h-100"],[1,"col-md-4"],[1,"card"],[1,"card-header","text-center"],[1,"far","fa-check-circle","text-success",2,"font-size","115px"],[1,"h3","fw-bold"],[1,"card-body","text-center","py-6"],[1,"text-shopee","fw-bold"],["type","button",1,"btn","btn-success","mt-6",3,"click"],[1,"fas","fa-undo"]],template:function(e,s){e&1&&(i(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4),l(5,"i",5),i(6,"div",6),a(7,"Success !"),r()(),i(8,"div",7)(9,"div"),a(10,"You have successfully authorized "),r(),i(11,"div"),a(12,"DEALPOS to manage your Lazada"),r(),i(13,"div"),a(14," Your Code is "),i(15,"span",8),a(16),r()(),i(17,"button",9),g("click",function(){return s.addChannelLazada()}),l(18,"i",10),a(19," Add to my Channel"),r()()()()()()),e&2&&(d(16),C(s.code))}});let o=t;return o})();var _e=(()=>{let t=class t{constructor(){}getBrowserName(){let n=window.navigator.userAgent.toLowerCase();switch(!0){case(n.indexOf("edge")>-1||n.indexOf("edg")>-1):return"edge";case n.indexOf("opr")>-1:return"opera";case n.indexOf("chrome")>-1:return"chrome";case n.indexOf("trident")>-1:return"ie";case n.indexOf("firefox")>-1:return"firefox";case n.indexOf("safari")>-1:return"safari";default:return"other"}}};t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=j({token:t,factory:t.\u0275fac,providedIn:"root"});let o=t;return o})();function ke(o,t){if(o&1&&(i(0,"swiper-slide")(1,"div")(2,"a",2),l(3,"img",3),r()(),i(4,"a",4),a(5),r(),i(6,"p",5),a(7),r()()),o&2){let c=t.$implicit;d(2),p("href",c.href,M),d(1),p("src",c.imgSrc,M),d(1),p("href",c.href,M),d(1),C(c.title),d(2),C(c.description)}}var Ce=(()=>{let t=class t{constructor(){this.newsList=[]}};t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=x({type:t,selectors:[["POS-news-swiper"]],inputs:{newsList:"newsList"},decls:2,vars:1,consts:[["pagination","true","pagination-clickable","true","autoplay-delay","5000","autoplay-disable-on-interaction","false",2,"margin-top","30px"],[4,"ngFor","ngForOf"],["target","_blank",3,"href"],[1,"border-0","rounded-1","mb-8",2,"width","252px","height","152px",3,"src"],["target","_blank",1,"fw-bold","h5","text-success","header-title","fs-4",3,"href"],[2,"margin-bottom","3rem"]],template:function(e,s){e&1&&(i(0,"swiper-container",0),f(1,ke,8,5,"swiper-slide",1),r()),e&2&&(d(1),p("ngForOf",s.newsList))},dependencies:[A],styles:["swiper-container[_ngcontent-%COMP%]{--swiper-pagination-bullet-inactive-color: #89b03e;--swiper-pagination-color: #89b03e}"]});let o=t;return o})();var Ie=["subdomainEl"];function Le(o,t){if(o&1&&(k(0),i(1,"div",33),l(2,"img",34),r(),E()),o&2){let c=t.$implicit;d(2),p("src",c.img,M)("title",c.title)("alt",c.title)}}function Te(o,t){if(o&1){let c=T();k(0),i(1,"div",14)(2,"h3",15),a(3," DealPOS Omnichannel "),r(),i(4,"small"),a(5," Multichannel Inventory Management Software "),r()(),i(6,"form",16)(7,"div",17)(8,"div",18)(9,"div",19)(10,"span"),l(11,"i",20),r()(),i(12,"input",21,22),g("ngModelChange",function(e){b(c);let s=u();return _(s.subdomain=e)}),r(),i(14,"div")(15,"select",23),g("ngModelChange",function(e){b(c);let s=u();return _(s.domain=e)}),i(16,"option",24),a(17,".dealpos.co.id"),r(),i(18,"option",25),a(19,".dealpos.net"),r(),i(20,"option",26),a(21,".dealpos.com"),r(),i(22,"option",27),a(23,".dealpos.app"),r()()()(),i(24,"div",28)(25,"button",29),g("click",function(){b(c);let e=u();return _(e.onNextState())}),a(26," Next "),r()(),i(27,"div",30)(28,"div",31),f(29,Le,3,3,"ng-container",32),r()()()(),E()}if(o&2){let c=u();d(12),p("ngModel",c.subdomain),d(3),p("ngModel",c.domain),d(14),p("ngForOf",c.channels)}}function Ae(o,t){o&1&&(i(0,"p"),a(1," Username is required "),r())}function Ne(o,t){if(o&1&&(k(0),i(1,"div",56),l(2,"div",57),i(3,"div",58),f(4,Ae,2,0,"p",45),r()(),E()),o&2){u();let c=P(14);d(4),p("ngIf",c.errors.required)}}function ze(o,t){if(o&1){let c=T();i(0,"i",61),g("click",function(){b(c);let e=u(3);return _(e.hideShowPassword())}),r()}if(o&2){let c=u(3);V("fa "+c.passwordIcon)}}function De(o,t){if(o&1&&(i(0,"span",59),f(1,ze,1,2,"i",60),r()),o&2){let c=u(2);d(1),p("ngIf",c.password)}}function je(o,t){o&1&&(i(0,"p"),a(1," Password is required "),r())}function Ve(o,t){if(o&1&&(k(0),i(1,"div",56),l(2,"div",57),i(3,"div",58),f(4,je,2,0,"p",45),r()(),E()),o&2){u();let c=P(21);d(4),p("ngIf",c.errors.required)}}var Fe=(o,t)=>({"rounded-end":o,"border-end-0":t});function Re(o,t){if(o&1){let c=T();i(0,"div",35)(1,"h3",36),a(2,"Sign in"),r(),i(3,"h3",37),a(4," to "),i(5,"h6",38),a(6),r(),i(7,"i",39),g("click",function(){b(c);let e=u();return _(e.onEditDomain())}),r()()(),i(8,"form",40)(9,"div",41)(10,"div",19)(11,"span"),l(12,"i",42),r()(),i(13,"input",43,44),g("ngModelChange",function(e){b(c);let s=u();return _(s.username=e)}),r()(),f(15,Ne,5,1,"ng-container",45),i(16,"div",18)(17,"div",19)(18,"span"),l(19,"i",46),r()(),i(20,"input",47,48),g("ngModelChange",function(e){b(c);let s=u();return _(s.password=e)}),r(),f(22,De,2,1,"span",49),r(),f(23,Ve,5,1,"ng-container",45),i(24,"div",50)(25,"button",51),g("click",function(){b(c);let e=u();return _(e.onLogin())}),a(26," Log in "),r()(),i(27,"div",52),l(28,"hr"),i(29,"span",53),a(30,"or"),r(),l(31,"hr"),r(),i(32,"div")(33,"button",54),g("click",function(e){b(c);let s=u();return _(s.onLoginByGoogle(e))}),l(34,"i",55),a(35," Sign In with Google "),r()()()}if(o&2){let c=P(14),n=P(21),e=u();d(6),R(" (",e.subdomain,"",e.domain,") "),d(7),p("ngModel",e.username),d(2),p("ngIf",c.invalid&&(c.dirty||c.touched)),d(5),p("type",e.passwordType)("ngClass",U(9,Fe,e.browser=="edge",e.browser!="edge"))("ngModel",e.password),d(2),p("ngIf",e.browser!="edge"),d(1),p("ngIf",n.invalid&&(n.dirty||n.touched))}}var ve=(()=>{let t=class t{constructor(n,e,s,h,Pe){this._router=n,this.toastr=e,this.checkBrowser=s,this.authService=h,this.ngxPermission=Pe,this.domain=".dealpos.co.id",this.loginState="FORM_DOMAIN",this.passwordType="password",this.passwordIcon="fa-eye",this.channels=[{title:"Shopee",img:w.SHOOPE},{title:"Tokopedia",img:w.TOKOPEDIA},{title:"Tiktok",img:w.TIKTOK},{title:"Woocommerce",img:w.WOOCOMMERCE},{title:"Lazada",img:w.LAZADA},{title:"Shopify",img:w.SHOPIFY}],this.version=me.version,this.news$=h.getNews().pipe(D(1))}ngOnInit(){this.initLogin(),this.browser=this.checkBrowser.getBrowserName(),document.body.classList.add("login-body"),this.initChangeLogUrl()}initChangeLogUrl(){let n=`https://changelog.dealpos.com/?categories=cat_nILYcoEQzgGWX&view=complete&v=${this.version}`;this.changelogUrl=n}ngAfterViewInit(){this.setAutoFocusDomain()}initLogin(){let n=JSON.parse(localStorage.getItem("Authorization"));if(n){this.username=n?.username,this.subdomain=n?.Host?.split(".")[0];let e=n?.Host?.split("dealpos");this.domain=`.dealpos${e[1]}`,this.authService.isActiveToken()&&this._router.navigate(["menu"])}}onNextState(){if(le.IsEmpty(this.subdomain)){this.toastr.warning("Account Domain is required","Warning");return}this.parseSubdomain(),this.loginState="FORM_AUTH"}parseSubdomain(){let n=this.subdomain.indexOf(".dealpos");n!=-1&&(this.subdomain=this.subdomain.substring(0,n))}onEditDomain(){this.loginState="FORM_DOMAIN"}onLogin(){let n={Host:`${this.subdomain}${this.domain}`,Username:this.username,Password:this.password};this.authService.login(n).subscribe(e=>{this.onSuccessLogin(e)})}onLoginByGoogle(n){let e=`${this.subdomain}${this.domain}`;this.authService.loginWithGoogle(n,e).subscribe(s=>{this.onSuccessLogin(s)})}onSuccessLogin(n){this.ngxPermission.hasPermission([pe.dashboardView]).then(e=>{e?this._router.navigate(["menu/dashboard"]):n?.TotalChannel<1?this._router.navigate(["menu/channel"]):this._router.navigate(["menu/products"])})}setAutoFocusDomain(){this.subdomainEl.nativeElement.focus()}hideShowPassword(){this.passwordType=this.passwordType==="text"?"password":"text",this.passwordIcon=this.passwordIcon==="fa-eye"?"fa-eye-slash":"fa-eye"}ngOnDestroy(){document.body.classList.remove("login-body")}};t.\u0275fac=function(e){return new(e||t)(m(v),m(X),m(_e),m(fe),m(ge))},t.\u0275cmp=x({type:t,selectors:[["app-login"]],viewQuery:function(e,s){if(e&1&&Y(Ie,5),e&2){let h;$(h=B())&&(s.subdomainEl=h.first)}},decls:19,vars:7,consts:[[1,"container-fluid"],[1,"row","mx-auto","bg-white","login-pane"],[1,"col-md-5","order-md-first","order-last","border-end","features-pane","pt-12","pb-9"],[1,"fw-normal","fs-2","header-title","text-center"],[3,"newsList"],[1,"col-md-7","order-md-last","order-first","py-12","sign-in-pane"],[4,"ngIf","ngIfElse"],["USERNAME_PASSWORD",""],[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"],[1,"text-md-start","text-center"],[1,"fs-2","header-title","me-2","fw-normal"],[2,"margin-top","38px"],[1,"form-block","mt-5"],[1,"input-group","input-group-lg","mt-8"],[1,"input-group-text","rounded-start","border-end-0",2,"width","52px"],[1,"fa-solid","fa-cloud"],["placeholder","Store Address","aria-label","Store Address","aria-describedby","basic-addon1","autofocus","","name","Store Address",1,"form-control","form-control-lg","rounded-end-0","border-start-0","ps-1",2,"height","58px",3,"ngModel","ngModelChange"],["subdomainEl",""],["name","domainOption",1,"form-select","form-control","form-control-lg","border-start-0","border-start","rounded-end","rounded-start-0","domain-option",2,"height","58px",3,"ngModel","ngModelChange"],["selected","","value",".dealpos.co.id"],["value",".dealpos.net"],["value",".dealpos.com"],["value",".dealpos.app"],[1,"w-100",2,"margin-top","1.8rem"],["name","next","data-cy","next","type","submit",1,"btn","btn-xl","btn-success","btn-block","font125rem","robotoslab","w-100",3,"click"],[1,"d-flex","align-items-center","justify-content-center",2,"margin-top","2.1rem"],[1,"d-flex","align-items-center","justify-content-between","w-100"],[4,"ngFor","ngForOf"],[1,""],[1,"border-0",2,"width","34px","height","34px",3,"src","title","alt"],[1,"d-flex","align-items-center","justify-content-start","mb-2"],[1,"robotoslab","fw-normal"],[1,"ms-2","fw-normal"],[1,"me-2","robotoslab","d-inline-block","text-success"],["title","Edit Store Address",1,"fa-solid","fa-edit","link-success","fs-5","pointer",3,"click"],[2,"margin-top","29px"],[1,"input-group","input-group-lg"],[1,"fas","fa-user","fa-lg"],["id","txtUsername","type","text","data-cy","username","required","","placeholder","Username","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","58px",3,"ngModel","ngModelChange"],["usernameCtrl","ngModel"],[4,"ngIf"],[1,"fas","fa-key","fa-lg"],["id","txtPassword","data-cy","password","placeholder","Password","aria-label","Password","aria-describedby","basic-addon1","autofocus","","name","password","required","",1,"form-control","form-control-lg","rounded-end","border-start-0","ps-1",2,"height","58px",3,"type","ngClass","ngModel","ngModelChange"],["passwordCtrl","ngModel"],["class","input-group-text border-start-0 rounded-end",4,"ngIf"],[1,"w-100","mt-8"],["data-cy","login","type","submit",1,"btn","btn-lg","btn-success","btn-block","font125rem","robotoslab","w-100",3,"click"],[1,"divider","d-flex","align-items-center","justify-content-center"],[1,"mx-4","text-muted"],[1,"btn","btn-social-login","text-success","w-100","fw-bold",3,"click"],[1,"fa-brands","fa-google"],[1,"d-flex","justify-content-start","w-50","mb-4",2,"height","16px"],[2,"width","52px"],[1,"text-danger","ps-1"],[1,"input-group-text","border-start-0","rounded-end"],[3,"class","click",4,"ngIf"],[3,"click"]],template:function(e,s){if(e&1&&(i(0,"div",0)(1,"div",1)(2,"div",2)(3,"h3",3),a(4,"New Features"),r(),l(5,"POS-news-swiper",4),q(6,"async"),r(),i(7,"div",5),f(8,Te,30,3,"ng-container",6)(9,Re,36,12,"ng-template",null,7,G),r()(),i(11,"div",8)(12,"span",9),a(13,"powered by :"),r(),l(14,"a",10),r(),i(15,"div",11)(16,"a",12),a(17),l(18,"i",13),r()()()),e&2){let h=P(10);d(5),p("newsList",H(6,5,s.news$)),d(3),p("ngIf",s.loginState=="FORM_DOMAIN")("ngIfElse",h),d(8),p("href",s.changelogUrl,M),d(1),F("version ",s.version,"")}},dependencies:[W,A,Q,oe,ae,se,Z,re,ee,te,ce,ie,ne,Ce,K],styles:[".login-pane[_ngcontent-%COMP%]{max-width:57rem;height:max-content;margin-top:115px}@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-success)}.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}}@media (min-width: 1200px){.sign-in-pane[_ngcontent-%COMP%]{border-bottom:1px solid #89b03e;border-right:1px solid #89b03e;border-top:1px solid #89b03e;border-radius:0 10px 10px 0}}.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}}@media (min-width: 1200px){.features-pane[_ngcontent-%COMP%]{border-left:1px solid #89b03e;border-bottom:1px solid #89b03e;border-top:1px solid #89b03e;border-radius:10px 0 0 10px}}.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(//res.cloudinary.com/pos/image/upload/POS/Images/Login/dealpos.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-success)}.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}.domain-option[_ngcontent-%COMP%]{padding:.75rem;color:#343434;font-size:.875rem;width:8.5rem}"]});let o=t;return o})();var Me=(()=>{let t=class t{constructor(n,e,s){this.route=n,this.http=e,this.service=s}ngOnInit(){this.route.queryParams.subscribe(n=>{this.shopID=n.shop_id,this.code=n.code})}addShopee(){let n={ShopID:Number(this.shopID),Code:this.code},e="/api/ChannelAdd/ShopeeV2";this.http.post(e,n).subscribe(s=>{this.service.navigate(["/menu/channel"])})}};t.\u0275fac=function(e){return new(e||t)(m(S),m(y),m(v))},t.\u0275cmp=x({type:t,selectors:[["shopee-authorized"]],decls:20,vars:1,consts:[[1,"container","h-100"],[1,"row","d-flex","justify-content-center","align-items-center","h-100"],[1,"col-md-4"],[1,"card"],[1,"card-header","text-center"],[1,"far","fa-check-circle","text-success",2,"font-size","115px"],[1,"h3","fw-bold"],[1,"card-body","text-center","py-6"],[1,"text-shopee","fw-bold"],["type","button",1,"btn","btn-success","mt-t",3,"click"],[1,"fas","fa-undo"]],template:function(e,s){e&1&&(i(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4),l(5,"i",5),i(6,"div",6),a(7,"Success !"),r()(),i(8,"div",7)(9,"div"),a(10,"You have successfully authorized "),r(),i(11,"div"),a(12,"DEALPOS to manage your Shopee"),r(),i(13,"div"),a(14," Your shopID is "),i(15,"span",8),a(16),r()(),i(17,"button",9),g("click",function(){return s.addShopee()}),l(18,"i",10),a(19," Add to my Channel"),r()()()()()()),e&2&&(d(16),C(s.shopID))},styles:[".login-pane[_ngcontent-%COMP%]{max-width:57rem;height:max-content;margin-top:115px}@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-success)}.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}}@media (min-width: 1200px){.sign-in-pane[_ngcontent-%COMP%]{border-bottom:1px solid #89b03e;border-right:1px solid #89b03e;border-top:1px solid #89b03e;border-radius:0 10px 10px 0}}.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}}@media (min-width: 1200px){.features-pane[_ngcontent-%COMP%]{border-left:1px solid #89b03e;border-bottom:1px solid #89b03e;border-top:1px solid #89b03e;border-radius:10px 0 0 10px}}.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(//res.cloudinary.com/pos/image/upload/POS/Images/Login/dealpos.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-success)}.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}.domain-option[_ngcontent-%COMP%]{padding:.75rem;color:#343434;font-size:.875rem;width:8.5rem}.form-signin[_ngcontent-%COMP%]{max-width:600px}.card[_ngcontent-%COMP%]{font:100 14px/25px Roboto,Helvetica Neue,sans-serif;border-radius:13px;box-sizing:border-box}.text-shopee[_ngcontent-%COMP%]{color:#f53d2d}"]});let o=t;return o})();var we=(()=>{let t=class t{constructor(n,e,s){this.route=n,this.http=e,this.service=s}ngOnInit(){this.route.queryParams.subscribe(n=>{this.code=n.code,this.state=n.state})}addChannelTiktok(){let n={Code:this.code};this.http.post("/api/ChannelAdd/AddTiktok",n).subscribe(e=>{this.service.navigate(["/menu/channel"])})}};t.\u0275fac=function(e){return new(e||t)(m(S),m(y),m(v))},t.\u0275cmp=x({type:t,selectors:[["app-tiktok"]],decls:24,vars:2,consts:[[1,"container","h-100"],[1,"row","d-flex","justify-content-center","align-items-center","h-100"],[1,"col-md-4"],[1,"card"],[1,"card-header","text-center"],[1,"far","fa-check-circle","text-success",2,"font-size","115px"],[1,"h3","fw-bold"],[1,"card-body","text-center","py-6"],[1,"text-shopee","fw-bold"],["type","button",1,"btn","btn-success","mt-6",3,"click"],[1,"fas","fa-undo"]],template:function(e,s){e&1&&(i(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4),l(5,"i",5),i(6,"div",6),a(7,"Success !"),r()(),i(8,"div",7)(9,"div"),a(10,"You have successfully authorized "),r(),i(11,"div"),a(12,"DEALPOS to manage your Tiktok"),r(),i(13,"div"),a(14," Your Code is "),i(15,"span",8),a(16),r()(),i(17,"div"),a(18," Your State is "),i(19,"span",8),a(20),r()(),i(21,"button",9),g("click",function(){return s.addChannelTiktok()}),l(22,"i",10),a(23," Add to my Channel"),r()()()()()()),e&2&&(d(16),C(s.code),d(4),C(s.state))},styles:[".login-pane[_ngcontent-%COMP%]{max-width:57rem;height:max-content;margin-top:115px}@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-success)}.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}}@media (min-width: 1200px){.sign-in-pane[_ngcontent-%COMP%]{border-bottom:1px solid #89b03e;border-right:1px solid #89b03e;border-top:1px solid #89b03e;border-radius:0 10px 10px 0}}.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}}@media (min-width: 1200px){.features-pane[_ngcontent-%COMP%]{border-left:1px solid #89b03e;border-bottom:1px solid #89b03e;border-top:1px solid #89b03e;border-radius:10px 0 0 10px}}.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(//res.cloudinary.com/pos/image/upload/POS/Images/Login/dealpos.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-success)}.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}.domain-option[_ngcontent-%COMP%]{padding:.75rem;color:#343434;font-size:.875rem;width:8.5rem}.form-signin[_ngcontent-%COMP%]{max-width:600px}.card[_ngcontent-%COMP%]{font:100 14px/25px Roboto,Helvetica Neue,sans-serif;border-radius:13px;box-sizing:border-box}.text-shopee[_ngcontent-%COMP%]{color:#f53d2d}"]});let o=t;return o})();var Ue=[{path:"",component:ve,data:{title:"Dealpos x Marketplace"}},{path:"shopee",component:Me,data:{title:"Success"}},{path:"tiktok",component:we,data:{title:"Success"}},{path:"lazada",component:be,data:{title:"Success"}}],Oe=(()=>{let t=class t{};t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=L({type:t}),t.\u0275inj=I({imports:[N.forChild(Ue),N]});let o=t;return o})();var wt=(()=>{let t=class t{};t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=L({type:t}),t.\u0275inj=I({imports:[J,de,Oe,he,ue]});let o=t;return o})();export{wt as LoginModule};