diff --git a/404.html b/404.html index 2fa6ba4..02f2ca4 100644 --- a/404.html +++ b/404.html @@ -1,7 +1,7 @@ Sartography - + @@ -10,6 +10,6 @@ - + \ No newline at end of file diff --git a/assets/icons/python.svg b/assets/icons/python.svg new file mode 100644 index 0000000..a5ad006 --- /dev/null +++ b/assets/icons/python.svg @@ -0,0 +1,52 @@ + + + + + + + + + + + + diff --git a/assets/icons/workflow.svg b/assets/icons/workflow.svg new file mode 100644 index 0000000..297cfb3 --- /dev/null +++ b/assets/icons/workflow.svg @@ -0,0 +1,38 @@ + + + + + + diff --git a/assets/ieee_spiffworkflow_article.pdf b/assets/ieee_spiffworkflow_article.pdf new file mode 100644 index 0000000..173a98e Binary files /dev/null and b/assets/ieee_spiffworkflow_article.pdf differ diff --git a/assets/images/case-studies/crconnect.png b/assets/images/case-studies/crconnect.png new file mode 100644 index 0000000..aeb3c0e Binary files /dev/null and b/assets/images/case-studies/crconnect.png differ diff --git a/assets/images/case-studies/ieee.png b/assets/images/case-studies/ieee.png new file mode 100644 index 0000000..eb95506 Binary files /dev/null and b/assets/images/case-studies/ieee.png differ diff --git a/assets/images/case-studies/research_rampup.png b/assets/images/case-studies/research_rampup.png new file mode 100644 index 0000000..482876e Binary files /dev/null and b/assets/images/case-studies/research_rampup.png differ diff --git a/assets/images/case-studies/status.png b/assets/images/case-studies/status.png new file mode 100644 index 0000000..f6df61e Binary files /dev/null and b/assets/images/case-studies/status.png differ diff --git a/assets/images/team/KB.jpg b/assets/images/team/KB.jpg index 6f6b848..06fc8c3 100644 Binary files a/assets/images/team/KB.jpg and b/assets/images/team/KB.jpg differ diff --git a/assets/json/capabilities.json b/assets/json/capabilities.json index a9af78c..3d845fd 100644 --- a/assets/json/capabilities.json +++ b/assets/json/capabilities.json @@ -1,23 +1,23 @@ [ { - "icon_url": "/assets/icons/software_development.svg", + "icon_url": "/assets/icons/python.svg", "title": "Python Software Development", "description": "We create powerful scientific applications using the most popular and intuitive programming language available today." }, { - "icon_url": "/assets/icons/information_design.svg", + "icon_url": "/assets/icons/workflow.svg", "title": "Workflow Automation", "description": "We are experts in the application of BPMN (Business Process Model and Notation) a precise open standard for describing complex business processes " }, { "icon_url": "/assets/icons/responsive_design.svg", "title": "Responsive & Adaptive Design", - "description": "Even our most complex applications work well on phones and tablets, as well as desktops using the Angular Framework." + "description": "Even our most complex applications work well on phones and tablets, as well as desktops using the React Framework." }, { "icon_url": "/assets/icons/security.svg", - "title": "Security", - "description": "We build applications that allow scientists to safely collect, monitor and study medical information." + "title": "DevOps", + "description": "We can drastically increase an organization's ability to rapidly deliver applications and services - we have decades of experience supporting large scale infrastructure." }, { "icon_url": "/assets/icons/research.svg", diff --git a/assets/json/case-studies.json b/assets/json/case-studies.json index 1ef4116..8dccae0 100644 --- a/assets/json/case-studies.json +++ b/assets/json/case-studies.json @@ -4,7 +4,7 @@ "projectName": "SpiffWorkflow", "tagLine": "Visual Programming Engine for Python", "description": "For the past four years we have contributed to the open source SpiffWorkflow. SpiffWorkflow allows your buisness applications to process BPMN diagrams (think of them as very powerful flow charts) to accomplish what would otherwise require writing a lot of complex business logic in your code. ", - "organizationName": "Sartography", + "organizationName": "Open Source", "websiteLink": "https://spiffworkflow.org", "gitHubLink": "https://github.com/sartography/SpiffArena", "imageLink": "assets/images/case-studies/spiff_feature.png", @@ -18,20 +18,51 @@ ] }, { - "id": "uva_psych_mindtrails", - "projectName": "MindTrails", - "tagLine": "Facilitating Research", - "description": "Mindtrails is a web-based research application that helps promote healthier patterns of thinking using interpretation bias training. Since 2014, Sartography has provided software development and technical oversight to the PACT (Program for Anxiety, Cognition, and Treatment) Lab, run by Professor Bethany Teachman. Written in Java Spring and Angular, the application meets the rigorous requirements of the University of Virginia for collecting and storing sensitive information about study participants, while also allowing us to remain in direct contact with those participants.", - "organizationName": "University of Virginia, PACT Lab", - "websiteLink": "https://mindtrails.virginia.edu/", - "gitHubLink": "https://github.com/TeachmanLab", - "imageLink": "assets/images/case-studies/mindtrails.png", - "featureLink": "assets/images/case-studies/mindtrails_feature.png", + "id": "crconnect", + "projectName": "CR Connect 2", + "tagLine": "Featured in IEEE Software Magazine", + "description": "Developed for the University of Virginia’s School of Medicine (UVA SOM), CR Connect streamlines the submission process to UVA’s Institutional Review Board for Health Sciences Re-search. UVA SOM requested a general-purpose workflow system, a tool that could handle frequent tweaks and ad-justments, because this domain is dominated by change. As many researchers are aware, a university’s review board is the perfect storm—a collision of science, bureaucratic processes, legal\nliability, and the progression of professional careers.", + "organizationName": "University of Virginia, School of Medicine", + "downloadLink": "assets//ieee_spiffworkflow_article.pdf", + "imageLink": "assets/images/case-studies/crconnect.png", + "featureLink": "assets/images/case-studies/ieee.png", "testimonials": [ { - "name": "Bethany Teachman PhD", - "title": "Professor, Department of Psychology", - "quote": "Sartography is deeply committed to helping clients realize their vision. The team is incredibly responsive to feedback and always willing to meet to answer questions. They routinely go ‘above and beyond’ to make the product the best it can be, and they are creative and excellent problem solvers." + "name": "Ron Hutchins", + "title": "Vice President of Information Technology, UVA", + "quote": "You guys are rock stars. I really appreciate your passion and your expertise on this project. I’m very excited too about what we can do with it in the future." + } + ] + }, + { + "id": "status", + "projectName": "Status: DAO", + "tagLine": "A Web3 DAO built on BPMN", + "description": "For the last 2 years, Status has funded major contributions to the SpiffWorkflow open source project as they build a transparent organization who's core processes are all managed by BPMN: executable flow-chart diagrams.", + "organizationName": "Status", + "imageLink": "assets/images/case-studies/status.png", + "featureLink": "assets/images/case-studies/status.png", + "testimonials": [ + { + "name": "Jarrad Hope", + "title": "Cofounder of Status", + "quote": "I’m proud of our investment in SpiffWorkflow. It’s in line with our mission and core principles of purposeful technology, public good, and openness. I am excited about the future and looking forward to working with you." + } + ] + }, + { + "id": "research_rampup", + "projectName": "Research RampUp", + "tagLine": "Bringing UVA labs back online during the pandemic", + "description": "On May 12th of 2021, Cheryl Wagner (Chief of Staff, VP of Research) contacted us to very rapidly develop emergency applications to help UVA during Covid. Our first project automated the process of bringing labs back on line. The approval process was complex and required multiple layers of approval, detailed documentation, and complex reports for rapidly changing state government regulations -- all of this multiplied by 100's of labs. We built the application using the SpiffWorkflow library, and went live with the system on June 1st - and while there were certainly a few bugs, we continued to handle approval processes for over a year. ", + "organizationName": "University of Virginia, Research", + "imageLink": "assets/images/case-studies/research_rampup.png", + "featureLink": "assets/images/case-studies/research_rampup.png", + "testimonials": [ + { + "name": "Cheryl Wagner", + "title": "Chief of Staff, Office of the Vice President for Research, University of Virginia", + "quote": "Our office was tasked with implementing a saliva testing program at UVA during the pandemic, and we were fortunate enough to work with Sartography on the project. The Sartography team was quick, effective and agile as they created systems and processes from the ground up to create labels, track tests and notify them of their results under a tight deadline. Doing what would normally take 6-8 months in 6-8 weeks! The team continued to pivot as our needs changed, all the while providing stellar customer service and virtual tech support as we ramped up our testing program at UVA." } ] }, @@ -52,40 +83,9 @@ } ] }, - { - "id": "autism_drive", - "projectName": "Autism Drive", - "tagLine": "Community Engagement", - "description": "The Autism DRIVE is a 'bench to bedside' project that connects researchers and the community to accelerate advances in the support of people affected by autism. We worked with Doctors Micha Mazurek and Rose Nevill to develop an easy to use website where people can find support throughout the state of Virginia, as well as sign up for current and future research studies.", - "organizationName": "University of Virginia, Curry School of Education", - "websiteLink": "https://autismdrive.virginia.edu/#/home", - "gitHubLink": "https://github.com/sartography/star-drive", - "imageLink": "assets/images/case-studies/autism_drive.png", - "featureLink": "assets/images/case-studies/autism_drive_feature.png", - "testimonials": [ - ] - }, - { - "id": "uva_som_cadre_academy", - "projectName": "Cadre Academy", - "tagLine": "Engaging the Community", - "description": "Working with the Research Computing department of the School of Medicine at UVA we created a platform where students, community members, and faculty could sign up for free workshops offered across the campus. Integrating with UVA’s two factor authentication system, we created a streamlined sign-up process. To help users find the right classes we provide tools for organizing workshops into tracks - taking users from introductory materials to advanced specializations.", - "organizationName": "University of Virginia", - "websiteLink": "https://education.cadre.virginia.edu/", - "gitHubLink": "https://github.com/uvasomrc/ed-platform", - "imageLink": "assets/images/case-studies/cadre.png", - "featureLink": "assets/images/case-studies/cadre_feature.png", - "testimonials": [ - { - "name": "Byoung-Do (BD) Kim", - "title": "Director of Research Computing", - "quote": "The Sartography team did excellent work for the development of CADRE Academy. Hundreds of UVA students are now taking advantage of the online platform for their search on workshop contents and upcoming classes. It was a great pleasure working with Dan." - } - ] - }, { "id": "uva_som_ithriv", - "projectName": "iThriv", + "projectName": "iThriv Portal", "tagLine": "Managing Complexity", "description": "The number of biomedical resources available to Researchers, Clinicians and the general public is exploding. An emerging discipline of Translational Medicine hopes to expedite the discovery of new tools and treatments in this multidisciplinary world. As a first step we helped create the iTrhiv Portal, a multi-institutional collaboration of Virginia universities and private organizations that helps everyone learn about and access information critical to their work and health.", "organizationName": "University of Virginia", @@ -101,6 +101,19 @@ } ] }, + { + "id": "autism_drive", + "projectName": "Autism Drive", + "tagLine": "Community Engagement", + "description": "The Autism DRIVE is a 'bench to bedside' project that connects researchers and the community to accelerate advances in the support of people affected by autism. We worked with Doctors Micha Mazurek and Rose Nevill to develop an easy to use website where people can find support throughout the state of Virginia, as well as sign up for current and future research studies.", + "organizationName": "University of Virginia, Curry School of Education", + "websiteLink": "https://autismdrive.virginia.edu/#/home", + "gitHubLink": "https://github.com/sartography/star-drive", + "imageLink": "assets/images/case-studies/autism_drive.png", + "featureLink": "assets/images/case-studies/autism_drive_feature.png", + "testimonials": [ + ] + }, { "id": "full_genomes", "projectName": "Cleanup & Refactor", @@ -111,5 +124,23 @@ "imageLink": "assets/images/case-studies/full_genomes.png", "featureLink": "assets/images/case-studies/full_genomes_feature.png", "testimonials": [] + }, + { + "id": "uva_psych_mindtrails", + "projectName": "MindTrails", + "tagLine": "Facilitating Research", + "description": "Mindtrails is a web-based research application that helps promote healthier patterns of thinking using interpretation bias training. Since 2014, Sartography has provided software development and technical oversight to the PACT (Program for Anxiety, Cognition, and Treatment) Lab, run by Professor Bethany Teachman. Written in Java Spring and Angular, the application meets the rigorous requirements of the University of Virginia for collecting and storing sensitive information about study participants, while also allowing us to remain in direct contact with those participants.", + "organizationName": "University of Virginia, PACT Lab", + "websiteLink": "https://mindtrails.virginia.edu/", + "gitHubLink": "https://github.com/TeachmanLab", + "imageLink": "assets/images/case-studies/mindtrails.png", + "featureLink": "assets/images/case-studies/mindtrails_feature.png", + "testimonials": [ + { + "name": "Bethany Teachman PhD", + "title": "Professor, Department of Psychology", + "quote": "Sartography is deeply committed to helping clients realize their vision. The team is incredibly responsive to feedback and always willing to meet to answer questions. They routinely go ‘above and beyond’ to make the product the best it can be, and they are creative and excellent problem solvers." + } + ] } ] diff --git a/assets/json/team-members.json b/assets/json/team-members.json index 1ef4bd4..a45e9f6 100644 --- a/assets/json/team-members.json +++ b/assets/json/team-members.json @@ -36,7 +36,7 @@ { "firstName": "Elizabeth", "lastName": "Esswein", - "title": "Software Engineer", + "title": "Founding Software Engineer", "description": [ "Elizabeth is a scientist at heart, with a love of patterns and a near fanatical delight in forcing simplicity out of chaos. She seeks to put her programming and system administration skills to use while learning about disciplines outside of computer science. She is the guardian of two beautiful, if occasionally noisy felines. The daughter of a retired cook and skilled baker, she is also a gifted chef." ], @@ -47,7 +47,7 @@ { "firstName": "Jason", "lastName": "Lantz", - "title": "Software Engineer", + "title": "Founding Software Engineer", "description": [ "Jason started his career at Rosetta Stone while he was still in high school and spent most of his career there. He started in QA where he taught himself to program by writing perl scripts and eventually went to college to get his BS in Computer Science. After graduating, he moved to the software development side of things where he mostly concentrated on DevOps. This involved writing internal tools and automation scripts mostly in ruby and bash and working some in system administration performing system upgrades for various servers using automation scripts. In his spare time, Jason likes to play boardgames or go to metal concerts and sometimes play and write music if inspiration hits." ], @@ -58,7 +58,7 @@ { "firstName": "John", "lastName": "Herron", - "title": "Software Engineer", + "title": "Founding Software Engineer", "description": [ "Jon built his early career at Yahoo where he was a Principal Software Apps Engineer. He has an extensive background ranging from start ups to Fortune 500 companies; web development to back end processing in both high and low level languages. Specialties: Development, debugging, architecture, unit testing, technical specifications, cross platform development, low level and high level languages, web development, Windows, Linux, .NET, Common Lisp, Scheme, JavaScript, Ajax, (x)HTML, CSS, PHP, MySQL, NoSQL, web and application security" ], diff --git a/assets/logo/Sartography-Logo-Elements.svg b/assets/logo/Sartography-Logo-Elements.svg index 15ce50e..a05ebc2 100644 --- a/assets/logo/Sartography-Logo-Elements.svg +++ b/assets/logo/Sartography-Logo-Elements.svg @@ -1,87 +1,306 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + WORKFLOW APPS STAUNTON VA. + + + diff --git a/index.html b/index.html index 2fa6ba4..02f2ca4 100644 --- a/index.html +++ b/index.html @@ -1,7 +1,7 @@ Sartography - + @@ -10,6 +10,6 @@ - + \ No newline at end of file diff --git a/main.8818701debb77583.js b/main.ad5f833caea29aee.js similarity index 60% rename from main.8818701debb77583.js rename to main.ad5f833caea29aee.js index 0760e1b..8f46d1d 100644 --- a/main.8818701debb77583.js +++ b/main.ad5f833caea29aee.js @@ -1 +1 @@ -(self.webpackChunksartography_website=self.webpackChunksartography_website||[]).push([[179],{897:(ks,gl,pu)=>{"use strict";function be(n){return"function"==typeof n}function Ft(n){const e=n(i=>{Error.call(i),i.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}const Fs=Ft(n=>function(e){n(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((i,r)=>`${r+1}) ${i.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e});function ml(n,t){if(n){const e=n.indexOf(t);0<=e&&n.splice(e,1)}}class Ce{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(const o of e)o.remove(this);else e.remove(this);const{initialTeardown:i}=this;if(be(i))try{i()}catch(o){t=o instanceof Fs?o.errors:[o]}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const o of r)try{mu(o)}catch(s){t=t??[],s instanceof Fs?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Fs(t)}}add(t){var e;if(t&&t!==this)if(this.closed)mu(t);else{if(t instanceof Ce){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(e=this._finalizers)&&void 0!==e?e:[]).push(t)}}_hasParent(t){const{_parentage:e}=this;return e===t||Array.isArray(e)&&e.includes(t)}_addParent(t){const{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t}_removeParent(t){const{_parentage:e}=this;e===t?this._parentage=null:Array.isArray(e)&&ml(e,t)}remove(t){const{_finalizers:e}=this;e&&ml(e,t),t instanceof Ce&&t._removeParent(this)}}Ce.EMPTY=(()=>{const n=new Ce;return n.closed=!0,n})();const _l=Ce.EMPTY;function gu(n){return n instanceof Ce||n&&"closed"in n&&be(n.remove)&&be(n.add)&&be(n.unsubscribe)}function mu(n){be(n)?n():n.unsubscribe()}const _n={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},qn={setTimeout(n,t,...e){const{delegate:i}=qn;return i?.setTimeout?i.setTimeout(n,t,...e):setTimeout(n,t,...e)},clearTimeout(n){const{delegate:t}=qn;return(t?.clearTimeout||clearTimeout)(n)},delegate:void 0};function Rs(n){qn.setTimeout(()=>{const{onUnhandledError:t}=_n;if(!t)throw n;t(n)})}function To(){}const Ur=yn("C",void 0,void 0);function yn(n,t,e){return{kind:n,value:t,error:e}}let Ni=null;function Os(n){if(_n.useDeprecatedSynchronousErrorHandling){const t=!Ni;if(t&&(Ni={errorThrown:!1,error:null}),n(),t){const{errorThrown:e,error:i}=Ni;if(Ni=null,e)throw i}}else n()}class Io extends Ce{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,gu(t)&&t.add(this)):this.destination=Wr}static create(t,e,i){return new Vi(t,e,i)}next(t){this.isStopped?zr(function _u(n){return yn("N",n,void 0)}(t),this):this._next(t)}error(t){this.isStopped?zr(function fi(n){return yn("E",void 0,n)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?zr(Ur,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const yl=Function.prototype.bind;function Ps(n,t){return yl.call(n,t)}class Ls{constructor(t){this.partialObserver=t}next(t){const{partialObserver:e}=this;if(e.next)try{e.next(t)}catch(i){ko(i)}}error(t){const{partialObserver:e}=this;if(e.error)try{e.error(t)}catch(i){ko(i)}else ko(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(e){ko(e)}}}class Vi extends Io{constructor(t,e,i){let r;if(super(),be(t)||!t)r={next:t??void 0,error:e??void 0,complete:i??void 0};else{let o;this&&_n.useDeprecatedNextContext?(o=Object.create(t),o.unsubscribe=()=>this.unsubscribe(),r={next:t.next&&Ps(t.next,o),error:t.error&&Ps(t.error,o),complete:t.complete&&Ps(t.complete,o)}):r=t}this.destination=new Ls(r)}}function ko(n){_n.useDeprecatedSynchronousErrorHandling?function tn(n){_n.useDeprecatedSynchronousErrorHandling&&Ni&&(Ni.errorThrown=!0,Ni.error=n)}(n):Rs(n)}function zr(n,t){const{onStoppedNotification:e}=_n;e&&qn.setTimeout(()=>e(n,t))}const Wr={closed:!0,next:To,error:function dr(n){throw n},complete:To},qr="function"==typeof Symbol&&Symbol.observable||"@@observable";function pi(n){return n}function yu(n){return 0===n.length?pi:1===n.length?n[0]:function(e){return n.reduce((i,r)=>r(i),e)}}let Re=(()=>{class n{constructor(e){e&&(this._subscribe=e)}lift(e){const i=new n;return i.source=this,i.operator=e,i}subscribe(e,i,r){const o=function vu(n){return n&&n instanceof Io||function Rf(n){return n&&be(n.next)&&be(n.error)&&be(n.complete)}(n)&&gu(n)}(e)?e:new Vi(e,i,r);return Os(()=>{const{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(e){try{return this._subscribe(e)}catch(i){e.error(i)}}forEach(e,i){return new(i=vl(i))((r,o)=>{const s=new Vi({next:a=>{try{e(a)}catch(l){o(l),s.unsubscribe()}},error:o,complete:r});this.subscribe(s)})}_subscribe(e){var i;return null===(i=this.source)||void 0===i?void 0:i.subscribe(e)}[qr](){return this}pipe(...e){return yu(e)(this)}toPromise(e){return new(e=vl(e))((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return n.create=t=>new n(t),n})();function vl(n){var t;return null!==(t=n??_n.Promise)&&void 0!==t?t:Promise}const Of=Ft(n=>function(){n(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let ce=(()=>{class n extends Re{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){const i=new Yr(this,this);return i.operator=e,i}_throwIfClosed(){if(this.closed)throw new Of}next(e){Os(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(e)}})}error(e){Os(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;const{observers:i}=this;for(;i.length;)i.shift().error(e)}})}complete(){Os(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:e}=this;for(;e.length;)e.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0}_trySubscribe(e){return this._throwIfClosed(),super._trySubscribe(e)}_subscribe(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)}_innerSubscribe(e){const{hasError:i,isStopped:r,observers:o}=this;return i||r?_l:(this.currentObservers=null,o.push(e),new Ce(()=>{this.currentObservers=null,ml(o,e)}))}_checkFinalizedStatuses(e){const{hasError:i,thrownError:r,isStopped:o}=this;i?e.error(r):o&&e.complete()}asObservable(){const e=new Re;return e.source=this,e}}return n.create=(t,e)=>new Yr(t,e),n})();class Yr extends ce{constructor(t,e){super(),this.destination=t,this.source=e}next(t){var e,i;null===(i=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===i||i.call(e,t)}error(t){var e,i;null===(i=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===i||i.call(e,t)}complete(){var t,e;null===(e=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===e||e.call(t)}_subscribe(t){var e,i;return null!==(i=null===(e=this.source)||void 0===e?void 0:e.subscribe(t))&&void 0!==i?i:_l}}function bu(n){return be(n?.lift)}function qe(n){return t=>{if(bu(t))return t.lift(function(e){try{return n(e,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function Ye(n,t,e,i,r){return new Pf(n,t,e,i,r)}class Pf extends Io{constructor(t,e,i,r,o,s){super(t),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=e?function(a){try{e(a)}catch(l){t.error(l)}}:super._next,this._error=r?function(a){try{r(a)}catch(l){t.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:e}=this;super.unsubscribe(),!e&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}function z(n,t){return qe((e,i)=>{let r=0;e.subscribe(Ye(i,o=>{i.next(n.call(t,o,r++))}))})}function hr(n){return this instanceof hr?(this.v=n,this):new hr(n)}function Nf(n,t,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=e.apply(n,t||[]),o=[];return r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r;function s(h){i[h]&&(r[h]=function(g){return new Promise(function(_,y){o.push([h,g,_,y])>1||a(h,g)})})}function a(h,g){try{!function l(h){h.value instanceof hr?Promise.resolve(h.value.v).then(c,u):d(o[0][2],h)}(i[h](g))}catch(_){d(o[0][3],_)}}function c(h){a("next",h)}function u(h){a("throw",h)}function d(h,g){h(g),o.shift(),o.length&&a(o[0][0],o[0][1])}}function Cu(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,t=n[Symbol.asyncIterator];return t?t.call(n):(n=function Cl(n){var t="function"==typeof Symbol&&Symbol.iterator,e=t&&n[t],i=0;if(e)return e.call(n);if(n&&"number"==typeof n.length)return{next:function(){return n&&i>=n.length&&(n=void 0),{value:n&&n[i++],done:!n}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(n),e={},i("next"),i("throw"),i("return"),e[Symbol.asyncIterator]=function(){return this},e);function i(o){e[o]=n[o]&&function(s){return new Promise(function(a,l){!function r(o,s,a,l){Promise.resolve(l).then(function(c){o({value:c,done:a})},s)}(a,l,(s=n[o](s)).done,s.value)})}}}const xl=n=>n&&"number"==typeof n.length&&"function"!=typeof n;function Du(n){return be(n?.then)}function Mu(n){return be(n[qr])}function Ro(n){return Symbol.asyncIterator&&be(n?.[Symbol.asyncIterator])}function Eu(n){return new TypeError(`You provided ${null!==n&&"object"==typeof n?"an invalid object":`'${n}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const Dl=function Hf(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Ml(n){return be(n?.[Dl])}function js(n){return Nf(this,arguments,function*(){const e=n.getReader();try{for(;;){const{value:i,done:r}=yield hr(e.read());if(r)return yield hr(void 0);yield yield hr(i)}}finally{e.releaseLock()}})}function Su(n){return be(n?.getReader)}function jt(n){if(n instanceof Re)return n;if(null!=n){if(Mu(n))return function $f(n){return new Re(t=>{const e=n[qr]();if(be(e.subscribe))return e.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(n);if(xl(n))return function Au(n){return new Re(t=>{for(let e=0;e{n.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,Rs)})}(n);if(Ro(n))return Tu(n);if(Ml(n))return function Gf(n){return new Re(t=>{for(const e of n)if(t.next(e),t.closed)return;t.complete()})}(n);if(Su(n))return function Gs(n){return Tu(js(n))}(n)}throw Eu(n)}function Tu(n){return new Re(t=>{(function Uf(n,t){var e,i,r,o;return function Fo(n,t,e,i){return new(e||(e=Promise))(function(o,s){function a(u){try{c(i.next(u))}catch(d){s(d)}}function l(u){try{c(i.throw(u))}catch(d){s(d)}}function c(u){u.done?o(u.value):function r(o){return o instanceof e?o:new e(function(s){s(o)})}(u.value).then(a,l)}c((i=i.apply(n,t||[])).next())})}(this,void 0,void 0,function*(){try{for(e=Cu(n);!(i=yield e.next()).done;)if(t.next(i.value),t.closed)return}catch(s){r={error:s}}finally{try{i&&!i.done&&(o=e.return)&&(yield o.call(e))}finally{if(r)throw r.error}}t.complete()})})(n,t).catch(e=>t.error(e))})}function _i(n,t,e,i=0,r=!1){const o=t.schedule(function(){e(),r?n.add(this.schedule(null,i)):this.unsubscribe()},i);if(n.add(o),!r)return o}function st(n,t,e=1/0){return be(t)?st((i,r)=>z((o,s)=>t(i,o,r,s))(jt(n(i,r))),e):("number"==typeof t&&(e=t),qe((i,r)=>function Iu(n,t,e,i,r,o,s,a){const l=[];let c=0,u=0,d=!1;const h=()=>{d&&!l.length&&!c&&t.complete()},g=y=>c{o&&t.next(y),c++;let x=!1;jt(e(y,u++)).subscribe(Ye(t,C=>{r?.(C),o?g(C):t.next(C)},()=>{x=!0},void 0,()=>{if(x)try{for(c--;l.length&&c_(C)):_(C)}h()}catch(C){t.error(C)}}))};return n.subscribe(Ye(t,g,()=>{d=!0,h()})),()=>{a?.()}}(i,r,n,e)))}function Qr(n=1/0){return st(pi,n)}const Tn=new Re(n=>n.complete());function El(n){return n&&be(n.schedule)}function Us(n){return n[n.length-1]}function Sl(n){return be(Us(n))?n.pop():void 0}function fr(n){return El(Us(n))?n.pop():void 0}function Kr(n,t=0){return qe((e,i)=>{e.subscribe(Ye(i,r=>_i(i,n,()=>i.next(r),t),()=>_i(i,n,()=>i.complete(),t),r=>_i(i,n,()=>i.error(r),t)))})}function Zr(n,t=0){return qe((e,i)=>{i.add(n.schedule(()=>e.subscribe(i),t))})}function Oo(n,t){if(!n)throw new Error("Iterable cannot be null");return new Re(e=>{_i(e,t,()=>{const i=n[Symbol.asyncIterator]();_i(e,t,()=>{i.next().then(r=>{r.done?e.complete():e.next(r.value)})},0,!0)})})}function He(n,t){return t?function Xr(n,t){if(null!=n){if(Mu(n))return function zs(n,t){return jt(n).pipe(Zr(t),Kr(t))}(n,t);if(xl(n))return function zf(n,t){return new Re(e=>{let i=0;return t.schedule(function(){i===n.length?e.complete():(e.next(n[i++]),e.closed||this.schedule())})})}(n,t);if(Du(n))return function Al(n,t){return jt(n).pipe(Zr(t),Kr(t))}(n,t);if(Ro(n))return Oo(n,t);if(Ml(n))return function Wf(n,t){return new Re(e=>{let i;return _i(e,t,()=>{i=n[Dl](),_i(e,t,()=>{let r,o;try{({value:r,done:o}=i.next())}catch(s){return void e.error(s)}o?e.complete():e.next(r)},0,!0)}),()=>be(i?.return)&&i.return()})}(n,t);if(Su(n))return function vn(n,t){return Oo(js(n),t)}(n,t)}throw Eu(n)}(n,t):jt(n)}function wt(...n){const t=fr(n),e=function pr(n,t){return"number"==typeof Us(n)?n.pop():t}(n,1/0),i=n;return i.length?1===i.length?jt(i[0]):Qr(e)(He(i,t)):Tn}function gr(n={}){const{connector:t=(()=>new ce),resetOnError:e=!0,resetOnComplete:i=!0,resetOnRefCountZero:r=!0}=n;return o=>{let s,a,l,c=0,u=!1,d=!1;const h=()=>{a?.unsubscribe(),a=void 0},g=()=>{h(),s=l=void 0,u=d=!1},_=()=>{const y=s;g(),y?.unsubscribe()};return qe((y,x)=>{c++,!d&&!u&&h();const C=l=l??t();x.add(()=>{c--,0===c&&!d&&!u&&(a=bn(_,r))}),C.subscribe(x),!s&&c>0&&(s=new Vi({next:F=>C.next(F),error:F=>{d=!0,h(),a=bn(g,e,F),C.error(F)},complete:()=>{u=!0,h(),a=bn(g,i),C.complete()}}),jt(y).subscribe(s))})(o)}}function bn(n,t,...e){if(!0===t)return void n();if(!1===t)return;const i=new Vi({next:()=>{i.unsubscribe(),n()}});return t(...e).subscribe(i)}function De(n){for(let t in n)if(n[t]===De)return t;throw Error("Could not find renamed property on target object.")}function Ws(n,t){for(const e in t)t.hasOwnProperty(e)&&!n.hasOwnProperty(e)&&(n[e]=t[e])}function Ve(n){if("string"==typeof n)return n;if(Array.isArray(n))return"["+n.map(Ve).join(", ")+"]";if(null==n)return""+n;if(n.overriddenName)return`${n.overriddenName}`;if(n.name)return`${n.name}`;const t=n.toString();if(null==t)return""+t;const e=t.indexOf("\n");return-1===e?t:t.substring(0,e)}function Jr(n,t){return null==n||""===n?null===t?"":t:null==t||""===t?n:n+" "+t}const In=De({__forward_ref__:De});function Te(n){return n.__forward_ref__=Te,n.toString=function(){return Ve(this())},n}function J(n){return Po(n)?n():n}function Po(n){return"function"==typeof n&&n.hasOwnProperty(In)&&n.__forward_ref__===Te}class I extends Error{constructor(t,e){super(function mr(n,t){return`NG0${Math.abs(n)}${t?": "+t.trim():""}`}(t,e)),this.code=t}}function ee(n){return"string"==typeof n?n:null==n?"":String(n)}function qs(n,t){throw new I(-201,!1)}function kn(n,t){null==n&&function Be(n,t,e,i){throw new Error(`ASSERTION ERROR: ${n}`+(null==i?"":` [Expected=> ${e} ${i} ${t} <=Actual]`))}(t,n,null,"!=")}function k(n){return{token:n.token,providedIn:n.providedIn||null,factory:n.factory,value:void 0}}function K(n){return{providers:n.providers||[],imports:n.imports||[]}}function Lu(n){return xv(n,Nu)||xv(n,Mv)}function xv(n,t){return n.hasOwnProperty(t)?n[t]:null}function Dv(n){return n&&(n.hasOwnProperty(qf)||n.hasOwnProperty(nk))?n[qf]:null}const Nu=De({\u0275prov:De}),qf=De({\u0275inj:De}),Mv=De({ngInjectableDef:De}),nk=De({ngInjectorDef:De});var re=(()=>((re=re||{})[re.Default=0]="Default",re[re.Host=1]="Host",re[re.Self=2]="Self",re[re.SkipSelf=4]="SkipSelf",re[re.Optional=8]="Optional",re))();let Yf;function Qn(n){const t=Yf;return Yf=n,t}function Ev(n,t,e){const i=Lu(n);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:e&re.Optional?null:void 0!==t?t:void qs(Ve(n))}function eo(n){return{toString:n}.toString()}var yi=(()=>((yi=yi||{})[yi.OnPush=0]="OnPush",yi[yi.Default=1]="Default",yi))(),vi=(()=>{return(n=vi||(vi={}))[n.Emulated=0]="Emulated",n[n.None=2]="None",n[n.ShadowDom=3]="ShadowDom",vi;var n})();const ze=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Ys={},Le=[],Vu=De({\u0275cmp:De}),Qf=De({\u0275dir:De}),Kf=De({\u0275pipe:De}),Sv=De({\u0275mod:De}),_r=De({\u0275fac:De}),Tl=De({__NG_ELEMENT_ID__:De});let rk=0;function pe(n){return eo(()=>{const e=!0===n.standalone,i={},r={type:n.type,providersResolver:null,decls:n.decls,vars:n.vars,factory:null,template:n.template||null,consts:n.consts||null,ngContentSelectors:n.ngContentSelectors,hostBindings:n.hostBindings||null,hostVars:n.hostVars||0,hostAttrs:n.hostAttrs||null,contentQueries:n.contentQueries||null,declaredInputs:i,inputs:null,outputs:null,exportAs:n.exportAs||null,onPush:n.changeDetection===yi.OnPush,directiveDefs:null,pipeDefs:null,standalone:e,dependencies:e&&n.dependencies||null,getStandaloneInjector:null,selectors:n.selectors||Le,viewQuery:n.viewQuery||null,features:n.features||null,data:n.data||{},encapsulation:n.encapsulation||vi.Emulated,id:"c"+rk++,styles:n.styles||Le,_:null,setInput:null,schemas:n.schemas||null,tView:null},o=n.dependencies,s=n.features;return r.inputs=Iv(n.inputs,i),r.outputs=Iv(n.outputs),s&&s.forEach(a=>a(r)),r.directiveDefs=o?()=>("function"==typeof o?o():o).map(Av).filter(Tv):null,r.pipeDefs=o?()=>("function"==typeof o?o():o).map(sn).filter(Tv):null,r})}function Av(n){return $e(n)||on(n)}function Tv(n){return null!==n}function Z(n){return eo(()=>({type:n.type,bootstrap:n.bootstrap||Le,declarations:n.declarations||Le,imports:n.imports||Le,exports:n.exports||Le,transitiveCompileScopes:null,schemas:n.schemas||null,id:n.id||null}))}function Iv(n,t){if(null==n)return Ys;const e={};for(const i in n)if(n.hasOwnProperty(i)){let r=n[i],o=r;Array.isArray(r)&&(o=r[1],r=r[0]),e[r]=i,t&&(t[r]=o)}return e}const T=pe;function rn(n){return{type:n.type,name:n.name,factory:null,pure:!1!==n.pure,standalone:!0===n.standalone,onDestroy:n.type.prototype.ngOnDestroy||null}}function $e(n){return n[Vu]||null}function on(n){return n[Qf]||null}function sn(n){return n[Kf]||null}function Fn(n,t){const e=n[Sv]||null;if(!e&&!0===t)throw new Error(`Type ${Ve(n)} does not have '\u0275mod' property.`);return e}function Cn(n){return Array.isArray(n)&&"object"==typeof n[1]}function Ci(n){return Array.isArray(n)&&!0===n[1]}function Jf(n){return 0!=(8&n.flags)}function ju(n){return 2==(2&n.flags)}function Gu(n){return 1==(1&n.flags)}function wi(n){return null!==n.template}function uk(n){return 0!=(256&n[2])}function Ho(n,t){return n.hasOwnProperty(_r)?n[_r]:null}class fk{constructor(t,e,i){this.previousValue=t,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}}function nt(){return Rv}function Rv(n){return n.type.prototype.ngOnChanges&&(n.setInput=gk),pk}function pk(){const n=Pv(this),t=n?.current;if(t){const e=n.previous;if(e===Ys)n.previous=t;else for(let i in t)e[i]=t[i];n.current=null,this.ngOnChanges(t)}}function gk(n,t,e,i){const r=Pv(n)||function mk(n,t){return n[Ov]=t}(n,{previous:Ys,current:null}),o=r.current||(r.current={}),s=r.previous,a=this.declaredInputs[e],l=s[a];o[a]=new fk(l&&l.currentValue,t,s===Ys),n[i]=t}nt.ngInherit=!0;const Ov="__ngSimpleChanges__";function Pv(n){return n[Ov]||null}function mt(n){for(;Array.isArray(n);)n=n[0];return n}function Uu(n,t){return mt(t[n])}function Xn(n,t){return mt(t[n.index])}function rp(n,t){return n.data[t]}function Js(n,t){return n[t]}function On(n,t){const e=t[n];return Cn(e)?e:e[0]}function zu(n){return 64==(64&n[2])}function to(n,t){return null==t?null:n[t]}function Lv(n){n[18]=0}function op(n,t){n[5]+=t;let e=n,i=n[3];for(;null!==i&&(1===t&&1===e[5]||-1===t&&0===e[5]);)i[5]+=t,e=i,i=i[3]}const le={lFrame:Wv(null),bindingsEnabled:!0};function Vv(){return le.bindingsEnabled}function R(){return le.lFrame.lView}function Ie(){return le.lFrame.tView}function Hi(n){return le.lFrame.contextLView=n,n[8]}function $i(n){return le.lFrame.contextLView=null,n}function Mt(){let n=Bv();for(;null!==n&&64===n.type;)n=n.parent;return n}function Bv(){return le.lFrame.currentTNode}function ji(n,t){const e=le.lFrame;e.currentTNode=n,e.isParent=t}function sp(){return le.lFrame.isParent}function ap(){le.lFrame.isParent=!1}function an(){const n=le.lFrame;let t=n.bindingRootIndex;return-1===t&&(t=n.bindingRootIndex=n.tView.bindingStartIndex),t}function yr(){return le.lFrame.bindingIndex}function ea(){return le.lFrame.bindingIndex++}function vr(n){const t=le.lFrame,e=t.bindingIndex;return t.bindingIndex=t.bindingIndex+n,e}function kk(n,t){const e=le.lFrame;e.bindingIndex=e.bindingRootIndex=n,lp(t)}function lp(n){le.lFrame.currentDirectiveIndex=n}function Gv(){return le.lFrame.currentQueryIndex}function up(n){le.lFrame.currentQueryIndex=n}function Rk(n){const t=n[1];return 2===t.type?t.declTNode:1===t.type?n[6]:null}function Uv(n,t,e){if(e&re.SkipSelf){let r=t,o=n;for(;!(r=r.parent,null!==r||e&re.Host||(r=Rk(o),null===r||(o=o[15],10&r.type))););if(null===r)return!1;t=r,n=o}const i=le.lFrame=zv();return i.currentTNode=t,i.lView=n,!0}function dp(n){const t=zv(),e=n[1];le.lFrame=t,t.currentTNode=e.firstChild,t.lView=n,t.tView=e,t.contextLView=n,t.bindingIndex=e.bindingStartIndex,t.inI18n=!1}function zv(){const n=le.lFrame,t=null===n?null:n.child;return null===t?Wv(n):t}function Wv(n){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:n,child:null,inI18n:!1};return null!==n&&(n.child=t),t}function qv(){const n=le.lFrame;return le.lFrame=n.parent,n.currentTNode=null,n.lView=null,n}const Yv=qv;function hp(){const n=qv();n.isParent=!0,n.tView=null,n.selectedIndex=-1,n.contextLView=null,n.elementDepthCount=0,n.currentDirectiveIndex=-1,n.currentNamespace=null,n.bindingRootIndex=-1,n.bindingIndex=-1,n.currentQueryIndex=0}function ln(){return le.lFrame.selectedIndex}function no(n){le.lFrame.selectedIndex=n}function lt(){const n=le.lFrame;return rp(n.tView,n.selectedIndex)}function Wu(n,t){for(let e=t.directiveStart,i=t.directiveEnd;e=i)break}else t[l]<0&&(n[18]+=65536),(a>11>16&&(3&n[2])===t){n[2]+=2048;try{o.call(a)}finally{}}}else try{o.call(a)}finally{}}class Pl{constructor(t,e,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=i}}function Qu(n,t,e){let i=0;for(;it){s=o-1;break}}}for(;o>16}(n),i=t;for(;e>0;)i=i[15],e--;return i}let gp=!0;function Zu(n){const t=gp;return gp=n,t}let Wk=0;const Gi={};function Nl(n,t){const e=_p(n,t);if(-1!==e)return e;const i=t[1];i.firstCreatePass&&(n.injectorIndex=t.length,mp(i.data,n),mp(t,null),mp(i.blueprint,null));const r=Xu(n,t),o=n.injectorIndex;if(tb(r)){const s=ta(r),a=na(r,t),l=a[1].data;for(let c=0;c<8;c++)t[o+c]=a[s+c]|l[s+c]}return t[o+8]=r,o}function mp(n,t){n.push(0,0,0,0,0,0,0,0,t)}function _p(n,t){return-1===n.injectorIndex||n.parent&&n.parent.injectorIndex===n.injectorIndex||null===t[n.injectorIndex+8]?-1:n.injectorIndex}function Xu(n,t){if(n.parent&&-1!==n.parent.injectorIndex)return n.parent.injectorIndex;let e=0,i=null,r=t;for(;null!==r;){if(i=ub(r),null===i)return-1;if(e++,r=r[15],-1!==i.injectorIndex)return i.injectorIndex|e<<16}return-1}function Ju(n,t,e){!function qk(n,t,e){let i;"string"==typeof e?i=e.charCodeAt(0)||0:e.hasOwnProperty(Tl)&&(i=e[Tl]),null==i&&(i=e[Tl]=Wk++);const r=255&i;t.data[n+(r>>5)]|=1<=0?255&t:Zk:t}(e);if("function"==typeof o){if(!Uv(t,n,i))return i&re.Host?rb(r,0,i):ob(t,e,i,r);try{const s=o(i);if(null!=s||i&re.Optional)return s;qs()}finally{Yv()}}else if("number"==typeof o){let s=null,a=_p(n,t),l=-1,c=i&re.Host?t[16][6]:null;for((-1===a||i&re.SkipSelf)&&(l=-1===a?Xu(n,t):t[a+8],-1!==l&&cb(i,!1)?(s=t[1],a=ta(l),t=na(l,t)):a=-1);-1!==a;){const u=t[1];if(lb(o,a,u.data)){const d=Qk(a,t,e,s,i,c);if(d!==Gi)return d}l=t[a+8],-1!==l&&cb(i,t[1].data[a+8]===c)&&lb(o,a,t)?(s=u,a=ta(l),t=na(l,t)):a=-1}}return r}function Qk(n,t,e,i,r,o){const s=t[1],a=s.data[n+8],u=ed(a,s,e,null==i?ju(a)&&gp:i!=s&&0!=(3&a.type),r&re.Host&&o===a);return null!==u?Vl(t,s,u,a):Gi}function ed(n,t,e,i,r){const o=n.providerIndexes,s=t.data,a=1048575&o,l=n.directiveStart,u=o>>20,h=r?a+u:n.directiveEnd;for(let g=i?a:a+u;g=l&&_.type===e)return g}if(r){const g=s[l];if(g&&wi(g)&&g.type===e)return l}return null}function Vl(n,t,e,i){let r=n[e];const o=t.data;if(function $k(n){return n instanceof Pl}(r)){const s=r;s.resolving&&function Ru(n,t){const e=t?`. Dependency path: ${t.join(" > ")} > ${n}`:"";throw new I(-200,`Circular dependency in DI detected for ${n}${e}`)}(function ke(n){return"function"==typeof n?n.name||n.toString():"object"==typeof n&&null!=n&&"function"==typeof n.type?n.type.name||n.type.toString():ee(n)}(o[e]));const a=Zu(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?Qn(s.injectImpl):null;Uv(n,i,re.Default);try{r=n[e]=s.factory(void 0,o,n,i),t.firstCreatePass&&e>=i.directiveStart&&function Bk(n,t,e){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=t.type.prototype;if(i){const s=Rv(t);(e.preOrderHooks||(e.preOrderHooks=[])).push(n,s),(e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n,s)}r&&(e.preOrderHooks||(e.preOrderHooks=[])).push(0-n,r),o&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n,o),(e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n,o))}(e,o[e],t)}finally{null!==l&&Qn(l),Zu(a),s.resolving=!1,Yv()}}return r}function lb(n,t,e){return!!(e[t+(n>>5)]&1<{const t=n.prototype.constructor,e=t[_r]||yp(t),i=Object.prototype;let r=Object.getPrototypeOf(n.prototype).constructor;for(;r&&r!==i;){const o=r[_r]||yp(r);if(o&&o!==e)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function yp(n){return Po(n)?()=>{const t=yp(J(n));return t&&t()}:Ho(n)}function ub(n){const t=n[1],e=t.type;return 2===e?t.declTNode:1===e?n[6]:null}function Ui(n){return function Yk(n,t){if("class"===t)return n.classes;if("style"===t)return n.styles;const e=n.attrs;if(e){const i=e.length;let r=0;for(;r{const i=function vp(n){return function(...e){if(n){const i=n(...e);for(const r in i)this[r]=i[r]}}}(t);function r(...o){if(this instanceof r)return i.apply(this,o),this;const s=new r(...o);return a.annotation=s,a;function a(l,c,u){const d=l.hasOwnProperty(oa)?l[oa]:Object.defineProperty(l,oa,{value:[]})[oa];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),l}}return e&&(r.prototype=Object.create(e.prototype)),r.prototype.ngMetadataName=n,r.annotationCls=r,r})}class P{constructor(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=k({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const $o=Function;function Pn(n,t){void 0===t&&(t=n);for(let e=0;eArray.isArray(e)?br(e,t):t(e))}function hb(n,t,e){t>=n.length?n.push(e):n.splice(t,0,e)}function td(n,t){return t>=n.length-1?n.pop():n.splice(t,1)[0]}function $l(n,t){const e=[];for(let i=0;i=0?n[1|i]=e:(i=~i,function nF(n,t,e,i){let r=n.length;if(r==t)n.push(e,i);else if(1===r)n.push(i,n[0]),n[0]=e;else{for(r--,n.push(n[r-1],n[r]);r>t;)n[r]=n[r-2],r--;n[t]=e,n[t+1]=i}}(n,i,t,e)),i}function bp(n,t){const e=la(n,t);if(e>=0)return n[1|e]}function la(n,t){return function gb(n,t,e){let i=0,r=n.length>>e;for(;r!==i;){const o=i+(r-i>>1),s=n[o<t?r=o:i=o+1}return~(r<n,createScript:n=>n,createScriptURL:n=>n})}catch{}return sd}())||void 0===t?void 0:t.createHTML(n))||n}function Eb(n){var t;return(null===(t=function Sp(){if(void 0===ad&&(ad=null,ze.trustedTypes))try{ad=ze.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:n=>n,createScript:n=>n,createScriptURL:n=>n})}catch{}return ad}())||void 0===t?void 0:t.createHTML(n))||n}class jo{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class AF extends jo{getTypeName(){return"HTML"}}class TF extends jo{getTypeName(){return"Style"}}class IF extends jo{getTypeName(){return"Script"}}class kF extends jo{getTypeName(){return"URL"}}class FF extends jo{getTypeName(){return"ResourceURL"}}function Nn(n){return n instanceof jo?n.changingThisBreaksApplicationSecurity:n}function zi(n,t){const e=function RF(n){return n instanceof jo&&n.getTypeName()||null}(n);if(null!=e&&e!==t){if("ResourceURL"===e&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${e} (see https://g.co/ng/security#xss)`)}return e===t}class BF{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const e=(new window.DOMParser).parseFromString(ha(t),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(t):(e.removeChild(e.firstChild),e)}catch{return null}}}class HF{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const e=this.inertDocument.createElement("html");this.inertDocument.appendChild(e);const i=this.inertDocument.createElement("body");e.appendChild(i)}}getInertBodyElement(t){const e=this.inertDocument.createElement("template");if("content"in e)return e.innerHTML=ha(t),e;const i=this.inertDocument.createElement("body");return i.innerHTML=ha(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(i),i}stripCustomNsAttrs(t){const e=t.attributes;for(let r=e.length-1;0"),!0}endElement(t){const e=t.nodeName.toLowerCase();Ap.hasOwnProperty(e)&&!Ib.hasOwnProperty(e)&&(this.buf.push(""))}chars(t){this.buf.push(Ob(t))}checkClobberedElement(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return e}}const zF=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,WF=/([^\#-~ |!])/g;function Ob(n){return n.replace(/&/g,"&").replace(zF,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(WF,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let cd;function Pb(n,t){let e=null;try{cd=cd||function Tb(n){const t=new HF(n);return function $F(){try{return!!(new window.DOMParser).parseFromString(ha(""),"text/html")}catch{return!1}}()?new BF(t):t}(n);let i=t?String(t):"";e=cd.getInertBodyElement(i);let r=5,o=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=e.innerHTML,e=cd.getInertBodyElement(i)}while(i!==o);return ha((new UF).sanitizeChildren(Ip(e)||e))}finally{if(e){const i=Ip(e)||e;for(;i.firstChild;)i.removeChild(i.firstChild)}}}function Ip(n){return"content"in n&&function qF(n){return n.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===n.nodeName}(n)?n.content:null}var Oe=(()=>((Oe=Oe||{})[Oe.NONE=0]="NONE",Oe[Oe.HTML=1]="HTML",Oe[Oe.STYLE=2]="STYLE",Oe[Oe.SCRIPT=3]="SCRIPT",Oe[Oe.URL=4]="URL",Oe[Oe.RESOURCE_URL=5]="RESOURCE_URL",Oe))();function Lb(n){const t=Yl();return t?Eb(t.sanitize(Oe.HTML,n)||""):zi(n,"HTML")?Eb(Nn(n)):Pb(function Mb(){return void 0!==Mp?Mp:typeof document<"u"?document:void 0}(),ee(n))}function cn(n){const t=Yl();return t?t.sanitize(Oe.URL,n)||"":zi(n,"URL")?Nn(n):ld(ee(n))}function Yl(){const n=R();return n&&n[12]}const kp=new P("ENVIRONMENT_INITIALIZER"),Vb=new P("INJECTOR",-1),Bb=new P("INJECTOR_DEF_TYPES");class Hb{get(t,e=jl){if(e===jl){const i=new Error(`NullInjectorError: No provider for ${Ve(t)}!`);throw i.name="NullInjectorError",i}return e}}function eR(...n){return{\u0275providers:$b(0,n)}}function $b(n,...t){const e=[],i=new Set;let r;return br(t,o=>{const s=o;Fp(s,e,[],i)&&(r||(r=[]),r.push(s))}),void 0!==r&&jb(r,e),e}function jb(n,t){for(let e=0;e{t.push(o)})}}function Fp(n,t,e,i){if(!(n=J(n)))return!1;let r=null,o=Dv(n);const s=!o&&$e(n);if(o||s){if(s&&!s.standalone)return!1;r=n}else{const l=n.ngModule;if(o=Dv(l),!o)return!1;r=l}const a=i.has(r);if(s){if(a)return!1;if(i.add(r),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const c of l)Fp(c,t,e,i)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let c;i.add(r);try{br(o.imports,u=>{Fp(u,t,e,i)&&(c||(c=[]),c.push(u))})}finally{}void 0!==c&&jb(c,t)}if(!a){const c=Ho(r)||(()=>new r);t.push({provide:r,useFactory:c,deps:Le},{provide:Bb,useValue:r,multi:!0},{provide:kp,useValue:()=>b(r),multi:!0})}const l=o.providers;null==l||a||br(l,u=>{t.push(u)})}}return r!==n&&void 0!==n.providers}const tR=De({provide:String,useValue:De});function Rp(n){return null!==n&&"object"==typeof n&&tR in n}function Go(n){return"function"==typeof n}const Op=new P("Set Injector scope."),ud={},iR={};let Pp;function dd(){return void 0===Pp&&(Pp=new Hb),Pp}class oo{}class zb extends oo{constructor(t,e,i,r){super(),this.parent=e,this.source=i,this.scopes=r,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Np(t,s=>this.processProvider(s)),this.records.set(Vb,fa(void 0,this)),r.has("environment")&&this.records.set(oo,fa(void 0,this));const o=this.records.get(Op);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Bb.multi,Le,re.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}runInContext(t){this.assertNotDestroyed();const e=ca(this),i=Qn(void 0);try{return t()}finally{ca(e),Qn(i)}}get(t,e=jl,i=re.Default){this.assertNotDestroyed();const r=ca(this),o=Qn(void 0);try{if(!(i&re.SkipSelf)){let a=this.records.get(t);if(void 0===a){const l=function lR(n){return"function"==typeof n||"object"==typeof n&&n instanceof P}(t)&&Lu(t);a=l&&this.injectableDefInScope(l)?fa(Lp(t),ud):null,this.records.set(t,a)}if(null!=a)return this.hydrate(t,a)}return(i&re.Self?dd():this.parent).get(t,e=i&re.Optional&&e===jl?null:e)}catch(s){if("NullInjectorError"===s.name){if((s[id]=s[id]||[]).unshift(Ve(t)),r)throw s;return function pF(n,t,e,i){const r=n[id];throw t[mb]&&r.unshift(t[mb]),n.message=function gF(n,t,e,i=null){n=n&&"\n"===n.charAt(0)&&"\u0275"==n.charAt(1)?n.slice(2):n;let r=Ve(t);if(Array.isArray(t))r=t.map(Ve).join(" -> ");else if("object"==typeof t){let o=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];o.push(s+":"+("string"==typeof a?JSON.stringify(a):Ve(a)))}r=`{${o.join(", ")}}`}return`${e}${i?"("+i+")":""}[${r}]: ${n.replace(uF,"\n ")}`}("\n"+n.message,r,e,i),n.ngTokenPath=r,n[id]=null,n}(s,t,"R3InjectorError",this.source)}throw s}finally{Qn(o),ca(r)}}resolveInjectorInitializers(){const t=ca(this),e=Qn(void 0);try{const i=this.get(kp.multi,Le,re.Self);for(const r of i)r()}finally{ca(t),Qn(e)}}toString(){const t=[],e=this.records;for(const i of e.keys())t.push(Ve(i));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new I(205,!1)}processProvider(t){let e=Go(t=J(t))?t:J(t&&t.provide);const i=function oR(n){return Rp(n)?fa(void 0,n.useValue):fa(Wb(n),ud)}(t);if(Go(t)||!0!==t.multi)this.records.get(e);else{let r=this.records.get(e);r||(r=fa(void 0,ud,!0),r.factory=()=>xp(r.multi),this.records.set(e,r)),e=t,r.multi.push(t)}this.records.set(e,i)}hydrate(t,e){return e.value===ud&&(e.value=iR,e.value=e.factory()),"object"==typeof e.value&&e.value&&function aR(n){return null!==n&&"object"==typeof n&&"function"==typeof n.ngOnDestroy}(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}injectableDefInScope(t){if(!t.providedIn)return!1;const e=J(t.providedIn);return"string"==typeof e?"any"===e||this.scopes.has(e):this.injectorDefTypes.has(e)}}function Lp(n){const t=Lu(n),e=null!==t?t.factory:Ho(n);if(null!==e)return e;if(n instanceof P)throw new I(204,!1);if(n instanceof Function)return function rR(n){const t=n.length;if(t>0)throw $l(t,"?"),new I(204,!1);const e=function ek(n){const t=n&&(n[Nu]||n[Mv]);if(t){const e=function tk(n){if(n.hasOwnProperty("name"))return n.name;const t=(""+n).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(n);return console.warn(`DEPRECATED: DI is instantiating a token "${e}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${e}" class.`),t}return null}(n);return null!==e?()=>e.factory(n):()=>new n}(n);throw new I(204,!1)}function Wb(n,t,e){let i;if(Go(n)){const r=J(n);return Ho(r)||Lp(r)}if(Rp(n))i=()=>J(n.useValue);else if(function Ub(n){return!(!n||!n.useFactory)}(n))i=()=>n.useFactory(...xp(n.deps||[]));else if(function Gb(n){return!(!n||!n.useExisting)}(n))i=()=>b(J(n.useExisting));else{const r=J(n&&(n.useClass||n.provide));if(!function sR(n){return!!n.deps}(n))return Ho(r)||Lp(r);i=()=>new r(...xp(n.deps))}return i}function fa(n,t,e=!1){return{factory:n,value:t,multi:e?[]:void 0}}function cR(n){return!!n.\u0275providers}function Np(n,t){for(const e of n)Array.isArray(e)?Np(e,t):cR(e)?Np(e.\u0275providers,t):t(e)}class Ql{}class qb{}class dR{resolveComponentFactory(t){throw function uR(n){const t=Error(`No component factory found for ${Ve(n)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=n,t}(t)}}let Uo=(()=>{class n{}return n.NULL=new dR,n})();function hR(){return pa(Mt(),R())}function pa(n,t){return new $(Xn(n,t))}let $=(()=>{class n{constructor(e){this.nativeElement=e}}return n.__NG_ELEMENT_ID__=hR,n})();function fR(n){return n instanceof $?n.nativeElement:n}class zo{}let Wt=(()=>{class n{}return n.__NG_ELEMENT_ID__=()=>function pR(){const n=R(),e=On(Mt().index,n);return(Cn(e)?e:n)[11]}(),n})(),gR=(()=>{class n{}return n.\u0275prov=k({token:n,providedIn:"root",factory:()=>null}),n})();class so{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const mR=new so("14.2.2"),Vp={};function Gp(n){return n.ngOriginalError}class wr{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t);this._console.error("ERROR",t),e&&this._console.error("ORIGINAL ERROR",e)}_findOriginalError(t){let e=t&&Gp(t);for(;e&&Gp(e);)e=Gp(e);return e||null}}const Up=new Map;let AR=0;const Wp="__ngContext__";function qt(n,t){Cn(t)?(n[Wp]=t[20],function IR(n){Up.set(n[20],n)}(t)):n[Wp]=t}function Jn(n){return n.ownerDocument.defaultView}function xr(n){return n instanceof Function?n():n}var wn=(()=>((wn=wn||{})[wn.Important=1]="Important",wn[wn.DashCase=2]="DashCase",wn))();function Yp(n,t){return undefined(n,t)}function Zl(n){const t=n[3];return Ci(t)?t[3]:t}function Qp(n){return lC(n[13])}function Kp(n){return lC(n[4])}function lC(n){for(;null!==n&&!Ci(n);)n=n[4];return n}function ma(n,t,e,i,r){if(null!=i){let o,s=!1;Ci(i)?o=i:Cn(i)&&(s=!0,i=i[0]);const a=mt(i);0===n&&null!==e?null==r?pC(t,e,a):Wo(t,e,a,r||null,!0):1===n&&null!==e?Wo(t,e,a,r||null,!0):2===n?function CC(n,t,e){const i=hd(n,t);i&&function nO(n,t,e,i){n.removeChild(t,e,i)}(n,i,t,e)}(t,a,s):3===n&&t.destroyNode(a),null!=o&&function oO(n,t,e,i,r){const o=e[7];o!==mt(e)&&ma(t,n,i,o,r);for(let a=10;a0&&(n[e-1][4]=i[4]);const o=td(n,10+t);!function YR(n,t){Xl(n,t,t[11],2,null,null),t[0]=null,t[6]=null}(i[1],i);const s=o[19];null!==s&&s.detachView(o[1]),i[3]=null,i[4]=null,i[2]&=-65}return i}function dC(n,t){if(!(128&t[2])){const e=t[11];e.destroyNode&&Xl(n,t,e,3,null,null),function ZR(n){let t=n[13];if(!t)return eg(n[1],n);for(;t;){let e=null;if(Cn(t))e=t[13];else{const i=t[10];i&&(e=i)}if(!e){for(;t&&!t[4]&&t!==n;)Cn(t)&&eg(t[1],t),t=t[3];null===t&&(t=n),Cn(t)&&eg(t[1],t),e=t&&t[4]}t=e}}(t)}}function eg(n,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function tO(n,t){let e;if(null!=n&&null!=(e=n.destroyHooks))for(let i=0;i=0?i[r=c]():i[r=-c].unsubscribe(),o+=2}else{const s=i[r=e[o+1]];e[o].call(s)}if(null!==i){for(let o=r+1;oo?"":r[d+1].toLowerCase();const g=8&i?h:null;if(g&&-1!==DC(g,c,0)||2&i&&c!==h){if(xi(i))return!1;s=!0}}}}else{if(!s&&!xi(i)&&!xi(l))return!1;if(s&&xi(l))continue;s=!1,i=l|1&i}}return xi(i)||s}function xi(n){return 0==(1&n)}function uO(n,t,e,i){if(null===t)return-1;let r=0;if(i||!e){let o=!1;for(;r-1)for(e++;e0?'="'+a+'"':"")+"]"}else 8&i?r+="."+s:4&i&&(r+=" "+s);else""!==r&&!xi(s)&&(t+=AC(o,r),r=""),i=s,o=o||!xi(i);e++}return""!==r&&(t+=AC(o,r)),t}const ue={};function S(n){TC(Ie(),R(),ln()+n,!1)}function TC(n,t,e,i){if(!i)if(3==(3&t[2])){const o=n.preOrderCheckHooks;null!==o&&qu(t,o,e)}else{const o=n.preOrderHooks;null!==o&&Yu(t,o,0,e)}no(e)}function RC(n,t=null,e=null,i){const r=OC(n,t,e,i);return r.resolveInjectorInitializers(),r}function OC(n,t=null,e=null,i,r=new Set){const o=[e||Le,eR(n)];return i=i||("object"==typeof n?void 0:Ve(n)),new zb(o,t||dd(),i||null,r)}let Nt=(()=>{class n{static create(e,i){if(Array.isArray(e))return RC({name:""},i,e,"");{var r;const o=null!==(r=e.name)&&void 0!==r?r:"";return RC({name:o},e.parent,e.providers,o)}}}return n.THROW_IF_NOT_FOUND=jl,n.NULL=new Hb,n.\u0275prov=k({token:n,providedIn:"any",factory:()=>b(Vb)}),n.__NG_ELEMENT_ID__=-1,n})();function f(n,t=re.Default){const e=R();return null===e?b(n,t):sb(Mt(),e,J(n),t)}function qo(){throw new Error("invalid")}function md(n,t){return n<<17|t<<2}function Di(n){return n>>17&32767}function cg(n){return 2|n}function Dr(n){return(131068&n)>>2}function ug(n,t){return-131069&n|t<<2}function dg(n){return 1|n}function ZC(n,t){const e=n.contentQueries;if(null!==e)for(let i=0;i22&&TC(n,t,22,!1),e(i,r)}finally{no(o)}}function JC(n,t,e){if(Jf(t)){const r=t.directiveEnd;for(let o=t.directiveStart;o0;){const e=n[--t];if("number"==typeof e&&e<0)return e}return 0})(a)!=l&&a.push(l),a.push(i,r,s)}}function sw(n,t){null!==n.hostBindings&&n.hostBindings(1,t)}function aw(n,t){t.flags|=2,(n.components||(n.components=[])).push(t.index)}function a1(n,t,e){if(e){if(t.exportAs)for(let i=0;i0&&Eg(e)}}function Eg(n){for(let i=Qp(n);null!==i;i=Kp(i))for(let r=10;r0&&Eg(o)}const e=n[1].components;if(null!==e)for(let i=0;i0&&Eg(r)}}function p1(n,t){const e=On(t,n),i=e[1];(function g1(n,t){for(let e=t.length;e-1&&(Jp(t,i),td(e,i))}this._attachedToViewContainer=!1}dC(this._lView[1],this._lView)}onDestroy(t){tw(this._lView[1],this._lView,null,t)}markForCheck(){Sg(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){wd(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new I(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function KR(n,t){Xl(n,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new I(902,!1);this._appRef=t}}class m1 extends Jl{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;wd(t[1],t,t[8],!1)}checkNoChanges(){}get context(){return null}}class Ig extends Uo{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const e=$e(t);return new ec(e,this.ngModule)}}function gw(n){const t=[];for(let e in n)n.hasOwnProperty(e)&&t.push({propName:n[e],templateName:e});return t}class y1{constructor(t,e){this.injector=t,this.parentInjector=e}get(t,e,i){const r=this.injector.get(t,Vp,i);return r!==Vp||e===Vp?r:this.parentInjector.get(t,e,i)}}class ec extends qb{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=function mO(n){return n.map(gO).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return gw(this.componentDef.inputs)}get outputs(){return gw(this.componentDef.outputs)}create(t,e,i,r){var o;let s=(r=r||this.ngModule)instanceof oo?r:null===(o=r)||void 0===o?void 0:o.injector;s&&null!==this.componentDef.getStandaloneInjector&&(s=this.componentDef.getStandaloneInjector(s)||s);const a=s?new y1(t,s):t,l=a.get(zo,null);if(null===l)throw new I(407,!1);const c=a.get(gR,null),u=l.createRenderer(null,this.componentDef),d=this.componentDef.selectors[0][0]||"div",h=i?function KO(n,t,e){return n.selectRootElement(t,e===vi.ShadowDom)}(u,i,this.componentDef.encapsulation):Xp(l.createRenderer(null,this.componentDef),d,function _1(n){const t=n.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(d)),g=this.componentDef.onPush?288:272,_=xg(0,null,null,1,0,null,null,null,null,null),y=vd(null,_,null,g,null,null,l,u,c,a,null);let x,C;dp(y);try{const F=function C1(n,t,e,i,r,o){const s=e[1];e[22]=n;const l=ya(s,22,2,"#host",null),c=l.mergedAttrs=t.hostAttrs;null!==c&&(xd(l,c,!0),null!==n&&(Qu(r,n,c),null!==l.classes&&rg(r,n,l.classes),null!==l.styles&&xC(r,n,l.styles)));const u=i.createRenderer(n,t),d=vd(e,ew(t),null,t.onPush?32:16,e[22],l,i,u,o||null,null,null);return s.firstCreatePass&&(Ju(Nl(l,e),s,t.type),aw(s,l),lw(l,e.length,1)),Cd(e,d),e[22]=d}(h,this.componentDef,y,l,u);if(h)if(i)Qu(u,h,["ng-version",mR.full]);else{const{attrs:E,classes:N}=function _O(n){const t=[],e=[];let i=1,r=2;for(;i0&&rg(u,h,N.join(" "))}if(C=rp(_,22),void 0!==e){const E=C.projection=[];for(let N=0;N=0;i--){const r=n[i];r.hostVars=t+=r.hostVars,r.hostAttrs=Ku(r.hostAttrs,e=Ku(e,r.hostAttrs))}}(i)}function kg(n){return n===Ys?{}:n===Le?[]:n}function M1(n,t){const e=n.viewQuery;n.viewQuery=e?(i,r)=>{t(i,r),e(i,r)}:t}function E1(n,t){const e=n.contentQueries;n.contentQueries=e?(i,r,o)=>{t(i,r,o),e(i,r,o)}:t}function S1(n,t){const e=n.hostBindings;n.hostBindings=e?(i,r)=>{t(i,r),e(i,r)}:t}let Md=null;function Yo(){if(!Md){const n=ze.Symbol;if(n&&n.iterator)Md=n.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let e=0;ea(mt(oe[i.index])):i.index;let N=null;if(!a&&l&&(N=function B1(n,t,e,i){const r=n.cleanup;if(null!=r)for(let o=0;ol?a[l]:null}"string"==typeof s&&(o+=2)}return null}(n,t,r,i.index)),null!==N)(N.__ngLastListenerFn__||N).__ngNextListenerFn__=o,N.__ngLastListenerFn__=o,g=!1;else{o=Iw(i,t,d,o,!1);const oe=e.listen(C,r,o);h.push(o,oe),u&&u.push(r,E,F,F+1)}}else o=Iw(i,t,d,o,!1);const _=i.outputs;let y;if(g&&null!==_&&(y=_[r])){const x=y.length;if(x)for(let C=0;C0;)t=t[15],n--;return t}(n,le.lFrame.contextLView))[8]}(n)}function H1(n,t){let e=null;const i=function dO(n){const t=n.attrs;if(null!=t){const e=t.indexOf(5);if(0==(1&e))return t[e+1]}return null}(n);for(let r=0;r=0}const St={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Hw(n){return n.substring(St.key,St.keyEnd)}function $w(n,t){const e=St.textEnd;return e===t?-1:(t=St.keyEnd=function q1(n,t,e){for(;t32;)t++;return t}(n,St.key=t,e),Ta(n,t,e))}function Ta(n,t,e){for(;t=0;e=$w(t,e))Ln(n,Hw(t),!0)}function Ei(n,t,e,i){const r=R(),o=Ie(),s=vr(2);o.firstUpdatePass&&Yw(o,n,s,i),t!==ue&&Yt(r,s,t)&&Kw(o,o.data[ln()],r,r[11],n,r[s+1]=function iP(n,t){return null==n||("string"==typeof t?n+=t:"object"==typeof n&&(n=Ve(Nn(n)))),n}(t,e),i,s)}function Si(n,t,e,i){const r=Ie(),o=vr(2);r.firstUpdatePass&&Yw(r,null,o,i);const s=R();if(e!==ue&&Yt(s,o,e)){const a=r.data[ln()];if(Xw(a,i)&&!qw(r,o)){let l=i?a.classesWithoutHost:a.stylesWithoutHost;null!==l&&(e=Jr(l,e||"")),Rg(r,a,s,e,i)}else!function nP(n,t,e,i,r,o,s,a){r===ue&&(r=Le);let l=0,c=0,u=0=n.expandoStartIndex}function Yw(n,t,e,i){const r=n.data;if(null===r[e+1]){const o=r[ln()],s=qw(n,e);Xw(o,i)&&null===t&&!s&&(t=!1),t=function Z1(n,t,e,i){const r=function cp(n){const t=le.lFrame.currentDirectiveIndex;return-1===t?null:n[t]}(n);let o=i?t.residualClasses:t.residualStyles;if(null===r)0===(i?t.classBindings:t.styleBindings)&&(e=rc(e=Pg(null,n,t,e,i),t.attrs,i),o=null);else{const s=t.directiveStylingLast;if(-1===s||n[s]!==r)if(e=Pg(r,n,t,e,i),null===o){let l=function X1(n,t,e){const i=e?t.classBindings:t.styleBindings;if(0!==Dr(i))return n[Di(i)]}(n,t,i);void 0!==l&&Array.isArray(l)&&(l=Pg(null,n,t,l[1],i),l=rc(l,t.attrs,i),function J1(n,t,e,i){n[Di(e?t.classBindings:t.styleBindings)]=i}(n,t,i,l))}else o=function eP(n,t,e){let i;const r=t.directiveEnd;for(let o=1+t.directiveStylingLast;o0)&&(c=!0)}else u=e;if(r)if(0!==l){const h=Di(n[a+1]);n[i+1]=md(h,a),0!==h&&(n[h+1]=ug(n[h+1],i)),n[a+1]=function LO(n,t){return 131071&n|t<<17}(n[a+1],i)}else n[i+1]=md(a,0),0!==a&&(n[a+1]=ug(n[a+1],i)),a=i;else n[i+1]=md(l,0),0===a?a=i:n[l+1]=ug(n[l+1],i),l=i;c&&(n[i+1]=cg(n[i+1])),Bw(n,u,i,!0),Bw(n,u,i,!1),function j1(n,t,e,i,r){const o=r?n.residualClasses:n.residualStyles;null!=o&&"string"==typeof t&&la(o,t)>=0&&(e[i+1]=dg(e[i+1]))}(t,u,n,i,o),s=md(a,l),o?t.classBindings=s:t.styleBindings=s}(r,o,t,e,s,i)}}function Pg(n,t,e,i,r){let o=null;const s=e.directiveEnd;let a=e.directiveStylingLast;for(-1===a?a=e.directiveStart:a++;a0;){const l=n[r],c=Array.isArray(l),u=c?l[1]:l,d=null===u;let h=e[r+1];h===ue&&(h=d?Le:void 0);let g=d?bp(h,i):u===i?h:void 0;if(c&&!Ad(g)&&(g=bp(l,i)),Ad(g)&&(a=g,s))return a;const _=n[r+1];r=s?Di(_):Dr(_)}if(null!==t){let l=o?t.residualClasses:t.residualStyles;null!=l&&(a=bp(l,i))}return a}function Ad(n){return void 0!==n}function Xw(n,t){return 0!=(n.flags&(t?16:32))}function V(n,t=""){const e=R(),i=Ie(),r=n+22,o=i.firstCreatePass?ya(i,r,1,t,null):i.data[r],s=e[r]=function Zp(n,t){return n.createText(t)}(e[11],t);fd(i,e,s,o),ji(o,!1)}function Ne(n){return xn("",n,""),Ne}function xn(n,t,e){const i=R(),r=Ca(i,n,t,e);return r!==ue&&Mr(i,ln(),r),xn}function Td(n,t,e,i,r){const o=R(),s=function wa(n,t,e,i,r,o){const a=Qo(n,yr(),e,r);return vr(2),a?t+ee(e)+i+ee(r)+o:ue}(o,n,t,e,i,r);return s!==ue&&Mr(o,ln(),s),Td}function Ia(n,t,e){const i=R();return Yt(i,ea(),t)&&Vn(Ie(),lt(),i,n,t,i[11],e,!0),Ia}const Zo=void 0;var CP=["en",[["a","p"],["AM","PM"],Zo],[["AM","PM"],Zo,Zo],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Zo,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Zo,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Zo,"{1} 'at' {0}",Zo],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function bP(n){const e=Math.floor(Math.abs(n)),i=n.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===i?1:5}];let ka={};function dn(n){const t=function wP(n){return n.toLowerCase().replace(/_/g,"-")}(n);let e=b0(t);if(e)return e;const i=t.split("-")[0];if(e=b0(i),e)return e;if("en"===i)return CP;throw new I(701,!1)}function b0(n){return n in ka||(ka[n]=ze.ng&&ze.ng.common&&ze.ng.common.locales&&ze.ng.common.locales[n]),ka[n]}var H=(()=>((H=H||{})[H.LocaleId=0]="LocaleId",H[H.DayPeriodsFormat=1]="DayPeriodsFormat",H[H.DayPeriodsStandalone=2]="DayPeriodsStandalone",H[H.DaysFormat=3]="DaysFormat",H[H.DaysStandalone=4]="DaysStandalone",H[H.MonthsFormat=5]="MonthsFormat",H[H.MonthsStandalone=6]="MonthsStandalone",H[H.Eras=7]="Eras",H[H.FirstDayOfWeek=8]="FirstDayOfWeek",H[H.WeekendRange=9]="WeekendRange",H[H.DateFormat=10]="DateFormat",H[H.TimeFormat=11]="TimeFormat",H[H.DateTimeFormat=12]="DateTimeFormat",H[H.NumberSymbols=13]="NumberSymbols",H[H.NumberFormats=14]="NumberFormats",H[H.CurrencyCode=15]="CurrencyCode",H[H.CurrencySymbol=16]="CurrencySymbol",H[H.CurrencyName=17]="CurrencyName",H[H.Currencies=18]="Currencies",H[H.Directionality=19]="Directionality",H[H.PluralCase=20]="PluralCase",H[H.ExtraData=21]="ExtraData",H))();const Fa="en-US";let C0=Fa;function Vg(n,t,e,i,r){if(n=J(n),Array.isArray(n))for(let o=0;o>20;if(Go(n)||!n.multi){const g=new Pl(l,r,f),_=Hg(a,t,r?u:u+h,d);-1===_?(Ju(Nl(c,s),o,a),Bg(o,n,t.length),t.push(a),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),e.push(g),s.push(g)):(e[_]=g,s[_]=g)}else{const g=Hg(a,t,u+h,d),_=Hg(a,t,u,u+h),y=g>=0&&e[g],x=_>=0&&e[_];if(r&&!x||!r&&!y){Ju(Nl(c,s),o,a);const C=function vL(n,t,e,i,r){const o=new Pl(n,e,f);return o.multi=[],o.index=t,o.componentProviders=0,W0(o,r,i&&!e),o}(r?yL:_L,e.length,r,i,l);!r&&x&&(e[_].providerFactory=C),Bg(o,n,t.length,0),t.push(a),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),e.push(C),s.push(C)}else Bg(o,n,g>-1?g:_,W0(e[r?_:g],l,!r&&i));!r&&i&&x&&e[_].componentProviders++}}}function Bg(n,t,e,i){const r=Go(t),o=function nR(n){return!!n.useClass}(t);if(r||o){const l=(o?J(t.useClass):t).prototype.ngOnDestroy;if(l){const c=n.destroyHooks||(n.destroyHooks=[]);if(!r&&t.multi){const u=c.indexOf(e);-1===u?c.push(e,[i,l]):c[u+1].push(i,l)}else c.push(e,l)}}}function W0(n,t,e){return e&&n.componentProviders++,n.multi.push(t)-1}function Hg(n,t,e,i){for(let r=e;r{e.providersResolver=(i,r)=>function mL(n,t,e){const i=Ie();if(i.firstCreatePass){const r=wi(n);Vg(e,i.data,i.blueprint,r,!0),Vg(t,i.data,i.blueprint,r,!1)}}(i,r?r(n):n,t)}}class Xo{}class q0{}class Y0 extends Xo{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Ig(this);const i=Fn(t);this._bootstrapComponents=xr(i.bootstrap),this._r3Injector=OC(t,e,[{provide:Xo,useValue:this},{provide:Uo,useValue:this.componentFactoryResolver}],Ve(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class jg extends q0{constructor(t){super(),this.moduleType=t}create(t){return new Y0(this.moduleType,t)}}class CL extends Xo{constructor(t,e,i){super(),this.componentFactoryResolver=new Ig(this),this.instance=null;const r=new zb([...t,{provide:Xo,useValue:this},{provide:Uo,useValue:this.componentFactoryResolver}],e||dd(),i,new Set(["environment"]));this.injector=r,r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function Od(n,t,e=null){return new CL(n,t,e).injector}let wL=(()=>{class n{constructor(e){this._injector=e,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e.id)){const i=$b(0,e.type),r=i.length>0?Od([i],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e.id,r)}return this.cachedInjectors.get(e.id)}ngOnDestroy(){try{for(const e of this.cachedInjectors.values())null!==e&&e.destroy()}finally{this.cachedInjectors.clear()}}}return n.\u0275prov=k({token:n,providedIn:"environment",factory:()=>new n(b(oo))}),n})();function Q0(n){n.getStandaloneInjector=t=>t.get(wL).getOrCreateStandaloneInjector(n)}function Ai(n,t,e,i){return rx(R(),an(),n,t,e,i)}function ix(n,t,e,i,r,o,s,a){const l=an()+n,c=R(),u=function ei(n,t,e,i,r,o){const s=Qo(n,t,e,i);return Qo(n,t+2,r,o)||s}(c,l,e,i,r,o);return Yt(c,l+4,s)||u?qi(c,l+5,a?t.call(a,e,i,r,o,s):t(e,i,r,o,s)):function nc(n,t){return n[t]}(c,l+5)}function uc(n,t){const e=n[t];return e===ue?void 0:e}function rx(n,t,e,i,r,o){const s=t+e;return Yt(n,s,r)?qi(n,s+1,o?i.call(o,r):i(r)):uc(n,s+1)}function ox(n,t,e,i,r,o,s){const a=t+e;return Qo(n,a,r,o)?qi(n,a+2,s?i.call(s,r,o):i(r,o)):uc(n,a+2)}function Xi(n,t){const e=Ie();let i;const r=n+22;e.firstCreatePass?(i=function VL(n,t){if(t)for(let e=t.length-1;e>=0;e--){const i=t[e];if(n===i.name)return i}}(t,e.pipeRegistry),e.data[r]=i,i.onDestroy&&(e.destroyHooks||(e.destroyHooks=[])).push(r,i.onDestroy)):i=e.data[r];const o=i.factory||(i.factory=Ho(i.type)),s=Qn(f);try{const a=Zu(!1),l=o();return Zu(a),function L1(n,t,e,i){e>=n.data.length&&(n.data[e]=null,n.blueprint[e]=null),t[e]=i}(e,R(),r,l),l}finally{Qn(s)}}function Ra(n,t,e){const i=n+22,r=R(),o=Js(r,i);return hc(r,i)?rx(r,an(),t,o.transform,e,o):o.transform(e)}function dc(n,t,e,i){const r=n+22,o=R(),s=Js(o,r);return hc(o,r)?ox(o,an(),t,s.transform,e,i,s):s.transform(e,i)}function hc(n,t){return n[1].data[t].pure}function Ug(n){return t=>{setTimeout(n,void 0,t)}}const he=class jL extends ce{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,i){let r=t,o=e||(()=>null),s=i;if(t&&"object"==typeof t){var a,l,c;const d=t;r=null===(a=d.next)||void 0===a?void 0:a.bind(d),o=null===(l=d.error)||void 0===l?void 0:l.bind(d),s=null===(c=d.complete)||void 0===c?void 0:c.bind(d)}this.__isAsync&&(o=Ug(o),r&&(r=Ug(r)),s&&(s=Ug(s)));const u=super.subscribe({next:r,error:o,complete:s});return t instanceof Ce&&t.add(u),u}};function GL(){return this._results[Yo()]()}class fc{constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const e=Yo(),i=fc.prototype;i[e]||(i[e]=GL)}get changes(){return this._changes||(this._changes=new he)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,e){return this._results.reduce(t,e)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,e){const i=this;i.dirty=!1;const r=Pn(t);(this._changesDetected=!function eF(n,t,e){if(n.length!==t.length)return!1;for(let i=0;i{class n{}return n.__NG_ELEMENT_ID__=WL,n})();const UL=Ti,zL=class extends UL{constructor(t,e,i){super(),this._declarationLView=t,this._declarationTContainer=e,this.elementRef=i}createEmbeddedView(t,e){const i=this._declarationTContainer.tViews,r=vd(this._declarationLView,i,t,16,null,i.declTNode,null,null,null,null,e||null);r[17]=this._declarationLView[this._declarationTContainer.index];const s=this._declarationLView[19];return null!==s&&(r[19]=s.createEmbeddedView(i)),bg(i,r,t),new Jl(r)}};function WL(){return Pd(Mt(),R())}function Pd(n,t){return 4&n.type?new zL(t,n,pa(n,t)):null}let At=(()=>{class n{}return n.__NG_ELEMENT_ID__=qL,n})();function qL(){return dx(Mt(),R())}const YL=At,cx=class extends YL{constructor(t,e,i){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=i}get element(){return pa(this._hostTNode,this._hostLView)}get injector(){return new ia(this._hostTNode,this._hostLView)}get parentInjector(){const t=Xu(this._hostTNode,this._hostLView);if(tb(t)){const e=na(t,this._hostLView),i=ta(t);return new ia(e[1].data[i+8],e)}return new ia(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const e=ux(this._lContainer);return null!==e&&e[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,e,i){let r,o;"number"==typeof i?r=i:null!=i&&(r=i.index,o=i.injector);const s=t.createEmbeddedView(e||{},o);return this.insert(s,r),s}createComponent(t,e,i,r,o){const s=t&&!function Hl(n){return"function"==typeof n}(t);let a;if(s)a=e;else{const d=e||{};a=d.index,i=d.injector,r=d.projectableNodes,o=d.environmentInjector||d.ngModuleRef}const l=s?t:new ec($e(t)),c=i||this.parentInjector;if(!o&&null==l.ngModule){const h=(s?c:this.parentInjector).get(oo,null);h&&(o=h)}const u=l.create(c,r,void 0,o);return this.insert(u.hostView,a),u}insert(t,e){const i=t._lView,r=i[1];if(function xk(n){return Ci(n[3])}(i)){const u=this.indexOf(t);if(-1!==u)this.detach(u);else{const d=i[3],h=new cx(d,d[6],d[3]);h.detach(h.indexOf(t))}}const o=this._adjustIndex(e),s=this._lContainer;!function XR(n,t,e,i){const r=10+i,o=e.length;i>0&&(e[r-1][4]=t),i0)i.push(s[a/2]);else{const c=o[a+1],u=t[-l];for(let d=10;d{class n{constructor(e){this.appInits=e,this.resolve=Nd,this.reject=Nd,this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,r)=>{this.resolve=i,this.reject=r})}runInitializers(){if(this.initialized)return;const e=[],i=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let r=0;r{o.subscribe({complete:a,error:l})});e.push(s)}}Promise.all(e).then(()=>{i()}).catch(r=>{this.reject(r)}),0===e.length&&i(),this.initialized=!0}}return n.\u0275fac=function(e){return new(e||n)(b(Vd,8))},n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const Na=new P("AppId",{providedIn:"root",factory:function Px(){return`${tm()}${tm()}${tm()}`}});function tm(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Lx=new P("Platform Initializer"),$n=new P("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),nm=new P("appBootstrapListener"),ni=new P("AnimationModuleType");let wN=(()=>{class n{log(e){console.log(e)}warn(e){console.warn(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})();const Ji=new P("LocaleId",{providedIn:"root",factory:()=>Ue(Ji,re.Optional|re.SkipSelf)||function xN(){return typeof $localize<"u"&&$localize.locale||Fa}()});class MN{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}let im=(()=>{class n{compileModuleSync(e){return new jg(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){const i=this.compileModuleSync(e),o=xr(Fn(e).declarations).reduce((s,a)=>{const l=$e(a);return l&&s.push(new ec(l)),s},[]);return new MN(i,o)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const AN=(()=>Promise.resolve(0))();function rm(n){typeof Zone>"u"?AN.then(()=>{n&&n.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",n)}class de{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new he(!1),this.onMicrotaskEmpty=new he(!1),this.onStable=new he(!1),this.onError=new he(!1),typeof Zone>"u")throw new I(908,!1);Zone.assertZonePatched();const r=this;if(r._nesting=0,r._outer=r._inner=Zone.current,Zone.AsyncStackTaggingZoneSpec){const o=Zone.AsyncStackTaggingZoneSpec;r._inner=r._inner.fork(new o("Angular"))}Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!i&&e,r.shouldCoalesceRunChangeDetection=i,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function TN(){let n=ze.requestAnimationFrame,t=ze.cancelAnimationFrame;if(typeof Zone<"u"&&n&&t){const e=n[Zone.__symbol__("OriginalDelegate")];e&&(n=e);const i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function FN(n){const t=()=>{!function kN(n){n.isCheckStableRunning||-1!==n.lastRequestAnimationFrameId||(n.lastRequestAnimationFrameId=n.nativeRequestAnimationFrame.call(ze,()=>{n.fakeTopEventTask||(n.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{n.lastRequestAnimationFrameId=-1,sm(n),n.isCheckStableRunning=!0,om(n),n.isCheckStableRunning=!1},void 0,()=>{},()=>{})),n.fakeTopEventTask.invoke()}),sm(n))}(n)};n._inner=n._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(e,i,r,o,s,a)=>{try{return Bx(n),e.invokeTask(r,o,s,a)}finally{(n.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||n.shouldCoalesceRunChangeDetection)&&t(),Hx(n)}},onInvoke:(e,i,r,o,s,a,l)=>{try{return Bx(n),e.invoke(r,o,s,a,l)}finally{n.shouldCoalesceRunChangeDetection&&t(),Hx(n)}},onHasTask:(e,i,r,o)=>{e.hasTask(r,o),i===r&&("microTask"==o.change?(n._hasPendingMicrotasks=o.microTask,sm(n),om(n)):"macroTask"==o.change&&(n.hasPendingMacrotasks=o.macroTask))},onHandleError:(e,i,r,o)=>(e.handleError(r,o),n.runOutsideAngular(()=>n.onError.emit(o)),!1)})}(r)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!de.isInAngularZone())throw new I(909,!1)}static assertNotInAngularZone(){if(de.isInAngularZone())throw new I(909,!1)}run(t,e,i){return this._inner.run(t,e,i)}runTask(t,e,i,r){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+r,t,IN,Nd,Nd);try{return o.runTask(s,e,i)}finally{o.cancelTask(s)}}runGuarded(t,e,i){return this._inner.runGuarded(t,e,i)}runOutsideAngular(t){return this._outer.run(t)}}const IN={};function om(n){if(0==n._nesting&&!n.hasPendingMicrotasks&&!n.isStable)try{n._nesting++,n.onMicrotaskEmpty.emit(null)}finally{if(n._nesting--,!n.hasPendingMicrotasks)try{n.runOutsideAngular(()=>n.onStable.emit(null))}finally{n.isStable=!0}}}function sm(n){n.hasPendingMicrotasks=!!(n._hasPendingMicrotasks||(n.shouldCoalesceEventChangeDetection||n.shouldCoalesceRunChangeDetection)&&-1!==n.lastRequestAnimationFrameId)}function Bx(n){n._nesting++,n.isStable&&(n.isStable=!1,n.onUnstable.emit(null))}function Hx(n){n._nesting--,om(n)}class RN{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new he,this.onMicrotaskEmpty=new he,this.onStable=new he,this.onError=new he}run(t,e,i){return t.apply(e,i)}runGuarded(t,e,i){return t.apply(e,i)}runOutsideAngular(t){return t()}runTask(t,e,i,r){return t.apply(e,i)}}const $x=new P(""),Hd=new P("");let cm,am=(()=>{class n{constructor(e,i,r){this._ngZone=e,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,cm||(function ON(n){cm=n}(r),r.addToWindow(i)),this._watchAngularEvents(),e.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{de.assertNotInAngularZone(),rm(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())rm(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(this._didWork)}this._didWork=!1});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(e)||(clearTimeout(i.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,i,r){let o=-1;i&&i>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),e(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:e,timeoutId:o,updateCb:r})}whenStable(e,i,r){if(r&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(e,i,r),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(e){this.registry.registerApplication(e,this)}unregisterApplication(e){this.registry.unregisterApplication(e)}findProviders(e,i,r){return[]}}return n.\u0275fac=function(e){return new(e||n)(b(de),b(lm),b(Hd))},n.\u0275prov=k({token:n,factory:n.\u0275fac}),n})(),lm=(()=>{class n{constructor(){this._applications=new Map}registerApplication(e,i){this._applications.set(e,i)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,i=!0){var r,o;return null!==(r=null===(o=cm)||void 0===o?void 0:o.findTestabilityInTree(this,e,i))&&void 0!==r?r:null}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})(),co=null;const jx=new P("AllowMultipleToken"),um=new P("PlatformDestroyListeners");class Gx{constructor(t,e){this.name=t,this.token=e}}function zx(n,t,e=[]){const i=`Platform: ${t}`,r=new P(i);return(o=[])=>{let s=dm();if(!s||s.injector.get(jx,!1)){const a=[...e,...o,{provide:r,useValue:!0}];n?n(a):function NN(n){if(co&&!co.get(jx,!1))throw new I(400,!1);co=n;const t=n.get(qx);(function Ux(n){const t=n.get(Lx,null);t&&t.forEach(e=>e())})(n)}(function Wx(n=[],t){return Nt.create({name:t,providers:[{provide:Op,useValue:"platform"},{provide:um,useValue:new Set([()=>co=null])},...n]})}(a,i))}return function BN(n){const t=dm();if(!t)throw new I(401,!1);return t}()}}function dm(){var n,t;return null!==(n=null===(t=co)||void 0===t?void 0:t.get(qx))&&void 0!==n?n:null}let qx=(()=>{class n{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,i){const r=function Qx(n,t){let e;return e="noop"===n?new RN:("zone.js"===n?void 0:n)||new de(t),e}(i?.ngZone,function Yx(n){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!n||!n.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!n||!n.ngZoneRunCoalescing)||!1}}(i)),o=[{provide:de,useValue:r}];return r.run(()=>{const s=Nt.create({providers:o,parent:this.injector,name:e.moduleType.name}),a=e.create(s),l=a.injector.get(wr,null);if(!l)throw new I(402,!1);return r.runOutsideAngular(()=>{const c=r.onError.subscribe({next:u=>{l.handleError(u)}});a.onDestroy(()=>{$d(this._modules,a),c.unsubscribe()})}),function Kx(n,t,e){try{const i=e();return ic(i)?i.catch(r=>{throw t.runOutsideAngular(()=>n.handleError(r)),r}):i}catch(i){throw t.runOutsideAngular(()=>n.handleError(i)),i}}(l,r,()=>{const c=a.injector.get(Bd);return c.runInitializers(),c.donePromise.then(()=>(function w0(n){kn(n,"Expected localeId to be defined"),"string"==typeof n&&(C0=n.toLowerCase().replace(/_/g,"-"))}(a.injector.get(Ji,Fa)||Fa),this._moduleDoBootstrap(a),a))})})}bootstrapModule(e,i=[]){const r=Zx({},i);return function PN(n,t,e){const i=new jg(e);return Promise.resolve(i)}(0,0,e).then(o=>this.bootstrapModuleFactory(o,r))}_moduleDoBootstrap(e){const i=e.injector.get(Va);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>i.bootstrap(r));else{if(!e.instance.ngDoBootstrap)throw new I(403,!1);e.instance.ngDoBootstrap(i)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new I(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const e=this._injector.get(um,null);e&&(e.forEach(i=>i()),e.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return n.\u0275fac=function(e){return new(e||n)(b(Nt))},n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})();function Zx(n,t){return Array.isArray(t)?t.reduce(Zx,n):{...n,...t}}let Va=(()=>{class n{constructor(e,i,r){this._zone=e,this._injector=i,this._exceptionHandler=r,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const o=new Re(a=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{a.next(this._stable),a.complete()})}),s=new Re(a=>{let l;this._zone.runOutsideAngular(()=>{l=this._zone.onStable.subscribe(()=>{de.assertNotInAngularZone(),rm(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,a.next(!0))})})});const c=this._zone.onUnstable.subscribe(()=>{de.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{a.next(!1)}))});return()=>{l.unsubscribe(),c.unsubscribe()}});this.isStable=wt(o,s.pipe(gr()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(e,i){const r=e instanceof qb;if(!this._injector.get(Bd).done)throw!r&&function Qs(n){const t=$e(n)||on(n)||sn(n);return null!==t&&t.standalone}(e),new I(405,false);let s;s=r?e:this._injector.get(Uo).resolveComponentFactory(e),this.componentTypes.push(s.componentType);const a=function LN(n){return n.isBoundToModule}(s)?void 0:this._injector.get(Xo),c=s.create(Nt.NULL,[],i||s.selector,a),u=c.location.nativeElement,d=c.injector.get($x,null);return d?.registerApplication(u),c.onDestroy(()=>{this.detachView(c.hostView),$d(this.components,c),d?.unregisterApplication(u)}),this._loadComponent(c),c}tick(){if(this._runningTick)throw new I(101,!1);try{this._runningTick=!0;for(let e of this._views)e.detectChanges()}catch(e){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(e))}finally{this._runningTick=!1}}attachView(e){const i=e;this._views.push(i),i.attachToAppRef(this)}detachView(e){const i=e;$d(this._views,i),i.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(nm,[]).concat(this._bootstrapListeners).forEach(r=>r(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>$d(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new I(406,!1);const e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return n.\u0275fac=function(e){return new(e||n)(b(de),b(oo),b(wr))},n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function $d(n,t){const e=n.indexOf(t);e>-1&&n.splice(e,1)}let Jx=!0,eD=!1;function gc(){return eD=!0,Jx}let Dn=(()=>{class n{}return n.__NG_ELEMENT_ID__=jN,n})();function jN(n){return function GN(n,t,e){if(ju(n)&&!e){const i=On(n.index,t);return new Jl(i,i)}return 47&n.type?new Jl(t[16],t):null}(Mt(),R(),16==(16&n))}class rD{constructor(){}supports(t){return tc(t)}create(t){return new QN(t)}}const YN=(n,t)=>t;class QN{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||YN}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,i=this._removalsHead,r=0,o=null;for(;e||i;){const s=!i||e&&e.currentIndex{s=this._trackByFn(r,a),null!==e&&Object.is(e.trackById,s)?(i&&(e=this._verifyReinsertion(e,a,s,r)),Object.is(e.item,a)||this._addIdentityChange(e,a)):(e=this._mismatch(e,a,s,r),i=!0),e=e._next,r++}),this.length=r;return this._truncate(e),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,i,r){let o;return null===t?o=this._itTail:(o=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,o,r)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(i,r))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,o,r)):t=this._addAfter(new KN(e,i),o,r),t}_verifyReinsertion(t,e,i,r){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==o?t=this._reinsertAfter(o,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),t}_truncate(t){for(;null!==t;){const e=t._next;this._addToRemovals(this._unlink(t)),t=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,e,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const r=t._prevRemoved,o=t._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(t,e,i),this._addToMoves(t,i),t}_moveAfter(t,e,i){return this._unlink(t),this._insertAfter(t,e,i),this._addToMoves(t,i),t}_addAfter(t,e,i){return this._insertAfter(t,e,i),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,e,i){const r=null===e?this._itHead:e._next;return t._next=r,t._prev=e,null===r?this._itTail=t:r._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new oD),this._linkedRecords.put(t),t.currentIndex=i,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const e=t._prev,i=t._next;return null===e?this._itHead=i:e._next=i,null===i?this._itTail=e:i._prev=e,t}_addToMoves(t,e){return t.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new oD),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class KN{constructor(t,e){this.item=t,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class ZN{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,e){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===e||e<=i.currentIndex)&&Object.is(i.trackById,t))return i;return null}remove(t){const e=t._prevDup,i=t._nextDup;return null===e?this._head=i:e._nextDup=i,null===i?this._tail=e:i._prevDup=e,null===this._head}}class oD{constructor(){this.map=new Map}put(t){const e=t.trackById;let i=this.map.get(e);i||(i=new ZN,this.map.set(e,i)),i.add(t)}get(t,e){const r=this.map.get(t);return r?r.get(t,e):null}remove(t){const e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function sD(n,t,e){const i=n.previousIndex;if(null===i)return i;let r=0;return e&&i{if(e&&e.key===r)this._maybeAddToChanges(e,i),this._appendAfter=e,e=e._next;else{const o=this._getOrCreateRecordForKey(r,i);e=this._insertBeforeOrAppend(e,o)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let i=e;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,e){if(t){const i=t._prev;return e._next=t,e._prev=i,t._prev=e,i&&(i._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(t,e){if(this._records.has(t)){const r=this._records.get(t);this._maybeAddToChanges(r,e);const o=r._prev,s=r._next;return o&&(o._next=s),s&&(s._prev=o),r._next=null,r._prev=null,r}const i=new JN(t);return this._records.set(t,i),i.currentValue=e,this._addToAdditions(i),i}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,e){Object.is(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(i=>e(t[i],i))}}class JN{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function lD(){return new mc([new rD])}let mc=(()=>{class n{constructor(e){this.factories=e}static create(e,i){if(null!=i){const r=i.factories.slice();e=e.concat(r)}return new n(e)}static extend(e){return{provide:n,useFactory:i=>n.create(e,i||lD()),deps:[[n,new ua,new ro]]}}find(e){const i=this.factories.find(r=>r.supports(e));if(null!=i)return i;throw new I(901,!1)}}return n.\u0275prov=k({token:n,providedIn:"root",factory:lD}),n})();function cD(){return new es([new aD])}let es=(()=>{class n{constructor(e){this.factories=e}static create(e,i){if(i){const r=i.factories.slice();e=e.concat(r)}return new n(e)}static extend(e){return{provide:n,useFactory:i=>n.create(e,i||cD()),deps:[[n,new ua,new ro]]}}find(e){const i=this.factories.find(r=>r.supports(e));if(i)return i;throw new I(901,!1)}}return n.\u0275prov=k({token:n,providedIn:"root",factory:cD}),n})();const nV=zx(null,"core",[]);let iV=(()=>{class n{constructor(e){}}return n.\u0275fac=function(e){return new(e||n)(b(Va))},n.\u0275mod=Z({type:n}),n.\u0275inj=K({}),n})();function Ar(n){return"boolean"==typeof n?n:null!=n&&"false"!==n}let Ud=null;function er(){return Ud}const ae=new P("DocumentToken");let zd=(()=>{class n{historyGo(e){throw new Error("Not implemented")}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=k({token:n,factory:function(){return function aV(){return b(uD)}()},providedIn:"platform"}),n})();const lV=new P("Location Initialized");let uD=(()=>{class n extends zd{constructor(e){super(),this._doc=e,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return er().getBaseHref(this._doc)}onPopState(e){const i=er().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",e,!1),()=>i.removeEventListener("popstate",e)}onHashChange(e){const i=er().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",e,!1),()=>i.removeEventListener("hashchange",e)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(e){this.location.pathname=e}pushState(e,i,r){dD()?this._history.pushState(e,i,r):this.location.hash=r}replaceState(e,i,r){dD()?this._history.replaceState(e,i,r):this.location.hash=r}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}}return n.\u0275fac=function(e){return new(e||n)(b(ae))},n.\u0275prov=k({token:n,factory:function(){return function cV(){return new uD(b(ae))}()},providedIn:"platform"}),n})();function dD(){return!!window.history.pushState}function mm(n,t){if(0==n.length)return t;if(0==t.length)return n;let e=0;return n.endsWith("/")&&e++,t.startsWith("/")&&e++,2==e?n+t.substring(1):1==e?n+t:n+"/"+t}function hD(n){const t=n.match(/#|\?|$/),e=t&&t.index||n.length;return n.slice(0,e-("/"===n[e-1]?1:0))+n.slice(e)}function Tr(n){return n&&"?"!==n[0]?"?"+n:n}let ts=(()=>{class n{historyGo(e){throw new Error("Not implemented")}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=k({token:n,factory:function(){return Ue(fD)},providedIn:"root"}),n})();const _m=new P("appBaseHref");let fD=(()=>{class n extends ts{constructor(e,i){var r,o,s;super(),this._platformLocation=e,this._removeListenerFns=[],this._baseHref=null!==(r=null!==(o=i??this._platformLocation.getBaseHrefFromDOM())&&void 0!==o?o:null===(s=Ue(ae).location)||void 0===s?void 0:s.origin)&&void 0!==r?r:""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return mm(this._baseHref,e)}path(e=!1){const i=this._platformLocation.pathname+Tr(this._platformLocation.search),r=this._platformLocation.hash;return r&&e?`${i}${r}`:i}pushState(e,i,r,o){const s=this.prepareExternalUrl(r+Tr(o));this._platformLocation.pushState(e,i,s)}replaceState(e,i,r,o){const s=this.prepareExternalUrl(r+Tr(o));this._platformLocation.replaceState(e,i,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){var i,r;null===(i=(r=this._platformLocation).historyGo)||void 0===i||i.call(r,e)}}return n.\u0275fac=function(e){return new(e||n)(b(zd),b(_m,8))},n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),uV=(()=>{class n extends ts{constructor(e,i){super(),this._platformLocation=e,this._baseHref="",this._removeListenerFns=[],null!=i&&(this._baseHref=i)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}path(e=!1){let i=this._platformLocation.hash;return null==i&&(i="#"),i.length>0?i.substring(1):i}prepareExternalUrl(e){const i=mm(this._baseHref,e);return i.length>0?"#"+i:i}pushState(e,i,r,o){let s=this.prepareExternalUrl(r+Tr(o));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(e,i,s)}replaceState(e,i,r,o){let s=this.prepareExternalUrl(r+Tr(o));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(e,i,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){var i,r;null===(i=(r=this._platformLocation).historyGo)||void 0===i||i.call(r,e)}}return n.\u0275fac=function(e){return new(e||n)(b(zd),b(_m,8))},n.\u0275prov=k({token:n,factory:n.\u0275fac}),n})(),Wd=(()=>{class n{constructor(e){this._subject=new he,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=e;const i=this._locationStrategy.getBaseHref();this._baseHref=hD(pD(i)),this._locationStrategy.onPopState(r=>{this._subject.emit({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){var e;null===(e=this._urlChangeSubscription)||void 0===e||e.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,i=""){return this.path()==this.normalize(e+Tr(i))}normalize(e){return n.stripTrailingSlash(function hV(n,t){return n&&t.startsWith(n)?t.substring(n.length):t}(this._baseHref,pD(e)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,i="",r=null){this._locationStrategy.pushState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Tr(i)),r)}replaceState(e,i="",r=null){this._locationStrategy.replaceState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Tr(i)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){var i,r;null===(i=(r=this._locationStrategy).historyGo)||void 0===i||i.call(r,e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)})),()=>{const i=this._urlChangeListeners.indexOf(e);var r;this._urlChangeListeners.splice(i,1),0===this._urlChangeListeners.length&&(null===(r=this._urlChangeSubscription)||void 0===r||r.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",i){this._urlChangeListeners.forEach(r=>r(e,i))}subscribe(e,i,r){return this._subject.subscribe({next:e,error:i,complete:r})}}return n.normalizeQueryParams=Tr,n.joinWithSlash=mm,n.stripTrailingSlash=hD,n.\u0275fac=function(e){return new(e||n)(b(ts))},n.\u0275prov=k({token:n,factory:function(){return function dV(){return new Wd(b(ts))}()},providedIn:"root"}),n})();function pD(n){return n.replace(/\/index.html$/,"")}var gt=(()=>((gt=gt||{})[gt.Format=0]="Format",gt[gt.Standalone=1]="Standalone",gt))(),Ee=(()=>((Ee=Ee||{})[Ee.Narrow=0]="Narrow",Ee[Ee.Abbreviated=1]="Abbreviated",Ee[Ee.Wide=2]="Wide",Ee[Ee.Short=3]="Short",Ee))(),it=(()=>((it=it||{})[it.Short=0]="Short",it[it.Medium=1]="Medium",it[it.Long=2]="Long",it[it.Full=3]="Full",it))(),ne=(()=>((ne=ne||{})[ne.Decimal=0]="Decimal",ne[ne.Group=1]="Group",ne[ne.List=2]="List",ne[ne.PercentSign=3]="PercentSign",ne[ne.PlusSign=4]="PlusSign",ne[ne.MinusSign=5]="MinusSign",ne[ne.Exponential=6]="Exponential",ne[ne.SuperscriptingExponent=7]="SuperscriptingExponent",ne[ne.PerMille=8]="PerMille",ne[ne.Infinity=9]="Infinity",ne[ne.NaN=10]="NaN",ne[ne.TimeSeparator=11]="TimeSeparator",ne[ne.CurrencyDecimal=12]="CurrencyDecimal",ne[ne.CurrencyGroup=13]="CurrencyGroup",ne))();function qd(n,t){return ri(dn(n)[H.DateFormat],t)}function Yd(n,t){return ri(dn(n)[H.TimeFormat],t)}function Qd(n,t){return ri(dn(n)[H.DateTimeFormat],t)}function ii(n,t){const e=dn(n),i=e[H.NumberSymbols][t];if(typeof i>"u"){if(t===ne.CurrencyDecimal)return e[H.NumberSymbols][ne.Decimal];if(t===ne.CurrencyGroup)return e[H.NumberSymbols][ne.Group]}return i}function mD(n){if(!n[H.ExtraData])throw new Error(`Missing extra locale data for the locale "${n[H.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function ri(n,t){for(let e=t;e>-1;e--)if(typeof n[e]<"u")return n[e];throw new Error("Locale data API: locale data undefined")}function vm(n){const[t,e]=n.split(":");return{hours:+t,minutes:+e}}const MV=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,_c={},EV=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var Tt=(()=>((Tt=Tt||{})[Tt.Short=0]="Short",Tt[Tt.ShortGMT=1]="ShortGMT",Tt[Tt.Long=2]="Long",Tt[Tt.Extended=3]="Extended",Tt))(),se=(()=>((se=se||{})[se.FullYear=0]="FullYear",se[se.Month=1]="Month",se[se.Date=2]="Date",se[se.Hours=3]="Hours",se[se.Minutes=4]="Minutes",se[se.Seconds=5]="Seconds",se[se.FractionalSeconds=6]="FractionalSeconds",se[se.Day=7]="Day",se))(),ge=(()=>((ge=ge||{})[ge.DayPeriods=0]="DayPeriods",ge[ge.Days=1]="Days",ge[ge.Months=2]="Months",ge[ge.Eras=3]="Eras",ge))();function SV(n,t,e,i){let r=function LV(n){if(vD(n))return n;if("number"==typeof n&&!isNaN(n))return new Date(n);if("string"==typeof n){if(n=n.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(n)){const[r,o=1,s=1]=n.split("-").map(a=>+a);return Kd(r,o-1,s)}const e=parseFloat(n);if(!isNaN(n-e))return new Date(e);let i;if(i=n.match(MV))return function NV(n){const t=new Date(0);let e=0,i=0;const r=n[8]?t.setUTCFullYear:t.setFullYear,o=n[8]?t.setUTCHours:t.setHours;n[9]&&(e=Number(n[9]+n[10]),i=Number(n[9]+n[11])),r.call(t,Number(n[1]),Number(n[2])-1,Number(n[3]));const s=Number(n[4]||0)-e,a=Number(n[5]||0)-i,l=Number(n[6]||0),c=Math.floor(1e3*parseFloat("0."+(n[7]||0)));return o.call(t,s,a,l,c),t}(i)}const t=new Date(n);if(!vD(t))throw new Error(`Unable to convert "${n}" into a date`);return t}(n);t=Ir(e,t)||t;let a,s=[];for(;t;){if(a=EV.exec(t),!a){s.push(t);break}{s=s.concat(a.slice(1));const u=s.pop();if(!u)break;t=u}}let l=r.getTimezoneOffset();i&&(l=yD(i,l),r=function PV(n,t,e){const i=e?-1:1,r=n.getTimezoneOffset();return function OV(n,t){return(n=new Date(n.getTime())).setMinutes(n.getMinutes()+t),n}(n,i*(yD(t,r)-r))}(r,i,!0));let c="";return s.forEach(u=>{const d=function RV(n){if(Cm[n])return Cm[n];let t;switch(n){case"G":case"GG":case"GGG":t=Ke(ge.Eras,Ee.Abbreviated);break;case"GGGG":t=Ke(ge.Eras,Ee.Wide);break;case"GGGGG":t=Ke(ge.Eras,Ee.Narrow);break;case"y":t=vt(se.FullYear,1,0,!1,!0);break;case"yy":t=vt(se.FullYear,2,0,!0,!0);break;case"yyy":t=vt(se.FullYear,3,0,!1,!0);break;case"yyyy":t=vt(se.FullYear,4,0,!1,!0);break;case"Y":t=eh(1);break;case"YY":t=eh(2,!0);break;case"YYY":t=eh(3);break;case"YYYY":t=eh(4);break;case"M":case"L":t=vt(se.Month,1,1);break;case"MM":case"LL":t=vt(se.Month,2,1);break;case"MMM":t=Ke(ge.Months,Ee.Abbreviated);break;case"MMMM":t=Ke(ge.Months,Ee.Wide);break;case"MMMMM":t=Ke(ge.Months,Ee.Narrow);break;case"LLL":t=Ke(ge.Months,Ee.Abbreviated,gt.Standalone);break;case"LLLL":t=Ke(ge.Months,Ee.Wide,gt.Standalone);break;case"LLLLL":t=Ke(ge.Months,Ee.Narrow,gt.Standalone);break;case"w":t=bm(1);break;case"ww":t=bm(2);break;case"W":t=bm(1,!0);break;case"d":t=vt(se.Date,1);break;case"dd":t=vt(se.Date,2);break;case"c":case"cc":t=vt(se.Day,1);break;case"ccc":t=Ke(ge.Days,Ee.Abbreviated,gt.Standalone);break;case"cccc":t=Ke(ge.Days,Ee.Wide,gt.Standalone);break;case"ccccc":t=Ke(ge.Days,Ee.Narrow,gt.Standalone);break;case"cccccc":t=Ke(ge.Days,Ee.Short,gt.Standalone);break;case"E":case"EE":case"EEE":t=Ke(ge.Days,Ee.Abbreviated);break;case"EEEE":t=Ke(ge.Days,Ee.Wide);break;case"EEEEE":t=Ke(ge.Days,Ee.Narrow);break;case"EEEEEE":t=Ke(ge.Days,Ee.Short);break;case"a":case"aa":case"aaa":t=Ke(ge.DayPeriods,Ee.Abbreviated);break;case"aaaa":t=Ke(ge.DayPeriods,Ee.Wide);break;case"aaaaa":t=Ke(ge.DayPeriods,Ee.Narrow);break;case"b":case"bb":case"bbb":t=Ke(ge.DayPeriods,Ee.Abbreviated,gt.Standalone,!0);break;case"bbbb":t=Ke(ge.DayPeriods,Ee.Wide,gt.Standalone,!0);break;case"bbbbb":t=Ke(ge.DayPeriods,Ee.Narrow,gt.Standalone,!0);break;case"B":case"BB":case"BBB":t=Ke(ge.DayPeriods,Ee.Abbreviated,gt.Format,!0);break;case"BBBB":t=Ke(ge.DayPeriods,Ee.Wide,gt.Format,!0);break;case"BBBBB":t=Ke(ge.DayPeriods,Ee.Narrow,gt.Format,!0);break;case"h":t=vt(se.Hours,1,-12);break;case"hh":t=vt(se.Hours,2,-12);break;case"H":t=vt(se.Hours,1);break;case"HH":t=vt(se.Hours,2);break;case"m":t=vt(se.Minutes,1);break;case"mm":t=vt(se.Minutes,2);break;case"s":t=vt(se.Seconds,1);break;case"ss":t=vt(se.Seconds,2);break;case"S":t=vt(se.FractionalSeconds,1);break;case"SS":t=vt(se.FractionalSeconds,2);break;case"SSS":t=vt(se.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=Xd(Tt.Short);break;case"ZZZZZ":t=Xd(Tt.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=Xd(Tt.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=Xd(Tt.Long);break;default:return null}return Cm[n]=t,t}(u);c+=d?d(r,e,l):"''"===u?"'":u.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function Kd(n,t,e){const i=new Date(0);return i.setFullYear(n,t,e),i.setHours(0,0,0),i}function Ir(n,t){const e=function fV(n){return dn(n)[H.LocaleId]}(n);if(_c[e]=_c[e]||{},_c[e][t])return _c[e][t];let i="";switch(t){case"shortDate":i=qd(n,it.Short);break;case"mediumDate":i=qd(n,it.Medium);break;case"longDate":i=qd(n,it.Long);break;case"fullDate":i=qd(n,it.Full);break;case"shortTime":i=Yd(n,it.Short);break;case"mediumTime":i=Yd(n,it.Medium);break;case"longTime":i=Yd(n,it.Long);break;case"fullTime":i=Yd(n,it.Full);break;case"short":const r=Ir(n,"shortTime"),o=Ir(n,"shortDate");i=Zd(Qd(n,it.Short),[r,o]);break;case"medium":const s=Ir(n,"mediumTime"),a=Ir(n,"mediumDate");i=Zd(Qd(n,it.Medium),[s,a]);break;case"long":const l=Ir(n,"longTime"),c=Ir(n,"longDate");i=Zd(Qd(n,it.Long),[l,c]);break;case"full":const u=Ir(n,"fullTime"),d=Ir(n,"fullDate");i=Zd(Qd(n,it.Full),[u,d])}return i&&(_c[e][t]=i),i}function Zd(n,t){return t&&(n=n.replace(/\{([^}]+)}/g,function(e,i){return null!=t&&i in t?t[i]:e})),n}function ki(n,t,e="-",i,r){let o="";(n<0||r&&n<=0)&&(r?n=1-n:(n=-n,o=e));let s=String(n);for(;s.length0||a>-e)&&(a+=e),n===se.Hours)0===a&&-12===e&&(a=12);else if(n===se.FractionalSeconds)return function AV(n,t){return ki(n,3).substring(0,t)}(a,t);const l=ii(s,ne.MinusSign);return ki(a,t,l,i,r)}}function Ke(n,t,e=gt.Format,i=!1){return function(r,o){return function IV(n,t,e,i,r,o){switch(e){case ge.Months:return function mV(n,t,e){const i=dn(n),o=ri([i[H.MonthsFormat],i[H.MonthsStandalone]],t);return ri(o,e)}(t,r,i)[n.getMonth()];case ge.Days:return function gV(n,t,e){const i=dn(n),o=ri([i[H.DaysFormat],i[H.DaysStandalone]],t);return ri(o,e)}(t,r,i)[n.getDay()];case ge.DayPeriods:const s=n.getHours(),a=n.getMinutes();if(o){const c=function bV(n){const t=dn(n);return mD(t),(t[H.ExtraData][2]||[]).map(i=>"string"==typeof i?vm(i):[vm(i[0]),vm(i[1])])}(t),u=function CV(n,t,e){const i=dn(n);mD(i);const o=ri([i[H.ExtraData][0],i[H.ExtraData][1]],t)||[];return ri(o,e)||[]}(t,r,i),d=c.findIndex(h=>{if(Array.isArray(h)){const[g,_]=h,y=s>=g.hours&&a>=g.minutes,x=s<_.hours||s===_.hours&&a<_.minutes;if(g.hours<_.hours){if(y&&x)return!0}else if(y||x)return!0}else if(h.hours===s&&h.minutes===a)return!0;return!1});if(-1!==d)return u[d]}return function pV(n,t,e){const i=dn(n),o=ri([i[H.DayPeriodsFormat],i[H.DayPeriodsStandalone]],t);return ri(o,e)}(t,r,i)[s<12?0:1];case ge.Eras:return function _V(n,t){return ri(dn(n)[H.Eras],t)}(t,i)[n.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${e}`)}}(r,o,n,t,e,i)}}function Xd(n){return function(t,e,i){const r=-1*i,o=ii(e,ne.MinusSign),s=r>0?Math.floor(r/60):Math.ceil(r/60);switch(n){case Tt.Short:return(r>=0?"+":"")+ki(s,2,o)+ki(Math.abs(r%60),2,o);case Tt.ShortGMT:return"GMT"+(r>=0?"+":"")+ki(s,1,o);case Tt.Long:return"GMT"+(r>=0?"+":"")+ki(s,2,o)+":"+ki(Math.abs(r%60),2,o);case Tt.Extended:return 0===i?"Z":(r>=0?"+":"")+ki(s,2,o)+":"+ki(Math.abs(r%60),2,o);default:throw new Error(`Unknown zone width "${n}"`)}}}function _D(n){return Kd(n.getFullYear(),n.getMonth(),n.getDate()+(4-n.getDay()))}function bm(n,t=!1){return function(e,i){let r;if(t){const o=new Date(e.getFullYear(),e.getMonth(),1).getDay()-1,s=e.getDate();r=1+Math.floor((s+o)/7)}else{const o=_D(e),s=function FV(n){const t=Kd(n,0,1).getDay();return Kd(n,0,1+(t<=4?4:11)-t)}(o.getFullYear()),a=o.getTime()-s.getTime();r=1+Math.round(a/6048e5)}return ki(r,n,ii(i,ne.MinusSign))}}function eh(n,t=!1){return function(e,i){return ki(_D(e).getFullYear(),n,ii(i,ne.MinusSign),t)}}const Cm={};function yD(n,t){n=n.replace(/:/g,"");const e=Date.parse("Jan 01, 1970 00:00:00 "+n)/6e4;return isNaN(e)?t:e}function vD(n){return n instanceof Date&&!isNaN(n.valueOf())}function xD(n,t){t=encodeURIComponent(t);for(const e of n.split(";")){const i=e.indexOf("="),[r,o]=-1==i?[e,""]:[e.slice(0,i),e.slice(i+1)];if(r.trim()===t)return decodeURIComponent(o)}return null}let ns=(()=>{class n{constructor(e,i,r,o){this._iterableDiffers=e,this._keyValueDiffers=i,this._ngEl=r,this._renderer=o,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof e?e.split(/\s+/):e,this._rawClass&&(tc(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){const e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}}_applyKeyValueChanges(e){e.forEachAddedItem(i=>this._toggleClass(i.key,i.currentValue)),e.forEachChangedItem(i=>this._toggleClass(i.key,i.currentValue)),e.forEachRemovedItem(i=>{i.previousValue&&this._toggleClass(i.key,!1)})}_applyIterableChanges(e){e.forEachAddedItem(i=>{if("string"!=typeof i.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${Ve(i.item)}`);this._toggleClass(i.item,!0)}),e.forEachRemovedItem(i=>this._toggleClass(i.item,!1))}_applyClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(i=>this._toggleClass(i,!0)):Object.keys(e).forEach(i=>this._toggleClass(i,!!e[i])))}_removeClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(i=>this._toggleClass(i,!1)):Object.keys(e).forEach(i=>this._toggleClass(i,!1)))}_toggleClass(e,i){(e=e.trim())&&e.split(/\s+/g).forEach(r=>{i?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}}return n.\u0275fac=function(e){return new(e||n)(f(mc),f(es),f($),f(Wt))},n.\u0275dir=T({type:n,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),n})(),DD=(()=>{class n{constructor(e){this._viewContainerRef=e,this.ngComponentOutlet=null}ngOnChanges(e){const{_viewContainerRef:i,ngComponentOutletNgModule:r,ngComponentOutletNgModuleFactory:o}=this;if(i.clear(),this._componentRef=void 0,this.ngComponentOutlet){const s=this.ngComponentOutletInjector||i.parentInjector;(e.ngComponentOutletNgModule||e.ngComponentOutletNgModuleFactory)&&(this._moduleRef&&this._moduleRef.destroy(),this._moduleRef=r?function bL(n,t){return new Y0(n,t??null)}(r,MD(s)):o?o.create(MD(s)):void 0),this._componentRef=i.createComponent(this.ngComponentOutlet,{index:i.length,injector:s,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngOnDestroy(){this._moduleRef&&this._moduleRef.destroy()}}return n.\u0275fac=function(e){return new(e||n)(f(At))},n.\u0275dir=T({type:n,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},standalone:!0,features:[nt]}),n})();function MD(n){return n.get(Xo).injector}class QV{constructor(t,e,i,r){this.$implicit=t,this.ngForOf=e,this.index=i,this.count=r}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let oi=(()=>{class n{constructor(e,i,r){this._viewContainer=e,this._template=i,this._differs=r,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const e=this._ngForOf;!this._differ&&e&&(this._differ=this._differs.find(e).create(this.ngForTrackBy))}if(this._differ){const e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){const i=this._viewContainer;e.forEachOperation((r,o,s)=>{if(null==r.previousIndex)i.createEmbeddedView(this._template,new QV(r.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)i.remove(null===o?void 0:o);else if(null!==o){const a=i.get(o);i.move(a,s),SD(a,r)}});for(let r=0,o=i.length;r{SD(i.get(r.currentIndex),r)})}static ngTemplateContextGuard(e,i){return!0}}return n.\u0275fac=function(e){return new(e||n)(f(At),f(Ti),f(mc))},n.\u0275dir=T({type:n,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),n})();function SD(n,t){n.context.$implicit=t.item}let si=(()=>{class n{constructor(e,i){this._viewContainer=e,this._context=new ZV,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){AD("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){AD("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(e,i){return!0}}return n.\u0275fac=function(e){return new(e||n)(f(At),f(Ti))},n.\u0275dir=T({type:n,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),n})();class ZV{constructor(){this.$implicit=null,this.ngIf=null}}function AD(n,t){if(t&&!t.createEmbeddedView)throw new Error(`${n} must be a TemplateRef, but received '${Ve(t)}'.`)}class Sm{constructor(t,e){this._viewContainerRef=t,this._templateRef=e,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()}}let vc=(()=>{class n{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(e){this._ngSwitch=e,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(e){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(e)}_matchCase(e){const i=e==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||i,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),i}_updateDefaultCases(e){if(this._defaultViews&&e!==this._defaultUsed){this._defaultUsed=e;for(let i=0;i{class n{constructor(e,i,r){this.ngSwitch=r,r._addCase(),this._view=new Sm(e,i)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return n.\u0275fac=function(e){return new(e||n)(f(At),f(Ti),f(vc,9))},n.\u0275dir=T({type:n,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),n})(),TD=(()=>{class n{constructor(e,i,r){r._addDefault(new Sm(e,i))}}return n.\u0275fac=function(e){return new(e||n)(f(At),f(Ti),f(vc,9))},n.\u0275dir=T({type:n,selectors:[["","ngSwitchDefault",""]],standalone:!0}),n})(),nh=(()=>{class n{constructor(e,i,r){this._ngEl=e,this._differs=i,this._renderer=r,this._ngStyle=null,this._differ=null}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){const e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,i){const[r,o]=e.split("."),s=-1===r.indexOf("-")?void 0:wn.DashCase;null!=i?this._renderer.setStyle(this._ngEl.nativeElement,r,o?`${i}${o}`:i,s):this._renderer.removeStyle(this._ngEl.nativeElement,r,s)}_applyChanges(e){e.forEachRemovedItem(i=>this._setStyle(i.key,null)),e.forEachAddedItem(i=>this._setStyle(i.key,i.currentValue)),e.forEachChangedItem(i=>this._setStyle(i.key,i.currentValue))}}return n.\u0275fac=function(e){return new(e||n)(f($),f(es),f(Wt))},n.\u0275dir=T({type:n,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),n})(),Tm=(()=>{class n{constructor(e){this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(e){if(e.ngTemplateOutlet||e.ngTemplateOutletInjector){const i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:r,ngTemplateOutletContext:o,ngTemplateOutletInjector:s}=this;this._viewRef=i.createEmbeddedView(r,o,s?{injector:s}:void 0)}else this._viewRef=null}else this._viewRef&&e.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return n.\u0275fac=function(e){return new(e||n)(f(At))},n.\u0275dir=T({type:n,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[nt]}),n})();function Fi(n,t){return new I(2100,!1)}class JV{createSubscription(t,e){return t.subscribe({next:e,error:i=>{throw i}})}dispose(t){t.unsubscribe()}}class eB{createSubscription(t,e){return t.then(e,i=>{throw i})}dispose(t){}}const tB=new eB,nB=new JV;let Ba=(()=>{class n{constructor(e){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=e}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(e){return this._obj?e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue:(e&&this._subscribe(e),this._latestValue)}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,i=>this._updateLatestValue(e,i))}_selectStrategy(e){if(ic(e))return tB;if(Ew(e))return nB;throw Fi()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,i){e===this._obj&&(this._latestValue=i,this._ref.markForCheck())}}return n.\u0275fac=function(e){return new(e||n)(f(Dn,16))},n.\u0275pipe=rn({name:"async",type:n,pure:!1,standalone:!0}),n})();const aB=new P("DATE_PIPE_DEFAULT_TIMEZONE");let kD=(()=>{class n{constructor(e,i){this.locale=e,this.defaultTimezone=i}transform(e,i="mediumDate",r,o){if(null==e||""===e||e!=e)return null;try{var s;return SV(e,i,o||this.locale,null!==(s=r??this.defaultTimezone)&&void 0!==s?s:void 0)}catch(a){throw Fi()}}}return n.\u0275fac=function(e){return new(e||n)(f(Ji,16),f(aB,24))},n.\u0275pipe=rn({name:"date",type:n,pure:!0,standalone:!0}),n})(),fn=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({}),n})();const RD="browser";function tr(n){return n===RD}function nr(n){return"server"===n}let CB=(()=>{class n{}return n.\u0275prov=k({token:n,providedIn:"root",factory:()=>new wB(b(ae),window)}),n})();class wB{constructor(t,e){this.document=t,this.window=e,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(!this.supportsScrolling())return;const e=function xB(n,t){const e=n.getElementById(t)||n.getElementsByName(t)[0];if(e)return e;if("function"==typeof n.createTreeWalker&&n.body&&(n.body.createShadowRoot||n.body.attachShadow)){const i=n.createTreeWalker(n.body,NodeFilter.SHOW_ELEMENT);let r=i.currentNode;for(;r;){const o=r.shadowRoot;if(o){const s=o.getElementById(t)||o.querySelector(`[name="${t}"]`);if(s)return s}r=i.nextNode()}}return null}(this.document,t);e&&(this.scrollToElement(e),e.focus())}setHistoryScrollRestoration(t){if(this.supportScrollRestoration()){const e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}}scrollToElement(t){const e=t.getBoundingClientRect(),i=e.left+this.window.pageXOffset,r=e.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(i-o[0],r-o[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const t=OD(this.window.history)||OD(Object.getPrototypeOf(this.window.history));return!(!t||!t.writable&&!t.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function OD(n){return Object.getOwnPropertyDescriptor(n,"scrollRestoration")}class PD{}class Om extends class $B extends class sV{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){!function oV(n){Ud||(Ud=n)}(new Om)}onAndCancel(t,e,i){return t.addEventListener(e,i,!1),()=>{t.removeEventListener(e,i,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}getBaseHref(t){const e=function jB(){return Cc=Cc||document.querySelector("base"),Cc?Cc.getAttribute("href"):null}();return null==e?null:function GB(n){rh=rh||document.createElement("a"),rh.setAttribute("href",n);const t=rh.pathname;return"/"===t.charAt(0)?t:`/${t}`}(e)}resetBaseElement(){Cc=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return xD(document.cookie,t)}}let rh,Cc=null;const BD=new P("TRANSITION_ID"),zB=[{provide:Vd,useFactory:function UB(n,t,e){return()=>{e.get(Bd).donePromise.then(()=>{const i=er(),r=t.querySelectorAll(`style[ng-transition="${n}"]`);for(let o=0;o{class n{build(){return new XMLHttpRequest}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=k({token:n,factory:n.\u0275fac}),n})();const oh=new P("EventManagerPlugins");let sh=(()=>{class n{constructor(e,i){this._zone=i,this._eventNameToPlugin=new Map,e.forEach(r=>r.manager=this),this._plugins=e.slice().reverse()}addEventListener(e,i,r){return this._findPluginFor(i).addEventListener(e,i,r)}addGlobalEventListener(e,i,r){return this._findPluginFor(i).addGlobalEventListener(e,i,r)}getZone(){return this._zone}_findPluginFor(e){const i=this._eventNameToPlugin.get(e);if(i)return i;const r=this._plugins;for(let o=0;o{class n{constructor(){this._stylesSet=new Set}addStyles(e){const i=new Set;e.forEach(r=>{this._stylesSet.has(r)||(this._stylesSet.add(r),i.add(r))}),this.onStylesAdded(i)}onStylesAdded(e){}getAllStyles(){return Array.from(this._stylesSet)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=k({token:n,factory:n.\u0275fac}),n})(),wc=(()=>{class n extends $D{constructor(e){super(),this._doc=e,this._hostNodes=new Map,this._hostNodes.set(e.head,[])}_addStylesToHost(e,i,r){e.forEach(o=>{const s=this._doc.createElement("style");s.textContent=o,r.push(i.appendChild(s))})}addHost(e){const i=[];this._addStylesToHost(this._stylesSet,e,i),this._hostNodes.set(e,i)}removeHost(e){const i=this._hostNodes.get(e);i&&i.forEach(jD),this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach((i,r)=>{this._addStylesToHost(e,r,i)})}ngOnDestroy(){this._hostNodes.forEach(e=>e.forEach(jD))}}return n.\u0275fac=function(e){return new(e||n)(b(ae))},n.\u0275prov=k({token:n,factory:n.\u0275fac}),n})();function jD(n){er().remove(n)}const Pm={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},Lm=/%COMP%/g;function ah(n,t,e){for(let i=0;i{if("__ngUnwrap__"===t)return n;!1===n(t)&&(t.preventDefault(),t.returnValue=!1)}}let lh=(()=>{class n{constructor(e,i,r){this.eventManager=e,this.sharedStylesHost=i,this.appId=r,this.rendererByCompId=new Map,this.defaultRenderer=new Nm(e)}createRenderer(e,i){if(!e||!i)return this.defaultRenderer;switch(i.encapsulation){case vi.Emulated:{let r=this.rendererByCompId.get(i.id);return r||(r=new JB(this.eventManager,this.sharedStylesHost,i,this.appId),this.rendererByCompId.set(i.id,r)),r.applyToHost(e),r}case 1:case vi.ShadowDom:return new e2(this.eventManager,this.sharedStylesHost,e,i);default:if(!this.rendererByCompId.has(i.id)){const r=ah(i.id,i.styles,[]);this.sharedStylesHost.addStyles(r),this.rendererByCompId.set(i.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return n.\u0275fac=function(e){return new(e||n)(b(sh),b(wc),b(Na))},n.\u0275prov=k({token:n,factory:n.\u0275fac}),n})();class Nm{constructor(t){this.eventManager=t,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,e){return e?document.createElementNS(Pm[e]||e,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,e){(qD(t)?t.content:t).appendChild(e)}insertBefore(t,e,i){t&&(qD(t)?t.content:t).insertBefore(e,i)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let i="string"==typeof t?document.querySelector(t):t;if(!i)throw new Error(`The selector "${t}" did not match any elements`);return e||(i.textContent=""),i}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,i,r){if(r){e=r+":"+e;const o=Pm[r];o?t.setAttributeNS(o,e,i):t.setAttribute(e,i)}else t.setAttribute(e,i)}removeAttribute(t,e,i){if(i){const r=Pm[i];r?t.removeAttributeNS(r,e):t.removeAttribute(`${i}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,i,r){r&(wn.DashCase|wn.Important)?t.style.setProperty(e,i,r&wn.Important?"important":""):t.style[e]=i}removeStyle(t,e,i){i&wn.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,i){t[e]=i}setValue(t,e){t.nodeValue=e}listen(t,e,i){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,zD(i)):this.eventManager.addEventListener(t,e,zD(i))}}function qD(n){return"TEMPLATE"===n.tagName&&void 0!==n.content}class JB extends Nm{constructor(t,e,i,r){super(t),this.component=i;const o=ah(r+"-"+i.id,i.styles,[]);e.addStyles(o),this.contentAttr=function KB(n){return"_ngcontent-%COMP%".replace(Lm,n)}(r+"-"+i.id),this.hostAttr=function ZB(n){return"_nghost-%COMP%".replace(Lm,n)}(r+"-"+i.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,e){const i=super.createElement(t,e);return super.setAttribute(i,this.contentAttr,""),i}}class e2 extends Nm{constructor(t,e,i,r){super(t),this.sharedStylesHost=e,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const o=ah(r.id,r.styles,[]);for(let s=0;s{class n extends HD{constructor(e){super(e)}supports(e){return!0}addEventListener(e,i,r){return e.addEventListener(i,r,!1),()=>this.removeEventListener(e,i,r)}removeEventListener(e,i,r){return e.removeEventListener(i,r)}}return n.\u0275fac=function(e){return new(e||n)(b(ae))},n.\u0275prov=k({token:n,factory:n.\u0275fac}),n})();const YD=["alt","control","meta","shift"],n2={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},r2={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey};let o2=(()=>{class n extends HD{constructor(e){super(e)}supports(e){return null!=n.parseEventName(e)}addEventListener(e,i,r){const o=n.parseEventName(i),s=n.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>er().onAndCancel(e,o.domEventName,s))}static parseEventName(e){const i=e.toLowerCase().split("."),r=i.shift();if(0===i.length||"keydown"!==r&&"keyup"!==r)return null;const o=n._normalizeKey(i.pop());let s="",a=i.indexOf("code");if(a>-1&&(i.splice(a,1),s="code."),YD.forEach(c=>{const u=i.indexOf(c);u>-1&&(i.splice(u,1),s+=c+".")}),s+=o,0!=i.length||0===o.length)return null;const l={};return l.domEventName=r,l.fullKey=s,l}static matchEventFullKeyCode(e,i){let r=n2[e.key]||e.key,o="";return i.indexOf("code.")>-1&&(r=e.code,o="code."),!(null==r||!r)&&(r=r.toLowerCase()," "===r?r="space":"."===r&&(r="dot"),YD.forEach(s=>{s!==r&&(0,r2[s])(e)&&(o+=s+".")}),o+=r,o===i)}static eventCallback(e,i,r){return o=>{n.matchEventFullKeyCode(o,e)&&r.runGuarded(()=>i(o))}}static _normalizeKey(e){return"esc"===e?"escape":e}}return n.\u0275fac=function(e){return new(e||n)(b(ae))},n.\u0275prov=k({token:n,factory:n.\u0275fac}),n})();const KD=[{provide:$n,useValue:RD},{provide:Lx,useValue:function s2(){Om.makeCurrent()},multi:!0},{provide:ae,useFactory:function l2(){return function MF(n){Mp=n}(document),document},deps:[]}],c2=zx(nV,"browser",KD),ZD=new P(""),XD=[{provide:Hd,useClass:class WB{addToWindow(t){ze.getAngularTestability=(i,r=!0)=>{const o=t.findTestabilityInTree(i,r);if(null==o)throw new Error("Could not find testability for element.");return o},ze.getAllAngularTestabilities=()=>t.getAllTestabilities(),ze.getAllAngularRootElements=()=>t.getAllRootElements(),ze.frameworkStabilizers||(ze.frameworkStabilizers=[]),ze.frameworkStabilizers.push(i=>{const r=ze.getAllAngularTestabilities();let o=r.length,s=!1;const a=function(l){s=s||l,o--,0==o&&i(s)};r.forEach(function(l){l.whenStable(a)})})}findTestabilityInTree(t,e,i){return null==e?null:t.getTestability(e)??(i?er().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null)}},deps:[]},{provide:$x,useClass:am,deps:[de,lm,Hd]},{provide:am,useClass:am,deps:[de,lm,Hd]}],JD=[{provide:Op,useValue:"root"},{provide:wr,useFactory:function a2(){return new wr},deps:[]},{provide:oh,useClass:t2,multi:!0,deps:[ae,de,$n]},{provide:oh,useClass:o2,multi:!0,deps:[ae]},{provide:lh,useClass:lh,deps:[sh,wc,Na]},{provide:zo,useExisting:lh},{provide:$D,useExisting:wc},{provide:wc,useClass:wc,deps:[ae]},{provide:sh,useClass:sh,deps:[oh,de]},{provide:PD,useClass:qB,deps:[]},[]];let eM=(()=>{class n{constructor(e){}static withServerTransition(e){return{ngModule:n,providers:[{provide:Na,useValue:e.appId},{provide:BD,useExisting:Na},zB]}}}return n.\u0275fac=function(e){return new(e||n)(b(ZD,12))},n.\u0275mod=Z({type:n}),n.\u0275inj=K({providers:[...JD,...XD],imports:[fn,iV]}),n})(),tM=(()=>{class n{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}}return n.\u0275fac=function(e){return new(e||n)(b(ae))},n.\u0275prov=k({token:n,factory:function(e){let i=null;return i=e?new e:function d2(){return new tM(b(ae))}(),i},providedIn:"root"}),n})();typeof window<"u"&&window;let xc=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=k({token:n,factory:function(e){let i=null;return i=e?new(e||n):b(rM),i},providedIn:"root"}),n})(),rM=(()=>{class n extends xc{constructor(e){super(),this._doc=e}sanitize(e,i){if(null==i)return null;switch(e){case Oe.NONE:return i;case Oe.HTML:return zi(i,"HTML")?Nn(i):Pb(this._doc,String(i)).toString();case Oe.STYLE:return zi(i,"Style")?Nn(i):i;case Oe.SCRIPT:if(zi(i,"Script"))return Nn(i);throw new Error("unsafe value used in a script context");case Oe.URL:return zi(i,"URL")?Nn(i):ld(String(i));case Oe.RESOURCE_URL:if(zi(i,"ResourceURL"))return Nn(i);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${e} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(e){return function OF(n){return new AF(n)}(e)}bypassSecurityTrustStyle(e){return function PF(n){return new TF(n)}(e)}bypassSecurityTrustScript(e){return function LF(n){return new IF(n)}(e)}bypassSecurityTrustUrl(e){return function NF(n){return new kF(n)}(e)}bypassSecurityTrustResourceUrl(e){return function VF(n){return new FF(n)}(e)}}return n.\u0275fac=function(e){return new(e||n)(b(ae))},n.\u0275prov=k({token:n,factory:function(e){let i=null;return i=e?new e:function y2(n){return new rM(n.get(ae))}(b(Nt)),i},providedIn:"root"}),n})();function q(...n){return He(n,fr(n))}function ho(n,t){return be(t)?st(n,t,1):st(n,1)}function It(n,t){return qe((e,i)=>{let r=0;e.subscribe(Ye(i,o=>n.call(t,o,r++)&&i.next(o)))})}class oM{}class Hm{}class kr{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach(e=>{const i=e.indexOf(":");if(i>0){const r=e.slice(0,i),o=r.toLowerCase(),s=e.slice(i+1).trim();this.maybeSetNormalizedName(r,o),this.headers.has(o)?this.headers.get(o).push(s):this.headers.set(o,[s])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(e=>{let i=t[e];const r=e.toLowerCase();"string"==typeof i&&(i=[i]),i.length>0&&(this.headers.set(r,i),this.maybeSetNormalizedName(e,r))})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,e){return this.clone({name:t,value:e,op:"a"})}set(t,e){return this.clone({name:t,value:e,op:"s"})}delete(t,e){return this.clone({name:t,value:e,op:"d"})}maybeSetNormalizedName(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}init(){this.lazyInit&&(this.lazyInit instanceof kr?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(e=>{this.headers.set(e,t.headers.get(e)),this.normalizedNames.set(e,t.normalizedNames.get(e))})}clone(t){const e=new kr;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof kr?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([t]),e}applyUpdate(t){const e=t.name.toLowerCase();switch(t.op){case"a":case"s":let i=t.value;if("string"==typeof i&&(i=[i]),0===i.length)return;this.maybeSetNormalizedName(t.name,e);const r=("a"===t.op?this.headers.get(e):void 0)||[];r.push(...i),this.headers.set(e,r);break;case"d":const o=t.value;if(o){let s=this.headers.get(e);if(!s)return;s=s.filter(a=>-1===o.indexOf(a)),0===s.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,s)}else this.headers.delete(e),this.normalizedNames.delete(e)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>t(this.normalizedNames.get(e),this.headers.get(e)))}}class v2{encodeKey(t){return sM(t)}encodeValue(t){return sM(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const C2=/%(\d[a-f0-9])/gi,w2={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function sM(n){return encodeURIComponent(n).replace(C2,(t,e)=>{var i;return null!==(i=w2[e])&&void 0!==i?i:t})}function ch(n){return`${n}`}class fo{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new v2,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function b2(n,t){const e=new Map;return n.length>0&&n.replace(/^\?/,"").split("&").forEach(r=>{const o=r.indexOf("="),[s,a]=-1==o?[t.decodeKey(r),""]:[t.decodeKey(r.slice(0,o)),t.decodeValue(r.slice(o+1))],l=e.get(s)||[];l.push(a),e.set(s,l)}),e}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{const i=t.fromObject[e],r=Array.isArray(i)?i.map(ch):[ch(i)];this.map.set(e,r)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const e=this.map.get(t);return e?e[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,e){return this.clone({param:t,value:e,op:"a"})}appendAll(t){const e=[];return Object.keys(t).forEach(i=>{const r=t[i];Array.isArray(r)?r.forEach(o=>{e.push({param:i,value:o,op:"a"})}):e.push({param:i,value:r,op:"a"})}),this.clone(e)}set(t,e){return this.clone({param:t,value:e,op:"s"})}delete(t,e){return this.clone({param:t,value:e,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const e=this.encoder.encodeKey(t);return this.map.get(t).map(i=>e+"="+this.encoder.encodeValue(i)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const e=new fo({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(t),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const e=("a"===t.op?this.map.get(t.param):void 0)||[];e.push(ch(t.value)),this.map.set(t.param,e);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let i=this.map.get(t.param)||[];const r=i.indexOf(ch(t.value));-1!==r&&i.splice(r,1),i.length>0?this.map.set(t.param,i):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class x2{constructor(){this.map=new Map}set(t,e){return this.map.set(t,e),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}}function aM(n){return typeof ArrayBuffer<"u"&&n instanceof ArrayBuffer}function lM(n){return typeof Blob<"u"&&n instanceof Blob}function cM(n){return typeof FormData<"u"&&n instanceof FormData}class Dc{constructor(t,e,i,r){let o;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function D2(n){switch(n){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==i?i:null,o=r):o=i,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params)),this.headers||(this.headers=new kr),this.context||(this.context=new x2),this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=e;else{const a=e.indexOf("?");this.urlWithParams=e+(-1===a?"?":ah.set(g,t.setHeaders[g]),c)),t.setParams&&(u=Object.keys(t.setParams).reduce((h,g)=>h.set(g,t.setParams[g]),u)),new Dc(i,r,s,{params:u,headers:c,context:d,reportProgress:l,responseType:o,withCredentials:a})}}var bt=(()=>((bt=bt||{})[bt.Sent=0]="Sent",bt[bt.UploadProgress=1]="UploadProgress",bt[bt.ResponseHeader=2]="ResponseHeader",bt[bt.DownloadProgress=3]="DownloadProgress",bt[bt.Response=4]="Response",bt[bt.User=5]="User",bt))();class $m{constructor(t,e=200,i="OK"){this.headers=t.headers||new kr,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||i,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class jm extends $m{constructor(t={}){super(t),this.type=bt.ResponseHeader}clone(t={}){return new jm({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class uh extends $m{constructor(t={}){super(t),this.type=bt.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new uh({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class uM extends $m{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||"(unknown url)"}`:`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function Gm(n,t){return{body:t,headers:n.headers,context:n.context,observe:n.observe,params:n.params,reportProgress:n.reportProgress,responseType:n.responseType,withCredentials:n.withCredentials}}let Ha=(()=>{class n{constructor(e){this.handler=e}request(e,i,r={}){let o;if(e instanceof Dc)o=e;else{let l,c;l=r.headers instanceof kr?r.headers:new kr(r.headers),r.params&&(c=r.params instanceof fo?r.params:new fo({fromObject:r.params})),o=new Dc(e,i,void 0!==r.body?r.body:null,{headers:l,context:r.context,params:c,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials})}const s=q(o).pipe(ho(l=>this.handler.handle(l)));if(e instanceof Dc||"events"===r.observe)return s;const a=s.pipe(It(l=>l instanceof uh));switch(r.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(z(l=>{if(null!==l.body&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return a.pipe(z(l=>{if(null!==l.body&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return a.pipe(z(l=>{if(null!==l.body&&"string"!=typeof l.body)throw new Error("Response is not a string.");return l.body}));default:return a.pipe(z(l=>l.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${r.observe}}`)}}delete(e,i={}){return this.request("DELETE",e,i)}get(e,i={}){return this.request("GET",e,i)}head(e,i={}){return this.request("HEAD",e,i)}jsonp(e,i){return this.request("JSONP",e,{params:(new fo).append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,i={}){return this.request("OPTIONS",e,i)}patch(e,i,r={}){return this.request("PATCH",e,Gm(r,i))}post(e,i,r={}){return this.request("POST",e,Gm(r,i))}put(e,i,r={}){return this.request("PUT",e,Gm(r,i))}}return n.\u0275fac=function(e){return new(e||n)(b(oM))},n.\u0275prov=k({token:n,factory:n.\u0275fac}),n})();class dM{constructor(t,e){this.next=t,this.interceptor=e}handle(t){return this.interceptor.intercept(t,this.next)}}const hM=new P("HTTP_INTERCEPTORS");let E2=(()=>{class n{intercept(e,i){return i.handle(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=k({token:n,factory:n.\u0275fac}),n})();const S2=/^\)\]\}',?\n/;let fM=(()=>{class n{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new Re(i=>{const r=this.xhrFactory.build();if(r.open(e.method,e.urlWithParams),e.withCredentials&&(r.withCredentials=!0),e.headers.forEach((g,_)=>r.setRequestHeader(g,_.join(","))),e.headers.has("Accept")||r.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const g=e.detectContentTypeHeader();null!==g&&r.setRequestHeader("Content-Type",g)}if(e.responseType){const g=e.responseType.toLowerCase();r.responseType="json"!==g?g:"text"}const o=e.serializeBody();let s=null;const a=()=>{if(null!==s)return s;const g=r.statusText||"OK",_=new kr(r.getAllResponseHeaders()),y=function A2(n){return"responseURL"in n&&n.responseURL?n.responseURL:/^X-Request-URL:/m.test(n.getAllResponseHeaders())?n.getResponseHeader("X-Request-URL"):null}(r)||e.url;return s=new jm({headers:_,status:r.status,statusText:g,url:y}),s},l=()=>{let{headers:g,status:_,statusText:y,url:x}=a(),C=null;204!==_&&(C=typeof r.response>"u"?r.responseText:r.response),0===_&&(_=C?200:0);let F=_>=200&&_<300;if("json"===e.responseType&&"string"==typeof C){const E=C;C=C.replace(S2,"");try{C=""!==C?JSON.parse(C):null}catch(N){C=E,F&&(F=!1,C={error:N,text:C})}}F?(i.next(new uh({body:C,headers:g,status:_,statusText:y,url:x||void 0})),i.complete()):i.error(new uM({error:C,headers:g,status:_,statusText:y,url:x||void 0}))},c=g=>{const{url:_}=a(),y=new uM({error:g,status:r.status||0,statusText:r.statusText||"Unknown Error",url:_||void 0});i.error(y)};let u=!1;const d=g=>{u||(i.next(a()),u=!0);let _={type:bt.DownloadProgress,loaded:g.loaded};g.lengthComputable&&(_.total=g.total),"text"===e.responseType&&!!r.responseText&&(_.partialText=r.responseText),i.next(_)},h=g=>{let _={type:bt.UploadProgress,loaded:g.loaded};g.lengthComputable&&(_.total=g.total),i.next(_)};return r.addEventListener("load",l),r.addEventListener("error",c),r.addEventListener("timeout",c),r.addEventListener("abort",c),e.reportProgress&&(r.addEventListener("progress",d),null!==o&&r.upload&&r.upload.addEventListener("progress",h)),r.send(o),i.next({type:bt.Sent}),()=>{r.removeEventListener("error",c),r.removeEventListener("abort",c),r.removeEventListener("load",l),r.removeEventListener("timeout",c),e.reportProgress&&(r.removeEventListener("progress",d),null!==o&&r.upload&&r.upload.removeEventListener("progress",h)),r.readyState!==r.DONE&&r.abort()}})}}return n.\u0275fac=function(e){return new(e||n)(b(PD))},n.\u0275prov=k({token:n,factory:n.\u0275fac}),n})();const Um=new P("XSRF_COOKIE_NAME"),zm=new P("XSRF_HEADER_NAME");class pM{}let T2=(()=>{class n{constructor(e,i,r){this.doc=e,this.platform=i,this.cookieName=r,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=xD(e,this.cookieName),this.lastCookieString=e),this.lastToken}}return n.\u0275fac=function(e){return new(e||n)(b(ae),b($n),b(Um))},n.\u0275prov=k({token:n,factory:n.\u0275fac}),n})(),Wm=(()=>{class n{constructor(e,i){this.tokenService=e,this.headerName=i}intercept(e,i){const r=e.url.toLowerCase();if("GET"===e.method||"HEAD"===e.method||r.startsWith("http://")||r.startsWith("https://"))return i.handle(e);const o=this.tokenService.getToken();return null!==o&&!e.headers.has(this.headerName)&&(e=e.clone({headers:e.headers.set(this.headerName,o)})),i.handle(e)}}return n.\u0275fac=function(e){return new(e||n)(b(pM),b(zm))},n.\u0275prov=k({token:n,factory:n.\u0275fac}),n})(),I2=(()=>{class n{constructor(e,i){this.backend=e,this.injector=i,this.chain=null}handle(e){if(null===this.chain){const i=this.injector.get(hM,[]);this.chain=i.reduceRight((r,o)=>new dM(r,o),this.backend)}return this.chain.handle(e)}}return n.\u0275fac=function(e){return new(e||n)(b(Hm),b(Nt))},n.\u0275prov=k({token:n,factory:n.\u0275fac}),n})(),k2=(()=>{class n{static disable(){return{ngModule:n,providers:[{provide:Wm,useClass:E2}]}}static withOptions(e={}){return{ngModule:n,providers:[e.cookieName?{provide:Um,useValue:e.cookieName}:[],e.headerName?{provide:zm,useValue:e.headerName}:[]]}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({providers:[Wm,{provide:hM,useExisting:Wm,multi:!0},{provide:pM,useClass:T2},{provide:Um,useValue:"XSRF-TOKEN"},{provide:zm,useValue:"X-XSRF-TOKEN"}]}),n})(),F2=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({providers:[Ha,{provide:oM,useClass:I2},fM,{provide:Hm,useExisting:fM}],imports:[k2.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]}),n})();class jn extends ce{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const e=super._subscribe(t);return!e.closed&&t.next(this._value),e}getValue(){const{hasError:t,thrownError:e,_value:i}=this;if(t)throw e;return this._throwIfClosed(),i}next(t){super.next(this._value=t)}}function gM(n){for(let e in n){var t;let i=null!==(t=n[e])&&void 0!==t?t:"";switch(e){case"display":n.display="flex"===i?["-webkit-flex","flex"]:"inline-flex"===i?["-webkit-inline-flex","inline-flex"]:i;break;case"align-items":case"align-self":case"align-content":case"flex":case"flex-basis":case"flex-flow":case"flex-grow":case"flex-shrink":case"flex-wrap":case"justify-content":n["-webkit-"+e]=i;break;case"flex-direction":n["-webkit-flex-direction"]=i,n["flex-direction"]=i;break;case"order":n.order=n["-webkit-"+e]=isNaN(+i)?"0":i}}return n}const qm="inline",dh=["row","column","row-reverse","column-reverse"];function mM(n){let[t,e,i]=_M(n);return function O2(n,t=null,e=!1){return{display:e?"inline-flex":"flex","box-sizing":"border-box","flex-direction":n,"flex-wrap":t||null}}(t,e,i)}function _M(n){var t,e;n=null!==(t=null===(e=n)||void 0===e?void 0:e.toLowerCase())&&void 0!==t?t:"";let[i,r,o]=n.split(" ");return dh.find(s=>s===i)||(i=dh[0]),r===qm&&(r=o!==qm?o:"",o=qm),[i,R2(r),!!o]}function Mc(n){let[t]=_M(n);return t.indexOf("row")>-1}function R2(n){if(n)switch(n.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":n="wrap-reverse";break;case"no":case"none":case"nowrap":n="nowrap";break;default:n="wrap"}return n}function Fr(n,...t){if(null==n)throw TypeError("Cannot convert undefined or null to object");for(let e of t)if(null!=e)for(let i in e)e.hasOwnProperty(i)&&(n[i]=e[i]);return n}function ut(n,t,e){const i=be(n)||t||e?{next:n,error:t,complete:e}:n;return i?qe((r,o)=>{var s;null===(s=i.subscribe)||void 0===s||s.call(i);let a=!0;r.subscribe(Ye(o,l=>{var c;null===(c=i.next)||void 0===c||c.call(i,l),o.next(l)},()=>{var l;a=!1,null===(l=i.complete)||void 0===l||l.call(i),o.complete()},l=>{var c;a=!1,null===(c=i.error)||void 0===c||c.call(i,l),o.error(l)},()=>{var l,c;a&&(null===(l=i.unsubscribe)||void 0===l||l.call(i)),null===(c=i.finalize)||void 0===c||c.call(i)}))}):pi}const L2={provide:nm,useFactory:function P2(n,t){return()=>{if(tr(t)){const e=Array.from(n.querySelectorAll(`[class*=${yM}]`)),i=/\bflex-layout-.+?\b/g;e.forEach(r=>{r.classList.contains(`${yM}ssr`)&&r.parentNode?r.parentNode.removeChild(r):r.className.replace(i,"")})}}},deps:[ae,$n],multi:!0},yM="flex-layout-";let Ym=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({providers:[L2]}),n})();class is{constructor(t=!1,e="all",i="",r="",o=0){this.matches=t,this.mediaQuery=e,this.mqAlias=i,this.suffix=r,this.priority=o,this.property=""}clone(){return new is(this.matches,this.mediaQuery,this.mqAlias,this.suffix)}}let N2=(()=>{class n{constructor(){this.stylesheet=new Map}addStyleToElement(e,i,r){const o=this.stylesheet.get(e);o?o.set(i,r):this.stylesheet.set(e,new Map([[i,r]]))}clearStyles(){this.stylesheet.clear()}getStyleForElement(e,i){const r=this.stylesheet.get(e);let o="";if(r){const s=r.get(i);("number"==typeof s||"string"==typeof s)&&(o=s+"")}return o}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const Qm={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[],multiplier:void 0,defaultUnit:"px",detectLayoutDisplay:!1},Ri=new P("Flex Layout token, config options for the library",{providedIn:"root",factory:()=>Qm}),$a=new P("FlexLayoutServerLoaded",{providedIn:"root",factory:()=>!1}),Km=new P("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:()=>null});function vM(n,t){var e,i;return n=null!==(e=null===(i=n)||void 0===i?void 0:i.clone())&&void 0!==e?e:new is,t&&(n.mqAlias=t.alias,n.mediaQuery=t.mediaQuery,n.suffix=t.suffix,n.priority=t.priority),n}class dt{constructor(){this.shouldCache=!0}sideEffect(t,e,i){}}let Xe=(()=>{class n{constructor(e,i,r,o){this._serverStylesheet=e,this._serverModuleLoaded=i,this._platformId=r,this.layoutConfig=o}applyStyleToElement(e,i,r=null){let o={};"string"==typeof i&&(o[i]=r,i=o),o=this.layoutConfig.disableVendorPrefixes?i:gM(i),this._applyMultiValueStyleToElement(o,e)}applyStyleToElements(e,i=[]){const r=this.layoutConfig.disableVendorPrefixes?e:gM(e);i.forEach(o=>{this._applyMultiValueStyleToElement(r,o)})}getFlowDirection(e){const i="flex-direction";let r=this.lookupStyle(e,i);return[r||"row",this.lookupInlineStyle(e,i)||nr(this._platformId)&&this._serverModuleLoaded?r:""]}hasWrap(e){return"wrap"===this.lookupStyle(e,"flex-wrap")}lookupAttributeValue(e,i){var r;return null!==(r=e.getAttribute(i))&&void 0!==r?r:""}lookupInlineStyle(e,i){return tr(this._platformId)?e.style.getPropertyValue(i):function V2(n,t){var e;return null!==(e=bM(n)[t])&&void 0!==e?e:""}(e,i)}lookupStyle(e,i,r=!1){let o="";return e&&((o=this.lookupInlineStyle(e,i))||(tr(this._platformId)?r||(o=getComputedStyle(e).getPropertyValue(i)):this._serverModuleLoaded&&(o=this._serverStylesheet.getStyleForElement(e,i)))),o?o.trim():""}_applyMultiValueStyleToElement(e,i){Object.keys(e).sort().forEach(r=>{const o=e[r],s=Array.isArray(o)?o:[o];s.sort();for(let a of s)a=a?a+"":"",tr(this._platformId)||!this._serverModuleLoaded?tr(this._platformId)?i.style.setProperty(r,a):B2(i,r,a):this._serverStylesheet.addStyleToElement(i,r,a)})}}return n.\u0275fac=function(e){return new(e||n)(b(N2),b($a),b($n),b(Ri))},n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function B2(n,t,e){t=t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();const i=bM(n);i[t]=e??"",function H2(n,t){let e="";for(const i in t)t[i]&&(e+=`${i}:${t[i]};`);n.setAttribute("style",e)}(n,i)}function bM(n){const t={},e=n.getAttribute("style");if(e){const i=e.split(/;+/g);for(let r=0;r0){const s=o.indexOf(":");if(-1===s)throw new Error(`Invalid CSS style: ${o}`);t[o.substr(0,s).trim()]=o.substr(s+1).trim()}}}return t}function Ec(n,t){return(t&&t.priority||0)-(n&&n.priority||0)}function $2(n,t){return(n.priority||0)-(t.priority||0)}let Zm=(()=>{class n{constructor(e,i,r){this._zone=e,this._platformId=i,this._document=r,this.source=new jn(new is(!0)),this.registry=new Map,this.pendingRemoveListenerFns=[],this._observable$=this.source.asObservable()}get activations(){const e=[];return this.registry.forEach((i,r)=>{i.matches&&e.push(r)}),e}isActive(e){var i;return null!==(i=this.registry.get(e)?.matches)&&void 0!==i?i:this.registerQuery(e).some(o=>o.matches)}observe(e,i=!1){if(e&&e.length){const r=this._observable$.pipe(It(s=>!i||e.indexOf(s.mediaQuery)>-1));return wt(new Re(s=>{const a=this.registerQuery(e);if(a.length){const l=a.pop();a.forEach(c=>{s.next(c)}),this.source.next(l)}s.complete()}),r)}return this._observable$}registerQuery(e){const i=Array.isArray(e)?e:[e],r=[];return function j2(n,t){const e=n.filter(i=>!CM[i]);if(e.length>0){const i=e.join(", ");try{const r=t.createElement("style");r.setAttribute("type","text/css"),r.styleSheet||r.appendChild(t.createTextNode(`\n/*\n @angular/flex-layout - workaround for possible browser quirk with mediaQuery listeners\n see http://bit.ly/2sd4HMP\n*/\n@media ${i} {.fx-query-test{ }}\n`)),t.head.appendChild(r),e.forEach(o=>CM[o]=r)}catch(r){console.error(r)}}}(i,this._document),i.forEach(o=>{const s=l=>{this._zone.run(()=>this.source.next(new is(l.matches,o)))};let a=this.registry.get(o);a||(a=this.buildMQL(o),a.addListener(s),this.pendingRemoveListenerFns.push(()=>a.removeListener(s)),this.registry.set(o,a)),a.matches&&r.push(new is(!0,o))}),r}ngOnDestroy(){let e;for(;e=this.pendingRemoveListenerFns.pop();)e()}buildMQL(e){return function G2(n,t){return t&&window.matchMedia("all").addListener?window.matchMedia(n):{matches:"all"===n||""===n,media:n,addListener:()=>{},removeListener:()=>{},onchange:null,addEventListener(){},removeEventListener(){},dispatchEvent:()=>!1}}(e,tr(this._platformId))}}return n.\u0275fac=function(e){return new(e||n)(b(de),b($n),b(ae))},n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const CM={},U2=[{alias:"xs",mediaQuery:"screen and (min-width: 0px) and (max-width: 599.98px)",priority:1e3},{alias:"sm",mediaQuery:"screen and (min-width: 600px) and (max-width: 959.98px)",priority:900},{alias:"md",mediaQuery:"screen and (min-width: 960px) and (max-width: 1279.98px)",priority:800},{alias:"lg",mediaQuery:"screen and (min-width: 1280px) and (max-width: 1919.98px)",priority:700},{alias:"xl",mediaQuery:"screen and (min-width: 1920px) and (max-width: 4999.98px)",priority:600},{alias:"lt-sm",overlapping:!0,mediaQuery:"screen and (max-width: 599.98px)",priority:950},{alias:"lt-md",overlapping:!0,mediaQuery:"screen and (max-width: 959.98px)",priority:850},{alias:"lt-lg",overlapping:!0,mediaQuery:"screen and (max-width: 1279.98px)",priority:750},{alias:"lt-xl",overlapping:!0,priority:650,mediaQuery:"screen and (max-width: 1919.98px)"},{alias:"gt-xs",overlapping:!0,mediaQuery:"screen and (min-width: 600px)",priority:-950},{alias:"gt-sm",overlapping:!0,mediaQuery:"screen and (min-width: 960px)",priority:-850},{alias:"gt-md",overlapping:!0,mediaQuery:"screen and (min-width: 1280px)",priority:-750},{alias:"gt-lg",overlapping:!0,mediaQuery:"screen and (min-width: 1920px)",priority:-650}],wM="(orientation: portrait) and (max-width: 599.98px)",xM="(orientation: landscape) and (max-width: 959.98px)",DM="(orientation: portrait) and (min-width: 600px) and (max-width: 839.98px)",MM="(orientation: landscape) and (min-width: 960px) and (max-width: 1279.98px)",EM="(orientation: portrait) and (min-width: 840px)",SM="(orientation: landscape) and (min-width: 1280px)",Rr={HANDSET:`${wM}, ${xM}`,TABLET:`${DM} , ${MM}`,WEB:`${EM}, ${SM} `,HANDSET_PORTRAIT:`${wM}`,TABLET_PORTRAIT:`${DM} `,WEB_PORTRAIT:`${EM}`,HANDSET_LANDSCAPE:`${xM}`,TABLET_LANDSCAPE:`${MM}`,WEB_LANDSCAPE:`${SM}`},z2=[{alias:"handset",priority:2e3,mediaQuery:Rr.HANDSET},{alias:"handset.landscape",priority:2e3,mediaQuery:Rr.HANDSET_LANDSCAPE},{alias:"handset.portrait",priority:2e3,mediaQuery:Rr.HANDSET_PORTRAIT},{alias:"tablet",priority:2100,mediaQuery:Rr.TABLET},{alias:"tablet.landscape",priority:2100,mediaQuery:Rr.TABLET_LANDSCAPE},{alias:"tablet.portrait",priority:2100,mediaQuery:Rr.TABLET_PORTRAIT},{alias:"web",priority:2200,mediaQuery:Rr.WEB,overlapping:!0},{alias:"web.landscape",priority:2200,mediaQuery:Rr.WEB_LANDSCAPE,overlapping:!0},{alias:"web.portrait",priority:2200,mediaQuery:Rr.WEB_PORTRAIT,overlapping:!0}],W2=/(\.|-|_)/g;function q2(n){let t=n.length>0?n.charAt(0):"",e=n.length>1?n.slice(1):"";return t.toUpperCase()+e}const Z2=new P("Token (@angular/flex-layout) Breakpoints",{providedIn:"root",factory:()=>{const n=Ue(Km),t=Ue(Ri),e=[].concat.apply([],(n||[]).map(r=>Array.isArray(r)?r:[r]));return function K2(n,t=[]){const e={};return n.forEach(i=>{e[i.alias]=i}),t.forEach(i=>{e[i.alias]?Fr(e[i.alias],i):e[i.alias]=i}),function Q2(n){return n.forEach(t=>{t.suffix||(t.suffix=function Y2(n){return n.replace(W2,"|").split("|").map(q2).join("")}(t.alias),t.overlapping=!!t.overlapping)}),n}(Object.keys(e).map(i=>e[i]))}((t.disableDefaultBps?[]:U2).concat(t.addOrientationBps?z2:[]),e)}});let Xm=(()=>{class n{constructor(e){this.findByMap=new Map,this.items=[...e].sort($2)}findByAlias(e){return e?this.findWithPredicate(e,i=>i.alias===e):null}findByQuery(e){return this.findWithPredicate(e,i=>i.mediaQuery===e)}get overlappings(){return this.items.filter(e=>e.overlapping)}get aliases(){return this.items.map(e=>e.alias)}get suffixes(){return this.items.map(e=>{var i;return null!==(i=e?.suffix)&&void 0!==i?i:""})}findWithPredicate(e,i){var r;let o=this.findByMap.get(e);var s;return o||(o=null!==(s=this.items.find(i))&&void 0!==s?s:null,this.findByMap.set(e,o)),null!==(r=o)&&void 0!==r?r:null}}return n.\u0275fac=function(e){return new(e||n)(b(Z2))},n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const ja="print",X2={alias:ja,mediaQuery:ja,priority:1e3};let J2=(()=>{class n{constructor(e,i,r){this.breakpoints=e,this.layoutConfig=i,this._document=r,this.registeredBeforeAfterPrintHooks=!1,this.isPrintingBeforeAfterEvent=!1,this.beforePrintEventListeners=[],this.afterPrintEventListeners=[],this.formerActivations=null,this.isPrinting=!1,this.queue=new eH,this.deactivations=[]}withPrintQuery(e){return[...e,ja]}isPrintEvent(e){return e.mediaQuery.startsWith(ja)}get printAlias(){var e;return[...null!==(e=this.layoutConfig.printWithBreakpoints)&&void 0!==e?e:[]]}get printBreakPoints(){return this.printAlias.map(e=>this.breakpoints.findByAlias(e)).filter(e=>null!==e)}getEventBreakpoints({mediaQuery:e}){const i=this.breakpoints.findByQuery(e);return(i?[...this.printBreakPoints,i]:this.printBreakPoints).sort(Ec)}updateEvent(e){let i=this.breakpoints.findByQuery(e.mediaQuery);var r,o;return this.isPrintEvent(e)&&(i=this.getEventBreakpoints(e)[0],e.mediaQuery=null!==(r=null===(o=i)||void 0===o?void 0:o.mediaQuery)&&void 0!==r?r:""),vM(e,i)}registerBeforeAfterPrintHooks(e){if(!this._document.defaultView||this.registeredBeforeAfterPrintHooks)return;this.registeredBeforeAfterPrintHooks=!0;const i=()=>{this.isPrinting||(this.isPrintingBeforeAfterEvent=!0,this.startPrinting(e,this.getEventBreakpoints(new is(!0,ja))),e.updateStyles())},r=()=>{this.isPrintingBeforeAfterEvent=!1,this.isPrinting&&(this.stopPrinting(e),e.updateStyles())};this._document.defaultView.addEventListener("beforeprint",i),this._document.defaultView.addEventListener("afterprint",r),this.beforePrintEventListeners.push(i),this.afterPrintEventListeners.push(r)}interceptEvents(e){return i=>{this.isPrintEvent(i)?i.matches&&!this.isPrinting?(this.startPrinting(e,this.getEventBreakpoints(i)),e.updateStyles()):!i.matches&&this.isPrinting&&!this.isPrintingBeforeAfterEvent&&(this.stopPrinting(e),e.updateStyles()):this.collectActivations(e,i)}}blockPropagation(){return e=>!(this.isPrinting||this.isPrintEvent(e))}startPrinting(e,i){this.isPrinting=!0,this.formerActivations=e.activatedBreakpoints,e.activatedBreakpoints=this.queue.addPrintBreakpoints(i)}stopPrinting(e){e.activatedBreakpoints=this.deactivations,this.deactivations=[],this.formerActivations=null,this.queue.clear(),this.isPrinting=!1}collectActivations(e,i){if(!this.isPrinting||this.isPrintingBeforeAfterEvent){if(!this.isPrintingBeforeAfterEvent)return void(this.deactivations=[]);if(!i.matches){const r=this.breakpoints.findByQuery(i.mediaQuery);if(r){const o=this.formerActivations&&this.formerActivations.includes(r),s=!this.formerActivations&&e.activatedBreakpoints.includes(r);(o||s)&&(this.deactivations.push(r),this.deactivations.sort(Ec))}}}}ngOnDestroy(){this._document.defaultView&&(this.beforePrintEventListeners.forEach(e=>this._document.defaultView.removeEventListener("beforeprint",e)),this.afterPrintEventListeners.forEach(e=>this._document.defaultView.removeEventListener("afterprint",e)))}}return n.\u0275fac=function(e){return new(e||n)(b(Xm),b(Ri),b(ae))},n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class eH{constructor(){this.printBreakpoints=[]}addPrintBreakpoints(t){return t.push(X2),t.sort(Ec),t.forEach(e=>this.addBreakpoint(e)),this.printBreakpoints}addBreakpoint(t){t&&void 0===this.printBreakpoints.find(i=>i.mediaQuery===t.mediaQuery)&&(this.printBreakpoints=function tH(n){var t;return null!==(t=n?.mediaQuery.startsWith(ja))&&void 0!==t&&t}(t)?[t,...this.printBreakpoints]:[...this.printBreakpoints,t])}clear(){this.printBreakpoints=[]}}let tt=(()=>{class n{constructor(e,i,r){this.matchMedia=e,this.breakpoints=i,this.hook=r,this._useFallbacks=!0,this._activatedBreakpoints=[],this.elementMap=new Map,this.elementKeyMap=new WeakMap,this.watcherMap=new WeakMap,this.updateMap=new WeakMap,this.clearMap=new WeakMap,this.subject=new ce,this.observeActivations()}get activatedAlias(){var e,i;return null!==(e=null===(i=this.activatedBreakpoints[0])||void 0===i?void 0:i.alias)&&void 0!==e?e:""}set activatedBreakpoints(e){this._activatedBreakpoints=[...e]}get activatedBreakpoints(){return[...this._activatedBreakpoints]}set useFallbacks(e){this._useFallbacks=e}onMediaChange(e){const i=this.findByQuery(e.mediaQuery);if(i){e=vM(e,i);const r=this.activatedBreakpoints.indexOf(i);e.matches&&-1===r?(this._activatedBreakpoints.push(i),this._activatedBreakpoints.sort(Ec),this.updateStyles()):!e.matches&&-1!==r&&(this._activatedBreakpoints.splice(r,1),this._activatedBreakpoints.sort(Ec),this.updateStyles())}}init(e,i,r,o,s=[]){AM(this.updateMap,e,i,r),AM(this.clearMap,e,i,o),this.buildElementKeyMap(e,i),this.watchExtraTriggers(e,i,s)}getValue(e,i,r){const o=this.elementMap.get(e);if(o){const s=void 0!==r?o.get(r):this.getActivatedValues(o,i);if(s)return s.get(i)}}hasValue(e,i){const r=this.elementMap.get(e);if(r){const o=this.getActivatedValues(r,i);if(o)return void 0!==o.get(i)||!1}return!1}setValue(e,i,r,o){let s=this.elementMap.get(e);if(s){var a;const c=(null!==(a=s.get(o))&&void 0!==a?a:new Map).set(i,r);s.set(o,c),this.elementMap.set(e,s)}else s=(new Map).set(o,(new Map).set(i,r)),this.elementMap.set(e,s);const l=this.getValue(e,i);void 0!==l&&this.updateElement(e,i,l)}trackValue(e,i){return this.subject.asObservable().pipe(It(r=>r.element===e&&r.key===i))}updateStyles(){this.elementMap.forEach((e,i)=>{const r=new Set(this.elementKeyMap.get(i));let o=this.getActivatedValues(e);o&&o.forEach((s,a)=>{this.updateElement(i,a,s),r.delete(a)}),r.forEach(s=>{if(o=this.getActivatedValues(e,s),o){const a=o.get(s);this.updateElement(i,s,a)}else this.clearElement(i,s)})})}clearElement(e,i){const r=this.clearMap.get(e);if(r){const o=r.get(i);o&&(o(),this.subject.next({element:e,key:i,value:""}))}}updateElement(e,i,r){const o=this.updateMap.get(e);if(o){const s=o.get(i);s&&(s(r),this.subject.next({element:e,key:i,value:r}))}}releaseElement(e){const i=this.watcherMap.get(e);i&&(i.forEach(o=>o.unsubscribe()),this.watcherMap.delete(e));const r=this.elementMap.get(e);r&&(r.forEach((o,s)=>r.delete(s)),this.elementMap.delete(e))}triggerUpdate(e,i){const r=this.elementMap.get(e);if(r){const o=this.getActivatedValues(r,i);o&&(i?this.updateElement(e,i,o.get(i)):o.forEach((s,a)=>this.updateElement(e,a,s)))}}buildElementKeyMap(e,i){let r=this.elementKeyMap.get(e);r||(r=new Set,this.elementKeyMap.set(e,r)),r.add(i)}watchExtraTriggers(e,i,r){if(r&&r.length){let o=this.watcherMap.get(e);if(o||(o=new Map,this.watcherMap.set(e,o)),!o.get(i)){const a=wt(...r).subscribe(()=>{const l=this.getValue(e,i);this.updateElement(e,i,l)});o.set(i,a)}}}findByQuery(e){return this.breakpoints.findByQuery(e)}getActivatedValues(e,i){for(let o=0;oi.mediaQuery);this.hook.registerBeforeAfterPrintHooks(this),this.matchMedia.observe(this.hook.withPrintQuery(e)).pipe(ut(this.hook.interceptEvents(this)),It(this.hook.blockPropagation())).subscribe(this.onMediaChange.bind(this))}}return n.\u0275fac=function(e){return new(e||n)(b(Zm),b(Xm),b(J2))},n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function AM(n,t,e,i){if(void 0!==i){var r;const o=null!==(r=n.get(t))&&void 0!==r?r:new Map;o.set(e,i),n.set(t,o)}}let rt=(()=>{class n{constructor(e,i,r,o){this.elementRef=e,this.styleBuilder=i,this.styler=r,this.marshal=o,this.DIRECTIVE_KEY="",this.inputs=[],this.mru={},this.destroySubject=new ce,this.styleCache=new Map}get parentElement(){return this.elementRef.nativeElement.parentElement}get nativeElement(){return this.elementRef.nativeElement}get activatedValue(){return this.marshal.getValue(this.nativeElement,this.DIRECTIVE_KEY)}set activatedValue(e){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,e,this.marshal.activatedAlias)}ngOnChanges(e){Object.keys(e).forEach(i=>{if(-1!==this.inputs.indexOf(i)){const r=i.split(".").slice(1).join(".");this.setValue(e[i].currentValue,r)}})}ngOnDestroy(){this.destroySubject.next(),this.destroySubject.complete(),this.marshal.releaseElement(this.nativeElement)}init(e=[]){this.marshal.init(this.elementRef.nativeElement,this.DIRECTIVE_KEY,this.updateWithValue.bind(this),this.clearStyles.bind(this),e)}addStyles(e,i){const r=this.styleBuilder,o=r.shouldCache;let s=this.styleCache.get(e);(!s||!o)&&(s=r.buildStyles(e,i),o&&this.styleCache.set(e,s)),this.mru={...s},this.applyStyleToElement(s),r.sideEffect(e,s,i)}clearStyles(){Object.keys(this.mru).forEach(e=>{this.mru[e]=""}),this.applyStyleToElement(this.mru),this.mru={},this.currentValue=void 0}triggerUpdate(){this.marshal.triggerUpdate(this.nativeElement,this.DIRECTIVE_KEY)}getFlexFlowDirection(e,i=!1){if(e){const[r,o]=this.styler.getFlowDirection(e);if(!o&&i){const s=mM(r);this.styler.applyStyleToElements(s,[e])}return r.trim()}return"row"}hasWrap(e){return this.styler.hasWrap(e)}applyStyleToElement(e,i,r=this.nativeElement){this.styler.applyStyleToElement(r,e,i)}setValue(e,i){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,e,i)}updateWithValue(e){this.currentValue!==e&&(this.addStyles(e),this.currentValue=e)}}return n.\u0275fac=function(e){return new(e||n)(f($),f(dt),f(Xe),f(tt))},n.\u0275dir=T({type:n,features:[nt]}),n})();function TM(n,t="1",e="1"){let i=[t,e,n],r=n.indexOf("calc");if(r>0){i[2]=IM(n.substring(r).trim());let o=n.substr(0,r).trim().split(" ");2==o.length&&(i[0]=o[0],i[1]=o[1])}else if(0==r)i[2]=IM(n.trim());else{let o=n.split(" ");i=3===o.length?o:[t,e,n]}return i}function IM(n){return n.replace(/[\s]/g,"").replace(/[\/\*\+\-]/g," $& ")}function hh(n,t){if(void 0===t)return n;const e=i=>{const r=+i.slice(0,-"x".length);return n.endsWith("x")&&!isNaN(r)?`${r*t.value}${t.unit}`:n};return n.includes(" ")?n.split(" ").map(e).join(" "):e(n)}function Ae(n){return null!=n&&"false"!=`${n}`}function po(n,t=0){return function rH(n){return!isNaN(parseFloat(n))&&!isNaN(Number(n))}(n)?Number(n):t}function fh(n){return Array.isArray(n)?n:[n]}function Ct(n){return null==n?"":"string"==typeof n?n:`${n}px`}function Or(n){return n instanceof $?n.nativeElement:n}function Ge(n){return qe((t,e)=>{jt(n).subscribe(Ye(e,()=>e.complete(),To)),!e.closed&&t.subscribe(e)})}let uH=(()=>{class n extends rt{constructor(e,i,r,o,s,a,l){super(e,null,i,r),this.ngClassInstance=l,this.DIRECTIVE_KEY="ngClass",this.ngClassInstance||(this.ngClassInstance=new ns(o,s,e,a)),this.init(),this.setValue("","")}set klass(e){this.ngClassInstance.klass=e,this.setValue(e,"")}updateWithValue(e){this.ngClassInstance.ngClass=e,this.ngClassInstance.ngDoCheck()}ngDoCheck(){this.ngClassInstance.ngDoCheck()}}return n.\u0275fac=function(e){return new(e||n)(f($),f(Xe),f(tt),f(mc),f(es),f(Wt),f(ns,10))},n.\u0275dir=T({type:n,inputs:{klass:["class","klass"]},features:[O]}),n})();const dH=["ngClass","ngClass.xs","ngClass.sm","ngClass.md","ngClass.lg","ngClass.xl","ngClass.lt-sm","ngClass.lt-md","ngClass.lt-lg","ngClass.lt-xl","ngClass.gt-xs","ngClass.gt-sm","ngClass.gt-md","ngClass.gt-lg"];let Jm=(()=>{class n extends uH{constructor(){super(...arguments),this.inputs=dH}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=U(n)))(i||n)}}(),n.\u0275dir=T({type:n,selectors:[["","ngClass",""],["","ngClass.xs",""],["","ngClass.sm",""],["","ngClass.md",""],["","ngClass.lg",""],["","ngClass.xl",""],["","ngClass.lt-sm",""],["","ngClass.lt-md",""],["","ngClass.lt-lg",""],["","ngClass.lt-xl",""],["","ngClass.gt-xs",""],["","ngClass.gt-sm",""],["","ngClass.gt-md",""],["","ngClass.gt-lg",""]],inputs:{ngClass:"ngClass","ngClass.xs":"ngClass.xs","ngClass.sm":"ngClass.sm","ngClass.md":"ngClass.md","ngClass.lg":"ngClass.lg","ngClass.xl":"ngClass.xl","ngClass.lt-sm":"ngClass.lt-sm","ngClass.lt-md":"ngClass.lt-md","ngClass.lt-lg":"ngClass.lt-lg","ngClass.lt-xl":"ngClass.lt-xl","ngClass.gt-xs":"ngClass.gt-xs","ngClass.gt-sm":"ngClass.gt-sm","ngClass.gt-md":"ngClass.gt-md","ngClass.gt-lg":"ngClass.gt-lg"},features:[O]}),n})(),hH=(()=>{class n extends dt{buildStyles(e,i){return{display:"true"===e?i.display||(i.isServer?"initial":""):"none"}}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=U(n)))(i||n)}}(),n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),fH=(()=>{class n extends rt{constructor(e,i,r,o,s,a,l){super(e,i,r,o),this.layoutConfig=s,this.platformId=a,this.serverModuleLoaded=l,this.DIRECTIVE_KEY="show-hide",this.display="",this.hasLayout=!1,this.hasFlexChild=!1}ngAfterViewInit(){this.trackExtraTriggers();const e=Array.from(this.nativeElement.children);for(let r=0;r{if(-1!==this.inputs.indexOf(i)){const r=i.split("."),o=r.slice(1).join("."),s=e[i].currentValue;let a=""===s||0!==s&&Ae(s);"fxHide"===r[0]&&(a=!a),this.setValue(a,o)}})}trackExtraTriggers(){this.hasLayout=this.marshal.hasValue(this.nativeElement,"layout"),["layout","layout-align"].forEach(e=>{this.marshal.trackValue(this.nativeElement,e).pipe(Ge(this.destroySubject)).subscribe(this.triggerUpdate.bind(this))})}getDisplayStyle(){return this.hasLayout||this.hasFlexChild&&this.layoutConfig.addFlexToParent?"flex":this.styler.lookupStyle(this.nativeElement,"display",!0)}updateWithValue(e=!0){if(""===e)return;const i=nr(this.platformId);this.addStyles(e?"true":"false",{display:this.display,isServer:i}),i&&this.serverModuleLoaded&&this.nativeElement.style.setProperty("display",""),this.marshal.triggerUpdate(this.parentElement,"layout-gap")}}return n.\u0275fac=function(e){return new(e||n)(f($),f(hH),f(Xe),f(tt),f(Ri),f($n),f($a))},n.\u0275dir=T({type:n,features:[O,nt]}),n})();const e_=new WeakMap,pH=["fxShow","fxShow.print","fxShow.xs","fxShow.sm","fxShow.md","fxShow.lg","fxShow.xl","fxShow.lt-sm","fxShow.lt-md","fxShow.lt-lg","fxShow.lt-xl","fxShow.gt-xs","fxShow.gt-sm","fxShow.gt-md","fxShow.gt-lg","fxHide","fxHide.print","fxHide.xs","fxHide.sm","fxHide.md","fxHide.lg","fxHide.xl","fxHide.lt-sm","fxHide.lt-md","fxHide.lt-lg","fxHide.lt-xl","fxHide.gt-xs","fxHide.gt-sm","fxHide.gt-md","fxHide.gt-lg"];let rs=(()=>{class n extends fH{constructor(){super(...arguments),this.inputs=pH}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=U(n)))(i||n)}}(),n.\u0275dir=T({type:n,selectors:[["","fxShow",""],["","fxShow.print",""],["","fxShow.xs",""],["","fxShow.sm",""],["","fxShow.md",""],["","fxShow.lg",""],["","fxShow.xl",""],["","fxShow.lt-sm",""],["","fxShow.lt-md",""],["","fxShow.lt-lg",""],["","fxShow.lt-xl",""],["","fxShow.gt-xs",""],["","fxShow.gt-sm",""],["","fxShow.gt-md",""],["","fxShow.gt-lg",""],["","fxHide",""],["","fxHide.print",""],["","fxHide.xs",""],["","fxHide.sm",""],["","fxHide.md",""],["","fxHide.lg",""],["","fxHide.xl",""],["","fxHide.lt-sm",""],["","fxHide.lt-md",""],["","fxHide.lt-lg",""],["","fxHide.lt-xl",""],["","fxHide.gt-xs",""],["","fxHide.gt-sm",""],["","fxHide.gt-md",""],["","fxHide.gt-lg",""]],inputs:{fxShow:"fxShow","fxShow.print":"fxShow.print","fxShow.xs":"fxShow.xs","fxShow.sm":"fxShow.sm","fxShow.md":"fxShow.md","fxShow.lg":"fxShow.lg","fxShow.xl":"fxShow.xl","fxShow.lt-sm":"fxShow.lt-sm","fxShow.lt-md":"fxShow.lt-md","fxShow.lt-lg":"fxShow.lt-lg","fxShow.lt-xl":"fxShow.lt-xl","fxShow.gt-xs":"fxShow.gt-xs","fxShow.gt-sm":"fxShow.gt-sm","fxShow.gt-md":"fxShow.gt-md","fxShow.gt-lg":"fxShow.gt-lg",fxHide:"fxHide","fxHide.print":"fxHide.print","fxHide.xs":"fxHide.xs","fxHide.sm":"fxHide.sm","fxHide.md":"fxHide.md","fxHide.lg":"fxHide.lg","fxHide.xl":"fxHide.xl","fxHide.lt-sm":"fxHide.lt-sm","fxHide.lt-md":"fxHide.lt-md","fxHide.lt-lg":"fxHide.lt-lg","fxHide.lt-xl":"fxHide.lt-xl","fxHide.gt-xs":"fxHide.gt-xs","fxHide.gt-sm":"fxHide.gt-sm","fxHide.gt-md":"fxHide.gt-md","fxHide.gt-lg":"fxHide.gt-lg"},features:[O]}),n})();class gH{constructor(t,e,i=!0){this.key=t,this.value=e,this.key=i?t.replace(/['"]/g,"").trim():t.trim(),this.value=i?e.replace(/['"]/g,"").trim():e.trim(),this.value=this.value.replace(/;/,"")}}function FM(n){let t=typeof n;return"object"===t?n.constructor===Array?"array":n.constructor===Set?"set":"object":t}function OM(n){const[t,...e]=n.split(":");return new gH(t,e.join(":"))}function PM(n,t){return t.key&&(n[t.key]=t.value),n}let yH=(()=>{class n extends rt{constructor(e,i,r,o,s,a,l,c,u){var d;super(e,null,i,r),this.sanitizer=o,this.ngStyleInstance=l,this.DIRECTIVE_KEY="ngStyle",this.ngStyleInstance||(this.ngStyleInstance=new nh(e,s,a)),this.init();const h=null!==(d=this.nativeElement.getAttribute("style"))&&void 0!==d?d:"";this.fallbackStyles=this.buildStyleMap(h),this.isServer=c&&nr(u)}updateWithValue(e){const i=this.buildStyleMap(e);this.ngStyleInstance.ngStyle={...this.fallbackStyles,...i},this.isServer&&this.applyStyleToElement(i),this.ngStyleInstance.ngDoCheck()}clearStyles(){this.ngStyleInstance.ngStyle=this.fallbackStyles,this.ngStyleInstance.ngDoCheck()}buildStyleMap(e){const i=r=>{var o;return null!==(o=this.sanitizer.sanitize(Oe.STYLE,r))&&void 0!==o?o:""};if(e)switch(FM(e)){case"string":return NM(function mH(n,t=";"){return String(n).trim().split(t).map(e=>e.trim()).filter(e=>""!==e)}(e),i);case"array":return NM(e,i);default:return function RM(n,t){let e=[];return"set"===FM(n)?n.forEach(i=>e.push(i)):Object.keys(n).forEach(i=>{e.push(`${i}:${n[i]}`)}),function _H(n,t){return n.map(OM).filter(i=>!!i).map(i=>(t&&(i.value=t(i.value)),i)).reduce(PM,{})}(e,t)}(e,i)}return{}}ngDoCheck(){this.ngStyleInstance.ngDoCheck()}}return n.\u0275fac=function(e){return new(e||n)(f($),f(Xe),f(tt),f(xc),f(es),f(Wt),f(nh,10),f($a),f($n))},n.\u0275dir=T({type:n,features:[O]}),n})();const vH=["ngStyle","ngStyle.xs","ngStyle.sm","ngStyle.md","ngStyle.lg","ngStyle.xl","ngStyle.lt-sm","ngStyle.lt-md","ngStyle.lt-lg","ngStyle.lt-xl","ngStyle.gt-xs","ngStyle.gt-sm","ngStyle.gt-md","ngStyle.gt-lg"];let LM=(()=>{class n extends yH{constructor(){super(...arguments),this.inputs=vH}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=U(n)))(i||n)}}(),n.\u0275dir=T({type:n,selectors:[["","ngStyle",""],["","ngStyle.xs",""],["","ngStyle.sm",""],["","ngStyle.md",""],["","ngStyle.lg",""],["","ngStyle.xl",""],["","ngStyle.lt-sm",""],["","ngStyle.lt-md",""],["","ngStyle.lt-lg",""],["","ngStyle.lt-xl",""],["","ngStyle.gt-xs",""],["","ngStyle.gt-sm",""],["","ngStyle.gt-md",""],["","ngStyle.gt-lg",""]],inputs:{ngStyle:"ngStyle","ngStyle.xs":"ngStyle.xs","ngStyle.sm":"ngStyle.sm","ngStyle.md":"ngStyle.md","ngStyle.lg":"ngStyle.lg","ngStyle.xl":"ngStyle.xl","ngStyle.lt-sm":"ngStyle.lt-sm","ngStyle.lt-md":"ngStyle.lt-md","ngStyle.lt-lg":"ngStyle.lt-lg","ngStyle.lt-xl":"ngStyle.lt-xl","ngStyle.gt-xs":"ngStyle.gt-xs","ngStyle.gt-sm":"ngStyle.gt-sm","ngStyle.gt-md":"ngStyle.gt-md","ngStyle.gt-lg":"ngStyle.gt-lg"},features:[O]}),n})();function NM(n,t){return n.map(OM).filter(i=>!!i).map(i=>(t&&(i.value=t(i.value)),i)).reduce(PM,{})}let VM=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({imports:[Ym]}),n})();const bH=new P("cdk-dir-doc",{providedIn:"root",factory:function CH(){return Ue(ae)}}),wH=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let os=(()=>{class n{constructor(e){if(this.value="ltr",this.change=new he,e){const r=e.documentElement?e.documentElement.dir:null;this.value=function xH(n){var t;const e=n?.toLowerCase()||"";return"auto"===e&&typeof navigator<"u"&&null!==(t=navigator)&&void 0!==t&&t.language?wH.test(navigator.language)?"rtl":"ltr":"rtl"===e?"rtl":"ltr"}((e.body?e.body.dir:null)||r||"ltr")}}ngOnDestroy(){this.change.complete()}}return n.\u0275fac=function(e){return new(e||n)(b(bH,8))},n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Ga=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({}),n})(),DH=(()=>{class n extends dt{buildStyles(e,{display:i}){const r=mM(e);return{...r,display:"none"===i?i:r.display}}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=U(n)))(i||n)}}(),n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const MH=["fxLayout","fxLayout.xs","fxLayout.sm","fxLayout.md","fxLayout.lg","fxLayout.xl","fxLayout.lt-sm","fxLayout.lt-md","fxLayout.lt-lg","fxLayout.lt-xl","fxLayout.gt-xs","fxLayout.gt-sm","fxLayout.gt-md","fxLayout.gt-lg"];let EH=(()=>{class n extends rt{constructor(e,i,r,o,s){super(e,r,i,o),this._config=s,this.DIRECTIVE_KEY="layout",this.init()}updateWithValue(e){var i;const o=this._config.detectLayoutDisplay?this.styler.lookupStyle(this.nativeElement,"display"):"";this.styleCache=null!==(i=BM.get(o))&&void 0!==i?i:new Map,BM.set(o,this.styleCache),this.currentValue!==e&&(this.addStyles(e,{display:o}),this.currentValue=e)}}return n.\u0275fac=function(e){return new(e||n)(f($),f(Xe),f(DH),f(tt),f(Ri))},n.\u0275dir=T({type:n,features:[O]}),n})(),ai=(()=>{class n extends EH{constructor(){super(...arguments),this.inputs=MH}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=U(n)))(i||n)}}(),n.\u0275dir=T({type:n,selectors:[["","fxLayout",""],["","fxLayout.xs",""],["","fxLayout.sm",""],["","fxLayout.md",""],["","fxLayout.lg",""],["","fxLayout.xl",""],["","fxLayout.lt-sm",""],["","fxLayout.lt-md",""],["","fxLayout.lt-lg",""],["","fxLayout.lt-xl",""],["","fxLayout.gt-xs",""],["","fxLayout.gt-sm",""],["","fxLayout.gt-md",""],["","fxLayout.gt-lg",""]],inputs:{fxLayout:"fxLayout","fxLayout.xs":"fxLayout.xs","fxLayout.sm":"fxLayout.sm","fxLayout.md":"fxLayout.md","fxLayout.lg":"fxLayout.lg","fxLayout.xl":"fxLayout.xl","fxLayout.lt-sm":"fxLayout.lt-sm","fxLayout.lt-md":"fxLayout.lt-md","fxLayout.lt-lg":"fxLayout.lt-lg","fxLayout.lt-xl":"fxLayout.lt-xl","fxLayout.gt-xs":"fxLayout.gt-xs","fxLayout.gt-sm":"fxLayout.gt-sm","fxLayout.gt-md":"fxLayout.gt-md","fxLayout.gt-lg":"fxLayout.gt-lg"},features:[O]}),n})();const BM=new Map,HM={"margin-left":null,"margin-right":null,"margin-top":null,"margin-bottom":null};let SH=(()=>{class n extends dt{constructor(e,i){super(),this._styler=e,this._config=i}buildStyles(e,i){return e.endsWith(ph)?function PH(n,t){const[e,i]=n.split(" "),o=c=>`-${c}`;let s="0px",a=o(i??e),l="0px";return"rtl"===t?l=o(e):s=o(e),{margin:`0px ${s} ${a} ${l}`}}(e=hh(e=e.slice(0,e.indexOf(ph)),this._config.multiplier),i.directionality):{}}sideEffect(e,i,r){const o=r.items;if(e.endsWith(ph)){const s=function OH(n,t){const[e,i]=n.split(" ");let o="0px",a="0px";return"rtl"===t?a=e:o=e,{padding:`0px ${o} ${i??e} ${a}`}}(e=hh(e=e.slice(0,e.indexOf(ph)),this._config.multiplier),r.directionality);this._styler.applyStyleToElements(s,r.items)}else{e=hh(e,this._config.multiplier),e=this.addFallbackUnit(e);const s=o.pop(),a=function LH(n,t){const e=$M(t.directionality,t.layout),i={...HM};return i[e]=n,i}(e,r);this._styler.applyStyleToElements(a,o),this._styler.applyStyleToElements(HM,[s])}}addFallbackUnit(e){return isNaN(+e)?e:`${e}${this._config.defaultUnit}`}}return n.\u0275fac=function(e){return new(e||n)(b(Xe),b(Ri))},n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const AH=["fxLayoutGap","fxLayoutGap.xs","fxLayoutGap.sm","fxLayoutGap.md","fxLayoutGap.lg","fxLayoutGap.xl","fxLayoutGap.lt-sm","fxLayoutGap.lt-md","fxLayoutGap.lt-lg","fxLayoutGap.lt-xl","fxLayoutGap.gt-xs","fxLayoutGap.gt-sm","fxLayoutGap.gt-md","fxLayoutGap.gt-lg"];let TH=(()=>{class n extends rt{constructor(e,i,r,o,s,a){super(e,s,o,a),this.zone=i,this.directionality=r,this.styleUtils=o,this.layout="row",this.DIRECTIVE_KEY="layout-gap",this.observerSubject=new ce;const l=[this.directionality.change,this.observerSubject.asObservable()];this.init(l),this.marshal.trackValue(this.nativeElement,"layout").pipe(Ge(this.destroySubject)).subscribe(this.onLayoutChange.bind(this))}get childrenNodes(){const e=this.nativeElement.children,i=[];for(let r=e.length;r--;)i[r]=e[r];return i}ngAfterContentInit(){this.buildChildObservable(),this.triggerUpdate()}ngOnDestroy(){super.ngOnDestroy(),this.observer&&this.observer.disconnect()}onLayoutChange(e){const r=e.value.split(" ");this.layout=r[0],dh.find(o=>o===this.layout)||(this.layout="row"),this.triggerUpdate()}updateWithValue(e){const i=this.childrenNodes.filter(r=>1===r.nodeType&&this.willDisplay(r)).sort((r,o)=>{const s=+this.styler.lookupStyle(r,"order"),a=+this.styler.lookupStyle(o,"order");return isNaN(s)||isNaN(a)||s===a?0:s>a?1:-1});if(i.length>0){const r=this.directionality.value,o=this.layout;"row"===o&&"rtl"===r?this.styleCache=IH:"row"===o&&"rtl"!==r?this.styleCache=FH:"column"===o&&"rtl"===r?this.styleCache=kH:"column"===o&&"rtl"!==r&&(this.styleCache=RH),this.addStyles(e,{directionality:r,items:i,layout:o})}}clearStyles(){const e=Object.keys(this.mru).length>0,i=e?"padding":$M(this.directionality.value,this.layout);e&&super.clearStyles(),this.styleUtils.applyStyleToElements({[i]:""},this.childrenNodes)}willDisplay(e){const i=this.marshal.getValue(e,"show-hide");return!0===i||void 0===i&&"none"!==this.styleUtils.lookupStyle(e,"display")}buildChildObservable(){this.zone.runOutsideAngular(()=>{typeof MutationObserver<"u"&&(this.observer=new MutationObserver(e=>{e.some(r=>r.addedNodes&&r.addedNodes.length>0||r.removedNodes&&r.removedNodes.length>0)&&this.observerSubject.next()}),this.observer.observe(this.nativeElement,{childList:!0}))})}}return n.\u0275fac=function(e){return new(e||n)(f($),f(de),f(os),f(Xe),f(SH),f(tt))},n.\u0275dir=T({type:n,features:[O]}),n})(),ss=(()=>{class n extends TH{constructor(){super(...arguments),this.inputs=AH}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=U(n)))(i||n)}}(),n.\u0275dir=T({type:n,selectors:[["","fxLayoutGap",""],["","fxLayoutGap.xs",""],["","fxLayoutGap.sm",""],["","fxLayoutGap.md",""],["","fxLayoutGap.lg",""],["","fxLayoutGap.xl",""],["","fxLayoutGap.lt-sm",""],["","fxLayoutGap.lt-md",""],["","fxLayoutGap.lt-lg",""],["","fxLayoutGap.lt-xl",""],["","fxLayoutGap.gt-xs",""],["","fxLayoutGap.gt-sm",""],["","fxLayoutGap.gt-md",""],["","fxLayoutGap.gt-lg",""]],inputs:{fxLayoutGap:"fxLayoutGap","fxLayoutGap.xs":"fxLayoutGap.xs","fxLayoutGap.sm":"fxLayoutGap.sm","fxLayoutGap.md":"fxLayoutGap.md","fxLayoutGap.lg":"fxLayoutGap.lg","fxLayoutGap.xl":"fxLayoutGap.xl","fxLayoutGap.lt-sm":"fxLayoutGap.lt-sm","fxLayoutGap.lt-md":"fxLayoutGap.lt-md","fxLayoutGap.lt-lg":"fxLayoutGap.lt-lg","fxLayoutGap.lt-xl":"fxLayoutGap.lt-xl","fxLayoutGap.gt-xs":"fxLayoutGap.gt-xs","fxLayoutGap.gt-sm":"fxLayoutGap.gt-sm","fxLayoutGap.gt-md":"fxLayoutGap.gt-md","fxLayoutGap.gt-lg":"fxLayoutGap.gt-lg"},features:[O]}),n})();const IH=new Map,kH=new Map,FH=new Map,RH=new Map,ph=" grid";function $M(n,t){switch(t){case"column":return"margin-bottom";case"column-reverse":return"margin-top";case"row":default:return"rtl"===n?"margin-left":"margin-right";case"row-reverse":return"rtl"===n?"margin-right":"margin-left"}}let NH=(()=>{class n extends dt{constructor(e){super(),this.layoutConfig=e}buildStyles(e,i){let[r,o,...s]=e.split(" "),a=s.join(" ");const l=i.direction.indexOf("column")>-1?"column":"row",c=Mc(l)?"max-width":"max-height",u=Mc(l)?"min-width":"min-height",d=String(a).indexOf("calc")>-1,h=d||"auto"===a,g=String(a).indexOf("%")>-1&&!d,_=String(a).indexOf("px")>-1||String(a).indexOf("rem")>-1||String(a).indexOf("em")>-1||String(a).indexOf("vw")>-1||String(a).indexOf("vh")>-1;let y=d||_;r="0"==r?0:r,o="0"==o?0:o;const x=!r&&!o;let C={};const F={"max-width":null,"max-height":null,"min-width":null,"min-height":null};switch(a||""){case"":const E=!1!==this.layoutConfig.useColumnBasisZero;a="row"===l?"0%":E?"0.000000001px":"auto";break;case"initial":case"nogrow":r=0,a="auto";break;case"grow":a="100%";break;case"noshrink":o=0,a="auto";break;case"auto":break;case"none":r=0,o=0,a="auto";break;default:!y&&!g&&!isNaN(a)&&(a+="%"),"0%"===a&&(y=!0),"0px"===a&&(a="0%"),C=Fr(F,d?{"flex-grow":r,"flex-shrink":o,"flex-basis":y?a:"100%"}:{flex:`${r} ${o} ${y?a:"100%"}`})}return C.flex||C["flex-grow"]||(C=Fr(F,d?{"flex-grow":r,"flex-shrink":o,"flex-basis":a}:{flex:`${r} ${o} ${a}`})),"0%"!==a&&"0px"!==a&&"0.000000001px"!==a&&"auto"!==a&&(C[u]=x||y&&r?a:null,C[c]=x||!h&&o?a:null),C[u]||C[c]?i.hasWrap&&(C[d?"flex-basis":"flex"]=C[c]?d?C[c]:`${r} ${o} ${C[c]}`:d?C[u]:`${r} ${o} ${C[u]}`):C=Fr(F,d?{"flex-grow":r,"flex-shrink":o,"flex-basis":a}:{flex:`${r} ${o} ${a}`}),Fr(C,{"box-sizing":"border-box"})}}return n.\u0275fac=function(e){return new(e||n)(b(Ri))},n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const VH=["fxFlex","fxFlex.xs","fxFlex.sm","fxFlex.md","fxFlex.lg","fxFlex.xl","fxFlex.lt-sm","fxFlex.lt-md","fxFlex.lt-lg","fxFlex.lt-xl","fxFlex.gt-xs","fxFlex.gt-sm","fxFlex.gt-md","fxFlex.gt-lg"];let BH=(()=>{class n extends rt{constructor(e,i,r,o,s){super(e,o,i,s),this.layoutConfig=r,this.marshal=s,this.DIRECTIVE_KEY="flex",this.direction=void 0,this.wrap=void 0,this.flexGrow="1",this.flexShrink="1",this.init()}get shrink(){return this.flexShrink}set shrink(e){this.flexShrink=e||"1",this.triggerReflow()}get grow(){return this.flexGrow}set grow(e){this.flexGrow=e||"1",this.triggerReflow()}ngOnInit(){this.parentElement&&(this.marshal.trackValue(this.parentElement,"layout").pipe(Ge(this.destroySubject)).subscribe(this.onLayoutChange.bind(this)),this.marshal.trackValue(this.nativeElement,"layout-align").pipe(Ge(this.destroySubject)).subscribe(this.triggerReflow.bind(this)))}onLayoutChange(e){const r=e.value.split(" ");this.direction=r[0],this.wrap=void 0!==r[1]&&"wrap"===r[1],this.triggerUpdate()}updateWithValue(e){void 0===this.direction&&(this.direction=this.getFlexFlowDirection(this.parentElement,!1!==this.layoutConfig.addFlexToParent)),void 0===this.wrap&&(this.wrap=this.hasWrap(this.parentElement));const r=this.direction,o=r.startsWith("row"),s=this.wrap;o&&s?this.styleCache=jH:o&&!s?this.styleCache=HH:!o&&s?this.styleCache=GH:!o&&!s&&(this.styleCache=$H);const l=TM(String(e).replace(";",""),this.flexGrow,this.flexShrink);this.addStyles(l.join(" "),{direction:r,hasWrap:s})}triggerReflow(){const e=this.activatedValue;if(void 0!==e){const i=TM(e+"",this.flexGrow,this.flexShrink);this.marshal.updateElement(this.nativeElement,this.DIRECTIVE_KEY,i.join(" "))}}}return n.\u0275fac=function(e){return new(e||n)(f($),f(Xe),f(Ri),f(NH),f(tt))},n.\u0275dir=T({type:n,inputs:{shrink:["fxShrink","shrink"],grow:["fxGrow","grow"]},features:[O]}),n})(),Ua=(()=>{class n extends BH{constructor(){super(...arguments),this.inputs=VH}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=U(n)))(i||n)}}(),n.\u0275dir=T({type:n,selectors:[["","fxFlex",""],["","fxFlex.xs",""],["","fxFlex.sm",""],["","fxFlex.md",""],["","fxFlex.lg",""],["","fxFlex.xl",""],["","fxFlex.lt-sm",""],["","fxFlex.lt-md",""],["","fxFlex.lt-lg",""],["","fxFlex.lt-xl",""],["","fxFlex.gt-xs",""],["","fxFlex.gt-sm",""],["","fxFlex.gt-md",""],["","fxFlex.gt-lg",""]],inputs:{fxFlex:"fxFlex","fxFlex.xs":"fxFlex.xs","fxFlex.sm":"fxFlex.sm","fxFlex.md":"fxFlex.md","fxFlex.lg":"fxFlex.lg","fxFlex.xl":"fxFlex.xl","fxFlex.lt-sm":"fxFlex.lt-sm","fxFlex.lt-md":"fxFlex.lt-md","fxFlex.lt-lg":"fxFlex.lt-lg","fxFlex.lt-xl":"fxFlex.lt-xl","fxFlex.gt-xs":"fxFlex.gt-xs","fxFlex.gt-sm":"fxFlex.gt-sm","fxFlex.gt-md":"fxFlex.gt-md","fxFlex.gt-lg":"fxFlex.gt-lg"},features:[O]}),n})();const HH=new Map,$H=new Map,jH=new Map,GH=new Map;let i$=(()=>{class n extends dt{buildStyles(e){const i={};switch(e=e||"stretch"){case"start":i["align-self"]="flex-start";break;case"end":i["align-self"]="flex-end";break;default:i["align-self"]=e}return i}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=U(n)))(i||n)}}(),n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const r$=["fxFlexAlign","fxFlexAlign.xs","fxFlexAlign.sm","fxFlexAlign.md","fxFlexAlign.lg","fxFlexAlign.xl","fxFlexAlign.lt-sm","fxFlexAlign.lt-md","fxFlexAlign.lt-lg","fxFlexAlign.lt-xl","fxFlexAlign.gt-xs","fxFlexAlign.gt-sm","fxFlexAlign.gt-md","fxFlexAlign.gt-lg"];let o$=(()=>{class n extends rt{constructor(e,i,r,o){super(e,r,i,o),this.DIRECTIVE_KEY="flex-align",this.styleCache=s$,this.init()}}return n.\u0275fac=function(e){return new(e||n)(f($),f(Xe),f(i$),f(tt))},n.\u0275dir=T({type:n,features:[O]}),n})();const s$=new Map;let jM=(()=>{class n extends o${constructor(){super(...arguments),this.inputs=r$}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=U(n)))(i||n)}}(),n.\u0275dir=T({type:n,selectors:[["","fxFlexAlign",""],["","fxFlexAlign.xs",""],["","fxFlexAlign.sm",""],["","fxFlexAlign.md",""],["","fxFlexAlign.lg",""],["","fxFlexAlign.xl",""],["","fxFlexAlign.lt-sm",""],["","fxFlexAlign.lt-md",""],["","fxFlexAlign.lt-lg",""],["","fxFlexAlign.lt-xl",""],["","fxFlexAlign.gt-xs",""],["","fxFlexAlign.gt-sm",""],["","fxFlexAlign.gt-md",""],["","fxFlexAlign.gt-lg",""]],inputs:{fxFlexAlign:"fxFlexAlign","fxFlexAlign.xs":"fxFlexAlign.xs","fxFlexAlign.sm":"fxFlexAlign.sm","fxFlexAlign.md":"fxFlexAlign.md","fxFlexAlign.lg":"fxFlexAlign.lg","fxFlexAlign.xl":"fxFlexAlign.xl","fxFlexAlign.lt-sm":"fxFlexAlign.lt-sm","fxFlexAlign.lt-md":"fxFlexAlign.lt-md","fxFlexAlign.lt-lg":"fxFlexAlign.lt-lg","fxFlexAlign.lt-xl":"fxFlexAlign.lt-xl","fxFlexAlign.gt-xs":"fxFlexAlign.gt-xs","fxFlexAlign.gt-sm":"fxFlexAlign.gt-sm","fxFlexAlign.gt-md":"fxFlexAlign.gt-md","fxFlexAlign.gt-lg":"fxFlexAlign.gt-lg"},features:[O]}),n})(),d$=(()=>{class n extends dt{buildStyles(e,i){const r={},[o,s]=e.split(" ");switch(o){case"center":r["justify-content"]="center";break;case"space-around":r["justify-content"]="space-around";break;case"space-between":r["justify-content"]="space-between";break;case"space-evenly":r["justify-content"]="space-evenly";break;case"end":case"flex-end":r["justify-content"]="flex-end";break;default:r["justify-content"]="flex-start"}switch(s){case"start":case"flex-start":r["align-items"]=r["align-content"]="flex-start";break;case"center":r["align-items"]=r["align-content"]="center";break;case"end":case"flex-end":r["align-items"]=r["align-content"]="flex-end";break;case"space-between":r["align-content"]="space-between",r["align-items"]="stretch";break;case"space-around":r["align-content"]="space-around",r["align-items"]="stretch";break;case"baseline":r["align-content"]="stretch",r["align-items"]="baseline";break;default:r["align-items"]=r["align-content"]="stretch"}return Fr(r,{display:i.inline?"inline-flex":"flex","flex-direction":i.layout,"box-sizing":"border-box","max-width":"stretch"===s?Mc(i.layout)?null:"100%":null,"max-height":"stretch"===s&&Mc(i.layout)?"100%":null})}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=U(n)))(i||n)}}(),n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const h$=["fxLayoutAlign","fxLayoutAlign.xs","fxLayoutAlign.sm","fxLayoutAlign.md","fxLayoutAlign.lg","fxLayoutAlign.xl","fxLayoutAlign.lt-sm","fxLayoutAlign.lt-md","fxLayoutAlign.lt-lg","fxLayoutAlign.lt-xl","fxLayoutAlign.gt-xs","fxLayoutAlign.gt-sm","fxLayoutAlign.gt-md","fxLayoutAlign.gt-lg"];let f$=(()=>{class n extends rt{constructor(e,i,r,o){super(e,r,i,o),this.DIRECTIVE_KEY="layout-align",this.layout="row",this.inline=!1,this.init(),this.marshal.trackValue(this.nativeElement,"layout").pipe(Ge(this.destroySubject)).subscribe(this.onLayoutChange.bind(this))}updateWithValue(e){const i=this.layout||"row",r=this.inline;"row"===i&&r?this.styleCache=y$:"row"!==i||r?"row-reverse"===i&&r?this.styleCache=b$:"row-reverse"!==i||r?"column"===i&&r?this.styleCache=v$:"column"!==i||r?"column-reverse"===i&&r?this.styleCache=C$:"column-reverse"===i&&!r&&(this.styleCache=_$):this.styleCache=g$:this.styleCache=m$:this.styleCache=p$,this.addStyles(e,{layout:i,inline:r})}onLayoutChange(e){const i=e.value.split(" ");this.layout=i[0],this.inline=e.value.includes("inline"),dh.find(r=>r===this.layout)||(this.layout="row"),this.triggerUpdate()}}return n.\u0275fac=function(e){return new(e||n)(f($),f(Xe),f(d$),f(tt))},n.\u0275dir=T({type:n,features:[O]}),n})(),Oi=(()=>{class n extends f${constructor(){super(...arguments),this.inputs=h$}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=U(n)))(i||n)}}(),n.\u0275dir=T({type:n,selectors:[["","fxLayoutAlign",""],["","fxLayoutAlign.xs",""],["","fxLayoutAlign.sm",""],["","fxLayoutAlign.md",""],["","fxLayoutAlign.lg",""],["","fxLayoutAlign.xl",""],["","fxLayoutAlign.lt-sm",""],["","fxLayoutAlign.lt-md",""],["","fxLayoutAlign.lt-lg",""],["","fxLayoutAlign.lt-xl",""],["","fxLayoutAlign.gt-xs",""],["","fxLayoutAlign.gt-sm",""],["","fxLayoutAlign.gt-md",""],["","fxLayoutAlign.gt-lg",""]],inputs:{fxLayoutAlign:"fxLayoutAlign","fxLayoutAlign.xs":"fxLayoutAlign.xs","fxLayoutAlign.sm":"fxLayoutAlign.sm","fxLayoutAlign.md":"fxLayoutAlign.md","fxLayoutAlign.lg":"fxLayoutAlign.lg","fxLayoutAlign.xl":"fxLayoutAlign.xl","fxLayoutAlign.lt-sm":"fxLayoutAlign.lt-sm","fxLayoutAlign.lt-md":"fxLayoutAlign.lt-md","fxLayoutAlign.lt-lg":"fxLayoutAlign.lt-lg","fxLayoutAlign.lt-xl":"fxLayoutAlign.lt-xl","fxLayoutAlign.gt-xs":"fxLayoutAlign.gt-xs","fxLayoutAlign.gt-sm":"fxLayoutAlign.gt-sm","fxLayoutAlign.gt-md":"fxLayoutAlign.gt-md","fxLayoutAlign.gt-lg":"fxLayoutAlign.gt-lg"},features:[O]}),n})();const p$=new Map,g$=new Map,m$=new Map,_$=new Map,y$=new Map,v$=new Map,b$=new Map,C$=new Map;let GM=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({imports:[Ym,Ga]}),n})();const UM="stretch";let x$=(()=>{class n extends dt{buildStyles(e){return function S$(n=""){const t={},[e,i]=n.split(" ");switch(e){case"end":t["justify-self"]="end";break;case"center":t["justify-self"]="center";break;case"stretch":t["justify-self"]="stretch";break;case"start":t["justify-self"]="start";break;default:t["justify-self"]=UM}switch(i){case"end":t["align-self"]="end";break;case"center":t["align-self"]="center";break;case"stretch":default:t["align-self"]="stretch";break;case"start":t["align-self"]="start"}return t}(e||UM)}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=U(n)))(i||n)}}(),n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),D$=(()=>{class n extends rt{constructor(e,i,r,o){super(e,i,r,o),this.DIRECTIVE_KEY="grid-align",this.styleCache=M$,this.init()}}return n.\u0275fac=function(e){return new(e||n)(f($),f(x$),f(Xe),f(tt))},n.\u0275dir=T({type:n,features:[O]}),n})();const M$=new Map,E$=["gdGridAlign","gdGridAlign.xs","gdGridAlign.sm","gdGridAlign.md","gdGridAlign.lg","gdGridAlign.xl","gdGridAlign.lt-sm","gdGridAlign.lt-md","gdGridAlign.lt-lg","gdGridAlign.lt-xl","gdGridAlign.gt-xs","gdGridAlign.gt-sm","gdGridAlign.gt-md","gdGridAlign.gt-lg"];let t_=(()=>{class n extends D${constructor(){super(...arguments),this.inputs=E$}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=U(n)))(i||n)}}(),n.\u0275dir=T({type:n,selectors:[["","gdGridAlign",""],["","gdGridAlign.xs",""],["","gdGridAlign.sm",""],["","gdGridAlign.md",""],["","gdGridAlign.lg",""],["","gdGridAlign.xl",""],["","gdGridAlign.lt-sm",""],["","gdGridAlign.lt-md",""],["","gdGridAlign.lt-lg",""],["","gdGridAlign.lt-xl",""],["","gdGridAlign.gt-xs",""],["","gdGridAlign.gt-sm",""],["","gdGridAlign.gt-md",""],["","gdGridAlign.gt-lg",""]],inputs:{gdGridAlign:"gdGridAlign","gdGridAlign.xs":"gdGridAlign.xs","gdGridAlign.sm":"gdGridAlign.sm","gdGridAlign.md":"gdGridAlign.md","gdGridAlign.lg":"gdGridAlign.lg","gdGridAlign.xl":"gdGridAlign.xl","gdGridAlign.lt-sm":"gdGridAlign.lt-sm","gdGridAlign.lt-md":"gdGridAlign.lt-md","gdGridAlign.lt-lg":"gdGridAlign.lt-lg","gdGridAlign.lt-xl":"gdGridAlign.lt-xl","gdGridAlign.gt-xs":"gdGridAlign.gt-xs","gdGridAlign.gt-sm":"gdGridAlign.gt-sm","gdGridAlign.gt-md":"gdGridAlign.gt-md","gdGridAlign.gt-lg":"gdGridAlign.gt-lg"},features:[O]}),n})();const WM="stretch";let A$=(()=>{class n extends dt{buildStyles(e,i){return function R$(n,t){const e={},[i,r]=n.split(" ");switch(i){case"center":e["align-content"]="center";break;case"space-around":e["align-content"]="space-around";break;case"space-between":e["align-content"]="space-between";break;case"space-evenly":e["align-content"]="space-evenly";break;case"end":e["align-content"]="end";break;case"start":default:e["align-content"]="start";break;case"stretch":e["align-content"]="stretch"}switch(r){case"start":e["align-items"]="start";break;case"center":e["align-items"]="center";break;case"end":e["align-items"]="end";break;case"stretch":e["align-items"]="stretch";break;default:e["align-items"]=WM}return e.display=t?"inline-grid":"grid",e}(e||`start ${WM}`,i.inline)}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=U(n)))(i||n)}}(),n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),T$=(()=>{class n extends rt{constructor(e,i,r,o){super(e,i,r,o),this.DIRECTIVE_KEY="grid-align-columns",this._inline=!1,this.init()}get inline(){return this._inline}set inline(e){this._inline=Ae(e)}updateWithValue(e){this.styleCache=this.inline?k$:I$,this.addStyles(e,{inline:this.inline})}}return n.\u0275fac=function(e){return new(e||n)(f($),f(A$),f(Xe),f(tt))},n.\u0275dir=T({type:n,inputs:{inline:["gdInline","inline"]},features:[O]}),n})();const I$=new Map,k$=new Map,F$=["gdAlignColumns","gdAlignColumns.xs","gdAlignColumns.sm","gdAlignColumns.md","gdAlignColumns.lg","gdAlignColumns.xl","gdAlignColumns.lt-sm","gdAlignColumns.lt-md","gdAlignColumns.lt-lg","gdAlignColumns.lt-xl","gdAlignColumns.gt-xs","gdAlignColumns.gt-sm","gdAlignColumns.gt-md","gdAlignColumns.gt-lg"];let qM=(()=>{class n extends T${constructor(){super(...arguments),this.inputs=F$}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=U(n)))(i||n)}}(),n.\u0275dir=T({type:n,selectors:[["","gdAlignColumns",""],["","gdAlignColumns.xs",""],["","gdAlignColumns.sm",""],["","gdAlignColumns.md",""],["","gdAlignColumns.lg",""],["","gdAlignColumns.xl",""],["","gdAlignColumns.lt-sm",""],["","gdAlignColumns.lt-md",""],["","gdAlignColumns.lt-lg",""],["","gdAlignColumns.lt-xl",""],["","gdAlignColumns.gt-xs",""],["","gdAlignColumns.gt-sm",""],["","gdAlignColumns.gt-md",""],["","gdAlignColumns.gt-lg",""]],inputs:{gdAlignColumns:"gdAlignColumns","gdAlignColumns.xs":"gdAlignColumns.xs","gdAlignColumns.sm":"gdAlignColumns.sm","gdAlignColumns.md":"gdAlignColumns.md","gdAlignColumns.lg":"gdAlignColumns.lg","gdAlignColumns.xl":"gdAlignColumns.xl","gdAlignColumns.lt-sm":"gdAlignColumns.lt-sm","gdAlignColumns.lt-md":"gdAlignColumns.lt-md","gdAlignColumns.lt-lg":"gdAlignColumns.lt-lg","gdAlignColumns.lt-xl":"gdAlignColumns.lt-xl","gdAlignColumns.gt-xs":"gdAlignColumns.gt-xs","gdAlignColumns.gt-sm":"gdAlignColumns.gt-sm","gdAlignColumns.gt-md":"gdAlignColumns.gt-md","gdAlignColumns.gt-lg":"gdAlignColumns.gt-lg"},features:[O]}),n})();const QM="stretch";let O$=(()=>{class n extends dt{buildStyles(e,i){return function B$(n,t){const e={},[i,r]=n.split(" ");switch(i){case"center":case"space-around":case"space-between":case"space-evenly":case"end":case"start":case"stretch":e["justify-content"]=i;break;default:e["justify-content"]="start"}switch(r){case"start":case"center":case"end":case"stretch":e["justify-items"]=r;break;default:e["justify-items"]=QM}return e.display=t?"inline-grid":"grid",e}(e||`start ${QM}`,i.inline)}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=U(n)))(i||n)}}(),n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),P$=(()=>{class n extends rt{constructor(e,i,r,o){super(e,i,r,o),this.DIRECTIVE_KEY="grid-align-rows",this._inline=!1,this.init()}get inline(){return this._inline}set inline(e){this._inline=Ae(e)}updateWithValue(e){this.styleCache=this.inline?N$:L$,this.addStyles(e,{inline:this.inline})}}return n.\u0275fac=function(e){return new(e||n)(f($),f(O$),f(Xe),f(tt))},n.\u0275dir=T({type:n,inputs:{inline:["gdInline","inline"]},features:[O]}),n})();const L$=new Map,N$=new Map,V$=["gdAlignRows","gdAlignRows.xs","gdAlignRows.sm","gdAlignRows.md","gdAlignRows.lg","gdAlignRows.xl","gdAlignRows.lt-sm","gdAlignRows.lt-md","gdAlignRows.lt-lg","gdAlignRows.lt-xl","gdAlignRows.gt-xs","gdAlignRows.gt-sm","gdAlignRows.gt-md","gdAlignRows.gt-lg"];let n_=(()=>{class n extends P${constructor(){super(...arguments),this.inputs=V$}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=U(n)))(i||n)}}(),n.\u0275dir=T({type:n,selectors:[["","gdAlignRows",""],["","gdAlignRows.xs",""],["","gdAlignRows.sm",""],["","gdAlignRows.md",""],["","gdAlignRows.lg",""],["","gdAlignRows.xl",""],["","gdAlignRows.lt-sm",""],["","gdAlignRows.lt-md",""],["","gdAlignRows.lt-lg",""],["","gdAlignRows.lt-xl",""],["","gdAlignRows.gt-xs",""],["","gdAlignRows.gt-sm",""],["","gdAlignRows.gt-md",""],["","gdAlignRows.gt-lg",""]],inputs:{gdAlignRows:"gdAlignRows","gdAlignRows.xs":"gdAlignRows.xs","gdAlignRows.sm":"gdAlignRows.sm","gdAlignRows.md":"gdAlignRows.md","gdAlignRows.lg":"gdAlignRows.lg","gdAlignRows.xl":"gdAlignRows.xl","gdAlignRows.lt-sm":"gdAlignRows.lt-sm","gdAlignRows.lt-md":"gdAlignRows.lt-md","gdAlignRows.lt-lg":"gdAlignRows.lt-lg","gdAlignRows.lt-xl":"gdAlignRows.lt-xl","gdAlignRows.gt-xs":"gdAlignRows.gt-xs","gdAlignRows.gt-sm":"gdAlignRows.gt-sm","gdAlignRows.gt-md":"gdAlignRows.gt-md","gdAlignRows.gt-lg":"gdAlignRows.gt-lg"},features:[O]}),n})(),pj=(()=>{class n extends dt{buildStyles(e,i){let r=!1;(e=e||"none").endsWith("!")&&(e=e.substring(0,e.indexOf("!")),r=!0);const o={display:i.inline?"inline-grid":"grid","grid-auto-columns":"","grid-template-columns":""};return o[r?"grid-auto-columns":"grid-template-columns"]=e,o}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=U(n)))(i||n)}}(),n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),gj=(()=>{class n extends rt{constructor(e,i,r,o){super(e,i,r,o),this.DIRECTIVE_KEY="grid-columns",this._inline=!1,this.init()}get inline(){return this._inline}set inline(e){this._inline=Ae(e)}updateWithValue(e){this.styleCache=this.inline?_j:mj,this.addStyles(e,{inline:this.inline})}}return n.\u0275fac=function(e){return new(e||n)(f($),f(pj),f(Xe),f(tt))},n.\u0275dir=T({type:n,inputs:{inline:["gdInline","inline"]},features:[O]}),n})();const mj=new Map,_j=new Map,yj=["gdColumns","gdColumns.xs","gdColumns.sm","gdColumns.md","gdColumns.lg","gdColumns.xl","gdColumns.lt-sm","gdColumns.lt-md","gdColumns.lt-lg","gdColumns.lt-xl","gdColumns.gt-xs","gdColumns.gt-sm","gdColumns.gt-md","gdColumns.gt-lg"];let ZM=(()=>{class n extends gj{constructor(){super(...arguments),this.inputs=yj}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=U(n)))(i||n)}}(),n.\u0275dir=T({type:n,selectors:[["","gdColumns",""],["","gdColumns.xs",""],["","gdColumns.sm",""],["","gdColumns.md",""],["","gdColumns.lg",""],["","gdColumns.xl",""],["","gdColumns.lt-sm",""],["","gdColumns.lt-md",""],["","gdColumns.lt-lg",""],["","gdColumns.lt-xl",""],["","gdColumns.gt-xs",""],["","gdColumns.gt-sm",""],["","gdColumns.gt-md",""],["","gdColumns.gt-lg",""]],inputs:{gdColumns:"gdColumns","gdColumns.xs":"gdColumns.xs","gdColumns.sm":"gdColumns.sm","gdColumns.md":"gdColumns.md","gdColumns.lg":"gdColumns.lg","gdColumns.xl":"gdColumns.xl","gdColumns.lt-sm":"gdColumns.lt-sm","gdColumns.lt-md":"gdColumns.lt-md","gdColumns.lt-lg":"gdColumns.lt-lg","gdColumns.lt-xl":"gdColumns.lt-xl","gdColumns.gt-xs":"gdColumns.gt-xs","gdColumns.gt-sm":"gdColumns.gt-sm","gdColumns.gt-md":"gdColumns.gt-md","gdColumns.gt-lg":"gdColumns.gt-lg"},features:[O]}),n})(),Rj=(()=>{class n extends dt{buildStyles(e,i){let r=!1;(e=e||"none").endsWith("!")&&(e=e.substring(0,e.indexOf("!")),r=!0);const o={display:i.inline?"inline-grid":"grid","grid-auto-rows":"","grid-template-rows":""};return o[r?"grid-auto-rows":"grid-template-rows"]=e,o}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=U(n)))(i||n)}}(),n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Oj=(()=>{class n extends rt{constructor(e,i,r,o){super(e,i,r,o),this.DIRECTIVE_KEY="grid-rows",this._inline=!1,this.init()}get inline(){return this._inline}set inline(e){this._inline=Ae(e)}updateWithValue(e){this.styleCache=this.inline?Lj:Pj,this.addStyles(e,{inline:this.inline})}}return n.\u0275fac=function(e){return new(e||n)(f($),f(Rj),f(Xe),f(tt))},n.\u0275dir=T({type:n,inputs:{inline:["gdInline","inline"]},features:[O]}),n})();const Pj=new Map,Lj=new Map,Nj=["gdRows","gdRows.xs","gdRows.sm","gdRows.md","gdRows.lg","gdRows.xl","gdRows.lt-sm","gdRows.lt-md","gdRows.lt-lg","gdRows.lt-xl","gdRows.gt-xs","gdRows.gt-sm","gdRows.gt-md","gdRows.gt-lg"];let i_=(()=>{class n extends Oj{constructor(){super(...arguments),this.inputs=Nj}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=U(n)))(i||n)}}(),n.\u0275dir=T({type:n,selectors:[["","gdRows",""],["","gdRows.xs",""],["","gdRows.sm",""],["","gdRows.md",""],["","gdRows.lg",""],["","gdRows.xl",""],["","gdRows.lt-sm",""],["","gdRows.lt-md",""],["","gdRows.lt-lg",""],["","gdRows.lt-xl",""],["","gdRows.gt-xs",""],["","gdRows.gt-sm",""],["","gdRows.gt-md",""],["","gdRows.gt-lg",""]],inputs:{gdRows:"gdRows","gdRows.xs":"gdRows.xs","gdRows.sm":"gdRows.sm","gdRows.md":"gdRows.md","gdRows.lg":"gdRows.lg","gdRows.xl":"gdRows.xl","gdRows.lt-sm":"gdRows.lt-sm","gdRows.lt-md":"gdRows.lt-md","gdRows.lt-lg":"gdRows.lt-lg","gdRows.lt-xl":"gdRows.lt-xl","gdRows.gt-xs":"gdRows.gt-xs","gdRows.gt-sm":"gdRows.gt-sm","gdRows.gt-md":"gdRows.gt-md","gdRows.gt-lg":"gdRows.gt-lg"},features:[O]}),n})(),JM=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({imports:[Ym]}),n})(),Vj=(()=>{class n{constructor(e,i){nr(i)&&!e&&console.warn("Warning: Flex Layout loaded on the server without FlexLayoutServerModule")}static withConfig(e,i=[]){return{ngModule:n,providers:e.serverLoaded?[{provide:Ri,useValue:{...Qm,...e}},{provide:Km,useValue:i,multi:!0},{provide:$a,useValue:!0}]:[{provide:Ri,useValue:{...Qm,...e}},{provide:Km,useValue:i,multi:!0}]}}}return n.\u0275fac=function(e){return new(e||n)(b($a),b($n))},n.\u0275mod=Z({type:n}),n.\u0275inj=K({imports:[GM,VM,JM,GM,VM,JM]}),n})();class eE{}const Pr="*";function ir(n,t){return{type:7,name:n,definitions:t,options:{}}}function Zt(n,t=null){return{type:4,styles:t,timings:n}}function tE(n,t=null){return{type:2,steps:n,options:t}}function Pe(n){return{type:6,styles:n,offset:null}}function pn(n,t,e){return{type:0,name:n,styles:t,options:e}}function Vt(n,t,e=null){return{type:1,expr:n,animation:t,options:e}}function nE(n,t=null){return{type:8,animation:n,options:t}}function $j(n=null){return{type:9,options:n}}function iE(n,t=null){return{type:10,animation:n,options:t}}function jj(n,t,e=null){return{type:11,selector:n,animation:t,options:e}}function rE(n){Promise.resolve().then(n)}class Sc{constructor(t=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=t+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){rE(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}class oE{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let e=0,i=0,r=0;const o=this.players.length;0==o?rE(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++e==o&&this._onFinish()}),s.onDestroy(()=>{++i==o&&this._onDestroy()}),s.onStart(()=>{++r==o&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){const e=t*this.totalTime;this.players.forEach(i=>{const r=i.totalTime?Math.min(1,e/i.totalTime):1;i.setPosition(r)})}getPosition(){const t=this.players.reduce((e,i)=>null===e||i.totalTime>e.totalTime?i:e,null);return null!=t?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}function sE(n){return new I(3e3,!1)}function xG(){return typeof window<"u"&&typeof window.document<"u"}function o_(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function go(n){switch(n.length){case 0:return new Sc;case 1:return n[0];default:return new oE(n)}}function aE(n,t,e,i,r=new Map,o=new Map){const s=[],a=[];let l=-1,c=null;if(i.forEach(u=>{const d=u.get("offset"),h=d==l,g=h&&c||new Map;u.forEach((_,y)=>{let x=y,C=_;if("offset"!==y)switch(x=t.normalizePropertyName(x,s),C){case"!":C=r.get(y);break;case Pr:C=o.get(y);break;default:C=t.normalizeStyleValue(y,x,C,s)}g.set(x,C)}),h||a.push(g),c=g,l=d}),s.length)throw function dG(n){return new I(3502,!1)}();return a}function s_(n,t,e,i){switch(t){case"start":n.onStart(()=>i(e&&a_(e,"start",n)));break;case"done":n.onDone(()=>i(e&&a_(e,"done",n)));break;case"destroy":n.onDestroy(()=>i(e&&a_(e,"destroy",n)))}}function a_(n,t,e){const o=l_(n.element,n.triggerName,n.fromState,n.toState,t||n.phaseName,e.totalTime??n.totalTime,!!e.disabled),s=n._data;return null!=s&&(o._data=s),o}function l_(n,t,e,i,r="",o=0,s){return{element:n,triggerName:t,fromState:e,toState:i,phaseName:r,totalTime:o,disabled:!!s}}function Gn(n,t,e){let i=n.get(t);return i||n.set(t,i=e),i}function lE(n){const t=n.indexOf(":");return[n.substring(1,t),n.slice(t+1)]}let c_=(n,t)=>!1,cE=(n,t,e)=>[],uE=null;function u_(n){const t=n.parentNode||n.host;return t===uE?null:t}(o_()||typeof Element<"u")&&(xG()?(uE=(()=>document.documentElement)(),c_=(n,t)=>{for(;t;){if(t===n)return!0;t=u_(t)}return!1}):c_=(n,t)=>n.contains(t),cE=(n,t,e)=>{if(e)return Array.from(n.querySelectorAll(t));const i=n.querySelector(t);return i?[i]:[]});let as=null,dE=!1;const hE=c_,fE=cE;let pE=(()=>{class n{validateStyleProperty(e){return function MG(n){as||(as=function EG(){return typeof document<"u"?document.body:null}()||{},dE=!!as.style&&"WebkitAppearance"in as.style);let t=!0;return as.style&&!function DG(n){return"ebkit"==n.substring(1,6)}(n)&&(t=n in as.style,!t&&dE&&(t="Webkit"+n.charAt(0).toUpperCase()+n.slice(1)in as.style)),t}(e)}matchesElement(e,i){return!1}containsElement(e,i){return hE(e,i)}getParentElement(e){return u_(e)}query(e,i,r){return fE(e,i,r)}computeStyle(e,i,r){return r||""}animate(e,i,r,o,s,a=[],l){return new Sc(r,o)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=k({token:n,factory:n.\u0275fac}),n})(),d_=(()=>{class n{}return n.NOOP=new pE,n})();const h_="ng-enter",gh="ng-leave",mh="ng-trigger",_h=".ng-trigger",mE="ng-animating",f_=".ng-animating";function Lr(n){if("number"==typeof n)return n;const t=n.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:p_(parseFloat(t[1]),t[2])}function p_(n,t){return"s"===t?1e3*n:n}function yh(n,t,e){return n.hasOwnProperty("duration")?n:function TG(n,t,e){let r,o=0,s="";if("string"==typeof n){const a=n.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===a)return t.push(sE()),{duration:0,delay:0,easing:""};r=p_(parseFloat(a[1]),a[2]);const l=a[3];null!=l&&(o=p_(parseFloat(l),a[4]));const c=a[5];c&&(s=c)}else r=n;if(!e){let a=!1,l=t.length;r<0&&(t.push(function Gj(){return new I(3100,!1)}()),a=!0),o<0&&(t.push(function Uj(){return new I(3101,!1)}()),a=!0),a&&t.splice(l,0,sE())}return{duration:r,delay:o,easing:s}}(n,t,e)}function Ac(n,t={}){return Object.keys(n).forEach(e=>{t[e]=n[e]}),t}function _E(n){const t=new Map;return Object.keys(n).forEach(e=>{t.set(e,n[e])}),t}function mo(n,t=new Map,e){if(e)for(let[i,r]of e)t.set(i,r);for(let[i,r]of n)t.set(i,r);return t}function vE(n,t,e){return e?t+":"+e+";":""}function bE(n){let t="";for(let e=0;e{const o=m_(r);e&&!e.has(r)&&e.set(r,n.style[o]),n.style[o]=i}),o_()&&bE(n))}function ls(n,t){n.style&&(t.forEach((e,i)=>{const r=m_(i);n.style[r]=""}),o_()&&bE(n))}function Tc(n){return Array.isArray(n)?1==n.length?n[0]:tE(n):n}const g_=new RegExp("{{\\s*(.+?)\\s*}}","g");function CE(n){let t=[];if("string"==typeof n){let e;for(;e=g_.exec(n);)t.push(e[1]);g_.lastIndex=0}return t}function Ic(n,t,e){const i=n.toString(),r=i.replace(g_,(o,s)=>{let a=t[s];return null==a&&(e.push(function Wj(n){return new I(3003,!1)}()),a=""),a.toString()});return r==i?n:r}function vh(n){const t=[];let e=n.next();for(;!e.done;)t.push(e.value),e=n.next();return t}const FG=/-+([a-z0-9])/g;function m_(n){return n.replace(FG,(...t)=>t[1].toUpperCase())}function RG(n){return n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Un(n,t,e){switch(t.type){case 7:return n.visitTrigger(t,e);case 0:return n.visitState(t,e);case 1:return n.visitTransition(t,e);case 2:return n.visitSequence(t,e);case 3:return n.visitGroup(t,e);case 4:return n.visitAnimate(t,e);case 5:return n.visitKeyframes(t,e);case 6:return n.visitStyle(t,e);case 8:return n.visitReference(t,e);case 9:return n.visitAnimateChild(t,e);case 10:return n.visitAnimateRef(t,e);case 11:return n.visitQuery(t,e);case 12:return n.visitStagger(t,e);default:throw function qj(n){return new I(3004,!1)}()}}function wE(n,t){return window.getComputedStyle(n)[t]}function BG(n,t){const e=[];return"string"==typeof n?n.split(/\s*,\s*/).forEach(i=>function HG(n,t,e){if(":"==n[0]){const l=function $G(n,t){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,i)=>parseFloat(i)>parseFloat(e);case":decrement":return(e,i)=>parseFloat(i) *"}}(n,e);if("function"==typeof l)return void t.push(l);n=l}const i=n.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return e.push(function sG(n){return new I(3015,!1)}()),t;const r=i[1],o=i[2],s=i[3];t.push(xE(r,s));"<"==o[0]&&!("*"==r&&"*"==s)&&t.push(xE(s,r))}(i,e,t)):e.push(n),e}const xh=new Set(["true","1"]),Dh=new Set(["false","0"]);function xE(n,t){const e=xh.has(n)||Dh.has(n),i=xh.has(t)||Dh.has(t);return(r,o)=>{let s="*"==n||n==r,a="*"==t||t==o;return!s&&e&&"boolean"==typeof r&&(s=r?xh.has(n):Dh.has(n)),!a&&i&&"boolean"==typeof o&&(a=o?xh.has(t):Dh.has(t)),s&&a}}const jG=new RegExp("s*:selfs*,?","g");function __(n,t,e,i){return new GG(n).build(t,e,i)}class GG{constructor(t){this._driver=t}build(t,e,i){const r=new WG(e);return this._resetContextStyleTimingState(r),Un(this,Tc(t),r)}_resetContextStyleTimingState(t){t.currentQuerySelector="",t.collectedStyles=new Map,t.collectedStyles.set("",new Map),t.currentTime=0}visitTrigger(t,e){let i=e.queryCount=0,r=e.depCount=0;const o=[],s=[];return"@"==t.name.charAt(0)&&e.errors.push(function Qj(){return new I(3006,!1)}()),t.definitions.forEach(a=>{if(this._resetContextStyleTimingState(e),0==a.type){const l=a,c=l.name;c.toString().split(/\s*,\s*/).forEach(u=>{l.name=u,o.push(this.visitState(l,e))}),l.name=c}else if(1==a.type){const l=this.visitTransition(a,e);i+=l.queryCount,r+=l.depCount,s.push(l)}else e.errors.push(function Kj(){return new I(3007,!1)}())}),{type:7,name:t.name,states:o,transitions:s,queryCount:i,depCount:r,options:null}}visitState(t,e){const i=this.visitStyle(t.styles,e),r=t.options&&t.options.params||null;if(i.containsDynamicStyles){const o=new Set,s=r||{};i.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{CE(l).forEach(c=>{s.hasOwnProperty(c)||o.add(c)})})}),o.size&&(vh(o.values()),e.errors.push(function Zj(n,t){return new I(3008,!1)}()))}return{type:0,name:t.name,style:i,options:r?{params:r}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const i=Un(this,Tc(t.animation),e);return{type:1,matchers:BG(t.expr,e.errors),animation:i,queryCount:e.queryCount,depCount:e.depCount,options:cs(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map(i=>Un(this,i,e)),options:cs(t.options)}}visitGroup(t,e){const i=e.currentTime;let r=0;const o=t.steps.map(s=>{e.currentTime=i;const a=Un(this,s,e);return r=Math.max(r,e.currentTime),a});return e.currentTime=r,{type:3,steps:o,options:cs(t.options)}}visitAnimate(t,e){const i=function YG(n,t){if(n.hasOwnProperty("duration"))return n;if("number"==typeof n)return y_(yh(n,t).duration,0,"");const e=n;if(e.split(/\s+/).some(o=>"{"==o.charAt(0)&&"{"==o.charAt(1))){const o=y_(0,0,"");return o.dynamic=!0,o.strValue=e,o}const r=yh(e,t);return y_(r.duration,r.delay,r.easing)}(t.timings,e.errors);e.currentAnimateTimings=i;let r,o=t.styles?t.styles:Pe({});if(5==o.type)r=this.visitKeyframes(o,e);else{let s=t.styles,a=!1;if(!s){a=!0;const c={};i.easing&&(c.easing=i.easing),s=Pe(c)}e.currentTime+=i.duration+i.delay;const l=this.visitStyle(s,e);l.isEmptyStep=a,r=l}return e.currentAnimateTimings=null,{type:4,timings:i,style:r,options:null}}visitStyle(t,e){const i=this._makeStyleAst(t,e);return this._validateStyleAst(i,e),i}_makeStyleAst(t,e){const i=[],r=Array.isArray(t.styles)?t.styles:[t.styles];for(let a of r)"string"==typeof a?a===Pr?i.push(a):e.errors.push(new I(3002,!1)):i.push(_E(a));let o=!1,s=null;return i.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(s=a.get("easing"),a.delete("easing")),!o))for(let l of a.values())if(l.toString().indexOf("{{")>=0){o=!0;break}}),{type:6,styles:i,easing:s,offset:t.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(t,e){const i=e.currentAnimateTimings;let r=e.currentTime,o=e.currentTime;i&&o>0&&(o-=i.duration+i.delay),t.styles.forEach(s=>{"string"!=typeof s&&s.forEach((a,l)=>{const c=e.collectedStyles.get(e.currentQuerySelector),u=c.get(l);let d=!0;u&&(o!=r&&o>=u.startTime&&r<=u.endTime&&(e.errors.push(function Jj(n,t,e,i,r){return new I(3010,!1)}()),d=!1),o=u.startTime),d&&c.set(l,{startTime:o,endTime:r}),e.options&&function kG(n,t,e){const i=t.params||{},r=CE(n);r.length&&r.forEach(o=>{i.hasOwnProperty(o)||e.push(function zj(n){return new I(3001,!1)}())})}(a,e.options,e.errors)})})}visitKeyframes(t,e){const i={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(function eG(){return new I(3011,!1)}()),i;let o=0;const s=[];let a=!1,l=!1,c=0;const u=t.steps.map(C=>{const F=this._makeStyleAst(C,e);let E=null!=F.offset?F.offset:function qG(n){if("string"==typeof n)return null;let t=null;if(Array.isArray(n))n.forEach(e=>{if(e instanceof Map&&e.has("offset")){const i=e;t=parseFloat(i.get("offset")),i.delete("offset")}});else if(n instanceof Map&&n.has("offset")){const e=n;t=parseFloat(e.get("offset")),e.delete("offset")}return t}(F.styles),N=0;return null!=E&&(o++,N=F.offset=E),l=l||N<0||N>1,a=a||N0&&o{const E=h>0?F==g?1:h*F:s[F],N=E*x;e.currentTime=_+y.delay+N,y.duration=N,this._validateStyleAst(C,e),C.offset=E,i.styles.push(C)}),i}visitReference(t,e){return{type:8,animation:Un(this,Tc(t.animation),e),options:cs(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:cs(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:cs(t.options)}}visitQuery(t,e){const i=e.currentQuerySelector,r=t.options||{};e.queryCount++,e.currentQuery=t;const[o,s]=function UG(n){const t=!!n.split(/\s*,\s*/).find(e=>":self"==e);return t&&(n=n.replace(jG,"")),n=n.replace(/@\*/g,_h).replace(/@\w+/g,e=>_h+"-"+e.slice(1)).replace(/:animating/g,f_),[n,t]}(t.selector);e.currentQuerySelector=i.length?i+" "+o:o,Gn(e.collectedStyles,e.currentQuerySelector,new Map);const a=Un(this,Tc(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=i,{type:11,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:s,animation:a,originalSelector:t.selector,options:cs(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push(function rG(){return new I(3013,!1)}());const i="full"===t.timings?{duration:0,delay:0,easing:"full"}:yh(t.timings,e.errors,!0);return{type:12,animation:Un(this,Tc(t.animation),e),timings:i,options:null}}}class WG{constructor(t){this.errors=t,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 cs(n){return n?(n=Ac(n)).params&&(n.params=function zG(n){return n?Ac(n):null}(n.params)):n={},n}function y_(n,t,e){return{duration:n,delay:t,easing:e}}function v_(n,t,e,i,r,o,s=null,a=!1){return{type:1,element:n,keyframes:t,preStyleProps:e,postStyleProps:i,duration:r,delay:o,totalTime:r+o,easing:s,subTimeline:a}}class Mh{constructor(){this._map=new Map}get(t){return this._map.get(t)||[]}append(t,e){let i=this._map.get(t);i||this._map.set(t,i=[]),i.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}}const ZG=new RegExp(":enter","g"),JG=new RegExp(":leave","g");function b_(n,t,e,i,r,o=new Map,s=new Map,a,l,c=[]){return(new eU).buildKeyframes(n,t,e,i,r,o,s,a,l,c)}class eU{buildKeyframes(t,e,i,r,o,s,a,l,c,u=[]){c=c||new Mh;const d=new C_(t,e,c,r,o,u,[]);d.options=l;const h=l.delay?Lr(l.delay):0;d.currentTimeline.delayNextStep(h),d.currentTimeline.setStyles([s],null,d.errors,l),Un(this,i,d);const g=d.timelines.filter(_=>_.containsAnimation());if(g.length&&a.size){let _;for(let y=g.length-1;y>=0;y--){const x=g[y];if(x.element===e){_=x;break}}_&&!_.allowOnlyTimelineStyles()&&_.setStyles([a],null,d.errors,l)}return g.length?g.map(_=>_.buildKeyframes()):[v_(e,[],[],[],0,h,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){const i=e.subInstructions.get(e.element);if(i){const r=e.createSubContext(t.options),o=e.currentTimeline.currentTime,s=this._visitSubInstructions(i,r,r.options);o!=s&&e.transformIntoNewTimeline(s)}e.previousNode=t}visitAnimateRef(t,e){const i=e.createSubContext(t.options);i.transformIntoNewTimeline(),this._applyAnimateRefDelay(t.animation,e,i),this.visitReference(t.animation,i),e.transformIntoNewTimeline(i.currentTimeline.currentTime),e.previousNode=t}_applyAnimateRefDelay(t,e,i){var r;const o=null===(r=t.options)||void 0===r?void 0:r.delay;if(!o)return;let s;var a,l;"string"==typeof o?s=Lr(Ic(o,null!==(a=null===(l=t.options)||void 0===l?void 0:l.params)&&void 0!==a?a:{},e.errors)):s=o;i.delayNextStep(s)}_visitSubInstructions(t,e,i){let o=e.currentTimeline.currentTime;const s=null!=i.duration?Lr(i.duration):null,a=null!=i.delay?Lr(i.delay):null;return 0!==s&&t.forEach(l=>{const c=e.appendInstructionToTimeline(l,s,a);o=Math.max(o,c.duration+c.delay)}),o}visitReference(t,e){e.updateOptions(t.options,!0),Un(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const i=e.subContextCount;let r=e;const o=t.options;if(o&&(o.params||o.delay)&&(r=e.createSubContext(o),r.transformIntoNewTimeline(),null!=o.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=Eh);const s=Lr(o.delay);r.delayNextStep(s)}t.steps.length&&(t.steps.forEach(s=>Un(this,s,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const i=[];let r=e.currentTimeline.currentTime;const o=t.options&&t.options.delay?Lr(t.options.delay):0;t.steps.forEach(s=>{const a=e.createSubContext(t.options);o&&a.delayNextStep(o),Un(this,s,a),r=Math.max(r,a.currentTimeline.currentTime),i.push(a.currentTimeline)}),i.forEach(s=>e.currentTimeline.mergeTimelineCollectedStyles(s)),e.transformIntoNewTimeline(r),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const i=t.strValue;return yh(e.params?Ic(i,e.params,e.errors):i,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){const i=e.currentAnimateTimings=this._visitTiming(t.timings,e),r=e.currentTimeline;i.delay&&(e.incrementTime(i.delay),r.snapshotCurrentStyles());const o=t.style;5==o.type?this.visitKeyframes(o,e):(e.incrementTime(i.duration),this.visitStyle(o,e),r.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const i=e.currentTimeline,r=e.currentAnimateTimings;!r&&i.hasCurrentStyleProperties()&&i.forwardFrame();const o=r&&r.easing||t.easing;t.isEmptyStep?i.applyEmptyStep(o):i.setStyles(t.styles,o,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const i=e.currentAnimateTimings,r=e.currentTimeline.duration,o=i.duration,a=e.createSubContext().currentTimeline;a.easing=i.easing,t.styles.forEach(l=>{a.forwardTime((l.offset||0)*o),a.setStyles(l.styles,l.easing,e.errors,e.options),a.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(a),e.transformIntoNewTimeline(r+o),e.previousNode=t}visitQuery(t,e){const i=e.currentTimeline.currentTime,r=t.options||{},o=r.delay?Lr(r.delay):0;o&&(6===e.previousNode.type||0==i&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=Eh);let s=i;const a=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!r.optional,e.errors);e.currentQueryTotal=a.length;let l=null;a.forEach((c,u)=>{e.currentQueryIndex=u;const d=e.createSubContext(t.options,c);o&&d.delayNextStep(o),c===e.element&&(l=d.currentTimeline),Un(this,t.animation,d),d.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,d.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(s),l&&(e.currentTimeline.mergeTimelineCollectedStyles(l),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){const i=e.parentContext,r=e.currentTimeline,o=t.timings,s=Math.abs(o.duration),a=s*(e.currentQueryTotal-1);let l=s*e.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":l=a-l;break;case"full":l=i.currentStaggerTime}const u=e.currentTimeline;l&&u.delayNextStep(l);const d=u.currentTime;Un(this,t.animation,e),e.previousNode=t,i.currentStaggerTime=r.currentTime-d+(r.startTime-i.currentTimeline.startTime)}}const Eh={};class C_{constructor(t,e,i,r,o,s,a,l){this._driver=t,this.element=e,this.subInstructions=i,this._enterClassName=r,this._leaveClassName=o,this.errors=s,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Eh,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new Sh(this._driver,e,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const i=t;let r=this.options;null!=i.duration&&(r.duration=Lr(i.duration)),null!=i.delay&&(r.delay=Lr(i.delay));const o=i.params;if(o){let s=r.params;s||(s=this.options.params={}),Object.keys(o).forEach(a=>{(!e||!s.hasOwnProperty(a))&&(s[a]=Ic(o[a],s,this.errors))})}}_copyOptions(){const t={};if(this.options){const e=this.options.params;if(e){const i=t.params={};Object.keys(e).forEach(r=>{i[r]=e[r]})}}return t}createSubContext(t=null,e,i){const r=e||this.element,o=new C_(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,i||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(t),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(t){return this.previousNode=Eh,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,i){const r={duration:e??t.duration,delay:this.currentTimeline.currentTime+(i??0)+t.delay,easing:""},o=new tU(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,r,t.stretchStartingKeyframe);return this.timelines.push(o),r}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,i,r,o,s){let a=[];if(r&&a.push(this.element),t.length>0){t=(t=t.replace(ZG,"."+this._enterClassName)).replace(JG,"."+this._leaveClassName);let c=this._driver.query(this.element,t,1!=i);0!==i&&(c=i<0?c.slice(c.length+i,c.length):c.slice(0,i)),a.push(...c)}return!o&&0==a.length&&s.push(function oG(n){return new I(3014,!1)}()),a}}class Sh{constructor(t,e,i,r){this._driver=t,this.element=e,this.startTime=i,this._elementTimelineStylesLookup=r,this.duration=0,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(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(t){const e=1===this._keyframes.size&&this._pendingStyles.size;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new Sh(this._driver,t,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,e){this._localTimelineStyles.set(t,e),this._globalTimelineStyles.set(t,e),this._styleSummary.set(t,{time:this.currentTime,value:e})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&this._previousKeyframe.set("easing",t);for(let[e,i]of this._globalTimelineStyles)this._backFill.set(e,i||Pr),this._currentKeyframe.set(e,Pr);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,i,r){e&&this._previousKeyframe.set("easing",e);const o=r&&r.params||{},s=function nU(n,t){const e=new Map;let i;return n.forEach(r=>{if("*"===r){i=i||t.keys();for(let o of i)e.set(o,Pr)}else mo(r,e)}),e}(t,this._globalTimelineStyles);for(let[l,c]of s){const u=Ic(c,o,i);var a;this._pendingStyles.set(l,u),this._localTimelineStyles.has(l)||this._backFill.set(l,null!==(a=this._globalTimelineStyles.get(l))&&void 0!==a?a:Pr),this._updateStyle(l,u)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((t,e)=>{this._currentKeyframe.set(e,t)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((t,e)=>{this._currentKeyframe.has(e)||this._currentKeyframe.set(e,t)}))}snapshotCurrentStyles(){for(let[t,e]of this._localTimelineStyles)this._pendingStyles.set(t,e),this._updateStyle(t,e)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const t=[];for(let e in this._currentKeyframe)t.push(e);return t}mergeTimelineCollectedStyles(t){t._styleSummary.forEach((e,i)=>{const r=this._styleSummary.get(i);(!r||e.time>r.time)&&this._updateStyle(i,e.value)})}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,i=1===this._keyframes.size&&0===this.duration;let r=[];this._keyframes.forEach((a,l)=>{const c=mo(a,new Map,this._backFill);c.forEach((u,d)=>{"!"===u?t.add(d):u===Pr&&e.add(d)}),i||c.set("offset",l/this.duration),r.push(c)});const o=t.size?vh(t.values()):[],s=e.size?vh(e.values()):[];if(i){const a=r[0],l=new Map(a);a.set("offset",0),l.set("offset",1),r=[a,l]}return v_(this.element,r,o,s,this.duration,this.startTime,this.easing,!1)}}class tU extends Sh{constructor(t,e,i,r,o,s,a=!1){super(t,e,s.delay),this.keyframes=i,this.preStyleProps=r,this.postStyleProps=o,this._stretchStartingKeyframe=a,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:i,easing:r}=this.timings;if(this._stretchStartingKeyframe&&e){const o=[],s=i+e,a=e/s,l=mo(t[0]);l.set("offset",0),o.push(l);const c=mo(t[0]);c.set("offset",EE(a)),o.push(c);const u=t.length-1;for(let d=1;d<=u;d++){let h=mo(t[d]);const g=h.get("offset");h.set("offset",EE((e+g*i)/s)),o.push(h)}i=s,e=0,r="",t=o}return v_(this.element,t,this.preStyleProps,this.postStyleProps,i,e,r,!0)}}function EE(n,t=3){const e=Math.pow(10,t-1);return Math.round(n*e)/e}class w_{}const iU=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"]);class rU extends w_{normalizePropertyName(t,e){return m_(t)}normalizeStyleValue(t,e,i,r){let o="";const s=i.toString().trim();if(iU.has(e)&&0!==i&&"0"!==i)if("number"==typeof i)o="px";else{const a=i.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&r.push(function Yj(n,t){return new I(3005,!1)}())}return s+o}}function SE(n,t,e,i,r,o,s,a,l,c,u,d,h){return{type:0,element:n,triggerName:t,isRemovalTransition:r,fromState:e,fromStyles:o,toState:i,toStyles:s,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:u,totalTime:d,errors:h}}const x_={};class AE{constructor(t,e,i){this._triggerName=t,this.ast=e,this._stateStyles=i}match(t,e,i,r){return function oU(n,t,e,i,r){return n.some(o=>o(t,e,i,r))}(this.ast.matchers,t,e,i,r)}buildStyles(t,e,i){let r=this._stateStyles.get("*");return void 0!==t&&(r=this._stateStyles.get(t?.toString())||r),r?r.buildStyles(e,i):new Map}build(t,e,i,r,o,s,a,l,c,u){var d;const h=[],g=this.ast.options&&this.ast.options.params||x_,y=this.buildStyles(i,a&&a.params||x_,h),x=l&&l.params||x_,C=this.buildStyles(r,x,h),F=new Set,E=new Map,N=new Map,oe="void"===r,Fe={params:sU(x,g),delay:null===(d=this.ast.options)||void 0===d?void 0:d.delay},ht=u?[]:b_(t,e,this.ast.animation,o,s,y,C,Fe,c,h);let Jt=0;if(ht.forEach(mn=>{Jt=Math.max(mn.duration+mn.delay,Jt)}),h.length)return SE(e,this._triggerName,i,r,oe,y,C,[],[],E,N,Jt,h);ht.forEach(mn=>{const $r=mn.element,jr=Gn(E,$r,new Set);mn.preStyleProps.forEach(cr=>jr.add(cr));const Gr=Gn(N,$r,new Set);mn.postStyleProps.forEach(cr=>Gr.add(cr)),$r!==e&&F.add($r)});const So=vh(F.values());return SE(e,this._triggerName,i,r,oe,y,C,ht,So,E,N,Jt)}}function sU(n,t){const e=Ac(t);for(const i in n)n.hasOwnProperty(i)&&null!=n[i]&&(e[i]=n[i]);return e}class aU{constructor(t,e,i){this.styles=t,this.defaultParams=e,this.normalizer=i}buildStyles(t,e){const i=new Map,r=Ac(this.defaultParams);return Object.keys(t).forEach(o=>{const s=t[o];null!==s&&(r[o]=s)}),this.styles.styles.forEach(o=>{"string"!=typeof o&&o.forEach((s,a)=>{s&&(s=Ic(s,r,e));const l=this.normalizer.normalizePropertyName(a,e);s=this.normalizer.normalizeStyleValue(a,l,s,e),i.set(l,s)})}),i}}class cU{constructor(t,e,i){this.name=t,this.ast=e,this._normalizer=i,this.transitionFactories=[],this.states=new Map,e.states.forEach(r=>{this.states.set(r.name,new aU(r.style,r.options&&r.options.params||{},i))}),TE(this.states,"true","1"),TE(this.states,"false","0"),e.transitions.forEach(r=>{this.transitionFactories.push(new AE(t,r,this.states))}),this.fallbackTransition=function uU(n,t,e){return new AE(n,{type:1,animation:{type:2,steps:[],options:null},matchers:[(s,a)=>!0],options:null,queryCount:0,depCount:0},t)}(t,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,i,r){return this.transitionFactories.find(s=>s.match(t,e,i,r))||null}matchStyles(t,e,i){return this.fallbackTransition.buildStyles(t,e,i)}}function TE(n,t,e){n.has(t)?n.has(e)||n.set(e,n.get(t)):n.has(e)&&n.set(t,n.get(e))}const dU=new Mh;class hU{constructor(t,e,i){this.bodyNode=t,this._driver=e,this._normalizer=i,this._animations=new Map,this._playersById=new Map,this.players=[]}register(t,e){const i=[],o=__(this._driver,e,i,[]);if(i.length)throw function hG(n){return new I(3503,!1)}();this._animations.set(t,o)}_buildPlayer(t,e,i){const r=t.element,o=aE(0,this._normalizer,0,t.keyframes,e,i);return this._driver.animate(r,o,t.duration,t.delay,t.easing,[],!0)}create(t,e,i={}){const r=[],o=this._animations.get(t);let s;const a=new Map;if(o?(s=b_(this._driver,e,o,h_,gh,new Map,new Map,i,dU,r),s.forEach(u=>{const d=Gn(a,u.element,new Map);u.postStyleProps.forEach(h=>d.set(h,null))})):(r.push(function fG(){return new I(3300,!1)}()),s=[]),r.length)throw function pG(n){return new I(3504,!1)}();a.forEach((u,d)=>{u.forEach((h,g)=>{u.set(g,this._driver.computeStyle(d,g,Pr))})});const c=go(s.map(u=>{const d=a.get(u.element);return this._buildPlayer(u,new Map,d)}));return this._playersById.set(t,c),c.onDestroy(()=>this.destroy(t)),this.players.push(c),c}destroy(t){const e=this._getPlayer(t);e.destroy(),this._playersById.delete(t);const i=this.players.indexOf(e);i>=0&&this.players.splice(i,1)}_getPlayer(t){const e=this._playersById.get(t);if(!e)throw function gG(n){return new I(3301,!1)}();return e}listen(t,e,i,r){const o=l_(e,"","","");return s_(this._getPlayer(t),i,o,r),()=>{}}command(t,e,i,r){if("register"==i)return void this.register(t,r[0]);if("create"==i)return void this.create(t,e,r[0]||{});const o=this._getPlayer(t);switch(i){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(t)}}}const IE="ng-animate-queued",D_="ng-animate-disabled",_U=[],kE={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},yU={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},li="__ng_removed";class M_{constructor(t,e=""){this.namespaceId=e;const i=t&&t.hasOwnProperty("value");if(this.value=function wU(n){return n??null}(i?t.value:t),i){const o=Ac(t);delete o.value,this.options=o}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(t){const e=t.params;if(e){const i=this.options.params;Object.keys(e).forEach(r=>{null==i[r]&&(i[r]=e[r])})}}}const kc="void",E_=new M_(kc);class vU{constructor(t,e,i){this.id=t,this.hostElement=e,this._engine=i,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,ci(e,this._hostClassName)}listen(t,e,i,r){if(!this._triggers.has(e))throw function mG(n,t){return new I(3302,!1)}();if(null==i||0==i.length)throw function _G(n){return new I(3303,!1)}();if(!function xU(n){return"start"==n||"done"==n}(i))throw function yG(n,t){return new I(3400,!1)}();const o=Gn(this._elementListeners,t,[]),s={name:e,phase:i,callback:r};o.push(s);const a=Gn(this._engine.statesByElement,t,new Map);return a.has(e)||(ci(t,mh),ci(t,mh+"-"+e),a.set(e,E_)),()=>{this._engine.afterFlush(()=>{const l=o.indexOf(s);l>=0&&o.splice(l,1),this._triggers.has(e)||a.delete(e)})}}register(t,e){return!this._triggers.has(t)&&(this._triggers.set(t,e),!0)}_getTrigger(t){const e=this._triggers.get(t);if(!e)throw function vG(n){return new I(3401,!1)}();return e}trigger(t,e,i,r=!0){const o=this._getTrigger(e),s=new S_(this.id,e,t);let a=this._engine.statesByElement.get(t);a||(ci(t,mh),ci(t,mh+"-"+e),this._engine.statesByElement.set(t,a=new Map));let l=a.get(e);const c=new M_(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(e,c),l||(l=E_),c.value!==kc&&l.value===c.value){if(!function EU(n,t){const e=Object.keys(n),i=Object.keys(t);if(e.length!=i.length)return!1;for(let r=0;r{ls(t,x),rr(t,C)})}return}const h=Gn(this._engine.playersByElement,t,[]);h.forEach(y=>{y.namespaceId==this.id&&y.triggerName==e&&y.queued&&y.destroy()});let g=o.matchTransition(l.value,c.value,t,c.params),_=!1;if(!g){if(!r)return;g=o.fallbackTransition,_=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:g,fromState:l,toState:c,player:s,isFallbackTransition:_}),_||(ci(t,IE),s.onStart(()=>{za(t,IE)})),s.onDone(()=>{let y=this.players.indexOf(s);y>=0&&this.players.splice(y,1);const x=this._engine.playersByElement.get(t);if(x){let C=x.indexOf(s);C>=0&&x.splice(C,1)}}),this.players.push(s),h.push(s),s}deregister(t){this._triggers.delete(t),this._engine.statesByElement.forEach(e=>e.delete(t)),this._elementListeners.forEach((e,i)=>{this._elementListeners.set(i,e.filter(r=>r.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);const e=this._engine.playersByElement.get(t);e&&(e.forEach(i=>i.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e){const i=this._engine.driver.query(t,_h,!0);i.forEach(r=>{if(r[li])return;const o=this._engine.fetchNamespacesByElement(r);o.size?o.forEach(s=>s.triggerLeaveAnimation(r,e,!1,!0)):this.clearElementCache(r)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(r=>this.clearElementCache(r)))}triggerLeaveAnimation(t,e,i,r){const o=this._engine.statesByElement.get(t),s=new Map;if(o){const a=[];if(o.forEach((l,c)=>{if(s.set(c,l.value),this._triggers.has(c)){const u=this.trigger(t,c,kc,r);u&&a.push(u)}}),a.length)return this._engine.markElementAsRemoved(this.id,t,!0,e,s),i&&go(a).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){const e=this._elementListeners.get(t),i=this._engine.statesByElement.get(t);if(e&&i){const r=new Set;e.forEach(o=>{const s=o.name;if(r.has(s))return;r.add(s);const l=this._triggers.get(s).fallbackTransition,c=i.get(s)||E_,u=new M_(kc),d=new S_(this.id,s,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:s,transition:l,fromState:c,toState:u,player:d,isFallbackTransition:!0})})}}removeNode(t,e){const i=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let r=!1;if(i.totalAnimations){const o=i.players.length?i.playersByQueriedElement.get(t):[];if(o&&o.length)r=!0;else{let s=t;for(;s=s.parentNode;)if(i.statesByElement.get(s)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(t),r)i.markElementAsRemoved(this.id,t,!1,e);else{const o=t[li];(!o||o===kE)&&(i.afterFlush(()=>this.clearElementCache(t)),i.destroyInnerAnimations(t),i._onRemovalComplete(t,e))}}insertNode(t,e){ci(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach(i=>{const r=i.player;if(r.destroyed)return;const o=i.element,s=this._elementListeners.get(o);s&&s.forEach(a=>{if(a.name==i.triggerName){const l=l_(o,i.triggerName,i.fromState.value,i.toState.value);l._data=t,s_(i.player,a.phase,l,a.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):e.push(i)}),this._queue=[],e.sort((i,r)=>{const o=i.transition.ast.depCount,s=r.transition.ast.depCount;return 0==o||0==s?o-s:this._engine.driver.containsElement(i.element,r.element)?1:-1})}destroy(t){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}elementContainsData(t){let e=!1;return this._elementListeners.has(t)&&(e=!0),e=!!this._queue.find(i=>i.element===t)||e,e}}class bU{constructor(t,e,i){this.bodyNode=t,this.driver=e,this._normalizer=i,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=(r,o)=>{}}_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}get queuedPlayers(){const t=[];return this._namespaceList.forEach(e=>{e.players.forEach(i=>{i.queued&&t.push(i)})}),t}createNamespace(t,e){const i=new vU(t,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(i,e):(this.newHostElements.set(e,i),this.collectEnterElement(e)),this._namespaceLookup[t]=i}_balanceNamespaceList(t,e){const i=this._namespaceList,r=this.namespacesByHostElement;if(i.length-1>=0){let s=!1,a=this.driver.getParentElement(e);for(;a;){const l=r.get(a);if(l){const c=i.indexOf(l);i.splice(c+1,0,t),s=!0;break}a=this.driver.getParentElement(a)}s||i.unshift(t)}else i.push(t);return r.set(e,t),t}register(t,e){let i=this._namespaceLookup[t];return i||(i=this.createNamespace(t,e)),i}registerTrigger(t,e,i){let r=this._namespaceLookup[t];r&&r.register(e,i)&&this.totalAnimations++}destroy(t,e){if(!t)return;const i=this._fetchNamespace(t);this.afterFlush(()=>{this.namespacesByHostElement.delete(i.hostElement),delete this._namespaceLookup[t];const r=this._namespaceList.indexOf(i);r>=0&&this._namespaceList.splice(r,1)}),this.afterFlushAnimationsDone(()=>i.destroy(e))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){const e=new Set,i=this.statesByElement.get(t);if(i)for(let r of i.values())if(r.namespaceId){const o=this._fetchNamespace(r.namespaceId);o&&e.add(o)}return e}trigger(t,e,i,r){if(Ah(e)){const o=this._fetchNamespace(t);if(o)return o.trigger(e,i,r),!0}return!1}insertNode(t,e,i,r){if(!Ah(e))return;const o=e[li];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;const s=this.collectedLeaveElements.indexOf(e);s>=0&&this.collectedLeaveElements.splice(s,1)}if(t){const s=this._fetchNamespace(t);s&&s.insertNode(e,i)}r&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),ci(t,D_)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),za(t,D_))}removeNode(t,e,i,r){if(Ah(e)){const o=t?this._fetchNamespace(t):null;if(o?o.removeNode(e,r):this.markElementAsRemoved(t,e,!1,r),i){const s=this.namespacesByHostElement.get(e);s&&s.id!==t&&s.removeNode(e,r)}}else this._onRemovalComplete(e,r)}markElementAsRemoved(t,e,i,r,o){this.collectedLeaveElements.push(e),e[li]={namespaceId:t,setForRemoval:r,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:o}}listen(t,e,i,r,o){return Ah(e)?this._fetchNamespace(t).listen(e,i,r,o):()=>{}}_buildInstruction(t,e,i,r,o){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,i,r,t.fromState.options,t.toState.options,e,o)}destroyInnerAnimations(t){let e=this.driver.query(t,_h,!0);e.forEach(i=>this.destroyActiveAnimationsForElement(i)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,f_,!0),e.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(t){const e=this.playersByElement.get(t);e&&e.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(t){const e=this.playersByQueriedElement.get(t);e&&e.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return go(this.players).onDone(()=>t());t()})}processLeaveNode(t){var e;const i=t[li];if(i&&i.setForRemoval){if(t[li]=kE,i.namespaceId){this.destroyInnerAnimations(t);const r=this._fetchNamespace(i.namespaceId);r&&r.clearElementCache(t)}this._onRemovalComplete(t,i.setForRemoval)}null!==(e=t.classList)&&void 0!==e&&e.contains(D_)&&this.markElementAsDisabled(t,!1),this.driver.query(t,".ng-animate-disabled",!0).forEach(r=>{this.markElementAsDisabled(r,!1)})}flush(t=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,r)=>this._balanceNamespaceList(i,r)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;ii()),this._flushFns=[],this._whenQuietFns.length){const i=this._whenQuietFns;this._whenQuietFns=[],e.length?go(e).onDone(()=>{i.forEach(r=>r())}):i.forEach(r=>r())}}reportError(t){throw function bG(n){return new I(3402,!1)}()}_flushAnimations(t,e){const i=new Mh,r=[],o=new Map,s=[],a=new Map,l=new Map,c=new Map,u=new Set;this.disabledNodes.forEach(W=>{u.add(W);const X=this.driver.query(W,".ng-animate-queued",!0);for(let ie=0;ie{const ie=h_+y++;_.set(X,ie),W.forEach(Se=>ci(Se,ie))});const x=[],C=new Set,F=new Set;for(let W=0;WC.add(Se)):F.add(X))}const E=new Map,N=OE(h,Array.from(C));N.forEach((W,X)=>{const ie=gh+y++;E.set(X,ie),W.forEach(Se=>ci(Se,ie))}),t.push(()=>{g.forEach((W,X)=>{const ie=_.get(X);W.forEach(Se=>za(Se,ie))}),N.forEach((W,X)=>{const ie=E.get(X);W.forEach(Se=>za(Se,ie))}),x.forEach(W=>{this.processLeaveNode(W)})});const oe=[],Fe=[];for(let W=this._namespaceList.length-1;W>=0;W--)this._namespaceList[W].drainQueuedTransitions(e).forEach(ie=>{const Se=ie.player,ft=ie.element;if(oe.push(Se),this.collectedEnterElements.length){const en=ft[li];if(en&&en.setForMove){if(en.previousTriggersValues&&en.previousTriggersValues.has(ie.triggerName)){const Is=en.previousTriggersValues.get(ie.triggerName),hi=this.statesByElement.get(ie.element);if(hi&&hi.has(ie.triggerName)){const Ff=hi.get(ie.triggerName);Ff.value=Is,hi.set(ie.triggerName,Ff)}}return void Se.destroy()}}const ur=!d||!this.driver.containsElement(d,ft),Wn=E.get(ft),Ao=_.get(ft),ot=this._buildInstruction(ie,i,Ao,Wn,ur);if(ot.errors&&ot.errors.length)return void Fe.push(ot);if(ur)return Se.onStart(()=>ls(ft,ot.fromStyles)),Se.onDestroy(()=>rr(ft,ot.toStyles)),void r.push(Se);if(ie.isFallbackTransition)return Se.onStart(()=>ls(ft,ot.fromStyles)),Se.onDestroy(()=>rr(ft,ot.toStyles)),void r.push(Se);const XI=[];ot.timelines.forEach(en=>{en.stretchStartingKeyframe=!0,this.disabledNodes.has(en.element)||XI.push(en)}),ot.timelines=XI,i.append(ft,ot.timelines),s.push({instruction:ot,player:Se,element:ft}),ot.queriedElements.forEach(en=>Gn(a,en,[]).push(Se)),ot.preStyleProps.forEach((en,Is)=>{if(en.size){let hi=l.get(Is);hi||l.set(Is,hi=new Set),en.forEach((Ff,mv)=>hi.add(mv))}}),ot.postStyleProps.forEach((en,Is)=>{let hi=c.get(Is);hi||c.set(Is,hi=new Set),en.forEach((Ff,mv)=>hi.add(mv))})});if(Fe.length){const W=[];Fe.forEach(X=>{W.push(function CG(n,t){return new I(3505,!1)}())}),oe.forEach(X=>X.destroy()),this.reportError(W)}const ht=new Map,Jt=new Map;s.forEach(W=>{const X=W.element;i.has(X)&&(Jt.set(X,X),this._beforeAnimationBuild(W.player.namespaceId,W.instruction,ht))}),r.forEach(W=>{const X=W.element;this._getPreviousPlayers(X,!1,W.namespaceId,W.triggerName,null).forEach(Se=>{Gn(ht,X,[]).push(Se),Se.destroy()})});const So=x.filter(W=>LE(W,l,c)),mn=new Map;RE(mn,this.driver,F,c,Pr).forEach(W=>{LE(W,l,c)&&So.push(W)});const jr=new Map;g.forEach((W,X)=>{RE(jr,this.driver,new Set(W),l,"!")}),So.forEach(W=>{var X,ie;const Se=mn.get(W),ft=jr.get(W);mn.set(W,new Map([...Array.from(null!==(X=Se?.entries())&&void 0!==X?X:[]),...Array.from(null!==(ie=ft?.entries())&&void 0!==ie?ie:[])]))});const Gr=[],cr=[],pl={};s.forEach(W=>{const{element:X,player:ie,instruction:Se}=W;if(i.has(X)){if(u.has(X))return ie.onDestroy(()=>rr(X,Se.toStyles)),ie.disabled=!0,ie.overrideTotalTime(Se.totalTime),void r.push(ie);let ft=pl;if(Jt.size>1){let Wn=X;const Ao=[];for(;Wn=Wn.parentNode;){const ot=Jt.get(Wn);if(ot){ft=ot;break}Ao.push(Wn)}Ao.forEach(ot=>Jt.set(ot,ft))}const ur=this._buildAnimation(ie.namespaceId,Se,ht,o,jr,mn);if(ie.setRealPlayer(ur),ft===pl)Gr.push(ie);else{const Wn=this.playersByElement.get(ft);Wn&&Wn.length&&(ie.parentPlayer=go(Wn)),r.push(ie)}}else ls(X,Se.fromStyles),ie.onDestroy(()=>rr(X,Se.toStyles)),cr.push(ie),u.has(X)&&r.push(ie)}),cr.forEach(W=>{const X=o.get(W.element);if(X&&X.length){const ie=go(X);W.setRealPlayer(ie)}}),r.forEach(W=>{W.parentPlayer?W.syncPlayerEvents(W.parentPlayer):W.destroy()});for(let W=0;W!ur.destroyed);ft.length?DU(this,X,ft):this.processLeaveNode(X)}return x.length=0,Gr.forEach(W=>{this.players.push(W),W.onDone(()=>{W.destroy();const X=this.players.indexOf(W);this.players.splice(X,1)}),W.play()}),Gr}elementContainsData(t,e){let i=!1;const r=e[li];return r&&r.setForRemoval&&(i=!0),this.playersByElement.has(e)&&(i=!0),this.playersByQueriedElement.has(e)&&(i=!0),this.statesByElement.has(e)&&(i=!0),this._fetchNamespace(t).elementContainsData(e)||i}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,i,r,o){let s=[];if(e){const a=this.playersByQueriedElement.get(t);a&&(s=a)}else{const a=this.playersByElement.get(t);if(a){const l=!o||o==kc;a.forEach(c=>{c.queued||!l&&c.triggerName!=r||s.push(c)})}}return(i||r)&&(s=s.filter(a=>!(i&&i!=a.namespaceId||r&&r!=a.triggerName))),s}_beforeAnimationBuild(t,e,i){const o=e.element,s=e.isRemovalTransition?void 0:t,a=e.isRemovalTransition?void 0:e.triggerName;for(const l of e.timelines){const c=l.element,u=c!==o,d=Gn(i,c,[]);this._getPreviousPlayers(c,u,s,a,e.toState).forEach(g=>{const _=g.getRealPlayer();_.beforeDestroy&&_.beforeDestroy(),g.destroy(),d.push(g)})}ls(o,e.fromStyles)}_buildAnimation(t,e,i,r,o,s){const a=e.triggerName,l=e.element,c=[],u=new Set,d=new Set,h=e.timelines.map(_=>{const y=_.element;u.add(y);const x=y[li];if(x&&x.removedBeforeQueried)return new Sc(_.duration,_.delay);const C=y!==l,F=function MU(n){const t=[];return PE(n,t),t}((i.get(y)||_U).map(ht=>ht.getRealPlayer())).filter(ht=>!!ht.element&&ht.element===y),E=o.get(y),N=s.get(y),oe=aE(0,this._normalizer,0,_.keyframes,E,N),Fe=this._buildPlayer(_,oe,F);if(_.subTimeline&&r&&d.add(y),C){const ht=new S_(t,a,y);ht.setRealPlayer(Fe),c.push(ht)}return Fe});c.forEach(_=>{Gn(this.playersByQueriedElement,_.element,[]).push(_),_.onDone(()=>function CU(n,t,e){let i=n.get(t);if(i){if(i.length){const r=i.indexOf(e);i.splice(r,1)}0==i.length&&n.delete(t)}return i}(this.playersByQueriedElement,_.element,_))}),u.forEach(_=>ci(_,mE));const g=go(h);return g.onDestroy(()=>{u.forEach(_=>za(_,mE)),rr(l,e.toStyles)}),d.forEach(_=>{Gn(r,_,[]).push(g)}),g}_buildPlayer(t,e,i){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,i):new Sc(t.duration,t.delay)}}class S_{constructor(t,e,i){this.namespaceId=t,this.triggerName=e,this.element=i,this._player=new Sc,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(t){this._containsRealPlayer||(this._player=t,this._queuedCallbacks.forEach((e,i)=>{e.forEach(r=>s_(t,i,void 0,r))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(t){this.totalTime=t}syncPlayerEvents(t){const e=this._player;e.triggerCallback&&t.onStart(()=>e.triggerCallback("start")),t.onDone(()=>this.finish()),t.onDestroy(()=>this.destroy())}_queueEvent(t,e){Gn(this._queuedCallbacks,t,[]).push(e)}onDone(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){const e=this._player;e.triggerCallback&&e.triggerCallback(t)}}function Ah(n){return n&&1===n.nodeType}function FE(n,t){const e=n.style.display;return n.style.display=t??"none",e}function RE(n,t,e,i,r){const o=[];e.forEach(l=>o.push(FE(l)));const s=[];i.forEach((l,c)=>{const u=new Map;l.forEach(d=>{const h=t.computeStyle(c,d,r);u.set(d,h),(!h||0==h.length)&&(c[li]=yU,s.push(c))}),n.set(c,u)});let a=0;return e.forEach(l=>FE(l,o[a++])),s}function OE(n,t){const e=new Map;if(n.forEach(a=>e.set(a,[])),0==t.length)return e;const r=new Set(t),o=new Map;function s(a){if(!a)return 1;let l=o.get(a);if(l)return l;const c=a.parentNode;return l=e.has(c)?c:r.has(c)?1:s(c),o.set(a,l),l}return t.forEach(a=>{const l=s(a);1!==l&&e.get(l).push(a)}),e}function ci(n,t){var e;null===(e=n.classList)||void 0===e||e.add(t)}function za(n,t){var e;null===(e=n.classList)||void 0===e||e.remove(t)}function DU(n,t,e){go(e).onDone(()=>n.processLeaveNode(t))}function PE(n,t){for(let e=0;er.add(o)):t.set(n,i),e.delete(n),!0}class Th{constructor(t,e,i){this.bodyNode=t,this._driver=e,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(r,o)=>{},this._transitionEngine=new bU(t,e,i),this._timelineEngine=new hU(t,e,i),this._transitionEngine.onRemovalComplete=(r,o)=>this.onRemovalComplete(r,o)}registerTrigger(t,e,i,r,o){const s=t+"-"+r;let a=this._triggerCache[s];if(!a){const l=[],u=__(this._driver,o,l,[]);if(l.length)throw function uG(n,t){return new I(3404,!1)}();a=function lU(n,t,e){return new cU(n,t,e)}(r,u,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(e,r,a)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,i,r){this._transitionEngine.insertNode(t,e,i,r)}onRemove(t,e,i,r){this._transitionEngine.removeNode(t,e,r||!1,i)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,i,r){if("@"==i.charAt(0)){const[o,s]=lE(i);this._timelineEngine.command(o,e,s,r)}else this._transitionEngine.trigger(t,e,i,r)}listen(t,e,i,r,o){if("@"==i.charAt(0)){const[s,a]=lE(i);return this._timelineEngine.listen(s,e,a,o)}return this._transitionEngine.listen(t,e,i,r,o)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let AU=(()=>{class n{constructor(e,i,r){this._element=e,this._startStyles=i,this._endStyles=r,this._state=0;let o=n.initialStylesByElement.get(e);o||n.initialStylesByElement.set(e,o=new Map),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&rr(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(rr(this._element,this._initialStyles),this._endStyles&&(rr(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(n.initialStylesByElement.delete(this._element),this._startStyles&&(ls(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(ls(this._element,this._endStyles),this._endStyles=null),rr(this._element,this._initialStyles),this._state=3)}}return n.initialStylesByElement=new WeakMap,n})();function A_(n){let t=null;return n.forEach((e,i)=>{(function TU(n){return"display"===n||"position"===n})(i)&&(t=t||new Map,t.set(i,e))}),t}class NE{constructor(t,e,i,r){this.element=t,this.keyframes=e,this.options=i,this._specialStyles=r,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=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(t){const e=[];return t.forEach(i=>{e.push(Object.fromEntries(i))}),e}_triggerWebAnimation(t,e,i){return t.animate(this._convertKeyframesToObject(e),i)}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(t=>t()),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(t=>t()),this._onDestroyFns=[])}setPosition(t){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=t*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const t=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,r)=>{"offset"!==r&&t.set(r,this._finished?i:wE(this.element,r))}),this.currentSnapshot=t}triggerCallback(t){const e="start"===t?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}class IU{validateStyleProperty(t){return!0}validateAnimatableStyleProperty(t){return!0}matchesElement(t,e){return!1}containsElement(t,e){return hE(t,e)}getParentElement(t){return u_(t)}query(t,e,i){return fE(t,e,i)}computeStyle(t,e,i){return window.getComputedStyle(t)[e]}animate(t,e,i,r,o,s=[]){const l={duration:i,delay:r,fill:0==r?"both":"forwards"};o&&(l.easing=o);const c=new Map,u=s.filter(g=>g instanceof NE);(function OG(n,t){return 0===n||0===t})(i,r)&&u.forEach(g=>{g.currentSnapshot.forEach((_,y)=>c.set(y,_))});let d=function IG(n){return n.length?n[0]instanceof Map?n:n.map(t=>_E(t)):[]}(e).map(g=>mo(g));d=function PG(n,t,e){if(e.size&&t.length){let i=t[0],r=[];if(e.forEach((o,s)=>{i.has(s)||r.push(s),i.set(s,o)}),r.length)for(let o=1;os.set(a,wE(n,a)))}}return t}(t,d,c);const h=function SU(n,t){let e=null,i=null;return Array.isArray(t)&&t.length?(e=A_(t[0]),t.length>1&&(i=A_(t[t.length-1]))):t instanceof Map&&(e=A_(t)),e||i?new AU(n,e,i):null}(t,d);return new NE(t,d,l,h)}}let kU=(()=>{class n extends eE{constructor(e,i){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(i.body,{id:"0",encapsulation:vi.None,styles:[],data:{animation:[]}})}build(e){const i=this._nextAnimationId.toString();this._nextAnimationId++;const r=Array.isArray(e)?tE(e):e;return VE(this._renderer,null,i,"register",[r]),new FU(i,this._renderer)}}return n.\u0275fac=function(e){return new(e||n)(b(zo),b(ae))},n.\u0275prov=k({token:n,factory:n.\u0275fac}),n})();class FU extends class Bj{}{constructor(t,e){super(),this._id=t,this._renderer=e}create(t,e){return new RU(this._id,t,e||{},this._renderer)}}class RU{constructor(t,e,i,r){this.id=t,this.element=e,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",i)}_listen(t,e){return this._renderer.listen(this.element,`@@${this.id}:${t}`,e)}_command(t,...e){return VE(this._renderer,this.element,this.id,t,e)}onDone(t){this._listen("done",t)}onStart(t){this._listen("start",t)}onDestroy(t){this._listen("destroy",t)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(t){this._command("setPosition",t)}getPosition(){var t,e;return null!==(t=null===(e=this._renderer.engine.players[+this.id])||void 0===e?void 0:e.getPosition())&&void 0!==t?t:0}}function VE(n,t,e,i,r){return n.setProperty(t,`@@${e}:${i}`,r)}const BE="@.disabled";let OU=(()=>{class n{constructor(e,i,r){this.delegate=e,this.engine=i,this._zone=r,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),i.onRemovalComplete=(o,s)=>{const a=s?.parentNode(o);a&&s.removeChild(a,o)}}createRenderer(e,i){const o=this.delegate.createRenderer(e,i);if(!(e&&i&&i.data&&i.data.animation)){let u=this._rendererCache.get(o);return u||(u=new HE("",o,this.engine),this._rendererCache.set(o,u)),u}const s=i.id,a=i.id+"-"+this._currentId;this._currentId++,this.engine.register(a,e);const l=u=>{Array.isArray(u)?u.forEach(l):this.engine.registerTrigger(s,a,e,u.name,u)};return i.data.animation.forEach(l),new PU(this,a,o,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(e,i,r){e>=0&&ei(r)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(o=>{const[s,a]=o;s(a)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([i,r]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return n.\u0275fac=function(e){return new(e||n)(b(zo),b(Th),b(de))},n.\u0275prov=k({token:n,factory:n.\u0275fac}),n})();class HE{constructor(t,e,i){this.namespaceId=t,this.delegate=e,this.engine=i,this.destroyNode=this.delegate.destroyNode?r=>e.destroyNode(r):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}appendChild(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}insertBefore(t,e,i,r=!0){this.delegate.insertBefore(t,e,i),this.engine.onInsert(this.namespaceId,e,t,r)}removeChild(t,e,i){this.engine.onRemove(this.namespaceId,e,this.delegate,i)}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,i,r){this.delegate.setAttribute(t,e,i,r)}removeAttribute(t,e,i){this.delegate.removeAttribute(t,e,i)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,i,r){this.delegate.setStyle(t,e,i,r)}removeStyle(t,e,i){this.delegate.removeStyle(t,e,i)}setProperty(t,e,i){"@"==e.charAt(0)&&e==BE?this.disableAnimations(t,!!i):this.delegate.setProperty(t,e,i)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,i){return this.delegate.listen(t,e,i)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}}class PU extends HE{constructor(t,e,i,r){super(e,i,r),this.factory=t,this.namespaceId=e}setProperty(t,e,i){"@"==e.charAt(0)?"."==e.charAt(1)&&e==BE?this.disableAnimations(t,i=void 0===i||!!i):this.engine.process(this.namespaceId,t,e.slice(1),i):this.delegate.setProperty(t,e,i)}listen(t,e,i){if("@"==e.charAt(0)){const r=function LU(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}(t);let o=e.slice(1),s="";return"@"!=o.charAt(0)&&([o,s]=function NU(n){const t=n.indexOf(".");return[n.substring(0,t),n.slice(t+1)]}(o)),this.engine.listen(this.namespaceId,r,o,s,a=>{this.factory.scheduleListenerCallback(a._data||-1,i,a)})}return this.delegate.listen(t,e,i)}}const $E=[{provide:eE,useClass:kU},{provide:w_,useFactory:function BU(){return new rU}},{provide:Th,useClass:(()=>{class n extends Th{constructor(e,i,r,o){super(e.body,i,r)}ngOnDestroy(){this.flush()}}return n.\u0275fac=function(e){return new(e||n)(b(ae),b(d_),b(w_),b(Va))},n.\u0275prov=k({token:n,factory:n.\u0275fac}),n})()},{provide:zo,useFactory:function HU(n,t,e){return new OU(n,t,e)},deps:[lh,Th,de]}],T_=[{provide:d_,useFactory:()=>new IU},{provide:ni,useValue:"BrowserAnimations"},...$E],jE=[{provide:d_,useClass:pE},{provide:ni,useValue:"NoopAnimations"},...$E];let $U=(()=>{class n{static withConfig(e){return{ngModule:n,providers:e.disableAnimations?jE:T_}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({providers:T_,imports:[eM]}),n})();var I_=function n(){},GE=function(){function n(t){this._ranScripts={},this._renderer=t.createRenderer(null,null)}return n.prototype.insertEl=function(t,e,i,r,o){if(r&&!o){var s=t._prevSVG&&t._prevSVG.parentNode;s&&this._renderer.removeChild(s,t._prevSVG),e.innerHTML=""}o?this._renderer.insertBefore(e,i,e.firstChild):this._renderer.appendChild(e,i),"svg"===i.nodeName&&(t._prevSVG=i)},n.prototype.evalScripts=function(t,e,i){for(var r=t.querySelectorAll("script"),o=[],s=0;s0&&("always"===i||"once"===i&&!this._ranScripts[e])){for(s=0;sn,i=r=>r.error(e());return new Re(t?r=>t.schedule(i,0,r):i)}function En(n){return qe((t,e)=>{let o,i=null,r=!1;i=t.subscribe(Ye(e,void 0,void 0,s=>{o=jt(n(s,En(n)(t))),i?(i.unsubscribe(),i=null,o.subscribe(e)):r=!0})),r&&(i.unsubscribe(),i=null,o.subscribe(e))})}var zE=function(){function n(t,e,i,r,o,s){this._appBase=t,this._location=e,this._config=i,this._http=i&&!i.bypassHttpClientInterceptorChain?r:new Ha(o),this._renderer=s.createRenderer(null,null),this.setBaseUrl(),n._cache||(n._cache=new Map),n._inProgressReqs||(n._inProgressReqs=new Map)}return n.prototype.getSVG=function(t,e,i){var r=this;void 0===i&&(i=!0);var o=(e?this.getAbsoluteUrl(t):t).replace(/#.+$/,"");if(i&&n._cache.has(o))return q(this._cloneSVG(n._cache.get(o)));if(n._inProgressReqs.has(o))return n._inProgressReqs.get(o);var s=this._http.get(o,{responseType:"text"}).pipe(ut(function(){n._inProgressReqs.delete(o)}),En(function(a){return n._inProgressReqs.delete(o),_o(a.message)}),gr(),z(function(a){var l=r._svgElementFromString(a);return n._cache.set(o,l),r._cloneSVG(l)}));return n._inProgressReqs.set(o,s),s},n.prototype.setBaseUrl=function(){this._config?this._baseUrl=this._config.baseUrl:null!==this._appBase?this._baseUrl=this._appBase:null!==this._location&&(this._baseUrl=this._location.getBaseHrefFromDOM())},n.prototype.getAbsoluteUrl=function(t){this._baseUrl&&!/^https?:\/\//i.test(t)&&0===(t=this._baseUrl+t).indexOf("//")&&(t=t.substring(1));var e=this._renderer.createElement("BASE");return e.href=t,e.href},n.prototype._svgElementFromString=function(t){var e=this._renderer.createElement("DIV");e.innerHTML=t;var i=e.querySelector("svg");if(!i)throw new Error("No SVG found in loaded contents");return i},n.prototype._cloneSVG=function(t){return t.cloneNode(!0)},n.\u0275prov=k({token:n,factory:n.\u0275fac=function(e){return new(e||n)(b(_m,8),b(zd,8),b(I_,8),b(Ha),b(Hm),b(zo))},providedIn:"root"}),n}();function WE(n,t){for(var e=0;e-1}(e.inlineSVG)){var r=e.inlineSVG.split("#")[1];i=function UU(n,t,e){var i=t.querySelector('[id="'.concat(e,'"]'));if(!i)throw new Error('Symbol "'.concat(e,'" not found'));var r=n.createElement("svg","svg");n.appendChild(r,i);var o=n.createElement("use","svg");return n.setAttribute(o,"href","#".concat(e),"xlink"),n.appendChild(r,o),r}(e._renderer,i,r)}e._processSvg(i)},function(i){e._fail(i)}))}},n.prototype._processSvg=function(t){if(t){if(this.removeSVGAttributes&&tr(this.platformId)&&WE(t,this.removeSVGAttributes),this.setSVGAttributes&&function zU(n,t){for(var e in t)n.setAttribute(e,t[e])}(t,this.setSVGAttributes),this.onSVGLoaded&&(t=this.onSVGLoaded(t,this._el.nativeElement)),this._insertEl(t),tr(this.platformId)&&this._inlineSVGService.evalScripts(t,this.inlineSVG,this.evalScripts),this.forceEvalStyles){var e=t.querySelectorAll("style");Array.from(e).forEach(function(i){return i.textContent+=""})}this.onSVGInserted.emit(t)}},n.prototype._insertEl=function(t){if(this.injectComponent){if(!this._svgComp){var e=this._resolver.resolveComponentFactory(UE);this._svgComp=this._viewContainerRef.createComponent(e)}this._svgComp.instance.context=this,this._svgComp.instance.replaceContents=this.replaceContents,this._svgComp.instance.prepend=this.prepend,this._svgComp.instance.content=t,this._renderer.appendChild(this._el.nativeElement,this._svgComp.injector.get(UE)._el.nativeElement)}else this._inlineSVGService.insertEl(this,this._el.nativeElement,t,this.replaceContents,this.prepend)},n.prototype._fail=function(t){if(this.onSVGFailed.emit(t),this.fallbackImgUrl){var e=this._renderer.createElement("IMG");this._renderer.setAttribute(e,"src",this.fallbackImgUrl),this._insertEl(e)}else this.fallbackSVG&&this.fallbackSVG!==this.inlineSVG&&(this.inlineSVG=this.fallbackSVG,this._insertSVG())},n.prototype._isValidPlatform=function(){return nr(this.platformId)||tr(this.platformId)},n.prototype._isSSRDisabled=function(){return nr(this.platformId)&&this._config&&this._config.clientOnly},n.\u0275fac=function(e){return new(e||n)(f($),f(At),f(Uo),f(zE),f(Wt),f(GE),f(I_,8),f($n))},n.\u0275dir=T({type:n,selectors:[["","inlineSVG",""]],inputs:{inlineSVG:"inlineSVG",resolveSVGUrl:"resolveSVGUrl",replaceContents:"replaceContents",prepend:"prepend",injectComponent:"injectComponent",cacheSVG:"cacheSVG",setSVGAttributes:"setSVGAttributes",removeSVGAttributes:"removeSVGAttributes",forceEvalStyles:"forceEvalStyles",evalScripts:"evalScripts",fallbackImgUrl:"fallbackImgUrl",fallbackSVG:"fallbackSVG",onSVGLoaded:"onSVGLoaded"},outputs:{onSVGInserted:"onSVGInserted",onSVGFailed:"onSVGFailed"},features:[Me([zE]),nt]}),n}(),WU=function(){function n(){}return n.forRoot=function(t){return{ngModule:n,providers:[{provide:I_,useValue:t}]}},n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({}),n}();class kh{constructor(t){this.startScrollPosition=0,this.interruptListenersAttached=!1,this.timer=null,t.scrollViews&&0!==t.scrollViews.length?this.isInlineScrolling=!0:(t.scrollViews=[t.document.documentElement,t.document.body,t.document.body.parentNode],this.isInlineScrolling=!1),this.pageScrollOptions=t}static getScrollingTargetPosition(t,e){const i=t.document.body,r=t.document.documentElement,a=t.document.defaultView&&t.document.defaultView.pageYOffset||r.scrollTop||i.scrollTop,l=t.document.defaultView&&t.document.defaultView.pageXOffset||r.scrollLeft||i.scrollLeft,c=r.clientTop||i.clientTop||0,u=r.clientLeft||i.clientLeft||0;if(null==e)return{top:a,left:l};const d=e.getBoundingClientRect(),g=d.left+l-u;return{top:Math.round(d.top+a-c),left:Math.round(g)}}static getInlineScrollingTargetPosition(t,e){const i={top:e.offsetTop,left:e.offsetLeft};if(t.advancedInlineOffsetCalculation&&1===t.scrollViews.length){const r={top:0,left:0},o=e.ownerDocument.defaultView;let s=!1,a=e.parentElement;for(;!s&&null!=a;)"relative"===o.getComputedStyle(a).getPropertyValue("position")&&(r.top+=a.offsetTop,r.left+=a.offsetLeft),a=a.parentElement,s=a===t.scrollViews[0];s&&(i.top+=r.top,i.left+=r.left)}return i}getScrollPropertyValue(t){return this.pageScrollOptions.verticalScrolling?t.scrollTop:t.scrollLeft}getScrollClientPropertyValue(t){return this.pageScrollOptions.verticalScrolling?t.clientHeight:t.clientWidth}extractScrollTargetPosition(){const t=this.getScrollTargetElement();return null==t?{top:NaN,left:NaN}:this.isInlineScrolling?kh.getInlineScrollingTargetPosition(this.pageScrollOptions,t):kh.getScrollingTargetPosition(this.pageScrollOptions,t)}getCurrentOffset(){return this.pageScrollOptions.scrollOffset}setScrollPosition(t){return this.pageScrollOptions.scrollViews.reduce((e,i)=>{const r=this.getScrollPropertyValue(i);if(i&&null!=r){const o=Math.abs(r-t),s=oMath.abs(this.getScrollPropertyValue(i)-t))return!0}return e},!1)}fireEvent(t){this.pageScrollOptions.scrollFinishListener&&this.pageScrollOptions.scrollFinishListener.emit(t)}attachInterruptListeners(t){this.interruptListenersAttached&&this.detachInterruptListeners(),this.interruptListener=e=>{t.report(e,this)},this.pageScrollOptions.interruptEvents.forEach(e=>this.pageScrollOptions.document.body.addEventListener(e,this.interruptListener)),this.interruptListenersAttached=!0}detachInterruptListeners(){this.pageScrollOptions.interruptEvents.forEach(t=>this.pageScrollOptions.document.body.removeEventListener(t,this.interruptListener)),this.interruptListenersAttached=!1}getScrollTargetElement(){if("string"==typeof this.pageScrollOptions.scrollTarget){const t=this.pageScrollOptions.scrollTarget;return null!==t.match(/^#[^\s]+$/g)?this.pageScrollOptions.document.getElementById(t.substr(1)):this.pageScrollOptions.document.querySelector(t)}return this.pageScrollOptions.scrollTarget}}const k_=new P("ngxps_config"),qU={_interval:10,_minScrollDistance:2,_logLevel:1,namespace:"default",verticalScrolling:!0,duration:1250,scrollOffset:0,advancedInlineOffsetCalculation:!1,interruptEvents:["mousedown","wheel","DOMMouseScroll","mousewheel","keyup","touchmove"],interruptKeys:[" ","Escape","Tab","Enter","PageUp","PageDown","Home","End","ArrowUp","ArrowRight","ArrowLeft","ArrowDown"],interruptible:!0,scrollInView:!0,easingLogic:(n,t,e,i)=>e*n/i+t};let F_=(()=>{class n{constructor(e){this.runningInstances=[],this.onInterrupted={report:(i,r)=>{if(!r.pageScrollOptions.interruptible)return;let o=!0;"keyup"===i.type?-1===this.config.interruptKeys.indexOf(i.key)&&(o=!1):"mousedown"===i.type&&(r.pageScrollOptions.scrollViews.some(s=>s.contains(i.target))||(o=!1)),o&&this.stopAll(r.pageScrollOptions.namespace)}},this.config={...qU,...e}}stopInternal(e,i){const r=this.runningInstances.indexOf(i);return r>=0&&this.runningInstances.splice(r,1),i.interruptListenersAttached&&i.detachInterruptListeners(),!!i.timer&&(clearInterval(i.timer),i.timer=void 0,i.fireEvent(!e),!0)}create(e){return new kh({...this.config,...e})}start(e){if(e.pageScrollOptions={...this.config,...e.pageScrollOptions},this.stopAll(e.pageScrollOptions.namespace),null===e.pageScrollOptions.scrollViews||0===e.pageScrollOptions.scrollViews.length)return void((this.config._logLevel>=2||this.config._logLevel>=1&&gc())&&console.warn("No scrollViews specified, thus ngx-page-scroll does not know which DOM elements to scroll"));let i=!1,r=e.getScrollClientPropertyValue(e.pageScrollOptions.scrollViews[0]);e.startScrollPosition=0,e.pageScrollOptions.scrollViews.forEach(c=>{if(null==c)return;const u=e.getScrollPropertyValue(c);!i&&u&&(e.startScrollPosition=u,i=!0,r=e.getScrollClientPropertyValue(c))});const o=e.getCurrentOffset(),s=e.extractScrollTargetPosition();if(e.targetScrollPosition=Math.round((e.pageScrollOptions.verticalScrolling?s.top:s.left)-o),e.distanceToScroll=e.targetScrollPosition-e.startScrollPosition,isNaN(e.distanceToScroll))return(this.config._logLevel>=2||this.config._logLevel>=1&&gc())&&console.log("Scrolling not possible, as we can't find the specified target"),void e.fireEvent(!1);const a=Math.abs(e.distanceToScroll)=2||this.config._logLevel>=1&&gc())&&console.log(a?"Scrolling not possible, as we can't get any closer to the destination":"Scroll duration shorter that interval length, jumping to target"),e.setScrollPosition(e.targetScrollPosition),void e.fireEvent(!0)):!e.pageScrollOptions.scrollInView&&e.targetScrollPosition>e.startScrollPosition&&e.targetScrollPosition<=e.startScrollPosition+r?((this.config._logLevel>=2||this.config._logLevel>=1&&gc())&&console.log("Not scrolling, as target already in view"),void e.fireEvent(!0)):(e.pageScrollOptions.interruptible&&e.attachInterruptListeners(this.onInterrupted),e.startTime=(new Date).getTime(),e.endTime=e.startTime+e.executionDuration,e.timer=setInterval(c=>{const u=(new Date).getTime();let d,h=!1;c.endTime<=u?(d=c.targetScrollPosition,h=!0):d=Math.round(c.pageScrollOptions.easingLogic(u-c.startTime,c.startScrollPosition,c.distanceToScroll,c.executionDuration)),this.config._logLevel>=5&&gc()&&console.warn("Scroll Position: "+d),c.setScrollPosition(d)||(h=!0),h&&this.stopInternal(!1,c)},this.config._interval,e),void this.runningInstances.push(e))}scroll(e){this.start(this.create(e))}stopAll(e){if(this.runningInstances.length>0){let i=!1;for(let r=0;r{class n{static forRoot(e){return{ngModule:n,providers:[F_,{provide:k_,useValue:e}]}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({providers:[F_,{provide:k_,useValue:{}}]}),n})();const Fh=Ft(n=>function(){n(this),this.name="EmptyError",this.message="no elements in sequence"}),{isArray:YU}=Array,{getPrototypeOf:QU,prototype:KU,keys:ZU}=Object;function YE(n){if(1===n.length){const t=n[0];if(YU(t))return{args:t,keys:null};if(function XU(n){return n&&"object"==typeof n&&QU(n)===KU}(t)){const e=ZU(t);return{args:e.map(i=>t[i]),keys:e}}}return{args:n,keys:null}}const{isArray:JU}=Array;function R_(n){return z(t=>function e3(n,t){return JU(t)?n(...t):n(t)}(n,t))}function QE(n,t){return n.reduce((e,i,r)=>(e[i]=t[r],e),{})}function O_(...n){const t=fr(n),e=Sl(n),{args:i,keys:r}=YE(n);if(0===i.length)return He([],t);const o=new Re(function t3(n,t,e=pi){return i=>{KE(t,()=>{const{length:r}=n,o=new Array(r);let s=r,a=r;for(let l=0;l{const c=He(n[l],t);let u=!1;c.subscribe(Ye(i,d=>{o[l]=d,u||(u=!0,a--),a||i.next(e(o.slice()))},()=>{--s||i.complete()}))},i)},i)}}(i,t,r?s=>QE(r,s):pi));return e?o.pipe(R_(e)):o}function KE(n,t,e){n?_i(e,n,t):t()}function Rh(...n){return function n3(){return Qr(1)}()(He(n,fr(n)))}function P_(n){return new Re(t=>{jt(n()).subscribe(t)})}function L_(){return qe((n,t)=>{let e=null;n._refCount++;const i=Ye(t,void 0,void 0,void 0,()=>{if(!n||n._refCount<=0||0<--n._refCount)return void(e=null);const r=n._connection,o=e;e=null,r&&(!o||r===o)&&r.unsubscribe(),t.unsubscribe()});n.subscribe(i),i.closed||(e=n.connect())})}class ZE extends Re{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,bu(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new Ce;const e=this.getSubject();t.add(this.source.subscribe(Ye(e,void 0,()=>{this._teardown(),e.complete()},i=>{this._teardown(),e.error(i)},()=>this._teardown()))),t.closed&&(this._connection=null,t=Ce.EMPTY)}return t}refCount(){return L_()(this)}}function zn(n,t){return qe((e,i)=>{let r=null,o=0,s=!1;const a=()=>s&&!r&&i.complete();e.subscribe(Ye(i,l=>{r?.unsubscribe();let c=0;const u=o++;jt(n(l,u)).subscribe(r=Ye(i,d=>i.next(t?t(l,d,u,c++):d),()=>{r=null,a()}))},()=>{s=!0,a()}))})}function Sn(n){return n<=0?()=>Tn:qe((t,e)=>{let i=0;t.subscribe(Ye(e,r=>{++i<=n&&(e.next(r),n<=i&&e.complete())}))})}function Nr(...n){const t=fr(n);return qe((e,i)=>{(t?Rh(n,e,t):Rh(n,e)).subscribe(i)})}function Oh(n){return qe((t,e)=>{let i=!1;t.subscribe(Ye(e,r=>{i=!0,e.next(r)},()=>{i||e.next(n),e.complete()}))})}function XE(n=r3){return qe((t,e)=>{let i=!1;t.subscribe(Ye(e,r=>{i=!0,e.next(r)},()=>i?e.complete():e.error(n())))})}function r3(){return new Fh}function yo(n,t){const e=arguments.length>=2;return i=>i.pipe(n?It((r,o)=>n(r,o,i)):pi,Sn(1),e?Oh(t):XE(()=>new Fh))}function o3(n,t,e,i,r){return(o,s)=>{let a=e,l=t,c=0;o.subscribe(Ye(s,u=>{const d=c++;l=a?n(l,u,d):(a=!0,u),i&&s.next(l)},r&&(()=>{a&&s.next(l),s.complete()})))}}function JE(n,t){return qe(o3(n,t,arguments.length>=2,!0))}function N_(n){return n<=0?()=>Tn:qe((t,e)=>{let i=[];t.subscribe(Ye(e,r=>{i.push(r),n{for(const r of i)e.next(r);e.complete()},void 0,()=>{i=null}))})}function eS(n,t){const e=arguments.length>=2;return i=>i.pipe(n?It((r,o)=>n(r,o,i)):pi,N_(1),e?Oh(t):XE(()=>new Fh))}function tS(n,t=!1){return qe((e,i)=>{let r=0;e.subscribe(Ye(i,o=>{const s=n(o,r++);(s||t)&&i.next(o),!s&&i.complete()}))})}function Ph(n){return qe((t,e)=>{try{t.subscribe(e)}finally{e.add(n)}})}const ve="primary",Fc=Symbol("RouteTitle");class a3{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e[0]:e}return null}getAll(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function qa(n){return new a3(n)}function l3(n,t,e){const i=e.path.split("/");if(i.length>n.length||"full"===e.pathMatch&&(t.hasChildren()||i.lengthi[o]===r)}return n===t}function iS(n){return Array.prototype.concat.apply([],n)}function rS(n){return n.length>0?n[n.length-1]:null}function Bt(n,t){for(const e in n)n.hasOwnProperty(e)&&t(n[e],e)}function vo(n){return Og(n)?n:ic(n)?He(Promise.resolve(n)):q(n)}const d3={exact:function aS(n,t,e){if(!ds(n.segments,t.segments)||!Lh(n.segments,t.segments,e)||n.numberOfChildren!==t.numberOfChildren)return!1;for(const i in t.children)if(!n.children[i]||!aS(n.children[i],t.children[i],e))return!1;return!0},subset:lS},oS={exact:function h3(n,t){return or(n,t)},subset:function f3(n,t){return Object.keys(t).length<=Object.keys(n).length&&Object.keys(t).every(e=>nS(n[e],t[e]))},ignored:()=>!0};function sS(n,t,e){return d3[e.paths](n.root,t.root,e.matrixParams)&&oS[e.queryParams](n.queryParams,t.queryParams)&&!("exact"===e.fragment&&n.fragment!==t.fragment)}function lS(n,t,e){return cS(n,t,t.segments,e)}function cS(n,t,e,i){if(n.segments.length>e.length){const r=n.segments.slice(0,e.length);return!(!ds(r,e)||t.hasChildren()||!Lh(r,e,i))}if(n.segments.length===e.length){if(!ds(n.segments,e)||!Lh(n.segments,e,i))return!1;for(const r in t.children)if(!n.children[r]||!lS(n.children[r],t.children[r],i))return!1;return!0}{const r=e.slice(0,n.segments.length),o=e.slice(n.segments.length);return!!(ds(n.segments,r)&&Lh(n.segments,r,i)&&n.children[ve])&&cS(n.children[ve],t,o,i)}}function Lh(n,t,e){return t.every((i,r)=>oS[e](n[r].parameters,i.parameters))}class us{constructor(t,e,i){this.root=t,this.queryParams=e,this.fragment=i}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=qa(this.queryParams)),this._queryParamMap}toString(){return m3.serialize(this)}}class xe{constructor(t,e){this.segments=t,this.children=e,this.parent=null,Bt(e,(i,r)=>i.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Nh(this)}}class Rc{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=qa(this.parameters)),this._parameterMap}toString(){return fS(this)}}function ds(n,t){return n.length===t.length&&n.every((e,i)=>e.path===t[i].path)}let uS=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=k({token:n,factory:function(){return new B_},providedIn:"root"}),n})();class B_{parse(t){const e=new M3(t);return new us(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){const e=`/${Oc(t.root,!0)}`,i=function v3(n){const t=Object.keys(n).map(e=>{const i=n[e];return Array.isArray(i)?i.map(r=>`${Vh(e)}=${Vh(r)}`).join("&"):`${Vh(e)}=${Vh(i)}`}).filter(e=>!!e);return t.length?`?${t.join("&")}`:""}(t.queryParams);return`${e}${i}${"string"==typeof t.fragment?`#${function _3(n){return encodeURI(n)}(t.fragment)}`:""}`}}const m3=new B_;function Nh(n){return n.segments.map(t=>fS(t)).join("/")}function Oc(n,t){if(!n.hasChildren())return Nh(n);if(t){const e=n.children[ve]?Oc(n.children[ve],!1):"",i=[];return Bt(n.children,(r,o)=>{o!==ve&&i.push(`${o}:${Oc(r,!1)}`)}),i.length>0?`${e}(${i.join("//")})`:e}{const e=function g3(n,t){let e=[];return Bt(n.children,(i,r)=>{r===ve&&(e=e.concat(t(i,r)))}),Bt(n.children,(i,r)=>{r!==ve&&(e=e.concat(t(i,r)))}),e}(n,(i,r)=>r===ve?[Oc(n.children[ve],!1)]:[`${r}:${Oc(i,!1)}`]);return 1===Object.keys(n.children).length&&null!=n.children[ve]?`${Nh(n)}/${e[0]}`:`${Nh(n)}/(${e.join("//")})`}}function dS(n){return encodeURIComponent(n).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Vh(n){return dS(n).replace(/%3B/gi,";")}function H_(n){return dS(n).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Bh(n){return decodeURIComponent(n)}function hS(n){return Bh(n.replace(/\+/g,"%20"))}function fS(n){return`${H_(n.path)}${function y3(n){return Object.keys(n).map(t=>`;${H_(t)}=${H_(n[t])}`).join("")}(n.parameters)}`}const b3=/^[^\/()?;=#]+/;function Hh(n){const t=n.match(b3);return t?t[0]:""}const C3=/^[^=?&#]+/,x3=/^[^&#]+/;class M3{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new xe([],{}):new xe([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(i[ve]=new xe(t,e)),i}parseSegment(){const t=Hh(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new I(4009,!1);return this.capture(t),new Rc(Bh(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=Hh(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){const r=Hh(this.remaining);r&&(i=r,this.capture(i))}t[Bh(e)]=Bh(i)}parseQueryParam(t){const e=function w3(n){const t=n.match(C3);return t?t[0]:""}(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){const s=function D3(n){const t=n.match(x3);return t?t[0]:""}(this.remaining);s&&(i=s,this.capture(i))}const r=hS(e),o=hS(i);if(t.hasOwnProperty(r)){let s=t[r];Array.isArray(s)||(s=[s],t[r]=s),s.push(o)}else t[r]=o}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const i=Hh(this.remaining),r=this.remaining[i.length];if("/"!==r&&")"!==r&&";"!==r)throw new I(4010,!1);let o;i.indexOf(":")>-1?(o=i.slice(0,i.indexOf(":")),this.capture(o),this.capture(":")):t&&(o=ve);const s=this.parseChildren();e[o]=1===Object.keys(s).length?s[ve]:new xe([],s),this.consumeOptional("//")}return e}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new I(4011,!1)}}function $_(n){return n.segments.length>0?new xe([],{[ve]:n}):n}function $h(n){const t={};for(const i of Object.keys(n.children)){const o=$h(n.children[i]);(o.segments.length>0||o.hasChildren())&&(t[i]=o)}return function E3(n){if(1===n.numberOfChildren&&n.children[ve]){const t=n.children[ve];return new xe(n.segments.concat(t.segments),t.children)}return n}(new xe(n.segments,t))}function hs(n){return n instanceof us}function T3(n,t,e,i,r){var o;if(0===e.length)return Ya(t.root,t.root,t.root,i,r);const s=function mS(n){if("string"==typeof n[0]&&1===n.length&&"/"===n[0])return new gS(!0,0,n);let t=0,e=!1;const i=n.reduce((r,o,s)=>{if("object"==typeof o&&null!=o){if(o.outlets){const a={};return Bt(o.outlets,(l,c)=>{a[c]="string"==typeof l?l.split("/"):l}),[...r,{outlets:a}]}if(o.segmentPath)return[...r,o.segmentPath]}return"string"!=typeof o?[...r,o]:0===s?(o.split("/").forEach((a,l)=>{0==l&&"."===a||(0==l&&""===a?e=!0:".."===a?t++:""!=a&&r.push(a))}),r):[...r,o]},[]);return new gS(e,t,i)}(e);if(s.toRoot())return Ya(t.root,t.root,new xe([],{}),i,r);const l=function a(u){var d;const h=function k3(n,t,e,i){if(n.isAbsolute)return new Qa(t.root,!0,0);if(-1===i)return new Qa(e,e===t.root,0);return function _S(n,t,e){let i=n,r=t,o=e;for(;o>r;){if(o-=r,i=i.parent,!i)throw new I(4005,!1);r=i.segments.length}return new Qa(i,!1,r-o)}(e,i+(Pc(n.commands[0])?0:1),n.numberOfDoubleDots)}(s,t,null===(d=n.snapshot)||void 0===d?void 0:d._urlSegment,u),g=h.processChildren?Nc(h.segmentGroup,h.index,s.commands):G_(h.segmentGroup,h.index,s.commands);return Ya(t.root,h.segmentGroup,g,i,r)}(null===(o=n.snapshot)||void 0===o?void 0:o._lastPathIndex);return l}function Pc(n){return"object"==typeof n&&null!=n&&!n.outlets&&!n.segmentPath}function Lc(n){return"object"==typeof n&&null!=n&&n.outlets}function Ya(n,t,e,i,r){let s,o={};i&&Bt(i,(l,c)=>{o[c]=Array.isArray(l)?l.map(u=>`${u}`):`${l}`}),s=n===t?e:pS(n,t,e);const a=$_($h(s));return new us(a,o,r)}function pS(n,t,e){const i={};return Bt(n.children,(r,o)=>{i[o]=r===t?e:pS(r,t,e)}),new xe(n.segments,i)}class gS{constructor(t,e,i){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=i,t&&i.length>0&&Pc(i[0]))throw new I(4003,!1);const r=i.find(Lc);if(r&&r!==rS(i))throw new I(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Qa{constructor(t,e,i){this.segmentGroup=t,this.processChildren=e,this.index=i}}function G_(n,t,e){if(n||(n=new xe([],{})),0===n.segments.length&&n.hasChildren())return Nc(n,t,e);const i=function R3(n,t,e){let i=0,r=t;const o={match:!1,pathIndex:0,commandIndex:0};for(;r=e.length)return o;const s=n.segments[r],a=e[i];if(Lc(a))break;const l=`${a}`,c=i0&&void 0===l)break;if(l&&c&&"object"==typeof c&&void 0===c.outlets){if(!vS(l,c,s))return o;i+=2}else{if(!vS(l,{},s))return o;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}(n,t,e),r=e.slice(i.commandIndex);if(i.match&&i.pathIndex{"string"==typeof o&&(o=[o]),null!==o&&(r[s]=G_(n.children[s],t,o))}),Bt(n.children,(o,s)=>{void 0===i[s]&&(r[s]=o)}),new xe(n.segments,r)}}function U_(n,t,e){const i=n.segments.slice(0,t);let r=0;for(;r{"string"==typeof e&&(e=[e]),null!==e&&(t[i]=U_(new xe([],{}),0,e))}),t}function yS(n){const t={};return Bt(n,(e,i)=>t[i]=`${e}`),t}function vS(n,t,e){return n==e.path&&or(t,e.parameters)}class Vr{constructor(t,e){this.id=t,this.url=e}}class z_ extends Vr{constructor(t,e,i="imperative",r=null){super(t,e),this.type=0,this.navigationTrigger=i,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Br extends Vr{constructor(t,e,i){super(t,e),this.urlAfterRedirects=i,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Vc extends Vr{constructor(t,e,i,r){super(t,e),this.reason=i,this.code=r,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class W_ extends Vr{constructor(t,e,i,r){super(t,e),this.error=i,this.target=r,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class P3 extends Vr{constructor(t,e,i,r){super(t,e),this.urlAfterRedirects=i,this.state=r,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class L3 extends Vr{constructor(t,e,i,r){super(t,e),this.urlAfterRedirects=i,this.state=r,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class N3 extends Vr{constructor(t,e,i,r,o){super(t,e),this.urlAfterRedirects=i,this.state=r,this.shouldActivate=o,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class V3 extends Vr{constructor(t,e,i,r){super(t,e),this.urlAfterRedirects=i,this.state=r,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class B3 extends Vr{constructor(t,e,i,r){super(t,e),this.urlAfterRedirects=i,this.state=r,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class H3{constructor(t){this.route=t,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class $3{constructor(t){this.route=t,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class j3{constructor(t){this.snapshot=t,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class G3{constructor(t){this.snapshot=t,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class U3{constructor(t){this.snapshot=t,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class z3{constructor(t){this.snapshot=t,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class bS{constructor(t,e,i){this.routerEvent=t,this.position=e,this.anchor=i,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class CS{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}children(t){const e=q_(t,this._root);return e?e.children.map(i=>i.value):[]}firstChild(t){const e=q_(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=Y_(t,this._root);return e.length<2?[]:e[e.length-2].children.map(r=>r.value).filter(r=>r!==t)}pathFromRoot(t){return Y_(t,this._root).map(e=>e.value)}}function q_(n,t){if(n===t.value)return t;for(const e of t.children){const i=q_(n,e);if(i)return i}return null}function Y_(n,t){if(n===t.value)return[t];for(const e of t.children){const i=Y_(n,e);if(i.length)return i.unshift(t),i}return[]}class Hr{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function Ka(n){const t={};return n&&n.children.forEach(e=>t[e.value.outlet]=e),t}class wS extends CS{constructor(t,e){super(t),this.snapshot=e,Q_(this,t)}toString(){return this.snapshot.toString()}}function xS(n,t){const e=function q3(n,t){const s=new jh([],{},{},"",{},ve,t,null,n.root,-1,{});return new MS("",new Hr(s,[]))}(n,t),i=new jn([new Rc("",{})]),r=new jn({}),o=new jn({}),s=new jn({}),a=new jn(""),l=new fs(i,r,s,a,o,ve,t,e.root);return l.snapshot=e.root,new wS(new Hr(l,[]),e)}class fs{constructor(t,e,i,r,o,s,a,l){var c,u;this.url=t,this.params=e,this.queryParams=i,this.fragment=r,this.data=o,this.outlet=s,this.component=a,this.title=null!==(c=null===(u=this.data)||void 0===u?void 0:u.pipe(z(d=>d[Fc])))&&void 0!==c?c:q(void 0),this._futureSnapshot=l}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(z(t=>qa(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(z(t=>qa(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function DS(n,t="emptyOnly"){const e=n.pathFromRoot;let i=0;if("always"!==t)for(i=e.length-1;i>=1;){const r=e[i],o=e[i-1];if(r.routeConfig&&""===r.routeConfig.path)i--;else{if(o.component)break;i--}}return function Y3(n){return n.reduce((t,e)=>{var i;return{params:{...t.params,...e.params},data:{...t.data,...e.data},resolve:{...e.data,...t.resolve,...null===(i=e.routeConfig)||void 0===i?void 0:i.data,...e._resolvedData}}},{params:{},data:{},resolve:{}})}(e.slice(i))}class jh{constructor(t,e,i,r,o,s,a,l,c,u,d,h){var g;this.url=t,this.params=e,this.queryParams=i,this.fragment=r,this.data=o,this.outlet=s,this.component=a,this.title=null===(g=this.data)||void 0===g?void 0:g[Fc],this.routeConfig=l,this._urlSegment=c,this._lastPathIndex=u,this._correctedLastPathIndex=h??u,this._resolve=d}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=qa(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=qa(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(i=>i.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class MS extends CS{constructor(t,e){super(e),this.url=t,Q_(this,e)}toString(){return ES(this._root)}}function Q_(n,t){t.value._routerState=n,t.children.forEach(e=>Q_(n,e))}function ES(n){const t=n.children.length>0?` { ${n.children.map(ES).join(", ")} } `:"";return`${n.value}${t}`}function K_(n){if(n.snapshot){const t=n.snapshot,e=n._futureSnapshot;n.snapshot=e,or(t.queryParams,e.queryParams)||n.queryParams.next(e.queryParams),t.fragment!==e.fragment&&n.fragment.next(e.fragment),or(t.params,e.params)||n.params.next(e.params),function c3(n,t){if(n.length!==t.length)return!1;for(let e=0;eor(e.parameters,t[i].parameters))}(n.url,t.url);return e&&!(!n.parent!=!t.parent)&&(!n.parent||Z_(n.parent,t.parent))}function Bc(n,t,e){if(e&&n.shouldReuseRoute(t.value,e.value.snapshot)){const i=e.value;i._futureSnapshot=t.value;const r=function K3(n,t,e){return t.children.map(i=>{for(const r of e.children)if(n.shouldReuseRoute(i.value,r.value.snapshot))return Bc(n,i,r);return Bc(n,i)})}(n,t,e);return new Hr(i,r)}{if(n.shouldAttach(t.value)){const o=n.retrieve(t.value);if(null!==o){const s=o.route;return s.value._futureSnapshot=t.value,s.children=t.children.map(a=>Bc(n,a)),s}}const i=function Z3(n){return new fs(new jn(n.url),new jn(n.params),new jn(n.queryParams),new jn(n.fragment),new jn(n.data),n.outlet,n.component,n)}(t.value),r=t.children.map(o=>Bc(n,o));return new Hr(i,r)}}const X_="ngNavigationCancelingError";function SS(n,t){const{redirectTo:e,navigationBehaviorOptions:i}=hs(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,r=AS(!1,0,t);return r.url=e,r.navigationBehaviorOptions=i,r}function AS(n,t,e){const i=new Error("NavigationCancelingError: "+(n||""));return i[X_]=!0,i.cancellationCode=t,e&&(i.url=e),i}function TS(n){return IS(n)&&hs(n.url)}function IS(n){return n&&n[X_]}class X3{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new Hc,this.attachRef=null}}let Hc=(()=>{class n{constructor(){this.contexts=new Map}onChildOutletCreated(e,i){const r=this.getOrCreateContext(e);r.outlet=i,this.contexts.set(e,r)}onChildOutletDestroyed(e){const i=this.getContext(e);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){const e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let i=this.getContext(e);return i||(i=new X3,this.contexts.set(e,i)),i}getContext(e){return this.contexts.get(e)||null}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const Gh=!1;let J_=(()=>{class n{constructor(e,i,r,o,s){this.parentContexts=e,this.location=i,this.changeDetector=o,this.environmentInjector=s,this.activated=null,this._activatedRoute=null,this.activateEvents=new he,this.deactivateEvents=new he,this.attachEvents=new he,this.detachEvents=new he,this.name=r||ve,e.onChildOutletCreated(this.name,this)}ngOnDestroy(){var e;(null===(e=this.parentContexts.getContext(this.name))||void 0===e?void 0:e.outlet)===this&&this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const e=this.parentContexts.getContext(this.name);e&&e.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new I(4012,Gh);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new I(4012,Gh);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new I(4012,Gh);this.location.detach();const e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,i){this.activated=e,this._activatedRoute=i,this.location.insert(e.hostView),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){const e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,i){if(this.isActivated)throw new I(4013,Gh);this._activatedRoute=e;const r=this.location,s=e._futureSnapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,l=new J3(e,a,r.injector);if(i&&function ez(n){return!!n.resolveComponentFactory}(i)){const c=i.resolveComponentFactory(s);this.activated=r.createComponent(c,r.length,l)}else this.activated=r.createComponent(s,{index:r.length,injector:l,environmentInjector:i??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return n.\u0275fac=function(e){return new(e||n)(f(Hc),f(At),Ui("name"),f(Dn),f(oo))},n.\u0275dir=T({type:n,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0}),n})();class J3{constructor(t,e,i){this.route=t,this.childContexts=e,this.parent=i}get(t,e){return t===fs?this.route:t===Hc?this.childContexts:this.parent.get(t,e)}}let ey=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=pe({type:n,selectors:[["ng-component"]],standalone:!0,features:[Q0],decls:1,vars:0,template:function(e,i){1&e&&Q(0,"router-outlet")},dependencies:[J_],encapsulation:2}),n})();function kS(n,t){var e;return n.providers&&!n._injector&&(n._injector=Od(n.providers,t,`Route: ${n.path}`)),null!==(e=n._injector)&&void 0!==e?e:t}function ny(n){const t=n.children&&n.children.map(ny),e=t?{...n,children:t}:{...n};return!e.component&&!e.loadComponent&&(t||e.loadChildren)&&e.outlet&&e.outlet!==ve&&(e.component=ey),e}function ui(n){return n.outlet||ve}function FS(n,t){const e=n.filter(i=>ui(i)===t);return e.push(...n.filter(i=>ui(i)!==t)),e}function $c(n){var t;if(!n)return null;if(null!==(t=n.routeConfig)&&void 0!==t&&t._injector)return n.routeConfig._injector;for(let e=n.parent;e;e=e.parent){const i=e.routeConfig;if(null!=i&&i._loadedInjector)return i._loadedInjector;if(null!=i&&i._injector)return i._injector}return null}class oz{constructor(t,e,i,r){this.routeReuseStrategy=t,this.futureState=e,this.currState=i,this.forwardEvent=r}activate(t){const e=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,i,t),K_(this.futureState.root),this.activateChildRoutes(e,i,t)}deactivateChildRoutes(t,e,i){const r=Ka(e);t.children.forEach(o=>{const s=o.value.outlet;this.deactivateRoutes(o,r[s],i),delete r[s]}),Bt(r,(o,s)=>{this.deactivateRouteAndItsChildren(o,i)})}deactivateRoutes(t,e,i){const r=t.value,o=e?e.value:null;if(r===o)if(r.component){const s=i.getContext(r.outlet);s&&this.deactivateChildRoutes(t,e,s.children)}else this.deactivateChildRoutes(t,e,i);else o&&this.deactivateRouteAndItsChildren(e,i)}deactivateRouteAndItsChildren(t,e){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}detachAndStoreRouteSubtree(t,e){const i=e.getContext(t.value.outlet),r=i&&t.value.component?i.children:e,o=Ka(t);for(const s of Object.keys(o))this.deactivateRouteAndItsChildren(o[s],r);if(i&&i.outlet){const s=i.outlet.detach(),a=i.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,e){const i=e.getContext(t.value.outlet),r=i&&t.value.component?i.children:e,o=Ka(t);for(const s of Object.keys(o))this.deactivateRouteAndItsChildren(o[s],r);i&&i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated(),i.attachRef=null,i.resolver=null,i.route=null)}activateChildRoutes(t,e,i){const r=Ka(e);t.children.forEach(o=>{this.activateRoutes(o,r[o.value.outlet],i),this.forwardEvent(new z3(o.value.snapshot))}),t.children.length&&this.forwardEvent(new G3(t.value.snapshot))}activateRoutes(t,e,i){const r=t.value,o=e?e.value:null;if(K_(r),r===o)if(r.component){const a=i.getOrCreateContext(r.outlet);this.activateChildRoutes(t,e,a.children)}else this.activateChildRoutes(t,e,i);else if(r.component){const a=i.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){const l=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),a.children.onOutletReAttached(l.contexts),a.attachRef=l.componentRef,a.route=l.route.value,a.outlet&&a.outlet.attach(l.componentRef,l.route.value),K_(l.route.value),this.activateChildRoutes(t,null,a.children)}else{var s;const l=$c(r.snapshot),c=null!==(s=l?.get(Uo))&&void 0!==s?s:null;a.attachRef=null,a.route=r,a.resolver=c,a.injector=l,a.outlet&&a.outlet.activateWith(r,a.injector),this.activateChildRoutes(t,null,a.children)}}else this.activateChildRoutes(t,null,i)}}class RS{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class Uh{constructor(t,e){this.component=t,this.route=e}}function sz(n,t,e){const i=n._root;return jc(i,t?t._root:null,e,[i.value])}function Za(n,t){const e=Symbol(),i=t.get(n,e);return i===e?"function"!=typeof n||function JI(n){return null!==Lu(n)}(n)?t.get(n):n:i}function jc(n,t,e,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=Ka(t);return n.children.forEach(s=>{(function lz(n,t,e,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=n.value,s=t?t.value:null,a=e?e.getContext(n.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){const l=function cz(n,t,e){if("function"==typeof e)return e(n,t);switch(e){case"pathParamsChange":return!ds(n.url,t.url);case"pathParamsOrQueryParamsChange":return!ds(n.url,t.url)||!or(n.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Z_(n,t)||!or(n.queryParams,t.queryParams);default:return!Z_(n,t)}}(s,o,o.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new RS(i)):(o.data=s.data,o._resolvedData=s._resolvedData),jc(n,t,o.component?a?a.children:null:e,i,r),l&&a&&a.outlet&&a.outlet.isActivated&&r.canDeactivateChecks.push(new Uh(a.outlet.component,s))}else s&&Gc(t,a,r),r.canActivateChecks.push(new RS(i)),jc(n,null,o.component?a?a.children:null:e,i,r)})(s,o[s.value.outlet],e,i.concat([s.value]),r),delete o[s.value.outlet]}),Bt(o,(s,a)=>Gc(s,e.getContext(a),r)),r}function Gc(n,t,e){const i=Ka(n),r=n.value;Bt(i,(o,s)=>{Gc(o,r.component?t?t.children.getContext(s):null:t,e)}),e.canDeactivateChecks.push(new Uh(r.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,r))}function Uc(n){return"function"==typeof n}function iy(n){return n instanceof Fh||"EmptyError"===n?.name}const zh=Symbol("INITIAL_VALUE");function Xa(){return zn(n=>O_(n.map(t=>t.pipe(Sn(1),Nr(zh)))).pipe(z(t=>{for(const e of t)if(!0!==e){if(e===zh)return zh;if(!1===e||e instanceof us)return e}return!0}),It(t=>t!==zh),Sn(1)))}function OS(n){return function Ns(...n){return yu(n)}(ut(t=>{if(hs(t))throw SS(0,t)}),z(t=>!0===t))}const ry={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function PS(n,t,e,i,r){const o=oy(n,t,e);return o.matched?function Ez(n,t,e,i){const r=t.canMatch;return r&&0!==r.length?q(r.map(s=>{const a=Za(s,n);return vo(function gz(n){return n&&Uc(n.canMatch)}(a)?a.canMatch(t,e):n.runInContext(()=>a(t,e)))})).pipe(Xa(),OS()):q(!0)}(i=kS(t,i),t,e).pipe(z(s=>!0===s?o:{...ry})):q(o)}function oy(n,t,e){var i;if(""===t.path)return"full"===t.pathMatch&&(n.hasChildren()||e.length>0)?{...ry}:{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};const o=(t.matcher||l3)(e,n,t);if(!o)return{...ry};const s={};Bt(o.posParams,(l,c)=>{s[c]=l.path});const a=o.consumed.length>0?{...s,...o.consumed[o.consumed.length-1].parameters}:s;return{matched:!0,consumedSegments:o.consumed,remainingSegments:e.slice(o.consumed.length),parameters:a,positionalParamSegments:null!==(i=o.posParams)&&void 0!==i?i:{}}}function Wh(n,t,e,i,r="corrected"){if(e.length>0&&function Tz(n,t,e){return e.some(i=>qh(n,t,i)&&ui(i)!==ve)}(n,e,i)){const s=new xe(t,function Az(n,t,e,i){const r={};r[ve]=i,i._sourceSegment=n,i._segmentIndexShift=t.length;for(const o of e)if(""===o.path&&ui(o)!==ve){const s=new xe([],{});s._sourceSegment=n,s._segmentIndexShift=t.length,r[ui(o)]=s}return r}(n,t,i,new xe(e,n.children)));return s._sourceSegment=n,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:[]}}if(0===e.length&&function Iz(n,t,e){return e.some(i=>qh(n,t,i))}(n,e,i)){const s=new xe(n.segments,function Sz(n,t,e,i,r,o){const s={};for(const a of i)if(qh(n,e,a)&&!r[ui(a)]){const l=new xe([],{});l._sourceSegment=n,l._segmentIndexShift="legacy"===o?n.segments.length:t.length,s[ui(a)]=l}return{...r,...s}}(n,t,e,i,n.children,r));return s._sourceSegment=n,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:e}}const o=new xe(n.segments,n.children);return o._sourceSegment=n,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:e}}function qh(n,t,e){return(!(n.hasChildren()||t.length>0)||"full"!==e.pathMatch)&&""===e.path}function LS(n,t,e,i){return!!(ui(n)===i||i!==ve&&qh(t,e,n))&&("**"===n.path||oy(t,n,e).matched)}function NS(n,t,e){return 0===t.length&&!n.children[e]}const Yh=!1;class Qh{constructor(t){this.segmentGroup=t||null}}class VS{constructor(t){this.urlTree=t}}function zc(n){return _o(new Qh(n))}function BS(n){return _o(new VS(n))}class Oz{constructor(t,e,i,r,o){this.injector=t,this.configLoader=e,this.urlSerializer=i,this.urlTree=r,this.config=o,this.allowRedirects=!0}apply(){const t=Wh(this.urlTree.root,[],[],this.config).segmentGroup,e=new xe(t.segments,t.children);return this.expandSegmentGroup(this.injector,this.config,e,ve).pipe(z(o=>this.createUrlTree($h(o),this.urlTree.queryParams,this.urlTree.fragment))).pipe(En(o=>{if(o instanceof VS)return this.allowRedirects=!1,this.match(o.urlTree);throw o instanceof Qh?this.noMatchError(o):o}))}match(t){return this.expandSegmentGroup(this.injector,this.config,t.root,ve).pipe(z(r=>this.createUrlTree($h(r),t.queryParams,t.fragment))).pipe(En(r=>{throw r instanceof Qh?this.noMatchError(r):r}))}noMatchError(t){return new I(4002,Yh)}createUrlTree(t,e,i){const r=$_(t);return new us(r,e,i)}expandSegmentGroup(t,e,i,r){return 0===i.segments.length&&i.hasChildren()?this.expandChildren(t,e,i).pipe(z(o=>new xe([],o))):this.expandSegment(t,i,e,i.segments,r,!0)}expandChildren(t,e,i){const r=[];for(const o of Object.keys(i.children))"primary"===o?r.unshift(o):r.push(o);return He(r).pipe(ho(o=>{const s=i.children[o],a=FS(e,o);return this.expandSegmentGroup(t,a,s,o).pipe(z(l=>({segment:l,outlet:o})))}),JE((o,s)=>(o[s.outlet]=s.segment,o),{}),eS())}expandSegment(t,e,i,r,o,s){return He(i).pipe(ho(a=>this.expandSegmentAgainstRoute(t,e,i,a,r,o,s).pipe(En(c=>{if(c instanceof Qh)return q(null);throw c}))),yo(a=>!!a),En((a,l)=>{if(iy(a))return NS(e,r,o)?q(new xe([],{})):zc(e);throw a}))}expandSegmentAgainstRoute(t,e,i,r,o,s,a){return LS(r,e,o,s)?void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,e,r,o,s):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,i,r,o,s):zc(e):zc(e)}expandSegmentAgainstRouteUsingRedirect(t,e,i,r,o,s){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,i,r,s):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,i,r,o,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,i,r){const o=this.applyRedirectCommands([],i.redirectTo,{});return i.redirectTo.startsWith("/")?BS(o):this.lineralizeSegments(i,o).pipe(st(s=>{const a=new xe(s,{});return this.expandSegment(t,a,e,s,r,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,e,i,r,o,s){const{matched:a,consumedSegments:l,remainingSegments:c,positionalParamSegments:u}=oy(e,r,o);if(!a)return zc(e);const d=this.applyRedirectCommands(l,r.redirectTo,u);return r.redirectTo.startsWith("/")?BS(d):this.lineralizeSegments(r,d).pipe(st(h=>this.expandSegment(t,e,i,h.concat(c),s,!1)))}matchSegmentAgainstRoute(t,e,i,r,o){return"**"===i.path?(t=kS(i,t),i.loadChildren?(i._loadedRoutes?q({routes:i._loadedRoutes,injector:i._loadedInjector}):this.configLoader.loadChildren(t,i)).pipe(z(a=>(i._loadedRoutes=a.routes,i._loadedInjector=a.injector,new xe(r,{})))):q(new xe(r,{}))):PS(e,i,r,t).pipe(zn(({matched:s,consumedSegments:a,remainingSegments:l})=>{var c;return s?(t=null!==(c=i._injector)&&void 0!==c?c:t,this.getChildConfig(t,i,r).pipe(st(d=>{var h;const g=null!==(h=d.injector)&&void 0!==h?h:t,_=d.routes,{segmentGroup:y,slicedSegments:x}=Wh(e,a,l,_),C=new xe(y.segments,y.children);if(0===x.length&&C.hasChildren())return this.expandChildren(g,_,C).pipe(z(oe=>new xe(a,oe)));if(0===_.length&&0===x.length)return q(new xe(a,{}));const F=ui(i)===o;return this.expandSegment(g,C,_,x,F?ve:o,!0).pipe(z(N=>new xe(a.concat(N.segments),N.children)))}))):zc(e)}))}getChildConfig(t,e,i){return e.children?q({routes:e.children,injector:t}):e.loadChildren?void 0!==e._loadedRoutes?q({routes:e._loadedRoutes,injector:e._loadedInjector}):function Mz(n,t,e,i){const r=t.canLoad;return void 0===r||0===r.length?q(!0):q(r.map(s=>{const a=Za(s,n);return vo(function dz(n){return n&&Uc(n.canLoad)}(a)?a.canLoad(t,e):n.runInContext(()=>a(t,e)))})).pipe(Xa(),OS())}(t,e,i).pipe(st(r=>r?this.configLoader.loadChildren(t,e).pipe(ut(o=>{e._loadedRoutes=o.routes,e._loadedInjector=o.injector})):function Fz(n){return _o(AS(Yh,3))}())):q({routes:[],injector:t})}lineralizeSegments(t,e){let i=[],r=e.root;for(;;){if(i=i.concat(r.segments),0===r.numberOfChildren)return q(i);if(r.numberOfChildren>1||!r.children[ve])return _o(new I(4e3,Yh));r=r.children[ve]}}applyRedirectCommands(t,e,i){return this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),t,i)}applyRedirectCreateUrlTree(t,e,i,r){const o=this.createSegmentGroup(t,e.root,i,r);return new us(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const i={};return Bt(t,(r,o)=>{if("string"==typeof r&&r.startsWith(":")){const a=r.substring(1);i[o]=e[a]}else i[o]=r}),i}createSegmentGroup(t,e,i,r){const o=this.createSegments(t,e.segments,i,r);let s={};return Bt(e.children,(a,l)=>{s[l]=this.createSegmentGroup(t,a,i,r)}),new xe(o,s)}createSegments(t,e,i,r){return e.map(o=>o.path.startsWith(":")?this.findPosParam(t,o,r):this.findOrReturn(o,i))}findPosParam(t,e,i){const r=i[e.path.substring(1)];if(!r)throw new I(4001,Yh);return r}findOrReturn(t,e){let i=0;for(const r of e){if(r.path===t.path)return e.splice(i),r;i++}return t}}class Lz{}class Bz{constructor(t,e,i,r,o,s,a,l){this.injector=t,this.rootComponentType=e,this.config=i,this.urlTree=r,this.url=o,this.paramsInheritanceStrategy=s,this.relativeLinkResolution=a,this.urlSerializer=l}recognize(){const t=Wh(this.urlTree.root,[],[],this.config.filter(e=>void 0===e.redirectTo),this.relativeLinkResolution).segmentGroup;return this.processSegmentGroup(this.injector,this.config,t,ve).pipe(z(e=>{if(null===e)return null;const i=new jh([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},ve,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new Hr(i,e),o=new MS(this.url,r);return this.inheritParamsAndData(o._root),o}))}inheritParamsAndData(t){const e=t.value,i=DS(e,this.paramsInheritanceStrategy);e.params=Object.freeze(i.params),e.data=Object.freeze(i.data),t.children.forEach(r=>this.inheritParamsAndData(r))}processSegmentGroup(t,e,i,r){return 0===i.segments.length&&i.hasChildren()?this.processChildren(t,e,i):this.processSegment(t,e,i,i.segments,r)}processChildren(t,e,i){return He(Object.keys(i.children)).pipe(ho(r=>{const o=i.children[r],s=FS(e,r);return this.processSegmentGroup(t,s,o,r)}),JE((r,o)=>r&&o?(r.push(...o),r):null),tS(r=>null!==r),Oh(null),eS(),z(r=>{if(null===r)return null;const o=HS(r);return function Hz(n){n.sort((t,e)=>t.value.outlet===ve?-1:e.value.outlet===ve?1:t.value.outlet.localeCompare(e.value.outlet))}(o),o}))}processSegment(t,e,i,r,o){return He(e).pipe(ho(s=>{var a;return this.processSegmentAgainstRoute(null!==(a=s._injector)&&void 0!==a?a:t,s,i,r,o)}),yo(s=>!!s),En(s=>{if(iy(s))return NS(i,r,o)?q([]):q(null);throw s}))}processSegmentAgainstRoute(t,e,i,r,o){if(e.redirectTo||!LS(e,i,r,o))return q(null);let s;if("**"===e.path){var a,l;const c=r.length>0?rS(r).parameters:{},u=jS(i)+r.length;s=q({snapshot:new jh(r,c,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,US(e),ui(e),null!==(a=null!==(l=e.component)&&void 0!==l?l:e._loadedComponent)&&void 0!==a?a:null,e,$S(i),u,zS(e),u),consumedSegments:[],remainingSegments:[]})}else s=PS(i,e,r,t).pipe(z(({matched:c,consumedSegments:u,remainingSegments:d,parameters:h})=>{var g,_;if(!c)return null;const y=jS(i)+u.length;return{snapshot:new jh(u,h,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,US(e),ui(e),null!==(g=null!==(_=e.component)&&void 0!==_?_:e._loadedComponent)&&void 0!==g?g:null,e,$S(i),y,zS(e),y),consumedSegments:u,remainingSegments:d}}));return s.pipe(zn(c=>{var u,d;if(null===c)return q(null);const{snapshot:h,consumedSegments:g,remainingSegments:_}=c;t=null!==(u=e._injector)&&void 0!==u?u:t;const y=null!==(d=e._loadedInjector)&&void 0!==d?d:t,x=function $z(n){return n.children?n.children:n.loadChildren?n._loadedRoutes:[]}(e),{segmentGroup:C,slicedSegments:F}=Wh(i,g,_,x.filter(N=>void 0===N.redirectTo),this.relativeLinkResolution);if(0===F.length&&C.hasChildren())return this.processChildren(y,x,C).pipe(z(N=>null===N?null:[new Hr(h,N)]));if(0===x.length&&0===F.length)return q([new Hr(h,[])]);const E=ui(e)===o;return this.processSegment(y,x,C,F,E?ve:o).pipe(z(N=>null===N?null:[new Hr(h,N)]))}))}}function jz(n){const t=n.value.routeConfig;return t&&""===t.path&&void 0===t.redirectTo}function HS(n){const t=[],e=new Set;for(const i of n){if(!jz(i)){t.push(i);continue}const r=t.find(o=>i.value.routeConfig===o.value.routeConfig);void 0!==r?(r.children.push(...i.children),e.add(r)):t.push(i)}for(const i of e){const r=HS(i.children);t.push(new Hr(i.value,r))}return t.filter(i=>!e.has(i))}function $S(n){let t=n;for(;t._sourceSegment;)t=t._sourceSegment;return t}function jS(n){var t;let e=n,i=null!==(t=e._segmentIndexShift)&&void 0!==t?t:0;for(;e._sourceSegment;){var r;e=e._sourceSegment,i+=null!==(r=e._segmentIndexShift)&&void 0!==r?r:0}return i-1}function US(n){return n.data||{}}function zS(n){return n.resolve||{}}function WS(n){return"string"==typeof n.title||null===n.title}function sy(n){return zn(t=>{const e=n(t);return e?He(e).pipe(z(()=>t)):q(t)})}let qS=(()=>{class n{buildTitle(e){let i,r=e.root;for(;void 0!==r;){var o;i=null!==(o=this.getResolvedTitleForRoute(r))&&void 0!==o?o:i,r=r.children.find(s=>s.outlet===ve)}return i}getResolvedTitleForRoute(e){return e.data[Fc]}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=k({token:n,factory:function(){return Ue(YS)},providedIn:"root"}),n})(),YS=(()=>{class n extends qS{constructor(e){super(),this.title=e}updateTitle(e){const i=this.buildTitle(e);void 0!==i&&this.title.setTitle(i)}}return n.\u0275fac=function(e){return new(e||n)(b(tM))},n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class Kz{}class Xz extends class Zz{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}}{}const Zh=new P("",{providedIn:"root",factory:()=>({})}),ay=new P("ROUTES");let ly=(()=>{class n{constructor(e,i){this.injector=e,this.compiler=i,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return q(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);const i=vo(e.loadComponent()).pipe(ut(o=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=o}),Ph(()=>{this.componentLoaders.delete(e)})),r=new ZE(i,()=>new ce).pipe(L_());return this.componentLoaders.set(e,r),r}loadChildren(e,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return q({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);const o=this.loadModuleFactoryOrRoutes(i.loadChildren).pipe(z(a=>{this.onLoadEndListener&&this.onLoadEndListener(i);let l,c,u=!1;Array.isArray(a)?c=a:(l=a.create(e).injector,c=iS(l.get(ay,[],re.Self|re.Optional)));return{routes:c.map(ny),injector:l}}),Ph(()=>{this.childrenLoaders.delete(i)})),s=new ZE(o,()=>new ce).pipe(L_());return this.childrenLoaders.set(i,s),s}loadModuleFactoryOrRoutes(e){return vo(e()).pipe(st(i=>i instanceof q0||Array.isArray(i)?q(i):He(this.compiler.compileModuleAsync(i))))}}return n.\u0275fac=function(e){return new(e||n)(b(Nt),b(im))},n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class e5{}class t5{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}}function n5(n){throw n}function r5(n,t,e){return t.parse("/")}const o5={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},s5={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function KS(){var n,t;const e=Ue(uS),i=Ue(Hc),r=Ue(Wd),o=Ue(Nt),s=Ue(im),a=null!==(n=Ue(ay,{optional:!0}))&&void 0!==n?n:[],l=null!==(t=Ue(Zh,{optional:!0}))&&void 0!==t?t:{},c=Ue(YS),u=Ue(qS,{optional:!0}),d=Ue(e5,{optional:!0}),h=Ue(Kz,{optional:!0}),g=new Ot(null,e,i,r,o,s,iS(a));return d&&(g.urlHandlingStrategy=d),h&&(g.routeReuseStrategy=h),g.titleStrategy=u??c,function a5(n,t){n.errorHandler&&(t.errorHandler=n.errorHandler),n.malformedUriErrorHandler&&(t.malformedUriErrorHandler=n.malformedUriErrorHandler),n.onSameUrlNavigation&&(t.onSameUrlNavigation=n.onSameUrlNavigation),n.paramsInheritanceStrategy&&(t.paramsInheritanceStrategy=n.paramsInheritanceStrategy),n.relativeLinkResolution&&(t.relativeLinkResolution=n.relativeLinkResolution),n.urlUpdateStrategy&&(t.urlUpdateStrategy=n.urlUpdateStrategy),n.canceledNavigationResolution&&(t.canceledNavigationResolution=n.canceledNavigationResolution)}(l,g),g}let Ot=(()=>{class n{constructor(e,i,r,o,s,a,l){this.rootComponentType=e,this.urlSerializer=i,this.rootContexts=r,this.location=o,this.config=l,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new ce,this.errorHandler=n5,this.malformedUriErrorHandler=r5,this.navigated=!1,this.lastSuccessfulId=-1,this.afterPreactivation=()=>q(void 0),this.urlHandlingStrategy=new t5,this.routeReuseStrategy=new Xz,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.configLoader=s.get(ly),this.configLoader.onLoadEndListener=h=>this.triggerEvent(new $3(h)),this.configLoader.onLoadStartListener=h=>this.triggerEvent(new H3(h)),this.ngModule=s.get(Xo),this.console=s.get(wN);const d=s.get(de);this.isNgZoneEnabled=d instanceof de&&de.isInAngularZone(),this.resetConfig(l),this.currentUrlTree=function u3(){return new us(new xe([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=xS(this.currentUrlTree,this.rootComponentType),this.transitions=new jn({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){var e;return null===(e=this.location.getState())||void 0===e?void 0:e.\u0275routerPageId}setupNavigations(e){const i=this.events;return e.pipe(It(r=>0!==r.id),z(r=>({...r,extractedUrl:this.urlHandlingStrategy.extract(r.rawUrl)})),zn(r=>{let o=!1,s=!1;return q(r).pipe(ut(a=>{this.currentNavigation={id:a.id,initialUrl:a.rawUrl,extractedUrl:a.extractedUrl,trigger:a.source,extras:a.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),zn(a=>{const l=this.browserUrlTree.toString(),c=!this.navigated||a.extractedUrl.toString()!==l||l!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||c)&&this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return ZS(a.source)&&(this.browserUrlTree=a.extractedUrl),q(a).pipe(zn(d=>{const h=this.transitions.getValue();return i.next(new z_(d.id,this.serializeUrl(d.extractedUrl),d.source,d.restoredState)),h!==this.transitions.getValue()?Tn:Promise.resolve(d)}),function Pz(n,t,e,i){return zn(r=>function Rz(n,t,e,i,r){return new Oz(n,t,e,i,r).apply()}(n,t,e,r.extractedUrl,i).pipe(z(o=>({...r,urlAfterRedirects:o}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),ut(d=>{this.currentNavigation={...this.currentNavigation,finalUrl:d.urlAfterRedirects},r.urlAfterRedirects=d.urlAfterRedirects}),function Uz(n,t,e,i,r,o){return st(s=>function Vz(n,t,e,i,r,o,s="emptyOnly",a="legacy"){return new Bz(n,t,e,i,r,s,a,o).recognize().pipe(zn(l=>null===l?function Nz(n){return new Re(t=>t.error(n))}(new Lz):q(l)))}(n,t,e,s.urlAfterRedirects,i.serialize(s.urlAfterRedirects),i,r,o).pipe(z(a=>({...s,targetSnapshot:a}))))}(this.ngModule.injector,this.rootComponentType,this.config,this.urlSerializer,this.paramsInheritanceStrategy,this.relativeLinkResolution),ut(d=>{if(r.targetSnapshot=d.targetSnapshot,"eager"===this.urlUpdateStrategy){if(!d.extras.skipLocationChange){const g=this.urlHandlingStrategy.merge(d.urlAfterRedirects,d.rawUrl);this.setBrowserUrl(g,d)}this.browserUrlTree=d.urlAfterRedirects}const h=new P3(d.id,this.serializeUrl(d.extractedUrl),this.serializeUrl(d.urlAfterRedirects),d.targetSnapshot);i.next(h)}));if(c&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:h,extractedUrl:g,source:_,restoredState:y,extras:x}=a,C=new z_(h,this.serializeUrl(g),_,y);i.next(C);const F=xS(g,this.rootComponentType).snapshot;return q(r={...a,targetSnapshot:F,urlAfterRedirects:g,extras:{...x,skipLocationChange:!1,replaceUrl:!1}})}return this.rawUrlTree=a.rawUrl,a.resolve(null),Tn}),ut(a=>{const l=new L3(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(a.urlAfterRedirects),a.targetSnapshot);this.triggerEvent(l)}),z(a=>r={...a,guards:sz(a.targetSnapshot,a.currentSnapshot,this.rootContexts)}),function _z(n,t){return st(e=>{const{targetSnapshot:i,currentSnapshot:r,guards:{canActivateChecks:o,canDeactivateChecks:s}}=e;return 0===s.length&&0===o.length?q({...e,guardsResult:!0}):function yz(n,t,e,i){return He(n).pipe(st(r=>function Dz(n,t,e,i,r){const o=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return o&&0!==o.length?q(o.map(a=>{var l;const c=null!==(l=$c(t))&&void 0!==l?l:r,u=Za(a,c);return vo(function pz(n){return n&&Uc(n.canDeactivate)}(u)?u.canDeactivate(n,t,e,i):c.runInContext(()=>u(n,t,e,i))).pipe(yo())})).pipe(Xa()):q(!0)}(r.component,r.route,e,t,i)),yo(r=>!0!==r,!0))}(s,i,r,n).pipe(st(a=>a&&function uz(n){return"boolean"==typeof n}(a)?function vz(n,t,e,i){return He(t).pipe(ho(r=>Rh(function Cz(n,t){return null!==n&&t&&t(new j3(n)),q(!0)}(r.route.parent,i),function bz(n,t){return null!==n&&t&&t(new U3(n)),q(!0)}(r.route,i),function xz(n,t,e){const i=t[t.length-1],o=t.slice(0,t.length-1).reverse().map(s=>function az(n){const t=n.routeConfig?n.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:n,guards:t}:null}(s)).filter(s=>null!==s).map(s=>P_(()=>q(s.guards.map(l=>{var c;const u=null!==(c=$c(s.node))&&void 0!==c?c:e,d=Za(l,u);return vo(function fz(n){return n&&Uc(n.canActivateChild)}(d)?d.canActivateChild(i,n):u.runInContext(()=>d(i,n))).pipe(yo())})).pipe(Xa())));return q(o).pipe(Xa())}(n,r.path,e),function wz(n,t,e){const i=t.routeConfig?t.routeConfig.canActivate:null;if(!i||0===i.length)return q(!0);const r=i.map(o=>P_(()=>{var s;const a=null!==(s=$c(t))&&void 0!==s?s:e,l=Za(o,a);return vo(function hz(n){return n&&Uc(n.canActivate)}(l)?l.canActivate(t,n):a.runInContext(()=>l(t,n))).pipe(yo())}));return q(r).pipe(Xa())}(n,r.route,e))),yo(r=>!0!==r,!0))}(i,o,n,t):q(a)),z(a=>({...e,guardsResult:a})))})}(this.ngModule.injector,a=>this.triggerEvent(a)),ut(a=>{if(r.guardsResult=a.guardsResult,hs(a.guardsResult))throw SS(0,a.guardsResult);const l=new N3(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);this.triggerEvent(l)}),It(a=>!!a.guardsResult||(this.restoreHistory(a),this.cancelNavigationTransition(a,"",3),!1)),sy(a=>{if(a.guards.canActivateChecks.length)return q(a).pipe(ut(l=>{const c=new V3(l.id,this.serializeUrl(l.extractedUrl),this.serializeUrl(l.urlAfterRedirects),l.targetSnapshot);this.triggerEvent(c)}),zn(l=>{let c=!1;return q(l).pipe(function zz(n,t){return st(e=>{const{targetSnapshot:i,guards:{canActivateChecks:r}}=e;if(!r.length)return q(e);let o=0;return He(r).pipe(ho(s=>function Wz(n,t,e,i){const r=n.routeConfig,o=n._resolve;return void 0!==r?.title&&!WS(r)&&(o[Fc]=r.title),function qz(n,t,e,i){const r=function Yz(n){return[...Object.keys(n),...Object.getOwnPropertySymbols(n)]}(n);if(0===r.length)return q({});const o={};return He(r).pipe(st(s=>function Qz(n,t,e,i){var r;const o=null!==(r=$c(t))&&void 0!==r?r:i,s=Za(n,o);return vo(s.resolve?s.resolve(t,e):o.runInContext(()=>s(t,e)))}(n[s],t,e,i).pipe(yo(),ut(a=>{o[s]=a}))),N_(1),function s3(n){return z(()=>n)}(o),En(s=>iy(s)?Tn:_o(s)))}(o,n,t,i).pipe(z(s=>(n._resolvedData=s,n.data=DS(n,e).resolve,r&&WS(r)&&(n.data[Fc]=r.title),null)))}(s.route,i,n,t)),ut(()=>o++),N_(1),st(s=>o===r.length?q(e):Tn))})}(this.paramsInheritanceStrategy,this.ngModule.injector),ut({next:()=>c=!0,complete:()=>{c||(this.restoreHistory(l),this.cancelNavigationTransition(l,"",2))}}))}),ut(l=>{const c=new B3(l.id,this.serializeUrl(l.extractedUrl),this.serializeUrl(l.urlAfterRedirects),l.targetSnapshot);this.triggerEvent(c)}))}),sy(a=>{const l=c=>{var u;const d=[];null!==(u=c.routeConfig)&&void 0!==u&&u.loadComponent&&!c.routeConfig._loadedComponent&&d.push(this.configLoader.loadComponent(c.routeConfig).pipe(ut(h=>{c.component=h}),z(()=>{})));for(const h of c.children)d.push(...l(h));return d};return O_(l(a.targetSnapshot.root)).pipe(Oh(),Sn(1))}),sy(()=>this.afterPreactivation()),z(a=>{const l=function Q3(n,t,e){const i=Bc(n,t._root,e?e._root:void 0);return new wS(i,t)}(this.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);return r={...a,targetRouterState:l}}),ut(a=>{this.currentUrlTree=a.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(a.urlAfterRedirects,a.rawUrl),this.routerState=a.targetRouterState,"deferred"===this.urlUpdateStrategy&&(a.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,a),this.browserUrlTree=a.urlAfterRedirects)}),((n,t,e)=>z(i=>(new oz(t,i.targetRouterState,i.currentRouterState,e).activate(n),i)))(this.rootContexts,this.routeReuseStrategy,a=>this.triggerEvent(a)),ut({next(){o=!0},complete(){o=!0}}),Ph(()=>{var a;o||s||this.cancelNavigationTransition(r,"",1),(null===(a=this.currentNavigation)||void 0===a?void 0:a.id)===r.id&&(this.currentNavigation=null)}),En(a=>{if(s=!0,IS(a)){TS(a)||(this.navigated=!0,this.restoreHistory(r,!0));const c=new Vc(r.id,this.serializeUrl(r.extractedUrl),a.message,a.cancellationCode);if(i.next(c),TS(a)){const u=this.urlHandlingStrategy.merge(a.url,this.rawUrlTree),d={skipLocationChange:r.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||ZS(r.source)};this.scheduleNavigation(u,"imperative",null,d,{resolve:r.resolve,reject:r.reject,promise:r.promise})}else r.resolve(!1)}else{var l;this.restoreHistory(r,!0);const c=new W_(r.id,this.serializeUrl(r.extractedUrl),a,null!==(l=r.targetSnapshot)&&void 0!==l?l:void 0);i.next(c);try{r.resolve(this.errorHandler(a))}catch(u){r.reject(u)}}return Tn}))}))}resetRootComponentType(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType}setTransition(e){this.transitions.next({...this.transitions.value,...e})}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(e=>{const i="popstate"===e.type?"popstate":"hashchange";"popstate"===i&&setTimeout(()=>{var r;const o={replaceUrl:!0},s=null!==(r=e.state)&&void 0!==r&&r.navigationId?e.state:null;if(s){const l={...s};delete l.navigationId,delete l.\u0275routerPageId,0!==Object.keys(l).length&&(o.state=l)}const a=this.parseUrl(e.url);this.scheduleNavigation(a,i,s,o)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(e){this.events.next(e)}resetConfig(e){this.config=e.map(ny),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(e,i={}){const{relativeTo:r,queryParams:o,fragment:s,queryParamsHandling:a,preserveFragment:l}=i,c=r||this.routerState.root,u=l?this.currentUrlTree.fragment:s;let d=null;switch(a){case"merge":d={...this.currentUrlTree.queryParams,...o};break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=o||null}return null!==d&&(d=this.removeEmptyProps(d)),T3(c,this.currentUrlTree,e,d,u??null)}navigateByUrl(e,i={skipLocationChange:!1}){const r=hs(e)?e:this.parseUrl(e),o=this.urlHandlingStrategy.merge(r,this.rawUrlTree);return this.scheduleNavigation(o,"imperative",null,i)}navigate(e,i={skipLocationChange:!1}){return function l5(n){for(let t=0;t{const o=e[r];return null!=o&&(i[r]=o),i},{})}processNavigations(){this.navigations.subscribe(e=>{var i;this.navigated=!0,this.lastSuccessfulId=e.id,this.currentPageId=e.targetPageId,this.events.next(new Br(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,null===(i=this.titleStrategy)||void 0===i||i.updateTitle(this.routerState.snapshot),e.resolve(!0)},e=>{this.console.warn(`Unhandled Navigation Error: ${e}`)})}scheduleNavigation(e,i,r,o,s){if(this.disposed)return Promise.resolve(!1);let a,l,c;s?(a=s.resolve,l=s.reject,c=s.promise):c=new Promise((_,y)=>{a=_,l=y});const u=++this.navigationId;let d;if("computed"===this.canceledNavigationResolution)if(0===this.currentPageId&&(r=this.location.getState()),r&&r.\u0275routerPageId)d=r.\u0275routerPageId;else if(o.replaceUrl||o.skipLocationChange){var h;d=null!==(h=this.browserPageId)&&void 0!==h?h:0}else{var g;d=(null!==(g=this.browserPageId)&&void 0!==g?g:0)+1}else d=0;return this.setTransition({id:u,targetPageId:d,source:i,restoredState:r,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:o,resolve:a,reject:l,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(_=>Promise.reject(_))}setBrowserUrl(e,i){const r=this.urlSerializer.serialize(e),o={...i.extras.state,...this.generateNgRouterState(i.id,i.targetPageId)};this.location.isCurrentPathEqualTo(r)||i.extras.replaceUrl?this.location.replaceState(r,"",o):this.location.go(r,"",o)}restoreHistory(e,i=!1){if("computed"===this.canceledNavigationResolution){var r,o;const s=this.currentPageId-e.targetPageId;"popstate"!==e.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(r=this.currentNavigation)||void 0===r?void 0:r.finalUrl)||0===s?this.currentUrlTree===(null===(o=this.currentNavigation)||void 0===o?void 0:o.finalUrl)&&0===s&&(this.resetState(e),this.browserUrlTree=e.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(s)}else"replace"===this.canceledNavigationResolution&&(i&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=e.currentRouterState,this.currentUrlTree=e.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(e,i,r){const o=new Vc(e.id,this.serializeUrl(e.extractedUrl),i,r);this.triggerEvent(o),e.resolve(!1)}generateNgRouterState(e,i){return"computed"===this.canceledNavigationResolution?{navigationId:e,\u0275routerPageId:i}:{navigationId:e}}}return n.\u0275fac=function(e){qo()},n.\u0275prov=k({token:n,factory:function(){return KS()},providedIn:"root"}),n})();function ZS(n){return"imperative"!==n}class XS{}let d5=(()=>{class n{constructor(e,i,r,o,s){this.router=e,this.injector=r,this.preloadingStrategy=o,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe(It(e=>e instanceof Br),ho(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,i){const r=[];for(const l of i){var o,s;l.providers&&!l._injector&&(l._injector=Od(l.providers,e,`Route: ${l.path}`));const c=null!==(o=l._injector)&&void 0!==o?o:e,u=null!==(s=l._loadedInjector)&&void 0!==s?s:c;if(l.loadChildren&&!l._loadedRoutes&&void 0===l.canLoad||l.loadComponent&&!l._loadedComponent)r.push(this.preloadConfig(c,l));else if(l.children||l._loadedRoutes){var a;r.push(this.processRoutes(u,null!==(a=l.children)&&void 0!==a?a:l._loadedRoutes))}}return He(r).pipe(Qr())}preloadConfig(e,i){return this.preloadingStrategy.preload(i,()=>{let r;r=i.loadChildren&&void 0===i.canLoad?this.loader.loadChildren(e,i):q(null);const o=r.pipe(st(s=>{var a;return null===s?q(void 0):(i._loadedRoutes=s.routes,i._loadedInjector=s.injector,this.processRoutes(null!==(a=s.injector)&&void 0!==a?a:e,s.routes))}));return i.loadComponent&&!i._loadedComponent?He([o,this.loader.loadComponent(i)]).pipe(Qr()):o})}}return n.\u0275fac=function(e){return new(e||n)(b(Ot),b(im),b(oo),b(XS),b(ly))},n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const dy=new P("");let JS=(()=>{class n{constructor(e,i,r={}){this.router=e,this.viewportScroller=i,this.options=r,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},r.scrollPositionRestoration=r.scrollPositionRestoration||"disabled",r.anchorScrolling=r.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(e=>{e instanceof z_?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof Br&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.router.parseUrl(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(e=>{e instanceof bS&&(e.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,i){this.router.triggerEvent(new bS(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,i))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return n.\u0275fac=function(e){qo()},n.\u0275prov=k({token:n,factory:n.\u0275fac}),n})();function Ja(n,t){return{\u0275kind:n,\u0275providers:t}}function hy(n){return[{provide:ay,multi:!0,useValue:n}]}function tA(){const n=Ue(Nt);return t=>{var e,i;const r=n.get(Va);if(t!==r.components[0])return;const o=n.get(Ot),s=n.get(nA);1===n.get(fy)&&o.initialNavigation(),null===(e=n.get(iA,null,re.Optional))||void 0===e||e.setUpPreloading(),null===(i=n.get(dy,null,re.Optional))||void 0===i||i.init(),o.resetRootComponentType(r.componentTypes[0]),s.next(),s.complete()}}const nA=new P("",{factory:()=>new ce}),fy=new P("",{providedIn:"root",factory:()=>1});const iA=new P("");function g5(n){return Ja(0,[{provide:iA,useExisting:d5},{provide:XS,useExisting:n}])}const rA=new P("ROUTER_FORROOT_GUARD"),m5=[Wd,{provide:uS,useClass:B_},{provide:Ot,useFactory:KS},Hc,{provide:fs,useFactory:function eA(n){return n.routerState.root},deps:[Ot]},ly];function _5(){return new Gx("Router",Ot)}let y5=(()=>{class n{constructor(e){}static forRoot(e,i){return{ngModule:n,providers:[m5,[],hy(e),{provide:rA,useFactory:w5,deps:[[Ot,new ro,new ua]]},{provide:Zh,useValue:i||{}},null!=i&&i.useHash?{provide:ts,useClass:uV}:{provide:ts,useClass:fD},{provide:dy,useFactory:()=>{const n=Ue(Ot),t=Ue(CB),e=Ue(Zh);return e.scrollOffset&&t.setOffset(e.scrollOffset),new JS(n,t,e)}},null!=i&&i.preloadingStrategy?g5(i.preloadingStrategy).\u0275providers:[],{provide:Gx,multi:!0,useFactory:_5},null!=i&&i.initialNavigation?x5(i):[],[{provide:oA,useFactory:tA},{provide:nm,multi:!0,useExisting:oA}]]}}static forChild(e){return{ngModule:n,providers:[hy(e)]}}}return n.\u0275fac=function(e){return new(e||n)(b(rA,8))},n.\u0275mod=Z({type:n}),n.\u0275inj=K({imports:[ey]}),n})();function w5(n){return"guarded"}function x5(n){return["disabled"===n.initialNavigation?Ja(3,[{provide:Vd,multi:!0,useFactory:()=>{const t=Ue(Ot);return()=>{t.setUpLocationChangeListener()}}},{provide:fy,useValue:2}]).\u0275providers:[],"enabledBlocking"===n.initialNavigation?Ja(2,[{provide:fy,useValue:0},{provide:Vd,multi:!0,deps:[Nt],useFactory:t=>{const e=t.get(lV,Promise.resolve());let i=!1;return()=>e.then(()=>new Promise(o=>{const s=t.get(Ot),a=t.get(nA);(function r(o){t.get(Ot).events.pipe(It(a=>a instanceof Br||a instanceof Vc||a instanceof W_),z(a=>a instanceof Br||a instanceof Vc&&(0===a.code||1===a.code)&&null),It(a=>null!==a),Sn(1)).subscribe(()=>{o()})})(()=>{o(!0),i=!0}),s.afterPreactivation=()=>(o(!0),i||a.closed?q(void 0):a),s.initialNavigation()}))}}]).\u0275providers:[]]}const oA=new P("");let py=(()=>{class n{constructor(e,i,r){this.pageScrollService=e,this.router=i,this.pageScrollAdjustHash=!1,this.pageScrollFinish=new he,this.document=r}ngOnChanges(e){this.pageScrollInstance=void 0}ngOnDestroy(){this.pageScrollInstance&&this.pageScrollService.stop(this.pageScrollInstance)}getPageScrollTarget(){return this.pageScrollTarget||this.href||(this.fragment?"#"+this.fragment:"")}generatePageScrollInstance(){if(null==this.pageScrollInstance){const e={document:this.document,scrollTarget:this.getPageScrollTarget()};this.pageScroll&&(e.namespace=this.pageScroll),null!=this.pageScrollHorizontal&&(e.verticalScrolling=!this.pageScrollHorizontal),null!=this.pageScrollOffset&&(e.scrollOffset=this.pageScrollOffset),null!=this.pageScrollInterruptible&&(e.interruptible=this.pageScrollInterruptible),null!=this.pageScrollInView&&(e.scrollInView=this.pageScrollInView),this.pageScrollEasing&&(e.easingLogic=this.pageScrollEasing),null!=this.pageScrollDuration&&(e.duration=this.pageScrollDuration),null!=this.pageScrollSpeed&&(e.speed=this.pageScrollSpeed),this.pageScrollFinish&&(e.scrollFinishListener=this.pageScrollFinish),this.pageScrollInstance=this.pageScrollService.create(e)}return this.pageScrollInstance}pushRouterState(){this.pageScrollAdjustHash&&"string"==typeof this.pageScrollInstance.pageScrollOptions.scrollTarget&&"#"===this.pageScrollInstance.pageScrollOptions.scrollTarget.substr(0,1)&&this.router.navigate([],{fragment:this.pageScrollInstance.pageScrollOptions.scrollTarget.substr(1),queryParamsHandling:"preserve"})}scroll(){const e=this.generatePageScrollInstance();this.pushRouterState(),this.pageScrollService.start(e)}handleClick(e){if(this.routerLink&&null!=this.router){let i;if(i="string"==typeof this.routerLink?this.router.parseUrl(this.routerLink):this.router.createUrlTree(this.routerLink),!this.router.isActive(i,!0))return this.router.events.pipe(It(r=>r instanceof Br||r instanceof W_||r instanceof Vc),Sn(1)).subscribe(r=>{r instanceof Br&&setTimeout(()=>{this.scroll()},0)}),!1}return this.scroll(),!1}}return n.\u0275fac=function(e){return new(e||n)(f(F_),f(Ot,8),f(ae))},n.\u0275dir=T({type:n,selectors:[["","pageScroll",""]],hostBindings:function(e,i){1&e&&te("click",function(o){return i.handleClick(o)})},inputs:{routerLink:"routerLink",href:"href",fragment:"fragment",pageScrollTarget:"pageScrollTarget",pageScrollHorizontal:"pageScrollHorizontal",pageScrollOffset:"pageScrollOffset",pageScrollDuration:"pageScrollDuration",pageScrollSpeed:"pageScrollSpeed",pageScrollEasing:"pageScrollEasing",pageScrollInterruptible:"pageScrollInterruptible",pageScrollInView:"pageScrollInView",pageScrollAdjustHash:"pageScrollAdjustHash",pageScroll:"pageScroll"},outputs:{pageScrollFinish:"pageScrollFinish"},features:[nt]}),n})(),M5=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({imports:[qE]}),n})(),el=(()=>{class n{constructor(e){this.httpClient=e}getBrandValues(){return this.httpClient.get("./assets/json/values.json").pipe(En(this.handleError))}getCapabilities(){return this.httpClient.get("./assets/json/capabilities.json").pipe(En(this.handleError))}getCaseStudies(){return this.httpClient.get("./assets/json/case-studies.json").pipe(En(this.handleError))}getTeamMembers(){return this.httpClient.get("./assets/json/team-members.json").pipe(En(this.handleError))}handleError(e){return console.error(e),_o(e)}}return n.\u0275fac=function(e){return new(e||n)(b(Ha))},n.\u0275prov=k({token:n,factory:n.\u0275fac}),n})(),E5=(()=>{class n{constructor(){}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=pe({type:n,selectors:[["app-root"]],decls:2,vars:0,consts:[[1,"mat-typography"]],template:function(e,i){1&e&&(D(0,"div",0),Q(1,"router-outlet"),M())},dependencies:[J_]}),n})();const S5=nE([Pe({opacity:"{{ start }}",zIndex:"{{zIndex}}"}),Zt("{{ time }}",Pe({opacity:"{{ end }}"}))],{params:{time:"1000ms",start:0,end:1,zIndex:0}});function T5(n,t,e,i){return(n/=i/2)<1?e/2*n*n*n*n+t:-e/2*((n-=2)*n*n*n-2)+t}const Pi=[ir("fadeInOut",[Vt("void <=> *",iE(nE([Pe({opacity:"{{ start }}",zIndex:"{{zIndex}}"}),Zt("{{ time }}",Pe({opacity:"{{ end }}"}))],{params:{time:"1000ms",start:1,end:0,zIndex:0}}))),Vt("* <=> void",iE(S5))]),ir("scrollAnimation",[pn("show",Pe({opacity:1,zIndex:0})),pn("hide",Pe({opacity:0,zIndex:0})),Vt("show => hide",Zt("700ms ease-out")),Vt("hide => show",Zt("700ms ease-in"))])];function I5(n,t){if(1&n&&(D(0,"div",11),V(1),M()),2&n){const e=t.$implicit,i=Y().$implicit;(function l0(n,t,e,i,r,o,s){Si(Ln,Zi,xa(R(),n,t,e,i,r,o,s),!0)})("swatch bg-",i,"",e.suffix," text-",e.contrast,""),S(1),Td(" ",i,"",e.suffix," ")}}function k5(n,t){if(1&n&&(D(0,"div",9),j(1,I5,2,7,"div",10),M()),2&n){const e=Y();S(1),A("ngForOf",e.variants)}}let gy,F5=(()=>{class n{constructor(){this.hues=["gray","primary","accent","warning"],this.variants=[{suffix:"-light-4",contrast:"black"},{suffix:"-light-3",contrast:"black"},{suffix:"-light-2",contrast:"black"},{suffix:"-light-1",contrast:"black"},{suffix:"",contrast:"white"},{suffix:"-dark-1",contrast:"white"},{suffix:"-dark-2",contrast:"white"},{suffix:"-dark-3",contrast:"white"},{suffix:"-dark-4",contrast:"white"}]}ngOnInit(){}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=pe({type:n,selectors:[["app-style-guide"]],decls:32,vars:1,consts:[[1,"full-width-heading","bg-primary"],[1,"container"],["fxLayout","column","fxLayoutGap","10px"],["fxLayout","row","fxLayoutGap","0px",4,"ngFor","ngForOf"],[1,"full-width-heading","bg-accent"],[1,"mat-display-4"],[1,"mat-display-3"],[1,"mat-display-2"],[1,"mat-display-1"],["fxLayout","row","fxLayoutGap","0px"],["gdAlignRows","center center","gdAlignColumns","center center",3,"class",4,"ngFor","ngForOf"],["gdAlignRows","center center","gdAlignColumns","center center"]],template:function(e,i){1&e&&(D(0,"h1",0),V(1,"Color Palette"),M(),D(2,"div",1)(3,"div",2),j(4,k5,2,1,"div",3),M()(),D(5,"h1",4),V(6,"Typography"),M(),D(7,"div",1)(8,"h1",5),V(9,"Jumbo Heading 1 - mat-display-4"),M(),D(10,"h1",6),V(11,"Jumbo Heading 1 - mat-display-3"),M(),D(12,"h1",7),V(13,"Jumbo Heading 1 - mat-display-2"),M(),D(14,"h1",8),V(15,"Jumbo Heading 1 - mat-display-1"),M(),D(16,"h1"),V(17,"H1 - Heading 1 - mat-h1"),M(),D(18,"h2"),V(19,"H2 - Heading 2 - mat-h2"),M(),D(20,"h3"),V(21,"H3 - Heading 3 - mat-h3"),M(),D(22,"h4"),V(23,"H4 - Heading 4 - mat-h4"),M(),D(24,"h5"),V(25,"H5 - Heading 5 - mat-h5"),M(),D(26,"h6"),V(27,"H6 - Heading 6 - mat-h6"),M(),D(28,"p"),V(29,"Body 2"),M(),D(30,"p"),V(31,"Body 1"),M()()),2&e&&(S(4),A("ngForOf",i.hues))},dependencies:[oi,ai,ss,qM,n_],styles:['.swatch[_ngcontent-%COMP%]{width:160px;height:160px;font-size:12px;font-weight:500;text-transform:uppercase}.full-width-heading[_ngcontent-%COMP%]{width:100%;color:#fff;position:relative;height:4em;text-indent:2em;padding-top:2em}.full-width-heading[_ngcontent-%COMP%]:after{content:"";position:absolute;left:2em;bottom:2em;border-bottom:8px solid white;width:4em;height:4px}']}),n})();try{gy=typeof Intl<"u"&&Intl.v8BreakIterator}catch{gy=!1}let tl,Xt=(()=>{class n{constructor(e){this._platformId=e,this.isBrowser=this._platformId?tr(this._platformId):"object"==typeof document&&!!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&&!gy)&&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}}return n.\u0275fac=function(e){return new(e||n)(b($n))},n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const sA=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function aA(){if(tl)return tl;if("object"!=typeof document||!document)return tl=new Set(sA),tl;let n=document.createElement("input");return tl=new Set(sA.filter(t=>(n.setAttribute("type",t),n.type===t))),tl}let Wc,gs,my;function ps(n){return function R5(){if(null==Wc&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Wc=!0}))}finally{Wc=Wc||!1}return Wc}()?n:!!n.capture}function O5(){if(null==gs){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return gs=!1,gs;if("scrollBehavior"in document.documentElement.style)gs=!0;else{const n=Element.prototype.scrollTo;gs=!!n&&!/\{\s*\[native code\]\s*\}/.test(n.toString())}}return gs}function ms(n){return n.composedPath?n.composedPath()[0]:n.target}function _y(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function nl(n,...t){return t.length?t.some(e=>n[e]):n.altKey||n.shiftKey||n.ctrlKey||n.metaKey}class Y5 extends Ce{constructor(t,e){super()}schedule(t,e=0){return this}}const nf={setInterval(n,t,...e){const{delegate:i}=nf;return i?.setInterval?i.setInterval(n,t,...e):setInterval(n,t,...e)},clearInterval(n){const{delegate:t}=nf;return(t?.clearInterval||clearInterval)(n)},delegate:void 0};class wy extends Y5{constructor(t,e){super(t,e),this.scheduler=t,this.work=e,this.pending=!1}schedule(t,e=0){if(this.closed)return this;this.state=t;const i=this.id,r=this.scheduler;return null!=i&&(this.id=this.recycleAsyncId(r,i,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(r,this.id,e),this}requestAsyncId(t,e,i=0){return nf.setInterval(t.flush.bind(t,this),i)}recycleAsyncId(t,e,i=0){if(null!=i&&this.delay===i&&!1===this.pending)return e;nf.clearInterval(e)}execute(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(t,e);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,e){let r,i=!1;try{this.work(t)}catch(o){i=!0,r=o||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),r}unsubscribe(){if(!this.closed){const{id:t,scheduler:e}=this,{actions:i}=e;this.work=this.state=this.scheduler=null,this.pending=!1,ml(i,this),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null,super.unsubscribe()}}}const hA={now:()=>(hA.delegate||Date).now(),delegate:void 0};class qc{constructor(t,e=qc.now){this.schedulerActionCtor=t,this.now=e}schedule(t,e=0,i){return new this.schedulerActionCtor(this,t).schedule(i,e)}}qc.now=hA.now;class xy extends qc{constructor(t,e=qc.now){super(t,e),this.actions=[],this._active=!1,this._scheduled=void 0}flush(t){const{actions:e}=this;if(this._active)return void e.push(t);let i;this._active=!0;do{if(i=t.execute(t.state,t.delay))break}while(t=e.shift());if(this._active=!1,i){for(;t=e.shift();)t.unsubscribe();throw i}}}const Dy=new xy(wy),Q5=Dy;function rf(n,t=Dy){return qe((e,i)=>{let r=null,o=null,s=null;const a=()=>{if(r){r.unsubscribe(),r=null;const c=o;o=null,i.next(c)}};function l(){const c=s+n,u=t.now();if(u{o=c,s=t.now(),r||(r=t.schedule(l,n),i.add(r))},()=>{a(),i.complete()},void 0,()=>{o=r=null}))})}function fA(n){return It((t,e)=>n<=e)}function My(n,t=pi){return n=n??K5,qe((e,i)=>{let r,o=!0;e.subscribe(Ye(i,s=>{const a=t(s);(o||!n(r,a))&&(o=!1,r=a,i.next(s))}))})}function K5(n,t){return n===t}let pA=(()=>{class n{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Z5=(()=>{class n{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((e,i)=>this._cleanupObserver(i))}observe(e){const i=Or(e);return new Re(r=>{const s=this._observeElement(i).subscribe(r);return()=>{s.unsubscribe(),this._unobserveElement(i)}})}_observeElement(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{const i=new ce,r=this._mutationObserverFactory.create(o=>i.next(o));r&&r.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:r,stream:i,count:1})}return this._observedElements.get(e).stream}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){const{observer:i,stream:r}=this._observedElements.get(e);i&&i.disconnect(),r.complete(),this._observedElements.delete(e)}}}return n.\u0275fac=function(e){return new(e||n)(b(pA))},n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),gA=(()=>{class n{constructor(e,i,r){this._contentObserver=e,this._elementRef=i,this._ngZone=r,this.event=new he,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(e){this._disabled=Ae(e),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(e){this._debounce=po(e),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const e=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?e.pipe(rf(this.debounce)):e).subscribe(this.event)})}_unsubscribe(){var e;null===(e=this._currentSubscription)||void 0===e||e.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(f(Z5),f($),f(de))},n.\u0275dir=T({type:n,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),n})(),sf=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({providers:[pA]}),n})();const mA=new Set;let il,X5=(()=>{class n{constructor(e){this._platform=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):e4}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&function J5(n){if(!mA.has(n))try{il||(il=document.createElement("style"),il.setAttribute("type","text/css"),document.head.appendChild(il)),il.sheet&&(il.sheet.insertRule(`@media ${n} {body{ }}`,0),mA.add(n))}catch(t){console.error(t)}}(e),this._matchMedia(e)}}return n.\u0275fac=function(e){return new(e||n)(b(Xt))},n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function e4(n){return{matches:"all"===n||""===n,media:n,addListener:()=>{},removeListener:()=>{}}}let _A=(()=>{class n{constructor(e,i){this._mediaMatcher=e,this._zone=i,this._queries=new Map,this._destroySubject=new ce}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return yA(fh(e)).some(r=>this._registerQuery(r).mql.matches)}observe(e){let o=O_(yA(fh(e)).map(s=>this._registerQuery(s).observable));return o=Rh(o.pipe(Sn(1)),o.pipe(fA(1),rf(0))),o.pipe(z(s=>{const a={matches:!1,breakpoints:{}};return s.forEach(({matches:l,query:c})=>{a.matches=a.matches||l,a.breakpoints[c]=l}),a}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);const i=this._mediaMatcher.matchMedia(e),o={observable:new Re(s=>{const a=l=>this._zone.run(()=>s.next(l));return i.addListener(a),()=>{i.removeListener(a)}}).pipe(Nr(i),z(({matches:s})=>({query:e,matches:s})),Ge(this._destroySubject)),mql:i};return this._queries.set(e,o),o}}return n.\u0275fac=function(e){return new(e||n)(b(X5),b(de))},n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function yA(n){return n.map(t=>t.split(",")).reduce((t,e)=>t.concat(e)).map(t=>t.trim())}function af(n,t){return(n.getAttribute(t)||"").match(/\S+/g)||[]}const bA="cdk-describedby-message",lf="cdk-describedby-host";let Ey=0,o4=(()=>{class n{constructor(e,i){this._platform=i,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+Ey++,this._document=e,this._id=Ue(Na)+"-"+Ey++}describe(e,i,r){if(!this._canBeDescribed(e,i))return;const o=Sy(i,r);"string"!=typeof i?(CA(i,this._id),this._messageRegistry.set(o,{messageElement:i,referenceCount:0})):this._messageRegistry.has(o)||this._createMessageElement(i,r),this._isElementDescribedByMessage(e,o)||this._addMessageReference(e,o)}removeDescription(e,i,r){var o;if(!i||!this._isElementNode(e))return;const s=Sy(i,r);if(this._isElementDescribedByMessage(e,s)&&this._removeMessageReference(e,s),"string"==typeof i){const a=this._messageRegistry.get(s);a&&0===a.referenceCount&&this._deleteMessageElement(s)}0===(null===(o=this._messagesContainer)||void 0===o?void 0:o.childNodes.length)&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){var e;const i=this._document.querySelectorAll(`[${lf}="${this._id}"]`);for(let r=0;r0!=r.indexOf(bA));e.setAttribute("aria-describedby",i.join(" "))}_addMessageReference(e,i){const r=this._messageRegistry.get(i);(function n4(n,t,e){const i=af(n,t);i.some(r=>r.trim()==e.trim())||(i.push(e.trim()),n.setAttribute(t,i.join(" ")))})(e,"aria-describedby",r.messageElement.id),e.setAttribute(lf,this._id),r.referenceCount++}_removeMessageReference(e,i){const r=this._messageRegistry.get(i);r.referenceCount--,function r4(n,t,e){const r=af(n,t).filter(o=>o!=e.trim());r.length?n.setAttribute(t,r.join(" ")):n.removeAttribute(t)}(e,"aria-describedby",r.messageElement.id),e.removeAttribute(lf)}_isElementDescribedByMessage(e,i){const r=af(e,"aria-describedby"),o=this._messageRegistry.get(i),s=o&&o.messageElement.id;return!!s&&-1!=r.indexOf(s)}_canBeDescribed(e,i){if(!this._isElementNode(e))return!1;if(i&&"object"==typeof i)return!0;const r=null==i?"":`${i}`.trim(),o=e.getAttribute("aria-label");return!(!r||o&&o.trim()===r)}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}}return n.\u0275fac=function(e){return new(e||n)(b(ae),b(Xt))},n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Sy(n,t){return"string"==typeof n?`${t||""}/${n}`:n}function CA(n,t){n.id||(n.id=`${bA}-${t}-${Ey++}`)}class a4 extends class s4{constructor(t){this._items=t,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new ce,this._typeaheadSubscription=Ce.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=e=>e.disabled,this._pressedLetters=[],this.tabOut=new ce,this.change=new ce,t instanceof fc&&t.changes.subscribe(e=>{if(this._activeItem){const r=e.toArray().indexOf(this._activeItem);r>-1&&r!==this._activeItemIndex&&(this._activeItemIndex=r)}})}skipPredicate(t){return this._skipPredicateFn=t,this}withWrap(t=!0){return this._wrap=t,this}withVerticalOrientation(t=!0){return this._vertical=t,this}withHorizontalOrientation(t){return this._horizontal=t,this}withAllowedModifierKeys(t){return this._allowedModifierKeys=t,this}withTypeAhead(t=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(ut(e=>this._pressedLetters.push(e)),rf(t),It(()=>this._pressedLetters.length>0),z(()=>this._pressedLetters.join(""))).subscribe(e=>{const i=this._getItemsArray();for(let r=1;r!t[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(e){case 9:return void this.tabOut.next();case 40:if(this._vertical&&r){this.setNextItemActive();break}return;case 38:if(this._vertical&&r){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&r){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&r){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&r){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&r){this.setLastItemActive();break}return;default:return void((r||nl(t,"shiftKey"))&&(t.key&&1===t.key.length?this._letterKeyStream.next(t.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))))}this._pressedLetters=[],t.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(t){const e=this._getItemsArray(),i="number"==typeof t?t:e.indexOf(t);this._activeItem=e[i]??null,this._activeItemIndex=i}_setActiveItemByDelta(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)}_setActiveInWrapMode(t){const e=this._getItemsArray();for(let i=1;i<=e.length;i++){const r=(this._activeItemIndex+t*i+e.length)%e.length;if(!this._skipPredicateFn(e[r]))return void this.setActiveItem(r)}}_setActiveInDefaultMode(t){this._setActiveItemByIndex(this._activeItemIndex+t,t)}_setActiveItemByIndex(t,e){const i=this._getItemsArray();if(i[t]){for(;this._skipPredicateFn(i[t]);)if(!i[t+=e])return;this.setActiveItem(t)}}_getItemsArray(){return this._items instanceof fc?this._items.toArray():this._items}}{setActiveItem(t){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(t),this.activeItem&&this.activeItem.setActiveStyles()}}function xA(n){return 0===n.buttons||0===n.offsetX&&0===n.offsetY}function DA(n){const t=n.touches&&n.touches[0]||n.changedTouches&&n.changedTouches[0];return!(!t||-1!==t.identifier||null!=t.radiusX&&1!==t.radiusX||null!=t.radiusY&&1!==t.radiusY)}const f4=new P("cdk-input-modality-detector-options"),p4={ignoreKeys:[18,17,224,91,16]},rl=ps({passive:!0,capture:!0});let g4=(()=>{class n{constructor(e,i,r,o){this._platform=e,this._mostRecentTarget=null,this._modality=new jn(null),this._lastTouchMs=0,this._onKeydown=s=>{var a,l;null!==(a=this._options)&&void 0!==a&&null!==(l=a.ignoreKeys)&&void 0!==l&&l.some(c=>c===s.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=ms(s))},this._onMousedown=s=>{Date.now()-this._lastTouchMs<650||(this._modality.next(xA(s)?"keyboard":"mouse"),this._mostRecentTarget=ms(s))},this._onTouchstart=s=>{DA(s)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=ms(s))},this._options={...p4,...o},this.modalityDetected=this._modality.pipe(fA(1)),this.modalityChanged=this.modalityDetected.pipe(My()),e.isBrowser&&i.runOutsideAngular(()=>{r.addEventListener("keydown",this._onKeydown,rl),r.addEventListener("mousedown",this._onMousedown,rl),r.addEventListener("touchstart",this._onTouchstart,rl)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,rl),document.removeEventListener("mousedown",this._onMousedown,rl),document.removeEventListener("touchstart",this._onTouchstart,rl))}}return n.\u0275fac=function(e){return new(e||n)(b(Xt),b(de),b(ae),b(f4,8))},n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const m4=new P("liveAnnouncerElement",{providedIn:"root",factory:function _4(){return null}}),y4=new P("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let v4=(()=>{class n{constructor(e,i,r,o){this._ngZone=i,this._defaultOptions=o,this._document=r,this._liveElement=e||this._createLiveElement()}announce(e,...i){const r=this._defaultOptions;let o,s;return 1===i.length&&"number"==typeof i[0]?s=i[0]:[o,s]=i,this.clear(),clearTimeout(this._previousTimeout),o||(o=r&&r.politeness?r.politeness:"polite"),null==s&&r&&(s=r.duration),this._liveElement.setAttribute("aria-live",o),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(a=>this._currentResolve=a)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,"number"==typeof s&&(this._previousTimeout=setTimeout(()=>this.clear(),s)),this._currentResolve(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){var e,i;clearTimeout(this._previousTimeout),null===(e=this._liveElement)||void 0===e||e.remove(),this._liveElement=null,null===(i=this._currentResolve)||void 0===i||i.call(this),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const e="cdk-live-announcer-element",i=this._document.getElementsByClassName(e),r=this._document.createElement("div");for(let o=0;o{class n{constructor(e,i,r,o,s){this._ngZone=e,this._platform=i,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 ce,this._rootNodeFocusAndBlurListener=a=>{for(let c=ms(a);c;c=c.parentElement)"focus"===a.type?this._onFocus(a,c):this._onBlur(a,c)},this._document=o,this._detectionMode=s?.detectionMode||0}monitor(e,i=!1){const r=Or(e);if(!this._platform.isBrowser||1!==r.nodeType)return q(null);const o=function L5(n){if(function P5(){if(null==my){const n=typeof document<"u"?document.head:null;my=!(!n||!n.createShadowRoot&&!n.attachShadow)}return my}()){const t=n.getRootNode?n.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}(r)||this._getDocument(),s=this._elementInfo.get(r);if(s)return i&&(s.checkChildren=!0),s.subject;const a={checkChildren:i,subject:new ce,rootNode:o};return this._elementInfo.set(r,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(e){const i=Or(e),r=this._elementInfo.get(i);r&&(r.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(r))}focusVia(e,i,r){const o=Or(e);o===this._getDocument().activeElement?this._getClosestElementsInfo(o).forEach(([a,l])=>this._originChanged(a,i,l)):(this._setOrigin(i),"function"==typeof o.focus&&o.focus(r))}ngOnDestroy(){this._elementInfo.forEach((e,i)=>this.stopMonitoring(i))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return 1===this._detectionMode||!(null==e||!e.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(e,i){e.classList.toggle("cdk-focused",!!i),e.classList.toggle("cdk-touch-focused","touch"===i),e.classList.toggle("cdk-keyboard-focused","keyboard"===i),e.classList.toggle("cdk-mouse-focused","mouse"===i),e.classList.toggle("cdk-program-focused","program"===i)}_setOrigin(e,i=!1){this._ngZone.runOutsideAngular(()=>{this._origin=e,this._originFromTouchInteraction="touch"===e&&i,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(e,i){const r=this._elementInfo.get(i),o=ms(e);!r||!r.checkChildren&&i!==o||this._originChanged(i,this._getFocusOrigin(o),r)}_onBlur(e,i){const r=this._elementInfo.get(i);!r||r.checkChildren&&e.relatedTarget instanceof Node&&i.contains(e.relatedTarget)||(this._setClasses(i),this._emitOrigin(r,null))}_emitOrigin(e,i){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(i))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;const i=e.rootNode,r=this._rootNodeFocusListenerCount.get(i)||0;r||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,cf),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,cf)}),this._rootNodeFocusListenerCount.set(i,r+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(Ge(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,!0)}))}_removeGlobalListeners(e){const i=e.rootNode;if(this._rootNodeFocusListenerCount.has(i)){const r=this._rootNodeFocusListenerCount.get(i);r>1?this._rootNodeFocusListenerCount.set(i,r-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,cf),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,cf),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,i,r){this._setClasses(e,i),this._emitOrigin(r,i),this._lastFocusOrigin=i}_getClosestElementsInfo(e){const i=[];return this._elementInfo.forEach((r,o)=>{(o===e||r.checkChildren&&o.contains(e))&&i.push([o,r])}),i}_isLastInteractionFromInputLabel(e){const{_mostRecentTarget:i,mostRecentModality:r}=this._inputModalityDetector;if("mouse"!==r||!i||i===e||"INPUT"!==e.nodeName&&"TEXTAREA"!==e.nodeName||e.disabled)return!1;const o=e.labels;if(o)for(let s=0;s{class n{constructor(e,i){this._platform=e,this._document=i,this._breakpointSubscription=Ue(_A).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);const i=this._document.defaultView||window,r=i&&i.getComputedStyle?i.getComputedStyle(e):null,o=(r&&r.backgroundColor||"").replace(/ /g,"");switch(e.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){const e=this._document.body.classList;e.remove(Ay,EA,SA),this._hasCheckedHighContrastMode=!0;const i=this.getHighContrastMode();1===i?e.add(Ay,EA):2===i&&e.add(Ay,SA)}}}return n.\u0275fac=function(e){return new(e||n)(b(Xt),b(ae))},n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),TA=(()=>{class n{constructor(e){e._applyBodyHighContrastModeCssClasses()}}return n.\u0275fac=function(e){return new(e||n)(b(AA))},n.\u0275mod=Z({type:n}),n.\u0275inj=K({imports:[sf]}),n})();const C4=["*",[["mat-option"],["ng-container"]]],w4=["*","mat-option, ng-container"];function x4(n,t){if(1&n&&Q(0,"mat-pseudo-checkbox",4),2&n){const e=Y();A("state",e.selected?"checked":"unchecked")("disabled",e.disabled)}}function D4(n,t){if(1&n&&(D(0,"span",5),V(1),M()),2&n){const e=Y();S(1),xn("(",e.group.label,")")}}const M4=["*"],S4=new P("mat-sanity-checks",{providedIn:"root",factory:function E4(){return!0}});let We=(()=>{class n{constructor(e,i,r){this._sanityChecks=i,this._document=r,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return!_y()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[e])}}return n.\u0275fac=function(e){return new(e||n)(b(AA),b(S4,8),b(ae))},n.\u0275mod=Z({type:n}),n.\u0275inj=K({imports:[Ga,Ga]}),n})();function uf(n){return class extends n{constructor(...t){super(...t),this._disabled=!1}get disabled(){return this._disabled}set disabled(t){this._disabled=Ae(t)}}}function df(n,t){return class extends n{constructor(...e){super(...e),this.defaultColor=t,this.color=t}get color(){return this._color}set color(e){const i=e||this.defaultColor;i!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),i&&this._elementRef.nativeElement.classList.add(`mat-${i}`),this._color=i)}}}function hf(n){return class extends n{constructor(...t){super(...t),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=Ae(t)}}}function Ty(n,t=0){return class extends n{constructor(...e){super(...e),this._tabIndex=t,this.defaultTabIndex=t}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(e){this._tabIndex=null!=e?po(e):this.defaultTabIndex}}}function FA(n){return class extends n{constructor(...t){super(...t),this.errorState=!1}updateErrorState(){const t=this.errorState,o=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);o!==t&&(this.errorState=o,this.stateChanges.next())}}}let Iy=(()=>{class n{isErrorState(e,i){return!!(e&&e.invalid&&(e.touched||i&&i.submitted))}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class T4{constructor(t,e,i,r=!1){this._renderer=t,this.element=e,this.config=i,this._animationForciblyDisabledThroughCss=r,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const RA={enterDuration:225,exitDuration:150},ky=ps({passive:!0}),OA=["mousedown","touchstart"],PA=["mouseup","mouseleave","touchend","touchcancel"];class k4{constructor(t,e,i,r){this._target=t,this._ngZone=e,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=Or(i))}fadeInRipple(t,e,i={}){const r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o={...RA,...i.animation};i.centered&&(t=r.left+r.width/2,e=r.top+r.height/2);const s=i.radius||function F4(n,t,e){const i=Math.max(Math.abs(n-e.left),Math.abs(n-e.right)),r=Math.max(Math.abs(t-e.top),Math.abs(t-e.bottom));return Math.sqrt(i*i+r*r)}(t,e,r),a=t-r.left,l=e-r.top,c=o.enterDuration,u=document.createElement("div");u.classList.add("mat-ripple-element"),u.style.left=a-s+"px",u.style.top=l-s+"px",u.style.height=2*s+"px",u.style.width=2*s+"px",null!=i.color&&(u.style.backgroundColor=i.color),u.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(u);const d=window.getComputedStyle(u),g=d.transitionDuration,_="none"===d.transitionProperty||"0s"===g||"0s, 0s"===g,y=new T4(this,u,i,_);u.style.transform="scale3d(1, 1, 1)",y.state=0,i.persistent||(this._mostRecentTransientRipple=y);let x=null;return!_&&(c||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const C=()=>this._finishRippleTransition(y),F=()=>this._destroyRipple(y);u.addEventListener("transitionend",C),u.addEventListener("transitioncancel",F),x={onTransitionEnd:C,onTransitionCancel:F}}),this._activeRipples.set(y,x),(_||!c)&&this._finishRippleTransition(y),y}fadeOutRipple(t){if(2===t.state||3===t.state)return;const e=t.element,i={...RA,...t.config.animation};e.style.transitionDuration=`${i.exitDuration}ms`,e.style.opacity="0",t.state=2,(t._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(t)}fadeOutAll(){this._getActiveRipples().forEach(t=>t.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(t=>{t.config.persistent||t.fadeOut()})}setupTriggerEvents(t){const e=Or(t);!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,this._registerEvents(OA))}handleEvent(t){"mousedown"===t.type?this._onMousedown(t):"touchstart"===t.type?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(PA),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(t){0===t.state?this._startFadeOutTransition(t):2===t.state&&this._destroyRipple(t)}_startFadeOutTransition(t){const e=t===this._mostRecentTransientRipple,{persistent:i}=t.config;t.state=1,!i&&(!e||!this._isPointerDown)&&t.fadeOut()}_destroyRipple(t){var e;const i=null!==(e=this._activeRipples.get(t))&&void 0!==e?e:null;this._activeRipples.delete(t),this._activeRipples.size||(this._containerRect=null),t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),t.state=3,null!==i&&(t.element.removeEventListener("transitionend",i.onTransitionEnd),t.element.removeEventListener("transitioncancel",i.onTransitionCancel)),t.element.remove()}_onMousedown(t){const e=xA(t),i=this._lastTouchStartEvent&&Date.now(){!t.config.persistent&&(1===t.state||t.config.terminateOnPointerUp&&0===t.state)&&t.fadeOut()}))}_registerEvents(t){this._ngZone.runOutsideAngular(()=>{t.forEach(e=>{this._triggerElement.addEventListener(e,this,ky)})})}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){this._triggerElement&&(OA.forEach(t=>{this._triggerElement.removeEventListener(t,this,ky)}),this._pointerUpEventsRegistered&&PA.forEach(t=>{this._triggerElement.removeEventListener(t,this,ky)}))}}const R4=new P("mat-ripple-global-options");let ys=(()=>{class n{constructor(e,i,r,o,s){this._elementRef=e,this._animationMode=s,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=o||{},this._rippleRenderer=new k4(this,i,e,r)}get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}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:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{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(e,i=0,r){return"number"==typeof e?this._rippleRenderer.fadeInRipple(e,i,{...this.rippleConfig,...r}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...e})}}return n.\u0275fac=function(e){return new(e||n)(f($),f(de),f(Xt),f(R4,8),f(ni,8))},n.\u0275dir=T({type:n,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,i){2&e&&Ze("mat-ripple-unbounded",i.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"]}),n})(),ol=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({imports:[We,We]}),n})(),LA=(()=>{class n{constructor(e){this._animationMode=e,this.state="unchecked",this.disabled=!1}}return n.\u0275fac=function(e){return new(e||n)(f(ni,8))},n.\u0275cmp=pe({type:n,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(e,i){2&e&&Ze("mat-pseudo-checkbox-indeterminate","indeterminate"===i.state)("mat-pseudo-checkbox-checked","checked"===i.state)("mat-pseudo-checkbox-disabled",i.disabled)("_mat-animation-noopable","NoopAnimations"===i._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(e,i){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;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-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.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{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}'],encapsulation:2,changeDetection:0}),n})(),NA=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({imports:[We]}),n})();const Fy=new P("MAT_OPTION_PARENT_COMPONENT"),O4=uf(class{});let P4=0,L4=(()=>{class n extends O4{constructor(e){var i;super(),this._labelId="mat-optgroup-label-"+P4++,this._inert=null!==(i=e?.inertGroups)&&void 0!==i&&i}}return n.\u0275fac=function(e){return new(e||n)(f(Fy,8))},n.\u0275dir=T({type:n,inputs:{label:"label"},features:[O]}),n})();const Ry=new P("MatOptgroup");let N4=(()=>{class n extends L4{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=U(n)))(i||n)}}(),n.\u0275cmp=pe({type:n,selectors:[["mat-optgroup"]],hostAttrs:[1,"mat-optgroup"],hostVars:5,hostBindings:function(e,i){2&e&&(je("role",i._inert?null:"group")("aria-disabled",i._inert?null:i.disabled.toString())("aria-labelledby",i._inert?null:i._labelId),Ze("mat-optgroup-disabled",i.disabled))},inputs:{disabled:"disabled"},exportAs:["matOptgroup"],features:[Me([{provide:Ry,useExisting:n}]),O],ngContentSelectors:w4,decls:4,vars:2,consts:[["aria-hidden","true",1,"mat-optgroup-label",3,"id"]],template:function(e,i){1&e&&(Mi(C4),D(0,"span",0),V(1),_t(2),M(),_t(3,1)),2&e&&(A("id",i._labelId),S(1),xn("",i.label," "))},styles:[".mat-optgroup-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;-webkit-user-select:none;user-select:none;cursor:default}.mat-optgroup-label[disabled]{cursor:default}[dir=rtl] .mat-optgroup-label{text-align:right}.mat-optgroup-label .mat-icon{margin-right:16px;vertical-align:middle}.mat-optgroup-label .mat-icon svg{vertical-align:top}[dir=rtl] .mat-optgroup-label .mat-icon{margin-left:16px;margin-right:0}"],encapsulation:2,changeDetection:0}),n})(),V4=0;class B4{constructor(t,e=!1){this.source=t,this.isUserInput=e}}let H4=(()=>{class n{constructor(e,i,r,o){this._element=e,this._changeDetectorRef=i,this._parent=r,this.group=o,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+V4++,this.onSelectionChange=new he,this._stateChanges=new ce}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(e){this._disabled=Ae(e)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._getHostElement().textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(e,i){const r=this._getHostElement();"function"==typeof r.focus&&r.focus(i)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){(13===e.keyCode||32===e.keyCode)&&!nl(e)&&(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue=e,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new B4(this,e))}}return n.\u0275fac=function(e){qo()},n.\u0275dir=T({type:n,inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),n})(),VA=(()=>{class n extends H4{constructor(e,i,r,o){super(e,i,r,o)}}return n.\u0275fac=function(e){return new(e||n)(f($),f(Dn),f(Fy,8),f(Ry,8))},n.\u0275cmp=pe({type:n,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(e,i){1&e&&te("click",function(){return i._selectViaInteraction()})("keydown",function(o){return i._handleKeydown(o)}),2&e&&(Ia("id",i.id),je("tabindex",i._getTabIndex())("aria-selected",i._getAriaSelected())("aria-disabled",i.disabled.toString()),Ze("mat-selected",i.selected)("mat-option-multiple",i.multiple)("mat-active",i.active)("mat-option-disabled",i.disabled))},exportAs:["matOption"],features:[O],ngContentSelectors:M4,decls:5,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(e,i){1&e&&(Mi(),j(0,x4,1,2,"mat-pseudo-checkbox",0),D(1,"span",1),_t(2),M(),j(3,D4,2,1,"span",2),Q(4,"div",3)),2&e&&(A("ngIf",i.multiple),S(3),A("ngIf",i.group&&i.group._inert),S(1),A("matRippleTrigger",i._getHostElement())("matRippleDisabled",i.disabled||i.disableRipple))},dependencies:[ys,si,LA],styles:['.mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.mat-option.mat-active::before{content:""}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.cdk-high-contrast-active .mat-option.mat-selected:not(.mat-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-option.mat-selected:not(.mat-option-multiple)::after{right:auto;left:16px}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}'],encapsulation:2,changeDetection:0}),n})();function BA(n,t,e){if(e.length){let i=t.toArray(),r=e.toArray(),o=0;for(let s=0;s{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({imports:[ol,fn,We,NA]}),n})();const $A=["mat-button",""],jA=["*"],U4=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],z4=df(uf(hf(class{constructor(n){this._elementRef=n}})));let Oy=(()=>{class n extends z4{constructor(e,i,r){super(e),this._focusMonitor=i,this._animationMode=r,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const o of U4)this._hasHostAttributes(o)&&this._getHostElement().classList.add(o);e.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color="accent")}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(e,i){e?this._focusMonitor.focusVia(this._getHostElement(),e,i):this._getHostElement().focus(i)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...e){return e.some(i=>this._getHostElement().hasAttribute(i))}}return n.\u0275fac=function(e){return new(e||n)(f($),f(_s),f(ni,8))},n.\u0275cmp=pe({type:n,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(e,i){if(1&e&&et(ys,5),2&e){let r;_e(r=ye())&&(i.ripple=r.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(e,i){2&e&&(je("disabled",i.disabled||null),Ze("_mat-animation-noopable","NoopAnimations"===i._animationMode)("mat-button-disabled",i.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[O],attrs:$A,ngContentSelectors:jA,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(e,i){1&e&&(Mi(),D(0,"span",0),_t(1),M(),Q(2,"span",1)(3,"span",2)),2&e&&(S(2),Ze("mat-button-ripple-round",i.isRoundButton||i.isIconButton),A("matRippleDisabled",i._isRippleDisabled())("matRippleCentered",i.isIconButton)("matRippleTrigger",i._getHostElement()))},dependencies:[ys],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}.mat-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.mat-flat-button::before,.mat-raised-button::before,.mat-fab::before,.mat-mini-fab::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-stroked-button::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1)}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}"],encapsulation:2,changeDetection:0}),n})(),Qc=(()=>{class n extends Oy{constructor(e,i,r,o){super(i,e,r),this._ngZone=o,this._haltDisabledEvents=s=>{this.disabled&&(s.preventDefault(),s.stopImmediatePropagation())}}ngAfterViewInit(){super.ngAfterViewInit(),this._ngZone?this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)}):this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}}return n.\u0275fac=function(e){return new(e||n)(f(_s),f($),f(ni,8),f(de,8))},n.\u0275cmp=pe({type:n,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-icon-button",""],["a","mat-fab",""],["a","mat-mini-fab",""],["a","mat-stroked-button",""],["a","mat-flat-button",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:7,hostBindings:function(e,i){2&e&&(je("tabindex",i.disabled?-1:i.tabIndex)("disabled",i.disabled||null)("aria-disabled",i.disabled.toString()),Ze("_mat-animation-noopable","NoopAnimations"===i._animationMode)("mat-button-disabled",i.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[O],attrs:$A,ngContentSelectors:jA,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(e,i){1&e&&(Mi(),D(0,"span",0),_t(1),M(),Q(2,"span",1)(3,"span",2)),2&e&&(S(2),Ze("mat-button-ripple-round",i.isRoundButton||i.isIconButton),A("matRippleDisabled",i._isRippleDisabled())("matRippleCentered",i.isIconButton)("matRippleTrigger",i._getHostElement()))},dependencies:[ys],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}.mat-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.mat-flat-button::before,.mat-raised-button::before,.mat-fab::before,.mat-mini-fab::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-stroked-button::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1)}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}"],encapsulation:2,changeDetection:0}),n})(),W4=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({imports:[ol,We,We]}),n})(),q4=(()=>{class n{constructor(){}ngOnInit(){}scrollDown(){const e=window.innerHeight;window.scroll({top:e,behavior:"smooth"})}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=pe({type:n,selectors:[["app-header"]],decls:6,vars:3,consts:[["fxLayout","column","fxLayoutAlign","center center",1,"full-screen"],["src","assets/logo/Sartography-Logo-Vertical-Color.png",1,"half-height"],["mat-button","","pageScroll","","href","#welcome","fxLayout","column","fxLayoutAlign","center center",1,"explore","mat-subheading-2","text-uppercase",3,"pageScrollAdjustHash"],[1,"chevron-down",3,"inlineSVG"]],template:function(e,i){1&e&&(D(0,"div",0),Q(1,"img",1),D(2,"a",2),V(3," Explore"),Q(4,"br")(5,"span",3),M()()),2&e&&(S(1),A("@fadeInOut",void 0),S(1),A("pageScrollAdjustHash",!0),S(3),A("inlineSVG","/assets/icons/chevron_down.svg"))},dependencies:[ai,Oi,Wa,Qc,py],styles:["a.explore[_ngcontent-%COMP%]{height:200px;width:200px;border-radius:100%;padding-top:40px} .chevron-down svg{width:168px;height:84px} .chevron-down svg path{stroke-width:4px;stroke:#d5d0d1;fill:transparent}"],data:{animation:[ir("fadeInOut",[pn("void",Pe({opacity:0})),pn("*",Pe({opacity:100})),Vt("void <=> *",Zt("1000ms ease-in"))])]}}),n})();const Kc=(n,t,e)=>{const i=n%2==0;return t&&e?i?t:e:i},sr=n=>{const t=.75*window.innerHeight;return window.pageYOffset+t>=n.nativeElement.offsetTop?"show":"hide"};let Y4=(()=>{class n{constructor(e){this.el=e,this.state="hide"}ngOnInit(){}checkScroll(){this.state=sr(this.el)}}return n.\u0275fac=function(e){return new(e||n)(f($))},n.\u0275cmp=pe({type:n,selectors:[["app-welcome"]],hostBindings:function(e,i){1&e&&te("scroll",function(o){return i.checkScroll(o)},0,Jn)},decls:15,vars:2,consts:[["fxLayout","column","fxLayout.gt-md","row","fxLayoutAlign","space-between center",1,"gradient-overlay-section"],["fxFlex.gt-md","50%",1,"container","pad-left-8","z-10"],["fxLayout","column","fxLayoutAlign","center start","fxLayoutAlign.gt-md","start start"],[1,"text-align-left"],[1,"mat-display-3"],[1,"mat-display-4"],[1,"mat-subheading-2","pad-top-2","pad-bottom-2"],["mat-flat-button","","color","primary","pageScroll","","href","#contact_us"],["fxFlex.gt-md","50%",1,"bg-welcome"],["fxShow","","fxHide.gt-md","",1,"bg-welcome-xs"]],template:function(e,i){1&e&&(D(0,"div",0)(1,"div",1)(2,"div",2)(3,"h1",3)(4,"span",4),V(5,"Welcome to"),M(),Q(6,"br"),D(7,"span",5),V(8,"Sartography"),M()(),D(9,"p",6),V(10," Solving problems that matter, blending technical skill and empathy. "),M(),D(11,"a",7),V(12,"Get Started"),M()()(),Q(13,"div",8),M(),Q(14,"div",9)),2&e&&(S(13),A("@scrollAnimation",i.state),S(1),A("@scrollAnimation",i.state))},dependencies:[ai,Oi,Ua,rs,Qc,py],styles:[".bg-welcome[_ngcontent-%COMP%]{z-index:0;width:100%;background-color:#fff;background-image:url(/assets/images/welcome2.jpg);background-size:cover;background-position:center right}@media screen and (max-width: 599px){.bg-welcome[_ngcontent-%COMP%]{background-image:none}}@media screen and (min-width: 600px) and (max-width: 959px){.bg-welcome[_ngcontent-%COMP%]{background-image:none}}@media screen and (min-width: 960px) and (max-width: 1279px){.bg-welcome[_ngcontent-%COMP%]{background-image:none}}@media screen and (min-width: 1280px) and (max-width: 1919px){.bg-welcome[_ngcontent-%COMP%]{height:100vh}}@media screen and (min-width: 1920px) and (max-width: 5000px){.bg-welcome[_ngcontent-%COMP%]{height:100vh}}.color-tile[_ngcontent-%COMP%]{height:72px;width:72px;margin:10px}.bg-welcome-xs[_ngcontent-%COMP%]{background-image:url(/assets/images/welcome2.jpg);background-size:cover;background-repeat:no-repeat;background-position:75% 75%;min-height:75vh;min-width:100vw}"],data:{animation:Pi}}),n})();function Q4(n,t){if(1&n&&(Bn(0),D(1,"h3"),V(2),M(),D(3,"p"),V(4),M(),Hn()),2&n){const e=Y();S(2),Ne(e.capability.title),S(2),Ne(e.capability.description)}}function K4(n,t){1&n&&Q(0,"span",9),2&n&&A("inlineSVG",Y().capability.icon_url)}function Z4(n,t){1&n&&Q(0,"span",9),2&n&&A("inlineSVG",Y().capability.icon_url)}function X4(n,t){if(1&n&&(Bn(0),D(1,"h3"),V(2),M(),D(3,"p"),V(4),M(),Hn()),2&n){const e=Y();S(2),Ne(e.capability.title),S(2),Ne(e.capability.description)}}const J4=function(n,t,e,i,r){return{capability:!0,even:n,odd:t,"first-row":e,"last-row":i,"second-to-last-row":r}};let e8=(()=>{class n{constructor(e){this.el=e,this.state="hide",this.isEven=Kc}ngOnInit(){}checkScroll(){this.state=sr(this.el)}}return n.\u0275fac=function(e){return new(e||n)(f($))},n.\u0275cmp=pe({type:n,selectors:[["app-capability-details"]],hostBindings:function(e,i){1&e&&te("scroll",function(o){return i.checkScroll(o)},0,Jn)},inputs:{capability:"capability",index:"index",numTotal:"numTotal"},decls:17,vars:20,consts:[["fxHide","","fxShow.gt-md","","gdColumns.gt-md","3fr 1fr 1fr 3fr",3,"ngClass"],["fxShow.gt-md","",1,"details-left",3,"fxHide"],[4,"ngIf"],["fxShow.gt-md","",1,"icon-left",3,"fxHide"],["class","capability-icon",3,"inlineSVG",4,"ngIf"],["fxShow.gt-md","",1,"icon-right",3,"fxHide"],["fxShow.gt-md","",1,"details-right",3,"fxHide"],["fxShow","","fxHide.gt-md","","fxLayout","column","fxLayoutAlign","center center",1,"capability-sm"],[1,"icon"],[1,"capability-icon",3,"inlineSVG"],[1,"details"]],template:function(e,i){1&e&&(D(0,"div",0)(1,"div",1),j(2,Q4,5,2,"ng-container",2),M(),D(3,"div",3),j(4,K4,1,1,"span",4),M(),D(5,"div",5),j(6,Z4,1,1,"span",4),M(),D(7,"div",6),j(8,X4,5,2,"ng-container",2),M()(),D(9,"div",7)(10,"div",8),Q(11,"span",9),M(),D(12,"div",10)(13,"h3"),V(14),M(),D(15,"p"),V(16),M()()()),2&e&&(A("ngClass",ix(14,J4,i.isEven(i.index),!i.isEven(i.index),0===i.index,i.index+1===i.numTotal,i.index+2===i.numTotal))("@scrollAnimation",i.state),S(1),A("fxHide",!i.isEven(i.index)),S(1),A("ngIf",i.isEven(i.index)),S(1),A("fxHide",!i.isEven(i.index)),S(1),A("ngIf",i.isEven(i.index)),S(1),A("fxHide",i.isEven(i.index)),S(1),A("ngIf",!i.isEven(i.index)),S(1),A("fxHide",i.isEven(i.index)),S(1),A("ngIf",!i.isEven(i.index)),S(1),A("@scrollAnimation",i.state),S(2),A("inlineSVG",i.capability.icon_url),S(3),Ne(i.capability.title),S(2),Ne(i.capability.description))},dependencies:[ns,si,ai,Oi,rs,Jm,ZM,Wa],styles:['.capability-sm[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px;margin-bottom:2em}.capability-sm[_ngcontent-%COMP%] .capability-icon svg{width:128px;height:128px;margin-bottom:-1em}.capability-sm[_ngcontent-%COMP%] .capability-icon svg path{fill:#34b09b}.capability-sm[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{color:#5ccfbb}.capability-sm[_ngcontent-%COMP%] .details[_ngcontent-%COMP%]{color:#fff}@media screen and (min-width: 1280px){.capability[_ngcontent-%COMP%] .capability-icon svg{margin-top:-52px;width:128px;height:128px}.capability[_ngcontent-%COMP%] .capability-icon svg path{fill:#34b09b}.capability[_ngcontent-%COMP%] .icon-left[_ngcontent-%COMP%], .capability[_ngcontent-%COMP%] .icon-right[_ngcontent-%COMP%]{position:relative;background-color:transparent;text-align:center;min-width:128px}.capability[_ngcontent-%COMP%] .icon-left[_ngcontent-%COMP%]:after, .capability[_ngcontent-%COMP%] .icon-right[_ngcontent-%COMP%]:after{position:absolute;left:50%;content:"";width:2px}.capability[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{color:#5ccfbb}.capability[_ngcontent-%COMP%] .details-left[_ngcontent-%COMP%]{padding-left:80px;color:#fff}.capability[_ngcontent-%COMP%] .details-right[_ngcontent-%COMP%]{padding-right:80px;color:#fff}.capability.even[_ngcontent-%COMP%]{text-align:right}.capability.even[_ngcontent-%COMP%] .details-left[_ngcontent-%COMP%]{background-color:transparent;color:#231f20}.capability.even[_ngcontent-%COMP%] .details-left[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{color:#1d6256}.capability.even[_ngcontent-%COMP%] .icon-left[_ngcontent-%COMP%] .capability-icon svg path{fill:#247a6b}.capability.even[_ngcontent-%COMP%] .icon-left[_ngcontent-%COMP%]:after{bottom:0;height:calc(100% - 64px);background-color:#aca1a4}.capability.even[_ngcontent-%COMP%] .icon-right[_ngcontent-%COMP%]{background-color:#231f20}.capability.even[_ngcontent-%COMP%] .icon-right[_ngcontent-%COMP%]:after{top:0;height:calc(100% - 40px);background-color:#52494b}.capability.even[_ngcontent-%COMP%] .details-right[_ngcontent-%COMP%]{background-color:#231f20}.capability.even.first-row[_ngcontent-%COMP%] .icon-right[_ngcontent-%COMP%]:after{background-color:transparent}.capability.even.last-row[_ngcontent-%COMP%] .icon-left[_ngcontent-%COMP%]:after, .capability.even.second-to-last-row[_ngcontent-%COMP%] .icon-left[_ngcontent-%COMP%]:after{background-color:transparent}.capability.odd[_ngcontent-%COMP%]{text-align:left}.capability.odd[_ngcontent-%COMP%] .details-left[_ngcontent-%COMP%]{background-color:transparent}.capability.odd[_ngcontent-%COMP%] .icon-left[_ngcontent-%COMP%]:after{top:0;height:calc(100% - 40px);background-color:#aca1a4}.capability.odd[_ngcontent-%COMP%] .icon-right[_ngcontent-%COMP%]{background-color:#231f20}.capability.odd[_ngcontent-%COMP%] .icon-right[_ngcontent-%COMP%] .capability-icon svg path{fill:#34b09b}.capability.odd[_ngcontent-%COMP%] .icon-right[_ngcontent-%COMP%]:after{bottom:0;height:calc(100% - 64px);background-color:#52494b}.capability.odd[_ngcontent-%COMP%] .details-right[_ngcontent-%COMP%]{background-color:#231f20;color:#fff}.capability.odd[_ngcontent-%COMP%] .details-right[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{color:#5ccfbb}.capability.odd.last-row[_ngcontent-%COMP%] .icon-right[_ngcontent-%COMP%]:after{background-color:transparent}.capability.odd.last-row[_ngcontent-%COMP%] .icon-left[_ngcontent-%COMP%]:after{background-color:transparent}}'],data:{animation:Pi}}),n})();function t8(n,t){if(1&n&&Q(0,"app-capability-details",9),2&n){const e=t.$implicit,i=t.index,r=Y();A("capability",e)("index",i)("numTotal",r.capabilities.length)}}let n8=(()=>{class n{constructor(e,i){this.api=e,this.el=i,this.state="hide",this.api.getCapabilities().subscribe(r=>this.capabilities=r)}ngOnInit(){}checkScroll(){this.state=sr(this.el)}}return n.\u0275fac=function(e){return new(e||n)(f(el),f($))},n.\u0275cmp=pe({type:n,selectors:[["app-about-us"]],hostBindings:function(e,i){1&e&&te("scroll",function(o){return i.checkScroll(o)},0,Jn)},decls:11,vars:1,consts:[["fxLayout","column","fxLayoutAlign","start start",1,"about-us"],[1,"title"],[1,"mat-display-1"],[1,"mat-display-3"],["fxLayout","column","fxLayout.gt-lg","row"],["fxHide","","fxShow.gt-lg","","fxFlex.xl","33.333%"],["fxFlex.xl","66.667%","fxLayout","column",1,"capabilities"],[3,"capability","index","numTotal",4,"ngFor","ngForOf"],["fxShow","","fxHide.gt-md","",1,"bg-about-us"],[3,"capability","index","numTotal"]],template:function(e,i){1&e&&(D(0,"div",0)(1,"div",1)(2,"h1",2),V(3,"About Us"),M(),D(4,"h2",3),V(5,"What We Do"),M()(),D(6,"div",4),Q(7,"div",5),D(8,"div",6),j(9,t8,1,3,"app-capability-details",7),M()()(),Q(10,"div",8)),2&e&&(S(9),A("ngForOf",i.capabilities))},dependencies:[oi,ai,Oi,Ua,rs,e8],styles:['.about-us[_ngcontent-%COMP%]{position:relative;background-color:#231f20;background-image:url(/assets/images/about-us.jpg);background-size:cover;background-repeat:no-repeat;min-height:1600px;min-width:100vw}@media screen and (max-width: 599px){.about-us[_ngcontent-%COMP%]{background-image:none}}@media screen and (min-width: 600px) and (max-width: 959px){.about-us[_ngcontent-%COMP%]{background-image:none;padding-left:10%;padding-right:10%}}@media screen and (min-width: 960px) and (max-width: 1279px){.about-us[_ngcontent-%COMP%]{background-image:none;padding-left:20%;padding-right:20%}}@media screen and (min-width: 1280px) and (max-width: 1919px){.about-us[_ngcontent-%COMP%]{background-position:50% 80%}}@media screen and (min-width: 1920px) and (max-width: 5000px){.about-us[_ngcontent-%COMP%]{background-position:90% 90%}}.about-us[_ngcontent-%COMP%]:before{position:absolute;content:"";background-color:#231f20;height:100%;right:0;top:0;z-index:0}@media screen and (max-width: 1279px){.about-us[_ngcontent-%COMP%]:before{width:100%}}@media screen and (min-width: 1280px) and (max-width: 1919px){.about-us[_ngcontent-%COMP%]:before{width:50%}}@media screen and (min-width: 1920px) and (max-width: 5000px){.about-us[_ngcontent-%COMP%]:before{width:33.333%}}@media screen and (min-width: 1280px) and (max-width: 1919px){.about-us[_ngcontent-%COMP%]:after{position:absolute;content:"";height:100%;left:0;top:0;z-index:0;width:50%}}.about-us[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{z-index:1;margin-top:80px;margin-left:80px}@media screen and (max-width: 1279px){.about-us[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{margin-left:20px;margin-right:20px}}.about-us[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{color:#247a6b;margin-bottom:0}@media screen and (max-width: 1279px){.about-us[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{color:#5ccfbb}}.about-us[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#231f20}@media screen and (max-width: 1279px){.about-us[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#fff}}.about-us[_ngcontent-%COMP%] .capabilities[_ngcontent-%COMP%]{padding-bottom:4em;z-index:1}.bg-about-us[_ngcontent-%COMP%]{background-image:url(/assets/images/bg-about-us.jpg);background-size:cover;background-repeat:no-repeat;background-position:75% 75%;min-height:75vh;min-width:100vw}'],data:{animation:Pi}}),n})(),i8=(()=>{class n{constructor(e){this.el=e,this.state="hide"}ngOnInit(){}highlight(e,i){const r=document.getElementById(e);r&&(i?r.classList.add("highlight"):r.classList.remove("highlight"))}checkScroll(){this.state=sr(this.el)}}return n.\u0275fac=function(e){return new(e||n)(f($))},n.\u0275cmp=pe({type:n,selectors:[["app-brand-value"]],hostBindings:function(e,i){1&e&&te("scroll",function(o){return i.checkScroll(o)},0,Jn)},inputs:{brandValue:"brandValue"},decls:6,vars:4,consts:[["gdRows","auto auto auto","gdGridAlign","center center","gdAlignRows","center center",1,"value",3,"mouseover","mouseout"],[1,"logo-element",3,"inlineSVG"],[1,"mat-caption"]],template:function(e,i){1&e&&(D(0,"div",0),te("mouseover",function(){return i.highlight(i.brandValue.id,!0)})("mouseout",function(){return i.highlight(i.brandValue.id,!1)}),Q(1,"span",1),D(2,"h3"),V(3),M(),D(4,"p",2),V(5),M()()),2&e&&(A("@scrollAnimation",i.state),S(1),ti("inlineSVG",i.brandValue.icon_url),S(2),Ne(i.brandValue.title),S(2),Ne(i.brandValue.description))},dependencies:[t_,n_,i_,Wa],styles:[".logo-element[_ngcontent-%COMP%] svg{width:64px;height:64px}.value[_ngcontent-%COMP%]{margin-bottom:2em}"],data:{animation:Pi}}),n})();function r8(n,t){1&n&&Q(0,"app-brand-value",7),2&n&&A("brandValue",t.$implicit)}function o8(n,t){1&n&&Q(0,"app-brand-value",7),2&n&&A("brandValue",t.$implicit)}let s8=(()=>{class n{constructor(e,i){this.el=e,this.api=i,this.state="hide",this.api.getBrandValues().subscribe(r=>{const o=Math.floor(r.length/2);this.brandValuesLeft=r.slice(0,o),this.brandValuesRight=r.slice(o)})}ngOnInit(){}checkScroll(){this.state=sr(this.el)}}return n.\u0275fac=function(e){return new(e||n)(f($),f(el))},n.\u0275cmp=pe({type:n,selectors:[["app-logo-values"]],hostBindings:function(e,i){1&e&&te("scroll",function(o){return i.checkScroll(o)},0,Jn)},decls:11,vars:3,consts:[[1,"logo-values"],[1,"margin-bottom-3"],["fxLayout","column","fxLayout.gt-md","row","fxLayoutAlign","start start","fxLayoutGap","0px","fxLayoutGap.gt-md","80px"],["fxFlex","33%","gdRows","auto","gdGridAlign","stretch stretch"],[3,"brandValue",4,"ngFor","ngForOf"],["fxFlex","33%","fxHide","","fxShow.gt-md",""],["inlineSVG","/assets/logo/Sartography-Logo-Elements.svg",1,"logo-animated"],[3,"brandValue"]],template:function(e,i){1&e&&(D(0,"div",0)(1,"div",1)(2,"h1"),V(3,"Our Values"),M()(),D(4,"div",2)(5,"div",3),j(6,r8,1,1,"app-brand-value",4),M(),D(7,"div",5),Q(8,"span",6),M(),D(9,"div",3),j(10,o8,1,1,"app-brand-value",4),M()()()),2&e&&(A("@scrollAnimation",i.state),S(6),A("ngForOf",i.brandValuesLeft),S(4),A("ngForOf",i.brandValuesRight))},dependencies:[oi,ai,ss,Oi,Ua,rs,t_,i_,Wa,i8],styles:[".logo-values[_ngcontent-%COMP%]{padding:80px}@media screen and (max-width: 599px){.logo-values[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}}@media screen and (min-width: 600px) and (max-width: 959px){.logo-values[_ngcontent-%COMP%]{padding-left:10%;padding-right:10%}}@media screen and (min-width: 960px) and (max-width: 1279px){.logo-values[_ngcontent-%COMP%]{padding-left:20%;padding-right:20%}}@media screen and (max-width: 599px){.logo-animated[_ngcontent-%COMP%] svg{max-height:75vh;max-width:75vw}}@media screen and (min-width: 600px) and (max-width: 959px){.logo-animated[_ngcontent-%COMP%] svg{max-height:75vh;max-width:75vw}}@media screen and (min-width: 960px) and (max-width: 1279px){.logo-animated[_ngcontent-%COMP%] svg{max-height:75vh;max-width:75vw}}@media screen and (min-width: 1280px) and (max-width: 1919px){.logo-animated[_ngcontent-%COMP%] svg{max-height:100vh;max-width:30vw}}@media screen and (min-width: 1920px) and (max-width: 5000px){.logo-animated[_ngcontent-%COMP%] svg{max-height:100vh;max-width:30vw}}.logo-animated[_ngcontent-%COMP%] svg #the_ribbon, .logo-animated[_ngcontent-%COMP%] svg #the_equals_sign, .logo-animated[_ngcontent-%COMP%] svg #the_compass, .logo-animated[_ngcontent-%COMP%] svg #the_heart, .logo-animated[_ngcontent-%COMP%] svg #the_thread, .logo-animated[_ngcontent-%COMP%] svg #the_circle{opacity:0;transition:all 1s ease-in-out}.logo-animated[_ngcontent-%COMP%] svg #the_ribbon.highlight, .logo-animated[_ngcontent-%COMP%] svg #the_equals_sign.highlight, .logo-animated[_ngcontent-%COMP%] svg #the_compass.highlight, .logo-animated[_ngcontent-%COMP%] svg #the_heart.highlight, .logo-animated[_ngcontent-%COMP%] svg #the_thread.highlight, .logo-animated[_ngcontent-%COMP%] svg #the_circle.highlight{stroke-width:6px;opacity:1}"],data:{animation:Pi}}),n})();const a8=["addListener","removeListener"],l8=["addEventListener","removeEventListener"],c8=["on","off"];function Zc(n,t,e,i){if(be(e)&&(i=e,e=void 0),i)return Zc(n,t,e).pipe(R_(i));const[r,o]=function h8(n){return be(n.addEventListener)&&be(n.removeEventListener)}(n)?l8.map(s=>a=>n[s](t,a,e)):function u8(n){return be(n.addListener)&&be(n.removeListener)}(n)?a8.map(GA(n,t)):function d8(n){return be(n.on)&&be(n.off)}(n)?c8.map(GA(n,t)):[];if(!r&&xl(n))return st(s=>Zc(s,t,e))(jt(n));if(!r)throw new TypeError("Invalid event target");return new Re(s=>{const a=(...l)=>s.next(1o(a)})}function GA(n,t){return e=>i=>n[e](t,i)}const Xc={schedule(n){let t=requestAnimationFrame,e=cancelAnimationFrame;const{delegate:i}=Xc;i&&(t=i.requestAnimationFrame,e=i.cancelAnimationFrame);const r=t(o=>{e=void 0,n(o)});return new Ce(()=>e?.(r))},requestAnimationFrame(...n){const{delegate:t}=Xc;return(t?.requestAnimationFrame||requestAnimationFrame)(...n)},cancelAnimationFrame(...n){const{delegate:t}=Xc;return(t?.cancelAnimationFrame||cancelAnimationFrame)(...n)},delegate:void 0};new class p8 extends xy{flush(t){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let r;t=t||i.shift();do{if(r=t.execute(t.state,t.delay))break}while((t=i[0])&&t.id===e&&i.shift());if(this._active=!1,r){for(;(t=i[0])&&t.id===e&&i.shift();)t.unsubscribe();throw r}}}(class f8 extends wy{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,i=0){return null!==i&&i>0?super.requestAsyncId(t,e,i):(t.actions.push(this),t._scheduled||(t._scheduled=Xc.requestAnimationFrame(()=>t.flush(void 0))))}recycleAsyncId(t,e,i=0){if(null!=i&&i>0||null==i&&this.delay>0)return super.recycleAsyncId(t,e,i);t.actions.some(r=>r.id===e)||(Xc.cancelAnimationFrame(e),t._scheduled=void 0)}});let Py,m8=1;const ff={};function UA(n){return n in ff&&(delete ff[n],!0)}const _8={setImmediate(n){const t=m8++;return ff[t]=!0,Py||(Py=Promise.resolve()),Py.then(()=>UA(t)&&n()),t},clearImmediate(n){UA(n)}},{setImmediate:y8,clearImmediate:v8}=_8,pf={setImmediate(...n){const{delegate:t}=pf;return(t?.setImmediate||y8)(...n)},clearImmediate(n){const{delegate:t}=pf;return(t?.clearImmediate||v8)(n)},delegate:void 0};new class C8 extends xy{flush(t){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let r;t=t||i.shift();do{if(r=t.execute(t.state,t.delay))break}while((t=i[0])&&t.id===e&&i.shift());if(this._active=!1,r){for(;(t=i[0])&&t.id===e&&i.shift();)t.unsubscribe();throw r}}}(class b8 extends wy{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,i=0){return null!==i&&i>0?super.requestAsyncId(t,e,i):(t.actions.push(this),t._scheduled||(t._scheduled=pf.setImmediate(t.flush.bind(t,void 0))))}recycleAsyncId(t,e,i=0){if(null!=i&&i>0||null==i&&this.delay>0)return super.recycleAsyncId(t,e,i);t.actions.some(r=>r.id===e)||(pf.clearImmediate(e),t._scheduled=void 0)}});function Ly(n,t=Dy){return function x8(n){return qe((t,e)=>{let i=!1,r=null,o=null,s=!1;const a=()=>{if(o?.unsubscribe(),o=null,i){i=!1;const c=r;r=null,e.next(c)}s&&e.complete()},l=()=>{o=null,s&&e.complete()};t.subscribe(Ye(e,c=>{i=!0,r=c,o||jt(n(c)).subscribe(o=Ye(e,a,l))},()=>{s=!0,(!i||!o||o.closed)&&e.complete()}))})}(()=>function M8(n=0,t,e=Q5){let i=-1;return null!=t&&(El(t)?e=t:i=t),new Re(r=>{let o=function D8(n){return n instanceof Date&&!isNaN(n)}(n)?+n-e.now():n;o<0&&(o=0);let s=0;return e.schedule(function(){r.closed||(r.next(s++),0<=i?this.schedule(void 0,i):r.complete())},o)})}(n,t))}let zA=(()=>{class n{constructor(e,i,r){this._ngZone=e,this._platform=i,this._scrolled=new ce,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=r}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){const i=this.scrollContainers.get(e);i&&(i.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=20){return this._platform.isBrowser?new Re(i=>{this._globalSubscription||this._addGlobalListener();const r=e>0?this._scrolled.pipe(Ly(e)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):q()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(e,i){const r=this.getAncestorScrollContainers(e);return this.scrolled(i).pipe(It(o=>!o||r.indexOf(o)>-1))}getAncestorScrollContainers(e){const i=[];return this.scrollContainers.forEach((r,o)=>{this._scrollableContainsElement(o,e)&&i.push(o)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,i){let r=Or(i),o=e.getElementRef().nativeElement;do{if(r==o)return!0}while(r=r.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>Zc(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return n.\u0275fac=function(e){return new(e||n)(b(de),b(Xt),b(ae,8))},n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Ny=(()=>{class n{constructor(e,i,r){this._platform=e,this._change=new ce,this._changeListener=o=>{this._change.next(o)},this._document=r,i.runOutsideAngular(()=>{if(e.isBrowser){const o=this._getWindow();o.addEventListener("resize",this._changeListener),o.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){const e=this.getViewportScrollPosition(),{width:i,height:r}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+r,right:e.left+i,height:r,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const e=this._document,i=this._getWindow(),r=e.documentElement,o=r.getBoundingClientRect();return{top:-o.top||e.body.scrollTop||i.scrollY||r.scrollTop||0,left:-o.left||e.body.scrollLeft||i.scrollX||r.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(Ly(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}}return n.\u0275fac=function(e){return new(e||n)(b(Xt),b(de),b(ae,8))},n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Jc=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({}),n})(),WA=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({imports:[Ga,Jc,Ga,Jc]}),n})();class Vy{attach(t){return this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;null!=t&&(this._attachedHost=null,t.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(t){this._attachedHost=t}}class qA extends Vy{constructor(t,e,i,r){super(),this.component=t,this.viewContainerRef=e,this.injector=i,this.componentFactoryResolver=r}}class YA extends Vy{constructor(t,e,i,r){super(),this.templateRef=t,this.viewContainerRef=e,this.context=i,this.injector=r}get origin(){return this.templateRef.elementRef}attach(t,e=this.context){return this.context=e,super.attach(t)}detach(){return this.context=void 0,super.detach()}}class A8 extends Vy{constructor(t){super(),this.element=t instanceof $?t.nativeElement:t}}class I8 extends class T8{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){return t instanceof qA?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof YA?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof A8?(this._attachedPortal=t,this.attachDomPortal(t)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(t){this._disposeFn=t}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}{constructor(t,e,i,r,o){super(),this.outletElement=t,this._componentFactoryResolver=e,this._appRef=i,this._defaultInjector=r,this.attachDomPortal=s=>{const a=s.element,l=this._document.createComment("dom-portal");a.parentNode.insertBefore(l,a),this.outletElement.appendChild(a),this._attachedPortal=s,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(a,l)})},this._document=o}attachComponentPortal(t){const i=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component);let r;return t.viewContainerRef?(r=t.viewContainerRef.createComponent(i,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector),this.setDisposeFn(()=>r.destroy())):(r=i.create(t.injector||this._defaultInjector||Nt.NULL),this._appRef.attachView(r.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(r.hostView),r.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(r)),this._attachedPortal=t,r}attachTemplatePortal(t){let e=t.viewContainerRef,i=e.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return i.rootNodes.forEach(r=>this.outletElement.appendChild(r)),i.detectChanges(),this.setDisposeFn(()=>{let r=e.indexOf(i);-1!==r&&e.remove(r)}),this._attachedPortal=t,i}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(t){return t.hostView.rootNodes[0]}}let QA=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({}),n})();const KA=O5();class k8{constructor(t,e){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=Ct(-this._previousScrollPosition.left),t.style.top=Ct(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const t=this._document.documentElement,i=t.style,r=this._document.body.style,o=i.scrollBehavior||"",s=r.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),KA&&(i.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),KA&&(i.scrollBehavior=o,r.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const e=this._document.body,i=this._viewportRuler.getViewportSize();return e.scrollHeight>i.height||e.scrollWidth>i.width}}class F8{constructor(t,e,i,r){this._scrollDispatcher=t,this._ngZone=e,this._viewportRuler=i,this._config=r,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(t){this._overlayRef=t}enable(){if(this._scrollSubscription)return;const t=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{const e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class ZA{enable(){}disable(){}attach(){}}function By(n,t){return t.some(e=>n.bottome.bottom||n.righte.right)}function XA(n,t){return t.some(e=>n.tope.bottom||n.lefte.right)}class R8{constructor(t,e,i,r){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=i,this._config=r,this._scrollSubscription=null}attach(t){this._overlayRef=t}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:r}=this._viewportRuler.getViewportSize();By(e,[{width:i,height:r,bottom:r,right:i,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let O8=(()=>{class n{constructor(e,i,r,o){this._scrollDispatcher=e,this._viewportRuler=i,this._ngZone=r,this.noop=()=>new ZA,this.close=s=>new F8(this._scrollDispatcher,this._ngZone,this._viewportRuler,s),this.block=()=>new k8(this._viewportRuler,this._document),this.reposition=s=>new R8(this._scrollDispatcher,this._viewportRuler,this._ngZone,s),this._document=o}}return n.\u0275fac=function(e){return new(e||n)(b(zA),b(Ny),b(de),b(ae))},n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class JA{constructor(t){if(this.scrollStrategy=new ZA,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t){const e=Object.keys(t);for(const i of e)void 0!==t[i]&&(this[i]=t[i])}}}class P8{constructor(t,e){this.connectionPair=t,this.scrollableViewProperties=e}}let eT=(()=>{class n{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){const i=this._attachedOverlays.indexOf(e);i>-1&&this._attachedOverlays.splice(i,1),0===this._attachedOverlays.length&&this.detach()}}return n.\u0275fac=function(e){return new(e||n)(b(ae))},n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),L8=(()=>{class n extends eT{constructor(e,i){super(e),this._ngZone=i,this._keydownListener=r=>{const o=this._attachedOverlays;for(let s=o.length-1;s>-1;s--)if(o[s]._keydownEvents.observers.length>0){const a=o[s]._keydownEvents;this._ngZone?this._ngZone.run(()=>a.next(r)):a.next(r);break}}}add(e){super.add(e),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return n.\u0275fac=function(e){return new(e||n)(b(ae),b(de,8))},n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),N8=(()=>{class n extends eT{constructor(e,i,r){super(e),this._platform=i,this._ngZone=r,this._cursorStyleIsSet=!1,this._pointerDownListener=o=>{this._pointerDownEventTarget=ms(o)},this._clickListener=o=>{const s=ms(o),a="click"===o.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:s;this._pointerDownEventTarget=null;const l=this._attachedOverlays.slice();for(let c=l.length-1;c>-1;c--){const u=l[c];if(u._outsidePointerEvents.observers.length<1||!u.hasAttached())continue;if(u.overlayElement.contains(s)||u.overlayElement.contains(a))break;const d=u._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>d.next(o)):d.next(o)}}}add(e){if(super.add(e),!this._isAttached){const i=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(i)):this._addEventListeners(i),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const e=this._document.body;e.removeEventListener("pointerdown",this._pointerDownListener,!0),e.removeEventListener("click",this._clickListener,!0),e.removeEventListener("auxclick",this._clickListener,!0),e.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(e.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(e){e.addEventListener("pointerdown",this._pointerDownListener,!0),e.addEventListener("click",this._clickListener,!0),e.addEventListener("auxclick",this._clickListener,!0),e.addEventListener("contextmenu",this._clickListener,!0)}}return n.\u0275fac=function(e){return new(e||n)(b(ae),b(Xt),b(de,8))},n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),tT=(()=>{class n{constructor(e,i){this._platform=i,this._document=e}ngOnDestroy(){var e;null===(e=this._containerElement)||void 0===e||e.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const e="cdk-overlay-container";if(this._platform.isBrowser||_y()){const r=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let o=0;othis._backdropClick.next(d),this._backdropTransitionendHandler=d=>{this._disposeBackdrop(d.target)},this._keydownEvents=new ce,this._outsidePointerEvents=new ce,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(t){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const e=this._portalOutlet.attach(t);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(Sn(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof e?.onDestroy&&e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),t}dispose(){var t;const e=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),null===(t=this._host)||void 0===t||t.remove(),this._previousHostParent=this._pane=this._host=null,e&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}updateSize(t){this._config={...this._config,...t},this._updateElementSize()}setDirection(t){this._config={...this._config,direction:t},this._updateElementDirection()}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!0)}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!1)}getDirection(){const t=this._config.direction;return t?"string"==typeof t?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const t=this._pane.style;t.width=Ct(this._config.width),t.height=Ct(this._config.height),t.minWidth=Ct(this._config.minWidth),t.minHeight=Ct(this._config.minHeight),t.maxWidth=Ct(this._config.maxWidth),t.maxHeight=Ct(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"":"none"}_attachBackdrop(){const t="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(t)})}):this._backdropElement.classList.add(t)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const t=this._backdropElement;if(t){if(this._animationsDisabled)return void this._disposeBackdrop(t);t.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{t.addEventListener("transitionend",this._backdropTransitionendHandler)}),t.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(t)},500))}}_toggleClasses(t,e,i){const r=fh(e||[]).filter(o=>!!o);r.length&&(i?t.classList.add(...r):t.classList.remove(...r))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const t=this._ngZone.onStable.pipe(Ge(wt(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),t.unsubscribe())})})}_disposeScrollStrategy(){const t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}_disposeBackdrop(t){t&&(t.removeEventListener("click",this._backdropClickHandler),t.removeEventListener("transitionend",this._backdropTransitionendHandler),t.remove(),this._backdropElement===t&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const nT="cdk-overlay-connected-position-bounding-box",B8=/([A-Za-z%]+)$/;class H8{constructor(t,e,i,r,o){this._viewportRuler=e,this._document=i,this._platform=r,this._overlayContainer=o,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new ce,this._resizeSubscription=Ce.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(t)}get positions(){return this._preferredPositions}attach(t){this._validatePositions(),t.hostElement.classList.add(nT),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const t=this._originRect,e=this._overlayRect,i=this._viewportRect,r=this._containerRect,o=[];let s;for(let a of this._preferredPositions){let l=this._getOriginPoint(t,r,a),c=this._getOverlayPoint(l,e,a),u=this._getOverlayFit(c,e,i,a);if(u.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(a,l);this._canFitWithFlexibleDimensions(u,c,i)?o.push({position:a,origin:l,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(l,a)}):(!s||s.overlayFit.visibleAreal&&(l=u,a=c)}return this._isPushed=!1,void this._applyPosition(a.position,a.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(s.position,s.originPoint);this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&vs(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(nT),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const t=this._lastPosition;if(t){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const e=this._getOriginPoint(this._originRect,this._containerRect,t);this._applyPosition(t,e)}else this.apply()}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!0){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=!0){return this._growAfterOpen=t,this}withPush(t=!0){return this._canPush=t,this}withLockedPosition(t=!0){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}_getOriginPoint(t,e,i){let r,o;if("center"==i.originX)r=t.left+t.width/2;else{const s=this._isRtl()?t.right:t.left,a=this._isRtl()?t.left:t.right;r="start"==i.originX?s:a}return e.left<0&&(r-=e.left),o="center"==i.originY?t.top+t.height/2:"top"==i.originY?t.top:t.bottom,e.top<0&&(o-=e.top),{x:r,y:o}}_getOverlayPoint(t,e,i){let r,o;return r="center"==i.overlayX?-e.width/2:"start"===i.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,o="center"==i.overlayY?-e.height/2:"top"==i.overlayY?0:-e.height,{x:t.x+r,y:t.y+o}}_getOverlayFit(t,e,i,r){const o=rT(e);let{x:s,y:a}=t,l=this._getOffset(r,"x"),c=this._getOffset(r,"y");l&&(s+=l),c&&(a+=c);let h=0-a,g=a+o.height-i.height,_=this._subtractOverflows(o.width,0-s,s+o.width-i.width),y=this._subtractOverflows(o.height,h,g),x=_*y;return{visibleArea:x,isCompletelyWithinViewport:o.width*o.height===x,fitsInViewportVertically:y===o.height,fitsInViewportHorizontally:_==o.width}}_canFitWithFlexibleDimensions(t,e,i){if(this._hasFlexibleDimensions){const r=i.bottom-e.y,o=i.right-e.x,s=iT(this._overlayRef.getConfig().minHeight),a=iT(this._overlayRef.getConfig().minWidth),c=t.fitsInViewportHorizontally||null!=a&&a<=o;return(t.fitsInViewportVertically||null!=s&&s<=r)&&c}return!1}_pushOverlayOnScreen(t,e,i){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};const r=rT(e),o=this._viewportRect,s=Math.max(t.x+r.width-o.width,0),a=Math.max(t.y+r.height-o.height,0),l=Math.max(o.top-i.top-t.y,0),c=Math.max(o.left-i.left-t.x,0);let u=0,d=0;return u=r.width<=o.width?c||-s:t.x_&&!this._isInitialRender&&!this._growAfterOpen&&(s=t.y-_/2)}if("end"===e.overlayX&&!r||"start"===e.overlayX&&r)h=i.width-t.x+this._viewportMargin,u=t.x-this._viewportMargin;else if("start"===e.overlayX&&!r||"end"===e.overlayX&&r)d=t.x,u=i.right-t.x;else{const g=Math.min(i.right-t.x+i.left,t.x),_=this._lastBoundingBoxSize.width;u=2*g,d=t.x-g,u>_&&!this._isInitialRender&&!this._growAfterOpen&&(d=t.x-_/2)}return{top:s,left:d,bottom:a,right:h,width:u,height:o}}_setBoundingBoxStyles(t,e){const i=this._calculateBoundingBoxRect(t,e);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));const r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right=r.maxHeight=r.maxWidth="",r.width=r.height="100%";else{const o=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;r.height=Ct(i.height),r.top=Ct(i.top),r.bottom=Ct(i.bottom),r.width=Ct(i.width),r.left=Ct(i.left),r.right=Ct(i.right),r.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",r.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",o&&(r.maxHeight=Ct(o)),s&&(r.maxWidth=Ct(s))}this._lastBoundingBoxSize=i,vs(this._boundingBox.style,r)}_resetBoundingBoxStyles(){vs(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){vs(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,e){const i={},r=this._hasExactPosition(),o=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(r){const u=this._viewportRuler.getViewportScrollPosition();vs(i,this._getExactOverlayY(e,t,u)),vs(i,this._getExactOverlayX(e,t,u))}else i.position="static";let a="",l=this._getOffset(e,"x"),c=this._getOffset(e,"y");l&&(a+=`translateX(${l}px) `),c&&(a+=`translateY(${c}px)`),i.transform=a.trim(),s.maxHeight&&(r?i.maxHeight=Ct(s.maxHeight):o&&(i.maxHeight="")),s.maxWidth&&(r?i.maxWidth=Ct(s.maxWidth):o&&(i.maxWidth="")),vs(this._pane.style,i)}_getExactOverlayY(t,e,i){let r={top:"",bottom:""},o=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),"bottom"===t.overlayY?r.bottom=this._document.documentElement.clientHeight-(o.y+this._overlayRect.height)+"px":r.top=Ct(o.y),r}_getExactOverlayX(t,e,i){let s,r={left:"",right:""},o=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),s=this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left","right"===s?r.right=this._document.documentElement.clientWidth-(o.x+this._overlayRect.width)+"px":r.left=Ct(o.x),r}_getScrollVisibility(){const t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),i=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:XA(t,i),isOriginOutsideView:By(t,i),isOverlayClipped:XA(e,i),isOverlayOutsideView:By(e,i)}}_subtractOverflows(t,...e){return e.reduce((i,r)=>i-Math.max(r,0),t)}_getNarrowedViewportRect(){const t=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+t-this._viewportMargin,bottom:i.top+e-this._viewportMargin,width:t-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,e){return"x"===e?t.offsetX??this._offsetX:t.offsetY??this._offsetY}_validatePositions(){}_addPanelClasses(t){this._pane&&fh(t).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){const t=this._origin;if(t instanceof $)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();const e=t.width||0,i=t.height||0;return{top:t.y,bottom:t.y+i,left:t.x,right:t.x+e,height:i,width:e}}}function vs(n,t){for(let e in t)t.hasOwnProperty(e)&&(n[e]=t[e]);return n}function iT(n){if("number"!=typeof n&&null!=n){const[t,e]=n.split(B8);return e&&"px"!==e?null:parseFloat(t)}return n||null}function rT(n){return{top:Math.floor(n.top),right:Math.floor(n.right),bottom:Math.floor(n.bottom),left:Math.floor(n.left),width:Math.floor(n.width),height:Math.floor(n.height)}}const oT="cdk-global-overlay-wrapper";class $8{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(t){const e=t.getConfig();this._overlayRef=t,this._width&&!e.width&&t.updateSize({width:this._width}),this._height&&!e.height&&t.updateSize({height:this._height}),t.hostElement.classList.add(oT),this._isDisposed=!1}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._xOffset=t,this._xPosition="left",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._xOffset=t,this._xPosition="right",this}start(t=""){return this._xOffset=t,this._xPosition="start",this}end(t=""){return this._xOffset=t,this._xPosition="end",this}width(t=""){return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}height(t=""){return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}centerHorizontally(t=""){return this.left(t),this._xPosition="center",this}centerVertically(t=""){return this.top(t),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:r,height:o,maxWidth:s,maxHeight:a}=i,l=!("100%"!==r&&"100vw"!==r||s&&"100%"!==s&&"100vw"!==s),c=!("100%"!==o&&"100vh"!==o||a&&"100%"!==a&&"100vh"!==a),u=this._xPosition,d=this._xOffset,h="rtl"===this._overlayRef.getConfig().direction;let g="",_="",y="";l?y="flex-start":"center"===u?(y="center",h?_=d:g=d):h?"left"===u||"end"===u?(y="flex-end",g=d):("right"===u||"start"===u)&&(y="flex-start",_=d):"left"===u||"start"===u?(y="flex-start",g=d):("right"===u||"end"===u)&&(y="flex-end",_=d),t.position=this._cssPosition,t.marginLeft=l?"0":g,t.marginTop=c?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=l?"0":_,e.justifyContent=y,e.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,i=e.style;e.classList.remove(oT),i.justifyContent=i.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}let j8=(()=>{class n{constructor(e,i,r,o){this._viewportRuler=e,this._document=i,this._platform=r,this._overlayContainer=o}global(){return new $8}flexibleConnectedTo(e){return new H8(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return n.\u0275fac=function(e){return new(e||n)(b(Ny),b(ae),b(Xt),b(tT))},n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),G8=0,bs=(()=>{class n{constructor(e,i,r,o,s,a,l,c,u,d,h,g){this.scrollStrategies=e,this._overlayContainer=i,this._componentFactoryResolver=r,this._positionBuilder=o,this._keyboardDispatcher=s,this._injector=a,this._ngZone=l,this._document=c,this._directionality=u,this._location=d,this._outsideClickDispatcher=h,this._animationsModuleType=g}create(e){const i=this._createHostElement(),r=this._createPaneElement(i),o=this._createPortalOutlet(r),s=new JA(e);return s.direction=s.direction||this._directionality.value,new V8(o,i,r,s,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(e){const i=this._document.createElement("div");return i.id="cdk-overlay-"+G8++,i.classList.add("cdk-overlay-pane"),e.appendChild(i),i}_createHostElement(){const e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(Va)),new I8(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return n.\u0275fac=function(e){return new(e||n)(b(O8),b(tT),b(Uo),b(j8),b(L8),b(Nt),b(de),b(ae),b(os),b(Wd),b(N8),b(ni,8))},n.\u0275prov=k({token:n,factory:n.\u0275fac}),n})();const U8=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],sT=new P("cdk-connected-overlay-scroll-strategy");let aT=(()=>{class n{constructor(e){this.elementRef=e}}return n.\u0275fac=function(e){return new(e||n)(f($))},n.\u0275dir=T({type:n,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),n})(),lT=(()=>{class n{constructor(e,i,r,o,s){this._overlay=e,this._dir=s,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=Ce.EMPTY,this._attachSubscription=Ce.EMPTY,this._detachSubscription=Ce.EMPTY,this._positionSubscription=Ce.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new he,this.positionChange=new he,this.attach=new he,this.detach=new he,this.overlayKeydown=new he,this.overlayOutsideClick=new he,this._templatePortal=new YA(i,r),this._scrollStrategyFactory=o,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=Ae(e)}get lockPosition(){return this._lockPosition}set lockPosition(e){this._lockPosition=Ae(e)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(e){this._flexibleDimensions=Ae(e)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(e){this._growAfterOpen=Ae(e)}get push(){return this._push}set push(e){this._push=Ae(e)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=U8);const e=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(i=>{this.overlayKeydown.next(i),27===i.keyCode&&!this.disableClose&&!nl(i)&&(i.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(i=>{this.overlayOutsideClick.next(i)})}_buildConfig(){const e=this._position=this.positionStrategy||this._createPositionStrategy(),i=new JA({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(i.width=this.width),(this.height||0===this.height)&&(i.height=this.height),(this.minWidth||0===this.minWidth)&&(i.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(i.minHeight=this.minHeight),this.backdropClass&&(i.backdropClass=this.backdropClass),this.panelClass&&(i.panelClass=this.panelClass),i}_updatePositionStrategy(e){const i=this.positions.map(r=>({originX:r.originX,originY:r.originY,overlayX:r.overlayX,overlayY:r.overlayY,offsetX:r.offsetX||this.offsetX,offsetY:r.offsetY||this.offsetY,panelClass:r.panelClass||void 0}));return e.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(i).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const e=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(e),e}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof aT?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(tS(()=>this.positionChange.observers.length>0)).subscribe(e=>{this.positionChange.emit(e),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(f(bs),f(Ti),f(At),f(sT),f(os,8))},n.\u0275dir=T({type:n,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[nt]}),n})();const W8={provide:sT,deps:[bs],useFactory:function z8(n){return()=>n.scrollStrategies.reposition()}};let Hy=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({providers:[bs,W8],imports:[Ga,QA,WA,WA]}),n})();const q8=["tooltip"],cT="tooltip-panel",uT=ps({passive:!0}),dT=new P("mat-tooltip-scroll-strategy"),Z8={provide:dT,deps:[bs],useFactory:function K8(n){return()=>n.scrollStrategies.reposition({scrollThrottle:20})}},X8=new P("mat-tooltip-default-options",{providedIn:"root",factory:function J8(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let eW=(()=>{class n{constructor(e,i,r,o,s,a,l,c,u,d,h,g){this._overlay=e,this._elementRef=i,this._scrollDispatcher=r,this._viewContainerRef=o,this._ngZone=s,this._platform=a,this._ariaDescriber=l,this._focusMonitor=c,this._dir=d,this._defaultOptions=h,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this._showDelay=this._defaultOptions.showDelay,this._hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new ce,this._scrollStrategy=u,this._document=g,h&&(h.position&&(this.position=h.position),h.touchGestures&&(this.touchGestures=h.touchGestures)),d.change.pipe(Ge(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}get position(){return this._position}set position(e){var i;e!==this._position&&(this._position=e,this._overlayRef)&&(this._updatePosition(this._overlayRef),null===(i=this._tooltipInstance)||void 0===i||i.show(0),this._overlayRef.updatePosition())}get disabled(){return this._disabled}set disabled(e){this._disabled=Ae(e),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(e){this._showDelay=po(e)}get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=po(e),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(e){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=e?String(e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(Ge(this._destroyed)).subscribe(e=>{e?"keyboard"===e&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const e=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([i,r])=>{e.removeEventListener(i,r,uT)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const i=this._createOverlay();this._detach(),this._portal=this._portal||new qA(this._tooltipComponent,this._viewContainerRef);const r=this._tooltipInstance=i.attach(this._portal).instance;r._triggerElement=this._elementRef.nativeElement,r._mouseLeaveHideDelay=this._hideDelay,r.afterHidden().pipe(Ge(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),r.show(e)}hide(e=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide(e)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){var e;if(this._overlayRef)return this._overlayRef;const i=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),r=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(i);return r.positionChanges.pipe(Ge(this._destroyed)).subscribe(o=>{this._updateCurrentPositionClass(o.connectionPair),this._tooltipInstance&&o.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:r,panelClass:`${this._cssClassPrefix}-${cT}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(Ge(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(Ge(this._destroyed)).subscribe(()=>{var o;return null===(o=this._tooltipInstance)||void 0===o?void 0:o._handleBodyInteraction()}),this._overlayRef.keydownEvents().pipe(Ge(this._destroyed)).subscribe(o=>{this._isTooltipVisible()&&27===o.keyCode&&!nl(o)&&(o.preventDefault(),o.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),null!==(e=this._defaultOptions)&&void 0!==e&&e.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(e){const i=e.getConfig().positionStrategy,r=this._getOrigin(),o=this._getOverlayPosition();i.withPositions([this._addOffset({...r.main,...o.main}),this._addOffset({...r.fallback,...o.fallback})])}_addOffset(e){return e}_getOrigin(){const e=!this._dir||"ltr"==this._dir.value,i=this.position;let r;"above"==i||"below"==i?r={originX:"center",originY:"above"==i?"top":"bottom"}:"before"==i||"left"==i&&e||"right"==i&&!e?r={originX:"start",originY:"center"}:("after"==i||"right"==i&&e||"left"==i&&!e)&&(r={originX:"end",originY:"center"});const{x:o,y:s}=this._invertPosition(r.originX,r.originY);return{main:r,fallback:{originX:o,originY:s}}}_getOverlayPosition(){const e=!this._dir||"ltr"==this._dir.value,i=this.position;let r;"above"==i?r={overlayX:"center",overlayY:"bottom"}:"below"==i?r={overlayX:"center",overlayY:"top"}:"before"==i||"left"==i&&e||"right"==i&&!e?r={overlayX:"end",overlayY:"center"}:("after"==i||"right"==i&&e||"left"==i&&!e)&&(r={overlayX:"start",overlayY:"center"});const{x:o,y:s}=this._invertPosition(r.overlayX,r.overlayY);return{main:r,fallback:{overlayX:o,overlayY:s}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(Sn(1),Ge(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}_invertPosition(e,i){return"above"===this.position||"below"===this.position?"top"===i?i="bottom":"bottom"===i&&(i="top"):"end"===e?e="start":"start"===e&&(e="end"),{x:e,y:i}}_updateCurrentPositionClass(e){const{overlayY:i,originX:r,originY:o}=e;let s;if(s="center"===i?this._dir&&"rtl"===this._dir.value?"end"===r?"left":"right":"start"===r?"left":"right":"bottom"===i&&"top"===o?"above":"below",s!==this._currentPosition){const a=this._overlayRef;if(a){const l=`${this._cssClassPrefix}-${cT}-`;a.removePanelClass(l+this._currentPosition),a.addPanelClass(l+s)}this._currentPosition=s}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",()=>{this._setupPointerExitEventsIfNeeded(),this.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",()=>{this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const e=[];if(this._platformSupportsMouseEvents())e.push(["mouseleave",i=>{var r;const o=i.relatedTarget;(!o||null===(r=this._overlayRef)||void 0===r||!r.overlayElement.contains(o))&&this.hide()}],["wheel",i=>this._wheelListener(i)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const i=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};e.push(["touchend",i],["touchcancel",i])}this._addListeners(e),this._passiveListeners.push(...e)}_addListeners(e){e.forEach(([i,r])=>{this._elementRef.nativeElement.addEventListener(i,r,uT)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(e){if(this._isTooltipVisible()){const i=this._document.elementFromPoint(e.clientX,e.clientY),r=this._elementRef.nativeElement;i!==r&&!r.contains(i)&&this.hide()}}_disableNativeGesturesIfNecessary(){const e=this.touchGestures;if("off"!==e){const i=this._elementRef.nativeElement,r=i.style;("on"===e||"INPUT"!==i.nodeName&&"TEXTAREA"!==i.nodeName)&&(r.userSelect=r.msUserSelect=r.webkitUserSelect=r.MozUserSelect="none"),("on"===e||!i.draggable)&&(r.webkitUserDrag="none"),r.touchAction="none",r.webkitTapHighlightColor="transparent"}}}return n.\u0275fac=function(e){qo()},n.\u0275dir=T({type:n,inputs:{position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),n})(),tW=(()=>{class n extends eW{constructor(e,i,r,o,s,a,l,c,u,d,h,g){super(e,i,r,o,s,a,l,c,u,d,h,g),this._tooltipComponent=iW}}return n.\u0275fac=function(e){return new(e||n)(f(bs),f($),f(zA),f(At),f(de),f(Xt),f(o4),f(_s),f(dT),f(os,8),f(X8,8),f(ae))},n.\u0275dir=T({type:n,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[O]}),n})(),nW=(()=>{class n{constructor(e,i){this._changeDetectorRef=e,this._visibility="initial",this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new ce,this._animationsDisabled="NoopAnimations"===i}show(e){clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},e)}hide(e){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},e)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:e}){(!e||!this._triggerElement.contains(e))&&this.hide(this._mouseLeaveHideDelay)}_onShow(){}_handleAnimationEnd({animationName:e}){(e===this._showAnimation||e===this._hideAnimation)&&this._finalizeAnimation(e===this._showAnimation)}_finalizeAnimation(e){e?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(e){const i=this._tooltip.nativeElement,r=this._showAnimation,o=this._hideAnimation;if(i.classList.remove(e?o:r),i.classList.add(e?r:o),this._isVisible=e,e&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const s=getComputedStyle(i);("0s"===s.getPropertyValue("animation-duration")||"none"===s.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}e&&this._onShow(),this._animationsDisabled&&(i.classList.add("_mat-animation-noopable"),this._finalizeAnimation(e))}}return n.\u0275fac=function(e){return new(e||n)(f(Dn),f(ni,8))},n.\u0275dir=T({type:n}),n})(),iW=(()=>{class n extends nW{constructor(e,i,r){super(e,r),this._breakpointObserver=i,this._isHandset=this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)"),this._showAnimation="mat-tooltip-show",this._hideAnimation="mat-tooltip-hide"}}return n.\u0275fac=function(e){return new(e||n)(f(Dn),f(_A),f(ni,8))},n.\u0275cmp=pe({type:n,selectors:[["mat-tooltip-component"]],viewQuery:function(e,i){if(1&e&&et(q8,7),2&e){let r;_e(r=ye())&&(i._tooltip=r.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(e,i){1&e&&te("mouseleave",function(o){return i._handleMouseLeave(o)}),2&e&&Sd("zoom",i.isVisible()?1:null)},features:[O],decls:4,vars:6,consts:[[1,"mat-tooltip",3,"ngClass","animationend"],["tooltip",""]],template:function(e,i){if(1&e&&(D(0,"div",0,1),te("animationend",function(o){return i._handleAnimationEnd(o)}),Xi(2,"async"),V(3),M()),2&e){let r;Ze("mat-tooltip-handset",null==(r=Ra(2,4,i._isHandset))?null:r.matches),A("ngClass",i.tooltipClass),S(3),Ne(i.message)}},dependencies:[ns,Ba],styles:[".mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis;transform:scale(0)}.mat-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}.mat-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-tooltip-show{0%{opacity:0;transform:scale(0)}50%{opacity:.5;transform:scale(0.99)}100%{opacity:1;transform:scale(1)}}@keyframes mat-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(1)}}.mat-tooltip-show{animation:mat-tooltip-show 200ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-tooltip-hide{animation:mat-tooltip-hide 100ms cubic-bezier(0, 0, 0.2, 1) forwards}"],encapsulation:2,changeDetection:0}),n})(),rW=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({providers:[Z8],imports:[TA,fn,Hy,We,We,Jc]}),n})();function oW(n,t){if(1&n&&(D(0,"div",8),Q(1,"img",2),M()),2&n){const e=Y();S(1),ti("src",e.teamMember.imageLink,cn)}}function sW(n,t){if(1&n&&(D(0,"p"),V(1),M()),2&n){const e=t.$implicit;S(1),Ne(e)}}function aW(n,t){if(1&n&&(D(0,"a",9),Q(1,"span",10),M()),2&n){const e=Y();Ko("matTooltip","",e.teamMember.firstName,"'s GitHub Profile"),A("href",e.teamMember.gitHubLink,cn)}}function lW(n,t){if(1&n&&(D(0,"a",11),Q(1,"span",12),M()),2&n){const e=Y();Ko("matTooltip","",e.teamMember.firstName,"'s LinkedIn Profile"),A("href",e.teamMember.linkedInLink,cn)}}function cW(n,t){if(1&n&&(D(0,"div",8),Q(1,"img",2),M()),2&n){const e=Y();S(1),ti("src",e.teamMember.imageLink,cn)}}let uW=(()=>{class n{constructor(e){this.el=e,this.isEven=Kc,this.state="hide"}ngOnInit(){}checkScroll(){this.state=sr(this.el)}}return n.\u0275fac=function(e){return new(e||n)(f($))},n.\u0275cmp=pe({type:n,selectors:[["app-team-member"]],hostBindings:function(e,i){1&e&&te("scroll",function(o){return i.checkScroll(o)},0,Jn)},inputs:{teamMember:"teamMember",index:"index"},decls:13,vars:10,consts:[["fxLayout","column","fxLayoutAlign","center center","fxLayout.gt-md","row","fxLayoutAlign.gt-md","start start","fxLayoutGap","40px",1,"team-member"],["fxShow","","fxHide.gt-md","","fxFlex","16.67%",1,"team-avatar"],[3,"src"],["class","team-avatar","fxHide","","fxShow.gt-md","","fxFlex.gt-md","calc(16.67% - 40px)",4,"ngIf"],["fxFlex","calc(83.33% - 40px)",1,"team-details"],[4,"ngFor","ngForOf"],["mat-button","","target","_blank","class","btn-github mat-elevation-z0",3,"href","matTooltip",4,"ngIf"],["mat-button","","target","_blank","class","btn-linkedin mat-elevation-z0",3,"href","matTooltip",4,"ngIf"],["fxHide","","fxShow.gt-md","","fxFlex.gt-md","calc(16.67% - 40px)",1,"team-avatar"],["mat-button","","target","_blank",1,"btn-github","mat-elevation-z0",3,"href","matTooltip"],["inlineSVG","/assets/icons/github.svg"],["mat-button","","target","_blank",1,"btn-linkedin","mat-elevation-z0",3,"href","matTooltip"],["inlineSVG","/assets/icons/linkedin.svg"]],template:function(e,i){1&e&&(D(0,"div",0)(1,"div",1),Q(2,"img",2),M(),j(3,oW,2,1,"div",3),D(4,"div",4)(5,"h2"),V(6),M(),D(7,"h3"),V(8),M(),j(9,sW,2,1,"p",5),j(10,aW,2,2,"a",6),j(11,lW,2,2,"a",7),M(),j(12,cW,2,1,"div",3),M()),2&e&&(A("@scrollAnimation",i.state),S(2),ti("src",i.teamMember.imageLink,cn),S(1),A("ngIf",i.isEven(i.index)),S(3),Td("",i.teamMember.firstName," ",i.teamMember.lastName,""),S(2),Ne(i.teamMember.title),S(1),A("ngForOf",i.teamMember.description),S(1),A("ngIf",i.teamMember.gitHubLink),S(1),A("ngIf",i.teamMember.linkedInLink),S(1),A("ngIf",!i.isEven(i.index)))},dependencies:[oi,si,ai,ss,Oi,Ua,rs,Wa,Qc,tW],styles:[".team-member[_ngcontent-%COMP%]{margin-bottom:80px}.btn-github[_ngcontent-%COMP%] svg, .btn-linkedin[_ngcontent-%COMP%] svg{width:32px;height:32px} .btn-github svg{fill:#fff} .btn-linkedin svg{fill:#fff}.team-avatar[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{border-radius:100%;max-width:100%}"],data:{animation:Pi}}),n})();function dW(n,t){if(1&n&&Q(0,"app-team-member",3),2&n){const i=t.index;A("teamMember",t.$implicit)("index",i)}}let hW=(()=>{class n{constructor(e,i){this.api=e,this.el=i,this.isEven=Kc,this.state="hide"}ngOnInit(){this.api.getTeamMembers().subscribe(e=>{this.teamMembers=e})}checkScroll(){this.state=sr(this.el)}}return n.\u0275fac=function(e){return new(e||n)(f(el),f($))},n.\u0275cmp=pe({type:n,selectors:[["app-team"]],hostBindings:function(e,i){1&e&&te("scroll",function(o){return i.checkScroll(o)},0,Jn)},decls:5,vars:1,consts:[[1,"bg-primary-dark-1","text-white"],[1,"team","container"],[3,"teamMember","index",4,"ngFor","ngForOf"],[3,"teamMember","index"]],template:function(e,i){1&e&&(D(0,"div",0)(1,"h1"),V(2,"Our Team"),M(),D(3,"div",1),j(4,dW,1,2,"app-team-member",2),M()()),2&e&&(S(4),A("ngForOf",i.teamMembers))},dependencies:[oi,uW],styles:["h1[_ngcontent-%COMP%], .team[_ngcontent-%COMP%]{padding:80px;max-width:1280px}@media screen and (max-width: 599px){h1[_ngcontent-%COMP%], .team[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}}@media screen and (min-width: 600px) and (max-width: 959px){h1[_ngcontent-%COMP%], .team[_ngcontent-%COMP%]{padding-left:10%;padding-right:10%}}@media screen and (min-width: 960px) and (max-width: 1279px){h1[_ngcontent-%COMP%], .team[_ngcontent-%COMP%]{padding-left:20%;padding-right:20%}}"],data:{animation:Pi}}),n})();function hT(...n){const t=Sl(n),{args:e,keys:i}=YE(n),r=new Re(o=>{const{length:s}=e;if(!s)return void o.complete();const a=new Array(s);let l=s,c=s;for(let u=0;u{d||(d=!0,c--),a[u]=h},()=>l--,void 0,()=>{(!l||!d)&&(c||o.next(i?QE(i,a):a),o.complete())}))}});return t?r.pipe(R_(t)):r}const fW=["*"];let gf;function eu(n){var t;return(null===(t=function pW(){if(void 0===gf&&(gf=null,typeof window<"u")){const n=window;void 0!==n.trustedTypes&&(gf=n.trustedTypes.createPolicy("angular#components",{createHTML:t=>t}))}return gf}())||void 0===t?void 0:t.createHTML(n))||n}function fT(n){return Error(`Unable to find icon with the name "${n}"`)}function pT(n){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${n}".`)}function gT(n){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${n}".`)}class Cs{constructor(t,e,i){this.url=t,this.svgText=e,this.options=i}}let mf=(()=>{class n{constructor(e,i,r,o){this._httpClient=e,this._sanitizer=i,this._errorHandler=o,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=r}addSvgIcon(e,i,r){return this.addSvgIconInNamespace("",e,i,r)}addSvgIconLiteral(e,i,r){return this.addSvgIconLiteralInNamespace("",e,i,r)}addSvgIconInNamespace(e,i,r,o){return this._addSvgIconConfig(e,i,new Cs(r,null,o))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,i,r,o){const s=this._sanitizer.sanitize(Oe.HTML,r);if(!s)throw gT(r);const a=eu(s);return this._addSvgIconConfig(e,i,new Cs("",a,o))}addSvgIconSet(e,i){return this.addSvgIconSetInNamespace("",e,i)}addSvgIconSetLiteral(e,i){return this.addSvgIconSetLiteralInNamespace("",e,i)}addSvgIconSetInNamespace(e,i,r){return this._addSvgIconSetConfig(e,new Cs(i,null,r))}addSvgIconSetLiteralInNamespace(e,i,r){const o=this._sanitizer.sanitize(Oe.HTML,i);if(!o)throw gT(i);const s=eu(o);return this._addSvgIconSetConfig(e,new Cs("",s,r))}registerFontClassAlias(e,i=e){return this._fontCssClassesByAlias.set(e,i),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(...e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){const i=this._sanitizer.sanitize(Oe.RESOURCE_URL,e);if(!i)throw pT(e);const r=this._cachedIconsByUrl.get(i);return r?q(_f(r)):this._loadSvgIconFromConfig(new Cs(e,null)).pipe(ut(o=>this._cachedIconsByUrl.set(i,o)),z(o=>_f(o)))}getNamedSvgIcon(e,i=""){const r=mT(i,e);let o=this._svgIconConfigs.get(r);if(o)return this._getSvgFromConfig(o);if(o=this._getIconConfigFromResolvers(i,e),o)return this._svgIconConfigs.set(r,o),this._getSvgFromConfig(o);const s=this._iconSetConfigs.get(i);return s?this._getSvgFromIconSetConfigs(e,s):_o(fT(r))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?q(_f(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(z(i=>_f(i)))}_getSvgFromIconSetConfigs(e,i){const r=this._extractIconWithNameFromAnySet(e,i);return r?q(r):hT(i.filter(s=>!s.svgText).map(s=>this._loadSvgIconSetFromConfig(s).pipe(En(a=>{const c=`Loading icon set URL: ${this._sanitizer.sanitize(Oe.RESOURCE_URL,s.url)} failed: ${a.message}`;return this._errorHandler.handleError(new Error(c)),q(null)})))).pipe(z(()=>{const s=this._extractIconWithNameFromAnySet(e,i);if(!s)throw fT(e);return s}))}_extractIconWithNameFromAnySet(e,i){for(let r=i.length-1;r>=0;r--){const o=i[r];if(o.svgText&&o.svgText.toString().indexOf(e)>-1){const s=this._svgElementFromConfig(o),a=this._extractSvgIconFromSet(s,e,o.options);if(a)return a}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(ut(i=>e.svgText=i),z(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?q(null):this._fetchIcon(e).pipe(ut(i=>e.svgText=i))}_extractSvgIconFromSet(e,i,r){const o=e.querySelector(`[id="${i}"]`);if(!o)return null;const s=o.cloneNode(!0);if(s.removeAttribute("id"),"svg"===s.nodeName.toLowerCase())return this._setSvgAttributes(s,r);if("symbol"===s.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(s),r);const a=this._svgElementFromString(eu(""));return a.appendChild(s),this._setSvgAttributes(a,r)}_svgElementFromString(e){const i=this._document.createElement("DIV");i.innerHTML=e;const r=i.querySelector("svg");if(!r)throw Error(" tag not found");return r}_toSvgElement(e){const i=this._svgElementFromString(eu("")),r=e.attributes;for(let o=0;oeu(u)),Ph(()=>this._inProgressUrlFetches.delete(a)),gr());return this._inProgressUrlFetches.set(a,c),c}_addSvgIconConfig(e,i,r){return this._svgIconConfigs.set(mT(e,i),r),this}_addSvgIconSetConfig(e,i){const r=this._iconSetConfigs.get(e);return r?r.push(i):this._iconSetConfigs.set(e,[i]),this}_svgElementFromConfig(e){if(!e.svgElement){const i=this._svgElementFromString(e.svgText);this._setSvgAttributes(i,e.options),e.svgElement=i}return e.svgElement}_getIconConfigFromResolvers(e,i){for(let r=0;rt?t.pathname+t.search:""}}}),_T=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],wW=_T.map(n=>`[${n}]`).join(", "),xW=/^url\(['"]?#(.*?)['"]?\)$/;let yT=(()=>{class n extends yW{constructor(e,i,r,o,s,a){super(e),this._iconRegistry=i,this._location=o,this._errorHandler=s,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=Ce.EMPTY,a&&(a.color&&(this.color=this.defaultColor=a.color),a.fontSet&&(this.fontSet=a.fontSet)),r||e.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(e){this._inline=Ae(e)}get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}get fontSet(){return this._fontSet}set fontSet(e){const i=this._cleanupFontValue(e);i!==this._fontSet&&(this._fontSet=i,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(e){const i=this._cleanupFontValue(e);i!==this._fontIcon&&(this._fontIcon=i,this._updateFontIconClasses())}_splitIconName(e){if(!e)return["",""];const i=e.split(":");switch(i.length){case 1:return["",i[0]];case 2:return i;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const e=this._elementsWithExternalReferences;if(e&&e.size){const i=this._location.getPathname();i!==this._previousPath&&(this._previousPath=i,this._prependPathToReferences(i))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();const i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){const e=this._elementRef.nativeElement;let i=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();i--;){const r=e.childNodes[i];(1!==r.nodeType||"svg"===r.nodeName.toLowerCase())&&r.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const e=this._elementRef.nativeElement,i=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(r=>r.length>0);this._previousFontSetClass.forEach(r=>e.classList.remove(r)),i.forEach(r=>e.classList.add(r)),this._previousFontSetClass=i,this.fontIcon!==this._previousFontIconClass&&!i.includes("mat-ligature-font")&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return"string"==typeof e?e.trim().split(" ")[0]:e}_prependPathToReferences(e){const i=this._elementsWithExternalReferences;i&&i.forEach((r,o)=>{r.forEach(s=>{o.setAttribute(s.name,`url('${e}#${s.value}')`)})})}_cacheChildrenWithExternalReferences(e){const i=e.querySelectorAll(wW),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o{const a=i[o],l=a.getAttribute(s),c=l?l.match(xW):null;if(c){let u=r.get(a);u||(u=[],r.set(a,u)),u.push({name:s,value:c[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){const[i,r]=this._splitIconName(e);i&&(this._svgNamespace=i),r&&(this._svgName=r),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(r,i).pipe(Sn(1)).subscribe(o=>this._setSvgElement(o),o=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${i}:${r}! ${o.message}`))})}}}return n.\u0275fac=function(e){return new(e||n)(f($),f(mf),Ui("aria-hidden"),f(bW),f(wr),f(vW,8))},n.\u0275cmp=pe({type:n,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(e,i){2&e&&(je("data-mat-icon-type",i._usingFontIcon()?"font":"svg")("data-mat-icon-name",i._svgName||i.fontIcon)("data-mat-icon-namespace",i._svgNamespace||i.fontSet),Ze("mat-icon-inline",i.inline)("mat-icon-no-color","primary"!==i.color&&"accent"!==i.color&&"warn"!==i.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[O],ngContentSelectors:fW,decls:1,vars:0,template:function(e,i){1&e&&(Mi(),_t(0))},styles:[".mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0}),n})(),DW=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({imports:[We,We]}),n})();function MW(n,t){1&n&&Q(0,"img",3),2&n&&ti("src",Y().caseStudy.featureLink,cn)}function EW(n,t){1&n&&Q(0,"img",3),2&n&&ti("src",Y().caseStudy.featureLink,cn)}let SW=(()=>{class n{constructor(e){this.el=e,this.state="hide",this.isEven=Kc}ngOnInit(){}checkScroll(){this.state=sr(this.el)}}return n.\u0275fac=function(e){return new(e||n)(f($))},n.\u0275cmp=pe({type:n,selectors:[["app-case-study"]],hostBindings:function(e,i){1&e&&te("scroll",function(o){return i.checkScroll(o)},0,Jn)},inputs:{caseStudy:"caseStudy",isExpanded:"isExpanded",index:"index"},decls:19,vars:13,consts:[["fxHide","","fxShow.gt-sm","","fxLayout","row","fxLayoutGap","20px",1,"case-study",3,"fxFlexAlign","fxLayoutAlign"],["class","thumbnail",3,"src",4,"ngIf"],["fxFlexAlign","start","fxShow","","fxHide.gt-sm","","fxLayout","column","fxLayoutAlign","start center","fxLayoutGap","20px",1,"case-study"],[1,"thumbnail",3,"src"]],template:function(e,i){1&e&&(D(0,"div",0),j(1,MW,1,1,"img",1),D(2,"div")(3,"h3"),V(4),M(),D(5,"h2"),V(6),M(),D(7,"h4"),V(8),M()(),j(9,EW,1,1,"img",1),M(),D(10,"div",2),Q(11,"img",3),D(12,"div")(13,"h3"),V(14),M(),D(15,"h2"),V(16),M(),D(17,"h4"),V(18),M()()()),2&e&&(ti("fxFlexAlign",i.isEven(i.index)?"start":"end"),Ko("fxLayoutAlign","",i.isEven(i.index)?"start":"end"," center"),A("@scrollAnimation",i.state),S(1),A("ngIf",i.isEven(i.index)),S(3),Ne(i.caseStudy.organizationName),S(2),Ne(i.caseStudy.projectName),S(2),Ne(i.caseStudy.tagLine),S(1),A("ngIf",!i.isEven(i.index)),S(1),A("@scrollAnimation",i.state),S(1),ti("src",i.caseStudy.featureLink,cn),S(3),Ne(i.caseStudy.organizationName),S(2),Ne(i.caseStudy.projectName),S(2),Ne(i.caseStudy.tagLine))},dependencies:[si,ai,ss,Oi,jM,rs],styles:[".case-study.case-study-left[_ngcontent-%COMP%]{justify-self:start}.case-study.case-study-right[_ngcontent-%COMP%]{justify-self:end}.case-study[_ngcontent-%COMP%] .thumbnail[_ngcontent-%COMP%]{width:300px;height:300px;margin-bottom:20px}.case-study[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .case-study[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .case-study[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{margin:0;padding:0}"],data:{animation:Pi}}),n})();function AW(n,t){if(1&n){const e=Er();D(0,"app-case-study",5),te("click",function(){const o=Hi(e).$implicit;return $i(Y(2).toggleExpanded(o.id))}),M()}if(2&n){const e=t.$implicit,i=t.index,r=Y(2);A("caseStudy",e)("index",i)("isExpanded",r.isExpanded)}}function TW(n,t){1&n&&(D(0,"a",15),V(1," Website "),M()),2&n&&A("href",Y(5).selectedStudy.websiteLink,cn)}function IW(n,t){1&n&&(D(0,"a",15),V(1," GitHub "),M()),2&n&&A("href",Y(5).selectedStudy.gitHubLink,cn)}function kW(n,t){if(1&n&&(D(0,"div",12)(1,"blockquote"),V(2),D(3,"footer"),V(4),Q(5,"br"),D(6,"cite"),V(7),M()()(),D(8,"div",13),j(9,TW,2,1,"a",14),j(10,IW,2,1,"a",14),M()()),2&n){const e=t.$implicit,i=Y(4);S(2),xn(" ",e.quote," "),S(2),xn(" ",e.name,""),S(3),Ne(e.title),S(2),A("ngIf",i.selectedStudy.websiteLink),S(1),A("ngIf",i.selectedStudy.gitHubLink)}}function FW(n,t){if(1&n&&(D(0,"div"),j(1,kW,11,5,"div",11),M()),2&n){const e=Y(3);S(1),A("ngForOf",e.selectedStudy.testimonials)}}function RW(n,t){if(1&n){const e=Er();D(0,"div",6)(1,"button",7),te("click",function(){Hi(e);const r=Y(2);return $i(r.toggleExpanded(r.selectedStudy.id))}),D(2,"mat-icon"),V(3,"arrow_back"),M()(),D(4,"div",8),Q(5,"img",9),D(6,"div")(7,"h3"),V(8),M(),D(9,"h2"),V(10),M(),D(11,"p"),V(12),M(),j(13,FW,2,1,"div",10),M()()()}if(2&n){const e=Y(2);A("@scrollAnimation",e.expandedState),S(5),ti("src",e.selectedStudy.imageLink,cn),S(3),Ne(e.selectedStudy.organizationName),S(2),Ne(e.selectedStudy.projectName),S(2),Ne(e.selectedStudy.description),S(1),A("ngIf",e.selectedStudy.testimonials)}}function OW(n,t){if(1&n&&(D(0,"div",1)(1,"div",2),j(2,AW,1,3,"app-case-study",3),M(),j(3,RW,14,6,"div",4),M()),2&n){const e=Y();S(2),A("ngForOf",e.caseStudies),S(1),A("ngIf",e.isExpanded&&e.selectedStudyId&&e.selectedStudy)}}let PW=(()=>{class n{constructor(e){this.api=e,this.isExpanded=!1,this.expandedState="hide",this.isEven=Kc,this.bgClasses=["bg-primary","bg-primary-dark-1","bg-primary-dark-2","bg-primary-dark-3","bg-primary-dark-4"]}ngOnInit(){this.api.getCaseStudies().subscribe(e=>{this.caseStudies=e})}toggleExpanded(e){this.selectedStudyId!==e?(this.selectedStudyId=e,this.selectedStudy=this.caseStudies.find(i=>i.id===this.selectedStudyId),this.isExpanded=!0):this.isExpanded=!this.isExpanded,this.expandedState=this.isExpanded?"show":"hide"}getColumnSize(e){let i;return i=this.isExpanded?this.selectedStudyId===e.id?60:40/(this.caseStudies.length-1):100/this.caseStudies.length,`${i}%`}openDialog(e){console.log("url",e)}tallestHeight(){let e=0;const i=document.getElementsByClassName("case-study-details");for(let r=0;re&&(e=o.clientHeight)}return`${e}px`}}return n.\u0275fac=function(e){return new(e||n)(f(el))},n.\u0275cmp=pe({type:n,selectors:[["app-case-studies"]],decls:5,vars:1,consts:[["class","case-studies",4,"ngIf"],[1,"case-studies"],["fxLayout","column","fxLayoutGap","80px"],[3,"caseStudy","index","isExpanded","click",4,"ngFor","ngForOf"],["class","selected-case-study","fxLayout","column","fxLayoutGap","20px",4,"ngIf"],[3,"caseStudy","index","isExpanded","click"],["fxLayout","column","fxLayoutGap","20px",1,"selected-case-study"],["mat-fab","","color","primary","id","back",3,"click"],["fxLayout","row","fxLayout.lt-md","column","fxLayoutGap","40px","fxLayoutAlign","center center"],[1,"full-size",3,"src"],[4,"ngIf"],["class","testimonial",4,"ngFor","ngForOf"],[1,"testimonial"],["fxLayout","row","fxLayoutGap","10px"],["mat-flat-button","","target","_blank",3,"href",4,"ngIf"],["mat-flat-button","","target","_blank",3,"href"]],template:function(e,i){1&e&&(D(0,"h1"),V(1,"Sample Engagements "),D(2,"em"),V(3,"Click on the images below to learn more, including feedback from our clients."),M()(),j(4,OW,4,2,"div",0)),2&e&&(S(4),A("ngIf",i.caseStudies&&i.caseStudies.length>0))},dependencies:[oi,si,ai,ss,Oi,Oy,Qc,yT,SW],styles:['@charset "UTF-8";h1[_ngcontent-%COMP%]{padding:80px;max-width:1280px}@media screen and (max-width: 599px){h1[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}}@media screen and (min-width: 600px) and (max-width: 959px){h1[_ngcontent-%COMP%]{padding-left:10%;padding-right:10%}}@media screen and (min-width: 960px) and (max-width: 1279px){h1[_ngcontent-%COMP%]{padding-left:20%;padding-right:20%}}h1[_ngcontent-%COMP%] em[_ngcontent-%COMP%]{display:block;font-size:20px}.case-studies[_ngcontent-%COMP%]{width:50%;margin-left:auto;margin-right:auto;margin-bottom:80px}app-case-study[_ngcontent-%COMP%]{cursor:pointer}.selected-case-study[_ngcontent-%COMP%]{position:fixed;width:100%;height:100%;top:0;left:0;background-color:#231f20;z-index:1000;overflow:auto}@media screen and (max-width: 599px){.selected-case-study[_ngcontent-%COMP%]{padding:2em}}@media screen and (min-width: 600px) and (max-width: 959px){.selected-case-study[_ngcontent-%COMP%]{padding:4em}}@media screen and (min-width: 960px) and (max-width: 1279px){.selected-case-study[_ngcontent-%COMP%]{padding:8em}}@media screen and (min-width: 1280px) and (max-width: 1919px){.selected-case-study[_ngcontent-%COMP%]{padding:8em}}@media screen and (min-width: 1920px) and (max-width: 5000px){.selected-case-study[_ngcontent-%COMP%]{padding:8em}}.selected-case-study[_ngcontent-%COMP%] #back[_ngcontent-%COMP%]{position:fixed;top:20px;left:20px;color:#fff}.selected-case-study[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .selected-case-study[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .selected-case-study[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .selected-case-study[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-top:0;margin-bottom:0;color:#fff}.selected-case-study[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{margin-bottom:2em}.selected-case-study[_ngcontent-%COMP%] img.full-size[_ngcontent-%COMP%]{max-width:80vw;max-height:50vh}blockquote[_ngcontent-%COMP%]{position:relative;font-size:24px;font-style:italic;color:#fff}blockquote[_ngcontent-%COMP%]:before{content:"\\201c";position:absolute;top:-40px;left:-40px;color:#52494b;font-size:6em;z-index:-1}blockquote[_ngcontent-%COMP%] footer[_ngcontent-%COMP%]{margin-left:1em;margin-top:1em;font-size:16px;position:relative}blockquote[_ngcontent-%COMP%] footer[_ngcontent-%COMP%]:before{content:"-";position:absolute;top:0;left:-10px}'],data:{animation:Pi}}),n})(),vT=(()=>{class n{constructor(e,i){this._renderer=e,this._elementRef=i,this.onChange=r=>{},this.onTouched=()=>{}}setProperty(e,i){this._renderer.setProperty(this._elementRef.nativeElement,e,i)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}}return n.\u0275fac=function(e){return new(e||n)(f(Wt),f($))},n.\u0275dir=T({type:n}),n})(),ws=(()=>{class n extends vT{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=U(n)))(i||n)}}(),n.\u0275dir=T({type:n,features:[O]}),n})();const di=new P("NgValueAccessor"),NW={provide:di,useExisting:Te(()=>tu),multi:!0},BW=new P("CompositionEventMode");let tu=(()=>{class n extends vT{constructor(e,i,r){super(e,i),this._compositionMode=r,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function VW(){const n=er()?er().getUserAgent():"";return/android (\d+)/.test(n.toLowerCase())}())}writeValue(e){this.setProperty("value",e??"")}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}return n.\u0275fac=function(e){return new(e||n)(f(Wt),f($),f(BW,8))},n.\u0275dir=T({type:n,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(e,i){1&e&&te("input",function(o){return i._handleInput(o.target.value)})("blur",function(){return i.onTouched()})("compositionstart",function(){return i._compositionStart()})("compositionend",function(o){return i._compositionEnd(o.target.value)})},features:[Me([NW]),O]}),n})();function bo(n){return null==n||("string"==typeof n||Array.isArray(n))&&0===n.length}function CT(n){return null!=n&&"number"==typeof n.length}const Ht=new P("NgValidators"),Co=new P("NgAsyncValidators"),$W=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class Li{static min(t){return function wT(n){return t=>{if(bo(t.value)||bo(n))return null;const e=parseFloat(t.value);return!isNaN(e)&&e{if(bo(t.value)||bo(n))return null;const e=parseFloat(t.value);return!isNaN(e)&&e>n?{max:{max:n,actual:t.value}}:null}}(t)}static required(t){return DT(t)}static requiredTrue(t){return function MT(n){return!0===n.value?null:{required:!0}}(t)}static email(t){return function ET(n){return bo(n.value)||$W.test(n.value)?null:{email:!0}}(t)}static minLength(t){return function ST(n){return t=>bo(t.value)||!CT(t.value)?null:t.value.lengthCT(t.value)&&t.value.length>n?{maxlength:{requiredLength:n,actualLength:t.value.length}}:null}(t)}static pattern(t){return function TT(n){if(!n)return yf;let t,e;return"string"==typeof n?(e="","^"!==n.charAt(0)&&(e+="^"),e+=n,"$"!==n.charAt(n.length-1)&&(e+="$"),t=new RegExp(e)):(e=n.toString(),t=n),i=>{if(bo(i.value))return null;const r=i.value;return t.test(r)?null:{pattern:{requiredPattern:e,actualValue:r}}}}(t)}static nullValidator(t){return null}static compose(t){return PT(t)}static composeAsync(t){return LT(t)}}function DT(n){return bo(n.value)?{required:!0}:null}function yf(n){return null}function IT(n){return null!=n}function kT(n){return ic(n)?He(n):n}function FT(n){let t={};return n.forEach(e=>{t=null!=e?{...t,...e}:t}),0===Object.keys(t).length?null:t}function RT(n,t){return t.map(e=>e(n))}function OT(n){return n.map(t=>function jW(n){return!n.validate}(t)?t:e=>t.validate(e))}function PT(n){if(!n)return null;const t=n.filter(IT);return 0==t.length?null:function(e){return FT(RT(e,t))}}function $y(n){return null!=n?PT(OT(n)):null}function LT(n){if(!n)return null;const t=n.filter(IT);return 0==t.length?null:function(e){return hT(RT(e,t).map(kT)).pipe(z(FT))}}function jy(n){return null!=n?LT(OT(n)):null}function NT(n,t){return null===n?[t]:Array.isArray(n)?[...n,t]:[n,t]}function VT(n){return n._rawValidators}function BT(n){return n._rawAsyncValidators}function Gy(n){return n?Array.isArray(n)?n:[n]:[]}function vf(n,t){return Array.isArray(n)?n.includes(t):n===t}function HT(n,t){const e=Gy(t);return Gy(n).forEach(r=>{vf(e,r)||e.push(r)}),e}function $T(n,t){return Gy(t).filter(e=>!vf(n,e))}class jT{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=$y(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=jy(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t){this.control&&this.control.reset(t)}hasError(t,e){return!!this.control&&this.control.hasError(t,e)}getError(t,e){return this.control?this.control.getError(t,e):null}}class gn extends jT{get formDirective(){return null}get path(){return null}}class ar extends jT{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}let sl=(()=>{class n extends class GT{constructor(t){this._cd=t}get isTouched(){var t,e;return!(null===(t=this._cd)||void 0===t||null===(e=t.control)||void 0===e||!e.touched)}get isUntouched(){var t,e;return!(null===(t=this._cd)||void 0===t||null===(e=t.control)||void 0===e||!e.untouched)}get isPristine(){var t,e;return!(null===(t=this._cd)||void 0===t||null===(e=t.control)||void 0===e||!e.pristine)}get isDirty(){var t,e;return!(null===(t=this._cd)||void 0===t||null===(e=t.control)||void 0===e||!e.dirty)}get isValid(){var t,e;return!(null===(t=this._cd)||void 0===t||null===(e=t.control)||void 0===e||!e.valid)}get isInvalid(){var t,e;return!(null===(t=this._cd)||void 0===t||null===(e=t.control)||void 0===e||!e.invalid)}get isPending(){var t,e;return!(null===(t=this._cd)||void 0===t||null===(e=t.control)||void 0===e||!e.pending)}get isSubmitted(){var t;return!(null===(t=this._cd)||void 0===t||!t.submitted)}}{constructor(e){super(e)}}return n.\u0275fac=function(e){return new(e||n)(f(ar,2))},n.\u0275dir=T({type:n,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,i){2&e&&Ze("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)},features:[O]}),n})();const nu="VALID",Cf="INVALID",al="PENDING",iu="DISABLED";function qy(n){return(wf(n)?n.validators:n)||null}function zT(n){return Array.isArray(n)?$y(n):n||null}function Yy(n,t){return(wf(t)?t.asyncValidators:n)||null}function WT(n){return Array.isArray(n)?jy(n):n||null}function wf(n){return null!=n&&!Array.isArray(n)&&"object"==typeof n}function qT(n,t,e){const i=n.controls;if(!(t?Object.keys(i):i).length)throw new I(1e3,"");if(!i[e])throw new I(1001,"")}function YT(n,t,e){n._forEachChild((i,r)=>{if(void 0===e[r])throw new I(1002,"")})}class xf{constructor(t,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=t,this._rawAsyncValidators=e,this._composedValidatorFn=zT(this._rawValidators),this._composedAsyncValidatorFn=WT(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===nu}get invalid(){return this.status===Cf}get pending(){return this.status==al}get disabled(){return this.status===iu}get enabled(){return this.status!==iu}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._rawValidators=t,this._composedValidatorFn=zT(t)}setAsyncValidators(t){this._rawAsyncValidators=t,this._composedAsyncValidatorFn=WT(t)}addValidators(t){this.setValidators(HT(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(HT(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators($T(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators($T(t,this._rawAsyncValidators))}hasValidator(t){return vf(this._rawValidators,t)}hasAsyncValidator(t){return vf(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=al,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=iu,this.errors=null,this._forEachChild(i=>{i.disable({...t,onlySelf:!0})}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...t,skipPristineCheck:e}),this._onDisabledChange.forEach(i=>i(!0))}enable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=nu,this._forEachChild(i=>{i.enable({...t,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors({...t,skipPristineCheck:e}),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===nu||this.status===al)&&this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?iu:nu}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=al,this._hasOwnPendingAsyncValidator=!0;const e=kT(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(i=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(i,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)}get(t){let e=t;return null==e||(Array.isArray(e)||(e=e.split(".")),0===e.length)?null:e.reduce((i,r)=>i&&i._find(r),this)}getError(t,e){const i=e?this.get(e):this;return i&&i.errors?i.errors[t]:null}hasError(t,e){return!!this.getError(t,e)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new he,this.statusChanges=new he}_calculateStatus(){return this._allControlsDisabled()?iu:this.errors?Cf:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(al)?al:this._anyControlsHaveStatus(Cf)?Cf:nu}_anyControlsHaveStatus(t){return this._anyControls(e=>e.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){wf(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(t){return null}}class wo extends xf{constructor(t,e,i){super(qy(e),Yy(i,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e,i={}){this.registerControl(t,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(t,e,i={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){YT(this,0,t),Object.keys(t).forEach(i=>{qT(this,!0,i),this.controls[i].setValue(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(Object.keys(t).forEach(i=>{const r=this.controls[i];r&&r.patchValue(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t={},e={}){this._forEachChild((i,r)=>{i.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(t,e,i)=>(t[i]=e.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(e,i)=>!!i._syncPendingControls()||e);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(e=>{const i=this.controls[e];i&&t(i,e)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const[e,i]of Object.entries(this.controls))if(this.contains(e)&&t(i))return!0;return!1}_reduceValue(){return this._reduceChildren({},(e,i,r)=>((i.enabled||this.disabled)&&(e[r]=i.value),e))}_reduceChildren(t,e){let i=t;return this._forEachChild((r,o)=>{i=e(i,r,o)}),i}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}}const KW=wo;function ru(n,t){var e,i;Qy(n,t),t.valueAccessor.writeValue(n.value),n.disabled&&(null===(e=(i=t.valueAccessor).setDisabledState)||void 0===e||e.call(i,!0)),function JW(n,t){t.valueAccessor.registerOnChange(e=>{n._pendingValue=e,n._pendingChange=!0,n._pendingDirty=!0,"change"===n.updateOn&&QT(n,t)})}(n,t),function tq(n,t){const e=(i,r)=>{t.valueAccessor.writeValue(i),r&&t.viewToModelUpdate(i)};n.registerOnChange(e),t._registerOnDestroy(()=>{n._unregisterOnChange(e)})}(n,t),function eq(n,t){t.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,"blur"===n.updateOn&&n._pendingChange&&QT(n,t),"submit"!==n.updateOn&&n.markAsTouched()})}(n,t),function XW(n,t){if(t.valueAccessor.setDisabledState){const e=i=>{t.valueAccessor.setDisabledState(i)};n.registerOnDisabledChange(e),t._registerOnDestroy(()=>{n._unregisterOnDisabledChange(e)})}}(n,t)}function Mf(n,t,e=!0){const i=()=>{};t.valueAccessor&&(t.valueAccessor.registerOnChange(i),t.valueAccessor.registerOnTouched(i)),Sf(n,t),n&&(t._invokeOnDestroyCallbacks(),n._registerOnCollectionChange(()=>{}))}function Ef(n,t){n.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(t)})}function Qy(n,t){const e=VT(n);null!==t.validator?n.setValidators(NT(e,t.validator)):"function"==typeof e&&n.setValidators([e]);const i=BT(n);null!==t.asyncValidator?n.setAsyncValidators(NT(i,t.asyncValidator)):"function"==typeof i&&n.setAsyncValidators([i]);const r=()=>n.updateValueAndValidity();Ef(t._rawValidators,r),Ef(t._rawAsyncValidators,r)}function Sf(n,t){let e=!1;if(null!==n){if(null!==t.validator){const r=VT(n);if(Array.isArray(r)&&r.length>0){const o=r.filter(s=>s!==t.validator);o.length!==r.length&&(e=!0,n.setValidators(o))}}if(null!==t.asyncValidator){const r=BT(n);if(Array.isArray(r)&&r.length>0){const o=r.filter(s=>s!==t.asyncValidator);o.length!==r.length&&(e=!0,n.setAsyncValidators(o))}}}const i=()=>{};return Ef(t._rawValidators,i),Ef(t._rawAsyncValidators,i),e}function QT(n,t){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function KT(n,t){Qy(n,t)}function XT(n,t){n._syncPendingControls(),t.forEach(e=>{const i=e.control;"submit"===i.updateOn&&i._pendingChange&&(e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}const sq={provide:gn,useExisting:Te(()=>su)},ou=(()=>Promise.resolve())();let su=(()=>{class n extends gn{constructor(e,i){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new he,this.form=new wo({},$y(e),jy(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){ou.then(()=>{const i=this._findContainer(e.path);e.control=i.registerControl(e.name,e.control),ru(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){ou.then(()=>{const i=this._findContainer(e.path);i&&i.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){ou.then(()=>{const i=this._findContainer(e.path),r=new wo({});KT(r,e),i.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){ou.then(()=>{const i=this._findContainer(e.path);i&&i.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,i){ou.then(()=>{this.form.get(e.path).setValue(i)})}setValue(e){this.control.setValue(e)}onSubmit(e){var i;return this.submitted=!0,XT(this.form,this._directives),this.ngSubmit.emit(e),"dialog"===(null==e||null===(i=e.target)||void 0===i?void 0:i.method)}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}}return n.\u0275fac=function(e){return new(e||n)(f(Ht,10),f(Co,10))},n.\u0275dir=T({type:n,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,i){1&e&&te("submit",function(o){return i.onSubmit(o)})("reset",function(){return i.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Me([sq]),O]}),n})();function JT(n,t){const e=n.indexOf(t);e>-1&&n.splice(e,1)}function eI(n){return"object"==typeof n&&null!==n&&2===Object.keys(n).length&&"value"in n&&"disabled"in n}const xs=class extends xf{constructor(t=null,e,i){super(qy(e),Yy(i,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),wf(e)&&(e.nonNullable||e.initialValueIsDefault)&&(this.defaultValue=eI(t)?t.value:t)}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(i=>i(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(t,e={}){this.setValue(t,e)}reset(t=this.defaultValue,e={}){this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){JT(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){JT(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(t){eI(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}},dq={provide:di,useExisting:Te(()=>Xy),multi:!0};let Xy=(()=>{class n extends ws{writeValue(e){this.setProperty("value",e??"")}registerOnChange(e){this.onChange=i=>{e(""==i?null:parseFloat(i))}}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=U(n)))(i||n)}}(),n.\u0275dir=T({type:n,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(e,i){1&e&&te("input",function(o){return i.onChange(o.target.value)})("blur",function(){return i.onTouched()})},features:[Me([dq]),O]}),n})(),oI=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({}),n})();const Jy=new P("NgModelWithFormControlWarning"),gq={provide:ar,useExisting:Te(()=>Ds)};let Ds=(()=>{class n extends ar{constructor(e,i,r,o){super(),this._ngModelWarningConfig=o,this.update=new he,this._ngModelWarningSent=!1,this._setValidators(e),this._setAsyncValidators(i),this.valueAccessor=function Zy(n,t){if(!t)return null;let e,i,r;return Array.isArray(t),t.forEach(o=>{o.constructor===tu?e=o:function rq(n){return Object.getPrototypeOf(n.constructor)===ws}(o)?i=o:r=o}),r||i||e||null}(0,r)}set isDisabled(e){}ngOnChanges(e){if(this._isControlChanged(e)){const i=e.form.previousValue;i&&Mf(i,this,!1),ru(this.form,this),this.form.updateValueAndValidity({emitEvent:!1})}(function Ky(n,t){if(!n.hasOwnProperty("model"))return!1;const e=n.model;return!!e.isFirstChange()||!Object.is(t,e.currentValue)})(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Mf(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}}return n._ngModelWarningSentOnce=!1,n.\u0275fac=function(e){return new(e||n)(f(Ht,10),f(Co,10),f(di,10),f(Jy,8))},n.\u0275dir=T({type:n,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[Me([gq]),O,nt]}),n})();const mq={provide:gn,useExisting:Te(()=>ll)};let ll=(()=>{class n extends gn{constructor(e,i){super(),this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new he,this._setValidators(e),this._setAsyncValidators(i)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Sf(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const i=this.form.get(e.path);return ru(i,e),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),i}getControl(e){return this.form.get(e.path)}removeControl(e){Mf(e.control||null,e,!1),function oq(n,t){const e=n.indexOf(t);e>-1&&n.splice(e,1)}(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,i){this.form.get(e.path).setValue(i)}onSubmit(e){var i;return this.submitted=!0,XT(this.form,this.directives),this.ngSubmit.emit(e),"dialog"===(null==e||null===(i=e.target)||void 0===i?void 0:i.method)}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{const i=e.control,r=this.form.get(e.path);i!==r&&(Mf(i||null,e),(n=>n instanceof xs)(r)&&(ru(r,e),e.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const i=this.form.get(e.path);KT(i,e),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const i=this.form.get(e.path);i&&function nq(n,t){return Sf(n,t)}(i,e)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Qy(this.form,this),this._oldForm&&Sf(this._oldForm,this)}_checkFormPresent(){}}return n.\u0275fac=function(e){return new(e||n)(f(Ht,10),f(Co,10))},n.\u0275dir=T({type:n,selectors:[["","formGroup",""]],hostBindings:function(e,i){1&e&&te("submit",function(o){return i.onSubmit(o)})("reset",function(){return i.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Me([mq]),O,nt]}),n})(),Ms=(()=>{class n{constructor(){this._validator=yf}ngOnChanges(e){if(this.inputName in e){const i=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(i),this._validator=this._enabled?this.createValidator(i):yf,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return null!=e}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=T({type:n,features:[nt]}),n})();const Aq={provide:Ht,useExisting:Te(()=>Es),multi:!0};let Es=(()=>{class n extends Ms{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=Ar,this.createValidator=e=>DT}enabled(e){return e}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=U(n)))(i||n)}}(),n.\u0275dir=T({type:n,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(e,i){2&e&&je("required",i._enabled?"":null)},inputs:{required:"required"},features:[Me([Aq]),O]}),n})(),bI=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({imports:[oI]}),n})(),Oq=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({imports:[bI]}),n})(),xo=(()=>{class n{static withConfig(e){return{ngModule:n,providers:[{provide:Jy,useValue:e.warnOnNgModelWithFormControl}]}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({imports:[bI]}),n})();class ov extends xf{constructor(t,e,i){super(qy(e),Yy(i,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(t){return this.controls[this._adjustIndex(t)]}push(t,e={}){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(t,e,i={}){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:i.emitEvent})}removeAt(t,e={}){let i=this._adjustIndex(t);i<0&&(i=0),this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),this.controls.splice(i,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(t,e,i={}){let r=this._adjustIndex(t);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),e&&(this.controls.splice(r,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,e={}){YT(this,0,t),t.forEach((i,r)=>{qT(this,!1,r),this.at(r).setValue(i,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(t.forEach((i,r)=>{this.at(r)&&this.at(r).patchValue(i,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t=[],e={}){this._forEachChild((i,r)=>{i.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(t=>t.getRawValue())}clear(t={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:t.emitEvent}))}_adjustIndex(t){return t<0?t+this.length:t}_syncPendingControls(){let t=this.controls.reduce((e,i)=>!!i._syncPendingControls()||e,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){this.controls.forEach((e,i)=>{t(e,i)})}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value)}_anyControls(t){return this.controls.some(e=>e.enabled&&t(e))}_setUpControls(){this._forEachChild(t=>this._registerControl(t))}_allControlsDisabled(){for(const t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}_find(t){var e;return null!==(e=this.at(t))&&void 0!==e?e:null}}let Pq=(()=>{class n{constructor(e,i){this.el=e,this.api=i,this.state="hide",this.form=new KW({}),this.model={},this.errorEmitter=new he,this.fields=[{key:"contact_name",type:"input",templateOptions:{type:"text",placeholder:"Name",required:!0}},{key:"organization",type:"input",templateOptions:{type:"text",placeholder:"Organization",required:!0}},{key:"_replyto",type:"input",templateOptions:{type:"email",placeholder:"Email address",required:!0},validators:{validation:["email"]}},{key:"message",type:"textarea",templateOptions:{placeholder:"Message",required:!0,autosize:!0,autosizeMinRows:3,autosizeMaxRows:10}}]}ngOnInit(){}checkScroll(){this.state=sr(this.el)}}return n.\u0275fac=function(e){return new(e||n)(f($),f(el))},n.\u0275cmp=pe({type:n,selectors:[["app-contact-us"]],hostBindings:function(e,i){1&e&&te("scroll",function(o){return i.checkScroll(o)},0,Jn)},decls:9,vars:1,consts:[[1,"contact-us"],[1,"container","form-container"],[1,"margin-bottom-2"]],template:function(e,i){1&e&&(D(0,"div",0)(1,"div",1)(2,"div",2)(3,"h1"),V(4,"Contact Us"),M(),D(5,"h2"),V(6,"Email: Dan@Sartography.com"),M(),D(7,"h2"),V(8,"Cell: 540-457-0024 "),M()()()()),2&e&&A("@scrollAnimation",i.state)},styles:[".contact-us[_ngcontent-%COMP%]{background-color:#d5d0d1}"],data:{animation:Pi}}),n})(),Lq=(()=>{class n{constructor(e){this.el=e,this.state="hide",this.today=Date.now()}ngOnInit(){}checkScroll(){this.state=sr(this.el)}}return n.\u0275fac=function(e){return new(e||n)(f($))},n.\u0275cmp=pe({type:n,selectors:[["app-footer"]],hostBindings:function(e,i){1&e&&te("scroll",function(o){return i.checkScroll(o)},0,Jn)},decls:20,vars:6,consts:[["fxLayout","column","fxLayout.gt-md","row wrap","fxLayoutAlign","center center",1,"footer"],["fxFlex","75%"],["inlineSVG","/assets/logo/Sartography-Logo-Horizontal-White.svg",1,"footer-logo"],["fxFlex","25%"],[1,"mat-body-1"],[1,"text-primary"],["href","mailto://support@sartography.com"],["href","tel:+15404570024"],["fxFlex","100%",1,"mat-caption","copyright"]],template:function(e,i){1&e&&(D(0,"footer",0)(1,"div",1),Q(2,"span",2),M(),D(3,"div",3)(4,"address",4)(5,"span",5),V(6,"Sartography"),M(),Q(7,"br"),V(8," PO Box 3003"),Q(9,"br"),V(10," Staunton VA 24402"),Q(11,"br"),D(12,"a",6),V(13,"support@sartography.com"),M(),Q(14,"br"),D(15,"a",7),V(16,"540.457.0024"),M()()(),D(17,"p",8),V(18),Xi(19,"date"),M()()),2&e&&(S(1),A("@scrollAnimation",i.state),S(2),A("@scrollAnimation",i.state),S(15),xn("Copyright \xa9 ",dc(19,3,i.today,"yyyy")," Sartography LLC. All Rights Reserved."))},dependencies:[ai,Oi,Ua,Wa,kD],styles:["footer[_ngcontent-%COMP%]{background-color:#231f20;color:#fff}footer[_ngcontent-%COMP%] .footer-logo svg{max-width:100%;max-height:25vh}footer[_ngcontent-%COMP%] address[_ngcontent-%COMP%]{font-style:normal}footer[_ngcontent-%COMP%] .copyright[_ngcontent-%COMP%]{margin-top:2em;text-align:center;color:#52494b}"],data:{animation:Pi}}),n})(),Nq=(()=>{class n{constructor(e){this.el=e,this.sectionChange=new he}onScroll(){let e;const i=window.innerHeight/2,r=window.pageYOffset||document.documentElement.scrollTop;for(const o of this.el.nativeElement.children)o.classList.contains("scroll-spy-section")&&o.offsetTop<=r+i&&(e=o.id);e!==this.currentSection&&(console.log("currentSection",e),this.currentSection=e,this.sectionChange.emit(this.currentSection))}}return n.\u0275fac=function(e){return new(e||n)(f($))},n.\u0275dir=T({type:n,selectors:[["","scrollSpy",""]],hostBindings:function(e,i){1&e&&te("scroll",function(){return i.onScroll()},0,Jn)},outputs:{sectionChange:"sectionChange"}}),n})();const Vq=["scrollSpySection"];function Bq(n,t){1&n&&(D(0,"mat-icon"),V(1,"menu"),M())}function Hq(n,t){1&n&&(D(0,"mat-icon"),V(1,"close"),M())}const $q=function(n){return{active:n}};function jq(n,t){if(1&n){const e=Er();D(0,"a",8),te("click",function(){const o=Hi(e).$implicit;return $i(Y().onMenuClick(o.id))}),V(1),M()}if(2&n){const e=t.$implicit,i=Y();Ko("href","#",e.id,"",cn)("id","",e.id,"_menu_link"),A("pageScrollAdjustHash",!0)("ngClass",Ai(5,$q,i.currentSection===e.id)),S(1),Ne(e.label)}}function Gq(n,t){1&n&&Qi(0)}function Uq(n,t){if(1&n&&(D(0,"div",9),j(1,Gq,1,0,"ng-container",10),M()),2&n){const e=t.$implicit;ti("id",e.id),S(1),A("ngComponentOutlet",e.component)}}const zq=function(n){return{expanded:n}},Wq=function(n,t){return{"top.px":n,opacity:t}};let qq=(()=>{class n{constructor(e){this.changeDetector=e,this.menuLinks=[{id:"header",label:"Home",component:q4},{id:"welcome",label:"Intro",component:Y4},{id:"about_us",label:"About Us",component:n8},{id:"logo_values",label:"Our Values",component:s8},{id:"team",label:"Our Team",component:hW},{id:"case_studies",label:"Projects",component:PW},{id:"contact_us",label:"Contact",component:Pq}],this.title="Sartography",this.currentSection="header",this.showIndicator=!1,this.isExpanded=!1,this.scrollTimer=-1}ngAfterViewInit(){}moveSelectedIndicator(e){this.currentSection=e;const i=document.getElementById(`${this.currentSection}_menu_link`);this.activeLinkTop=i.offsetTop}onMenuClick(e){this.showIndicator=!0,this.onSectionChange(e)}onSectionChange(e){this.currentSection=e,this.moveSelectedIndicator(this.currentSection)}scrollTo(e){document.querySelector("#"+e).scrollIntoView()}toggleMenu(){this.isExpanded=!this.isExpanded}keepMenuOpen(){this.isExpanded=!0,clearTimeout(this.scrollTimer)}}return n.\u0275fac=function(e){return new(e||n)(f(Dn))},n.\u0275cmp=pe({type:n,selectors:[["app-home"]],viewQuery:function(e,i){if(1&e&&et(Vq,5),2&e){let r;_e(r=ye())&&(i.scrollSpySections=r)}},decls:9,vars:11,consts:[["scrollSpy","",1,"main",3,"sectionChange"],["mat-fab","","color","primary",1,"toggle-menu",3,"click"],[4,"ngIf"],["id","menu","fxLayout","column","fxLayoutGap","20px","fxLayoutAlign","center end",3,"ngClass","mouseover","mouseout"],["mat-button","","pageScroll","",3,"pageScrollAdjustHash","href","ngClass","id","click",4,"ngFor","ngForOf"],["id","selected_indicator",3,"ngStyle"],["class","scroll-spy-section",3,"id",4,"ngFor","ngForOf"],["id","footer"],["mat-button","","pageScroll","",3,"pageScrollAdjustHash","href","ngClass","id","click"],[1,"scroll-spy-section",3,"id"],[4,"ngComponentOutlet"]],template:function(e,i){1&e&&(D(0,"div",0),te("sectionChange",function(o){return i.onSectionChange(o)}),D(1,"button",1),te("click",function(){return i.toggleMenu()}),j(2,Bq,2,0,"mat-icon",2),j(3,Hq,2,0,"mat-icon",2),M(),D(4,"div",3),te("mouseover",function(){return i.keepMenuOpen()})("mouseout",function(){return i.isExpanded=!1}),j(5,jq,2,7,"a",4),Q(6,"div",5),M(),j(7,Uq,2,2,"div",6),Q(8,"app-footer",7),M()),2&e&&(S(2),A("ngIf",!i.isExpanded),S(1),A("ngIf",i.isExpanded),S(1),A("ngClass",Ai(6,zq,i.isExpanded)),S(1),A("ngForOf",i.menuLinks),S(1),A("ngStyle",function nx(n,t,e,i,r){return ox(R(),an(),n,t,e,i,r)}(8,Wq,i.activeLinkTop,i.showIndicator?1:0)),S(1),A("ngForOf",i.menuLinks))},dependencies:[ns,DD,oi,si,nh,ai,ss,Oi,Jm,LM,Oy,Qc,yT,py,Lq,Nq],styles:[".toggle-menu[_ngcontent-%COMP%]{position:fixed;top:20px;right:20px;z-index:101;background-color:#247a6b;width:56px;height:56px}#menu[_ngcontent-%COMP%]{position:fixed;top:0;right:-300px;z-index:100;height:100vh;width:300px;background-color:#fffc;padding:80px;transition:all 1s ease-in-out}#menu.expanded[_ngcontent-%COMP%]{right:0}#menu[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{transition:all 1s ease-in-out .5s}#menu[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{font-weight:500;border-right:2px solid #247a6b;border-top-right-radius:0;border-bottom-right-radius:0}#selected_indicator[_ngcontent-%COMP%]{position:absolute;top:0;right:80px;width:2px;height:36px;background-color:#247a6b;transition:all 1s ease-in-out;opacity:0}"],changeDetection:0}),n})();function au(n){return!!n&&(n instanceof Re||be(n.lift)&&be(n.subscribe))}const Yq=["container"];function Qq(n,t){}function Kq(n,t){1&n&&Q(0,"formly-field",1),2&n&&A("field",t.$implicit)}const Zq=["*"],CI=["fieldComponent"];function Jq(n,t,e){if(t.id)return t.id;let i=t.type;return!i&&t.template&&(i="template"),i instanceof $o&&(i=i.prototype.constructor.name),[n,i,t.key,e].join("_")}function Pt(n){return!Do(n.key)&&""!==n.key}function Ss(n){var t;if(!Pt(n))return[];if((null===(t=n._keyPath)||void 0===t?void 0:t.key)!==n.key){let e=[];if("string"==typeof n.key){const i=-1===n.key.indexOf("[")?n.key:n.key.replace(/\[(\w+)\]/g,".$1");e=-1!==i.indexOf(".")?i.split("."):[i]}else e=Array.isArray(n.key)?n.key.slice(0):[`${n.key}`];kt(n,"_keyPath",{key:n.key,path:e})}return n._keyPath.path.slice(0)}const sv=["required","pattern","minLength","maxLength","min","max"];function Af(n,t){let e=Ss(n);if(0===e.length)return;let i=n;for(;i.parent;)i=i.parent,e=[...Ss(i),...e];if(void 0===t&&n.resetOnHide){const r=e.pop();delete e.reduce((s,a)=>s[a]||{},i.model)[r]}else!function e6(n,t,e){for(let i=0;i{for(const i in e)Do(n[i])||t6(n[i])?n[i]=Mo(e[i]):n6(n[i],e[i])&&ul(n[i],e[i])}),n}function Do(n){return null==n}function Tf(n){return void 0===n}function t6(n){return""===n}function av(n){return"function"==typeof n}function n6(n,t){return lr(n)&&lr(t)&&Object.getPrototypeOf(n)===Object.getPrototypeOf(t)&&!(Array.isArray(n)||Array.isArray(t))}function lr(n){return null!=n&&"object"==typeof n}function Mo(n){if(!lr(n)||au(n)||n instanceof Ti||n.changingThisBreaksApplicationSecurity||-1!==["RegExp","FileList","File","Blob"].indexOf(n.constructor.name))return n;if(n instanceof Set)return new Set(n);if(n instanceof Map)return new Map(n);if(n._isAMomentObject&&av(n.clone))return n.clone();if(n instanceof xf)return null;if(n instanceof Date)return new Date(n.getTime());if(Array.isArray(n))return n.slice(0).map(i=>Mo(i));const t=Object.getPrototypeOf(n);let e=Object.create(t);return e=Object.setPrototypeOf(e,t),Object.keys(n).reduce((i,r)=>{const o=Object.getOwnPropertyDescriptor(n,r);return o.get?Object.defineProperty(i,r,o):i[r]=Mo(n[r]),i},e)}function kt(n,t,e){Object.defineProperty(n,t,{enumerable:!1,writable:!0,configurable:!0}),n[t]=e}function lv(n,t,e){let i=[];const r=()=>{i.forEach(s=>s()),i=[]},o=$t(n,t,({firstChange:s,currentValue:a})=>{!s&&e(),r(),lr(a)&&"Object"===a.constructor.name&&Object.keys(a).forEach(l=>{i.push(lv(n,[...t,l],e))})});return()=>{o.unsubscribe(),r()}}function $t(n,t,e){n._observers||kt(n,"_observers",{});let i=n;for(let a=0;a=1)){const{enumerable:a}=Object.getOwnPropertyDescriptor(i,r)||{enumerable:!0};Object.defineProperty(i,r,{enumerable:a,configurable:!0,get:()=>s.value,set:l=>{if(l!==s.value){const c=s.value;s.value=l,s.onChange.forEach(u=>u({previousValue:c,currentValue:l,firstChange:!1}))}}})}return{setValue(a){s.value=a},unsubscribe(){s.onChange=s.onChange.filter(a=>a!==e),0===s.onChange.length&&delete n._observers[o]}}}function wI(n,t){if(t=Array.isArray(t)?t.join("."):t,n.fieldGroup)for(let e=0,i=n.fieldGroup.length;e{e instanceof Ql?e.injector.get(Dn).markForCheck():e.markForCheck()})}const lu=new P("FORMLY_CONFIG");let As=(()=>{class n{constructor(){this.types={},this.validators={},this.wrappers={},this.messages={},this.extras={checkExpressionOn:"modelChange",lazyRender:!0,resetFieldOnHide:!0,renderFormlyFieldElement:!0,showError(e){var i,r,o,s;return(null===(i=e.formControl)||void 0===i?void 0:i.invalid)&&((null===(r=e.formControl)||void 0===r?void 0:r.touched)||(null===(o=e.options.parentForm)||void 0===o?void 0:o.submitted)||!(null===(s=e.field.validation)||void 0===s||!s.show))}},this.extensions={},this.presets={},this.extensionsByPriority={}}addConfig(e){e.types&&e.types.forEach(i=>this.setType(i)),e.validators&&e.validators.forEach(i=>this.setValidator(i)),e.wrappers&&e.wrappers.forEach(i=>this.setWrapper(i)),e.validationMessages&&e.validationMessages.forEach(i=>this.addValidatorMessage(i.name,i.message)),e.extensions&&this.setSortedExtensions(e.extensions),e.extras&&(this.extras={...this.extras,...e.extras}),e.presets&&(this.presets={...this.presets,...e.presets.reduce((i,r)=>({...i,[r.name]:r.config}),{})})}setType(e){Array.isArray(e)?e.forEach(i=>this.setType(i)):(this.types[e.name]||(this.types[e.name]={name:e.name}),["component","extends","defaultOptions","wrappers"].forEach(i=>{e.hasOwnProperty(i)&&(this.types[e.name][i]=e[i])}))}getType(e,i=!1){if(e instanceof $o)return{component:e,name:e.prototype.constructor.name};if(!this.types[e]){if(i)throw new Error(`[Formly Error] The type "${e}" could not be found. Please make sure that is registered through the FormlyModule declaration.`);return null}return this.mergeExtendedType(e),this.types[e]}getMergedField(e={}){var i;const r=this.getType(e.type);if(!r)return;r.defaultOptions&&ul(e,r.defaultOptions);const o=r.extends&&this.getType(r.extends).defaultOptions;o&&ul(e,o),null!=e&&e.optionsTypes&&e.optionsTypes.forEach(a=>{const l=this.getType(a).defaultOptions;l&&ul(e,l)});const s=this.resolveFieldTypeRef(e);null!=s&&null!==(i=s.instance)&&void 0!==i&&i.defaultOptions&&ul(e,s.instance.defaultOptions),!e.wrappers&&r.wrappers&&(e.wrappers=[...r.wrappers])}resolveFieldTypeRef(e={}){const i=this.getType(e.type);if(!i)return null;if(!i.component||i._componentRef)return i._componentRef;const{_viewContainerRef:r,_injector:o}=e.options;if(!r||!o)return null;const s=r.createComponent(i.component,{injector:o});return kt(i,"_componentRef",s),s.destroy(),i._componentRef}setWrapper(e){this.wrappers[e.name]=e,e.types&&e.types.forEach(i=>{this.setTypeWrapper(i,e.name)})}getWrapper(e){if(e instanceof $o)return{component:e,name:e.prototype.constructor.name};if(!this.wrappers[e])throw new Error(`[Formly Error] The wrapper "${e}" could not be found. Please make sure that is registered through the FormlyModule declaration.`);return this.wrappers[e]}setTypeWrapper(e,i){this.types[e]||(this.types[e]={}),this.types[e].wrappers||(this.types[e].wrappers=[]),-1===this.types[e].wrappers.indexOf(i)&&this.types[e].wrappers.push(i)}setValidator(e){this.validators[e.name]=e}getValidator(e){if(!this.validators[e])throw new Error(`[Formly Error] The validator "${e}" could not be found. Please make sure that is registered through the FormlyModule declaration.`);return this.validators[e]}addValidatorMessage(e,i){this.messages[e]=i}getValidatorMessage(e){return this.messages[e]}setSortedExtensions(e){e.forEach(i=>{var r;const o=null!==(r=i.priority)&&void 0!==r?r:1;this.extensionsByPriority[o]={...this.extensionsByPriority[o],[i.name]:i.extension}}),this.extensions=Object.keys(this.extensionsByPriority).map(Number).sort((i,r)=>i-r).reduce((i,r)=>({...i,...this.extensionsByPriority[r]}),{})}mergeExtendedType(e){if(!this.types[e].extends)return;const i=this.getType(this.types[e].extends);this.types[e].component||(this.types[e].component=i.component),this.types[e].wrappers||(this.types[e].wrappers=i.wrappers)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),DI=(()=>{class n{constructor(e,i,r,o){this.config=e,this.injector=i,this.viewContainerRef=r,this.parentForm=o}buildForm(e,i=[],r,o){this.build({fieldGroup:i,model:r,form:e,options:o})}build(e){if(!this.config.extensions.core)throw new Error("NgxFormly: missing `forRoot()` call. use `forRoot()` when registering the `FormlyModule`.");e.parent?this._build(e):(this._setOptions(e),function Xq(n,t){const e=n._updateTreeValidity.bind(n);n._updateTreeValidity=()=>{},t(),n._updateTreeValidity=e}(e.form,()=>{var i,r;this._build(e);const o=e.options;null===(i=o.checkExpressions)||void 0===i||i.call(o,e,!0),null===(r=o.detectChanges)||void 0===r||r.call(o,e)}))}_build(e){var i;if(!e)return;const r=Object.values(this.config.extensions);r.forEach(o=>{var s;return null===(s=o.prePopulate)||void 0===s?void 0:s.call(o,e)}),r.forEach(o=>{var s;return null===(s=o.onPopulate)||void 0===s?void 0:s.call(o,e)}),null===(i=e.fieldGroup)||void 0===i||i.forEach(o=>this._build(o)),r.forEach(o=>{var s;return null===(s=o.postPopulate)||void 0===s?void 0:s.call(o,e)})}_setOptions(e){e.form=e.form||new wo({}),e.model=e.model||{},e.options=e.options||{};const i=e.options;i._viewContainerRef||kt(i,"_viewContainerRef",this.viewContainerRef),i._injector||kt(i,"_injector",this.injector),i.build||(i._buildForm=()=>{console.warn("Formly: 'options._buildForm' is deprecated since v6.0, use 'options.build' instead."),this.build(e)},i.build=(r=e)=>(this.build(r),r)),!i.parentForm&&this.parentForm&&(kt(i,"parentForm",this.parentForm),$t(i,["parentForm","submitted"],({firstChange:r})=>{r||(i.checkExpressions(e),i.detectChanges(e))}))}}return n.\u0275fac=function(e){return new(e||n)(b(As),b(Nt),b(At,8),b(ll,8))},n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function MI(n,t,e=!1){if((t=t||n.formControl)._fields||kt(t,"_fields",[]),-1===t._fields.indexOf(n)&&t._fields.push(n),!n.formControl&&t){kt(n,"formControl",t),t.setValidators(null),t.setAsyncValidators(null),n.props.disabled=!!n.props.disabled;const a=$t(n,["props","disabled"],({firstChange:l,currentValue:c})=>{l||(c?n.formControl.disable():n.formControl.enable())});t instanceof xs&&t.registerOnDisabledChange(a.setValue)}if(!n.form||!Pt(n))return;let i=n.form;const r=Ss(n),o=cl(n);(!Do(t.value)||!Do(o))&&t.value!==o&&t instanceof xs&&t.patchValue(o);for(let a=0;a{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=k({token:n,factory:n.\u0275fac}),n})(),l6=(()=>{class n{constructor(e,i,r,o,s){this.config=e,this.renderer=i,this._elementRef=r,this.hostContainerRef=o,this.form=s,this.hostObservers=[],this.componentRefs=[],this.hooksObservers=[],this.detectFieldBuild=!1,this.valueChangesUnsubscribe=()=>{}}get containerRef(){return this.config.extras.renderFormlyFieldElement?this.viewContainerRef:this.hostContainerRef}get elementRef(){var e;return this.config.extras.renderFormlyFieldElement?this._elementRef:(null===(e=this.componentRefs)||void 0===e?void 0:e[0])instanceof Ql?this.componentRefs[0].location:null}ngAfterContentInit(){this.triggerHook("afterContentInit")}ngAfterViewInit(){this.triggerHook("afterViewInit")}ngDoCheck(){this.detectFieldBuild&&this.field&&this.field.options&&this.render()}ngOnInit(){this.triggerHook("onInit")}ngOnChanges(e){this.triggerHook("onChanges",e)}ngOnDestroy(){this.resetRefs(this.field),this.hostObservers.forEach(e=>e.unsubscribe()),this.hooksObservers.forEach(e=>e()),this.valueChangesUnsubscribe(),this.triggerHook("onDestroy")}renderField(e,i,r=[]){var o,s;if(this.containerRef===e&&(this.resetRefs(this.field),this.containerRef.clear(),r=null===(s=this.field)||void 0===s?void 0:s.wrappers),(null===(o=r)||void 0===o?void 0:o.length)>0){const[c,...u]=r,{component:d}=this.config.getWrapper(c),h=e.createComponent(d);this.attachComponentRef(h,i),$t(h.instance,["fieldComponent"],({currentValue:g,previousValue:_,firstChange:y})=>{if(g){if(_&&_._lContainer===g._lContainer)return;const x=_?_.detach():null;x&&!x.destroyed?g.insert(x):this.renderField(g,i,u),!y&&h.changeDetectorRef.detectChanges()}})}else if(null!=i&&i.type){var a,l;const c=null===(a=this.form)||void 0===a||null===(l=a.templates)||void 0===l?void 0:l.find(d=>d.name===i.type);let u;if(c)u=e.createEmbeddedView(c.ref,{$implicit:i});else{const{component:d}=this.config.getType(i.type,!0);u=e.createComponent(d)}this.attachComponentRef(u,i)}}triggerHook(e,i){var r,o;if(("onInit"===e||"onChanges"===e&&i.field&&!i.field.firstChange)&&(this.valueChangesUnsubscribe=this.fieldChanges(this.field)),null!==(r=this.field)&&void 0!==r&&null!==(o=r.hooks)&&void 0!==o&&o[e]&&(!i||i.field)){const s=this.field.hooks[e](this.field);if(au(s)&&-1!==["onInit","afterContentInit","afterViewInit"].indexOf(e)){const a=s.subscribe();this.hooksObservers.push(()=>a.unsubscribe())}}"onChanges"===e&&i.field&&(this.resetRefs(i.field.previousValue),this.render())}attachComponentRef(e,i){this.componentRefs.push(e),i._componentRefs.push(e),e instanceof Ql&&Object.assign(e.instance,{field:i})}render(){if(this.field){if(!this.field.options)return void(this.detectFieldBuild=!0);this.detectFieldBuild=!1,this.hostObservers.forEach(e=>e.unsubscribe()),this.hostObservers=[$t(this.field,["hide"],({firstChange:e,currentValue:i})=>{const r=this.containerRef;!1===this.config.extras.lazyRender?(e&&this.renderField(r,this.field),(!e||e&&i)&&this.elementRef&&this.renderer.setStyle(this.elementRef.nativeElement,"display",i?"none":"")):i?(r.clear(),this.field.className&&this.renderer.removeAttribute(this.elementRef.nativeElement,"class")):(this.renderField(r,this.field),this.field.className&&this.renderer.setAttribute(this.elementRef.nativeElement,"class",this.field.className)),!e&&this.field.options.detectChanges(this.field)}),$t(this.field,["className"],({firstChange:e,currentValue:i})=>{(!e||e&&i)&&(!this.config.extras.lazyRender||!0!==this.field.hide)&&this.elementRef&&this.renderer.setAttribute(this.elementRef.nativeElement,"class",i)}),...["touched","pristine","status"].map(e=>$t(this.field,["formControl",e],({firstChange:i})=>!i&&xI(this.field)))]}}resetRefs(e){e&&(e._componentRefs?e._componentRefs=e._componentRefs.filter(i=>-1===this.componentRefs.indexOf(i)):kt(this.field,"_componentRefs",[])),this.componentRefs=[]}fieldChanges(e){if(this.valueChangesUnsubscribe(),!e)return()=>{};const i=[lv(e,["props"],()=>e.options.detectChanges(e)),lv(e.options,["formState"],()=>e.options.detectChanges(e))];for(const r of[["template"],["fieldGroupClassName"],["validation","show"]]){const o=$t(e,r,({firstChange:s})=>!s&&e.options.detectChanges(e));i.push(()=>o.unsubscribe())}if(e.formControl&&!e.fieldGroup){const r=e.formControl;let o=r.valueChanges.pipe(My((c,u)=>!(c!==u||Array.isArray(c)||lr(c))));r.value!==cl(e)&&(o=o.pipe(Nr(r.value)));const{updateOn:s,debounce:a}=e.modelOptions;(!s||"change"===s)&&a?.default>0&&(o=r.valueChanges.pipe(rf(a.default)));const l=o.subscribe(c=>{var u,d;(null===(u=r._fields)||void 0===u?void 0:u.length)>1&&r instanceof xs&&r.patchValue(c,{emitEvent:!1,onlySelf:!0}),null===(d=e.parsers)||void 0===d||d.forEach(h=>c=h(c)),c===e.formControl.value?(Pt(e)&&Af(e,c),e.options.fieldChanges.next({value:c,field:e,type:"valueChanges"})):e.formControl.setValue(c)});i.push(()=>l.unsubscribe())}return()=>i.forEach(r=>r())}}return n.\u0275fac=function(e){return new(e||n)(f(As),f(Wt),f($),f(At),f(a6,8))},n.\u0275cmp=pe({type:n,selectors:[["formly-field"]],viewQuery:function(e,i){if(1&e&&et(Yq,7,At),2&e){let r;_e(r=ye())&&(i.viewContainerRef=r.first)}},inputs:{field:"field"},features:[nt],decls:2,vars:0,consts:[["container",""]],template:function(e,i){1&e&&j(0,Qq,0,0,"ng-template",null,0,Oa)},encapsulation:2}),n})(),dl=(()=>{class n{constructor(e,i,r){this.renderer=e,this.elementRef=i,this.uiAttributesCache={},this.uiEvents={listeners:[],events:["click","keyup","keydown","keypress","focus","blur","change"],callback:(o,s)=>{switch(o){case"focus":return this.onFocus(s);case"blur":return this.onBlur(s);case"change":return this.onChange(s);default:return this.props[o](this.field,s)}}},this.document=r}get props(){return this.field.props||{}}get fieldAttrElements(){var e;return(null===(e=this.field)||void 0===e?void 0:e._elementRefs)||[]}ngOnChanges(e){var i;e.field&&(this.field.name&&this.setAttribute("name",this.field.name),this.uiEvents.listeners.forEach(r=>r()),this.uiEvents.events.forEach(r=>{var o;(null!==(o=this.props)&&void 0!==o&&o[r]||-1!==["focus","blur","change"].indexOf(r))&&this.uiEvents.listeners.push(this.renderer.listen(this.elementRef.nativeElement,r,s=>this.uiEvents.callback(r,s)))}),null!==(i=this.props)&&void 0!==i&&i.attributes&&$t(this.field,["props","attributes"],({currentValue:r,previousValue:o})=>{o&&Object.keys(o).forEach(s=>this.removeAttribute(s)),r&&Object.keys(r).forEach(s=>{null!=r[s]&&this.setAttribute(s,r[s])})}),this.detachElementRef(e.field.previousValue),this.attachElementRef(e.field.currentValue),1===this.fieldAttrElements.length&&(!this.id&&this.field.id&&this.setAttribute("id",this.field.id),this.focusObserver=$t(this.field,["focus"],({currentValue:r})=>{this.toggleFocus(r)}))),e.id&&this.setAttribute("id",this.id)}ngDoCheck(){if(!this.uiAttributes){const e=this.elementRef.nativeElement;this.uiAttributes=[...sv,"tabindex","placeholder","readonly","disabled","step"].filter(i=>!e.hasAttribute||!e.hasAttribute(i))}this.uiAttributes.forEach(e=>{const i=this.props[e];this.uiAttributesCache[e]!==i&&(!this.props.attributes||!this.props.attributes.hasOwnProperty(e.toLowerCase()))&&(this.uiAttributesCache[e]=i,i||0===i?this.setAttribute(e,!0===i?e:`${i}`):this.removeAttribute(e))})}ngOnDestroy(){var e;this.uiEvents.listeners.forEach(i=>i()),this.detachElementRef(this.field),null===(e=this.focusObserver)||void 0===e||e.unsubscribe()}toggleFocus(e){const i=this.fieldAttrElements?this.fieldAttrElements[0]:null;if(!i||!i.nativeElement.focus)return;const r=!!this.document.activeElement&&this.fieldAttrElements.some(({nativeElement:o})=>this.document.activeElement===o||o.contains(this.document.activeElement));e&&!r?Promise.resolve().then(()=>i.nativeElement.focus()):!e&&r&&Promise.resolve().then(()=>i.nativeElement.blur())}onFocus(e){var i,r,o;null===(i=this.focusObserver)||void 0===i||i.setValue(!0),null===(r=(o=this.props).focus)||void 0===r||r.call(o,this.field,e)}onBlur(e){var i,r,o;null===(i=this.focusObserver)||void 0===i||i.setValue(!1),null===(r=(o=this.props).blur)||void 0===r||r.call(o,this.field,e)}onHostChange(e){e instanceof Event||this.onChange(e)}onChange(e){var i,r,o;null===(i=(r=this.props).change)||void 0===i||i.call(r,this.field,e),null===(o=this.field.formControl)||void 0===o||o.markAsDirty()}attachElementRef(e){var i;!e||(-1===(null===(i=e._elementRefs)||void 0===i?void 0:i.indexOf(this.elementRef))?e._elementRefs.push(this.elementRef):kt(e,"_elementRefs",[this.elementRef]))}detachElementRef(e){const i=null!=e&&e._elementRefs?this.fieldAttrElements.indexOf(this.elementRef):-1;-1!==i&&e._elementRefs.splice(i,1)}setAttribute(e,i){this.renderer.setAttribute(this.elementRef.nativeElement,e,i)}removeAttribute(e){this.renderer.removeAttribute(this.elementRef.nativeElement,e)}}return n.\u0275fac=function(e){return new(e||n)(f(Wt),f($),f(ae))},n.\u0275dir=T({type:n,selectors:[["","formlyAttributes",""]],hostBindings:function(e,i){1&e&&te("change",function(o){return i.onHostChange(o)})},inputs:{field:["formlyAttributes","field"],id:"id"},features:[nt]}),n})(),If=(()=>{class n{get model(){return this.field.model}get form(){return this.field.form}get options(){return this.field.options}get key(){return this.field.key}get formControl(){return this.field.formControl}get props(){return this.field.props||{}}get to(){return this.props}get showError(){return this.options.showError(this)}get id(){return this.field.id}get formState(){return this.options.formState||{}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=T({type:n,inputs:{field:"field"}}),n})(),c6=(()=>{class n extends If{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=U(n)))(i||n)}}(),n.\u0275cmp=pe({type:n,selectors:[["formly-group"]],hostVars:2,hostBindings:function(e,i){2&e&&function Ww(n){Si(Ln,Zi,n,!0)}(i.field.fieldGroupClassName||"")},features:[O],ngContentSelectors:Zq,decls:2,vars:1,consts:[[3,"field",4,"ngFor","ngForOf"],[3,"field"]],template:function(e,i){1&e&&(Mi(),j(0,Kq,1,1,"formly-field",0),_t(1)),2&e&&A("ngForOf",i.field.fieldGroup)},dependencies:[l6,oi],encapsulation:2,changeDetection:0}),n})(),u6=(()=>{class n{constructor(e){this.config=e}ngOnChanges(){const e=sv.map(i=>`templateOptions.${i}`);this.errorMessage$=wt(this.field.formControl.statusChanges,this.field.options?this.field.options.fieldChanges.pipe(It(({field:i,type:r,property:o})=>i===this.field&&"expressionChanges"===r&&(-1!==o.indexOf("validation")||-1!==e.indexOf(o)))):q(null)).pipe(Nr(null),zn(()=>au(this.errorMessage)?this.errorMessage:q(this.errorMessage)))}get errorMessage(){const e=this.field.formControl;for(const c in e.errors)if(e.errors.hasOwnProperty(c)){var i,r,o,s,a,l;let u=this.config.getValidatorMessage(c);if(lr(e.errors[c])){if(e.errors[c].errorPath)return;e.errors[c].message&&(u=e.errors[c].message)}return null!==(i=this.field.validation)&&void 0!==i&&null!==(r=i.messages)&&void 0!==r&&r[c]&&(u=this.field.validation.messages[c]),null!==(o=this.field.validators)&&void 0!==o&&null!==(s=o[c])&&void 0!==s&&s.message&&(u=this.field.validators[c].message),null!==(a=this.field.asyncValidators)&&void 0!==a&&null!==(l=a[c])&&void 0!==l&&l.message&&(u=this.field.asyncValidators[c].message),"function"==typeof u?u(e.errors[c],this.field):u}}}return n.\u0275fac=function(e){return new(e||n)(f(As))},n.\u0275cmp=pe({type:n,selectors:[["formly-validation-message"]],inputs:{field:"field"},features:[nt],decls:2,vars:3,template:function(e,i){1&e&&(V(0),Xi(1,"async")),2&e&&Ne(Ra(1,1,i.errorMessage$))},dependencies:[Ba],encapsulation:2,changeDetection:0}),n})(),d6=(()=>{class n extends If{set _staticContent(e){this.fieldComponent=e}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=U(n)))(i||n)}}(),n.\u0275dir=T({type:n,viewQuery:function(e,i){if(1&e&&(et(CI,5,At),et(CI,7,At)),2&e){let r;_e(r=ye())&&(i.fieldComponent=r.first),_e(r=ye())&&(i._staticContent=r.first)}},features:[O]}),n})(),h6=(()=>{class n extends If{constructor(e){super(),this.sanitizer=e,this.innerHtml={}}get template(){return this.field&&this.field.template!==this.innerHtml.template&&(this.innerHtml={template:this.field.template,content:this.props.safeHtml?this.sanitizer.bypassSecurityTrustHtml(this.field.template):this.field.template}),this.innerHtml.content}}return n.\u0275fac=function(e){return new(e||n)(f(xc))},n.\u0275cmp=pe({type:n,selectors:[["formly-template"]],features:[O],decls:1,vars:1,consts:[[3,"innerHtml"]],template:function(e,i){1&e&&Q(0,"div",0),2&e&&A("innerHtml",i.template,Lb)},encapsulation:2,changeDetection:0}),n})();class g6{onPopulate(t){if(t._expressions)return;kt(t,"_expressions",{}),$t(t,["hide"],({currentValue:i,firstChange:r})=>{kt(t,"_hide",!!i),(!r||r&&!0===i)&&(t.props.hidden=i,t.options._hiddenFieldsForCheck.push(t))}),t.hideExpression&&$t(t,["hideExpression"],({currentValue:i})=>{t._expressions.hide=this.parseExpressions(t,"hide","boolean"==typeof i?()=>i:i)});const e=(i,r)=>{if("string"==typeof r||av(r))t._expressions[i]=this.parseExpressions(t,i,r);else if(r instanceof Re){const o=()=>r.subscribe(c=>{this.evalExpr(t,i,c)});let s=null;const a=t.hooks.onInit;t.hooks.onInit=()=>(null===s&&(s=o()),a?.(t));const l=t.hooks.onDestroy;t.hooks.onDestroy=()=>{l?.(t),s.unsubscribe(),s=null}}};t.expressions=t.expressions||{};for(const i of Object.keys(t.expressions))$t(t,["expressions",i],({currentValue:r})=>{e(i,av(r)?(...o)=>r(t,o[3]):r)});t.expressionProperties=t.expressionProperties||{};for(const i of Object.keys(t.expressionProperties))$t(t,["expressionProperties",i],({currentValue:r})=>e(i,r))}postPopulate(t){if(!t.parent&&!t.options.checkExpressions){let e=!1;t.options.checkExpressions=(i,r)=>{if(e)return;e=!0;const o=this.checkExpressions(i,r),s=t.options;s._hiddenFieldsForCheck.sort(a=>a.hide?-1:1).forEach(a=>this.changeHideState(a,a.hide,!r)),s._hiddenFieldsForCheck=[],o&&(this.checkExpressions(t),t.options&&t.options.detectChanges&&t.options.detectChanges(t)),e=!1},t.options._checkField=(i,r)=>{console.warn("Formly: 'options._checkField' is deprecated since v6.0, use 'options.checkExpressions' instead."),t.options.checkExpressions(i,r)}}}parseExpressions(t,e,i){let r,o;if(t.parent&&["hide","props.disabled"].includes(e)){const s=a=>"hide"===e?a.hide:a.props.disabled;r=()=>{let a=t.parent;for(;a.parent&&!s(a);)a=a.parent;return s(a)}}return"string"==typeof(i=i||(()=>!1))&&(i=function f6(n,t){try{return Function(...t,`return ${n};`)}catch(e){console.error(e)}}(i,["model","formState","field"])),{callback:s=>{try{const a=function p6(n,t,e){return"function"==typeof n?n.apply(t,e):!!n}(r?(...l)=>r(t)||i(...l):i,{field:t},[t.model,t.options.formState,t,s]);return!(!s&&(o===a||lr(a)&&!au(a)&&JSON.stringify(a)===JSON.stringify(o))||(o=a,this.evalExpr(t,e,a),0))}catch(a){throw a.message=`[Formly Error] [Expression "${e}"] ${a.message}`,a}}}}checkExpressions(t,e=!1){var i;if(!t)return!1;let r=!1;if(t._expressions)for(const o of Object.keys(t._expressions))t._expressions[o].callback(e)&&(r=!0);return null===(i=t.fieldGroup)||void 0===i||i.forEach(o=>this.checkExpressions(o,e)&&(r=!0)),r}changeDisabledState(t,e){t.fieldGroup&&t.fieldGroup.filter(i=>!i._expressions.hasOwnProperty("props.disabled")).forEach(i=>this.changeDisabledState(i,e)),Pt(t)&&t.props.disabled!==e&&(t.props.disabled=e)}changeHideState(t,e,i){if(t.fieldGroup&&t.fieldGroup.filter(a=>!a._expressions.hide).forEach(a=>this.changeHideState(a,e,i)),t.formControl&&Pt(t)){var r;kt(t,"_hide",!(!e&&!t.hide));const a=t.formControl;if((null===(r=a._fields)||void 0===r?void 0:r.length)>1&&cu(a),!0!==e||a._fields&&!a._fields.every(l=>!!l._hide)){if(!1===e){var o,s;t.resetOnHide&&!Tf(t.defaultValue)&&Tf(cl(t))&&Af(t,t.defaultValue),MI(t,void 0,!0),t.resetOnHide&&t.fieldArray&&(null===(o=t.fieldGroup)||void 0===o?void 0:o.length)!==(null===(s=t.model)||void 0===s?void 0:s.length)&&t.options.build(t)}}else(function r6(n,t=!1){const e=n.formControl,i=e._fields?e._fields.indexOf(n):-1;-1!==i&&e._fields.splice(i,1);const r=e.parent;if(!r)return;const o={emitEvent:t};if(r instanceof ov){const s=r.controls.findIndex(a=>a===e);-1!==s&&r.removeAt(s,o)}else if(r instanceof wo){const s=Ss(n),a=s[s.length-1];r.get([a])===e&&r.removeControl(a,o)}e.setParent(null)})(t,!0),i&&t.resetOnHide&&(Af(t,void 0),t.formControl.reset({value:void 0,disabled:t.formControl.disabled}),t.options.fieldChanges.next({value:void 0,field:t,type:"valueChanges"}),t.fieldGroup&&t.formControl instanceof ov&&(t.fieldGroup.length=0))}t.options.fieldChanges&&t.options.fieldChanges.next({field:t,type:"hidden",value:e})}evalExpr(t,e,i){try{let r=t;const o=this._evalExpressionPath(t,e),s=o.length-1;for(let a=0;ar).forEach(r=>{const o=r.match(/['|"](.*?)['|"]/);o?i.push(o[1]):i.push(...r.split(".").filter(s=>s))}),t._expressions[e]&&(t._expressions[e].paths=i),i}}class m6{constructor(t){this.config=t}onPopulate(t){this.initFieldValidation(t,"validators"),this.initFieldValidation(t,"asyncValidators")}initFieldValidation(t,e){const i=[];if("validators"===e&&!(t.hasOwnProperty("fieldGroup")&&!Pt(t))&&i.push(this.getPredefinedFieldValidation(t)),t[e])for(const r of Object.keys(t[e]))"validation"===r?i.push(...t[e].validation.map(o=>this.wrapNgValidatorFn(t,o))):i.push(this.wrapNgValidatorFn(t,t[e][r],r));kt(t,"_"+e,i)}getPredefinedFieldValidation(t){let e=[];return sv.forEach(i=>$t(t,["props",i],({currentValue:r,firstChange:o})=>{e=e.filter(s=>s!==i),null!=r&&!1!==r&&e.push(i),!o&&t.formControl&&cu(t.formControl)})),i=>0===e.length?null:Li.compose(e.map(r=>()=>{var o,s,a,l;const c=t.props[r];switch(r){case"required":return Li.required(i);case"pattern":return Li.pattern(c)(i);case"minLength":const u=Li.minLength(c)(i),d=this.config.getValidatorMessage("minlength")||null!==(o=t.validation)&&void 0!==o&&null!==(s=o.messages)&&void 0!==s&&s.minlength?"minlength":"minLength";return u?{[d]:u.minlength}:null;case"maxLength":const h=Li.maxLength(c)(i),g=this.config.getValidatorMessage("maxlength")||null!==(a=t.validation)&&void 0!==a&&null!==(l=a.messages)&&void 0!==l&&l.maxlength?"maxlength":"maxLength";return h?{[g]:h.maxlength}:null;case"min":return Li.min(c)(i);case"max":return Li.max(c)(i);default:return null}}))(i)}wrapNgValidatorFn(t,e,i){let r;if("string"==typeof e&&(r=Mo(this.config.getValidator(e))),"object"==typeof e&&e.name&&(r=Mo(this.config.getValidator(e.name)),e.options&&(r.options=e.options)),"object"==typeof e&&e.expression){const{expression:o,...s}=e;r={name:i,validation:o,options:Object.keys(s).length>0?s:null}}return"function"==typeof e&&(r={name:i,validation:e}),o=>{const s=r.validation(o,t,r.options);return function i6(n){return!!n&&"function"==typeof n.then}(s)?s.then(a=>this.handleAsyncResult(t,i?!!a:a,r)):au(s)?s.pipe(z(a=>this.handleAsyncResult(t,i?!!a:a,r))):this.handleResult(t,i?!!s:s,r)}}handleAsyncResult(t,e,i){return t.options.detectChanges(t),this.handleResult(t,e,i)}handleResult(t,e,{name:i,options:r}){var o,s;"boolean"==typeof e&&(e=e?null:{[i]:r||!0});const a=t.formControl;return null==a||null===(o=a._childrenErrors)||void 0===o||null===(s=o[i])||void 0===s||s.call(o),lr(e)&&Object.keys(e).forEach(l=>{const c=e[l].errorPath?e[l].errorPath:r?.errorPath,u=c?t.formControl.get(c):null;if(u){const{errorPath:d,...h}=e[l];u.setErrors({...u.errors||{},[l]:h}),!a._childrenErrors&&kt(a,"_childrenErrors",{}),a._childrenErrors[l]=()=>{const{[l]:g,..._}=u.errors||{};u.setErrors(0===Object.keys(_).length?null:_)}}}),e}}class _6{prePopulate(t){this.root||(this.root=t),t.parent&&Object.defineProperty(t,"form",{get:()=>t.parent.formControl,configurable:!0})}onPopulate(t){t.hasOwnProperty("fieldGroup")&&!Pt(t)?kt(t,"formControl",t.form):this.addFormControl(t)}postPopulate(t){if(this.root===t&&(this.root=null,this.setValidators(t)&&t.parent)){let i=t.parent;for(;i;)(Pt(i)||!i.parent)&&cu(i.formControl,!0),i=i.parent}}addFormControl(t){let e=function o6(n){var t;return n.formControl?n.formControl:!1===n.shareFormControl?null:null===(t=n.form)||void 0===t?void 0:t.get(Ss(n))}(t);if(!e){const i={updateOn:t.modelOptions.updateOn};if(t.fieldGroup)e=new wo({},i);else{const r=Pt(t)?cl(t):t.defaultValue;e=new xs({value:r,disabled:!1},{...i,initialValueIsDefault:!0})}}MI(t,e)}setValidators(t,e=!1){var i,r;!1===e&&Pt(t)&&null!==(i=t.props)&&void 0!==i&&i.disabled&&(e=!0);let o=!1;if(null===(r=t.fieldGroup)||void 0===r||r.forEach(s=>s&&this.setValidators(s,e)&&(o=!0)),Pt(t)||!t.parent||!Pt(t)&&!t.fieldGroup){const{formControl:s}=t;if(s&&(Pt(t)&&s instanceof xs&&(e&&s.enabled&&(s.disable({emitEvent:!1,onlySelf:!0}),o=!0),!e&&s.disabled&&(s.enable({emitEvent:!1,onlySelf:!0}),o=!0)),(null===s.validator||null===s.asyncValidator)&&(s.setValidators(()=>{const a=Li.compose(this.mergeValidators(t,"_validators"));return a?a(s):null}),s.setAsyncValidators(()=>{const a=Li.composeAsync(this.mergeValidators(t,"_asyncValidators"));return a?a(s):q(null)}),o=!0),o)){cu(s,!0);let a=s.parent;for(let l=1;l1?o._fields.filter(s=>!s._hide).forEach(s=>r.push(...s[e])):t[e]&&r.push(...t[e]),t.fieldGroup&&t.fieldGroup.filter(s=>s?.fieldGroup&&!Pt(s)).forEach(s=>r.push(...this.mergeValidators(s,e))),r}}class y6{constructor(t){this.config=t,this.formId=0}prePopulate(t){var e,i;const r=t.parent;this.initRootOptions(t),this.initFieldProps(t),r&&(Object.defineProperty(t,"options",{get:()=>r.options,configurable:!0}),Object.defineProperty(t,"model",{get:()=>Pt(t)&&t.fieldGroup?cl(t):r.model,configurable:!0})),Object.defineProperty(t,"get",{value:o=>wI(t,o),configurable:!0}),null===(e=(i=this.getFieldComponentInstance(t)).prePopulate)||void 0===e||e.call(i,t)}onPopulate(t){var e,i;this.initFieldOptions(t),null===(e=(i=this.getFieldComponentInstance(t)).onPopulate)||void 0===e||e.call(i,t),t.fieldGroup&&t.fieldGroup.forEach((r,o)=>{r&&(Object.defineProperty(r,"parent",{get:()=>t,configurable:!0}),Object.defineProperty(r,"index",{get:()=>o,configurable:!0})),this.formId++})}postPopulate(t){var e,i;null===(e=(i=this.getFieldComponentInstance(t)).postPopulate)||void 0===e||e.call(i,t)}initFieldProps(t){var e;null!==(e=t.props)&&void 0!==e||(t.props=t.templateOptions),Object.defineProperty(t,"templateOptions",{get:()=>t.props,set:i=>t.props=i,configurable:!0})}initRootOptions(t){if(t.parent)return;const e=t.options;t.options.formState=t.options.formState||{},e.showError||(e.showError=this.config.extras.showError),e.fieldChanges||kt(e,"fieldChanges",new ce),e._hiddenFieldsForCheck||(e._hiddenFieldsForCheck=[]),e._markForCheck=i=>{console.warn("Formly: 'options._markForCheck' is deprecated since v6.0, use 'options.detectChanges' instead."),e.detectChanges(i)},e.detectChanges=i=>{var r;i._componentRefs&&(i.options.checkExpressions(i),xI(i)),null===(r=i.fieldGroup)||void 0===r||r.forEach(o=>o&&e.detectChanges(o))},e.resetModel=i=>{var r;i=Mo(null!==(r=i)&&void 0!==r?r:e._initialModel),t.model&&(Object.keys(t.model).forEach(o=>delete t.model[o]),Object.assign(t.model,i||{})),e.build(t),t.form.reset(t.model),e.parentForm&&e.parentForm.control===t.formControl&&(e.parentForm.submitted=!1)},e.updateInitialValue=i=>e._initialModel=Mo(i??t.model),t.options.updateInitialValue()}initFieldOptions(t){var e,i;if(ul(t,{id:Jq(`formly_${this.formId}`,t,t.index),hooks:{},modelOptions:{},validation:{messages:{}},props:t.type&&Pt(t)?{label:"",placeholder:"",disabled:!1}:{}}),this.config.extras.resetFieldOnHide&&!1!==t.resetOnHide&&(t.resetOnHide=!0),"formly-template"!==t.type&&(t.template||null!==(e=t.expressions)&&void 0!==e&&e.template||null!==(i=t.expressionProperties)&&void 0!==i&&i.template)&&(t.type="formly-template"),!t.type&&t.fieldGroup&&(t.type="formly-group"),t.type&&this.config.getMergedField(t),Pt(t)&&!Tf(t.defaultValue)&&Tf(cl(t))){const r=s=>{var a;return s.hide||(null===(a=s.expressions)||void 0===a?void 0:a.hide)||s.hideExpression};let o=!t.resetOnHide||!r(t);if(!r(t)&&t.resetOnHide){let s=t.parent;for(;s&&!r(s);)s=s.parent;o=!s||!r(s)}o&&Af(t,t.defaultValue)}t.wrappers=t.wrappers||[]}getFieldComponentInstance(t){const e=()=>{var i,r,o;let s=this.config.resolveFieldTypeRef(t);const a=null===(i=t._componentRefs)||void 0===i?void 0:i.slice(-1)[0];return a instanceof Ql&&a?.componentType===(null===(r=s)||void 0===r?void 0:r.componentType)&&(s=a),null===(o=s)||void 0===o?void 0:o.instance};return t._proxyInstance||kt(t,"_proxyInstance",new Proxy({},{get:(i,r)=>{var o;return null===(o=e())||void 0===o?void 0:o[r]},set:(i,r,o)=>e()[r]=o})),t._proxyInstance}}function EI(n){return{types:[{name:"formly-group",component:c6},{name:"formly-template",component:h6}],extensions:[{name:"core",extension:new y6(n),priority:-250},{name:"field-validation",extension:new m6(n),priority:-200},{name:"field-form",extension:new _6,priority:-150},{name:"field-expression",extension:new g6,priority:-100}]}}let Eo=(()=>{class n{constructor(e,i=[]){!i||i.forEach(r=>e.addConfig(r))}static forRoot(e={}){return{ngModule:n,providers:[{provide:lu,multi:!0,useFactory:EI,deps:[As]},{provide:lu,useValue:e,multi:!0},As,DI]}}static forChild(e={}){return{ngModule:n,providers:[{provide:lu,multi:!0,useFactory:EI,deps:[As]},{provide:lu,useValue:e,multi:!0},DI]}}}return n.\u0275fac=function(e){return new(e||n)(b(As),b(lu,8))},n.\u0275mod=Z({type:n}),n.\u0275inj=K({imports:[[fn]]}),n})();const v6=["connectionContainer"],b6=["inputContainer"],C6=["label"];function w6(n,t){1&n&&(Bn(0),D(1,"div",14),Q(2,"div",15)(3,"div",16)(4,"div",17),M(),D(5,"div",18),Q(6,"div",15)(7,"div",16)(8,"div",17),M(),Hn())}function x6(n,t){if(1&n){const e=Er();D(0,"div",19),te("cdkObserveContent",function(){return Hi(e),$i(Y().updateOutlineGap())}),_t(1,1),M()}2&n&&A("cdkObserveContentDisabled","outline"!=Y().appearance)}function D6(n,t){if(1&n&&(Bn(0),_t(1,2),D(2,"span"),V(3),M(),Hn()),2&n){const e=Y(2);S(3),Ne(e._control.placeholder)}}function M6(n,t){1&n&&_t(0,3,["*ngSwitchCase","true"])}function E6(n,t){1&n&&(D(0,"span",23),V(1," *"),M())}function S6(n,t){if(1&n){const e=Er();D(0,"label",20,21),te("cdkObserveContent",function(){return Hi(e),$i(Y().updateOutlineGap())}),j(2,D6,4,1,"ng-container",12),j(3,M6,1,0,"ng-content",12),j(4,E6,2,0,"span",22),M()}if(2&n){const e=Y();Ze("mat-empty",e._control.empty&&!e._shouldAlwaysFloat())("mat-form-field-empty",e._control.empty&&!e._shouldAlwaysFloat())("mat-accent","accent"==e.color)("mat-warn","warn"==e.color),A("cdkObserveContentDisabled","outline"!=e.appearance)("id",e._labelId)("ngSwitch",e._hasLabel()),je("for",e._control.id)("aria-owns",e._control.id),S(2),A("ngSwitchCase",!1),S(1),A("ngSwitchCase",!0),S(1),A("ngIf",!e.hideRequiredMarker&&e._control.required&&!e._control.disabled)}}function A6(n,t){1&n&&(D(0,"div",24),_t(1,4),M())}function T6(n,t){if(1&n&&(D(0,"div",25),Q(1,"span",26),M()),2&n){const e=Y();S(1),Ze("mat-accent","accent"==e.color)("mat-warn","warn"==e.color)}}function I6(n,t){1&n&&(D(0,"div"),_t(1,5),M()),2&n&&A("@transitionMessages",Y()._subscriptAnimationState)}function k6(n,t){if(1&n&&(D(0,"div",30),V(1),M()),2&n){const e=Y(2);A("id",e._hintLabelId),S(1),Ne(e.hintLabel)}}function F6(n,t){if(1&n&&(D(0,"div",27),j(1,k6,2,2,"div",28),_t(2,6),Q(3,"div",29),_t(4,7),M()),2&n){const e=Y();A("@transitionMessages",e._subscriptAnimationState),S(1),A("ngIf",e.hintLabel)}}const R6=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],O6=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];let P6=0;const SI=new P("MatError");let L6=(()=>{class n{constructor(e,i){this.id="mat-error-"+P6++,e||i.nativeElement.setAttribute("aria-live","polite")}}return n.\u0275fac=function(e){return new(e||n)(Ui("aria-live"),f($))},n.\u0275dir=T({type:n,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(e,i){2&e&&je("id",i.id)},inputs:{id:"id"},features:[Me([{provide:SI,useExisting:n}])]}),n})();const N6={transitionMessages:ir("transitionMessages",[pn("enter",Pe({opacity:1,transform:"translateY(0%)"})),Vt("void => enter",[Pe({opacity:0,transform:"translateY(-5px)"}),Zt("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let uu=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=T({type:n}),n})(),V6=0;const AI=new P("MatHint");let B6=(()=>{class n{constructor(){this.align="start",this.id="mat-hint-"+V6++}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=T({type:n,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(e,i){2&e&&(je("id",i.id)("align",null),Ze("mat-form-field-hint-end","end"===i.align))},inputs:{align:"align",id:"id"},features:[Me([{provide:AI,useExisting:n}])]}),n})(),cv=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=T({type:n,selectors:[["mat-label"]]}),n})(),H6=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=T({type:n,selectors:[["mat-placeholder"]]}),n})();const TI=new P("MatPrefix");let $6=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=T({type:n,selectors:[["","matPrefix",""]],features:[Me([{provide:TI,useExisting:n}])]}),n})();const II=new P("MatSuffix");let j6=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=T({type:n,selectors:[["","matSuffix",""]],features:[Me([{provide:II,useExisting:n}])]}),n})(),kI=0;const U6=df(class{constructor(n){this._elementRef=n}},"primary"),z6=new P("MAT_FORM_FIELD_DEFAULT_OPTIONS"),uv=new P("MatFormField");let RI=(()=>{class n extends U6{constructor(e,i,r,o,s,a,l){super(e),this._changeDetectorRef=i,this._dir=r,this._defaults=o,this._platform=s,this._ngZone=a,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new ce,this._hideRequiredMarker=!1,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+kI++,this._labelId="mat-form-field-label-"+kI++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==l,this.appearance=o?.appearance||"legacy",o&&(this._hideRequiredMarker=Boolean(o.hideRequiredMarker),o.color&&(this.color=this.defaultColor=o.color))}get appearance(){return this._appearance}set appearance(e){var i;const r=this._appearance;this._appearance=e||(null===(i=this._defaults)||void 0===i?void 0:i.appearance)||"legacy","outline"===this._appearance&&r!==e&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=Ae(e)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(e){this._explicitFormFieldControl=e}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${e.controlType}`),e.stateChanges.pipe(Nr(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(Ge(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(Ge(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),wt(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(Nr(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(Nr(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(Ge(this._destroyed)).subscribe(()=>{"function"==typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(e){const i=this._control?this._control.ngControl:null;return i&&i[e]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}_shouldLabelFloat(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,Zc(this._label.nativeElement,"transitionend").pipe(Sn(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||"auto"}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&e.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const i=this._hintChildren?this._hintChildren.find(o=>"start"===o.align):null,r=this._hintChildren?this._hintChildren.find(o=>"end"===o.align):null;i?e.push(i.id):this._hintLabel&&e.push(this._hintLabelId),r&&e.push(r.id)}else this._errorChildren&&e.push(...this._errorChildren.map(i=>i.id));this._control.setDescribedByIds(e)}}_validateControlChild(){}updateOutlineGap(){const e=this._label?this._label.nativeElement:null,i=this._connectionContainerRef.nativeElement,r=".mat-form-field-outline-start",o=".mat-form-field-outline-gap";if("outline"!==this.appearance||!this._platform.isBrowser)return;if(!e||!e.children.length||!e.textContent.trim()){const u=i.querySelectorAll(`${r}, ${o}`);for(let d=0;d0?.75*_+10:0}for(let u=0;u{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({imports:[fn,We,sf,We]}),n})();function W6(n,t){1&n&&(D(0,"span",9),V(1,"*"),M())}function q6(n,t){if(1&n&&(D(0,"mat-label"),V(1),j(2,W6,2,0,"span",8),M()),2&n){const e=Y();S(1),xn(" ",e.props.label," "),S(1),A("ngIf",e.props.required&&!0!==e.props.hideRequiredMarker)}}const dv=function(n){return{field:n}};function Y6(n,t){if(1&n&&(Bn(0,10),Qi(1,11),Hn()),2&n){const e=Y();S(1),A("ngTemplateOutlet",e.props.prefix)("ngTemplateOutletContext",Ai(2,dv,e.field))}}function Q6(n,t){if(1&n&&(Bn(0,12),Qi(1,11),Hn()),2&n){const e=Y();S(1),A("ngTemplateOutlet",e.props.suffix)("ngTemplateOutletContext",Ai(2,dv,e.field))}}const OI=function(n){return{content:n}};function K6(n,t){if(1&n&&(D(0,"mat-hint"),Qi(1,11),M()),2&n){const e=t.ngIf;Y();const i=Yi(11);S(1),A("ngTemplateOutlet",i)("ngTemplateOutletContext",Ai(2,OI,e))}}function Z6(n,t){if(1&n&&(D(0,"mat-hint",13),Qi(1,11),M()),2&n){const e=t.ngIf;Y();const i=Yi(11);S(1),A("ngTemplateOutlet",i)("ngTemplateOutletContext",Ai(2,OI,e))}}function X6(n,t){if(1&n&&(Bn(0),V(1),Hn()),2&n){const e=Y().content;S(1),Ne(e)}}function J6(n,t){if(1&n&&Qi(0,11),2&n){const e=Y().content,i=Y();A("ngTemplateOutlet",e)("ngTemplateOutletContext",Ai(2,dv,i.field))}}function e9(n,t){if(1&n&&(j(0,X6,2,1,"ng-container",14),j(1,J6,1,4,"ng-template",null,15,Oa)),2&n){const e=t.content,i=Yi(2);A("ngIf",!e.createEmbeddedView)("ngIfElse",i)}}const t9=["matPrefix"],n9=["matSuffix"];let i9=(()=>{class n extends d6{constructor(e,i,r){super(),this.renderer=e,this.elementRef=i,this.focusMonitor=r}ngOnInit(){kt(this.field,"_formField",this.formField),this.focusMonitor.monitor(this.elementRef,!0).subscribe(e=>{!e&&this.field.focus&&(this.field.focus=!1)})}ngAfterViewInit(){if("outline"!==this.formField.appearance&&!0===this.props.hideFieldUnderline){const e=this.formField._elementRef.nativeElement.querySelector(".mat-form-field-underline");e&&this.renderer.removeChild(e.parentNode,e)}}ngOnDestroy(){delete this.field._formField,this.focusMonitor.stopMonitoring(this.elementRef)}}return n.\u0275fac=function(e){return new(e||n)(f(Wt),f($),f(_s))},n.\u0275cmp=pe({type:n,selectors:[["formly-wrapper-mat-form-field"]],viewQuery:function(e,i){if(1&e&&et(RI,7),2&e){let r;_e(r=ye())&&(i.formField=r.first)}},features:[O],decls:12,vars:10,consts:[[3,"hideRequiredMarker","floatLabel","appearance","color"],["fieldComponent",""],[4,"ngIf"],["matPrefix","",4,"ngIf"],["matSuffix","",4,"ngIf"],[3,"field"],["align","end",4,"ngIf"],["stringOrTemplate",""],["aria-hidden","true","class","mat-form-field-required-marker",4,"ngIf"],["aria-hidden","true",1,"mat-form-field-required-marker"],["matPrefix",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["matSuffix",""],["align","end"],[4,"ngIf","ngIfElse"],["template",""]],template:function(e,i){1&e&&(D(0,"mat-form-field",0),Qi(1,null,1),j(3,q6,3,2,"mat-label",2),j(4,Y6,2,4,"ng-container",3),j(5,Q6,2,4,"ng-container",4),D(6,"mat-error"),Q(7,"formly-validation-message",5),M(),j(8,K6,2,4,"mat-hint",2),j(9,Z6,2,4,"mat-hint",6),M(),j(10,e9,3,2,"ng-template",null,7,Oa)),2&e&&(A("hideRequiredMarker",!0)("floatLabel",i.props.floatLabel)("appearance",i.props.appearance)("color",i.props.color),S(3),A("ngIf",i.props.label&&!0!==i.props.hideLabel),S(1),A("ngIf",i.props.prefix),S(1),A("ngIf",i.props.suffix),S(2),A("field",i.field),S(1),A("ngIf",i.props.description||i.props.hintStart),S(1),A("ngIf",i.props.hintEnd))},dependencies:[RI,u6,si,cv,$6,Tm,j6,L6,B6],styles:["formly-wrapper-mat-form-field .mat-form-field{width:100%}\n"],encapsulation:2}),n})(),Ts=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({imports:[[fn,xo,du,Eo.forChild({wrappers:[{name:"form-field",component:i9}]})]]}),n})(),hl=(()=>{class n extends If{constructor(){super(...arguments),this.errorStateMatcher={isErrorState:()=>this.field&&this.showError},this.stateChanges=new ce,this._errorState=!1}set matPrefix(e){e&&(this.props.prefix=e)}set matSuffix(e){e&&(this.props.suffix=e)}set _controls(e){this.attachControl(1===e.length?e.first:this)}ngOnDestroy(){var e;null===(e=this.formField)||void 0===e||delete e._control,this.stateChanges.complete()}setDescribedByIds(e){}onContainerClick(e){this.field.focus=!0,this.stateChanges.next()}get errorState(){const e=this.options.showError(this);return e!==this._errorState&&(this._errorState=e,this.stateChanges.next()),e}get controlType(){if(this.props.type)return this.props.type;const e=this.field.type;return e instanceof $o?e.prototype.constructor.name:e}get focused(){return!!this.field.focus&&!this.disabled}get disabled(){return!!this.props.disabled}get required(){return!!this.props.required}get placeholder(){return this.props.placeholder||""}get shouldPlaceholderFloat(){return this.shouldLabelFloat}get value(){var e;return null===(e=this.formControl)||void 0===e?void 0:e.value}set value(e){var i;null===(i=this.formControl)||void 0===i||i.patchValue(e)}get ngControl(){return this.formControl}get empty(){return null==this.value||""===this.value}get shouldLabelFloat(){return this.focused||!this.empty}get formField(){var e;return null===(e=this.field)||void 0===e?void 0:e._formField}attachControl(e){if(this.formField&&e!==this.formField._control){var i;this.formField._control=e;const r=e?.ngControl;null!=r&&null!==(i=r.valueAccessor)&&void 0!==i&&i.hasOwnProperty("_formField")&&(r.valueAccessor._formField=this.formField),["prefix","suffix"].forEach(s=>$t(this.field,["props",s],({currentValue:a})=>a&&Promise.resolve().then(()=>{this.options.detectChanges(this.field)})));const o=e.setDescribedByIds.bind(e);e.setDescribedByIds=s=>{setTimeout(()=>o(s))}}}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=U(n)))(i||n)}}(),n.\u0275dir=T({type:n,viewQuery:function(e,i){if(1&e&&(et(t9,5),et(n9,5),et(uu,5)),2&e){let r;_e(r=ye())&&(i.matPrefix=r.first),_e(r=ye())&&(i.matSuffix=r.first),_e(r=ye())&&(i._controls=r)}},features:[O]}),n})();const PI=ps({passive:!0});let r9=(()=>{class n{constructor(e,i){this._platform=e,this._ngZone=i,this._monitoredElements=new Map}monitor(e){if(!this._platform.isBrowser)return Tn;const i=Or(e),r=this._monitoredElements.get(i);if(r)return r.subject;const o=new ce,s="cdk-text-field-autofilled",a=l=>{"cdk-text-field-autofill-start"!==l.animationName||i.classList.contains(s)?"cdk-text-field-autofill-end"===l.animationName&&i.classList.contains(s)&&(i.classList.remove(s),this._ngZone.run(()=>o.next({target:l.target,isAutofilled:!1}))):(i.classList.add(s),this._ngZone.run(()=>o.next({target:l.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{i.addEventListener("animationstart",a,PI),i.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(i,{subject:o,unlisten:()=>{i.removeEventListener("animationstart",a,PI)}}),o}stopMonitoring(e){const i=Or(e),r=this._monitoredElements.get(i);r&&(r.unlisten(),r.subject.complete(),i.classList.remove("cdk-text-field-autofill-monitored"),i.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(i))}ngOnDestroy(){this._monitoredElements.forEach((e,i)=>this.stopMonitoring(i))}}return n.\u0275fac=function(e){return new(e||n)(b(Xt),b(de))},n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),o9=(()=>{class n{constructor(e,i,r,o){this._elementRef=e,this._platform=i,this._ngZone=r,this._destroyed=new ce,this._enabled=!0,this._previousMinRows=-1,this._isViewInited=!1,this._handleFocusEvent=s=>{this._hasFocus="focus"===s.type},this._document=o,this._textareaElement=this._elementRef.nativeElement}get minRows(){return this._minRows}set minRows(e){this._minRows=po(e),this._setMinHeight()}get maxRows(){return this._maxRows}set maxRows(e){this._maxRows=po(e),this._setMaxHeight()}get enabled(){return this._enabled}set enabled(e){e=Ae(e),this._enabled!==e&&((this._enabled=e)?this.resizeToFitContent(!0):this.reset())}get placeholder(){return this._textareaElement.placeholder}set placeholder(e){this._cachedPlaceholderHeight=void 0,e?this._textareaElement.setAttribute("placeholder",e):this._textareaElement.removeAttribute("placeholder"),this._cacheTextareaPlaceholderHeight()}_setMinHeight(){const e=this.minRows&&this._cachedLineHeight?this.minRows*this._cachedLineHeight+"px":null;e&&(this._textareaElement.style.minHeight=e)}_setMaxHeight(){const e=this.maxRows&&this._cachedLineHeight?this.maxRows*this._cachedLineHeight+"px":null;e&&(this._textareaElement.style.maxHeight=e)}ngAfterViewInit(){this._platform.isBrowser&&(this._initialHeight=this._textareaElement.style.height,this.resizeToFitContent(),this._ngZone.runOutsideAngular(()=>{Zc(this._getWindow(),"resize").pipe(Ly(16),Ge(this._destroyed)).subscribe(()=>this.resizeToFitContent(!0)),this._textareaElement.addEventListener("focus",this._handleFocusEvent),this._textareaElement.addEventListener("blur",this._handleFocusEvent)}),this._isViewInited=!0,this.resizeToFitContent(!0))}ngOnDestroy(){this._textareaElement.removeEventListener("focus",this._handleFocusEvent),this._textareaElement.removeEventListener("blur",this._handleFocusEvent),this._destroyed.next(),this._destroyed.complete()}_cacheTextareaLineHeight(){if(this._cachedLineHeight)return;let e=this._textareaElement.cloneNode(!1);e.rows=1,e.style.position="absolute",e.style.visibility="hidden",e.style.border="none",e.style.padding="0",e.style.height="",e.style.minHeight="",e.style.maxHeight="",e.style.overflow="hidden",this._textareaElement.parentNode.appendChild(e),this._cachedLineHeight=e.clientHeight,e.remove(),this._setMinHeight(),this._setMaxHeight()}_measureScrollHeight(){const e=this._textareaElement,i=e.style.marginBottom||"",r=this._platform.FIREFOX,o=r&&this._hasFocus,s=r?"cdk-textarea-autosize-measuring-firefox":"cdk-textarea-autosize-measuring";o&&(e.style.marginBottom=`${e.clientHeight}px`),e.classList.add(s);const a=e.scrollHeight-4;return e.classList.remove(s),o&&(e.style.marginBottom=i),a}_cacheTextareaPlaceholderHeight(){if(!this._isViewInited||null!=this._cachedPlaceholderHeight)return;if(!this.placeholder)return void(this._cachedPlaceholderHeight=0);const e=this._textareaElement.value;this._textareaElement.value=this._textareaElement.placeholder,this._cachedPlaceholderHeight=this._measureScrollHeight(),this._textareaElement.value=e}ngDoCheck(){this._platform.isBrowser&&this.resizeToFitContent()}resizeToFitContent(e=!1){if(!this._enabled||(this._cacheTextareaLineHeight(),this._cacheTextareaPlaceholderHeight(),!this._cachedLineHeight))return;const i=this._elementRef.nativeElement,r=i.value;if(!e&&this._minRows===this._previousMinRows&&r===this._previousValue)return;const o=this._measureScrollHeight(),s=Math.max(o,this._cachedPlaceholderHeight||0);i.style.height=`${s}px`,this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame<"u"?requestAnimationFrame(()=>this._scrollToCaretPosition(i)):setTimeout(()=>this._scrollToCaretPosition(i))}),this._previousValue=r,this._previousMinRows=this._minRows}reset(){void 0!==this._initialHeight&&(this._textareaElement.style.height=this._initialHeight)}_noopInputHandler(){}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_scrollToCaretPosition(e){const{selectionStart:i,selectionEnd:r}=e;!this._destroyed.isStopped&&this._hasFocus&&e.setSelectionRange(i,r)}}return n.\u0275fac=function(e){return new(e||n)(f($),f(Xt),f(de),f(ae,8))},n.\u0275dir=T({type:n,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(e,i){1&e&&te("input",function(){return i._noopInputHandler()})},inputs:{minRows:["cdkAutosizeMinRows","minRows"],maxRows:["cdkAutosizeMaxRows","maxRows"],enabled:["cdkTextareaAutosize","enabled"],placeholder:"placeholder"},exportAs:["cdkTextareaAutosize"]}),n})(),LI=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({}),n})();const NI=new P("MAT_INPUT_VALUE_ACCESSOR"),s9=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let a9=0;const l9=FA(class{constructor(n,t,e,i){this._defaultErrorStateMatcher=n,this._parentForm=t,this._parentFormGroup=e,this.ngControl=i,this.stateChanges=new ce}});let VI=(()=>{class n extends l9{constructor(e,i,r,o,s,a,l,c,u,d){super(a,o,s,r),this._elementRef=e,this._platform=i,this._autofillMonitor=c,this._formField=d,this._uid="mat-input-"+a9++,this.focused=!1,this.stateChanges=new ce,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(_=>aA().has(_)),this._iOSKeyupListener=_=>{const y=_.target;!y.value&&0===y.selectionStart&&0===y.selectionEnd&&(y.setSelectionRange(1,1),y.setSelectionRange(0,0))};const h=this._elementRef.nativeElement,g=h.nodeName.toLowerCase();this._inputValueAccessor=l||h,this._previousNativeValue=this.value,this.id=this.id,i.IOS&&u.runOutsideAngular(()=>{e.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===g,this._isTextarea="textarea"===g,this._isInFormField=!!d,this._isNativeSelect&&(this.controlType=h.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(e){this._disabled=Ae(e),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(e){this._id=e||this._uid}get required(){var e,i,r,o;return null!==(e=null!==(i=this._required)&&void 0!==i?i:null===(r=this.ngControl)||void 0===r||null===(o=r.control)||void 0===o?void 0:o.hasValidator(Li.required))&&void 0!==e&&e}set required(e){this._required=Ae(e)}get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&aA().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(e){e!==this.value&&(this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=Ae(e)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}_focusChanged(e){e!==this.focused&&(this.focused=e,this.stateChanges.next())}_onInput(){}_dirtyCheckPlaceholder(){var e;const i=this._formField,r=!i||"legacy"!==i.appearance||null!==(e=i._hasLabel)&&void 0!==e&&e.call(i)?this.placeholder:null;if(r!==this._previousPlaceholder){const o=this._elementRef.nativeElement;this._previousPlaceholder=r,r?o.setAttribute("placeholder",r):o.removeAttribute("placeholder")}}_dirtyCheckNativeValue(){const e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_validateType(){s9.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const e=this._elementRef.nativeElement,i=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&i&&i.label)}return this.focused||!this.empty}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}}return n.\u0275fac=function(e){return new(e||n)(f($),f(Xt),f(ar,10),f(su,8),f(ll,8),f(Iy),f(NI,10),f(r9),f(de),f(uv,8))},n.\u0275dir=T({type:n,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:12,hostBindings:function(e,i){1&e&&te("focus",function(){return i._focusChanged(!0)})("blur",function(){return i._focusChanged(!1)})("input",function(){return i._onInput()}),2&e&&(Ia("disabled",i.disabled)("required",i.required),je("id",i.id)("data-placeholder",i.placeholder)("name",i.name||null)("readonly",i.readonly&&!i._isNativeSelect||null)("aria-invalid",i.empty&&i.required?null:i.errorState)("aria-required",i.required),Ze("mat-input-server",i._isServer)("mat-native-select-inline",i._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[Me([{provide:uu,useExisting:n}]),O,nt]}),n})(),hv=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({providers:[Iy],imports:[LI,du,We,LI,du]}),n})();function c9(n,t){if(1&n&&Q(0,"input",2),2&n){const e=Y();A("id",e.id)("type",e.type||"text")("readonly",e.props.readonly)("required",e.required)("errorStateMatcher",e.errorStateMatcher)("formControl",e.formControl)("formlyAttributes",e.field)("tabIndex",e.props.tabindex)("placeholder",e.props.placeholder)}}function u9(n,t){if(1&n&&Q(0,"input",3),2&n){const e=Y();A("id",e.id)("readonly",e.props.readonly)("required",e.required)("errorStateMatcher",e.errorStateMatcher)("formControl",e.formControl)("formlyAttributes",e.field)("tabIndex",e.props.tabindex)("placeholder",e.props.placeholder)}}let d9=(()=>{class n extends hl{get type(){return this.props.type||"text"}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=U(n)))(i||n)}}(),n.\u0275cmp=pe({type:n,selectors:[["formly-field-mat-input"]],features:[O],decls:3,vars:2,consts:[["matInput","",3,"id","type","readonly","required","errorStateMatcher","formControl","formlyAttributes","tabIndex","placeholder",4,"ngIf","ngIfElse"],["numberTmp",""],["matInput","",3,"id","type","readonly","required","errorStateMatcher","formControl","formlyAttributes","tabIndex","placeholder"],["matInput","","type","number",3,"id","readonly","required","errorStateMatcher","formControl","formlyAttributes","tabIndex","placeholder"]],template:function(e,i){if(1&e&&(j(0,c9,1,9,"input",0),j(1,u9,1,8,"ng-template",null,1,Oa)),2&e){const r=Yi(2);A("ngIf","number"!==i.type)("ngIfElse",r)}},dependencies:[si,VI,tu,Es,sl,Ds,dl,Xy],encapsulation:2,changeDetection:0}),n})(),h9=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({imports:[[fn,xo,hv,Ts,Eo.forChild({types:[{name:"input",component:d9,wrappers:["form-field"]},{name:"string",extends:"input"},{name:"number",extends:"input",defaultOptions:{props:{type:"number"}}},{name:"integer",extends:"input",defaultOptions:{props:{type:"number"}}}]})]]}),n})(),f9=(()=>{class n extends hl{constructor(){super(...arguments),this.defaultOptions={props:{cols:1,rows:1}}}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=U(n)))(i||n)}}(),n.\u0275cmp=pe({type:n,selectors:[["formly-field-mat-textarea"]],features:[Me([{provide:NI,useExisting:n}]),O],decls:2,vars:15,consts:[["matInput","",3,"id","readonly","required","formControl","errorStateMatcher","cols","rows","formlyAttributes","placeholder","tabindex","cdkTextareaAutosize","cdkAutosizeMinRows","cdkAutosizeMaxRows"]],template:function(e,i){1&e&&(D(0,"textarea",0),V(1," "),M()),2&e&&(Ze("cdk-textarea-autosize",i.props.autosize),A("id",i.id)("readonly",i.props.readonly)("required",i.required)("formControl",i.formControl)("errorStateMatcher",i.errorStateMatcher)("cols",i.props.cols)("rows",i.props.rows)("formlyAttributes",i.field)("placeholder",i.props.placeholder)("tabindex",i.props.tabindex)("cdkTextareaAutosize",i.props.autosize)("cdkAutosizeMinRows",i.props.autosizeMinRows)("cdkAutosizeMaxRows",i.props.autosizeMaxRows))},dependencies:[VI,tu,o9,Es,sl,Ds,dl],encapsulation:2,changeDetection:0}),n})(),p9=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({imports:[[fn,xo,hv,Ts,Eo.forChild({types:[{name:"textarea",component:f9,wrappers:["form-field"]}]})]]}),n})(),fv=(()=>{class n{transform(e,i){return e instanceof Re||(e=q(e)),e.pipe(z(r=>this.transformOptions(r,i)))}transformOptions(e,i){const r=this.transformSelectProps(i),o=[],s={};return e?.forEach(a=>{const l=this.transformOption(a,r);if(l.group){const c=s[l.label];void 0===c?s[l.label]=o.push(l)-1:l.group.forEach(u=>o[c].group.push(u))}else o.push(l)}),o}transformOption(e,i){const r=i.groupProp(e);return Array.isArray(r)?{label:i.labelProp(e),group:r.map(o=>this.transformOption(o,i))}:(e={label:i.labelProp(e),value:i.valueProp(e),disabled:!!i.disabledProp(e)},r?{label:r,group:[e]}:e)}transformSelectProps(e){const i=e?.props||e?.templateOptions||{},r=o=>"function"==typeof o?o:s=>s[o];return{groupProp:r(i.groupProp||"group"),labelProp:r(i.labelProp||"label"),valueProp:r(i.valueProp||"value"),disabledProp:r(i.disabledProp||"disabled")}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=rn({name:"formlySelectOptions",type:n,pure:!0}),n})(),pv=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({}),n})();class g9{constructor(t=!1,e,i=!0,r){this._multiple=t,this._emitChanges=i,this.compareWith=r,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new ce,e&&e.length&&(t?e.forEach(o=>this._markSelected(o)):this._markSelected(e[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...t){this._verifyValueAssignment(t),t.forEach(i=>this._markSelected(i));const e=this._hasQueuedChanges();return this._emitChangeEvent(),e}deselect(...t){this._verifyValueAssignment(t),t.forEach(i=>this._unmarkSelected(i));const e=this._hasQueuedChanges();return this._emitChangeEvent(),e}setSelection(...t){this._verifyValueAssignment(t);const e=this.selected,i=new Set(t);t.forEach(o=>this._markSelected(o)),e.filter(o=>!i.has(o)).forEach(o=>this._unmarkSelected(o));const r=this._hasQueuedChanges();return this._emitChangeEvent(),r}toggle(t){return this.isSelected(t)?this.deselect(t):this.select(t)}clear(t=!0){this._unmarkAll();const e=this._hasQueuedChanges();return t&&this._emitChangeEvent(),e}isSelected(t){if(this.compareWith){for(const e of this._selection)if(this.compareWith(e,t))return!0;return!1}return this._selection.has(t)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(t){this._multiple&&this.selected&&this._selected.sort(t)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(t){this.isSelected(t)||(this._multiple||this._unmarkAll(),this.isSelected(t)||this._selection.add(t),this._emitChanges&&this._selectedToEmit.push(t))}_unmarkSelected(t){this.isSelected(t)&&(this._selection.delete(t),this._emitChanges&&this._deselectedToEmit.push(t))}_unmarkAll(){this.isEmpty()||this._selection.forEach(t=>this._unmarkSelected(t))}_verifyValueAssignment(t){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}}let m9=(()=>{class n{constructor(){this._listeners=[]}notify(e,i){for(let r of this._listeners)r(e,i)}listen(e){return this._listeners.push(e),()=>{this._listeners=this._listeners.filter(i=>e!==i)}}ngOnDestroy(){this._listeners=[]}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const _9=["input"],y9=function(n){return{enterDuration:n}},v9=["*"],b9=new P("mat-radio-default-options",{providedIn:"root",factory:function C9(){return{color:"accent"}}});let BI=0;const w9={provide:di,useExisting:Te(()=>gv),multi:!0};class HI{constructor(t,e){this.source=t,this.value=e}}const $I=new P("MatRadioGroup");let x9=(()=>{class n{constructor(e){this._changeDetector=e,this._value=null,this._name="mat-radio-group-"+BI++,this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=()=>{},this.onTouched=()=>{},this.change=new he}get name(){return this._name}set name(e){this._name=e,this._updateRadioButtonNames()}get labelPosition(){return this._labelPosition}set labelPosition(e){this._labelPosition="before"===e?"before":"after",this._markRadiosForCheck()}get value(){return this._value}set value(e){this._value!==e&&(this._value=e,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}_checkSelectedRadioButton(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}get selected(){return this._selected}set selected(e){this._selected=e,this.value=e?e.value:null,this._checkSelectedRadioButton()}get disabled(){return this._disabled}set disabled(e){this._disabled=Ae(e),this._markRadiosForCheck()}get required(){return this._required}set required(e){this._required=Ae(e),this._markRadiosForCheck()}ngAfterContentInit(){this._isInitialized=!0}_touch(){this.onTouched&&this.onTouched()}_updateRadioButtonNames(){this._radios&&this._radios.forEach(e=>{e.name=this.name,e._markForCheck()})}_updateSelectedRadioFromValue(){this._radios&&(null===this._selected||this._selected.value!==this._value)&&(this._selected=null,this._radios.forEach(i=>{i.checked=this.value===i.value,i.checked&&(this._selected=i)}))}_emitChangeEvent(){this._isInitialized&&this.change.emit(new HI(this._selected,this._value))}_markRadiosForCheck(){this._radios&&this._radios.forEach(e=>e._markForCheck())}writeValue(e){this.value=e,this._changeDetector.markForCheck()}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetector.markForCheck()}}return n.\u0275fac=function(e){return new(e||n)(f(Dn))},n.\u0275dir=T({type:n,inputs:{color:"color",name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required"},outputs:{change:"change"}}),n})(),gv=(()=>{class n extends x9{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=U(n)))(i||n)}}(),n.\u0275dir=T({type:n,selectors:[["mat-radio-group"]],contentQueries:function(e,i,r){if(1&e&&Qt(r,jI,5),2&e){let o;_e(o=ye())&&(i._radios=o)}},hostAttrs:["role","radiogroup",1,"mat-radio-group"],exportAs:["matRadioGroup"],features:[Me([w9,{provide:$I,useExisting:n}]),O]}),n})();class D9{constructor(t){this._elementRef=t}}const M9=hf(Ty(D9));let E9=(()=>{class n extends M9{constructor(e,i,r,o,s,a,l,c){super(i),this._changeDetector=r,this._focusMonitor=o,this._radioDispatcher=s,this._providerOverride=l,this._uniqueId="mat-radio-"+ ++BI,this.id=this._uniqueId,this.change=new he,this._checked=!1,this._value=null,this._removeUniqueSelectionListener=()=>{},this.radioGroup=e,this._noopAnimations="NoopAnimations"===a,c&&(this.tabIndex=po(c,0)),this._removeUniqueSelectionListener=s.listen((u,d)=>{u!==this.id&&d===this.name&&(this.checked=!1)})}get checked(){return this._checked}set checked(e){const i=Ae(e);this._checked!==i&&(this._checked=i,i&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!i&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),i&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}get value(){return this._value}set value(e){this._value!==e&&(this._value=e,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===e),this.checked&&(this.radioGroup.selected=this)))}get labelPosition(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"}set labelPosition(e){this._labelPosition=e}get disabled(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled}set disabled(e){this._setDisabled(Ae(e))}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(e){this._required=Ae(e)}get color(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"}set color(e){this._color=e}get inputId(){return`${this.id||this._uniqueId}-input`}focus(e,i){i?this._focusMonitor.focusVia(this._inputElement,i,e):this._inputElement.nativeElement.focus(e)}_markForCheck(){this._changeDetector.markForCheck()}ngOnInit(){this.radioGroup&&(this.checked=this.radioGroup.value===this._value,this.checked&&(this.radioGroup.selected=this),this.name=this.radioGroup.name)}ngDoCheck(){this._updateTabIndex()}ngAfterViewInit(){this._updateTabIndex(),this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{!e&&this.radioGroup&&this.radioGroup._touch()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}_emitChangeEvent(){this.change.emit(new HI(this,this._value))}_isRippleDisabled(){return this.disableRipple||this.disabled}_onInputClick(e){e.stopPropagation()}_onInputInteraction(e){if(e.stopPropagation(),!this.checked&&!this.disabled){const i=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),i&&this.radioGroup._emitChangeEvent())}}_setDisabled(e){this._disabled!==e&&(this._disabled=e,this._changeDetector.markForCheck())}_updateTabIndex(){const e=this.radioGroup;let i;if(i=e&&e.selected&&!this.disabled?e.selected===this?this.tabIndex:-1:this.tabIndex,i!==this._previousTabIndex){var r;const o=null===(r=this._inputElement)||void 0===r?void 0:r.nativeElement;o&&(o.setAttribute("tabindex",i+""),this._previousTabIndex=i)}}}return n.\u0275fac=function(e){qo()},n.\u0275dir=T({type:n,viewQuery:function(e,i){if(1&e&&et(_9,5),2&e){let r;_e(r=ye())&&(i._inputElement=r.first)}},inputs:{id:"id",name:"name",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],checked:"checked",value:"value",labelPosition:"labelPosition",disabled:"disabled",required:"required",color:"color"},outputs:{change:"change"},features:[O]}),n})(),jI=(()=>{class n extends E9{constructor(e,i,r,o,s,a,l,c){super(e,i,r,o,s,a,l,c)}}return n.\u0275fac=function(e){return new(e||n)(f($I,8),f($),f(Dn),f(_s),f(m9),f(ni,8),f(b9,8),Ui("tabindex"))},n.\u0275cmp=pe({type:n,selectors:[["mat-radio-button"]],hostAttrs:[1,"mat-radio-button"],hostVars:17,hostBindings:function(e,i){1&e&&te("focus",function(){return i._inputElement.nativeElement.focus()}),2&e&&(je("tabindex",null)("id",i.id)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),Ze("mat-radio-checked",i.checked)("mat-radio-disabled",i.disabled)("_mat-animation-noopable",i._noopAnimations)("mat-primary","primary"===i.color)("mat-accent","accent"===i.color)("mat-warn","warn"===i.color))},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matRadioButton"],features:[O],ngContentSelectors:v9,decls:13,vars:19,consts:[[1,"mat-radio-label"],["label",""],[1,"mat-radio-container"],[1,"mat-radio-outer-circle"],[1,"mat-radio-inner-circle"],["type","radio",1,"mat-radio-input",3,"id","checked","disabled","required","change","click"],["input",""],["mat-ripple","",1,"mat-radio-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],[1,"mat-radio-label-content"],[2,"display","none"]],template:function(e,i){if(1&e&&(Mi(),D(0,"label",0,1)(2,"span",2),Q(3,"span",3)(4,"span",4),D(5,"input",5,6),te("change",function(o){return i._onInputInteraction(o)})("click",function(o){return i._onInputClick(o)}),M(),D(7,"span",7),Q(8,"span",8),M()(),D(9,"span",9)(10,"span",10),V(11,"\xa0"),M(),_t(12),M()()),2&e){const r=Yi(1);je("for",i.inputId),S(5),A("id",i.inputId)("checked",i.checked)("disabled",i.disabled)("required",i.required),je("name",i.name)("value",i.value)("aria-label",i.ariaLabel)("aria-labelledby",i.ariaLabelledby)("aria-describedby",i.ariaDescribedby),S(2),A("matRippleTrigger",r)("matRippleDisabled",i._isRippleDisabled())("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",Ai(17,y9,i._noopAnimations?0:150)),S(2),Ze("mat-radio-label-before","before"==i.labelPosition)}},dependencies:[ys],styles:['.mat-radio-button{display:inline-block;-webkit-tap-highlight-color:rgba(0,0,0,0);outline:0}.mat-radio-label{-webkit-user-select:none;user-select:none;cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap;vertical-align:middle;width:100%}.mat-radio-container{box-sizing:border-box;display:inline-block;position:relative;width:20px;height:20px;flex-shrink:0}.mat-radio-outer-circle{box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;transition:border-color ease 280ms;width:20px;border-width:2px;border-style:solid;border-radius:50%}._mat-animation-noopable .mat-radio-outer-circle{transition:none}.mat-radio-inner-circle{border-radius:50%;box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;opacity:0;transition:transform ease 280ms,background-color ease 280ms,opacity linear 1ms 280ms;width:20px;transform:scale(0.001);-webkit-print-color-adjust:exact;color-adjust:exact}.mat-radio-checked .mat-radio-inner-circle{transform:scale(0.5);opacity:1;transition:transform ease 280ms,background-color ease 280ms}.cdk-high-contrast-active .mat-radio-checked .mat-radio-inner-circle{border:solid 10px}._mat-animation-noopable .mat-radio-inner-circle{transition:none}.mat-radio-label-content{-webkit-user-select:auto;user-select:auto;display:inline-block;order:0;line-height:inherit;padding-left:8px;padding-right:0}[dir=rtl] .mat-radio-label-content{padding-right:8px;padding-left:0}.mat-radio-label-content.mat-radio-label-before{order:-1;padding-left:0;padding-right:8px}[dir=rtl] .mat-radio-label-content.mat-radio-label-before{padding-right:0;padding-left:8px}.mat-radio-disabled,.mat-radio-disabled .mat-radio-label{cursor:default}.mat-radio-button .mat-radio-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-radio-button .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple){opacity:.16}.mat-radio-persistent-ripple{width:100%;height:100%;transform:none;top:0;left:0}.mat-radio-container:hover .mat-radio-persistent-ripple{opacity:.04}.mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-persistent-ripple,.mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-persistent-ripple{opacity:.12}.mat-radio-persistent-ripple,.mat-radio-disabled .mat-radio-container:hover .mat-radio-persistent-ripple{opacity:0}@media(hover: none){.mat-radio-container:hover .mat-radio-persistent-ripple{display:none}}.mat-radio-input{opacity:0;position:absolute;top:0;left:0;margin:0;width:100%;height:100%;cursor:inherit;z-index:-1}.mat-radio-input:focus~.mat-focus-indicator::before{content:""}.cdk-high-contrast-active .mat-radio-disabled{opacity:.5}'],encapsulation:2,changeDetection:0}),n})(),S9=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({imports:[ol,We,We]}),n})();function A9(n,t){if(1&n&&(D(0,"mat-radio-button",2),V(1),M()),2&n){const e=t.$implicit,i=t.index,r=Y();A("id",r.id+"_"+i)("color",r.props.color)("labelPosition",r.props.labelPosition)("disabled",e.disabled)("value",e.value),S(1),xn(" ",e.label," ")}}let T9=(()=>{class n extends hl{constructor(){super(...arguments),this.defaultOptions={props:{hideFieldUnderline:!0,floatLabel:"always",tabindex:-1}}}ngAfterViewInit(){this.focusObserver=$t(this.field,["focus"],({currentValue:e})=>{-1===this.props.tabindex&&e&&this.radioGroup._radios.length>0&&setTimeout(()=>{(this.radioGroup.selected?this.radioGroup.selected:this.radioGroup._radios.first).focus()})})}onContainerClick(){}ngOnDestroy(){super.ngOnDestroy(),this.focusObserver&&this.focusObserver.unsubscribe()}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=U(n)))(i||n)}}(),n.\u0275cmp=pe({type:n,selectors:[["formly-field-mat-radio"]],viewQuery:function(e,i){if(1&e&&et(gv,7),2&e){let r;_e(r=ye())&&(i.radioGroup=r.first)}},features:[O],decls:4,vars:10,consts:[[3,"formControl","formlyAttributes","required","tabindex"],[3,"id","color","labelPosition","disabled","value",4,"ngFor","ngForOf"],[3,"id","color","labelPosition","disabled","value"]],template:function(e,i){1&e&&(D(0,"mat-radio-group",0),j(1,A9,2,6,"mat-radio-button",1),Xi(2,"async"),Xi(3,"formlySelectOptions"),M()),2&e&&(A("formControl",i.formControl)("formlyAttributes",i.field)("required",i.required)("tabindex",i.props.tabindex),S(1),A("ngForOf",Ra(2,5,dc(3,7,i.props.options,i.field))))},dependencies:[jI,gv,sl,Ds,dl,Es,oi,Ba,fv],encapsulation:2,changeDetection:0}),n})(),I9=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({imports:[[fn,xo,S9,Ts,pv,Eo.forChild({types:[{name:"radio",component:T9,wrappers:["form-field"]}]})]]}),n})();const k9=["input"],F9=["label"],R9=function(n){return{enterDuration:n}},O9=["*"],P9=new P("mat-checkbox-default-options",{providedIn:"root",factory:GI});function GI(){return{color:"accent",clickAction:"check-indeterminate"}}let L9=0;const UI=GI(),N9={provide:di,useExisting:Te(()=>hu),multi:!0};class V9{}const B9=Ty(df(hf(uf(class{constructor(n){this._elementRef=n}}))));let H9=(()=>{class n extends B9{constructor(e,i,r,o,s,a,l){super(i),this._changeDetectorRef=r,this._ngZone=o,this._animationMode=a,this._options=l,this.ariaLabel="",this.ariaLabelledby=null,this.labelPosition="after",this.name=null,this.change=new he,this.indeterminateChange=new he,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||UI,this.color=this.defaultColor=this._options.color||UI.color,this.tabIndex=parseInt(s)||0,this.id=this._uniqueId=`${e}${++L9}`}get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(e){this._required=Ae(e)}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(e){const i=Ae(e);i!=this.checked&&(this._checked=i,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(e){const i=Ae(e);i!==this.disabled&&(this._disabled=i,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(e){const i=e!=this._indeterminate;this._indeterminate=Ae(e),i&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(e){this.checked=!!e}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_getAriaChecked(){return this.checked?"true":this.indeterminate?"mixed":"false"}_transitionCheckState(e){let i=this._currentCheckState,r=this._getAnimationTargetElement();if(i!==e&&r&&(this._currentAnimationClass&&r.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(i,e),this._currentCheckState=e,this._currentAnimationClass.length>0)){r.classList.add(this._currentAnimationClass);const o=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{r.classList.remove(o)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){var e;const i=null===(e=this._options)||void 0===e?void 0:e.clickAction;this.disabled||"noop"===i?!this.disabled&&"noop"===i&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==i&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}_onInteractionEvent(e){e.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(e,i){if("NoopAnimations"===this._animationMode)return"";switch(e){case 0:if(1===i)return this._animationClasses.uncheckedToChecked;if(3==i)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case 2:return 1===i?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case 1:return 2===i?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case 3:return 1===i?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(e){const i=this._inputElement;i&&(i.nativeElement.indeterminate=e)}}return n.\u0275fac=function(e){qo()},n.\u0275dir=T({type:n,viewQuery:function(e,i){if(1&e&&(et(k9,5),et(F9,5),et(ys,5)),2&e){let r;_e(r=ye())&&(i._inputElement=r.first),_e(r=ye())&&(i._labelElement=r.first),_e(r=ye())&&(i.ripple=r.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],id:"id",required:"required",labelPosition:"labelPosition",name:"name",value:"value",checked:"checked",disabled:"disabled",indeterminate:"indeterminate"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},features:[O]}),n})(),hu=(()=>{class n extends H9{constructor(e,i,r,o,s,a,l){super("mat-checkbox-",e,i,o,s,a,l),this._focusMonitor=r,this._animationClasses={uncheckedToChecked:"mat-checkbox-anim-unchecked-checked",uncheckedToIndeterminate:"mat-checkbox-anim-unchecked-indeterminate",checkedToUnchecked:"mat-checkbox-anim-checked-unchecked",checkedToIndeterminate:"mat-checkbox-anim-checked-indeterminate",indeterminateToChecked:"mat-checkbox-anim-indeterminate-checked",indeterminateToUnchecked:"mat-checkbox-anim-indeterminate-unchecked"}}_createChangeEvent(e){const i=new V9;return i.source=this,i.checked=e,i}_getAnimationTargetElement(){return this._elementRef.nativeElement}ngAfterViewInit(){super.ngAfterViewInit(),this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{e||this._onBlur()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}_onInputClick(e){e.stopPropagation(),super._handleInputClick()}focus(e,i){e?this._focusMonitor.focusVia(this._inputElement,e,i):this._inputElement.nativeElement.focus(i)}}return n.\u0275fac=function(e){return new(e||n)(f($),f(Dn),f(_s),f(de),Ui("tabindex"),f(ni,8),f(P9,8))},n.\u0275cmp=pe({type:n,selectors:[["mat-checkbox"]],hostAttrs:[1,"mat-checkbox"],hostVars:14,hostBindings:function(e,i){2&e&&(Ia("id",i.id),je("tabindex",null)("aria-label",null)("aria-labelledby",null),Ze("mat-checkbox-indeterminate",i.indeterminate)("mat-checkbox-checked",i.checked)("mat-checkbox-disabled",i.disabled)("mat-checkbox-label-before","before"==i.labelPosition)("_mat-animation-noopable","NoopAnimations"===i._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matCheckbox"],features:[Me([N9]),O],ngContentSelectors:O9,decls:17,vars:21,consts:[[1,"mat-checkbox-layout"],["label",""],[1,"mat-checkbox-inner-container"],["type","checkbox",1,"mat-checkbox-input","cdk-visually-hidden",3,"id","required","checked","disabled","tabIndex","change","click"],["input",""],["matRipple","",1,"mat-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleRadius","matRippleCentered","matRippleAnimation"],[1,"mat-ripple-element","mat-checkbox-persistent-ripple"],[1,"mat-checkbox-frame"],[1,"mat-checkbox-background"],["version","1.1","focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mat-checkbox-checkmark"],["fill","none","stroke","white","d","M4.1,12.7 9,17.6 20.3,6.3",1,"mat-checkbox-checkmark-path"],[1,"mat-checkbox-mixedmark"],[1,"mat-checkbox-label",3,"cdkObserveContent"],["checkboxLabel",""],[2,"display","none"]],template:function(e,i){if(1&e&&(Mi(),D(0,"label",0,1)(2,"span",2)(3,"input",3,4),te("change",function(o){return i._onInteractionEvent(o)})("click",function(o){return i._onInputClick(o)}),M(),D(5,"span",5),Q(6,"span",6),M(),Q(7,"span",7),D(8,"span",8),function Qv(){le.lFrame.currentNamespace="svg"}(),D(9,"svg",9),Q(10,"path",10),M(),function Kv(){!function Nk(){le.lFrame.currentNamespace=null}()}(),Q(11,"span",11),M()(),D(12,"span",12,13),te("cdkObserveContent",function(){return i._onLabelTextChange()}),D(14,"span",14),V(15,"\xa0"),M(),_t(16),M()()),2&e){const r=Yi(1),o=Yi(13);je("for",i.inputId),S(2),Ze("mat-checkbox-inner-container-no-side-margin",!o.textContent||!o.textContent.trim()),S(1),A("id",i.inputId)("required",i.required)("checked",i.checked)("disabled",i.disabled)("tabIndex",i.tabIndex),je("value",i.value)("name",i.name)("aria-label",i.ariaLabel||null)("aria-labelledby",i.ariaLabelledby)("aria-checked",i._getAriaChecked())("aria-describedby",i.ariaDescribedby),S(2),A("matRippleTrigger",r)("matRippleDisabled",i._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",Ai(19,R9,"NoopAnimations"===i._animationMode?0:150))}},dependencies:[ys,gA],styles:['@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{display:inline-block;transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);position:relative}.mat-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-checkbox-layout{-webkit-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:rgba(0,0,0,0);transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0, 0, 0.2, 0.1),opacity 90ms cubic-bezier(0, 0, 0.2, 0.1);-webkit-print-color-adjust:exact;color-adjust:exact}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{display:block;width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media(hover: none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.910259;stroke-dasharray:22.910259;stroke-width:2.1333333333px}.cdk-high-contrast-black-on-white .mat-checkbox-checkmark-path{stroke:#000 !important}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0deg);border-radius:2px}.cdk-high-contrast-active .mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0deg)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:rgba(0,0,0,0)}.mat-checkbox-disabled{cursor:default}.cdk-high-contrast-active .mat-checkbox-disabled{opacity:.5}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0ms mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0ms mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:300ms linear 0ms mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}.mat-checkbox-input:focus~.mat-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),n})(),zI=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({}),n})(),WI=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({imports:[ol,We,sf,zI,We,zI]}),n})();function G9(n,t){1&n&&(D(0,"span",2),V(1,"*"),M())}let U9=(()=>{class n extends hl{constructor(e,i){super(),this.renderer=e,this.focusMonitor=i,this.defaultOptions={props:{hideFieldUnderline:!0,indeterminate:!0,floatLabel:"always",hideLabel:!0,color:"accent"}}}onContainerClick(e){this.checkbox.focus(),super.onContainerClick(e)}ngAfterViewInit(){this.checkbox&&this.focusMonitor.monitor(this.checkbox._inputElement,!0).subscribe(e=>{e?this.props.focus&&this.props.focus(this.field):this.props.blur&&this.props.blur(this.field)})}ngAfterViewChecked(){if(this.required!==this._required&&this.checkbox&&this.checkbox._inputElement){this._required=this.required;const e=this.checkbox._inputElement.nativeElement;this.required?this.renderer.setAttribute(e,"required","required"):this.renderer.removeAttribute(e,"required")}}ngOnDestroy(){super.ngOnDestroy(),this.checkbox&&this.focusMonitor.stopMonitoring(this.checkbox._inputElement)}}return n.\u0275fac=function(e){return new(e||n)(f(Wt),f(_s))},n.\u0275cmp=pe({type:n,selectors:[["formly-field-mat-checkbox"]],viewQuery:function(e,i){if(1&e&&et(hu,7),2&e){let r;_e(r=ye())&&(i.checkbox=r.first)}},features:[O],decls:3,vars:9,consts:[[3,"formControl","id","formlyAttributes","tabIndex","indeterminate","color","labelPosition"],["aria-hidden","true","class","mat-form-field-required-marker",4,"ngIf"],["aria-hidden","true",1,"mat-form-field-required-marker"]],template:function(e,i){1&e&&(D(0,"mat-checkbox",0),V(1),j(2,G9,2,0,"span",1),M()),2&e&&(A("formControl",i.formControl)("id",i.id)("formlyAttributes",i.field)("tabIndex",i.props.tabindex)("indeterminate",i.props.indeterminate&&null==i.formControl.value)("color",i.props.color)("labelPosition",i.props.labelPosition),S(1),xn(" ",i.props.label," "),S(1),A("ngIf",i.props.required&&!0!==i.props.hideRequiredMarker))},dependencies:[hu,sl,Ds,dl,si],encapsulation:2,changeDetection:0}),n})(),z9=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({imports:[[fn,xo,WI,Ts,Eo.forChild({types:[{name:"checkbox",component:U9,wrappers:["form-field"]},{name:"boolean",extends:"checkbox"}]})]]}),n})();function W9(n,t){if(1&n){const e=Er();Bn(0),D(1,"mat-checkbox",1),te("change",function(r){const s=Hi(e).$implicit;return $i(Y().onChange(s.value,r.checked))}),V(2),M(),Hn()}if(2&n){const e=t.$implicit,i=t.index,r=Y();S(1),A("id",r.id+"_"+i)("formlyAttributes",r.field)("tabIndex",r.props.tabindex)("color",r.props.color)("labelPosition",r.props.labelPosition)("checked",r.isChecked(e))("disabled",r.formControl.disabled||e.disabled),S(1),xn(" ",e.label," ")}}let q9=(()=>{class n extends hl{constructor(){super(...arguments),this.defaultOptions={props:{hideFieldUnderline:!0,floatLabel:"always",color:"accent"}}}onChange(e,i){this.formControl.markAsDirty(),this.formControl.patchValue("array"===this.props.type?i?[...this.formControl.value||[],e]:[...this.formControl.value||[]].filter(r=>r!==e):{...this.formControl.value,[e]:i}),this.formControl.markAsTouched()}onContainerClick(){}isChecked(e){const i=this.formControl.value;return i&&("array"===this.props.type?-1!==i.indexOf(e.value):i[e.value])}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=U(n)))(i||n)}}(),n.\u0275cmp=pe({type:n,selectors:[["formly-field-mat-multicheckbox"]],viewQuery:function(e,i){if(1&e&&et(hu,5),2&e){let r;_e(r=ye())&&(i.checkboxes=r)}},hostVars:1,hostBindings:function(e,i){2&e&&Ia("id",i.id)},features:[O],decls:3,vars:6,consts:[[4,"ngFor","ngForOf"],[3,"id","formlyAttributes","tabIndex","color","labelPosition","checked","disabled","change"]],template:function(e,i){1&e&&(j(0,W9,3,8,"ng-container",0),Xi(1,"async"),Xi(2,"formlySelectOptions")),2&e&&A("ngForOf",Ra(1,1,dc(2,3,i.props.options,i.field)))},dependencies:[hu,oi,dl,Ba,fv],encapsulation:2,changeDetection:0}),n})(),Y9=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({imports:[[fn,xo,WI,Ts,pv,Eo.forChild({types:[{name:"multicheckbox",component:q9,wrappers:["form-field"]}]})]]}),n})();const Q9=["trigger"],K9=["panel"];function Z9(n,t){if(1&n&&(D(0,"span",8),V(1),M()),2&n){const e=Y();S(1),Ne(e.placeholder)}}function X9(n,t){if(1&n&&(D(0,"span",12),V(1),M()),2&n){const e=Y(2);S(1),Ne(e.triggerValue)}}function J9(n,t){1&n&&_t(0,0,["*ngSwitchCase","true"])}function eY(n,t){1&n&&(D(0,"span",9),j(1,X9,2,1,"span",10),j(2,J9,1,0,"ng-content",11),M()),2&n&&(A("ngSwitch",!!Y().customTrigger),S(2),A("ngSwitchCase",!0))}function tY(n,t){if(1&n){const e=Er();D(0,"div",13)(1,"div",14,15),te("@transformPanel.done",function(r){return Hi(e),$i(Y()._panelDoneAnimatingStream.next(r.toState))})("keydown",function(r){return Hi(e),$i(Y()._handleKeydown(r))}),_t(3,1),M()()}if(2&n){const e=Y();A("@transformPanelWrap",void 0),S(1),function a0(n,t,e){Si(Ln,Zi,Ca(R(),n,t,e),!0)}("mat-select-panel ",e._getPanelTheme(),""),Sd("transform-origin",e._transformOrigin)("font-size",e._triggerFontSize,"px"),A("ngClass",e.panelClass)("@transformPanel",e.multiple?"showing-multiple":"showing"),je("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby())}}const nY=[[["mat-select-trigger"]],"*"],iY=["mat-select-trigger","*"],qI={transformPanelWrap:ir("transformPanelWrap",[Vt("* => void",jj("@transformPanel",[$j()],{optional:!0}))]),transformPanel:ir("transformPanel",[pn("void",Pe({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),pn("showing",Pe({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),pn("showing-multiple",Pe({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),Vt("void => *",Zt("120ms cubic-bezier(0, 0, 0.2, 1)")),Vt("* => void",Zt("100ms 25ms linear",Pe({opacity:0})))])};let YI=0;const KI=new P("mat-select-scroll-strategy"),aY=new P("MAT_SELECT_CONFIG"),lY={provide:KI,deps:[bs],useFactory:function sY(n){return()=>n.scrollStrategies.reposition()}};class cY{constructor(t,e){this.source=t,this.value=e}}const uY=hf(Ty(uf(FA(class{constructor(n,t,e,i,r){this._elementRef=n,this._defaultErrorStateMatcher=t,this._parentForm=e,this._parentFormGroup=i,this.ngControl=r,this.stateChanges=new ce}})))),dY=new P("MatSelectTrigger");let hY=(()=>{class n extends uY{constructor(e,i,r,o,s,a,l,c,u,d,h,g,_,y){var x,C,F;super(s,o,l,c,d),this._viewportRuler=e,this._changeDetectorRef=i,this._ngZone=r,this._dir=a,this._parentFormField=u,this._liveAnnouncer=_,this._defaultOptions=y,this._panelOpen=!1,this._compareWith=(E,N)=>E===N,this._uid="mat-select-"+YI++,this._triggerAriaLabelledBy=null,this._destroy=new ce,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+YI++,this._panelDoneAnimatingStream=new ce,this._overlayPanelClass=(null===(x=this._defaultOptions)||void 0===x?void 0:x.overlayPanelClass)||"",this._focused=!1,this.controlType="mat-select",this._multiple=!1,this._disableOptionCentering=null!==(C=null===(F=this._defaultOptions)||void 0===F?void 0:F.disableOptionCentering)&&void 0!==C&&C,this.ariaLabel="",this.optionSelectionChanges=P_(()=>{const E=this.options;return E?E.changes.pipe(Nr(E),zn(()=>wt(...E.map(N=>N.onSelectionChange)))):this._ngZone.onStable.pipe(Sn(1),zn(()=>this.optionSelectionChanges))}),this.openedChange=new he,this._openedStream=this.openedChange.pipe(It(E=>E),z(()=>{})),this._closedStream=this.openedChange.pipe(It(E=>!E),z(()=>{})),this.selectionChange=new he,this.valueChange=new he,this.ngControl&&(this.ngControl.valueAccessor=this),null!=y?.typeaheadDebounceInterval&&(this._typeaheadDebounceInterval=y.typeaheadDebounceInterval),this._scrollStrategyFactory=g,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(h)||0,this.id=this.id}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get required(){var e,i,r,o;return null!==(e=null!==(i=this._required)&&void 0!==i?i:null===(r=this.ngControl)||void 0===r||null===(o=r.control)||void 0===o?void 0:o.hasValidator(Li.required))&&void 0!==e&&e}set required(e){this._required=Ae(e),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(e){this._multiple=Ae(e)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(e){this._disableOptionCentering=Ae(e)}get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){this._assignValue(e)&&this._onChange(e)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(e){this._typeaheadDebounceInterval=po(e)}get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new g9(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(My(),Ge(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe(Ge(this._destroy)).subscribe(e=>{e.added.forEach(i=>i.select()),e.removed.forEach(i=>i.deselect())}),this.options.changes.pipe(Nr(null),Ge(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const e=this._getTriggerAriaLabelledby(),i=this.ngControl;if(e!==this._triggerAriaLabelledBy){const r=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?r.setAttribute("aria-labelledby",e):r.removeAttribute("aria-labelledby")}i&&(this._previousControl!==i.control&&(void 0!==this._previousControl&&null!==i.disabled&&i.disabled!==this.disabled&&(this.disabled=i.disabled),this._previousControl=i.control),this.updateErrorState())}ngOnChanges(e){(e.disabled||e.userAriaDescribedBy)&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(e){this._assignValue(e)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){var e,i;return this.multiple?(null===(e=this._selectionModel)||void 0===e?void 0:e.selected)||[]:null===(i=this._selectionModel)||void 0===i?void 0:i.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const e=this._selectionModel.selected.map(i=>i.viewValue);return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}_handleClosedKeydown(e){const i=e.keyCode,r=40===i||38===i||37===i||39===i,o=13===i||32===i,s=this._keyManager;if(!s.isTyping()&&o&&!nl(e)||(this.multiple||e.altKey)&&r)e.preventDefault(),this.open();else if(!this.multiple){const a=this.selected;s.onKeydown(e);const l=this.selected;l&&a!==l&&this._liveAnnouncer.announce(l.viewValue,1e4)}}_handleOpenKeydown(e){const i=this._keyManager,r=e.keyCode,o=40===r||38===r,s=i.isTyping();if(o&&e.altKey)e.preventDefault(),this.close();else if(s||13!==r&&32!==r||!i.activeItem||nl(e))if(!s&&this._multiple&&65===r&&e.ctrlKey){e.preventDefault();const a=this.options.some(l=>!l.disabled&&!l.selected);this.options.forEach(l=>{l.disabled||(a?l.select():l.deselect())})}else{const a=i.activeItemIndex;i.onKeydown(e),this._multiple&&o&&e.shiftKey&&i.activeItem&&i.activeItemIndex!==a&&i.activeItem._selectViaInteraction()}else e.preventDefault(),i.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe(Sn(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(e){if(this._selectionModel.selected.forEach(i=>i.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(i=>this._selectOptionByValue(i)),this._sortValues();else{const i=this._selectOptionByValue(e);i?this._keyManager.updateActiveItem(i):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(e){const i=this.options.find(r=>{if(this._selectionModel.isSelected(r))return!1;try{return null!=r.value&&this._compareWith(r.value,e)}catch{return!1}});return i&&this._selectionModel.select(i),i}_assignValue(e){return!!(e!==this._value||this._multiple&&Array.isArray(e))&&(this.options&&this._setSelectionByValue(e),this._value=e,!0)}_initKeyManager(){this._keyManager=new a4(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(Ge(this._destroy)).subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.pipe(Ge(this._destroy)).subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const e=wt(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(Ge(e)).subscribe(i=>{this._onSelect(i.source,i.isUserInput),i.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),wt(...this.options.map(i=>i._stateChanges)).pipe(Ge(e)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}_onSelect(e,i){const r=this._selectionModel.isSelected(e);null!=e.value||this._multiple?(r!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),i&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),i&&this.focus())):(e.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(e.value)),r!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const e=this.options.toArray();this._selectionModel.sort((i,r)=>this.sortComparator?this.sortComparator(i,r,e):e.indexOf(i)-e.indexOf(r)),this.stateChanges.next()}}_propagateChanges(e){let i=null;i=this.multiple?this.selected.map(r=>r.value):this.selected?this.selected.value:e,this._value=i,this.valueChange.emit(i),this._onChange(i),this.selectionChange.emit(this._getChangeEvent(i)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_canOpen(){var e;return!this._panelOpen&&!this.disabled&&(null===(e=this.options)||void 0===e?void 0:e.length)>0}focus(e){this._elementRef.nativeElement.focus(e)}_getPanelAriaLabelledby(){var e;if(this.ariaLabel)return null;const i=null===(e=this._parentFormField)||void 0===e?void 0:e.getLabelId();return this.ariaLabelledby?(i?i+" ":"")+this.ariaLabelledby:i}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){var e;if(this.ariaLabel)return null;const i=null===(e=this._parentFormField)||void 0===e?void 0:e.getLabelId();let r=(i?i+" ":"")+this._valueId;return this.ariaLabelledby&&(r+=" "+this.ariaLabelledby),r}_panelDoneAnimating(e){this.openedChange.emit(e)}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return n.\u0275fac=function(e){return new(e||n)(f(Ny),f(Dn),f(de),f(Iy),f($),f(os,8),f(su,8),f(ll,8),f(uv,8),f(ar,10),Ui("tabindex"),f(KI),f(v4),f(aY,8))},n.\u0275dir=T({type:n,viewQuery:function(e,i){if(1&e&&(et(Q9,5),et(K9,5),et(lT,5)),2&e){let r;_e(r=ye())&&(i.trigger=r.first),_e(r=ye())&&(i.panel=r.first),_e(r=ye())&&(i._overlayDir=r.first)}},inputs:{userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[O,nt]}),n})(),fY=(()=>{class n extends hY{constructor(){super(...arguments),this._scrollTop=0,this._triggerFontSize=0,this._transformOrigin="top",this._offsetY=0,this._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}]}_calculateOverlayScroll(e,i,r){const o=this._getItemHeight();return Math.min(Math.max(0,o*e-i+o/2),r)}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe(Ge(this._destroy)).subscribe(()=>{this.panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._changeDetectorRef.markForCheck())})}open(){super._canOpen()&&(super.open(),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe(Sn(1)).subscribe(()=>{this._triggerFontSize&&this._overlayDir.overlayRef&&this._overlayDir.overlayRef.overlayElement&&(this._overlayDir.overlayRef.overlayElement.style.fontSize=`${this._triggerFontSize}px`)}))}_scrollOptionIntoView(e){const i=BA(e,this.options,this.optionGroups),r=this._getItemHeight();this.panel.nativeElement.scrollTop=0===e&&1===i?0:function $4(n,t,e,i){return ne+i?Math.max(0,n-i+t):e}((e+i)*r,r,this.panel.nativeElement.scrollTop,256)}_positioningSettled(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}_panelDoneAnimating(e){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),super._panelDoneAnimating(e)}_getChangeEvent(e){return new cY(this,e)}_calculateOverlayOffsetX(){const e=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),i=this._viewportRuler.getViewportSize(),r=this._isRtl(),o=this.multiple?56:32;let s;if(this.multiple)s=40;else if(this.disableOptionCentering)s=16;else{let c=this._selectionModel.selected[0]||this.options.first;s=c&&c.group?32:16}r||(s*=-1);const a=0-(e.left+s-(r?o:0)),l=e.right+s-i.width+(r?0:o);a>0?s+=a+8:l>0&&(s-=l+8),this._overlayDir.offsetX=Math.round(s),this._overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(e,i,r){const o=this._getItemHeight(),s=(o-this._triggerRect.height)/2,a=Math.floor(256/o);let l;return this.disableOptionCentering?0:(l=0===this._scrollTop?e*o:this._scrollTop===r?(e-(this._getItemCount()-a))*o+(o-(this._getItemCount()*o-256)%o):i-o/2,Math.round(-1*l-s))}_checkOverlayWithinViewport(e){const i=this._getItemHeight(),r=this._viewportRuler.getViewportSize(),o=this._triggerRect.top-8,s=r.height-this._triggerRect.bottom-8,a=Math.abs(this._offsetY),c=Math.min(this._getItemCount()*i,256)-a-this._triggerRect.height;c>s?this._adjustPanelUp(c,s):a>o?this._adjustPanelDown(a,o,e):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(e,i){const r=Math.round(e-i);this._scrollTop-=r,this._offsetY-=r,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(e,i,r){const o=Math.round(e-i);if(this._scrollTop+=o,this._offsetY+=o,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=r)return this._scrollTop=r,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_calculateOverlayPosition(){const e=this._getItemHeight(),i=this._getItemCount(),r=Math.min(i*e,256),s=i*e-r;let a;a=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),a+=BA(a,this.options,this.optionGroups);const l=r/2;this._scrollTop=this._calculateOverlayScroll(a,l,s),this._offsetY=this._calculateOverlayOffsetY(a,l,s),this._checkOverlayWithinViewport(s)}_getOriginBasedOnOption(){const e=this._getItemHeight(),i=(e-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-i+e/2}px 0px`}_getItemHeight(){return 3*this._triggerFontSize}_getItemCount(){return this.options.length+this.optionGroups.length}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=U(n)))(i||n)}}(),n.\u0275cmp=pe({type:n,selectors:[["mat-select"]],contentQueries:function(e,i,r){if(1&e&&(Qt(r,dY,5),Qt(r,VA,5),Qt(r,Ry,5)),2&e){let o;_e(o=ye())&&(i.customTrigger=o.first),_e(o=ye())&&(i.options=o),_e(o=ye())&&(i.optionGroups=o)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:19,hostBindings:function(e,i){1&e&&te("keydown",function(o){return i._handleKeydown(o)})("focus",function(){return i._onFocus()})("blur",function(){return i._onBlur()}),2&e&&(je("id",i.id)("tabindex",i.tabIndex)("aria-controls",i.panelOpen?i.id+"-panel":null)("aria-expanded",i.panelOpen)("aria-label",i.ariaLabel||null)("aria-required",i.required.toString())("aria-disabled",i.disabled.toString())("aria-invalid",i.errorState)("aria-activedescendant",i._getAriaActiveDescendant()),Ze("mat-select-disabled",i.disabled)("mat-select-invalid",i.errorState)("mat-select-required",i.required)("mat-select-empty",i.empty)("mat-select-multiple",i.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[Me([{provide:uu,useExisting:n},{provide:Fy,useExisting:n}]),O],ngContentSelectors:iY,decls:9,vars:12,consts:[["cdk-overlay-origin","",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder mat-select-min-line",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder","mat-select-min-line"],[1,"mat-select-value-text",3,"ngSwitch"],["class","mat-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-min-line"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(e,i){if(1&e&&(Mi(nY),D(0,"div",0,1),te("click",function(){return i.toggle()}),D(3,"div",2),j(4,Z9,2,1,"span",3),j(5,eY,3,2,"span",4),M(),D(6,"div",5),Q(7,"div",6),M()(),j(8,tY,4,14,"ng-template",7),te("backdropClick",function(){return i.close()})("attach",function(){return i._onAttached()})("detach",function(){return i.close()})),2&e){const r=Yi(1);je("aria-owns",i.panelOpen?i.id+"-panel":null),S(3),A("ngSwitch",i.empty),je("id",i._valueId),S(1),A("ngSwitchCase",!0),S(1),A("ngSwitchCase",!1),S(3),A("cdkConnectedOverlayPanelClass",i._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",i._scrollStrategy)("cdkConnectedOverlayOrigin",r)("cdkConnectedOverlayOpen",i.panelOpen)("cdkConnectedOverlayPositions",i._positions)("cdkConnectedOverlayMinWidth",null==i._triggerRect?null:i._triggerRect.width)("cdkConnectedOverlayOffsetY",i._offsetY)}},dependencies:[ns,vc,Am,TD,lT,aT],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{height:16px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;margin:0 4px}.mat-form-field.mat-focused .mat-select-arrow{transform:translateX(0)}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}'],encapsulation:2,data:{animation:[qI.transformPanelWrap,qI.transformPanel]},changeDetection:0}),n})(),pY=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({providers:[lY],imports:[fn,Hy,HA,We,Jc,du,HA,We]}),n})();function gY(n,t){if(1&n){const e=Er();D(0,"mat-option",3),te("click",function(){const o=Hi(e).selectOptions;return $i(Y().toggleSelectAll(o))}),Q(1,"mat-pseudo-checkbox",4),V(2),M()}if(2&n){const e=t.selectOptions,i=Y();S(1),A("state",i.getSelectAllState(e)),S(1),xn(" ",i.props.selectAllOption," ")}}const mY=function(n){return{selectOptions:n}};function _Y(n,t){if(1&n&&Qi(0,7),2&n){const e=Y().ngIf;Y(),A("ngTemplateOutlet",Yi(1))("ngTemplateOutletContext",Ai(2,mY,e))}}function yY(n,t){if(1&n&&(D(0,"mat-option",12),V(1),M()),2&n){const e=t.$implicit;A("value",e.value)("disabled",e.disabled),S(1),xn(" ",e.label," ")}}function vY(n,t){if(1&n&&(D(0,"mat-optgroup",10),j(1,yY,2,3,"mat-option",11),M()),2&n){const e=Y().$implicit;A("label",e.label),S(1),A("ngForOf",e.group)}}function bY(n,t){if(1&n&&(D(0,"mat-option",12),V(1),M()),2&n){const e=Y().$implicit;A("value",e.value)("disabled",e.disabled),S(1),Ne(e.label)}}function CY(n,t){if(1&n&&(Bn(0),j(1,vY,2,2,"mat-optgroup",8),j(2,bY,2,3,"mat-option",9),Hn()),2&n){const e=t.$implicit;S(1),A("ngIf",e.group),S(1),A("ngIf",!e.group)}}function wY(n,t){if(1&n&&(Bn(0),j(1,_Y,1,4,"ng-container",5),j(2,CY,3,2,"ng-container",6),Hn()),2&n){const e=t.ngIf,i=Y();S(1),A("ngIf",i.props.multiple&&i.props.selectAllOption),S(1),A("ngForOf",e)}}let xY=(()=>{class n extends hl{constructor(){super(...arguments),this.defaultOptions={props:{compareWith:(e,i)=>e===i}}}getSelectAllState(e){return this.empty||0===this.value.length?null:this.value.length!==this.getSelectAllValue(e).length?"indeterminate":"checked"}toggleSelectAll(e){const i=this.getSelectAllValue(e);this.formControl.setValue(this.value&&this.value.length===i.length?[]:i),this.formControl.markAsDirty()}change(e){var i,r;null===(i=(r=this.props).change)||void 0===i||i.call(r,this.field,e)}_getAriaLabelledby(){var e,i;return null!==(e=this.props.attributes)&&void 0!==e&&e["aria-labelledby"]?this.props.attributes["aria-labelledby"]:null===(i=this.formField)||void 0===i?void 0:i._labelId}_getAriaLabel(){var e;return null===(e=this.props.attributes)||void 0===e?void 0:e["aria-label"]}getSelectAllValue(e){if(!this.selectAllValue||e!==this.selectAllValue.options){const i=[];e.forEach(r=>r.group?i.push(...r.group):i.push(r)),this.selectAllValue={options:e,value:i.filter(r=>!r.disabled).map(r=>r.value)}}return this.selectAllValue.value}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=U(n)))(i||n)}}(),n.\u0275cmp=pe({type:n,selectors:[["formly-field-mat-select"]],features:[O],decls:6,vars:19,consts:[["selectAll",""],[3,"id","formControl","formlyAttributes","placeholder","tabIndex","required","compareWith","multiple","errorStateMatcher","aria-label","aria-labelledby","disableOptionCentering","typeaheadDebounceInterval","selectionChange"],[4,"ngIf"],[3,"click"],[1,"mat-option-pseudo-checkbox",3,"state"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngIf"],[4,"ngFor","ngForOf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"label",4,"ngIf"],[3,"value","disabled",4,"ngIf"],[3,"label"],[3,"value","disabled",4,"ngFor","ngForOf"],[3,"value","disabled"]],template:function(e,i){1&e&&(j(0,gY,3,2,"ng-template",null,0,Oa),D(2,"mat-select",1),te("selectionChange",function(o){return i.change(o)}),j(3,wY,3,2,"ng-container",2),Xi(4,"async"),Xi(5,"formlySelectOptions"),M()),2&e&&(S(2),A("id",i.id)("formControl",i.formControl)("formlyAttributes",i.field)("placeholder",i.props.placeholder)("tabIndex",i.props.tabindex)("required",i.required)("compareWith",i.props.compareWith)("multiple",i.props.multiple)("errorStateMatcher",i.errorStateMatcher)("aria-label",i._getAriaLabel())("aria-labelledby",i._getAriaLabelledby())("disableOptionCentering",i.props.disableOptionCentering)("typeaheadDebounceInterval",i.props.typeaheadDebounceInterval),S(1),A("ngIf",Ra(4,14,dc(5,16,i.props.options,i.field))))},dependencies:[VA,LA,fY,N4,sl,Ds,dl,Es,si,Tm,oi,Ba,fv],encapsulation:2,changeDetection:0}),n})(),DY=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({imports:[[fn,xo,pY,NA,Ts,pv,Eo.forChild({types:[{name:"select",component:xY,wrappers:["form-field"]},{name:"enum",extends:"select"}]})]]}),n})(),MY=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({imports:[[Ts,h9,p9,I9,z9,Y9,DY]]}),n})();const EY=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;function SY(n){return EY.test(n.value)?null:{email:!0}}function AY(n,t){return`"${t.formControl.value}" is not a valid email address`}let TY=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({imports:[We,We]}),n})();const RY={provide:new P("mat-menu-scroll-strategy"),deps:[bs],useFactory:function FY(n){return()=>n.scrollStrategies.reposition()}};let OY=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({providers:[RY],imports:[fn,We,ol,Hy,Jc,We]}),n})(),BY=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({imports:[fn,We,QA,ol,sf,TA,We]}),n})(),HY=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({imports:[We,We]}),n})();const $Y=[{path:"styleguide",component:F5},{path:"",component:qq}];let jY=(()=>{class n{}return n.config={validators:[{name:"email",validation:SY}],validationMessages:[{name:"email",message:AY},{name:"required",message:"This field is required."}]},n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=k({token:n,factory:n.\u0275fac}),n})(),GY=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n,bootstrap:[E5]}),n.\u0275inj=K({providers:[el],imports:[$U,eM,Vj,Oq,MY,Eo.forRoot(jY.config),F2,WU,W4,TY,DW,OY,BY,HY,M5,qE.forRoot({easingLogic:T5}),y5.forRoot($Y),rW,du,hv,xo]}),n})();pu(386),function $N(){if(eD)throw new Error("Cannot enable prod mode after platform setup.");Jx=!1}(),c2().bootstrapModule(GY).catch(n=>console.log(n))},386:(ks,gl,pu)=>{var be;!function(Ft,Fs,ml,Ce){"use strict";var yn,_l=["","webkit","Moz","MS","ms","o"],gu=Fs.createElement("div"),_n=Math.round,qn=Math.abs,Rs=Date.now;function To(p,m,v){return setTimeout(Io(p,v),m)}function Ur(p,m,v){return!!Array.isArray(p)&&(fi(p,v[m],v),!0)}function fi(p,m,v){var w;if(p)if(p.forEach)p.forEach(m,v);else if(p.length!==Ce)for(w=0;w\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",we=Ft.console&&(Ft.console.warn||Ft.console.log);return we&&we.call(Ft.console,w,G),p.apply(this,arguments)}}yn="function"!=typeof Object.assign?function(m){if(m===Ce||null===m)throw new TypeError("Cannot convert undefined or null to object");for(var v=Object(m),w=1;w-1}function zr(p){return p.trim().split(/\s+/g)}function Wr(p,m,v){if(p.indexOf&&!v)return p.indexOf(m);for(var w=0;wGt[m]}):w.sort()),w}function Ns(p,m){for(var v,w,L=m[0].toUpperCase()+m.slice(1),G=0;G<_l.length;){if((w=(v=_l[G])?v+L:m)in p)return w;G++}return Ce}var yu=1;function vl(p){var m=p.ownerDocument||p;return m.defaultView||m.parentWindow||Ft}var vu="ontouchstart"in Ft,Of=Ns(Ft,"PointerEvent")!==Ce,ce=vu&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),Yr="touch",qe="mouse",Cl=["x","y"],$s=["clientX","clientY"];function An(p,m){var v=this;this.manager=p,this.callback=m,this.element=p.element,this.target=p.options.inputTarget,this.domHandler=function(w){yl(p.options.enable,[p])&&v.handler(w)},this.init()}function yv(p,m,v){var w=v.pointers.length,L=v.changedPointers.length,G=1&m&&w-L==0,we=12&m&&w-L==0;v.isFirst=!!G,v.isFinal=!!we,G&&(p.session={}),v.eventType=m,function hr(p,m){var v=p.session,w=m.pointers,L=w.length;v.firstInput||(v.firstInput=Cu(m)),L>1&&!v.firstMultiple?v.firstMultiple=Cu(m):1===L&&(v.firstMultiple=!1);var G=v.firstInput,we=v.firstMultiple,xt=we?we.center:G.center,Dt=m.center=Vf(w);m.timeStamp=Rs(),m.deltaTime=m.timeStamp-G.timeStamp,m.angle=xu(xt,Dt),m.distance=wl(xt,Dt),function Nf(p,m){var v=m.center,w=p.offsetDelta||{},L=p.prevDelta||{},G=p.prevInput||{};(1===m.eventType||4===G.eventType)&&(L=p.prevDelta={x:G.deltaX||0,y:G.deltaY||0},w=p.offsetDelta={x:v.x,y:v.y}),m.deltaX=L.x+(v.x-w.x),m.deltaY=L.y+(v.y-w.y)}(v,m),m.offsetDirection=Bf(m.deltaX,m.deltaY);var Gt=wu(m.deltaTime,m.deltaX,m.deltaY);m.overallVelocityX=Gt.x,m.overallVelocityY=Gt.y,m.overallVelocity=qn(Gt.x)>qn(Gt.y)?Gt.x:Gt.y,m.scale=we?function Cv(p,m){return wl(m[0],m[1],$s)/wl(p[0],p[1],$s)}(we.pointers,w):1,m.rotation=we?function bv(p,m){return xu(m[1],m[0],$s)+xu(p[1],p[0],$s)}(we.pointers,w):0,m.maxPointers=v.prevInput?m.pointers.length>v.prevInput.maxPointers?m.pointers.length:v.prevInput.maxPointers:m.pointers.length,function vv(p,m){var L,G,we,xt,v=p.lastInterval||m,w=m.timeStamp-v.timeStamp;if(8!=m.eventType&&(w>25||v.velocity===Ce)){var Dt=m.deltaX-v.deltaX,Gt=m.deltaY-v.deltaY,Yn=wu(w,Dt,Gt);G=Yn.x,we=Yn.y,L=qn(Yn.x)>qn(Yn.y)?Yn.x:Yn.y,xt=Bf(Dt,Gt),p.lastInterval=m}else L=v.velocity,G=v.velocityX,we=v.velocityY,xt=v.direction;m.velocity=L,m.velocityX=G,m.velocityY=we,m.direction=xt}(v,m);var Yn=p.element;ko(m.srcEvent.target,Yn)&&(Yn=m.srcEvent.target),m.target=Yn}(p,v),p.emit("hammer.input",v),p.recognize(v),p.session.prevInput=v}function Cu(p){for(var m=[],v=0;v=qn(m)?p<0?2:4:m<0?8:16}function wl(p,m,v){v||(v=Cl);var w=m[v[0]]-p[v[0]],L=m[v[1]]-p[v[1]];return Math.sqrt(w*w+L*L)}function xu(p,m,v){return v||(v=Cl),180*Math.atan2(m[v[1]]-p[v[1]],m[v[0]]-p[v[0]])/Math.PI}An.prototype={handler:function(){},init:function(){this.evEl&&Ls(this.element,this.evEl,this.domHandler),this.evTarget&&Ls(this.target,this.evTarget,this.domHandler),this.evWin&&Ls(vl(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&Vi(this.element,this.evEl,this.domHandler),this.evTarget&&Vi(this.target,this.evTarget,this.domHandler),this.evWin&&Vi(vl(this.element),this.evWin,this.domHandler)}};var xl={mousedown:1,mousemove:2,mouseup:4},Du="mousedown",Mu="mousemove mouseup";function Ro(){this.evEl=Du,this.evWin=Mu,this.pressed=!1,An.apply(this,arguments)}tn(Ro,An,{handler:function(m){var v=xl[m.type];1&v&&0===m.button&&(this.pressed=!0),2&v&&1!==m.which&&(v=4),this.pressed&&(4&v&&(this.pressed=!1),this.callback(this.manager,v,{pointers:[m],changedPointers:[m],pointerType:qe,srcEvent:m}))}});var Eu={pointerdown:1,pointermove:2,pointerup:4,pointercancel:8,pointerout:8},Hf={2:Yr,3:"pen",4:qe,5:"kinect"},Dl="pointerdown",Ml="pointermove pointerup pointercancel";function js(){this.evEl=Dl,this.evWin=Ml,An.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}Ft.MSPointerEvent&&!Ft.PointerEvent&&(Dl="MSPointerDown",Ml="MSPointerMove MSPointerUp MSPointerCancel"),tn(js,An,{handler:function(m){var v=this.store,w=!1,L=m.type.toLowerCase().replace("ms",""),G=Eu[L],we=Hf[m.pointerType]||m.pointerType,xt=we==Yr,Dt=Wr(v,m.pointerId,"pointerId");1&G&&(0===m.button||xt)?Dt<0&&(v.push(m),Dt=v.length-1):12&G&&(w=!0),!(Dt<0)&&(v[Dt]=m,this.callback(this.manager,G,{pointers:v,changedPointers:[m],pointerType:we,srcEvent:m}),w&&v.splice(Dt,1))}});var Su={touchstart:1,touchmove:2,touchend:4,touchcancel:8},jt="touchstart",$f="touchstart touchmove touchend touchcancel";function Au(){this.evTarget=jt,this.evWin=$f,this.started=!1,An.apply(this,arguments)}function jf(p,m){var v=qr(p.touches),w=qr(p.changedTouches);return 12&m&&(v=pi(v.concat(w),"identifier",!0)),[v,w]}tn(Au,An,{handler:function(m){var v=Su[m.type];if(1===v&&(this.started=!0),this.started){var w=jf.call(this,m,v);12&v&&w[0].length-w[1].length==0&&(this.started=!1),this.callback(this.manager,v,{pointers:w[0],changedPointers:w[1],pointerType:Yr,srcEvent:m})}}});var Gf={touchstart:1,touchmove:2,touchend:4,touchcancel:8},Tu="touchstart touchmove touchend touchcancel";function Gs(){this.evTarget=Tu,this.targetIds={},An.apply(this,arguments)}function Uf(p,m){var v=qr(p.touches),w=this.targetIds;if(3&m&&1===v.length)return w[v[0].identifier]=!0,[v,v];var L,G,we=qr(p.changedTouches),xt=[],Dt=this.target;if(G=v.filter(function(Gt){return ko(Gt.target,Dt)}),1===m)for(L=0;L-1&&w.splice(G,1)},2500)}}function wv(p){for(var m=p.srcEvent.clientX,v=p.srcEvent.clientY,w=0;w-1&&this.requireFail.splice(m,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(p){return!!this.simultaneous[p.id]},emit:function(p){var m=this,v=this.state;function w(L){m.manager.emit(L,p)}v<8&&w(m.options.event+Ws(v)),w(m.options.event),p.additionalEvent&&w(p.additionalEvent),v>=8&&w(m.options.event+Ws(v))},tryEmit:function(p){if(this.canEmit())return this.emit(p);this.state=32},canEmit:function(){for(var p=0;pm.threshold&&L&m.direction},attrTest:function(p){return In.prototype.attrTest.call(this,p)&&(2&this.state||!(2&this.state)&&this.directionTest(p))},emit:function(p){this.pX=p.deltaX,this.pY=p.deltaY;var m=Ve(p.direction);m&&(p.additionalEvent=this.options.event+m),this._super.emit.call(this,p)}}),tn(J,In,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[pr]},attrTest:function(p){return this._super.attrTest.call(this,p)&&(Math.abs(p.scale-1)>this.options.threshold||2&this.state)},emit:function(p){1!==p.scale&&(p.additionalEvent=this.options.event+(p.scale<1?"in":"out")),this._super.emit.call(this,p)}}),tn(Po,De,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return["auto"]},process:function(p){var m=this.options,v=p.pointers.length===m.pointers,w=p.distancem.time;if(this._input=p,!w||!v||12&p.eventType&&!L)this.reset();else if(1&p.eventType)this.reset(),this._timer=To(function(){this.state=8,this.tryEmit()},m.time,this);else if(4&p.eventType)return 8;return 32},reset:function(){clearTimeout(this._timer)},emit:function(p){8===this.state&&(p&&4&p.eventType?this.manager.emit(this.options.event+"up",p):(this._input.timeStamp=Rs(),this.manager.emit(this.options.event,this._input)))}}),tn(Fu,In,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[pr]},attrTest:function(p){return this._super.attrTest.call(this,p)&&(Math.abs(p.rotation)>this.options.threshold||2&this.state)}}),tn(I,In,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:30,pointers:1},getTouchAction:function(){return Te.prototype.getTouchAction.call(this)},attrTest:function(p){var v,m=this.options.direction;return 30&m?v=p.overallVelocity:6&m?v=p.overallVelocityX:24&m&&(v=p.overallVelocityY),this._super.attrTest.call(this,p)&&m&p.offsetDirection&&p.distance>this.options.threshold&&p.maxPointers==this.options.pointers&&qn(v)>this.options.velocity&&4&p.eventType},emit:function(p){var m=Ve(p.offsetDirection);m&&this.manager.emit(this.options.event+m,p),this.manager.emit(this.options.event,p)}}),tn(mr,De,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[fr]},process:function(p){var m=this.options,v=p.pointers.length===m.pointers,w=p.distance{ks(ks.s=897)}]); \ No newline at end of file +(self.webpackChunksartography_website=self.webpackChunksartography_website||[]).push([[179],{897:(ks,gl,pu)=>{"use strict";function be(n){return"function"==typeof n}function Ft(n){const e=n(i=>{Error.call(i),i.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}const Fs=Ft(n=>function(e){n(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((i,r)=>`${r+1}) ${i.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e});function ml(n,t){if(n){const e=n.indexOf(t);0<=e&&n.splice(e,1)}}class Ce{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(const o of e)o.remove(this);else e.remove(this);const{initialTeardown:i}=this;if(be(i))try{i()}catch(o){t=o instanceof Fs?o.errors:[o]}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const o of r)try{mu(o)}catch(s){t=t??[],s instanceof Fs?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Fs(t)}}add(t){var e;if(t&&t!==this)if(this.closed)mu(t);else{if(t instanceof Ce){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(e=this._finalizers)&&void 0!==e?e:[]).push(t)}}_hasParent(t){const{_parentage:e}=this;return e===t||Array.isArray(e)&&e.includes(t)}_addParent(t){const{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t}_removeParent(t){const{_parentage:e}=this;e===t?this._parentage=null:Array.isArray(e)&&ml(e,t)}remove(t){const{_finalizers:e}=this;e&&ml(e,t),t instanceof Ce&&t._removeParent(this)}}Ce.EMPTY=(()=>{const n=new Ce;return n.closed=!0,n})();const _l=Ce.EMPTY;function gu(n){return n instanceof Ce||n&&"closed"in n&&be(n.remove)&&be(n.add)&&be(n.unsubscribe)}function mu(n){be(n)?n():n.unsubscribe()}const _n={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},qn={setTimeout(n,t,...e){const{delegate:i}=qn;return i?.setTimeout?i.setTimeout(n,t,...e):setTimeout(n,t,...e)},clearTimeout(n){const{delegate:t}=qn;return(t?.clearTimeout||clearTimeout)(n)},delegate:void 0};function Rs(n){qn.setTimeout(()=>{const{onUnhandledError:t}=_n;if(!t)throw n;t(n)})}function To(){}const Ur=yn("C",void 0,void 0);function yn(n,t,e){return{kind:n,value:t,error:e}}let Ni=null;function Os(n){if(_n.useDeprecatedSynchronousErrorHandling){const t=!Ni;if(t&&(Ni={errorThrown:!1,error:null}),n(),t){const{errorThrown:e,error:i}=Ni;if(Ni=null,e)throw i}}else n()}class Io extends Ce{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,gu(t)&&t.add(this)):this.destination=Wr}static create(t,e,i){return new Vi(t,e,i)}next(t){this.isStopped?zr(function _u(n){return yn("N",n,void 0)}(t),this):this._next(t)}error(t){this.isStopped?zr(function fi(n){return yn("E",void 0,n)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?zr(Ur,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const yl=Function.prototype.bind;function Ps(n,t){return yl.call(n,t)}class Ls{constructor(t){this.partialObserver=t}next(t){const{partialObserver:e}=this;if(e.next)try{e.next(t)}catch(i){ko(i)}}error(t){const{partialObserver:e}=this;if(e.error)try{e.error(t)}catch(i){ko(i)}else ko(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(e){ko(e)}}}class Vi extends Io{constructor(t,e,i){let r;if(super(),be(t)||!t)r={next:t??void 0,error:e??void 0,complete:i??void 0};else{let o;this&&_n.useDeprecatedNextContext?(o=Object.create(t),o.unsubscribe=()=>this.unsubscribe(),r={next:t.next&&Ps(t.next,o),error:t.error&&Ps(t.error,o),complete:t.complete&&Ps(t.complete,o)}):r=t}this.destination=new Ls(r)}}function ko(n){_n.useDeprecatedSynchronousErrorHandling?function nn(n){_n.useDeprecatedSynchronousErrorHandling&&Ni&&(Ni.errorThrown=!0,Ni.error=n)}(n):Rs(n)}function zr(n,t){const{onStoppedNotification:e}=_n;e&&qn.setTimeout(()=>e(n,t))}const Wr={closed:!0,next:To,error:function dr(n){throw n},complete:To},qr="function"==typeof Symbol&&Symbol.observable||"@@observable";function pi(n){return n}function yu(n){return 0===n.length?pi:1===n.length?n[0]:function(e){return n.reduce((i,r)=>r(i),e)}}let Re=(()=>{class n{constructor(e){e&&(this._subscribe=e)}lift(e){const i=new n;return i.source=this,i.operator=e,i}subscribe(e,i,r){const o=function vu(n){return n&&n instanceof Io||function Rf(n){return n&&be(n.next)&&be(n.error)&&be(n.complete)}(n)&&gu(n)}(e)?e:new Vi(e,i,r);return Os(()=>{const{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(e){try{return this._subscribe(e)}catch(i){e.error(i)}}forEach(e,i){return new(i=vl(i))((r,o)=>{const s=new Vi({next:a=>{try{e(a)}catch(l){o(l),s.unsubscribe()}},error:o,complete:r});this.subscribe(s)})}_subscribe(e){var i;return null===(i=this.source)||void 0===i?void 0:i.subscribe(e)}[qr](){return this}pipe(...e){return yu(e)(this)}toPromise(e){return new(e=vl(e))((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return n.create=t=>new n(t),n})();function vl(n){var t;return null!==(t=n??_n.Promise)&&void 0!==t?t:Promise}const Of=Ft(n=>function(){n(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let ce=(()=>{class n extends Re{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){const i=new Yr(this,this);return i.operator=e,i}_throwIfClosed(){if(this.closed)throw new Of}next(e){Os(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(e)}})}error(e){Os(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;const{observers:i}=this;for(;i.length;)i.shift().error(e)}})}complete(){Os(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:e}=this;for(;e.length;)e.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0}_trySubscribe(e){return this._throwIfClosed(),super._trySubscribe(e)}_subscribe(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)}_innerSubscribe(e){const{hasError:i,isStopped:r,observers:o}=this;return i||r?_l:(this.currentObservers=null,o.push(e),new Ce(()=>{this.currentObservers=null,ml(o,e)}))}_checkFinalizedStatuses(e){const{hasError:i,thrownError:r,isStopped:o}=this;i?e.error(r):o&&e.complete()}asObservable(){const e=new Re;return e.source=this,e}}return n.create=(t,e)=>new Yr(t,e),n})();class Yr extends ce{constructor(t,e){super(),this.destination=t,this.source=e}next(t){var e,i;null===(i=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===i||i.call(e,t)}error(t){var e,i;null===(i=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===i||i.call(e,t)}complete(){var t,e;null===(e=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===e||e.call(t)}_subscribe(t){var e,i;return null!==(i=null===(e=this.source)||void 0===e?void 0:e.subscribe(t))&&void 0!==i?i:_l}}function bu(n){return be(n?.lift)}function qe(n){return t=>{if(bu(t))return t.lift(function(e){try{return n(e,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function Ye(n,t,e,i,r){return new Pf(n,t,e,i,r)}class Pf extends Io{constructor(t,e,i,r,o,s){super(t),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=e?function(a){try{e(a)}catch(l){t.error(l)}}:super._next,this._error=r?function(a){try{r(a)}catch(l){t.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:e}=this;super.unsubscribe(),!e&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}function z(n,t){return qe((e,i)=>{let r=0;e.subscribe(Ye(i,o=>{i.next(n.call(t,o,r++))}))})}function hr(n){return this instanceof hr?(this.v=n,this):new hr(n)}function Nf(n,t,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=e.apply(n,t||[]),o=[];return r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r;function s(h){i[h]&&(r[h]=function(g){return new Promise(function(_,y){o.push([h,g,_,y])>1||a(h,g)})})}function a(h,g){try{!function l(h){h.value instanceof hr?Promise.resolve(h.value.v).then(c,u):d(o[0][2],h)}(i[h](g))}catch(_){d(o[0][3],_)}}function c(h){a("next",h)}function u(h){a("throw",h)}function d(h,g){h(g),o.shift(),o.length&&a(o[0][0],o[0][1])}}function Cu(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,t=n[Symbol.asyncIterator];return t?t.call(n):(n=function Cl(n){var t="function"==typeof Symbol&&Symbol.iterator,e=t&&n[t],i=0;if(e)return e.call(n);if(n&&"number"==typeof n.length)return{next:function(){return n&&i>=n.length&&(n=void 0),{value:n&&n[i++],done:!n}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(n),e={},i("next"),i("throw"),i("return"),e[Symbol.asyncIterator]=function(){return this},e);function i(o){e[o]=n[o]&&function(s){return new Promise(function(a,l){!function r(o,s,a,l){Promise.resolve(l).then(function(c){o({value:c,done:a})},s)}(a,l,(s=n[o](s)).done,s.value)})}}}const xl=n=>n&&"number"==typeof n.length&&"function"!=typeof n;function Du(n){return be(n?.then)}function Mu(n){return be(n[qr])}function Ro(n){return Symbol.asyncIterator&&be(n?.[Symbol.asyncIterator])}function Eu(n){return new TypeError(`You provided ${null!==n&&"object"==typeof n?"an invalid object":`'${n}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const Dl=function Hf(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Ml(n){return be(n?.[Dl])}function js(n){return Nf(this,arguments,function*(){const e=n.getReader();try{for(;;){const{value:i,done:r}=yield hr(e.read());if(r)return yield hr(void 0);yield yield hr(i)}}finally{e.releaseLock()}})}function Su(n){return be(n?.getReader)}function jt(n){if(n instanceof Re)return n;if(null!=n){if(Mu(n))return function $f(n){return new Re(t=>{const e=n[qr]();if(be(e.subscribe))return e.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(n);if(xl(n))return function Au(n){return new Re(t=>{for(let e=0;e{n.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,Rs)})}(n);if(Ro(n))return Tu(n);if(Ml(n))return function Gf(n){return new Re(t=>{for(const e of n)if(t.next(e),t.closed)return;t.complete()})}(n);if(Su(n))return function Gs(n){return Tu(js(n))}(n)}throw Eu(n)}function Tu(n){return new Re(t=>{(function Uf(n,t){var e,i,r,o;return function Fo(n,t,e,i){return new(e||(e=Promise))(function(o,s){function a(u){try{c(i.next(u))}catch(d){s(d)}}function l(u){try{c(i.throw(u))}catch(d){s(d)}}function c(u){u.done?o(u.value):function r(o){return o instanceof e?o:new e(function(s){s(o)})}(u.value).then(a,l)}c((i=i.apply(n,t||[])).next())})}(this,void 0,void 0,function*(){try{for(e=Cu(n);!(i=yield e.next()).done;)if(t.next(i.value),t.closed)return}catch(s){r={error:s}}finally{try{i&&!i.done&&(o=e.return)&&(yield o.call(e))}finally{if(r)throw r.error}}t.complete()})})(n,t).catch(e=>t.error(e))})}function _i(n,t,e,i=0,r=!1){const o=t.schedule(function(){e(),r?n.add(this.schedule(null,i)):this.unsubscribe()},i);if(n.add(o),!r)return o}function st(n,t,e=1/0){return be(t)?st((i,r)=>z((o,s)=>t(i,o,r,s))(jt(n(i,r))),e):("number"==typeof t&&(e=t),qe((i,r)=>function Iu(n,t,e,i,r,o,s,a){const l=[];let c=0,u=0,d=!1;const h=()=>{d&&!l.length&&!c&&t.complete()},g=y=>c{o&&t.next(y),c++;let x=!1;jt(e(y,u++)).subscribe(Ye(t,C=>{r?.(C),o?g(C):t.next(C)},()=>{x=!0},void 0,()=>{if(x)try{for(c--;l.length&&c_(C)):_(C)}h()}catch(C){t.error(C)}}))};return n.subscribe(Ye(t,g,()=>{d=!0,h()})),()=>{a?.()}}(i,r,n,e)))}function Qr(n=1/0){return st(pi,n)}const Tn=new Re(n=>n.complete());function El(n){return n&&be(n.schedule)}function Us(n){return n[n.length-1]}function Sl(n){return be(Us(n))?n.pop():void 0}function fr(n){return El(Us(n))?n.pop():void 0}function Kr(n,t=0){return qe((e,i)=>{e.subscribe(Ye(i,r=>_i(i,n,()=>i.next(r),t),()=>_i(i,n,()=>i.complete(),t),r=>_i(i,n,()=>i.error(r),t)))})}function Zr(n,t=0){return qe((e,i)=>{i.add(n.schedule(()=>e.subscribe(i),t))})}function Oo(n,t){if(!n)throw new Error("Iterable cannot be null");return new Re(e=>{_i(e,t,()=>{const i=n[Symbol.asyncIterator]();_i(e,t,()=>{i.next().then(r=>{r.done?e.complete():e.next(r.value)})},0,!0)})})}function He(n,t){return t?function Xr(n,t){if(null!=n){if(Mu(n))return function zs(n,t){return jt(n).pipe(Zr(t),Kr(t))}(n,t);if(xl(n))return function zf(n,t){return new Re(e=>{let i=0;return t.schedule(function(){i===n.length?e.complete():(e.next(n[i++]),e.closed||this.schedule())})})}(n,t);if(Du(n))return function Al(n,t){return jt(n).pipe(Zr(t),Kr(t))}(n,t);if(Ro(n))return Oo(n,t);if(Ml(n))return function Wf(n,t){return new Re(e=>{let i;return _i(e,t,()=>{i=n[Dl](),_i(e,t,()=>{let r,o;try{({value:r,done:o}=i.next())}catch(s){return void e.error(s)}o?e.complete():e.next(r)},0,!0)}),()=>be(i?.return)&&i.return()})}(n,t);if(Su(n))return function vn(n,t){return Oo(js(n),t)}(n,t)}throw Eu(n)}(n,t):jt(n)}function wt(...n){const t=fr(n),e=function pr(n,t){return"number"==typeof Us(n)?n.pop():t}(n,1/0),i=n;return i.length?1===i.length?jt(i[0]):Qr(e)(He(i,t)):Tn}function gr(n={}){const{connector:t=(()=>new ce),resetOnError:e=!0,resetOnComplete:i=!0,resetOnRefCountZero:r=!0}=n;return o=>{let s,a,l,c=0,u=!1,d=!1;const h=()=>{a?.unsubscribe(),a=void 0},g=()=>{h(),s=l=void 0,u=d=!1},_=()=>{const y=s;g(),y?.unsubscribe()};return qe((y,x)=>{c++,!d&&!u&&h();const C=l=l??t();x.add(()=>{c--,0===c&&!d&&!u&&(a=bn(_,r))}),C.subscribe(x),!s&&c>0&&(s=new Vi({next:F=>C.next(F),error:F=>{d=!0,h(),a=bn(g,e,F),C.error(F)},complete:()=>{u=!0,h(),a=bn(g,i),C.complete()}}),jt(y).subscribe(s))})(o)}}function bn(n,t,...e){if(!0===t)return void n();if(!1===t)return;const i=new Vi({next:()=>{i.unsubscribe(),n()}});return t(...e).subscribe(i)}function De(n){for(let t in n)if(n[t]===De)return t;throw Error("Could not find renamed property on target object.")}function Ws(n,t){for(const e in t)t.hasOwnProperty(e)&&!n.hasOwnProperty(e)&&(n[e]=t[e])}function Ve(n){if("string"==typeof n)return n;if(Array.isArray(n))return"["+n.map(Ve).join(", ")+"]";if(null==n)return""+n;if(n.overriddenName)return`${n.overriddenName}`;if(n.name)return`${n.name}`;const t=n.toString();if(null==t)return""+t;const e=t.indexOf("\n");return-1===e?t:t.substring(0,e)}function Jr(n,t){return null==n||""===n?null===t?"":t:null==t||""===t?n:n+" "+t}const In=De({__forward_ref__:De});function Te(n){return n.__forward_ref__=Te,n.toString=function(){return Ve(this())},n}function J(n){return Po(n)?n():n}function Po(n){return"function"==typeof n&&n.hasOwnProperty(In)&&n.__forward_ref__===Te}class I extends Error{constructor(t,e){super(function mr(n,t){return`NG0${Math.abs(n)}${t?": "+t.trim():""}`}(t,e)),this.code=t}}function ee(n){return"string"==typeof n?n:null==n?"":String(n)}function qs(n,t){throw new I(-201,!1)}function kn(n,t){null==n&&function Be(n,t,e,i){throw new Error(`ASSERTION ERROR: ${n}`+(null==i?"":` [Expected=> ${e} ${i} ${t} <=Actual]`))}(t,n,null,"!=")}function k(n){return{token:n.token,providedIn:n.providedIn||null,factory:n.factory,value:void 0}}function K(n){return{providers:n.providers||[],imports:n.imports||[]}}function Lu(n){return xv(n,Nu)||xv(n,Mv)}function xv(n,t){return n.hasOwnProperty(t)?n[t]:null}function Dv(n){return n&&(n.hasOwnProperty(qf)||n.hasOwnProperty(nk))?n[qf]:null}const Nu=De({\u0275prov:De}),qf=De({\u0275inj:De}),Mv=De({ngInjectableDef:De}),nk=De({ngInjectorDef:De});var re=(()=>((re=re||{})[re.Default=0]="Default",re[re.Host=1]="Host",re[re.Self=2]="Self",re[re.SkipSelf=4]="SkipSelf",re[re.Optional=8]="Optional",re))();let Yf;function Qn(n){const t=Yf;return Yf=n,t}function Ev(n,t,e){const i=Lu(n);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:e&re.Optional?null:void 0!==t?t:void qs(Ve(n))}function eo(n){return{toString:n}.toString()}var yi=(()=>((yi=yi||{})[yi.OnPush=0]="OnPush",yi[yi.Default=1]="Default",yi))(),vi=(()=>{return(n=vi||(vi={}))[n.Emulated=0]="Emulated",n[n.None=2]="None",n[n.ShadowDom=3]="ShadowDom",vi;var n})();const ze=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Ys={},Le=[],Vu=De({\u0275cmp:De}),Qf=De({\u0275dir:De}),Kf=De({\u0275pipe:De}),Sv=De({\u0275mod:De}),_r=De({\u0275fac:De}),Tl=De({__NG_ELEMENT_ID__:De});let rk=0;function pe(n){return eo(()=>{const e=!0===n.standalone,i={},r={type:n.type,providersResolver:null,decls:n.decls,vars:n.vars,factory:null,template:n.template||null,consts:n.consts||null,ngContentSelectors:n.ngContentSelectors,hostBindings:n.hostBindings||null,hostVars:n.hostVars||0,hostAttrs:n.hostAttrs||null,contentQueries:n.contentQueries||null,declaredInputs:i,inputs:null,outputs:null,exportAs:n.exportAs||null,onPush:n.changeDetection===yi.OnPush,directiveDefs:null,pipeDefs:null,standalone:e,dependencies:e&&n.dependencies||null,getStandaloneInjector:null,selectors:n.selectors||Le,viewQuery:n.viewQuery||null,features:n.features||null,data:n.data||{},encapsulation:n.encapsulation||vi.Emulated,id:"c"+rk++,styles:n.styles||Le,_:null,setInput:null,schemas:n.schemas||null,tView:null},o=n.dependencies,s=n.features;return r.inputs=Iv(n.inputs,i),r.outputs=Iv(n.outputs),s&&s.forEach(a=>a(r)),r.directiveDefs=o?()=>("function"==typeof o?o():o).map(Av).filter(Tv):null,r.pipeDefs=o?()=>("function"==typeof o?o():o).map(an).filter(Tv):null,r})}function Av(n){return $e(n)||sn(n)}function Tv(n){return null!==n}function Z(n){return eo(()=>({type:n.type,bootstrap:n.bootstrap||Le,declarations:n.declarations||Le,imports:n.imports||Le,exports:n.exports||Le,transitiveCompileScopes:null,schemas:n.schemas||null,id:n.id||null}))}function Iv(n,t){if(null==n)return Ys;const e={};for(const i in n)if(n.hasOwnProperty(i)){let r=n[i],o=r;Array.isArray(r)&&(o=r[1],r=r[0]),e[r]=i,t&&(t[r]=o)}return e}const T=pe;function on(n){return{type:n.type,name:n.name,factory:null,pure:!1!==n.pure,standalone:!0===n.standalone,onDestroy:n.type.prototype.ngOnDestroy||null}}function $e(n){return n[Vu]||null}function sn(n){return n[Qf]||null}function an(n){return n[Kf]||null}function Fn(n,t){const e=n[Sv]||null;if(!e&&!0===t)throw new Error(`Type ${Ve(n)} does not have '\u0275mod' property.`);return e}function Cn(n){return Array.isArray(n)&&"object"==typeof n[1]}function Ci(n){return Array.isArray(n)&&!0===n[1]}function Jf(n){return 0!=(8&n.flags)}function ju(n){return 2==(2&n.flags)}function Gu(n){return 1==(1&n.flags)}function wi(n){return null!==n.template}function uk(n){return 0!=(256&n[2])}function Ho(n,t){return n.hasOwnProperty(_r)?n[_r]:null}class fk{constructor(t,e,i){this.previousValue=t,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}}function nt(){return Rv}function Rv(n){return n.type.prototype.ngOnChanges&&(n.setInput=gk),pk}function pk(){const n=Pv(this),t=n?.current;if(t){const e=n.previous;if(e===Ys)n.previous=t;else for(let i in t)e[i]=t[i];n.current=null,this.ngOnChanges(t)}}function gk(n,t,e,i){const r=Pv(n)||function mk(n,t){return n[Ov]=t}(n,{previous:Ys,current:null}),o=r.current||(r.current={}),s=r.previous,a=this.declaredInputs[e],l=s[a];o[a]=new fk(l&&l.currentValue,t,s===Ys),n[i]=t}nt.ngInherit=!0;const Ov="__ngSimpleChanges__";function Pv(n){return n[Ov]||null}function mt(n){for(;Array.isArray(n);)n=n[0];return n}function Uu(n,t){return mt(t[n])}function Xn(n,t){return mt(t[n.index])}function rp(n,t){return n.data[t]}function Js(n,t){return n[t]}function On(n,t){const e=t[n];return Cn(e)?e:e[0]}function zu(n){return 64==(64&n[2])}function to(n,t){return null==t?null:n[t]}function Lv(n){n[18]=0}function op(n,t){n[5]+=t;let e=n,i=n[3];for(;null!==i&&(1===t&&1===e[5]||-1===t&&0===e[5]);)i[5]+=t,e=i,i=i[3]}const le={lFrame:Wv(null),bindingsEnabled:!0};function Vv(){return le.bindingsEnabled}function R(){return le.lFrame.lView}function Ie(){return le.lFrame.tView}function Hi(n){return le.lFrame.contextLView=n,n[8]}function $i(n){return le.lFrame.contextLView=null,n}function Mt(){let n=Bv();for(;null!==n&&64===n.type;)n=n.parent;return n}function Bv(){return le.lFrame.currentTNode}function ji(n,t){const e=le.lFrame;e.currentTNode=n,e.isParent=t}function sp(){return le.lFrame.isParent}function ap(){le.lFrame.isParent=!1}function ln(){const n=le.lFrame;let t=n.bindingRootIndex;return-1===t&&(t=n.bindingRootIndex=n.tView.bindingStartIndex),t}function yr(){return le.lFrame.bindingIndex}function ea(){return le.lFrame.bindingIndex++}function vr(n){const t=le.lFrame,e=t.bindingIndex;return t.bindingIndex=t.bindingIndex+n,e}function kk(n,t){const e=le.lFrame;e.bindingIndex=e.bindingRootIndex=n,lp(t)}function lp(n){le.lFrame.currentDirectiveIndex=n}function Gv(){return le.lFrame.currentQueryIndex}function up(n){le.lFrame.currentQueryIndex=n}function Rk(n){const t=n[1];return 2===t.type?t.declTNode:1===t.type?n[6]:null}function Uv(n,t,e){if(e&re.SkipSelf){let r=t,o=n;for(;!(r=r.parent,null!==r||e&re.Host||(r=Rk(o),null===r||(o=o[15],10&r.type))););if(null===r)return!1;t=r,n=o}const i=le.lFrame=zv();return i.currentTNode=t,i.lView=n,!0}function dp(n){const t=zv(),e=n[1];le.lFrame=t,t.currentTNode=e.firstChild,t.lView=n,t.tView=e,t.contextLView=n,t.bindingIndex=e.bindingStartIndex,t.inI18n=!1}function zv(){const n=le.lFrame,t=null===n?null:n.child;return null===t?Wv(n):t}function Wv(n){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:n,child:null,inI18n:!1};return null!==n&&(n.child=t),t}function qv(){const n=le.lFrame;return le.lFrame=n.parent,n.currentTNode=null,n.lView=null,n}const Yv=qv;function hp(){const n=qv();n.isParent=!0,n.tView=null,n.selectedIndex=-1,n.contextLView=null,n.elementDepthCount=0,n.currentDirectiveIndex=-1,n.currentNamespace=null,n.bindingRootIndex=-1,n.bindingIndex=-1,n.currentQueryIndex=0}function cn(){return le.lFrame.selectedIndex}function no(n){le.lFrame.selectedIndex=n}function lt(){const n=le.lFrame;return rp(n.tView,n.selectedIndex)}function Wu(n,t){for(let e=t.directiveStart,i=t.directiveEnd;e=i)break}else t[l]<0&&(n[18]+=65536),(a>11>16&&(3&n[2])===t){n[2]+=2048;try{o.call(a)}finally{}}}else try{o.call(a)}finally{}}class Pl{constructor(t,e,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=i}}function Qu(n,t,e){let i=0;for(;it){s=o-1;break}}}for(;o>16}(n),i=t;for(;e>0;)i=i[15],e--;return i}let gp=!0;function Zu(n){const t=gp;return gp=n,t}let Wk=0;const Gi={};function Nl(n,t){const e=_p(n,t);if(-1!==e)return e;const i=t[1];i.firstCreatePass&&(n.injectorIndex=t.length,mp(i.data,n),mp(t,null),mp(i.blueprint,null));const r=Xu(n,t),o=n.injectorIndex;if(tb(r)){const s=ta(r),a=na(r,t),l=a[1].data;for(let c=0;c<8;c++)t[o+c]=a[s+c]|l[s+c]}return t[o+8]=r,o}function mp(n,t){n.push(0,0,0,0,0,0,0,0,t)}function _p(n,t){return-1===n.injectorIndex||n.parent&&n.parent.injectorIndex===n.injectorIndex||null===t[n.injectorIndex+8]?-1:n.injectorIndex}function Xu(n,t){if(n.parent&&-1!==n.parent.injectorIndex)return n.parent.injectorIndex;let e=0,i=null,r=t;for(;null!==r;){if(i=ub(r),null===i)return-1;if(e++,r=r[15],-1!==i.injectorIndex)return i.injectorIndex|e<<16}return-1}function Ju(n,t,e){!function qk(n,t,e){let i;"string"==typeof e?i=e.charCodeAt(0)||0:e.hasOwnProperty(Tl)&&(i=e[Tl]),null==i&&(i=e[Tl]=Wk++);const r=255&i;t.data[n+(r>>5)]|=1<=0?255&t:Zk:t}(e);if("function"==typeof o){if(!Uv(t,n,i))return i&re.Host?rb(r,0,i):ob(t,e,i,r);try{const s=o(i);if(null!=s||i&re.Optional)return s;qs()}finally{Yv()}}else if("number"==typeof o){let s=null,a=_p(n,t),l=-1,c=i&re.Host?t[16][6]:null;for((-1===a||i&re.SkipSelf)&&(l=-1===a?Xu(n,t):t[a+8],-1!==l&&cb(i,!1)?(s=t[1],a=ta(l),t=na(l,t)):a=-1);-1!==a;){const u=t[1];if(lb(o,a,u.data)){const d=Qk(a,t,e,s,i,c);if(d!==Gi)return d}l=t[a+8],-1!==l&&cb(i,t[1].data[a+8]===c)&&lb(o,a,t)?(s=u,a=ta(l),t=na(l,t)):a=-1}}return r}function Qk(n,t,e,i,r,o){const s=t[1],a=s.data[n+8],u=ed(a,s,e,null==i?ju(a)&&gp:i!=s&&0!=(3&a.type),r&re.Host&&o===a);return null!==u?Vl(t,s,u,a):Gi}function ed(n,t,e,i,r){const o=n.providerIndexes,s=t.data,a=1048575&o,l=n.directiveStart,u=o>>20,h=r?a+u:n.directiveEnd;for(let g=i?a:a+u;g=l&&_.type===e)return g}if(r){const g=s[l];if(g&&wi(g)&&g.type===e)return l}return null}function Vl(n,t,e,i){let r=n[e];const o=t.data;if(function $k(n){return n instanceof Pl}(r)){const s=r;s.resolving&&function Ru(n,t){const e=t?`. Dependency path: ${t.join(" > ")} > ${n}`:"";throw new I(-200,`Circular dependency in DI detected for ${n}${e}`)}(function ke(n){return"function"==typeof n?n.name||n.toString():"object"==typeof n&&null!=n&&"function"==typeof n.type?n.type.name||n.type.toString():ee(n)}(o[e]));const a=Zu(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?Qn(s.injectImpl):null;Uv(n,i,re.Default);try{r=n[e]=s.factory(void 0,o,n,i),t.firstCreatePass&&e>=i.directiveStart&&function Bk(n,t,e){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=t.type.prototype;if(i){const s=Rv(t);(e.preOrderHooks||(e.preOrderHooks=[])).push(n,s),(e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n,s)}r&&(e.preOrderHooks||(e.preOrderHooks=[])).push(0-n,r),o&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n,o),(e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n,o))}(e,o[e],t)}finally{null!==l&&Qn(l),Zu(a),s.resolving=!1,Yv()}}return r}function lb(n,t,e){return!!(e[t+(n>>5)]&1<{const t=n.prototype.constructor,e=t[_r]||yp(t),i=Object.prototype;let r=Object.getPrototypeOf(n.prototype).constructor;for(;r&&r!==i;){const o=r[_r]||yp(r);if(o&&o!==e)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function yp(n){return Po(n)?()=>{const t=yp(J(n));return t&&t()}:Ho(n)}function ub(n){const t=n[1],e=t.type;return 2===e?t.declTNode:1===e?n[6]:null}function Ui(n){return function Yk(n,t){if("class"===t)return n.classes;if("style"===t)return n.styles;const e=n.attrs;if(e){const i=e.length;let r=0;for(;r{const i=function vp(n){return function(...e){if(n){const i=n(...e);for(const r in i)this[r]=i[r]}}}(t);function r(...o){if(this instanceof r)return i.apply(this,o),this;const s=new r(...o);return a.annotation=s,a;function a(l,c,u){const d=l.hasOwnProperty(oa)?l[oa]:Object.defineProperty(l,oa,{value:[]})[oa];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),l}}return e&&(r.prototype=Object.create(e.prototype)),r.prototype.ngMetadataName=n,r.annotationCls=r,r})}class P{constructor(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=k({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const $o=Function;function Pn(n,t){void 0===t&&(t=n);for(let e=0;eArray.isArray(e)?br(e,t):t(e))}function hb(n,t,e){t>=n.length?n.push(e):n.splice(t,0,e)}function td(n,t){return t>=n.length-1?n.pop():n.splice(t,1)[0]}function $l(n,t){const e=[];for(let i=0;i=0?n[1|i]=e:(i=~i,function nF(n,t,e,i){let r=n.length;if(r==t)n.push(e,i);else if(1===r)n.push(i,n[0]),n[0]=e;else{for(r--,n.push(n[r-1],n[r]);r>t;)n[r]=n[r-2],r--;n[t]=e,n[t+1]=i}}(n,i,t,e)),i}function bp(n,t){const e=la(n,t);if(e>=0)return n[1|e]}function la(n,t){return function gb(n,t,e){let i=0,r=n.length>>e;for(;r!==i;){const o=i+(r-i>>1),s=n[o<t?r=o:i=o+1}return~(r<n,createScript:n=>n,createScriptURL:n=>n})}catch{}return sd}())||void 0===t?void 0:t.createHTML(n))||n}function Eb(n){var t;return(null===(t=function Sp(){if(void 0===ad&&(ad=null,ze.trustedTypes))try{ad=ze.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:n=>n,createScript:n=>n,createScriptURL:n=>n})}catch{}return ad}())||void 0===t?void 0:t.createHTML(n))||n}class jo{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class AF extends jo{getTypeName(){return"HTML"}}class TF extends jo{getTypeName(){return"Style"}}class IF extends jo{getTypeName(){return"Script"}}class kF extends jo{getTypeName(){return"URL"}}class FF extends jo{getTypeName(){return"ResourceURL"}}function Nn(n){return n instanceof jo?n.changingThisBreaksApplicationSecurity:n}function zi(n,t){const e=function RF(n){return n instanceof jo&&n.getTypeName()||null}(n);if(null!=e&&e!==t){if("ResourceURL"===e&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${e} (see https://g.co/ng/security#xss)`)}return e===t}class BF{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const e=(new window.DOMParser).parseFromString(ha(t),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(t):(e.removeChild(e.firstChild),e)}catch{return null}}}class HF{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const e=this.inertDocument.createElement("html");this.inertDocument.appendChild(e);const i=this.inertDocument.createElement("body");e.appendChild(i)}}getInertBodyElement(t){const e=this.inertDocument.createElement("template");if("content"in e)return e.innerHTML=ha(t),e;const i=this.inertDocument.createElement("body");return i.innerHTML=ha(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(i),i}stripCustomNsAttrs(t){const e=t.attributes;for(let r=e.length-1;0"),!0}endElement(t){const e=t.nodeName.toLowerCase();Ap.hasOwnProperty(e)&&!Ib.hasOwnProperty(e)&&(this.buf.push(""))}chars(t){this.buf.push(Ob(t))}checkClobberedElement(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return e}}const zF=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,WF=/([^\#-~ |!])/g;function Ob(n){return n.replace(/&/g,"&").replace(zF,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(WF,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let cd;function Pb(n,t){let e=null;try{cd=cd||function Tb(n){const t=new HF(n);return function $F(){try{return!!(new window.DOMParser).parseFromString(ha(""),"text/html")}catch{return!1}}()?new BF(t):t}(n);let i=t?String(t):"";e=cd.getInertBodyElement(i);let r=5,o=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=e.innerHTML,e=cd.getInertBodyElement(i)}while(i!==o);return ha((new UF).sanitizeChildren(Ip(e)||e))}finally{if(e){const i=Ip(e)||e;for(;i.firstChild;)i.removeChild(i.firstChild)}}}function Ip(n){return"content"in n&&function qF(n){return n.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===n.nodeName}(n)?n.content:null}var Oe=(()=>((Oe=Oe||{})[Oe.NONE=0]="NONE",Oe[Oe.HTML=1]="HTML",Oe[Oe.STYLE=2]="STYLE",Oe[Oe.SCRIPT=3]="SCRIPT",Oe[Oe.URL=4]="URL",Oe[Oe.RESOURCE_URL=5]="RESOURCE_URL",Oe))();function Lb(n){const t=Yl();return t?Eb(t.sanitize(Oe.HTML,n)||""):zi(n,"HTML")?Eb(Nn(n)):Pb(function Mb(){return void 0!==Mp?Mp:typeof document<"u"?document:void 0}(),ee(n))}function Wt(n){const t=Yl();return t?t.sanitize(Oe.URL,n)||"":zi(n,"URL")?Nn(n):ld(ee(n))}function Yl(){const n=R();return n&&n[12]}const kp=new P("ENVIRONMENT_INITIALIZER"),Vb=new P("INJECTOR",-1),Bb=new P("INJECTOR_DEF_TYPES");class Hb{get(t,e=jl){if(e===jl){const i=new Error(`NullInjectorError: No provider for ${Ve(t)}!`);throw i.name="NullInjectorError",i}return e}}function eR(...n){return{\u0275providers:$b(0,n)}}function $b(n,...t){const e=[],i=new Set;let r;return br(t,o=>{const s=o;Fp(s,e,[],i)&&(r||(r=[]),r.push(s))}),void 0!==r&&jb(r,e),e}function jb(n,t){for(let e=0;e{t.push(o)})}}function Fp(n,t,e,i){if(!(n=J(n)))return!1;let r=null,o=Dv(n);const s=!o&&$e(n);if(o||s){if(s&&!s.standalone)return!1;r=n}else{const l=n.ngModule;if(o=Dv(l),!o)return!1;r=l}const a=i.has(r);if(s){if(a)return!1;if(i.add(r),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const c of l)Fp(c,t,e,i)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let c;i.add(r);try{br(o.imports,u=>{Fp(u,t,e,i)&&(c||(c=[]),c.push(u))})}finally{}void 0!==c&&jb(c,t)}if(!a){const c=Ho(r)||(()=>new r);t.push({provide:r,useFactory:c,deps:Le},{provide:Bb,useValue:r,multi:!0},{provide:kp,useValue:()=>b(r),multi:!0})}const l=o.providers;null==l||a||br(l,u=>{t.push(u)})}}return r!==n&&void 0!==n.providers}const tR=De({provide:String,useValue:De});function Rp(n){return null!==n&&"object"==typeof n&&tR in n}function Go(n){return"function"==typeof n}const Op=new P("Set Injector scope."),ud={},iR={};let Pp;function dd(){return void 0===Pp&&(Pp=new Hb),Pp}class oo{}class zb extends oo{constructor(t,e,i,r){super(),this.parent=e,this.source=i,this.scopes=r,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Np(t,s=>this.processProvider(s)),this.records.set(Vb,fa(void 0,this)),r.has("environment")&&this.records.set(oo,fa(void 0,this));const o=this.records.get(Op);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Bb.multi,Le,re.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}runInContext(t){this.assertNotDestroyed();const e=ca(this),i=Qn(void 0);try{return t()}finally{ca(e),Qn(i)}}get(t,e=jl,i=re.Default){this.assertNotDestroyed();const r=ca(this),o=Qn(void 0);try{if(!(i&re.SkipSelf)){let a=this.records.get(t);if(void 0===a){const l=function lR(n){return"function"==typeof n||"object"==typeof n&&n instanceof P}(t)&&Lu(t);a=l&&this.injectableDefInScope(l)?fa(Lp(t),ud):null,this.records.set(t,a)}if(null!=a)return this.hydrate(t,a)}return(i&re.Self?dd():this.parent).get(t,e=i&re.Optional&&e===jl?null:e)}catch(s){if("NullInjectorError"===s.name){if((s[id]=s[id]||[]).unshift(Ve(t)),r)throw s;return function pF(n,t,e,i){const r=n[id];throw t[mb]&&r.unshift(t[mb]),n.message=function gF(n,t,e,i=null){n=n&&"\n"===n.charAt(0)&&"\u0275"==n.charAt(1)?n.slice(2):n;let r=Ve(t);if(Array.isArray(t))r=t.map(Ve).join(" -> ");else if("object"==typeof t){let o=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];o.push(s+":"+("string"==typeof a?JSON.stringify(a):Ve(a)))}r=`{${o.join(", ")}}`}return`${e}${i?"("+i+")":""}[${r}]: ${n.replace(uF,"\n ")}`}("\n"+n.message,r,e,i),n.ngTokenPath=r,n[id]=null,n}(s,t,"R3InjectorError",this.source)}throw s}finally{Qn(o),ca(r)}}resolveInjectorInitializers(){const t=ca(this),e=Qn(void 0);try{const i=this.get(kp.multi,Le,re.Self);for(const r of i)r()}finally{ca(t),Qn(e)}}toString(){const t=[],e=this.records;for(const i of e.keys())t.push(Ve(i));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new I(205,!1)}processProvider(t){let e=Go(t=J(t))?t:J(t&&t.provide);const i=function oR(n){return Rp(n)?fa(void 0,n.useValue):fa(Wb(n),ud)}(t);if(Go(t)||!0!==t.multi)this.records.get(e);else{let r=this.records.get(e);r||(r=fa(void 0,ud,!0),r.factory=()=>xp(r.multi),this.records.set(e,r)),e=t,r.multi.push(t)}this.records.set(e,i)}hydrate(t,e){return e.value===ud&&(e.value=iR,e.value=e.factory()),"object"==typeof e.value&&e.value&&function aR(n){return null!==n&&"object"==typeof n&&"function"==typeof n.ngOnDestroy}(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}injectableDefInScope(t){if(!t.providedIn)return!1;const e=J(t.providedIn);return"string"==typeof e?"any"===e||this.scopes.has(e):this.injectorDefTypes.has(e)}}function Lp(n){const t=Lu(n),e=null!==t?t.factory:Ho(n);if(null!==e)return e;if(n instanceof P)throw new I(204,!1);if(n instanceof Function)return function rR(n){const t=n.length;if(t>0)throw $l(t,"?"),new I(204,!1);const e=function ek(n){const t=n&&(n[Nu]||n[Mv]);if(t){const e=function tk(n){if(n.hasOwnProperty("name"))return n.name;const t=(""+n).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(n);return console.warn(`DEPRECATED: DI is instantiating a token "${e}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${e}" class.`),t}return null}(n);return null!==e?()=>e.factory(n):()=>new n}(n);throw new I(204,!1)}function Wb(n,t,e){let i;if(Go(n)){const r=J(n);return Ho(r)||Lp(r)}if(Rp(n))i=()=>J(n.useValue);else if(function Ub(n){return!(!n||!n.useFactory)}(n))i=()=>n.useFactory(...xp(n.deps||[]));else if(function Gb(n){return!(!n||!n.useExisting)}(n))i=()=>b(J(n.useExisting));else{const r=J(n&&(n.useClass||n.provide));if(!function sR(n){return!!n.deps}(n))return Ho(r)||Lp(r);i=()=>new r(...xp(n.deps))}return i}function fa(n,t,e=!1){return{factory:n,value:t,multi:e?[]:void 0}}function cR(n){return!!n.\u0275providers}function Np(n,t){for(const e of n)Array.isArray(e)?Np(e,t):cR(e)?Np(e.\u0275providers,t):t(e)}class Ql{}class qb{}class dR{resolveComponentFactory(t){throw function uR(n){const t=Error(`No component factory found for ${Ve(n)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=n,t}(t)}}let Uo=(()=>{class n{}return n.NULL=new dR,n})();function hR(){return pa(Mt(),R())}function pa(n,t){return new j(Xn(n,t))}let j=(()=>{class n{constructor(e){this.nativeElement=e}}return n.__NG_ELEMENT_ID__=hR,n})();function fR(n){return n instanceof j?n.nativeElement:n}class zo{}let qt=(()=>{class n{}return n.__NG_ELEMENT_ID__=()=>function pR(){const n=R(),e=On(Mt().index,n);return(Cn(e)?e:n)[11]}(),n})(),gR=(()=>{class n{}return n.\u0275prov=k({token:n,providedIn:"root",factory:()=>null}),n})();class so{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const mR=new so("14.2.2"),Vp={};function Gp(n){return n.ngOriginalError}class wr{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t);this._console.error("ERROR",t),e&&this._console.error("ORIGINAL ERROR",e)}_findOriginalError(t){let e=t&&Gp(t);for(;e&&Gp(e);)e=Gp(e);return e||null}}const Up=new Map;let AR=0;const Wp="__ngContext__";function Yt(n,t){Cn(t)?(n[Wp]=t[20],function IR(n){Up.set(n[20],n)}(t)):n[Wp]=t}function Jn(n){return n.ownerDocument.defaultView}function xr(n){return n instanceof Function?n():n}var wn=(()=>((wn=wn||{})[wn.Important=1]="Important",wn[wn.DashCase=2]="DashCase",wn))();function Yp(n,t){return undefined(n,t)}function Zl(n){const t=n[3];return Ci(t)?t[3]:t}function Qp(n){return lC(n[13])}function Kp(n){return lC(n[4])}function lC(n){for(;null!==n&&!Ci(n);)n=n[4];return n}function ma(n,t,e,i,r){if(null!=i){let o,s=!1;Ci(i)?o=i:Cn(i)&&(s=!0,i=i[0]);const a=mt(i);0===n&&null!==e?null==r?pC(t,e,a):Wo(t,e,a,r||null,!0):1===n&&null!==e?Wo(t,e,a,r||null,!0):2===n?function CC(n,t,e){const i=hd(n,t);i&&function nO(n,t,e,i){n.removeChild(t,e,i)}(n,i,t,e)}(t,a,s):3===n&&t.destroyNode(a),null!=o&&function oO(n,t,e,i,r){const o=e[7];o!==mt(e)&&ma(t,n,i,o,r);for(let a=10;a0&&(n[e-1][4]=i[4]);const o=td(n,10+t);!function YR(n,t){Xl(n,t,t[11],2,null,null),t[0]=null,t[6]=null}(i[1],i);const s=o[19];null!==s&&s.detachView(o[1]),i[3]=null,i[4]=null,i[2]&=-65}return i}function dC(n,t){if(!(128&t[2])){const e=t[11];e.destroyNode&&Xl(n,t,e,3,null,null),function ZR(n){let t=n[13];if(!t)return eg(n[1],n);for(;t;){let e=null;if(Cn(t))e=t[13];else{const i=t[10];i&&(e=i)}if(!e){for(;t&&!t[4]&&t!==n;)Cn(t)&&eg(t[1],t),t=t[3];null===t&&(t=n),Cn(t)&&eg(t[1],t),e=t&&t[4]}t=e}}(t)}}function eg(n,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function tO(n,t){let e;if(null!=n&&null!=(e=n.destroyHooks))for(let i=0;i=0?i[r=c]():i[r=-c].unsubscribe(),o+=2}else{const s=i[r=e[o+1]];e[o].call(s)}if(null!==i){for(let o=r+1;oo?"":r[d+1].toLowerCase();const g=8&i?h:null;if(g&&-1!==DC(g,c,0)||2&i&&c!==h){if(xi(i))return!1;s=!0}}}}else{if(!s&&!xi(i)&&!xi(l))return!1;if(s&&xi(l))continue;s=!1,i=l|1&i}}return xi(i)||s}function xi(n){return 0==(1&n)}function uO(n,t,e,i){if(null===t)return-1;let r=0;if(i||!e){let o=!1;for(;r-1)for(e++;e0?'="'+a+'"':"")+"]"}else 8&i?r+="."+s:4&i&&(r+=" "+s);else""!==r&&!xi(s)&&(t+=AC(o,r),r=""),i=s,o=o||!xi(i);e++}return""!==r&&(t+=AC(o,r)),t}const ue={};function E(n){TC(Ie(),R(),cn()+n,!1)}function TC(n,t,e,i){if(!i)if(3==(3&t[2])){const o=n.preOrderCheckHooks;null!==o&&qu(t,o,e)}else{const o=n.preOrderHooks;null!==o&&Yu(t,o,0,e)}no(e)}function RC(n,t=null,e=null,i){const r=OC(n,t,e,i);return r.resolveInjectorInitializers(),r}function OC(n,t=null,e=null,i,r=new Set){const o=[e||Le,eR(n)];return i=i||("object"==typeof n?void 0:Ve(n)),new zb(o,t||dd(),i||null,r)}let Nt=(()=>{class n{static create(e,i){if(Array.isArray(e))return RC({name:""},i,e,"");{var r;const o=null!==(r=e.name)&&void 0!==r?r:"";return RC({name:o},e.parent,e.providers,o)}}}return n.THROW_IF_NOT_FOUND=jl,n.NULL=new Hb,n.\u0275prov=k({token:n,providedIn:"any",factory:()=>b(Vb)}),n.__NG_ELEMENT_ID__=-1,n})();function f(n,t=re.Default){const e=R();return null===e?b(n,t):sb(Mt(),e,J(n),t)}function qo(){throw new Error("invalid")}function md(n,t){return n<<17|t<<2}function Di(n){return n>>17&32767}function cg(n){return 2|n}function Dr(n){return(131068&n)>>2}function ug(n,t){return-131069&n|t<<2}function dg(n){return 1|n}function ZC(n,t){const e=n.contentQueries;if(null!==e)for(let i=0;i22&&TC(n,t,22,!1),e(i,r)}finally{no(o)}}function JC(n,t,e){if(Jf(t)){const r=t.directiveEnd;for(let o=t.directiveStart;o0;){const e=n[--t];if("number"==typeof e&&e<0)return e}return 0})(a)!=l&&a.push(l),a.push(i,r,s)}}function sw(n,t){null!==n.hostBindings&&n.hostBindings(1,t)}function aw(n,t){t.flags|=2,(n.components||(n.components=[])).push(t.index)}function a1(n,t,e){if(e){if(t.exportAs)for(let i=0;i0&&Eg(e)}}function Eg(n){for(let i=Qp(n);null!==i;i=Kp(i))for(let r=10;r0&&Eg(o)}const e=n[1].components;if(null!==e)for(let i=0;i0&&Eg(r)}}function p1(n,t){const e=On(t,n),i=e[1];(function g1(n,t){for(let e=t.length;e-1&&(Jp(t,i),td(e,i))}this._attachedToViewContainer=!1}dC(this._lView[1],this._lView)}onDestroy(t){tw(this._lView[1],this._lView,null,t)}markForCheck(){Sg(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){wd(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new I(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function KR(n,t){Xl(n,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new I(902,!1);this._appRef=t}}class m1 extends Jl{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;wd(t[1],t,t[8],!1)}checkNoChanges(){}get context(){return null}}class Ig extends Uo{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const e=$e(t);return new ec(e,this.ngModule)}}function gw(n){const t=[];for(let e in n)n.hasOwnProperty(e)&&t.push({propName:n[e],templateName:e});return t}class y1{constructor(t,e){this.injector=t,this.parentInjector=e}get(t,e,i){const r=this.injector.get(t,Vp,i);return r!==Vp||e===Vp?r:this.parentInjector.get(t,e,i)}}class ec extends qb{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=function mO(n){return n.map(gO).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return gw(this.componentDef.inputs)}get outputs(){return gw(this.componentDef.outputs)}create(t,e,i,r){var o;let s=(r=r||this.ngModule)instanceof oo?r:null===(o=r)||void 0===o?void 0:o.injector;s&&null!==this.componentDef.getStandaloneInjector&&(s=this.componentDef.getStandaloneInjector(s)||s);const a=s?new y1(t,s):t,l=a.get(zo,null);if(null===l)throw new I(407,!1);const c=a.get(gR,null),u=l.createRenderer(null,this.componentDef),d=this.componentDef.selectors[0][0]||"div",h=i?function KO(n,t,e){return n.selectRootElement(t,e===vi.ShadowDom)}(u,i,this.componentDef.encapsulation):Xp(l.createRenderer(null,this.componentDef),d,function _1(n){const t=n.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(d)),g=this.componentDef.onPush?288:272,_=xg(0,null,null,1,0,null,null,null,null,null),y=vd(null,_,null,g,null,null,l,u,c,a,null);let x,C;dp(y);try{const F=function C1(n,t,e,i,r,o){const s=e[1];e[22]=n;const l=ya(s,22,2,"#host",null),c=l.mergedAttrs=t.hostAttrs;null!==c&&(xd(l,c,!0),null!==n&&(Qu(r,n,c),null!==l.classes&&rg(r,n,l.classes),null!==l.styles&&xC(r,n,l.styles)));const u=i.createRenderer(n,t),d=vd(e,ew(t),null,t.onPush?32:16,e[22],l,i,u,o||null,null,null);return s.firstCreatePass&&(Ju(Nl(l,e),s,t.type),aw(s,l),lw(l,e.length,1)),Cd(e,d),e[22]=d}(h,this.componentDef,y,l,u);if(h)if(i)Qu(u,h,["ng-version",mR.full]);else{const{attrs:A,classes:N}=function _O(n){const t=[],e=[];let i=1,r=2;for(;i0&&rg(u,h,N.join(" "))}if(C=rp(_,22),void 0!==e){const A=C.projection=[];for(let N=0;N=0;i--){const r=n[i];r.hostVars=t+=r.hostVars,r.hostAttrs=Ku(r.hostAttrs,e=Ku(e,r.hostAttrs))}}(i)}function kg(n){return n===Ys?{}:n===Le?[]:n}function M1(n,t){const e=n.viewQuery;n.viewQuery=e?(i,r)=>{t(i,r),e(i,r)}:t}function E1(n,t){const e=n.contentQueries;n.contentQueries=e?(i,r,o)=>{t(i,r,o),e(i,r,o)}:t}function S1(n,t){const e=n.hostBindings;n.hostBindings=e?(i,r)=>{t(i,r),e(i,r)}:t}let Md=null;function Yo(){if(!Md){const n=ze.Symbol;if(n&&n.iterator)Md=n.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let e=0;ea(mt(oe[i.index])):i.index;let N=null;if(!a&&l&&(N=function B1(n,t,e,i){const r=n.cleanup;if(null!=r)for(let o=0;ol?a[l]:null}"string"==typeof s&&(o+=2)}return null}(n,t,r,i.index)),null!==N)(N.__ngLastListenerFn__||N).__ngNextListenerFn__=o,N.__ngLastListenerFn__=o,g=!1;else{o=Iw(i,t,d,o,!1);const oe=e.listen(C,r,o);h.push(o,oe),u&&u.push(r,A,F,F+1)}}else o=Iw(i,t,d,o,!1);const _=i.outputs;let y;if(g&&null!==_&&(y=_[r])){const x=y.length;if(x)for(let C=0;C0;)t=t[15],n--;return t}(n,le.lFrame.contextLView))[8]}(n)}function H1(n,t){let e=null;const i=function dO(n){const t=n.attrs;if(null!=t){const e=t.indexOf(5);if(0==(1&e))return t[e+1]}return null}(n);for(let r=0;r=0}const St={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Hw(n){return n.substring(St.key,St.keyEnd)}function $w(n,t){const e=St.textEnd;return e===t?-1:(t=St.keyEnd=function q1(n,t,e){for(;t32;)t++;return t}(n,St.key=t,e),Ta(n,t,e))}function Ta(n,t,e){for(;t=0;e=$w(t,e))Ln(n,Hw(t),!0)}function Ei(n,t,e,i){const r=R(),o=Ie(),s=vr(2);o.firstUpdatePass&&Yw(o,n,s,i),t!==ue&&Qt(r,s,t)&&Kw(o,o.data[cn()],r,r[11],n,r[s+1]=function iP(n,t){return null==n||("string"==typeof t?n+=t:"object"==typeof n&&(n=Ve(Nn(n)))),n}(t,e),i,s)}function Si(n,t,e,i){const r=Ie(),o=vr(2);r.firstUpdatePass&&Yw(r,null,o,i);const s=R();if(e!==ue&&Qt(s,o,e)){const a=r.data[cn()];if(Xw(a,i)&&!qw(r,o)){let l=i?a.classesWithoutHost:a.stylesWithoutHost;null!==l&&(e=Jr(l,e||"")),Rg(r,a,s,e,i)}else!function nP(n,t,e,i,r,o,s,a){r===ue&&(r=Le);let l=0,c=0,u=0=n.expandoStartIndex}function Yw(n,t,e,i){const r=n.data;if(null===r[e+1]){const o=r[cn()],s=qw(n,e);Xw(o,i)&&null===t&&!s&&(t=!1),t=function Z1(n,t,e,i){const r=function cp(n){const t=le.lFrame.currentDirectiveIndex;return-1===t?null:n[t]}(n);let o=i?t.residualClasses:t.residualStyles;if(null===r)0===(i?t.classBindings:t.styleBindings)&&(e=rc(e=Pg(null,n,t,e,i),t.attrs,i),o=null);else{const s=t.directiveStylingLast;if(-1===s||n[s]!==r)if(e=Pg(r,n,t,e,i),null===o){let l=function X1(n,t,e){const i=e?t.classBindings:t.styleBindings;if(0!==Dr(i))return n[Di(i)]}(n,t,i);void 0!==l&&Array.isArray(l)&&(l=Pg(null,n,t,l[1],i),l=rc(l,t.attrs,i),function J1(n,t,e,i){n[Di(e?t.classBindings:t.styleBindings)]=i}(n,t,i,l))}else o=function eP(n,t,e){let i;const r=t.directiveEnd;for(let o=1+t.directiveStylingLast;o0)&&(c=!0)}else u=e;if(r)if(0!==l){const h=Di(n[a+1]);n[i+1]=md(h,a),0!==h&&(n[h+1]=ug(n[h+1],i)),n[a+1]=function LO(n,t){return 131071&n|t<<17}(n[a+1],i)}else n[i+1]=md(a,0),0!==a&&(n[a+1]=ug(n[a+1],i)),a=i;else n[i+1]=md(l,0),0===a?a=i:n[l+1]=ug(n[l+1],i),l=i;c&&(n[i+1]=cg(n[i+1])),Bw(n,u,i,!0),Bw(n,u,i,!1),function j1(n,t,e,i,r){const o=r?n.residualClasses:n.residualStyles;null!=o&&"string"==typeof t&&la(o,t)>=0&&(e[i+1]=dg(e[i+1]))}(t,u,n,i,o),s=md(a,l),o?t.classBindings=s:t.styleBindings=s}(r,o,t,e,s,i)}}function Pg(n,t,e,i,r){let o=null;const s=e.directiveEnd;let a=e.directiveStylingLast;for(-1===a?a=e.directiveStart:a++;a0;){const l=n[r],c=Array.isArray(l),u=c?l[1]:l,d=null===u;let h=e[r+1];h===ue&&(h=d?Le:void 0);let g=d?bp(h,i):u===i?h:void 0;if(c&&!Ad(g)&&(g=bp(l,i)),Ad(g)&&(a=g,s))return a;const _=n[r+1];r=s?Di(_):Dr(_)}if(null!==t){let l=o?t.residualClasses:t.residualStyles;null!=l&&(a=bp(l,i))}return a}function Ad(n){return void 0!==n}function Xw(n,t){return 0!=(n.flags&(t?16:32))}function V(n,t=""){const e=R(),i=Ie(),r=n+22,o=i.firstCreatePass?ya(i,r,1,t,null):i.data[r],s=e[r]=function Zp(n,t){return n.createText(t)}(e[11],t);fd(i,e,s,o),ji(o,!1)}function Ne(n){return xn("",n,""),Ne}function xn(n,t,e){const i=R(),r=Ca(i,n,t,e);return r!==ue&&Mr(i,cn(),r),xn}function Td(n,t,e,i,r){const o=R(),s=function wa(n,t,e,i,r,o){const a=Qo(n,yr(),e,r);return vr(2),a?t+ee(e)+i+ee(r)+o:ue}(o,n,t,e,i,r);return s!==ue&&Mr(o,cn(),s),Td}function Ia(n,t,e){const i=R();return Qt(i,ea(),t)&&Vn(Ie(),lt(),i,n,t,i[11],e,!0),Ia}const Zo=void 0;var CP=["en",[["a","p"],["AM","PM"],Zo],[["AM","PM"],Zo,Zo],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Zo,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Zo,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Zo,"{1} 'at' {0}",Zo],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function bP(n){const e=Math.floor(Math.abs(n)),i=n.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===i?1:5}];let ka={};function dn(n){const t=function wP(n){return n.toLowerCase().replace(/_/g,"-")}(n);let e=b0(t);if(e)return e;const i=t.split("-")[0];if(e=b0(i),e)return e;if("en"===i)return CP;throw new I(701,!1)}function b0(n){return n in ka||(ka[n]=ze.ng&&ze.ng.common&&ze.ng.common.locales&&ze.ng.common.locales[n]),ka[n]}var $=(()=>(($=$||{})[$.LocaleId=0]="LocaleId",$[$.DayPeriodsFormat=1]="DayPeriodsFormat",$[$.DayPeriodsStandalone=2]="DayPeriodsStandalone",$[$.DaysFormat=3]="DaysFormat",$[$.DaysStandalone=4]="DaysStandalone",$[$.MonthsFormat=5]="MonthsFormat",$[$.MonthsStandalone=6]="MonthsStandalone",$[$.Eras=7]="Eras",$[$.FirstDayOfWeek=8]="FirstDayOfWeek",$[$.WeekendRange=9]="WeekendRange",$[$.DateFormat=10]="DateFormat",$[$.TimeFormat=11]="TimeFormat",$[$.DateTimeFormat=12]="DateTimeFormat",$[$.NumberSymbols=13]="NumberSymbols",$[$.NumberFormats=14]="NumberFormats",$[$.CurrencyCode=15]="CurrencyCode",$[$.CurrencySymbol=16]="CurrencySymbol",$[$.CurrencyName=17]="CurrencyName",$[$.Currencies=18]="Currencies",$[$.Directionality=19]="Directionality",$[$.PluralCase=20]="PluralCase",$[$.ExtraData=21]="ExtraData",$))();const Fa="en-US";let C0=Fa;function Vg(n,t,e,i,r){if(n=J(n),Array.isArray(n))for(let o=0;o>20;if(Go(n)||!n.multi){const g=new Pl(l,r,f),_=Hg(a,t,r?u:u+h,d);-1===_?(Ju(Nl(c,s),o,a),Bg(o,n,t.length),t.push(a),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),e.push(g),s.push(g)):(e[_]=g,s[_]=g)}else{const g=Hg(a,t,u+h,d),_=Hg(a,t,u,u+h),y=g>=0&&e[g],x=_>=0&&e[_];if(r&&!x||!r&&!y){Ju(Nl(c,s),o,a);const C=function vL(n,t,e,i,r){const o=new Pl(n,e,f);return o.multi=[],o.index=t,o.componentProviders=0,W0(o,r,i&&!e),o}(r?yL:_L,e.length,r,i,l);!r&&x&&(e[_].providerFactory=C),Bg(o,n,t.length,0),t.push(a),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),e.push(C),s.push(C)}else Bg(o,n,g>-1?g:_,W0(e[r?_:g],l,!r&&i));!r&&i&&x&&e[_].componentProviders++}}}function Bg(n,t,e,i){const r=Go(t),o=function nR(n){return!!n.useClass}(t);if(r||o){const l=(o?J(t.useClass):t).prototype.ngOnDestroy;if(l){const c=n.destroyHooks||(n.destroyHooks=[]);if(!r&&t.multi){const u=c.indexOf(e);-1===u?c.push(e,[i,l]):c[u+1].push(i,l)}else c.push(e,l)}}}function W0(n,t,e){return e&&n.componentProviders++,n.multi.push(t)-1}function Hg(n,t,e,i){for(let r=e;r{e.providersResolver=(i,r)=>function mL(n,t,e){const i=Ie();if(i.firstCreatePass){const r=wi(n);Vg(e,i.data,i.blueprint,r,!0),Vg(t,i.data,i.blueprint,r,!1)}}(i,r?r(n):n,t)}}class Xo{}class q0{}class Y0 extends Xo{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Ig(this);const i=Fn(t);this._bootstrapComponents=xr(i.bootstrap),this._r3Injector=OC(t,e,[{provide:Xo,useValue:this},{provide:Uo,useValue:this.componentFactoryResolver}],Ve(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class jg extends q0{constructor(t){super(),this.moduleType=t}create(t){return new Y0(this.moduleType,t)}}class CL extends Xo{constructor(t,e,i){super(),this.componentFactoryResolver=new Ig(this),this.instance=null;const r=new zb([...t,{provide:Xo,useValue:this},{provide:Uo,useValue:this.componentFactoryResolver}],e||dd(),i,new Set(["environment"]));this.injector=r,r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function Od(n,t,e=null){return new CL(n,t,e).injector}let wL=(()=>{class n{constructor(e){this._injector=e,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e.id)){const i=$b(0,e.type),r=i.length>0?Od([i],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e.id,r)}return this.cachedInjectors.get(e.id)}ngOnDestroy(){try{for(const e of this.cachedInjectors.values())null!==e&&e.destroy()}finally{this.cachedInjectors.clear()}}}return n.\u0275prov=k({token:n,providedIn:"environment",factory:()=>new n(b(oo))}),n})();function Q0(n){n.getStandaloneInjector=t=>t.get(wL).getOrCreateStandaloneInjector(n)}function Ai(n,t,e,i){return rx(R(),ln(),n,t,e,i)}function ix(n,t,e,i,r,o,s,a){const l=ln()+n,c=R(),u=function ei(n,t,e,i,r,o){const s=Qo(n,t,e,i);return Qo(n,t+2,r,o)||s}(c,l,e,i,r,o);return Qt(c,l+4,s)||u?qi(c,l+5,a?t.call(a,e,i,r,o,s):t(e,i,r,o,s)):function nc(n,t){return n[t]}(c,l+5)}function uc(n,t){const e=n[t];return e===ue?void 0:e}function rx(n,t,e,i,r,o){const s=t+e;return Qt(n,s,r)?qi(n,s+1,o?i.call(o,r):i(r)):uc(n,s+1)}function ox(n,t,e,i,r,o,s){const a=t+e;return Qo(n,a,r,o)?qi(n,a+2,s?i.call(s,r,o):i(r,o)):uc(n,a+2)}function Xi(n,t){const e=Ie();let i;const r=n+22;e.firstCreatePass?(i=function VL(n,t){if(t)for(let e=t.length-1;e>=0;e--){const i=t[e];if(n===i.name)return i}}(t,e.pipeRegistry),e.data[r]=i,i.onDestroy&&(e.destroyHooks||(e.destroyHooks=[])).push(r,i.onDestroy)):i=e.data[r];const o=i.factory||(i.factory=Ho(i.type)),s=Qn(f);try{const a=Zu(!1),l=o();return Zu(a),function L1(n,t,e,i){e>=n.data.length&&(n.data[e]=null,n.blueprint[e]=null),t[e]=i}(e,R(),r,l),l}finally{Qn(s)}}function Ra(n,t,e){const i=n+22,r=R(),o=Js(r,i);return hc(r,i)?rx(r,ln(),t,o.transform,e,o):o.transform(e)}function dc(n,t,e,i){const r=n+22,o=R(),s=Js(o,r);return hc(o,r)?ox(o,ln(),t,s.transform,e,i,s):s.transform(e,i)}function hc(n,t){return n[1].data[t].pure}function Ug(n){return t=>{setTimeout(n,void 0,t)}}const he=class jL extends ce{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,i){let r=t,o=e||(()=>null),s=i;if(t&&"object"==typeof t){var a,l,c;const d=t;r=null===(a=d.next)||void 0===a?void 0:a.bind(d),o=null===(l=d.error)||void 0===l?void 0:l.bind(d),s=null===(c=d.complete)||void 0===c?void 0:c.bind(d)}this.__isAsync&&(o=Ug(o),r&&(r=Ug(r)),s&&(s=Ug(s)));const u=super.subscribe({next:r,error:o,complete:s});return t instanceof Ce&&t.add(u),u}};function GL(){return this._results[Yo()]()}class fc{constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const e=Yo(),i=fc.prototype;i[e]||(i[e]=GL)}get changes(){return this._changes||(this._changes=new he)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,e){return this._results.reduce(t,e)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,e){const i=this;i.dirty=!1;const r=Pn(t);(this._changesDetected=!function eF(n,t,e){if(n.length!==t.length)return!1;for(let i=0;i{class n{}return n.__NG_ELEMENT_ID__=WL,n})();const UL=Ti,zL=class extends UL{constructor(t,e,i){super(),this._declarationLView=t,this._declarationTContainer=e,this.elementRef=i}createEmbeddedView(t,e){const i=this._declarationTContainer.tViews,r=vd(this._declarationLView,i,t,16,null,i.declTNode,null,null,null,null,e||null);r[17]=this._declarationLView[this._declarationTContainer.index];const s=this._declarationLView[19];return null!==s&&(r[19]=s.createEmbeddedView(i)),bg(i,r,t),new Jl(r)}};function WL(){return Pd(Mt(),R())}function Pd(n,t){return 4&n.type?new zL(t,n,pa(n,t)):null}let At=(()=>{class n{}return n.__NG_ELEMENT_ID__=qL,n})();function qL(){return dx(Mt(),R())}const YL=At,cx=class extends YL{constructor(t,e,i){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=i}get element(){return pa(this._hostTNode,this._hostLView)}get injector(){return new ia(this._hostTNode,this._hostLView)}get parentInjector(){const t=Xu(this._hostTNode,this._hostLView);if(tb(t)){const e=na(t,this._hostLView),i=ta(t);return new ia(e[1].data[i+8],e)}return new ia(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const e=ux(this._lContainer);return null!==e&&e[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,e,i){let r,o;"number"==typeof i?r=i:null!=i&&(r=i.index,o=i.injector);const s=t.createEmbeddedView(e||{},o);return this.insert(s,r),s}createComponent(t,e,i,r,o){const s=t&&!function Hl(n){return"function"==typeof n}(t);let a;if(s)a=e;else{const d=e||{};a=d.index,i=d.injector,r=d.projectableNodes,o=d.environmentInjector||d.ngModuleRef}const l=s?t:new ec($e(t)),c=i||this.parentInjector;if(!o&&null==l.ngModule){const h=(s?c:this.parentInjector).get(oo,null);h&&(o=h)}const u=l.create(c,r,void 0,o);return this.insert(u.hostView,a),u}insert(t,e){const i=t._lView,r=i[1];if(function xk(n){return Ci(n[3])}(i)){const u=this.indexOf(t);if(-1!==u)this.detach(u);else{const d=i[3],h=new cx(d,d[6],d[3]);h.detach(h.indexOf(t))}}const o=this._adjustIndex(e),s=this._lContainer;!function XR(n,t,e,i){const r=10+i,o=e.length;i>0&&(e[r-1][4]=t),i0)i.push(s[a/2]);else{const c=o[a+1],u=t[-l];for(let d=10;d{class n{constructor(e){this.appInits=e,this.resolve=Nd,this.reject=Nd,this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,r)=>{this.resolve=i,this.reject=r})}runInitializers(){if(this.initialized)return;const e=[],i=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let r=0;r{o.subscribe({complete:a,error:l})});e.push(s)}}Promise.all(e).then(()=>{i()}).catch(r=>{this.reject(r)}),0===e.length&&i(),this.initialized=!0}}return n.\u0275fac=function(e){return new(e||n)(b(Vd,8))},n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const Na=new P("AppId",{providedIn:"root",factory:function Px(){return`${tm()}${tm()}${tm()}`}});function tm(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Lx=new P("Platform Initializer"),$n=new P("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),nm=new P("appBootstrapListener"),ni=new P("AnimationModuleType");let wN=(()=>{class n{log(e){console.log(e)}warn(e){console.warn(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})();const Ji=new P("LocaleId",{providedIn:"root",factory:()=>Ue(Ji,re.Optional|re.SkipSelf)||function xN(){return typeof $localize<"u"&&$localize.locale||Fa}()});class MN{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}let im=(()=>{class n{compileModuleSync(e){return new jg(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){const i=this.compileModuleSync(e),o=xr(Fn(e).declarations).reduce((s,a)=>{const l=$e(a);return l&&s.push(new ec(l)),s},[]);return new MN(i,o)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const AN=(()=>Promise.resolve(0))();function rm(n){typeof Zone>"u"?AN.then(()=>{n&&n.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",n)}class de{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new he(!1),this.onMicrotaskEmpty=new he(!1),this.onStable=new he(!1),this.onError=new he(!1),typeof Zone>"u")throw new I(908,!1);Zone.assertZonePatched();const r=this;if(r._nesting=0,r._outer=r._inner=Zone.current,Zone.AsyncStackTaggingZoneSpec){const o=Zone.AsyncStackTaggingZoneSpec;r._inner=r._inner.fork(new o("Angular"))}Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!i&&e,r.shouldCoalesceRunChangeDetection=i,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function TN(){let n=ze.requestAnimationFrame,t=ze.cancelAnimationFrame;if(typeof Zone<"u"&&n&&t){const e=n[Zone.__symbol__("OriginalDelegate")];e&&(n=e);const i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function FN(n){const t=()=>{!function kN(n){n.isCheckStableRunning||-1!==n.lastRequestAnimationFrameId||(n.lastRequestAnimationFrameId=n.nativeRequestAnimationFrame.call(ze,()=>{n.fakeTopEventTask||(n.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{n.lastRequestAnimationFrameId=-1,sm(n),n.isCheckStableRunning=!0,om(n),n.isCheckStableRunning=!1},void 0,()=>{},()=>{})),n.fakeTopEventTask.invoke()}),sm(n))}(n)};n._inner=n._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(e,i,r,o,s,a)=>{try{return Bx(n),e.invokeTask(r,o,s,a)}finally{(n.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||n.shouldCoalesceRunChangeDetection)&&t(),Hx(n)}},onInvoke:(e,i,r,o,s,a,l)=>{try{return Bx(n),e.invoke(r,o,s,a,l)}finally{n.shouldCoalesceRunChangeDetection&&t(),Hx(n)}},onHasTask:(e,i,r,o)=>{e.hasTask(r,o),i===r&&("microTask"==o.change?(n._hasPendingMicrotasks=o.microTask,sm(n),om(n)):"macroTask"==o.change&&(n.hasPendingMacrotasks=o.macroTask))},onHandleError:(e,i,r,o)=>(e.handleError(r,o),n.runOutsideAngular(()=>n.onError.emit(o)),!1)})}(r)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!de.isInAngularZone())throw new I(909,!1)}static assertNotInAngularZone(){if(de.isInAngularZone())throw new I(909,!1)}run(t,e,i){return this._inner.run(t,e,i)}runTask(t,e,i,r){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+r,t,IN,Nd,Nd);try{return o.runTask(s,e,i)}finally{o.cancelTask(s)}}runGuarded(t,e,i){return this._inner.runGuarded(t,e,i)}runOutsideAngular(t){return this._outer.run(t)}}const IN={};function om(n){if(0==n._nesting&&!n.hasPendingMicrotasks&&!n.isStable)try{n._nesting++,n.onMicrotaskEmpty.emit(null)}finally{if(n._nesting--,!n.hasPendingMicrotasks)try{n.runOutsideAngular(()=>n.onStable.emit(null))}finally{n.isStable=!0}}}function sm(n){n.hasPendingMicrotasks=!!(n._hasPendingMicrotasks||(n.shouldCoalesceEventChangeDetection||n.shouldCoalesceRunChangeDetection)&&-1!==n.lastRequestAnimationFrameId)}function Bx(n){n._nesting++,n.isStable&&(n.isStable=!1,n.onUnstable.emit(null))}function Hx(n){n._nesting--,om(n)}class RN{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new he,this.onMicrotaskEmpty=new he,this.onStable=new he,this.onError=new he}run(t,e,i){return t.apply(e,i)}runGuarded(t,e,i){return t.apply(e,i)}runOutsideAngular(t){return t()}runTask(t,e,i,r){return t.apply(e,i)}}const $x=new P(""),Hd=new P("");let cm,am=(()=>{class n{constructor(e,i,r){this._ngZone=e,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,cm||(function ON(n){cm=n}(r),r.addToWindow(i)),this._watchAngularEvents(),e.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{de.assertNotInAngularZone(),rm(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())rm(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(this._didWork)}this._didWork=!1});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(e)||(clearTimeout(i.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,i,r){let o=-1;i&&i>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),e(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:e,timeoutId:o,updateCb:r})}whenStable(e,i,r){if(r&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(e,i,r),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(e){this.registry.registerApplication(e,this)}unregisterApplication(e){this.registry.unregisterApplication(e)}findProviders(e,i,r){return[]}}return n.\u0275fac=function(e){return new(e||n)(b(de),b(lm),b(Hd))},n.\u0275prov=k({token:n,factory:n.\u0275fac}),n})(),lm=(()=>{class n{constructor(){this._applications=new Map}registerApplication(e,i){this._applications.set(e,i)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,i=!0){var r,o;return null!==(r=null===(o=cm)||void 0===o?void 0:o.findTestabilityInTree(this,e,i))&&void 0!==r?r:null}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})(),co=null;const jx=new P("AllowMultipleToken"),um=new P("PlatformDestroyListeners");class Gx{constructor(t,e){this.name=t,this.token=e}}function zx(n,t,e=[]){const i=`Platform: ${t}`,r=new P(i);return(o=[])=>{let s=dm();if(!s||s.injector.get(jx,!1)){const a=[...e,...o,{provide:r,useValue:!0}];n?n(a):function NN(n){if(co&&!co.get(jx,!1))throw new I(400,!1);co=n;const t=n.get(qx);(function Ux(n){const t=n.get(Lx,null);t&&t.forEach(e=>e())})(n)}(function Wx(n=[],t){return Nt.create({name:t,providers:[{provide:Op,useValue:"platform"},{provide:um,useValue:new Set([()=>co=null])},...n]})}(a,i))}return function BN(n){const t=dm();if(!t)throw new I(401,!1);return t}()}}function dm(){var n,t;return null!==(n=null===(t=co)||void 0===t?void 0:t.get(qx))&&void 0!==n?n:null}let qx=(()=>{class n{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,i){const r=function Qx(n,t){let e;return e="noop"===n?new RN:("zone.js"===n?void 0:n)||new de(t),e}(i?.ngZone,function Yx(n){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!n||!n.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!n||!n.ngZoneRunCoalescing)||!1}}(i)),o=[{provide:de,useValue:r}];return r.run(()=>{const s=Nt.create({providers:o,parent:this.injector,name:e.moduleType.name}),a=e.create(s),l=a.injector.get(wr,null);if(!l)throw new I(402,!1);return r.runOutsideAngular(()=>{const c=r.onError.subscribe({next:u=>{l.handleError(u)}});a.onDestroy(()=>{$d(this._modules,a),c.unsubscribe()})}),function Kx(n,t,e){try{const i=e();return ic(i)?i.catch(r=>{throw t.runOutsideAngular(()=>n.handleError(r)),r}):i}catch(i){throw t.runOutsideAngular(()=>n.handleError(i)),i}}(l,r,()=>{const c=a.injector.get(Bd);return c.runInitializers(),c.donePromise.then(()=>(function w0(n){kn(n,"Expected localeId to be defined"),"string"==typeof n&&(C0=n.toLowerCase().replace(/_/g,"-"))}(a.injector.get(Ji,Fa)||Fa),this._moduleDoBootstrap(a),a))})})}bootstrapModule(e,i=[]){const r=Zx({},i);return function PN(n,t,e){const i=new jg(e);return Promise.resolve(i)}(0,0,e).then(o=>this.bootstrapModuleFactory(o,r))}_moduleDoBootstrap(e){const i=e.injector.get(Va);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>i.bootstrap(r));else{if(!e.instance.ngDoBootstrap)throw new I(403,!1);e.instance.ngDoBootstrap(i)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new I(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const e=this._injector.get(um,null);e&&(e.forEach(i=>i()),e.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return n.\u0275fac=function(e){return new(e||n)(b(Nt))},n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})();function Zx(n,t){return Array.isArray(t)?t.reduce(Zx,n):{...n,...t}}let Va=(()=>{class n{constructor(e,i,r){this._zone=e,this._injector=i,this._exceptionHandler=r,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const o=new Re(a=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{a.next(this._stable),a.complete()})}),s=new Re(a=>{let l;this._zone.runOutsideAngular(()=>{l=this._zone.onStable.subscribe(()=>{de.assertNotInAngularZone(),rm(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,a.next(!0))})})});const c=this._zone.onUnstable.subscribe(()=>{de.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{a.next(!1)}))});return()=>{l.unsubscribe(),c.unsubscribe()}});this.isStable=wt(o,s.pipe(gr()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(e,i){const r=e instanceof qb;if(!this._injector.get(Bd).done)throw!r&&function Qs(n){const t=$e(n)||sn(n)||an(n);return null!==t&&t.standalone}(e),new I(405,false);let s;s=r?e:this._injector.get(Uo).resolveComponentFactory(e),this.componentTypes.push(s.componentType);const a=function LN(n){return n.isBoundToModule}(s)?void 0:this._injector.get(Xo),c=s.create(Nt.NULL,[],i||s.selector,a),u=c.location.nativeElement,d=c.injector.get($x,null);return d?.registerApplication(u),c.onDestroy(()=>{this.detachView(c.hostView),$d(this.components,c),d?.unregisterApplication(u)}),this._loadComponent(c),c}tick(){if(this._runningTick)throw new I(101,!1);try{this._runningTick=!0;for(let e of this._views)e.detectChanges()}catch(e){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(e))}finally{this._runningTick=!1}}attachView(e){const i=e;this._views.push(i),i.attachToAppRef(this)}detachView(e){const i=e;$d(this._views,i),i.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(nm,[]).concat(this._bootstrapListeners).forEach(r=>r(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>$d(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new I(406,!1);const e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return n.\u0275fac=function(e){return new(e||n)(b(de),b(oo),b(wr))},n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function $d(n,t){const e=n.indexOf(t);e>-1&&n.splice(e,1)}let Jx=!0,eD=!1;function gc(){return eD=!0,Jx}let Dn=(()=>{class n{}return n.__NG_ELEMENT_ID__=jN,n})();function jN(n){return function GN(n,t,e){if(ju(n)&&!e){const i=On(n.index,t);return new Jl(i,i)}return 47&n.type?new Jl(t[16],t):null}(Mt(),R(),16==(16&n))}class rD{constructor(){}supports(t){return tc(t)}create(t){return new QN(t)}}const YN=(n,t)=>t;class QN{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||YN}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,i=this._removalsHead,r=0,o=null;for(;e||i;){const s=!i||e&&e.currentIndex{s=this._trackByFn(r,a),null!==e&&Object.is(e.trackById,s)?(i&&(e=this._verifyReinsertion(e,a,s,r)),Object.is(e.item,a)||this._addIdentityChange(e,a)):(e=this._mismatch(e,a,s,r),i=!0),e=e._next,r++}),this.length=r;return this._truncate(e),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,i,r){let o;return null===t?o=this._itTail:(o=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,o,r)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(i,r))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,o,r)):t=this._addAfter(new KN(e,i),o,r),t}_verifyReinsertion(t,e,i,r){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==o?t=this._reinsertAfter(o,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),t}_truncate(t){for(;null!==t;){const e=t._next;this._addToRemovals(this._unlink(t)),t=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,e,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const r=t._prevRemoved,o=t._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(t,e,i),this._addToMoves(t,i),t}_moveAfter(t,e,i){return this._unlink(t),this._insertAfter(t,e,i),this._addToMoves(t,i),t}_addAfter(t,e,i){return this._insertAfter(t,e,i),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,e,i){const r=null===e?this._itHead:e._next;return t._next=r,t._prev=e,null===r?this._itTail=t:r._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new oD),this._linkedRecords.put(t),t.currentIndex=i,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const e=t._prev,i=t._next;return null===e?this._itHead=i:e._next=i,null===i?this._itTail=e:i._prev=e,t}_addToMoves(t,e){return t.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new oD),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class KN{constructor(t,e){this.item=t,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class ZN{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,e){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===e||e<=i.currentIndex)&&Object.is(i.trackById,t))return i;return null}remove(t){const e=t._prevDup,i=t._nextDup;return null===e?this._head=i:e._nextDup=i,null===i?this._tail=e:i._prevDup=e,null===this._head}}class oD{constructor(){this.map=new Map}put(t){const e=t.trackById;let i=this.map.get(e);i||(i=new ZN,this.map.set(e,i)),i.add(t)}get(t,e){const r=this.map.get(t);return r?r.get(t,e):null}remove(t){const e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function sD(n,t,e){const i=n.previousIndex;if(null===i)return i;let r=0;return e&&i{if(e&&e.key===r)this._maybeAddToChanges(e,i),this._appendAfter=e,e=e._next;else{const o=this._getOrCreateRecordForKey(r,i);e=this._insertBeforeOrAppend(e,o)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let i=e;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,e){if(t){const i=t._prev;return e._next=t,e._prev=i,t._prev=e,i&&(i._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(t,e){if(this._records.has(t)){const r=this._records.get(t);this._maybeAddToChanges(r,e);const o=r._prev,s=r._next;return o&&(o._next=s),s&&(s._prev=o),r._next=null,r._prev=null,r}const i=new JN(t);return this._records.set(t,i),i.currentValue=e,this._addToAdditions(i),i}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,e){Object.is(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(i=>e(t[i],i))}}class JN{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function lD(){return new mc([new rD])}let mc=(()=>{class n{constructor(e){this.factories=e}static create(e,i){if(null!=i){const r=i.factories.slice();e=e.concat(r)}return new n(e)}static extend(e){return{provide:n,useFactory:i=>n.create(e,i||lD()),deps:[[n,new ua,new ro]]}}find(e){const i=this.factories.find(r=>r.supports(e));if(null!=i)return i;throw new I(901,!1)}}return n.\u0275prov=k({token:n,providedIn:"root",factory:lD}),n})();function cD(){return new es([new aD])}let es=(()=>{class n{constructor(e){this.factories=e}static create(e,i){if(i){const r=i.factories.slice();e=e.concat(r)}return new n(e)}static extend(e){return{provide:n,useFactory:i=>n.create(e,i||cD()),deps:[[n,new ua,new ro]]}}find(e){const i=this.factories.find(r=>r.supports(e));if(i)return i;throw new I(901,!1)}}return n.\u0275prov=k({token:n,providedIn:"root",factory:cD}),n})();const nV=zx(null,"core",[]);let iV=(()=>{class n{constructor(e){}}return n.\u0275fac=function(e){return new(e||n)(b(Va))},n.\u0275mod=Z({type:n}),n.\u0275inj=K({}),n})();function Ar(n){return"boolean"==typeof n?n:null!=n&&"false"!==n}let Ud=null;function er(){return Ud}const ae=new P("DocumentToken");let zd=(()=>{class n{historyGo(e){throw new Error("Not implemented")}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=k({token:n,factory:function(){return function aV(){return b(uD)}()},providedIn:"platform"}),n})();const lV=new P("Location Initialized");let uD=(()=>{class n extends zd{constructor(e){super(),this._doc=e,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return er().getBaseHref(this._doc)}onPopState(e){const i=er().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",e,!1),()=>i.removeEventListener("popstate",e)}onHashChange(e){const i=er().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",e,!1),()=>i.removeEventListener("hashchange",e)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(e){this.location.pathname=e}pushState(e,i,r){dD()?this._history.pushState(e,i,r):this.location.hash=r}replaceState(e,i,r){dD()?this._history.replaceState(e,i,r):this.location.hash=r}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}}return n.\u0275fac=function(e){return new(e||n)(b(ae))},n.\u0275prov=k({token:n,factory:function(){return function cV(){return new uD(b(ae))}()},providedIn:"platform"}),n})();function dD(){return!!window.history.pushState}function mm(n,t){if(0==n.length)return t;if(0==t.length)return n;let e=0;return n.endsWith("/")&&e++,t.startsWith("/")&&e++,2==e?n+t.substring(1):1==e?n+t:n+"/"+t}function hD(n){const t=n.match(/#|\?|$/),e=t&&t.index||n.length;return n.slice(0,e-("/"===n[e-1]?1:0))+n.slice(e)}function Tr(n){return n&&"?"!==n[0]?"?"+n:n}let ts=(()=>{class n{historyGo(e){throw new Error("Not implemented")}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=k({token:n,factory:function(){return Ue(fD)},providedIn:"root"}),n})();const _m=new P("appBaseHref");let fD=(()=>{class n extends ts{constructor(e,i){var r,o,s;super(),this._platformLocation=e,this._removeListenerFns=[],this._baseHref=null!==(r=null!==(o=i??this._platformLocation.getBaseHrefFromDOM())&&void 0!==o?o:null===(s=Ue(ae).location)||void 0===s?void 0:s.origin)&&void 0!==r?r:""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return mm(this._baseHref,e)}path(e=!1){const i=this._platformLocation.pathname+Tr(this._platformLocation.search),r=this._platformLocation.hash;return r&&e?`${i}${r}`:i}pushState(e,i,r,o){const s=this.prepareExternalUrl(r+Tr(o));this._platformLocation.pushState(e,i,s)}replaceState(e,i,r,o){const s=this.prepareExternalUrl(r+Tr(o));this._platformLocation.replaceState(e,i,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){var i,r;null===(i=(r=this._platformLocation).historyGo)||void 0===i||i.call(r,e)}}return n.\u0275fac=function(e){return new(e||n)(b(zd),b(_m,8))},n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),uV=(()=>{class n extends ts{constructor(e,i){super(),this._platformLocation=e,this._baseHref="",this._removeListenerFns=[],null!=i&&(this._baseHref=i)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}path(e=!1){let i=this._platformLocation.hash;return null==i&&(i="#"),i.length>0?i.substring(1):i}prepareExternalUrl(e){const i=mm(this._baseHref,e);return i.length>0?"#"+i:i}pushState(e,i,r,o){let s=this.prepareExternalUrl(r+Tr(o));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(e,i,s)}replaceState(e,i,r,o){let s=this.prepareExternalUrl(r+Tr(o));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(e,i,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){var i,r;null===(i=(r=this._platformLocation).historyGo)||void 0===i||i.call(r,e)}}return n.\u0275fac=function(e){return new(e||n)(b(zd),b(_m,8))},n.\u0275prov=k({token:n,factory:n.\u0275fac}),n})(),Wd=(()=>{class n{constructor(e){this._subject=new he,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=e;const i=this._locationStrategy.getBaseHref();this._baseHref=hD(pD(i)),this._locationStrategy.onPopState(r=>{this._subject.emit({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){var e;null===(e=this._urlChangeSubscription)||void 0===e||e.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,i=""){return this.path()==this.normalize(e+Tr(i))}normalize(e){return n.stripTrailingSlash(function hV(n,t){return n&&t.startsWith(n)?t.substring(n.length):t}(this._baseHref,pD(e)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,i="",r=null){this._locationStrategy.pushState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Tr(i)),r)}replaceState(e,i="",r=null){this._locationStrategy.replaceState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Tr(i)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){var i,r;null===(i=(r=this._locationStrategy).historyGo)||void 0===i||i.call(r,e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)})),()=>{const i=this._urlChangeListeners.indexOf(e);var r;this._urlChangeListeners.splice(i,1),0===this._urlChangeListeners.length&&(null===(r=this._urlChangeSubscription)||void 0===r||r.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",i){this._urlChangeListeners.forEach(r=>r(e,i))}subscribe(e,i,r){return this._subject.subscribe({next:e,error:i,complete:r})}}return n.normalizeQueryParams=Tr,n.joinWithSlash=mm,n.stripTrailingSlash=hD,n.\u0275fac=function(e){return new(e||n)(b(ts))},n.\u0275prov=k({token:n,factory:function(){return function dV(){return new Wd(b(ts))}()},providedIn:"root"}),n})();function pD(n){return n.replace(/\/index.html$/,"")}var gt=(()=>((gt=gt||{})[gt.Format=0]="Format",gt[gt.Standalone=1]="Standalone",gt))(),Ee=(()=>((Ee=Ee||{})[Ee.Narrow=0]="Narrow",Ee[Ee.Abbreviated=1]="Abbreviated",Ee[Ee.Wide=2]="Wide",Ee[Ee.Short=3]="Short",Ee))(),it=(()=>((it=it||{})[it.Short=0]="Short",it[it.Medium=1]="Medium",it[it.Long=2]="Long",it[it.Full=3]="Full",it))(),ne=(()=>((ne=ne||{})[ne.Decimal=0]="Decimal",ne[ne.Group=1]="Group",ne[ne.List=2]="List",ne[ne.PercentSign=3]="PercentSign",ne[ne.PlusSign=4]="PlusSign",ne[ne.MinusSign=5]="MinusSign",ne[ne.Exponential=6]="Exponential",ne[ne.SuperscriptingExponent=7]="SuperscriptingExponent",ne[ne.PerMille=8]="PerMille",ne[ne.Infinity=9]="Infinity",ne[ne.NaN=10]="NaN",ne[ne.TimeSeparator=11]="TimeSeparator",ne[ne.CurrencyDecimal=12]="CurrencyDecimal",ne[ne.CurrencyGroup=13]="CurrencyGroup",ne))();function qd(n,t){return ri(dn(n)[$.DateFormat],t)}function Yd(n,t){return ri(dn(n)[$.TimeFormat],t)}function Qd(n,t){return ri(dn(n)[$.DateTimeFormat],t)}function ii(n,t){const e=dn(n),i=e[$.NumberSymbols][t];if(typeof i>"u"){if(t===ne.CurrencyDecimal)return e[$.NumberSymbols][ne.Decimal];if(t===ne.CurrencyGroup)return e[$.NumberSymbols][ne.Group]}return i}function mD(n){if(!n[$.ExtraData])throw new Error(`Missing extra locale data for the locale "${n[$.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function ri(n,t){for(let e=t;e>-1;e--)if(typeof n[e]<"u")return n[e];throw new Error("Locale data API: locale data undefined")}function vm(n){const[t,e]=n.split(":");return{hours:+t,minutes:+e}}const MV=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,_c={},EV=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var Tt=(()=>((Tt=Tt||{})[Tt.Short=0]="Short",Tt[Tt.ShortGMT=1]="ShortGMT",Tt[Tt.Long=2]="Long",Tt[Tt.Extended=3]="Extended",Tt))(),se=(()=>((se=se||{})[se.FullYear=0]="FullYear",se[se.Month=1]="Month",se[se.Date=2]="Date",se[se.Hours=3]="Hours",se[se.Minutes=4]="Minutes",se[se.Seconds=5]="Seconds",se[se.FractionalSeconds=6]="FractionalSeconds",se[se.Day=7]="Day",se))(),ge=(()=>((ge=ge||{})[ge.DayPeriods=0]="DayPeriods",ge[ge.Days=1]="Days",ge[ge.Months=2]="Months",ge[ge.Eras=3]="Eras",ge))();function SV(n,t,e,i){let r=function LV(n){if(vD(n))return n;if("number"==typeof n&&!isNaN(n))return new Date(n);if("string"==typeof n){if(n=n.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(n)){const[r,o=1,s=1]=n.split("-").map(a=>+a);return Kd(r,o-1,s)}const e=parseFloat(n);if(!isNaN(n-e))return new Date(e);let i;if(i=n.match(MV))return function NV(n){const t=new Date(0);let e=0,i=0;const r=n[8]?t.setUTCFullYear:t.setFullYear,o=n[8]?t.setUTCHours:t.setHours;n[9]&&(e=Number(n[9]+n[10]),i=Number(n[9]+n[11])),r.call(t,Number(n[1]),Number(n[2])-1,Number(n[3]));const s=Number(n[4]||0)-e,a=Number(n[5]||0)-i,l=Number(n[6]||0),c=Math.floor(1e3*parseFloat("0."+(n[7]||0)));return o.call(t,s,a,l,c),t}(i)}const t=new Date(n);if(!vD(t))throw new Error(`Unable to convert "${n}" into a date`);return t}(n);t=Ir(e,t)||t;let a,s=[];for(;t;){if(a=EV.exec(t),!a){s.push(t);break}{s=s.concat(a.slice(1));const u=s.pop();if(!u)break;t=u}}let l=r.getTimezoneOffset();i&&(l=yD(i,l),r=function PV(n,t,e){const i=e?-1:1,r=n.getTimezoneOffset();return function OV(n,t){return(n=new Date(n.getTime())).setMinutes(n.getMinutes()+t),n}(n,i*(yD(t,r)-r))}(r,i,!0));let c="";return s.forEach(u=>{const d=function RV(n){if(Cm[n])return Cm[n];let t;switch(n){case"G":case"GG":case"GGG":t=Ke(ge.Eras,Ee.Abbreviated);break;case"GGGG":t=Ke(ge.Eras,Ee.Wide);break;case"GGGGG":t=Ke(ge.Eras,Ee.Narrow);break;case"y":t=vt(se.FullYear,1,0,!1,!0);break;case"yy":t=vt(se.FullYear,2,0,!0,!0);break;case"yyy":t=vt(se.FullYear,3,0,!1,!0);break;case"yyyy":t=vt(se.FullYear,4,0,!1,!0);break;case"Y":t=eh(1);break;case"YY":t=eh(2,!0);break;case"YYY":t=eh(3);break;case"YYYY":t=eh(4);break;case"M":case"L":t=vt(se.Month,1,1);break;case"MM":case"LL":t=vt(se.Month,2,1);break;case"MMM":t=Ke(ge.Months,Ee.Abbreviated);break;case"MMMM":t=Ke(ge.Months,Ee.Wide);break;case"MMMMM":t=Ke(ge.Months,Ee.Narrow);break;case"LLL":t=Ke(ge.Months,Ee.Abbreviated,gt.Standalone);break;case"LLLL":t=Ke(ge.Months,Ee.Wide,gt.Standalone);break;case"LLLLL":t=Ke(ge.Months,Ee.Narrow,gt.Standalone);break;case"w":t=bm(1);break;case"ww":t=bm(2);break;case"W":t=bm(1,!0);break;case"d":t=vt(se.Date,1);break;case"dd":t=vt(se.Date,2);break;case"c":case"cc":t=vt(se.Day,1);break;case"ccc":t=Ke(ge.Days,Ee.Abbreviated,gt.Standalone);break;case"cccc":t=Ke(ge.Days,Ee.Wide,gt.Standalone);break;case"ccccc":t=Ke(ge.Days,Ee.Narrow,gt.Standalone);break;case"cccccc":t=Ke(ge.Days,Ee.Short,gt.Standalone);break;case"E":case"EE":case"EEE":t=Ke(ge.Days,Ee.Abbreviated);break;case"EEEE":t=Ke(ge.Days,Ee.Wide);break;case"EEEEE":t=Ke(ge.Days,Ee.Narrow);break;case"EEEEEE":t=Ke(ge.Days,Ee.Short);break;case"a":case"aa":case"aaa":t=Ke(ge.DayPeriods,Ee.Abbreviated);break;case"aaaa":t=Ke(ge.DayPeriods,Ee.Wide);break;case"aaaaa":t=Ke(ge.DayPeriods,Ee.Narrow);break;case"b":case"bb":case"bbb":t=Ke(ge.DayPeriods,Ee.Abbreviated,gt.Standalone,!0);break;case"bbbb":t=Ke(ge.DayPeriods,Ee.Wide,gt.Standalone,!0);break;case"bbbbb":t=Ke(ge.DayPeriods,Ee.Narrow,gt.Standalone,!0);break;case"B":case"BB":case"BBB":t=Ke(ge.DayPeriods,Ee.Abbreviated,gt.Format,!0);break;case"BBBB":t=Ke(ge.DayPeriods,Ee.Wide,gt.Format,!0);break;case"BBBBB":t=Ke(ge.DayPeriods,Ee.Narrow,gt.Format,!0);break;case"h":t=vt(se.Hours,1,-12);break;case"hh":t=vt(se.Hours,2,-12);break;case"H":t=vt(se.Hours,1);break;case"HH":t=vt(se.Hours,2);break;case"m":t=vt(se.Minutes,1);break;case"mm":t=vt(se.Minutes,2);break;case"s":t=vt(se.Seconds,1);break;case"ss":t=vt(se.Seconds,2);break;case"S":t=vt(se.FractionalSeconds,1);break;case"SS":t=vt(se.FractionalSeconds,2);break;case"SSS":t=vt(se.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=Xd(Tt.Short);break;case"ZZZZZ":t=Xd(Tt.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=Xd(Tt.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=Xd(Tt.Long);break;default:return null}return Cm[n]=t,t}(u);c+=d?d(r,e,l):"''"===u?"'":u.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function Kd(n,t,e){const i=new Date(0);return i.setFullYear(n,t,e),i.setHours(0,0,0),i}function Ir(n,t){const e=function fV(n){return dn(n)[$.LocaleId]}(n);if(_c[e]=_c[e]||{},_c[e][t])return _c[e][t];let i="";switch(t){case"shortDate":i=qd(n,it.Short);break;case"mediumDate":i=qd(n,it.Medium);break;case"longDate":i=qd(n,it.Long);break;case"fullDate":i=qd(n,it.Full);break;case"shortTime":i=Yd(n,it.Short);break;case"mediumTime":i=Yd(n,it.Medium);break;case"longTime":i=Yd(n,it.Long);break;case"fullTime":i=Yd(n,it.Full);break;case"short":const r=Ir(n,"shortTime"),o=Ir(n,"shortDate");i=Zd(Qd(n,it.Short),[r,o]);break;case"medium":const s=Ir(n,"mediumTime"),a=Ir(n,"mediumDate");i=Zd(Qd(n,it.Medium),[s,a]);break;case"long":const l=Ir(n,"longTime"),c=Ir(n,"longDate");i=Zd(Qd(n,it.Long),[l,c]);break;case"full":const u=Ir(n,"fullTime"),d=Ir(n,"fullDate");i=Zd(Qd(n,it.Full),[u,d])}return i&&(_c[e][t]=i),i}function Zd(n,t){return t&&(n=n.replace(/\{([^}]+)}/g,function(e,i){return null!=t&&i in t?t[i]:e})),n}function ki(n,t,e="-",i,r){let o="";(n<0||r&&n<=0)&&(r?n=1-n:(n=-n,o=e));let s=String(n);for(;s.length0||a>-e)&&(a+=e),n===se.Hours)0===a&&-12===e&&(a=12);else if(n===se.FractionalSeconds)return function AV(n,t){return ki(n,3).substring(0,t)}(a,t);const l=ii(s,ne.MinusSign);return ki(a,t,l,i,r)}}function Ke(n,t,e=gt.Format,i=!1){return function(r,o){return function IV(n,t,e,i,r,o){switch(e){case ge.Months:return function mV(n,t,e){const i=dn(n),o=ri([i[$.MonthsFormat],i[$.MonthsStandalone]],t);return ri(o,e)}(t,r,i)[n.getMonth()];case ge.Days:return function gV(n,t,e){const i=dn(n),o=ri([i[$.DaysFormat],i[$.DaysStandalone]],t);return ri(o,e)}(t,r,i)[n.getDay()];case ge.DayPeriods:const s=n.getHours(),a=n.getMinutes();if(o){const c=function bV(n){const t=dn(n);return mD(t),(t[$.ExtraData][2]||[]).map(i=>"string"==typeof i?vm(i):[vm(i[0]),vm(i[1])])}(t),u=function CV(n,t,e){const i=dn(n);mD(i);const o=ri([i[$.ExtraData][0],i[$.ExtraData][1]],t)||[];return ri(o,e)||[]}(t,r,i),d=c.findIndex(h=>{if(Array.isArray(h)){const[g,_]=h,y=s>=g.hours&&a>=g.minutes,x=s<_.hours||s===_.hours&&a<_.minutes;if(g.hours<_.hours){if(y&&x)return!0}else if(y||x)return!0}else if(h.hours===s&&h.minutes===a)return!0;return!1});if(-1!==d)return u[d]}return function pV(n,t,e){const i=dn(n),o=ri([i[$.DayPeriodsFormat],i[$.DayPeriodsStandalone]],t);return ri(o,e)}(t,r,i)[s<12?0:1];case ge.Eras:return function _V(n,t){return ri(dn(n)[$.Eras],t)}(t,i)[n.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${e}`)}}(r,o,n,t,e,i)}}function Xd(n){return function(t,e,i){const r=-1*i,o=ii(e,ne.MinusSign),s=r>0?Math.floor(r/60):Math.ceil(r/60);switch(n){case Tt.Short:return(r>=0?"+":"")+ki(s,2,o)+ki(Math.abs(r%60),2,o);case Tt.ShortGMT:return"GMT"+(r>=0?"+":"")+ki(s,1,o);case Tt.Long:return"GMT"+(r>=0?"+":"")+ki(s,2,o)+":"+ki(Math.abs(r%60),2,o);case Tt.Extended:return 0===i?"Z":(r>=0?"+":"")+ki(s,2,o)+":"+ki(Math.abs(r%60),2,o);default:throw new Error(`Unknown zone width "${n}"`)}}}function _D(n){return Kd(n.getFullYear(),n.getMonth(),n.getDate()+(4-n.getDay()))}function bm(n,t=!1){return function(e,i){let r;if(t){const o=new Date(e.getFullYear(),e.getMonth(),1).getDay()-1,s=e.getDate();r=1+Math.floor((s+o)/7)}else{const o=_D(e),s=function FV(n){const t=Kd(n,0,1).getDay();return Kd(n,0,1+(t<=4?4:11)-t)}(o.getFullYear()),a=o.getTime()-s.getTime();r=1+Math.round(a/6048e5)}return ki(r,n,ii(i,ne.MinusSign))}}function eh(n,t=!1){return function(e,i){return ki(_D(e).getFullYear(),n,ii(i,ne.MinusSign),t)}}const Cm={};function yD(n,t){n=n.replace(/:/g,"");const e=Date.parse("Jan 01, 1970 00:00:00 "+n)/6e4;return isNaN(e)?t:e}function vD(n){return n instanceof Date&&!isNaN(n.valueOf())}function xD(n,t){t=encodeURIComponent(t);for(const e of n.split(";")){const i=e.indexOf("="),[r,o]=-1==i?[e,""]:[e.slice(0,i),e.slice(i+1)];if(r.trim()===t)return decodeURIComponent(o)}return null}let ns=(()=>{class n{constructor(e,i,r,o){this._iterableDiffers=e,this._keyValueDiffers=i,this._ngEl=r,this._renderer=o,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof e?e.split(/\s+/):e,this._rawClass&&(tc(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){const e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}}_applyKeyValueChanges(e){e.forEachAddedItem(i=>this._toggleClass(i.key,i.currentValue)),e.forEachChangedItem(i=>this._toggleClass(i.key,i.currentValue)),e.forEachRemovedItem(i=>{i.previousValue&&this._toggleClass(i.key,!1)})}_applyIterableChanges(e){e.forEachAddedItem(i=>{if("string"!=typeof i.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${Ve(i.item)}`);this._toggleClass(i.item,!0)}),e.forEachRemovedItem(i=>this._toggleClass(i.item,!1))}_applyClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(i=>this._toggleClass(i,!0)):Object.keys(e).forEach(i=>this._toggleClass(i,!!e[i])))}_removeClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(i=>this._toggleClass(i,!1)):Object.keys(e).forEach(i=>this._toggleClass(i,!1)))}_toggleClass(e,i){(e=e.trim())&&e.split(/\s+/g).forEach(r=>{i?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}}return n.\u0275fac=function(e){return new(e||n)(f(mc),f(es),f(j),f(qt))},n.\u0275dir=T({type:n,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),n})(),DD=(()=>{class n{constructor(e){this._viewContainerRef=e,this.ngComponentOutlet=null}ngOnChanges(e){const{_viewContainerRef:i,ngComponentOutletNgModule:r,ngComponentOutletNgModuleFactory:o}=this;if(i.clear(),this._componentRef=void 0,this.ngComponentOutlet){const s=this.ngComponentOutletInjector||i.parentInjector;(e.ngComponentOutletNgModule||e.ngComponentOutletNgModuleFactory)&&(this._moduleRef&&this._moduleRef.destroy(),this._moduleRef=r?function bL(n,t){return new Y0(n,t??null)}(r,MD(s)):o?o.create(MD(s)):void 0),this._componentRef=i.createComponent(this.ngComponentOutlet,{index:i.length,injector:s,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngOnDestroy(){this._moduleRef&&this._moduleRef.destroy()}}return n.\u0275fac=function(e){return new(e||n)(f(At))},n.\u0275dir=T({type:n,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},standalone:!0,features:[nt]}),n})();function MD(n){return n.get(Xo).injector}class QV{constructor(t,e,i,r){this.$implicit=t,this.ngForOf=e,this.index=i,this.count=r}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let oi=(()=>{class n{constructor(e,i,r){this._viewContainer=e,this._template=i,this._differs=r,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const e=this._ngForOf;!this._differ&&e&&(this._differ=this._differs.find(e).create(this.ngForTrackBy))}if(this._differ){const e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){const i=this._viewContainer;e.forEachOperation((r,o,s)=>{if(null==r.previousIndex)i.createEmbeddedView(this._template,new QV(r.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)i.remove(null===o?void 0:o);else if(null!==o){const a=i.get(o);i.move(a,s),SD(a,r)}});for(let r=0,o=i.length;r{SD(i.get(r.currentIndex),r)})}static ngTemplateContextGuard(e,i){return!0}}return n.\u0275fac=function(e){return new(e||n)(f(At),f(Ti),f(mc))},n.\u0275dir=T({type:n,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),n})();function SD(n,t){n.context.$implicit=t.item}let si=(()=>{class n{constructor(e,i){this._viewContainer=e,this._context=new ZV,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){AD("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){AD("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(e,i){return!0}}return n.\u0275fac=function(e){return new(e||n)(f(At),f(Ti))},n.\u0275dir=T({type:n,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),n})();class ZV{constructor(){this.$implicit=null,this.ngIf=null}}function AD(n,t){if(t&&!t.createEmbeddedView)throw new Error(`${n} must be a TemplateRef, but received '${Ve(t)}'.`)}class Sm{constructor(t,e){this._viewContainerRef=t,this._templateRef=e,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()}}let vc=(()=>{class n{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(e){this._ngSwitch=e,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(e){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(e)}_matchCase(e){const i=e==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||i,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),i}_updateDefaultCases(e){if(this._defaultViews&&e!==this._defaultUsed){this._defaultUsed=e;for(let i=0;i{class n{constructor(e,i,r){this.ngSwitch=r,r._addCase(),this._view=new Sm(e,i)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return n.\u0275fac=function(e){return new(e||n)(f(At),f(Ti),f(vc,9))},n.\u0275dir=T({type:n,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),n})(),TD=(()=>{class n{constructor(e,i,r){r._addDefault(new Sm(e,i))}}return n.\u0275fac=function(e){return new(e||n)(f(At),f(Ti),f(vc,9))},n.\u0275dir=T({type:n,selectors:[["","ngSwitchDefault",""]],standalone:!0}),n})(),nh=(()=>{class n{constructor(e,i,r){this._ngEl=e,this._differs=i,this._renderer=r,this._ngStyle=null,this._differ=null}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){const e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,i){const[r,o]=e.split("."),s=-1===r.indexOf("-")?void 0:wn.DashCase;null!=i?this._renderer.setStyle(this._ngEl.nativeElement,r,o?`${i}${o}`:i,s):this._renderer.removeStyle(this._ngEl.nativeElement,r,s)}_applyChanges(e){e.forEachRemovedItem(i=>this._setStyle(i.key,null)),e.forEachAddedItem(i=>this._setStyle(i.key,i.currentValue)),e.forEachChangedItem(i=>this._setStyle(i.key,i.currentValue))}}return n.\u0275fac=function(e){return new(e||n)(f(j),f(es),f(qt))},n.\u0275dir=T({type:n,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),n})(),Tm=(()=>{class n{constructor(e){this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(e){if(e.ngTemplateOutlet||e.ngTemplateOutletInjector){const i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:r,ngTemplateOutletContext:o,ngTemplateOutletInjector:s}=this;this._viewRef=i.createEmbeddedView(r,o,s?{injector:s}:void 0)}else this._viewRef=null}else this._viewRef&&e.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return n.\u0275fac=function(e){return new(e||n)(f(At))},n.\u0275dir=T({type:n,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[nt]}),n})();function Fi(n,t){return new I(2100,!1)}class JV{createSubscription(t,e){return t.subscribe({next:e,error:i=>{throw i}})}dispose(t){t.unsubscribe()}}class eB{createSubscription(t,e){return t.then(e,i=>{throw i})}dispose(t){}}const tB=new eB,nB=new JV;let Ba=(()=>{class n{constructor(e){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=e}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(e){return this._obj?e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue:(e&&this._subscribe(e),this._latestValue)}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,i=>this._updateLatestValue(e,i))}_selectStrategy(e){if(ic(e))return tB;if(Ew(e))return nB;throw Fi()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,i){e===this._obj&&(this._latestValue=i,this._ref.markForCheck())}}return n.\u0275fac=function(e){return new(e||n)(f(Dn,16))},n.\u0275pipe=on({name:"async",type:n,pure:!1,standalone:!0}),n})();const aB=new P("DATE_PIPE_DEFAULT_TIMEZONE");let kD=(()=>{class n{constructor(e,i){this.locale=e,this.defaultTimezone=i}transform(e,i="mediumDate",r,o){if(null==e||""===e||e!=e)return null;try{var s;return SV(e,i,o||this.locale,null!==(s=r??this.defaultTimezone)&&void 0!==s?s:void 0)}catch(a){throw Fi()}}}return n.\u0275fac=function(e){return new(e||n)(f(Ji,16),f(aB,24))},n.\u0275pipe=on({name:"date",type:n,pure:!0,standalone:!0}),n})(),fn=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({}),n})();const RD="browser";function tr(n){return n===RD}function nr(n){return"server"===n}let CB=(()=>{class n{}return n.\u0275prov=k({token:n,providedIn:"root",factory:()=>new wB(b(ae),window)}),n})();class wB{constructor(t,e){this.document=t,this.window=e,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(!this.supportsScrolling())return;const e=function xB(n,t){const e=n.getElementById(t)||n.getElementsByName(t)[0];if(e)return e;if("function"==typeof n.createTreeWalker&&n.body&&(n.body.createShadowRoot||n.body.attachShadow)){const i=n.createTreeWalker(n.body,NodeFilter.SHOW_ELEMENT);let r=i.currentNode;for(;r;){const o=r.shadowRoot;if(o){const s=o.getElementById(t)||o.querySelector(`[name="${t}"]`);if(s)return s}r=i.nextNode()}}return null}(this.document,t);e&&(this.scrollToElement(e),e.focus())}setHistoryScrollRestoration(t){if(this.supportScrollRestoration()){const e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}}scrollToElement(t){const e=t.getBoundingClientRect(),i=e.left+this.window.pageXOffset,r=e.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(i-o[0],r-o[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const t=OD(this.window.history)||OD(Object.getPrototypeOf(this.window.history));return!(!t||!t.writable&&!t.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function OD(n){return Object.getOwnPropertyDescriptor(n,"scrollRestoration")}class PD{}class Om extends class $B extends class sV{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){!function oV(n){Ud||(Ud=n)}(new Om)}onAndCancel(t,e,i){return t.addEventListener(e,i,!1),()=>{t.removeEventListener(e,i,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}getBaseHref(t){const e=function jB(){return Cc=Cc||document.querySelector("base"),Cc?Cc.getAttribute("href"):null}();return null==e?null:function GB(n){rh=rh||document.createElement("a"),rh.setAttribute("href",n);const t=rh.pathname;return"/"===t.charAt(0)?t:`/${t}`}(e)}resetBaseElement(){Cc=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return xD(document.cookie,t)}}let rh,Cc=null;const BD=new P("TRANSITION_ID"),zB=[{provide:Vd,useFactory:function UB(n,t,e){return()=>{e.get(Bd).donePromise.then(()=>{const i=er(),r=t.querySelectorAll(`style[ng-transition="${n}"]`);for(let o=0;o{class n{build(){return new XMLHttpRequest}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=k({token:n,factory:n.\u0275fac}),n})();const oh=new P("EventManagerPlugins");let sh=(()=>{class n{constructor(e,i){this._zone=i,this._eventNameToPlugin=new Map,e.forEach(r=>r.manager=this),this._plugins=e.slice().reverse()}addEventListener(e,i,r){return this._findPluginFor(i).addEventListener(e,i,r)}addGlobalEventListener(e,i,r){return this._findPluginFor(i).addGlobalEventListener(e,i,r)}getZone(){return this._zone}_findPluginFor(e){const i=this._eventNameToPlugin.get(e);if(i)return i;const r=this._plugins;for(let o=0;o{class n{constructor(){this._stylesSet=new Set}addStyles(e){const i=new Set;e.forEach(r=>{this._stylesSet.has(r)||(this._stylesSet.add(r),i.add(r))}),this.onStylesAdded(i)}onStylesAdded(e){}getAllStyles(){return Array.from(this._stylesSet)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=k({token:n,factory:n.\u0275fac}),n})(),wc=(()=>{class n extends $D{constructor(e){super(),this._doc=e,this._hostNodes=new Map,this._hostNodes.set(e.head,[])}_addStylesToHost(e,i,r){e.forEach(o=>{const s=this._doc.createElement("style");s.textContent=o,r.push(i.appendChild(s))})}addHost(e){const i=[];this._addStylesToHost(this._stylesSet,e,i),this._hostNodes.set(e,i)}removeHost(e){const i=this._hostNodes.get(e);i&&i.forEach(jD),this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach((i,r)=>{this._addStylesToHost(e,r,i)})}ngOnDestroy(){this._hostNodes.forEach(e=>e.forEach(jD))}}return n.\u0275fac=function(e){return new(e||n)(b(ae))},n.\u0275prov=k({token:n,factory:n.\u0275fac}),n})();function jD(n){er().remove(n)}const Pm={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},Lm=/%COMP%/g;function ah(n,t,e){for(let i=0;i{if("__ngUnwrap__"===t)return n;!1===n(t)&&(t.preventDefault(),t.returnValue=!1)}}let lh=(()=>{class n{constructor(e,i,r){this.eventManager=e,this.sharedStylesHost=i,this.appId=r,this.rendererByCompId=new Map,this.defaultRenderer=new Nm(e)}createRenderer(e,i){if(!e||!i)return this.defaultRenderer;switch(i.encapsulation){case vi.Emulated:{let r=this.rendererByCompId.get(i.id);return r||(r=new JB(this.eventManager,this.sharedStylesHost,i,this.appId),this.rendererByCompId.set(i.id,r)),r.applyToHost(e),r}case 1:case vi.ShadowDom:return new e2(this.eventManager,this.sharedStylesHost,e,i);default:if(!this.rendererByCompId.has(i.id)){const r=ah(i.id,i.styles,[]);this.sharedStylesHost.addStyles(r),this.rendererByCompId.set(i.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return n.\u0275fac=function(e){return new(e||n)(b(sh),b(wc),b(Na))},n.\u0275prov=k({token:n,factory:n.\u0275fac}),n})();class Nm{constructor(t){this.eventManager=t,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,e){return e?document.createElementNS(Pm[e]||e,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,e){(qD(t)?t.content:t).appendChild(e)}insertBefore(t,e,i){t&&(qD(t)?t.content:t).insertBefore(e,i)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let i="string"==typeof t?document.querySelector(t):t;if(!i)throw new Error(`The selector "${t}" did not match any elements`);return e||(i.textContent=""),i}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,i,r){if(r){e=r+":"+e;const o=Pm[r];o?t.setAttributeNS(o,e,i):t.setAttribute(e,i)}else t.setAttribute(e,i)}removeAttribute(t,e,i){if(i){const r=Pm[i];r?t.removeAttributeNS(r,e):t.removeAttribute(`${i}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,i,r){r&(wn.DashCase|wn.Important)?t.style.setProperty(e,i,r&wn.Important?"important":""):t.style[e]=i}removeStyle(t,e,i){i&wn.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,i){t[e]=i}setValue(t,e){t.nodeValue=e}listen(t,e,i){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,zD(i)):this.eventManager.addEventListener(t,e,zD(i))}}function qD(n){return"TEMPLATE"===n.tagName&&void 0!==n.content}class JB extends Nm{constructor(t,e,i,r){super(t),this.component=i;const o=ah(r+"-"+i.id,i.styles,[]);e.addStyles(o),this.contentAttr=function KB(n){return"_ngcontent-%COMP%".replace(Lm,n)}(r+"-"+i.id),this.hostAttr=function ZB(n){return"_nghost-%COMP%".replace(Lm,n)}(r+"-"+i.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,e){const i=super.createElement(t,e);return super.setAttribute(i,this.contentAttr,""),i}}class e2 extends Nm{constructor(t,e,i,r){super(t),this.sharedStylesHost=e,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const o=ah(r.id,r.styles,[]);for(let s=0;s{class n extends HD{constructor(e){super(e)}supports(e){return!0}addEventListener(e,i,r){return e.addEventListener(i,r,!1),()=>this.removeEventListener(e,i,r)}removeEventListener(e,i,r){return e.removeEventListener(i,r)}}return n.\u0275fac=function(e){return new(e||n)(b(ae))},n.\u0275prov=k({token:n,factory:n.\u0275fac}),n})();const YD=["alt","control","meta","shift"],n2={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},r2={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey};let o2=(()=>{class n extends HD{constructor(e){super(e)}supports(e){return null!=n.parseEventName(e)}addEventListener(e,i,r){const o=n.parseEventName(i),s=n.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>er().onAndCancel(e,o.domEventName,s))}static parseEventName(e){const i=e.toLowerCase().split("."),r=i.shift();if(0===i.length||"keydown"!==r&&"keyup"!==r)return null;const o=n._normalizeKey(i.pop());let s="",a=i.indexOf("code");if(a>-1&&(i.splice(a,1),s="code."),YD.forEach(c=>{const u=i.indexOf(c);u>-1&&(i.splice(u,1),s+=c+".")}),s+=o,0!=i.length||0===o.length)return null;const l={};return l.domEventName=r,l.fullKey=s,l}static matchEventFullKeyCode(e,i){let r=n2[e.key]||e.key,o="";return i.indexOf("code.")>-1&&(r=e.code,o="code."),!(null==r||!r)&&(r=r.toLowerCase()," "===r?r="space":"."===r&&(r="dot"),YD.forEach(s=>{s!==r&&(0,r2[s])(e)&&(o+=s+".")}),o+=r,o===i)}static eventCallback(e,i,r){return o=>{n.matchEventFullKeyCode(o,e)&&r.runGuarded(()=>i(o))}}static _normalizeKey(e){return"esc"===e?"escape":e}}return n.\u0275fac=function(e){return new(e||n)(b(ae))},n.\u0275prov=k({token:n,factory:n.\u0275fac}),n})();const KD=[{provide:$n,useValue:RD},{provide:Lx,useValue:function s2(){Om.makeCurrent()},multi:!0},{provide:ae,useFactory:function l2(){return function MF(n){Mp=n}(document),document},deps:[]}],c2=zx(nV,"browser",KD),ZD=new P(""),XD=[{provide:Hd,useClass:class WB{addToWindow(t){ze.getAngularTestability=(i,r=!0)=>{const o=t.findTestabilityInTree(i,r);if(null==o)throw new Error("Could not find testability for element.");return o},ze.getAllAngularTestabilities=()=>t.getAllTestabilities(),ze.getAllAngularRootElements=()=>t.getAllRootElements(),ze.frameworkStabilizers||(ze.frameworkStabilizers=[]),ze.frameworkStabilizers.push(i=>{const r=ze.getAllAngularTestabilities();let o=r.length,s=!1;const a=function(l){s=s||l,o--,0==o&&i(s)};r.forEach(function(l){l.whenStable(a)})})}findTestabilityInTree(t,e,i){return null==e?null:t.getTestability(e)??(i?er().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null)}},deps:[]},{provide:$x,useClass:am,deps:[de,lm,Hd]},{provide:am,useClass:am,deps:[de,lm,Hd]}],JD=[{provide:Op,useValue:"root"},{provide:wr,useFactory:function a2(){return new wr},deps:[]},{provide:oh,useClass:t2,multi:!0,deps:[ae,de,$n]},{provide:oh,useClass:o2,multi:!0,deps:[ae]},{provide:lh,useClass:lh,deps:[sh,wc,Na]},{provide:zo,useExisting:lh},{provide:$D,useExisting:wc},{provide:wc,useClass:wc,deps:[ae]},{provide:sh,useClass:sh,deps:[oh,de]},{provide:PD,useClass:qB,deps:[]},[]];let eM=(()=>{class n{constructor(e){}static withServerTransition(e){return{ngModule:n,providers:[{provide:Na,useValue:e.appId},{provide:BD,useExisting:Na},zB]}}}return n.\u0275fac=function(e){return new(e||n)(b(ZD,12))},n.\u0275mod=Z({type:n}),n.\u0275inj=K({providers:[...JD,...XD],imports:[fn,iV]}),n})(),tM=(()=>{class n{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}}return n.\u0275fac=function(e){return new(e||n)(b(ae))},n.\u0275prov=k({token:n,factory:function(e){let i=null;return i=e?new e:function d2(){return new tM(b(ae))}(),i},providedIn:"root"}),n})();typeof window<"u"&&window;let xc=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=k({token:n,factory:function(e){let i=null;return i=e?new(e||n):b(rM),i},providedIn:"root"}),n})(),rM=(()=>{class n extends xc{constructor(e){super(),this._doc=e}sanitize(e,i){if(null==i)return null;switch(e){case Oe.NONE:return i;case Oe.HTML:return zi(i,"HTML")?Nn(i):Pb(this._doc,String(i)).toString();case Oe.STYLE:return zi(i,"Style")?Nn(i):i;case Oe.SCRIPT:if(zi(i,"Script"))return Nn(i);throw new Error("unsafe value used in a script context");case Oe.URL:return zi(i,"URL")?Nn(i):ld(String(i));case Oe.RESOURCE_URL:if(zi(i,"ResourceURL"))return Nn(i);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${e} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(e){return function OF(n){return new AF(n)}(e)}bypassSecurityTrustStyle(e){return function PF(n){return new TF(n)}(e)}bypassSecurityTrustScript(e){return function LF(n){return new IF(n)}(e)}bypassSecurityTrustUrl(e){return function NF(n){return new kF(n)}(e)}bypassSecurityTrustResourceUrl(e){return function VF(n){return new FF(n)}(e)}}return n.\u0275fac=function(e){return new(e||n)(b(ae))},n.\u0275prov=k({token:n,factory:function(e){let i=null;return i=e?new e:function y2(n){return new rM(n.get(ae))}(b(Nt)),i},providedIn:"root"}),n})();function q(...n){return He(n,fr(n))}function ho(n,t){return be(t)?st(n,t,1):st(n,1)}function It(n,t){return qe((e,i)=>{let r=0;e.subscribe(Ye(i,o=>n.call(t,o,r++)&&i.next(o)))})}class oM{}class Hm{}class kr{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach(e=>{const i=e.indexOf(":");if(i>0){const r=e.slice(0,i),o=r.toLowerCase(),s=e.slice(i+1).trim();this.maybeSetNormalizedName(r,o),this.headers.has(o)?this.headers.get(o).push(s):this.headers.set(o,[s])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(e=>{let i=t[e];const r=e.toLowerCase();"string"==typeof i&&(i=[i]),i.length>0&&(this.headers.set(r,i),this.maybeSetNormalizedName(e,r))})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,e){return this.clone({name:t,value:e,op:"a"})}set(t,e){return this.clone({name:t,value:e,op:"s"})}delete(t,e){return this.clone({name:t,value:e,op:"d"})}maybeSetNormalizedName(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}init(){this.lazyInit&&(this.lazyInit instanceof kr?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(e=>{this.headers.set(e,t.headers.get(e)),this.normalizedNames.set(e,t.normalizedNames.get(e))})}clone(t){const e=new kr;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof kr?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([t]),e}applyUpdate(t){const e=t.name.toLowerCase();switch(t.op){case"a":case"s":let i=t.value;if("string"==typeof i&&(i=[i]),0===i.length)return;this.maybeSetNormalizedName(t.name,e);const r=("a"===t.op?this.headers.get(e):void 0)||[];r.push(...i),this.headers.set(e,r);break;case"d":const o=t.value;if(o){let s=this.headers.get(e);if(!s)return;s=s.filter(a=>-1===o.indexOf(a)),0===s.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,s)}else this.headers.delete(e),this.normalizedNames.delete(e)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>t(this.normalizedNames.get(e),this.headers.get(e)))}}class v2{encodeKey(t){return sM(t)}encodeValue(t){return sM(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const C2=/%(\d[a-f0-9])/gi,w2={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function sM(n){return encodeURIComponent(n).replace(C2,(t,e)=>{var i;return null!==(i=w2[e])&&void 0!==i?i:t})}function ch(n){return`${n}`}class fo{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new v2,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function b2(n,t){const e=new Map;return n.length>0&&n.replace(/^\?/,"").split("&").forEach(r=>{const o=r.indexOf("="),[s,a]=-1==o?[t.decodeKey(r),""]:[t.decodeKey(r.slice(0,o)),t.decodeValue(r.slice(o+1))],l=e.get(s)||[];l.push(a),e.set(s,l)}),e}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{const i=t.fromObject[e],r=Array.isArray(i)?i.map(ch):[ch(i)];this.map.set(e,r)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const e=this.map.get(t);return e?e[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,e){return this.clone({param:t,value:e,op:"a"})}appendAll(t){const e=[];return Object.keys(t).forEach(i=>{const r=t[i];Array.isArray(r)?r.forEach(o=>{e.push({param:i,value:o,op:"a"})}):e.push({param:i,value:r,op:"a"})}),this.clone(e)}set(t,e){return this.clone({param:t,value:e,op:"s"})}delete(t,e){return this.clone({param:t,value:e,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const e=this.encoder.encodeKey(t);return this.map.get(t).map(i=>e+"="+this.encoder.encodeValue(i)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const e=new fo({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(t),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const e=("a"===t.op?this.map.get(t.param):void 0)||[];e.push(ch(t.value)),this.map.set(t.param,e);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let i=this.map.get(t.param)||[];const r=i.indexOf(ch(t.value));-1!==r&&i.splice(r,1),i.length>0?this.map.set(t.param,i):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class x2{constructor(){this.map=new Map}set(t,e){return this.map.set(t,e),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}}function aM(n){return typeof ArrayBuffer<"u"&&n instanceof ArrayBuffer}function lM(n){return typeof Blob<"u"&&n instanceof Blob}function cM(n){return typeof FormData<"u"&&n instanceof FormData}class Dc{constructor(t,e,i,r){let o;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function D2(n){switch(n){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==i?i:null,o=r):o=i,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params)),this.headers||(this.headers=new kr),this.context||(this.context=new x2),this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=e;else{const a=e.indexOf("?");this.urlWithParams=e+(-1===a?"?":ah.set(g,t.setHeaders[g]),c)),t.setParams&&(u=Object.keys(t.setParams).reduce((h,g)=>h.set(g,t.setParams[g]),u)),new Dc(i,r,s,{params:u,headers:c,context:d,reportProgress:l,responseType:o,withCredentials:a})}}var bt=(()=>((bt=bt||{})[bt.Sent=0]="Sent",bt[bt.UploadProgress=1]="UploadProgress",bt[bt.ResponseHeader=2]="ResponseHeader",bt[bt.DownloadProgress=3]="DownloadProgress",bt[bt.Response=4]="Response",bt[bt.User=5]="User",bt))();class $m{constructor(t,e=200,i="OK"){this.headers=t.headers||new kr,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||i,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class jm extends $m{constructor(t={}){super(t),this.type=bt.ResponseHeader}clone(t={}){return new jm({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class uh extends $m{constructor(t={}){super(t),this.type=bt.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new uh({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class uM extends $m{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||"(unknown url)"}`:`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function Gm(n,t){return{body:t,headers:n.headers,context:n.context,observe:n.observe,params:n.params,reportProgress:n.reportProgress,responseType:n.responseType,withCredentials:n.withCredentials}}let Ha=(()=>{class n{constructor(e){this.handler=e}request(e,i,r={}){let o;if(e instanceof Dc)o=e;else{let l,c;l=r.headers instanceof kr?r.headers:new kr(r.headers),r.params&&(c=r.params instanceof fo?r.params:new fo({fromObject:r.params})),o=new Dc(e,i,void 0!==r.body?r.body:null,{headers:l,context:r.context,params:c,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials})}const s=q(o).pipe(ho(l=>this.handler.handle(l)));if(e instanceof Dc||"events"===r.observe)return s;const a=s.pipe(It(l=>l instanceof uh));switch(r.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(z(l=>{if(null!==l.body&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return a.pipe(z(l=>{if(null!==l.body&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return a.pipe(z(l=>{if(null!==l.body&&"string"!=typeof l.body)throw new Error("Response is not a string.");return l.body}));default:return a.pipe(z(l=>l.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${r.observe}}`)}}delete(e,i={}){return this.request("DELETE",e,i)}get(e,i={}){return this.request("GET",e,i)}head(e,i={}){return this.request("HEAD",e,i)}jsonp(e,i){return this.request("JSONP",e,{params:(new fo).append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,i={}){return this.request("OPTIONS",e,i)}patch(e,i,r={}){return this.request("PATCH",e,Gm(r,i))}post(e,i,r={}){return this.request("POST",e,Gm(r,i))}put(e,i,r={}){return this.request("PUT",e,Gm(r,i))}}return n.\u0275fac=function(e){return new(e||n)(b(oM))},n.\u0275prov=k({token:n,factory:n.\u0275fac}),n})();class dM{constructor(t,e){this.next=t,this.interceptor=e}handle(t){return this.interceptor.intercept(t,this.next)}}const hM=new P("HTTP_INTERCEPTORS");let E2=(()=>{class n{intercept(e,i){return i.handle(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=k({token:n,factory:n.\u0275fac}),n})();const S2=/^\)\]\}',?\n/;let fM=(()=>{class n{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new Re(i=>{const r=this.xhrFactory.build();if(r.open(e.method,e.urlWithParams),e.withCredentials&&(r.withCredentials=!0),e.headers.forEach((g,_)=>r.setRequestHeader(g,_.join(","))),e.headers.has("Accept")||r.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const g=e.detectContentTypeHeader();null!==g&&r.setRequestHeader("Content-Type",g)}if(e.responseType){const g=e.responseType.toLowerCase();r.responseType="json"!==g?g:"text"}const o=e.serializeBody();let s=null;const a=()=>{if(null!==s)return s;const g=r.statusText||"OK",_=new kr(r.getAllResponseHeaders()),y=function A2(n){return"responseURL"in n&&n.responseURL?n.responseURL:/^X-Request-URL:/m.test(n.getAllResponseHeaders())?n.getResponseHeader("X-Request-URL"):null}(r)||e.url;return s=new jm({headers:_,status:r.status,statusText:g,url:y}),s},l=()=>{let{headers:g,status:_,statusText:y,url:x}=a(),C=null;204!==_&&(C=typeof r.response>"u"?r.responseText:r.response),0===_&&(_=C?200:0);let F=_>=200&&_<300;if("json"===e.responseType&&"string"==typeof C){const A=C;C=C.replace(S2,"");try{C=""!==C?JSON.parse(C):null}catch(N){C=A,F&&(F=!1,C={error:N,text:C})}}F?(i.next(new uh({body:C,headers:g,status:_,statusText:y,url:x||void 0})),i.complete()):i.error(new uM({error:C,headers:g,status:_,statusText:y,url:x||void 0}))},c=g=>{const{url:_}=a(),y=new uM({error:g,status:r.status||0,statusText:r.statusText||"Unknown Error",url:_||void 0});i.error(y)};let u=!1;const d=g=>{u||(i.next(a()),u=!0);let _={type:bt.DownloadProgress,loaded:g.loaded};g.lengthComputable&&(_.total=g.total),"text"===e.responseType&&!!r.responseText&&(_.partialText=r.responseText),i.next(_)},h=g=>{let _={type:bt.UploadProgress,loaded:g.loaded};g.lengthComputable&&(_.total=g.total),i.next(_)};return r.addEventListener("load",l),r.addEventListener("error",c),r.addEventListener("timeout",c),r.addEventListener("abort",c),e.reportProgress&&(r.addEventListener("progress",d),null!==o&&r.upload&&r.upload.addEventListener("progress",h)),r.send(o),i.next({type:bt.Sent}),()=>{r.removeEventListener("error",c),r.removeEventListener("abort",c),r.removeEventListener("load",l),r.removeEventListener("timeout",c),e.reportProgress&&(r.removeEventListener("progress",d),null!==o&&r.upload&&r.upload.removeEventListener("progress",h)),r.readyState!==r.DONE&&r.abort()}})}}return n.\u0275fac=function(e){return new(e||n)(b(PD))},n.\u0275prov=k({token:n,factory:n.\u0275fac}),n})();const Um=new P("XSRF_COOKIE_NAME"),zm=new P("XSRF_HEADER_NAME");class pM{}let T2=(()=>{class n{constructor(e,i,r){this.doc=e,this.platform=i,this.cookieName=r,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=xD(e,this.cookieName),this.lastCookieString=e),this.lastToken}}return n.\u0275fac=function(e){return new(e||n)(b(ae),b($n),b(Um))},n.\u0275prov=k({token:n,factory:n.\u0275fac}),n})(),Wm=(()=>{class n{constructor(e,i){this.tokenService=e,this.headerName=i}intercept(e,i){const r=e.url.toLowerCase();if("GET"===e.method||"HEAD"===e.method||r.startsWith("http://")||r.startsWith("https://"))return i.handle(e);const o=this.tokenService.getToken();return null!==o&&!e.headers.has(this.headerName)&&(e=e.clone({headers:e.headers.set(this.headerName,o)})),i.handle(e)}}return n.\u0275fac=function(e){return new(e||n)(b(pM),b(zm))},n.\u0275prov=k({token:n,factory:n.\u0275fac}),n})(),I2=(()=>{class n{constructor(e,i){this.backend=e,this.injector=i,this.chain=null}handle(e){if(null===this.chain){const i=this.injector.get(hM,[]);this.chain=i.reduceRight((r,o)=>new dM(r,o),this.backend)}return this.chain.handle(e)}}return n.\u0275fac=function(e){return new(e||n)(b(Hm),b(Nt))},n.\u0275prov=k({token:n,factory:n.\u0275fac}),n})(),k2=(()=>{class n{static disable(){return{ngModule:n,providers:[{provide:Wm,useClass:E2}]}}static withOptions(e={}){return{ngModule:n,providers:[e.cookieName?{provide:Um,useValue:e.cookieName}:[],e.headerName?{provide:zm,useValue:e.headerName}:[]]}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({providers:[Wm,{provide:hM,useExisting:Wm,multi:!0},{provide:pM,useClass:T2},{provide:Um,useValue:"XSRF-TOKEN"},{provide:zm,useValue:"X-XSRF-TOKEN"}]}),n})(),F2=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({providers:[Ha,{provide:oM,useClass:I2},fM,{provide:Hm,useExisting:fM}],imports:[k2.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]}),n})();class jn extends ce{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const e=super._subscribe(t);return!e.closed&&t.next(this._value),e}getValue(){const{hasError:t,thrownError:e,_value:i}=this;if(t)throw e;return this._throwIfClosed(),i}next(t){super.next(this._value=t)}}function gM(n){for(let e in n){var t;let i=null!==(t=n[e])&&void 0!==t?t:"";switch(e){case"display":n.display="flex"===i?["-webkit-flex","flex"]:"inline-flex"===i?["-webkit-inline-flex","inline-flex"]:i;break;case"align-items":case"align-self":case"align-content":case"flex":case"flex-basis":case"flex-flow":case"flex-grow":case"flex-shrink":case"flex-wrap":case"justify-content":n["-webkit-"+e]=i;break;case"flex-direction":n["-webkit-flex-direction"]=i,n["flex-direction"]=i;break;case"order":n.order=n["-webkit-"+e]=isNaN(+i)?"0":i}}return n}const qm="inline",dh=["row","column","row-reverse","column-reverse"];function mM(n){let[t,e,i]=_M(n);return function O2(n,t=null,e=!1){return{display:e?"inline-flex":"flex","box-sizing":"border-box","flex-direction":n,"flex-wrap":t||null}}(t,e,i)}function _M(n){var t,e;n=null!==(t=null===(e=n)||void 0===e?void 0:e.toLowerCase())&&void 0!==t?t:"";let[i,r,o]=n.split(" ");return dh.find(s=>s===i)||(i=dh[0]),r===qm&&(r=o!==qm?o:"",o=qm),[i,R2(r),!!o]}function Mc(n){let[t]=_M(n);return t.indexOf("row")>-1}function R2(n){if(n)switch(n.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":n="wrap-reverse";break;case"no":case"none":case"nowrap":n="nowrap";break;default:n="wrap"}return n}function Fr(n,...t){if(null==n)throw TypeError("Cannot convert undefined or null to object");for(let e of t)if(null!=e)for(let i in e)e.hasOwnProperty(i)&&(n[i]=e[i]);return n}function ut(n,t,e){const i=be(n)||t||e?{next:n,error:t,complete:e}:n;return i?qe((r,o)=>{var s;null===(s=i.subscribe)||void 0===s||s.call(i);let a=!0;r.subscribe(Ye(o,l=>{var c;null===(c=i.next)||void 0===c||c.call(i,l),o.next(l)},()=>{var l;a=!1,null===(l=i.complete)||void 0===l||l.call(i),o.complete()},l=>{var c;a=!1,null===(c=i.error)||void 0===c||c.call(i,l),o.error(l)},()=>{var l,c;a&&(null===(l=i.unsubscribe)||void 0===l||l.call(i)),null===(c=i.finalize)||void 0===c||c.call(i)}))}):pi}const L2={provide:nm,useFactory:function P2(n,t){return()=>{if(tr(t)){const e=Array.from(n.querySelectorAll(`[class*=${yM}]`)),i=/\bflex-layout-.+?\b/g;e.forEach(r=>{r.classList.contains(`${yM}ssr`)&&r.parentNode?r.parentNode.removeChild(r):r.className.replace(i,"")})}}},deps:[ae,$n],multi:!0},yM="flex-layout-";let Ym=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({providers:[L2]}),n})();class is{constructor(t=!1,e="all",i="",r="",o=0){this.matches=t,this.mediaQuery=e,this.mqAlias=i,this.suffix=r,this.priority=o,this.property=""}clone(){return new is(this.matches,this.mediaQuery,this.mqAlias,this.suffix)}}let N2=(()=>{class n{constructor(){this.stylesheet=new Map}addStyleToElement(e,i,r){const o=this.stylesheet.get(e);o?o.set(i,r):this.stylesheet.set(e,new Map([[i,r]]))}clearStyles(){this.stylesheet.clear()}getStyleForElement(e,i){const r=this.stylesheet.get(e);let o="";if(r){const s=r.get(i);("number"==typeof s||"string"==typeof s)&&(o=s+"")}return o}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const Qm={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[],multiplier:void 0,defaultUnit:"px",detectLayoutDisplay:!1},Ri=new P("Flex Layout token, config options for the library",{providedIn:"root",factory:()=>Qm}),$a=new P("FlexLayoutServerLoaded",{providedIn:"root",factory:()=>!1}),Km=new P("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:()=>null});function vM(n,t){var e,i;return n=null!==(e=null===(i=n)||void 0===i?void 0:i.clone())&&void 0!==e?e:new is,t&&(n.mqAlias=t.alias,n.mediaQuery=t.mediaQuery,n.suffix=t.suffix,n.priority=t.priority),n}class dt{constructor(){this.shouldCache=!0}sideEffect(t,e,i){}}let Xe=(()=>{class n{constructor(e,i,r,o){this._serverStylesheet=e,this._serverModuleLoaded=i,this._platformId=r,this.layoutConfig=o}applyStyleToElement(e,i,r=null){let o={};"string"==typeof i&&(o[i]=r,i=o),o=this.layoutConfig.disableVendorPrefixes?i:gM(i),this._applyMultiValueStyleToElement(o,e)}applyStyleToElements(e,i=[]){const r=this.layoutConfig.disableVendorPrefixes?e:gM(e);i.forEach(o=>{this._applyMultiValueStyleToElement(r,o)})}getFlowDirection(e){const i="flex-direction";let r=this.lookupStyle(e,i);return[r||"row",this.lookupInlineStyle(e,i)||nr(this._platformId)&&this._serverModuleLoaded?r:""]}hasWrap(e){return"wrap"===this.lookupStyle(e,"flex-wrap")}lookupAttributeValue(e,i){var r;return null!==(r=e.getAttribute(i))&&void 0!==r?r:""}lookupInlineStyle(e,i){return tr(this._platformId)?e.style.getPropertyValue(i):function V2(n,t){var e;return null!==(e=bM(n)[t])&&void 0!==e?e:""}(e,i)}lookupStyle(e,i,r=!1){let o="";return e&&((o=this.lookupInlineStyle(e,i))||(tr(this._platformId)?r||(o=getComputedStyle(e).getPropertyValue(i)):this._serverModuleLoaded&&(o=this._serverStylesheet.getStyleForElement(e,i)))),o?o.trim():""}_applyMultiValueStyleToElement(e,i){Object.keys(e).sort().forEach(r=>{const o=e[r],s=Array.isArray(o)?o:[o];s.sort();for(let a of s)a=a?a+"":"",tr(this._platformId)||!this._serverModuleLoaded?tr(this._platformId)?i.style.setProperty(r,a):B2(i,r,a):this._serverStylesheet.addStyleToElement(i,r,a)})}}return n.\u0275fac=function(e){return new(e||n)(b(N2),b($a),b($n),b(Ri))},n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function B2(n,t,e){t=t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();const i=bM(n);i[t]=e??"",function H2(n,t){let e="";for(const i in t)t[i]&&(e+=`${i}:${t[i]};`);n.setAttribute("style",e)}(n,i)}function bM(n){const t={},e=n.getAttribute("style");if(e){const i=e.split(/;+/g);for(let r=0;r0){const s=o.indexOf(":");if(-1===s)throw new Error(`Invalid CSS style: ${o}`);t[o.substr(0,s).trim()]=o.substr(s+1).trim()}}}return t}function Ec(n,t){return(t&&t.priority||0)-(n&&n.priority||0)}function $2(n,t){return(n.priority||0)-(t.priority||0)}let Zm=(()=>{class n{constructor(e,i,r){this._zone=e,this._platformId=i,this._document=r,this.source=new jn(new is(!0)),this.registry=new Map,this.pendingRemoveListenerFns=[],this._observable$=this.source.asObservable()}get activations(){const e=[];return this.registry.forEach((i,r)=>{i.matches&&e.push(r)}),e}isActive(e){var i;return null!==(i=this.registry.get(e)?.matches)&&void 0!==i?i:this.registerQuery(e).some(o=>o.matches)}observe(e,i=!1){if(e&&e.length){const r=this._observable$.pipe(It(s=>!i||e.indexOf(s.mediaQuery)>-1));return wt(new Re(s=>{const a=this.registerQuery(e);if(a.length){const l=a.pop();a.forEach(c=>{s.next(c)}),this.source.next(l)}s.complete()}),r)}return this._observable$}registerQuery(e){const i=Array.isArray(e)?e:[e],r=[];return function j2(n,t){const e=n.filter(i=>!CM[i]);if(e.length>0){const i=e.join(", ");try{const r=t.createElement("style");r.setAttribute("type","text/css"),r.styleSheet||r.appendChild(t.createTextNode(`\n/*\n @angular/flex-layout - workaround for possible browser quirk with mediaQuery listeners\n see http://bit.ly/2sd4HMP\n*/\n@media ${i} {.fx-query-test{ }}\n`)),t.head.appendChild(r),e.forEach(o=>CM[o]=r)}catch(r){console.error(r)}}}(i,this._document),i.forEach(o=>{const s=l=>{this._zone.run(()=>this.source.next(new is(l.matches,o)))};let a=this.registry.get(o);a||(a=this.buildMQL(o),a.addListener(s),this.pendingRemoveListenerFns.push(()=>a.removeListener(s)),this.registry.set(o,a)),a.matches&&r.push(new is(!0,o))}),r}ngOnDestroy(){let e;for(;e=this.pendingRemoveListenerFns.pop();)e()}buildMQL(e){return function G2(n,t){return t&&window.matchMedia("all").addListener?window.matchMedia(n):{matches:"all"===n||""===n,media:n,addListener:()=>{},removeListener:()=>{},onchange:null,addEventListener(){},removeEventListener(){},dispatchEvent:()=>!1}}(e,tr(this._platformId))}}return n.\u0275fac=function(e){return new(e||n)(b(de),b($n),b(ae))},n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const CM={},U2=[{alias:"xs",mediaQuery:"screen and (min-width: 0px) and (max-width: 599.98px)",priority:1e3},{alias:"sm",mediaQuery:"screen and (min-width: 600px) and (max-width: 959.98px)",priority:900},{alias:"md",mediaQuery:"screen and (min-width: 960px) and (max-width: 1279.98px)",priority:800},{alias:"lg",mediaQuery:"screen and (min-width: 1280px) and (max-width: 1919.98px)",priority:700},{alias:"xl",mediaQuery:"screen and (min-width: 1920px) and (max-width: 4999.98px)",priority:600},{alias:"lt-sm",overlapping:!0,mediaQuery:"screen and (max-width: 599.98px)",priority:950},{alias:"lt-md",overlapping:!0,mediaQuery:"screen and (max-width: 959.98px)",priority:850},{alias:"lt-lg",overlapping:!0,mediaQuery:"screen and (max-width: 1279.98px)",priority:750},{alias:"lt-xl",overlapping:!0,priority:650,mediaQuery:"screen and (max-width: 1919.98px)"},{alias:"gt-xs",overlapping:!0,mediaQuery:"screen and (min-width: 600px)",priority:-950},{alias:"gt-sm",overlapping:!0,mediaQuery:"screen and (min-width: 960px)",priority:-850},{alias:"gt-md",overlapping:!0,mediaQuery:"screen and (min-width: 1280px)",priority:-750},{alias:"gt-lg",overlapping:!0,mediaQuery:"screen and (min-width: 1920px)",priority:-650}],wM="(orientation: portrait) and (max-width: 599.98px)",xM="(orientation: landscape) and (max-width: 959.98px)",DM="(orientation: portrait) and (min-width: 600px) and (max-width: 839.98px)",MM="(orientation: landscape) and (min-width: 960px) and (max-width: 1279.98px)",EM="(orientation: portrait) and (min-width: 840px)",SM="(orientation: landscape) and (min-width: 1280px)",Rr={HANDSET:`${wM}, ${xM}`,TABLET:`${DM} , ${MM}`,WEB:`${EM}, ${SM} `,HANDSET_PORTRAIT:`${wM}`,TABLET_PORTRAIT:`${DM} `,WEB_PORTRAIT:`${EM}`,HANDSET_LANDSCAPE:`${xM}`,TABLET_LANDSCAPE:`${MM}`,WEB_LANDSCAPE:`${SM}`},z2=[{alias:"handset",priority:2e3,mediaQuery:Rr.HANDSET},{alias:"handset.landscape",priority:2e3,mediaQuery:Rr.HANDSET_LANDSCAPE},{alias:"handset.portrait",priority:2e3,mediaQuery:Rr.HANDSET_PORTRAIT},{alias:"tablet",priority:2100,mediaQuery:Rr.TABLET},{alias:"tablet.landscape",priority:2100,mediaQuery:Rr.TABLET_LANDSCAPE},{alias:"tablet.portrait",priority:2100,mediaQuery:Rr.TABLET_PORTRAIT},{alias:"web",priority:2200,mediaQuery:Rr.WEB,overlapping:!0},{alias:"web.landscape",priority:2200,mediaQuery:Rr.WEB_LANDSCAPE,overlapping:!0},{alias:"web.portrait",priority:2200,mediaQuery:Rr.WEB_PORTRAIT,overlapping:!0}],W2=/(\.|-|_)/g;function q2(n){let t=n.length>0?n.charAt(0):"",e=n.length>1?n.slice(1):"";return t.toUpperCase()+e}const Z2=new P("Token (@angular/flex-layout) Breakpoints",{providedIn:"root",factory:()=>{const n=Ue(Km),t=Ue(Ri),e=[].concat.apply([],(n||[]).map(r=>Array.isArray(r)?r:[r]));return function K2(n,t=[]){const e={};return n.forEach(i=>{e[i.alias]=i}),t.forEach(i=>{e[i.alias]?Fr(e[i.alias],i):e[i.alias]=i}),function Q2(n){return n.forEach(t=>{t.suffix||(t.suffix=function Y2(n){return n.replace(W2,"|").split("|").map(q2).join("")}(t.alias),t.overlapping=!!t.overlapping)}),n}(Object.keys(e).map(i=>e[i]))}((t.disableDefaultBps?[]:U2).concat(t.addOrientationBps?z2:[]),e)}});let Xm=(()=>{class n{constructor(e){this.findByMap=new Map,this.items=[...e].sort($2)}findByAlias(e){return e?this.findWithPredicate(e,i=>i.alias===e):null}findByQuery(e){return this.findWithPredicate(e,i=>i.mediaQuery===e)}get overlappings(){return this.items.filter(e=>e.overlapping)}get aliases(){return this.items.map(e=>e.alias)}get suffixes(){return this.items.map(e=>{var i;return null!==(i=e?.suffix)&&void 0!==i?i:""})}findWithPredicate(e,i){var r;let o=this.findByMap.get(e);var s;return o||(o=null!==(s=this.items.find(i))&&void 0!==s?s:null,this.findByMap.set(e,o)),null!==(r=o)&&void 0!==r?r:null}}return n.\u0275fac=function(e){return new(e||n)(b(Z2))},n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const ja="print",X2={alias:ja,mediaQuery:ja,priority:1e3};let J2=(()=>{class n{constructor(e,i,r){this.breakpoints=e,this.layoutConfig=i,this._document=r,this.registeredBeforeAfterPrintHooks=!1,this.isPrintingBeforeAfterEvent=!1,this.beforePrintEventListeners=[],this.afterPrintEventListeners=[],this.formerActivations=null,this.isPrinting=!1,this.queue=new eH,this.deactivations=[]}withPrintQuery(e){return[...e,ja]}isPrintEvent(e){return e.mediaQuery.startsWith(ja)}get printAlias(){var e;return[...null!==(e=this.layoutConfig.printWithBreakpoints)&&void 0!==e?e:[]]}get printBreakPoints(){return this.printAlias.map(e=>this.breakpoints.findByAlias(e)).filter(e=>null!==e)}getEventBreakpoints({mediaQuery:e}){const i=this.breakpoints.findByQuery(e);return(i?[...this.printBreakPoints,i]:this.printBreakPoints).sort(Ec)}updateEvent(e){let i=this.breakpoints.findByQuery(e.mediaQuery);var r,o;return this.isPrintEvent(e)&&(i=this.getEventBreakpoints(e)[0],e.mediaQuery=null!==(r=null===(o=i)||void 0===o?void 0:o.mediaQuery)&&void 0!==r?r:""),vM(e,i)}registerBeforeAfterPrintHooks(e){if(!this._document.defaultView||this.registeredBeforeAfterPrintHooks)return;this.registeredBeforeAfterPrintHooks=!0;const i=()=>{this.isPrinting||(this.isPrintingBeforeAfterEvent=!0,this.startPrinting(e,this.getEventBreakpoints(new is(!0,ja))),e.updateStyles())},r=()=>{this.isPrintingBeforeAfterEvent=!1,this.isPrinting&&(this.stopPrinting(e),e.updateStyles())};this._document.defaultView.addEventListener("beforeprint",i),this._document.defaultView.addEventListener("afterprint",r),this.beforePrintEventListeners.push(i),this.afterPrintEventListeners.push(r)}interceptEvents(e){return i=>{this.isPrintEvent(i)?i.matches&&!this.isPrinting?(this.startPrinting(e,this.getEventBreakpoints(i)),e.updateStyles()):!i.matches&&this.isPrinting&&!this.isPrintingBeforeAfterEvent&&(this.stopPrinting(e),e.updateStyles()):this.collectActivations(e,i)}}blockPropagation(){return e=>!(this.isPrinting||this.isPrintEvent(e))}startPrinting(e,i){this.isPrinting=!0,this.formerActivations=e.activatedBreakpoints,e.activatedBreakpoints=this.queue.addPrintBreakpoints(i)}stopPrinting(e){e.activatedBreakpoints=this.deactivations,this.deactivations=[],this.formerActivations=null,this.queue.clear(),this.isPrinting=!1}collectActivations(e,i){if(!this.isPrinting||this.isPrintingBeforeAfterEvent){if(!this.isPrintingBeforeAfterEvent)return void(this.deactivations=[]);if(!i.matches){const r=this.breakpoints.findByQuery(i.mediaQuery);if(r){const o=this.formerActivations&&this.formerActivations.includes(r),s=!this.formerActivations&&e.activatedBreakpoints.includes(r);(o||s)&&(this.deactivations.push(r),this.deactivations.sort(Ec))}}}}ngOnDestroy(){this._document.defaultView&&(this.beforePrintEventListeners.forEach(e=>this._document.defaultView.removeEventListener("beforeprint",e)),this.afterPrintEventListeners.forEach(e=>this._document.defaultView.removeEventListener("afterprint",e)))}}return n.\u0275fac=function(e){return new(e||n)(b(Xm),b(Ri),b(ae))},n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class eH{constructor(){this.printBreakpoints=[]}addPrintBreakpoints(t){return t.push(X2),t.sort(Ec),t.forEach(e=>this.addBreakpoint(e)),this.printBreakpoints}addBreakpoint(t){t&&void 0===this.printBreakpoints.find(i=>i.mediaQuery===t.mediaQuery)&&(this.printBreakpoints=function tH(n){var t;return null!==(t=n?.mediaQuery.startsWith(ja))&&void 0!==t&&t}(t)?[t,...this.printBreakpoints]:[...this.printBreakpoints,t])}clear(){this.printBreakpoints=[]}}let tt=(()=>{class n{constructor(e,i,r){this.matchMedia=e,this.breakpoints=i,this.hook=r,this._useFallbacks=!0,this._activatedBreakpoints=[],this.elementMap=new Map,this.elementKeyMap=new WeakMap,this.watcherMap=new WeakMap,this.updateMap=new WeakMap,this.clearMap=new WeakMap,this.subject=new ce,this.observeActivations()}get activatedAlias(){var e,i;return null!==(e=null===(i=this.activatedBreakpoints[0])||void 0===i?void 0:i.alias)&&void 0!==e?e:""}set activatedBreakpoints(e){this._activatedBreakpoints=[...e]}get activatedBreakpoints(){return[...this._activatedBreakpoints]}set useFallbacks(e){this._useFallbacks=e}onMediaChange(e){const i=this.findByQuery(e.mediaQuery);if(i){e=vM(e,i);const r=this.activatedBreakpoints.indexOf(i);e.matches&&-1===r?(this._activatedBreakpoints.push(i),this._activatedBreakpoints.sort(Ec),this.updateStyles()):!e.matches&&-1!==r&&(this._activatedBreakpoints.splice(r,1),this._activatedBreakpoints.sort(Ec),this.updateStyles())}}init(e,i,r,o,s=[]){AM(this.updateMap,e,i,r),AM(this.clearMap,e,i,o),this.buildElementKeyMap(e,i),this.watchExtraTriggers(e,i,s)}getValue(e,i,r){const o=this.elementMap.get(e);if(o){const s=void 0!==r?o.get(r):this.getActivatedValues(o,i);if(s)return s.get(i)}}hasValue(e,i){const r=this.elementMap.get(e);if(r){const o=this.getActivatedValues(r,i);if(o)return void 0!==o.get(i)||!1}return!1}setValue(e,i,r,o){let s=this.elementMap.get(e);if(s){var a;const c=(null!==(a=s.get(o))&&void 0!==a?a:new Map).set(i,r);s.set(o,c),this.elementMap.set(e,s)}else s=(new Map).set(o,(new Map).set(i,r)),this.elementMap.set(e,s);const l=this.getValue(e,i);void 0!==l&&this.updateElement(e,i,l)}trackValue(e,i){return this.subject.asObservable().pipe(It(r=>r.element===e&&r.key===i))}updateStyles(){this.elementMap.forEach((e,i)=>{const r=new Set(this.elementKeyMap.get(i));let o=this.getActivatedValues(e);o&&o.forEach((s,a)=>{this.updateElement(i,a,s),r.delete(a)}),r.forEach(s=>{if(o=this.getActivatedValues(e,s),o){const a=o.get(s);this.updateElement(i,s,a)}else this.clearElement(i,s)})})}clearElement(e,i){const r=this.clearMap.get(e);if(r){const o=r.get(i);o&&(o(),this.subject.next({element:e,key:i,value:""}))}}updateElement(e,i,r){const o=this.updateMap.get(e);if(o){const s=o.get(i);s&&(s(r),this.subject.next({element:e,key:i,value:r}))}}releaseElement(e){const i=this.watcherMap.get(e);i&&(i.forEach(o=>o.unsubscribe()),this.watcherMap.delete(e));const r=this.elementMap.get(e);r&&(r.forEach((o,s)=>r.delete(s)),this.elementMap.delete(e))}triggerUpdate(e,i){const r=this.elementMap.get(e);if(r){const o=this.getActivatedValues(r,i);o&&(i?this.updateElement(e,i,o.get(i)):o.forEach((s,a)=>this.updateElement(e,a,s)))}}buildElementKeyMap(e,i){let r=this.elementKeyMap.get(e);r||(r=new Set,this.elementKeyMap.set(e,r)),r.add(i)}watchExtraTriggers(e,i,r){if(r&&r.length){let o=this.watcherMap.get(e);if(o||(o=new Map,this.watcherMap.set(e,o)),!o.get(i)){const a=wt(...r).subscribe(()=>{const l=this.getValue(e,i);this.updateElement(e,i,l)});o.set(i,a)}}}findByQuery(e){return this.breakpoints.findByQuery(e)}getActivatedValues(e,i){for(let o=0;oi.mediaQuery);this.hook.registerBeforeAfterPrintHooks(this),this.matchMedia.observe(this.hook.withPrintQuery(e)).pipe(ut(this.hook.interceptEvents(this)),It(this.hook.blockPropagation())).subscribe(this.onMediaChange.bind(this))}}return n.\u0275fac=function(e){return new(e||n)(b(Zm),b(Xm),b(J2))},n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function AM(n,t,e,i){if(void 0!==i){var r;const o=null!==(r=n.get(t))&&void 0!==r?r:new Map;o.set(e,i),n.set(t,o)}}let rt=(()=>{class n{constructor(e,i,r,o){this.elementRef=e,this.styleBuilder=i,this.styler=r,this.marshal=o,this.DIRECTIVE_KEY="",this.inputs=[],this.mru={},this.destroySubject=new ce,this.styleCache=new Map}get parentElement(){return this.elementRef.nativeElement.parentElement}get nativeElement(){return this.elementRef.nativeElement}get activatedValue(){return this.marshal.getValue(this.nativeElement,this.DIRECTIVE_KEY)}set activatedValue(e){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,e,this.marshal.activatedAlias)}ngOnChanges(e){Object.keys(e).forEach(i=>{if(-1!==this.inputs.indexOf(i)){const r=i.split(".").slice(1).join(".");this.setValue(e[i].currentValue,r)}})}ngOnDestroy(){this.destroySubject.next(),this.destroySubject.complete(),this.marshal.releaseElement(this.nativeElement)}init(e=[]){this.marshal.init(this.elementRef.nativeElement,this.DIRECTIVE_KEY,this.updateWithValue.bind(this),this.clearStyles.bind(this),e)}addStyles(e,i){const r=this.styleBuilder,o=r.shouldCache;let s=this.styleCache.get(e);(!s||!o)&&(s=r.buildStyles(e,i),o&&this.styleCache.set(e,s)),this.mru={...s},this.applyStyleToElement(s),r.sideEffect(e,s,i)}clearStyles(){Object.keys(this.mru).forEach(e=>{this.mru[e]=""}),this.applyStyleToElement(this.mru),this.mru={},this.currentValue=void 0}triggerUpdate(){this.marshal.triggerUpdate(this.nativeElement,this.DIRECTIVE_KEY)}getFlexFlowDirection(e,i=!1){if(e){const[r,o]=this.styler.getFlowDirection(e);if(!o&&i){const s=mM(r);this.styler.applyStyleToElements(s,[e])}return r.trim()}return"row"}hasWrap(e){return this.styler.hasWrap(e)}applyStyleToElement(e,i,r=this.nativeElement){this.styler.applyStyleToElement(r,e,i)}setValue(e,i){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,e,i)}updateWithValue(e){this.currentValue!==e&&(this.addStyles(e),this.currentValue=e)}}return n.\u0275fac=function(e){return new(e||n)(f(j),f(dt),f(Xe),f(tt))},n.\u0275dir=T({type:n,features:[nt]}),n})();function TM(n,t="1",e="1"){let i=[t,e,n],r=n.indexOf("calc");if(r>0){i[2]=IM(n.substring(r).trim());let o=n.substr(0,r).trim().split(" ");2==o.length&&(i[0]=o[0],i[1]=o[1])}else if(0==r)i[2]=IM(n.trim());else{let o=n.split(" ");i=3===o.length?o:[t,e,n]}return i}function IM(n){return n.replace(/[\s]/g,"").replace(/[\/\*\+\-]/g," $& ")}function hh(n,t){if(void 0===t)return n;const e=i=>{const r=+i.slice(0,-"x".length);return n.endsWith("x")&&!isNaN(r)?`${r*t.value}${t.unit}`:n};return n.includes(" ")?n.split(" ").map(e).join(" "):e(n)}function Ae(n){return null!=n&&"false"!=`${n}`}function po(n,t=0){return function rH(n){return!isNaN(parseFloat(n))&&!isNaN(Number(n))}(n)?Number(n):t}function fh(n){return Array.isArray(n)?n:[n]}function Ct(n){return null==n?"":"string"==typeof n?n:`${n}px`}function Or(n){return n instanceof j?n.nativeElement:n}function Ge(n){return qe((t,e)=>{jt(n).subscribe(Ye(e,()=>e.complete(),To)),!e.closed&&t.subscribe(e)})}let uH=(()=>{class n extends rt{constructor(e,i,r,o,s,a,l){super(e,null,i,r),this.ngClassInstance=l,this.DIRECTIVE_KEY="ngClass",this.ngClassInstance||(this.ngClassInstance=new ns(o,s,e,a)),this.init(),this.setValue("","")}set klass(e){this.ngClassInstance.klass=e,this.setValue(e,"")}updateWithValue(e){this.ngClassInstance.ngClass=e,this.ngClassInstance.ngDoCheck()}ngDoCheck(){this.ngClassInstance.ngDoCheck()}}return n.\u0275fac=function(e){return new(e||n)(f(j),f(Xe),f(tt),f(mc),f(es),f(qt),f(ns,10))},n.\u0275dir=T({type:n,inputs:{klass:["class","klass"]},features:[O]}),n})();const dH=["ngClass","ngClass.xs","ngClass.sm","ngClass.md","ngClass.lg","ngClass.xl","ngClass.lt-sm","ngClass.lt-md","ngClass.lt-lg","ngClass.lt-xl","ngClass.gt-xs","ngClass.gt-sm","ngClass.gt-md","ngClass.gt-lg"];let Jm=(()=>{class n extends uH{constructor(){super(...arguments),this.inputs=dH}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=U(n)))(i||n)}}(),n.\u0275dir=T({type:n,selectors:[["","ngClass",""],["","ngClass.xs",""],["","ngClass.sm",""],["","ngClass.md",""],["","ngClass.lg",""],["","ngClass.xl",""],["","ngClass.lt-sm",""],["","ngClass.lt-md",""],["","ngClass.lt-lg",""],["","ngClass.lt-xl",""],["","ngClass.gt-xs",""],["","ngClass.gt-sm",""],["","ngClass.gt-md",""],["","ngClass.gt-lg",""]],inputs:{ngClass:"ngClass","ngClass.xs":"ngClass.xs","ngClass.sm":"ngClass.sm","ngClass.md":"ngClass.md","ngClass.lg":"ngClass.lg","ngClass.xl":"ngClass.xl","ngClass.lt-sm":"ngClass.lt-sm","ngClass.lt-md":"ngClass.lt-md","ngClass.lt-lg":"ngClass.lt-lg","ngClass.lt-xl":"ngClass.lt-xl","ngClass.gt-xs":"ngClass.gt-xs","ngClass.gt-sm":"ngClass.gt-sm","ngClass.gt-md":"ngClass.gt-md","ngClass.gt-lg":"ngClass.gt-lg"},features:[O]}),n})(),hH=(()=>{class n extends dt{buildStyles(e,i){return{display:"true"===e?i.display||(i.isServer?"initial":""):"none"}}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=U(n)))(i||n)}}(),n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),fH=(()=>{class n extends rt{constructor(e,i,r,o,s,a,l){super(e,i,r,o),this.layoutConfig=s,this.platformId=a,this.serverModuleLoaded=l,this.DIRECTIVE_KEY="show-hide",this.display="",this.hasLayout=!1,this.hasFlexChild=!1}ngAfterViewInit(){this.trackExtraTriggers();const e=Array.from(this.nativeElement.children);for(let r=0;r{if(-1!==this.inputs.indexOf(i)){const r=i.split("."),o=r.slice(1).join("."),s=e[i].currentValue;let a=""===s||0!==s&&Ae(s);"fxHide"===r[0]&&(a=!a),this.setValue(a,o)}})}trackExtraTriggers(){this.hasLayout=this.marshal.hasValue(this.nativeElement,"layout"),["layout","layout-align"].forEach(e=>{this.marshal.trackValue(this.nativeElement,e).pipe(Ge(this.destroySubject)).subscribe(this.triggerUpdate.bind(this))})}getDisplayStyle(){return this.hasLayout||this.hasFlexChild&&this.layoutConfig.addFlexToParent?"flex":this.styler.lookupStyle(this.nativeElement,"display",!0)}updateWithValue(e=!0){if(""===e)return;const i=nr(this.platformId);this.addStyles(e?"true":"false",{display:this.display,isServer:i}),i&&this.serverModuleLoaded&&this.nativeElement.style.setProperty("display",""),this.marshal.triggerUpdate(this.parentElement,"layout-gap")}}return n.\u0275fac=function(e){return new(e||n)(f(j),f(hH),f(Xe),f(tt),f(Ri),f($n),f($a))},n.\u0275dir=T({type:n,features:[O,nt]}),n})();const e_=new WeakMap,pH=["fxShow","fxShow.print","fxShow.xs","fxShow.sm","fxShow.md","fxShow.lg","fxShow.xl","fxShow.lt-sm","fxShow.lt-md","fxShow.lt-lg","fxShow.lt-xl","fxShow.gt-xs","fxShow.gt-sm","fxShow.gt-md","fxShow.gt-lg","fxHide","fxHide.print","fxHide.xs","fxHide.sm","fxHide.md","fxHide.lg","fxHide.xl","fxHide.lt-sm","fxHide.lt-md","fxHide.lt-lg","fxHide.lt-xl","fxHide.gt-xs","fxHide.gt-sm","fxHide.gt-md","fxHide.gt-lg"];let rs=(()=>{class n extends fH{constructor(){super(...arguments),this.inputs=pH}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=U(n)))(i||n)}}(),n.\u0275dir=T({type:n,selectors:[["","fxShow",""],["","fxShow.print",""],["","fxShow.xs",""],["","fxShow.sm",""],["","fxShow.md",""],["","fxShow.lg",""],["","fxShow.xl",""],["","fxShow.lt-sm",""],["","fxShow.lt-md",""],["","fxShow.lt-lg",""],["","fxShow.lt-xl",""],["","fxShow.gt-xs",""],["","fxShow.gt-sm",""],["","fxShow.gt-md",""],["","fxShow.gt-lg",""],["","fxHide",""],["","fxHide.print",""],["","fxHide.xs",""],["","fxHide.sm",""],["","fxHide.md",""],["","fxHide.lg",""],["","fxHide.xl",""],["","fxHide.lt-sm",""],["","fxHide.lt-md",""],["","fxHide.lt-lg",""],["","fxHide.lt-xl",""],["","fxHide.gt-xs",""],["","fxHide.gt-sm",""],["","fxHide.gt-md",""],["","fxHide.gt-lg",""]],inputs:{fxShow:"fxShow","fxShow.print":"fxShow.print","fxShow.xs":"fxShow.xs","fxShow.sm":"fxShow.sm","fxShow.md":"fxShow.md","fxShow.lg":"fxShow.lg","fxShow.xl":"fxShow.xl","fxShow.lt-sm":"fxShow.lt-sm","fxShow.lt-md":"fxShow.lt-md","fxShow.lt-lg":"fxShow.lt-lg","fxShow.lt-xl":"fxShow.lt-xl","fxShow.gt-xs":"fxShow.gt-xs","fxShow.gt-sm":"fxShow.gt-sm","fxShow.gt-md":"fxShow.gt-md","fxShow.gt-lg":"fxShow.gt-lg",fxHide:"fxHide","fxHide.print":"fxHide.print","fxHide.xs":"fxHide.xs","fxHide.sm":"fxHide.sm","fxHide.md":"fxHide.md","fxHide.lg":"fxHide.lg","fxHide.xl":"fxHide.xl","fxHide.lt-sm":"fxHide.lt-sm","fxHide.lt-md":"fxHide.lt-md","fxHide.lt-lg":"fxHide.lt-lg","fxHide.lt-xl":"fxHide.lt-xl","fxHide.gt-xs":"fxHide.gt-xs","fxHide.gt-sm":"fxHide.gt-sm","fxHide.gt-md":"fxHide.gt-md","fxHide.gt-lg":"fxHide.gt-lg"},features:[O]}),n})();class gH{constructor(t,e,i=!0){this.key=t,this.value=e,this.key=i?t.replace(/['"]/g,"").trim():t.trim(),this.value=i?e.replace(/['"]/g,"").trim():e.trim(),this.value=this.value.replace(/;/,"")}}function FM(n){let t=typeof n;return"object"===t?n.constructor===Array?"array":n.constructor===Set?"set":"object":t}function OM(n){const[t,...e]=n.split(":");return new gH(t,e.join(":"))}function PM(n,t){return t.key&&(n[t.key]=t.value),n}let yH=(()=>{class n extends rt{constructor(e,i,r,o,s,a,l,c,u){var d;super(e,null,i,r),this.sanitizer=o,this.ngStyleInstance=l,this.DIRECTIVE_KEY="ngStyle",this.ngStyleInstance||(this.ngStyleInstance=new nh(e,s,a)),this.init();const h=null!==(d=this.nativeElement.getAttribute("style"))&&void 0!==d?d:"";this.fallbackStyles=this.buildStyleMap(h),this.isServer=c&&nr(u)}updateWithValue(e){const i=this.buildStyleMap(e);this.ngStyleInstance.ngStyle={...this.fallbackStyles,...i},this.isServer&&this.applyStyleToElement(i),this.ngStyleInstance.ngDoCheck()}clearStyles(){this.ngStyleInstance.ngStyle=this.fallbackStyles,this.ngStyleInstance.ngDoCheck()}buildStyleMap(e){const i=r=>{var o;return null!==(o=this.sanitizer.sanitize(Oe.STYLE,r))&&void 0!==o?o:""};if(e)switch(FM(e)){case"string":return NM(function mH(n,t=";"){return String(n).trim().split(t).map(e=>e.trim()).filter(e=>""!==e)}(e),i);case"array":return NM(e,i);default:return function RM(n,t){let e=[];return"set"===FM(n)?n.forEach(i=>e.push(i)):Object.keys(n).forEach(i=>{e.push(`${i}:${n[i]}`)}),function _H(n,t){return n.map(OM).filter(i=>!!i).map(i=>(t&&(i.value=t(i.value)),i)).reduce(PM,{})}(e,t)}(e,i)}return{}}ngDoCheck(){this.ngStyleInstance.ngDoCheck()}}return n.\u0275fac=function(e){return new(e||n)(f(j),f(Xe),f(tt),f(xc),f(es),f(qt),f(nh,10),f($a),f($n))},n.\u0275dir=T({type:n,features:[O]}),n})();const vH=["ngStyle","ngStyle.xs","ngStyle.sm","ngStyle.md","ngStyle.lg","ngStyle.xl","ngStyle.lt-sm","ngStyle.lt-md","ngStyle.lt-lg","ngStyle.lt-xl","ngStyle.gt-xs","ngStyle.gt-sm","ngStyle.gt-md","ngStyle.gt-lg"];let LM=(()=>{class n extends yH{constructor(){super(...arguments),this.inputs=vH}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=U(n)))(i||n)}}(),n.\u0275dir=T({type:n,selectors:[["","ngStyle",""],["","ngStyle.xs",""],["","ngStyle.sm",""],["","ngStyle.md",""],["","ngStyle.lg",""],["","ngStyle.xl",""],["","ngStyle.lt-sm",""],["","ngStyle.lt-md",""],["","ngStyle.lt-lg",""],["","ngStyle.lt-xl",""],["","ngStyle.gt-xs",""],["","ngStyle.gt-sm",""],["","ngStyle.gt-md",""],["","ngStyle.gt-lg",""]],inputs:{ngStyle:"ngStyle","ngStyle.xs":"ngStyle.xs","ngStyle.sm":"ngStyle.sm","ngStyle.md":"ngStyle.md","ngStyle.lg":"ngStyle.lg","ngStyle.xl":"ngStyle.xl","ngStyle.lt-sm":"ngStyle.lt-sm","ngStyle.lt-md":"ngStyle.lt-md","ngStyle.lt-lg":"ngStyle.lt-lg","ngStyle.lt-xl":"ngStyle.lt-xl","ngStyle.gt-xs":"ngStyle.gt-xs","ngStyle.gt-sm":"ngStyle.gt-sm","ngStyle.gt-md":"ngStyle.gt-md","ngStyle.gt-lg":"ngStyle.gt-lg"},features:[O]}),n})();function NM(n,t){return n.map(OM).filter(i=>!!i).map(i=>(t&&(i.value=t(i.value)),i)).reduce(PM,{})}let VM=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({imports:[Ym]}),n})();const bH=new P("cdk-dir-doc",{providedIn:"root",factory:function CH(){return Ue(ae)}}),wH=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let os=(()=>{class n{constructor(e){if(this.value="ltr",this.change=new he,e){const r=e.documentElement?e.documentElement.dir:null;this.value=function xH(n){var t;const e=n?.toLowerCase()||"";return"auto"===e&&typeof navigator<"u"&&null!==(t=navigator)&&void 0!==t&&t.language?wH.test(navigator.language)?"rtl":"ltr":"rtl"===e?"rtl":"ltr"}((e.body?e.body.dir:null)||r||"ltr")}}ngOnDestroy(){this.change.complete()}}return n.\u0275fac=function(e){return new(e||n)(b(bH,8))},n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Ga=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({}),n})(),DH=(()=>{class n extends dt{buildStyles(e,{display:i}){const r=mM(e);return{...r,display:"none"===i?i:r.display}}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=U(n)))(i||n)}}(),n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const MH=["fxLayout","fxLayout.xs","fxLayout.sm","fxLayout.md","fxLayout.lg","fxLayout.xl","fxLayout.lt-sm","fxLayout.lt-md","fxLayout.lt-lg","fxLayout.lt-xl","fxLayout.gt-xs","fxLayout.gt-sm","fxLayout.gt-md","fxLayout.gt-lg"];let EH=(()=>{class n extends rt{constructor(e,i,r,o,s){super(e,r,i,o),this._config=s,this.DIRECTIVE_KEY="layout",this.init()}updateWithValue(e){var i;const o=this._config.detectLayoutDisplay?this.styler.lookupStyle(this.nativeElement,"display"):"";this.styleCache=null!==(i=BM.get(o))&&void 0!==i?i:new Map,BM.set(o,this.styleCache),this.currentValue!==e&&(this.addStyles(e,{display:o}),this.currentValue=e)}}return n.\u0275fac=function(e){return new(e||n)(f(j),f(Xe),f(DH),f(tt),f(Ri))},n.\u0275dir=T({type:n,features:[O]}),n})(),ai=(()=>{class n extends EH{constructor(){super(...arguments),this.inputs=MH}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=U(n)))(i||n)}}(),n.\u0275dir=T({type:n,selectors:[["","fxLayout",""],["","fxLayout.xs",""],["","fxLayout.sm",""],["","fxLayout.md",""],["","fxLayout.lg",""],["","fxLayout.xl",""],["","fxLayout.lt-sm",""],["","fxLayout.lt-md",""],["","fxLayout.lt-lg",""],["","fxLayout.lt-xl",""],["","fxLayout.gt-xs",""],["","fxLayout.gt-sm",""],["","fxLayout.gt-md",""],["","fxLayout.gt-lg",""]],inputs:{fxLayout:"fxLayout","fxLayout.xs":"fxLayout.xs","fxLayout.sm":"fxLayout.sm","fxLayout.md":"fxLayout.md","fxLayout.lg":"fxLayout.lg","fxLayout.xl":"fxLayout.xl","fxLayout.lt-sm":"fxLayout.lt-sm","fxLayout.lt-md":"fxLayout.lt-md","fxLayout.lt-lg":"fxLayout.lt-lg","fxLayout.lt-xl":"fxLayout.lt-xl","fxLayout.gt-xs":"fxLayout.gt-xs","fxLayout.gt-sm":"fxLayout.gt-sm","fxLayout.gt-md":"fxLayout.gt-md","fxLayout.gt-lg":"fxLayout.gt-lg"},features:[O]}),n})();const BM=new Map,HM={"margin-left":null,"margin-right":null,"margin-top":null,"margin-bottom":null};let SH=(()=>{class n extends dt{constructor(e,i){super(),this._styler=e,this._config=i}buildStyles(e,i){return e.endsWith(ph)?function PH(n,t){const[e,i]=n.split(" "),o=c=>`-${c}`;let s="0px",a=o(i??e),l="0px";return"rtl"===t?l=o(e):s=o(e),{margin:`0px ${s} ${a} ${l}`}}(e=hh(e=e.slice(0,e.indexOf(ph)),this._config.multiplier),i.directionality):{}}sideEffect(e,i,r){const o=r.items;if(e.endsWith(ph)){const s=function OH(n,t){const[e,i]=n.split(" ");let o="0px",a="0px";return"rtl"===t?a=e:o=e,{padding:`0px ${o} ${i??e} ${a}`}}(e=hh(e=e.slice(0,e.indexOf(ph)),this._config.multiplier),r.directionality);this._styler.applyStyleToElements(s,r.items)}else{e=hh(e,this._config.multiplier),e=this.addFallbackUnit(e);const s=o.pop(),a=function LH(n,t){const e=$M(t.directionality,t.layout),i={...HM};return i[e]=n,i}(e,r);this._styler.applyStyleToElements(a,o),this._styler.applyStyleToElements(HM,[s])}}addFallbackUnit(e){return isNaN(+e)?e:`${e}${this._config.defaultUnit}`}}return n.\u0275fac=function(e){return new(e||n)(b(Xe),b(Ri))},n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const AH=["fxLayoutGap","fxLayoutGap.xs","fxLayoutGap.sm","fxLayoutGap.md","fxLayoutGap.lg","fxLayoutGap.xl","fxLayoutGap.lt-sm","fxLayoutGap.lt-md","fxLayoutGap.lt-lg","fxLayoutGap.lt-xl","fxLayoutGap.gt-xs","fxLayoutGap.gt-sm","fxLayoutGap.gt-md","fxLayoutGap.gt-lg"];let TH=(()=>{class n extends rt{constructor(e,i,r,o,s,a){super(e,s,o,a),this.zone=i,this.directionality=r,this.styleUtils=o,this.layout="row",this.DIRECTIVE_KEY="layout-gap",this.observerSubject=new ce;const l=[this.directionality.change,this.observerSubject.asObservable()];this.init(l),this.marshal.trackValue(this.nativeElement,"layout").pipe(Ge(this.destroySubject)).subscribe(this.onLayoutChange.bind(this))}get childrenNodes(){const e=this.nativeElement.children,i=[];for(let r=e.length;r--;)i[r]=e[r];return i}ngAfterContentInit(){this.buildChildObservable(),this.triggerUpdate()}ngOnDestroy(){super.ngOnDestroy(),this.observer&&this.observer.disconnect()}onLayoutChange(e){const r=e.value.split(" ");this.layout=r[0],dh.find(o=>o===this.layout)||(this.layout="row"),this.triggerUpdate()}updateWithValue(e){const i=this.childrenNodes.filter(r=>1===r.nodeType&&this.willDisplay(r)).sort((r,o)=>{const s=+this.styler.lookupStyle(r,"order"),a=+this.styler.lookupStyle(o,"order");return isNaN(s)||isNaN(a)||s===a?0:s>a?1:-1});if(i.length>0){const r=this.directionality.value,o=this.layout;"row"===o&&"rtl"===r?this.styleCache=IH:"row"===o&&"rtl"!==r?this.styleCache=FH:"column"===o&&"rtl"===r?this.styleCache=kH:"column"===o&&"rtl"!==r&&(this.styleCache=RH),this.addStyles(e,{directionality:r,items:i,layout:o})}}clearStyles(){const e=Object.keys(this.mru).length>0,i=e?"padding":$M(this.directionality.value,this.layout);e&&super.clearStyles(),this.styleUtils.applyStyleToElements({[i]:""},this.childrenNodes)}willDisplay(e){const i=this.marshal.getValue(e,"show-hide");return!0===i||void 0===i&&"none"!==this.styleUtils.lookupStyle(e,"display")}buildChildObservable(){this.zone.runOutsideAngular(()=>{typeof MutationObserver<"u"&&(this.observer=new MutationObserver(e=>{e.some(r=>r.addedNodes&&r.addedNodes.length>0||r.removedNodes&&r.removedNodes.length>0)&&this.observerSubject.next()}),this.observer.observe(this.nativeElement,{childList:!0}))})}}return n.\u0275fac=function(e){return new(e||n)(f(j),f(de),f(os),f(Xe),f(SH),f(tt))},n.\u0275dir=T({type:n,features:[O]}),n})(),ss=(()=>{class n extends TH{constructor(){super(...arguments),this.inputs=AH}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=U(n)))(i||n)}}(),n.\u0275dir=T({type:n,selectors:[["","fxLayoutGap",""],["","fxLayoutGap.xs",""],["","fxLayoutGap.sm",""],["","fxLayoutGap.md",""],["","fxLayoutGap.lg",""],["","fxLayoutGap.xl",""],["","fxLayoutGap.lt-sm",""],["","fxLayoutGap.lt-md",""],["","fxLayoutGap.lt-lg",""],["","fxLayoutGap.lt-xl",""],["","fxLayoutGap.gt-xs",""],["","fxLayoutGap.gt-sm",""],["","fxLayoutGap.gt-md",""],["","fxLayoutGap.gt-lg",""]],inputs:{fxLayoutGap:"fxLayoutGap","fxLayoutGap.xs":"fxLayoutGap.xs","fxLayoutGap.sm":"fxLayoutGap.sm","fxLayoutGap.md":"fxLayoutGap.md","fxLayoutGap.lg":"fxLayoutGap.lg","fxLayoutGap.xl":"fxLayoutGap.xl","fxLayoutGap.lt-sm":"fxLayoutGap.lt-sm","fxLayoutGap.lt-md":"fxLayoutGap.lt-md","fxLayoutGap.lt-lg":"fxLayoutGap.lt-lg","fxLayoutGap.lt-xl":"fxLayoutGap.lt-xl","fxLayoutGap.gt-xs":"fxLayoutGap.gt-xs","fxLayoutGap.gt-sm":"fxLayoutGap.gt-sm","fxLayoutGap.gt-md":"fxLayoutGap.gt-md","fxLayoutGap.gt-lg":"fxLayoutGap.gt-lg"},features:[O]}),n})();const IH=new Map,kH=new Map,FH=new Map,RH=new Map,ph=" grid";function $M(n,t){switch(t){case"column":return"margin-bottom";case"column-reverse":return"margin-top";case"row":default:return"rtl"===n?"margin-left":"margin-right";case"row-reverse":return"rtl"===n?"margin-right":"margin-left"}}let NH=(()=>{class n extends dt{constructor(e){super(),this.layoutConfig=e}buildStyles(e,i){let[r,o,...s]=e.split(" "),a=s.join(" ");const l=i.direction.indexOf("column")>-1?"column":"row",c=Mc(l)?"max-width":"max-height",u=Mc(l)?"min-width":"min-height",d=String(a).indexOf("calc")>-1,h=d||"auto"===a,g=String(a).indexOf("%")>-1&&!d,_=String(a).indexOf("px")>-1||String(a).indexOf("rem")>-1||String(a).indexOf("em")>-1||String(a).indexOf("vw")>-1||String(a).indexOf("vh")>-1;let y=d||_;r="0"==r?0:r,o="0"==o?0:o;const x=!r&&!o;let C={};const F={"max-width":null,"max-height":null,"min-width":null,"min-height":null};switch(a||""){case"":const A=!1!==this.layoutConfig.useColumnBasisZero;a="row"===l?"0%":A?"0.000000001px":"auto";break;case"initial":case"nogrow":r=0,a="auto";break;case"grow":a="100%";break;case"noshrink":o=0,a="auto";break;case"auto":break;case"none":r=0,o=0,a="auto";break;default:!y&&!g&&!isNaN(a)&&(a+="%"),"0%"===a&&(y=!0),"0px"===a&&(a="0%"),C=Fr(F,d?{"flex-grow":r,"flex-shrink":o,"flex-basis":y?a:"100%"}:{flex:`${r} ${o} ${y?a:"100%"}`})}return C.flex||C["flex-grow"]||(C=Fr(F,d?{"flex-grow":r,"flex-shrink":o,"flex-basis":a}:{flex:`${r} ${o} ${a}`})),"0%"!==a&&"0px"!==a&&"0.000000001px"!==a&&"auto"!==a&&(C[u]=x||y&&r?a:null,C[c]=x||!h&&o?a:null),C[u]||C[c]?i.hasWrap&&(C[d?"flex-basis":"flex"]=C[c]?d?C[c]:`${r} ${o} ${C[c]}`:d?C[u]:`${r} ${o} ${C[u]}`):C=Fr(F,d?{"flex-grow":r,"flex-shrink":o,"flex-basis":a}:{flex:`${r} ${o} ${a}`}),Fr(C,{"box-sizing":"border-box"})}}return n.\u0275fac=function(e){return new(e||n)(b(Ri))},n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const VH=["fxFlex","fxFlex.xs","fxFlex.sm","fxFlex.md","fxFlex.lg","fxFlex.xl","fxFlex.lt-sm","fxFlex.lt-md","fxFlex.lt-lg","fxFlex.lt-xl","fxFlex.gt-xs","fxFlex.gt-sm","fxFlex.gt-md","fxFlex.gt-lg"];let BH=(()=>{class n extends rt{constructor(e,i,r,o,s){super(e,o,i,s),this.layoutConfig=r,this.marshal=s,this.DIRECTIVE_KEY="flex",this.direction=void 0,this.wrap=void 0,this.flexGrow="1",this.flexShrink="1",this.init()}get shrink(){return this.flexShrink}set shrink(e){this.flexShrink=e||"1",this.triggerReflow()}get grow(){return this.flexGrow}set grow(e){this.flexGrow=e||"1",this.triggerReflow()}ngOnInit(){this.parentElement&&(this.marshal.trackValue(this.parentElement,"layout").pipe(Ge(this.destroySubject)).subscribe(this.onLayoutChange.bind(this)),this.marshal.trackValue(this.nativeElement,"layout-align").pipe(Ge(this.destroySubject)).subscribe(this.triggerReflow.bind(this)))}onLayoutChange(e){const r=e.value.split(" ");this.direction=r[0],this.wrap=void 0!==r[1]&&"wrap"===r[1],this.triggerUpdate()}updateWithValue(e){void 0===this.direction&&(this.direction=this.getFlexFlowDirection(this.parentElement,!1!==this.layoutConfig.addFlexToParent)),void 0===this.wrap&&(this.wrap=this.hasWrap(this.parentElement));const r=this.direction,o=r.startsWith("row"),s=this.wrap;o&&s?this.styleCache=jH:o&&!s?this.styleCache=HH:!o&&s?this.styleCache=GH:!o&&!s&&(this.styleCache=$H);const l=TM(String(e).replace(";",""),this.flexGrow,this.flexShrink);this.addStyles(l.join(" "),{direction:r,hasWrap:s})}triggerReflow(){const e=this.activatedValue;if(void 0!==e){const i=TM(e+"",this.flexGrow,this.flexShrink);this.marshal.updateElement(this.nativeElement,this.DIRECTIVE_KEY,i.join(" "))}}}return n.\u0275fac=function(e){return new(e||n)(f(j),f(Xe),f(Ri),f(NH),f(tt))},n.\u0275dir=T({type:n,inputs:{shrink:["fxShrink","shrink"],grow:["fxGrow","grow"]},features:[O]}),n})(),Ua=(()=>{class n extends BH{constructor(){super(...arguments),this.inputs=VH}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=U(n)))(i||n)}}(),n.\u0275dir=T({type:n,selectors:[["","fxFlex",""],["","fxFlex.xs",""],["","fxFlex.sm",""],["","fxFlex.md",""],["","fxFlex.lg",""],["","fxFlex.xl",""],["","fxFlex.lt-sm",""],["","fxFlex.lt-md",""],["","fxFlex.lt-lg",""],["","fxFlex.lt-xl",""],["","fxFlex.gt-xs",""],["","fxFlex.gt-sm",""],["","fxFlex.gt-md",""],["","fxFlex.gt-lg",""]],inputs:{fxFlex:"fxFlex","fxFlex.xs":"fxFlex.xs","fxFlex.sm":"fxFlex.sm","fxFlex.md":"fxFlex.md","fxFlex.lg":"fxFlex.lg","fxFlex.xl":"fxFlex.xl","fxFlex.lt-sm":"fxFlex.lt-sm","fxFlex.lt-md":"fxFlex.lt-md","fxFlex.lt-lg":"fxFlex.lt-lg","fxFlex.lt-xl":"fxFlex.lt-xl","fxFlex.gt-xs":"fxFlex.gt-xs","fxFlex.gt-sm":"fxFlex.gt-sm","fxFlex.gt-md":"fxFlex.gt-md","fxFlex.gt-lg":"fxFlex.gt-lg"},features:[O]}),n})();const HH=new Map,$H=new Map,jH=new Map,GH=new Map;let i$=(()=>{class n extends dt{buildStyles(e){const i={};switch(e=e||"stretch"){case"start":i["align-self"]="flex-start";break;case"end":i["align-self"]="flex-end";break;default:i["align-self"]=e}return i}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=U(n)))(i||n)}}(),n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const r$=["fxFlexAlign","fxFlexAlign.xs","fxFlexAlign.sm","fxFlexAlign.md","fxFlexAlign.lg","fxFlexAlign.xl","fxFlexAlign.lt-sm","fxFlexAlign.lt-md","fxFlexAlign.lt-lg","fxFlexAlign.lt-xl","fxFlexAlign.gt-xs","fxFlexAlign.gt-sm","fxFlexAlign.gt-md","fxFlexAlign.gt-lg"];let o$=(()=>{class n extends rt{constructor(e,i,r,o){super(e,r,i,o),this.DIRECTIVE_KEY="flex-align",this.styleCache=s$,this.init()}}return n.\u0275fac=function(e){return new(e||n)(f(j),f(Xe),f(i$),f(tt))},n.\u0275dir=T({type:n,features:[O]}),n})();const s$=new Map;let jM=(()=>{class n extends o${constructor(){super(...arguments),this.inputs=r$}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=U(n)))(i||n)}}(),n.\u0275dir=T({type:n,selectors:[["","fxFlexAlign",""],["","fxFlexAlign.xs",""],["","fxFlexAlign.sm",""],["","fxFlexAlign.md",""],["","fxFlexAlign.lg",""],["","fxFlexAlign.xl",""],["","fxFlexAlign.lt-sm",""],["","fxFlexAlign.lt-md",""],["","fxFlexAlign.lt-lg",""],["","fxFlexAlign.lt-xl",""],["","fxFlexAlign.gt-xs",""],["","fxFlexAlign.gt-sm",""],["","fxFlexAlign.gt-md",""],["","fxFlexAlign.gt-lg",""]],inputs:{fxFlexAlign:"fxFlexAlign","fxFlexAlign.xs":"fxFlexAlign.xs","fxFlexAlign.sm":"fxFlexAlign.sm","fxFlexAlign.md":"fxFlexAlign.md","fxFlexAlign.lg":"fxFlexAlign.lg","fxFlexAlign.xl":"fxFlexAlign.xl","fxFlexAlign.lt-sm":"fxFlexAlign.lt-sm","fxFlexAlign.lt-md":"fxFlexAlign.lt-md","fxFlexAlign.lt-lg":"fxFlexAlign.lt-lg","fxFlexAlign.lt-xl":"fxFlexAlign.lt-xl","fxFlexAlign.gt-xs":"fxFlexAlign.gt-xs","fxFlexAlign.gt-sm":"fxFlexAlign.gt-sm","fxFlexAlign.gt-md":"fxFlexAlign.gt-md","fxFlexAlign.gt-lg":"fxFlexAlign.gt-lg"},features:[O]}),n})(),d$=(()=>{class n extends dt{buildStyles(e,i){const r={},[o,s]=e.split(" ");switch(o){case"center":r["justify-content"]="center";break;case"space-around":r["justify-content"]="space-around";break;case"space-between":r["justify-content"]="space-between";break;case"space-evenly":r["justify-content"]="space-evenly";break;case"end":case"flex-end":r["justify-content"]="flex-end";break;default:r["justify-content"]="flex-start"}switch(s){case"start":case"flex-start":r["align-items"]=r["align-content"]="flex-start";break;case"center":r["align-items"]=r["align-content"]="center";break;case"end":case"flex-end":r["align-items"]=r["align-content"]="flex-end";break;case"space-between":r["align-content"]="space-between",r["align-items"]="stretch";break;case"space-around":r["align-content"]="space-around",r["align-items"]="stretch";break;case"baseline":r["align-content"]="stretch",r["align-items"]="baseline";break;default:r["align-items"]=r["align-content"]="stretch"}return Fr(r,{display:i.inline?"inline-flex":"flex","flex-direction":i.layout,"box-sizing":"border-box","max-width":"stretch"===s?Mc(i.layout)?null:"100%":null,"max-height":"stretch"===s&&Mc(i.layout)?"100%":null})}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=U(n)))(i||n)}}(),n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const h$=["fxLayoutAlign","fxLayoutAlign.xs","fxLayoutAlign.sm","fxLayoutAlign.md","fxLayoutAlign.lg","fxLayoutAlign.xl","fxLayoutAlign.lt-sm","fxLayoutAlign.lt-md","fxLayoutAlign.lt-lg","fxLayoutAlign.lt-xl","fxLayoutAlign.gt-xs","fxLayoutAlign.gt-sm","fxLayoutAlign.gt-md","fxLayoutAlign.gt-lg"];let f$=(()=>{class n extends rt{constructor(e,i,r,o){super(e,r,i,o),this.DIRECTIVE_KEY="layout-align",this.layout="row",this.inline=!1,this.init(),this.marshal.trackValue(this.nativeElement,"layout").pipe(Ge(this.destroySubject)).subscribe(this.onLayoutChange.bind(this))}updateWithValue(e){const i=this.layout||"row",r=this.inline;"row"===i&&r?this.styleCache=y$:"row"!==i||r?"row-reverse"===i&&r?this.styleCache=b$:"row-reverse"!==i||r?"column"===i&&r?this.styleCache=v$:"column"!==i||r?"column-reverse"===i&&r?this.styleCache=C$:"column-reverse"===i&&!r&&(this.styleCache=_$):this.styleCache=g$:this.styleCache=m$:this.styleCache=p$,this.addStyles(e,{layout:i,inline:r})}onLayoutChange(e){const i=e.value.split(" ");this.layout=i[0],this.inline=e.value.includes("inline"),dh.find(r=>r===this.layout)||(this.layout="row"),this.triggerUpdate()}}return n.\u0275fac=function(e){return new(e||n)(f(j),f(Xe),f(d$),f(tt))},n.\u0275dir=T({type:n,features:[O]}),n})(),Oi=(()=>{class n extends f${constructor(){super(...arguments),this.inputs=h$}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=U(n)))(i||n)}}(),n.\u0275dir=T({type:n,selectors:[["","fxLayoutAlign",""],["","fxLayoutAlign.xs",""],["","fxLayoutAlign.sm",""],["","fxLayoutAlign.md",""],["","fxLayoutAlign.lg",""],["","fxLayoutAlign.xl",""],["","fxLayoutAlign.lt-sm",""],["","fxLayoutAlign.lt-md",""],["","fxLayoutAlign.lt-lg",""],["","fxLayoutAlign.lt-xl",""],["","fxLayoutAlign.gt-xs",""],["","fxLayoutAlign.gt-sm",""],["","fxLayoutAlign.gt-md",""],["","fxLayoutAlign.gt-lg",""]],inputs:{fxLayoutAlign:"fxLayoutAlign","fxLayoutAlign.xs":"fxLayoutAlign.xs","fxLayoutAlign.sm":"fxLayoutAlign.sm","fxLayoutAlign.md":"fxLayoutAlign.md","fxLayoutAlign.lg":"fxLayoutAlign.lg","fxLayoutAlign.xl":"fxLayoutAlign.xl","fxLayoutAlign.lt-sm":"fxLayoutAlign.lt-sm","fxLayoutAlign.lt-md":"fxLayoutAlign.lt-md","fxLayoutAlign.lt-lg":"fxLayoutAlign.lt-lg","fxLayoutAlign.lt-xl":"fxLayoutAlign.lt-xl","fxLayoutAlign.gt-xs":"fxLayoutAlign.gt-xs","fxLayoutAlign.gt-sm":"fxLayoutAlign.gt-sm","fxLayoutAlign.gt-md":"fxLayoutAlign.gt-md","fxLayoutAlign.gt-lg":"fxLayoutAlign.gt-lg"},features:[O]}),n})();const p$=new Map,g$=new Map,m$=new Map,_$=new Map,y$=new Map,v$=new Map,b$=new Map,C$=new Map;let GM=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({imports:[Ym,Ga]}),n})();const UM="stretch";let x$=(()=>{class n extends dt{buildStyles(e){return function S$(n=""){const t={},[e,i]=n.split(" ");switch(e){case"end":t["justify-self"]="end";break;case"center":t["justify-self"]="center";break;case"stretch":t["justify-self"]="stretch";break;case"start":t["justify-self"]="start";break;default:t["justify-self"]=UM}switch(i){case"end":t["align-self"]="end";break;case"center":t["align-self"]="center";break;case"stretch":default:t["align-self"]="stretch";break;case"start":t["align-self"]="start"}return t}(e||UM)}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=U(n)))(i||n)}}(),n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),D$=(()=>{class n extends rt{constructor(e,i,r,o){super(e,i,r,o),this.DIRECTIVE_KEY="grid-align",this.styleCache=M$,this.init()}}return n.\u0275fac=function(e){return new(e||n)(f(j),f(x$),f(Xe),f(tt))},n.\u0275dir=T({type:n,features:[O]}),n})();const M$=new Map,E$=["gdGridAlign","gdGridAlign.xs","gdGridAlign.sm","gdGridAlign.md","gdGridAlign.lg","gdGridAlign.xl","gdGridAlign.lt-sm","gdGridAlign.lt-md","gdGridAlign.lt-lg","gdGridAlign.lt-xl","gdGridAlign.gt-xs","gdGridAlign.gt-sm","gdGridAlign.gt-md","gdGridAlign.gt-lg"];let t_=(()=>{class n extends D${constructor(){super(...arguments),this.inputs=E$}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=U(n)))(i||n)}}(),n.\u0275dir=T({type:n,selectors:[["","gdGridAlign",""],["","gdGridAlign.xs",""],["","gdGridAlign.sm",""],["","gdGridAlign.md",""],["","gdGridAlign.lg",""],["","gdGridAlign.xl",""],["","gdGridAlign.lt-sm",""],["","gdGridAlign.lt-md",""],["","gdGridAlign.lt-lg",""],["","gdGridAlign.lt-xl",""],["","gdGridAlign.gt-xs",""],["","gdGridAlign.gt-sm",""],["","gdGridAlign.gt-md",""],["","gdGridAlign.gt-lg",""]],inputs:{gdGridAlign:"gdGridAlign","gdGridAlign.xs":"gdGridAlign.xs","gdGridAlign.sm":"gdGridAlign.sm","gdGridAlign.md":"gdGridAlign.md","gdGridAlign.lg":"gdGridAlign.lg","gdGridAlign.xl":"gdGridAlign.xl","gdGridAlign.lt-sm":"gdGridAlign.lt-sm","gdGridAlign.lt-md":"gdGridAlign.lt-md","gdGridAlign.lt-lg":"gdGridAlign.lt-lg","gdGridAlign.lt-xl":"gdGridAlign.lt-xl","gdGridAlign.gt-xs":"gdGridAlign.gt-xs","gdGridAlign.gt-sm":"gdGridAlign.gt-sm","gdGridAlign.gt-md":"gdGridAlign.gt-md","gdGridAlign.gt-lg":"gdGridAlign.gt-lg"},features:[O]}),n})();const WM="stretch";let A$=(()=>{class n extends dt{buildStyles(e,i){return function R$(n,t){const e={},[i,r]=n.split(" ");switch(i){case"center":e["align-content"]="center";break;case"space-around":e["align-content"]="space-around";break;case"space-between":e["align-content"]="space-between";break;case"space-evenly":e["align-content"]="space-evenly";break;case"end":e["align-content"]="end";break;case"start":default:e["align-content"]="start";break;case"stretch":e["align-content"]="stretch"}switch(r){case"start":e["align-items"]="start";break;case"center":e["align-items"]="center";break;case"end":e["align-items"]="end";break;case"stretch":e["align-items"]="stretch";break;default:e["align-items"]=WM}return e.display=t?"inline-grid":"grid",e}(e||`start ${WM}`,i.inline)}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=U(n)))(i||n)}}(),n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),T$=(()=>{class n extends rt{constructor(e,i,r,o){super(e,i,r,o),this.DIRECTIVE_KEY="grid-align-columns",this._inline=!1,this.init()}get inline(){return this._inline}set inline(e){this._inline=Ae(e)}updateWithValue(e){this.styleCache=this.inline?k$:I$,this.addStyles(e,{inline:this.inline})}}return n.\u0275fac=function(e){return new(e||n)(f(j),f(A$),f(Xe),f(tt))},n.\u0275dir=T({type:n,inputs:{inline:["gdInline","inline"]},features:[O]}),n})();const I$=new Map,k$=new Map,F$=["gdAlignColumns","gdAlignColumns.xs","gdAlignColumns.sm","gdAlignColumns.md","gdAlignColumns.lg","gdAlignColumns.xl","gdAlignColumns.lt-sm","gdAlignColumns.lt-md","gdAlignColumns.lt-lg","gdAlignColumns.lt-xl","gdAlignColumns.gt-xs","gdAlignColumns.gt-sm","gdAlignColumns.gt-md","gdAlignColumns.gt-lg"];let qM=(()=>{class n extends T${constructor(){super(...arguments),this.inputs=F$}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=U(n)))(i||n)}}(),n.\u0275dir=T({type:n,selectors:[["","gdAlignColumns",""],["","gdAlignColumns.xs",""],["","gdAlignColumns.sm",""],["","gdAlignColumns.md",""],["","gdAlignColumns.lg",""],["","gdAlignColumns.xl",""],["","gdAlignColumns.lt-sm",""],["","gdAlignColumns.lt-md",""],["","gdAlignColumns.lt-lg",""],["","gdAlignColumns.lt-xl",""],["","gdAlignColumns.gt-xs",""],["","gdAlignColumns.gt-sm",""],["","gdAlignColumns.gt-md",""],["","gdAlignColumns.gt-lg",""]],inputs:{gdAlignColumns:"gdAlignColumns","gdAlignColumns.xs":"gdAlignColumns.xs","gdAlignColumns.sm":"gdAlignColumns.sm","gdAlignColumns.md":"gdAlignColumns.md","gdAlignColumns.lg":"gdAlignColumns.lg","gdAlignColumns.xl":"gdAlignColumns.xl","gdAlignColumns.lt-sm":"gdAlignColumns.lt-sm","gdAlignColumns.lt-md":"gdAlignColumns.lt-md","gdAlignColumns.lt-lg":"gdAlignColumns.lt-lg","gdAlignColumns.lt-xl":"gdAlignColumns.lt-xl","gdAlignColumns.gt-xs":"gdAlignColumns.gt-xs","gdAlignColumns.gt-sm":"gdAlignColumns.gt-sm","gdAlignColumns.gt-md":"gdAlignColumns.gt-md","gdAlignColumns.gt-lg":"gdAlignColumns.gt-lg"},features:[O]}),n})();const QM="stretch";let O$=(()=>{class n extends dt{buildStyles(e,i){return function B$(n,t){const e={},[i,r]=n.split(" ");switch(i){case"center":case"space-around":case"space-between":case"space-evenly":case"end":case"start":case"stretch":e["justify-content"]=i;break;default:e["justify-content"]="start"}switch(r){case"start":case"center":case"end":case"stretch":e["justify-items"]=r;break;default:e["justify-items"]=QM}return e.display=t?"inline-grid":"grid",e}(e||`start ${QM}`,i.inline)}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=U(n)))(i||n)}}(),n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),P$=(()=>{class n extends rt{constructor(e,i,r,o){super(e,i,r,o),this.DIRECTIVE_KEY="grid-align-rows",this._inline=!1,this.init()}get inline(){return this._inline}set inline(e){this._inline=Ae(e)}updateWithValue(e){this.styleCache=this.inline?N$:L$,this.addStyles(e,{inline:this.inline})}}return n.\u0275fac=function(e){return new(e||n)(f(j),f(O$),f(Xe),f(tt))},n.\u0275dir=T({type:n,inputs:{inline:["gdInline","inline"]},features:[O]}),n})();const L$=new Map,N$=new Map,V$=["gdAlignRows","gdAlignRows.xs","gdAlignRows.sm","gdAlignRows.md","gdAlignRows.lg","gdAlignRows.xl","gdAlignRows.lt-sm","gdAlignRows.lt-md","gdAlignRows.lt-lg","gdAlignRows.lt-xl","gdAlignRows.gt-xs","gdAlignRows.gt-sm","gdAlignRows.gt-md","gdAlignRows.gt-lg"];let n_=(()=>{class n extends P${constructor(){super(...arguments),this.inputs=V$}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=U(n)))(i||n)}}(),n.\u0275dir=T({type:n,selectors:[["","gdAlignRows",""],["","gdAlignRows.xs",""],["","gdAlignRows.sm",""],["","gdAlignRows.md",""],["","gdAlignRows.lg",""],["","gdAlignRows.xl",""],["","gdAlignRows.lt-sm",""],["","gdAlignRows.lt-md",""],["","gdAlignRows.lt-lg",""],["","gdAlignRows.lt-xl",""],["","gdAlignRows.gt-xs",""],["","gdAlignRows.gt-sm",""],["","gdAlignRows.gt-md",""],["","gdAlignRows.gt-lg",""]],inputs:{gdAlignRows:"gdAlignRows","gdAlignRows.xs":"gdAlignRows.xs","gdAlignRows.sm":"gdAlignRows.sm","gdAlignRows.md":"gdAlignRows.md","gdAlignRows.lg":"gdAlignRows.lg","gdAlignRows.xl":"gdAlignRows.xl","gdAlignRows.lt-sm":"gdAlignRows.lt-sm","gdAlignRows.lt-md":"gdAlignRows.lt-md","gdAlignRows.lt-lg":"gdAlignRows.lt-lg","gdAlignRows.lt-xl":"gdAlignRows.lt-xl","gdAlignRows.gt-xs":"gdAlignRows.gt-xs","gdAlignRows.gt-sm":"gdAlignRows.gt-sm","gdAlignRows.gt-md":"gdAlignRows.gt-md","gdAlignRows.gt-lg":"gdAlignRows.gt-lg"},features:[O]}),n})(),pj=(()=>{class n extends dt{buildStyles(e,i){let r=!1;(e=e||"none").endsWith("!")&&(e=e.substring(0,e.indexOf("!")),r=!0);const o={display:i.inline?"inline-grid":"grid","grid-auto-columns":"","grid-template-columns":""};return o[r?"grid-auto-columns":"grid-template-columns"]=e,o}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=U(n)))(i||n)}}(),n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),gj=(()=>{class n extends rt{constructor(e,i,r,o){super(e,i,r,o),this.DIRECTIVE_KEY="grid-columns",this._inline=!1,this.init()}get inline(){return this._inline}set inline(e){this._inline=Ae(e)}updateWithValue(e){this.styleCache=this.inline?_j:mj,this.addStyles(e,{inline:this.inline})}}return n.\u0275fac=function(e){return new(e||n)(f(j),f(pj),f(Xe),f(tt))},n.\u0275dir=T({type:n,inputs:{inline:["gdInline","inline"]},features:[O]}),n})();const mj=new Map,_j=new Map,yj=["gdColumns","gdColumns.xs","gdColumns.sm","gdColumns.md","gdColumns.lg","gdColumns.xl","gdColumns.lt-sm","gdColumns.lt-md","gdColumns.lt-lg","gdColumns.lt-xl","gdColumns.gt-xs","gdColumns.gt-sm","gdColumns.gt-md","gdColumns.gt-lg"];let ZM=(()=>{class n extends gj{constructor(){super(...arguments),this.inputs=yj}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=U(n)))(i||n)}}(),n.\u0275dir=T({type:n,selectors:[["","gdColumns",""],["","gdColumns.xs",""],["","gdColumns.sm",""],["","gdColumns.md",""],["","gdColumns.lg",""],["","gdColumns.xl",""],["","gdColumns.lt-sm",""],["","gdColumns.lt-md",""],["","gdColumns.lt-lg",""],["","gdColumns.lt-xl",""],["","gdColumns.gt-xs",""],["","gdColumns.gt-sm",""],["","gdColumns.gt-md",""],["","gdColumns.gt-lg",""]],inputs:{gdColumns:"gdColumns","gdColumns.xs":"gdColumns.xs","gdColumns.sm":"gdColumns.sm","gdColumns.md":"gdColumns.md","gdColumns.lg":"gdColumns.lg","gdColumns.xl":"gdColumns.xl","gdColumns.lt-sm":"gdColumns.lt-sm","gdColumns.lt-md":"gdColumns.lt-md","gdColumns.lt-lg":"gdColumns.lt-lg","gdColumns.lt-xl":"gdColumns.lt-xl","gdColumns.gt-xs":"gdColumns.gt-xs","gdColumns.gt-sm":"gdColumns.gt-sm","gdColumns.gt-md":"gdColumns.gt-md","gdColumns.gt-lg":"gdColumns.gt-lg"},features:[O]}),n})(),Rj=(()=>{class n extends dt{buildStyles(e,i){let r=!1;(e=e||"none").endsWith("!")&&(e=e.substring(0,e.indexOf("!")),r=!0);const o={display:i.inline?"inline-grid":"grid","grid-auto-rows":"","grid-template-rows":""};return o[r?"grid-auto-rows":"grid-template-rows"]=e,o}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=U(n)))(i||n)}}(),n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Oj=(()=>{class n extends rt{constructor(e,i,r,o){super(e,i,r,o),this.DIRECTIVE_KEY="grid-rows",this._inline=!1,this.init()}get inline(){return this._inline}set inline(e){this._inline=Ae(e)}updateWithValue(e){this.styleCache=this.inline?Lj:Pj,this.addStyles(e,{inline:this.inline})}}return n.\u0275fac=function(e){return new(e||n)(f(j),f(Rj),f(Xe),f(tt))},n.\u0275dir=T({type:n,inputs:{inline:["gdInline","inline"]},features:[O]}),n})();const Pj=new Map,Lj=new Map,Nj=["gdRows","gdRows.xs","gdRows.sm","gdRows.md","gdRows.lg","gdRows.xl","gdRows.lt-sm","gdRows.lt-md","gdRows.lt-lg","gdRows.lt-xl","gdRows.gt-xs","gdRows.gt-sm","gdRows.gt-md","gdRows.gt-lg"];let i_=(()=>{class n extends Oj{constructor(){super(...arguments),this.inputs=Nj}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=U(n)))(i||n)}}(),n.\u0275dir=T({type:n,selectors:[["","gdRows",""],["","gdRows.xs",""],["","gdRows.sm",""],["","gdRows.md",""],["","gdRows.lg",""],["","gdRows.xl",""],["","gdRows.lt-sm",""],["","gdRows.lt-md",""],["","gdRows.lt-lg",""],["","gdRows.lt-xl",""],["","gdRows.gt-xs",""],["","gdRows.gt-sm",""],["","gdRows.gt-md",""],["","gdRows.gt-lg",""]],inputs:{gdRows:"gdRows","gdRows.xs":"gdRows.xs","gdRows.sm":"gdRows.sm","gdRows.md":"gdRows.md","gdRows.lg":"gdRows.lg","gdRows.xl":"gdRows.xl","gdRows.lt-sm":"gdRows.lt-sm","gdRows.lt-md":"gdRows.lt-md","gdRows.lt-lg":"gdRows.lt-lg","gdRows.lt-xl":"gdRows.lt-xl","gdRows.gt-xs":"gdRows.gt-xs","gdRows.gt-sm":"gdRows.gt-sm","gdRows.gt-md":"gdRows.gt-md","gdRows.gt-lg":"gdRows.gt-lg"},features:[O]}),n})(),JM=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({imports:[Ym]}),n})(),Vj=(()=>{class n{constructor(e,i){nr(i)&&!e&&console.warn("Warning: Flex Layout loaded on the server without FlexLayoutServerModule")}static withConfig(e,i=[]){return{ngModule:n,providers:e.serverLoaded?[{provide:Ri,useValue:{...Qm,...e}},{provide:Km,useValue:i,multi:!0},{provide:$a,useValue:!0}]:[{provide:Ri,useValue:{...Qm,...e}},{provide:Km,useValue:i,multi:!0}]}}}return n.\u0275fac=function(e){return new(e||n)(b($a),b($n))},n.\u0275mod=Z({type:n}),n.\u0275inj=K({imports:[GM,VM,JM,GM,VM,JM]}),n})();class eE{}const Pr="*";function ir(n,t){return{type:7,name:n,definitions:t,options:{}}}function Xt(n,t=null){return{type:4,styles:t,timings:n}}function tE(n,t=null){return{type:2,steps:n,options:t}}function Pe(n){return{type:6,styles:n,offset:null}}function pn(n,t,e){return{type:0,name:n,styles:t,options:e}}function Vt(n,t,e=null){return{type:1,expr:n,animation:t,options:e}}function nE(n,t=null){return{type:8,animation:n,options:t}}function $j(n=null){return{type:9,options:n}}function iE(n,t=null){return{type:10,animation:n,options:t}}function jj(n,t,e=null){return{type:11,selector:n,animation:t,options:e}}function rE(n){Promise.resolve().then(n)}class Sc{constructor(t=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=t+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){rE(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}class oE{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let e=0,i=0,r=0;const o=this.players.length;0==o?rE(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++e==o&&this._onFinish()}),s.onDestroy(()=>{++i==o&&this._onDestroy()}),s.onStart(()=>{++r==o&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){const e=t*this.totalTime;this.players.forEach(i=>{const r=i.totalTime?Math.min(1,e/i.totalTime):1;i.setPosition(r)})}getPosition(){const t=this.players.reduce((e,i)=>null===e||i.totalTime>e.totalTime?i:e,null);return null!=t?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}function sE(n){return new I(3e3,!1)}function xG(){return typeof window<"u"&&typeof window.document<"u"}function o_(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function go(n){switch(n.length){case 0:return new Sc;case 1:return n[0];default:return new oE(n)}}function aE(n,t,e,i,r=new Map,o=new Map){const s=[],a=[];let l=-1,c=null;if(i.forEach(u=>{const d=u.get("offset"),h=d==l,g=h&&c||new Map;u.forEach((_,y)=>{let x=y,C=_;if("offset"!==y)switch(x=t.normalizePropertyName(x,s),C){case"!":C=r.get(y);break;case Pr:C=o.get(y);break;default:C=t.normalizeStyleValue(y,x,C,s)}g.set(x,C)}),h||a.push(g),c=g,l=d}),s.length)throw function dG(n){return new I(3502,!1)}();return a}function s_(n,t,e,i){switch(t){case"start":n.onStart(()=>i(e&&a_(e,"start",n)));break;case"done":n.onDone(()=>i(e&&a_(e,"done",n)));break;case"destroy":n.onDestroy(()=>i(e&&a_(e,"destroy",n)))}}function a_(n,t,e){const o=l_(n.element,n.triggerName,n.fromState,n.toState,t||n.phaseName,e.totalTime??n.totalTime,!!e.disabled),s=n._data;return null!=s&&(o._data=s),o}function l_(n,t,e,i,r="",o=0,s){return{element:n,triggerName:t,fromState:e,toState:i,phaseName:r,totalTime:o,disabled:!!s}}function Gn(n,t,e){let i=n.get(t);return i||n.set(t,i=e),i}function lE(n){const t=n.indexOf(":");return[n.substring(1,t),n.slice(t+1)]}let c_=(n,t)=>!1,cE=(n,t,e)=>[],uE=null;function u_(n){const t=n.parentNode||n.host;return t===uE?null:t}(o_()||typeof Element<"u")&&(xG()?(uE=(()=>document.documentElement)(),c_=(n,t)=>{for(;t;){if(t===n)return!0;t=u_(t)}return!1}):c_=(n,t)=>n.contains(t),cE=(n,t,e)=>{if(e)return Array.from(n.querySelectorAll(t));const i=n.querySelector(t);return i?[i]:[]});let as=null,dE=!1;const hE=c_,fE=cE;let pE=(()=>{class n{validateStyleProperty(e){return function MG(n){as||(as=function EG(){return typeof document<"u"?document.body:null}()||{},dE=!!as.style&&"WebkitAppearance"in as.style);let t=!0;return as.style&&!function DG(n){return"ebkit"==n.substring(1,6)}(n)&&(t=n in as.style,!t&&dE&&(t="Webkit"+n.charAt(0).toUpperCase()+n.slice(1)in as.style)),t}(e)}matchesElement(e,i){return!1}containsElement(e,i){return hE(e,i)}getParentElement(e){return u_(e)}query(e,i,r){return fE(e,i,r)}computeStyle(e,i,r){return r||""}animate(e,i,r,o,s,a=[],l){return new Sc(r,o)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=k({token:n,factory:n.\u0275fac}),n})(),d_=(()=>{class n{}return n.NOOP=new pE,n})();const h_="ng-enter",gh="ng-leave",mh="ng-trigger",_h=".ng-trigger",mE="ng-animating",f_=".ng-animating";function Lr(n){if("number"==typeof n)return n;const t=n.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:p_(parseFloat(t[1]),t[2])}function p_(n,t){return"s"===t?1e3*n:n}function yh(n,t,e){return n.hasOwnProperty("duration")?n:function TG(n,t,e){let r,o=0,s="";if("string"==typeof n){const a=n.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===a)return t.push(sE()),{duration:0,delay:0,easing:""};r=p_(parseFloat(a[1]),a[2]);const l=a[3];null!=l&&(o=p_(parseFloat(l),a[4]));const c=a[5];c&&(s=c)}else r=n;if(!e){let a=!1,l=t.length;r<0&&(t.push(function Gj(){return new I(3100,!1)}()),a=!0),o<0&&(t.push(function Uj(){return new I(3101,!1)}()),a=!0),a&&t.splice(l,0,sE())}return{duration:r,delay:o,easing:s}}(n,t,e)}function Ac(n,t={}){return Object.keys(n).forEach(e=>{t[e]=n[e]}),t}function _E(n){const t=new Map;return Object.keys(n).forEach(e=>{t.set(e,n[e])}),t}function mo(n,t=new Map,e){if(e)for(let[i,r]of e)t.set(i,r);for(let[i,r]of n)t.set(i,r);return t}function vE(n,t,e){return e?t+":"+e+";":""}function bE(n){let t="";for(let e=0;e{const o=m_(r);e&&!e.has(r)&&e.set(r,n.style[o]),n.style[o]=i}),o_()&&bE(n))}function ls(n,t){n.style&&(t.forEach((e,i)=>{const r=m_(i);n.style[r]=""}),o_()&&bE(n))}function Tc(n){return Array.isArray(n)?1==n.length?n[0]:tE(n):n}const g_=new RegExp("{{\\s*(.+?)\\s*}}","g");function CE(n){let t=[];if("string"==typeof n){let e;for(;e=g_.exec(n);)t.push(e[1]);g_.lastIndex=0}return t}function Ic(n,t,e){const i=n.toString(),r=i.replace(g_,(o,s)=>{let a=t[s];return null==a&&(e.push(function Wj(n){return new I(3003,!1)}()),a=""),a.toString()});return r==i?n:r}function vh(n){const t=[];let e=n.next();for(;!e.done;)t.push(e.value),e=n.next();return t}const FG=/-+([a-z0-9])/g;function m_(n){return n.replace(FG,(...t)=>t[1].toUpperCase())}function RG(n){return n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Un(n,t,e){switch(t.type){case 7:return n.visitTrigger(t,e);case 0:return n.visitState(t,e);case 1:return n.visitTransition(t,e);case 2:return n.visitSequence(t,e);case 3:return n.visitGroup(t,e);case 4:return n.visitAnimate(t,e);case 5:return n.visitKeyframes(t,e);case 6:return n.visitStyle(t,e);case 8:return n.visitReference(t,e);case 9:return n.visitAnimateChild(t,e);case 10:return n.visitAnimateRef(t,e);case 11:return n.visitQuery(t,e);case 12:return n.visitStagger(t,e);default:throw function qj(n){return new I(3004,!1)}()}}function wE(n,t){return window.getComputedStyle(n)[t]}function BG(n,t){const e=[];return"string"==typeof n?n.split(/\s*,\s*/).forEach(i=>function HG(n,t,e){if(":"==n[0]){const l=function $G(n,t){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,i)=>parseFloat(i)>parseFloat(e);case":decrement":return(e,i)=>parseFloat(i) *"}}(n,e);if("function"==typeof l)return void t.push(l);n=l}const i=n.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return e.push(function sG(n){return new I(3015,!1)}()),t;const r=i[1],o=i[2],s=i[3];t.push(xE(r,s));"<"==o[0]&&!("*"==r&&"*"==s)&&t.push(xE(s,r))}(i,e,t)):e.push(n),e}const xh=new Set(["true","1"]),Dh=new Set(["false","0"]);function xE(n,t){const e=xh.has(n)||Dh.has(n),i=xh.has(t)||Dh.has(t);return(r,o)=>{let s="*"==n||n==r,a="*"==t||t==o;return!s&&e&&"boolean"==typeof r&&(s=r?xh.has(n):Dh.has(n)),!a&&i&&"boolean"==typeof o&&(a=o?xh.has(t):Dh.has(t)),s&&a}}const jG=new RegExp("s*:selfs*,?","g");function __(n,t,e,i){return new GG(n).build(t,e,i)}class GG{constructor(t){this._driver=t}build(t,e,i){const r=new WG(e);return this._resetContextStyleTimingState(r),Un(this,Tc(t),r)}_resetContextStyleTimingState(t){t.currentQuerySelector="",t.collectedStyles=new Map,t.collectedStyles.set("",new Map),t.currentTime=0}visitTrigger(t,e){let i=e.queryCount=0,r=e.depCount=0;const o=[],s=[];return"@"==t.name.charAt(0)&&e.errors.push(function Qj(){return new I(3006,!1)}()),t.definitions.forEach(a=>{if(this._resetContextStyleTimingState(e),0==a.type){const l=a,c=l.name;c.toString().split(/\s*,\s*/).forEach(u=>{l.name=u,o.push(this.visitState(l,e))}),l.name=c}else if(1==a.type){const l=this.visitTransition(a,e);i+=l.queryCount,r+=l.depCount,s.push(l)}else e.errors.push(function Kj(){return new I(3007,!1)}())}),{type:7,name:t.name,states:o,transitions:s,queryCount:i,depCount:r,options:null}}visitState(t,e){const i=this.visitStyle(t.styles,e),r=t.options&&t.options.params||null;if(i.containsDynamicStyles){const o=new Set,s=r||{};i.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{CE(l).forEach(c=>{s.hasOwnProperty(c)||o.add(c)})})}),o.size&&(vh(o.values()),e.errors.push(function Zj(n,t){return new I(3008,!1)}()))}return{type:0,name:t.name,style:i,options:r?{params:r}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const i=Un(this,Tc(t.animation),e);return{type:1,matchers:BG(t.expr,e.errors),animation:i,queryCount:e.queryCount,depCount:e.depCount,options:cs(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map(i=>Un(this,i,e)),options:cs(t.options)}}visitGroup(t,e){const i=e.currentTime;let r=0;const o=t.steps.map(s=>{e.currentTime=i;const a=Un(this,s,e);return r=Math.max(r,e.currentTime),a});return e.currentTime=r,{type:3,steps:o,options:cs(t.options)}}visitAnimate(t,e){const i=function YG(n,t){if(n.hasOwnProperty("duration"))return n;if("number"==typeof n)return y_(yh(n,t).duration,0,"");const e=n;if(e.split(/\s+/).some(o=>"{"==o.charAt(0)&&"{"==o.charAt(1))){const o=y_(0,0,"");return o.dynamic=!0,o.strValue=e,o}const r=yh(e,t);return y_(r.duration,r.delay,r.easing)}(t.timings,e.errors);e.currentAnimateTimings=i;let r,o=t.styles?t.styles:Pe({});if(5==o.type)r=this.visitKeyframes(o,e);else{let s=t.styles,a=!1;if(!s){a=!0;const c={};i.easing&&(c.easing=i.easing),s=Pe(c)}e.currentTime+=i.duration+i.delay;const l=this.visitStyle(s,e);l.isEmptyStep=a,r=l}return e.currentAnimateTimings=null,{type:4,timings:i,style:r,options:null}}visitStyle(t,e){const i=this._makeStyleAst(t,e);return this._validateStyleAst(i,e),i}_makeStyleAst(t,e){const i=[],r=Array.isArray(t.styles)?t.styles:[t.styles];for(let a of r)"string"==typeof a?a===Pr?i.push(a):e.errors.push(new I(3002,!1)):i.push(_E(a));let o=!1,s=null;return i.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(s=a.get("easing"),a.delete("easing")),!o))for(let l of a.values())if(l.toString().indexOf("{{")>=0){o=!0;break}}),{type:6,styles:i,easing:s,offset:t.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(t,e){const i=e.currentAnimateTimings;let r=e.currentTime,o=e.currentTime;i&&o>0&&(o-=i.duration+i.delay),t.styles.forEach(s=>{"string"!=typeof s&&s.forEach((a,l)=>{const c=e.collectedStyles.get(e.currentQuerySelector),u=c.get(l);let d=!0;u&&(o!=r&&o>=u.startTime&&r<=u.endTime&&(e.errors.push(function Jj(n,t,e,i,r){return new I(3010,!1)}()),d=!1),o=u.startTime),d&&c.set(l,{startTime:o,endTime:r}),e.options&&function kG(n,t,e){const i=t.params||{},r=CE(n);r.length&&r.forEach(o=>{i.hasOwnProperty(o)||e.push(function zj(n){return new I(3001,!1)}())})}(a,e.options,e.errors)})})}visitKeyframes(t,e){const i={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(function eG(){return new I(3011,!1)}()),i;let o=0;const s=[];let a=!1,l=!1,c=0;const u=t.steps.map(C=>{const F=this._makeStyleAst(C,e);let A=null!=F.offset?F.offset:function qG(n){if("string"==typeof n)return null;let t=null;if(Array.isArray(n))n.forEach(e=>{if(e instanceof Map&&e.has("offset")){const i=e;t=parseFloat(i.get("offset")),i.delete("offset")}});else if(n instanceof Map&&n.has("offset")){const e=n;t=parseFloat(e.get("offset")),e.delete("offset")}return t}(F.styles),N=0;return null!=A&&(o++,N=F.offset=A),l=l||N<0||N>1,a=a||N0&&o{const A=h>0?F==g?1:h*F:s[F],N=A*x;e.currentTime=_+y.delay+N,y.duration=N,this._validateStyleAst(C,e),C.offset=A,i.styles.push(C)}),i}visitReference(t,e){return{type:8,animation:Un(this,Tc(t.animation),e),options:cs(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:cs(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:cs(t.options)}}visitQuery(t,e){const i=e.currentQuerySelector,r=t.options||{};e.queryCount++,e.currentQuery=t;const[o,s]=function UG(n){const t=!!n.split(/\s*,\s*/).find(e=>":self"==e);return t&&(n=n.replace(jG,"")),n=n.replace(/@\*/g,_h).replace(/@\w+/g,e=>_h+"-"+e.slice(1)).replace(/:animating/g,f_),[n,t]}(t.selector);e.currentQuerySelector=i.length?i+" "+o:o,Gn(e.collectedStyles,e.currentQuerySelector,new Map);const a=Un(this,Tc(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=i,{type:11,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:s,animation:a,originalSelector:t.selector,options:cs(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push(function rG(){return new I(3013,!1)}());const i="full"===t.timings?{duration:0,delay:0,easing:"full"}:yh(t.timings,e.errors,!0);return{type:12,animation:Un(this,Tc(t.animation),e),timings:i,options:null}}}class WG{constructor(t){this.errors=t,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 cs(n){return n?(n=Ac(n)).params&&(n.params=function zG(n){return n?Ac(n):null}(n.params)):n={},n}function y_(n,t,e){return{duration:n,delay:t,easing:e}}function v_(n,t,e,i,r,o,s=null,a=!1){return{type:1,element:n,keyframes:t,preStyleProps:e,postStyleProps:i,duration:r,delay:o,totalTime:r+o,easing:s,subTimeline:a}}class Mh{constructor(){this._map=new Map}get(t){return this._map.get(t)||[]}append(t,e){let i=this._map.get(t);i||this._map.set(t,i=[]),i.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}}const ZG=new RegExp(":enter","g"),JG=new RegExp(":leave","g");function b_(n,t,e,i,r,o=new Map,s=new Map,a,l,c=[]){return(new eU).buildKeyframes(n,t,e,i,r,o,s,a,l,c)}class eU{buildKeyframes(t,e,i,r,o,s,a,l,c,u=[]){c=c||new Mh;const d=new C_(t,e,c,r,o,u,[]);d.options=l;const h=l.delay?Lr(l.delay):0;d.currentTimeline.delayNextStep(h),d.currentTimeline.setStyles([s],null,d.errors,l),Un(this,i,d);const g=d.timelines.filter(_=>_.containsAnimation());if(g.length&&a.size){let _;for(let y=g.length-1;y>=0;y--){const x=g[y];if(x.element===e){_=x;break}}_&&!_.allowOnlyTimelineStyles()&&_.setStyles([a],null,d.errors,l)}return g.length?g.map(_=>_.buildKeyframes()):[v_(e,[],[],[],0,h,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){const i=e.subInstructions.get(e.element);if(i){const r=e.createSubContext(t.options),o=e.currentTimeline.currentTime,s=this._visitSubInstructions(i,r,r.options);o!=s&&e.transformIntoNewTimeline(s)}e.previousNode=t}visitAnimateRef(t,e){const i=e.createSubContext(t.options);i.transformIntoNewTimeline(),this._applyAnimateRefDelay(t.animation,e,i),this.visitReference(t.animation,i),e.transformIntoNewTimeline(i.currentTimeline.currentTime),e.previousNode=t}_applyAnimateRefDelay(t,e,i){var r;const o=null===(r=t.options)||void 0===r?void 0:r.delay;if(!o)return;let s;var a,l;"string"==typeof o?s=Lr(Ic(o,null!==(a=null===(l=t.options)||void 0===l?void 0:l.params)&&void 0!==a?a:{},e.errors)):s=o;i.delayNextStep(s)}_visitSubInstructions(t,e,i){let o=e.currentTimeline.currentTime;const s=null!=i.duration?Lr(i.duration):null,a=null!=i.delay?Lr(i.delay):null;return 0!==s&&t.forEach(l=>{const c=e.appendInstructionToTimeline(l,s,a);o=Math.max(o,c.duration+c.delay)}),o}visitReference(t,e){e.updateOptions(t.options,!0),Un(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const i=e.subContextCount;let r=e;const o=t.options;if(o&&(o.params||o.delay)&&(r=e.createSubContext(o),r.transformIntoNewTimeline(),null!=o.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=Eh);const s=Lr(o.delay);r.delayNextStep(s)}t.steps.length&&(t.steps.forEach(s=>Un(this,s,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const i=[];let r=e.currentTimeline.currentTime;const o=t.options&&t.options.delay?Lr(t.options.delay):0;t.steps.forEach(s=>{const a=e.createSubContext(t.options);o&&a.delayNextStep(o),Un(this,s,a),r=Math.max(r,a.currentTimeline.currentTime),i.push(a.currentTimeline)}),i.forEach(s=>e.currentTimeline.mergeTimelineCollectedStyles(s)),e.transformIntoNewTimeline(r),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const i=t.strValue;return yh(e.params?Ic(i,e.params,e.errors):i,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){const i=e.currentAnimateTimings=this._visitTiming(t.timings,e),r=e.currentTimeline;i.delay&&(e.incrementTime(i.delay),r.snapshotCurrentStyles());const o=t.style;5==o.type?this.visitKeyframes(o,e):(e.incrementTime(i.duration),this.visitStyle(o,e),r.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const i=e.currentTimeline,r=e.currentAnimateTimings;!r&&i.hasCurrentStyleProperties()&&i.forwardFrame();const o=r&&r.easing||t.easing;t.isEmptyStep?i.applyEmptyStep(o):i.setStyles(t.styles,o,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const i=e.currentAnimateTimings,r=e.currentTimeline.duration,o=i.duration,a=e.createSubContext().currentTimeline;a.easing=i.easing,t.styles.forEach(l=>{a.forwardTime((l.offset||0)*o),a.setStyles(l.styles,l.easing,e.errors,e.options),a.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(a),e.transformIntoNewTimeline(r+o),e.previousNode=t}visitQuery(t,e){const i=e.currentTimeline.currentTime,r=t.options||{},o=r.delay?Lr(r.delay):0;o&&(6===e.previousNode.type||0==i&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=Eh);let s=i;const a=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!r.optional,e.errors);e.currentQueryTotal=a.length;let l=null;a.forEach((c,u)=>{e.currentQueryIndex=u;const d=e.createSubContext(t.options,c);o&&d.delayNextStep(o),c===e.element&&(l=d.currentTimeline),Un(this,t.animation,d),d.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,d.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(s),l&&(e.currentTimeline.mergeTimelineCollectedStyles(l),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){const i=e.parentContext,r=e.currentTimeline,o=t.timings,s=Math.abs(o.duration),a=s*(e.currentQueryTotal-1);let l=s*e.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":l=a-l;break;case"full":l=i.currentStaggerTime}const u=e.currentTimeline;l&&u.delayNextStep(l);const d=u.currentTime;Un(this,t.animation,e),e.previousNode=t,i.currentStaggerTime=r.currentTime-d+(r.startTime-i.currentTimeline.startTime)}}const Eh={};class C_{constructor(t,e,i,r,o,s,a,l){this._driver=t,this.element=e,this.subInstructions=i,this._enterClassName=r,this._leaveClassName=o,this.errors=s,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Eh,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new Sh(this._driver,e,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const i=t;let r=this.options;null!=i.duration&&(r.duration=Lr(i.duration)),null!=i.delay&&(r.delay=Lr(i.delay));const o=i.params;if(o){let s=r.params;s||(s=this.options.params={}),Object.keys(o).forEach(a=>{(!e||!s.hasOwnProperty(a))&&(s[a]=Ic(o[a],s,this.errors))})}}_copyOptions(){const t={};if(this.options){const e=this.options.params;if(e){const i=t.params={};Object.keys(e).forEach(r=>{i[r]=e[r]})}}return t}createSubContext(t=null,e,i){const r=e||this.element,o=new C_(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,i||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(t),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(t){return this.previousNode=Eh,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,i){const r={duration:e??t.duration,delay:this.currentTimeline.currentTime+(i??0)+t.delay,easing:""},o=new tU(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,r,t.stretchStartingKeyframe);return this.timelines.push(o),r}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,i,r,o,s){let a=[];if(r&&a.push(this.element),t.length>0){t=(t=t.replace(ZG,"."+this._enterClassName)).replace(JG,"."+this._leaveClassName);let c=this._driver.query(this.element,t,1!=i);0!==i&&(c=i<0?c.slice(c.length+i,c.length):c.slice(0,i)),a.push(...c)}return!o&&0==a.length&&s.push(function oG(n){return new I(3014,!1)}()),a}}class Sh{constructor(t,e,i,r){this._driver=t,this.element=e,this.startTime=i,this._elementTimelineStylesLookup=r,this.duration=0,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(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(t){const e=1===this._keyframes.size&&this._pendingStyles.size;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new Sh(this._driver,t,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,e){this._localTimelineStyles.set(t,e),this._globalTimelineStyles.set(t,e),this._styleSummary.set(t,{time:this.currentTime,value:e})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&this._previousKeyframe.set("easing",t);for(let[e,i]of this._globalTimelineStyles)this._backFill.set(e,i||Pr),this._currentKeyframe.set(e,Pr);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,i,r){e&&this._previousKeyframe.set("easing",e);const o=r&&r.params||{},s=function nU(n,t){const e=new Map;let i;return n.forEach(r=>{if("*"===r){i=i||t.keys();for(let o of i)e.set(o,Pr)}else mo(r,e)}),e}(t,this._globalTimelineStyles);for(let[l,c]of s){const u=Ic(c,o,i);var a;this._pendingStyles.set(l,u),this._localTimelineStyles.has(l)||this._backFill.set(l,null!==(a=this._globalTimelineStyles.get(l))&&void 0!==a?a:Pr),this._updateStyle(l,u)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((t,e)=>{this._currentKeyframe.set(e,t)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((t,e)=>{this._currentKeyframe.has(e)||this._currentKeyframe.set(e,t)}))}snapshotCurrentStyles(){for(let[t,e]of this._localTimelineStyles)this._pendingStyles.set(t,e),this._updateStyle(t,e)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const t=[];for(let e in this._currentKeyframe)t.push(e);return t}mergeTimelineCollectedStyles(t){t._styleSummary.forEach((e,i)=>{const r=this._styleSummary.get(i);(!r||e.time>r.time)&&this._updateStyle(i,e.value)})}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,i=1===this._keyframes.size&&0===this.duration;let r=[];this._keyframes.forEach((a,l)=>{const c=mo(a,new Map,this._backFill);c.forEach((u,d)=>{"!"===u?t.add(d):u===Pr&&e.add(d)}),i||c.set("offset",l/this.duration),r.push(c)});const o=t.size?vh(t.values()):[],s=e.size?vh(e.values()):[];if(i){const a=r[0],l=new Map(a);a.set("offset",0),l.set("offset",1),r=[a,l]}return v_(this.element,r,o,s,this.duration,this.startTime,this.easing,!1)}}class tU extends Sh{constructor(t,e,i,r,o,s,a=!1){super(t,e,s.delay),this.keyframes=i,this.preStyleProps=r,this.postStyleProps=o,this._stretchStartingKeyframe=a,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:i,easing:r}=this.timings;if(this._stretchStartingKeyframe&&e){const o=[],s=i+e,a=e/s,l=mo(t[0]);l.set("offset",0),o.push(l);const c=mo(t[0]);c.set("offset",EE(a)),o.push(c);const u=t.length-1;for(let d=1;d<=u;d++){let h=mo(t[d]);const g=h.get("offset");h.set("offset",EE((e+g*i)/s)),o.push(h)}i=s,e=0,r="",t=o}return v_(this.element,t,this.preStyleProps,this.postStyleProps,i,e,r,!0)}}function EE(n,t=3){const e=Math.pow(10,t-1);return Math.round(n*e)/e}class w_{}const iU=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"]);class rU extends w_{normalizePropertyName(t,e){return m_(t)}normalizeStyleValue(t,e,i,r){let o="";const s=i.toString().trim();if(iU.has(e)&&0!==i&&"0"!==i)if("number"==typeof i)o="px";else{const a=i.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&r.push(function Yj(n,t){return new I(3005,!1)}())}return s+o}}function SE(n,t,e,i,r,o,s,a,l,c,u,d,h){return{type:0,element:n,triggerName:t,isRemovalTransition:r,fromState:e,fromStyles:o,toState:i,toStyles:s,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:u,totalTime:d,errors:h}}const x_={};class AE{constructor(t,e,i){this._triggerName=t,this.ast=e,this._stateStyles=i}match(t,e,i,r){return function oU(n,t,e,i,r){return n.some(o=>o(t,e,i,r))}(this.ast.matchers,t,e,i,r)}buildStyles(t,e,i){let r=this._stateStyles.get("*");return void 0!==t&&(r=this._stateStyles.get(t?.toString())||r),r?r.buildStyles(e,i):new Map}build(t,e,i,r,o,s,a,l,c,u){var d;const h=[],g=this.ast.options&&this.ast.options.params||x_,y=this.buildStyles(i,a&&a.params||x_,h),x=l&&l.params||x_,C=this.buildStyles(r,x,h),F=new Set,A=new Map,N=new Map,oe="void"===r,Fe={params:sU(x,g),delay:null===(d=this.ast.options)||void 0===d?void 0:d.delay},ht=u?[]:b_(t,e,this.ast.animation,o,s,y,C,Fe,c,h);let en=0;if(ht.forEach(mn=>{en=Math.max(mn.duration+mn.delay,en)}),h.length)return SE(e,this._triggerName,i,r,oe,y,C,[],[],A,N,en,h);ht.forEach(mn=>{const $r=mn.element,jr=Gn(A,$r,new Set);mn.preStyleProps.forEach(cr=>jr.add(cr));const Gr=Gn(N,$r,new Set);mn.postStyleProps.forEach(cr=>Gr.add(cr)),$r!==e&&F.add($r)});const So=vh(F.values());return SE(e,this._triggerName,i,r,oe,y,C,ht,So,A,N,en)}}function sU(n,t){const e=Ac(t);for(const i in n)n.hasOwnProperty(i)&&null!=n[i]&&(e[i]=n[i]);return e}class aU{constructor(t,e,i){this.styles=t,this.defaultParams=e,this.normalizer=i}buildStyles(t,e){const i=new Map,r=Ac(this.defaultParams);return Object.keys(t).forEach(o=>{const s=t[o];null!==s&&(r[o]=s)}),this.styles.styles.forEach(o=>{"string"!=typeof o&&o.forEach((s,a)=>{s&&(s=Ic(s,r,e));const l=this.normalizer.normalizePropertyName(a,e);s=this.normalizer.normalizeStyleValue(a,l,s,e),i.set(l,s)})}),i}}class cU{constructor(t,e,i){this.name=t,this.ast=e,this._normalizer=i,this.transitionFactories=[],this.states=new Map,e.states.forEach(r=>{this.states.set(r.name,new aU(r.style,r.options&&r.options.params||{},i))}),TE(this.states,"true","1"),TE(this.states,"false","0"),e.transitions.forEach(r=>{this.transitionFactories.push(new AE(t,r,this.states))}),this.fallbackTransition=function uU(n,t,e){return new AE(n,{type:1,animation:{type:2,steps:[],options:null},matchers:[(s,a)=>!0],options:null,queryCount:0,depCount:0},t)}(t,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,i,r){return this.transitionFactories.find(s=>s.match(t,e,i,r))||null}matchStyles(t,e,i){return this.fallbackTransition.buildStyles(t,e,i)}}function TE(n,t,e){n.has(t)?n.has(e)||n.set(e,n.get(t)):n.has(e)&&n.set(t,n.get(e))}const dU=new Mh;class hU{constructor(t,e,i){this.bodyNode=t,this._driver=e,this._normalizer=i,this._animations=new Map,this._playersById=new Map,this.players=[]}register(t,e){const i=[],o=__(this._driver,e,i,[]);if(i.length)throw function hG(n){return new I(3503,!1)}();this._animations.set(t,o)}_buildPlayer(t,e,i){const r=t.element,o=aE(0,this._normalizer,0,t.keyframes,e,i);return this._driver.animate(r,o,t.duration,t.delay,t.easing,[],!0)}create(t,e,i={}){const r=[],o=this._animations.get(t);let s;const a=new Map;if(o?(s=b_(this._driver,e,o,h_,gh,new Map,new Map,i,dU,r),s.forEach(u=>{const d=Gn(a,u.element,new Map);u.postStyleProps.forEach(h=>d.set(h,null))})):(r.push(function fG(){return new I(3300,!1)}()),s=[]),r.length)throw function pG(n){return new I(3504,!1)}();a.forEach((u,d)=>{u.forEach((h,g)=>{u.set(g,this._driver.computeStyle(d,g,Pr))})});const c=go(s.map(u=>{const d=a.get(u.element);return this._buildPlayer(u,new Map,d)}));return this._playersById.set(t,c),c.onDestroy(()=>this.destroy(t)),this.players.push(c),c}destroy(t){const e=this._getPlayer(t);e.destroy(),this._playersById.delete(t);const i=this.players.indexOf(e);i>=0&&this.players.splice(i,1)}_getPlayer(t){const e=this._playersById.get(t);if(!e)throw function gG(n){return new I(3301,!1)}();return e}listen(t,e,i,r){const o=l_(e,"","","");return s_(this._getPlayer(t),i,o,r),()=>{}}command(t,e,i,r){if("register"==i)return void this.register(t,r[0]);if("create"==i)return void this.create(t,e,r[0]||{});const o=this._getPlayer(t);switch(i){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(t)}}}const IE="ng-animate-queued",D_="ng-animate-disabled",_U=[],kE={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},yU={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},li="__ng_removed";class M_{constructor(t,e=""){this.namespaceId=e;const i=t&&t.hasOwnProperty("value");if(this.value=function wU(n){return n??null}(i?t.value:t),i){const o=Ac(t);delete o.value,this.options=o}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(t){const e=t.params;if(e){const i=this.options.params;Object.keys(e).forEach(r=>{null==i[r]&&(i[r]=e[r])})}}}const kc="void",E_=new M_(kc);class vU{constructor(t,e,i){this.id=t,this.hostElement=e,this._engine=i,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,ci(e,this._hostClassName)}listen(t,e,i,r){if(!this._triggers.has(e))throw function mG(n,t){return new I(3302,!1)}();if(null==i||0==i.length)throw function _G(n){return new I(3303,!1)}();if(!function xU(n){return"start"==n||"done"==n}(i))throw function yG(n,t){return new I(3400,!1)}();const o=Gn(this._elementListeners,t,[]),s={name:e,phase:i,callback:r};o.push(s);const a=Gn(this._engine.statesByElement,t,new Map);return a.has(e)||(ci(t,mh),ci(t,mh+"-"+e),a.set(e,E_)),()=>{this._engine.afterFlush(()=>{const l=o.indexOf(s);l>=0&&o.splice(l,1),this._triggers.has(e)||a.delete(e)})}}register(t,e){return!this._triggers.has(t)&&(this._triggers.set(t,e),!0)}_getTrigger(t){const e=this._triggers.get(t);if(!e)throw function vG(n){return new I(3401,!1)}();return e}trigger(t,e,i,r=!0){const o=this._getTrigger(e),s=new S_(this.id,e,t);let a=this._engine.statesByElement.get(t);a||(ci(t,mh),ci(t,mh+"-"+e),this._engine.statesByElement.set(t,a=new Map));let l=a.get(e);const c=new M_(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(e,c),l||(l=E_),c.value!==kc&&l.value===c.value){if(!function EU(n,t){const e=Object.keys(n),i=Object.keys(t);if(e.length!=i.length)return!1;for(let r=0;r{ls(t,x),rr(t,C)})}return}const h=Gn(this._engine.playersByElement,t,[]);h.forEach(y=>{y.namespaceId==this.id&&y.triggerName==e&&y.queued&&y.destroy()});let g=o.matchTransition(l.value,c.value,t,c.params),_=!1;if(!g){if(!r)return;g=o.fallbackTransition,_=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:g,fromState:l,toState:c,player:s,isFallbackTransition:_}),_||(ci(t,IE),s.onStart(()=>{za(t,IE)})),s.onDone(()=>{let y=this.players.indexOf(s);y>=0&&this.players.splice(y,1);const x=this._engine.playersByElement.get(t);if(x){let C=x.indexOf(s);C>=0&&x.splice(C,1)}}),this.players.push(s),h.push(s),s}deregister(t){this._triggers.delete(t),this._engine.statesByElement.forEach(e=>e.delete(t)),this._elementListeners.forEach((e,i)=>{this._elementListeners.set(i,e.filter(r=>r.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);const e=this._engine.playersByElement.get(t);e&&(e.forEach(i=>i.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e){const i=this._engine.driver.query(t,_h,!0);i.forEach(r=>{if(r[li])return;const o=this._engine.fetchNamespacesByElement(r);o.size?o.forEach(s=>s.triggerLeaveAnimation(r,e,!1,!0)):this.clearElementCache(r)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(r=>this.clearElementCache(r)))}triggerLeaveAnimation(t,e,i,r){const o=this._engine.statesByElement.get(t),s=new Map;if(o){const a=[];if(o.forEach((l,c)=>{if(s.set(c,l.value),this._triggers.has(c)){const u=this.trigger(t,c,kc,r);u&&a.push(u)}}),a.length)return this._engine.markElementAsRemoved(this.id,t,!0,e,s),i&&go(a).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){const e=this._elementListeners.get(t),i=this._engine.statesByElement.get(t);if(e&&i){const r=new Set;e.forEach(o=>{const s=o.name;if(r.has(s))return;r.add(s);const l=this._triggers.get(s).fallbackTransition,c=i.get(s)||E_,u=new M_(kc),d=new S_(this.id,s,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:s,transition:l,fromState:c,toState:u,player:d,isFallbackTransition:!0})})}}removeNode(t,e){const i=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let r=!1;if(i.totalAnimations){const o=i.players.length?i.playersByQueriedElement.get(t):[];if(o&&o.length)r=!0;else{let s=t;for(;s=s.parentNode;)if(i.statesByElement.get(s)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(t),r)i.markElementAsRemoved(this.id,t,!1,e);else{const o=t[li];(!o||o===kE)&&(i.afterFlush(()=>this.clearElementCache(t)),i.destroyInnerAnimations(t),i._onRemovalComplete(t,e))}}insertNode(t,e){ci(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach(i=>{const r=i.player;if(r.destroyed)return;const o=i.element,s=this._elementListeners.get(o);s&&s.forEach(a=>{if(a.name==i.triggerName){const l=l_(o,i.triggerName,i.fromState.value,i.toState.value);l._data=t,s_(i.player,a.phase,l,a.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):e.push(i)}),this._queue=[],e.sort((i,r)=>{const o=i.transition.ast.depCount,s=r.transition.ast.depCount;return 0==o||0==s?o-s:this._engine.driver.containsElement(i.element,r.element)?1:-1})}destroy(t){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}elementContainsData(t){let e=!1;return this._elementListeners.has(t)&&(e=!0),e=!!this._queue.find(i=>i.element===t)||e,e}}class bU{constructor(t,e,i){this.bodyNode=t,this.driver=e,this._normalizer=i,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=(r,o)=>{}}_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}get queuedPlayers(){const t=[];return this._namespaceList.forEach(e=>{e.players.forEach(i=>{i.queued&&t.push(i)})}),t}createNamespace(t,e){const i=new vU(t,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(i,e):(this.newHostElements.set(e,i),this.collectEnterElement(e)),this._namespaceLookup[t]=i}_balanceNamespaceList(t,e){const i=this._namespaceList,r=this.namespacesByHostElement;if(i.length-1>=0){let s=!1,a=this.driver.getParentElement(e);for(;a;){const l=r.get(a);if(l){const c=i.indexOf(l);i.splice(c+1,0,t),s=!0;break}a=this.driver.getParentElement(a)}s||i.unshift(t)}else i.push(t);return r.set(e,t),t}register(t,e){let i=this._namespaceLookup[t];return i||(i=this.createNamespace(t,e)),i}registerTrigger(t,e,i){let r=this._namespaceLookup[t];r&&r.register(e,i)&&this.totalAnimations++}destroy(t,e){if(!t)return;const i=this._fetchNamespace(t);this.afterFlush(()=>{this.namespacesByHostElement.delete(i.hostElement),delete this._namespaceLookup[t];const r=this._namespaceList.indexOf(i);r>=0&&this._namespaceList.splice(r,1)}),this.afterFlushAnimationsDone(()=>i.destroy(e))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){const e=new Set,i=this.statesByElement.get(t);if(i)for(let r of i.values())if(r.namespaceId){const o=this._fetchNamespace(r.namespaceId);o&&e.add(o)}return e}trigger(t,e,i,r){if(Ah(e)){const o=this._fetchNamespace(t);if(o)return o.trigger(e,i,r),!0}return!1}insertNode(t,e,i,r){if(!Ah(e))return;const o=e[li];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;const s=this.collectedLeaveElements.indexOf(e);s>=0&&this.collectedLeaveElements.splice(s,1)}if(t){const s=this._fetchNamespace(t);s&&s.insertNode(e,i)}r&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),ci(t,D_)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),za(t,D_))}removeNode(t,e,i,r){if(Ah(e)){const o=t?this._fetchNamespace(t):null;if(o?o.removeNode(e,r):this.markElementAsRemoved(t,e,!1,r),i){const s=this.namespacesByHostElement.get(e);s&&s.id!==t&&s.removeNode(e,r)}}else this._onRemovalComplete(e,r)}markElementAsRemoved(t,e,i,r,o){this.collectedLeaveElements.push(e),e[li]={namespaceId:t,setForRemoval:r,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:o}}listen(t,e,i,r,o){return Ah(e)?this._fetchNamespace(t).listen(e,i,r,o):()=>{}}_buildInstruction(t,e,i,r,o){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,i,r,t.fromState.options,t.toState.options,e,o)}destroyInnerAnimations(t){let e=this.driver.query(t,_h,!0);e.forEach(i=>this.destroyActiveAnimationsForElement(i)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,f_,!0),e.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(t){const e=this.playersByElement.get(t);e&&e.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(t){const e=this.playersByQueriedElement.get(t);e&&e.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return go(this.players).onDone(()=>t());t()})}processLeaveNode(t){var e;const i=t[li];if(i&&i.setForRemoval){if(t[li]=kE,i.namespaceId){this.destroyInnerAnimations(t);const r=this._fetchNamespace(i.namespaceId);r&&r.clearElementCache(t)}this._onRemovalComplete(t,i.setForRemoval)}null!==(e=t.classList)&&void 0!==e&&e.contains(D_)&&this.markElementAsDisabled(t,!1),this.driver.query(t,".ng-animate-disabled",!0).forEach(r=>{this.markElementAsDisabled(r,!1)})}flush(t=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,r)=>this._balanceNamespaceList(i,r)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;ii()),this._flushFns=[],this._whenQuietFns.length){const i=this._whenQuietFns;this._whenQuietFns=[],e.length?go(e).onDone(()=>{i.forEach(r=>r())}):i.forEach(r=>r())}}reportError(t){throw function bG(n){return new I(3402,!1)}()}_flushAnimations(t,e){const i=new Mh,r=[],o=new Map,s=[],a=new Map,l=new Map,c=new Map,u=new Set;this.disabledNodes.forEach(W=>{u.add(W);const X=this.driver.query(W,".ng-animate-queued",!0);for(let ie=0;ie{const ie=h_+y++;_.set(X,ie),W.forEach(Se=>ci(Se,ie))});const x=[],C=new Set,F=new Set;for(let W=0;WC.add(Se)):F.add(X))}const A=new Map,N=OE(h,Array.from(C));N.forEach((W,X)=>{const ie=gh+y++;A.set(X,ie),W.forEach(Se=>ci(Se,ie))}),t.push(()=>{g.forEach((W,X)=>{const ie=_.get(X);W.forEach(Se=>za(Se,ie))}),N.forEach((W,X)=>{const ie=A.get(X);W.forEach(Se=>za(Se,ie))}),x.forEach(W=>{this.processLeaveNode(W)})});const oe=[],Fe=[];for(let W=this._namespaceList.length-1;W>=0;W--)this._namespaceList[W].drainQueuedTransitions(e).forEach(ie=>{const Se=ie.player,ft=ie.element;if(oe.push(Se),this.collectedEnterElements.length){const tn=ft[li];if(tn&&tn.setForMove){if(tn.previousTriggersValues&&tn.previousTriggersValues.has(ie.triggerName)){const Is=tn.previousTriggersValues.get(ie.triggerName),hi=this.statesByElement.get(ie.element);if(hi&&hi.has(ie.triggerName)){const Ff=hi.get(ie.triggerName);Ff.value=Is,hi.set(ie.triggerName,Ff)}}return void Se.destroy()}}const ur=!d||!this.driver.containsElement(d,ft),Wn=A.get(ft),Ao=_.get(ft),ot=this._buildInstruction(ie,i,Ao,Wn,ur);if(ot.errors&&ot.errors.length)return void Fe.push(ot);if(ur)return Se.onStart(()=>ls(ft,ot.fromStyles)),Se.onDestroy(()=>rr(ft,ot.toStyles)),void r.push(Se);if(ie.isFallbackTransition)return Se.onStart(()=>ls(ft,ot.fromStyles)),Se.onDestroy(()=>rr(ft,ot.toStyles)),void r.push(Se);const XI=[];ot.timelines.forEach(tn=>{tn.stretchStartingKeyframe=!0,this.disabledNodes.has(tn.element)||XI.push(tn)}),ot.timelines=XI,i.append(ft,ot.timelines),s.push({instruction:ot,player:Se,element:ft}),ot.queriedElements.forEach(tn=>Gn(a,tn,[]).push(Se)),ot.preStyleProps.forEach((tn,Is)=>{if(tn.size){let hi=l.get(Is);hi||l.set(Is,hi=new Set),tn.forEach((Ff,mv)=>hi.add(mv))}}),ot.postStyleProps.forEach((tn,Is)=>{let hi=c.get(Is);hi||c.set(Is,hi=new Set),tn.forEach((Ff,mv)=>hi.add(mv))})});if(Fe.length){const W=[];Fe.forEach(X=>{W.push(function CG(n,t){return new I(3505,!1)}())}),oe.forEach(X=>X.destroy()),this.reportError(W)}const ht=new Map,en=new Map;s.forEach(W=>{const X=W.element;i.has(X)&&(en.set(X,X),this._beforeAnimationBuild(W.player.namespaceId,W.instruction,ht))}),r.forEach(W=>{const X=W.element;this._getPreviousPlayers(X,!1,W.namespaceId,W.triggerName,null).forEach(Se=>{Gn(ht,X,[]).push(Se),Se.destroy()})});const So=x.filter(W=>LE(W,l,c)),mn=new Map;RE(mn,this.driver,F,c,Pr).forEach(W=>{LE(W,l,c)&&So.push(W)});const jr=new Map;g.forEach((W,X)=>{RE(jr,this.driver,new Set(W),l,"!")}),So.forEach(W=>{var X,ie;const Se=mn.get(W),ft=jr.get(W);mn.set(W,new Map([...Array.from(null!==(X=Se?.entries())&&void 0!==X?X:[]),...Array.from(null!==(ie=ft?.entries())&&void 0!==ie?ie:[])]))});const Gr=[],cr=[],pl={};s.forEach(W=>{const{element:X,player:ie,instruction:Se}=W;if(i.has(X)){if(u.has(X))return ie.onDestroy(()=>rr(X,Se.toStyles)),ie.disabled=!0,ie.overrideTotalTime(Se.totalTime),void r.push(ie);let ft=pl;if(en.size>1){let Wn=X;const Ao=[];for(;Wn=Wn.parentNode;){const ot=en.get(Wn);if(ot){ft=ot;break}Ao.push(Wn)}Ao.forEach(ot=>en.set(ot,ft))}const ur=this._buildAnimation(ie.namespaceId,Se,ht,o,jr,mn);if(ie.setRealPlayer(ur),ft===pl)Gr.push(ie);else{const Wn=this.playersByElement.get(ft);Wn&&Wn.length&&(ie.parentPlayer=go(Wn)),r.push(ie)}}else ls(X,Se.fromStyles),ie.onDestroy(()=>rr(X,Se.toStyles)),cr.push(ie),u.has(X)&&r.push(ie)}),cr.forEach(W=>{const X=o.get(W.element);if(X&&X.length){const ie=go(X);W.setRealPlayer(ie)}}),r.forEach(W=>{W.parentPlayer?W.syncPlayerEvents(W.parentPlayer):W.destroy()});for(let W=0;W!ur.destroyed);ft.length?DU(this,X,ft):this.processLeaveNode(X)}return x.length=0,Gr.forEach(W=>{this.players.push(W),W.onDone(()=>{W.destroy();const X=this.players.indexOf(W);this.players.splice(X,1)}),W.play()}),Gr}elementContainsData(t,e){let i=!1;const r=e[li];return r&&r.setForRemoval&&(i=!0),this.playersByElement.has(e)&&(i=!0),this.playersByQueriedElement.has(e)&&(i=!0),this.statesByElement.has(e)&&(i=!0),this._fetchNamespace(t).elementContainsData(e)||i}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,i,r,o){let s=[];if(e){const a=this.playersByQueriedElement.get(t);a&&(s=a)}else{const a=this.playersByElement.get(t);if(a){const l=!o||o==kc;a.forEach(c=>{c.queued||!l&&c.triggerName!=r||s.push(c)})}}return(i||r)&&(s=s.filter(a=>!(i&&i!=a.namespaceId||r&&r!=a.triggerName))),s}_beforeAnimationBuild(t,e,i){const o=e.element,s=e.isRemovalTransition?void 0:t,a=e.isRemovalTransition?void 0:e.triggerName;for(const l of e.timelines){const c=l.element,u=c!==o,d=Gn(i,c,[]);this._getPreviousPlayers(c,u,s,a,e.toState).forEach(g=>{const _=g.getRealPlayer();_.beforeDestroy&&_.beforeDestroy(),g.destroy(),d.push(g)})}ls(o,e.fromStyles)}_buildAnimation(t,e,i,r,o,s){const a=e.triggerName,l=e.element,c=[],u=new Set,d=new Set,h=e.timelines.map(_=>{const y=_.element;u.add(y);const x=y[li];if(x&&x.removedBeforeQueried)return new Sc(_.duration,_.delay);const C=y!==l,F=function MU(n){const t=[];return PE(n,t),t}((i.get(y)||_U).map(ht=>ht.getRealPlayer())).filter(ht=>!!ht.element&&ht.element===y),A=o.get(y),N=s.get(y),oe=aE(0,this._normalizer,0,_.keyframes,A,N),Fe=this._buildPlayer(_,oe,F);if(_.subTimeline&&r&&d.add(y),C){const ht=new S_(t,a,y);ht.setRealPlayer(Fe),c.push(ht)}return Fe});c.forEach(_=>{Gn(this.playersByQueriedElement,_.element,[]).push(_),_.onDone(()=>function CU(n,t,e){let i=n.get(t);if(i){if(i.length){const r=i.indexOf(e);i.splice(r,1)}0==i.length&&n.delete(t)}return i}(this.playersByQueriedElement,_.element,_))}),u.forEach(_=>ci(_,mE));const g=go(h);return g.onDestroy(()=>{u.forEach(_=>za(_,mE)),rr(l,e.toStyles)}),d.forEach(_=>{Gn(r,_,[]).push(g)}),g}_buildPlayer(t,e,i){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,i):new Sc(t.duration,t.delay)}}class S_{constructor(t,e,i){this.namespaceId=t,this.triggerName=e,this.element=i,this._player=new Sc,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(t){this._containsRealPlayer||(this._player=t,this._queuedCallbacks.forEach((e,i)=>{e.forEach(r=>s_(t,i,void 0,r))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(t){this.totalTime=t}syncPlayerEvents(t){const e=this._player;e.triggerCallback&&t.onStart(()=>e.triggerCallback("start")),t.onDone(()=>this.finish()),t.onDestroy(()=>this.destroy())}_queueEvent(t,e){Gn(this._queuedCallbacks,t,[]).push(e)}onDone(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){const e=this._player;e.triggerCallback&&e.triggerCallback(t)}}function Ah(n){return n&&1===n.nodeType}function FE(n,t){const e=n.style.display;return n.style.display=t??"none",e}function RE(n,t,e,i,r){const o=[];e.forEach(l=>o.push(FE(l)));const s=[];i.forEach((l,c)=>{const u=new Map;l.forEach(d=>{const h=t.computeStyle(c,d,r);u.set(d,h),(!h||0==h.length)&&(c[li]=yU,s.push(c))}),n.set(c,u)});let a=0;return e.forEach(l=>FE(l,o[a++])),s}function OE(n,t){const e=new Map;if(n.forEach(a=>e.set(a,[])),0==t.length)return e;const r=new Set(t),o=new Map;function s(a){if(!a)return 1;let l=o.get(a);if(l)return l;const c=a.parentNode;return l=e.has(c)?c:r.has(c)?1:s(c),o.set(a,l),l}return t.forEach(a=>{const l=s(a);1!==l&&e.get(l).push(a)}),e}function ci(n,t){var e;null===(e=n.classList)||void 0===e||e.add(t)}function za(n,t){var e;null===(e=n.classList)||void 0===e||e.remove(t)}function DU(n,t,e){go(e).onDone(()=>n.processLeaveNode(t))}function PE(n,t){for(let e=0;er.add(o)):t.set(n,i),e.delete(n),!0}class Th{constructor(t,e,i){this.bodyNode=t,this._driver=e,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(r,o)=>{},this._transitionEngine=new bU(t,e,i),this._timelineEngine=new hU(t,e,i),this._transitionEngine.onRemovalComplete=(r,o)=>this.onRemovalComplete(r,o)}registerTrigger(t,e,i,r,o){const s=t+"-"+r;let a=this._triggerCache[s];if(!a){const l=[],u=__(this._driver,o,l,[]);if(l.length)throw function uG(n,t){return new I(3404,!1)}();a=function lU(n,t,e){return new cU(n,t,e)}(r,u,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(e,r,a)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,i,r){this._transitionEngine.insertNode(t,e,i,r)}onRemove(t,e,i,r){this._transitionEngine.removeNode(t,e,r||!1,i)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,i,r){if("@"==i.charAt(0)){const[o,s]=lE(i);this._timelineEngine.command(o,e,s,r)}else this._transitionEngine.trigger(t,e,i,r)}listen(t,e,i,r,o){if("@"==i.charAt(0)){const[s,a]=lE(i);return this._timelineEngine.listen(s,e,a,o)}return this._transitionEngine.listen(t,e,i,r,o)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let AU=(()=>{class n{constructor(e,i,r){this._element=e,this._startStyles=i,this._endStyles=r,this._state=0;let o=n.initialStylesByElement.get(e);o||n.initialStylesByElement.set(e,o=new Map),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&rr(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(rr(this._element,this._initialStyles),this._endStyles&&(rr(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(n.initialStylesByElement.delete(this._element),this._startStyles&&(ls(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(ls(this._element,this._endStyles),this._endStyles=null),rr(this._element,this._initialStyles),this._state=3)}}return n.initialStylesByElement=new WeakMap,n})();function A_(n){let t=null;return n.forEach((e,i)=>{(function TU(n){return"display"===n||"position"===n})(i)&&(t=t||new Map,t.set(i,e))}),t}class NE{constructor(t,e,i,r){this.element=t,this.keyframes=e,this.options=i,this._specialStyles=r,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=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(t){const e=[];return t.forEach(i=>{e.push(Object.fromEntries(i))}),e}_triggerWebAnimation(t,e,i){return t.animate(this._convertKeyframesToObject(e),i)}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(t=>t()),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(t=>t()),this._onDestroyFns=[])}setPosition(t){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=t*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const t=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,r)=>{"offset"!==r&&t.set(r,this._finished?i:wE(this.element,r))}),this.currentSnapshot=t}triggerCallback(t){const e="start"===t?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}class IU{validateStyleProperty(t){return!0}validateAnimatableStyleProperty(t){return!0}matchesElement(t,e){return!1}containsElement(t,e){return hE(t,e)}getParentElement(t){return u_(t)}query(t,e,i){return fE(t,e,i)}computeStyle(t,e,i){return window.getComputedStyle(t)[e]}animate(t,e,i,r,o,s=[]){const l={duration:i,delay:r,fill:0==r?"both":"forwards"};o&&(l.easing=o);const c=new Map,u=s.filter(g=>g instanceof NE);(function OG(n,t){return 0===n||0===t})(i,r)&&u.forEach(g=>{g.currentSnapshot.forEach((_,y)=>c.set(y,_))});let d=function IG(n){return n.length?n[0]instanceof Map?n:n.map(t=>_E(t)):[]}(e).map(g=>mo(g));d=function PG(n,t,e){if(e.size&&t.length){let i=t[0],r=[];if(e.forEach((o,s)=>{i.has(s)||r.push(s),i.set(s,o)}),r.length)for(let o=1;os.set(a,wE(n,a)))}}return t}(t,d,c);const h=function SU(n,t){let e=null,i=null;return Array.isArray(t)&&t.length?(e=A_(t[0]),t.length>1&&(i=A_(t[t.length-1]))):t instanceof Map&&(e=A_(t)),e||i?new AU(n,e,i):null}(t,d);return new NE(t,d,l,h)}}let kU=(()=>{class n extends eE{constructor(e,i){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(i.body,{id:"0",encapsulation:vi.None,styles:[],data:{animation:[]}})}build(e){const i=this._nextAnimationId.toString();this._nextAnimationId++;const r=Array.isArray(e)?tE(e):e;return VE(this._renderer,null,i,"register",[r]),new FU(i,this._renderer)}}return n.\u0275fac=function(e){return new(e||n)(b(zo),b(ae))},n.\u0275prov=k({token:n,factory:n.\u0275fac}),n})();class FU extends class Bj{}{constructor(t,e){super(),this._id=t,this._renderer=e}create(t,e){return new RU(this._id,t,e||{},this._renderer)}}class RU{constructor(t,e,i,r){this.id=t,this.element=e,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",i)}_listen(t,e){return this._renderer.listen(this.element,`@@${this.id}:${t}`,e)}_command(t,...e){return VE(this._renderer,this.element,this.id,t,e)}onDone(t){this._listen("done",t)}onStart(t){this._listen("start",t)}onDestroy(t){this._listen("destroy",t)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(t){this._command("setPosition",t)}getPosition(){var t,e;return null!==(t=null===(e=this._renderer.engine.players[+this.id])||void 0===e?void 0:e.getPosition())&&void 0!==t?t:0}}function VE(n,t,e,i,r){return n.setProperty(t,`@@${e}:${i}`,r)}const BE="@.disabled";let OU=(()=>{class n{constructor(e,i,r){this.delegate=e,this.engine=i,this._zone=r,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),i.onRemovalComplete=(o,s)=>{const a=s?.parentNode(o);a&&s.removeChild(a,o)}}createRenderer(e,i){const o=this.delegate.createRenderer(e,i);if(!(e&&i&&i.data&&i.data.animation)){let u=this._rendererCache.get(o);return u||(u=new HE("",o,this.engine),this._rendererCache.set(o,u)),u}const s=i.id,a=i.id+"-"+this._currentId;this._currentId++,this.engine.register(a,e);const l=u=>{Array.isArray(u)?u.forEach(l):this.engine.registerTrigger(s,a,e,u.name,u)};return i.data.animation.forEach(l),new PU(this,a,o,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(e,i,r){e>=0&&ei(r)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(o=>{const[s,a]=o;s(a)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([i,r]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return n.\u0275fac=function(e){return new(e||n)(b(zo),b(Th),b(de))},n.\u0275prov=k({token:n,factory:n.\u0275fac}),n})();class HE{constructor(t,e,i){this.namespaceId=t,this.delegate=e,this.engine=i,this.destroyNode=this.delegate.destroyNode?r=>e.destroyNode(r):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}appendChild(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}insertBefore(t,e,i,r=!0){this.delegate.insertBefore(t,e,i),this.engine.onInsert(this.namespaceId,e,t,r)}removeChild(t,e,i){this.engine.onRemove(this.namespaceId,e,this.delegate,i)}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,i,r){this.delegate.setAttribute(t,e,i,r)}removeAttribute(t,e,i){this.delegate.removeAttribute(t,e,i)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,i,r){this.delegate.setStyle(t,e,i,r)}removeStyle(t,e,i){this.delegate.removeStyle(t,e,i)}setProperty(t,e,i){"@"==e.charAt(0)&&e==BE?this.disableAnimations(t,!!i):this.delegate.setProperty(t,e,i)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,i){return this.delegate.listen(t,e,i)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}}class PU extends HE{constructor(t,e,i,r){super(e,i,r),this.factory=t,this.namespaceId=e}setProperty(t,e,i){"@"==e.charAt(0)?"."==e.charAt(1)&&e==BE?this.disableAnimations(t,i=void 0===i||!!i):this.engine.process(this.namespaceId,t,e.slice(1),i):this.delegate.setProperty(t,e,i)}listen(t,e,i){if("@"==e.charAt(0)){const r=function LU(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}(t);let o=e.slice(1),s="";return"@"!=o.charAt(0)&&([o,s]=function NU(n){const t=n.indexOf(".");return[n.substring(0,t),n.slice(t+1)]}(o)),this.engine.listen(this.namespaceId,r,o,s,a=>{this.factory.scheduleListenerCallback(a._data||-1,i,a)})}return this.delegate.listen(t,e,i)}}const $E=[{provide:eE,useClass:kU},{provide:w_,useFactory:function BU(){return new rU}},{provide:Th,useClass:(()=>{class n extends Th{constructor(e,i,r,o){super(e.body,i,r)}ngOnDestroy(){this.flush()}}return n.\u0275fac=function(e){return new(e||n)(b(ae),b(d_),b(w_),b(Va))},n.\u0275prov=k({token:n,factory:n.\u0275fac}),n})()},{provide:zo,useFactory:function HU(n,t,e){return new OU(n,t,e)},deps:[lh,Th,de]}],T_=[{provide:d_,useFactory:()=>new IU},{provide:ni,useValue:"BrowserAnimations"},...$E],jE=[{provide:d_,useClass:pE},{provide:ni,useValue:"NoopAnimations"},...$E];let $U=(()=>{class n{static withConfig(e){return{ngModule:n,providers:e.disableAnimations?jE:T_}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({providers:T_,imports:[eM]}),n})();var I_=function n(){},GE=function(){function n(t){this._ranScripts={},this._renderer=t.createRenderer(null,null)}return n.prototype.insertEl=function(t,e,i,r,o){if(r&&!o){var s=t._prevSVG&&t._prevSVG.parentNode;s&&this._renderer.removeChild(s,t._prevSVG),e.innerHTML=""}o?this._renderer.insertBefore(e,i,e.firstChild):this._renderer.appendChild(e,i),"svg"===i.nodeName&&(t._prevSVG=i)},n.prototype.evalScripts=function(t,e,i){for(var r=t.querySelectorAll("script"),o=[],s=0;s0&&("always"===i||"once"===i&&!this._ranScripts[e])){for(s=0;sn,i=r=>r.error(e());return new Re(t?r=>t.schedule(i,0,r):i)}function En(n){return qe((t,e)=>{let o,i=null,r=!1;i=t.subscribe(Ye(e,void 0,void 0,s=>{o=jt(n(s,En(n)(t))),i?(i.unsubscribe(),i=null,o.subscribe(e)):r=!0})),r&&(i.unsubscribe(),i=null,o.subscribe(e))})}var zE=function(){function n(t,e,i,r,o,s){this._appBase=t,this._location=e,this._config=i,this._http=i&&!i.bypassHttpClientInterceptorChain?r:new Ha(o),this._renderer=s.createRenderer(null,null),this.setBaseUrl(),n._cache||(n._cache=new Map),n._inProgressReqs||(n._inProgressReqs=new Map)}return n.prototype.getSVG=function(t,e,i){var r=this;void 0===i&&(i=!0);var o=(e?this.getAbsoluteUrl(t):t).replace(/#.+$/,"");if(i&&n._cache.has(o))return q(this._cloneSVG(n._cache.get(o)));if(n._inProgressReqs.has(o))return n._inProgressReqs.get(o);var s=this._http.get(o,{responseType:"text"}).pipe(ut(function(){n._inProgressReqs.delete(o)}),En(function(a){return n._inProgressReqs.delete(o),_o(a.message)}),gr(),z(function(a){var l=r._svgElementFromString(a);return n._cache.set(o,l),r._cloneSVG(l)}));return n._inProgressReqs.set(o,s),s},n.prototype.setBaseUrl=function(){this._config?this._baseUrl=this._config.baseUrl:null!==this._appBase?this._baseUrl=this._appBase:null!==this._location&&(this._baseUrl=this._location.getBaseHrefFromDOM())},n.prototype.getAbsoluteUrl=function(t){this._baseUrl&&!/^https?:\/\//i.test(t)&&0===(t=this._baseUrl+t).indexOf("//")&&(t=t.substring(1));var e=this._renderer.createElement("BASE");return e.href=t,e.href},n.prototype._svgElementFromString=function(t){var e=this._renderer.createElement("DIV");e.innerHTML=t;var i=e.querySelector("svg");if(!i)throw new Error("No SVG found in loaded contents");return i},n.prototype._cloneSVG=function(t){return t.cloneNode(!0)},n.\u0275prov=k({token:n,factory:n.\u0275fac=function(e){return new(e||n)(b(_m,8),b(zd,8),b(I_,8),b(Ha),b(Hm),b(zo))},providedIn:"root"}),n}();function WE(n,t){for(var e=0;e-1}(e.inlineSVG)){var r=e.inlineSVG.split("#")[1];i=function UU(n,t,e){var i=t.querySelector('[id="'.concat(e,'"]'));if(!i)throw new Error('Symbol "'.concat(e,'" not found'));var r=n.createElement("svg","svg");n.appendChild(r,i);var o=n.createElement("use","svg");return n.setAttribute(o,"href","#".concat(e),"xlink"),n.appendChild(r,o),r}(e._renderer,i,r)}e._processSvg(i)},function(i){e._fail(i)}))}},n.prototype._processSvg=function(t){if(t){if(this.removeSVGAttributes&&tr(this.platformId)&&WE(t,this.removeSVGAttributes),this.setSVGAttributes&&function zU(n,t){for(var e in t)n.setAttribute(e,t[e])}(t,this.setSVGAttributes),this.onSVGLoaded&&(t=this.onSVGLoaded(t,this._el.nativeElement)),this._insertEl(t),tr(this.platformId)&&this._inlineSVGService.evalScripts(t,this.inlineSVG,this.evalScripts),this.forceEvalStyles){var e=t.querySelectorAll("style");Array.from(e).forEach(function(i){return i.textContent+=""})}this.onSVGInserted.emit(t)}},n.prototype._insertEl=function(t){if(this.injectComponent){if(!this._svgComp){var e=this._resolver.resolveComponentFactory(UE);this._svgComp=this._viewContainerRef.createComponent(e)}this._svgComp.instance.context=this,this._svgComp.instance.replaceContents=this.replaceContents,this._svgComp.instance.prepend=this.prepend,this._svgComp.instance.content=t,this._renderer.appendChild(this._el.nativeElement,this._svgComp.injector.get(UE)._el.nativeElement)}else this._inlineSVGService.insertEl(this,this._el.nativeElement,t,this.replaceContents,this.prepend)},n.prototype._fail=function(t){if(this.onSVGFailed.emit(t),this.fallbackImgUrl){var e=this._renderer.createElement("IMG");this._renderer.setAttribute(e,"src",this.fallbackImgUrl),this._insertEl(e)}else this.fallbackSVG&&this.fallbackSVG!==this.inlineSVG&&(this.inlineSVG=this.fallbackSVG,this._insertSVG())},n.prototype._isValidPlatform=function(){return nr(this.platformId)||tr(this.platformId)},n.prototype._isSSRDisabled=function(){return nr(this.platformId)&&this._config&&this._config.clientOnly},n.\u0275fac=function(e){return new(e||n)(f(j),f(At),f(Uo),f(zE),f(qt),f(GE),f(I_,8),f($n))},n.\u0275dir=T({type:n,selectors:[["","inlineSVG",""]],inputs:{inlineSVG:"inlineSVG",resolveSVGUrl:"resolveSVGUrl",replaceContents:"replaceContents",prepend:"prepend",injectComponent:"injectComponent",cacheSVG:"cacheSVG",setSVGAttributes:"setSVGAttributes",removeSVGAttributes:"removeSVGAttributes",forceEvalStyles:"forceEvalStyles",evalScripts:"evalScripts",fallbackImgUrl:"fallbackImgUrl",fallbackSVG:"fallbackSVG",onSVGLoaded:"onSVGLoaded"},outputs:{onSVGInserted:"onSVGInserted",onSVGFailed:"onSVGFailed"},features:[Me([zE]),nt]}),n}(),WU=function(){function n(){}return n.forRoot=function(t){return{ngModule:n,providers:[{provide:I_,useValue:t}]}},n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({}),n}();class kh{constructor(t){this.startScrollPosition=0,this.interruptListenersAttached=!1,this.timer=null,t.scrollViews&&0!==t.scrollViews.length?this.isInlineScrolling=!0:(t.scrollViews=[t.document.documentElement,t.document.body,t.document.body.parentNode],this.isInlineScrolling=!1),this.pageScrollOptions=t}static getScrollingTargetPosition(t,e){const i=t.document.body,r=t.document.documentElement,a=t.document.defaultView&&t.document.defaultView.pageYOffset||r.scrollTop||i.scrollTop,l=t.document.defaultView&&t.document.defaultView.pageXOffset||r.scrollLeft||i.scrollLeft,c=r.clientTop||i.clientTop||0,u=r.clientLeft||i.clientLeft||0;if(null==e)return{top:a,left:l};const d=e.getBoundingClientRect(),g=d.left+l-u;return{top:Math.round(d.top+a-c),left:Math.round(g)}}static getInlineScrollingTargetPosition(t,e){const i={top:e.offsetTop,left:e.offsetLeft};if(t.advancedInlineOffsetCalculation&&1===t.scrollViews.length){const r={top:0,left:0},o=e.ownerDocument.defaultView;let s=!1,a=e.parentElement;for(;!s&&null!=a;)"relative"===o.getComputedStyle(a).getPropertyValue("position")&&(r.top+=a.offsetTop,r.left+=a.offsetLeft),a=a.parentElement,s=a===t.scrollViews[0];s&&(i.top+=r.top,i.left+=r.left)}return i}getScrollPropertyValue(t){return this.pageScrollOptions.verticalScrolling?t.scrollTop:t.scrollLeft}getScrollClientPropertyValue(t){return this.pageScrollOptions.verticalScrolling?t.clientHeight:t.clientWidth}extractScrollTargetPosition(){const t=this.getScrollTargetElement();return null==t?{top:NaN,left:NaN}:this.isInlineScrolling?kh.getInlineScrollingTargetPosition(this.pageScrollOptions,t):kh.getScrollingTargetPosition(this.pageScrollOptions,t)}getCurrentOffset(){return this.pageScrollOptions.scrollOffset}setScrollPosition(t){return this.pageScrollOptions.scrollViews.reduce((e,i)=>{const r=this.getScrollPropertyValue(i);if(i&&null!=r){const o=Math.abs(r-t),s=oMath.abs(this.getScrollPropertyValue(i)-t))return!0}return e},!1)}fireEvent(t){this.pageScrollOptions.scrollFinishListener&&this.pageScrollOptions.scrollFinishListener.emit(t)}attachInterruptListeners(t){this.interruptListenersAttached&&this.detachInterruptListeners(),this.interruptListener=e=>{t.report(e,this)},this.pageScrollOptions.interruptEvents.forEach(e=>this.pageScrollOptions.document.body.addEventListener(e,this.interruptListener)),this.interruptListenersAttached=!0}detachInterruptListeners(){this.pageScrollOptions.interruptEvents.forEach(t=>this.pageScrollOptions.document.body.removeEventListener(t,this.interruptListener)),this.interruptListenersAttached=!1}getScrollTargetElement(){if("string"==typeof this.pageScrollOptions.scrollTarget){const t=this.pageScrollOptions.scrollTarget;return null!==t.match(/^#[^\s]+$/g)?this.pageScrollOptions.document.getElementById(t.substr(1)):this.pageScrollOptions.document.querySelector(t)}return this.pageScrollOptions.scrollTarget}}const k_=new P("ngxps_config"),qU={_interval:10,_minScrollDistance:2,_logLevel:1,namespace:"default",verticalScrolling:!0,duration:1250,scrollOffset:0,advancedInlineOffsetCalculation:!1,interruptEvents:["mousedown","wheel","DOMMouseScroll","mousewheel","keyup","touchmove"],interruptKeys:[" ","Escape","Tab","Enter","PageUp","PageDown","Home","End","ArrowUp","ArrowRight","ArrowLeft","ArrowDown"],interruptible:!0,scrollInView:!0,easingLogic:(n,t,e,i)=>e*n/i+t};let F_=(()=>{class n{constructor(e){this.runningInstances=[],this.onInterrupted={report:(i,r)=>{if(!r.pageScrollOptions.interruptible)return;let o=!0;"keyup"===i.type?-1===this.config.interruptKeys.indexOf(i.key)&&(o=!1):"mousedown"===i.type&&(r.pageScrollOptions.scrollViews.some(s=>s.contains(i.target))||(o=!1)),o&&this.stopAll(r.pageScrollOptions.namespace)}},this.config={...qU,...e}}stopInternal(e,i){const r=this.runningInstances.indexOf(i);return r>=0&&this.runningInstances.splice(r,1),i.interruptListenersAttached&&i.detachInterruptListeners(),!!i.timer&&(clearInterval(i.timer),i.timer=void 0,i.fireEvent(!e),!0)}create(e){return new kh({...this.config,...e})}start(e){if(e.pageScrollOptions={...this.config,...e.pageScrollOptions},this.stopAll(e.pageScrollOptions.namespace),null===e.pageScrollOptions.scrollViews||0===e.pageScrollOptions.scrollViews.length)return void((this.config._logLevel>=2||this.config._logLevel>=1&&gc())&&console.warn("No scrollViews specified, thus ngx-page-scroll does not know which DOM elements to scroll"));let i=!1,r=e.getScrollClientPropertyValue(e.pageScrollOptions.scrollViews[0]);e.startScrollPosition=0,e.pageScrollOptions.scrollViews.forEach(c=>{if(null==c)return;const u=e.getScrollPropertyValue(c);!i&&u&&(e.startScrollPosition=u,i=!0,r=e.getScrollClientPropertyValue(c))});const o=e.getCurrentOffset(),s=e.extractScrollTargetPosition();if(e.targetScrollPosition=Math.round((e.pageScrollOptions.verticalScrolling?s.top:s.left)-o),e.distanceToScroll=e.targetScrollPosition-e.startScrollPosition,isNaN(e.distanceToScroll))return(this.config._logLevel>=2||this.config._logLevel>=1&&gc())&&console.log("Scrolling not possible, as we can't find the specified target"),void e.fireEvent(!1);const a=Math.abs(e.distanceToScroll)=2||this.config._logLevel>=1&&gc())&&console.log(a?"Scrolling not possible, as we can't get any closer to the destination":"Scroll duration shorter that interval length, jumping to target"),e.setScrollPosition(e.targetScrollPosition),void e.fireEvent(!0)):!e.pageScrollOptions.scrollInView&&e.targetScrollPosition>e.startScrollPosition&&e.targetScrollPosition<=e.startScrollPosition+r?((this.config._logLevel>=2||this.config._logLevel>=1&&gc())&&console.log("Not scrolling, as target already in view"),void e.fireEvent(!0)):(e.pageScrollOptions.interruptible&&e.attachInterruptListeners(this.onInterrupted),e.startTime=(new Date).getTime(),e.endTime=e.startTime+e.executionDuration,e.timer=setInterval(c=>{const u=(new Date).getTime();let d,h=!1;c.endTime<=u?(d=c.targetScrollPosition,h=!0):d=Math.round(c.pageScrollOptions.easingLogic(u-c.startTime,c.startScrollPosition,c.distanceToScroll,c.executionDuration)),this.config._logLevel>=5&&gc()&&console.warn("Scroll Position: "+d),c.setScrollPosition(d)||(h=!0),h&&this.stopInternal(!1,c)},this.config._interval,e),void this.runningInstances.push(e))}scroll(e){this.start(this.create(e))}stopAll(e){if(this.runningInstances.length>0){let i=!1;for(let r=0;r{class n{static forRoot(e){return{ngModule:n,providers:[F_,{provide:k_,useValue:e}]}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({providers:[F_,{provide:k_,useValue:{}}]}),n})();const Fh=Ft(n=>function(){n(this),this.name="EmptyError",this.message="no elements in sequence"}),{isArray:YU}=Array,{getPrototypeOf:QU,prototype:KU,keys:ZU}=Object;function YE(n){if(1===n.length){const t=n[0];if(YU(t))return{args:t,keys:null};if(function XU(n){return n&&"object"==typeof n&&QU(n)===KU}(t)){const e=ZU(t);return{args:e.map(i=>t[i]),keys:e}}}return{args:n,keys:null}}const{isArray:JU}=Array;function R_(n){return z(t=>function e3(n,t){return JU(t)?n(...t):n(t)}(n,t))}function QE(n,t){return n.reduce((e,i,r)=>(e[i]=t[r],e),{})}function O_(...n){const t=fr(n),e=Sl(n),{args:i,keys:r}=YE(n);if(0===i.length)return He([],t);const o=new Re(function t3(n,t,e=pi){return i=>{KE(t,()=>{const{length:r}=n,o=new Array(r);let s=r,a=r;for(let l=0;l{const c=He(n[l],t);let u=!1;c.subscribe(Ye(i,d=>{o[l]=d,u||(u=!0,a--),a||i.next(e(o.slice()))},()=>{--s||i.complete()}))},i)},i)}}(i,t,r?s=>QE(r,s):pi));return e?o.pipe(R_(e)):o}function KE(n,t,e){n?_i(e,n,t):t()}function Rh(...n){return function n3(){return Qr(1)}()(He(n,fr(n)))}function P_(n){return new Re(t=>{jt(n()).subscribe(t)})}function L_(){return qe((n,t)=>{let e=null;n._refCount++;const i=Ye(t,void 0,void 0,void 0,()=>{if(!n||n._refCount<=0||0<--n._refCount)return void(e=null);const r=n._connection,o=e;e=null,r&&(!o||r===o)&&r.unsubscribe(),t.unsubscribe()});n.subscribe(i),i.closed||(e=n.connect())})}class ZE extends Re{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,bu(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new Ce;const e=this.getSubject();t.add(this.source.subscribe(Ye(e,void 0,()=>{this._teardown(),e.complete()},i=>{this._teardown(),e.error(i)},()=>this._teardown()))),t.closed&&(this._connection=null,t=Ce.EMPTY)}return t}refCount(){return L_()(this)}}function zn(n,t){return qe((e,i)=>{let r=null,o=0,s=!1;const a=()=>s&&!r&&i.complete();e.subscribe(Ye(i,l=>{r?.unsubscribe();let c=0;const u=o++;jt(n(l,u)).subscribe(r=Ye(i,d=>i.next(t?t(l,d,u,c++):d),()=>{r=null,a()}))},()=>{s=!0,a()}))})}function Sn(n){return n<=0?()=>Tn:qe((t,e)=>{let i=0;t.subscribe(Ye(e,r=>{++i<=n&&(e.next(r),n<=i&&e.complete())}))})}function Nr(...n){const t=fr(n);return qe((e,i)=>{(t?Rh(n,e,t):Rh(n,e)).subscribe(i)})}function Oh(n){return qe((t,e)=>{let i=!1;t.subscribe(Ye(e,r=>{i=!0,e.next(r)},()=>{i||e.next(n),e.complete()}))})}function XE(n=r3){return qe((t,e)=>{let i=!1;t.subscribe(Ye(e,r=>{i=!0,e.next(r)},()=>i?e.complete():e.error(n())))})}function r3(){return new Fh}function yo(n,t){const e=arguments.length>=2;return i=>i.pipe(n?It((r,o)=>n(r,o,i)):pi,Sn(1),e?Oh(t):XE(()=>new Fh))}function o3(n,t,e,i,r){return(o,s)=>{let a=e,l=t,c=0;o.subscribe(Ye(s,u=>{const d=c++;l=a?n(l,u,d):(a=!0,u),i&&s.next(l)},r&&(()=>{a&&s.next(l),s.complete()})))}}function JE(n,t){return qe(o3(n,t,arguments.length>=2,!0))}function N_(n){return n<=0?()=>Tn:qe((t,e)=>{let i=[];t.subscribe(Ye(e,r=>{i.push(r),n{for(const r of i)e.next(r);e.complete()},void 0,()=>{i=null}))})}function eS(n,t){const e=arguments.length>=2;return i=>i.pipe(n?It((r,o)=>n(r,o,i)):pi,N_(1),e?Oh(t):XE(()=>new Fh))}function tS(n,t=!1){return qe((e,i)=>{let r=0;e.subscribe(Ye(i,o=>{const s=n(o,r++);(s||t)&&i.next(o),!s&&i.complete()}))})}function Ph(n){return qe((t,e)=>{try{t.subscribe(e)}finally{e.add(n)}})}const ve="primary",Fc=Symbol("RouteTitle");class a3{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e[0]:e}return null}getAll(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function qa(n){return new a3(n)}function l3(n,t,e){const i=e.path.split("/");if(i.length>n.length||"full"===e.pathMatch&&(t.hasChildren()||i.lengthi[o]===r)}return n===t}function iS(n){return Array.prototype.concat.apply([],n)}function rS(n){return n.length>0?n[n.length-1]:null}function Bt(n,t){for(const e in n)n.hasOwnProperty(e)&&t(n[e],e)}function vo(n){return Og(n)?n:ic(n)?He(Promise.resolve(n)):q(n)}const d3={exact:function aS(n,t,e){if(!ds(n.segments,t.segments)||!Lh(n.segments,t.segments,e)||n.numberOfChildren!==t.numberOfChildren)return!1;for(const i in t.children)if(!n.children[i]||!aS(n.children[i],t.children[i],e))return!1;return!0},subset:lS},oS={exact:function h3(n,t){return or(n,t)},subset:function f3(n,t){return Object.keys(t).length<=Object.keys(n).length&&Object.keys(t).every(e=>nS(n[e],t[e]))},ignored:()=>!0};function sS(n,t,e){return d3[e.paths](n.root,t.root,e.matrixParams)&&oS[e.queryParams](n.queryParams,t.queryParams)&&!("exact"===e.fragment&&n.fragment!==t.fragment)}function lS(n,t,e){return cS(n,t,t.segments,e)}function cS(n,t,e,i){if(n.segments.length>e.length){const r=n.segments.slice(0,e.length);return!(!ds(r,e)||t.hasChildren()||!Lh(r,e,i))}if(n.segments.length===e.length){if(!ds(n.segments,e)||!Lh(n.segments,e,i))return!1;for(const r in t.children)if(!n.children[r]||!lS(n.children[r],t.children[r],i))return!1;return!0}{const r=e.slice(0,n.segments.length),o=e.slice(n.segments.length);return!!(ds(n.segments,r)&&Lh(n.segments,r,i)&&n.children[ve])&&cS(n.children[ve],t,o,i)}}function Lh(n,t,e){return t.every((i,r)=>oS[e](n[r].parameters,i.parameters))}class us{constructor(t,e,i){this.root=t,this.queryParams=e,this.fragment=i}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=qa(this.queryParams)),this._queryParamMap}toString(){return m3.serialize(this)}}class xe{constructor(t,e){this.segments=t,this.children=e,this.parent=null,Bt(e,(i,r)=>i.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Nh(this)}}class Rc{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=qa(this.parameters)),this._parameterMap}toString(){return fS(this)}}function ds(n,t){return n.length===t.length&&n.every((e,i)=>e.path===t[i].path)}let uS=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=k({token:n,factory:function(){return new B_},providedIn:"root"}),n})();class B_{parse(t){const e=new M3(t);return new us(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){const e=`/${Oc(t.root,!0)}`,i=function v3(n){const t=Object.keys(n).map(e=>{const i=n[e];return Array.isArray(i)?i.map(r=>`${Vh(e)}=${Vh(r)}`).join("&"):`${Vh(e)}=${Vh(i)}`}).filter(e=>!!e);return t.length?`?${t.join("&")}`:""}(t.queryParams);return`${e}${i}${"string"==typeof t.fragment?`#${function _3(n){return encodeURI(n)}(t.fragment)}`:""}`}}const m3=new B_;function Nh(n){return n.segments.map(t=>fS(t)).join("/")}function Oc(n,t){if(!n.hasChildren())return Nh(n);if(t){const e=n.children[ve]?Oc(n.children[ve],!1):"",i=[];return Bt(n.children,(r,o)=>{o!==ve&&i.push(`${o}:${Oc(r,!1)}`)}),i.length>0?`${e}(${i.join("//")})`:e}{const e=function g3(n,t){let e=[];return Bt(n.children,(i,r)=>{r===ve&&(e=e.concat(t(i,r)))}),Bt(n.children,(i,r)=>{r!==ve&&(e=e.concat(t(i,r)))}),e}(n,(i,r)=>r===ve?[Oc(n.children[ve],!1)]:[`${r}:${Oc(i,!1)}`]);return 1===Object.keys(n.children).length&&null!=n.children[ve]?`${Nh(n)}/${e[0]}`:`${Nh(n)}/(${e.join("//")})`}}function dS(n){return encodeURIComponent(n).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Vh(n){return dS(n).replace(/%3B/gi,";")}function H_(n){return dS(n).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Bh(n){return decodeURIComponent(n)}function hS(n){return Bh(n.replace(/\+/g,"%20"))}function fS(n){return`${H_(n.path)}${function y3(n){return Object.keys(n).map(t=>`;${H_(t)}=${H_(n[t])}`).join("")}(n.parameters)}`}const b3=/^[^\/()?;=#]+/;function Hh(n){const t=n.match(b3);return t?t[0]:""}const C3=/^[^=?&#]+/,x3=/^[^&#]+/;class M3{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new xe([],{}):new xe([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(i[ve]=new xe(t,e)),i}parseSegment(){const t=Hh(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new I(4009,!1);return this.capture(t),new Rc(Bh(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=Hh(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){const r=Hh(this.remaining);r&&(i=r,this.capture(i))}t[Bh(e)]=Bh(i)}parseQueryParam(t){const e=function w3(n){const t=n.match(C3);return t?t[0]:""}(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){const s=function D3(n){const t=n.match(x3);return t?t[0]:""}(this.remaining);s&&(i=s,this.capture(i))}const r=hS(e),o=hS(i);if(t.hasOwnProperty(r)){let s=t[r];Array.isArray(s)||(s=[s],t[r]=s),s.push(o)}else t[r]=o}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const i=Hh(this.remaining),r=this.remaining[i.length];if("/"!==r&&")"!==r&&";"!==r)throw new I(4010,!1);let o;i.indexOf(":")>-1?(o=i.slice(0,i.indexOf(":")),this.capture(o),this.capture(":")):t&&(o=ve);const s=this.parseChildren();e[o]=1===Object.keys(s).length?s[ve]:new xe([],s),this.consumeOptional("//")}return e}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new I(4011,!1)}}function $_(n){return n.segments.length>0?new xe([],{[ve]:n}):n}function $h(n){const t={};for(const i of Object.keys(n.children)){const o=$h(n.children[i]);(o.segments.length>0||o.hasChildren())&&(t[i]=o)}return function E3(n){if(1===n.numberOfChildren&&n.children[ve]){const t=n.children[ve];return new xe(n.segments.concat(t.segments),t.children)}return n}(new xe(n.segments,t))}function hs(n){return n instanceof us}function T3(n,t,e,i,r){var o;if(0===e.length)return Ya(t.root,t.root,t.root,i,r);const s=function mS(n){if("string"==typeof n[0]&&1===n.length&&"/"===n[0])return new gS(!0,0,n);let t=0,e=!1;const i=n.reduce((r,o,s)=>{if("object"==typeof o&&null!=o){if(o.outlets){const a={};return Bt(o.outlets,(l,c)=>{a[c]="string"==typeof l?l.split("/"):l}),[...r,{outlets:a}]}if(o.segmentPath)return[...r,o.segmentPath]}return"string"!=typeof o?[...r,o]:0===s?(o.split("/").forEach((a,l)=>{0==l&&"."===a||(0==l&&""===a?e=!0:".."===a?t++:""!=a&&r.push(a))}),r):[...r,o]},[]);return new gS(e,t,i)}(e);if(s.toRoot())return Ya(t.root,t.root,new xe([],{}),i,r);const l=function a(u){var d;const h=function k3(n,t,e,i){if(n.isAbsolute)return new Qa(t.root,!0,0);if(-1===i)return new Qa(e,e===t.root,0);return function _S(n,t,e){let i=n,r=t,o=e;for(;o>r;){if(o-=r,i=i.parent,!i)throw new I(4005,!1);r=i.segments.length}return new Qa(i,!1,r-o)}(e,i+(Pc(n.commands[0])?0:1),n.numberOfDoubleDots)}(s,t,null===(d=n.snapshot)||void 0===d?void 0:d._urlSegment,u),g=h.processChildren?Nc(h.segmentGroup,h.index,s.commands):G_(h.segmentGroup,h.index,s.commands);return Ya(t.root,h.segmentGroup,g,i,r)}(null===(o=n.snapshot)||void 0===o?void 0:o._lastPathIndex);return l}function Pc(n){return"object"==typeof n&&null!=n&&!n.outlets&&!n.segmentPath}function Lc(n){return"object"==typeof n&&null!=n&&n.outlets}function Ya(n,t,e,i,r){let s,o={};i&&Bt(i,(l,c)=>{o[c]=Array.isArray(l)?l.map(u=>`${u}`):`${l}`}),s=n===t?e:pS(n,t,e);const a=$_($h(s));return new us(a,o,r)}function pS(n,t,e){const i={};return Bt(n.children,(r,o)=>{i[o]=r===t?e:pS(r,t,e)}),new xe(n.segments,i)}class gS{constructor(t,e,i){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=i,t&&i.length>0&&Pc(i[0]))throw new I(4003,!1);const r=i.find(Lc);if(r&&r!==rS(i))throw new I(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Qa{constructor(t,e,i){this.segmentGroup=t,this.processChildren=e,this.index=i}}function G_(n,t,e){if(n||(n=new xe([],{})),0===n.segments.length&&n.hasChildren())return Nc(n,t,e);const i=function R3(n,t,e){let i=0,r=t;const o={match:!1,pathIndex:0,commandIndex:0};for(;r=e.length)return o;const s=n.segments[r],a=e[i];if(Lc(a))break;const l=`${a}`,c=i0&&void 0===l)break;if(l&&c&&"object"==typeof c&&void 0===c.outlets){if(!vS(l,c,s))return o;i+=2}else{if(!vS(l,{},s))return o;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}(n,t,e),r=e.slice(i.commandIndex);if(i.match&&i.pathIndex{"string"==typeof o&&(o=[o]),null!==o&&(r[s]=G_(n.children[s],t,o))}),Bt(n.children,(o,s)=>{void 0===i[s]&&(r[s]=o)}),new xe(n.segments,r)}}function U_(n,t,e){const i=n.segments.slice(0,t);let r=0;for(;r{"string"==typeof e&&(e=[e]),null!==e&&(t[i]=U_(new xe([],{}),0,e))}),t}function yS(n){const t={};return Bt(n,(e,i)=>t[i]=`${e}`),t}function vS(n,t,e){return n==e.path&&or(t,e.parameters)}class Vr{constructor(t,e){this.id=t,this.url=e}}class z_ extends Vr{constructor(t,e,i="imperative",r=null){super(t,e),this.type=0,this.navigationTrigger=i,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Br extends Vr{constructor(t,e,i){super(t,e),this.urlAfterRedirects=i,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Vc extends Vr{constructor(t,e,i,r){super(t,e),this.reason=i,this.code=r,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class W_ extends Vr{constructor(t,e,i,r){super(t,e),this.error=i,this.target=r,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class P3 extends Vr{constructor(t,e,i,r){super(t,e),this.urlAfterRedirects=i,this.state=r,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class L3 extends Vr{constructor(t,e,i,r){super(t,e),this.urlAfterRedirects=i,this.state=r,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class N3 extends Vr{constructor(t,e,i,r,o){super(t,e),this.urlAfterRedirects=i,this.state=r,this.shouldActivate=o,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class V3 extends Vr{constructor(t,e,i,r){super(t,e),this.urlAfterRedirects=i,this.state=r,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class B3 extends Vr{constructor(t,e,i,r){super(t,e),this.urlAfterRedirects=i,this.state=r,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class H3{constructor(t){this.route=t,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class $3{constructor(t){this.route=t,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class j3{constructor(t){this.snapshot=t,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class G3{constructor(t){this.snapshot=t,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class U3{constructor(t){this.snapshot=t,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class z3{constructor(t){this.snapshot=t,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class bS{constructor(t,e,i){this.routerEvent=t,this.position=e,this.anchor=i,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class CS{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}children(t){const e=q_(t,this._root);return e?e.children.map(i=>i.value):[]}firstChild(t){const e=q_(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=Y_(t,this._root);return e.length<2?[]:e[e.length-2].children.map(r=>r.value).filter(r=>r!==t)}pathFromRoot(t){return Y_(t,this._root).map(e=>e.value)}}function q_(n,t){if(n===t.value)return t;for(const e of t.children){const i=q_(n,e);if(i)return i}return null}function Y_(n,t){if(n===t.value)return[t];for(const e of t.children){const i=Y_(n,e);if(i.length)return i.unshift(t),i}return[]}class Hr{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function Ka(n){const t={};return n&&n.children.forEach(e=>t[e.value.outlet]=e),t}class wS extends CS{constructor(t,e){super(t),this.snapshot=e,Q_(this,t)}toString(){return this.snapshot.toString()}}function xS(n,t){const e=function q3(n,t){const s=new jh([],{},{},"",{},ve,t,null,n.root,-1,{});return new MS("",new Hr(s,[]))}(n,t),i=new jn([new Rc("",{})]),r=new jn({}),o=new jn({}),s=new jn({}),a=new jn(""),l=new fs(i,r,s,a,o,ve,t,e.root);return l.snapshot=e.root,new wS(new Hr(l,[]),e)}class fs{constructor(t,e,i,r,o,s,a,l){var c,u;this.url=t,this.params=e,this.queryParams=i,this.fragment=r,this.data=o,this.outlet=s,this.component=a,this.title=null!==(c=null===(u=this.data)||void 0===u?void 0:u.pipe(z(d=>d[Fc])))&&void 0!==c?c:q(void 0),this._futureSnapshot=l}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(z(t=>qa(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(z(t=>qa(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function DS(n,t="emptyOnly"){const e=n.pathFromRoot;let i=0;if("always"!==t)for(i=e.length-1;i>=1;){const r=e[i],o=e[i-1];if(r.routeConfig&&""===r.routeConfig.path)i--;else{if(o.component)break;i--}}return function Y3(n){return n.reduce((t,e)=>{var i;return{params:{...t.params,...e.params},data:{...t.data,...e.data},resolve:{...e.data,...t.resolve,...null===(i=e.routeConfig)||void 0===i?void 0:i.data,...e._resolvedData}}},{params:{},data:{},resolve:{}})}(e.slice(i))}class jh{constructor(t,e,i,r,o,s,a,l,c,u,d,h){var g;this.url=t,this.params=e,this.queryParams=i,this.fragment=r,this.data=o,this.outlet=s,this.component=a,this.title=null===(g=this.data)||void 0===g?void 0:g[Fc],this.routeConfig=l,this._urlSegment=c,this._lastPathIndex=u,this._correctedLastPathIndex=h??u,this._resolve=d}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=qa(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=qa(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(i=>i.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class MS extends CS{constructor(t,e){super(e),this.url=t,Q_(this,e)}toString(){return ES(this._root)}}function Q_(n,t){t.value._routerState=n,t.children.forEach(e=>Q_(n,e))}function ES(n){const t=n.children.length>0?` { ${n.children.map(ES).join(", ")} } `:"";return`${n.value}${t}`}function K_(n){if(n.snapshot){const t=n.snapshot,e=n._futureSnapshot;n.snapshot=e,or(t.queryParams,e.queryParams)||n.queryParams.next(e.queryParams),t.fragment!==e.fragment&&n.fragment.next(e.fragment),or(t.params,e.params)||n.params.next(e.params),function c3(n,t){if(n.length!==t.length)return!1;for(let e=0;eor(e.parameters,t[i].parameters))}(n.url,t.url);return e&&!(!n.parent!=!t.parent)&&(!n.parent||Z_(n.parent,t.parent))}function Bc(n,t,e){if(e&&n.shouldReuseRoute(t.value,e.value.snapshot)){const i=e.value;i._futureSnapshot=t.value;const r=function K3(n,t,e){return t.children.map(i=>{for(const r of e.children)if(n.shouldReuseRoute(i.value,r.value.snapshot))return Bc(n,i,r);return Bc(n,i)})}(n,t,e);return new Hr(i,r)}{if(n.shouldAttach(t.value)){const o=n.retrieve(t.value);if(null!==o){const s=o.route;return s.value._futureSnapshot=t.value,s.children=t.children.map(a=>Bc(n,a)),s}}const i=function Z3(n){return new fs(new jn(n.url),new jn(n.params),new jn(n.queryParams),new jn(n.fragment),new jn(n.data),n.outlet,n.component,n)}(t.value),r=t.children.map(o=>Bc(n,o));return new Hr(i,r)}}const X_="ngNavigationCancelingError";function SS(n,t){const{redirectTo:e,navigationBehaviorOptions:i}=hs(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,r=AS(!1,0,t);return r.url=e,r.navigationBehaviorOptions=i,r}function AS(n,t,e){const i=new Error("NavigationCancelingError: "+(n||""));return i[X_]=!0,i.cancellationCode=t,e&&(i.url=e),i}function TS(n){return IS(n)&&hs(n.url)}function IS(n){return n&&n[X_]}class X3{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new Hc,this.attachRef=null}}let Hc=(()=>{class n{constructor(){this.contexts=new Map}onChildOutletCreated(e,i){const r=this.getOrCreateContext(e);r.outlet=i,this.contexts.set(e,r)}onChildOutletDestroyed(e){const i=this.getContext(e);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){const e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let i=this.getContext(e);return i||(i=new X3,this.contexts.set(e,i)),i}getContext(e){return this.contexts.get(e)||null}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const Gh=!1;let J_=(()=>{class n{constructor(e,i,r,o,s){this.parentContexts=e,this.location=i,this.changeDetector=o,this.environmentInjector=s,this.activated=null,this._activatedRoute=null,this.activateEvents=new he,this.deactivateEvents=new he,this.attachEvents=new he,this.detachEvents=new he,this.name=r||ve,e.onChildOutletCreated(this.name,this)}ngOnDestroy(){var e;(null===(e=this.parentContexts.getContext(this.name))||void 0===e?void 0:e.outlet)===this&&this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const e=this.parentContexts.getContext(this.name);e&&e.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new I(4012,Gh);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new I(4012,Gh);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new I(4012,Gh);this.location.detach();const e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,i){this.activated=e,this._activatedRoute=i,this.location.insert(e.hostView),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){const e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,i){if(this.isActivated)throw new I(4013,Gh);this._activatedRoute=e;const r=this.location,s=e._futureSnapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,l=new J3(e,a,r.injector);if(i&&function ez(n){return!!n.resolveComponentFactory}(i)){const c=i.resolveComponentFactory(s);this.activated=r.createComponent(c,r.length,l)}else this.activated=r.createComponent(s,{index:r.length,injector:l,environmentInjector:i??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return n.\u0275fac=function(e){return new(e||n)(f(Hc),f(At),Ui("name"),f(Dn),f(oo))},n.\u0275dir=T({type:n,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0}),n})();class J3{constructor(t,e,i){this.route=t,this.childContexts=e,this.parent=i}get(t,e){return t===fs?this.route:t===Hc?this.childContexts:this.parent.get(t,e)}}let ey=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=pe({type:n,selectors:[["ng-component"]],standalone:!0,features:[Q0],decls:1,vars:0,template:function(e,i){1&e&&Q(0,"router-outlet")},dependencies:[J_],encapsulation:2}),n})();function kS(n,t){var e;return n.providers&&!n._injector&&(n._injector=Od(n.providers,t,`Route: ${n.path}`)),null!==(e=n._injector)&&void 0!==e?e:t}function ny(n){const t=n.children&&n.children.map(ny),e=t?{...n,children:t}:{...n};return!e.component&&!e.loadComponent&&(t||e.loadChildren)&&e.outlet&&e.outlet!==ve&&(e.component=ey),e}function ui(n){return n.outlet||ve}function FS(n,t){const e=n.filter(i=>ui(i)===t);return e.push(...n.filter(i=>ui(i)!==t)),e}function $c(n){var t;if(!n)return null;if(null!==(t=n.routeConfig)&&void 0!==t&&t._injector)return n.routeConfig._injector;for(let e=n.parent;e;e=e.parent){const i=e.routeConfig;if(null!=i&&i._loadedInjector)return i._loadedInjector;if(null!=i&&i._injector)return i._injector}return null}class oz{constructor(t,e,i,r){this.routeReuseStrategy=t,this.futureState=e,this.currState=i,this.forwardEvent=r}activate(t){const e=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,i,t),K_(this.futureState.root),this.activateChildRoutes(e,i,t)}deactivateChildRoutes(t,e,i){const r=Ka(e);t.children.forEach(o=>{const s=o.value.outlet;this.deactivateRoutes(o,r[s],i),delete r[s]}),Bt(r,(o,s)=>{this.deactivateRouteAndItsChildren(o,i)})}deactivateRoutes(t,e,i){const r=t.value,o=e?e.value:null;if(r===o)if(r.component){const s=i.getContext(r.outlet);s&&this.deactivateChildRoutes(t,e,s.children)}else this.deactivateChildRoutes(t,e,i);else o&&this.deactivateRouteAndItsChildren(e,i)}deactivateRouteAndItsChildren(t,e){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}detachAndStoreRouteSubtree(t,e){const i=e.getContext(t.value.outlet),r=i&&t.value.component?i.children:e,o=Ka(t);for(const s of Object.keys(o))this.deactivateRouteAndItsChildren(o[s],r);if(i&&i.outlet){const s=i.outlet.detach(),a=i.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,e){const i=e.getContext(t.value.outlet),r=i&&t.value.component?i.children:e,o=Ka(t);for(const s of Object.keys(o))this.deactivateRouteAndItsChildren(o[s],r);i&&i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated(),i.attachRef=null,i.resolver=null,i.route=null)}activateChildRoutes(t,e,i){const r=Ka(e);t.children.forEach(o=>{this.activateRoutes(o,r[o.value.outlet],i),this.forwardEvent(new z3(o.value.snapshot))}),t.children.length&&this.forwardEvent(new G3(t.value.snapshot))}activateRoutes(t,e,i){const r=t.value,o=e?e.value:null;if(K_(r),r===o)if(r.component){const a=i.getOrCreateContext(r.outlet);this.activateChildRoutes(t,e,a.children)}else this.activateChildRoutes(t,e,i);else if(r.component){const a=i.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){const l=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),a.children.onOutletReAttached(l.contexts),a.attachRef=l.componentRef,a.route=l.route.value,a.outlet&&a.outlet.attach(l.componentRef,l.route.value),K_(l.route.value),this.activateChildRoutes(t,null,a.children)}else{var s;const l=$c(r.snapshot),c=null!==(s=l?.get(Uo))&&void 0!==s?s:null;a.attachRef=null,a.route=r,a.resolver=c,a.injector=l,a.outlet&&a.outlet.activateWith(r,a.injector),this.activateChildRoutes(t,null,a.children)}}else this.activateChildRoutes(t,null,i)}}class RS{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class Uh{constructor(t,e){this.component=t,this.route=e}}function sz(n,t,e){const i=n._root;return jc(i,t?t._root:null,e,[i.value])}function Za(n,t){const e=Symbol(),i=t.get(n,e);return i===e?"function"!=typeof n||function JI(n){return null!==Lu(n)}(n)?t.get(n):n:i}function jc(n,t,e,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=Ka(t);return n.children.forEach(s=>{(function lz(n,t,e,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=n.value,s=t?t.value:null,a=e?e.getContext(n.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){const l=function cz(n,t,e){if("function"==typeof e)return e(n,t);switch(e){case"pathParamsChange":return!ds(n.url,t.url);case"pathParamsOrQueryParamsChange":return!ds(n.url,t.url)||!or(n.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Z_(n,t)||!or(n.queryParams,t.queryParams);default:return!Z_(n,t)}}(s,o,o.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new RS(i)):(o.data=s.data,o._resolvedData=s._resolvedData),jc(n,t,o.component?a?a.children:null:e,i,r),l&&a&&a.outlet&&a.outlet.isActivated&&r.canDeactivateChecks.push(new Uh(a.outlet.component,s))}else s&&Gc(t,a,r),r.canActivateChecks.push(new RS(i)),jc(n,null,o.component?a?a.children:null:e,i,r)})(s,o[s.value.outlet],e,i.concat([s.value]),r),delete o[s.value.outlet]}),Bt(o,(s,a)=>Gc(s,e.getContext(a),r)),r}function Gc(n,t,e){const i=Ka(n),r=n.value;Bt(i,(o,s)=>{Gc(o,r.component?t?t.children.getContext(s):null:t,e)}),e.canDeactivateChecks.push(new Uh(r.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,r))}function Uc(n){return"function"==typeof n}function iy(n){return n instanceof Fh||"EmptyError"===n?.name}const zh=Symbol("INITIAL_VALUE");function Xa(){return zn(n=>O_(n.map(t=>t.pipe(Sn(1),Nr(zh)))).pipe(z(t=>{for(const e of t)if(!0!==e){if(e===zh)return zh;if(!1===e||e instanceof us)return e}return!0}),It(t=>t!==zh),Sn(1)))}function OS(n){return function Ns(...n){return yu(n)}(ut(t=>{if(hs(t))throw SS(0,t)}),z(t=>!0===t))}const ry={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function PS(n,t,e,i,r){const o=oy(n,t,e);return o.matched?function Ez(n,t,e,i){const r=t.canMatch;return r&&0!==r.length?q(r.map(s=>{const a=Za(s,n);return vo(function gz(n){return n&&Uc(n.canMatch)}(a)?a.canMatch(t,e):n.runInContext(()=>a(t,e)))})).pipe(Xa(),OS()):q(!0)}(i=kS(t,i),t,e).pipe(z(s=>!0===s?o:{...ry})):q(o)}function oy(n,t,e){var i;if(""===t.path)return"full"===t.pathMatch&&(n.hasChildren()||e.length>0)?{...ry}:{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};const o=(t.matcher||l3)(e,n,t);if(!o)return{...ry};const s={};Bt(o.posParams,(l,c)=>{s[c]=l.path});const a=o.consumed.length>0?{...s,...o.consumed[o.consumed.length-1].parameters}:s;return{matched:!0,consumedSegments:o.consumed,remainingSegments:e.slice(o.consumed.length),parameters:a,positionalParamSegments:null!==(i=o.posParams)&&void 0!==i?i:{}}}function Wh(n,t,e,i,r="corrected"){if(e.length>0&&function Tz(n,t,e){return e.some(i=>qh(n,t,i)&&ui(i)!==ve)}(n,e,i)){const s=new xe(t,function Az(n,t,e,i){const r={};r[ve]=i,i._sourceSegment=n,i._segmentIndexShift=t.length;for(const o of e)if(""===o.path&&ui(o)!==ve){const s=new xe([],{});s._sourceSegment=n,s._segmentIndexShift=t.length,r[ui(o)]=s}return r}(n,t,i,new xe(e,n.children)));return s._sourceSegment=n,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:[]}}if(0===e.length&&function Iz(n,t,e){return e.some(i=>qh(n,t,i))}(n,e,i)){const s=new xe(n.segments,function Sz(n,t,e,i,r,o){const s={};for(const a of i)if(qh(n,e,a)&&!r[ui(a)]){const l=new xe([],{});l._sourceSegment=n,l._segmentIndexShift="legacy"===o?n.segments.length:t.length,s[ui(a)]=l}return{...r,...s}}(n,t,e,i,n.children,r));return s._sourceSegment=n,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:e}}const o=new xe(n.segments,n.children);return o._sourceSegment=n,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:e}}function qh(n,t,e){return(!(n.hasChildren()||t.length>0)||"full"!==e.pathMatch)&&""===e.path}function LS(n,t,e,i){return!!(ui(n)===i||i!==ve&&qh(t,e,n))&&("**"===n.path||oy(t,n,e).matched)}function NS(n,t,e){return 0===t.length&&!n.children[e]}const Yh=!1;class Qh{constructor(t){this.segmentGroup=t||null}}class VS{constructor(t){this.urlTree=t}}function zc(n){return _o(new Qh(n))}function BS(n){return _o(new VS(n))}class Oz{constructor(t,e,i,r,o){this.injector=t,this.configLoader=e,this.urlSerializer=i,this.urlTree=r,this.config=o,this.allowRedirects=!0}apply(){const t=Wh(this.urlTree.root,[],[],this.config).segmentGroup,e=new xe(t.segments,t.children);return this.expandSegmentGroup(this.injector,this.config,e,ve).pipe(z(o=>this.createUrlTree($h(o),this.urlTree.queryParams,this.urlTree.fragment))).pipe(En(o=>{if(o instanceof VS)return this.allowRedirects=!1,this.match(o.urlTree);throw o instanceof Qh?this.noMatchError(o):o}))}match(t){return this.expandSegmentGroup(this.injector,this.config,t.root,ve).pipe(z(r=>this.createUrlTree($h(r),t.queryParams,t.fragment))).pipe(En(r=>{throw r instanceof Qh?this.noMatchError(r):r}))}noMatchError(t){return new I(4002,Yh)}createUrlTree(t,e,i){const r=$_(t);return new us(r,e,i)}expandSegmentGroup(t,e,i,r){return 0===i.segments.length&&i.hasChildren()?this.expandChildren(t,e,i).pipe(z(o=>new xe([],o))):this.expandSegment(t,i,e,i.segments,r,!0)}expandChildren(t,e,i){const r=[];for(const o of Object.keys(i.children))"primary"===o?r.unshift(o):r.push(o);return He(r).pipe(ho(o=>{const s=i.children[o],a=FS(e,o);return this.expandSegmentGroup(t,a,s,o).pipe(z(l=>({segment:l,outlet:o})))}),JE((o,s)=>(o[s.outlet]=s.segment,o),{}),eS())}expandSegment(t,e,i,r,o,s){return He(i).pipe(ho(a=>this.expandSegmentAgainstRoute(t,e,i,a,r,o,s).pipe(En(c=>{if(c instanceof Qh)return q(null);throw c}))),yo(a=>!!a),En((a,l)=>{if(iy(a))return NS(e,r,o)?q(new xe([],{})):zc(e);throw a}))}expandSegmentAgainstRoute(t,e,i,r,o,s,a){return LS(r,e,o,s)?void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,e,r,o,s):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,i,r,o,s):zc(e):zc(e)}expandSegmentAgainstRouteUsingRedirect(t,e,i,r,o,s){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,i,r,s):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,i,r,o,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,i,r){const o=this.applyRedirectCommands([],i.redirectTo,{});return i.redirectTo.startsWith("/")?BS(o):this.lineralizeSegments(i,o).pipe(st(s=>{const a=new xe(s,{});return this.expandSegment(t,a,e,s,r,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,e,i,r,o,s){const{matched:a,consumedSegments:l,remainingSegments:c,positionalParamSegments:u}=oy(e,r,o);if(!a)return zc(e);const d=this.applyRedirectCommands(l,r.redirectTo,u);return r.redirectTo.startsWith("/")?BS(d):this.lineralizeSegments(r,d).pipe(st(h=>this.expandSegment(t,e,i,h.concat(c),s,!1)))}matchSegmentAgainstRoute(t,e,i,r,o){return"**"===i.path?(t=kS(i,t),i.loadChildren?(i._loadedRoutes?q({routes:i._loadedRoutes,injector:i._loadedInjector}):this.configLoader.loadChildren(t,i)).pipe(z(a=>(i._loadedRoutes=a.routes,i._loadedInjector=a.injector,new xe(r,{})))):q(new xe(r,{}))):PS(e,i,r,t).pipe(zn(({matched:s,consumedSegments:a,remainingSegments:l})=>{var c;return s?(t=null!==(c=i._injector)&&void 0!==c?c:t,this.getChildConfig(t,i,r).pipe(st(d=>{var h;const g=null!==(h=d.injector)&&void 0!==h?h:t,_=d.routes,{segmentGroup:y,slicedSegments:x}=Wh(e,a,l,_),C=new xe(y.segments,y.children);if(0===x.length&&C.hasChildren())return this.expandChildren(g,_,C).pipe(z(oe=>new xe(a,oe)));if(0===_.length&&0===x.length)return q(new xe(a,{}));const F=ui(i)===o;return this.expandSegment(g,C,_,x,F?ve:o,!0).pipe(z(N=>new xe(a.concat(N.segments),N.children)))}))):zc(e)}))}getChildConfig(t,e,i){return e.children?q({routes:e.children,injector:t}):e.loadChildren?void 0!==e._loadedRoutes?q({routes:e._loadedRoutes,injector:e._loadedInjector}):function Mz(n,t,e,i){const r=t.canLoad;return void 0===r||0===r.length?q(!0):q(r.map(s=>{const a=Za(s,n);return vo(function dz(n){return n&&Uc(n.canLoad)}(a)?a.canLoad(t,e):n.runInContext(()=>a(t,e)))})).pipe(Xa(),OS())}(t,e,i).pipe(st(r=>r?this.configLoader.loadChildren(t,e).pipe(ut(o=>{e._loadedRoutes=o.routes,e._loadedInjector=o.injector})):function Fz(n){return _o(AS(Yh,3))}())):q({routes:[],injector:t})}lineralizeSegments(t,e){let i=[],r=e.root;for(;;){if(i=i.concat(r.segments),0===r.numberOfChildren)return q(i);if(r.numberOfChildren>1||!r.children[ve])return _o(new I(4e3,Yh));r=r.children[ve]}}applyRedirectCommands(t,e,i){return this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),t,i)}applyRedirectCreateUrlTree(t,e,i,r){const o=this.createSegmentGroup(t,e.root,i,r);return new us(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const i={};return Bt(t,(r,o)=>{if("string"==typeof r&&r.startsWith(":")){const a=r.substring(1);i[o]=e[a]}else i[o]=r}),i}createSegmentGroup(t,e,i,r){const o=this.createSegments(t,e.segments,i,r);let s={};return Bt(e.children,(a,l)=>{s[l]=this.createSegmentGroup(t,a,i,r)}),new xe(o,s)}createSegments(t,e,i,r){return e.map(o=>o.path.startsWith(":")?this.findPosParam(t,o,r):this.findOrReturn(o,i))}findPosParam(t,e,i){const r=i[e.path.substring(1)];if(!r)throw new I(4001,Yh);return r}findOrReturn(t,e){let i=0;for(const r of e){if(r.path===t.path)return e.splice(i),r;i++}return t}}class Lz{}class Bz{constructor(t,e,i,r,o,s,a,l){this.injector=t,this.rootComponentType=e,this.config=i,this.urlTree=r,this.url=o,this.paramsInheritanceStrategy=s,this.relativeLinkResolution=a,this.urlSerializer=l}recognize(){const t=Wh(this.urlTree.root,[],[],this.config.filter(e=>void 0===e.redirectTo),this.relativeLinkResolution).segmentGroup;return this.processSegmentGroup(this.injector,this.config,t,ve).pipe(z(e=>{if(null===e)return null;const i=new jh([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},ve,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new Hr(i,e),o=new MS(this.url,r);return this.inheritParamsAndData(o._root),o}))}inheritParamsAndData(t){const e=t.value,i=DS(e,this.paramsInheritanceStrategy);e.params=Object.freeze(i.params),e.data=Object.freeze(i.data),t.children.forEach(r=>this.inheritParamsAndData(r))}processSegmentGroup(t,e,i,r){return 0===i.segments.length&&i.hasChildren()?this.processChildren(t,e,i):this.processSegment(t,e,i,i.segments,r)}processChildren(t,e,i){return He(Object.keys(i.children)).pipe(ho(r=>{const o=i.children[r],s=FS(e,r);return this.processSegmentGroup(t,s,o,r)}),JE((r,o)=>r&&o?(r.push(...o),r):null),tS(r=>null!==r),Oh(null),eS(),z(r=>{if(null===r)return null;const o=HS(r);return function Hz(n){n.sort((t,e)=>t.value.outlet===ve?-1:e.value.outlet===ve?1:t.value.outlet.localeCompare(e.value.outlet))}(o),o}))}processSegment(t,e,i,r,o){return He(e).pipe(ho(s=>{var a;return this.processSegmentAgainstRoute(null!==(a=s._injector)&&void 0!==a?a:t,s,i,r,o)}),yo(s=>!!s),En(s=>{if(iy(s))return NS(i,r,o)?q([]):q(null);throw s}))}processSegmentAgainstRoute(t,e,i,r,o){if(e.redirectTo||!LS(e,i,r,o))return q(null);let s;if("**"===e.path){var a,l;const c=r.length>0?rS(r).parameters:{},u=jS(i)+r.length;s=q({snapshot:new jh(r,c,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,US(e),ui(e),null!==(a=null!==(l=e.component)&&void 0!==l?l:e._loadedComponent)&&void 0!==a?a:null,e,$S(i),u,zS(e),u),consumedSegments:[],remainingSegments:[]})}else s=PS(i,e,r,t).pipe(z(({matched:c,consumedSegments:u,remainingSegments:d,parameters:h})=>{var g,_;if(!c)return null;const y=jS(i)+u.length;return{snapshot:new jh(u,h,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,US(e),ui(e),null!==(g=null!==(_=e.component)&&void 0!==_?_:e._loadedComponent)&&void 0!==g?g:null,e,$S(i),y,zS(e),y),consumedSegments:u,remainingSegments:d}}));return s.pipe(zn(c=>{var u,d;if(null===c)return q(null);const{snapshot:h,consumedSegments:g,remainingSegments:_}=c;t=null!==(u=e._injector)&&void 0!==u?u:t;const y=null!==(d=e._loadedInjector)&&void 0!==d?d:t,x=function $z(n){return n.children?n.children:n.loadChildren?n._loadedRoutes:[]}(e),{segmentGroup:C,slicedSegments:F}=Wh(i,g,_,x.filter(N=>void 0===N.redirectTo),this.relativeLinkResolution);if(0===F.length&&C.hasChildren())return this.processChildren(y,x,C).pipe(z(N=>null===N?null:[new Hr(h,N)]));if(0===x.length&&0===F.length)return q([new Hr(h,[])]);const A=ui(e)===o;return this.processSegment(y,x,C,F,A?ve:o).pipe(z(N=>null===N?null:[new Hr(h,N)]))}))}}function jz(n){const t=n.value.routeConfig;return t&&""===t.path&&void 0===t.redirectTo}function HS(n){const t=[],e=new Set;for(const i of n){if(!jz(i)){t.push(i);continue}const r=t.find(o=>i.value.routeConfig===o.value.routeConfig);void 0!==r?(r.children.push(...i.children),e.add(r)):t.push(i)}for(const i of e){const r=HS(i.children);t.push(new Hr(i.value,r))}return t.filter(i=>!e.has(i))}function $S(n){let t=n;for(;t._sourceSegment;)t=t._sourceSegment;return t}function jS(n){var t;let e=n,i=null!==(t=e._segmentIndexShift)&&void 0!==t?t:0;for(;e._sourceSegment;){var r;e=e._sourceSegment,i+=null!==(r=e._segmentIndexShift)&&void 0!==r?r:0}return i-1}function US(n){return n.data||{}}function zS(n){return n.resolve||{}}function WS(n){return"string"==typeof n.title||null===n.title}function sy(n){return zn(t=>{const e=n(t);return e?He(e).pipe(z(()=>t)):q(t)})}let qS=(()=>{class n{buildTitle(e){let i,r=e.root;for(;void 0!==r;){var o;i=null!==(o=this.getResolvedTitleForRoute(r))&&void 0!==o?o:i,r=r.children.find(s=>s.outlet===ve)}return i}getResolvedTitleForRoute(e){return e.data[Fc]}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=k({token:n,factory:function(){return Ue(YS)},providedIn:"root"}),n})(),YS=(()=>{class n extends qS{constructor(e){super(),this.title=e}updateTitle(e){const i=this.buildTitle(e);void 0!==i&&this.title.setTitle(i)}}return n.\u0275fac=function(e){return new(e||n)(b(tM))},n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class Kz{}class Xz extends class Zz{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}}{}const Zh=new P("",{providedIn:"root",factory:()=>({})}),ay=new P("ROUTES");let ly=(()=>{class n{constructor(e,i){this.injector=e,this.compiler=i,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return q(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);const i=vo(e.loadComponent()).pipe(ut(o=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=o}),Ph(()=>{this.componentLoaders.delete(e)})),r=new ZE(i,()=>new ce).pipe(L_());return this.componentLoaders.set(e,r),r}loadChildren(e,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return q({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);const o=this.loadModuleFactoryOrRoutes(i.loadChildren).pipe(z(a=>{this.onLoadEndListener&&this.onLoadEndListener(i);let l,c,u=!1;Array.isArray(a)?c=a:(l=a.create(e).injector,c=iS(l.get(ay,[],re.Self|re.Optional)));return{routes:c.map(ny),injector:l}}),Ph(()=>{this.childrenLoaders.delete(i)})),s=new ZE(o,()=>new ce).pipe(L_());return this.childrenLoaders.set(i,s),s}loadModuleFactoryOrRoutes(e){return vo(e()).pipe(st(i=>i instanceof q0||Array.isArray(i)?q(i):He(this.compiler.compileModuleAsync(i))))}}return n.\u0275fac=function(e){return new(e||n)(b(Nt),b(im))},n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class e5{}class t5{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}}function n5(n){throw n}function r5(n,t,e){return t.parse("/")}const o5={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},s5={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function KS(){var n,t;const e=Ue(uS),i=Ue(Hc),r=Ue(Wd),o=Ue(Nt),s=Ue(im),a=null!==(n=Ue(ay,{optional:!0}))&&void 0!==n?n:[],l=null!==(t=Ue(Zh,{optional:!0}))&&void 0!==t?t:{},c=Ue(YS),u=Ue(qS,{optional:!0}),d=Ue(e5,{optional:!0}),h=Ue(Kz,{optional:!0}),g=new Ot(null,e,i,r,o,s,iS(a));return d&&(g.urlHandlingStrategy=d),h&&(g.routeReuseStrategy=h),g.titleStrategy=u??c,function a5(n,t){n.errorHandler&&(t.errorHandler=n.errorHandler),n.malformedUriErrorHandler&&(t.malformedUriErrorHandler=n.malformedUriErrorHandler),n.onSameUrlNavigation&&(t.onSameUrlNavigation=n.onSameUrlNavigation),n.paramsInheritanceStrategy&&(t.paramsInheritanceStrategy=n.paramsInheritanceStrategy),n.relativeLinkResolution&&(t.relativeLinkResolution=n.relativeLinkResolution),n.urlUpdateStrategy&&(t.urlUpdateStrategy=n.urlUpdateStrategy),n.canceledNavigationResolution&&(t.canceledNavigationResolution=n.canceledNavigationResolution)}(l,g),g}let Ot=(()=>{class n{constructor(e,i,r,o,s,a,l){this.rootComponentType=e,this.urlSerializer=i,this.rootContexts=r,this.location=o,this.config=l,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new ce,this.errorHandler=n5,this.malformedUriErrorHandler=r5,this.navigated=!1,this.lastSuccessfulId=-1,this.afterPreactivation=()=>q(void 0),this.urlHandlingStrategy=new t5,this.routeReuseStrategy=new Xz,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.configLoader=s.get(ly),this.configLoader.onLoadEndListener=h=>this.triggerEvent(new $3(h)),this.configLoader.onLoadStartListener=h=>this.triggerEvent(new H3(h)),this.ngModule=s.get(Xo),this.console=s.get(wN);const d=s.get(de);this.isNgZoneEnabled=d instanceof de&&de.isInAngularZone(),this.resetConfig(l),this.currentUrlTree=function u3(){return new us(new xe([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=xS(this.currentUrlTree,this.rootComponentType),this.transitions=new jn({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){var e;return null===(e=this.location.getState())||void 0===e?void 0:e.\u0275routerPageId}setupNavigations(e){const i=this.events;return e.pipe(It(r=>0!==r.id),z(r=>({...r,extractedUrl:this.urlHandlingStrategy.extract(r.rawUrl)})),zn(r=>{let o=!1,s=!1;return q(r).pipe(ut(a=>{this.currentNavigation={id:a.id,initialUrl:a.rawUrl,extractedUrl:a.extractedUrl,trigger:a.source,extras:a.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),zn(a=>{const l=this.browserUrlTree.toString(),c=!this.navigated||a.extractedUrl.toString()!==l||l!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||c)&&this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return ZS(a.source)&&(this.browserUrlTree=a.extractedUrl),q(a).pipe(zn(d=>{const h=this.transitions.getValue();return i.next(new z_(d.id,this.serializeUrl(d.extractedUrl),d.source,d.restoredState)),h!==this.transitions.getValue()?Tn:Promise.resolve(d)}),function Pz(n,t,e,i){return zn(r=>function Rz(n,t,e,i,r){return new Oz(n,t,e,i,r).apply()}(n,t,e,r.extractedUrl,i).pipe(z(o=>({...r,urlAfterRedirects:o}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),ut(d=>{this.currentNavigation={...this.currentNavigation,finalUrl:d.urlAfterRedirects},r.urlAfterRedirects=d.urlAfterRedirects}),function Uz(n,t,e,i,r,o){return st(s=>function Vz(n,t,e,i,r,o,s="emptyOnly",a="legacy"){return new Bz(n,t,e,i,r,s,a,o).recognize().pipe(zn(l=>null===l?function Nz(n){return new Re(t=>t.error(n))}(new Lz):q(l)))}(n,t,e,s.urlAfterRedirects,i.serialize(s.urlAfterRedirects),i,r,o).pipe(z(a=>({...s,targetSnapshot:a}))))}(this.ngModule.injector,this.rootComponentType,this.config,this.urlSerializer,this.paramsInheritanceStrategy,this.relativeLinkResolution),ut(d=>{if(r.targetSnapshot=d.targetSnapshot,"eager"===this.urlUpdateStrategy){if(!d.extras.skipLocationChange){const g=this.urlHandlingStrategy.merge(d.urlAfterRedirects,d.rawUrl);this.setBrowserUrl(g,d)}this.browserUrlTree=d.urlAfterRedirects}const h=new P3(d.id,this.serializeUrl(d.extractedUrl),this.serializeUrl(d.urlAfterRedirects),d.targetSnapshot);i.next(h)}));if(c&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:h,extractedUrl:g,source:_,restoredState:y,extras:x}=a,C=new z_(h,this.serializeUrl(g),_,y);i.next(C);const F=xS(g,this.rootComponentType).snapshot;return q(r={...a,targetSnapshot:F,urlAfterRedirects:g,extras:{...x,skipLocationChange:!1,replaceUrl:!1}})}return this.rawUrlTree=a.rawUrl,a.resolve(null),Tn}),ut(a=>{const l=new L3(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(a.urlAfterRedirects),a.targetSnapshot);this.triggerEvent(l)}),z(a=>r={...a,guards:sz(a.targetSnapshot,a.currentSnapshot,this.rootContexts)}),function _z(n,t){return st(e=>{const{targetSnapshot:i,currentSnapshot:r,guards:{canActivateChecks:o,canDeactivateChecks:s}}=e;return 0===s.length&&0===o.length?q({...e,guardsResult:!0}):function yz(n,t,e,i){return He(n).pipe(st(r=>function Dz(n,t,e,i,r){const o=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return o&&0!==o.length?q(o.map(a=>{var l;const c=null!==(l=$c(t))&&void 0!==l?l:r,u=Za(a,c);return vo(function pz(n){return n&&Uc(n.canDeactivate)}(u)?u.canDeactivate(n,t,e,i):c.runInContext(()=>u(n,t,e,i))).pipe(yo())})).pipe(Xa()):q(!0)}(r.component,r.route,e,t,i)),yo(r=>!0!==r,!0))}(s,i,r,n).pipe(st(a=>a&&function uz(n){return"boolean"==typeof n}(a)?function vz(n,t,e,i){return He(t).pipe(ho(r=>Rh(function Cz(n,t){return null!==n&&t&&t(new j3(n)),q(!0)}(r.route.parent,i),function bz(n,t){return null!==n&&t&&t(new U3(n)),q(!0)}(r.route,i),function xz(n,t,e){const i=t[t.length-1],o=t.slice(0,t.length-1).reverse().map(s=>function az(n){const t=n.routeConfig?n.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:n,guards:t}:null}(s)).filter(s=>null!==s).map(s=>P_(()=>q(s.guards.map(l=>{var c;const u=null!==(c=$c(s.node))&&void 0!==c?c:e,d=Za(l,u);return vo(function fz(n){return n&&Uc(n.canActivateChild)}(d)?d.canActivateChild(i,n):u.runInContext(()=>d(i,n))).pipe(yo())})).pipe(Xa())));return q(o).pipe(Xa())}(n,r.path,e),function wz(n,t,e){const i=t.routeConfig?t.routeConfig.canActivate:null;if(!i||0===i.length)return q(!0);const r=i.map(o=>P_(()=>{var s;const a=null!==(s=$c(t))&&void 0!==s?s:e,l=Za(o,a);return vo(function hz(n){return n&&Uc(n.canActivate)}(l)?l.canActivate(t,n):a.runInContext(()=>l(t,n))).pipe(yo())}));return q(r).pipe(Xa())}(n,r.route,e))),yo(r=>!0!==r,!0))}(i,o,n,t):q(a)),z(a=>({...e,guardsResult:a})))})}(this.ngModule.injector,a=>this.triggerEvent(a)),ut(a=>{if(r.guardsResult=a.guardsResult,hs(a.guardsResult))throw SS(0,a.guardsResult);const l=new N3(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);this.triggerEvent(l)}),It(a=>!!a.guardsResult||(this.restoreHistory(a),this.cancelNavigationTransition(a,"",3),!1)),sy(a=>{if(a.guards.canActivateChecks.length)return q(a).pipe(ut(l=>{const c=new V3(l.id,this.serializeUrl(l.extractedUrl),this.serializeUrl(l.urlAfterRedirects),l.targetSnapshot);this.triggerEvent(c)}),zn(l=>{let c=!1;return q(l).pipe(function zz(n,t){return st(e=>{const{targetSnapshot:i,guards:{canActivateChecks:r}}=e;if(!r.length)return q(e);let o=0;return He(r).pipe(ho(s=>function Wz(n,t,e,i){const r=n.routeConfig,o=n._resolve;return void 0!==r?.title&&!WS(r)&&(o[Fc]=r.title),function qz(n,t,e,i){const r=function Yz(n){return[...Object.keys(n),...Object.getOwnPropertySymbols(n)]}(n);if(0===r.length)return q({});const o={};return He(r).pipe(st(s=>function Qz(n,t,e,i){var r;const o=null!==(r=$c(t))&&void 0!==r?r:i,s=Za(n,o);return vo(s.resolve?s.resolve(t,e):o.runInContext(()=>s(t,e)))}(n[s],t,e,i).pipe(yo(),ut(a=>{o[s]=a}))),N_(1),function s3(n){return z(()=>n)}(o),En(s=>iy(s)?Tn:_o(s)))}(o,n,t,i).pipe(z(s=>(n._resolvedData=s,n.data=DS(n,e).resolve,r&&WS(r)&&(n.data[Fc]=r.title),null)))}(s.route,i,n,t)),ut(()=>o++),N_(1),st(s=>o===r.length?q(e):Tn))})}(this.paramsInheritanceStrategy,this.ngModule.injector),ut({next:()=>c=!0,complete:()=>{c||(this.restoreHistory(l),this.cancelNavigationTransition(l,"",2))}}))}),ut(l=>{const c=new B3(l.id,this.serializeUrl(l.extractedUrl),this.serializeUrl(l.urlAfterRedirects),l.targetSnapshot);this.triggerEvent(c)}))}),sy(a=>{const l=c=>{var u;const d=[];null!==(u=c.routeConfig)&&void 0!==u&&u.loadComponent&&!c.routeConfig._loadedComponent&&d.push(this.configLoader.loadComponent(c.routeConfig).pipe(ut(h=>{c.component=h}),z(()=>{})));for(const h of c.children)d.push(...l(h));return d};return O_(l(a.targetSnapshot.root)).pipe(Oh(),Sn(1))}),sy(()=>this.afterPreactivation()),z(a=>{const l=function Q3(n,t,e){const i=Bc(n,t._root,e?e._root:void 0);return new wS(i,t)}(this.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);return r={...a,targetRouterState:l}}),ut(a=>{this.currentUrlTree=a.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(a.urlAfterRedirects,a.rawUrl),this.routerState=a.targetRouterState,"deferred"===this.urlUpdateStrategy&&(a.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,a),this.browserUrlTree=a.urlAfterRedirects)}),((n,t,e)=>z(i=>(new oz(t,i.targetRouterState,i.currentRouterState,e).activate(n),i)))(this.rootContexts,this.routeReuseStrategy,a=>this.triggerEvent(a)),ut({next(){o=!0},complete(){o=!0}}),Ph(()=>{var a;o||s||this.cancelNavigationTransition(r,"",1),(null===(a=this.currentNavigation)||void 0===a?void 0:a.id)===r.id&&(this.currentNavigation=null)}),En(a=>{if(s=!0,IS(a)){TS(a)||(this.navigated=!0,this.restoreHistory(r,!0));const c=new Vc(r.id,this.serializeUrl(r.extractedUrl),a.message,a.cancellationCode);if(i.next(c),TS(a)){const u=this.urlHandlingStrategy.merge(a.url,this.rawUrlTree),d={skipLocationChange:r.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||ZS(r.source)};this.scheduleNavigation(u,"imperative",null,d,{resolve:r.resolve,reject:r.reject,promise:r.promise})}else r.resolve(!1)}else{var l;this.restoreHistory(r,!0);const c=new W_(r.id,this.serializeUrl(r.extractedUrl),a,null!==(l=r.targetSnapshot)&&void 0!==l?l:void 0);i.next(c);try{r.resolve(this.errorHandler(a))}catch(u){r.reject(u)}}return Tn}))}))}resetRootComponentType(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType}setTransition(e){this.transitions.next({...this.transitions.value,...e})}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(e=>{const i="popstate"===e.type?"popstate":"hashchange";"popstate"===i&&setTimeout(()=>{var r;const o={replaceUrl:!0},s=null!==(r=e.state)&&void 0!==r&&r.navigationId?e.state:null;if(s){const l={...s};delete l.navigationId,delete l.\u0275routerPageId,0!==Object.keys(l).length&&(o.state=l)}const a=this.parseUrl(e.url);this.scheduleNavigation(a,i,s,o)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(e){this.events.next(e)}resetConfig(e){this.config=e.map(ny),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(e,i={}){const{relativeTo:r,queryParams:o,fragment:s,queryParamsHandling:a,preserveFragment:l}=i,c=r||this.routerState.root,u=l?this.currentUrlTree.fragment:s;let d=null;switch(a){case"merge":d={...this.currentUrlTree.queryParams,...o};break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=o||null}return null!==d&&(d=this.removeEmptyProps(d)),T3(c,this.currentUrlTree,e,d,u??null)}navigateByUrl(e,i={skipLocationChange:!1}){const r=hs(e)?e:this.parseUrl(e),o=this.urlHandlingStrategy.merge(r,this.rawUrlTree);return this.scheduleNavigation(o,"imperative",null,i)}navigate(e,i={skipLocationChange:!1}){return function l5(n){for(let t=0;t{const o=e[r];return null!=o&&(i[r]=o),i},{})}processNavigations(){this.navigations.subscribe(e=>{var i;this.navigated=!0,this.lastSuccessfulId=e.id,this.currentPageId=e.targetPageId,this.events.next(new Br(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,null===(i=this.titleStrategy)||void 0===i||i.updateTitle(this.routerState.snapshot),e.resolve(!0)},e=>{this.console.warn(`Unhandled Navigation Error: ${e}`)})}scheduleNavigation(e,i,r,o,s){if(this.disposed)return Promise.resolve(!1);let a,l,c;s?(a=s.resolve,l=s.reject,c=s.promise):c=new Promise((_,y)=>{a=_,l=y});const u=++this.navigationId;let d;if("computed"===this.canceledNavigationResolution)if(0===this.currentPageId&&(r=this.location.getState()),r&&r.\u0275routerPageId)d=r.\u0275routerPageId;else if(o.replaceUrl||o.skipLocationChange){var h;d=null!==(h=this.browserPageId)&&void 0!==h?h:0}else{var g;d=(null!==(g=this.browserPageId)&&void 0!==g?g:0)+1}else d=0;return this.setTransition({id:u,targetPageId:d,source:i,restoredState:r,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:o,resolve:a,reject:l,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(_=>Promise.reject(_))}setBrowserUrl(e,i){const r=this.urlSerializer.serialize(e),o={...i.extras.state,...this.generateNgRouterState(i.id,i.targetPageId)};this.location.isCurrentPathEqualTo(r)||i.extras.replaceUrl?this.location.replaceState(r,"",o):this.location.go(r,"",o)}restoreHistory(e,i=!1){if("computed"===this.canceledNavigationResolution){var r,o;const s=this.currentPageId-e.targetPageId;"popstate"!==e.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(r=this.currentNavigation)||void 0===r?void 0:r.finalUrl)||0===s?this.currentUrlTree===(null===(o=this.currentNavigation)||void 0===o?void 0:o.finalUrl)&&0===s&&(this.resetState(e),this.browserUrlTree=e.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(s)}else"replace"===this.canceledNavigationResolution&&(i&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=e.currentRouterState,this.currentUrlTree=e.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(e,i,r){const o=new Vc(e.id,this.serializeUrl(e.extractedUrl),i,r);this.triggerEvent(o),e.resolve(!1)}generateNgRouterState(e,i){return"computed"===this.canceledNavigationResolution?{navigationId:e,\u0275routerPageId:i}:{navigationId:e}}}return n.\u0275fac=function(e){qo()},n.\u0275prov=k({token:n,factory:function(){return KS()},providedIn:"root"}),n})();function ZS(n){return"imperative"!==n}class XS{}let d5=(()=>{class n{constructor(e,i,r,o,s){this.router=e,this.injector=r,this.preloadingStrategy=o,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe(It(e=>e instanceof Br),ho(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,i){const r=[];for(const l of i){var o,s;l.providers&&!l._injector&&(l._injector=Od(l.providers,e,`Route: ${l.path}`));const c=null!==(o=l._injector)&&void 0!==o?o:e,u=null!==(s=l._loadedInjector)&&void 0!==s?s:c;if(l.loadChildren&&!l._loadedRoutes&&void 0===l.canLoad||l.loadComponent&&!l._loadedComponent)r.push(this.preloadConfig(c,l));else if(l.children||l._loadedRoutes){var a;r.push(this.processRoutes(u,null!==(a=l.children)&&void 0!==a?a:l._loadedRoutes))}}return He(r).pipe(Qr())}preloadConfig(e,i){return this.preloadingStrategy.preload(i,()=>{let r;r=i.loadChildren&&void 0===i.canLoad?this.loader.loadChildren(e,i):q(null);const o=r.pipe(st(s=>{var a;return null===s?q(void 0):(i._loadedRoutes=s.routes,i._loadedInjector=s.injector,this.processRoutes(null!==(a=s.injector)&&void 0!==a?a:e,s.routes))}));return i.loadComponent&&!i._loadedComponent?He([o,this.loader.loadComponent(i)]).pipe(Qr()):o})}}return n.\u0275fac=function(e){return new(e||n)(b(Ot),b(im),b(oo),b(XS),b(ly))},n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const dy=new P("");let JS=(()=>{class n{constructor(e,i,r={}){this.router=e,this.viewportScroller=i,this.options=r,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},r.scrollPositionRestoration=r.scrollPositionRestoration||"disabled",r.anchorScrolling=r.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(e=>{e instanceof z_?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof Br&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.router.parseUrl(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(e=>{e instanceof bS&&(e.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,i){this.router.triggerEvent(new bS(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,i))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return n.\u0275fac=function(e){qo()},n.\u0275prov=k({token:n,factory:n.\u0275fac}),n})();function Ja(n,t){return{\u0275kind:n,\u0275providers:t}}function hy(n){return[{provide:ay,multi:!0,useValue:n}]}function tA(){const n=Ue(Nt);return t=>{var e,i;const r=n.get(Va);if(t!==r.components[0])return;const o=n.get(Ot),s=n.get(nA);1===n.get(fy)&&o.initialNavigation(),null===(e=n.get(iA,null,re.Optional))||void 0===e||e.setUpPreloading(),null===(i=n.get(dy,null,re.Optional))||void 0===i||i.init(),o.resetRootComponentType(r.componentTypes[0]),s.next(),s.complete()}}const nA=new P("",{factory:()=>new ce}),fy=new P("",{providedIn:"root",factory:()=>1});const iA=new P("");function g5(n){return Ja(0,[{provide:iA,useExisting:d5},{provide:XS,useExisting:n}])}const rA=new P("ROUTER_FORROOT_GUARD"),m5=[Wd,{provide:uS,useClass:B_},{provide:Ot,useFactory:KS},Hc,{provide:fs,useFactory:function eA(n){return n.routerState.root},deps:[Ot]},ly];function _5(){return new Gx("Router",Ot)}let y5=(()=>{class n{constructor(e){}static forRoot(e,i){return{ngModule:n,providers:[m5,[],hy(e),{provide:rA,useFactory:w5,deps:[[Ot,new ro,new ua]]},{provide:Zh,useValue:i||{}},null!=i&&i.useHash?{provide:ts,useClass:uV}:{provide:ts,useClass:fD},{provide:dy,useFactory:()=>{const n=Ue(Ot),t=Ue(CB),e=Ue(Zh);return e.scrollOffset&&t.setOffset(e.scrollOffset),new JS(n,t,e)}},null!=i&&i.preloadingStrategy?g5(i.preloadingStrategy).\u0275providers:[],{provide:Gx,multi:!0,useFactory:_5},null!=i&&i.initialNavigation?x5(i):[],[{provide:oA,useFactory:tA},{provide:nm,multi:!0,useExisting:oA}]]}}static forChild(e){return{ngModule:n,providers:[hy(e)]}}}return n.\u0275fac=function(e){return new(e||n)(b(rA,8))},n.\u0275mod=Z({type:n}),n.\u0275inj=K({imports:[ey]}),n})();function w5(n){return"guarded"}function x5(n){return["disabled"===n.initialNavigation?Ja(3,[{provide:Vd,multi:!0,useFactory:()=>{const t=Ue(Ot);return()=>{t.setUpLocationChangeListener()}}},{provide:fy,useValue:2}]).\u0275providers:[],"enabledBlocking"===n.initialNavigation?Ja(2,[{provide:fy,useValue:0},{provide:Vd,multi:!0,deps:[Nt],useFactory:t=>{const e=t.get(lV,Promise.resolve());let i=!1;return()=>e.then(()=>new Promise(o=>{const s=t.get(Ot),a=t.get(nA);(function r(o){t.get(Ot).events.pipe(It(a=>a instanceof Br||a instanceof Vc||a instanceof W_),z(a=>a instanceof Br||a instanceof Vc&&(0===a.code||1===a.code)&&null),It(a=>null!==a),Sn(1)).subscribe(()=>{o()})})(()=>{o(!0),i=!0}),s.afterPreactivation=()=>(o(!0),i||a.closed?q(void 0):a),s.initialNavigation()}))}}]).\u0275providers:[]]}const oA=new P("");let py=(()=>{class n{constructor(e,i,r){this.pageScrollService=e,this.router=i,this.pageScrollAdjustHash=!1,this.pageScrollFinish=new he,this.document=r}ngOnChanges(e){this.pageScrollInstance=void 0}ngOnDestroy(){this.pageScrollInstance&&this.pageScrollService.stop(this.pageScrollInstance)}getPageScrollTarget(){return this.pageScrollTarget||this.href||(this.fragment?"#"+this.fragment:"")}generatePageScrollInstance(){if(null==this.pageScrollInstance){const e={document:this.document,scrollTarget:this.getPageScrollTarget()};this.pageScroll&&(e.namespace=this.pageScroll),null!=this.pageScrollHorizontal&&(e.verticalScrolling=!this.pageScrollHorizontal),null!=this.pageScrollOffset&&(e.scrollOffset=this.pageScrollOffset),null!=this.pageScrollInterruptible&&(e.interruptible=this.pageScrollInterruptible),null!=this.pageScrollInView&&(e.scrollInView=this.pageScrollInView),this.pageScrollEasing&&(e.easingLogic=this.pageScrollEasing),null!=this.pageScrollDuration&&(e.duration=this.pageScrollDuration),null!=this.pageScrollSpeed&&(e.speed=this.pageScrollSpeed),this.pageScrollFinish&&(e.scrollFinishListener=this.pageScrollFinish),this.pageScrollInstance=this.pageScrollService.create(e)}return this.pageScrollInstance}pushRouterState(){this.pageScrollAdjustHash&&"string"==typeof this.pageScrollInstance.pageScrollOptions.scrollTarget&&"#"===this.pageScrollInstance.pageScrollOptions.scrollTarget.substr(0,1)&&this.router.navigate([],{fragment:this.pageScrollInstance.pageScrollOptions.scrollTarget.substr(1),queryParamsHandling:"preserve"})}scroll(){const e=this.generatePageScrollInstance();this.pushRouterState(),this.pageScrollService.start(e)}handleClick(e){if(this.routerLink&&null!=this.router){let i;if(i="string"==typeof this.routerLink?this.router.parseUrl(this.routerLink):this.router.createUrlTree(this.routerLink),!this.router.isActive(i,!0))return this.router.events.pipe(It(r=>r instanceof Br||r instanceof W_||r instanceof Vc),Sn(1)).subscribe(r=>{r instanceof Br&&setTimeout(()=>{this.scroll()},0)}),!1}return this.scroll(),!1}}return n.\u0275fac=function(e){return new(e||n)(f(F_),f(Ot,8),f(ae))},n.\u0275dir=T({type:n,selectors:[["","pageScroll",""]],hostBindings:function(e,i){1&e&&te("click",function(o){return i.handleClick(o)})},inputs:{routerLink:"routerLink",href:"href",fragment:"fragment",pageScrollTarget:"pageScrollTarget",pageScrollHorizontal:"pageScrollHorizontal",pageScrollOffset:"pageScrollOffset",pageScrollDuration:"pageScrollDuration",pageScrollSpeed:"pageScrollSpeed",pageScrollEasing:"pageScrollEasing",pageScrollInterruptible:"pageScrollInterruptible",pageScrollInView:"pageScrollInView",pageScrollAdjustHash:"pageScrollAdjustHash",pageScroll:"pageScroll"},outputs:{pageScrollFinish:"pageScrollFinish"},features:[nt]}),n})(),M5=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({imports:[qE]}),n})(),el=(()=>{class n{constructor(e){this.httpClient=e}getBrandValues(){return this.httpClient.get("./assets/json/values.json").pipe(En(this.handleError))}getCapabilities(){return this.httpClient.get("./assets/json/capabilities.json").pipe(En(this.handleError))}getCaseStudies(){return this.httpClient.get("./assets/json/case-studies.json").pipe(En(this.handleError))}getTeamMembers(){return this.httpClient.get("./assets/json/team-members.json").pipe(En(this.handleError))}handleError(e){return console.error(e),_o(e)}}return n.\u0275fac=function(e){return new(e||n)(b(Ha))},n.\u0275prov=k({token:n,factory:n.\u0275fac}),n})(),E5=(()=>{class n{constructor(){}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=pe({type:n,selectors:[["app-root"]],decls:2,vars:0,consts:[[1,"mat-typography"]],template:function(e,i){1&e&&(D(0,"div",0),Q(1,"router-outlet"),M())},dependencies:[J_]}),n})();const S5=nE([Pe({opacity:"{{ start }}",zIndex:"{{zIndex}}"}),Xt("{{ time }}",Pe({opacity:"{{ end }}"}))],{params:{time:"1000ms",start:0,end:1,zIndex:0}});function T5(n,t,e,i){return(n/=i/2)<1?e/2*n*n*n*n+t:-e/2*((n-=2)*n*n*n-2)+t}const Pi=[ir("fadeInOut",[Vt("void <=> *",iE(nE([Pe({opacity:"{{ start }}",zIndex:"{{zIndex}}"}),Xt("{{ time }}",Pe({opacity:"{{ end }}"}))],{params:{time:"1000ms",start:1,end:0,zIndex:0}}))),Vt("* <=> void",iE(S5))]),ir("scrollAnimation",[pn("show",Pe({opacity:1,zIndex:0})),pn("hide",Pe({opacity:0,zIndex:0})),Vt("show => hide",Xt("700ms ease-out")),Vt("hide => show",Xt("700ms ease-in"))])];function I5(n,t){if(1&n&&(D(0,"div",11),V(1),M()),2&n){const e=t.$implicit,i=Y().$implicit;(function l0(n,t,e,i,r,o,s){Si(Ln,Zi,xa(R(),n,t,e,i,r,o,s),!0)})("swatch bg-",i,"",e.suffix," text-",e.contrast,""),E(1),Td(" ",i,"",e.suffix," ")}}function k5(n,t){if(1&n&&(D(0,"div",9),H(1,I5,2,7,"div",10),M()),2&n){const e=Y();E(1),S("ngForOf",e.variants)}}let gy,F5=(()=>{class n{constructor(){this.hues=["gray","primary","accent","warning"],this.variants=[{suffix:"-light-4",contrast:"black"},{suffix:"-light-3",contrast:"black"},{suffix:"-light-2",contrast:"black"},{suffix:"-light-1",contrast:"black"},{suffix:"",contrast:"white"},{suffix:"-dark-1",contrast:"white"},{suffix:"-dark-2",contrast:"white"},{suffix:"-dark-3",contrast:"white"},{suffix:"-dark-4",contrast:"white"}]}ngOnInit(){}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=pe({type:n,selectors:[["app-style-guide"]],decls:32,vars:1,consts:[[1,"full-width-heading","bg-primary"],[1,"container"],["fxLayout","column","fxLayoutGap","10px"],["fxLayout","row","fxLayoutGap","0px",4,"ngFor","ngForOf"],[1,"full-width-heading","bg-accent"],[1,"mat-display-4"],[1,"mat-display-3"],[1,"mat-display-2"],[1,"mat-display-1"],["fxLayout","row","fxLayoutGap","0px"],["gdAlignRows","center center","gdAlignColumns","center center",3,"class",4,"ngFor","ngForOf"],["gdAlignRows","center center","gdAlignColumns","center center"]],template:function(e,i){1&e&&(D(0,"h1",0),V(1,"Color Palette"),M(),D(2,"div",1)(3,"div",2),H(4,k5,2,1,"div",3),M()(),D(5,"h1",4),V(6,"Typography"),M(),D(7,"div",1)(8,"h1",5),V(9,"Jumbo Heading 1 - mat-display-4"),M(),D(10,"h1",6),V(11,"Jumbo Heading 1 - mat-display-3"),M(),D(12,"h1",7),V(13,"Jumbo Heading 1 - mat-display-2"),M(),D(14,"h1",8),V(15,"Jumbo Heading 1 - mat-display-1"),M(),D(16,"h1"),V(17,"H1 - Heading 1 - mat-h1"),M(),D(18,"h2"),V(19,"H2 - Heading 2 - mat-h2"),M(),D(20,"h3"),V(21,"H3 - Heading 3 - mat-h3"),M(),D(22,"h4"),V(23,"H4 - Heading 4 - mat-h4"),M(),D(24,"h5"),V(25,"H5 - Heading 5 - mat-h5"),M(),D(26,"h6"),V(27,"H6 - Heading 6 - mat-h6"),M(),D(28,"p"),V(29,"Body 2"),M(),D(30,"p"),V(31,"Body 1"),M()()),2&e&&(E(4),S("ngForOf",i.hues))},dependencies:[oi,ai,ss,qM,n_],styles:['.swatch[_ngcontent-%COMP%]{width:160px;height:160px;font-size:12px;font-weight:500;text-transform:uppercase}.full-width-heading[_ngcontent-%COMP%]{width:100%;color:#fff;position:relative;height:4em;text-indent:2em;padding-top:2em}.full-width-heading[_ngcontent-%COMP%]:after{content:"";position:absolute;left:2em;bottom:2em;border-bottom:8px solid white;width:4em;height:4px}']}),n})();try{gy=typeof Intl<"u"&&Intl.v8BreakIterator}catch{gy=!1}let tl,Jt=(()=>{class n{constructor(e){this._platformId=e,this.isBrowser=this._platformId?tr(this._platformId):"object"==typeof document&&!!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&&!gy)&&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}}return n.\u0275fac=function(e){return new(e||n)(b($n))},n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const sA=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function aA(){if(tl)return tl;if("object"!=typeof document||!document)return tl=new Set(sA),tl;let n=document.createElement("input");return tl=new Set(sA.filter(t=>(n.setAttribute("type",t),n.type===t))),tl}let Wc,gs,my;function ps(n){return function R5(){if(null==Wc&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Wc=!0}))}finally{Wc=Wc||!1}return Wc}()?n:!!n.capture}function O5(){if(null==gs){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return gs=!1,gs;if("scrollBehavior"in document.documentElement.style)gs=!0;else{const n=Element.prototype.scrollTo;gs=!!n&&!/\{\s*\[native code\]\s*\}/.test(n.toString())}}return gs}function ms(n){return n.composedPath?n.composedPath()[0]:n.target}function _y(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function nl(n,...t){return t.length?t.some(e=>n[e]):n.altKey||n.shiftKey||n.ctrlKey||n.metaKey}class Y5 extends Ce{constructor(t,e){super()}schedule(t,e=0){return this}}const nf={setInterval(n,t,...e){const{delegate:i}=nf;return i?.setInterval?i.setInterval(n,t,...e):setInterval(n,t,...e)},clearInterval(n){const{delegate:t}=nf;return(t?.clearInterval||clearInterval)(n)},delegate:void 0};class wy extends Y5{constructor(t,e){super(t,e),this.scheduler=t,this.work=e,this.pending=!1}schedule(t,e=0){if(this.closed)return this;this.state=t;const i=this.id,r=this.scheduler;return null!=i&&(this.id=this.recycleAsyncId(r,i,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(r,this.id,e),this}requestAsyncId(t,e,i=0){return nf.setInterval(t.flush.bind(t,this),i)}recycleAsyncId(t,e,i=0){if(null!=i&&this.delay===i&&!1===this.pending)return e;nf.clearInterval(e)}execute(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(t,e);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,e){let r,i=!1;try{this.work(t)}catch(o){i=!0,r=o||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),r}unsubscribe(){if(!this.closed){const{id:t,scheduler:e}=this,{actions:i}=e;this.work=this.state=this.scheduler=null,this.pending=!1,ml(i,this),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null,super.unsubscribe()}}}const hA={now:()=>(hA.delegate||Date).now(),delegate:void 0};class qc{constructor(t,e=qc.now){this.schedulerActionCtor=t,this.now=e}schedule(t,e=0,i){return new this.schedulerActionCtor(this,t).schedule(i,e)}}qc.now=hA.now;class xy extends qc{constructor(t,e=qc.now){super(t,e),this.actions=[],this._active=!1,this._scheduled=void 0}flush(t){const{actions:e}=this;if(this._active)return void e.push(t);let i;this._active=!0;do{if(i=t.execute(t.state,t.delay))break}while(t=e.shift());if(this._active=!1,i){for(;t=e.shift();)t.unsubscribe();throw i}}}const Dy=new xy(wy),Q5=Dy;function rf(n,t=Dy){return qe((e,i)=>{let r=null,o=null,s=null;const a=()=>{if(r){r.unsubscribe(),r=null;const c=o;o=null,i.next(c)}};function l(){const c=s+n,u=t.now();if(u{o=c,s=t.now(),r||(r=t.schedule(l,n),i.add(r))},()=>{a(),i.complete()},void 0,()=>{o=r=null}))})}function fA(n){return It((t,e)=>n<=e)}function My(n,t=pi){return n=n??K5,qe((e,i)=>{let r,o=!0;e.subscribe(Ye(i,s=>{const a=t(s);(o||!n(r,a))&&(o=!1,r=a,i.next(s))}))})}function K5(n,t){return n===t}let pA=(()=>{class n{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Z5=(()=>{class n{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((e,i)=>this._cleanupObserver(i))}observe(e){const i=Or(e);return new Re(r=>{const s=this._observeElement(i).subscribe(r);return()=>{s.unsubscribe(),this._unobserveElement(i)}})}_observeElement(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{const i=new ce,r=this._mutationObserverFactory.create(o=>i.next(o));r&&r.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:r,stream:i,count:1})}return this._observedElements.get(e).stream}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){const{observer:i,stream:r}=this._observedElements.get(e);i&&i.disconnect(),r.complete(),this._observedElements.delete(e)}}}return n.\u0275fac=function(e){return new(e||n)(b(pA))},n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),gA=(()=>{class n{constructor(e,i,r){this._contentObserver=e,this._elementRef=i,this._ngZone=r,this.event=new he,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(e){this._disabled=Ae(e),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(e){this._debounce=po(e),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const e=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?e.pipe(rf(this.debounce)):e).subscribe(this.event)})}_unsubscribe(){var e;null===(e=this._currentSubscription)||void 0===e||e.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(f(Z5),f(j),f(de))},n.\u0275dir=T({type:n,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),n})(),sf=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({providers:[pA]}),n})();const mA=new Set;let il,X5=(()=>{class n{constructor(e){this._platform=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):e4}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&function J5(n){if(!mA.has(n))try{il||(il=document.createElement("style"),il.setAttribute("type","text/css"),document.head.appendChild(il)),il.sheet&&(il.sheet.insertRule(`@media ${n} {body{ }}`,0),mA.add(n))}catch(t){console.error(t)}}(e),this._matchMedia(e)}}return n.\u0275fac=function(e){return new(e||n)(b(Jt))},n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function e4(n){return{matches:"all"===n||""===n,media:n,addListener:()=>{},removeListener:()=>{}}}let _A=(()=>{class n{constructor(e,i){this._mediaMatcher=e,this._zone=i,this._queries=new Map,this._destroySubject=new ce}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return yA(fh(e)).some(r=>this._registerQuery(r).mql.matches)}observe(e){let o=O_(yA(fh(e)).map(s=>this._registerQuery(s).observable));return o=Rh(o.pipe(Sn(1)),o.pipe(fA(1),rf(0))),o.pipe(z(s=>{const a={matches:!1,breakpoints:{}};return s.forEach(({matches:l,query:c})=>{a.matches=a.matches||l,a.breakpoints[c]=l}),a}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);const i=this._mediaMatcher.matchMedia(e),o={observable:new Re(s=>{const a=l=>this._zone.run(()=>s.next(l));return i.addListener(a),()=>{i.removeListener(a)}}).pipe(Nr(i),z(({matches:s})=>({query:e,matches:s})),Ge(this._destroySubject)),mql:i};return this._queries.set(e,o),o}}return n.\u0275fac=function(e){return new(e||n)(b(X5),b(de))},n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function yA(n){return n.map(t=>t.split(",")).reduce((t,e)=>t.concat(e)).map(t=>t.trim())}function af(n,t){return(n.getAttribute(t)||"").match(/\S+/g)||[]}const bA="cdk-describedby-message",lf="cdk-describedby-host";let Ey=0,o4=(()=>{class n{constructor(e,i){this._platform=i,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+Ey++,this._document=e,this._id=Ue(Na)+"-"+Ey++}describe(e,i,r){if(!this._canBeDescribed(e,i))return;const o=Sy(i,r);"string"!=typeof i?(CA(i,this._id),this._messageRegistry.set(o,{messageElement:i,referenceCount:0})):this._messageRegistry.has(o)||this._createMessageElement(i,r),this._isElementDescribedByMessage(e,o)||this._addMessageReference(e,o)}removeDescription(e,i,r){var o;if(!i||!this._isElementNode(e))return;const s=Sy(i,r);if(this._isElementDescribedByMessage(e,s)&&this._removeMessageReference(e,s),"string"==typeof i){const a=this._messageRegistry.get(s);a&&0===a.referenceCount&&this._deleteMessageElement(s)}0===(null===(o=this._messagesContainer)||void 0===o?void 0:o.childNodes.length)&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){var e;const i=this._document.querySelectorAll(`[${lf}="${this._id}"]`);for(let r=0;r0!=r.indexOf(bA));e.setAttribute("aria-describedby",i.join(" "))}_addMessageReference(e,i){const r=this._messageRegistry.get(i);(function n4(n,t,e){const i=af(n,t);i.some(r=>r.trim()==e.trim())||(i.push(e.trim()),n.setAttribute(t,i.join(" ")))})(e,"aria-describedby",r.messageElement.id),e.setAttribute(lf,this._id),r.referenceCount++}_removeMessageReference(e,i){const r=this._messageRegistry.get(i);r.referenceCount--,function r4(n,t,e){const r=af(n,t).filter(o=>o!=e.trim());r.length?n.setAttribute(t,r.join(" ")):n.removeAttribute(t)}(e,"aria-describedby",r.messageElement.id),e.removeAttribute(lf)}_isElementDescribedByMessage(e,i){const r=af(e,"aria-describedby"),o=this._messageRegistry.get(i),s=o&&o.messageElement.id;return!!s&&-1!=r.indexOf(s)}_canBeDescribed(e,i){if(!this._isElementNode(e))return!1;if(i&&"object"==typeof i)return!0;const r=null==i?"":`${i}`.trim(),o=e.getAttribute("aria-label");return!(!r||o&&o.trim()===r)}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}}return n.\u0275fac=function(e){return new(e||n)(b(ae),b(Jt))},n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Sy(n,t){return"string"==typeof n?`${t||""}/${n}`:n}function CA(n,t){n.id||(n.id=`${bA}-${t}-${Ey++}`)}class a4 extends class s4{constructor(t){this._items=t,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new ce,this._typeaheadSubscription=Ce.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=e=>e.disabled,this._pressedLetters=[],this.tabOut=new ce,this.change=new ce,t instanceof fc&&t.changes.subscribe(e=>{if(this._activeItem){const r=e.toArray().indexOf(this._activeItem);r>-1&&r!==this._activeItemIndex&&(this._activeItemIndex=r)}})}skipPredicate(t){return this._skipPredicateFn=t,this}withWrap(t=!0){return this._wrap=t,this}withVerticalOrientation(t=!0){return this._vertical=t,this}withHorizontalOrientation(t){return this._horizontal=t,this}withAllowedModifierKeys(t){return this._allowedModifierKeys=t,this}withTypeAhead(t=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(ut(e=>this._pressedLetters.push(e)),rf(t),It(()=>this._pressedLetters.length>0),z(()=>this._pressedLetters.join(""))).subscribe(e=>{const i=this._getItemsArray();for(let r=1;r!t[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(e){case 9:return void this.tabOut.next();case 40:if(this._vertical&&r){this.setNextItemActive();break}return;case 38:if(this._vertical&&r){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&r){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&r){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&r){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&r){this.setLastItemActive();break}return;default:return void((r||nl(t,"shiftKey"))&&(t.key&&1===t.key.length?this._letterKeyStream.next(t.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))))}this._pressedLetters=[],t.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(t){const e=this._getItemsArray(),i="number"==typeof t?t:e.indexOf(t);this._activeItem=e[i]??null,this._activeItemIndex=i}_setActiveItemByDelta(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)}_setActiveInWrapMode(t){const e=this._getItemsArray();for(let i=1;i<=e.length;i++){const r=(this._activeItemIndex+t*i+e.length)%e.length;if(!this._skipPredicateFn(e[r]))return void this.setActiveItem(r)}}_setActiveInDefaultMode(t){this._setActiveItemByIndex(this._activeItemIndex+t,t)}_setActiveItemByIndex(t,e){const i=this._getItemsArray();if(i[t]){for(;this._skipPredicateFn(i[t]);)if(!i[t+=e])return;this.setActiveItem(t)}}_getItemsArray(){return this._items instanceof fc?this._items.toArray():this._items}}{setActiveItem(t){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(t),this.activeItem&&this.activeItem.setActiveStyles()}}function xA(n){return 0===n.buttons||0===n.offsetX&&0===n.offsetY}function DA(n){const t=n.touches&&n.touches[0]||n.changedTouches&&n.changedTouches[0];return!(!t||-1!==t.identifier||null!=t.radiusX&&1!==t.radiusX||null!=t.radiusY&&1!==t.radiusY)}const f4=new P("cdk-input-modality-detector-options"),p4={ignoreKeys:[18,17,224,91,16]},rl=ps({passive:!0,capture:!0});let g4=(()=>{class n{constructor(e,i,r,o){this._platform=e,this._mostRecentTarget=null,this._modality=new jn(null),this._lastTouchMs=0,this._onKeydown=s=>{var a,l;null!==(a=this._options)&&void 0!==a&&null!==(l=a.ignoreKeys)&&void 0!==l&&l.some(c=>c===s.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=ms(s))},this._onMousedown=s=>{Date.now()-this._lastTouchMs<650||(this._modality.next(xA(s)?"keyboard":"mouse"),this._mostRecentTarget=ms(s))},this._onTouchstart=s=>{DA(s)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=ms(s))},this._options={...p4,...o},this.modalityDetected=this._modality.pipe(fA(1)),this.modalityChanged=this.modalityDetected.pipe(My()),e.isBrowser&&i.runOutsideAngular(()=>{r.addEventListener("keydown",this._onKeydown,rl),r.addEventListener("mousedown",this._onMousedown,rl),r.addEventListener("touchstart",this._onTouchstart,rl)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,rl),document.removeEventListener("mousedown",this._onMousedown,rl),document.removeEventListener("touchstart",this._onTouchstart,rl))}}return n.\u0275fac=function(e){return new(e||n)(b(Jt),b(de),b(ae),b(f4,8))},n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const m4=new P("liveAnnouncerElement",{providedIn:"root",factory:function _4(){return null}}),y4=new P("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let v4=(()=>{class n{constructor(e,i,r,o){this._ngZone=i,this._defaultOptions=o,this._document=r,this._liveElement=e||this._createLiveElement()}announce(e,...i){const r=this._defaultOptions;let o,s;return 1===i.length&&"number"==typeof i[0]?s=i[0]:[o,s]=i,this.clear(),clearTimeout(this._previousTimeout),o||(o=r&&r.politeness?r.politeness:"polite"),null==s&&r&&(s=r.duration),this._liveElement.setAttribute("aria-live",o),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(a=>this._currentResolve=a)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,"number"==typeof s&&(this._previousTimeout=setTimeout(()=>this.clear(),s)),this._currentResolve(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){var e,i;clearTimeout(this._previousTimeout),null===(e=this._liveElement)||void 0===e||e.remove(),this._liveElement=null,null===(i=this._currentResolve)||void 0===i||i.call(this),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const e="cdk-live-announcer-element",i=this._document.getElementsByClassName(e),r=this._document.createElement("div");for(let o=0;o{class n{constructor(e,i,r,o,s){this._ngZone=e,this._platform=i,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 ce,this._rootNodeFocusAndBlurListener=a=>{for(let c=ms(a);c;c=c.parentElement)"focus"===a.type?this._onFocus(a,c):this._onBlur(a,c)},this._document=o,this._detectionMode=s?.detectionMode||0}monitor(e,i=!1){const r=Or(e);if(!this._platform.isBrowser||1!==r.nodeType)return q(null);const o=function L5(n){if(function P5(){if(null==my){const n=typeof document<"u"?document.head:null;my=!(!n||!n.createShadowRoot&&!n.attachShadow)}return my}()){const t=n.getRootNode?n.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}(r)||this._getDocument(),s=this._elementInfo.get(r);if(s)return i&&(s.checkChildren=!0),s.subject;const a={checkChildren:i,subject:new ce,rootNode:o};return this._elementInfo.set(r,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(e){const i=Or(e),r=this._elementInfo.get(i);r&&(r.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(r))}focusVia(e,i,r){const o=Or(e);o===this._getDocument().activeElement?this._getClosestElementsInfo(o).forEach(([a,l])=>this._originChanged(a,i,l)):(this._setOrigin(i),"function"==typeof o.focus&&o.focus(r))}ngOnDestroy(){this._elementInfo.forEach((e,i)=>this.stopMonitoring(i))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return 1===this._detectionMode||!(null==e||!e.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(e,i){e.classList.toggle("cdk-focused",!!i),e.classList.toggle("cdk-touch-focused","touch"===i),e.classList.toggle("cdk-keyboard-focused","keyboard"===i),e.classList.toggle("cdk-mouse-focused","mouse"===i),e.classList.toggle("cdk-program-focused","program"===i)}_setOrigin(e,i=!1){this._ngZone.runOutsideAngular(()=>{this._origin=e,this._originFromTouchInteraction="touch"===e&&i,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(e,i){const r=this._elementInfo.get(i),o=ms(e);!r||!r.checkChildren&&i!==o||this._originChanged(i,this._getFocusOrigin(o),r)}_onBlur(e,i){const r=this._elementInfo.get(i);!r||r.checkChildren&&e.relatedTarget instanceof Node&&i.contains(e.relatedTarget)||(this._setClasses(i),this._emitOrigin(r,null))}_emitOrigin(e,i){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(i))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;const i=e.rootNode,r=this._rootNodeFocusListenerCount.get(i)||0;r||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,cf),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,cf)}),this._rootNodeFocusListenerCount.set(i,r+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(Ge(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,!0)}))}_removeGlobalListeners(e){const i=e.rootNode;if(this._rootNodeFocusListenerCount.has(i)){const r=this._rootNodeFocusListenerCount.get(i);r>1?this._rootNodeFocusListenerCount.set(i,r-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,cf),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,cf),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,i,r){this._setClasses(e,i),this._emitOrigin(r,i),this._lastFocusOrigin=i}_getClosestElementsInfo(e){const i=[];return this._elementInfo.forEach((r,o)=>{(o===e||r.checkChildren&&o.contains(e))&&i.push([o,r])}),i}_isLastInteractionFromInputLabel(e){const{_mostRecentTarget:i,mostRecentModality:r}=this._inputModalityDetector;if("mouse"!==r||!i||i===e||"INPUT"!==e.nodeName&&"TEXTAREA"!==e.nodeName||e.disabled)return!1;const o=e.labels;if(o)for(let s=0;s{class n{constructor(e,i){this._platform=e,this._document=i,this._breakpointSubscription=Ue(_A).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);const i=this._document.defaultView||window,r=i&&i.getComputedStyle?i.getComputedStyle(e):null,o=(r&&r.backgroundColor||"").replace(/ /g,"");switch(e.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){const e=this._document.body.classList;e.remove(Ay,EA,SA),this._hasCheckedHighContrastMode=!0;const i=this.getHighContrastMode();1===i?e.add(Ay,EA):2===i&&e.add(Ay,SA)}}}return n.\u0275fac=function(e){return new(e||n)(b(Jt),b(ae))},n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),TA=(()=>{class n{constructor(e){e._applyBodyHighContrastModeCssClasses()}}return n.\u0275fac=function(e){return new(e||n)(b(AA))},n.\u0275mod=Z({type:n}),n.\u0275inj=K({imports:[sf]}),n})();const C4=["*",[["mat-option"],["ng-container"]]],w4=["*","mat-option, ng-container"];function x4(n,t){if(1&n&&Q(0,"mat-pseudo-checkbox",4),2&n){const e=Y();S("state",e.selected?"checked":"unchecked")("disabled",e.disabled)}}function D4(n,t){if(1&n&&(D(0,"span",5),V(1),M()),2&n){const e=Y();E(1),xn("(",e.group.label,")")}}const M4=["*"],S4=new P("mat-sanity-checks",{providedIn:"root",factory:function E4(){return!0}});let We=(()=>{class n{constructor(e,i,r){this._sanityChecks=i,this._document=r,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return!_y()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[e])}}return n.\u0275fac=function(e){return new(e||n)(b(AA),b(S4,8),b(ae))},n.\u0275mod=Z({type:n}),n.\u0275inj=K({imports:[Ga,Ga]}),n})();function uf(n){return class extends n{constructor(...t){super(...t),this._disabled=!1}get disabled(){return this._disabled}set disabled(t){this._disabled=Ae(t)}}}function df(n,t){return class extends n{constructor(...e){super(...e),this.defaultColor=t,this.color=t}get color(){return this._color}set color(e){const i=e||this.defaultColor;i!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),i&&this._elementRef.nativeElement.classList.add(`mat-${i}`),this._color=i)}}}function hf(n){return class extends n{constructor(...t){super(...t),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=Ae(t)}}}function Ty(n,t=0){return class extends n{constructor(...e){super(...e),this._tabIndex=t,this.defaultTabIndex=t}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(e){this._tabIndex=null!=e?po(e):this.defaultTabIndex}}}function FA(n){return class extends n{constructor(...t){super(...t),this.errorState=!1}updateErrorState(){const t=this.errorState,o=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);o!==t&&(this.errorState=o,this.stateChanges.next())}}}let Iy=(()=>{class n{isErrorState(e,i){return!!(e&&e.invalid&&(e.touched||i&&i.submitted))}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class T4{constructor(t,e,i,r=!1){this._renderer=t,this.element=e,this.config=i,this._animationForciblyDisabledThroughCss=r,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const RA={enterDuration:225,exitDuration:150},ky=ps({passive:!0}),OA=["mousedown","touchstart"],PA=["mouseup","mouseleave","touchend","touchcancel"];class k4{constructor(t,e,i,r){this._target=t,this._ngZone=e,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=Or(i))}fadeInRipple(t,e,i={}){const r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o={...RA,...i.animation};i.centered&&(t=r.left+r.width/2,e=r.top+r.height/2);const s=i.radius||function F4(n,t,e){const i=Math.max(Math.abs(n-e.left),Math.abs(n-e.right)),r=Math.max(Math.abs(t-e.top),Math.abs(t-e.bottom));return Math.sqrt(i*i+r*r)}(t,e,r),a=t-r.left,l=e-r.top,c=o.enterDuration,u=document.createElement("div");u.classList.add("mat-ripple-element"),u.style.left=a-s+"px",u.style.top=l-s+"px",u.style.height=2*s+"px",u.style.width=2*s+"px",null!=i.color&&(u.style.backgroundColor=i.color),u.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(u);const d=window.getComputedStyle(u),g=d.transitionDuration,_="none"===d.transitionProperty||"0s"===g||"0s, 0s"===g,y=new T4(this,u,i,_);u.style.transform="scale3d(1, 1, 1)",y.state=0,i.persistent||(this._mostRecentTransientRipple=y);let x=null;return!_&&(c||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const C=()=>this._finishRippleTransition(y),F=()=>this._destroyRipple(y);u.addEventListener("transitionend",C),u.addEventListener("transitioncancel",F),x={onTransitionEnd:C,onTransitionCancel:F}}),this._activeRipples.set(y,x),(_||!c)&&this._finishRippleTransition(y),y}fadeOutRipple(t){if(2===t.state||3===t.state)return;const e=t.element,i={...RA,...t.config.animation};e.style.transitionDuration=`${i.exitDuration}ms`,e.style.opacity="0",t.state=2,(t._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(t)}fadeOutAll(){this._getActiveRipples().forEach(t=>t.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(t=>{t.config.persistent||t.fadeOut()})}setupTriggerEvents(t){const e=Or(t);!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,this._registerEvents(OA))}handleEvent(t){"mousedown"===t.type?this._onMousedown(t):"touchstart"===t.type?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(PA),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(t){0===t.state?this._startFadeOutTransition(t):2===t.state&&this._destroyRipple(t)}_startFadeOutTransition(t){const e=t===this._mostRecentTransientRipple,{persistent:i}=t.config;t.state=1,!i&&(!e||!this._isPointerDown)&&t.fadeOut()}_destroyRipple(t){var e;const i=null!==(e=this._activeRipples.get(t))&&void 0!==e?e:null;this._activeRipples.delete(t),this._activeRipples.size||(this._containerRect=null),t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),t.state=3,null!==i&&(t.element.removeEventListener("transitionend",i.onTransitionEnd),t.element.removeEventListener("transitioncancel",i.onTransitionCancel)),t.element.remove()}_onMousedown(t){const e=xA(t),i=this._lastTouchStartEvent&&Date.now(){!t.config.persistent&&(1===t.state||t.config.terminateOnPointerUp&&0===t.state)&&t.fadeOut()}))}_registerEvents(t){this._ngZone.runOutsideAngular(()=>{t.forEach(e=>{this._triggerElement.addEventListener(e,this,ky)})})}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){this._triggerElement&&(OA.forEach(t=>{this._triggerElement.removeEventListener(t,this,ky)}),this._pointerUpEventsRegistered&&PA.forEach(t=>{this._triggerElement.removeEventListener(t,this,ky)}))}}const R4=new P("mat-ripple-global-options");let ys=(()=>{class n{constructor(e,i,r,o,s){this._elementRef=e,this._animationMode=s,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=o||{},this._rippleRenderer=new k4(this,i,e,r)}get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}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:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{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(e,i=0,r){return"number"==typeof e?this._rippleRenderer.fadeInRipple(e,i,{...this.rippleConfig,...r}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...e})}}return n.\u0275fac=function(e){return new(e||n)(f(j),f(de),f(Jt),f(R4,8),f(ni,8))},n.\u0275dir=T({type:n,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,i){2&e&&Ze("mat-ripple-unbounded",i.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"]}),n})(),ol=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({imports:[We,We]}),n})(),LA=(()=>{class n{constructor(e){this._animationMode=e,this.state="unchecked",this.disabled=!1}}return n.\u0275fac=function(e){return new(e||n)(f(ni,8))},n.\u0275cmp=pe({type:n,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(e,i){2&e&&Ze("mat-pseudo-checkbox-indeterminate","indeterminate"===i.state)("mat-pseudo-checkbox-checked","checked"===i.state)("mat-pseudo-checkbox-disabled",i.disabled)("_mat-animation-noopable","NoopAnimations"===i._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(e,i){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;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-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.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{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}'],encapsulation:2,changeDetection:0}),n})(),NA=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({imports:[We]}),n})();const Fy=new P("MAT_OPTION_PARENT_COMPONENT"),O4=uf(class{});let P4=0,L4=(()=>{class n extends O4{constructor(e){var i;super(),this._labelId="mat-optgroup-label-"+P4++,this._inert=null!==(i=e?.inertGroups)&&void 0!==i&&i}}return n.\u0275fac=function(e){return new(e||n)(f(Fy,8))},n.\u0275dir=T({type:n,inputs:{label:"label"},features:[O]}),n})();const Ry=new P("MatOptgroup");let N4=(()=>{class n extends L4{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=U(n)))(i||n)}}(),n.\u0275cmp=pe({type:n,selectors:[["mat-optgroup"]],hostAttrs:[1,"mat-optgroup"],hostVars:5,hostBindings:function(e,i){2&e&&(je("role",i._inert?null:"group")("aria-disabled",i._inert?null:i.disabled.toString())("aria-labelledby",i._inert?null:i._labelId),Ze("mat-optgroup-disabled",i.disabled))},inputs:{disabled:"disabled"},exportAs:["matOptgroup"],features:[Me([{provide:Ry,useExisting:n}]),O],ngContentSelectors:w4,decls:4,vars:2,consts:[["aria-hidden","true",1,"mat-optgroup-label",3,"id"]],template:function(e,i){1&e&&(Mi(C4),D(0,"span",0),V(1),_t(2),M(),_t(3,1)),2&e&&(S("id",i._labelId),E(1),xn("",i.label," "))},styles:[".mat-optgroup-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;-webkit-user-select:none;user-select:none;cursor:default}.mat-optgroup-label[disabled]{cursor:default}[dir=rtl] .mat-optgroup-label{text-align:right}.mat-optgroup-label .mat-icon{margin-right:16px;vertical-align:middle}.mat-optgroup-label .mat-icon svg{vertical-align:top}[dir=rtl] .mat-optgroup-label .mat-icon{margin-left:16px;margin-right:0}"],encapsulation:2,changeDetection:0}),n})(),V4=0;class B4{constructor(t,e=!1){this.source=t,this.isUserInput=e}}let H4=(()=>{class n{constructor(e,i,r,o){this._element=e,this._changeDetectorRef=i,this._parent=r,this.group=o,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+V4++,this.onSelectionChange=new he,this._stateChanges=new ce}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(e){this._disabled=Ae(e)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._getHostElement().textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(e,i){const r=this._getHostElement();"function"==typeof r.focus&&r.focus(i)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){(13===e.keyCode||32===e.keyCode)&&!nl(e)&&(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue=e,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new B4(this,e))}}return n.\u0275fac=function(e){qo()},n.\u0275dir=T({type:n,inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),n})(),VA=(()=>{class n extends H4{constructor(e,i,r,o){super(e,i,r,o)}}return n.\u0275fac=function(e){return new(e||n)(f(j),f(Dn),f(Fy,8),f(Ry,8))},n.\u0275cmp=pe({type:n,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(e,i){1&e&&te("click",function(){return i._selectViaInteraction()})("keydown",function(o){return i._handleKeydown(o)}),2&e&&(Ia("id",i.id),je("tabindex",i._getTabIndex())("aria-selected",i._getAriaSelected())("aria-disabled",i.disabled.toString()),Ze("mat-selected",i.selected)("mat-option-multiple",i.multiple)("mat-active",i.active)("mat-option-disabled",i.disabled))},exportAs:["matOption"],features:[O],ngContentSelectors:M4,decls:5,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(e,i){1&e&&(Mi(),H(0,x4,1,2,"mat-pseudo-checkbox",0),D(1,"span",1),_t(2),M(),H(3,D4,2,1,"span",2),Q(4,"div",3)),2&e&&(S("ngIf",i.multiple),E(3),S("ngIf",i.group&&i.group._inert),E(1),S("matRippleTrigger",i._getHostElement())("matRippleDisabled",i.disabled||i.disableRipple))},dependencies:[ys,si,LA],styles:['.mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.mat-option.mat-active::before{content:""}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.cdk-high-contrast-active .mat-option.mat-selected:not(.mat-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-option.mat-selected:not(.mat-option-multiple)::after{right:auto;left:16px}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}'],encapsulation:2,changeDetection:0}),n})();function BA(n,t,e){if(e.length){let i=t.toArray(),r=e.toArray(),o=0;for(let s=0;s{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({imports:[ol,fn,We,NA]}),n})();const $A=["mat-button",""],jA=["*"],U4=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],z4=df(uf(hf(class{constructor(n){this._elementRef=n}})));let Oy=(()=>{class n extends z4{constructor(e,i,r){super(e),this._focusMonitor=i,this._animationMode=r,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const o of U4)this._hasHostAttributes(o)&&this._getHostElement().classList.add(o);e.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color="accent")}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(e,i){e?this._focusMonitor.focusVia(this._getHostElement(),e,i):this._getHostElement().focus(i)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...e){return e.some(i=>this._getHostElement().hasAttribute(i))}}return n.\u0275fac=function(e){return new(e||n)(f(j),f(_s),f(ni,8))},n.\u0275cmp=pe({type:n,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(e,i){if(1&e&&et(ys,5),2&e){let r;_e(r=ye())&&(i.ripple=r.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(e,i){2&e&&(je("disabled",i.disabled||null),Ze("_mat-animation-noopable","NoopAnimations"===i._animationMode)("mat-button-disabled",i.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[O],attrs:$A,ngContentSelectors:jA,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(e,i){1&e&&(Mi(),D(0,"span",0),_t(1),M(),Q(2,"span",1)(3,"span",2)),2&e&&(E(2),Ze("mat-button-ripple-round",i.isRoundButton||i.isIconButton),S("matRippleDisabled",i._isRippleDisabled())("matRippleCentered",i.isIconButton)("matRippleTrigger",i._getHostElement()))},dependencies:[ys],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}.mat-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.mat-flat-button::before,.mat-raised-button::before,.mat-fab::before,.mat-mini-fab::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-stroked-button::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1)}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}"],encapsulation:2,changeDetection:0}),n})(),Qc=(()=>{class n extends Oy{constructor(e,i,r,o){super(i,e,r),this._ngZone=o,this._haltDisabledEvents=s=>{this.disabled&&(s.preventDefault(),s.stopImmediatePropagation())}}ngAfterViewInit(){super.ngAfterViewInit(),this._ngZone?this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)}):this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}}return n.\u0275fac=function(e){return new(e||n)(f(_s),f(j),f(ni,8),f(de,8))},n.\u0275cmp=pe({type:n,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-icon-button",""],["a","mat-fab",""],["a","mat-mini-fab",""],["a","mat-stroked-button",""],["a","mat-flat-button",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:7,hostBindings:function(e,i){2&e&&(je("tabindex",i.disabled?-1:i.tabIndex)("disabled",i.disabled||null)("aria-disabled",i.disabled.toString()),Ze("_mat-animation-noopable","NoopAnimations"===i._animationMode)("mat-button-disabled",i.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[O],attrs:$A,ngContentSelectors:jA,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(e,i){1&e&&(Mi(),D(0,"span",0),_t(1),M(),Q(2,"span",1)(3,"span",2)),2&e&&(E(2),Ze("mat-button-ripple-round",i.isRoundButton||i.isIconButton),S("matRippleDisabled",i._isRippleDisabled())("matRippleCentered",i.isIconButton)("matRippleTrigger",i._getHostElement()))},dependencies:[ys],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}.mat-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.mat-flat-button::before,.mat-raised-button::before,.mat-fab::before,.mat-mini-fab::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-stroked-button::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1)}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}"],encapsulation:2,changeDetection:0}),n})(),W4=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({imports:[ol,We,We]}),n})(),q4=(()=>{class n{constructor(){}ngOnInit(){}scrollDown(){const e=window.innerHeight;window.scroll({top:e,behavior:"smooth"})}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=pe({type:n,selectors:[["app-header"]],decls:6,vars:3,consts:[["fxLayout","column","fxLayoutAlign","center center",1,"full-screen"],["src","assets/logo/Sartography-Logo-Vertical-Color.png",1,"half-height"],["mat-button","","pageScroll","","href","#welcome","fxLayout","column","fxLayoutAlign","center center",1,"explore","mat-subheading-2","text-uppercase",3,"pageScrollAdjustHash"],[1,"chevron-down",3,"inlineSVG"]],template:function(e,i){1&e&&(D(0,"div",0),Q(1,"img",1),D(2,"a",2),V(3," Explore"),Q(4,"br")(5,"span",3),M()()),2&e&&(E(1),S("@fadeInOut",void 0),E(1),S("pageScrollAdjustHash",!0),E(3),S("inlineSVG","/assets/icons/chevron_down.svg"))},dependencies:[ai,Oi,Wa,Qc,py],styles:["a.explore[_ngcontent-%COMP%]{height:200px;width:200px;border-radius:100%;padding-top:40px} .chevron-down svg{width:168px;height:84px} .chevron-down svg path{stroke-width:4px;stroke:#d5d0d1;fill:transparent}"],data:{animation:[ir("fadeInOut",[pn("void",Pe({opacity:0})),pn("*",Pe({opacity:100})),Vt("void <=> *",Xt("1000ms ease-in"))])]}}),n})();const Kc=(n,t,e)=>{const i=n%2==0;return t&&e?i?t:e:i},sr=n=>{const t=.75*window.innerHeight;return window.pageYOffset+t>=n.nativeElement.offsetTop?"show":"hide"};let Y4=(()=>{class n{constructor(e){this.el=e,this.state="hide"}ngOnInit(){}checkScroll(){this.state=sr(this.el)}}return n.\u0275fac=function(e){return new(e||n)(f(j))},n.\u0275cmp=pe({type:n,selectors:[["app-welcome"]],hostBindings:function(e,i){1&e&&te("scroll",function(o){return i.checkScroll(o)},0,Jn)},decls:15,vars:2,consts:[["fxLayout","column","fxLayout.gt-md","row","fxLayoutAlign","space-between center",1,"gradient-overlay-section"],["fxFlex.gt-md","50%",1,"container","pad-left-8","z-10"],["fxLayout","column","fxLayoutAlign","center start","fxLayoutAlign.gt-md","start start"],[1,"text-align-left"],[1,"mat-display-3"],[1,"mat-display-4"],[1,"mat-subheading-2","pad-top-2","pad-bottom-2"],["mat-flat-button","","color","primary","pageScroll","","href","#contact_us"],["fxFlex.gt-md","50%",1,"bg-welcome"],["fxShow","","fxHide.gt-md","",1,"bg-welcome-xs"]],template:function(e,i){1&e&&(D(0,"div",0)(1,"div",1)(2,"div",2)(3,"h1",3)(4,"span",4),V(5,"Welcome to"),M(),Q(6,"br"),D(7,"span",5),V(8,"Sartography"),M()(),D(9,"p",6),V(10," Building transparency, empathy, and understanding through business process automation. "),M(),D(11,"a",7),V(12,"Get Started"),M()()(),Q(13,"div",8),M(),Q(14,"div",9)),2&e&&(E(13),S("@scrollAnimation",i.state),E(1),S("@scrollAnimation",i.state))},dependencies:[ai,Oi,Ua,rs,Qc,py],styles:[".bg-welcome[_ngcontent-%COMP%]{z-index:0;width:100%;background-color:#fff;background-image:url(/assets/images/welcome2.jpg);background-size:cover;background-position:center right}@media screen and (max-width: 599px){.bg-welcome[_ngcontent-%COMP%]{background-image:none}}@media screen and (min-width: 600px) and (max-width: 959px){.bg-welcome[_ngcontent-%COMP%]{background-image:none}}@media screen and (min-width: 960px) and (max-width: 1279px){.bg-welcome[_ngcontent-%COMP%]{background-image:none}}@media screen and (min-width: 1280px) and (max-width: 1919px){.bg-welcome[_ngcontent-%COMP%]{height:100vh}}@media screen and (min-width: 1920px) and (max-width: 5000px){.bg-welcome[_ngcontent-%COMP%]{height:100vh}}.color-tile[_ngcontent-%COMP%]{height:72px;width:72px;margin:10px}.bg-welcome-xs[_ngcontent-%COMP%]{background-image:url(/assets/images/welcome2.jpg);background-size:cover;background-repeat:no-repeat;background-position:75% 75%;min-height:75vh;min-width:100vw}"],data:{animation:Pi}}),n})();function Q4(n,t){if(1&n&&(Bn(0),D(1,"h3"),V(2),M(),D(3,"p"),V(4),M(),Hn()),2&n){const e=Y();E(2),Ne(e.capability.title),E(2),Ne(e.capability.description)}}function K4(n,t){1&n&&Q(0,"span",9),2&n&&S("inlineSVG",Y().capability.icon_url)}function Z4(n,t){1&n&&Q(0,"span",9),2&n&&S("inlineSVG",Y().capability.icon_url)}function X4(n,t){if(1&n&&(Bn(0),D(1,"h3"),V(2),M(),D(3,"p"),V(4),M(),Hn()),2&n){const e=Y();E(2),Ne(e.capability.title),E(2),Ne(e.capability.description)}}const J4=function(n,t,e,i,r){return{capability:!0,even:n,odd:t,"first-row":e,"last-row":i,"second-to-last-row":r}};let e8=(()=>{class n{constructor(e){this.el=e,this.state="hide",this.isEven=Kc}ngOnInit(){}checkScroll(){this.state=sr(this.el)}}return n.\u0275fac=function(e){return new(e||n)(f(j))},n.\u0275cmp=pe({type:n,selectors:[["app-capability-details"]],hostBindings:function(e,i){1&e&&te("scroll",function(o){return i.checkScroll(o)},0,Jn)},inputs:{capability:"capability",index:"index",numTotal:"numTotal"},decls:17,vars:20,consts:[["fxHide","","fxShow.gt-md","","gdColumns.gt-md","3fr 1fr 1fr 3fr",3,"ngClass"],["fxShow.gt-md","",1,"details-left",3,"fxHide"],[4,"ngIf"],["fxShow.gt-md","",1,"icon-left",3,"fxHide"],["class","capability-icon",3,"inlineSVG",4,"ngIf"],["fxShow.gt-md","",1,"icon-right",3,"fxHide"],["fxShow.gt-md","",1,"details-right",3,"fxHide"],["fxShow","","fxHide.gt-md","","fxLayout","column","fxLayoutAlign","center center",1,"capability-sm"],[1,"icon"],[1,"capability-icon",3,"inlineSVG"],[1,"details"]],template:function(e,i){1&e&&(D(0,"div",0)(1,"div",1),H(2,Q4,5,2,"ng-container",2),M(),D(3,"div",3),H(4,K4,1,1,"span",4),M(),D(5,"div",5),H(6,Z4,1,1,"span",4),M(),D(7,"div",6),H(8,X4,5,2,"ng-container",2),M()(),D(9,"div",7)(10,"div",8),Q(11,"span",9),M(),D(12,"div",10)(13,"h3"),V(14),M(),D(15,"p"),V(16),M()()()),2&e&&(S("ngClass",ix(14,J4,i.isEven(i.index),!i.isEven(i.index),0===i.index,i.index+1===i.numTotal,i.index+2===i.numTotal))("@scrollAnimation",i.state),E(1),S("fxHide",!i.isEven(i.index)),E(1),S("ngIf",i.isEven(i.index)),E(1),S("fxHide",!i.isEven(i.index)),E(1),S("ngIf",i.isEven(i.index)),E(1),S("fxHide",i.isEven(i.index)),E(1),S("ngIf",!i.isEven(i.index)),E(1),S("fxHide",i.isEven(i.index)),E(1),S("ngIf",!i.isEven(i.index)),E(1),S("@scrollAnimation",i.state),E(2),S("inlineSVG",i.capability.icon_url),E(3),Ne(i.capability.title),E(2),Ne(i.capability.description))},dependencies:[ns,si,ai,Oi,rs,Jm,ZM,Wa],styles:['.capability-sm[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px;margin-bottom:2em}.capability-sm[_ngcontent-%COMP%] .capability-icon svg{width:128px;height:128px;margin-bottom:-1em}.capability-sm[_ngcontent-%COMP%] .capability-icon svg path{fill:#34b09b}.capability-sm[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{color:#5ccfbb}.capability-sm[_ngcontent-%COMP%] .details[_ngcontent-%COMP%]{color:#fff}@media screen and (min-width: 1280px){.capability[_ngcontent-%COMP%] .capability-icon svg{margin-top:-52px;width:128px;height:128px}.capability[_ngcontent-%COMP%] .capability-icon svg path{fill:#34b09b}.capability[_ngcontent-%COMP%] .icon-left[_ngcontent-%COMP%], .capability[_ngcontent-%COMP%] .icon-right[_ngcontent-%COMP%]{position:relative;background-color:transparent;text-align:center;min-width:128px}.capability[_ngcontent-%COMP%] .icon-left[_ngcontent-%COMP%]:after, .capability[_ngcontent-%COMP%] .icon-right[_ngcontent-%COMP%]:after{position:absolute;left:50%;content:"";width:2px}.capability[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{color:#5ccfbb}.capability[_ngcontent-%COMP%] .details-left[_ngcontent-%COMP%]{padding-left:80px;color:#fff}.capability[_ngcontent-%COMP%] .details-right[_ngcontent-%COMP%]{padding-right:80px;color:#fff}.capability.even[_ngcontent-%COMP%]{text-align:right}.capability.even[_ngcontent-%COMP%] .details-left[_ngcontent-%COMP%]{background-color:transparent;color:#231f20}.capability.even[_ngcontent-%COMP%] .details-left[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{color:#1d6256}.capability.even[_ngcontent-%COMP%] .icon-left[_ngcontent-%COMP%] .capability-icon svg path{fill:#247a6b}.capability.even[_ngcontent-%COMP%] .icon-left[_ngcontent-%COMP%]:after{bottom:0;height:calc(100% - 64px);background-color:#aca1a4}.capability.even[_ngcontent-%COMP%] .icon-right[_ngcontent-%COMP%]{background-color:#231f20}.capability.even[_ngcontent-%COMP%] .icon-right[_ngcontent-%COMP%]:after{top:0;height:calc(100% - 40px);background-color:#52494b}.capability.even[_ngcontent-%COMP%] .details-right[_ngcontent-%COMP%]{background-color:#231f20}.capability.even.first-row[_ngcontent-%COMP%] .icon-right[_ngcontent-%COMP%]:after{background-color:transparent}.capability.even.last-row[_ngcontent-%COMP%] .icon-left[_ngcontent-%COMP%]:after, .capability.even.second-to-last-row[_ngcontent-%COMP%] .icon-left[_ngcontent-%COMP%]:after{background-color:transparent}.capability.odd[_ngcontent-%COMP%]{text-align:left}.capability.odd[_ngcontent-%COMP%] .details-left[_ngcontent-%COMP%]{background-color:transparent}.capability.odd[_ngcontent-%COMP%] .icon-left[_ngcontent-%COMP%]:after{top:0;height:calc(100% - 40px);background-color:#aca1a4}.capability.odd[_ngcontent-%COMP%] .icon-right[_ngcontent-%COMP%]{background-color:#231f20}.capability.odd[_ngcontent-%COMP%] .icon-right[_ngcontent-%COMP%] .capability-icon svg path{fill:#34b09b}.capability.odd[_ngcontent-%COMP%] .icon-right[_ngcontent-%COMP%]:after{bottom:0;height:calc(100% - 64px);background-color:#52494b}.capability.odd[_ngcontent-%COMP%] .details-right[_ngcontent-%COMP%]{background-color:#231f20;color:#fff}.capability.odd[_ngcontent-%COMP%] .details-right[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{color:#5ccfbb}.capability.odd.last-row[_ngcontent-%COMP%] .icon-right[_ngcontent-%COMP%]:after{background-color:transparent}.capability.odd.last-row[_ngcontent-%COMP%] .icon-left[_ngcontent-%COMP%]:after{background-color:transparent}}'],data:{animation:Pi}}),n})();function t8(n,t){if(1&n&&Q(0,"app-capability-details",9),2&n){const e=t.$implicit,i=t.index,r=Y();S("capability",e)("index",i)("numTotal",r.capabilities.length)}}let n8=(()=>{class n{constructor(e,i){this.api=e,this.el=i,this.state="hide",this.api.getCapabilities().subscribe(r=>this.capabilities=r)}ngOnInit(){}checkScroll(){this.state=sr(this.el)}}return n.\u0275fac=function(e){return new(e||n)(f(el),f(j))},n.\u0275cmp=pe({type:n,selectors:[["app-about-us"]],hostBindings:function(e,i){1&e&&te("scroll",function(o){return i.checkScroll(o)},0,Jn)},decls:11,vars:1,consts:[["fxLayout","column","fxLayoutAlign","start start",1,"about-us"],[1,"title"],[1,"mat-display-1"],[1,"mat-display-3"],["fxLayout","column","fxLayout.gt-lg","row"],["fxHide","","fxShow.gt-lg","","fxFlex.xl","33.333%"],["fxFlex.xl","66.667%","fxLayout","column",1,"capabilities"],[3,"capability","index","numTotal",4,"ngFor","ngForOf"],["fxShow","","fxHide.gt-md","",1,"bg-about-us"],[3,"capability","index","numTotal"]],template:function(e,i){1&e&&(D(0,"div",0)(1,"div",1)(2,"h1",2),V(3,"About Us"),M(),D(4,"h2",3),V(5,"What We Do"),M()(),D(6,"div",4),Q(7,"div",5),D(8,"div",6),H(9,t8,1,3,"app-capability-details",7),M()()(),Q(10,"div",8)),2&e&&(E(9),S("ngForOf",i.capabilities))},dependencies:[oi,ai,Oi,Ua,rs,e8],styles:['.about-us[_ngcontent-%COMP%]{position:relative;background-color:#231f20;background-image:url(/assets/images/about-us.jpg);background-size:cover;background-repeat:no-repeat;min-height:1600px;min-width:100vw}@media screen and (max-width: 599px){.about-us[_ngcontent-%COMP%]{background-image:none}}@media screen and (min-width: 600px) and (max-width: 959px){.about-us[_ngcontent-%COMP%]{background-image:none;padding-left:10%;padding-right:10%}}@media screen and (min-width: 960px) and (max-width: 1279px){.about-us[_ngcontent-%COMP%]{background-image:none;padding-left:20%;padding-right:20%}}@media screen and (min-width: 1280px) and (max-width: 1919px){.about-us[_ngcontent-%COMP%]{background-position:50% 80%}}@media screen and (min-width: 1920px) and (max-width: 5000px){.about-us[_ngcontent-%COMP%]{background-position:90% 90%}}.about-us[_ngcontent-%COMP%]:before{position:absolute;content:"";background-color:#231f20;height:100%;right:0;top:0;z-index:0}@media screen and (max-width: 1279px){.about-us[_ngcontent-%COMP%]:before{width:100%}}@media screen and (min-width: 1280px) and (max-width: 1919px){.about-us[_ngcontent-%COMP%]:before{width:50%}}@media screen and (min-width: 1920px) and (max-width: 5000px){.about-us[_ngcontent-%COMP%]:before{width:33.333%}}@media screen and (min-width: 1280px) and (max-width: 1919px){.about-us[_ngcontent-%COMP%]:after{position:absolute;content:"";height:100%;left:0;top:0;z-index:0;width:50%}}.about-us[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{z-index:1;margin-top:80px;margin-left:80px}@media screen and (max-width: 1279px){.about-us[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{margin-left:20px;margin-right:20px}}.about-us[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{color:#247a6b;margin-bottom:0}@media screen and (max-width: 1279px){.about-us[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{color:#5ccfbb}}.about-us[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#231f20}@media screen and (max-width: 1279px){.about-us[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#fff}}.about-us[_ngcontent-%COMP%] .capabilities[_ngcontent-%COMP%]{padding-bottom:4em;z-index:1}.bg-about-us[_ngcontent-%COMP%]{background-image:url(/assets/images/bg-about-us.jpg);background-size:cover;background-repeat:no-repeat;background-position:75% 75%;min-height:75vh;min-width:100vw}'],data:{animation:Pi}}),n})(),i8=(()=>{class n{constructor(e){this.el=e,this.state="hide"}ngOnInit(){}highlight(e,i){const r=document.getElementById(e);r&&(i?r.classList.add("highlight"):r.classList.remove("highlight"))}checkScroll(){this.state=sr(this.el)}}return n.\u0275fac=function(e){return new(e||n)(f(j))},n.\u0275cmp=pe({type:n,selectors:[["app-brand-value"]],hostBindings:function(e,i){1&e&&te("scroll",function(o){return i.checkScroll(o)},0,Jn)},inputs:{brandValue:"brandValue"},decls:6,vars:4,consts:[["gdRows","auto auto auto","gdGridAlign","center center","gdAlignRows","center center",1,"value",3,"mouseover","mouseout"],[1,"logo-element",3,"inlineSVG"],[1,"mat-caption"]],template:function(e,i){1&e&&(D(0,"div",0),te("mouseover",function(){return i.highlight(i.brandValue.id,!0)})("mouseout",function(){return i.highlight(i.brandValue.id,!1)}),Q(1,"span",1),D(2,"h3"),V(3),M(),D(4,"p",2),V(5),M()()),2&e&&(S("@scrollAnimation",i.state),E(1),ti("inlineSVG",i.brandValue.icon_url),E(2),Ne(i.brandValue.title),E(2),Ne(i.brandValue.description))},dependencies:[t_,n_,i_,Wa],styles:[".logo-element[_ngcontent-%COMP%] svg{width:64px;height:64px}.value[_ngcontent-%COMP%]{margin-bottom:2em}"],data:{animation:Pi}}),n})();function r8(n,t){1&n&&Q(0,"app-brand-value",7),2&n&&S("brandValue",t.$implicit)}function o8(n,t){1&n&&Q(0,"app-brand-value",7),2&n&&S("brandValue",t.$implicit)}let s8=(()=>{class n{constructor(e,i){this.el=e,this.api=i,this.state="hide",this.api.getBrandValues().subscribe(r=>{const o=Math.floor(r.length/2);this.brandValuesLeft=r.slice(0,o),this.brandValuesRight=r.slice(o)})}ngOnInit(){}checkScroll(){this.state=sr(this.el)}}return n.\u0275fac=function(e){return new(e||n)(f(j),f(el))},n.\u0275cmp=pe({type:n,selectors:[["app-logo-values"]],hostBindings:function(e,i){1&e&&te("scroll",function(o){return i.checkScroll(o)},0,Jn)},decls:11,vars:3,consts:[[1,"logo-values"],[1,"margin-bottom-3"],["fxLayout","column","fxLayout.gt-md","row","fxLayoutAlign","start start","fxLayoutGap","0px","fxLayoutGap.gt-md","80px"],["fxFlex","33%","gdRows","auto","gdGridAlign","stretch stretch"],[3,"brandValue",4,"ngFor","ngForOf"],["fxFlex","33%","fxHide","","fxShow.gt-md",""],["inlineSVG","/assets/logo/Sartography-Logo-Elements.svg",1,"logo-animated"],[3,"brandValue"]],template:function(e,i){1&e&&(D(0,"div",0)(1,"div",1)(2,"h1"),V(3,"Our Values"),M()(),D(4,"div",2)(5,"div",3),H(6,r8,1,1,"app-brand-value",4),M(),D(7,"div",5),Q(8,"span",6),M(),D(9,"div",3),H(10,o8,1,1,"app-brand-value",4),M()()()),2&e&&(S("@scrollAnimation",i.state),E(6),S("ngForOf",i.brandValuesLeft),E(4),S("ngForOf",i.brandValuesRight))},dependencies:[oi,ai,ss,Oi,Ua,rs,t_,i_,Wa,i8],styles:[".logo-values[_ngcontent-%COMP%]{padding:80px}@media screen and (max-width: 599px){.logo-values[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}}@media screen and (min-width: 600px) and (max-width: 959px){.logo-values[_ngcontent-%COMP%]{padding-left:10%;padding-right:10%}}@media screen and (min-width: 960px) and (max-width: 1279px){.logo-values[_ngcontent-%COMP%]{padding-left:20%;padding-right:20%}}@media screen and (max-width: 599px){.logo-animated[_ngcontent-%COMP%] svg{max-height:75vh;max-width:75vw}}@media screen and (min-width: 600px) and (max-width: 959px){.logo-animated[_ngcontent-%COMP%] svg{max-height:75vh;max-width:75vw}}@media screen and (min-width: 960px) and (max-width: 1279px){.logo-animated[_ngcontent-%COMP%] svg{max-height:75vh;max-width:75vw}}@media screen and (min-width: 1280px) and (max-width: 1919px){.logo-animated[_ngcontent-%COMP%] svg{max-height:100vh;max-width:30vw}}@media screen and (min-width: 1920px) and (max-width: 5000px){.logo-animated[_ngcontent-%COMP%] svg{max-height:100vh;max-width:30vw}}.logo-animated[_ngcontent-%COMP%] svg #the_ribbon, .logo-animated[_ngcontent-%COMP%] svg #the_equals_sign, .logo-animated[_ngcontent-%COMP%] svg #the_compass, .logo-animated[_ngcontent-%COMP%] svg #the_heart, .logo-animated[_ngcontent-%COMP%] svg #the_thread, .logo-animated[_ngcontent-%COMP%] svg #the_circle{opacity:0;transition:all 1s ease-in-out}.logo-animated[_ngcontent-%COMP%] svg #the_ribbon.highlight, .logo-animated[_ngcontent-%COMP%] svg #the_equals_sign.highlight, .logo-animated[_ngcontent-%COMP%] svg #the_compass.highlight, .logo-animated[_ngcontent-%COMP%] svg #the_heart.highlight, .logo-animated[_ngcontent-%COMP%] svg #the_thread.highlight, .logo-animated[_ngcontent-%COMP%] svg #the_circle.highlight{stroke-width:6px;opacity:1}"],data:{animation:Pi}}),n})();const a8=["addListener","removeListener"],l8=["addEventListener","removeEventListener"],c8=["on","off"];function Zc(n,t,e,i){if(be(e)&&(i=e,e=void 0),i)return Zc(n,t,e).pipe(R_(i));const[r,o]=function h8(n){return be(n.addEventListener)&&be(n.removeEventListener)}(n)?l8.map(s=>a=>n[s](t,a,e)):function u8(n){return be(n.addListener)&&be(n.removeListener)}(n)?a8.map(GA(n,t)):function d8(n){return be(n.on)&&be(n.off)}(n)?c8.map(GA(n,t)):[];if(!r&&xl(n))return st(s=>Zc(s,t,e))(jt(n));if(!r)throw new TypeError("Invalid event target");return new Re(s=>{const a=(...l)=>s.next(1o(a)})}function GA(n,t){return e=>i=>n[e](t,i)}const Xc={schedule(n){let t=requestAnimationFrame,e=cancelAnimationFrame;const{delegate:i}=Xc;i&&(t=i.requestAnimationFrame,e=i.cancelAnimationFrame);const r=t(o=>{e=void 0,n(o)});return new Ce(()=>e?.(r))},requestAnimationFrame(...n){const{delegate:t}=Xc;return(t?.requestAnimationFrame||requestAnimationFrame)(...n)},cancelAnimationFrame(...n){const{delegate:t}=Xc;return(t?.cancelAnimationFrame||cancelAnimationFrame)(...n)},delegate:void 0};new class p8 extends xy{flush(t){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let r;t=t||i.shift();do{if(r=t.execute(t.state,t.delay))break}while((t=i[0])&&t.id===e&&i.shift());if(this._active=!1,r){for(;(t=i[0])&&t.id===e&&i.shift();)t.unsubscribe();throw r}}}(class f8 extends wy{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,i=0){return null!==i&&i>0?super.requestAsyncId(t,e,i):(t.actions.push(this),t._scheduled||(t._scheduled=Xc.requestAnimationFrame(()=>t.flush(void 0))))}recycleAsyncId(t,e,i=0){if(null!=i&&i>0||null==i&&this.delay>0)return super.recycleAsyncId(t,e,i);t.actions.some(r=>r.id===e)||(Xc.cancelAnimationFrame(e),t._scheduled=void 0)}});let Py,m8=1;const ff={};function UA(n){return n in ff&&(delete ff[n],!0)}const _8={setImmediate(n){const t=m8++;return ff[t]=!0,Py||(Py=Promise.resolve()),Py.then(()=>UA(t)&&n()),t},clearImmediate(n){UA(n)}},{setImmediate:y8,clearImmediate:v8}=_8,pf={setImmediate(...n){const{delegate:t}=pf;return(t?.setImmediate||y8)(...n)},clearImmediate(n){const{delegate:t}=pf;return(t?.clearImmediate||v8)(n)},delegate:void 0};new class C8 extends xy{flush(t){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let r;t=t||i.shift();do{if(r=t.execute(t.state,t.delay))break}while((t=i[0])&&t.id===e&&i.shift());if(this._active=!1,r){for(;(t=i[0])&&t.id===e&&i.shift();)t.unsubscribe();throw r}}}(class b8 extends wy{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,i=0){return null!==i&&i>0?super.requestAsyncId(t,e,i):(t.actions.push(this),t._scheduled||(t._scheduled=pf.setImmediate(t.flush.bind(t,void 0))))}recycleAsyncId(t,e,i=0){if(null!=i&&i>0||null==i&&this.delay>0)return super.recycleAsyncId(t,e,i);t.actions.some(r=>r.id===e)||(pf.clearImmediate(e),t._scheduled=void 0)}});function Ly(n,t=Dy){return function x8(n){return qe((t,e)=>{let i=!1,r=null,o=null,s=!1;const a=()=>{if(o?.unsubscribe(),o=null,i){i=!1;const c=r;r=null,e.next(c)}s&&e.complete()},l=()=>{o=null,s&&e.complete()};t.subscribe(Ye(e,c=>{i=!0,r=c,o||jt(n(c)).subscribe(o=Ye(e,a,l))},()=>{s=!0,(!i||!o||o.closed)&&e.complete()}))})}(()=>function M8(n=0,t,e=Q5){let i=-1;return null!=t&&(El(t)?e=t:i=t),new Re(r=>{let o=function D8(n){return n instanceof Date&&!isNaN(n)}(n)?+n-e.now():n;o<0&&(o=0);let s=0;return e.schedule(function(){r.closed||(r.next(s++),0<=i?this.schedule(void 0,i):r.complete())},o)})}(n,t))}let zA=(()=>{class n{constructor(e,i,r){this._ngZone=e,this._platform=i,this._scrolled=new ce,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=r}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){const i=this.scrollContainers.get(e);i&&(i.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=20){return this._platform.isBrowser?new Re(i=>{this._globalSubscription||this._addGlobalListener();const r=e>0?this._scrolled.pipe(Ly(e)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):q()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(e,i){const r=this.getAncestorScrollContainers(e);return this.scrolled(i).pipe(It(o=>!o||r.indexOf(o)>-1))}getAncestorScrollContainers(e){const i=[];return this.scrollContainers.forEach((r,o)=>{this._scrollableContainsElement(o,e)&&i.push(o)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,i){let r=Or(i),o=e.getElementRef().nativeElement;do{if(r==o)return!0}while(r=r.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>Zc(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return n.\u0275fac=function(e){return new(e||n)(b(de),b(Jt),b(ae,8))},n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Ny=(()=>{class n{constructor(e,i,r){this._platform=e,this._change=new ce,this._changeListener=o=>{this._change.next(o)},this._document=r,i.runOutsideAngular(()=>{if(e.isBrowser){const o=this._getWindow();o.addEventListener("resize",this._changeListener),o.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){const e=this.getViewportScrollPosition(),{width:i,height:r}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+r,right:e.left+i,height:r,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const e=this._document,i=this._getWindow(),r=e.documentElement,o=r.getBoundingClientRect();return{top:-o.top||e.body.scrollTop||i.scrollY||r.scrollTop||0,left:-o.left||e.body.scrollLeft||i.scrollX||r.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(Ly(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}}return n.\u0275fac=function(e){return new(e||n)(b(Jt),b(de),b(ae,8))},n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Jc=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({}),n})(),WA=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({imports:[Ga,Jc,Ga,Jc]}),n})();class Vy{attach(t){return this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;null!=t&&(this._attachedHost=null,t.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(t){this._attachedHost=t}}class qA extends Vy{constructor(t,e,i,r){super(),this.component=t,this.viewContainerRef=e,this.injector=i,this.componentFactoryResolver=r}}class YA extends Vy{constructor(t,e,i,r){super(),this.templateRef=t,this.viewContainerRef=e,this.context=i,this.injector=r}get origin(){return this.templateRef.elementRef}attach(t,e=this.context){return this.context=e,super.attach(t)}detach(){return this.context=void 0,super.detach()}}class A8 extends Vy{constructor(t){super(),this.element=t instanceof j?t.nativeElement:t}}class I8 extends class T8{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){return t instanceof qA?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof YA?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof A8?(this._attachedPortal=t,this.attachDomPortal(t)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(t){this._disposeFn=t}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}{constructor(t,e,i,r,o){super(),this.outletElement=t,this._componentFactoryResolver=e,this._appRef=i,this._defaultInjector=r,this.attachDomPortal=s=>{const a=s.element,l=this._document.createComment("dom-portal");a.parentNode.insertBefore(l,a),this.outletElement.appendChild(a),this._attachedPortal=s,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(a,l)})},this._document=o}attachComponentPortal(t){const i=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component);let r;return t.viewContainerRef?(r=t.viewContainerRef.createComponent(i,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector),this.setDisposeFn(()=>r.destroy())):(r=i.create(t.injector||this._defaultInjector||Nt.NULL),this._appRef.attachView(r.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(r.hostView),r.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(r)),this._attachedPortal=t,r}attachTemplatePortal(t){let e=t.viewContainerRef,i=e.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return i.rootNodes.forEach(r=>this.outletElement.appendChild(r)),i.detectChanges(),this.setDisposeFn(()=>{let r=e.indexOf(i);-1!==r&&e.remove(r)}),this._attachedPortal=t,i}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(t){return t.hostView.rootNodes[0]}}let QA=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({}),n})();const KA=O5();class k8{constructor(t,e){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=Ct(-this._previousScrollPosition.left),t.style.top=Ct(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const t=this._document.documentElement,i=t.style,r=this._document.body.style,o=i.scrollBehavior||"",s=r.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),KA&&(i.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),KA&&(i.scrollBehavior=o,r.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const e=this._document.body,i=this._viewportRuler.getViewportSize();return e.scrollHeight>i.height||e.scrollWidth>i.width}}class F8{constructor(t,e,i,r){this._scrollDispatcher=t,this._ngZone=e,this._viewportRuler=i,this._config=r,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(t){this._overlayRef=t}enable(){if(this._scrollSubscription)return;const t=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{const e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class ZA{enable(){}disable(){}attach(){}}function By(n,t){return t.some(e=>n.bottome.bottom||n.righte.right)}function XA(n,t){return t.some(e=>n.tope.bottom||n.lefte.right)}class R8{constructor(t,e,i,r){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=i,this._config=r,this._scrollSubscription=null}attach(t){this._overlayRef=t}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:r}=this._viewportRuler.getViewportSize();By(e,[{width:i,height:r,bottom:r,right:i,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let O8=(()=>{class n{constructor(e,i,r,o){this._scrollDispatcher=e,this._viewportRuler=i,this._ngZone=r,this.noop=()=>new ZA,this.close=s=>new F8(this._scrollDispatcher,this._ngZone,this._viewportRuler,s),this.block=()=>new k8(this._viewportRuler,this._document),this.reposition=s=>new R8(this._scrollDispatcher,this._viewportRuler,this._ngZone,s),this._document=o}}return n.\u0275fac=function(e){return new(e||n)(b(zA),b(Ny),b(de),b(ae))},n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class JA{constructor(t){if(this.scrollStrategy=new ZA,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t){const e=Object.keys(t);for(const i of e)void 0!==t[i]&&(this[i]=t[i])}}}class P8{constructor(t,e){this.connectionPair=t,this.scrollableViewProperties=e}}let eT=(()=>{class n{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){const i=this._attachedOverlays.indexOf(e);i>-1&&this._attachedOverlays.splice(i,1),0===this._attachedOverlays.length&&this.detach()}}return n.\u0275fac=function(e){return new(e||n)(b(ae))},n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),L8=(()=>{class n extends eT{constructor(e,i){super(e),this._ngZone=i,this._keydownListener=r=>{const o=this._attachedOverlays;for(let s=o.length-1;s>-1;s--)if(o[s]._keydownEvents.observers.length>0){const a=o[s]._keydownEvents;this._ngZone?this._ngZone.run(()=>a.next(r)):a.next(r);break}}}add(e){super.add(e),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return n.\u0275fac=function(e){return new(e||n)(b(ae),b(de,8))},n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),N8=(()=>{class n extends eT{constructor(e,i,r){super(e),this._platform=i,this._ngZone=r,this._cursorStyleIsSet=!1,this._pointerDownListener=o=>{this._pointerDownEventTarget=ms(o)},this._clickListener=o=>{const s=ms(o),a="click"===o.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:s;this._pointerDownEventTarget=null;const l=this._attachedOverlays.slice();for(let c=l.length-1;c>-1;c--){const u=l[c];if(u._outsidePointerEvents.observers.length<1||!u.hasAttached())continue;if(u.overlayElement.contains(s)||u.overlayElement.contains(a))break;const d=u._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>d.next(o)):d.next(o)}}}add(e){if(super.add(e),!this._isAttached){const i=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(i)):this._addEventListeners(i),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const e=this._document.body;e.removeEventListener("pointerdown",this._pointerDownListener,!0),e.removeEventListener("click",this._clickListener,!0),e.removeEventListener("auxclick",this._clickListener,!0),e.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(e.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(e){e.addEventListener("pointerdown",this._pointerDownListener,!0),e.addEventListener("click",this._clickListener,!0),e.addEventListener("auxclick",this._clickListener,!0),e.addEventListener("contextmenu",this._clickListener,!0)}}return n.\u0275fac=function(e){return new(e||n)(b(ae),b(Jt),b(de,8))},n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),tT=(()=>{class n{constructor(e,i){this._platform=i,this._document=e}ngOnDestroy(){var e;null===(e=this._containerElement)||void 0===e||e.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const e="cdk-overlay-container";if(this._platform.isBrowser||_y()){const r=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let o=0;othis._backdropClick.next(d),this._backdropTransitionendHandler=d=>{this._disposeBackdrop(d.target)},this._keydownEvents=new ce,this._outsidePointerEvents=new ce,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(t){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const e=this._portalOutlet.attach(t);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(Sn(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof e?.onDestroy&&e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),t}dispose(){var t;const e=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),null===(t=this._host)||void 0===t||t.remove(),this._previousHostParent=this._pane=this._host=null,e&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}updateSize(t){this._config={...this._config,...t},this._updateElementSize()}setDirection(t){this._config={...this._config,direction:t},this._updateElementDirection()}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!0)}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!1)}getDirection(){const t=this._config.direction;return t?"string"==typeof t?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const t=this._pane.style;t.width=Ct(this._config.width),t.height=Ct(this._config.height),t.minWidth=Ct(this._config.minWidth),t.minHeight=Ct(this._config.minHeight),t.maxWidth=Ct(this._config.maxWidth),t.maxHeight=Ct(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"":"none"}_attachBackdrop(){const t="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(t)})}):this._backdropElement.classList.add(t)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const t=this._backdropElement;if(t){if(this._animationsDisabled)return void this._disposeBackdrop(t);t.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{t.addEventListener("transitionend",this._backdropTransitionendHandler)}),t.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(t)},500))}}_toggleClasses(t,e,i){const r=fh(e||[]).filter(o=>!!o);r.length&&(i?t.classList.add(...r):t.classList.remove(...r))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const t=this._ngZone.onStable.pipe(Ge(wt(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),t.unsubscribe())})})}_disposeScrollStrategy(){const t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}_disposeBackdrop(t){t&&(t.removeEventListener("click",this._backdropClickHandler),t.removeEventListener("transitionend",this._backdropTransitionendHandler),t.remove(),this._backdropElement===t&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const nT="cdk-overlay-connected-position-bounding-box",B8=/([A-Za-z%]+)$/;class H8{constructor(t,e,i,r,o){this._viewportRuler=e,this._document=i,this._platform=r,this._overlayContainer=o,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new ce,this._resizeSubscription=Ce.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(t)}get positions(){return this._preferredPositions}attach(t){this._validatePositions(),t.hostElement.classList.add(nT),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const t=this._originRect,e=this._overlayRect,i=this._viewportRect,r=this._containerRect,o=[];let s;for(let a of this._preferredPositions){let l=this._getOriginPoint(t,r,a),c=this._getOverlayPoint(l,e,a),u=this._getOverlayFit(c,e,i,a);if(u.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(a,l);this._canFitWithFlexibleDimensions(u,c,i)?o.push({position:a,origin:l,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(l,a)}):(!s||s.overlayFit.visibleAreal&&(l=u,a=c)}return this._isPushed=!1,void this._applyPosition(a.position,a.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(s.position,s.originPoint);this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&vs(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(nT),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const t=this._lastPosition;if(t){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const e=this._getOriginPoint(this._originRect,this._containerRect,t);this._applyPosition(t,e)}else this.apply()}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!0){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=!0){return this._growAfterOpen=t,this}withPush(t=!0){return this._canPush=t,this}withLockedPosition(t=!0){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}_getOriginPoint(t,e,i){let r,o;if("center"==i.originX)r=t.left+t.width/2;else{const s=this._isRtl()?t.right:t.left,a=this._isRtl()?t.left:t.right;r="start"==i.originX?s:a}return e.left<0&&(r-=e.left),o="center"==i.originY?t.top+t.height/2:"top"==i.originY?t.top:t.bottom,e.top<0&&(o-=e.top),{x:r,y:o}}_getOverlayPoint(t,e,i){let r,o;return r="center"==i.overlayX?-e.width/2:"start"===i.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,o="center"==i.overlayY?-e.height/2:"top"==i.overlayY?0:-e.height,{x:t.x+r,y:t.y+o}}_getOverlayFit(t,e,i,r){const o=rT(e);let{x:s,y:a}=t,l=this._getOffset(r,"x"),c=this._getOffset(r,"y");l&&(s+=l),c&&(a+=c);let h=0-a,g=a+o.height-i.height,_=this._subtractOverflows(o.width,0-s,s+o.width-i.width),y=this._subtractOverflows(o.height,h,g),x=_*y;return{visibleArea:x,isCompletelyWithinViewport:o.width*o.height===x,fitsInViewportVertically:y===o.height,fitsInViewportHorizontally:_==o.width}}_canFitWithFlexibleDimensions(t,e,i){if(this._hasFlexibleDimensions){const r=i.bottom-e.y,o=i.right-e.x,s=iT(this._overlayRef.getConfig().minHeight),a=iT(this._overlayRef.getConfig().minWidth),c=t.fitsInViewportHorizontally||null!=a&&a<=o;return(t.fitsInViewportVertically||null!=s&&s<=r)&&c}return!1}_pushOverlayOnScreen(t,e,i){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};const r=rT(e),o=this._viewportRect,s=Math.max(t.x+r.width-o.width,0),a=Math.max(t.y+r.height-o.height,0),l=Math.max(o.top-i.top-t.y,0),c=Math.max(o.left-i.left-t.x,0);let u=0,d=0;return u=r.width<=o.width?c||-s:t.x_&&!this._isInitialRender&&!this._growAfterOpen&&(s=t.y-_/2)}if("end"===e.overlayX&&!r||"start"===e.overlayX&&r)h=i.width-t.x+this._viewportMargin,u=t.x-this._viewportMargin;else if("start"===e.overlayX&&!r||"end"===e.overlayX&&r)d=t.x,u=i.right-t.x;else{const g=Math.min(i.right-t.x+i.left,t.x),_=this._lastBoundingBoxSize.width;u=2*g,d=t.x-g,u>_&&!this._isInitialRender&&!this._growAfterOpen&&(d=t.x-_/2)}return{top:s,left:d,bottom:a,right:h,width:u,height:o}}_setBoundingBoxStyles(t,e){const i=this._calculateBoundingBoxRect(t,e);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));const r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right=r.maxHeight=r.maxWidth="",r.width=r.height="100%";else{const o=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;r.height=Ct(i.height),r.top=Ct(i.top),r.bottom=Ct(i.bottom),r.width=Ct(i.width),r.left=Ct(i.left),r.right=Ct(i.right),r.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",r.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",o&&(r.maxHeight=Ct(o)),s&&(r.maxWidth=Ct(s))}this._lastBoundingBoxSize=i,vs(this._boundingBox.style,r)}_resetBoundingBoxStyles(){vs(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){vs(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,e){const i={},r=this._hasExactPosition(),o=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(r){const u=this._viewportRuler.getViewportScrollPosition();vs(i,this._getExactOverlayY(e,t,u)),vs(i,this._getExactOverlayX(e,t,u))}else i.position="static";let a="",l=this._getOffset(e,"x"),c=this._getOffset(e,"y");l&&(a+=`translateX(${l}px) `),c&&(a+=`translateY(${c}px)`),i.transform=a.trim(),s.maxHeight&&(r?i.maxHeight=Ct(s.maxHeight):o&&(i.maxHeight="")),s.maxWidth&&(r?i.maxWidth=Ct(s.maxWidth):o&&(i.maxWidth="")),vs(this._pane.style,i)}_getExactOverlayY(t,e,i){let r={top:"",bottom:""},o=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),"bottom"===t.overlayY?r.bottom=this._document.documentElement.clientHeight-(o.y+this._overlayRect.height)+"px":r.top=Ct(o.y),r}_getExactOverlayX(t,e,i){let s,r={left:"",right:""},o=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),s=this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left","right"===s?r.right=this._document.documentElement.clientWidth-(o.x+this._overlayRect.width)+"px":r.left=Ct(o.x),r}_getScrollVisibility(){const t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),i=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:XA(t,i),isOriginOutsideView:By(t,i),isOverlayClipped:XA(e,i),isOverlayOutsideView:By(e,i)}}_subtractOverflows(t,...e){return e.reduce((i,r)=>i-Math.max(r,0),t)}_getNarrowedViewportRect(){const t=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+t-this._viewportMargin,bottom:i.top+e-this._viewportMargin,width:t-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,e){return"x"===e?t.offsetX??this._offsetX:t.offsetY??this._offsetY}_validatePositions(){}_addPanelClasses(t){this._pane&&fh(t).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){const t=this._origin;if(t instanceof j)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();const e=t.width||0,i=t.height||0;return{top:t.y,bottom:t.y+i,left:t.x,right:t.x+e,height:i,width:e}}}function vs(n,t){for(let e in t)t.hasOwnProperty(e)&&(n[e]=t[e]);return n}function iT(n){if("number"!=typeof n&&null!=n){const[t,e]=n.split(B8);return e&&"px"!==e?null:parseFloat(t)}return n||null}function rT(n){return{top:Math.floor(n.top),right:Math.floor(n.right),bottom:Math.floor(n.bottom),left:Math.floor(n.left),width:Math.floor(n.width),height:Math.floor(n.height)}}const oT="cdk-global-overlay-wrapper";class $8{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(t){const e=t.getConfig();this._overlayRef=t,this._width&&!e.width&&t.updateSize({width:this._width}),this._height&&!e.height&&t.updateSize({height:this._height}),t.hostElement.classList.add(oT),this._isDisposed=!1}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._xOffset=t,this._xPosition="left",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._xOffset=t,this._xPosition="right",this}start(t=""){return this._xOffset=t,this._xPosition="start",this}end(t=""){return this._xOffset=t,this._xPosition="end",this}width(t=""){return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}height(t=""){return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}centerHorizontally(t=""){return this.left(t),this._xPosition="center",this}centerVertically(t=""){return this.top(t),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:r,height:o,maxWidth:s,maxHeight:a}=i,l=!("100%"!==r&&"100vw"!==r||s&&"100%"!==s&&"100vw"!==s),c=!("100%"!==o&&"100vh"!==o||a&&"100%"!==a&&"100vh"!==a),u=this._xPosition,d=this._xOffset,h="rtl"===this._overlayRef.getConfig().direction;let g="",_="",y="";l?y="flex-start":"center"===u?(y="center",h?_=d:g=d):h?"left"===u||"end"===u?(y="flex-end",g=d):("right"===u||"start"===u)&&(y="flex-start",_=d):"left"===u||"start"===u?(y="flex-start",g=d):("right"===u||"end"===u)&&(y="flex-end",_=d),t.position=this._cssPosition,t.marginLeft=l?"0":g,t.marginTop=c?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=l?"0":_,e.justifyContent=y,e.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,i=e.style;e.classList.remove(oT),i.justifyContent=i.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}let j8=(()=>{class n{constructor(e,i,r,o){this._viewportRuler=e,this._document=i,this._platform=r,this._overlayContainer=o}global(){return new $8}flexibleConnectedTo(e){return new H8(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return n.\u0275fac=function(e){return new(e||n)(b(Ny),b(ae),b(Jt),b(tT))},n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),G8=0,bs=(()=>{class n{constructor(e,i,r,o,s,a,l,c,u,d,h,g){this.scrollStrategies=e,this._overlayContainer=i,this._componentFactoryResolver=r,this._positionBuilder=o,this._keyboardDispatcher=s,this._injector=a,this._ngZone=l,this._document=c,this._directionality=u,this._location=d,this._outsideClickDispatcher=h,this._animationsModuleType=g}create(e){const i=this._createHostElement(),r=this._createPaneElement(i),o=this._createPortalOutlet(r),s=new JA(e);return s.direction=s.direction||this._directionality.value,new V8(o,i,r,s,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(e){const i=this._document.createElement("div");return i.id="cdk-overlay-"+G8++,i.classList.add("cdk-overlay-pane"),e.appendChild(i),i}_createHostElement(){const e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(Va)),new I8(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return n.\u0275fac=function(e){return new(e||n)(b(O8),b(tT),b(Uo),b(j8),b(L8),b(Nt),b(de),b(ae),b(os),b(Wd),b(N8),b(ni,8))},n.\u0275prov=k({token:n,factory:n.\u0275fac}),n})();const U8=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],sT=new P("cdk-connected-overlay-scroll-strategy");let aT=(()=>{class n{constructor(e){this.elementRef=e}}return n.\u0275fac=function(e){return new(e||n)(f(j))},n.\u0275dir=T({type:n,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),n})(),lT=(()=>{class n{constructor(e,i,r,o,s){this._overlay=e,this._dir=s,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=Ce.EMPTY,this._attachSubscription=Ce.EMPTY,this._detachSubscription=Ce.EMPTY,this._positionSubscription=Ce.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new he,this.positionChange=new he,this.attach=new he,this.detach=new he,this.overlayKeydown=new he,this.overlayOutsideClick=new he,this._templatePortal=new YA(i,r),this._scrollStrategyFactory=o,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=Ae(e)}get lockPosition(){return this._lockPosition}set lockPosition(e){this._lockPosition=Ae(e)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(e){this._flexibleDimensions=Ae(e)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(e){this._growAfterOpen=Ae(e)}get push(){return this._push}set push(e){this._push=Ae(e)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=U8);const e=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(i=>{this.overlayKeydown.next(i),27===i.keyCode&&!this.disableClose&&!nl(i)&&(i.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(i=>{this.overlayOutsideClick.next(i)})}_buildConfig(){const e=this._position=this.positionStrategy||this._createPositionStrategy(),i=new JA({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(i.width=this.width),(this.height||0===this.height)&&(i.height=this.height),(this.minWidth||0===this.minWidth)&&(i.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(i.minHeight=this.minHeight),this.backdropClass&&(i.backdropClass=this.backdropClass),this.panelClass&&(i.panelClass=this.panelClass),i}_updatePositionStrategy(e){const i=this.positions.map(r=>({originX:r.originX,originY:r.originY,overlayX:r.overlayX,overlayY:r.overlayY,offsetX:r.offsetX||this.offsetX,offsetY:r.offsetY||this.offsetY,panelClass:r.panelClass||void 0}));return e.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(i).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const e=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(e),e}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof aT?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(tS(()=>this.positionChange.observers.length>0)).subscribe(e=>{this.positionChange.emit(e),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(f(bs),f(Ti),f(At),f(sT),f(os,8))},n.\u0275dir=T({type:n,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[nt]}),n})();const W8={provide:sT,deps:[bs],useFactory:function z8(n){return()=>n.scrollStrategies.reposition()}};let Hy=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({providers:[bs,W8],imports:[Ga,QA,WA,WA]}),n})();const q8=["tooltip"],cT="tooltip-panel",uT=ps({passive:!0}),dT=new P("mat-tooltip-scroll-strategy"),Z8={provide:dT,deps:[bs],useFactory:function K8(n){return()=>n.scrollStrategies.reposition({scrollThrottle:20})}},X8=new P("mat-tooltip-default-options",{providedIn:"root",factory:function J8(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let eW=(()=>{class n{constructor(e,i,r,o,s,a,l,c,u,d,h,g){this._overlay=e,this._elementRef=i,this._scrollDispatcher=r,this._viewContainerRef=o,this._ngZone=s,this._platform=a,this._ariaDescriber=l,this._focusMonitor=c,this._dir=d,this._defaultOptions=h,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this._showDelay=this._defaultOptions.showDelay,this._hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new ce,this._scrollStrategy=u,this._document=g,h&&(h.position&&(this.position=h.position),h.touchGestures&&(this.touchGestures=h.touchGestures)),d.change.pipe(Ge(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}get position(){return this._position}set position(e){var i;e!==this._position&&(this._position=e,this._overlayRef)&&(this._updatePosition(this._overlayRef),null===(i=this._tooltipInstance)||void 0===i||i.show(0),this._overlayRef.updatePosition())}get disabled(){return this._disabled}set disabled(e){this._disabled=Ae(e),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(e){this._showDelay=po(e)}get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=po(e),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(e){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=e?String(e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(Ge(this._destroyed)).subscribe(e=>{e?"keyboard"===e&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const e=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([i,r])=>{e.removeEventListener(i,r,uT)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const i=this._createOverlay();this._detach(),this._portal=this._portal||new qA(this._tooltipComponent,this._viewContainerRef);const r=this._tooltipInstance=i.attach(this._portal).instance;r._triggerElement=this._elementRef.nativeElement,r._mouseLeaveHideDelay=this._hideDelay,r.afterHidden().pipe(Ge(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),r.show(e)}hide(e=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide(e)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){var e;if(this._overlayRef)return this._overlayRef;const i=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),r=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(i);return r.positionChanges.pipe(Ge(this._destroyed)).subscribe(o=>{this._updateCurrentPositionClass(o.connectionPair),this._tooltipInstance&&o.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:r,panelClass:`${this._cssClassPrefix}-${cT}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(Ge(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(Ge(this._destroyed)).subscribe(()=>{var o;return null===(o=this._tooltipInstance)||void 0===o?void 0:o._handleBodyInteraction()}),this._overlayRef.keydownEvents().pipe(Ge(this._destroyed)).subscribe(o=>{this._isTooltipVisible()&&27===o.keyCode&&!nl(o)&&(o.preventDefault(),o.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),null!==(e=this._defaultOptions)&&void 0!==e&&e.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(e){const i=e.getConfig().positionStrategy,r=this._getOrigin(),o=this._getOverlayPosition();i.withPositions([this._addOffset({...r.main,...o.main}),this._addOffset({...r.fallback,...o.fallback})])}_addOffset(e){return e}_getOrigin(){const e=!this._dir||"ltr"==this._dir.value,i=this.position;let r;"above"==i||"below"==i?r={originX:"center",originY:"above"==i?"top":"bottom"}:"before"==i||"left"==i&&e||"right"==i&&!e?r={originX:"start",originY:"center"}:("after"==i||"right"==i&&e||"left"==i&&!e)&&(r={originX:"end",originY:"center"});const{x:o,y:s}=this._invertPosition(r.originX,r.originY);return{main:r,fallback:{originX:o,originY:s}}}_getOverlayPosition(){const e=!this._dir||"ltr"==this._dir.value,i=this.position;let r;"above"==i?r={overlayX:"center",overlayY:"bottom"}:"below"==i?r={overlayX:"center",overlayY:"top"}:"before"==i||"left"==i&&e||"right"==i&&!e?r={overlayX:"end",overlayY:"center"}:("after"==i||"right"==i&&e||"left"==i&&!e)&&(r={overlayX:"start",overlayY:"center"});const{x:o,y:s}=this._invertPosition(r.overlayX,r.overlayY);return{main:r,fallback:{overlayX:o,overlayY:s}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(Sn(1),Ge(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}_invertPosition(e,i){return"above"===this.position||"below"===this.position?"top"===i?i="bottom":"bottom"===i&&(i="top"):"end"===e?e="start":"start"===e&&(e="end"),{x:e,y:i}}_updateCurrentPositionClass(e){const{overlayY:i,originX:r,originY:o}=e;let s;if(s="center"===i?this._dir&&"rtl"===this._dir.value?"end"===r?"left":"right":"start"===r?"left":"right":"bottom"===i&&"top"===o?"above":"below",s!==this._currentPosition){const a=this._overlayRef;if(a){const l=`${this._cssClassPrefix}-${cT}-`;a.removePanelClass(l+this._currentPosition),a.addPanelClass(l+s)}this._currentPosition=s}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",()=>{this._setupPointerExitEventsIfNeeded(),this.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",()=>{this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const e=[];if(this._platformSupportsMouseEvents())e.push(["mouseleave",i=>{var r;const o=i.relatedTarget;(!o||null===(r=this._overlayRef)||void 0===r||!r.overlayElement.contains(o))&&this.hide()}],["wheel",i=>this._wheelListener(i)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const i=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};e.push(["touchend",i],["touchcancel",i])}this._addListeners(e),this._passiveListeners.push(...e)}_addListeners(e){e.forEach(([i,r])=>{this._elementRef.nativeElement.addEventListener(i,r,uT)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(e){if(this._isTooltipVisible()){const i=this._document.elementFromPoint(e.clientX,e.clientY),r=this._elementRef.nativeElement;i!==r&&!r.contains(i)&&this.hide()}}_disableNativeGesturesIfNecessary(){const e=this.touchGestures;if("off"!==e){const i=this._elementRef.nativeElement,r=i.style;("on"===e||"INPUT"!==i.nodeName&&"TEXTAREA"!==i.nodeName)&&(r.userSelect=r.msUserSelect=r.webkitUserSelect=r.MozUserSelect="none"),("on"===e||!i.draggable)&&(r.webkitUserDrag="none"),r.touchAction="none",r.webkitTapHighlightColor="transparent"}}}return n.\u0275fac=function(e){qo()},n.\u0275dir=T({type:n,inputs:{position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),n})(),tW=(()=>{class n extends eW{constructor(e,i,r,o,s,a,l,c,u,d,h,g){super(e,i,r,o,s,a,l,c,u,d,h,g),this._tooltipComponent=iW}}return n.\u0275fac=function(e){return new(e||n)(f(bs),f(j),f(zA),f(At),f(de),f(Jt),f(o4),f(_s),f(dT),f(os,8),f(X8,8),f(ae))},n.\u0275dir=T({type:n,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[O]}),n})(),nW=(()=>{class n{constructor(e,i){this._changeDetectorRef=e,this._visibility="initial",this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new ce,this._animationsDisabled="NoopAnimations"===i}show(e){clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},e)}hide(e){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},e)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:e}){(!e||!this._triggerElement.contains(e))&&this.hide(this._mouseLeaveHideDelay)}_onShow(){}_handleAnimationEnd({animationName:e}){(e===this._showAnimation||e===this._hideAnimation)&&this._finalizeAnimation(e===this._showAnimation)}_finalizeAnimation(e){e?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(e){const i=this._tooltip.nativeElement,r=this._showAnimation,o=this._hideAnimation;if(i.classList.remove(e?o:r),i.classList.add(e?r:o),this._isVisible=e,e&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const s=getComputedStyle(i);("0s"===s.getPropertyValue("animation-duration")||"none"===s.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}e&&this._onShow(),this._animationsDisabled&&(i.classList.add("_mat-animation-noopable"),this._finalizeAnimation(e))}}return n.\u0275fac=function(e){return new(e||n)(f(Dn),f(ni,8))},n.\u0275dir=T({type:n}),n})(),iW=(()=>{class n extends nW{constructor(e,i,r){super(e,r),this._breakpointObserver=i,this._isHandset=this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)"),this._showAnimation="mat-tooltip-show",this._hideAnimation="mat-tooltip-hide"}}return n.\u0275fac=function(e){return new(e||n)(f(Dn),f(_A),f(ni,8))},n.\u0275cmp=pe({type:n,selectors:[["mat-tooltip-component"]],viewQuery:function(e,i){if(1&e&&et(q8,7),2&e){let r;_e(r=ye())&&(i._tooltip=r.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(e,i){1&e&&te("mouseleave",function(o){return i._handleMouseLeave(o)}),2&e&&Sd("zoom",i.isVisible()?1:null)},features:[O],decls:4,vars:6,consts:[[1,"mat-tooltip",3,"ngClass","animationend"],["tooltip",""]],template:function(e,i){if(1&e&&(D(0,"div",0,1),te("animationend",function(o){return i._handleAnimationEnd(o)}),Xi(2,"async"),V(3),M()),2&e){let r;Ze("mat-tooltip-handset",null==(r=Ra(2,4,i._isHandset))?null:r.matches),S("ngClass",i.tooltipClass),E(3),Ne(i.message)}},dependencies:[ns,Ba],styles:[".mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis;transform:scale(0)}.mat-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}.mat-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-tooltip-show{0%{opacity:0;transform:scale(0)}50%{opacity:.5;transform:scale(0.99)}100%{opacity:1;transform:scale(1)}}@keyframes mat-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(1)}}.mat-tooltip-show{animation:mat-tooltip-show 200ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-tooltip-hide{animation:mat-tooltip-hide 100ms cubic-bezier(0, 0, 0.2, 1) forwards}"],encapsulation:2,changeDetection:0}),n})(),rW=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({providers:[Z8],imports:[TA,fn,Hy,We,We,Jc]}),n})();function oW(n,t){if(1&n&&(D(0,"div",8),Q(1,"img",2),M()),2&n){const e=Y();E(1),ti("src",e.teamMember.imageLink,Wt)}}function sW(n,t){if(1&n&&(D(0,"p"),V(1),M()),2&n){const e=t.$implicit;E(1),Ne(e)}}function aW(n,t){if(1&n&&(D(0,"a",9),Q(1,"span",10),M()),2&n){const e=Y();Ko("matTooltip","",e.teamMember.firstName,"'s GitHub Profile"),S("href",e.teamMember.gitHubLink,Wt)}}function lW(n,t){if(1&n&&(D(0,"a",11),Q(1,"span",12),M()),2&n){const e=Y();Ko("matTooltip","",e.teamMember.firstName,"'s LinkedIn Profile"),S("href",e.teamMember.linkedInLink,Wt)}}function cW(n,t){if(1&n&&(D(0,"div",8),Q(1,"img",2),M()),2&n){const e=Y();E(1),ti("src",e.teamMember.imageLink,Wt)}}let uW=(()=>{class n{constructor(e){this.el=e,this.isEven=Kc,this.state="hide"}ngOnInit(){}checkScroll(){this.state=sr(this.el)}}return n.\u0275fac=function(e){return new(e||n)(f(j))},n.\u0275cmp=pe({type:n,selectors:[["app-team-member"]],hostBindings:function(e,i){1&e&&te("scroll",function(o){return i.checkScroll(o)},0,Jn)},inputs:{teamMember:"teamMember",index:"index"},decls:13,vars:10,consts:[["fxLayout","column","fxLayoutAlign","center center","fxLayout.gt-md","row","fxLayoutAlign.gt-md","start start","fxLayoutGap","40px",1,"team-member"],["fxShow","","fxHide.gt-md","","fxFlex","16.67%",1,"team-avatar"],[3,"src"],["class","team-avatar","fxHide","","fxShow.gt-md","","fxFlex.gt-md","calc(16.67% - 40px)",4,"ngIf"],["fxFlex","calc(83.33% - 40px)",1,"team-details"],[4,"ngFor","ngForOf"],["mat-button","","target","_blank","class","btn-github mat-elevation-z0",3,"href","matTooltip",4,"ngIf"],["mat-button","","target","_blank","class","btn-linkedin mat-elevation-z0",3,"href","matTooltip",4,"ngIf"],["fxHide","","fxShow.gt-md","","fxFlex.gt-md","calc(16.67% - 40px)",1,"team-avatar"],["mat-button","","target","_blank",1,"btn-github","mat-elevation-z0",3,"href","matTooltip"],["inlineSVG","/assets/icons/github.svg"],["mat-button","","target","_blank",1,"btn-linkedin","mat-elevation-z0",3,"href","matTooltip"],["inlineSVG","/assets/icons/linkedin.svg"]],template:function(e,i){1&e&&(D(0,"div",0)(1,"div",1),Q(2,"img",2),M(),H(3,oW,2,1,"div",3),D(4,"div",4)(5,"h2"),V(6),M(),D(7,"h3"),V(8),M(),H(9,sW,2,1,"p",5),H(10,aW,2,2,"a",6),H(11,lW,2,2,"a",7),M(),H(12,cW,2,1,"div",3),M()),2&e&&(S("@scrollAnimation",i.state),E(2),ti("src",i.teamMember.imageLink,Wt),E(1),S("ngIf",i.isEven(i.index)),E(3),Td("",i.teamMember.firstName," ",i.teamMember.lastName,""),E(2),Ne(i.teamMember.title),E(1),S("ngForOf",i.teamMember.description),E(1),S("ngIf",i.teamMember.gitHubLink),E(1),S("ngIf",i.teamMember.linkedInLink),E(1),S("ngIf",!i.isEven(i.index)))},dependencies:[oi,si,ai,ss,Oi,Ua,rs,Wa,Qc,tW],styles:[".team-member[_ngcontent-%COMP%]{margin-bottom:80px}.btn-github[_ngcontent-%COMP%] svg, .btn-linkedin[_ngcontent-%COMP%] svg{width:32px;height:32px} .btn-github svg{fill:#fff} .btn-linkedin svg{fill:#fff}.team-avatar[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{border-radius:100%;max-width:100%}"],data:{animation:Pi}}),n})();function dW(n,t){if(1&n&&Q(0,"app-team-member",3),2&n){const i=t.index;S("teamMember",t.$implicit)("index",i)}}let hW=(()=>{class n{constructor(e,i){this.api=e,this.el=i,this.isEven=Kc,this.state="hide"}ngOnInit(){this.api.getTeamMembers().subscribe(e=>{this.teamMembers=e})}checkScroll(){this.state=sr(this.el)}}return n.\u0275fac=function(e){return new(e||n)(f(el),f(j))},n.\u0275cmp=pe({type:n,selectors:[["app-team"]],hostBindings:function(e,i){1&e&&te("scroll",function(o){return i.checkScroll(o)},0,Jn)},decls:5,vars:1,consts:[[1,"bg-primary-dark-1","text-white"],[1,"team","container"],[3,"teamMember","index",4,"ngFor","ngForOf"],[3,"teamMember","index"]],template:function(e,i){1&e&&(D(0,"div",0)(1,"h1"),V(2,"Our Team"),M(),D(3,"div",1),H(4,dW,1,2,"app-team-member",2),M()()),2&e&&(E(4),S("ngForOf",i.teamMembers))},dependencies:[oi,uW],styles:["h1[_ngcontent-%COMP%], .team[_ngcontent-%COMP%]{padding:80px;max-width:1280px}@media screen and (max-width: 599px){h1[_ngcontent-%COMP%], .team[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}}@media screen and (min-width: 600px) and (max-width: 959px){h1[_ngcontent-%COMP%], .team[_ngcontent-%COMP%]{padding-left:10%;padding-right:10%}}@media screen and (min-width: 960px) and (max-width: 1279px){h1[_ngcontent-%COMP%], .team[_ngcontent-%COMP%]{padding-left:20%;padding-right:20%}}"],data:{animation:Pi}}),n})();function hT(...n){const t=Sl(n),{args:e,keys:i}=YE(n),r=new Re(o=>{const{length:s}=e;if(!s)return void o.complete();const a=new Array(s);let l=s,c=s;for(let u=0;u{d||(d=!0,c--),a[u]=h},()=>l--,void 0,()=>{(!l||!d)&&(c||o.next(i?QE(i,a):a),o.complete())}))}});return t?r.pipe(R_(t)):r}const fW=["*"];let gf;function eu(n){var t;return(null===(t=function pW(){if(void 0===gf&&(gf=null,typeof window<"u")){const n=window;void 0!==n.trustedTypes&&(gf=n.trustedTypes.createPolicy("angular#components",{createHTML:t=>t}))}return gf}())||void 0===t?void 0:t.createHTML(n))||n}function fT(n){return Error(`Unable to find icon with the name "${n}"`)}function pT(n){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${n}".`)}function gT(n){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${n}".`)}class Cs{constructor(t,e,i){this.url=t,this.svgText=e,this.options=i}}let mf=(()=>{class n{constructor(e,i,r,o){this._httpClient=e,this._sanitizer=i,this._errorHandler=o,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=r}addSvgIcon(e,i,r){return this.addSvgIconInNamespace("",e,i,r)}addSvgIconLiteral(e,i,r){return this.addSvgIconLiteralInNamespace("",e,i,r)}addSvgIconInNamespace(e,i,r,o){return this._addSvgIconConfig(e,i,new Cs(r,null,o))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,i,r,o){const s=this._sanitizer.sanitize(Oe.HTML,r);if(!s)throw gT(r);const a=eu(s);return this._addSvgIconConfig(e,i,new Cs("",a,o))}addSvgIconSet(e,i){return this.addSvgIconSetInNamespace("",e,i)}addSvgIconSetLiteral(e,i){return this.addSvgIconSetLiteralInNamespace("",e,i)}addSvgIconSetInNamespace(e,i,r){return this._addSvgIconSetConfig(e,new Cs(i,null,r))}addSvgIconSetLiteralInNamespace(e,i,r){const o=this._sanitizer.sanitize(Oe.HTML,i);if(!o)throw gT(i);const s=eu(o);return this._addSvgIconSetConfig(e,new Cs("",s,r))}registerFontClassAlias(e,i=e){return this._fontCssClassesByAlias.set(e,i),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(...e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){const i=this._sanitizer.sanitize(Oe.RESOURCE_URL,e);if(!i)throw pT(e);const r=this._cachedIconsByUrl.get(i);return r?q(_f(r)):this._loadSvgIconFromConfig(new Cs(e,null)).pipe(ut(o=>this._cachedIconsByUrl.set(i,o)),z(o=>_f(o)))}getNamedSvgIcon(e,i=""){const r=mT(i,e);let o=this._svgIconConfigs.get(r);if(o)return this._getSvgFromConfig(o);if(o=this._getIconConfigFromResolvers(i,e),o)return this._svgIconConfigs.set(r,o),this._getSvgFromConfig(o);const s=this._iconSetConfigs.get(i);return s?this._getSvgFromIconSetConfigs(e,s):_o(fT(r))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?q(_f(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(z(i=>_f(i)))}_getSvgFromIconSetConfigs(e,i){const r=this._extractIconWithNameFromAnySet(e,i);return r?q(r):hT(i.filter(s=>!s.svgText).map(s=>this._loadSvgIconSetFromConfig(s).pipe(En(a=>{const c=`Loading icon set URL: ${this._sanitizer.sanitize(Oe.RESOURCE_URL,s.url)} failed: ${a.message}`;return this._errorHandler.handleError(new Error(c)),q(null)})))).pipe(z(()=>{const s=this._extractIconWithNameFromAnySet(e,i);if(!s)throw fT(e);return s}))}_extractIconWithNameFromAnySet(e,i){for(let r=i.length-1;r>=0;r--){const o=i[r];if(o.svgText&&o.svgText.toString().indexOf(e)>-1){const s=this._svgElementFromConfig(o),a=this._extractSvgIconFromSet(s,e,o.options);if(a)return a}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(ut(i=>e.svgText=i),z(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?q(null):this._fetchIcon(e).pipe(ut(i=>e.svgText=i))}_extractSvgIconFromSet(e,i,r){const o=e.querySelector(`[id="${i}"]`);if(!o)return null;const s=o.cloneNode(!0);if(s.removeAttribute("id"),"svg"===s.nodeName.toLowerCase())return this._setSvgAttributes(s,r);if("symbol"===s.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(s),r);const a=this._svgElementFromString(eu(""));return a.appendChild(s),this._setSvgAttributes(a,r)}_svgElementFromString(e){const i=this._document.createElement("DIV");i.innerHTML=e;const r=i.querySelector("svg");if(!r)throw Error(" tag not found");return r}_toSvgElement(e){const i=this._svgElementFromString(eu("")),r=e.attributes;for(let o=0;oeu(u)),Ph(()=>this._inProgressUrlFetches.delete(a)),gr());return this._inProgressUrlFetches.set(a,c),c}_addSvgIconConfig(e,i,r){return this._svgIconConfigs.set(mT(e,i),r),this}_addSvgIconSetConfig(e,i){const r=this._iconSetConfigs.get(e);return r?r.push(i):this._iconSetConfigs.set(e,[i]),this}_svgElementFromConfig(e){if(!e.svgElement){const i=this._svgElementFromString(e.svgText);this._setSvgAttributes(i,e.options),e.svgElement=i}return e.svgElement}_getIconConfigFromResolvers(e,i){for(let r=0;rt?t.pathname+t.search:""}}}),_T=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],wW=_T.map(n=>`[${n}]`).join(", "),xW=/^url\(['"]?#(.*?)['"]?\)$/;let yT=(()=>{class n extends yW{constructor(e,i,r,o,s,a){super(e),this._iconRegistry=i,this._location=o,this._errorHandler=s,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=Ce.EMPTY,a&&(a.color&&(this.color=this.defaultColor=a.color),a.fontSet&&(this.fontSet=a.fontSet)),r||e.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(e){this._inline=Ae(e)}get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}get fontSet(){return this._fontSet}set fontSet(e){const i=this._cleanupFontValue(e);i!==this._fontSet&&(this._fontSet=i,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(e){const i=this._cleanupFontValue(e);i!==this._fontIcon&&(this._fontIcon=i,this._updateFontIconClasses())}_splitIconName(e){if(!e)return["",""];const i=e.split(":");switch(i.length){case 1:return["",i[0]];case 2:return i;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const e=this._elementsWithExternalReferences;if(e&&e.size){const i=this._location.getPathname();i!==this._previousPath&&(this._previousPath=i,this._prependPathToReferences(i))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();const i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){const e=this._elementRef.nativeElement;let i=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();i--;){const r=e.childNodes[i];(1!==r.nodeType||"svg"===r.nodeName.toLowerCase())&&r.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const e=this._elementRef.nativeElement,i=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(r=>r.length>0);this._previousFontSetClass.forEach(r=>e.classList.remove(r)),i.forEach(r=>e.classList.add(r)),this._previousFontSetClass=i,this.fontIcon!==this._previousFontIconClass&&!i.includes("mat-ligature-font")&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return"string"==typeof e?e.trim().split(" ")[0]:e}_prependPathToReferences(e){const i=this._elementsWithExternalReferences;i&&i.forEach((r,o)=>{r.forEach(s=>{o.setAttribute(s.name,`url('${e}#${s.value}')`)})})}_cacheChildrenWithExternalReferences(e){const i=e.querySelectorAll(wW),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o{const a=i[o],l=a.getAttribute(s),c=l?l.match(xW):null;if(c){let u=r.get(a);u||(u=[],r.set(a,u)),u.push({name:s,value:c[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){const[i,r]=this._splitIconName(e);i&&(this._svgNamespace=i),r&&(this._svgName=r),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(r,i).pipe(Sn(1)).subscribe(o=>this._setSvgElement(o),o=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${i}:${r}! ${o.message}`))})}}}return n.\u0275fac=function(e){return new(e||n)(f(j),f(mf),Ui("aria-hidden"),f(bW),f(wr),f(vW,8))},n.\u0275cmp=pe({type:n,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(e,i){2&e&&(je("data-mat-icon-type",i._usingFontIcon()?"font":"svg")("data-mat-icon-name",i._svgName||i.fontIcon)("data-mat-icon-namespace",i._svgNamespace||i.fontSet),Ze("mat-icon-inline",i.inline)("mat-icon-no-color","primary"!==i.color&&"accent"!==i.color&&"warn"!==i.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[O],ngContentSelectors:fW,decls:1,vars:0,template:function(e,i){1&e&&(Mi(),_t(0))},styles:[".mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0}),n})(),DW=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({imports:[We,We]}),n})();function MW(n,t){1&n&&Q(0,"img",3),2&n&&ti("src",Y().caseStudy.featureLink,Wt)}function EW(n,t){1&n&&Q(0,"img",3),2&n&&ti("src",Y().caseStudy.featureLink,Wt)}let SW=(()=>{class n{constructor(e){this.el=e,this.state="hide",this.isEven=Kc}ngOnInit(){}checkScroll(){this.state=sr(this.el)}}return n.\u0275fac=function(e){return new(e||n)(f(j))},n.\u0275cmp=pe({type:n,selectors:[["app-case-study"]],hostBindings:function(e,i){1&e&&te("scroll",function(o){return i.checkScroll(o)},0,Jn)},inputs:{caseStudy:"caseStudy",isExpanded:"isExpanded",index:"index"},decls:19,vars:13,consts:[["fxHide","","fxShow.gt-sm","","fxLayout","row","fxLayoutGap","20px",1,"case-study",3,"fxFlexAlign","fxLayoutAlign"],["class","thumbnail",3,"src",4,"ngIf"],["fxFlexAlign","start","fxShow","","fxHide.gt-sm","","fxLayout","column","fxLayoutAlign","start center","fxLayoutGap","20px",1,"case-study"],[1,"thumbnail",3,"src"]],template:function(e,i){1&e&&(D(0,"div",0),H(1,MW,1,1,"img",1),D(2,"div")(3,"h3"),V(4),M(),D(5,"h2"),V(6),M(),D(7,"h4"),V(8),M()(),H(9,EW,1,1,"img",1),M(),D(10,"div",2),Q(11,"img",3),D(12,"div")(13,"h3"),V(14),M(),D(15,"h2"),V(16),M(),D(17,"h4"),V(18),M()()()),2&e&&(ti("fxFlexAlign",i.isEven(i.index)?"start":"end"),Ko("fxLayoutAlign","",i.isEven(i.index)?"start":"end"," center"),S("@scrollAnimation",i.state),E(1),S("ngIf",i.isEven(i.index)),E(3),Ne(i.caseStudy.organizationName),E(2),Ne(i.caseStudy.projectName),E(2),Ne(i.caseStudy.tagLine),E(1),S("ngIf",!i.isEven(i.index)),E(1),S("@scrollAnimation",i.state),E(1),ti("src",i.caseStudy.featureLink,Wt),E(3),Ne(i.caseStudy.organizationName),E(2),Ne(i.caseStudy.projectName),E(2),Ne(i.caseStudy.tagLine))},dependencies:[si,ai,ss,Oi,jM,rs],styles:[".case-study.case-study-left[_ngcontent-%COMP%]{justify-self:start}.case-study.case-study-right[_ngcontent-%COMP%]{justify-self:end}.case-study[_ngcontent-%COMP%] .thumbnail[_ngcontent-%COMP%]{width:300px;height:300px;margin-bottom:20px}.case-study[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .case-study[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .case-study[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{margin:0;padding:0}"],data:{animation:Pi}}),n})();function AW(n,t){if(1&n){const e=Er();D(0,"app-case-study",5),te("click",function(){const o=Hi(e).$implicit;return $i(Y(2).toggleExpanded(o.id))}),M()}if(2&n){const e=t.$implicit,i=t.index,r=Y(2);S("caseStudy",e)("index",i)("isExpanded",r.isExpanded)}}function TW(n,t){1&n&&(D(0,"a",15),V(1," Website "),M()),2&n&&S("href",Y(5).selectedStudy.websiteLink,Wt)}function IW(n,t){1&n&&(D(0,"a",15),V(1," GitHub "),M()),2&n&&S("href",Y(5).selectedStudy.gitHubLink,Wt)}function kW(n,t){1&n&&(D(0,"a",15),V(1," Download Article "),M()),2&n&&S("href",Y(5).selectedStudy.downloadLink,Wt)}function FW(n,t){if(1&n&&(D(0,"div",12)(1,"blockquote"),V(2),D(3,"footer"),V(4),Q(5,"br"),D(6,"cite"),V(7),M()()(),D(8,"div",13),H(9,TW,2,1,"a",14),H(10,IW,2,1,"a",14),H(11,kW,2,1,"a",14),M()()),2&n){const e=t.$implicit,i=Y(4);E(2),xn(" ",e.quote," "),E(2),xn(" ",e.name,""),E(3),Ne(e.title),E(2),S("ngIf",i.selectedStudy.websiteLink),E(1),S("ngIf",i.selectedStudy.gitHubLink),E(1),S("ngIf",i.selectedStudy.downloadLink)}}function RW(n,t){if(1&n&&(D(0,"div"),H(1,FW,12,6,"div",11),M()),2&n){const e=Y(3);E(1),S("ngForOf",e.selectedStudy.testimonials)}}function OW(n,t){if(1&n){const e=Er();D(0,"div",6)(1,"button",7),te("click",function(){Hi(e);const r=Y(2);return $i(r.toggleExpanded(r.selectedStudy.id))}),D(2,"mat-icon"),V(3,"arrow_back"),M()(),D(4,"div",8),Q(5,"img",9),D(6,"div")(7,"h3"),V(8),M(),D(9,"h2"),V(10),M(),D(11,"p"),V(12),M(),H(13,RW,2,1,"div",10),M()()()}if(2&n){const e=Y(2);S("@scrollAnimation",e.expandedState),E(5),ti("src",e.selectedStudy.imageLink,Wt),E(3),Ne(e.selectedStudy.organizationName),E(2),Ne(e.selectedStudy.projectName),E(2),Ne(e.selectedStudy.description),E(1),S("ngIf",e.selectedStudy.testimonials)}}function PW(n,t){if(1&n&&(D(0,"div",1)(1,"div",2),H(2,AW,1,3,"app-case-study",3),M(),H(3,OW,14,6,"div",4),M()),2&n){const e=Y();E(2),S("ngForOf",e.caseStudies),E(1),S("ngIf",e.isExpanded&&e.selectedStudyId&&e.selectedStudy)}}let LW=(()=>{class n{constructor(e){this.api=e,this.isExpanded=!1,this.expandedState="hide",this.isEven=Kc,this.bgClasses=["bg-primary","bg-primary-dark-1","bg-primary-dark-2","bg-primary-dark-3","bg-primary-dark-4"]}ngOnInit(){this.api.getCaseStudies().subscribe(e=>{this.caseStudies=e})}toggleExpanded(e){this.selectedStudyId!==e?(this.selectedStudyId=e,this.selectedStudy=this.caseStudies.find(i=>i.id===this.selectedStudyId),this.isExpanded=!0):this.isExpanded=!this.isExpanded,this.expandedState=this.isExpanded?"show":"hide"}getColumnSize(e){let i;return i=this.isExpanded?this.selectedStudyId===e.id?60:40/(this.caseStudies.length-1):100/this.caseStudies.length,`${i}%`}openDialog(e){console.log("url",e)}tallestHeight(){let e=0;const i=document.getElementsByClassName("case-study-details");for(let r=0;re&&(e=o.clientHeight)}return`${e}px`}}return n.\u0275fac=function(e){return new(e||n)(f(el))},n.\u0275cmp=pe({type:n,selectors:[["app-case-studies"]],decls:5,vars:1,consts:[["class","case-studies",4,"ngIf"],[1,"case-studies"],["fxLayout","column","fxLayoutGap","80px"],[3,"caseStudy","index","isExpanded","click",4,"ngFor","ngForOf"],["class","selected-case-study","fxLayout","column","fxLayoutGap","20px",4,"ngIf"],[3,"caseStudy","index","isExpanded","click"],["fxLayout","column","fxLayoutGap","20px",1,"selected-case-study"],["mat-fab","","color","primary","id","back",3,"click"],["fxLayout","row","fxLayout.lt-md","column","fxLayoutGap","40px","fxLayoutAlign","center center"],[1,"full-size",3,"src"],[4,"ngIf"],["class","testimonial",4,"ngFor","ngForOf"],[1,"testimonial"],["fxLayout","row","fxLayoutGap","10px"],["mat-flat-button","","target","_blank",3,"href",4,"ngIf"],["mat-flat-button","","target","_blank",3,"href"]],template:function(e,i){1&e&&(D(0,"h1"),V(1,"Sample Engagements "),D(2,"em"),V(3,"Click on the images below to learn more, including feedback from our clients."),M()(),H(4,PW,4,2,"div",0)),2&e&&(E(4),S("ngIf",i.caseStudies&&i.caseStudies.length>0))},dependencies:[oi,si,ai,ss,Oi,Oy,Qc,yT,SW],styles:['@charset "UTF-8";h1[_ngcontent-%COMP%]{padding:80px;max-width:1280px}@media screen and (max-width: 599px){h1[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}}@media screen and (min-width: 600px) and (max-width: 959px){h1[_ngcontent-%COMP%]{padding-left:10%;padding-right:10%}}@media screen and (min-width: 960px) and (max-width: 1279px){h1[_ngcontent-%COMP%]{padding-left:20%;padding-right:20%}}h1[_ngcontent-%COMP%] em[_ngcontent-%COMP%]{display:block;font-size:20px}.case-studies[_ngcontent-%COMP%]{width:50%;margin-left:auto;margin-right:auto;margin-bottom:80px}app-case-study[_ngcontent-%COMP%]{cursor:pointer}.selected-case-study[_ngcontent-%COMP%]{position:fixed;width:100%;height:100%;top:0;left:0;background-color:#231f20;z-index:1000;overflow:auto}@media screen and (max-width: 599px){.selected-case-study[_ngcontent-%COMP%]{padding:2em}}@media screen and (min-width: 600px) and (max-width: 959px){.selected-case-study[_ngcontent-%COMP%]{padding:4em}}@media screen and (min-width: 960px) and (max-width: 1279px){.selected-case-study[_ngcontent-%COMP%]{padding:8em}}@media screen and (min-width: 1280px) and (max-width: 1919px){.selected-case-study[_ngcontent-%COMP%]{padding:8em}}@media screen and (min-width: 1920px) and (max-width: 5000px){.selected-case-study[_ngcontent-%COMP%]{padding:8em}}.selected-case-study[_ngcontent-%COMP%] #back[_ngcontent-%COMP%]{position:fixed;top:20px;left:20px;color:#fff}.selected-case-study[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .selected-case-study[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .selected-case-study[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .selected-case-study[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-top:0;margin-bottom:0;color:#fff}.selected-case-study[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{margin-bottom:2em}.selected-case-study[_ngcontent-%COMP%] img.full-size[_ngcontent-%COMP%]{max-width:80vw;max-height:50vh}blockquote[_ngcontent-%COMP%]{position:relative;font-size:24px;font-style:italic;color:#fff}blockquote[_ngcontent-%COMP%]:before{content:"\\201c";position:absolute;top:-40px;left:-40px;color:#52494b;font-size:6em;z-index:-1}blockquote[_ngcontent-%COMP%] footer[_ngcontent-%COMP%]{margin-left:1em;margin-top:1em;font-size:16px;position:relative}blockquote[_ngcontent-%COMP%] footer[_ngcontent-%COMP%]:before{content:"-";position:absolute;top:0;left:-10px}'],data:{animation:Pi}}),n})(),vT=(()=>{class n{constructor(e,i){this._renderer=e,this._elementRef=i,this.onChange=r=>{},this.onTouched=()=>{}}setProperty(e,i){this._renderer.setProperty(this._elementRef.nativeElement,e,i)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}}return n.\u0275fac=function(e){return new(e||n)(f(qt),f(j))},n.\u0275dir=T({type:n}),n})(),ws=(()=>{class n extends vT{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=U(n)))(i||n)}}(),n.\u0275dir=T({type:n,features:[O]}),n})();const di=new P("NgValueAccessor"),VW={provide:di,useExisting:Te(()=>tu),multi:!0},HW=new P("CompositionEventMode");let tu=(()=>{class n extends vT{constructor(e,i,r){super(e,i),this._compositionMode=r,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function BW(){const n=er()?er().getUserAgent():"";return/android (\d+)/.test(n.toLowerCase())}())}writeValue(e){this.setProperty("value",e??"")}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}return n.\u0275fac=function(e){return new(e||n)(f(qt),f(j),f(HW,8))},n.\u0275dir=T({type:n,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(e,i){1&e&&te("input",function(o){return i._handleInput(o.target.value)})("blur",function(){return i.onTouched()})("compositionstart",function(){return i._compositionStart()})("compositionend",function(o){return i._compositionEnd(o.target.value)})},features:[Me([VW]),O]}),n})();function bo(n){return null==n||("string"==typeof n||Array.isArray(n))&&0===n.length}function CT(n){return null!=n&&"number"==typeof n.length}const Ht=new P("NgValidators"),Co=new P("NgAsyncValidators"),jW=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class Li{static min(t){return function wT(n){return t=>{if(bo(t.value)||bo(n))return null;const e=parseFloat(t.value);return!isNaN(e)&&e{if(bo(t.value)||bo(n))return null;const e=parseFloat(t.value);return!isNaN(e)&&e>n?{max:{max:n,actual:t.value}}:null}}(t)}static required(t){return DT(t)}static requiredTrue(t){return function MT(n){return!0===n.value?null:{required:!0}}(t)}static email(t){return function ET(n){return bo(n.value)||jW.test(n.value)?null:{email:!0}}(t)}static minLength(t){return function ST(n){return t=>bo(t.value)||!CT(t.value)?null:t.value.lengthCT(t.value)&&t.value.length>n?{maxlength:{requiredLength:n,actualLength:t.value.length}}:null}(t)}static pattern(t){return function TT(n){if(!n)return yf;let t,e;return"string"==typeof n?(e="","^"!==n.charAt(0)&&(e+="^"),e+=n,"$"!==n.charAt(n.length-1)&&(e+="$"),t=new RegExp(e)):(e=n.toString(),t=n),i=>{if(bo(i.value))return null;const r=i.value;return t.test(r)?null:{pattern:{requiredPattern:e,actualValue:r}}}}(t)}static nullValidator(t){return null}static compose(t){return PT(t)}static composeAsync(t){return LT(t)}}function DT(n){return bo(n.value)?{required:!0}:null}function yf(n){return null}function IT(n){return null!=n}function kT(n){return ic(n)?He(n):n}function FT(n){let t={};return n.forEach(e=>{t=null!=e?{...t,...e}:t}),0===Object.keys(t).length?null:t}function RT(n,t){return t.map(e=>e(n))}function OT(n){return n.map(t=>function GW(n){return!n.validate}(t)?t:e=>t.validate(e))}function PT(n){if(!n)return null;const t=n.filter(IT);return 0==t.length?null:function(e){return FT(RT(e,t))}}function $y(n){return null!=n?PT(OT(n)):null}function LT(n){if(!n)return null;const t=n.filter(IT);return 0==t.length?null:function(e){return hT(RT(e,t).map(kT)).pipe(z(FT))}}function jy(n){return null!=n?LT(OT(n)):null}function NT(n,t){return null===n?[t]:Array.isArray(n)?[...n,t]:[n,t]}function VT(n){return n._rawValidators}function BT(n){return n._rawAsyncValidators}function Gy(n){return n?Array.isArray(n)?n:[n]:[]}function vf(n,t){return Array.isArray(n)?n.includes(t):n===t}function HT(n,t){const e=Gy(t);return Gy(n).forEach(r=>{vf(e,r)||e.push(r)}),e}function $T(n,t){return Gy(t).filter(e=>!vf(n,e))}class jT{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=$y(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=jy(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t){this.control&&this.control.reset(t)}hasError(t,e){return!!this.control&&this.control.hasError(t,e)}getError(t,e){return this.control?this.control.getError(t,e):null}}class gn extends jT{get formDirective(){return null}get path(){return null}}class ar extends jT{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}let sl=(()=>{class n extends class GT{constructor(t){this._cd=t}get isTouched(){var t,e;return!(null===(t=this._cd)||void 0===t||null===(e=t.control)||void 0===e||!e.touched)}get isUntouched(){var t,e;return!(null===(t=this._cd)||void 0===t||null===(e=t.control)||void 0===e||!e.untouched)}get isPristine(){var t,e;return!(null===(t=this._cd)||void 0===t||null===(e=t.control)||void 0===e||!e.pristine)}get isDirty(){var t,e;return!(null===(t=this._cd)||void 0===t||null===(e=t.control)||void 0===e||!e.dirty)}get isValid(){var t,e;return!(null===(t=this._cd)||void 0===t||null===(e=t.control)||void 0===e||!e.valid)}get isInvalid(){var t,e;return!(null===(t=this._cd)||void 0===t||null===(e=t.control)||void 0===e||!e.invalid)}get isPending(){var t,e;return!(null===(t=this._cd)||void 0===t||null===(e=t.control)||void 0===e||!e.pending)}get isSubmitted(){var t;return!(null===(t=this._cd)||void 0===t||!t.submitted)}}{constructor(e){super(e)}}return n.\u0275fac=function(e){return new(e||n)(f(ar,2))},n.\u0275dir=T({type:n,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,i){2&e&&Ze("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)},features:[O]}),n})();const nu="VALID",Cf="INVALID",al="PENDING",iu="DISABLED";function qy(n){return(wf(n)?n.validators:n)||null}function zT(n){return Array.isArray(n)?$y(n):n||null}function Yy(n,t){return(wf(t)?t.asyncValidators:n)||null}function WT(n){return Array.isArray(n)?jy(n):n||null}function wf(n){return null!=n&&!Array.isArray(n)&&"object"==typeof n}function qT(n,t,e){const i=n.controls;if(!(t?Object.keys(i):i).length)throw new I(1e3,"");if(!i[e])throw new I(1001,"")}function YT(n,t,e){n._forEachChild((i,r)=>{if(void 0===e[r])throw new I(1002,"")})}class xf{constructor(t,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=t,this._rawAsyncValidators=e,this._composedValidatorFn=zT(this._rawValidators),this._composedAsyncValidatorFn=WT(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===nu}get invalid(){return this.status===Cf}get pending(){return this.status==al}get disabled(){return this.status===iu}get enabled(){return this.status!==iu}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._rawValidators=t,this._composedValidatorFn=zT(t)}setAsyncValidators(t){this._rawAsyncValidators=t,this._composedAsyncValidatorFn=WT(t)}addValidators(t){this.setValidators(HT(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(HT(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators($T(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators($T(t,this._rawAsyncValidators))}hasValidator(t){return vf(this._rawValidators,t)}hasAsyncValidator(t){return vf(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=al,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=iu,this.errors=null,this._forEachChild(i=>{i.disable({...t,onlySelf:!0})}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...t,skipPristineCheck:e}),this._onDisabledChange.forEach(i=>i(!0))}enable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=nu,this._forEachChild(i=>{i.enable({...t,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors({...t,skipPristineCheck:e}),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===nu||this.status===al)&&this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?iu:nu}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=al,this._hasOwnPendingAsyncValidator=!0;const e=kT(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(i=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(i,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)}get(t){let e=t;return null==e||(Array.isArray(e)||(e=e.split(".")),0===e.length)?null:e.reduce((i,r)=>i&&i._find(r),this)}getError(t,e){const i=e?this.get(e):this;return i&&i.errors?i.errors[t]:null}hasError(t,e){return!!this.getError(t,e)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new he,this.statusChanges=new he}_calculateStatus(){return this._allControlsDisabled()?iu:this.errors?Cf:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(al)?al:this._anyControlsHaveStatus(Cf)?Cf:nu}_anyControlsHaveStatus(t){return this._anyControls(e=>e.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){wf(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(t){return null}}class wo extends xf{constructor(t,e,i){super(qy(e),Yy(i,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e,i={}){this.registerControl(t,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(t,e,i={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){YT(this,0,t),Object.keys(t).forEach(i=>{qT(this,!0,i),this.controls[i].setValue(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(Object.keys(t).forEach(i=>{const r=this.controls[i];r&&r.patchValue(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t={},e={}){this._forEachChild((i,r)=>{i.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(t,e,i)=>(t[i]=e.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(e,i)=>!!i._syncPendingControls()||e);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(e=>{const i=this.controls[e];i&&t(i,e)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const[e,i]of Object.entries(this.controls))if(this.contains(e)&&t(i))return!0;return!1}_reduceValue(){return this._reduceChildren({},(e,i,r)=>((i.enabled||this.disabled)&&(e[r]=i.value),e))}_reduceChildren(t,e){let i=t;return this._forEachChild((r,o)=>{i=e(i,r,o)}),i}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}}const ZW=wo;function ru(n,t){var e,i;Qy(n,t),t.valueAccessor.writeValue(n.value),n.disabled&&(null===(e=(i=t.valueAccessor).setDisabledState)||void 0===e||e.call(i,!0)),function eq(n,t){t.valueAccessor.registerOnChange(e=>{n._pendingValue=e,n._pendingChange=!0,n._pendingDirty=!0,"change"===n.updateOn&&QT(n,t)})}(n,t),function nq(n,t){const e=(i,r)=>{t.valueAccessor.writeValue(i),r&&t.viewToModelUpdate(i)};n.registerOnChange(e),t._registerOnDestroy(()=>{n._unregisterOnChange(e)})}(n,t),function tq(n,t){t.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,"blur"===n.updateOn&&n._pendingChange&&QT(n,t),"submit"!==n.updateOn&&n.markAsTouched()})}(n,t),function JW(n,t){if(t.valueAccessor.setDisabledState){const e=i=>{t.valueAccessor.setDisabledState(i)};n.registerOnDisabledChange(e),t._registerOnDestroy(()=>{n._unregisterOnDisabledChange(e)})}}(n,t)}function Mf(n,t,e=!0){const i=()=>{};t.valueAccessor&&(t.valueAccessor.registerOnChange(i),t.valueAccessor.registerOnTouched(i)),Sf(n,t),n&&(t._invokeOnDestroyCallbacks(),n._registerOnCollectionChange(()=>{}))}function Ef(n,t){n.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(t)})}function Qy(n,t){const e=VT(n);null!==t.validator?n.setValidators(NT(e,t.validator)):"function"==typeof e&&n.setValidators([e]);const i=BT(n);null!==t.asyncValidator?n.setAsyncValidators(NT(i,t.asyncValidator)):"function"==typeof i&&n.setAsyncValidators([i]);const r=()=>n.updateValueAndValidity();Ef(t._rawValidators,r),Ef(t._rawAsyncValidators,r)}function Sf(n,t){let e=!1;if(null!==n){if(null!==t.validator){const r=VT(n);if(Array.isArray(r)&&r.length>0){const o=r.filter(s=>s!==t.validator);o.length!==r.length&&(e=!0,n.setValidators(o))}}if(null!==t.asyncValidator){const r=BT(n);if(Array.isArray(r)&&r.length>0){const o=r.filter(s=>s!==t.asyncValidator);o.length!==r.length&&(e=!0,n.setAsyncValidators(o))}}}const i=()=>{};return Ef(t._rawValidators,i),Ef(t._rawAsyncValidators,i),e}function QT(n,t){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function KT(n,t){Qy(n,t)}function XT(n,t){n._syncPendingControls(),t.forEach(e=>{const i=e.control;"submit"===i.updateOn&&i._pendingChange&&(e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}const aq={provide:gn,useExisting:Te(()=>su)},ou=(()=>Promise.resolve())();let su=(()=>{class n extends gn{constructor(e,i){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new he,this.form=new wo({},$y(e),jy(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){ou.then(()=>{const i=this._findContainer(e.path);e.control=i.registerControl(e.name,e.control),ru(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){ou.then(()=>{const i=this._findContainer(e.path);i&&i.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){ou.then(()=>{const i=this._findContainer(e.path),r=new wo({});KT(r,e),i.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){ou.then(()=>{const i=this._findContainer(e.path);i&&i.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,i){ou.then(()=>{this.form.get(e.path).setValue(i)})}setValue(e){this.control.setValue(e)}onSubmit(e){var i;return this.submitted=!0,XT(this.form,this._directives),this.ngSubmit.emit(e),"dialog"===(null==e||null===(i=e.target)||void 0===i?void 0:i.method)}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}}return n.\u0275fac=function(e){return new(e||n)(f(Ht,10),f(Co,10))},n.\u0275dir=T({type:n,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,i){1&e&&te("submit",function(o){return i.onSubmit(o)})("reset",function(){return i.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Me([aq]),O]}),n})();function JT(n,t){const e=n.indexOf(t);e>-1&&n.splice(e,1)}function eI(n){return"object"==typeof n&&null!==n&&2===Object.keys(n).length&&"value"in n&&"disabled"in n}const xs=class extends xf{constructor(t=null,e,i){super(qy(e),Yy(i,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),wf(e)&&(e.nonNullable||e.initialValueIsDefault)&&(this.defaultValue=eI(t)?t.value:t)}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(i=>i(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(t,e={}){this.setValue(t,e)}reset(t=this.defaultValue,e={}){this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){JT(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){JT(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(t){eI(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}},hq={provide:di,useExisting:Te(()=>Xy),multi:!0};let Xy=(()=>{class n extends ws{writeValue(e){this.setProperty("value",e??"")}registerOnChange(e){this.onChange=i=>{e(""==i?null:parseFloat(i))}}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=U(n)))(i||n)}}(),n.\u0275dir=T({type:n,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(e,i){1&e&&te("input",function(o){return i.onChange(o.target.value)})("blur",function(){return i.onTouched()})},features:[Me([hq]),O]}),n})(),oI=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({}),n})();const Jy=new P("NgModelWithFormControlWarning"),mq={provide:ar,useExisting:Te(()=>Ds)};let Ds=(()=>{class n extends ar{constructor(e,i,r,o){super(),this._ngModelWarningConfig=o,this.update=new he,this._ngModelWarningSent=!1,this._setValidators(e),this._setAsyncValidators(i),this.valueAccessor=function Zy(n,t){if(!t)return null;let e,i,r;return Array.isArray(t),t.forEach(o=>{o.constructor===tu?e=o:function oq(n){return Object.getPrototypeOf(n.constructor)===ws}(o)?i=o:r=o}),r||i||e||null}(0,r)}set isDisabled(e){}ngOnChanges(e){if(this._isControlChanged(e)){const i=e.form.previousValue;i&&Mf(i,this,!1),ru(this.form,this),this.form.updateValueAndValidity({emitEvent:!1})}(function Ky(n,t){if(!n.hasOwnProperty("model"))return!1;const e=n.model;return!!e.isFirstChange()||!Object.is(t,e.currentValue)})(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Mf(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}}return n._ngModelWarningSentOnce=!1,n.\u0275fac=function(e){return new(e||n)(f(Ht,10),f(Co,10),f(di,10),f(Jy,8))},n.\u0275dir=T({type:n,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[Me([mq]),O,nt]}),n})();const _q={provide:gn,useExisting:Te(()=>ll)};let ll=(()=>{class n extends gn{constructor(e,i){super(),this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new he,this._setValidators(e),this._setAsyncValidators(i)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Sf(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const i=this.form.get(e.path);return ru(i,e),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),i}getControl(e){return this.form.get(e.path)}removeControl(e){Mf(e.control||null,e,!1),function sq(n,t){const e=n.indexOf(t);e>-1&&n.splice(e,1)}(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,i){this.form.get(e.path).setValue(i)}onSubmit(e){var i;return this.submitted=!0,XT(this.form,this.directives),this.ngSubmit.emit(e),"dialog"===(null==e||null===(i=e.target)||void 0===i?void 0:i.method)}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{const i=e.control,r=this.form.get(e.path);i!==r&&(Mf(i||null,e),(n=>n instanceof xs)(r)&&(ru(r,e),e.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const i=this.form.get(e.path);KT(i,e),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const i=this.form.get(e.path);i&&function iq(n,t){return Sf(n,t)}(i,e)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Qy(this.form,this),this._oldForm&&Sf(this._oldForm,this)}_checkFormPresent(){}}return n.\u0275fac=function(e){return new(e||n)(f(Ht,10),f(Co,10))},n.\u0275dir=T({type:n,selectors:[["","formGroup",""]],hostBindings:function(e,i){1&e&&te("submit",function(o){return i.onSubmit(o)})("reset",function(){return i.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Me([_q]),O,nt]}),n})(),Ms=(()=>{class n{constructor(){this._validator=yf}ngOnChanges(e){if(this.inputName in e){const i=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(i),this._validator=this._enabled?this.createValidator(i):yf,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return null!=e}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=T({type:n,features:[nt]}),n})();const Tq={provide:Ht,useExisting:Te(()=>Es),multi:!0};let Es=(()=>{class n extends Ms{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=Ar,this.createValidator=e=>DT}enabled(e){return e}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=U(n)))(i||n)}}(),n.\u0275dir=T({type:n,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(e,i){2&e&&je("required",i._enabled?"":null)},inputs:{required:"required"},features:[Me([Tq]),O]}),n})(),bI=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({imports:[oI]}),n})(),Pq=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({imports:[bI]}),n})(),xo=(()=>{class n{static withConfig(e){return{ngModule:n,providers:[{provide:Jy,useValue:e.warnOnNgModelWithFormControl}]}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({imports:[bI]}),n})();class ov extends xf{constructor(t,e,i){super(qy(e),Yy(i,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(t){return this.controls[this._adjustIndex(t)]}push(t,e={}){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(t,e,i={}){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:i.emitEvent})}removeAt(t,e={}){let i=this._adjustIndex(t);i<0&&(i=0),this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),this.controls.splice(i,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(t,e,i={}){let r=this._adjustIndex(t);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),e&&(this.controls.splice(r,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,e={}){YT(this,0,t),t.forEach((i,r)=>{qT(this,!1,r),this.at(r).setValue(i,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(t.forEach((i,r)=>{this.at(r)&&this.at(r).patchValue(i,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t=[],e={}){this._forEachChild((i,r)=>{i.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(t=>t.getRawValue())}clear(t={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:t.emitEvent}))}_adjustIndex(t){return t<0?t+this.length:t}_syncPendingControls(){let t=this.controls.reduce((e,i)=>!!i._syncPendingControls()||e,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){this.controls.forEach((e,i)=>{t(e,i)})}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value)}_anyControls(t){return this.controls.some(e=>e.enabled&&t(e))}_setUpControls(){this._forEachChild(t=>this._registerControl(t))}_allControlsDisabled(){for(const t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}_find(t){var e;return null!==(e=this.at(t))&&void 0!==e?e:null}}let Lq=(()=>{class n{constructor(e,i){this.el=e,this.api=i,this.state="hide",this.form=new ZW({}),this.model={},this.errorEmitter=new he,this.fields=[{key:"contact_name",type:"input",templateOptions:{type:"text",placeholder:"Name",required:!0}},{key:"organization",type:"input",templateOptions:{type:"text",placeholder:"Organization",required:!0}},{key:"_replyto",type:"input",templateOptions:{type:"email",placeholder:"Email address",required:!0},validators:{validation:["email"]}},{key:"message",type:"textarea",templateOptions:{placeholder:"Message",required:!0,autosize:!0,autosizeMinRows:3,autosizeMaxRows:10}}]}ngOnInit(){}checkScroll(){this.state=sr(this.el)}}return n.\u0275fac=function(e){return new(e||n)(f(j),f(el))},n.\u0275cmp=pe({type:n,selectors:[["app-contact-us"]],hostBindings:function(e,i){1&e&&te("scroll",function(o){return i.checkScroll(o)},0,Jn)},decls:9,vars:1,consts:[[1,"contact-us"],[1,"container","form-container"],[1,"margin-bottom-2"]],template:function(e,i){1&e&&(D(0,"div",0)(1,"div",1)(2,"div",2)(3,"h1"),V(4,"Contact Us"),M(),D(5,"h2"),V(6,"Email: Dan@Sartography.com"),M(),D(7,"h2"),V(8,"Cell: 540-457-0024 "),M()()()()),2&e&&S("@scrollAnimation",i.state)},styles:[".contact-us[_ngcontent-%COMP%]{background-color:#d5d0d1}"],data:{animation:Pi}}),n})(),Nq=(()=>{class n{constructor(e){this.el=e,this.state="hide",this.today=Date.now()}ngOnInit(){}checkScroll(){this.state=sr(this.el)}}return n.\u0275fac=function(e){return new(e||n)(f(j))},n.\u0275cmp=pe({type:n,selectors:[["app-footer"]],hostBindings:function(e,i){1&e&&te("scroll",function(o){return i.checkScroll(o)},0,Jn)},decls:20,vars:6,consts:[["fxLayout","column","fxLayout.gt-md","row wrap","fxLayoutAlign","center center",1,"footer"],["fxFlex","75%"],["inlineSVG","/assets/logo/Sartography-Logo-Horizontal-White.svg",1,"footer-logo"],["fxFlex","25%"],[1,"mat-body-1"],[1,"text-primary"],["href","mailto://support@sartography.com"],["href","tel:+15404570024"],["fxFlex","100%",1,"mat-caption","copyright"]],template:function(e,i){1&e&&(D(0,"footer",0)(1,"div",1),Q(2,"span",2),M(),D(3,"div",3)(4,"address",4)(5,"span",5),V(6,"Sartography"),M(),Q(7,"br"),V(8," PO Box 3003"),Q(9,"br"),V(10," Staunton VA 24402"),Q(11,"br"),D(12,"a",6),V(13,"support@sartography.com"),M(),Q(14,"br"),D(15,"a",7),V(16,"540.457.0024"),M()()(),D(17,"p",8),V(18),Xi(19,"date"),M()()),2&e&&(E(1),S("@scrollAnimation",i.state),E(2),S("@scrollAnimation",i.state),E(15),xn("Copyright \xa9 ",dc(19,3,i.today,"yyyy")," Sartography LLC. All Rights Reserved."))},dependencies:[ai,Oi,Ua,Wa,kD],styles:["footer[_ngcontent-%COMP%]{background-color:#231f20;color:#fff}footer[_ngcontent-%COMP%] .footer-logo svg{max-width:100%;max-height:25vh}footer[_ngcontent-%COMP%] address[_ngcontent-%COMP%]{font-style:normal}footer[_ngcontent-%COMP%] .copyright[_ngcontent-%COMP%]{margin-top:2em;text-align:center;color:#52494b}"],data:{animation:Pi}}),n})(),Vq=(()=>{class n{constructor(e){this.el=e,this.sectionChange=new he}onScroll(){let e;const i=window.innerHeight/2,r=window.pageYOffset||document.documentElement.scrollTop;for(const o of this.el.nativeElement.children)o.classList.contains("scroll-spy-section")&&o.offsetTop<=r+i&&(e=o.id);e!==this.currentSection&&(console.log("currentSection",e),this.currentSection=e,this.sectionChange.emit(this.currentSection))}}return n.\u0275fac=function(e){return new(e||n)(f(j))},n.\u0275dir=T({type:n,selectors:[["","scrollSpy",""]],hostBindings:function(e,i){1&e&&te("scroll",function(){return i.onScroll()},0,Jn)},outputs:{sectionChange:"sectionChange"}}),n})();const Bq=["scrollSpySection"];function Hq(n,t){1&n&&(D(0,"mat-icon"),V(1,"menu"),M())}function $q(n,t){1&n&&(D(0,"mat-icon"),V(1,"close"),M())}const jq=function(n){return{active:n}};function Gq(n,t){if(1&n){const e=Er();D(0,"a",8),te("click",function(){const o=Hi(e).$implicit;return $i(Y().onMenuClick(o.id))}),V(1),M()}if(2&n){const e=t.$implicit,i=Y();Ko("href","#",e.id,"",Wt)("id","",e.id,"_menu_link"),S("pageScrollAdjustHash",!0)("ngClass",Ai(5,jq,i.currentSection===e.id)),E(1),Ne(e.label)}}function Uq(n,t){1&n&&Qi(0)}function zq(n,t){if(1&n&&(D(0,"div",9),H(1,Uq,1,0,"ng-container",10),M()),2&n){const e=t.$implicit;ti("id",e.id),E(1),S("ngComponentOutlet",e.component)}}const Wq=function(n){return{expanded:n}},qq=function(n,t){return{"top.px":n,opacity:t}};let Yq=(()=>{class n{constructor(e){this.changeDetector=e,this.menuLinks=[{id:"header",label:"Home",component:q4},{id:"welcome",label:"Intro",component:Y4},{id:"about_us",label:"About Us",component:n8},{id:"logo_values",label:"Our Values",component:s8},{id:"team",label:"Our Team",component:hW},{id:"case_studies",label:"Projects",component:LW},{id:"contact_us",label:"Contact",component:Lq}],this.title="Sartography",this.currentSection="header",this.showIndicator=!1,this.isExpanded=!1,this.scrollTimer=-1}ngAfterViewInit(){}moveSelectedIndicator(e){this.currentSection=e;const i=document.getElementById(`${this.currentSection}_menu_link`);this.activeLinkTop=i.offsetTop}onMenuClick(e){this.showIndicator=!0,this.onSectionChange(e)}onSectionChange(e){this.currentSection=e,this.moveSelectedIndicator(this.currentSection)}scrollTo(e){document.querySelector("#"+e).scrollIntoView()}toggleMenu(){this.isExpanded=!this.isExpanded}keepMenuOpen(){this.isExpanded=!0,clearTimeout(this.scrollTimer)}}return n.\u0275fac=function(e){return new(e||n)(f(Dn))},n.\u0275cmp=pe({type:n,selectors:[["app-home"]],viewQuery:function(e,i){if(1&e&&et(Bq,5),2&e){let r;_e(r=ye())&&(i.scrollSpySections=r)}},decls:9,vars:11,consts:[["scrollSpy","",1,"main",3,"sectionChange"],["mat-fab","","color","primary",1,"toggle-menu",3,"click"],[4,"ngIf"],["id","menu","fxLayout","column","fxLayoutGap","20px","fxLayoutAlign","center end",3,"ngClass","mouseover","mouseout"],["mat-button","","pageScroll","",3,"pageScrollAdjustHash","href","ngClass","id","click",4,"ngFor","ngForOf"],["id","selected_indicator",3,"ngStyle"],["class","scroll-spy-section",3,"id",4,"ngFor","ngForOf"],["id","footer"],["mat-button","","pageScroll","",3,"pageScrollAdjustHash","href","ngClass","id","click"],[1,"scroll-spy-section",3,"id"],[4,"ngComponentOutlet"]],template:function(e,i){1&e&&(D(0,"div",0),te("sectionChange",function(o){return i.onSectionChange(o)}),D(1,"button",1),te("click",function(){return i.toggleMenu()}),H(2,Hq,2,0,"mat-icon",2),H(3,$q,2,0,"mat-icon",2),M(),D(4,"div",3),te("mouseover",function(){return i.keepMenuOpen()})("mouseout",function(){return i.isExpanded=!1}),H(5,Gq,2,7,"a",4),Q(6,"div",5),M(),H(7,zq,2,2,"div",6),Q(8,"app-footer",7),M()),2&e&&(E(2),S("ngIf",!i.isExpanded),E(1),S("ngIf",i.isExpanded),E(1),S("ngClass",Ai(6,Wq,i.isExpanded)),E(1),S("ngForOf",i.menuLinks),E(1),S("ngStyle",function nx(n,t,e,i,r){return ox(R(),ln(),n,t,e,i,r)}(8,qq,i.activeLinkTop,i.showIndicator?1:0)),E(1),S("ngForOf",i.menuLinks))},dependencies:[ns,DD,oi,si,nh,ai,ss,Oi,Jm,LM,Oy,Qc,yT,py,Nq,Vq],styles:[".toggle-menu[_ngcontent-%COMP%]{position:fixed;top:20px;right:20px;z-index:101;background-color:#247a6b;width:56px;height:56px}#menu[_ngcontent-%COMP%]{position:fixed;top:0;right:-300px;z-index:100;height:100vh;width:300px;background-color:#fffc;padding:80px;transition:all 1s ease-in-out}#menu.expanded[_ngcontent-%COMP%]{right:0}#menu[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{transition:all 1s ease-in-out .5s}#menu[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{font-weight:500;border-right:2px solid #247a6b;border-top-right-radius:0;border-bottom-right-radius:0}#selected_indicator[_ngcontent-%COMP%]{position:absolute;top:0;right:80px;width:2px;height:36px;background-color:#247a6b;transition:all 1s ease-in-out;opacity:0}"],changeDetection:0}),n})();function au(n){return!!n&&(n instanceof Re||be(n.lift)&&be(n.subscribe))}const Qq=["container"];function Kq(n,t){}function Zq(n,t){1&n&&Q(0,"formly-field",1),2&n&&S("field",t.$implicit)}const Xq=["*"],CI=["fieldComponent"];function e6(n,t,e){if(t.id)return t.id;let i=t.type;return!i&&t.template&&(i="template"),i instanceof $o&&(i=i.prototype.constructor.name),[n,i,t.key,e].join("_")}function Pt(n){return!Do(n.key)&&""!==n.key}function Ss(n){var t;if(!Pt(n))return[];if((null===(t=n._keyPath)||void 0===t?void 0:t.key)!==n.key){let e=[];if("string"==typeof n.key){const i=-1===n.key.indexOf("[")?n.key:n.key.replace(/\[(\w+)\]/g,".$1");e=-1!==i.indexOf(".")?i.split("."):[i]}else e=Array.isArray(n.key)?n.key.slice(0):[`${n.key}`];kt(n,"_keyPath",{key:n.key,path:e})}return n._keyPath.path.slice(0)}const sv=["required","pattern","minLength","maxLength","min","max"];function Af(n,t){let e=Ss(n);if(0===e.length)return;let i=n;for(;i.parent;)i=i.parent,e=[...Ss(i),...e];if(void 0===t&&n.resetOnHide){const r=e.pop();delete e.reduce((s,a)=>s[a]||{},i.model)[r]}else!function t6(n,t,e){for(let i=0;i{for(const i in e)Do(n[i])||n6(n[i])?n[i]=Mo(e[i]):i6(n[i],e[i])&&ul(n[i],e[i])}),n}function Do(n){return null==n}function Tf(n){return void 0===n}function n6(n){return""===n}function av(n){return"function"==typeof n}function i6(n,t){return lr(n)&&lr(t)&&Object.getPrototypeOf(n)===Object.getPrototypeOf(t)&&!(Array.isArray(n)||Array.isArray(t))}function lr(n){return null!=n&&"object"==typeof n}function Mo(n){if(!lr(n)||au(n)||n instanceof Ti||n.changingThisBreaksApplicationSecurity||-1!==["RegExp","FileList","File","Blob"].indexOf(n.constructor.name))return n;if(n instanceof Set)return new Set(n);if(n instanceof Map)return new Map(n);if(n._isAMomentObject&&av(n.clone))return n.clone();if(n instanceof xf)return null;if(n instanceof Date)return new Date(n.getTime());if(Array.isArray(n))return n.slice(0).map(i=>Mo(i));const t=Object.getPrototypeOf(n);let e=Object.create(t);return e=Object.setPrototypeOf(e,t),Object.keys(n).reduce((i,r)=>{const o=Object.getOwnPropertyDescriptor(n,r);return o.get?Object.defineProperty(i,r,o):i[r]=Mo(n[r]),i},e)}function kt(n,t,e){Object.defineProperty(n,t,{enumerable:!1,writable:!0,configurable:!0}),n[t]=e}function lv(n,t,e){let i=[];const r=()=>{i.forEach(s=>s()),i=[]},o=$t(n,t,({firstChange:s,currentValue:a})=>{!s&&e(),r(),lr(a)&&"Object"===a.constructor.name&&Object.keys(a).forEach(l=>{i.push(lv(n,[...t,l],e))})});return()=>{o.unsubscribe(),r()}}function $t(n,t,e){n._observers||kt(n,"_observers",{});let i=n;for(let a=0;a=1)){const{enumerable:a}=Object.getOwnPropertyDescriptor(i,r)||{enumerable:!0};Object.defineProperty(i,r,{enumerable:a,configurable:!0,get:()=>s.value,set:l=>{if(l!==s.value){const c=s.value;s.value=l,s.onChange.forEach(u=>u({previousValue:c,currentValue:l,firstChange:!1}))}}})}return{setValue(a){s.value=a},unsubscribe(){s.onChange=s.onChange.filter(a=>a!==e),0===s.onChange.length&&delete n._observers[o]}}}function wI(n,t){if(t=Array.isArray(t)?t.join("."):t,n.fieldGroup)for(let e=0,i=n.fieldGroup.length;e{e instanceof Ql?e.injector.get(Dn).markForCheck():e.markForCheck()})}const lu=new P("FORMLY_CONFIG");let As=(()=>{class n{constructor(){this.types={},this.validators={},this.wrappers={},this.messages={},this.extras={checkExpressionOn:"modelChange",lazyRender:!0,resetFieldOnHide:!0,renderFormlyFieldElement:!0,showError(e){var i,r,o,s;return(null===(i=e.formControl)||void 0===i?void 0:i.invalid)&&((null===(r=e.formControl)||void 0===r?void 0:r.touched)||(null===(o=e.options.parentForm)||void 0===o?void 0:o.submitted)||!(null===(s=e.field.validation)||void 0===s||!s.show))}},this.extensions={},this.presets={},this.extensionsByPriority={}}addConfig(e){e.types&&e.types.forEach(i=>this.setType(i)),e.validators&&e.validators.forEach(i=>this.setValidator(i)),e.wrappers&&e.wrappers.forEach(i=>this.setWrapper(i)),e.validationMessages&&e.validationMessages.forEach(i=>this.addValidatorMessage(i.name,i.message)),e.extensions&&this.setSortedExtensions(e.extensions),e.extras&&(this.extras={...this.extras,...e.extras}),e.presets&&(this.presets={...this.presets,...e.presets.reduce((i,r)=>({...i,[r.name]:r.config}),{})})}setType(e){Array.isArray(e)?e.forEach(i=>this.setType(i)):(this.types[e.name]||(this.types[e.name]={name:e.name}),["component","extends","defaultOptions","wrappers"].forEach(i=>{e.hasOwnProperty(i)&&(this.types[e.name][i]=e[i])}))}getType(e,i=!1){if(e instanceof $o)return{component:e,name:e.prototype.constructor.name};if(!this.types[e]){if(i)throw new Error(`[Formly Error] The type "${e}" could not be found. Please make sure that is registered through the FormlyModule declaration.`);return null}return this.mergeExtendedType(e),this.types[e]}getMergedField(e={}){var i;const r=this.getType(e.type);if(!r)return;r.defaultOptions&&ul(e,r.defaultOptions);const o=r.extends&&this.getType(r.extends).defaultOptions;o&&ul(e,o),null!=e&&e.optionsTypes&&e.optionsTypes.forEach(a=>{const l=this.getType(a).defaultOptions;l&&ul(e,l)});const s=this.resolveFieldTypeRef(e);null!=s&&null!==(i=s.instance)&&void 0!==i&&i.defaultOptions&&ul(e,s.instance.defaultOptions),!e.wrappers&&r.wrappers&&(e.wrappers=[...r.wrappers])}resolveFieldTypeRef(e={}){const i=this.getType(e.type);if(!i)return null;if(!i.component||i._componentRef)return i._componentRef;const{_viewContainerRef:r,_injector:o}=e.options;if(!r||!o)return null;const s=r.createComponent(i.component,{injector:o});return kt(i,"_componentRef",s),s.destroy(),i._componentRef}setWrapper(e){this.wrappers[e.name]=e,e.types&&e.types.forEach(i=>{this.setTypeWrapper(i,e.name)})}getWrapper(e){if(e instanceof $o)return{component:e,name:e.prototype.constructor.name};if(!this.wrappers[e])throw new Error(`[Formly Error] The wrapper "${e}" could not be found. Please make sure that is registered through the FormlyModule declaration.`);return this.wrappers[e]}setTypeWrapper(e,i){this.types[e]||(this.types[e]={}),this.types[e].wrappers||(this.types[e].wrappers=[]),-1===this.types[e].wrappers.indexOf(i)&&this.types[e].wrappers.push(i)}setValidator(e){this.validators[e.name]=e}getValidator(e){if(!this.validators[e])throw new Error(`[Formly Error] The validator "${e}" could not be found. Please make sure that is registered through the FormlyModule declaration.`);return this.validators[e]}addValidatorMessage(e,i){this.messages[e]=i}getValidatorMessage(e){return this.messages[e]}setSortedExtensions(e){e.forEach(i=>{var r;const o=null!==(r=i.priority)&&void 0!==r?r:1;this.extensionsByPriority[o]={...this.extensionsByPriority[o],[i.name]:i.extension}}),this.extensions=Object.keys(this.extensionsByPriority).map(Number).sort((i,r)=>i-r).reduce((i,r)=>({...i,...this.extensionsByPriority[r]}),{})}mergeExtendedType(e){if(!this.types[e].extends)return;const i=this.getType(this.types[e].extends);this.types[e].component||(this.types[e].component=i.component),this.types[e].wrappers||(this.types[e].wrappers=i.wrappers)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),DI=(()=>{class n{constructor(e,i,r,o){this.config=e,this.injector=i,this.viewContainerRef=r,this.parentForm=o}buildForm(e,i=[],r,o){this.build({fieldGroup:i,model:r,form:e,options:o})}build(e){if(!this.config.extensions.core)throw new Error("NgxFormly: missing `forRoot()` call. use `forRoot()` when registering the `FormlyModule`.");e.parent?this._build(e):(this._setOptions(e),function Jq(n,t){const e=n._updateTreeValidity.bind(n);n._updateTreeValidity=()=>{},t(),n._updateTreeValidity=e}(e.form,()=>{var i,r;this._build(e);const o=e.options;null===(i=o.checkExpressions)||void 0===i||i.call(o,e,!0),null===(r=o.detectChanges)||void 0===r||r.call(o,e)}))}_build(e){var i;if(!e)return;const r=Object.values(this.config.extensions);r.forEach(o=>{var s;return null===(s=o.prePopulate)||void 0===s?void 0:s.call(o,e)}),r.forEach(o=>{var s;return null===(s=o.onPopulate)||void 0===s?void 0:s.call(o,e)}),null===(i=e.fieldGroup)||void 0===i||i.forEach(o=>this._build(o)),r.forEach(o=>{var s;return null===(s=o.postPopulate)||void 0===s?void 0:s.call(o,e)})}_setOptions(e){e.form=e.form||new wo({}),e.model=e.model||{},e.options=e.options||{};const i=e.options;i._viewContainerRef||kt(i,"_viewContainerRef",this.viewContainerRef),i._injector||kt(i,"_injector",this.injector),i.build||(i._buildForm=()=>{console.warn("Formly: 'options._buildForm' is deprecated since v6.0, use 'options.build' instead."),this.build(e)},i.build=(r=e)=>(this.build(r),r)),!i.parentForm&&this.parentForm&&(kt(i,"parentForm",this.parentForm),$t(i,["parentForm","submitted"],({firstChange:r})=>{r||(i.checkExpressions(e),i.detectChanges(e))}))}}return n.\u0275fac=function(e){return new(e||n)(b(As),b(Nt),b(At,8),b(ll,8))},n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function MI(n,t,e=!1){if((t=t||n.formControl)._fields||kt(t,"_fields",[]),-1===t._fields.indexOf(n)&&t._fields.push(n),!n.formControl&&t){kt(n,"formControl",t),t.setValidators(null),t.setAsyncValidators(null),n.props.disabled=!!n.props.disabled;const a=$t(n,["props","disabled"],({firstChange:l,currentValue:c})=>{l||(c?n.formControl.disable():n.formControl.enable())});t instanceof xs&&t.registerOnDisabledChange(a.setValue)}if(!n.form||!Pt(n))return;let i=n.form;const r=Ss(n),o=cl(n);(!Do(t.value)||!Do(o))&&t.value!==o&&t instanceof xs&&t.patchValue(o);for(let a=0;a{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=k({token:n,factory:n.\u0275fac}),n})(),c6=(()=>{class n{constructor(e,i,r,o,s){this.config=e,this.renderer=i,this._elementRef=r,this.hostContainerRef=o,this.form=s,this.hostObservers=[],this.componentRefs=[],this.hooksObservers=[],this.detectFieldBuild=!1,this.valueChangesUnsubscribe=()=>{}}get containerRef(){return this.config.extras.renderFormlyFieldElement?this.viewContainerRef:this.hostContainerRef}get elementRef(){var e;return this.config.extras.renderFormlyFieldElement?this._elementRef:(null===(e=this.componentRefs)||void 0===e?void 0:e[0])instanceof Ql?this.componentRefs[0].location:null}ngAfterContentInit(){this.triggerHook("afterContentInit")}ngAfterViewInit(){this.triggerHook("afterViewInit")}ngDoCheck(){this.detectFieldBuild&&this.field&&this.field.options&&this.render()}ngOnInit(){this.triggerHook("onInit")}ngOnChanges(e){this.triggerHook("onChanges",e)}ngOnDestroy(){this.resetRefs(this.field),this.hostObservers.forEach(e=>e.unsubscribe()),this.hooksObservers.forEach(e=>e()),this.valueChangesUnsubscribe(),this.triggerHook("onDestroy")}renderField(e,i,r=[]){var o,s;if(this.containerRef===e&&(this.resetRefs(this.field),this.containerRef.clear(),r=null===(s=this.field)||void 0===s?void 0:s.wrappers),(null===(o=r)||void 0===o?void 0:o.length)>0){const[c,...u]=r,{component:d}=this.config.getWrapper(c),h=e.createComponent(d);this.attachComponentRef(h,i),$t(h.instance,["fieldComponent"],({currentValue:g,previousValue:_,firstChange:y})=>{if(g){if(_&&_._lContainer===g._lContainer)return;const x=_?_.detach():null;x&&!x.destroyed?g.insert(x):this.renderField(g,i,u),!y&&h.changeDetectorRef.detectChanges()}})}else if(null!=i&&i.type){var a,l;const c=null===(a=this.form)||void 0===a||null===(l=a.templates)||void 0===l?void 0:l.find(d=>d.name===i.type);let u;if(c)u=e.createEmbeddedView(c.ref,{$implicit:i});else{const{component:d}=this.config.getType(i.type,!0);u=e.createComponent(d)}this.attachComponentRef(u,i)}}triggerHook(e,i){var r,o;if(("onInit"===e||"onChanges"===e&&i.field&&!i.field.firstChange)&&(this.valueChangesUnsubscribe=this.fieldChanges(this.field)),null!==(r=this.field)&&void 0!==r&&null!==(o=r.hooks)&&void 0!==o&&o[e]&&(!i||i.field)){const s=this.field.hooks[e](this.field);if(au(s)&&-1!==["onInit","afterContentInit","afterViewInit"].indexOf(e)){const a=s.subscribe();this.hooksObservers.push(()=>a.unsubscribe())}}"onChanges"===e&&i.field&&(this.resetRefs(i.field.previousValue),this.render())}attachComponentRef(e,i){this.componentRefs.push(e),i._componentRefs.push(e),e instanceof Ql&&Object.assign(e.instance,{field:i})}render(){if(this.field){if(!this.field.options)return void(this.detectFieldBuild=!0);this.detectFieldBuild=!1,this.hostObservers.forEach(e=>e.unsubscribe()),this.hostObservers=[$t(this.field,["hide"],({firstChange:e,currentValue:i})=>{const r=this.containerRef;!1===this.config.extras.lazyRender?(e&&this.renderField(r,this.field),(!e||e&&i)&&this.elementRef&&this.renderer.setStyle(this.elementRef.nativeElement,"display",i?"none":"")):i?(r.clear(),this.field.className&&this.renderer.removeAttribute(this.elementRef.nativeElement,"class")):(this.renderField(r,this.field),this.field.className&&this.renderer.setAttribute(this.elementRef.nativeElement,"class",this.field.className)),!e&&this.field.options.detectChanges(this.field)}),$t(this.field,["className"],({firstChange:e,currentValue:i})=>{(!e||e&&i)&&(!this.config.extras.lazyRender||!0!==this.field.hide)&&this.elementRef&&this.renderer.setAttribute(this.elementRef.nativeElement,"class",i)}),...["touched","pristine","status"].map(e=>$t(this.field,["formControl",e],({firstChange:i})=>!i&&xI(this.field)))]}}resetRefs(e){e&&(e._componentRefs?e._componentRefs=e._componentRefs.filter(i=>-1===this.componentRefs.indexOf(i)):kt(this.field,"_componentRefs",[])),this.componentRefs=[]}fieldChanges(e){if(this.valueChangesUnsubscribe(),!e)return()=>{};const i=[lv(e,["props"],()=>e.options.detectChanges(e)),lv(e.options,["formState"],()=>e.options.detectChanges(e))];for(const r of[["template"],["fieldGroupClassName"],["validation","show"]]){const o=$t(e,r,({firstChange:s})=>!s&&e.options.detectChanges(e));i.push(()=>o.unsubscribe())}if(e.formControl&&!e.fieldGroup){const r=e.formControl;let o=r.valueChanges.pipe(My((c,u)=>!(c!==u||Array.isArray(c)||lr(c))));r.value!==cl(e)&&(o=o.pipe(Nr(r.value)));const{updateOn:s,debounce:a}=e.modelOptions;(!s||"change"===s)&&a?.default>0&&(o=r.valueChanges.pipe(rf(a.default)));const l=o.subscribe(c=>{var u,d;(null===(u=r._fields)||void 0===u?void 0:u.length)>1&&r instanceof xs&&r.patchValue(c,{emitEvent:!1,onlySelf:!0}),null===(d=e.parsers)||void 0===d||d.forEach(h=>c=h(c)),c===e.formControl.value?(Pt(e)&&Af(e,c),e.options.fieldChanges.next({value:c,field:e,type:"valueChanges"})):e.formControl.setValue(c)});i.push(()=>l.unsubscribe())}return()=>i.forEach(r=>r())}}return n.\u0275fac=function(e){return new(e||n)(f(As),f(qt),f(j),f(At),f(l6,8))},n.\u0275cmp=pe({type:n,selectors:[["formly-field"]],viewQuery:function(e,i){if(1&e&&et(Qq,7,At),2&e){let r;_e(r=ye())&&(i.viewContainerRef=r.first)}},inputs:{field:"field"},features:[nt],decls:2,vars:0,consts:[["container",""]],template:function(e,i){1&e&&H(0,Kq,0,0,"ng-template",null,0,Oa)},encapsulation:2}),n})(),dl=(()=>{class n{constructor(e,i,r){this.renderer=e,this.elementRef=i,this.uiAttributesCache={},this.uiEvents={listeners:[],events:["click","keyup","keydown","keypress","focus","blur","change"],callback:(o,s)=>{switch(o){case"focus":return this.onFocus(s);case"blur":return this.onBlur(s);case"change":return this.onChange(s);default:return this.props[o](this.field,s)}}},this.document=r}get props(){return this.field.props||{}}get fieldAttrElements(){var e;return(null===(e=this.field)||void 0===e?void 0:e._elementRefs)||[]}ngOnChanges(e){var i;e.field&&(this.field.name&&this.setAttribute("name",this.field.name),this.uiEvents.listeners.forEach(r=>r()),this.uiEvents.events.forEach(r=>{var o;(null!==(o=this.props)&&void 0!==o&&o[r]||-1!==["focus","blur","change"].indexOf(r))&&this.uiEvents.listeners.push(this.renderer.listen(this.elementRef.nativeElement,r,s=>this.uiEvents.callback(r,s)))}),null!==(i=this.props)&&void 0!==i&&i.attributes&&$t(this.field,["props","attributes"],({currentValue:r,previousValue:o})=>{o&&Object.keys(o).forEach(s=>this.removeAttribute(s)),r&&Object.keys(r).forEach(s=>{null!=r[s]&&this.setAttribute(s,r[s])})}),this.detachElementRef(e.field.previousValue),this.attachElementRef(e.field.currentValue),1===this.fieldAttrElements.length&&(!this.id&&this.field.id&&this.setAttribute("id",this.field.id),this.focusObserver=$t(this.field,["focus"],({currentValue:r})=>{this.toggleFocus(r)}))),e.id&&this.setAttribute("id",this.id)}ngDoCheck(){if(!this.uiAttributes){const e=this.elementRef.nativeElement;this.uiAttributes=[...sv,"tabindex","placeholder","readonly","disabled","step"].filter(i=>!e.hasAttribute||!e.hasAttribute(i))}this.uiAttributes.forEach(e=>{const i=this.props[e];this.uiAttributesCache[e]!==i&&(!this.props.attributes||!this.props.attributes.hasOwnProperty(e.toLowerCase()))&&(this.uiAttributesCache[e]=i,i||0===i?this.setAttribute(e,!0===i?e:`${i}`):this.removeAttribute(e))})}ngOnDestroy(){var e;this.uiEvents.listeners.forEach(i=>i()),this.detachElementRef(this.field),null===(e=this.focusObserver)||void 0===e||e.unsubscribe()}toggleFocus(e){const i=this.fieldAttrElements?this.fieldAttrElements[0]:null;if(!i||!i.nativeElement.focus)return;const r=!!this.document.activeElement&&this.fieldAttrElements.some(({nativeElement:o})=>this.document.activeElement===o||o.contains(this.document.activeElement));e&&!r?Promise.resolve().then(()=>i.nativeElement.focus()):!e&&r&&Promise.resolve().then(()=>i.nativeElement.blur())}onFocus(e){var i,r,o;null===(i=this.focusObserver)||void 0===i||i.setValue(!0),null===(r=(o=this.props).focus)||void 0===r||r.call(o,this.field,e)}onBlur(e){var i,r,o;null===(i=this.focusObserver)||void 0===i||i.setValue(!1),null===(r=(o=this.props).blur)||void 0===r||r.call(o,this.field,e)}onHostChange(e){e instanceof Event||this.onChange(e)}onChange(e){var i,r,o;null===(i=(r=this.props).change)||void 0===i||i.call(r,this.field,e),null===(o=this.field.formControl)||void 0===o||o.markAsDirty()}attachElementRef(e){var i;!e||(-1===(null===(i=e._elementRefs)||void 0===i?void 0:i.indexOf(this.elementRef))?e._elementRefs.push(this.elementRef):kt(e,"_elementRefs",[this.elementRef]))}detachElementRef(e){const i=null!=e&&e._elementRefs?this.fieldAttrElements.indexOf(this.elementRef):-1;-1!==i&&e._elementRefs.splice(i,1)}setAttribute(e,i){this.renderer.setAttribute(this.elementRef.nativeElement,e,i)}removeAttribute(e){this.renderer.removeAttribute(this.elementRef.nativeElement,e)}}return n.\u0275fac=function(e){return new(e||n)(f(qt),f(j),f(ae))},n.\u0275dir=T({type:n,selectors:[["","formlyAttributes",""]],hostBindings:function(e,i){1&e&&te("change",function(o){return i.onHostChange(o)})},inputs:{field:["formlyAttributes","field"],id:"id"},features:[nt]}),n})(),If=(()=>{class n{get model(){return this.field.model}get form(){return this.field.form}get options(){return this.field.options}get key(){return this.field.key}get formControl(){return this.field.formControl}get props(){return this.field.props||{}}get to(){return this.props}get showError(){return this.options.showError(this)}get id(){return this.field.id}get formState(){return this.options.formState||{}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=T({type:n,inputs:{field:"field"}}),n})(),u6=(()=>{class n extends If{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=U(n)))(i||n)}}(),n.\u0275cmp=pe({type:n,selectors:[["formly-group"]],hostVars:2,hostBindings:function(e,i){2&e&&function Ww(n){Si(Ln,Zi,n,!0)}(i.field.fieldGroupClassName||"")},features:[O],ngContentSelectors:Xq,decls:2,vars:1,consts:[[3,"field",4,"ngFor","ngForOf"],[3,"field"]],template:function(e,i){1&e&&(Mi(),H(0,Zq,1,1,"formly-field",0),_t(1)),2&e&&S("ngForOf",i.field.fieldGroup)},dependencies:[c6,oi],encapsulation:2,changeDetection:0}),n})(),d6=(()=>{class n{constructor(e){this.config=e}ngOnChanges(){const e=sv.map(i=>`templateOptions.${i}`);this.errorMessage$=wt(this.field.formControl.statusChanges,this.field.options?this.field.options.fieldChanges.pipe(It(({field:i,type:r,property:o})=>i===this.field&&"expressionChanges"===r&&(-1!==o.indexOf("validation")||-1!==e.indexOf(o)))):q(null)).pipe(Nr(null),zn(()=>au(this.errorMessage)?this.errorMessage:q(this.errorMessage)))}get errorMessage(){const e=this.field.formControl;for(const c in e.errors)if(e.errors.hasOwnProperty(c)){var i,r,o,s,a,l;let u=this.config.getValidatorMessage(c);if(lr(e.errors[c])){if(e.errors[c].errorPath)return;e.errors[c].message&&(u=e.errors[c].message)}return null!==(i=this.field.validation)&&void 0!==i&&null!==(r=i.messages)&&void 0!==r&&r[c]&&(u=this.field.validation.messages[c]),null!==(o=this.field.validators)&&void 0!==o&&null!==(s=o[c])&&void 0!==s&&s.message&&(u=this.field.validators[c].message),null!==(a=this.field.asyncValidators)&&void 0!==a&&null!==(l=a[c])&&void 0!==l&&l.message&&(u=this.field.asyncValidators[c].message),"function"==typeof u?u(e.errors[c],this.field):u}}}return n.\u0275fac=function(e){return new(e||n)(f(As))},n.\u0275cmp=pe({type:n,selectors:[["formly-validation-message"]],inputs:{field:"field"},features:[nt],decls:2,vars:3,template:function(e,i){1&e&&(V(0),Xi(1,"async")),2&e&&Ne(Ra(1,1,i.errorMessage$))},dependencies:[Ba],encapsulation:2,changeDetection:0}),n})(),h6=(()=>{class n extends If{set _staticContent(e){this.fieldComponent=e}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=U(n)))(i||n)}}(),n.\u0275dir=T({type:n,viewQuery:function(e,i){if(1&e&&(et(CI,5,At),et(CI,7,At)),2&e){let r;_e(r=ye())&&(i.fieldComponent=r.first),_e(r=ye())&&(i._staticContent=r.first)}},features:[O]}),n})(),f6=(()=>{class n extends If{constructor(e){super(),this.sanitizer=e,this.innerHtml={}}get template(){return this.field&&this.field.template!==this.innerHtml.template&&(this.innerHtml={template:this.field.template,content:this.props.safeHtml?this.sanitizer.bypassSecurityTrustHtml(this.field.template):this.field.template}),this.innerHtml.content}}return n.\u0275fac=function(e){return new(e||n)(f(xc))},n.\u0275cmp=pe({type:n,selectors:[["formly-template"]],features:[O],decls:1,vars:1,consts:[[3,"innerHtml"]],template:function(e,i){1&e&&Q(0,"div",0),2&e&&S("innerHtml",i.template,Lb)},encapsulation:2,changeDetection:0}),n})();class m6{onPopulate(t){if(t._expressions)return;kt(t,"_expressions",{}),$t(t,["hide"],({currentValue:i,firstChange:r})=>{kt(t,"_hide",!!i),(!r||r&&!0===i)&&(t.props.hidden=i,t.options._hiddenFieldsForCheck.push(t))}),t.hideExpression&&$t(t,["hideExpression"],({currentValue:i})=>{t._expressions.hide=this.parseExpressions(t,"hide","boolean"==typeof i?()=>i:i)});const e=(i,r)=>{if("string"==typeof r||av(r))t._expressions[i]=this.parseExpressions(t,i,r);else if(r instanceof Re){const o=()=>r.subscribe(c=>{this.evalExpr(t,i,c)});let s=null;const a=t.hooks.onInit;t.hooks.onInit=()=>(null===s&&(s=o()),a?.(t));const l=t.hooks.onDestroy;t.hooks.onDestroy=()=>{l?.(t),s.unsubscribe(),s=null}}};t.expressions=t.expressions||{};for(const i of Object.keys(t.expressions))$t(t,["expressions",i],({currentValue:r})=>{e(i,av(r)?(...o)=>r(t,o[3]):r)});t.expressionProperties=t.expressionProperties||{};for(const i of Object.keys(t.expressionProperties))$t(t,["expressionProperties",i],({currentValue:r})=>e(i,r))}postPopulate(t){if(!t.parent&&!t.options.checkExpressions){let e=!1;t.options.checkExpressions=(i,r)=>{if(e)return;e=!0;const o=this.checkExpressions(i,r),s=t.options;s._hiddenFieldsForCheck.sort(a=>a.hide?-1:1).forEach(a=>this.changeHideState(a,a.hide,!r)),s._hiddenFieldsForCheck=[],o&&(this.checkExpressions(t),t.options&&t.options.detectChanges&&t.options.detectChanges(t)),e=!1},t.options._checkField=(i,r)=>{console.warn("Formly: 'options._checkField' is deprecated since v6.0, use 'options.checkExpressions' instead."),t.options.checkExpressions(i,r)}}}parseExpressions(t,e,i){let r,o;if(t.parent&&["hide","props.disabled"].includes(e)){const s=a=>"hide"===e?a.hide:a.props.disabled;r=()=>{let a=t.parent;for(;a.parent&&!s(a);)a=a.parent;return s(a)}}return"string"==typeof(i=i||(()=>!1))&&(i=function p6(n,t){try{return Function(...t,`return ${n};`)}catch(e){console.error(e)}}(i,["model","formState","field"])),{callback:s=>{try{const a=function g6(n,t,e){return"function"==typeof n?n.apply(t,e):!!n}(r?(...l)=>r(t)||i(...l):i,{field:t},[t.model,t.options.formState,t,s]);return!(!s&&(o===a||lr(a)&&!au(a)&&JSON.stringify(a)===JSON.stringify(o))||(o=a,this.evalExpr(t,e,a),0))}catch(a){throw a.message=`[Formly Error] [Expression "${e}"] ${a.message}`,a}}}}checkExpressions(t,e=!1){var i;if(!t)return!1;let r=!1;if(t._expressions)for(const o of Object.keys(t._expressions))t._expressions[o].callback(e)&&(r=!0);return null===(i=t.fieldGroup)||void 0===i||i.forEach(o=>this.checkExpressions(o,e)&&(r=!0)),r}changeDisabledState(t,e){t.fieldGroup&&t.fieldGroup.filter(i=>!i._expressions.hasOwnProperty("props.disabled")).forEach(i=>this.changeDisabledState(i,e)),Pt(t)&&t.props.disabled!==e&&(t.props.disabled=e)}changeHideState(t,e,i){if(t.fieldGroup&&t.fieldGroup.filter(a=>!a._expressions.hide).forEach(a=>this.changeHideState(a,e,i)),t.formControl&&Pt(t)){var r;kt(t,"_hide",!(!e&&!t.hide));const a=t.formControl;if((null===(r=a._fields)||void 0===r?void 0:r.length)>1&&cu(a),!0!==e||a._fields&&!a._fields.every(l=>!!l._hide)){if(!1===e){var o,s;t.resetOnHide&&!Tf(t.defaultValue)&&Tf(cl(t))&&Af(t,t.defaultValue),MI(t,void 0,!0),t.resetOnHide&&t.fieldArray&&(null===(o=t.fieldGroup)||void 0===o?void 0:o.length)!==(null===(s=t.model)||void 0===s?void 0:s.length)&&t.options.build(t)}}else(function o6(n,t=!1){const e=n.formControl,i=e._fields?e._fields.indexOf(n):-1;-1!==i&&e._fields.splice(i,1);const r=e.parent;if(!r)return;const o={emitEvent:t};if(r instanceof ov){const s=r.controls.findIndex(a=>a===e);-1!==s&&r.removeAt(s,o)}else if(r instanceof wo){const s=Ss(n),a=s[s.length-1];r.get([a])===e&&r.removeControl(a,o)}e.setParent(null)})(t,!0),i&&t.resetOnHide&&(Af(t,void 0),t.formControl.reset({value:void 0,disabled:t.formControl.disabled}),t.options.fieldChanges.next({value:void 0,field:t,type:"valueChanges"}),t.fieldGroup&&t.formControl instanceof ov&&(t.fieldGroup.length=0))}t.options.fieldChanges&&t.options.fieldChanges.next({field:t,type:"hidden",value:e})}evalExpr(t,e,i){try{let r=t;const o=this._evalExpressionPath(t,e),s=o.length-1;for(let a=0;ar).forEach(r=>{const o=r.match(/['|"](.*?)['|"]/);o?i.push(o[1]):i.push(...r.split(".").filter(s=>s))}),t._expressions[e]&&(t._expressions[e].paths=i),i}}class _6{constructor(t){this.config=t}onPopulate(t){this.initFieldValidation(t,"validators"),this.initFieldValidation(t,"asyncValidators")}initFieldValidation(t,e){const i=[];if("validators"===e&&!(t.hasOwnProperty("fieldGroup")&&!Pt(t))&&i.push(this.getPredefinedFieldValidation(t)),t[e])for(const r of Object.keys(t[e]))"validation"===r?i.push(...t[e].validation.map(o=>this.wrapNgValidatorFn(t,o))):i.push(this.wrapNgValidatorFn(t,t[e][r],r));kt(t,"_"+e,i)}getPredefinedFieldValidation(t){let e=[];return sv.forEach(i=>$t(t,["props",i],({currentValue:r,firstChange:o})=>{e=e.filter(s=>s!==i),null!=r&&!1!==r&&e.push(i),!o&&t.formControl&&cu(t.formControl)})),i=>0===e.length?null:Li.compose(e.map(r=>()=>{var o,s,a,l;const c=t.props[r];switch(r){case"required":return Li.required(i);case"pattern":return Li.pattern(c)(i);case"minLength":const u=Li.minLength(c)(i),d=this.config.getValidatorMessage("minlength")||null!==(o=t.validation)&&void 0!==o&&null!==(s=o.messages)&&void 0!==s&&s.minlength?"minlength":"minLength";return u?{[d]:u.minlength}:null;case"maxLength":const h=Li.maxLength(c)(i),g=this.config.getValidatorMessage("maxlength")||null!==(a=t.validation)&&void 0!==a&&null!==(l=a.messages)&&void 0!==l&&l.maxlength?"maxlength":"maxLength";return h?{[g]:h.maxlength}:null;case"min":return Li.min(c)(i);case"max":return Li.max(c)(i);default:return null}}))(i)}wrapNgValidatorFn(t,e,i){let r;if("string"==typeof e&&(r=Mo(this.config.getValidator(e))),"object"==typeof e&&e.name&&(r=Mo(this.config.getValidator(e.name)),e.options&&(r.options=e.options)),"object"==typeof e&&e.expression){const{expression:o,...s}=e;r={name:i,validation:o,options:Object.keys(s).length>0?s:null}}return"function"==typeof e&&(r={name:i,validation:e}),o=>{const s=r.validation(o,t,r.options);return function r6(n){return!!n&&"function"==typeof n.then}(s)?s.then(a=>this.handleAsyncResult(t,i?!!a:a,r)):au(s)?s.pipe(z(a=>this.handleAsyncResult(t,i?!!a:a,r))):this.handleResult(t,i?!!s:s,r)}}handleAsyncResult(t,e,i){return t.options.detectChanges(t),this.handleResult(t,e,i)}handleResult(t,e,{name:i,options:r}){var o,s;"boolean"==typeof e&&(e=e?null:{[i]:r||!0});const a=t.formControl;return null==a||null===(o=a._childrenErrors)||void 0===o||null===(s=o[i])||void 0===s||s.call(o),lr(e)&&Object.keys(e).forEach(l=>{const c=e[l].errorPath?e[l].errorPath:r?.errorPath,u=c?t.formControl.get(c):null;if(u){const{errorPath:d,...h}=e[l];u.setErrors({...u.errors||{},[l]:h}),!a._childrenErrors&&kt(a,"_childrenErrors",{}),a._childrenErrors[l]=()=>{const{[l]:g,..._}=u.errors||{};u.setErrors(0===Object.keys(_).length?null:_)}}}),e}}class y6{prePopulate(t){this.root||(this.root=t),t.parent&&Object.defineProperty(t,"form",{get:()=>t.parent.formControl,configurable:!0})}onPopulate(t){t.hasOwnProperty("fieldGroup")&&!Pt(t)?kt(t,"formControl",t.form):this.addFormControl(t)}postPopulate(t){if(this.root===t&&(this.root=null,this.setValidators(t)&&t.parent)){let i=t.parent;for(;i;)(Pt(i)||!i.parent)&&cu(i.formControl,!0),i=i.parent}}addFormControl(t){let e=function s6(n){var t;return n.formControl?n.formControl:!1===n.shareFormControl?null:null===(t=n.form)||void 0===t?void 0:t.get(Ss(n))}(t);if(!e){const i={updateOn:t.modelOptions.updateOn};if(t.fieldGroup)e=new wo({},i);else{const r=Pt(t)?cl(t):t.defaultValue;e=new xs({value:r,disabled:!1},{...i,initialValueIsDefault:!0})}}MI(t,e)}setValidators(t,e=!1){var i,r;!1===e&&Pt(t)&&null!==(i=t.props)&&void 0!==i&&i.disabled&&(e=!0);let o=!1;if(null===(r=t.fieldGroup)||void 0===r||r.forEach(s=>s&&this.setValidators(s,e)&&(o=!0)),Pt(t)||!t.parent||!Pt(t)&&!t.fieldGroup){const{formControl:s}=t;if(s&&(Pt(t)&&s instanceof xs&&(e&&s.enabled&&(s.disable({emitEvent:!1,onlySelf:!0}),o=!0),!e&&s.disabled&&(s.enable({emitEvent:!1,onlySelf:!0}),o=!0)),(null===s.validator||null===s.asyncValidator)&&(s.setValidators(()=>{const a=Li.compose(this.mergeValidators(t,"_validators"));return a?a(s):null}),s.setAsyncValidators(()=>{const a=Li.composeAsync(this.mergeValidators(t,"_asyncValidators"));return a?a(s):q(null)}),o=!0),o)){cu(s,!0);let a=s.parent;for(let l=1;l1?o._fields.filter(s=>!s._hide).forEach(s=>r.push(...s[e])):t[e]&&r.push(...t[e]),t.fieldGroup&&t.fieldGroup.filter(s=>s?.fieldGroup&&!Pt(s)).forEach(s=>r.push(...this.mergeValidators(s,e))),r}}class v6{constructor(t){this.config=t,this.formId=0}prePopulate(t){var e,i;const r=t.parent;this.initRootOptions(t),this.initFieldProps(t),r&&(Object.defineProperty(t,"options",{get:()=>r.options,configurable:!0}),Object.defineProperty(t,"model",{get:()=>Pt(t)&&t.fieldGroup?cl(t):r.model,configurable:!0})),Object.defineProperty(t,"get",{value:o=>wI(t,o),configurable:!0}),null===(e=(i=this.getFieldComponentInstance(t)).prePopulate)||void 0===e||e.call(i,t)}onPopulate(t){var e,i;this.initFieldOptions(t),null===(e=(i=this.getFieldComponentInstance(t)).onPopulate)||void 0===e||e.call(i,t),t.fieldGroup&&t.fieldGroup.forEach((r,o)=>{r&&(Object.defineProperty(r,"parent",{get:()=>t,configurable:!0}),Object.defineProperty(r,"index",{get:()=>o,configurable:!0})),this.formId++})}postPopulate(t){var e,i;null===(e=(i=this.getFieldComponentInstance(t)).postPopulate)||void 0===e||e.call(i,t)}initFieldProps(t){var e;null!==(e=t.props)&&void 0!==e||(t.props=t.templateOptions),Object.defineProperty(t,"templateOptions",{get:()=>t.props,set:i=>t.props=i,configurable:!0})}initRootOptions(t){if(t.parent)return;const e=t.options;t.options.formState=t.options.formState||{},e.showError||(e.showError=this.config.extras.showError),e.fieldChanges||kt(e,"fieldChanges",new ce),e._hiddenFieldsForCheck||(e._hiddenFieldsForCheck=[]),e._markForCheck=i=>{console.warn("Formly: 'options._markForCheck' is deprecated since v6.0, use 'options.detectChanges' instead."),e.detectChanges(i)},e.detectChanges=i=>{var r;i._componentRefs&&(i.options.checkExpressions(i),xI(i)),null===(r=i.fieldGroup)||void 0===r||r.forEach(o=>o&&e.detectChanges(o))},e.resetModel=i=>{var r;i=Mo(null!==(r=i)&&void 0!==r?r:e._initialModel),t.model&&(Object.keys(t.model).forEach(o=>delete t.model[o]),Object.assign(t.model,i||{})),e.build(t),t.form.reset(t.model),e.parentForm&&e.parentForm.control===t.formControl&&(e.parentForm.submitted=!1)},e.updateInitialValue=i=>e._initialModel=Mo(i??t.model),t.options.updateInitialValue()}initFieldOptions(t){var e,i;if(ul(t,{id:e6(`formly_${this.formId}`,t,t.index),hooks:{},modelOptions:{},validation:{messages:{}},props:t.type&&Pt(t)?{label:"",placeholder:"",disabled:!1}:{}}),this.config.extras.resetFieldOnHide&&!1!==t.resetOnHide&&(t.resetOnHide=!0),"formly-template"!==t.type&&(t.template||null!==(e=t.expressions)&&void 0!==e&&e.template||null!==(i=t.expressionProperties)&&void 0!==i&&i.template)&&(t.type="formly-template"),!t.type&&t.fieldGroup&&(t.type="formly-group"),t.type&&this.config.getMergedField(t),Pt(t)&&!Tf(t.defaultValue)&&Tf(cl(t))){const r=s=>{var a;return s.hide||(null===(a=s.expressions)||void 0===a?void 0:a.hide)||s.hideExpression};let o=!t.resetOnHide||!r(t);if(!r(t)&&t.resetOnHide){let s=t.parent;for(;s&&!r(s);)s=s.parent;o=!s||!r(s)}o&&Af(t,t.defaultValue)}t.wrappers=t.wrappers||[]}getFieldComponentInstance(t){const e=()=>{var i,r,o;let s=this.config.resolveFieldTypeRef(t);const a=null===(i=t._componentRefs)||void 0===i?void 0:i.slice(-1)[0];return a instanceof Ql&&a?.componentType===(null===(r=s)||void 0===r?void 0:r.componentType)&&(s=a),null===(o=s)||void 0===o?void 0:o.instance};return t._proxyInstance||kt(t,"_proxyInstance",new Proxy({},{get:(i,r)=>{var o;return null===(o=e())||void 0===o?void 0:o[r]},set:(i,r,o)=>e()[r]=o})),t._proxyInstance}}function EI(n){return{types:[{name:"formly-group",component:u6},{name:"formly-template",component:f6}],extensions:[{name:"core",extension:new v6(n),priority:-250},{name:"field-validation",extension:new _6(n),priority:-200},{name:"field-form",extension:new y6,priority:-150},{name:"field-expression",extension:new m6,priority:-100}]}}let Eo=(()=>{class n{constructor(e,i=[]){!i||i.forEach(r=>e.addConfig(r))}static forRoot(e={}){return{ngModule:n,providers:[{provide:lu,multi:!0,useFactory:EI,deps:[As]},{provide:lu,useValue:e,multi:!0},As,DI]}}static forChild(e={}){return{ngModule:n,providers:[{provide:lu,multi:!0,useFactory:EI,deps:[As]},{provide:lu,useValue:e,multi:!0},DI]}}}return n.\u0275fac=function(e){return new(e||n)(b(As),b(lu,8))},n.\u0275mod=Z({type:n}),n.\u0275inj=K({imports:[[fn]]}),n})();const b6=["connectionContainer"],C6=["inputContainer"],w6=["label"];function x6(n,t){1&n&&(Bn(0),D(1,"div",14),Q(2,"div",15)(3,"div",16)(4,"div",17),M(),D(5,"div",18),Q(6,"div",15)(7,"div",16)(8,"div",17),M(),Hn())}function D6(n,t){if(1&n){const e=Er();D(0,"div",19),te("cdkObserveContent",function(){return Hi(e),$i(Y().updateOutlineGap())}),_t(1,1),M()}2&n&&S("cdkObserveContentDisabled","outline"!=Y().appearance)}function M6(n,t){if(1&n&&(Bn(0),_t(1,2),D(2,"span"),V(3),M(),Hn()),2&n){const e=Y(2);E(3),Ne(e._control.placeholder)}}function E6(n,t){1&n&&_t(0,3,["*ngSwitchCase","true"])}function S6(n,t){1&n&&(D(0,"span",23),V(1," *"),M())}function A6(n,t){if(1&n){const e=Er();D(0,"label",20,21),te("cdkObserveContent",function(){return Hi(e),$i(Y().updateOutlineGap())}),H(2,M6,4,1,"ng-container",12),H(3,E6,1,0,"ng-content",12),H(4,S6,2,0,"span",22),M()}if(2&n){const e=Y();Ze("mat-empty",e._control.empty&&!e._shouldAlwaysFloat())("mat-form-field-empty",e._control.empty&&!e._shouldAlwaysFloat())("mat-accent","accent"==e.color)("mat-warn","warn"==e.color),S("cdkObserveContentDisabled","outline"!=e.appearance)("id",e._labelId)("ngSwitch",e._hasLabel()),je("for",e._control.id)("aria-owns",e._control.id),E(2),S("ngSwitchCase",!1),E(1),S("ngSwitchCase",!0),E(1),S("ngIf",!e.hideRequiredMarker&&e._control.required&&!e._control.disabled)}}function T6(n,t){1&n&&(D(0,"div",24),_t(1,4),M())}function I6(n,t){if(1&n&&(D(0,"div",25),Q(1,"span",26),M()),2&n){const e=Y();E(1),Ze("mat-accent","accent"==e.color)("mat-warn","warn"==e.color)}}function k6(n,t){1&n&&(D(0,"div"),_t(1,5),M()),2&n&&S("@transitionMessages",Y()._subscriptAnimationState)}function F6(n,t){if(1&n&&(D(0,"div",30),V(1),M()),2&n){const e=Y(2);S("id",e._hintLabelId),E(1),Ne(e.hintLabel)}}function R6(n,t){if(1&n&&(D(0,"div",27),H(1,F6,2,2,"div",28),_t(2,6),Q(3,"div",29),_t(4,7),M()),2&n){const e=Y();S("@transitionMessages",e._subscriptAnimationState),E(1),S("ngIf",e.hintLabel)}}const O6=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],P6=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];let L6=0;const SI=new P("MatError");let N6=(()=>{class n{constructor(e,i){this.id="mat-error-"+L6++,e||i.nativeElement.setAttribute("aria-live","polite")}}return n.\u0275fac=function(e){return new(e||n)(Ui("aria-live"),f(j))},n.\u0275dir=T({type:n,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(e,i){2&e&&je("id",i.id)},inputs:{id:"id"},features:[Me([{provide:SI,useExisting:n}])]}),n})();const V6={transitionMessages:ir("transitionMessages",[pn("enter",Pe({opacity:1,transform:"translateY(0%)"})),Vt("void => enter",[Pe({opacity:0,transform:"translateY(-5px)"}),Xt("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let uu=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=T({type:n}),n})(),B6=0;const AI=new P("MatHint");let H6=(()=>{class n{constructor(){this.align="start",this.id="mat-hint-"+B6++}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=T({type:n,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(e,i){2&e&&(je("id",i.id)("align",null),Ze("mat-form-field-hint-end","end"===i.align))},inputs:{align:"align",id:"id"},features:[Me([{provide:AI,useExisting:n}])]}),n})(),cv=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=T({type:n,selectors:[["mat-label"]]}),n})(),$6=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=T({type:n,selectors:[["mat-placeholder"]]}),n})();const TI=new P("MatPrefix");let j6=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=T({type:n,selectors:[["","matPrefix",""]],features:[Me([{provide:TI,useExisting:n}])]}),n})();const II=new P("MatSuffix");let G6=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=T({type:n,selectors:[["","matSuffix",""]],features:[Me([{provide:II,useExisting:n}])]}),n})(),kI=0;const z6=df(class{constructor(n){this._elementRef=n}},"primary"),W6=new P("MAT_FORM_FIELD_DEFAULT_OPTIONS"),uv=new P("MatFormField");let RI=(()=>{class n extends z6{constructor(e,i,r,o,s,a,l){super(e),this._changeDetectorRef=i,this._dir=r,this._defaults=o,this._platform=s,this._ngZone=a,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new ce,this._hideRequiredMarker=!1,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+kI++,this._labelId="mat-form-field-label-"+kI++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==l,this.appearance=o?.appearance||"legacy",o&&(this._hideRequiredMarker=Boolean(o.hideRequiredMarker),o.color&&(this.color=this.defaultColor=o.color))}get appearance(){return this._appearance}set appearance(e){var i;const r=this._appearance;this._appearance=e||(null===(i=this._defaults)||void 0===i?void 0:i.appearance)||"legacy","outline"===this._appearance&&r!==e&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=Ae(e)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(e){this._explicitFormFieldControl=e}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${e.controlType}`),e.stateChanges.pipe(Nr(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(Ge(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(Ge(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),wt(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(Nr(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(Nr(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(Ge(this._destroyed)).subscribe(()=>{"function"==typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(e){const i=this._control?this._control.ngControl:null;return i&&i[e]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}_shouldLabelFloat(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,Zc(this._label.nativeElement,"transitionend").pipe(Sn(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||"auto"}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&e.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const i=this._hintChildren?this._hintChildren.find(o=>"start"===o.align):null,r=this._hintChildren?this._hintChildren.find(o=>"end"===o.align):null;i?e.push(i.id):this._hintLabel&&e.push(this._hintLabelId),r&&e.push(r.id)}else this._errorChildren&&e.push(...this._errorChildren.map(i=>i.id));this._control.setDescribedByIds(e)}}_validateControlChild(){}updateOutlineGap(){const e=this._label?this._label.nativeElement:null,i=this._connectionContainerRef.nativeElement,r=".mat-form-field-outline-start",o=".mat-form-field-outline-gap";if("outline"!==this.appearance||!this._platform.isBrowser)return;if(!e||!e.children.length||!e.textContent.trim()){const u=i.querySelectorAll(`${r}, ${o}`);for(let d=0;d0?.75*_+10:0}for(let u=0;u{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({imports:[fn,We,sf,We]}),n})();function q6(n,t){1&n&&(D(0,"span",9),V(1,"*"),M())}function Y6(n,t){if(1&n&&(D(0,"mat-label"),V(1),H(2,q6,2,0,"span",8),M()),2&n){const e=Y();E(1),xn(" ",e.props.label," "),E(1),S("ngIf",e.props.required&&!0!==e.props.hideRequiredMarker)}}const dv=function(n){return{field:n}};function Q6(n,t){if(1&n&&(Bn(0,10),Qi(1,11),Hn()),2&n){const e=Y();E(1),S("ngTemplateOutlet",e.props.prefix)("ngTemplateOutletContext",Ai(2,dv,e.field))}}function K6(n,t){if(1&n&&(Bn(0,12),Qi(1,11),Hn()),2&n){const e=Y();E(1),S("ngTemplateOutlet",e.props.suffix)("ngTemplateOutletContext",Ai(2,dv,e.field))}}const OI=function(n){return{content:n}};function Z6(n,t){if(1&n&&(D(0,"mat-hint"),Qi(1,11),M()),2&n){const e=t.ngIf;Y();const i=Yi(11);E(1),S("ngTemplateOutlet",i)("ngTemplateOutletContext",Ai(2,OI,e))}}function X6(n,t){if(1&n&&(D(0,"mat-hint",13),Qi(1,11),M()),2&n){const e=t.ngIf;Y();const i=Yi(11);E(1),S("ngTemplateOutlet",i)("ngTemplateOutletContext",Ai(2,OI,e))}}function J6(n,t){if(1&n&&(Bn(0),V(1),Hn()),2&n){const e=Y().content;E(1),Ne(e)}}function e9(n,t){if(1&n&&Qi(0,11),2&n){const e=Y().content,i=Y();S("ngTemplateOutlet",e)("ngTemplateOutletContext",Ai(2,dv,i.field))}}function t9(n,t){if(1&n&&(H(0,J6,2,1,"ng-container",14),H(1,e9,1,4,"ng-template",null,15,Oa)),2&n){const e=t.content,i=Yi(2);S("ngIf",!e.createEmbeddedView)("ngIfElse",i)}}const n9=["matPrefix"],i9=["matSuffix"];let r9=(()=>{class n extends h6{constructor(e,i,r){super(),this.renderer=e,this.elementRef=i,this.focusMonitor=r}ngOnInit(){kt(this.field,"_formField",this.formField),this.focusMonitor.monitor(this.elementRef,!0).subscribe(e=>{!e&&this.field.focus&&(this.field.focus=!1)})}ngAfterViewInit(){if("outline"!==this.formField.appearance&&!0===this.props.hideFieldUnderline){const e=this.formField._elementRef.nativeElement.querySelector(".mat-form-field-underline");e&&this.renderer.removeChild(e.parentNode,e)}}ngOnDestroy(){delete this.field._formField,this.focusMonitor.stopMonitoring(this.elementRef)}}return n.\u0275fac=function(e){return new(e||n)(f(qt),f(j),f(_s))},n.\u0275cmp=pe({type:n,selectors:[["formly-wrapper-mat-form-field"]],viewQuery:function(e,i){if(1&e&&et(RI,7),2&e){let r;_e(r=ye())&&(i.formField=r.first)}},features:[O],decls:12,vars:10,consts:[[3,"hideRequiredMarker","floatLabel","appearance","color"],["fieldComponent",""],[4,"ngIf"],["matPrefix","",4,"ngIf"],["matSuffix","",4,"ngIf"],[3,"field"],["align","end",4,"ngIf"],["stringOrTemplate",""],["aria-hidden","true","class","mat-form-field-required-marker",4,"ngIf"],["aria-hidden","true",1,"mat-form-field-required-marker"],["matPrefix",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["matSuffix",""],["align","end"],[4,"ngIf","ngIfElse"],["template",""]],template:function(e,i){1&e&&(D(0,"mat-form-field",0),Qi(1,null,1),H(3,Y6,3,2,"mat-label",2),H(4,Q6,2,4,"ng-container",3),H(5,K6,2,4,"ng-container",4),D(6,"mat-error"),Q(7,"formly-validation-message",5),M(),H(8,Z6,2,4,"mat-hint",2),H(9,X6,2,4,"mat-hint",6),M(),H(10,t9,3,2,"ng-template",null,7,Oa)),2&e&&(S("hideRequiredMarker",!0)("floatLabel",i.props.floatLabel)("appearance",i.props.appearance)("color",i.props.color),E(3),S("ngIf",i.props.label&&!0!==i.props.hideLabel),E(1),S("ngIf",i.props.prefix),E(1),S("ngIf",i.props.suffix),E(2),S("field",i.field),E(1),S("ngIf",i.props.description||i.props.hintStart),E(1),S("ngIf",i.props.hintEnd))},dependencies:[RI,d6,si,cv,j6,Tm,G6,N6,H6],styles:["formly-wrapper-mat-form-field .mat-form-field{width:100%}\n"],encapsulation:2}),n})(),Ts=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({imports:[[fn,xo,du,Eo.forChild({wrappers:[{name:"form-field",component:r9}]})]]}),n})(),hl=(()=>{class n extends If{constructor(){super(...arguments),this.errorStateMatcher={isErrorState:()=>this.field&&this.showError},this.stateChanges=new ce,this._errorState=!1}set matPrefix(e){e&&(this.props.prefix=e)}set matSuffix(e){e&&(this.props.suffix=e)}set _controls(e){this.attachControl(1===e.length?e.first:this)}ngOnDestroy(){var e;null===(e=this.formField)||void 0===e||delete e._control,this.stateChanges.complete()}setDescribedByIds(e){}onContainerClick(e){this.field.focus=!0,this.stateChanges.next()}get errorState(){const e=this.options.showError(this);return e!==this._errorState&&(this._errorState=e,this.stateChanges.next()),e}get controlType(){if(this.props.type)return this.props.type;const e=this.field.type;return e instanceof $o?e.prototype.constructor.name:e}get focused(){return!!this.field.focus&&!this.disabled}get disabled(){return!!this.props.disabled}get required(){return!!this.props.required}get placeholder(){return this.props.placeholder||""}get shouldPlaceholderFloat(){return this.shouldLabelFloat}get value(){var e;return null===(e=this.formControl)||void 0===e?void 0:e.value}set value(e){var i;null===(i=this.formControl)||void 0===i||i.patchValue(e)}get ngControl(){return this.formControl}get empty(){return null==this.value||""===this.value}get shouldLabelFloat(){return this.focused||!this.empty}get formField(){var e;return null===(e=this.field)||void 0===e?void 0:e._formField}attachControl(e){if(this.formField&&e!==this.formField._control){var i;this.formField._control=e;const r=e?.ngControl;null!=r&&null!==(i=r.valueAccessor)&&void 0!==i&&i.hasOwnProperty("_formField")&&(r.valueAccessor._formField=this.formField),["prefix","suffix"].forEach(s=>$t(this.field,["props",s],({currentValue:a})=>a&&Promise.resolve().then(()=>{this.options.detectChanges(this.field)})));const o=e.setDescribedByIds.bind(e);e.setDescribedByIds=s=>{setTimeout(()=>o(s))}}}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=U(n)))(i||n)}}(),n.\u0275dir=T({type:n,viewQuery:function(e,i){if(1&e&&(et(n9,5),et(i9,5),et(uu,5)),2&e){let r;_e(r=ye())&&(i.matPrefix=r.first),_e(r=ye())&&(i.matSuffix=r.first),_e(r=ye())&&(i._controls=r)}},features:[O]}),n})();const PI=ps({passive:!0});let o9=(()=>{class n{constructor(e,i){this._platform=e,this._ngZone=i,this._monitoredElements=new Map}monitor(e){if(!this._platform.isBrowser)return Tn;const i=Or(e),r=this._monitoredElements.get(i);if(r)return r.subject;const o=new ce,s="cdk-text-field-autofilled",a=l=>{"cdk-text-field-autofill-start"!==l.animationName||i.classList.contains(s)?"cdk-text-field-autofill-end"===l.animationName&&i.classList.contains(s)&&(i.classList.remove(s),this._ngZone.run(()=>o.next({target:l.target,isAutofilled:!1}))):(i.classList.add(s),this._ngZone.run(()=>o.next({target:l.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{i.addEventListener("animationstart",a,PI),i.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(i,{subject:o,unlisten:()=>{i.removeEventListener("animationstart",a,PI)}}),o}stopMonitoring(e){const i=Or(e),r=this._monitoredElements.get(i);r&&(r.unlisten(),r.subject.complete(),i.classList.remove("cdk-text-field-autofill-monitored"),i.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(i))}ngOnDestroy(){this._monitoredElements.forEach((e,i)=>this.stopMonitoring(i))}}return n.\u0275fac=function(e){return new(e||n)(b(Jt),b(de))},n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),s9=(()=>{class n{constructor(e,i,r,o){this._elementRef=e,this._platform=i,this._ngZone=r,this._destroyed=new ce,this._enabled=!0,this._previousMinRows=-1,this._isViewInited=!1,this._handleFocusEvent=s=>{this._hasFocus="focus"===s.type},this._document=o,this._textareaElement=this._elementRef.nativeElement}get minRows(){return this._minRows}set minRows(e){this._minRows=po(e),this._setMinHeight()}get maxRows(){return this._maxRows}set maxRows(e){this._maxRows=po(e),this._setMaxHeight()}get enabled(){return this._enabled}set enabled(e){e=Ae(e),this._enabled!==e&&((this._enabled=e)?this.resizeToFitContent(!0):this.reset())}get placeholder(){return this._textareaElement.placeholder}set placeholder(e){this._cachedPlaceholderHeight=void 0,e?this._textareaElement.setAttribute("placeholder",e):this._textareaElement.removeAttribute("placeholder"),this._cacheTextareaPlaceholderHeight()}_setMinHeight(){const e=this.minRows&&this._cachedLineHeight?this.minRows*this._cachedLineHeight+"px":null;e&&(this._textareaElement.style.minHeight=e)}_setMaxHeight(){const e=this.maxRows&&this._cachedLineHeight?this.maxRows*this._cachedLineHeight+"px":null;e&&(this._textareaElement.style.maxHeight=e)}ngAfterViewInit(){this._platform.isBrowser&&(this._initialHeight=this._textareaElement.style.height,this.resizeToFitContent(),this._ngZone.runOutsideAngular(()=>{Zc(this._getWindow(),"resize").pipe(Ly(16),Ge(this._destroyed)).subscribe(()=>this.resizeToFitContent(!0)),this._textareaElement.addEventListener("focus",this._handleFocusEvent),this._textareaElement.addEventListener("blur",this._handleFocusEvent)}),this._isViewInited=!0,this.resizeToFitContent(!0))}ngOnDestroy(){this._textareaElement.removeEventListener("focus",this._handleFocusEvent),this._textareaElement.removeEventListener("blur",this._handleFocusEvent),this._destroyed.next(),this._destroyed.complete()}_cacheTextareaLineHeight(){if(this._cachedLineHeight)return;let e=this._textareaElement.cloneNode(!1);e.rows=1,e.style.position="absolute",e.style.visibility="hidden",e.style.border="none",e.style.padding="0",e.style.height="",e.style.minHeight="",e.style.maxHeight="",e.style.overflow="hidden",this._textareaElement.parentNode.appendChild(e),this._cachedLineHeight=e.clientHeight,e.remove(),this._setMinHeight(),this._setMaxHeight()}_measureScrollHeight(){const e=this._textareaElement,i=e.style.marginBottom||"",r=this._platform.FIREFOX,o=r&&this._hasFocus,s=r?"cdk-textarea-autosize-measuring-firefox":"cdk-textarea-autosize-measuring";o&&(e.style.marginBottom=`${e.clientHeight}px`),e.classList.add(s);const a=e.scrollHeight-4;return e.classList.remove(s),o&&(e.style.marginBottom=i),a}_cacheTextareaPlaceholderHeight(){if(!this._isViewInited||null!=this._cachedPlaceholderHeight)return;if(!this.placeholder)return void(this._cachedPlaceholderHeight=0);const e=this._textareaElement.value;this._textareaElement.value=this._textareaElement.placeholder,this._cachedPlaceholderHeight=this._measureScrollHeight(),this._textareaElement.value=e}ngDoCheck(){this._platform.isBrowser&&this.resizeToFitContent()}resizeToFitContent(e=!1){if(!this._enabled||(this._cacheTextareaLineHeight(),this._cacheTextareaPlaceholderHeight(),!this._cachedLineHeight))return;const i=this._elementRef.nativeElement,r=i.value;if(!e&&this._minRows===this._previousMinRows&&r===this._previousValue)return;const o=this._measureScrollHeight(),s=Math.max(o,this._cachedPlaceholderHeight||0);i.style.height=`${s}px`,this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame<"u"?requestAnimationFrame(()=>this._scrollToCaretPosition(i)):setTimeout(()=>this._scrollToCaretPosition(i))}),this._previousValue=r,this._previousMinRows=this._minRows}reset(){void 0!==this._initialHeight&&(this._textareaElement.style.height=this._initialHeight)}_noopInputHandler(){}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_scrollToCaretPosition(e){const{selectionStart:i,selectionEnd:r}=e;!this._destroyed.isStopped&&this._hasFocus&&e.setSelectionRange(i,r)}}return n.\u0275fac=function(e){return new(e||n)(f(j),f(Jt),f(de),f(ae,8))},n.\u0275dir=T({type:n,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(e,i){1&e&&te("input",function(){return i._noopInputHandler()})},inputs:{minRows:["cdkAutosizeMinRows","minRows"],maxRows:["cdkAutosizeMaxRows","maxRows"],enabled:["cdkTextareaAutosize","enabled"],placeholder:"placeholder"},exportAs:["cdkTextareaAutosize"]}),n})(),LI=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({}),n})();const NI=new P("MAT_INPUT_VALUE_ACCESSOR"),a9=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let l9=0;const c9=FA(class{constructor(n,t,e,i){this._defaultErrorStateMatcher=n,this._parentForm=t,this._parentFormGroup=e,this.ngControl=i,this.stateChanges=new ce}});let VI=(()=>{class n extends c9{constructor(e,i,r,o,s,a,l,c,u,d){super(a,o,s,r),this._elementRef=e,this._platform=i,this._autofillMonitor=c,this._formField=d,this._uid="mat-input-"+l9++,this.focused=!1,this.stateChanges=new ce,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(_=>aA().has(_)),this._iOSKeyupListener=_=>{const y=_.target;!y.value&&0===y.selectionStart&&0===y.selectionEnd&&(y.setSelectionRange(1,1),y.setSelectionRange(0,0))};const h=this._elementRef.nativeElement,g=h.nodeName.toLowerCase();this._inputValueAccessor=l||h,this._previousNativeValue=this.value,this.id=this.id,i.IOS&&u.runOutsideAngular(()=>{e.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===g,this._isTextarea="textarea"===g,this._isInFormField=!!d,this._isNativeSelect&&(this.controlType=h.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(e){this._disabled=Ae(e),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(e){this._id=e||this._uid}get required(){var e,i,r,o;return null!==(e=null!==(i=this._required)&&void 0!==i?i:null===(r=this.ngControl)||void 0===r||null===(o=r.control)||void 0===o?void 0:o.hasValidator(Li.required))&&void 0!==e&&e}set required(e){this._required=Ae(e)}get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&aA().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(e){e!==this.value&&(this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=Ae(e)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}_focusChanged(e){e!==this.focused&&(this.focused=e,this.stateChanges.next())}_onInput(){}_dirtyCheckPlaceholder(){var e;const i=this._formField,r=!i||"legacy"!==i.appearance||null!==(e=i._hasLabel)&&void 0!==e&&e.call(i)?this.placeholder:null;if(r!==this._previousPlaceholder){const o=this._elementRef.nativeElement;this._previousPlaceholder=r,r?o.setAttribute("placeholder",r):o.removeAttribute("placeholder")}}_dirtyCheckNativeValue(){const e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_validateType(){a9.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const e=this._elementRef.nativeElement,i=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&i&&i.label)}return this.focused||!this.empty}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}}return n.\u0275fac=function(e){return new(e||n)(f(j),f(Jt),f(ar,10),f(su,8),f(ll,8),f(Iy),f(NI,10),f(o9),f(de),f(uv,8))},n.\u0275dir=T({type:n,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:12,hostBindings:function(e,i){1&e&&te("focus",function(){return i._focusChanged(!0)})("blur",function(){return i._focusChanged(!1)})("input",function(){return i._onInput()}),2&e&&(Ia("disabled",i.disabled)("required",i.required),je("id",i.id)("data-placeholder",i.placeholder)("name",i.name||null)("readonly",i.readonly&&!i._isNativeSelect||null)("aria-invalid",i.empty&&i.required?null:i.errorState)("aria-required",i.required),Ze("mat-input-server",i._isServer)("mat-native-select-inline",i._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[Me([{provide:uu,useExisting:n}]),O,nt]}),n})(),hv=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({providers:[Iy],imports:[LI,du,We,LI,du]}),n})();function u9(n,t){if(1&n&&Q(0,"input",2),2&n){const e=Y();S("id",e.id)("type",e.type||"text")("readonly",e.props.readonly)("required",e.required)("errorStateMatcher",e.errorStateMatcher)("formControl",e.formControl)("formlyAttributes",e.field)("tabIndex",e.props.tabindex)("placeholder",e.props.placeholder)}}function d9(n,t){if(1&n&&Q(0,"input",3),2&n){const e=Y();S("id",e.id)("readonly",e.props.readonly)("required",e.required)("errorStateMatcher",e.errorStateMatcher)("formControl",e.formControl)("formlyAttributes",e.field)("tabIndex",e.props.tabindex)("placeholder",e.props.placeholder)}}let h9=(()=>{class n extends hl{get type(){return this.props.type||"text"}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=U(n)))(i||n)}}(),n.\u0275cmp=pe({type:n,selectors:[["formly-field-mat-input"]],features:[O],decls:3,vars:2,consts:[["matInput","",3,"id","type","readonly","required","errorStateMatcher","formControl","formlyAttributes","tabIndex","placeholder",4,"ngIf","ngIfElse"],["numberTmp",""],["matInput","",3,"id","type","readonly","required","errorStateMatcher","formControl","formlyAttributes","tabIndex","placeholder"],["matInput","","type","number",3,"id","readonly","required","errorStateMatcher","formControl","formlyAttributes","tabIndex","placeholder"]],template:function(e,i){if(1&e&&(H(0,u9,1,9,"input",0),H(1,d9,1,8,"ng-template",null,1,Oa)),2&e){const r=Yi(2);S("ngIf","number"!==i.type)("ngIfElse",r)}},dependencies:[si,VI,tu,Es,sl,Ds,dl,Xy],encapsulation:2,changeDetection:0}),n})(),f9=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({imports:[[fn,xo,hv,Ts,Eo.forChild({types:[{name:"input",component:h9,wrappers:["form-field"]},{name:"string",extends:"input"},{name:"number",extends:"input",defaultOptions:{props:{type:"number"}}},{name:"integer",extends:"input",defaultOptions:{props:{type:"number"}}}]})]]}),n})(),p9=(()=>{class n extends hl{constructor(){super(...arguments),this.defaultOptions={props:{cols:1,rows:1}}}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=U(n)))(i||n)}}(),n.\u0275cmp=pe({type:n,selectors:[["formly-field-mat-textarea"]],features:[Me([{provide:NI,useExisting:n}]),O],decls:2,vars:15,consts:[["matInput","",3,"id","readonly","required","formControl","errorStateMatcher","cols","rows","formlyAttributes","placeholder","tabindex","cdkTextareaAutosize","cdkAutosizeMinRows","cdkAutosizeMaxRows"]],template:function(e,i){1&e&&(D(0,"textarea",0),V(1," "),M()),2&e&&(Ze("cdk-textarea-autosize",i.props.autosize),S("id",i.id)("readonly",i.props.readonly)("required",i.required)("formControl",i.formControl)("errorStateMatcher",i.errorStateMatcher)("cols",i.props.cols)("rows",i.props.rows)("formlyAttributes",i.field)("placeholder",i.props.placeholder)("tabindex",i.props.tabindex)("cdkTextareaAutosize",i.props.autosize)("cdkAutosizeMinRows",i.props.autosizeMinRows)("cdkAutosizeMaxRows",i.props.autosizeMaxRows))},dependencies:[VI,tu,s9,Es,sl,Ds,dl],encapsulation:2,changeDetection:0}),n})(),g9=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({imports:[[fn,xo,hv,Ts,Eo.forChild({types:[{name:"textarea",component:p9,wrappers:["form-field"]}]})]]}),n})(),fv=(()=>{class n{transform(e,i){return e instanceof Re||(e=q(e)),e.pipe(z(r=>this.transformOptions(r,i)))}transformOptions(e,i){const r=this.transformSelectProps(i),o=[],s={};return e?.forEach(a=>{const l=this.transformOption(a,r);if(l.group){const c=s[l.label];void 0===c?s[l.label]=o.push(l)-1:l.group.forEach(u=>o[c].group.push(u))}else o.push(l)}),o}transformOption(e,i){const r=i.groupProp(e);return Array.isArray(r)?{label:i.labelProp(e),group:r.map(o=>this.transformOption(o,i))}:(e={label:i.labelProp(e),value:i.valueProp(e),disabled:!!i.disabledProp(e)},r?{label:r,group:[e]}:e)}transformSelectProps(e){const i=e?.props||e?.templateOptions||{},r=o=>"function"==typeof o?o:s=>s[o];return{groupProp:r(i.groupProp||"group"),labelProp:r(i.labelProp||"label"),valueProp:r(i.valueProp||"value"),disabledProp:r(i.disabledProp||"disabled")}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=on({name:"formlySelectOptions",type:n,pure:!0}),n})(),pv=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({}),n})();class m9{constructor(t=!1,e,i=!0,r){this._multiple=t,this._emitChanges=i,this.compareWith=r,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new ce,e&&e.length&&(t?e.forEach(o=>this._markSelected(o)):this._markSelected(e[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...t){this._verifyValueAssignment(t),t.forEach(i=>this._markSelected(i));const e=this._hasQueuedChanges();return this._emitChangeEvent(),e}deselect(...t){this._verifyValueAssignment(t),t.forEach(i=>this._unmarkSelected(i));const e=this._hasQueuedChanges();return this._emitChangeEvent(),e}setSelection(...t){this._verifyValueAssignment(t);const e=this.selected,i=new Set(t);t.forEach(o=>this._markSelected(o)),e.filter(o=>!i.has(o)).forEach(o=>this._unmarkSelected(o));const r=this._hasQueuedChanges();return this._emitChangeEvent(),r}toggle(t){return this.isSelected(t)?this.deselect(t):this.select(t)}clear(t=!0){this._unmarkAll();const e=this._hasQueuedChanges();return t&&this._emitChangeEvent(),e}isSelected(t){if(this.compareWith){for(const e of this._selection)if(this.compareWith(e,t))return!0;return!1}return this._selection.has(t)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(t){this._multiple&&this.selected&&this._selected.sort(t)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(t){this.isSelected(t)||(this._multiple||this._unmarkAll(),this.isSelected(t)||this._selection.add(t),this._emitChanges&&this._selectedToEmit.push(t))}_unmarkSelected(t){this.isSelected(t)&&(this._selection.delete(t),this._emitChanges&&this._deselectedToEmit.push(t))}_unmarkAll(){this.isEmpty()||this._selection.forEach(t=>this._unmarkSelected(t))}_verifyValueAssignment(t){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}}let _9=(()=>{class n{constructor(){this._listeners=[]}notify(e,i){for(let r of this._listeners)r(e,i)}listen(e){return this._listeners.push(e),()=>{this._listeners=this._listeners.filter(i=>e!==i)}}ngOnDestroy(){this._listeners=[]}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=k({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const y9=["input"],v9=function(n){return{enterDuration:n}},b9=["*"],C9=new P("mat-radio-default-options",{providedIn:"root",factory:function w9(){return{color:"accent"}}});let BI=0;const x9={provide:di,useExisting:Te(()=>gv),multi:!0};class HI{constructor(t,e){this.source=t,this.value=e}}const $I=new P("MatRadioGroup");let D9=(()=>{class n{constructor(e){this._changeDetector=e,this._value=null,this._name="mat-radio-group-"+BI++,this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=()=>{},this.onTouched=()=>{},this.change=new he}get name(){return this._name}set name(e){this._name=e,this._updateRadioButtonNames()}get labelPosition(){return this._labelPosition}set labelPosition(e){this._labelPosition="before"===e?"before":"after",this._markRadiosForCheck()}get value(){return this._value}set value(e){this._value!==e&&(this._value=e,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}_checkSelectedRadioButton(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}get selected(){return this._selected}set selected(e){this._selected=e,this.value=e?e.value:null,this._checkSelectedRadioButton()}get disabled(){return this._disabled}set disabled(e){this._disabled=Ae(e),this._markRadiosForCheck()}get required(){return this._required}set required(e){this._required=Ae(e),this._markRadiosForCheck()}ngAfterContentInit(){this._isInitialized=!0}_touch(){this.onTouched&&this.onTouched()}_updateRadioButtonNames(){this._radios&&this._radios.forEach(e=>{e.name=this.name,e._markForCheck()})}_updateSelectedRadioFromValue(){this._radios&&(null===this._selected||this._selected.value!==this._value)&&(this._selected=null,this._radios.forEach(i=>{i.checked=this.value===i.value,i.checked&&(this._selected=i)}))}_emitChangeEvent(){this._isInitialized&&this.change.emit(new HI(this._selected,this._value))}_markRadiosForCheck(){this._radios&&this._radios.forEach(e=>e._markForCheck())}writeValue(e){this.value=e,this._changeDetector.markForCheck()}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetector.markForCheck()}}return n.\u0275fac=function(e){return new(e||n)(f(Dn))},n.\u0275dir=T({type:n,inputs:{color:"color",name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required"},outputs:{change:"change"}}),n})(),gv=(()=>{class n extends D9{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=U(n)))(i||n)}}(),n.\u0275dir=T({type:n,selectors:[["mat-radio-group"]],contentQueries:function(e,i,r){if(1&e&&Kt(r,jI,5),2&e){let o;_e(o=ye())&&(i._radios=o)}},hostAttrs:["role","radiogroup",1,"mat-radio-group"],exportAs:["matRadioGroup"],features:[Me([x9,{provide:$I,useExisting:n}]),O]}),n})();class M9{constructor(t){this._elementRef=t}}const E9=hf(Ty(M9));let S9=(()=>{class n extends E9{constructor(e,i,r,o,s,a,l,c){super(i),this._changeDetector=r,this._focusMonitor=o,this._radioDispatcher=s,this._providerOverride=l,this._uniqueId="mat-radio-"+ ++BI,this.id=this._uniqueId,this.change=new he,this._checked=!1,this._value=null,this._removeUniqueSelectionListener=()=>{},this.radioGroup=e,this._noopAnimations="NoopAnimations"===a,c&&(this.tabIndex=po(c,0)),this._removeUniqueSelectionListener=s.listen((u,d)=>{u!==this.id&&d===this.name&&(this.checked=!1)})}get checked(){return this._checked}set checked(e){const i=Ae(e);this._checked!==i&&(this._checked=i,i&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!i&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),i&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}get value(){return this._value}set value(e){this._value!==e&&(this._value=e,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===e),this.checked&&(this.radioGroup.selected=this)))}get labelPosition(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"}set labelPosition(e){this._labelPosition=e}get disabled(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled}set disabled(e){this._setDisabled(Ae(e))}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(e){this._required=Ae(e)}get color(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"}set color(e){this._color=e}get inputId(){return`${this.id||this._uniqueId}-input`}focus(e,i){i?this._focusMonitor.focusVia(this._inputElement,i,e):this._inputElement.nativeElement.focus(e)}_markForCheck(){this._changeDetector.markForCheck()}ngOnInit(){this.radioGroup&&(this.checked=this.radioGroup.value===this._value,this.checked&&(this.radioGroup.selected=this),this.name=this.radioGroup.name)}ngDoCheck(){this._updateTabIndex()}ngAfterViewInit(){this._updateTabIndex(),this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{!e&&this.radioGroup&&this.radioGroup._touch()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}_emitChangeEvent(){this.change.emit(new HI(this,this._value))}_isRippleDisabled(){return this.disableRipple||this.disabled}_onInputClick(e){e.stopPropagation()}_onInputInteraction(e){if(e.stopPropagation(),!this.checked&&!this.disabled){const i=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),i&&this.radioGroup._emitChangeEvent())}}_setDisabled(e){this._disabled!==e&&(this._disabled=e,this._changeDetector.markForCheck())}_updateTabIndex(){const e=this.radioGroup;let i;if(i=e&&e.selected&&!this.disabled?e.selected===this?this.tabIndex:-1:this.tabIndex,i!==this._previousTabIndex){var r;const o=null===(r=this._inputElement)||void 0===r?void 0:r.nativeElement;o&&(o.setAttribute("tabindex",i+""),this._previousTabIndex=i)}}}return n.\u0275fac=function(e){qo()},n.\u0275dir=T({type:n,viewQuery:function(e,i){if(1&e&&et(y9,5),2&e){let r;_e(r=ye())&&(i._inputElement=r.first)}},inputs:{id:"id",name:"name",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],checked:"checked",value:"value",labelPosition:"labelPosition",disabled:"disabled",required:"required",color:"color"},outputs:{change:"change"},features:[O]}),n})(),jI=(()=>{class n extends S9{constructor(e,i,r,o,s,a,l,c){super(e,i,r,o,s,a,l,c)}}return n.\u0275fac=function(e){return new(e||n)(f($I,8),f(j),f(Dn),f(_s),f(_9),f(ni,8),f(C9,8),Ui("tabindex"))},n.\u0275cmp=pe({type:n,selectors:[["mat-radio-button"]],hostAttrs:[1,"mat-radio-button"],hostVars:17,hostBindings:function(e,i){1&e&&te("focus",function(){return i._inputElement.nativeElement.focus()}),2&e&&(je("tabindex",null)("id",i.id)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),Ze("mat-radio-checked",i.checked)("mat-radio-disabled",i.disabled)("_mat-animation-noopable",i._noopAnimations)("mat-primary","primary"===i.color)("mat-accent","accent"===i.color)("mat-warn","warn"===i.color))},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matRadioButton"],features:[O],ngContentSelectors:b9,decls:13,vars:19,consts:[[1,"mat-radio-label"],["label",""],[1,"mat-radio-container"],[1,"mat-radio-outer-circle"],[1,"mat-radio-inner-circle"],["type","radio",1,"mat-radio-input",3,"id","checked","disabled","required","change","click"],["input",""],["mat-ripple","",1,"mat-radio-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],[1,"mat-radio-label-content"],[2,"display","none"]],template:function(e,i){if(1&e&&(Mi(),D(0,"label",0,1)(2,"span",2),Q(3,"span",3)(4,"span",4),D(5,"input",5,6),te("change",function(o){return i._onInputInteraction(o)})("click",function(o){return i._onInputClick(o)}),M(),D(7,"span",7),Q(8,"span",8),M()(),D(9,"span",9)(10,"span",10),V(11,"\xa0"),M(),_t(12),M()()),2&e){const r=Yi(1);je("for",i.inputId),E(5),S("id",i.inputId)("checked",i.checked)("disabled",i.disabled)("required",i.required),je("name",i.name)("value",i.value)("aria-label",i.ariaLabel)("aria-labelledby",i.ariaLabelledby)("aria-describedby",i.ariaDescribedby),E(2),S("matRippleTrigger",r)("matRippleDisabled",i._isRippleDisabled())("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",Ai(17,v9,i._noopAnimations?0:150)),E(2),Ze("mat-radio-label-before","before"==i.labelPosition)}},dependencies:[ys],styles:['.mat-radio-button{display:inline-block;-webkit-tap-highlight-color:rgba(0,0,0,0);outline:0}.mat-radio-label{-webkit-user-select:none;user-select:none;cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap;vertical-align:middle;width:100%}.mat-radio-container{box-sizing:border-box;display:inline-block;position:relative;width:20px;height:20px;flex-shrink:0}.mat-radio-outer-circle{box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;transition:border-color ease 280ms;width:20px;border-width:2px;border-style:solid;border-radius:50%}._mat-animation-noopable .mat-radio-outer-circle{transition:none}.mat-radio-inner-circle{border-radius:50%;box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;opacity:0;transition:transform ease 280ms,background-color ease 280ms,opacity linear 1ms 280ms;width:20px;transform:scale(0.001);-webkit-print-color-adjust:exact;color-adjust:exact}.mat-radio-checked .mat-radio-inner-circle{transform:scale(0.5);opacity:1;transition:transform ease 280ms,background-color ease 280ms}.cdk-high-contrast-active .mat-radio-checked .mat-radio-inner-circle{border:solid 10px}._mat-animation-noopable .mat-radio-inner-circle{transition:none}.mat-radio-label-content{-webkit-user-select:auto;user-select:auto;display:inline-block;order:0;line-height:inherit;padding-left:8px;padding-right:0}[dir=rtl] .mat-radio-label-content{padding-right:8px;padding-left:0}.mat-radio-label-content.mat-radio-label-before{order:-1;padding-left:0;padding-right:8px}[dir=rtl] .mat-radio-label-content.mat-radio-label-before{padding-right:0;padding-left:8px}.mat-radio-disabled,.mat-radio-disabled .mat-radio-label{cursor:default}.mat-radio-button .mat-radio-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-radio-button .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple){opacity:.16}.mat-radio-persistent-ripple{width:100%;height:100%;transform:none;top:0;left:0}.mat-radio-container:hover .mat-radio-persistent-ripple{opacity:.04}.mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-persistent-ripple,.mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-persistent-ripple{opacity:.12}.mat-radio-persistent-ripple,.mat-radio-disabled .mat-radio-container:hover .mat-radio-persistent-ripple{opacity:0}@media(hover: none){.mat-radio-container:hover .mat-radio-persistent-ripple{display:none}}.mat-radio-input{opacity:0;position:absolute;top:0;left:0;margin:0;width:100%;height:100%;cursor:inherit;z-index:-1}.mat-radio-input:focus~.mat-focus-indicator::before{content:""}.cdk-high-contrast-active .mat-radio-disabled{opacity:.5}'],encapsulation:2,changeDetection:0}),n})(),A9=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({imports:[ol,We,We]}),n})();function T9(n,t){if(1&n&&(D(0,"mat-radio-button",2),V(1),M()),2&n){const e=t.$implicit,i=t.index,r=Y();S("id",r.id+"_"+i)("color",r.props.color)("labelPosition",r.props.labelPosition)("disabled",e.disabled)("value",e.value),E(1),xn(" ",e.label," ")}}let I9=(()=>{class n extends hl{constructor(){super(...arguments),this.defaultOptions={props:{hideFieldUnderline:!0,floatLabel:"always",tabindex:-1}}}ngAfterViewInit(){this.focusObserver=$t(this.field,["focus"],({currentValue:e})=>{-1===this.props.tabindex&&e&&this.radioGroup._radios.length>0&&setTimeout(()=>{(this.radioGroup.selected?this.radioGroup.selected:this.radioGroup._radios.first).focus()})})}onContainerClick(){}ngOnDestroy(){super.ngOnDestroy(),this.focusObserver&&this.focusObserver.unsubscribe()}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=U(n)))(i||n)}}(),n.\u0275cmp=pe({type:n,selectors:[["formly-field-mat-radio"]],viewQuery:function(e,i){if(1&e&&et(gv,7),2&e){let r;_e(r=ye())&&(i.radioGroup=r.first)}},features:[O],decls:4,vars:10,consts:[[3,"formControl","formlyAttributes","required","tabindex"],[3,"id","color","labelPosition","disabled","value",4,"ngFor","ngForOf"],[3,"id","color","labelPosition","disabled","value"]],template:function(e,i){1&e&&(D(0,"mat-radio-group",0),H(1,T9,2,6,"mat-radio-button",1),Xi(2,"async"),Xi(3,"formlySelectOptions"),M()),2&e&&(S("formControl",i.formControl)("formlyAttributes",i.field)("required",i.required)("tabindex",i.props.tabindex),E(1),S("ngForOf",Ra(2,5,dc(3,7,i.props.options,i.field))))},dependencies:[jI,gv,sl,Ds,dl,Es,oi,Ba,fv],encapsulation:2,changeDetection:0}),n})(),k9=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({imports:[[fn,xo,A9,Ts,pv,Eo.forChild({types:[{name:"radio",component:I9,wrappers:["form-field"]}]})]]}),n})();const F9=["input"],R9=["label"],O9=function(n){return{enterDuration:n}},P9=["*"],L9=new P("mat-checkbox-default-options",{providedIn:"root",factory:GI});function GI(){return{color:"accent",clickAction:"check-indeterminate"}}let N9=0;const UI=GI(),V9={provide:di,useExisting:Te(()=>hu),multi:!0};class B9{}const H9=Ty(df(hf(uf(class{constructor(n){this._elementRef=n}}))));let $9=(()=>{class n extends H9{constructor(e,i,r,o,s,a,l){super(i),this._changeDetectorRef=r,this._ngZone=o,this._animationMode=a,this._options=l,this.ariaLabel="",this.ariaLabelledby=null,this.labelPosition="after",this.name=null,this.change=new he,this.indeterminateChange=new he,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||UI,this.color=this.defaultColor=this._options.color||UI.color,this.tabIndex=parseInt(s)||0,this.id=this._uniqueId=`${e}${++N9}`}get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(e){this._required=Ae(e)}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(e){const i=Ae(e);i!=this.checked&&(this._checked=i,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(e){const i=Ae(e);i!==this.disabled&&(this._disabled=i,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(e){const i=e!=this._indeterminate;this._indeterminate=Ae(e),i&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(e){this.checked=!!e}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_getAriaChecked(){return this.checked?"true":this.indeterminate?"mixed":"false"}_transitionCheckState(e){let i=this._currentCheckState,r=this._getAnimationTargetElement();if(i!==e&&r&&(this._currentAnimationClass&&r.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(i,e),this._currentCheckState=e,this._currentAnimationClass.length>0)){r.classList.add(this._currentAnimationClass);const o=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{r.classList.remove(o)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){var e;const i=null===(e=this._options)||void 0===e?void 0:e.clickAction;this.disabled||"noop"===i?!this.disabled&&"noop"===i&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==i&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}_onInteractionEvent(e){e.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(e,i){if("NoopAnimations"===this._animationMode)return"";switch(e){case 0:if(1===i)return this._animationClasses.uncheckedToChecked;if(3==i)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case 2:return 1===i?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case 1:return 2===i?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case 3:return 1===i?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(e){const i=this._inputElement;i&&(i.nativeElement.indeterminate=e)}}return n.\u0275fac=function(e){qo()},n.\u0275dir=T({type:n,viewQuery:function(e,i){if(1&e&&(et(F9,5),et(R9,5),et(ys,5)),2&e){let r;_e(r=ye())&&(i._inputElement=r.first),_e(r=ye())&&(i._labelElement=r.first),_e(r=ye())&&(i.ripple=r.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],id:"id",required:"required",labelPosition:"labelPosition",name:"name",value:"value",checked:"checked",disabled:"disabled",indeterminate:"indeterminate"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},features:[O]}),n})(),hu=(()=>{class n extends $9{constructor(e,i,r,o,s,a,l){super("mat-checkbox-",e,i,o,s,a,l),this._focusMonitor=r,this._animationClasses={uncheckedToChecked:"mat-checkbox-anim-unchecked-checked",uncheckedToIndeterminate:"mat-checkbox-anim-unchecked-indeterminate",checkedToUnchecked:"mat-checkbox-anim-checked-unchecked",checkedToIndeterminate:"mat-checkbox-anim-checked-indeterminate",indeterminateToChecked:"mat-checkbox-anim-indeterminate-checked",indeterminateToUnchecked:"mat-checkbox-anim-indeterminate-unchecked"}}_createChangeEvent(e){const i=new B9;return i.source=this,i.checked=e,i}_getAnimationTargetElement(){return this._elementRef.nativeElement}ngAfterViewInit(){super.ngAfterViewInit(),this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{e||this._onBlur()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}_onInputClick(e){e.stopPropagation(),super._handleInputClick()}focus(e,i){e?this._focusMonitor.focusVia(this._inputElement,e,i):this._inputElement.nativeElement.focus(i)}}return n.\u0275fac=function(e){return new(e||n)(f(j),f(Dn),f(_s),f(de),Ui("tabindex"),f(ni,8),f(L9,8))},n.\u0275cmp=pe({type:n,selectors:[["mat-checkbox"]],hostAttrs:[1,"mat-checkbox"],hostVars:14,hostBindings:function(e,i){2&e&&(Ia("id",i.id),je("tabindex",null)("aria-label",null)("aria-labelledby",null),Ze("mat-checkbox-indeterminate",i.indeterminate)("mat-checkbox-checked",i.checked)("mat-checkbox-disabled",i.disabled)("mat-checkbox-label-before","before"==i.labelPosition)("_mat-animation-noopable","NoopAnimations"===i._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matCheckbox"],features:[Me([V9]),O],ngContentSelectors:P9,decls:17,vars:21,consts:[[1,"mat-checkbox-layout"],["label",""],[1,"mat-checkbox-inner-container"],["type","checkbox",1,"mat-checkbox-input","cdk-visually-hidden",3,"id","required","checked","disabled","tabIndex","change","click"],["input",""],["matRipple","",1,"mat-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleRadius","matRippleCentered","matRippleAnimation"],[1,"mat-ripple-element","mat-checkbox-persistent-ripple"],[1,"mat-checkbox-frame"],[1,"mat-checkbox-background"],["version","1.1","focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mat-checkbox-checkmark"],["fill","none","stroke","white","d","M4.1,12.7 9,17.6 20.3,6.3",1,"mat-checkbox-checkmark-path"],[1,"mat-checkbox-mixedmark"],[1,"mat-checkbox-label",3,"cdkObserveContent"],["checkboxLabel",""],[2,"display","none"]],template:function(e,i){if(1&e&&(Mi(),D(0,"label",0,1)(2,"span",2)(3,"input",3,4),te("change",function(o){return i._onInteractionEvent(o)})("click",function(o){return i._onInputClick(o)}),M(),D(5,"span",5),Q(6,"span",6),M(),Q(7,"span",7),D(8,"span",8),function Qv(){le.lFrame.currentNamespace="svg"}(),D(9,"svg",9),Q(10,"path",10),M(),function Kv(){!function Nk(){le.lFrame.currentNamespace=null}()}(),Q(11,"span",11),M()(),D(12,"span",12,13),te("cdkObserveContent",function(){return i._onLabelTextChange()}),D(14,"span",14),V(15,"\xa0"),M(),_t(16),M()()),2&e){const r=Yi(1),o=Yi(13);je("for",i.inputId),E(2),Ze("mat-checkbox-inner-container-no-side-margin",!o.textContent||!o.textContent.trim()),E(1),S("id",i.inputId)("required",i.required)("checked",i.checked)("disabled",i.disabled)("tabIndex",i.tabIndex),je("value",i.value)("name",i.name)("aria-label",i.ariaLabel||null)("aria-labelledby",i.ariaLabelledby)("aria-checked",i._getAriaChecked())("aria-describedby",i.ariaDescribedby),E(2),S("matRippleTrigger",r)("matRippleDisabled",i._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",Ai(19,O9,"NoopAnimations"===i._animationMode?0:150))}},dependencies:[ys,gA],styles:['@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{display:inline-block;transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);position:relative}.mat-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-checkbox-layout{-webkit-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:rgba(0,0,0,0);transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0, 0, 0.2, 0.1),opacity 90ms cubic-bezier(0, 0, 0.2, 0.1);-webkit-print-color-adjust:exact;color-adjust:exact}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{display:block;width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media(hover: none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.910259;stroke-dasharray:22.910259;stroke-width:2.1333333333px}.cdk-high-contrast-black-on-white .mat-checkbox-checkmark-path{stroke:#000 !important}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0deg);border-radius:2px}.cdk-high-contrast-active .mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0deg)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:rgba(0,0,0,0)}.mat-checkbox-disabled{cursor:default}.cdk-high-contrast-active .mat-checkbox-disabled{opacity:.5}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0ms mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0ms mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:300ms linear 0ms mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}.mat-checkbox-input:focus~.mat-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),n})(),zI=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({}),n})(),WI=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({imports:[ol,We,sf,zI,We,zI]}),n})();function U9(n,t){1&n&&(D(0,"span",2),V(1,"*"),M())}let z9=(()=>{class n extends hl{constructor(e,i){super(),this.renderer=e,this.focusMonitor=i,this.defaultOptions={props:{hideFieldUnderline:!0,indeterminate:!0,floatLabel:"always",hideLabel:!0,color:"accent"}}}onContainerClick(e){this.checkbox.focus(),super.onContainerClick(e)}ngAfterViewInit(){this.checkbox&&this.focusMonitor.monitor(this.checkbox._inputElement,!0).subscribe(e=>{e?this.props.focus&&this.props.focus(this.field):this.props.blur&&this.props.blur(this.field)})}ngAfterViewChecked(){if(this.required!==this._required&&this.checkbox&&this.checkbox._inputElement){this._required=this.required;const e=this.checkbox._inputElement.nativeElement;this.required?this.renderer.setAttribute(e,"required","required"):this.renderer.removeAttribute(e,"required")}}ngOnDestroy(){super.ngOnDestroy(),this.checkbox&&this.focusMonitor.stopMonitoring(this.checkbox._inputElement)}}return n.\u0275fac=function(e){return new(e||n)(f(qt),f(_s))},n.\u0275cmp=pe({type:n,selectors:[["formly-field-mat-checkbox"]],viewQuery:function(e,i){if(1&e&&et(hu,7),2&e){let r;_e(r=ye())&&(i.checkbox=r.first)}},features:[O],decls:3,vars:9,consts:[[3,"formControl","id","formlyAttributes","tabIndex","indeterminate","color","labelPosition"],["aria-hidden","true","class","mat-form-field-required-marker",4,"ngIf"],["aria-hidden","true",1,"mat-form-field-required-marker"]],template:function(e,i){1&e&&(D(0,"mat-checkbox",0),V(1),H(2,U9,2,0,"span",1),M()),2&e&&(S("formControl",i.formControl)("id",i.id)("formlyAttributes",i.field)("tabIndex",i.props.tabindex)("indeterminate",i.props.indeterminate&&null==i.formControl.value)("color",i.props.color)("labelPosition",i.props.labelPosition),E(1),xn(" ",i.props.label," "),E(1),S("ngIf",i.props.required&&!0!==i.props.hideRequiredMarker))},dependencies:[hu,sl,Ds,dl,si],encapsulation:2,changeDetection:0}),n})(),W9=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({imports:[[fn,xo,WI,Ts,Eo.forChild({types:[{name:"checkbox",component:z9,wrappers:["form-field"]},{name:"boolean",extends:"checkbox"}]})]]}),n})();function q9(n,t){if(1&n){const e=Er();Bn(0),D(1,"mat-checkbox",1),te("change",function(r){const s=Hi(e).$implicit;return $i(Y().onChange(s.value,r.checked))}),V(2),M(),Hn()}if(2&n){const e=t.$implicit,i=t.index,r=Y();E(1),S("id",r.id+"_"+i)("formlyAttributes",r.field)("tabIndex",r.props.tabindex)("color",r.props.color)("labelPosition",r.props.labelPosition)("checked",r.isChecked(e))("disabled",r.formControl.disabled||e.disabled),E(1),xn(" ",e.label," ")}}let Y9=(()=>{class n extends hl{constructor(){super(...arguments),this.defaultOptions={props:{hideFieldUnderline:!0,floatLabel:"always",color:"accent"}}}onChange(e,i){this.formControl.markAsDirty(),this.formControl.patchValue("array"===this.props.type?i?[...this.formControl.value||[],e]:[...this.formControl.value||[]].filter(r=>r!==e):{...this.formControl.value,[e]:i}),this.formControl.markAsTouched()}onContainerClick(){}isChecked(e){const i=this.formControl.value;return i&&("array"===this.props.type?-1!==i.indexOf(e.value):i[e.value])}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=U(n)))(i||n)}}(),n.\u0275cmp=pe({type:n,selectors:[["formly-field-mat-multicheckbox"]],viewQuery:function(e,i){if(1&e&&et(hu,5),2&e){let r;_e(r=ye())&&(i.checkboxes=r)}},hostVars:1,hostBindings:function(e,i){2&e&&Ia("id",i.id)},features:[O],decls:3,vars:6,consts:[[4,"ngFor","ngForOf"],[3,"id","formlyAttributes","tabIndex","color","labelPosition","checked","disabled","change"]],template:function(e,i){1&e&&(H(0,q9,3,8,"ng-container",0),Xi(1,"async"),Xi(2,"formlySelectOptions")),2&e&&S("ngForOf",Ra(1,1,dc(2,3,i.props.options,i.field)))},dependencies:[hu,oi,dl,Ba,fv],encapsulation:2,changeDetection:0}),n})(),Q9=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({imports:[[fn,xo,WI,Ts,pv,Eo.forChild({types:[{name:"multicheckbox",component:Y9,wrappers:["form-field"]}]})]]}),n})();const K9=["trigger"],Z9=["panel"];function X9(n,t){if(1&n&&(D(0,"span",8),V(1),M()),2&n){const e=Y();E(1),Ne(e.placeholder)}}function J9(n,t){if(1&n&&(D(0,"span",12),V(1),M()),2&n){const e=Y(2);E(1),Ne(e.triggerValue)}}function eY(n,t){1&n&&_t(0,0,["*ngSwitchCase","true"])}function tY(n,t){1&n&&(D(0,"span",9),H(1,J9,2,1,"span",10),H(2,eY,1,0,"ng-content",11),M()),2&n&&(S("ngSwitch",!!Y().customTrigger),E(2),S("ngSwitchCase",!0))}function nY(n,t){if(1&n){const e=Er();D(0,"div",13)(1,"div",14,15),te("@transformPanel.done",function(r){return Hi(e),$i(Y()._panelDoneAnimatingStream.next(r.toState))})("keydown",function(r){return Hi(e),$i(Y()._handleKeydown(r))}),_t(3,1),M()()}if(2&n){const e=Y();S("@transformPanelWrap",void 0),E(1),function a0(n,t,e){Si(Ln,Zi,Ca(R(),n,t,e),!0)}("mat-select-panel ",e._getPanelTheme(),""),Sd("transform-origin",e._transformOrigin)("font-size",e._triggerFontSize,"px"),S("ngClass",e.panelClass)("@transformPanel",e.multiple?"showing-multiple":"showing"),je("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby())}}const iY=[[["mat-select-trigger"]],"*"],rY=["mat-select-trigger","*"],qI={transformPanelWrap:ir("transformPanelWrap",[Vt("* => void",jj("@transformPanel",[$j()],{optional:!0}))]),transformPanel:ir("transformPanel",[pn("void",Pe({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),pn("showing",Pe({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),pn("showing-multiple",Pe({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),Vt("void => *",Xt("120ms cubic-bezier(0, 0, 0.2, 1)")),Vt("* => void",Xt("100ms 25ms linear",Pe({opacity:0})))])};let YI=0;const KI=new P("mat-select-scroll-strategy"),lY=new P("MAT_SELECT_CONFIG"),cY={provide:KI,deps:[bs],useFactory:function aY(n){return()=>n.scrollStrategies.reposition()}};class uY{constructor(t,e){this.source=t,this.value=e}}const dY=hf(Ty(uf(FA(class{constructor(n,t,e,i,r){this._elementRef=n,this._defaultErrorStateMatcher=t,this._parentForm=e,this._parentFormGroup=i,this.ngControl=r,this.stateChanges=new ce}})))),hY=new P("MatSelectTrigger");let fY=(()=>{class n extends dY{constructor(e,i,r,o,s,a,l,c,u,d,h,g,_,y){var x,C,F;super(s,o,l,c,d),this._viewportRuler=e,this._changeDetectorRef=i,this._ngZone=r,this._dir=a,this._parentFormField=u,this._liveAnnouncer=_,this._defaultOptions=y,this._panelOpen=!1,this._compareWith=(A,N)=>A===N,this._uid="mat-select-"+YI++,this._triggerAriaLabelledBy=null,this._destroy=new ce,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+YI++,this._panelDoneAnimatingStream=new ce,this._overlayPanelClass=(null===(x=this._defaultOptions)||void 0===x?void 0:x.overlayPanelClass)||"",this._focused=!1,this.controlType="mat-select",this._multiple=!1,this._disableOptionCentering=null!==(C=null===(F=this._defaultOptions)||void 0===F?void 0:F.disableOptionCentering)&&void 0!==C&&C,this.ariaLabel="",this.optionSelectionChanges=P_(()=>{const A=this.options;return A?A.changes.pipe(Nr(A),zn(()=>wt(...A.map(N=>N.onSelectionChange)))):this._ngZone.onStable.pipe(Sn(1),zn(()=>this.optionSelectionChanges))}),this.openedChange=new he,this._openedStream=this.openedChange.pipe(It(A=>A),z(()=>{})),this._closedStream=this.openedChange.pipe(It(A=>!A),z(()=>{})),this.selectionChange=new he,this.valueChange=new he,this.ngControl&&(this.ngControl.valueAccessor=this),null!=y?.typeaheadDebounceInterval&&(this._typeaheadDebounceInterval=y.typeaheadDebounceInterval),this._scrollStrategyFactory=g,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(h)||0,this.id=this.id}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get required(){var e,i,r,o;return null!==(e=null!==(i=this._required)&&void 0!==i?i:null===(r=this.ngControl)||void 0===r||null===(o=r.control)||void 0===o?void 0:o.hasValidator(Li.required))&&void 0!==e&&e}set required(e){this._required=Ae(e),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(e){this._multiple=Ae(e)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(e){this._disableOptionCentering=Ae(e)}get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){this._assignValue(e)&&this._onChange(e)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(e){this._typeaheadDebounceInterval=po(e)}get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new m9(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(My(),Ge(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe(Ge(this._destroy)).subscribe(e=>{e.added.forEach(i=>i.select()),e.removed.forEach(i=>i.deselect())}),this.options.changes.pipe(Nr(null),Ge(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const e=this._getTriggerAriaLabelledby(),i=this.ngControl;if(e!==this._triggerAriaLabelledBy){const r=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?r.setAttribute("aria-labelledby",e):r.removeAttribute("aria-labelledby")}i&&(this._previousControl!==i.control&&(void 0!==this._previousControl&&null!==i.disabled&&i.disabled!==this.disabled&&(this.disabled=i.disabled),this._previousControl=i.control),this.updateErrorState())}ngOnChanges(e){(e.disabled||e.userAriaDescribedBy)&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(e){this._assignValue(e)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){var e,i;return this.multiple?(null===(e=this._selectionModel)||void 0===e?void 0:e.selected)||[]:null===(i=this._selectionModel)||void 0===i?void 0:i.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const e=this._selectionModel.selected.map(i=>i.viewValue);return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}_handleClosedKeydown(e){const i=e.keyCode,r=40===i||38===i||37===i||39===i,o=13===i||32===i,s=this._keyManager;if(!s.isTyping()&&o&&!nl(e)||(this.multiple||e.altKey)&&r)e.preventDefault(),this.open();else if(!this.multiple){const a=this.selected;s.onKeydown(e);const l=this.selected;l&&a!==l&&this._liveAnnouncer.announce(l.viewValue,1e4)}}_handleOpenKeydown(e){const i=this._keyManager,r=e.keyCode,o=40===r||38===r,s=i.isTyping();if(o&&e.altKey)e.preventDefault(),this.close();else if(s||13!==r&&32!==r||!i.activeItem||nl(e))if(!s&&this._multiple&&65===r&&e.ctrlKey){e.preventDefault();const a=this.options.some(l=>!l.disabled&&!l.selected);this.options.forEach(l=>{l.disabled||(a?l.select():l.deselect())})}else{const a=i.activeItemIndex;i.onKeydown(e),this._multiple&&o&&e.shiftKey&&i.activeItem&&i.activeItemIndex!==a&&i.activeItem._selectViaInteraction()}else e.preventDefault(),i.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe(Sn(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(e){if(this._selectionModel.selected.forEach(i=>i.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(i=>this._selectOptionByValue(i)),this._sortValues();else{const i=this._selectOptionByValue(e);i?this._keyManager.updateActiveItem(i):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(e){const i=this.options.find(r=>{if(this._selectionModel.isSelected(r))return!1;try{return null!=r.value&&this._compareWith(r.value,e)}catch{return!1}});return i&&this._selectionModel.select(i),i}_assignValue(e){return!!(e!==this._value||this._multiple&&Array.isArray(e))&&(this.options&&this._setSelectionByValue(e),this._value=e,!0)}_initKeyManager(){this._keyManager=new a4(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(Ge(this._destroy)).subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.pipe(Ge(this._destroy)).subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const e=wt(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(Ge(e)).subscribe(i=>{this._onSelect(i.source,i.isUserInput),i.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),wt(...this.options.map(i=>i._stateChanges)).pipe(Ge(e)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}_onSelect(e,i){const r=this._selectionModel.isSelected(e);null!=e.value||this._multiple?(r!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),i&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),i&&this.focus())):(e.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(e.value)),r!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const e=this.options.toArray();this._selectionModel.sort((i,r)=>this.sortComparator?this.sortComparator(i,r,e):e.indexOf(i)-e.indexOf(r)),this.stateChanges.next()}}_propagateChanges(e){let i=null;i=this.multiple?this.selected.map(r=>r.value):this.selected?this.selected.value:e,this._value=i,this.valueChange.emit(i),this._onChange(i),this.selectionChange.emit(this._getChangeEvent(i)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_canOpen(){var e;return!this._panelOpen&&!this.disabled&&(null===(e=this.options)||void 0===e?void 0:e.length)>0}focus(e){this._elementRef.nativeElement.focus(e)}_getPanelAriaLabelledby(){var e;if(this.ariaLabel)return null;const i=null===(e=this._parentFormField)||void 0===e?void 0:e.getLabelId();return this.ariaLabelledby?(i?i+" ":"")+this.ariaLabelledby:i}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){var e;if(this.ariaLabel)return null;const i=null===(e=this._parentFormField)||void 0===e?void 0:e.getLabelId();let r=(i?i+" ":"")+this._valueId;return this.ariaLabelledby&&(r+=" "+this.ariaLabelledby),r}_panelDoneAnimating(e){this.openedChange.emit(e)}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return n.\u0275fac=function(e){return new(e||n)(f(Ny),f(Dn),f(de),f(Iy),f(j),f(os,8),f(su,8),f(ll,8),f(uv,8),f(ar,10),Ui("tabindex"),f(KI),f(v4),f(lY,8))},n.\u0275dir=T({type:n,viewQuery:function(e,i){if(1&e&&(et(K9,5),et(Z9,5),et(lT,5)),2&e){let r;_e(r=ye())&&(i.trigger=r.first),_e(r=ye())&&(i.panel=r.first),_e(r=ye())&&(i._overlayDir=r.first)}},inputs:{userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[O,nt]}),n})(),pY=(()=>{class n extends fY{constructor(){super(...arguments),this._scrollTop=0,this._triggerFontSize=0,this._transformOrigin="top",this._offsetY=0,this._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}]}_calculateOverlayScroll(e,i,r){const o=this._getItemHeight();return Math.min(Math.max(0,o*e-i+o/2),r)}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe(Ge(this._destroy)).subscribe(()=>{this.panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._changeDetectorRef.markForCheck())})}open(){super._canOpen()&&(super.open(),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe(Sn(1)).subscribe(()=>{this._triggerFontSize&&this._overlayDir.overlayRef&&this._overlayDir.overlayRef.overlayElement&&(this._overlayDir.overlayRef.overlayElement.style.fontSize=`${this._triggerFontSize}px`)}))}_scrollOptionIntoView(e){const i=BA(e,this.options,this.optionGroups),r=this._getItemHeight();this.panel.nativeElement.scrollTop=0===e&&1===i?0:function $4(n,t,e,i){return ne+i?Math.max(0,n-i+t):e}((e+i)*r,r,this.panel.nativeElement.scrollTop,256)}_positioningSettled(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}_panelDoneAnimating(e){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),super._panelDoneAnimating(e)}_getChangeEvent(e){return new uY(this,e)}_calculateOverlayOffsetX(){const e=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),i=this._viewportRuler.getViewportSize(),r=this._isRtl(),o=this.multiple?56:32;let s;if(this.multiple)s=40;else if(this.disableOptionCentering)s=16;else{let c=this._selectionModel.selected[0]||this.options.first;s=c&&c.group?32:16}r||(s*=-1);const a=0-(e.left+s-(r?o:0)),l=e.right+s-i.width+(r?0:o);a>0?s+=a+8:l>0&&(s-=l+8),this._overlayDir.offsetX=Math.round(s),this._overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(e,i,r){const o=this._getItemHeight(),s=(o-this._triggerRect.height)/2,a=Math.floor(256/o);let l;return this.disableOptionCentering?0:(l=0===this._scrollTop?e*o:this._scrollTop===r?(e-(this._getItemCount()-a))*o+(o-(this._getItemCount()*o-256)%o):i-o/2,Math.round(-1*l-s))}_checkOverlayWithinViewport(e){const i=this._getItemHeight(),r=this._viewportRuler.getViewportSize(),o=this._triggerRect.top-8,s=r.height-this._triggerRect.bottom-8,a=Math.abs(this._offsetY),c=Math.min(this._getItemCount()*i,256)-a-this._triggerRect.height;c>s?this._adjustPanelUp(c,s):a>o?this._adjustPanelDown(a,o,e):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(e,i){const r=Math.round(e-i);this._scrollTop-=r,this._offsetY-=r,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(e,i,r){const o=Math.round(e-i);if(this._scrollTop+=o,this._offsetY+=o,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=r)return this._scrollTop=r,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_calculateOverlayPosition(){const e=this._getItemHeight(),i=this._getItemCount(),r=Math.min(i*e,256),s=i*e-r;let a;a=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),a+=BA(a,this.options,this.optionGroups);const l=r/2;this._scrollTop=this._calculateOverlayScroll(a,l,s),this._offsetY=this._calculateOverlayOffsetY(a,l,s),this._checkOverlayWithinViewport(s)}_getOriginBasedOnOption(){const e=this._getItemHeight(),i=(e-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-i+e/2}px 0px`}_getItemHeight(){return 3*this._triggerFontSize}_getItemCount(){return this.options.length+this.optionGroups.length}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=U(n)))(i||n)}}(),n.\u0275cmp=pe({type:n,selectors:[["mat-select"]],contentQueries:function(e,i,r){if(1&e&&(Kt(r,hY,5),Kt(r,VA,5),Kt(r,Ry,5)),2&e){let o;_e(o=ye())&&(i.customTrigger=o.first),_e(o=ye())&&(i.options=o),_e(o=ye())&&(i.optionGroups=o)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:19,hostBindings:function(e,i){1&e&&te("keydown",function(o){return i._handleKeydown(o)})("focus",function(){return i._onFocus()})("blur",function(){return i._onBlur()}),2&e&&(je("id",i.id)("tabindex",i.tabIndex)("aria-controls",i.panelOpen?i.id+"-panel":null)("aria-expanded",i.panelOpen)("aria-label",i.ariaLabel||null)("aria-required",i.required.toString())("aria-disabled",i.disabled.toString())("aria-invalid",i.errorState)("aria-activedescendant",i._getAriaActiveDescendant()),Ze("mat-select-disabled",i.disabled)("mat-select-invalid",i.errorState)("mat-select-required",i.required)("mat-select-empty",i.empty)("mat-select-multiple",i.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[Me([{provide:uu,useExisting:n},{provide:Fy,useExisting:n}]),O],ngContentSelectors:rY,decls:9,vars:12,consts:[["cdk-overlay-origin","",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder mat-select-min-line",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder","mat-select-min-line"],[1,"mat-select-value-text",3,"ngSwitch"],["class","mat-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-min-line"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(e,i){if(1&e&&(Mi(iY),D(0,"div",0,1),te("click",function(){return i.toggle()}),D(3,"div",2),H(4,X9,2,1,"span",3),H(5,tY,3,2,"span",4),M(),D(6,"div",5),Q(7,"div",6),M()(),H(8,nY,4,14,"ng-template",7),te("backdropClick",function(){return i.close()})("attach",function(){return i._onAttached()})("detach",function(){return i.close()})),2&e){const r=Yi(1);je("aria-owns",i.panelOpen?i.id+"-panel":null),E(3),S("ngSwitch",i.empty),je("id",i._valueId),E(1),S("ngSwitchCase",!0),E(1),S("ngSwitchCase",!1),E(3),S("cdkConnectedOverlayPanelClass",i._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",i._scrollStrategy)("cdkConnectedOverlayOrigin",r)("cdkConnectedOverlayOpen",i.panelOpen)("cdkConnectedOverlayPositions",i._positions)("cdkConnectedOverlayMinWidth",null==i._triggerRect?null:i._triggerRect.width)("cdkConnectedOverlayOffsetY",i._offsetY)}},dependencies:[ns,vc,Am,TD,lT,aT],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{height:16px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;margin:0 4px}.mat-form-field.mat-focused .mat-select-arrow{transform:translateX(0)}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}'],encapsulation:2,data:{animation:[qI.transformPanelWrap,qI.transformPanel]},changeDetection:0}),n})(),gY=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({providers:[cY],imports:[fn,Hy,HA,We,Jc,du,HA,We]}),n})();function mY(n,t){if(1&n){const e=Er();D(0,"mat-option",3),te("click",function(){const o=Hi(e).selectOptions;return $i(Y().toggleSelectAll(o))}),Q(1,"mat-pseudo-checkbox",4),V(2),M()}if(2&n){const e=t.selectOptions,i=Y();E(1),S("state",i.getSelectAllState(e)),E(1),xn(" ",i.props.selectAllOption," ")}}const _Y=function(n){return{selectOptions:n}};function yY(n,t){if(1&n&&Qi(0,7),2&n){const e=Y().ngIf;Y(),S("ngTemplateOutlet",Yi(1))("ngTemplateOutletContext",Ai(2,_Y,e))}}function vY(n,t){if(1&n&&(D(0,"mat-option",12),V(1),M()),2&n){const e=t.$implicit;S("value",e.value)("disabled",e.disabled),E(1),xn(" ",e.label," ")}}function bY(n,t){if(1&n&&(D(0,"mat-optgroup",10),H(1,vY,2,3,"mat-option",11),M()),2&n){const e=Y().$implicit;S("label",e.label),E(1),S("ngForOf",e.group)}}function CY(n,t){if(1&n&&(D(0,"mat-option",12),V(1),M()),2&n){const e=Y().$implicit;S("value",e.value)("disabled",e.disabled),E(1),Ne(e.label)}}function wY(n,t){if(1&n&&(Bn(0),H(1,bY,2,2,"mat-optgroup",8),H(2,CY,2,3,"mat-option",9),Hn()),2&n){const e=t.$implicit;E(1),S("ngIf",e.group),E(1),S("ngIf",!e.group)}}function xY(n,t){if(1&n&&(Bn(0),H(1,yY,1,4,"ng-container",5),H(2,wY,3,2,"ng-container",6),Hn()),2&n){const e=t.ngIf,i=Y();E(1),S("ngIf",i.props.multiple&&i.props.selectAllOption),E(1),S("ngForOf",e)}}let DY=(()=>{class n extends hl{constructor(){super(...arguments),this.defaultOptions={props:{compareWith:(e,i)=>e===i}}}getSelectAllState(e){return this.empty||0===this.value.length?null:this.value.length!==this.getSelectAllValue(e).length?"indeterminate":"checked"}toggleSelectAll(e){const i=this.getSelectAllValue(e);this.formControl.setValue(this.value&&this.value.length===i.length?[]:i),this.formControl.markAsDirty()}change(e){var i,r;null===(i=(r=this.props).change)||void 0===i||i.call(r,this.field,e)}_getAriaLabelledby(){var e,i;return null!==(e=this.props.attributes)&&void 0!==e&&e["aria-labelledby"]?this.props.attributes["aria-labelledby"]:null===(i=this.formField)||void 0===i?void 0:i._labelId}_getAriaLabel(){var e;return null===(e=this.props.attributes)||void 0===e?void 0:e["aria-label"]}getSelectAllValue(e){if(!this.selectAllValue||e!==this.selectAllValue.options){const i=[];e.forEach(r=>r.group?i.push(...r.group):i.push(r)),this.selectAllValue={options:e,value:i.filter(r=>!r.disabled).map(r=>r.value)}}return this.selectAllValue.value}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=U(n)))(i||n)}}(),n.\u0275cmp=pe({type:n,selectors:[["formly-field-mat-select"]],features:[O],decls:6,vars:19,consts:[["selectAll",""],[3,"id","formControl","formlyAttributes","placeholder","tabIndex","required","compareWith","multiple","errorStateMatcher","aria-label","aria-labelledby","disableOptionCentering","typeaheadDebounceInterval","selectionChange"],[4,"ngIf"],[3,"click"],[1,"mat-option-pseudo-checkbox",3,"state"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngIf"],[4,"ngFor","ngForOf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"label",4,"ngIf"],[3,"value","disabled",4,"ngIf"],[3,"label"],[3,"value","disabled",4,"ngFor","ngForOf"],[3,"value","disabled"]],template:function(e,i){1&e&&(H(0,mY,3,2,"ng-template",null,0,Oa),D(2,"mat-select",1),te("selectionChange",function(o){return i.change(o)}),H(3,xY,3,2,"ng-container",2),Xi(4,"async"),Xi(5,"formlySelectOptions"),M()),2&e&&(E(2),S("id",i.id)("formControl",i.formControl)("formlyAttributes",i.field)("placeholder",i.props.placeholder)("tabIndex",i.props.tabindex)("required",i.required)("compareWith",i.props.compareWith)("multiple",i.props.multiple)("errorStateMatcher",i.errorStateMatcher)("aria-label",i._getAriaLabel())("aria-labelledby",i._getAriaLabelledby())("disableOptionCentering",i.props.disableOptionCentering)("typeaheadDebounceInterval",i.props.typeaheadDebounceInterval),E(1),S("ngIf",Ra(4,14,dc(5,16,i.props.options,i.field))))},dependencies:[VA,LA,pY,N4,sl,Ds,dl,Es,si,Tm,oi,Ba,fv],encapsulation:2,changeDetection:0}),n})(),MY=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({imports:[[fn,xo,gY,NA,Ts,pv,Eo.forChild({types:[{name:"select",component:DY,wrappers:["form-field"]},{name:"enum",extends:"select"}]})]]}),n})(),EY=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({imports:[[Ts,f9,g9,k9,W9,Q9,MY]]}),n})();const SY=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;function AY(n){return SY.test(n.value)?null:{email:!0}}function TY(n,t){return`"${t.formControl.value}" is not a valid email address`}let IY=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({imports:[We,We]}),n})();const OY={provide:new P("mat-menu-scroll-strategy"),deps:[bs],useFactory:function RY(n){return()=>n.scrollStrategies.reposition()}};let PY=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({providers:[OY],imports:[fn,We,ol,Hy,Jc,We]}),n})(),HY=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({imports:[fn,We,QA,ol,sf,TA,We]}),n})(),$Y=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n}),n.\u0275inj=K({imports:[We,We]}),n})();const jY=[{path:"styleguide",component:F5},{path:"",component:Yq}];let GY=(()=>{class n{}return n.config={validators:[{name:"email",validation:AY}],validationMessages:[{name:"email",message:TY},{name:"required",message:"This field is required."}]},n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=k({token:n,factory:n.\u0275fac}),n})(),UY=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Z({type:n,bootstrap:[E5]}),n.\u0275inj=K({providers:[el],imports:[$U,eM,Vj,Pq,EY,Eo.forRoot(GY.config),F2,WU,W4,IY,DW,PY,HY,$Y,M5,qE.forRoot({easingLogic:T5}),y5.forRoot(jY),rW,du,hv,xo]}),n})();pu(386),function $N(){if(eD)throw new Error("Cannot enable prod mode after platform setup.");Jx=!1}(),c2().bootstrapModule(UY).catch(n=>console.log(n))},386:(ks,gl,pu)=>{var be;!function(Ft,Fs,ml,Ce){"use strict";var yn,_l=["","webkit","Moz","MS","ms","o"],gu=Fs.createElement("div"),_n=Math.round,qn=Math.abs,Rs=Date.now;function To(p,m,v){return setTimeout(Io(p,v),m)}function Ur(p,m,v){return!!Array.isArray(p)&&(fi(p,v[m],v),!0)}function fi(p,m,v){var w;if(p)if(p.forEach)p.forEach(m,v);else if(p.length!==Ce)for(w=0;w\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",we=Ft.console&&(Ft.console.warn||Ft.console.log);return we&&we.call(Ft.console,w,G),p.apply(this,arguments)}}yn="function"!=typeof Object.assign?function(m){if(m===Ce||null===m)throw new TypeError("Cannot convert undefined or null to object");for(var v=Object(m),w=1;w-1}function zr(p){return p.trim().split(/\s+/g)}function Wr(p,m,v){if(p.indexOf&&!v)return p.indexOf(m);for(var w=0;wGt[m]}):w.sort()),w}function Ns(p,m){for(var v,w,L=m[0].toUpperCase()+m.slice(1),G=0;G<_l.length;){if((w=(v=_l[G])?v+L:m)in p)return w;G++}return Ce}var yu=1;function vl(p){var m=p.ownerDocument||p;return m.defaultView||m.parentWindow||Ft}var vu="ontouchstart"in Ft,Of=Ns(Ft,"PointerEvent")!==Ce,ce=vu&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),Yr="touch",qe="mouse",Cl=["x","y"],$s=["clientX","clientY"];function An(p,m){var v=this;this.manager=p,this.callback=m,this.element=p.element,this.target=p.options.inputTarget,this.domHandler=function(w){yl(p.options.enable,[p])&&v.handler(w)},this.init()}function yv(p,m,v){var w=v.pointers.length,L=v.changedPointers.length,G=1&m&&w-L==0,we=12&m&&w-L==0;v.isFirst=!!G,v.isFinal=!!we,G&&(p.session={}),v.eventType=m,function hr(p,m){var v=p.session,w=m.pointers,L=w.length;v.firstInput||(v.firstInput=Cu(m)),L>1&&!v.firstMultiple?v.firstMultiple=Cu(m):1===L&&(v.firstMultiple=!1);var G=v.firstInput,we=v.firstMultiple,xt=we?we.center:G.center,Dt=m.center=Vf(w);m.timeStamp=Rs(),m.deltaTime=m.timeStamp-G.timeStamp,m.angle=xu(xt,Dt),m.distance=wl(xt,Dt),function Nf(p,m){var v=m.center,w=p.offsetDelta||{},L=p.prevDelta||{},G=p.prevInput||{};(1===m.eventType||4===G.eventType)&&(L=p.prevDelta={x:G.deltaX||0,y:G.deltaY||0},w=p.offsetDelta={x:v.x,y:v.y}),m.deltaX=L.x+(v.x-w.x),m.deltaY=L.y+(v.y-w.y)}(v,m),m.offsetDirection=Bf(m.deltaX,m.deltaY);var Gt=wu(m.deltaTime,m.deltaX,m.deltaY);m.overallVelocityX=Gt.x,m.overallVelocityY=Gt.y,m.overallVelocity=qn(Gt.x)>qn(Gt.y)?Gt.x:Gt.y,m.scale=we?function Cv(p,m){return wl(m[0],m[1],$s)/wl(p[0],p[1],$s)}(we.pointers,w):1,m.rotation=we?function bv(p,m){return xu(m[1],m[0],$s)+xu(p[1],p[0],$s)}(we.pointers,w):0,m.maxPointers=v.prevInput?m.pointers.length>v.prevInput.maxPointers?m.pointers.length:v.prevInput.maxPointers:m.pointers.length,function vv(p,m){var L,G,we,xt,v=p.lastInterval||m,w=m.timeStamp-v.timeStamp;if(8!=m.eventType&&(w>25||v.velocity===Ce)){var Dt=m.deltaX-v.deltaX,Gt=m.deltaY-v.deltaY,Yn=wu(w,Dt,Gt);G=Yn.x,we=Yn.y,L=qn(Yn.x)>qn(Yn.y)?Yn.x:Yn.y,xt=Bf(Dt,Gt),p.lastInterval=m}else L=v.velocity,G=v.velocityX,we=v.velocityY,xt=v.direction;m.velocity=L,m.velocityX=G,m.velocityY=we,m.direction=xt}(v,m);var Yn=p.element;ko(m.srcEvent.target,Yn)&&(Yn=m.srcEvent.target),m.target=Yn}(p,v),p.emit("hammer.input",v),p.recognize(v),p.session.prevInput=v}function Cu(p){for(var m=[],v=0;v=qn(m)?p<0?2:4:m<0?8:16}function wl(p,m,v){v||(v=Cl);var w=m[v[0]]-p[v[0]],L=m[v[1]]-p[v[1]];return Math.sqrt(w*w+L*L)}function xu(p,m,v){return v||(v=Cl),180*Math.atan2(m[v[1]]-p[v[1]],m[v[0]]-p[v[0]])/Math.PI}An.prototype={handler:function(){},init:function(){this.evEl&&Ls(this.element,this.evEl,this.domHandler),this.evTarget&&Ls(this.target,this.evTarget,this.domHandler),this.evWin&&Ls(vl(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&Vi(this.element,this.evEl,this.domHandler),this.evTarget&&Vi(this.target,this.evTarget,this.domHandler),this.evWin&&Vi(vl(this.element),this.evWin,this.domHandler)}};var xl={mousedown:1,mousemove:2,mouseup:4},Du="mousedown",Mu="mousemove mouseup";function Ro(){this.evEl=Du,this.evWin=Mu,this.pressed=!1,An.apply(this,arguments)}nn(Ro,An,{handler:function(m){var v=xl[m.type];1&v&&0===m.button&&(this.pressed=!0),2&v&&1!==m.which&&(v=4),this.pressed&&(4&v&&(this.pressed=!1),this.callback(this.manager,v,{pointers:[m],changedPointers:[m],pointerType:qe,srcEvent:m}))}});var Eu={pointerdown:1,pointermove:2,pointerup:4,pointercancel:8,pointerout:8},Hf={2:Yr,3:"pen",4:qe,5:"kinect"},Dl="pointerdown",Ml="pointermove pointerup pointercancel";function js(){this.evEl=Dl,this.evWin=Ml,An.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}Ft.MSPointerEvent&&!Ft.PointerEvent&&(Dl="MSPointerDown",Ml="MSPointerMove MSPointerUp MSPointerCancel"),nn(js,An,{handler:function(m){var v=this.store,w=!1,L=m.type.toLowerCase().replace("ms",""),G=Eu[L],we=Hf[m.pointerType]||m.pointerType,xt=we==Yr,Dt=Wr(v,m.pointerId,"pointerId");1&G&&(0===m.button||xt)?Dt<0&&(v.push(m),Dt=v.length-1):12&G&&(w=!0),!(Dt<0)&&(v[Dt]=m,this.callback(this.manager,G,{pointers:v,changedPointers:[m],pointerType:we,srcEvent:m}),w&&v.splice(Dt,1))}});var Su={touchstart:1,touchmove:2,touchend:4,touchcancel:8},jt="touchstart",$f="touchstart touchmove touchend touchcancel";function Au(){this.evTarget=jt,this.evWin=$f,this.started=!1,An.apply(this,arguments)}function jf(p,m){var v=qr(p.touches),w=qr(p.changedTouches);return 12&m&&(v=pi(v.concat(w),"identifier",!0)),[v,w]}nn(Au,An,{handler:function(m){var v=Su[m.type];if(1===v&&(this.started=!0),this.started){var w=jf.call(this,m,v);12&v&&w[0].length-w[1].length==0&&(this.started=!1),this.callback(this.manager,v,{pointers:w[0],changedPointers:w[1],pointerType:Yr,srcEvent:m})}}});var Gf={touchstart:1,touchmove:2,touchend:4,touchcancel:8},Tu="touchstart touchmove touchend touchcancel";function Gs(){this.evTarget=Tu,this.targetIds={},An.apply(this,arguments)}function Uf(p,m){var v=qr(p.touches),w=this.targetIds;if(3&m&&1===v.length)return w[v[0].identifier]=!0,[v,v];var L,G,we=qr(p.changedTouches),xt=[],Dt=this.target;if(G=v.filter(function(Gt){return ko(Gt.target,Dt)}),1===m)for(L=0;L-1&&w.splice(G,1)},2500)}}function wv(p){for(var m=p.srcEvent.clientX,v=p.srcEvent.clientY,w=0;w-1&&this.requireFail.splice(m,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(p){return!!this.simultaneous[p.id]},emit:function(p){var m=this,v=this.state;function w(L){m.manager.emit(L,p)}v<8&&w(m.options.event+Ws(v)),w(m.options.event),p.additionalEvent&&w(p.additionalEvent),v>=8&&w(m.options.event+Ws(v))},tryEmit:function(p){if(this.canEmit())return this.emit(p);this.state=32},canEmit:function(){for(var p=0;pm.threshold&&L&m.direction},attrTest:function(p){return In.prototype.attrTest.call(this,p)&&(2&this.state||!(2&this.state)&&this.directionTest(p))},emit:function(p){this.pX=p.deltaX,this.pY=p.deltaY;var m=Ve(p.direction);m&&(p.additionalEvent=this.options.event+m),this._super.emit.call(this,p)}}),nn(J,In,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[pr]},attrTest:function(p){return this._super.attrTest.call(this,p)&&(Math.abs(p.scale-1)>this.options.threshold||2&this.state)},emit:function(p){1!==p.scale&&(p.additionalEvent=this.options.event+(p.scale<1?"in":"out")),this._super.emit.call(this,p)}}),nn(Po,De,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return["auto"]},process:function(p){var m=this.options,v=p.pointers.length===m.pointers,w=p.distancem.time;if(this._input=p,!w||!v||12&p.eventType&&!L)this.reset();else if(1&p.eventType)this.reset(),this._timer=To(function(){this.state=8,this.tryEmit()},m.time,this);else if(4&p.eventType)return 8;return 32},reset:function(){clearTimeout(this._timer)},emit:function(p){8===this.state&&(p&&4&p.eventType?this.manager.emit(this.options.event+"up",p):(this._input.timeStamp=Rs(),this.manager.emit(this.options.event,this._input)))}}),nn(Fu,In,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[pr]},attrTest:function(p){return this._super.attrTest.call(this,p)&&(Math.abs(p.rotation)>this.options.threshold||2&this.state)}}),nn(I,In,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:30,pointers:1},getTouchAction:function(){return Te.prototype.getTouchAction.call(this)},attrTest:function(p){var v,m=this.options.direction;return 30&m?v=p.overallVelocity:6&m?v=p.overallVelocityX:24&m&&(v=p.overallVelocityY),this._super.attrTest.call(this,p)&&m&p.offsetDirection&&p.distance>this.options.threshold&&p.maxPointers==this.options.pointers&&qn(v)>this.options.velocity&&4&p.eventType},emit:function(p){var m=Ve(p.offsetDirection);m&&this.manager.emit(this.options.event+m,p),this.manager.emit(this.options.event,p)}}),nn(mr,De,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[fr]},process:function(p){var m=this.options,v=p.pointers.length===m.pointers,w=p.distance{ks(ks.s=897)}]); \ No newline at end of file