From ab5c57cf5f435162e43cf7301bf3d237cc9576c6 Mon Sep 17 00:00:00 2001 From: Tiberiu Zuld Date: Sun, 1 Dec 2024 13:39:52 +0000 Subject: [PATCH] Auto-generated commit Triggered by commit: https://github.com/tiberiuzuld/angular-gridster2/commit/4826b55c06db5b3281cceef74e1512a9befa9601 --- 404.html | 6 ++-- chunk-2SQYIQHQ.js | 1 + chunk-6X2S33CO.js | 7 ----- chunk-DAJMM3I7.js | 7 +++++ chunk-UBXIFTQO.js | 1 - index.html | 6 ++-- main-APRMBXBR.js | 57 ------------------------------------ main-P6COL7KF.js | 67 +++++++++++++++++++++++++++++++++++++++++++ polyfills-A7MJM4D4.js | 2 -- polyfills-FFHMD2TL.js | 2 ++ scripts-J7FTUXH3.js | 56 ++++++++++++++++++++++++++++++++++++ scripts-LLFA6UFG.js | 46 ----------------------------- styles-A3CXS7NQ.css | 1 + styles-E37QM4LI.css | 1 - 14 files changed, 140 insertions(+), 120 deletions(-) create mode 100644 chunk-2SQYIQHQ.js delete mode 100644 chunk-6X2S33CO.js create mode 100644 chunk-DAJMM3I7.js delete mode 100644 chunk-UBXIFTQO.js delete mode 100644 main-APRMBXBR.js create mode 100644 main-P6COL7KF.js delete mode 100644 polyfills-A7MJM4D4.js create mode 100644 polyfills-FFHMD2TL.js create mode 100644 scripts-J7FTUXH3.js delete mode 100644 scripts-LLFA6UFG.js create mode 100644 styles-A3CXS7NQ.css delete mode 100644 styles-E37QM4LI.css diff --git a/404.html b/404.html index 0f5c4c4..d2fbeec 100644 --- a/404.html +++ b/404.html @@ -1,5 +1,5 @@ - + Gridster2 @@ -8,8 +8,8 @@ - + Loading... - + diff --git a/chunk-2SQYIQHQ.js b/chunk-2SQYIQHQ.js new file mode 100644 index 0000000..a50e5da --- /dev/null +++ b/chunk-2SQYIQHQ.js @@ -0,0 +1 @@ +import{Ec as E,Fc as B,Ic as mt,Jc as Ne,Oc as x,Pc as Me,Qc as ue,_ as S,a as le,aa as dt,c as ft}from"./chunk-DAJMM3I7.js";function pt(i){return new S(3e3,!1)}function jt(){return new S(3100,!1)}function Wt(){return new S(3101,!1)}function Gt(i){return new S(3001,!1)}function Ht(i){return new S(3003,!1)}function Yt(i){return new S(3004,!1)}function Xt(i,e){return new S(3005,!1)}function Zt(){return new S(3006,!1)}function Jt(){return new S(3007,!1)}function xt(i,e){return new S(3008,!1)}function es(i){return new S(3002,!1)}function ts(i,e,t,s,n){return new S(3010,!1)}function ss(){return new S(3011,!1)}function ns(){return new S(3012,!1)}function is(){return new S(3200,!1)}function rs(){return new S(3202,!1)}function as(){return new S(3013,!1)}function os(i){return new S(3014,!1)}function ls(i){return new S(3015,!1)}function us(i){return new S(3016,!1)}function cs(i){return new S(3500,!1)}function hs(i){return new S(3501,!1)}function fs(i,e){return new S(3404,!1)}function ds(i){return new S(3502,!1)}function ms(i){return new S(3503,!1)}function ps(){return new S(3300,!1)}function gs(i){return new S(3504,!1)}function ys(i){return new S(3301,!1)}function _s(i,e){return new S(3302,!1)}function Ss(i){return new S(3303,!1)}function Es(i,e){return new S(3400,!1)}function Ts(i){return new S(3401,!1)}function vs(i){return new S(3402,!1)}function ws(i,e){return new S(3505,!1)}var bs=new Set(["-moz-outline-radius","-moz-outline-radius-bottomleft","-moz-outline-radius-bottomright","-moz-outline-radius-topleft","-moz-outline-radius-topright","-ms-grid-columns","-ms-grid-rows","-webkit-line-clamp","-webkit-text-fill-color","-webkit-text-stroke","-webkit-text-stroke-color","accent-color","all","backdrop-filter","background","background-color","background-position","background-size","block-size","border","border-block-end","border-block-end-color","border-block-end-width","border-block-start","border-block-start-color","border-block-start-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-width","border-color","border-end-end-radius","border-end-start-radius","border-image-outset","border-image-slice","border-image-width","border-inline-end","border-inline-end-color","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-width","border-left","border-left-color","border-left-width","border-radius","border-right","border-right-color","border-right-width","border-start-end-radius","border-start-start-radius","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-width","border-width","bottom","box-shadow","caret-color","clip","clip-path","color","column-count","column-gap","column-rule","column-rule-color","column-rule-width","column-width","columns","filter","flex","flex-basis","flex-grow","flex-shrink","font","font-size","font-size-adjust","font-stretch","font-variation-settings","font-weight","gap","grid-column-gap","grid-gap","grid-row-gap","grid-template-columns","grid-template-rows","height","inline-size","input-security","inset","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","left","letter-spacing","line-clamp","line-height","margin","margin-block-end","margin-block-start","margin-bottom","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","mask","mask-border","mask-position","mask-size","max-block-size","max-height","max-inline-size","max-lines","max-width","min-block-size","min-height","min-inline-size","min-width","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","outline","outline-color","outline-offset","outline-width","padding","padding-block-end","padding-block-start","padding-bottom","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","perspective","perspective-origin","right","rotate","row-gap","scale","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-coordinate","scroll-snap-destination","scrollbar-color","shape-image-threshold","shape-margin","shape-outside","tab-size","text-decoration","text-decoration-color","text-decoration-thickness","text-emphasis","text-emphasis-color","text-indent","text-shadow","text-underline-offset","top","transform","transform-origin","translate","vertical-align","visibility","width","word-spacing","z-index","zoom"]);function U(i){switch(i.length){case 0:return new x;case 1:return i[0];default:return new Me(i)}}function Ot(i,e,t=new Map,s=new Map){let n=[],r=[],a=-1,o=null;if(e.forEach(l=>{let u=l.get("offset"),h=u==a,c=h&&o||new Map;l.forEach((_,y)=>{let d=y,g=_;if(y!=="offset")switch(d=i.normalizePropertyName(d,n),g){case ue:g=t.get(y);break;case B:g=s.get(y);break;default:g=i.normalizeStyleValue(y,d,g,n);break}c.set(d,g)}),h||r.push(c),o=c,a=u}),n.length)throw ds(n);return r}function xe(i,e,t,s){switch(e){case"start":i.onStart(()=>s(t&&Ce(t,"start",i)));break;case"done":i.onDone(()=>s(t&&Ce(t,"done",i)));break;case"destroy":i.onDestroy(()=>s(t&&Ce(t,"destroy",i)));break}}function Ce(i,e,t){let s=t.totalTime,n=!!t.disabled,r=et(i.element,i.triggerName,i.fromState,i.toState,e||i.phaseName,s??i.totalTime,n),a=i._data;return a!=null&&(r._data=a),r}function et(i,e,t,s,n="",r=0,a){return{element:i,triggerName:e,fromState:t,toState:s,phaseName:n,totalTime:r,disabled:!!a}}function L(i,e,t){let s=i.get(e);return s||i.set(e,s=t),s}function gt(i){let e=i.indexOf(":"),t=i.substring(1,e),s=i.slice(e+1);return[t,s]}var As=typeof document>"u"?null:document.documentElement;function tt(i){let e=i.parentNode||i.host||null;return e===As?null:e}function Ps(i){return i.substring(1,6)=="ebkit"}var H=null,yt=!1;function Ns(i){H||(H=Ms()||{},yt=H.style?"WebkitAppearance"in H.style:!1);let e=!0;return H.style&&!Ps(i)&&(e=i in H.style,!e&&yt&&(e="Webkit"+i.charAt(0).toUpperCase()+i.slice(1)in H.style)),e}function bn(i){return bs.has(i)}function Ms(){return typeof document<"u"?document.body:null}function Lt(i,e){for(;e;){if(e===i)return!0;e=tt(e)}return!1}function Ft(i,e,t){if(t)return Array.from(i.querySelectorAll(e));let s=i.querySelector(e);return s?[s]:[]}var It=(()=>{class i{validateStyleProperty(t){return Ns(t)}containsElement(t,s){return Lt(t,s)}getParentElement(t){return tt(t)}query(t,s,n){return Ft(t,s,n)}computeStyle(t,s,n){return n||""}animate(t,s,n,r,a,o=[],l){return new x(n,r)}static \u0275fac=function(s){return new(s||i)};static \u0275prov=dt({token:i,factory:i.\u0275fac})}return i})(),_t=class{static NOOP=new It},Fe=class{},Ie=class{normalizePropertyName(e,t){return e}normalizeStyleValue(e,t,s,n){return s}},Cs=1e3,zt="{{",ks="}}",st="ng-enter",pe="ng-leave",ce="ng-trigger",ge=".ng-trigger",St="ng-animating",ze=".ng-animating";function $(i){if(typeof i=="number")return i;let e=i.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:Ke(parseFloat(e[1]),e[2])}function Ke(i,e){switch(e){case"s":return i*Cs;default:return i}}function ye(i,e,t){return i.hasOwnProperty("duration")?i:Ds(i,e,t)}function Ds(i,e,t){let s=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,n,r=0,a="";if(typeof i=="string"){let o=i.match(s);if(o===null)return e.push(pt(i)),{duration:0,delay:0,easing:""};n=Ke(parseFloat(o[1]),o[2]);let l=o[3];l!=null&&(r=Ke(parseFloat(l),o[4]));let u=o[5];u&&(a=u)}else n=i;if(!t){let o=!1,l=e.length;n<0&&(e.push(jt()),o=!0),r<0&&(e.push(Wt()),o=!0),o&&e.splice(l,0,pt(i))}return{duration:n,delay:r,easing:a}}function Rs(i){return i.length?i[0]instanceof Map?i:i.map(e=>new Map(Object.entries(e))):[]}function Et(i){return Array.isArray(i)?new Map(...i):new Map(i)}function Q(i,e,t){e.forEach((s,n)=>{let r=nt(n);t&&!t.has(n)&&t.set(n,i.style[r]),i.style[r]=s})}function X(i,e){e.forEach((t,s)=>{let n=nt(s);i.style[n]=""})}function se(i){return Array.isArray(i)?i.length==1?i[0]:mt(i):i}function Os(i,e,t){let s=e.params||{},n=Kt(i);n.length&&n.forEach(r=>{s.hasOwnProperty(r)||t.push(Gt(r))})}var qe=new RegExp(`${zt}\\s*(.+?)\\s*${ks}`,"g");function Kt(i){let e=[];if(typeof i=="string"){let t;for(;t=qe.exec(i);)e.push(t[1]);qe.lastIndex=0}return e}function ie(i,e,t){let s=`${i}`,n=s.replace(qe,(r,a)=>{let o=e[a];return o==null&&(t.push(Ht(a)),o=""),o.toString()});return n==s?i:n}var Ls=/-+([a-z0-9])/g;function nt(i){return i.replace(Ls,(...e)=>e[1].toUpperCase())}function An(i){return i.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Fs(i,e){return i===0||e===0}function Is(i,e,t){if(t.size&&e.length){let s=e[0],n=[];if(t.forEach((r,a)=>{s.has(a)||n.push(a),s.set(a,r)}),n.length)for(let r=1;ra.set(o,it(i,o)))}}return e}function O(i,e,t){switch(e.type){case E.Trigger:return i.visitTrigger(e,t);case E.State:return i.visitState(e,t);case E.Transition:return i.visitTransition(e,t);case E.Sequence:return i.visitSequence(e,t);case E.Group:return i.visitGroup(e,t);case E.Animate:return i.visitAnimate(e,t);case E.Keyframes:return i.visitKeyframes(e,t);case E.Style:return i.visitStyle(e,t);case E.Reference:return i.visitReference(e,t);case E.AnimateChild:return i.visitAnimateChild(e,t);case E.AnimateRef:return i.visitAnimateRef(e,t);case E.Query:return i.visitQuery(e,t);case E.Stagger:return i.visitStagger(e,t);default:throw Yt(e.type)}}function it(i,e){return window.getComputedStyle(i)[e]}var zs=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"]),Be=class extends Fe{normalizePropertyName(e,t){return nt(e)}normalizeStyleValue(e,t,s,n){let r="",a=s.toString().trim();if(zs.has(t)&&s!==0&&s!=="0")if(typeof s=="number")r="px";else{let o=s.match(/^[+-]?[\d\.]+([a-z]*)$/);o&&o[1].length==0&&n.push(Xt(e,s))}return a+r}};var _e="*";function Ks(i,e){let t=[];return typeof i=="string"?i.split(/\s*,\s*/).forEach(s=>qs(s,t,e)):t.push(i),t}function qs(i,e,t){if(i[0]==":"){let l=Bs(i,t);if(typeof l=="function"){e.push(l);return}i=l}let s=i.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(s==null||s.length<4)return t.push(ls(i)),e;let n=s[1],r=s[2],a=s[3];e.push(Tt(n,a));let o=n==_e&&a==_e;r[0]=="<"&&!o&&e.push(Tt(a,n))}function Bs(i,e){switch(i){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,s)=>parseFloat(s)>parseFloat(t);case":decrement":return(t,s)=>parseFloat(s) *"}}var he=new Set(["true","1"]),fe=new Set(["false","0"]);function Tt(i,e){let t=he.has(i)||fe.has(i),s=he.has(e)||fe.has(e);return(n,r)=>{let a=i==_e||i==n,o=e==_e||e==r;return!a&&t&&typeof n=="boolean"&&(a=n?he.has(i):fe.has(i)),!o&&s&&typeof r=="boolean"&&(o=r?he.has(e):fe.has(e)),a&&o}}var qt=":self",Qs=new RegExp(`s*${qt}s*,?`,"g");function rt(i,e,t,s){return new Qe(i).build(e,t,s)}var vt="",Qe=class{_driver;constructor(e){this._driver=e}build(e,t,s){let n=new $e(t);return this._resetContextStyleTimingState(n),O(this,se(e),n)}_resetContextStyleTimingState(e){e.currentQuerySelector=vt,e.collectedStyles=new Map,e.collectedStyles.set(vt,new Map),e.currentTime=0}visitTrigger(e,t){let s=t.queryCount=0,n=t.depCount=0,r=[],a=[];return e.name.charAt(0)=="@"&&t.errors.push(Zt()),e.definitions.forEach(o=>{if(this._resetContextStyleTimingState(t),o.type==E.State){let l=o,u=l.name;u.toString().split(/\s*,\s*/).forEach(h=>{l.name=h,r.push(this.visitState(l,t))}),l.name=u}else if(o.type==E.Transition){let l=this.visitTransition(o,t);s+=l.queryCount,n+=l.depCount,a.push(l)}else t.errors.push(Jt())}),{type:E.Trigger,name:e.name,states:r,transitions:a,queryCount:s,depCount:n,options:null}}visitState(e,t){let s=this.visitStyle(e.styles,t),n=e.options&&e.options.params||null;if(s.containsDynamicStyles){let r=new Set,a=n||{};s.styles.forEach(o=>{o instanceof Map&&o.forEach(l=>{Kt(l).forEach(u=>{a.hasOwnProperty(u)||r.add(u)})})}),r.size&&t.errors.push(xt(e.name,[...r.values()]))}return{type:E.State,name:e.name,style:s,options:n?{params:n}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;let s=O(this,se(e.animation),t),n=Ks(e.expr,t.errors);return{type:E.Transition,matchers:n,animation:s,queryCount:t.queryCount,depCount:t.depCount,options:Y(e.options)}}visitSequence(e,t){return{type:E.Sequence,steps:e.steps.map(s=>O(this,s,t)),options:Y(e.options)}}visitGroup(e,t){let s=t.currentTime,n=0,r=e.steps.map(a=>{t.currentTime=s;let o=O(this,a,t);return n=Math.max(n,t.currentTime),o});return t.currentTime=n,{type:E.Group,steps:r,options:Y(e.options)}}visitAnimate(e,t){let s=js(e.timings,t.errors);t.currentAnimateTimings=s;let n,r=e.styles?e.styles:Ne({});if(r.type==E.Keyframes)n=this.visitKeyframes(r,t);else{let a=e.styles,o=!1;if(!a){o=!0;let u={};s.easing&&(u.easing=s.easing),a=Ne(u)}t.currentTime+=s.duration+s.delay;let l=this.visitStyle(a,t);l.isEmptyStep=o,n=l}return t.currentAnimateTimings=null,{type:E.Animate,timings:s,style:n,options:null}}visitStyle(e,t){let s=this._makeStyleAst(e,t);return this._validateStyleAst(s,t),s}_makeStyleAst(e,t){let s=[],n=Array.isArray(e.styles)?e.styles:[e.styles];for(let o of n)typeof o=="string"?o===B?s.push(o):t.errors.push(es(o)):s.push(new Map(Object.entries(o)));let r=!1,a=null;return s.forEach(o=>{if(o instanceof Map&&(o.has("easing")&&(a=o.get("easing"),o.delete("easing")),!r)){for(let l of o.values())if(l.toString().indexOf(zt)>=0){r=!0;break}}}),{type:E.Style,styles:s,easing:a,offset:e.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(e,t){let s=t.currentAnimateTimings,n=t.currentTime,r=t.currentTime;s&&r>0&&(r-=s.duration+s.delay),e.styles.forEach(a=>{typeof a!="string"&&a.forEach((o,l)=>{let u=t.collectedStyles.get(t.currentQuerySelector),h=u.get(l),c=!0;h&&(r!=n&&r>=h.startTime&&n<=h.endTime&&(t.errors.push(ts(l,h.startTime,h.endTime,r,n)),c=!1),r=h.startTime),c&&u.set(l,{startTime:r,endTime:n}),t.options&&Os(o,t.options,t.errors)})})}visitKeyframes(e,t){let s={type:E.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(ss()),s;let n=1,r=0,a=[],o=!1,l=!1,u=0,h=e.steps.map(b=>{let A=this._makeStyleAst(b,t),C=A.offset!=null?A.offset:Us(A.styles),N=0;return C!=null&&(r++,N=A.offset=C),l=l||N<0||N>1,o=o||N0&&r{let C=_>0?A==y?1:_*A:a[A],N=C*v;t.currentTime=d+g.delay+N,g.duration=N,this._validateStyleAst(b,t),b.offset=C,s.styles.push(b)}),s}visitReference(e,t){return{type:E.Reference,animation:O(this,se(e.animation),t),options:Y(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:E.AnimateChild,options:Y(e.options)}}visitAnimateRef(e,t){return{type:E.AnimateRef,animation:this.visitReference(e.animation,t),options:Y(e.options)}}visitQuery(e,t){let s=t.currentQuerySelector,n=e.options||{};t.queryCount++,t.currentQuery=e;let[r,a]=$s(e.selector);t.currentQuerySelector=s.length?s+" "+r:r,L(t.collectedStyles,t.currentQuerySelector,new Map);let o=O(this,se(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=s,{type:E.Query,selector:r,limit:n.limit||0,optional:!!n.optional,includeSelf:a,animation:o,originalSelector:e.selector,options:Y(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(as());let s=e.timings==="full"?{duration:0,delay:0,easing:"full"}:ye(e.timings,t.errors,!0);return{type:E.Stagger,animation:O(this,se(e.animation),t),timings:s,options:null}}};function $s(i){let e=!!i.split(/\s*,\s*/).find(t=>t==qt);return e&&(i=i.replace(Qs,"")),i=i.replace(/@\*/g,ge).replace(/@\w+/g,t=>ge+"-"+t.slice(1)).replace(/:animating/g,ze),[i,e]}function Vs(i){return i?le({},i):null}var $e=class{errors;queryCount=0;depCount=0;currentTransition=null;currentQuery=null;currentQuerySelector=null;currentAnimateTimings=null;currentTime=0;collectedStyles=new Map;options=null;unsupportedCSSPropertiesFound=new Set;constructor(e){this.errors=e}};function Us(i){if(typeof i=="string")return null;let e=null;if(Array.isArray(i))i.forEach(t=>{if(t instanceof Map&&t.has("offset")){let s=t;e=parseFloat(s.get("offset")),s.delete("offset")}});else if(i instanceof Map&&i.has("offset")){let t=i;e=parseFloat(t.get("offset")),t.delete("offset")}return e}function js(i,e){if(i.hasOwnProperty("duration"))return i;if(typeof i=="number"){let r=ye(i,e).duration;return ke(r,0,"")}let t=i;if(t.split(/\s+/).some(r=>r.charAt(0)=="{"&&r.charAt(1)=="{")){let r=ke(0,0,"");return r.dynamic=!0,r.strValue=t,r}let n=ye(t,e);return ke(n.duration,n.delay,n.easing)}function Y(i){return i?(i=le({},i),i.params&&(i.params=Vs(i.params))):i={},i}function ke(i,e,t){return{duration:i,delay:e,easing:t}}function at(i,e,t,s,n,r,a=null,o=!1){return{type:1,element:i,keyframes:e,preStyleProps:t,postStyleProps:s,duration:n,delay:r,totalTime:n+r,easing:a,subTimeline:o}}var te=class{_map=new Map;get(e){return this._map.get(e)||[]}append(e,t){let s=this._map.get(e);s||this._map.set(e,s=[]),s.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}},Ws=1,Gs=":enter",Hs=new RegExp(Gs,"g"),Ys=":leave",Xs=new RegExp(Ys,"g");function ot(i,e,t,s,n,r=new Map,a=new Map,o,l,u=[]){return new Ve().buildKeyframes(i,e,t,s,n,r,a,o,l,u)}var Ve=class{buildKeyframes(e,t,s,n,r,a,o,l,u,h=[]){u=u||new te;let c=new Ue(e,t,u,n,r,h,[]);c.options=l;let _=l.delay?$(l.delay):0;c.currentTimeline.delayNextStep(_),c.currentTimeline.setStyles([a],null,c.errors,l),O(this,s,c);let y=c.timelines.filter(d=>d.containsAnimation());if(y.length&&o.size){let d;for(let g=y.length-1;g>=0;g--){let v=y[g];if(v.element===t){d=v;break}}d&&!d.allowOnlyTimelineStyles()&&d.setStyles([o],null,c.errors,l)}return y.length?y.map(d=>d.buildKeyframes()):[at(t,[],[],[],0,_,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){let s=t.subInstructions.get(t.element);if(s){let n=t.createSubContext(e.options),r=t.currentTimeline.currentTime,a=this._visitSubInstructions(s,n,n.options);r!=a&&t.transformIntoNewTimeline(a)}t.previousNode=e}visitAnimateRef(e,t){let s=t.createSubContext(e.options);s.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],t,s),this.visitReference(e.animation,s),t.transformIntoNewTimeline(s.currentTimeline.currentTime),t.previousNode=e}_applyAnimationRefDelays(e,t,s){for(let n of e){let r=n?.delay;if(r){let a=typeof r=="number"?r:$(ie(r,n?.params??{},t.errors));s.delayNextStep(a)}}}_visitSubInstructions(e,t,s){let r=t.currentTimeline.currentTime,a=s.duration!=null?$(s.duration):null,o=s.delay!=null?$(s.delay):null;return a!==0&&e.forEach(l=>{let u=t.appendInstructionToTimeline(l,a,o);r=Math.max(r,u.duration+u.delay)}),r}visitReference(e,t){t.updateOptions(e.options,!0),O(this,e.animation,t),t.previousNode=e}visitSequence(e,t){let s=t.subContextCount,n=t,r=e.options;if(r&&(r.params||r.delay)&&(n=t.createSubContext(r),n.transformIntoNewTimeline(),r.delay!=null)){n.previousNode.type==E.Style&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=Se);let a=$(r.delay);n.delayNextStep(a)}e.steps.length&&(e.steps.forEach(a=>O(this,a,n)),n.currentTimeline.applyStylesToKeyframe(),n.subContextCount>s&&n.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){let s=[],n=t.currentTimeline.currentTime,r=e.options&&e.options.delay?$(e.options.delay):0;e.steps.forEach(a=>{let o=t.createSubContext(e.options);r&&o.delayNextStep(r),O(this,a,o),n=Math.max(n,o.currentTimeline.currentTime),s.push(o.currentTimeline)}),s.forEach(a=>t.currentTimeline.mergeTimelineCollectedStyles(a)),t.transformIntoNewTimeline(n),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){let s=e.strValue,n=t.params?ie(s,t.params,t.errors):s;return ye(n,t.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){let s=t.currentAnimateTimings=this._visitTiming(e.timings,t),n=t.currentTimeline;s.delay&&(t.incrementTime(s.delay),n.snapshotCurrentStyles());let r=e.style;r.type==E.Keyframes?this.visitKeyframes(r,t):(t.incrementTime(s.duration),this.visitStyle(r,t),n.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){let s=t.currentTimeline,n=t.currentAnimateTimings;!n&&s.hasCurrentStyleProperties()&&s.forwardFrame();let r=n&&n.easing||e.easing;e.isEmptyStep?s.applyEmptyStep(r):s.setStyles(e.styles,r,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){let s=t.currentAnimateTimings,n=t.currentTimeline.duration,r=s.duration,o=t.createSubContext().currentTimeline;o.easing=s.easing,e.styles.forEach(l=>{let u=l.offset||0;o.forwardTime(u*r),o.setStyles(l.styles,l.easing,t.errors,t.options),o.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(o),t.transformIntoNewTimeline(n+r),t.previousNode=e}visitQuery(e,t){let s=t.currentTimeline.currentTime,n=e.options||{},r=n.delay?$(n.delay):0;r&&(t.previousNode.type===E.Style||s==0&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Se);let a=s,o=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!n.optional,t.errors);t.currentQueryTotal=o.length;let l=null;o.forEach((u,h)=>{t.currentQueryIndex=h;let c=t.createSubContext(e.options,u);r&&c.delayNextStep(r),u===t.element&&(l=c.currentTimeline),O(this,e.animation,c),c.currentTimeline.applyStylesToKeyframe();let _=c.currentTimeline.currentTime;a=Math.max(a,_)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(a),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){let s=t.parentContext,n=t.currentTimeline,r=e.timings,a=Math.abs(r.duration),o=a*(t.currentQueryTotal-1),l=a*t.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":l=o-l;break;case"full":l=s.currentStaggerTime;break}let h=t.currentTimeline;l&&h.delayNextStep(l);let c=h.currentTime;O(this,e.animation,t),t.previousNode=e,s.currentStaggerTime=n.currentTime-c+(n.startTime-s.currentTimeline.startTime)}},Se={},Ue=class i{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=Se;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(e,t,s,n,r,a,o,l){this._driver=e,this.element=t,this.subInstructions=s,this._enterClassName=n,this._leaveClassName=r,this.errors=a,this.timelines=o,this.currentTimeline=l||new Ee(this._driver,t,0),o.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;let s=e,n=this.options;s.duration!=null&&(n.duration=$(s.duration)),s.delay!=null&&(n.delay=$(s.delay));let r=s.params;if(r){let a=n.params;a||(a=this.options.params={}),Object.keys(r).forEach(o=>{(!t||!a.hasOwnProperty(o))&&(a[o]=ie(r[o],a,this.errors))})}}_copyOptions(){let e={};if(this.options){let t=this.options.params;if(t){let s=e.params={};Object.keys(t).forEach(n=>{s[n]=t[n]})}}return e}createSubContext(e=null,t,s){let n=t||this.element,r=new i(this._driver,n,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(n,s||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(e),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(e){return this.previousNode=Se,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,s){let n={duration:t??e.duration,delay:this.currentTimeline.currentTime+(s??0)+e.delay,easing:""},r=new je(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,n,e.stretchStartingKeyframe);return this.timelines.push(r),n}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,s,n,r,a){let o=[];if(n&&o.push(this.element),e.length>0){e=e.replace(Hs,"."+this._enterClassName),e=e.replace(Xs,"."+this._leaveClassName);let l=s!=1,u=this._driver.query(this.element,e,l);s!==0&&(u=s<0?u.slice(u.length+s,u.length):u.slice(0,s)),o.push(...u)}return!r&&o.length==0&&a.push(os(t)),o}},Ee=class i{_driver;element;startTime;_elementTimelineStylesLookup;duration=0;easing=null;_previousKeyframe=new Map;_currentKeyframe=new Map;_keyframes=new Map;_styleSummary=new Map;_localTimelineStyles=new Map;_globalTimelineStyles;_pendingStyles=new Map;_backFill=new Map;_currentEmptyStepKeyframe=null;constructor(e,t,s,n){this._driver=e,this.element=t,this.startTime=s,this._elementTimelineStylesLookup=n,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(e){let t=this._keyframes.size===1&&this._pendingStyles.size;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,t){return this.applyStylesToKeyframe(),new i(this._driver,e,t||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+=Ws,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,t){this._localTimelineStyles.set(e,t),this._globalTimelineStyles.set(e,t),this._styleSummary.set(e,{time:this.currentTime,value:t})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[t,s]of this._globalTimelineStyles)this._backFill.set(t,s||B),this._currentKeyframe.set(t,B);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,s,n){t&&this._previousKeyframe.set("easing",t);let r=n&&n.params||{},a=Zs(e,this._globalTimelineStyles);for(let[o,l]of a){let u=ie(l,r,s);this._pendingStyles.set(o,u),this._localTimelineStyles.has(o)||this._backFill.set(o,this._globalTimelineStyles.get(o)??B),this._updateStyle(o,u)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((e,t)=>{this._currentKeyframe.set(t,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,t)=>{this._currentKeyframe.has(t)||this._currentKeyframe.set(t,e)}))}snapshotCurrentStyles(){for(let[e,t]of this._localTimelineStyles)this._pendingStyles.set(e,t),this._updateStyle(e,t)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let e=[];for(let t in this._currentKeyframe)e.push(t);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((t,s)=>{let n=this._styleSummary.get(s);(!n||t.time>n.time)&&this._updateStyle(s,t.value)})}buildKeyframes(){this.applyStylesToKeyframe();let e=new Set,t=new Set,s=this._keyframes.size===1&&this.duration===0,n=[];this._keyframes.forEach((o,l)=>{let u=new Map([...this._backFill,...o]);u.forEach((h,c)=>{h===ue?e.add(c):h===B&&t.add(c)}),s||u.set("offset",l/this.duration),n.push(u)});let r=[...e.values()],a=[...t.values()];if(s){let o=n[0],l=new Map(o);o.set("offset",0),l.set("offset",1),n=[o,l]}return at(this.element,n,r,a,this.duration,this.startTime,this.easing,!1)}},je=class extends Ee{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(e,t,s,n,r,a,o=!1){super(e,t,a.delay),this.keyframes=s,this.preStyleProps=n,this.postStyleProps=r,this._stretchStartingKeyframe=o,this.timings={duration:a.duration,delay:a.delay,easing:a.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:s,easing:n}=this.timings;if(this._stretchStartingKeyframe&&t){let r=[],a=s+t,o=t/a,l=new Map(e[0]);l.set("offset",0),r.push(l);let u=new Map(e[0]);u.set("offset",wt(o)),r.push(u);let h=e.length-1;for(let c=1;c<=h;c++){let _=new Map(e[c]),y=_.get("offset"),d=t+y*s;_.set("offset",wt(d/a)),r.push(_)}s=a,t=0,n="",e=r}return at(this.element,e,this.preStyleProps,this.postStyleProps,s,t,n,!0)}};function wt(i,e=3){let t=Math.pow(10,e-1);return Math.round(i*t)/t}function Zs(i,e){let t=new Map,s;return i.forEach(n=>{if(n==="*"){s??=e.keys();for(let r of s)t.set(r,B)}else for(let[r,a]of n)t.set(r,a)}),t}function bt(i,e,t,s,n,r,a,o,l,u,h,c,_){return{type:0,element:i,triggerName:e,isRemovalTransition:n,fromState:t,fromStyles:r,toState:s,toStyles:a,timelines:o,queriedElements:l,preStyleProps:u,postStyleProps:h,totalTime:c,errors:_}}var De={},Te=class{_triggerName;ast;_stateStyles;constructor(e,t,s){this._triggerName=e,this.ast=t,this._stateStyles=s}match(e,t,s,n){return Js(this.ast.matchers,e,t,s,n)}buildStyles(e,t,s){let n=this._stateStyles.get("*");return e!==void 0&&(n=this._stateStyles.get(e?.toString())||n),n?n.buildStyles(t,s):new Map}build(e,t,s,n,r,a,o,l,u,h){let c=[],_=this.ast.options&&this.ast.options.params||De,y=o&&o.params||De,d=this.buildStyles(s,y,c),g=l&&l.params||De,v=this.buildStyles(n,g,c),b=new Set,A=new Map,C=new Map,N=n==="void",Z={params:Bt(g,_),delay:this.ast.options?.delay},K=h?[]:ot(e,t,this.ast.animation,r,a,d,v,Z,u,c),k=0;return K.forEach(D=>{k=Math.max(D.duration+D.delay,k)}),c.length?bt(t,this._triggerName,s,n,N,d,v,[],[],A,C,k,c):(K.forEach(D=>{let j=D.element,J=L(A,j,new Set);D.preStyleProps.forEach(W=>J.add(W));let lt=L(C,j,new Set);D.postStyleProps.forEach(W=>lt.add(W)),j!==t&&b.add(j)}),bt(t,this._triggerName,s,n,N,d,v,K,[...b.values()],A,C,k))}};function Js(i,e,t,s,n){return i.some(r=>r(e,t,s,n))}function Bt(i,e){let t=le({},e);return Object.entries(i).forEach(([s,n])=>{n!=null&&(t[s]=n)}),t}var We=class{styles;defaultParams;normalizer;constructor(e,t,s){this.styles=e,this.defaultParams=t,this.normalizer=s}buildStyles(e,t){let s=new Map,n=Bt(e,this.defaultParams);return this.styles.styles.forEach(r=>{typeof r!="string"&&r.forEach((a,o)=>{a&&(a=ie(a,n,t));let l=this.normalizer.normalizePropertyName(o,t);a=this.normalizer.normalizeStyleValue(o,l,a,t),s.set(o,a)})}),s}};function xs(i,e,t){return new Ge(i,e,t)}var Ge=class{name;ast;_normalizer;transitionFactories=[];fallbackTransition;states=new Map;constructor(e,t,s){this.name=e,this.ast=t,this._normalizer=s,t.states.forEach(n=>{let r=n.options&&n.options.params||{};this.states.set(n.name,new We(n.style,r,s))}),At(this.states,"true","1"),At(this.states,"false","0"),t.transitions.forEach(n=>{this.transitionFactories.push(new Te(e,n,this.states))}),this.fallbackTransition=en(e,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,s,n){return this.transitionFactories.find(a=>a.match(e,t,s,n))||null}matchStyles(e,t,s){return this.fallbackTransition.buildStyles(e,t,s)}};function en(i,e,t){let s=[(a,o)=>!0],n={type:E.Sequence,steps:[],options:null},r={type:E.Transition,animation:n,matchers:s,options:null,queryCount:0,depCount:0};return new Te(i,r,e)}function At(i,e,t){i.has(e)?i.has(t)||i.set(t,i.get(e)):i.has(t)&&i.set(e,i.get(t))}var tn=new te,He=class{bodyNode;_driver;_normalizer;_animations=new Map;_playersById=new Map;players=[];constructor(e,t,s){this.bodyNode=e,this._driver=t,this._normalizer=s}register(e,t){let s=[],n=[],r=rt(this._driver,t,s,n);if(s.length)throw ms(s);n.length&&void 0,this._animations.set(e,r)}_buildPlayer(e,t,s){let n=e.element,r=Ot(this._normalizer,e.keyframes,t,s);return this._driver.animate(n,r,e.duration,e.delay,e.easing,[],!0)}create(e,t,s={}){let n=[],r=this._animations.get(e),a,o=new Map;if(r?(a=ot(this._driver,t,r,st,pe,new Map,new Map,s,tn,n),a.forEach(h=>{let c=L(o,h.element,new Map);h.postStyleProps.forEach(_=>c.set(_,null))})):(n.push(ps()),a=[]),n.length)throw gs(n);o.forEach((h,c)=>{h.forEach((_,y)=>{h.set(y,this._driver.computeStyle(c,y,B))})});let l=a.map(h=>{let c=o.get(h.element);return this._buildPlayer(h,new Map,c)}),u=U(l);return this._playersById.set(e,u),u.onDestroy(()=>this.destroy(e)),this.players.push(u),u}destroy(e){let t=this._getPlayer(e);t.destroy(),this._playersById.delete(e);let s=this.players.indexOf(t);s>=0&&this.players.splice(s,1)}_getPlayer(e){let t=this._playersById.get(e);if(!t)throw ys(e);return t}listen(e,t,s,n){let r=et(t,"","","");return xe(this._getPlayer(e),s,r,n),()=>{}}command(e,t,s,n){if(s=="register"){this.register(e,n[0]);return}if(s=="create"){let a=n[0]||{};this.create(e,t,a);return}let r=this._getPlayer(e);switch(s){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(n[0]));break;case"destroy":this.destroy(e);break}}},Pt="ng-animate-queued",sn=".ng-animate-queued",Re="ng-animate-disabled",nn=".ng-animate-disabled",rn="ng-star-inserted",an=".ng-star-inserted",on=[],Qt={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},ln={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},z="__ng_removed",re=class{namespaceId;value;options;get params(){return this.options.params}constructor(e,t=""){this.namespaceId=t;let s=e&&e.hasOwnProperty("value"),n=s?e.value:e;if(this.value=cn(n),s){let r=e,{value:a}=r,o=ft(r,["value"]);this.options=o}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){let t=e.params;if(t){let s=this.options.params;Object.keys(t).forEach(n=>{s[n]==null&&(s[n]=t[n])})}}},ne="void",Oe=new re(ne),Ye=class{id;hostElement;_engine;players=[];_triggers=new Map;_queue=[];_elementListeners=new Map;_hostClassName;constructor(e,t,s){this.id=e,this.hostElement=t,this._engine=s,this._hostClassName="ng-tns-"+e,I(t,this._hostClassName)}listen(e,t,s,n){if(!this._triggers.has(t))throw _s(s,t);if(s==null||s.length==0)throw Ss(t);if(!hn(s))throw Es(s,t);let r=L(this._elementListeners,e,[]),a={name:t,phase:s,callback:n};r.push(a);let o=L(this._engine.statesByElement,e,new Map);return o.has(t)||(I(e,ce),I(e,ce+"-"+t),o.set(t,Oe)),()=>{this._engine.afterFlush(()=>{let l=r.indexOf(a);l>=0&&r.splice(l,1),this._triggers.has(t)||o.delete(t)})}}register(e,t){return this._triggers.has(e)?!1:(this._triggers.set(e,t),!0)}_getTrigger(e){let t=this._triggers.get(e);if(!t)throw Ts(e);return t}trigger(e,t,s,n=!0){let r=this._getTrigger(t),a=new ae(this.id,t,e),o=this._engine.statesByElement.get(e);o||(I(e,ce),I(e,ce+"-"+t),this._engine.statesByElement.set(e,o=new Map));let l=o.get(t),u=new re(s,this.id);if(!(s&&s.hasOwnProperty("value"))&&l&&u.absorbOptions(l.options),o.set(t,u),l||(l=Oe),!(u.value===ne)&&l.value===u.value){if(!mn(l.params,u.params)){let g=[],v=r.matchStyles(l.value,l.params,g),b=r.matchStyles(u.value,u.params,g);g.length?this._engine.reportError(g):this._engine.afterFlush(()=>{X(e,v),Q(e,b)})}return}let _=L(this._engine.playersByElement,e,[]);_.forEach(g=>{g.namespaceId==this.id&&g.triggerName==t&&g.queued&&g.destroy()});let y=r.matchTransition(l.value,u.value,e,u.params),d=!1;if(!y){if(!n)return;y=r.fallbackTransition,d=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:y,fromState:l,toState:u,player:a,isFallbackTransition:d}),d||(I(e,Pt),a.onStart(()=>{ee(e,Pt)})),a.onDone(()=>{let g=this.players.indexOf(a);g>=0&&this.players.splice(g,1);let v=this._engine.playersByElement.get(e);if(v){let b=v.indexOf(a);b>=0&&v.splice(b,1)}}),this.players.push(a),_.push(a),a}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(t=>t.delete(e)),this._elementListeners.forEach((t,s)=>{this._elementListeners.set(s,t.filter(n=>n.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let t=this._engine.playersByElement.get(e);t&&(t.forEach(s=>s.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){let s=this._engine.driver.query(e,ge,!0);s.forEach(n=>{if(n[z])return;let r=this._engine.fetchNamespacesByElement(n);r.size?r.forEach(a=>a.triggerLeaveAnimation(n,t,!1,!0)):this.clearElementCache(n)}),this._engine.afterFlushAnimationsDone(()=>s.forEach(n=>this.clearElementCache(n)))}triggerLeaveAnimation(e,t,s,n){let r=this._engine.statesByElement.get(e),a=new Map;if(r){let o=[];if(r.forEach((l,u)=>{if(a.set(u,l.value),this._triggers.has(u)){let h=this.trigger(e,u,ne,n);h&&o.push(h)}}),o.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,a),s&&U(o).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let t=this._elementListeners.get(e),s=this._engine.statesByElement.get(e);if(t&&s){let n=new Set;t.forEach(r=>{let a=r.name;if(n.has(a))return;n.add(a);let l=this._triggers.get(a).fallbackTransition,u=s.get(a)||Oe,h=new re(ne),c=new ae(this.id,a,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:a,transition:l,fromState:u,toState:h,player:c,isFallbackTransition:!0})})}}removeNode(e,t){let s=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let n=!1;if(s.totalAnimations){let r=s.players.length?s.playersByQueriedElement.get(e):[];if(r&&r.length)n=!0;else{let a=e;for(;a=a.parentNode;)if(s.statesByElement.get(a)){n=!0;break}}}if(this.prepareLeaveAnimationListeners(e),n)s.markElementAsRemoved(this.id,e,!1,t);else{let r=e[z];(!r||r===Qt)&&(s.afterFlush(()=>this.clearElementCache(e)),s.destroyInnerAnimations(e),s._onRemovalComplete(e,t))}}insertNode(e,t){I(e,this._hostClassName)}drainQueuedTransitions(e){let t=[];return this._queue.forEach(s=>{let n=s.player;if(n.destroyed)return;let r=s.element,a=this._elementListeners.get(r);a&&a.forEach(o=>{if(o.name==s.triggerName){let l=et(r,s.triggerName,s.fromState.value,s.toState.value);l._data=e,xe(s.player,o.phase,l,o.callback)}}),n.markedForDestroy?this._engine.afterFlush(()=>{n.destroy()}):t.push(s)}),this._queue=[],t.sort((s,n)=>{let r=s.transition.ast.depCount,a=n.transition.ast.depCount;return r==0||a==0?r-a:this._engine.driver.containsElement(s.element,n.element)?1:-1})}destroy(e){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},Xe=class{bodyNode;driver;_normalizer;players=[];newHostElements=new Map;playersByElement=new Map;playersByQueriedElement=new Map;statesByElement=new Map;disabledNodes=new Set;totalAnimations=0;totalQueuedPlayers=0;_namespaceLookup={};_namespaceList=[];_flushFns=[];_whenQuietFns=[];namespacesByHostElement=new Map;collectedEnterElements=[];collectedLeaveElements=[];onRemovalComplete=(e,t)=>{};_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}constructor(e,t,s){this.bodyNode=e,this.driver=t,this._normalizer=s}get queuedPlayers(){let e=[];return this._namespaceList.forEach(t=>{t.players.forEach(s=>{s.queued&&e.push(s)})}),e}createNamespace(e,t){let s=new Ye(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(s,t):(this.newHostElements.set(t,s),this.collectEnterElement(t)),this._namespaceLookup[e]=s}_balanceNamespaceList(e,t){let s=this._namespaceList,n=this.namespacesByHostElement;if(s.length-1>=0){let a=!1,o=this.driver.getParentElement(t);for(;o;){let l=n.get(o);if(l){let u=s.indexOf(l);s.splice(u+1,0,e),a=!0;break}o=this.driver.getParentElement(o)}a||s.unshift(e)}else s.push(e);return n.set(t,e),e}register(e,t){let s=this._namespaceLookup[e];return s||(s=this.createNamespace(e,t)),s}registerTrigger(e,t,s){let n=this._namespaceLookup[e];n&&n.register(t,s)&&this.totalAnimations++}destroy(e,t){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let s=this._fetchNamespace(e);this.namespacesByHostElement.delete(s.hostElement);let n=this._namespaceList.indexOf(s);n>=0&&this._namespaceList.splice(n,1),s.destroy(t),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let t=new Set,s=this.statesByElement.get(e);if(s){for(let n of s.values())if(n.namespaceId){let r=this._fetchNamespace(n.namespaceId);r&&t.add(r)}}return t}trigger(e,t,s,n){if(de(t)){let r=this._fetchNamespace(e);if(r)return r.trigger(t,s,n),!0}return!1}insertNode(e,t,s,n){if(!de(t))return;let r=t[z];if(r&&r.setForRemoval){r.setForRemoval=!1,r.setForMove=!0;let a=this.collectedLeaveElements.indexOf(t);a>=0&&this.collectedLeaveElements.splice(a,1)}if(e){let a=this._fetchNamespace(e);a&&a.insertNode(t,s)}n&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),I(e,Re)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),ee(e,Re))}removeNode(e,t,s){if(de(t)){let n=e?this._fetchNamespace(e):null;n?n.removeNode(t,s):this.markElementAsRemoved(e,t,!1,s);let r=this.namespacesByHostElement.get(t);r&&r.id!==e&&r.removeNode(t,s)}else this._onRemovalComplete(t,s)}markElementAsRemoved(e,t,s,n,r){this.collectedLeaveElements.push(t),t[z]={namespaceId:e,setForRemoval:n,hasAnimation:s,removedBeforeQueried:!1,previousTriggersValues:r}}listen(e,t,s,n,r){return de(t)?this._fetchNamespace(e).listen(t,s,n,r):()=>{}}_buildInstruction(e,t,s,n,r){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,s,n,e.fromState.options,e.toState.options,t,r)}destroyInnerAnimations(e){let t=this.driver.query(e,ge,!0);t.forEach(s=>this.destroyActiveAnimationsForElement(s)),this.playersByQueriedElement.size!=0&&(t=this.driver.query(e,ze,!0),t.forEach(s=>this.finishActiveQueriedAnimationOnElement(s)))}destroyActiveAnimationsForElement(e){let t=this.playersByElement.get(e);t&&t.forEach(s=>{s.queued?s.markedForDestroy=!0:s.destroy()})}finishActiveQueriedAnimationOnElement(e){let t=this.playersByQueriedElement.get(e);t&&t.forEach(s=>s.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return U(this.players).onDone(()=>e());e()})}processLeaveNode(e){let t=e[z];if(t&&t.setForRemoval){if(e[z]=Qt,t.namespaceId){this.destroyInnerAnimations(e);let s=this._fetchNamespace(t.namespaceId);s&&s.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}e.classList?.contains(Re)&&this.markElementAsDisabled(e,!1),this.driver.query(e,nn,!0).forEach(s=>{this.markElementAsDisabled(s,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((s,n)=>this._balanceNamespaceList(s,n)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let s=0;ss()),this._flushFns=[],this._whenQuietFns.length){let s=this._whenQuietFns;this._whenQuietFns=[],t.length?U(t).onDone(()=>{s.forEach(n=>n())}):s.forEach(n=>n())}}reportError(e){throw vs(e)}_flushAnimations(e,t){let s=new te,n=[],r=new Map,a=[],o=new Map,l=new Map,u=new Map,h=new Set;this.disabledNodes.forEach(f=>{h.add(f);let m=this.driver.query(f,sn,!0);for(let p=0;p{let p=st+g++;d.set(m,p),f.forEach(T=>I(T,p))});let v=[],b=new Set,A=new Set;for(let f=0;fb.add(T)):A.add(m))}let C=new Map,N=Ct(_,Array.from(b));N.forEach((f,m)=>{let p=pe+g++;C.set(m,p),f.forEach(T=>I(T,p))}),e.push(()=>{y.forEach((f,m)=>{let p=d.get(m);f.forEach(T=>ee(T,p))}),N.forEach((f,m)=>{let p=C.get(m);f.forEach(T=>ee(T,p))}),v.forEach(f=>{this.processLeaveNode(f)})});let Z=[],K=[];for(let f=this._namespaceList.length-1;f>=0;f--)this._namespaceList[f].drainQueuedTransitions(t).forEach(p=>{let T=p.player,P=p.element;if(Z.push(T),this.collectedEnterElements.length){let M=P[z];if(M&&M.setForMove){if(M.previousTriggersValues&&M.previousTriggersValues.has(p.triggerName)){let G=M.previousTriggersValues.get(p.triggerName),F=this.statesByElement.get(p.element);if(F&&F.has(p.triggerName)){let oe=F.get(p.triggerName);oe.value=G,F.set(p.triggerName,oe)}}T.destroy();return}}let q=!c||!this.driver.containsElement(c,P),R=C.get(P),V=d.get(P),w=this._buildInstruction(p,s,V,R,q);if(w.errors&&w.errors.length){K.push(w);return}if(q){T.onStart(()=>X(P,w.fromStyles)),T.onDestroy(()=>Q(P,w.toStyles)),n.push(T);return}if(p.isFallbackTransition){T.onStart(()=>X(P,w.fromStyles)),T.onDestroy(()=>Q(P,w.toStyles)),n.push(T);return}let ht=[];w.timelines.forEach(M=>{M.stretchStartingKeyframe=!0,this.disabledNodes.has(M.element)||ht.push(M)}),w.timelines=ht,s.append(P,w.timelines);let Ut={instruction:w,player:T,element:P};a.push(Ut),w.queriedElements.forEach(M=>L(o,M,[]).push(T)),w.preStyleProps.forEach((M,G)=>{if(M.size){let F=l.get(G);F||l.set(G,F=new Set),M.forEach((oe,Pe)=>F.add(Pe))}}),w.postStyleProps.forEach((M,G)=>{let F=u.get(G);F||u.set(G,F=new Set),M.forEach((oe,Pe)=>F.add(Pe))})});if(K.length){let f=[];K.forEach(m=>{f.push(ws(m.triggerName,m.errors))}),Z.forEach(m=>m.destroy()),this.reportError(f)}let k=new Map,D=new Map;a.forEach(f=>{let m=f.element;s.has(m)&&(D.set(m,m),this._beforeAnimationBuild(f.player.namespaceId,f.instruction,k))}),n.forEach(f=>{let m=f.element;this._getPreviousPlayers(m,!1,f.namespaceId,f.triggerName,null).forEach(T=>{L(k,m,[]).push(T),T.destroy()})});let j=v.filter(f=>kt(f,l,u)),J=new Map;Mt(J,this.driver,A,u,B).forEach(f=>{kt(f,l,u)&&j.push(f)});let W=new Map;y.forEach((f,m)=>{Mt(W,this.driver,new Set(f),l,ue)}),j.forEach(f=>{let m=J.get(f),p=W.get(f);J.set(f,new Map([...m?.entries()??[],...p?.entries()??[]]))});let Ae=[],ut=[],ct={};a.forEach(f=>{let{element:m,player:p,instruction:T}=f;if(s.has(m)){if(h.has(m)){p.onDestroy(()=>Q(m,T.toStyles)),p.disabled=!0,p.overrideTotalTime(T.totalTime),n.push(p);return}let P=ct;if(D.size>1){let R=m,V=[];for(;R=R.parentNode;){let w=D.get(R);if(w){P=w;break}V.push(R)}V.forEach(w=>D.set(w,P))}let q=this._buildAnimation(p.namespaceId,T,k,r,W,J);if(p.setRealPlayer(q),P===ct)Ae.push(p);else{let R=this.playersByElement.get(P);R&&R.length&&(p.parentPlayer=U(R)),n.push(p)}}else X(m,T.fromStyles),p.onDestroy(()=>Q(m,T.toStyles)),ut.push(p),h.has(m)&&n.push(p)}),ut.forEach(f=>{let m=r.get(f.element);if(m&&m.length){let p=U(m);f.setRealPlayer(p)}}),n.forEach(f=>{f.parentPlayer?f.syncPlayerEvents(f.parentPlayer):f.destroy()});for(let f=0;f!q.destroyed);P.length?fn(this,m,P):this.processLeaveNode(m)}return v.length=0,Ae.forEach(f=>{this.players.push(f),f.onDone(()=>{f.destroy();let m=this.players.indexOf(f);this.players.splice(m,1)}),f.play()}),Ae}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,s,n,r){let a=[];if(t){let o=this.playersByQueriedElement.get(e);o&&(a=o)}else{let o=this.playersByElement.get(e);if(o){let l=!r||r==ne;o.forEach(u=>{u.queued||!l&&u.triggerName!=n||a.push(u)})}}return(s||n)&&(a=a.filter(o=>!(s&&s!=o.namespaceId||n&&n!=o.triggerName))),a}_beforeAnimationBuild(e,t,s){let n=t.triggerName,r=t.element,a=t.isRemovalTransition?void 0:e,o=t.isRemovalTransition?void 0:n;for(let l of t.timelines){let u=l.element,h=u!==r,c=L(s,u,[]);this._getPreviousPlayers(u,h,a,o,t.toState).forEach(y=>{let d=y.getRealPlayer();d.beforeDestroy&&d.beforeDestroy(),y.destroy(),c.push(y)})}X(r,t.fromStyles)}_buildAnimation(e,t,s,n,r,a){let o=t.triggerName,l=t.element,u=[],h=new Set,c=new Set,_=t.timelines.map(d=>{let g=d.element;h.add(g);let v=g[z];if(v&&v.removedBeforeQueried)return new x(d.duration,d.delay);let b=g!==l,A=dn((s.get(g)||on).map(k=>k.getRealPlayer())).filter(k=>{let D=k;return D.element?D.element===g:!1}),C=r.get(g),N=a.get(g),Z=Ot(this._normalizer,d.keyframes,C,N),K=this._buildPlayer(d,Z,A);if(d.subTimeline&&n&&c.add(g),b){let k=new ae(e,o,g);k.setRealPlayer(K),u.push(k)}return K});u.forEach(d=>{L(this.playersByQueriedElement,d.element,[]).push(d),d.onDone(()=>un(this.playersByQueriedElement,d.element,d))}),h.forEach(d=>I(d,St));let y=U(_);return y.onDestroy(()=>{h.forEach(d=>ee(d,St)),Q(l,t.toStyles)}),c.forEach(d=>{L(n,d,[]).push(y)}),y}_buildPlayer(e,t,s){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,s):new x(e.duration,e.delay)}},ae=class{namespaceId;triggerName;element;_player=new x;_containsRealPlayer=!1;_queuedCallbacks=new Map;destroyed=!1;parentPlayer=null;markedForDestroy=!1;disabled=!1;queued=!0;totalTime=0;constructor(e,t,s){this.namespaceId=e,this.triggerName=t,this.element=s}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((t,s)=>{t.forEach(n=>xe(e,s,void 0,n))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){let t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){L(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return this.queued?!1:this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){let t=this._player;t.triggerCallback&&t.triggerCallback(e)}};function un(i,e,t){let s=i.get(e);if(s){if(s.length){let n=s.indexOf(t);s.splice(n,1)}s.length==0&&i.delete(e)}return s}function cn(i){return i??null}function de(i){return i&&i.nodeType===1}function hn(i){return i=="start"||i=="done"}function Nt(i,e){let t=i.style.display;return i.style.display=e??"none",t}function Mt(i,e,t,s,n){let r=[];t.forEach(l=>r.push(Nt(l)));let a=[];s.forEach((l,u)=>{let h=new Map;l.forEach(c=>{let _=e.computeStyle(u,c,n);h.set(c,_),(!_||_.length==0)&&(u[z]=ln,a.push(u))}),i.set(u,h)});let o=0;return t.forEach(l=>Nt(l,r[o++])),a}function Ct(i,e){let t=new Map;if(i.forEach(o=>t.set(o,[])),e.length==0)return t;let s=1,n=new Set(e),r=new Map;function a(o){if(!o)return s;let l=r.get(o);if(l)return l;let u=o.parentNode;return t.has(u)?l=u:n.has(u)?l=s:l=a(u),r.set(o,l),l}return e.forEach(o=>{let l=a(o);l!==s&&t.get(l).push(o)}),t}function I(i,e){i.classList?.add(e)}function ee(i,e){i.classList?.remove(e)}function fn(i,e,t){U(t).onDone(()=>i.processLeaveNode(e))}function dn(i){let e=[];return $t(i,e),e}function $t(i,e){for(let t=0;tn.add(r)):e.set(i,s),t.delete(i),!0}var ve=class{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(e,t)=>{};constructor(e,t,s){this._driver=t,this._normalizer=s,this._transitionEngine=new Xe(e.body,t,s),this._timelineEngine=new He(e.body,t,s),this._transitionEngine.onRemovalComplete=(n,r)=>this.onRemovalComplete(n,r)}registerTrigger(e,t,s,n,r){let a=e+"-"+n,o=this._triggerCache[a];if(!o){let l=[],u=[],h=rt(this._driver,r,l,u);if(l.length)throw fs(n,l);u.length&&void 0,o=xs(n,h,this._normalizer),this._triggerCache[a]=o}this._transitionEngine.registerTrigger(t,n,o)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,s,n){this._transitionEngine.insertNode(e,t,s,n)}onRemove(e,t,s){this._transitionEngine.removeNode(e,t,s)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,s,n){if(s.charAt(0)=="@"){let[r,a]=gt(s),o=n;this._timelineEngine.command(r,t,a,o)}else this._transitionEngine.trigger(e,t,s,n)}listen(e,t,s,n,r){if(s.charAt(0)=="@"){let[a,o]=gt(s);return this._timelineEngine.listen(a,t,o,r)}return this._transitionEngine.listen(e,t,s,n,r)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}};function pn(i,e){let t=null,s=null;return Array.isArray(e)&&e.length?(t=Le(e[0]),e.length>1&&(s=Le(e[e.length-1]))):e instanceof Map&&(t=Le(e)),t||s?new gn(i,t,s):null}var gn=(()=>{class i{_element;_startStyles;_endStyles;static initialStylesByElement=new WeakMap;_state=0;_initialStyles;constructor(t,s,n){this._element=t,this._startStyles=s,this._endStyles=n;let r=i.initialStylesByElement.get(t);r||i.initialStylesByElement.set(t,r=new Map),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&Q(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Q(this._element,this._initialStyles),this._endStyles&&(Q(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(i.initialStylesByElement.delete(this._element),this._startStyles&&(X(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(X(this._element,this._endStyles),this._endStyles=null),Q(this._element,this._initialStyles),this._state=3)}}return i})();function Le(i){let e=null;return i.forEach((t,s)=>{yn(s)&&(e=e||new Map,e.set(s,t))}),e}function yn(i){return i==="display"||i==="position"}var we=class{element;keyframes;options;_specialStyles;_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_duration;_delay;_initialized=!1;_finished=!1;_started=!1;_destroyed=!1;_finalKeyframe;_originalOnDoneFns=[];_originalOnStartFns=[];domPlayer;time=0;parentPlayer=null;currentSnapshot=new Map;constructor(e,t,s,n){this.element=e,this.keyframes=t,this.options=s,this._specialStyles=n,this._duration=s.duration,this._delay=s.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map;let t=()=>this._onFinish();this.domPlayer.addEventListener("finish",t),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",t)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){let t=[];return e.forEach(s=>{t.push(Object.fromEntries(s))}),t}_triggerWebAnimation(e,t,s){return e.animate(this._convertKeyframesToObject(t),s)}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((s,n)=>{n!=="offset"&&e.set(n,this._finished?s:it(this.element,n))}),this.currentSnapshot=e}triggerCallback(e){let t=e==="start"?this._onStartFns:this._onDoneFns;t.forEach(s=>s()),t.length=0}},Ze=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}containsElement(e,t){return Lt(e,t)}getParentElement(e){return tt(e)}query(e,t,s){return Ft(e,t,s)}computeStyle(e,t,s){return it(e,t)}animate(e,t,s,n,r,a=[]){let o=n==0?"both":"forwards",l={duration:s,delay:n,fill:o};r&&(l.easing=r);let u=new Map,h=a.filter(y=>y instanceof we);Fs(s,n)&&h.forEach(y=>{y.currentSnapshot.forEach((d,g)=>u.set(g,d))});let c=Rs(t).map(y=>new Map(y));c=Is(e,c,u);let _=pn(e,c);return new we(e,c,l,_)}};function Pn(i,e){return i==="noop"?new ve(e,new It,new Ie):new ve(e,new Ze,new Be)}var Dt=class{_driver;_animationAst;constructor(e,t){this._driver=e;let s=[],n=[],r=rt(e,t,s,n);if(s.length)throw cs(s);n.length&&void 0,this._animationAst=r}buildTimelines(e,t,s,n,r){let a=Array.isArray(t)?Et(t):t,o=Array.isArray(s)?Et(s):s,l=[];r=r||new te;let u=ot(this._driver,e,this._animationAst,st,pe,a,o,n,r,l);if(l.length)throw hs(l);return u}},me="@",Vt="@.disabled",be=class{namespaceId;delegate;engine;_onDestroy;\u0275type=0;constructor(e,t,s,n){this.namespaceId=e,this.delegate=t,this.engine=s,this._onDestroy=n}get data(){return this.delegate.data}destroyNode(e){this.delegate.destroyNode?.(e)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,s,n=!0){this.delegate.insertBefore(e,t,s),this.engine.onInsert(this.namespaceId,t,e,n)}removeChild(e,t,s){this.parentNode(t)&&this.engine.onRemove(this.namespaceId,t,this.delegate)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,s,n){this.delegate.setAttribute(e,t,s,n)}removeAttribute(e,t,s){this.delegate.removeAttribute(e,t,s)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,s,n){this.delegate.setStyle(e,t,s,n)}removeStyle(e,t,s){this.delegate.removeStyle(e,t,s)}setProperty(e,t,s){t.charAt(0)==me&&t==Vt?this.disableAnimations(e,!!s):this.delegate.setProperty(e,t,s)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,s){return this.delegate.listen(e,t,s)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}},Je=class extends be{factory;constructor(e,t,s,n,r){super(t,s,n,r),this.factory=e,this.namespaceId=t}setProperty(e,t,s){t.charAt(0)==me?t.charAt(1)=="."&&t==Vt?(s=s===void 0?!0:!!s,this.disableAnimations(e,s)):this.engine.process(this.namespaceId,e,t.slice(1),s):this.delegate.setProperty(e,t,s)}listen(e,t,s){if(t.charAt(0)==me){let n=_n(e),r=t.slice(1),a="";return r.charAt(0)!=me&&([r,a]=Sn(r)),this.engine.listen(this.namespaceId,n,r,a,o=>{let l=o._data||-1;this.factory.scheduleListenerCallback(l,s,o)})}return this.delegate.listen(e,t,s)}};function _n(i){switch(i){case"body":return document.body;case"document":return document;case"window":return window;default:return i}}function Sn(i){let e=i.indexOf("."),t=i.substring(0,e),s=i.slice(e+1);return[t,s]}var Rt=class{delegate;engine;_zone;_currentId=0;_microtaskId=1;_animationCallbacksBuffer=[];_rendererCache=new Map;_cdRecurDepth=0;constructor(e,t,s){this.delegate=e,this.engine=t,this._zone=s,t.onRemovalComplete=(n,r)=>{r?.removeChild(null,n)}}createRenderer(e,t){let s="",n=this.delegate.createRenderer(e,t);if(!e||!t?.data?.animation){let u=this._rendererCache,h=u.get(n);if(!h){let c=()=>u.delete(n);h=new be(s,n,this.engine,c),u.set(n,h)}return h}let r=t.id,a=t.id+"-"+this._currentId;this._currentId++,this.engine.register(a,e);let o=u=>{Array.isArray(u)?u.forEach(o):this.engine.registerTrigger(r,a,e,u.name,u)};return t.data.animation.forEach(o),new Je(this,a,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,s){if(e>=0&&et(s));return}let n=this._animationCallbacksBuffer;n.length==0&&queueMicrotask(()=>{this._zone.run(()=>{n.forEach(r=>{let[a,o]=r;a(o)}),this._animationCallbacksBuffer=[]})}),n.push([t,s])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}};export{_t as AnimationDriver,It as NoopAnimationDriver,Dt as \u0275Animation,ve as \u0275AnimationEngine,Je as \u0275AnimationRenderer,Rt as \u0275AnimationRendererFactory,Fe as \u0275AnimationStyleNormalizer,be as \u0275BaseAnimationRenderer,Ie as \u0275NoopAnimationStyleNormalizer,Ze as \u0275WebAnimationsDriver,we as \u0275WebAnimationsPlayer,Be as \u0275WebAnimationsStyleNormalizer,Fs as \u0275allowPreviousPlayerStylesMerge,An as \u0275camelCaseToDashCase,Lt as \u0275containsElement,Pn as \u0275createEngine,tt as \u0275getParentElement,Ft as \u0275invokeQuery,Rs as \u0275normalizeKeyframes,Ns as \u0275validateStyleProperty,bn as \u0275validateWebAnimatableStyleProperty}; diff --git a/chunk-6X2S33CO.js b/chunk-6X2S33CO.js deleted file mode 100644 index 1ec94a7..0000000 --- a/chunk-6X2S33CO.js +++ /dev/null @@ -1,7 +0,0 @@ -var _d=Object.defineProperty,Md=Object.defineProperties;var xd=Object.getOwnPropertyDescriptors;var Cn=Object.getOwnPropertySymbols;var Ws=Object.prototype.hasOwnProperty,qs=Object.prototype.propertyIsEnumerable;var Gs=(e,t,n)=>t in e?_d(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ft=(e,t)=>{for(var n in t||={})Ws.call(t,n)&&Gs(e,n,t[n]);if(Cn)for(var n of Cn(t))qs.call(t,n)&&Gs(e,n,t[n]);return e},ht=(e,t)=>Md(e,xd(t));var qv=(e,t)=>{var n={};for(var r in e)Ws.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Cn)for(var r of Cn(e))t.indexOf(r)<0&&qs.call(e,r)&&(n[r]=e[r]);return n};var Zv=(e,t,n)=>new Promise((r,o)=>{var i=u=>{try{a(n.next(u))}catch(c){o(c)}},s=u=>{try{a(n.throw(u))}catch(c){o(c)}},a=u=>u.done?r(u.value):Promise.resolve(u.value).then(i,s);a((n=n.apply(e,t)).next())});var Zs=null,bn=!1,oo=1,Mn=Symbol("SIGNAL");function C(e){let t=Zs;return Zs=e,t}function Sd(){return bn}var so={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Td(e){if(!(fo(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===oo)){if(!e.producerMustRecompute(e)&&!xn(e)){e.dirty=!1,e.lastCleanEpoch=oo;return}e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=oo}}function Nd(e){if(e.liveConsumerNode===void 0)return;let t=bn;bn=!0;try{for(let n of e.liveConsumerNode)n.dirty||Ys(n)}finally{bn=t}}function Ys(e){e.dirty=!0,Nd(e),e.consumerMarkedDirty?.(e)}function ao(e){return e&&(e.nextProducerIndex=0),C(e)}function uo(e,t){if(C(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(fo(e))for(let n=e.nextProducerIndex;ne.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function xn(e){_n(e);for(let t=0;t0}function _n(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function Ad(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function Od(){throw new Error}var Fd=Od;function Qs(e){Fd=e}function Ks(e,t,n){let r=Object.create(Rd);n&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=t;let o=u=>{r.cleanupFn=u};function i(u){return u.fn===null&&u.schedule===null}function s(u){i(u)||(co(u),u.cleanupFn(),u.fn=null,u.schedule=null,u.cleanupFn=io)}let a=()=>{if(r.fn===null)return;if(Sd())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(r.dirty=!1,r.hasRun&&!xn(r))return;r.hasRun=!0;let u=ao(r);try{r.cleanupFn(),r.cleanupFn=io,r.fn(o)}finally{uo(r,u)}};return r.ref={notify:()=>Ys(r),run:a,cleanup:()=>r.cleanupFn(),destroy:()=>s(r),[Mn]:r},r.ref}var io=()=>{},Rd=ht(ft({},so),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule!==null&&e.schedule(e.ref)},hasRun:!1,cleanupFn:io});function g(e){return typeof e=="function"}function pt(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var Sn=pt(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription: -${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(` - `)}`:"",this.name="UnsubscriptionError",this.errors=n});function Ve(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var P=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(g(r))try{r()}catch(i){t=i instanceof Sn?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Js(i)}catch(s){t=t??[],s instanceof Sn?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Sn(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Js(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&Ve(n,t)}remove(t){let{_finalizers:n}=this;n&&Ve(n,t),t instanceof e&&t._removeParent(this)}};P.EMPTY=(()=>{let e=new P;return e.closed=!0,e})();var ho=P.EMPTY;function Tn(e){return e instanceof P||e&&"closed"in e&&g(e.remove)&&g(e.add)&&g(e.unsubscribe)}function Js(e){g(e)?e():e.unsubscribe()}var oe={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var gt={setTimeout(e,t,...n){let{delegate:r}=gt;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=gt;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Nn(e){gt.setTimeout(()=>{let{onUnhandledError:t}=oe;if(t)t(e);else throw e})}function Be(){}var Xs=po("C",void 0,void 0);function ea(e){return po("E",void 0,e)}function ta(e){return po("N",e,void 0)}function po(e,t,n){return{kind:e,value:t,error:n}}var $e=null;function mt(e){if(oe.useDeprecatedSynchronousErrorHandling){let t=!$e;if(t&&($e={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=$e;if($e=null,n)throw r}}else e()}function na(e){oe.useDeprecatedSynchronousErrorHandling&&$e&&($e.errorThrown=!0,$e.error=e)}var He=class extends P{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Tn(t)&&t.add(this)):this.destination=Ld}static create(t,n,r){return new De(t,n,r)}next(t){this.isStopped?mo(ta(t),this):this._next(t)}error(t){this.isStopped?mo(ea(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?mo(Xs,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()}}},kd=Function.prototype.bind;function go(e,t){return kd.call(e,t)}var yo=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){An(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){An(r)}else An(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){An(n)}}},De=class extends He{constructor(t,n,r){super();let o;if(g(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&oe.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&go(t.next,i),error:t.error&&go(t.error,i),complete:t.complete&&go(t.complete,i)}):o=t}this.destination=new yo(o)}};function An(e){oe.useDeprecatedSynchronousErrorHandling?na(e):Nn(e)}function Pd(e){throw e}function mo(e,t){let{onStoppedNotification:n}=oe;n&>.setTimeout(()=>n(e,t))}var Ld={closed:!0,next:Be,error:Pd,complete:Be};var yt=typeof Symbol=="function"&&Symbol.observable||"@@observable";function U(e){return e}function jd(...e){return vo(e)}function vo(e){return e.length===0?U:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var M=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=Bd(n)?n:new De(n,r,o);return mt(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=ra(r),new r((o,i)=>{let s=new De({next:a=>{try{n(a)}catch(u){i(u),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[yt](){return this}pipe(...n){return vo(n)(this)}toPromise(n){return n=ra(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function ra(e){var t;return(t=e??oe.Promise)!==null&&t!==void 0?t:Promise}function Vd(e){return e&&g(e.next)&&g(e.error)&&g(e.complete)}function Bd(e){return e&&e instanceof He||Vd(e)&&Tn(e)}function Do(e){return g(e?.lift)}function D(e){return t=>{if(Do(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function y(e,t,n,r,o){return new Io(e,t,n,r,o)}var Io=class extends He{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(u){t.error(u)}}:super._next,this._error=o?function(a){try{o(a)}catch(u){t.error(u)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};function Eo(){return D((e,t)=>{let n=null;e._refCount++;let r=y(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){n=null;return}let o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}var wo=class extends M{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,Do(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){let t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new P;let n=this.getSubject();t.add(this.source.subscribe(y(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=P.EMPTY)}return t}refCount(){return Eo()(this)}};var oa=pt(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var ee=(()=>{class e extends M{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new On(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new oa}next(n){mt(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){mt(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){mt(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:r,isStopped:o,observers:i}=this;return r||o?ho:(this.currentObservers=null,i.push(n),new P(()=>{this.currentObservers=null,Ve(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new M;return n.source=this,n}}return e.create=(t,n)=>new On(t,n),e})(),On=class extends ee{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:ho}};var Gt=class extends ee{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};var Wt={now(){return(Wt.delegate||Date).now()},delegate:void 0};var Fn=class extends ee{constructor(t=1/0,n=1/0,r=Wt){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;sia(t)&&e()),t},clearImmediate(e){ia(e)}};var{setImmediate:Hd,clearImmediate:Ud}=sa,Zt={setImmediate(...e){let{delegate:t}=Zt;return(t?.setImmediate||Hd)(...e)},clearImmediate(e){let{delegate:t}=Zt;return(t?.clearImmediate||Ud)(e)},delegate:void 0};var kn=class extends vt{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}requestAsyncId(t,n,r=0){return r!==null&&r>0?super.requestAsyncId(t,n,r):(t.actions.push(this),t._scheduled||(t._scheduled=Zt.setImmediate(t.flush.bind(t,void 0))))}recycleAsyncId(t,n,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(t,n,r);let{actions:i}=t;n!=null&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==n&&(Zt.clearImmediate(n),t._scheduled===n&&(t._scheduled=void 0))}};var Dt=class e{constructor(t,n=e.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,r){return new this.schedulerActionCtor(this,t).schedule(r,n)}};Dt.now=Wt.now;var It=class extends Dt{constructor(t,n=Dt.now){super(t,n),this.actions=[],this._active=!1}flush(t){let{actions:n}=this;if(this._active){n.push(t);return}let r;this._active=!0;do if(r=t.execute(t.state,t.delay))break;while(t=n.shift());if(this._active=!1,r){for(;t=n.shift();)t.unsubscribe();throw r}}};var Pn=class extends It{flush(t){this._active=!0;let n=this._scheduled;this._scheduled=void 0;let{actions:r}=this,o;t=t||r.shift();do if(o=t.execute(t.state,t.delay))break;while((t=r[0])&&t.id===n&&r.shift());if(this._active=!1,o){for(;(t=r[0])&&t.id===n&&r.shift();)t.unsubscribe();throw o}}};var zd=new Pn(kn);var Ue=new It(vt),aa=Ue;var ze=new M(e=>e.complete());function Ln(e){return e&&g(e.schedule)}function _o(e){return e[e.length-1]}function jn(e){return g(_o(e))?e.pop():void 0}function de(e){return Ln(_o(e))?e.pop():void 0}function ua(e,t){return typeof _o(e)=="number"?e.pop():t}function la(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(l){try{c(r.next(l))}catch(d){s(d)}}function u(l){try{c(r.throw(l))}catch(d){s(d)}}function c(l){l.done?i(l.value):o(l.value).then(a,u)}c((r=r.apply(e,t||[])).next())})}function ca(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Ge(e){return this instanceof Ge?(this.v=e,this):new Ge(e)}function da(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(f){r[f]&&(o[f]=function(h){return new Promise(function(p,m){i.push([f,h,p,m])>1||a(f,h)})})}function a(f,h){try{u(r[f](h))}catch(p){d(i[0][3],p)}}function u(f){f.value instanceof Ge?Promise.resolve(f.value.v).then(c,l):d(i[0][2],f)}function c(f){a("next",f)}function l(f){a("throw",f)}function d(f,h){f(h),i.shift(),i.length&&a(i[0][0],i[0][1])}}function fa(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof ca=="function"?ca(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,u){s=e[i](s),o(a,u,s.done,s.value)})}}function o(i,s,a,u){Promise.resolve(u).then(function(c){i({value:c,done:a})},s)}}var Et=e=>e&&typeof e.length=="number"&&typeof e!="function";function Vn(e){return g(e?.then)}function Bn(e){return g(e[yt])}function $n(e){return Symbol.asyncIterator&&g(e?.[Symbol.asyncIterator])}function Hn(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function Gd(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Un=Gd();function zn(e){return g(e?.[Un])}function Gn(e){return da(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield Ge(n.read());if(o)return yield Ge(void 0);yield yield Ge(r)}}finally{n.releaseLock()}})}function Wn(e){return g(e?.getReader)}function T(e){if(e instanceof M)return e;if(e!=null){if(Bn(e))return Wd(e);if(Et(e))return qd(e);if(Vn(e))return Zd(e);if($n(e))return ha(e);if(zn(e))return Yd(e);if(Wn(e))return Qd(e)}throw Hn(e)}function Wd(e){return new M(t=>{let n=e[yt]();if(g(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function qd(e){return new M(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Nn)})}function Yd(e){return new M(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function ha(e){return new M(t=>{Kd(e,t).catch(n=>t.error(n))})}function Qd(e){return ha(Gn(e))}function Kd(e,t){var n,r,o,i;return la(this,void 0,void 0,function*(){try{for(n=fa(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})}function q(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function qn(e,t=0){return D((n,r)=>{n.subscribe(y(r,o=>q(r,e,()=>r.next(o),t),()=>q(r,e,()=>r.complete(),t),o=>q(r,e,()=>r.error(o),t)))})}function Zn(e,t=0){return D((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function pa(e,t){return T(e).pipe(Zn(t),qn(t))}function ga(e,t){return T(e).pipe(Zn(t),qn(t))}function ma(e,t){return new M(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function ya(e,t){return new M(n=>{let r;return q(n,t,()=>{r=e[Un](),q(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>g(r?.return)&&r.return()})}function Yn(e,t){if(!e)throw new Error("Iterable cannot be null");return new M(n=>{q(n,t,()=>{let r=e[Symbol.asyncIterator]();q(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function va(e,t){return Yn(Gn(e),t)}function Da(e,t){if(e!=null){if(Bn(e))return pa(e,t);if(Et(e))return ma(e,t);if(Vn(e))return ga(e,t);if($n(e))return Yn(e,t);if(zn(e))return ya(e,t);if(Wn(e))return va(e,t)}throw Hn(e)}function fe(e,t){return t?Da(e,t):T(e)}function Jd(...e){let t=de(e);return fe(e,t)}function Xd(e,t){let n=g(e)?e:()=>e,r=o=>o.error(n());return new M(t?o=>t.schedule(r,0,o):r)}function ef(e){return!!e&&(e instanceof M||g(e.lift)&&g(e.subscribe))}var We=pt(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Ia(e){return e instanceof Date&&!isNaN(e)}function Ie(e,t){return D((n,r)=>{let o=0;n.subscribe(y(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:tf}=Array;function nf(e,t){return tf(t)?e(...t):e(t)}function wt(e){return Ie(t=>nf(e,t))}var{isArray:rf}=Array,{getPrototypeOf:of,prototype:sf,keys:af}=Object;function Qn(e){if(e.length===1){let t=e[0];if(rf(t))return{args:t,keys:null};if(uf(t)){let n=af(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function uf(e){return e&&typeof e=="object"&&of(e)===sf}function Kn(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function cf(...e){let t=de(e),n=jn(e),{args:r,keys:o}=Qn(e);if(r.length===0)return fe([],t);let i=new M(lf(r,t,o?s=>Kn(o,s):U));return n?i.pipe(wt(n)):i}function lf(e,t,n=U){return r=>{Ea(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let u=0;u{let c=fe(e[u],t),l=!1;c.subscribe(y(r,d=>{i[u]=d,l||(l=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Ea(e,t,n){e?q(n,e,t):t()}function wa(e,t,n,r,o,i,s,a){let u=[],c=0,l=0,d=!1,f=()=>{d&&!u.length&&!c&&t.complete()},h=m=>c{i&&t.next(m),c++;let O=!1;T(n(m,l++)).subscribe(y(t,x=>{o?.(x),i?h(x):t.next(x)},()=>{O=!0},void 0,()=>{if(O)try{for(c--;u.length&&cp(x)):p(x)}f()}catch(x){t.error(x)}}))};return e.subscribe(y(t,h,()=>{d=!0,f()})),()=>{a?.()}}function ie(e,t,n=1/0){return g(t)?ie((r,o)=>Ie((i,s)=>t(r,i,o,s))(T(e(r,o))),n):(typeof t=="number"&&(n=t),D((r,o)=>wa(r,o,e,n)))}function Yt(e=1/0){return ie(U,e)}function Ca(){return Yt(1)}function Ct(...e){return Ca()(fe(e,de(e)))}function df(e){return new M(t=>{T(e()).subscribe(t)})}function ff(...e){let t=jn(e),{args:n,keys:r}=Qn(e),o=new M(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),u=s,c=s;for(let l=0;l{d||(d=!0,c--),a[l]=f},()=>u--,void 0,()=>{(!u||!d)&&(c||i.next(r?Kn(r,a):a),i.complete())}))}});return t?o.pipe(wt(t)):o}var hf=["addListener","removeListener"],pf=["addEventListener","removeEventListener"],gf=["on","off"];function Mo(e,t,n,r){if(g(n)&&(r=n,n=void 0),r)return Mo(e,t,n).pipe(wt(r));let[o,i]=vf(e)?pf.map(s=>a=>e[s](t,a,n)):mf(e)?hf.map(ba(e,t)):yf(e)?gf.map(ba(e,t)):[];if(!o&&Et(e))return ie(s=>Mo(s,t,n))(T(e));if(!o)throw new TypeError("Invalid event target");return new M(s=>{let a=(...u)=>s.next(1i(a)})}function ba(e,t){return n=>r=>e[n](t,r)}function mf(e){return g(e.addListener)&&g(e.removeListener)}function yf(e){return g(e.on)&&g(e.off)}function vf(e){return g(e.addEventListener)&&g(e.removeEventListener)}function Qt(e=0,t,n=aa){let r=-1;return t!=null&&(Ln(t)?n=t:r=t),new M(o=>{let i=Ia(e)?+e-n.now():e;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function Df(...e){let t=de(e),n=ua(e,1/0),r=e;return r.length?r.length===1?T(r[0]):Yt(n)(fe(r,t)):ze}function qe(e,t){return D((n,r)=>{let o=0;n.subscribe(y(r,i=>e.call(t,i,o++)&&r.next(i)))})}function _a(e){return D((t,n)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let c=o;o=null,n.next(c)}s&&n.complete()},u=()=>{i=null,s&&n.complete()};t.subscribe(y(n,c=>{r=!0,o=c,i||T(e(c)).subscribe(i=y(n,a,u))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function If(e,t=Ue){return _a(()=>Qt(e,t))}function Ma(e){return D((t,n)=>{let r=null,o=!1,i;r=t.subscribe(y(n,void 0,void 0,s=>{i=T(e(s,Ma(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function xa(e,t,n,r,o){return(i,s)=>{let a=n,u=t,c=0;i.subscribe(y(s,l=>{let d=c++;u=a?e(u,l,d):(a=!0,l),r&&s.next(u)},o&&(()=>{a&&s.next(u),s.complete()})))}}function Ef(e,t){return g(t)?ie(e,t,1):ie(e,1)}function Sa(e,t=Ue){return D((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let c=i;i=null,r.next(c)}};function u(){let c=s+e,l=t.now();if(l{i=c,s=t.now(),o||(o=t.schedule(u,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function Kt(e){return D((t,n)=>{let r=!1;t.subscribe(y(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function bt(e){return e<=0?()=>ze:D((t,n)=>{let r=0;t.subscribe(y(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Ta(){return D((e,t)=>{e.subscribe(y(t,Be))})}function xo(e){return Ie(()=>e)}function So(e,t){return t?n=>Ct(t.pipe(bt(1),Ta()),n.pipe(So(e))):ie((n,r)=>T(e(n,r)).pipe(bt(1),xo(n)))}function wf(e,t=Ue){let n=Qt(e,t);return So(()=>n)}function Cf(e,t=U){return e=e??bf,D((n,r)=>{let o,i=!0;n.subscribe(y(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function bf(e,t){return e===t}function Jn(e=_f){return D((t,n)=>{let r=!1;t.subscribe(y(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function _f(){return new We}function Mf(e){return D((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function Na(e,t){let n=arguments.length>=2;return r=>r.pipe(e?qe((o,i)=>e(o,i,r)):U,bt(1),n?Kt(t):Jn(()=>new We))}function To(e){return e<=0?()=>ze:D((t,n)=>{let r=[];t.subscribe(y(n,o=>{r.push(o),e{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function xf(e,t){let n=arguments.length>=2;return r=>r.pipe(e?qe((o,i)=>e(o,i,r)):U,To(1),n?Kt(t):Jn(()=>new We))}function Sf(e,t){return D(xa(e,t,arguments.length>=2,!0))}function Ao(e={}){let{connector:t=()=>new ee,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,u,c=0,l=!1,d=!1,f=()=>{a?.unsubscribe(),a=void 0},h=()=>{f(),s=u=void 0,l=d=!1},p=()=>{let m=s;h(),m?.unsubscribe()};return D((m,O)=>{c++,!d&&!l&&f();let x=u=u??t();O.add(()=>{c--,c===0&&!d&&!l&&(a=No(p,o))}),x.subscribe(O),!s&&c>0&&(s=new De({next:L=>x.next(L),error:L=>{d=!0,f(),a=No(h,n,L),x.error(L)},complete:()=>{l=!0,f(),a=No(h,r),x.complete()}}),T(m).subscribe(s))})(i)}}function No(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new De({next:()=>{r.unsubscribe(),e()}});return T(t(...n)).subscribe(r)}function Tf(e,t,n){let r,o=!1;return e&&typeof e=="object"?{bufferSize:r=1/0,windowTime:t=1/0,refCount:o=!1,scheduler:n}=e:r=e??1/0,Ao({connector:()=>new Fn(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function Nf(e){return qe((t,n)=>e<=n)}function Af(...e){let t=de(e);return D((n,r)=>{(t?Ct(e,n,t):Ct(e,n)).subscribe(r)})}function Aa(e,t){return D((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(y(r,u=>{o?.unsubscribe();let c=0,l=i++;T(e(u,l)).subscribe(o=y(r,d=>r.next(t?t(u,d,l,c++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Oa(e){return D((t,n)=>{T(e).subscribe(y(n,()=>n.complete(),Be)),!n.closed&&t.subscribe(n)})}function Of(e,t=!1){return D((n,r)=>{let o=0;n.subscribe(y(r,i=>{let s=e(i,o++);(s||t)&&r.next(i),!s&&r.complete()}))})}function Ff(e,t,n){let r=g(e)||t||n?{next:e,error:t,complete:n}:e;return r?D((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(y(i,u=>{var c;(c=r.next)===null||c===void 0||c.call(r,u),i.next(u)},()=>{var u;a=!1,(u=r.complete)===null||u===void 0||u.call(r),i.complete()},u=>{var c;a=!1,(c=r.error)===null||c===void 0||c.call(r,u),i.error(u)},()=>{var u,c;a&&((u=r.unsubscribe)===null||u===void 0||u.call(r)),(c=r.finalize)===null||c===void 0||c.call(r)}))}):U}var Du="https://g.co/ng/security#xss",S=class extends Error{constructor(t,n){super(Iu(t,n)),this.code=t}};function Iu(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}function hn(e){return{toString:e}.toString()}var Xn="__parameters__";function Rf(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function Eu(e,t,n){return hn(()=>{let r=Rf(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;let s=new o(...i);return a.annotation=s,a;function a(u,c,l){let d=u.hasOwnProperty(Xn)?u[Xn]:Object.defineProperty(u,Xn,{value:[]})[Xn];for(;d.length<=l;)d.push(null);return(d[l]=d[l]||[]).push(s),u}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}var Nt=globalThis;function N(e){for(let t in e)if(e[t]===N)return t;throw Error("Could not find renamed property on target object.")}function kf(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Q(e){if(typeof e=="string")return e;if(Array.isArray(e))return"["+e.map(Q).join(", ")+"]";if(e==null)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;let t=e.toString();if(t==null)return""+t;let n=t.indexOf(` -`);return n===-1?t:t.substring(0,n)}function qo(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}var Pf=N({__forward_ref__:N});function wu(e){return e.__forward_ref__=wu,e.toString=function(){return Q(this())},e}function z(e){return Cu(e)?e():e}function Cu(e){return typeof e=="function"&&e.hasOwnProperty(Pf)&&e.__forward_ref__===wu}function R(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function bu(e){return{providers:e.providers||[],imports:e.imports||[]}}function Lr(e){return Fa(e,_u)||Fa(e,Mu)}function z_(e){return Lr(e)!==null}function Fa(e,t){return e.hasOwnProperty(t)?e[t]:null}function Lf(e){let t=e&&(e[_u]||e[Mu]);return t||null}function Ra(e){return e&&(e.hasOwnProperty(ka)||e.hasOwnProperty(jf))?e[ka]:null}var _u=N({\u0275prov:N}),ka=N({\u0275inj:N}),Mu=N({ngInjectableDef:N}),jf=N({ngInjectorDef:N}),A=class{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=R({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function xu(e){return e&&!!e.\u0275providers}var Vf=N({\u0275cmp:N}),Bf=N({\u0275dir:N}),$f=N({\u0275pipe:N}),Hf=N({\u0275mod:N}),fr=N({\u0275fac:N}),Jt=N({__NG_ELEMENT_ID__:N}),Pa=N({__NG_ENV_ID__:N});function jr(e){return typeof e=="string"?e:e==null?"":String(e)}function Uf(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():jr(e)}function zf(e,t){let n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new S(-200,e)}function ns(e,t){throw new S(-201,!1)}var _=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(_||{}),Zo;function Su(){return Zo}function Z(e){let t=Zo;return Zo=e,t}function Tu(e,t,n){let r=Lr(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&_.Optional)return null;if(t!==void 0)return t;ns(e,"Injector")}var Gf={},Xt=Gf,Yo="__NG_DI_FLAG__",hr="ngTempTokenPath",Wf="ngTokenPath",qf=/\n/gm,Zf="\u0275",La="__source",St;function Yf(){return St}function Se(e){let t=St;return St=e,t}function Qf(e,t=_.Default){if(St===void 0)throw new S(-203,!1);return St===null?Tu(e,void 0,t):St.get(e,t&_.Optional?null:void 0,t)}function K(e,t=_.Default){return(Su()||Qf)(z(e),t)}function b(e,t=_.Default){return K(e,Vr(t))}function Vr(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Qo(e){let t=[];for(let n=0;n ");else if(typeof t=="object"){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):Q(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(qf,` - `)}`}var eh=Nu(Eu("Optional"),8);var th=Nu(Eu("SkipSelf"),4);function Ke(e,t){let n=e.hasOwnProperty(fr);return n?e[fr]:null}function nh(e,t,n){if(e.length!==t.length)return!1;for(let r=0;rArray.isArray(n)?rs(n,t):t(n))}function Au(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function pr(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function oh(e,t){let n=[];for(let r=0;rt;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function Br(e,t,n){let r=pn(e,t);return r>=0?e[r|1]=n:(r=~r,ih(e,r,t,n)),r}function Oo(e,t){let n=pn(e,t);if(n>=0)return e[n|1]}function pn(e,t){return sh(e,t,1)}function sh(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<t?o=i:r=i+1}return~(o<t){s=i-1;break}}}for(;i-1){let i;for(;++oi?d="":d=o[l+1].toLowerCase(),r&2&&c!==d){if(se(r))return!1;s=!0}}}}return se(r)||s}function se(e){return(e&1)===0}function fh(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!se(s)&&(t+=Va(i,o),o=""),r=s,i=i||!se(r);n++}return o!==""&&(t+=Va(i,o)),t}function vh(e){return e.map(yh).join(",")}function Dh(e){let t=[],n=[],r=1,o=2;for(;r{let t=Uu(e),n=ht(ft({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Ru.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||en.Emulated,styles:e.styles||Y,_:null,schemas:e.schemas||null,tView:null,id:""});zu(n);let r=e.dependencies;return n.directiveDefs=$a(r,!1),n.pipeDefs=$a(r,!0),n.id=Ch(n),n})}function Ih(e){return Je(e)||Bu(e)}function Eh(e){return e!==null}function ju(e){return hn(()=>({type:e.type,bootstrap:e.bootstrap||Y,declarations:e.declarations||Y,imports:e.imports||Y,exports:e.exports||Y,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Ba(e,t){if(e==null)return At;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a=Ot.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==Ot.None?[r,a]:r,t[i]=s):n[i]=r}return n}function $r(e){return hn(()=>{let t=Uu(e);return zu(t),t})}function Vu(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone===!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function Je(e){return e[Vf]||null}function Bu(e){return e[Bf]||null}function $u(e){return e[$f]||null}function wh(e){let t=Je(e)||Bu(e)||$u(e);return t!==null?t.standalone:!1}function Hu(e,t){let n=e[Hf]||null;if(!n&&t===!0)throw new Error(`Type ${Q(e)} does not have '\u0275mod' property.`);return n}function Uu(e){let t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||At,exportAs:e.exportAs||null,standalone:e.standalone===!0,signals:e.signals===!0,selectors:e.selectors||Y,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Ba(e.inputs,t),outputs:Ba(e.outputs),debugInfo:null}}function zu(e){e.features?.forEach(t=>t(e))}function $a(e,t){if(!e)return null;let n=t?$u:Ih;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(Eh)}function Ch(e){let t=0,n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(let o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function bh(e){return{\u0275providers:e}}function _h(...e){return{\u0275providers:Gu(!0,e),\u0275fromNgModule:!0}}function Gu(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return rs(t,s=>{let a=s;Jo(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Wu(o,i),n}function Wu(e,t){for(let n=0;n{t(i,r)})}}function Jo(e,t,n,r){if(e=z(e),!e)return!1;let o=null,i=Ra(e),s=!i&&Je(e);if(!i&&!s){let u=e.ngModule;if(i=Ra(u),i)o=u;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let u=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of u)Jo(c,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let c;try{rs(i.imports,l=>{Jo(l,t,n,r)&&(c||=[],c.push(l))})}finally{}c!==void 0&&Wu(c,t)}if(!a){let c=Ke(o)||(()=>new o);t({provide:o,useFactory:c,deps:Y},o),t({provide:Fu,useValue:o,multi:!0},o),t({provide:gr,useValue:()=>K(o),multi:!0},o)}let u=i.providers;if(u!=null&&!a){let c=e;is(u,l=>{t(l,c)})}}else return!1;return o!==e&&e.providers!==void 0}function is(e,t){for(let n of e)xu(n)&&(n=n.\u0275providers),Array.isArray(n)?is(n,t):t(n)}var Mh=N({provide:String,useValue:N});function qu(e){return e!==null&&typeof e=="object"&&Mh in e}function xh(e){return!!(e&&e.useExisting)}function Sh(e){return!!(e&&e.useFactory)}function Ft(e){return typeof e=="function"}function Th(e){return!!e.useClass}var Zu=new A(""),ir={},Nh={},Fo;function ss(){return Fo===void 0&&(Fo=new mr),Fo}var Ae=class{},nn=class extends Ae{get destroyed(){return this._destroyed}constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,ei(t,s=>this.processProvider(s)),this.records.set(Ou,_t(void 0,this)),o.has("environment")&&this.records.set(Ae,_t(void 0,this));let i=this.records.get(Zu);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Fu,Y,_.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let t=C(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),C(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();let n=Se(this),r=Z(void 0),o;try{return t()}finally{Se(n),Z(r)}}get(t,n=Xt,r=_.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Pa))return t[Pa](this);r=Vr(r);let o,i=Se(this),s=Z(void 0);try{if(!(r&_.SkipSelf)){let u=this.records.get(t);if(u===void 0){let c=kh(t)&&Lr(t);c&&this.injectableDefInScope(c)?u=_t(Xo(t),ir):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u)}let a=r&_.Self?ss():this.parent;return n=r&_.Optional&&n===Xt?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[hr]=a[hr]||[]).unshift(Q(t)),i)throw a;return Jf(a,t,"R3InjectorError",this.source)}else throw a}finally{Z(s),Se(i)}}resolveInjectorInitializers(){let t=C(null),n=Se(this),r=Z(void 0),o;try{let i=this.get(gr,Y,_.Self);for(let s of i)s()}finally{Se(n),Z(r),C(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(Q(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new S(205,!1)}processProvider(t){t=z(t);let n=Ft(t)?t:z(t&&t.provide),r=Oh(t);if(!Ft(t)&&t.multi===!0){let o=this.records.get(n);o||(o=_t(void 0,ir,!0),o.factory=()=>Qo(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=C(null);try{return n.value===ir&&(n.value=Nh,n.value=n.factory()),typeof n.value=="object"&&n.value&&Rh(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{C(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=z(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function Xo(e){let t=Lr(e),n=t!==null?t.factory:Ke(e);if(n!==null)return n;if(e instanceof A)throw new S(204,!1);if(e instanceof Function)return Ah(e);throw new S(204,!1)}function Ah(e){if(e.length>0)throw new S(204,!1);let n=Lf(e);return n!==null?()=>n.factory(e):()=>new e}function Oh(e){if(qu(e))return _t(void 0,e.useValue);{let t=Yu(e);return _t(t,ir)}}function Yu(e,t,n){let r;if(Ft(e)){let o=z(e);return Ke(o)||Xo(o)}else if(qu(e))r=()=>z(e.useValue);else if(Sh(e))r=()=>e.useFactory(...Qo(e.deps||[]));else if(xh(e))r=()=>K(z(e.useExisting));else{let o=z(e&&(e.useClass||e.provide));if(Fh(e))r=()=>new o(...Qo(e.deps));else return Ke(o)||Xo(o)}return r}function _t(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Fh(e){return!!e.deps}function Rh(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function kh(e){return typeof e=="function"||typeof e=="object"&&e instanceof A}function ei(e,t){for(let n of e)Array.isArray(n)?ei(n,t):n&&xu(n)?ei(n.\u0275providers,t):t(n)}function Qu(e,t){e instanceof nn&&e.assertNotDestroyed();let n,r=Se(e),o=Z(void 0);try{return t()}finally{Se(r),Z(o)}}function Ku(){return Su()!==void 0||Yf()!=null}function as(e){if(!Ku())throw new S(-203,!1)}function Ph(e){return typeof e=="function"}var be=0,I=1,v=2,B=3,ce=4,J=5,Rt=6,rn=7,j=8,kt=9,ge=10,F=11,on=12,Ha=13,Ut=14,X=15,Xe=16,Mt=17,Ee=18,Hr=19,Ju=20,Te=21,sr=22,et=23,$=25,Xu=1;var tt=7,yr=8,Pt=9,V=10,vr=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(vr||{});function Ne(e){return Array.isArray(e)&&typeof e[Xu]=="object"}function _e(e){return Array.isArray(e)&&e[Xu]===!0}function ec(e){return(e.flags&4)!==0}function Ur(e){return e.componentOffset>-1}function us(e){return(e.flags&1)===1}function Oe(e){return!!e.template}function ti(e){return(e[v]&512)!==0}var ni=class{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function tc(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}function cs(){return nc}function nc(e){return e.type.prototype.ngOnChanges&&(e.setInput=jh),Lh}cs.ngInherit=!0;function Lh(){let e=oc(this),t=e?.current;if(t){let n=e.previous;if(n===At)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function jh(e,t,n,r,o){let i=this.declaredInputs[r],s=oc(e)||Vh(e,{previous:At,current:null}),a=s.current||(s.current={}),u=s.previous,c=u[i];a[i]=new ni(c&&c.currentValue,n,u===At),tc(e,t,o,n)}var rc="__ngSimpleChanges__";function oc(e){return e[rc]||null}function Vh(e,t){return e[rc]=t}var Ua=null;var he=function(e,t,n){Ua?.(e,t,n)},ic="svg",Bh="math";function me(e){for(;Array.isArray(e);)e=e[be];return e}function sc(e,t){return me(t[e])}function te(e,t){return me(t[e.index])}function ls(e,t){return e.data[t]}function ac(e,t){return e[t]}function ke(e,t){let n=t[e];return Ne(n)?n:n[be]}function $h(e){return(e[v]&4)===4}function ds(e){return(e[v]&128)===128}function Hh(e){return _e(e[B])}function Lt(e,t){return t==null?null:e[t]}function uc(e){e[Mt]=0}function Uh(e){e[v]&1024||(e[v]|=1024,ds(e)&&zr(e))}function zh(e,t){for(;e>0;)t=t[Ut],e--;return t}function sn(e){return!!(e[v]&9216||e[et]?.dirty)}function ri(e){e[ge].changeDetectionScheduler?.notify(7),e[v]&64&&(e[v]|=1024),sn(e)&&zr(e)}function zr(e){e[ge].changeDetectionScheduler?.notify(0);let t=an(e);for(;t!==null&&!(t[v]&8192||(t[v]|=8192,!ds(t)));)t=an(t)}function cc(e,t){if((e[v]&256)===256)throw new S(911,!1);e[Te]===null&&(e[Te]=[]),e[Te].push(t)}function Gh(e,t){if(e[Te]===null)return;let n=e[Te].indexOf(t);n!==-1&&e[Te].splice(n,1)}function an(e){let t=e[B];return _e(t)?t[B]:t}var E={lFrame:wc(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var lc=!1;function Wh(){return E.lFrame.elementDepthCount}function qh(){E.lFrame.elementDepthCount++}function Zh(){E.lFrame.elementDepthCount--}function dc(){return E.bindingsEnabled}function fc(){return E.skipHydrationRootTNode!==null}function Yh(e){return E.skipHydrationRootTNode===e}function Qh(){E.skipHydrationRootTNode=null}function w(){return E.lFrame.lView}function k(){return E.lFrame.tView}function W_(e){return E.lFrame.contextLView=e,e[j]}function q_(e){return E.lFrame.contextLView=null,e}function H(){let e=hc();for(;e!==null&&e.type===64;)e=e.parent;return e}function hc(){return E.lFrame.currentTNode}function Kh(){let e=E.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function gn(e,t){let n=E.lFrame;n.currentTNode=e,n.isParent=t}function pc(){return E.lFrame.isParent}function gc(){E.lFrame.isParent=!1}function Jh(){return E.lFrame.contextLView}function mc(){return lc}function za(e){lc=e}function yc(){let e=E.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Xh(e){return E.lFrame.bindingIndex=e}function ut(){return E.lFrame.bindingIndex++}function vc(e){let t=E.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function ep(){return E.lFrame.inI18n}function tp(e,t){let n=E.lFrame;n.bindingIndex=n.bindingRootIndex=e,oi(t)}function np(){return E.lFrame.currentDirectiveIndex}function oi(e){E.lFrame.currentDirectiveIndex=e}function rp(e){let t=E.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Dc(){return E.lFrame.currentQueryIndex}function fs(e){E.lFrame.currentQueryIndex=e}function op(e){let t=e[I];return t.type===2?t.declTNode:t.type===1?e[J]:null}function Ic(e,t,n){if(n&_.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&_.Host);)if(o=op(i),o===null||(i=i[Ut],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=E.lFrame=Ec();return r.currentTNode=t,r.lView=e,!0}function hs(e){let t=Ec(),n=e[I];E.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Ec(){let e=E.lFrame,t=e===null?null:e.child;return t===null?wc(e):t}function wc(e){let 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:e,child:null,inI18n:!1};return e!==null&&(e.child=t),t}function Cc(){let e=E.lFrame;return E.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var bc=Cc;function ps(){let e=Cc();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function ip(e){return(E.lFrame.contextLView=zh(e,E.lFrame.contextLView))[j]}function Pe(){return E.lFrame.selectedIndex}function nt(e){E.lFrame.selectedIndex=e}function Gr(){let e=E.lFrame;return ls(e.tView,e.selectedIndex)}function Z_(){E.lFrame.currentNamespace=ic}function Y_(){sp()}function sp(){E.lFrame.currentNamespace=null}function ap(){return E.lFrame.currentNamespace}var _c=!0;function gs(){return _c}function ms(e){_c=e}function up(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=nc(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}function ys(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[u]<0&&(e[Mt]+=65536),(a>14>16&&(e[v]&3)===t&&(e[v]+=16384,Ga(a,i)):Ga(a,i)}var Tt=-1,rt=class{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}};function lp(e){return e instanceof rt}function dp(e){return(e.flags&8)!==0}function fp(e){return(e.flags&16)!==0}function xc(e){return e!==Tt}function Dr(e){return e&32767}function hp(e){return e>>16}function Ir(e,t){let n=hp(e),r=t;for(;n>0;)r=r[Ut],n--;return r}var ii=!0;function Er(e){let t=ii;return ii=e,t}var pp=256,Sc=pp-1,Tc=5,gp=0,pe={};function mp(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Jt)&&(r=n[Jt]),r==null&&(r=n[Jt]=gp++);let o=r&Sc,i=1<>Tc)]|=i}function wr(e,t){let n=Nc(e,t);if(n!==-1)return n;let r=t[I];r.firstCreatePass&&(e.injectorIndex=t.length,ko(r.data,e),ko(t,null),ko(r.blueprint,null));let o=vs(e,t),i=e.injectorIndex;if(xc(o)){let s=Dr(o),a=Ir(o,t),u=a[I].data;for(let c=0;c<8;c++)t[i+c]=a[s+c]|u[s+c]}return t[i+8]=o,i}function ko(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Nc(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function vs(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;o!==null;){if(r=kc(o),r===null)return Tt;if(n++,o=o[Ut],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Tt}function si(e,t,n){mp(e,t,n)}function yp(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let n=e.attrs;if(n){let r=n.length,o=0;for(;o>20,d=r?a:a+l,f=o?a+l:c;for(let h=d;h=u&&p.type===n)return h}if(o){let h=s[u];if(h&&Oe(h)&&h.type===n)return u}return null}function ot(e,t,n,r){let o=e[n],i=t.data;if(lp(o)){let s=o;s.resolving&&zf(Uf(i[n]));let a=Er(s.canSeeViewProviders);s.resolving=!0;let u,c=s.injectImpl?Z(s.injectImpl):null,l=Ic(e,r,_.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&up(n,i[n],t)}finally{c!==null&&Z(c),Er(a),s.resolving=!1,bc()}}return o}function Dp(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Jt)?e[Jt]:void 0;return typeof t=="number"?t>=0?t&Sc:Ip:t}function Wa(e,t,n){let r=1<>Tc)]&r)}function qa(e,t){return!(e&_.Self)&&!(e&_.Host&&t)}var Qe=class{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Fc(this._tNode,this._lView,t,Vr(r),n)}};function Ip(){return new Qe(H(),w())}function Q_(e){return hn(()=>{let t=e.prototype.constructor,n=t[fr]||ai(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[fr]||ai(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function ai(e){return Cu(e)?()=>{let t=ai(z(e));return t&&t()}:Ke(e)}function Ep(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[v]&2048&&!(s[v]&512);){let a=Rc(i,s,n,r|_.Self,pe);if(a!==pe)return a;let u=i.parent;if(!u){let c=s[Ju];if(c){let l=c.get(n,pe,r);if(l!==pe)return l}u=kc(s),s=s[Ut]}i=u}return o}function kc(e){let t=e[I],n=t.type;return n===2?t.declTNode:n===1?e[J]:null}function wp(e){return yp(H(),e)}function Za(e,t=null,n=null,r){let o=Pc(e,t,n,r);return o.resolveInjectorInitializers(),o}function Pc(e,t=null,n=null,r,o=new Set){let i=[n||Y,_h(e)];return r=r||(typeof e=="object"?void 0:Q(e)),new nn(i,t||ss(),r||null,o)}var Ze=class Ze{static create(t,n){if(Array.isArray(t))return Za({name:""},n,t,"");{let r=t.name??"";return Za({name:r},t.parent,t.providers,r)}}};Ze.THROW_IF_NOT_FOUND=Xt,Ze.NULL=new mr,Ze.\u0275prov=R({token:Ze,providedIn:"any",factory:()=>K(Ou)}),Ze.__NG_ELEMENT_ID__=-1;var we=Ze;var Cp=new A("");Cp.__NG_ELEMENT_ID__=e=>{let t=H();if(t===null)throw new S(204,!1);if(t.type&2)return t.value;if(e&_.Optional)return null;throw new S(204,!1)};var bp="ngOriginalError";function Po(e){return e[bp]}var Fe=class{constructor(){this._console=console}handleError(t){let n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Po(t);for(;n&&Po(n);)n=Po(n);return n||null}},Lc=new A("",{providedIn:"root",factory:()=>b(Fe).handleError.bind(void 0)}),mn=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=_p,t.__NG_ENV_ID__=r=>r;let e=t;return e})(),ui=class extends mn{constructor(t){super(),this._lView=t}onDestroy(t){return cc(this._lView,t),()=>Gh(this._lView,t)}};function _p(){return new ui(w())}function Mp(){return zt(H(),w())}function zt(e,t){return new Le(te(e,t))}var Le=(()=>{let t=class t{constructor(r){this.nativeElement=r}};t.__NG_ELEMENT_ID__=Mp;let e=t;return e})();function xp(e){return e instanceof Le?e.nativeElement:e}var ci=class extends ee{constructor(t=!1){super(),this.destroyRef=void 0,this.__isAsync=t,Ku()&&(this.destroyRef=b(mn,{optional:!0})??void 0)}emit(t){let n=C(null);try{super.next(t)}finally{C(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let u=t;o=u.next?.bind(u),i=u.error?.bind(u),s=u.complete?.bind(u)}this.__isAsync&&(i=Lo(i),o&&(o=Lo(o)),s&&(s=Lo(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof P&&t.add(a),a}};function Lo(e){return t=>{setTimeout(e,void 0,t)}}var ue=ci;function Sp(){return this._results[Symbol.iterator]()}var li=class e{get changes(){return this._changes??=new ue}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;let n=e.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=Sp)}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,n){return this._results.reduce(t,n)}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,n){this.dirty=!1;let r=rh(t);(this._changesDetected=!nh(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}};function jc(e){return(e.flags&128)===128}var Vc=new Map,Tp=0;function Np(){return Tp++}function Ap(e){Vc.set(e[Hr],e)}function Op(e){Vc.delete(e[Hr])}var Ya="__ngContext__";function it(e,t){Ne(t)?(e[Ya]=t[Hr],Ap(t)):e[Ya]=t}function Bc(e){return Hc(e[on])}function $c(e){return Hc(e[ce])}function Hc(e){for(;e!==null&&!_e(e);)e=e[ce];return e}var di;function K_(e){di=e}function Fp(){if(di!==void 0)return di;if(typeof document<"u")return document;throw new S(210,!1)}var J_=new A("",{providedIn:"root",factory:()=>Rp}),Rp="ng",kp=new A(""),Uc=new A("",{providedIn:"platform",factory:()=>"unknown"});var X_=new A(""),eM=new A("",{providedIn:"root",factory:()=>Fp().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Pp="h",Lp="b";var jp=()=>null;function Ds(e,t,n=!1){return jp(e,t,n)}var zc=!1,Vp=new A("",{providedIn:"root",factory:()=>zc});var er;function Bp(){if(er===void 0&&(er=null,Nt.trustedTypes))try{er=Nt.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return er}function Wr(e){return Bp()?.createHTML(e)||e}var tr;function $p(){if(tr===void 0&&(tr=null,Nt.trustedTypes))try{tr=Nt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return tr}function Qa(e){return $p()?.createScriptURL(e)||e}var Ce=class{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Du})`}},fi=class extends Ce{getTypeName(){return"HTML"}},hi=class extends Ce{getTypeName(){return"Style"}},pi=class extends Ce{getTypeName(){return"Script"}},gi=class extends Ce{getTypeName(){return"URL"}},mi=class extends Ce{getTypeName(){return"ResourceURL"}};function yn(e){return e instanceof Ce?e.changingThisBreaksApplicationSecurity:e}function Gc(e,t){let n=Hp(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Du})`)}return n===t}function Hp(e){return e instanceof Ce&&e.getTypeName()||null}function tM(e){return new fi(e)}function nM(e){return new hi(e)}function rM(e){return new pi(e)}function oM(e){return new gi(e)}function iM(e){return new mi(e)}function Up(e){let t=new vi(e);return zp()?new yi(t):t}var yi=class{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{let n=new window.DOMParser().parseFromString(Wr(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}},vi=class{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let n=this.inertDocument.createElement("template");return n.innerHTML=Wr(t),n}};function zp(){try{return!!new window.DOMParser().parseFromString(Wr(""),"text/html")}catch{return!1}}var Gp=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Wc(e){return e=String(e),e.match(Gp)?e:"unsafe:"+e}function Me(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function vn(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var qc=Me("area,br,col,hr,img,wbr"),Zc=Me("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Yc=Me("rp,rt"),Wp=vn(Yc,Zc),qp=vn(Zc,Me("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Zp=vn(Yc,Me("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Ka=vn(qc,qp,Zp,Wp),Qc=Me("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Yp=Me("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Qp=Me("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),Kp=vn(Qc,Yp,Qp),Jp=Me("script,style,template"),Di=class{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0,o=[];for(;n;){if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild){o.push(n),n=tg(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=eg(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=Ja(t).toLowerCase();if(!Ka.hasOwnProperty(n))return this.sanitizedSomething=!0,!Jp.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=t.attributes;for(let o=0;o"),!0}endElement(t){let n=Ja(t).toLowerCase();Ka.hasOwnProperty(n)&&!qc.hasOwnProperty(n)&&(this.buf.push(""))}chars(t){this.buf.push(Xa(t))}};function Xp(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function eg(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Kc(t);return t}function tg(e){let t=e.firstChild;if(t&&Xp(e,t))throw Kc(t);return t}function Ja(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Kc(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var ng=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,rg=/([^\#-~ |!])/g;function Xa(e){return e.replace(/&/g,"&").replace(ng,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(rg,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}var nr;function sM(e,t){let n=null;try{nr=nr||Up(e);let r=t?String(t):"";n=nr.getInertBodyElement(r);let o=5,i=r;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=nr.getInertBodyElement(r)}while(r!==i);let a=new Di().sanitizeChildren(eu(n)||n);return Wr(a)}finally{if(n){let r=eu(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function eu(e){return"content"in e&&og(e)?e.content:null}function og(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var Is=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(Is||{});function ig(e){let t=Jc();return t?t.sanitize(Is.URL,e)||"":Gc(e,"URL")?yn(e):Wc(jr(e))}function sg(e){let t=Jc();if(t)return Qa(t.sanitize(Is.RESOURCE_URL,e)||"");if(Gc(e,"ResourceURL"))return Qa(yn(e));throw new S(904,!1)}function ag(e,t){return t==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||t==="href"&&(e==="base"||e==="link")?sg:ig}function aM(e,t,n){return ag(t,n)(e)}function Jc(){let e=w();return e&&e[ge].sanitizer}function Xc(e){return e instanceof Function?e():e}function el(e){return(e??b(we)).get(Uc)==="browser"}var un=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(un||{}),ug;function Es(e,t){return ug(e,t)}function xt(e,t,n,r,o){if(r!=null){let i,s=!1;_e(r)?i=r:Ne(r)&&(s=!0,r=r[be]);let a=me(r);e===0&&n!==null?o==null?il(t,n,a):Cr(t,n,a,o||null,!0):e===1&&n!==null?Cr(t,n,a,o||null,!0):e===2?wg(t,a,s):e===3&&t.destroyNode(a),i!=null&&bg(t,e,i,n,o)}}function cg(e,t){return e.createText(t)}function lg(e,t,n){e.setValue(t,n)}function tl(e,t,n){return e.createElement(t,n)}function dg(e,t){nl(e,t),t[be]=null,t[J]=null}function fg(e,t,n,r,o,i){r[be]=o,r[J]=t,Zr(e,r,n,1,o,i)}function nl(e,t){t[ge].changeDetectionScheduler?.notify(8),Zr(e,t,t[F],2,null,null)}function hg(e){let t=e[on];if(!t)return jo(e[I],e);for(;t;){let n=null;if(Ne(t))n=t[on];else{let r=t[V];r&&(n=r)}if(!n){for(;t&&!t[ce]&&t!==e;)Ne(t)&&jo(t[I],t),t=t[B];t===null&&(t=e),Ne(t)&&jo(t[I],t),n=t&&t[ce]}t=n}}function pg(e,t,n,r){let o=V+r,i=n.length;r>0&&(n[o-1][ce]=t),r0&&(e[n-1][ce]=r[ce]);let i=pr(e,V+t);dg(r[I],r);let s=i[Ee];s!==null&&s.detachView(i[I]),r[B]=null,r[ce]=null,r[v]&=-129}return r}function qr(e,t){if(!(t[v]&256)){let n=t[F];n.destroyNode&&Zr(e,t,n,3,null,null),hg(t)}}function jo(e,t){if(t[v]&256)return;let n=C(null);try{t[v]&=-129,t[v]|=256,t[et]&&co(t[et]),mg(e,t),gg(e,t),t[I].type===1&&t[F].destroy();let r=t[Xe];if(r!==null&&_e(t[B])){r!==t[B]&&ws(r,t);let o=t[Ee];o!==null&&o.detachView(e)}Op(t)}finally{C(n)}}function gg(e,t){let n=e.cleanup,r=t[rn];if(n!==null)for(let i=0;i=0?r[s]():r[-s].unsubscribe(),i+=2}else{let s=r[n[i+1]];n[i].call(s)}r!==null&&(t[rn]=null);let o=t[Te];if(o!==null){t[Te]=null;for(let i=0;i-1){let{encapsulation:i}=e.data[r.directiveStart+o];if(i===en.None||i===en.Emulated)return null}return te(r,n)}}function Cr(e,t,n,r,o){e.insertBefore(t,n,r,o)}function il(e,t,n){e.appendChild(t,n)}function tu(e,t,n,r,o){r!==null?Cr(e,t,n,r,o):il(e,t,n)}function vg(e,t,n,r){e.removeChild(t,n,r)}function Cs(e,t){return e.parentNode(t)}function Dg(e,t){return e.nextSibling(t)}function sl(e,t,n){return Eg(e,t,n)}function Ig(e,t,n){return e.type&40?te(e,n):null}var Eg=Ig,nu;function bs(e,t,n,r){let o=ol(e,r,t),i=t[F],s=r.parent||t[J],a=sl(s,r,t);if(o!=null)if(Array.isArray(n))for(let u=0;u$&&dl(e,t,$,!1),he(s?2:0,o),n(r,o)}finally{nt(i),he(s?3:1,o)}}function gl(e,t,n){if(ec(t)){let r=C(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;snull;function Fg(e,t,n,r){let o=bl(t);o.push(n),e.firstCreatePass&&_l(e).push(r,o.length-1)}function Rg(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return fc()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function ru(e,t,n,r,o){for(let i in t){if(!t.hasOwnProperty(i))continue;let s=t[i];if(s===void 0)continue;r??={};let a,u=Ot.None;Array.isArray(s)?(a=s[0],u=s[1]):a=s;let c=i;if(o!==null){if(!o.hasOwnProperty(i))continue;c=o[i]}e===0?ou(r,n,c,a,u):ou(r,n,c,a)}return r}function ou(e,t,n,r,o){let i;e.hasOwnProperty(n)?(i=e[n]).push(t,r):i=e[n]=[t,r],o!==void 0&&i.push(o)}function kg(e,t,n){let r=t.directiveStart,o=t.directiveEnd,i=e.data,s=t.attrs,a=[],u=null,c=null;for(let l=r;l0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function Bg(e,t,n,r){let o=n.directiveStart,i=n.directiveEnd;Ur(n)&&qg(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||wr(n,t),it(r,t);let s=n.initialInputs;for(let a=o;a{zr(e.lView)},consumerOnSignalRead(){this.lView[et]=this}}),am=100;function Nl(e,t=!0,n=0){let r=e[ge],o=r.rendererFactory,i=!1;i||o.begin?.();try{um(e,n)}catch(s){throw t&&Ml(e,s),s}finally{i||(o.end?.(),r.inlineEffectRunner?.flush())}}function um(e,t){let n=mc();try{za(!0),Ci(e,t);let r=0;for(;sn(e);){if(r===am)throw new S(103,!1);r++,Ci(e,1)}}finally{za(n)}}function cm(e,t,n,r){let o=t[v];if((o&256)===256)return;let i=!1,s=!1;!i&&t[ge].inlineEffectRunner?.flush(),hs(t);let a=null,u=null;!i&&lm(e)&&(u=rm(t),a=ao(u));try{uc(t),Xh(e.bindingStartIndex),n!==null&&pl(e,t,n,2,r);let c=(o&3)===3;if(!i)if(c){let f=e.preOrderCheckHooks;f!==null&&ar(t,f,null)}else{let f=e.preOrderHooks;f!==null&&ur(t,f,0,null),Ro(t,0)}if(s||dm(t),Al(t,0),e.contentQueries!==null&&Cl(e,t),!i)if(c){let f=e.contentCheckHooks;f!==null&&ar(t,f)}else{let f=e.contentHooks;f!==null&&ur(t,f,1),Ro(t,1)}xg(e,t);let l=e.components;l!==null&&Fl(t,l,0);let d=e.viewQuery;if(d!==null&&wi(2,d,r),!i)if(c){let f=e.viewCheckHooks;f!==null&&ar(t,f)}else{let f=e.viewHooks;f!==null&&ur(t,f,2),Ro(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[sr]){for(let f of t[sr])f();t[sr]=null}i||(t[v]&=-73)}catch(c){throw i||zr(t),c}finally{u!==null&&(uo(u,a),im(u)),ps()}}function lm(e){return e.type!==2}function Al(e,t){for(let n=Bc(e);n!==null;n=$c(n))for(let r=V;r-1&&(cn(t,r),pr(n,r))}this._attachedToViewContainer=!1}qr(this._lView[I],this._lView)}onDestroy(t){cc(this._lView,t)}markForCheck(){Ns(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[v]&=-129}reattach(){ri(this._lView),this._lView[v]|=128}detectChanges(){this._lView[v]|=1024,Nl(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new S(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=ti(this._lView),n=this._lView[Xe];n!==null&&!t&&ws(n,this._lView),nl(this._lView[I],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new S(902,!1);this._appRef=t;let n=ti(this._lView),r=this._lView[Xe];r!==null&&!n&&rl(r,this._lView),ri(this._lView)}},ln=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=gm;let e=t;return e})(),hm=ln,pm=class extends hm{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){let o=In(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new st(o)}};function gm(){return Kr(H(),w())}function Kr(e,t){return e.type&4?new pm(t,e,zt(e,t)):null}var dM=new RegExp(`^(\\d+)*(${Lp}|${Pp})*(.*)`);var mm=()=>null;function Vt(e,t){return mm(e,t)}var Bt=class{},As=new A("",{providedIn:"root",factory:()=>!1});var Rl=new A(""),bi=class{},_r=class{};function ym(e){let t=Error(`No component factory found for ${Q(e)}.`);return t[vm]=e,t}var vm="ngComponent";var _i=class{resolveComponentFactory(t){throw ym(t)}},Vs=class Vs{};Vs.NULL=new _i;var $t=Vs,Mr=class{},Jr=(()=>{let t=class t{constructor(){this.destroyNode=null}};t.__NG_ELEMENT_ID__=()=>Dm();let e=t;return e})();function Dm(){let e=w(),t=H(),n=ke(t.index,e);return(Ne(n)?n:e)[F]}var Im=(()=>{let t=class t{};t.\u0275prov=R({token:t,providedIn:"root",factory:()=>null});let e=t;return e})(),Vo={};var iu=new Set;function je(e){iu.has(e)||(iu.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function kl(e){let t=!0;return setTimeout(()=>{t&&(t=!1,e())}),typeof Nt.requestAnimationFrame=="function"&&Nt.requestAnimationFrame(()=>{t&&(t=!1,e())}),()=>{t=!1}}function su(e){let t=!0;return queueMicrotask(()=>{t&&e()}),()=>{t=!1}}function au(...e){}var G=class e{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ue(!1),this.onMicrotaskEmpty=new ue(!1),this.onStable=new ue(!1),this.onError=new ue(!1),typeof Zone>"u")throw new S(908,!1);Zone.assertZonePatched();let o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.callbackScheduled=!1,Cm(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new S(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new S(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,Em,au,au);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},Em={};function Os(e){if(e._nesting==0&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function wm(e){e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,Zone.root.run(()=>{kl(()=>{e.callbackScheduled=!1,Mi(e),e.isCheckStableRunning=!0,Os(e),e.isCheckStableRunning=!1})}),Mi(e))}function Cm(e){let t=()=>{wm(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{if(bm(a))return n.invokeTask(o,i,s,a);try{return uu(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&i.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),cu(e)}},onInvoke:(n,r,o,i,s,a,u)=>{try{return uu(e),n.invoke(o,i,s,a,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!_m(a)&&t(),cu(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&(i.change=="microTask"?(e._hasPendingMicrotasks=i.microTask,Mi(e),Os(e)):i.change=="macroTask"&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}function Mi(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function uu(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function cu(e){e._nesting--,Os(e)}var xi=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ue,this.onMicrotaskEmpty=new ue,this.onStable=new ue,this.onError=new ue}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}};function bm(e){return Pl(e,"__ignore_ng_zone__")}function _m(e){return Pl(e,"__scheduler_tick__")}function Pl(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var Ye=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Ye||{}),Ll={destroy(){}};function Mm(e,t){!t&&as(Mm);let n=t?.injector??b(we);if(!el(n))return Ll;je("NgAfterRender");let r=n.get(Xr),o=r.handler??=new Sr,i=t?.phase??Ye.MixedReadWrite,s=()=>{o.unregister(u),a()},a=n.get(mn).onDestroy(s),u=Qu(n,()=>new xr(i,e));return o.register(u),{destroy:s}}function xm(e,t){!t&&as(xm);let n=t?.injector??b(we);if(!el(n))return Ll;je("NgAfterNextRender");let r=n.get(Xr),o=r.handler??=new Sr,i=t?.phase??Ye.MixedReadWrite,s=()=>{o.unregister(u),a()},a=n.get(mn).onDestroy(s),u=Qu(n,()=>new xr(i,()=>{s(),e()}));return o.register(u),{destroy:s}}var xr=class{constructor(t,n){this.phase=t,this.callbackFn=n,this.zone=b(G),this.errorHandler=b(Fe,{optional:!0}),b(Bt,{optional:!0})?.notify(6)}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(t){this.errorHandler?.handleError(t)}}},Sr=class{constructor(){this.executingCallbacks=!1,this.buckets={[Ye.EarlyRead]:new Set,[Ye.Write]:new Set,[Ye.MixedReadWrite]:new Set,[Ye.Read]:new Set},this.deferredCallbacks=new Set}register(t){(this.executingCallbacks?this.deferredCallbacks:this.buckets[t.phase]).add(t)}unregister(t){this.buckets[t.phase].delete(t),this.deferredCallbacks.delete(t)}execute(){this.executingCallbacks=!0;for(let t of Object.values(this.buckets))for(let n of t)n.invoke();this.executingCallbacks=!1;for(let t of this.deferredCallbacks)this.buckets[t.phase].add(t);this.deferredCallbacks.clear()}destroy(){for(let t of Object.values(this.buckets))t.clear();this.deferredCallbacks.clear()}},Xr=(()=>{let t=class t{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){let r=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let o of r)o()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};t.\u0275prov=R({token:t,providedIn:"root",factory:()=>new t});let e=t;return e})();function Si(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s0&&cl(e,n,i.join(" "))}}function Rm(e,t,n){let r=e.projection=[];for(let o=0;o{let t=class t{};t.__NG_ELEMENT_ID__=Pm;let e=t;return e})();function Pm(){let e=H();return Vl(e,w())}var Lm=wn,jl=class extends Lm{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return zt(this._hostTNode,this._hostLView)}get injector(){return new Qe(this._hostTNode,this._hostLView)}get parentInjector(){let t=vs(this._hostTNode,this._hostLView);if(xc(t)){let n=Ir(t,this._hostLView),r=Dr(t),o=n[I].data[r+8];return new Qe(o,n)}else return new Qe(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=du(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-V}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Vt(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,jt(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!Ph(t),a;if(s)a=n;else{let p=n||{};a=p.index,r=p.injector,o=p.projectableNodes,i=p.environmentInjector||p.ngModuleRef}let u=s?t:new dn(Je(t)),c=r||this.parentInjector;if(!i&&u.ngModule==null){let m=(s?c:this.parentInjector).get(Ae,null);m&&(i=m)}let l=Je(u.componentType??{}),d=Vt(this._lContainer,l?.id??null),f=d?.firstChild??null,h=u.create(c,o,f,i);return this.insertImpl(h.hostView,a,jt(this._hostTNode,d)),h}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(Hh(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let u=o[B],c=new jl(u,u[J],u[B]);c.detach(c.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return En(s,o,i,r),t.attachToViewContainerRef(),Au(Bo(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=du(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=cn(this._lContainer,n);r&&(pr(Bo(this._lContainer),n),qr(r[I],r))}detach(t){let n=this._adjustIndex(t,-1),r=cn(this._lContainer,n);return r&&pr(Bo(this._lContainer),n)!=null?new st(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function du(e){return e[yr]}function Bo(e){return e[yr]||(e[yr]=[])}function Vl(e,t){let n,r=t[e.index];return _e(r)?n=r:(n=wl(r,t,null,e),t[e.index]=n,Qr(t,n)),Vm(n,t,e,r),new jl(n,e,t)}function jm(e,t){let n=e[F],r=n.createComment(""),o=te(t,e),i=Cs(n,o);return Cr(n,i,r,Dg(n,o),!1),r}var Vm=Hm,Bm=()=>!1;function $m(e,t,n){return Bm(e,t,n)}function Hm(e,t,n,r){if(e[tt])return;let o;n.type&8?o=me(r):o=jm(t,n),e[tt]=o}var Ai=class e{constructor(t){this.queryList=t,this.matches=null}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},Oi=class e{constructor(t=[]){this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let r=t.contentQueries!==null?t.contentQueries[0]:n.length,o=[];for(let i=0;i0)r.push(s[a/2]);else{let c=i[a+1],l=t[-u];for(let d=V;dt.trim())}function Hl(e,t,n){e.queries===null&&(e.queries=new Fi),e.queries.track(new Ri(t,n))}function Km(e,t){let n=e.contentQueries||(e.contentQueries=[]),r=n.length?n[n.length-1]:-1;t!==r&&n.push(e.queries.length-1,t)}function Fs(e,t){return e.queries.getByIndex(t)}function Jm(e,t){let n=e[I],r=Fs(n,t);return r.crossesNgTemplate?ki(n,e,t,[]):Bl(n,e,r,t)}function Xm(e){return typeof e=="function"&&e[Mn]!==void 0}function Ul(e){return Xm(e)&&typeof e.set=="function"}function ey(e){return Object.getPrototypeOf(e.prototype).constructor}function ty(e){let t=ey(e.type),n=!0,r=[e];for(;t;){let o;if(Oe(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new S(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=rr(e.inputs),s.inputTransforms=rr(e.inputTransforms),s.declaredInputs=rr(e.declaredInputs),s.outputs=rr(e.outputs);let a=o.hostBindings;a&&sy(e,a);let u=o.viewQuery,c=o.contentQueries;if(u&&oy(e,u),c&&iy(e,c),ny(e,o),kf(e.outputs,o.outputs),Oe(o)&&o.data.animation){let l=e.data;l.animation=(l.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=tn(o.hostAttrs,n=tn(n,o.hostAttrs))}}function rr(e){return e===At?{}:e===Y?[]:e}function oy(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function iy(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function sy(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function ay(e){let t=e.inputConfig,n={};for(let r in t)if(t.hasOwnProperty(r)){let o=t[r];Array.isArray(o)&&o[3]&&(n[r]=o[3])}e.inputTransforms=n}var Re=class{},Pi=class{};var Li=class extends Re{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Tr(this);let o=Hu(t);this._bootstrapComponents=Xc(o.bootstrap),this._r3Injector=Pc(t,n,[{provide:Re,useValue:this},{provide:$t,useValue:this.componentFactoryResolver},...r],Q(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},ji=class extends Pi{constructor(t){super(),this.moduleType=t}create(t){return new Li(this.moduleType,t,[])}};var Ar=class extends Re{constructor(t){super(),this.componentFactoryResolver=new Tr(this),this.instance=null;let n=new nn([...t.providers,{provide:Re,useValue:this},{provide:$t,useValue:this.componentFactoryResolver}],t.parent||ss(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function uy(e,t,n=null){return new Ar({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var eo=(()=>{let t=class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Gt(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let r=this.taskId++;return this.pendingTasks.add(r),r}remove(r){this.pendingTasks.delete(r),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function zl(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function Gl(e,t,n){return e[t]=n}function cy(e,t){return e[t]}function ye(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function ly(e){return(e.flags&32)===32}function dy(e,t,n,r,o,i,s,a,u){let c=t.consts,l=Dn(t,e,4,s||null,a||null);Dl(t,n,l,Lt(c,u)),ys(t,l);let d=l.tView=Ms(2,l,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,c,null);return t.queries!==null&&(t.queries.template(t,l),d.queries=t.queries.embeddedTView(l)),l}function Or(e,t,n,r,o,i,s,a,u,c){let l=n+$,d=t.firstCreatePass?dy(l,t,e,r,o,i,s,a,u):t.data[l];gn(d,!1);let f=hy(t,e,d,n);gs()&&bs(t,e,f,d),it(f,e);let h=wl(f,e,f,d);return e[l]=h,Qr(e,h),$m(h,d,e),us(d)&&ml(t,e,d),u!=null&&yl(e,d,c),d}function fy(e,t,n,r,o,i,s,a){let u=w(),c=k(),l=Lt(c.consts,i);return Or(u,c,e,t,n,r,o,l,s,a),fy}var hy=py;function py(e,t,n,r){return ms(!0),t[F].createComment("")}function gy(e,t,n,r){let o=w(),i=ut();if(ye(o,i,t)){let s=k(),a=Gr();Zg(a,o,e,t,n,r)}return gy}function Wl(e,t,n,r){return ye(e,ut(),n)?t+jr(n)+r:le}function or(e,t){return e<<17|t<<2}function at(e){return e>>17&32767}function my(e){return(e&2)==2}function yy(e,t){return e&131071|t<<17}function Vi(e){return e|2}function Ht(e){return(e&131068)>>2}function $o(e,t){return e&-131069|t<<2}function vy(e){return(e&1)===1}function Bi(e){return e|1}function Dy(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=at(s),u=Ht(s);e[r]=n;let c=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||pn(d,l)>0)&&(c=!0)}else l=n;if(o)if(u!==0){let f=at(e[a+1]);e[r+1]=or(f,a),f!==0&&(e[f+1]=$o(e[f+1],r)),e[a+1]=yy(e[a+1],r)}else e[r+1]=or(a,0),a!==0&&(e[a+1]=$o(e[a+1],r)),a=r;else e[r+1]=or(u,0),a===0?a=r:e[u+1]=$o(e[u+1],r),u=r;c&&(e[r+1]=Vi(e[r+1])),fu(e,l,r,!0),fu(e,l,r,!1),Iy(t,l,e,r,i),s=or(a,u),i?t.classBindings=s:t.styleBindings=s}function Iy(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&pn(i,t)>=0&&(n[r+1]=Bi(n[r+1]))}function fu(e,t,n,r){let o=e[n+1],i=t===null,s=r?at(o):Ht(o),a=!1;for(;s!==0&&(a===!1||i);){let u=e[s],c=e[s+1];Ey(u,t)&&(a=!0,e[s+1]=r?Bi(c):Vi(c)),s=r?at(c):Ht(c)}a&&(e[n+1]=r?Vi(o):Bi(o))}function Ey(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?pn(e,t)>=0:!1}var ae={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function wy(e){return e.substring(ae.key,ae.keyEnd)}function Cy(e){return by(e),ql(e,Zl(e,0,ae.textEnd))}function ql(e,t){let n=ae.textEnd;return n===t?-1:(t=ae.keyEnd=_y(e,ae.key=t,n),Zl(e,t,n))}function by(e){ae.key=0,ae.keyEnd=0,ae.value=0,ae.valueEnd=0,ae.textEnd=e.length}function Zl(e,t,n){for(;t32;)t++;return t}function My(e,t,n){let r=w(),o=ut();if(ye(r,o,t)){let i=k(),s=Gr();xs(i,s,r,e,t,r[F],n,!1)}return My}function $i(e,t,n,r,o){let i=t.inputs,s=o?"class":"style";Ss(e,n,i[s],s,r)}function Yl(e,t,n){return Kl(e,t,n,!1),Yl}function xy(e,t){return Kl(e,t,null,!0),xy}function hM(e){Jl(Fy,Ql,e,!0)}function Ql(e,t){for(let n=Cy(t);n>=0;n=ql(t,n))Br(e,wy(t),!0)}function Kl(e,t,n,r){let o=w(),i=k(),s=vc(2);if(i.firstUpdatePass&&ed(i,e,s,r),t!==le&&ye(o,s,t)){let a=i.data[Pe()];td(i,a,o,o[F],e,o[s+1]=ky(t,n),r,s)}}function Jl(e,t,n,r){let o=k(),i=vc(2);o.firstUpdatePass&&ed(o,null,i,r);let s=w();if(n!==le&&ye(s,i,n)){let a=o.data[Pe()];if(nd(a,r)&&!Xl(o,i)){let u=r?a.classesWithoutHost:a.stylesWithoutHost;u!==null&&(n=qo(u,n||"")),$i(o,a,s,n,r)}else Ry(o,a,s,s[F],s[i+1],s[i+1]=Oy(e,t,n),r,i)}}function Xl(e,t){return t>=e.expandoStartIndex}function ed(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[Pe()],s=Xl(e,n);nd(i,r)&&t===null&&!s&&(t=!1),t=Sy(o,i,t,r),Dy(o,i,t,n,s,r)}}function Sy(e,t,n,r){let o=rp(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=Ho(null,e,t,n,r),n=fn(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=Ho(o,e,t,n,r),i===null){let u=Ty(e,t,r);u!==void 0&&Array.isArray(u)&&(u=Ho(null,e,t,u[1],r),u=fn(u,t.attrs,r),Ny(e,t,r,u))}else i=Ay(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function Ty(e,t,n){let r=n?t.classBindings:t.styleBindings;if(Ht(r)!==0)return e[at(r)]}function Ny(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[at(o)]=r}function Ay(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0;){let u=e[o],c=Array.isArray(u),l=c?u[1]:u,d=l===null,f=n[o+1];f===le&&(f=d?Y:void 0);let h=d?Oo(f,r):l===r?f:void 0;if(c&&!Fr(h)&&(h=Oo(u,r)),Fr(h)&&(a=h,s))return a;let p=e[o+1];o=s?at(p):Ht(p)}if(t!==null){let u=i?t.residualClasses:t.residualStyles;u!=null&&(a=Oo(u,r))}return a}function Fr(e){return e!==void 0}function ky(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=Q(yn(e)))),e}function nd(e,t){return(e.flags&(t?8:16))!==0}function pM(e,t,n){let r=w(),o=Wl(r,e,t,n);Jl(Br,Ql,o,!0)}var Hi=class{destroy(t){}updateValue(t,n){}swap(t,n){let r=Math.min(t,n),o=Math.max(t,n),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(t,n){this.attach(n,this.detach(t))}};function Uo(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function Py(e,t,n){let r,o,i=0,s=e.length-1,a=void 0;if(Array.isArray(t)){let u=t.length-1;for(;i<=s&&i<=u;){let c=e.at(i),l=t[i],d=Uo(i,c,i,l,n);if(d!==0){d<0&&e.updateValue(i,l),i++;continue}let f=e.at(s),h=t[u],p=Uo(s,f,u,h,n);if(p!==0){p<0&&e.updateValue(s,h),s--,u--;continue}let m=n(i,c),O=n(s,f),x=n(i,l);if(Object.is(x,O)){let L=n(u,h);Object.is(L,m)?(e.swap(i,s),e.updateValue(s,h),u--,s--):e.move(s,i),e.updateValue(i,l),i++;continue}if(r??=new Rr,o??=gu(e,i,s,n),Ui(e,r,i,x))e.updateValue(i,l),i++,s++;else if(o.has(x))r.set(m,e.detach(i)),s--;else{let L=e.create(i,t[i]);e.attach(i,L),i++,s++}}for(;i<=u;)pu(e,r,n,i,t[i]),i++}else if(t!=null){let u=t[Symbol.iterator](),c=u.next();for(;!c.done&&i<=s;){let l=e.at(i),d=c.value,f=Uo(i,l,i,d,n);if(f!==0)f<0&&e.updateValue(i,d),i++,c=u.next();else{r??=new Rr,o??=gu(e,i,s,n);let h=n(i,d);if(Ui(e,r,i,h))e.updateValue(i,d),i++,s++,c=u.next();else if(!o.has(h))e.attach(i,e.create(i,d)),i++,s++,c=u.next();else{let p=n(i,l);r.set(p,e.detach(i)),s--}}}for(;!c.done;)pu(e,r,n,e.length,c.value),c=u.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(u=>{e.destroy(u)})}function Ui(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function pu(e,t,n,r,o){if(Ui(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function gu(e,t,n,r){let o=new Set;for(let i=t;i<=n;i++)o.add(r(i,e.at(i)));return o}var Rr=class{constructor(){this.kvMap=new Map,this._vMap=void 0}has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}};function gM(e,t){je("NgControlFlow");let n=w(),r=ut(),o=n[r]!==le?n[r]:-1,i=o!==-1?kr(n,$+o):void 0,s=0;if(ye(n,r,e)){let a=C(null);try{if(i!==void 0&&Sl(i,s),e!==-1){let u=$+e,c=kr(n,u),l=qi(n[I],u),d=Vt(c,l.tView.ssrId),f=In(n,l,t,{dehydratedView:d});En(c,f,s,jt(l,d))}}finally{C(a)}}else if(i!==void 0){let a=xl(i,s);a!==void 0&&(a[j]=t)}}var zi=class{constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-V}};function mM(e){return e}function yM(e,t){return t}var Gi=class{constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function vM(e,t,n,r,o,i,s,a,u,c,l,d,f){je("NgControlFlow");let h=w(),p=k(),m=u!==void 0,O=w(),x=a?s.bind(O[X][j]):s,L=new Gi(m,x);O[$+e]=L,Or(h,p,e+1,t,n,r,o,Lt(p.consts,i)),m&&Or(h,p,e+2,u,c,l,d,Lt(p.consts,f))}var Wi=class extends Hi{constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r,this.operationsCounter=void 0,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-V}at(t){return this.getLView(t)[j].$implicit}attach(t,n){let r=n[Rt];this.needsIndexUpdate||=t!==this.length,En(this.lContainer,n,t,jt(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,Ly(this.lContainer,t)}create(t,n){let r=Vt(this.lContainer,this.templateTNode.tView.ssrId),o=In(this.hostLView,this.templateTNode,new zi(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(t){qr(t[I],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[j].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t(ms(!0),tl(r,o,ap()));function IM(){return w()}function Hy(e,t,n){let r=w(),o=ut();if(ye(r,o,t)){let i=k(),s=Gr();xs(i,s,r,e,t,r[F],n,!0)}return Hy}var Pr="en-US";var Uy=Pr;function zy(e){typeof e=="string"&&(Uy=e.toLowerCase().replace(/_/g,"-"))}var Gy=(e,t,n)=>{};function Wy(e,t,n,r){let o=w(),i=k(),s=H();return id(i,o,o[F],s,e,t,r),Wy}function qy(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;iu?a[u]:null}typeof s=="string"&&(i+=2)}return null}function id(e,t,n,r,o,i,s){let a=us(r),c=e.firstCreatePass&&_l(e),l=t[j],d=bl(t),f=!0;if(r.type&3||s){let m=te(r,t),O=s?s(m):m,x=d.length,L=s?ve=>s(me(ve[r.index])):r.index;Gy(m,o,i);let W=null;if(!s&&a&&(W=qy(e,t,o,r.index)),W!==null){let ve=W.__ngLastListenerFn__||W;ve.__ngNextListenerFn__=i,W.__ngLastListenerFn__=i,f=!1}else{i=yu(r,t,l,i,!1);let ve=n.listen(O,o,i);d.push(i,ve),c&&c.push(o,L,x,x+1)}}else i=yu(r,t,l,i,!1);let h=r.outputs,p;if(f&&h!==null&&(p=h[o])){let m=p.length;if(m)for(let O=0;O-1?ke(e.index,t):t;Ns(a,5);let u=mu(t,n,r,s),c=i.__ngNextListenerFn__;for(;c;)u=mu(t,n,c,s)&&u,c=c.__ngNextListenerFn__;return o&&u===!1&&s.preventDefault(),u}}function EM(e=1){return ip(e)}function Zy(e,t){let n=null,r=hh(e);for(let o=0;o=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function SM(e){let t=Jh();return ac(t,$+e)}function TM(e,t=""){let n=w(),r=k(),o=e+$,i=r.firstCreatePass?Dn(r,o,1,t,null):r.data[o],s=Ky(r,n,i,t,e);n[o]=s,gs()&&bs(r,n,s,i),gn(i,!1)}var Ky=(e,t,n,r,o)=>(ms(!0),cg(t[F],r));function Jy(e){return sd("",e,""),Jy}function sd(e,t,n){let r=w(),o=Wl(r,e,t,n);return o!==le&&Jg(r,Pe(),o),sd}function Xy(e,t,n){Ul(t)&&(t=t());let r=w(),o=ut();if(ye(r,o,t)){let i=k(),s=Gr();xs(i,s,r,e,t,r[F],n,!1)}return Xy}function NM(e,t){let n=Ul(e);return n&&e.set(t),n}function ev(e,t){let n=w(),r=k(),o=H();return id(r,n,n[F],o,e,t),ev}function tv(e,t,n){let r=k();if(r.firstCreatePass){let o=Oe(e);Zi(n,r.data,r.blueprint,o,!0),Zi(t,r.data,r.blueprint,o,!1)}}function Zi(e,t,n,r,o){if(e=z(e),Array.isArray(e))for(let i=0;i>20;if(Ft(e)||!e.multi){let h=new rt(c,o,ne),p=Go(u,t,o?l:l+f,d);p===-1?(si(wr(a,s),i,u),zo(i,e,t.length),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(h),s.push(h)):(n[p]=h,s[p]=h)}else{let h=Go(u,t,l+f,d),p=Go(u,t,l,l+f),m=h>=0&&n[h],O=p>=0&&n[p];if(o&&!O||!o&&!m){si(wr(a,s),i,u);let x=ov(o?rv:nv,n.length,o,r,c);!o&&O&&(n[p].providerFactory=x),zo(i,e,t.length,0),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(x),s.push(x)}else{let x=ad(n[o?p:h],c,!o&&r);zo(i,e,h>-1?h:p,x)}!o&&r&&O&&n[p].componentProviders++}}}function zo(e,t,n,r){let o=Ft(t),i=Th(t);if(o||i){let u=(i?z(t.useClass):t).prototype.ngOnDestroy;if(u){let c=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let l=c.indexOf(n);l===-1?c.push(n,[r,u]):c[l+1].push(r,u)}else c.push(n,u)}}}function ad(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Go(e,t,n,r){for(let o=n;o{n.providersResolver=(r,o)=>tv(r,o?o(e):e,t)}}var iv=(()=>{let t=class t{constructor(r){this._injector=r,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(r){if(!r.standalone)return null;if(!this.cachedInjectors.has(r)){let o=Gu(!1,r.type),i=o.length>0?uy([o],this._injector,`Standalone[${r.type.name}]`):null;this.cachedInjectors.set(r,i)}return this.cachedInjectors.get(r)}ngOnDestroy(){try{for(let r of this.cachedInjectors.values())r!==null&&r.destroy()}finally{this.cachedInjectors.clear()}}};t.\u0275prov=R({token:t,providedIn:"environment",factory:()=>new t(K(Ae))});let e=t;return e})();function OM(e){je("NgStandalone"),e.getStandaloneInjector=t=>t.get(iv).getOrCreateStandaloneInjector(e)}function FM(e,t,n){let r=yc()+e,o=w();return o[r]===le?Gl(o,r,n?t.call(n):t()):cy(o,r)}function sv(e,t){let n=e[t];return n===le?void 0:n}function av(e,t,n,r,o,i){let s=t+n;return ye(e,s,o)?Gl(e,s+1,i?r.call(i,o):r(o)):sv(e,s+1)}function RM(e,t){let n=k(),r,o=e+$;n.firstCreatePass?(r=uv(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];let i=r.factory||(r.factory=Ke(r.type,!0)),s,a=Z(ne);try{let u=Er(!1),c=i();return Er(u),Qy(n,w(),o,c),c}finally{Z(a)}}function uv(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function kM(e,t,n){let r=e+$,o=w(),i=ac(o,r);return cv(o,r)?av(o,yc(),t,i.transform,n,i):i.transform(n)}function cv(e,t){return e[I].data[t].pure}function PM(e,t){return Kr(e,t)}var LM=(()=>{let t=class t{log(r){console.log(r)}warn(r){console.warn(r)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"platform"});let e=t;return e})();var lv=new A("");function to(e){return!!e&&typeof e.then=="function"}function Rs(e){return!!e&&typeof e.subscribe=="function"}var dv=new A(""),ud=(()=>{let t=class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o}),this.appInits=b(dv,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let r=[];for(let i of this.appInits){let s=i();if(to(s))r.push(s);else if(Rs(s)){let a=new Promise((u,c)=>{s.subscribe({complete:u,error:c})});r.push(a)}}let o=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{o()}).catch(i=>{this.reject(i)}),r.length===0&&o(),this.initialized=!0}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),fv=new A("");function hv(){Qs(()=>{throw new S(600,!1)})}function pv(e){return e.isBoundToModule}var gv=10;function mv(e,t,n){try{let r=n();return to(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var ks=(()=>{let t=class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=b(Lc),this.afterRenderEffectManager=b(Xr),this.zonelessEnabled=b(As),this.externalTestViews=new Set,this.beforeRender=new ee,this.afterTick=new ee,this.componentTypes=[],this.components=[],this.isStable=b(eo).hasPendingTasks.pipe(Ie(r=>!r)),this._injector=b(Ae)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(r,o){let i=r instanceof _r;if(!this._injector.get(ud).done){let h=!i&&wh(r),p=!1;throw new S(405,p)}let a;i?a=r:a=this._injector.get($t).resolveComponentFactory(r),this.componentTypes.push(a.componentType);let u=pv(a)?void 0:this._injector.get(Re),c=o||a.selector,l=a.create(we.NULL,[],c,u),d=l.location.nativeElement,f=l.injector.get(lv,null);return f?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),Wo(this.components,l),f?.unregisterApplication(d)}),this._loadComponent(l),l}tick(){this._tick(!0)}_tick(r){if(this._runningTick)throw new S(101,!1);let o=C(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(r)}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,C(o),this.afterTick.next()}}detectChangesInAttachedViews(r){let o=null;this._injector.destroyed||(o=this._injector.get(Mr,null,{optional:!0}));let i=0,s=this.afterRenderEffectManager;for(;isn(u))&&(s.execute(),!this.allViews.some(({_lView:u})=>sn(u))))break}}attachView(r){let o=r;this._views.push(o),o.attachToAppRef(this)}detachView(r){let o=r;Wo(this._views,o),o.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);let o=this._injector.get(fv,[]);[...this._bootstrapListeners,...o].forEach(i=>i(r))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(r=>r()),this._views.slice().forEach(r=>r.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(r){return this._destroyListeners.push(r),()=>Wo(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new S(406,!1);let r=this._injector;r.destroy&&!r.destroyed&&r.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Wo(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function yv(e,t,n,r){if(!n&&!sn(e))return;Nl(e,t,n&&!r?0:1)}var Qi=class{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},jM=(()=>{let t=class t{compileModuleSync(r){return new ji(r)}compileModuleAsync(r){return Promise.resolve(this.compileModuleSync(r))}compileModuleAndAllComponentsSync(r){let o=this.compileModuleSync(r),i=Hu(r),s=Xc(i.declarations).reduce((a,u)=>{let c=Je(u);return c&&a.push(new dn(c)),a},[]);return new Qi(o,s)}compileModuleAndAllComponentsAsync(r){return Promise.resolve(this.compileModuleAndAllComponentsSync(r))}clearCache(){}clearCacheFor(r){}getModuleId(r){}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var vv=!0;var Dv=(()=>{let t=class t{constructor(){this.appRef=b(ks),this.taskService=b(eo),this.ngZone=b(G),this.zonelessEnabled=b(As),this.disableScheduling=b(Rl,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new P,this.cancelScheduledCallback=null,this.shouldRefreshViews=!1,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof xi||!this.zoneIsDefined)}notify(r){if(!this.zonelessEnabled&&r===5)return;switch(r){case 3:case 2:case 0:case 4:case 5:case 1:{this.shouldRefreshViews=!0;break}case 8:case 7:case 6:case 9:default:}if(!this.shouldScheduleTick())return;let o=this.useMicrotaskScheduler?su:kl;this.pendingRenderTaskId=this.taskService.add(),this.zoneIsDefined?Zone.root.run(()=>{this.cancelScheduledCallback=o(()=>{this.tick(this.shouldRefreshViews)})}):this.cancelScheduledCallback=o(()=>{this.tick(this.shouldRefreshViews)})}shouldScheduleTick(){return!(this.disableScheduling||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&G.isInAngularZone())}tick(r){if(this.runningTick||this.appRef.destroyed)return;let o=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick(r)},void 0,this.schedulerTickApplyArgs)}catch(i){throw this.taskService.remove(o),i}finally{this.cleanup()}this.useMicrotaskScheduler=!0,su(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(o)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.shouldRefreshViews=!1,this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let r=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(r)}}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var Iv=(()=>{let t=class t{constructor(){this.zone=b(G),this.changeDetectionScheduler=b(Bt,{optional:!0}),this.applicationRef=b(ks)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler?.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function cd({ngZoneFactory:e,ignoreChangesOutsideZone:t}){return e??=()=>new G(ld()),[{provide:G,useFactory:e},{provide:gr,multi:!0,useFactory:()=>{let n=b(Iv,{optional:!0});return()=>n.initialize()}},{provide:gr,multi:!0,useFactory:()=>{let n=b(wv);return()=>{n.initialize()}}},{provide:Lc,useFactory:Ev},t===!0?{provide:Rl,useValue:!0}:[],vv||t===!1?{provide:Bt,useExisting:Dv}:[]]}function Ev(){let e=b(G),t=b(Fe);return n=>e.runOutsideAngular(()=>t.handleError(n))}function VM(e){let t=e?.ignoreChangesOutsideZone,n=cd({ngZoneFactory:()=>{let r=ld(e);return r.shouldCoalesceEventChangeDetection&&je("NgZone_CoalesceEvent"),new G(r)},ignoreChangesOutsideZone:t});return bh([[],{provide:As,useValue:!1},n])}function ld(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var wv=(()=>{let t=class t{constructor(){this.subscription=new P,this.initialized=!1,this.zone=b(G),this.pendingTasks=b(eo)}initialize(){if(this.initialized)return;this.initialized=!0;let r=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(r=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{G.assertNotInAngularZone(),queueMicrotask(()=>{r!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(r),r=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{G.assertInAngularZone(),r??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Cv(){return typeof $localize<"u"&&$localize.locale||Pr}var Ps=new A("",{providedIn:"root",factory:()=>b(Ps,_.Optional|_.SkipSelf)||Cv()});var dd=new A("");var dr=null;function bv(e=[],t){return we.create({name:t,providers:[{provide:Zu,useValue:"platform"},{provide:dd,useValue:new Set([()=>dr=null])},...e]})}function _v(e=[]){if(dr)return dr;let t=bv(e);return dr=t,hv(),Mv(t),t}function Mv(e){e.get(kp,null)?.forEach(n=>n())}var no=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=xv;let e=t;return e})();function xv(e){return Sv(H(),w(),(e&16)===16)}function Sv(e,t,n){if(Ur(e)&&!n){let r=ke(e.index,t);return new st(r,r)}else if(e.type&47){let r=t[X];return new st(r,t)}return null}var Ki=class{constructor(){}supports(t){return t instanceof Map||zl(t)}create(){return new Ji}},Ji=class{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(t){let n;for(n=this._mapHead;n!==null;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;n!==null;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;n!==null;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}diff(t){if(!t)t=new Map;else if(!(t instanceof Map||zl(t)))throw new S(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{let i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){let r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){let o=this._records.get(t);this._maybeAddToChanges(o,n);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let r=new Xi(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;t!==null;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;t!=null;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){this._additionsHead===null?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){this._changesHead===null?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}},Xi=class{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 vu(){return new Ls([new Ki])}var Ls=(()=>{let t=class t{constructor(r){this.factories=r}static create(r,o){if(o){let i=o.factories.slice();r=r.concat(i)}return new t(r)}static extend(r){return{provide:t,useFactory:o=>t.create(r,o||vu()),deps:[[t,new th,new eh]]}}find(r){let o=this.factories.find(i=>i.supports(r));if(o)return o;throw new S(901,!1)}};t.\u0275prov=R({token:t,providedIn:"root",factory:vu});let e=t;return e})();function BM(e){try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=_v(r),i=[cd({}),...n||[]],a=new Ar({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1}).injector,u=a.get(G);return u.run(()=>{a.resolveInjectorInitializers();let c=a.get(Fe,null),l;u.runOutsideAngular(()=>{l=u.onError.subscribe({next:h=>{c.handleError(h)}})});let d=()=>a.destroy(),f=o.get(dd);return f.add(d),a.onDestroy(()=>{l.unsubscribe(),f.delete(d)}),mv(c,u,()=>{let h=a.get(ud);return h.runInitializers(),h.donePromise.then(()=>{let p=a.get(Ps,Pr);zy(p||Pr);let m=a.get(ks);return t!==void 0&&m.bootstrap(t),m})})})}catch(t){return Promise.reject(t)}}function Tv(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function Nv(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function js(e){let t=C(null);try{return e()}finally{C(t)}}var Av=new A("",{providedIn:"root",factory:()=>b(Ov)}),Ov=(()=>{let t=class t{};t.\u0275prov=R({token:t,providedIn:"root",factory:()=>new es});let e=t;return e})(),es=class{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=b(eo),this.taskId=null}scheduleEffect(t){if(this.enqueue(t),this.taskId===null){let n=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(n),this.taskId=null})}}enqueue(t){let n=t.creationZone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||(this.queuedEffectCount++,r.add(t))}flush(){for(;this.queuedEffectCount>0;)for(let[t,n]of this.queues)t===null?this.flushQueue(n):t.run(()=>this.flushQueue(n))}flushQueue(t){for(let n of t)t.delete(n),this.queuedEffectCount--,n.run()}},ts=class{constructor(t,n,r,o,i,s){this.scheduler=t,this.effectFn=n,this.creationZone=r,this.injector=i,this.watcher=Ks(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}runEffect(t){try{this.effectFn(t)}catch(n){this.injector.get(Fe,null,{optional:!0})?.handleError(n)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}};function Fv(e,t){je("NgSignals"),!t?.injector&&as(Fv);let n=t?.injector??b(we),r=t?.manualCleanup!==!0?n.get(mn):null,o=new ts(n.get(Av),e,typeof Zone>"u"?null:Zone.current,r,n,t?.allowSignalWrites??!1),i=n.get(no,null,{optional:!0});return!i||!(i._lView[v]&8)?o.watcher.notify():(i._lView[sr]??=[]).push(o.watcher.notify),o}var yd=null;function Bs(){return yd}function cx(e){yd??=e}var fd=class{};var vd=new A(""),Dd=(()=>{let t=class t{historyGo(r){throw new Error("")}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=R({token:t,factory:()=>b(kv),providedIn:"platform"});let e=t;return e})();var kv=(()=>{let t=class t extends Dd{constructor(){super(),this._doc=b(vd),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Bs().getBaseHref(this._doc)}onPopState(r){let o=Bs().getGlobalEventTarget(this._doc,"window");return o.addEventListener("popstate",r,!1),()=>o.removeEventListener("popstate",r)}onHashChange(r){let o=Bs().getGlobalEventTarget(this._doc,"window");return o.addEventListener("hashchange",r,!1),()=>o.removeEventListener("hashchange",r)}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(r){this._location.pathname=r}pushState(r,o,i){this._history.pushState(r,o,i)}replaceState(r,o,i){this._history.replaceState(r,o,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(r=0){this._history.go(r)}getState(){return this._history.state}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=R({token:t,factory:()=>new t,providedIn:"platform"});let e=t;return e})();function Id(e,t){if(e.length==0)return t;if(t.length==0)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,n==2?e+t.substring(1):n==1?e+t:e+"/"+t}function hd(e){let t=e.match(/#|\?|$/),n=t&&t.index||e.length,r=n-(e[n-1]==="/"?1:0);return e.slice(0,r)+e.slice(n)}function ct(e){return e&&e[0]!=="?"?"?"+e:e}var zs=(()=>{let t=class t{historyGo(r){throw new Error("")}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=R({token:t,factory:()=>b(Lv),providedIn:"root"});let e=t;return e})(),Pv=new A(""),Lv=(()=>{let t=class t extends zs{constructor(r,o){super(),this._platformLocation=r,this._removeListenerFns=[],this._baseHref=o??this._platformLocation.getBaseHrefFromDOM()??b(vd).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(r){this._removeListenerFns.push(this._platformLocation.onPopState(r),this._platformLocation.onHashChange(r))}getBaseHref(){return this._baseHref}prepareExternalUrl(r){return Id(this._baseHref,r)}path(r=!1){let o=this._platformLocation.pathname+ct(this._platformLocation.search),i=this._platformLocation.hash;return i&&r?`${o}${i}`:o}pushState(r,o,i,s){let a=this.prepareExternalUrl(i+ct(s));this._platformLocation.pushState(r,o,a)}replaceState(r,o,i,s){let a=this.prepareExternalUrl(i+ct(s));this._platformLocation.replaceState(r,o,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(r=0){this._platformLocation.historyGo?.(r)}};t.\u0275fac=function(o){return new(o||t)(K(Dd),K(Pv,8))},t.\u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var jv=(()=>{let t=class t{constructor(r){this._subject=new ue,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=r;let o=this._locationStrategy.getBaseHref();this._basePath=$v(hd(pd(o))),this._locationStrategy.onPopState(i=>{this._subject.emit({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(r=!1){return this.normalize(this._locationStrategy.path(r))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(r,o=""){return this.path()==this.normalize(r+ct(o))}normalize(r){return t.stripTrailingSlash(Bv(this._basePath,pd(r)))}prepareExternalUrl(r){return r&&r[0]!=="/"&&(r="/"+r),this._locationStrategy.prepareExternalUrl(r)}go(r,o="",i=null){this._locationStrategy.pushState(i,"",r,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(r+ct(o)),i)}replaceState(r,o="",i=null){this._locationStrategy.replaceState(i,"",r,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(r+ct(o)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(r=0){this._locationStrategy.historyGo?.(r)}onUrlChange(r){return this._urlChangeListeners.push(r),this._urlChangeSubscription??=this.subscribe(o=>{this._notifyUrlChangeListeners(o.url,o.state)}),()=>{let o=this._urlChangeListeners.indexOf(r);this._urlChangeListeners.splice(o,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(r="",o){this._urlChangeListeners.forEach(i=>i(r,o))}subscribe(r,o,i){return this._subject.subscribe({next:r,error:o,complete:i})}};t.normalizeQueryParams=ct,t.joinWithSlash=Id,t.stripTrailingSlash=hd,t.\u0275fac=function(o){return new(o||t)(K(zs))},t.\u0275prov=R({token:t,factory:()=>Vv(),providedIn:"root"});let e=t;return e})();function Vv(){return new jv(K(zs))}function Bv(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function pd(e){return e.replace(/\/index.html$/,"")}function $v(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}function lx(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[o,i]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}var $s=/\s+/,gd=[],dx=(()=>{let t=class t{constructor(r,o){this._ngEl=r,this._renderer=o,this.initialClasses=gd,this.stateMap=new Map}set klass(r){this.initialClasses=r!=null?r.trim().split($s):gd}set ngClass(r){this.rawClass=typeof r=="string"?r.trim().split($s):r}ngDoCheck(){for(let o of this.initialClasses)this._updateState(o,!0);let r=this.rawClass;if(Array.isArray(r)||r instanceof Set)for(let o of r)this._updateState(o,!0);else if(r!=null)for(let o of Object.keys(r))this._updateState(o,!!r[o]);this._applyStateDiff()}_updateState(r,o){let i=this.stateMap.get(r);i!==void 0?(i.enabled!==o&&(i.changed=!0,i.enabled=o),i.touched=!0):this.stateMap.set(r,{enabled:o,changed:!0,touched:!0})}_applyStateDiff(){for(let r of this.stateMap){let o=r[0],i=r[1];i.changed?(this._toggleClass(o,i.enabled),i.changed=!1):i.touched||(i.enabled&&this._toggleClass(o,!1),this.stateMap.delete(o)),i.touched=!1}}_toggleClass(r,o){r=r.trim(),r.length>0&&r.split($s).forEach(i=>{o?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}};t.\u0275fac=function(o){return new(o||t)(ne(Le),ne(Jr))},t.\u0275dir=$r({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0});let e=t;return e})();var fx=(()=>{let t=class t{constructor(r,o,i){this._ngEl=r,this._differs=o,this._renderer=i,this._ngStyle=null,this._differ=null}set ngStyle(r){this._ngStyle=r,!this._differ&&r&&(this._differ=this._differs.find(r).create())}ngDoCheck(){if(this._differ){let r=this._differ.diff(this._ngStyle);r&&this._applyChanges(r)}}_setStyle(r,o){let[i,s]=r.split("."),a=i.indexOf("-")===-1?void 0:un.DashCase;o!=null?this._renderer.setStyle(this._ngEl.nativeElement,i,s?`${o}${s}`:o,a):this._renderer.removeStyle(this._ngEl.nativeElement,i,a)}_applyChanges(r){r.forEachRemovedItem(o=>this._setStyle(o.key,null)),r.forEachAddedItem(o=>this._setStyle(o.key,o.currentValue)),r.forEachChangedItem(o=>this._setStyle(o.key,o.currentValue))}};t.\u0275fac=function(o){return new(o||t)(ne(Le),ne(Ls),ne(Jr))},t.\u0275dir=$r({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0});let e=t;return e})(),hx=(()=>{let t=class t{constructor(r){this._viewContainerRef=r,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(r){if(this._shouldRecreateView(r)){let o=this._viewContainerRef;if(this._viewRef&&o.remove(o.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let i=this._createContextForwardProxy();this._viewRef=o.createEmbeddedView(this.ngTemplateOutlet,i,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(r){return!!r.ngTemplateOutlet||!!r.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(r,o,i)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,o,i):!1,get:(r,o,i)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,o,i)}})}};t.\u0275fac=function(o){return new(o||t)(ne(wn))},t.\u0275dir=$r({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[cs]});let e=t;return e})();function Hv(e,t){return new S(2100,!1)}var Hs=class{createSubscription(t,n){return js(()=>t.subscribe({next:n,error:r=>{throw r}}))}dispose(t){js(()=>t.unsubscribe())}},Us=class{createSubscription(t,n){return t.then(n,r=>{throw r})}dispose(t){}},Uv=new Us,zv=new Hs,px=(()=>{let t=class t{constructor(r){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=r}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(r){if(!this._obj){if(r)try{this.markForCheckOnValueUpdate=!1,this._subscribe(r)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return r!==this._obj?(this._dispose(),this.transform(r)):this._latestValue}_subscribe(r){this._obj=r,this._strategy=this._selectStrategy(r),this._subscription=this._strategy.createSubscription(r,o=>this._updateLatestValue(r,o))}_selectStrategy(r){if(to(r))return Uv;if(Rs(r))return zv;throw Hv(t,r)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(r,o){r===this._obj&&(this._latestValue=o,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}};t.\u0275fac=function(o){return new(o||t)(ne(no,16))},t.\u0275pipe=Vu({name:"async",type:t,pure:!1,standalone:!0});let e=t;return e})();var gx=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275mod=ju({type:t}),t.\u0275inj=bu({});let e=t;return e})(),Gv="browser",Wv="server";function mx(e){return e===Gv}function yx(e){return e===Wv}var md=class{};var xe=function(e){return e[e.State=0]="State",e[e.Transition=1]="Transition",e[e.Sequence=2]="Sequence",e[e.Group=3]="Group",e[e.Animate=4]="Animate",e[e.Keyframes=5]="Keyframes",e[e.Style=6]="Style",e[e.Trigger=7]="Trigger",e[e.Reference=8]="Reference",e[e.AnimateChild=9]="AnimateChild",e[e.AnimateRef=10]="AnimateRef",e[e.Query=11]="Query",e[e.Stagger=12]="Stagger",e}(xe||{}),Ix="*";function Ex(e,t){return{type:xe.Trigger,name:e,definitions:t,options:{}}}function wx(e,t=null){return{type:xe.Animate,styles:t,timings:e}}function Cx(e,t=null){return{type:xe.Sequence,steps:e,options:t}}function bx(e){return{type:xe.Style,styles:e,offset:null}}function _x(e,t,n){return{type:xe.State,name:e,styles:t,options:n}}function Mx(e,t,n=null){return{type:xe.Transition,expr:e,animation:t,options:n}}function xx(e=null){return{type:xe.AnimateChild,options:e}}function Sx(e,t,n=null){return{type:xe.Query,selector:e,animation:t,options:n}}var Ed=class{constructor(t=0,n=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+n}_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(){queueMicrotask(()=>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){let n=t=="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},wd=class{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 n=0,r=0,o=0,i=this.players.length;i==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++n==i&&this._onFinish()}),s.onDestroy(()=>{++r==i&&this._onDestroy()}),s.onStart(()=>{++o==i&&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){let n=t*this.totalTime;this.players.forEach(r=>{let o=r.totalTime?Math.min(1,n/r.totalTime):1;r.setPosition(o)})}getPosition(){let t=this.players.reduce((n,r)=>n===null||r.totalTime>n.totalTime?r:n,null);return t!=null?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){let n=t=="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},Tx="!";export{ft as a,ht as b,qv as c,Zv as d,P as e,jd as f,M as g,Eo as h,wo as i,ee as j,Gt as k,zd as l,ze as m,fe as n,Jd as o,Xd as p,ef as q,We as r,Ie as s,cf as t,ie as u,Yt as v,Ct as w,df as x,ff as y,Mo as z,Qt as A,Df as B,qe as C,If as D,Ma as E,Ef as F,Sa as G,Kt as H,bt as I,xo as J,wf as K,Cf as L,Mf as M,Na as N,To as O,xf as P,Sf as Q,Ao as R,Tf as S,Nf as T,Af as U,Aa as V,Oa as W,Of as X,Ff as Y,S as Z,wu as _,R as $,bu as aa,z_ as ba,A as ca,_ as da,K as ea,b as fa,en as ga,G_ as ha,ju as ia,$r as ja,bh as ka,_h as la,Zu as ma,Ae as na,Qu as oa,cs as pa,W_ as qa,q_ as ra,Z_ as sa,Y_ as ta,Q_ as ua,wp as va,we as wa,Fe as xa,Le as ya,ue as za,li as Aa,K_ as Ba,J_ as Ca,kp as Da,Uc as Ea,X_ as Fa,eM as Ga,yn as Ha,Gc as Ia,tM as Ja,nM as Ka,rM as La,oM as Ma,iM as Na,Wc as Oa,sM as Pa,Is as Qa,aM as Ra,un as Sa,uM as Ta,ne as Ua,cM as Va,ln as Wa,Bt as Xa,$t as Ya,Mr as Za,Jr as _a,je as $a,G as ab,Mm as bb,xm as cb,wn as db,Xm as eb,ty as fb,ay as gb,Pi as hb,uy as ib,eo as jb,fy as kb,gy as lb,My as mb,Yl as nb,xy as ob,hM as pb,pM as qb,gM as rb,mM as sb,yM as tb,vM as ub,DM as vb,rd as wb,od as xb,By as yb,IM as zb,Hy as Ab,Wy as Bb,EM as Cb,wM as Db,CM as Eb,bM as Fb,_M as Gb,MM as Hb,xM as Ib,SM as Jb,TM as Kb,Jy as Lb,sd as Mb,Xy as Nb,NM as Ob,ev as Pb,AM as Qb,OM as Rb,FM as Sb,RM as Tb,kM as Ub,PM as Vb,LM as Wb,to as Xb,fv as Yb,ks as Zb,jM as _b,VM as $b,no as ac,BM as bc,Tv as cc,Nv as dc,js as ec,Fv as fc,Bs as gc,cx as hc,fd as ic,vd as jc,zs as kc,jv as lc,lx as mc,dx as nc,fx as oc,hx as pc,px as qc,gx as rc,Gv as sc,mx as tc,yx as uc,md as vc,xe as wc,Ix as xc,Ex as yc,wx as zc,Cx as Ac,bx as Bc,_x as Cc,Mx as Dc,xx as Ec,Sx as Fc,Ed as Gc,wd as Hc,Tx as Ic}; diff --git a/chunk-DAJMM3I7.js b/chunk-DAJMM3I7.js new file mode 100644 index 0000000..790c582 --- /dev/null +++ b/chunk-DAJMM3I7.js @@ -0,0 +1,7 @@ +var df=Object.defineProperty,ff=Object.defineProperties;var pf=Object.getOwnPropertyDescriptors;var Rn=Object.getOwnPropertySymbols;var ca=Object.prototype.hasOwnProperty,la=Object.prototype.propertyIsEnumerable;var ua=(e,t,n)=>t in e?df(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Z=(e,t)=>{for(var n in t||={})ca.call(t,n)&&ua(e,n,t[n]);if(Rn)for(var n of Rn(t))la.call(t,n)&&ua(e,n,t[n]);return e},Y=(e,t)=>ff(e,pf(t));var WD=(e,t)=>{var n={};for(var r in e)ca.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Rn)for(var r of Rn(e))t.indexOf(r)<0&&la.call(e,r)&&(n[r]=e[r]);return n};var da=(e,t,n)=>new Promise((r,o)=>{var i=u=>{try{a(n.next(u))}catch(c){o(c)}},s=u=>{try{a(n.throw(u))}catch(c){o(c)}},a=u=>u.done?r(u.value):Promise.resolve(u.value).then(i,s);a((n=n.apply(e,t)).next())});function To(e,t){return Object.is(e,t)}var j=null,Kt=!1,xo=1,B=Symbol("SIGNAL");function b(e){let t=j;return j=e,t}function fa(){return j}function hf(){return Kt}var Ge={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Pn(e){if(Kt)throw new Error("");if(j===null)return;j.consumerOnSignalRead(e);let t=j.nextProducerIndex++;if(jn(j),te.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function en(e){jn(e);for(let t=0;t0}function jn(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function ya(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function va(e){return e.producerNode!==void 0}function Ao(e){let t=Object.create(mf);t.computation=e;let n=()=>{if(No(t),Pn(t),t.value===kn)throw t.error;return t.value};return n[B]=t,n}var bo=Symbol("UNSET"),_o=Symbol("COMPUTING"),kn=Symbol("ERRORED"),mf=Y(Z({},Ge),{value:bo,dirty:!0,error:null,equal:To,producerMustRecompute(e){return e.value===bo||e.value===_o},producerRecomputeValue(e){if(e.value===_o)throw new Error("Detected cycle in computations.");let t=e.value;e.value=_o;let n=Dt(e),r;try{r=e.computation()}catch(o){r=kn,e.error=o}finally{Xt(e,n)}if(t!==bo&&t!==kn&&r!==kn&&e.equal(t,r)){e.value=t;return}e.value=r,e.version++}});function yf(){throw new Error}var Da=yf;function Ia(){Da()}function Ea(e){Da=e}var vf=null;function wa(e){let t=Object.create(Oo);t.value=e;let n=()=>(Pn(t),t.value);return n[B]=t,n}function Vn(e,t){ha()||Ia(),e.equal(e.value,t)||(e.value=t,Df(e))}function Ca(e,t){ha()||Ia(),Vn(e,t(e.value))}var Oo=Y(Z({},Ge),{equal:To,value:void 0});function Df(e){e.version++,gf(),pa(e),vf?.()}function ba(e,t,n){let r=Object.create(If);n&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=t;let o=u=>{r.cleanupFn=u};function i(u){return u.fn===null&&u.schedule===null}function s(u){i(u)||(It(u),u.cleanupFn(),u.fn=null,u.schedule=null,u.cleanupFn=So)}let a=()=>{if(r.fn===null)return;if(hf())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(r.dirty=!1,r.hasRun&&!en(r))return;r.hasRun=!0;let u=Dt(r);try{r.cleanupFn(),r.cleanupFn=So,r.fn(o)}finally{Xt(r,u)}};return r.ref={notify:()=>ga(r),run:a,cleanup:()=>r.cleanupFn(),destroy:()=>s(r),[B]:r},r.ref}var So=()=>{},If=Y(Z({},Ge),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule!==null&&e.schedule(e.ref)},hasRun:!1,cleanupFn:So});function g(e){return typeof e=="function"}function Et(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var Bn=Et(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription: +${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(` + `)}`:"",this.name="UnsubscriptionError",this.errors=n});function qe(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var L=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(g(r))try{r()}catch(i){t=i instanceof Bn?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{_a(i)}catch(s){t=t??[],s instanceof Bn?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Bn(t)}}add(t){var n;if(t&&t!==this)if(this.closed)_a(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&qe(n,t)}remove(t){let{_finalizers:n}=this;n&&qe(n,t),t instanceof e&&t._removeParent(this)}};L.EMPTY=(()=>{let e=new L;return e.closed=!0,e})();var Fo=L.EMPTY;function Hn(e){return e instanceof L||e&&"closed"in e&&g(e.remove)&&g(e.add)&&g(e.unsubscribe)}function _a(e){g(e)?e():e.unsubscribe()}var ce={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var wt={setTimeout(e,t,...n){let{delegate:r}=wt;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=wt;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function $n(e){wt.setTimeout(()=>{let{onUnhandledError:t}=ce;if(t)t(e);else throw e})}function We(){}var Ma=Ro("C",void 0,void 0);function Sa(e){return Ro("E",void 0,e)}function Ta(e){return Ro("N",e,void 0)}function Ro(e,t,n){return{kind:e,value:t,error:n}}var Ze=null;function Ct(e){if(ce.useDeprecatedSynchronousErrorHandling){let t=!Ze;if(t&&(Ze={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=Ze;if(Ze=null,n)throw r}}else e()}function xa(e){ce.useDeprecatedSynchronousErrorHandling&&Ze&&(Ze.errorThrown=!0,Ze.error=e)}var Ye=class extends L{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Hn(t)&&t.add(this)):this.destination=Cf}static create(t,n,r){return new be(t,n,r)}next(t){this.isStopped?Po(Ta(t),this):this._next(t)}error(t){this.isStopped?Po(Sa(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Po(Ma,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()}}},Ef=Function.prototype.bind;function ko(e,t){return Ef.call(e,t)}var Lo=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Un(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Un(r)}else Un(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Un(n)}}},be=class extends Ye{constructor(t,n,r){super();let o;if(g(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&ce.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&ko(t.next,i),error:t.error&&ko(t.error,i),complete:t.complete&&ko(t.complete,i)}):o=t}this.destination=new Lo(o)}};function Un(e){ce.useDeprecatedSynchronousErrorHandling?xa(e):$n(e)}function wf(e){throw e}function Po(e,t){let{onStoppedNotification:n}=ce;n&&wt.setTimeout(()=>n(e,t))}var Cf={closed:!0,next:We,error:wf,complete:We};var bt=typeof Symbol=="function"&&Symbol.observable||"@@observable";function G(e){return e}function bf(...e){return jo(e)}function jo(e){return e.length===0?G:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var S=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=Mf(n)?n:new be(n,r,o);return Ct(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=Na(r),new r((o,i)=>{let s=new be({next:a=>{try{n(a)}catch(u){i(u),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[bt](){return this}pipe(...n){return jo(n)(this)}toPromise(n){return n=Na(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function Na(e){var t;return(t=e??ce.Promise)!==null&&t!==void 0?t:Promise}function _f(e){return e&&g(e.next)&&g(e.error)&&g(e.complete)}function Mf(e){return e&&e instanceof Ye||_f(e)&&Hn(e)}function Vo(e){return g(e?.lift)}function v(e){return t=>{if(Vo(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function y(e,t,n,r,o){return new Bo(e,t,n,r,o)}var Bo=class extends Ye{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(u){t.error(u)}}:super._next,this._error=o?function(a){try{o(a)}catch(u){t.error(u)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};function Ho(){return v((e,t)=>{let n=null;e._refCount++;let r=y(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){n=null;return}let o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}var $o=class extends S{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,Vo(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){let t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new L;let n=this.getSubject();t.add(this.source.subscribe(y(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=L.EMPTY)}return t}refCount(){return Ho()(this)}};var Aa=Et(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var Q=(()=>{class e extends S{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new zn(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Aa}next(n){Ct(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){Ct(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){Ct(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:r,isStopped:o,observers:i}=this;return r||o?Fo:(this.currentObservers=null,i.push(n),new L(()=>{this.currentObservers=null,qe(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new S;return n.source=this,n}}return e.create=(t,n)=>new zn(t,n),e})(),zn=class extends Q{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:Fo}};var tn=class extends Q{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};var nn={now(){return(nn.delegate||Date).now()},delegate:void 0};var Gn=class extends Q{constructor(t=1/0,n=1/0,r=nn){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;sOa(t)&&e()),t},clearImmediate(e){Oa(e)}};var{setImmediate:Tf,clearImmediate:xf}=Fa,on={setImmediate(...e){let{delegate:t}=on;return(t?.setImmediate||Tf)(...e)},clearImmediate(e){let{delegate:t}=on;return(t?.clearImmediate||xf)(e)},delegate:void 0};var Wn=class extends _t{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}requestAsyncId(t,n,r=0){return r!==null&&r>0?super.requestAsyncId(t,n,r):(t.actions.push(this),t._scheduled||(t._scheduled=on.setImmediate(t.flush.bind(t,void 0))))}recycleAsyncId(t,n,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(t,n,r);let{actions:i}=t;n!=null&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==n&&(on.clearImmediate(n),t._scheduled===n&&(t._scheduled=void 0))}};var Mt=class e{constructor(t,n=e.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,r){return new this.schedulerActionCtor(this,t).schedule(r,n)}};Mt.now=nn.now;var St=class extends Mt{constructor(t,n=Mt.now){super(t,n),this.actions=[],this._active=!1}flush(t){let{actions:n}=this;if(this._active){n.push(t);return}let r;this._active=!0;do if(r=t.execute(t.state,t.delay))break;while(t=n.shift());if(this._active=!1,r){for(;t=n.shift();)t.unsubscribe();throw r}}};var Zn=class extends St{flush(t){this._active=!0;let n=this._scheduled;this._scheduled=void 0;let{actions:r}=this,o;t=t||r.shift();do if(o=t.execute(t.state,t.delay))break;while((t=r[0])&&t.id===n&&r.shift());if(this._active=!1,o){for(;(t=r[0])&&t.id===n&&r.shift();)t.unsubscribe();throw o}}};var Nf=new Zn(Wn);var Qe=new St(_t),Ra=Qe;var Ke=new S(e=>e.complete());function Yn(e){return e&&g(e.schedule)}function Go(e){return e[e.length-1]}function Qn(e){return g(Go(e))?e.pop():void 0}function me(e){return Yn(Go(e))?e.pop():void 0}function ka(e,t){return typeof Go(e)=="number"?e.pop():t}function La(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(l){try{c(r.next(l))}catch(d){s(d)}}function u(l){try{c(r.throw(l))}catch(d){s(d)}}function c(l){l.done?i(l.value):o(l.value).then(a,u)}c((r=r.apply(e,t||[])).next())})}function Pa(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Je(e){return this instanceof Je?(this.v=e,this):new Je(e)}function ja(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(p){r[p]&&(o[p]=function(f){return new Promise(function(h,I){i.push([p,f,h,I])>1||a(p,f)})})}function a(p,f){try{u(r[p](f))}catch(h){d(i[0][3],h)}}function u(p){p.value instanceof Je?Promise.resolve(p.value.v).then(c,l):d(i[0][2],p)}function c(p){a("next",p)}function l(p){a("throw",p)}function d(p,f){p(f),i.shift(),i.length&&a(i[0][0],i[0][1])}}function Va(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof Pa=="function"?Pa(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,u){s=e[i](s),o(a,u,s.done,s.value)})}}function o(i,s,a,u){Promise.resolve(u).then(function(c){i({value:c,done:a})},s)}}var Tt=e=>e&&typeof e.length=="number"&&typeof e!="function";function Kn(e){return g(e?.then)}function Jn(e){return g(e[bt])}function Xn(e){return Symbol.asyncIterator&&g(e?.[Symbol.asyncIterator])}function er(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function Af(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var tr=Af();function nr(e){return g(e?.[tr])}function rr(e){return ja(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield Je(n.read());if(o)return yield Je(void 0);yield yield Je(r)}}finally{n.releaseLock()}})}function or(e){return g(e?.getReader)}function x(e){if(e instanceof S)return e;if(e!=null){if(Jn(e))return Of(e);if(Tt(e))return Ff(e);if(Kn(e))return Rf(e);if(Xn(e))return Ba(e);if(nr(e))return kf(e);if(or(e))return Pf(e)}throw er(e)}function Of(e){return new S(t=>{let n=e[bt]();if(g(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Ff(e){return new S(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,$n)})}function kf(e){return new S(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Ba(e){return new S(t=>{Lf(e,t).catch(n=>t.error(n))})}function Pf(e){return Ba(rr(e))}function Lf(e,t){var n,r,o,i;return La(this,void 0,void 0,function*(){try{for(n=Va(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})}function K(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function ir(e,t=0){return v((n,r)=>{n.subscribe(y(r,o=>K(r,e,()=>r.next(o),t),()=>K(r,e,()=>r.complete(),t),o=>K(r,e,()=>r.error(o),t)))})}function sr(e,t=0){return v((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Ha(e,t){return x(e).pipe(sr(t),ir(t))}function $a(e,t){return x(e).pipe(sr(t),ir(t))}function Ua(e,t){return new S(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function za(e,t){return new S(n=>{let r;return K(n,t,()=>{r=e[tr](),K(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>g(r?.return)&&r.return()})}function ar(e,t){if(!e)throw new Error("Iterable cannot be null");return new S(n=>{K(n,t,()=>{let r=e[Symbol.asyncIterator]();K(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Ga(e,t){return ar(rr(e),t)}function qa(e,t){if(e!=null){if(Jn(e))return Ha(e,t);if(Tt(e))return Ua(e,t);if(Kn(e))return $a(e,t);if(Xn(e))return ar(e,t);if(nr(e))return za(e,t);if(or(e))return Ga(e,t)}throw er(e)}function ye(e,t){return t?qa(e,t):x(e)}function jf(...e){let t=me(e);return ye(e,t)}function Vf(e,t){let n=g(e)?e:()=>e,r=o=>o.error(n());return new S(t?o=>t.schedule(r,0,o):r)}function Bf(e){return!!e&&(e instanceof S||g(e.lift)&&g(e.subscribe))}var Xe=Et(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Wa(e){return e instanceof Date&&!isNaN(e)}function _e(e,t){return v((n,r)=>{let o=0;n.subscribe(y(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:Hf}=Array;function $f(e,t){return Hf(t)?e(...t):e(t)}function xt(e){return _e(t=>$f(e,t))}var{isArray:Uf}=Array,{getPrototypeOf:zf,prototype:Gf,keys:qf}=Object;function ur(e){if(e.length===1){let t=e[0];if(Uf(t))return{args:t,keys:null};if(Wf(t)){let n=qf(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function Wf(e){return e&&typeof e=="object"&&zf(e)===Gf}function cr(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Zf(...e){let t=me(e),n=Qn(e),{args:r,keys:o}=ur(e);if(r.length===0)return ye([],t);let i=new S(Yf(r,t,o?s=>cr(o,s):G));return n?i.pipe(xt(n)):i}function Yf(e,t,n=G){return r=>{Za(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let u=0;u{let c=ye(e[u],t),l=!1;c.subscribe(y(r,d=>{i[u]=d,l||(l=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Za(e,t,n){e?K(n,e,t):t()}function Ya(e,t,n,r,o,i,s,a){let u=[],c=0,l=0,d=!1,p=()=>{d&&!u.length&&!c&&t.complete()},f=I=>c{i&&t.next(I),c++;let O=!1;x(n(I,l++)).subscribe(y(t,T=>{o?.(T),i?f(T):t.next(T)},()=>{O=!0},void 0,()=>{if(O)try{for(c--;u.length&&ch(T)):h(T)}p()}catch(T){t.error(T)}}))};return e.subscribe(y(t,f,()=>{d=!0,p()})),()=>{a?.()}}function le(e,t,n=1/0){return g(t)?le((r,o)=>_e((i,s)=>t(r,i,o,s))(x(e(r,o))),n):(typeof t=="number"&&(n=t),v((r,o)=>Ya(r,o,e,n)))}function sn(e=1/0){return le(G,e)}function Qa(){return sn(1)}function Nt(...e){return Qa()(ye(e,me(e)))}function Qf(e){return new S(t=>{x(e()).subscribe(t)})}function Kf(...e){let t=Qn(e),{args:n,keys:r}=ur(e),o=new S(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),u=s,c=s;for(let l=0;l{d||(d=!0,c--),a[l]=p},()=>u--,void 0,()=>{(!u||!d)&&(c||i.next(r?cr(r,a):a),i.complete())}))}});return t?o.pipe(xt(t)):o}var Jf=["addListener","removeListener"],Xf=["addEventListener","removeEventListener"],ep=["on","off"];function qo(e,t,n,r){if(g(n)&&(r=n,n=void 0),r)return qo(e,t,n).pipe(xt(r));let[o,i]=rp(e)?Xf.map(s=>a=>e[s](t,a,n)):tp(e)?Jf.map(Ka(e,t)):np(e)?ep.map(Ka(e,t)):[];if(!o&&Tt(e))return le(s=>qo(s,t,n))(x(e));if(!o)throw new TypeError("Invalid event target");return new S(s=>{let a=(...u)=>s.next(1i(a)})}function Ka(e,t){return n=>r=>e[n](t,r)}function tp(e){return g(e.addListener)&&g(e.removeListener)}function np(e){return g(e.on)&&g(e.off)}function rp(e){return g(e.addEventListener)&&g(e.removeEventListener)}function an(e=0,t,n=Ra){let r=-1;return t!=null&&(Yn(t)?n=t:r=t),new S(o=>{let i=Wa(e)?+e-n.now():e;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function op(...e){let t=me(e),n=ka(e,1/0),r=e;return r.length?r.length===1?x(r[0]):sn(n)(ye(r,t)):Ke}function et(e,t){return v((n,r)=>{let o=0;n.subscribe(y(r,i=>e.call(t,i,o++)&&r.next(i)))})}function Ja(e){return v((t,n)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let c=o;o=null,n.next(c)}s&&n.complete()},u=()=>{i=null,s&&n.complete()};t.subscribe(y(n,c=>{r=!0,o=c,i||x(e(c)).subscribe(i=y(n,a,u))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function ip(e,t=Qe){return Ja(()=>an(e,t))}function Xa(e){return v((t,n)=>{let r=null,o=!1,i;r=t.subscribe(y(n,void 0,void 0,s=>{i=x(e(s,Xa(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function eu(e,t,n,r,o){return(i,s)=>{let a=n,u=t,c=0;i.subscribe(y(s,l=>{let d=c++;u=a?e(u,l,d):(a=!0,l),r&&s.next(u)},o&&(()=>{a&&s.next(u),s.complete()})))}}function sp(e,t){return g(t)?le(e,t,1):le(e,1)}function tu(e,t=Qe){return v((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let c=i;i=null,r.next(c)}};function u(){let c=s+e,l=t.now();if(l{i=c,s=t.now(),o||(o=t.schedule(u,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function un(e){return v((t,n)=>{let r=!1;t.subscribe(y(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function At(e){return e<=0?()=>Ke:v((t,n)=>{let r=0;t.subscribe(y(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function nu(){return v((e,t)=>{e.subscribe(y(t,We))})}function Wo(e){return _e(()=>e)}function Zo(e,t){return t?n=>Nt(t.pipe(At(1),nu()),n.pipe(Zo(e))):le((n,r)=>x(e(n,r)).pipe(At(1),Wo(n)))}function ap(e,t=Qe){let n=an(e,t);return Zo(()=>n)}function up(e,t=G){return e=e??cp,v((n,r)=>{let o,i=!0;n.subscribe(y(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function cp(e,t){return e===t}function lr(e=lp){return v((t,n)=>{let r=!1;t.subscribe(y(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function lp(){return new Xe}function dp(e){return v((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function ru(e,t){let n=arguments.length>=2;return r=>r.pipe(e?et((o,i)=>e(o,i,r)):G,At(1),n?un(t):lr(()=>new Xe))}function Yo(e){return e<=0?()=>Ke:v((t,n)=>{let r=[];t.subscribe(y(n,o=>{r.push(o),e{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function fp(e,t){let n=arguments.length>=2;return r=>r.pipe(e?et((o,i)=>e(o,i,r)):G,Yo(1),n?un(t):lr(()=>new Xe))}function pp(){return v((e,t)=>{let n,r=!1;e.subscribe(y(t,o=>{let i=n;n=o,r&&t.next([i,o]),r=!0}))})}function hp(e,t){return v(eu(e,t,arguments.length>=2,!0))}function Ko(e={}){let{connector:t=()=>new Q,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,u,c=0,l=!1,d=!1,p=()=>{a?.unsubscribe(),a=void 0},f=()=>{p(),s=u=void 0,l=d=!1},h=()=>{let I=s;f(),I?.unsubscribe()};return v((I,O)=>{c++,!d&&!l&&p();let T=u=u??t();O.add(()=>{c--,c===0&&!d&&!l&&(a=Qo(h,o))}),T.subscribe(O),!s&&c>0&&(s=new be({next:R=>T.next(R),error:R=>{d=!0,p(),a=Qo(f,n,R),T.error(R)},complete:()=>{l=!0,p(),a=Qo(f,r),T.complete()}}),x(I).subscribe(s))})(i)}}function Qo(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new be({next:()=>{r.unsubscribe(),e()}});return x(t(...n)).subscribe(r)}function gp(e,t,n){let r,o=!1;return e&&typeof e=="object"?{bufferSize:r=1/0,windowTime:t=1/0,refCount:o=!1,scheduler:n}=e:r=e??1/0,Ko({connector:()=>new Gn(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function mp(e){return et((t,n)=>e<=n)}function yp(...e){let t=me(e);return v((n,r)=>{(t?Nt(e,n,t):Nt(e,n)).subscribe(r)})}function ou(e,t){return v((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(y(r,u=>{o?.unsubscribe();let c=0,l=i++;x(e(u,l)).subscribe(o=y(r,d=>r.next(t?t(u,d,l,c++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function iu(e){return v((t,n)=>{x(e).subscribe(y(n,()=>n.complete(),We)),!n.closed&&t.subscribe(n)})}function vp(e,t=!1){return v((n,r)=>{let o=0;n.subscribe(y(r,i=>{let s=e(i,o++);(s||t)&&r.next(i),!s&&r.complete()}))})}function Dp(e,t,n){let r=g(e)||t||n?{next:e,error:t,complete:n}:e;return r?v((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(y(i,u=>{var c;(c=r.next)===null||c===void 0||c.call(r,u),i.next(u)},()=>{var u;a=!1,(u=r.complete)===null||u===void 0||u.call(r),i.complete()},u=>{var c;a=!1,(c=r.error)===null||c===void 0||c.call(r,u),i.error(u)},()=>{var u,c;a&&((u=r.unsubscribe)===null||u===void 0||u.call(r)),(c=r.finalize)===null||c===void 0||c.call(r)}))}):G}var Wu="https://g.co/ng/security#xss",M=class extends Error{code;constructor(t,n){super(Zu(t,n)),this.code=t}};function Zu(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}var Yu=Symbol("InputSignalNode#UNSET"),Ip=Y(Z({},Oo),{transformFn:void 0,applyValueToInputSignal(e,t){Vn(e,t)}});function Qu(e,t){let n=Object.create(Ip);n.value=e,n.transformFn=t?.transform;function r(){if(Pn(n),n.value===Yu)throw new M(-950,!1);return n.value}return r[B]=n,r}function wn(e){return{toString:e}.toString()}var dr="__parameters__";function Ep(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function Ku(e,t,n){return wn(()=>{let r=Ep(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;let s=new o(...i);return a.annotation=s,a;function a(u,c,l){let d=u.hasOwnProperty(dr)?u[dr]:Object.defineProperty(u,dr,{value:[]})[dr];for(;d.length<=l;)d.push(null);return(d[l]=d[l]||[]).push(s),u}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}var _r=globalThis;function A(e){for(let t in e)if(e[t]===A)return t;throw Error("Could not find renamed property on target object.")}function wp(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function X(e){if(typeof e=="string")return e;if(Array.isArray(e))return"["+e.map(X).join(", ")+"]";if(e==null)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;let t=e.toString();if(t==null)return""+t;let n=t.indexOf(` +`);return n===-1?t:t.substring(0,n)}function li(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}var Cp=A({__forward_ref__:A});function Ju(e){return e.__forward_ref__=Ju,e.toString=function(){return X(this())},e}function q(e){return Xu(e)?e():e}function Xu(e){return typeof e=="function"&&e.hasOwnProperty(Cp)&&e.__forward_ref__===Ju}function F(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function ec(e){return{providers:e.providers||[],imports:e.imports||[]}}function eo(e){return su(e,tc)||su(e,nc)}function HS(e){return eo(e)!==null}function su(e,t){return e.hasOwnProperty(t)?e[t]:null}function bp(e){let t=e&&(e[tc]||e[nc]);return t||null}function au(e){return e&&(e.hasOwnProperty(uu)||e.hasOwnProperty(_p))?e[uu]:null}var tc=A({\u0275prov:A}),uu=A({\u0275inj:A}),nc=A({ngInjectableDef:A}),_p=A({ngInjectorDef:A}),N=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=F({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function rc(e){return e&&!!e.\u0275providers}var Mp=A({\u0275cmp:A}),Sp=A({\u0275dir:A}),Tp=A({\u0275pipe:A}),xp=A({\u0275mod:A}),Mr=A({\u0275fac:A}),dn=A({__NG_ELEMENT_ID__:A}),cu=A({__NG_ENV_ID__:A});function to(e){return typeof e=="string"?e:e==null?"":String(e)}function Np(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():to(e)}function Ap(e,t){let n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new M(-200,e)}function ws(e,t){throw new M(-201,!1)}var _=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(_||{}),di;function oc(){return di}function J(e){let t=di;return di=e,t}function ic(e,t,n){let r=eo(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&_.Optional)return null;if(t!==void 0)return t;ws(e,"Injector")}var Op={},fn=Op,fi="__NG_DI_FLAG__",Sr="ngTempTokenPath",Fp="ngTokenPath",Rp=/\n/gm,kp="\u0275",lu="__source",Pt;function Pp(){return Pt}function Fe(e){let t=Pt;return Pt=e,t}function Lp(e,t=_.Default){if(Pt===void 0)throw new M(-203,!1);return Pt===null?ic(e,void 0,t):Pt.get(e,t&_.Optional?null:void 0,t)}function te(e,t=_.Default){return(oc()||Lp)(q(e),t)}function C(e,t=_.Default){return te(e,no(t))}function no(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function pi(e){let t=[];for(let n=0;n ");else if(typeof t=="object"){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):X(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(Rp,` + `)}`}var Hp=sc(Ku("Optional"),8);var $p=sc(Ku("SkipSelf"),4);function nt(e,t){let n=e.hasOwnProperty(Mr);return n?e[Mr]:null}function Up(e,t,n){if(e.length!==t.length)return!1;for(let r=0;rArray.isArray(n)?Cs(n,t):t(n))}function ac(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Tr(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Gp(e,t){let n=[];for(let r=0;rt;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function ro(e,t,n){let r=Cn(e,t);return r>=0?e[r|1]=n:(r=~r,qp(e,r,t,n)),r}function Jo(e,t){let n=Cn(e,t);if(n>=0)return e[n|1]}function Cn(e,t){return Wp(e,t,1)}function Wp(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<t?o=i:r=i+1}return~(o<{n.push(s)};return Cs(t,s=>{let a=s;hi(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&hc(o,i),n}function hc(e,t){for(let n=0;n{t(i,r)})}}function hi(e,t,n,r){if(e=q(e),!e)return!1;let o=null,i=au(e),s=!i&&Le(e);if(!i&&!s){let u=e.ngModule;if(i=au(u),i)o=u;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let u=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of u)hi(c,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let c;try{Cs(i.imports,l=>{hi(l,t,n,r)&&(c||=[],c.push(l))})}finally{}c!==void 0&&hc(c,t)}if(!a){let c=nt(o)||(()=>new o);t({provide:o,useFactory:c,deps:W},o),t({provide:cc,useValue:o,multi:!0},o),t({provide:xr,useValue:()=>te(o),multi:!0},o)}let u=i.providers;if(u!=null&&!a){let c=e;bs(u,l=>{t(l,c)})}}else return!1;return o!==e&&e.providers!==void 0}function bs(e,t){for(let n of e)rc(n)&&(n=n.\u0275providers),Array.isArray(n)?bs(n,t):t(n)}var Kp=A({provide:String,useValue:A});function gc(e){return e!==null&&typeof e=="object"&&Kp in e}function Jp(e){return!!(e&&e.useExisting)}function Xp(e){return!!(e&&e.useFactory)}function Vt(e){return typeof e=="function"}function eh(e){return!!e.useClass}var mc=new N(""),vr={},th={},Xo;function oo(){return Xo===void 0&&(Xo=new Nr),Xo}var je=class{},pn=class extends je{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,mi(t,s=>this.processProvider(s)),this.records.set(uc,Ot(void 0,this)),o.has("environment")&&this.records.set(je,Ot(void 0,this));let i=this.records.get(mc);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(cc,W,_.Self))}destroy(){cn(this),this._destroyed=!0;let t=b(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),b(t)}}onDestroy(t){return cn(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){cn(this);let n=Fe(this),r=J(void 0),o;try{return t()}finally{Fe(n),J(r)}}get(t,n=fn,r=_.Default){if(cn(this),t.hasOwnProperty(cu))return t[cu](this);r=no(r);let o,i=Fe(this),s=J(void 0);try{if(!(r&_.SkipSelf)){let u=this.records.get(t);if(u===void 0){let c=sh(t)&&eo(t);c&&this.injectableDefInScope(c)?u=Ot(gi(t),vr):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u)}let a=r&_.Self?oo():this.parent;return n=r&_.Optional&&n===fn?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[Sr]=a[Sr]||[]).unshift(X(t)),i)throw a;return Vp(a,t,"R3InjectorError",this.source)}else throw a}finally{J(s),Fe(i)}}resolveInjectorInitializers(){let t=b(null),n=Fe(this),r=J(void 0),o;try{let i=this.get(xr,W,_.Self);for(let s of i)s()}finally{Fe(n),J(r),b(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(X(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=q(t);let n=Vt(t)?t:q(t&&t.provide),r=rh(t);if(!Vt(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Ot(void 0,vr,!0),o.factory=()=>pi(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=b(null);try{return n.value===vr&&(n.value=th,n.value=n.factory()),typeof n.value=="object"&&n.value&&ih(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{b(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=q(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function gi(e){let t=eo(e),n=t!==null?t.factory:nt(e);if(n!==null)return n;if(e instanceof N)throw new M(204,!1);if(e instanceof Function)return nh(e);throw new M(204,!1)}function nh(e){if(e.length>0)throw new M(204,!1);let n=bp(e);return n!==null?()=>n.factory(e):()=>new e}function rh(e){if(gc(e))return Ot(void 0,e.useValue);{let t=yc(e);return Ot(t,vr)}}function yc(e,t,n){let r;if(Vt(e)){let o=q(e);return nt(o)||gi(o)}else if(gc(e))r=()=>q(e.useValue);else if(Xp(e))r=()=>e.useFactory(...pi(e.deps||[]));else if(Jp(e))r=()=>te(q(e.useExisting));else{let o=q(e&&(e.useClass||e.provide));if(oh(e))r=()=>new o(...pi(e.deps));else return nt(o)||gi(o)}return r}function cn(e){if(e.destroyed)throw new M(205,!1)}function Ot(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function oh(e){return!!e.deps}function ih(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function sh(e){return typeof e=="function"||typeof e=="object"&&e instanceof N}function mi(e,t){for(let n of e)Array.isArray(n)?mi(n,t):n&&rc(n)?mi(n.\u0275providers,t):t(n)}function vc(e,t){e instanceof pn&&cn(e);let n,r=Fe(e),o=J(void 0);try{return t()}finally{Fe(r),J(o)}}function Dc(){return oc()!==void 0||Pp()!=null}function io(e){if(!Dc())throw new M(-203,!1)}function ah(e){return typeof e=="function"}var xe=0,D=1,m=2,U=3,pe=4,ne=5,Bt=6,Ar=7,H=8,Ht=9,Me=10,k=11,hn=12,du=13,Yt=14,ie=15,rt=16,Ft=17,Se=18,so=19,Ic=20,ke=21,Dr=22,ot=23,oe=24,z=25,Ec=1;var it=7,Or=8,$t=9,$=10,Fr=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Fr||{});function Pe(e){return Array.isArray(e)&&typeof e[Ec]=="object"}function Ne(e){return Array.isArray(e)&&e[Ec]===!0}function wc(e){return(e.flags&4)!==0}function ao(e){return e.componentOffset>-1}function _s(e){return(e.flags&1)===1}function Ve(e){return!!e.template}function yi(e){return(e[m]&512)!==0}var vi=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Cc(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var bc=(()=>{let e=()=>_c;return e.ngInherit=!0,e})();function _c(e){return e.type.prototype.ngOnChanges&&(e.setInput=ch),uh}function uh(){let e=Sc(this),t=e?.current;if(t){let n=e.previous;if(n===jt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function ch(e,t,n,r,o){let i=this.declaredInputs[r],s=Sc(e)||lh(e,{previous:jt,current:null}),a=s.current||(s.current={}),u=s.previous,c=u[i];a[i]=new vi(c&&c.currentValue,n,u===jt),Cc(e,t,o,n)}var Mc="__ngSimpleChanges__";function Sc(e){return e[Mc]||null}function lh(e,t){return e[Mc]=t}var fu=null;var ve=function(e,t,n){fu?.(e,t,n)},Tc="svg",dh="math";function Ie(e){for(;Array.isArray(e);)e=e[xe];return e}function xc(e,t){return Ie(t[e])}function se(e,t){return Ie(t[e.index])}function Ms(e,t){return e.data[t]}function Nc(e,t){return e[t]}function $e(e,t){let n=t[e];return Pe(n)?n:n[xe]}function fh(e){return(e[m]&4)===4}function Ss(e){return(e[m]&128)===128}function ph(e){return Ne(e[U])}function Ut(e,t){return t==null?null:e[t]}function Ac(e){e[Ft]=0}function Ts(e){e[m]&1024||(e[m]|=1024,Ss(e)&&bn(e))}function hh(e,t){for(;e>0;)t=t[Yt],e--;return t}function uo(e){return!!(e[m]&9216||e[oe]?.dirty)}function Di(e){e[Me].changeDetectionScheduler?.notify(9),e[m]&64&&(e[m]|=1024),uo(e)&&bn(e)}function bn(e){e[Me].changeDetectionScheduler?.notify(0);let t=st(e);for(;t!==null&&!(t[m]&8192||(t[m]|=8192,!Ss(t)));)t=st(t)}function Oc(e,t){if((e[m]&256)===256)throw new M(911,!1);e[ke]===null&&(e[ke]=[]),e[ke].push(t)}function gh(e,t){if(e[ke]===null)return;let n=e[ke].indexOf(t);n!==-1&&e[ke].splice(n,1)}function st(e){let t=e[U];return Ne(t)?t[U]:t}var w={lFrame:Uc(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Ii=!1;function mh(){return w.lFrame.elementDepthCount}function yh(){w.lFrame.elementDepthCount++}function vh(){w.lFrame.elementDepthCount--}function Fc(){return w.bindingsEnabled}function Rc(){return w.skipHydrationRootTNode!==null}function Dh(e){return w.skipHydrationRootTNode===e}function Ih(){w.skipHydrationRootTNode=null}function E(){return w.lFrame.lView}function P(){return w.lFrame.tView}function $S(e){return w.lFrame.contextLView=e,e[H]}function US(e){return w.lFrame.contextLView=null,e}function V(){let e=kc();for(;e!==null&&e.type===64;)e=e.parent;return e}function kc(){return w.lFrame.currentTNode}function Eh(){let e=w.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function _n(e,t){let n=w.lFrame;n.currentTNode=e,n.isParent=t}function Pc(){return w.lFrame.isParent}function Lc(){w.lFrame.isParent=!1}function wh(){return w.lFrame.contextLView}function jc(){return Ii}function Rr(e){let t=Ii;return Ii=e,t}function Vc(){let e=w.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Ch(e){return w.lFrame.bindingIndex=e}function gt(){return w.lFrame.bindingIndex++}function Bc(e){let t=w.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function bh(){return w.lFrame.inI18n}function _h(e,t){let n=w.lFrame;n.bindingIndex=n.bindingRootIndex=e,Ei(t)}function Mh(){return w.lFrame.currentDirectiveIndex}function Ei(e){w.lFrame.currentDirectiveIndex=e}function Sh(e){let t=w.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function xs(){return w.lFrame.currentQueryIndex}function co(e){w.lFrame.currentQueryIndex=e}function Th(e){let t=e[D];return t.type===2?t.declTNode:t.type===1?e[ne]:null}function Hc(e,t,n){if(n&_.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&_.Host);)if(o=Th(i),o===null||(i=i[Yt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=w.lFrame=$c();return r.currentTNode=t,r.lView=e,!0}function Ns(e){let t=$c(),n=e[D];w.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function $c(){let e=w.lFrame,t=e===null?null:e.child;return t===null?Uc(e):t}function Uc(e){let 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:e,child:null,inI18n:!1};return e!==null&&(e.child=t),t}function zc(){let e=w.lFrame;return w.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Gc=zc;function As(){let e=zc();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function xh(e){return(w.lFrame.contextLView=hh(e,w.lFrame.contextLView))[H]}function Ue(){return w.lFrame.selectedIndex}function at(e){w.lFrame.selectedIndex=e}function lo(){let e=w.lFrame;return Ms(e.tView,e.selectedIndex)}function zS(){w.lFrame.currentNamespace=Tc}function GS(){Nh()}function Nh(){w.lFrame.currentNamespace=null}function Ah(){return w.lFrame.currentNamespace}var qc=!0;function Os(){return qc}function Fs(e){qc=e}function Oh(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=_c(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}function Rs(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[u]<0&&(e[Ft]+=65536),(a>14>16&&(e[m]&3)===t&&(e[m]+=16384,pu(a,i)):pu(a,i)}var Lt=-1,ut=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r){this.factory=t,this.canSeeViewProviders=n,this.injectImpl=r}};function Rh(e){return e instanceof ut}function kh(e){return(e.flags&8)!==0}function Ph(e){return(e.flags&16)!==0}function wi(e,t,n){let r=0;for(;rt){s=i-1;break}}}for(;i>16}function Pr(e,t){let n=jh(e),r=t;for(;n>0;)r=r[Yt],n--;return r}var bi=!0;function Lr(e){let t=bi;return bi=e,t}var Vh=256,Qc=Vh-1,Kc=5,Bh=0,De={};function Hh(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(dn)&&(r=n[dn]),r==null&&(r=n[dn]=Bh++);let o=r&Qc,i=1<>Kc)]|=i}function jr(e,t){let n=Jc(e,t);if(n!==-1)return n;let r=t[D];r.firstCreatePass&&(e.injectorIndex=t.length,ni(r.data,e),ni(t,null),ni(r.blueprint,null));let o=ks(e,t),i=e.injectorIndex;if(Yc(o)){let s=kr(o),a=Pr(o,t),u=a[D].data;for(let c=0;c<8;c++)t[i+c]=a[s+c]|u[s+c]}return t[i+8]=o,i}function ni(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Jc(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function ks(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;o!==null;){if(r=rl(o),r===null)return Lt;if(n++,o=o[Yt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Lt}function _i(e,t,n){Hh(e,t,n)}function $h(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let n=e.attrs;if(n){let r=n.length,o=0;for(;o>20,d=r?a:a+l,p=o?a+l:c;for(let f=d;f=u&&h.type===n)return f}if(o){let f=s[u];if(f&&Ve(f)&&f.type===n)return u}return null}function ct(e,t,n,r){let o=e[n],i=t.data;if(Rh(o)){let s=o;s.resolving&&Ap(Np(i[n]));let a=Lr(s.canSeeViewProviders);s.resolving=!0;let u,c=s.injectImpl?J(s.injectImpl):null,l=Hc(e,r,_.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&Oh(n,i[n],t)}finally{c!==null&&J(c),Lr(a),s.resolving=!1,Gc()}}return o}function zh(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(dn)?e[dn]:void 0;return typeof t=="number"?t>=0?t&Qc:Gh:t}function gu(e,t,n){let r=1<>Kc)]&r)}function mu(e,t){return!(e&_.Self)&&!(e&_.Host&&t)}var tt=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return tl(this._tNode,this._lView,t,no(r),n)}};function Gh(){return new tt(V(),E())}function qS(e){return wn(()=>{let t=e.prototype.constructor,n=t[Mr]||Mi(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Mr]||Mi(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Mi(e){return Xu(e)?()=>{let t=Mi(q(e));return t&&t()}:nt(e)}function qh(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[m]&2048&&!(s[m]&512);){let a=nl(i,s,n,r|_.Self,De);if(a!==De)return a;let u=i.parent;if(!u){let c=s[Ic];if(c){let l=c.get(n,De,r);if(l!==De)return l}u=rl(s),s=s[Yt]}i=u}return o}function rl(e){let t=e[D],n=t.type;return n===2?t.declTNode:n===1?e[ne]:null}function ol(e){return $h(V(),e)}function yu(e,t=null,n=null,r){let o=il(e,t,n,r);return o.resolveInjectorInitializers(),o}function il(e,t=null,n=null,r,o=new Set){let i=[n||W,Qp(e)];return r=r||(typeof e=="object"?void 0:X(e)),new pn(i,t||oo(),r||null,o)}var Ee=class e{static THROW_IF_NOT_FOUND=fn;static NULL=new Nr;static create(t,n){if(Array.isArray(t))return yu({name:""},n,t,"");{let r=t.name??"";return yu({name:r},t.parent,t.providers,r)}}static \u0275prov=F({token:e,providedIn:"any",factory:()=>te(uc)});static __NG_ELEMENT_ID__=-1};var vu=class{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>ol(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},Wh=new N("");Wh.__NG_ELEMENT_ID__=e=>{let t=V();if(t===null)throw new M(204,!1);if(t.type&2)return t.value;if(e&_.Optional)return null;throw new M(204,!1)};var sl=!1,Mn=(()=>{class e{static __NG_ELEMENT_ID__=Zh;static __NG_ENV_ID__=n=>n}return e})(),Vr=class extends Mn{_lView;constructor(t){super(),this._lView=t}onDestroy(t){return Oc(this._lView,t),()=>gh(this._lView,t)}};function Zh(){return new Vr(E())}var lt=class{},Ps=new N("",{providedIn:"root",factory:()=>!1});var al=new N(""),ul=new N(""),Sn=(()=>{class e{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new tn(!1);add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static \u0275prov=F({token:e,providedIn:"root",factory:()=>new e})}return e})();var Si=class extends Q{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,Dc()&&(this.destroyRef=C(Mn,{optional:!0})??void 0,this.pendingTasks=C(Sn,{optional:!0})??void 0)}emit(t){let n=b(null);try{super.next(t)}finally{b(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let u=t;o=u.next?.bind(u),i=u.error?.bind(u),s=u.complete?.bind(u)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof L&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{t(n),r!==void 0&&this.pendingTasks?.remove(r)})}}},Re=Si;function mn(...e){}function cl(e){let t,n;function r(){e=mn;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function Du(e){return queueMicrotask(()=>e()),()=>{e=mn}}var Ls="isAngularZone",Br=Ls+"_ID",Yh=0,ee=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Re(!1);onMicrotaskEmpty=new Re(!1);onStable=new Re(!1);onError=new Re(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=sl}=t;if(typeof Zone>"u")throw new M(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,Jh(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Ls)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new M(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new M(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,Qh,mn,mn);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},Qh={};function js(e){if(e._nesting==0&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Kh(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){cl(()=>{e.callbackScheduled=!1,Ti(e),e.isCheckStableRunning=!0,js(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Ti(e)}function Jh(e){let t=()=>{Kh(e)},n=Yh++;e._inner=e._inner.fork({name:"angular",properties:{[Ls]:!0,[Br]:n,[Br+n]:!0},onInvokeTask:(r,o,i,s,a,u)=>{if(Xh(u))return r.invokeTask(i,s,a,u);try{return Iu(e),r.invokeTask(i,s,a,u)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Eu(e)}},onInvoke:(r,o,i,s,a,u,c)=>{try{return Iu(e),r.invoke(i,s,a,u,c)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!eg(u)&&t(),Eu(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Ti(e),js(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function Ti(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Iu(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Eu(e){e._nesting--,js(e)}var xi=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Re;onMicrotaskEmpty=new Re;onStable=new Re;onError=new Re;run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}};function Xh(e){return ll(e,"__ignore_ng_zone__")}function eg(e){return ll(e,"__scheduler_tick__")}function ll(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var dt=class{_console=console;handleError(t){this._console.error("ERROR",t)}},tg=new N("",{providedIn:"root",factory:()=>{let e=C(ee),t=C(dt);return n=>e.runOutsideAngular(()=>t.handleError(n))}});function wu(e,t){return Qu(e,t)}function ng(e){return Qu(Yu,e)}var WS=(wu.required=ng,wu);function rg(){return Qt(V(),E())}function Qt(e,t){return new ze(se(e,t))}var ze=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=rg}return e})();function dl(e){return e instanceof ze?e.nativeElement:e}function og(){return this._results[Symbol.iterator]()}var Ni=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new Q}constructor(t=!1){this._emitDistinctChangesOnly=t}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,n){return this._results.reduce(t,n)}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,n){this.dirty=!1;let r=zp(t);(this._changesDetected=!Up(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=og};function fl(e){return(e.flags&128)===128}var pl=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(pl||{}),hl=new Map,ig=0;function sg(){return ig++}function ag(e){hl.set(e[so],e)}function Ai(e){hl.delete(e[so])}var Cu="__ngContext__";function ft(e,t){Pe(t)?(e[Cu]=t[so],ag(t)):e[Cu]=t}function gl(e){return yl(e[hn])}function ml(e){return yl(e[pe])}function yl(e){for(;e!==null&&!Ne(e);)e=e[pe];return e}var Oi;function ZS(e){Oi=e}function ug(){if(Oi!==void 0)return Oi;if(typeof document<"u")return document;throw new M(210,!1)}var YS=new N("",{providedIn:"root",factory:()=>cg}),cg="ng",lg=new N(""),dg=new N("",{providedIn:"platform",factory:()=>"unknown"});var QS=new N(""),KS=new N("",{providedIn:"root",factory:()=>ug().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var fg="h",pg="b";var vl=!1,hg=new N("",{providedIn:"root",factory:()=>vl});var bu=new Set;function he(e){bu.has(e)||(bu.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Rt=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Rt||{}),Dl=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=F({token:e,providedIn:"root",factory:()=>new e})}return e})(),gg=[Rt.EarlyRead,Rt.Write,Rt.MixedReadWrite,Rt.Read],mg=(()=>{class e{ngZone=C(ee);scheduler=C(lt);errorHandler=C(dt,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;execute(){this.executing=!0;for(let n of gg)for(let r of this.sequences)if(!(r.erroredOrDestroyed||!r.hooks[n]))try{r.pipelinedValue=this.ngZone.runOutsideAngular(()=>r.hooks[n](r.pipelinedValue))}catch(o){r.erroredOrDestroyed=!0,this.errorHandler?.handleError(o)}this.executing=!1;for(let n of this.sequences)n.afterRun(),n.once&&(this.sequences.delete(n),n.destroy());for(let n of this.deferredRegistrations)this.sequences.add(n);this.deferredRegistrations.size>0&&this.scheduler.notify(8),this.deferredRegistrations.clear()}register(n){this.executing?this.deferredRegistrations.add(n):(this.sequences.add(n),this.scheduler.notify(7))}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}static \u0275prov=F({token:e,providedIn:"root",factory:()=>new e})}return e})(),Fi=class{impl;hooks;once;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,n,r,o){this.impl=t,this.hooks=n,this.once=r,this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.()}};function yg(e,t){!t?.injector&&io(yg);let n=t?.injector??C(Ee);return he("NgAfterRender"),Il(e,n,t,!1)}function vg(e,t){!t?.injector&&io(vg);let n=t?.injector??C(Ee);return he("NgAfterNextRender"),Il(e,n,t,!0)}function Dg(e,t){if(e instanceof Function){let n=[void 0,void 0,void 0,void 0];return n[t]=e,n}else return[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function Il(e,t,n,r){let o=t.get(Dl);o.impl??=t.get(mg);let i=n?.phase??Rt.MixedReadWrite,s=n?.manualCleanup!==!0?t.get(Mn):null,a=new Fi(o.impl,Dg(e,i),r,s);return o.impl.register(a),a}var Ig=()=>null;function Vs(e,t,n=!1){return Ig(e,t,n)}var yn=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(yn||{}),fr;function Eg(){if(fr===void 0&&(fr=null,_r.trustedTypes))try{fr=_r.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return fr}function fo(e){return Eg()?.createHTML(e)||e}var pr;function wg(){if(pr===void 0&&(pr=null,_r.trustedTypes))try{pr=_r.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return pr}function _u(e){return wg()?.createScriptURL(e)||e}var Te=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Wu})`}},Ri=class extends Te{getTypeName(){return"HTML"}},ki=class extends Te{getTypeName(){return"Style"}},Pi=class extends Te{getTypeName(){return"Script"}},Li=class extends Te{getTypeName(){return"URL"}},ji=class extends Te{getTypeName(){return"ResourceURL"}};function Tn(e){return e instanceof Te?e.changingThisBreaksApplicationSecurity:e}function El(e,t){let n=Cg(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Wu})`)}return n===t}function Cg(e){return e instanceof Te&&e.getTypeName()||null}function JS(e){return new Ri(e)}function XS(e){return new ki(e)}function e0(e){return new Pi(e)}function t0(e){return new Li(e)}function n0(e){return new ji(e)}function bg(e){let t=new Bi(e);return _g()?new Vi(t):t}var Vi=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{let n=new window.DOMParser().parseFromString(fo(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},Bi=class{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let n=this.inertDocument.createElement("template");return n.innerHTML=fo(t),n}};function _g(){try{return!!new window.DOMParser().parseFromString(fo(""),"text/html")}catch{return!1}}var Mg=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function wl(e){return e=String(e),e.match(Mg)?e:"unsafe:"+e}function Ae(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function xn(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var Cl=Ae("area,br,col,hr,img,wbr"),bl=Ae("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),_l=Ae("rp,rt"),Sg=xn(_l,bl),Tg=xn(bl,Ae("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),xg=xn(_l,Ae("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Mu=xn(Cl,Tg,xg,Sg),Ml=Ae("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Ng=Ae("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Ag=Ae("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),Og=xn(Ml,Ng,Ag),Fg=Ae("script,style,template"),Hi=class{sanitizedSomething=!1;buf=[];sanitizeChildren(t){let n=t.firstChild,r=!0,o=[];for(;n;){if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild){o.push(n),n=Pg(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=kg(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=Su(t).toLowerCase();if(!Mu.hasOwnProperty(n))return this.sanitizedSomething=!0,!Fg.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=t.attributes;for(let o=0;o"),!0}endElement(t){let n=Su(t).toLowerCase();Mu.hasOwnProperty(n)&&!Cl.hasOwnProperty(n)&&(this.buf.push(""))}chars(t){this.buf.push(Tu(t))}};function Rg(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function kg(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Sl(t);return t}function Pg(e){let t=e.firstChild;if(t&&Rg(e,t))throw Sl(t);return t}function Su(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Sl(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var Lg=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,jg=/([^\#-~ |!])/g;function Tu(e){return e.replace(/&/g,"&").replace(Lg,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(jg,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}var hr;function r0(e,t){let n=null;try{hr=hr||bg(e);let r=t?String(t):"";n=hr.getInertBodyElement(r);let o=5,i=r;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=hr.getInertBodyElement(r)}while(r!==i);let a=new Hi().sanitizeChildren(xu(n)||n);return fo(a)}finally{if(n){let r=xu(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function xu(e){return"content"in e&&Vg(e)?e.content:null}function Vg(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var Bs=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(Bs||{});function Bg(e){let t=Tl();return t?t.sanitize(Bs.URL,e)||"":El(e,"URL")?Tn(e):wl(to(e))}function Hg(e){let t=Tl();if(t)return _u(t.sanitize(Bs.RESOURCE_URL,e)||"");if(El(e,"ResourceURL"))return _u(Tn(e));throw new M(904,!1)}function $g(e,t){return t==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||t==="href"&&(e==="base"||e==="link")?Hg:Bg}function o0(e,t,n){return $g(t,n)(e)}function Tl(){let e=E();return e&&e[Me].sanitizer}function xl(e){return e instanceof Function?e():e}var Be=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Be||{}),vn=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(vn||{}),Ug;function Hs(e,t){return Ug(e,t)}function kt(e,t,n,r,o){if(r!=null){let i,s=!1;Ne(r)?i=r:Pe(r)&&(s=!0,r=r[xe]);let a=Ie(r);e===0&&n!==null?o==null?Rl(t,n,a):Hr(t,n,a,o||null,!0):e===1&&n!==null?Hr(t,n,a,o||null,!0):e===2?nm(t,a,s):e===3&&t.destroyNode(a),i!=null&&om(t,e,i,n,o)}}function zg(e,t){return e.createText(t)}function Gg(e,t,n){e.setValue(t,n)}function Nl(e,t,n){return e.createElement(t,n)}function qg(e,t){Al(e,t),t[xe]=null,t[ne]=null}function Wg(e,t,n,r,o,i){r[xe]=o,r[ne]=t,ho(e,r,n,1,o,i)}function Al(e,t){t[Me].changeDetectionScheduler?.notify(10),ho(e,t,t[k],2,null,null)}function Zg(e){let t=e[hn];if(!t)return ri(e[D],e);for(;t;){let n=null;if(Pe(t))n=t[hn];else{let r=t[$];r&&(n=r)}if(!n){for(;t&&!t[pe]&&t!==e;)Pe(t)&&ri(t[D],t),t=t[U];t===null&&(t=e),Pe(t)&&ri(t[D],t),n=t&&t[pe]}t=n}}function Yg(e,t,n,r){let o=$+r,i=n.length;r>0&&(n[o-1][pe]=t),r0&&(e[n-1][pe]=r[pe]);let i=Tr(e,$+t);qg(r[D],r);let s=i[Se];s!==null&&s.detachView(i[D]),r[U]=null,r[pe]=null,r[m]&=-129}return r}function po(e,t){if(!(t[m]&256)){let n=t[k];n.destroyNode&&ho(e,t,n,3,null,null),Zg(t)}}function ri(e,t){if(t[m]&256)return;let n=b(null);try{t[m]&=-129,t[m]|=256,t[oe]&&It(t[oe]),Kg(e,t),Qg(e,t),t[D].type===1&&t[k].destroy();let r=t[rt];if(r!==null&&Ne(t[U])){r!==t[U]&&$s(r,t);let o=t[Se];o!==null&&o.detachView(e)}Ai(t)}finally{b(n)}}function Qg(e,t){let n=e.cleanup,r=t[Ar];if(n!==null)for(let s=0;s=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[n[s+1]];n[s].call(a)}r!==null&&(t[Ar]=null);let o=t[ke];if(o!==null){t[ke]=null;for(let s=0;s-1){let{encapsulation:i}=e.data[r.directiveStart+o];if(i===yn.None||i===yn.Emulated)return null}return se(r,n)}}function Hr(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Rl(e,t,n){e.appendChild(t,n)}function Nu(e,t,n,r,o){r!==null?Hr(e,t,n,r,o):Rl(e,t,n)}function kl(e,t){return e.parentNode(t)}function Xg(e,t){return e.nextSibling(t)}function Pl(e,t,n){return tm(e,t,n)}function em(e,t,n){return e.type&40?se(e,n):null}var tm=em,Au;function Us(e,t,n,r){let o=Fl(e,r,t),i=t[k],s=r.parent||t[ne],a=Pl(s,r,t);if(o!=null)if(Array.isArray(n))for(let u=0;u-1){let i;for(;++oi?d="":d=o[l+1].toLowerCase(),r&2&&c!==d){if(de(r))return!1;s=!0}}}}return de(r)||s}function de(e){return(e&1)===0}function dm(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!de(s)&&(t+=Ou(i,o),o=""),r=s,i=i||!de(r);n++}return o!==""&&(t+=Ou(i,o)),t}function ym(e){return e.map(mm).join(",")}function vm(e){let t=[],n=[],r=1,o=2;for(;rz&&Ul(e,t,z,!1),ve(s?2:0,o),n(r,o)}finally{at(i),ve(s?3:1,o)}}function Wl(e,t,n){if(wc(t)){let r=b(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;snull;function _m(e,t,n,r){let o=rd(t);o.push(n),e.firstCreatePass&&od(e).push(r,o.length-1)}function Mm(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Rc()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function Fu(e,t,n,r,o){for(let i in t){if(!t.hasOwnProperty(i))continue;let s=t[i];if(s===void 0)continue;r??={};let a,u=Be.None;Array.isArray(s)?(a=s[0],u=s[1]):a=s;let c=i;if(o!==null){if(!o.hasOwnProperty(i))continue;c=o[i]}e===0?Ru(r,n,c,a,u):Ru(r,n,c,a)}return r}function Ru(e,t,n,r,o){let i;e.hasOwnProperty(n)?(i=e[n]).push(t,r):i=e[n]=[t,r],o!==void 0&&i.push(o)}function Sm(e,t,n){let r=t.directiveStart,o=t.directiveEnd,i=e.data,s=t.attrs,a=[],u=null,c=null;for(let l=r;l0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function Om(e,t,n,r){let o=n.directiveStart,i=n.directiveEnd;ao(n)&&Vm(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||jr(n,t),ft(r,t);let s=n.initialInputs;for(let a=o;a{bn(e.lView)},consumerOnSignalRead(){this.lView[oe]=this}});function Xm(e){let t=e[oe]??Object.create(ey);return t.lView=e,t}var ey=Y(Z({},Ge),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let t=st(e.lView);for(;t&&!cd(t[D]);)t=st(t);t&&Ts(t)},consumerOnSignalRead(){this.lView[oe]=this}});function cd(e){return e.type!==2}function ld(e){if(e[ot]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[ot])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[m]&8192)}}var ty=100;function dd(e,t=!0,n=0){let o=e[Me].rendererFactory,i=!1;i||o.begin?.();try{ny(e,n)}catch(s){throw t&&id(e,s),s}finally{i||o.end?.()}}function ny(e,t){let n=jc();try{Rr(!0),Gi(e,t);let r=0;for(;uo(e);){if(r===ty)throw new M(103,!1);r++,Gi(e,1)}}finally{Rr(n)}}function ry(e,t,n,r){let o=t[m];if((o&256)===256)return;let i=!1,s=!1;Ns(t);let a=!0,u=null,c=null;i||(cd(e)?(c=Ym(t),u=Dt(c)):fa()===null?(a=!1,c=Xm(t),u=Dt(c)):t[oe]&&(It(t[oe]),t[oe]=null));try{Ac(t),Ch(e.bindingStartIndex),n!==null&&ql(e,t,n,2,r);let l=(o&3)===3;if(!i)if(l){let f=e.preOrderCheckHooks;f!==null&&Ir(t,f,null)}else{let f=e.preOrderHooks;f!==null&&Er(t,f,0,null),ei(t,0)}if(s||oy(t),ld(t),fd(t,0),e.contentQueries!==null&&nd(e,t),!i)if(l){let f=e.contentCheckHooks;f!==null&&Ir(t,f)}else{let f=e.contentHooks;f!==null&&Er(t,f,1),ei(t,1)}Dm(e,t);let d=e.components;d!==null&&hd(t,d,0);let p=e.viewQuery;if(p!==null&&zi(2,p,r),!i)if(l){let f=e.viewCheckHooks;f!==null&&Ir(t,f)}else{let f=e.viewHooks;f!==null&&Er(t,f,2),ei(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Dr]){for(let f of t[Dr])f();t[Dr]=null}i||(t[m]&=-73)}catch(l){throw i||bn(t),l}finally{c!==null&&(Xt(c,u),a&&Km(c)),As()}}function fd(e,t){for(let n=gl(e);n!==null;n=ml(n))for(let r=$;r-1&&(Dn(t,r),Tr(n,r))}this._attachedToViewContainer=!1}po(this._lView[D],this._lView)}onDestroy(t){Oc(this._lView,t)}markForCheck(){Qs(this._cdRefInjectingView||this._lView,4)}markForRefresh(){Ts(this._cdRefInjectingView||this._lView)}detach(){this._lView[m]&=-129}reattach(){Di(this._lView),this._lView[m]|=128}detectChanges(){this._lView[m]|=1024,dd(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new M(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=yi(this._lView),n=this._lView[rt];n!==null&&!t&&$s(n,this._lView),Al(this._lView[D],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new M(902,!1);this._appRef=t;let n=yi(this._lView),r=this._lView[rt];r!==null&&!n&&Ol(r,this._lView),Di(this._lView)}},In=(()=>{class e{static __NG_ELEMENT_ID__=uy}return e})(),sy=In,ay=class extends sy{_declarationLView;_declarationTContainer;elementRef;constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){let o=An(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new pt(o)}};function uy(){return yo(V(),E())}function yo(e,t){return e.type&4?new ay(t,e,Qt(e,t)):null}var qi=class{resolveComponentFactory(t){throw Error(`No component factory found for ${X(t)}.`)}},Gt=class{static NULL=new qi},He=class{},Wi=class{},Zi=class{},Ur=class{},zr=class{},vo=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>cy()}return e})();function cy(){let e=E(),t=V(),n=$e(t.index,e);return(Pe(n)?n:e)[k]}var ly=(()=>{class e{static \u0275prov=F({token:e,providedIn:"root",factory:()=>null})}return e})();function Yi(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s0&&Vl(e,n,i.join(" "))}}function yy(e,t,n){let r=e.projection=[];for(let o=0;on()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},Ji=class extends Wi{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new Ki(this.moduleType,t,[])}};var qr=class extends He{injector;componentFactoryResolver=new Gr(this);instance=null;constructor(t){super();let n=new pn([...t.providers,{provide:He,useValue:this},{provide:Gt,useValue:this.componentFactoryResolver}],t.parent||oo(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Dy(e,t,n=null){return new qr({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var Iy=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=pc(!1,n.type),o=r.length>0?Dy([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=F({token:e,providedIn:"environment",factory:()=>new e(te(je))})}return e})();function u0(e){return wn(()=>{let t=yd(e),n=Y(Z({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===pl.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(Iy).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||yn.Emulated,styles:e.styles||W,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&he("NgStandalone"),vd(n);let r=e.dependencies;return n.directiveDefs=Lu(r,!1),n.pipeDefs=Lu(r,!0),n.id=Cy(n),n})}function Ey(e){return Le(e)||dc(e)}function wy(e){return e!==null}function gd(e){return wn(()=>({type:e.type,bootstrap:e.bootstrap||W,declarations:e.declarations||W,imports:e.imports||W,exports:e.exports||W,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Pu(e,t){if(e==null)return jt;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a=Be.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==Be.None?[r,a]:r,t[i]=s):n[i]=r}return n}function Do(e){return wn(()=>{let t=yd(e);return vd(t),t})}function md(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function yd(e){let t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||jt,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||W,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Pu(e.inputs,t),outputs:Pu(e.outputs),debugInfo:null}}function vd(e){e.features?.forEach(t=>t(e))}function Lu(e,t){if(!e)return null;let n=t?fc:Ey;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(wy)}function Cy(e){let t=0,n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(let o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}var c0=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function by(e){return typeof e=="function"&&e[B]!==void 0}var _y=new N("");function Io(e){return!!e&&typeof e.then=="function"}function Ks(e){return!!e&&typeof e.subscribe=="function"}var My=new N("");var Dd=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=C(My,{optional:!0})??[];injector=C(Ee);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=vc(this.injector,o);if(Io(i))n.push(i);else if(Ks(i)){let s=new Promise((a,u)=>{i.subscribe({complete:a,error:u})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),n.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Id=(()=>{class e{static \u0275prov=F({token:e,providedIn:"root",factory:()=>new Wr})}return e})(),Wr=class{queuedEffectCount=0;queues=new Map;schedule(t){this.enqueue(t)}enqueue(t){let n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||(this.queuedEffectCount++,r.add(t))}flush(){for(;this.queuedEffectCount>0;)for(let[t,n]of this.queues)t===null?this.flushQueue(n):t.run(()=>this.flushQueue(n))}flushQueue(t){for(let n of t)t.delete(n),this.queuedEffectCount--,n.run()}},Sy=new N("");function Ty(){Ea(()=>{throw new M(600,!1)})}function xy(e){return e.isBoundToModule}var Ny=10;function Ay(e,t,n){try{let r=n();return Io(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var Eo=(()=>{class e{_bootstrapListeners=[];_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=C(tg);afterRenderManager=C(Dl);zonelessEnabled=C(Ps);rootEffectScheduler=C(Id);dirtyFlags=0;deferredDirtyFlags=0;externalTestViews=new Set;afterTick=new Q;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=C(Sn).hasPendingTasks.pipe(_e(n=>!n));whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=C(je);get injector(){return this._injector}bootstrap(n,r){let o=n instanceof Ur;if(!this._injector.get(Dd).done){let p=!o&&Zp(n),f=!1;throw new M(405,f)}let s;o?s=n:s=this._injector.get(Gt).resolveComponentFactory(n),this.componentTypes.push(s.componentType);let a=xy(s)?void 0:this._injector.get(He),u=r||s.selector,c=s.create(Ee.NULL,[],u,a),l=c.location.nativeElement,d=c.injector.get(_y,null);return d?.registerApplication(l),c.onDestroy(()=>{this.detachView(c.hostView),Cr(this.components,c),d?.unregisterApplication(l)}),this._loadComponent(c),c}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new M(101,!1);let n=b(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,b(n),this.afterTick.next()}}synchronize(){let n=null;this._injector.destroyed||(n=this._injector.get(zr,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let r=0;for(;this.dirtyFlags!==0&&r++uo(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;Cr(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let r=this._injector.get(Sy,[]);[...this._bootstrapListeners,...r].forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Cr(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new M(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Cr(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function Oy(e,t,n,r){if(!n&&!uo(e))return;dd(e,t,n&&!r?0:1)}var l0=new RegExp(`^(\\d+)*(${pg}|${fg})*(.*)`);var Fy=()=>null;function Wt(e,t){return Fy(e,t)}var Fn=(()=>{class e{static __NG_ELEMENT_ID__=Ry}return e})();function Ry(){let e=V();return wd(e,E())}var ky=Fn,Ed=class extends ky{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Qt(this._hostTNode,this._hostLView)}get injector(){return new tt(this._hostTNode,this._hostLView)}get parentInjector(){let t=ks(this._hostTNode,this._hostLView);if(Yc(t)){let n=Pr(t,this._hostLView),r=kr(t),o=n[D].data[r+8];return new tt(o,n)}else return new tt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=ju(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-$}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Wt(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,zt(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!ah(t),a;if(s)a=n;else{let h=n||{};a=h.index,r=h.injector,o=h.projectableNodes,i=h.environmentInjector||h.ngModuleRef}let u=s?t:new qt(Le(t)),c=r||this.parentInjector;if(!i&&u.ngModule==null){let I=(s?c:this.parentInjector).get(je,null);I&&(i=I)}let l=Le(u.componentType??{}),d=Wt(this._lContainer,l?.id??null),p=d?.firstChild??null,f=u.create(c,o,p,i);return this.insertImpl(f.hostView,a,zt(this._hostTNode,d)),f}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(ph(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let u=o[U],c=new Ed(u,u[ne],u[U]);c.detach(c.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return On(s,o,i,r),t.attachToViewContainerRef(),ac(oi(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=ju(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=Dn(this._lContainer,n);r&&(Tr(oi(this._lContainer),n),po(r[D],r))}detach(t){let n=this._adjustIndex(t,-1),r=Dn(this._lContainer,n);return r&&Tr(oi(this._lContainer),n)!=null?new pt(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function ju(e){return e[Or]}function oi(e){return e[Or]||(e[Or]=[])}function wd(e,t){let n,r=t[e.index];return Ne(r)?n=r:(n=td(r,t,null,e),t[e.index]=n,mo(t,n)),Ly(n,t,e,r),new Ed(n,e,t)}function Py(e,t){let n=e[k],r=n.createComment(""),o=se(t,e),i=kl(n,o);return Hr(n,i,r,Xg(n,o),!1),r}var Ly=By,jy=()=>!1;function Vy(e,t,n){return jy(e,t,n)}function By(e,t,n,r){if(e[it])return;let o;n.type&8?o=Ie(r):o=Py(t,n),e[it]=o}var Xi=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},es=class e{queries;constructor(t=[]){this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let r=t.contentQueries!==null?t.contentQueries[0]:n.length,o=[];for(let i=0;i0)r.push(s[a/2]);else{let c=i[a+1],l=t[-u];for(let d=$;dt.trim())}function Md(e,t,n){e.queries===null&&(e.queries=new ts),e.queries.track(new ns(t,n))}function Wy(e,t){let n=e.contentQueries||(e.contentQueries=[]),r=n.length?n[n.length-1]:-1;t!==r&&n.push(e.queries.length-1,t)}function Xs(e,t){return e.queries.getByIndex(t)}function Sd(e,t){let n=e[D],r=Xs(n,t);return r.crossesNgTemplate?rs(n,e,t,[]):Cd(n,e,r,t)}function Zy(e,t){he("NgSignals");let n=wa(e),r=n[B];return t?.equal&&(r.equal=t.equal),n.set=o=>Vn(r,o),n.update=o=>Ca(r,o),n.asReadonly=Yy.bind(n),n}function Yy(){let e=this[B];if(e.readonlyFn===void 0){let t=()=>this();t[B]=e,e.readonlyFn=t}return e.readonlyFn}function Td(e){return by(e)&&typeof e.set=="function"}function xd(e,t,n){let r,o=Ao(()=>{r._dirtyCounter();let i=Xy(r,e);if(t&&i===void 0)throw new M(-951,!1);return i});return r=o[B],r._dirtyCounter=Zy(0),r._flatValue=void 0,o}function Qy(e){return xd(!0,!1,e)}function Ky(e){return xd(!0,!0,e)}function Jy(e,t){let n=e[B];n._lView=E(),n._queryIndex=t,n._queryList=Js(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function Xy(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[m]&4)return t?void 0:W;let o=Js(n,r),i=Sd(n,r);return o.reset(i,dl),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}function Vu(e,t){return Qy(t)}function ev(e,t){return Ky(t)}var f0=(Vu.required=ev,Vu);function tv(e){return Object.getPrototypeOf(e.prototype).constructor}function nv(e){let t=tv(e.type),n=!0,r=[e];for(;t;){let o;if(Ve(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new M(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=gr(e.inputs),s.inputTransforms=gr(e.inputTransforms),s.declaredInputs=gr(e.declaredInputs),s.outputs=gr(e.outputs);let a=o.hostBindings;a&&av(e,a);let u=o.viewQuery,c=o.contentQueries;if(u&&iv(e,u),c&&sv(e,c),rv(e,o),wp(e.outputs,o.outputs),Ve(o)&&o.data.animation){let l=e.data;l.animation=(l.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=gn(o.hostAttrs,n=gn(n,o.hostAttrs))}}function gr(e){return e===jt?{}:e===W?[]:e}function iv(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function sv(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function av(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function uv(e){let t=e.inputConfig,n={};for(let r in t)if(t.hasOwnProperty(r)){let o=t[r];Array.isArray(o)&&o[3]&&(n[r]=o[3])}e.inputTransforms=n}function Nd(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function Ad(e,t,n){return e[t]=n}function cv(e,t){return e[t]}function we(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function lv(e){return(e.flags&32)===32}function dv(e,t,n,r,o,i,s,a,u){let c=t.consts,l=Nn(t,e,4,s||null,a||null);Kl(t,n,l,Ut(c,u)),Rs(t,l);let d=l.tView=qs(2,l,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,c,null);return t.queries!==null&&(t.queries.template(t,l),d.queries=t.queries.embeddedTView(l)),l}function Yr(e,t,n,r,o,i,s,a,u,c){let l=n+z,d=t.firstCreatePass?dv(l,t,e,r,o,i,s,a,u):t.data[l];_n(d,!1);let p=pv(t,e,d,n);Os()&&Us(t,e,p,d),ft(p,e);let f=td(p,e,p,d);return e[l]=f,mo(e,f),Vy(f,d,e),_s(d)&&Zl(t,e,d),u!=null&&Yl(e,d,c),d}function fv(e,t,n,r,o,i,s,a){let u=E(),c=P(),l=Ut(c.consts,i);return Yr(u,c,e,t,n,r,o,l,s,a),fv}var pv=hv;function hv(e,t,n,r){return Fs(!0),t[k].createComment("")}function gv(e,t,n,r){let o=E(),i=gt();if(we(o,i,t)){let s=P(),a=lo();Bm(a,o,e,t,n,r)}return gv}function Od(e,t,n,r){return we(e,gt(),n)?t+to(n)+r:ge}function mr(e,t){return e<<17|t<<2}function ht(e){return e>>17&32767}function mv(e){return(e&2)==2}function yv(e,t){return e&131071|t<<17}function os(e){return e|2}function Zt(e){return(e&131068)>>2}function ii(e,t){return e&-131069|t<<2}function vv(e){return(e&1)===1}function is(e){return e|1}function Dv(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=ht(s),u=Zt(s);e[r]=n;let c=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||Cn(d,l)>0)&&(c=!0)}else l=n;if(o)if(u!==0){let p=ht(e[a+1]);e[r+1]=mr(p,a),p!==0&&(e[p+1]=ii(e[p+1],r)),e[a+1]=yv(e[a+1],r)}else e[r+1]=mr(a,0),a!==0&&(e[a+1]=ii(e[a+1],r)),a=r;else e[r+1]=mr(u,0),a===0?a=r:e[u+1]=ii(e[u+1],r),u=r;c&&(e[r+1]=os(e[r+1])),Bu(e,l,r,!0),Bu(e,l,r,!1),Iv(t,l,e,r,i),s=mr(a,u),i?t.classBindings=s:t.styleBindings=s}function Iv(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&Cn(i,t)>=0&&(n[r+1]=is(n[r+1]))}function Bu(e,t,n,r){let o=e[n+1],i=t===null,s=r?ht(o):Zt(o),a=!1;for(;s!==0&&(a===!1||i);){let u=e[s],c=e[s+1];Ev(u,t)&&(a=!0,e[s+1]=r?is(c):os(c)),s=r?ht(c):Zt(c)}a&&(e[n+1]=r?os(o):is(o))}function Ev(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Cn(e,t)>=0:!1}var fe={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function wv(e){return e.substring(fe.key,fe.keyEnd)}function Cv(e){return bv(e),Fd(e,Rd(e,0,fe.textEnd))}function Fd(e,t){let n=fe.textEnd;return n===t?-1:(t=fe.keyEnd=_v(e,fe.key=t,n),Rd(e,t,n))}function bv(e){fe.key=0,fe.keyEnd=0,fe.value=0,fe.valueEnd=0,fe.textEnd=e.length}function Rd(e,t,n){for(;t32;)t++;return t}function Mv(e,t,n){let r=E(),o=gt();if(we(r,o,t)){let i=P(),s=lo();Ws(i,s,r,e,t,r[k],n,!1)}return Mv}function ss(e,t,n,r,o){let i=t.inputs,s=o?"class":"style";Zs(e,n,i[s],s,r)}function kd(e,t,n){return Ld(e,t,n,!1),kd}function Sv(e,t){return Ld(e,t,null,!0),Sv}function p0(e){jd(Fv,Pd,e,!0)}function Pd(e,t){for(let n=Cv(t);n>=0;n=Fd(t,n))ro(e,wv(t),!0)}function Ld(e,t,n,r){let o=E(),i=P(),s=Bc(2);if(i.firstUpdatePass&&Bd(i,e,s,r),t!==ge&&we(o,s,t)){let a=i.data[Ue()];Hd(i,a,o,o[k],e,o[s+1]=kv(t,n),r,s)}}function jd(e,t,n,r){let o=P(),i=Bc(2);o.firstUpdatePass&&Bd(o,null,i,r);let s=E();if(n!==ge&&we(s,i,n)){let a=o.data[Ue()];if($d(a,r)&&!Vd(o,i)){let u=r?a.classesWithoutHost:a.stylesWithoutHost;u!==null&&(n=li(u,n||"")),ss(o,a,s,n,r)}else Rv(o,a,s,s[k],s[i+1],s[i+1]=Ov(e,t,n),r,i)}}function Vd(e,t){return t>=e.expandoStartIndex}function Bd(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[Ue()],s=Vd(e,n);$d(i,r)&&t===null&&!s&&(t=!1),t=Tv(o,i,t,r),Dv(o,i,t,n,s,r)}}function Tv(e,t,n,r){let o=Sh(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=si(null,e,t,n,r),n=En(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=si(o,e,t,n,r),i===null){let u=xv(e,t,r);u!==void 0&&Array.isArray(u)&&(u=si(null,e,t,u[1],r),u=En(u,t.attrs,r),Nv(e,t,r,u))}else i=Av(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function xv(e,t,n){let r=n?t.classBindings:t.styleBindings;if(Zt(r)!==0)return e[ht(r)]}function Nv(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[ht(o)]=r}function Av(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0;){let u=e[o],c=Array.isArray(u),l=c?u[1]:u,d=l===null,p=n[o+1];p===ge&&(p=d?W:void 0);let f=d?Jo(p,r):l===r?p:void 0;if(c&&!Qr(f)&&(f=Jo(u,r)),Qr(f)&&(a=f,s))return a;let h=e[o+1];o=s?ht(h):Zt(h)}if(t!==null){let u=i?t.residualClasses:t.residualStyles;u!=null&&(a=Jo(u,r))}return a}function Qr(e){return e!==void 0}function kv(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=X(Tn(e)))),e}function $d(e,t){return(e.flags&(t?8:16))!==0}function h0(e,t,n){let r=E(),o=Od(r,e,t,n);jd(ro,Pd,o,!0)}var as=class{destroy(t){}updateValue(t,n){}swap(t,n){let r=Math.min(t,n),o=Math.max(t,n),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(t,n){this.attach(n,this.detach(t))}};function ai(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function Pv(e,t,n){let r,o,i=0,s=e.length-1,a=void 0;if(Array.isArray(t)){let u=t.length-1;for(;i<=s&&i<=u;){let c=e.at(i),l=t[i],d=ai(i,c,i,l,n);if(d!==0){d<0&&e.updateValue(i,l),i++;continue}let p=e.at(s),f=t[u],h=ai(s,p,u,f,n);if(h!==0){h<0&&e.updateValue(s,f),s--,u--;continue}let I=n(i,c),O=n(s,p),T=n(i,l);if(Object.is(T,O)){let R=n(u,f);Object.is(R,I)?(e.swap(i,s),e.updateValue(s,f),u--,s--):e.move(s,i),e.updateValue(i,l),i++;continue}if(r??=new Kr,o??=Uu(e,i,s,n),us(e,r,i,T))e.updateValue(i,l),i++,s++;else if(o.has(T))r.set(I,e.detach(i)),s--;else{let R=e.create(i,t[i]);e.attach(i,R),i++,s++}}for(;i<=u;)$u(e,r,n,i,t[i]),i++}else if(t!=null){let u=t[Symbol.iterator](),c=u.next();for(;!c.done&&i<=s;){let l=e.at(i),d=c.value,p=ai(i,l,i,d,n);if(p!==0)p<0&&e.updateValue(i,d),i++,c=u.next();else{r??=new Kr,o??=Uu(e,i,s,n);let f=n(i,d);if(us(e,r,i,f))e.updateValue(i,d),i++,s++,c=u.next();else if(!o.has(f))e.attach(i,e.create(i,d)),i++,s++,c=u.next();else{let h=n(i,l);r.set(h,e.detach(i)),s--}}}for(;!c.done;)$u(e,r,n,e.length,c.value),c=u.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(u=>{e.destroy(u)})}function us(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function $u(e,t,n,r,o){if(us(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function Uu(e,t,n,r){let o=new Set;for(let i=t;i<=n;i++)o.add(r(i,e.at(i)));return o}var Kr=class{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}};function g0(e,t){he("NgControlFlow");let n=E(),r=gt(),o=n[r]!==ge?n[r]:-1,i=o!==-1?Jr(n,z+o):void 0,s=0;if(we(n,r,e)){let a=b(null);try{if(i!==void 0&&ad(i,s),e!==-1){let u=z+e,c=Jr(n,u),l=fs(n[D],u),d=Wt(c,l.tView.ssrId),p=An(n,l,t,{dehydratedView:d});On(c,p,s,zt(l,d))}}finally{b(a)}}else if(i!==void 0){let a=sd(i,s);a!==void 0&&(a[H]=t)}}var cs=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-$}};function m0(e){return e}function y0(e,t){return t}var ls=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function v0(e,t,n,r,o,i,s,a,u,c,l,d,p){he("NgControlFlow");let f=E(),h=P(),I=u!==void 0,O=E(),T=a?s.bind(O[ie][H]):s,R=new ls(I,T);O[z+e]=R,Yr(f,h,e+1,t,n,r,o,Ut(h.consts,i)),I&&Yr(f,h,e+2,u,c,l,d,Ut(h.consts,p))}var ds=class extends as{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r}get length(){return this.lContainer.length-$}at(t){return this.getLView(t)[H].$implicit}attach(t,n){let r=n[Bt];this.needsIndexUpdate||=t!==this.length,On(this.lContainer,n,t,zt(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,Lv(this.lContainer,t)}create(t,n){let r=Wt(this.lContainer,this.templateTNode.tView.ssrId),o=An(this.hostLView,this.templateTNode,new cs(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(t){po(t[D],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[H].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t(Fs(!0),Nl(r,o,Ah()));function I0(){return E()}function $v(e,t,n){let r=E(),o=gt();if(we(r,o,t)){let i=P(),s=lo();Ws(i,s,r,e,t,r[k],n,!0)}return $v}var Xr="en-US";var Uv=Xr;function zv(e){typeof e=="string"&&(Uv=e.toLowerCase().replace(/_/g,"-"))}var Gv=(e,t,n)=>{};function qv(e,t,n,r){let o=E(),i=P(),s=V();return Gd(i,o,o[k],s,e,t,r),qv}function Wv(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;iu?a[u]:null}typeof s=="string"&&(i+=2)}return null}function Gd(e,t,n,r,o,i,s){let a=_s(r),c=e.firstCreatePass&&od(e),l=t[H],d=rd(t),p=!0;if(r.type&3||s){let I=se(r,t),O=s?s(I):I,T=d.length,R=s?ue=>s(Ie(ue[r.index])):r.index,Ce=null;if(!s&&a&&(Ce=Wv(e,t,o,r.index)),Ce!==null){let ue=Ce.__ngLastListenerFn__||Ce;ue.__ngNextListenerFn__=i,Ce.__ngLastListenerFn__=i,p=!1}else{i=Gu(r,t,l,i),Gv(I,o,i);let ue=n.listen(O,o,i);d.push(i,ue),c&&c.push(o,R,T,T+1)}}else i=Gu(r,t,l,i);let f=r.outputs,h;if(p&&f!==null&&(h=f[o])){let I=h.length;if(I)for(let O=0;O-1?$e(e.index,t):t;Qs(s,5);let a=zu(t,n,r,i),u=o.__ngNextListenerFn__;for(;u;)a=zu(t,n,u,i)&&a,u=u.__ngNextListenerFn__;return a}}function E0(e=1){return xh(e)}function Zv(e,t){let n=null,r=fm(e);for(let o=0;o=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function N0(e){let t=wh();return Nc(t,z+e)}function A0(e,t=""){let n=E(),r=P(),o=e+z,i=r.firstCreatePass?Nn(r,o,1,t,null):r.data[o],s=Kv(r,n,i,t,e);n[o]=s,Os()&&Us(r,n,s,i),_n(i,!1)}var Kv=(e,t,n,r,o)=>(Fs(!0),zg(t[k],r));function Jv(e){return qd("",e,""),Jv}function qd(e,t,n){let r=E(),o=Od(r,e,t,n);return o!==ge&&zm(r,Ue(),o),qd}function Xv(e,t,n){Td(t)&&(t=t());let r=E(),o=gt();if(we(r,o,t)){let i=P(),s=lo();Ws(i,s,r,e,t,r[k],n,!1)}return Xv}function O0(e,t){let n=Td(e);return n&&e.set(t),n}function eD(e,t){let n=E(),r=P(),o=V();return Gd(r,n,n[k],o,e,t),eD}function tD(e,t,n){let r=P();if(r.firstCreatePass){let o=Ve(e);ps(n,r.data,r.blueprint,o,!0),ps(t,r.data,r.blueprint,o,!1)}}function ps(e,t,n,r,o){if(e=q(e),Array.isArray(e))for(let i=0;i>20;if(Vt(e)||!e.multi){let f=new ut(c,o,ae),h=ci(u,t,o?l:l+p,d);h===-1?(_i(jr(a,s),i,u),ui(i,e,t.length),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[h]=f,s[h]=f)}else{let f=ci(u,t,l+p,d),h=ci(u,t,l,l+p),I=f>=0&&n[f],O=h>=0&&n[h];if(o&&!O||!o&&!I){_i(jr(a,s),i,u);let T=oD(o?rD:nD,n.length,o,r,c);!o&&O&&(n[h].providerFactory=T),ui(i,e,t.length,0),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(T),s.push(T)}else{let T=Wd(n[o?h:f],c,!o&&r);ui(i,e,f>-1?f:h,T)}!o&&r&&O&&n[h].componentProviders++}}}function ui(e,t,n,r){let o=Vt(t),i=eh(t);if(o||i){let u=(i?q(t.useClass):t).prototype.ngOnDestroy;if(u){let c=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let l=c.indexOf(n);l===-1?c.push(n,[r,u]):c[l+1].push(r,u)}else c.push(n,u)}}}function Wd(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function ci(e,t,n,r){for(let o=n;o{n.providersResolver=(r,o)=>tD(r,o?o(e):e,t)}}function R0(e,t,n){let r=Vc()+e,o=E();return o[r]===ge?Ad(o,r,n?t.call(n):t()):cv(o,r)}function iD(e,t){let n=e[t];return n===ge?void 0:n}function sD(e,t,n,r,o,i){let s=t+n;return we(e,s,o)?Ad(e,s+1,i?r.call(i,o):r(o)):iD(e,s+1)}function k0(e,t){let n=P(),r,o=e+z;n.firstCreatePass?(r=aD(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];let i=r.factory||(r.factory=nt(r.type,!0)),s,a=J(ae);try{let u=Lr(!1),c=i();return Lr(u),Qv(n,E(),o,c),c}finally{J(a)}}function aD(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function P0(e,t,n){let r=e+z,o=E(),i=Nc(o,r);return uD(o,r)?sD(o,Vc(),t,i.transform,n,i):i.transform(n)}function uD(e,t){return e[D].data[t].pure}function L0(e,t){return yo(e,t)}var gs=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},j0=(()=>{class e{compileModuleSync(n){return new Ji(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=lc(n),i=xl(o.declarations).reduce((s,a)=>{let u=Le(a);return u&&s.push(new qt(u)),s},[]);return new gs(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var cD=(()=>{class e{zone=C(ee);changeDetectionScheduler=C(lt);applicationRef=C(Eo);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),lD=new N("",{factory:()=>!1});function Zd({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new ee(Y(Z({},Yd()),{scheduleInRootZone:n})),[{provide:ee,useFactory:e},{provide:xr,multi:!0,useFactory:()=>{let r=C(cD,{optional:!0});return()=>r.initialize()}},{provide:xr,multi:!0,useFactory:()=>{let r=C(dD);return()=>{r.initialize()}}},t===!0?{provide:al,useValue:!0}:[],{provide:ul,useValue:n??sl}]}function V0(e){let t=e?.ignoreChangesOutsideZone,n=e?.scheduleInRootZone,r=Zd({ngZoneFactory:()=>{let o=Yd(e);return o.scheduleInRootZone=n,o.shouldCoalesceEventChangeDetection&&he("NgZone_CoalesceEvent"),new ee(o)},ignoreChangesOutsideZone:t,scheduleInRootZone:n});return Yp([{provide:lD,useValue:!0},{provide:Ps,useValue:!1},r])}function Yd(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var dD=(()=>{class e{subscription=new L;initialized=!1;zone=C(ee);pendingTasks=C(Sn);initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{ee.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{ee.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var fD=(()=>{class e{appRef=C(Eo);taskService=C(Sn);ngZone=C(ee);zonelessEnabled=C(Ps);disableScheduling=C(al,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new L;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Br):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(C(ul,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof xi||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;let r=!1;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 8:{this.appRef.deferredDirtyFlags|=8;break}case 6:{this.appRef.dirtyFlags|=2,r=!0;break}case 13:{this.appRef.dirtyFlags|=16,r=!0;break}case 14:{this.appRef.dirtyFlags|=2,r=!0;break}case 12:{r=!0;break}case 10:case 9:case 7:case 11:default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick(r))return;let o=this.useMicrotaskScheduler?Du:cl;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>o(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>o(()=>this.tick()))}shouldScheduleTick(n){return!(this.disableScheduling&&!n||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Br+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(n),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Du(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function pD(){return typeof $localize<"u"&&$localize.locale||Xr}var ea=new N("",{providedIn:"root",factory:()=>C(ea,_.Optional|_.SkipSelf)||pD()});var ms=new N("");function yr(e){return!e.moduleRef}function hD(e){let t=yr(e)?e.r3Injector:e.moduleRef.injector,n=t.get(ee);return n.run(()=>{yr(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(dt,null),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:i=>{r.handleError(i)}})}),yr(e)){let i=()=>t.destroy(),s=e.platformInjector.get(ms);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(ms);s.add(i),e.moduleRef.onDestroy(()=>{Cr(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return Ay(r,n,()=>{let i=t.get(Dd);return i.runInitializers(),i.donePromise.then(()=>{let s=t.get(ea,Xr);if(zv(s||Xr),yr(e)){let a=t.get(Eo);return e.rootComponent!==void 0&&a.bootstrap(e.rootComponent),a}else return gD(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function gD(e,t){let n=e.injector.get(Eo);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(n);else throw new M(-403,!1);t.push(e)}var br=null;function mD(e=[],t){return Ee.create({name:t,providers:[{provide:mc,useValue:"platform"},{provide:ms,useValue:new Set([()=>br=null])},...e]})}function yD(e=[]){if(br)return br;let t=mD(e);return br=t,Ty(),vD(t),t}function vD(e){let t=e.get(lg,null);vc(e,()=>{t?.forEach(n=>n())})}var wo=(()=>{class e{static __NG_ELEMENT_ID__=DD}return e})();function DD(e){return ID(V(),E(),(e&16)===16)}function ID(e,t,n){if(ao(e)&&!n){let r=$e(e.index,t);return new pt(r,r)}else if(e.type&175){let r=t[ie];return new pt(r,t)}return null}var ys=class{constructor(){}supports(t){return t instanceof Map||Nd(t)}create(){return new vs}},vs=class{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;_removalsTail=null;get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(t){let n;for(n=this._mapHead;n!==null;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;n!==null;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;n!==null;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}diff(t){if(!t)t=new Map;else if(!(t instanceof Map||Nd(t)))throw new M(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{let i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){let r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){let o=this._records.get(t);this._maybeAddToChanges(o,n);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let r=new Ds(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;t!==null;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;t!=null;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){this._additionsHead===null?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){this._changesHead===null?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}},Ds=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(t){this.key=t}};function qu(){return new ta([new ys])}var ta=(()=>{class e{static \u0275prov=F({token:e,providedIn:"root",factory:qu});factories;constructor(n){this.factories=n}static create(n,r){if(r){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||qu()),deps:[[e,new $p,new Hp]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r)return r;throw new M(901,!1)}}return e})();function B0(e){try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=yD(r),i=[Zd({}),{provide:lt,useExisting:fD},...n||[]],s=new qr({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1});return hD({r3Injector:s.injector,platformInjector:o,rootComponent:t})}catch(t){return Promise.reject(t)}}function ED(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function wD(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function H0(e,t){he("NgSignals");let n=Ao(e);return t?.equal&&(n[B].equal=t.equal),n}function na(e){let t=b(null);try{return e()}finally{b(t)}}var Qd=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=CD}return e})();function CD(){return new Qd(E(),V())}var bD=!1,_D=(()=>{class e extends Wr{pendingTasks=C(Sn);taskId=null;schedule(n){super.schedule(n),this.taskId===null&&(this.taskId=this.pendingTasks.add(),queueMicrotask(()=>this.flush()))}flush(){try{super.flush()}finally{this.taskId!==null&&(this.pendingTasks.remove(this.taskId),this.taskId=null)}}static \u0275prov=F({token:e,providedIn:"root",factory:()=>new e})}return e})(),Is=class{scheduler;effectFn;zone;injector;unregisterOnDestroy;watcher;constructor(t,n,r,o,i,s){this.scheduler=t,this.effectFn=n,this.zone=r,this.injector=i,this.watcher=ba(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}runEffect(t){try{this.effectFn(t)}catch(n){this.injector.get(dt,null,{optional:!0})?.handleError(n)}}run(){this.watcher.run()}schedule(){this.scheduler.schedule(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}};function MD(){}function SD(e,t){he("NgSignals"),!t?.injector&&io(MD);let n=t?.injector??C(Ee),r=t?.manualCleanup!==!0?n.get(Mn):null,o=new Is(n.get(_D),e,typeof Zone>"u"?null:Zone.current,r,n,t?.allowSignalWrites??!1),i=n.get(wo,null,{optional:!0});return!i||!(i._lView[m]&8)?o.watcher.notify():(i._lView[Dr]??=[]).push(o.watcher.notify),o}var TD=bD;var Es=class{[B];constructor(t){this[B]=t}destroy(){this[B].destroy()}};function xD(e,t){if(TD)return SD(e,t);he("NgSignals"),!t?.injector&&io(xD);let n=t?.injector??C(Ee),r=t?.manualCleanup!==!0?n.get(Mn):null,o,i=n.get(Qd,null,{optional:!0}),s=n.get(lt);return i!==null&&!t?.forceRoot?(o=OD(i.view,s,e),r instanceof Vr&&r._lView===i.view&&(r=null)):o=FD(e,n.get(Id),s),o.injector=n,r!==null&&(o.onDestroyFn=r.onDestroy(()=>o.destroy())),new Es(o)}var Kd=Y(Z({},Ge),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,onDestroyFn:mn,run(){if(this.dirty=!1,this.hasRun&&!en(this))return;this.hasRun=!0;let e=r=>(this.cleanupFns??=[]).push(r),t=Dt(this),n=Rr(!1);try{this.maybeCleanup(),this.fn(e)}finally{Rr(n),Xt(this,t)}},maybeCleanup(){if(this.cleanupFns?.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}}),ND=Y(Z({},Kd),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(13)},destroy(){It(this),this.onDestroyFn(),this.maybeCleanup()}}),AD=Y(Z({},Kd),{consumerMarkedDirty(){this.view[m]|=8192,bn(this.view),this.notifier.notify(14)},destroy(){It(this),this.onDestroyFn(),this.maybeCleanup(),this.view[ot]?.delete(this)}});function OD(e,t,n){let r=Object.create(AD);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=n,e[ot]??=new Set,e[ot].add(r),r.consumerMarkedDirty(r),r}function FD(e,t,n){let r=Object.create(ND);return r.fn=e,r.scheduler=t,r.notifier=n,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.schedule(r),r.notifier.notify(13),r}function $0(e,t){let n=Le(e),r=t.elementInjector||oo();return new qt(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector)}var rf=null;function ra(){return rf}function hT(e){rf??=e}var Jd=class{};var of=new N(""),sf=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:()=>C(kD),providedIn:"platform"})}return e})();var kD=(()=>{class e extends sf{_location;_history;_doc=C(of);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return ra().getBaseHref(this._doc)}onPopState(n){let r=ra().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=ra().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}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(n){this._location.pathname=n}pushState(n,r,o){this._history.pushState(n,r,o)}replaceState(n,r,o){this._history.replaceState(n,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function af(e,t){if(e.length==0)return t;if(t.length==0)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,n==2?e+t.substring(1):n==1?e+t:e+"/"+t}function Xd(e){let t=e.match(/#|\?|$/),n=t&&t.index||e.length,r=n-(e[n-1]==="/"?1:0);return e.slice(0,r)+e.slice(n)}function mt(e){return e&&e[0]!=="?"?"?"+e:e}var aa=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:()=>C(LD),providedIn:"root"})}return e})(),PD=new N(""),LD=(()=>{class e extends aa{_platformLocation;_baseHref;_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??C(of).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return af(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+mt(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+mt(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+mt(i));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static \u0275fac=function(r){return new(r||e)(te(sf),te(PD,8))};static \u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var jD=(()=>{class e{_subject=new Q;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(n){this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=HD(Xd(ef(r))),this._locationStrategy.onPopState(o=>{this._subject.next({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+mt(r))}normalize(n){return e.stripTrailingSlash(BD(this._basePath,ef(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",o=null){this._locationStrategy.pushState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+mt(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+mt(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r??void 0,complete:o??void 0})}static normalizeQueryParams=mt;static joinWithSlash=af;static stripTrailingSlash=Xd;static \u0275fac=function(r){return new(r||e)(te(aa))};static \u0275prov=F({token:e,factory:()=>VD(),providedIn:"root"})}return e})();function VD(){return new jD(te(aa))}function BD(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function ef(e){return e.replace(/\/index.html$/,"")}function HD(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}function gT(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[o,i]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}var oa=/\s+/,tf=[],mT=(()=>{class e{_ngEl;_renderer;initialClasses=tf;rawClass;stateMap=new Map;constructor(n,r){this._ngEl=n,this._renderer=r}set klass(n){this.initialClasses=n!=null?n.trim().split(oa):tf}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(oa):n}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let r of n)this._updateState(r,!0);else if(n!=null)for(let r of Object.keys(n))this._updateState(r,!!n[r]);this._applyStateDiff()}_updateState(n,r){let o=this.stateMap.get(n);o!==void 0?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(n,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let r=n[0],o=n[1];o.changed?(this._toggleClass(r,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),o.touched=!1}}_toggleClass(n,r){n=n.trim(),n.length>0&&n.split(oa).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}static \u0275fac=function(r){return new(r||e)(ae(ze),ae(vo))};static \u0275dir=Do({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})();var yT=(()=>{class e{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(n,r,o){this._ngEl=n,this._differs=r,this._renderer=o}set ngStyle(n){this._ngStyle=n,!this._differ&&n&&(this._differ=this._differs.find(n).create())}ngDoCheck(){if(this._differ){let n=this._differ.diff(this._ngStyle);n&&this._applyChanges(n)}}_setStyle(n,r){let[o,i]=n.split("."),s=o.indexOf("-")===-1?void 0:vn.DashCase;r!=null?this._renderer.setStyle(this._ngEl.nativeElement,o,i?`${r}${i}`:r,s):this._renderer.removeStyle(this._ngEl.nativeElement,o,s)}_applyChanges(n){n.forEachRemovedItem(r=>this._setStyle(r.key,null)),n.forEachAddedItem(r=>this._setStyle(r.key,r.currentValue)),n.forEachChangedItem(r=>this._setStyle(r.key,r.currentValue))}static \u0275fac=function(r){return new(r||e)(ae(ze),ae(ta),ae(vo))};static \u0275dir=Do({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return e})(),vT=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(n){this._viewContainerRef=n}ngOnChanges(n){if(this._shouldRecreateView(n)){let r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,r,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,o):!1,get:(n,r,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,o)}})}static \u0275fac=function(r){return new(r||e)(ae(Fn))};static \u0275dir=Do({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[bc]})}return e})();function $D(e,t){return new M(2100,!1)}var ia=class{createSubscription(t,n){return na(()=>t.subscribe({next:n,error:r=>{throw r}}))}dispose(t){na(()=>t.unsubscribe())}},sa=class{createSubscription(t,n){return t.then(n,r=>{throw r})}dispose(t){}},UD=new sa,zD=new ia,DT=(()=>{class e{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;constructor(n){this._ref=n}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(n){if(!this._obj){if(n)try{this.markForCheckOnValueUpdate=!1,this._subscribe(n)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return n!==this._obj?(this._dispose(),this.transform(n)):this._latestValue}_subscribe(n){this._obj=n,this._strategy=this._selectStrategy(n),this._subscription=this._strategy.createSubscription(n,r=>this._updateLatestValue(n,r))}_selectStrategy(n){if(Io(n))return UD;if(Ks(n))return zD;throw $D(e,n)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(n,r){n===this._obj&&(this._latestValue=r,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(r){return new(r||e)(ae(wo,16))};static \u0275pipe=md({name:"async",type:e,pure:!1})}return e})();var IT=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=gd({type:e});static \u0275inj=ec({})}return e})(),GD="browser",qD="server";function ET(e){return e===GD}function wT(e){return e===qD}var nf=class{};var Oe=function(e){return e[e.State=0]="State",e[e.Transition=1]="Transition",e[e.Sequence=2]="Sequence",e[e.Group=3]="Group",e[e.Animate=4]="Animate",e[e.Keyframes=5]="Keyframes",e[e.Style=6]="Style",e[e.Trigger=7]="Trigger",e[e.Reference=8]="Reference",e[e.AnimateChild=9]="AnimateChild",e[e.AnimateRef=10]="AnimateRef",e[e.Query=11]="Query",e[e.Stagger=12]="Stagger",e}(Oe||{}),_T="*";function MT(e,t){return{type:Oe.Trigger,name:e,definitions:t,options:{}}}function ST(e,t=null){return{type:Oe.Animate,styles:t,timings:e}}function TT(e,t=null){return{type:Oe.Sequence,steps:e,options:t}}function xT(e){return{type:Oe.Style,styles:e,offset:null}}function NT(e,t,n){return{type:Oe.State,name:e,styles:t,options:n}}function AT(e,t,n=null){return{type:Oe.Transition,expr:e,animation:t,options:n}}function OT(e=null){return{type:Oe.AnimateChild,options:e}}function FT(e,t,n=null){return{type:Oe.Query,selector:e,animation:t,options:n}}var uf=class{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(t=0,n=0){this.totalTime=t+n}_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(){queueMicrotask(()=>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){let n=t=="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},cf=class{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(t){this.players=t;let n=0,r=0,o=0,i=this.players.length;i==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++n==i&&this._onFinish()}),s.onDestroy(()=>{++r==i&&this._onDestroy()}),s.onStart(()=>{++o==i&&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){let n=t*this.totalTime;this.players.forEach(r=>{let o=r.totalTime?Math.min(1,n/r.totalTime):1;r.setPosition(o)})}getPosition(){let t=this.players.reduce((n,r)=>n===null||r.totalTime>n.totalTime?r:n,null);return t!=null?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){let n=t=="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},RT="!";export{Z as a,Y as b,WD as c,da as d,L as e,bf as f,S as g,Ho as h,$o as i,Q as j,tn as k,Nf as l,Ke as m,ye as n,jf as o,Vf as p,Bf as q,Xe as r,_e as s,Zf as t,le as u,sn as v,Nt as w,Qf as x,Kf as y,qo as z,an as A,op as B,et as C,ip as D,Xa as E,sp as F,tu as G,un as H,At as I,Wo as J,ap as K,up as L,dp as M,ru as N,Yo as O,fp as P,pp as Q,hp as R,Ko as S,gp as T,mp as U,yp as V,ou as W,iu as X,vp as Y,Dp as Z,M as _,Ju as $,F as aa,ec as ba,HS as ca,N as da,_ as ea,te as fa,C as ga,Yp as ha,Qp as ia,mc as ja,je as ka,vc as la,bc as ma,$S as na,US as oa,zS as pa,GS as qa,qS as ra,ol as sa,Ee as ta,vu as ua,lt as va,Sn as wa,Re as xa,ee as ya,dt as za,WS as Aa,ze as Ba,Ni as Ca,ZS as Da,YS as Ea,lg as Fa,dg as Ga,QS as Ha,KS as Ia,he as Ja,yg as Ka,vg as La,yn as Ma,Tn as Na,El as Oa,JS as Pa,XS as Qa,e0 as Ra,t0 as Sa,n0 as Ta,wl as Ua,r0 as Va,Bs as Wa,o0 as Xa,vn as Ya,i0 as Za,ae as _a,s0 as $a,In as ab,He as bb,Wi as cb,zr as db,vo as eb,Dy as fb,u0 as gb,gd as hb,Do as ib,c0 as jb,by as kb,Io as lb,Sy as mb,Eo as nb,Fn as ob,Zy as pb,f0 as qb,nv as rb,uv as sb,fv as tb,gv as ub,Mv as vb,kd as wb,Sv as xb,p0 as yb,h0 as zb,g0 as Ab,m0 as Bb,y0 as Cb,v0 as Db,D0 as Eb,Ud as Fb,zd as Gb,Bv as Hb,I0 as Ib,$v as Jb,qv as Kb,E0 as Lb,w0 as Mb,C0 as Nb,b0 as Ob,_0 as Pb,M0 as Qb,S0 as Rb,T0 as Sb,x0 as Tb,N0 as Ub,A0 as Vb,Jv as Wb,qd as Xb,Xv as Yb,O0 as Zb,eD as _b,F0 as $b,R0 as ac,k0 as bc,P0 as cc,L0 as dc,j0 as ec,V0 as fc,wo as gc,B0 as hc,ED as ic,wD as jc,H0 as kc,na as lc,xD as mc,$0 as nc,ra as oc,hT as pc,Jd as qc,of as rc,aa as sc,jD as tc,gT as uc,mT as vc,yT as wc,vT as xc,DT as yc,IT as zc,GD as Ac,ET as Bc,wT as Cc,nf as Dc,Oe as Ec,_T as Fc,MT as Gc,ST as Hc,TT as Ic,xT as Jc,NT as Kc,AT as Lc,OT as Mc,FT as Nc,uf as Oc,cf as Pc,RT as Qc}; diff --git a/chunk-UBXIFTQO.js b/chunk-UBXIFTQO.js deleted file mode 100644 index 00484b6..0000000 --- a/chunk-UBXIFTQO.js +++ /dev/null @@ -1 +0,0 @@ -import{$ as gt,Ac as yt,Bc as Me,Gc as x,Hc as Ce,Ic as ue,Z as S,a as he,c as pt,wc as E,xc as B}from"./chunk-6X2S33CO.js";function _t(n){return new S(3e3,!1)}function Ht(){return new S(3100,!1)}function Yt(){return new S(3101,!1)}function Xt(n){return new S(3001,!1)}function Zt(n){return new S(3003,!1)}function Jt(n){return new S(3004,!1)}function xt(n,e){return new S(3005,!1)}function es(){return new S(3006,!1)}function ts(){return new S(3007,!1)}function ss(n,e){return new S(3008,!1)}function is(n){return new S(3002,!1)}function ns(n,e,t,s,i){return new S(3010,!1)}function rs(){return new S(3011,!1)}function as(){return new S(3012,!1)}function os(){return new S(3200,!1)}function ls(){return new S(3202,!1)}function hs(){return new S(3013,!1)}function us(n){return new S(3014,!1)}function cs(n){return new S(3015,!1)}function fs(n){return new S(3016,!1)}function ds(n){return new S(3500,!1)}function ms(n){return new S(3501,!1)}function ps(n,e){return new S(3404,!1)}function gs(n){return new S(3502,!1)}function ys(n){return new S(3503,!1)}function _s(){return new S(3300,!1)}function Ss(n){return new S(3504,!1)}function Es(n){return new S(3301,!1)}function Ts(n,e){return new S(3302,!1)}function vs(n){return new S(3303,!1)}function ws(n,e){return new S(3400,!1)}function bs(n){return new S(3401,!1)}function As(n){return new S(3402,!1)}function Ps(n,e){return new S(3505,!1)}var Ns=new Set(["-moz-outline-radius","-moz-outline-radius-bottomleft","-moz-outline-radius-bottomright","-moz-outline-radius-topleft","-moz-outline-radius-topright","-ms-grid-columns","-ms-grid-rows","-webkit-line-clamp","-webkit-text-fill-color","-webkit-text-stroke","-webkit-text-stroke-color","accent-color","all","backdrop-filter","background","background-color","background-position","background-size","block-size","border","border-block-end","border-block-end-color","border-block-end-width","border-block-start","border-block-start-color","border-block-start-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-width","border-color","border-end-end-radius","border-end-start-radius","border-image-outset","border-image-slice","border-image-width","border-inline-end","border-inline-end-color","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-width","border-left","border-left-color","border-left-width","border-radius","border-right","border-right-color","border-right-width","border-start-end-radius","border-start-start-radius","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-width","border-width","bottom","box-shadow","caret-color","clip","clip-path","color","column-count","column-gap","column-rule","column-rule-color","column-rule-width","column-width","columns","filter","flex","flex-basis","flex-grow","flex-shrink","font","font-size","font-size-adjust","font-stretch","font-variation-settings","font-weight","gap","grid-column-gap","grid-gap","grid-row-gap","grid-template-columns","grid-template-rows","height","inline-size","input-security","inset","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","left","letter-spacing","line-clamp","line-height","margin","margin-block-end","margin-block-start","margin-bottom","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","mask","mask-border","mask-position","mask-size","max-block-size","max-height","max-inline-size","max-lines","max-width","min-block-size","min-height","min-inline-size","min-width","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","outline","outline-color","outline-offset","outline-width","padding","padding-block-end","padding-block-start","padding-bottom","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","perspective","perspective-origin","right","rotate","row-gap","scale","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-coordinate","scroll-snap-destination","scrollbar-color","shape-image-threshold","shape-margin","shape-outside","tab-size","text-decoration","text-decoration-color","text-decoration-thickness","text-emphasis","text-emphasis-color","text-indent","text-shadow","text-underline-offset","top","transform","transform-origin","translate","vertical-align","visibility","width","word-spacing","z-index","zoom"]);function U(n){switch(n.length){case 0:return new x;case 1:return n[0];default:return new Ce(n)}}function It(n,e,t=new Map,s=new Map){let i=[],r=[],a=-1,o=null;if(e.forEach(l=>{let h=l.get("offset"),c=h==a,u=c&&o||new Map;l.forEach((_,y)=>{let d=y,g=_;if(y!=="offset")switch(d=n.normalizePropertyName(d,i),g){case ue:g=t.get(y);break;case B:g=s.get(y);break;default:g=n.normalizeStyleValue(y,d,g,i);break}u.set(d,g)}),c||r.push(u),o=u,a=h}),i.length)throw gs(i);return r}function tt(n,e,t,s){switch(e){case"start":n.onStart(()=>s(t&&ke(t,"start",n)));break;case"done":n.onDone(()=>s(t&&ke(t,"done",n)));break;case"destroy":n.onDestroy(()=>s(t&&ke(t,"destroy",n)));break}}function ke(n,e,t){let s=t.totalTime,i=!!t.disabled,r=st(n.element,n.triggerName,n.fromState,n.toState,e||n.phaseName,s??n.totalTime,i),a=n._data;return a!=null&&(r._data=a),r}function st(n,e,t,s,i="",r=0,a){return{element:n,triggerName:e,fromState:t,toState:s,phaseName:i,totalTime:r,disabled:!!a}}function L(n,e,t){let s=n.get(e);return s||n.set(e,s=t),s}function St(n){let e=n.indexOf(":"),t=n.substring(1,e),s=n.slice(e+1);return[t,s]}var Ms=typeof document>"u"?null:document.documentElement;function it(n){let e=n.parentNode||n.host||null;return e===Ms?null:e}function Cs(n){return n.substring(1,6)=="ebkit"}var H=null,Et=!1;function ks(n){H||(H=Ds()||{},Et=H.style?"WebkitAppearance"in H.style:!1);let e=!0;return H.style&&!Cs(n)&&(e=n in H.style,!e&&Et&&(e="Webkit"+n.charAt(0).toUpperCase()+n.slice(1)in H.style)),e}function Ai(n){return Ns.has(n)}function Ds(){return typeof document<"u"?document.body:null}function zt(n,e){for(;e;){if(e===n)return!0;e=it(e)}return!1}function Kt(n,e,t){if(t)return Array.from(n.querySelectorAll(e));let s=n.querySelector(e);return s?[s]:[]}var qt=(()=>{let e=class e{validateStyleProperty(s){return ks(s)}containsElement(s,i){return zt(s,i)}getParentElement(s){return it(s)}query(s,i,r){return Kt(s,i,r)}computeStyle(s,i,r){return r||""}animate(s,i,r,a,o,l=[],h){return new x(r,a)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=gt({token:e,factory:e.\u0275fac});let n=e;return n})(),ut=class ut{};ut.NOOP=new qt;var Tt=ut,Ie=class{},ze=class{normalizePropertyName(e,t){return e}normalizeStyleValue(e,t,s,i){return s}},Rs=1e3,Bt="{{",Os="}}",nt="ng-enter",ge="ng-leave",ce="ng-trigger",ye=".ng-trigger",vt="ng-animating",Ke=".ng-animating";function $(n){if(typeof n=="number")return n;let e=n.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:qe(parseFloat(e[1]),e[2])}function qe(n,e){switch(e){case"s":return n*Rs;default:return n}}function _e(n,e,t){return n.hasOwnProperty("duration")?n:Ls(n,e,t)}function Ls(n,e,t){let s=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,i,r=0,a="";if(typeof n=="string"){let o=n.match(s);if(o===null)return e.push(_t(n)),{duration:0,delay:0,easing:""};i=qe(parseFloat(o[1]),o[2]);let l=o[3];l!=null&&(r=qe(parseFloat(l),o[4]));let h=o[5];h&&(a=h)}else i=n;if(!t){let o=!1,l=e.length;i<0&&(e.push(Ht()),o=!0),r<0&&(e.push(Yt()),o=!0),o&&e.splice(l,0,_t(n))}return{duration:i,delay:r,easing:a}}function Fs(n){return n.length?n[0]instanceof Map?n:n.map(e=>new Map(Object.entries(e))):[]}function wt(n){return Array.isArray(n)?new Map(...n):new Map(n)}function Q(n,e,t){e.forEach((s,i)=>{let r=rt(i);t&&!t.has(i)&&t.set(i,n.style[r]),n.style[r]=s})}function X(n,e){e.forEach((t,s)=>{let i=rt(s);n.style[i]=""})}function ie(n){return Array.isArray(n)?n.length==1?n[0]:yt(n):n}function Is(n,e,t){let s=e.params||{},i=Qt(n);i.length&&i.forEach(r=>{s.hasOwnProperty(r)||t.push(Xt(r))})}var Be=new RegExp(`${Bt}\\s*(.+?)\\s*${Os}`,"g");function Qt(n){let e=[];if(typeof n=="string"){let t;for(;t=Be.exec(n);)e.push(t[1]);Be.lastIndex=0}return e}function re(n,e,t){let s=`${n}`,i=s.replace(Be,(r,a)=>{let o=e[a];return o==null&&(t.push(Zt(a)),o=""),o.toString()});return i==s?n:i}var zs=/-+([a-z0-9])/g;function rt(n){return n.replace(zs,(...e)=>e[1].toUpperCase())}function Pi(n){return n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Ks(n,e){return n===0||e===0}function qs(n,e,t){if(t.size&&e.length){let s=e[0],i=[];if(t.forEach((r,a)=>{s.has(a)||i.push(a),s.set(a,r)}),i.length)for(let r=1;ra.set(o,at(n,o)))}}return e}function O(n,e,t){switch(e.type){case E.Trigger:return n.visitTrigger(e,t);case E.State:return n.visitState(e,t);case E.Transition:return n.visitTransition(e,t);case E.Sequence:return n.visitSequence(e,t);case E.Group:return n.visitGroup(e,t);case E.Animate:return n.visitAnimate(e,t);case E.Keyframes:return n.visitKeyframes(e,t);case E.Style:return n.visitStyle(e,t);case E.Reference:return n.visitReference(e,t);case E.AnimateChild:return n.visitAnimateChild(e,t);case E.AnimateRef:return n.visitAnimateRef(e,t);case E.Query:return n.visitQuery(e,t);case E.Stagger:return n.visitStagger(e,t);default:throw Jt(e.type)}}function at(n,e){return window.getComputedStyle(n)[e]}var Bs=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"]),Qe=class extends Ie{normalizePropertyName(e,t){return rt(e)}normalizeStyleValue(e,t,s,i){let r="",a=s.toString().trim();if(Bs.has(t)&&s!==0&&s!=="0")if(typeof s=="number")r="px";else{let o=s.match(/^[+-]?[\d\.]+([a-z]*)$/);o&&o[1].length==0&&i.push(xt(e,s))}return a+r}};var Se="*";function Qs(n,e){let t=[];return typeof n=="string"?n.split(/\s*,\s*/).forEach(s=>$s(s,t,e)):t.push(n),t}function $s(n,e,t){if(n[0]==":"){let l=Vs(n,t);if(typeof l=="function"){e.push(l);return}n=l}let s=n.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(s==null||s.length<4)return t.push(cs(n)),e;let i=s[1],r=s[2],a=s[3];e.push(bt(i,a));let o=i==Se&&a==Se;r[0]=="<"&&!o&&e.push(bt(a,i))}function Vs(n,e){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,s)=>parseFloat(s)>parseFloat(t);case":decrement":return(t,s)=>parseFloat(s) *"}}var fe=new Set(["true","1"]),de=new Set(["false","0"]);function bt(n,e){let t=fe.has(n)||de.has(n),s=fe.has(e)||de.has(e);return(i,r)=>{let a=n==Se||n==i,o=e==Se||e==r;return!a&&t&&typeof i=="boolean"&&(a=i?fe.has(n):de.has(n)),!o&&s&&typeof r=="boolean"&&(o=r?fe.has(e):de.has(e)),a&&o}}var $t=":self",Us=new RegExp(`s*${$t}s*,?`,"g");function ot(n,e,t,s){return new $e(n).build(e,t,s)}var At="",$e=class{constructor(e){this._driver=e}build(e,t,s){let i=new Ve(t);return this._resetContextStyleTimingState(i),O(this,ie(e),i)}_resetContextStyleTimingState(e){e.currentQuerySelector=At,e.collectedStyles=new Map,e.collectedStyles.set(At,new Map),e.currentTime=0}visitTrigger(e,t){let s=t.queryCount=0,i=t.depCount=0,r=[],a=[];return e.name.charAt(0)=="@"&&t.errors.push(es()),e.definitions.forEach(o=>{if(this._resetContextStyleTimingState(t),o.type==E.State){let l=o,h=l.name;h.toString().split(/\s*,\s*/).forEach(c=>{l.name=c,r.push(this.visitState(l,t))}),l.name=h}else if(o.type==E.Transition){let l=this.visitTransition(o,t);s+=l.queryCount,i+=l.depCount,a.push(l)}else t.errors.push(ts())}),{type:E.Trigger,name:e.name,states:r,transitions:a,queryCount:s,depCount:i,options:null}}visitState(e,t){let s=this.visitStyle(e.styles,t),i=e.options&&e.options.params||null;if(s.containsDynamicStyles){let r=new Set,a=i||{};s.styles.forEach(o=>{o instanceof Map&&o.forEach(l=>{Qt(l).forEach(h=>{a.hasOwnProperty(h)||r.add(h)})})}),r.size&&t.errors.push(ss(e.name,[...r.values()]))}return{type:E.State,name:e.name,style:s,options:i?{params:i}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;let s=O(this,ie(e.animation),t),i=Qs(e.expr,t.errors);return{type:E.Transition,matchers:i,animation:s,queryCount:t.queryCount,depCount:t.depCount,options:Y(e.options)}}visitSequence(e,t){return{type:E.Sequence,steps:e.steps.map(s=>O(this,s,t)),options:Y(e.options)}}visitGroup(e,t){let s=t.currentTime,i=0,r=e.steps.map(a=>{t.currentTime=s;let o=O(this,a,t);return i=Math.max(i,t.currentTime),o});return t.currentTime=i,{type:E.Group,steps:r,options:Y(e.options)}}visitAnimate(e,t){let s=Hs(e.timings,t.errors);t.currentAnimateTimings=s;let i,r=e.styles?e.styles:Me({});if(r.type==E.Keyframes)i=this.visitKeyframes(r,t);else{let a=e.styles,o=!1;if(!a){o=!0;let h={};s.easing&&(h.easing=s.easing),a=Me(h)}t.currentTime+=s.duration+s.delay;let l=this.visitStyle(a,t);l.isEmptyStep=o,i=l}return t.currentAnimateTimings=null,{type:E.Animate,timings:s,style:i,options:null}}visitStyle(e,t){let s=this._makeStyleAst(e,t);return this._validateStyleAst(s,t),s}_makeStyleAst(e,t){let s=[],i=Array.isArray(e.styles)?e.styles:[e.styles];for(let o of i)typeof o=="string"?o===B?s.push(o):t.errors.push(is(o)):s.push(new Map(Object.entries(o)));let r=!1,a=null;return s.forEach(o=>{if(o instanceof Map&&(o.has("easing")&&(a=o.get("easing"),o.delete("easing")),!r)){for(let l of o.values())if(l.toString().indexOf(Bt)>=0){r=!0;break}}}),{type:E.Style,styles:s,easing:a,offset:e.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(e,t){let s=t.currentAnimateTimings,i=t.currentTime,r=t.currentTime;s&&r>0&&(r-=s.duration+s.delay),e.styles.forEach(a=>{typeof a!="string"&&a.forEach((o,l)=>{let h=t.collectedStyles.get(t.currentQuerySelector),c=h.get(l),u=!0;c&&(r!=i&&r>=c.startTime&&i<=c.endTime&&(t.errors.push(ns(l,c.startTime,c.endTime,r,i)),u=!1),r=c.startTime),u&&h.set(l,{startTime:r,endTime:i}),t.options&&Is(o,t.options,t.errors)})})}visitKeyframes(e,t){let s={type:E.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(rs()),s;let i=1,r=0,a=[],o=!1,l=!1,h=0,c=e.steps.map(b=>{let A=this._makeStyleAst(b,t),C=A.offset!=null?A.offset:Gs(A.styles),N=0;return C!=null&&(r++,N=A.offset=C),l=l||N<0||N>1,o=o||N0&&r{let C=_>0?A==y?1:_*A:a[A],N=C*v;t.currentTime=d+g.delay+N,g.duration=N,this._validateStyleAst(b,t),b.offset=C,s.styles.push(b)}),s}visitReference(e,t){return{type:E.Reference,animation:O(this,ie(e.animation),t),options:Y(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:E.AnimateChild,options:Y(e.options)}}visitAnimateRef(e,t){return{type:E.AnimateRef,animation:this.visitReference(e.animation,t),options:Y(e.options)}}visitQuery(e,t){let s=t.currentQuerySelector,i=e.options||{};t.queryCount++,t.currentQuery=e;let[r,a]=js(e.selector);t.currentQuerySelector=s.length?s+" "+r:r,L(t.collectedStyles,t.currentQuerySelector,new Map);let o=O(this,ie(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=s,{type:E.Query,selector:r,limit:i.limit||0,optional:!!i.optional,includeSelf:a,animation:o,originalSelector:e.selector,options:Y(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(hs());let s=e.timings==="full"?{duration:0,delay:0,easing:"full"}:_e(e.timings,t.errors,!0);return{type:E.Stagger,animation:O(this,ie(e.animation),t),timings:s,options:null}}};function js(n){let e=!!n.split(/\s*,\s*/).find(t=>t==$t);return e&&(n=n.replace(Us,"")),n=n.replace(/@\*/g,ye).replace(/@\w+/g,t=>ye+"-"+t.slice(1)).replace(/:animating/g,Ke),[n,e]}function Ws(n){return n?he({},n):null}var Ve=class{constructor(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}};function Gs(n){if(typeof n=="string")return null;let e=null;if(Array.isArray(n))n.forEach(t=>{if(t instanceof Map&&t.has("offset")){let s=t;e=parseFloat(s.get("offset")),s.delete("offset")}});else if(n instanceof Map&&n.has("offset")){let t=n;e=parseFloat(t.get("offset")),t.delete("offset")}return e}function Hs(n,e){if(n.hasOwnProperty("duration"))return n;if(typeof n=="number"){let r=_e(n,e).duration;return De(r,0,"")}let t=n;if(t.split(/\s+/).some(r=>r.charAt(0)=="{"&&r.charAt(1)=="{")){let r=De(0,0,"");return r.dynamic=!0,r.strValue=t,r}let i=_e(t,e);return De(i.duration,i.delay,i.easing)}function Y(n){return n?(n=he({},n),n.params&&(n.params=Ws(n.params))):n={},n}function De(n,e,t){return{duration:n,delay:e,easing:t}}function lt(n,e,t,s,i,r,a=null,o=!1){return{type:1,element:n,keyframes:e,preStyleProps:t,postStyleProps:s,duration:i,delay:r,totalTime:i+r,easing:a,subTimeline:o}}var se=class{constructor(){this._map=new Map}get(e){return this._map.get(e)||[]}append(e,t){let s=this._map.get(e);s||this._map.set(e,s=[]),s.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}},Ys=1,Xs=":enter",Zs=new RegExp(Xs,"g"),Js=":leave",xs=new RegExp(Js,"g");function ht(n,e,t,s,i,r=new Map,a=new Map,o,l,h=[]){return new Ue().buildKeyframes(n,e,t,s,i,r,a,o,l,h)}var Ue=class{buildKeyframes(e,t,s,i,r,a,o,l,h,c=[]){h=h||new se;let u=new je(e,t,h,i,r,c,[]);u.options=l;let _=l.delay?$(l.delay):0;u.currentTimeline.delayNextStep(_),u.currentTimeline.setStyles([a],null,u.errors,l),O(this,s,u);let y=u.timelines.filter(d=>d.containsAnimation());if(y.length&&o.size){let d;for(let g=y.length-1;g>=0;g--){let v=y[g];if(v.element===t){d=v;break}}d&&!d.allowOnlyTimelineStyles()&&d.setStyles([o],null,u.errors,l)}return y.length?y.map(d=>d.buildKeyframes()):[lt(t,[],[],[],0,_,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){let s=t.subInstructions.get(t.element);if(s){let i=t.createSubContext(e.options),r=t.currentTimeline.currentTime,a=this._visitSubInstructions(s,i,i.options);r!=a&&t.transformIntoNewTimeline(a)}t.previousNode=e}visitAnimateRef(e,t){let s=t.createSubContext(e.options);s.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],t,s),this.visitReference(e.animation,s),t.transformIntoNewTimeline(s.currentTimeline.currentTime),t.previousNode=e}_applyAnimationRefDelays(e,t,s){for(let i of e){let r=i?.delay;if(r){let a=typeof r=="number"?r:$(re(r,i?.params??{},t.errors));s.delayNextStep(a)}}}_visitSubInstructions(e,t,s){let r=t.currentTimeline.currentTime,a=s.duration!=null?$(s.duration):null,o=s.delay!=null?$(s.delay):null;return a!==0&&e.forEach(l=>{let h=t.appendInstructionToTimeline(l,a,o);r=Math.max(r,h.duration+h.delay)}),r}visitReference(e,t){t.updateOptions(e.options,!0),O(this,e.animation,t),t.previousNode=e}visitSequence(e,t){let s=t.subContextCount,i=t,r=e.options;if(r&&(r.params||r.delay)&&(i=t.createSubContext(r),i.transformIntoNewTimeline(),r.delay!=null)){i.previousNode.type==E.Style&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=Ee);let a=$(r.delay);i.delayNextStep(a)}e.steps.length&&(e.steps.forEach(a=>O(this,a,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>s&&i.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){let s=[],i=t.currentTimeline.currentTime,r=e.options&&e.options.delay?$(e.options.delay):0;e.steps.forEach(a=>{let o=t.createSubContext(e.options);r&&o.delayNextStep(r),O(this,a,o),i=Math.max(i,o.currentTimeline.currentTime),s.push(o.currentTimeline)}),s.forEach(a=>t.currentTimeline.mergeTimelineCollectedStyles(a)),t.transformIntoNewTimeline(i),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){let s=e.strValue,i=t.params?re(s,t.params,t.errors):s;return _e(i,t.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){let s=t.currentAnimateTimings=this._visitTiming(e.timings,t),i=t.currentTimeline;s.delay&&(t.incrementTime(s.delay),i.snapshotCurrentStyles());let r=e.style;r.type==E.Keyframes?this.visitKeyframes(r,t):(t.incrementTime(s.duration),this.visitStyle(r,t),i.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){let s=t.currentTimeline,i=t.currentAnimateTimings;!i&&s.hasCurrentStyleProperties()&&s.forwardFrame();let r=i&&i.easing||e.easing;e.isEmptyStep?s.applyEmptyStep(r):s.setStyles(e.styles,r,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){let s=t.currentAnimateTimings,i=t.currentTimeline.duration,r=s.duration,o=t.createSubContext().currentTimeline;o.easing=s.easing,e.styles.forEach(l=>{let h=l.offset||0;o.forwardTime(h*r),o.setStyles(l.styles,l.easing,t.errors,t.options),o.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(o),t.transformIntoNewTimeline(i+r),t.previousNode=e}visitQuery(e,t){let s=t.currentTimeline.currentTime,i=e.options||{},r=i.delay?$(i.delay):0;r&&(t.previousNode.type===E.Style||s==0&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Ee);let a=s,o=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!i.optional,t.errors);t.currentQueryTotal=o.length;let l=null;o.forEach((h,c)=>{t.currentQueryIndex=c;let u=t.createSubContext(e.options,h);r&&u.delayNextStep(r),h===t.element&&(l=u.currentTimeline),O(this,e.animation,u),u.currentTimeline.applyStylesToKeyframe();let _=u.currentTimeline.currentTime;a=Math.max(a,_)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(a),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){let s=t.parentContext,i=t.currentTimeline,r=e.timings,a=Math.abs(r.duration),o=a*(t.currentQueryTotal-1),l=a*t.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":l=o-l;break;case"full":l=s.currentStaggerTime;break}let c=t.currentTimeline;l&&c.delayNextStep(l);let u=c.currentTime;O(this,e.animation,t),t.previousNode=e,s.currentStaggerTime=i.currentTime-u+(i.startTime-s.currentTimeline.startTime)}},Ee={},je=class n{constructor(e,t,s,i,r,a,o,l){this._driver=e,this.element=t,this.subInstructions=s,this._enterClassName=i,this._leaveClassName=r,this.errors=a,this.timelines=o,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Ee,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new Te(this._driver,t,0),o.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;let s=e,i=this.options;s.duration!=null&&(i.duration=$(s.duration)),s.delay!=null&&(i.delay=$(s.delay));let r=s.params;if(r){let a=i.params;a||(a=this.options.params={}),Object.keys(r).forEach(o=>{(!t||!a.hasOwnProperty(o))&&(a[o]=re(r[o],a,this.errors))})}}_copyOptions(){let e={};if(this.options){let t=this.options.params;if(t){let s=e.params={};Object.keys(t).forEach(i=>{s[i]=t[i]})}}return e}createSubContext(e=null,t,s){let i=t||this.element,r=new n(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,s||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(e),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(e){return this.previousNode=Ee,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,s){let i={duration:t??e.duration,delay:this.currentTimeline.currentTime+(s??0)+e.delay,easing:""},r=new We(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,i,e.stretchStartingKeyframe);return this.timelines.push(r),i}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,s,i,r,a){let o=[];if(i&&o.push(this.element),e.length>0){e=e.replace(Zs,"."+this._enterClassName),e=e.replace(xs,"."+this._leaveClassName);let l=s!=1,h=this._driver.query(this.element,e,l);s!==0&&(h=s<0?h.slice(h.length+s,h.length):h.slice(0,s)),o.push(...h)}return!r&&o.length==0&&a.push(us(t)),o}},Te=class n{constructor(e,t,s,i){this._driver=e,this.element=t,this.startTime=s,this._elementTimelineStylesLookup=i,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(e){let t=this._keyframes.size===1&&this._pendingStyles.size;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,t){return this.applyStylesToKeyframe(),new n(this._driver,e,t||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+=Ys,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,t){this._localTimelineStyles.set(e,t),this._globalTimelineStyles.set(e,t),this._styleSummary.set(e,{time:this.currentTime,value:t})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[t,s]of this._globalTimelineStyles)this._backFill.set(t,s||B),this._currentKeyframe.set(t,B);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,s,i){t&&this._previousKeyframe.set("easing",t);let r=i&&i.params||{},a=ei(e,this._globalTimelineStyles);for(let[o,l]of a){let h=re(l,r,s);this._pendingStyles.set(o,h),this._localTimelineStyles.has(o)||this._backFill.set(o,this._globalTimelineStyles.get(o)??B),this._updateStyle(o,h)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((e,t)=>{this._currentKeyframe.set(t,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,t)=>{this._currentKeyframe.has(t)||this._currentKeyframe.set(t,e)}))}snapshotCurrentStyles(){for(let[e,t]of this._localTimelineStyles)this._pendingStyles.set(e,t),this._updateStyle(e,t)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let e=[];for(let t in this._currentKeyframe)e.push(t);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((t,s)=>{let i=this._styleSummary.get(s);(!i||t.time>i.time)&&this._updateStyle(s,t.value)})}buildKeyframes(){this.applyStylesToKeyframe();let e=new Set,t=new Set,s=this._keyframes.size===1&&this.duration===0,i=[];this._keyframes.forEach((o,l)=>{let h=new Map([...this._backFill,...o]);h.forEach((c,u)=>{c===ue?e.add(u):c===B&&t.add(u)}),s||h.set("offset",l/this.duration),i.push(h)});let r=[...e.values()],a=[...t.values()];if(s){let o=i[0],l=new Map(o);o.set("offset",0),l.set("offset",1),i=[o,l]}return lt(this.element,i,r,a,this.duration,this.startTime,this.easing,!1)}},We=class extends Te{constructor(e,t,s,i,r,a,o=!1){super(e,t,a.delay),this.keyframes=s,this.preStyleProps=i,this.postStyleProps=r,this._stretchStartingKeyframe=o,this.timings={duration:a.duration,delay:a.delay,easing:a.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:s,easing:i}=this.timings;if(this._stretchStartingKeyframe&&t){let r=[],a=s+t,o=t/a,l=new Map(e[0]);l.set("offset",0),r.push(l);let h=new Map(e[0]);h.set("offset",Pt(o)),r.push(h);let c=e.length-1;for(let u=1;u<=c;u++){let _=new Map(e[u]),y=_.get("offset"),d=t+y*s;_.set("offset",Pt(d/a)),r.push(_)}s=a,t=0,i="",e=r}return lt(this.element,e,this.preStyleProps,this.postStyleProps,s,t,i,!0)}};function Pt(n,e=3){let t=Math.pow(10,e-1);return Math.round(n*t)/t}function ei(n,e){let t=new Map,s;return n.forEach(i=>{if(i==="*"){s??=e.keys();for(let r of s)t.set(r,B)}else for(let[r,a]of i)t.set(r,a)}),t}function Nt(n,e,t,s,i,r,a,o,l,h,c,u,_){return{type:0,element:n,triggerName:e,isRemovalTransition:i,fromState:t,fromStyles:r,toState:s,toStyles:a,timelines:o,queriedElements:l,preStyleProps:h,postStyleProps:c,totalTime:u,errors:_}}var Re={},ve=class{constructor(e,t,s){this._triggerName=e,this.ast=t,this._stateStyles=s}match(e,t,s,i){return ti(this.ast.matchers,e,t,s,i)}buildStyles(e,t,s){let i=this._stateStyles.get("*");return e!==void 0&&(i=this._stateStyles.get(e?.toString())||i),i?i.buildStyles(t,s):new Map}build(e,t,s,i,r,a,o,l,h,c){let u=[],_=this.ast.options&&this.ast.options.params||Re,y=o&&o.params||Re,d=this.buildStyles(s,y,u),g=l&&l.params||Re,v=this.buildStyles(i,g,u),b=new Set,A=new Map,C=new Map,N=i==="void",Z={params:Vt(g,_),delay:this.ast.options?.delay},K=c?[]:ht(e,t,this.ast.animation,r,a,d,v,Z,h,u),k=0;return K.forEach(D=>{k=Math.max(D.duration+D.delay,k)}),u.length?Nt(t,this._triggerName,s,i,N,d,v,[],[],A,C,k,u):(K.forEach(D=>{let j=D.element,J=L(A,j,new Set);D.preStyleProps.forEach(W=>J.add(W));let ct=L(C,j,new Set);D.postStyleProps.forEach(W=>ct.add(W)),j!==t&&b.add(j)}),Nt(t,this._triggerName,s,i,N,d,v,K,[...b.values()],A,C,k))}};function ti(n,e,t,s,i){return n.some(r=>r(e,t,s,i))}function Vt(n,e){let t=he({},e);return Object.entries(n).forEach(([s,i])=>{i!=null&&(t[s]=i)}),t}var Ge=class{constructor(e,t,s){this.styles=e,this.defaultParams=t,this.normalizer=s}buildStyles(e,t){let s=new Map,i=Vt(e,this.defaultParams);return this.styles.styles.forEach(r=>{typeof r!="string"&&r.forEach((a,o)=>{a&&(a=re(a,i,t));let l=this.normalizer.normalizePropertyName(o,t);a=this.normalizer.normalizeStyleValue(o,l,a,t),s.set(o,a)})}),s}};function si(n,e,t){return new He(n,e,t)}var He=class{constructor(e,t,s){this.name=e,this.ast=t,this._normalizer=s,this.transitionFactories=[],this.states=new Map,t.states.forEach(i=>{let r=i.options&&i.options.params||{};this.states.set(i.name,new Ge(i.style,r,s))}),Mt(this.states,"true","1"),Mt(this.states,"false","0"),t.transitions.forEach(i=>{this.transitionFactories.push(new ve(e,i,this.states))}),this.fallbackTransition=ii(e,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,s,i){return this.transitionFactories.find(a=>a.match(e,t,s,i))||null}matchStyles(e,t,s){return this.fallbackTransition.buildStyles(e,t,s)}};function ii(n,e,t){let s=[(a,o)=>!0],i={type:E.Sequence,steps:[],options:null},r={type:E.Transition,animation:i,matchers:s,options:null,queryCount:0,depCount:0};return new ve(n,r,e)}function Mt(n,e,t){n.has(e)?n.has(t)||n.set(t,n.get(e)):n.has(t)&&n.set(e,n.get(t))}var ni=new se,Ye=class{constructor(e,t,s){this.bodyNode=e,this._driver=t,this._normalizer=s,this._animations=new Map,this._playersById=new Map,this.players=[]}register(e,t){let s=[],i=[],r=ot(this._driver,t,s,i);if(s.length)throw ys(s);i.length&&void 0,this._animations.set(e,r)}_buildPlayer(e,t,s){let i=e.element,r=It(this._normalizer,e.keyframes,t,s);return this._driver.animate(i,r,e.duration,e.delay,e.easing,[],!0)}create(e,t,s={}){let i=[],r=this._animations.get(e),a,o=new Map;if(r?(a=ht(this._driver,t,r,nt,ge,new Map,new Map,s,ni,i),a.forEach(c=>{let u=L(o,c.element,new Map);c.postStyleProps.forEach(_=>u.set(_,null))})):(i.push(_s()),a=[]),i.length)throw Ss(i);o.forEach((c,u)=>{c.forEach((_,y)=>{c.set(y,this._driver.computeStyle(u,y,B))})});let l=a.map(c=>{let u=o.get(c.element);return this._buildPlayer(c,new Map,u)}),h=U(l);return this._playersById.set(e,h),h.onDestroy(()=>this.destroy(e)),this.players.push(h),h}destroy(e){let t=this._getPlayer(e);t.destroy(),this._playersById.delete(e);let s=this.players.indexOf(t);s>=0&&this.players.splice(s,1)}_getPlayer(e){let t=this._playersById.get(e);if(!t)throw Es(e);return t}listen(e,t,s,i){let r=st(t,"","","");return tt(this._getPlayer(e),s,r,i),()=>{}}command(e,t,s,i){if(s=="register"){this.register(e,i[0]);return}if(s=="create"){let a=i[0]||{};this.create(e,t,a);return}let r=this._getPlayer(e);switch(s){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(e);break}}},Ct="ng-animate-queued",ri=".ng-animate-queued",Oe="ng-animate-disabled",ai=".ng-animate-disabled",oi="ng-star-inserted",li=".ng-star-inserted",hi=[],Ut={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},ui={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},z="__ng_removed",ae=class{get params(){return this.options.params}constructor(e,t=""){this.namespaceId=t;let s=e&&e.hasOwnProperty("value"),i=s?e.value:e;if(this.value=fi(i),s){let r=e,{value:a}=r,o=pt(r,["value"]);this.options=o}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){let t=e.params;if(t){let s=this.options.params;Object.keys(t).forEach(i=>{s[i]==null&&(s[i]=t[i])})}}},ne="void",Le=new ae(ne),Xe=class{constructor(e,t,s){this.id=e,this.hostElement=t,this._engine=s,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,I(t,this._hostClassName)}listen(e,t,s,i){if(!this._triggers.has(t))throw Ts(s,t);if(s==null||s.length==0)throw vs(t);if(!di(s))throw ws(s,t);let r=L(this._elementListeners,e,[]),a={name:t,phase:s,callback:i};r.push(a);let o=L(this._engine.statesByElement,e,new Map);return o.has(t)||(I(e,ce),I(e,ce+"-"+t),o.set(t,Le)),()=>{this._engine.afterFlush(()=>{let l=r.indexOf(a);l>=0&&r.splice(l,1),this._triggers.has(t)||o.delete(t)})}}register(e,t){return this._triggers.has(e)?!1:(this._triggers.set(e,t),!0)}_getTrigger(e){let t=this._triggers.get(e);if(!t)throw bs(e);return t}trigger(e,t,s,i=!0){let r=this._getTrigger(t),a=new oe(this.id,t,e),o=this._engine.statesByElement.get(e);o||(I(e,ce),I(e,ce+"-"+t),this._engine.statesByElement.set(e,o=new Map));let l=o.get(t),h=new ae(s,this.id);if(!(s&&s.hasOwnProperty("value"))&&l&&h.absorbOptions(l.options),o.set(t,h),l||(l=Le),!(h.value===ne)&&l.value===h.value){if(!gi(l.params,h.params)){let g=[],v=r.matchStyles(l.value,l.params,g),b=r.matchStyles(h.value,h.params,g);g.length?this._engine.reportError(g):this._engine.afterFlush(()=>{X(e,v),Q(e,b)})}return}let _=L(this._engine.playersByElement,e,[]);_.forEach(g=>{g.namespaceId==this.id&&g.triggerName==t&&g.queued&&g.destroy()});let y=r.matchTransition(l.value,h.value,e,h.params),d=!1;if(!y){if(!i)return;y=r.fallbackTransition,d=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:y,fromState:l,toState:h,player:a,isFallbackTransition:d}),d||(I(e,Ct),a.onStart(()=>{ee(e,Ct)})),a.onDone(()=>{let g=this.players.indexOf(a);g>=0&&this.players.splice(g,1);let v=this._engine.playersByElement.get(e);if(v){let b=v.indexOf(a);b>=0&&v.splice(b,1)}}),this.players.push(a),_.push(a),a}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(t=>t.delete(e)),this._elementListeners.forEach((t,s)=>{this._elementListeners.set(s,t.filter(i=>i.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let t=this._engine.playersByElement.get(e);t&&(t.forEach(s=>s.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){let s=this._engine.driver.query(e,ye,!0);s.forEach(i=>{if(i[z])return;let r=this._engine.fetchNamespacesByElement(i);r.size?r.forEach(a=>a.triggerLeaveAnimation(i,t,!1,!0)):this.clearElementCache(i)}),this._engine.afterFlushAnimationsDone(()=>s.forEach(i=>this.clearElementCache(i)))}triggerLeaveAnimation(e,t,s,i){let r=this._engine.statesByElement.get(e),a=new Map;if(r){let o=[];if(r.forEach((l,h)=>{if(a.set(h,l.value),this._triggers.has(h)){let c=this.trigger(e,h,ne,i);c&&o.push(c)}}),o.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,a),s&&U(o).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let t=this._elementListeners.get(e),s=this._engine.statesByElement.get(e);if(t&&s){let i=new Set;t.forEach(r=>{let a=r.name;if(i.has(a))return;i.add(a);let l=this._triggers.get(a).fallbackTransition,h=s.get(a)||Le,c=new ae(ne),u=new oe(this.id,a,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:a,transition:l,fromState:h,toState:c,player:u,isFallbackTransition:!0})})}}removeNode(e,t){let s=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let i=!1;if(s.totalAnimations){let r=s.players.length?s.playersByQueriedElement.get(e):[];if(r&&r.length)i=!0;else{let a=e;for(;a=a.parentNode;)if(s.statesByElement.get(a)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(e),i)s.markElementAsRemoved(this.id,e,!1,t);else{let r=e[z];(!r||r===Ut)&&(s.afterFlush(()=>this.clearElementCache(e)),s.destroyInnerAnimations(e),s._onRemovalComplete(e,t))}}insertNode(e,t){I(e,this._hostClassName)}drainQueuedTransitions(e){let t=[];return this._queue.forEach(s=>{let i=s.player;if(i.destroyed)return;let r=s.element,a=this._elementListeners.get(r);a&&a.forEach(o=>{if(o.name==s.triggerName){let l=st(r,s.triggerName,s.fromState.value,s.toState.value);l._data=e,tt(s.player,o.phase,l,o.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):t.push(s)}),this._queue=[],t.sort((s,i)=>{let r=s.transition.ast.depCount,a=i.transition.ast.depCount;return r==0||a==0?r-a:this._engine.driver.containsElement(s.element,i.element)?1:-1})}destroy(e){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},Ze=class{_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}constructor(e,t,s){this.bodyNode=e,this.driver=t,this._normalizer=s,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=(i,r)=>{}}get queuedPlayers(){let e=[];return this._namespaceList.forEach(t=>{t.players.forEach(s=>{s.queued&&e.push(s)})}),e}createNamespace(e,t){let s=new Xe(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(s,t):(this.newHostElements.set(t,s),this.collectEnterElement(t)),this._namespaceLookup[e]=s}_balanceNamespaceList(e,t){let s=this._namespaceList,i=this.namespacesByHostElement;if(s.length-1>=0){let a=!1,o=this.driver.getParentElement(t);for(;o;){let l=i.get(o);if(l){let h=s.indexOf(l);s.splice(h+1,0,e),a=!0;break}o=this.driver.getParentElement(o)}a||s.unshift(e)}else s.push(e);return i.set(t,e),e}register(e,t){let s=this._namespaceLookup[e];return s||(s=this.createNamespace(e,t)),s}registerTrigger(e,t,s){let i=this._namespaceLookup[e];i&&i.register(t,s)&&this.totalAnimations++}destroy(e,t){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let s=this._fetchNamespace(e);this.namespacesByHostElement.delete(s.hostElement);let i=this._namespaceList.indexOf(s);i>=0&&this._namespaceList.splice(i,1),s.destroy(t),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let t=new Set,s=this.statesByElement.get(e);if(s){for(let i of s.values())if(i.namespaceId){let r=this._fetchNamespace(i.namespaceId);r&&t.add(r)}}return t}trigger(e,t,s,i){if(me(t)){let r=this._fetchNamespace(e);if(r)return r.trigger(t,s,i),!0}return!1}insertNode(e,t,s,i){if(!me(t))return;let r=t[z];if(r&&r.setForRemoval){r.setForRemoval=!1,r.setForMove=!0;let a=this.collectedLeaveElements.indexOf(t);a>=0&&this.collectedLeaveElements.splice(a,1)}if(e){let a=this._fetchNamespace(e);a&&a.insertNode(t,s)}i&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),I(e,Oe)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),ee(e,Oe))}removeNode(e,t,s){if(me(t)){let i=e?this._fetchNamespace(e):null;i?i.removeNode(t,s):this.markElementAsRemoved(e,t,!1,s);let r=this.namespacesByHostElement.get(t);r&&r.id!==e&&r.removeNode(t,s)}else this._onRemovalComplete(t,s)}markElementAsRemoved(e,t,s,i,r){this.collectedLeaveElements.push(t),t[z]={namespaceId:e,setForRemoval:i,hasAnimation:s,removedBeforeQueried:!1,previousTriggersValues:r}}listen(e,t,s,i,r){return me(t)?this._fetchNamespace(e).listen(t,s,i,r):()=>{}}_buildInstruction(e,t,s,i,r){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,s,i,e.fromState.options,e.toState.options,t,r)}destroyInnerAnimations(e){let t=this.driver.query(e,ye,!0);t.forEach(s=>this.destroyActiveAnimationsForElement(s)),this.playersByQueriedElement.size!=0&&(t=this.driver.query(e,Ke,!0),t.forEach(s=>this.finishActiveQueriedAnimationOnElement(s)))}destroyActiveAnimationsForElement(e){let t=this.playersByElement.get(e);t&&t.forEach(s=>{s.queued?s.markedForDestroy=!0:s.destroy()})}finishActiveQueriedAnimationOnElement(e){let t=this.playersByQueriedElement.get(e);t&&t.forEach(s=>s.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return U(this.players).onDone(()=>e());e()})}processLeaveNode(e){let t=e[z];if(t&&t.setForRemoval){if(e[z]=Ut,t.namespaceId){this.destroyInnerAnimations(e);let s=this._fetchNamespace(t.namespaceId);s&&s.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}e.classList?.contains(Oe)&&this.markElementAsDisabled(e,!1),this.driver.query(e,ai,!0).forEach(s=>{this.markElementAsDisabled(s,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((s,i)=>this._balanceNamespaceList(s,i)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let s=0;ss()),this._flushFns=[],this._whenQuietFns.length){let s=this._whenQuietFns;this._whenQuietFns=[],t.length?U(t).onDone(()=>{s.forEach(i=>i())}):s.forEach(i=>i())}}reportError(e){throw As(e)}_flushAnimations(e,t){let s=new se,i=[],r=new Map,a=[],o=new Map,l=new Map,h=new Map,c=new Set;this.disabledNodes.forEach(f=>{c.add(f);let m=this.driver.query(f,ri,!0);for(let p=0;p{let p=nt+g++;d.set(m,p),f.forEach(T=>I(T,p))});let v=[],b=new Set,A=new Set;for(let f=0;fb.add(T)):A.add(m))}let C=new Map,N=Rt(_,Array.from(b));N.forEach((f,m)=>{let p=ge+g++;C.set(m,p),f.forEach(T=>I(T,p))}),e.push(()=>{y.forEach((f,m)=>{let p=d.get(m);f.forEach(T=>ee(T,p))}),N.forEach((f,m)=>{let p=C.get(m);f.forEach(T=>ee(T,p))}),v.forEach(f=>{this.processLeaveNode(f)})});let Z=[],K=[];for(let f=this._namespaceList.length-1;f>=0;f--)this._namespaceList[f].drainQueuedTransitions(t).forEach(p=>{let T=p.player,P=p.element;if(Z.push(T),this.collectedEnterElements.length){let M=P[z];if(M&&M.setForMove){if(M.previousTriggersValues&&M.previousTriggersValues.has(p.triggerName)){let G=M.previousTriggersValues.get(p.triggerName),F=this.statesByElement.get(p.element);if(F&&F.has(p.triggerName)){let le=F.get(p.triggerName);le.value=G,F.set(p.triggerName,le)}}T.destroy();return}}let q=!u||!this.driver.containsElement(u,P),R=C.get(P),V=d.get(P),w=this._buildInstruction(p,s,V,R,q);if(w.errors&&w.errors.length){K.push(w);return}if(q){T.onStart(()=>X(P,w.fromStyles)),T.onDestroy(()=>Q(P,w.toStyles)),i.push(T);return}if(p.isFallbackTransition){T.onStart(()=>X(P,w.fromStyles)),T.onDestroy(()=>Q(P,w.toStyles)),i.push(T);return}let mt=[];w.timelines.forEach(M=>{M.stretchStartingKeyframe=!0,this.disabledNodes.has(M.element)||mt.push(M)}),w.timelines=mt,s.append(P,w.timelines);let Gt={instruction:w,player:T,element:P};a.push(Gt),w.queriedElements.forEach(M=>L(o,M,[]).push(T)),w.preStyleProps.forEach((M,G)=>{if(M.size){let F=l.get(G);F||l.set(G,F=new Set),M.forEach((le,Ne)=>F.add(Ne))}}),w.postStyleProps.forEach((M,G)=>{let F=h.get(G);F||h.set(G,F=new Set),M.forEach((le,Ne)=>F.add(Ne))})});if(K.length){let f=[];K.forEach(m=>{f.push(Ps(m.triggerName,m.errors))}),Z.forEach(m=>m.destroy()),this.reportError(f)}let k=new Map,D=new Map;a.forEach(f=>{let m=f.element;s.has(m)&&(D.set(m,m),this._beforeAnimationBuild(f.player.namespaceId,f.instruction,k))}),i.forEach(f=>{let m=f.element;this._getPreviousPlayers(m,!1,f.namespaceId,f.triggerName,null).forEach(T=>{L(k,m,[]).push(T),T.destroy()})});let j=v.filter(f=>Ot(f,l,h)),J=new Map;Dt(J,this.driver,A,h,B).forEach(f=>{Ot(f,l,h)&&j.push(f)});let W=new Map;y.forEach((f,m)=>{Dt(W,this.driver,new Set(f),l,ue)}),j.forEach(f=>{let m=J.get(f),p=W.get(f);J.set(f,new Map([...m?.entries()??[],...p?.entries()??[]]))});let Pe=[],ft=[],dt={};a.forEach(f=>{let{element:m,player:p,instruction:T}=f;if(s.has(m)){if(c.has(m)){p.onDestroy(()=>Q(m,T.toStyles)),p.disabled=!0,p.overrideTotalTime(T.totalTime),i.push(p);return}let P=dt;if(D.size>1){let R=m,V=[];for(;R=R.parentNode;){let w=D.get(R);if(w){P=w;break}V.push(R)}V.forEach(w=>D.set(w,P))}let q=this._buildAnimation(p.namespaceId,T,k,r,W,J);if(p.setRealPlayer(q),P===dt)Pe.push(p);else{let R=this.playersByElement.get(P);R&&R.length&&(p.parentPlayer=U(R)),i.push(p)}}else X(m,T.fromStyles),p.onDestroy(()=>Q(m,T.toStyles)),ft.push(p),c.has(m)&&i.push(p)}),ft.forEach(f=>{let m=r.get(f.element);if(m&&m.length){let p=U(m);f.setRealPlayer(p)}}),i.forEach(f=>{f.parentPlayer?f.syncPlayerEvents(f.parentPlayer):f.destroy()});for(let f=0;f!q.destroyed);P.length?mi(this,m,P):this.processLeaveNode(m)}return v.length=0,Pe.forEach(f=>{this.players.push(f),f.onDone(()=>{f.destroy();let m=this.players.indexOf(f);this.players.splice(m,1)}),f.play()}),Pe}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,s,i,r){let a=[];if(t){let o=this.playersByQueriedElement.get(e);o&&(a=o)}else{let o=this.playersByElement.get(e);if(o){let l=!r||r==ne;o.forEach(h=>{h.queued||!l&&h.triggerName!=i||a.push(h)})}}return(s||i)&&(a=a.filter(o=>!(s&&s!=o.namespaceId||i&&i!=o.triggerName))),a}_beforeAnimationBuild(e,t,s){let i=t.triggerName,r=t.element,a=t.isRemovalTransition?void 0:e,o=t.isRemovalTransition?void 0:i;for(let l of t.timelines){let h=l.element,c=h!==r,u=L(s,h,[]);this._getPreviousPlayers(h,c,a,o,t.toState).forEach(y=>{let d=y.getRealPlayer();d.beforeDestroy&&d.beforeDestroy(),y.destroy(),u.push(y)})}X(r,t.fromStyles)}_buildAnimation(e,t,s,i,r,a){let o=t.triggerName,l=t.element,h=[],c=new Set,u=new Set,_=t.timelines.map(d=>{let g=d.element;c.add(g);let v=g[z];if(v&&v.removedBeforeQueried)return new x(d.duration,d.delay);let b=g!==l,A=pi((s.get(g)||hi).map(k=>k.getRealPlayer())).filter(k=>{let D=k;return D.element?D.element===g:!1}),C=r.get(g),N=a.get(g),Z=It(this._normalizer,d.keyframes,C,N),K=this._buildPlayer(d,Z,A);if(d.subTimeline&&i&&u.add(g),b){let k=new oe(e,o,g);k.setRealPlayer(K),h.push(k)}return K});h.forEach(d=>{L(this.playersByQueriedElement,d.element,[]).push(d),d.onDone(()=>ci(this.playersByQueriedElement,d.element,d))}),c.forEach(d=>I(d,vt));let y=U(_);return y.onDestroy(()=>{c.forEach(d=>ee(d,vt)),Q(l,t.toStyles)}),u.forEach(d=>{L(i,d,[]).push(y)}),y}_buildPlayer(e,t,s){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,s):new x(e.duration,e.delay)}},oe=class{constructor(e,t,s){this.namespaceId=e,this.triggerName=t,this.element=s,this._player=new x,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((t,s)=>{t.forEach(i=>tt(e,s,void 0,i))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){let t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){L(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return this.queued?!1:this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){let t=this._player;t.triggerCallback&&t.triggerCallback(e)}};function ci(n,e,t){let s=n.get(e);if(s){if(s.length){let i=s.indexOf(t);s.splice(i,1)}s.length==0&&n.delete(e)}return s}function fi(n){return n??null}function me(n){return n&&n.nodeType===1}function di(n){return n=="start"||n=="done"}function kt(n,e){let t=n.style.display;return n.style.display=e??"none",t}function Dt(n,e,t,s,i){let r=[];t.forEach(l=>r.push(kt(l)));let a=[];s.forEach((l,h)=>{let c=new Map;l.forEach(u=>{let _=e.computeStyle(h,u,i);c.set(u,_),(!_||_.length==0)&&(h[z]=ui,a.push(h))}),n.set(h,c)});let o=0;return t.forEach(l=>kt(l,r[o++])),a}function Rt(n,e){let t=new Map;if(n.forEach(o=>t.set(o,[])),e.length==0)return t;let s=1,i=new Set(e),r=new Map;function a(o){if(!o)return s;let l=r.get(o);if(l)return l;let h=o.parentNode;return t.has(h)?l=h:i.has(h)?l=s:l=a(h),r.set(o,l),l}return e.forEach(o=>{let l=a(o);l!==s&&t.get(l).push(o)}),t}function I(n,e){n.classList?.add(e)}function ee(n,e){n.classList?.remove(e)}function mi(n,e,t){U(t).onDone(()=>n.processLeaveNode(e))}function pi(n){let e=[];return jt(n,e),e}function jt(n,e){for(let t=0;ti.add(r)):e.set(n,s),t.delete(n),!0}var we=class{constructor(e,t,s){this._driver=t,this._normalizer=s,this._triggerCache={},this.onRemovalComplete=(i,r)=>{},this._transitionEngine=new Ze(e.body,t,s),this._timelineEngine=new Ye(e.body,t,s),this._transitionEngine.onRemovalComplete=(i,r)=>this.onRemovalComplete(i,r)}registerTrigger(e,t,s,i,r){let a=e+"-"+i,o=this._triggerCache[a];if(!o){let l=[],h=[],c=ot(this._driver,r,l,h);if(l.length)throw ps(i,l);h.length&&void 0,o=si(i,c,this._normalizer),this._triggerCache[a]=o}this._transitionEngine.registerTrigger(t,i,o)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,s,i){this._transitionEngine.insertNode(e,t,s,i)}onRemove(e,t,s){this._transitionEngine.removeNode(e,t,s)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,s,i){if(s.charAt(0)=="@"){let[r,a]=St(s),o=i;this._timelineEngine.command(r,t,a,o)}else this._transitionEngine.trigger(e,t,s,i)}listen(e,t,s,i,r){if(s.charAt(0)=="@"){let[a,o]=St(s);return this._timelineEngine.listen(a,t,o,r)}return this._transitionEngine.listen(e,t,s,i,r)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}};function yi(n,e){let t=null,s=null;return Array.isArray(e)&&e.length?(t=Fe(e[0]),e.length>1&&(s=Fe(e[e.length-1]))):e instanceof Map&&(t=Fe(e)),t||s?new Je(n,t,s):null}var te=class te{constructor(e,t,s){this._element=e,this._startStyles=t,this._endStyles=s,this._state=0;let i=te.initialStylesByElement.get(e);i||te.initialStylesByElement.set(e,i=new Map),this._initialStyles=i}start(){this._state<1&&(this._startStyles&&Q(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Q(this._element,this._initialStyles),this._endStyles&&(Q(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(te.initialStylesByElement.delete(this._element),this._startStyles&&(X(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(X(this._element,this._endStyles),this._endStyles=null),Q(this._element,this._initialStyles),this._state=3)}};te.initialStylesByElement=new WeakMap;var Je=te;function Fe(n){let e=null;return n.forEach((t,s)=>{_i(s)&&(e=e||new Map,e.set(s,t))}),e}function _i(n){return n==="display"||n==="position"}var be=class{constructor(e,t,s,i){this.element=e,this.keyframes=t,this.options=s,this._specialStyles=i,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=s.duration,this._delay=s.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map;let t=()=>this._onFinish();this.domPlayer.addEventListener("finish",t),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",t)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){let t=[];return e.forEach(s=>{t.push(Object.fromEntries(s))}),t}_triggerWebAnimation(e,t,s){return e.animate(this._convertKeyframesToObject(t),s)}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((s,i)=>{i!=="offset"&&e.set(i,this._finished?s:at(this.element,i))}),this.currentSnapshot=e}triggerCallback(e){let t=e==="start"?this._onStartFns:this._onDoneFns;t.forEach(s=>s()),t.length=0}},xe=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}containsElement(e,t){return zt(e,t)}getParentElement(e){return it(e)}query(e,t,s){return Kt(e,t,s)}computeStyle(e,t,s){return at(e,t)}animate(e,t,s,i,r,a=[]){let o=i==0?"both":"forwards",l={duration:s,delay:i,fill:o};r&&(l.easing=r);let h=new Map,c=a.filter(y=>y instanceof be);Ks(s,i)&&c.forEach(y=>{y.currentSnapshot.forEach((d,g)=>h.set(g,d))});let u=Fs(t).map(y=>new Map(y));u=qs(e,u,h);let _=yi(e,u);return new be(e,u,l,_)}};function Ni(n,e){return n==="noop"?new we(e,new qt,new ze):new we(e,new xe,new Qe)}var Lt=class{constructor(e,t){this._driver=e;let s=[],i=[],r=ot(e,t,s,i);if(s.length)throw ds(s);i.length&&void 0,this._animationAst=r}buildTimelines(e,t,s,i,r){let a=Array.isArray(t)?wt(t):t,o=Array.isArray(s)?wt(s):s,l=[];r=r||new se;let h=ht(this._driver,e,this._animationAst,nt,ge,a,o,i,r,l);if(l.length)throw ms(l);return h}},pe="@",Wt="@.disabled",Ae=class{constructor(e,t,s,i){this.namespaceId=e,this.delegate=t,this.engine=s,this._onDestroy=i,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(e){this.delegate.destroyNode?.(e)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,s,i=!0){this.delegate.insertBefore(e,t,s),this.engine.onInsert(this.namespaceId,t,e,i)}removeChild(e,t,s){this.engine.onRemove(this.namespaceId,t,this.delegate)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,s,i){this.delegate.setAttribute(e,t,s,i)}removeAttribute(e,t,s){this.delegate.removeAttribute(e,t,s)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,s,i){this.delegate.setStyle(e,t,s,i)}removeStyle(e,t,s){this.delegate.removeStyle(e,t,s)}setProperty(e,t,s){t.charAt(0)==pe&&t==Wt?this.disableAnimations(e,!!s):this.delegate.setProperty(e,t,s)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,s){return this.delegate.listen(e,t,s)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}},et=class extends Ae{constructor(e,t,s,i,r){super(t,s,i,r),this.factory=e,this.namespaceId=t}setProperty(e,t,s){t.charAt(0)==pe?t.charAt(1)=="."&&t==Wt?(s=s===void 0?!0:!!s,this.disableAnimations(e,s)):this.engine.process(this.namespaceId,e,t.slice(1),s):this.delegate.setProperty(e,t,s)}listen(e,t,s){if(t.charAt(0)==pe){let i=Si(e),r=t.slice(1),a="";return r.charAt(0)!=pe&&([r,a]=Ei(r)),this.engine.listen(this.namespaceId,i,r,a,o=>{let l=o._data||-1;this.factory.scheduleListenerCallback(l,s,o)})}return this.delegate.listen(e,t,s)}};function Si(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}function Ei(n){let e=n.indexOf("."),t=n.substring(0,e),s=n.slice(e+1);return[t,s]}var Ft=class{constructor(e,t,s){this.delegate=e,this.engine=t,this._zone=s,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,t.onRemovalComplete=(i,r)=>{let a=r?.parentNode(i);a&&r.removeChild(a,i)}}createRenderer(e,t){let s="",i=this.delegate.createRenderer(e,t);if(!e||!t?.data?.animation){let h=this._rendererCache,c=h.get(i);if(!c){let u=()=>h.delete(i);c=new Ae(s,i,this.engine,u),h.set(i,c)}return c}let r=t.id,a=t.id+"-"+this._currentId;this._currentId++,this.engine.register(a,e);let o=h=>{Array.isArray(h)?h.forEach(o):this.engine.registerTrigger(r,a,e,h.name,h)};return t.data.animation.forEach(o),new et(this,a,i,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,s){if(e>=0&&et(s));return}let i=this._animationCallbacksBuffer;i.length==0&&queueMicrotask(()=>{this._zone.run(()=>{i.forEach(r=>{let[a,o]=r;a(o)}),this._animationCallbacksBuffer=[]})}),i.push([t,s])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}};export{Tt as AnimationDriver,qt as NoopAnimationDriver,Lt as \u0275Animation,we as \u0275AnimationEngine,et as \u0275AnimationRenderer,Ft as \u0275AnimationRendererFactory,Ie as \u0275AnimationStyleNormalizer,Ae as \u0275BaseAnimationRenderer,ze as \u0275NoopAnimationStyleNormalizer,xe as \u0275WebAnimationsDriver,be as \u0275WebAnimationsPlayer,Qe as \u0275WebAnimationsStyleNormalizer,Ks as \u0275allowPreviousPlayerStylesMerge,Pi as \u0275camelCaseToDashCase,zt as \u0275containsElement,Ni as \u0275createEngine,it as \u0275getParentElement,Kt as \u0275invokeQuery,Fs as \u0275normalizeKeyframes,ks as \u0275validateStyleProperty,Ai as \u0275validateWebAnimatableStyleProperty}; diff --git a/index.html b/index.html index 0f5c4c4..d2fbeec 100644 --- a/index.html +++ b/index.html @@ -1,5 +1,5 @@ - + Gridster2 @@ -8,8 +8,8 @@ - + Loading... - + diff --git a/main-APRMBXBR.js b/main-APRMBXBR.js deleted file mode 100644 index 7a6397a..0000000 --- a/main-APRMBXBR.js +++ /dev/null @@ -1,57 +0,0 @@ -import{$ as V,$a as Us,$b as Nc,A as pr,Aa as Zn,Ab as wi,B as mt,Ba as Cc,Bb as g,Bc as Ct,C as Oe,Ca as br,Cb as f,Cc as Ui,D as Ns,Da as kc,Db as Re,Dc as qt,E as _i,Ea as Bt,Eb as X,Ec as Xc,F as Li,Fa as Je,Fb as Ne,Fc as qc,G as vi,Ga as Qn,Gb as Ve,H as Vs,Ha as mn,Hb as ee,I as ht,Ia as hn,Ib as te,J as fr,Ja as Mc,Jb as At,K as js,Ka as Ic,Kb as h,L as zi,La as Ec,Lb as qe,M as xi,Ma as Sc,Mb as wr,N as ni,Na as Tc,Nb as w,O as Bs,Oa as Dc,Ob as C,P as gc,Pa as Rc,Pb as k,Q as bc,Qa as bt,Qb as je,R as _c,Ra as Ac,Rb as A,S as Xn,Sa as Kn,Sb as zc,T as gr,Ta as u,Tb as Xs,U as vt,Ua as x,Ub as qs,V as $e,Va as un,Vb as Zs,W as Me,Wa as Bi,Wb as Cr,X as vc,Xa as Oc,Xb as kr,Y as Ue,Ya as _r,Yb as Qs,Z as De,Za as vr,Zb as Wi,_ as Vt,_a as Wt,_b as Ks,a as M,aa as K,ab as B,ac as Ge,b as le,ba as xc,bb as xr,bc as Vc,ca as P,cb as pn,cc as ie,d as dn,da as Ws,db as Xt,dc as $i,e as Ye,ea as E,eb as Hs,ec as jc,f as pc,fa as T,fb as ze,fc as Bc,g as Dt,ga as qn,gb as He,gc as fn,h as Ps,ha as R,hb as Fc,hc as Wc,i as cr,ia as J,ib as Pc,ic as $c,j as W,ja as Y,jb as yr,jc as ne,k as _t,ka as Ni,kb as Q,kc as Js,l as dr,la as yc,lb as be,lc as gn,m as Yt,ma as wc,mb as S,mc as Mr,n as dt,na as yi,nb as Gs,nc as Uc,o as $,oa as jt,ob as oe,oc as Hc,p as Pi,pa as Le,pb as $t,pc as ea,q as mr,qa as b,qb as Lc,qc as Gc,r as fc,ra as _,rb as N,rc as Ut,s as G,sa as Vi,sb as Ys,sc as Yc,t as Gn,ta as $s,tb as _e,tc as ri,u as Rt,ua as xt,ub as re,uc as Ir,v as Ls,va as oi,vb as se,vc as Er,w as hr,wa as wt,wb as c,x as Yn,xa as ji,xb as d,y as ur,ya as U,yb as O,yc as Ci,z as zs,za as Z,zb as L,zc as si}from"./chunk-6X2S33CO.js";var eo=class{},Tr=class{},ai=class r{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?typeof e=="string"?this.lazyInit=()=>{this.headers=new Map,e.split(` -`).forEach(o=>{let t=o.indexOf(":");if(t>0){let i=o.slice(0,t),n=i.toLowerCase(),s=o.slice(t+1).trim();this.maybeSetNormalizedName(i,n),this.headers.has(n)?this.headers.get(n).push(s):this.headers.set(n,[s])}})}:typeof Headers<"u"&&e instanceof Headers?(this.headers=new Map,e.forEach((o,t)=>{this.setHeaderEntries(t,o)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([o,t])=>{this.setHeaderEntries(o,t)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();let o=this.headers.get(e.toLowerCase());return o&&o.length>0?o[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,o){return this.clone({name:e,value:o,op:"a"})}set(e,o){return this.clone({name:e,value:o,op:"s"})}delete(e,o){return this.clone({name:e,value:o,op:"d"})}maybeSetNormalizedName(e,o){this.normalizedNames.has(o)||this.normalizedNames.set(o,e)}init(){this.lazyInit&&(this.lazyInit instanceof r?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(o=>{this.headers.set(o,e.headers.get(o)),this.normalizedNames.set(o,e.normalizedNames.get(o))})}clone(e){let o=new r;return o.lazyInit=this.lazyInit&&this.lazyInit instanceof r?this.lazyInit:this,o.lazyUpdate=(this.lazyUpdate||[]).concat([e]),o}applyUpdate(e){let o=e.name.toLowerCase();switch(e.op){case"a":case"s":let t=e.value;if(typeof t=="string"&&(t=[t]),t.length===0)return;this.maybeSetNormalizedName(e.name,o);let i=(e.op==="a"?this.headers.get(o):void 0)||[];i.push(...t),this.headers.set(o,i);break;case"d":let n=e.value;if(!n)this.headers.delete(o),this.normalizedNames.delete(o);else{let s=this.headers.get(o);if(!s)return;s=s.filter(a=>n.indexOf(a)===-1),s.length===0?(this.headers.delete(o),this.normalizedNames.delete(o)):this.headers.set(o,s)}break}}setHeaderEntries(e,o){let t=(Array.isArray(o)?o:[o]).map(n=>n.toString()),i=e.toLowerCase();this.headers.set(i,t),this.maybeSetNormalizedName(e,i)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(o=>e(this.normalizedNames.get(o),this.headers.get(o)))}};var ia=class{encodeKey(e){return Zc(e)}encodeValue(e){return Zc(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function Ju(r,e){let o=new Map;return r.length>0&&r.replace(/^\?/,"").split("&").forEach(i=>{let n=i.indexOf("="),[s,a]=n==-1?[e.decodeKey(i),""]:[e.decodeKey(i.slice(0,n)),e.decodeValue(i.slice(n+1))],l=o.get(s)||[];l.push(a),o.set(s,l)}),o}var ep=/%(\d[a-f0-9])/gi,tp={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Zc(r){return encodeURIComponent(r).replace(ep,(e,o)=>tp[o]??e)}function Sr(r){return`${r}`}var Mi=class r{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new ia,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=Ju(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(o=>{let t=e.fromObject[o],i=Array.isArray(t)?t.map(Sr):[Sr(t)];this.map.set(o,i)})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();let o=this.map.get(e);return o?o[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,o){return this.clone({param:e,value:o,op:"a"})}appendAll(e){let o=[];return Object.keys(e).forEach(t=>{let i=e[t];Array.isArray(i)?i.forEach(n=>{o.push({param:t,value:n,op:"a"})}):o.push({param:t,value:i,op:"a"})}),this.clone(o)}set(e,o){return this.clone({param:e,value:o,op:"s"})}delete(e,o){return this.clone({param:e,value:o,op:"d"})}toString(){return this.init(),this.keys().map(e=>{let o=this.encoder.encodeKey(e);return this.map.get(e).map(t=>o+"="+this.encoder.encodeValue(t)).join("&")}).filter(e=>e!=="").join("&")}clone(e){let o=new r({encoder:this.encoder});return o.cloneFrom=this.cloneFrom||this,o.updates=(this.updates||[]).concat(e),o}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":let o=(e.op==="a"?this.map.get(e.param):void 0)||[];o.push(Sr(e.value)),this.map.set(e.param,o);break;case"d":if(e.value!==void 0){let t=this.map.get(e.param)||[],i=t.indexOf(Sr(e.value));i!==-1&&t.splice(i,1),t.length>0?this.map.set(e.param,t):this.map.delete(e.param)}else{this.map.delete(e.param);break}}}),this.cloneFrom=this.updates=null)}};var na=class{constructor(){this.map=new Map}set(e,o){return this.map.set(e,o),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}};function ip(r){switch(r){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Qc(r){return typeof ArrayBuffer<"u"&&r instanceof ArrayBuffer}function Kc(r){return typeof Blob<"u"&&r instanceof Blob}function Jc(r){return typeof FormData<"u"&&r instanceof FormData}function np(r){return typeof URLSearchParams<"u"&&r instanceof URLSearchParams}var Jn=class r{constructor(e,o,t,i){this.url=o,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase();let n;if(ip(this.method)||i?(this.body=t!==void 0?t:null,n=i):n=t,n&&(this.reportProgress=!!n.reportProgress,this.withCredentials=!!n.withCredentials,n.responseType&&(this.responseType=n.responseType),n.headers&&(this.headers=n.headers),n.context&&(this.context=n.context),n.params&&(this.params=n.params),this.transferCache=n.transferCache),this.headers??=new ai,this.context??=new na,!this.params)this.params=new Mi,this.urlWithParams=o;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=o;else{let a=o.indexOf("?"),l=a===-1?"?":ay.set(I,e.setHeaders[I]),m)),e.setParams&&(p=Object.keys(e.setParams).reduce((y,I)=>y.set(I,e.setParams[I]),p)),new r(o,t,s,{params:p,headers:m,context:v,reportProgress:l,responseType:i,withCredentials:a,transferCache:n})}},Ii=function(r){return r[r.Sent=0]="Sent",r[r.UploadProgress=1]="UploadProgress",r[r.ResponseHeader=2]="ResponseHeader",r[r.DownloadProgress=3]="DownloadProgress",r[r.Response=4]="Response",r[r.User=5]="User",r}(Ii||{}),to=class{constructor(e,o=200,t="OK"){this.headers=e.headers||new ai,this.status=e.status!==void 0?e.status:o,this.statusText=e.statusText||t,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}},Dr=class r extends to{constructor(e={}){super(e),this.type=Ii.ResponseHeader}clone(e={}){return new r({headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},io=class r extends to{constructor(e={}){super(e),this.type=Ii.Response,this.body=e.body!==void 0?e.body:null}clone(e={}){return new r({body:e.body!==void 0?e.body:this.body,headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},ki=class extends to{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${e.url||"(unknown url)"}`:this.message=`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}},od=200,op=204;function ta(r,e){return{body:e,headers:r.headers,context:r.context,observe:r.observe,params:r.params,reportProgress:r.reportProgress,responseType:r.responseType,withCredentials:r.withCredentials,transferCache:r.transferCache}}var Hi=(()=>{let e=class e{constructor(t){this.handler=t}request(t,i,n={}){let s;if(t instanceof Jn)s=t;else{let m;n.headers instanceof ai?m=n.headers:m=new ai(n.headers);let p;n.params&&(n.params instanceof Mi?p=n.params:p=new Mi({fromObject:n.params})),s=new Jn(t,i,n.body!==void 0?n.body:null,{headers:m,context:n.context,params:p,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials,transferCache:n.transferCache})}let a=$(s).pipe(Li(m=>this.handler.handle(m)));if(t instanceof Jn||n.observe==="events")return a;let l=a.pipe(Oe(m=>m instanceof io));switch(n.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return l.pipe(G(m=>{if(m.body!==null&&!(m.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return m.body}));case"blob":return l.pipe(G(m=>{if(m.body!==null&&!(m.body instanceof Blob))throw new Error("Response is not a Blob.");return m.body}));case"text":return l.pipe(G(m=>{if(m.body!==null&&typeof m.body!="string")throw new Error("Response is not a string.");return m.body}));case"json":default:return l.pipe(G(m=>m.body))}case"response":return l;default:throw new Error(`Unreachable: unhandled observe type ${n.observe}}`)}}delete(t,i={}){return this.request("DELETE",t,i)}get(t,i={}){return this.request("GET",t,i)}head(t,i={}){return this.request("HEAD",t,i)}jsonp(t,i){return this.request("JSONP",t,{params:new Mi().append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,i={}){return this.request("OPTIONS",t,i)}patch(t,i,n={}){return this.request("PATCH",t,ta(n,i))}post(t,i,n={}){return this.request("POST",t,ta(n,i))}put(t,i,n={}){return this.request("PUT",t,ta(n,i))}};e.\u0275fac=function(i){return new(i||e)(E(eo))},e.\u0275prov=V({token:e,factory:e.\u0275fac});let r=e;return r})(),rp=/^\)\]\}',?\n/,sp="X-Request-URL";function ed(r){if(r.url)return r.url;let e=sp.toLocaleLowerCase();return r.headers.get(e)}var ap=(()=>{let e=class e{constructor(){this.fetchImpl=T(oa,{optional:!0})?.fetch??fetch.bind(globalThis),this.ngZone=T(B)}handle(t){return new Dt(i=>{let n=new AbortController;return this.doRequest(t,n.signal,i).then(ra,s=>i.error(new ki({error:s}))),()=>n.abort()})}doRequest(t,i,n){return dn(this,null,function*(){let s=this.createRequestInit(t),a;try{let D=this.fetchImpl(t.urlWithParams,M({signal:i},s));lp(D),n.next({type:Ii.Sent}),a=yield D}catch(D){n.error(new ki({error:D,status:D.status??0,statusText:D.statusText,url:t.urlWithParams,headers:D.headers}));return}let l=new ai(a.headers),m=a.statusText,p=ed(a)??t.urlWithParams,v=a.status,y=null;if(t.reportProgress&&n.next(new Dr({headers:l,status:v,statusText:m,url:p})),a.body){let D=a.headers.get("content-length"),F=[],j=a.body.getReader(),H=0,Pe,ct,Ke=typeof Zone<"u"&&Zone.current;yield this.ngZone.runOutsideAngular(()=>dn(this,null,function*(){for(;;){let{done:Fi,value:Hn}=yield j.read();if(Fi)break;if(F.push(Hn),H+=Hn.length,t.reportProgress){ct=t.responseType==="text"?(ct??"")+(Pe??=new TextDecoder).decode(Hn,{stream:!0}):void 0;let uc=()=>n.next({type:Ii.DownloadProgress,total:D?+D:void 0,loaded:H,partialText:ct});Ke?Ke.run(uc):uc()}}}));let ii=this.concatChunks(F,H);try{let Fi=a.headers.get("Content-Type")??"";y=this.parseBody(t,ii,Fi)}catch(Fi){n.error(new ki({error:Fi,headers:new ai(a.headers),status:a.status,statusText:a.statusText,url:ed(a)??t.urlWithParams}));return}}v===0&&(v=y?od:0),v>=200&&v<300?(n.next(new io({body:y,headers:l,status:v,statusText:m,url:p})),n.complete()):n.error(new ki({error:y,headers:l,status:v,statusText:m,url:p}))})}parseBody(t,i,n){switch(t.responseType){case"json":let s=new TextDecoder().decode(i).replace(rp,"");return s===""?null:JSON.parse(s);case"text":return new TextDecoder().decode(i);case"blob":return new Blob([i],{type:n});case"arraybuffer":return i.buffer}}createRequestInit(t){let i={},n=t.withCredentials?"include":void 0;if(t.headers.forEach((s,a)=>i[s]=a.join(",")),i.Accept??="application/json, text/plain, */*",!i["Content-Type"]){let s=t.detectContentTypeHeader();s!==null&&(i["Content-Type"]=s)}return{body:t.serializeBody(),method:t.method,headers:i,credentials:n}}concatChunks(t,i){let n=new Uint8Array(i),s=0;for(let a of t)n.set(a,s),s+=a.length;return n}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=V({token:e,factory:e.\u0275fac});let r=e;return r})(),oa=class{};function ra(){}function lp(r){r.then(ra,ra)}function cp(r,e){return e(r)}function dp(r,e,o){return(t,i)=>jt(o,()=>e(t,n=>r(n,i)))}var rd=new P(""),mp=new P(""),hp=new P("",{providedIn:"root",factory:()=>!0});var td=(()=>{let e=class e extends eo{constructor(t,i){super(),this.backend=t,this.injector=i,this.chain=null,this.pendingTasks=T(yr),this.contributeToStability=T(hp)}handle(t){if(this.chain===null){let i=Array.from(new Set([...this.injector.get(rd),...this.injector.get(mp,[])]));this.chain=i.reduceRight((n,s)=>dp(n,s,this.injector),cp)}if(this.contributeToStability){let i=this.pendingTasks.add();return this.chain(t,n=>this.backend.handle(n)).pipe(xi(()=>this.pendingTasks.remove(i)))}else return this.chain(t,i=>this.backend.handle(i))}};e.\u0275fac=function(i){return new(i||e)(E(Tr),E(yi))},e.\u0275prov=V({token:e,factory:e.\u0275fac});let r=e;return r})();var up=/^\)\]\}',?\n/;function pp(r){return"responseURL"in r&&r.responseURL?r.responseURL:/^X-Request-URL:/m.test(r.getAllResponseHeaders())?r.getResponseHeader("X-Request-URL"):null}var id=(()=>{let e=class e{constructor(t){this.xhrFactory=t}handle(t){if(t.method==="JSONP")throw new De(-2800,!1);let i=this.xhrFactory;return(i.\u0275loadImpl?dt(i.\u0275loadImpl()):$(null)).pipe($e(()=>new Dt(s=>{let a=i.build();if(a.open(t.method,t.urlWithParams),t.withCredentials&&(a.withCredentials=!0),t.headers.forEach((j,H)=>a.setRequestHeader(j,H.join(","))),t.headers.has("Accept")||a.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){let j=t.detectContentTypeHeader();j!==null&&a.setRequestHeader("Content-Type",j)}if(t.responseType){let j=t.responseType.toLowerCase();a.responseType=j!=="json"?j:"text"}let l=t.serializeBody(),m=null,p=()=>{if(m!==null)return m;let j=a.statusText||"OK",H=new ai(a.getAllResponseHeaders()),Pe=pp(a)||t.url;return m=new Dr({headers:H,status:a.status,statusText:j,url:Pe}),m},v=()=>{let{headers:j,status:H,statusText:Pe,url:ct}=p(),Ke=null;H!==op&&(Ke=typeof a.response>"u"?a.responseText:a.response),H===0&&(H=Ke?od:0);let ii=H>=200&&H<300;if(t.responseType==="json"&&typeof Ke=="string"){let Fi=Ke;Ke=Ke.replace(up,"");try{Ke=Ke!==""?JSON.parse(Ke):null}catch(Hn){Ke=Fi,ii&&(ii=!1,Ke={error:Hn,text:Ke})}}ii?(s.next(new io({body:Ke,headers:j,status:H,statusText:Pe,url:ct||void 0})),s.complete()):s.error(new ki({error:Ke,headers:j,status:H,statusText:Pe,url:ct||void 0}))},y=j=>{let{url:H}=p(),Pe=new ki({error:j,status:a.status||0,statusText:a.statusText||"Unknown Error",url:H||void 0});s.error(Pe)},I=!1,D=j=>{I||(s.next(p()),I=!0);let H={type:Ii.DownloadProgress,loaded:j.loaded};j.lengthComputable&&(H.total=j.total),t.responseType==="text"&&a.responseText&&(H.partialText=a.responseText),s.next(H)},F=j=>{let H={type:Ii.UploadProgress,loaded:j.loaded};j.lengthComputable&&(H.total=j.total),s.next(H)};return a.addEventListener("load",v),a.addEventListener("error",y),a.addEventListener("timeout",y),a.addEventListener("abort",y),t.reportProgress&&(a.addEventListener("progress",D),l!==null&&a.upload&&a.upload.addEventListener("progress",F)),a.send(l),s.next({type:Ii.Sent}),()=>{a.removeEventListener("error",y),a.removeEventListener("abort",y),a.removeEventListener("load",v),a.removeEventListener("timeout",y),t.reportProgress&&(a.removeEventListener("progress",D),l!==null&&a.upload&&a.upload.removeEventListener("progress",F)),a.readyState!==a.DONE&&a.abort()}})))}};e.\u0275fac=function(i){return new(i||e)(E(Er))},e.\u0275prov=V({token:e,factory:e.\u0275fac});let r=e;return r})(),sd=new P(""),fp="XSRF-TOKEN",gp=new P("",{providedIn:"root",factory:()=>fp}),bp="X-XSRF-TOKEN",_p=new P("",{providedIn:"root",factory:()=>bp}),Rr=class{},vp=(()=>{let e=class e{constructor(t,i,n){this.doc=t,this.platform=i,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=Mr(t,this.cookieName),this.lastCookieString=t),this.lastToken}};e.\u0275fac=function(i){return new(i||e)(E(ne),E(Bt),E(gp))},e.\u0275prov=V({token:e,factory:e.\u0275fac});let r=e;return r})();function xp(r,e){let o=r.url.toLowerCase();if(!T(sd)||r.method==="GET"||r.method==="HEAD"||o.startsWith("http://")||o.startsWith("https://"))return e(r);let t=T(Rr).getToken(),i=T(_p);return t!=null&&!r.headers.has(i)&&(r=r.clone({headers:r.headers.set(i,t)})),e(r)}function ad(...r){let e=[Hi,id,td,{provide:eo,useExisting:td},{provide:Tr,useFactory:()=>T(ap,{optional:!0})??T(id)},{provide:rd,useValue:xp,multi:!0},{provide:sd,useValue:!0},{provide:Rr,useClass:vp}];for(let o of r)e.push(...o.\u0275providers);return Ni(e)}var la=class extends $c{constructor(){super(...arguments),this.supportsDOMEvents=!0}},ca=class r extends la{static makeCurrent(){Wc(new r)}onAndCancel(e,o,t){return e.addEventListener(o,t),()=>{e.removeEventListener(o,t)}}dispatchEvent(e,o){e.dispatchEvent(o)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,o){return o=o||this.getDefaultDocument(),o.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,o){return o==="window"?window:o==="document"?e:o==="body"?e.body:null}getBaseHref(e){let o=wp();return o==null?null:Cp(o)}resetBaseElement(){no=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return Mr(document.cookie,e)}},no=null;function wp(){return no=no||document.querySelector("base"),no?no.getAttribute("href"):null}function Cp(r){return new URL(r,document.baseURI).pathname}var kp=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=V({token:e,factory:e.\u0275fac});let r=e;return r})(),da=new P(""),hd=(()=>{let e=class e{constructor(t,i){this._zone=i,this._eventNameToPlugin=new Map,t.forEach(n=>{n.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,i,n){return this._findPluginFor(i).addEventListener(t,i,n)}getZone(){return this._zone}_findPluginFor(t){let i=this._eventNameToPlugin.get(t);if(i)return i;if(i=this._plugins.find(s=>s.supports(t)),!i)throw new De(5101,!1);return this._eventNameToPlugin.set(t,i),i}};e.\u0275fac=function(i){return new(i||e)(E(da),E(B))},e.\u0275prov=V({token:e,factory:e.\u0275fac});let r=e;return r})(),Ar=class{constructor(e){this._doc=e}},sa="ng-app-id",ud=(()=>{let e=class e{constructor(t,i,n,s={}){this.doc=t,this.appId=i,this.nonce=n,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Ir(s),this.resetHostNodes()}addStyles(t){for(let i of t)this.changeUsageCount(i,1)===1&&this.onStyleAdded(i)}removeStyles(t){for(let i of t)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){let t=this.styleNodesInDOM;t&&(t.forEach(i=>i.remove()),t.clear());for(let i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(t){this.hostNodes.add(t);for(let i of this.getAllStyles())this.addStyleToHost(t,i)}removeHost(t){this.hostNodes.delete(t)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(t){for(let i of this.hostNodes)this.addStyleToHost(i,t)}onStyleRemoved(t){let i=this.styleRef;i.get(t)?.elements?.forEach(n=>n.remove()),i.delete(t)}collectServerRenderedStyles(){let t=this.doc.head?.querySelectorAll(`style[${sa}="${this.appId}"]`);if(t?.length){let i=new Map;return t.forEach(n=>{n.textContent!=null&&i.set(n.textContent,n)}),i}return null}changeUsageCount(t,i){let n=this.styleRef;if(n.has(t)){let s=n.get(t);return s.usage+=i,s.usage}return n.set(t,{usage:i,elements:[]}),i}getStyleElement(t,i){let n=this.styleNodesInDOM,s=n?.get(i);if(s?.parentNode===t)return n.delete(i),s.removeAttribute(sa),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=i,this.platformIsServer&&a.setAttribute(sa,this.appId),t.appendChild(a),a}}addStyleToHost(t,i){let n=this.getStyleElement(t,i),s=this.styleRef,a=s.get(i)?.elements;a?a.push(n):s.set(i,{elements:[n],usage:1})}resetHostNodes(){let t=this.hostNodes;t.clear(),t.add(this.doc.head)}};e.\u0275fac=function(i){return new(i||e)(E(ne),E(br),E(Qn,8),E(Bt))},e.\u0275prov=V({token:e,factory:e.\u0275fac});let r=e;return r})(),aa={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/Math/MathML"},ua=/%COMP%/g,pd="%COMP%",Mp=`_nghost-${pd}`,Ip=`_ngcontent-${pd}`,Ep=!0,Sp=new P("",{providedIn:"root",factory:()=>Ep});function Tp(r){return Ip.replace(ua,r)}function Dp(r){return Mp.replace(ua,r)}function fd(r,e){return e.map(o=>o.replace(ua,r))}var Or=(()=>{let e=class e{constructor(t,i,n,s,a,l,m,p=null){this.eventManager=t,this.sharedStylesHost=i,this.appId=n,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=l,this.ngZone=m,this.nonce=p,this.rendererByCompId=new Map,this.platformIsServer=Ir(l),this.defaultRenderer=new oo(t,a,m,this.platformIsServer)}createRenderer(t,i){if(!t||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===qn.ShadowDom&&(i=le(M({},i),{encapsulation:qn.Emulated}));let n=this.getOrCreateRenderer(t,i);return n instanceof Fr?n.applyToHost(t):n instanceof ro&&n.applyStyles(),n}getOrCreateRenderer(t,i){let n=this.rendererByCompId,s=n.get(i.id);if(!s){let a=this.doc,l=this.ngZone,m=this.eventManager,p=this.sharedStylesHost,v=this.removeStylesOnCompDestroy,y=this.platformIsServer;switch(i.encapsulation){case qn.Emulated:s=new Fr(m,p,i,this.appId,v,a,l,y);break;case qn.ShadowDom:return new ma(m,p,t,i,a,l,this.nonce,y);default:s=new ro(m,p,i,v,a,l,y);break}n.set(i.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(i){return new(i||e)(E(hd),E(ud),E(br),E(Sp),E(ne),E(Bt),E(B),E(Qn))},e.\u0275prov=V({token:e,factory:e.\u0275fac});let r=e;return r})(),oo=class{constructor(e,o,t,i){this.eventManager=e,this.doc=o,this.ngZone=t,this.platformIsServer=i,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,o){return o?this.doc.createElementNS(aa[o]||o,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,o){(cd(e)?e.content:e).appendChild(o)}insertBefore(e,o,t){e&&(cd(e)?e.content:e).insertBefore(o,t)}removeChild(e,o){e&&e.removeChild(o)}selectRootElement(e,o){let t=typeof e=="string"?this.doc.querySelector(e):e;if(!t)throw new De(-5104,!1);return o||(t.textContent=""),t}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,o,t,i){if(i){o=i+":"+o;let n=aa[i];n?e.setAttributeNS(n,o,t):e.setAttribute(o,t)}else e.setAttribute(o,t)}removeAttribute(e,o,t){if(t){let i=aa[t];i?e.removeAttributeNS(i,o):e.removeAttribute(`${t}:${o}`)}else e.removeAttribute(o)}addClass(e,o){e.classList.add(o)}removeClass(e,o){e.classList.remove(o)}setStyle(e,o,t,i){i&(Kn.DashCase|Kn.Important)?e.style.setProperty(o,t,i&Kn.Important?"important":""):e.style[o]=t}removeStyle(e,o,t){t&Kn.DashCase?e.style.removeProperty(o):e.style[o]=""}setProperty(e,o,t){e!=null&&(e[o]=t)}setValue(e,o){e.nodeValue=o}listen(e,o,t){if(typeof e=="string"&&(e=fn().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${o}`);return this.eventManager.addEventListener(e,o,this.decoratePreventDefault(t))}decoratePreventDefault(e){return o=>{if(o==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(o)):e(o))===!1&&o.preventDefault()}}};function cd(r){return r.tagName==="TEMPLATE"&&r.content!==void 0}var ma=class extends oo{constructor(e,o,t,i,n,s,a,l){super(e,n,s,l),this.sharedStylesHost=o,this.hostEl=t,this.shadowRoot=t.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let m=fd(i.id,i.styles);for(let p of m){let v=document.createElement("style");a&&v.setAttribute("nonce",a),v.textContent=p,this.shadowRoot.appendChild(v)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,o){return super.appendChild(this.nodeOrShadowRoot(e),o)}insertBefore(e,o,t){return super.insertBefore(this.nodeOrShadowRoot(e),o,t)}removeChild(e,o){return super.removeChild(this.nodeOrShadowRoot(e),o)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},ro=class extends oo{constructor(e,o,t,i,n,s,a,l){super(e,n,s,a),this.sharedStylesHost=o,this.removeStylesOnCompDestroy=i,this.styles=l?fd(l,t.styles):t.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},Fr=class extends ro{constructor(e,o,t,i,n,s,a,l){let m=i+"-"+t.id;super(e,o,t,n,s,a,l,m),this.contentAttr=Tp(m),this.hostAttr=Dp(m)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,o){let t=super.createElement(e,o);return super.setAttribute(t,this.contentAttr,""),t}},Rp=(()=>{let e=class e extends Ar{constructor(t){super(t)}supports(t){return!0}addEventListener(t,i,n){return t.addEventListener(i,n,!1),()=>this.removeEventListener(t,i,n)}removeEventListener(t,i,n){return t.removeEventListener(i,n)}};e.\u0275fac=function(i){return new(i||e)(E(ne))},e.\u0275prov=V({token:e,factory:e.\u0275fac});let r=e;return r})(),dd=["alt","control","meta","shift"],Ap={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Op={alt:r=>r.altKey,control:r=>r.ctrlKey,meta:r=>r.metaKey,shift:r=>r.shiftKey},Fp=(()=>{let e=class e extends Ar{constructor(t){super(t)}supports(t){return e.parseEventName(t)!=null}addEventListener(t,i,n){let s=e.parseEventName(i),a=e.eventCallback(s.fullKey,n,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>fn().onAndCancel(t,s.domEventName,a))}static parseEventName(t){let i=t.toLowerCase().split("."),n=i.shift();if(i.length===0||!(n==="keydown"||n==="keyup"))return null;let s=e._normalizeKey(i.pop()),a="",l=i.indexOf("code");if(l>-1&&(i.splice(l,1),a="code."),dd.forEach(p=>{let v=i.indexOf(p);v>-1&&(i.splice(v,1),a+=p+".")}),a+=s,i.length!=0||s.length===0)return null;let m={};return m.domEventName=n,m.fullKey=a,m}static matchEventFullKeyCode(t,i){let n=Ap[t.key]||t.key,s="";return i.indexOf("code.")>-1&&(n=t.code,s="code."),n==null||!n?!1:(n=n.toLowerCase(),n===" "?n="space":n==="."&&(n="dot"),dd.forEach(a=>{if(a!==n){let l=Op[a];l(t)&&(s+=a+".")}}),s+=n,s===i)}static eventCallback(t,i,n){return s=>{e.matchEventFullKeyCode(s,t)&&n.runGuarded(()=>i(s))}}static _normalizeKey(t){return t==="esc"?"escape":t}};e.\u0275fac=function(i){return new(i||e)(E(ne))},e.\u0275prov=V({token:e,factory:e.\u0275fac});let r=e;return r})();function gd(r,e){return Vc(M({rootComponent:r},Pp(e)))}function Pp(r){return{appProviders:[...jp,...r?.providers??[]],platformProviders:Vp}}function Lp(){ca.makeCurrent()}function zp(){return new ji}function Np(){return Cc(document),document}var Vp=[{provide:Bt,useValue:Yc},{provide:kc,useValue:Lp,multi:!0},{provide:ne,useFactory:Np,deps:[]}];var jp=[{provide:wc,useValue:"root"},{provide:ji,useFactory:zp,deps:[]},{provide:da,useClass:Rp,multi:!0,deps:[ne,B,Bt]},{provide:da,useClass:Fp,multi:!0,deps:[ne]},Or,ud,hd,{provide:vr,useExisting:Or},{provide:Er,useClass:kp,deps:[]},[]];var bd=(()=>{let e=class e{constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}};e.\u0275fac=function(i){return new(i||e)(E(ne))},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})();var so=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=V({token:e,factory:function(i){let n=null;return i?n=new(i||e):n=E(Bp),n},providedIn:"root"});let r=e;return r})(),Bp=(()=>{let e=class e extends so{constructor(t){super(),this._doc=t}sanitize(t,i){if(i==null)return null;switch(t){case bt.NONE:return i;case bt.HTML:return hn(i,"HTML")?mn(i):Rc(this._doc,String(i)).toString();case bt.STYLE:return hn(i,"Style")?mn(i):i;case bt.SCRIPT:if(hn(i,"Script"))return mn(i);throw new De(5200,!1);case bt.URL:return hn(i,"URL")?mn(i):Dc(String(i));case bt.RESOURCE_URL:if(hn(i,"ResourceURL"))return mn(i);throw new De(5201,!1);default:throw new De(5202,!1)}}bypassSecurityTrustHtml(t){return Mc(t)}bypassSecurityTrustStyle(t){return Ic(t)}bypassSecurityTrustScript(t){return Ec(t)}bypassSecurityTrustUrl(t){return Sc(t)}bypassSecurityTrustResourceUrl(t){return Tc(t)}};e.\u0275fac=function(i){return new(i||e)(E(ne))},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})();function kt(r){return r!=null&&`${r}`!="false"}function Gi(r,e=0){return Wp(r)?Number(r):e}function Wp(r){return!isNaN(parseFloat(r))&&!isNaN(Number(r))}function bn(r){return Array.isArray(r)?r:[r]}function Ze(r){return r==null?"":typeof r=="string"?r:`${r}px`}function yt(r){return r instanceof U?r.nativeElement:r}var ga;try{ga=typeof Intl<"u"&&Intl.v8BreakIterator}catch{ga=!1}var Ce=(()=>{let e=class e{constructor(t){this._platformId=t,this.isBrowser=this._platformId?ri(this._platformId):typeof document=="object"&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!!(window.chrome||ga)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}};e.\u0275fac=function(i){return new(i||e)(E(Bt))},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})();var _n,_d=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function ba(){if(_n)return _n;if(typeof document!="object"||!document)return _n=new Set(_d),_n;let r=document.createElement("input");return _n=new Set(_d.filter(e=>(r.setAttribute("type",e),r.type===e))),_n}var ao;function $p(){if(ao==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>ao=!0}))}finally{ao=ao||!1}return ao}function Zt(r){return $p()?r:!!r.capture}var Yi;function vd(){if(Yi==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return Yi=!1,Yi;if("scrollBehavior"in document.documentElement.style)Yi=!0;else{let r=Element.prototype.scrollTo;r?Yi=!/\{\s*\[native code\]\s*\}/.test(r.toString()):Yi=!1}}return Yi}var fa;function Up(){if(fa==null){let r=typeof document<"u"?document.head:null;fa=!!(r&&(r.createShadowRoot||r.attachShadow))}return fa}function xd(r){if(Up()){let e=r.getRootNode?r.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}function Mt(r){return r.composedPath?r.composedPath()[0]:r.target}function lo(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function Ht(r,...e){return e.length?e.some(o=>r[o]):r.altKey||r.shiftKey||r.ctrlKey||r.metaKey}function Hp(r){if(r.type==="characterData"&&r.target instanceof Comment)return!0;if(r.type==="childList"){for(let e=0;e{let e=class e{create(t){return typeof MutationObserver>"u"?null:new MutationObserver(t)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})(),Gp=(()=>{let e=class e{constructor(t){this._mutationObserverFactory=t,this._observedElements=new Map,this._ngZone=T(B)}ngOnDestroy(){this._observedElements.forEach((t,i)=>this._cleanupObserver(i))}observe(t){let i=yt(t);return new Dt(n=>{let a=this._observeElement(i).pipe(G(l=>l.filter(m=>!Hp(m))),Oe(l=>!!l.length)).subscribe(l=>{this._ngZone.run(()=>{n.next(l)})});return()=>{a.unsubscribe(),this._unobserveElement(i)}})}_observeElement(t){return this._ngZone.runOutsideAngular(()=>{if(this._observedElements.has(t))this._observedElements.get(t).count++;else{let i=new W,n=this._mutationObserverFactory.create(s=>i.next(s));n&&n.observe(t,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(t,{observer:n,stream:i,count:1})}return this._observedElements.get(t).stream})}_unobserveElement(t){this._observedElements.has(t)&&(this._observedElements.get(t).count--,this._observedElements.get(t).count||this._cleanupObserver(t))}_cleanupObserver(t){if(this._observedElements.has(t)){let{observer:i,stream:n}=this._observedElements.get(t);i&&i.disconnect(),n.complete(),this._observedElements.delete(t)}}};e.\u0275fac=function(i){return new(i||e)(E(yd))},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})(),wd=(()=>{let e=class e{get disabled(){return this._disabled}set disabled(t){this._disabled=t,this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(t){this._debounce=Gi(t),this._subscribe()}constructor(t,i){this._contentObserver=t,this._elementRef=i,this.event=new Z,this._disabled=!1,this._currentSubscription=null}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();let t=this._contentObserver.observe(this._elementRef);this._currentSubscription=(this.debounce?t.pipe(vi(this.debounce)):t).subscribe(this.event)}_unsubscribe(){this._currentSubscription?.unsubscribe()}};e.\u0275fac=function(i){return new(i||e)(x(Gp),x(U))},e.\u0275dir=Y({type:e,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[2,"cdkObserveContentDisabled","disabled",ie],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"],standalone:!0,features:[He]});let r=e;return r})(),Pr=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=J({type:e}),e.\u0275inj=K({providers:[yd]});let r=e;return r})();var Cd=new Set,Xi,Yp=(()=>{let e=class e{constructor(t,i){this._platform=t,this._nonce=i,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):qp}matchMedia(t){return(this._platform.WEBKIT||this._platform.BLINK)&&Xp(t,this._nonce),this._matchMedia(t)}};e.\u0275fac=function(i){return new(i||e)(E(Ce),E(Qn,8))},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})();function Xp(r,e){if(!Cd.has(r))try{Xi||(Xi=document.createElement("style"),e&&Xi.setAttribute("nonce",e),Xi.setAttribute("type","text/css"),document.head.appendChild(Xi)),Xi.sheet&&(Xi.sheet.insertRule(`@media ${r} {body{ }}`,0),Cd.add(r))}catch(o){console.error(o)}}function qp(r){return{matches:r==="all"||r==="",media:r,addListener:()=>{},removeListener:()=>{}}}var Md=(()=>{let e=class e{constructor(t,i){this._mediaMatcher=t,this._zone=i,this._queries=new Map,this._destroySubject=new W}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(t){return kd(bn(t)).some(n=>this._registerQuery(n).mql.matches)}observe(t){let n=kd(bn(t)).map(a=>this._registerQuery(a).observable),s=Gn(n);return s=hr(s.pipe(ht(1)),s.pipe(gr(1),vi(0))),s.pipe(G(a=>{let l={matches:!1,breakpoints:{}};return a.forEach(({matches:m,query:p})=>{l.matches=l.matches||m,l.breakpoints[p]=m}),l}))}_registerQuery(t){if(this._queries.has(t))return this._queries.get(t);let i=this._mediaMatcher.matchMedia(t),s={observable:new Dt(a=>{let l=m=>this._zone.run(()=>a.next(m));return i.addListener(l),()=>{i.removeListener(l)}}).pipe(vt(i),G(({matches:a})=>({query:t,matches:a})),Me(this._destroySubject)),mql:i};return this._queries.set(t,s),s}};e.\u0275fac=function(i){return new(i||e)(E(Yp),E(B))},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})();function kd(r){return r.map(e=>e.split(",")).reduce((e,o)=>e.concat(o)).map(e=>e.trim())}var Sd=" ";function Td(r,e,o){let t=Dd(r,e);o=o.trim(),!t.some(i=>i.trim()===o)&&(t.push(o),r.setAttribute(e,t.join(Sd)))}function xa(r,e,o){let t=Dd(r,e);o=o.trim();let i=t.filter(n=>n!==o);i.length?r.setAttribute(e,i.join(Sd)):r.removeAttribute(e)}function Dd(r,e){return r.getAttribute(e)?.match(/\S+/g)??[]}var Nr=class{constructor(e,o){this._items=e,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new W,this._typeaheadSubscription=Ye.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=t=>t.disabled,this._pressedLetters=[],this.tabOut=new W,this.change=new W,e instanceof Zn?this._itemChangesSubscription=e.changes.subscribe(t=>this._itemsChanged(t.toArray())):Hs(e)&&(this._effectRef=Bc(()=>this._itemsChanged(e()),{injector:o}))}skipPredicate(e){return this._skipPredicateFn=e,this}withWrap(e=!0){return this._wrap=e,this}withVerticalOrientation(e=!0){return this._vertical=e,this}withHorizontalOrientation(e){return this._horizontal=e,this}withAllowedModifierKeys(e){return this._allowedModifierKeys=e,this}withTypeAhead(e=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(Ue(o=>this._pressedLetters.push(o)),vi(e),Oe(()=>this._pressedLetters.length>0),G(()=>this._pressedLetters.join(""))).subscribe(o=>{let t=this._getItemsArray();for(let i=1;i!e[n]||this._allowedModifierKeys.indexOf(n)>-1);switch(o){case 9:this.tabOut.next();return;case 40:if(this._vertical&&i){this.setNextItemActive();break}else return;case 38:if(this._vertical&&i){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&i){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&i){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&i){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&i){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&i){let n=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(n>0?n:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&i){let n=this._activeItemIndex+this._pageUpAndDown.delta,s=this._getItemsArray().length;this._setActiveItemByIndex(n=65&&o<=90||o>=48&&o<=57)&&this._letterKeyStream.next(String.fromCharCode(o)));return}this._pressedLetters=[],e.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._getItemsArray().length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(e){let o=this._getItemsArray(),t=typeof e=="number"?e:o.indexOf(e),i=o[t];this._activeItem=i??null,this._activeItemIndex=t}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)}_setActiveInWrapMode(e){let o=this._getItemsArray();for(let t=1;t<=o.length;t++){let i=(this._activeItemIndex+e*t+o.length)%o.length,n=o[i];if(!this._skipPredicateFn(n)){this.setActiveItem(i);return}}}_setActiveInDefaultMode(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)}_setActiveItemByIndex(e,o){let t=this._getItemsArray();if(t[e]){for(;this._skipPredicateFn(t[e]);)if(e+=o,!t[e])return;this.setActiveItem(e)}}_getItemsArray(){return Hs(this._items)?this._items():this._items instanceof Zn?this._items.toArray():this._items}_itemsChanged(e){if(this._activeItem){let o=e.indexOf(this._activeItem);o>-1&&o!==this._activeItemIndex&&(this._activeItemIndex=o)}}},Vr=class extends Nr{setActiveItem(e){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(e),this.activeItem&&this.activeItem.setActiveStyles()}},jr=class extends Nr{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(e){return this._origin=e,this}setActiveItem(e){super.setActiveItem(e),this.activeItem&&this.activeItem.focus(this._origin)}};function co(r){return r.buttons===0||r.detail===0}function mo(r){let e=r.touches&&r.touches[0]||r.changedTouches&&r.changedTouches[0];return!!e&&e.identifier===-1&&(e.radiusX==null||e.radiusX===1)&&(e.radiusY==null||e.radiusY===1)}var df=new P("cdk-input-modality-detector-options"),mf={ignoreKeys:[18,17,224,91,16]},Rd=650,vn=Zt({passive:!0,capture:!0}),hf=(()=>{let e=class e{get mostRecentModality(){return this._modality.value}constructor(t,i,n,s){this._platform=t,this._mostRecentTarget=null,this._modality=new _t(null),this._lastTouchMs=0,this._onKeydown=a=>{this._options?.ignoreKeys?.some(l=>l===a.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Mt(a))},this._onMousedown=a=>{Date.now()-this._lastTouchMs{if(mo(a)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Mt(a)},this._options=M(M({},mf),s),this.modalityDetected=this._modality.pipe(gr(1)),this.modalityChanged=this.modalityDetected.pipe(zi()),t.isBrowser&&i.runOutsideAngular(()=>{n.addEventListener("keydown",this._onKeydown,vn),n.addEventListener("mousedown",this._onMousedown,vn),n.addEventListener("touchstart",this._onTouchstart,vn)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,vn),document.removeEventListener("mousedown",this._onMousedown,vn),document.removeEventListener("touchstart",this._onTouchstart,vn))}};e.\u0275fac=function(i){return new(i||e)(E(Ce),E(B),E(ne),E(df,8))},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})(),uf=new P("liveAnnouncerElement",{providedIn:"root",factory:pf});function pf(){return null}var ff=new P("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),gf=0,Ad=(()=>{let e=class e{constructor(t,i,n,s){this._ngZone=i,this._defaultOptions=s,this._document=n,this._liveElement=t||this._createLiveElement()}announce(t,...i){let n=this._defaultOptions,s,a;return i.length===1&&typeof i[0]=="number"?a=i[0]:[s,a]=i,this.clear(),clearTimeout(this._previousTimeout),s||(s=n&&n.politeness?n.politeness:"polite"),a==null&&n&&(a=n.duration),this._liveElement.setAttribute("aria-live",s),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(l=>this._currentResolve=l)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=t,typeof a=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),a)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let t="cdk-live-announcer-element",i=this._document.getElementsByClassName(t),n=this._document.createElement("div");for(let s=0;s .cdk-overlay-container [aria-modal="true"]');for(let n=0;n{let e=class e{constructor(t,i,n,s,a){this._ngZone=t,this._platform=i,this._inputModalityDetector=n,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 W,this._rootNodeFocusAndBlurListener=l=>{let m=Mt(l);for(let p=m;p;p=p.parentElement)l.type==="focus"?this._onFocus(l,p):this._onBlur(l,p)},this._document=s,this._detectionMode=a?.detectionMode||zr.IMMEDIATE}monitor(t,i=!1){let n=yt(t);if(!this._platform.isBrowser||n.nodeType!==1)return $();let s=xd(n)||this._getDocument(),a=this._elementInfo.get(n);if(a)return i&&(a.checkChildren=!0),a.subject;let l={checkChildren:i,subject:new W,rootNode:s};return this._elementInfo.set(n,l),this._registerGlobalListeners(l),l.subject}stopMonitoring(t){let i=yt(t),n=this._elementInfo.get(i);n&&(n.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(n))}focusVia(t,i,n){let s=yt(t),a=this._getDocument().activeElement;s===a?this._getClosestElementsInfo(s).forEach(([l,m])=>this._originChanged(l,i,m)):(this._setOrigin(i),typeof s.focus=="function"&&s.focus(n))}ngOnDestroy(){this._elementInfo.forEach((t,i)=>this.stopMonitoring(i))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(t){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(t)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:t&&this._isLastInteractionFromInputLabel(t)?"mouse":"program"}_shouldBeAttributedToTouch(t){return this._detectionMode===zr.EVENTUAL||!!t?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(t,i){t.classList.toggle("cdk-focused",!!i),t.classList.toggle("cdk-touch-focused",i==="touch"),t.classList.toggle("cdk-keyboard-focused",i==="keyboard"),t.classList.toggle("cdk-mouse-focused",i==="mouse"),t.classList.toggle("cdk-program-focused",i==="program")}_setOrigin(t,i=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=t,this._originFromTouchInteraction=t==="touch"&&i,this._detectionMode===zr.IMMEDIATE){clearTimeout(this._originTimeoutId);let n=this._originFromTouchInteraction?Rd:1;this._originTimeoutId=setTimeout(()=>this._origin=null,n)}})}_onFocus(t,i){let n=this._elementInfo.get(i),s=Mt(t);!n||!n.checkChildren&&i!==s||this._originChanged(i,this._getFocusOrigin(s),n)}_onBlur(t,i){let n=this._elementInfo.get(i);!n||n.checkChildren&&t.relatedTarget instanceof Node&&i.contains(t.relatedTarget)||(this._setClasses(i),this._emitOrigin(n,null))}_emitOrigin(t,i){t.subject.observers.length&&this._ngZone.run(()=>t.subject.next(i))}_registerGlobalListeners(t){if(!this._platform.isBrowser)return;let i=t.rootNode,n=this._rootNodeFocusListenerCount.get(i)||0;n||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,Lr),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,Lr)}),this._rootNodeFocusListenerCount.set(i,n+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(Me(this._stopInputModalityDetector)).subscribe(s=>{this._setOrigin(s,!0)}))}_removeGlobalListeners(t){let i=t.rootNode;if(this._rootNodeFocusListenerCount.has(i)){let n=this._rootNodeFocusListenerCount.get(i);n>1?this._rootNodeFocusListenerCount.set(i,n-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Lr),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Lr),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(t,i,n){this._setClasses(t,i),this._emitOrigin(n,i),this._lastFocusOrigin=i}_getClosestElementsInfo(t){let i=[];return this._elementInfo.forEach((n,s)=>{(s===t||n.checkChildren&&s.contains(t))&&i.push([s,n])}),i}_isLastInteractionFromInputLabel(t){let{_mostRecentTarget:i,mostRecentModality:n}=this._inputModalityDetector;if(n!=="mouse"||!i||i===t||t.nodeName!=="INPUT"&&t.nodeName!=="TEXTAREA"||t.disabled)return!1;let s=t.labels;if(s){for(let a=0;a{let e=class e{constructor(t,i){this._platform=t,this._document=i,this._breakpointSubscription=T(Md).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return qi.NONE;let t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);let i=this._document.defaultView||window,n=i&&i.getComputedStyle?i.getComputedStyle(t):null,s=(n&&n.backgroundColor||"").replace(/ /g,"");switch(t.remove(),s){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return qi.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return qi.BLACK_ON_WHITE}return qi.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let t=this._document.body.classList;t.remove(_a,Id,Ed),this._hasCheckedHighContrastMode=!0;let i=this.getHighContrastMode();i===qi.BLACK_ON_WHITE?t.add(_a,Id):i===qi.WHITE_ON_BLACK&&t.add(_a,Ed)}}};e.\u0275fac=function(i){return new(i||e)(E(Ce),E(ne))},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})();var _f=new P("cdk-dir-doc",{providedIn:"root",factory:vf});function vf(){return T(ne)}var xf=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function yf(r){let e=r?.toLowerCase()||"";return e==="auto"&&typeof navigator<"u"&&navigator?.language?xf.test(navigator.language)?"rtl":"ltr":e==="rtl"?"rtl":"ltr"}var li=(()=>{let e=class e{constructor(t){if(this.value="ltr",this.change=new Z,t){let i=t.body?t.body.dir:null,n=t.documentElement?t.documentElement.dir:null;this.value=yf(i||n||"ltr")}}ngOnDestroy(){this.change.complete()}};e.\u0275fac=function(i){return new(i||e)(E(_f,8))},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})();var Ei=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=J({type:e}),e.\u0275inj=K({});let r=e;return r})();var wf=["text"],Cf=[[["mat-icon"]],"*"],kf=["mat-icon","*"];function Mf(r,e){if(r&1&&O(0,"mat-pseudo-checkbox",1),r&2){let o=f();S("disabled",o.disabled)("state",o.selected?"checked":"unchecked")}}function If(r,e){if(r&1&&O(0,"mat-pseudo-checkbox",3),r&2){let o=f();S("disabled",o.disabled)}}function Ef(r,e){if(r&1&&(c(0,"span",4),h(1),d()),r&2){let o=f();u(),wr("(",o.group.label,")")}}var Sf=["mat-internal-form-field",""],Tf=["*"];function Df(){return!0}var Rf=new P("mat-sanity-checks",{providedIn:"root",factory:Df}),Ie=(()=>{let e=class e{constructor(t,i,n){this._sanityChecks=i,this._document=n,this._hasDoneGlobalChecks=!1,t._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(t){return lo()?!1:typeof this._sanityChecks=="boolean"?this._sanityChecks:!!this._sanityChecks[t]}};e.\u0275fac=function(i){return new(i||e)(E(Od),E(Rf,8),E(ne))},e.\u0275mod=J({type:e}),e.\u0275inj=K({imports:[Ei,Ei]});let r=e;return r})();var kn=class{constructor(e,o,t,i,n){this._defaultMatcher=e,this.ngControl=o,this._parentFormGroup=t,this._parentForm=i,this._stateChanges=n,this.errorState=!1}updateErrorState(){let e=this.errorState,o=this._parentFormGroup||this._parentForm,t=this.matcher||this._defaultMatcher,i=this.ngControl?this.ngControl.control:null,n=t?.isErrorState(i,o)??!1;n!==e&&(this.errorState=n,this._stateChanges.next())}};var $r=(()=>{let e=class e{isErrorState(t,i){return!!(t&&t.invalid&&(t.touched||i&&i.submitted))}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})();var Ot=function(r){return r[r.FADING_IN=0]="FADING_IN",r[r.VISIBLE=1]="VISIBLE",r[r.FADING_OUT=2]="FADING_OUT",r[r.HIDDEN=3]="HIDDEN",r}(Ot||{}),ka=class{constructor(e,o,t,i=!1){this._renderer=e,this.element=o,this.config=t,this._animationForciblyDisabledThroughCss=i,this.state=Ot.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}},Fd=Zt({passive:!0,capture:!0}),Ma=class{constructor(){this._events=new Map,this._delegateEventHandler=e=>{let o=Mt(e);o&&this._events.get(e.type)?.forEach((t,i)=>{(i===o||i.contains(o))&&t.forEach(n=>n.handleEvent(e))})}}addHandler(e,o,t,i){let n=this._events.get(o);if(n){let s=n.get(t);s?s.add(i):n.set(t,new Set([i]))}else this._events.set(o,new Map([[t,new Set([i])]])),e.runOutsideAngular(()=>{document.addEventListener(o,this._delegateEventHandler,Fd)})}removeHandler(e,o,t){let i=this._events.get(e);if(!i)return;let n=i.get(o);n&&(n.delete(t),n.size===0&&i.delete(o),i.size===0&&(this._events.delete(e),document.removeEventListener(e,this._delegateEventHandler,Fd)))}},Pd={enterDuration:225,exitDuration:150},Af=800,Ld=Zt({passive:!0,capture:!0}),zd=["mousedown","touchstart"],Nd=["mouseup","mouseleave","touchend","touchcancel"],uo=class uo{constructor(e,o,t,i){this._target=e,this._ngZone=o,this._platform=i,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,i.isBrowser&&(this._containerElement=yt(t))}fadeInRipple(e,o,t={}){let i=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),n=M(M({},Pd),t.animation);t.centered&&(e=i.left+i.width/2,o=i.top+i.height/2);let s=t.radius||Of(e,o,i),a=e-i.left,l=o-i.top,m=n.enterDuration,p=document.createElement("div");p.classList.add("mat-ripple-element"),p.style.left=`${a-s}px`,p.style.top=`${l-s}px`,p.style.height=`${s*2}px`,p.style.width=`${s*2}px`,t.color!=null&&(p.style.backgroundColor=t.color),p.style.transitionDuration=`${m}ms`,this._containerElement.appendChild(p);let v=window.getComputedStyle(p),y=v.transitionProperty,I=v.transitionDuration,D=y==="none"||I==="0s"||I==="0s, 0s"||i.width===0&&i.height===0,F=new ka(this,p,t,D);p.style.transform="scale3d(1, 1, 1)",F.state=Ot.FADING_IN,t.persistent||(this._mostRecentTransientRipple=F);let j=null;return!D&&(m||n.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let H=()=>this._finishRippleTransition(F),Pe=()=>this._destroyRipple(F);p.addEventListener("transitionend",H),p.addEventListener("transitioncancel",Pe),j={onTransitionEnd:H,onTransitionCancel:Pe}}),this._activeRipples.set(F,j),(D||!m)&&this._finishRippleTransition(F),F}fadeOutRipple(e){if(e.state===Ot.FADING_OUT||e.state===Ot.HIDDEN)return;let o=e.element,t=M(M({},Pd),e.config.animation);o.style.transitionDuration=`${t.exitDuration}ms`,o.style.opacity="0",e.state=Ot.FADING_OUT,(e._animationForciblyDisabledThroughCss||!t.exitDuration)&&this._finishRippleTransition(e)}fadeOutAll(){this._getActiveRipples().forEach(e=>e.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(e=>{e.config.persistent||e.fadeOut()})}setupTriggerEvents(e){let o=yt(e);!this._platform.isBrowser||!o||o===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=o,zd.forEach(t=>{uo._eventManager.addHandler(this._ngZone,t,o,this)}))}handleEvent(e){e.type==="mousedown"?this._onMousedown(e):e.type==="touchstart"?this._onTouchStart(e):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{Nd.forEach(o=>{this._triggerElement.addEventListener(o,this,Ld)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(e){e.state===Ot.FADING_IN?this._startFadeOutTransition(e):e.state===Ot.FADING_OUT&&this._destroyRipple(e)}_startFadeOutTransition(e){let o=e===this._mostRecentTransientRipple,{persistent:t}=e.config;e.state=Ot.VISIBLE,!t&&(!o||!this._isPointerDown)&&e.fadeOut()}_destroyRipple(e){let o=this._activeRipples.get(e)??null;this._activeRipples.delete(e),this._activeRipples.size||(this._containerRect=null),e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),e.state=Ot.HIDDEN,o!==null&&(e.element.removeEventListener("transitionend",o.onTransitionEnd),e.element.removeEventListener("transitioncancel",o.onTransitionCancel)),e.element.remove()}_onMousedown(e){let o=co(e),t=this._lastTouchStartEvent&&Date.now(){let o=e.state===Ot.VISIBLE||e.config.terminateOnPointerUp&&e.state===Ot.FADING_IN;!e.config.persistent&&o&&e.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let e=this._triggerElement;e&&(zd.forEach(o=>uo._eventManager.removeHandler(o,e,this)),this._pointerUpEventsRegistered&&(Nd.forEach(o=>e.removeEventListener(o,this,Ld)),this._pointerUpEventsRegistered=!1))}};uo._eventManager=new Ma;var po=uo;function Of(r,e,o){let t=Math.max(Math.abs(r-o.left),Math.abs(r-o.right)),i=Math.max(Math.abs(e-o.top),Math.abs(e-o.bottom));return Math.sqrt(t*t+i*i)}var fo=new P("mat-ripple-global-options"),Zi=(()=>{let e=class e{get disabled(){return this._disabled}set disabled(t){t&&this.fadeOutAllNonPersistent(),this._disabled=t,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(t){this._trigger=t,this._setupTriggerEventsIfEnabled()}constructor(t,i,n,s,a){this._elementRef=t,this._animationMode=a,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=s||{},this._rippleRenderer=new po(this,i,t,n)}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:M(M(M({},this._globalOptions.animation),this._animationMode==="NoopAnimations"?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(t,i=0,n){return typeof t=="number"?this._rippleRenderer.fadeInRipple(t,i,M(M({},this.rippleConfig),n)):this._rippleRenderer.fadeInRipple(0,0,M(M({},this.rippleConfig),t))}};e.\u0275fac=function(i){return new(i||e)(x(U),x(B),x(Ce),x(fo,8),x(Je,8))},e.\u0275dir=Y({type:e,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(i,n){i&2&&oe("mat-ripple-unbounded",n.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"],standalone:!0});let r=e;return r})(),Qi=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=J({type:e}),e.\u0275inj=K({imports:[Ie,Ie]});let r=e;return r})(),Ff=(()=>{let e=class e{constructor(t){this._animationMode=t,this.state="unchecked",this.disabled=!1,this.appearance="full"}};e.\u0275fac=function(i){return new(i||e)(x(Je,8))},e.\u0275cmp=R({type:e,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(i,n){i&2&&oe("mat-pseudo-checkbox-indeterminate",n.state==="indeterminate")("mat-pseudo-checkbox-checked",n.state==="checked")("mat-pseudo-checkbox-disabled",n.disabled)("mat-pseudo-checkbox-minimal",n.appearance==="minimal")("mat-pseudo-checkbox-full",n.appearance==="full")("_mat-animation-noopable",n._animationMode==="NoopAnimations")},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},standalone:!0,features:[A],decls:0,vars:0,template:function(i,n){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-minimal-pseudo-checkbox-selected-checkmark-color)}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-unselected-icon-color);border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-full-pseudo-checkbox-disabled-unselected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-full-pseudo-checkbox-selected-icon-color);border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-full-pseudo-checkbox-selected-checkmark-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-full-pseudo-checkbox-disabled-selected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-full-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0});let r=e;return r})(),Ea=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=J({type:e}),e.\u0275inj=K({imports:[Ie]});let r=e;return r})(),Sa=new P("MAT_OPTION_PARENT_COMPONENT");var Ta=new P("MatOptgroup");var Pf=0,Ia=class{constructor(e,o=!1){this.source=e,this.isUserInput=o}},rt=(()=>{let e=class e{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(t){this._disabled=t}get disableRipple(){return!!(this._parent&&this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}constructor(t,i,n,s){this._element=t,this._changeDetectorRef=i,this._parent=n,this.group=s,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id=`mat-option-${Pf++}`,this.onSelectionChange=new Z,this._stateChanges=new W}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(t=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),t&&this._emitSelectionChangeEvent())}deselect(t=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),t&&this._emitSelectionChangeEvent())}focus(t,i){let n=this._getHostElement();typeof n.focus=="function"&&n.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(t){(t.keyCode===13||t.keyCode===32)&&!Ht(t)&&(this._selectViaInteraction(),t.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=this.multiple?!this._selected:!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){let t=this.viewValue;t!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=t)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(t=!1){this.onSelectionChange.emit(new Ia(this,t))}};e.\u0275fac=function(i){return new(i||e)(x(U),x(Ge),x(Sa,8),x(Ta,8))},e.\u0275cmp=R({type:e,selectors:[["mat-option"]],viewQuery:function(i,n){if(i&1&&Ve(wf,7),i&2){let s;ee(s=te())&&(n._text=s.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(i,n){i&1&&g("click",function(){return n._selectViaInteraction()})("keydown",function(a){return n._handleKeydown(a)}),i&2&&(wi("id",n.id),be("aria-selected",n.selected)("aria-disabled",n.disabled.toString()),oe("mdc-list-item--selected",n.selected)("mat-mdc-option-multiple",n.multiple)("mat-mdc-option-active",n.active)("mdc-list-item--disabled",n.disabled))},inputs:{value:"value",id:"id",disabled:[2,"disabled","disabled",ie]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],standalone:!0,features:[He,A],ngContentSelectors:kf,decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(i,n){i&1&&(Re(Cf),Q(0,Mf,1,2,"mat-pseudo-checkbox",1),X(1),c(2,"span",2,0),X(4,1),d(),Q(5,If,1,1,"mat-pseudo-checkbox",3)(6,Ef,2,1,"span",4),O(7,"div",5)),i&2&&(N(n.multiple?0:-1),u(5),N(!n.multiple&&n.selected&&!n.hideSingleSelectionIndicator?5:-1),u(),N(n.group&&n.group._inert?6:-1),u(),S("matRippleTrigger",n._getHostElement())("matRippleDisabled",n.disabled||n.disableRipple))},dependencies:[Ff,Zi],styles:['.mat-mdc-option{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color);font-family:var(--mat-option-label-text-font);line-height:var(--mat-option-label-text-line-height);font-size:var(--mat-option-label-text-size);letter-spacing:var(--mat-option-label-text-tracking);font-weight:var(--mat-option-label-text-weight);min-height:48px}.mat-mdc-option:focus{outline:none}[dir=rtl] .mat-mdc-option,.mat-mdc-option[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color)}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color)}.mat-mdc-option.mdc-list-item{align-items:center;background:rgba(0,0,0,0)}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-multiple{--mdc-list-list-item-selected-container-color:var(--mdc-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0});let r=e;return r})();function Wd(r,e,o){if(o.length){let t=e.toArray(),i=o.toArray(),n=0;for(let s=0;so+t?Math.max(0,r-t+e):o}var Da=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=J({type:e}),e.\u0275inj=K({imports:[Qi,Ie,Ea]});let r=e;return r})(),Vd={capture:!0},jd=["focus","mousedown","mouseenter","touchstart"],wa="mat-ripple-loader-uninitialized",Ca="mat-ripple-loader-class-name",Bd="mat-ripple-loader-centered",Wr="mat-ripple-loader-disabled",Ud=(()=>{let e=class e{constructor(){this._document=T(ne,{optional:!0}),this._animationMode=T(Je,{optional:!0}),this._globalRippleOptions=T(fo,{optional:!0}),this._platform=T(Ce),this._ngZone=T(B),this._hosts=new Map,this._onInteraction=t=>{let i=Mt(t);if(i instanceof HTMLElement){let n=i.closest(`[${wa}="${this._globalRippleOptions?.namespace??""}"]`);n&&this._createRipple(n)}},this._ngZone.runOutsideAngular(()=>{for(let t of jd)this._document?.addEventListener(t,this._onInteraction,Vd)})}ngOnDestroy(){let t=this._hosts.keys();for(let i of t)this.destroyRipple(i);for(let i of jd)this._document?.removeEventListener(i,this._onInteraction,Vd)}configureRipple(t,i){t.setAttribute(wa,this._globalRippleOptions?.namespace??""),(i.className||!t.hasAttribute(Ca))&&t.setAttribute(Ca,i.className||""),i.centered&&t.setAttribute(Bd,""),i.disabled&&t.setAttribute(Wr,"")}getRipple(t){return this._hosts.get(t)||this._createRipple(t)}setDisabled(t,i){let n=this._hosts.get(t);if(n){n.disabled=i;return}i?t.setAttribute(Wr,""):t.removeAttribute(Wr)}_createRipple(t){if(!this._document)return;let i=this._hosts.get(t);if(i)return i;t.querySelector(".mat-ripple")?.remove();let n=this._document.createElement("span");n.classList.add("mat-ripple",t.getAttribute(Ca)),t.append(n);let s=new Zi(new U(n),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return s._isInitialized=!0,s.trigger=t,s.centered=t.hasAttribute(Bd),s.disabled=t.hasAttribute(Wr),this.attachRipple(t,s),s}attachRipple(t,i){t.removeAttribute(wa),this._hosts.set(t,i)}destroyRipple(t){let i=this._hosts.get(t);i&&(i.ngOnDestroy(),this._hosts.delete(t))}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})(),Hd=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=R({type:e,selectors:[["div","mat-internal-form-field",""]],hostAttrs:[1,"mdc-form-field","mat-internal-form-field"],hostVars:2,hostBindings:function(i,n){i&2&&oe("mdc-form-field--align-end",n.labelPosition==="before")},inputs:{labelPosition:"labelPosition"},standalone:!0,features:[A],attrs:Sf,ngContentSelectors:Tf,decls:1,vars:0,template:function(i,n){i&1&&(Re(),X(0))},styles:[".mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mat-internal-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}"],encapsulation:2,changeDetection:0});let r=e;return r})();var Gd=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=J({type:e}),e.\u0275inj=K({imports:[Ie,Ie]});let r=e;return r})();var Ur=class{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(e=!1,o,t=!0,i){this._multiple=e,this._emitChanges=t,this.compareWith=i,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new W,o&&o.length&&(e?o.forEach(n=>this._markSelected(n)):this._markSelected(o[0]),this._selectedToEmit.length=0)}select(...e){this._verifyValueAssignment(e),e.forEach(t=>this._markSelected(t));let o=this._hasQueuedChanges();return this._emitChangeEvent(),o}deselect(...e){this._verifyValueAssignment(e),e.forEach(t=>this._unmarkSelected(t));let o=this._hasQueuedChanges();return this._emitChangeEvent(),o}setSelection(...e){this._verifyValueAssignment(e);let o=this.selected,t=new Set(e);e.forEach(n=>this._markSelected(n)),o.filter(n=>!t.has(this._getConcreteValue(n,t))).forEach(n=>this._unmarkSelected(n));let i=this._hasQueuedChanges();return this._emitChangeEvent(),i}toggle(e){return this.isSelected(e)?this.deselect(e):this.select(e)}clear(e=!0){this._unmarkAll();let o=this._hasQueuedChanges();return e&&this._emitChangeEvent(),o}isSelected(e){return this._selection.has(this._getConcreteValue(e))}isEmpty(){return this._selection.size===0}hasValue(){return!this.isEmpty()}sort(e){this._multiple&&this.selected&&this._selected.sort(e)}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(e){e=this._getConcreteValue(e),this.isSelected(e)||(this._multiple||this._unmarkAll(),this.isSelected(e)||this._selection.add(e),this._emitChanges&&this._selectedToEmit.push(e))}_unmarkSelected(e){e=this._getConcreteValue(e),this.isSelected(e)&&(this._selection.delete(e),this._emitChanges&&this._deselectedToEmit.push(e))}_unmarkAll(){this.isEmpty()||this._selection.forEach(e=>this._unmarkSelected(e))}_verifyValueAssignment(e){e.length>1&&this._multiple}_hasQueuedChanges(){return!!(this._deselectedToEmit.length||this._selectedToEmit.length)}_getConcreteValue(e,o){if(this.compareWith){o=o??this._selection;for(let t of o)if(this.compareWith(e,t))return t;return e}else return e}};var em=(()=>{let e=class e{constructor(t,i){this._renderer=t,this._elementRef=i,this.onChange=n=>{},this.onTouched=()=>{}}setProperty(t,i){this._renderer.setProperty(this._elementRef.nativeElement,t,i)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}};e.\u0275fac=function(i){return new(i||e)(x(Wt),x(U))},e.\u0275dir=Y({type:e});let r=e;return r})(),tm=(()=>{let e=class e extends em{};e.\u0275fac=(()=>{let t;return function(n){return(t||(t=xt(e)))(n||e)}})(),e.\u0275dir=Y({type:e,features:[ze]});let r=e;return r})(),yo=new P("");var Lf={provide:yo,useExisting:Vt(()=>Xe),multi:!0};function zf(){let r=fn()?fn().getUserAgent():"";return/android (\d+)/.test(r.toLowerCase())}var Nf=new P(""),Xe=(()=>{let e=class e extends em{constructor(t,i,n){super(t,i),this._compositionMode=n,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!zf())}writeValue(t){let i=t??"";this.setProperty("value",i)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}};e.\u0275fac=function(i){return new(i||e)(x(Wt),x(U),x(Nf,8))},e.\u0275dir=Y({type:e,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(i,n){i&1&&g("input",function(a){return n._handleInput(a.target.value)})("blur",function(){return n.onTouched()})("compositionstart",function(){return n._compositionStart()})("compositionend",function(a){return n._compositionEnd(a.target.value)})},features:[je([Lf]),ze]});let r=e;return r})();function Si(r){return r==null||(typeof r=="string"||Array.isArray(r))&&r.length===0}function im(r){return r!=null&&typeof r.length=="number"}var Ji=new P(""),Pa=new P(""),Vf=/^(?=.{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])?)*$/,Tn=class{static min(e){return nm(e)}static max(e){return om(e)}static required(e){return jf(e)}static requiredTrue(e){return Bf(e)}static email(e){return Wf(e)}static minLength(e){return $f(e)}static maxLength(e){return Uf(e)}static pattern(e){return Hf(e)}static nullValidator(e){return Gr(e)}static compose(e){return dm(e)}static composeAsync(e){return mm(e)}};function nm(r){return e=>{if(Si(e.value)||Si(r))return null;let o=parseFloat(e.value);return!isNaN(o)&&o{if(Si(e.value)||Si(r))return null;let o=parseFloat(e.value);return!isNaN(o)&&o>r?{max:{max:r,actual:e.value}}:null}}function jf(r){return Si(r.value)?{required:!0}:null}function Bf(r){return r.value===!0?null:{required:!0}}function Wf(r){return Si(r.value)||Vf.test(r.value)?null:{email:!0}}function $f(r){return e=>Si(e.value)||!im(e.value)?null:e.value.lengthim(e.value)&&e.value.length>r?{maxlength:{requiredLength:r,actualLength:e.value.length}}:null}function Hf(r){if(!r)return Gr;let e,o;return typeof r=="string"?(o="",r.charAt(0)!=="^"&&(o+="^"),o+=r,r.charAt(r.length-1)!=="$"&&(o+="$"),e=new RegExp(o)):(o=r.toString(),e=r),t=>{if(Si(t.value))return null;let i=t.value;return e.test(i)?null:{pattern:{requiredPattern:o,actualValue:i}}}}function Gr(r){return null}function rm(r){return r!=null}function sm(r){return kr(r)?dt(r):r}function am(r){let e={};return r.forEach(o=>{e=o!=null?M(M({},e),o):e}),Object.keys(e).length===0?null:e}function lm(r,e){return e.map(o=>o(r))}function Gf(r){return!r.validate}function cm(r){return r.map(e=>Gf(e)?e:o=>e.validate(o))}function dm(r){if(!r)return null;let e=r.filter(rm);return e.length==0?null:function(o){return am(lm(o,e))}}function La(r){return r!=null?dm(cm(r)):null}function mm(r){if(!r)return null;let e=r.filter(rm);return e.length==0?null:function(o){let t=lm(o,e).map(sm);return ur(t).pipe(G(am))}}function za(r){return r!=null?mm(cm(r)):null}function Yd(r,e){return r===null?[e]:Array.isArray(r)?[...r,e]:[r,e]}function hm(r){return r._rawValidators}function um(r){return r._rawAsyncValidators}function Ra(r){return r?Array.isArray(r)?r:[r]:[]}function Yr(r,e){return Array.isArray(r)?r.includes(e):r===e}function Xd(r,e){let o=Ra(e);return Ra(r).forEach(i=>{Yr(o,i)||o.push(i)}),o}function qd(r,e){return Ra(e).filter(o=>!Yr(r,o))}var Xr=class{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(e){this._rawValidators=e||[],this._composedValidatorFn=La(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=za(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e=void 0){this.control&&this.control.reset(e)}hasError(e,o){return this.control?this.control.hasError(e,o):!1}getError(e,o){return this.control?this.control.getError(e,o):null}},Ki=class extends Xr{get formDirective(){return null}get path(){return null}},ci=class extends Xr{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},Aa=class{constructor(e){this._cd=e}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}},Yf={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},BC=le(M({},Yf),{"[class.ng-submitted]":"isSubmitted"}),Ee=(()=>{let e=class e extends Aa{constructor(t){super(t)}};e.\u0275fac=function(i){return new(i||e)(x(ci,2))},e.\u0275dir=Y({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,n){i&2&&oe("ng-untouched",n.isUntouched)("ng-touched",n.isTouched)("ng-pristine",n.isPristine)("ng-dirty",n.isDirty)("ng-valid",n.isValid)("ng-invalid",n.isInvalid)("ng-pending",n.isPending)},features:[ze]});let r=e;return r})();var go="VALID",Hr="INVALID",En="PENDING",bo="DISABLED",Ti=class{},qr=class extends Ti{constructor(e,o){super(),this.value=e,this.source=o}},vo=class extends Ti{constructor(e,o){super(),this.pristine=e,this.source=o}},xo=class extends Ti{constructor(e,o){super(),this.touched=e,this.source=o}},Sn=class extends Ti{constructor(e,o){super(),this.status=e,this.source=o}},Oa=class extends Ti{constructor(e){super(),this.source=e}},Fa=class extends Ti{constructor(e){super(),this.source=e}};function pm(r){return(ts(r)?r.validators:r)||null}function Xf(r){return Array.isArray(r)?La(r):r||null}function fm(r,e){return(ts(e)?e.asyncValidators:r)||null}function qf(r){return Array.isArray(r)?za(r):r||null}function ts(r){return r!=null&&!Array.isArray(r)&&typeof r=="object"}function Zf(r,e,o){let t=r.controls;if(!(e?Object.keys(t):t).length)throw new De(1e3,"");if(!t[o])throw new De(1001,"")}function Qf(r,e,o){r._forEachChild((t,i)=>{if(o[i]===void 0)throw new De(1002,"")})}var Zr=class{constructor(e,o){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._events=new W,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(e),this._assignAsyncValidators(o)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get valid(){return this.status===go}get invalid(){return this.status===Hr}get pending(){return this.status==En}get disabled(){return this.status===bo}get enabled(){return this.status!==bo}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._assignValidators(e)}setAsyncValidators(e){this._assignAsyncValidators(e)}addValidators(e){this.setValidators(Xd(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(Xd(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(qd(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(qd(e,this._rawAsyncValidators))}hasValidator(e){return Yr(this._rawValidators,e)}hasAsyncValidator(e){return Yr(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){let o=this.touched===!1;this.touched=!0;let t=e.sourceControl??this;this._parent&&!e.onlySelf&&this._parent.markAsTouched(le(M({},e),{sourceControl:t})),o&&e.emitEvent!==!1&&this._events.next(new xo(!0,t))}markAllAsTouched(e={}){this.markAsTouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:this}),this._forEachChild(o=>o.markAllAsTouched(e))}markAsUntouched(e={}){let o=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let t=e.sourceControl??this;this._forEachChild(i=>{i.markAsUntouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:t})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,t),o&&e.emitEvent!==!1&&this._events.next(new xo(!1,t))}markAsDirty(e={}){let o=this.pristine===!0;this.pristine=!1;let t=e.sourceControl??this;this._parent&&!e.onlySelf&&this._parent.markAsDirty(le(M({},e),{sourceControl:t})),o&&e.emitEvent!==!1&&this._events.next(new vo(!1,t))}markAsPristine(e={}){let o=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let t=e.sourceControl??this;this._forEachChild(i=>{i.markAsPristine({onlySelf:!0,emitEvent:e.emitEvent})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e,t),o&&e.emitEvent!==!1&&this._events.next(new vo(!0,t))}markAsPending(e={}){this.status=En;let o=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new Sn(this.status,o)),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.markAsPending(le(M({},e),{sourceControl:o}))}disable(e={}){let o=this._parentMarkedDirty(e.onlySelf);this.status=bo,this.errors=null,this._forEachChild(i=>{i.disable(le(M({},e),{onlySelf:!0}))}),this._updateValue();let t=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new qr(this.value,t)),this._events.next(new Sn(this.status,t)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(le(M({},e),{skipPristineCheck:o}),this),this._onDisabledChange.forEach(i=>i(!0))}enable(e={}){let o=this._parentMarkedDirty(e.onlySelf);this.status=go,this._forEachChild(t=>{t.enable(le(M({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(le(M({},e),{skipPristineCheck:o}),this),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(e,o){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine({},o),this._parent._updateTouched({},o))}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let t=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===go||this.status===En)&&this._runAsyncValidator(t,e.emitEvent)}let o=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new qr(this.value,o)),this._events.next(new Sn(this.status,o)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(le(M({},e),{sourceControl:o}))}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(o=>o._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?bo:go}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e,o){if(this.asyncValidator){this.status=En,this._hasOwnPendingAsyncValidator={emitEvent:o!==!1};let t=sm(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(i=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(i,{emitEvent:o,shouldHaveEmitted:e})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let e=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,e}return!1}setErrors(e,o={}){this.errors=e,this._updateControlsErrors(o.emitEvent!==!1,this,o.shouldHaveEmitted)}get(e){let o=e;return o==null||(Array.isArray(o)||(o=o.split(".")),o.length===0)?null:o.reduce((t,i)=>t&&t._find(i),this)}getError(e,o){let t=o?this.get(o):this;return t&&t.errors?t.errors[e]:null}hasError(e,o){return!!this.getError(e,o)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e,o,t){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),(e||t)&&this._events.next(new Sn(this.status,o)),this._parent&&this._parent._updateControlsErrors(e,o,t)}_initObservables(){this.valueChanges=new Z,this.statusChanges=new Z}_calculateStatus(){return this._allControlsDisabled()?bo:this.errors?Hr:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(En)?En:this._anyControlsHaveStatus(Hr)?Hr:go}_anyControlsHaveStatus(e){return this._anyControls(o=>o.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e,o){let t=!this._anyControlsDirty(),i=this.pristine!==t;this.pristine=t,this._parent&&!e.onlySelf&&this._parent._updatePristine(e,o),i&&this._events.next(new vo(this.pristine,o))}_updateTouched(e={},o){this.touched=this._anyControlsTouched(),this._events.next(new xo(this.touched,o)),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,o)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){ts(e)&&e.updateOn!=null&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){let o=this._parent&&this._parent.dirty;return!e&&!!o&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=Xf(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=qf(this._rawAsyncValidators)}},Qr=class extends Zr{constructor(e,o,t){super(pm(o),fm(t,o)),this.controls=e,this._initObservables(),this._setUpdateStrategy(o),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(e,o){return this.controls[e]?this.controls[e]:(this.controls[e]=o,o.setParent(this),o._registerOnCollectionChange(this._onCollectionChange),o)}addControl(e,o,t={}){this.registerControl(e,o),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}removeControl(e,o={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:o.emitEvent}),this._onCollectionChange()}setControl(e,o,t={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],o&&this.registerControl(e,o),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,o={}){Qf(this,!0,e),Object.keys(e).forEach(t=>{Zf(this,!0,t),this.controls[t].setValue(e[t],{onlySelf:!0,emitEvent:o.emitEvent})}),this.updateValueAndValidity(o)}patchValue(e,o={}){e!=null&&(Object.keys(e).forEach(t=>{let i=this.controls[t];i&&i.patchValue(e[t],{onlySelf:!0,emitEvent:o.emitEvent})}),this.updateValueAndValidity(o))}reset(e={},o={}){this._forEachChild((t,i)=>{t.reset(e?e[i]:null,{onlySelf:!0,emitEvent:o.emitEvent})}),this._updatePristine(o,this),this._updateTouched(o,this),this.updateValueAndValidity(o)}getRawValue(){return this._reduceChildren({},(e,o,t)=>(e[t]=o.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(o,t)=>t._syncPendingControls()?!0:o);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){Object.keys(this.controls).forEach(o=>{let t=this.controls[o];t&&e(t,o)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(let[o,t]of Object.entries(this.controls))if(this.contains(o)&&e(t))return!0;return!1}_reduceValue(){let e={};return this._reduceChildren(e,(o,t,i)=>((t.enabled||this.disabled)&&(o[i]=t.value),o))}_reduceChildren(e,o){let t=e;return this._forEachChild((i,n)=>{t=o(t,i,n)}),t}_allControlsDisabled(){for(let e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(e){return this.controls.hasOwnProperty(e)?this.controls[e]:null}};var is=new P("CallSetDisabledState",{providedIn:"root",factory:()=>Na}),Na="always";function Kf(r,e){return[...e.path,r]}function Kr(r,e,o=Na){Va(r,e),e.valueAccessor.writeValue(r.value),(r.disabled||o==="always")&&e.valueAccessor.setDisabledState?.(r.disabled),eg(r,e),ig(r,e),tg(r,e),Jf(r,e)}function Zd(r,e,o=!0){let t=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(t),e.valueAccessor.registerOnTouched(t)),es(r,e),r&&(e._invokeOnDestroyCallbacks(),r._registerOnCollectionChange(()=>{}))}function Jr(r,e){r.forEach(o=>{o.registerOnValidatorChange&&o.registerOnValidatorChange(e)})}function Jf(r,e){if(e.valueAccessor.setDisabledState){let o=t=>{e.valueAccessor.setDisabledState(t)};r.registerOnDisabledChange(o),e._registerOnDestroy(()=>{r._unregisterOnDisabledChange(o)})}}function Va(r,e){let o=hm(r);e.validator!==null?r.setValidators(Yd(o,e.validator)):typeof o=="function"&&r.setValidators([o]);let t=um(r);e.asyncValidator!==null?r.setAsyncValidators(Yd(t,e.asyncValidator)):typeof t=="function"&&r.setAsyncValidators([t]);let i=()=>r.updateValueAndValidity();Jr(e._rawValidators,i),Jr(e._rawAsyncValidators,i)}function es(r,e){let o=!1;if(r!==null){if(e.validator!==null){let i=hm(r);if(Array.isArray(i)&&i.length>0){let n=i.filter(s=>s!==e.validator);n.length!==i.length&&(o=!0,r.setValidators(n))}}if(e.asyncValidator!==null){let i=um(r);if(Array.isArray(i)&&i.length>0){let n=i.filter(s=>s!==e.asyncValidator);n.length!==i.length&&(o=!0,r.setAsyncValidators(n))}}}let t=()=>{};return Jr(e._rawValidators,t),Jr(e._rawAsyncValidators,t),o}function eg(r,e){e.valueAccessor.registerOnChange(o=>{r._pendingValue=o,r._pendingChange=!0,r._pendingDirty=!0,r.updateOn==="change"&&gm(r,e)})}function tg(r,e){e.valueAccessor.registerOnTouched(()=>{r._pendingTouched=!0,r.updateOn==="blur"&&r._pendingChange&&gm(r,e),r.updateOn!=="submit"&&r.markAsTouched()})}function gm(r,e){r._pendingDirty&&r.markAsDirty(),r.setValue(r._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(r._pendingValue),r._pendingChange=!1}function ig(r,e){let o=(t,i)=>{e.valueAccessor.writeValue(t),i&&e.viewToModelUpdate(t)};r.registerOnChange(o),e._registerOnDestroy(()=>{r._unregisterOnChange(o)})}function bm(r,e){r==null,Va(r,e)}function ng(r,e){return es(r,e)}function og(r,e){if(!r.hasOwnProperty("model"))return!1;let o=r.model;return o.isFirstChange()?!0:!Object.is(e,o.currentValue)}function rg(r){return Object.getPrototypeOf(r.constructor)===tm}function _m(r,e){r._syncPendingControls(),e.forEach(o=>{let t=o.control;t.updateOn==="submit"&&t._pendingChange&&(o.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function sg(r,e){if(!e)return null;Array.isArray(e);let o,t,i;return e.forEach(n=>{n.constructor===Xe?o=n:rg(n)?t=n:i=n}),i||t||o||null}function ag(r,e){let o=r.indexOf(e);o>-1&&r.splice(o,1)}var lg={provide:Ki,useExisting:Vt(()=>wo)},_o=Promise.resolve(),wo=(()=>{let e=class e extends Ki{constructor(t,i,n){super(),this.callSetDisabledState=n,this.submitted=!1,this._directives=new Set,this.ngSubmit=new Z,this.form=new Qr({},La(t),za(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){_o.then(()=>{let i=this._findContainer(t.path);t.control=i.registerControl(t.name,t.control),Kr(t.control,t,this.callSetDisabledState),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){_o.then(()=>{let i=this._findContainer(t.path);i&&i.removeControl(t.name),this._directives.delete(t)})}addFormGroup(t){_o.then(()=>{let i=this._findContainer(t.path),n=new Qr({});bm(n,t),i.registerControl(t.name,n),n.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){_o.then(()=>{let i=this._findContainer(t.path);i&&i.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,i){_o.then(()=>{this.form.get(t.path).setValue(i)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submitted=!0,_m(this.form,this._directives),this.ngSubmit.emit(t),t?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submitted=!1}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}};e.\u0275fac=function(i){return new(i||e)(x(Ji,10),x(Pa,10),x(is,8))},e.\u0275dir=Y({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(i,n){i&1&&g("submit",function(a){return n.onSubmit(a)})("reset",function(){return n.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[je([lg]),ze]});let r=e;return r})();function Qd(r,e){let o=r.indexOf(e);o>-1&&r.splice(o,1)}function Kd(r){return typeof r=="object"&&r!==null&&Object.keys(r).length===2&&"value"in r&&"disabled"in r}var vm=class extends Zr{constructor(e=null,o,t){super(pm(o),fm(t,o)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(e),this._setUpdateStrategy(o),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),ts(o)&&(o.nonNullable||o.initialValueIsDefault)&&(Kd(e)?this.defaultValue=e.value:this.defaultValue=e)}setValue(e,o={}){this.value=this._pendingValue=e,this._onChange.length&&o.emitModelToViewChange!==!1&&this._onChange.forEach(t=>t(this.value,o.emitViewToModelChange!==!1)),this.updateValueAndValidity(o)}patchValue(e,o={}){this.setValue(e,o)}reset(e=this.defaultValue,o={}){this._applyFormState(e),this.markAsPristine(o),this.markAsUntouched(o),this.setValue(this.value,o),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){Qd(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){Qd(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(e){Kd(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}};var cg=r=>r instanceof vm;var dg={provide:ci,useExisting:Vt(()=>ke)},Jd=Promise.resolve(),ke=(()=>{let e=class e extends ci{constructor(t,i,n,s,a,l){super(),this._changeDetectorRef=a,this.callSetDisabledState=l,this.control=new vm,this._registered=!1,this.name="",this.update=new Z,this._parent=t,this._setValidators(i),this._setAsyncValidators(n),this.valueAccessor=sg(this,s)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){let i=t.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),og(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){Kr(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(t){Jd.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){let i=t.isDisabled.currentValue,n=i!==0&&ie(i);Jd.then(()=>{n&&!this.control.disabled?this.control.disable():!n&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?Kf(t,this._parent):[t]}};e.\u0275fac=function(i){return new(i||e)(x(Ki,9),x(Ji,10),x(Pa,10),x(yo,10),x(Ge,8),x(is,8))},e.\u0275dir=Y({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[je([dg]),ze,Le]});let r=e;return r})();var mg={provide:yo,useExisting:Vt(()=>Qe),multi:!0},Qe=(()=>{let e=class e extends tm{writeValue(t){let i=t??"";this.setProperty("value",i)}registerOnChange(t){this.onChange=i=>{t(i==""?null:parseFloat(i))}}};e.\u0275fac=(()=>{let t;return function(n){return(t||(t=xt(e)))(n||e)}})(),e.\u0275dir=Y({type:e,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(i,n){i&1&&g("input",function(a){return n.onChange(a.target.value)})("blur",function(){return n.onTouched()})},features:[je([mg]),ze]});let r=e;return r})();var hg={provide:Ki,useExisting:Vt(()=>Co)},Co=(()=>{let e=class e extends Ki{constructor(t,i,n){super(),this.callSetDisabledState=n,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new Z,this._setValidators(t),this._setAsyncValidators(i)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(es(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){let i=this.form.get(t.path);return Kr(i,t,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),i}getControl(t){return this.form.get(t.path)}removeControl(t){Zd(t.control||null,t,!1),ag(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,i){this.form.get(t.path).setValue(i)}onSubmit(t){return this.submitted=!0,_m(this.form,this.directives),this.ngSubmit.emit(t),this.form._events.next(new Oa(this.control)),t?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submitted=!1,this.form._events.next(new Fa(this.form))}_updateDomValue(){this.directives.forEach(t=>{let i=t.control,n=this.form.get(t.path);i!==n&&(Zd(i||null,t),cg(n)&&(Kr(n,t,this.callSetDisabledState),t.control=n))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){let i=this.form.get(t.path);bm(i,t),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){let i=this.form.get(t.path);i&&ng(i,t)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Va(this.form,this),this._oldForm&&es(this._oldForm,this)}_checkFormPresent(){this.form}};e.\u0275fac=function(i){return new(i||e)(x(Ji,10),x(Pa,10),x(is,8))},e.\u0275dir=Y({type:e,selectors:[["","formGroup",""]],hostBindings:function(i,n){i&1&&g("submit",function(a){return n.onSubmit(a)})("reset",function(){return n.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[je([hg]),ze,Le]});let r=e;return r})();function xm(r){return typeof r=="number"?r:parseFloat(r)}var ym=(()=>{let e=class e{constructor(){this._validator=Gr}ngOnChanges(t){if(this.inputName in t){let i=this.normalizeInput(t[this.inputName].currentValue);this._enabled=this.enabled(i),this._validator=this._enabled?this.createValidator(i):Gr,this._onChange&&this._onChange()}}validate(t){return this._validator(t)}registerOnValidatorChange(t){this._onChange=t}enabled(t){return t!=null}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=Y({type:e,features:[Le]});let r=e;return r})(),ug={provide:Ji,useExisting:Vt(()=>di),multi:!0},di=(()=>{let e=class e extends ym{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=t=>xm(t),this.createValidator=t=>om(t)}};e.\u0275fac=(()=>{let t;return function(n){return(t||(t=xt(e)))(n||e)}})(),e.\u0275dir=Y({type:e,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(i,n){i&2&&be("max",n._enabled?n.max:null)},inputs:{max:"max"},features:[je([ug]),ze]});let r=e;return r})(),pg={provide:Ji,useExisting:Vt(()=>mi),multi:!0},mi=(()=>{let e=class e extends ym{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=t=>xm(t),this.createValidator=t=>nm(t)}};e.\u0275fac=(()=>{let t;return function(n){return(t||(t=xt(e)))(n||e)}})(),e.\u0275dir=Y({type:e,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(i,n){i&2&&be("min",n._enabled?n.min:null)},inputs:{min:"min"},features:[je([pg]),ze]});let r=e;return r})();var fg=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=J({type:e}),e.\u0275inj=K({});let r=e;return r})();var Se=(()=>{let e=class e{static withConfig(t){return{ngModule:e,providers:[{provide:is,useValue:t.callSetDisabledState??Na}]}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=J({type:e}),e.\u0275inj=K({imports:[fg]});let r=e;return r})();var gg=["*"],bg='@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-list-divider::after{content:"";display:block;border-bottom-width:1px;border-bottom-style:solid}}.mdc-list{margin:0;padding:8px 0;list-style-type:none}.mdc-list:focus{outline:none}.mdc-list-item__wrapper{display:block}.mdc-list-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;align-items:stretch;cursor:pointer}.mdc-list-item:focus{outline:none}.mdc-list-item.mdc-list-item--with-one-line{height:48px}.mdc-list-item.mdc-list-item--with-two-lines{height:64px}.mdc-list-item.mdc-list-item--with-three-lines{height:88px}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__start{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--disabled,.mdc-list-item.mdc-list-item--non-interactive{cursor:auto}.mdc-list-item:not(.mdc-list-item--selected):focus::before,.mdc-list-item.mdc-ripple-upgraded--background-focused::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item:not(.mdc-list-item--selected):focus::before,.mdc-list-item.mdc-ripple-upgraded--background-focused::before{border-color:CanvasText}}.mdc-list-item.mdc-list-item--selected::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:3px double rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item.mdc-list-item--selected::before{border-color:CanvasText}}.mdc-list-item.mdc-list-item--selected:focus::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:3px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item.mdc-list-item--selected:focus::before{border-color:CanvasText}}a.mdc-list-item{color:inherit;text-decoration:none}.mdc-list-item__start{fill:currentColor;flex-shrink:0;pointer-events:none}.mdc-list-item__end{flex-shrink:0;pointer-events:none}.mdc-list-item__content{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;align-self:center;flex:1;pointer-events:none}.mdc-list-item--with-two-lines .mdc-list-item__content,.mdc-list-item--with-three-lines .mdc-list-item__content{align-self:stretch}.mdc-list-item__content[for]{pointer-events:none}.mdc-list-item__primary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item__secondary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;margin-top:0;line-height:normal}.mdc-list-item__secondary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__secondary-text{white-space:normal;line-height:20px}.mdc-list-item--with-overline .mdc-list-item__secondary-text{white-space:nowrap;line-height:auto}.mdc-list-item__overline-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:24px;content:"";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-three-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-three-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-avatar.mdc-list-item,.mdc-list-item--with-leading-avatar.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-avatar .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-avatar .mdc-list-item__start,.mdc-list-item--with-leading-avatar .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-avatar .mdc-list-item__start{border-radius:50%}.mdc-list-item--with-leading-icon.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-icon.mdc-list-item,.mdc-list-item--with-leading-icon.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-icon .mdc-list-item__start{margin-left:16px;margin-right:32px}[dir=rtl] .mdc-list-item--with-leading-icon .mdc-list-item__start,.mdc-list-item--with-leading-icon .mdc-list-item__start[dir=rtl]{margin-left:32px;margin-right:16px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-thumbnail.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-thumbnail.mdc-list-item,.mdc-list-item--with-leading-thumbnail.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-thumbnail .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-thumbnail .mdc-list-item__start,.mdc-list-item--with-leading-thumbnail .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-image.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-image.mdc-list-item,.mdc-list-item--with-leading-image.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-image .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-image .mdc-list-item__start,.mdc-list-item--with-leading-image .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-one-line{height:72px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-video.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-video.mdc-list-item,.mdc-list-item--with-leading-video.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-video .mdc-list-item__start{margin-left:0;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-video .mdc-list-item__start,.mdc-list-item--with-leading-video .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-one-line{height:72px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-checkbox.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-checkbox.mdc-list-item,.mdc-list-item--with-leading-checkbox.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-checkbox .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-checkbox .mdc-list-item__start,.mdc-list-item--with-leading-checkbox .mdc-list-item__start[dir=rtl]{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-radio.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-radio.mdc-list-item,.mdc-list-item--with-leading-radio.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-radio .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-radio .mdc-list-item__start,.mdc-list-item--with-leading-radio .mdc-list-item__start[dir=rtl]{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-switch.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-switch.mdc-list-item,.mdc-list-item--with-leading-switch.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-switch .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-switch .mdc-list-item__start,.mdc-list-item--with-leading-switch .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-trailing-icon.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-icon.mdc-list-item,.mdc-list-item--with-trailing-icon.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-icon .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-icon .mdc-list-item__end,.mdc-list-item--with-trailing-icon .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-meta.mdc-list-item,.mdc-list-item--with-trailing-meta.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-meta .mdc-list-item__end{margin-left:28px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-trailing-meta .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:28px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-trailing-meta .mdc-list-item__end{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-caption-font-family);font-size:var(--mdc-typography-caption-font-size);line-height:var(--mdc-typography-caption-line-height);font-weight:var(--mdc-typography-caption-font-weight);letter-spacing:var(--mdc-typography-caption-letter-spacing);text-decoration:var(--mdc-typography-caption-text-decoration);text-transform:var(--mdc-typography-caption-text-transform)}.mdc-list-item--with-trailing-checkbox.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item,.mdc-list-item--with-trailing-checkbox.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-checkbox .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-checkbox .mdc-list-item__end,.mdc-list-item--with-trailing-checkbox .mdc-list-item__end[dir=rtl]{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-radio.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item,.mdc-list-item--with-trailing-radio.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-radio .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-radio .mdc-list-item__end,.mdc-list-item--with-trailing-radio .mdc-list-item__end[dir=rtl]{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-radio.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-switch.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-switch.mdc-list-item,.mdc-list-item--with-trailing-switch.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-switch .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-switch .mdc-list-item__end,.mdc-list-item--with-trailing-switch .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-switch.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item--with-overline.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-overline.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item--with-overline.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-overline.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item{padding-left:16px;padding-right:16px}[dir=rtl] .mdc-list-item,.mdc-list-item[dir=rtl]{padding-left:16px;padding-right:16px}.mdc-list-group .mdc-deprecated-list{padding:0}.mdc-list-group__subheader{margin:calc((3rem - 1.5rem)/2) 16px}.mdc-list-divider{padding:0;background-clip:content-box}.mdc-list-divider.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset{padding-left:16px;padding-right:auto}[dir=rtl] .mdc-list-divider.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset,.mdc-list-divider.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset[dir=rtl]{padding-left:auto;padding-right:16px}.mdc-list-divider.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset{padding-left:auto;padding-right:16px}[dir=rtl] .mdc-list-divider.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset,.mdc-list-divider.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset[dir=rtl]{padding-left:16px;padding-right:auto}.mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset{padding-left:0px;padding-right:auto}[dir=rtl] .mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset[dir=rtl]{padding-left:auto;padding-right:0px}[dir=rtl] .mdc-list-divider,.mdc-list-divider[dir=rtl]{padding:0}.mdc-list-item{background-color:var(--mdc-list-list-item-container-color)}.mdc-list-item.mdc-list-item--selected{background-color:var(--mdc-list-list-item-selected-container-color)}.mdc-list-item--with-one-line{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-one-line.mdc-list-item--with-leading-avatar,.mdc-list-item--with-one-line.mdc-list-item--with-leading-icon,.mdc-list-item--with-one-line.mdc-list-item--with-leading-thumbnail,.mdc-list-item--with-one-line.mdc-list-item--with-leading-checkbox,.mdc-list-item--with-one-line.mdc-list-item--with-leading-radio,.mdc-list-item--with-one-line.mdc-list-item--with-leading-switch{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-one-line.mdc-list-item--with-leading-image,.mdc-list-item--with-one-line.mdc-list-item--with-leading-video{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-two-lines{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-two-lines.mdc-list-item--with-leading-avatar,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-icon,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-thumbnail,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-checkbox,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-radio,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-switch,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-image,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-video{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-three-lines{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item.mdc-list-item--with-one-line{height:var(--mdc-list-list-item-one-line-container-height)}.mdc-list-item.mdc-list-item--with-two-lines{height:var(--mdc-list-list-item-two-line-container-height)}.mdc-list-item.mdc-list-item--with-three-lines{height:var(--mdc-list-list-item-three-line-container-height)}.mdc-list-item__primary-text{color:var(--mdc-list-list-item-label-text-color)}.mdc-list-item__primary-text{font-family:var(--mdc-list-list-item-label-text-font);line-height:var(--mdc-list-list-item-label-text-line-height);font-size:var(--mdc-list-list-item-label-text-size);font-weight:var(--mdc-list-list-item-label-text-weight);letter-spacing:var(--mdc-list-list-item-label-text-tracking)}.mdc-list-item__secondary-text{color:var(--mdc-list-list-item-supporting-text-color)}.mdc-list-item__secondary-text{font-family:var(--mdc-list-list-item-supporting-text-font);line-height:var(--mdc-list-list-item-supporting-text-line-height);font-size:var(--mdc-list-list-item-supporting-text-size);font-weight:var(--mdc-list-list-item-supporting-text-weight);letter-spacing:var(--mdc-list-list-item-supporting-text-tracking)}.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-leading-icon-color)}.mdc-list-item--with-leading-icon .mdc-list-item__start{width:var(--mdc-list-list-item-leading-icon-size);height:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start>i{font-size:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start .mdc-list-item__icon{font-size:var(--mdc-list-list-item-leading-icon-size);width:var(--mdc-list-list-item-leading-icon-size);height:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start .mdc-list-item__icon,.mdc-list-item--with-leading-icon .mdc-list-item__start .mdc-list-item__icon>.materialdesignWizIconSvgsSvgIcon{display:block}.mdc-list-item--with-leading-avatar .mdc-list-item__start{width:var(--mdc-list-list-item-leading-avatar-size);height:var(--mdc-list-list-item-leading-avatar-size)}.mdc-list-item.mdc-list-item--with-trailing-meta .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-supporting-text-color)}.mdc-list-item--with-trailing-meta .mdc-list-item__end{font-family:var(--mdc-list-list-item-trailing-supporting-text-font);line-height:var(--mdc-list-list-item-trailing-supporting-text-line-height);font-size:var(--mdc-list-list-item-trailing-supporting-text-size);font-weight:var(--mdc-list-list-item-trailing-supporting-text-weight);letter-spacing:var(--mdc-list-list-item-trailing-supporting-text-tracking)}.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-icon-color)}.mdc-list-item--with-trailing-icon .mdc-list-item__end{width:var(--mdc-list-list-item-trailing-icon-size);height:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end>i{font-size:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end .mdc-list-item__icon{font-size:var(--mdc-list-list-item-trailing-icon-size);width:var(--mdc-list-list-item-trailing-icon-size);height:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end .mdc-list-item__icon,.mdc-list-item--with-trailing-icon .mdc-list-item__end .mdc-list-item__icon>.materialdesignWizIconSvgsSvgIcon{display:block}.mdc-list-item--selected.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-selected-trailing-icon-color)}.mdc-list-item--disabled .mdc-list-item__start,.mdc-list-item--disabled .mdc-list-item__content,.mdc-list-item--disabled .mdc-list-item__end{opacity:1}.mdc-list-item--disabled .mdc-list-item__primary-text,.mdc-list-item--disabled .mdc-list-item__secondary-text,.mdc-list-item--disabled .mdc-list-item__overline-text{opacity:var(--mdc-list-list-item-disabled-label-text-opacity)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-disabled-leading-icon-color)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{opacity:var(--mdc-list-list-item-disabled-leading-icon-opacity)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-disabled-trailing-icon-color)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{opacity:var(--mdc-list-list-item-disabled-trailing-icon-opacity)}.mdc-list-item:hover .mdc-list-item__primary-text{color:var(--mdc-list-list-item-hover-label-text-color)}.mdc-list-item--with-leading-icon:hover .mdc-list-item__start{color:var(--mdc-list-list-item-hover-leading-icon-color)}.mdc-list-item--with-trailing-icon:hover .mdc-list-item__end{color:var(--mdc-list-list-item-hover-trailing-icon-color)}.mdc-list-item:focus .mdc-list-item__primary-text{color:var(--mdc-list-list-item-focus-label-text-color)}.mdc-list-item.mdc-list-item--disabled .mdc-list-item__primary-text{color:var(--mdc-list-list-item-disabled-label-text-color)}.mdc-list-item:hover::before{background-color:var(--mdc-list-list-item-hover-state-layer-color);opacity:var(--mdc-list-list-item-hover-state-layer-opacity)}.mdc-list-item.mdc-list-item--disabled::before{background-color:var(--mdc-list-list-item-disabled-state-layer-color);opacity:var(--mdc-list-list-item-disabled-state-layer-opacity)}.mdc-list-item:focus::before{background-color:var(--mdc-list-list-item-focus-state-layer-color);opacity:var(--mdc-list-list-item-focus-state-layer-opacity)}.mdc-list-item--disabled .mdc-radio,.mdc-list-item--disabled .mdc-checkbox{opacity:var(--mdc-list-list-item-disabled-label-text-opacity)}.mdc-list-item--with-leading-avatar .mat-mdc-list-item-avatar{border-radius:var(--mdc-list-list-item-leading-avatar-shape);background-color:var(--mdc-list-list-item-leading-avatar-color)}.mat-mdc-list-item-icon{font-size:var(--mdc-list-list-item-leading-icon-size)}.cdk-high-contrast-active a.mdc-list-item--activated::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active a.mdc-list-item--activated [dir=rtl]::after{right:auto;left:16px}.mat-mdc-list-base{display:block}.mat-mdc-list-base .mdc-list-item__start,.mat-mdc-list-base .mdc-list-item__end,.mat-mdc-list-base .mdc-list-item__content{pointer-events:auto}.mat-mdc-list-item,.mat-mdc-list-option{width:100%;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-list-item:not(.mat-mdc-list-item-interactive),.mat-mdc-list-option:not(.mat-mdc-list-item-interactive){cursor:default}.mat-mdc-list-item .mat-divider-inset,.mat-mdc-list-option .mat-divider-inset{position:absolute;left:0;right:0;bottom:0}.mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,.mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-left:72px}[dir=rtl] .mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,[dir=rtl] .mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-right:72px}.mat-mdc-list-item-interactive::before{top:0;left:0;right:0;bottom:0;position:absolute;content:"";opacity:0;pointer-events:none}.mat-mdc-list-item>.mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-list-item:focus>.mat-mdc-focus-indicator::before{content:""}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-line.mdc-list-item__secondary-text{white-space:nowrap;line-height:normal}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-unscoped-content.mdc-list-item__secondary-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:start}mat-action-list button::-moz-focus-inner{border:0}.mdc-list-item--with-leading-icon .mdc-list-item__start{margin-inline-start:var(--mat-list-list-item-leading-icon-start-space);margin-inline-end:var(--mat-list-list-item-leading-icon-end-space)}.mat-mdc-nav-list .mat-mdc-list-item{border-radius:var(--mat-list-active-indicator-shape);--mat-mdc-focus-indicator-border-radius:var(--mat-list-active-indicator-shape)}.mat-mdc-nav-list .mat-mdc-list-item.mdc-list-item--activated{background-color:var(--mat-list-active-indicator-color)}',_g=["unscopedContent"],vg=["text"],xg=[[["","matListItemAvatar",""],["","matListItemIcon",""]],[["","matListItemTitle",""]],[["","matListItemLine",""]],"*",[["","matListItemMeta",""]],[["mat-divider"]]],yg=["[matListItemAvatar],[matListItemIcon]","[matListItemTitle]","[matListItemLine]","*","[matListItemMeta]","mat-divider"];var wg=new P("ListOption"),Cg=(()=>{let e=class e{constructor(t){this._elementRef=t}};e.\u0275fac=function(i){return new(i||e)(x(U))},e.\u0275dir=Y({type:e,selectors:[["","matListItemTitle",""]],hostAttrs:[1,"mat-mdc-list-item-title","mdc-list-item__primary-text"],standalone:!0});let r=e;return r})(),kg=(()=>{let e=class e{constructor(t){this._elementRef=t}};e.\u0275fac=function(i){return new(i||e)(x(U))},e.\u0275dir=Y({type:e,selectors:[["","matListItemLine",""]],hostAttrs:[1,"mat-mdc-list-item-line","mdc-list-item__secondary-text"],standalone:!0});let r=e;return r})(),Mg=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=Y({type:e,selectors:[["","matListItemMeta",""]],hostAttrs:[1,"mat-mdc-list-item-meta","mdc-list-item__end"],standalone:!0});let r=e;return r})(),wm=(()=>{let e=class e{constructor(t){this._listOption=t}_isAlignedAtStart(){return!this._listOption||this._listOption?._getTogglePosition()==="after"}};e.\u0275fac=function(i){return new(i||e)(x(wg,8))},e.\u0275dir=Y({type:e,hostVars:4,hostBindings:function(i,n){i&2&&oe("mdc-list-item__start",n._isAlignedAtStart())("mdc-list-item__end",!n._isAlignedAtStart())},standalone:!0});let r=e;return r})(),Ig=(()=>{let e=class e extends wm{};e.\u0275fac=(()=>{let t;return function(n){return(t||(t=xt(e)))(n||e)}})(),e.\u0275dir=Y({type:e,selectors:[["","matListItemAvatar",""]],hostAttrs:[1,"mat-mdc-list-item-avatar"],standalone:!0,features:[ze]});let r=e;return r})(),Eg=(()=>{let e=class e extends wm{};e.\u0275fac=(()=>{let t;return function(n){return(t||(t=xt(e)))(n||e)}})(),e.\u0275dir=Y({type:e,selectors:[["","matListItemIcon",""]],hostAttrs:[1,"mat-mdc-list-item-icon"],standalone:!0,features:[ze]});let r=e;return r})(),Sg=new P("MAT_LIST_CONFIG"),ns=(()=>{let e=class e{constructor(){this._isNonInteractive=!0,this._disableRipple=!1,this._disabled=!1,this._defaultOptions=T(Sg,{optional:!0})}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=kt(t)}get disabled(){return this._disabled}set disabled(t){this._disabled=kt(t)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=Y({type:e,hostVars:1,hostBindings:function(i,n){i&2&&be("aria-disabled",n.disabled)},inputs:{disableRipple:"disableRipple",disabled:"disabled"},standalone:!0});let r=e;return r})(),Tg=(()=>{let e=class e{set lines(t){this._explicitLines=Gi(t,null),this._updateItemLines(!1)}get disableRipple(){return this.disabled||this._disableRipple||this._noopAnimations||!!this._listBase?.disableRipple}set disableRipple(t){this._disableRipple=kt(t)}get disabled(){return this._disabled||!!this._listBase?.disabled}set disabled(t){this._disabled=kt(t)}get rippleDisabled(){return this.disableRipple||!!this.rippleConfig.disabled}constructor(t,i,n,s,a,l){this._elementRef=t,this._ngZone=i,this._listBase=n,this._platform=s,this._explicitLines=null,this._disableRipple=!1,this._disabled=!1,this._subscriptions=new Ye,this._rippleRenderer=null,this._hasUnscopedTextContent=!1,this.rippleConfig=a||{},this._hostElement=this._elementRef.nativeElement,this._isButtonElement=this._hostElement.nodeName.toLowerCase()==="button",this._noopAnimations=l==="NoopAnimations",n&&!n._isNonInteractive&&this._initInteractiveListItem(),this._isButtonElement&&!this._hostElement.hasAttribute("type")&&this._hostElement.setAttribute("type","button")}ngAfterViewInit(){this._monitorProjectedLinesAndTitle(),this._updateItemLines(!0)}ngOnDestroy(){this._subscriptions.unsubscribe(),this._rippleRenderer!==null&&this._rippleRenderer._removeTriggerEvents()}_hasIconOrAvatar(){return!!(this._avatars.length||this._icons.length)}_initInteractiveListItem(){this._hostElement.classList.add("mat-mdc-list-item-interactive"),this._rippleRenderer=new po(this,this._ngZone,this._hostElement,this._platform),this._rippleRenderer.setupTriggerEvents(this._hostElement)}_monitorProjectedLinesAndTitle(){this._ngZone.runOutsideAngular(()=>{this._subscriptions.add(mt(this._lines.changes,this._titles.changes).subscribe(()=>this._updateItemLines(!1)))})}_updateItemLines(t){if(!this._lines||!this._titles||!this._unscopedContent)return;t&&this._checkDomForUnscopedTextContent();let i=this._explicitLines??this._inferLinesFromContent(),n=this._unscopedContent.nativeElement;if(this._hostElement.classList.toggle("mat-mdc-list-item-single-line",i<=1),this._hostElement.classList.toggle("mdc-list-item--with-one-line",i<=1),this._hostElement.classList.toggle("mdc-list-item--with-two-lines",i===2),this._hostElement.classList.toggle("mdc-list-item--with-three-lines",i===3),this._hasUnscopedTextContent){let s=this._titles.length===0&&i===1;n.classList.toggle("mdc-list-item__primary-text",s),n.classList.toggle("mdc-list-item__secondary-text",!s)}else n.classList.remove("mdc-list-item__primary-text"),n.classList.remove("mdc-list-item__secondary-text")}_inferLinesFromContent(){let t=this._titles.length+this._lines.length;return this._hasUnscopedTextContent&&(t+=1),t}_checkDomForUnscopedTextContent(){this._hasUnscopedTextContent=Array.from(this._unscopedContent.nativeElement.childNodes).filter(t=>t.nodeType!==t.COMMENT_NODE).some(t=>!!(t.textContent&&t.textContent.trim()))}};e.\u0275fac=function(i){return new(i||e)(x(U),x(B),x(ns,8),x(Ce),x(fo,8),x(Je,8))},e.\u0275dir=Y({type:e,contentQueries:function(i,n,s){if(i&1&&(Ne(s,Ig,4),Ne(s,Eg,4)),i&2){let a;ee(a=te())&&(n._avatars=a),ee(a=te())&&(n._icons=a)}},hostVars:4,hostBindings:function(i,n){i&2&&(be("aria-disabled",n.disabled)("disabled",n._isButtonElement&&n.disabled||null),oe("mdc-list-item--disabled",n.disabled))},inputs:{lines:"lines",disableRipple:"disableRipple",disabled:"disabled"},standalone:!0});let r=e;return r})();var Cm=(()=>{let e=class e extends Tg{get activated(){return this._activated}set activated(t){this._activated=kt(t)}constructor(t,i,n,s,a,l){super(t,i,n,s,a,l),this._activated=!1}_getAriaCurrent(){return this._hostElement.nodeName==="A"&&this._activated?"page":null}};e.\u0275fac=function(i){return new(i||e)(x(U),x(B),x(ns,8),x(Ce),x(fo,8),x(Je,8))},e.\u0275cmp=R({type:e,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(i,n,s){if(i&1&&(Ne(s,kg,5),Ne(s,Cg,5),Ne(s,Mg,5)),i&2){let a;ee(a=te())&&(n._lines=a),ee(a=te())&&(n._titles=a),ee(a=te())&&(n._meta=a)}},viewQuery:function(i,n){if(i&1&&(Ve(_g,5),Ve(vg,5)),i&2){let s;ee(s=te())&&(n._unscopedContent=s.first),ee(s=te())&&(n._itemText=s.first)}},hostAttrs:[1,"mat-mdc-list-item","mdc-list-item"],hostVars:11,hostBindings:function(i,n){i&2&&(be("aria-current",n._getAriaCurrent()),oe("mdc-list-item--activated",n.activated)("mdc-list-item--with-leading-avatar",n._avatars.length!==0)("mdc-list-item--with-leading-icon",n._icons.length!==0)("mdc-list-item--with-trailing-meta",n._meta.length!==0)("_mat-animation-noopable",n._noopAnimations))},inputs:{activated:"activated"},exportAs:["matListItem"],standalone:!0,features:[ze,A],ngContentSelectors:yg,decls:10,vars:0,consts:[["unscopedContent",""],[1,"mdc-list-item__content"],[1,"mat-mdc-list-item-unscoped-content",3,"cdkObserveContent"],[1,"mat-mdc-focus-indicator"]],template:function(i,n){if(i&1){let s=L();Re(xg),X(0),c(1,"span",1),X(2,1),X(3,2),c(4,"span",2,0),g("cdkObserveContent",function(){return b(s),_(n._updateItemLines(!0))}),X(6,3),d()(),X(7,4),X(8,5),O(9,"div",3)}},dependencies:[wd],encapsulation:2,changeDetection:0});let r=e;return r})();var km=(()=>{let e=class e extends ns{constructor(){super(...arguments),this._isNonInteractive=!1}};e.\u0275fac=(()=>{let t;return function(n){return(t||(t=xt(e)))(n||e)}})(),e.\u0275cmp=R({type:e,selectors:[["mat-nav-list"]],hostAttrs:["role","navigation",1,"mat-mdc-nav-list","mat-mdc-list-base","mdc-list"],exportAs:["matNavList"],standalone:!0,features:[je([{provide:ns,useExisting:e}]),ze,A],ngContentSelectors:gg,decls:1,vars:0,template:function(i,n){i&1&&(Re(),X(0))},styles:[bg],encapsulation:2,changeDetection:0});let r=e;return r})();var Mm=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=J({type:e}),e.\u0275inj=K({imports:[Pr,Ut,Ie,Qi,Ea,Gd]});let r=e;return r})();var ae="primary",jo=Symbol("RouteTitle"),Ua=class{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){let o=this.params[e];return Array.isArray(o)?o[0]:o}return null}getAll(e){if(this.has(e)){let o=this.params[e];return Array.isArray(o)?o:[o]}return[]}get keys(){return Object.keys(this.params)}};function Pn(r){return new Ua(r)}function Ag(r,e,o){let t=o.path.split("/");if(t.length>r.length||o.pathMatch==="full"&&(e.hasChildren()||t.lengtht[n]===i)}else return r===e}function Fm(r){return r.length>0?r[r.length-1]:null}function Ri(r){return mr(r)?r:kr(r)?dt(Promise.resolve(r)):$(r)}var Fg={exact:Lm,subset:zm},Pm={exact:Pg,subset:Lg,ignored:()=>!0};function Im(r,e,o){return Fg[o.paths](r.root,e.root,o.matrixParams)&&Pm[o.queryParams](r.queryParams,e.queryParams)&&!(o.fragment==="exact"&&r.fragment!==e.fragment)}function Pg(r,e){return Jt(r,e)}function Lm(r,e,o){if(!tn(r.segments,e.segments)||!ss(r.segments,e.segments,o)||r.numberOfChildren!==e.numberOfChildren)return!1;for(let t in e.children)if(!r.children[t]||!Lm(r.children[t],e.children[t],o))return!1;return!0}function Lg(r,e){return Object.keys(e).length<=Object.keys(r).length&&Object.keys(e).every(o=>Om(r[o],e[o]))}function zm(r,e,o){return Nm(r,e,e.segments,o)}function Nm(r,e,o,t){if(r.segments.length>o.length){let i=r.segments.slice(0,o.length);return!(!tn(i,o)||e.hasChildren()||!ss(i,o,t))}else if(r.segments.length===o.length){if(!tn(r.segments,o)||!ss(r.segments,o,t))return!1;for(let i in e.children)if(!r.children[i]||!zm(r.children[i],e.children[i],t))return!1;return!0}else{let i=o.slice(0,r.segments.length),n=o.slice(r.segments.length);return!tn(r.segments,i)||!ss(r.segments,i,t)||!r.children[ae]?!1:Nm(r.children[ae],e,n,t)}}function ss(r,e,o){return e.every((t,i)=>Pm[o](r[i].parameters,t.parameters))}var Di=class{constructor(e=new Te([],{}),o={},t=null){this.root=e,this.queryParams=o,this.fragment=t}get queryParamMap(){return this._queryParamMap??=Pn(this.queryParams),this._queryParamMap}toString(){return Vg.serialize(this)}},Te=class{constructor(e,o){this.segments=e,this.children=o,this.parent=null,Object.values(o).forEach(t=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return as(this)}},en=class{constructor(e,o){this.path=e,this.parameters=o}get parameterMap(){return this._parameterMap??=Pn(this.parameters),this._parameterMap}toString(){return jm(this)}};function zg(r,e){return tn(r,e)&&r.every((o,t)=>Jt(o.parameters,e[t].parameters))}function tn(r,e){return r.length!==e.length?!1:r.every((o,t)=>o.path===e[t].path)}function Ng(r,e){let o=[];return Object.entries(r.children).forEach(([t,i])=>{t===ae&&(o=o.concat(e(i,t)))}),Object.entries(r.children).forEach(([t,i])=>{t!==ae&&(o=o.concat(e(i,t)))}),o}var bl=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=V({token:e,factory:()=>new Do,providedIn:"root"});let r=e;return r})(),Do=class{parse(e){let o=new Ya(e);return new Di(o.parseRootSegment(),o.parseQueryParams(),o.parseFragment())}serialize(e){let o=`/${ko(e.root,!0)}`,t=Wg(e.queryParams),i=typeof e.fragment=="string"?`#${jg(e.fragment)}`:"";return`${o}${t}${i}`}},Vg=new Do;function as(r){return r.segments.map(e=>jm(e)).join("/")}function ko(r,e){if(!r.hasChildren())return as(r);if(e){let o=r.children[ae]?ko(r.children[ae],!1):"",t=[];return Object.entries(r.children).forEach(([i,n])=>{i!==ae&&t.push(`${i}:${ko(n,!1)}`)}),t.length>0?`${o}(${t.join("//")})`:o}else{let o=Ng(r,(t,i)=>i===ae?[ko(r.children[ae],!1)]:[`${i}:${ko(t,!1)}`]);return Object.keys(r.children).length===1&&r.children[ae]!=null?`${as(r)}/${o[0]}`:`${as(r)}/(${o.join("//")})`}}function Vm(r){return encodeURIComponent(r).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function os(r){return Vm(r).replace(/%3B/gi,";")}function jg(r){return encodeURI(r)}function Ga(r){return Vm(r).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function ls(r){return decodeURIComponent(r)}function Em(r){return ls(r.replace(/\+/g,"%20"))}function jm(r){return`${Ga(r.path)}${Bg(r.parameters)}`}function Bg(r){return Object.entries(r).map(([e,o])=>`;${Ga(e)}=${Ga(o)}`).join("")}function Wg(r){let e=Object.entries(r).map(([o,t])=>Array.isArray(t)?t.map(i=>`${os(o)}=${os(i)}`).join("&"):`${os(o)}=${os(t)}`).filter(o=>o);return e.length?`?${e.join("&")}`:""}var $g=/^[^\/()?;#]+/;function ja(r){let e=r.match($g);return e?e[0]:""}var Ug=/^[^\/()?;=#]+/;function Hg(r){let e=r.match(Ug);return e?e[0]:""}var Gg=/^[^=?&#]+/;function Yg(r){let e=r.match(Gg);return e?e[0]:""}var Xg=/^[^&#]+/;function qg(r){let e=r.match(Xg);return e?e[0]:""}var Ya=class{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new Te([],{}):new Te([],this.parseChildren())}parseQueryParams(){let e={};if(this.consumeOptional("?"))do this.parseQueryParam(e);while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let o={};this.peekStartsWith("/(")&&(this.capture("/"),o=this.parseParens(!0));let t={};return this.peekStartsWith("(")&&(t=this.parseParens(!1)),(e.length>0||Object.keys(o).length>0)&&(t[ae]=new Te(e,o)),t}parseSegment(){let e=ja(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new De(4009,!1);return this.capture(e),new en(ls(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let o=Hg(this.remaining);if(!o)return;this.capture(o);let t="";if(this.consumeOptional("=")){let i=ja(this.remaining);i&&(t=i,this.capture(t))}e[ls(o)]=ls(t)}parseQueryParam(e){let o=Yg(this.remaining);if(!o)return;this.capture(o);let t="";if(this.consumeOptional("=")){let s=qg(this.remaining);s&&(t=s,this.capture(t))}let i=Em(o),n=Em(t);if(e.hasOwnProperty(i)){let s=e[i];Array.isArray(s)||(s=[s],e[i]=s),s.push(n)}else e[i]=n}parseParens(e){let o={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let t=ja(this.remaining),i=this.remaining[t.length];if(i!=="/"&&i!==")"&&i!==";")throw new De(4010,!1);let n;t.indexOf(":")>-1?(n=t.slice(0,t.indexOf(":")),this.capture(n),this.capture(":")):e&&(n=ae);let s=this.parseChildren();o[n]=Object.keys(s).length===1?s[ae]:new Te([],s),this.consumeOptional("//")}return o}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return this.peekStartsWith(e)?(this.remaining=this.remaining.substring(e.length),!0):!1}capture(e){if(!this.consumeOptional(e))throw new De(4011,!1)}};function Bm(r){return r.segments.length>0?new Te([],{[ae]:r}):r}function Wm(r){let e={};for(let[t,i]of Object.entries(r.children)){let n=Wm(i);if(t===ae&&n.segments.length===0&&n.hasChildren())for(let[s,a]of Object.entries(n.children))e[s]=a;else(n.segments.length>0||n.hasChildren())&&(e[t]=n)}let o=new Te(r.segments,e);return Zg(o)}function Zg(r){if(r.numberOfChildren===1&&r.children[ae]){let e=r.children[ae];return new Te(r.segments.concat(e.segments),e.children)}return r}function Ro(r){return r instanceof Di}function Qg(r,e,o=null,t=null){let i=$m(r);return Um(i,e,o,t)}function $m(r){let e;function o(n){let s={};for(let l of n.children){let m=o(l);s[l.outlet]=m}let a=new Te(n.url,s);return n===r&&(e=a),a}let t=o(r.root),i=Bm(t);return e??i}function Um(r,e,o,t){let i=r;for(;i.parent;)i=i.parent;if(e.length===0)return Ba(i,i,i,o,t);let n=Kg(e);if(n.toRoot())return Ba(i,i,new Te([],{}),o,t);let s=Jg(n,i,r),a=s.processChildren?Eo(s.segmentGroup,s.index,n.commands):Gm(s.segmentGroup,s.index,n.commands);return Ba(i,s.segmentGroup,a,o,t)}function cs(r){return typeof r=="object"&&r!=null&&!r.outlets&&!r.segmentPath}function Ao(r){return typeof r=="object"&&r!=null&&r.outlets}function Ba(r,e,o,t,i){let n={};t&&Object.entries(t).forEach(([l,m])=>{n[l]=Array.isArray(m)?m.map(p=>`${p}`):`${m}`});let s;r===e?s=o:s=Hm(r,e,o);let a=Bm(Wm(s));return new Di(a,n,i)}function Hm(r,e,o){let t={};return Object.entries(r.children).forEach(([i,n])=>{n===e?t[i]=o:t[i]=Hm(n,e,o)}),new Te(r.segments,t)}var ds=class{constructor(e,o,t){if(this.isAbsolute=e,this.numberOfDoubleDots=o,this.commands=t,e&&t.length>0&&cs(t[0]))throw new De(4003,!1);let i=t.find(Ao);if(i&&i!==Fm(t))throw new De(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function Kg(r){if(typeof r[0]=="string"&&r.length===1&&r[0]==="/")return new ds(!0,0,r);let e=0,o=!1,t=r.reduce((i,n,s)=>{if(typeof n=="object"&&n!=null){if(n.outlets){let a={};return Object.entries(n.outlets).forEach(([l,m])=>{a[l]=typeof m=="string"?m.split("/"):m}),[...i,{outlets:a}]}if(n.segmentPath)return[...i,n.segmentPath]}return typeof n!="string"?[...i,n]:s===0?(n.split("/").forEach((a,l)=>{l==0&&a==="."||(l==0&&a===""?o=!0:a===".."?e++:a!=""&&i.push(a))}),i):[...i,n]},[]);return new ds(o,e,t)}var An=class{constructor(e,o,t){this.segmentGroup=e,this.processChildren=o,this.index=t}};function Jg(r,e,o){if(r.isAbsolute)return new An(e,!0,0);if(!o)return new An(e,!1,NaN);if(o.parent===null)return new An(o,!0,0);let t=cs(r.commands[0])?0:1,i=o.segments.length-1+t;return eb(o,i,r.numberOfDoubleDots)}function eb(r,e,o){let t=r,i=e,n=o;for(;n>i;){if(n-=i,t=t.parent,!t)throw new De(4005,!1);i=t.segments.length}return new An(t,!1,i-n)}function tb(r){return Ao(r[0])?r[0].outlets:{[ae]:r}}function Gm(r,e,o){if(r??=new Te([],{}),r.segments.length===0&&r.hasChildren())return Eo(r,e,o);let t=ib(r,e,o),i=o.slice(t.commandIndex);if(t.match&&t.pathIndexn!==ae)&&r.children[ae]&&r.numberOfChildren===1&&r.children[ae].segments.length===0){let n=Eo(r.children[ae],e,o);return new Te(r.segments,n.children)}return Object.entries(t).forEach(([n,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(i[n]=Gm(r.children[n],e,s))}),Object.entries(r.children).forEach(([n,s])=>{t[n]===void 0&&(i[n]=s)}),new Te(r.segments,i)}}function ib(r,e,o){let t=0,i=e,n={match:!1,pathIndex:0,commandIndex:0};for(;i=o.length)return n;let s=r.segments[i],a=o[t];if(Ao(a))break;let l=`${a}`,m=t0&&l===void 0)break;if(l&&m&&typeof m=="object"&&m.outlets===void 0){if(!Tm(l,m,s))return n;t+=2}else{if(!Tm(l,{},s))return n;t++}i++}return{match:!0,pathIndex:i,commandIndex:t}}function Xa(r,e,o){let t=r.segments.slice(0,e),i=0;for(;i{typeof t=="string"&&(t=[t]),t!==null&&(e[o]=Xa(new Te([],{}),0,t))}),e}function Sm(r){let e={};return Object.entries(r).forEach(([o,t])=>e[o]=`${t}`),e}function Tm(r,e,o){return r==o.path&&Jt(e,o.parameters)}var So="imperative",lt=function(r){return r[r.NavigationStart=0]="NavigationStart",r[r.NavigationEnd=1]="NavigationEnd",r[r.NavigationCancel=2]="NavigationCancel",r[r.NavigationError=3]="NavigationError",r[r.RoutesRecognized=4]="RoutesRecognized",r[r.ResolveStart=5]="ResolveStart",r[r.ResolveEnd=6]="ResolveEnd",r[r.GuardsCheckStart=7]="GuardsCheckStart",r[r.GuardsCheckEnd=8]="GuardsCheckEnd",r[r.RouteConfigLoadStart=9]="RouteConfigLoadStart",r[r.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",r[r.ChildActivationStart=11]="ChildActivationStart",r[r.ChildActivationEnd=12]="ChildActivationEnd",r[r.ActivationStart=13]="ActivationStart",r[r.ActivationEnd=14]="ActivationEnd",r[r.Scroll=15]="Scroll",r[r.NavigationSkipped=16]="NavigationSkipped",r}(lt||{}),Ft=class{constructor(e,o){this.id=e,this.url=o}},Oo=class extends Ft{constructor(e,o,t="imperative",i=null){super(e,o),this.type=lt.NavigationStart,this.navigationTrigger=t,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},ui=class extends Ft{constructor(e,o,t){super(e,o),this.urlAfterRedirects=t,this.type=lt.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},Et=function(r){return r[r.Redirect=0]="Redirect",r[r.SupersededByNewNavigation=1]="SupersededByNewNavigation",r[r.NoDataFromResolver=2]="NoDataFromResolver",r[r.GuardRejected=3]="GuardRejected",r}(Et||{}),qa=function(r){return r[r.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",r[r.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",r}(qa||{}),hi=class extends Ft{constructor(e,o,t,i){super(e,o),this.reason=t,this.code=i,this.type=lt.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},nn=class extends Ft{constructor(e,o,t,i){super(e,o),this.reason=t,this.code=i,this.type=lt.NavigationSkipped}},Fo=class extends Ft{constructor(e,o,t,i){super(e,o),this.error=t,this.target=i,this.type=lt.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},ms=class extends Ft{constructor(e,o,t,i){super(e,o),this.urlAfterRedirects=t,this.state=i,this.type=lt.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Za=class extends Ft{constructor(e,o,t,i){super(e,o),this.urlAfterRedirects=t,this.state=i,this.type=lt.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Qa=class extends Ft{constructor(e,o,t,i,n){super(e,o),this.urlAfterRedirects=t,this.state=i,this.shouldActivate=n,this.type=lt.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Ka=class extends Ft{constructor(e,o,t,i){super(e,o),this.urlAfterRedirects=t,this.state=i,this.type=lt.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ja=class extends Ft{constructor(e,o,t,i){super(e,o),this.urlAfterRedirects=t,this.state=i,this.type=lt.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},el=class{constructor(e){this.route=e,this.type=lt.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},tl=class{constructor(e){this.route=e,this.type=lt.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},il=class{constructor(e){this.snapshot=e,this.type=lt.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},nl=class{constructor(e){this.snapshot=e,this.type=lt.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},ol=class{constructor(e){this.snapshot=e,this.type=lt.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},rl=class{constructor(e){this.snapshot=e,this.type=lt.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}};var Po=class{},Ln=class{constructor(e,o){this.url=e,this.navigationBehaviorOptions=o}};var sl=class{constructor(e){this.injector=e,this.outlet=null,this.route=null,this.children=new vs(this.injector),this.attachRef=null}},vs=(()=>{let e=class e{constructor(t){this.parentInjector=t,this.contexts=new Map}onChildOutletCreated(t,i){let n=this.getOrCreateContext(t);n.outlet=i,this.contexts.set(t,n)}onChildOutletDestroyed(t){let i=this.getContext(t);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){let t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let i=this.getContext(t);return i||(i=new sl(this.parentInjector),this.contexts.set(t,i)),i}getContext(t){return this.contexts.get(t)||null}};e.\u0275fac=function(i){return new(i||e)(E(yi))},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})(),hs=class{constructor(e){this._root=e}get root(){return this._root.value}parent(e){let o=this.pathFromRoot(e);return o.length>1?o[o.length-2]:null}children(e){let o=al(e,this._root);return o?o.children.map(t=>t.value):[]}firstChild(e){let o=al(e,this._root);return o&&o.children.length>0?o.children[0].value:null}siblings(e){let o=ll(e,this._root);return o.length<2?[]:o[o.length-2].children.map(i=>i.value).filter(i=>i!==e)}pathFromRoot(e){return ll(e,this._root).map(o=>o.value)}};function al(r,e){if(r===e.value)return e;for(let o of e.children){let t=al(r,o);if(t)return t}return null}function ll(r,e){if(r===e.value)return[e];for(let o of e.children){let t=ll(r,o);if(t.length)return t.unshift(e),t}return[]}var It=class{constructor(e,o){this.value=e,this.children=o}toString(){return`TreeNode(${this.value})`}};function Rn(r){let e={};return r&&r.children.forEach(o=>e[o.value.outlet]=o),e}var us=class extends hs{constructor(e,o){super(e),this.snapshot=o,_l(this,e)}toString(){return this.snapshot.toString()}};function Ym(r){let e=ob(r),o=new _t([new en("",{})]),t=new _t({}),i=new _t({}),n=new _t({}),s=new _t(""),a=new on(o,t,n,s,i,ae,r,e.root);return a.snapshot=e.root,new us(new It(a,[]),e)}function ob(r){let e={},o={},t={},i="",n=new On([],e,t,i,o,ae,r,null,{});return new fs("",new It(n,[]))}var on=class{constructor(e,o,t,i,n,s,a,l){this.urlSubject=e,this.paramsSubject=o,this.queryParamsSubject=t,this.fragmentSubject=i,this.dataSubject=n,this.outlet=s,this.component=a,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(G(m=>m[jo]))??$(void 0),this.url=e,this.params=o,this.queryParams=t,this.fragment=i,this.data=n}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.params.pipe(G(e=>Pn(e))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(G(e=>Pn(e))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function ps(r,e,o="emptyOnly"){let t,{routeConfig:i}=r;return e!==null&&(o==="always"||i?.path===""||!e.component&&!e.routeConfig?.loadComponent)?t={params:M(M({},e.params),r.params),data:M(M({},e.data),r.data),resolve:M(M(M(M({},r.data),e.data),i?.data),r._resolvedData)}:t={params:M({},r.params),data:M({},r.data),resolve:M(M({},r.data),r._resolvedData??{})},i&&qm(i)&&(t.resolve[jo]=i.title),t}var On=class{get title(){return this.data?.[jo]}constructor(e,o,t,i,n,s,a,l,m){this.url=e,this.params=o,this.queryParams=t,this.fragment=i,this.data=n,this.outlet=s,this.component=a,this.routeConfig=l,this._resolve=m}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??=Pn(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Pn(this.queryParams),this._queryParamMap}toString(){let e=this.url.map(t=>t.toString()).join("/"),o=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${e}', path:'${o}')`}},fs=class extends hs{constructor(e,o){super(o),this.url=e,_l(this,o)}toString(){return Xm(this._root)}};function _l(r,e){e.value._routerState=r,e.children.forEach(o=>_l(r,o))}function Xm(r){let e=r.children.length>0?` { ${r.children.map(Xm).join(", ")} } `:"";return`${r.value}${e}`}function Wa(r){if(r.snapshot){let e=r.snapshot,o=r._futureSnapshot;r.snapshot=o,Jt(e.queryParams,o.queryParams)||r.queryParamsSubject.next(o.queryParams),e.fragment!==o.fragment&&r.fragmentSubject.next(o.fragment),Jt(e.params,o.params)||r.paramsSubject.next(o.params),Og(e.url,o.url)||r.urlSubject.next(o.url),Jt(e.data,o.data)||r.dataSubject.next(o.data)}else r.snapshot=r._futureSnapshot,r.dataSubject.next(r._futureSnapshot.data)}function cl(r,e){let o=Jt(r.params,e.params)&&zg(r.url,e.url),t=!r.parent!=!e.parent;return o&&!t&&(!r.parent||cl(r.parent,e.parent))}function qm(r){return typeof r.title=="string"||r.title===null}var vl=(()=>{let e=class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=ae,this.activateEvents=new Z,this.deactivateEvents=new Z,this.attachEvents=new Z,this.detachEvents=new Z,this.parentContexts=T(vs),this.location=T(Xt),this.changeDetector=T(Ge),this.inputBinder=T(xl,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(t){if(t.name){let{firstChange:i,previousValue:n}=t.name;if(i)return;this.isTrackedInParentContexts(n)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(n)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(t){return this.parentContexts.getContext(t)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let t=this.parentContexts.getContext(this.name);t?.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new De(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new De(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new De(4012,!1);this.location.detach();let t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,i){this.activated=t,this._activatedRoute=i,this.location.insert(t.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(t.instance)}deactivate(){if(this.activated){let t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,i){if(this.isActivated)throw new De(4013,!1);this._activatedRoute=t;let n=this.location,a=t.snapshot.component,l=this.parentContexts.getOrCreateContext(this.name).children,m=new dl(t,l,n.injector);this.activated=n.createComponent(a,{index:n.length,injector:m,environmentInjector:i}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=Y({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Le]});let r=e;return r})(),dl=class r{__ngOutletInjector(e){return new r(this.route,this.childContexts,e)}constructor(e,o,t){this.route=e,this.childContexts=o,this.parent=t}get(e,o){return e===on?this.route:e===vs?this.childContexts:this.parent.get(e,o)}},xl=new P("");function rb(r,e,o){let t=Lo(r,e._root,o?o._root:void 0);return new us(t,e)}function Lo(r,e,o){if(o&&r.shouldReuseRoute(e.value,o.value.snapshot)){let t=o.value;t._futureSnapshot=e.value;let i=sb(r,e,o);return new It(t,i)}else{if(r.shouldAttach(e.value)){let n=r.retrieve(e.value);if(n!==null){let s=n.route;return s.value._futureSnapshot=e.value,s.children=e.children.map(a=>Lo(r,a)),s}}let t=ab(e.value),i=e.children.map(n=>Lo(r,n));return new It(t,i)}}function sb(r,e,o){return e.children.map(t=>{for(let i of o.children)if(r.shouldReuseRoute(t.value,i.value.snapshot))return Lo(r,t,i);return Lo(r,t)})}function ab(r){return new on(new _t(r.url),new _t(r.params),new _t(r.queryParams),new _t(r.fragment),new _t(r.data),r.outlet,r.component,r)}var zo=class{constructor(e,o){this.redirectTo=e,this.navigationBehaviorOptions=o}},Zm="ngNavigationCancelingError";function gs(r,e){let{redirectTo:o,navigationBehaviorOptions:t}=Ro(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,i=Qm(!1,Et.Redirect);return i.url=o,i.navigationBehaviorOptions=t,i}function Qm(r,e){let o=new Error(`NavigationCancelingError: ${r||""}`);return o[Zm]=!0,o.cancellationCode=e,o}function lb(r){return Km(r)&&Ro(r.url)}function Km(r){return!!r&&r[Zm]}var cb=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=R({type:e,selectors:[["ng-component"]],standalone:!0,features:[A],decls:1,vars:0,template:function(i,n){i&1&&O(0,"router-outlet")},dependencies:[vl],encapsulation:2});let r=e;return r})();function db(r,e){return r.providers&&!r._injector&&(r._injector=Pc(r.providers,e,`Route: ${r.path}`)),r._injector??e}function yl(r){let e=r.children&&r.children.map(yl),o=e?le(M({},r),{children:e}):M({},r);return!o.component&&!o.loadComponent&&(e||o.loadChildren)&&o.outlet&&o.outlet!==ae&&(o.component=cb),o}function Gt(r){return r.outlet||ae}function mb(r,e){let o=r.filter(t=>Gt(t)===e);return o.push(...r.filter(t=>Gt(t)!==e)),o}function Bo(r){if(!r)return null;if(r.routeConfig?._injector)return r.routeConfig._injector;for(let e=r.parent;e;e=e.parent){let o=e.routeConfig;if(o?._loadedInjector)return o._loadedInjector;if(o?._injector)return o._injector}return null}var hb=(r,e,o,t)=>G(i=>(new ml(e,i.targetRouterState,i.currentRouterState,o,t).activate(r),i)),ml=class{constructor(e,o,t,i,n){this.routeReuseStrategy=e,this.futureState=o,this.currState=t,this.forwardEvent=i,this.inputBindingEnabled=n}activate(e){let o=this.futureState._root,t=this.currState?this.currState._root:null;this.deactivateChildRoutes(o,t,e),Wa(this.futureState.root),this.activateChildRoutes(o,t,e)}deactivateChildRoutes(e,o,t){let i=Rn(o);e.children.forEach(n=>{let s=n.value.outlet;this.deactivateRoutes(n,i[s],t),delete i[s]}),Object.values(i).forEach(n=>{this.deactivateRouteAndItsChildren(n,t)})}deactivateRoutes(e,o,t){let i=e.value,n=o?o.value:null;if(i===n)if(i.component){let s=t.getContext(i.outlet);s&&this.deactivateChildRoutes(e,o,s.children)}else this.deactivateChildRoutes(e,o,t);else n&&this.deactivateRouteAndItsChildren(o,t)}deactivateRouteAndItsChildren(e,o){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,o):this.deactivateRouteAndOutlet(e,o)}detachAndStoreRouteSubtree(e,o){let t=o.getContext(e.value.outlet),i=t&&e.value.component?t.children:o,n=Rn(e);for(let s of Object.values(n))this.deactivateRouteAndItsChildren(s,i);if(t&&t.outlet){let s=t.outlet.detach(),a=t.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:s,route:e,contexts:a})}}deactivateRouteAndOutlet(e,o){let t=o.getContext(e.value.outlet),i=t&&e.value.component?t.children:o,n=Rn(e);for(let s of Object.values(n))this.deactivateRouteAndItsChildren(s,i);t&&(t.outlet&&(t.outlet.deactivate(),t.children.onOutletDeactivated()),t.attachRef=null,t.route=null)}activateChildRoutes(e,o,t){let i=Rn(o);e.children.forEach(n=>{this.activateRoutes(n,i[n.value.outlet],t),this.forwardEvent(new rl(n.value.snapshot))}),e.children.length&&this.forwardEvent(new nl(e.value.snapshot))}activateRoutes(e,o,t){let i=e.value,n=o?o.value:null;if(Wa(i),i===n)if(i.component){let s=t.getOrCreateContext(i.outlet);this.activateChildRoutes(e,o,s.children)}else this.activateChildRoutes(e,o,t);else if(i.component){let s=t.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),Wa(a.route.value),this.activateChildRoutes(e,null,s.children)}else{let a=Bo(i.snapshot);s.attachRef=null,s.route=i,s.injector=a??s.injector,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(e,null,s.children)}}else this.activateChildRoutes(e,null,t)}},bs=class{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},Fn=class{constructor(e,o){this.component=e,this.route=o}};function ub(r,e,o){let t=r._root,i=e?e._root:null;return Mo(t,i,o,[t.value])}function pb(r){let e=r.routeConfig?r.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:r,guards:e}}function Nn(r,e){let o=Symbol(),t=e.get(r,o);return t===o?typeof r=="function"&&!xc(r)?r:e.get(r):t}function Mo(r,e,o,t,i={canDeactivateChecks:[],canActivateChecks:[]}){let n=Rn(e);return r.children.forEach(s=>{fb(s,n[s.value.outlet],o,t.concat([s.value]),i),delete n[s.value.outlet]}),Object.entries(n).forEach(([s,a])=>To(a,o.getContext(s),i)),i}function fb(r,e,o,t,i={canDeactivateChecks:[],canActivateChecks:[]}){let n=r.value,s=e?e.value:null,a=o?o.getContext(r.value.outlet):null;if(s&&n.routeConfig===s.routeConfig){let l=gb(s,n,n.routeConfig.runGuardsAndResolvers);l?i.canActivateChecks.push(new bs(t)):(n.data=s.data,n._resolvedData=s._resolvedData),n.component?Mo(r,e,a?a.children:null,t,i):Mo(r,e,o,t,i),l&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new Fn(a.outlet.component,s))}else s&&To(e,a,i),i.canActivateChecks.push(new bs(t)),n.component?Mo(r,null,a?a.children:null,t,i):Mo(r,null,o,t,i);return i}function gb(r,e,o){if(typeof o=="function")return o(r,e);switch(o){case"pathParamsChange":return!tn(r.url,e.url);case"pathParamsOrQueryParamsChange":return!tn(r.url,e.url)||!Jt(r.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!cl(r,e)||!Jt(r.queryParams,e.queryParams);case"paramsChange":default:return!cl(r,e)}}function To(r,e,o){let t=Rn(r),i=r.value;Object.entries(t).forEach(([n,s])=>{i.component?e?To(s,e.children.getContext(n),o):To(s,null,o):To(s,e,o)}),i.component?e&&e.outlet&&e.outlet.isActivated?o.canDeactivateChecks.push(new Fn(e.outlet.component,i)):o.canDeactivateChecks.push(new Fn(null,i)):o.canDeactivateChecks.push(new Fn(null,i))}function Wo(r){return typeof r=="function"}function bb(r){return typeof r=="boolean"}function _b(r){return r&&Wo(r.canLoad)}function vb(r){return r&&Wo(r.canActivate)}function xb(r){return r&&Wo(r.canActivateChild)}function yb(r){return r&&Wo(r.canDeactivate)}function wb(r){return r&&Wo(r.canMatch)}function Jm(r){return r instanceof fc||r?.name==="EmptyError"}var rs=Symbol("INITIAL_VALUE");function zn(){return $e(r=>Gn(r.map(e=>e.pipe(ht(1),vt(rs)))).pipe(G(e=>{for(let o of e)if(o!==!0){if(o===rs)return rs;if(o===!1||Cb(o))return o}return!0}),Oe(e=>e!==rs),ht(1)))}function Cb(r){return Ro(r)||r instanceof zo}function kb(r,e){return Rt(o=>{let{targetSnapshot:t,currentSnapshot:i,guards:{canActivateChecks:n,canDeactivateChecks:s}}=o;return s.length===0&&n.length===0?$(le(M({},o),{guardsResult:!0})):Mb(s,t,i,r).pipe(Rt(a=>a&&bb(a)?Ib(t,n,r,e):$(a)),G(a=>le(M({},o),{guardsResult:a})))})}function Mb(r,e,o,t){return dt(r).pipe(Rt(i=>Rb(i.component,i.route,o,e,t)),ni(i=>i!==!0,!0))}function Ib(r,e,o,t){return dt(e).pipe(Li(i=>hr(Sb(i.route.parent,t),Eb(i.route,t),Db(r,i.path,o),Tb(r,i.route,o))),ni(i=>i!==!0,!0))}function Eb(r,e){return r!==null&&e&&e(new ol(r)),$(!0)}function Sb(r,e){return r!==null&&e&&e(new il(r)),$(!0)}function Tb(r,e,o){let t=e.routeConfig?e.routeConfig.canActivate:null;if(!t||t.length===0)return $(!0);let i=t.map(n=>Yn(()=>{let s=Bo(e)??o,a=Nn(n,s),l=vb(a)?a.canActivate(e,r):jt(s,()=>a(e,r));return Ri(l).pipe(ni())}));return $(i).pipe(zn())}function Db(r,e,o){let t=e[e.length-1],n=e.slice(0,e.length-1).reverse().map(s=>pb(s)).filter(s=>s!==null).map(s=>Yn(()=>{let a=s.guards.map(l=>{let m=Bo(s.node)??o,p=Nn(l,m),v=xb(p)?p.canActivateChild(t,r):jt(m,()=>p(t,r));return Ri(v).pipe(ni())});return $(a).pipe(zn())}));return $(n).pipe(zn())}function Rb(r,e,o,t,i){let n=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!n||n.length===0)return $(!0);let s=n.map(a=>{let l=Bo(e)??i,m=Nn(a,l),p=yb(m)?m.canDeactivate(r,e,o,t):jt(l,()=>m(r,e,o,t));return Ri(p).pipe(ni())});return $(s).pipe(zn())}function Ab(r,e,o,t){let i=e.canLoad;if(i===void 0||i.length===0)return $(!0);let n=i.map(s=>{let a=Nn(s,r),l=_b(a)?a.canLoad(e,o):jt(r,()=>a(e,o));return Ri(l)});return $(n).pipe(zn(),eh(t))}function eh(r){return pc(Ue(e=>{if(typeof e!="boolean")throw gs(r,e)}),G(e=>e===!0))}function Ob(r,e,o,t){let i=e.canMatch;if(!i||i.length===0)return $(!0);let n=i.map(s=>{let a=Nn(s,r),l=wb(a)?a.canMatch(e,o):jt(r,()=>a(e,o));return Ri(l)});return $(n).pipe(zn(),eh(t))}var No=class{constructor(e){this.segmentGroup=e||null}},Vo=class extends Error{constructor(e){super(),this.urlTree=e}};function Dn(r){return Pi(new No(r))}function Fb(r){return Pi(new De(4e3,!1))}function Pb(r){return Pi(Qm(!1,Et.GuardRejected))}var hl=class{constructor(e,o){this.urlSerializer=e,this.urlTree=o}lineralizeSegments(e,o){let t=[],i=o.root;for(;;){if(t=t.concat(i.segments),i.numberOfChildren===0)return $(t);if(i.numberOfChildren>1||!i.children[ae])return Fb(`${e.redirectTo}`);i=i.children[ae]}}applyRedirectCommands(e,o,t,i,n){if(typeof o!="string"){let a=o,{queryParams:l,fragment:m,routeConfig:p,url:v,outlet:y,params:I,data:D,title:F}=i,j=jt(n,()=>a({params:I,data:D,queryParams:l,fragment:m,routeConfig:p,url:v,outlet:y,title:F}));if(j instanceof Di)throw new Vo(j);o=j}let s=this.applyRedirectCreateUrlTree(o,this.urlSerializer.parse(o),e,t);if(o[0]==="/")throw new Vo(s);return s}applyRedirectCreateUrlTree(e,o,t,i){let n=this.createSegmentGroup(e,o.root,t,i);return new Di(n,this.createQueryParams(o.queryParams,this.urlTree.queryParams),o.fragment)}createQueryParams(e,o){let t={};return Object.entries(e).forEach(([i,n])=>{if(typeof n=="string"&&n[0]===":"){let a=n.substring(1);t[i]=o[a]}else t[i]=n}),t}createSegmentGroup(e,o,t,i){let n=this.createSegments(e,o.segments,t,i),s={};return Object.entries(o.children).forEach(([a,l])=>{s[a]=this.createSegmentGroup(e,l,t,i)}),new Te(n,s)}createSegments(e,o,t,i){return o.map(n=>n.path[0]===":"?this.findPosParam(e,n,i):this.findOrReturn(n,t))}findPosParam(e,o,t){let i=t[o.path.substring(1)];if(!i)throw new De(4001,!1);return i}findOrReturn(e,o){let t=0;for(let i of o){if(i.path===e.path)return o.splice(t),i;t++}return e}},ul={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Lb(r,e,o,t,i){let n=wl(r,e,o);return n.matched?(t=db(e,t),Ob(t,e,o,i).pipe(G(s=>s===!0?n:M({},ul)))):$(n)}function wl(r,e,o){if(e.path==="**")return zb(o);if(e.path==="")return e.pathMatch==="full"&&(r.hasChildren()||o.length>0)?M({},ul):{matched:!0,consumedSegments:[],remainingSegments:o,parameters:{},positionalParamSegments:{}};let i=(e.matcher||Ag)(o,r,e);if(!i)return M({},ul);let n={};Object.entries(i.posParams??{}).forEach(([a,l])=>{n[a]=l.path});let s=i.consumed.length>0?M(M({},n),i.consumed[i.consumed.length-1].parameters):n;return{matched:!0,consumedSegments:i.consumed,remainingSegments:o.slice(i.consumed.length),parameters:s,positionalParamSegments:i.posParams??{}}}function zb(r){return{matched:!0,parameters:r.length>0?Fm(r).parameters:{},consumedSegments:r,remainingSegments:[],positionalParamSegments:{}}}function Dm(r,e,o,t){return o.length>0&&jb(r,o,t)?{segmentGroup:new Te(e,Vb(t,new Te(o,r.children))),slicedSegments:[]}:o.length===0&&Bb(r,o,t)?{segmentGroup:new Te(r.segments,Nb(r,o,t,r.children)),slicedSegments:o}:{segmentGroup:new Te(r.segments,r.children),slicedSegments:o}}function Nb(r,e,o,t){let i={};for(let n of o)if(xs(r,e,n)&&!t[Gt(n)]){let s=new Te([],{});i[Gt(n)]=s}return M(M({},t),i)}function Vb(r,e){let o={};o[ae]=e;for(let t of r)if(t.path===""&&Gt(t)!==ae){let i=new Te([],{});o[Gt(t)]=i}return o}function jb(r,e,o){return o.some(t=>xs(r,e,t)&&Gt(t)!==ae)}function Bb(r,e,o){return o.some(t=>xs(r,e,t))}function xs(r,e,o){return(r.hasChildren()||e.length>0)&&o.pathMatch==="full"?!1:o.path===""}function Wb(r,e,o,t){return Gt(r)!==t&&(t===ae||!xs(e,o,r))?!1:wl(e,r,o).matched}function $b(r,e,o){return e.length===0&&!r.children[o]}var pl=class{};function Ub(r,e,o,t,i,n,s="emptyOnly"){return new fl(r,e,o,t,i,s,n).recognize()}var Hb=31,fl=class{constructor(e,o,t,i,n,s,a){this.injector=e,this.configLoader=o,this.rootComponentType=t,this.config=i,this.urlTree=n,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new hl(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(e){return new De(4002,`'${e.segmentGroup}'`)}recognize(){let e=Dm(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(G(({children:o,rootSnapshot:t})=>{let i=new It(t,o),n=new fs("",i),s=Qg(t,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,n.url=this.urlSerializer.serialize(s),{state:n,tree:s}}))}match(e){let o=new On([],Object.freeze({}),Object.freeze(M({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),ae,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,e,ae,o).pipe(G(t=>({children:t,rootSnapshot:o})),_i(t=>{if(t instanceof Vo)return this.urlTree=t.urlTree,this.match(t.urlTree.root);throw t instanceof No?this.noMatchError(t):t}))}processSegmentGroup(e,o,t,i,n){return t.segments.length===0&&t.hasChildren()?this.processChildren(e,o,t,n):this.processSegment(e,o,t,t.segments,i,!0,n).pipe(G(s=>s instanceof It?[s]:[]))}processChildren(e,o,t,i){let n=[];for(let s of Object.keys(t.children))s==="primary"?n.unshift(s):n.push(s);return dt(n).pipe(Li(s=>{let a=t.children[s],l=mb(o,s);return this.processSegmentGroup(e,l,a,s,i)}),bc((s,a)=>(s.push(...a),s)),Vs(null),gc(),Rt(s=>{if(s===null)return Dn(t);let a=th(s);return Gb(a),$(a)}))}processSegment(e,o,t,i,n,s,a){return dt(o).pipe(Li(l=>this.processSegmentAgainstRoute(l._injector??e,o,l,t,i,n,s,a).pipe(_i(m=>{if(m instanceof No)return $(null);throw m}))),ni(l=>!!l),_i(l=>{if(Jm(l))return $b(t,i,n)?$(new pl):Dn(t);throw l}))}processSegmentAgainstRoute(e,o,t,i,n,s,a,l){return Wb(t,i,n,s)?t.redirectTo===void 0?this.matchSegmentAgainstRoute(e,i,t,n,s,l):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(e,i,o,t,n,s,l):Dn(i):Dn(i)}expandSegmentAgainstRouteUsingRedirect(e,o,t,i,n,s,a){let{matched:l,parameters:m,consumedSegments:p,positionalParamSegments:v,remainingSegments:y}=wl(o,i,n);if(!l)return Dn(o);typeof i.redirectTo=="string"&&i.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>Hb&&(this.allowRedirects=!1));let I=new On(n,m,Object.freeze(M({},this.urlTree.queryParams)),this.urlTree.fragment,Rm(i),Gt(i),i.component??i._loadedComponent??null,i,Am(i)),D=ps(I,a,this.paramsInheritanceStrategy);I.params=Object.freeze(D.params),I.data=Object.freeze(D.data);let F=this.applyRedirects.applyRedirectCommands(p,i.redirectTo,v,I,e);return this.applyRedirects.lineralizeSegments(i,F).pipe(Rt(j=>this.processSegment(e,t,o,j.concat(y),s,!1,a)))}matchSegmentAgainstRoute(e,o,t,i,n,s){let a=Lb(o,t,i,e,this.urlSerializer);return t.path==="**"&&(o.children={}),a.pipe($e(l=>l.matched?(e=t._injector??e,this.getChildConfig(e,t,i).pipe($e(({routes:m})=>{let p=t._loadedInjector??e,{parameters:v,consumedSegments:y,remainingSegments:I}=l,D=new On(y,v,Object.freeze(M({},this.urlTree.queryParams)),this.urlTree.fragment,Rm(t),Gt(t),t.component??t._loadedComponent??null,t,Am(t)),F=ps(D,s,this.paramsInheritanceStrategy);D.params=Object.freeze(F.params),D.data=Object.freeze(F.data);let{segmentGroup:j,slicedSegments:H}=Dm(o,y,I,m);if(H.length===0&&j.hasChildren())return this.processChildren(p,m,j,D).pipe(G(ct=>new It(D,ct)));if(m.length===0&&H.length===0)return $(new It(D,[]));let Pe=Gt(t)===n;return this.processSegment(p,m,j,H,Pe?ae:n,!0,D).pipe(G(ct=>new It(D,ct instanceof It?[ct]:[])))}))):Dn(o)))}getChildConfig(e,o,t){return o.children?$({routes:o.children,injector:e}):o.loadChildren?o._loadedRoutes!==void 0?$({routes:o._loadedRoutes,injector:o._loadedInjector}):Ab(e,o,t,this.urlSerializer).pipe(Rt(i=>i?this.configLoader.loadChildren(e,o).pipe(Ue(n=>{o._loadedRoutes=n.routes,o._loadedInjector=n.injector})):Pb(o))):$({routes:[],injector:e})}};function Gb(r){r.sort((e,o)=>e.value.outlet===ae?-1:o.value.outlet===ae?1:e.value.outlet.localeCompare(o.value.outlet))}function Yb(r){let e=r.value.routeConfig;return e&&e.path===""}function th(r){let e=[],o=new Set;for(let t of r){if(!Yb(t)){e.push(t);continue}let i=e.find(n=>t.value.routeConfig===n.value.routeConfig);i!==void 0?(i.children.push(...t.children),o.add(i)):e.push(t)}for(let t of o){let i=th(t.children);e.push(new It(t.value,i))}return e.filter(t=>!o.has(t))}function Rm(r){return r.data||{}}function Am(r){return r.resolve||{}}function Xb(r,e,o,t,i,n){return Rt(s=>Ub(r,e,o,t,s.extractedUrl,i,n).pipe(G(({state:a,tree:l})=>le(M({},s),{targetSnapshot:a,urlAfterRedirects:l}))))}function qb(r,e){return Rt(o=>{let{targetSnapshot:t,guards:{canActivateChecks:i}}=o;if(!i.length)return $(o);let n=new Set(i.map(l=>l.route)),s=new Set;for(let l of n)if(!s.has(l))for(let m of ih(l))s.add(m);let a=0;return dt(s).pipe(Li(l=>n.has(l)?Zb(l,t,r,e):(l.data=ps(l,l.parent,r).resolve,$(void 0))),Ue(()=>a++),Bs(1),Rt(l=>a===s.size?$(o):Yt))})}function ih(r){let e=r.children.map(o=>ih(o)).flat();return[r,...e]}function Zb(r,e,o,t){let i=r.routeConfig,n=r._resolve;return i?.title!==void 0&&!qm(i)&&(n[jo]=i.title),Qb(n,r,e,t).pipe(G(s=>(r._resolvedData=s,r.data=ps(r,r.parent,o).resolve,null)))}function Qb(r,e,o,t){let i=Ha(r);if(i.length===0)return $({});let n={};return dt(i).pipe(Rt(s=>Kb(r[s],e,o,t).pipe(ni(),Ue(a=>{if(a instanceof zo)throw gs(new Do,a);n[s]=a}))),Bs(1),fr(n),_i(s=>Jm(s)?Yt:Pi(s)))}function Kb(r,e,o,t){let i=Bo(e)??t,n=Nn(r,i),s=n.resolve?n.resolve(e,o):jt(i,()=>n(e,o));return Ri(s)}function $a(r){return $e(e=>{let o=r(e);return o?dt(o).pipe(G(()=>e)):$(e)})}var nh=(()=>{let e=class e{buildTitle(t){let i,n=t.root;for(;n!==void 0;)i=this.getResolvedTitleForRoute(n)??i,n=n.children.find(s=>s.outlet===ae);return i}getResolvedTitleForRoute(t){return t.data[jo]}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=V({token:e,factory:()=>T(Jb),providedIn:"root"});let r=e;return r})(),Jb=(()=>{let e=class e extends nh{constructor(t){super(),this.title=t}updateTitle(t){let i=this.buildTitle(t);i!==void 0&&this.title.setTitle(i)}};e.\u0275fac=function(i){return new(i||e)(E(bd))},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})(),Cl=new P("",{providedIn:"root",factory:()=>({})}),kl=new P(""),e_=(()=>{let e=class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=T(Ks)}loadComponent(t){if(this.componentLoaders.get(t))return this.componentLoaders.get(t);if(t._loadedComponent)return $(t._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(t);let i=Ri(t.loadComponent()).pipe(G(oh),Ue(s=>{this.onLoadEndListener&&this.onLoadEndListener(t),t._loadedComponent=s}),xi(()=>{this.componentLoaders.delete(t)})),n=new cr(i,()=>new W).pipe(Ps());return this.componentLoaders.set(t,n),n}loadChildren(t,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return $({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);let s=t_(i,this.compiler,t,this.onLoadEndListener).pipe(xi(()=>{this.childrenLoaders.delete(i)})),a=new cr(s,()=>new W).pipe(Ps());return this.childrenLoaders.set(i,a),a}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})();function t_(r,e,o,t){return Ri(r.loadChildren()).pipe(G(oh),Rt(i=>i instanceof Fc||Array.isArray(i)?$(i):dt(e.compileModuleAsync(i))),G(i=>{t&&t(r);let n,s,a=!1;return Array.isArray(i)?(s=i,a=!0):(n=i.create(o).injector,s=n.get(kl,[],{optional:!0,self:!0}).flat()),{routes:s.map(yl),injector:n}}))}function i_(r){return r&&typeof r=="object"&&"default"in r}function oh(r){return i_(r)?r.default:r}var Ml=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=V({token:e,factory:()=>T(n_),providedIn:"root"});let r=e;return r})(),n_=(()=>{let e=class e{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,i){return t}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})(),o_=new P("");var r_=new P(""),s_=(()=>{let e=class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new W,this.transitionAbortSubject=new W,this.configLoader=T(e_),this.environmentInjector=T(yi),this.urlSerializer=T(bl),this.rootContexts=T(vs),this.location=T(gn),this.inputBindingEnabled=T(xl,{optional:!0})!==null,this.titleStrategy=T(nh),this.options=T(Cl,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=T(Ml),this.createViewTransition=T(o_,{optional:!0}),this.navigationErrorHandler=T(r_,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>$(void 0),this.rootComponentType=null;let t=n=>this.events.next(new el(n)),i=n=>this.events.next(new tl(n));this.configLoader.onLoadEndListener=i,this.configLoader.onLoadStartListener=t}complete(){this.transitions?.complete()}handleNavigationRequest(t){let i=++this.navigationId;this.transitions?.next(le(M(M({},this.transitions.value),t),{id:i}))}setupNavigations(t,i,n){return this.transitions=new _t({id:0,currentUrlTree:i,currentRawUrl:i,extractedUrl:this.urlHandlingStrategy.extract(i),urlAfterRedirects:this.urlHandlingStrategy.extract(i),rawUrl:i,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:So,restoredState:null,currentSnapshot:n.snapshot,targetSnapshot:null,currentRouterState:n,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(Oe(s=>s.id!==0),G(s=>le(M({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),$e(s=>{let a=!1,l=!1;return $(s).pipe($e(m=>{if(this.navigationId>s.id)return this.cancelNavigationTransition(s,"",Et.SupersededByNewNavigation),Yt;this.currentTransition=s,this.currentNavigation={id:m.id,initialUrl:m.rawUrl,extractedUrl:m.extractedUrl,trigger:m.source,extras:m.extras,previousNavigation:this.lastSuccessfulNavigation?le(M({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let p=!t.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),v=m.extras.onSameUrlNavigation??t.onSameUrlNavigation;if(!p&&v!=="reload"){let y="";return this.events.next(new nn(m.id,this.urlSerializer.serialize(m.rawUrl),y,qa.IgnoredSameUrlNavigation)),m.resolve(!1),Yt}if(this.urlHandlingStrategy.shouldProcessUrl(m.rawUrl))return $(m).pipe($e(y=>{let I=this.transitions?.getValue();return this.events.next(new Oo(y.id,this.urlSerializer.serialize(y.extractedUrl),y.source,y.restoredState)),I!==this.transitions?.getValue()?Yt:Promise.resolve(y)}),Xb(this.environmentInjector,this.configLoader,this.rootComponentType,t.config,this.urlSerializer,this.paramsInheritanceStrategy),Ue(y=>{s.targetSnapshot=y.targetSnapshot,s.urlAfterRedirects=y.urlAfterRedirects,this.currentNavigation=le(M({},this.currentNavigation),{finalUrl:y.urlAfterRedirects});let I=new ms(y.id,this.urlSerializer.serialize(y.extractedUrl),this.urlSerializer.serialize(y.urlAfterRedirects),y.targetSnapshot);this.events.next(I)}));if(p&&this.urlHandlingStrategy.shouldProcessUrl(m.currentRawUrl)){let{id:y,extractedUrl:I,source:D,restoredState:F,extras:j}=m,H=new Oo(y,this.urlSerializer.serialize(I),D,F);this.events.next(H);let Pe=Ym(this.rootComponentType).snapshot;return this.currentTransition=s=le(M({},m),{targetSnapshot:Pe,urlAfterRedirects:I,extras:le(M({},j),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=I,$(s)}else{let y="";return this.events.next(new nn(m.id,this.urlSerializer.serialize(m.extractedUrl),y,qa.IgnoredByUrlHandlingStrategy)),m.resolve(!1),Yt}}),Ue(m=>{let p=new Za(m.id,this.urlSerializer.serialize(m.extractedUrl),this.urlSerializer.serialize(m.urlAfterRedirects),m.targetSnapshot);this.events.next(p)}),G(m=>(this.currentTransition=s=le(M({},m),{guards:ub(m.targetSnapshot,m.currentSnapshot,this.rootContexts)}),s)),kb(this.environmentInjector,m=>this.events.next(m)),Ue(m=>{if(s.guardsResult=m.guardsResult,m.guardsResult&&typeof m.guardsResult!="boolean")throw gs(this.urlSerializer,m.guardsResult);let p=new Qa(m.id,this.urlSerializer.serialize(m.extractedUrl),this.urlSerializer.serialize(m.urlAfterRedirects),m.targetSnapshot,!!m.guardsResult);this.events.next(p)}),Oe(m=>m.guardsResult?!0:(this.cancelNavigationTransition(m,"",Et.GuardRejected),!1)),$a(m=>{if(m.guards.canActivateChecks.length)return $(m).pipe(Ue(p=>{let v=new Ka(p.id,this.urlSerializer.serialize(p.extractedUrl),this.urlSerializer.serialize(p.urlAfterRedirects),p.targetSnapshot);this.events.next(v)}),$e(p=>{let v=!1;return $(p).pipe(qb(this.paramsInheritanceStrategy,this.environmentInjector),Ue({next:()=>v=!0,complete:()=>{v||this.cancelNavigationTransition(p,"",Et.NoDataFromResolver)}}))}),Ue(p=>{let v=new Ja(p.id,this.urlSerializer.serialize(p.extractedUrl),this.urlSerializer.serialize(p.urlAfterRedirects),p.targetSnapshot);this.events.next(v)}))}),$a(m=>{let p=v=>{let y=[];v.routeConfig?.loadComponent&&!v.routeConfig._loadedComponent&&y.push(this.configLoader.loadComponent(v.routeConfig).pipe(Ue(I=>{v.component=I}),G(()=>{})));for(let I of v.children)y.push(...p(I));return y};return Gn(p(m.targetSnapshot.root)).pipe(Vs(null),ht(1))}),$a(()=>this.afterPreactivation()),$e(()=>{let{currentSnapshot:m,targetSnapshot:p}=s,v=this.createViewTransition?.(this.environmentInjector,m.root,p.root);return v?dt(v).pipe(G(()=>s)):$(s)}),G(m=>{let p=rb(t.routeReuseStrategy,m.targetSnapshot,m.currentRouterState);return this.currentTransition=s=le(M({},m),{targetRouterState:p}),this.currentNavigation.targetRouterState=p,s}),Ue(()=>{this.events.next(new Po)}),hb(this.rootContexts,t.routeReuseStrategy,m=>this.events.next(m),this.inputBindingEnabled),ht(1),Ue({next:m=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new ui(m.id,this.urlSerializer.serialize(m.extractedUrl),this.urlSerializer.serialize(m.urlAfterRedirects))),this.titleStrategy?.updateTitle(m.targetRouterState.snapshot),m.resolve(!0)},complete:()=>{a=!0}}),Me(this.transitionAbortSubject.pipe(Ue(m=>{throw m}))),xi(()=>{!a&&!l&&this.cancelNavigationTransition(s,"",Et.SupersededByNewNavigation),this.currentTransition?.id===s.id&&(this.currentNavigation=null,this.currentTransition=null)}),_i(m=>{if(l=!0,Km(m))this.events.next(new hi(s.id,this.urlSerializer.serialize(s.extractedUrl),m.message,m.cancellationCode)),lb(m)?this.events.next(new Ln(m.url,m.navigationBehaviorOptions)):s.resolve(!1);else{let p=new Fo(s.id,this.urlSerializer.serialize(s.extractedUrl),m,s.targetSnapshot??void 0);try{let v=jt(this.environmentInjector,()=>this.navigationErrorHandler?.(p));if(v instanceof zo){let{message:y,cancellationCode:I}=gs(this.urlSerializer,v);this.events.next(new hi(s.id,this.urlSerializer.serialize(s.extractedUrl),y,I)),this.events.next(new Ln(v.redirectTo,v.navigationBehaviorOptions))}else{this.events.next(p);let y=t.errorHandler(m);s.resolve(!!y)}}catch(v){this.options.resolveNavigationPromiseOnError?s.resolve(!1):s.reject(v)}}return Yt}))}))}cancelNavigationTransition(t,i,n){let s=new hi(t.id,this.urlSerializer.serialize(t.extractedUrl),i,n);this.events.next(s),t.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})();function a_(r){return r!==So}var l_=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=V({token:e,factory:()=>T(c_),providedIn:"root"});let r=e;return r})(),gl=class{shouldDetach(e){return!1}store(e,o){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,o){return e.routeConfig===o.routeConfig}},c_=(()=>{let e=class e extends gl{};e.\u0275fac=(()=>{let t;return function(n){return(t||(t=xt(e)))(n||e)}})(),e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})(),rh=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=V({token:e,factory:()=>T(d_),providedIn:"root"});let r=e;return r})(),d_=(()=>{let e=class e extends rh{constructor(){super(...arguments),this.location=T(gn),this.urlSerializer=T(bl),this.options=T(Cl,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=T(Ml),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Di,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=Ym(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(t){return this.location.subscribe(i=>{i.type==="popstate"&&t(i.url,i.state)})}handleRouterEvent(t,i){if(t instanceof Oo)this.stateMemento=this.createStateMemento();else if(t instanceof nn)this.rawUrlTree=i.initialUrl;else if(t instanceof ms){if(this.urlUpdateStrategy==="eager"&&!i.extras.skipLocationChange){let n=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl);this.setBrowserUrl(n,i)}}else t instanceof Po?(this.currentUrlTree=i.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl),this.routerState=i.targetRouterState,this.urlUpdateStrategy==="deferred"&&(i.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,i))):t instanceof hi&&(t.code===Et.GuardRejected||t.code===Et.NoDataFromResolver)?this.restoreHistory(i):t instanceof Fo?this.restoreHistory(i,!0):t instanceof ui&&(this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId)}setBrowserUrl(t,i){let n=this.urlSerializer.serialize(t);if(this.location.isCurrentPathEqualTo(n)||i.extras.replaceUrl){let s=this.browserPageId,a=M(M({},i.extras.state),this.generateNgRouterState(i.id,s));this.location.replaceState(n,"",a)}else{let s=M(M({},i.extras.state),this.generateNgRouterState(i.id,this.browserPageId+1));this.location.go(n,"",s)}}restoreHistory(t,i=!1){if(this.canceledNavigationResolution==="computed"){let n=this.browserPageId,s=this.currentPageId-n;s!==0?this.location.historyGo(s):this.currentUrlTree===t.finalUrl&&s===0&&(this.resetState(t),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(i&&this.resetState(t),this.resetUrlToCurrentUrlTree())}resetState(t){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(t,i){return this.canceledNavigationResolution==="computed"?{navigationId:t,\u0275routerPageId:i}:{navigationId:t}}};e.\u0275fac=(()=>{let t;return function(n){return(t||(t=xt(e)))(n||e)}})(),e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})(),Io=function(r){return r[r.COMPLETE=0]="COMPLETE",r[r.FAILED=1]="FAILED",r[r.REDIRECTING=2]="REDIRECTING",r}(Io||{});function m_(r,e){r.events.pipe(Oe(o=>o instanceof ui||o instanceof hi||o instanceof Fo||o instanceof nn),G(o=>o instanceof ui||o instanceof nn?Io.COMPLETE:(o instanceof hi?o.code===Et.Redirect||o.code===Et.SupersededByNewNavigation:!1)?Io.REDIRECTING:Io.FAILED),Oe(o=>o!==Io.REDIRECTING),ht(1)).subscribe(()=>{e()})}function h_(r){throw r}var u_={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},p_={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},ys=(()=>{let e=class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.console=T(Cr),this.stateManager=T(rh),this.options=T(Cl,{optional:!0})||{},this.pendingTasks=T(yr),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=T(s_),this.urlSerializer=T(bl),this.location=T(gn),this.urlHandlingStrategy=T(Ml),this._events=new W,this.errorHandler=this.options.errorHandler||h_,this.navigated=!1,this.routeReuseStrategy=T(l_),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=T(kl,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!T(xl,{optional:!0}),this.eventsSubscription=new Ye,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:t=>{this.console.warn(t)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let t=this.navigationTransitions.events.subscribe(i=>{try{let n=this.navigationTransitions.currentTransition,s=this.navigationTransitions.currentNavigation;if(n!==null&&s!==null){if(this.stateManager.handleRouterEvent(i,s),i instanceof hi&&i.code!==Et.Redirect&&i.code!==Et.SupersededByNewNavigation)this.navigated=!0;else if(i instanceof ui)this.navigated=!0;else if(i instanceof Ln){let a=i.navigationBehaviorOptions,l=this.urlHandlingStrategy.merge(i.url,n.currentRawUrl),m=M({info:n.extras.info,skipLocationChange:n.extras.skipLocationChange,replaceUrl:n.extras.replaceUrl||this.urlUpdateStrategy==="eager"||a_(n.source)},a);this.scheduleNavigation(l,So,null,m,{resolve:n.resolve,reject:n.reject,promise:n.promise})}}g_(i)&&this._events.next(i)}catch(n){this.navigationTransitions.transitionAbortSubject.next(n)}});this.eventsSubscription.add(t)}resetRootComponentType(t){this.routerState.root.component=t,this.navigationTransitions.rootComponentType=t}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),So,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((t,i)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(t,"popstate",i)},0)})}navigateToSyncWithBrowser(t,i,n){let s={replaceUrl:!0},a=n?.navigationId?n:null;if(n){let m=M({},n);delete m.navigationId,delete m.\u0275routerPageId,Object.keys(m).length!==0&&(s.state=m)}let l=this.parseUrl(t);this.scheduleNavigation(l,i,a,s)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(t){this.config=t.map(yl),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(t,i={}){let{relativeTo:n,queryParams:s,fragment:a,queryParamsHandling:l,preserveFragment:m}=i,p=m?this.currentUrlTree.fragment:a,v=null;switch(l){case"merge":v=M(M({},this.currentUrlTree.queryParams),s);break;case"preserve":v=this.currentUrlTree.queryParams;break;default:v=s||null}v!==null&&(v=this.removeEmptyProps(v));let y;try{let I=n?n.snapshot:this.routerState.snapshot.root;y=$m(I)}catch{(typeof t[0]!="string"||t[0][0]!=="/")&&(t=[]),y=this.currentUrlTree.root}return Um(y,t,v,p??null)}navigateByUrl(t,i={skipLocationChange:!1}){let n=Ro(t)?t:this.parseUrl(t),s=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(s,So,null,i)}navigate(t,i={skipLocationChange:!1}){return f_(t),this.navigateByUrl(this.createUrlTree(t,i),i)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){try{return this.urlSerializer.parse(t)}catch{return this.urlSerializer.parse("/")}}isActive(t,i){let n;if(i===!0?n=M({},u_):i===!1?n=M({},p_):n=i,Ro(t))return Im(this.currentUrlTree,t,n);let s=this.parseUrl(t);return Im(this.currentUrlTree,s,n)}removeEmptyProps(t){return Object.entries(t).reduce((i,[n,s])=>(s!=null&&(i[n]=s),i),{})}scheduleNavigation(t,i,n,s,a){if(this.disposed)return Promise.resolve(!1);let l,m,p;a?(l=a.resolve,m=a.reject,p=a.promise):p=new Promise((y,I)=>{l=y,m=I});let v=this.pendingTasks.add();return m_(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(v))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:t,extras:s,resolve:l,reject:m,promise:p,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),p.catch(y=>Promise.reject(y))}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})();function f_(r){for(let e=0;e{let e=class e{constructor(t,i,n,s,a,l){this.router=t,this.route=i,this.tabIndexAttribute=n,this.renderer=s,this.el=a,this.locationStrategy=l,this.href=null,this.commands=null,this.onChanges=new W,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;let m=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement=m==="a"||m==="area",this.isAnchorElement?this.subscription=t.events.subscribe(p=>{p instanceof ui&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(t){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",t)}ngOnChanges(t){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(t){t!=null?(this.commands=Array.isArray(t)?t:[t],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(t,i,n,s,a){let l=this.urlTree;if(l===null||this.isAnchorElement&&(t!==0||i||n||s||a||typeof this.target=="string"&&this.target!="_self"))return!0;let m={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(l,m),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let t=this.urlTree;this.href=t!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(t)):null;let i=this.href===null?null:Ac(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",i)}applyAttributeValue(t,i){let n=this.renderer,s=this.el.nativeElement;i!==null?n.setAttribute(s,t,i):n.removeAttribute(s,t)}get urlTree(){return this.commands===null?null:this.router.createUrlTree(this.commands,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}};e.\u0275fac=function(i){return new(i||e)(x(ys),x(on),oi("tabindex"),x(Wt),x(U),x(Js))},e.\u0275dir=Y({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(i,n){i&1&&g("click",function(a){return n.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),i&2&&be("target",n.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",ie],skipLocationChange:[2,"skipLocationChange","skipLocationChange",ie],replaceUrl:[2,"replaceUrl","replaceUrl",ie],routerLink:"routerLink"},standalone:!0,features:[He,Le]});let r=e;return r})(),sh=(()=>{let e=class e{get isActive(){return this._isActive}constructor(t,i,n,s,a){this.router=t,this.element=i,this.renderer=n,this.cdr=s,this.link=a,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new Z,this.routerEventsSubscription=t.events.subscribe(l=>{l instanceof ui&&this.update()})}ngAfterContentInit(){$(this.links.changes,$(null)).pipe(Ls()).subscribe(t=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let t=[...this.links.toArray(),this.link].filter(i=>!!i).map(i=>i.onChanges);this.linkInputChangesSubscription=dt(t).pipe(Ls()).subscribe(i=>{this._isActive!==this.isLinkActive(this.router)(i)&&this.update()})}set routerLinkActive(t){let i=Array.isArray(t)?t:t.split(" ");this.classes=i.filter(n=>!!n)}ngOnChanges(t){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let t=this.hasActiveLinks();this.classes.forEach(i=>{t?this.renderer.addClass(this.element.nativeElement,i):this.renderer.removeClass(this.element.nativeElement,i)}),t&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==t&&(this._isActive=t,this.cdr.markForCheck(),this.isActiveChange.emit(t))})}isLinkActive(t){let i=b_(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return n=>{let s=n.urlTree;return s?t.isActive(s,i):!1}}hasActiveLinks(){let t=this.isLinkActive(this.router);return this.link&&t(this.link)||this.links.some(t)}};e.\u0275fac=function(i){return new(i||e)(x(ys),x(U),x(Wt),x(Ge),x(_s,8))},e.\u0275dir=Y({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(i,n,s){if(i&1&&Ne(s,_s,5),i&2){let a;ee(a=te())&&(n.links=a)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[Le]});let r=e;return r})();function b_(r){return!!r.paths}var __=new P("");function ah(r,...e){return Ni([{provide:kl,multi:!0,useValue:r},[],{provide:on,useFactory:v_,deps:[ys]},{provide:Qs,multi:!0,useFactory:x_},e.map(o=>o.\u0275providers)])}function v_(r){return r.routerState.root}function x_(){let r=T(wt);return e=>{let o=r.get(Wi);if(e!==o.components[0])return;let t=r.get(ys),i=r.get(y_);r.get(w_)===1&&t.initialNavigation(),r.get(C_,null,Ws.Optional)?.setUpPreloading(),r.get(__,null,Ws.Optional)?.init(),t.resetRootComponentType(o.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var y_=new P("",{factory:()=>new W}),w_=new P("",{providedIn:"root",factory:()=>1});var C_=new P("");var k_=()=>({exact:!0}),lh=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=R({type:e,selectors:[["app-root"]],standalone:!0,features:[A],decls:40,vars:2,consts:[["routerLink","","routerLinkActive","active","mat-list-item","",3,"routerLinkActiveOptions"],["routerLink","/api","routerLinkActive","active","mat-list-item",""],["routerLink","/compact","routerLinkActive","active","mat-list-item",""],["routerLink","/displayGrid","routerLinkActive","active","mat-list-item",""],["routerLink","/drag","routerLinkActive","active","mat-list-item",""],["mat-list-item","","routerLink","/dynamicWidgets","routerLinkActive","active"],["routerLink","/emptyCell","routerLinkActive","active","mat-list-item",""],["routerLink","/gridEvents","routerLinkActive","active","mat-list-item",""],["routerLink","/gridMargins","routerLinkActive","active","mat-list-item",""],["routerLink","/gridSizes","routerLinkActive","active","mat-list-item",""],["routerLink","/gridTypes","routerLinkActive","active","mat-list-item",""],["routerLink","/items","routerLinkActive","active","mat-list-item",""],["routerLink","/trackBy","routerLinkActive","active","mat-list-item",""],["routerLink","/push","routerLinkActive","active","mat-list-item",""],["routerLink","/resize","routerLinkActive","active","mat-list-item",""],["routerLink","/swap","routerLinkActive","active","mat-list-item",""],["routerLink","/multiLayer","routerLinkActive","active","mat-list-item",""],["routerLink","/misc","routerLinkActive","active","mat-list-item",""],["routerLink","/rtl","routerLinkActive","active","mat-list-item",""]],template:function(i,n){i&1&&(c(0,"mat-nav-list")(1,"a",0),h(2," Home"),d(),c(3,"a",1),h(4," API"),d(),c(5,"a",2),h(6," Compact"),d(),c(7,"a",3),h(8," Display Grid"),d(),c(9,"a",4),h(10," Drag"),d(),c(11,"a",5),h(12," Dynamic Widgets"),d(),c(13,"a",6),h(14," Empty Cell"),d(),c(15,"a",7),h(16," Grid Events"),d(),c(17,"a",8),h(18," Grid Margins"),d(),c(19,"a",9),h(20," Grid Sizes"),d(),c(21,"a",10),h(22," Grid Types"),d(),c(23,"a",11),h(24," Items"),d(),c(25,"a",12),h(26," Track By"),d(),c(27,"a",13),h(28," Push"),d(),c(29,"a",14),h(30," Resize"),d(),c(31,"a",15),h(32," Swap"),d(),c(33,"a",16),h(34," Multi Layer"),d(),c(35,"a",17),h(36," Misc"),d(),c(37,"a",18),h(38," RTL"),d()(),O(39,"router-outlet")),i&2&&(u(),S("routerLinkActiveOptions",zc(1,k_)))},dependencies:[_s,sh,vl,Mm,km,Cm],styles:[`app-root{width:100%;height:100%;display:flex;flex-direction:row;overflow-x:hidden}mat-nav-list{min-width:200px;width:20%;border-right:1px solid grey;overflow:auto}mat-nav-list .active{background:#afddff}router-outlet+*{width:100%;overflow:auto}gridster-item div.button-holder{width:100%;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center}.options{padding:10px;display:grid}.options-header{padding:10px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;flex-wrap:wrap}.source-code-button{justify-self:end}[draggable]{-webkit-user-select:none;user-select:none;cursor:pointer}app-parent-dynamic,app-widget-a,app-widget-b,app-widget-c{display:flex;height:100%;width:100%;color:#fff;font-weight:700;font-size:24px;align-items:center;justify-content:center}code{background:#d3d3d3}app-widget-a{background:red}app-widget-b{background:#00f}app-widget-c{background:#7cfc00} -`],encapsulation:2,changeDetection:0});let r=e;return r})();var M_="@",I_=(()=>{let e=class e{constructor(t,i,n,s,a){this.doc=t,this.delegate=i,this.zone=n,this.animationType=s,this.moduleImpl=a,this._rendererFactoryPromise=null,this.scheduler=T(Oc,{optional:!0})}ngOnDestroy(){this._engine?.flush()}loadImpl(){return(this.moduleImpl??import("./chunk-UBXIFTQO.js").then(i=>i)).catch(i=>{throw new De(5300,!1)}).then(({\u0275createEngine:i,\u0275AnimationRendererFactory:n})=>{this._engine=i(this.animationType,this.doc);let s=new n(this.delegate,this._engine,this.zone);return this.delegate=s,s})}createRenderer(t,i){let n=this.delegate.createRenderer(t,i);if(n.\u0275type===0)return n;typeof n.throwOnSyntheticProps=="boolean"&&(n.throwOnSyntheticProps=!1);let s=new Il(n);return i?.data?.animation&&!this._rendererFactoryPromise&&(this._rendererFactoryPromise=this.loadImpl()),this._rendererFactoryPromise?.then(a=>{let l=a.createRenderer(t,i);s.use(l),this.scheduler?.notify(9)}).catch(a=>{s.use(n)}),s}begin(){this.delegate.begin?.()}end(){this.delegate.end?.()}whenRenderingDone(){return this.delegate.whenRenderingDone?.()??Promise.resolve()}};e.\u0275fac=function(i){un()},e.\u0275prov=V({token:e,factory:e.\u0275fac});let r=e;return r})(),Il=class{constructor(e){this.delegate=e,this.replay=[],this.\u0275type=1}use(e){if(this.delegate=e,this.replay!==null){for(let o of this.replay)o(e);this.replay=null}}get data(){return this.delegate.data}destroy(){this.replay=null,this.delegate.destroy()}createElement(e,o){return this.delegate.createElement(e,o)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}get destroyNode(){return this.delegate.destroyNode}appendChild(e,o){this.delegate.appendChild(e,o)}insertBefore(e,o,t,i){this.delegate.insertBefore(e,o,t,i)}removeChild(e,o,t){this.delegate.removeChild(e,o,t)}selectRootElement(e,o){return this.delegate.selectRootElement(e,o)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,o,t,i){this.delegate.setAttribute(e,o,t,i)}removeAttribute(e,o,t){this.delegate.removeAttribute(e,o,t)}addClass(e,o){this.delegate.addClass(e,o)}removeClass(e,o){this.delegate.removeClass(e,o)}setStyle(e,o,t,i){this.delegate.setStyle(e,o,t,i)}removeStyle(e,o,t){this.delegate.removeStyle(e,o,t)}setProperty(e,o,t){this.shouldReplay(o)&&this.replay.push(i=>i.setProperty(e,o,t)),this.delegate.setProperty(e,o,t)}setValue(e,o){this.delegate.setValue(e,o)}listen(e,o,t){return this.shouldReplay(o)&&this.replay.push(i=>i.listen(e,o,t)),this.delegate.listen(e,o,t)}shouldReplay(e){return this.replay!==null&&e.startsWith(M_)}};function El(r="animations"){return Us("NgAsyncAnimations"),Ni([{provide:vr,useFactory:(e,o,t)=>new I_(e,o,t,r),deps:[ne,Or,B]},{provide:Je,useValue:r==="noop"?"NoopAnimations":"BrowserAnimations"}])}function Dl(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var sn=Dl();function ph(r){sn=r}var fh=/[&<>"']/,E_=new RegExp(fh.source,"g"),gh=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,S_=new RegExp(gh.source,"g"),T_={"&":"&","<":"<",">":">",'"':""","'":"'"},ch=r=>T_[r];function St(r,e){if(e){if(fh.test(r))return r.replace(E_,ch)}else if(gh.test(r))return r.replace(S_,ch);return r}var D_=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function R_(r){return r.replace(D_,(e,o)=>(o=o.toLowerCase(),o==="colon"?":":o.charAt(0)==="#"?o.charAt(1)==="x"?String.fromCharCode(parseInt(o.substring(2),16)):String.fromCharCode(+o.substring(1)):""))}var A_=/(^|[^\[])\^/g;function Ae(r,e){let o=typeof r=="string"?r:r.source;e=e||"";let t={replace:(i,n)=>{let s=typeof n=="string"?n:n.source;return s=s.replace(A_,"$1"),o=o.replace(i,s),t},getRegex:()=>new RegExp(o,e)};return t}function dh(r){try{r=encodeURI(r).replace(/%25/g,"%")}catch{return null}return r}var Uo={exec:()=>null};function mh(r,e){let o=r.replace(/\|/g,(n,s,a)=>{let l=!1,m=s;for(;--m>=0&&a[m]==="\\";)l=!l;return l?"|":" |"}),t=o.split(/ \|/),i=0;if(t[0].trim()||t.shift(),t.length>0&&!t[t.length-1].trim()&&t.pop(),e)if(t.length>e)t.splice(e);else for(;t.length{let n=i.match(/^\s+/);if(n===null)return i;let[s]=n;return s.length>=t.length?i.slice(t.length):i}).join(` -`)}var jn=class{options;rules;lexer;constructor(e){this.options=e||sn}space(e){let o=this.rules.block.newline.exec(e);if(o&&o[0].length>0)return{type:"space",raw:o[0]}}code(e){let o=this.rules.block.code.exec(e);if(o){let t=o[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:o[0],codeBlockStyle:"indented",text:this.options.pedantic?t:ws(t,` -`)}}}fences(e){let o=this.rules.block.fences.exec(e);if(o){let t=o[0],i=F_(t,o[3]||"");return{type:"code",raw:t,lang:o[2]?o[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):o[2],text:i}}}heading(e){let o=this.rules.block.heading.exec(e);if(o){let t=o[2].trim();if(/#$/.test(t)){let i=ws(t,"#");(this.options.pedantic||!i||/ $/.test(i))&&(t=i.trim())}return{type:"heading",raw:o[0],depth:o[1].length,text:t,tokens:this.lexer.inline(t)}}}hr(e){let o=this.rules.block.hr.exec(e);if(o)return{type:"hr",raw:o[0]}}blockquote(e){let o=this.rules.block.blockquote.exec(e);if(o){let t=o[0].replace(/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,` - $1`);t=ws(t.replace(/^ *>[ \t]?/gm,""),` -`);let i=this.lexer.state.top;this.lexer.state.top=!0;let n=this.lexer.blockTokens(t);return this.lexer.state.top=i,{type:"blockquote",raw:o[0],tokens:n,text:t}}}list(e){let o=this.rules.block.list.exec(e);if(o){let t=o[1].trim(),i=t.length>1,n={type:"list",raw:"",ordered:i,start:i?+t.slice(0,-1):"",loose:!1,items:[]};t=i?`\\d{1,9}\\${t.slice(-1)}`:`\\${t}`,this.options.pedantic&&(t=i?t:"[*+-]");let s=new RegExp(`^( {0,3}${t})((?:[ ][^\\n]*)?(?:\\n|$))`),a="",l="",m=!1;for(;e;){let p=!1;if(!(o=s.exec(e))||this.rules.block.hr.test(e))break;a=o[0],e=e.substring(a.length);let v=o[2].split(` -`,1)[0].replace(/^\t+/,H=>" ".repeat(3*H.length)),y=e.split(` -`,1)[0],I=0;this.options.pedantic?(I=2,l=v.trimStart()):(I=o[2].search(/[^ ]/),I=I>4?1:I,l=v.slice(I),I+=o[1].length);let D=!1;if(!v&&/^ *$/.test(y)&&(a+=y+` -`,e=e.substring(y.length+1),p=!0),!p){let H=new RegExp(`^ {0,${Math.min(3,I-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),Pe=new RegExp(`^ {0,${Math.min(3,I-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),ct=new RegExp(`^ {0,${Math.min(3,I-1)}}(?:\`\`\`|~~~)`),Ke=new RegExp(`^ {0,${Math.min(3,I-1)}}#`);for(;e;){let ii=e.split(` -`,1)[0];if(y=ii,this.options.pedantic&&(y=y.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),ct.test(y)||Ke.test(y)||H.test(y)||Pe.test(e))break;if(y.search(/[^ ]/)>=I||!y.trim())l+=` -`+y.slice(I);else{if(D||v.search(/[^ ]/)>=4||ct.test(v)||Ke.test(v)||Pe.test(v))break;l+=` -`+y}!D&&!y.trim()&&(D=!0),a+=ii+` -`,e=e.substring(ii.length+1),v=y.slice(I)}}n.loose||(m?n.loose=!0:/\n *\n *$/.test(a)&&(m=!0));let F=null,j;this.options.gfm&&(F=/^\[[ xX]\] /.exec(l),F&&(j=F[0]!=="[ ] ",l=l.replace(/^\[[ xX]\] +/,""))),n.items.push({type:"list_item",raw:a,task:!!F,checked:j,loose:!1,text:l,tokens:[]}),n.raw+=a}n.items[n.items.length-1].raw=a.trimEnd(),n.items[n.items.length-1].text=l.trimEnd(),n.raw=n.raw.trimEnd();for(let p=0;pI.type==="space"),y=v.length>0&&v.some(I=>/\n.*\n/.test(I.raw));n.loose=y}if(n.loose)for(let p=0;p$/,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",n=o[3]?o[3].substring(1,o[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):o[3];return{type:"def",tag:t,raw:o[0],href:i,title:n}}}table(e){let o=this.rules.block.table.exec(e);if(!o||!/[:|]/.test(o[2]))return;let t=mh(o[1]),i=o[2].replace(/^\||\| *$/g,"").split("|"),n=o[3]&&o[3].trim()?o[3].replace(/\n[ \t]*$/,"").split(` -`):[],s={type:"table",raw:o[0],header:[],align:[],rows:[]};if(t.length===i.length){for(let a of i)/^ *-+: *$/.test(a)?s.align.push("right"):/^ *:-+: *$/.test(a)?s.align.push("center"):/^ *:-+ *$/.test(a)?s.align.push("left"):s.align.push(null);for(let a of t)s.header.push({text:a,tokens:this.lexer.inline(a)});for(let a of n)s.rows.push(mh(a,s.header.length).map(l=>({text:l,tokens:this.lexer.inline(l)})));return s}}lheading(e){let o=this.rules.block.lheading.exec(e);if(o)return{type:"heading",raw:o[0],depth:o[2].charAt(0)==="="?1:2,text:o[1],tokens:this.lexer.inline(o[1])}}paragraph(e){let o=this.rules.block.paragraph.exec(e);if(o){let t=o[1].charAt(o[1].length-1)===` -`?o[1].slice(0,-1):o[1];return{type:"paragraph",raw:o[0],text:t,tokens:this.lexer.inline(t)}}}text(e){let o=this.rules.block.text.exec(e);if(o)return{type:"text",raw:o[0],text:o[0],tokens:this.lexer.inline(o[0])}}escape(e){let o=this.rules.inline.escape.exec(e);if(o)return{type:"escape",raw:o[0],text:St(o[1])}}tag(e){let o=this.rules.inline.tag.exec(e);if(o)return!this.lexer.state.inLink&&/^/i.test(o[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(o[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(o[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:o[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:o[0]}}link(e){let o=this.rules.inline.link.exec(e);if(o){let t=o[2].trim();if(!this.options.pedantic&&/^$/.test(t))return;let s=ws(t.slice(0,-1),"\\");if((t.length-s.length)%2===0)return}else{let s=O_(o[2],"()");if(s>-1){let l=(o[0].indexOf("!")===0?5:4)+o[1].length+s;o[2]=o[2].substring(0,s),o[0]=o[0].substring(0,l).trim(),o[3]=""}}let i=o[2],n="";if(this.options.pedantic){let s=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(i);s&&(i=s[1],n=s[3])}else n=o[3]?o[3].slice(1,-1):"";return i=i.trim(),/^$/.test(t)?i=i.slice(1):i=i.slice(1,-1)),hh(o,{href:i&&i.replace(this.rules.inline.anyPunctuation,"$1"),title:n&&n.replace(this.rules.inline.anyPunctuation,"$1")},o[0],this.lexer)}}reflink(e,o){let t;if((t=this.rules.inline.reflink.exec(e))||(t=this.rules.inline.nolink.exec(e))){let i=(t[2]||t[1]).replace(/\s+/g," "),n=o[i.toLowerCase()];if(!n){let s=t[0].charAt(0);return{type:"text",raw:s,text:s}}return hh(t,n,t[0],this.lexer)}}emStrong(e,o,t=""){let i=this.rules.inline.emStrongLDelim.exec(e);if(!i||i[3]&&t.match(/[\p{L}\p{N}]/u))return;if(!(i[1]||i[2]||"")||!t||this.rules.inline.punctuation.exec(t)){let s=[...i[0]].length-1,a,l,m=s,p=0,v=i[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(v.lastIndex=0,o=o.slice(-1*e.length+s);(i=v.exec(o))!=null;){if(a=i[1]||i[2]||i[3]||i[4]||i[5]||i[6],!a)continue;if(l=[...a].length,i[3]||i[4]){m+=l;continue}else if((i[5]||i[6])&&s%3&&!((s+l)%3)){p+=l;continue}if(m-=l,m>0)continue;l=Math.min(l,l+m+p);let y=[...i[0]][0].length,I=e.slice(0,s+i.index+y+l);if(Math.min(s,l)%2){let F=I.slice(1,-1);return{type:"em",raw:I,text:F,tokens:this.lexer.inlineTokens(F)}}let D=I.slice(2,-2);return{type:"strong",raw:I,text:D,tokens:this.lexer.inlineTokens(D)}}}}codespan(e){let o=this.rules.inline.code.exec(e);if(o){let t=o[2].replace(/\n/g," "),i=/[^ ]/.test(t),n=/^ /.test(t)&&/ $/.test(t);return i&&n&&(t=t.substring(1,t.length-1)),t=St(t,!0),{type:"codespan",raw:o[0],text:t}}}br(e){let o=this.rules.inline.br.exec(e);if(o)return{type:"br",raw:o[0]}}del(e){let o=this.rules.inline.del.exec(e);if(o)return{type:"del",raw:o[0],text:o[2],tokens:this.lexer.inlineTokens(o[2])}}autolink(e){let o=this.rules.inline.autolink.exec(e);if(o){let t,i;return o[2]==="@"?(t=St(o[1]),i="mailto:"+t):(t=St(o[1]),i=t),{type:"link",raw:o[0],text:t,href:i,tokens:[{type:"text",raw:t,text:t}]}}}url(e){let o;if(o=this.rules.inline.url.exec(e)){let t,i;if(o[2]==="@")t=St(o[0]),i="mailto:"+t;else{let n;do n=o[0],o[0]=this.rules.inline._backpedal.exec(o[0])?.[0]??"";while(n!==o[0]);t=St(o[0]),o[1]==="www."?i="http://"+o[0]:i=o[0]}return{type:"link",raw:o[0],text:t,href:i,tokens:[{type:"text",raw:t,text:t}]}}}inlineText(e){let o=this.rules.inline.text.exec(e);if(o){let t;return this.lexer.state.inRawBlock?t=o[0]:t=St(o[0]),{type:"text",raw:o[0],text:t}}}},P_=/^(?: *(?:\n|$))+/,L_=/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,z_=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,Go=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,N_=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,bh=/(?:[*+-]|\d{1,9}[.)])/,_h=Ae(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,bh).replace(/blockCode/g,/ {4}/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).getRegex(),Rl=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,V_=/^[^\n]+/,Al=/(?!\s*\])(?:\\.|[^\[\]\\])+/,j_=Ae(/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/).replace("label",Al).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),B_=Ae(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,bh).getRegex(),Ms="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",Ol=/|$))/,W_=Ae("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))","i").replace("comment",Ol).replace("tag",Ms).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),vh=Ae(Rl).replace("hr",Go).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",Ms).getRegex(),$_=Ae(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",vh).getRegex(),Fl={blockquote:$_,code:L_,def:j_,fences:z_,heading:N_,hr:Go,html:W_,lheading:_h,list:B_,newline:P_,paragraph:vh,table:Uo,text:V_},uh=Ae("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",Go).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",Ms).getRegex(),U_=le(M({},Fl),{table:uh,paragraph:Ae(Rl).replace("hr",Go).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",uh).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",Ms).getRegex()}),H_=le(M({},Fl),{html:Ae(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",Ol).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Uo,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:Ae(Rl).replace("hr",Go).replace("heading",` *#{1,6} *[^ -]`).replace("lheading",_h).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()}),xh=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,G_=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,yh=/^( {2,}|\\)\n(?!\s*$)/,Y_=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\]*?>/g,Z_=Ae(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,"u").replace(/punct/g,Yo).getRegex(),Q_=Ae("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])","gu").replace(/punct/g,Yo).getRegex(),K_=Ae("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])","gu").replace(/punct/g,Yo).getRegex(),J_=Ae(/\\([punct])/,"gu").replace(/punct/g,Yo).getRegex(),e0=Ae(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[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])?)+(?![-_])/).getRegex(),t0=Ae(Ol).replace("(?:-->|$)","-->").getRegex(),i0=Ae("^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^").replace("comment",t0).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),ks=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,n0=Ae(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",ks).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),wh=Ae(/^!?\[(label)\]\[(ref)\]/).replace("label",ks).replace("ref",Al).getRegex(),Ch=Ae(/^!?\[(ref)\](?:\[\])?/).replace("ref",Al).getRegex(),o0=Ae("reflink|nolink(?!\\()","g").replace("reflink",wh).replace("nolink",Ch).getRegex(),Pl={_backpedal:Uo,anyPunctuation:J_,autolink:e0,blockSkip:q_,br:yh,code:G_,del:Uo,emStrongLDelim:Z_,emStrongRDelimAst:Q_,emStrongRDelimUnd:K_,escape:xh,link:n0,nolink:Ch,punctuation:X_,reflink:wh,reflinkSearch:o0,tag:i0,text:Y_,url:Uo},r0=le(M({},Pl),{link:Ae(/^!?\[(label)\]\((.*?)\)/).replace("label",ks).getRegex(),reflink:Ae(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",ks).getRegex()}),Sl=le(M({},Pl),{escape:Ae(xh).replace("])","~|])").getRegex(),url:Ae(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\l+" ".repeat(m.length));let t,i,n,s;for(;e;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(a=>(t=a.call({lexer:this},e,o))?(e=e.substring(t.raw.length),o.push(t),!0):!1))){if(t=this.tokenizer.space(e)){e=e.substring(t.raw.length),t.raw.length===1&&o.length>0?o[o.length-1].raw+=` -`:o.push(t);continue}if(t=this.tokenizer.code(e)){e=e.substring(t.raw.length),i=o[o.length-1],i&&(i.type==="paragraph"||i.type==="text")?(i.raw+=` -`+t.raw,i.text+=` -`+t.text,this.inlineQueue[this.inlineQueue.length-1].src=i.text):o.push(t);continue}if(t=this.tokenizer.fences(e)){e=e.substring(t.raw.length),o.push(t);continue}if(t=this.tokenizer.heading(e)){e=e.substring(t.raw.length),o.push(t);continue}if(t=this.tokenizer.hr(e)){e=e.substring(t.raw.length),o.push(t);continue}if(t=this.tokenizer.blockquote(e)){e=e.substring(t.raw.length),o.push(t);continue}if(t=this.tokenizer.list(e)){e=e.substring(t.raw.length),o.push(t);continue}if(t=this.tokenizer.html(e)){e=e.substring(t.raw.length),o.push(t);continue}if(t=this.tokenizer.def(e)){e=e.substring(t.raw.length),i=o[o.length-1],i&&(i.type==="paragraph"||i.type==="text")?(i.raw+=` -`+t.raw,i.text+=` -`+t.raw,this.inlineQueue[this.inlineQueue.length-1].src=i.text):this.tokens.links[t.tag]||(this.tokens.links[t.tag]={href:t.href,title:t.title});continue}if(t=this.tokenizer.table(e)){e=e.substring(t.raw.length),o.push(t);continue}if(t=this.tokenizer.lheading(e)){e=e.substring(t.raw.length),o.push(t);continue}if(n=e,this.options.extensions&&this.options.extensions.startBlock){let a=1/0,l=e.slice(1),m;this.options.extensions.startBlock.forEach(p=>{m=p.call({lexer:this},l),typeof m=="number"&&m>=0&&(a=Math.min(a,m))}),a<1/0&&a>=0&&(n=e.substring(0,a+1))}if(this.state.top&&(t=this.tokenizer.paragraph(n))){i=o[o.length-1],s&&i.type==="paragraph"?(i.raw+=` -`+t.raw,i.text+=` -`+t.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=i.text):o.push(t),s=n.length!==e.length,e=e.substring(t.raw.length);continue}if(t=this.tokenizer.text(e)){e=e.substring(t.raw.length),i=o[o.length-1],i&&i.type==="text"?(i.raw+=` -`+t.raw,i.text+=` -`+t.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=i.text):o.push(t);continue}if(e){let a="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(a);break}else throw new Error(a)}}return this.state.top=!0,o}inline(e,o=[]){return this.inlineQueue.push({src:e,tokens:o}),o}inlineTokens(e,o=[]){let t,i,n,s=e,a,l,m;if(this.tokens.links){let p=Object.keys(this.tokens.links);if(p.length>0)for(;(a=this.tokenizer.rules.inline.reflinkSearch.exec(s))!=null;)p.includes(a[0].slice(a[0].lastIndexOf("[")+1,-1))&&(s=s.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+s.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(a=this.tokenizer.rules.inline.blockSkip.exec(s))!=null;)s=s.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+s.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(a=this.tokenizer.rules.inline.anyPunctuation.exec(s))!=null;)s=s.slice(0,a.index)+"++"+s.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;e;)if(l||(m=""),l=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(p=>(t=p.call({lexer:this},e,o))?(e=e.substring(t.raw.length),o.push(t),!0):!1))){if(t=this.tokenizer.escape(e)){e=e.substring(t.raw.length),o.push(t);continue}if(t=this.tokenizer.tag(e)){e=e.substring(t.raw.length),i=o[o.length-1],i&&t.type==="text"&&i.type==="text"?(i.raw+=t.raw,i.text+=t.text):o.push(t);continue}if(t=this.tokenizer.link(e)){e=e.substring(t.raw.length),o.push(t);continue}if(t=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(t.raw.length),i=o[o.length-1],i&&t.type==="text"&&i.type==="text"?(i.raw+=t.raw,i.text+=t.text):o.push(t);continue}if(t=this.tokenizer.emStrong(e,s,m)){e=e.substring(t.raw.length),o.push(t);continue}if(t=this.tokenizer.codespan(e)){e=e.substring(t.raw.length),o.push(t);continue}if(t=this.tokenizer.br(e)){e=e.substring(t.raw.length),o.push(t);continue}if(t=this.tokenizer.del(e)){e=e.substring(t.raw.length),o.push(t);continue}if(t=this.tokenizer.autolink(e)){e=e.substring(t.raw.length),o.push(t);continue}if(!this.state.inLink&&(t=this.tokenizer.url(e))){e=e.substring(t.raw.length),o.push(t);continue}if(n=e,this.options.extensions&&this.options.extensions.startInline){let p=1/0,v=e.slice(1),y;this.options.extensions.startInline.forEach(I=>{y=I.call({lexer:this},v),typeof y=="number"&&y>=0&&(p=Math.min(p,y))}),p<1/0&&p>=0&&(n=e.substring(0,p+1))}if(t=this.tokenizer.inlineText(n)){e=e.substring(t.raw.length),t.raw.slice(-1)!=="_"&&(m=t.raw.slice(-1)),l=!0,i=o[o.length-1],i&&i.type==="text"?(i.raw+=t.raw,i.text+=t.text):o.push(t);continue}if(e){let p="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(p);break}else throw new Error(p)}}return o}},ei=class{options;constructor(e){this.options=e||sn}code(e,o,t){let i=(o||"").match(/^\S*/)?.[0];return e=e.replace(/\n$/,"")+` -`,i?'
'+(t?e:St(e,!0))+`
-`:"
"+(t?e:St(e,!0))+`
-`}blockquote(e){return`
-${e}
-`}html(e,o){return e}heading(e,o,t){return`${e} -`}hr(){return`
-`}list(e,o,t){let i=o?"ol":"ul",n=o&&t!==1?' start="'+t+'"':"";return"<"+i+n+`> -`+e+" -`}listitem(e,o,t){return`
  • ${e}
  • -`}checkbox(e){return"'}paragraph(e){return`

    ${e}

    -`}table(e,o){return o&&(o=`${o}`),` - -`+e+` -`+o+`
    -`}tablerow(e){return` -${e} -`}tablecell(e,o){let t=o.header?"th":"td";return(o.align?`<${t} align="${o.align}">`:`<${t}>`)+e+` -`}strong(e){return`${e}`}em(e){return`${e}`}codespan(e){return`${e}`}br(){return"
    "}del(e){return`${e}`}link(e,o,t){let i=dh(e);if(i===null)return t;e=i;let n='
    ",n}image(e,o,t){let i=dh(e);if(i===null)return t;e=i;let n=`${t}0&&y.tokens[0].type==="paragraph"?(y.tokens[0].text=j+" "+y.tokens[0].text,y.tokens[0].tokens&&y.tokens[0].tokens.length>0&&y.tokens[0].tokens[0].type==="text"&&(y.tokens[0].tokens[0].text=j+" "+y.tokens[0].tokens[0].text)):y.tokens.unshift({type:"text",text:j+" "}):F+=j+" "}F+=this.parse(y.tokens,m),p+=this.renderer.listitem(F,D,!!I)}t+=this.renderer.list(p,a,l);continue}case"html":{let s=n;t+=this.renderer.html(s.text,s.block);continue}case"paragraph":{let s=n;t+=this.renderer.paragraph(this.parseInline(s.tokens));continue}case"text":{let s=n,a=s.tokens?this.parseInline(s.tokens):s.text;for(;i+1{let a=n[s].flat(1/0);t=t.concat(this.walkTokens(a,o))}):n.tokens&&(t=t.concat(this.walkTokens(n.tokens,o)))}}return t}use(...e){let o=this.defaults.extensions||{renderers:{},childTokens:{}};return e.forEach(t=>{let i=M({},t);if(i.async=this.defaults.async||i.async||!1,t.extensions&&(t.extensions.forEach(n=>{if(!n.name)throw new Error("extension name required");if("renderer"in n){let s=o.renderers[n.name];s?o.renderers[n.name]=function(...a){let l=n.renderer.apply(this,a);return l===!1&&(l=s.apply(this,a)),l}:o.renderers[n.name]=n.renderer}if("tokenizer"in n){if(!n.level||n.level!=="block"&&n.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");let s=o[n.level];s?s.unshift(n.tokenizer):o[n.level]=[n.tokenizer],n.start&&(n.level==="block"?o.startBlock?o.startBlock.push(n.start):o.startBlock=[n.start]:n.level==="inline"&&(o.startInline?o.startInline.push(n.start):o.startInline=[n.start]))}"childTokens"in n&&n.childTokens&&(o.childTokens[n.name]=n.childTokens)}),i.extensions=o),t.renderer){let n=this.defaults.renderer||new ei(this.defaults);for(let s in t.renderer){if(!(s in n))throw new Error(`renderer '${s}' does not exist`);if(s==="options")continue;let a=s,l=t.renderer[a],m=n[a];n[a]=(...p)=>{let v=l.apply(n,p);return v===!1&&(v=m.apply(n,p)),v||""}}i.renderer=n}if(t.tokenizer){let n=this.defaults.tokenizer||new jn(this.defaults);for(let s in t.tokenizer){if(!(s in n))throw new Error(`tokenizer '${s}' does not exist`);if(["options","rules","lexer"].includes(s))continue;let a=s,l=t.tokenizer[a],m=n[a];n[a]=(...p)=>{let v=l.apply(n,p);return v===!1&&(v=m.apply(n,p)),v}}i.tokenizer=n}if(t.hooks){let n=this.defaults.hooks||new Vn;for(let s in t.hooks){if(!(s in n))throw new Error(`hook '${s}' does not exist`);if(s==="options")continue;let a=s,l=t.hooks[a],m=n[a];Vn.passThroughHooks.has(s)?n[a]=p=>{if(this.defaults.async)return Promise.resolve(l.call(n,p)).then(y=>m.call(n,y));let v=l.call(n,p);return m.call(n,v)}:n[a]=(...p)=>{let v=l.apply(n,p);return v===!1&&(v=m.apply(n,p)),v}}i.hooks=n}if(t.walkTokens){let n=this.defaults.walkTokens,s=t.walkTokens;i.walkTokens=function(a){let l=[];return l.push(s.call(this,a)),n&&(l=l.concat(n.call(this,a))),l}}this.defaults=M(M({},this.defaults),i)}),this}setOptions(e){return this.defaults=M(M({},this.defaults),e),this}lexer(e,o){return pi.lex(e,o??this.defaults)}parser(e,o){return fi.parse(e,o??this.defaults)}#e(e,o){return(t,i)=>{let n=M({},i),s=M(M({},this.defaults),n);this.defaults.async===!0&&n.async===!1&&(s.silent||console.warn("marked(): The async option was set to true by an extension. The async: false option sent to parse will be ignored."),s.async=!0);let a=this.#t(!!s.silent,!!s.async);if(typeof t>"u"||t===null)return a(new Error("marked(): input parameter is undefined or null"));if(typeof t!="string")return a(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(t)+", string expected"));if(s.hooks&&(s.hooks.options=s),s.async)return Promise.resolve(s.hooks?s.hooks.preprocess(t):t).then(l=>e(l,s)).then(l=>s.hooks?s.hooks.processAllTokens(l):l).then(l=>s.walkTokens?Promise.all(this.walkTokens(l,s.walkTokens)).then(()=>l):l).then(l=>o(l,s)).then(l=>s.hooks?s.hooks.postprocess(l):l).catch(a);try{s.hooks&&(t=s.hooks.preprocess(t));let l=e(t,s);s.hooks&&(l=s.hooks.processAllTokens(l)),s.walkTokens&&this.walkTokens(l,s.walkTokens);let m=o(l,s);return s.hooks&&(m=s.hooks.postprocess(m)),m}catch(l){return a(l)}}}#t(e,o){return t=>{if(t.message+=` -Please report this to https://github.com/markedjs/marked.`,e){let i="

    An error occurred:

    "+St(t.message+"",!0)+"
    ";return o?Promise.resolve(i):i}if(o)return Promise.reject(t);throw t}}},rn=new Tl;function we(r,e){return rn.parse(r,e)}we.options=we.setOptions=function(r){return rn.setOptions(r),we.defaults=rn.defaults,ph(we.defaults),we};we.getDefaults=Dl;we.defaults=sn;we.use=function(...r){return rn.use(...r),we.defaults=rn.defaults,ph(we.defaults),we};we.walkTokens=function(r,e){return rn.walkTokens(r,e)};we.parseInline=rn.parseInline;we.Parser=fi;we.parser=fi.parse;we.Renderer=ei;we.TextRenderer=Ho;we.Lexer=pi;we.lexer=pi.lex;we.Tokenizer=jn;we.Hooks=Vn;we.parse=we;var Bk=we.options,Wk=we.setOptions,$k=we.use,Uk=we.walkTokens,Hk=we.parseInline;var Gk=fi.parse,Yk=pi.lex;var a0=["*"],l0="Copy",c0="Copied",d0=(()=>{let e=class e{constructor(){this._buttonClick$=new W,this.copied$=this._buttonClick$.pipe($e(()=>mt($(!0),pr(3e3).pipe(fr(!1)))),zi(),Xn(1)),this.copiedText$=this.copied$.pipe(vt(!1),G(t=>t?c0:l0))}onCopyToClipboardClick(){this._buttonClick$.next()}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=R({type:e,selectors:[["markdown-clipboard"]],standalone:!0,features:[A],decls:4,vars:7,consts:[[1,"markdown-clipboard-button",3,"click"]],template:function(i,n){i&1&&(c(0,"button",0),Xs(1,"async"),g("click",function(){return n.onCopyToClipboardClick()}),h(2),Xs(3,"async"),d()),i&2&&(oe("copied",qs(1,3,n.copied$)),u(2),qe(qs(3,5,n.copiedText$)))},dependencies:[Gc],encapsulation:2,changeDetection:0});let r=e;return r})(),m0=new P("CLIPBOARD_OPTIONS");var Ll=function(r){return r.CommandLine="command-line",r.LineHighlight="line-highlight",r.LineNumbers="line-numbers",r}(Ll||{}),Mh=new P("MARKED_EXTENSIONS"),zl=new P("MARKED_OPTIONS"),h0="[ngx-markdown] When using the `emoji` attribute you *have to* include Emoji-Toolkit files to `angular.json` or use imports. See README for more information",u0="[ngx-markdown] When using the `katex` attribute you *have to* include KaTeX files to `angular.json` or use imports. See README for more information",p0="[ngx-markdown] When using the `mermaid` attribute you *have to* include Mermaid files to `angular.json` or use imports. See README for more information",f0="[ngx-markdown] When using the `clipboard` attribute you *have to* include Clipboard files to `angular.json` or use imports. See README for more information",g0="[ngx-markdown] When using the `clipboard` attribute you *have to* provide the `viewContainerRef` parameter to `MarkdownService.render()` function",b0="[ngx-markdown] When using the `src` attribute you *have to* pass the `HttpClient` as a parameter of the `forRoot` method. See README for more information",Ih=new P("SECURITY_CONTEXT");var Eh=(()=>{let e=class e{get options(){return this._options}set options(t){this._options=M(M({},this.DEFAULT_MARKED_OPTIONS),t)}get renderer(){return this.options.renderer}set renderer(t){this.options.renderer=t}constructor(t,i,n,s,a,l,m){this.clipboardOptions=t,this.extensions=i,this.platform=s,this.securityContext=a,this.http=l,this.sanitizer=m,this.DEFAULT_MARKED_OPTIONS={renderer:new ei},this.DEFAULT_KATEX_OPTIONS={delimiters:[{left:"$$",right:"$$",display:!0},{left:"$",right:"$",display:!1},{left:"\\(",right:"\\)",display:!1},{left:"\\begin{equation}",right:"\\end{equation}",display:!0},{left:"\\begin{align}",right:"\\end{align}",display:!0},{left:"\\begin{alignat}",right:"\\end{alignat}",display:!0},{left:"\\begin{gather}",right:"\\end{gather}",display:!0},{left:"\\begin{CD}",right:"\\end{CD}",display:!0},{left:"\\[",right:"\\]",display:!0}]},this.DEFAULT_MERMAID_OPTIONS={startOnLoad:!1},this.DEFAULT_CLIPBOARD_OPTIONS={buttonComponent:void 0},this.DEFAULT_PARSE_OPTIONS={decodeHtml:!1,inline:!1,emoji:!1,mermaid:!1,markedOptions:void 0,disableSanitizer:!1},this.DEFAULT_RENDER_OPTIONS={clipboard:!1,clipboardOptions:void 0,katex:!1,katexOptions:void 0,mermaid:!1,mermaidOptions:void 0},this._reload$=new W,this.reload$=this._reload$.asObservable(),this.options=n}parse(t,i=this.DEFAULT_PARSE_OPTIONS){let{decodeHtml:n,inline:s,emoji:a,mermaid:l,disableSanitizer:m}=i,p=M(M({},this.options),i.markedOptions),v=p.renderer||this.renderer||new ei;this.extensions&&(this.renderer=this.extendsRendererForExtensions(v)),l&&(this.renderer=this.extendsRendererForMermaid(v));let y=this.trimIndentation(t),I=n?this.decodeHtml(y):y,D=a?this.parseEmoji(I):I,F=this.parseMarked(D,p,s);return(m?F:this.sanitizer.sanitize(this.securityContext,F))||""}render(t,i=this.DEFAULT_RENDER_OPTIONS,n){let{clipboard:s,clipboardOptions:a,katex:l,katexOptions:m,mermaid:p,mermaidOptions:v}=i;l&&this.renderKatex(t,M(M({},this.DEFAULT_KATEX_OPTIONS),m)),p&&this.renderMermaid(t,M(M({},this.DEFAULT_MERMAID_OPTIONS),v)),s&&this.renderClipboard(t,n,M(M(M({},this.DEFAULT_CLIPBOARD_OPTIONS),this.clipboardOptions),a)),this.highlight(t)}reload(){this._reload$.next()}getSource(t){if(!this.http)throw new Error(b0);return this.http.get(t,{responseType:"text"}).pipe(G(i=>this.handleExtension(t,i)))}highlight(t){if(!ri(this.platform)||typeof Prism>"u"||typeof Prism.highlightAllUnder>"u")return;t||(t=document);let i=t.querySelectorAll('pre code:not([class*="language-"])');Array.prototype.forEach.call(i,n=>n.classList.add("language-none")),Prism.highlightAllUnder(t)}decodeHtml(t){if(!ri(this.platform))return t;let i=document.createElement("textarea");return i.innerHTML=t,i.value}extendsRendererForExtensions(t){let i=t;return i.\u0275NgxMarkdownRendererExtendedForExtensions===!0||(this.extensions?.length>0&&we.use(...this.extensions),i.\u0275NgxMarkdownRendererExtendedForExtensions=!0),t}extendsRendererForMermaid(t){let i=t;if(i.\u0275NgxMarkdownRendererExtendedForMermaid===!0)return t;let n=t.code;return t.code=function(s,a,l){return a==="mermaid"?`
    ${s}
    `:n.call(this,s,a,l)},i.\u0275NgxMarkdownRendererExtendedForMermaid=!0,t}handleExtension(t,i){let n=t.lastIndexOf("://"),s=n>-1?t.substring(n+4):t,a=s.lastIndexOf("/"),l=a>-1?s.substring(a+1).split("?")[0]:"",m=l.lastIndexOf("."),p=m>-1?l.substring(m+1):"";return p&&p!=="md"?"```"+p+` -`+i+"\n```":i}parseMarked(t,i,n=!1){if(i.renderer){let s=M({},i.renderer);delete s.\u0275NgxMarkdownRendererExtendedForExtensions,delete s.\u0275NgxMarkdownRendererExtendedForMermaid,delete i.renderer,we.use({renderer:s})}return n?we.parseInline(t,i):we.parse(t,i)}parseEmoji(t){if(!ri(this.platform))return t;if(typeof joypixels>"u"||typeof joypixels.shortnameToUnicode>"u")throw new Error(h0);return joypixels.shortnameToUnicode(t)}renderKatex(t,i){if(ri(this.platform)){if(typeof katex>"u"||typeof renderMathInElement>"u")throw new Error(u0);renderMathInElement(t,i)}}renderClipboard(t,i,n){if(!ri(this.platform))return;if(typeof ClipboardJS>"u")throw new Error(f0);if(!i)throw new Error(g0);let{buttonComponent:s,buttonTemplate:a}=n,l=t.querySelectorAll("pre");for(let m=0;my.classList.add("hover"),v.onmouseleave=()=>y.classList.remove("hover");let I;if(s){let F=i.createComponent(s);I=F.hostView,F.changeDetectorRef.markForCheck()}else if(a)I=i.createEmbeddedView(a);else{let F=i.createComponent(d0);I=F.hostView,F.changeDetectorRef.markForCheck()}let D;I.rootNodes.forEach(F=>{y.appendChild(F),D=new ClipboardJS(F,{text:()=>p.innerText})}),I.onDestroy(()=>D.destroy())}}renderMermaid(t,i=this.DEFAULT_MERMAID_OPTIONS){if(!ri(this.platform))return;if(typeof mermaid>"u"||typeof mermaid.initialize>"u")throw new Error(p0);let n=t.querySelectorAll(".mermaid");n.length!==0&&(mermaid.initialize(i),mermaid.run({nodes:n}))}trimIndentation(t){if(!t)return"";let i;return t.split(` -`).map(n=>{let s=i;return n.length>0&&(s=isNaN(s)?n.search(/\S|$/):Math.min(n.search(/\S|$/),s)),isNaN(i)&&(i=s),s?n.substring(s):n}).join(` -`)}};e.\u0275fac=function(i){return new(i||e)(E(m0,8),E(Mh,8),E(zl,8),E(Bt),E(Ih),E(Hi,8),E(so))},e.\u0275prov=V({token:e,factory:e.\u0275fac});let r=e;return r})(),ve=(()=>{let e=class e{get disableSanitizer(){return this._disableSanitizer}set disableSanitizer(t){this._disableSanitizer=this.coerceBooleanProperty(t)}get inline(){return this._inline}set inline(t){this._inline=this.coerceBooleanProperty(t)}get clipboard(){return this._clipboard}set clipboard(t){this._clipboard=this.coerceBooleanProperty(t)}get emoji(){return this._emoji}set emoji(t){this._emoji=this.coerceBooleanProperty(t)}get katex(){return this._katex}set katex(t){this._katex=this.coerceBooleanProperty(t)}get mermaid(){return this._mermaid}set mermaid(t){this._mermaid=this.coerceBooleanProperty(t)}get lineHighlight(){return this._lineHighlight}set lineHighlight(t){this._lineHighlight=this.coerceBooleanProperty(t)}get lineNumbers(){return this._lineNumbers}set lineNumbers(t){this._lineNumbers=this.coerceBooleanProperty(t)}get commandLine(){return this._commandLine}set commandLine(t){this._commandLine=this.coerceBooleanProperty(t)}constructor(t,i,n){this.element=t,this.markdownService=i,this.viewContainerRef=n,this.error=new Z,this.load=new Z,this.ready=new Z,this._clipboard=!1,this._commandLine=!1,this._disableSanitizer=!1,this._emoji=!1,this._inline=!1,this._katex=!1,this._lineHighlight=!1,this._lineNumbers=!1,this._mermaid=!1,this.destroyed$=new W}ngOnChanges(){this.loadContent()}loadContent(){if(this.data!=null){this.handleData();return}if(this.src!=null){this.handleSrc();return}}ngAfterViewInit(){!this.data&&!this.src&&this.handleTransclusion(),this.markdownService.reload$.pipe(Me(this.destroyed$)).subscribe(()=>this.loadContent())}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}render(t,i=!1){return dn(this,null,function*(){let n={decodeHtml:i,inline:this.inline,emoji:this.emoji,mermaid:this.mermaid,disableSanitizer:this.disableSanitizer},s={clipboard:this.clipboard,clipboardOptions:{buttonComponent:this.clipboardButtonComponent,buttonTemplate:this.clipboardButtonTemplate},katex:this.katex,katexOptions:this.katexOptions,mermaid:this.mermaid,mermaidOptions:this.mermaidOptions},a=yield this.markdownService.parse(t,n);this.element.nativeElement.innerHTML=a,this.handlePlugins(),this.markdownService.render(this.element.nativeElement,s,this.viewContainerRef),this.ready.emit()})}coerceBooleanProperty(t){return t!=null&&`${String(t)}`!="false"}handleData(){this.render(this.data)}handleSrc(){this.markdownService.getSource(this.src).subscribe({next:t=>{this.render(t).then(()=>{this.load.emit(t)})},error:t=>this.error.emit(t)})}handleTransclusion(){this.render(this.element.nativeElement.innerHTML,!0)}handlePlugins(){this.commandLine&&(this.setPluginClass(this.element.nativeElement,Ll.CommandLine),this.setPluginOptions(this.element.nativeElement,{dataFilterOutput:this.filterOutput,dataHost:this.host,dataPrompt:this.prompt,dataOutput:this.output,dataUser:this.user})),this.lineHighlight&&this.setPluginOptions(this.element.nativeElement,{dataLine:this.line,dataLineOffset:this.lineOffset}),this.lineNumbers&&(this.setPluginClass(this.element.nativeElement,Ll.LineNumbers),this.setPluginOptions(this.element.nativeElement,{dataStart:this.start}))}setPluginClass(t,i){let n=t.querySelectorAll("pre");for(let s=0;s{let l=i[a];if(l){let m=this.toLispCase(a);n.item(s).setAttribute(m,l.toString())}})}toLispCase(t){let i=t.match(/([A-Z])/g);if(!i)return t;let n=t.toString();for(let s=0,a=i.length;s{let e=class e{static forRoot(t){return{ngModule:e,providers:[_0(t)]}}static forChild(){return{ngModule:e}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=J({type:e}),e.\u0275inj=K({imports:[Ut]});let r=e;return r})(),kh;(function(r){let e;(function(i){i.Strict="strict",i.Loose="loose",i.Antiscript="antiscript",i.Sandbox="sandbox"})(e=r.SecurityLevel||(r.SecurityLevel={}));let o;(function(i){i.Base="base",i.Forest="forest",i.Dark="dark",i.Default="default",i.Neutral="neutral"})(o=r.Theme||(r.Theme={}));let t;(function(i){i[i.Debug=1]="Debug",i[i.Info=2]="Info",i[i.Warn=3]="Warn",i[i.Error=4]="Error",i[i.Fatal=5]="Fatal"})(t=r.LogLevel||(r.LogLevel={}))})(kh||(kh={}));var Th=["mat-button",""],Nl=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],Vl=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],v0='.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px);display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{font-family:var(--mdc-text-button-label-text-font);font-size:var(--mdc-text-button-label-text-size);letter-spacing:var(--mdc-text-button-label-text-tracking);font-weight:var(--mdc-text-button-label-text-weight);text-transform:var(--mdc-text-button-label-text-transform);height:var(--mdc-text-button-container-height);border-radius:var(--mdc-text-button-container-shape);padding:0 var(--mat-text-button-horizontal-padding, 8px)}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape)}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 8px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color)}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color)}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color)}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity)}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity)}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity)}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display)}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-unelevated-button{font-family:var(--mdc-filled-button-label-text-font);font-size:var(--mdc-filled-button-label-text-size);letter-spacing:var(--mdc-filled-button-label-text-tracking);font-weight:var(--mdc-filled-button-label-text-weight);text-transform:var(--mdc-filled-button-label-text-transform);height:var(--mdc-filled-button-container-height);border-radius:var(--mdc-filled-button-container-shape);padding:0 var(--mat-filled-button-horizontal-padding, 16px)}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color)}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color)}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color)}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity)}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity)}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity)}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display)}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color);background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{font-family:var(--mdc-protected-button-label-text-font);font-size:var(--mdc-protected-button-label-text-size);letter-spacing:var(--mdc-protected-button-label-text-tracking);font-weight:var(--mdc-protected-button-label-text-weight);text-transform:var(--mdc-protected-button-label-text-transform);height:var(--mdc-protected-button-container-height);border-radius:var(--mdc-protected-button-container-shape);padding:0 var(--mat-protected-button-horizontal-padding, 16px);box-shadow:var(--mdc-protected-button-container-elevation-shadow)}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color)}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color)}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color)}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color)}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity)}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity)}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity)}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display)}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow)}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow)}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow)}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color);background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow)}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{font-family:var(--mdc-outlined-button-label-text-font);font-size:var(--mdc-outlined-button-label-text-size);letter-spacing:var(--mdc-outlined-button-label-text-tracking);font-weight:var(--mdc-outlined-button-label-text-weight);text-transform:var(--mdc-outlined-button-label-text-transform);height:var(--mdc-outlined-button-container-height);border-radius:var(--mdc-outlined-button-container-shape);padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width);padding:0 var(--mat-outlined-button-horizontal-padding, 15px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color)}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape)}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color)}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width))}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color)}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color)}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity)}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity)}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity)}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display)}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color);border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button-base{text-decoration:none}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px)*-1)}',Dh=".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}";var x0=["mat-mini-fab",""],y0='.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-fab{position:relative;display:inline-flex;position:relative;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;user-select:none;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-fab .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-fab[hidden]{display:none}.mdc-fab::-moz-focus-inner{padding:0;border:0}.mdc-fab .mdc-fab__focus-ring{position:absolute}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{border-color:CanvasText}}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{border-color:CanvasText}}.mdc-fab:active,.mdc-fab:focus{outline:none}.mdc-fab:hover{cursor:pointer}.mdc-fab>svg{width:100%}.mdc-fab--mini{width:40px;height:40px}.mdc-fab--extended{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mdc-fab--extended .mdc-fab__ripple{border-radius:24px}.mdc-fab--extended .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mdc-fab--extended .mdc-fab__icon,.mdc-fab--extended .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mdc-fab--extended .mdc-fab__label+.mdc-fab__icon,.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mdc-fab--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-fab--touch .mdc-fab__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-fab::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-fab::before{border-color:CanvasText}}.mdc-fab__label{justify-content:flex-start;text-overflow:ellipsis;white-space:nowrap;overflow-x:hidden;overflow-y:visible}.mdc-fab__icon{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mdc-fab .mdc-fab__icon{display:inline-flex;align-items:center;justify-content:center}.mdc-fab--exited{transform:scale(0);opacity:0;transition:opacity 15ms linear 150ms,transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab--exited .mdc-fab__icon{transform:scale(0);transition:transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-fab{background-color:var(--mdc-fab-container-color)}.mat-mdc-fab .mdc-fab__icon{width:var(--mdc-fab-icon-size);height:var(--mdc-fab-icon-size);font-size:var(--mdc-fab-icon-size)}.mat-mdc-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-container-shape)}.mat-mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-container-shape)}.mat-mdc-mini-fab{background-color:var(--mdc-fab-small-container-color)}.mat-mdc-mini-fab .mdc-fab__icon{width:var(--mdc-fab-small-icon-size);height:var(--mdc-fab-small-icon-size);font-size:var(--mdc-fab-small-icon-size)}.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-small-container-shape)}.mat-mdc-mini-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-small-container-shape)}.mat-mdc-extended-fab{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mdc-extended-fab-container-height);border-radius:var(--mdc-extended-fab-container-shape);font-family:var(--mdc-extended-fab-label-text-font);font-size:var(--mdc-extended-fab-label-text-size);font-weight:var(--mdc-extended-fab-label-text-weight);letter-spacing:var(--mdc-extended-fab-label-text-tracking)}.mat-mdc-extended-fab .mdc-fab__ripple{border-radius:var(--mdc-extended-fab-container-shape)}.mat-mdc-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);flex-shrink:0}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-fab .mdc-button__label,.mat-mdc-mini-fab .mdc-button__label{z-index:1}.mat-mdc-fab .mat-mdc-focus-indicator,.mat-mdc-mini-fab .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab:focus .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-fab._mat-animation-noopable,.mat-mdc-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-mini-fab:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}.mat-mdc-fab .mat-icon,.mat-mdc-fab .material-icons,.mat-mdc-mini-fab .mat-icon,.mat-mdc-mini-fab .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled,.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-fab[disabled],.mat-mdc-fab[disabled]:focus,.mat-mdc-fab.mat-mdc-button-disabled,.mat-mdc-fab.mat-mdc-button-disabled:focus,.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab[disabled]:focus,.mat-mdc-mini-fab.mat-mdc-button-disabled,.mat-mdc-mini-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-fab.mat-mdc-button-disabled-interactive,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-fab{color:var(--mat-fab-foreground-color, inherit);box-shadow:var(--mdc-fab-container-elevation-shadow)}.mat-mdc-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-touch-target-display)}.mat-mdc-fab .mat-ripple-element{background-color:var(--mat-fab-ripple-color)}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-state-layer-color)}.mat-mdc-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-disabled-state-layer-color)}.mat-mdc-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-hover-state-layer-opacity)}.mat-mdc-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-focus-state-layer-opacity)}.mat-mdc-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-pressed-state-layer-opacity)}.mat-mdc-fab:hover{box-shadow:var(--mdc-fab-hover-container-elevation-shadow)}.mat-mdc-fab:focus{box-shadow:var(--mdc-fab-focus-container-elevation-shadow)}.mat-mdc-fab:active,.mat-mdc-fab:focus:active{box-shadow:var(--mdc-fab-pressed-container-elevation-shadow)}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-disabled-state-foreground-color);background-color:var(--mat-fab-disabled-state-container-color)}.mat-mdc-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-mini-fab{color:var(--mat-fab-small-foreground-color, inherit);box-shadow:var(--mdc-fab-small-container-elevation-shadow)}.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-small-touch-target-display)}.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-fab-small-ripple-color)}.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-state-layer-color)}.mat-mdc-mini-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-disabled-state-layer-color)}.mat-mdc-mini-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-hover-state-layer-opacity)}.mat-mdc-mini-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-focus-state-layer-opacity)}.mat-mdc-mini-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-pressed-state-layer-opacity)}.mat-mdc-mini-fab:hover{box-shadow:var(--mdc-fab-small-hover-container-elevation-shadow)}.mat-mdc-mini-fab:focus{box-shadow:var(--mdc-fab-small-focus-container-elevation-shadow)}.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:var(--mdc-fab-small-pressed-container-elevation-shadow)}.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-small-disabled-state-foreground-color);background-color:var(--mat-fab-small-disabled-state-container-color)}.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-extended-fab{box-shadow:var(--mdc-extended-fab-container-elevation-shadow)}.mat-mdc-extended-fab:hover{box-shadow:var(--mdc-extended-fab-hover-container-elevation-shadow)}.mat-mdc-extended-fab:focus{box-shadow:var(--mdc-extended-fab-focus-container-elevation-shadow)}.mat-mdc-extended-fab:active,.mat-mdc-extended-fab:focus:active{box-shadow:var(--mdc-extended-fab-pressed-container-elevation-shadow)}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab[disabled]:focus,.mat-mdc-extended-fab.mat-mdc-button-disabled,.mat-mdc-extended-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-extended-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons,.mat-mdc-extended-fab>.mat-icon[dir=rtl],.mat-mdc-extended-fab>.material-icons[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-extended-fab .mdc-button__label+.material-icons[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}',w0=["mat-icon-button",""],C0=["*"];var k0=new P("MAT_BUTTON_CONFIG");var M0=[{attribute:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{attribute:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{attribute:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{attribute:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{attribute:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],Is=(()=>{let e=class e{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(t){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,t)}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=t,this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(t){this._disabled=t,this._updateRippleDisabled()}constructor(t,i,n,s){this._elementRef=t,this._platform=i,this._ngZone=n,this._animationMode=s,this._focusMonitor=T(ho),this._rippleLoader=T(Ud),this._isFab=!1,this._disableRipple=!1,this._disabled=!1;let a=T(k0,{optional:!0}),l=t.nativeElement,m=l.classList;this.disabledInteractive=a?.disabledInteractive??!1,this._rippleLoader?.configureRipple(l,{className:"mat-mdc-button-ripple"});for(let{attribute:p,mdcClasses:v}of M0)l.hasAttribute(p)&&m.add(...v)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(t="program",i){t?this._focusMonitor.focusVia(this._elementRef.nativeElement,t,i):this._elementRef.nativeElement.focus(i)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled&&this.disabledInteractive?!0:null}_getDisabledAttribute(){return this.disabledInteractive||!this.disabled?null:!0}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}};e.\u0275fac=function(i){un()},e.\u0275dir=Y({type:e,inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",ie],disabled:[2,"disabled","disabled",ie],ariaDisabled:[2,"aria-disabled","ariaDisabled",ie],disabledInteractive:[2,"disabledInteractive","disabledInteractive",ie]},features:[He]});let r=e;return r})();var I0=(()=>{let e=class e extends Is{constructor(t,i,n,s){super(t,i,n,s),this._haltDisabledEvents=a=>{this.disabled&&(a.preventDefault(),a.stopImmediatePropagation())}}ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)})}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}_getAriaDisabled(){return this.ariaDisabled==null?this.disabled:this.ariaDisabled}};e.\u0275fac=function(i){un()},e.\u0275dir=Y({type:e,inputs:{tabIndex:[2,"tabIndex","tabIndex",t=>t==null?void 0:$i(t)]},features:[He,ze]});let r=e;return r})(),Es=(()=>{let e=class e extends Is{constructor(t,i,n,s){super(t,i,n,s)}};e.\u0275fac=function(i){return new(i||e)(x(U),x(Ce),x(B),x(Je,8))},e.\u0275cmp=R({type:e,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(i,n){i&2&&(be("disabled",n._getDisabledAttribute())("aria-disabled",n._getAriaDisabled()),$t(n.color?"mat-"+n.color:""),oe("mat-mdc-button-disabled",n.disabled)("mat-mdc-button-disabled-interactive",n.disabledInteractive)("_mat-animation-noopable",n._animationMode==="NoopAnimations")("mat-unthemed",!n.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[ze,A],attrs:Th,ngContentSelectors:Vl,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,n){i&1&&(Re(Nl),O(0,"span",0),X(1),c(2,"span",1),X(3,1),d(),X(4,2),O(5,"span",2)(6,"span",3)),i&2&&oe("mdc-button__ripple",!n._isFab)("mdc-fab__ripple",n._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px);display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{font-family:var(--mdc-text-button-label-text-font);font-size:var(--mdc-text-button-label-text-size);letter-spacing:var(--mdc-text-button-label-text-tracking);font-weight:var(--mdc-text-button-label-text-weight);text-transform:var(--mdc-text-button-label-text-transform);height:var(--mdc-text-button-container-height);border-radius:var(--mdc-text-button-container-shape);padding:0 var(--mat-text-button-horizontal-padding, 8px)}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape)}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 8px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color)}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color)}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color)}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity)}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity)}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity)}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display)}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-unelevated-button{font-family:var(--mdc-filled-button-label-text-font);font-size:var(--mdc-filled-button-label-text-size);letter-spacing:var(--mdc-filled-button-label-text-tracking);font-weight:var(--mdc-filled-button-label-text-weight);text-transform:var(--mdc-filled-button-label-text-transform);height:var(--mdc-filled-button-container-height);border-radius:var(--mdc-filled-button-container-shape);padding:0 var(--mat-filled-button-horizontal-padding, 16px)}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color)}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color)}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color)}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity)}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity)}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity)}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display)}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color);background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{font-family:var(--mdc-protected-button-label-text-font);font-size:var(--mdc-protected-button-label-text-size);letter-spacing:var(--mdc-protected-button-label-text-tracking);font-weight:var(--mdc-protected-button-label-text-weight);text-transform:var(--mdc-protected-button-label-text-transform);height:var(--mdc-protected-button-container-height);border-radius:var(--mdc-protected-button-container-shape);padding:0 var(--mat-protected-button-horizontal-padding, 16px);box-shadow:var(--mdc-protected-button-container-elevation-shadow)}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color)}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color)}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color)}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color)}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity)}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity)}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity)}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display)}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow)}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow)}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow)}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color);background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow)}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{font-family:var(--mdc-outlined-button-label-text-font);font-size:var(--mdc-outlined-button-label-text-size);letter-spacing:var(--mdc-outlined-button-label-text-tracking);font-weight:var(--mdc-outlined-button-label-text-weight);text-transform:var(--mdc-outlined-button-label-text-transform);height:var(--mdc-outlined-button-container-height);border-radius:var(--mdc-outlined-button-container-shape);padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width);padding:0 var(--mat-outlined-button-horizontal-padding, 15px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color)}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape)}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color)}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width))}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color)}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color)}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity)}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity)}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity)}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display)}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color);border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button-base{text-decoration:none}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px)*-1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0});let r=e;return r})(),me=(()=>{let e=class e extends I0{constructor(t,i,n,s){super(t,i,n,s)}};e.\u0275fac=function(i){return new(i||e)(x(U),x(Ce),x(B),x(Je,8))},e.\u0275cmp=R({type:e,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostVars:15,hostBindings:function(i,n){i&2&&(be("disabled",n._getDisabledAttribute())("tabindex",n.disabled&&!n.disabledInteractive?-1:n.tabIndex)("aria-disabled",n._getDisabledAttribute()),$t(n.color?"mat-"+n.color:""),oe("mat-mdc-button-disabled",n.disabled)("mat-mdc-button-disabled-interactive",n.disabledInteractive)("_mat-animation-noopable",n._animationMode==="NoopAnimations")("mat-unthemed",!n.color)("mat-mdc-button-base",!0))},exportAs:["matButton","matAnchor"],standalone:!0,features:[ze,A],attrs:Th,ngContentSelectors:Vl,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,n){i&1&&(Re(Nl),O(0,"span",0),X(1),c(2,"span",1),X(3,1),d(),X(4,2),O(5,"span",2)(6,"span",3)),i&2&&oe("mdc-button__ripple",!n._isFab)("mdc-fab__ripple",n._isFab)},styles:[v0,Dh],encapsulation:2,changeDetection:0});let r=e;return r})(),E0=new P("mat-mdc-fab-default-options",{providedIn:"root",factory:Rh});function Rh(){return{color:"accent"}}var Sh=Rh();var xe=(()=>{let e=class e extends Is{constructor(t,i,n,s,a){super(t,i,n,s),this._options=a,this._isFab=!0,this._options=this._options||Sh,this.color=this._options.color||Sh.color}};e.\u0275fac=function(i){return new(i||e)(x(U),x(Ce),x(B),x(Je,8),x(E0,8))},e.\u0275cmp=R({type:e,selectors:[["button","mat-mini-fab",""]],hostVars:14,hostBindings:function(i,n){i&2&&(be("disabled",n._getDisabledAttribute())("aria-disabled",n._getAriaDisabled()),$t(n.color?"mat-"+n.color:""),oe("mat-mdc-button-disabled",n.disabled)("mat-mdc-button-disabled-interactive",n.disabledInteractive)("_mat-animation-noopable",n._animationMode==="NoopAnimations")("mat-unthemed",!n.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[ze,A],attrs:x0,ngContentSelectors:Vl,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,n){i&1&&(Re(Nl),O(0,"span",0),X(1),c(2,"span",1),X(3,1),d(),X(4,2),O(5,"span",2)(6,"span",3)),i&2&&oe("mdc-button__ripple",!n._isFab)("mdc-fab__ripple",n._isFab)},styles:[y0],encapsulation:2,changeDetection:0});let r=e;return r})();var Ai=(()=>{let e=class e extends Is{constructor(t,i,n,s){super(t,i,n,s),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}};e.\u0275fac=function(i){return new(i||e)(x(U),x(Ce),x(B),x(Je,8))},e.\u0275cmp=R({type:e,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(i,n){i&2&&(be("disabled",n._getDisabledAttribute())("aria-disabled",n._getAriaDisabled()),$t(n.color?"mat-"+n.color:""),oe("mat-mdc-button-disabled",n.disabled)("mat-mdc-button-disabled-interactive",n.disabledInteractive)("_mat-animation-noopable",n._animationMode==="NoopAnimations")("mat-unthemed",!n.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[ze,A],attrs:w0,ngContentSelectors:C0,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,n){i&1&&(Re(),O(0,"span",0),X(1),O(2,"span",1)(3,"span",2))},styles:['.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{color:var(--mdc-icon-button-icon-color)}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 48px);height:var(--mdc-icon-button-state-layer-size, 48px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 48px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size);-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color)}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color)}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color)}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity)}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity)}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity)}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',Dh],encapsulation:2,changeDetection:0});let r=e;return r})();var he=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=J({type:e}),e.\u0275inj=K({imports:[Ie,Qi,Ie]});let r=e;return r})();var S0=["*"],Ss;function T0(){if(Ss===void 0&&(Ss=null,typeof window<"u")){let r=window;r.trustedTypes!==void 0&&(Ss=r.trustedTypes.createPolicy("angular#components",{createHTML:e=>e}))}return Ss}function Xo(r){return T0()?.createHTML(r)||r}function Ah(r){return Error(`Unable to find icon with the name "${r}"`)}function D0(){return Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.")}function Oh(r){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${r}".`)}function Fh(r){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${r}".`)}var gi=class{constructor(e,o,t){this.url=e,this.svgText=o,this.options=t}},R0=(()=>{let e=class e{constructor(t,i,n,s){this._httpClient=t,this._sanitizer=i,this._errorHandler=s,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=n}addSvgIcon(t,i,n){return this.addSvgIconInNamespace("",t,i,n)}addSvgIconLiteral(t,i,n){return this.addSvgIconLiteralInNamespace("",t,i,n)}addSvgIconInNamespace(t,i,n,s){return this._addSvgIconConfig(t,i,new gi(n,null,s))}addSvgIconResolver(t){return this._resolvers.push(t),this}addSvgIconLiteralInNamespace(t,i,n,s){let a=this._sanitizer.sanitize(bt.HTML,n);if(!a)throw Fh(n);let l=Xo(a);return this._addSvgIconConfig(t,i,new gi("",l,s))}addSvgIconSet(t,i){return this.addSvgIconSetInNamespace("",t,i)}addSvgIconSetLiteral(t,i){return this.addSvgIconSetLiteralInNamespace("",t,i)}addSvgIconSetInNamespace(t,i,n){return this._addSvgIconSetConfig(t,new gi(i,null,n))}addSvgIconSetLiteralInNamespace(t,i,n){let s=this._sanitizer.sanitize(bt.HTML,i);if(!s)throw Fh(i);let a=Xo(s);return this._addSvgIconSetConfig(t,new gi("",a,n))}registerFontClassAlias(t,i=t){return this._fontCssClassesByAlias.set(t,i),this}classNameForFontAlias(t){return this._fontCssClassesByAlias.get(t)||t}setDefaultFontSetClass(...t){return this._defaultFontSetClass=t,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(t){let i=this._sanitizer.sanitize(bt.RESOURCE_URL,t);if(!i)throw Oh(t);let n=this._cachedIconsByUrl.get(i);return n?$(Ts(n)):this._loadSvgIconFromConfig(new gi(t,null)).pipe(Ue(s=>this._cachedIconsByUrl.set(i,s)),G(s=>Ts(s)))}getNamedSvgIcon(t,i=""){let n=Ph(i,t),s=this._svgIconConfigs.get(n);if(s)return this._getSvgFromConfig(s);if(s=this._getIconConfigFromResolvers(i,t),s)return this._svgIconConfigs.set(n,s),this._getSvgFromConfig(s);let a=this._iconSetConfigs.get(i);return a?this._getSvgFromIconSetConfigs(t,a):Pi(Ah(n))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(t){return t.svgText?$(Ts(this._svgElementFromConfig(t))):this._loadSvgIconFromConfig(t).pipe(G(i=>Ts(i)))}_getSvgFromIconSetConfigs(t,i){let n=this._extractIconWithNameFromAnySet(t,i);if(n)return $(n);let s=i.filter(a=>!a.svgText).map(a=>this._loadSvgIconSetFromConfig(a).pipe(_i(l=>{let p=`Loading icon set URL: ${this._sanitizer.sanitize(bt.RESOURCE_URL,a.url)} failed: ${l.message}`;return this._errorHandler.handleError(new Error(p)),$(null)})));return ur(s).pipe(G(()=>{let a=this._extractIconWithNameFromAnySet(t,i);if(!a)throw Ah(t);return a}))}_extractIconWithNameFromAnySet(t,i){for(let n=i.length-1;n>=0;n--){let s=i[n];if(s.svgText&&s.svgText.toString().indexOf(t)>-1){let a=this._svgElementFromConfig(s),l=this._extractSvgIconFromSet(a,t,s.options);if(l)return l}}return null}_loadSvgIconFromConfig(t){return this._fetchIcon(t).pipe(Ue(i=>t.svgText=i),G(()=>this._svgElementFromConfig(t)))}_loadSvgIconSetFromConfig(t){return t.svgText?$(null):this._fetchIcon(t).pipe(Ue(i=>t.svgText=i))}_extractSvgIconFromSet(t,i,n){let s=t.querySelector(`[id="${i}"]`);if(!s)return null;let a=s.cloneNode(!0);if(a.removeAttribute("id"),a.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(a,n);if(a.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(a),n);let l=this._svgElementFromString(Xo(""));return l.appendChild(a),this._setSvgAttributes(l,n)}_svgElementFromString(t){let i=this._document.createElement("DIV");i.innerHTML=t;let n=i.querySelector("svg");if(!n)throw Error(" tag not found");return n}_toSvgElement(t){let i=this._svgElementFromString(Xo("")),n=t.attributes;for(let s=0;sXo(p)),xi(()=>this._inProgressUrlFetches.delete(a)),_c());return this._inProgressUrlFetches.set(a,m),m}_addSvgIconConfig(t,i,n){return this._svgIconConfigs.set(Ph(t,i),n),this}_addSvgIconSetConfig(t,i){let n=this._iconSetConfigs.get(t);return n?n.push(i):this._iconSetConfigs.set(t,[i]),this}_svgElementFromConfig(t){if(!t.svgElement){let i=this._svgElementFromString(t.svgText);this._setSvgAttributes(i,t.options),t.svgElement=i}return t.svgElement}_getIconConfigFromResolvers(t,i){for(let n=0;ne?e.pathname+e.search:""}}var Lh=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],L0=Lh.map(r=>`[${r}]`).join(", "),z0=/^url\(['"]?#(.*?)['"]?\)$/,ue=(()=>{let e=class e{get color(){return this._color||this._defaultColor}set color(t){this._color=t}get svgIcon(){return this._svgIcon}set svgIcon(t){t!==this._svgIcon&&(t?this._updateSvgIcon(t):this._svgIcon&&this._clearSvgElement(),this._svgIcon=t)}get fontSet(){return this._fontSet}set fontSet(t){let i=this._cleanupFontValue(t);i!==this._fontSet&&(this._fontSet=i,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(t){let i=this._cleanupFontValue(t);i!==this._fontIcon&&(this._fontIcon=i,this._updateFontIconClasses())}constructor(t,i,n,s,a,l){this._elementRef=t,this._iconRegistry=i,this._location=s,this._errorHandler=a,this.inline=!1,this._previousFontSetClass=[],this._currentIconFetch=Ye.EMPTY,l&&(l.color&&(this.color=this._defaultColor=l.color),l.fontSet&&(this.fontSet=l.fontSet)),n||t.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(t){if(!t)return["",""];let i=t.split(":");switch(i.length){case 1:return["",i[0]];case 2:return i;default:throw Error(`Invalid icon name: "${t}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let t=this._elementsWithExternalReferences;if(t&&t.size){let 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(t){this._clearSvgElement();let i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(t),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(t)}_clearSvgElement(){let t=this._elementRef.nativeElement,i=t.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();i--;){let n=t.childNodes[i];(n.nodeType!==1||n.nodeName.toLowerCase()==="svg")&&n.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let t=this._elementRef.nativeElement,i=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(n=>n.length>0);this._previousFontSetClass.forEach(n=>t.classList.remove(n)),i.forEach(n=>t.classList.add(n)),this._previousFontSetClass=i,this.fontIcon!==this._previousFontIconClass&&!i.includes("mat-ligature-font")&&(this._previousFontIconClass&&t.classList.remove(this._previousFontIconClass),this.fontIcon&&t.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(t){return typeof t=="string"?t.trim().split(" ")[0]:t}_prependPathToReferences(t){let i=this._elementsWithExternalReferences;i&&i.forEach((n,s)=>{n.forEach(a=>{s.setAttribute(a.name,`url('${t}#${a.value}')`)})})}_cacheChildrenWithExternalReferences(t){let i=t.querySelectorAll(L0),n=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let s=0;s{let l=i[s],m=l.getAttribute(a),p=m?m.match(z0):null;if(p){let v=n.get(l);v||(v=[],n.set(l,v)),v.push({name:a,value:p[1]})}})}_updateSvgIcon(t){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),t){let[i,n]=this._splitIconName(t);i&&(this._svgNamespace=i),n&&(this._svgName=n),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(n,i).pipe(ht(1)).subscribe(s=>this._setSvgElement(s),s=>{let a=`Error retrieving icon ${i}:${n}! ${s.message}`;this._errorHandler.handleError(new Error(a))})}}};e.\u0275fac=function(i){return new(i||e)(x(U),x(R0),oi("aria-hidden"),x(F0),x(ji),x(O0,8))},e.\u0275cmp=R({type:e,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(i,n){i&2&&(be("data-mat-icon-type",n._usingFontIcon()?"font":"svg")("data-mat-icon-name",n._svgName||n.fontIcon)("data-mat-icon-namespace",n._svgNamespace||n.fontSet)("fontIcon",n._usingFontIcon()?n.fontIcon:null),$t(n.color?"mat-"+n.color:""),oe("mat-icon-inline",n.inline)("mat-icon-no-color",n.color!=="primary"&&n.color!=="accent"&&n.color!=="warn"))},inputs:{color:"color",inline:[2,"inline","inline",ie],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],standalone:!0,features:[He,A],ngContentSelectors:S0,decls:1,vars:0,template:function(i,n){i&1&&(Re(),X(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color)}.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});let r=e;return r})(),pe=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=J({type:e}),e.\u0275inj=K({imports:[Ie,Ie]});let r=e;return r})();var Vh=["*"];function N0(r,e){if(r&1&&O(0,"div",0),r&2){let o=e.$index,t=f();S("ngStyle",t.gridRenderer.getGridColumnStyle(o))}}function V0(r,e){if(r&1&&O(0,"div",1),r&2){let o=e.$index,t=f();S("ngStyle",t.gridRenderer.getGridRowStyle(o))}}function j0(r,e){if(r&1){let o=L();c(0,"div",8),g("mousedown",function(i){b(o);let n=f();return _(n.resize.dragStartDelay(i))})("touchstart",function(i){b(o);let n=f();return _(n.resize.dragStartDelay(i))}),d()}}function B0(r,e){if(r&1){let o=L();c(0,"div",9),g("mousedown",function(i){b(o);let n=f();return _(n.resize.dragStartDelay(i))})("touchstart",function(i){b(o);let n=f();return _(n.resize.dragStartDelay(i))}),d()}}function W0(r,e){if(r&1){let o=L();c(0,"div",10),g("mousedown",function(i){b(o);let n=f();return _(n.resize.dragStartDelay(i))})("touchstart",function(i){b(o);let n=f();return _(n.resize.dragStartDelay(i))}),d()}}function $0(r,e){if(r&1){let o=L();c(0,"div",11),g("mousedown",function(i){b(o);let n=f();return _(n.resize.dragStartDelay(i))})("touchstart",function(i){b(o);let n=f();return _(n.resize.dragStartDelay(i))}),d()}}function U0(r,e){if(r&1){let o=L();c(0,"div",12),g("mousedown",function(i){b(o);let n=f();return _(n.resize.dragStartDelay(i))})("touchstart",function(i){b(o);let n=f();return _(n.resize.dragStartDelay(i))}),d()}}function H0(r,e){if(r&1){let o=L();c(0,"div",13),g("mousedown",function(i){b(o);let n=f();return _(n.resize.dragStartDelay(i))})("touchstart",function(i){b(o);let n=f();return _(n.resize.dragStartDelay(i))}),d()}}function G0(r,e){if(r&1){let o=L();c(0,"div",14),g("mousedown",function(i){b(o);let n=f();return _(n.resize.dragStartDelay(i))})("touchstart",function(i){b(o);let n=f();return _(n.resize.dragStartDelay(i))}),d()}}function Y0(r,e){if(r&1){let o=L();c(0,"div",15),g("mousedown",function(i){b(o);let n=f();return _(n.resize.dragStartDelay(i))})("touchstart",function(i){b(o);let n=f();return _(n.resize.dragStartDelay(i))}),d()}}var z=function(r){return r.Fit="fit",r.ScrollVertical="scrollVertical",r.ScrollHorizontal="scrollHorizontal",r.Fixed="fixed",r.VerticalFixed="verticalFixed",r.HorizontalFixed="horizontalFixed",r}(z||{}),ye=function(r){return r.Always="always",r.OnDragAndResize="onDrag&Resize",r.None="none",r}(ye||{}),fe=function(r){return r.None="none",r.CompactUp="compactUp",r.CompactLeft="compactLeft",r.CompactUpAndLeft="compactUp&Left",r.CompactLeftAndUp="compactLeft&Up",r.CompactRight="compactRight",r.CompactUpAndRight="compactUp&Right",r.CompactRightAndUp="compactRight&Up",r.CompactDown="compactDown",r.CompactDownAndLeft="compactDown&Left",r.CompactLeftAndDown="compactLeft&Down",r.CompactDownAndRight="compactDown&Right",r.CompactRightAndDown="compactRight&Down",r}(fe||{}),ot=function(r){return r.LTR="ltr",r.RTL="rtl",r}(ot||{}),jl=class{constructor(e){this.gridster=e}destroy(){this.gridster=null}checkCompact(){this.gridster.$options.compactType!==fe.None&&(this.gridster.$options.compactType===fe.CompactUp?this.checkCompactMovement("y",-1):this.gridster.$options.compactType===fe.CompactLeft?this.checkCompactMovement("x",-1):this.gridster.$options.compactType===fe.CompactUpAndLeft?(this.checkCompactMovement("y",-1),this.checkCompactMovement("x",-1)):this.gridster.$options.compactType===fe.CompactLeftAndUp?(this.checkCompactMovement("x",-1),this.checkCompactMovement("y",-1)):this.gridster.$options.compactType===fe.CompactRight?this.checkCompactMovement("x",1):this.gridster.$options.compactType===fe.CompactUpAndRight?(this.checkCompactMovement("y",-1),this.checkCompactMovement("x",1)):this.gridster.$options.compactType===fe.CompactRightAndUp?(this.checkCompactMovement("x",1),this.checkCompactMovement("y",-1)):this.gridster.$options.compactType===fe.CompactDown?this.checkCompactMovement("y",1):this.gridster.$options.compactType===fe.CompactDownAndLeft?(this.checkCompactMovement("y",1),this.checkCompactMovement("x",-1)):this.gridster.$options.compactType===fe.CompactDownAndRight?(this.checkCompactMovement("y",1),this.checkCompactMovement("x",1)):this.gridster.$options.compactType===fe.CompactLeftAndDown?(this.checkCompactMovement("x",-1),this.checkCompactMovement("y",1)):this.gridster.$options.compactType===fe.CompactRightAndDown&&(this.checkCompactMovement("x",1),this.checkCompactMovement("y",1)))}checkCompactItem(e){this.gridster.$options.compactType!==fe.None&&(this.gridster.$options.compactType===fe.CompactUp?this.moveTillCollision(e,"y",-1):this.gridster.$options.compactType===fe.CompactLeft?this.moveTillCollision(e,"x",-1):this.gridster.$options.compactType===fe.CompactUpAndLeft?(this.moveTillCollision(e,"y",-1),this.moveTillCollision(e,"x",-1)):this.gridster.$options.compactType===fe.CompactLeftAndUp?(this.moveTillCollision(e,"x",-1),this.moveTillCollision(e,"y",-1)):this.gridster.$options.compactType===fe.CompactUpAndRight?(this.moveTillCollision(e,"y",-1),this.moveTillCollision(e,"x",1)):this.gridster.$options.compactType===fe.CompactDown?this.moveTillCollision(e,"y",1):this.gridster.$options.compactType===fe.CompactDownAndLeft?(this.moveTillCollision(e,"y",1),this.moveTillCollision(e,"x",-1)):this.gridster.$options.compactType===fe.CompactLeftAndDown?(this.moveTillCollision(e,"x",-1),this.moveTillCollision(e,"y",1)):this.gridster.$options.compactType===fe.CompactDownAndRight?(this.moveTillCollision(e,"y",1),this.moveTillCollision(e,"x",1)):this.gridster.$options.compactType===fe.CompactRightAndDown&&(this.moveTillCollision(e,"x",1),this.moveTillCollision(e,"y",1)))}checkCompactMovement(e,o){let t=!1;this.gridster.grid.forEach(i=>{i.$item.compactEnabled!==!1&&this.moveTillCollision(i.$item,e,o)&&(t=!0,i.item[e]=i.$item[e],i.itemChanged())}),t&&this.checkCompact()}moveTillCollision(e,o,t){return e[o]+=t,this.gridster.checkCollision(e)?(e[o]-=t,!1):(this.moveTillCollision(e,o,t),!0)}},X0={gridType:z.Fit,scale:1,fixedColWidth:250,fixedRowHeight:250,keepFixedHeightInMobile:!1,keepFixedWidthInMobile:!1,setGridSize:!1,compactType:fe.None,mobileBreakpoint:640,useBodyForBreakpoint:!1,allowMultiLayer:!1,defaultLayerIndex:0,maxLayerIndex:2,baseLayerIndex:1,minCols:1,maxCols:100,minRows:1,maxRows:100,defaultItemCols:1,defaultItemRows:1,maxItemCols:50,maxItemRows:50,minItemCols:1,minItemRows:1,minItemArea:1,maxItemArea:2500,addEmptyRowsCount:0,rowHeightRatio:1,margin:10,outerMargin:!0,outerMarginTop:null,outerMarginRight:null,outerMarginBottom:null,outerMarginLeft:null,useTransformPositioning:!0,scrollSensitivity:10,scrollSpeed:20,initCallback:void 0,destroyCallback:void 0,gridSizeChangedCallback:void 0,itemChangeCallback:void 0,itemResizeCallback:void 0,itemInitCallback:void 0,itemRemovedCallback:void 0,itemValidateCallback:void 0,enableEmptyCellClick:!1,enableEmptyCellContextMenu:!1,enableEmptyCellDrop:!1,enableEmptyCellDrag:!1,enableOccupiedCellDrop:!1,emptyCellClickCallback:void 0,emptyCellContextMenuCallback:void 0,emptyCellDropCallback:void 0,emptyCellDragCallback:void 0,emptyCellDragMaxCols:50,emptyCellDragMaxRows:50,ignoreMarginInRow:!1,draggable:{delayStart:0,enabled:!1,ignoreContentClass:"gridster-item-content",ignoreContent:!1,dragHandleClass:"drag-handler",stop:void 0,start:void 0,dropOverItems:!1,dropOverItemsCallback:void 0},resizable:{delayStart:0,enabled:!1,handles:{s:!0,e:!0,n:!0,w:!0,se:!0,ne:!0,sw:!0,nw:!0},stop:void 0,start:void 0},swap:!0,swapWhileDragging:!1,pushItems:!1,disablePushOnDrag:!1,disablePushOnResize:!1,pushDirections:{north:!0,east:!0,south:!0,west:!0},pushResizeItems:!1,displayGrid:ye.OnDragAndResize,disableWindowResize:!1,disableWarnings:!1,scrollToNewItems:!1,disableScrollHorizontal:!1,disableScrollVertical:!1,enableBoundaryControl:!1,disableAutoPositionOnConflict:!1,dirType:ot.LTR},ut=class r{static merge(e,o,t){for(let i in o)o[i]!==void 0&&t.hasOwnProperty(i)&&(typeof o[i]=="object"?(i in e||(e[i]={}),e[i]=r.merge(e[i],o[i],t[i])):e[i]=o[i]);return e}static checkTouchEvent(e){e.clientX===void 0&&e.touches&&(e.touches&&e.touches.length?(e.clientX=e.touches[0].clientX,e.clientY=e.touches[0].clientY):e.changedTouches&&e.changedTouches.length&&(e.clientX=e.changedTouches[0].clientX,e.clientY=e.changedTouches[0].clientY))}static checkContentClassForEvent(e,o){if(e.$options.draggable.ignoreContent){if(!r.checkDragHandleClass(o.target,o.currentTarget,e.$options.draggable.dragHandleClass,e.$options.draggable.ignoreContentClass))return!0}else if(r.checkContentClass(o.target,o.currentTarget,e.$options.draggable.ignoreContentClass))return!0;return!1}static checkContentClassForEmptyCellClickEvent(e,o){return r.checkContentClass(o.target,o.currentTarget,e.$options.draggable.ignoreContentClass)||r.checkContentClass(o.target,o.currentTarget,e.$options.draggable.dragHandleClass)}static checkDragHandleClass(e,o,t,i){if(!e||e===o)return!1;if(e.hasAttribute("class")){let n=e.getAttribute("class").split(" ");if(n.indexOf(t)>-1)return!0;if(n.indexOf(i)>-1)return!1}return r.checkDragHandleClass(e.parentNode,o,t,i)}static checkContentClass(e,o,t){return!e||e===o?!1:e.hasAttribute("class")&&e.getAttribute("class").split(" ").indexOf(t)>-1?!0:r.checkContentClass(e.parentNode,o,t)}static compareItems(e,o){return e.y>o.y?-1:e.yo.x?-1:1}},Bl=class{constructor(e){this.gridster=e,this.emptyCellClickCb=o=>{if(!this.gridster||this.gridster.movingItem||ut.checkContentClassForEmptyCellClickEvent(this.gridster,o))return;let t=this.getValidItemFromEvent(o);t&&(this.gridster.options.emptyCellClickCallback&&this.gridster.options.emptyCellClickCallback(o,t),this.gridster.cdRef.markForCheck())},this.emptyCellContextMenuCb=o=>{if(this.gridster.movingItem||ut.checkContentClassForEmptyCellClickEvent(this.gridster,o))return;o.preventDefault(),o.stopPropagation();let t=this.getValidItemFromEvent(o);t&&(this.gridster.options.emptyCellContextMenuCallback&&this.gridster.options.emptyCellContextMenuCallback(o,t),this.gridster.cdRef.markForCheck())},this.emptyCellDragDrop=o=>{let t=this.getValidItemFromEvent(o);t&&(this.gridster.options.emptyCellDropCallback&&this.gridster.options.emptyCellDropCallback(o,t),this.gridster.cdRef.markForCheck())},this.emptyCellDragOver=o=>{o.preventDefault(),o.stopPropagation();let t=this.getValidItemFromEvent(o);t?(o.dataTransfer&&(o.dataTransfer.dropEffect="move"),this.gridster.movingItem=t):(o.dataTransfer&&(o.dataTransfer.dropEffect="none"),this.gridster.movingItem=null),this.gridster.previewStyle()},this.emptyCellMouseDown=o=>{if(ut.checkContentClassForEmptyCellClickEvent(this.gridster,o))return;o.preventDefault(),o.stopPropagation();let t=this.getValidItemFromEvent(o);!t||o.buttons!==1&&!(o instanceof TouchEvent)||(this.initialItem=t,this.gridster.movingItem=t,this.gridster.previewStyle(),this.gridster.zone.runOutsideAngular(()=>{this.removeWindowMousemoveListenerFn=this.gridster.renderer.listen("window","mousemove",this.emptyCellMouseMove),this.removeWindowTouchmoveListenerFn=this.gridster.renderer.listen("window","touchmove",this.emptyCellMouseMove)}),this.removeWindowMouseupListenerFn=this.gridster.renderer.listen("window","mouseup",this.emptyCellMouseUp),this.removeWindowTouchendListenerFn=this.gridster.renderer.listen("window","touchend",this.emptyCellMouseUp))},this.emptyCellMouseMove=o=>{o.preventDefault(),o.stopPropagation();let t=this.getValidItemFromEvent(o,this.initialItem);t&&(this.gridster.movingItem=t,this.gridster.previewStyle())},this.emptyCellMouseUp=o=>{this.removeWindowMousemoveListenerFn(),this.removeWindowTouchmoveListenerFn(),this.removeWindowMouseupListenerFn(),this.removeWindowTouchendListenerFn();let t=this.getValidItemFromEvent(o,this.initialItem);t&&(this.gridster.movingItem=t),this.gridster.options.emptyCellDragCallback&&this.gridster.movingItem&&this.gridster.options.emptyCellDragCallback(o,this.gridster.movingItem),setTimeout(()=>{this.initialItem=null,this.gridster&&(this.gridster.movingItem=null,this.gridster.previewStyle())}),this.gridster.cdRef.markForCheck()}}destroy(){this.gridster.previewStyle&&this.gridster.previewStyle(),this.gridster.movingItem=null,this.initialItem=this.gridster=null,this.removeDocumentDragendListenerFn&&(this.removeDocumentDragendListenerFn(),this.removeDocumentDragendListenerFn=null)}updateOptions(){this.gridster.$options.enableEmptyCellClick&&!this.removeEmptyCellClickListenerFn&&this.gridster.options.emptyCellClickCallback?(this.removeEmptyCellClickListenerFn=this.gridster.renderer.listen(this.gridster.el,"click",this.emptyCellClickCb),this.removeEmptyCellTouchendListenerFn=this.gridster.renderer.listen(this.gridster.el,"touchend",this.emptyCellClickCb)):!this.gridster.$options.enableEmptyCellClick&&this.removeEmptyCellClickListenerFn&&this.removeEmptyCellTouchendListenerFn&&(this.removeEmptyCellClickListenerFn(),this.removeEmptyCellTouchendListenerFn(),this.removeEmptyCellClickListenerFn=null,this.removeEmptyCellTouchendListenerFn=null),this.gridster.$options.enableEmptyCellContextMenu&&!this.removeEmptyCellContextMenuListenerFn&&this.gridster.options.emptyCellContextMenuCallback?this.removeEmptyCellContextMenuListenerFn=this.gridster.renderer.listen(this.gridster.el,"contextmenu",this.emptyCellContextMenuCb):!this.gridster.$options.enableEmptyCellContextMenu&&this.removeEmptyCellContextMenuListenerFn&&(this.removeEmptyCellContextMenuListenerFn(),this.removeEmptyCellContextMenuListenerFn=null),this.gridster.$options.enableEmptyCellDrop&&!this.removeEmptyCellDropListenerFn&&this.gridster.options.emptyCellDropCallback?(this.removeEmptyCellDropListenerFn=this.gridster.renderer.listen(this.gridster.el,"drop",this.emptyCellDragDrop),this.gridster.zone.runOutsideAngular(()=>{this.removeEmptyCellDragoverListenerFn=this.gridster.renderer.listen(this.gridster.el,"dragover",this.emptyCellDragOver)}),this.removeDocumentDragendListenerFn=this.gridster.renderer.listen("document","dragend",()=>{this.gridster.movingItem=null,this.gridster.previewStyle()})):!this.gridster.$options.enableEmptyCellDrop&&this.removeEmptyCellDropListenerFn&&this.removeEmptyCellDragoverListenerFn&&this.removeDocumentDragendListenerFn&&(this.removeEmptyCellDropListenerFn(),this.removeEmptyCellDragoverListenerFn(),this.removeDocumentDragendListenerFn(),this.removeEmptyCellDragoverListenerFn=null,this.removeEmptyCellDropListenerFn=null,this.removeDocumentDragendListenerFn=null),this.gridster.$options.enableEmptyCellDrag&&!this.removeEmptyCellMousedownListenerFn&&this.gridster.options.emptyCellDragCallback?(this.removeEmptyCellMousedownListenerFn=this.gridster.renderer.listen(this.gridster.el,"mousedown",this.emptyCellMouseDown),this.removeEmptyCellTouchstartListenerFn=this.gridster.renderer.listen(this.gridster.el,"touchstart",this.emptyCellMouseDown)):!this.gridster.$options.enableEmptyCellDrag&&this.removeEmptyCellMousedownListenerFn&&this.removeEmptyCellTouchstartListenerFn&&(this.removeEmptyCellMousedownListenerFn(),this.removeEmptyCellTouchstartListenerFn(),this.removeEmptyCellMousedownListenerFn=null,this.removeEmptyCellTouchstartListenerFn=null)}getPixelsX(e,o){let t=this.gridster.options.scale;return t?(e.clientX-o.left)/t+this.gridster.el.scrollLeft-this.gridster.gridRenderer.getLeftMargin():e.clientX+this.gridster.el.scrollLeft-o.left-this.gridster.gridRenderer.getLeftMargin()}getPixelsY(e,o){let t=this.gridster.options.scale;return t?(e.clientY-o.top)/t+this.gridster.el.scrollTop-this.gridster.gridRenderer.getTopMargin():e.clientY+this.gridster.el.scrollTop-o.top-this.gridster.gridRenderer.getTopMargin()}getValidItemFromEvent(e,o){e.preventDefault(),e.stopPropagation(),ut.checkTouchEvent(e);let t=this.gridster.el.getBoundingClientRect(),i=this.getPixelsX(e,t),n=this.getPixelsY(e,t),s={x:this.gridster.pixelsToPositionX(i,Math.floor,!0),y:this.gridster.pixelsToPositionY(n,Math.floor,!0),cols:this.gridster.$options.defaultItemCols,rows:this.gridster.$options.defaultItemRows};if(o&&(s.cols=Math.min(Math.abs(o.x-s.x)+1,this.gridster.$options.emptyCellDragMaxCols),s.rows=Math.min(Math.abs(o.y-s.y)+1,this.gridster.$options.emptyCellDragMaxRows),o.xthis.gridster.$options.emptyCellDragMaxCols-1&&(s.x=this.gridster.movingItem?this.gridster.movingItem.x:0),o.ythis.gridster.$options.emptyCellDragMaxRows-1&&(s.y=this.gridster.movingItem?this.gridster.movingItem.y:0)),!(!this.gridster.$options.enableOccupiedCellDrop&&this.gridster.checkCollision(s)))return s}},Wl=class{constructor(e){this.gridster=e,this.lastGridColumnStyles={},this.lastGridRowStyles={}}destroy(){this.gridster=null}updateItem(e,o,t){if(this.gridster.mobile)this.clearCellPosition(t,e),this.gridster.$options.keepFixedHeightInMobile?t.setStyle(e,"height",(o.rows-1)*this.gridster.$options.margin+o.rows*this.gridster.$options.fixedRowHeight+"px"):t.setStyle(e,"height",o.rows*this.gridster.curWidth/o.cols+"px"),this.gridster.$options.keepFixedWidthInMobile?t.setStyle(e,"width",this.gridster.$options.fixedColWidth+"px"):t.setStyle(e,"width",""),t.setStyle(e,"margin-bottom",this.gridster.$options.margin+"px"),t.setStyle(e,ot.LTR?"margin-right":"margin-left","");else{let i=Math.round(this.gridster.curColWidth*o.x),n=Math.round(this.gridster.curRowHeight*o.y),s=this.gridster.curColWidth*o.cols-this.gridster.$options.margin,a=this.gridster.curRowHeight*o.rows-this.gridster.$options.margin;this.setCellPosition(t,e,i,n),t.setStyle(e,"width",s+"px"),t.setStyle(e,"height",a+"px");let l=null,m=null;this.gridster.$options.outerMargin&&(this.gridster.rows===o.rows+o.y&&(this.gridster.$options.outerMarginBottom!==null?l=this.gridster.$options.outerMarginBottom+"px":l=this.gridster.$options.margin+"px"),this.gridster.columns===o.cols+o.x&&(this.gridster.$options.outerMarginBottom!==null?m=this.gridster.$options.outerMarginRight+"px":m=this.gridster.$options.margin+"px")),t.setStyle(e,"margin-bottom",l),t.setStyle(e,ot.LTR?"margin-right":"margin-left",m)}}updateGridster(){let e="",o="",t="",i="";if(this.gridster.$options.gridType===z.Fit)e=z.Fit,o=z.ScrollVertical,t=z.ScrollHorizontal,i=z.Fixed;else if(this.gridster.$options.gridType===z.ScrollVertical)this.gridster.curRowHeight=this.gridster.curColWidth*this.gridster.$options.rowHeightRatio,e=z.ScrollVertical,o=z.Fit,t=z.ScrollHorizontal,i=z.Fixed;else if(this.gridster.$options.gridType===z.ScrollHorizontal){let n=this.gridster.$options.rowHeightRatio,s=n>=1?n:n+1;this.gridster.curColWidth=this.gridster.curRowHeight*s,e=z.ScrollHorizontal,o=z.Fit,t=z.ScrollVertical,i=z.Fixed}else this.gridster.$options.gridType===z.Fixed?(this.gridster.curColWidth=this.gridster.$options.fixedColWidth+(this.gridster.$options.ignoreMarginInRow?0:this.gridster.$options.margin),this.gridster.curRowHeight=this.gridster.$options.fixedRowHeight+(this.gridster.$options.ignoreMarginInRow?0:this.gridster.$options.margin),e=z.Fixed,o=z.Fit,t=z.ScrollVertical,i=z.ScrollHorizontal):this.gridster.$options.gridType===z.VerticalFixed?(this.gridster.curRowHeight=this.gridster.$options.fixedRowHeight+(this.gridster.$options.ignoreMarginInRow?0:this.gridster.$options.margin),e=z.ScrollVertical,o=z.Fit,t=z.ScrollHorizontal,i=z.Fixed):this.gridster.$options.gridType===z.HorizontalFixed&&(this.gridster.curColWidth=this.gridster.$options.fixedColWidth+(this.gridster.$options.ignoreMarginInRow?0:this.gridster.$options.margin),e=z.ScrollHorizontal,o=z.Fit,t=z.ScrollVertical,i=z.Fixed);this.gridster.mobile||this.gridster.$options.setGridSize&&this.gridster.$options.gridType!==z.Fit?this.gridster.renderer.removeClass(this.gridster.el,e):this.gridster.renderer.addClass(this.gridster.el,e),this.gridster.renderer.removeClass(this.gridster.el,o),this.gridster.renderer.removeClass(this.gridster.el,t),this.gridster.renderer.removeClass(this.gridster.el,i)}getGridColumnStyle(e){let o={left:this.gridster.curColWidth*e,width:this.gridster.curColWidth-this.gridster.$options.margin,height:this.gridster.gridRows.length*this.gridster.curRowHeight-this.gridster.$options.margin,style:{}};o.style=le(M({},this.getLeftPosition(o.left)),{width:o.width+"px",height:o.height+"px"});let t=this.lastGridColumnStyles[e];return t&&t.left===o.left&&t.width===o.width&&t.height===o.height?t.style:(this.lastGridColumnStyles[e]=o,o.style)}getGridRowStyle(e){let o={top:this.gridster.curRowHeight*e,width:this.gridster.gridColumns.length*this.gridster.curColWidth+this.gridster.$options.margin,height:this.gridster.curRowHeight-this.gridster.$options.margin,style:{}};o.style=le(M({},this.getTopPosition(o.top)),{width:o.width+"px",height:o.height+"px"});let t=this.lastGridRowStyles[e];return t&&t.top===o.top&&t.width===o.width&&t.height===o.height?t.style:(this.lastGridRowStyles[e]=o,o.style)}getLeftPosition(e){let o=this.gridster.$options.dirType===ot.RTL?-e:e;return this.gridster.$options.useTransformPositioning?{transform:"translateX("+o+"px)"}:{left:this.getLeftMargin()+o+"px"}}getTopPosition(e){return this.gridster.$options.useTransformPositioning?{transform:"translateY("+e+"px)"}:{top:this.getTopMargin()+e+"px"}}clearCellPosition(e,o){this.gridster.$options.useTransformPositioning?e.setStyle(o,"transform",""):(e.setStyle(o,"top",""),e.setStyle(o,"left",""))}setCellPosition(e,o,t,i){let n=this.gridster.$options.dirType===ot.RTL?-t:t;if(this.gridster.$options.useTransformPositioning){let s="translate3d("+n+"px, "+i+"px, 0)";e.setStyle(o,"transform",s)}else e.setStyle(o,"left",this.getLeftMargin()+n+"px"),e.setStyle(o,"top",this.getTopMargin()+i+"px")}getLeftMargin(){return this.gridster.$options.outerMargin?this.gridster.$options.outerMarginLeft!==null?this.gridster.$options.outerMarginLeft:this.gridster.$options.margin:0}getTopMargin(){return this.gridster.$options.outerMargin?this.gridster.$options.outerMarginTop!==null?this.gridster.$options.outerMarginTop:this.gridster.$options.margin:0}},q0=(()=>{let e=class e{constructor(t,i){this.renderer=i,this.el=t.nativeElement}ngOnInit(){this.sub=this.previewStyle$.subscribe(t=>this.previewStyle(t))}ngOnDestroy(){this.sub&&this.sub.unsubscribe()}previewStyle(t){t?(this.renderer.setStyle(this.el,"display","block"),this.gridRenderer.updateItem(this.el,t,this.renderer)):this.renderer.setStyle(this.el,"display","")}};e.\u0275fac=function(i){return new(i||e)(x(U),x(Wt))},e.\u0275cmp=R({type:e,selectors:[["gridster-preview"]],inputs:{previewStyle$:"previewStyle$",gridRenderer:"gridRenderer"},standalone:!0,features:[A],decls:0,vars:0,template:function(i,n){},styles:[`gridster-preview{position:absolute;display:none;background:#00000026} -`],encapsulation:2});let r=e;return r})(),ce=(()=>{let e=class e{constructor(t,i,n,s){this.renderer=i,this.cdRef=n,this.zone=s,this.columns=0,this.rows=0,this.gridColumns=[],this.gridRows=[],this.previewStyle$=new Z,this.calculateLayout$=new W,this.resize$=new W,this.destroy$=new W,this.optionsChanged=()=>{this.setOptions();let a=this.grid.length-1,l;for(;a>=0;a--)l=this.grid[a],l.updateOptions();this.calculateLayout()},this.onResize=()=>{this.el.clientWidth&&(this.options.setGridSize&&(this.renderer.setStyle(this.el,"width",""),this.renderer.setStyle(this.el,"height","")),this.setGridSize(),this.calculateLayout())},this.getNextPossiblePosition=(a,l={})=>{a.cols===-1&&(a.cols=this.$options.defaultItemCols),a.rows===-1&&(a.rows=this.$options.defaultItemRows),this.setGridDimensions();let m=l.y||0,p;for(;m=this.rows+a.rows,y=this.$options.maxCols>=this.columns+a.cols;return!(this.rows<=this.columns&&v)&&y?(a.x=this.columns,a.y=0,!0):v?(a.y=this.rows,a.x=0,!0):!1},this.getFirstPossiblePosition=a=>{let l=Object.assign({},a);return this.getNextPossiblePosition(l),l},this.getLastPossiblePosition=a=>{let l={y:0,x:0};l=this.grid.reduce((p,v)=>{let y={y:v.$item.y+v.$item.rows-1,x:v.$item.x+v.$item.cols-1};return ut.compareItems(p,y)===1?y:p},l);let m=Object.assign({},a);return this.getNextPossiblePosition(m,l),m},this.el=t.nativeElement,this.$options=JSON.parse(JSON.stringify(X0)),this.mobile=!1,this.curWidth=0,this.curHeight=0,this.grid=[],this.curColWidth=0,this.curRowHeight=0,this.dragInProgress=!1,this.emptyCell=new Bl(this),this.compact=new jl(this),this.gridRenderer=new Wl(this)}static checkCollisionTwoItemsForSwaping(t,i){let n=t.cols===1?0:1,s=i.cols===1?0:1,a=t.rows===1?0:1,l=i.rows===1?0:1;return t.x+ni.x+s&&t.y+ai.y+l}checkCollisionTwoItems(t,i){if(!(t.xi.x&&t.yi.y))return!1;if(!this.$options.allowMultiLayer)return!0;let s=this.$options.defaultLayerIndex,a=t.layerIndex===void 0?s:t.layerIndex,l=i.layerIndex===void 0?s:i.layerIndex;return a===l}ngOnInit(){this.options.initCallback&&this.options.initCallback(this),this.calculateLayout$.pipe(vi(0),Me(this.destroy$)).subscribe(()=>this.calculateLayout()),this.resize$.pipe($e(()=>pr(100)),Me(this.destroy$)).subscribe(()=>this.resize())}ngOnChanges(t){t.options&&(this.setOptions(),this.options.api={optionsChanged:this.optionsChanged,resize:this.onResize,getNextPossiblePosition:this.getNextPossiblePosition,getFirstPossiblePosition:this.getFirstPossiblePosition,getLastPossiblePosition:this.getLastPossiblePosition,getItemComponent:i=>this.getItemComponent(i)},this.columns=this.$options.minCols,this.rows=this.$options.minRows+this.$options.addEmptyRowsCount,this.setGridSize(),this.calculateLayout())}resize(){let t,i;this.$options.gridType==="fit"&&!this.mobile?(i=this.el.offsetWidth,t=this.el.offsetHeight):(i=this.el.clientWidth,t=this.el.clientHeight),(i!==this.curWidth||t!==this.curHeight)&&this.checkIfToResize()&&this.onResize()}setOptions(){this.$options=ut.merge(this.$options,this.options,this.$options),!this.$options.disableWindowResize&&!this.windowResize?this.windowResize=this.renderer.listen("window","resize",this.onResize):this.$options.disableWindowResize&&this.windowResize&&(this.windowResize(),this.windowResize=null),this.emptyCell.updateOptions()}ngOnDestroy(){this.destroy$.next(),this.previewStyle$.complete(),this.windowResize&&this.windowResize(),this.options&&this.options.destroyCallback&&this.options.destroyCallback(this),this.options&&this.options.api&&(this.options.api.resize=void 0,this.options.api.optionsChanged=void 0,this.options.api.getNextPossiblePosition=void 0,this.options.api=void 0),this.emptyCell.destroy(),this.emptyCell=null,this.compact.destroy(),this.compact=null}checkIfToResize(){let t=this.el.clientWidth,i=this.el.offsetWidth,n=this.el.scrollWidth,s=this.el.clientHeight,a=this.el.offsetHeight,l=this.el.scrollHeight,m=ta&&l-ai&&n-idocument.body.clientWidth:this.$options.mobileBreakpoint>this.curWidth}setGridSize(){let t=this.el,i,n;this.$options.setGridSize||this.$options.gridType===z.Fit&&!this.mobile?(i=t.offsetWidth,n=t.offsetHeight):(i=t.clientWidth,n=t.clientHeight),this.curWidth=i,this.curHeight=n}setGridDimensions(){this.setGridSize(),!this.mobile&&this.checkIfMobile()?(this.mobile=!this.mobile,this.renderer.addClass(this.el,"mobile")):this.mobile&&!this.checkIfMobile()&&(this.mobile=!this.mobile,this.renderer.removeClass(this.el,"mobile"));let t=this.$options.minRows,i=this.$options.minCols,n=this.grid.length-1,s;for(;n>=0;n--)s=this.grid[n],s.notPlaced||(t=Math.max(t,s.$item.y+s.$item.rows),i=Math.max(i,s.$item.x+s.$item.cols));t+=this.$options.addEmptyRowsCount,(this.columns!==i||this.rows!==t)&&(this.columns=i,this.rows=t,this.options.gridSizeChangedCallback&&this.options.gridSizeChangedCallback(this))}calculateLayout(){if(this.compact&&this.compact.checkCompact(),this.setGridDimensions(),this.$options.outerMargin){let n=-this.$options.margin;this.$options.outerMarginLeft!==null?(n+=this.$options.outerMarginLeft,this.renderer.setStyle(this.el,"padding-left",this.$options.outerMarginLeft+"px")):(n+=this.$options.margin,this.renderer.setStyle(this.el,"padding-left",this.$options.margin+"px")),this.$options.outerMarginRight!==null?(n+=this.$options.outerMarginRight,this.renderer.setStyle(this.el,"padding-right",this.$options.outerMarginRight+"px")):(n+=this.$options.margin,this.renderer.setStyle(this.el,"padding-right",this.$options.margin+"px")),this.curColWidth=(this.curWidth-n)/this.columns;let s=-this.$options.margin;this.$options.outerMarginTop!==null?(s+=this.$options.outerMarginTop,this.renderer.setStyle(this.el,"padding-top",this.$options.outerMarginTop+"px")):(s+=this.$options.margin,this.renderer.setStyle(this.el,"padding-top",this.$options.margin+"px")),this.$options.outerMarginBottom!==null?(s+=this.$options.outerMarginBottom,this.renderer.setStyle(this.el,"padding-bottom",this.$options.outerMarginBottom+"px")):(s+=this.$options.margin,this.renderer.setStyle(this.el,"padding-bottom",this.$options.margin+"px")),this.curRowHeight=(this.curHeight-s)/this.rows*this.$options.rowHeightRatio}else this.curColWidth=(this.curWidth+this.$options.margin)/this.columns,this.curRowHeight=(this.curHeight+this.$options.margin)/this.rows*this.$options.rowHeightRatio,this.renderer.setStyle(this.el,"padding-left","0px"),this.renderer.setStyle(this.el,"padding-right","0px"),this.renderer.setStyle(this.el,"padding-top","0px"),this.renderer.setStyle(this.el,"padding-bottom","0px");this.gridRenderer.updateGridster(),this.$options.setGridSize?(this.renderer.addClass(this.el,"gridSize"),this.mobile||(this.renderer.setStyle(this.el,"width",this.columns*this.curColWidth+this.$options.margin+"px"),this.renderer.setStyle(this.el,"height",this.rows*this.curRowHeight+this.$options.margin+"px"))):(this.renderer.removeClass(this.el,"gridSize"),this.renderer.setStyle(this.el,"width",""),this.renderer.setStyle(this.el,"height","")),this.updateGrid();let t=this.grid.length-1,i;for(;t>=0;t--)i=this.grid[t],i.setSize(),i.drag.toggle(),i.resize.toggle();this.resize$.next()}updateGrid(){this.$options.displayGrid==="always"&&!this.mobile?this.renderer.addClass(this.el,"display-grid"):this.$options.displayGrid==="onDrag&Resize"&&this.dragInProgress?this.renderer.addClass(this.el,"display-grid"):(this.$options.displayGrid==="none"||!this.dragInProgress||this.mobile)&&this.renderer.removeClass(this.el,"display-grid"),this.setGridDimensions(),this.gridColumns.length=e.getNewArrayLength(this.columns,this.curWidth,this.curColWidth),this.gridRows.length=e.getNewArrayLength(this.rows,this.curHeight,this.curRowHeight),this.cdRef.markForCheck()}addItem(t){t.$item.cols===void 0&&(t.$item.cols=this.$options.defaultItemCols,t.item.cols=t.$item.cols,t.itemChanged()),t.$item.rows===void 0&&(t.$item.rows=this.$options.defaultItemRows,t.item.rows=t.$item.rows,t.itemChanged()),t.$item.x===-1||t.$item.y===-1?this.autoPositionItem(t):this.checkCollision(t.$item)&&(this.$options.disableWarnings||(t.notPlaced=!0,console.warn("Can't be placed in the bounds of the dashboard, trying to auto position!/n"+JSON.stringify(t.item,["cols","rows","x","y"]))),this.$options.disableAutoPositionOnConflict?t.notPlaced=!0:this.autoPositionItem(t)),this.grid.push(t),this.calculateLayout$.next()}removeItem(t){this.grid.splice(this.grid.indexOf(t),1),this.calculateLayout$.next(),this.options.itemRemovedCallback&&this.options.itemRemovedCallback(t.item,t)}checkCollision(t){let i=!1;if(this.options.itemValidateCallback&&(i=!this.options.itemValidateCallback(t)),!i&&this.checkGridCollision(t)&&(i=!0),!i){let n=this.findItemWithItem(t);n&&(i=n)}return i}checkGridCollision(t){let i=t.y>-1&&t.x>-1,n=t.cols+t.x<=this.$options.maxCols,s=t.rows+t.y<=this.$options.maxRows,a=t.maxItemCols===void 0?this.$options.maxItemCols:t.maxItemCols,l=t.minItemCols===void 0?this.$options.minItemCols:t.minItemCols,m=t.maxItemRows===void 0?this.$options.maxItemRows:t.maxItemRows,p=t.minItemRows===void 0?this.$options.minItemRows:t.minItemRows,v=t.cols<=a&&t.cols>=l,y=t.rows<=m&&t.rows>=p,I=t.minItemArea===void 0?this.$options.minItemArea:t.minItemArea,D=t.maxItemArea===void 0?this.$options.maxItemArea:t.maxItemArea,F=t.cols*t.rows,j=I<=F,H=D>=F;return!(i&&n&&s&&v&&y&&j&&H)}findItemWithItem(t){let i=0,n;for(;ii.item===t)}checkCollisionForSwaping(t){let i=!1;if(this.options.itemValidateCallback&&(i=!this.options.itemValidateCallback(t)),!i&&this.checkGridCollision(t)&&(i=!0),!i){let n=this.findItemWithItemForSwapping(t);n&&(i=n)}return i}findItemWithItemForSwapping(t){let i=this.grid.length-1,n;for(;i>-1;i--)if(n=this.grid[i],n.$item!==t&&e.checkCollisionTwoItemsForSwaping(n.$item,t))return n;return!1}previewStyle(t=!1){this.movingItem?(this.compact&&t&&this.compact.checkCompactItem(this.movingItem),this.previewStyle$.next(this.movingItem)):this.previewStyle$.next(null)}static getNewArrayLength(t,i,n){let s=Math.max(t,Math.floor(i/n));return s<0?0:Number.isFinite(s)?Math.floor(s):0}};e.\u0275fac=function(i){return new(i||e)(x(U),x(Wt),x(Ge),x(B))},e.\u0275cmp=R({type:e,selectors:[["gridster"]],inputs:{options:"options"},standalone:!0,features:[Le,A],ngContentSelectors:Vh,decls:6,vars:2,consts:[[1,"gridster-column",3,"ngStyle"],[1,"gridster-row",3,"ngStyle"],[1,"gridster-preview",3,"gridRenderer","previewStyle$"]],template:function(i,n){i&1&&(Re(),re(0,N0,1,1,"div",0,Ys),re(2,V0,1,1,"div",1,Ys),X(4),O(5,"gridster-preview",2)),i&2&&(se(n.gridColumns),u(2),se(n.gridRows),u(3),S("gridRenderer",n.gridRenderer)("previewStyle$",n.previewStyle$))},dependencies:[Hc,q0],styles:[`gridster{position:relative;box-sizing:border-box;background:gray;width:100%;height:100%;-webkit-user-select:none;user-select:none;display:block}gridster.fit{overflow-x:hidden;overflow-y:hidden}gridster.scrollVertical{overflow-x:hidden;overflow-y:auto}gridster.scrollHorizontal{overflow-x:auto;overflow-y:hidden}gridster.fixed{overflow:auto}gridster.mobile{overflow-x:hidden;overflow-y:auto}gridster.mobile gridster-item{position:relative}gridster.gridSize{height:initial;width:initial}gridster.gridSize.fit{height:100%;width:100%}gridster .gridster-column,gridster .gridster-row{position:absolute;display:none;transition:.3s;box-sizing:border-box}gridster.display-grid .gridster-column,gridster.display-grid .gridster-row{display:block}gridster .gridster-column{border-left:1px solid white;border-right:1px solid white}gridster .gridster-row{border-top:1px solid white;border-bottom:1px solid white} -`],encapsulation:2});let r=e;return r})(),Bn=class{constructor(e){this.iteration=0,this.pushedItems=[],this.pushedItemsTemp=[],this.pushedItemsTempPath=[],this.pushedItemsPath=[],this.gridsterItem=e,this.gridster=e.gridster,this.tryPattern={fromEast:[this.tryWest,this.trySouth,this.tryNorth,this.tryEast],fromWest:[this.tryEast,this.trySouth,this.tryNorth,this.tryWest],fromNorth:[this.trySouth,this.tryEast,this.tryWest,this.tryNorth],fromSouth:[this.tryNorth,this.tryEast,this.tryWest,this.trySouth]},this.fromSouth="fromSouth",this.fromNorth="fromNorth",this.fromEast="fromEast",this.fromWest="fromWest"}destroy(){this.gridster=this.gridsterItem=null}pushItems(e,o){if(this.gridster.$options.pushItems&&!o){this.pushedItemsOrder=[],this.iteration=0;let t=this.push(this.gridsterItem,e);return t||this.restoreTempItems(),this.pushedItemsOrder=[],this.pushedItemsTemp=[],this.pushedItemsTempPath=[],t}else return!1}restoreTempItems(){let e=this.pushedItemsTemp.length-1;for(;e>-1;e--)this.removeFromTempPushed(this.pushedItemsTemp[e])}restoreItems(){let e=0,o=this.pushedItems.length,t;for(;e-1;e--)this.checkPushedItem(this.pushedItems[e],e)&&(o=!0);o&&this.checkPushBack()}push(e,o){if(this.iteration>100)return console.warn("max iteration reached"),!1;if(this.gridster.checkGridCollision(e.$item)||o==="")return!1;let t=this.gridster.findItemsWithItem(e.$item),i=o===this.fromNorth||o===this.fromWest;t.sort((m,p)=>i?p.$item.y-m.$item.y||p.$item.x-m.$item.x:m.$item.y-p.$item.y||m.$item.x-p.$item.x);let n=0,s,a=!0,l=[];for(;n-1&&this.pushedItemsTempPath[m].length>10){a=!1;break}if(this.tryPattern[o][0].call(this,s,e))this.pushedItemsOrder.push(s),l.push(s);else if(this.tryPattern[o][1].call(this,s,e))this.pushedItemsOrder.push(s),l.push(s);else if(this.tryPattern[o][2].call(this,s,e))this.pushedItemsOrder.push(s),l.push(s);else if(this.tryPattern[o][3].call(this,s,e))this.pushedItemsOrder.push(s),l.push(s);else{a=!1;break}}if(!a&&(n=this.pushedItemsOrder.lastIndexOf(l[0]),n>-1)){let m=this.pushedItemsOrder.length-1;for(;m>=n;m--)s=this.pushedItemsOrder[m],this.pushedItemsOrder.pop(),this.removeFromTempPushed(s),this.removeFromPushedItem(s)}return this.iteration++,a}trySouth(e,o){return this.gridster.$options.pushDirections.south?(this.addToTempPushed(e),e.$item.y=o.$item.y+o.$item.rows,this.push(e,this.fromNorth)?(e.setSize(),this.addToPushed(e),!0):(this.removeFromTempPushed(e),!1)):!1}tryNorth(e,o){return this.gridster.$options.pushDirections.north?(this.addToTempPushed(e),e.$item.y=o.$item.y-e.$item.rows,this.push(e,this.fromSouth)?(e.setSize(),this.addToPushed(e),!0):(this.removeFromTempPushed(e),!1)):!1}tryEast(e,o){return this.gridster.$options.pushDirections.east?(this.addToTempPushed(e),e.$item.x=o.$item.x+o.$item.cols,this.push(e,this.fromWest)?(e.setSize(),this.addToPushed(e),!0):(this.removeFromTempPushed(e),!1)):!1}tryWest(e,o){return this.gridster.$options.pushDirections.west?(this.addToTempPushed(e),e.$item.x=o.$item.x-e.$item.cols,this.push(e,this.fromEast)?(e.setSize(),this.addToPushed(e),!0):(this.removeFromTempPushed(e),!1)):!1}addToTempPushed(e){let o=this.pushedItemsTemp.indexOf(e);o===-1&&(o=this.pushedItemsTemp.push(e)-1,this.pushedItemsTempPath[o]=[]),this.pushedItemsTempPath[o].push({x:e.$item.x,y:e.$item.y})}removeFromTempPushed(e){let o=this.pushedItemsTemp.indexOf(e),t=this.pushedItemsTempPath[o].pop();t&&(e.$item.x=t.x,e.$item.y=t.y,e.setSize(),this.pushedItemsTempPath[o].length||(this.pushedItemsTemp.splice(o,1),this.pushedItemsTempPath.splice(o,1)))}addToPushed(e){if(this.pushedItems.indexOf(e)<0)this.pushedItems.push(e),this.pushedItemsPath.push([{x:e.item.x||0,y:e.item.y||0},{x:e.$item.x,y:e.$item.y}]);else{let o=this.pushedItems.indexOf(e);this.pushedItemsPath[o].push({x:e.$item.x,y:e.$item.y})}}removeFromPushed(e){e>-1&&(this.pushedItems.splice(e,1),this.pushedItemsPath.splice(e,1))}removeFromPushedItem(e){let o=this.pushedItems.indexOf(e);o>-1&&(this.pushedItemsPath[o].pop(),this.pushedItemsPath.length||(this.pushedItems.splice(o,1),this.pushedItemsPath.splice(o,1)))}checkPushedItem(e,o){let t=this.pushedItemsPath[o],i=t.length-2,n,s,a,l=!1;for(;i>-1;i--)n=t[i],s=e.$item.x,a=e.$item.y,e.$item.x=n.x,e.$item.y=n.y,this.gridster.findItemWithItem(e.$item)?(e.$item.x=s,e.$item.y=a):(e.setSize(),t.splice(i+1,t.length-i-1),l=!0);return t.length<2&&this.removeFromPushed(o),l}},qo,an,jh=50,Pt,Zo,bi,Qo,Ko,Jo,er;function Bh(r,e,o,t,i,n,s,a,l,m){qo=r.$options.scrollSensitivity,an=r.$options.scrollSpeed,Pt=r.el,Zo=l,bi=m;let p=Pt.offsetWidth,v=Pt.offsetHeight,y=Pt.scrollLeft,I=Pt.scrollTop,D=o-I,F=v+I-o-i,{clientX:j,clientY:H}=n;if(!r.$options.disableScrollVertical)if(s.clientYH&&I>0&&Dj&&y>0&&ct{(!Pt||r===-1&&Pt.scrollTop-an<0)&&Xl(),Pt.scrollTop+=r*an,t+=r*an,e({clientX:o.clientX,clientY:t})},jh)}function Nh(r,e,o){let t=o.clientX;return window.setInterval(()=>{(!Pt||r===-1&&Pt.scrollLeft-an<0)&&Yl(),Pt.scrollLeft+=r*an,t+=r*an,e({clientX:t,clientY:o.clientY})},jh)}function Wh(){Yl(),Xl(),Pt=null}function Yl(){$h(),Uh()}function Xl(){Gh(),Hh()}function $h(){Qo&&(clearInterval(Qo),Qo=0)}function Uh(){Ko&&(clearInterval(Ko),Ko=0)}function Hh(){er&&(clearInterval(er),er=0)}function Gh(){Jo&&(clearInterval(Jo),Jo=0)}var $l=class{constructor(e){this.gridsterItem=e,this.gridster=e.gridster}destroy(){this.gridster=this.gridsterItem=this.swapedItem=null}swapItems(){this.gridster.$options.swap&&(this.checkSwapBack(),this.checkSwap(this.gridsterItem))}checkSwapBack(){if(this.swapedItem){let e=this.swapedItem.$item.x,o=this.swapedItem.$item.y;this.swapedItem.$item.x=this.swapedItem.item.x||0,this.swapedItem.$item.y=this.swapedItem.item.y||0,this.gridster.checkCollision(this.swapedItem.$item)?(this.swapedItem.$item.x=e,this.swapedItem.$item.y=o):(this.swapedItem.setSize(),this.gridsterItem.$item.x=this.gridsterItem.item.x||0,this.gridsterItem.$item.y=this.gridsterItem.item.y||0,this.swapedItem=void 0)}}restoreSwapItem(){this.swapedItem&&(this.swapedItem.$item.x=this.swapedItem.item.x||0,this.swapedItem.$item.y=this.swapedItem.item.y||0,this.swapedItem.setSize(),this.swapedItem=void 0)}setSwapItem(){this.swapedItem&&(this.swapedItem.checkItemChanges(this.swapedItem.$item,this.swapedItem.item),this.swapedItem=void 0)}checkSwap(e){let o;if(this.gridster.$options.swapWhileDragging?o=this.gridster.checkCollisionForSwaping(e.$item):o=this.gridster.checkCollision(e.$item),o&&o!==!0&&o.canBeDragged()){let t=o,i=t.$item.x,n=t.$item.y,s=e.$item.x,a=e.$item.y,l=s-i,m=a-n;t.$item.x=e.item.x-l,t.$item.y=e.item.y-m,e.$item.x=t.item.x+l,e.$item.y=t.item.y+m,this.gridster.checkCollision(t.$item)||this.gridster.checkCollision(e.$item)?(e.$item.x=s,e.$item.y=a,t.$item.x=i,t.$item.y=n):(t.setSize(),this.swapedItem=t,this.gridster.$options.swapWhileDragging&&(this.gridsterItem.checkItemChanges(this.gridsterItem.$item,this.gridsterItem.item),this.setSwapItem()))}}},Z0="gridster-item-resizable-handler",Tt=function(r){return r.UP="UP",r.DOWN="DOWN",r.LEFT="LEFT",r.RIGHT="RIGHT",r}(Tt||{}),Ul=class{constructor(e,o,t){this.zone=t,this.collision=!1,this.dragMove=i=>{i.stopPropagation(),i.preventDefault(),ut.checkTouchEvent(i);let n=this.getDirections(i);this.gridster.options.enableBoundaryControl&&(n.includes(Tt.UP)&&this.gridsterItem.el.getBoundingClientRect().tops!=Tt.UP),i=new MouseEvent(i.type,{clientX:i.clientX,clientY:this.lastMouse.clientY})),n.includes(Tt.LEFT)&&this.gridsterItem.el.getBoundingClientRect().lefts!=Tt.LEFT),i=new MouseEvent(i.type,{clientX:this.lastMouse.clientX,clientY:i.clientY})),n.includes(Tt.RIGHT)&&this.gridsterItem.el.getBoundingClientRect().right>this.gridster.el.getBoundingClientRect().right-(this.outerMarginRight??this.margin)&&(n=n.filter(s=>s!=Tt.RIGHT),i=new MouseEvent(i.type,{clientX:this.lastMouse.clientX,clientY:i.clientY})),n.includes(Tt.DOWN)&&this.gridsterItem.el.getBoundingClientRect().bottom>this.gridster.el.getBoundingClientRect().bottom-(this.outerMarginBottom??this.margin)&&(n=n.filter(s=>s!=Tt.DOWN),i=new MouseEvent(i.type,{clientX:i.clientX,clientY:this.lastMouse.clientY}))),n.length&&(this.offsetLeft=this.gridster.el.scrollLeft-this.gridster.el.offsetLeft,this.offsetTop=this.gridster.el.scrollTop-this.gridster.el.offsetTop,Bh(this.gridster,this.left,this.top,this.width,this.height,i,this.lastMouse,this.calculateItemPositionFromMousePosition),this.calculateItemPositionFromMousePosition(i))},this.calculateItemPositionFromMousePosition=i=>{this.gridster.options.scale?this.calculateItemPositionWithScale(i,this.gridster.options.scale):this.calculateItemPositionWithoutScale(i),this.calculateItemPosition(),this.lastMouse.clientX=i.clientX,this.lastMouse.clientY=i.clientY,this.zone.run(()=>{this.gridster.updateGrid()})},this.dragStop=i=>{i.stopPropagation(),i.preventDefault(),Wh(),this.cancelOnBlur(),this.mousemove(),this.mouseup(),this.mouseleave(),this.touchmove(),this.touchend(),this.touchcancel(),this.gridsterItem.renderer.removeClass(this.gridsterItem.el,"gridster-item-moving"),this.gridster.dragInProgress=!1,this.gridster.updateGrid(),this.path=[],this.gridster.options.draggable&&this.gridster.options.draggable.stop?Promise.resolve(this.gridster.options.draggable.stop(this.gridsterItem.item,this.gridsterItem,i)).then(this.makeDrag,this.cancelDrag):this.makeDrag(),setTimeout(()=>{this.gridster&&(this.gridster.movingItem=null,this.gridster.previewStyle(!0))})},this.cancelDrag=()=>{this.gridsterItem.$item.x=this.gridsterItem.item.x||0,this.gridsterItem.$item.y=this.gridsterItem.item.y||0,this.gridsterItem.setSize(),this.push&&this.push.restoreItems(),this.swap&&this.swap.restoreSwapItem(),this.push&&(this.push.destroy(),this.push=null),this.swap&&(this.swap.destroy(),this.swap=null)},this.makeDrag=()=>{this.gridster.$options.draggable.dropOverItems&&this.gridster.options.draggable&&this.gridster.options.draggable.dropOverItemsCallback&&this.collision&&this.collision!==!0&&this.collision.$item&&this.gridster.options.draggable.dropOverItemsCallback(this.gridsterItem.item,this.collision.item,this.gridster),this.collision=!1,this.gridsterItem.setSize(),this.gridsterItem.checkItemChanges(this.gridsterItem.$item,this.gridsterItem.item),this.push&&this.push.setPushedItems(),this.swap&&this.swap.setSwapItem(),this.push&&(this.push.destroy(),this.push=null),this.swap&&(this.swap.destroy(),this.swap=null)},this.dragStartDelay=i=>{if(i.target.classList.contains(Z0)||ut.checkContentClassForEvent(this.gridster,i))return;if(ut.checkTouchEvent(i),!this.gridster.$options.draggable.delayStart){this.dragStart(i);return}let s=setTimeout(()=>{this.dragStart(i),D()},this.gridster.$options.draggable.delayStart),a=this.gridsterItem.renderer.listen("document","mouseup",D),l=this.gridsterItem.renderer.listen("document","mouseleave",D),m=this.gridsterItem.renderer.listen("window","blur",D),p=this.gridsterItem.renderer.listen("document","touchmove",I),v=this.gridsterItem.renderer.listen("document","touchend",D),y=this.gridsterItem.renderer.listen("document","touchcancel",D);function I(F){ut.checkTouchEvent(F),(Math.abs(F.clientX-i.clientX)>9||Math.abs(F.clientY-i.clientY)>9)&&D()}function D(){clearTimeout(s),m(),a(),l(),p(),v(),y()}},this.gridsterItem=e,this.gridster=o,this.lastMouse={clientX:0,clientY:0},this.path=[]}destroy(){this.gridster.previewStyle&&this.gridster.previewStyle(!0),this.gridsterItem=this.gridster=this.collision=null,this.mousedown&&(this.mousedown(),this.touchstart())}dragStart(e){e.which&&e.which!==1||(this.gridster.options.draggable&&this.gridster.options.draggable.start&&this.gridster.options.draggable.start(this.gridsterItem.item,this.gridsterItem,e),e.stopPropagation(),e.preventDefault(),this.zone.runOutsideAngular(()=>{this.mousemove=this.gridsterItem.renderer.listen("document","mousemove",this.dragMove),this.touchmove=this.gridster.renderer.listen(this.gridster.el,"touchmove",this.dragMove)}),this.mouseup=this.gridsterItem.renderer.listen("document","mouseup",this.dragStop),this.mouseleave=this.gridsterItem.renderer.listen("document","mouseleave",this.dragStop),this.cancelOnBlur=this.gridsterItem.renderer.listen("window","blur",this.dragStop),this.touchend=this.gridsterItem.renderer.listen("document","touchend",this.dragStop),this.touchcancel=this.gridsterItem.renderer.listen("document","touchcancel",this.dragStop),this.gridsterItem.renderer.addClass(this.gridsterItem.el,"gridster-item-moving"),this.margin=this.gridster.$options.margin,this.outerMarginTop=this.gridster.$options.outerMarginTop,this.outerMarginRight=this.gridster.$options.outerMarginRight,this.outerMarginBottom=this.gridster.$options.outerMarginBottom,this.outerMarginLeft=this.gridster.$options.outerMarginLeft,this.offsetLeft=this.gridster.el.scrollLeft-this.gridster.el.offsetLeft,this.offsetTop=this.gridster.el.scrollTop-this.gridster.el.offsetTop,this.left=this.gridsterItem.left-this.margin,this.top=this.gridsterItem.top-this.margin,this.originalClientX=e.clientX,this.originalClientY=e.clientY,this.width=this.gridsterItem.width,this.height=this.gridsterItem.height,this.gridster.$options.dirType===ot.RTL?this.diffLeft=e.clientX-this.gridster.el.scrollWidth+this.gridsterItem.left:this.diffLeft=e.clientX+this.offsetLeft-this.margin-this.left,this.diffTop=e.clientY+this.offsetTop-this.margin-this.top,this.gridster.movingItem=this.gridsterItem.$item,this.gridster.previewStyle(!0),this.push=new Bn(this.gridsterItem),this.swap=new $l(this.gridsterItem),this.gridster.dragInProgress=!0,this.gridster.updateGrid(),this.path.push({x:this.gridsterItem.item.x||0,y:this.gridsterItem.item.y||0}))}calculateItemPositionWithScale(e,o){this.gridster.$options.dirType===ot.RTL?this.left=this.gridster.el.scrollWidth-this.originalClientX+(e.clientX-this.originalClientX)/o+this.diffLeft:this.left=this.originalClientX+(e.clientX-this.originalClientX)/o+this.offsetLeft-this.diffLeft,this.top=this.originalClientY+(e.clientY-this.originalClientY)/o+this.offsetTop-this.diffTop}calculateItemPositionWithoutScale(e){this.gridster.$options.dirType===ot.RTL?this.left=this.gridster.el.scrollWidth-e.clientX+this.diffLeft:this.left=e.clientX+this.offsetLeft-this.diffLeft,this.top=e.clientY+this.offsetTop-this.diffTop}calculateItemPosition(){if(this.gridster.movingItem=this.gridsterItem.$item,this.positionX=this.gridster.pixelsToPositionX(this.left,Math.round),this.positionY=this.gridster.pixelsToPositionY(this.top,Math.round),this.positionXBackup=this.gridsterItem.$item.x,this.positionYBackup=this.gridsterItem.$item.y,this.gridsterItem.$item.x=this.positionX,this.gridster.checkGridCollision(this.gridsterItem.$item)&&(this.gridsterItem.$item.x=this.positionXBackup),this.gridsterItem.$item.y=this.positionY,this.gridster.checkGridCollision(this.gridsterItem.$item)&&(this.gridsterItem.$item.y=this.positionYBackup),this.gridster.gridRenderer.setCellPosition(this.gridsterItem.renderer,this.gridsterItem.el,this.left,this.top),this.positionXBackup!==this.gridsterItem.$item.x||this.positionYBackup!==this.gridsterItem.$item.y){let e=this.path[this.path.length-1],o="";e.xthis.gridsterItem.$item.x?o=this.push.fromEast:e.ythis.gridsterItem.$item.y&&(o=this.push.fromSouth),this.push.pushItems(o,this.gridster.$options.disablePushOnDrag),this.swap.swapItems(),this.collision=this.gridster.checkCollision(this.gridsterItem.$item),this.collision?(this.gridsterItem.$item.x=this.positionXBackup,this.gridsterItem.$item.y=this.positionYBackup,this.gridster.$options.draggable.dropOverItems&&this.collision!==!0&&this.collision.$item&&(this.gridster.movingItem=null)):this.path.push({x:this.gridsterItem.$item.x,y:this.gridsterItem.$item.y}),this.push.checkPushBack()}else this.collision=!1;this.gridster.previewStyle(!0)}toggle(){let e=this.gridsterItem.canBeDragged();!this.enabled&&e?(this.enabled=!this.enabled,this.mousedown=this.gridsterItem.renderer.listen(this.gridsterItem.el,"mousedown",this.dragStartDelay),this.touchstart=this.gridsterItem.renderer.listen(this.gridsterItem.el,"touchstart",this.dragStartDelay)):this.enabled&&!e&&(this.enabled=!this.enabled,this.mousedown(),this.touchstart())}getDirections(e){let o=[];return this.lastMouse.clientX===0&&this.lastMouse.clientY===0&&(this.lastMouse.clientY=e.clientY,this.lastMouse.clientX=e.clientX),this.lastMouse.clientY>e.clientY&&o.push(Tt.UP),this.lastMouse.clientYe.clientX&&o.push(Tt.LEFT),o}},Hl=class{constructor(e){this.pushedItems=[],this.pushedItemsPath=[],this.gridsterItem=e,this.gridster=e.gridster,this.tryPattern={fromEast:this.tryWest,fromWest:this.tryEast,fromNorth:this.trySouth,fromSouth:this.tryNorth},this.fromSouth="fromSouth",this.fromNorth="fromNorth",this.fromEast="fromEast",this.fromWest="fromWest"}destroy(){this.gridster=this.gridsterItem=null}pushItems(e){return this.gridster.$options.pushResizeItems?this.push(this.gridsterItem,e):!1}restoreItems(){let e=0,o=this.pushedItems.length,t;for(;e-1;e--)this.checkPushedItem(this.pushedItems[e],e)&&(o=!0);o&&this.checkPushBack()}push(e,o){let t=this.gridster.checkCollision(e.$item);if(t&&t!==!0&&t!==this.gridsterItem&&t.canBeResized()){if(this.tryPattern[o].call(this,t,e,o))return!0}else if(t===!1)return!0;return!1}trySouth(e,o,t){let i=e.$item.y,n=e.$item.rows;return e.$item.y=o.$item.y+o.$item.rows,e.$item.rows=n+i-e.$item.y,!this.gridster.checkCollisionTwoItems(e.$item,o.$item)&&!this.gridster.checkGridCollision(e.$item)?(e.setSize(),this.addToPushed(e),this.push(o,t),!0):(e.$item.y=i,e.$item.rows=n,!1)}tryNorth(e,o,t){let i=e.$item.rows;return e.$item.rows=o.$item.y-e.$item.y,!this.gridster.checkCollisionTwoItems(e.$item,o.$item)&&!this.gridster.checkGridCollision(e.$item)?(e.setSize(),this.addToPushed(e),this.push(o,t),!0):(e.$item.rows=i,!1)}tryEast(e,o,t){let i=e.$item.x,n=e.$item.cols;return e.$item.x=o.$item.x+o.$item.cols,e.$item.cols=n+i-e.$item.x,!this.gridster.checkCollisionTwoItems(e.$item,o.$item)&&!this.gridster.checkGridCollision(e.$item)?(e.setSize(),this.addToPushed(e),this.push(o,t),!0):(e.$item.x=i,e.$item.cols=n,!1)}tryWest(e,o,t){let i=e.$item.cols;return e.$item.cols=o.$item.x-e.$item.x,!this.gridster.checkCollisionTwoItems(e.$item,o.$item)&&!this.gridster.checkGridCollision(e.$item)?(e.setSize(),this.addToPushed(e),this.push(o,t),!0):(e.$item.cols=i,!1)}addToPushed(e){if(this.pushedItems.indexOf(e)<0)this.pushedItems.push(e),this.pushedItemsPath.push([{x:e.item.x||0,y:e.item.y||0,cols:e.item.cols||0,rows:e.item.rows||0},{x:e.$item.x,y:e.$item.y,cols:e.$item.cols,rows:e.$item.rows}]);else{let o=this.pushedItems.indexOf(e);this.pushedItemsPath[o].push({x:e.$item.x,y:e.$item.y,cols:e.$item.cols,rows:e.$item.rows})}}removeFromPushed(e){e>-1&&(this.pushedItems.splice(e,1),this.pushedItemsPath.splice(e,1))}checkPushedItem(e,o){let t=this.pushedItemsPath[o],i=t.length-2,n,s,a,l,m;for(;i>-1;i--)n=t[i],s=e.$item.x,a=e.$item.y,l=e.$item.cols,m=e.$item.rows,e.$item.x=n.x,e.$item.y=n.y,e.$item.cols=n.cols,e.$item.rows=n.rows,this.gridster.findItemWithItem(e.$item)?(e.$item.x=s,e.$item.y=a,e.$item.cols=l,e.$item.rows=m):(e.setSize(),t.splice(i+1,t.length-1-i));return t.length<2?(this.removeFromPushed(o),!0):!1}},Gl=class{constructor(e,o,t){this.zone=t,this.directionFunction=null,this.dragMove=i=>{if(this.directionFunction===null)throw new Error("The `directionFunction` has not been set before calling `dragMove`.");i.stopPropagation(),i.preventDefault(),ut.checkTouchEvent(i),this.offsetTop=this.gridster.el.scrollTop-this.gridster.el.offsetTop,this.offsetLeft=this.gridster.el.scrollLeft-this.gridster.el.offsetLeft,Bh(this.gridster,this.left,this.top,this.width,this.height,i,this.lastMouse,this.directionFunction,!0,this.resizeEventScrollType);let n=this.gridster.options.scale||1;this.directionFunction({clientX:this.originalClientX+(i.clientX-this.originalClientX)/n,clientY:this.originalClientY+(i.clientY-this.originalClientY)/n}),this.lastMouse.clientX=i.clientX,this.lastMouse.clientY=i.clientY,this.zone.run(()=>{this.gridster.updateGrid()})},this.dragStop=i=>{i.stopPropagation(),i.preventDefault(),Wh(),this.mousemove(),this.mouseup(),this.mouseleave(),this.cancelOnBlur(),this.touchmove(),this.touchend(),this.touchcancel(),this.gridster.dragInProgress=!1,this.gridster.updateGrid(),this.gridster.options.resizable&&this.gridster.options.resizable.stop?Promise.resolve(this.gridster.options.resizable.stop(this.gridsterItem.item,this.gridsterItem,i)).then(this.makeResize,this.cancelResize):this.makeResize(),setTimeout(()=>{this.gridsterItem.renderer.removeClass(this.gridsterItem.el,"gridster-item-resizing"),this.gridster&&(this.gridster.movingItem=null,this.gridster.previewStyle())})},this.cancelResize=()=>{this.gridsterItem.$item.cols=this.gridsterItem.item.cols||1,this.gridsterItem.$item.rows=this.gridsterItem.item.rows||1,this.gridsterItem.$item.x=this.gridsterItem.item.x||0,this.gridsterItem.$item.y=this.gridsterItem.item.y||0,this.gridsterItem.setSize(),this.push.restoreItems(),this.pushResize.restoreItems(),this.push.destroy(),this.push=null,this.pushResize.destroy(),this.pushResize=null},this.makeResize=()=>{this.gridsterItem.setSize(),this.gridsterItem.checkItemChanges(this.gridsterItem.$item,this.gridsterItem.item),this.push.setPushedItems(),this.pushResize.setPushedItems(),this.push.destroy(),this.push=null,this.pushResize.destroy(),this.pushResize=null},this.handleNorth=i=>{this.top=i.clientY+this.offsetTop-this.diffTop,this.height=this.bottom-this.top,this.minHeight>this.height?(this.height=this.minHeight,this.top=this.bottom-this.minHeight):this.gridster.options.enableBoundaryControl&&(this.top=Math.max(0,this.top),this.height=this.bottom-this.top);let n=this.gridster.options.pushItems?this.margin:0;if(this.newPosition=this.gridster.pixelsToPositionY(this.top+n,Math.floor),this.gridsterItem.$item.y!==this.newPosition){if(this.itemBackup[1]=this.gridsterItem.$item.y,this.itemBackup[3]=this.gridsterItem.$item.rows,this.gridsterItem.$item.rows+=this.gridsterItem.$item.y-this.newPosition,this.gridsterItem.$item.y=this.newPosition,this.pushResize.pushItems(this.pushResize.fromSouth),this.push.pushItems(this.push.fromSouth,this.gridster.$options.disablePushOnResize),this.gridster.checkCollision(this.gridsterItem.$item)){this.gridsterItem.$item.y=this.itemBackup[1],this.gridsterItem.$item.rows=this.itemBackup[3],this.top=this.gridster.positionYToPixels(this.gridsterItem.$item.y),this.setItemTop(this.gridster.positionYToPixels(this.gridsterItem.$item.y)),this.setItemHeight(this.gridster.positionYToPixels(this.gridsterItem.$item.rows)-this.margin);return}else this.gridster.previewStyle();this.pushResize.checkPushBack(),this.push.checkPushBack()}this.setItemTop(this.top),this.setItemHeight(this.height)},this.handleWest=i=>{let n=this.gridster.$options.dirType===ot.RTL?this.originalClientX+(this.originalClientX-i.clientX):i.clientX;this.left=n+this.offsetLeft-this.diffLeft,this.width=this.right-this.left,this.minWidth>this.width?(this.width=this.minWidth,this.left=this.right-this.minWidth):this.gridster.options.enableBoundaryControl&&(this.left=Math.max(0,this.left),this.width=this.right-this.left);let s=this.gridster.options.pushItems?this.margin:0;if(this.newPosition=this.gridster.pixelsToPositionX(this.left+s,Math.floor),this.gridsterItem.$item.x!==this.newPosition){if(this.itemBackup[0]=this.gridsterItem.$item.x,this.itemBackup[2]=this.gridsterItem.$item.cols,this.gridsterItem.$item.cols+=this.gridsterItem.$item.x-this.newPosition,this.gridsterItem.$item.x=this.newPosition,this.pushResize.pushItems(this.pushResize.fromEast),this.push.pushItems(this.push.fromEast,this.gridster.$options.disablePushOnResize),this.gridster.checkCollision(this.gridsterItem.$item)){this.gridsterItem.$item.x=this.itemBackup[0],this.gridsterItem.$item.cols=this.itemBackup[2],this.left=this.gridster.positionXToPixels(this.gridsterItem.$item.x),this.setItemLeft(this.gridster.positionXToPixels(this.gridsterItem.$item.x)),this.setItemWidth(this.gridster.positionXToPixels(this.gridsterItem.$item.cols)-this.margin);return}else this.gridster.previewStyle();this.pushResize.checkPushBack(),this.push.checkPushBack()}this.setItemLeft(this.left),this.setItemWidth(this.width)},this.handleSouth=i=>{if(this.height=i.clientY+this.offsetTop-this.diffBottom-this.top,this.minHeight>this.height&&(this.height=this.minHeight),this.bottom=this.top+this.height,this.gridster.options.enableBoundaryControl){let s=this.outerMarginBottom??this.margin,a=this.gridster.el.getBoundingClientRect();this.bottom=Math.min(this.bottom,a.bottom-a.top-2*s),this.height=this.bottom-this.top}let n=this.gridster.options.pushItems?0:this.margin;if(this.newPosition=this.gridster.pixelsToPositionY(this.bottom+n,Math.ceil),this.gridsterItem.$item.y+this.gridsterItem.$item.rows!==this.newPosition){if(this.itemBackup[3]=this.gridsterItem.$item.rows,this.gridsterItem.$item.rows=this.newPosition-this.gridsterItem.$item.y,this.pushResize.pushItems(this.pushResize.fromNorth),this.push.pushItems(this.push.fromNorth,this.gridster.$options.disablePushOnResize),this.gridster.checkCollision(this.gridsterItem.$item)){this.gridsterItem.$item.rows=this.itemBackup[3],this.setItemHeight(this.gridster.positionYToPixels(this.gridsterItem.$item.rows)-this.margin);return}else this.gridster.previewStyle();this.pushResize.checkPushBack(),this.push.checkPushBack()}this.setItemHeight(this.height)},this.handleEast=i=>{let n=this.gridster.$options.dirType===ot.RTL?this.originalClientX+(this.originalClientX-i.clientX):i.clientX;if(this.width=n+this.offsetLeft-this.diffRight-this.left,this.minWidth>this.width&&(this.width=this.minWidth),this.right=this.left+this.width,this.gridster.options.enableBoundaryControl){let a=this.outerMarginRight??this.margin,l=this.gridster.el.getBoundingClientRect();this.right=Math.min(this.right,l.right-l.left-2*a),this.width=this.right-this.left}let s=this.gridster.options.pushItems?0:this.margin;if(this.newPosition=this.gridster.pixelsToPositionX(this.right+s,Math.ceil),this.gridsterItem.$item.x+this.gridsterItem.$item.cols!==this.newPosition){if(this.itemBackup[2]=this.gridsterItem.$item.cols,this.gridsterItem.$item.cols=this.newPosition-this.gridsterItem.$item.x,this.pushResize.pushItems(this.pushResize.fromWest),this.push.pushItems(this.push.fromWest,this.gridster.$options.disablePushOnResize),this.gridster.checkCollision(this.gridsterItem.$item)){this.gridsterItem.$item.cols=this.itemBackup[2],this.setItemWidth(this.gridster.positionXToPixels(this.gridsterItem.$item.cols)-this.margin);return}else this.gridster.previewStyle();this.pushResize.checkPushBack(),this.push.checkPushBack()}this.setItemWidth(this.width)},this.handleNorthWest=i=>{this.handleNorth(i),this.handleWest(i)},this.handleNorthEast=i=>{this.handleNorth(i),this.handleEast(i)},this.handleSouthWest=i=>{this.handleSouth(i),this.handleWest(i)},this.handleSouthEast=i=>{this.handleSouth(i),this.handleEast(i)},this.gridsterItem=e,this.gridster=o,this.lastMouse={clientX:0,clientY:0},this.itemBackup=[0,0,0,0],this.resizeEventScrollType={west:!1,east:!1,north:!1,south:!1}}destroy(){this.gridster?.previewStyle(),this.gridster=this.gridsterItem=null}dragStart(e){if(e.which&&e.which!==1)return;this.gridster.options.resizable&&this.gridster.options.resizable.start&&this.gridster.options.resizable.start(this.gridsterItem.item,this.gridsterItem,e),e.stopPropagation(),e.preventDefault(),this.zone.runOutsideAngular(()=>{this.mousemove=this.gridsterItem.renderer.listen("document","mousemove",this.dragMove),this.touchmove=this.gridster.renderer.listen(this.gridster.el,"touchmove",this.dragMove)}),this.mouseup=this.gridsterItem.renderer.listen("document","mouseup",this.dragStop),this.mouseleave=this.gridsterItem.renderer.listen("document","mouseleave",this.dragStop),this.cancelOnBlur=this.gridsterItem.renderer.listen("window","blur",this.dragStop),this.touchend=this.gridsterItem.renderer.listen("document","touchend",this.dragStop),this.touchcancel=this.gridsterItem.renderer.listen("document","touchcancel",this.dragStop),this.gridsterItem.renderer.addClass(this.gridsterItem.el,"gridster-item-resizing"),this.lastMouse.clientX=e.clientX,this.lastMouse.clientY=e.clientY,this.left=this.gridsterItem.left,this.top=this.gridsterItem.top,this.originalClientX=e.clientX,this.originalClientY=e.clientY,this.width=this.gridsterItem.width,this.height=this.gridsterItem.height,this.bottom=this.gridsterItem.top+this.gridsterItem.height,this.right=this.gridsterItem.left+this.gridsterItem.width,this.margin=this.gridster.$options.margin,this.outerMarginTop=this.gridster.$options.outerMarginTop,this.outerMarginRight=this.gridster.$options.outerMarginRight,this.outerMarginBottom=this.gridster.$options.outerMarginBottom,this.outerMarginLeft=this.gridster.$options.outerMarginLeft,this.offsetLeft=this.gridster.el.scrollLeft-this.gridster.el.offsetLeft,this.offsetTop=this.gridster.el.scrollTop-this.gridster.el.offsetTop,this.diffLeft=e.clientX+this.offsetLeft-this.left,this.diffRight=e.clientX+this.offsetLeft-this.right,this.diffTop=e.clientY+this.offsetTop-this.top,this.diffBottom=e.clientY+this.offsetTop-this.bottom,this.minHeight=this.gridster.positionYToPixels(this.gridsterItem.$item.minItemRows||this.gridster.$options.minItemRows)-this.margin,this.minWidth=this.gridster.positionXToPixels(this.gridsterItem.$item.minItemCols||this.gridster.$options.minItemCols)-this.margin,this.gridster.movingItem=this.gridsterItem.$item,this.gridster.previewStyle(),this.push=new Bn(this.gridsterItem),this.pushResize=new Hl(this.gridsterItem),this.gridster.dragInProgress=!0,this.gridster.updateGrid();let{classList:o}=e.target;o.contains("handle-n")?(this.resizeEventScrollType.north=!0,this.directionFunction=this.handleNorth):o.contains("handle-w")?this.gridster.$options.dirType===ot.RTL?(this.resizeEventScrollType.east=!0,this.directionFunction=this.handleEast):(this.resizeEventScrollType.west=!0,this.directionFunction=this.handleWest):o.contains("handle-s")?(this.resizeEventScrollType.south=!0,this.directionFunction=this.handleSouth):o.contains("handle-e")?this.gridster.$options.dirType===ot.RTL?(this.resizeEventScrollType.west=!0,this.directionFunction=this.handleWest):(this.resizeEventScrollType.east=!0,this.directionFunction=this.handleEast):o.contains("handle-nw")?this.gridster.$options.dirType===ot.RTL?(this.resizeEventScrollType.north=!0,this.resizeEventScrollType.east=!0,this.directionFunction=this.handleNorthEast):(this.resizeEventScrollType.north=!0,this.resizeEventScrollType.west=!0,this.directionFunction=this.handleNorthWest):o.contains("handle-ne")?this.gridster.$options.dirType===ot.RTL?(this.resizeEventScrollType.north=!0,this.resizeEventScrollType.west=!0,this.directionFunction=this.handleNorthWest):(this.resizeEventScrollType.north=!0,this.resizeEventScrollType.east=!0,this.directionFunction=this.handleNorthEast):o.contains("handle-sw")?this.gridster.$options.dirType===ot.RTL?(this.resizeEventScrollType.south=!0,this.resizeEventScrollType.east=!0,this.directionFunction=this.handleSouthEast):(this.resizeEventScrollType.south=!0,this.resizeEventScrollType.west=!0,this.directionFunction=this.handleSouthWest):o.contains("handle-se")&&(this.gridster.$options.dirType===ot.RTL?(this.resizeEventScrollType.south=!0,this.resizeEventScrollType.west=!0,this.directionFunction=this.handleSouthWest):(this.resizeEventScrollType.south=!0,this.resizeEventScrollType.east=!0,this.directionFunction=this.handleSouthEast))}toggle(){this.resizeEnabled=this.gridsterItem.canBeResized(),this.resizableHandles=this.gridsterItem.getResizableHandles()}dragStartDelay(e){if(ut.checkTouchEvent(e),!this.gridster.$options.resizable.delayStart){this.dragStart(e);return}let o=setTimeout(()=>{this.dragStart(e),p()},this.gridster.$options.resizable.delayStart),{cancelMouse:t,cancelMouseLeave:i,cancelOnBlur:n,cancelTouchMove:s,cancelTouchEnd:a,cancelTouchCancel:l}=this.zone.runOutsideAngular(()=>{let v=this.gridsterItem.renderer.listen("document","mouseup",p),y=this.gridsterItem.renderer.listen("document","mouseleave",p),I=this.gridsterItem.renderer.listen("window","blur",p),D=this.gridsterItem.renderer.listen("document","touchmove",m),F=this.gridsterItem.renderer.listen("document","touchend",p),j=this.gridsterItem.renderer.listen("document","touchcancel",p);return{cancelMouse:v,cancelMouseLeave:y,cancelOnBlur:I,cancelTouchMove:D,cancelTouchEnd:F,cancelTouchCancel:j}});function m(v){ut.checkTouchEvent(v),(Math.abs(v.clientX-e.clientX)>9||Math.abs(v.clientY-e.clientY)>9)&&p()}function p(){clearTimeout(o),n(),t(),i(),s(),a(),l()}}setItemTop(e){this.gridster.gridRenderer.setCellPosition(this.gridsterItem.renderer,this.gridsterItem.el,this.left,e)}setItemLeft(e){this.gridster.gridRenderer.setCellPosition(this.gridsterItem.renderer,this.gridsterItem.el,e,this.top)}setItemHeight(e){this.gridsterItem.renderer.setStyle(this.gridsterItem.el,"height",e+"px")}setItemWidth(e){this.gridsterItem.renderer.setStyle(this.gridsterItem.el,"width",e+"px")}},ge=(()=>{let e=class e{get zIndex(){return this.getLayerIndex()+this.gridster.$options.baseLayerIndex}constructor(t,i,n,s){this.renderer=n,this.zone=s,this.itemInit=new Z,this.itemChange=new Z,this.itemResize=new Z,this.el=t.nativeElement,this.$item={cols:-1,rows:-1,x:-1,y:-1},this.gridster=i,this.drag=new Ul(this,i,this.zone),this.resize=new Gl(this,i,this.zone)}ngOnInit(){this.gridster.addItem(this)}ngOnChanges(t){t.item&&(this.updateOptions(),this.init||this.gridster.calculateLayout$.next()),t.item&&t.item.previousValue&&this.setSize()}updateOptions(){this.$item=ut.merge(this.$item,this.item,{cols:void 0,rows:void 0,x:void 0,y:void 0,layerIndex:void 0,dragEnabled:void 0,resizeEnabled:void 0,compactEnabled:void 0,maxItemRows:void 0,minItemRows:void 0,maxItemCols:void 0,minItemCols:void 0,maxItemArea:void 0,minItemArea:void 0,resizableHandles:{s:void 0,e:void 0,n:void 0,w:void 0,se:void 0,ne:void 0,sw:void 0,nw:void 0}})}ngOnDestroy(){this.gridster.removeItem(this),this.drag.destroy(),this.resize.destroy(),this.gridster=this.drag=this.resize=null}setSize(){this.renderer.setStyle(this.el,"display",this.notPlaced?"":"block"),this.gridster.gridRenderer.updateItem(this.el,this.$item,this.renderer),this.updateItemSize()}updateItemSize(){let t=this.$item.y*this.gridster.curRowHeight,i=this.$item.x*this.gridster.curColWidth,n=this.$item.cols*this.gridster.curColWidth-this.gridster.$options.margin,s=this.$item.rows*this.gridster.curRowHeight-this.gridster.$options.margin;this.top=t,this.left=i,!this.init&&n>0&&s>0&&(this.init=!0,this.item.initCallback&&this.item.initCallback(this.item,this),this.gridster.options.itemInitCallback&&this.gridster.options.itemInitCallback(this.item,this),this.itemInit.next({item:this.item,itemComponent:this}),this.gridster.$options.scrollToNewItems&&this.el.scrollIntoView(!1)),(n!==this.width||s!==this.height)&&(this.width=n,this.height=s,this.gridster.options.itemResizeCallback&&this.gridster.options.itemResizeCallback(this.item,this),this.itemResize.next({item:this.item,itemComponent:this}))}itemChanged(){this.gridster.options.itemChangeCallback&&this.gridster.options.itemChangeCallback(this.item,this),this.itemChange.next({item:this.item,itemComponent:this})}checkItemChanges(t,i){t.rows===i.rows&&t.cols===i.cols&&t.x===i.x&&t.y===i.y||(this.gridster.checkCollision(this.$item)?(this.$item.x=i.x||0,this.$item.y=i.y||0,this.$item.cols=i.cols||1,this.$item.rows=i.rows||1,this.setSize()):(this.item.cols=this.$item.cols,this.item.rows=this.$item.rows,this.item.x=this.$item.x,this.item.y=this.$item.y,this.gridster.calculateLayout$.next(),this.itemChanged()))}canBeDragged(){let t=this.gridster.$options.draggable.enabled,i=this.$item.dragEnabled===void 0?t:this.$item.dragEnabled;return!this.gridster.mobile&&t&&i}canBeResized(){let t=this.gridster.$options.resizable.enabled,i=this.$item.resizeEnabled===void 0?t:this.$item.resizeEnabled;return!this.gridster.mobile&&t&&i}getResizableHandles(){let t=this.gridster.$options.resizable.handles,i=this.$item.resizableHandles;return i===void 0?t:M(M({},t),i)}bringToFront(t){if(t&&t<=0)return;let i=this.getLayerIndex(),n=this.gridster.$options.maxLayerIndex;if(in?n:s}}sendToBack(t){if(t&&t<=0)return;let i=this.getLayerIndex();if(i>0){let n=t?i-t:0;this.item.layerIndex=this.$item.layerIndex=n<0?0:n}}getLayerIndex(){return this.item.layerIndex!==void 0?this.item.layerIndex:this.gridster.$options.defaultLayerIndex!==void 0?this.gridster.$options.defaultLayerIndex:0}};e.\u0275fac=function(i){return new(i||e)(x(U),x(ce),x(Wt),x(B))},e.\u0275cmp=R({type:e,selectors:[["gridster-item"]],hostVars:2,hostBindings:function(i,n){i&2&&Gs("z-index",n.zIndex)},inputs:{item:"item"},outputs:{itemInit:"itemInit",itemChange:"itemChange",itemResize:"itemResize"},standalone:!0,features:[Le,A],ngContentSelectors:Vh,decls:9,vars:8,consts:[[1,"gridster-item-resizable-handler","handle-s"],[1,"gridster-item-resizable-handler","handle-e"],[1,"gridster-item-resizable-handler","handle-n"],[1,"gridster-item-resizable-handler","handle-w"],[1,"gridster-item-resizable-handler","handle-se"],[1,"gridster-item-resizable-handler","handle-ne"],[1,"gridster-item-resizable-handler","handle-sw"],[1,"gridster-item-resizable-handler","handle-nw"],[1,"gridster-item-resizable-handler","handle-s",3,"mousedown","touchstart"],[1,"gridster-item-resizable-handler","handle-e",3,"mousedown","touchstart"],[1,"gridster-item-resizable-handler","handle-n",3,"mousedown","touchstart"],[1,"gridster-item-resizable-handler","handle-w",3,"mousedown","touchstart"],[1,"gridster-item-resizable-handler","handle-se",3,"mousedown","touchstart"],[1,"gridster-item-resizable-handler","handle-ne",3,"mousedown","touchstart"],[1,"gridster-item-resizable-handler","handle-sw",3,"mousedown","touchstart"],[1,"gridster-item-resizable-handler","handle-nw",3,"mousedown","touchstart"]],template:function(i,n){i&1&&(Re(),X(0),Q(1,j0,1,0,"div",0)(2,B0,1,0,"div",1)(3,W0,1,0,"div",2)(4,$0,1,0,"div",3)(5,U0,1,0,"div",4)(6,H0,1,0,"div",5)(7,G0,1,0,"div",6)(8,Y0,1,0,"div",7)),i&2&&(u(),N(n.resize.resizableHandles!=null&&n.resize.resizableHandles.s&&n.resize.resizeEnabled?1:-1),u(),N(n.resize.resizableHandles!=null&&n.resize.resizableHandles.e&&n.resize.resizeEnabled?2:-1),u(),N(n.resize.resizableHandles!=null&&n.resize.resizableHandles.n&&n.resize.resizeEnabled?3:-1),u(),N(n.resize.resizableHandles!=null&&n.resize.resizableHandles.w&&n.resize.resizeEnabled?4:-1),u(),N(n.resize.resizableHandles!=null&&n.resize.resizableHandles.se&&n.resize.resizeEnabled?5:-1),u(),N(n.resize.resizableHandles!=null&&n.resize.resizableHandles.ne&&n.resize.resizeEnabled?6:-1),u(),N(n.resize.resizableHandles!=null&&n.resize.resizableHandles.sw&&n.resize.resizeEnabled?7:-1),u(),N(n.resize.resizableHandles!=null&&n.resize.resizableHandles.nw&&n.resize.resizeEnabled?8:-1))},styles:[`gridster-item{box-sizing:border-box;z-index:1;position:absolute;overflow:hidden;transition:.3s;display:none;background:#fff;-webkit-user-select:text;user-select:text}gridster-item.gridster-item-moving{cursor:move}gridster-item.gridster-item-resizing,gridster-item.gridster-item-moving{transition:0s;z-index:2;box-shadow:0 0 5px 5px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.gridster-item-resizable-handler{position:absolute;z-index:2}.gridster-item-resizable-handler.handle-n{cursor:ns-resize;height:10px;right:0;top:0;left:0}.gridster-item-resizable-handler.handle-e{cursor:ew-resize;width:10px;bottom:0;right:0;top:0}.gridster-item-resizable-handler.handle-s{cursor:ns-resize;height:10px;right:0;bottom:0;left:0}.gridster-item-resizable-handler.handle-w{cursor:ew-resize;width:10px;left:0;top:0;bottom:0}.gridster-item-resizable-handler.handle-ne{cursor:ne-resize;width:10px;height:10px;right:0;top:0}.gridster-item-resizable-handler.handle-nw{cursor:nw-resize;width:10px;height:10px;left:0;top:0}.gridster-item-resizable-handler.handle-se{cursor:se-resize;width:0;height:0;right:0;bottom:0;border-style:solid;border-width:0 0 10px 10px;border-color:transparent}.gridster-item-resizable-handler.handle-sw{cursor:sw-resize;width:10px;height:10px;left:0;bottom:0}gridster-item:hover .gridster-item-resizable-handler.handle-se{border-color:transparent transparent #ccc} -`],encapsulation:2});let r=e;return r})();function Q0(r,e){if(r&1){let o=L();c(0,"gridster-item",8)(1,"div",9)(2,"button",10),g("mousedown",function(i){let n=b(o).$implicit,s=f();return _(s.removeItem(i,n))})("touchstart",function(i){let n=b(o).$implicit,s=f();return _(s.removeItem(i,n))}),c(3,"mat-icon"),h(4,"delete"),d()()()()}if(r&2){let o=e.$implicit;S("item",o)}}var Yh=(()=>{let e=class e{ngOnInit(){this.options={gridType:z.Fit,compactType:fe.None,pushItems:!0,draggable:{enabled:!0},resizable:{enabled:!0}},this.dashboard=[{cols:2,rows:1,y:0,x:0,initCallback:this.initItem.bind(this)},{cols:2,rows:2,y:0,x:2},{cols:1,rows:1,y:0,x:4},{cols:3,rows:2,y:1,x:4},{cols:1,rows:1,y:4,x:5},{cols:1,rows:1,y:2,x:1},{cols:2,rows:2,y:5,x:5},{cols:2,rows:2,y:3,x:2},{cols:2,rows:1,y:2,x:2},{cols:1,rows:1,y:3,x:4},{cols:1,rows:1,y:0,x:6}]}changedOptions(){this.options.api&&this.options.api.optionsChanged&&this.options.api.optionsChanged()}removeItem(t,i){t.preventDefault(),t.stopPropagation(),this.dashboard.splice(this.dashboard.indexOf(i),1)}addItem(){this.dashboard.push({x:0,y:0,cols:1,rows:1})}initItem(t,i){this.itemToPush=i}pushItem(){let t=new Bn(this.itemToPush);this.itemToPush.$item.rows+=4,t.pushItems(t.fromNorth)?(t.checkPushBack(),t.setPushedItems(),this.itemToPush.setSize(),this.itemToPush.checkItemChanges(this.itemToPush.$item,this.itemToPush.item)):(this.itemToPush.$item.rows-=4,t.restoreItems()),t.destroy()}getItemComponent(){this.options.api&&this.options.api.getItemComponent&&console.log(this.options.api.getItemComponent(this.dashboard[0]))}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=R({type:e,selectors:[["app-api"]],standalone:!0,features:[A],decls:17,vars:2,consts:[[1,"options"],["mat-raised-button","","href","https://github.com/tiberiuzuld/angular-gridster2/tree/master/src/app/sections/api","target","_blank",1,"source-code-button"],[3,"src"],[1,"options-header"],["mat-raised-button","","color","accent",1,"add-button","cols-2",3,"click"],["color","accent","mat-raised-button","",1,"add-button","cols-2",3,"click"],["mat-mini-fab","",1,"add-button","cols-2",3,"click"],[3,"options"],[3,"item"],[1,"button-holder"],["mat-mini-fab","",3,"mousedown","touchstart"]],template:function(i,n){i&1&&(c(0,"div",0)(1,"a",1)(2,"mat-icon"),h(3,"open_in_new"),d(),h(4," Source "),d(),O(5,"markdown",2),d(),c(6,"div",3)(7,"button",4),g("click",function(){return n.pushItem()}),h(8," Resize first item and push others "),d(),c(9,"button",5),g("click",function(){return n.getItemComponent()}),h(10," Get item component in console "),d(),c(11,"button",6),g("click",function(){return n.addItem()}),c(12,"mat-icon"),h(13,"add"),d()()(),c(14,"gridster",7),re(15,Q0,5,1,"gridster-item",8,_e),d()),i&2&&(u(5),S("src","assets/api.md"),u(9),S("options",n.options),u(),se(n.dashboard))},dependencies:[he,me,Es,xe,pe,ue,de,ve,ce,ge],encapsulation:2,changeDetection:0});let r=e;return r})();var K0=20,Xh=(()=>{let e=class e{constructor(t,i,n){this._ngZone=t,this._platform=i,this._scrolled=new W,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=n}register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){let i=this.scrollContainers.get(t);i&&(i.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=K0){return this._platform.isBrowser?new Dt(i=>{this._globalSubscription||this._addGlobalListener();let n=t>0?this._scrolled.pipe(Ns(t)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{n.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):$()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((t,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(t,i){let n=this.getAncestorScrollContainers(t);return this.scrolled(i).pipe(Oe(s=>!s||n.indexOf(s)>-1))}getAncestorScrollContainers(t){let i=[];return this.scrollContainers.forEach((n,s)=>{this._scrollableContainsElement(s,t)&&i.push(s)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(t,i){let n=yt(i),s=t.getElementRef().nativeElement;do if(n==s)return!0;while(n=n.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{let t=this._getWindow();return zs(t.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}};e.\u0275fac=function(i){return new(i||e)(E(B),E(Ce),E(ne,8))},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})();var J0=20,tr=(()=>{let e=class e{constructor(t,i,n){this._platform=t,this._change=new W,this._changeListener=s=>{this._change.next(s)},this._document=n,i.runOutsideAngular(()=>{if(t.isBrowser){let s=this._getWindow();s.addEventListener("resize",this._changeListener),s.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){let t=this._getWindow();t.removeEventListener("resize",this._changeListener),t.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){let t=this.getViewportScrollPosition(),{width:i,height:n}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+n,right:t.left+i,height:n,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let t=this._document,i=this._getWindow(),n=t.documentElement,s=n.getBoundingClientRect(),a=-s.top||t.body.scrollTop||i.scrollY||n.scrollTop||0,l=-s.left||t.body.scrollLeft||i.scrollX||n.scrollLeft||0;return{top:a,left:l}}change(t=J0){return t>0?this._change.pipe(Ns(t)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}};e.\u0275fac=function(i){return new(i||e)(E(Ce),E(B),E(ne,8))},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})();var Wn=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=J({type:e}),e.\u0275inj=K({});let r=e;return r})(),ql=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=J({type:e}),e.\u0275inj=K({imports:[Ei,Wn,Ei,Wn]});let r=e;return r})();var ir=class{attach(e){return this._attachedHost=e,e.attach(this)}detach(){let e=this._attachedHost;e!=null&&(this._attachedHost=null,e.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(e){this._attachedHost=e}},Zl=class extends ir{constructor(e,o,t,i,n){super(),this.component=e,this.viewContainerRef=o,this.injector=t,this.componentFactoryResolver=i,this.projectableNodes=n}},ln=class extends ir{constructor(e,o,t,i){super(),this.templateRef=e,this.viewContainerRef=o,this.context=t,this.injector=i}get origin(){return this.templateRef.elementRef}attach(e,o=this.context){return this.context=o,super.attach(e)}detach(){return this.context=void 0,super.detach()}},Ql=class extends ir{constructor(e){super(),this.element=e instanceof U?e.nativeElement:e}},Kl=class{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(e){if(e instanceof Zl)return this._attachedPortal=e,this.attachComponentPortal(e);if(e instanceof ln)return this._attachedPortal=e,this.attachTemplatePortal(e);if(this.attachDomPortal&&e instanceof Ql)return this._attachedPortal=e,this.attachDomPortal(e)}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(e){this._disposeFn=e}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}};var nr=class extends Kl{constructor(e,o,t,i,n){super(),this.outletElement=e,this._componentFactoryResolver=o,this._appRef=t,this._defaultInjector=i,this.attachDomPortal=s=>{this._document;let a=s.element;a.parentNode;let 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=n}attachComponentPortal(e){let t=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),i;return e.viewContainerRef?(i=e.viewContainerRef.createComponent(t,e.viewContainerRef.length,e.injector||e.viewContainerRef.injector,e.projectableNodes||void 0),this.setDisposeFn(()=>i.destroy())):(i=t.create(e.injector||this._defaultInjector||wt.NULL),this._appRef.attachView(i.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(i.hostView),i.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(i)),this._attachedPortal=e,i}attachTemplatePortal(e){let o=e.viewContainerRef,t=o.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return t.rootNodes.forEach(i=>this.outletElement.appendChild(i)),t.detectChanges(),this.setDisposeFn(()=>{let i=o.indexOf(t);i!==-1&&o.remove(i)}),this._attachedPortal=e,t}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(e){return e.hostView.rootNodes[0]}};var Zh=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=J({type:e}),e.\u0275inj=K({});let r=e;return r})();var Qh=vd(),Jl=class{constructor(e,o){this._viewportRuler=e,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=o}attach(){}enable(){if(this._canBeEnabled()){let e=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=e.style.left||"",this._previousHTMLStyles.top=e.style.top||"",e.style.left=Ze(-this._previousScrollPosition.left),e.style.top=Ze(-this._previousScrollPosition.top),e.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let e=this._document.documentElement,o=this._document.body,t=e.style,i=o.style,n=t.scrollBehavior||"",s=i.scrollBehavior||"";this._isEnabled=!1,t.left=this._previousHTMLStyles.left,t.top=this._previousHTMLStyles.top,e.classList.remove("cdk-global-scrollblock"),Qh&&(t.scrollBehavior=i.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Qh&&(t.scrollBehavior=n,i.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let o=this._document.body,t=this._viewportRuler.getViewportSize();return o.scrollHeight>t.height||o.scrollWidth>t.width}};var ec=class{constructor(e,o,t,i){this._scrollDispatcher=e,this._ngZone=o,this._viewportRuler=t,this._config=i,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(e){this._overlayRef,this._overlayRef=e}enable(){if(this._scrollSubscription)return;let e=this._scrollDispatcher.scrolled(0).pipe(Oe(o=>!o||!this._overlayRef.overlayElement.contains(o.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=e.subscribe(()=>{let o=this._viewportRuler.getViewportScrollPosition().top;Math.abs(o-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=e.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},Ds=class{enable(){}disable(){}attach(){}};function tc(r,e){return e.some(o=>{let t=r.bottomo.bottom,n=r.righto.right;return t||i||n||s})}function Kh(r,e){return e.some(o=>{let t=r.topo.bottom,n=r.lefto.right;return t||i||n||s})}var ic=class{constructor(e,o,t,i){this._scrollDispatcher=e,this._viewportRuler=o,this._ngZone=t,this._config=i,this._scrollSubscription=null}attach(e){this._overlayRef,this._overlayRef=e}enable(){if(!this._scrollSubscription){let e=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(e).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let o=this._overlayRef.overlayElement.getBoundingClientRect(),{width:t,height:i}=this._viewportRuler.getViewportSize();tc(o,[{width:t,height:i,bottom:i,right:t,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}},ev=(()=>{let e=class e{constructor(t,i,n,s){this._scrollDispatcher=t,this._viewportRuler=i,this._ngZone=n,this.noop=()=>new Ds,this.close=a=>new ec(this._scrollDispatcher,this._ngZone,this._viewportRuler,a),this.block=()=>new Jl(this._viewportRuler,this._document),this.reposition=a=>new ic(this._scrollDispatcher,this._viewportRuler,this._ngZone,a),this._document=s}};e.\u0275fac=function(i){return new(i||e)(E(Xh),E(tr),E(B),E(ne))},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})(),$n=class{constructor(e){if(this.scrollStrategy=new Ds,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,e){let o=Object.keys(e);for(let t of o)e[t]!==void 0&&(this[t]=e[t])}}};var nc=class{constructor(e,o){this.connectionPair=e,this.scrollableViewProperties=o}};var nu=(()=>{let e=class e{constructor(t){this._attachedOverlays=[],this._document=t}ngOnDestroy(){this.detach()}add(t){this.remove(t),this._attachedOverlays.push(t)}remove(t){let i=this._attachedOverlays.indexOf(t);i>-1&&this._attachedOverlays.splice(i,1),this._attachedOverlays.length===0&&this.detach()}};e.\u0275fac=function(i){return new(i||e)(E(ne))},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})(),tv=(()=>{let e=class e extends nu{constructor(t,i){super(t),this._ngZone=i,this._keydownListener=n=>{let s=this._attachedOverlays;for(let a=s.length-1;a>-1;a--)if(s[a]._keydownEvents.observers.length>0){let l=s[a]._keydownEvents;this._ngZone?this._ngZone.run(()=>l.next(n)):l.next(n);break}}}add(t){super.add(t),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)}};e.\u0275fac=function(i){return new(i||e)(E(ne),E(B,8))},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})(),iv=(()=>{let e=class e extends nu{constructor(t,i,n){super(t),this._platform=i,this._ngZone=n,this._cursorStyleIsSet=!1,this._pointerDownListener=s=>{this._pointerDownEventTarget=Mt(s)},this._clickListener=s=>{let a=Mt(s),l=s.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:a;this._pointerDownEventTarget=null;let m=this._attachedOverlays.slice();for(let p=m.length-1;p>-1;p--){let v=m[p];if(v._outsidePointerEvents.observers.length<1||!v.hasAttached())continue;if(v.overlayElement.contains(a)||v.overlayElement.contains(l))break;let y=v._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>y.next(s)):y.next(s)}}}add(t){if(super.add(t),!this._isAttached){let 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){let t=this._document.body;t.removeEventListener("pointerdown",this._pointerDownListener,!0),t.removeEventListener("click",this._clickListener,!0),t.removeEventListener("auxclick",this._clickListener,!0),t.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(t.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(t){t.addEventListener("pointerdown",this._pointerDownListener,!0),t.addEventListener("click",this._clickListener,!0),t.addEventListener("auxclick",this._clickListener,!0),t.addEventListener("contextmenu",this._clickListener,!0)}};e.\u0275fac=function(i){return new(i||e)(E(ne),E(Ce),E(B,8))},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})(),ou=(()=>{let e=class e{constructor(t,i){this._platform=i,this._document=t}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let t="cdk-overlay-container";if(this._platform.isBrowser||lo()){let n=this._document.querySelectorAll(`.${t}[platform="server"], .${t}[platform="test"]`);for(let s=0;sthis._backdropClick.next(y),this._backdropTransitionendHandler=y=>{this._disposeBackdrop(y.target)},this._keydownEvents=new W,this._outsidePointerEvents=new W,this._renders=new W,i.scrollStrategy&&(this._scrollStrategy=i.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=i.positionStrategy,this._afterRenderRef=jc(()=>xr(()=>{this._renders.next()},{injector:this._injector}))}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(e){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);let o=this._portalOutlet.attach(e);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),pn(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),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),typeof o?.onDestroy=="function"&&o.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),o}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let e=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),e}dispose(){let 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),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,e&&this._detachments.next(),this._detachments.complete(),this._afterRenderRef.destroy(),this._renders.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(e){e!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=e,this.hasAttached()&&(e.attach(this),this.updatePosition()))}updateSize(e){this._config=M(M({},this._config),e),this._updateElementSize()}setDirection(e){this._config=le(M({},this._config),{direction:e}),this._updateElementDirection()}addPanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!0)}removePanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!1)}getDirection(){let e=this._config.direction;return e?typeof e=="string"?e:e.value:"ltr"}updateScrollStrategy(e){e!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=e,this.hasAttached()&&(e.attach(this),e.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let e=this._pane.style;e.width=Ze(this._config.width),e.height=Ze(this._config.height),e.minWidth=Ze(this._config.minWidth),e.minHeight=Ze(this._config.minHeight),e.maxWidth=Ze(this._config.maxWidth),e.maxHeight=Ze(this._config.maxHeight)}_togglePointerEvents(e){this._pane.style.pointerEvents=e?"":"none"}_attachBackdrop(){let e="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(e)})}):this._backdropElement.classList.add(e)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let e=this._backdropElement;if(e){if(this._animationsDisabled){this._disposeBackdrop(e);return}e.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{e.addEventListener("transitionend",this._backdropTransitionendHandler)}),e.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(e)},500))}}_toggleClasses(e,o,t){let i=bn(o||[]).filter(n=>!!n);i.length&&(t?e.classList.add(...i):e.classList.remove(...i))}_detachContentWhenEmpty(){this._ngZone.runOutsideAngular(()=>{let e=this._renders.pipe(Me(mt(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||this._pane.children.length===0)&&(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()),e.unsubscribe())})})}_disposeScrollStrategy(){let e=this._scrollStrategy;e&&(e.disable(),e.detach&&e.detach())}_disposeBackdrop(e){e&&(e.removeEventListener("click",this._backdropClickHandler),e.removeEventListener("transitionend",this._backdropTransitionendHandler),e.remove(),this._backdropElement===e&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}},Jh="cdk-overlay-connected-position-bounding-box",nv=/([A-Za-z%]+)$/,rc=class{get positions(){return this._preferredPositions}constructor(e,o,t,i,n){this._viewportRuler=o,this._document=t,this._platform=i,this._overlayContainer=n,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 W,this._resizeSubscription=Ye.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(e)}attach(e){this._overlayRef&&this._overlayRef,this._validatePositions(),e.hostElement.classList.add(Jh),this._overlayRef=e,this._boundingBox=e.hostElement,this._pane=e.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){this.reapplyLastPosition();return}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();let e=this._originRect,o=this._overlayRect,t=this._viewportRect,i=this._containerRect,n=[],s;for(let a of this._preferredPositions){let l=this._getOriginPoint(e,i,a),m=this._getOverlayPoint(l,o,a),p=this._getOverlayFit(m,o,t,a);if(p.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(a,l);return}if(this._canFitWithFlexibleDimensions(p,m,t)){n.push({position:a,origin:l,overlayRect:o,boundingBoxRect:this._calculateBoundingBoxRect(l,a)});continue}(!s||s.overlayFit.visibleAreal&&(l=p,a=m)}this._isPushed=!1,this._applyPosition(a.position,a.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(s.position,s.originPoint);return}this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&cn(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Jh),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let e=this._lastPosition;if(e){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let o=this._getOriginPoint(this._originRect,this._containerRect,e);this._applyPosition(e,o)}else this.apply()}withScrollableContainers(e){return this._scrollables=e,this}withPositions(e){return this._preferredPositions=e,e.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(e){return this._viewportMargin=e,this}withFlexibleDimensions(e=!0){return this._hasFlexibleDimensions=e,this}withGrowAfterOpen(e=!0){return this._growAfterOpen=e,this}withPush(e=!0){return this._canPush=e,this}withLockedPosition(e=!0){return this._positionLocked=e,this}setOrigin(e){return this._origin=e,this}withDefaultOffsetX(e){return this._offsetX=e,this}withDefaultOffsetY(e){return this._offsetY=e,this}withTransformOriginOn(e){return this._transformOriginSelector=e,this}_getOriginPoint(e,o,t){let i;if(t.originX=="center")i=e.left+e.width/2;else{let s=this._isRtl()?e.right:e.left,a=this._isRtl()?e.left:e.right;i=t.originX=="start"?s:a}o.left<0&&(i-=o.left);let n;return t.originY=="center"?n=e.top+e.height/2:n=t.originY=="top"?e.top:e.bottom,o.top<0&&(n-=o.top),{x:i,y:n}}_getOverlayPoint(e,o,t){let i;t.overlayX=="center"?i=-o.width/2:t.overlayX==="start"?i=this._isRtl()?-o.width:0:i=this._isRtl()?0:-o.width;let n;return t.overlayY=="center"?n=-o.height/2:n=t.overlayY=="top"?0:-o.height,{x:e.x+i,y:e.y+n}}_getOverlayFit(e,o,t,i){let n=tu(o),{x:s,y:a}=e,l=this._getOffset(i,"x"),m=this._getOffset(i,"y");l&&(s+=l),m&&(a+=m);let p=0-s,v=s+n.width-t.width,y=0-a,I=a+n.height-t.height,D=this._subtractOverflows(n.width,p,v),F=this._subtractOverflows(n.height,y,I),j=D*F;return{visibleArea:j,isCompletelyWithinViewport:n.width*n.height===j,fitsInViewportVertically:F===n.height,fitsInViewportHorizontally:D==n.width}}_canFitWithFlexibleDimensions(e,o,t){if(this._hasFlexibleDimensions){let i=t.bottom-o.y,n=t.right-o.x,s=eu(this._overlayRef.getConfig().minHeight),a=eu(this._overlayRef.getConfig().minWidth),l=e.fitsInViewportVertically||s!=null&&s<=i,m=e.fitsInViewportHorizontally||a!=null&&a<=n;return l&&m}return!1}_pushOverlayOnScreen(e,o,t){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};let i=tu(o),n=this._viewportRect,s=Math.max(e.x+i.width-n.width,0),a=Math.max(e.y+i.height-n.height,0),l=Math.max(n.top-t.top-e.y,0),m=Math.max(n.left-t.left-e.x,0),p=0,v=0;return i.width<=n.width?p=m||-s:p=e.xD&&!this._isInitialRender&&!this._growAfterOpen&&(s=e.y-D/2)}let l=o.overlayX==="start"&&!i||o.overlayX==="end"&&i,m=o.overlayX==="end"&&!i||o.overlayX==="start"&&i,p,v,y;if(m)y=t.width-e.x+this._viewportMargin*2,p=e.x-this._viewportMargin;else if(l)v=e.x,p=t.right-e.x;else{let I=Math.min(t.right-e.x+t.left,e.x),D=this._lastBoundingBoxSize.width;p=I*2,v=e.x-I,p>D&&!this._isInitialRender&&!this._growAfterOpen&&(v=e.x-D/2)}return{top:s,left:v,bottom:a,right:y,width:p,height:n}}_setBoundingBoxStyles(e,o){let t=this._calculateBoundingBoxRect(e,o);!this._isInitialRender&&!this._growAfterOpen&&(t.height=Math.min(t.height,this._lastBoundingBoxSize.height),t.width=Math.min(t.width,this._lastBoundingBoxSize.width));let i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right=i.maxHeight=i.maxWidth="",i.width=i.height="100%";else{let n=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;i.height=Ze(t.height),i.top=Ze(t.top),i.bottom=Ze(t.bottom),i.width=Ze(t.width),i.left=Ze(t.left),i.right=Ze(t.right),o.overlayX==="center"?i.alignItems="center":i.alignItems=o.overlayX==="end"?"flex-end":"flex-start",o.overlayY==="center"?i.justifyContent="center":i.justifyContent=o.overlayY==="bottom"?"flex-end":"flex-start",n&&(i.maxHeight=Ze(n)),s&&(i.maxWidth=Ze(s))}this._lastBoundingBoxSize=t,cn(this._boundingBox.style,i)}_resetBoundingBoxStyles(){cn(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){cn(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(e,o){let t={},i=this._hasExactPosition(),n=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(i){let p=this._viewportRuler.getViewportScrollPosition();cn(t,this._getExactOverlayY(o,e,p)),cn(t,this._getExactOverlayX(o,e,p))}else t.position="static";let a="",l=this._getOffset(o,"x"),m=this._getOffset(o,"y");l&&(a+=`translateX(${l}px) `),m&&(a+=`translateY(${m}px)`),t.transform=a.trim(),s.maxHeight&&(i?t.maxHeight=Ze(s.maxHeight):n&&(t.maxHeight="")),s.maxWidth&&(i?t.maxWidth=Ze(s.maxWidth):n&&(t.maxWidth="")),cn(this._pane.style,t)}_getExactOverlayY(e,o,t){let i={top:"",bottom:""},n=this._getOverlayPoint(o,this._overlayRect,e);if(this._isPushed&&(n=this._pushOverlayOnScreen(n,this._overlayRect,t)),e.overlayY==="bottom"){let s=this._document.documentElement.clientHeight;i.bottom=`${s-(n.y+this._overlayRect.height)}px`}else i.top=Ze(n.y);return i}_getExactOverlayX(e,o,t){let i={left:"",right:""},n=this._getOverlayPoint(o,this._overlayRect,e);this._isPushed&&(n=this._pushOverlayOnScreen(n,this._overlayRect,t));let s;if(this._isRtl()?s=e.overlayX==="end"?"left":"right":s=e.overlayX==="end"?"right":"left",s==="right"){let a=this._document.documentElement.clientWidth;i.right=`${a-(n.x+this._overlayRect.width)}px`}else i.left=Ze(n.x);return i}_getScrollVisibility(){let e=this._getOriginRect(),o=this._pane.getBoundingClientRect(),t=this._scrollables.map(i=>i.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Kh(e,t),isOriginOutsideView:tc(e,t),isOverlayClipped:Kh(o,t),isOverlayOutsideView:tc(o,t)}}_subtractOverflows(e,...o){return o.reduce((t,i)=>t-Math.max(i,0),e)}_getNarrowedViewportRect(){let e=this._document.documentElement.clientWidth,o=this._document.documentElement.clientHeight,t=this._viewportRuler.getViewportScrollPosition();return{top:t.top+this._viewportMargin,left:t.left+this._viewportMargin,right:t.left+e-this._viewportMargin,bottom:t.top+o-this._viewportMargin,width:e-2*this._viewportMargin,height:o-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(e,o){return o==="x"?e.offsetX==null?this._offsetX:e.offsetX:e.offsetY==null?this._offsetY:e.offsetY}_validatePositions(){}_addPanelClasses(e){this._pane&&bn(e).forEach(o=>{o!==""&&this._appliedPanelClasses.indexOf(o)===-1&&(this._appliedPanelClasses.push(o),this._pane.classList.add(o))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(e=>{this._pane.classList.remove(e)}),this._appliedPanelClasses=[])}_getOriginRect(){let e=this._origin;if(e instanceof U)return e.nativeElement.getBoundingClientRect();if(e instanceof Element)return e.getBoundingClientRect();let o=e.width||0,t=e.height||0;return{top:e.y,bottom:e.y+t,left:e.x,right:e.x+o,height:t,width:o}}};function cn(r,e){for(let o in e)e.hasOwnProperty(o)&&(r[o]=e[o]);return r}function eu(r){if(typeof r!="number"&&r!=null){let[e,o]=r.split(nv);return!o||o==="px"?parseFloat(e):null}return r||null}function tu(r){return{top:Math.floor(r.top),right:Math.floor(r.right),bottom:Math.floor(r.bottom),left:Math.floor(r.left),width:Math.floor(r.width),height:Math.floor(r.height)}}function ov(r,e){return r===e?!0:r.isOriginClipped===e.isOriginClipped&&r.isOriginOutsideView===e.isOriginOutsideView&&r.isOverlayClipped===e.isOverlayClipped&&r.isOverlayOutsideView===e.isOverlayOutsideView}var iu="cdk-global-overlay-wrapper",sc=class{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(e){let o=e.getConfig();this._overlayRef=e,this._width&&!o.width&&e.updateSize({width:this._width}),this._height&&!o.height&&e.updateSize({height:this._height}),e.hostElement.classList.add(iu),this._isDisposed=!1}top(e=""){return this._bottomOffset="",this._topOffset=e,this._alignItems="flex-start",this}left(e=""){return this._xOffset=e,this._xPosition="left",this}bottom(e=""){return this._topOffset="",this._bottomOffset=e,this._alignItems="flex-end",this}right(e=""){return this._xOffset=e,this._xPosition="right",this}start(e=""){return this._xOffset=e,this._xPosition="start",this}end(e=""){return this._xOffset=e,this._xPosition="end",this}width(e=""){return this._overlayRef?this._overlayRef.updateSize({width:e}):this._width=e,this}height(e=""){return this._overlayRef?this._overlayRef.updateSize({height:e}):this._height=e,this}centerHorizontally(e=""){return this.left(e),this._xPosition="center",this}centerVertically(e=""){return this.top(e),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let e=this._overlayRef.overlayElement.style,o=this._overlayRef.hostElement.style,t=this._overlayRef.getConfig(),{width:i,height:n,maxWidth:s,maxHeight:a}=t,l=(i==="100%"||i==="100vw")&&(!s||s==="100%"||s==="100vw"),m=(n==="100%"||n==="100vh")&&(!a||a==="100%"||a==="100vh"),p=this._xPosition,v=this._xOffset,y=this._overlayRef.getConfig().direction==="rtl",I="",D="",F="";l?F="flex-start":p==="center"?(F="center",y?D=v:I=v):y?p==="left"||p==="end"?(F="flex-end",I=v):(p==="right"||p==="start")&&(F="flex-start",D=v):p==="left"||p==="start"?(F="flex-start",I=v):(p==="right"||p==="end")&&(F="flex-end",D=v),e.position=this._cssPosition,e.marginLeft=l?"0":I,e.marginTop=m?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=l?"0":D,o.justifyContent=F,o.alignItems=m?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let e=this._overlayRef.overlayElement.style,o=this._overlayRef.hostElement,t=o.style;o.classList.remove(iu),t.justifyContent=t.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}},rv=(()=>{let e=class e{constructor(t,i,n,s){this._viewportRuler=t,this._document=i,this._platform=n,this._overlayContainer=s}global(){return new sc}flexibleConnectedTo(t){return new rc(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}};e.\u0275fac=function(i){return new(i||e)(E(tr),E(ne),E(Ce),E(ou))},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})(),sv=0,Lt=(()=>{let e=class e{constructor(t,i,n,s,a,l,m,p,v,y,I,D){this.scrollStrategies=t,this._overlayContainer=i,this._componentFactoryResolver=n,this._positionBuilder=s,this._keyboardDispatcher=a,this._injector=l,this._ngZone=m,this._document=p,this._directionality=v,this._location=y,this._outsideClickDispatcher=I,this._animationsModuleType=D}create(t){let i=this._createHostElement(),n=this._createPaneElement(i),s=this._createPortalOutlet(n),a=new $n(t);return a.direction=a.direction||this._directionality.value,new oc(s,i,n,a,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations",this._injector.get(yi))}position(){return this._positionBuilder}_createPaneElement(t){let i=this._document.createElement("div");return i.id=`cdk-overlay-${sv++}`,i.classList.add("cdk-overlay-pane"),t.appendChild(i),i}_createHostElement(){let t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t}_createPortalOutlet(t){return this._appRef||(this._appRef=this._injector.get(Wi)),new nr(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}};e.\u0275fac=function(i){return new(i||e)(E(ev),E(ou),E(_r),E(rv),E(tv),E(wt),E(B),E(ne),E(li),E(gn),E(iv),E(Je,8))},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})(),av=[{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"}],ru=new P("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let r=T(Lt);return()=>r.scrollStrategies.reposition()}}),or=(()=>{let e=class e{constructor(t){this.elementRef=t}};e.\u0275fac=function(i){return new(i||e)(x(U))},e.\u0275dir=Y({type:e,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0});let r=e;return r})(),lc=(()=>{let e=class e{get offsetX(){return this._offsetX}set offsetX(t){this._offsetX=t,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(t){this._offsetY=t,this._position&&this._updatePositionStrategy(this._position)}get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(t){this._disposeOnNavigation=t}constructor(t,i,n,s,a){this._overlay=t,this._dir=a,this._backdropSubscription=Ye.EMPTY,this._attachSubscription=Ye.EMPTY,this._detachSubscription=Ye.EMPTY,this._positionSubscription=Ye.EMPTY,this._disposeOnNavigation=!1,this._ngZone=T(B),this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.hasBackdrop=!1,this.lockPosition=!1,this.flexibleDimensions=!1,this.growAfterOpen=!1,this.push=!1,this.backdropClick=new Z,this.positionChange=new Z,this.attach=new Z,this.detach=new Z,this.overlayKeydown=new Z,this.overlayOutsideClick=new Z,this._templatePortal=new ln(i,n),this._scrollStrategyFactory=s,this.scrollStrategy=this._scrollStrategyFactory()}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(t){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),t.origin&&this.open&&this._position.apply()),t.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=av);let t=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=t.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=t.detachments().subscribe(()=>this.detach.emit()),t.keydownEvents().subscribe(i=>{this.overlayKeydown.next(i),i.keyCode===27&&!this.disableClose&&!Ht(i)&&(i.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(i=>{let n=this._getOriginElement(),s=Mt(i);(!n||n!==s&&!n.contains(s))&&this.overlayOutsideClick.next(i)})}_buildConfig(){let t=this._position=this.positionStrategy||this._createPositionStrategy(),i=new $n({direction:this._dir,positionStrategy:t,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||this.width===0)&&(i.width=this.width),(this.height||this.height===0)&&(i.height=this.height),(this.minWidth||this.minWidth===0)&&(i.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(i.minHeight=this.minHeight),this.backdropClass&&(i.backdropClass=this.backdropClass),this.panelClass&&(i.panelClass=this.panelClass),i}_updatePositionStrategy(t){let i=this.positions.map(n=>({originX:n.originX,originY:n.originY,overlayX:n.overlayX,overlayY:n.overlayY,offsetX:n.offsetX||this.offsetX,offsetY:n.offsetY||this.offsetY,panelClass:n.panelClass||void 0}));return t.setOrigin(this._getOrigin()).withPositions(i).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){let t=this._overlay.position().flexibleConnectedTo(this._getOrigin());return this._updatePositionStrategy(t),t}_getOrigin(){return this.origin instanceof or?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof or?this.origin.elementRef.nativeElement:this.origin instanceof U?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}_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(t=>{this.backdropClick.emit(t)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(vc(()=>this.positionChange.observers.length>0)).subscribe(t=>{this._ngZone.run(()=>this.positionChange.emit(t)),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}};e.\u0275fac=function(i){return new(i||e)(x(Lt),x(Bi),x(Xt),x(ru),x(li,8))},e.\u0275dir=Y({type:e,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[0,"cdkConnectedOverlayOrigin","origin"],positions:[0,"cdkConnectedOverlayPositions","positions"],positionStrategy:[0,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[0,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[0,"cdkConnectedOverlayOffsetY","offsetY"],width:[0,"cdkConnectedOverlayWidth","width"],height:[0,"cdkConnectedOverlayHeight","height"],minWidth:[0,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[0,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[0,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[0,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[0,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[0,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[0,"cdkConnectedOverlayOpen","open"],disableClose:[0,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[0,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[2,"cdkConnectedOverlayHasBackdrop","hasBackdrop",ie],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",ie],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",ie],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",ie],push:[2,"cdkConnectedOverlayPush","push",ie],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",ie]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[He,Le]});let r=e;return r})();function lv(r){return()=>r.scrollStrategies.reposition()}var cv={provide:ru,deps:[Lt],useFactory:lv},Rs=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=J({type:e}),e.\u0275inj=K({providers:[Lt,cv],imports:[Ei,Zh,ql,ql]});let r=e;return r})();var cc=class{constructor(e){this._box=e,this._destroyed=new W,this._resizeSubject=new W,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(o=>this._resizeSubject.next(o)))}observe(e){return this._elementObservables.has(e)||this._elementObservables.set(e,new Dt(o=>{let t=this._resizeSubject.subscribe(o);return this._resizeObserver?.observe(e,{box:this._box}),()=>{this._resizeObserver?.unobserve(e),t.unsubscribe(),this._elementObservables.delete(e)}}).pipe(Oe(o=>o.some(t=>t.target===e)),Xn({bufferSize:1,refCount:!0}),Me(this._destroyed))),this._elementObservables.get(e)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},su=(()=>{let e=class e{constructor(){this._observers=new Map,this._ngZone=T(B),typeof ResizeObserver<"u"}ngOnDestroy(){for(let[,t]of this._observers)t.destroy();this._observers.clear(),typeof ResizeObserver<"u"}observe(t,i){let n=i?.box||"content-box";return this._observers.has(n)||this._observers.set(n,new cc(n)),this._observers.get(n).observe(t)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})();var mv=["notch"],hv=["matFormFieldNotchedOutline",""],uv=["*"],pv=["textField"],fv=["iconPrefixContainer"],gv=["textPrefixContainer"],bv=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],_v=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function vv(r,e){r&1&&O(0,"span",19)}function xv(r,e){if(r&1&&(c(0,"label",18),X(1,1),Q(2,vv,1,0,"span",19),d()),r&2){let o=f(2);S("floating",o._shouldLabelFloat())("monitorResize",o._hasOutline())("id",o._labelId),be("for",o._control.disableAutomaticLabeling?null:o._control.id),u(2),N(!o.hideRequiredMarker&&o._control.required?2:-1)}}function yv(r,e){if(r&1&&Q(0,xv,3,5,"label",18),r&2){let o=f();N(o._hasFloatingLabel()?0:-1)}}function wv(r,e){r&1&&O(0,"div",5)}function Cv(r,e){}function kv(r,e){if(r&1&&Q(0,Cv,0,0,"ng-template",11),r&2){f(2);let o=At(1);S("ngTemplateOutlet",o)}}function Mv(r,e){if(r&1&&(c(0,"div",7),Q(1,kv,1,1,null,11),d()),r&2){let o=f();S("matFormFieldNotchedOutlineOpen",o._shouldLabelFloat()),u(),N(o._forceDisplayInfixLabel()?-1:1)}}function Iv(r,e){r&1&&(c(0,"div",8,2),X(2,2),d())}function Ev(r,e){r&1&&(c(0,"div",9,3),X(2,3),d())}function Sv(r,e){}function Tv(r,e){if(r&1&&Q(0,Sv,0,0,"ng-template",11),r&2){f();let o=At(1);S("ngTemplateOutlet",o)}}function Dv(r,e){r&1&&(c(0,"div",12),X(1,4),d())}function Rv(r,e){r&1&&(c(0,"div",13),X(1,5),d())}function Av(r,e){r&1&&O(0,"div",14)}function Ov(r,e){if(r&1&&(c(0,"div",16),X(1,6),d()),r&2){let o=f();S("@transitionMessages",o._subscriptAnimationState)}}function Fv(r,e){if(r&1&&(c(0,"mat-hint",20),h(1),d()),r&2){let o=f(2);S("id",o._hintLabelId),u(),qe(o.hintLabel)}}function Pv(r,e){if(r&1&&(c(0,"div",17),Q(1,Fv,2,2,"mat-hint",20),X(2,7),O(3,"div",21),X(4,8),d()),r&2){let o=f();S("@transitionMessages",o._subscriptAnimationState),u(),N(o.hintLabel?1:-1)}}var Os=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=Y({type:e,selectors:[["mat-label"]],standalone:!0});let r=e;return r})();var Lv=new P("MatError");var zv=0,au=(()=>{let e=class e{constructor(){this.align="start",this.id=`mat-mdc-hint-${zv++}`}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=Y({type:e,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(i,n){i&2&&(wi("id",n.id),be("align",null),oe("mat-mdc-form-field-hint-end",n.align==="end"))},inputs:{align:"align",id:"id"},standalone:!0});let r=e;return r})(),Nv=new P("MatPrefix");var Vv=new P("MatSuffix");var fu=new P("FloatingLabelParent"),lu=(()=>{let e=class e{get floating(){return this._floating}set floating(t){this._floating=t,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(t){this._monitorResize=t,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(t){this._elementRef=t,this._floating=!1,this._monitorResize=!1,this._resizeObserver=T(su),this._ngZone=T(B),this._parent=T(fu),this._resizeSubscription=new Ye}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return jv(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}};e.\u0275fac=function(i){return new(i||e)(x(U))},e.\u0275dir=Y({type:e,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(i,n){i&2&&oe("mdc-floating-label--float-above",n.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"},standalone:!0});let r=e;return r})();function jv(r){let e=r;if(e.offsetParent!==null)return e.scrollWidth;let o=e.cloneNode(!0);o.style.setProperty("position","absolute"),o.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(o);let t=o.scrollWidth;return o.remove(),t}var cu="mdc-line-ripple--active",As="mdc-line-ripple--deactivating",du=(()=>{let e=class e{constructor(t,i){this._elementRef=t,this._handleTransitionEnd=n=>{let s=this._elementRef.nativeElement.classList,a=s.contains(As);n.propertyName==="opacity"&&a&&s.remove(cu,As)},i.runOutsideAngular(()=>{t.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){let t=this._elementRef.nativeElement.classList;t.remove(As),t.add(cu)}deactivate(){this._elementRef.nativeElement.classList.add(As)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}};e.\u0275fac=function(i){return new(i||e)(x(U),x(B))},e.\u0275dir=Y({type:e,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"],standalone:!0});let r=e;return r})(),mu=(()=>{let e=class e{constructor(t,i){this._elementRef=t,this._ngZone=i,this.open=!1}ngAfterViewInit(){let t=this._elementRef.nativeElement.querySelector(".mdc-floating-label");t?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(t.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>t.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(t){!this.open||!t?this._notch.nativeElement.style.width="":this._notch.nativeElement.style.width=`calc(${t}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`}};e.\u0275fac=function(i){return new(i||e)(x(U),x(B))},e.\u0275cmp=R({type:e,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(i,n){if(i&1&&Ve(mv,5),i&2){let s;ee(s=te())&&(n._notch=s.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(i,n){i&2&&oe("mdc-notched-outline--notched",n.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},standalone:!0,features:[A],attrs:hv,ngContentSelectors:uv,decls:5,vars:0,consts:[["notch",""],[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],[1,"mdc-notched-outline__trailing"]],template:function(i,n){i&1&&(Re(),O(0,"div",1),c(1,"div",2,0),X(3),d(),O(4,"div",3))},encapsulation:2,changeDetection:0});let r=e;return r})(),Bv={transitionMessages:Ci("transitionMessages",[Ui("enter",Ct({opacity:1,transform:"translateY(0%)"})),qt("void => enter",[Ct({opacity:0,transform:"translateY(-5px)"}),si("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},rr=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=Y({type:e});let r=e;return r})();var sr=new P("MatFormField"),Wv=new P("MAT_FORM_FIELD_DEFAULT_OPTIONS"),hu=0,uu="fill",$v="auto",pu="fixed",Uv="translateY(-50%)",Be=(()=>{let e=class e{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(t){this._hideRequiredMarker=kt(t)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||$v}set floatLabel(t){t!==this._floatLabel&&(this._floatLabel=t,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(t){let i=this._appearance,n=t||this._defaults?.appearance||uu;this._appearance=n,this._appearance==="outline"&&this._appearance!==i&&(this._needsOutlineLabelOffsetUpdate=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||pu}set subscriptSizing(t){this._subscriptSizing=t||this._defaults?.subscriptSizing||pu}get hintLabel(){return this._hintLabel}set hintLabel(t){this._hintLabel=t,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(t){this._explicitFormFieldControl=t}constructor(t,i,n,s,a,l,m,p){this._elementRef=t,this._changeDetectorRef=i,this._dir=s,this._platform=a,this._defaults=l,this._animationMode=m,this._hideRequiredMarker=!1,this.color="primary",this._appearance=uu,this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId=`mat-mdc-form-field-label-${hu++}`,this._hintLabelId=`mat-mdc-hint-${hu++}`,this._subscriptAnimationState="",this._destroyed=new W,this._isFocused=null,this._needsOutlineLabelOffsetUpdate=!1,this._injector=T(wt),l&&(l.appearance&&(this.appearance=l.appearance),this._hideRequiredMarker=!!l?.hideRequiredMarker,l.color&&(this.color=l.color))}ngAfterViewInit(){this._updateFocusState(),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(){let t=this._control;t.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${t.controlType}`),t.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),t.ngControl&&t.ngControl.valueChanges&&t.ngControl.valueChanges.pipe(Me(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(t=>!t._isText),this._hasTextPrefix=!!this._prefixChildren.find(t=>t._isText),this._hasIconSuffix=!!this._suffixChildren.find(t=>!t._isText),this._hasTextSuffix=!!this._suffixChildren.find(t=>t._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),mt(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){this._control}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||this._isFocused===null)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0),xr(()=>{this._needsOutlineLabelOffsetUpdate&&(this._needsOutlineLabelOffsetUpdate=!1,this._updateOutlineLabelOffset())},{injector:this._injector}),this._dir.change.pipe(Me(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0)}_shouldAlwaysFloat(){return this.floatLabel==="always"}_hasOutline(){return this.appearance==="outline"}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel(){return!!this._labelChildNonStatic||!!this._labelChildStatic}_shouldLabelFloat(){return this._control.shouldLabelFloat||this._shouldAlwaysFloat()}_shouldForward(t){let i=this._control?this._control.ngControl:null;return i&&i[t]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||!this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(0):this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){this._hintChildren}_syncDescribedByIds(){if(this._control){let t=[];if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&t.push(...this._control.userAriaDescribedBy.split(" ")),this._getDisplayedMessages()==="hint"){let i=this._hintChildren?this._hintChildren.find(s=>s.align==="start"):null,n=this._hintChildren?this._hintChildren.find(s=>s.align==="end"):null;i?t.push(i.id):this._hintLabel&&t.push(this._hintLabelId),n&&t.push(n.id)}else this._errorChildren&&t.push(...this._errorChildren.map(i=>i.id));this._control.setDescribedByIds(t)}}_updateOutlineLabelOffset(){if(!this._hasOutline()||!this._floatingLabel)return;let t=this._floatingLabel.element;if(!(this._iconPrefixContainer||this._textPrefixContainer)){t.style.transform="";return}if(!this._isAttachedToDom()){this._needsOutlineLabelOffsetUpdate=!0;return}let i=this._iconPrefixContainer?.nativeElement,n=this._textPrefixContainer?.nativeElement,s=i?.getBoundingClientRect().width??0,a=n?.getBoundingClientRect().width??0,l=this._dir.value==="rtl"?"-1":"1",m=`${s+a}px`,v=`calc(${l} * (${m} + var(--mat-mdc-form-field-label-offset-x, 0px)))`;t.style.transform=`var( - --mat-mdc-form-field-label-transform, - ${Uv} translateX(${v}) - )`}_isAttachedToDom(){let t=this._elementRef.nativeElement;if(t.getRootNode){let i=t.getRootNode();return i&&i!==t}return document.documentElement.contains(t)}};e.\u0275fac=function(i){return new(i||e)(x(U),x(Ge),x(B),x(li),x(Ce),x(Wv,8),x(Je,8),x(ne))},e.\u0275cmp=R({type:e,selectors:[["mat-form-field"]],contentQueries:function(i,n,s){if(i&1&&(Ne(s,Os,5),Ne(s,Os,7),Ne(s,rr,5),Ne(s,Nv,5),Ne(s,Vv,5),Ne(s,Lv,5),Ne(s,au,5)),i&2){let a;ee(a=te())&&(n._labelChildNonStatic=a.first),ee(a=te())&&(n._labelChildStatic=a.first),ee(a=te())&&(n._formFieldControl=a.first),ee(a=te())&&(n._prefixChildren=a),ee(a=te())&&(n._suffixChildren=a),ee(a=te())&&(n._errorChildren=a),ee(a=te())&&(n._hintChildren=a)}},viewQuery:function(i,n){if(i&1&&(Ve(pv,5),Ve(fv,5),Ve(gv,5),Ve(lu,5),Ve(mu,5),Ve(du,5)),i&2){let s;ee(s=te())&&(n._textField=s.first),ee(s=te())&&(n._iconPrefixContainer=s.first),ee(s=te())&&(n._textPrefixContainer=s.first),ee(s=te())&&(n._floatingLabel=s.first),ee(s=te())&&(n._notchedOutline=s.first),ee(s=te())&&(n._lineRipple=s.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(i,n){i&2&&oe("mat-mdc-form-field-label-always-float",n._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",n._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",n._hasIconSuffix)("mat-form-field-invalid",n._control.errorState)("mat-form-field-disabled",n._control.disabled)("mat-form-field-autofilled",n._control.autofilled)("mat-form-field-no-animations",n._animationMode==="NoopAnimations")("mat-form-field-appearance-fill",n.appearance=="fill")("mat-form-field-appearance-outline",n.appearance=="outline")("mat-form-field-hide-placeholder",n._hasFloatingLabel()&&!n._shouldLabelFloat())("mat-focused",n._control.focused)("mat-primary",n.color!=="accent"&&n.color!=="warn")("mat-accent",n.color==="accent")("mat-warn",n.color==="warn")("ng-untouched",n._shouldForward("untouched"))("ng-touched",n._shouldForward("touched"))("ng-pristine",n._shouldForward("pristine"))("ng-dirty",n._shouldForward("dirty"))("ng-valid",n._shouldForward("valid"))("ng-invalid",n._shouldForward("invalid"))("ng-pending",n._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],standalone:!0,features:[je([{provide:sr,useExisting:e},{provide:fu,useExisting:e}]),A],ngContentSelectors:_v,decls:18,vars:21,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(i,n){if(i&1){let s=L();Re(bv),Q(0,yv,1,1,"ng-template",null,0,Zs),c(2,"div",4,1),g("click",function(l){return b(s),_(n._control.onContainerClick(l))}),Q(4,wv,1,0,"div",5),c(5,"div",6),Q(6,Mv,2,2,"div",7)(7,Iv,3,0,"div",8)(8,Ev,3,0,"div",9),c(9,"div",10),Q(10,Tv,1,1,null,11),X(11),d(),Q(12,Dv,2,0,"div",12)(13,Rv,2,0,"div",13),d(),Q(14,Av,1,0,"div",14),d(),c(15,"div",15),Q(16,Ov,2,1,"div",16)(17,Pv,5,2,"div",17),d()}if(i&2){let s;u(2),oe("mdc-text-field--filled",!n._hasOutline())("mdc-text-field--outlined",n._hasOutline())("mdc-text-field--no-label",!n._hasFloatingLabel())("mdc-text-field--disabled",n._control.disabled)("mdc-text-field--invalid",n._control.errorState),u(2),N(!n._hasOutline()&&!n._control.disabled?4:-1),u(2),N(n._hasOutline()?6:-1),u(),N(n._hasIconPrefix?7:-1),u(),N(n._hasTextPrefix?8:-1),u(2),N(!n._hasOutline()||n._forceDisplayInfixLabel()?10:-1),u(2),N(n._hasTextSuffix?12:-1),u(),N(n._hasIconSuffix?13:-1),u(),N(n._hasOutline()?-1:14),u(),oe("mat-mdc-form-field-subscript-dynamic-size",n.subscriptSizing==="dynamic"),u(),N((s=n._getDisplayedMessages())==="error"?16:s==="hint"?17:-1)}},dependencies:[lu,mu,ea,du,au],styles:['.mdc-text-field{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{height:28px;width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}}.mdc-text-field__affix{height:28px;opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px,var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px,var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px,var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px,var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px,var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 64px/0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 64px/0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 96px/0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-floating-label{position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after,.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;pointer-events:none}.mdc-notched-outline__trailing{flex-grow:1}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{border-top:1px solid;border-bottom:1px solid}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{max-width:calc(100% - 12px*2)}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.mdc-text-field--filled{border-top-left-radius:var(--mdc-filled-text-field-container-shape);border-top-right-radius:var(--mdc-filled-text-field-container-shape);border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-caret-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-focus-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-hover-label-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-disabled-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-focus-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-hover-label-text-color)}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font);font-size:var(--mdc-filled-text-field-label-text-size);font-weight:var(--mdc-filled-text-field-label-text-weight);letter-spacing:var(--mdc-filled-text-field-label-text-tracking)}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color)}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-hover-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-focus-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-error-focus-active-indicator-color)}.mdc-text-field--filled .mdc-line-ripple::before{border-bottom-width:var(--mdc-filled-text-field-active-indicator-height)}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-caret-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-focus-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-hover-label-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-disabled-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-focus-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-hover-label-text-color)}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font);font-size:var(--mdc-outlined-text-field-label-text-size);font-weight:var(--mdc-outlined-text-field-label-text-weight);letter-spacing:var(--mdc-outlined-text-field-label-text-tracking)}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(.75*var(--mdc-outlined-text-field-label-text-size))}.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mdc-outlined-text-field-label-text-size)}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px,var(--mdc-outlined-text-field-container-shape))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px,var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-hover-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-focus-outline-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-disabled-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-hover-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-focus-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-outline-width)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-focus-outline-width)}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all;will-change:auto}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto;will-change:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-text-field-wrapper::before{content:none}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-infix{min-height:var(--mat-form-field-container-height);padding-top:var(--mat-form-field-filled-with-label-container-padding-top);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom)}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--mat-form-field-container-vertical-padding);padding-bottom:var(--mat-form-field-container-vertical-padding)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height)/2)}.mdc-text-field--filled .mat-mdc-floating-label{display:var(--mat-form-field-filled-label-display, block)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color)}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font);line-height:var(--mat-form-field-subscript-text-line-height);font-size:var(--mat-form-field-subscript-text-size);letter-spacing:var(--mat-form-field-subscript-text-tracking);font-weight:var(--mat-form-field-subscript-text-weight)}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color)}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity)}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color)}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";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;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color)}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font);line-height:var(--mat-form-field-container-text-line-height);font-size:var(--mat-form-field-container-text-size);letter-spacing:var(--mat-form-field-container-text-tracking);font-weight:var(--mat-form-field-container-text-weight)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%;z-index:0}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:0 12px;box-sizing:content-box}.mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-leading-icon-color)}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color)}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color)}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color)}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color)}.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-hover-trailing-icon-color)}.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-focus-trailing-icon-color)}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__affix{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea{transition:none}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}[dir=rtl] .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}'],encapsulation:2,data:{animation:[Bv.transitionMessages]},changeDetection:0});let r=e;return r})(),ar=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=J({type:e}),e.\u0275inj=K({imports:[Ie,Ut,Pr,Ie]});let r=e;return r})();var Hv=["trigger"],Gv=["panel"],Yv=[[["mat-select-trigger"]],"*"],Xv=["mat-select-trigger","*"];function qv(r,e){if(r&1&&(c(0,"span",4),h(1),d()),r&2){let o=f();u(),qe(o.placeholder)}}function Zv(r,e){r&1&&X(0)}function Qv(r,e){if(r&1&&(c(0,"span",11),h(1),d()),r&2){let o=f(2);u(),qe(o.triggerValue)}}function Kv(r,e){if(r&1&&(c(0,"span",5),Q(1,Zv,1,0)(2,Qv,2,1,"span",11),d()),r&2){let o=f();u(),N(o.customTrigger?1:2)}}function Jv(r,e){if(r&1){let o=L();c(0,"div",12,1),g("@transformPanel.done",function(i){b(o);let n=f();return _(n._panelDoneAnimatingStream.next(i.toState))})("keydown",function(i){b(o);let n=f();return _(n._handleKeydown(i))}),X(2,1),d()}if(r&2){let o=f();Lc("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",o._getPanelTheme(),""),S("ngClass",o.panelClass)("@transformPanel","showing"),be("id",o.id+"-panel")("aria-multiselectable",o.multiple)("aria-label",o.ariaLabel||null)("aria-labelledby",o._getPanelAriaLabelledby())}}var ex={transformPanelWrap:Ci("transformPanelWrap",[qt("* => void",qc("@transformPanel",[Xc()],{optional:!0}))]),transformPanel:Ci("transformPanel",[Ui("void",Ct({opacity:0,transform:"scale(1, 0.8)"})),qt("void => showing",si("120ms cubic-bezier(0, 0, 0.2, 1)",Ct({opacity:1,transform:"scale(1, 1)"}))),qt("* => void",si("100ms linear",Ct({opacity:0})))])};var gu=0,bu=new P("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{let r=T(Lt);return()=>r.scrollStrategies.reposition()}});function tx(r){return()=>r.scrollStrategies.reposition()}var ix=new P("MAT_SELECT_CONFIG"),nx={provide:bu,deps:[Lt],useFactory:tx},ox=new P("MatSelectTrigger"),dc=class{constructor(e,o){this.source=e,this.value=o}},pt=(()=>{let e=class e{_scrollOptionIntoView(t){let i=this.options.toArray()[t];if(i){let n=this.panel.nativeElement,s=Wd(t,this.options,this.optionGroups),a=i._getHostElement();t===0&&s===1?n.scrollTop=0:n.scrollTop=$d(a.offsetTop,a.offsetHeight,n.scrollTop,n.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(t){return new dc(this,t)}get focused(){return this._focused||this._panelOpen}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(t){this._hideSingleSelectionIndicator=t,this._syncParentProperties()}get placeholder(){return this._placeholder}set placeholder(t){this._placeholder=t,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(Tn.required)??!1}set required(t){this._required=t,this.stateChanges.next()}get multiple(){return this._multiple}set multiple(t){this._selectionModel,this._multiple=t}get compareWith(){return this._compareWith}set compareWith(t){this._compareWith=t,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(t){this._assignValue(t)&&this._onChange(t)}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(t){this._errorStateTracker.matcher=t}get id(){return this._id}set id(t){this._id=t||this._uid,this.stateChanges.next()}get errorState(){return this._errorStateTracker.errorState}set errorState(t){this._errorStateTracker.errorState=t}constructor(t,i,n,s,a,l,m,p,v,y,I,D,F,j){this._viewportRuler=t,this._changeDetectorRef=i,this._elementRef=a,this._dir=l,this._parentFormField=v,this.ngControl=y,this._liveAnnouncer=F,this._defaultOptions=j,this._positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}],this._panelOpen=!1,this._compareWith=(H,Pe)=>H===Pe,this._uid=`mat-select-${gu++}`,this._triggerAriaLabelledBy=null,this._destroy=new W,this.stateChanges=new W,this.disableAutomaticLabeling=!0,this._onChange=()=>{},this._onTouched=()=>{},this._valueId=`mat-select-value-${gu++}`,this._panelDoneAnimatingStream=new W,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this._multiple=!1,this.disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1,this.ariaLabel="",this.panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto",this._initialized=new W,this.optionSelectionChanges=Yn(()=>{let H=this.options;return H?H.changes.pipe(vt(H),$e(()=>mt(...H.map(Pe=>Pe.onSelectionChange)))):this._initialized.pipe($e(()=>this.optionSelectionChanges))}),this.openedChange=new Z,this._openedStream=this.openedChange.pipe(Oe(H=>H),G(()=>{})),this._closedStream=this.openedChange.pipe(Oe(H=>!H),G(()=>{})),this.selectionChange=new Z,this.valueChange=new Z,this._trackedModal=null,this._skipPredicate=H=>this.panelOpen?!1:H.disabled,this.ngControl&&(this.ngControl.valueAccessor=this),j?.typeaheadDebounceInterval!=null&&(this.typeaheadDebounceInterval=j.typeaheadDebounceInterval),this._errorStateTracker=new kn(s,y,p,m,this.stateChanges),this._scrollStrategyFactory=D,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(I)||0,this.id=this.id}ngOnInit(){this._selectionModel=new Ur(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(zi(),Me(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen)),this._viewportRuler.change().pipe(Me(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}ngAfterContentInit(){this._initialized.next(),this._initialized.complete(),this._initKeyManager(),this._selectionModel.changed.pipe(Me(this._destroy)).subscribe(t=>{t.added.forEach(i=>i.select()),t.removed.forEach(i=>i.deselect())}),this.options.changes.pipe(vt(null),Me(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){let t=this._getTriggerAriaLabelledby(),i=this.ngControl;if(t!==this._triggerAriaLabelledBy){let n=this._elementRef.nativeElement;this._triggerAriaLabelledBy=t,t?n.setAttribute("aria-labelledby",t):n.removeAttribute("aria-labelledby")}i&&(this._previousControl!==i.control&&(this._previousControl!==void 0&&i.disabled!==null&&i.disabled!==this.disabled&&(this.disabled=i.disabled),this._previousControl=i.control),this.updateErrorState())}ngOnChanges(t){(t.disabled||t.userAriaDescribedBy)&&this.stateChanges.next(),t.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval)}ngOnDestroy(){this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_applyModalPanelOwnership(){let t=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!t)return;let i=`${this.id}-panel`;this._trackedModal&&xa(this._trackedModal,"aria-owns",i),Td(t,"aria-owns",i),this._trackedModal=t}_clearFromModal(){if(!this._trackedModal)return;let t=`${this.id}-panel`;xa(this._trackedModal,"aria-owns",t),this._trackedModal=null}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched(),this.stateChanges.next())}writeValue(t){this._assignValue(t)}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){let t=this._selectionModel.selected.map(i=>i.viewValue);return this._isRtl()&&t.reverse(),t.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return this._dir?this._dir.value==="rtl":!1}_handleKeydown(t){this.disabled||(this.panelOpen?this._handleOpenKeydown(t):this._handleClosedKeydown(t))}_handleClosedKeydown(t){let i=t.keyCode,n=i===40||i===38||i===37||i===39,s=i===13||i===32,a=this._keyManager;if(!a.isTyping()&&s&&!Ht(t)||(this.multiple||t.altKey)&&n)t.preventDefault(),this.open();else if(!this.multiple){let l=this.selected;a.onKeydown(t);let m=this.selected;m&&l!==m&&this._liveAnnouncer.announce(m.viewValue,1e4)}}_handleOpenKeydown(t){let i=this._keyManager,n=t.keyCode,s=n===40||n===38,a=i.isTyping();if(s&&t.altKey)t.preventDefault(),this.close();else if(!a&&(n===13||n===32)&&i.activeItem&&!Ht(t))t.preventDefault(),i.activeItem._selectViaInteraction();else if(!a&&this._multiple&&n===65&&t.ctrlKey){t.preventDefault();let l=this.options.some(m=>!m.disabled&&!m.selected);this.options.forEach(m=>{m.disabled||(l?m.select():m.deselect())})}else{let l=i.activeItemIndex;i.onKeydown(t),this._multiple&&s&&t.shiftKey&&i.activeItem&&i.activeItemIndex!==l&&i.activeItem._selectViaInteraction()}}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe(ht(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(t){if(this.options.forEach(i=>i.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&t)Array.isArray(t),t.forEach(i=>this._selectOptionByValue(i)),this._sortValues();else{let i=this._selectOptionByValue(t);i?this._keyManager.updateActiveItem(i):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(t){let i=this.options.find(n=>{if(this._selectionModel.isSelected(n))return!1;try{return n.value!=null&&this._compareWith(n.value,t)}catch{return!1}});return i&&this._selectionModel.select(i),i}_assignValue(t){return t!==this._value||this._multiple&&Array.isArray(t)?(this.options&&this._setSelectionByValue(t),this._value=t,!0):!1}_getOverlayWidth(t){return this.panelWidth==="auto"?(t instanceof or?t.elementRef:t||this._elementRef).nativeElement.getBoundingClientRect().width:this.panelWidth===null?"":this.panelWidth}_syncParentProperties(){if(this.options)for(let t of this.options)t._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new Vr(this.options).withTypeAhead(this.typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){let t=mt(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(Me(t)).subscribe(i=>{this._onSelect(i.source,i.isUserInput),i.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),mt(...this.options.map(i=>i._stateChanges)).pipe(Me(t)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(t,i){let n=this._selectionModel.isSelected(t);t.value==null&&!this._multiple?(t.deselect(),this._selectionModel.clear(),this.value!=null&&this._propagateChanges(t.value)):(n!==t.selected&&(t.selected?this._selectionModel.select(t):this._selectionModel.deselect(t)),i&&this._keyManager.setActiveItem(t),this.multiple&&(this._sortValues(),i&&this.focus())),n!==this._selectionModel.isSelected(t)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){let t=this.options.toArray();this._selectionModel.sort((i,n)=>this.sortComparator?this.sortComparator(i,n,t):t.indexOf(i)-t.indexOf(n)),this.stateChanges.next()}}_propagateChanges(t){let i;this.multiple?i=this.selected.map(n=>n.value):i=this.selected?this.selected.value:t,this._value=i,this.valueChange.emit(i),this._onChange(i),this.selectionChange.emit(this._getChangeEvent(i)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let t=-1;for(let i=0;i0}focus(t){this._elementRef.nativeElement.focus(t)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;let t=this._parentFormField?.getLabelId(),i=t?t+" ":"";return this.ariaLabelledby?i+this.ariaLabelledby:t}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;let t=this._parentFormField?.getLabelId(),i=(t?t+" ":"")+this._valueId;return this.ariaLabelledby&&(i+=" "+this.ariaLabelledby),i}_panelDoneAnimating(t){this.openedChange.emit(t)}setDescribedByIds(t){t.length?this._elementRef.nativeElement.setAttribute("aria-describedby",t.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}};e.\u0275fac=function(i){return new(i||e)(x(tr),x(Ge),x(B),x($r),x(U),x(li,8),x(wo,8),x(Co,8),x(sr,8),x(ci,10),oi("tabindex"),x(bu),x(Ad),x(ix,8))},e.\u0275cmp=R({type:e,selectors:[["mat-select"]],contentQueries:function(i,n,s){if(i&1&&(Ne(s,ox,5),Ne(s,rt,5),Ne(s,Ta,5)),i&2){let a;ee(a=te())&&(n.customTrigger=a.first),ee(a=te())&&(n.options=a),ee(a=te())&&(n.optionGroups=a)}},viewQuery:function(i,n){if(i&1&&(Ve(Hv,5),Ve(Gv,5),Ve(lc,5)),i&2){let s;ee(s=te())&&(n.trigger=s.first),ee(s=te())&&(n.panel=s.first),ee(s=te())&&(n._overlayDir=s.first)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(i,n){i&1&&g("keydown",function(a){return n._handleKeydown(a)})("focus",function(){return n._onFocus()})("blur",function(){return n._onBlur()}),i&2&&(be("id",n.id)("tabindex",n.disabled?-1:n.tabIndex)("aria-controls",n.panelOpen?n.id+"-panel":null)("aria-expanded",n.panelOpen)("aria-label",n.ariaLabel||null)("aria-required",n.required.toString())("aria-disabled",n.disabled.toString())("aria-invalid",n.errorState)("aria-activedescendant",n._getAriaActiveDescendant()),oe("mat-mdc-select-disabled",n.disabled)("mat-mdc-select-invalid",n.errorState)("mat-mdc-select-required",n.required)("mat-mdc-select-empty",n.empty)("mat-mdc-select-multiple",n.multiple))},inputs:{userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[2,"disabled","disabled",ie],disableRipple:[2,"disableRipple","disableRipple",ie],tabIndex:[2,"tabIndex","tabIndex",t=>t==null?0:$i(t)],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",ie],placeholder:"placeholder",required:[2,"required","required",ie],multiple:[2,"multiple","multiple",ie],disableOptionCentering:[2,"disableOptionCentering","disableOptionCentering",ie],compareWith:"compareWith",value:"value",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[2,"typeaheadDebounceInterval","typeaheadDebounceInterval",$i],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],standalone:!0,features:[je([{provide:rr,useExisting:e},{provide:Sa,useExisting:e}]),He,Le,A],ngContentSelectors:Xv,decls:11,vars:8,consts:[["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],["panel",""],["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],[1,"mat-mdc-select-value"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"backdropClick","attach","detach","cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"keydown","ngClass"]],template:function(i,n){if(i&1){let s=L();Re(Yv),c(0,"div",2,0),g("click",function(){return b(s),_(n.open())}),c(3,"div",3),Q(4,qv,2,1,"span",4)(5,Kv,3,1,"span",5),d(),c(6,"div",6)(7,"div",7),Vi(),c(8,"svg",8),O(9,"path",9),d()()()(),Q(10,Jv,3,9,"ng-template",10),g("backdropClick",function(){return b(s),_(n.close())})("attach",function(){return b(s),_(n._onAttached())})("detach",function(){return b(s),_(n.close())})}if(i&2){let s=At(1);u(3),be("id",n._valueId),u(),N(n.empty?4:5),u(6),S("cdkConnectedOverlayPanelClass",n._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",n._scrollStrategy)("cdkConnectedOverlayOrigin",n._preferredOverlayOrigin||s)("cdkConnectedOverlayOpen",n.panelOpen)("cdkConnectedOverlayPositions",n._positions)("cdkConnectedOverlayWidth",n._overlayWidth)}},dependencies:[or,lc,Uc],styles:['.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color);font-family:var(--mat-select-trigger-text-font);line-height:var(--mat-select-trigger-text-line-height);font-size:var(--mat-select-trigger-text-size);font-weight:var(--mat-select-trigger-text-weight);letter-spacing:var(--mat-select-trigger-text-tracking)}div.mat-mdc-select-panel{box-shadow:var(--mat-select-container-elevation-shadow)}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color)}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow,.mat-form-field-invalid:not(.mat-form-field-disabled) .mat-mdc-form-field-infix::after{color:var(--mat-select-invalid-arrow-color)}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color)}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color)}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color)}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:GrayText}div.mat-mdc-select-panel{width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:static;background-color:var(--mat-select-panel-background-color)}.cdk-high-contrast-active div.mat-mdc-select-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}div.mat-mdc-select-panel .mat-mdc-option{--mdc-list-list-item-container-color: var(--mat-select-panel-background-color)}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color)}._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:var(--mat-select-arrow-transform)}'],encapsulation:2,data:{animation:[ex.transformPanel]},changeDetection:0});let r=e;return r})();var ft=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=J({type:e}),e.\u0275inj=K({providers:[nx],imports:[Ut,Rs,Da,Ie,Wn,ar,Da,Ie]});let r=e;return r})();function rx(r,e){if(r&1){let o=L();c(0,"gridster-item",20)(1,"div",21)(2,"button",22),g("mousedown",function(i){let n=b(o).$implicit,s=f();return _(s.removeItem(i,n))})("touchstart",function(i){let n=b(o).$implicit,s=f();return _(s.removeItem(i,n))}),c(3,"mat-icon"),h(4,"delete"),d()()()()}if(r&2){let o=e.$implicit;S("item",o)}}var _u=(()=>{let e=class e{ngOnInit(){this.options={gridType:z.Fit,compactType:fe.None,maxCols:10,maxRows:10,pushItems:!0,draggable:{enabled:!0},resizable:{enabled:!0}},this.dashboard=[{cols:2,rows:1,y:0,x:0},{cols:2,rows:2,y:0,x:2},{cols:1,rows:1,y:0,x:4},{cols:3,rows:2,y:1,x:4},{cols:1,rows:1,y:4,x:5},{cols:1,rows:1,y:2,x:1},{cols:2,rows:2,y:5,x:5},{cols:2,rows:2,y:3,x:2},{cols:2,rows:1,y:2,x:2},{cols:1,rows:1,y:3,x:4},{cols:1,rows:1,y:0,x:6}]}changedOptions(){this.options.api&&this.options.api.optionsChanged&&this.options.api.optionsChanged()}removeItem(t,i){t.preventDefault(),t.stopPropagation(),this.dashboard.splice(this.dashboard.indexOf(i),1)}addItem(){this.dashboard.push({x:0,y:0,cols:1,rows:1})}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=R({type:e,selectors:[["app-compact"]],standalone:!0,features:[A],decls:41,vars:3,consts:[[1,"options"],["mat-raised-button","","href","https://github.com/tiberiuzuld/angular-gridster2/tree/master/src/app/sections/compact","target","_blank",1,"source-code-button"],[3,"src"],[1,"options-header"],["aria-label","Compact type","placeholder","Compact Type",3,"ngModelChange","ngModel"],["value","none"],["value","compactUp"],["value","compactLeft"],["value","compactLeft&Up"],["value","compactUp&Left"],["value","compactRight"],["value","compactUp&Right"],["value","compactRight&Up"],["value","compactDown"],["value","compactDown&Left"],["value","compactLeft&Down"],["value","compactDown&Right"],["value","compactRight&Down"],["mat-mini-fab","",1,"add-button","cols-2",3,"click"],[3,"options"],[3,"item"],[1,"button-holder"],["mat-mini-fab","",3,"mousedown","touchstart"]],template:function(i,n){i&1&&(c(0,"div",0)(1,"a",1)(2,"mat-icon"),h(3,"open_in_new"),d(),h(4," Source "),d(),O(5,"markdown",2),d(),c(6,"div",3)(7,"mat-form-field")(8,"mat-select",4),k("ngModelChange",function(a){return C(n.options.compactType,a)||(n.options.compactType=a),a}),g("ngModelChange",function(){return n.changedOptions()}),c(9,"mat-option",5),h(10,"None"),d(),c(11,"mat-option",6),h(12,"Compact Up"),d(),c(13,"mat-option",7),h(14,"Compact Left"),d(),c(15,"mat-option",8),h(16,"Compact Left & Up"),d(),c(17,"mat-option",9),h(18,"Compact Up & Left"),d(),c(19,"mat-option",10),h(20,"Compact Right"),d(),c(21,"mat-option",11),h(22,"Compact Up & Right"),d(),c(23,"mat-option",12),h(24,"Compact Right & Up"),d(),c(25,"mat-option",13),h(26,"Compact Down"),d(),c(27,"mat-option",14),h(28,"Compact Down & Left"),d(),c(29,"mat-option",15),h(30,"Compact Left & Down"),d(),c(31,"mat-option",16),h(32,"Compact Down & Right"),d(),c(33,"mat-option",17),h(34,"Compact Right & Down"),d()()(),c(35,"button",18),g("click",function(){return n.addItem()}),c(36,"mat-icon"),h(37,"add"),d()()(),c(38,"gridster",19),re(39,rx,5,1,"gridster-item",20,_e),d()),i&2&&(u(5),S("src","assets/compact.md"),u(3),w("ngModel",n.options.compactType),u(30),S("options",n.options),u(),se(n.dashboard))},dependencies:[Se,Ee,ke,he,me,xe,pe,ue,ft,Be,pt,rt,de,ve,ce,ge],encapsulation:2,changeDetection:0});let r=e;return r})();function sx(r,e){if(r&1){let o=L();c(0,"gridster-item",10)(1,"div",11)(2,"button",12),g("mousedown",function(i){let n=b(o).$implicit,s=f();return _(s.removeItem(i,n))})("touchstart",function(i){let n=b(o).$implicit,s=f();return _(s.removeItem(i,n))}),c(3,"mat-icon"),h(4,"delete"),d()()()()}if(r&2){let o=e.$implicit;S("item",o)}}var vu=(()=>{let e=class e{ngOnInit(){this.options={gridType:z.Fit,displayGrid:ye.Always,pushItems:!0,draggable:{enabled:!0},resizable:{enabled:!0}},this.dashboard=[{cols:2,rows:1,y:0,x:0},{cols:2,rows:2,y:0,x:2},{cols:1,rows:1,y:0,x:4},{cols:3,rows:2,y:1,x:4},{cols:1,rows:1,y:4,x:5},{cols:1,rows:1,y:2,x:1},{cols:2,rows:2,y:5,x:5},{cols:2,rows:2,y:3,x:2},{cols:2,rows:1,y:2,x:2},{cols:1,rows:1,y:3,x:4},{cols:1,rows:1,y:0,x:6}]}changedOptions(){this.options.api&&this.options.api.optionsChanged&&this.options.api.optionsChanged()}removeItem(t,i){t.preventDefault(),t.stopPropagation(),this.dashboard.splice(this.dashboard.indexOf(i),1)}addItem(){this.dashboard.push({x:0,y:0,cols:1,rows:1})}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=R({type:e,selectors:[["app-display-grid"]],standalone:!0,features:[A],decls:21,vars:3,consts:[[1,"options"],["mat-raised-button","","href","https://github.com/tiberiuzuld/angular-gridster2/tree/master/src/app/sections/displayGrid","target","_blank",1,"source-code-button"],[3,"src"],[1,"options-header"],["aria-label","Display grid lines","placeholder","Display grid lines",3,"ngModelChange","ngModel"],["value","always"],["value","onDrag&Resize"],["value","none"],["mat-mini-fab","",1,"add-button","cols-2",3,"click"],[3,"options"],[3,"item"],[1,"button-holder"],["mat-mini-fab","",3,"mousedown","touchstart"]],template:function(i,n){i&1&&(c(0,"div",0)(1,"a",1)(2,"mat-icon"),h(3,"open_in_new"),d(),h(4," Source "),d(),O(5,"markdown",2),d(),c(6,"div",3)(7,"mat-form-field")(8,"mat-select",4),k("ngModelChange",function(a){return C(n.options.displayGrid,a)||(n.options.displayGrid=a),a}),g("ngModelChange",function(){return n.changedOptions()}),c(9,"mat-option",5),h(10,"Always"),d(),c(11,"mat-option",6),h(12,"On Drag & Resize"),d(),c(13,"mat-option",7),h(14,"None"),d()()(),c(15,"button",8),g("click",function(){return n.addItem()}),c(16,"mat-icon"),h(17,"add"),d()()(),c(18,"gridster",9),re(19,sx,5,1,"gridster-item",10,_e),d()),i&2&&(u(5),S("src","assets/displayGrid.md"),u(3),w("ngModel",n.options.displayGrid),u(10),S("options",n.options),u(),se(n.dashboard))},dependencies:[Se,Ee,ke,he,me,xe,pe,ue,ft,Be,pt,rt,de,ve,ce,ge],encapsulation:2,changeDetection:0});let r=e;return r})();var ax=["input"],lx=["label"],cx=["*"],dx=new P("mat-checkbox-default-options",{providedIn:"root",factory:yu});function yu(){return{color:"accent",clickAction:"check-indeterminate"}}var gt=function(r){return r[r.Init=0]="Init",r[r.Checked=1]="Checked",r[r.Unchecked=2]="Unchecked",r[r.Indeterminate=3]="Indeterminate",r}(gt||{}),mx={provide:yo,useExisting:Vt(()=>Fe),multi:!0},mc=class{},hx=0,xu=yu(),Fe=(()=>{let e=class e{focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(t){let i=new mc;return i.source=this,i.checked=t,i}_getAnimationTargetElement(){return this._inputElement?.nativeElement}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(t,i,n,s,a,l){this._elementRef=t,this._changeDetectorRef=i,this._ngZone=n,this._animationMode=a,this._options=l,this._animationClasses={uncheckedToChecked:"mdc-checkbox--anim-unchecked-checked",uncheckedToIndeterminate:"mdc-checkbox--anim-unchecked-indeterminate",checkedToUnchecked:"mdc-checkbox--anim-checked-unchecked",checkedToIndeterminate:"mdc-checkbox--anim-checked-indeterminate",indeterminateToChecked:"mdc-checkbox--anim-indeterminate-checked",indeterminateToUnchecked:"mdc-checkbox--anim-indeterminate-unchecked"},this.ariaLabel="",this.ariaLabelledby=null,this.labelPosition="after",this.name=null,this.change=new Z,this.indeterminateChange=new Z,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=gt.Init,this._controlValueAccessorChangeFn=()=>{},this._validatorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||xu,this.color=this._options.color||xu.color,this.tabIndex=parseInt(s)||0,this.id=this._uniqueId=`mat-mdc-checkbox-${++hx}`}ngOnChanges(t){t.required&&this._validatorChangeFn()}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(t){t!=this.checked&&(this._checked=t,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(t){t!==this.disabled&&(this._disabled=t,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(t){let i=t!=this._indeterminate;this._indeterminate=t,i&&(this._indeterminate?this._transitionCheckState(gt.Indeterminate):this._transitionCheckState(this.checked?gt.Checked:gt.Unchecked),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(t){this.checked=!!t}registerOnChange(t){this._controlValueAccessorChangeFn=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t}validate(t){return this.required&&t.value!==!0?{required:!0}:null}registerOnValidatorChange(t){this._validatorChangeFn=t}_transitionCheckState(t){let i=this._currentCheckState,n=this._getAnimationTargetElement();if(!(i===t||!n)&&(this._currentAnimationClass&&n.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(i,t),this._currentCheckState=t,this._currentAnimationClass.length>0)){n.classList.add(this._currentAnimationClass);let s=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{n.classList.remove(s)},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(){let t=this._options?.clickAction;!this.disabled&&t!=="noop"?(this.indeterminate&&t!=="check"&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?gt.Checked:gt.Unchecked),this._emitChangeEvent()):!this.disabled&&t==="noop"&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate)}_onInteractionEvent(t){t.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(t,i){if(this._animationMode==="NoopAnimations")return"";switch(t){case gt.Init:if(i===gt.Checked)return this._animationClasses.uncheckedToChecked;if(i==gt.Indeterminate)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case gt.Unchecked:return i===gt.Checked?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case gt.Checked:return i===gt.Unchecked?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case gt.Indeterminate:return i===gt.Checked?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(t){let i=this._inputElement;i&&(i.nativeElement.indeterminate=t)}_onInputClick(){this._handleInputClick()}_onTouchTargetClick(){this._handleInputClick(),this.disabled||this._inputElement.nativeElement.focus()}_preventBubblingFromLabel(t){t.target&&this._labelElement.nativeElement.contains(t.target)&&t.stopPropagation()}};e.\u0275fac=function(i){return new(i||e)(x(U),x(Ge),x(B),oi("tabindex"),x(Je,8),x(dx,8))},e.\u0275cmp=R({type:e,selectors:[["mat-checkbox"]],viewQuery:function(i,n){if(i&1&&(Ve(ax,5),Ve(lx,5),Ve(Zi,5)),i&2){let s;ee(s=te())&&(n._inputElement=s.first),ee(s=te())&&(n._labelElement=s.first),ee(s=te())&&(n.ripple=s.first)}},hostAttrs:[1,"mat-mdc-checkbox"],hostVars:14,hostBindings:function(i,n){i&2&&(wi("id",n.id),be("tabindex",null)("aria-label",null)("aria-labelledby",null),$t(n.color?"mat-"+n.color:"mat-accent"),oe("_mat-animation-noopable",n._animationMode==="NoopAnimations")("mdc-checkbox--disabled",n.disabled)("mat-mdc-checkbox-disabled",n.disabled)("mat-mdc-checkbox-checked",n.checked))},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],id:"id",required:[2,"required","required",ie],labelPosition:"labelPosition",name:"name",value:"value",disableRipple:[2,"disableRipple","disableRipple",ie],tabIndex:[2,"tabIndex","tabIndex",t=>t==null?void 0:$i(t)],color:"color",checked:[2,"checked","checked",ie],disabled:[2,"disabled","disabled",ie],indeterminate:[2,"indeterminate","indeterminate",ie]},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],standalone:!0,features:[je([mx,{provide:Ji,useExisting:e,multi:!0}]),He,Le,A],ngContentSelectors:cx,decls:15,vars:19,consts:[["checkbox",""],["input",""],["label",""],["mat-internal-form-field","",3,"click","labelPosition"],[1,"mdc-checkbox"],[1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"blur","click","change","checked","indeterminate","disabled","id","required","tabIndex"],[1,"mdc-checkbox__ripple"],[1,"mdc-checkbox__background"],["focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],["mat-ripple","",1,"mat-mdc-checkbox-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-label",3,"for"]],template:function(i,n){if(i&1){let s=L();Re(),c(0,"div",3),g("click",function(l){return b(s),_(n._preventBubblingFromLabel(l))}),c(1,"div",4,0)(3,"div",5),g("click",function(){return b(s),_(n._onTouchTargetClick())}),d(),c(4,"input",6,1),g("blur",function(){return b(s),_(n._onBlur())})("click",function(){return b(s),_(n._onInputClick())})("change",function(l){return b(s),_(n._onInteractionEvent(l))}),d(),O(6,"div",7),c(7,"div",8),Vi(),c(8,"svg",9),O(9,"path",10),d(),$s(),O(10,"div",11),d(),O(11,"div",12),d(),c(12,"label",13,2),X(14),d()()}if(i&2){let s=At(2);S("labelPosition",n.labelPosition),u(4),oe("mdc-checkbox--selected",n.checked),S("checked",n.checked)("indeterminate",n.indeterminate)("disabled",n.disabled)("id",n.inputId)("required",n.required)("tabIndex",n.disabled?-1:n.tabIndex),be("aria-label",n.ariaLabel||null)("aria-labelledby",n.ariaLabelledby)("aria-describedby",n.ariaDescribedby)("aria-checked",n.indeterminate?"mixed":null)("name",n.name)("value",n.value),u(7),S("matRippleTrigger",s)("matRippleDisabled",n.disableRipple||n.disabled)("matRippleCentered",!0),u(),S("for",n.inputId)}},dependencies:[Zi,Hd],styles:['.mdc-touch-target-wrapper{display:inline}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-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 mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:mdc-animation-deceleration-curve-timing-function;transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom}.mdc-checkbox[hidden]{display:none}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{border-color:CanvasText}}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{border-color:CanvasText}}@media all and (-ms-high-contrast: none){.mdc-checkbox .mdc-checkbox__focus-ring{display:none}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-checkbox__mixedmark{margin:0 1px}}.mdc-checkbox--disabled{cursor:default;pointer-events:none}.mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--upgraded .mdc-checkbox__checkmark{opacity:1}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear 0s;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear 0s;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background{transition:border-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit}.mdc-checkbox__native-control:disabled{cursor:default;pointer-events:none}.mdc-checkbox--touch{margin:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2)}.mdc-checkbox--touch .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);right:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);width:var(--mdc-checkbox-state-layer-size);height:var(--mdc-checkbox-state-layer-size)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 180ms 0ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark-path,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__mixedmark{transition:none}.mdc-checkbox{padding:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2);margin:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2)}.mdc-checkbox .mdc-checkbox__native-control[disabled]:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color);background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control[disabled]:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[disabled]:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true][disabled]~.mdc-checkbox__background{border-color:transparent;background-color:var(--mdc-checkbox-disabled-selected-icon-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}}.mdc-checkbox.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}@keyframes mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}}@keyframes mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}}.mdc-checkbox:hover.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:hover.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336}.mdc-checkbox:hover.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:hover.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336}.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}}.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox .mdc-checkbox__background{top:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2)}.mdc-checkbox .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);right:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);width:var(--mdc-checkbox-state-layer-size);height:var(--mdc-checkbox-state-layer-size)}.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:focus:not(:checked):not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-focus-icon-color);background-color:var(--mdc-checkbox-selected-focus-icon-color)}.mdc-checkbox:hover .mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-hover-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-hover-state-layer-color)}.mdc-checkbox:hover .mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-hover-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-focus-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-focus-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-focus-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-pressed-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-hover-state-layer-opacity);background-color:var(--mdc-checkbox-selected-hover-state-layer-color)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-hover-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-focus-state-layer-opacity);background-color:var(--mdc-checkbox-selected-focus-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-focus-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-pressed-state-layer-opacity);background-color:var(--mdc-checkbox-selected-pressed-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-pressed-state-layer-color)}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox .mdc-checkbox__background{-webkit-print-color-adjust:exact;color-adjust:exact}.mat-mdc-checkbox._mat-animation-noopable *,.mat-mdc-checkbox._mat-animation-noopable *::before{transition:none !important;animation:none !important}.mat-mdc-checkbox label{cursor:pointer}.mat-mdc-checkbox .mat-internal-form-field{color:var(--mat-checkbox-label-text-color);font-family:var(--mat-checkbox-label-text-font);line-height:var(--mat-checkbox-label-text-line-height);font-size:var(--mat-checkbox-label-text-size);letter-spacing:var(--mat-checkbox-label-text-tracking);font-weight:var(--mat-checkbox-label-text-weight)}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default;color:var(--mat-checkbox-disabled-label-color)}.mat-mdc-checkbox label:empty{display:none}.cdk-high-contrast-active .mat-mdc-checkbox.mat-mdc-checkbox-disabled{opacity:.5}.cdk-high-contrast-active .mat-mdc-checkbox .mdc-checkbox__checkmark{--mdc-checkbox-selected-checkmark-color: CanvasText;--mdc-checkbox-disabled-selected-checkmark-color: CanvasText}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}.mat-mdc-checkbox-ripple,.mdc-checkbox__ripple{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-checkbox-ripple:not(:empty),.mdc-checkbox__ripple:not(:empty){transform:translateZ(0)}.mat-mdc-checkbox-ripple .mat-ripple-element{opacity:.1}.mat-mdc-checkbox-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-checkbox-touch-target-display)}.mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0});let r=e;return r})();var We=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=J({type:e}),e.\u0275inj=K({imports:[Fe,Ie,Ie]});let r=e;return r})();var wu=Zt({passive:!0}),Cu=(()=>{let e=class e{constructor(t,i){this._platform=t,this._ngZone=i,this._monitoredElements=new Map}monitor(t){if(!this._platform.isBrowser)return Yt;let i=yt(t),n=this._monitoredElements.get(i);if(n)return n.subject;let s=new W,a="cdk-text-field-autofilled",l=m=>{m.animationName==="cdk-text-field-autofill-start"&&!i.classList.contains(a)?(i.classList.add(a),this._ngZone.run(()=>s.next({target:m.target,isAutofilled:!0}))):m.animationName==="cdk-text-field-autofill-end"&&i.classList.contains(a)&&(i.classList.remove(a),this._ngZone.run(()=>s.next({target:m.target,isAutofilled:!1})))};return this._ngZone.runOutsideAngular(()=>{i.addEventListener("animationstart",l,wu),i.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(i,{subject:s,unlisten:()=>{i.removeEventListener("animationstart",l,wu)}}),s}stopMonitoring(t){let i=yt(t),n=this._monitoredElements.get(i);n&&(n.unlisten(),n.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((t,i)=>this.stopMonitoring(i))}};e.\u0275fac=function(i){return new(i||e)(E(Ce),E(B))},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})();var ku=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=J({type:e}),e.\u0275inj=K({});let r=e;return r})();var px=new P("MAT_INPUT_VALUE_ACCESSOR"),fx=["button","checkbox","file","hidden","image","radio","range","reset","submit"],gx=0,et=(()=>{let e=class e{get disabled(){return this._disabled}set disabled(t){this._disabled=kt(t),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(t){this._id=t||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(Tn.required)??!1}set required(t){this._required=kt(t)}get type(){return this._type}set type(t){this._type=t||"text",this._validateType(),!this._isTextarea&&ba().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(t){this._errorStateTracker.matcher=t}get value(){return this._inputValueAccessor.value}set value(t){t!==this.value&&(this._inputValueAccessor.value=t,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(t){this._readonly=kt(t)}get errorState(){return this._errorStateTracker.errorState}set errorState(t){this._errorStateTracker.errorState=t}constructor(t,i,n,s,a,l,m,p,v,y){this._elementRef=t,this._platform=i,this.ngControl=n,this._autofillMonitor=p,this._formField=y,this._uid=`mat-input-${gx++}`,this.focused=!1,this.stateChanges=new W,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(F=>ba().has(F)),this._iOSKeyupListener=F=>{let j=F.target;!j.value&&j.selectionStart===0&&j.selectionEnd===0&&(j.setSelectionRange(1,1),j.setSelectionRange(0,0))};let I=this._elementRef.nativeElement,D=I.nodeName.toLowerCase();this._inputValueAccessor=m||I,this._previousNativeValue=this.value,this.id=this.id,i.IOS&&v.runOutsideAngular(()=>{t.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._errorStateTracker=new kn(l,n,a,s,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect=D==="select",this._isTextarea=D==="textarea",this._isInFormField=!!y,this._isNativeSelect&&(this.controlType=I.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(t=>{this.autofilled=t.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.ngControl.disabled!==null&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(t){this._elementRef.nativeElement.focus(t)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(t){t!==this.focused&&(this.focused=t,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){let t=this._elementRef.nativeElement.value;this._previousNativeValue!==t&&(this._previousNativeValue=t,this.stateChanges.next())}_dirtyCheckPlaceholder(){let t=this._getPlaceholder();if(t!==this._previousPlaceholder){let i=this._elementRef.nativeElement;this._previousPlaceholder=t,t?i.setAttribute("placeholder",t):i.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){fx.indexOf(this._type)>-1}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let t=this._elementRef.nativeElement.validity;return t&&t.badInput}get empty(){return!this._isNeverEmpty()&&!this._elementRef.nativeElement.value&&!this._isBadInput()&&!this.autofilled}get shouldLabelFloat(){if(this._isNativeSelect){let t=this._elementRef.nativeElement,i=t.options[0];return this.focused||t.multiple||!this.empty||!!(t.selectedIndex>-1&&i&&i.label)}else return this.focused||!this.empty}setDescribedByIds(t){t.length?this._elementRef.nativeElement.setAttribute("aria-describedby",t.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){let t=this._elementRef.nativeElement;return this._isNativeSelect&&(t.multiple||t.size>1)}};e.\u0275fac=function(i){return new(i||e)(x(U),x(Ce),x(ci,10),x(wo,8),x(Co,8),x($r),x(px,10),x(Cu),x(B),x(sr,8))},e.\u0275dir=Y({type:e,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(i,n){i&1&&g("focus",function(){return n._focusChanged(!0)})("blur",function(){return n._focusChanged(!1)})("input",function(){return n._onInput()}),i&2&&(wi("id",n.id)("disabled",n.disabled)("required",n.required),be("name",n.name||null)("readonly",n.readonly&&!n._isNativeSelect||null)("aria-invalid",n.empty&&n.required?null:n.errorState)("aria-required",n.required)("id",n.id),oe("mat-input-server",n._isServer)("mat-mdc-form-field-textarea-control",n._isInFormField&&n._isTextarea)("mat-mdc-form-field-input-control",n._isInFormField)("mdc-text-field__input",n._isInFormField)("mat-mdc-native-select-inline",n._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],standalone:!0,features:[je([{provide:rr,useExisting:e}]),Le]});let r=e;return r})(),tt=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=J({type:e}),e.\u0275inj=K({imports:[Ie,ar,ar,ku,Ie]});let r=e;return r})();function bx(r,e){if(r&1){let o=L();c(0,"div",3)(1,"mat-checkbox",6),k("ngModelChange",function(i){b(o);let n=f();return C(n.options.draggable.enabled,i)||(n.options.draggable.enabled=i),_(i)}),g("ngModelChange",function(){b(o);let i=f();return _(i.changedOptions())}),h(2," Drag Items "),d(),c(3,"mat-checkbox",6),k("ngModelChange",function(i){b(o);let n=f();return C(n.options.pushItems,i)||(n.options.pushItems=i),_(i)}),g("ngModelChange",function(){b(o);let i=f();return _(i.changedOptions())}),h(4," Push Items "),d(),c(5,"mat-checkbox",6),k("ngModelChange",function(i){b(o);let n=f();return C(n.options.draggable.dropOverItems,i)||(n.options.draggable.dropOverItems=i),_(i)}),g("ngModelChange",function(){b(o);let i=f();return _(i.changedOptions())}),h(6," Allow Drop Over Items "),d(),c(7,"mat-checkbox",6),k("ngModelChange",function(i){b(o);let n=f();return C(n.options.draggable.ignoreContent,i)||(n.options.draggable.ignoreContent=i),_(i)}),g("ngModelChange",function(){b(o);let i=f();return _(i.changedOptions())}),h(8," Ignore Content "),d(),c(9,"mat-checkbox",6),k("ngModelChange",function(i){b(o);let n=f();return C(n.options.disableScrollVertical,i)||(n.options.disableScrollVertical=i),_(i)}),g("ngModelChange",function(){b(o);let i=f();return _(i.changedOptions())}),h(10," Disable Vertical Scroll "),d(),c(11,"mat-checkbox",6),k("ngModelChange",function(i){b(o);let n=f();return C(n.options.disableScrollHorizontal,i)||(n.options.disableScrollHorizontal=i),_(i)}),g("ngModelChange",function(){b(o);let i=f();return _(i.changedOptions())}),h(12," Disable Horizontal Scroll "),d(),c(13,"mat-checkbox",6),k("ngModelChange",function(i){b(o);let n=f();return C(n.options.enableBoundaryControl,i)||(n.options.enableBoundaryControl=i),_(i)}),g("ngModelChange",function(){b(o);let i=f();return _(i.changedOptions())}),h(14," Enable Boundary Control "),d(),c(15,"mat-form-field")(16,"input",7),k("ngModelChange",function(i){b(o);let n=f();return C(n.options.draggable.delayStart,i)||(n.options.draggable.delayStart=i),_(i)}),g("ngModelChange",function(){b(o);let i=f();return _(i.changedOptions())}),d()(),c(17,"mat-form-field")(18,"input",8),k("ngModelChange",function(i){b(o);let n=f();return C(n.options.draggable.dragHandleClass,i)||(n.options.draggable.dragHandleClass=i),_(i)}),g("ngModelChange",function(){b(o);let i=f();return _(i.changedOptions())}),d()(),c(19,"mat-form-field")(20,"input",9),k("ngModelChange",function(i){b(o);let n=f();return C(n.options.draggable.ignoreContentClass,i)||(n.options.draggable.ignoreContentClass=i),_(i)}),g("ngModelChange",function(){b(o);let i=f();return _(i.changedOptions())}),d()(),c(21,"button",10),g("click",function(){b(o);let i=f();return _(i.addItem())}),c(22,"mat-icon"),h(23,"add"),d()()()}if(r&2){let o=f();u(),w("ngModel",o.options.draggable.enabled),u(2),w("ngModel",o.options.pushItems),u(2),w("ngModel",o.options.draggable.dropOverItems),u(2),w("ngModel",o.options.draggable.ignoreContent),u(2),w("ngModel",o.options.disableScrollVertical),u(2),w("ngModel",o.options.disableScrollHorizontal),u(2),w("ngModel",o.options.enableBoundaryControl),u(3),w("ngModel",o.options.draggable.delayStart),u(2),w("ngModel",o.options.draggable.dragHandleClass),u(2),w("ngModel",o.options.draggable.ignoreContentClass)}}function _x(r,e){r&1&&(c(0,"div",12)(1,"div",15)(2,"span"),h(3,"Some content to select and click without dragging the widget"),d(),c(4,"a",16),h(5,"Link to Google"),d()()())}function vx(r,e){if(r&1){let o=L();c(0,"div",13)(1,"button",17)(2,"mat-icon"),h(3,"open_with"),d()(),c(4,"button",18),g("mousedown",function(i){b(o);let n=f().$implicit,s=f();return _(s.removeItem(i,n))})("touchstart",function(i){b(o);let n=f().$implicit,s=f();return _(s.removeItem(i,n))}),c(5,"mat-icon"),h(6,"delete"),d()()()}}function xx(r,e){if(r&1&&(c(0,"label"),h(1),d()),r&2){let o=f().$implicit;u(),qe(o.label)}}function yx(r,e){if(r&1){let o=L();c(0,"button",19),g("mousedown",function(i){b(o);let n=f().$implicit,s=f();return _(s.removeItem(i,n))})("touchstart",function(i){b(o);let n=f().$implicit,s=f();return _(s.removeItem(i,n))}),c(1,"mat-icon"),h(2,"delete"),d()()}}function wx(r,e){if(r&1&&(c(0,"gridster-item",5)(1,"div",11),Q(2,_x,6,0,"div",12)(3,vx,7,0,"div",13)(4,xx,2,1,"label")(5,yx,3,0,"button",14),d()()),r&2){let o=e.$implicit;S("item",o),u(2),N(o.hasContent?2:-1),u(),N(o.hasContent?3:-1),u(),N(o.hasContent?-1:4),u(),N(o.hasContent?-1:5)}}var Mu=(()=>{let e=class e{static eventStart(t,i,n){console.info("eventStart",t,i,n)}static eventStop(t,i,n){console.info("eventStop",t,i,n)}static overlapEvent(t,i,n){console.log("overlap",t,i,n)}ngOnInit(){this.options={gridType:z.Fit,displayGrid:ye.Always,pushItems:!0,swap:!1,draggable:{delayStart:0,enabled:!0,ignoreContentClass:"gridster-item-content",ignoreContent:!1,dragHandleClass:"drag-handler",stop:e.eventStop,start:e.eventStart,dropOverItems:!1,dropOverItemsCallback:e.overlapEvent},resizable:{enabled:!0}},this.dashboard=[{cols:2,rows:1,y:0,x:0},{cols:2,rows:2,y:0,x:2,hasContent:!0},{cols:1,rows:1,y:0,x:4},{cols:1,rows:1,y:2,x:5},{cols:1,rows:1,y:1,x:0},{cols:1,rows:1,y:1,x:0},{cols:2,rows:2,y:3,x:5,minItemRows:2,minItemCols:2,label:"Min rows & cols = 2"},{cols:2,rows:2,y:2,x:0,maxItemRows:2,maxItemCols:2,label:"Max rows & cols = 2"},{cols:2,rows:1,y:2,x:2,dragEnabled:!0,resizeEnabled:!0,label:"Drag&Resize Enabled"},{cols:1,rows:1,y:2,x:4,dragEnabled:!1,resizeEnabled:!1,label:"Drag&Resize Disabled"},{cols:1,rows:1,y:2,x:6}]}changedOptions(){this.options.api&&this.options.api.optionsChanged&&this.options.api.optionsChanged()}removeItem(t,i){t.preventDefault(),t.stopPropagation(),this.dashboard.splice(this.dashboard.indexOf(i),1)}addItem(){this.dashboard.push({x:0,y:0,cols:1,rows:1})}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=R({type:e,selectors:[["app-drag"]],standalone:!0,features:[A],decls:10,vars:3,consts:[[1,"options"],["mat-raised-button","","href","https://github.com/tiberiuzuld/angular-gridster2/tree/master/src/app/sections/drag","target","_blank",1,"source-code-button"],[3,"src"],[1,"options-header"],[3,"options"],[3,"item"],[3,"ngModelChange","ngModel"],["matInput","","type","number","placeholder","Delay Start ms",3,"ngModelChange","ngModel"],["matInput","","type","text","placeholder","Drag Handle Class",3,"ngModelChange","ngModel"],["matInput","","type","text","placeholder","Ignore Content Class",3,"ngModelChange","ngModel"],["mat-mini-fab","",1,"add-button","cols-2",3,"click"],[1,"button-holder"],[1,"gridster-item-content"],[1,"item-buttons"],["mat-mini-fab",""],[1,"stuff"],["href","https://www.google.com","target","_blank"],["mat-icon-button","",1,"drag-handler"],["mat-icon-button","",1,"remove-button",3,"mousedown","touchstart"],["mat-mini-fab","",3,"mousedown","touchstart"]],template:function(i,n){i&1&&(c(0,"div",0)(1,"a",1)(2,"mat-icon"),h(3,"open_in_new"),d(),h(4," Source "),d(),O(5,"markdown",2),d(),Q(6,bx,24,10,"div",3),c(7,"gridster",4),re(8,wx,6,5,"gridster-item",5,_e),d()),i&2&&(u(5),S("src","assets/drag.md"),u(),N(n.options.draggable?6:-1),u(),S("options",n.options),u(),se(n.dashboard))},dependencies:[Se,Xe,Qe,Ee,ke,he,me,Ai,xe,We,Fe,pe,ue,tt,et,Be,de,ve,ce,ge],encapsulation:2,changeDetection:0});let r=e;return r})();var Iu=(()=>{let e=class e{ngOnInit(){this.resizeSub=this.resizeEvent.subscribe(t=>{t===this.widget&&console.log(t)})}ngOnDestroy(){this.resizeSub.unsubscribe()}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=R({type:e,selectors:[["app-widget-a"]],inputs:{widget:"widget",resizeEvent:"resizeEvent"},standalone:!0,features:[A],decls:1,vars:1,template:function(i,n){i&1&&h(0),i&2&&qe(n.widget.type)},encapsulation:2,changeDetection:0});let r=e;return r})();var Eu=(()=>{let e=class e{ngOnInit(){this.resizeSub=this.resizeEvent.subscribe(t=>{t===this.widget&&console.log(t)})}ngOnDestroy(){this.resizeSub.unsubscribe()}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=R({type:e,selectors:[["app-widget-b"]],inputs:{widget:"widget",resizeEvent:"resizeEvent"},standalone:!0,features:[A],decls:1,vars:1,template:function(i,n){i&1&&h(0),i&2&&qe(n.widget.type)},encapsulation:2,changeDetection:0});let r=e;return r})();var Su=(()=>{let e=class e{ngOnInit(){this.resizeSub=this.resizeEvent.subscribe(t=>{t===this.widget&&console.log(t)})}ngOnDestroy(){this.resizeSub.unsubscribe()}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=R({type:e,selectors:[["app-widget-c"]],inputs:{widget:"widget",resizeEvent:"resizeEvent"},standalone:!0,features:[A],decls:1,vars:1,template:function(i,n){i&1&&h(0),i&2&&qe(n.widget.type)},encapsulation:2,changeDetection:0});let r=e;return r})();function Cx(r,e){if(r&1&&O(0,"app-widget-a",0),r&2){let o=f();S("resizeEvent",o.resizeEvent)("widget",o.widget)}}function kx(r,e){if(r&1&&O(0,"app-widget-b",1),r&2){let o=f();S("widget",o.widget)("resizeEvent",o.resizeEvent)}}function Mx(r,e){if(r&1&&O(0,"app-widget-c",1),r&2){let o=f();S("widget",o.widget)("resizeEvent",o.resizeEvent)}}var Tu=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=R({type:e,selectors:[["app-parent-dynamic"]],inputs:{widget:"widget",resizeEvent:"resizeEvent"},standalone:!0,features:[A],decls:3,vars:3,consts:[[3,"resizeEvent","widget"],[3,"widget","resizeEvent"]],template:function(i,n){i&1&&Q(0,Cx,1,2,"app-widget-a",0)(1,kx,1,2,"app-widget-b",1)(2,Mx,1,2,"app-widget-c",1),i&2&&(N(n.widget.type==="widgetA"?0:-1),u(),N(n.widget.type==="widgetB"?1:-1),u(),N(n.widget.type==="widgetC"?2:-1))},dependencies:[Iu,Eu,Su],encapsulation:2,changeDetection:0});let r=e;return r})();function Ix(r,e){if(r&1&&(c(0,"gridster-item",4),O(1,"app-parent-dynamic",5),d()),r&2){let o=e.$implicit,t=f();S("item",o),u(),S("widget",o)("resizeEvent",t.resizeEvent)}}var Du=(()=>{let e=class e{constructor(){this.resizeEvent=new Z}ngOnInit(){this.options={gridType:z.Fit,displayGrid:ye.Always,disableWindowResize:!1,scrollToNewItems:!1,disableWarnings:!1,ignoreMarginInRow:!1,itemResizeCallback:t=>{this.resizeEvent.emit(t)}},this.dashboard=[{cols:2,rows:1,y:0,x:0,type:"widgetA"},{cols:2,rows:2,y:0,x:2,type:"widgetB"},{cols:2,rows:1,y:1,x:0,type:"widgetC"}]}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=R({type:e,selectors:[["app-dynamic-widgets"]],standalone:!0,features:[A],decls:9,vars:2,consts:[[1,"options"],["href","https://github.com/tiberiuzuld/angular-gridster2/tree/master/src/app/sections/dynamicWidgets","mat-raised-button","","target","_blank",1,"source-code-button"],[3,"src"],[3,"options"],[3,"item"],[3,"widget","resizeEvent"]],template:function(i,n){i&1&&(c(0,"div",0)(1,"a",1)(2,"mat-icon"),h(3,"open_in_new"),d(),h(4," Source "),d(),O(5,"markdown",2),d(),c(6,"gridster",3),re(7,Ix,2,3,"gridster-item",4,_e),d()),i&2&&(u(5),S("src","assets/dynamicWidgets.md"),u(),S("options",n.options),u(),se(n.dashboard))},dependencies:[he,me,pe,ue,de,ve,ce,ge,Tu],encapsulation:2,changeDetection:0});let r=e;return r})();function Ex(r,e){if(r&1){let o=L();c(0,"div",12),g("dragstart",function(i){b(o);let n=f();return _(n.dragStartHandler(i))}),h(1,"Drag me!"),d()}}function Sx(r,e){if(r&1){let o=L();c(0,"gridster-item",11)(1,"div",13)(2,"button",14),g("mousedown",function(i){let n=b(o).$implicit,s=f();return _(s.removeItem(i,n))})("touchstart",function(i){let n=b(o).$implicit,s=f();return _(s.removeItem(i,n))}),c(3,"mat-icon"),h(4,"delete"),d()()()()}if(r&2){let o=e.$implicit;S("item",o)}}var Ru=(()=>{let e=class e{ngOnInit(){this.options={gridType:z.Fit,displayGrid:ye.Always,enableEmptyCellClick:!1,enableEmptyCellContextMenu:!1,enableEmptyCellDrop:!1,enableEmptyCellDrag:!1,enableOccupiedCellDrop:!1,emptyCellClickCallback:this.emptyCellClick.bind(this),emptyCellContextMenuCallback:this.emptyCellClick.bind(this),emptyCellDropCallback:this.emptyCellClick.bind(this),emptyCellDragCallback:this.emptyCellClick.bind(this),emptyCellDragMaxCols:50,emptyCellDragMaxRows:50},this.dashboard=[{cols:2,rows:1,y:0,x:0},{cols:2,rows:2,y:0,x:2},{cols:1,rows:1,y:0,x:4},{cols:3,rows:2,y:1,x:4},{cols:1,rows:1,y:4,x:5},{cols:1,rows:1,y:2,x:1},{cols:2,rows:2,y:5,x:5},{cols:2,rows:2,y:3,x:2},{cols:2,rows:1,y:2,x:2},{cols:1,rows:1,y:3,x:4},{cols:1,rows:1,y:0,x:6}]}changedOptions(){this.options.api&&this.options.api.optionsChanged&&this.options.api.optionsChanged()}emptyCellClick(t,i){console.info("empty cell click",t,i),this.dashboard.push(i)}removeItem(t,i){t.preventDefault(),t.stopPropagation(),this.dashboard.splice(this.dashboard.indexOf(i),1)}addItem(){this.dashboard.push({x:0,y:0,cols:1,rows:1})}dragStartHandler(t){t.dataTransfer&&(t.dataTransfer.setData("text/plain","Drag Me Button"),t.dataTransfer.dropEffect="copy")}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=R({type:e,selectors:[["app-empty-cell"]],standalone:!0,features:[A],decls:28,vars:11,consts:[[1,"options"],["mat-raised-button","","href","https://github.com/tiberiuzuld/angular-gridster2/tree/master/src/app/sections/emptyCell","target","_blank",1,"source-code-button"],[3,"src"],[1,"options-header"],[3,"ngModelChange","ngModel"],["draggable","true"],[3,"ngModelChange","ngModel","disabled"],["matInput","","type","number","placeholder","Drag Max Cols",3,"ngModelChange","ngModel"],["matInput","","type","number","placeholder","Drag Max Rows",3,"ngModelChange","ngModel"],["mat-mini-fab","",1,"add-button","cols-2",3,"click"],[3,"options"],[3,"item"],["draggable","true",3,"dragstart"],[1,"button-holder"],["mat-mini-fab","",3,"mousedown","touchstart"]],template:function(i,n){i&1&&(c(0,"div",0)(1,"a",1)(2,"mat-icon"),h(3,"open_in_new"),d(),h(4," Source "),d(),O(5,"markdown",2),d(),c(6,"div",3)(7,"mat-checkbox",4),k("ngModelChange",function(a){return C(n.options.enableEmptyCellClick,a)||(n.options.enableEmptyCellClick=a),a}),g("ngModelChange",function(){return n.changedOptions()}),h(8," Enable click to add "),d(),c(9,"mat-checkbox",4),k("ngModelChange",function(a){return C(n.options.enableEmptyCellContextMenu,a)||(n.options.enableEmptyCellContextMenu=a),a}),g("ngModelChange",function(){return n.changedOptions()}),h(10," Enable right click to add "),d(),c(11,"mat-checkbox",4),k("ngModelChange",function(a){return C(n.options.enableEmptyCellDrop,a)||(n.options.enableEmptyCellDrop=a),a}),g("ngModelChange",function(){return n.changedOptions()}),h(12," Enable drop to add "),d(),Q(13,Ex,2,0,"div",5),c(14,"mat-checkbox",6),g("ngModelChange",function(){return n.changedOptions()}),k("ngModelChange",function(a){return C(n.options.enableOccupiedCellDrop,a)||(n.options.enableOccupiedCellDrop=a),a}),h(15," Enable drop on occupied cell "),d(),c(16,"mat-checkbox",4),k("ngModelChange",function(a){return C(n.options.enableEmptyCellDrag,a)||(n.options.enableEmptyCellDrag=a),a}),g("ngModelChange",function(){return n.changedOptions()}),h(17," Enable drag to add "),d(),c(18,"mat-form-field")(19,"input",7),k("ngModelChange",function(a){return C(n.options.emptyCellDragMaxCols,a)||(n.options.emptyCellDragMaxCols=a),a}),g("ngModelChange",function(){return n.changedOptions()}),d()(),c(20,"mat-form-field")(21,"input",8),k("ngModelChange",function(a){return C(n.options.emptyCellDragMaxRows,a)||(n.options.emptyCellDragMaxRows=a),a}),g("ngModelChange",function(){return n.changedOptions()}),d()(),c(22,"button",9),g("click",function(){return n.addItem()}),c(23,"mat-icon"),h(24,"add"),d()()(),c(25,"gridster",10),re(26,Sx,5,1,"gridster-item",11,_e),d()),i&2&&(u(5),S("src","assets/emptyCell.md"),u(2),w("ngModel",n.options.enableEmptyCellClick),u(2),w("ngModel",n.options.enableEmptyCellContextMenu),u(2),w("ngModel",n.options.enableEmptyCellDrop),u(2),N(n.options.enableEmptyCellDrop?13:-1),u(),w("ngModel",n.options.enableOccupiedCellDrop),S("disabled",!n.options.enableEmptyCellDrop),u(2),w("ngModel",n.options.enableEmptyCellDrag),u(3),w("ngModel",n.options.emptyCellDragMaxCols),u(2),w("ngModel",n.options.emptyCellDragMaxRows),u(4),S("options",n.options),u(),se(n.dashboard))},dependencies:[Se,Xe,Qe,Ee,ke,he,me,xe,We,Fe,pe,ue,tt,et,Be,de,ve,ce,ge],encapsulation:2,changeDetection:0});let r=e;return r})();function Tx(r,e){if(r&1){let o=L();c(0,"gridster-item",7)(1,"div",8)(2,"button",9),g("mousedown",function(i){let n=b(o).$implicit,s=f(2);return _(s.removeItem(i,n))})("touchstart",function(i){let n=b(o).$implicit,s=f(2);return _(s.removeItem(i,n))}),c(3,"mat-icon"),h(4,"delete"),d()()()()}if(r&2){let o=e.$implicit;S("item",o)}}function Dx(r,e){if(r&1&&(c(0,"gridster",6),re(1,Tx,5,1,"gridster-item",7,_e),d()),r&2){let o=f();S("options",o.options),u(),se(o.dashboard)}}var Au=(()=>{let e=class e{static itemChange(t,i){console.info("itemChanged",t,i)}static itemResize(t,i){console.info("itemResized",t,i)}static itemInit(t,i){console.info("itemInitialized",t,i)}static itemRemoved(t,i){console.info("itemRemoved",t,i)}static itemValidate(t){return t.cols>0&&t.rows>0}static gridInit(t){console.info("gridInit",t)}static gridDestroy(t){console.info("gridDestroy",t)}static gridSizeChanged(t){console.info("gridSizeChanged",t)}ngOnInit(){this.options={gridType:z.Fit,displayGrid:ye.Always,initCallback:e.gridInit,destroyCallback:e.gridDestroy,gridSizeChangedCallback:e.gridSizeChanged,itemChangeCallback:e.itemChange,itemResizeCallback:e.itemResize,itemInitCallback:e.itemInit,itemRemovedCallback:e.itemRemoved,itemValidateCallback:e.itemValidate,pushItems:!0,draggable:{enabled:!0},resizable:{enabled:!0}},this.dashboard=[{cols:2,rows:1,y:0,x:0},{cols:2,rows:2,y:0,x:2},{cols:1,rows:1,y:0,x:4},{cols:3,rows:2,y:1,x:4},{cols:1,rows:1,y:4,x:5},{cols:1,rows:1,y:2,x:1},{cols:2,rows:2,y:5,x:5},{cols:2,rows:2,y:3,x:2},{cols:2,rows:1,y:2,x:2},{cols:1,rows:1,y:3,x:4},{cols:1,rows:1,y:0,x:6}]}changedOptions(){this.options.api&&this.options.api.optionsChanged&&this.options.api.optionsChanged()}removeItem(t,i){t.preventDefault(),t.stopPropagation(),this.dashboard.splice(this.dashboard.indexOf(i),1)}addItem(){this.dashboard.push({x:0,y:0,cols:1,rows:1})}destroy(){this.remove=!this.remove}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=R({type:e,selectors:[["app-grid-events"]],standalone:!0,features:[A],decls:14,vars:2,consts:[[1,"options"],["mat-raised-button","","href","https://github.com/tiberiuzuld/angular-gridster2/tree/master/src/app/sections/gridEvents","target","_blank",1,"source-code-button"],[3,"src"],[1,"options-header"],["mat-mini-fab","",1,"add-button","cols-2",3,"click"],["mat-mini-fab","",1,"destroy-button",3,"click"],[3,"options"],[3,"item"],[1,"button-holder"],["mat-mini-fab","",3,"mousedown","touchstart"]],template:function(i,n){i&1&&(c(0,"div",0)(1,"a",1)(2,"mat-icon"),h(3,"open_in_new"),d(),h(4," Source "),d(),O(5,"markdown",2),d(),c(6,"div",3)(7,"button",4),g("click",function(){return n.addItem()}),c(8,"mat-icon"),h(9,"add"),d()(),c(10,"button",5),g("click",function(){return n.destroy()}),c(11,"mat-icon"),h(12,"delete"),d()()(),Q(13,Dx,3,1,"gridster",6)),i&2&&(u(5),S("src","assets/gridEvents.md"),u(8),N(n.remove?-1:13))},dependencies:[he,me,xe,pe,ue,de,ve,ce,ge],encapsulation:2,changeDetection:0});let r=e;return r})();function Rx(r,e){if(r&1){let o=L();c(0,"gridster-item",19)(1,"div",20)(2,"button",21),g("mousedown",function(i){let n=b(o).$implicit,s=f();return _(s.removeItem(i,n))})("touchstart",function(i){let n=b(o).$implicit,s=f();return _(s.removeItem(i,n))}),c(3,"mat-icon"),h(4,"delete"),d()()()()}if(r&2){let o=e.$implicit;S("item",o)}}var Ou=(()=>{let e=class e{ngOnInit(){this.options={gridType:z.Fit,displayGrid:ye.Always,margin:10,outerMargin:!0,outerMarginTop:null,outerMarginRight:null,outerMarginBottom:null,outerMarginLeft:null},this.dashboard=[{cols:2,rows:1,y:0,x:0},{cols:2,rows:2,y:0,x:2},{cols:1,rows:1,y:0,x:4},{cols:3,rows:2,y:1,x:4},{cols:1,rows:1,y:4,x:5},{cols:1,rows:1,y:2,x:1},{cols:2,rows:2,y:5,x:5},{cols:2,rows:2,y:3,x:2},{cols:2,rows:1,y:2,x:2},{cols:1,rows:1,y:3,x:4},{cols:1,rows:1,y:0,x:6}]}changedOptions(){this.options.api&&this.options.api.optionsChanged&&this.options.api.optionsChanged()}removeItem(t,i){t.preventDefault(),t.stopPropagation(),this.dashboard.splice(this.dashboard.indexOf(i),1)}addItem(){this.dashboard.push({x:0,y:0,cols:1,rows:1})}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=R({type:e,selectors:[["app-grid-margins"]],standalone:!0,features:[A],decls:39,vars:9,consts:[[1,"options"],["mat-raised-button","","href","https://github.com/tiberiuzuld/angular-gridster2/tree/master/src/app/sections/gridMargins","target","_blank",1,"source-code-button"],[3,"src"],[1,"options-header"],["aria-label","Grid type","placeholder","Grid Type",3,"ngModelChange","ngModel"],["value","fit"],["value","scrollVertical"],["value","scrollHorizontal"],["value","fixed"],["value","verticalFixed"],["value","horizontalFixed"],["matInput","","min","0","max","30","step","1","type","number","placeholder","Margin",3,"ngModelChange","ngModel"],[3,"ngModelChange","ngModel"],["matInput","","min","0","max","30","step","1","type","number","placeholder","Grid Margin Top",3,"ngModelChange","ngModel"],["matInput","","min","0","max","30","step","1","type","number","placeholder","Grid Margin Right",3,"ngModelChange","ngModel"],["matInput","","min","0","max","30","step","1","type","number","placeholder","Grid Margin Bottom",3,"ngModelChange","ngModel"],["matInput","","min","0","max","30","step","1","type","number","placeholder","Grid Margin Left",3,"ngModelChange","ngModel"],["mat-mini-fab","",1,"add-button","cols-2",3,"click"],[3,"options"],[3,"item"],[1,"button-holder"],["mat-mini-fab","",3,"mousedown","touchstart"]],template:function(i,n){i&1&&(c(0,"div",0)(1,"a",1)(2,"mat-icon"),h(3,"open_in_new"),d(),h(4," Source "),d(),O(5,"markdown",2),d(),c(6,"div",3)(7,"mat-form-field")(8,"mat-select",4),k("ngModelChange",function(a){return C(n.options.gridType,a)||(n.options.gridType=a),a}),g("ngModelChange",function(){return n.changedOptions()}),c(9,"mat-option",5),h(10,"Fit to screen"),d(),c(11,"mat-option",6),h(12,"Scroll Vertical"),d(),c(13,"mat-option",7),h(14,"Scroll Horizontal"),d(),c(15,"mat-option",8),h(16,"Fixed"),d(),c(17,"mat-option",9),h(18,"Vertical Fixed"),d(),c(19,"mat-option",10),h(20,"Horizontal Fixed"),d()()(),c(21,"mat-form-field")(22,"input",11),k("ngModelChange",function(a){return C(n.options.margin,a)||(n.options.margin=a),a}),g("ngModelChange",function(){return n.changedOptions()}),d()(),c(23,"mat-checkbox",12),k("ngModelChange",function(a){return C(n.options.outerMargin,a)||(n.options.outerMargin=a),a}),g("ngModelChange",function(){return n.changedOptions()}),h(24,"Outer Margin "),d(),c(25,"mat-form-field")(26,"input",13),k("ngModelChange",function(a){return C(n.options.outerMarginTop,a)||(n.options.outerMarginTop=a),a}),g("ngModelChange",function(){return n.changedOptions()}),d()(),c(27,"mat-form-field")(28,"input",14),k("ngModelChange",function(a){return C(n.options.outerMarginRight,a)||(n.options.outerMarginRight=a),a}),g("ngModelChange",function(){return n.changedOptions()}),d()(),c(29,"mat-form-field")(30,"input",15),k("ngModelChange",function(a){return C(n.options.outerMarginBottom,a)||(n.options.outerMarginBottom=a),a}),g("ngModelChange",function(){return n.changedOptions()}),d()(),c(31,"mat-form-field")(32,"input",16),k("ngModelChange",function(a){return C(n.options.outerMarginLeft,a)||(n.options.outerMarginLeft=a),a}),g("ngModelChange",function(){return n.changedOptions()}),d()(),c(33,"button",17),g("click",function(){return n.addItem()}),c(34,"mat-icon"),h(35,"add"),d()()(),c(36,"gridster",18),re(37,Rx,5,1,"gridster-item",19,_e),d()),i&2&&(u(5),S("src","assets/gridMargins.md"),u(3),w("ngModel",n.options.gridType),u(14),w("ngModel",n.options.margin),u(),w("ngModel",n.options.outerMargin),u(3),w("ngModel",n.options.outerMarginTop),u(2),w("ngModel",n.options.outerMarginRight),u(2),w("ngModel",n.options.outerMarginBottom),u(2),w("ngModel",n.options.outerMarginLeft),u(4),S("options",n.options),u(),se(n.dashboard))},dependencies:[Se,Xe,Qe,Ee,mi,di,ke,he,me,xe,We,Fe,pe,ue,tt,et,Be,ft,pt,rt,de,ve,ce,ge],encapsulation:2,changeDetection:0});let r=e;return r})();function Ax(r,e){if(r&1){let o=L();c(0,"gridster-item",19)(1,"div",20)(2,"button",21),g("mousedown",function(i){let n=b(o).$implicit,s=f();return _(s.removeItem(i,n))})("touchstart",function(i){let n=b(o).$implicit,s=f();return _(s.removeItem(i,n))}),c(3,"mat-icon"),h(4,"delete"),d()()()()}if(r&2){let o=e.$implicit;S("item",o)}}var Fu=(()=>{let e=class e{ngOnInit(){this.options={gridType:z.Fit,displayGrid:ye.Always,pushItems:!0,draggable:{enabled:!0},resizable:{enabled:!0},minCols:1,maxCols:100,minRows:1,maxRows:100,maxItemCols:100,minItemCols:1,maxItemRows:100,minItemRows:1,maxItemArea:2500,minItemArea:1,defaultItemCols:1,defaultItemRows:1,addEmptyRowsCount:2},this.dashboard=[{cols:2,rows:1,y:0,x:0},{cols:2,rows:2,y:0,x:2},{cols:1,rows:1,y:0,x:4},{cols:3,rows:2,y:1,x:4},{cols:1,rows:1,y:4,x:5},{cols:1,rows:1,y:2,x:1},{cols:2,rows:2,y:5,x:5},{cols:2,rows:2,y:3,x:2},{cols:2,rows:1,y:2,x:2},{cols:1,rows:1,y:3,x:4},{cols:1,rows:1,y:0,x:6}]}changedOptions(){this.options.api&&this.options.api.optionsChanged&&this.options.api.optionsChanged()}removeItem(t,i){t.preventDefault(),t.stopPropagation(),this.dashboard.splice(this.dashboard.indexOf(i),1)}addItem(){this.dashboard.push({x:0,y:0,cols:1,rows:1})}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=R({type:e,selectors:[["app-grid-sizes"]],standalone:!0,features:[A],decls:39,vars:15,consts:[[1,"options"],["mat-raised-button","","href","https://github.com/tiberiuzuld/angular-gridster2/tree/master/src/app/sections/gridSizes","target","_blank",1,"source-code-button"],[3,"src"],[1,"options-header"],["matInput","","type","number","placeholder","Min Grid Cols",3,"ngModelChange","ngModel"],["matInput","","type","number","placeholder","Max Grid Cols",3,"ngModelChange","ngModel"],["matInput","","type","number","placeholder","Min Grid Rows",3,"ngModelChange","ngModel"],["matInput","","type","number","placeholder","Max Grid Rows",3,"ngModelChange","ngModel"],["matInput","","type","number","placeholder","Max Item Cols",3,"ngModelChange","ngModel"],["matInput","","type","number","placeholder","Min Item Cols",3,"ngModelChange","ngModel"],["matInput","","type","number","placeholder","Max Item Rows",3,"ngModelChange","ngModel"],["matInput","","type","number","placeholder","Min Item Rows",3,"ngModelChange","ngModel"],["matInput","","type","number","placeholder","Max Item Area",3,"ngModelChange","ngModel"],["matInput","","type","number","placeholder","Min Item Area",3,"ngModelChange","ngModel"],["matInput","","type","number","placeholder","Default Item Rows",3,"ngModelChange","ngModel"],["matInput","","type","number","placeholder","Default Item Cols",3,"ngModelChange","ngModel"],["matInput","","max","30","min","0","placeholder","Add Empty Rows Count","step","1","type","number",3,"ngModelChange","ngModel"],["mat-mini-fab","",1,"add-button","cols-2",3,"click"],[3,"options"],[3,"item"],[1,"button-holder"],["mat-mini-fab","",3,"mousedown","touchstart"]],template:function(i,n){i&1&&(c(0,"div",0)(1,"a",1)(2,"mat-icon"),h(3,"open_in_new"),d(),h(4," Source "),d(),O(5,"markdown",2),d(),c(6,"div",3)(7,"mat-form-field")(8,"input",4),k("ngModelChange",function(a){return C(n.options.minCols,a)||(n.options.minCols=a),a}),g("ngModelChange",function(){return n.changedOptions()}),d()(),c(9,"mat-form-field")(10,"input",5),k("ngModelChange",function(a){return C(n.options.maxCols,a)||(n.options.maxCols=a),a}),g("ngModelChange",function(){return n.changedOptions()}),d()(),c(11,"mat-form-field")(12,"input",6),k("ngModelChange",function(a){return C(n.options.minRows,a)||(n.options.minRows=a),a}),g("ngModelChange",function(){return n.changedOptions()}),d()(),c(13,"mat-form-field")(14,"input",7),k("ngModelChange",function(a){return C(n.options.maxRows,a)||(n.options.maxRows=a),a}),g("ngModelChange",function(){return n.changedOptions()}),d()(),c(15,"mat-form-field")(16,"input",8),k("ngModelChange",function(a){return C(n.options.maxItemCols,a)||(n.options.maxItemCols=a),a}),g("ngModelChange",function(){return n.changedOptions()}),d()(),c(17,"mat-form-field")(18,"input",9),k("ngModelChange",function(a){return C(n.options.minItemCols,a)||(n.options.minItemCols=a),a}),g("ngModelChange",function(){return n.changedOptions()}),d()(),c(19,"mat-form-field")(20,"input",10),k("ngModelChange",function(a){return C(n.options.maxItemRows,a)||(n.options.maxItemRows=a),a}),g("ngModelChange",function(){return n.changedOptions()}),d()(),c(21,"mat-form-field")(22,"input",11),k("ngModelChange",function(a){return C(n.options.minItemRows,a)||(n.options.minItemRows=a),a}),g("ngModelChange",function(){return n.changedOptions()}),d()(),c(23,"mat-form-field")(24,"input",12),k("ngModelChange",function(a){return C(n.options.maxItemArea,a)||(n.options.maxItemArea=a),a}),g("ngModelChange",function(){return n.changedOptions()}),d()(),c(25,"mat-form-field")(26,"input",13),k("ngModelChange",function(a){return C(n.options.minItemArea,a)||(n.options.minItemArea=a),a}),g("ngModelChange",function(){return n.changedOptions()}),d()(),c(27,"mat-form-field")(28,"input",14),k("ngModelChange",function(a){return C(n.options.defaultItemRows,a)||(n.options.defaultItemRows=a),a}),g("ngModelChange",function(){return n.changedOptions()}),d()(),c(29,"mat-form-field")(30,"input",15),k("ngModelChange",function(a){return C(n.options.defaultItemCols,a)||(n.options.defaultItemCols=a),a}),g("ngModelChange",function(){return n.changedOptions()}),d()(),c(31,"mat-form-field")(32,"input",16),g("ngModelChange",function(){return n.changedOptions()}),k("ngModelChange",function(a){return C(n.options.addEmptyRowsCount,a)||(n.options.addEmptyRowsCount=a),a}),d()(),c(33,"button",17),g("click",function(){return n.addItem()}),c(34,"mat-icon"),h(35,"add"),d()()(),c(36,"gridster",18),re(37,Ax,5,1,"gridster-item",19,_e),d()),i&2&&(u(5),S("src","assets/gridSizes.md"),u(3),w("ngModel",n.options.minCols),u(2),w("ngModel",n.options.maxCols),u(2),w("ngModel",n.options.minRows),u(2),w("ngModel",n.options.maxRows),u(2),w("ngModel",n.options.maxItemCols),u(2),w("ngModel",n.options.minItemCols),u(2),w("ngModel",n.options.maxItemRows),u(2),w("ngModel",n.options.minItemRows),u(2),w("ngModel",n.options.maxItemArea),u(2),w("ngModel",n.options.minItemArea),u(2),w("ngModel",n.options.defaultItemRows),u(2),w("ngModel",n.options.defaultItemCols),u(2),w("ngModel",n.options.addEmptyRowsCount),u(4),S("options",n.options),u(),se(n.dashboard))},dependencies:[Se,Xe,Qe,Ee,mi,di,ke,he,me,xe,pe,ue,tt,et,Be,de,ve,ce,ge],encapsulation:2,changeDetection:0});let r=e;return r})();function Ox(r,e){if(r&1){let o=L();c(0,"gridster-item",18)(1,"div",19)(2,"button",20),g("mousedown",function(i){let n=b(o).$implicit,s=f();return _(s.removeItem(i,n))})("touchstart",function(i){let n=b(o).$implicit,s=f();return _(s.removeItem(i,n))}),c(3,"mat-icon"),h(4,"delete"),d()()()()}if(r&2){let o=e.$implicit;S("item",o)}}var Pu=(()=>{let e=class e{ngOnInit(){this.options={gridType:z.Fit,displayGrid:ye.Always,fixedColWidth:105,fixedRowHeight:105,keepFixedHeightInMobile:!1,keepFixedWidthInMobile:!1,mobileBreakpoint:640,useBodyForBreakpoint:!1,pushItems:!0,rowHeightRatio:1,draggable:{enabled:!0},resizable:{enabled:!0}},this.dashboard=[{cols:2,rows:1,y:0,x:0},{cols:2,rows:2,y:0,x:2},{cols:1,rows:1,y:0,x:4},{cols:3,rows:2,y:1,x:4},{cols:1,rows:1,y:4,x:5},{cols:1,rows:1,y:2,x:1},{cols:2,rows:2,y:5,x:5},{cols:2,rows:2,y:3,x:2},{cols:2,rows:1,y:2,x:2},{cols:1,rows:1,y:3,x:4},{cols:1,rows:1,y:0,x:6}]}changedOptions(){this.options.api&&this.options.api.optionsChanged&&this.options.api.optionsChanged()}removeItem(t,i){t.preventDefault(),t.stopPropagation(),this.dashboard.splice(this.dashboard.indexOf(i),1)}addItem(){this.dashboard.push({x:0,y:0,cols:1,rows:1})}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=R({type:e,selectors:[["app-grid-types"]],standalone:!0,features:[A],decls:43,vars:11,consts:[[1,"options"],["mat-raised-button","","href","https://github.com/tiberiuzuld/angular-gridster2/tree/master/src/app/sections/gridTypes","target","_blank",1,"source-code-button"],[3,"src"],[1,"options-header"],["aria-label","Grid type","placeholder","Grid Type",3,"ngModelChange","ngModel"],["value","fit"],["value","scrollVertical"],["value","scrollHorizontal"],["value","fixed"],["value","verticalFixed"],["value","horizontalFixed"],["matInput","","type","number","placeholder","Fixed Col Width",3,"ngModelChange","ngModel"],["matInput","","type","number","placeholder","Fixed Row Height",3,"ngModelChange","ngModel"],["matInput","","placeholder","Row Height Ratio","step","0.1","type","number",3,"ngModelChange","ngModel"],[3,"ngModelChange","ngModel"],["matInput","","type","number","placeholder","Mobile Breakpoint",3,"ngModelChange","ngModel"],["mat-mini-fab","",1,"add-button","cols-2",3,"click"],[3,"options"],[3,"item"],[1,"button-holder"],["mat-mini-fab","",3,"mousedown","touchstart"]],template:function(i,n){i&1&&(c(0,"div",0)(1,"a",1)(2,"mat-icon"),h(3,"open_in_new"),d(),h(4," Source "),d(),O(5,"markdown",2),d(),c(6,"div",3)(7,"mat-form-field")(8,"mat-select",4),k("ngModelChange",function(a){return C(n.options.gridType,a)||(n.options.gridType=a),a}),g("ngModelChange",function(){return n.changedOptions()}),c(9,"mat-option",5),h(10,"Fit to screen"),d(),c(11,"mat-option",6),h(12,"Scroll Vertical"),d(),c(13,"mat-option",7),h(14,"Scroll Horizontal"),d(),c(15,"mat-option",8),h(16,"Fixed"),d(),c(17,"mat-option",9),h(18,"Vertical Fixed"),d(),c(19,"mat-option",10),h(20,"Horizontal Fixed"),d()()(),c(21,"mat-form-field")(22,"input",11),k("ngModelChange",function(a){return C(n.options.fixedColWidth,a)||(n.options.fixedColWidth=a),a}),g("ngModelChange",function(){return n.changedOptions()}),d()(),c(23,"mat-form-field")(24,"input",12),k("ngModelChange",function(a){return C(n.options.fixedRowHeight,a)||(n.options.fixedRowHeight=a),a}),g("ngModelChange",function(){return n.changedOptions()}),d()(),c(25,"mat-form-field")(26,"input",13),g("ngModelChange",function(){return n.changedOptions()}),k("ngModelChange",function(a){return C(n.options.rowHeightRatio,a)||(n.options.rowHeightRatio=a),a}),d()(),c(27,"mat-checkbox",14),k("ngModelChange",function(a){return C(n.options.setGridSize,a)||(n.options.setGridSize=a),a}),g("ngModelChange",function(){return n.changedOptions()}),h(28," Set Grid Size "),d(),c(29,"mat-checkbox",14),k("ngModelChange",function(a){return C(n.options.keepFixedHeightInMobile,a)||(n.options.keepFixedHeightInMobile=a),a}),g("ngModelChange",function(){return n.changedOptions()}),h(30," Keep Fixed Height In Mobile "),d(),c(31,"mat-checkbox",14),k("ngModelChange",function(a){return C(n.options.keepFixedWidthInMobile,a)||(n.options.keepFixedWidthInMobile=a),a}),g("ngModelChange",function(){return n.changedOptions()}),h(32," Keep Fixed Width In Mobile "),d(),c(33,"mat-checkbox",14),k("ngModelChange",function(a){return C(n.options.useBodyForBreakpoint,a)||(n.options.useBodyForBreakpoint=a),a}),g("ngModelChange",function(){return n.changedOptions()}),h(34," Use Body Width as Breakpoint "),d(),c(35,"mat-form-field")(36,"input",15),k("ngModelChange",function(a){return C(n.options.mobileBreakpoint,a)||(n.options.mobileBreakpoint=a),a}),g("ngModelChange",function(){return n.changedOptions()}),d()(),c(37,"button",16),g("click",function(){return n.addItem()}),c(38,"mat-icon"),h(39,"add"),d()()(),c(40,"gridster",17),re(41,Ox,5,1,"gridster-item",18,_e),d()),i&2&&(u(5),S("src","assets/gridTypes.md"),u(3),w("ngModel",n.options.gridType),u(14),w("ngModel",n.options.fixedColWidth),u(2),w("ngModel",n.options.fixedRowHeight),u(2),w("ngModel",n.options.rowHeightRatio),u(),w("ngModel",n.options.setGridSize),u(2),w("ngModel",n.options.keepFixedHeightInMobile),u(2),w("ngModel",n.options.keepFixedWidthInMobile),u(2),w("ngModel",n.options.useBodyForBreakpoint),u(3),w("ngModel",n.options.mobileBreakpoint),u(4),S("options",n.options),u(),se(n.dashboard))},dependencies:[Se,Xe,Qe,Ee,ke,he,me,xe,We,Fe,pe,ue,tt,et,Be,ft,pt,rt,de,ve,ce,ge],encapsulation:2,changeDetection:0});let r=e;return r})();function Fx(r,e){if(r&1){let o=L();c(0,"mat-checkbox",14),k("ngModelChange",function(i){b(o);let n=f();return C(n.options.draggable.enabled,i)||(n.options.draggable.enabled=i),_(i)}),g("ngModelChange",function(){b(o);let i=f();return _(i.changedOptions())}),h(1," Drag Items "),d()}if(r&2){let o=f();w("ngModel",o.options.draggable.enabled)}}function Px(r,e){if(r&1){let o=L();c(0,"mat-checkbox",14),k("ngModelChange",function(i){b(o);let n=f();return C(n.options.resizable.enabled,i)||(n.options.resizable.enabled=i),_(i)}),g("ngModelChange",function(){b(o);let i=f();return _(i.changedOptions())}),h(1," Resize Items "),d()}if(r&2){let o=f();w("ngModel",o.options.resizable.enabled)}}function Lx(r,e){r&1&&(c(0,"div",24)(1,"div",27)(2,"span"),h(3,"Some content to select and click without dragging the widget"),d(),c(4,"a",28),h(5,"Link to Google"),d()()())}function zx(r,e){if(r&1){let o=L();c(0,"div",25)(1,"button",29)(2,"mat-icon"),h(3,"open_with"),d()(),c(4,"button",30),g("mousedown",function(i){b(o);let n=f().$implicit,s=f();return _(s.removeItem(i,n))})("touchstart",function(i){b(o);let n=f().$implicit,s=f();return _(s.removeItem(i,n))}),c(5,"mat-icon"),h(6,"delete"),d()()()}}function Nx(r,e){if(r&1&&(c(0,"label"),h(1),d()),r&2){let o=f().$implicit;u(),qe(o.label)}}function Vx(r,e){if(r&1){let o=L();c(0,"button",31),g("mousedown",function(i){b(o);let n=f().$implicit,s=f();return _(s.removeItem(i,n))})("touchstart",function(i){b(o);let n=f().$implicit,s=f();return _(s.removeItem(i,n))}),c(1,"mat-icon"),h(2,"delete"),d()()}}function jx(r,e){if(r&1&&(c(0,"gridster-item",22)(1,"div",23),Q(2,Lx,6,0,"div",24)(3,zx,7,0,"div",25)(4,Nx,2,1,"label")(5,Vx,3,0,"button",26),d()()),r&2){let o=e.$implicit;S("item",o),u(2),N(o.hasContent?2:-1),u(),N(o.hasContent?3:-1),u(),N(o.hasContent?-1:4),u(),N(o.hasContent?-1:5)}}var Lu=(()=>{let e=class e{ngOnInit(){this.options={gridType:z.Fit,compactType:fe.None,margin:10,outerMargin:!0,outerMarginTop:null,outerMarginRight:null,outerMarginBottom:null,outerMarginLeft:null,useTransformPositioning:!0,mobileBreakpoint:640,useBodyForBreakpoint:!1,minCols:1,maxCols:100,minRows:1,maxRows:100,maxItemCols:100,minItemCols:1,maxItemRows:100,minItemRows:1,maxItemArea:2500,minItemArea:1,defaultItemCols:1,defaultItemRows:1,fixedColWidth:105,fixedRowHeight:105,keepFixedHeightInMobile:!1,keepFixedWidthInMobile:!1,scrollSensitivity:10,scrollSpeed:20,enableEmptyCellClick:!1,enableEmptyCellContextMenu:!1,enableEmptyCellDrop:!1,enableEmptyCellDrag:!1,enableOccupiedCellDrop:!1,emptyCellDragMaxCols:50,emptyCellDragMaxRows:50,ignoreMarginInRow:!1,draggable:{enabled:!0},resizable:{enabled:!0},swap:!1,pushItems:!0,disablePushOnDrag:!1,disablePushOnResize:!1,pushDirections:{north:!0,east:!0,south:!0,west:!0},pushResizeItems:!1,displayGrid:ye.Always,disableWindowResize:!1,disableWarnings:!1,scrollToNewItems:!1},this.dashboard=[{cols:2,rows:1,y:0,x:0},{cols:2,rows:2,y:0,x:2,hasContent:!0},{cols:1,rows:1,y:0,x:4},{cols:1,rows:1,y:2,x:5},{cols:1,rows:1,y:1,x:0},{cols:1,rows:1,y:1,x:0},{cols:2,rows:2,y:3,x:5,minItemRows:2,minItemCols:2,label:"Min rows & cols = 2"},{cols:2,rows:2,y:2,x:0,maxItemRows:2,maxItemCols:2,label:"Max rows & cols = 2"},{cols:2,rows:1,y:2,x:2,dragEnabled:!0,resizeEnabled:!0,label:"Drag&Resize Enabled"},{cols:1,rows:1,y:2,x:4,dragEnabled:!1,resizeEnabled:!1,label:"Drag&Resize Disabled"},{cols:1,rows:1,y:2,x:6}]}changedOptions(){this.options.api&&this.options.api.optionsChanged&&this.options.api.optionsChanged()}removeItem(t,i){t.preventDefault(),t.stopPropagation(),this.dashboard.splice(this.dashboard.indexOf(i),1)}addItem(){this.dashboard.push({x:0,y:0,cols:1,rows:1})}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=R({type:e,selectors:[["app-general"]],standalone:!0,features:[A],decls:54,vars:14,consts:[[1,"options"],["mat-raised-button","","href","https://github.com/tiberiuzuld/angular-gridster2/tree/master/src/app/sections/home","target","_blank",1,"source-code-button"],[1,"options-header"],["aria-label","Grid type","placeholder","Grid Type",3,"ngModelChange","ngModel"],["value","fit"],["value","scrollVertical"],["value","scrollHorizontal"],["value","fixed"],["value","verticalFixed"],["value","horizontalFixed"],["aria-label","Display grid lines","placeholder","Display grid lines",3,"ngModelChange","ngModel"],["value","always"],["value","onDrag&Resize"],["value","none"],[3,"ngModelChange","ngModel"],[3,"ngModel"],["matInput","","min","0","max","30","step","1","type","number","placeholder","Margin",3,"ngModelChange","ngModel"],["matInput","","type","number","placeholder","Mobile Breakpoint",3,"ngModelChange","ngModel"],["matInput","","type","number","placeholder","Fixed Col Width",3,"ngModelChange","ngModel"],["matInput","","type","number","placeholder","Fixed Row Height",3,"ngModelChange","ngModel"],["mat-mini-fab","",1,"add-button","cols-2",3,"click"],[3,"options"],[3,"item"],[1,"button-holder"],[1,"gridster-item-content"],[1,"item-buttons"],["mat-mini-fab",""],[1,"stuff"],["href","https://www.google.com","target","_blank"],["mat-icon-button","",1,"drag-handler"],["mat-icon-button","",1,"remove-button",3,"mousedown","touchstart"],["mat-mini-fab","",3,"mousedown","touchstart"]],template:function(i,n){i&1&&(c(0,"div",0)(1,"a",1)(2,"mat-icon"),h(3,"open_in_new"),d(),h(4," Source "),d()(),c(5,"div",2)(6,"mat-form-field")(7,"mat-select",3),k("ngModelChange",function(a){return C(n.options.gridType,a)||(n.options.gridType=a),a}),g("ngModelChange",function(){return n.changedOptions()}),c(8,"mat-option",4),h(9,"Fit to screen"),d(),c(10,"mat-option",5),h(11,"Scroll Vertical"),d(),c(12,"mat-option",6),h(13,"Scroll Horizontal"),d(),c(14,"mat-option",7),h(15,"Fixed"),d(),c(16,"mat-option",8),h(17,"Vertical Fixed"),d(),c(18,"mat-option",9),h(19,"Horizontal Fixed"),d()()(),c(20,"mat-form-field")(21,"mat-select",10),k("ngModelChange",function(a){return C(n.options.displayGrid,a)||(n.options.displayGrid=a),a}),g("ngModelChange",function(){return n.changedOptions()}),c(22,"mat-option",11),h(23,"Always"),d(),c(24,"mat-option",12),h(25,"On Drag & Resize"),d(),c(26,"mat-option",13),h(27,"None"),d()()(),c(28,"mat-checkbox",14),k("ngModelChange",function(a){return C(n.options.swap,a)||(n.options.swap=a),a}),g("ngModelChange",function(){return n.changedOptions()}),h(29," Swap Items "),d(),c(30,"mat-checkbox",14),k("ngModelChange",function(a){return C(n.options.pushItems,a)||(n.options.pushItems=a),a}),g("ngModelChange",function(){return n.changedOptions()}),h(31," Push Items "),d(),Q(32,Fx,2,1,"mat-checkbox",15)(33,Px,2,1,"mat-checkbox",15),c(34,"mat-checkbox",14),k("ngModelChange",function(a){return C(n.options.pushResizeItems,a)||(n.options.pushResizeItems=a),a}),g("ngModelChange",function(){return n.changedOptions()}),h(35," Push Resize Items "),d(),c(36,"mat-form-field")(37,"input",16),k("ngModelChange",function(a){return C(n.options.margin,a)||(n.options.margin=a),a}),g("ngModelChange",function(){return n.changedOptions()}),d()(),c(38,"mat-checkbox",14),k("ngModelChange",function(a){return C(n.options.outerMargin,a)||(n.options.outerMargin=a),a}),g("ngModelChange",function(){return n.changedOptions()}),h(39,"Outer Margin "),d(),c(40,"mat-checkbox",14),k("ngModelChange",function(a){return C(n.options.useBodyForBreakpoint,a)||(n.options.useBodyForBreakpoint=a),a}),g("ngModelChange",function(){return n.changedOptions()}),h(41,"Use Body Width as Breakpoint "),d(),c(42,"mat-form-field")(43,"input",17),k("ngModelChange",function(a){return C(n.options.mobileBreakpoint,a)||(n.options.mobileBreakpoint=a),a}),g("ngModelChange",function(){return n.changedOptions()}),d()(),c(44,"mat-form-field")(45,"input",18),k("ngModelChange",function(a){return C(n.options.fixedColWidth,a)||(n.options.fixedColWidth=a),a}),g("ngModelChange",function(){return n.changedOptions()}),d()(),c(46,"mat-form-field")(47,"input",19),k("ngModelChange",function(a){return C(n.options.fixedRowHeight,a)||(n.options.fixedRowHeight=a),a}),g("ngModelChange",function(){return n.changedOptions()}),d()(),c(48,"button",20),g("click",function(){return n.addItem()}),c(49,"mat-icon"),h(50,"add"),d()()(),c(51,"gridster",21),re(52,jx,6,5,"gridster-item",22,_e),d()),i&2&&(u(7),w("ngModel",n.options.gridType),u(14),w("ngModel",n.options.displayGrid),u(7),w("ngModel",n.options.swap),u(2),w("ngModel",n.options.pushItems),u(2),N(n.options.draggable?32:-1),u(),N(n.options.resizable?33:-1),u(),w("ngModel",n.options.pushResizeItems),u(3),w("ngModel",n.options.margin),u(),w("ngModel",n.options.outerMargin),u(2),w("ngModel",n.options.useBodyForBreakpoint),u(3),w("ngModel",n.options.mobileBreakpoint),u(2),w("ngModel",n.options.fixedColWidth),u(2),w("ngModel",n.options.fixedRowHeight),u(4),S("options",n.options),u(),se(n.dashboard))},dependencies:[Se,Xe,Qe,Ee,mi,di,ke,he,me,Ai,xe,We,Fe,pe,ue,tt,et,Be,ft,pt,rt,ce,ge],encapsulation:2,changeDetection:0});let r=e;return r})();function Bx(r,e){if(r&1){let o=L();c(0,"mat-checkbox",16),k("ngModelChange",function(i){b(o);let n=f(2);return C(n.dashboard[0].resizableHandles.s,i)||(n.dashboard[0].resizableHandles.s=i),_(i)}),g("ngModelChange",function(){b(o);let i=f(2);return _(i.changedOptions())}),h(1," Resize South "),d(),c(2,"mat-checkbox",16),k("ngModelChange",function(i){b(o);let n=f(2);return C(n.dashboard[0].resizableHandles.e,i)||(n.dashboard[0].resizableHandles.e=i),_(i)}),g("ngModelChange",function(){b(o);let i=f(2);return _(i.changedOptions())}),h(3," Resize East "),d(),c(4,"mat-checkbox",16),k("ngModelChange",function(i){b(o);let n=f(2);return C(n.dashboard[0].resizableHandles.n,i)||(n.dashboard[0].resizableHandles.n=i),_(i)}),g("ngModelChange",function(){b(o);let i=f(2);return _(i.changedOptions())}),h(5," Resize North "),d(),c(6,"mat-checkbox",16),k("ngModelChange",function(i){b(o);let n=f(2);return C(n.dashboard[0].resizableHandles.w,i)||(n.dashboard[0].resizableHandles.w=i),_(i)}),g("ngModelChange",function(){b(o);let i=f(2);return _(i.changedOptions())}),h(7," Resize West "),d(),c(8,"mat-checkbox",16),k("ngModelChange",function(i){b(o);let n=f(2);return C(n.dashboard[0].resizableHandles.se,i)||(n.dashboard[0].resizableHandles.se=i),_(i)}),g("ngModelChange",function(){b(o);let i=f(2);return _(i.changedOptions())}),h(9," Resize South-East "),d(),c(10,"mat-checkbox",16),k("ngModelChange",function(i){b(o);let n=f(2);return C(n.dashboard[0].resizableHandles.ne,i)||(n.dashboard[0].resizableHandles.ne=i),_(i)}),g("ngModelChange",function(){b(o);let i=f(2);return _(i.changedOptions())}),h(11," Resize North-East "),d(),c(12,"mat-checkbox",16),k("ngModelChange",function(i){b(o);let n=f(2);return C(n.dashboard[0].resizableHandles.sw,i)||(n.dashboard[0].resizableHandles.sw=i),_(i)}),g("ngModelChange",function(){b(o);let i=f(2);return _(i.changedOptions())}),h(13," Resize South-West "),d(),c(14,"mat-checkbox",16),k("ngModelChange",function(i){b(o);let n=f(2);return C(n.dashboard[0].resizableHandles.nw,i)||(n.dashboard[0].resizableHandles.nw=i),_(i)}),g("ngModelChange",function(){b(o);let i=f(2);return _(i.changedOptions())}),h(15," Resize North-West "),d()}if(r&2){let o=f(2);w("ngModel",o.dashboard[0].resizableHandles.s),u(2),w("ngModel",o.dashboard[0].resizableHandles.e),u(2),w("ngModel",o.dashboard[0].resizableHandles.n),u(2),w("ngModel",o.dashboard[0].resizableHandles.w),u(2),w("ngModel",o.dashboard[0].resizableHandles.se),u(2),w("ngModel",o.dashboard[0].resizableHandles.ne),u(2),w("ngModel",o.dashboard[0].resizableHandles.sw),u(2),w("ngModel",o.dashboard[0].resizableHandles.nw)}}function Wx(r,e){if(r&1){let o=L();c(0,"div",3)(1,"mat-form-field")(2,"input",6),k("ngModelChange",function(i){b(o);let n=f();return C(n.dashboard[0].x,i)||(n.dashboard[0].x=i),_(i)}),g("ngModelChange",function(){b(o);let i=f();return _(i.changedOptions())}),d()(),c(3,"mat-form-field")(4,"input",7),k("ngModelChange",function(i){b(o);let n=f();return C(n.dashboard[0].y,i)||(n.dashboard[0].y=i),_(i)}),g("ngModelChange",function(){b(o);let i=f();return _(i.changedOptions())}),d()(),c(5,"mat-form-field")(6,"input",8),k("ngModelChange",function(i){b(o);let n=f();return C(n.dashboard[0].rows,i)||(n.dashboard[0].rows=i),_(i)}),g("ngModelChange",function(){b(o);let i=f();return _(i.changedOptions())}),d()(),c(7,"mat-form-field")(8,"input",9),k("ngModelChange",function(i){b(o);let n=f();return C(n.dashboard[0].cols,i)||(n.dashboard[0].cols=i),_(i)}),g("ngModelChange",function(){b(o);let i=f();return _(i.changedOptions())}),d()(),c(9,"mat-form-field")(10,"input",10),k("ngModelChange",function(i){b(o);let n=f();return C(n.dashboard[0].maxItemCols,i)||(n.dashboard[0].maxItemCols=i),_(i)}),g("ngModelChange",function(){b(o);let i=f();return _(i.changedOptions())}),d()(),c(11,"mat-form-field")(12,"input",11),k("ngModelChange",function(i){b(o);let n=f();return C(n.dashboard[0].minItemCols,i)||(n.dashboard[0].minItemCols=i),_(i)}),g("ngModelChange",function(){b(o);let i=f();return _(i.changedOptions())}),d()(),c(13,"mat-form-field")(14,"input",12),k("ngModelChange",function(i){b(o);let n=f();return C(n.dashboard[0].maxItemRows,i)||(n.dashboard[0].maxItemRows=i),_(i)}),g("ngModelChange",function(){b(o);let i=f();return _(i.changedOptions())}),d()(),c(15,"mat-form-field")(16,"input",13),k("ngModelChange",function(i){b(o);let n=f();return C(n.dashboard[0].minItemRows,i)||(n.dashboard[0].minItemRows=i),_(i)}),g("ngModelChange",function(){b(o);let i=f();return _(i.changedOptions())}),d()(),c(17,"mat-form-field")(18,"input",14),k("ngModelChange",function(i){b(o);let n=f();return C(n.dashboard[0].maxItemArea,i)||(n.dashboard[0].maxItemArea=i),_(i)}),g("ngModelChange",function(){b(o);let i=f();return _(i.changedOptions())}),d()(),c(19,"mat-form-field")(20,"input",15),k("ngModelChange",function(i){b(o);let n=f();return C(n.dashboard[0].minItemArea,i)||(n.dashboard[0].minItemArea=i),_(i)}),g("ngModelChange",function(){b(o);let i=f();return _(i.changedOptions())}),d()(),c(21,"mat-checkbox",16),k("ngModelChange",function(i){b(o);let n=f();return C(n.dashboard[0].dragEnabled,i)||(n.dashboard[0].dragEnabled=i),_(i)}),g("ngModelChange",function(){b(o);let i=f();return _(i.changedOptions())}),h(22," Drag "),d(),c(23,"mat-checkbox",16),k("ngModelChange",function(i){b(o);let n=f();return C(n.dashboard[0].resizeEnabled,i)||(n.dashboard[0].resizeEnabled=i),_(i)}),g("ngModelChange",function(){b(o);let i=f();return _(i.changedOptions())}),h(24," Resize "),d(),c(25,"mat-checkbox",16),k("ngModelChange",function(i){b(o);let n=f();return C(n.dashboard[0].compactEnabled,i)||(n.dashboard[0].compactEnabled=i),_(i)}),g("ngModelChange",function(){b(o);let i=f();return _(i.changedOptions())}),h(26," Compact "),d(),Q(27,Bx,16,8),c(28,"mat-form-field")(29,"mat-select",17),k("ngModelChange",function(i){b(o);let n=f();return C(n.options.compactType,i)||(n.options.compactType=i),_(i)}),g("ngModelChange",function(){b(o);let i=f();return _(i.changedOptions())}),c(30,"mat-option",18),h(31,"None"),d(),c(32,"mat-option",19),h(33,"Compact Up"),d(),c(34,"mat-option",20),h(35,"Compact Left"),d(),c(36,"mat-option",21),h(37,"Compact Left & Up"),d(),c(38,"mat-option",22),h(39,"Compact Up & Left"),d()()(),c(40,"button",23),g("click",function(){b(o);let i=f();return _(i.addItem())}),c(41,"mat-icon"),h(42,"add"),d()()()}if(r&2){let o=f();u(2),w("ngModel",o.dashboard[0].x),u(2),w("ngModel",o.dashboard[0].y),u(2),w("ngModel",o.dashboard[0].rows),u(2),w("ngModel",o.dashboard[0].cols),u(2),w("ngModel",o.dashboard[0].maxItemCols),u(2),w("ngModel",o.dashboard[0].minItemCols),u(2),w("ngModel",o.dashboard[0].maxItemRows),u(2),w("ngModel",o.dashboard[0].minItemRows),u(2),w("ngModel",o.dashboard[0].maxItemArea),u(2),w("ngModel",o.dashboard[0].minItemArea),u(),w("ngModel",o.dashboard[0].dragEnabled),u(2),w("ngModel",o.dashboard[0].resizeEnabled),u(2),w("ngModel",o.dashboard[0].compactEnabled),u(2),N(o.dashboard[0].resizableHandles?27:-1),u(2),w("ngModel",o.options.compactType)}}function $x(r,e){if(r&1){let o=L();c(0,"gridster-item",5)(1,"div",24)(2,"button",25),g("mousedown",function(i){let n=b(o).$implicit,s=f();return _(s.removeItem(i,n))})("touchstart",function(i){let n=b(o).$implicit,s=f();return _(s.removeItem(i,n))}),c(3,"mat-icon"),h(4,"delete"),d()()()()}if(r&2){let o=e.$implicit;S("item",o)}}var zu=(()=>{let e=class e{static itemInit(t,i){console.info("itemInitialized",t,i)}ngOnInit(){this.options={gridType:z.Fit,displayGrid:ye.Always,compactType:fe.None,pushItems:!0,draggable:{enabled:!0},resizable:{enabled:!0},minCols:1,maxCols:100,minRows:1,maxRows:100,maxItemCols:100,minItemCols:1,maxItemRows:100,minItemRows:1,maxItemArea:2500,minItemArea:1,defaultItemCols:1,defaultItemRows:1},this.dashboard=[{cols:2,rows:1,y:0,x:0,initCallback:e.itemInit,minItemCols:1,maxItemCols:100,maxItemRows:100,minItemRows:1,minItemArea:1,maxItemArea:2500,dragEnabled:!0,resizeEnabled:!0,compactEnabled:!0,resizableHandles:{s:!0,e:!0,n:!0,w:!0,se:!0,ne:!0,sw:!0,nw:!0}},{cols:2,rows:2,y:0,x:2},{cols:1,rows:1,y:0,x:4},{cols:3,rows:2,y:1,x:4},{cols:1,rows:1,y:2,x:1}]}changedOptions(){this.options.api&&this.options.api.optionsChanged&&this.options.api.optionsChanged()}removeItem(t,i){t.preventDefault(),t.stopPropagation(),this.dashboard.splice(this.dashboard.indexOf(i),1)}addItem(){this.dashboard.push({x:0,y:0,cols:1,rows:1})}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=R({type:e,selectors:[["app-items"]],standalone:!0,features:[A],decls:10,vars:3,consts:[[1,"options"],["mat-raised-button","","href","https://github.com/tiberiuzuld/angular-gridster2/tree/master/src/app/sections/items","target","_blank",1,"source-code-button"],[3,"src"],[1,"options-header"],[3,"options"],[3,"item"],["matInput","","type","number","placeholder","X",3,"ngModelChange","ngModel"],["matInput","","type","number","placeholder","Y",3,"ngModelChange","ngModel"],["matInput","","type","number","placeholder","Rows",3,"ngModelChange","ngModel"],["matInput","","type","number","placeholder","Cols",3,"ngModelChange","ngModel"],["matInput","","type","number","placeholder","Max Item Cols",3,"ngModelChange","ngModel"],["matInput","","type","number","placeholder","Min Item Cols",3,"ngModelChange","ngModel"],["matInput","","type","number","placeholder","Max Item Rows",3,"ngModelChange","ngModel"],["matInput","","type","number","placeholder","Min Item Rows",3,"ngModelChange","ngModel"],["matInput","","type","number","placeholder","Max Item Area",3,"ngModelChange","ngModel"],["matInput","","type","number","placeholder","Min Item Area",3,"ngModelChange","ngModel"],[3,"ngModelChange","ngModel"],["aria-label","Compact type","placeholder","Compact Type",3,"ngModelChange","ngModel"],["value","none"],["value","compactUp"],["value","compactLeft"],["value","compactLeft&Up"],["value","compactUp&Left"],["mat-mini-fab","",1,"add-button","cols-2",3,"click"],[1,"button-holder"],["mat-mini-fab","",3,"mousedown","touchstart"]],template:function(i,n){i&1&&(c(0,"div",0)(1,"a",1)(2,"mat-icon"),h(3,"open_in_new"),d(),h(4," Source "),d(),O(5,"markdown",2),d(),Q(6,Wx,43,15,"div",3),c(7,"gridster",4),re(8,$x,5,1,"gridster-item",5,_e),d()),i&2&&(u(5),S("src","assets/items.md"),u(),N(n.dashboard[0]?6:-1),u(),S("options",n.options),u(),se(n.dashboard))},dependencies:[Se,Xe,Qe,Ee,ke,he,me,xe,We,Fe,pe,ue,tt,et,Be,ft,pt,rt,de,ve,ce,ge],encapsulation:2,changeDetection:0});let r=e;return r})();function Ux(r,e){if(r&1){let o=L();c(0,"gridster-item",15)(1,"div",16)(2,"button",17),g("mousedown",function(i){let n=b(o).$implicit,s=f();return _(s.removeItem(i,n))})("touchstart",function(i){let n=b(o).$implicit,s=f();return _(s.removeItem(i,n))}),c(3,"mat-icon"),h(4,"delete"),d()()()()}if(r&2){let o=e.$implicit;S("item",o)}}var Nu=(()=>{let e=class e{ngOnInit(){this.options={gridType:z.Fit,displayGrid:ye.Always,draggable:{enabled:!0},resizable:{enabled:!0},disableWindowResize:!0,scrollToNewItems:!1,disableWarnings:!1,ignoreMarginInRow:!1,setGridSize:!1,scale:1},this.dashboard=[{cols:2,rows:1,y:0,x:0},{cols:2,rows:2,y:0,x:2},{cols:1,rows:1,y:0,x:4},{cols:3,rows:2,y:1,x:4},{cols:1,rows:1,y:4,x:5},{cols:1,rows:1,y:2,x:1},{cols:2,rows:2,y:5,x:5},{cols:2,rows:2,y:3,x:2},{cols:2,rows:1,y:2,x:2},{cols:1,rows:1,y:3,x:4},{cols:1,rows:1,y:0,x:6}]}changedOptions(){this.options.api&&this.options.api.optionsChanged&&this.options.api.optionsChanged()}removeItem(t,i){t.preventDefault(),t.stopPropagation(),this.dashboard.splice(this.dashboard.indexOf(i),1)}addItem(){this.dashboard.push({x:0,y:0,cols:1,rows:1})}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=R({type:e,selectors:[["app-misc"]],standalone:!0,features:[A],decls:43,vars:10,consts:[[1,"options"],["mat-raised-button","","href","https://github.com/tiberiuzuld/angular-gridster2/tree/master/src/app/sections/misc","target","_blank",1,"source-code-button"],[3,"src"],[1,"options-header"],[3,"ngModelChange","ngModel"],["matInput","","type","number",3,"ngModelChange","ngModel"],["aria-label","Grid type","placeholder","Grid Type",3,"ngModelChange","ngModel"],["value","fit"],["value","scrollVertical"],["value","scrollHorizontal"],["value","fixed"],["value","verticalFixed"],["value","horizontalFixed"],["mat-mini-fab","",1,"add-button","cols-2",3,"click"],[3,"options"],[3,"item"],[1,"button-holder"],["mat-mini-fab","",3,"mousedown","touchstart"]],template:function(i,n){i&1&&(c(0,"div",0)(1,"a",1)(2,"mat-icon"),h(3,"open_in_new"),d(),h(4," Source "),d(),O(5,"markdown",2),d(),c(6,"div",3)(7,"mat-checkbox",4),k("ngModelChange",function(a){return C(n.options.disableWindowResize,a)||(n.options.disableWindowResize=a),a}),g("ngModelChange",function(){return n.changedOptions()}),h(8," Disable window resize "),d(),c(9,"mat-checkbox",4),g("ngModelChange",function(){return n.changedOptions()}),k("ngModelChange",function(a){return C(n.options.setGridSize,a)||(n.options.setGridSize=a),a}),h(10," Set grid size "),d(),c(11,"mat-checkbox",4),k("ngModelChange",function(a){return C(n.options.scrollToNewItems,a)||(n.options.scrollToNewItems=a),a}),g("ngModelChange",function(){return n.changedOptions()}),h(12," Scroll to new items "),d(),c(13,"mat-checkbox",4),k("ngModelChange",function(a){return C(n.options.disableWarnings,a)||(n.options.disableWarnings=a),a}),g("ngModelChange",function(){return n.changedOptions()}),h(14," Disable console warnings "),d(),c(15,"mat-checkbox",4),k("ngModelChange",function(a){return C(n.options.ignoreMarginInRow,a)||(n.options.ignoreMarginInRow=a),a}),g("ngModelChange",function(){return n.changedOptions()}),h(16," Ignore margin in row "),d(),c(17,"mat-checkbox",4),k("ngModelChange",function(a){return C(n.options.disableAutoPositionOnConflict,a)||(n.options.disableAutoPositionOnConflict=a),a}),g("ngModelChange",function(){return n.changedOptions()}),h(18," Disable auto position on conflict "),d(),c(19,"mat-form-field")(20,"mat-label"),h(21,"Scale"),d(),c(22,"input",5),g("ngModelChange",function(){return n.changedOptions()}),k("ngModelChange",function(a){return C(n.options.scale,a)||(n.options.scale=a),a}),d()(),c(23,"mat-form-field")(24,"mat-select",6),k("ngModelChange",function(a){return C(n.options.gridType,a)||(n.options.gridType=a),a}),g("ngModelChange",function(){return n.changedOptions()}),c(25,"mat-option",7),h(26,"Fit to screen"),d(),c(27,"mat-option",8),h(28,"Scroll Vertical"),d(),c(29,"mat-option",9),h(30,"Scroll Horizontal"),d(),c(31,"mat-option",10),h(32,"Fixed"),d(),c(33,"mat-option",11),h(34,"Vertical Fixed"),d(),c(35,"mat-option",12),h(36,"Horizontal Fixed"),d()()(),c(37,"button",13),g("click",function(){return n.addItem()}),c(38,"mat-icon"),h(39,"add"),d()()(),c(40,"gridster",14),re(41,Ux,5,1,"gridster-item",15,_e),d()),i&2&&(u(5),S("src","assets/misc.md"),u(2),w("ngModel",n.options.disableWindowResize),u(2),w("ngModel",n.options.setGridSize),u(2),w("ngModel",n.options.scrollToNewItems),u(2),w("ngModel",n.options.disableWarnings),u(2),w("ngModel",n.options.ignoreMarginInRow),u(2),w("ngModel",n.options.disableAutoPositionOnConflict),u(5),w("ngModel",n.options.scale),u(2),w("ngModel",n.options.gridType),u(16),S("options",n.options),u(),se(n.dashboard))},dependencies:[Se,Xe,Qe,Ee,ke,he,me,xe,We,Fe,pe,ue,tt,et,Be,Os,ft,pt,rt,de,ve,ce,ge],encapsulation:2,changeDetection:0});let r=e;return r})();var Hx=["mat-menu-item",""],Gx=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],Yx=["mat-icon, [matMenuItemIcon]","*"];function Xx(r,e){r&1&&(Vi(),c(0,"svg",2),O(1,"polygon",3),d())}var qx=["*"];function Zx(r,e){if(r&1){let o=L();c(0,"div",0),g("keydown",function(i){b(o);let n=f();return _(n._handleKeydown(i))})("click",function(){b(o);let i=f();return _(i.closed.emit("click"))})("@transformMenu.start",function(i){b(o);let n=f();return _(n._onAnimationStart(i))})("@transformMenu.done",function(i){b(o);let n=f();return _(n._onAnimationDone(i))}),c(1,"div",1),X(2),d()()}if(r&2){let o=f();$t(o._classList),S("id",o.panelId)("@transformMenu",o._panelAnimationState),be("aria-label",o.ariaLabel||null)("aria-labelledby",o.ariaLabelledby||null)("aria-describedby",o.ariaDescribedby||null)}}var hc=new P("MAT_MENU_PANEL"),lr=(()=>{let e=class e{constructor(t,i,n,s,a){this._elementRef=t,this._document=i,this._focusMonitor=n,this._parentMenu=s,this._changeDetectorRef=a,this.role="menuitem",this.disabled=!1,this.disableRipple=!1,this._hovered=new W,this._focused=new W,this._highlighted=!1,this._triggersSubmenu=!1,s?.addItem?.(this)}focus(t,i){this._focusMonitor&&t?this._focusMonitor.focusVia(this._getHostElement(),t,i):this._getHostElement().focus(i),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(t){this.disabled&&(t.preventDefault(),t.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){let t=this._elementRef.nativeElement.cloneNode(!0),i=t.querySelectorAll("mat-icon, .material-icons");for(let n=0;n enter",si("120ms cubic-bezier(0, 0, 0.2, 1)",Ct({opacity:1,transform:"scale(1)"}))),qt("* => void",si("100ms 25ms linear",Ct({opacity:0})))]),fadeInItems:Ci("fadeInItems",[Ui("showing",Ct({opacity:1})),qt("void => *",[Ct({opacity:0}),si("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},DT=Fs.fadeInItems,RT=Fs.transformMenu,Kx=0,Jx=new P("mat-menu-default-options",{providedIn:"root",factory:ey});function ey(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}var Un=(()=>{let e=class e{get xPosition(){return this._xPosition}set xPosition(t){this._xPosition=t,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(t){this._yPosition=t,this.setPositionClasses()}set panelClass(t){let i=this._previousPanelClass,n=M({},this._classList);i&&i.length&&i.split(" ").forEach(s=>{n[s]=!1}),this._previousPanelClass=t,t&&t.length&&(t.split(" ").forEach(s=>{n[s]=!0}),this._elementRef.nativeElement.className=""),this._classList=n}get classList(){return this.panelClass}set classList(t){this.panelClass=t}constructor(t,i,n,s){this._elementRef=t,this._changeDetectorRef=s,this._elevationPrefix="mat-elevation-z",this._baseElevation=8,this._directDescendantItems=new Zn,this._classList={},this._panelAnimationState="void",this._animationDone=new W,this.closed=new Z,this.close=this.closed,this.panelId=`mat-menu-panel-${Kx++}`,this._injector=T(wt),this.overlayPanelClass=n.overlayPanelClass||"",this._xPosition=n.xPosition,this._yPosition=n.yPosition,this.backdropClass=n.backdropClass,this.overlapTrigger=n.overlapTrigger,this.hasBackdrop=n.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new jr(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(vt(this._directDescendantItems),$e(t=>mt(...t.map(i=>i._focused)))).subscribe(t=>this._keyManager.updateActiveItem(t)),this._directDescendantItems.changes.subscribe(t=>{let i=this._keyManager;if(this._panelAnimationState==="enter"&&i.activeItem?._hasFocus()){let n=t.toArray(),s=Math.max(0,Math.min(n.length-1,i.activeItemIndex||0));n[s]&&!n[s].disabled?i.setActiveItem(s):i.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusRef?.destroy()}_hovered(){return this._directDescendantItems.changes.pipe(vt(this._directDescendantItems),$e(i=>mt(...i.map(n=>n._hovered))))}addItem(t){}removeItem(t){}_handleKeydown(t){let i=t.keyCode,n=this._keyManager;switch(i){case 27:Ht(t)||(t.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&this.direction==="ltr"&&this.closed.emit("keydown");break;case 39:this.parentMenu&&this.direction==="rtl"&&this.closed.emit("keydown");break;default:(i===38||i===40)&&n.setFocusOrigin("keyboard"),n.onKeydown(t);return}t.stopPropagation()}focusFirstItem(t="program"){this._firstItemFocusRef?.destroy(),this._firstItemFocusRef=pn(()=>{let i=null;if(this._directDescendantItems.length&&(i=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!i||!i.contains(document.activeElement)){let n=this._keyManager;n.setFocusOrigin(t).setFirstItemActive(),!n.activeItem&&i&&i.focus()}},{injector:this._injector})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(t){let i=Math.min(this._baseElevation+t,24),n=`${this._elevationPrefix}${i}`,s=Object.keys(this._classList).find(a=>a.startsWith(this._elevationPrefix));if(!s||s===this._previousElevation){let a=M({},this._classList);this._previousElevation&&(a[this._previousElevation]=!1),a[n]=!0,this._previousElevation=n,this._classList=a}}setPositionClasses(t=this.xPosition,i=this.yPosition){this._classList=le(M({},this._classList),{"mat-menu-before":t==="before","mat-menu-after":t==="after","mat-menu-above":i==="above","mat-menu-below":i==="below"}),this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(t){this._animationDone.next(t),this._isAnimating=!1}_onAnimationStart(t){this._isAnimating=!0,t.toState==="enter"&&this._keyManager.activeItemIndex===0&&(t.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(vt(this._allItems)).subscribe(t=>{this._directDescendantItems.reset(t.filter(i=>i._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}};e.\u0275fac=function(i){return new(i||e)(x(U),x(B),x(Jx),x(Ge))},e.\u0275cmp=R({type:e,selectors:[["mat-menu"]],contentQueries:function(i,n,s){if(i&1&&(Ne(s,Qx,5),Ne(s,lr,5),Ne(s,lr,4)),i&2){let a;ee(a=te())&&(n.lazyContent=a.first),ee(a=te())&&(n._allItems=a),ee(a=te())&&(n.items=a)}},viewQuery:function(i,n){if(i&1&&Ve(Bi,5),i&2){let s;ee(s=te())&&(n.templateRef=s.first)}},hostVars:3,hostBindings:function(i,n){i&2&&be("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},inputs:{backdropClass:"backdropClass",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:[2,"overlapTrigger","overlapTrigger",ie],hasBackdrop:[2,"hasBackdrop","hasBackdrop",t=>t==null?null:ie(t)],panelClass:[0,"class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"},exportAs:["matMenu"],standalone:!0,features:[je([{provide:hc,useExisting:e}]),He,A],ngContentSelectors:qx,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel","mat-mdc-elevation-specific",3,"keydown","click","id"],[1,"mat-mdc-menu-content"]],template:function(i,n){i&1&&(Re(),Q(0,Zx,3,7,"ng-template"))},styles:['mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;list-style-type:none}.mat-mdc-menu-content:focus{outline:none}.mat-mdc-menu-content,.mat-mdc-menu-content .mat-mdc-menu-item .mat-mdc-menu-item-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;flex:1;white-space:normal;font-family:var(--mat-menu-item-label-text-font);line-height:var(--mat-menu-item-label-text-line-height);font-size:var(--mat-menu-item-label-text-size);letter-spacing:var(--mat-menu-item-label-text-tracking);font-weight:var(--mat-menu-item-label-text-weight)}.mat-mdc-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;box-sizing:border-box;outline:0;border-radius:var(--mat-menu-container-shape);background-color:var(--mat-menu-container-color);will-change:transform,opacity}.mat-mdc-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-mdc-menu-panel{outline:solid 1px}.mat-divider{color:var(--mat-menu-divider-color);margin-bottom:var(--mat-menu-divider-bottom-spacing);margin-top:var(--mat-menu-divider-top-spacing)}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:var(--mat-menu-item-leading-spacing);padding-right:var(--mat-menu-item-trailing-spacing);-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;align-items:center;min-height:48px}.mat-mdc-menu-item:focus{outline:none}[dir=rtl] .mat-mdc-menu-item,.mat-mdc-menu-item[dir=rtl]{padding-left:var(--mat-menu-item-trailing-spacing);padding-right:var(--mat-menu-item-leading-spacing)}.mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-left:var(--mat-menu-item-with-icon-leading-spacing);padding-right:var(--mat-menu-item-with-icon-trailing-spacing)}[dir=rtl] .mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]),.mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon])[dir=rtl]{padding-left:var(--mat-menu-item-with-icon-trailing-spacing);padding-right:var(--mat-menu-item-with-icon-leading-spacing)}.mat-mdc-menu-item::-moz-focus-inner{border:0}.mat-mdc-menu-item,.mat-mdc-menu-item:visited,.mat-mdc-menu-item:link{color:var(--mat-menu-item-label-text-color)}.mat-mdc-menu-item .mat-icon-no-color,.mat-mdc-menu-item .mat-mdc-menu-submenu-icon{color:var(--mat-menu-item-icon-color)}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item .mat-icon{flex-shrink:0;margin-right:var(--mat-menu-item-spacing);height:var(--mat-menu-item-icon-size);width:var(--mat-menu-item-icon-size)}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:var(--mat-menu-item-spacing)}.mat-mdc-menu-item:not([disabled]):hover{background-color:var(--mat-menu-item-hover-state-layer-color)}.mat-mdc-menu-item:not([disabled]).cdk-program-focused,.mat-mdc-menu-item:not([disabled]).cdk-keyboard-focused,.mat-mdc-menu-item:not([disabled]).mat-mdc-menu-item-highlighted{background-color:var(--mat-menu-item-focus-state-layer-color)}.cdk-high-contrast-active .mat-mdc-menu-item{margin-top:1px}.mat-mdc-menu-submenu-icon{width:var(--mat-menu-item-icon-size);height:10px;fill:currentColor;padding-left:var(--mat-menu-item-spacing)}[dir=rtl] .mat-mdc-menu-submenu-icon{padding-right:var(--mat-menu-item-spacing);padding-left:0}[dir=rtl] .mat-mdc-menu-submenu-icon polygon{transform:scaleX(-1)}.cdk-high-contrast-active .mat-mdc-menu-submenu-icon{fill:CanvasText}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,data:{animation:[Fs.transformMenu,Fs.fadeInItems]},changeDetection:0});let r=e;return r})(),ju=new P("mat-menu-scroll-strategy",{providedIn:"root",factory:()=>{let r=T(Lt);return()=>r.scrollStrategies.reposition()}});function ty(r){return()=>r.scrollStrategies.reposition()}var iy={provide:ju,deps:[Lt],useFactory:ty},Vu=Zt({passive:!0});var Bu=(()=>{let e=class e{get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(t){this.menu=t}get menu(){return this._menu}set menu(t){t!==this._menu&&(this._menu=t,this._menuCloseSubscription.unsubscribe(),t&&(this._parentMaterialMenu,this._menuCloseSubscription=t.close.subscribe(i=>{this._destroyMenu(i),(i==="click"||i==="tab")&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(i)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}constructor(t,i,n,s,a,l,m,p,v){this._overlay=t,this._element=i,this._viewContainerRef=n,this._menuItemInstance=l,this._dir=m,this._focusMonitor=p,this._ngZone=v,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=Ye.EMPTY,this._hoverSubscription=Ye.EMPTY,this._menuCloseSubscription=Ye.EMPTY,this._changeDetectorRef=T(Ge),this._handleTouchStart=y=>{mo(y)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new Z,this.onMenuOpen=this.menuOpened,this.menuClosed=new Z,this.onMenuClose=this.menuClosed,this._scrollStrategy=s,this._parentMaterialMenu=a instanceof Un?a:void 0,i.nativeElement.addEventListener("touchstart",this._handleTouchStart,Vu)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,Vu),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this.menu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){let t=this.menu;if(this._menuOpen||!t)return;let i=this._createOverlay(t),n=i.getConfig(),s=n.positionStrategy;this._setPosition(t,s),n.hasBackdrop=t.hasBackdrop==null?!this.triggersSubmenu():t.hasBackdrop,i.attach(this._getPortal(t)),t.lazyContent&&t.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(t),t instanceof Un&&(t._startAnimation(),t._directDescendantItems.changes.pipe(Me(t.close)).subscribe(()=>{s.withLockedPosition(!1).reapplyLastPosition(),s.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(t,i){this._focusMonitor&&t?this._focusMonitor.focusVia(this._element,t,i):this._element.nativeElement.focus(i)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(t){if(!this._overlayRef||!this.menuOpen)return;let i=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&(t==="keydown"||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,i instanceof Un?(i._resetAnimation(),i.lazyContent?i._animationDone.pipe(Oe(n=>n.toState==="void"),ht(1),Me(i.lazyContent._attached)).subscribe({next:()=>i.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),i?.lazyContent?.detach())}_initMenu(t){t.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,t.direction=this.dir,this._setMenuElevation(t),t.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(t){if(t.setElevation){let i=0,n=t.parentMenu;for(;n;)i++,n=n.parentMenu;t.setElevation(i)}}_setIsMenuOpen(t){t!==this._menuOpen&&(this._menuOpen=t,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(t),this._changeDetectorRef.markForCheck())}_createOverlay(t){if(!this._overlayRef){let i=this._getOverlayConfig(t);this._subscribeToPositions(t,i.positionStrategy),this._overlayRef=this._overlay.create(i),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(t){return new $n({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:t.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:t.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(t,i){t.setPositionClasses&&i.positionChanges.subscribe(n=>{let s=n.connectionPair.overlayX==="start"?"after":"before",a=n.connectionPair.overlayY==="top"?"below":"above";this._ngZone?this._ngZone.run(()=>t.setPositionClasses(s,a)):t.setPositionClasses(s,a)})}_setPosition(t,i){let[n,s]=t.xPosition==="before"?["end","start"]:["start","end"],[a,l]=t.yPosition==="above"?["bottom","top"]:["top","bottom"],[m,p]=[a,l],[v,y]=[n,s],I=0;if(this.triggersSubmenu()){if(y=n=t.xPosition==="before"?"start":"end",s=v=n==="end"?"start":"end",this._parentMaterialMenu){if(this._parentInnerPadding==null){let D=this._parentMaterialMenu.items.first;this._parentInnerPadding=D?D._getHostElement().offsetTop:0}I=a==="bottom"?this._parentInnerPadding:-this._parentInnerPadding}}else t.overlapTrigger||(m=a==="top"?"bottom":"top",p=l==="top"?"bottom":"top");i.withPositions([{originX:n,originY:m,overlayX:v,overlayY:a,offsetY:I},{originX:s,originY:m,overlayX:y,overlayY:a,offsetY:I},{originX:n,originY:p,overlayX:v,overlayY:l,offsetY:-I},{originX:s,originY:p,overlayX:y,overlayY:l,offsetY:-I}])}_menuClosingActions(){let t=this._overlayRef.backdropClick(),i=this._overlayRef.detachments(),n=this._parentMaterialMenu?this._parentMaterialMenu.closed:$(),s=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(Oe(a=>a!==this._menuItemInstance),Oe(()=>this._menuOpen)):$();return mt(t,n,s,i)}_handleMousedown(t){co(t)||(this._openedBy=t.button===0?"mouse":void 0,this.triggersSubmenu()&&t.preventDefault())}_handleKeydown(t){let i=t.keyCode;(i===13||i===32)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(i===39&&this.dir==="ltr"||i===37&&this.dir==="rtl")&&(this._openedBy="keyboard",this.openMenu())}_handleClick(t){this.triggersSubmenu()?(t.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(Oe(t=>t===this._menuItemInstance&&!t.disabled),js(0,dr)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof Un&&this.menu._isAnimating?this.menu._animationDone.pipe(ht(1),js(0,dr),Me(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(t){return(!this._portal||this._portal.templateRef!==t.templateRef)&&(this._portal=new ln(t.templateRef,this._viewContainerRef)),this._portal}};e.\u0275fac=function(i){return new(i||e)(x(Lt),x(U),x(Xt),x(ju),x(hc,8),x(lr,10),x(li,8),x(ho),x(B))},e.\u0275dir=Y({type:e,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],hostVars:3,hostBindings:function(i,n){i&1&&g("click",function(a){return n._handleClick(a)})("mousedown",function(a){return n._handleMousedown(a)})("keydown",function(a){return n._handleKeydown(a)}),i&2&&be("aria-haspopup",n.menu?"menu":null)("aria-expanded",n.menuOpen)("aria-controls",n.menuOpen?n.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:[0,"mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:[0,"matMenuTriggerFor","menu"],menuData:[0,"matMenuTriggerData","menuData"],restoreFocus:[0,"matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"],standalone:!0});let r=e;return r})(),Wu=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=J({type:e}),e.\u0275inj=K({providers:[iy],imports:[Ut,Qi,Ie,Rs,Wn,Ie]});let r=e;return r})();function oy(r,e){if(r&1){let o=L();c(0,"gridster-item",9,0)(2,"div")(3,"button",10)(4,"mat-icon"),h(5,"more_vert"),d()(),c(6,"mat-menu",null,1)(8,"button",11),g("click",function(){b(o);let i=At(1);return _(i.bringToFront(1))}),c(9,"mat-icon"),h(10,"arrow_upward"),d(),c(11,"span"),h(12,"Bring To Front"),d()(),c(13,"button",11),g("click",function(){b(o);let i=At(1);return _(i.sendToBack(1))}),c(14,"mat-icon"),h(15,"arrow_downward"),d(),c(16,"span"),h(17,"Send To Back"),d()()(),c(18,"span"),h(19,"LayerIndex: "),c(20,"span",12),h(21),d()(),c(22,"div",13)(23,"button",14),g("mousedown",function(i){let n=b(o).$implicit,s=f();return _(s.removeItem(i,n))})("touchstart",function(i){let n=b(o).$implicit,s=f();return _(s.removeItem(i,n))}),c(24,"mat-icon"),h(25,"delete"),d()()()()()}if(r&2){let o=e.$implicit,t=At(7);S("item",o),u(3),S("matMenuTriggerFor",t),u(18),qe(o.layerIndex===void 0?1:o.layerIndex)}}var $u=(()=>{let e=class e{ngOnInit(){this.options={gridType:z.Fit,displayGrid:ye.Always,pushItems:!1,swap:!0,allowMultiLayer:!0,defaultLayerIndex:1,baseLayerIndex:2,maxLayerIndex:2,swapWhileDragging:!1,draggable:{enabled:!0},resizable:{enabled:!0}},this.dashboard=[{cols:2,rows:1,y:0,x:0,layerIndex:2},{cols:2,rows:2,y:0,x:2},{cols:1,rows:1,y:0,x:4},{cols:3,rows:2,y:1,x:4},{cols:1,rows:1,y:4,x:5},{cols:1,rows:1,y:2,x:1},{cols:2,rows:2,y:5,x:5},{cols:2,rows:2,y:3,x:2},{cols:2,rows:1,y:2,x:2},{cols:1,rows:1,y:3,x:4},{cols:1,rows:1,y:0,x:6}]}changedOptions(){this.options.api&&this.options.api.optionsChanged&&this.options.api.optionsChanged()}removeItem(t,i){t.preventDefault(),t.stopPropagation(),this.dashboard.splice(this.dashboard.indexOf(i),1)}addItem(){this.dashboard.push({x:0,y:0,cols:2,rows:1})}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=R({type:e,selectors:[["app-swap"]],standalone:!0,features:[A],decls:19,vars:5,consts:[["gridsterItem",""],["menu","matMenu"],[1,"options"],["mat-raised-button","","href","https://github.com/tiberiuzuld/angular-gridster2/tree/master/src/app/sections/multiLayer","target","_blank",1,"source-code-button"],[3,"src"],[1,"options-header"],[3,"ngModelChange","ngModel"],["mat-mini-fab","",1,"add-button","cols-2",3,"click"],[3,"options"],[3,"item"],["mat-icon-button","","aria-label","Example icon-button with a menu",3,"matMenuTriggerFor"],["mat-menu-item","",3,"click"],[2,"margin-left","10px","color","blueviolet"],[1,"button-holder"],["mat-mini-fab","",3,"mousedown","touchstart"]],template:function(i,n){i&1&&(c(0,"div",2)(1,"a",3)(2,"mat-icon"),h(3,"open_in_new"),d(),h(4," Source "),d(),O(5,"markdown",4),d(),c(6,"div",5)(7,"mat-checkbox",6),k("ngModelChange",function(a){return C(n.options.allowMultiLayer,a)||(n.options.allowMultiLayer=a),a}),g("ngModelChange",function(){return n.changedOptions()}),h(8," Allow Multi Layer "),d(),c(9,"mat-checkbox",6),k("ngModelChange",function(a){return C(n.options.swap,a)||(n.options.swap=a),a}),g("ngModelChange",function(){return n.changedOptions()}),h(10," Swap Items "),d(),c(11,"mat-checkbox",6),k("ngModelChange",function(a){return C(n.options.swapWhileDragging,a)||(n.options.swapWhileDragging=a),a}),g("ngModelChange",function(){return n.changedOptions()}),h(12," Swap Items While Dragging "),d(),c(13,"button",7),g("click",function(){return n.addItem()}),c(14,"mat-icon"),h(15,"add"),d()()(),c(16,"gridster",8),re(17,oy,26,3,"gridster-item",9,_e),d()),i&2&&(u(5),S("src","assets/multiLayer.md"),u(2),w("ngModel",n.options.allowMultiLayer),u(2),w("ngModel",n.options.swap),u(2),w("ngModel",n.options.swapWhileDragging),u(5),S("options",n.options),u(),se(n.dashboard))},dependencies:[Se,Ee,ke,he,me,Ai,xe,We,Fe,pe,ue,Wu,Un,lr,Bu,de,ve,ce,ge],encapsulation:2,changeDetection:0});let r=e;return r})();function ry(r,e){if(r&1){let o=L();c(0,"mat-checkbox",4),k("ngModelChange",function(i){b(o);let n=f();return C(n.options.pushDirections.north,i)||(n.options.pushDirections.north=i),_(i)}),g("ngModelChange",function(){b(o);let i=f();return _(i.changedOptions())}),h(1," Push North "),d()}if(r&2){let o=f();w("ngModel",o.options.pushDirections.north)}}function sy(r,e){if(r&1){let o=L();c(0,"mat-checkbox",4),k("ngModelChange",function(i){b(o);let n=f();return C(n.options.pushDirections.east,i)||(n.options.pushDirections.east=i),_(i)}),g("ngModelChange",function(){b(o);let i=f();return _(i.changedOptions())}),h(1," Push East "),d()}if(r&2){let o=f();w("ngModel",o.options.pushDirections.east)}}function ay(r,e){if(r&1){let o=L();c(0,"mat-checkbox",4),k("ngModelChange",function(i){b(o);let n=f();return C(n.options.pushDirections.south,i)||(n.options.pushDirections.south=i),_(i)}),g("ngModelChange",function(){b(o);let i=f();return _(i.changedOptions())}),h(1," Push South "),d()}if(r&2){let o=f();w("ngModel",o.options.pushDirections.south)}}function ly(r,e){if(r&1){let o=L();c(0,"mat-checkbox",4),k("ngModelChange",function(i){b(o);let n=f();return C(n.options.pushDirections.west,i)||(n.options.pushDirections.west=i),_(i)}),g("ngModelChange",function(){b(o);let i=f();return _(i.changedOptions())}),h(1," Push West "),d()}if(r&2){let o=f();w("ngModel",o.options.pushDirections.west)}}function cy(r,e){if(r&1){let o=L();c(0,"gridster-item",8)(1,"div",9)(2,"button",10),g("mousedown",function(i){let n=b(o).$implicit,s=f();return _(s.removeItem(i,n))})("touchstart",function(i){let n=b(o).$implicit,s=f();return _(s.removeItem(i,n))}),c(3,"mat-icon"),h(4,"delete"),d()()()()}if(r&2){let o=e.$implicit;S("item",o)}}var Uu=(()=>{let e=class e{ngOnInit(){this.options={gridType:z.Fit,displayGrid:ye.Always,pushItems:!0,pushDirections:{north:!0,east:!0,south:!0,west:!0},pushResizeItems:!1,swap:!1,draggable:{enabled:!0},resizable:{enabled:!0}},this.dashboard=[{cols:2,rows:1,y:0,x:0},{cols:2,rows:2,y:0,x:2},{cols:1,rows:1,y:0,x:4},{cols:3,rows:2,y:1,x:4},{cols:1,rows:1,y:4,x:5},{cols:1,rows:1,y:2,x:1},{cols:2,rows:2,y:5,x:5},{cols:2,rows:2,y:3,x:2},{cols:2,rows:1,y:2,x:2},{cols:1,rows:1,y:3,x:4},{cols:1,rows:1,y:0,x:6}]}changedOptions(){this.options.api&&this.options.api.optionsChanged&&this.options.api.optionsChanged()}removeItem(t,i){t.preventDefault(),t.stopPropagation(),this.dashboard.splice(this.dashboard.indexOf(i),1)}addItem(){this.dashboard.push({x:0,y:0,cols:1,rows:1})}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=R({type:e,selectors:[["app-push"]],standalone:!0,features:[A],decls:25,vars:10,consts:[[1,"options"],["mat-raised-button","","href","https://github.com/tiberiuzuld/angular-gridster2/tree/master/src/app/sections/push","target","_blank",1,"source-code-button"],[3,"src"],[1,"options-header"],[3,"ngModelChange","ngModel"],[3,"ngModel"],["mat-mini-fab","",1,"add-button","cols-2",3,"click"],[3,"options"],[3,"item"],[1,"button-holder"],["mat-mini-fab","",3,"mousedown","touchstart"]],template:function(i,n){i&1&&(c(0,"div",0)(1,"a",1)(2,"mat-icon"),h(3,"open_in_new"),d(),h(4," Source "),d(),O(5,"markdown",2),d(),c(6,"div",3)(7,"mat-checkbox",4),k("ngModelChange",function(a){return C(n.options.pushItems,a)||(n.options.pushItems=a),a}),g("ngModelChange",function(){return n.changedOptions()}),h(8," Push Items "),d(),c(9,"mat-checkbox",4),k("ngModelChange",function(a){return C(n.options.disablePushOnDrag,a)||(n.options.disablePushOnDrag=a),a}),g("ngModelChange",function(){return n.changedOptions()}),h(10," Disable Push On Drag "),d(),c(11,"mat-checkbox",4),k("ngModelChange",function(a){return C(n.options.disablePushOnResize,a)||(n.options.disablePushOnResize=a),a}),g("ngModelChange",function(){return n.changedOptions()}),h(12," Disable Push On Resize "),d(),Q(13,ry,2,1,"mat-checkbox",5)(14,sy,2,1,"mat-checkbox",5)(15,ay,2,1,"mat-checkbox",5)(16,ly,2,1,"mat-checkbox",5),c(17,"mat-checkbox",4),k("ngModelChange",function(a){return C(n.options.pushResizeItems,a)||(n.options.pushResizeItems=a),a}),g("ngModelChange",function(){return n.changedOptions()}),h(18," Push Resize Items "),d(),c(19,"button",6),g("click",function(){return n.addItem()}),c(20,"mat-icon"),h(21,"add"),d()()(),c(22,"gridster",7),re(23,cy,5,1,"gridster-item",8,_e),d()),i&2&&(u(5),S("src","assets/push.md"),u(2),w("ngModel",n.options.pushItems),u(2),w("ngModel",n.options.disablePushOnDrag),u(2),w("ngModel",n.options.disablePushOnResize),u(2),N(n.options.pushDirections?13:-1),u(),N(n.options.pushDirections?14:-1),u(),N(n.options.pushDirections?15:-1),u(),N(n.options.pushDirections?16:-1),u(),w("ngModel",n.options.pushResizeItems),u(5),S("options",n.options),u(),se(n.dashboard))},dependencies:[Se,Ee,ke,he,me,xe,We,Fe,pe,ue,de,ve,ce,ge],encapsulation:2,changeDetection:0});let r=e;return r})();function dy(r,e){if(r&1){let o=L();c(0,"div",3)(1,"mat-checkbox",6),k("ngModelChange",function(i){b(o);let n=f();return C(n.options.resizable.enabled,i)||(n.options.resizable.enabled=i),_(i)}),g("ngModelChange",function(){b(o);let i=f();return _(i.changedOptions())}),h(2," Resize Items "),d(),c(3,"mat-form-field")(4,"input",7),k("ngModelChange",function(i){b(o);let n=f();return C(n.options.resizable.delayStart,i)||(n.options.resizable.delayStart=i),_(i)}),g("ngModelChange",function(){b(o);let i=f();return _(i.changedOptions())}),d()(),c(5,"mat-checkbox",6),k("ngModelChange",function(i){b(o);let n=f();return C(n.options.resizable.handles.s,i)||(n.options.resizable.handles.s=i),_(i)}),g("ngModelChange",function(){b(o);let i=f();return _(i.changedOptions())}),h(6," Resize South "),d(),c(7,"mat-checkbox",6),k("ngModelChange",function(i){b(o);let n=f();return C(n.options.resizable.handles.e,i)||(n.options.resizable.handles.e=i),_(i)}),g("ngModelChange",function(){b(o);let i=f();return _(i.changedOptions())}),h(8," Resize East "),d(),c(9,"mat-checkbox",6),k("ngModelChange",function(i){b(o);let n=f();return C(n.options.resizable.handles.n,i)||(n.options.resizable.handles.n=i),_(i)}),g("ngModelChange",function(){b(o);let i=f();return _(i.changedOptions())}),h(10," Resize North "),d(),c(11,"mat-checkbox",6),k("ngModelChange",function(i){b(o);let n=f();return C(n.options.resizable.handles.w,i)||(n.options.resizable.handles.w=i),_(i)}),g("ngModelChange",function(){b(o);let i=f();return _(i.changedOptions())}),h(12," Resize West "),d(),c(13,"mat-checkbox",6),k("ngModelChange",function(i){b(o);let n=f();return C(n.options.resizable.handles.se,i)||(n.options.resizable.handles.se=i),_(i)}),g("ngModelChange",function(){b(o);let i=f();return _(i.changedOptions())}),h(14," Resize South-East "),d(),c(15,"mat-checkbox",6),k("ngModelChange",function(i){b(o);let n=f();return C(n.options.resizable.handles.ne,i)||(n.options.resizable.handles.ne=i),_(i)}),g("ngModelChange",function(){b(o);let i=f();return _(i.changedOptions())}),h(16," Resize North-East "),d(),c(17,"mat-checkbox",6),k("ngModelChange",function(i){b(o);let n=f();return C(n.options.resizable.handles.sw,i)||(n.options.resizable.handles.sw=i),_(i)}),g("ngModelChange",function(){b(o);let i=f();return _(i.changedOptions())}),h(18," Resize South-West "),d(),c(19,"mat-checkbox",6),k("ngModelChange",function(i){b(o);let n=f();return C(n.options.resizable.handles.nw,i)||(n.options.resizable.handles.nw=i),_(i)}),g("ngModelChange",function(){b(o);let i=f();return _(i.changedOptions())}),h(20," Resize North-West "),d(),c(21,"button",8),g("click",function(){b(o);let i=f();return _(i.addItem())}),c(22,"mat-icon"),h(23,"add"),d()()()}if(r&2){let o=f();u(),w("ngModel",o.options.resizable.enabled),u(3),w("ngModel",o.options.resizable.delayStart),u(),w("ngModel",o.options.resizable.handles.s),u(2),w("ngModel",o.options.resizable.handles.e),u(2),w("ngModel",o.options.resizable.handles.n),u(2),w("ngModel",o.options.resizable.handles.w),u(2),w("ngModel",o.options.resizable.handles.se),u(2),w("ngModel",o.options.resizable.handles.ne),u(2),w("ngModel",o.options.resizable.handles.sw),u(2),w("ngModel",o.options.resizable.handles.nw)}}function my(r,e){if(r&1){let o=L();c(0,"gridster-item",5)(1,"div",9)(2,"button",10),g("mousedown",function(i){let n=b(o).$implicit,s=f();return _(s.removeItem(i,n))})("touchstart",function(i){let n=b(o).$implicit,s=f();return _(s.removeItem(i,n))}),c(3,"mat-icon"),h(4,"delete"),d()()()()}if(r&2){let o=e.$implicit;S("item",o)}}var Hu=(()=>{let e=class e{static eventStop(t,i,n){console.info("eventStop",t,i,n)}static eventStart(t,i,n){console.info("eventStart",t,i,n)}ngOnInit(){this.options={gridType:z.Fit,displayGrid:ye.Always,resizable:{delayStart:0,enabled:!0,start:e.eventStart,stop:e.eventStop,handles:{s:!0,e:!0,n:!0,w:!0,se:!0,ne:!0,sw:!0,nw:!0}}},this.dashboard=[{cols:2,rows:1,y:0,x:0},{cols:2,rows:2,y:0,x:2},{cols:1,rows:1,y:0,x:4},{cols:3,rows:2,y:1,x:4},{cols:1,rows:1,y:4,x:5},{cols:1,rows:1,y:2,x:1},{cols:2,rows:2,y:5,x:5},{cols:2,rows:2,y:3,x:2},{cols:2,rows:1,y:2,x:2},{cols:1,rows:1,y:3,x:4},{cols:1,rows:1,y:0,x:6}]}changedOptions(){this.options.api&&this.options.api.optionsChanged&&this.options.api.optionsChanged()}removeItem(t,i){t.preventDefault(),t.stopPropagation(),this.dashboard.splice(this.dashboard.indexOf(i),1)}addItem(){this.dashboard.push({x:0,y:0,cols:1,rows:1})}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=R({type:e,selectors:[["app-resize"]],standalone:!0,features:[A],decls:10,vars:3,consts:[[1,"options"],["mat-raised-button","","href","https://github.com/tiberiuzuld/angular-gridster2/tree/master/src/app/sections/resize","target","_blank",1,"source-code-button"],[3,"src"],[1,"options-header"],[3,"options"],[3,"item"],[3,"ngModelChange","ngModel"],["matInput","","type","number","placeholder","Delay Start ms",3,"ngModelChange","ngModel"],["mat-mini-fab","",1,"add-button","cols-2",3,"click"],[1,"button-holder"],["mat-mini-fab","",3,"mousedown","touchstart"]],template:function(i,n){i&1&&(c(0,"div",0)(1,"a",1)(2,"mat-icon"),h(3,"open_in_new"),d(),h(4," Source "),d(),O(5,"markdown",2),d(),Q(6,dy,24,10,"div",3),c(7,"gridster",4),re(8,my,5,1,"gridster-item",5,_e),d()),i&2&&(u(5),S("src","assets/resize.md"),u(),N(n.options.resizable&&n.options.resizable.handles?6:-1),u(),S("options",n.options),u(),se(n.dashboard))},dependencies:[Se,Xe,Qe,Ee,ke,he,me,xe,We,Fe,pe,ue,tt,et,Be,de,ve,ce,ge],encapsulation:2,changeDetection:0});let r=e;return r})();function hy(r,e){if(r&1){let o=L();c(0,"mat-checkbox",15),k("ngModelChange",function(i){b(o);let n=f();return C(n.options.draggable.enabled,i)||(n.options.draggable.enabled=i),_(i)}),g("ngModelChange",function(){b(o);let i=f();return _(i.changedOptions())}),h(1," Drag Items "),d()}if(r&2){let o=f();w("ngModel",o.options.draggable.enabled)}}function uy(r,e){if(r&1){let o=L();c(0,"mat-checkbox",15),k("ngModelChange",function(i){b(o);let n=f();return C(n.options.resizable.enabled,i)||(n.options.resizable.enabled=i),_(i)}),g("ngModelChange",function(){b(o);let i=f();return _(i.changedOptions())}),h(1," Resize Items "),d()}if(r&2){let o=f();w("ngModel",o.options.resizable.enabled)}}function py(r,e){r&1&&(c(0,"div",25)(1,"div",28)(2,"span"),h(3,"Some content to select and click without dragging the widget"),d(),c(4,"a",29),h(5,"Link to Google"),d()()())}function fy(r,e){if(r&1){let o=L();c(0,"div",26)(1,"button",30)(2,"mat-icon"),h(3,"open_with"),d()(),c(4,"button",31),g("mousedown",function(i){b(o);let n=f().$implicit,s=f();return _(s.removeItem(i,n))})("touchstart",function(i){b(o);let n=f().$implicit,s=f();return _(s.removeItem(i,n))}),c(5,"mat-icon"),h(6,"delete"),d()()()}}function gy(r,e){if(r&1&&(c(0,"label"),h(1),d()),r&2){let o=f().$implicit;u(),qe(o.label)}}function by(r,e){if(r&1){let o=L();c(0,"button",32),g("mousedown",function(i){b(o);let n=f().$implicit,s=f();return _(s.removeItem(i,n))})("touchstart",function(i){b(o);let n=f().$implicit,s=f();return _(s.removeItem(i,n))}),c(1,"mat-icon"),h(2,"delete"),d()()}}function _y(r,e){if(r&1&&(c(0,"gridster-item",23)(1,"div",24),Q(2,py,6,0,"div",25)(3,fy,7,0,"div",26)(4,gy,2,1,"label")(5,by,3,0,"button",27),d()()),r&2){let o=e.$implicit;S("item",o),u(2),N(o.hasContent?2:-1),u(),N(o.hasContent?3:-1),u(),N(o.hasContent?-1:4),u(),N(o.hasContent?-1:5)}}var Gu=(()=>{let e=class e{ngOnInit(){document.body.setAttribute("dir","rtl"),this.options={gridType:z.Fit,compactType:fe.None,margin:10,outerMargin:!0,outerMarginTop:null,outerMarginRight:null,outerMarginBottom:null,outerMarginLeft:null,useTransformPositioning:!0,mobileBreakpoint:640,minCols:1,maxCols:100,minRows:1,maxRows:100,maxItemCols:100,minItemCols:1,maxItemRows:100,minItemRows:1,maxItemArea:2500,minItemArea:1,defaultItemCols:1,defaultItemRows:1,fixedColWidth:105,fixedRowHeight:105,keepFixedHeightInMobile:!1,keepFixedWidthInMobile:!1,scrollSensitivity:10,scrollSpeed:20,enableEmptyCellClick:!1,enableEmptyCellContextMenu:!1,enableEmptyCellDrop:!1,enableEmptyCellDrag:!1,enableOccupiedCellDrop:!1,emptyCellDragMaxCols:50,emptyCellDragMaxRows:50,ignoreMarginInRow:!1,draggable:{enabled:!0},resizable:{enabled:!0},swap:!1,pushItems:!0,disablePushOnDrag:!1,disablePushOnResize:!1,pushDirections:{north:!0,east:!0,south:!0,west:!0},pushResizeItems:!1,displayGrid:ye.Always,disableWindowResize:!1,disableWarnings:!1,scrollToNewItems:!1,dirType:ot.RTL},this.dashboard=[{cols:2,rows:1,y:0,x:0},{cols:2,rows:2,y:0,x:2,hasContent:!0},{cols:1,rows:1,y:0,x:4},{cols:1,rows:1,y:2,x:5},{cols:1,rows:1,y:1,x:0},{cols:1,rows:1,y:1,x:0},{cols:2,rows:2,y:3,x:5,minItemRows:2,minItemCols:2,label:"Min rows & cols = 2"},{cols:2,rows:2,y:2,x:0,maxItemRows:2,maxItemCols:2,label:"Max rows & cols = 2"},{cols:2,rows:1,y:2,x:2,dragEnabled:!0,resizeEnabled:!0,label:"Drag&Resize Enabled"},{cols:1,rows:1,y:2,x:4,dragEnabled:!1,resizeEnabled:!1,label:"Drag&Resize Disabled"},{cols:1,rows:1,y:2,x:6}],this.dashboard=[{cols:2,rows:1,y:0,x:0},{cols:2,rows:2,y:0,x:2,hasContent:!0},{cols:1,rows:1,y:0,x:4},{cols:1,rows:1,y:2,x:5},{cols:1,rows:1,y:1,x:0},{cols:1,rows:1,y:1,x:0},{cols:2,rows:2,y:3,x:5,minItemRows:2,minItemCols:2,label:"Min rows & cols = 2"},{cols:2,rows:2,y:2,x:0,maxItemRows:2,maxItemCols:2,label:"Max rows & cols = 2"},{cols:2,rows:1,y:2,x:2,dragEnabled:!0,resizeEnabled:!0,label:"Drag&Resize Enabled"},{cols:1,rows:1,y:2,x:4,dragEnabled:!1,resizeEnabled:!1,label:"Drag&Resize Disabled"},{cols:1,rows:1,y:2,x:6}]}changedOptions(){this.options.api&&this.options.api.optionsChanged&&this.options.api.optionsChanged()}removeItem(t,i){t.preventDefault(),t.stopPropagation(),this.dashboard.splice(this.dashboard.indexOf(i),1)}addItem(){this.dashboard.push({x:0,y:0,cols:1,rows:1})}ngOnDestroy(){document.body.removeAttribute("dir")}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=R({type:e,selectors:[["app-rtl"]],standalone:!0,features:[A],decls:53,vars:14,consts:[[1,"options"],["mat-raised-button","","href","https://github.com/tiberiuzuld/angular-gridster2/tree/master/src/app/sections/rtl","target","_blank",1,"source-code-button"],[3,"src"],[1,"options-header"],["aria-label","Grid type","placeholder","Grid Type",3,"ngModelChange","ngModel"],["value","fit"],["value","scrollVertical"],["value","scrollHorizontal"],["value","fixed"],["value","verticalFixed"],["value","horizontalFixed"],["aria-label","Display grid lines","placeholder","Display grid lines",3,"ngModelChange","ngModel"],["value","always"],["value","onDrag&Resize"],["value","none"],[3,"ngModelChange","ngModel"],[3,"ngModel"],["matInput","","min","0","max","30","step","1","type","number","placeholder","Margin",3,"ngModelChange","ngModel"],["matInput","","type","number","placeholder","Mobile Breakpoint",3,"ngModelChange","ngModel"],["matInput","","type","number","placeholder","Fixed Col Width",3,"ngModelChange","ngModel"],["matInput","","type","number","placeholder","Fixed Row Height",3,"ngModelChange","ngModel"],["mat-mini-fab","",1,"add-button","cols-2",3,"click"],[3,"options"],[3,"item"],[1,"button-holder"],[1,"gridster-item-content"],[1,"item-buttons"],["mat-mini-fab",""],[1,"stuff"],["href","https://www.google.com","target","_blank"],["mat-icon-button","",1,"drag-handler"],["mat-icon-button","",1,"remove-button",3,"mousedown","touchstart"],["mat-mini-fab","",3,"mousedown","touchstart"]],template:function(i,n){i&1&&(c(0,"div",0)(1,"a",1)(2,"mat-icon"),h(3,"open_in_new"),d(),h(4," Source "),d(),O(5,"markdown",2),d(),c(6,"div",3)(7,"mat-form-field")(8,"mat-select",4),k("ngModelChange",function(a){return C(n.options.gridType,a)||(n.options.gridType=a),a}),g("ngModelChange",function(){return n.changedOptions()}),c(9,"mat-option",5),h(10,"Fit to screen"),d(),c(11,"mat-option",6),h(12,"Scroll Vertical"),d(),c(13,"mat-option",7),h(14,"Scroll Horizontal"),d(),c(15,"mat-option",8),h(16,"Fixed"),d(),c(17,"mat-option",9),h(18,"Vertical Fixed"),d(),c(19,"mat-option",10),h(20,"Horizontal Fixed"),d()()(),c(21,"mat-form-field")(22,"mat-select",11),k("ngModelChange",function(a){return C(n.options.displayGrid,a)||(n.options.displayGrid=a),a}),g("ngModelChange",function(){return n.changedOptions()}),c(23,"mat-option",12),h(24,"Always"),d(),c(25,"mat-option",13),h(26,"On Drag & Resize"),d(),c(27,"mat-option",14),h(28,"None"),d()()(),c(29,"mat-checkbox",15),k("ngModelChange",function(a){return C(n.options.swap,a)||(n.options.swap=a),a}),g("ngModelChange",function(){return n.changedOptions()}),h(30," Swap Items "),d(),c(31,"mat-checkbox",15),k("ngModelChange",function(a){return C(n.options.pushItems,a)||(n.options.pushItems=a),a}),g("ngModelChange",function(){return n.changedOptions()}),h(32," Push Items "),d(),Q(33,hy,2,1,"mat-checkbox",16)(34,uy,2,1,"mat-checkbox",16),c(35,"mat-checkbox",15),k("ngModelChange",function(a){return C(n.options.pushResizeItems,a)||(n.options.pushResizeItems=a),a}),g("ngModelChange",function(){return n.changedOptions()}),h(36," Push Resize Items "),d(),c(37,"mat-form-field")(38,"input",17),k("ngModelChange",function(a){return C(n.options.margin,a)||(n.options.margin=a),a}),g("ngModelChange",function(){return n.changedOptions()}),d()(),c(39,"mat-checkbox",15),k("ngModelChange",function(a){return C(n.options.outerMargin,a)||(n.options.outerMargin=a),a}),g("ngModelChange",function(){return n.changedOptions()}),h(40,"Outer Margin "),d(),c(41,"mat-form-field")(42,"input",18),k("ngModelChange",function(a){return C(n.options.mobileBreakpoint,a)||(n.options.mobileBreakpoint=a),a}),g("ngModelChange",function(){return n.changedOptions()}),d()(),c(43,"mat-form-field")(44,"input",19),k("ngModelChange",function(a){return C(n.options.fixedColWidth,a)||(n.options.fixedColWidth=a),a}),g("ngModelChange",function(){return n.changedOptions()}),d()(),c(45,"mat-form-field")(46,"input",20),k("ngModelChange",function(a){return C(n.options.fixedRowHeight,a)||(n.options.fixedRowHeight=a),a}),g("ngModelChange",function(){return n.changedOptions()}),d()(),c(47,"button",21),g("click",function(){return n.addItem()}),c(48,"mat-icon"),h(49,"add"),d()()(),c(50,"gridster",22),re(51,_y,6,5,"gridster-item",23,_e),d()),i&2&&(u(5),S("src","assets/rtl.md"),u(3),w("ngModel",n.options.gridType),u(14),w("ngModel",n.options.displayGrid),u(7),w("ngModel",n.options.swap),u(2),w("ngModel",n.options.pushItems),u(2),N(n.options.draggable?33:-1),u(),N(n.options.resizable?34:-1),u(),w("ngModel",n.options.pushResizeItems),u(3),w("ngModel",n.options.margin),u(),w("ngModel",n.options.outerMargin),u(3),w("ngModel",n.options.mobileBreakpoint),u(2),w("ngModel",n.options.fixedColWidth),u(2),w("ngModel",n.options.fixedRowHeight),u(4),S("options",n.options),u(),se(n.dashboard))},dependencies:[Se,Xe,Qe,Ee,mi,di,ke,he,me,Ai,xe,We,Fe,pe,ue,tt,et,Be,ft,pt,rt,de,ve,ce,ge],encapsulation:2,changeDetection:0});let r=e;return r})();function vy(r,e){if(r&1){let o=L();c(0,"gridster-item",7)(1,"div",8)(2,"button",9),g("mousedown",function(i){let n=b(o).$implicit,s=f();return _(s.removeItem(i,n))})("touchstart",function(i){let n=b(o).$implicit,s=f();return _(s.removeItem(i,n))}),c(3,"mat-icon"),h(4,"delete"),d()()()()}if(r&2){let o=e.$implicit;S("item",o)}}var Yu=(()=>{let e=class e{ngOnInit(){this.options={gridType:z.Fit,displayGrid:ye.Always,pushItems:!1,swap:!0,swapWhileDragging:!1,draggable:{enabled:!0},resizable:{enabled:!0}},this.dashboard=[{cols:2,rows:1,y:0,x:0},{cols:2,rows:2,y:0,x:2},{cols:1,rows:1,y:0,x:4},{cols:3,rows:2,y:1,x:4},{cols:1,rows:1,y:4,x:5},{cols:1,rows:1,y:2,x:1},{cols:2,rows:2,y:5,x:5},{cols:2,rows:2,y:3,x:2},{cols:2,rows:1,y:2,x:2},{cols:1,rows:1,y:3,x:4},{cols:1,rows:1,y:0,x:6}]}changedOptions(){this.options.api&&this.options.api.optionsChanged&&this.options.api.optionsChanged()}removeItem(t,i){t.preventDefault(),t.stopPropagation(),this.dashboard.splice(this.dashboard.indexOf(i),1)}addItem(){this.dashboard.push({x:0,y:0,cols:1,rows:1})}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=R({type:e,selectors:[["app-swap"]],standalone:!0,features:[A],decls:17,vars:4,consts:[[1,"options"],["mat-raised-button","","href","https://github.com/tiberiuzuld/angular-gridster2/tree/master/src/app/sections/swap","target","_blank",1,"source-code-button"],[3,"src"],[1,"options-header"],[3,"ngModelChange","ngModel"],["mat-mini-fab","",1,"add-button","cols-2",3,"click"],[3,"options"],[3,"item"],[1,"button-holder"],["mat-mini-fab","",3,"mousedown","touchstart"]],template:function(i,n){i&1&&(c(0,"div",0)(1,"a",1)(2,"mat-icon"),h(3,"open_in_new"),d(),h(4," Source "),d(),O(5,"markdown",2),d(),c(6,"div",3)(7,"mat-checkbox",4),k("ngModelChange",function(a){return C(n.options.swap,a)||(n.options.swap=a),a}),g("ngModelChange",function(){return n.changedOptions()}),h(8," Swap Items "),d(),c(9,"mat-checkbox",4),k("ngModelChange",function(a){return C(n.options.swapWhileDragging,a)||(n.options.swapWhileDragging=a),a}),g("ngModelChange",function(){return n.changedOptions()}),h(10," Swap Items While Dragging "),d(),c(11,"button",5),g("click",function(){return n.addItem()}),c(12,"mat-icon"),h(13,"add"),d()()(),c(14,"gridster",6),re(15,vy,5,1,"gridster-item",7,_e),d()),i&2&&(u(5),S("src","assets/swap.md"),u(2),w("ngModel",n.options.swap),u(2),w("ngModel",n.options.swapWhileDragging),u(5),S("options",n.options),u(),se(n.dashboard))},dependencies:[Se,Ee,ke,he,me,xe,We,Fe,pe,ue,de,ve,ce,ge],encapsulation:2,changeDetection:0});let r=e;return r})();var Xu=(()=>{let e=class e{ngOnInit(){console.info(`Init ${this.id}`)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=R({type:e,selectors:[["app-trackby-item"]],inputs:{id:"id"},standalone:!0,features:[A],decls:3,vars:1,consts:[[1,"button-holder"],[2,"font-size","30px"]],template:function(i,n){i&1&&(c(0,"div",0)(1,"div",1),h(2),d()()),i&2&&(u(2),wr("ID: ",n.id,""))},encapsulation:2,changeDetection:0});let r=e;return r})();var xy=(r,e)=>e.id;function yy(r,e){if(r&1){let o=L();c(0,"gridster-item",7)(1,"button",8),g("mousedown",function(i){let n=b(o).$implicit,s=f();return _(s.removeItem(i,n))})("touchstart",function(i){let n=b(o).$implicit,s=f();return _(s.removeItem(i,n))}),c(2,"mat-icon"),h(3,"delete"),d()(),O(4,"app-trackby-item",9),d()}if(r&2){let o=e.$implicit;S("item",o),u(4),S("id",o.id)}}var qu=(()=>{let e=class e{static itemInit(t,i){console.info("itemInitialized",t,i)}ngOnInit(){this.options={gridType:z.Fit,displayGrid:ye.Always,compactType:fe.None,pushItems:!0,draggable:{enabled:!0},resizable:{enabled:!0},minCols:1,maxCols:100,minRows:1,maxRows:100,maxItemCols:100,minItemCols:1,maxItemRows:100,minItemRows:1,maxItemArea:2500,minItemArea:1,defaultItemCols:1,defaultItemRows:1},this.dashboard=[{cols:2,rows:1,y:0,x:0,initCallback:e.itemInit,minItemCols:1,maxItemCols:100,maxItemRows:100,minItemRows:1,minItemArea:1,maxItemArea:2500,dragEnabled:!0,resizeEnabled:!0,compactEnabled:!0,id:0},{cols:2,rows:2,y:0,x:2,id:1},{cols:1,rows:1,y:0,x:4,id:2},{cols:3,rows:2,y:1,x:4,id:3},{cols:1,rows:1,y:2,x:1,id:4}],this.dashboardOriginal=this.dashboard.map(t=>M({},t))}changedOptions(){this.options.api&&this.options.api.optionsChanged&&this.options.api.optionsChanged()}reset(){this.dashboard=this.dashboardOriginal.map(t=>M({},t))}addItem(){this.dashboard.push({x:0,y:0,cols:1,rows:1,id:this.dashboard.length})}removeItem(t,i){t.preventDefault(),t.stopPropagation(),this.dashboard.splice(this.dashboard.indexOf(i),1)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=R({type:e,selectors:[["app-trackby"]],standalone:!0,features:[A],decls:15,vars:2,consts:[[1,"options"],["href","https://github.com/tiberiuzuld/angular-gridster2/tree/master/src/app/sections/trackBy","mat-raised-button","","target","_blank",1,"source-code-button"],[3,"src"],[1,"options-header"],["color","accent","mat-raised-button","",1,"cols-2",3,"click"],["mat-mini-fab","",1,"add-button","cols-2",3,"click"],[3,"options"],[3,"item"],["mat-mini-fab","",2,"position","absolute","right","10px","top","10px",3,"mousedown","touchstart"],[3,"id"]],template:function(i,n){i&1&&(c(0,"div",0)(1,"a",1)(2,"mat-icon"),h(3,"open_in_new"),d(),h(4," Source "),d(),O(5,"markdown",2),d(),c(6,"div",3)(7,"button",4),g("click",function(){return n.reset()}),h(8," Reset "),d(),c(9,"button",5),g("click",function(){return n.addItem()}),c(10,"mat-icon"),h(11,"add"),d()()(),c(12,"gridster",6),re(13,yy,5,2,"gridster-item",7,xy),d()),i&2&&(u(5),S("src","assets/trackBy.md"),u(7),S("options",n.options),u(),se(n.dashboard))},dependencies:[he,me,Es,xe,pe,ue,de,ve,ce,ge,Xu],encapsulation:2,changeDetection:0});let r=e;return r})();var Zu=[{path:"",component:Lu},{path:"api",component:Yh},{path:"compact",component:_u},{path:"displayGrid",component:vu},{path:"drag",component:Mu},{path:"dynamicWidgets",component:Du},{path:"emptyCell",component:Ru},{path:"gridEvents",component:Au},{path:"gridMargins",component:Ou},{path:"gridSizes",component:Fu},{path:"gridTypes",component:Pu},{path:"items",component:zu},{path:"trackBy",component:qu},{path:"push",component:Uu},{path:"resize",component:Hu},{path:"swap",component:Yu},{path:"multiLayer",component:$u},{path:"misc",component:Nu},{path:"rtl",component:Gu},{path:"**",redirectTo:""}];var Qu={providers:[Nc({eventCoalescing:!0}),ah(Zu),ad(),El(),yc(de.forRoot({loader:Hi,markedOptions:{provide:zl,useValue:{smartypants:!0,breaks:!0}}})),El()]};gd(lh,Qu).catch(r=>console.log(r)); diff --git a/main-P6COL7KF.js b/main-P6COL7KF.js new file mode 100644 index 0000000..ad9326e --- /dev/null +++ b/main-P6COL7KF.js @@ -0,0 +1,67 @@ +import{$ as Dt,$a as Zs,$b as Ne,A as br,Aa as Fc,Ab as L,Ac as ad,B as dt,Ba as j,Bb as Js,Bc as ci,C as De,Ca as io,Cb as ge,Cc as Dr,D as js,Da as Pc,Db as ie,Dc as Rr,E as wi,Ea as no,Eb as ne,F as Bi,Fa as Lc,Fb as c,G as Ci,Ga as Bt,Gb as d,Gc as Ei,H as $s,Ha as ut,Hb as R,Hc as di,I as mt,Ia as oo,Ib as F,J as vr,Ja as Xs,Jb as Ii,Jc as kt,K as Us,Ka as wr,Kb as g,Kc as Xi,L as Wi,La as Gi,Lb as f,Lc as Jt,M as ki,Ma as ro,Mb as Te,Mc as ld,N as si,Na as gn,Nb as G,Nc as cd,O as Hs,Oa as _n,Ob as Ge,P as Mc,Pa as zc,Pb as Pe,Q as Gs,Qa as Vc,Qb as J,R as Ic,Ra as Nc,Rb as ee,S as Ec,Sa as Bc,Sb as Zc,T as to,Ta as Wc,Tb as Kc,U as yr,Ua as jc,Ub as Rt,V as ht,Va as $c,Vb as m,W as je,Wa as bt,Wb as Xe,X as Ce,Xa as Uc,Xb as Ir,Y as Sc,Ya as so,Yb as x,Z as $e,Za as h,Zb as w,_ as Se,_a as Q,_b as C,a as k,aa as O,ab as bn,ac as Qc,b as re,ba as X,bb as Hc,bc as ea,ca as Tc,cb as Gc,cc as ta,d as Kn,da as A,db as Cr,dc as ia,e as Ue,ea as Ys,eb as Wt,ec as na,f as Cc,fa as K,fb as Yc,fc as Jc,g as Vt,ga as p,gb as S,gc as Ye,h as Ns,ha as ji,hb as Z,hc as ed,i as pr,ia as Dc,ib as $,ic as q,j as V,ja as Rc,jb as kr,jc as qi,k as wt,ka as Kt,kb as Yi,kc as li,l as fr,la as Nt,lb as Mr,lc as $t,m as Zt,ma as ze,mb as Ks,mc as Er,n as ct,na as b,nb as ai,nc as Sr,o as N,oa as v,ob as Qt,oc as vn,p as Ni,pa as $i,pb as Mi,pc as td,q as Qn,qa as qs,qb as qc,qc as id,r as kc,ra as He,rb as Ve,rc as ae,s as B,sa as Ac,sb as Fe,sc as oa,t as Jn,ta as Qe,tb as Y,tc as yn,u as Tt,ua as Ui,ub as fe,uc as Tr,v as Bs,va as Oc,vb as M,vc as nd,w as gr,wa as xr,wb as Qs,wc as od,x as eo,xa as H,xb as te,xc as rd,y as _r,ya as W,yb as jt,yc as sd,z as Ws,za as Hi,zb as Xc,zc as ra}from"./chunk-DAJMM3I7.js";var lo=class{},Or=class{},mi=class o{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(n){n?typeof n=="string"?this.lazyInit=()=>{this.headers=new Map,n.split(` +`).forEach(e=>{let t=e.indexOf(":");if(t>0){let i=e.slice(0,t),r=e.slice(t+1).trim();this.addHeaderEntry(i,r)}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((e,t)=>{this.addHeaderEntry(t,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([e,t])=>{this.setHeaderEntries(e,t)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();let e=this.headers.get(n.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,e){return this.clone({name:n,value:e,op:"a"})}set(n,e){return this.clone({name:n,value:e,op:"s"})}delete(n,e){return this.clone({name:n,value:e,op:"d"})}maybeSetNormalizedName(n,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,n)}init(){this.lazyInit&&(this.lazyInit instanceof o?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(e=>{this.headers.set(e,n.headers.get(e)),this.normalizedNames.set(e,n.normalizedNames.get(e))})}clone(n){let e=new o;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof o?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([n]),e}applyUpdate(n){let e=n.name.toLowerCase();switch(n.op){case"a":case"s":let t=n.value;if(typeof t=="string"&&(t=[t]),t.length===0)return;this.maybeSetNormalizedName(n.name,e);let i=(n.op==="a"?this.headers.get(e):void 0)||[];i.push(...t),this.headers.set(e,i);break;case"d":let r=n.value;if(!r)this.headers.delete(e),this.normalizedNames.delete(e);else{let s=this.headers.get(e);if(!s)return;s=s.filter(a=>r.indexOf(a)===-1),s.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,s)}break}}addHeaderEntry(n,e){let t=n.toLowerCase();this.maybeSetNormalizedName(n,t),this.headers.has(t)?this.headers.get(t).push(e):this.headers.set(t,[e])}setHeaderEntries(n,e){let t=(Array.isArray(e)?e:[e]).map(r=>r.toString()),i=n.toLowerCase();this.headers.set(i,t),this.maybeSetNormalizedName(n,i)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>n(this.normalizedNames.get(e),this.headers.get(e)))}};var aa=class{encodeKey(n){return dd(n)}encodeValue(n){return dd(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}};function dp(o,n){let e=new Map;return o.length>0&&o.replace(/^\?/,"").split("&").forEach(i=>{let r=i.indexOf("="),[s,a]=r==-1?[n.decodeKey(i),""]:[n.decodeKey(i.slice(0,r)),n.decodeValue(i.slice(r+1))],l=e.get(s)||[];l.push(a),e.set(s,l)}),e}var mp=/%(\d[a-f0-9])/gi,hp={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function dd(o){return encodeURIComponent(o).replace(mp,(n,e)=>hp[e]??n)}function Ar(o){return`${o}`}var Ti=class o{map;encoder;updates=null;cloneFrom=null;constructor(n={}){if(this.encoder=n.encoder||new aa,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=dp(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(e=>{let t=n.fromObject[e],i=Array.isArray(t)?t.map(Ar):[Ar(t)];this.map.set(e,i)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();let e=this.map.get(n);return e?e[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,e){return this.clone({param:n,value:e,op:"a"})}appendAll(n){let e=[];return Object.keys(n).forEach(t=>{let i=n[t];Array.isArray(i)?i.forEach(r=>{e.push({param:t,value:r,op:"a"})}):e.push({param:t,value:i,op:"a"})}),this.clone(e)}set(n,e){return this.clone({param:n,value:e,op:"s"})}delete(n,e){return this.clone({param:n,value:e,op:"d"})}toString(){return this.init(),this.keys().map(n=>{let e=this.encoder.encodeKey(n);return this.map.get(n).map(t=>e+"="+this.encoder.encodeValue(t)).join("&")}).filter(n=>n!=="").join("&")}clone(n){let e=new o({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(n),e}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":let e=(n.op==="a"?this.map.get(n.param):void 0)||[];e.push(Ar(n.value)),this.map.set(n.param,e);break;case"d":if(n.value!==void 0){let t=this.map.get(n.param)||[],i=t.indexOf(Ar(n.value));i!==-1&&t.splice(i,1),t.length>0?this.map.set(n.param,t):this.map.delete(n.param)}else{this.map.delete(n.param);break}}}),this.cloneFrom=this.updates=null)}};var la=class{map=new Map;set(n,e){return this.map.set(n,e),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}};function up(o){switch(o){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function md(o){return typeof ArrayBuffer<"u"&&o instanceof ArrayBuffer}function hd(o){return typeof Blob<"u"&&o instanceof Blob}function ud(o){return typeof FormData<"u"&&o instanceof FormData}function pp(o){return typeof URLSearchParams<"u"&&o instanceof URLSearchParams}var ao=class o{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;responseType="json";method;params;urlWithParams;transferCache;constructor(n,e,t,i){this.url=e,this.method=n.toUpperCase();let r;if(up(this.method)||i?(this.body=t!==void 0?t:null,r=i):r=t,r&&(this.reportProgress=!!r.reportProgress,this.withCredentials=!!r.withCredentials,r.responseType&&(this.responseType=r.responseType),r.headers&&(this.headers=r.headers),r.context&&(this.context=r.context),r.params&&(this.params=r.params),this.transferCache=r.transferCache),this.headers??=new mi,this.context??=new la,!this.params)this.params=new Ti,this.urlWithParams=e;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=e;else{let a=e.indexOf("?"),l=a===-1?"?":aI.set(E,n.setHeaders[E]),u)),n.setParams&&(_=Object.keys(n.setParams).reduce((I,E)=>I.set(E,n.setParams[E]),_)),new o(e,t,s,{params:_,headers:u,context:y,reportProgress:l,responseType:i,withCredentials:a,transferCache:r})}},Di=function(o){return o[o.Sent=0]="Sent",o[o.UploadProgress=1]="UploadProgress",o[o.ResponseHeader=2]="ResponseHeader",o[o.DownloadProgress=3]="DownloadProgress",o[o.Response=4]="Response",o[o.User=5]="User",o}(Di||{}),co=class{headers;status;statusText;url;ok;type;constructor(n,e=200,t="OK"){this.headers=n.headers||new mi,this.status=n.status!==void 0?n.status:e,this.statusText=n.statusText||t,this.url=n.url||null,this.ok=this.status>=200&&this.status<300}},Fr=class o extends co{constructor(n={}){super(n)}type=Di.ResponseHeader;clone(n={}){return new o({headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},mo=class o extends co{body;constructor(n={}){super(n),this.body=n.body!==void 0?n.body:null}type=Di.Response;clone(n={}){return new o({body:n.body!==void 0?n.body:this.body,headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},Si=class extends co{name="HttpErrorResponse";message;error;ok=!1;constructor(n){super(n,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${n.url||"(unknown url)"}`:this.message=`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}},_d=200,fp=204;function sa(o,n){return{body:n,headers:o.headers,context:o.context,observe:o.observe,params:o.params,reportProgress:o.reportProgress,responseType:o.responseType,withCredentials:o.withCredentials,transferCache:o.transferCache}}var Zi=(()=>{class o{handler;constructor(e){this.handler=e}request(e,t,i={}){let r;if(e instanceof ao)r=e;else{let l;i.headers instanceof mi?l=i.headers:l=new mi(i.headers);let u;i.params&&(i.params instanceof Ti?u=i.params:u=new Ti({fromObject:i.params})),r=new ao(e,t,i.body!==void 0?i.body:null,{headers:l,context:i.context,params:u,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials,transferCache:i.transferCache})}let s=N(r).pipe(Bi(l=>this.handler.handle(l)));if(e instanceof ao||i.observe==="events")return s;let a=s.pipe(De(l=>l instanceof mo));switch(i.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return a.pipe(B(l=>{if(l.body!==null&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return a.pipe(B(l=>{if(l.body!==null&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return a.pipe(B(l=>{if(l.body!==null&&typeof l.body!="string")throw new Error("Response is not a string.");return l.body}));case"json":default:return a.pipe(B(l=>l.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${i.observe}}`)}}delete(e,t={}){return this.request("DELETE",e,t)}get(e,t={}){return this.request("GET",e,t)}head(e,t={}){return this.request("HEAD",e,t)}jsonp(e,t){return this.request("JSONP",e,{params:new Ti().append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,t={}){return this.request("OPTIONS",e,t)}patch(e,t,i={}){return this.request("PATCH",e,sa(i,t))}post(e,t,i={}){return this.request("POST",e,sa(i,t))}put(e,t,i={}){return this.request("PUT",e,sa(i,t))}static \u0275fac=function(t){return new(t||o)(K(lo))};static \u0275prov=O({token:o,factory:o.\u0275fac})}return o})(),gp=/^\)\]\}',?\n/,_p="X-Request-URL";function pd(o){if(o.url)return o.url;let n=_p.toLocaleLowerCase();return o.headers.get(n)}var bp=(()=>{class o{fetchImpl=p(ca,{optional:!0})?.fetch??((...e)=>globalThis.fetch(...e));ngZone=p(W);handle(e){return new Vt(t=>{let i=new AbortController;return this.doRequest(e,i.signal,t).then(da,r=>t.error(new Si({error:r}))),()=>i.abort()})}doRequest(e,t,i){return Kn(this,null,function*(){let r=this.createRequestInit(e),s;try{let E=this.ngZone.runOutsideAngular(()=>this.fetchImpl(e.urlWithParams,k({signal:t},r)));vp(E),i.next({type:Di.Sent}),s=yield E}catch(E){i.error(new Si({error:E,status:E.status??0,statusText:E.statusText,url:e.urlWithParams,headers:E.headers}));return}let a=new mi(s.headers),l=s.statusText,u=pd(s)??e.urlWithParams,_=s.status,y=null;if(e.reportProgress&&i.next(new Fr({headers:a,status:_,statusText:l,url:u})),s.body){let E=s.headers.get("content-length"),D=[],T=s.body.getReader(),z=0,Le,ot,we=typeof Zone<"u"&&Zone.current;yield this.ngZone.runOutsideAngular(()=>Kn(this,null,function*(){for(;;){let{done:Xt,value:Vi}=yield T.read();if(Xt)break;if(D.push(Vi),z+=Vi.length,e.reportProgress){ot=e.responseType==="text"?(ot??"")+(Le??=new TextDecoder).decode(Vi,{stream:!0}):void 0;let fn=()=>i.next({type:Di.DownloadProgress,total:E?+E:void 0,loaded:z,partialText:ot});we?we.run(fn):fn()}}}));let xi=this.concatChunks(D,z);try{let Xt=s.headers.get("Content-Type")??"";y=this.parseBody(e,xi,Xt)}catch(Xt){i.error(new Si({error:Xt,headers:new mi(s.headers),status:s.status,statusText:s.statusText,url:pd(s)??e.urlWithParams}));return}}_===0&&(_=y?_d:0),_>=200&&_<300?(i.next(new mo({body:y,headers:a,status:_,statusText:l,url:u})),i.complete()):i.error(new Si({error:y,headers:a,status:_,statusText:l,url:u}))})}parseBody(e,t,i){switch(e.responseType){case"json":let r=new TextDecoder().decode(t).replace(gp,"");return r===""?null:JSON.parse(r);case"text":return new TextDecoder().decode(t);case"blob":return new Blob([t],{type:i});case"arraybuffer":return t.buffer}}createRequestInit(e){let t={},i=e.withCredentials?"include":void 0;if(e.headers.forEach((r,s)=>t[r]=s.join(",")),e.headers.has("Accept")||(t.Accept="application/json, text/plain, */*"),!e.headers.has("Content-Type")){let r=e.detectContentTypeHeader();r!==null&&(t["Content-Type"]=r)}return{body:e.serializeBody(),method:e.method,headers:t,credentials:i}}concatChunks(e,t){let i=new Uint8Array(t),r=0;for(let s of e)i.set(s,r),r+=s.length;return i}static \u0275fac=function(t){return new(t||o)};static \u0275prov=O({token:o,factory:o.\u0275fac})}return o})(),ca=class{};function da(){}function vp(o){o.then(da,da)}function yp(o,n){return n(o)}function xp(o,n,e){return(t,i)=>Nt(e,()=>n(t,r=>o(r,i)))}var bd=new A(""),wp=new A(""),Cp=new A("",{providedIn:"root",factory:()=>!0});var fd=(()=>{class o extends lo{backend;injector;chain=null;pendingTasks=p(xr);contributeToStability=p(Cp);constructor(e,t){super(),this.backend=e,this.injector=t}handle(e){if(this.chain===null){let t=Array.from(new Set([...this.injector.get(bd),...this.injector.get(wp,[])]));this.chain=t.reduceRight((i,r)=>xp(i,r,this.injector),yp)}if(this.contributeToStability){let t=this.pendingTasks.add();return this.chain(e,i=>this.backend.handle(i)).pipe(ki(()=>this.pendingTasks.remove(t)))}else return this.chain(e,t=>this.backend.handle(t))}static \u0275fac=function(t){return new(t||o)(K(Or),K(Kt))};static \u0275prov=O({token:o,factory:o.\u0275fac})}return o})();var kp=/^\)\]\}',?\n/;function Mp(o){return"responseURL"in o&&o.responseURL?o.responseURL:/^X-Request-URL:/m.test(o.getAllResponseHeaders())?o.getResponseHeader("X-Request-URL"):null}var gd=(()=>{class o{xhrFactory;constructor(e){this.xhrFactory=e}handle(e){if(e.method==="JSONP")throw new Se(-2800,!1);let t=this.xhrFactory;return(t.\u0275loadImpl?ct(t.\u0275loadImpl()):N(null)).pipe(je(()=>new Vt(r=>{let s=t.build();if(s.open(e.method,e.urlWithParams),e.withCredentials&&(s.withCredentials=!0),e.headers.forEach((T,z)=>s.setRequestHeader(T,z.join(","))),e.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){let T=e.detectContentTypeHeader();T!==null&&s.setRequestHeader("Content-Type",T)}if(e.responseType){let T=e.responseType.toLowerCase();s.responseType=T!=="json"?T:"text"}let a=e.serializeBody(),l=null,u=()=>{if(l!==null)return l;let T=s.statusText||"OK",z=new mi(s.getAllResponseHeaders()),Le=Mp(s)||e.url;return l=new Fr({headers:z,status:s.status,statusText:T,url:Le}),l},_=()=>{let{headers:T,status:z,statusText:Le,url:ot}=u(),we=null;z!==fp&&(we=typeof s.response>"u"?s.responseText:s.response),z===0&&(z=we?_d:0);let xi=z>=200&&z<300;if(e.responseType==="json"&&typeof we=="string"){let Xt=we;we=we.replace(kp,"");try{we=we!==""?JSON.parse(we):null}catch(Vi){we=Xt,xi&&(xi=!1,we={error:Vi,text:we})}}xi?(r.next(new mo({body:we,headers:T,status:z,statusText:Le,url:ot||void 0})),r.complete()):r.error(new Si({error:we,headers:T,status:z,statusText:Le,url:ot||void 0}))},y=T=>{let{url:z}=u(),Le=new Si({error:T,status:s.status||0,statusText:s.statusText||"Unknown Error",url:z||void 0});r.error(Le)},I=!1,E=T=>{I||(r.next(u()),I=!0);let z={type:Di.DownloadProgress,loaded:T.loaded};T.lengthComputable&&(z.total=T.total),e.responseType==="text"&&s.responseText&&(z.partialText=s.responseText),r.next(z)},D=T=>{let z={type:Di.UploadProgress,loaded:T.loaded};T.lengthComputable&&(z.total=T.total),r.next(z)};return s.addEventListener("load",_),s.addEventListener("error",y),s.addEventListener("timeout",y),s.addEventListener("abort",y),e.reportProgress&&(s.addEventListener("progress",E),a!==null&&s.upload&&s.upload.addEventListener("progress",D)),s.send(a),r.next({type:Di.Sent}),()=>{s.removeEventListener("error",y),s.removeEventListener("abort",y),s.removeEventListener("load",_),s.removeEventListener("timeout",y),e.reportProgress&&(s.removeEventListener("progress",E),a!==null&&s.upload&&s.upload.removeEventListener("progress",D)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(t){return new(t||o)(K(Rr))};static \u0275prov=O({token:o,factory:o.\u0275fac})}return o})(),vd=new A(""),Ip="XSRF-TOKEN",Ep=new A("",{providedIn:"root",factory:()=>Ip}),Sp="X-XSRF-TOKEN",Tp=new A("",{providedIn:"root",factory:()=>Sp}),Pr=class{},Dp=(()=>{class o{doc;platform;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(e,t,i){this.doc=e,this.platform=t,this.cookieName=i}getToken(){if(this.platform==="server")return null;let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=Tr(e,this.cookieName),this.lastCookieString=e),this.lastToken}static \u0275fac=function(t){return new(t||o)(K(ae),K(Bt),K(Ep))};static \u0275prov=O({token:o,factory:o.\u0275fac})}return o})();function Rp(o,n){let e=o.url.toLowerCase();if(!p(vd)||o.method==="GET"||o.method==="HEAD"||e.startsWith("http://")||e.startsWith("https://"))return n(o);let t=p(Pr).getToken(),i=p(Tp);return t!=null&&!o.headers.has(i)&&(o=o.clone({headers:o.headers.set(i,t)})),n(o)}function yd(...o){let n=[Zi,gd,fd,{provide:lo,useExisting:fd},{provide:Or,useFactory:()=>p(bp,{optional:!0})??p(gd)},{provide:bd,useValue:Rp,multi:!0},{provide:vd,useValue:!0},{provide:Pr,useClass:Dp}];for(let e of o)n.push(...e.\u0275providers);return ji(n)}var ha=class extends id{supportsDOMEvents=!0},ua=class o extends ha{static makeCurrent(){td(new o)}onAndCancel(n,e,t){return n.addEventListener(e,t),()=>{n.removeEventListener(e,t)}}dispatchEvent(n,e){n.dispatchEvent(e)}remove(n){n.remove()}createElement(n,e){return e=e||this.getDefaultDocument(),e.createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,e){return e==="window"?window:e==="document"?n:e==="body"?n.body:null}getBaseHref(n){let e=Op();return e==null?null:Fp(e)}resetBaseElement(){ho=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return Tr(document.cookie,n)}},ho=null;function Op(){return ho=ho||document.querySelector("base"),ho?ho.getAttribute("href"):null}function Fp(o){return new URL(o,document.baseURI).pathname}var Pp=(()=>{class o{build(){return new XMLHttpRequest}static \u0275fac=function(t){return new(t||o)};static \u0275prov=O({token:o,factory:o.\u0275fac})}return o})(),pa=new A(""),Id=(()=>{class o{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,t){this._zone=t,e.forEach(i=>{i.manager=this}),this._plugins=e.slice().reverse()}addEventListener(e,t,i){return this._findPluginFor(t).addEventListener(e,t,i)}getZone(){return this._zone}_findPluginFor(e){let t=this._eventNameToPlugin.get(e);if(t)return t;if(t=this._plugins.find(r=>r.supports(e)),!t)throw new Se(5101,!1);return this._eventNameToPlugin.set(e,t),t}static \u0275fac=function(t){return new(t||o)(K(pa),K(W))};static \u0275prov=O({token:o,factory:o.\u0275fac})}return o})(),Lr=class{_doc;constructor(n){this._doc=n}manager},fa="ng-app-id";function wd(o){for(let n of o)n.remove()}function Cd(o,n){let e=n.createElement("style");return e.textContent=o,e}function Lp(o,n,e){let t=o.head?.querySelectorAll(`style[${fa}="${n}"]`);if(t)for(let i of t)i.textContent&&(i.removeAttribute(fa),e.set(i.textContent,{usage:0,elements:[i]}))}function ga(o,n){let e=n.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",o),e}var Ed=(()=>{class o{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;isServer;constructor(e,t,i,r={}){this.doc=e,this.appId=t,this.nonce=i,this.isServer=Dr(r),Lp(e,t,this.inline),this.hosts.add(e.head)}addStyles(e,t){for(let i of e)this.addUsage(i,this.inline,Cd);t?.forEach(i=>this.addUsage(i,this.external,ga))}removeStyles(e,t){for(let i of e)this.removeUsage(i,this.inline);t?.forEach(i=>this.removeUsage(i,this.external))}addUsage(e,t,i){let r=t.get(e);r?r.usage++:t.set(e,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,i(e,this.doc)))})}removeUsage(e,t){let i=t.get(e);i&&(i.usage--,i.usage<=0&&(wd(i.elements),t.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])wd(e);this.hosts.clear()}addHost(e){this.hosts.add(e);for(let[t,{elements:i}]of this.inline)i.push(this.addElement(e,Cd(t,this.doc)));for(let[t,{elements:i}]of this.external)i.push(this.addElement(e,ga(t,this.doc)))}removeHost(e){this.hosts.delete(e)}addElement(e,t){return this.nonce&&t.setAttribute("nonce",this.nonce),this.isServer&&t.setAttribute(fa,this.appId),e.appendChild(t)}static \u0275fac=function(t){return new(t||o)(K(ae),K(no),K(oo,8),K(Bt))};static \u0275prov=O({token:o,factory:o.\u0275fac})}return o})(),ma={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/Math/MathML"},ya=/%COMP%/g,Sd="%COMP%",zp=`_nghost-${Sd}`,Vp=`_ngcontent-${Sd}`,Np=!0,Bp=new A("",{providedIn:"root",factory:()=>Np});function Wp(o){return Vp.replace(ya,o)}function jp(o){return zp.replace(ya,o)}function Td(o,n){return n.map(e=>e.replace(ya,o))}var zr=(()=>{class o{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(e,t,i,r,s,a,l,u=null){this.eventManager=e,this.sharedStylesHost=t,this.appId=i,this.removeStylesOnCompDestroy=r,this.doc=s,this.platformId=a,this.ngZone=l,this.nonce=u,this.platformIsServer=Dr(a),this.defaultRenderer=new uo(e,s,l,this.platformIsServer)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;this.platformIsServer&&t.encapsulation===ro.ShadowDom&&(t=re(k({},t),{encapsulation:ro.Emulated}));let i=this.getOrCreateRenderer(e,t);return i instanceof Vr?i.applyToHost(e):i instanceof po&&i.applyStyles(),i}getOrCreateRenderer(e,t){let i=this.rendererByCompId,r=i.get(t.id);if(!r){let s=this.doc,a=this.ngZone,l=this.eventManager,u=this.sharedStylesHost,_=this.removeStylesOnCompDestroy,y=this.platformIsServer;switch(t.encapsulation){case ro.Emulated:r=new Vr(l,u,t,this.appId,_,s,a,y);break;case ro.ShadowDom:return new _a(l,u,e,t,s,a,this.nonce,y);default:r=new po(l,u,t,_,s,a,y);break}i.set(t.id,r)}return r}ngOnDestroy(){this.rendererByCompId.clear()}static \u0275fac=function(t){return new(t||o)(K(Id),K(Ed),K(no),K(Bp),K(ae),K(Bt),K(W),K(oo))};static \u0275prov=O({token:o,factory:o.\u0275fac})}return o})(),uo=class{eventManager;doc;ngZone;platformIsServer;data=Object.create(null);throwOnSyntheticProps=!0;constructor(n,e,t,i){this.eventManager=n,this.doc=e,this.ngZone=t,this.platformIsServer=i}destroy(){}destroyNode=null;createElement(n,e){return e?this.doc.createElementNS(ma[e]||e,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,e){(kd(n)?n.content:n).appendChild(e)}insertBefore(n,e,t){n&&(kd(n)?n.content:n).insertBefore(e,t)}removeChild(n,e){e.remove()}selectRootElement(n,e){let t=typeof n=="string"?this.doc.querySelector(n):n;if(!t)throw new Se(-5104,!1);return e||(t.textContent=""),t}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,e,t,i){if(i){e=i+":"+e;let r=ma[i];r?n.setAttributeNS(r,e,t):n.setAttribute(e,t)}else n.setAttribute(e,t)}removeAttribute(n,e,t){if(t){let i=ma[t];i?n.removeAttributeNS(i,e):n.removeAttribute(`${t}:${e}`)}else n.removeAttribute(e)}addClass(n,e){n.classList.add(e)}removeClass(n,e){n.classList.remove(e)}setStyle(n,e,t,i){i&(so.DashCase|so.Important)?n.style.setProperty(e,t,i&so.Important?"important":""):n.style[e]=t}removeStyle(n,e,t){t&so.DashCase?n.style.removeProperty(e):n.style[e]=""}setProperty(n,e,t){n!=null&&(n[e]=t)}setValue(n,e){n.nodeValue=e}listen(n,e,t){if(typeof n=="string"&&(n=vn().getGlobalEventTarget(this.doc,n),!n))throw new Error(`Unsupported event target ${n} for event ${e}`);return this.eventManager.addEventListener(n,e,this.decoratePreventDefault(t))}decoratePreventDefault(n){return e=>{if(e==="__ngUnwrap__")return n;(this.platformIsServer?this.ngZone.runGuarded(()=>n(e)):n(e))===!1&&e.preventDefault()}}};function kd(o){return o.tagName==="TEMPLATE"&&o.content!==void 0}var _a=class extends uo{sharedStylesHost;hostEl;shadowRoot;constructor(n,e,t,i,r,s,a,l){super(n,r,s,l),this.sharedStylesHost=e,this.hostEl=t,this.shadowRoot=t.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let u=Td(i.id,i.styles);for(let y of u){let I=document.createElement("style");a&&I.setAttribute("nonce",a),I.textContent=y,this.shadowRoot.appendChild(I)}let _=i.getExternalStyles?.();if(_)for(let y of _){let I=ga(y,r);a&&I.setAttribute("nonce",a),this.shadowRoot.appendChild(I)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,e){return super.appendChild(this.nodeOrShadowRoot(n),e)}insertBefore(n,e,t){return super.insertBefore(this.nodeOrShadowRoot(n),e,t)}removeChild(n,e){return super.removeChild(null,e)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},po=class extends uo{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(n,e,t,i,r,s,a,l){super(n,r,s,a),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=i,this.styles=l?Td(l,t.styles):t.styles,this.styleUrls=t.getExternalStyles?.(l)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},Vr=class extends po{contentAttr;hostAttr;constructor(n,e,t,i,r,s,a,l){let u=i+"-"+t.id;super(n,e,t,r,s,a,l,u),this.contentAttr=Wp(u),this.hostAttr=jp(u)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,e){let t=super.createElement(n,e);return super.setAttribute(t,this.contentAttr,""),t}},$p=(()=>{class o extends Lr{constructor(e){super(e)}supports(e){return!0}addEventListener(e,t,i){return e.addEventListener(t,i,!1),()=>this.removeEventListener(e,t,i)}removeEventListener(e,t,i){return e.removeEventListener(t,i)}static \u0275fac=function(t){return new(t||o)(K(ae))};static \u0275prov=O({token:o,factory:o.\u0275fac})}return o})(),Md=["alt","control","meta","shift"],Up={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Hp={alt:o=>o.altKey,control:o=>o.ctrlKey,meta:o=>o.metaKey,shift:o=>o.shiftKey},Gp=(()=>{class o extends Lr{constructor(e){super(e)}supports(e){return o.parseEventName(e)!=null}addEventListener(e,t,i){let r=o.parseEventName(t),s=o.eventCallback(r.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>vn().onAndCancel(e,r.domEventName,s))}static parseEventName(e){let t=e.toLowerCase().split("."),i=t.shift();if(t.length===0||!(i==="keydown"||i==="keyup"))return null;let r=o._normalizeKey(t.pop()),s="",a=t.indexOf("code");if(a>-1&&(t.splice(a,1),s="code."),Md.forEach(u=>{let _=t.indexOf(u);_>-1&&(t.splice(_,1),s+=u+".")}),s+=r,t.length!=0||r.length===0)return null;let l={};return l.domEventName=i,l.fullKey=s,l}static matchEventFullKeyCode(e,t){let i=Up[e.key]||e.key,r="";return t.indexOf("code.")>-1&&(i=e.code,r="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),Md.forEach(s=>{if(s!==i){let a=Hp[s];a(e)&&(r+=s+".")}}),r+=i,r===t)}static eventCallback(e,t,i){return r=>{o.matchEventFullKeyCode(r,e)&&i.runGuarded(()=>t(r))}}static _normalizeKey(e){return e==="esc"?"escape":e}static \u0275fac=function(t){return new(t||o)(K(ae))};static \u0275prov=O({token:o,factory:o.\u0275fac})}return o})();function Dd(o,n){return ed(k({rootComponent:o},Yp(n)))}function Yp(o){return{appProviders:[...Qp,...o?.providers??[]],platformProviders:Kp}}function qp(){ua.makeCurrent()}function Xp(){return new Hi}function Zp(){return Pc(document),document}var Kp=[{provide:Bt,useValue:ad},{provide:Lc,useValue:qp,multi:!0},{provide:ae,useFactory:Zp,deps:[]}];var Qp=[{provide:Rc,useValue:"root"},{provide:Hi,useFactory:Xp,deps:[]},{provide:pa,useClass:$p,multi:!0,deps:[ae,W,Bt]},{provide:pa,useClass:Gp,multi:!0,deps:[ae]},zr,Ed,Id,{provide:Cr,useExisting:zr},{provide:Rr,useClass:Pp,deps:[]},[]];var Rd=(()=>{class o{_doc;constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static \u0275fac=function(t){return new(t||o)(K(ae))};static \u0275prov=O({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();var fo=(()=>{class o{static \u0275fac=function(t){return new(t||o)};static \u0275prov=O({token:o,factory:function(t){let i=null;return t?i=new(t||o):i=K(Jp),i},providedIn:"root"})}return o})(),Jp=(()=>{class o extends fo{_doc;constructor(e){super(),this._doc=e}sanitize(e,t){if(t==null)return null;switch(e){case bt.NONE:return t;case bt.HTML:return _n(t,"HTML")?gn(t):$c(this._doc,String(t)).toString();case bt.STYLE:return _n(t,"Style")?gn(t):t;case bt.SCRIPT:if(_n(t,"Script"))return gn(t);throw new Se(5200,!1);case bt.URL:return _n(t,"URL")?gn(t):jc(String(t));case bt.RESOURCE_URL:if(_n(t,"ResourceURL"))return gn(t);throw new Se(5201,!1);default:throw new Se(5202,!1)}}bypassSecurityTrustHtml(e){return zc(e)}bypassSecurityTrustStyle(e){return Vc(e)}bypassSecurityTrustScript(e){return Nc(e)}bypassSecurityTrustUrl(e){return Bc(e)}bypassSecurityTrustResourceUrl(e){return Wc(e)}static \u0275fac=function(t){return new(t||o)(K(ae))};static \u0275prov=O({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();function At(o){return o!=null&&`${o}`!="false"}function xn(o,n=0){return ef(o)?Number(o):arguments.length===2?n:0}function ef(o){return!isNaN(parseFloat(o))&&!isNaN(Number(o))}function wn(o){return Array.isArray(o)?o:[o]}function Ze(o){return o==null?"":typeof o=="string"?o:`${o}px`}function Ct(o){return o instanceof j?o.nativeElement:o}var Ca;try{Ca=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Ca=!1}var Ae=(()=>{class o{_platformId=p(Bt);isBrowser=this._platformId?ci(this._platformId):typeof document=="object"&&!!document;EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent);TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);BLINK=this.isBrowser&&!!(window.chrome||Ca)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;constructor(){}static \u0275fac=function(t){return new(t||o)};static \u0275prov=O({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();var Cn,Ad=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function ka(){if(Cn)return Cn;if(typeof document!="object"||!document)return Cn=new Set(Ad),Cn;let o=document.createElement("input");return Cn=new Set(Ad.filter(n=>(o.setAttribute("type",n),o.type===n))),Cn}var go;function tf(){if(go==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>go=!0}))}finally{go=go||!1}return go}function ei(o){return tf()?o:!!o.capture}var Ki;function Ma(){if(Ki==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return Ki=!1,Ki;if("scrollBehavior"in document.documentElement.style)Ki=!0;else{let o=Element.prototype.scrollTo;o?Ki=!/\{\s*\[native code\]\s*\}/.test(o.toString()):Ki=!1}}return Ki}var wa;function nf(){if(wa==null){let o=typeof document<"u"?document.head:null;wa=!!(o&&(o.createShadowRoot||o.attachShadow))}return wa}function Od(o){if(nf()){let n=o.getRootNode?o.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&n instanceof ShadowRoot)return n}return null}function Mt(o){return o.composedPath?o.composedPath()[0]:o.target}function Ia(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var Nr=new WeakMap,at=(()=>{class o{_appRef;_injector=p(Qe);_environmentInjector=p(Kt);load(e){let t=this._appRef=this._appRef||this._injector.get(ai),i=Nr.get(t);i||(i={loaders:new Set,refs:[]},Nr.set(t,i),t.onDestroy(()=>{Nr.get(t)?.refs.forEach(r=>r.destroy()),Nr.delete(t)})),i.loaders.has(e)||(i.loaders.add(e),i.refs.push(Sr(e,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(t){return new(t||o)};static \u0275prov=O({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})(),Fd=(()=>{class o{static \u0275fac=function(t){return new(t||o)};static \u0275cmp=S({type:o,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(t,i){},styles:[".cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}"],encapsulation:2,changeDetection:0})}return o})();function Ut(o,...n){return n.length?n.some(e=>o[e]):o.altKey||o.shiftKey||o.ctrlKey||o.metaKey}function of(o){if(o.type==="characterData"&&o.target instanceof Comment)return!0;if(o.type==="childList"){for(let n=0;n{class o{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}static \u0275fac=function(t){return new(t||o)};static \u0275prov=O({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})(),rf=(()=>{class o{_mutationObserverFactory=p(Pd);_observedElements=new Map;_ngZone=p(W);constructor(){}ngOnDestroy(){this._observedElements.forEach((e,t)=>this._cleanupObserver(t))}observe(e){let t=Ct(e);return new Vt(i=>{let s=this._observeElement(t).pipe(B(a=>a.filter(l=>!of(l))),De(a=>!!a.length)).subscribe(a=>{this._ngZone.run(()=>{i.next(a)})});return()=>{s.unsubscribe(),this._unobserveElement(t)}})}_observeElement(e){return this._ngZone.runOutsideAngular(()=>{if(this._observedElements.has(e))this._observedElements.get(e).count++;else{let t=new V,i=this._mutationObserverFactory.create(r=>t.next(r));i&&i.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:i,stream:t,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)){let{observer:t,stream:i}=this._observedElements.get(e);t&&t.disconnect(),i.complete(),this._observedElements.delete(e)}}static \u0275fac=function(t){return new(t||o)};static \u0275prov=O({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})(),Ld=(()=>{class o{_contentObserver=p(rf);_elementRef=p(j);event=new H;get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._disabled?this._unsubscribe():this._subscribe()}_disabled=!1;get debounce(){return this._debounce}set debounce(e){this._debounce=xn(e),this._subscribe()}_debounce;_currentSubscription=null;constructor(){}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();let e=this._contentObserver.observe(this._elementRef);this._currentSubscription=(this.debounce?e.pipe(Ci(this.debounce)):e).subscribe(this.event)}_unsubscribe(){this._currentSubscription?.unsubscribe()}static \u0275fac=function(t){return new(t||o)};static \u0275dir=$({type:o,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[2,"cdkObserveContentDisabled","disabled",q],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"],features:[Fe]})}return o})(),Br=(()=>{class o{static \u0275fac=function(t){return new(t||o)};static \u0275mod=Z({type:o});static \u0275inj=X({providers:[Pd]})}return o})();var zd=new Set,Qi,sf=(()=>{class o{_platform=p(Ae);_nonce=p(oo,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):lf}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&af(e,this._nonce),this._matchMedia(e)}static \u0275fac=function(t){return new(t||o)};static \u0275prov=O({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();function af(o,n){if(!zd.has(o))try{Qi||(Qi=document.createElement("style"),n&&Qi.setAttribute("nonce",n),Qi.setAttribute("type","text/css"),document.head.appendChild(Qi)),Qi.sheet&&(Qi.sheet.insertRule(`@media ${o} {body{ }}`,0),zd.add(o))}catch(e){console.error(e)}}function lf(o){return{matches:o==="all"||o==="",media:o,addListener:()=>{},removeListener:()=>{}}}var Nd=(()=>{class o{_mediaMatcher=p(sf);_zone=p(W);_queries=new Map;_destroySubject=new V;constructor(){}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return Vd(wn(e)).some(i=>this._registerQuery(i).mql.matches)}observe(e){let i=Vd(wn(e)).map(s=>this._registerQuery(s).observable),r=Jn(i);return r=gr(r.pipe(mt(1)),r.pipe(yr(1),Ci(0))),r.pipe(B(s=>{let a={matches:!1,breakpoints:{}};return s.forEach(({matches:l,query:u})=>{a.matches=a.matches||l,a.breakpoints[u]=l}),a}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);let t=this._mediaMatcher.matchMedia(e),r={observable:new Vt(s=>{let a=l=>this._zone.run(()=>s.next(l));return t.addListener(a),()=>{t.removeListener(a)}}).pipe(ht(t),B(({matches:s})=>({query:e,matches:s})),Ce(this._destroySubject)),mql:t};return this._queries.set(e,r),r}static \u0275fac=function(t){return new(t||o)};static \u0275prov=O({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();function Vd(o){return o.map(n=>n.split(",")).reduce((n,e)=>n.concat(e)).map(n=>n.trim())}var jd=" ";function $d(o,n,e){let t=Ud(o,n);e=e.trim(),!t.some(i=>i.trim()===e)&&(t.push(e),o.setAttribute(n,t.join(jd)))}function Ra(o,n,e){let t=Ud(o,n);e=e.trim();let i=t.filter(r=>r!==e);i.length?o.setAttribute(n,i.join(jd)):o.removeAttribute(n)}function Ud(o,n){return o.getAttribute(n)?.match(/\S+/g)??[]}var Cf=200,Ta=class{_letterKeyStream=new V;_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new V;selectedItem=this._selectedItem;constructor(n,e){let t=typeof e?.debounceInterval=="number"?e.debounceInterval:Cf;e?.skipPredicate&&(this._skipPredicateFn=e.skipPredicate),this.setItems(n),this._setupKeyHandler(t)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(n){this._selectedItemIndex=n}setItems(n){this._items=n}handleKey(n){let e=n.keyCode;n.key&&n.key.length===1?this._letterKeyStream.next(n.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(n){this._letterKeyStream.pipe($e(e=>this._pressedLetters.push(e)),Ci(n),De(()=>this._pressedLetters.length>0),B(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(e=>{for(let t=1;tn.disabled;constructor(n,e){this._items=n,n instanceof io?this._itemChangesSubscription=n.changes.subscribe(t=>this._itemsChanged(t.toArray())):Yi(n)&&(this._effectRef=Er(()=>this._itemsChanged(n()),{injector:e}))}tabOut=new V;change=new V;skipPredicate(n){return this._skipPredicateFn=n,this}withWrap(n=!0){return this._wrap=n,this}withVerticalOrientation(n=!0){return this._vertical=n,this}withHorizontalOrientation(n){return this._horizontal=n,this}withAllowedModifierKeys(n){return this._allowedModifierKeys=n,this}withTypeAhead(n=200){this._typeaheadSubscription.unsubscribe();let e=this._getItemsArray();return this._typeahead=new Ta(e,{debounceInterval:typeof n=="number"?n:void 0,skipPredicate:t=>this._skipPredicateFn(t)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(t=>{this.setActiveItem(t)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(n=!0){return this._homeAndEnd=n,this}withPageUpDown(n=!0,e=10){return this._pageUpAndDown={enabled:n,delta:e},this}setActiveItem(n){let e=this._activeItem();this.updateActiveItem(n),this._activeItem()!==e&&this.change.next(this._activeItemIndex)}onKeydown(n){let e=n.keyCode,i=["altKey","ctrlKey","metaKey","shiftKey"].every(r=>!n[r]||this._allowedModifierKeys.indexOf(r)>-1);switch(e){case 9:this.tabOut.next();return;case 40:if(this._vertical&&i){this.setNextItemActive();break}else return;case 38:if(this._vertical&&i){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&i){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&i){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&i){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&i){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&i){let r=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(r>0?r:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&i){let r=this._activeItemIndex+this._pageUpAndDown.delta,s=this._getItemsArray().length;this._setActiveItemByIndex(r-1&&t!==this._activeItemIndex&&(this._activeItemIndex=t,this._typeahead?.setCurrentSelectedItemIndex(t))}}},Ur=class extends $r{setActiveItem(n){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(n),this.activeItem&&this.activeItem.setActiveStyles()}},Hr=class extends $r{_origin="program";setFocusOrigin(n){return this._origin=n,this}setActiveItem(n){super.setActiveItem(n),this.activeItem&&this.activeItem.focus(this._origin)}};function _o(o){return o.buttons===0||o.detail===0}function bo(o){let n=o.touches&&o.touches[0]||o.changedTouches&&o.changedTouches[0];return!!n&&n.identifier===-1&&(n.radiusX==null||n.radiusX===1)&&(n.radiusY==null||n.radiusY===1)}var kf=new A("cdk-input-modality-detector-options"),Mf={ignoreKeys:[18,17,224,91,16]},Hd=650,kn=ei({passive:!0,capture:!0}),If=(()=>{class o{_platform=p(Ae);modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new wt(null);_options;_lastTouchMs=0;_onKeydown=e=>{this._options?.ignoreKeys?.some(t=>t===e.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Mt(e))};_onMousedown=e=>{Date.now()-this._lastTouchMs{if(bo(e)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Mt(e)};constructor(){let e=p(W),t=p(ae),i=p(kf,{optional:!0});this._options=k(k({},Mf),i),this.modalityDetected=this._modality.pipe(yr(1)),this.modalityChanged=this.modalityDetected.pipe(Wi()),this._platform.isBrowser&&e.runOutsideAngular(()=>{t.addEventListener("keydown",this._onKeydown,kn),t.addEventListener("mousedown",this._onMousedown,kn),t.addEventListener("touchstart",this._onTouchstart,kn)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,kn),document.removeEventListener("mousedown",this._onMousedown,kn),document.removeEventListener("touchstart",this._onTouchstart,kn))}static \u0275fac=function(t){return new(t||o)};static \u0275prov=O({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})(),Ef=new A("liveAnnouncerElement",{providedIn:"root",factory:Sf});function Sf(){return null}var Tf=new A("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),Df=0,Gd=(()=>{class o{_ngZone=p(W);_defaultOptions=p(Tf,{optional:!0});_liveElement;_document=p(ae);_previousTimeout;_currentPromise;_currentResolve;constructor(){let e=p(Ef,{optional:!0});this._liveElement=e||this._createLiveElement()}announce(e,...t){let i=this._defaultOptions,r,s;return t.length===1&&typeof t[0]=="number"?s=t[0]:[r,s]=t,this.clear(),clearTimeout(this._previousTimeout),r||(r=i&&i.politeness?i.politeness:"polite"),s==null&&i&&(s=i.duration),this._liveElement.setAttribute("aria-live",r),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(a=>this._currentResolve=a)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,typeof s=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),s)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let e="cdk-live-announcer-element",t=this._document.getElementsByClassName(e),i=this._document.createElement("div");for(let r=0;r .cdk-overlay-container [aria-modal="true"]');for(let i=0;i{class o{_ngZone=p(W);_platform=p(Ae);_inputModalityDetector=p(If);_origin=null;_lastFocusOrigin;_windowFocused=!1;_windowFocusTimeoutId;_originTimeoutId;_originFromTouchInteraction=!1;_elementInfo=new Map;_monitoredElementCount=0;_rootNodeFocusListenerCount=new Map;_detectionMode;_windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)};_document=p(ae,{optional:!0});_stopInputModalityDetector=new V;constructor(){let e=p(Rf,{optional:!0});this._detectionMode=e?.detectionMode||jr.IMMEDIATE}_rootNodeFocusAndBlurListener=e=>{let t=Mt(e);for(let i=t;i;i=i.parentElement)e.type==="focus"?this._onFocus(e,i):this._onBlur(e,i)};monitor(e,t=!1){let i=Ct(e);if(!this._platform.isBrowser||i.nodeType!==1)return N();let r=Od(i)||this._getDocument(),s=this._elementInfo.get(i);if(s)return t&&(s.checkChildren=!0),s.subject;let a={checkChildren:t,subject:new V,rootNode:r};return this._elementInfo.set(i,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(e){let t=Ct(e),i=this._elementInfo.get(t);i&&(i.subject.complete(),this._setClasses(t),this._elementInfo.delete(t),this._removeGlobalListeners(i))}focusVia(e,t,i){let r=Ct(e),s=this._getDocument().activeElement;r===s?this._getClosestElementsInfo(r).forEach(([a,l])=>this._originChanged(a,t,l)):(this._setOrigin(t),typeof r.focus=="function"&&r.focus(i))}ngOnDestroy(){this._elementInfo.forEach((e,t)=>this.stopMonitoring(t))}_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 this._detectionMode===jr.EVENTUAL||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,t){e.classList.toggle("cdk-focused",!!t),e.classList.toggle("cdk-touch-focused",t==="touch"),e.classList.toggle("cdk-keyboard-focused",t==="keyboard"),e.classList.toggle("cdk-mouse-focused",t==="mouse"),e.classList.toggle("cdk-program-focused",t==="program")}_setOrigin(e,t=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=e,this._originFromTouchInteraction=e==="touch"&&t,this._detectionMode===jr.IMMEDIATE){clearTimeout(this._originTimeoutId);let i=this._originFromTouchInteraction?Hd:1;this._originTimeoutId=setTimeout(()=>this._origin=null,i)}})}_onFocus(e,t){let i=this._elementInfo.get(t),r=Mt(e);!i||!i.checkChildren&&t!==r||this._originChanged(t,this._getFocusOrigin(r),i)}_onBlur(e,t){let i=this._elementInfo.get(t);!i||i.checkChildren&&e.relatedTarget instanceof Node&&t.contains(e.relatedTarget)||(this._setClasses(t),this._emitOrigin(i,null))}_emitOrigin(e,t){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(t))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;let t=e.rootNode,i=this._rootNodeFocusListenerCount.get(t)||0;i||this._ngZone.runOutsideAngular(()=>{t.addEventListener("focus",this._rootNodeFocusAndBlurListener,Wr),t.addEventListener("blur",this._rootNodeFocusAndBlurListener,Wr)}),this._rootNodeFocusListenerCount.set(t,i+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(Ce(this._stopInputModalityDetector)).subscribe(r=>{this._setOrigin(r,!0)}))}_removeGlobalListeners(e){let t=e.rootNode;if(this._rootNodeFocusListenerCount.has(t)){let i=this._rootNodeFocusListenerCount.get(t);i>1?this._rootNodeFocusListenerCount.set(t,i-1):(t.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Wr),t.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Wr),this._rootNodeFocusListenerCount.delete(t))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,t,i){this._setClasses(e,t),this._emitOrigin(i,t),this._lastFocusOrigin=t}_getClosestElementsInfo(e){let t=[];return this._elementInfo.forEach((i,r)=>{(r===e||i.checkChildren&&r.contains(e))&&t.push([r,i])}),t}_isLastInteractionFromInputLabel(e){let{_mostRecentTarget:t,mostRecentModality:i}=this._inputModalityDetector;if(i!=="mouse"||!t||t===e||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA"||e.disabled)return!1;let r=e.labels;if(r){for(let s=0;s{class o{_platform=p(Ae);_hasCheckedHighContrastMode;_document=p(ae);_breakpointSubscription;constructor(){this._breakpointSubscription=p(Nd).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return Ji.NONE;let e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);let t=this._document.defaultView||window,i=t&&t.getComputedStyle?t.getComputedStyle(e):null,r=(i&&i.backgroundColor||"").replace(/ /g,"");switch(e.remove(),r){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return Ji.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Ji.BLACK_ON_WHITE}return Ji.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let e=this._document.body.classList;e.remove(Ea,Bd,Wd),this._hasCheckedHighContrastMode=!0;let t=this.getHighContrastMode();t===Ji.BLACK_ON_WHITE?e.add(Ea,Bd):t===Ji.WHITE_ON_BLACK&&e.add(Ea,Wd)}}static \u0275fac=function(t){return new(t||o)};static \u0275prov=O({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();var Sa={},vt=(()=>{class o{_appId=p(no);getId(e){return this._appId!=="ng"&&(e+=this._appId),Sa.hasOwnProperty(e)||(Sa[e]=0),`${e}${Sa[e]++}`}static \u0275fac=function(t){return new(t||o)};static \u0275prov=O({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();var Af=new A("cdk-dir-doc",{providedIn:"root",factory:Of});function Of(){return p(ae)}var Ff=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function Pf(o){let n=o?.toLowerCase()||"";return n==="auto"&&typeof navigator<"u"&&navigator?.language?Ff.test(navigator.language)?"rtl":"ltr":n==="rtl"?"rtl":"ltr"}var ti=(()=>{class o{value="ltr";change=new H;constructor(){let e=p(Af,{optional:!0});if(e){let t=e.body?e.body.dir:null,i=e.documentElement?e.documentElement.dir:null;this.value=Pf(t||i||"ltr")}}ngOnDestroy(){this.change.complete()}static \u0275fac=function(t){return new(t||o)};static \u0275prov=O({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();var Ri=(()=>{class o{static \u0275fac=function(t){return new(t||o)};static \u0275mod=Z({type:o});static \u0275inj=X({})}return o})();var Lf=["text"],zf=[[["mat-icon"]],"*"],Vf=["mat-icon","*"];function Nf(o,n){if(o&1&&R(0,"mat-pseudo-checkbox",1),o&2){let e=f();M("disabled",e.disabled)("state",e.selected?"checked":"unchecked")}}function Bf(o,n){if(o&1&&R(0,"mat-pseudo-checkbox",3),o&2){let e=f();M("disabled",e.disabled)}}function Wf(o,n){if(o&1&&(c(0,"span",4),m(1),d()),o&2){let e=f();h(),Ir("(",e.group.label,")")}}var jf=["mat-internal-form-field",""],$f=["*"];var ke=(()=>{class o{constructor(){p(Yd)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(t){return new(t||o)};static \u0275mod=Z({type:o});static \u0275inj=X({imports:[Ri,Ri]})}return o})(),Tn=class{_defaultMatcher;ngControl;_parentFormGroup;_parentForm;_stateChanges;errorState=!1;matcher;constructor(n,e,t,i,r){this._defaultMatcher=n,this.ngControl=e,this._parentFormGroup=t,this._parentForm=i,this._stateChanges=r}updateErrorState(){let n=this.errorState,e=this._parentFormGroup||this._parentForm,t=this.matcher||this._defaultMatcher,i=this.ngControl?this.ngControl.control:null,r=t?.isErrorState(i,e)??!1;r!==n&&(this.errorState=r,this._stateChanges.next())}};var qr=(()=>{class o{isErrorState(e,t){return!!(e&&e.invalid&&(e.touched||t&&t.submitted))}static \u0275fac=function(t){return new(t||o)};static \u0275prov=O({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})(),hi=(()=>{class o{static \u0275fac=function(t){return new(t||o)};static \u0275cmp=S({type:o,selectors:[["structural-styles"]],decls:0,vars:0,template:function(t,i){},styles:['.mat-focus-indicator{position:relative}.mat-focus-indicator::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border-width:var(--mat-focus-indicator-border-width, 3px);border-style:var(--mat-focus-indicator-border-style, solid);border-color:var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus::before{content:""}@media(forced-colors: active){html{--mat-focus-indicator-display: block}}'],encapsulation:2,changeDetection:0})}return o})();var Ot=function(o){return o[o.FADING_IN=0]="FADING_IN",o[o.VISIBLE=1]="VISIBLE",o[o.FADING_OUT=2]="FADING_OUT",o[o.HIDDEN=3]="HIDDEN",o}(Ot||{}),Fa=class{_renderer;element;config;_animationForciblyDisabledThroughCss;state=Ot.HIDDEN;constructor(n,e,t,i=!1){this._renderer=n,this.element=e,this.config=t,this._animationForciblyDisabledThroughCss=i}fadeOut(){this._renderer.fadeOutRipple(this)}},qd=ei({passive:!0,capture:!0}),Pa=class{_events=new Map;addHandler(n,e,t,i){let r=this._events.get(e);if(r){let s=r.get(t);s?s.add(i):r.set(t,new Set([i]))}else this._events.set(e,new Map([[t,new Set([i])]])),n.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,qd)})}removeHandler(n,e,t){let i=this._events.get(n);if(!i)return;let r=i.get(e);r&&(r.delete(t),r.size===0&&i.delete(e),i.size===0&&(this._events.delete(n),document.removeEventListener(n,this._delegateEventHandler,qd)))}_delegateEventHandler=n=>{let e=Mt(n);e&&this._events.get(n.type)?.forEach((t,i)=>{(i===e||i.contains(e))&&t.forEach(r=>r.handleEvent(n))})}},Yr={enterDuration:225,exitDuration:150},Uf=800,Xd=ei({passive:!0,capture:!0}),Zd=["mousedown","touchstart"],Kd=["mouseup","mouseleave","touchend","touchcancel"],Hf=(()=>{class o{static \u0275fac=function(t){return new(t||o)};static \u0275cmp=S({type:o,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(t,i){},styles:[".mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0, 0, 0.2, 1);transform:scale3d(0, 0, 0);background-color:var(--mat-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface) 10%, transparent))}@media(forced-colors: active){.mat-ripple-element{display:none}}.cdk-drag-preview .mat-ripple-element,.cdk-drag-placeholder .mat-ripple-element{display:none}"],encapsulation:2,changeDetection:0})}return o})(),Dn=class o{_target;_ngZone;_platform;_containerElement;_triggerElement;_isPointerDown=!1;_activeRipples=new Map;_mostRecentTransientRipple;_lastTouchStartEvent;_pointerUpEventsRegistered=!1;_containerRect;static _eventManager=new Pa;constructor(n,e,t,i,r){this._target=n,this._ngZone=e,this._platform=i,i.isBrowser&&(this._containerElement=Ct(t)),r&&r.get(at).load(Hf)}fadeInRipple(n,e,t={}){let i=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),r=k(k({},Yr),t.animation);t.centered&&(n=i.left+i.width/2,e=i.top+i.height/2);let s=t.radius||Gf(n,e,i),a=n-i.left,l=e-i.top,u=r.enterDuration,_=document.createElement("div");_.classList.add("mat-ripple-element"),_.style.left=`${a-s}px`,_.style.top=`${l-s}px`,_.style.height=`${s*2}px`,_.style.width=`${s*2}px`,t.color!=null&&(_.style.backgroundColor=t.color),_.style.transitionDuration=`${u}ms`,this._containerElement.appendChild(_);let y=window.getComputedStyle(_),I=y.transitionProperty,E=y.transitionDuration,D=I==="none"||E==="0s"||E==="0s, 0s"||i.width===0&&i.height===0,T=new Fa(this,_,t,D);_.style.transform="scale3d(1, 1, 1)",T.state=Ot.FADING_IN,t.persistent||(this._mostRecentTransientRipple=T);let z=null;return!D&&(u||r.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let Le=()=>{z&&(z.fallbackTimer=null),clearTimeout(we),this._finishRippleTransition(T)},ot=()=>this._destroyRipple(T),we=setTimeout(ot,u+100);_.addEventListener("transitionend",Le),_.addEventListener("transitioncancel",ot),z={onTransitionEnd:Le,onTransitionCancel:ot,fallbackTimer:we}}),this._activeRipples.set(T,z),(D||!u)&&this._finishRippleTransition(T),T}fadeOutRipple(n){if(n.state===Ot.FADING_OUT||n.state===Ot.HIDDEN)return;let e=n.element,t=k(k({},Yr),n.config.animation);e.style.transitionDuration=`${t.exitDuration}ms`,e.style.opacity="0",n.state=Ot.FADING_OUT,(n._animationForciblyDisabledThroughCss||!t.exitDuration)&&this._finishRippleTransition(n)}fadeOutAll(){this._getActiveRipples().forEach(n=>n.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(n=>{n.config.persistent||n.fadeOut()})}setupTriggerEvents(n){let e=Ct(n);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,Zd.forEach(t=>{o._eventManager.addHandler(this._ngZone,t,e,this)}))}handleEvent(n){n.type==="mousedown"?this._onMousedown(n):n.type==="touchstart"?this._onTouchStart(n):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{Kd.forEach(e=>{this._triggerElement.addEventListener(e,this,Xd)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(n){n.state===Ot.FADING_IN?this._startFadeOutTransition(n):n.state===Ot.FADING_OUT&&this._destroyRipple(n)}_startFadeOutTransition(n){let e=n===this._mostRecentTransientRipple,{persistent:t}=n.config;n.state=Ot.VISIBLE,!t&&(!e||!this._isPointerDown)&&n.fadeOut()}_destroyRipple(n){let e=this._activeRipples.get(n)??null;this._activeRipples.delete(n),this._activeRipples.size||(this._containerRect=null),n===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),n.state=Ot.HIDDEN,e!==null&&(n.element.removeEventListener("transitionend",e.onTransitionEnd),n.element.removeEventListener("transitioncancel",e.onTransitionCancel),e.fallbackTimer!==null&&clearTimeout(e.fallbackTimer)),n.element.remove()}_onMousedown(n){let e=_o(n),t=this._lastTouchStartEvent&&Date.now(){let e=n.state===Ot.VISIBLE||n.config.terminateOnPointerUp&&n.state===Ot.FADING_IN;!n.config.persistent&&e&&n.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let n=this._triggerElement;n&&(Zd.forEach(e=>o._eventManager.removeHandler(e,n,this)),this._pointerUpEventsRegistered&&(Kd.forEach(e=>n.removeEventListener(e,this,Xd)),this._pointerUpEventsRegistered=!1))}};function Gf(o,n,e){let t=Math.max(Math.abs(o-e.left),Math.abs(o-e.right)),i=Math.max(Math.abs(n-e.top),Math.abs(n-e.bottom));return Math.sqrt(t*t+i*i)}var Xr=new A("mat-ripple-global-options"),yo=(()=>{class o{_elementRef=p(j);_animationMode=p(ut,{optional:!0});color;unbounded;centered;radius=0;animation;get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}_disabled=!1;get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}_trigger;_rippleRenderer;_globalOptions;_isInitialized=!1;constructor(){let e=p(W),t=p(Ae),i=p(Xr,{optional:!0}),r=p(Qe);this._globalOptions=i||{},this._rippleRenderer=new Dn(this,e,this._elementRef,t,r)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:k(k(k({},this._globalOptions.animation),this._animationMode==="NoopAnimations"?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,t=0,i){return typeof e=="number"?this._rippleRenderer.fadeInRipple(e,t,k(k({},this.rippleConfig),i)):this._rippleRenderer.fadeInRipple(0,0,k(k({},this.rippleConfig),e))}static \u0275fac=function(t){return new(t||o)};static \u0275dir=$({type:o,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(t,i){t&2&&te("mat-ripple-unbounded",i.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"]})}return o})(),en=(()=>{class o{static \u0275fac=function(t){return new(t||o)};static \u0275mod=Z({type:o});static \u0275inj=X({imports:[ke,ke]})}return o})(),Yf=(()=>{class o{_animationMode=p(ut,{optional:!0});state="unchecked";disabled=!1;appearance="full";constructor(){}static \u0275fac=function(t){return new(t||o)};static \u0275cmp=S({type:o,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(t,i){t&2&&te("mat-pseudo-checkbox-indeterminate",i.state==="indeterminate")("mat-pseudo-checkbox-checked",i.state==="checked")("mat-pseudo-checkbox-disabled",i.disabled)("mat-pseudo-checkbox-minimal",i.appearance==="minimal")("mat-pseudo-checkbox-full",i.appearance==="full")("_mat-animation-noopable",i._animationMode==="NoopAnimations")},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(t,i){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-minimal-pseudo-checkbox-selected-checkmark-color, var(--mat-sys-primary))}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-unselected-icon-color, var(--mat-sys-on-surface-variant));border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-full-pseudo-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-full-pseudo-checkbox-selected-icon-color, var(--mat-sys-primary));border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-full-pseudo-checkbox-selected-checkmark-color, var(--mat-sys-on-primary))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-full-pseudo-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-full-pseudo-checkbox-disabled-selected-checkmark-color, var(--mat-sys-surface))}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0})}return o})(),za=(()=>{class o{static \u0275fac=function(t){return new(t||o)};static \u0275mod=Z({type:o});static \u0275inj=X({imports:[ke]})}return o})(),Va=new A("MAT_OPTION_PARENT_COMPONENT"),Na=new A("MatOptgroup");var La=class{source;isUserInput;constructor(n,e=!1){this.source=n,this.isUserInput=e}},rt=(()=>{class o{_element=p(j);_changeDetectorRef=p(Ye);_parent=p(Va,{optional:!0});group=p(Na,{optional:!0});_signalDisableRipple=!1;_selected=!1;_active=!1;_disabled=!1;_mostRecentViewValue="";get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}value;id=p(vt).getId("mat-option-");get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(e){this._disabled=e}get disableRipple(){return this._signalDisableRipple?this._parent.disableRipple():!!this._parent?.disableRipple}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}onSelectionChange=new H;_text;_stateChanges=new V;constructor(){p(at).load(hi),p(at).load(Fd),this._signalDisableRipple=!!this._parent&&Yi(this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(e=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}deselect(e=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}focus(e,t){let i=this._getHostElement();typeof i.focus=="function"&&i.focus(t)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){(e.keyCode===13||e.keyCode===32)&&!Ut(e)&&(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=this.multiple?!this._selected:!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){let e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=e)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new La(this,e))}static \u0275fac=function(t){return new(t||o)};static \u0275cmp=S({type:o,selectors:[["mat-option"]],viewQuery:function(t,i){if(t&1&&Pe(Lf,7),t&2){let r;J(r=ee())&&(i._text=r.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(t,i){t&1&&g("click",function(){return i._selectViaInteraction()})("keydown",function(s){return i._handleKeydown(s)}),t&2&&(Ii("id",i.id),fe("aria-selected",i.selected)("aria-disabled",i.disabled.toString()),te("mdc-list-item--selected",i.selected)("mat-mdc-option-multiple",i.multiple)("mat-mdc-option-active",i.active)("mdc-list-item--disabled",i.disabled))},inputs:{value:"value",id:"id",disabled:[2,"disabled","disabled",q]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],features:[Fe],ngContentSelectors:Vf,decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(t,i){t&1&&(Te(zf),Y(0,Nf,1,2,"mat-pseudo-checkbox",1),G(1),c(2,"span",2,0),G(4,1),d(),Y(5,Bf,1,1,"mat-pseudo-checkbox",3)(6,Wf,2,1,"span",4),R(7,"div",5)),t&2&&(L(i.multiple?0:-1),h(5),L(!i.multiple&&i.selected&&!i.hideSingleSelectionIndicator?5:-1),h(),L(i.group&&i.group._inert?6:-1),h(),M("matRippleTrigger",i._getHostElement())("matRippleDisabled",i.disabled||i.disableRipple))},dependencies:[Yf,yo],styles:['.mat-mdc-option{-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;min-height:48px;padding:0 16px;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-option-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mat-option-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mat-option-label-text-size, var(--mat-sys-body-large-size));letter-spacing:var(--mat-option-label-text-tracking, var(--mat-sys-label-large-tracking));font-weight:var(--mat-option-label-text-weight, var(--mat-sys-body-large-weight))}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent));outline:0}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color, var(--mat-sys-secondary-container))}.mat-mdc-option .mat-pseudo-checkbox{--mat-minimal-pseudo-checkbox-selected-checkmark-color: var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-option.mdc-list-item{align-items:center;background:rgba(0,0,0,0)}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}@media(forced-colors: active){.mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after{right:auto;left:16px}}.mat-mdc-option-multiple{--mdc-list-list-item-selected-container-color:var(--mdc-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return o})();function tm(o,n,e){if(e.length){let t=n.toArray(),i=e.toArray(),r=0;for(let s=0;se+t?Math.max(0,o-t+n):e}var Ba=(()=>{class o{static \u0275fac=function(t){return new(t||o)};static \u0275mod=Z({type:o});static \u0275inj=X({imports:[en,ke,za]})}return o})(),Qd={capture:!0},Jd=["focus","mousedown","mouseenter","touchstart"],Aa="mat-ripple-loader-uninitialized",Oa="mat-ripple-loader-class-name",em="mat-ripple-loader-centered",Gr="mat-ripple-loader-disabled",nm=(()=>{class o{_document=p(ae,{optional:!0});_animationMode=p(ut,{optional:!0});_globalRippleOptions=p(Xr,{optional:!0});_platform=p(Ae);_ngZone=p(W);_injector=p(Qe);_hosts=new Map;constructor(){this._ngZone.runOutsideAngular(()=>{for(let e of Jd)this._document?.addEventListener(e,this._onInteraction,Qd)})}ngOnDestroy(){let e=this._hosts.keys();for(let t of e)this.destroyRipple(t);for(let t of Jd)this._document?.removeEventListener(t,this._onInteraction,Qd)}configureRipple(e,t){e.setAttribute(Aa,this._globalRippleOptions?.namespace??""),(t.className||!e.hasAttribute(Oa))&&e.setAttribute(Oa,t.className||""),t.centered&&e.setAttribute(em,""),t.disabled&&e.setAttribute(Gr,"")}setDisabled(e,t){let i=this._hosts.get(e);i?(i.target.rippleDisabled=t,!t&&!i.hasSetUpEvents&&(i.hasSetUpEvents=!0,i.renderer.setupTriggerEvents(e))):t?e.setAttribute(Gr,""):e.removeAttribute(Gr)}_onInteraction=e=>{let t=Mt(e);if(t instanceof HTMLElement){let i=t.closest(`[${Aa}="${this._globalRippleOptions?.namespace??""}"]`);i&&this._createRipple(i)}};_createRipple(e){if(!this._document||this._hosts.has(e))return;e.querySelector(".mat-ripple")?.remove();let t=this._document.createElement("span");t.classList.add("mat-ripple",e.getAttribute(Oa)),e.append(t);let i=this._animationMode==="NoopAnimations",r=this._globalRippleOptions,s=i?0:r?.animation?.enterDuration??Yr.enterDuration,a=i?0:r?.animation?.exitDuration??Yr.exitDuration,l={rippleDisabled:i||r?.disabled||e.hasAttribute(Gr),rippleConfig:{centered:e.hasAttribute(em),terminateOnPointerUp:r?.terminateOnPointerUp,animation:{enterDuration:s,exitDuration:a}}},u=new Dn(l,this._ngZone,t,this._platform,this._injector),_=!l.rippleDisabled;_&&u.setupTriggerEvents(e),this._hosts.set(e,{target:l,renderer:u,hasSetUpEvents:_}),e.removeAttribute(Aa)}destroyRipple(e){let t=this._hosts.get(e);t&&(t.renderer._removeTriggerEvents(),this._hosts.delete(e))}static \u0275fac=function(t){return new(t||o)};static \u0275prov=O({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})(),om=(()=>{class o{labelPosition;static \u0275fac=function(t){return new(t||o)};static \u0275cmp=S({type:o,selectors:[["div","mat-internal-form-field",""]],hostAttrs:[1,"mdc-form-field","mat-internal-form-field"],hostVars:2,hostBindings:function(t,i){t&2&&te("mdc-form-field--align-end",i.labelPosition==="before")},inputs:{labelPosition:"labelPosition"},attrs:jf,ngContentSelectors:$f,decls:1,vars:0,template:function(t,i){t&1&&(Te(),G(0))},styles:[".mat-internal-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-flex;align-items:center;vertical-align:middle}.mat-internal-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mat-internal-form-field>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end .mdc-form-field--align-end label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0}"],encapsulation:2,changeDetection:0})}return o})();var rm=(()=>{class o{static \u0275fac=function(t){return new(t||o)};static \u0275mod=Z({type:o});static \u0275inj=X({imports:[ke,ke]})}return o})();var Zr=class{_multiple;_emitChanges;compareWith;_selection=new Set;_deselectedToEmit=[];_selectedToEmit=[];_selected;get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}changed=new V;constructor(n=!1,e,t=!0,i){this._multiple=n,this._emitChanges=t,this.compareWith=i,e&&e.length&&(n?e.forEach(r=>this._markSelected(r)):this._markSelected(e[0]),this._selectedToEmit.length=0)}select(...n){this._verifyValueAssignment(n),n.forEach(t=>this._markSelected(t));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e}deselect(...n){this._verifyValueAssignment(n),n.forEach(t=>this._unmarkSelected(t));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e}setSelection(...n){this._verifyValueAssignment(n);let e=this.selected,t=new Set(n);n.forEach(r=>this._markSelected(r)),e.filter(r=>!t.has(this._getConcreteValue(r,t))).forEach(r=>this._unmarkSelected(r));let i=this._hasQueuedChanges();return this._emitChangeEvent(),i}toggle(n){return this.isSelected(n)?this.deselect(n):this.select(n)}clear(n=!0){this._unmarkAll();let e=this._hasQueuedChanges();return n&&this._emitChangeEvent(),e}isSelected(n){return this._selection.has(this._getConcreteValue(n))}isEmpty(){return this._selection.size===0}hasValue(){return!this.isEmpty()}sort(n){this._multiple&&this.selected&&this._selected.sort(n)}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(n){n=this._getConcreteValue(n),this.isSelected(n)||(this._multiple||this._unmarkAll(),this.isSelected(n)||this._selection.add(n),this._emitChanges&&this._selectedToEmit.push(n))}_unmarkSelected(n){n=this._getConcreteValue(n),this.isSelected(n)&&(this._selection.delete(n),this._emitChanges&&this._deselectedToEmit.push(n))}_unmarkAll(){this.isEmpty()||this._selection.forEach(n=>this._unmarkSelected(n))}_verifyValueAssignment(n){n.length>1&&this._multiple}_hasQueuedChanges(){return!!(this._deselectedToEmit.length||this._selectedToEmit.length)}_getConcreteValue(n,e){if(this.compareWith){e=e??this._selection;for(let t of e)if(this.compareWith(n,t))return t;return n}else return n}};var um=(()=>{class o{_renderer;_elementRef;onChange=e=>{};onTouched=()=>{};constructor(e,t){this._renderer=e,this._elementRef=t}setProperty(e,t){this._renderer.setProperty(this._elementRef.nativeElement,e,t)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}static \u0275fac=function(t){return new(t||o)(Q(Wt),Q(j))};static \u0275dir=$({type:o})}return o})(),pm=(()=>{class o extends um{static \u0275fac=(()=>{let e;return function(i){return(e||(e=He(o)))(i||o)}})();static \u0275dir=$({type:o,features:[Ve]})}return o})(),Io=new A("");var qf={provide:Io,useExisting:Dt(()=>qe),multi:!0};function Xf(){let o=vn()?vn().getUserAgent():"";return/android (\d+)/.test(o.toLowerCase())}var Zf=new A(""),qe=(()=>{class o extends um{_compositionMode;_composing=!1;constructor(e,t,i){super(e,t),this._compositionMode=i,this._compositionMode==null&&(this._compositionMode=!Xf())}writeValue(e){let t=e??"";this.setProperty("value",t)}_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)}static \u0275fac=function(t){return new(t||o)(Q(Wt),Q(j),Q(Zf,8))};static \u0275dir=$({type:o,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(t,i){t&1&&g("input",function(s){return i._handleInput(s.target.value)})("blur",function(){return i.onTouched()})("compositionstart",function(){return i._compositionStart()})("compositionend",function(s){return i._compositionEnd(s.target.value)})},standalone:!1,features:[Ne([qf]),Ve]})}return o})();function Oi(o){return o==null||(typeof o=="string"||Array.isArray(o))&&o.length===0}function fm(o){return o!=null&&typeof o.length=="number"}var nn=new A(""),Ha=new A(""),Kf=/^(?=.{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])?)*$/,Pn=class{static min(n){return gm(n)}static max(n){return _m(n)}static required(n){return Qf(n)}static requiredTrue(n){return Jf(n)}static email(n){return eg(n)}static minLength(n){return tg(n)}static maxLength(n){return ig(n)}static pattern(n){return ng(n)}static nullValidator(n){return Qr(n)}static compose(n){return Cm(n)}static composeAsync(n){return km(n)}};function gm(o){return n=>{if(Oi(n.value)||Oi(o))return null;let e=parseFloat(n.value);return!isNaN(e)&&e{if(Oi(n.value)||Oi(o))return null;let e=parseFloat(n.value);return!isNaN(e)&&e>o?{max:{max:o,actual:n.value}}:null}}function Qf(o){return Oi(o.value)?{required:!0}:null}function Jf(o){return o.value===!0?null:{required:!0}}function eg(o){return Oi(o.value)||Kf.test(o.value)?null:{email:!0}}function tg(o){return n=>Oi(n.value)||!fm(n.value)?null:n.value.lengthfm(n.value)&&n.value.length>o?{maxlength:{requiredLength:o,actualLength:n.value.length}}:null}function ng(o){if(!o)return Qr;let n,e;return typeof o=="string"?(e="",o.charAt(0)!=="^"&&(e+="^"),e+=o,o.charAt(o.length-1)!=="$"&&(e+="$"),n=new RegExp(e)):(e=o.toString(),n=o),t=>{if(Oi(t.value))return null;let i=t.value;return n.test(i)?null:{pattern:{requiredPattern:e,actualValue:i}}}}function Qr(o){return null}function bm(o){return o!=null}function vm(o){return Mr(o)?ct(o):o}function ym(o){let n={};return o.forEach(e=>{n=e!=null?k(k({},n),e):n}),Object.keys(n).length===0?null:n}function xm(o,n){return n.map(e=>e(o))}function og(o){return!o.validate}function wm(o){return o.map(n=>og(n)?n:e=>n.validate(e))}function Cm(o){if(!o)return null;let n=o.filter(bm);return n.length==0?null:function(e){return ym(xm(e,n))}}function Ga(o){return o!=null?Cm(wm(o)):null}function km(o){if(!o)return null;let n=o.filter(bm);return n.length==0?null:function(e){let t=xm(e,n).map(vm);return _r(t).pipe(B(ym))}}function Ya(o){return o!=null?km(wm(o)):null}function sm(o,n){return o===null?[n]:Array.isArray(o)?[...o,n]:[o,n]}function Mm(o){return o._rawValidators}function Im(o){return o._rawAsyncValidators}function Wa(o){return o?Array.isArray(o)?o:[o]:[]}function Jr(o,n){return Array.isArray(o)?o.includes(n):o===n}function am(o,n){let e=Wa(n);return Wa(o).forEach(i=>{Jr(e,i)||e.push(i)}),e}function lm(o,n){return Wa(n).filter(e=>!Jr(o,e))}var es=class{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}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(n){this._rawValidators=n||[],this._composedValidatorFn=Ga(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=Ya(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control&&this.control.reset(n)}hasError(n,e){return this.control?this.control.hasError(n,e):!1}getError(n,e){return this.control?this.control.getError(n,e):null}},tn=class extends es{name;get formDirective(){return null}get path(){return null}},ui=class extends es{_parent=null;name=null;valueAccessor=null},ja=class{_cd;constructor(n){this._cd=n}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}},rg={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},XC=re(k({},rg),{"[class.ng-submitted]":"isSubmitted"}),Me=(()=>{class o extends ja{constructor(e){super(e)}static \u0275fac=function(t){return new(t||o)(Q(ui,2))};static \u0275dir=$({type:o,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,i){t&2&&te("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)},standalone:!1,features:[Ve]})}return o})();var xo="VALID",Kr="INVALID",On="PENDING",wo="DISABLED",Fi=class{},ts=class extends Fi{value;source;constructor(n,e){super(),this.value=n,this.source=e}},ko=class extends Fi{pristine;source;constructor(n,e){super(),this.pristine=n,this.source=e}},Mo=class extends Fi{touched;source;constructor(n,e){super(),this.touched=n,this.source=e}},Fn=class extends Fi{status;source;constructor(n,e){super(),this.status=n,this.source=e}},$a=class extends Fi{source;constructor(n){super(),this.source=n}},Ua=class extends Fi{source;constructor(n){super(),this.source=n}};function Em(o){return(as(o)?o.validators:o)||null}function sg(o){return Array.isArray(o)?Ga(o):o||null}function Sm(o,n){return(as(n)?n.asyncValidators:o)||null}function ag(o){return Array.isArray(o)?Ya(o):o||null}function as(o){return o!=null&&!Array.isArray(o)&&typeof o=="object"}function lg(o,n,e){let t=o.controls;if(!(n?Object.keys(t):t).length)throw new Se(1e3,"");if(!t[e])throw new Se(1001,"")}function cg(o,n,e){o._forEachChild((t,i)=>{if(e[i]===void 0)throw new Se(1002,"")})}var is=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(n,e){this._assignValidators(n),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get status(){return $t(this.statusReactive)}set status(n){$t(()=>this.statusReactive.set(n))}_status=li(()=>this.statusReactive());statusReactive=Mi(void 0);get valid(){return this.status===xo}get invalid(){return this.status===Kr}get pending(){return this.status==On}get disabled(){return this.status===wo}get enabled(){return this.status!==wo}errors;get pristine(){return $t(this.pristineReactive)}set pristine(n){$t(()=>this.pristineReactive.set(n))}_pristine=li(()=>this.pristineReactive());pristineReactive=Mi(!0);get dirty(){return!this.pristine}get touched(){return $t(this.touchedReactive)}set touched(n){$t(()=>this.touchedReactive.set(n))}_touched=li(()=>this.touchedReactive());touchedReactive=Mi(!1);get untouched(){return!this.touched}_events=new V;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(am(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(am(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(lm(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(lm(n,this._rawAsyncValidators))}hasValidator(n){return Jr(this._rawValidators,n)}hasAsyncValidator(n){return Jr(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){let e=this.touched===!1;this.touched=!0;let t=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsTouched(re(k({},n),{sourceControl:t})),e&&n.emitEvent!==!1&&this._events.next(new Mo(!0,t))}markAllAsTouched(n={}){this.markAsTouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsTouched(n))}markAsUntouched(n={}){let e=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let t=n.sourceControl??this;this._forEachChild(i=>{i.markAsUntouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:t})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,t),e&&n.emitEvent!==!1&&this._events.next(new Mo(!1,t))}markAsDirty(n={}){let e=this.pristine===!0;this.pristine=!1;let t=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsDirty(re(k({},n),{sourceControl:t})),e&&n.emitEvent!==!1&&this._events.next(new ko(!1,t))}markAsPristine(n={}){let e=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let t=n.sourceControl??this;this._forEachChild(i=>{i.markAsPristine({onlySelf:!0,emitEvent:n.emitEvent})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n,t),e&&n.emitEvent!==!1&&this._events.next(new ko(!0,t))}markAsPending(n={}){this.status=On;let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new Fn(this.status,e)),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.markAsPending(re(k({},n),{sourceControl:e}))}disable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=wo,this.errors=null,this._forEachChild(i=>{i.disable(re(k({},n),{onlySelf:!0}))}),this._updateValue();let t=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new ts(this.value,t)),this._events.next(new Fn(this.status,t)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(re(k({},n),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(i=>i(!0))}enable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=xo,this._forEachChild(t=>{t.enable(re(k({},n),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors(re(k({},n),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(n,e){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine({},e),this._parent._updateTouched({},e))}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let t=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===xo||this.status===On)&&this._runAsyncValidator(t,n.emitEvent)}let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new ts(this.value,e)),this._events.next(new Fn(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(re(k({},n),{sourceControl:e}))}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?wo:xo}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n,e){if(this.asyncValidator){this.status=On,this._hasOwnPendingAsyncValidator={emitEvent:e!==!1};let t=vm(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(i=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(i,{emitEvent:e,shouldHaveEmitted:n})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let n=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,n}return!1}setErrors(n,e={}){this.errors=n,this._updateControlsErrors(e.emitEvent!==!1,this,e.shouldHaveEmitted)}get(n){let e=n;return e==null||(Array.isArray(e)||(e=e.split(".")),e.length===0)?null:e.reduce((t,i)=>t&&t._find(i),this)}getError(n,e){let t=e?this.get(e):this;return t&&t.errors?t.errors[n]:null}hasError(n,e){return!!this.getError(n,e)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n,e,t){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),(n||t)&&this._events.next(new Fn(this.status,e)),this._parent&&this._parent._updateControlsErrors(n,e,t)}_initObservables(){this.valueChanges=new H,this.statusChanges=new H}_calculateStatus(){return this._allControlsDisabled()?wo:this.errors?Kr:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(On)?On:this._anyControlsHaveStatus(Kr)?Kr:xo}_anyControlsHaveStatus(n){return this._anyControls(e=>e.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n,e){let t=!this._anyControlsDirty(),i=this.pristine!==t;this.pristine=t,this._parent&&!n.onlySelf&&this._parent._updatePristine(n,e),i&&this._events.next(new ko(this.pristine,e))}_updateTouched(n={},e){this.touched=this._anyControlsTouched(),this._events.next(new Mo(this.touched,e)),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,e)}_onDisabledChange=[];_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){as(n)&&n.updateOn!=null&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){let e=this._parent&&this._parent.dirty;return!n&&!!e&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=sg(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=ag(this._rawAsyncValidators)}},ns=class extends is{constructor(n,e,t){super(Em(e),Sm(t,e)),this.controls=n,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(n,e){return this.controls[n]?this.controls[n]:(this.controls[n]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(n,e,t={}){this.registerControl(n,e),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}removeControl(n,e={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(n,e,t={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],e&&this.registerControl(n,e),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,e={}){cg(this,!0,n),Object.keys(n).forEach(t=>{lg(this,!0,t),this.controls[t].setValue(n[t],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(n,e={}){n!=null&&(Object.keys(n).forEach(t=>{let i=this.controls[t];i&&i.patchValue(n[t],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(n={},e={}){this._forEachChild((t,i)=>{t.reset(n?n[i]:null,{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(n,e,t)=>(n[t]=e.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(e,t)=>t._syncPendingControls()?!0:e);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(e=>{let t=this.controls[e];t&&n(t,e)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(let[e,t]of Object.entries(this.controls))if(this.contains(e)&&n(t))return!0;return!1}_reduceValue(){let n={};return this._reduceChildren(n,(e,t,i)=>((t.enabled||this.disabled)&&(e[i]=t.value),e))}_reduceChildren(n,e){let t=n;return this._forEachChild((i,r)=>{t=e(t,i,r)}),t}_allControlsDisabled(){for(let n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}};var ls=new A("CallSetDisabledState",{providedIn:"root",factory:()=>qa}),qa="always";function dg(o,n){return[...n.path,o]}function os(o,n,e=qa){Xa(o,n),n.valueAccessor.writeValue(o.value),(o.disabled||e==="always")&&n.valueAccessor.setDisabledState?.(o.disabled),hg(o,n),pg(o,n),ug(o,n),mg(o,n)}function cm(o,n,e=!0){let t=()=>{};n.valueAccessor&&(n.valueAccessor.registerOnChange(t),n.valueAccessor.registerOnTouched(t)),ss(o,n),o&&(n._invokeOnDestroyCallbacks(),o._registerOnCollectionChange(()=>{}))}function rs(o,n){o.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(n)})}function mg(o,n){if(n.valueAccessor.setDisabledState){let e=t=>{n.valueAccessor.setDisabledState(t)};o.registerOnDisabledChange(e),n._registerOnDestroy(()=>{o._unregisterOnDisabledChange(e)})}}function Xa(o,n){let e=Mm(o);n.validator!==null?o.setValidators(sm(e,n.validator)):typeof e=="function"&&o.setValidators([e]);let t=Im(o);n.asyncValidator!==null?o.setAsyncValidators(sm(t,n.asyncValidator)):typeof t=="function"&&o.setAsyncValidators([t]);let i=()=>o.updateValueAndValidity();rs(n._rawValidators,i),rs(n._rawAsyncValidators,i)}function ss(o,n){let e=!1;if(o!==null){if(n.validator!==null){let i=Mm(o);if(Array.isArray(i)&&i.length>0){let r=i.filter(s=>s!==n.validator);r.length!==i.length&&(e=!0,o.setValidators(r))}}if(n.asyncValidator!==null){let i=Im(o);if(Array.isArray(i)&&i.length>0){let r=i.filter(s=>s!==n.asyncValidator);r.length!==i.length&&(e=!0,o.setAsyncValidators(r))}}}let t=()=>{};return rs(n._rawValidators,t),rs(n._rawAsyncValidators,t),e}function hg(o,n){n.valueAccessor.registerOnChange(e=>{o._pendingValue=e,o._pendingChange=!0,o._pendingDirty=!0,o.updateOn==="change"&&Tm(o,n)})}function ug(o,n){n.valueAccessor.registerOnTouched(()=>{o._pendingTouched=!0,o.updateOn==="blur"&&o._pendingChange&&Tm(o,n),o.updateOn!=="submit"&&o.markAsTouched()})}function Tm(o,n){o._pendingDirty&&o.markAsDirty(),o.setValue(o._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(o._pendingValue),o._pendingChange=!1}function pg(o,n){let e=(t,i)=>{n.valueAccessor.writeValue(t),i&&n.viewToModelUpdate(t)};o.registerOnChange(e),n._registerOnDestroy(()=>{o._unregisterOnChange(e)})}function Dm(o,n){o==null,Xa(o,n)}function fg(o,n){return ss(o,n)}function gg(o,n){if(!o.hasOwnProperty("model"))return!1;let e=o.model;return e.isFirstChange()?!0:!Object.is(n,e.currentValue)}function _g(o){return Object.getPrototypeOf(o.constructor)===pm}function Rm(o,n){o._syncPendingControls(),n.forEach(e=>{let t=e.control;t.updateOn==="submit"&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function bg(o,n){if(!n)return null;Array.isArray(n);let e,t,i;return n.forEach(r=>{r.constructor===qe?e=r:_g(r)?t=r:i=r}),i||t||e||null}function vg(o,n){let e=o.indexOf(n);e>-1&&o.splice(e,1)}var yg={provide:tn,useExisting:Dt(()=>Eo)},Co=Promise.resolve(),Eo=(()=>{class o extends tn{callSetDisabledState;get submitted(){return $t(this.submittedReactive)}_submitted=li(()=>this.submittedReactive());submittedReactive=Mi(!1);_directives=new Set;form;ngSubmit=new H;options;constructor(e,t,i){super(),this.callSetDisabledState=i,this.form=new ns({},Ga(e),Ya(t))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){Co.then(()=>{let t=this._findContainer(e.path);e.control=t.registerControl(e.name,e.control),os(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){Co.then(()=>{let t=this._findContainer(e.path);t&&t.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){Co.then(()=>{let t=this._findContainer(e.path),i=new ns({});Dm(i,e),t.registerControl(e.name,i),i.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){Co.then(()=>{let t=this._findContainer(e.path);t&&t.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,t){Co.then(()=>{this.form.get(e.path).setValue(t)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submittedReactive.set(!0),Rm(this.form,this._directives),this.ngSubmit.emit(e),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}static \u0275fac=function(t){return new(t||o)(Q(nn,10),Q(Ha,10),Q(ls,8))};static \u0275dir=$({type:o,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(t,i){t&1&&g("submit",function(s){return i.onSubmit(s)})("reset",function(){return i.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[Ne([yg]),Ve]})}return o})();function dm(o,n){let e=o.indexOf(n);e>-1&&o.splice(e,1)}function mm(o){return typeof o=="object"&&o!==null&&Object.keys(o).length===2&&"value"in o&&"disabled"in o}var Am=class extends is{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(n=null,e,t){super(Em(e),Sm(t,e)),this._applyFormState(n),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),as(e)&&(e.nonNullable||e.initialValueIsDefault)&&(mm(n)?this.defaultValue=n.value:this.defaultValue=n)}setValue(n,e={}){this.value=this._pendingValue=n,this._onChange.length&&e.emitModelToViewChange!==!1&&this._onChange.forEach(t=>t(this.value,e.emitViewToModelChange!==!1)),this.updateValueAndValidity(e)}patchValue(n,e={}){this.setValue(n,e)}reset(n=this.defaultValue,e={}){this._applyFormState(n),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){dm(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){dm(this._onDisabledChange,n)}_forEachChild(n){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(n){mm(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}};var xg=o=>o instanceof Am;var wg={provide:ui,useExisting:Dt(()=>xe)},hm=Promise.resolve(),xe=(()=>{class o extends ui{_changeDetectorRef;callSetDisabledState;control=new Am;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new H;constructor(e,t,i,r,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this._parent=e,this._setValidators(t),this._setAsyncValidators(i),this.valueAccessor=bg(this,r)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){let t=e.name.previousValue;this.formDirective.removeControl({name:t,path:this._getPath(t)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),gg(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){os(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(e){hm.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){let t=e.isDisabled.currentValue,i=t!==0&&q(t);hm.then(()=>{i&&!this.control.disabled?this.control.disable():!i&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?dg(e,this._parent):[e]}static \u0275fac=function(t){return new(t||o)(Q(tn,9),Q(nn,10),Q(Ha,10),Q(Io,10),Q(Ye,8),Q(ls,8))};static \u0275dir=$({type:o,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],standalone:!1,features:[Ne([wg]),Ve,ze]})}return o})();var Cg={provide:Io,useExisting:Dt(()=>Ke),multi:!0},Ke=(()=>{class o extends pm{writeValue(e){let t=e??"";this.setProperty("value",t)}registerOnChange(e){this.onChange=t=>{e(t==""?null:parseFloat(t))}}static \u0275fac=(()=>{let e;return function(i){return(e||(e=He(o)))(i||o)}})();static \u0275dir=$({type:o,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(t,i){t&1&&g("input",function(s){return i.onChange(s.target.value)})("blur",function(){return i.onTouched()})},standalone:!1,features:[Ne([Cg]),Ve]})}return o})();var kg={provide:tn,useExisting:Dt(()=>So)},So=(()=>{class o extends tn{callSetDisabledState;get submitted(){return $t(this._submittedReactive)}set submitted(e){this._submittedReactive.set(e)}_submitted=li(()=>this._submittedReactive());_submittedReactive=Mi(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];form=null;ngSubmit=new H;constructor(e,t,i){super(),this.callSetDisabledState=i,this._setValidators(e),this._setAsyncValidators(t)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(ss(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){let t=this.form.get(e.path);return os(t,e,this.callSetDisabledState),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t}getControl(e){return this.form.get(e.path)}removeControl(e){cm(e.control||null,e,!1),vg(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,t){this.form.get(e.path).setValue(t)}onSubmit(e){return this._submittedReactive.set(!0),Rm(this.form,this.directives),this.ngSubmit.emit(e),this.form._events.next(new $a(this.control)),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this._submittedReactive.set(!1),this.form._events.next(new Ua(this.form))}_updateDomValue(){this.directives.forEach(e=>{let t=e.control,i=this.form.get(e.path);t!==i&&(cm(t||null,e),xg(i)&&(os(i,e,this.callSetDisabledState),e.control=i))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){let t=this.form.get(e.path);Dm(t,e),t.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){let t=this.form.get(e.path);t&&fg(t,e)&&t.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Xa(this.form,this),this._oldForm&&ss(this._oldForm,this)}_checkFormPresent(){this.form}static \u0275fac=function(t){return new(t||o)(Q(nn,10),Q(Ha,10),Q(ls,8))};static \u0275dir=$({type:o,selectors:[["","formGroup",""]],hostBindings:function(t,i){t&1&&g("submit",function(s){return i.onSubmit(s)})("reset",function(){return i.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[Ne([kg]),Ve,ze]})}return o})();function Om(o){return typeof o=="number"?o:parseFloat(o)}var Fm=(()=>{class o{_validator=Qr;_onChange;_enabled;ngOnChanges(e){if(this.inputName in e){let t=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(t),this._validator=this._enabled?this.createValidator(t):Qr,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return e!=null}static \u0275fac=function(t){return new(t||o)};static \u0275dir=$({type:o,features:[ze]})}return o})(),Mg={provide:nn,useExisting:Dt(()=>pi),multi:!0},pi=(()=>{class o extends Fm{max;inputName="max";normalizeInput=e=>Om(e);createValidator=e=>_m(e);static \u0275fac=(()=>{let e;return function(i){return(e||(e=He(o)))(i||o)}})();static \u0275dir=$({type:o,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(t,i){t&2&&fe("max",i._enabled?i.max:null)},inputs:{max:"max"},standalone:!1,features:[Ne([Mg]),Ve]})}return o})(),Ig={provide:nn,useExisting:Dt(()=>fi),multi:!0},fi=(()=>{class o extends Fm{min;inputName="min";normalizeInput=e=>Om(e);createValidator=e=>gm(e);static \u0275fac=(()=>{let e;return function(i){return(e||(e=He(o)))(i||o)}})();static \u0275dir=$({type:o,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(t,i){t&2&&fe("min",i._enabled?i.min:null)},inputs:{min:"min"},standalone:!1,features:[Ne([Ig]),Ve]})}return o})();var Eg=(()=>{class o{static \u0275fac=function(t){return new(t||o)};static \u0275mod=Z({type:o});static \u0275inj=X({})}return o})();var Ie=(()=>{class o{static withConfig(e){return{ngModule:o,providers:[{provide:ls,useValue:e.callSetDisabledState??qa}]}}static \u0275fac=function(t){return new(t||o)};static \u0275mod=Z({type:o});static \u0275inj=X({imports:[Eg]})}return o})();var Sg=["*"],Tg='.mdc-list{margin:0;padding:8px 0;list-style-type:none}.mdc-list:focus{outline:none}.mdc-list-item{display:flex;position:relative;justify-content:flex-start;overflow:hidden;padding:0;align-items:stretch;cursor:pointer;padding-left:16px;padding-right:16px;background-color:var(--mdc-list-list-item-container-color, transparent);border-radius:var(--mdc-list-list-item-container-shape, var(--mat-sys-corner-none))}.mdc-list-item.mdc-list-item--selected{background-color:var(--mdc-list-list-item-selected-container-color)}.mdc-list-item:focus{outline:0}.mdc-list-item.mdc-list-item--disabled{cursor:auto}.mdc-list-item.mdc-list-item--with-one-line{height:var(--mdc-list-list-item-one-line-container-height, 48px)}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__start{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines{height:var(--mdc-list-list-item-two-line-container-height, 64px)}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-three-lines{height:var(--mdc-list-list-item-three-line-container-height, 88px)}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--selected::before,.mdc-list-item.mdc-list-item--selected:focus::before,.mdc-list-item:not(.mdc-list-item--selected):focus::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;content:"";pointer-events:none}a.mdc-list-item{color:inherit;text-decoration:none}.mdc-list-item__start{fill:currentColor;flex-shrink:0;pointer-events:none}.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-leading-icon-color, var(--mat-sys-on-surface-variant));width:var(--mdc-list-list-item-leading-icon-size, 24px);height:var(--mdc-list-list-item-leading-icon-size, 24px);margin-left:16px;margin-right:32px}[dir=rtl] .mdc-list-item--with-leading-icon .mdc-list-item__start{margin-left:32px;margin-right:16px}.mdc-list-item--with-leading-icon:hover .mdc-list-item__start{color:var(--mdc-list-list-item-hover-leading-icon-color)}.mdc-list-item--with-leading-avatar .mdc-list-item__start{width:var(--mdc-list-list-item-leading-avatar-size, 40px);height:var(--mdc-list-list-item-leading-avatar-size, 40px);margin-left:16px;margin-right:16px;border-radius:50%}.mdc-list-item--with-leading-avatar .mdc-list-item__start,[dir=rtl] .mdc-list-item--with-leading-avatar .mdc-list-item__start{margin-left:16px;margin-right:16px;border-radius:50%}.mdc-list-item__end{flex-shrink:0;pointer-events:none}.mdc-list-item--with-trailing-meta .mdc-list-item__end{font-family:var(--mdc-list-list-item-trailing-supporting-text-font, var(--mat-sys-label-small-font));line-height:var(--mdc-list-list-item-trailing-supporting-text-line-height, var(--mat-sys-label-small-line-height));font-size:var(--mdc-list-list-item-trailing-supporting-text-size, var(--mat-sys-label-small-size));font-weight:var(--mdc-list-list-item-trailing-supporting-text-weight, var(--mat-sys-label-small-weight));letter-spacing:var(--mdc-list-list-item-trailing-supporting-text-tracking, var(--mat-sys-label-small-tracking))}.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-icon-color, var(--mat-sys-on-surface-variant));width:var(--mdc-list-list-item-trailing-icon-size, 24px);height:var(--mdc-list-list-item-trailing-icon-size, 24px)}.mdc-list-item--with-trailing-icon:hover .mdc-list-item__end{color:var(--mdc-list-list-item-hover-trailing-icon-color)}.mdc-list-item.mdc-list-item--with-trailing-meta .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-supporting-text-color, var(--mat-sys-on-surface-variant))}.mdc-list-item--selected.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-selected-trailing-icon-color, var(--mat-sys-primary))}.mdc-list-item__content{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;align-self:center;flex:1;pointer-events:none}.mdc-list-item--with-two-lines .mdc-list-item__content,.mdc-list-item--with-three-lines .mdc-list-item__content{align-self:stretch}.mdc-list-item__primary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;color:var(--mdc-list-list-item-label-text-color, var(--mat-sys-on-surface));font-family:var(--mdc-list-list-item-label-text-font, var(--mat-sys-body-large-font));line-height:var(--mdc-list-list-item-label-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mdc-list-list-item-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mdc-list-list-item-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mdc-list-list-item-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-list-item:hover .mdc-list-item__primary-text{color:var(--mdc-list-list-item-hover-label-text-color, var(--mat-sys-on-surface))}.mdc-list-item:focus .mdc-list-item__primary-text{color:var(--mdc-list-list-item-focus-label-text-color, var(--mat-sys-on-surface))}.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item__secondary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;margin-top:0;color:var(--mdc-list-list-item-supporting-text-color, var(--mat-sys-on-surface-variant));font-family:var(--mdc-list-list-item-supporting-text-font, var(--mat-sys-body-medium-font));line-height:var(--mdc-list-list-item-supporting-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mdc-list-list-item-supporting-text-size, var(--mat-sys-body-medium-size));font-weight:var(--mdc-list-list-item-supporting-text-weight, var(--mat-sys-body-medium-weight));letter-spacing:var(--mdc-list-list-item-supporting-text-tracking, var(--mat-sys-body-medium-tracking))}.mdc-list-item__secondary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__secondary-text{white-space:normal;line-height:20px}.mdc-list-item--with-overline .mdc-list-item__secondary-text{white-space:nowrap;line-height:auto}.mdc-list-item--with-leading-radio.mdc-list-item,.mdc-list-item--with-leading-checkbox.mdc-list-item,.mdc-list-item--with-leading-icon.mdc-list-item,.mdc-list-item--with-leading-avatar.mdc-list-item{padding-left:0;padding-right:16px}[dir=rtl] .mdc-list-item--with-leading-radio.mdc-list-item,[dir=rtl] .mdc-list-item--with-leading-checkbox.mdc-list-item,[dir=rtl] .mdc-list-item--with-leading-icon.mdc-list-item,[dir=rtl] .mdc-list-item--with-leading-avatar.mdc-list-item{padding-left:16px;padding-right:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-trailing-icon.mdc-list-item,[dir=rtl] .mdc-list-item--with-trailing-icon.mdc-list-item{padding-left:0;padding-right:0}.mdc-list-item--with-trailing-icon .mdc-list-item__end{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-meta.mdc-list-item{padding-left:16px;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-meta.mdc-list-item{padding-left:0;padding-right:16px}.mdc-list-item--with-trailing-meta .mdc-list-item__end{-webkit-user-select:none;user-select:none;margin-left:28px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-meta .mdc-list-item__end{margin-left:16px;margin-right:28px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end,.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{display:block;line-height:normal;align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end::before,.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio .mdc-list-item__start,.mdc-list-item--with-leading-checkbox .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-radio .mdc-list-item__start,[dir=rtl] .mdc-list-item--with-leading-checkbox .mdc-list-item__start{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__start,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-radio.mdc-list-item,.mdc-list-item--with-trailing-checkbox.mdc-list-item{padding-left:16px;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item,[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item{padding-left:0;padding-right:16px}.mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-icon,.mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-avatar,.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-icon,.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-avatar{padding-left:0}[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-icon,[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-avatar,[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-icon,[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-avatar{padding-right:0}.mdc-list-item--with-trailing-radio .mdc-list-item__end,.mdc-list-item--with-trailing-checkbox .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-radio .mdc-list-item__end,[dir=rtl] .mdc-list-item--with-trailing-checkbox .mdc-list-item__end{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-radio.mdc-list-item--with-three-lines .mdc-list-item__end,.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-group__subheader{margin:.75rem 16px}.mdc-list-item--disabled .mdc-list-item__start,.mdc-list-item--disabled .mdc-list-item__content,.mdc-list-item--disabled .mdc-list-item__end{opacity:1}.mdc-list-item--disabled .mdc-list-item__primary-text,.mdc-list-item--disabled .mdc-list-item__secondary-text{opacity:var(--mdc-list-list-item-disabled-label-text-opacity, 0.3)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-disabled-leading-icon-color, var(--mat-sys-on-surface));opacity:var(--mdc-list-list-item-disabled-leading-icon-opacity, 0.38)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-disabled-trailing-icon-color, var(--mat-sys-on-surface));opacity:var(--mdc-list-list-item-disabled-trailing-icon-opacity, 0.38)}.mat-mdc-list-item.mat-mdc-list-item-both-leading-and-trailing,[dir=rtl] .mat-mdc-list-item.mat-mdc-list-item-both-leading-and-trailing{padding-left:0;padding-right:0}.mdc-list-item.mdc-list-item--disabled .mdc-list-item__primary-text{color:var(--mdc-list-list-item-disabled-label-text-color, var(--mat-sys-on-surface))}.mdc-list-item:hover::before{background-color:var(--mdc-list-list-item-hover-state-layer-color, var(--mat-sys-on-surface));opacity:var(--mdc-list-list-item-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mdc-list-item.mdc-list-item--disabled::before{background-color:var(--mdc-list-list-item-disabled-state-layer-color, var(--mat-sys-on-surface));opacity:var(--mdc-list-list-item-disabled-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mdc-list-item:focus::before{background-color:var(--mdc-list-list-item-focus-state-layer-color, var(--mat-sys-on-surface));opacity:var(--mdc-list-list-item-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mdc-list-item--disabled .mdc-radio,.mdc-list-item--disabled .mdc-checkbox{opacity:var(--mdc-list-list-item-disabled-label-text-opacity, 0.3)}.mdc-list-item--with-leading-avatar .mat-mdc-list-item-avatar{border-radius:var(--mdc-list-list-item-leading-avatar-shape, var(--mat-sys-corner-full));background-color:var(--mdc-list-list-item-leading-avatar-color, var(--mat-sys-primary-container))}.mat-mdc-list-item-icon{font-size:var(--mdc-list-list-item-leading-icon-size, 24px)}@media(forced-colors: active){a.mdc-list-item--activated::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}a.mdc-list-item--activated [dir=rtl]::after{right:auto;left:16px}}.mat-mdc-list-base{display:block}.mat-mdc-list-base .mdc-list-item__start,.mat-mdc-list-base .mdc-list-item__end,.mat-mdc-list-base .mdc-list-item__content{pointer-events:auto}.mat-mdc-list-item,.mat-mdc-list-option{width:100%;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-list-item:not(.mat-mdc-list-item-interactive),.mat-mdc-list-option:not(.mat-mdc-list-item-interactive){cursor:default}.mat-mdc-list-item .mat-divider-inset,.mat-mdc-list-option .mat-divider-inset{position:absolute;left:0;right:0;bottom:0}.mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,.mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-left:72px}[dir=rtl] .mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,[dir=rtl] .mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-right:72px}.mat-mdc-list-item-interactive::before{top:0;left:0;right:0;bottom:0;position:absolute;content:"";opacity:0;pointer-events:none;border-radius:inherit}.mat-mdc-list-item>.mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-list-item:focus>.mat-focus-indicator::before{content:""}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-line.mdc-list-item__secondary-text{white-space:nowrap;line-height:normal}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-unscoped-content.mdc-list-item__secondary-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:start}mat-action-list button::-moz-focus-inner{border:0}.mdc-list-item--with-leading-icon .mdc-list-item__start{margin-inline-start:var(--mat-list-list-item-leading-icon-start-space, 16px);margin-inline-end:var(--mat-list-list-item-leading-icon-end-space, 16px)}.mat-mdc-nav-list .mat-mdc-list-item{border-radius:var(--mat-list-active-indicator-shape, var(--mat-sys-corner-full));--mat-focus-indicator-border-radius:var(--mat-list-active-indicator-shape, var(--mat-sys-corner-full))}.mat-mdc-nav-list .mat-mdc-list-item.mdc-list-item--activated{background-color:var(--mat-list-active-indicator-color, var(--mat-sys-secondary-container))}',Dg=["unscopedContent"],Rg=["text"],Ag=[[["","matListItemAvatar",""],["","matListItemIcon",""]],[["","matListItemTitle",""]],[["","matListItemLine",""]],"*",[["","matListItemMeta",""]],[["mat-divider"]]],Og=["[matListItemAvatar],[matListItemIcon]","[matListItemTitle]","[matListItemLine]","*","[matListItemMeta]","mat-divider"];var Fg=new A("ListOption"),Pg=(()=>{class o{_elementRef=p(j);constructor(){}static \u0275fac=function(t){return new(t||o)};static \u0275dir=$({type:o,selectors:[["","matListItemTitle",""]],hostAttrs:[1,"mat-mdc-list-item-title","mdc-list-item__primary-text"]})}return o})(),Lg=(()=>{class o{_elementRef=p(j);constructor(){}static \u0275fac=function(t){return new(t||o)};static \u0275dir=$({type:o,selectors:[["","matListItemLine",""]],hostAttrs:[1,"mat-mdc-list-item-line","mdc-list-item__secondary-text"]})}return o})(),zg=(()=>{class o{static \u0275fac=function(t){return new(t||o)};static \u0275dir=$({type:o,selectors:[["","matListItemMeta",""]],hostAttrs:[1,"mat-mdc-list-item-meta","mdc-list-item__end"]})}return o})(),Pm=(()=>{class o{_listOption=p(Fg,{optional:!0});constructor(){}_isAlignedAtStart(){return!this._listOption||this._listOption?._getTogglePosition()==="after"}static \u0275fac=function(t){return new(t||o)};static \u0275dir=$({type:o,hostVars:4,hostBindings:function(t,i){t&2&&te("mdc-list-item__start",i._isAlignedAtStart())("mdc-list-item__end",!i._isAlignedAtStart())}})}return o})(),Vg=(()=>{class o extends Pm{static \u0275fac=(()=>{let e;return function(i){return(e||(e=He(o)))(i||o)}})();static \u0275dir=$({type:o,selectors:[["","matListItemAvatar",""]],hostAttrs:[1,"mat-mdc-list-item-avatar"],features:[Ve]})}return o})(),Ng=(()=>{class o extends Pm{static \u0275fac=(()=>{let e;return function(i){return(e||(e=He(o)))(i||o)}})();static \u0275dir=$({type:o,selectors:[["","matListItemIcon",""]],hostAttrs:[1,"mat-mdc-list-item-icon"],features:[Ve]})}return o})(),Bg=new A("MAT_LIST_CONFIG"),Za=(()=>{class o{_isNonInteractive=!0;get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=At(e)}_disableRipple=!1;get disabled(){return this._disabled}set disabled(e){this._disabled=At(e)}_disabled=!1;_defaultOptions=p(Bg,{optional:!0});static \u0275fac=function(t){return new(t||o)};static \u0275dir=$({type:o,hostVars:1,hostBindings:function(t,i){t&2&&fe("aria-disabled",i.disabled)},inputs:{disableRipple:"disableRipple",disabled:"disabled"}})}return o})(),Wg=(()=>{class o{_elementRef=p(j);_ngZone=p(W);_listBase=p(Za,{optional:!0});_platform=p(Ae);_hostElement;_isButtonElement;_noopAnimations;_avatars;_icons;set lines(e){this._explicitLines=xn(e,null),this._updateItemLines(!1)}_explicitLines=null;get disableRipple(){return this.disabled||this._disableRipple||this._noopAnimations||!!this._listBase?.disableRipple}set disableRipple(e){this._disableRipple=At(e)}_disableRipple=!1;get disabled(){return this._disabled||!!this._listBase?.disabled}set disabled(e){this._disabled=At(e)}_disabled=!1;_subscriptions=new Ue;_rippleRenderer=null;_hasUnscopedTextContent=!1;rippleConfig;get rippleDisabled(){return this.disableRipple||!!this.rippleConfig.disabled}constructor(){p(at).load(hi);let e=p(Xr,{optional:!0}),t=p(ut,{optional:!0});this.rippleConfig=e||{},this._hostElement=this._elementRef.nativeElement,this._isButtonElement=this._hostElement.nodeName.toLowerCase()==="button",this._noopAnimations=t==="NoopAnimations",this._listBase&&!this._listBase._isNonInteractive&&this._initInteractiveListItem(),this._isButtonElement&&!this._hostElement.hasAttribute("type")&&this._hostElement.setAttribute("type","button")}ngAfterViewInit(){this._monitorProjectedLinesAndTitle(),this._updateItemLines(!0)}ngOnDestroy(){this._subscriptions.unsubscribe(),this._rippleRenderer!==null&&this._rippleRenderer._removeTriggerEvents()}_hasIconOrAvatar(){return!!(this._avatars.length||this._icons.length)}_initInteractiveListItem(){this._hostElement.classList.add("mat-mdc-list-item-interactive"),this._rippleRenderer=new Dn(this,this._ngZone,this._hostElement,this._platform,p(Qe)),this._rippleRenderer.setupTriggerEvents(this._hostElement)}_monitorProjectedLinesAndTitle(){this._ngZone.runOutsideAngular(()=>{this._subscriptions.add(dt(this._lines.changes,this._titles.changes).subscribe(()=>this._updateItemLines(!1)))})}_updateItemLines(e){if(!this._lines||!this._titles||!this._unscopedContent)return;e&&this._checkDomForUnscopedTextContent();let t=this._explicitLines??this._inferLinesFromContent(),i=this._unscopedContent.nativeElement;if(this._hostElement.classList.toggle("mat-mdc-list-item-single-line",t<=1),this._hostElement.classList.toggle("mdc-list-item--with-one-line",t<=1),this._hostElement.classList.toggle("mdc-list-item--with-two-lines",t===2),this._hostElement.classList.toggle("mdc-list-item--with-three-lines",t===3),this._hasUnscopedTextContent){let r=this._titles.length===0&&t===1;i.classList.toggle("mdc-list-item__primary-text",r),i.classList.toggle("mdc-list-item__secondary-text",!r)}else i.classList.remove("mdc-list-item__primary-text"),i.classList.remove("mdc-list-item__secondary-text")}_inferLinesFromContent(){let e=this._titles.length+this._lines.length;return this._hasUnscopedTextContent&&(e+=1),e}_checkDomForUnscopedTextContent(){this._hasUnscopedTextContent=Array.from(this._unscopedContent.nativeElement.childNodes).filter(e=>e.nodeType!==e.COMMENT_NODE).some(e=>!!(e.textContent&&e.textContent.trim()))}static \u0275fac=function(t){return new(t||o)};static \u0275dir=$({type:o,contentQueries:function(t,i,r){if(t&1&&(Ge(r,Vg,4),Ge(r,Ng,4)),t&2){let s;J(s=ee())&&(i._avatars=s),J(s=ee())&&(i._icons=s)}},hostVars:4,hostBindings:function(t,i){t&2&&(fe("aria-disabled",i.disabled)("disabled",i._isButtonElement&&i.disabled||null),te("mdc-list-item--disabled",i.disabled))},inputs:{lines:"lines",disableRipple:"disableRipple",disabled:"disabled"}})}return o})();var Lm=(()=>{class o extends Wg{_lines;_titles;_meta;_unscopedContent;_itemText;get activated(){return this._activated}set activated(e){this._activated=At(e)}_activated=!1;_getAriaCurrent(){return this._hostElement.nodeName==="A"&&this._activated?"page":null}_hasBothLeadingAndTrailing(){return this._meta.length!==0&&(this._avatars.length!==0||this._icons.length!==0)}static \u0275fac=(()=>{let e;return function(i){return(e||(e=He(o)))(i||o)}})();static \u0275cmp=S({type:o,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(t,i,r){if(t&1&&(Ge(r,Lg,5),Ge(r,Pg,5),Ge(r,zg,5)),t&2){let s;J(s=ee())&&(i._lines=s),J(s=ee())&&(i._titles=s),J(s=ee())&&(i._meta=s)}},viewQuery:function(t,i){if(t&1&&(Pe(Dg,5),Pe(Rg,5)),t&2){let r;J(r=ee())&&(i._unscopedContent=r.first),J(r=ee())&&(i._itemText=r.first)}},hostAttrs:[1,"mat-mdc-list-item","mdc-list-item"],hostVars:13,hostBindings:function(t,i){t&2&&(fe("aria-current",i._getAriaCurrent()),te("mdc-list-item--activated",i.activated)("mdc-list-item--with-leading-avatar",i._avatars.length!==0)("mdc-list-item--with-leading-icon",i._icons.length!==0)("mdc-list-item--with-trailing-meta",i._meta.length!==0)("mat-mdc-list-item-both-leading-and-trailing",i._hasBothLeadingAndTrailing())("_mat-animation-noopable",i._noopAnimations))},inputs:{activated:"activated"},exportAs:["matListItem"],features:[Ve],ngContentSelectors:Og,decls:10,vars:0,consts:[["unscopedContent",""],[1,"mdc-list-item__content"],[1,"mat-mdc-list-item-unscoped-content",3,"cdkObserveContent"],[1,"mat-focus-indicator"]],template:function(t,i){if(t&1){let r=F();Te(Ag),G(0),c(1,"span",1),G(2,1),G(3,2),c(4,"span",2,0),g("cdkObserveContent",function(){return b(r),v(i._updateItemLines(!0))}),G(6,3),d()(),G(7,4),G(8,5),R(9,"div",3)}},dependencies:[Ld],encapsulation:2,changeDetection:0})}return o})();var zm=(()=>{class o extends Za{_isNonInteractive=!1;static \u0275fac=(()=>{let e;return function(i){return(e||(e=He(o)))(i||o)}})();static \u0275cmp=S({type:o,selectors:[["mat-nav-list"]],hostAttrs:["role","navigation",1,"mat-mdc-nav-list","mat-mdc-list-base","mdc-list"],exportAs:["matNavList"],features:[Ne([{provide:Za,useExisting:o}]),Ve],ngContentSelectors:Sg,decls:1,vars:0,template:function(t,i){t&1&&(Te(),G(0))},styles:[Tg],encapsulation:2,changeDetection:0})}return o})();var Vm=(()=>{class o{static \u0275fac=function(t){return new(t||o)};static \u0275mod=Z({type:o});static \u0275inj=X({imports:[Br,ke,en,za,rm]})}return o})();var oe="primary",Uo=Symbol("RouteTitle"),tl=class{params;constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e[0]:e}return null}getAll(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}};function Wn(o){return new tl(o)}function Ug(o,n,e){let t=e.path.split("/");if(t.length>o.length||e.pathMatch==="full"&&(n.hasChildren()||t.lengtht[r]===i)}else return o===n}function Ym(o){return o.length>0?o[o.length-1]:null}function Pi(o){return Qn(o)?o:Mr(o)?ct(Promise.resolve(o)):N(o)}var Gg={exact:Xm,subset:Zm},qm={exact:Yg,subset:qg,ignored:()=>!0};function Nm(o,n,e){return Gg[e.paths](o.root,n.root,e.matrixParams)&&qm[e.queryParams](o.queryParams,n.queryParams)&&!(e.fragment==="exact"&&o.fragment!==n.fragment)}function Yg(o,n){return ii(o,n)}function Xm(o,n,e){if(!rn(o.segments,n.segments)||!ms(o.segments,n.segments,e)||o.numberOfChildren!==n.numberOfChildren)return!1;for(let t in n.children)if(!o.children[t]||!Xm(o.children[t],n.children[t],e))return!1;return!0}function qg(o,n){return Object.keys(n).length<=Object.keys(o).length&&Object.keys(n).every(e=>Gm(o[e],n[e]))}function Zm(o,n,e){return Km(o,n,n.segments,e)}function Km(o,n,e,t){if(o.segments.length>e.length){let i=o.segments.slice(0,e.length);return!(!rn(i,e)||n.hasChildren()||!ms(i,e,t))}else if(o.segments.length===e.length){if(!rn(o.segments,e)||!ms(o.segments,e,t))return!1;for(let i in n.children)if(!o.children[i]||!Zm(o.children[i],n.children[i],t))return!1;return!0}else{let i=e.slice(0,o.segments.length),r=e.slice(o.segments.length);return!rn(o.segments,i)||!ms(o.segments,i,t)||!o.children[oe]?!1:Km(o.children[oe],n,r,t)}}function ms(o,n,e){return n.every((t,i)=>qm[e](o[i].parameters,t.parameters))}var _i=class{root;queryParams;fragment;_queryParamMap;constructor(n=new Ee([],{}),e={},t=null){this.root=n,this.queryParams=e,this.fragment=t}get queryParamMap(){return this._queryParamMap??=Wn(this.queryParams),this._queryParamMap}toString(){return Kg.serialize(this)}},Ee=class{segments;children;parent=null;constructor(n,e){this.segments=n,this.children=e,Object.values(e).forEach(t=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return hs(this)}},on=class{path;parameters;_parameterMap;constructor(n,e){this.path=n,this.parameters=e}get parameterMap(){return this._parameterMap??=Wn(this.parameters),this._parameterMap}toString(){return Jm(this)}};function Xg(o,n){return rn(o,n)&&o.every((e,t)=>ii(e.parameters,n[t].parameters))}function rn(o,n){return o.length!==n.length?!1:o.every((e,t)=>e.path===n[t].path)}function Zg(o,n){let e=[];return Object.entries(o.children).forEach(([t,i])=>{t===oe&&(e=e.concat(n(i,t)))}),Object.entries(o.children).forEach(([t,i])=>{t!==oe&&(e=e.concat(n(i,t)))}),e}var Sl=(()=>{class o{static \u0275fac=function(t){return new(t||o)};static \u0275prov=O({token:o,factory:()=>new Po,providedIn:"root"})}return o})(),Po=class{parse(n){let e=new ol(n);return new _i(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(n){let e=`/${To(n.root,!0)}`,t=e_(n.queryParams),i=typeof n.fragment=="string"?`#${Qg(n.fragment)}`:"";return`${e}${t}${i}`}},Kg=new Po;function hs(o){return o.segments.map(n=>Jm(n)).join("/")}function To(o,n){if(!o.hasChildren())return hs(o);if(n){let e=o.children[oe]?To(o.children[oe],!1):"",t=[];return Object.entries(o.children).forEach(([i,r])=>{i!==oe&&t.push(`${i}:${To(r,!1)}`)}),t.length>0?`${e}(${t.join("//")})`:e}else{let e=Zg(o,(t,i)=>i===oe?[To(o.children[oe],!1)]:[`${i}:${To(t,!1)}`]);return Object.keys(o.children).length===1&&o.children[oe]!=null?`${hs(o)}/${e[0]}`:`${hs(o)}/(${e.join("//")})`}}function Qm(o){return encodeURIComponent(o).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function cs(o){return Qm(o).replace(/%3B/gi,";")}function Qg(o){return encodeURI(o)}function nl(o){return Qm(o).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function us(o){return decodeURIComponent(o)}function Bm(o){return us(o.replace(/\+/g,"%20"))}function Jm(o){return`${nl(o.path)}${Jg(o.parameters)}`}function Jg(o){return Object.entries(o).map(([n,e])=>`;${nl(n)}=${nl(e)}`).join("")}function e_(o){let n=Object.entries(o).map(([e,t])=>Array.isArray(t)?t.map(i=>`${cs(e)}=${cs(i)}`).join("&"):`${cs(e)}=${cs(t)}`).filter(e=>e);return n.length?`?${n.join("&")}`:""}var t_=/^[^\/()?;#]+/;function Ka(o){let n=o.match(t_);return n?n[0]:""}var i_=/^[^\/()?;=#]+/;function n_(o){let n=o.match(i_);return n?n[0]:""}var o_=/^[^=?&#]+/;function r_(o){let n=o.match(o_);return n?n[0]:""}var s_=/^[^&#]+/;function a_(o){let n=o.match(s_);return n?n[0]:""}var ol=class{url;remaining;constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ee([],{}):new Ee([],this.parseChildren())}parseQueryParams(){let n={};if(this.consumeOptional("?"))do this.parseQueryParam(n);while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let t={};return this.peekStartsWith("(")&&(t=this.parseParens(!1)),(n.length>0||Object.keys(e).length>0)&&(t[oe]=new Ee(n,e)),t}parseSegment(){let n=Ka(this.remaining);if(n===""&&this.peekStartsWith(";"))throw new Se(4009,!1);return this.capture(n),new on(us(n),this.parseMatrixParams())}parseMatrixParams(){let n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){let e=n_(this.remaining);if(!e)return;this.capture(e);let t="";if(this.consumeOptional("=")){let i=Ka(this.remaining);i&&(t=i,this.capture(t))}n[us(e)]=us(t)}parseQueryParam(n){let e=r_(this.remaining);if(!e)return;this.capture(e);let t="";if(this.consumeOptional("=")){let s=a_(this.remaining);s&&(t=s,this.capture(t))}let i=Bm(e),r=Bm(t);if(n.hasOwnProperty(i)){let s=n[i];Array.isArray(s)||(s=[s],n[i]=s),s.push(r)}else n[i]=r}parseParens(n){let e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let t=Ka(this.remaining),i=this.remaining[t.length];if(i!=="/"&&i!==")"&&i!==";")throw new Se(4010,!1);let r;t.indexOf(":")>-1?(r=t.slice(0,t.indexOf(":")),this.capture(r),this.capture(":")):n&&(r=oe);let s=this.parseChildren();e[r]=Object.keys(s).length===1?s[oe]:new Ee([],s),this.consumeOptional("//")}return e}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return this.peekStartsWith(n)?(this.remaining=this.remaining.substring(n.length),!0):!1}capture(n){if(!this.consumeOptional(n))throw new Se(4011,!1)}};function eh(o){return o.segments.length>0?new Ee([],{[oe]:o}):o}function th(o){let n={};for(let[t,i]of Object.entries(o.children)){let r=th(i);if(t===oe&&r.segments.length===0&&r.hasChildren())for(let[s,a]of Object.entries(r.children))n[s]=a;else(r.segments.length>0||r.hasChildren())&&(n[t]=r)}let e=new Ee(o.segments,n);return l_(e)}function l_(o){if(o.numberOfChildren===1&&o.children[oe]){let n=o.children[oe];return new Ee(o.segments.concat(n.segments),n.children)}return o}function sn(o){return o instanceof _i}function c_(o,n,e=null,t=null){let i=ih(o);return nh(i,n,e,t)}function ih(o){let n;function e(r){let s={};for(let l of r.children){let u=e(l);s[l.outlet]=u}let a=new Ee(r.url,s);return r===o&&(n=a),a}let t=e(o.root),i=eh(t);return n??i}function nh(o,n,e,t){let i=o;for(;i.parent;)i=i.parent;if(n.length===0)return Qa(i,i,i,e,t);let r=d_(n);if(r.toRoot())return Qa(i,i,new Ee([],{}),e,t);let s=m_(r,i,o),a=s.processChildren?Ao(s.segmentGroup,s.index,r.commands):rh(s.segmentGroup,s.index,r.commands);return Qa(i,s.segmentGroup,a,e,t)}function ps(o){return typeof o=="object"&&o!=null&&!o.outlets&&!o.segmentPath}function Lo(o){return typeof o=="object"&&o!=null&&o.outlets}function Qa(o,n,e,t,i){let r={};t&&Object.entries(t).forEach(([l,u])=>{r[l]=Array.isArray(u)?u.map(_=>`${_}`):`${u}`});let s;o===n?s=e:s=oh(o,n,e);let a=eh(th(s));return new _i(a,r,i)}function oh(o,n,e){let t={};return Object.entries(o.children).forEach(([i,r])=>{r===n?t[i]=e:t[i]=oh(r,n,e)}),new Ee(o.segments,t)}var fs=class{isAbsolute;numberOfDoubleDots;commands;constructor(n,e,t){if(this.isAbsolute=n,this.numberOfDoubleDots=e,this.commands=t,n&&t.length>0&&ps(t[0]))throw new Se(4003,!1);let i=t.find(Lo);if(i&&i!==Ym(t))throw new Se(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function d_(o){if(typeof o[0]=="string"&&o.length===1&&o[0]==="/")return new fs(!0,0,o);let n=0,e=!1,t=o.reduce((i,r,s)=>{if(typeof r=="object"&&r!=null){if(r.outlets){let a={};return Object.entries(r.outlets).forEach(([l,u])=>{a[l]=typeof u=="string"?u.split("/"):u}),[...i,{outlets:a}]}if(r.segmentPath)return[...i,r.segmentPath]}return typeof r!="string"?[...i,r]:s===0?(r.split("/").forEach((a,l)=>{l==0&&a==="."||(l==0&&a===""?e=!0:a===".."?n++:a!=""&&i.push(a))}),i):[...i,r]},[]);return new fs(e,n,t)}var Vn=class{segmentGroup;processChildren;index;constructor(n,e,t){this.segmentGroup=n,this.processChildren=e,this.index=t}};function m_(o,n,e){if(o.isAbsolute)return new Vn(n,!0,0);if(!e)return new Vn(n,!1,NaN);if(e.parent===null)return new Vn(e,!0,0);let t=ps(o.commands[0])?0:1,i=e.segments.length-1+t;return h_(e,i,o.numberOfDoubleDots)}function h_(o,n,e){let t=o,i=n,r=e;for(;r>i;){if(r-=i,t=t.parent,!t)throw new Se(4005,!1);i=t.segments.length}return new Vn(t,!1,i-r)}function u_(o){return Lo(o[0])?o[0].outlets:{[oe]:o}}function rh(o,n,e){if(o??=new Ee([],{}),o.segments.length===0&&o.hasChildren())return Ao(o,n,e);let t=p_(o,n,e),i=e.slice(t.commandIndex);if(t.match&&t.pathIndexr!==oe)&&o.children[oe]&&o.numberOfChildren===1&&o.children[oe].segments.length===0){let r=Ao(o.children[oe],n,e);return new Ee(o.segments,r.children)}return Object.entries(t).forEach(([r,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(i[r]=rh(o.children[r],n,s))}),Object.entries(o.children).forEach(([r,s])=>{t[r]===void 0&&(i[r]=s)}),new Ee(o.segments,i)}}function p_(o,n,e){let t=0,i=n,r={match:!1,pathIndex:0,commandIndex:0};for(;i=e.length)return r;let s=o.segments[i],a=e[t];if(Lo(a))break;let l=`${a}`,u=t0&&l===void 0)break;if(l&&u&&typeof u=="object"&&u.outlets===void 0){if(!jm(l,u,s))return r;t+=2}else{if(!jm(l,{},s))return r;t++}i++}return{match:!0,pathIndex:i,commandIndex:t}}function rl(o,n,e){let t=o.segments.slice(0,n),i=0;for(;i{typeof t=="string"&&(t=[t]),t!==null&&(n[e]=rl(new Ee([],{}),0,t))}),n}function Wm(o){let n={};return Object.entries(o).forEach(([e,t])=>n[e]=`${t}`),n}function jm(o,n,e){return o==e.path&&ii(n,e.parameters)}var Oo="imperative",lt=function(o){return o[o.NavigationStart=0]="NavigationStart",o[o.NavigationEnd=1]="NavigationEnd",o[o.NavigationCancel=2]="NavigationCancel",o[o.NavigationError=3]="NavigationError",o[o.RoutesRecognized=4]="RoutesRecognized",o[o.ResolveStart=5]="ResolveStart",o[o.ResolveEnd=6]="ResolveEnd",o[o.GuardsCheckStart=7]="GuardsCheckStart",o[o.GuardsCheckEnd=8]="GuardsCheckEnd",o[o.RouteConfigLoadStart=9]="RouteConfigLoadStart",o[o.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",o[o.ChildActivationStart=11]="ChildActivationStart",o[o.ChildActivationEnd=12]="ChildActivationEnd",o[o.ActivationStart=13]="ActivationStart",o[o.ActivationEnd=14]="ActivationEnd",o[o.Scroll=15]="Scroll",o[o.NavigationSkipped=16]="NavigationSkipped",o}(lt||{}),Ft=class{id;url;constructor(n,e){this.id=n,this.url=e}},zo=class extends Ft{type=lt.NavigationStart;navigationTrigger;restoredState;constructor(n,e,t="imperative",i=null){super(n,e),this.navigationTrigger=t,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},bi=class extends Ft{urlAfterRedirects;type=lt.NavigationEnd;constructor(n,e,t){super(n,e),this.urlAfterRedirects=t}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},Et=function(o){return o[o.Redirect=0]="Redirect",o[o.SupersededByNewNavigation=1]="SupersededByNewNavigation",o[o.NoDataFromResolver=2]="NoDataFromResolver",o[o.GuardRejected=3]="GuardRejected",o}(Et||{}),sl=function(o){return o[o.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",o[o.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",o}(sl||{}),gi=class extends Ft{reason;code;type=lt.NavigationCancel;constructor(n,e,t,i){super(n,e),this.reason=t,this.code=i}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},an=class extends Ft{reason;code;type=lt.NavigationSkipped;constructor(n,e,t,i){super(n,e),this.reason=t,this.code=i}},Vo=class extends Ft{error;target;type=lt.NavigationError;constructor(n,e,t,i){super(n,e),this.error=t,this.target=i}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},gs=class extends Ft{urlAfterRedirects;state;type=lt.RoutesRecognized;constructor(n,e,t,i){super(n,e),this.urlAfterRedirects=t,this.state=i}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},al=class extends Ft{urlAfterRedirects;state;type=lt.GuardsCheckStart;constructor(n,e,t,i){super(n,e),this.urlAfterRedirects=t,this.state=i}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},ll=class extends Ft{urlAfterRedirects;state;shouldActivate;type=lt.GuardsCheckEnd;constructor(n,e,t,i,r){super(n,e),this.urlAfterRedirects=t,this.state=i,this.shouldActivate=r}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},cl=class extends Ft{urlAfterRedirects;state;type=lt.ResolveStart;constructor(n,e,t,i){super(n,e),this.urlAfterRedirects=t,this.state=i}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},dl=class extends Ft{urlAfterRedirects;state;type=lt.ResolveEnd;constructor(n,e,t,i){super(n,e),this.urlAfterRedirects=t,this.state=i}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},ml=class{route;type=lt.RouteConfigLoadStart;constructor(n){this.route=n}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},hl=class{route;type=lt.RouteConfigLoadEnd;constructor(n){this.route=n}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},ul=class{snapshot;type=lt.ChildActivationStart;constructor(n){this.snapshot=n}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},pl=class{snapshot;type=lt.ChildActivationEnd;constructor(n){this.snapshot=n}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},fl=class{snapshot;type=lt.ActivationStart;constructor(n){this.snapshot=n}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},gl=class{snapshot;type=lt.ActivationEnd;constructor(n){this.snapshot=n}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}};var No=class{},jn=class{url;navigationBehaviorOptions;constructor(n,e){this.url=n,this.navigationBehaviorOptions=e}};function g_(o,n){return o.providers&&!o._injector&&(o._injector=Yc(o.providers,n,`Route: ${o.path}`)),o._injector??n}function Ht(o){return o.outlet||oe}function __(o,n){let e=o.filter(t=>Ht(t)===n);return e.push(...o.filter(t=>Ht(t)!==n)),e}function Ho(o){if(!o)return null;if(o.routeConfig?._injector)return o.routeConfig._injector;for(let n=o.parent;n;n=n.parent){let e=n.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}var _l=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return Ho(this.route?.snapshot)??this.rootInjector}constructor(n){this.rootInjector=n,this.children=new ks(this.rootInjector)}},ks=(()=>{class o{rootInjector;contexts=new Map;constructor(e){this.rootInjector=e}onChildOutletCreated(e,t){let i=this.getOrCreateContext(e);i.outlet=t,this.contexts.set(e,i)}onChildOutletDestroyed(e){let t=this.getContext(e);t&&(t.outlet=null,t.attachRef=null)}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let t=this.getContext(e);return t||(t=new _l(this.rootInjector),this.contexts.set(e,t)),t}getContext(e){return this.contexts.get(e)||null}static \u0275fac=function(t){return new(t||o)(K(Kt))};static \u0275prov=O({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})(),_s=class{_root;constructor(n){this._root=n}get root(){return this._root.value}parent(n){let e=this.pathFromRoot(n);return e.length>1?e[e.length-2]:null}children(n){let e=bl(n,this._root);return e?e.children.map(t=>t.value):[]}firstChild(n){let e=bl(n,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(n){let e=vl(n,this._root);return e.length<2?[]:e[e.length-2].children.map(i=>i.value).filter(i=>i!==n)}pathFromRoot(n){return vl(n,this._root).map(e=>e.value)}};function bl(o,n){if(o===n.value)return n;for(let e of n.children){let t=bl(o,e);if(t)return t}return null}function vl(o,n){if(o===n.value)return[n];for(let e of n.children){let t=vl(o,e);if(t.length)return t.unshift(n),t}return[]}var It=class{value;children;constructor(n,e){this.value=n,this.children=e}toString(){return`TreeNode(${this.value})`}};function zn(o){let n={};return o&&o.children.forEach(e=>n[e.value.outlet]=e),n}var bs=class extends _s{snapshot;constructor(n,e){super(n),this.snapshot=e,Tl(this,n)}toString(){return this.snapshot.toString()}};function sh(o){let n=b_(o),e=new wt([new on("",{})]),t=new wt({}),i=new wt({}),r=new wt({}),s=new wt(""),a=new ln(e,t,r,s,i,oe,o,n.root);return a.snapshot=n.root,new bs(new It(a,[]),n)}function b_(o){let n={},e={},t={},i="",r=new Nn([],n,t,i,e,oe,o,null,{});return new ys("",new It(r,[]))}var ln=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(n,e,t,i,r,s,a,l){this.urlSubject=n,this.paramsSubject=e,this.queryParamsSubject=t,this.fragmentSubject=i,this.dataSubject=r,this.outlet=s,this.component=a,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(B(u=>u[Uo]))??N(void 0),this.url=n,this.params=e,this.queryParams=t,this.fragment=i,this.data=r}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.params.pipe(B(n=>Wn(n))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(B(n=>Wn(n))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function vs(o,n,e="emptyOnly"){let t,{routeConfig:i}=o;return n!==null&&(e==="always"||i?.path===""||!n.component&&!n.routeConfig?.loadComponent)?t={params:k(k({},n.params),o.params),data:k(k({},n.data),o.data),resolve:k(k(k(k({},o.data),n.data),i?.data),o._resolvedData)}:t={params:k({},o.params),data:k({},o.data),resolve:k(k({},o.data),o._resolvedData??{})},i&&lh(i)&&(t.resolve[Uo]=i.title),t}var Nn=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[Uo]}constructor(n,e,t,i,r,s,a,l,u){this.url=n,this.params=e,this.queryParams=t,this.fragment=i,this.data=r,this.outlet=s,this.component=a,this.routeConfig=l,this._resolve=u}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??=Wn(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Wn(this.queryParams),this._queryParamMap}toString(){let n=this.url.map(t=>t.toString()).join("/"),e=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${n}', path:'${e}')`}},ys=class extends _s{url;constructor(n,e){super(e),this.url=n,Tl(this,e)}toString(){return ah(this._root)}};function Tl(o,n){n.value._routerState=o,n.children.forEach(e=>Tl(o,e))}function ah(o){let n=o.children.length>0?` { ${o.children.map(ah).join(", ")} } `:"";return`${o.value}${n}`}function Ja(o){if(o.snapshot){let n=o.snapshot,e=o._futureSnapshot;o.snapshot=e,ii(n.queryParams,e.queryParams)||o.queryParamsSubject.next(e.queryParams),n.fragment!==e.fragment&&o.fragmentSubject.next(e.fragment),ii(n.params,e.params)||o.paramsSubject.next(e.params),Hg(n.url,e.url)||o.urlSubject.next(e.url),ii(n.data,e.data)||o.dataSubject.next(e.data)}else o.snapshot=o._futureSnapshot,o.dataSubject.next(o._futureSnapshot.data)}function yl(o,n){let e=ii(o.params,n.params)&&Xg(o.url,n.url),t=!o.parent!=!n.parent;return e&&!t&&(!o.parent||yl(o.parent,n.parent))}function lh(o){return typeof o.title=="string"||o.title===null}var v_=new A(""),Dl=(()=>{class o{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=oe;activateEvents=new H;deactivateEvents=new H;attachEvents=new H;detachEvents=new H;routerOutletData=Fc(void 0);parentContexts=p(ks);location=p(Qt);changeDetector=p(Ye);inputBinder=p(Rl,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(e){if(e.name){let{firstChange:t,previousValue:i}=e.name;if(t)return;this.isTrackedInParentContexts(i)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(i)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let e=this.parentContexts.getContext(this.name);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 Se(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Se(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Se(4012,!1);this.location.detach();let e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,t){this.activated=e,this._activatedRoute=t,this.location.insert(e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){let e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,t){if(this.isActivated)throw new Se(4013,!1);this._activatedRoute=e;let i=this.location,s=e.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,l=new xl(e,a,i.injector,this.routerOutletData);this.activated=i.createComponent(s,{index:i.length,injector:l,environmentInjector:t}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(t){return new(t||o)};static \u0275dir=$({type:o,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[ze]})}return o})(),xl=class o{route;childContexts;parent;outletData;__ngOutletInjector(n){return new o(this.route,this.childContexts,n,this.outletData)}constructor(n,e,t,i){this.route=n,this.childContexts=e,this.parent=t,this.outletData=i}get(n,e){return n===ln?this.route:n===ks?this.childContexts:n===v_?this.outletData:this.parent.get(n,e)}},Rl=new A("");function y_(o,n,e){let t=Bo(o,n._root,e?e._root:void 0);return new bs(t,n)}function Bo(o,n,e){if(e&&o.shouldReuseRoute(n.value,e.value.snapshot)){let t=e.value;t._futureSnapshot=n.value;let i=x_(o,n,e);return new It(t,i)}else{if(o.shouldAttach(n.value)){let r=o.retrieve(n.value);if(r!==null){let s=r.route;return s.value._futureSnapshot=n.value,s.children=n.children.map(a=>Bo(o,a)),s}}let t=w_(n.value),i=n.children.map(r=>Bo(o,r));return new It(t,i)}}function x_(o,n,e){return n.children.map(t=>{for(let i of e.children)if(o.shouldReuseRoute(t.value,i.value.snapshot))return Bo(o,t,i);return Bo(o,t)})}function w_(o){return new ln(new wt(o.url),new wt(o.params),new wt(o.queryParams),new wt(o.fragment),new wt(o.data),o.outlet,o.component,o)}var Wo=class{redirectTo;navigationBehaviorOptions;constructor(n,e){this.redirectTo=n,this.navigationBehaviorOptions=e}},ch="ngNavigationCancelingError";function xs(o,n){let{redirectTo:e,navigationBehaviorOptions:t}=sn(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,i=dh(!1,Et.Redirect);return i.url=e,i.navigationBehaviorOptions=t,i}function dh(o,n){let e=new Error(`NavigationCancelingError: ${o||""}`);return e[ch]=!0,e.cancellationCode=n,e}function C_(o){return mh(o)&&sn(o.url)}function mh(o){return!!o&&o[ch]}var k_=(o,n,e,t)=>B(i=>(new wl(n,i.targetRouterState,i.currentRouterState,e,t).activate(o),i)),wl=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(n,e,t,i,r){this.routeReuseStrategy=n,this.futureState=e,this.currState=t,this.forwardEvent=i,this.inputBindingEnabled=r}activate(n){let e=this.futureState._root,t=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,t,n),Ja(this.futureState.root),this.activateChildRoutes(e,t,n)}deactivateChildRoutes(n,e,t){let i=zn(e);n.children.forEach(r=>{let s=r.value.outlet;this.deactivateRoutes(r,i[s],t),delete i[s]}),Object.values(i).forEach(r=>{this.deactivateRouteAndItsChildren(r,t)})}deactivateRoutes(n,e,t){let i=n.value,r=e?e.value:null;if(i===r)if(i.component){let s=t.getContext(i.outlet);s&&this.deactivateChildRoutes(n,e,s.children)}else this.deactivateChildRoutes(n,e,t);else r&&this.deactivateRouteAndItsChildren(e,t)}deactivateRouteAndItsChildren(n,e){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,e):this.deactivateRouteAndOutlet(n,e)}detachAndStoreRouteSubtree(n,e){let t=e.getContext(n.value.outlet),i=t&&n.value.component?t.children:e,r=zn(n);for(let s of Object.values(r))this.deactivateRouteAndItsChildren(s,i);if(t&&t.outlet){let s=t.outlet.detach(),a=t.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:s,route:n,contexts:a})}}deactivateRouteAndOutlet(n,e){let t=e.getContext(n.value.outlet),i=t&&n.value.component?t.children:e,r=zn(n);for(let s of Object.values(r))this.deactivateRouteAndItsChildren(s,i);t&&(t.outlet&&(t.outlet.deactivate(),t.children.onOutletDeactivated()),t.attachRef=null,t.route=null)}activateChildRoutes(n,e,t){let i=zn(e);n.children.forEach(r=>{this.activateRoutes(r,i[r.value.outlet],t),this.forwardEvent(new gl(r.value.snapshot))}),n.children.length&&this.forwardEvent(new pl(n.value.snapshot))}activateRoutes(n,e,t){let i=n.value,r=e?e.value:null;if(Ja(i),i===r)if(i.component){let s=t.getOrCreateContext(i.outlet);this.activateChildRoutes(n,e,s.children)}else this.activateChildRoutes(n,e,t);else if(i.component){let s=t.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),Ja(a.route.value),this.activateChildRoutes(n,null,s.children)}else s.attachRef=null,s.route=i,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(n,null,s.children)}else this.activateChildRoutes(n,null,t)}},ws=class{path;route;constructor(n){this.path=n,this.route=this.path[this.path.length-1]}},Bn=class{component;route;constructor(n,e){this.component=n,this.route=e}};function M_(o,n,e){let t=o._root,i=n?n._root:null;return Do(t,i,e,[t.value])}function I_(o){let n=o.routeConfig?o.routeConfig.canActivateChild:null;return!n||n.length===0?null:{node:o,guards:n}}function Un(o,n){let e=Symbol(),t=n.get(o,e);return t===e?typeof o=="function"&&!Tc(o)?o:n.get(o):t}function Do(o,n,e,t,i={canDeactivateChecks:[],canActivateChecks:[]}){let r=zn(n);return o.children.forEach(s=>{E_(s,r[s.value.outlet],e,t.concat([s.value]),i),delete r[s.value.outlet]}),Object.entries(r).forEach(([s,a])=>Fo(a,e.getContext(s),i)),i}function E_(o,n,e,t,i={canDeactivateChecks:[],canActivateChecks:[]}){let r=o.value,s=n?n.value:null,a=e?e.getContext(o.value.outlet):null;if(s&&r.routeConfig===s.routeConfig){let l=S_(s,r,r.routeConfig.runGuardsAndResolvers);l?i.canActivateChecks.push(new ws(t)):(r.data=s.data,r._resolvedData=s._resolvedData),r.component?Do(o,n,a?a.children:null,t,i):Do(o,n,e,t,i),l&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new Bn(a.outlet.component,s))}else s&&Fo(n,a,i),i.canActivateChecks.push(new ws(t)),r.component?Do(o,null,a?a.children:null,t,i):Do(o,null,e,t,i);return i}function S_(o,n,e){if(typeof e=="function")return e(o,n);switch(e){case"pathParamsChange":return!rn(o.url,n.url);case"pathParamsOrQueryParamsChange":return!rn(o.url,n.url)||!ii(o.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!yl(o,n)||!ii(o.queryParams,n.queryParams);case"paramsChange":default:return!yl(o,n)}}function Fo(o,n,e){let t=zn(o),i=o.value;Object.entries(t).forEach(([r,s])=>{i.component?n?Fo(s,n.children.getContext(r),e):Fo(s,null,e):Fo(s,n,e)}),i.component?n&&n.outlet&&n.outlet.isActivated?e.canDeactivateChecks.push(new Bn(n.outlet.component,i)):e.canDeactivateChecks.push(new Bn(null,i)):e.canDeactivateChecks.push(new Bn(null,i))}function Go(o){return typeof o=="function"}function T_(o){return typeof o=="boolean"}function D_(o){return o&&Go(o.canLoad)}function R_(o){return o&&Go(o.canActivate)}function A_(o){return o&&Go(o.canActivateChild)}function O_(o){return o&&Go(o.canDeactivate)}function F_(o){return o&&Go(o.canMatch)}function hh(o){return o instanceof kc||o?.name==="EmptyError"}var ds=Symbol("INITIAL_VALUE");function $n(){return je(o=>Jn(o.map(n=>n.pipe(mt(1),ht(ds)))).pipe(B(n=>{for(let e of n)if(e!==!0){if(e===ds)return ds;if(e===!1||P_(e))return e}return!0}),De(n=>n!==ds),mt(1)))}function P_(o){return sn(o)||o instanceof Wo}function L_(o,n){return Tt(e=>{let{targetSnapshot:t,currentSnapshot:i,guards:{canActivateChecks:r,canDeactivateChecks:s}}=e;return s.length===0&&r.length===0?N(re(k({},e),{guardsResult:!0})):z_(s,t,i,o).pipe(Tt(a=>a&&T_(a)?V_(t,r,o,n):N(a)),B(a=>re(k({},e),{guardsResult:a})))})}function z_(o,n,e,t){return ct(o).pipe(Tt(i=>$_(i.component,i.route,e,n,t)),si(i=>i!==!0,!0))}function V_(o,n,e,t){return ct(n).pipe(Bi(i=>gr(B_(i.route.parent,t),N_(i.route,t),j_(o,i.path,e),W_(o,i.route,e))),si(i=>i!==!0,!0))}function N_(o,n){return o!==null&&n&&n(new fl(o)),N(!0)}function B_(o,n){return o!==null&&n&&n(new ul(o)),N(!0)}function W_(o,n,e){let t=n.routeConfig?n.routeConfig.canActivate:null;if(!t||t.length===0)return N(!0);let i=t.map(r=>eo(()=>{let s=Ho(n)??e,a=Un(r,s),l=R_(a)?a.canActivate(n,o):Nt(s,()=>a(n,o));return Pi(l).pipe(si())}));return N(i).pipe($n())}function j_(o,n,e){let t=n[n.length-1],r=n.slice(0,n.length-1).reverse().map(s=>I_(s)).filter(s=>s!==null).map(s=>eo(()=>{let a=s.guards.map(l=>{let u=Ho(s.node)??e,_=Un(l,u),y=A_(_)?_.canActivateChild(t,o):Nt(u,()=>_(t,o));return Pi(y).pipe(si())});return N(a).pipe($n())}));return N(r).pipe($n())}function $_(o,n,e,t,i){let r=n&&n.routeConfig?n.routeConfig.canDeactivate:null;if(!r||r.length===0)return N(!0);let s=r.map(a=>{let l=Ho(n)??i,u=Un(a,l),_=O_(u)?u.canDeactivate(o,n,e,t):Nt(l,()=>u(o,n,e,t));return Pi(_).pipe(si())});return N(s).pipe($n())}function U_(o,n,e,t){let i=n.canLoad;if(i===void 0||i.length===0)return N(!0);let r=i.map(s=>{let a=Un(s,o),l=D_(a)?a.canLoad(n,e):Nt(o,()=>a(n,e));return Pi(l)});return N(r).pipe($n(),uh(t))}function uh(o){return Cc($e(n=>{if(typeof n!="boolean")throw xs(o,n)}),B(n=>n===!0))}function H_(o,n,e,t){let i=n.canMatch;if(!i||i.length===0)return N(!0);let r=i.map(s=>{let a=Un(s,o),l=F_(a)?a.canMatch(n,e):Nt(o,()=>a(n,e));return Pi(l)});return N(r).pipe($n(),uh(t))}var jo=class{segmentGroup;constructor(n){this.segmentGroup=n||null}},$o=class extends Error{urlTree;constructor(n){super(),this.urlTree=n}};function Ln(o){return Ni(new jo(o))}function G_(o){return Ni(new Se(4e3,!1))}function Y_(o){return Ni(dh(!1,Et.GuardRejected))}var Cl=class{urlSerializer;urlTree;constructor(n,e){this.urlSerializer=n,this.urlTree=e}lineralizeSegments(n,e){let t=[],i=e.root;for(;;){if(t=t.concat(i.segments),i.numberOfChildren===0)return N(t);if(i.numberOfChildren>1||!i.children[oe])return G_(`${n.redirectTo}`);i=i.children[oe]}}applyRedirectCommands(n,e,t,i,r){if(typeof e!="string"){let a=e,{queryParams:l,fragment:u,routeConfig:_,url:y,outlet:I,params:E,data:D,title:T}=i,z=Nt(r,()=>a({params:E,data:D,queryParams:l,fragment:u,routeConfig:_,url:y,outlet:I,title:T}));if(z instanceof _i)throw new $o(z);e=z}let s=this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),n,t);if(e[0]==="/")throw new $o(s);return s}applyRedirectCreateUrlTree(n,e,t,i){let r=this.createSegmentGroup(n,e.root,t,i);return new _i(r,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(n,e){let t={};return Object.entries(n).forEach(([i,r])=>{if(typeof r=="string"&&r[0]===":"){let a=r.substring(1);t[i]=e[a]}else t[i]=r}),t}createSegmentGroup(n,e,t,i){let r=this.createSegments(n,e.segments,t,i),s={};return Object.entries(e.children).forEach(([a,l])=>{s[a]=this.createSegmentGroup(n,l,t,i)}),new Ee(r,s)}createSegments(n,e,t,i){return e.map(r=>r.path[0]===":"?this.findPosParam(n,r,i):this.findOrReturn(r,t))}findPosParam(n,e,t){let i=t[e.path.substring(1)];if(!i)throw new Se(4001,!1);return i}findOrReturn(n,e){let t=0;for(let i of e){if(i.path===n.path)return e.splice(t),i;t++}return n}},kl={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function q_(o,n,e,t,i){let r=ph(o,n,e);return r.matched?(t=g_(n,t),H_(t,n,e,i).pipe(B(s=>s===!0?r:k({},kl)))):N(r)}function ph(o,n,e){if(n.path==="**")return X_(e);if(n.path==="")return n.pathMatch==="full"&&(o.hasChildren()||e.length>0)?k({},kl):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};let i=(n.matcher||Ug)(e,o,n);if(!i)return k({},kl);let r={};Object.entries(i.posParams??{}).forEach(([a,l])=>{r[a]=l.path});let s=i.consumed.length>0?k(k({},r),i.consumed[i.consumed.length-1].parameters):r;return{matched:!0,consumedSegments:i.consumed,remainingSegments:e.slice(i.consumed.length),parameters:s,positionalParamSegments:i.posParams??{}}}function X_(o){return{matched:!0,parameters:o.length>0?Ym(o).parameters:{},consumedSegments:o,remainingSegments:[],positionalParamSegments:{}}}function $m(o,n,e,t){return e.length>0&&Q_(o,e,t)?{segmentGroup:new Ee(n,K_(t,new Ee(e,o.children))),slicedSegments:[]}:e.length===0&&J_(o,e,t)?{segmentGroup:new Ee(o.segments,Z_(o,e,t,o.children)),slicedSegments:e}:{segmentGroup:new Ee(o.segments,o.children),slicedSegments:e}}function Z_(o,n,e,t){let i={};for(let r of e)if(Ms(o,n,r)&&!t[Ht(r)]){let s=new Ee([],{});i[Ht(r)]=s}return k(k({},t),i)}function K_(o,n){let e={};e[oe]=n;for(let t of o)if(t.path===""&&Ht(t)!==oe){let i=new Ee([],{});e[Ht(t)]=i}return e}function Q_(o,n,e){return e.some(t=>Ms(o,n,t)&&Ht(t)!==oe)}function J_(o,n,e){return e.some(t=>Ms(o,n,t))}function Ms(o,n,e){return(o.hasChildren()||n.length>0)&&e.pathMatch==="full"?!1:e.path===""}function eb(o,n,e){return n.length===0&&!o.children[e]}var Ml=class{};function tb(o,n,e,t,i,r,s="emptyOnly"){return new Il(o,n,e,t,i,s,r).recognize()}var ib=31,Il=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(n,e,t,i,r,s,a){this.injector=n,this.configLoader=e,this.rootComponentType=t,this.config=i,this.urlTree=r,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new Cl(this.urlSerializer,this.urlTree)}noMatchError(n){return new Se(4002,`'${n.segmentGroup}'`)}recognize(){let n=$m(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(n).pipe(B(({children:e,rootSnapshot:t})=>{let i=new It(t,e),r=new ys("",i),s=c_(t,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,r.url=this.urlSerializer.serialize(s),{state:r,tree:s}}))}match(n){let e=new Nn([],Object.freeze({}),Object.freeze(k({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),oe,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,n,oe,e).pipe(B(t=>({children:t,rootSnapshot:e})),wi(t=>{if(t instanceof $o)return this.urlTree=t.urlTree,this.match(t.urlTree.root);throw t instanceof jo?this.noMatchError(t):t}))}processSegmentGroup(n,e,t,i,r){return t.segments.length===0&&t.hasChildren()?this.processChildren(n,e,t,r):this.processSegment(n,e,t,t.segments,i,!0,r).pipe(B(s=>s instanceof It?[s]:[]))}processChildren(n,e,t,i){let r=[];for(let s of Object.keys(t.children))s==="primary"?r.unshift(s):r.push(s);return ct(r).pipe(Bi(s=>{let a=t.children[s],l=__(e,s);return this.processSegmentGroup(n,l,a,s,i)}),Ic((s,a)=>(s.push(...a),s)),$s(null),Mc(),Tt(s=>{if(s===null)return Ln(t);let a=fh(s);return nb(a),N(a)}))}processSegment(n,e,t,i,r,s,a){return ct(e).pipe(Bi(l=>this.processSegmentAgainstRoute(l._injector??n,e,l,t,i,r,s,a).pipe(wi(u=>{if(u instanceof jo)return N(null);throw u}))),si(l=>!!l),wi(l=>{if(hh(l))return eb(t,i,r)?N(new Ml):Ln(t);throw l}))}processSegmentAgainstRoute(n,e,t,i,r,s,a,l){return Ht(t)!==s&&(s===oe||!Ms(i,r,t))?Ln(i):t.redirectTo===void 0?this.matchSegmentAgainstRoute(n,i,t,r,s,l):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(n,i,e,t,r,s,l):Ln(i)}expandSegmentAgainstRouteUsingRedirect(n,e,t,i,r,s,a){let{matched:l,parameters:u,consumedSegments:_,positionalParamSegments:y,remainingSegments:I}=ph(e,i,r);if(!l)return Ln(e);typeof i.redirectTo=="string"&&i.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>ib&&(this.allowRedirects=!1));let E=new Nn(r,u,Object.freeze(k({},this.urlTree.queryParams)),this.urlTree.fragment,Um(i),Ht(i),i.component??i._loadedComponent??null,i,Hm(i)),D=vs(E,a,this.paramsInheritanceStrategy);E.params=Object.freeze(D.params),E.data=Object.freeze(D.data);let T=this.applyRedirects.applyRedirectCommands(_,i.redirectTo,y,E,n);return this.applyRedirects.lineralizeSegments(i,T).pipe(Tt(z=>this.processSegment(n,t,e,z.concat(I),s,!1,a)))}matchSegmentAgainstRoute(n,e,t,i,r,s){let a=q_(e,t,i,n,this.urlSerializer);return t.path==="**"&&(e.children={}),a.pipe(je(l=>l.matched?(n=t._injector??n,this.getChildConfig(n,t,i).pipe(je(({routes:u})=>{let _=t._loadedInjector??n,{parameters:y,consumedSegments:I,remainingSegments:E}=l,D=new Nn(I,y,Object.freeze(k({},this.urlTree.queryParams)),this.urlTree.fragment,Um(t),Ht(t),t.component??t._loadedComponent??null,t,Hm(t)),T=vs(D,s,this.paramsInheritanceStrategy);D.params=Object.freeze(T.params),D.data=Object.freeze(T.data);let{segmentGroup:z,slicedSegments:Le}=$m(e,I,E,u);if(Le.length===0&&z.hasChildren())return this.processChildren(_,u,z,D).pipe(B(we=>new It(D,we)));if(u.length===0&&Le.length===0)return N(new It(D,[]));let ot=Ht(t)===r;return this.processSegment(_,u,z,Le,ot?oe:r,!0,D).pipe(B(we=>new It(D,we instanceof It?[we]:[])))}))):Ln(e)))}getChildConfig(n,e,t){return e.children?N({routes:e.children,injector:n}):e.loadChildren?e._loadedRoutes!==void 0?N({routes:e._loadedRoutes,injector:e._loadedInjector}):U_(n,e,t,this.urlSerializer).pipe(Tt(i=>i?this.configLoader.loadChildren(n,e).pipe($e(r=>{e._loadedRoutes=r.routes,e._loadedInjector=r.injector})):Y_(e))):N({routes:[],injector:n})}};function nb(o){o.sort((n,e)=>n.value.outlet===oe?-1:e.value.outlet===oe?1:n.value.outlet.localeCompare(e.value.outlet))}function ob(o){let n=o.value.routeConfig;return n&&n.path===""}function fh(o){let n=[],e=new Set;for(let t of o){if(!ob(t)){n.push(t);continue}let i=n.find(r=>t.value.routeConfig===r.value.routeConfig);i!==void 0?(i.children.push(...t.children),e.add(i)):n.push(t)}for(let t of e){let i=fh(t.children);n.push(new It(t.value,i))}return n.filter(t=>!e.has(t))}function Um(o){return o.data||{}}function Hm(o){return o.resolve||{}}function rb(o,n,e,t,i,r){return Tt(s=>tb(o,n,e,t,s.extractedUrl,i,r).pipe(B(({state:a,tree:l})=>re(k({},s),{targetSnapshot:a,urlAfterRedirects:l}))))}function sb(o,n){return Tt(e=>{let{targetSnapshot:t,guards:{canActivateChecks:i}}=e;if(!i.length)return N(e);let r=new Set(i.map(l=>l.route)),s=new Set;for(let l of r)if(!s.has(l))for(let u of gh(l))s.add(u);let a=0;return ct(s).pipe(Bi(l=>r.has(l)?ab(l,t,o,n):(l.data=vs(l,l.parent,o).resolve,N(void 0))),$e(()=>a++),Hs(1),Tt(l=>a===s.size?N(e):Zt))})}function gh(o){let n=o.children.map(e=>gh(e)).flat();return[o,...n]}function ab(o,n,e,t){let i=o.routeConfig,r=o._resolve;return i?.title!==void 0&&!lh(i)&&(r[Uo]=i.title),lb(r,o,n,t).pipe(B(s=>(o._resolvedData=s,o.data=vs(o,o.parent,e).resolve,null)))}function lb(o,n,e,t){let i=il(o);if(i.length===0)return N({});let r={};return ct(i).pipe(Tt(s=>cb(o[s],n,e,t).pipe(si(),$e(a=>{if(a instanceof Wo)throw xs(new Po,a);r[s]=a}))),Hs(1),vr(r),wi(s=>hh(s)?Zt:Ni(s)))}function cb(o,n,e,t){let i=Ho(n)??t,r=Un(o,i),s=r.resolve?r.resolve(n,e):Nt(i,()=>r(n,e));return Pi(s)}function el(o){return je(n=>{let e=o(n);return e?ct(e).pipe(B(()=>n)):N(n)})}var _h=(()=>{class o{buildTitle(e){let t,i=e.root;for(;i!==void 0;)t=this.getResolvedTitleForRoute(i)??t,i=i.children.find(r=>r.outlet===oe);return t}getResolvedTitleForRoute(e){return e.data[Uo]}static \u0275fac=function(t){return new(t||o)};static \u0275prov=O({token:o,factory:()=>p(db),providedIn:"root"})}return o})(),db=(()=>{class o extends _h{title;constructor(e){super(),this.title=e}updateTitle(e){let t=this.buildTitle(e);t!==void 0&&this.title.setTitle(t)}static \u0275fac=function(t){return new(t||o)(K(Rd))};static \u0275prov=O({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})(),Al=new A("",{providedIn:"root",factory:()=>({})}),mb=(()=>{class o{static \u0275fac=function(t){return new(t||o)};static \u0275cmp=S({type:o,selectors:[["ng-component"]],decls:1,vars:0,template:function(t,i){t&1&&R(0,"router-outlet")},dependencies:[Dl],encapsulation:2})}return o})();function Ol(o){let n=o.children&&o.children.map(Ol),e=n?re(k({},o),{children:n}):k({},o);return!e.component&&!e.loadComponent&&(n||e.loadChildren)&&e.outlet&&e.outlet!==oe&&(e.component=mb),e}var Fl=new A(""),hb=(()=>{class o{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=p(na);loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return N(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);let t=Pi(e.loadComponent()).pipe(B(bh),$e(r=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=r}),ki(()=>{this.componentLoaders.delete(e)})),i=new pr(t,()=>new V).pipe(Ns());return this.componentLoaders.set(e,i),i}loadChildren(e,t){if(this.childrenLoaders.get(t))return this.childrenLoaders.get(t);if(t._loadedRoutes)return N({routes:t._loadedRoutes,injector:t._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(t);let r=ub(t,this.compiler,e,this.onLoadEndListener).pipe(ki(()=>{this.childrenLoaders.delete(t)})),s=new pr(r,()=>new V).pipe(Ns());return this.childrenLoaders.set(t,s),s}static \u0275fac=function(t){return new(t||o)};static \u0275prov=O({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();function ub(o,n,e,t){return Pi(o.loadChildren()).pipe(B(bh),Tt(i=>i instanceof Gc||Array.isArray(i)?N(i):ct(n.compileModuleAsync(i))),B(i=>{t&&t(o);let r,s,a=!1;return Array.isArray(i)?(s=i,a=!0):(r=i.create(e).injector,s=r.get(Fl,[],{optional:!0,self:!0}).flat()),{routes:s.map(Ol),injector:r}}))}function pb(o){return o&&typeof o=="object"&&"default"in o}function bh(o){return pb(o)?o.default:o}var Pl=(()=>{class o{static \u0275fac=function(t){return new(t||o)};static \u0275prov=O({token:o,factory:()=>p(fb),providedIn:"root"})}return o})(),fb=(()=>{class o{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,t){return e}static \u0275fac=function(t){return new(t||o)};static \u0275prov=O({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})(),gb=new A("");var _b=new A(""),bb=(()=>{class o{currentNavigation=null;currentTransition=null;lastSuccessfulNavigation=null;events=new V;transitionAbortSubject=new V;configLoader=p(hb);environmentInjector=p(Kt);urlSerializer=p(Sl);rootContexts=p(ks);location=p(yn);inputBindingEnabled=p(Rl,{optional:!0})!==null;titleStrategy=p(_h);options=p(Al,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=p(Pl);createViewTransition=p(gb,{optional:!0});navigationErrorHandler=p(_b,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>N(void 0);rootComponentType=null;constructor(){let e=i=>this.events.next(new ml(i)),t=i=>this.events.next(new hl(i));this.configLoader.onLoadEndListener=t,this.configLoader.onLoadStartListener=e}complete(){this.transitions?.complete()}handleNavigationRequest(e){let t=++this.navigationId;this.transitions?.next(re(k(k({},this.transitions.value),e),{id:t}))}setupNavigations(e,t,i){return this.transitions=new wt({id:0,currentUrlTree:t,currentRawUrl:t,extractedUrl:this.urlHandlingStrategy.extract(t),urlAfterRedirects:this.urlHandlingStrategy.extract(t),rawUrl:t,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:Oo,restoredState:null,currentSnapshot:i.snapshot,targetSnapshot:null,currentRouterState:i,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(De(r=>r.id!==0),B(r=>re(k({},r),{extractedUrl:this.urlHandlingStrategy.extract(r.rawUrl)})),je(r=>{let s=!1,a=!1;return N(r).pipe(je(l=>{if(this.navigationId>r.id)return this.cancelNavigationTransition(r,"",Et.SupersededByNewNavigation),Zt;this.currentTransition=r,this.currentNavigation={id:l.id,initialUrl:l.rawUrl,extractedUrl:l.extractedUrl,targetBrowserUrl:typeof l.extras.browserUrl=="string"?this.urlSerializer.parse(l.extras.browserUrl):l.extras.browserUrl,trigger:l.source,extras:l.extras,previousNavigation:this.lastSuccessfulNavigation?re(k({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let u=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),_=l.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!u&&_!=="reload"){let y="";return this.events.next(new an(l.id,this.urlSerializer.serialize(l.rawUrl),y,sl.IgnoredSameUrlNavigation)),l.resolve(!1),Zt}if(this.urlHandlingStrategy.shouldProcessUrl(l.rawUrl))return N(l).pipe(je(y=>{let I=this.transitions?.getValue();return this.events.next(new zo(y.id,this.urlSerializer.serialize(y.extractedUrl),y.source,y.restoredState)),I!==this.transitions?.getValue()?Zt:Promise.resolve(y)}),rb(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy),$e(y=>{r.targetSnapshot=y.targetSnapshot,r.urlAfterRedirects=y.urlAfterRedirects,this.currentNavigation=re(k({},this.currentNavigation),{finalUrl:y.urlAfterRedirects});let I=new gs(y.id,this.urlSerializer.serialize(y.extractedUrl),this.urlSerializer.serialize(y.urlAfterRedirects),y.targetSnapshot);this.events.next(I)}));if(u&&this.urlHandlingStrategy.shouldProcessUrl(l.currentRawUrl)){let{id:y,extractedUrl:I,source:E,restoredState:D,extras:T}=l,z=new zo(y,this.urlSerializer.serialize(I),E,D);this.events.next(z);let Le=sh(this.rootComponentType).snapshot;return this.currentTransition=r=re(k({},l),{targetSnapshot:Le,urlAfterRedirects:I,extras:re(k({},T),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=I,N(r)}else{let y="";return this.events.next(new an(l.id,this.urlSerializer.serialize(l.extractedUrl),y,sl.IgnoredByUrlHandlingStrategy)),l.resolve(!1),Zt}}),$e(l=>{let u=new al(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(u)}),B(l=>(this.currentTransition=r=re(k({},l),{guards:M_(l.targetSnapshot,l.currentSnapshot,this.rootContexts)}),r)),L_(this.environmentInjector,l=>this.events.next(l)),$e(l=>{if(r.guardsResult=l.guardsResult,l.guardsResult&&typeof l.guardsResult!="boolean")throw xs(this.urlSerializer,l.guardsResult);let u=new ll(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot,!!l.guardsResult);this.events.next(u)}),De(l=>l.guardsResult?!0:(this.cancelNavigationTransition(l,"",Et.GuardRejected),!1)),el(l=>{if(l.guards.canActivateChecks.length)return N(l).pipe($e(u=>{let _=new cl(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(_)}),je(u=>{let _=!1;return N(u).pipe(sb(this.paramsInheritanceStrategy,this.environmentInjector),$e({next:()=>_=!0,complete:()=>{_||this.cancelNavigationTransition(u,"",Et.NoDataFromResolver)}}))}),$e(u=>{let _=new dl(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(_)}))}),el(l=>{let u=_=>{let y=[];_.routeConfig?.loadComponent&&!_.routeConfig._loadedComponent&&y.push(this.configLoader.loadComponent(_.routeConfig).pipe($e(I=>{_.component=I}),B(()=>{})));for(let I of _.children)y.push(...u(I));return y};return Jn(u(l.targetSnapshot.root)).pipe($s(null),mt(1))}),el(()=>this.afterPreactivation()),je(()=>{let{currentSnapshot:l,targetSnapshot:u}=r,_=this.createViewTransition?.(this.environmentInjector,l.root,u.root);return _?ct(_).pipe(B(()=>r)):N(r)}),B(l=>{let u=y_(e.routeReuseStrategy,l.targetSnapshot,l.currentRouterState);return this.currentTransition=r=re(k({},l),{targetRouterState:u}),this.currentNavigation.targetRouterState=u,r}),$e(()=>{this.events.next(new No)}),k_(this.rootContexts,e.routeReuseStrategy,l=>this.events.next(l),this.inputBindingEnabled),mt(1),$e({next:l=>{s=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new bi(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects))),this.titleStrategy?.updateTitle(l.targetRouterState.snapshot),l.resolve(!0)},complete:()=>{s=!0}}),Ce(this.transitionAbortSubject.pipe($e(l=>{throw l}))),ki(()=>{!s&&!a&&this.cancelNavigationTransition(r,"",Et.SupersededByNewNavigation),this.currentTransition?.id===r.id&&(this.currentNavigation=null,this.currentTransition=null)}),wi(l=>{if(a=!0,mh(l))this.events.next(new gi(r.id,this.urlSerializer.serialize(r.extractedUrl),l.message,l.cancellationCode)),C_(l)?this.events.next(new jn(l.url,l.navigationBehaviorOptions)):r.resolve(!1);else{let u=new Vo(r.id,this.urlSerializer.serialize(r.extractedUrl),l,r.targetSnapshot??void 0);try{let _=Nt(this.environmentInjector,()=>this.navigationErrorHandler?.(u));if(_ instanceof Wo){let{message:y,cancellationCode:I}=xs(this.urlSerializer,_);this.events.next(new gi(r.id,this.urlSerializer.serialize(r.extractedUrl),y,I)),this.events.next(new jn(_.redirectTo,_.navigationBehaviorOptions))}else throw this.events.next(u),l}catch(_){this.options.resolveNavigationPromiseOnError?r.resolve(!1):r.reject(_)}}return Zt}))}))}cancelNavigationTransition(e,t,i){let r=new gi(e.id,this.urlSerializer.serialize(e.extractedUrl),t,i);this.events.next(r),e.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let e=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),t=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return e.toString()!==t?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static \u0275fac=function(t){return new(t||o)};static \u0275prov=O({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();function vb(o){return o!==Oo}var yb=(()=>{class o{static \u0275fac=function(t){return new(t||o)};static \u0275prov=O({token:o,factory:()=>p(xb),providedIn:"root"})}return o})(),El=class{shouldDetach(n){return!1}store(n,e){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,e){return n.routeConfig===e.routeConfig}},xb=(()=>{class o extends El{static \u0275fac=(()=>{let e;return function(i){return(e||(e=He(o)))(i||o)}})();static \u0275prov=O({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})(),vh=(()=>{class o{static \u0275fac=function(t){return new(t||o)};static \u0275prov=O({token:o,factory:()=>p(wb),providedIn:"root"})}return o})(),wb=(()=>{class o extends vh{location=p(yn);urlSerializer=p(Sl);options=p(Al,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";urlHandlingStrategy=p(Pl);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new _i;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}routerState=sh(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(t=>{t.type==="popstate"&&e(t.url,t.state)})}handleRouterEvent(e,t){if(e instanceof zo)this.stateMemento=this.createStateMemento();else if(e instanceof an)this.rawUrlTree=t.initialUrl;else if(e instanceof gs){if(this.urlUpdateStrategy==="eager"&&!t.extras.skipLocationChange){let i=this.urlHandlingStrategy.merge(t.finalUrl,t.initialUrl);this.setBrowserUrl(t.targetBrowserUrl??i,t)}}else e instanceof No?(this.currentUrlTree=t.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(t.finalUrl,t.initialUrl),this.routerState=t.targetRouterState,this.urlUpdateStrategy==="deferred"&&!t.extras.skipLocationChange&&this.setBrowserUrl(t.targetBrowserUrl??this.rawUrlTree,t)):e instanceof gi&&(e.code===Et.GuardRejected||e.code===Et.NoDataFromResolver)?this.restoreHistory(t):e instanceof Vo?this.restoreHistory(t,!0):e instanceof bi&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,t){let i=e instanceof _i?this.urlSerializer.serialize(e):e;if(this.location.isCurrentPathEqualTo(i)||t.extras.replaceUrl){let r=this.browserPageId,s=k(k({},t.extras.state),this.generateNgRouterState(t.id,r));this.location.replaceState(i,"",s)}else{let r=k(k({},t.extras.state),this.generateNgRouterState(t.id,this.browserPageId+1));this.location.go(i,"",r)}}restoreHistory(e,t=!1){if(this.canceledNavigationResolution==="computed"){let i=this.browserPageId,r=this.currentPageId-i;r!==0?this.location.historyGo(r):this.currentUrlTree===e.finalUrl&&r===0&&(this.resetState(e),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(t&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,t){return this.canceledNavigationResolution==="computed"?{navigationId:e,\u0275routerPageId:t}:{navigationId:e}}static \u0275fac=(()=>{let e;return function(i){return(e||(e=He(o)))(i||o)}})();static \u0275prov=O({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})(),Ro=function(o){return o[o.COMPLETE=0]="COMPLETE",o[o.FAILED=1]="FAILED",o[o.REDIRECTING=2]="REDIRECTING",o}(Ro||{});function Cb(o,n){o.events.pipe(De(e=>e instanceof bi||e instanceof gi||e instanceof Vo||e instanceof an),B(e=>e instanceof bi||e instanceof an?Ro.COMPLETE:(e instanceof gi?e.code===Et.Redirect||e.code===Et.SupersededByNewNavigation:!1)?Ro.REDIRECTING:Ro.FAILED),De(e=>e!==Ro.REDIRECTING),mt(1)).subscribe(()=>{n()})}var kb={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Mb={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Is=(()=>{class o{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=p(kr);stateManager=p(vh);options=p(Al,{optional:!0})||{};pendingTasks=p(xr);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=p(bb);urlSerializer=p(Sl);location=p(yn);urlHandlingStrategy=p(Pl);_events=new V;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=p(yb);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=p(Fl,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!p(Rl,{optional:!0});constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:e=>{this.console.warn(e)}}),this.subscribeToNavigationEvents()}eventsSubscription=new Ue;subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(t=>{try{let i=this.navigationTransitions.currentTransition,r=this.navigationTransitions.currentNavigation;if(i!==null&&r!==null){if(this.stateManager.handleRouterEvent(t,r),t instanceof gi&&t.code!==Et.Redirect&&t.code!==Et.SupersededByNewNavigation)this.navigated=!0;else if(t instanceof bi)this.navigated=!0;else if(t instanceof jn){let s=t.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(t.url,i.currentRawUrl),l=k({browserUrl:i.extras.browserUrl,info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:i.extras.replaceUrl||this.urlUpdateStrategy==="eager"||vb(i.source)},s);this.scheduleNavigation(a,Oo,null,l,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}Eb(t)&&this._events.next(t)}catch(i){this.navigationTransitions.transitionAbortSubject.next(i)}});this.eventsSubscription.add(e)}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Oo,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,t)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(e,"popstate",t)},0)})}navigateToSyncWithBrowser(e,t,i){let r={replaceUrl:!0},s=i?.navigationId?i:null;if(i){let l=k({},i);delete l.navigationId,delete l.\u0275routerPageId,Object.keys(l).length!==0&&(r.state=l)}let a=this.parseUrl(e);this.scheduleNavigation(a,t,s,r)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(Ol),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(e,t={}){let{relativeTo:i,queryParams:r,fragment:s,queryParamsHandling:a,preserveFragment:l}=t,u=l?this.currentUrlTree.fragment:s,_=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":_=k(k({},this.currentUrlTree.queryParams),r);break;case"preserve":_=this.currentUrlTree.queryParams;break;default:_=r||null}_!==null&&(_=this.removeEmptyProps(_));let y;try{let I=i?i.snapshot:this.routerState.snapshot.root;y=ih(I)}catch{(typeof e[0]!="string"||e[0][0]!=="/")&&(e=[]),y=this.currentUrlTree.root}return nh(y,e,_,u??null)}navigateByUrl(e,t={skipLocationChange:!1}){let i=sn(e)?e:this.parseUrl(e),r=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(r,Oo,null,t)}navigate(e,t={skipLocationChange:!1}){return Ib(e),this.navigateByUrl(this.createUrlTree(e,t),t)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch{return this.urlSerializer.parse("/")}}isActive(e,t){let i;if(t===!0?i=k({},kb):t===!1?i=k({},Mb):i=t,sn(e))return Nm(this.currentUrlTree,e,i);let r=this.parseUrl(e);return Nm(this.currentUrlTree,r,i)}removeEmptyProps(e){return Object.entries(e).reduce((t,[i,r])=>(r!=null&&(t[i]=r),t),{})}scheduleNavigation(e,t,i,r,s){if(this.disposed)return Promise.resolve(!1);let a,l,u;s?(a=s.resolve,l=s.reject,u=s.promise):u=new Promise((y,I)=>{a=y,l=I});let _=this.pendingTasks.add();return Cb(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(_))}),this.navigationTransitions.handleNavigationRequest({source:t,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:r,resolve:a,reject:l,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(y=>Promise.reject(y))}static \u0275fac=function(t){return new(t||o)};static \u0275prov=O({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();function Ib(o){for(let n=0;n{class o{router;route;tabIndexAttribute;renderer;el;locationStrategy;href=null;target;queryParams;fragment;queryParamsHandling;state;info;relativeTo;isAnchorElement;subscription;onChanges=new V;constructor(e,t,i,r,s,a){this.router=e,this.route=t,this.tabIndexAttribute=i,this.renderer=r,this.el=s,this.locationStrategy=a;let l=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement=l==="a"||l==="area",this.isAnchorElement?this.subscription=e.events.subscribe(u=>{u instanceof bi&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}preserveFragment=!1;skipLocationChange=!1;replaceUrl=!1;setTabIndexIfNotOnNativeEl(e){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}routerLinkInput=null;set routerLink(e){e==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(sn(e)?this.routerLinkInput=e:this.routerLinkInput=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0"))}onClick(e,t,i,r,s){let a=this.urlTree;if(a===null||this.isAnchorElement&&(e!==0||t||i||r||s||typeof this.target=="string"&&this.target!="_self"))return!0;let l={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(a,l),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let e=this.urlTree;this.href=e!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(e)):null;let t=this.href===null?null:Uc(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",t)}applyAttributeValue(e,t){let i=this.renderer,r=this.el.nativeElement;t!==null?i.setAttribute(r,e,t):i.removeAttribute(r,e)}get urlTree(){return this.routerLinkInput===null?null:sn(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static \u0275fac=function(t){return new(t||o)(Q(Is),Q(ln),Ac("tabindex"),Q(Wt),Q(j),Q(oa))};static \u0275dir=$({type:o,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(t,i){t&1&&g("click",function(s){return i.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),t&2&&fe("target",i.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",q],skipLocationChange:[2,"skipLocationChange","skipLocationChange",q],replaceUrl:[2,"replaceUrl","replaceUrl",q],routerLink:"routerLink"},features:[Fe,ze]})}return o})(),yh=(()=>{class o{router;element;renderer;cdr;link;links;classes=[];routerEventsSubscription;linkInputChangesSubscription;_isActive=!1;get isActive(){return this._isActive}routerLinkActiveOptions={exact:!1};ariaCurrentWhenActive;isActiveChange=new H;constructor(e,t,i,r,s){this.router=e,this.element=t,this.renderer=i,this.cdr=r,this.link=s,this.routerEventsSubscription=e.events.subscribe(a=>{a instanceof bi&&this.update()})}ngAfterContentInit(){N(this.links.changes,N(null)).pipe(Bs()).subscribe(e=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let e=[...this.links.toArray(),this.link].filter(t=>!!t).map(t=>t.onChanges);this.linkInputChangesSubscription=ct(e).pipe(Bs()).subscribe(t=>{this._isActive!==this.isLinkActive(this.router)(t)&&this.update()})}set routerLinkActive(e){let t=Array.isArray(e)?e:e.split(" ");this.classes=t.filter(i=>!!i)}ngOnChanges(e){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let e=this.hasActiveLinks();this.classes.forEach(t=>{e?this.renderer.addClass(this.element.nativeElement,t):this.renderer.removeClass(this.element.nativeElement,t)}),e&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==e&&(this._isActive=e,this.cdr.markForCheck(),this.isActiveChange.emit(e))})}isLinkActive(e){let t=Sb(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return i=>{let r=i.urlTree;return r?e.isActive(r,t):!1}}hasActiveLinks(){let e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.links.some(e)}static \u0275fac=function(t){return new(t||o)(Q(Is),Q(j),Q(Wt),Q(Ye),Q(Cs,8))};static \u0275dir=$({type:o,selectors:[["","routerLinkActive",""]],contentQueries:function(t,i,r){if(t&1&&Ge(r,Cs,5),t&2){let s;J(s=ee())&&(i.links=s)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[ze]})}return o})();function Sb(o){return!!o.paths}var Tb=new A("");function xh(o,...n){return ji([{provide:Fl,multi:!0,useValue:o},[],{provide:ln,useFactory:Db,deps:[Is]},{provide:Ks,multi:!0,useFactory:Rb},n.map(e=>e.\u0275providers)])}function Db(o){return o.routerState.root}function Rb(){let o=p(Qe);return n=>{let e=o.get(ai);if(n!==e.components[0])return;let t=o.get(Is),i=o.get(Ab);o.get(Ob)===1&&t.initialNavigation(),o.get(Fb,null,Ys.Optional)?.setUpPreloading(),o.get(Tb,null,Ys.Optional)?.init(),t.resetRootComponentType(e.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var Ab=new A("",{factory:()=>new V}),Ob=new A("",{providedIn:"root",factory:()=>1});var Fb=new A("");var Pb=()=>({exact:!0}),wh=(()=>{class o{static{this.\u0275fac=function(t){return new(t||o)}}static{this.\u0275cmp=S({type:o,selectors:[["app-root"]],decls:40,vars:2,consts:[["routerLink","","routerLinkActive","active","mat-list-item","",3,"routerLinkActiveOptions"],["routerLink","/api","routerLinkActive","active","mat-list-item",""],["routerLink","/compact","routerLinkActive","active","mat-list-item",""],["routerLink","/displayGrid","routerLinkActive","active","mat-list-item",""],["routerLink","/drag","routerLinkActive","active","mat-list-item",""],["mat-list-item","","routerLink","/dynamicWidgets","routerLinkActive","active"],["routerLink","/emptyCell","routerLinkActive","active","mat-list-item",""],["routerLink","/gridEvents","routerLinkActive","active","mat-list-item",""],["routerLink","/gridMargins","routerLinkActive","active","mat-list-item",""],["routerLink","/gridSizes","routerLinkActive","active","mat-list-item",""],["routerLink","/gridTypes","routerLinkActive","active","mat-list-item",""],["routerLink","/items","routerLinkActive","active","mat-list-item",""],["routerLink","/trackBy","routerLinkActive","active","mat-list-item",""],["routerLink","/push","routerLinkActive","active","mat-list-item",""],["routerLink","/resize","routerLinkActive","active","mat-list-item",""],["routerLink","/swap","routerLinkActive","active","mat-list-item",""],["routerLink","/multiLayer","routerLinkActive","active","mat-list-item",""],["routerLink","/misc","routerLinkActive","active","mat-list-item",""],["routerLink","/rtl","routerLinkActive","active","mat-list-item",""]],template:function(t,i){t&1&&(c(0,"mat-nav-list")(1,"a",0),m(2," Home"),d(),c(3,"a",1),m(4," API"),d(),c(5,"a",2),m(6," Compact"),d(),c(7,"a",3),m(8," Display Grid"),d(),c(9,"a",4),m(10," Drag"),d(),c(11,"a",5),m(12," Dynamic Widgets"),d(),c(13,"a",6),m(14," Empty Cell"),d(),c(15,"a",7),m(16," Grid Events"),d(),c(17,"a",8),m(18," Grid Margins"),d(),c(19,"a",9),m(20," Grid Sizes"),d(),c(21,"a",10),m(22," Grid Types"),d(),c(23,"a",11),m(24," Items"),d(),c(25,"a",12),m(26," Track By"),d(),c(27,"a",13),m(28," Push"),d(),c(29,"a",14),m(30," Resize"),d(),c(31,"a",15),m(32," Swap"),d(),c(33,"a",16),m(34," Multi Layer"),d(),c(35,"a",17),m(36," Misc"),d(),c(37,"a",18),m(38," RTL"),d()(),R(39,"router-outlet")),t&2&&(h(),M("routerLinkActiveOptions",Qc(1,Pb)))},dependencies:[Cs,yh,Dl,Vm,zm,Lm],styles:[`app-root{width:100%;height:100%;display:flex;flex-direction:row;overflow-x:hidden}mat-nav-list{min-width:200px;width:20%;border-right:1px solid grey;overflow:auto}mat-nav-list .active{background:#afddff}router-outlet+*{width:100%;overflow:auto}gridster-item div.button-holder{width:100%;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center}.options{padding:10px;display:grid}.options-header{padding:10px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;flex-wrap:wrap}.source-code-button{justify-self:end}[draggable]{-webkit-user-select:none;user-select:none;cursor:pointer}app-parent-dynamic,app-widget-a,app-widget-b,app-widget-c{display:flex;height:100%;width:100%;color:#fff;font-weight:700;font-size:24px;align-items:center;justify-content:center}code{background:#d3d3d3}app-widget-a{background:red}app-widget-b{background:#00f}app-widget-c{background:#7cfc00} +`],encapsulation:2,changeDetection:0})}}return o})();var Lb="@",zb=(()=>{class o{doc;delegate;zone;animationType;moduleImpl;_rendererFactoryPromise=null;scheduler=p(Oc,{optional:!0});loadingSchedulerFn=p(Vb,{optional:!0});_engine;constructor(e,t,i,r,s){this.doc=e,this.delegate=t,this.zone=i,this.animationType=r,this.moduleImpl=s}ngOnDestroy(){this._engine?.flush()}loadImpl(){let e=()=>this.moduleImpl??import("./chunk-2SQYIQHQ.js").then(i=>i),t;return this.loadingSchedulerFn?t=this.loadingSchedulerFn(e):t=e(),t.catch(i=>{throw new Se(5300,!1)}).then(({\u0275createEngine:i,\u0275AnimationRendererFactory:r})=>{this._engine=i(this.animationType,this.doc);let s=new r(this.delegate,this._engine,this.zone);return this.delegate=s,s})}createRenderer(e,t){let i=this.delegate.createRenderer(e,t);if(i.\u0275type===0)return i;typeof i.throwOnSyntheticProps=="boolean"&&(i.throwOnSyntheticProps=!1);let r=new Ll(i);return t?.data?.animation&&!this._rendererFactoryPromise&&(this._rendererFactoryPromise=this.loadImpl()),this._rendererFactoryPromise?.then(s=>{let a=s.createRenderer(e,t);r.use(a),this.scheduler?.notify(11)}).catch(s=>{r.use(i)}),r}begin(){this.delegate.begin?.()}end(){this.delegate.end?.()}whenRenderingDone(){return this.delegate.whenRenderingDone?.()??Promise.resolve()}static \u0275fac=function(t){Zs()};static \u0275prov=O({token:o,factory:o.\u0275fac})}return o})(),Ll=class{delegate;replay=[];\u0275type=1;constructor(n){this.delegate=n}use(n){if(this.delegate=n,this.replay!==null){for(let e of this.replay)e(n);this.replay=null}}get data(){return this.delegate.data}destroy(){this.replay=null,this.delegate.destroy()}createElement(n,e){return this.delegate.createElement(n,e)}createComment(n){return this.delegate.createComment(n)}createText(n){return this.delegate.createText(n)}get destroyNode(){return this.delegate.destroyNode}appendChild(n,e){this.delegate.appendChild(n,e)}insertBefore(n,e,t,i){this.delegate.insertBefore(n,e,t,i)}removeChild(n,e,t){this.delegate.removeChild(n,e,t)}selectRootElement(n,e){return this.delegate.selectRootElement(n,e)}parentNode(n){return this.delegate.parentNode(n)}nextSibling(n){return this.delegate.nextSibling(n)}setAttribute(n,e,t,i){this.delegate.setAttribute(n,e,t,i)}removeAttribute(n,e,t){this.delegate.removeAttribute(n,e,t)}addClass(n,e){this.delegate.addClass(n,e)}removeClass(n,e){this.delegate.removeClass(n,e)}setStyle(n,e,t,i){this.delegate.setStyle(n,e,t,i)}removeStyle(n,e,t){this.delegate.removeStyle(n,e,t)}setProperty(n,e,t){this.shouldReplay(e)&&this.replay.push(i=>i.setProperty(n,e,t)),this.delegate.setProperty(n,e,t)}setValue(n,e){this.delegate.setValue(n,e)}listen(n,e,t){return this.shouldReplay(e)&&this.replay.push(i=>i.listen(n,e,t)),this.delegate.listen(n,e,t)}shouldReplay(n){return this.replay!==null&&n.startsWith(Lb)}},Vb=new A("");function zl(o="animations"){return Xs("NgAsyncAnimations"),ji([{provide:Cr,useFactory:(n,e,t)=>new zb(n,e,t,o),deps:[ae,zr,W]},{provide:ut,useValue:o==="noop"?"NoopAnimations":"BrowserAnimations"}])}function Bl(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var dn=Bl();function Sh(o){dn=o}var Xo={exec:()=>null};function Re(o,n=""){let e=typeof o=="string"?o:o.source,t={replace:(i,r)=>{let s=typeof r=="string"?r:r.source;return s=s.replace(xt.caret,"$1"),e=e.replace(i,s),t},getRegex:()=>new RegExp(e,n)};return t}var xt={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:o=>new RegExp(`^( {0,3}${o})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:o=>new RegExp(`^ {0,${Math.min(3,o-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:o=>new RegExp(`^ {0,${Math.min(3,o-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:o=>new RegExp(`^ {0,${Math.min(3,o-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:o=>new RegExp(`^ {0,${Math.min(3,o-1)}}#`),htmlBeginRegex:o=>new RegExp(`^ {0,${Math.min(3,o-1)}}<(?:[a-z].*>|!--)`,"i")},Nb=/^(?:[ \t]*(?:\n|$))+/,Bb=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,Wb=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,Ko=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,jb=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,Th=/(?:[*+-]|\d{1,9}[.)])/,Dh=Re(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,Th).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).getRegex(),Wl=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,$b=/^[^\n]+/,jl=/(?!\s*\])(?:\\.|[^\[\]\\])+/,Ub=Re(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",jl).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),Hb=Re(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,Th).getRegex(),Ts="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",$l=/|$))/,Gb=Re("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",$l).replace("tag",Ts).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Rh=Re(Wl).replace("hr",Ko).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",Ts).getRegex(),Yb=Re(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",Rh).getRegex(),Ul={blockquote:Yb,code:Bb,def:Ub,fences:Wb,heading:jb,hr:Ko,html:Gb,lheading:Dh,list:Hb,newline:Nb,paragraph:Rh,table:Xo,text:$b},Ch=Re("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",Ko).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",Ts).getRegex(),qb=re(k({},Ul),{table:Ch,paragraph:Re(Wl).replace("hr",Ko).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",Ch).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",Ts).getRegex()}),Xb=re(k({},Ul),{html:Re(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",$l).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Xo,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:Re(Wl).replace("hr",Ko).replace("heading",` *#{1,6} *[^ +]`).replace("lheading",Dh).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()}),Ah=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,Zb=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,Oh=/^( {2,}|\\)\n(?!\s*$)/,Kb=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\]*?>/g,ev=Re(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,"u").replace(/punct/g,Qo).getRegex(),tv=Re("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])","gu").replace(/punct/g,Qo).getRegex(),iv=Re("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])","gu").replace(/punct/g,Qo).getRegex(),nv=Re(/\\([punct])/,"gu").replace(/punct/g,Qo).getRegex(),ov=Re(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[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])?)+(?![-_])/).getRegex(),rv=Re($l).replace("(?:-->|$)","-->").getRegex(),sv=Re("^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^").replace("comment",rv).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),Ss=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,av=Re(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",Ss).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),Fh=Re(/^!?\[(label)\]\[(ref)\]/).replace("label",Ss).replace("ref",jl).getRegex(),Ph=Re(/^!?\[(ref)\](?:\[\])?/).replace("ref",jl).getRegex(),lv=Re("reflink|nolink(?!\\()","g").replace("reflink",Fh).replace("nolink",Ph).getRegex(),Hl={_backpedal:Xo,anyPunctuation:nv,autolink:ov,blockSkip:Jb,br:Oh,code:Zb,del:Xo,emStrongLDelim:ev,emStrongRDelimAst:tv,emStrongRDelimUnd:iv,escape:Ah,link:av,nolink:Ph,punctuation:Qb,reflink:Fh,reflinkSearch:lv,tag:sv,text:Kb,url:Xo},cv=re(k({},Hl),{link:Re(/^!?\[(label)\]\((.*?)\)/).replace("label",Ss).getRegex(),reflink:Re(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Ss).getRegex()}),Vl=re(k({},Hl),{escape:Re(Ah).replace("])","~|])").getRegex(),url:Re(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\.|[^\\])*?(?:\\.|[^\s~\\]))\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\":">",'"':""","'":"'"},kh=o=>mv[o];function ni(o,n){if(n){if(xt.escapeTest.test(o))return o.replace(xt.escapeReplace,kh)}else if(xt.escapeTestNoEncode.test(o))return o.replace(xt.escapeReplaceNoEncode,kh);return o}function Mh(o){try{o=encodeURI(o).replace(xt.percentDecode,"%")}catch{return null}return o}function Ih(o,n){let e=o.replace(xt.findPipe,(r,s,a)=>{let l=!1,u=s;for(;--u>=0&&a[u]==="\\";)l=!l;return l?"|":" |"}),t=e.split(xt.splitPipe),i=0;if(t[0].trim()||t.shift(),t.length>0&&!t.at(-1)?.trim()&&t.pop(),n)if(t.length>n)t.splice(n);else for(;t.length{let s=r.match(e.other.beginningSpace);if(s===null)return r;let[a]=s;return a.length>=i.length?r.slice(i.length):r}).join(` +`)}var Gn=class{options;rules;lexer;constructor(n){this.options=n||dn}space(n){let e=this.rules.block.newline.exec(n);if(e&&e[0].length>0)return{type:"space",raw:e[0]}}code(n){let e=this.rules.block.code.exec(n);if(e){let t=e[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:e[0],codeBlockStyle:"indented",text:this.options.pedantic?t:qo(t,` +`)}}}fences(n){let e=this.rules.block.fences.exec(n);if(e){let t=e[0],i=uv(t,e[3]||"",this.rules);return{type:"code",raw:t,lang:e[2]?e[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):e[2],text:i}}}heading(n){let e=this.rules.block.heading.exec(n);if(e){let t=e[2].trim();if(this.rules.other.endingHash.test(t)){let i=qo(t,"#");(this.options.pedantic||!i||this.rules.other.endingSpaceChar.test(i))&&(t=i.trim())}return{type:"heading",raw:e[0],depth:e[1].length,text:t,tokens:this.lexer.inline(t)}}}hr(n){let e=this.rules.block.hr.exec(n);if(e)return{type:"hr",raw:qo(e[0],` +`)}}blockquote(n){let e=this.rules.block.blockquote.exec(n);if(e){let t=qo(e[0],` +`).split(` +`),i="",r="",s=[];for(;t.length>0;){let a=!1,l=[],u;for(u=0;u1,r={type:"list",raw:"",ordered:i,start:i?+t.slice(0,-1):"",loose:!1,items:[]};t=i?`\\d{1,9}\\${t.slice(-1)}`:`\\${t}`,this.options.pedantic&&(t=i?t:"[*+-]");let s=this.rules.other.listItemRegex(t),a=!1;for(;n;){let u=!1,_="",y="";if(!(e=s.exec(n))||this.rules.block.hr.test(n))break;_=e[0],n=n.substring(_.length);let I=e[2].split(` +`,1)[0].replace(this.rules.other.listReplaceTabs,ot=>" ".repeat(3*ot.length)),E=n.split(` +`,1)[0],D=!I.trim(),T=0;if(this.options.pedantic?(T=2,y=I.trimStart()):D?T=e[1].length+1:(T=e[2].search(this.rules.other.nonSpaceChar),T=T>4?1:T,y=I.slice(T),T+=e[1].length),D&&this.rules.other.blankLine.test(E)&&(_+=E+` +`,n=n.substring(E.length+1),u=!0),!u){let ot=this.rules.other.nextBulletRegex(T),we=this.rules.other.hrRegex(T),xi=this.rules.other.fencesBeginRegex(T),Xt=this.rules.other.headingBeginRegex(T),Vi=this.rules.other.htmlBeginRegex(T);for(;n;){let fn=n.split(` +`,1)[0],Zn;if(E=fn,this.options.pedantic?(E=E.replace(this.rules.other.listReplaceNesting," "),Zn=E):Zn=E.replace(this.rules.other.tabCharGlobal," "),xi.test(E)||Xt.test(E)||Vi.test(E)||ot.test(E)||we.test(E))break;if(Zn.search(this.rules.other.nonSpaceChar)>=T||!E.trim())y+=` +`+Zn.slice(T);else{if(D||I.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||xi.test(I)||Xt.test(I)||we.test(I))break;y+=` +`+E}!D&&!E.trim()&&(D=!0),_+=fn+` +`,n=n.substring(fn.length+1),I=Zn.slice(T)}}r.loose||(a?r.loose=!0:this.rules.other.doubleBlankLine.test(_)&&(a=!0));let z=null,Le;this.options.gfm&&(z=this.rules.other.listIsTask.exec(y),z&&(Le=z[0]!=="[ ] ",y=y.replace(this.rules.other.listReplaceTask,""))),r.items.push({type:"list_item",raw:_,task:!!z,checked:Le,loose:!1,text:y,tokens:[]}),r.raw+=_}let l=r.items.at(-1);l&&(l.raw=l.raw.trimEnd(),l.text=l.text.trimEnd()),r.raw=r.raw.trimEnd();for(let u=0;uI.type==="space"),y=_.length>0&&_.some(I=>this.rules.other.anyLine.test(I.raw));r.loose=y}if(r.loose)for(let u=0;u({text:l,tokens:this.lexer.inline(l),header:!1,align:s.align[u]})));return s}}lheading(n){let e=this.rules.block.lheading.exec(n);if(e)return{type:"heading",raw:e[0],depth:e[2].charAt(0)==="="?1:2,text:e[1],tokens:this.lexer.inline(e[1])}}paragraph(n){let e=this.rules.block.paragraph.exec(n);if(e){let t=e[1].charAt(e[1].length-1)===` +`?e[1].slice(0,-1):e[1];return{type:"paragraph",raw:e[0],text:t,tokens:this.lexer.inline(t)}}}text(n){let e=this.rules.block.text.exec(n);if(e)return{type:"text",raw:e[0],text:e[0],tokens:this.lexer.inline(e[0])}}escape(n){let e=this.rules.inline.escape.exec(n);if(e)return{type:"escape",raw:e[0],text:e[1]}}tag(n){let e=this.rules.inline.tag.exec(n);if(e)return!this.lexer.state.inLink&&this.rules.other.startATag.test(e[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(e[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(e[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(e[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:e[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:e[0]}}link(n){let e=this.rules.inline.link.exec(n);if(e){let t=e[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(t)){if(!this.rules.other.endAngleBracket.test(t))return;let s=qo(t.slice(0,-1),"\\");if((t.length-s.length)%2===0)return}else{let s=hv(e[2],"()");if(s>-1){let l=(e[0].indexOf("!")===0?5:4)+e[1].length+s;e[2]=e[2].substring(0,s),e[0]=e[0].substring(0,l).trim(),e[3]=""}}let i=e[2],r="";if(this.options.pedantic){let s=this.rules.other.pedanticHrefTitle.exec(i);s&&(i=s[1],r=s[3])}else r=e[3]?e[3].slice(1,-1):"";return i=i.trim(),this.rules.other.startAngleBracket.test(i)&&(this.options.pedantic&&!this.rules.other.endAngleBracket.test(t)?i=i.slice(1):i=i.slice(1,-1)),Eh(e,{href:i&&i.replace(this.rules.inline.anyPunctuation,"$1"),title:r&&r.replace(this.rules.inline.anyPunctuation,"$1")},e[0],this.lexer,this.rules)}}reflink(n,e){let t;if((t=this.rules.inline.reflink.exec(n))||(t=this.rules.inline.nolink.exec(n))){let i=(t[2]||t[1]).replace(this.rules.other.multipleSpaceGlobal," "),r=e[i.toLowerCase()];if(!r){let s=t[0].charAt(0);return{type:"text",raw:s,text:s}}return Eh(t,r,t[0],this.lexer,this.rules)}}emStrong(n,e,t=""){let i=this.rules.inline.emStrongLDelim.exec(n);if(!i||i[3]&&t.match(this.rules.other.unicodeAlphaNumeric))return;if(!(i[1]||i[2]||"")||!t||this.rules.inline.punctuation.exec(t)){let s=[...i[0]].length-1,a,l,u=s,_=0,y=i[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(y.lastIndex=0,e=e.slice(-1*n.length+s);(i=y.exec(e))!=null;){if(a=i[1]||i[2]||i[3]||i[4]||i[5]||i[6],!a)continue;if(l=[...a].length,i[3]||i[4]){u+=l;continue}else if((i[5]||i[6])&&s%3&&!((s+l)%3)){_+=l;continue}if(u-=l,u>0)continue;l=Math.min(l,l+u+_);let I=[...i[0]][0].length,E=n.slice(0,s+i.index+I+l);if(Math.min(s,l)%2){let T=E.slice(1,-1);return{type:"em",raw:E,text:T,tokens:this.lexer.inlineTokens(T)}}let D=E.slice(2,-2);return{type:"strong",raw:E,text:D,tokens:this.lexer.inlineTokens(D)}}}}codespan(n){let e=this.rules.inline.code.exec(n);if(e){let t=e[2].replace(this.rules.other.newLineCharGlobal," "),i=this.rules.other.nonSpaceChar.test(t),r=this.rules.other.startingSpaceChar.test(t)&&this.rules.other.endingSpaceChar.test(t);return i&&r&&(t=t.substring(1,t.length-1)),{type:"codespan",raw:e[0],text:t}}}br(n){let e=this.rules.inline.br.exec(n);if(e)return{type:"br",raw:e[0]}}del(n){let e=this.rules.inline.del.exec(n);if(e)return{type:"del",raw:e[0],text:e[2],tokens:this.lexer.inlineTokens(e[2])}}autolink(n){let e=this.rules.inline.autolink.exec(n);if(e){let t,i;return e[2]==="@"?(t=e[1],i="mailto:"+t):(t=e[1],i=t),{type:"link",raw:e[0],text:t,href:i,tokens:[{type:"text",raw:t,text:t}]}}}url(n){let e;if(e=this.rules.inline.url.exec(n)){let t,i;if(e[2]==="@")t=e[0],i="mailto:"+t;else{let r;do r=e[0],e[0]=this.rules.inline._backpedal.exec(e[0])?.[0]??"";while(r!==e[0]);t=e[0],e[1]==="www."?i="http://"+e[0]:i=e[0]}return{type:"link",raw:e[0],text:t,href:i,tokens:[{type:"text",raw:t,text:t}]}}}inlineText(n){let e=this.rules.inline.text.exec(n);if(e){let t=this.lexer.state.inRawBlock;return{type:"text",raw:e[0],text:e[0],escaped:t}}}},Gt=class o{tokens;options;state;tokenizer;inlineQueue;constructor(n){this.tokens=[],this.tokens.links=Object.create(null),this.options=n||dn,this.options.tokenizer=this.options.tokenizer||new Gn,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let e={other:xt,block:Es.normal,inline:Yo.normal};this.options.pedantic?(e.block=Es.pedantic,e.inline=Yo.pedantic):this.options.gfm&&(e.block=Es.gfm,this.options.breaks?e.inline=Yo.breaks:e.inline=Yo.gfm),this.tokenizer.rules=e}static get rules(){return{block:Es,inline:Yo}}static lex(n,e){return new o(e).lex(n)}static lexInline(n,e){return new o(e).inlineTokens(n)}lex(n){n=n.replace(xt.carriageReturn,` +`),this.blockTokens(n,this.tokens);for(let e=0;e(i=s.call({lexer:this},n,e))?(n=n.substring(i.raw.length),e.push(i),!0):!1))continue;if(i=this.tokenizer.space(n)){n=n.substring(i.raw.length);let s=e.at(-1);i.raw.length===1&&s!==void 0?s.raw+=` +`:e.push(i);continue}if(i=this.tokenizer.code(n)){n=n.substring(i.raw.length);let s=e.at(-1);s?.type==="paragraph"||s?.type==="text"?(s.raw+=` +`+i.raw,s.text+=` +`+i.text,this.inlineQueue.at(-1).src=s.text):e.push(i);continue}if(i=this.tokenizer.fences(n)){n=n.substring(i.raw.length),e.push(i);continue}if(i=this.tokenizer.heading(n)){n=n.substring(i.raw.length),e.push(i);continue}if(i=this.tokenizer.hr(n)){n=n.substring(i.raw.length),e.push(i);continue}if(i=this.tokenizer.blockquote(n)){n=n.substring(i.raw.length),e.push(i);continue}if(i=this.tokenizer.list(n)){n=n.substring(i.raw.length),e.push(i);continue}if(i=this.tokenizer.html(n)){n=n.substring(i.raw.length),e.push(i);continue}if(i=this.tokenizer.def(n)){n=n.substring(i.raw.length);let s=e.at(-1);s?.type==="paragraph"||s?.type==="text"?(s.raw+=` +`+i.raw,s.text+=` +`+i.raw,this.inlineQueue.at(-1).src=s.text):this.tokens.links[i.tag]||(this.tokens.links[i.tag]={href:i.href,title:i.title});continue}if(i=this.tokenizer.table(n)){n=n.substring(i.raw.length),e.push(i);continue}if(i=this.tokenizer.lheading(n)){n=n.substring(i.raw.length),e.push(i);continue}let r=n;if(this.options.extensions?.startBlock){let s=1/0,a=n.slice(1),l;this.options.extensions.startBlock.forEach(u=>{l=u.call({lexer:this},a),typeof l=="number"&&l>=0&&(s=Math.min(s,l))}),s<1/0&&s>=0&&(r=n.substring(0,s+1))}if(this.state.top&&(i=this.tokenizer.paragraph(r))){let s=e.at(-1);t&&s?.type==="paragraph"?(s.raw+=` +`+i.raw,s.text+=` +`+i.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=s.text):e.push(i),t=r.length!==n.length,n=n.substring(i.raw.length);continue}if(i=this.tokenizer.text(n)){n=n.substring(i.raw.length);let s=e.at(-1);s?.type==="text"?(s.raw+=` +`+i.raw,s.text+=` +`+i.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=s.text):e.push(i);continue}if(n){let s="Infinite loop on byte: "+n.charCodeAt(0);if(this.options.silent){console.error(s);break}else throw new Error(s)}}return this.state.top=!0,e}inline(n,e=[]){return this.inlineQueue.push({src:n,tokens:e}),e}inlineTokens(n,e=[]){let t=n,i=null;if(this.tokens.links){let a=Object.keys(this.tokens.links);if(a.length>0)for(;(i=this.tokenizer.rules.inline.reflinkSearch.exec(t))!=null;)a.includes(i[0].slice(i[0].lastIndexOf("[")+1,-1))&&(t=t.slice(0,i.index)+"["+"a".repeat(i[0].length-2)+"]"+t.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(i=this.tokenizer.rules.inline.blockSkip.exec(t))!=null;)t=t.slice(0,i.index)+"["+"a".repeat(i[0].length-2)+"]"+t.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(i=this.tokenizer.rules.inline.anyPunctuation.exec(t))!=null;)t=t.slice(0,i.index)+"++"+t.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);let r=!1,s="";for(;n;){r||(s=""),r=!1;let a;if(this.options.extensions?.inline?.some(u=>(a=u.call({lexer:this},n,e))?(n=n.substring(a.raw.length),e.push(a),!0):!1))continue;if(a=this.tokenizer.escape(n)){n=n.substring(a.raw.length),e.push(a);continue}if(a=this.tokenizer.tag(n)){n=n.substring(a.raw.length),e.push(a);continue}if(a=this.tokenizer.link(n)){n=n.substring(a.raw.length),e.push(a);continue}if(a=this.tokenizer.reflink(n,this.tokens.links)){n=n.substring(a.raw.length);let u=e.at(-1);a.type==="text"&&u?.type==="text"?(u.raw+=a.raw,u.text+=a.text):e.push(a);continue}if(a=this.tokenizer.emStrong(n,t,s)){n=n.substring(a.raw.length),e.push(a);continue}if(a=this.tokenizer.codespan(n)){n=n.substring(a.raw.length),e.push(a);continue}if(a=this.tokenizer.br(n)){n=n.substring(a.raw.length),e.push(a);continue}if(a=this.tokenizer.del(n)){n=n.substring(a.raw.length),e.push(a);continue}if(a=this.tokenizer.autolink(n)){n=n.substring(a.raw.length),e.push(a);continue}if(!this.state.inLink&&(a=this.tokenizer.url(n))){n=n.substring(a.raw.length),e.push(a);continue}let l=n;if(this.options.extensions?.startInline){let u=1/0,_=n.slice(1),y;this.options.extensions.startInline.forEach(I=>{y=I.call({lexer:this},_),typeof y=="number"&&y>=0&&(u=Math.min(u,y))}),u<1/0&&u>=0&&(l=n.substring(0,u+1))}if(a=this.tokenizer.inlineText(l)){n=n.substring(a.raw.length),a.raw.slice(-1)!=="_"&&(s=a.raw.slice(-1)),r=!0;let u=e.at(-1);u?.type==="text"?(u.raw+=a.raw,u.text+=a.text):e.push(a);continue}if(n){let u="Infinite loop on byte: "+n.charCodeAt(0);if(this.options.silent){console.error(u);break}else throw new Error(u)}}return e}},oi=class{options;parser;constructor(n){this.options=n||dn}space(n){return""}code({text:n,lang:e,escaped:t}){let i=(e||"").match(xt.notSpaceStart)?.[0],r=n.replace(xt.endingNewline,"")+` +`;return i?'
    '+(t?r:ni(r,!0))+`
    +`:"
    "+(t?r:ni(r,!0))+`
    +`}blockquote({tokens:n}){return`
    +${this.parser.parse(n)}
    +`}html({text:n}){return n}heading({tokens:n,depth:e}){return`${this.parser.parseInline(n)} +`}hr(n){return`
    +`}list(n){let e=n.ordered,t=n.start,i="";for(let a=0;a +`+i+" +`}listitem(n){let e="";if(n.task){let t=this.checkbox({checked:!!n.checked});n.loose?n.tokens[0]?.type==="paragraph"?(n.tokens[0].text=t+" "+n.tokens[0].text,n.tokens[0].tokens&&n.tokens[0].tokens.length>0&&n.tokens[0].tokens[0].type==="text"&&(n.tokens[0].tokens[0].text=t+" "+ni(n.tokens[0].tokens[0].text),n.tokens[0].tokens[0].escaped=!0)):n.tokens.unshift({type:"text",raw:t+" ",text:t+" ",escaped:!0}):e+=t+" "}return e+=this.parser.parse(n.tokens,!!n.loose),`
  • ${e}
  • +`}checkbox({checked:n}){return"'}paragraph({tokens:n}){return`

    ${this.parser.parseInline(n)}

    +`}table(n){let e="",t="";for(let r=0;r${i}`),` + +`+e+` +`+i+`
    +`}tablerow({text:n}){return` +${n} +`}tablecell(n){let e=this.parser.parseInline(n.tokens),t=n.header?"th":"td";return(n.align?`<${t} align="${n.align}">`:`<${t}>`)+e+` +`}strong({tokens:n}){return`${this.parser.parseInline(n)}`}em({tokens:n}){return`${this.parser.parseInline(n)}`}codespan({text:n}){return`${ni(n,!0)}`}br(n){return"
    "}del({tokens:n}){return`${this.parser.parseInline(n)}`}link({href:n,title:e,tokens:t}){let i=this.parser.parseInline(t),r=Mh(n);if(r===null)return i;n=r;let s='
    ",s}image({href:n,title:e,text:t}){let i=Mh(n);if(i===null)return ni(t);n=i;let r=`${t}{let a=r[s].flat(1/0);t=t.concat(this.walkTokens(a,e))}):r.tokens&&(t=t.concat(this.walkTokens(r.tokens,e)))}}return t}use(...n){let e=this.defaults.extensions||{renderers:{},childTokens:{}};return n.forEach(t=>{let i=k({},t);if(i.async=this.defaults.async||i.async||!1,t.extensions&&(t.extensions.forEach(r=>{if(!r.name)throw new Error("extension name required");if("renderer"in r){let s=e.renderers[r.name];s?e.renderers[r.name]=function(...a){let l=r.renderer.apply(this,a);return l===!1&&(l=s.apply(this,a)),l}:e.renderers[r.name]=r.renderer}if("tokenizer"in r){if(!r.level||r.level!=="block"&&r.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");let s=e[r.level];s?s.unshift(r.tokenizer):e[r.level]=[r.tokenizer],r.start&&(r.level==="block"?e.startBlock?e.startBlock.push(r.start):e.startBlock=[r.start]:r.level==="inline"&&(e.startInline?e.startInline.push(r.start):e.startInline=[r.start]))}"childTokens"in r&&r.childTokens&&(e.childTokens[r.name]=r.childTokens)}),i.extensions=e),t.renderer){let r=this.defaults.renderer||new oi(this.defaults);for(let s in t.renderer){if(!(s in r))throw new Error(`renderer '${s}' does not exist`);if(["options","parser"].includes(s))continue;let a=s,l=t.renderer[a],u=r[a];r[a]=(..._)=>{let y=l.apply(r,_);return y===!1&&(y=u.apply(r,_)),y||""}}i.renderer=r}if(t.tokenizer){let r=this.defaults.tokenizer||new Gn(this.defaults);for(let s in t.tokenizer){if(!(s in r))throw new Error(`tokenizer '${s}' does not exist`);if(["options","rules","lexer"].includes(s))continue;let a=s,l=t.tokenizer[a],u=r[a];r[a]=(..._)=>{let y=l.apply(r,_);return y===!1&&(y=u.apply(r,_)),y}}i.tokenizer=r}if(t.hooks){let r=this.defaults.hooks||new Hn;for(let s in t.hooks){if(!(s in r))throw new Error(`hook '${s}' does not exist`);if(["options","block"].includes(s))continue;let a=s,l=t.hooks[a],u=r[a];Hn.passThroughHooks.has(s)?r[a]=_=>{if(this.defaults.async)return Promise.resolve(l.call(r,_)).then(I=>u.call(r,I));let y=l.call(r,_);return u.call(r,y)}:r[a]=(..._)=>{let y=l.apply(r,_);return y===!1&&(y=u.apply(r,_)),y}}i.hooks=r}if(t.walkTokens){let r=this.defaults.walkTokens,s=t.walkTokens;i.walkTokens=function(a){let l=[];return l.push(s.call(this,a)),r&&(l=l.concat(r.call(this,a))),l}}this.defaults=k(k({},this.defaults),i)}),this}setOptions(n){return this.defaults=k(k({},this.defaults),n),this}lexer(n,e){return Gt.lex(n,e??this.defaults)}parser(n,e){return Yt.parse(n,e??this.defaults)}parseMarkdown(n){return(t,i)=>{let r=k({},i),s=k(k({},this.defaults),r),a=this.onError(!!s.silent,!!s.async);if(this.defaults.async===!0&&r.async===!1)return a(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof t>"u"||t===null)return a(new Error("marked(): input parameter is undefined or null"));if(typeof t!="string")return a(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(t)+", string expected"));s.hooks&&(s.hooks.options=s,s.hooks.block=n);let l=s.hooks?s.hooks.provideLexer():n?Gt.lex:Gt.lexInline,u=s.hooks?s.hooks.provideParser():n?Yt.parse:Yt.parseInline;if(s.async)return Promise.resolve(s.hooks?s.hooks.preprocess(t):t).then(_=>l(_,s)).then(_=>s.hooks?s.hooks.processAllTokens(_):_).then(_=>s.walkTokens?Promise.all(this.walkTokens(_,s.walkTokens)).then(()=>_):_).then(_=>u(_,s)).then(_=>s.hooks?s.hooks.postprocess(_):_).catch(a);try{s.hooks&&(t=s.hooks.preprocess(t));let _=l(t,s);s.hooks&&(_=s.hooks.processAllTokens(_)),s.walkTokens&&this.walkTokens(_,s.walkTokens);let y=u(_,s);return s.hooks&&(y=s.hooks.postprocess(y)),y}catch(_){return a(_)}}}onError(n,e){return t=>{if(t.message+=` +Please report this to https://github.com/markedjs/marked.`,n){let i="

    An error occurred:

    "+ni(t.message+"",!0)+"
    ";return e?Promise.resolve(i):i}if(e)return Promise.reject(t);throw t}}},cn=new Nl;function ye(o,n){return cn.parse(o,n)}ye.options=ye.setOptions=function(o){return cn.setOptions(o),ye.defaults=cn.defaults,Sh(ye.defaults),ye};ye.getDefaults=Bl;ye.defaults=dn;ye.use=function(...o){return cn.use(...o),ye.defaults=cn.defaults,Sh(ye.defaults),ye};ye.walkTokens=function(o,n){return cn.walkTokens(o,n)};ye.parseInline=cn.parseInline;ye.Parser=Yt;ye.parser=Yt.parse;ye.Renderer=oi;ye.TextRenderer=Zo;ye.Lexer=Gt;ye.lexer=Gt.lex;ye.Tokenizer=Gn;ye.Hooks=Hn;ye.parse=ye;var Xk=ye.options,Zk=ye.setOptions,Kk=ye.use,Qk=ye.walkTokens,Jk=ye.parseInline;var eM=Yt.parse,tM=Gt.lex;var pv=["*"],fv="Copy",gv="Copied",_v=(()=>{class o{constructor(){this._buttonClick$=new V,this.copied$=this._buttonClick$.pipe(je(()=>dt(N(!0),br(3e3).pipe(vr(!1)))),Wi(),to(1)),this.copiedText$=this.copied$.pipe(ht(!1),B(e=>e?gv:fv))}onCopyToClipboardClick(){this._buttonClick$.next()}static{this.\u0275fac=function(t){return new(t||o)}}static{this.\u0275cmp=S({type:o,selectors:[["markdown-clipboard"]],decls:4,vars:7,consts:[[1,"markdown-clipboard-button",3,"click"]],template:function(t,i){t&1&&(c(0,"button",0),ea(1,"async"),g("click",function(){return i.onCopyToClipboardClick()}),m(2),ea(3,"async"),d()),t&2&&(te("copied",ta(1,3,i.copied$)),h(2),Xe(ta(3,5,i.copiedText$)))},dependencies:[sd],encapsulation:2,changeDetection:0})}}return o})(),bv=new A("CLIPBOARD_OPTIONS");var Gl=function(o){return o.CommandLine="command-line",o.LineHighlight="line-highlight",o.LineNumbers="line-numbers",o}(Gl||{}),Lh=new A("MARKED_EXTENSIONS"),Yl=new A("MARKED_OPTIONS"),vv=new A("MERMAID_OPTIONS"),yv="[ngx-markdown] When using the `emoji` attribute you *have to* include Emoji-Toolkit files to `angular.json` or use imports. See README for more information",xv="[ngx-markdown] When using the `katex` attribute you *have to* include KaTeX files to `angular.json` or use imports. See README for more information",wv="[ngx-markdown] When using the `mermaid` attribute you *have to* include Mermaid files to `angular.json` or use imports. See README for more information",Cv="[ngx-markdown] When using the `clipboard` attribute you *have to* include Clipboard files to `angular.json` or use imports. See README for more information",kv="[ngx-markdown] When using the `clipboard` attribute you *have to* provide the `viewContainerRef` parameter to `MarkdownService.render()` function",Mv="[ngx-markdown] When using the `src` attribute you *have to* pass the `HttpClient` as a parameter of the `forRoot` method. See README for more information",zh=new A("SECURITY_CONTEXT");var Vh=(()=>{class o{get options(){return this._options}set options(e){this._options=k(k({},this.DEFAULT_MARKED_OPTIONS),e)}get renderer(){return this.options.renderer}set renderer(e){this.options.renderer=e}constructor(e,t,i,r,s,a,l,u){this.clipboardOptions=e,this.extensions=t,this.mermaidOptions=r,this.platform=s,this.securityContext=a,this.http=l,this.sanitizer=u,this.DEFAULT_MARKED_OPTIONS={renderer:new oi},this.DEFAULT_KATEX_OPTIONS={delimiters:[{left:"$$",right:"$$",display:!0},{left:"$",right:"$",display:!1},{left:"\\(",right:"\\)",display:!1},{left:"\\begin{equation}",right:"\\end{equation}",display:!0},{left:"\\begin{align}",right:"\\end{align}",display:!0},{left:"\\begin{alignat}",right:"\\end{alignat}",display:!0},{left:"\\begin{gather}",right:"\\end{gather}",display:!0},{left:"\\begin{CD}",right:"\\end{CD}",display:!0},{left:"\\[",right:"\\]",display:!0}]},this.DEFAULT_MERMAID_OPTIONS={startOnLoad:!1},this.DEFAULT_CLIPBOARD_OPTIONS={buttonComponent:void 0},this.DEFAULT_PARSE_OPTIONS={decodeHtml:!1,inline:!1,emoji:!1,mermaid:!1,markedOptions:void 0,disableSanitizer:!1},this.DEFAULT_RENDER_OPTIONS={clipboard:!1,clipboardOptions:void 0,katex:!1,katexOptions:void 0,mermaid:!1,mermaidOptions:void 0},this._reload$=new V,this.reload$=this._reload$.asObservable(),this.options=i}parse(e,t=this.DEFAULT_PARSE_OPTIONS){let{decodeHtml:i,inline:r,emoji:s,mermaid:a,disableSanitizer:l}=t,u=k(k({},this.options),t.markedOptions),_=u.renderer||this.renderer||new oi;this.extensions&&(this.renderer=this.extendsRendererForExtensions(_)),a&&(this.renderer=this.extendsRendererForMermaid(_));let y=this.trimIndentation(e),I=i?this.decodeHtml(y):y,E=s?this.parseEmoji(I):I,D=this.parseMarked(E,u,r);return(l?D:this.sanitizer.sanitize(this.securityContext,D))||""}render(e,t=this.DEFAULT_RENDER_OPTIONS,i){let{clipboard:r,clipboardOptions:s,katex:a,katexOptions:l,mermaid:u,mermaidOptions:_}=t;a&&this.renderKatex(e,k(k({},this.DEFAULT_KATEX_OPTIONS),l)),u&&this.renderMermaid(e,k(k(k({},this.DEFAULT_MERMAID_OPTIONS),this.mermaidOptions),_)),r&&this.renderClipboard(e,i,k(k(k({},this.DEFAULT_CLIPBOARD_OPTIONS),this.clipboardOptions),s)),this.highlight(e)}reload(){this._reload$.next()}getSource(e){if(!this.http)throw new Error(Mv);return this.http.get(e,{responseType:"text"}).pipe(B(t=>this.handleExtension(e,t)))}highlight(e){if(!ci(this.platform)||typeof Prism>"u"||typeof Prism.highlightAllUnder>"u")return;e||(e=document);let t=e.querySelectorAll('pre code:not([class*="language-"])');Array.prototype.forEach.call(t,i=>i.classList.add("language-none")),Prism.highlightAllUnder(e)}decodeHtml(e){if(!ci(this.platform))return e;let t=document.createElement("textarea");return t.innerHTML=e,t.value}extendsRendererForExtensions(e){let t=e;return t.\u0275NgxMarkdownRendererExtendedForExtensions===!0||(this.extensions?.length>0&&ye.use(...this.extensions),t.\u0275NgxMarkdownRendererExtendedForExtensions=!0),e}extendsRendererForMermaid(e){let t=e;if(t.\u0275NgxMarkdownRendererExtendedForMermaid===!0)return e;let i=e.code;return e.code=r=>r.lang==="mermaid"?`
    ${r.text}
    `:i(r),t.\u0275NgxMarkdownRendererExtendedForMermaid=!0,e}handleExtension(e,t){let i=e.lastIndexOf("://"),r=i>-1?e.substring(i+4):e,s=r.lastIndexOf("/"),a=s>-1?r.substring(s+1).split("?")[0]:"",l=a.lastIndexOf("."),u=l>-1?a.substring(l+1):"";return u&&u!=="md"?"```"+u+` +`+t+"\n```":t}parseMarked(e,t,i=!1){if(t.renderer){let r=k({},t.renderer);delete r.\u0275NgxMarkdownRendererExtendedForExtensions,delete r.\u0275NgxMarkdownRendererExtendedForMermaid,delete t.renderer,ye.use({renderer:r})}return i?ye.parseInline(e,t):ye.parse(e,t)}parseEmoji(e){if(!ci(this.platform))return e;if(typeof joypixels>"u"||typeof joypixels.shortnameToUnicode>"u")throw new Error(yv);return joypixels.shortnameToUnicode(e)}renderKatex(e,t){if(ci(this.platform)){if(typeof katex>"u"||typeof renderMathInElement>"u")throw new Error(xv);renderMathInElement(e,t)}}renderClipboard(e,t,i){if(!ci(this.platform))return;if(typeof ClipboardJS>"u")throw new Error(Cv);if(!t)throw new Error(kv);let{buttonComponent:r,buttonTemplate:s}=i,a=e.querySelectorAll("pre");for(let l=0;ly.classList.add("hover"),_.onmouseleave=()=>y.classList.remove("hover");let I;if(r){let D=t.createComponent(r);I=D.hostView,D.changeDetectorRef.markForCheck()}else if(s)I=t.createEmbeddedView(s);else{let D=t.createComponent(_v);I=D.hostView,D.changeDetectorRef.markForCheck()}let E;I.rootNodes.forEach(D=>{y.appendChild(D),E=new ClipboardJS(D,{text:()=>u.innerText})}),I.onDestroy(()=>E.destroy())}}renderMermaid(e,t=this.DEFAULT_MERMAID_OPTIONS){if(!ci(this.platform))return;if(typeof mermaid>"u"||typeof mermaid.initialize>"u")throw new Error(wv);let i=e.querySelectorAll(".mermaid");i.length!==0&&(mermaid.initialize(t),mermaid.run({nodes:i}))}trimIndentation(e){if(!e)return"";let t;return e.split(` +`).map(i=>{let r=t;return i.length>0&&(r=isNaN(r)?i.search(/\S|$/):Math.min(i.search(/\S|$/),r)),isNaN(t)&&(t=r),r?i.substring(r):i}).join(` +`)}static{this.\u0275fac=function(t){return new(t||o)(K(bv,8),K(Lh,8),K(Yl,8),K(vv,8),K(Bt),K(zh),K(Zi,8),K(fo))}}static{this.\u0275prov=O({token:o,factory:o.\u0275fac})}}return o})(),_e=(()=>{class o{get disableSanitizer(){return this._disableSanitizer}set disableSanitizer(e){this._disableSanitizer=this.coerceBooleanProperty(e)}get inline(){return this._inline}set inline(e){this._inline=this.coerceBooleanProperty(e)}get clipboard(){return this._clipboard}set clipboard(e){this._clipboard=this.coerceBooleanProperty(e)}get emoji(){return this._emoji}set emoji(e){this._emoji=this.coerceBooleanProperty(e)}get katex(){return this._katex}set katex(e){this._katex=this.coerceBooleanProperty(e)}get mermaid(){return this._mermaid}set mermaid(e){this._mermaid=this.coerceBooleanProperty(e)}get lineHighlight(){return this._lineHighlight}set lineHighlight(e){this._lineHighlight=this.coerceBooleanProperty(e)}get lineNumbers(){return this._lineNumbers}set lineNumbers(e){this._lineNumbers=this.coerceBooleanProperty(e)}get commandLine(){return this._commandLine}set commandLine(e){this._commandLine=this.coerceBooleanProperty(e)}constructor(e,t,i){this.element=e,this.markdownService=t,this.viewContainerRef=i,this.error=new H,this.load=new H,this.ready=new H,this._clipboard=!1,this._commandLine=!1,this._disableSanitizer=!1,this._emoji=!1,this._inline=!1,this._katex=!1,this._lineHighlight=!1,this._lineNumbers=!1,this._mermaid=!1,this.destroyed$=new V}ngOnChanges(){this.loadContent()}loadContent(){if(this.data!=null){this.handleData();return}if(this.src!=null){this.handleSrc();return}}ngAfterViewInit(){!this.data&&!this.src&&this.handleTransclusion(),this.markdownService.reload$.pipe(Ce(this.destroyed$)).subscribe(()=>this.loadContent())}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}render(e,t=!1){return Kn(this,null,function*(){let i={decodeHtml:t,inline:this.inline,emoji:this.emoji,mermaid:this.mermaid,disableSanitizer:this.disableSanitizer},r={clipboard:this.clipboard,clipboardOptions:this.getClipboardOptions(),katex:this.katex,katexOptions:this.katexOptions,mermaid:this.mermaid,mermaidOptions:this.mermaidOptions},s=yield this.markdownService.parse(e,i);this.element.nativeElement.innerHTML=s,this.handlePlugins(),this.markdownService.render(this.element.nativeElement,r,this.viewContainerRef),this.ready.emit()})}coerceBooleanProperty(e){return e!=null&&`${String(e)}`!="false"}getClipboardOptions(){if(this.clipboardButtonComponent||this.clipboardButtonTemplate)return{buttonComponent:this.clipboardButtonComponent,buttonTemplate:this.clipboardButtonTemplate}}handleData(){this.render(this.data)}handleSrc(){this.markdownService.getSource(this.src).subscribe({next:e=>{this.render(e).then(()=>{this.load.emit(e)})},error:e=>this.error.emit(e)})}handleTransclusion(){this.render(this.element.nativeElement.innerHTML,!0)}handlePlugins(){this.commandLine&&(this.setPluginClass(this.element.nativeElement,Gl.CommandLine),this.setPluginOptions(this.element.nativeElement,{dataFilterOutput:this.filterOutput,dataHost:this.host,dataPrompt:this.prompt,dataOutput:this.output,dataUser:this.user})),this.lineHighlight&&this.setPluginOptions(this.element.nativeElement,{dataLine:this.line,dataLineOffset:this.lineOffset}),this.lineNumbers&&(this.setPluginClass(this.element.nativeElement,Gl.LineNumbers),this.setPluginOptions(this.element.nativeElement,{dataStart:this.start}))}setPluginClass(e,t){let i=e.querySelectorAll("pre");for(let r=0;r{let a=t[s];if(a){let l=this.toLispCase(s);i.item(r).setAttribute(l,a.toString())}})}toLispCase(e){let t=e.match(/([A-Z])/g);if(!t)return e;let i=e.toString();for(let r=0,s=t.length;r{class o{static forRoot(e){return{ngModule:o,providers:[Iv(e)]}}static forChild(){return{ngModule:o}}static{this.\u0275fac=function(t){return new(t||o)}}static{this.\u0275mod=Z({type:o})}static{this.\u0275inj=X({imports:[ra]})}}return o})();var Bh=["mat-button",""],ql=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],Xl=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],Ev='.mat-mdc-button-base{text-decoration:none}.mdc-button{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__label{position:relative}.mat-mdc-button{padding:0 var(--mat-text-button-horizontal-padding, 12px);height:var(--mdc-text-button-container-height, 40px);font-family:var(--mdc-text-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-text-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-text-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-text-button-label-text-transform);font-weight:var(--mdc-text-button-label-text-weight, var(--mat-sys-label-large-weight))}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, var(--mat-sys-primary))}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 16px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display, block)}.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-filled-button-container-height, 40px);font-family:var(--mdc-filled-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-filled-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-filled-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-filled-button-label-text-transform);font-weight:var(--mdc-filled-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-filled-button-horizontal-padding, 24px)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color, var(--mat-sys-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display, block)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, var(--mat-sys-on-primary));background-color:var(--mdc-filled-button-container-color, var(--mat-sys-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-filled-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);box-shadow:var(--mdc-protected-button-container-elevation-shadow, var(--mat-sys-level1));height:var(--mdc-protected-button-container-height, 40px);font-family:var(--mdc-protected-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-protected-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-protected-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-protected-button-label-text-transform);font-weight:var(--mdc-protected-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-protected-button-horizontal-padding, 24px)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display, block)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, var(--mat-sys-primary));background-color:var(--mdc-protected-button-container-color, var(--mat-sys-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow, var(--mat-sys-level2))}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-protected-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow, var(--mat-sys-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-outlined-button-container-height, 40px);font-family:var(--mdc-outlined-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-outlined-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-outlined-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-outlined-button-label-text-transform);font-weight:var(--mdc-outlined-button-label-text-weight, var(--mat-sys-label-large-weight));border-radius:var(--mdc-outlined-button-container-shape, var(--mat-sys-corner-full));border-width:var(--mdc-outlined-button-outline-width, 1px);padding:0 var(--mat-outlined-button-horizontal-padding, 24px)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display, block)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, var(--mat-sys-primary));border-color:var(--mdc-outlined-button-outline-color, var(--mat-sys-outline))}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:var(--mdc-outlined-button-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button .mdc-button__ripple{border-width:var(--mdc-outlined-button-outline-width, 1px);border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-focus-indicator,.mat-mdc-unelevated-button .mat-focus-indicator,.mat-mdc-raised-button .mat-focus-indicator,.mat-mdc-outlined-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-focus-indicator::before,.mat-mdc-raised-button:focus .mat-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-focus-indicator::before{content:""}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px}.mat-mdc-unelevated-button .mat-focus-indicator::before,.mat-mdc-raised-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}',Wh="@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-icon-button.mat-mdc-icon-button{outline:solid 1px}}";var Sv=["mat-mini-fab",""],Tv='.mat-mdc-fab-base{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1);flex-shrink:0;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-fab-base .mat-mdc-button-ripple,.mat-mdc-fab-base .mat-mdc-button-persistent-ripple,.mat-mdc-fab-base .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab-base .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab-base .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-fab-base .mdc-button__label,.mat-mdc-fab-base .mat-icon{z-index:1;position:relative}.mat-mdc-fab-base .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab-base:focus .mat-focus-indicator::before{content:""}.mat-mdc-fab-base._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab-base::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mat-mdc-fab-base[hidden]{display:none}.mat-mdc-fab-base::-moz-focus-inner{padding:0;border:0}.mat-mdc-fab-base:active,.mat-mdc-fab-base:focus{outline:none}.mat-mdc-fab-base:hover{cursor:pointer}.mat-mdc-fab-base>svg{width:100%}.mat-mdc-fab-base .mat-icon,.mat-mdc-fab-base .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab-base .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-fab-base[disabled],.mat-mdc-fab-base.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-fab-base[disabled],.mat-mdc-fab-base[disabled]:focus,.mat-mdc-fab-base.mat-mdc-button-disabled,.mat-mdc-fab-base.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-fab-base.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-fab{background-color:var(--mdc-fab-container-color, var(--mat-sys-primary-container));border-radius:var(--mdc-fab-container-shape, var(--mat-sys-corner-large));color:var(--mat-fab-foreground-color, var(--mat-sys-on-primary-container, inherit));box-shadow:var(--mdc-fab-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-fab:hover{box-shadow:var(--mdc-fab-hover-container-elevation-shadow, var(--mat-sys-level4))}.mat-mdc-fab:focus{box-shadow:var(--mdc-fab-focus-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-fab:active,.mat-mdc-fab:focus:active{box-shadow:var(--mdc-fab-pressed-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-disabled-state-foreground-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-fab-disabled-state-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-touch-target-display, block)}.mat-mdc-fab .mat-ripple-element{background-color:var(--mat-fab-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary-container) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-state-layer-color, var(--mat-sys-on-primary-container))}.mat-mdc-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-disabled-state-layer-color)}.mat-mdc-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-mini-fab{width:40px;height:40px;background-color:var(--mdc-fab-small-container-color, var(--mat-sys-primary-container));border-radius:var(--mdc-fab-small-container-shape, var(--mat-sys-corner-medium));color:var(--mat-fab-small-foreground-color, var(--mat-sys-on-primary-container, inherit));box-shadow:var(--mdc-fab-small-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-mini-fab:hover{box-shadow:var(--mdc-fab-small-hover-container-elevation-shadow, var(--mat-sys-level4))}.mat-mdc-mini-fab:focus{box-shadow:var(--mdc-fab-small-focus-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:var(--mdc-fab-small-pressed-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-small-disabled-state-foreground-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-fab-small-disabled-state-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-small-touch-target-display)}.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-fab-small-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary-container) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-state-layer-color, var(--mat-sys-on-primary-container))}.mat-mdc-mini-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-disabled-state-layer-color)}.mat-mdc-mini-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-mini-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-mini-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-extended-fab{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;line-height:normal;height:var(--mdc-extended-fab-container-height, 56px);border-radius:var(--mdc-extended-fab-container-shape, var(--mat-sys-corner-large));font-family:var(--mdc-extended-fab-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-extended-fab-label-text-size, var(--mat-sys-label-large-size));font-weight:var(--mdc-extended-fab-label-text-weight, var(--mat-sys-label-large-weight));letter-spacing:var(--mdc-extended-fab-label-text-tracking, var(--mat-sys-label-large-tracking));box-shadow:var(--mdc-extended-fab-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-extended-fab:hover{box-shadow:var(--mdc-extended-fab-hover-container-elevation-shadow, var(--mat-sys-level4))}.mat-mdc-extended-fab:focus{box-shadow:var(--mdc-extended-fab-focus-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-extended-fab:active,.mat-mdc-extended-fab:focus:active{box-shadow:var(--mdc-extended-fab-pressed-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab[disabled]:focus,.mat-mdc-extended-fab.mat-mdc-button-disabled,.mat-mdc-extended-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-extended-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:-8px;margin-right:12px}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons,[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons{margin-left:12px;margin-right:-8px}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}',Dv=["mat-icon-button",""],Rv=["*"];var Av=new A("MAT_BUTTON_CONFIG");var Ov=[{attribute:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{attribute:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{attribute:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{attribute:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{attribute:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mat-mdc-fab"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],Ds=(()=>{class o{_elementRef=p(j);_platform=p(Ae);_ngZone=p(W);_animationMode=p(ut,{optional:!0});_focusMonitor=p(vo);_rippleLoader=p(nm);_isFab=!1;color;get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=e,this._updateRippleDisabled()}_disableRipple=!1;get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._updateRippleDisabled()}_disabled=!1;ariaDisabled;disabledInteractive;constructor(){p(at).load(hi);let e=p(Av,{optional:!0}),t=this._elementRef.nativeElement,i=t.classList;this.disabledInteractive=e?.disabledInteractive??!1,this.color=e?.color??null,this._rippleLoader?.configureRipple(t,{className:"mat-mdc-button-ripple"});for(let{attribute:r,mdcClasses:s}of Ov)t.hasAttribute(r)&&i.add(...s)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(e="program",t){e?this._focusMonitor.focusVia(this._elementRef.nativeElement,e,t):this._elementRef.nativeElement.focus(t)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled&&this.disabledInteractive?!0:null}_getDisabledAttribute(){return this.disabledInteractive||!this.disabled?null:!0}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}static \u0275fac=function(t){return new(t||o)};static \u0275dir=$({type:o,inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",q],disabled:[2,"disabled","disabled",q],ariaDisabled:[2,"aria-disabled","ariaDisabled",q],disabledInteractive:[2,"disabledInteractive","disabledInteractive",q]},features:[Fe]})}return o})();var Fv=(()=>{class o extends Ds{tabIndex;ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)})}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}_haltDisabledEvents=e=>{this.disabled&&(e.preventDefault(),e.stopImmediatePropagation())};_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled||null}static \u0275fac=(()=>{let e;return function(i){return(e||(e=He(o)))(i||o)}})();static \u0275dir=$({type:o,inputs:{tabIndex:[2,"tabIndex","tabIndex",e=>e==null?void 0:qi(e)]},features:[Fe,Ve]})}return o})(),Rs=(()=>{class o extends Ds{static \u0275fac=(()=>{let e;return function(i){return(e||(e=He(o)))(i||o)}})();static \u0275cmp=S({type:o,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(t,i){t&2&&(fe("disabled",i._getDisabledAttribute())("aria-disabled",i._getAriaDisabled()),jt(i.color?"mat-"+i.color:""),te("mat-mdc-button-disabled",i.disabled)("mat-mdc-button-disabled-interactive",i.disabledInteractive)("_mat-animation-noopable",i._animationMode==="NoopAnimations")("mat-unthemed",!i.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[Ve],attrs:Bh,ngContentSelectors:Xl,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(t,i){t&1&&(Te(ql),R(0,"span",0),G(1),c(2,"span",1),G(3,1),d(),G(4,2),R(5,"span",2)(6,"span",3)),t&2&&te("mdc-button__ripple",!i._isFab)("mdc-fab__ripple",i._isFab)},styles:['.mat-mdc-button-base{text-decoration:none}.mdc-button{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__label{position:relative}.mat-mdc-button{padding:0 var(--mat-text-button-horizontal-padding, 12px);height:var(--mdc-text-button-container-height, 40px);font-family:var(--mdc-text-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-text-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-text-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-text-button-label-text-transform);font-weight:var(--mdc-text-button-label-text-weight, var(--mat-sys-label-large-weight))}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, var(--mat-sys-primary))}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 16px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display, block)}.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-filled-button-container-height, 40px);font-family:var(--mdc-filled-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-filled-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-filled-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-filled-button-label-text-transform);font-weight:var(--mdc-filled-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-filled-button-horizontal-padding, 24px)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color, var(--mat-sys-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display, block)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, var(--mat-sys-on-primary));background-color:var(--mdc-filled-button-container-color, var(--mat-sys-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-filled-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);box-shadow:var(--mdc-protected-button-container-elevation-shadow, var(--mat-sys-level1));height:var(--mdc-protected-button-container-height, 40px);font-family:var(--mdc-protected-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-protected-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-protected-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-protected-button-label-text-transform);font-weight:var(--mdc-protected-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-protected-button-horizontal-padding, 24px)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display, block)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, var(--mat-sys-primary));background-color:var(--mdc-protected-button-container-color, var(--mat-sys-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow, var(--mat-sys-level2))}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-protected-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow, var(--mat-sys-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-outlined-button-container-height, 40px);font-family:var(--mdc-outlined-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-outlined-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-outlined-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-outlined-button-label-text-transform);font-weight:var(--mdc-outlined-button-label-text-weight, var(--mat-sys-label-large-weight));border-radius:var(--mdc-outlined-button-container-shape, var(--mat-sys-corner-full));border-width:var(--mdc-outlined-button-outline-width, 1px);padding:0 var(--mat-outlined-button-horizontal-padding, 24px)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display, block)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, var(--mat-sys-primary));border-color:var(--mdc-outlined-button-outline-color, var(--mat-sys-outline))}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:var(--mdc-outlined-button-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button .mdc-button__ripple{border-width:var(--mdc-outlined-button-outline-width, 1px);border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-focus-indicator,.mat-mdc-unelevated-button .mat-focus-indicator,.mat-mdc-raised-button .mat-focus-indicator,.mat-mdc-outlined-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-focus-indicator::before,.mat-mdc-raised-button:focus .mat-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-focus-indicator::before{content:""}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px}.mat-mdc-unelevated-button .mat-focus-indicator::before,.mat-mdc-raised-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}',"@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-icon-button.mat-mdc-icon-button{outline:solid 1px}}"],encapsulation:2,changeDetection:0})}return o})(),ce=(()=>{class o extends Fv{static \u0275fac=(()=>{let e;return function(i){return(e||(e=He(o)))(i||o)}})();static \u0275cmp=S({type:o,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostVars:15,hostBindings:function(t,i){t&2&&(fe("disabled",i._getDisabledAttribute())("tabindex",i.disabled&&!i.disabledInteractive?-1:i.tabIndex)("aria-disabled",i._getAriaDisabled()),jt(i.color?"mat-"+i.color:""),te("mat-mdc-button-disabled",i.disabled)("mat-mdc-button-disabled-interactive",i.disabledInteractive)("_mat-animation-noopable",i._animationMode==="NoopAnimations")("mat-unthemed",!i.color)("mat-mdc-button-base",!0))},exportAs:["matButton","matAnchor"],features:[Ve],attrs:Bh,ngContentSelectors:Xl,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(t,i){t&1&&(Te(ql),R(0,"span",0),G(1),c(2,"span",1),G(3,1),d(),G(4,2),R(5,"span",2)(6,"span",3)),t&2&&te("mdc-button__ripple",!i._isFab)("mdc-fab__ripple",i._isFab)},styles:[Ev,Wh],encapsulation:2,changeDetection:0})}return o})(),Pv=new A("mat-mdc-fab-default-options",{providedIn:"root",factory:jh});function jh(){return{color:"accent"}}var Nh=jh();var be=(()=>{class o extends Ds{_options=p(Pv,{optional:!0});_isFab=!0;constructor(){super(),this._options=this._options||Nh,this.color=this._options.color||Nh.color}static \u0275fac=function(t){return new(t||o)};static \u0275cmp=S({type:o,selectors:[["button","mat-mini-fab",""]],hostVars:14,hostBindings:function(t,i){t&2&&(fe("disabled",i._getDisabledAttribute())("aria-disabled",i._getAriaDisabled()),jt(i.color?"mat-"+i.color:""),te("mat-mdc-button-disabled",i.disabled)("mat-mdc-button-disabled-interactive",i.disabledInteractive)("_mat-animation-noopable",i._animationMode==="NoopAnimations")("mat-unthemed",!i.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[Ve],attrs:Sv,ngContentSelectors:Xl,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(t,i){t&1&&(Te(ql),R(0,"span",0),G(1),c(2,"span",1),G(3,1),d(),G(4,2),R(5,"span",2)(6,"span",3)),t&2&&te("mdc-button__ripple",!i._isFab)("mdc-fab__ripple",i._isFab)},styles:[Tv],encapsulation:2,changeDetection:0})}return o})();var Li=(()=>{class o extends Ds{constructor(){super(),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static \u0275fac=function(t){return new(t||o)};static \u0275cmp=S({type:o,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(t,i){t&2&&(fe("disabled",i._getDisabledAttribute())("aria-disabled",i._getAriaDisabled()),jt(i.color?"mat-"+i.color:""),te("mat-mdc-button-disabled",i.disabled)("mat-mdc-button-disabled-interactive",i.disabledInteractive)("_mat-animation-noopable",i._animationMode==="NoopAnimations")("mat-unthemed",!i.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[Ve],attrs:Dv,ngContentSelectors:Rv,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(t,i){t&1&&(Te(),R(0,"span",0),G(1),R(2,"span",1)(3,"span",2))},styles:['.mat-mdc-icon-button{-webkit-user-select:none;user-select:none;display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;z-index:0;overflow:visible;border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 40px);height:var(--mdc-icon-button-state-layer-size, 40px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 40px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size, 24px);color:var(--mdc-icon-button-icon-color, var(--mat-sys-on-surface-variant));-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label,.mat-mdc-icon-button .mat-icon{z-index:1;position:relative}.mat-mdc-icon-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface-variant) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display, block)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button img,.mat-mdc-icon-button svg{width:var(--mdc-icon-button-icon-size, 24px);height:var(--mdc-icon-button-icon-size, 24px);vertical-align:baseline}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button[hidden]{display:none}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',Wh],encapsulation:2,changeDetection:0})}return o})();var de=(()=>{class o{static \u0275fac=function(t){return new(t||o)};static \u0275mod=Z({type:o});static \u0275inj=X({imports:[ke,en,ke]})}return o})();var Lv=["*"],As;function zv(){if(As===void 0&&(As=null,typeof window<"u")){let o=window;o.trustedTypes!==void 0&&(As=o.trustedTypes.createPolicy("angular#components",{createHTML:n=>n}))}return As}function Jo(o){return zv()?.createHTML(o)||o}function $h(o){return Error(`Unable to find icon with the name "${o}"`)}function Vv(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}function Uh(o){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${o}".`)}function Hh(o){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${o}".`)}var vi=class{url;svgText;options;svgElement;constructor(n,e,t){this.url=n,this.svgText=e,this.options=t}},Nv=(()=>{class o{_httpClient;_sanitizer;_errorHandler;_document;_svgIconConfigs=new Map;_iconSetConfigs=new Map;_cachedIconsByUrl=new Map;_inProgressUrlFetches=new Map;_fontCssClassesByAlias=new Map;_resolvers=[];_defaultFontSetClass=["material-icons","mat-ligature-font"];constructor(e,t,i,r){this._httpClient=e,this._sanitizer=t,this._errorHandler=r,this._document=i}addSvgIcon(e,t,i){return this.addSvgIconInNamespace("",e,t,i)}addSvgIconLiteral(e,t,i){return this.addSvgIconLiteralInNamespace("",e,t,i)}addSvgIconInNamespace(e,t,i,r){return this._addSvgIconConfig(e,t,new vi(i,null,r))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,t,i,r){let s=this._sanitizer.sanitize(bt.HTML,i);if(!s)throw Hh(i);let a=Jo(s);return this._addSvgIconConfig(e,t,new vi("",a,r))}addSvgIconSet(e,t){return this.addSvgIconSetInNamespace("",e,t)}addSvgIconSetLiteral(e,t){return this.addSvgIconSetLiteralInNamespace("",e,t)}addSvgIconSetInNamespace(e,t,i){return this._addSvgIconSetConfig(e,new vi(t,null,i))}addSvgIconSetLiteralInNamespace(e,t,i){let r=this._sanitizer.sanitize(bt.HTML,t);if(!r)throw Hh(t);let s=Jo(r);return this._addSvgIconSetConfig(e,new vi("",s,i))}registerFontClassAlias(e,t=e){return this._fontCssClassesByAlias.set(e,t),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(...e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){let t=this._sanitizer.sanitize(bt.RESOURCE_URL,e);if(!t)throw Uh(e);let i=this._cachedIconsByUrl.get(t);return i?N(Os(i)):this._loadSvgIconFromConfig(new vi(e,null)).pipe($e(r=>this._cachedIconsByUrl.set(t,r)),B(r=>Os(r)))}getNamedSvgIcon(e,t=""){let i=Gh(t,e),r=this._svgIconConfigs.get(i);if(r)return this._getSvgFromConfig(r);if(r=this._getIconConfigFromResolvers(t,e),r)return this._svgIconConfigs.set(i,r),this._getSvgFromConfig(r);let s=this._iconSetConfigs.get(t);return s?this._getSvgFromIconSetConfigs(e,s):Ni($h(i))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?N(Os(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(B(t=>Os(t)))}_getSvgFromIconSetConfigs(e,t){let i=this._extractIconWithNameFromAnySet(e,t);if(i)return N(i);let r=t.filter(s=>!s.svgText).map(s=>this._loadSvgIconSetFromConfig(s).pipe(wi(a=>{let u=`Loading icon set URL: ${this._sanitizer.sanitize(bt.RESOURCE_URL,s.url)} failed: ${a.message}`;return this._errorHandler.handleError(new Error(u)),N(null)})));return _r(r).pipe(B(()=>{let s=this._extractIconWithNameFromAnySet(e,t);if(!s)throw $h(e);return s}))}_extractIconWithNameFromAnySet(e,t){for(let i=t.length-1;i>=0;i--){let r=t[i];if(r.svgText&&r.svgText.toString().indexOf(e)>-1){let s=this._svgElementFromConfig(r),a=this._extractSvgIconFromSet(s,e,r.options);if(a)return a}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe($e(t=>e.svgText=t),B(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?N(null):this._fetchIcon(e).pipe($e(t=>e.svgText=t))}_extractSvgIconFromSet(e,t,i){let r=e.querySelector(`[id="${t}"]`);if(!r)return null;let s=r.cloneNode(!0);if(s.removeAttribute("id"),s.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(s,i);if(s.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(s),i);let a=this._svgElementFromString(Jo(""));return a.appendChild(s),this._setSvgAttributes(a,i)}_svgElementFromString(e){let t=this._document.createElement("DIV");t.innerHTML=e;let i=t.querySelector("svg");if(!i)throw Error(" tag not found");return i}_toSvgElement(e){let t=this._svgElementFromString(Jo("")),i=e.attributes;for(let r=0;rJo(u)),ki(()=>this._inProgressUrlFetches.delete(s)),Ec());return this._inProgressUrlFetches.set(s,l),l}_addSvgIconConfig(e,t,i){return this._svgIconConfigs.set(Gh(e,t),i),this}_addSvgIconSetConfig(e,t){let i=this._iconSetConfigs.get(e);return i?i.push(t):this._iconSetConfigs.set(e,[t]),this}_svgElementFromConfig(e){if(!e.svgElement){let t=this._svgElementFromString(e.svgText);this._setSvgAttributes(t,e.options),e.svgElement=t}return e.svgElement}_getIconConfigFromResolvers(e,t){for(let i=0;in?n.pathname+n.search:""}}var Yh=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],Uv=Yh.map(o=>`[${o}]`).join(", "),Hv=/^url\(['"]?#(.*?)['"]?\)$/,me=(()=>{class o{_elementRef=p(j);_iconRegistry=p(Nv);_location=p(jv);_errorHandler=p(Hi);_defaultColor;get color(){return this._color||this._defaultColor}set color(e){this._color=e}_color;inline=!1;get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}_svgIcon;get fontSet(){return this._fontSet}set fontSet(e){let t=this._cleanupFontValue(e);t!==this._fontSet&&(this._fontSet=t,this._updateFontIconClasses())}_fontSet;get fontIcon(){return this._fontIcon}set fontIcon(e){let t=this._cleanupFontValue(e);t!==this._fontIcon&&(this._fontIcon=t,this._updateFontIconClasses())}_fontIcon;_previousFontSetClass=[];_previousFontIconClass;_svgName;_svgNamespace;_previousPath;_elementsWithExternalReferences;_currentIconFetch=Ue.EMPTY;constructor(){let e=p(new Ui("aria-hidden"),{optional:!0}),t=p(Wv,{optional:!0});t&&(t.color&&(this.color=this._defaultColor=t.color),t.fontSet&&(this.fontSet=t.fontSet)),e||this._elementRef.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(e){if(!e)return["",""];let t=e.split(":");switch(t.length){case 1:return["",t[0]];case 2:return t;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let e=this._elementsWithExternalReferences;if(e&&e.size){let t=this._location.getPathname();t!==this._previousPath&&(this._previousPath=t,this._prependPathToReferences(t))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();let t=this._location.getPathname();this._previousPath=t,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(t),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){let e=this._elementRef.nativeElement,t=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();t--;){let i=e.childNodes[t];(i.nodeType!==1||i.nodeName.toLowerCase()==="svg")&&i.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let e=this._elementRef.nativeElement,t=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(i=>i.length>0);this._previousFontSetClass.forEach(i=>e.classList.remove(i)),t.forEach(i=>e.classList.add(i)),this._previousFontSetClass=t,this.fontIcon!==this._previousFontIconClass&&!t.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 typeof e=="string"?e.trim().split(" ")[0]:e}_prependPathToReferences(e){let t=this._elementsWithExternalReferences;t&&t.forEach((i,r)=>{i.forEach(s=>{r.setAttribute(s.name,`url('${e}#${s.value}')`)})})}_cacheChildrenWithExternalReferences(e){let t=e.querySelectorAll(Uv),i=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let r=0;r{let a=t[r],l=a.getAttribute(s),u=l?l.match(Hv):null;if(u){let _=i.get(a);_||(_=[],i.set(a,_)),_.push({name:s,value:u[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){let[t,i]=this._splitIconName(e);t&&(this._svgNamespace=t),i&&(this._svgName=i),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(i,t).pipe(mt(1)).subscribe(r=>this._setSvgElement(r),r=>{let s=`Error retrieving icon ${t}:${i}! ${r.message}`;this._errorHandler.handleError(new Error(s))})}}static \u0275fac=function(t){return new(t||o)};static \u0275cmp=S({type:o,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(t,i){t&2&&(fe("data-mat-icon-type",i._usingFontIcon()?"font":"svg")("data-mat-icon-name",i._svgName||i.fontIcon)("data-mat-icon-namespace",i._svgNamespace||i.fontSet)("fontIcon",i._usingFontIcon()?i.fontIcon:null),jt(i.color?"mat-"+i.color:""),te("mat-icon-inline",i.inline)("mat-icon-no-color",i.color!=="primary"&&i.color!=="accent"&&i.color!=="warn"))},inputs:{color:"color",inline:[2,"inline","inline",q],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[Fe],ngContentSelectors:Lv,decls:1,vars:0,template:function(t,i){t&1&&(Te(),G(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color, inherit)}.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})}return o})(),he=(()=>{class o{static \u0275fac=function(t){return new(t||o)};static \u0275mod=Z({type:o});static \u0275inj=X({imports:[ke,ke]})}return o})();var Zh=["*"];function Gv(o,n){if(o&1&&R(0,"div",0),o&2){let e=n.$index,t=f();M("ngStyle",t.gridRenderer.getGridColumnStyle(e))}}function Yv(o,n){if(o&1&&R(0,"div",1),o&2){let e=n.$index,t=f();M("ngStyle",t.gridRenderer.getGridRowStyle(e))}}function qv(o,n){if(o&1){let e=F();c(0,"div",8),g("mousedown",function(i){b(e);let r=f();return v(r.resize.dragStartDelay(i))})("touchstart",function(i){b(e);let r=f();return v(r.resize.dragStartDelay(i))}),d()}}function Xv(o,n){if(o&1){let e=F();c(0,"div",9),g("mousedown",function(i){b(e);let r=f();return v(r.resize.dragStartDelay(i))})("touchstart",function(i){b(e);let r=f();return v(r.resize.dragStartDelay(i))}),d()}}function Zv(o,n){if(o&1){let e=F();c(0,"div",10),g("mousedown",function(i){b(e);let r=f();return v(r.resize.dragStartDelay(i))})("touchstart",function(i){b(e);let r=f();return v(r.resize.dragStartDelay(i))}),d()}}function Kv(o,n){if(o&1){let e=F();c(0,"div",11),g("mousedown",function(i){b(e);let r=f();return v(r.resize.dragStartDelay(i))})("touchstart",function(i){b(e);let r=f();return v(r.resize.dragStartDelay(i))}),d()}}function Qv(o,n){if(o&1){let e=F();c(0,"div",12),g("mousedown",function(i){b(e);let r=f();return v(r.resize.dragStartDelay(i))})("touchstart",function(i){b(e);let r=f();return v(r.resize.dragStartDelay(i))}),d()}}function Jv(o,n){if(o&1){let e=F();c(0,"div",13),g("mousedown",function(i){b(e);let r=f();return v(r.resize.dragStartDelay(i))})("touchstart",function(i){b(e);let r=f();return v(r.resize.dragStartDelay(i))}),d()}}function ey(o,n){if(o&1){let e=F();c(0,"div",14),g("mousedown",function(i){b(e);let r=f();return v(r.resize.dragStartDelay(i))})("touchstart",function(i){b(e);let r=f();return v(r.resize.dragStartDelay(i))}),d()}}function ty(o,n){if(o&1){let e=F();c(0,"div",15),g("mousedown",function(i){b(e);let r=f();return v(r.resize.dragStartDelay(i))})("touchstart",function(i){b(e);let r=f();return v(r.resize.dragStartDelay(i))}),d()}}var P=function(o){return o.Fit="fit",o.ScrollVertical="scrollVertical",o.ScrollHorizontal="scrollHorizontal",o.Fixed="fixed",o.VerticalFixed="verticalFixed",o.HorizontalFixed="horizontalFixed",o}(P||{}),ve=function(o){return o.Always="always",o.OnDragAndResize="onDrag&Resize",o.None="none",o}(ve||{}),ue=function(o){return o.None="none",o.CompactUp="compactUp",o.CompactLeft="compactLeft",o.CompactUpAndLeft="compactUp&Left",o.CompactLeftAndUp="compactLeft&Up",o.CompactRight="compactRight",o.CompactUpAndRight="compactUp&Right",o.CompactRightAndUp="compactRight&Up",o.CompactDown="compactDown",o.CompactDownAndLeft="compactDown&Left",o.CompactLeftAndDown="compactLeft&Down",o.CompactDownAndRight="compactDown&Right",o.CompactRightAndDown="compactRight&Down",o}(ue||{}),nt=function(o){return o.LTR="ltr",o.RTL="rtl",o}(nt||{}),Zl=class{constructor(n){this.gridster=n}destroy(){this.gridster=null}checkCompact(){this.gridster.$options.compactType!==ue.None&&(this.gridster.$options.compactType===ue.CompactUp?this.checkCompactMovement("y",-1):this.gridster.$options.compactType===ue.CompactLeft?this.checkCompactMovement("x",-1):this.gridster.$options.compactType===ue.CompactUpAndLeft?(this.checkCompactMovement("y",-1),this.checkCompactMovement("x",-1)):this.gridster.$options.compactType===ue.CompactLeftAndUp?(this.checkCompactMovement("x",-1),this.checkCompactMovement("y",-1)):this.gridster.$options.compactType===ue.CompactRight?this.checkCompactMovement("x",1):this.gridster.$options.compactType===ue.CompactUpAndRight?(this.checkCompactMovement("y",-1),this.checkCompactMovement("x",1)):this.gridster.$options.compactType===ue.CompactRightAndUp?(this.checkCompactMovement("x",1),this.checkCompactMovement("y",-1)):this.gridster.$options.compactType===ue.CompactDown?this.checkCompactMovement("y",1):this.gridster.$options.compactType===ue.CompactDownAndLeft?(this.checkCompactMovement("y",1),this.checkCompactMovement("x",-1)):this.gridster.$options.compactType===ue.CompactDownAndRight?(this.checkCompactMovement("y",1),this.checkCompactMovement("x",1)):this.gridster.$options.compactType===ue.CompactLeftAndDown?(this.checkCompactMovement("x",-1),this.checkCompactMovement("y",1)):this.gridster.$options.compactType===ue.CompactRightAndDown&&(this.checkCompactMovement("x",1),this.checkCompactMovement("y",1)))}checkCompactItem(n){this.gridster.$options.compactType!==ue.None&&(this.gridster.$options.compactType===ue.CompactUp?this.moveTillCollision(n,"y",-1):this.gridster.$options.compactType===ue.CompactLeft?this.moveTillCollision(n,"x",-1):this.gridster.$options.compactType===ue.CompactUpAndLeft?(this.moveTillCollision(n,"y",-1),this.moveTillCollision(n,"x",-1)):this.gridster.$options.compactType===ue.CompactLeftAndUp?(this.moveTillCollision(n,"x",-1),this.moveTillCollision(n,"y",-1)):this.gridster.$options.compactType===ue.CompactUpAndRight?(this.moveTillCollision(n,"y",-1),this.moveTillCollision(n,"x",1)):this.gridster.$options.compactType===ue.CompactDown?this.moveTillCollision(n,"y",1):this.gridster.$options.compactType===ue.CompactDownAndLeft?(this.moveTillCollision(n,"y",1),this.moveTillCollision(n,"x",-1)):this.gridster.$options.compactType===ue.CompactLeftAndDown?(this.moveTillCollision(n,"x",-1),this.moveTillCollision(n,"y",1)):this.gridster.$options.compactType===ue.CompactDownAndRight?(this.moveTillCollision(n,"y",1),this.moveTillCollision(n,"x",1)):this.gridster.$options.compactType===ue.CompactRightAndDown&&(this.moveTillCollision(n,"x",1),this.moveTillCollision(n,"y",1)))}checkCompactMovement(n,e){let t=!1;this.gridster.grid.forEach(i=>{i.$item.compactEnabled!==!1&&this.moveTillCollision(i.$item,n,e)&&(t=!0,i.item[n]=i.$item[n],i.itemChanged())}),t&&this.checkCompact()}moveTillCollision(n,e,t){return n[e]+=t,this.gridster.checkCollision(n)?(n[e]-=t,!1):(this.moveTillCollision(n,e,t),!0)}},iy={gridType:P.Fit,scale:1,fixedColWidth:250,fixedRowHeight:250,keepFixedHeightInMobile:!1,keepFixedWidthInMobile:!1,setGridSize:!1,compactType:ue.None,mobileBreakpoint:640,useBodyForBreakpoint:!1,allowMultiLayer:!1,defaultLayerIndex:0,maxLayerIndex:2,baseLayerIndex:1,minCols:1,maxCols:100,minRows:1,maxRows:100,defaultItemCols:1,defaultItemRows:1,maxItemCols:50,maxItemRows:50,minItemCols:1,minItemRows:1,minItemArea:1,maxItemArea:2500,addEmptyRowsCount:0,rowHeightRatio:1,margin:10,outerMargin:!0,outerMarginTop:null,outerMarginRight:null,outerMarginBottom:null,outerMarginLeft:null,useTransformPositioning:!0,scrollSensitivity:10,scrollSpeed:20,initCallback:void 0,destroyCallback:void 0,gridSizeChangedCallback:void 0,itemChangeCallback:void 0,itemResizeCallback:void 0,itemInitCallback:void 0,itemRemovedCallback:void 0,itemValidateCallback:void 0,enableEmptyCellClick:!1,enableEmptyCellContextMenu:!1,enableEmptyCellDrop:!1,enableEmptyCellDrag:!1,enableOccupiedCellDrop:!1,emptyCellClickCallback:void 0,emptyCellContextMenuCallback:void 0,emptyCellDropCallback:void 0,emptyCellDragCallback:void 0,emptyCellDragMaxCols:50,emptyCellDragMaxRows:50,ignoreMarginInRow:!1,draggable:{delayStart:0,enabled:!1,ignoreContentClass:"gridster-item-content",ignoreContent:!1,dragHandleClass:"drag-handler",stop:void 0,start:void 0,dropOverItems:!1,dropOverItemsCallback:void 0},resizable:{delayStart:0,enabled:!1,handles:{s:!0,e:!0,n:!0,w:!0,se:!0,ne:!0,sw:!0,nw:!0},stop:void 0,start:void 0},swap:!0,swapWhileDragging:!1,pushItems:!1,disablePushOnDrag:!1,disablePushOnResize:!1,pushDirections:{north:!0,east:!0,south:!0,west:!0},pushResizeItems:!1,displayGrid:ve.OnDragAndResize,disableWindowResize:!1,disableWarnings:!1,scrollToNewItems:!1,disableScrollHorizontal:!1,disableScrollVertical:!1,enableBoundaryControl:!1,disableAutoPositionOnConflict:!1,dirType:nt.LTR},pt=class o{static merge(n,e,t){for(let i in e)e[i]!==void 0&&t.hasOwnProperty(i)&&(typeof e[i]=="object"?(i in n||(n[i]={}),n[i]=o.merge(n[i],e[i],t[i])):n[i]=e[i]);return n}static checkTouchEvent(n){n.clientX===void 0&&n.touches&&(n.touches&&n.touches.length?(n.clientX=n.touches[0].clientX,n.clientY=n.touches[0].clientY):n.changedTouches&&n.changedTouches.length&&(n.clientX=n.changedTouches[0].clientX,n.clientY=n.changedTouches[0].clientY))}static checkContentClassForEvent(n,e){if(n.$options.draggable.ignoreContent){if(!o.checkDragHandleClass(e.target,e.currentTarget,n.$options.draggable.dragHandleClass,n.$options.draggable.ignoreContentClass))return!0}else if(o.checkContentClass(e.target,e.currentTarget,n.$options.draggable.ignoreContentClass))return!0;return!1}static checkContentClassForEmptyCellClickEvent(n,e){return o.checkContentClass(e.target,e.currentTarget,n.$options.draggable.ignoreContentClass)||o.checkContentClass(e.target,e.currentTarget,n.$options.draggable.dragHandleClass)}static checkDragHandleClass(n,e,t,i){if(!n||n===e)return!1;if(n.hasAttribute("class")){let r=n.getAttribute("class").split(" ");if(r.indexOf(t)>-1)return!0;if(r.indexOf(i)>-1)return!1}return o.checkDragHandleClass(n.parentNode,e,t,i)}static checkContentClass(n,e,t){return!n||n===e?!1:n.hasAttribute("class")&&n.getAttribute("class").split(" ").indexOf(t)>-1?!0:o.checkContentClass(n.parentNode,e,t)}static compareItems(n,e){return n.y>e.y?-1:n.ye.x?-1:1}},Kl=class{constructor(n){this.gridster=n,this.emptyCellClickCb=e=>{if(!this.gridster||this.gridster.movingItem||pt.checkContentClassForEmptyCellClickEvent(this.gridster,e))return;let t=this.getValidItemFromEvent(e);t&&(this.gridster.options.emptyCellClickCallback&&this.gridster.options.emptyCellClickCallback(e,t),this.gridster.cdRef.markForCheck())},this.emptyCellContextMenuCb=e=>{if(this.gridster.movingItem||pt.checkContentClassForEmptyCellClickEvent(this.gridster,e))return;e.preventDefault(),e.stopPropagation();let t=this.getValidItemFromEvent(e);t&&(this.gridster.options.emptyCellContextMenuCallback&&this.gridster.options.emptyCellContextMenuCallback(e,t),this.gridster.cdRef.markForCheck())},this.emptyCellDragDrop=e=>{let t=this.getValidItemFromEvent(e);t&&(this.gridster.options.emptyCellDropCallback&&this.gridster.options.emptyCellDropCallback(e,t),this.gridster.cdRef.markForCheck())},this.emptyCellDragOver=e=>{e.preventDefault(),e.stopPropagation();let t=this.getValidItemFromEvent(e);t?(e.dataTransfer&&(e.dataTransfer.dropEffect="move"),this.gridster.movingItem=t):(e.dataTransfer&&(e.dataTransfer.dropEffect="none"),this.gridster.movingItem=null),this.gridster.previewStyle()},this.emptyCellMouseDown=e=>{if(pt.checkContentClassForEmptyCellClickEvent(this.gridster,e))return;e.preventDefault(),e.stopPropagation();let t=this.getValidItemFromEvent(e);!t||e.buttons!==1&&!(e instanceof TouchEvent)||(this.initialItem=t,this.gridster.movingItem=t,this.gridster.previewStyle(),this.gridster.zone.runOutsideAngular(()=>{this.removeWindowMousemoveListenerFn=this.gridster.renderer.listen("window","mousemove",this.emptyCellMouseMove),this.removeWindowTouchmoveListenerFn=this.gridster.renderer.listen("window","touchmove",this.emptyCellMouseMove)}),this.removeWindowMouseupListenerFn=this.gridster.renderer.listen("window","mouseup",this.emptyCellMouseUp),this.removeWindowTouchendListenerFn=this.gridster.renderer.listen("window","touchend",this.emptyCellMouseUp))},this.emptyCellMouseMove=e=>{e.preventDefault(),e.stopPropagation();let t=this.getValidItemFromEvent(e,this.initialItem);t&&(this.gridster.movingItem=t,this.gridster.previewStyle())},this.emptyCellMouseUp=e=>{this.removeWindowMousemoveListenerFn(),this.removeWindowTouchmoveListenerFn(),this.removeWindowMouseupListenerFn(),this.removeWindowTouchendListenerFn();let t=this.getValidItemFromEvent(e,this.initialItem);t&&(this.gridster.movingItem=t),this.gridster.options.emptyCellDragCallback&&this.gridster.movingItem&&this.gridster.options.emptyCellDragCallback(e,this.gridster.movingItem),setTimeout(()=>{this.initialItem=null,this.gridster&&(this.gridster.movingItem=null,this.gridster.previewStyle())}),this.gridster.cdRef.markForCheck()}}destroy(){this.gridster.previewStyle&&this.gridster.previewStyle(),this.gridster.movingItem=null,this.initialItem=this.gridster=null,this.removeDocumentDragendListenerFn&&(this.removeDocumentDragendListenerFn(),this.removeDocumentDragendListenerFn=null)}updateOptions(){this.gridster.$options.enableEmptyCellClick&&!this.removeEmptyCellClickListenerFn&&this.gridster.options.emptyCellClickCallback?(this.removeEmptyCellClickListenerFn=this.gridster.renderer.listen(this.gridster.el,"click",this.emptyCellClickCb),this.removeEmptyCellTouchendListenerFn=this.gridster.renderer.listen(this.gridster.el,"touchend",this.emptyCellClickCb)):!this.gridster.$options.enableEmptyCellClick&&this.removeEmptyCellClickListenerFn&&this.removeEmptyCellTouchendListenerFn&&(this.removeEmptyCellClickListenerFn(),this.removeEmptyCellTouchendListenerFn(),this.removeEmptyCellClickListenerFn=null,this.removeEmptyCellTouchendListenerFn=null),this.gridster.$options.enableEmptyCellContextMenu&&!this.removeEmptyCellContextMenuListenerFn&&this.gridster.options.emptyCellContextMenuCallback?this.removeEmptyCellContextMenuListenerFn=this.gridster.renderer.listen(this.gridster.el,"contextmenu",this.emptyCellContextMenuCb):!this.gridster.$options.enableEmptyCellContextMenu&&this.removeEmptyCellContextMenuListenerFn&&(this.removeEmptyCellContextMenuListenerFn(),this.removeEmptyCellContextMenuListenerFn=null),this.gridster.$options.enableEmptyCellDrop&&!this.removeEmptyCellDropListenerFn&&this.gridster.options.emptyCellDropCallback?(this.removeEmptyCellDropListenerFn=this.gridster.renderer.listen(this.gridster.el,"drop",this.emptyCellDragDrop),this.gridster.zone.runOutsideAngular(()=>{this.removeEmptyCellDragoverListenerFn=this.gridster.renderer.listen(this.gridster.el,"dragover",this.emptyCellDragOver)}),this.removeDocumentDragendListenerFn=this.gridster.renderer.listen("document","dragend",()=>{this.gridster.movingItem=null,this.gridster.previewStyle()})):!this.gridster.$options.enableEmptyCellDrop&&this.removeEmptyCellDropListenerFn&&this.removeEmptyCellDragoverListenerFn&&this.removeDocumentDragendListenerFn&&(this.removeEmptyCellDropListenerFn(),this.removeEmptyCellDragoverListenerFn(),this.removeDocumentDragendListenerFn(),this.removeEmptyCellDragoverListenerFn=null,this.removeEmptyCellDropListenerFn=null,this.removeDocumentDragendListenerFn=null),this.gridster.$options.enableEmptyCellDrag&&!this.removeEmptyCellMousedownListenerFn&&this.gridster.options.emptyCellDragCallback?(this.removeEmptyCellMousedownListenerFn=this.gridster.renderer.listen(this.gridster.el,"mousedown",this.emptyCellMouseDown),this.removeEmptyCellTouchstartListenerFn=this.gridster.renderer.listen(this.gridster.el,"touchstart",this.emptyCellMouseDown)):!this.gridster.$options.enableEmptyCellDrag&&this.removeEmptyCellMousedownListenerFn&&this.removeEmptyCellTouchstartListenerFn&&(this.removeEmptyCellMousedownListenerFn(),this.removeEmptyCellTouchstartListenerFn(),this.removeEmptyCellMousedownListenerFn=null,this.removeEmptyCellTouchstartListenerFn=null)}getPixelsX(n,e){let t=this.gridster.options.scale;return t?(n.clientX-e.left)/t+this.gridster.el.scrollLeft-this.gridster.gridRenderer.getLeftMargin():n.clientX+this.gridster.el.scrollLeft-e.left-this.gridster.gridRenderer.getLeftMargin()}getPixelsY(n,e){let t=this.gridster.options.scale;return t?(n.clientY-e.top)/t+this.gridster.el.scrollTop-this.gridster.gridRenderer.getTopMargin():n.clientY+this.gridster.el.scrollTop-e.top-this.gridster.gridRenderer.getTopMargin()}getValidItemFromEvent(n,e){n.preventDefault(),n.stopPropagation(),pt.checkTouchEvent(n);let t=this.gridster.el.getBoundingClientRect(),i=this.getPixelsX(n,t),r=this.getPixelsY(n,t),s={x:this.gridster.pixelsToPositionX(i,Math.floor,!0),y:this.gridster.pixelsToPositionY(r,Math.floor,!0),cols:this.gridster.$options.defaultItemCols,rows:this.gridster.$options.defaultItemRows};if(e&&(s.cols=Math.min(Math.abs(e.x-s.x)+1,this.gridster.$options.emptyCellDragMaxCols),s.rows=Math.min(Math.abs(e.y-s.y)+1,this.gridster.$options.emptyCellDragMaxRows),e.xthis.gridster.$options.emptyCellDragMaxCols-1&&(s.x=this.gridster.movingItem?this.gridster.movingItem.x:0),e.ythis.gridster.$options.emptyCellDragMaxRows-1&&(s.y=this.gridster.movingItem?this.gridster.movingItem.y:0)),!(!this.gridster.$options.enableOccupiedCellDrop&&this.gridster.checkCollision(s)))return s}},Ql=class{constructor(n){this.gridster=n,this.lastGridColumnStyles={},this.lastGridRowStyles={}}destroy(){this.gridster=null}updateItem(n,e,t){if(this.gridster.mobile)this.clearCellPosition(t,n),this.gridster.$options.keepFixedHeightInMobile?t.setStyle(n,"height",(e.rows-1)*this.gridster.$options.margin+e.rows*this.gridster.$options.fixedRowHeight+"px"):t.setStyle(n,"height",e.rows*this.gridster.curWidth/e.cols+"px"),this.gridster.$options.keepFixedWidthInMobile?t.setStyle(n,"width",this.gridster.$options.fixedColWidth+"px"):t.setStyle(n,"width",""),t.setStyle(n,"margin-bottom",this.gridster.$options.margin+"px"),t.setStyle(n,nt.LTR?"margin-right":"margin-left","");else{let i=Math.round(this.gridster.curColWidth*e.x),r=Math.round(this.gridster.curRowHeight*e.y),s=this.gridster.curColWidth*e.cols-this.gridster.$options.margin,a=this.gridster.curRowHeight*e.rows-this.gridster.$options.margin;this.setCellPosition(t,n,i,r),t.setStyle(n,"width",s+"px"),t.setStyle(n,"height",a+"px");let l=null,u=null;this.gridster.$options.outerMargin&&(this.gridster.rows===e.rows+e.y&&(this.gridster.$options.outerMarginBottom!==null?l=this.gridster.$options.outerMarginBottom+"px":l=this.gridster.$options.margin+"px"),this.gridster.columns===e.cols+e.x&&(this.gridster.$options.outerMarginBottom!==null?u=this.gridster.$options.outerMarginRight+"px":u=this.gridster.$options.margin+"px")),t.setStyle(n,"margin-bottom",l),t.setStyle(n,nt.LTR?"margin-right":"margin-left",u)}}updateGridster(){let n="",e="",t="",i="";if(this.gridster.$options.gridType===P.Fit)n=P.Fit,e=P.ScrollVertical,t=P.ScrollHorizontal,i=P.Fixed;else if(this.gridster.$options.gridType===P.ScrollVertical)this.gridster.curRowHeight=this.gridster.curColWidth*this.gridster.$options.rowHeightRatio,n=P.ScrollVertical,e=P.Fit,t=P.ScrollHorizontal,i=P.Fixed;else if(this.gridster.$options.gridType===P.ScrollHorizontal){let r=this.gridster.$options.rowHeightRatio,s=r>=1?r:r+1;this.gridster.curColWidth=this.gridster.curRowHeight*s,n=P.ScrollHorizontal,e=P.Fit,t=P.ScrollVertical,i=P.Fixed}else this.gridster.$options.gridType===P.Fixed?(this.gridster.curColWidth=this.gridster.$options.fixedColWidth+(this.gridster.$options.ignoreMarginInRow?0:this.gridster.$options.margin),this.gridster.curRowHeight=this.gridster.$options.fixedRowHeight+(this.gridster.$options.ignoreMarginInRow?0:this.gridster.$options.margin),n=P.Fixed,e=P.Fit,t=P.ScrollVertical,i=P.ScrollHorizontal):this.gridster.$options.gridType===P.VerticalFixed?(this.gridster.curRowHeight=this.gridster.$options.fixedRowHeight+(this.gridster.$options.ignoreMarginInRow?0:this.gridster.$options.margin),n=P.ScrollVertical,e=P.Fit,t=P.ScrollHorizontal,i=P.Fixed):this.gridster.$options.gridType===P.HorizontalFixed&&(this.gridster.curColWidth=this.gridster.$options.fixedColWidth+(this.gridster.$options.ignoreMarginInRow?0:this.gridster.$options.margin),n=P.ScrollHorizontal,e=P.Fit,t=P.ScrollVertical,i=P.Fixed);this.gridster.mobile||this.gridster.$options.setGridSize&&this.gridster.$options.gridType!==P.Fit?this.gridster.renderer.removeClass(this.gridster.el,n):this.gridster.renderer.addClass(this.gridster.el,n),this.gridster.renderer.removeClass(this.gridster.el,e),this.gridster.renderer.removeClass(this.gridster.el,t),this.gridster.renderer.removeClass(this.gridster.el,i)}getGridColumnStyle(n){let e={left:this.gridster.curColWidth*n,width:this.gridster.curColWidth-this.gridster.$options.margin,height:this.gridster.gridRows.length*this.gridster.curRowHeight-this.gridster.$options.margin,style:{}};e.style=re(k({},this.getLeftPosition(e.left)),{width:e.width+"px",height:e.height+"px"});let t=this.lastGridColumnStyles[n];return t&&t.left===e.left&&t.width===e.width&&t.height===e.height?t.style:(this.lastGridColumnStyles[n]=e,e.style)}getGridRowStyle(n){let e={top:this.gridster.curRowHeight*n,width:this.gridster.gridColumns.length*this.gridster.curColWidth+this.gridster.$options.margin,height:this.gridster.curRowHeight-this.gridster.$options.margin,style:{}};e.style=re(k({},this.getTopPosition(e.top)),{width:e.width+"px",height:e.height+"px"});let t=this.lastGridRowStyles[n];return t&&t.top===e.top&&t.width===e.width&&t.height===e.height?t.style:(this.lastGridRowStyles[n]=e,e.style)}getLeftPosition(n){let e=this.gridster.$options.dirType===nt.RTL?-n:n;return this.gridster.$options.useTransformPositioning?{transform:"translateX("+e+"px)"}:{left:this.getLeftMargin()+e+"px"}}getTopPosition(n){return this.gridster.$options.useTransformPositioning?{transform:"translateY("+n+"px)"}:{top:this.getTopMargin()+n+"px"}}clearCellPosition(n,e){this.gridster.$options.useTransformPositioning?n.setStyle(e,"transform",""):(n.setStyle(e,"top",""),n.setStyle(e,"left",""))}setCellPosition(n,e,t,i){let r=this.gridster.$options.dirType===nt.RTL?-t:t;if(this.gridster.$options.useTransformPositioning){let s="translate3d("+r+"px, "+i+"px, 0)";n.setStyle(e,"transform",s)}else n.setStyle(e,"left",this.getLeftMargin()+r+"px"),n.setStyle(e,"top",this.getTopMargin()+i+"px")}getLeftMargin(){return this.gridster.$options.outerMargin?this.gridster.$options.outerMarginLeft!==null?this.gridster.$options.outerMarginLeft:this.gridster.$options.margin:0}getTopMargin(){return this.gridster.$options.outerMargin?this.gridster.$options.outerMarginTop!==null?this.gridster.$options.outerMarginTop:this.gridster.$options.margin:0}},ny=(()=>{class o{constructor(e,t){this.renderer=t,this.el=e.nativeElement}ngOnInit(){this.sub=this.previewStyle$.subscribe(e=>this.previewStyle(e))}ngOnDestroy(){this.sub&&this.sub.unsubscribe()}previewStyle(e){e?(this.renderer.setStyle(this.el,"display","block"),this.gridRenderer.updateItem(this.el,e,this.renderer)):this.renderer.setStyle(this.el,"display","")}static{this.\u0275fac=function(t){return new(t||o)(Q(j),Q(Wt))}}static{this.\u0275cmp=S({type:o,selectors:[["gridster-preview"]],inputs:{previewStyle$:"previewStyle$",gridRenderer:"gridRenderer"},decls:0,vars:0,template:function(t,i){},styles:[`gridster-preview{position:absolute;display:none;background:#00000026} +`],encapsulation:2})}}return o})(),se=(()=>{class o{constructor(e,t,i,r){this.renderer=t,this.cdRef=i,this.zone=r,this.columns=0,this.rows=0,this.gridColumns=[],this.gridRows=[],this.previewStyle$=new H,this.calculateLayout$=new V,this.resize$=new V,this.destroy$=new V,this.optionsChanged=()=>{this.setOptions();let s=this.grid.length-1,a;for(;s>=0;s--)a=this.grid[s],a.updateOptions();this.calculateLayout()},this.onResize=()=>{this.el.clientWidth&&(this.options.setGridSize&&(this.renderer.setStyle(this.el,"width",""),this.renderer.setStyle(this.el,"height","")),this.setGridSize(),this.calculateLayout())},this.getNextPossiblePosition=(s,a={})=>{s.cols===-1&&(s.cols=this.$options.defaultItemCols),s.rows===-1&&(s.rows=this.$options.defaultItemRows),this.setGridDimensions();let l=a.y||0,u;for(;l=this.rows+s.rows,y=this.$options.maxCols>=this.columns+s.cols;return!(this.rows<=this.columns&&_)&&y?(s.x=this.columns,s.y=0,!0):_?(s.y=this.rows,s.x=0,!0):!1},this.getFirstPossiblePosition=s=>{let a=Object.assign({},s);return this.getNextPossiblePosition(a),a},this.getLastPossiblePosition=s=>{let a={y:0,x:0};a=this.grid.reduce((u,_)=>{let y={y:_.$item.y+_.$item.rows-1,x:_.$item.x+_.$item.cols-1};return pt.compareItems(u,y)===1?y:u},a);let l=Object.assign({},s);return this.getNextPossiblePosition(l,a),l},this.el=e.nativeElement,this.$options=JSON.parse(JSON.stringify(iy)),this.mobile=!1,this.curWidth=0,this.curHeight=0,this.grid=[],this.curColWidth=0,this.curRowHeight=0,this.dragInProgress=!1,this.emptyCell=new Kl(this),this.compact=new Zl(this),this.gridRenderer=new Ql(this)}static checkCollisionTwoItemsForSwaping(e,t){let i=e.cols===1?0:1,r=t.cols===1?0:1,s=e.rows===1?0:1,a=t.rows===1?0:1;return e.x+it.x+r&&e.y+st.y+a}checkCollisionTwoItems(e,t){if(!(e.xt.x&&e.yt.y))return!1;if(!this.$options.allowMultiLayer)return!0;let r=this.$options.defaultLayerIndex,s=e.layerIndex===void 0?r:e.layerIndex,a=t.layerIndex===void 0?r:t.layerIndex;return s===a}ngOnInit(){this.options.initCallback&&this.options.initCallback(this),this.calculateLayout$.pipe(Ci(0),Ce(this.destroy$)).subscribe(()=>this.calculateLayout()),this.resize$.pipe(je(()=>br(100)),Ce(this.destroy$)).subscribe(()=>this.resize())}ngOnChanges(e){e.options&&(this.setOptions(),this.options.api={optionsChanged:this.optionsChanged,resize:this.onResize,getNextPossiblePosition:this.getNextPossiblePosition,getFirstPossiblePosition:this.getFirstPossiblePosition,getLastPossiblePosition:this.getLastPossiblePosition,getItemComponent:t=>this.getItemComponent(t)},this.columns=this.$options.minCols,this.rows=this.$options.minRows+this.$options.addEmptyRowsCount,this.setGridSize(),this.calculateLayout())}resize(){let e,t;this.$options.gridType==="fit"&&!this.mobile?(t=this.el.offsetWidth,e=this.el.offsetHeight):(t=this.el.clientWidth,e=this.el.clientHeight),(t!==this.curWidth||e!==this.curHeight)&&this.checkIfToResize()&&this.onResize()}setOptions(){this.$options=pt.merge(this.$options,this.options,this.$options),!this.$options.disableWindowResize&&!this.windowResize?this.windowResize=this.renderer.listen("window","resize",this.onResize):this.$options.disableWindowResize&&this.windowResize&&(this.windowResize(),this.windowResize=null),this.emptyCell.updateOptions()}ngOnDestroy(){this.destroy$.next(),this.previewStyle$.complete(),this.windowResize&&this.windowResize(),this.options&&this.options.destroyCallback&&this.options.destroyCallback(this),this.options&&this.options.api&&(this.options.api.resize=void 0,this.options.api.optionsChanged=void 0,this.options.api.getNextPossiblePosition=void 0,this.options.api=void 0),this.emptyCell.destroy(),this.emptyCell=null,this.compact.destroy(),this.compact=null}checkIfToResize(){let e=this.el.clientWidth,t=this.el.offsetWidth,i=this.el.scrollWidth,r=this.el.clientHeight,s=this.el.offsetHeight,a=this.el.scrollHeight,l=es&&a-st&&i-tdocument.body.clientWidth:this.$options.mobileBreakpoint>this.curWidth}setGridSize(){let e=this.el,t,i;this.$options.setGridSize||this.$options.gridType===P.Fit&&!this.mobile?(t=e.offsetWidth,i=e.offsetHeight):(t=e.clientWidth,i=e.clientHeight),this.curWidth=t,this.curHeight=i}setGridDimensions(){this.setGridSize(),!this.mobile&&this.checkIfMobile()?(this.mobile=!this.mobile,this.renderer.addClass(this.el,"mobile")):this.mobile&&!this.checkIfMobile()&&(this.mobile=!this.mobile,this.renderer.removeClass(this.el,"mobile"));let e=this.$options.minRows,t=this.$options.minCols,i=this.grid.length-1,r;for(;i>=0;i--)r=this.grid[i],r.notPlaced||(e=Math.max(e,r.$item.y+r.$item.rows),t=Math.max(t,r.$item.x+r.$item.cols));e+=this.$options.addEmptyRowsCount,(this.columns!==t||this.rows!==e)&&(this.columns=t,this.rows=e,this.options.gridSizeChangedCallback&&this.options.gridSizeChangedCallback(this))}calculateLayout(){if(this.compact&&this.compact.checkCompact(),this.setGridDimensions(),this.$options.outerMargin){let i=-this.$options.margin;this.$options.outerMarginLeft!==null?(i+=this.$options.outerMarginLeft,this.renderer.setStyle(this.el,"padding-left",this.$options.outerMarginLeft+"px")):(i+=this.$options.margin,this.renderer.setStyle(this.el,"padding-left",this.$options.margin+"px")),this.$options.outerMarginRight!==null?(i+=this.$options.outerMarginRight,this.renderer.setStyle(this.el,"padding-right",this.$options.outerMarginRight+"px")):(i+=this.$options.margin,this.renderer.setStyle(this.el,"padding-right",this.$options.margin+"px")),this.curColWidth=(this.curWidth-i)/this.columns;let r=-this.$options.margin;this.$options.outerMarginTop!==null?(r+=this.$options.outerMarginTop,this.renderer.setStyle(this.el,"padding-top",this.$options.outerMarginTop+"px")):(r+=this.$options.margin,this.renderer.setStyle(this.el,"padding-top",this.$options.margin+"px")),this.$options.outerMarginBottom!==null?(r+=this.$options.outerMarginBottom,this.renderer.setStyle(this.el,"padding-bottom",this.$options.outerMarginBottom+"px")):(r+=this.$options.margin,this.renderer.setStyle(this.el,"padding-bottom",this.$options.margin+"px")),this.curRowHeight=(this.curHeight-r)/this.rows*this.$options.rowHeightRatio}else this.curColWidth=(this.curWidth+this.$options.margin)/this.columns,this.curRowHeight=(this.curHeight+this.$options.margin)/this.rows*this.$options.rowHeightRatio,this.renderer.setStyle(this.el,"padding-left","0px"),this.renderer.setStyle(this.el,"padding-right","0px"),this.renderer.setStyle(this.el,"padding-top","0px"),this.renderer.setStyle(this.el,"padding-bottom","0px");this.gridRenderer.updateGridster(),this.$options.setGridSize?(this.renderer.addClass(this.el,"gridSize"),this.mobile||(this.renderer.setStyle(this.el,"width",this.columns*this.curColWidth+this.$options.margin+"px"),this.renderer.setStyle(this.el,"height",this.rows*this.curRowHeight+this.$options.margin+"px"))):(this.renderer.removeClass(this.el,"gridSize"),this.renderer.setStyle(this.el,"width",""),this.renderer.setStyle(this.el,"height","")),this.updateGrid();let e=this.grid.length-1,t;for(;e>=0;e--)t=this.grid[e],t.setSize(),t.drag.toggle(),t.resize.toggle();this.resize$.next()}updateGrid(){this.$options.displayGrid==="always"&&!this.mobile?this.renderer.addClass(this.el,"display-grid"):this.$options.displayGrid==="onDrag&Resize"&&this.dragInProgress?this.renderer.addClass(this.el,"display-grid"):(this.$options.displayGrid==="none"||!this.dragInProgress||this.mobile)&&this.renderer.removeClass(this.el,"display-grid"),this.setGridDimensions(),this.gridColumns.length=o.getNewArrayLength(this.columns,this.curWidth,this.curColWidth),this.gridRows.length=o.getNewArrayLength(this.rows,this.curHeight,this.curRowHeight),this.cdRef.markForCheck()}addItem(e){e.$item.cols===void 0&&(e.$item.cols=this.$options.defaultItemCols,e.item.cols=e.$item.cols,e.itemChanged()),e.$item.rows===void 0&&(e.$item.rows=this.$options.defaultItemRows,e.item.rows=e.$item.rows,e.itemChanged()),e.$item.x===-1||e.$item.y===-1?this.autoPositionItem(e):this.checkCollision(e.$item)&&(this.$options.disableWarnings||(e.notPlaced=!0,console.warn("Can't be placed in the bounds of the dashboard, trying to auto position!/n"+JSON.stringify(e.item,["cols","rows","x","y"]))),this.$options.disableAutoPositionOnConflict?e.notPlaced=!0:this.autoPositionItem(e)),this.grid.push(e),this.calculateLayout$.next()}removeItem(e){this.grid.splice(this.grid.indexOf(e),1),this.calculateLayout$.next(),this.options.itemRemovedCallback&&this.options.itemRemovedCallback(e.item,e)}checkCollision(e){let t=!1;if(this.options.itemValidateCallback&&(t=!this.options.itemValidateCallback(e)),!t&&this.checkGridCollision(e)&&(t=!0),!t){let i=this.findItemWithItem(e);i&&(t=i)}return t}checkGridCollision(e){let t=e.y>-1&&e.x>-1,i=e.cols+e.x<=this.$options.maxCols,r=e.rows+e.y<=this.$options.maxRows,s=e.maxItemCols===void 0?this.$options.maxItemCols:e.maxItemCols,a=e.minItemCols===void 0?this.$options.minItemCols:e.minItemCols,l=e.maxItemRows===void 0?this.$options.maxItemRows:e.maxItemRows,u=e.minItemRows===void 0?this.$options.minItemRows:e.minItemRows,_=e.cols<=s&&e.cols>=a,y=e.rows<=l&&e.rows>=u,I=e.minItemArea===void 0?this.$options.minItemArea:e.minItemArea,E=e.maxItemArea===void 0?this.$options.maxItemArea:e.maxItemArea,D=e.cols*e.rows,T=I<=D,z=E>=D;return!(t&&i&&r&&_&&y&&T&&z)}findItemWithItem(e){let t=0,i;for(;tt.item===e)}checkCollisionForSwaping(e){let t=!1;if(this.options.itemValidateCallback&&(t=!this.options.itemValidateCallback(e)),!t&&this.checkGridCollision(e)&&(t=!0),!t){let i=this.findItemWithItemForSwapping(e);i&&(t=i)}return t}findItemWithItemForSwapping(e){let t=this.grid.length-1,i;for(;t>-1;t--)if(i=this.grid[t],i.$item!==e&&o.checkCollisionTwoItemsForSwaping(i.$item,e))return i;return!1}previewStyle(e=!1){this.movingItem?(this.compact&&e&&this.compact.checkCompactItem(this.movingItem),this.previewStyle$.next(this.movingItem)):this.previewStyle$.next(null)}static getNewArrayLength(e,t,i){let r=Math.max(e,Math.floor(t/i));return r<0?0:Number.isFinite(r)?Math.floor(r):0}static{this.\u0275fac=function(t){return new(t||o)(Q(j),Q(Wt),Q(Ye),Q(W))}}static{this.\u0275cmp=S({type:o,selectors:[["gridster"]],inputs:{options:"options"},features:[ze],ngContentSelectors:Zh,decls:6,vars:2,consts:[[1,"gridster-column",3,"ngStyle"],[1,"gridster-row",3,"ngStyle"],[1,"gridster-preview",3,"gridRenderer","previewStyle$"]],template:function(t,i){t&1&&(Te(),ie(0,Gv,1,1,"div",0,Js),ie(2,Yv,1,1,"div",1,Js),G(4),R(5,"gridster-preview",2)),t&2&&(ne(i.gridColumns),h(2),ne(i.gridRows),h(3),M("gridRenderer",i.gridRenderer)("previewStyle$",i.previewStyle$))},dependencies:[od,ny],styles:[`gridster{position:relative;box-sizing:border-box;background:gray;width:100%;height:100%;-webkit-user-select:none;user-select:none;display:block}gridster.fit{overflow-x:hidden;overflow-y:hidden}gridster.scrollVertical{overflow-x:hidden;overflow-y:auto}gridster.scrollHorizontal{overflow-x:auto;overflow-y:hidden}gridster.fixed{overflow:auto}gridster.mobile{overflow-x:hidden;overflow-y:auto}gridster.mobile gridster-item{position:relative}gridster.gridSize{height:initial;width:initial}gridster.gridSize.fit{height:100%;width:100%}gridster .gridster-column,gridster .gridster-row{position:absolute;display:none;transition:.3s;box-sizing:border-box}gridster.display-grid .gridster-column,gridster.display-grid .gridster-row{display:block}gridster .gridster-column{border-left:1px solid white;border-right:1px solid white}gridster .gridster-row{border-top:1px solid white;border-bottom:1px solid white} +`],encapsulation:2})}}return o})(),Yn=class{constructor(n){this.iteration=0,this.pushedItems=[],this.pushedItemsTemp=[],this.pushedItemsTempPath=[],this.pushedItemsPath=[],this.gridsterItem=n,this.gridster=n.gridster,this.tryPattern={fromEast:[this.tryWest,this.trySouth,this.tryNorth,this.tryEast],fromWest:[this.tryEast,this.trySouth,this.tryNorth,this.tryWest],fromNorth:[this.trySouth,this.tryEast,this.tryWest,this.tryNorth],fromSouth:[this.tryNorth,this.tryEast,this.tryWest,this.trySouth]},this.fromSouth="fromSouth",this.fromNorth="fromNorth",this.fromEast="fromEast",this.fromWest="fromWest"}destroy(){this.gridster=this.gridsterItem=null}pushItems(n,e){if(this.gridster.$options.pushItems&&!e){this.pushedItemsOrder=[],this.iteration=0;let t=this.push(this.gridsterItem,n);return t||this.restoreTempItems(),this.pushedItemsOrder=[],this.pushedItemsTemp=[],this.pushedItemsTempPath=[],t}else return!1}restoreTempItems(){let n=this.pushedItemsTemp.length-1;for(;n>-1;n--)this.removeFromTempPushed(this.pushedItemsTemp[n])}restoreItems(){let n=0,e=this.pushedItems.length,t;for(;n-1;n--)this.checkPushedItem(this.pushedItems[n],n)&&(e=!0);e&&this.checkPushBack()}push(n,e){if(this.iteration>100)return console.warn("max iteration reached"),!1;if(this.gridster.checkGridCollision(n.$item)||e==="")return!1;let t=this.gridster.findItemsWithItem(n.$item),i=e===this.fromNorth||e===this.fromWest;t.sort((u,_)=>i?_.$item.y-u.$item.y||_.$item.x-u.$item.x:u.$item.y-_.$item.y||u.$item.x-_.$item.x);let r=0,s,a=!0,l=[];for(;r-1&&this.pushedItemsTempPath[u].length>10){a=!1;break}if(this.tryPattern[e][0].call(this,s,n))this.pushedItemsOrder.push(s),l.push(s);else if(this.tryPattern[e][1].call(this,s,n))this.pushedItemsOrder.push(s),l.push(s);else if(this.tryPattern[e][2].call(this,s,n))this.pushedItemsOrder.push(s),l.push(s);else if(this.tryPattern[e][3].call(this,s,n))this.pushedItemsOrder.push(s),l.push(s);else{a=!1;break}}if(!a&&(r=this.pushedItemsOrder.lastIndexOf(l[0]),r>-1)){let u=this.pushedItemsOrder.length-1;for(;u>=r;u--)s=this.pushedItemsOrder[u],this.pushedItemsOrder.pop(),this.removeFromTempPushed(s),this.removeFromPushedItem(s)}return this.iteration++,a}trySouth(n,e){return this.gridster.$options.pushDirections.south?(this.addToTempPushed(n),n.$item.y=e.$item.y+e.$item.rows,this.push(n,this.fromNorth)?(n.setSize(),this.addToPushed(n),!0):(this.removeFromTempPushed(n),!1)):!1}tryNorth(n,e){return this.gridster.$options.pushDirections.north?(this.addToTempPushed(n),n.$item.y=e.$item.y-n.$item.rows,this.push(n,this.fromSouth)?(n.setSize(),this.addToPushed(n),!0):(this.removeFromTempPushed(n),!1)):!1}tryEast(n,e){return this.gridster.$options.pushDirections.east?(this.addToTempPushed(n),n.$item.x=e.$item.x+e.$item.cols,this.push(n,this.fromWest)?(n.setSize(),this.addToPushed(n),!0):(this.removeFromTempPushed(n),!1)):!1}tryWest(n,e){return this.gridster.$options.pushDirections.west?(this.addToTempPushed(n),n.$item.x=e.$item.x-n.$item.cols,this.push(n,this.fromEast)?(n.setSize(),this.addToPushed(n),!0):(this.removeFromTempPushed(n),!1)):!1}addToTempPushed(n){let e=this.pushedItemsTemp.indexOf(n);e===-1&&(e=this.pushedItemsTemp.push(n)-1,this.pushedItemsTempPath[e]=[]),this.pushedItemsTempPath[e].push({x:n.$item.x,y:n.$item.y})}removeFromTempPushed(n){let e=this.pushedItemsTemp.indexOf(n),t=this.pushedItemsTempPath[e].pop();t&&(n.$item.x=t.x,n.$item.y=t.y,n.setSize(),this.pushedItemsTempPath[e].length||(this.pushedItemsTemp.splice(e,1),this.pushedItemsTempPath.splice(e,1)))}addToPushed(n){if(this.pushedItems.indexOf(n)<0)this.pushedItems.push(n),this.pushedItemsPath.push([{x:n.item.x||0,y:n.item.y||0},{x:n.$item.x,y:n.$item.y}]);else{let e=this.pushedItems.indexOf(n);this.pushedItemsPath[e].push({x:n.$item.x,y:n.$item.y})}}removeFromPushed(n){n>-1&&(this.pushedItems.splice(n,1),this.pushedItemsPath.splice(n,1))}removeFromPushedItem(n){let e=this.pushedItems.indexOf(n);e>-1&&(this.pushedItemsPath[e].pop(),this.pushedItemsPath.length||(this.pushedItems.splice(e,1),this.pushedItemsPath.splice(e,1)))}checkPushedItem(n,e){let t=this.pushedItemsPath[e],i=t.length-2,r,s,a,l=!1;for(;i>-1;i--)r=t[i],s=n.$item.x,a=n.$item.y,n.$item.x=r.x,n.$item.y=r.y,this.gridster.findItemWithItem(n.$item)?(n.$item.x=s,n.$item.y=a):(n.setSize(),t.splice(i+1,t.length-i-1),l=!0);return t.length<2&&this.removeFromPushed(e),l}},er,mn,Kh=50,Pt,tr,yi,ir,nr,or,rr;function Qh(o,n,e,t,i,r,s,a,l,u){er=o.$options.scrollSensitivity,mn=o.$options.scrollSpeed,Pt=o.el,tr=l,yi=u;let _=Pt.offsetWidth,y=Pt.offsetHeight,I=Pt.scrollLeft,E=Pt.scrollTop,D=e-E,T=y+E-e-i,{clientX:z,clientY:Le}=r;if(!o.$options.disableScrollVertical)if(s.clientYLe&&E>0&&Dz&&I>0&&we{(!Pt||o===-1&&Pt.scrollTop-mn<0)&&oc(),Pt.scrollTop+=o*mn,t+=o*mn,n({clientX:e.clientX,clientY:t})},Kh)}function Xh(o,n,e){let t=e.clientX;return window.setInterval(()=>{(!Pt||o===-1&&Pt.scrollLeft-mn<0)&&nc(),Pt.scrollLeft+=o*mn,t+=o*mn,n({clientX:t,clientY:e.clientY})},Kh)}function Jh(){nc(),oc(),Pt=null}function nc(){eu(),tu()}function oc(){nu(),iu()}function eu(){ir&&(clearInterval(ir),ir=0)}function tu(){nr&&(clearInterval(nr),nr=0)}function iu(){rr&&(clearInterval(rr),rr=0)}function nu(){or&&(clearInterval(or),or=0)}var Jl=class{constructor(n){this.gridsterItem=n,this.gridster=n.gridster}destroy(){this.gridster=this.gridsterItem=this.swapedItem=null}swapItems(){this.gridster.$options.swap&&(this.checkSwapBack(),this.checkSwap(this.gridsterItem))}checkSwapBack(){if(this.swapedItem){let n=this.swapedItem.$item.x,e=this.swapedItem.$item.y;this.swapedItem.$item.x=this.swapedItem.item.x||0,this.swapedItem.$item.y=this.swapedItem.item.y||0,this.gridster.checkCollision(this.swapedItem.$item)?(this.swapedItem.$item.x=n,this.swapedItem.$item.y=e):(this.swapedItem.setSize(),this.gridsterItem.$item.x=this.gridsterItem.item.x||0,this.gridsterItem.$item.y=this.gridsterItem.item.y||0,this.swapedItem=void 0)}}restoreSwapItem(){this.swapedItem&&(this.swapedItem.$item.x=this.swapedItem.item.x||0,this.swapedItem.$item.y=this.swapedItem.item.y||0,this.swapedItem.setSize(),this.swapedItem=void 0)}setSwapItem(){this.swapedItem&&(this.swapedItem.checkItemChanges(this.swapedItem.$item,this.swapedItem.item),this.swapedItem=void 0)}checkSwap(n){let e;if(this.gridster.$options.swapWhileDragging?e=this.gridster.checkCollisionForSwaping(n.$item):e=this.gridster.checkCollision(n.$item),e&&e!==!0&&e.canBeDragged()){let t=e,i=t.$item.x,r=t.$item.y,s=n.$item.x,a=n.$item.y,l=s-i,u=a-r;t.$item.x=n.item.x-l,t.$item.y=n.item.y-u,n.$item.x=t.item.x+l,n.$item.y=t.item.y+u,this.gridster.checkCollision(t.$item)||this.gridster.checkCollision(n.$item)?(n.$item.x=s,n.$item.y=a,t.$item.x=i,t.$item.y=r):(t.setSize(),this.swapedItem=t,this.gridster.$options.swapWhileDragging&&(this.gridsterItem.checkItemChanges(this.gridsterItem.$item,this.gridsterItem.item),this.setSwapItem()))}}},oy="gridster-item-resizable-handler",St=function(o){return o.UP="UP",o.DOWN="DOWN",o.LEFT="LEFT",o.RIGHT="RIGHT",o}(St||{}),ec=class{constructor(n,e,t){this.zone=t,this.collision=!1,this.dragMove=i=>{i.stopPropagation(),i.preventDefault(),pt.checkTouchEvent(i);let r=this.getDirections(i);this.gridster.options.enableBoundaryControl&&(r.includes(St.UP)&&this.gridsterItem.el.getBoundingClientRect().tops!=St.UP),i=new MouseEvent(i.type,{clientX:i.clientX,clientY:this.lastMouse.clientY})),r.includes(St.LEFT)&&this.gridsterItem.el.getBoundingClientRect().lefts!=St.LEFT),i=new MouseEvent(i.type,{clientX:this.lastMouse.clientX,clientY:i.clientY})),r.includes(St.RIGHT)&&this.gridsterItem.el.getBoundingClientRect().right>this.gridster.el.getBoundingClientRect().right-(this.outerMarginRight??this.margin)&&(r=r.filter(s=>s!=St.RIGHT),i=new MouseEvent(i.type,{clientX:this.lastMouse.clientX,clientY:i.clientY})),r.includes(St.DOWN)&&this.gridsterItem.el.getBoundingClientRect().bottom>this.gridster.el.getBoundingClientRect().bottom-(this.outerMarginBottom??this.margin)&&(r=r.filter(s=>s!=St.DOWN),i=new MouseEvent(i.type,{clientX:i.clientX,clientY:this.lastMouse.clientY}))),r.length&&(this.offsetLeft=this.gridster.el.scrollLeft-this.gridster.el.offsetLeft,this.offsetTop=this.gridster.el.scrollTop-this.gridster.el.offsetTop,Qh(this.gridster,this.left,this.top,this.width,this.height,i,this.lastMouse,this.calculateItemPositionFromMousePosition),this.calculateItemPositionFromMousePosition(i))},this.calculateItemPositionFromMousePosition=i=>{this.gridster.options.scale?this.calculateItemPositionWithScale(i,this.gridster.options.scale):this.calculateItemPositionWithoutScale(i),this.calculateItemPosition(),this.lastMouse.clientX=i.clientX,this.lastMouse.clientY=i.clientY,this.zone.run(()=>{this.gridster.updateGrid()})},this.dragStop=i=>{i.stopPropagation(),i.preventDefault(),Jh(),this.cancelOnBlur(),this.mousemove(),this.mouseup(),this.mouseleave(),this.touchmove(),this.touchend(),this.touchcancel(),this.gridsterItem.renderer.removeClass(this.gridsterItem.el,"gridster-item-moving"),this.gridster.dragInProgress=!1,this.gridster.updateGrid(),this.path=[],this.gridster.options.draggable&&this.gridster.options.draggable.stop?Promise.resolve(this.gridster.options.draggable.stop(this.gridsterItem.item,this.gridsterItem,i)).then(this.makeDrag,this.cancelDrag):this.makeDrag(),setTimeout(()=>{this.gridster&&(this.gridster.movingItem=null,this.gridster.previewStyle(!0))})},this.cancelDrag=()=>{this.gridsterItem.$item.x=this.gridsterItem.item.x||0,this.gridsterItem.$item.y=this.gridsterItem.item.y||0,this.gridsterItem.setSize(),this.push&&this.push.restoreItems(),this.swap&&this.swap.restoreSwapItem(),this.push&&(this.push.destroy(),this.push=null),this.swap&&(this.swap.destroy(),this.swap=null)},this.makeDrag=()=>{this.gridster.$options.draggable.dropOverItems&&this.gridster.options.draggable&&this.gridster.options.draggable.dropOverItemsCallback&&this.collision&&this.collision!==!0&&this.collision.$item&&this.gridster.options.draggable.dropOverItemsCallback(this.gridsterItem.item,this.collision.item,this.gridster),this.collision=!1,this.gridsterItem.setSize(),this.gridsterItem.checkItemChanges(this.gridsterItem.$item,this.gridsterItem.item),this.push&&this.push.setPushedItems(),this.swap&&this.swap.setSwapItem(),this.push&&(this.push.destroy(),this.push=null),this.swap&&(this.swap.destroy(),this.swap=null)},this.dragStartDelay=i=>{if(i.target.classList.contains(oy)||pt.checkContentClassForEvent(this.gridster,i))return;if(pt.checkTouchEvent(i),!this.gridster.$options.draggable.delayStart){this.dragStart(i);return}let s=setTimeout(()=>{this.dragStart(i),D()},this.gridster.$options.draggable.delayStart),a=this.gridsterItem.renderer.listen("document","mouseup",D),l=this.gridsterItem.renderer.listen("document","mouseleave",D),u=this.gridsterItem.renderer.listen("window","blur",D),_=this.gridsterItem.renderer.listen("document","touchmove",E),y=this.gridsterItem.renderer.listen("document","touchend",D),I=this.gridsterItem.renderer.listen("document","touchcancel",D);function E(T){pt.checkTouchEvent(T),(Math.abs(T.clientX-i.clientX)>9||Math.abs(T.clientY-i.clientY)>9)&&D()}function D(){clearTimeout(s),u(),a(),l(),_(),y(),I()}},this.gridsterItem=n,this.gridster=e,this.lastMouse={clientX:0,clientY:0},this.path=[]}destroy(){this.gridster.previewStyle&&this.gridster.previewStyle(!0),this.gridsterItem=this.gridster=this.collision=null,this.mousedown&&(this.mousedown(),this.touchstart())}dragStart(n){n.which&&n.which!==1||(this.gridster.options.draggable&&this.gridster.options.draggable.start&&this.gridster.options.draggable.start(this.gridsterItem.item,this.gridsterItem,n),n.stopPropagation(),n.preventDefault(),this.zone.runOutsideAngular(()=>{this.mousemove=this.gridsterItem.renderer.listen("document","mousemove",this.dragMove),this.touchmove=this.gridster.renderer.listen(this.gridster.el,"touchmove",this.dragMove)}),this.mouseup=this.gridsterItem.renderer.listen("document","mouseup",this.dragStop),this.mouseleave=this.gridsterItem.renderer.listen("document","mouseleave",this.dragStop),this.cancelOnBlur=this.gridsterItem.renderer.listen("window","blur",this.dragStop),this.touchend=this.gridsterItem.renderer.listen("document","touchend",this.dragStop),this.touchcancel=this.gridsterItem.renderer.listen("document","touchcancel",this.dragStop),this.gridsterItem.renderer.addClass(this.gridsterItem.el,"gridster-item-moving"),this.margin=this.gridster.$options.margin,this.outerMarginTop=this.gridster.$options.outerMarginTop,this.outerMarginRight=this.gridster.$options.outerMarginRight,this.outerMarginBottom=this.gridster.$options.outerMarginBottom,this.outerMarginLeft=this.gridster.$options.outerMarginLeft,this.offsetLeft=this.gridster.el.scrollLeft-this.gridster.el.offsetLeft,this.offsetTop=this.gridster.el.scrollTop-this.gridster.el.offsetTop,this.left=this.gridsterItem.left-this.margin,this.top=this.gridsterItem.top-this.margin,this.originalClientX=n.clientX,this.originalClientY=n.clientY,this.width=this.gridsterItem.width,this.height=this.gridsterItem.height,this.gridster.$options.dirType===nt.RTL?this.diffLeft=n.clientX-this.gridster.el.scrollWidth+this.gridsterItem.left:this.diffLeft=n.clientX+this.offsetLeft-this.margin-this.left,this.diffTop=n.clientY+this.offsetTop-this.margin-this.top,this.gridster.movingItem=this.gridsterItem.$item,this.gridster.previewStyle(!0),this.push=new Yn(this.gridsterItem),this.swap=new Jl(this.gridsterItem),this.gridster.dragInProgress=!0,this.gridster.updateGrid(),this.path.push({x:this.gridsterItem.item.x||0,y:this.gridsterItem.item.y||0}))}calculateItemPositionWithScale(n,e){this.gridster.$options.dirType===nt.RTL?this.left=this.gridster.el.scrollWidth-this.originalClientX+(n.clientX-this.originalClientX)/e+this.diffLeft:this.left=this.originalClientX+(n.clientX-this.originalClientX)/e+this.offsetLeft-this.diffLeft,this.top=this.originalClientY+(n.clientY-this.originalClientY)/e+this.offsetTop-this.diffTop}calculateItemPositionWithoutScale(n){this.gridster.$options.dirType===nt.RTL?this.left=this.gridster.el.scrollWidth-n.clientX+this.diffLeft:this.left=n.clientX+this.offsetLeft-this.diffLeft,this.top=n.clientY+this.offsetTop-this.diffTop}calculateItemPosition(){if(this.gridster.movingItem=this.gridsterItem.$item,this.positionX=this.gridster.pixelsToPositionX(this.left,Math.round),this.positionY=this.gridster.pixelsToPositionY(this.top,Math.round),this.positionXBackup=this.gridsterItem.$item.x,this.positionYBackup=this.gridsterItem.$item.y,this.gridsterItem.$item.x=this.positionX,this.gridster.checkGridCollision(this.gridsterItem.$item)&&(this.gridsterItem.$item.x=this.positionXBackup),this.gridsterItem.$item.y=this.positionY,this.gridster.checkGridCollision(this.gridsterItem.$item)&&(this.gridsterItem.$item.y=this.positionYBackup),this.gridster.gridRenderer.setCellPosition(this.gridsterItem.renderer,this.gridsterItem.el,this.left,this.top),this.positionXBackup!==this.gridsterItem.$item.x||this.positionYBackup!==this.gridsterItem.$item.y){let n=this.path[this.path.length-1],e="";n.xthis.gridsterItem.$item.x?e=this.push.fromEast:n.ythis.gridsterItem.$item.y&&(e=this.push.fromSouth),this.push.pushItems(e,this.gridster.$options.disablePushOnDrag),this.swap.swapItems(),this.collision=this.gridster.checkCollision(this.gridsterItem.$item),this.collision?(this.gridsterItem.$item.x=this.positionXBackup,this.gridsterItem.$item.y=this.positionYBackup,this.gridster.$options.draggable.dropOverItems&&this.collision!==!0&&this.collision.$item&&(this.gridster.movingItem=null)):this.path.push({x:this.gridsterItem.$item.x,y:this.gridsterItem.$item.y}),this.push.checkPushBack()}else this.collision=!1;this.gridster.previewStyle(!0)}toggle(){let n=this.gridsterItem.canBeDragged();!this.enabled&&n?(this.enabled=!this.enabled,this.mousedown=this.gridsterItem.renderer.listen(this.gridsterItem.el,"mousedown",this.dragStartDelay),this.touchstart=this.gridsterItem.renderer.listen(this.gridsterItem.el,"touchstart",this.dragStartDelay)):this.enabled&&!n&&(this.enabled=!this.enabled,this.mousedown(),this.touchstart())}getDirections(n){let e=[];return this.lastMouse.clientX===0&&this.lastMouse.clientY===0&&(this.lastMouse.clientY=n.clientY,this.lastMouse.clientX=n.clientX),this.lastMouse.clientY>n.clientY&&e.push(St.UP),this.lastMouse.clientYn.clientX&&e.push(St.LEFT),e}},tc=class{constructor(n){this.pushedItems=[],this.pushedItemsPath=[],this.gridsterItem=n,this.gridster=n.gridster,this.tryPattern={fromEast:this.tryWest,fromWest:this.tryEast,fromNorth:this.trySouth,fromSouth:this.tryNorth},this.fromSouth="fromSouth",this.fromNorth="fromNorth",this.fromEast="fromEast",this.fromWest="fromWest"}destroy(){this.gridster=this.gridsterItem=null}pushItems(n){return this.gridster.$options.pushResizeItems?this.push(this.gridsterItem,n):!1}restoreItems(){let n=0,e=this.pushedItems.length,t;for(;n-1;n--)this.checkPushedItem(this.pushedItems[n],n)&&(e=!0);e&&this.checkPushBack()}push(n,e){let t=this.gridster.checkCollision(n.$item);if(t&&t!==!0&&t!==this.gridsterItem&&t.canBeResized()){if(this.tryPattern[e].call(this,t,n,e))return!0}else if(t===!1)return!0;return!1}trySouth(n,e,t){let i=n.$item.y,r=n.$item.rows;return n.$item.y=e.$item.y+e.$item.rows,n.$item.rows=r+i-n.$item.y,!this.gridster.checkCollisionTwoItems(n.$item,e.$item)&&!this.gridster.checkGridCollision(n.$item)?(n.setSize(),this.addToPushed(n),this.push(e,t),!0):(n.$item.y=i,n.$item.rows=r,!1)}tryNorth(n,e,t){let i=n.$item.rows;return n.$item.rows=e.$item.y-n.$item.y,!this.gridster.checkCollisionTwoItems(n.$item,e.$item)&&!this.gridster.checkGridCollision(n.$item)?(n.setSize(),this.addToPushed(n),this.push(e,t),!0):(n.$item.rows=i,!1)}tryEast(n,e,t){let i=n.$item.x,r=n.$item.cols;return n.$item.x=e.$item.x+e.$item.cols,n.$item.cols=r+i-n.$item.x,!this.gridster.checkCollisionTwoItems(n.$item,e.$item)&&!this.gridster.checkGridCollision(n.$item)?(n.setSize(),this.addToPushed(n),this.push(e,t),!0):(n.$item.x=i,n.$item.cols=r,!1)}tryWest(n,e,t){let i=n.$item.cols;return n.$item.cols=e.$item.x-n.$item.x,!this.gridster.checkCollisionTwoItems(n.$item,e.$item)&&!this.gridster.checkGridCollision(n.$item)?(n.setSize(),this.addToPushed(n),this.push(e,t),!0):(n.$item.cols=i,!1)}addToPushed(n){if(this.pushedItems.indexOf(n)<0)this.pushedItems.push(n),this.pushedItemsPath.push([{x:n.item.x||0,y:n.item.y||0,cols:n.item.cols||0,rows:n.item.rows||0},{x:n.$item.x,y:n.$item.y,cols:n.$item.cols,rows:n.$item.rows}]);else{let e=this.pushedItems.indexOf(n);this.pushedItemsPath[e].push({x:n.$item.x,y:n.$item.y,cols:n.$item.cols,rows:n.$item.rows})}}removeFromPushed(n){n>-1&&(this.pushedItems.splice(n,1),this.pushedItemsPath.splice(n,1))}checkPushedItem(n,e){let t=this.pushedItemsPath[e],i=t.length-2,r,s,a,l,u;for(;i>-1;i--)r=t[i],s=n.$item.x,a=n.$item.y,l=n.$item.cols,u=n.$item.rows,n.$item.x=r.x,n.$item.y=r.y,n.$item.cols=r.cols,n.$item.rows=r.rows,this.gridster.findItemWithItem(n.$item)?(n.$item.x=s,n.$item.y=a,n.$item.cols=l,n.$item.rows=u):(n.setSize(),t.splice(i+1,t.length-1-i));return t.length<2?(this.removeFromPushed(e),!0):!1}},ic=class{constructor(n,e,t){this.zone=t,this.directionFunction=null,this.dragMove=i=>{if(this.directionFunction===null)throw new Error("The `directionFunction` has not been set before calling `dragMove`.");i.stopPropagation(),i.preventDefault(),pt.checkTouchEvent(i),this.offsetTop=this.gridster.el.scrollTop-this.gridster.el.offsetTop,this.offsetLeft=this.gridster.el.scrollLeft-this.gridster.el.offsetLeft,Qh(this.gridster,this.left,this.top,this.width,this.height,i,this.lastMouse,this.directionFunction,!0,this.resizeEventScrollType);let r=this.gridster.options.scale||1;this.directionFunction({clientX:this.originalClientX+(i.clientX-this.originalClientX)/r,clientY:this.originalClientY+(i.clientY-this.originalClientY)/r}),this.lastMouse.clientX=i.clientX,this.lastMouse.clientY=i.clientY,this.zone.run(()=>{this.gridster.updateGrid()})},this.dragStop=i=>{i.stopPropagation(),i.preventDefault(),Jh(),this.mousemove(),this.mouseup(),this.mouseleave(),this.cancelOnBlur(),this.touchmove(),this.touchend(),this.touchcancel(),this.gridster.dragInProgress=!1,this.gridster.updateGrid(),this.gridster.options.resizable&&this.gridster.options.resizable.stop?Promise.resolve(this.gridster.options.resizable.stop(this.gridsterItem.item,this.gridsterItem,i)).then(this.makeResize,this.cancelResize):this.makeResize(),setTimeout(()=>{this.gridsterItem.renderer.removeClass(this.gridsterItem.el,"gridster-item-resizing"),this.gridster&&(this.gridster.movingItem=null,this.gridster.previewStyle())})},this.cancelResize=()=>{this.gridsterItem.$item.cols=this.gridsterItem.item.cols||1,this.gridsterItem.$item.rows=this.gridsterItem.item.rows||1,this.gridsterItem.$item.x=this.gridsterItem.item.x||0,this.gridsterItem.$item.y=this.gridsterItem.item.y||0,this.gridsterItem.setSize(),this.push.restoreItems(),this.pushResize.restoreItems(),this.push.destroy(),this.push=null,this.pushResize.destroy(),this.pushResize=null},this.makeResize=()=>{this.gridsterItem.setSize(),this.gridsterItem.checkItemChanges(this.gridsterItem.$item,this.gridsterItem.item),this.push.setPushedItems(),this.pushResize.setPushedItems(),this.push.destroy(),this.push=null,this.pushResize.destroy(),this.pushResize=null},this.handleNorth=i=>{this.top=i.clientY+this.offsetTop-this.diffTop,this.height=this.bottom-this.top,this.minHeight>this.height?(this.height=this.minHeight,this.top=this.bottom-this.minHeight):this.gridster.options.enableBoundaryControl&&(this.top=Math.max(0,this.top),this.height=this.bottom-this.top);let r=this.gridster.options.pushItems?this.margin:0;if(this.newPosition=this.gridster.pixelsToPositionY(this.top+r,Math.floor),this.gridsterItem.$item.y!==this.newPosition){if(this.itemBackup[1]=this.gridsterItem.$item.y,this.itemBackup[3]=this.gridsterItem.$item.rows,this.gridsterItem.$item.rows+=this.gridsterItem.$item.y-this.newPosition,this.gridsterItem.$item.y=this.newPosition,this.pushResize.pushItems(this.pushResize.fromSouth),this.push.pushItems(this.push.fromSouth,this.gridster.$options.disablePushOnResize),this.gridster.checkCollision(this.gridsterItem.$item)){this.gridsterItem.$item.y=this.itemBackup[1],this.gridsterItem.$item.rows=this.itemBackup[3],this.top=this.gridster.positionYToPixels(this.gridsterItem.$item.y),this.setItemTop(this.gridster.positionYToPixels(this.gridsterItem.$item.y)),this.setItemHeight(this.gridster.positionYToPixels(this.gridsterItem.$item.rows)-this.margin);return}else this.gridster.previewStyle();this.pushResize.checkPushBack(),this.push.checkPushBack()}this.setItemTop(this.top),this.setItemHeight(this.height)},this.handleWest=i=>{let r=this.gridster.$options.dirType===nt.RTL?this.originalClientX+(this.originalClientX-i.clientX):i.clientX;this.left=r+this.offsetLeft-this.diffLeft,this.width=this.right-this.left,this.minWidth>this.width?(this.width=this.minWidth,this.left=this.right-this.minWidth):this.gridster.options.enableBoundaryControl&&(this.left=Math.max(0,this.left),this.width=this.right-this.left);let s=this.gridster.options.pushItems?this.margin:0;if(this.newPosition=this.gridster.pixelsToPositionX(this.left+s,Math.floor),this.gridsterItem.$item.x!==this.newPosition){if(this.itemBackup[0]=this.gridsterItem.$item.x,this.itemBackup[2]=this.gridsterItem.$item.cols,this.gridsterItem.$item.cols+=this.gridsterItem.$item.x-this.newPosition,this.gridsterItem.$item.x=this.newPosition,this.pushResize.pushItems(this.pushResize.fromEast),this.push.pushItems(this.push.fromEast,this.gridster.$options.disablePushOnResize),this.gridster.checkCollision(this.gridsterItem.$item)){this.gridsterItem.$item.x=this.itemBackup[0],this.gridsterItem.$item.cols=this.itemBackup[2],this.left=this.gridster.positionXToPixels(this.gridsterItem.$item.x),this.setItemLeft(this.gridster.positionXToPixels(this.gridsterItem.$item.x)),this.setItemWidth(this.gridster.positionXToPixels(this.gridsterItem.$item.cols)-this.margin);return}else this.gridster.previewStyle();this.pushResize.checkPushBack(),this.push.checkPushBack()}this.setItemLeft(this.left),this.setItemWidth(this.width)},this.handleSouth=i=>{if(this.height=i.clientY+this.offsetTop-this.diffBottom-this.top,this.minHeight>this.height&&(this.height=this.minHeight),this.bottom=this.top+this.height,this.gridster.options.enableBoundaryControl){let s=this.outerMarginBottom??this.margin,a=this.gridster.el.getBoundingClientRect();this.bottom=Math.min(this.bottom,a.bottom-a.top-2*s),this.height=this.bottom-this.top}let r=this.gridster.options.pushItems?0:this.margin;if(this.newPosition=this.gridster.pixelsToPositionY(this.bottom+r,Math.ceil),this.gridsterItem.$item.y+this.gridsterItem.$item.rows!==this.newPosition){if(this.itemBackup[3]=this.gridsterItem.$item.rows,this.gridsterItem.$item.rows=this.newPosition-this.gridsterItem.$item.y,this.pushResize.pushItems(this.pushResize.fromNorth),this.push.pushItems(this.push.fromNorth,this.gridster.$options.disablePushOnResize),this.gridster.checkCollision(this.gridsterItem.$item)){this.gridsterItem.$item.rows=this.itemBackup[3],this.setItemHeight(this.gridster.positionYToPixels(this.gridsterItem.$item.rows)-this.margin);return}else this.gridster.previewStyle();this.pushResize.checkPushBack(),this.push.checkPushBack()}this.setItemHeight(this.height)},this.handleEast=i=>{let r=this.gridster.$options.dirType===nt.RTL?this.originalClientX+(this.originalClientX-i.clientX):i.clientX;if(this.width=r+this.offsetLeft-this.diffRight-this.left,this.minWidth>this.width&&(this.width=this.minWidth),this.right=this.left+this.width,this.gridster.options.enableBoundaryControl){let a=this.outerMarginRight??this.margin,l=this.gridster.el.getBoundingClientRect();this.right=Math.min(this.right,l.right-l.left-2*a),this.width=this.right-this.left}let s=this.gridster.options.pushItems?0:this.margin;if(this.newPosition=this.gridster.pixelsToPositionX(this.right+s,Math.ceil),this.gridsterItem.$item.x+this.gridsterItem.$item.cols!==this.newPosition){if(this.itemBackup[2]=this.gridsterItem.$item.cols,this.gridsterItem.$item.cols=this.newPosition-this.gridsterItem.$item.x,this.pushResize.pushItems(this.pushResize.fromWest),this.push.pushItems(this.push.fromWest,this.gridster.$options.disablePushOnResize),this.gridster.checkCollision(this.gridsterItem.$item)){this.gridsterItem.$item.cols=this.itemBackup[2],this.setItemWidth(this.gridster.positionXToPixels(this.gridsterItem.$item.cols)-this.margin);return}else this.gridster.previewStyle();this.pushResize.checkPushBack(),this.push.checkPushBack()}this.setItemWidth(this.width)},this.handleNorthWest=i=>{this.handleNorth(i),this.handleWest(i)},this.handleNorthEast=i=>{this.handleNorth(i),this.handleEast(i)},this.handleSouthWest=i=>{this.handleSouth(i),this.handleWest(i)},this.handleSouthEast=i=>{this.handleSouth(i),this.handleEast(i)},this.gridsterItem=n,this.gridster=e,this.lastMouse={clientX:0,clientY:0},this.itemBackup=[0,0,0,0],this.resizeEventScrollType={west:!1,east:!1,north:!1,south:!1}}destroy(){this.gridster?.previewStyle(),this.gridster=this.gridsterItem=null}dragStart(n){if(n.which&&n.which!==1)return;this.gridster.options.resizable&&this.gridster.options.resizable.start&&this.gridster.options.resizable.start(this.gridsterItem.item,this.gridsterItem,n),n.stopPropagation(),n.preventDefault(),this.zone.runOutsideAngular(()=>{this.mousemove=this.gridsterItem.renderer.listen("document","mousemove",this.dragMove),this.touchmove=this.gridster.renderer.listen(this.gridster.el,"touchmove",this.dragMove)}),this.mouseup=this.gridsterItem.renderer.listen("document","mouseup",this.dragStop),this.mouseleave=this.gridsterItem.renderer.listen("document","mouseleave",this.dragStop),this.cancelOnBlur=this.gridsterItem.renderer.listen("window","blur",this.dragStop),this.touchend=this.gridsterItem.renderer.listen("document","touchend",this.dragStop),this.touchcancel=this.gridsterItem.renderer.listen("document","touchcancel",this.dragStop),this.gridsterItem.renderer.addClass(this.gridsterItem.el,"gridster-item-resizing"),this.lastMouse.clientX=n.clientX,this.lastMouse.clientY=n.clientY,this.left=this.gridsterItem.left,this.top=this.gridsterItem.top,this.originalClientX=n.clientX,this.originalClientY=n.clientY,this.width=this.gridsterItem.width,this.height=this.gridsterItem.height,this.bottom=this.gridsterItem.top+this.gridsterItem.height,this.right=this.gridsterItem.left+this.gridsterItem.width,this.margin=this.gridster.$options.margin,this.outerMarginTop=this.gridster.$options.outerMarginTop,this.outerMarginRight=this.gridster.$options.outerMarginRight,this.outerMarginBottom=this.gridster.$options.outerMarginBottom,this.outerMarginLeft=this.gridster.$options.outerMarginLeft,this.offsetLeft=this.gridster.el.scrollLeft-this.gridster.el.offsetLeft,this.offsetTop=this.gridster.el.scrollTop-this.gridster.el.offsetTop,this.diffLeft=n.clientX+this.offsetLeft-this.left,this.diffRight=n.clientX+this.offsetLeft-this.right,this.diffTop=n.clientY+this.offsetTop-this.top,this.diffBottom=n.clientY+this.offsetTop-this.bottom,this.minHeight=this.gridster.positionYToPixels(this.gridsterItem.$item.minItemRows||this.gridster.$options.minItemRows)-this.margin,this.minWidth=this.gridster.positionXToPixels(this.gridsterItem.$item.minItemCols||this.gridster.$options.minItemCols)-this.margin,this.gridster.movingItem=this.gridsterItem.$item,this.gridster.previewStyle(),this.push=new Yn(this.gridsterItem),this.pushResize=new tc(this.gridsterItem),this.gridster.dragInProgress=!0,this.gridster.updateGrid();let{classList:e}=n.target;e.contains("handle-n")?(this.resizeEventScrollType.north=!0,this.directionFunction=this.handleNorth):e.contains("handle-w")?this.gridster.$options.dirType===nt.RTL?(this.resizeEventScrollType.east=!0,this.directionFunction=this.handleEast):(this.resizeEventScrollType.west=!0,this.directionFunction=this.handleWest):e.contains("handle-s")?(this.resizeEventScrollType.south=!0,this.directionFunction=this.handleSouth):e.contains("handle-e")?this.gridster.$options.dirType===nt.RTL?(this.resizeEventScrollType.west=!0,this.directionFunction=this.handleWest):(this.resizeEventScrollType.east=!0,this.directionFunction=this.handleEast):e.contains("handle-nw")?this.gridster.$options.dirType===nt.RTL?(this.resizeEventScrollType.north=!0,this.resizeEventScrollType.east=!0,this.directionFunction=this.handleNorthEast):(this.resizeEventScrollType.north=!0,this.resizeEventScrollType.west=!0,this.directionFunction=this.handleNorthWest):e.contains("handle-ne")?this.gridster.$options.dirType===nt.RTL?(this.resizeEventScrollType.north=!0,this.resizeEventScrollType.west=!0,this.directionFunction=this.handleNorthWest):(this.resizeEventScrollType.north=!0,this.resizeEventScrollType.east=!0,this.directionFunction=this.handleNorthEast):e.contains("handle-sw")?this.gridster.$options.dirType===nt.RTL?(this.resizeEventScrollType.south=!0,this.resizeEventScrollType.east=!0,this.directionFunction=this.handleSouthEast):(this.resizeEventScrollType.south=!0,this.resizeEventScrollType.west=!0,this.directionFunction=this.handleSouthWest):e.contains("handle-se")&&(this.gridster.$options.dirType===nt.RTL?(this.resizeEventScrollType.south=!0,this.resizeEventScrollType.west=!0,this.directionFunction=this.handleSouthWest):(this.resizeEventScrollType.south=!0,this.resizeEventScrollType.east=!0,this.directionFunction=this.handleSouthEast))}toggle(){this.resizeEnabled=this.gridsterItem.canBeResized(),this.resizableHandles=this.gridsterItem.getResizableHandles()}dragStartDelay(n){if(pt.checkTouchEvent(n),!this.gridster.$options.resizable.delayStart){this.dragStart(n);return}let e=setTimeout(()=>{this.dragStart(n),_()},this.gridster.$options.resizable.delayStart),{cancelMouse:t,cancelMouseLeave:i,cancelOnBlur:r,cancelTouchMove:s,cancelTouchEnd:a,cancelTouchCancel:l}=this.zone.runOutsideAngular(()=>{let y=this.gridsterItem.renderer.listen("document","mouseup",_),I=this.gridsterItem.renderer.listen("document","mouseleave",_),E=this.gridsterItem.renderer.listen("window","blur",_),D=this.gridsterItem.renderer.listen("document","touchmove",u),T=this.gridsterItem.renderer.listen("document","touchend",_),z=this.gridsterItem.renderer.listen("document","touchcancel",_);return{cancelMouse:y,cancelMouseLeave:I,cancelOnBlur:E,cancelTouchMove:D,cancelTouchEnd:T,cancelTouchCancel:z}});function u(y){pt.checkTouchEvent(y),(Math.abs(y.clientX-n.clientX)>9||Math.abs(y.clientY-n.clientY)>9)&&_()}function _(){clearTimeout(e),r(),t(),i(),s(),a(),l()}}setItemTop(n){this.gridster.gridRenderer.setCellPosition(this.gridsterItem.renderer,this.gridsterItem.el,this.left,n)}setItemLeft(n){this.gridster.gridRenderer.setCellPosition(this.gridsterItem.renderer,this.gridsterItem.el,n,this.top)}setItemHeight(n){this.gridsterItem.renderer.setStyle(this.gridsterItem.el,"height",n+"px")}setItemWidth(n){this.gridsterItem.renderer.setStyle(this.gridsterItem.el,"width",n+"px")}},pe=(()=>{class o{get zIndex(){return this.getLayerIndex()+this.gridster.$options.baseLayerIndex}constructor(e,t,i,r){this.renderer=i,this.zone=r,this.itemInit=new H,this.itemChange=new H,this.itemResize=new H,this.el=e.nativeElement,this.$item={cols:-1,rows:-1,x:-1,y:-1},this.gridster=t,this.drag=new ec(this,t,this.zone),this.resize=new ic(this,t,this.zone)}ngOnInit(){this.gridster.addItem(this)}ngOnChanges(e){e.item&&(this.updateOptions(),this.init||this.gridster.calculateLayout$.next()),e.item&&e.item.previousValue&&this.setSize()}updateOptions(){this.$item=pt.merge(this.$item,this.item,{cols:void 0,rows:void 0,x:void 0,y:void 0,layerIndex:void 0,dragEnabled:void 0,resizeEnabled:void 0,compactEnabled:void 0,maxItemRows:void 0,minItemRows:void 0,maxItemCols:void 0,minItemCols:void 0,maxItemArea:void 0,minItemArea:void 0,resizableHandles:{s:void 0,e:void 0,n:void 0,w:void 0,se:void 0,ne:void 0,sw:void 0,nw:void 0}})}ngOnDestroy(){this.gridster.removeItem(this),this.drag.destroy(),this.resize.destroy(),this.gridster=this.drag=this.resize=null}setSize(){this.renderer.setStyle(this.el,"display",this.notPlaced?"":"block"),this.gridster.gridRenderer.updateItem(this.el,this.$item,this.renderer),this.updateItemSize()}updateItemSize(){let e=this.$item.y*this.gridster.curRowHeight,t=this.$item.x*this.gridster.curColWidth,i=this.$item.cols*this.gridster.curColWidth-this.gridster.$options.margin,r=this.$item.rows*this.gridster.curRowHeight-this.gridster.$options.margin;this.top=e,this.left=t,!this.init&&i>0&&r>0&&(this.init=!0,this.item.initCallback&&this.item.initCallback(this.item,this),this.gridster.options.itemInitCallback&&this.gridster.options.itemInitCallback(this.item,this),this.itemInit.next({item:this.item,itemComponent:this}),this.gridster.$options.scrollToNewItems&&this.el.scrollIntoView(!1)),(i!==this.width||r!==this.height)&&(this.width=i,this.height=r,this.gridster.options.itemResizeCallback&&this.gridster.options.itemResizeCallback(this.item,this),this.itemResize.next({item:this.item,itemComponent:this}))}itemChanged(){this.gridster.options.itemChangeCallback&&this.gridster.options.itemChangeCallback(this.item,this),this.itemChange.next({item:this.item,itemComponent:this})}checkItemChanges(e,t){e.rows===t.rows&&e.cols===t.cols&&e.x===t.x&&e.y===t.y||(this.gridster.checkCollision(this.$item)?(this.$item.x=t.x||0,this.$item.y=t.y||0,this.$item.cols=t.cols||1,this.$item.rows=t.rows||1,this.setSize()):(this.item.cols=this.$item.cols,this.item.rows=this.$item.rows,this.item.x=this.$item.x,this.item.y=this.$item.y,this.gridster.calculateLayout$.next(),this.itemChanged()))}canBeDragged(){let e=this.gridster.$options.draggable.enabled,t=this.$item.dragEnabled===void 0?e:this.$item.dragEnabled;return!this.gridster.mobile&&e&&t}canBeResized(){let e=this.gridster.$options.resizable.enabled,t=this.$item.resizeEnabled===void 0?e:this.$item.resizeEnabled;return!this.gridster.mobile&&e&&t}getResizableHandles(){let e=this.gridster.$options.resizable.handles,t=this.$item.resizableHandles;return t===void 0?e:k(k({},e),t)}bringToFront(e){if(e&&e<=0)return;let t=this.getLayerIndex(),i=this.gridster.$options.maxLayerIndex;if(ti?i:r}}sendToBack(e){if(e&&e<=0)return;let t=this.getLayerIndex();if(t>0){let i=e?t-e:0;this.item.layerIndex=this.$item.layerIndex=i<0?0:i}}getLayerIndex(){return this.item.layerIndex!==void 0?this.item.layerIndex:this.gridster.$options.defaultLayerIndex!==void 0?this.gridster.$options.defaultLayerIndex:0}static{this.\u0275fac=function(t){return new(t||o)(Q(j),Q(se),Q(Wt),Q(W))}}static{this.\u0275cmp=S({type:o,selectors:[["gridster-item"]],hostVars:2,hostBindings:function(t,i){t&2&&Qs("z-index",i.zIndex)},inputs:{item:"item"},outputs:{itemInit:"itemInit",itemChange:"itemChange",itemResize:"itemResize"},features:[ze],ngContentSelectors:Zh,decls:9,vars:8,consts:[[1,"gridster-item-resizable-handler","handle-s"],[1,"gridster-item-resizable-handler","handle-e"],[1,"gridster-item-resizable-handler","handle-n"],[1,"gridster-item-resizable-handler","handle-w"],[1,"gridster-item-resizable-handler","handle-se"],[1,"gridster-item-resizable-handler","handle-ne"],[1,"gridster-item-resizable-handler","handle-sw"],[1,"gridster-item-resizable-handler","handle-nw"],[1,"gridster-item-resizable-handler","handle-s",3,"mousedown","touchstart"],[1,"gridster-item-resizable-handler","handle-e",3,"mousedown","touchstart"],[1,"gridster-item-resizable-handler","handle-n",3,"mousedown","touchstart"],[1,"gridster-item-resizable-handler","handle-w",3,"mousedown","touchstart"],[1,"gridster-item-resizable-handler","handle-se",3,"mousedown","touchstart"],[1,"gridster-item-resizable-handler","handle-ne",3,"mousedown","touchstart"],[1,"gridster-item-resizable-handler","handle-sw",3,"mousedown","touchstart"],[1,"gridster-item-resizable-handler","handle-nw",3,"mousedown","touchstart"]],template:function(t,i){t&1&&(Te(),G(0),Y(1,qv,1,0,"div",0)(2,Xv,1,0,"div",1)(3,Zv,1,0,"div",2)(4,Kv,1,0,"div",3)(5,Qv,1,0,"div",4)(6,Jv,1,0,"div",5)(7,ey,1,0,"div",6)(8,ty,1,0,"div",7)),t&2&&(h(),L(i.resize.resizableHandles!=null&&i.resize.resizableHandles.s&&i.resize.resizeEnabled?1:-1),h(),L(i.resize.resizableHandles!=null&&i.resize.resizableHandles.e&&i.resize.resizeEnabled?2:-1),h(),L(i.resize.resizableHandles!=null&&i.resize.resizableHandles.n&&i.resize.resizeEnabled?3:-1),h(),L(i.resize.resizableHandles!=null&&i.resize.resizableHandles.w&&i.resize.resizeEnabled?4:-1),h(),L(i.resize.resizableHandles!=null&&i.resize.resizableHandles.se&&i.resize.resizeEnabled?5:-1),h(),L(i.resize.resizableHandles!=null&&i.resize.resizableHandles.ne&&i.resize.resizeEnabled?6:-1),h(),L(i.resize.resizableHandles!=null&&i.resize.resizableHandles.sw&&i.resize.resizeEnabled?7:-1),h(),L(i.resize.resizableHandles!=null&&i.resize.resizableHandles.nw&&i.resize.resizeEnabled?8:-1))},styles:[`gridster-item{box-sizing:border-box;z-index:1;position:absolute;overflow:hidden;transition:.3s;display:none;background:#fff;-webkit-user-select:text;user-select:text}gridster-item.gridster-item-moving{cursor:move}gridster-item.gridster-item-resizing,gridster-item.gridster-item-moving{transition:0s;z-index:2;box-shadow:0 0 5px 5px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.gridster-item-resizable-handler{position:absolute;z-index:2}.gridster-item-resizable-handler.handle-n{cursor:ns-resize;height:10px;right:0;top:0;left:0}.gridster-item-resizable-handler.handle-e{cursor:ew-resize;width:10px;bottom:0;right:0;top:0}.gridster-item-resizable-handler.handle-s{cursor:ns-resize;height:10px;right:0;bottom:0;left:0}.gridster-item-resizable-handler.handle-w{cursor:ew-resize;width:10px;left:0;top:0;bottom:0}.gridster-item-resizable-handler.handle-ne{cursor:ne-resize;width:10px;height:10px;right:0;top:0}.gridster-item-resizable-handler.handle-nw{cursor:nw-resize;width:10px;height:10px;left:0;top:0}.gridster-item-resizable-handler.handle-se{cursor:se-resize;width:0;height:0;right:0;bottom:0;border-style:solid;border-width:0 0 10px 10px;border-color:transparent}.gridster-item-resizable-handler.handle-sw{cursor:sw-resize;width:10px;height:10px;left:0;bottom:0}gridster-item:hover .gridster-item-resizable-handler.handle-se{border-color:transparent transparent #ccc} +`],encapsulation:2})}}return o})();function ry(o,n){if(o&1){let e=F();c(0,"gridster-item",8)(1,"div",9)(2,"button",10),g("mousedown",function(i){let r=b(e).$implicit,s=f();return v(s.removeItem(i,r))})("touchstart",function(i){let r=b(e).$implicit,s=f();return v(s.removeItem(i,r))}),c(3,"mat-icon"),m(4,"delete"),d()()()()}if(o&2){let e=n.$implicit;M("item",e)}}var ou=(()=>{class o{ngOnInit(){this.options={gridType:P.Fit,compactType:ue.None,pushItems:!0,draggable:{enabled:!0},resizable:{enabled:!0}},this.dashboard=[{cols:2,rows:1,y:0,x:0,initCallback:this.initItem.bind(this)},{cols:2,rows:2,y:0,x:2},{cols:1,rows:1,y:0,x:4},{cols:3,rows:2,y:1,x:4},{cols:1,rows:1,y:4,x:5},{cols:1,rows:1,y:2,x:1},{cols:2,rows:2,y:5,x:5},{cols:2,rows:2,y:3,x:2},{cols:2,rows:1,y:2,x:2},{cols:1,rows:1,y:3,x:4},{cols:1,rows:1,y:0,x:6}]}changedOptions(){this.options.api&&this.options.api.optionsChanged&&this.options.api.optionsChanged()}removeItem(e,t){e.preventDefault(),e.stopPropagation(),this.dashboard.splice(this.dashboard.indexOf(t),1)}addItem(){this.dashboard.push({x:0,y:0,cols:1,rows:1})}initItem(e,t){this.itemToPush=t}pushItem(){let e=new Yn(this.itemToPush);this.itemToPush.$item.rows+=4,e.pushItems(e.fromNorth)?(e.checkPushBack(),e.setPushedItems(),this.itemToPush.setSize(),this.itemToPush.checkItemChanges(this.itemToPush.$item,this.itemToPush.item)):(this.itemToPush.$item.rows-=4,e.restoreItems()),e.destroy()}getItemComponent(){this.options.api&&this.options.api.getItemComponent&&console.log(this.options.api.getItemComponent(this.dashboard[0]))}static{this.\u0275fac=function(t){return new(t||o)}}static{this.\u0275cmp=S({type:o,selectors:[["app-api"]],decls:17,vars:2,consts:[[1,"options"],["mat-raised-button","","href","https://github.com/tiberiuzuld/angular-gridster2/tree/master/src/app/sections/api","target","_blank",1,"source-code-button"],[3,"src"],[1,"options-header"],["mat-raised-button","","color","accent",1,"add-button","cols-2",3,"click"],["color","accent","mat-raised-button","",1,"add-button","cols-2",3,"click"],["mat-mini-fab","",1,"add-button","cols-2",3,"click"],[3,"options"],[3,"item"],[1,"button-holder"],["mat-mini-fab","",3,"mousedown","touchstart"]],template:function(t,i){t&1&&(c(0,"div",0)(1,"a",1)(2,"mat-icon"),m(3,"open_in_new"),d(),m(4," Source "),d(),R(5,"markdown",2),d(),c(6,"div",3)(7,"button",4),g("click",function(){return i.pushItem()}),m(8," Resize first item and push others "),d(),c(9,"button",5),g("click",function(){return i.getItemComponent()}),m(10," Get item component in console "),d(),c(11,"button",6),g("click",function(){return i.addItem()}),c(12,"mat-icon"),m(13,"add"),d()()(),c(14,"gridster",7),ie(15,ry,5,1,"gridster-item",8,ge),d()),t&2&&(h(5),M("src","assets/api.md"),h(9),M("options",i.options),h(),ne(i.dashboard))},dependencies:[de,ce,Rs,be,he,me,le,_e,se,pe],encapsulation:2,changeDetection:0})}}return o})();var sy=20,ru=(()=>{class o{_ngZone=p(W);_platform=p(Ae);_document=p(ae,{optional:!0});constructor(){}_scrolled=new V;_globalSubscription=null;_scrolledCount=0;scrollContainers=new Map;register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){let t=this.scrollContainers.get(e);t&&(t.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=sy){return this._platform.isBrowser?new Vt(t=>{this._globalSubscription||this._addGlobalListener();let i=e>0?this._scrolled.pipe(js(e)).subscribe(t):this._scrolled.subscribe(t);return this._scrolledCount++,()=>{i.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):N()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,t)=>this.deregister(t)),this._scrolled.complete()}ancestorScrolled(e,t){let i=this.getAncestorScrollContainers(e);return this.scrolled(t).pipe(De(r=>!r||i.indexOf(r)>-1))}getAncestorScrollContainers(e){let t=[];return this.scrollContainers.forEach((i,r)=>{this._scrollableContainsElement(r,e)&&t.push(r)}),t}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,t){let i=Ct(t),r=e.getElementRef().nativeElement;do if(i==r)return!0;while(i=i.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{let e=this._getWindow();return Ws(e.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static \u0275fac=function(t){return new(t||o)};static \u0275prov=O({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();var ay=20,sr=(()=>{class o{_platform=p(Ae);_viewportSize;_change=new V;_changeListener=e=>{this._change.next(e)};_document=p(ae,{optional:!0});constructor(){p(W).runOutsideAngular(()=>{if(this._platform.isBrowser){let t=this._getWindow();t.addEventListener("resize",this._changeListener),t.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){let e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){let e=this.getViewportScrollPosition(),{width:t,height:i}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+i,right:e.left+t,height:i,width:t}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let e=this._document,t=this._getWindow(),i=e.documentElement,r=i.getBoundingClientRect(),s=-r.top||e.body.scrollTop||t.scrollY||i.scrollTop||0,a=-r.left||e.body.scrollLeft||t.scrollX||i.scrollLeft||0;return{top:s,left:a}}change(e=ay){return e>0?this._change.pipe(js(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}static \u0275fac=function(t){return new(t||o)};static \u0275prov=O({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();var qn=(()=>{class o{static \u0275fac=function(t){return new(t||o)};static \u0275mod=Z({type:o});static \u0275inj=X({})}return o})(),rc=(()=>{class o{static \u0275fac=function(t){return new(t||o)};static \u0275mod=Z({type:o});static \u0275inj=X({imports:[Ri,qn,Ri,qn]})}return o})();var ar=class{_attachedHost;attach(n){return this._attachedHost=n,n.attach(this)}detach(){let n=this._attachedHost;n!=null&&(this._attachedHost=null,n.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(n){this._attachedHost=n}},sc=class extends ar{component;viewContainerRef;injector;componentFactoryResolver;projectableNodes;constructor(n,e,t,i,r){super(),this.component=n,this.viewContainerRef=e,this.injector=t,this.projectableNodes=r}},hn=class extends ar{templateRef;viewContainerRef;context;injector;constructor(n,e,t,i){super(),this.templateRef=n,this.viewContainerRef=e,this.context=t,this.injector=i}get origin(){return this.templateRef.elementRef}attach(n,e=this.context){return this.context=e,super.attach(n)}detach(){return this.context=void 0,super.detach()}},ac=class extends ar{element;constructor(n){super(),this.element=n instanceof j?n.nativeElement:n}},lc=class{_attachedPortal;_disposeFn;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(n){if(n instanceof sc)return this._attachedPortal=n,this.attachComponentPortal(n);if(n instanceof hn)return this._attachedPortal=n,this.attachTemplatePortal(n);if(this.attachDomPortal&&n instanceof ac)return this._attachedPortal=n,this.attachDomPortal(n)}attachDomPortal=null;detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(n){this._disposeFn=n}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}};var lr=class extends lc{outletElement;_appRef;_defaultInjector;_document;constructor(n,e,t,i,r){super(),this.outletElement=n,this._appRef=t,this._defaultInjector=i,this._document=r}attachComponentPortal(n){let e;if(n.viewContainerRef){let t=n.injector||n.viewContainerRef.injector,i=t.get(Hc,null,{optional:!0})||void 0;e=n.viewContainerRef.createComponent(n.component,{index:n.viewContainerRef.length,injector:t,ngModuleRef:i,projectableNodes:n.projectableNodes||void 0}),this.setDisposeFn(()=>e.destroy())}else e=Sr(n.component,{elementInjector:n.injector||this._defaultInjector||Qe.NULL,environmentInjector:this._appRef.injector,projectableNodes:n.projectableNodes||void 0}),this._appRef.attachView(e.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(e.hostView),e.destroy()});return this.outletElement.appendChild(this._getComponentRootNode(e)),this._attachedPortal=n,e}attachTemplatePortal(n){let e=n.viewContainerRef,t=e.createEmbeddedView(n.templateRef,n.context,{injector:n.injector});return t.rootNodes.forEach(i=>this.outletElement.appendChild(i)),t.detectChanges(),this.setDisposeFn(()=>{let i=e.indexOf(t);i!==-1&&e.remove(i)}),this._attachedPortal=n,t}attachDomPortal=n=>{let e=n.element;e.parentNode;let t=this._document.createComment("dom-portal");e.parentNode.insertBefore(t,e),this.outletElement.appendChild(e),this._attachedPortal=n,super.setDisposeFn(()=>{t.parentNode&&t.parentNode.replaceChild(e,t)})};dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(n){return n.hostView.rootNodes[0]}};var su=(()=>{class o{static \u0275fac=function(t){return new(t||o)};static \u0275mod=Z({type:o});static \u0275inj=X({})}return o})();var au=Ma(),cc=class{_viewportRuler;_previousHTMLStyles={top:"",left:""};_previousScrollPosition;_isEnabled=!1;_document;constructor(n,e){this._viewportRuler=n,this._document=e}attach(){}enable(){if(this._canBeEnabled()){let n=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=n.style.left||"",this._previousHTMLStyles.top=n.style.top||"",n.style.left=Ze(-this._previousScrollPosition.left),n.style.top=Ze(-this._previousScrollPosition.top),n.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let n=this._document.documentElement,e=this._document.body,t=n.style,i=e.style,r=t.scrollBehavior||"",s=i.scrollBehavior||"";this._isEnabled=!1,t.left=this._previousHTMLStyles.left,t.top=this._previousHTMLStyles.top,n.classList.remove("cdk-global-scrollblock"),au&&(t.scrollBehavior=i.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),au&&(t.scrollBehavior=r,i.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let e=this._document.body,t=this._viewportRuler.getViewportSize();return e.scrollHeight>t.height||e.scrollWidth>t.width}};var dc=class{_scrollDispatcher;_ngZone;_viewportRuler;_config;_scrollSubscription=null;_overlayRef;_initialScrollPosition;constructor(n,e,t,i){this._scrollDispatcher=n,this._ngZone=e,this._viewportRuler=t,this._config=i}attach(n){this._overlayRef,this._overlayRef=n}enable(){if(this._scrollSubscription)return;let n=this._scrollDispatcher.scrolled(0).pipe(De(e=>!e||!this._overlayRef.overlayElement.contains(e.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=n.subscribe(()=>{let e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=n.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}_detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}},Fs=class{enable(){}disable(){}attach(){}};function mc(o,n){return n.some(e=>{let t=o.bottome.bottom,r=o.righte.right;return t||i||r||s})}function lu(o,n){return n.some(e=>{let t=o.tope.bottom,r=o.lefte.right;return t||i||r||s})}var hc=class{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(n,e,t,i){this._scrollDispatcher=n,this._viewportRuler=e,this._ngZone=t,this._config=i}attach(n){this._overlayRef,this._overlayRef=n}enable(){if(!this._scrollSubscription){let n=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(n).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:t,height:i}=this._viewportRuler.getViewportSize();mc(e,[{width:t,height:i,bottom:i,right:t,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}},ly=(()=>{class o{_scrollDispatcher=p(ru);_viewportRuler=p(sr);_ngZone=p(W);_document=p(ae);constructor(){}noop=()=>new Fs;close=e=>new dc(this._scrollDispatcher,this._ngZone,this._viewportRuler,e);block=()=>new cc(this._viewportRuler,this._document);reposition=e=>new hc(this._scrollDispatcher,this._viewportRuler,this._ngZone,e);static \u0275fac=function(t){return new(t||o)};static \u0275prov=O({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})(),Xn=class{positionStrategy;scrollStrategy=new Fs;panelClass="";hasBackdrop=!1;backdropClass="cdk-overlay-dark-backdrop";width;height;minWidth;minHeight;maxWidth;maxHeight;direction;disposeOnNavigation=!1;constructor(n){if(n){let e=Object.keys(n);for(let t of e)n[t]!==void 0&&(this[t]=n[t])}}};var uc=class{connectionPair;scrollableViewProperties;constructor(n,e){this.connectionPair=n,this.scrollableViewProperties=e}};var pu=(()=>{class o{_attachedOverlays=[];_document=p(ae);_isAttached;constructor(){}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){let t=this._attachedOverlays.indexOf(e);t>-1&&this._attachedOverlays.splice(t,1),this._attachedOverlays.length===0&&this.detach()}static \u0275fac=function(t){return new(t||o)};static \u0275prov=O({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})(),cy=(()=>{class o extends pu{_ngZone=p(W,{optional:!0});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)}_keydownListener=e=>{let t=this._attachedOverlays;for(let i=t.length-1;i>-1;i--)if(t[i]._keydownEvents.observers.length>0){let r=t[i]._keydownEvents;this._ngZone?this._ngZone.run(()=>r.next(e)):r.next(e);break}};static \u0275fac=(()=>{let e;return function(i){return(e||(e=He(o)))(i||o)}})();static \u0275prov=O({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})(),dy=(()=>{class o extends pu{_platform=p(Ae);_ngZone=p(W,{optional:!0});_cursorOriginalValue;_cursorStyleIsSet=!1;_pointerDownEventTarget;add(e){if(super.add(e),!this._isAttached){let t=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(t)):this._addEventListeners(t),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=t.style.cursor,t.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){let 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)}_pointerDownListener=e=>{this._pointerDownEventTarget=Mt(e)};_clickListener=e=>{let t=Mt(e),i=e.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:t;this._pointerDownEventTarget=null;let r=this._attachedOverlays.slice();for(let s=r.length-1;s>-1;s--){let a=r[s];if(a._outsidePointerEvents.observers.length<1||!a.hasAttached())continue;if(cu(a.overlayElement,t)||cu(a.overlayElement,i))break;let l=a._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>l.next(e)):l.next(e)}};static \u0275fac=(()=>{let e;return function(i){return(e||(e=He(o)))(i||o)}})();static \u0275prov=O({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();function cu(o,n){let e=typeof ShadowRoot<"u"&&ShadowRoot,t=n;for(;t;){if(t===o)return!0;t=e&&t instanceof ShadowRoot?t.host:t.parentNode}return!1}var fu=(()=>{class o{static \u0275fac=function(t){return new(t||o)};static \u0275cmp=S({type:o,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(t,i){},styles:[".cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed}@layer cdk-overlay{.cdk-overlay-container{z-index:1000}}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute}@layer cdk-overlay{.cdk-global-overlay-wrapper{z-index:1000}}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;display:flex;max-width:100%;max-height:100%}@layer cdk-overlay{.cdk-overlay-pane{z-index:1000}}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);opacity:0}@layer cdk-overlay{.cdk-overlay-backdrop{z-index:1000;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}}.cdk-overlay-backdrop-showing{opacity:1}@media(forced-colors: active){.cdk-overlay-backdrop-showing{opacity:.6}}@layer cdk-overlay{.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,.cdk-high-contrast-active .cdk-overlay-transparent-backdrop{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;display:flex;flex-direction:column;min-width:1px;min-height:1px}@layer cdk-overlay{.cdk-overlay-connected-position-bounding-box{z-index:1000}}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}"],encapsulation:2,changeDetection:0})}return o})(),gu=(()=>{class o{_platform=p(Ae);_containerElement;_document=p(ae);_styleLoader=p(at);constructor(){}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let e="cdk-overlay-container";if(this._platform.isBrowser||Ia()){let i=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let r=0;rthis._backdropClick.next(n);_backdropTransitionendHandler=n=>{this._disposeBackdrop(n.target)};_previousHostParent;_keydownEvents=new V;_outsidePointerEvents=new V;_renders=new V;_afterRenderRef;_afterNextRenderRef;constructor(n,e,t,i,r,s,a,l,u,_=!1,y){this._portalOutlet=n,this._host=e,this._pane=t,this._config=i,this._ngZone=r,this._keyboardDispatcher=s,this._document=a,this._location=l,this._outsideClickDispatcher=u,this._animationsDisabled=_,this._injector=y,i.scrollStrategy&&(this._scrollStrategy=i.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=i.positionStrategy,this._afterRenderRef=$t(()=>wr(()=>{this._renders.next()},{injector:this._injector}))}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(n){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);let e=this._portalOutlet.attach(n);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=Gi(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),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),typeof e?.onDestroy=="function"&&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();let n=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),n}dispose(){let n=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),this._host?.remove(),this._afterNextRenderRef?.destroy(),this._previousHostParent=this._pane=this._host=null,n&&this._detachments.next(),this._detachments.complete(),this._afterRenderRef.destroy(),this._renders.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(n){n!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=n,this.hasAttached()&&(n.attach(this),this.updatePosition()))}updateSize(n){this._config=k(k({},this._config),n),this._updateElementSize()}setDirection(n){this._config=re(k({},this._config),{direction:n}),this._updateElementDirection()}addPanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!0)}removePanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!1)}getDirection(){let n=this._config.direction;return n?typeof n=="string"?n:n.value:"ltr"}updateScrollStrategy(n){n!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=n,this.hasAttached()&&(n.attach(this),n.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let n=this._pane.style;n.width=Ze(this._config.width),n.height=Ze(this._config.height),n.minWidth=Ze(this._config.minWidth),n.minHeight=Ze(this._config.minHeight),n.maxWidth=Ze(this._config.maxWidth),n.maxHeight=Ze(this._config.maxHeight)}_togglePointerEvents(n){this._pane.style.pointerEvents=n?"":"none"}_attachBackdrop(){let n="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(n)})}):this._backdropElement.classList.add(n)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let n=this._backdropElement;if(n){if(this._animationsDisabled){this._disposeBackdrop(n);return}n.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{n.addEventListener("transitionend",this._backdropTransitionendHandler)}),n.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(n)},500))}}_toggleClasses(n,e,t){let i=wn(e||[]).filter(r=>!!r);i.length&&(t?n.classList.add(...i):n.classList.remove(...i))}_detachContentWhenEmpty(){this._ngZone.runOutsideAngular(()=>{let n=this._renders.pipe(Ce(dt(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||this._pane.children.length===0)&&(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()),n.unsubscribe())})})}_disposeScrollStrategy(){let n=this._scrollStrategy;n&&(n.disable(),n.detach&&n.detach())}_disposeBackdrop(n){n&&(n.removeEventListener("click",this._backdropClickHandler),n.removeEventListener("transitionend",this._backdropTransitionendHandler),n.remove(),this._backdropElement===n&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}},du="cdk-overlay-connected-position-bounding-box",my=/([A-Za-z%]+)$/,fc=class{_viewportRuler;_document;_platform;_overlayContainer;_overlayRef;_isInitialRender;_lastBoundingBoxSize={width:0,height:0};_isPushed=!1;_canPush=!0;_growAfterOpen=!1;_hasFlexibleDimensions=!0;_positionLocked=!1;_originRect;_overlayRect;_viewportRect;_containerRect;_viewportMargin=0;_scrollables=[];_preferredPositions=[];_origin;_pane;_isDisposed;_boundingBox;_lastPosition;_lastScrollVisibility;_positionChanges=new V;_resizeSubscription=Ue.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount;positionChanges=this._positionChanges;get positions(){return this._preferredPositions}constructor(n,e,t,i,r){this._viewportRuler=e,this._document=t,this._platform=i,this._overlayContainer=r,this.setOrigin(n)}attach(n){this._overlayRef&&this._overlayRef,this._validatePositions(),n.hostElement.classList.add(du),this._overlayRef=n,this._boundingBox=n.hostElement,this._pane=n.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){this.reapplyLastPosition();return}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();let n=this._originRect,e=this._overlayRect,t=this._viewportRect,i=this._containerRect,r=[],s;for(let a of this._preferredPositions){let l=this._getOriginPoint(n,i,a),u=this._getOverlayPoint(l,e,a),_=this._getOverlayFit(u,e,t,a);if(_.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(a,l);return}if(this._canFitWithFlexibleDimensions(_,u,t)){r.push({position:a,origin:l,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(l,a)});continue}(!s||s.overlayFit.visibleArea<_.visibleArea)&&(s={overlayFit:_,overlayPoint:u,originPoint:l,position:a,overlayRect:e})}if(r.length){let a=null,l=-1;for(let u of r){let _=u.boundingBoxRect.width*u.boundingBoxRect.height*(u.position.weight||1);_>l&&(l=_,a=u)}this._isPushed=!1,this._applyPosition(a.position,a.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(s.position,s.originPoint);return}this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&un(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(du),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let n=this._lastPosition;if(n){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let e=this._getOriginPoint(this._originRect,this._containerRect,n);this._applyPosition(n,e)}else this.apply()}withScrollableContainers(n){return this._scrollables=n,this}withPositions(n){return this._preferredPositions=n,n.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(n){return this._viewportMargin=n,this}withFlexibleDimensions(n=!0){return this._hasFlexibleDimensions=n,this}withGrowAfterOpen(n=!0){return this._growAfterOpen=n,this}withPush(n=!0){return this._canPush=n,this}withLockedPosition(n=!0){return this._positionLocked=n,this}setOrigin(n){return this._origin=n,this}withDefaultOffsetX(n){return this._offsetX=n,this}withDefaultOffsetY(n){return this._offsetY=n,this}withTransformOriginOn(n){return this._transformOriginSelector=n,this}_getOriginPoint(n,e,t){let i;if(t.originX=="center")i=n.left+n.width/2;else{let s=this._isRtl()?n.right:n.left,a=this._isRtl()?n.left:n.right;i=t.originX=="start"?s:a}e.left<0&&(i-=e.left);let r;return t.originY=="center"?r=n.top+n.height/2:r=t.originY=="top"?n.top:n.bottom,e.top<0&&(r-=e.top),{x:i,y:r}}_getOverlayPoint(n,e,t){let i;t.overlayX=="center"?i=-e.width/2:t.overlayX==="start"?i=this._isRtl()?-e.width:0:i=this._isRtl()?0:-e.width;let r;return t.overlayY=="center"?r=-e.height/2:r=t.overlayY=="top"?0:-e.height,{x:n.x+i,y:n.y+r}}_getOverlayFit(n,e,t,i){let r=hu(e),{x:s,y:a}=n,l=this._getOffset(i,"x"),u=this._getOffset(i,"y");l&&(s+=l),u&&(a+=u);let _=0-s,y=s+r.width-t.width,I=0-a,E=a+r.height-t.height,D=this._subtractOverflows(r.width,_,y),T=this._subtractOverflows(r.height,I,E),z=D*T;return{visibleArea:z,isCompletelyWithinViewport:r.width*r.height===z,fitsInViewportVertically:T===r.height,fitsInViewportHorizontally:D==r.width}}_canFitWithFlexibleDimensions(n,e,t){if(this._hasFlexibleDimensions){let i=t.bottom-e.y,r=t.right-e.x,s=mu(this._overlayRef.getConfig().minHeight),a=mu(this._overlayRef.getConfig().minWidth),l=n.fitsInViewportVertically||s!=null&&s<=i,u=n.fitsInViewportHorizontally||a!=null&&a<=r;return l&&u}return!1}_pushOverlayOnScreen(n,e,t){if(this._previousPushAmount&&this._positionLocked)return{x:n.x+this._previousPushAmount.x,y:n.y+this._previousPushAmount.y};let i=hu(e),r=this._viewportRect,s=Math.max(n.x+i.width-r.width,0),a=Math.max(n.y+i.height-r.height,0),l=Math.max(r.top-t.top-n.y,0),u=Math.max(r.left-t.left-n.x,0),_=0,y=0;return i.width<=r.width?_=u||-s:_=n.xD&&!this._isInitialRender&&!this._growAfterOpen&&(s=n.y-D/2)}let l=e.overlayX==="start"&&!i||e.overlayX==="end"&&i,u=e.overlayX==="end"&&!i||e.overlayX==="start"&&i,_,y,I;if(u)I=t.width-n.x+this._viewportMargin*2,_=n.x-this._viewportMargin;else if(l)y=n.x,_=t.right-n.x;else{let E=Math.min(t.right-n.x+t.left,n.x),D=this._lastBoundingBoxSize.width;_=E*2,y=n.x-E,_>D&&!this._isInitialRender&&!this._growAfterOpen&&(y=n.x-D/2)}return{top:s,left:y,bottom:a,right:I,width:_,height:r}}_setBoundingBoxStyles(n,e){let t=this._calculateBoundingBoxRect(n,e);!this._isInitialRender&&!this._growAfterOpen&&(t.height=Math.min(t.height,this._lastBoundingBoxSize.height),t.width=Math.min(t.width,this._lastBoundingBoxSize.width));let i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right=i.maxHeight=i.maxWidth="",i.width=i.height="100%";else{let r=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;i.height=Ze(t.height),i.top=Ze(t.top),i.bottom=Ze(t.bottom),i.width=Ze(t.width),i.left=Ze(t.left),i.right=Ze(t.right),e.overlayX==="center"?i.alignItems="center":i.alignItems=e.overlayX==="end"?"flex-end":"flex-start",e.overlayY==="center"?i.justifyContent="center":i.justifyContent=e.overlayY==="bottom"?"flex-end":"flex-start",r&&(i.maxHeight=Ze(r)),s&&(i.maxWidth=Ze(s))}this._lastBoundingBoxSize=t,un(this._boundingBox.style,i)}_resetBoundingBoxStyles(){un(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){un(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(n,e){let t={},i=this._hasExactPosition(),r=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(i){let _=this._viewportRuler.getViewportScrollPosition();un(t,this._getExactOverlayY(e,n,_)),un(t,this._getExactOverlayX(e,n,_))}else t.position="static";let a="",l=this._getOffset(e,"x"),u=this._getOffset(e,"y");l&&(a+=`translateX(${l}px) `),u&&(a+=`translateY(${u}px)`),t.transform=a.trim(),s.maxHeight&&(i?t.maxHeight=Ze(s.maxHeight):r&&(t.maxHeight="")),s.maxWidth&&(i?t.maxWidth=Ze(s.maxWidth):r&&(t.maxWidth="")),un(this._pane.style,t)}_getExactOverlayY(n,e,t){let i={top:"",bottom:""},r=this._getOverlayPoint(e,this._overlayRect,n);if(this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,t)),n.overlayY==="bottom"){let s=this._document.documentElement.clientHeight;i.bottom=`${s-(r.y+this._overlayRect.height)}px`}else i.top=Ze(r.y);return i}_getExactOverlayX(n,e,t){let i={left:"",right:""},r=this._getOverlayPoint(e,this._overlayRect,n);this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,t));let s;if(this._isRtl()?s=n.overlayX==="end"?"left":"right":s=n.overlayX==="end"?"right":"left",s==="right"){let a=this._document.documentElement.clientWidth;i.right=`${a-(r.x+this._overlayRect.width)}px`}else i.left=Ze(r.x);return i}_getScrollVisibility(){let n=this._getOriginRect(),e=this._pane.getBoundingClientRect(),t=this._scrollables.map(i=>i.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:lu(n,t),isOriginOutsideView:mc(n,t),isOverlayClipped:lu(e,t),isOverlayOutsideView:mc(e,t)}}_subtractOverflows(n,...e){return e.reduce((t,i)=>t-Math.max(i,0),n)}_getNarrowedViewportRect(){let n=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,t=this._viewportRuler.getViewportScrollPosition();return{top:t.top+this._viewportMargin,left:t.left+this._viewportMargin,right:t.left+n-this._viewportMargin,bottom:t.top+e-this._viewportMargin,width:n-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(n,e){return e==="x"?n.offsetX==null?this._offsetX:n.offsetX:n.offsetY==null?this._offsetY:n.offsetY}_validatePositions(){}_addPanelClasses(n){this._pane&&wn(n).forEach(e=>{e!==""&&this._appliedPanelClasses.indexOf(e)===-1&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(n=>{this._pane.classList.remove(n)}),this._appliedPanelClasses=[])}_getOriginRect(){let n=this._origin;if(n instanceof j)return n.nativeElement.getBoundingClientRect();if(n instanceof Element)return n.getBoundingClientRect();let e=n.width||0,t=n.height||0;return{top:n.y,bottom:n.y+t,left:n.x,right:n.x+e,height:t,width:e}}};function un(o,n){for(let e in n)n.hasOwnProperty(e)&&(o[e]=n[e]);return o}function mu(o){if(typeof o!="number"&&o!=null){let[n,e]=o.split(my);return!e||e==="px"?parseFloat(n):null}return o||null}function hu(o){return{top:Math.floor(o.top),right:Math.floor(o.right),bottom:Math.floor(o.bottom),left:Math.floor(o.left),width:Math.floor(o.width),height:Math.floor(o.height)}}function hy(o,n){return o===n?!0:o.isOriginClipped===n.isOriginClipped&&o.isOriginOutsideView===n.isOriginOutsideView&&o.isOverlayClipped===n.isOverlayClipped&&o.isOverlayOutsideView===n.isOverlayOutsideView}var uu="cdk-global-overlay-wrapper",gc=class{_overlayRef;_cssPosition="static";_topOffset="";_bottomOffset="";_alignItems="";_xPosition="";_xOffset="";_width="";_height="";_isDisposed=!1;attach(n){let e=n.getConfig();this._overlayRef=n,this._width&&!e.width&&n.updateSize({width:this._width}),this._height&&!e.height&&n.updateSize({height:this._height}),n.hostElement.classList.add(uu),this._isDisposed=!1}top(n=""){return this._bottomOffset="",this._topOffset=n,this._alignItems="flex-start",this}left(n=""){return this._xOffset=n,this._xPosition="left",this}bottom(n=""){return this._topOffset="",this._bottomOffset=n,this._alignItems="flex-end",this}right(n=""){return this._xOffset=n,this._xPosition="right",this}start(n=""){return this._xOffset=n,this._xPosition="start",this}end(n=""){return this._xOffset=n,this._xPosition="end",this}width(n=""){return this._overlayRef?this._overlayRef.updateSize({width:n}):this._width=n,this}height(n=""){return this._overlayRef?this._overlayRef.updateSize({height:n}):this._height=n,this}centerHorizontally(n=""){return this.left(n),this._xPosition="center",this}centerVertically(n=""){return this.top(n),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,t=this._overlayRef.getConfig(),{width:i,height:r,maxWidth:s,maxHeight:a}=t,l=(i==="100%"||i==="100vw")&&(!s||s==="100%"||s==="100vw"),u=(r==="100%"||r==="100vh")&&(!a||a==="100%"||a==="100vh"),_=this._xPosition,y=this._xOffset,I=this._overlayRef.getConfig().direction==="rtl",E="",D="",T="";l?T="flex-start":_==="center"?(T="center",I?D=y:E=y):I?_==="left"||_==="end"?(T="flex-end",E=y):(_==="right"||_==="start")&&(T="flex-start",D=y):_==="left"||_==="start"?(T="flex-start",E=y):(_==="right"||_==="end")&&(T="flex-end",D=y),n.position=this._cssPosition,n.marginLeft=l?"0":E,n.marginTop=u?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=l?"0":D,e.justifyContent=T,e.alignItems=u?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,t=e.style;e.classList.remove(uu),t.justifyContent=t.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}},uy=(()=>{class o{_viewportRuler=p(sr);_document=p(ae);_platform=p(Ae);_overlayContainer=p(gu);constructor(){}global(){return new gc}flexibleConnectedTo(e){return new fc(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static \u0275fac=function(t){return new(t||o)};static \u0275prov=O({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})(),qt=(()=>{class o{scrollStrategies=p(ly);_overlayContainer=p(gu);_positionBuilder=p(uy);_keyboardDispatcher=p(cy);_injector=p(Qe);_ngZone=p(W);_document=p(ae);_directionality=p(ti);_location=p(yn);_outsideClickDispatcher=p(dy);_animationsModuleType=p(ut,{optional:!0});_idGenerator=p(vt);_appRef;_styleLoader=p(at);constructor(){}create(e){this._styleLoader.load(fu);let t=this._createHostElement(),i=this._createPaneElement(t),r=this._createPortalOutlet(i),s=new Xn(e);return s.direction=s.direction||this._directionality.value,new pc(r,t,i,s,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations",this._injector.get(Kt))}position(){return this._positionBuilder}_createPaneElement(e){let t=this._document.createElement("div");return t.id=this._idGenerator.getId("cdk-overlay-"),t.classList.add("cdk-overlay-pane"),e.appendChild(t),t}_createHostElement(){let e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(ai)),new lr(e,null,this._appRef,this._injector,this._document)}static \u0275fac=function(t){return new(t||o)};static \u0275prov=O({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})(),py=[{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"}],_u=new A("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let o=p(qt);return()=>o.scrollStrategies.reposition()}}),cr=(()=>{class o{elementRef=p(j);constructor(){}static \u0275fac=function(t){return new(t||o)};static \u0275dir=$({type:o,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]})}return o})(),bc=(()=>{class o{_overlay=p(qt);_dir=p(ti,{optional:!0});_overlayRef;_templatePortal;_backdropSubscription=Ue.EMPTY;_attachSubscription=Ue.EMPTY;_detachSubscription=Ue.EMPTY;_positionSubscription=Ue.EMPTY;_offsetX;_offsetY;_position;_scrollStrategyFactory=p(_u);_disposeOnNavigation=!1;_ngZone=p(W);origin;positions;positionStrategy;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)}width;height;minWidth;minHeight;backdropClass;panelClass;viewportMargin=0;scrollStrategy;open=!1;disableClose=!1;transformOriginSelector;hasBackdrop=!1;lockPosition=!1;flexibleDimensions=!1;growAfterOpen=!1;push=!1;get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(e){this._disposeOnNavigation=e}backdropClick=new H;positionChange=new H;attach=new H;detach=new H;overlayKeydown=new H;overlayOutsideClick=new H;constructor(){let e=p(bn),t=p(Qt);this._templatePortal=new hn(e,t),this.scrollStrategy=this._scrollStrategyFactory()}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=py);let 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(t=>{this.overlayKeydown.next(t),t.keyCode===27&&!this.disableClose&&!Ut(t)&&(t.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(t=>{let i=this._getOriginElement(),r=Mt(t);(!i||i!==r&&!i.contains(r))&&this.overlayOutsideClick.next(t)})}_buildConfig(){let e=this._position=this.positionStrategy||this._createPositionStrategy(),t=new Xn({direction:this._dir||"ltr",positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||this.width===0)&&(t.width=this.width),(this.height||this.height===0)&&(t.height=this.height),(this.minWidth||this.minWidth===0)&&(t.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(t.minHeight=this.minHeight),this.backdropClass&&(t.backdropClass=this.backdropClass),this.panelClass&&(t.panelClass=this.panelClass),t}_updatePositionStrategy(e){let t=this.positions.map(i=>({originX:i.originX,originY:i.originY,overlayX:i.overlayX,overlayY:i.overlayY,offsetX:i.offsetX||this.offsetX,offsetY:i.offsetY||this.offsetY,panelClass:i.panelClass||void 0}));return e.setOrigin(this._getOrigin()).withPositions(t).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){let e=this._overlay.position().flexibleConnectedTo(this._getOrigin());return this._updatePositionStrategy(e),e}_getOrigin(){return this.origin instanceof cr?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof cr?this.origin.elementRef.nativeElement:this.origin instanceof j?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}_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(Sc(()=>this.positionChange.observers.length>0)).subscribe(e=>{this._ngZone.run(()=>this.positionChange.emit(e)),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}static \u0275fac=function(t){return new(t||o)};static \u0275dir=$({type:o,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[0,"cdkConnectedOverlayOrigin","origin"],positions:[0,"cdkConnectedOverlayPositions","positions"],positionStrategy:[0,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[0,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[0,"cdkConnectedOverlayOffsetY","offsetY"],width:[0,"cdkConnectedOverlayWidth","width"],height:[0,"cdkConnectedOverlayHeight","height"],minWidth:[0,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[0,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[0,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[0,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[0,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[0,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[0,"cdkConnectedOverlayOpen","open"],disableClose:[0,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[0,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[2,"cdkConnectedOverlayHasBackdrop","hasBackdrop",q],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",q],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",q],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",q],push:[2,"cdkConnectedOverlayPush","push",q],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",q]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[Fe,ze]})}return o})();function fy(o){return()=>o.scrollStrategies.reposition()}var gy={provide:_u,deps:[qt],useFactory:fy},Ps=(()=>{class o{static \u0275fac=function(t){return new(t||o)};static \u0275mod=Z({type:o});static \u0275inj=X({providers:[qt,gy],imports:[Ri,su,rc,rc]})}return o})();var vc=class{_box;_destroyed=new V;_resizeSubject=new V;_resizeObserver;_elementObservables=new Map;constructor(n){this._box=n,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(e=>this._resizeSubject.next(e)))}observe(n){return this._elementObservables.has(n)||this._elementObservables.set(n,new Vt(e=>{let t=this._resizeSubject.subscribe(e);return this._resizeObserver?.observe(n,{box:this._box}),()=>{this._resizeObserver?.unobserve(n),t.unsubscribe(),this._elementObservables.delete(n)}}).pipe(De(e=>e.some(t=>t.target===n)),to({bufferSize:1,refCount:!0}),Ce(this._destroyed))),this._elementObservables.get(n)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},bu=(()=>{class o{_observers=new Map;_ngZone=p(W);constructor(){typeof ResizeObserver<"u"}ngOnDestroy(){for(let[,e]of this._observers)e.destroy();this._observers.clear(),typeof ResizeObserver<"u"}observe(e,t){let i=t?.box||"content-box";return this._observers.has(i)||this._observers.set(i,new vc(i)),this._observers.get(i).observe(e)}static \u0275fac=function(t){return new(t||o)};static \u0275prov=O({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();var _y=["notch"],by=["matFormFieldNotchedOutline",""],vy=["*"],yy=["textField"],xy=["iconPrefixContainer"],wy=["textPrefixContainer"],Cy=["iconSuffixContainer"],ky=["textSuffixContainer"],My=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],Iy=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function Ey(o,n){o&1&&R(0,"span",21)}function Sy(o,n){if(o&1&&(c(0,"label",20),G(1,1),Y(2,Ey,1,0,"span",21),d()),o&2){let e=f(2);M("floating",e._shouldLabelFloat())("monitorResize",e._hasOutline())("id",e._labelId),fe("for",e._control.disableAutomaticLabeling?null:e._control.id),h(2),L(!e.hideRequiredMarker&&e._control.required?2:-1)}}function Ty(o,n){if(o&1&&Y(0,Sy,3,5,"label",20),o&2){let e=f();L(e._hasFloatingLabel()?0:-1)}}function Dy(o,n){o&1&&R(0,"div",7)}function Ry(o,n){}function Ay(o,n){if(o&1&&Y(0,Ry,0,0,"ng-template",13),o&2){f(2);let e=Rt(1);M("ngTemplateOutlet",e)}}function Oy(o,n){if(o&1&&(c(0,"div",9),Y(1,Ay,1,1,null,13),d()),o&2){let e=f();M("matFormFieldNotchedOutlineOpen",e._shouldLabelFloat()),h(),L(e._forceDisplayInfixLabel()?-1:1)}}function Fy(o,n){o&1&&(c(0,"div",10,2),G(2,2),d())}function Py(o,n){o&1&&(c(0,"div",11,3),G(2,3),d())}function Ly(o,n){}function zy(o,n){if(o&1&&Y(0,Ly,0,0,"ng-template",13),o&2){f();let e=Rt(1);M("ngTemplateOutlet",e)}}function Vy(o,n){o&1&&(c(0,"div",14,4),G(2,4),d())}function Ny(o,n){o&1&&(c(0,"div",15,5),G(2,5),d())}function By(o,n){o&1&&R(0,"div",16)}function Wy(o,n){if(o&1&&(c(0,"div",18),G(1,6),d()),o&2){let e=f();M("@transitionMessages",e._subscriptAnimationState)}}function jy(o,n){if(o&1&&(c(0,"mat-hint",22),m(1),d()),o&2){let e=f(2);M("id",e._hintLabelId),h(),Xe(e.hintLabel)}}function $y(o,n){if(o&1&&(c(0,"div",19),Y(1,jy,2,2,"mat-hint",22),G(2,7),R(3,"div",23),G(4,8),d()),o&2){let e=f();M("@transitionMessages",e._subscriptAnimationState),h(),L(e.hintLabel?1:-1)}}var zs=(()=>{class o{static \u0275fac=function(t){return new(t||o)};static \u0275dir=$({type:o,selectors:[["mat-label"]]})}return o})(),Uy=new A("MatError");var vu=(()=>{class o{align="start";id=p(vt).getId("mat-mdc-hint-");static \u0275fac=function(t){return new(t||o)};static \u0275dir=$({type:o,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(t,i){t&2&&(Ii("id",i.id),fe("align",null),te("mat-mdc-form-field-hint-end",i.align==="end"))},inputs:{align:"align",id:"id"}})}return o})(),Hy=new A("MatPrefix");var Gy=new A("MatSuffix");var Iu=new A("FloatingLabelParent"),yu=(()=>{class o{_elementRef=p(j);get floating(){return this._floating}set floating(e){this._floating=e,this.monitorResize&&this._handleResize()}_floating=!1;get monitorResize(){return this._monitorResize}set monitorResize(e){this._monitorResize=e,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}_monitorResize=!1;_resizeObserver=p(bu);_ngZone=p(W);_parent=p(Iu);_resizeSubscription=new Ue;constructor(){}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return Yy(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}static \u0275fac=function(t){return new(t||o)};static \u0275dir=$({type:o,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(t,i){t&2&&te("mdc-floating-label--float-above",i.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}})}return o})();function Yy(o){let n=o;if(n.offsetParent!==null)return n.scrollWidth;let e=n.cloneNode(!0);e.style.setProperty("position","absolute"),e.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(e);let t=e.scrollWidth;return e.remove(),t}var xu="mdc-line-ripple--active",Ls="mdc-line-ripple--deactivating",wu=(()=>{class o{_elementRef=p(j);constructor(){p(W).runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){let e=this._elementRef.nativeElement.classList;e.remove(Ls),e.add(xu)}deactivate(){this._elementRef.nativeElement.classList.add(Ls)}_handleTransitionEnd=e=>{let t=this._elementRef.nativeElement.classList,i=t.contains(Ls);e.propertyName==="opacity"&&i&&t.remove(xu,Ls)};ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}static \u0275fac=function(t){return new(t||o)};static \u0275dir=$({type:o,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]})}return o})(),Cu=(()=>{class o{_elementRef=p(j);_ngZone=p(W);open=!1;_notch;constructor(){}ngAfterViewInit(){let e=this._elementRef.nativeElement.querySelector(".mdc-floating-label");e?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(e.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>e.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(e){!this.open||!e?this._notch.nativeElement.style.width="":this._notch.nativeElement.style.width=`calc(${e}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`}static \u0275fac=function(t){return new(t||o)};static \u0275cmp=S({type:o,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(t,i){if(t&1&&Pe(_y,5),t&2){let r;J(r=ee())&&(i._notch=r.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(t,i){t&2&&te("mdc-notched-outline--notched",i.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},attrs:by,ngContentSelectors:vy,decls:5,vars:0,consts:[["notch",""],[1,"mat-mdc-notch-piece","mdc-notched-outline__leading"],[1,"mat-mdc-notch-piece","mdc-notched-outline__notch"],[1,"mat-mdc-notch-piece","mdc-notched-outline__trailing"]],template:function(t,i){t&1&&(Te(),R(0,"div",1),c(1,"div",2,0),G(3),d(),R(4,"div",3))},encapsulation:2,changeDetection:0})}return o})(),qy={transitionMessages:Ei("transitionMessages",[Xi("enter",kt({opacity:1,transform:"translateY(0%)"})),Jt("void => enter",[kt({opacity:0,transform:"translateY(-5px)"}),di("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},dr=(()=>{class o{value;stateChanges;id;placeholder;ngControl;focused;empty;shouldLabelFloat;required;disabled;errorState;controlType;autofilled;userAriaDescribedBy;disableAutomaticLabeling;static \u0275fac=function(t){return new(t||o)};static \u0275dir=$({type:o})}return o})();var mr=new A("MatFormField"),Xy=new A("MAT_FORM_FIELD_DEFAULT_OPTIONS"),ku="fill",Zy="auto",Mu="fixed",Ky="translateY(-50%)",Be=(()=>{class o{_elementRef=p(j);_changeDetectorRef=p(Ye);_dir=p(ti);_platform=p(Ae);_idGenerator=p(vt);_defaults=p(Xy,{optional:!0});_animationMode=p(ut,{optional:!0});_textField;_iconPrefixContainer;_textPrefixContainer;_iconSuffixContainer;_textSuffixContainer;_floatingLabel;_notchedOutline;_lineRipple;_formFieldControl;_prefixChildren;_suffixChildren;_errorChildren;_hintChildren;_labelChild=qc(zs);get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=At(e)}_hideRequiredMarker=!1;color="primary";get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||Zy}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e,this._changeDetectorRef.markForCheck())}_floatLabel;get appearance(){return this._appearance}set appearance(e){let t=this._appearance,i=e||this._defaults?.appearance||ku;this._appearance=i,this._appearance==="outline"&&this._appearance!==t&&(this._needsOutlineLabelOffsetUpdate=!0)}_appearance=ku;get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||Mu}set subscriptSizing(e){this._subscriptSizing=e||this._defaults?.subscriptSizing||Mu}_subscriptSizing=null;get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}_hintLabel="";_hasIconPrefix=!1;_hasTextPrefix=!1;_hasIconSuffix=!1;_hasTextSuffix=!1;_labelId=this._idGenerator.getId("mat-mdc-form-field-label-");_hintLabelId=this._idGenerator.getId("mat-mdc-hint-");_subscriptAnimationState="";get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(e){this._explicitFormFieldControl=e}_destroyed=new V;_isFocused=null;_explicitFormFieldControl;_needsOutlineLabelOffsetUpdate=!1;_previousControl=null;_stateChanges;_valueChanges;_describedByChanges;_injector=p(Qe);constructor(){let e=this._defaults;e&&(e.appearance&&(this.appearance=e.appearance),this._hideRequiredMarker=!!e?.hideRequiredMarker,e.color&&(this.color=e.color))}ngAfterViewInit(){this._updateFocusState(),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl(),this._control!==this._previousControl&&(this._initializeControl(this._previousControl),this._previousControl=this._control)}ngOnDestroy(){this._stateChanges?.unsubscribe(),this._valueChanges?.unsubscribe(),this._describedByChanges?.unsubscribe(),this._destroyed.next(),this._destroyed.complete()}getLabelId=li(()=>this._hasFloatingLabel()?this._labelId:null);getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(e){let t=this._control,i="mat-mdc-form-field-type-";e&&this._elementRef.nativeElement.classList.remove(i+e.controlType),t.controlType&&this._elementRef.nativeElement.classList.add(i+t.controlType),this._stateChanges?.unsubscribe(),this._stateChanges=t.stateChanges.subscribe(()=>{this._updateFocusState(),this._changeDetectorRef.markForCheck()}),this._describedByChanges?.unsubscribe(),this._describedByChanges=t.stateChanges.pipe(ht([void 0,void 0]),B(()=>[t.errorState,t.userAriaDescribedBy]),Gs(),De(([[r,s],[a,l]])=>r!==a||s!==l)).subscribe(()=>this._syncDescribedByIds()),this._valueChanges?.unsubscribe(),t.ngControl&&t.ngControl.valueChanges&&(this._valueChanges=t.ngControl.valueChanges.pipe(Ce(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()))}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(e=>!e._isText),this._hasTextPrefix=!!this._prefixChildren.find(e=>e._isText),this._hasIconSuffix=!!this._suffixChildren.find(e=>!e._isText),this._hasTextSuffix=!!this._suffixChildren.find(e=>e._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),dt(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){this._control}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||this._isFocused===null)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0),wr(()=>{this._needsOutlineLabelOffsetUpdate&&(this._needsOutlineLabelOffsetUpdate=!1,this._updateOutlineLabelOffset())},{injector:this._injector}),this._dir.change.pipe(Ce(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0)}_shouldAlwaysFloat(){return this.floatLabel==="always"}_hasOutline(){return this.appearance==="outline"}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel=li(()=>!!this._labelChild());_shouldLabelFloat(){return this._hasFloatingLabel()?this._control.shouldLabelFloat||this._shouldAlwaysFloat():!1}_shouldForward(e){let t=this._control?this._control.ngControl:null;return t&&t[e]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||!this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(0):this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){this._hintChildren}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&e.push(...this._control.userAriaDescribedBy.split(" ")),this._getDisplayedMessages()==="hint"){let t=this._hintChildren?this._hintChildren.find(r=>r.align==="start"):null,i=this._hintChildren?this._hintChildren.find(r=>r.align==="end"):null;t?e.push(t.id):this._hintLabel&&e.push(this._hintLabelId),i&&e.push(i.id)}else this._errorChildren&&e.push(...this._errorChildren.map(t=>t.id));this._control.setDescribedByIds(e)}}_updateOutlineLabelOffset(){if(!this._hasOutline()||!this._floatingLabel)return;let e=this._floatingLabel.element;if(!(this._iconPrefixContainer||this._textPrefixContainer)){e.style.transform="";return}if(!this._isAttachedToDom()){this._needsOutlineLabelOffsetUpdate=!0;return}let t=this._iconPrefixContainer?.nativeElement,i=this._textPrefixContainer?.nativeElement,r=this._iconSuffixContainer?.nativeElement,s=this._textSuffixContainer?.nativeElement,a=t?.getBoundingClientRect().width??0,l=i?.getBoundingClientRect().width??0,u=r?.getBoundingClientRect().width??0,_=s?.getBoundingClientRect().width??0,y=this._dir.value==="rtl"?"-1":"1",I=`${a+l}px`,D=`calc(${y} * (${I} + var(--mat-mdc-form-field-label-offset-x, 0px)))`;e.style.transform=`var( + --mat-mdc-form-field-label-transform, + ${Ky} translateX(${D}) + )`;let T=a+l+u+_;this._elementRef.nativeElement.style.setProperty("--mat-form-field-notch-max-width",`calc(100% - ${T}px)`)}_isAttachedToDom(){let e=this._elementRef.nativeElement;if(e.getRootNode){let t=e.getRootNode();return t&&t!==e}return document.documentElement.contains(e)}static \u0275fac=function(t){return new(t||o)};static \u0275cmp=S({type:o,selectors:[["mat-form-field"]],contentQueries:function(t,i,r){if(t&1&&(Zc(r,i._labelChild,zs,5),Ge(r,dr,5),Ge(r,Hy,5),Ge(r,Gy,5),Ge(r,Uy,5),Ge(r,vu,5)),t&2){Kc();let s;J(s=ee())&&(i._formFieldControl=s.first),J(s=ee())&&(i._prefixChildren=s),J(s=ee())&&(i._suffixChildren=s),J(s=ee())&&(i._errorChildren=s),J(s=ee())&&(i._hintChildren=s)}},viewQuery:function(t,i){if(t&1&&(Pe(yy,5),Pe(xy,5),Pe(wy,5),Pe(Cy,5),Pe(ky,5),Pe(yu,5),Pe(Cu,5),Pe(wu,5)),t&2){let r;J(r=ee())&&(i._textField=r.first),J(r=ee())&&(i._iconPrefixContainer=r.first),J(r=ee())&&(i._textPrefixContainer=r.first),J(r=ee())&&(i._iconSuffixContainer=r.first),J(r=ee())&&(i._textSuffixContainer=r.first),J(r=ee())&&(i._floatingLabel=r.first),J(r=ee())&&(i._notchedOutline=r.first),J(r=ee())&&(i._lineRipple=r.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(t,i){t&2&&te("mat-mdc-form-field-label-always-float",i._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",i._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",i._hasIconSuffix)("mat-form-field-invalid",i._control.errorState)("mat-form-field-disabled",i._control.disabled)("mat-form-field-autofilled",i._control.autofilled)("mat-form-field-no-animations",i._animationMode==="NoopAnimations")("mat-form-field-appearance-fill",i.appearance=="fill")("mat-form-field-appearance-outline",i.appearance=="outline")("mat-form-field-hide-placeholder",i._hasFloatingLabel()&&!i._shouldLabelFloat())("mat-focused",i._control.focused)("mat-primary",i.color!=="accent"&&i.color!=="warn")("mat-accent",i.color==="accent")("mat-warn",i.color==="warn")("ng-untouched",i._shouldForward("untouched"))("ng-touched",i._shouldForward("touched"))("ng-pristine",i._shouldForward("pristine"))("ng-dirty",i._shouldForward("dirty"))("ng-valid",i._shouldForward("valid"))("ng-invalid",i._shouldForward("invalid"))("ng-pending",i._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[Ne([{provide:mr,useExisting:o},{provide:Iu,useExisting:o}])],ngContentSelectors:Iy,decls:18,vars:21,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],["textSuffixContainer",""],["iconSuffixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(t,i){if(t&1){let r=F();Te(My),Y(0,Ty,1,1,"ng-template",null,0,ia),c(2,"div",6,1),g("click",function(a){return b(r),v(i._control.onContainerClick(a))}),Y(4,Dy,1,0,"div",7),c(5,"div",8),Y(6,Oy,2,2,"div",9)(7,Fy,3,0,"div",10)(8,Py,3,0,"div",11),c(9,"div",12),Y(10,zy,1,1,null,13),G(11),d(),Y(12,Vy,3,0,"div",14)(13,Ny,3,0,"div",15),d(),Y(14,By,1,0,"div",16),d(),c(15,"div",17),Y(16,Wy,2,1,"div",18)(17,$y,5,2,"div",19),d()}if(t&2){let r;h(2),te("mdc-text-field--filled",!i._hasOutline())("mdc-text-field--outlined",i._hasOutline())("mdc-text-field--no-label",!i._hasFloatingLabel())("mdc-text-field--disabled",i._control.disabled)("mdc-text-field--invalid",i._control.errorState),h(2),L(!i._hasOutline()&&!i._control.disabled?4:-1),h(2),L(i._hasOutline()?6:-1),h(),L(i._hasIconPrefix?7:-1),h(),L(i._hasTextPrefix?8:-1),h(2),L(!i._hasOutline()||i._forceDisplayInfixLabel()?10:-1),h(2),L(i._hasTextSuffix?12:-1),h(),L(i._hasIconSuffix?13:-1),h(),L(i._hasOutline()?-1:14),h(),te("mat-mdc-form-field-subscript-dynamic-size",i.subscriptSizing==="dynamic"),h(),L((r=i._getDisplayedMessages())==="error"?16:r==="hint"?17:-1)}},dependencies:[yu,Cu,rd,wu,vu],styles:['.mdc-text-field{display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field__input{width:100%;min-width:0;border:none;border-radius:0;background:none;padding:0;-moz-appearance:none;-webkit-appearance:none;height:28px}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}.mdc-text-field__input::placeholder{opacity:0}.mdc-text-field__input::-moz-placeholder{opacity:0}.mdc-text-field__input::-webkit-input-placeholder{opacity:0}.mdc-text-field__input:-ms-input-placeholder{opacity:0}.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-moz-placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-webkit-input-placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive:-ms-input-placeholder{opacity:0}.mdc-text-field--outlined .mdc-text-field__input,.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color, var(--mat-sys-on-surface));caret-color:var(--mdc-filled-text-field-caret-color, var(--mat-sys-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color, var(--mat-sys-on-surface));caret-color:var(--mdc-outlined-text-field-caret-color, var(--mat-sys-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}}.mdc-text-field--filled{height:56px;border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-left-radius:var(--mdc-filled-text-field-container-shape, var(--mat-sys-corner-extra-small));border-top-right-radius:var(--mdc-filled-text-field-container-shape, var(--mat-sys-corner-extra-small))}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color, var(--mat-sys-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 4%, transparent))}.mdc-text-field--outlined{height:56px;overflow:visible;padding-right:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)));padding-left:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)) + 4px)}[dir=rtl] .mdc-text-field--outlined{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)) + 4px);padding-left:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)))}.mdc-floating-label{position:absolute;left:0;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label{right:0;left:auto;transform-origin:right top;text-align:right}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:auto}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label{left:auto;right:4px}.mdc-text-field--filled .mdc-floating-label{left:16px;right:auto}[dir=rtl] .mdc-text-field--filled .mdc-floating-label{left:auto;right:16px}.mdc-text-field--disabled .mdc-floating-label{cursor:default}@media(forced-colors: active){.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-filled-text-field-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mdc-filled-text-field-focus-label-text-color, var(--mat-sys-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mdc-filled-text-field-hover-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label{color:var(--mdc-filled-text-field-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mdc-filled-text-field-error-label-text-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mdc-filled-text-field-error-focus-label-text-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mdc-filled-text-field-error-hover-label-text-color, var(--mat-sys-on-error-container))}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font, var(--mat-sys-body-large-font));font-size:var(--mdc-filled-text-field-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mdc-filled-text-field-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mdc-filled-text-field-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-outlined-text-field-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mdc-outlined-text-field-focus-label-text-color, var(--mat-sys-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mdc-outlined-text-field-hover-label-text-color, var(--mat-sys-on-surface))}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label{color:var(--mdc-outlined-text-field-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mdc-outlined-text-field-error-label-text-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mdc-outlined-text-field-error-focus-label-text-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mdc-outlined-text-field-error-hover-label-text-color, var(--mat-sys-on-error-container))}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font, var(--mat-sys-body-large-font));font-size:var(--mdc-outlined-text-field-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mdc-outlined-text-field-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mdc-outlined-text-field-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-floating-label--float-above{cursor:auto;transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1);font-size:.75rem}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline{text-align:right}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mat-mdc-notch-piece{box-sizing:border-box;height:100%;pointer-events:none;border-top:1px solid;border-bottom:1px solid}.mdc-text-field--focused .mat-mdc-notch-piece{border-width:2px}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-outline-color, var(--mat-sys-outline));border-width:var(--mdc-outlined-text-field-outline-width, 1px)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-hover-outline-color, var(--mat-sys-on-surface))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-focus-outline-color, var(--mat-sys-primary))}.mdc-text-field--outlined.mdc-text-field--disabled .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-outline-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-notched-outline .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-hover-outline-color, var(--mat-sys-on-error-container))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-focus-outline-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mat-mdc-notch-piece{border-width:var(--mdc-outlined-text-field-focus-outline-width, 2px)}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small));border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small))}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)))}[dir=rtl] .mdc-notched-outline__leading{border-left:none;border-right:1px solid;border-bottom-left-radius:0;border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small));border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small))}.mdc-notched-outline__trailing{flex-grow:1;border-left:none;border-right:1px solid;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small));border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small))}[dir=rtl] .mdc-notched-outline__trailing{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small));border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small))}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:min(var(--mat-form-field-notch-max-width, 100%),100% - max(12px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)))*2)}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none;--mat-form-field-notch-max-width: 100%}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1;border-bottom-width:var(--mdc-filled-text-field-active-indicator-height, 1px)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-hover-active-indicator-color, var(--mat-sys-on-surface))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color, var(--mat-sys-on-error-container))}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height, 2px)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-focus-active-indicator-color, var(--mat-sys-primary))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-error-focus-active-indicator-color, var(--mat-sys-error))}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-text-field--disabled{pointer-events:none}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all;will-change:auto}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto;will-change:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-infix{min-height:var(--mat-form-field-container-height, 56px);padding-top:var(--mat-form-field-filled-with-label-container-padding-top, 24px);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom, 8px)}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--mat-form-field-container-vertical-padding, 16px);padding-bottom:var(--mat-form-field-container-vertical-padding, 16px)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height, 56px)/2)}.mdc-text-field--filled .mat-mdc-floating-label{display:var(--mat-form-field-filled-label-display, block)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height, 56px) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color, var(--mat-sys-error))}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font, var(--mat-sys-body-small-font));line-height:var(--mat-form-field-subscript-text-line-height, var(--mat-sys-body-small-line-height));font-size:var(--mat-form-field-subscript-text-size, var(--mat-sys-body-small-size));letter-spacing:var(--mat-form-field-subscript-text-tracking, var(--mat-sys-body-small-tracking));font-weight:var(--mat-form-field-subscript-text-weight, var(--mat-sys-body-small-weight))}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color, var(--mat-sys-on-surface))}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity, 0)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color, var(--mat-sys-neutral10))}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color, color-mix(in srgb, var(--mat-sys-neutral10) 38%, transparent))}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";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;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color, var(--mat-sys-on-surface-variant))}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color, var(--mat-sys-primary))}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}@media(forced-colors: active){.mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}}@media(forced-colors: active){.mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}}@media(forced-colors: active){.mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}}@media(forced-colors: active){.mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font, var(--mat-sys-body-large-font));line-height:var(--mat-form-field-container-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-form-field-container-text-size, var(--mat-sys-body-large-size));letter-spacing:var(--mat-form-field-container-text-tracking, var(--mat-sys-body-large-tracking));font-weight:var(--mat-form-field-container-text-weight, var(--mat-sys-body-large-weight))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%;z-index:0}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:0 12px;box-sizing:content-box}.mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-leading-icon-color, var(--mat-sys-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color, var(--mat-sys-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color, var(--mat-sys-error))}.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-hover-trailing-icon-color, var(--mat-sys-on-error-container))}.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-focus-trailing-icon-color, var(--mat-sys-error))}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field-infix:has(textarea[cols]){width:auto}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::-moz-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::-webkit-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input::placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}'],encapsulation:2,data:{animation:[qy.transitionMessages]},changeDetection:0})}return o})(),hr=(()=>{class o{static \u0275fac=function(t){return new(t||o)};static \u0275mod=Z({type:o});static \u0275inj=X({imports:[ke,Br,ke]})}return o})();var Qy=["trigger"],Jy=["panel"],e0=[[["mat-select-trigger"]],"*"],t0=["mat-select-trigger","*"];function i0(o,n){if(o&1&&(c(0,"span",4),m(1),d()),o&2){let e=f();h(),Xe(e.placeholder)}}function n0(o,n){o&1&&G(0)}function o0(o,n){if(o&1&&(c(0,"span",11),m(1),d()),o&2){let e=f(2);h(),Xe(e.triggerValue)}}function r0(o,n){if(o&1&&(c(0,"span",5),Y(1,n0,1,0)(2,o0,2,1,"span",11),d()),o&2){let e=f();h(),L(e.customTrigger?1:2)}}function s0(o,n){if(o&1){let e=F();c(0,"div",12,1),g("@transformPanel.done",function(i){b(e);let r=f();return v(r._panelDoneAnimatingStream.next(i.toState))})("keydown",function(i){b(e);let r=f();return v(r._handleKeydown(i))}),G(2,1),d()}if(o&2){let e=f();Xc("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",e._getPanelTheme(),""),M("ngClass",e.panelClass)("@transformPanel","showing"),fe("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby())}}var a0={transformPanelWrap:Ei("transformPanelWrap",[Jt("* => void",cd("@transformPanel",[ld()],{optional:!0}))]),transformPanel:Ei("transformPanel",[Xi("void",kt({opacity:0,transform:"scale(1, 0.8)"})),Jt("void => showing",di("120ms cubic-bezier(0, 0, 0.2, 1)",kt({opacity:1,transform:"scale(1, 1)"}))),Jt("* => void",di("100ms linear",kt({opacity:0})))])};var Eu=new A("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{let o=p(qt);return()=>o.scrollStrategies.reposition()}});function l0(o){return()=>o.scrollStrategies.reposition()}var c0=new A("MAT_SELECT_CONFIG"),d0={provide:Eu,deps:[qt],useFactory:l0},m0=new A("MatSelectTrigger"),yc=class{source;value;constructor(n,e){this.source=n,this.value=e}},ft=(()=>{class o{_viewportRuler=p(sr);_changeDetectorRef=p(Ye);_elementRef=p(j);_dir=p(ti,{optional:!0});_idGenerator=p(vt);_parentFormField=p(mr,{optional:!0});ngControl=p(ui,{self:!0,optional:!0});_liveAnnouncer=p(Gd);_defaultOptions=p(c0,{optional:!0});options;optionGroups;customTrigger;_positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}];_scrollOptionIntoView(e){let t=this.options.toArray()[e];if(t){let i=this.panel.nativeElement,r=tm(e,this.options,this.optionGroups),s=t._getHostElement();e===0&&r===1?i.scrollTop=0:i.scrollTop=im(s.offsetTop,s.offsetHeight,i.scrollTop,i.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(e){return new yc(this,e)}_scrollStrategyFactory=p(Eu);_panelOpen=!1;_compareWith=(e,t)=>e===t;_uid=this._idGenerator.getId("mat-select-");_triggerAriaLabelledBy=null;_previousControl;_destroy=new V;_errorStateTracker;stateChanges=new V;disableAutomaticLabeling=!0;userAriaDescribedBy;_selectionModel;_keyManager;_preferredOverlayOrigin;_overlayWidth;_onChange=()=>{};_onTouched=()=>{};_valueId=this._idGenerator.getId("mat-select-value-");_panelDoneAnimatingStream=new V;_scrollStrategy;_overlayPanelClass=this._defaultOptions?.overlayPanelClass||"";get focused(){return this._focused||this._panelOpen}_focused=!1;controlType="mat-select";trigger;panel;_overlayDir;panelClass;disabled=!1;disableRipple=!1;tabIndex=0;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=e,this._syncParentProperties()}_hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1;get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}_placeholder;get required(){return this._required??this.ngControl?.control?.hasValidator(Pn.required)??!1}set required(e){this._required=e,this.stateChanges.next()}_required;get multiple(){return this._multiple}set multiple(e){this._selectionModel,this._multiple=e}_multiple=!1;disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1;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)}_value;ariaLabel="";ariaLabelledby;get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}typeaheadDebounceInterval;sortComparator;get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}_id;get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto";_initialized=new V;optionSelectionChanges=eo(()=>{let e=this.options;return e?e.changes.pipe(ht(e),je(()=>dt(...e.map(t=>t.onSelectionChange)))):this._initialized.pipe(je(()=>this.optionSelectionChanges))});openedChange=new H;_openedStream=this.openedChange.pipe(De(e=>e),B(()=>{}));_closedStream=this.openedChange.pipe(De(e=>!e),B(()=>{}));selectionChange=new H;valueChange=new H;constructor(){let e=p(qr),t=p(Eo,{optional:!0}),i=p(So,{optional:!0}),r=p(new Ui("tabindex"),{optional:!0});this.ngControl&&(this.ngControl.valueAccessor=this),this._defaultOptions?.typeaheadDebounceInterval!=null&&(this.typeaheadDebounceInterval=this._defaultOptions.typeaheadDebounceInterval),this._errorStateTracker=new Tn(e,this.ngControl,i,t,this.stateChanges),this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=r==null?0:parseInt(r)||0,this.id=this.id}ngOnInit(){this._selectionModel=new Zr(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Wi(),Ce(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen)),this._viewportRuler.change().pipe(Ce(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}ngAfterContentInit(){this._initialized.next(),this._initialized.complete(),this._initKeyManager(),this._selectionModel.changed.pipe(Ce(this._destroy)).subscribe(e=>{e.added.forEach(t=>t.select()),e.removed.forEach(t=>t.deselect())}),this.options.changes.pipe(ht(null),Ce(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){let e=this._getTriggerAriaLabelledby(),t=this.ngControl;if(e!==this._triggerAriaLabelledBy){let i=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?i.setAttribute("aria-labelledby",e):i.removeAttribute("aria-labelledby")}t&&(this._previousControl!==t.control&&(this._previousControl!==void 0&&t.disabled!==null&&t.disabled!==this.disabled&&(this.disabled=t.disabled),this._previousControl=t.control),this.updateErrorState())}ngOnChanges(e){(e.disabled||e.userAriaDescribedBy)&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval)}ngOnDestroy(){this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_trackedModal=null;_applyModalPanelOwnership(){let e=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!e)return;let t=`${this.id}-panel`;this._trackedModal&&Ra(this._trackedModal,"aria-owns",t),$d(e,"aria-owns",t),this._trackedModal=e}_clearFromModal(){if(!this._trackedModal)return;let e=`${this.id}-panel`;Ra(this._trackedModal,"aria-owns",e),this._trackedModal=null}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched(),this.stateChanges.next())}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(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){let e=this._selectionModel.selected.map(t=>t.viewValue);return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return this._dir?this._dir.value==="rtl":!1}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}_handleClosedKeydown(e){let t=e.keyCode,i=t===40||t===38||t===37||t===39,r=t===13||t===32,s=this._keyManager;if(!s.isTyping()&&r&&!Ut(e)||(this.multiple||e.altKey)&&i)e.preventDefault(),this.open();else if(!this.multiple){let a=this.selected;s.onKeydown(e);let l=this.selected;l&&a!==l&&this._liveAnnouncer.announce(l.viewValue,1e4)}}_handleOpenKeydown(e){let t=this._keyManager,i=e.keyCode,r=i===40||i===38,s=t.isTyping();if(r&&e.altKey)e.preventDefault(),this.close();else if(!s&&(i===13||i===32)&&t.activeItem&&!Ut(e))e.preventDefault(),t.activeItem._selectViaInteraction();else if(!s&&this._multiple&&i===65&&e.ctrlKey){e.preventDefault();let a=this.options.some(l=>!l.disabled&&!l.selected);this.options.forEach(l=>{l.disabled||(a?l.select():l.deselect())})}else{let a=t.activeItemIndex;t.onKeydown(e),this._multiple&&r&&e.shiftKey&&t.activeItem&&t.activeItemIndex!==a&&t.activeItem._selectViaInteraction()}}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe(mt(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.options.forEach(t=>t.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(t=>this._selectOptionByValue(t)),this._sortValues();else{let t=this._selectOptionByValue(e);t?this._keyManager.updateActiveItem(t):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(e){let t=this.options.find(i=>{if(this._selectionModel.isSelected(i))return!1;try{return i.value!=null&&this._compareWith(i.value,e)}catch{return!1}});return t&&this._selectionModel.select(t),t}_assignValue(e){return e!==this._value||this._multiple&&Array.isArray(e)?(this.options&&this._setSelectionByValue(e),this._value=e,!0):!1}_skipPredicate=e=>this.panelOpen?!1:e.disabled;_getOverlayWidth(e){return this.panelWidth==="auto"?(e instanceof cr?e.elementRef:e||this._elementRef).nativeElement.getBoundingClientRect().width:this.panelWidth===null?"":this.panelWidth}_syncParentProperties(){if(this.options)for(let e of this.options)e._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new Ur(this.options).withTypeAhead(this.typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){let e=dt(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(Ce(e)).subscribe(t=>{this._onSelect(t.source,t.isUserInput),t.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),dt(...this.options.map(t=>t._stateChanges)).pipe(Ce(e)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(e,t){let i=this._selectionModel.isSelected(e);e.value==null&&!this._multiple?(e.deselect(),this._selectionModel.clear(),this.value!=null&&this._propagateChanges(e.value)):(i!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),t&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),t&&this.focus())),i!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){let e=this.options.toArray();this._selectionModel.sort((t,i)=>this.sortComparator?this.sortComparator(t,i,e):e.indexOf(t)-e.indexOf(i)),this.stateChanges.next()}}_propagateChanges(e){let t;this.multiple?t=this.selected.map(i=>i.value):t=this.selected?this.selected.value:e,this._value=t,this.valueChange.emit(t),this._onChange(t),this.selectionChange.emit(this._getChangeEvent(t)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let e=-1;for(let t=0;t0}focus(e){this._elementRef.nativeElement.focus(e)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId()||null,t=e?e+" ":"";return this.ariaLabelledby?t+this.ariaLabelledby:e}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId(),t=(e?e+" ":"")+this._valueId;return this.ariaLabelledby&&(t+=" "+this.ariaLabelledby),t}_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}static \u0275fac=function(t){return new(t||o)};static \u0275cmp=S({type:o,selectors:[["mat-select"]],contentQueries:function(t,i,r){if(t&1&&(Ge(r,m0,5),Ge(r,rt,5),Ge(r,Na,5)),t&2){let s;J(s=ee())&&(i.customTrigger=s.first),J(s=ee())&&(i.options=s),J(s=ee())&&(i.optionGroups=s)}},viewQuery:function(t,i){if(t&1&&(Pe(Qy,5),Pe(Jy,5),Pe(bc,5)),t&2){let r;J(r=ee())&&(i.trigger=r.first),J(r=ee())&&(i.panel=r.first),J(r=ee())&&(i._overlayDir=r.first)}},hostAttrs:["role","combobox","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(t,i){t&1&&g("keydown",function(s){return i._handleKeydown(s)})("focus",function(){return i._onFocus()})("blur",function(){return i._onBlur()}),t&2&&(fe("id",i.id)("tabindex",i.disabled?-1: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()),te("mat-mdc-select-disabled",i.disabled)("mat-mdc-select-invalid",i.errorState)("mat-mdc-select-required",i.required)("mat-mdc-select-empty",i.empty)("mat-mdc-select-multiple",i.multiple))},inputs:{userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[2,"disabled","disabled",q],disableRipple:[2,"disableRipple","disableRipple",q],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:qi(e)],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",q],placeholder:"placeholder",required:[2,"required","required",q],multiple:[2,"multiple","multiple",q],disableOptionCentering:[2,"disableOptionCentering","disableOptionCentering",q],compareWith:"compareWith",value:"value",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[2,"typeaheadDebounceInterval","typeaheadDebounceInterval",qi],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],features:[Ne([{provide:dr,useExisting:o},{provide:Va,useExisting:o}]),Fe,ze],ngContentSelectors:t0,decls:11,vars:8,consts:[["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],["panel",""],["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],[1,"mat-mdc-select-value"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"backdropClick","attach","detach","cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"keydown","ngClass"]],template:function(t,i){if(t&1){let r=F();Te(e0),c(0,"div",2,0),g("click",function(){return b(r),v(i.open())}),c(3,"div",3),Y(4,i0,2,1,"span",4)(5,r0,3,1,"span",5),d(),c(6,"div",6)(7,"div",7),$i(),c(8,"svg",8),R(9,"path",9),d()()()(),Y(10,s0,3,9,"ng-template",10),g("backdropClick",function(){return b(r),v(i.close())})("attach",function(){return b(r),v(i._onAttached())})("detach",function(){return b(r),v(i.close())})}if(t&2){let r=Rt(1);h(3),fe("id",i._valueId),h(),L(i.empty?4:5),h(6),M("cdkConnectedOverlayPanelClass",i._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",i._scrollStrategy)("cdkConnectedOverlayOrigin",i._preferredOverlayOrigin||r)("cdkConnectedOverlayOpen",i.panelOpen)("cdkConnectedOverlayPositions",i._positions)("cdkConnectedOverlayWidth",i._overlayWidth)}},dependencies:[cr,bc,nd],styles:['.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color, var(--mat-sys-on-surface));font-family:var(--mat-select-trigger-text-font, var(--mat-sys-body-large-font));line-height:var(--mat-select-trigger-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-select-trigger-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-select-trigger-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-select-trigger-text-tracking, var(--mat-sys-body-large-tracking))}div.mat-mdc-select-panel{box-shadow:var(--mat-select-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow,.mat-form-field-invalid:not(.mat-form-field-disabled) .mat-mdc-form-field-infix::after{color:var(--mat-select-invalid-arrow-color, var(--mat-sys-error))}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color, var(--mat-sys-on-surface-variant))}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color, var(--mat-sys-primary))}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}@media(forced-colors: active){.mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .mat-mdc-select-arrow svg{fill:GrayText}}div.mat-mdc-select-panel{width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:static;background-color:var(--mat-select-panel-background-color, var(--mat-sys-surface-container))}@media(forced-colors: active){div.mat-mdc-select-panel{outline:solid 1px}}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}div.mat-mdc-select-panel .mat-mdc-option{--mdc-list-list-item-container-color: var(--mat-select-panel-background-color)}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color, var(--mat-sys-on-surface-variant))}._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:var(--mat-select-arrow-transform, translateY(-8px))}'],encapsulation:2,data:{animation:[a0.transformPanel]},changeDetection:0})}return o})();var gt=(()=>{class o{static \u0275fac=function(t){return new(t||o)};static \u0275mod=Z({type:o});static \u0275inj=X({providers:[d0],imports:[Ps,Ba,ke,qn,hr,Ba,ke]})}return o})();function h0(o,n){if(o&1){let e=F();c(0,"gridster-item",20)(1,"div",21)(2,"button",22),g("mousedown",function(i){let r=b(e).$implicit,s=f();return v(s.removeItem(i,r))})("touchstart",function(i){let r=b(e).$implicit,s=f();return v(s.removeItem(i,r))}),c(3,"mat-icon"),m(4,"delete"),d()()()()}if(o&2){let e=n.$implicit;M("item",e)}}var Su=(()=>{class o{ngOnInit(){this.options={gridType:P.Fit,compactType:ue.None,maxCols:10,maxRows:10,pushItems:!0,draggable:{enabled:!0},resizable:{enabled:!0}},this.dashboard=[{cols:2,rows:1,y:0,x:0},{cols:2,rows:2,y:0,x:2},{cols:1,rows:1,y:0,x:4},{cols:3,rows:2,y:1,x:4},{cols:1,rows:1,y:4,x:5},{cols:1,rows:1,y:2,x:1},{cols:2,rows:2,y:5,x:5},{cols:2,rows:2,y:3,x:2},{cols:2,rows:1,y:2,x:2},{cols:1,rows:1,y:3,x:4},{cols:1,rows:1,y:0,x:6}]}changedOptions(){this.options.api&&this.options.api.optionsChanged&&this.options.api.optionsChanged()}removeItem(e,t){e.preventDefault(),e.stopPropagation(),this.dashboard.splice(this.dashboard.indexOf(t),1)}addItem(){this.dashboard.push({x:0,y:0,cols:1,rows:1})}static{this.\u0275fac=function(t){return new(t||o)}}static{this.\u0275cmp=S({type:o,selectors:[["app-compact"]],decls:41,vars:3,consts:[[1,"options"],["mat-raised-button","","href","https://github.com/tiberiuzuld/angular-gridster2/tree/master/src/app/sections/compact","target","_blank",1,"source-code-button"],[3,"src"],[1,"options-header"],["aria-label","Compact type","placeholder","Compact Type",3,"ngModelChange","ngModel"],["value","none"],["value","compactUp"],["value","compactLeft"],["value","compactLeft&Up"],["value","compactUp&Left"],["value","compactRight"],["value","compactUp&Right"],["value","compactRight&Up"],["value","compactDown"],["value","compactDown&Left"],["value","compactLeft&Down"],["value","compactDown&Right"],["value","compactRight&Down"],["mat-mini-fab","",1,"add-button","cols-2",3,"click"],[3,"options"],[3,"item"],[1,"button-holder"],["mat-mini-fab","",3,"mousedown","touchstart"]],template:function(t,i){t&1&&(c(0,"div",0)(1,"a",1)(2,"mat-icon"),m(3,"open_in_new"),d(),m(4," Source "),d(),R(5,"markdown",2),d(),c(6,"div",3)(7,"mat-form-field")(8,"mat-select",4),C("ngModelChange",function(s){return w(i.options.compactType,s)||(i.options.compactType=s),s}),g("ngModelChange",function(){return i.changedOptions()}),c(9,"mat-option",5),m(10,"None"),d(),c(11,"mat-option",6),m(12,"Compact Up"),d(),c(13,"mat-option",7),m(14,"Compact Left"),d(),c(15,"mat-option",8),m(16,"Compact Left & Up"),d(),c(17,"mat-option",9),m(18,"Compact Up & Left"),d(),c(19,"mat-option",10),m(20,"Compact Right"),d(),c(21,"mat-option",11),m(22,"Compact Up & Right"),d(),c(23,"mat-option",12),m(24,"Compact Right & Up"),d(),c(25,"mat-option",13),m(26,"Compact Down"),d(),c(27,"mat-option",14),m(28,"Compact Down & Left"),d(),c(29,"mat-option",15),m(30,"Compact Left & Down"),d(),c(31,"mat-option",16),m(32,"Compact Down & Right"),d(),c(33,"mat-option",17),m(34,"Compact Right & Down"),d()()(),c(35,"button",18),g("click",function(){return i.addItem()}),c(36,"mat-icon"),m(37,"add"),d()()(),c(38,"gridster",19),ie(39,h0,5,1,"gridster-item",20,ge),d()),t&2&&(h(5),M("src","assets/compact.md"),h(3),x("ngModel",i.options.compactType),h(30),M("options",i.options),h(),ne(i.dashboard))},dependencies:[Ie,Me,xe,de,ce,be,he,me,gt,Be,ft,rt,le,_e,se,pe],encapsulation:2,changeDetection:0})}}return o})();function u0(o,n){if(o&1){let e=F();c(0,"gridster-item",10)(1,"div",11)(2,"button",12),g("mousedown",function(i){let r=b(e).$implicit,s=f();return v(s.removeItem(i,r))})("touchstart",function(i){let r=b(e).$implicit,s=f();return v(s.removeItem(i,r))}),c(3,"mat-icon"),m(4,"delete"),d()()()()}if(o&2){let e=n.$implicit;M("item",e)}}var Tu=(()=>{class o{ngOnInit(){this.options={gridType:P.Fit,displayGrid:ve.Always,pushItems:!0,draggable:{enabled:!0},resizable:{enabled:!0}},this.dashboard=[{cols:2,rows:1,y:0,x:0},{cols:2,rows:2,y:0,x:2},{cols:1,rows:1,y:0,x:4},{cols:3,rows:2,y:1,x:4},{cols:1,rows:1,y:4,x:5},{cols:1,rows:1,y:2,x:1},{cols:2,rows:2,y:5,x:5},{cols:2,rows:2,y:3,x:2},{cols:2,rows:1,y:2,x:2},{cols:1,rows:1,y:3,x:4},{cols:1,rows:1,y:0,x:6}]}changedOptions(){this.options.api&&this.options.api.optionsChanged&&this.options.api.optionsChanged()}removeItem(e,t){e.preventDefault(),e.stopPropagation(),this.dashboard.splice(this.dashboard.indexOf(t),1)}addItem(){this.dashboard.push({x:0,y:0,cols:1,rows:1})}static{this.\u0275fac=function(t){return new(t||o)}}static{this.\u0275cmp=S({type:o,selectors:[["app-display-grid"]],decls:21,vars:3,consts:[[1,"options"],["mat-raised-button","","href","https://github.com/tiberiuzuld/angular-gridster2/tree/master/src/app/sections/displayGrid","target","_blank",1,"source-code-button"],[3,"src"],[1,"options-header"],["aria-label","Display grid lines","placeholder","Display grid lines",3,"ngModelChange","ngModel"],["value","always"],["value","onDrag&Resize"],["value","none"],["mat-mini-fab","",1,"add-button","cols-2",3,"click"],[3,"options"],[3,"item"],[1,"button-holder"],["mat-mini-fab","",3,"mousedown","touchstart"]],template:function(t,i){t&1&&(c(0,"div",0)(1,"a",1)(2,"mat-icon"),m(3,"open_in_new"),d(),m(4," Source "),d(),R(5,"markdown",2),d(),c(6,"div",3)(7,"mat-form-field")(8,"mat-select",4),C("ngModelChange",function(s){return w(i.options.displayGrid,s)||(i.options.displayGrid=s),s}),g("ngModelChange",function(){return i.changedOptions()}),c(9,"mat-option",5),m(10,"Always"),d(),c(11,"mat-option",6),m(12,"On Drag & Resize"),d(),c(13,"mat-option",7),m(14,"None"),d()()(),c(15,"button",8),g("click",function(){return i.addItem()}),c(16,"mat-icon"),m(17,"add"),d()()(),c(18,"gridster",9),ie(19,u0,5,1,"gridster-item",10,ge),d()),t&2&&(h(5),M("src","assets/displayGrid.md"),h(3),x("ngModel",i.options.displayGrid),h(10),M("options",i.options),h(),ne(i.dashboard))},dependencies:[Ie,Me,xe,de,ce,be,he,me,gt,Be,ft,rt,le,_e,se,pe],encapsulation:2,changeDetection:0})}}return o})();var p0=["input"],f0=["label"],g0=["*"],_0=new A("mat-checkbox-default-options",{providedIn:"root",factory:Ru});function Ru(){return{color:"accent",clickAction:"check-indeterminate",disabledInteractive:!1}}var _t=function(o){return o[o.Init=0]="Init",o[o.Checked=1]="Checked",o[o.Unchecked=2]="Unchecked",o[o.Indeterminate=3]="Indeterminate",o}(_t||{}),b0={provide:Io,useExisting:Dt(()=>Oe),multi:!0},xc=class{source;checked},Du=Ru(),Oe=(()=>{class o{_elementRef=p(j);_changeDetectorRef=p(Ye);_ngZone=p(W);_animationMode=p(ut,{optional:!0});_options=p(_0,{optional:!0});focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(e){let t=new xc;return t.source=this,t.checked=e,t}_getAnimationTargetElement(){return this._inputElement?.nativeElement}_animationClasses={uncheckedToChecked:"mdc-checkbox--anim-unchecked-checked",uncheckedToIndeterminate:"mdc-checkbox--anim-unchecked-indeterminate",checkedToUnchecked:"mdc-checkbox--anim-checked-unchecked",checkedToIndeterminate:"mdc-checkbox--anim-checked-indeterminate",indeterminateToChecked:"mdc-checkbox--anim-indeterminate-checked",indeterminateToUnchecked:"mdc-checkbox--anim-indeterminate-unchecked"};ariaLabel="";ariaLabelledby=null;ariaDescribedby;ariaExpanded;ariaControls;ariaOwns;_uniqueId;id;get inputId(){return`${this.id||this._uniqueId}-input`}required;labelPosition="after";name=null;change=new H;indeterminateChange=new H;value;disableRipple;_inputElement;_labelElement;tabIndex;color;disabledInteractive;_onTouched=()=>{};_currentAnimationClass="";_currentCheckState=_t.Init;_controlValueAccessorChangeFn=()=>{};_validatorChangeFn=()=>{};constructor(){p(at).load(hi);let e=p(new Ui("tabindex"),{optional:!0});this._options=this._options||Du,this.color=this._options.color||Du.color,this.tabIndex=e==null?0:parseInt(e)||0,this.id=this._uniqueId=p(vt).getId("mat-mdc-checkbox-"),this.disabledInteractive=this._options?.disabledInteractive??!1}ngOnChanges(e){e.required&&this._validatorChangeFn()}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(e){e!=this.checked&&(this._checked=e,this._changeDetectorRef.markForCheck())}_checked=!1;get disabled(){return this._disabled}set disabled(e){e!==this.disabled&&(this._disabled=e,this._changeDetectorRef.markForCheck())}_disabled=!1;get indeterminate(){return this._indeterminate}set indeterminate(e){let t=e!=this._indeterminate;this._indeterminate=e,t&&(this._indeterminate?this._transitionCheckState(_t.Indeterminate):this._transitionCheckState(this.checked?_t.Checked:_t.Unchecked),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_indeterminate=!1;_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}validate(e){return this.required&&e.value!==!0?{required:!0}:null}registerOnValidatorChange(e){this._validatorChangeFn=e}_transitionCheckState(e){let t=this._currentCheckState,i=this._getAnimationTargetElement();if(!(t===e||!i)&&(this._currentAnimationClass&&i.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(t,e),this._currentCheckState=e,this._currentAnimationClass.length>0)){i.classList.add(this._currentAnimationClass);let r=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{i.classList.remove(r)},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(){let e=this._options?.clickAction;!this.disabled&&e!=="noop"?(this.indeterminate&&e!=="check"&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?_t.Checked:_t.Unchecked),this._emitChangeEvent()):(this.disabled&&this.disabledInteractive||!this.disabled&&e==="noop")&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate)}_onInteractionEvent(e){e.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(e,t){if(this._animationMode==="NoopAnimations")return"";switch(e){case _t.Init:if(t===_t.Checked)return this._animationClasses.uncheckedToChecked;if(t==_t.Indeterminate)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case _t.Unchecked:return t===_t.Checked?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case _t.Checked:return t===_t.Unchecked?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case _t.Indeterminate:return t===_t.Checked?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(e){let t=this._inputElement;t&&(t.nativeElement.indeterminate=e)}_onInputClick(){this._handleInputClick()}_onTouchTargetClick(){this._handleInputClick(),this.disabled||this._inputElement.nativeElement.focus()}_preventBubblingFromLabel(e){e.target&&this._labelElement.nativeElement.contains(e.target)&&e.stopPropagation()}static \u0275fac=function(t){return new(t||o)};static \u0275cmp=S({type:o,selectors:[["mat-checkbox"]],viewQuery:function(t,i){if(t&1&&(Pe(p0,5),Pe(f0,5)),t&2){let r;J(r=ee())&&(i._inputElement=r.first),J(r=ee())&&(i._labelElement=r.first)}},hostAttrs:[1,"mat-mdc-checkbox"],hostVars:16,hostBindings:function(t,i){t&2&&(Ii("id",i.id),fe("tabindex",null)("aria-label",null)("aria-labelledby",null),jt(i.color?"mat-"+i.color:"mat-accent"),te("_mat-animation-noopable",i._animationMode==="NoopAnimations")("mdc-checkbox--disabled",i.disabled)("mat-mdc-checkbox-disabled",i.disabled)("mat-mdc-checkbox-checked",i.checked)("mat-mdc-checkbox-disabled-interactive",i.disabledInteractive))},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],ariaExpanded:[2,"aria-expanded","ariaExpanded",q],ariaControls:[0,"aria-controls","ariaControls"],ariaOwns:[0,"aria-owns","ariaOwns"],id:"id",required:[2,"required","required",q],labelPosition:"labelPosition",name:"name",value:"value",disableRipple:[2,"disableRipple","disableRipple",q],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?void 0:qi(e)],color:"color",disabledInteractive:[2,"disabledInteractive","disabledInteractive",q],checked:[2,"checked","checked",q],disabled:[2,"disabled","disabled",q],indeterminate:[2,"indeterminate","indeterminate",q]},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[Ne([b0,{provide:nn,useExisting:o,multi:!0}]),Fe,ze],ngContentSelectors:g0,decls:15,vars:23,consts:[["checkbox",""],["input",""],["label",""],["mat-internal-form-field","",3,"click","labelPosition"],[1,"mdc-checkbox"],[1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"blur","click","change","checked","indeterminate","disabled","id","required","tabIndex"],[1,"mdc-checkbox__ripple"],[1,"mdc-checkbox__background"],["focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],["mat-ripple","",1,"mat-mdc-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-label",3,"for"]],template:function(t,i){if(t&1){let r=F();Te(),c(0,"div",3),g("click",function(a){return b(r),v(i._preventBubblingFromLabel(a))}),c(1,"div",4,0)(3,"div",5),g("click",function(){return b(r),v(i._onTouchTargetClick())}),d(),c(4,"input",6,1),g("blur",function(){return b(r),v(i._onBlur())})("click",function(){return b(r),v(i._onInputClick())})("change",function(a){return b(r),v(i._onInteractionEvent(a))}),d(),R(6,"div",7),c(7,"div",8),$i(),c(8,"svg",9),R(9,"path",10),d(),qs(),R(10,"div",11),d(),R(11,"div",12),d(),c(12,"label",13,2),G(14),d()()}if(t&2){let r=Rt(2);M("labelPosition",i.labelPosition),h(4),te("mdc-checkbox--selected",i.checked),M("checked",i.checked)("indeterminate",i.indeterminate)("disabled",i.disabled&&!i.disabledInteractive)("id",i.inputId)("required",i.required)("tabIndex",i.disabled&&!i.disabledInteractive?-1:i.tabIndex),fe("aria-label",i.ariaLabel||null)("aria-labelledby",i.ariaLabelledby)("aria-describedby",i.ariaDescribedby)("aria-checked",i.indeterminate?"mixed":null)("aria-controls",i.ariaControls)("aria-disabled",i.disabled&&i.disabledInteractive?!0:null)("aria-expanded",i.ariaExpanded)("aria-owns",i.ariaOwns)("name",i.name)("value",i.value),h(7),M("matRippleTrigger",r)("matRippleDisabled",i.disableRipple||i.disabled)("matRippleCentered",!0),h(),M("for",i.inputId)}},dependencies:[yo,om],styles:['.mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom;padding:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2);margin:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2)}.mdc-checkbox:hover .mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));background-color:var(--mdc-checkbox-unselected-hover-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox:hover .mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-hover-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));background-color:var(--mdc-checkbox-unselected-focus-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox .mdc-checkbox__native-control:focus~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-focus-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox:active .mdc-checkbox__native-control~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox:active .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));background-color:var(--mdc-checkbox-selected-hover-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-hover-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));background-color:var(--mdc-checkbox-selected-focus-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-focus-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));background-color:var(--mdc-checkbox-selected-pressed-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-pressed-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control~.mdc-checkbox__ripple{background-color:var(--mdc-checkbox-unselected-hover-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox .mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit;width:var(--mdc-checkbox-state-layer-size, 40px);height:var(--mdc-checkbox-state-layer-size, 40px);top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2)}.mdc-checkbox--disabled{cursor:default;pointer-events:none}@media(forced-colors: active){.mdc-checkbox--disabled{opacity:.5}}.mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms cubic-bezier(0.4, 0, 0.6, 1);-webkit-print-color-adjust:exact;color-adjust:exact;border-color:var(--mdc-checkbox-unselected-icon-color, var(--mat-sys-on-surface-variant));top:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2)}.mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-icon-color, var(--mat-sys-primary));background-color:var(--mdc-checkbox-selected-icon-color, var(--mat-sys-primary))}.mdc-checkbox--disabled .mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-checkbox__native-control:disabled:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:disabled:indeterminate~.mdc-checkbox__background{background-color:var(--mdc-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:rgba(0,0,0,0)}.mdc-checkbox:hover .mdc-checkbox__native-control:not(:checked)~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control:not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-hover-icon-color, var(--mat-sys-on-surface));background-color:rgba(0,0,0,0)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mat-sys-primary));background-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mat-sys-primary))}.mdc-checkbox__native-control:focus:focus:not(:checked)~.mdc-checkbox__background,.mdc-checkbox__native-control:focus:focus:not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color, var(--mat-sys-on-surface))}.mdc-checkbox__native-control:focus:focus:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:focus:focus:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mat-sys-primary));background-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mat-sys-primary))}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox:hover .mdc-checkbox__native-control~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{background-color:var(--mdc-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:rgba(0,0,0,0)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms cubic-bezier(0.4, 0, 0.6, 1);color:var(--mdc-checkbox-selected-checkmark-color, var(--mat-sys-on-primary))}@media(forced-colors: active){.mdc-checkbox__checkmark{color:CanvasText}}.mdc-checkbox--disabled .mdc-checkbox__checkmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color, var(--mat-sys-surface))}@media(forced-colors: active){.mdc-checkbox--disabled .mdc-checkbox__checkmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark{color:CanvasText}}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1);border-color:var(--mdc-checkbox-selected-checkmark-color, var(--mat-sys-on-primary))}@media(forced-colors: active){.mdc-checkbox__mixedmark{margin:0 1px}}.mdc-checkbox--disabled .mdc-checkbox__mixedmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color, var(--mat-sys-surface))}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{transition:border-color 90ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms cubic-bezier(0, 0, 0.2, 1),transform 180ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-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 mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox._mat-animation-noopable .mdc-checkbox *,.mat-mdc-checkbox._mat-animation-noopable .mdc-checkbox *::before{transition:none !important;animation:none !important}.mat-mdc-checkbox label{cursor:pointer}.mat-mdc-checkbox .mat-internal-form-field{color:var(--mat-checkbox-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-checkbox-label-text-font, var(--mat-sys-body-medium-font));line-height:var(--mat-checkbox-label-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-checkbox-label-text-size, var(--mat-sys-body-medium-size));letter-spacing:var(--mat-checkbox-label-text-tracking, var(--mat-sys-body-medium-tracking));font-weight:var(--mat-checkbox-label-text-weight, var(--mat-sys-body-medium-weight))}.mat-mdc-checkbox.mat-mdc-checkbox-disabled.mat-mdc-checkbox-disabled-interactive{pointer-events:auto}.mat-mdc-checkbox.mat-mdc-checkbox-disabled.mat-mdc-checkbox-disabled-interactive input{cursor:default}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default;color:var(--mat-checkbox-disabled-label-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-checkbox label:empty{display:none}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}.mat-mdc-checkbox .mat-mdc-checkbox-ripple,.mdc-checkbox__ripple{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-checkbox .mat-mdc-checkbox-ripple:not(:empty),.mdc-checkbox__ripple:not(:empty){transform:translateZ(0)}.mat-mdc-checkbox-ripple .mat-ripple-element{opacity:.1}.mat-mdc-checkbox-touch-target{position:absolute;top:50%;left:50%;height:48px;width:48px;transform:translate(-50%, -50%);display:var(--mat-checkbox-touch-target-display, block)}.mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return o})();var We=(()=>{class o{static \u0275fac=function(t){return new(t||o)};static \u0275mod=Z({type:o});static \u0275inj=X({imports:[Oe,ke,ke]})}return o})();var v0=(()=>{class o{static \u0275fac=function(t){return new(t||o)};static \u0275cmp=S({type:o,selectors:[["ng-component"]],hostAttrs:["cdk-text-field-style-loader",""],decls:0,vars:0,template:function(t,i){},styles:["textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{padding:2px 0 !important;box-sizing:content-box !important;height:auto !important;overflow:hidden !important}textarea.cdk-textarea-autosize-measuring-firefox{padding:2px 0 !important;box-sizing:content-box !important;height:0 !important}@keyframes cdk-text-field-autofill-start{/*!*/}@keyframes cdk-text-field-autofill-end{/*!*/}.cdk-text-field-autofill-monitored:-webkit-autofill{animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){animation:cdk-text-field-autofill-end 0s 1ms}"],encapsulation:2,changeDetection:0})}return o})(),Au=ei({passive:!0}),Ou=(()=>{class o{_platform=p(Ae);_ngZone=p(W);_styleLoader=p(at);_monitoredElements=new Map;constructor(){}monitor(e){if(!this._platform.isBrowser)return Zt;this._styleLoader.load(v0);let t=Ct(e),i=this._monitoredElements.get(t);if(i)return i.subject;let r=new V,s="cdk-text-field-autofilled",a=l=>{l.animationName==="cdk-text-field-autofill-start"&&!t.classList.contains(s)?(t.classList.add(s),this._ngZone.run(()=>r.next({target:l.target,isAutofilled:!0}))):l.animationName==="cdk-text-field-autofill-end"&&t.classList.contains(s)&&(t.classList.remove(s),this._ngZone.run(()=>r.next({target:l.target,isAutofilled:!1})))};return this._ngZone.runOutsideAngular(()=>{t.addEventListener("animationstart",a,Au),t.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(t,{subject:r,unlisten:()=>{t.removeEventListener("animationstart",a,Au)}}),r}stopMonitoring(e){let t=Ct(e),i=this._monitoredElements.get(t);i&&(i.unlisten(),i.subject.complete(),t.classList.remove("cdk-text-field-autofill-monitored"),t.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(t))}ngOnDestroy(){this._monitoredElements.forEach((e,t)=>this.stopMonitoring(t))}static \u0275fac=function(t){return new(t||o)};static \u0275prov=O({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();var Fu=(()=>{class o{static \u0275fac=function(t){return new(t||o)};static \u0275mod=Z({type:o});static \u0275inj=X({})}return o})();var y0=new A("MAT_INPUT_VALUE_ACCESSOR"),x0=["button","checkbox","file","hidden","image","radio","range","reset","submit"],w0=new A("MAT_INPUT_CONFIG"),Je=(()=>{class o{_elementRef=p(j);_platform=p(Ae);ngControl=p(ui,{optional:!0,self:!0});_autofillMonitor=p(Ou);_ngZone=p(W);_formField=p(mr,{optional:!0});_uid=p(vt).getId("mat-input-");_previousNativeValue;_inputValueAccessor;_signalBasedValueAccessor;_previousPlaceholder;_errorStateTracker;_webkitBlinkWheelListenerAttached=!1;_config=p(w0,{optional:!0});_formFieldDescribedBy;_isServer;_isNativeSelect;_isTextarea;_isInFormField;focused=!1;stateChanges=new V;controlType="mat-input";autofilled=!1;get disabled(){return this._disabled}set disabled(e){this._disabled=At(e),this.focused&&(this.focused=!1,this.stateChanges.next())}_disabled=!1;get id(){return this._id}set id(e){this._id=e||this._uid}_id;placeholder;name;get required(){return this._required??this.ngControl?.control?.hasValidator(Pn.required)??!1}set required(e){this._required=At(e)}_required;get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&ka().has(this._type)&&(this._elementRef.nativeElement.type=this._type),this._ensureWheelDefaultBehavior()}_type="text";get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}userAriaDescribedBy;get value(){return this._signalBasedValueAccessor?this._signalBasedValueAccessor.value():this._inputValueAccessor.value}set value(e){e!==this.value&&(this._signalBasedValueAccessor?this._signalBasedValueAccessor.value.set(e):this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=At(e)}_readonly=!1;disabledInteractive;get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}_neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(e=>ka().has(e));constructor(){let e=p(Eo,{optional:!0}),t=p(So,{optional:!0}),i=p(qr),r=p(y0,{optional:!0,self:!0}),s=this._elementRef.nativeElement,a=s.nodeName.toLowerCase();r?Yi(r.value)?this._signalBasedValueAccessor=r:this._inputValueAccessor=r:this._inputValueAccessor=s,this._previousNativeValue=this.value,this.id=this.id,this._platform.IOS&&this._ngZone.runOutsideAngular(()=>{s.addEventListener("keyup",this._iOSKeyupListener)}),this._errorStateTracker=new Tn(i,this.ngControl,t,e,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect=a==="select",this._isTextarea=a==="textarea",this._isInFormField=!!this._formField,this.disabledInteractive=this._config?.disabledInteractive||!1,this._isNativeSelect&&(this.controlType=s.multiple?"mat-native-select-multiple":"mat-native-select"),this._signalBasedValueAccessor&&Er(()=>{this._signalBasedValueAccessor.value(),this.stateChanges.next()})}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),this._webkitBlinkWheelListenerAttached&&this._elementRef.nativeElement.removeEventListener("wheel",this._webkitBlinkWheelListener)}ngDoCheck(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==null&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(e){if(e!==this.focused){if(!this._isNativeSelect&&e&&this.disabled&&this.disabledInteractive){let t=this._elementRef.nativeElement;t.type==="number"?(t.type="text",t.setSelectionRange(0,0),t.type="number"):t.setSelectionRange(0,0)}this.focused=e,this.stateChanges.next()}}_onInput(){}_dirtyCheckNativeValue(){let e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_dirtyCheckPlaceholder(){let e=this._getPlaceholder();if(e!==this._previousPlaceholder){let t=this._elementRef.nativeElement;this._previousPlaceholder=e,e?t.setAttribute("placeholder",e):t.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){x0.indexOf(this._type)>-1}_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){let e=this._elementRef.nativeElement,t=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&t&&t.label)}else return this.focused&&!this.disabled||!this.empty}setDescribedByIds(e){let t=this._elementRef.nativeElement,i=t.getAttribute("aria-describedby"),r;if(i){let s=this._formFieldDescribedBy||e;r=e.concat(i.split(" ").filter(a=>a&&!s.includes(a)))}else r=e;this._formFieldDescribedBy=e,r.length?t.setAttribute("aria-describedby",r.join(" ")):t.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){let e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}_iOSKeyupListener=e=>{let t=e.target;!t.value&&t.selectionStart===0&&t.selectionEnd===0&&(t.setSelectionRange(1,1),t.setSelectionRange(0,0))};_webkitBlinkWheelListener=()=>{};_ensureWheelDefaultBehavior(){!this._webkitBlinkWheelListenerAttached&&this._type==="number"&&(this._platform.BLINK||this._platform.WEBKIT)&&(this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("wheel",this._webkitBlinkWheelListener)}),this._webkitBlinkWheelListenerAttached=!0),this._webkitBlinkWheelListenerAttached&&this._type!=="number"&&(this._elementRef.nativeElement.removeEventListener("wheel",this._webkitBlinkWheelListener),this._webkitBlinkWheelListenerAttached=!0)}_getReadonlyAttribute(){return this._isNativeSelect?null:this.readonly||this.disabled&&this.disabledInteractive?"true":null}static \u0275fac=function(t){return new(t||o)};static \u0275dir=$({type:o,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:21,hostBindings:function(t,i){t&1&&g("focus",function(){return i._focusChanged(!0)})("blur",function(){return i._focusChanged(!1)})("input",function(){return i._onInput()}),t&2&&(Ii("id",i.id)("disabled",i.disabled&&!i.disabledInteractive)("required",i.required),fe("name",i.name||null)("readonly",i._getReadonlyAttribute())("aria-disabled",i.disabled&&i.disabledInteractive?"true":null)("aria-invalid",i.empty&&i.required?null:i.errorState)("aria-required",i.required)("id",i.id),te("mat-input-server",i._isServer)("mat-mdc-form-field-textarea-control",i._isInFormField&&i._isTextarea)("mat-mdc-form-field-input-control",i._isInFormField)("mat-mdc-input-disabled-interactive",i.disabledInteractive)("mdc-text-field__input",i._isInFormField)("mat-mdc-native-select-inline",i._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly",disabledInteractive:[2,"disabledInteractive","disabledInteractive",q]},exportAs:["matInput"],features:[Ne([{provide:dr,useExisting:o}]),Fe,ze]})}return o})(),et=(()=>{class o{static \u0275fac=function(t){return new(t||o)};static \u0275mod=Z({type:o});static \u0275inj=X({imports:[ke,hr,hr,Fu,ke]})}return o})();function C0(o,n){if(o&1){let e=F();c(0,"div",3)(1,"mat-checkbox",6),C("ngModelChange",function(i){b(e);let r=f();return w(r.options.draggable.enabled,i)||(r.options.draggable.enabled=i),v(i)}),g("ngModelChange",function(){b(e);let i=f();return v(i.changedOptions())}),m(2," Drag Items "),d(),c(3,"mat-checkbox",6),C("ngModelChange",function(i){b(e);let r=f();return w(r.options.pushItems,i)||(r.options.pushItems=i),v(i)}),g("ngModelChange",function(){b(e);let i=f();return v(i.changedOptions())}),m(4," Push Items "),d(),c(5,"mat-checkbox",6),C("ngModelChange",function(i){b(e);let r=f();return w(r.options.draggable.dropOverItems,i)||(r.options.draggable.dropOverItems=i),v(i)}),g("ngModelChange",function(){b(e);let i=f();return v(i.changedOptions())}),m(6," Allow Drop Over Items "),d(),c(7,"mat-checkbox",6),C("ngModelChange",function(i){b(e);let r=f();return w(r.options.draggable.ignoreContent,i)||(r.options.draggable.ignoreContent=i),v(i)}),g("ngModelChange",function(){b(e);let i=f();return v(i.changedOptions())}),m(8," Ignore Content "),d(),c(9,"mat-checkbox",6),C("ngModelChange",function(i){b(e);let r=f();return w(r.options.disableScrollVertical,i)||(r.options.disableScrollVertical=i),v(i)}),g("ngModelChange",function(){b(e);let i=f();return v(i.changedOptions())}),m(10," Disable Vertical Scroll "),d(),c(11,"mat-checkbox",6),C("ngModelChange",function(i){b(e);let r=f();return w(r.options.disableScrollHorizontal,i)||(r.options.disableScrollHorizontal=i),v(i)}),g("ngModelChange",function(){b(e);let i=f();return v(i.changedOptions())}),m(12," Disable Horizontal Scroll "),d(),c(13,"mat-checkbox",6),C("ngModelChange",function(i){b(e);let r=f();return w(r.options.enableBoundaryControl,i)||(r.options.enableBoundaryControl=i),v(i)}),g("ngModelChange",function(){b(e);let i=f();return v(i.changedOptions())}),m(14," Enable Boundary Control "),d(),c(15,"mat-form-field")(16,"input",7),C("ngModelChange",function(i){b(e);let r=f();return w(r.options.draggable.delayStart,i)||(r.options.draggable.delayStart=i),v(i)}),g("ngModelChange",function(){b(e);let i=f();return v(i.changedOptions())}),d()(),c(17,"mat-form-field")(18,"input",8),C("ngModelChange",function(i){b(e);let r=f();return w(r.options.draggable.dragHandleClass,i)||(r.options.draggable.dragHandleClass=i),v(i)}),g("ngModelChange",function(){b(e);let i=f();return v(i.changedOptions())}),d()(),c(19,"mat-form-field")(20,"input",9),C("ngModelChange",function(i){b(e);let r=f();return w(r.options.draggable.ignoreContentClass,i)||(r.options.draggable.ignoreContentClass=i),v(i)}),g("ngModelChange",function(){b(e);let i=f();return v(i.changedOptions())}),d()(),c(21,"button",10),g("click",function(){b(e);let i=f();return v(i.addItem())}),c(22,"mat-icon"),m(23,"add"),d()()()}if(o&2){let e=f();h(),x("ngModel",e.options.draggable.enabled),h(2),x("ngModel",e.options.pushItems),h(2),x("ngModel",e.options.draggable.dropOverItems),h(2),x("ngModel",e.options.draggable.ignoreContent),h(2),x("ngModel",e.options.disableScrollVertical),h(2),x("ngModel",e.options.disableScrollHorizontal),h(2),x("ngModel",e.options.enableBoundaryControl),h(3),x("ngModel",e.options.draggable.delayStart),h(2),x("ngModel",e.options.draggable.dragHandleClass),h(2),x("ngModel",e.options.draggable.ignoreContentClass)}}function k0(o,n){o&1&&(c(0,"div",12)(1,"div",15)(2,"span"),m(3,"Some content to select and click without dragging the widget"),d(),c(4,"a",16),m(5,"Link to Google"),d()()())}function M0(o,n){if(o&1){let e=F();c(0,"div",13)(1,"button",17)(2,"mat-icon"),m(3,"open_with"),d()(),c(4,"button",18),g("mousedown",function(i){b(e);let r=f().$implicit,s=f();return v(s.removeItem(i,r))})("touchstart",function(i){b(e);let r=f().$implicit,s=f();return v(s.removeItem(i,r))}),c(5,"mat-icon"),m(6,"delete"),d()()()}}function I0(o,n){if(o&1&&(c(0,"label"),m(1),d()),o&2){let e=f().$implicit;h(),Xe(e.label)}}function E0(o,n){if(o&1){let e=F();c(0,"button",19),g("mousedown",function(i){b(e);let r=f().$implicit,s=f();return v(s.removeItem(i,r))})("touchstart",function(i){b(e);let r=f().$implicit,s=f();return v(s.removeItem(i,r))}),c(1,"mat-icon"),m(2,"delete"),d()()}}function S0(o,n){if(o&1&&(c(0,"gridster-item",5)(1,"div",11),Y(2,k0,6,0,"div",12)(3,M0,7,0,"div",13)(4,I0,2,1,"label")(5,E0,3,0,"button",14),d()()),o&2){let e=n.$implicit;M("item",e),h(2),L(e.hasContent?2:-1),h(),L(e.hasContent?3:-1),h(),L(e.hasContent?-1:4),h(),L(e.hasContent?-1:5)}}var Pu=(()=>{class o{static eventStart(e,t,i){console.info("eventStart",e,t,i)}static eventStop(e,t,i){console.info("eventStop",e,t,i)}static overlapEvent(e,t,i){console.log("overlap",e,t,i)}ngOnInit(){this.options={gridType:P.Fit,displayGrid:ve.Always,pushItems:!0,swap:!1,draggable:{delayStart:0,enabled:!0,ignoreContentClass:"gridster-item-content",ignoreContent:!1,dragHandleClass:"drag-handler",stop:o.eventStop,start:o.eventStart,dropOverItems:!1,dropOverItemsCallback:o.overlapEvent},resizable:{enabled:!0}},this.dashboard=[{cols:2,rows:1,y:0,x:0},{cols:2,rows:2,y:0,x:2,hasContent:!0},{cols:1,rows:1,y:0,x:4},{cols:1,rows:1,y:2,x:5},{cols:1,rows:1,y:1,x:0},{cols:1,rows:1,y:1,x:0},{cols:2,rows:2,y:3,x:5,minItemRows:2,minItemCols:2,label:"Min rows & cols = 2"},{cols:2,rows:2,y:2,x:0,maxItemRows:2,maxItemCols:2,label:"Max rows & cols = 2"},{cols:2,rows:1,y:2,x:2,dragEnabled:!0,resizeEnabled:!0,label:"Drag&Resize Enabled"},{cols:1,rows:1,y:2,x:4,dragEnabled:!1,resizeEnabled:!1,label:"Drag&Resize Disabled"},{cols:1,rows:1,y:2,x:6}]}changedOptions(){this.options.api&&this.options.api.optionsChanged&&this.options.api.optionsChanged()}removeItem(e,t){e.preventDefault(),e.stopPropagation(),this.dashboard.splice(this.dashboard.indexOf(t),1)}addItem(){this.dashboard.push({x:0,y:0,cols:1,rows:1})}static{this.\u0275fac=function(t){return new(t||o)}}static{this.\u0275cmp=S({type:o,selectors:[["app-drag"]],decls:10,vars:3,consts:[[1,"options"],["mat-raised-button","","href","https://github.com/tiberiuzuld/angular-gridster2/tree/master/src/app/sections/drag","target","_blank",1,"source-code-button"],[3,"src"],[1,"options-header"],[3,"options"],[3,"item"],[3,"ngModelChange","ngModel"],["matInput","","type","number","placeholder","Delay Start ms",3,"ngModelChange","ngModel"],["matInput","","type","text","placeholder","Drag Handle Class",3,"ngModelChange","ngModel"],["matInput","","type","text","placeholder","Ignore Content Class",3,"ngModelChange","ngModel"],["mat-mini-fab","",1,"add-button","cols-2",3,"click"],[1,"button-holder"],[1,"gridster-item-content"],[1,"item-buttons"],["mat-mini-fab",""],[1,"stuff"],["href","https://www.google.com","target","_blank"],["mat-icon-button","",1,"drag-handler"],["mat-icon-button","",1,"remove-button",3,"mousedown","touchstart"],["mat-mini-fab","",3,"mousedown","touchstart"]],template:function(t,i){t&1&&(c(0,"div",0)(1,"a",1)(2,"mat-icon"),m(3,"open_in_new"),d(),m(4," Source "),d(),R(5,"markdown",2),d(),Y(6,C0,24,10,"div",3),c(7,"gridster",4),ie(8,S0,6,5,"gridster-item",5,ge),d()),t&2&&(h(5),M("src","assets/drag.md"),h(),L(i.options.draggable?6:-1),h(),M("options",i.options),h(),ne(i.dashboard))},dependencies:[Ie,qe,Ke,Me,xe,de,ce,Li,be,We,Oe,he,me,et,Je,Be,le,_e,se,pe],encapsulation:2,changeDetection:0})}}return o})();var Lu=(()=>{class o{ngOnInit(){this.resizeSub=this.resizeEvent.subscribe(e=>{e===this.widget&&console.log(e)})}ngOnDestroy(){this.resizeSub.unsubscribe()}static{this.\u0275fac=function(t){return new(t||o)}}static{this.\u0275cmp=S({type:o,selectors:[["app-widget-a"]],inputs:{widget:"widget",resizeEvent:"resizeEvent"},decls:1,vars:1,template:function(t,i){t&1&&m(0),t&2&&Xe(i.widget.type)},encapsulation:2,changeDetection:0})}}return o})();var zu=(()=>{class o{ngOnInit(){this.resizeSub=this.resizeEvent.subscribe(e=>{e===this.widget&&console.log(e)})}ngOnDestroy(){this.resizeSub.unsubscribe()}static{this.\u0275fac=function(t){return new(t||o)}}static{this.\u0275cmp=S({type:o,selectors:[["app-widget-b"]],inputs:{widget:"widget",resizeEvent:"resizeEvent"},decls:1,vars:1,template:function(t,i){t&1&&m(0),t&2&&Xe(i.widget.type)},encapsulation:2,changeDetection:0})}}return o})();var Vu=(()=>{class o{ngOnInit(){this.resizeSub=this.resizeEvent.subscribe(e=>{e===this.widget&&console.log(e)})}ngOnDestroy(){this.resizeSub.unsubscribe()}static{this.\u0275fac=function(t){return new(t||o)}}static{this.\u0275cmp=S({type:o,selectors:[["app-widget-c"]],inputs:{widget:"widget",resizeEvent:"resizeEvent"},decls:1,vars:1,template:function(t,i){t&1&&m(0),t&2&&Xe(i.widget.type)},encapsulation:2,changeDetection:0})}}return o})();function T0(o,n){if(o&1&&R(0,"app-widget-a",0),o&2){let e=f();M("resizeEvent",e.resizeEvent)("widget",e.widget)}}function D0(o,n){if(o&1&&R(0,"app-widget-b",1),o&2){let e=f();M("widget",e.widget)("resizeEvent",e.resizeEvent)}}function R0(o,n){if(o&1&&R(0,"app-widget-c",1),o&2){let e=f();M("widget",e.widget)("resizeEvent",e.resizeEvent)}}var Nu=(()=>{class o{static{this.\u0275fac=function(t){return new(t||o)}}static{this.\u0275cmp=S({type:o,selectors:[["app-parent-dynamic"]],inputs:{widget:"widget",resizeEvent:"resizeEvent"},decls:3,vars:3,consts:[[3,"resizeEvent","widget"],[3,"widget","resizeEvent"]],template:function(t,i){t&1&&Y(0,T0,1,2,"app-widget-a",0)(1,D0,1,2,"app-widget-b",1)(2,R0,1,2,"app-widget-c",1),t&2&&(L(i.widget.type==="widgetA"?0:-1),h(),L(i.widget.type==="widgetB"?1:-1),h(),L(i.widget.type==="widgetC"?2:-1))},dependencies:[Lu,zu,Vu],encapsulation:2,changeDetection:0})}}return o})();function A0(o,n){if(o&1&&(c(0,"gridster-item",4),R(1,"app-parent-dynamic",5),d()),o&2){let e=n.$implicit,t=f();M("item",e),h(),M("widget",e)("resizeEvent",t.resizeEvent)}}var Bu=(()=>{class o{constructor(){this.resizeEvent=new H}ngOnInit(){this.options={gridType:P.Fit,displayGrid:ve.Always,disableWindowResize:!1,scrollToNewItems:!1,disableWarnings:!1,ignoreMarginInRow:!1,itemResizeCallback:e=>{this.resizeEvent.emit(e)}},this.dashboard=[{cols:2,rows:1,y:0,x:0,type:"widgetA"},{cols:2,rows:2,y:0,x:2,type:"widgetB"},{cols:2,rows:1,y:1,x:0,type:"widgetC"}]}static{this.\u0275fac=function(t){return new(t||o)}}static{this.\u0275cmp=S({type:o,selectors:[["app-dynamic-widgets"]],decls:9,vars:2,consts:[[1,"options"],["href","https://github.com/tiberiuzuld/angular-gridster2/tree/master/src/app/sections/dynamicWidgets","mat-raised-button","","target","_blank",1,"source-code-button"],[3,"src"],[3,"options"],[3,"item"],[3,"widget","resizeEvent"]],template:function(t,i){t&1&&(c(0,"div",0)(1,"a",1)(2,"mat-icon"),m(3,"open_in_new"),d(),m(4," Source "),d(),R(5,"markdown",2),d(),c(6,"gridster",3),ie(7,A0,2,3,"gridster-item",4,ge),d()),t&2&&(h(5),M("src","assets/dynamicWidgets.md"),h(),M("options",i.options),h(),ne(i.dashboard))},dependencies:[de,ce,he,me,le,_e,se,pe,Nu],encapsulation:2,changeDetection:0})}}return o})();function O0(o,n){if(o&1){let e=F();c(0,"div",12),g("dragstart",function(i){b(e);let r=f();return v(r.dragStartHandler(i))}),m(1,"Drag me!"),d()}}function F0(o,n){if(o&1){let e=F();c(0,"gridster-item",11)(1,"div",13)(2,"button",14),g("mousedown",function(i){let r=b(e).$implicit,s=f();return v(s.removeItem(i,r))})("touchstart",function(i){let r=b(e).$implicit,s=f();return v(s.removeItem(i,r))}),c(3,"mat-icon"),m(4,"delete"),d()()()()}if(o&2){let e=n.$implicit;M("item",e)}}var Wu=(()=>{class o{ngOnInit(){this.options={gridType:P.Fit,displayGrid:ve.Always,enableEmptyCellClick:!1,enableEmptyCellContextMenu:!1,enableEmptyCellDrop:!1,enableEmptyCellDrag:!1,enableOccupiedCellDrop:!1,emptyCellClickCallback:this.emptyCellClick.bind(this),emptyCellContextMenuCallback:this.emptyCellClick.bind(this),emptyCellDropCallback:this.emptyCellClick.bind(this),emptyCellDragCallback:this.emptyCellClick.bind(this),emptyCellDragMaxCols:50,emptyCellDragMaxRows:50},this.dashboard=[{cols:2,rows:1,y:0,x:0},{cols:2,rows:2,y:0,x:2},{cols:1,rows:1,y:0,x:4},{cols:3,rows:2,y:1,x:4},{cols:1,rows:1,y:4,x:5},{cols:1,rows:1,y:2,x:1},{cols:2,rows:2,y:5,x:5},{cols:2,rows:2,y:3,x:2},{cols:2,rows:1,y:2,x:2},{cols:1,rows:1,y:3,x:4},{cols:1,rows:1,y:0,x:6}]}changedOptions(){this.options.api&&this.options.api.optionsChanged&&this.options.api.optionsChanged()}emptyCellClick(e,t){console.info("empty cell click",e,t),this.dashboard.push(t)}removeItem(e,t){e.preventDefault(),e.stopPropagation(),this.dashboard.splice(this.dashboard.indexOf(t),1)}addItem(){this.dashboard.push({x:0,y:0,cols:1,rows:1})}dragStartHandler(e){e.dataTransfer&&(e.dataTransfer.setData("text/plain","Drag Me Button"),e.dataTransfer.dropEffect="copy")}static{this.\u0275fac=function(t){return new(t||o)}}static{this.\u0275cmp=S({type:o,selectors:[["app-empty-cell"]],decls:28,vars:11,consts:[[1,"options"],["mat-raised-button","","href","https://github.com/tiberiuzuld/angular-gridster2/tree/master/src/app/sections/emptyCell","target","_blank",1,"source-code-button"],[3,"src"],[1,"options-header"],[3,"ngModelChange","ngModel"],["draggable","true"],[3,"ngModelChange","ngModel","disabled"],["matInput","","type","number","placeholder","Drag Max Cols",3,"ngModelChange","ngModel"],["matInput","","type","number","placeholder","Drag Max Rows",3,"ngModelChange","ngModel"],["mat-mini-fab","",1,"add-button","cols-2",3,"click"],[3,"options"],[3,"item"],["draggable","true",3,"dragstart"],[1,"button-holder"],["mat-mini-fab","",3,"mousedown","touchstart"]],template:function(t,i){t&1&&(c(0,"div",0)(1,"a",1)(2,"mat-icon"),m(3,"open_in_new"),d(),m(4," Source "),d(),R(5,"markdown",2),d(),c(6,"div",3)(7,"mat-checkbox",4),C("ngModelChange",function(s){return w(i.options.enableEmptyCellClick,s)||(i.options.enableEmptyCellClick=s),s}),g("ngModelChange",function(){return i.changedOptions()}),m(8," Enable click to add "),d(),c(9,"mat-checkbox",4),C("ngModelChange",function(s){return w(i.options.enableEmptyCellContextMenu,s)||(i.options.enableEmptyCellContextMenu=s),s}),g("ngModelChange",function(){return i.changedOptions()}),m(10," Enable right click to add "),d(),c(11,"mat-checkbox",4),C("ngModelChange",function(s){return w(i.options.enableEmptyCellDrop,s)||(i.options.enableEmptyCellDrop=s),s}),g("ngModelChange",function(){return i.changedOptions()}),m(12," Enable drop to add "),d(),Y(13,O0,2,0,"div",5),c(14,"mat-checkbox",6),g("ngModelChange",function(){return i.changedOptions()}),C("ngModelChange",function(s){return w(i.options.enableOccupiedCellDrop,s)||(i.options.enableOccupiedCellDrop=s),s}),m(15," Enable drop on occupied cell "),d(),c(16,"mat-checkbox",4),C("ngModelChange",function(s){return w(i.options.enableEmptyCellDrag,s)||(i.options.enableEmptyCellDrag=s),s}),g("ngModelChange",function(){return i.changedOptions()}),m(17," Enable drag to add "),d(),c(18,"mat-form-field")(19,"input",7),C("ngModelChange",function(s){return w(i.options.emptyCellDragMaxCols,s)||(i.options.emptyCellDragMaxCols=s),s}),g("ngModelChange",function(){return i.changedOptions()}),d()(),c(20,"mat-form-field")(21,"input",8),C("ngModelChange",function(s){return w(i.options.emptyCellDragMaxRows,s)||(i.options.emptyCellDragMaxRows=s),s}),g("ngModelChange",function(){return i.changedOptions()}),d()(),c(22,"button",9),g("click",function(){return i.addItem()}),c(23,"mat-icon"),m(24,"add"),d()()(),c(25,"gridster",10),ie(26,F0,5,1,"gridster-item",11,ge),d()),t&2&&(h(5),M("src","assets/emptyCell.md"),h(2),x("ngModel",i.options.enableEmptyCellClick),h(2),x("ngModel",i.options.enableEmptyCellContextMenu),h(2),x("ngModel",i.options.enableEmptyCellDrop),h(2),L(i.options.enableEmptyCellDrop?13:-1),h(),x("ngModel",i.options.enableOccupiedCellDrop),M("disabled",!i.options.enableEmptyCellDrop),h(2),x("ngModel",i.options.enableEmptyCellDrag),h(3),x("ngModel",i.options.emptyCellDragMaxCols),h(2),x("ngModel",i.options.emptyCellDragMaxRows),h(4),M("options",i.options),h(),ne(i.dashboard))},dependencies:[Ie,qe,Ke,Me,xe,de,ce,be,We,Oe,he,me,et,Je,Be,le,_e,se,pe],encapsulation:2,changeDetection:0})}}return o})();function P0(o,n){if(o&1){let e=F();c(0,"gridster-item",7)(1,"div",8)(2,"button",9),g("mousedown",function(i){let r=b(e).$implicit,s=f(2);return v(s.removeItem(i,r))})("touchstart",function(i){let r=b(e).$implicit,s=f(2);return v(s.removeItem(i,r))}),c(3,"mat-icon"),m(4,"delete"),d()()()()}if(o&2){let e=n.$implicit;M("item",e)}}function L0(o,n){if(o&1&&(c(0,"gridster",6),ie(1,P0,5,1,"gridster-item",7,ge),d()),o&2){let e=f();M("options",e.options),h(),ne(e.dashboard)}}var ju=(()=>{class o{static itemChange(e,t){console.info("itemChanged",e,t)}static itemResize(e,t){console.info("itemResized",e,t)}static itemInit(e,t){console.info("itemInitialized",e,t)}static itemRemoved(e,t){console.info("itemRemoved",e,t)}static itemValidate(e){return e.cols>0&&e.rows>0}static gridInit(e){console.info("gridInit",e)}static gridDestroy(e){console.info("gridDestroy",e)}static gridSizeChanged(e){console.info("gridSizeChanged",e)}ngOnInit(){this.options={gridType:P.Fit,displayGrid:ve.Always,initCallback:o.gridInit,destroyCallback:o.gridDestroy,gridSizeChangedCallback:o.gridSizeChanged,itemChangeCallback:o.itemChange,itemResizeCallback:o.itemResize,itemInitCallback:o.itemInit,itemRemovedCallback:o.itemRemoved,itemValidateCallback:o.itemValidate,pushItems:!0,draggable:{enabled:!0},resizable:{enabled:!0}},this.dashboard=[{cols:2,rows:1,y:0,x:0},{cols:2,rows:2,y:0,x:2},{cols:1,rows:1,y:0,x:4},{cols:3,rows:2,y:1,x:4},{cols:1,rows:1,y:4,x:5},{cols:1,rows:1,y:2,x:1},{cols:2,rows:2,y:5,x:5},{cols:2,rows:2,y:3,x:2},{cols:2,rows:1,y:2,x:2},{cols:1,rows:1,y:3,x:4},{cols:1,rows:1,y:0,x:6}]}changedOptions(){this.options.api&&this.options.api.optionsChanged&&this.options.api.optionsChanged()}removeItem(e,t){e.preventDefault(),e.stopPropagation(),this.dashboard.splice(this.dashboard.indexOf(t),1)}addItem(){this.dashboard.push({x:0,y:0,cols:1,rows:1})}destroy(){this.remove=!this.remove}static{this.\u0275fac=function(t){return new(t||o)}}static{this.\u0275cmp=S({type:o,selectors:[["app-grid-events"]],decls:14,vars:2,consts:[[1,"options"],["mat-raised-button","","href","https://github.com/tiberiuzuld/angular-gridster2/tree/master/src/app/sections/gridEvents","target","_blank",1,"source-code-button"],[3,"src"],[1,"options-header"],["mat-mini-fab","",1,"add-button","cols-2",3,"click"],["mat-mini-fab","",1,"destroy-button",3,"click"],[3,"options"],[3,"item"],[1,"button-holder"],["mat-mini-fab","",3,"mousedown","touchstart"]],template:function(t,i){t&1&&(c(0,"div",0)(1,"a",1)(2,"mat-icon"),m(3,"open_in_new"),d(),m(4," Source "),d(),R(5,"markdown",2),d(),c(6,"div",3)(7,"button",4),g("click",function(){return i.addItem()}),c(8,"mat-icon"),m(9,"add"),d()(),c(10,"button",5),g("click",function(){return i.destroy()}),c(11,"mat-icon"),m(12,"delete"),d()()(),Y(13,L0,3,1,"gridster",6)),t&2&&(h(5),M("src","assets/gridEvents.md"),h(8),L(i.remove?-1:13))},dependencies:[de,ce,be,he,me,le,_e,se,pe],encapsulation:2,changeDetection:0})}}return o})();function z0(o,n){if(o&1){let e=F();c(0,"gridster-item",19)(1,"div",20)(2,"button",21),g("mousedown",function(i){let r=b(e).$implicit,s=f();return v(s.removeItem(i,r))})("touchstart",function(i){let r=b(e).$implicit,s=f();return v(s.removeItem(i,r))}),c(3,"mat-icon"),m(4,"delete"),d()()()()}if(o&2){let e=n.$implicit;M("item",e)}}var $u=(()=>{class o{ngOnInit(){this.options={gridType:P.Fit,displayGrid:ve.Always,margin:10,outerMargin:!0,outerMarginTop:null,outerMarginRight:null,outerMarginBottom:null,outerMarginLeft:null},this.dashboard=[{cols:2,rows:1,y:0,x:0},{cols:2,rows:2,y:0,x:2},{cols:1,rows:1,y:0,x:4},{cols:3,rows:2,y:1,x:4},{cols:1,rows:1,y:4,x:5},{cols:1,rows:1,y:2,x:1},{cols:2,rows:2,y:5,x:5},{cols:2,rows:2,y:3,x:2},{cols:2,rows:1,y:2,x:2},{cols:1,rows:1,y:3,x:4},{cols:1,rows:1,y:0,x:6}]}changedOptions(){this.options.api&&this.options.api.optionsChanged&&this.options.api.optionsChanged()}removeItem(e,t){e.preventDefault(),e.stopPropagation(),this.dashboard.splice(this.dashboard.indexOf(t),1)}addItem(){this.dashboard.push({x:0,y:0,cols:1,rows:1})}static{this.\u0275fac=function(t){return new(t||o)}}static{this.\u0275cmp=S({type:o,selectors:[["app-grid-margins"]],decls:39,vars:9,consts:[[1,"options"],["mat-raised-button","","href","https://github.com/tiberiuzuld/angular-gridster2/tree/master/src/app/sections/gridMargins","target","_blank",1,"source-code-button"],[3,"src"],[1,"options-header"],["aria-label","Grid type","placeholder","Grid Type",3,"ngModelChange","ngModel"],["value","fit"],["value","scrollVertical"],["value","scrollHorizontal"],["value","fixed"],["value","verticalFixed"],["value","horizontalFixed"],["matInput","","min","0","max","30","step","1","type","number","placeholder","Margin",3,"ngModelChange","ngModel"],[3,"ngModelChange","ngModel"],["matInput","","min","0","max","30","step","1","type","number","placeholder","Grid Margin Top",3,"ngModelChange","ngModel"],["matInput","","min","0","max","30","step","1","type","number","placeholder","Grid Margin Right",3,"ngModelChange","ngModel"],["matInput","","min","0","max","30","step","1","type","number","placeholder","Grid Margin Bottom",3,"ngModelChange","ngModel"],["matInput","","min","0","max","30","step","1","type","number","placeholder","Grid Margin Left",3,"ngModelChange","ngModel"],["mat-mini-fab","",1,"add-button","cols-2",3,"click"],[3,"options"],[3,"item"],[1,"button-holder"],["mat-mini-fab","",3,"mousedown","touchstart"]],template:function(t,i){t&1&&(c(0,"div",0)(1,"a",1)(2,"mat-icon"),m(3,"open_in_new"),d(),m(4," Source "),d(),R(5,"markdown",2),d(),c(6,"div",3)(7,"mat-form-field")(8,"mat-select",4),C("ngModelChange",function(s){return w(i.options.gridType,s)||(i.options.gridType=s),s}),g("ngModelChange",function(){return i.changedOptions()}),c(9,"mat-option",5),m(10,"Fit to screen"),d(),c(11,"mat-option",6),m(12,"Scroll Vertical"),d(),c(13,"mat-option",7),m(14,"Scroll Horizontal"),d(),c(15,"mat-option",8),m(16,"Fixed"),d(),c(17,"mat-option",9),m(18,"Vertical Fixed"),d(),c(19,"mat-option",10),m(20,"Horizontal Fixed"),d()()(),c(21,"mat-form-field")(22,"input",11),C("ngModelChange",function(s){return w(i.options.margin,s)||(i.options.margin=s),s}),g("ngModelChange",function(){return i.changedOptions()}),d()(),c(23,"mat-checkbox",12),C("ngModelChange",function(s){return w(i.options.outerMargin,s)||(i.options.outerMargin=s),s}),g("ngModelChange",function(){return i.changedOptions()}),m(24,"Outer Margin "),d(),c(25,"mat-form-field")(26,"input",13),C("ngModelChange",function(s){return w(i.options.outerMarginTop,s)||(i.options.outerMarginTop=s),s}),g("ngModelChange",function(){return i.changedOptions()}),d()(),c(27,"mat-form-field")(28,"input",14),C("ngModelChange",function(s){return w(i.options.outerMarginRight,s)||(i.options.outerMarginRight=s),s}),g("ngModelChange",function(){return i.changedOptions()}),d()(),c(29,"mat-form-field")(30,"input",15),C("ngModelChange",function(s){return w(i.options.outerMarginBottom,s)||(i.options.outerMarginBottom=s),s}),g("ngModelChange",function(){return i.changedOptions()}),d()(),c(31,"mat-form-field")(32,"input",16),C("ngModelChange",function(s){return w(i.options.outerMarginLeft,s)||(i.options.outerMarginLeft=s),s}),g("ngModelChange",function(){return i.changedOptions()}),d()(),c(33,"button",17),g("click",function(){return i.addItem()}),c(34,"mat-icon"),m(35,"add"),d()()(),c(36,"gridster",18),ie(37,z0,5,1,"gridster-item",19,ge),d()),t&2&&(h(5),M("src","assets/gridMargins.md"),h(3),x("ngModel",i.options.gridType),h(14),x("ngModel",i.options.margin),h(),x("ngModel",i.options.outerMargin),h(3),x("ngModel",i.options.outerMarginTop),h(2),x("ngModel",i.options.outerMarginRight),h(2),x("ngModel",i.options.outerMarginBottom),h(2),x("ngModel",i.options.outerMarginLeft),h(4),M("options",i.options),h(),ne(i.dashboard))},dependencies:[Ie,qe,Ke,Me,fi,pi,xe,de,ce,be,We,Oe,he,me,et,Je,Be,gt,ft,rt,le,_e,se,pe],encapsulation:2,changeDetection:0})}}return o})();function V0(o,n){if(o&1){let e=F();c(0,"gridster-item",19)(1,"div",20)(2,"button",21),g("mousedown",function(i){let r=b(e).$implicit,s=f();return v(s.removeItem(i,r))})("touchstart",function(i){let r=b(e).$implicit,s=f();return v(s.removeItem(i,r))}),c(3,"mat-icon"),m(4,"delete"),d()()()()}if(o&2){let e=n.$implicit;M("item",e)}}var Uu=(()=>{class o{ngOnInit(){this.options={gridType:P.Fit,displayGrid:ve.Always,pushItems:!0,draggable:{enabled:!0},resizable:{enabled:!0},minCols:1,maxCols:100,minRows:1,maxRows:100,maxItemCols:100,minItemCols:1,maxItemRows:100,minItemRows:1,maxItemArea:2500,minItemArea:1,defaultItemCols:1,defaultItemRows:1,addEmptyRowsCount:2},this.dashboard=[{cols:2,rows:1,y:0,x:0},{cols:2,rows:2,y:0,x:2},{cols:1,rows:1,y:0,x:4},{cols:3,rows:2,y:1,x:4},{cols:1,rows:1,y:4,x:5},{cols:1,rows:1,y:2,x:1},{cols:2,rows:2,y:5,x:5},{cols:2,rows:2,y:3,x:2},{cols:2,rows:1,y:2,x:2},{cols:1,rows:1,y:3,x:4},{cols:1,rows:1,y:0,x:6}]}changedOptions(){this.options.api&&this.options.api.optionsChanged&&this.options.api.optionsChanged()}removeItem(e,t){e.preventDefault(),e.stopPropagation(),this.dashboard.splice(this.dashboard.indexOf(t),1)}addItem(){this.dashboard.push({x:0,y:0,cols:1,rows:1})}static{this.\u0275fac=function(t){return new(t||o)}}static{this.\u0275cmp=S({type:o,selectors:[["app-grid-sizes"]],decls:39,vars:15,consts:[[1,"options"],["mat-raised-button","","href","https://github.com/tiberiuzuld/angular-gridster2/tree/master/src/app/sections/gridSizes","target","_blank",1,"source-code-button"],[3,"src"],[1,"options-header"],["matInput","","type","number","placeholder","Min Grid Cols",3,"ngModelChange","ngModel"],["matInput","","type","number","placeholder","Max Grid Cols",3,"ngModelChange","ngModel"],["matInput","","type","number","placeholder","Min Grid Rows",3,"ngModelChange","ngModel"],["matInput","","type","number","placeholder","Max Grid Rows",3,"ngModelChange","ngModel"],["matInput","","type","number","placeholder","Max Item Cols",3,"ngModelChange","ngModel"],["matInput","","type","number","placeholder","Min Item Cols",3,"ngModelChange","ngModel"],["matInput","","type","number","placeholder","Max Item Rows",3,"ngModelChange","ngModel"],["matInput","","type","number","placeholder","Min Item Rows",3,"ngModelChange","ngModel"],["matInput","","type","number","placeholder","Max Item Area",3,"ngModelChange","ngModel"],["matInput","","type","number","placeholder","Min Item Area",3,"ngModelChange","ngModel"],["matInput","","type","number","placeholder","Default Item Rows",3,"ngModelChange","ngModel"],["matInput","","type","number","placeholder","Default Item Cols",3,"ngModelChange","ngModel"],["matInput","","max","30","min","0","placeholder","Add Empty Rows Count","step","1","type","number",3,"ngModelChange","ngModel"],["mat-mini-fab","",1,"add-button","cols-2",3,"click"],[3,"options"],[3,"item"],[1,"button-holder"],["mat-mini-fab","",3,"mousedown","touchstart"]],template:function(t,i){t&1&&(c(0,"div",0)(1,"a",1)(2,"mat-icon"),m(3,"open_in_new"),d(),m(4," Source "),d(),R(5,"markdown",2),d(),c(6,"div",3)(7,"mat-form-field")(8,"input",4),C("ngModelChange",function(s){return w(i.options.minCols,s)||(i.options.minCols=s),s}),g("ngModelChange",function(){return i.changedOptions()}),d()(),c(9,"mat-form-field")(10,"input",5),C("ngModelChange",function(s){return w(i.options.maxCols,s)||(i.options.maxCols=s),s}),g("ngModelChange",function(){return i.changedOptions()}),d()(),c(11,"mat-form-field")(12,"input",6),C("ngModelChange",function(s){return w(i.options.minRows,s)||(i.options.minRows=s),s}),g("ngModelChange",function(){return i.changedOptions()}),d()(),c(13,"mat-form-field")(14,"input",7),C("ngModelChange",function(s){return w(i.options.maxRows,s)||(i.options.maxRows=s),s}),g("ngModelChange",function(){return i.changedOptions()}),d()(),c(15,"mat-form-field")(16,"input",8),C("ngModelChange",function(s){return w(i.options.maxItemCols,s)||(i.options.maxItemCols=s),s}),g("ngModelChange",function(){return i.changedOptions()}),d()(),c(17,"mat-form-field")(18,"input",9),C("ngModelChange",function(s){return w(i.options.minItemCols,s)||(i.options.minItemCols=s),s}),g("ngModelChange",function(){return i.changedOptions()}),d()(),c(19,"mat-form-field")(20,"input",10),C("ngModelChange",function(s){return w(i.options.maxItemRows,s)||(i.options.maxItemRows=s),s}),g("ngModelChange",function(){return i.changedOptions()}),d()(),c(21,"mat-form-field")(22,"input",11),C("ngModelChange",function(s){return w(i.options.minItemRows,s)||(i.options.minItemRows=s),s}),g("ngModelChange",function(){return i.changedOptions()}),d()(),c(23,"mat-form-field")(24,"input",12),C("ngModelChange",function(s){return w(i.options.maxItemArea,s)||(i.options.maxItemArea=s),s}),g("ngModelChange",function(){return i.changedOptions()}),d()(),c(25,"mat-form-field")(26,"input",13),C("ngModelChange",function(s){return w(i.options.minItemArea,s)||(i.options.minItemArea=s),s}),g("ngModelChange",function(){return i.changedOptions()}),d()(),c(27,"mat-form-field")(28,"input",14),C("ngModelChange",function(s){return w(i.options.defaultItemRows,s)||(i.options.defaultItemRows=s),s}),g("ngModelChange",function(){return i.changedOptions()}),d()(),c(29,"mat-form-field")(30,"input",15),C("ngModelChange",function(s){return w(i.options.defaultItemCols,s)||(i.options.defaultItemCols=s),s}),g("ngModelChange",function(){return i.changedOptions()}),d()(),c(31,"mat-form-field")(32,"input",16),g("ngModelChange",function(){return i.changedOptions()}),C("ngModelChange",function(s){return w(i.options.addEmptyRowsCount,s)||(i.options.addEmptyRowsCount=s),s}),d()(),c(33,"button",17),g("click",function(){return i.addItem()}),c(34,"mat-icon"),m(35,"add"),d()()(),c(36,"gridster",18),ie(37,V0,5,1,"gridster-item",19,ge),d()),t&2&&(h(5),M("src","assets/gridSizes.md"),h(3),x("ngModel",i.options.minCols),h(2),x("ngModel",i.options.maxCols),h(2),x("ngModel",i.options.minRows),h(2),x("ngModel",i.options.maxRows),h(2),x("ngModel",i.options.maxItemCols),h(2),x("ngModel",i.options.minItemCols),h(2),x("ngModel",i.options.maxItemRows),h(2),x("ngModel",i.options.minItemRows),h(2),x("ngModel",i.options.maxItemArea),h(2),x("ngModel",i.options.minItemArea),h(2),x("ngModel",i.options.defaultItemRows),h(2),x("ngModel",i.options.defaultItemCols),h(2),x("ngModel",i.options.addEmptyRowsCount),h(4),M("options",i.options),h(),ne(i.dashboard))},dependencies:[Ie,qe,Ke,Me,fi,pi,xe,de,ce,be,he,me,et,Je,Be,le,_e,se,pe],encapsulation:2,changeDetection:0})}}return o})();function N0(o,n){if(o&1){let e=F();c(0,"gridster-item",18)(1,"div",19)(2,"button",20),g("mousedown",function(i){let r=b(e).$implicit,s=f();return v(s.removeItem(i,r))})("touchstart",function(i){let r=b(e).$implicit,s=f();return v(s.removeItem(i,r))}),c(3,"mat-icon"),m(4,"delete"),d()()()()}if(o&2){let e=n.$implicit;M("item",e)}}var Hu=(()=>{class o{ngOnInit(){this.options={gridType:P.Fit,displayGrid:ve.Always,fixedColWidth:105,fixedRowHeight:105,keepFixedHeightInMobile:!1,keepFixedWidthInMobile:!1,mobileBreakpoint:640,useBodyForBreakpoint:!1,pushItems:!0,rowHeightRatio:1,draggable:{enabled:!0},resizable:{enabled:!0}},this.dashboard=[{cols:2,rows:1,y:0,x:0},{cols:2,rows:2,y:0,x:2},{cols:1,rows:1,y:0,x:4},{cols:3,rows:2,y:1,x:4},{cols:1,rows:1,y:4,x:5},{cols:1,rows:1,y:2,x:1},{cols:2,rows:2,y:5,x:5},{cols:2,rows:2,y:3,x:2},{cols:2,rows:1,y:2,x:2},{cols:1,rows:1,y:3,x:4},{cols:1,rows:1,y:0,x:6}]}changedOptions(){this.options.api&&this.options.api.optionsChanged&&this.options.api.optionsChanged()}removeItem(e,t){e.preventDefault(),e.stopPropagation(),this.dashboard.splice(this.dashboard.indexOf(t),1)}addItem(){this.dashboard.push({x:0,y:0,cols:1,rows:1})}static{this.\u0275fac=function(t){return new(t||o)}}static{this.\u0275cmp=S({type:o,selectors:[["app-grid-types"]],decls:43,vars:11,consts:[[1,"options"],["mat-raised-button","","href","https://github.com/tiberiuzuld/angular-gridster2/tree/master/src/app/sections/gridTypes","target","_blank",1,"source-code-button"],[3,"src"],[1,"options-header"],["aria-label","Grid type","placeholder","Grid Type",3,"ngModelChange","ngModel"],["value","fit"],["value","scrollVertical"],["value","scrollHorizontal"],["value","fixed"],["value","verticalFixed"],["value","horizontalFixed"],["matInput","","type","number","placeholder","Fixed Col Width",3,"ngModelChange","ngModel"],["matInput","","type","number","placeholder","Fixed Row Height",3,"ngModelChange","ngModel"],["matInput","","placeholder","Row Height Ratio","step","0.1","type","number",3,"ngModelChange","ngModel"],[3,"ngModelChange","ngModel"],["matInput","","type","number","placeholder","Mobile Breakpoint",3,"ngModelChange","ngModel"],["mat-mini-fab","",1,"add-button","cols-2",3,"click"],[3,"options"],[3,"item"],[1,"button-holder"],["mat-mini-fab","",3,"mousedown","touchstart"]],template:function(t,i){t&1&&(c(0,"div",0)(1,"a",1)(2,"mat-icon"),m(3,"open_in_new"),d(),m(4," Source "),d(),R(5,"markdown",2),d(),c(6,"div",3)(7,"mat-form-field")(8,"mat-select",4),C("ngModelChange",function(s){return w(i.options.gridType,s)||(i.options.gridType=s),s}),g("ngModelChange",function(){return i.changedOptions()}),c(9,"mat-option",5),m(10,"Fit to screen"),d(),c(11,"mat-option",6),m(12,"Scroll Vertical"),d(),c(13,"mat-option",7),m(14,"Scroll Horizontal"),d(),c(15,"mat-option",8),m(16,"Fixed"),d(),c(17,"mat-option",9),m(18,"Vertical Fixed"),d(),c(19,"mat-option",10),m(20,"Horizontal Fixed"),d()()(),c(21,"mat-form-field")(22,"input",11),C("ngModelChange",function(s){return w(i.options.fixedColWidth,s)||(i.options.fixedColWidth=s),s}),g("ngModelChange",function(){return i.changedOptions()}),d()(),c(23,"mat-form-field")(24,"input",12),C("ngModelChange",function(s){return w(i.options.fixedRowHeight,s)||(i.options.fixedRowHeight=s),s}),g("ngModelChange",function(){return i.changedOptions()}),d()(),c(25,"mat-form-field")(26,"input",13),g("ngModelChange",function(){return i.changedOptions()}),C("ngModelChange",function(s){return w(i.options.rowHeightRatio,s)||(i.options.rowHeightRatio=s),s}),d()(),c(27,"mat-checkbox",14),C("ngModelChange",function(s){return w(i.options.setGridSize,s)||(i.options.setGridSize=s),s}),g("ngModelChange",function(){return i.changedOptions()}),m(28," Set Grid Size "),d(),c(29,"mat-checkbox",14),C("ngModelChange",function(s){return w(i.options.keepFixedHeightInMobile,s)||(i.options.keepFixedHeightInMobile=s),s}),g("ngModelChange",function(){return i.changedOptions()}),m(30," Keep Fixed Height In Mobile "),d(),c(31,"mat-checkbox",14),C("ngModelChange",function(s){return w(i.options.keepFixedWidthInMobile,s)||(i.options.keepFixedWidthInMobile=s),s}),g("ngModelChange",function(){return i.changedOptions()}),m(32," Keep Fixed Width In Mobile "),d(),c(33,"mat-checkbox",14),C("ngModelChange",function(s){return w(i.options.useBodyForBreakpoint,s)||(i.options.useBodyForBreakpoint=s),s}),g("ngModelChange",function(){return i.changedOptions()}),m(34," Use Body Width as Breakpoint "),d(),c(35,"mat-form-field")(36,"input",15),C("ngModelChange",function(s){return w(i.options.mobileBreakpoint,s)||(i.options.mobileBreakpoint=s),s}),g("ngModelChange",function(){return i.changedOptions()}),d()(),c(37,"button",16),g("click",function(){return i.addItem()}),c(38,"mat-icon"),m(39,"add"),d()()(),c(40,"gridster",17),ie(41,N0,5,1,"gridster-item",18,ge),d()),t&2&&(h(5),M("src","assets/gridTypes.md"),h(3),x("ngModel",i.options.gridType),h(14),x("ngModel",i.options.fixedColWidth),h(2),x("ngModel",i.options.fixedRowHeight),h(2),x("ngModel",i.options.rowHeightRatio),h(),x("ngModel",i.options.setGridSize),h(2),x("ngModel",i.options.keepFixedHeightInMobile),h(2),x("ngModel",i.options.keepFixedWidthInMobile),h(2),x("ngModel",i.options.useBodyForBreakpoint),h(3),x("ngModel",i.options.mobileBreakpoint),h(4),M("options",i.options),h(),ne(i.dashboard))},dependencies:[Ie,qe,Ke,Me,xe,de,ce,be,We,Oe,he,me,et,Je,Be,gt,ft,rt,le,_e,se,pe],encapsulation:2,changeDetection:0})}}return o})();function B0(o,n){if(o&1){let e=F();c(0,"mat-checkbox",14),C("ngModelChange",function(i){b(e);let r=f();return w(r.options.draggable.enabled,i)||(r.options.draggable.enabled=i),v(i)}),g("ngModelChange",function(){b(e);let i=f();return v(i.changedOptions())}),m(1," Drag Items "),d()}if(o&2){let e=f();x("ngModel",e.options.draggable.enabled)}}function W0(o,n){if(o&1){let e=F();c(0,"mat-checkbox",14),C("ngModelChange",function(i){b(e);let r=f();return w(r.options.resizable.enabled,i)||(r.options.resizable.enabled=i),v(i)}),g("ngModelChange",function(){b(e);let i=f();return v(i.changedOptions())}),m(1," Resize Items "),d()}if(o&2){let e=f();x("ngModel",e.options.resizable.enabled)}}function j0(o,n){o&1&&(c(0,"div",24)(1,"div",27)(2,"span"),m(3,"Some content to select and click without dragging the widget"),d(),c(4,"a",28),m(5,"Link to Google"),d()()())}function $0(o,n){if(o&1){let e=F();c(0,"div",25)(1,"button",29)(2,"mat-icon"),m(3,"open_with"),d()(),c(4,"button",30),g("mousedown",function(i){b(e);let r=f().$implicit,s=f();return v(s.removeItem(i,r))})("touchstart",function(i){b(e);let r=f().$implicit,s=f();return v(s.removeItem(i,r))}),c(5,"mat-icon"),m(6,"delete"),d()()()}}function U0(o,n){if(o&1&&(c(0,"label"),m(1),d()),o&2){let e=f().$implicit;h(),Xe(e.label)}}function H0(o,n){if(o&1){let e=F();c(0,"button",31),g("mousedown",function(i){b(e);let r=f().$implicit,s=f();return v(s.removeItem(i,r))})("touchstart",function(i){b(e);let r=f().$implicit,s=f();return v(s.removeItem(i,r))}),c(1,"mat-icon"),m(2,"delete"),d()()}}function G0(o,n){if(o&1&&(c(0,"gridster-item",22)(1,"div",23),Y(2,j0,6,0,"div",24)(3,$0,7,0,"div",25)(4,U0,2,1,"label")(5,H0,3,0,"button",26),d()()),o&2){let e=n.$implicit;M("item",e),h(2),L(e.hasContent?2:-1),h(),L(e.hasContent?3:-1),h(),L(e.hasContent?-1:4),h(),L(e.hasContent?-1:5)}}var Gu=(()=>{class o{ngOnInit(){this.options={gridType:P.Fit,compactType:ue.None,margin:10,outerMargin:!0,outerMarginTop:null,outerMarginRight:null,outerMarginBottom:null,outerMarginLeft:null,useTransformPositioning:!0,mobileBreakpoint:640,useBodyForBreakpoint:!1,minCols:1,maxCols:100,minRows:1,maxRows:100,maxItemCols:100,minItemCols:1,maxItemRows:100,minItemRows:1,maxItemArea:2500,minItemArea:1,defaultItemCols:1,defaultItemRows:1,fixedColWidth:105,fixedRowHeight:105,keepFixedHeightInMobile:!1,keepFixedWidthInMobile:!1,scrollSensitivity:10,scrollSpeed:20,enableEmptyCellClick:!1,enableEmptyCellContextMenu:!1,enableEmptyCellDrop:!1,enableEmptyCellDrag:!1,enableOccupiedCellDrop:!1,emptyCellDragMaxCols:50,emptyCellDragMaxRows:50,ignoreMarginInRow:!1,draggable:{enabled:!0},resizable:{enabled:!0},swap:!1,pushItems:!0,disablePushOnDrag:!1,disablePushOnResize:!1,pushDirections:{north:!0,east:!0,south:!0,west:!0},pushResizeItems:!1,displayGrid:ve.Always,disableWindowResize:!1,disableWarnings:!1,scrollToNewItems:!1},this.dashboard=[{cols:2,rows:1,y:0,x:0},{cols:2,rows:2,y:0,x:2,hasContent:!0},{cols:1,rows:1,y:0,x:4},{cols:1,rows:1,y:2,x:5},{cols:1,rows:1,y:1,x:0},{cols:1,rows:1,y:1,x:0},{cols:2,rows:2,y:3,x:5,minItemRows:2,minItemCols:2,label:"Min rows & cols = 2"},{cols:2,rows:2,y:2,x:0,maxItemRows:2,maxItemCols:2,label:"Max rows & cols = 2"},{cols:2,rows:1,y:2,x:2,dragEnabled:!0,resizeEnabled:!0,label:"Drag&Resize Enabled"},{cols:1,rows:1,y:2,x:4,dragEnabled:!1,resizeEnabled:!1,label:"Drag&Resize Disabled"},{cols:1,rows:1,y:2,x:6}]}changedOptions(){this.options.api&&this.options.api.optionsChanged&&this.options.api.optionsChanged()}removeItem(e,t){e.preventDefault(),e.stopPropagation(),this.dashboard.splice(this.dashboard.indexOf(t),1)}addItem(){this.dashboard.push({x:0,y:0,cols:1,rows:1})}static{this.\u0275fac=function(t){return new(t||o)}}static{this.\u0275cmp=S({type:o,selectors:[["app-general"]],decls:54,vars:14,consts:[[1,"options"],["mat-raised-button","","href","https://github.com/tiberiuzuld/angular-gridster2/tree/master/src/app/sections/home","target","_blank",1,"source-code-button"],[1,"options-header"],["aria-label","Grid type","placeholder","Grid Type",3,"ngModelChange","ngModel"],["value","fit"],["value","scrollVertical"],["value","scrollHorizontal"],["value","fixed"],["value","verticalFixed"],["value","horizontalFixed"],["aria-label","Display grid lines","placeholder","Display grid lines",3,"ngModelChange","ngModel"],["value","always"],["value","onDrag&Resize"],["value","none"],[3,"ngModelChange","ngModel"],[3,"ngModel"],["matInput","","min","0","max","30","step","1","type","number","placeholder","Margin",3,"ngModelChange","ngModel"],["matInput","","type","number","placeholder","Mobile Breakpoint",3,"ngModelChange","ngModel"],["matInput","","type","number","placeholder","Fixed Col Width",3,"ngModelChange","ngModel"],["matInput","","type","number","placeholder","Fixed Row Height",3,"ngModelChange","ngModel"],["mat-mini-fab","",1,"add-button","cols-2",3,"click"],[3,"options"],[3,"item"],[1,"button-holder"],[1,"gridster-item-content"],[1,"item-buttons"],["mat-mini-fab",""],[1,"stuff"],["href","https://www.google.com","target","_blank"],["mat-icon-button","",1,"drag-handler"],["mat-icon-button","",1,"remove-button",3,"mousedown","touchstart"],["mat-mini-fab","",3,"mousedown","touchstart"]],template:function(t,i){t&1&&(c(0,"div",0)(1,"a",1)(2,"mat-icon"),m(3,"open_in_new"),d(),m(4," Source "),d()(),c(5,"div",2)(6,"mat-form-field")(7,"mat-select",3),C("ngModelChange",function(s){return w(i.options.gridType,s)||(i.options.gridType=s),s}),g("ngModelChange",function(){return i.changedOptions()}),c(8,"mat-option",4),m(9,"Fit to screen"),d(),c(10,"mat-option",5),m(11,"Scroll Vertical"),d(),c(12,"mat-option",6),m(13,"Scroll Horizontal"),d(),c(14,"mat-option",7),m(15,"Fixed"),d(),c(16,"mat-option",8),m(17,"Vertical Fixed"),d(),c(18,"mat-option",9),m(19,"Horizontal Fixed"),d()()(),c(20,"mat-form-field")(21,"mat-select",10),C("ngModelChange",function(s){return w(i.options.displayGrid,s)||(i.options.displayGrid=s),s}),g("ngModelChange",function(){return i.changedOptions()}),c(22,"mat-option",11),m(23,"Always"),d(),c(24,"mat-option",12),m(25,"On Drag & Resize"),d(),c(26,"mat-option",13),m(27,"None"),d()()(),c(28,"mat-checkbox",14),C("ngModelChange",function(s){return w(i.options.swap,s)||(i.options.swap=s),s}),g("ngModelChange",function(){return i.changedOptions()}),m(29," Swap Items "),d(),c(30,"mat-checkbox",14),C("ngModelChange",function(s){return w(i.options.pushItems,s)||(i.options.pushItems=s),s}),g("ngModelChange",function(){return i.changedOptions()}),m(31," Push Items "),d(),Y(32,B0,2,1,"mat-checkbox",15)(33,W0,2,1,"mat-checkbox",15),c(34,"mat-checkbox",14),C("ngModelChange",function(s){return w(i.options.pushResizeItems,s)||(i.options.pushResizeItems=s),s}),g("ngModelChange",function(){return i.changedOptions()}),m(35," Push Resize Items "),d(),c(36,"mat-form-field")(37,"input",16),C("ngModelChange",function(s){return w(i.options.margin,s)||(i.options.margin=s),s}),g("ngModelChange",function(){return i.changedOptions()}),d()(),c(38,"mat-checkbox",14),C("ngModelChange",function(s){return w(i.options.outerMargin,s)||(i.options.outerMargin=s),s}),g("ngModelChange",function(){return i.changedOptions()}),m(39,"Outer Margin "),d(),c(40,"mat-checkbox",14),C("ngModelChange",function(s){return w(i.options.useBodyForBreakpoint,s)||(i.options.useBodyForBreakpoint=s),s}),g("ngModelChange",function(){return i.changedOptions()}),m(41,"Use Body Width as Breakpoint "),d(),c(42,"mat-form-field")(43,"input",17),C("ngModelChange",function(s){return w(i.options.mobileBreakpoint,s)||(i.options.mobileBreakpoint=s),s}),g("ngModelChange",function(){return i.changedOptions()}),d()(),c(44,"mat-form-field")(45,"input",18),C("ngModelChange",function(s){return w(i.options.fixedColWidth,s)||(i.options.fixedColWidth=s),s}),g("ngModelChange",function(){return i.changedOptions()}),d()(),c(46,"mat-form-field")(47,"input",19),C("ngModelChange",function(s){return w(i.options.fixedRowHeight,s)||(i.options.fixedRowHeight=s),s}),g("ngModelChange",function(){return i.changedOptions()}),d()(),c(48,"button",20),g("click",function(){return i.addItem()}),c(49,"mat-icon"),m(50,"add"),d()()(),c(51,"gridster",21),ie(52,G0,6,5,"gridster-item",22,ge),d()),t&2&&(h(7),x("ngModel",i.options.gridType),h(14),x("ngModel",i.options.displayGrid),h(7),x("ngModel",i.options.swap),h(2),x("ngModel",i.options.pushItems),h(2),L(i.options.draggable?32:-1),h(),L(i.options.resizable?33:-1),h(),x("ngModel",i.options.pushResizeItems),h(3),x("ngModel",i.options.margin),h(),x("ngModel",i.options.outerMargin),h(2),x("ngModel",i.options.useBodyForBreakpoint),h(3),x("ngModel",i.options.mobileBreakpoint),h(2),x("ngModel",i.options.fixedColWidth),h(2),x("ngModel",i.options.fixedRowHeight),h(4),M("options",i.options),h(),ne(i.dashboard))},dependencies:[Ie,qe,Ke,Me,fi,pi,xe,de,ce,Li,be,We,Oe,he,me,et,Je,Be,gt,ft,rt,se,pe],encapsulation:2,changeDetection:0})}}return o})();function Y0(o,n){if(o&1){let e=F();c(0,"mat-checkbox",16),C("ngModelChange",function(i){b(e);let r=f(2);return w(r.dashboard[0].resizableHandles.s,i)||(r.dashboard[0].resizableHandles.s=i),v(i)}),g("ngModelChange",function(){b(e);let i=f(2);return v(i.changedOptions())}),m(1," Resize South "),d(),c(2,"mat-checkbox",16),C("ngModelChange",function(i){b(e);let r=f(2);return w(r.dashboard[0].resizableHandles.e,i)||(r.dashboard[0].resizableHandles.e=i),v(i)}),g("ngModelChange",function(){b(e);let i=f(2);return v(i.changedOptions())}),m(3," Resize East "),d(),c(4,"mat-checkbox",16),C("ngModelChange",function(i){b(e);let r=f(2);return w(r.dashboard[0].resizableHandles.n,i)||(r.dashboard[0].resizableHandles.n=i),v(i)}),g("ngModelChange",function(){b(e);let i=f(2);return v(i.changedOptions())}),m(5," Resize North "),d(),c(6,"mat-checkbox",16),C("ngModelChange",function(i){b(e);let r=f(2);return w(r.dashboard[0].resizableHandles.w,i)||(r.dashboard[0].resizableHandles.w=i),v(i)}),g("ngModelChange",function(){b(e);let i=f(2);return v(i.changedOptions())}),m(7," Resize West "),d(),c(8,"mat-checkbox",16),C("ngModelChange",function(i){b(e);let r=f(2);return w(r.dashboard[0].resizableHandles.se,i)||(r.dashboard[0].resizableHandles.se=i),v(i)}),g("ngModelChange",function(){b(e);let i=f(2);return v(i.changedOptions())}),m(9," Resize South-East "),d(),c(10,"mat-checkbox",16),C("ngModelChange",function(i){b(e);let r=f(2);return w(r.dashboard[0].resizableHandles.ne,i)||(r.dashboard[0].resizableHandles.ne=i),v(i)}),g("ngModelChange",function(){b(e);let i=f(2);return v(i.changedOptions())}),m(11," Resize North-East "),d(),c(12,"mat-checkbox",16),C("ngModelChange",function(i){b(e);let r=f(2);return w(r.dashboard[0].resizableHandles.sw,i)||(r.dashboard[0].resizableHandles.sw=i),v(i)}),g("ngModelChange",function(){b(e);let i=f(2);return v(i.changedOptions())}),m(13," Resize South-West "),d(),c(14,"mat-checkbox",16),C("ngModelChange",function(i){b(e);let r=f(2);return w(r.dashboard[0].resizableHandles.nw,i)||(r.dashboard[0].resizableHandles.nw=i),v(i)}),g("ngModelChange",function(){b(e);let i=f(2);return v(i.changedOptions())}),m(15," Resize North-West "),d()}if(o&2){let e=f(2);x("ngModel",e.dashboard[0].resizableHandles.s),h(2),x("ngModel",e.dashboard[0].resizableHandles.e),h(2),x("ngModel",e.dashboard[0].resizableHandles.n),h(2),x("ngModel",e.dashboard[0].resizableHandles.w),h(2),x("ngModel",e.dashboard[0].resizableHandles.se),h(2),x("ngModel",e.dashboard[0].resizableHandles.ne),h(2),x("ngModel",e.dashboard[0].resizableHandles.sw),h(2),x("ngModel",e.dashboard[0].resizableHandles.nw)}}function q0(o,n){if(o&1){let e=F();c(0,"div",3)(1,"mat-form-field")(2,"input",6),C("ngModelChange",function(i){b(e);let r=f();return w(r.dashboard[0].x,i)||(r.dashboard[0].x=i),v(i)}),g("ngModelChange",function(){b(e);let i=f();return v(i.changedOptions())}),d()(),c(3,"mat-form-field")(4,"input",7),C("ngModelChange",function(i){b(e);let r=f();return w(r.dashboard[0].y,i)||(r.dashboard[0].y=i),v(i)}),g("ngModelChange",function(){b(e);let i=f();return v(i.changedOptions())}),d()(),c(5,"mat-form-field")(6,"input",8),C("ngModelChange",function(i){b(e);let r=f();return w(r.dashboard[0].rows,i)||(r.dashboard[0].rows=i),v(i)}),g("ngModelChange",function(){b(e);let i=f();return v(i.changedOptions())}),d()(),c(7,"mat-form-field")(8,"input",9),C("ngModelChange",function(i){b(e);let r=f();return w(r.dashboard[0].cols,i)||(r.dashboard[0].cols=i),v(i)}),g("ngModelChange",function(){b(e);let i=f();return v(i.changedOptions())}),d()(),c(9,"mat-form-field")(10,"input",10),C("ngModelChange",function(i){b(e);let r=f();return w(r.dashboard[0].maxItemCols,i)||(r.dashboard[0].maxItemCols=i),v(i)}),g("ngModelChange",function(){b(e);let i=f();return v(i.changedOptions())}),d()(),c(11,"mat-form-field")(12,"input",11),C("ngModelChange",function(i){b(e);let r=f();return w(r.dashboard[0].minItemCols,i)||(r.dashboard[0].minItemCols=i),v(i)}),g("ngModelChange",function(){b(e);let i=f();return v(i.changedOptions())}),d()(),c(13,"mat-form-field")(14,"input",12),C("ngModelChange",function(i){b(e);let r=f();return w(r.dashboard[0].maxItemRows,i)||(r.dashboard[0].maxItemRows=i),v(i)}),g("ngModelChange",function(){b(e);let i=f();return v(i.changedOptions())}),d()(),c(15,"mat-form-field")(16,"input",13),C("ngModelChange",function(i){b(e);let r=f();return w(r.dashboard[0].minItemRows,i)||(r.dashboard[0].minItemRows=i),v(i)}),g("ngModelChange",function(){b(e);let i=f();return v(i.changedOptions())}),d()(),c(17,"mat-form-field")(18,"input",14),C("ngModelChange",function(i){b(e);let r=f();return w(r.dashboard[0].maxItemArea,i)||(r.dashboard[0].maxItemArea=i),v(i)}),g("ngModelChange",function(){b(e);let i=f();return v(i.changedOptions())}),d()(),c(19,"mat-form-field")(20,"input",15),C("ngModelChange",function(i){b(e);let r=f();return w(r.dashboard[0].minItemArea,i)||(r.dashboard[0].minItemArea=i),v(i)}),g("ngModelChange",function(){b(e);let i=f();return v(i.changedOptions())}),d()(),c(21,"mat-checkbox",16),C("ngModelChange",function(i){b(e);let r=f();return w(r.dashboard[0].dragEnabled,i)||(r.dashboard[0].dragEnabled=i),v(i)}),g("ngModelChange",function(){b(e);let i=f();return v(i.changedOptions())}),m(22," Drag "),d(),c(23,"mat-checkbox",16),C("ngModelChange",function(i){b(e);let r=f();return w(r.dashboard[0].resizeEnabled,i)||(r.dashboard[0].resizeEnabled=i),v(i)}),g("ngModelChange",function(){b(e);let i=f();return v(i.changedOptions())}),m(24," Resize "),d(),c(25,"mat-checkbox",16),C("ngModelChange",function(i){b(e);let r=f();return w(r.dashboard[0].compactEnabled,i)||(r.dashboard[0].compactEnabled=i),v(i)}),g("ngModelChange",function(){b(e);let i=f();return v(i.changedOptions())}),m(26," Compact "),d(),Y(27,Y0,16,8),c(28,"mat-form-field")(29,"mat-select",17),C("ngModelChange",function(i){b(e);let r=f();return w(r.options.compactType,i)||(r.options.compactType=i),v(i)}),g("ngModelChange",function(){b(e);let i=f();return v(i.changedOptions())}),c(30,"mat-option",18),m(31,"None"),d(),c(32,"mat-option",19),m(33,"Compact Up"),d(),c(34,"mat-option",20),m(35,"Compact Left"),d(),c(36,"mat-option",21),m(37,"Compact Left & Up"),d(),c(38,"mat-option",22),m(39,"Compact Up & Left"),d()()(),c(40,"button",23),g("click",function(){b(e);let i=f();return v(i.addItem())}),c(41,"mat-icon"),m(42,"add"),d()()()}if(o&2){let e=f();h(2),x("ngModel",e.dashboard[0].x),h(2),x("ngModel",e.dashboard[0].y),h(2),x("ngModel",e.dashboard[0].rows),h(2),x("ngModel",e.dashboard[0].cols),h(2),x("ngModel",e.dashboard[0].maxItemCols),h(2),x("ngModel",e.dashboard[0].minItemCols),h(2),x("ngModel",e.dashboard[0].maxItemRows),h(2),x("ngModel",e.dashboard[0].minItemRows),h(2),x("ngModel",e.dashboard[0].maxItemArea),h(2),x("ngModel",e.dashboard[0].minItemArea),h(),x("ngModel",e.dashboard[0].dragEnabled),h(2),x("ngModel",e.dashboard[0].resizeEnabled),h(2),x("ngModel",e.dashboard[0].compactEnabled),h(2),L(e.dashboard[0].resizableHandles?27:-1),h(2),x("ngModel",e.options.compactType)}}function X0(o,n){if(o&1){let e=F();c(0,"gridster-item",5)(1,"div",24)(2,"button",25),g("mousedown",function(i){let r=b(e).$implicit,s=f();return v(s.removeItem(i,r))})("touchstart",function(i){let r=b(e).$implicit,s=f();return v(s.removeItem(i,r))}),c(3,"mat-icon"),m(4,"delete"),d()()()()}if(o&2){let e=n.$implicit;M("item",e)}}var Yu=(()=>{class o{static itemInit(e,t){console.info("itemInitialized",e,t)}ngOnInit(){this.options={gridType:P.Fit,displayGrid:ve.Always,compactType:ue.None,pushItems:!0,draggable:{enabled:!0},resizable:{enabled:!0},minCols:1,maxCols:100,minRows:1,maxRows:100,maxItemCols:100,minItemCols:1,maxItemRows:100,minItemRows:1,maxItemArea:2500,minItemArea:1,defaultItemCols:1,defaultItemRows:1},this.dashboard=[{cols:2,rows:1,y:0,x:0,initCallback:o.itemInit,minItemCols:1,maxItemCols:100,maxItemRows:100,minItemRows:1,minItemArea:1,maxItemArea:2500,dragEnabled:!0,resizeEnabled:!0,compactEnabled:!0,resizableHandles:{s:!0,e:!0,n:!0,w:!0,se:!0,ne:!0,sw:!0,nw:!0}},{cols:2,rows:2,y:0,x:2},{cols:1,rows:1,y:0,x:4},{cols:3,rows:2,y:1,x:4},{cols:1,rows:1,y:2,x:1}]}changedOptions(){this.options.api&&this.options.api.optionsChanged&&this.options.api.optionsChanged()}removeItem(e,t){e.preventDefault(),e.stopPropagation(),this.dashboard.splice(this.dashboard.indexOf(t),1)}addItem(){this.dashboard.push({x:0,y:0,cols:1,rows:1})}static{this.\u0275fac=function(t){return new(t||o)}}static{this.\u0275cmp=S({type:o,selectors:[["app-items"]],decls:10,vars:3,consts:[[1,"options"],["mat-raised-button","","href","https://github.com/tiberiuzuld/angular-gridster2/tree/master/src/app/sections/items","target","_blank",1,"source-code-button"],[3,"src"],[1,"options-header"],[3,"options"],[3,"item"],["matInput","","type","number","placeholder","X",3,"ngModelChange","ngModel"],["matInput","","type","number","placeholder","Y",3,"ngModelChange","ngModel"],["matInput","","type","number","placeholder","Rows",3,"ngModelChange","ngModel"],["matInput","","type","number","placeholder","Cols",3,"ngModelChange","ngModel"],["matInput","","type","number","placeholder","Max Item Cols",3,"ngModelChange","ngModel"],["matInput","","type","number","placeholder","Min Item Cols",3,"ngModelChange","ngModel"],["matInput","","type","number","placeholder","Max Item Rows",3,"ngModelChange","ngModel"],["matInput","","type","number","placeholder","Min Item Rows",3,"ngModelChange","ngModel"],["matInput","","type","number","placeholder","Max Item Area",3,"ngModelChange","ngModel"],["matInput","","type","number","placeholder","Min Item Area",3,"ngModelChange","ngModel"],[3,"ngModelChange","ngModel"],["aria-label","Compact type","placeholder","Compact Type",3,"ngModelChange","ngModel"],["value","none"],["value","compactUp"],["value","compactLeft"],["value","compactLeft&Up"],["value","compactUp&Left"],["mat-mini-fab","",1,"add-button","cols-2",3,"click"],[1,"button-holder"],["mat-mini-fab","",3,"mousedown","touchstart"]],template:function(t,i){t&1&&(c(0,"div",0)(1,"a",1)(2,"mat-icon"),m(3,"open_in_new"),d(),m(4," Source "),d(),R(5,"markdown",2),d(),Y(6,q0,43,15,"div",3),c(7,"gridster",4),ie(8,X0,5,1,"gridster-item",5,ge),d()),t&2&&(h(5),M("src","assets/items.md"),h(),L(i.dashboard[0]?6:-1),h(),M("options",i.options),h(),ne(i.dashboard))},dependencies:[Ie,qe,Ke,Me,xe,de,ce,be,We,Oe,he,me,et,Je,Be,gt,ft,rt,le,_e,se,pe],encapsulation:2,changeDetection:0})}}return o})();function Z0(o,n){if(o&1){let e=F();c(0,"gridster-item",15)(1,"div",16)(2,"button",17),g("mousedown",function(i){let r=b(e).$implicit,s=f();return v(s.removeItem(i,r))})("touchstart",function(i){let r=b(e).$implicit,s=f();return v(s.removeItem(i,r))}),c(3,"mat-icon"),m(4,"delete"),d()()()()}if(o&2){let e=n.$implicit;M("item",e)}}var qu=(()=>{class o{ngOnInit(){this.options={gridType:P.Fit,displayGrid:ve.Always,draggable:{enabled:!0},resizable:{enabled:!0},disableWindowResize:!0,scrollToNewItems:!1,disableWarnings:!1,ignoreMarginInRow:!1,setGridSize:!1,scale:1},this.dashboard=[{cols:2,rows:1,y:0,x:0},{cols:2,rows:2,y:0,x:2},{cols:1,rows:1,y:0,x:4},{cols:3,rows:2,y:1,x:4},{cols:1,rows:1,y:4,x:5},{cols:1,rows:1,y:2,x:1},{cols:2,rows:2,y:5,x:5},{cols:2,rows:2,y:3,x:2},{cols:2,rows:1,y:2,x:2},{cols:1,rows:1,y:3,x:4},{cols:1,rows:1,y:0,x:6}]}changedOptions(){this.options.api&&this.options.api.optionsChanged&&this.options.api.optionsChanged()}removeItem(e,t){e.preventDefault(),e.stopPropagation(),this.dashboard.splice(this.dashboard.indexOf(t),1)}addItem(){this.dashboard.push({x:0,y:0,cols:1,rows:1})}static{this.\u0275fac=function(t){return new(t||o)}}static{this.\u0275cmp=S({type:o,selectors:[["app-misc"]],decls:43,vars:10,consts:[[1,"options"],["mat-raised-button","","href","https://github.com/tiberiuzuld/angular-gridster2/tree/master/src/app/sections/misc","target","_blank",1,"source-code-button"],[3,"src"],[1,"options-header"],[3,"ngModelChange","ngModel"],["matInput","","type","number",3,"ngModelChange","ngModel"],["aria-label","Grid type","placeholder","Grid Type",3,"ngModelChange","ngModel"],["value","fit"],["value","scrollVertical"],["value","scrollHorizontal"],["value","fixed"],["value","verticalFixed"],["value","horizontalFixed"],["mat-mini-fab","",1,"add-button","cols-2",3,"click"],[3,"options"],[3,"item"],[1,"button-holder"],["mat-mini-fab","",3,"mousedown","touchstart"]],template:function(t,i){t&1&&(c(0,"div",0)(1,"a",1)(2,"mat-icon"),m(3,"open_in_new"),d(),m(4," Source "),d(),R(5,"markdown",2),d(),c(6,"div",3)(7,"mat-checkbox",4),C("ngModelChange",function(s){return w(i.options.disableWindowResize,s)||(i.options.disableWindowResize=s),s}),g("ngModelChange",function(){return i.changedOptions()}),m(8," Disable window resize "),d(),c(9,"mat-checkbox",4),g("ngModelChange",function(){return i.changedOptions()}),C("ngModelChange",function(s){return w(i.options.setGridSize,s)||(i.options.setGridSize=s),s}),m(10," Set grid size "),d(),c(11,"mat-checkbox",4),C("ngModelChange",function(s){return w(i.options.scrollToNewItems,s)||(i.options.scrollToNewItems=s),s}),g("ngModelChange",function(){return i.changedOptions()}),m(12," Scroll to new items "),d(),c(13,"mat-checkbox",4),C("ngModelChange",function(s){return w(i.options.disableWarnings,s)||(i.options.disableWarnings=s),s}),g("ngModelChange",function(){return i.changedOptions()}),m(14," Disable console warnings "),d(),c(15,"mat-checkbox",4),C("ngModelChange",function(s){return w(i.options.ignoreMarginInRow,s)||(i.options.ignoreMarginInRow=s),s}),g("ngModelChange",function(){return i.changedOptions()}),m(16," Ignore margin in row "),d(),c(17,"mat-checkbox",4),C("ngModelChange",function(s){return w(i.options.disableAutoPositionOnConflict,s)||(i.options.disableAutoPositionOnConflict=s),s}),g("ngModelChange",function(){return i.changedOptions()}),m(18," Disable auto position on conflict "),d(),c(19,"mat-form-field")(20,"mat-label"),m(21,"Scale"),d(),c(22,"input",5),g("ngModelChange",function(){return i.changedOptions()}),C("ngModelChange",function(s){return w(i.options.scale,s)||(i.options.scale=s),s}),d()(),c(23,"mat-form-field")(24,"mat-select",6),C("ngModelChange",function(s){return w(i.options.gridType,s)||(i.options.gridType=s),s}),g("ngModelChange",function(){return i.changedOptions()}),c(25,"mat-option",7),m(26,"Fit to screen"),d(),c(27,"mat-option",8),m(28,"Scroll Vertical"),d(),c(29,"mat-option",9),m(30,"Scroll Horizontal"),d(),c(31,"mat-option",10),m(32,"Fixed"),d(),c(33,"mat-option",11),m(34,"Vertical Fixed"),d(),c(35,"mat-option",12),m(36,"Horizontal Fixed"),d()()(),c(37,"button",13),g("click",function(){return i.addItem()}),c(38,"mat-icon"),m(39,"add"),d()()(),c(40,"gridster",14),ie(41,Z0,5,1,"gridster-item",15,ge),d()),t&2&&(h(5),M("src","assets/misc.md"),h(2),x("ngModel",i.options.disableWindowResize),h(2),x("ngModel",i.options.setGridSize),h(2),x("ngModel",i.options.scrollToNewItems),h(2),x("ngModel",i.options.disableWarnings),h(2),x("ngModel",i.options.ignoreMarginInRow),h(2),x("ngModel",i.options.disableAutoPositionOnConflict),h(5),x("ngModel",i.options.scale),h(2),x("ngModel",i.options.gridType),h(16),M("options",i.options),h(),ne(i.dashboard))},dependencies:[Ie,qe,Ke,Me,xe,de,ce,be,We,Oe,he,me,et,Je,Be,zs,gt,ft,rt,le,_e,se,pe],encapsulation:2,changeDetection:0})}}return o})();var K0=["mat-menu-item",""],Q0=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],J0=["mat-icon, [matMenuItemIcon]","*"];function ex(o,n){o&1&&($i(),c(0,"svg",2),R(1,"polygon",3),d())}var tx=["*"];function ix(o,n){if(o&1){let e=F();c(0,"div",0),g("click",function(){b(e);let i=f();return v(i.closed.emit("click"))})("@transformMenu.start",function(i){b(e);let r=f();return v(r._onAnimationStart(i))})("@transformMenu.done",function(i){b(e);let r=f();return v(r._onAnimationDone(i))}),c(1,"div",1),G(2),d()()}if(o&2){let e=f();jt(e._classList),M("id",e.panelId)("@transformMenu",e._panelAnimationState),fe("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby||null)("aria-describedby",e.ariaDescribedby||null)}}var wc=new A("MAT_MENU_PANEL"),ur=(()=>{class o{_elementRef=p(j);_document=p(ae);_focusMonitor=p(vo);_parentMenu=p(wc,{optional:!0});_changeDetectorRef=p(Ye);role="menuitem";disabled=!1;disableRipple=!1;_hovered=new V;_focused=new V;_highlighted=!1;_triggersSubmenu=!1;constructor(){p(at).load(hi),this._parentMenu?.addItem?.(this)}focus(e,t){this._focusMonitor&&e?this._focusMonitor.focusVia(this._getHostElement(),e,t):this._getHostElement().focus(t),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){let e=this._elementRef.nativeElement.cloneNode(!0),t=e.querySelectorAll("mat-icon, .material-icons");for(let i=0;i enter",di("120ms cubic-bezier(0, 0, 0.2, 1)",kt({opacity:1,transform:"scale(1)"}))),Jt("* => void",di("100ms 25ms linear",kt({opacity:0})))]),fadeInItems:Ei("fadeInItems",[Xi("showing",kt({opacity:1})),Jt("void => *",[kt({opacity:0}),di("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},oD=Vs.fadeInItems,rD=Vs.transformMenu,ox=new A("mat-menu-default-options",{providedIn:"root",factory:rx});function rx(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}var pn=(()=>{class o{_elementRef=p(j);_changeDetectorRef=p(Ye);_keyManager;_xPosition;_yPosition;_firstItemFocusRef;_allItems;_directDescendantItems=new io;_classList={};_panelAnimationState="void";_animationDone=new V;_isAnimating;parentMenu;direction;overlayPanelClass;backdropClass;ariaLabel;ariaLabelledby;ariaDescribedby;get xPosition(){return this._xPosition}set xPosition(e){this._xPosition=e,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(e){this._yPosition=e,this.setPositionClasses()}templateRef;items;lazyContent;overlapTrigger;hasBackdrop;set panelClass(e){let t=this._previousPanelClass,i=k({},this._classList);t&&t.length&&t.split(" ").forEach(r=>{i[r]=!1}),this._previousPanelClass=e,e&&e.length&&(e.split(" ").forEach(r=>{i[r]=!0}),this._elementRef.nativeElement.className=""),this._classList=i}_previousPanelClass;get classList(){return this.panelClass}set classList(e){this.panelClass=e}closed=new H;close=this.closed;panelId=p(vt).getId("mat-menu-panel-");_injector=p(Qe);constructor(){let e=p(ox);this.overlayPanelClass=e.overlayPanelClass||"",this._xPosition=e.xPosition,this._yPosition=e.yPosition,this.backdropClass=e.backdropClass,this.overlapTrigger=e.overlapTrigger,this.hasBackdrop=e.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new Hr(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(ht(this._directDescendantItems),je(e=>dt(...e.map(t=>t._focused)))).subscribe(e=>this._keyManager.updateActiveItem(e)),this._directDescendantItems.changes.subscribe(e=>{let t=this._keyManager;if(this._panelAnimationState==="enter"&&t.activeItem?._hasFocus()){let i=e.toArray(),r=Math.max(0,Math.min(i.length-1,t.activeItemIndex||0));i[r]&&!i[r].disabled?t.setActiveItem(r):t.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusRef?.destroy()}_hovered(){return this._directDescendantItems.changes.pipe(ht(this._directDescendantItems),je(t=>dt(...t.map(i=>i._hovered))))}addItem(e){}removeItem(e){}_handleKeydown(e){let t=e.keyCode,i=this._keyManager;switch(t){case 27:Ut(e)||(e.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&this.direction==="ltr"&&this.closed.emit("keydown");break;case 39:this.parentMenu&&this.direction==="rtl"&&this.closed.emit("keydown");break;default:(t===38||t===40)&&i.setFocusOrigin("keyboard"),i.onKeydown(e);return}}focusFirstItem(e="program"){this._firstItemFocusRef?.destroy(),this._firstItemFocusRef=Gi(()=>{let t=null;if(this._directDescendantItems.length&&(t=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!t||!t.contains(document.activeElement)){let i=this._keyManager;i.setFocusOrigin(e).setFirstItemActive(),!i.activeItem&&t&&t.focus()}},{injector:this._injector})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(e){}setPositionClasses(e=this.xPosition,t=this.yPosition){this._classList=re(k({},this._classList),{"mat-menu-before":e==="before","mat-menu-after":e==="after","mat-menu-above":t==="above","mat-menu-below":t==="below"}),this._changeDetectorRef.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(e){this._animationDone.next(e),this._isAnimating=!1}_onAnimationStart(e){this._isAnimating=!0,e.toState==="enter"&&this._keyManager.activeItemIndex===0&&(e.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(ht(this._allItems)).subscribe(e=>{this._directDescendantItems.reset(e.filter(t=>t._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}static \u0275fac=function(t){return new(t||o)};static \u0275cmp=S({type:o,selectors:[["mat-menu"]],contentQueries:function(t,i,r){if(t&1&&(Ge(r,nx,5),Ge(r,ur,5),Ge(r,ur,4)),t&2){let s;J(s=ee())&&(i.lazyContent=s.first),J(s=ee())&&(i._allItems=s),J(s=ee())&&(i.items=s)}},viewQuery:function(t,i){if(t&1&&Pe(bn,5),t&2){let r;J(r=ee())&&(i.templateRef=r.first)}},hostVars:3,hostBindings:function(t,i){t&2&&fe("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},inputs:{backdropClass:"backdropClass",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:[2,"overlapTrigger","overlapTrigger",q],hasBackdrop:[2,"hasBackdrop","hasBackdrop",e=>e==null?null:q(e)],panelClass:[0,"class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"},exportAs:["matMenu"],features:[Ne([{provide:wc,useExisting:o}]),Fe],ngContentSelectors:tx,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel",3,"click","id"],[1,"mat-mdc-menu-content"]],template:function(t,i){t&1&&(Te(),Y(0,ix,3,7,"ng-template"))},styles:['mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;outline:0}.mat-mdc-menu-content,.mat-mdc-menu-content .mat-mdc-menu-item .mat-mdc-menu-item-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;flex:1;white-space:normal;font-family:var(--mat-menu-item-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mat-menu-item-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mat-menu-item-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-menu-item-label-text-tracking, var(--mat-sys-label-large-tracking));font-weight:var(--mat-menu-item-label-text-weight, var(--mat-sys-label-large-weight))}.mat-mdc-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;box-sizing:border-box;outline:0;border-radius:var(--mat-menu-container-shape, var(--mat-sys-corner-extra-small));background-color:var(--mat-menu-container-color, var(--mat-sys-surface-container));box-shadow:var(--mat-menu-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12));will-change:transform,opacity}.mat-mdc-menu-panel.ng-animating{pointer-events:none}.mat-mdc-menu-panel.ng-animating:has(.mat-mdc-menu-content:empty){display:none}@media(forced-colors: active){.mat-mdc-menu-panel{outline:solid 1px}}.mat-mdc-menu-panel .mat-divider{color:var(--mat-menu-divider-color, var(--mat-sys-surface-variant));margin-bottom:var(--mat-menu-divider-bottom-spacing, 8px);margin-top:var(--mat-menu-divider-top-spacing, 8px)}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;min-height:48px;padding-left:var(--mat-menu-item-leading-spacing, 12px);padding-right:var(--mat-menu-item-trailing-spacing, 12px);-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-menu-item::-moz-focus-inner{border:0}[dir=rtl] .mat-mdc-menu-item{padding-left:var(--mat-menu-item-trailing-spacing, 12px);padding-right:var(--mat-menu-item-leading-spacing, 12px)}.mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-left:var(--mat-menu-item-with-icon-leading-spacing, 12px);padding-right:var(--mat-menu-item-with-icon-trailing-spacing, 12px)}[dir=rtl] .mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-left:var(--mat-menu-item-with-icon-trailing-spacing, 12px);padding-right:var(--mat-menu-item-with-icon-leading-spacing, 12px)}.mat-mdc-menu-item,.mat-mdc-menu-item:visited,.mat-mdc-menu-item:link{color:var(--mat-menu-item-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-menu-item .mat-icon-no-color,.mat-mdc-menu-item .mat-mdc-menu-submenu-icon{color:var(--mat-menu-item-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item:focus{outline:0}.mat-mdc-menu-item .mat-icon{flex-shrink:0;margin-right:var(--mat-menu-item-spacing, 12px);height:var(--mat-menu-item-icon-size, 24px);width:var(--mat-menu-item-icon-size, 24px)}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:var(--mat-menu-item-spacing, 12px)}.mat-mdc-menu-item:not([disabled]):hover{background-color:var(--mat-menu-item-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}.mat-mdc-menu-item:not([disabled]).cdk-program-focused,.mat-mdc-menu-item:not([disabled]).cdk-keyboard-focused,.mat-mdc-menu-item:not([disabled]).mat-mdc-menu-item-highlighted{background-color:var(--mat-menu-item-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent))}@media(forced-colors: active){.mat-mdc-menu-item{margin-top:1px}}.mat-mdc-menu-submenu-icon{width:var(--mat-menu-item-icon-size, 24px);height:10px;fill:currentColor;padding-left:var(--mat-menu-item-spacing, 12px)}[dir=rtl] .mat-mdc-menu-submenu-icon{padding-right:var(--mat-menu-item-spacing, 12px);padding-left:0}[dir=rtl] .mat-mdc-menu-submenu-icon polygon{transform:scaleX(-1);transform-origin:center}@media(forced-colors: active){.mat-mdc-menu-submenu-icon{fill:CanvasText}}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,data:{animation:[Vs.transformMenu,Vs.fadeInItems]},changeDetection:0})}return o})(),Zu=new A("mat-menu-scroll-strategy",{providedIn:"root",factory:()=>{let o=p(qt);return()=>o.scrollStrategies.reposition()}});function sx(o){return()=>o.scrollStrategies.reposition()}var ax={provide:Zu,deps:[qt],useFactory:sx},Xu=ei({passive:!0});var Ku=(()=>{class o{_overlay=p(qt);_element=p(j);_viewContainerRef=p(Qt);_menuItemInstance=p(ur,{optional:!0,self:!0});_dir=p(ti,{optional:!0});_focusMonitor=p(vo);_ngZone=p(W);_scrollStrategy=p(Zu);_changeDetectorRef=p(Ye);_portal;_overlayRef=null;_menuOpen=!1;_closingActionsSubscription=Ue.EMPTY;_hoverSubscription=Ue.EMPTY;_menuCloseSubscription=Ue.EMPTY;_parentMaterialMenu;_parentInnerPadding;_handleTouchStart=e=>{bo(e)||(this._openedBy="touch")};_openedBy=void 0;get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(e){this.menu=e}get menu(){return this._menu}set menu(e){e!==this._menu&&(this._menu=e,this._menuCloseSubscription.unsubscribe(),e&&(this._parentMaterialMenu,this._menuCloseSubscription=e.close.subscribe(t=>{this._destroyMenu(t),(t==="click"||t==="tab")&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(t)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}_menu;menuData;restoreFocus=!0;menuOpened=new H;onMenuOpen=this.menuOpened;menuClosed=new H;onMenuClose=this.menuClosed;constructor(){let e=p(wc,{optional:!0});this._parentMaterialMenu=e instanceof pn?e:void 0,this._element.nativeElement.addEventListener("touchstart",this._handleTouchStart,Xu)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,Xu),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this.menu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){let e=this.menu;if(this._menuOpen||!e)return;let t=this._createOverlay(e),i=t.getConfig(),r=i.positionStrategy;this._setPosition(e,r),i.hasBackdrop=e.hasBackdrop==null?!this.triggersSubmenu():e.hasBackdrop,t.attach(this._getPortal(e)),e.lazyContent&&e.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(e),e instanceof pn&&(e._startAnimation(),e._directDescendantItems.changes.pipe(Ce(e.close)).subscribe(()=>{r.withLockedPosition(!1).reapplyLastPosition(),r.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(e,t){this._focusMonitor&&e?this._focusMonitor.focusVia(this._element,e,t):this._element.nativeElement.focus(t)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(e){if(!this._overlayRef||!this.menuOpen)return;let t=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&(e==="keydown"||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,t instanceof pn?(t._resetAnimation(),t.lazyContent?t._animationDone.pipe(De(i=>i.toState==="void"),mt(1),Ce(t.lazyContent._attached)).subscribe({next:()=>t.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),t?.lazyContent?.detach())}_initMenu(e){e.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,e.direction=this.dir,e.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setIsMenuOpen(e){e!==this._menuOpen&&(this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(e),this._changeDetectorRef.markForCheck())}_createOverlay(e){if(!this._overlayRef){let t=this._getOverlayConfig(e);this._subscribeToPositions(e,t.positionStrategy),this._overlayRef=this._overlay.create(t),this._overlayRef.keydownEvents().subscribe(i=>{this.menu instanceof pn&&this.menu._handleKeydown(i)})}return this._overlayRef}_getOverlayConfig(e){return new Xn({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:e.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:e.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir||"ltr"})}_subscribeToPositions(e,t){e.setPositionClasses&&t.positionChanges.subscribe(i=>{this._ngZone.run(()=>{let r=i.connectionPair.overlayX==="start"?"after":"before",s=i.connectionPair.overlayY==="top"?"below":"above";e.setPositionClasses(r,s)})})}_setPosition(e,t){let[i,r]=e.xPosition==="before"?["end","start"]:["start","end"],[s,a]=e.yPosition==="above"?["bottom","top"]:["top","bottom"],[l,u]=[s,a],[_,y]=[i,r],I=0;if(this.triggersSubmenu()){if(y=i=e.xPosition==="before"?"start":"end",r=_=i==="end"?"start":"end",this._parentMaterialMenu){if(this._parentInnerPadding==null){let E=this._parentMaterialMenu.items.first;this._parentInnerPadding=E?E._getHostElement().offsetTop:0}I=s==="bottom"?this._parentInnerPadding:-this._parentInnerPadding}}else e.overlapTrigger||(l=s==="top"?"bottom":"top",u=a==="top"?"bottom":"top");t.withPositions([{originX:i,originY:l,overlayX:_,overlayY:s,offsetY:I},{originX:r,originY:l,overlayX:y,overlayY:s,offsetY:I},{originX:i,originY:u,overlayX:_,overlayY:a,offsetY:-I},{originX:r,originY:u,overlayX:y,overlayY:a,offsetY:-I}])}_menuClosingActions(){let e=this._overlayRef.backdropClick(),t=this._overlayRef.detachments(),i=this._parentMaterialMenu?this._parentMaterialMenu.closed:N(),r=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(De(s=>s!==this._menuItemInstance),De(()=>this._menuOpen)):N();return dt(e,i,r,t)}_handleMousedown(e){_o(e)||(this._openedBy=e.button===0?"mouse":void 0,this.triggersSubmenu()&&e.preventDefault())}_handleKeydown(e){let t=e.keyCode;(t===13||t===32)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(t===39&&this.dir==="ltr"||t===37&&this.dir==="rtl")&&(this._openedBy="keyboard",this.openMenu())}_handleClick(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(De(e=>e===this._menuItemInstance&&!e.disabled),Us(0,fr)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof pn&&this.menu._isAnimating?this.menu._animationDone.pipe(mt(1),Us(0,fr),Ce(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(e){return(!this._portal||this._portal.templateRef!==e.templateRef)&&(this._portal=new hn(e.templateRef,this._viewContainerRef)),this._portal}static \u0275fac=function(t){return new(t||o)};static \u0275dir=$({type:o,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],hostVars:3,hostBindings:function(t,i){t&1&&g("click",function(s){return i._handleClick(s)})("mousedown",function(s){return i._handleMousedown(s)})("keydown",function(s){return i._handleKeydown(s)}),t&2&&fe("aria-haspopup",i.menu?"menu":null)("aria-expanded",i.menuOpen)("aria-controls",i.menuOpen?i.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:[0,"mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:[0,"matMenuTriggerFor","menu"],menuData:[0,"matMenuTriggerData","menuData"],restoreFocus:[0,"matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"]})}return o})(),Qu=(()=>{class o{static \u0275fac=function(t){return new(t||o)};static \u0275mod=Z({type:o});static \u0275inj=X({providers:[ax],imports:[en,ke,Ps,qn,ke]})}return o})();function cx(o,n){if(o&1){let e=F();c(0,"gridster-item",9,0)(2,"div")(3,"button",10)(4,"mat-icon"),m(5,"more_vert"),d()(),c(6,"mat-menu",null,1)(8,"button",11),g("click",function(){b(e);let i=Rt(1);return v(i.bringToFront(1))}),c(9,"mat-icon"),m(10,"arrow_upward"),d(),c(11,"span"),m(12,"Bring To Front"),d()(),c(13,"button",11),g("click",function(){b(e);let i=Rt(1);return v(i.sendToBack(1))}),c(14,"mat-icon"),m(15,"arrow_downward"),d(),c(16,"span"),m(17,"Send To Back"),d()()(),c(18,"span"),m(19,"LayerIndex: "),c(20,"span",12),m(21),d()(),c(22,"div",13)(23,"button",14),g("mousedown",function(i){let r=b(e).$implicit,s=f();return v(s.removeItem(i,r))})("touchstart",function(i){let r=b(e).$implicit,s=f();return v(s.removeItem(i,r))}),c(24,"mat-icon"),m(25,"delete"),d()()()()()}if(o&2){let e=n.$implicit,t=Rt(7);M("item",e),h(3),M("matMenuTriggerFor",t),h(18),Xe(e.layerIndex===void 0?1:e.layerIndex)}}var Ju=(()=>{class o{ngOnInit(){this.options={gridType:P.Fit,displayGrid:ve.Always,pushItems:!1,swap:!0,allowMultiLayer:!0,defaultLayerIndex:1,baseLayerIndex:2,maxLayerIndex:2,swapWhileDragging:!1,draggable:{enabled:!0},resizable:{enabled:!0}},this.dashboard=[{cols:2,rows:1,y:0,x:0,layerIndex:2},{cols:2,rows:2,y:0,x:2},{cols:1,rows:1,y:0,x:4},{cols:3,rows:2,y:1,x:4},{cols:1,rows:1,y:4,x:5},{cols:1,rows:1,y:2,x:1},{cols:2,rows:2,y:5,x:5},{cols:2,rows:2,y:3,x:2},{cols:2,rows:1,y:2,x:2},{cols:1,rows:1,y:3,x:4},{cols:1,rows:1,y:0,x:6}]}changedOptions(){this.options.api&&this.options.api.optionsChanged&&this.options.api.optionsChanged()}removeItem(e,t){e.preventDefault(),e.stopPropagation(),this.dashboard.splice(this.dashboard.indexOf(t),1)}addItem(){this.dashboard.push({x:0,y:0,cols:2,rows:1})}static{this.\u0275fac=function(t){return new(t||o)}}static{this.\u0275cmp=S({type:o,selectors:[["app-swap"]],decls:19,vars:5,consts:[["gridsterItem",""],["menu","matMenu"],[1,"options"],["mat-raised-button","","href","https://github.com/tiberiuzuld/angular-gridster2/tree/master/src/app/sections/multiLayer","target","_blank",1,"source-code-button"],[3,"src"],[1,"options-header"],[3,"ngModelChange","ngModel"],["mat-mini-fab","",1,"add-button","cols-2",3,"click"],[3,"options"],[3,"item"],["mat-icon-button","","aria-label","Example icon-button with a menu",3,"matMenuTriggerFor"],["mat-menu-item","",3,"click"],[2,"margin-left","10px","color","blueviolet"],[1,"button-holder"],["mat-mini-fab","",3,"mousedown","touchstart"]],template:function(t,i){t&1&&(c(0,"div",2)(1,"a",3)(2,"mat-icon"),m(3,"open_in_new"),d(),m(4," Source "),d(),R(5,"markdown",4),d(),c(6,"div",5)(7,"mat-checkbox",6),C("ngModelChange",function(s){return w(i.options.allowMultiLayer,s)||(i.options.allowMultiLayer=s),s}),g("ngModelChange",function(){return i.changedOptions()}),m(8," Allow Multi Layer "),d(),c(9,"mat-checkbox",6),C("ngModelChange",function(s){return w(i.options.swap,s)||(i.options.swap=s),s}),g("ngModelChange",function(){return i.changedOptions()}),m(10," Swap Items "),d(),c(11,"mat-checkbox",6),C("ngModelChange",function(s){return w(i.options.swapWhileDragging,s)||(i.options.swapWhileDragging=s),s}),g("ngModelChange",function(){return i.changedOptions()}),m(12," Swap Items While Dragging "),d(),c(13,"button",7),g("click",function(){return i.addItem()}),c(14,"mat-icon"),m(15,"add"),d()()(),c(16,"gridster",8),ie(17,cx,26,3,"gridster-item",9,ge),d()),t&2&&(h(5),M("src","assets/multiLayer.md"),h(2),x("ngModel",i.options.allowMultiLayer),h(2),x("ngModel",i.options.swap),h(2),x("ngModel",i.options.swapWhileDragging),h(5),M("options",i.options),h(),ne(i.dashboard))},dependencies:[Ie,Me,xe,de,ce,Li,be,We,Oe,he,me,Qu,pn,ur,Ku,le,_e,se,pe],encapsulation:2,changeDetection:0})}}return o})();function dx(o,n){if(o&1){let e=F();c(0,"mat-checkbox",4),C("ngModelChange",function(i){b(e);let r=f();return w(r.options.pushDirections.north,i)||(r.options.pushDirections.north=i),v(i)}),g("ngModelChange",function(){b(e);let i=f();return v(i.changedOptions())}),m(1," Push North "),d()}if(o&2){let e=f();x("ngModel",e.options.pushDirections.north)}}function mx(o,n){if(o&1){let e=F();c(0,"mat-checkbox",4),C("ngModelChange",function(i){b(e);let r=f();return w(r.options.pushDirections.east,i)||(r.options.pushDirections.east=i),v(i)}),g("ngModelChange",function(){b(e);let i=f();return v(i.changedOptions())}),m(1," Push East "),d()}if(o&2){let e=f();x("ngModel",e.options.pushDirections.east)}}function hx(o,n){if(o&1){let e=F();c(0,"mat-checkbox",4),C("ngModelChange",function(i){b(e);let r=f();return w(r.options.pushDirections.south,i)||(r.options.pushDirections.south=i),v(i)}),g("ngModelChange",function(){b(e);let i=f();return v(i.changedOptions())}),m(1," Push South "),d()}if(o&2){let e=f();x("ngModel",e.options.pushDirections.south)}}function ux(o,n){if(o&1){let e=F();c(0,"mat-checkbox",4),C("ngModelChange",function(i){b(e);let r=f();return w(r.options.pushDirections.west,i)||(r.options.pushDirections.west=i),v(i)}),g("ngModelChange",function(){b(e);let i=f();return v(i.changedOptions())}),m(1," Push West "),d()}if(o&2){let e=f();x("ngModel",e.options.pushDirections.west)}}function px(o,n){if(o&1){let e=F();c(0,"gridster-item",8)(1,"div",9)(2,"button",10),g("mousedown",function(i){let r=b(e).$implicit,s=f();return v(s.removeItem(i,r))})("touchstart",function(i){let r=b(e).$implicit,s=f();return v(s.removeItem(i,r))}),c(3,"mat-icon"),m(4,"delete"),d()()()()}if(o&2){let e=n.$implicit;M("item",e)}}var ep=(()=>{class o{ngOnInit(){this.options={gridType:P.Fit,displayGrid:ve.Always,pushItems:!0,pushDirections:{north:!0,east:!0,south:!0,west:!0},pushResizeItems:!1,swap:!1,draggable:{enabled:!0},resizable:{enabled:!0}},this.dashboard=[{cols:2,rows:1,y:0,x:0},{cols:2,rows:2,y:0,x:2},{cols:1,rows:1,y:0,x:4},{cols:3,rows:2,y:1,x:4},{cols:1,rows:1,y:4,x:5},{cols:1,rows:1,y:2,x:1},{cols:2,rows:2,y:5,x:5},{cols:2,rows:2,y:3,x:2},{cols:2,rows:1,y:2,x:2},{cols:1,rows:1,y:3,x:4},{cols:1,rows:1,y:0,x:6}]}changedOptions(){this.options.api&&this.options.api.optionsChanged&&this.options.api.optionsChanged()}removeItem(e,t){e.preventDefault(),e.stopPropagation(),this.dashboard.splice(this.dashboard.indexOf(t),1)}addItem(){this.dashboard.push({x:0,y:0,cols:1,rows:1})}static{this.\u0275fac=function(t){return new(t||o)}}static{this.\u0275cmp=S({type:o,selectors:[["app-push"]],decls:25,vars:10,consts:[[1,"options"],["mat-raised-button","","href","https://github.com/tiberiuzuld/angular-gridster2/tree/master/src/app/sections/push","target","_blank",1,"source-code-button"],[3,"src"],[1,"options-header"],[3,"ngModelChange","ngModel"],[3,"ngModel"],["mat-mini-fab","",1,"add-button","cols-2",3,"click"],[3,"options"],[3,"item"],[1,"button-holder"],["mat-mini-fab","",3,"mousedown","touchstart"]],template:function(t,i){t&1&&(c(0,"div",0)(1,"a",1)(2,"mat-icon"),m(3,"open_in_new"),d(),m(4," Source "),d(),R(5,"markdown",2),d(),c(6,"div",3)(7,"mat-checkbox",4),C("ngModelChange",function(s){return w(i.options.pushItems,s)||(i.options.pushItems=s),s}),g("ngModelChange",function(){return i.changedOptions()}),m(8," Push Items "),d(),c(9,"mat-checkbox",4),C("ngModelChange",function(s){return w(i.options.disablePushOnDrag,s)||(i.options.disablePushOnDrag=s),s}),g("ngModelChange",function(){return i.changedOptions()}),m(10," Disable Push On Drag "),d(),c(11,"mat-checkbox",4),C("ngModelChange",function(s){return w(i.options.disablePushOnResize,s)||(i.options.disablePushOnResize=s),s}),g("ngModelChange",function(){return i.changedOptions()}),m(12," Disable Push On Resize "),d(),Y(13,dx,2,1,"mat-checkbox",5)(14,mx,2,1,"mat-checkbox",5)(15,hx,2,1,"mat-checkbox",5)(16,ux,2,1,"mat-checkbox",5),c(17,"mat-checkbox",4),C("ngModelChange",function(s){return w(i.options.pushResizeItems,s)||(i.options.pushResizeItems=s),s}),g("ngModelChange",function(){return i.changedOptions()}),m(18," Push Resize Items "),d(),c(19,"button",6),g("click",function(){return i.addItem()}),c(20,"mat-icon"),m(21,"add"),d()()(),c(22,"gridster",7),ie(23,px,5,1,"gridster-item",8,ge),d()),t&2&&(h(5),M("src","assets/push.md"),h(2),x("ngModel",i.options.pushItems),h(2),x("ngModel",i.options.disablePushOnDrag),h(2),x("ngModel",i.options.disablePushOnResize),h(2),L(i.options.pushDirections?13:-1),h(),L(i.options.pushDirections?14:-1),h(),L(i.options.pushDirections?15:-1),h(),L(i.options.pushDirections?16:-1),h(),x("ngModel",i.options.pushResizeItems),h(5),M("options",i.options),h(),ne(i.dashboard))},dependencies:[Ie,Me,xe,de,ce,be,We,Oe,he,me,le,_e,se,pe],encapsulation:2,changeDetection:0})}}return o})();function fx(o,n){if(o&1){let e=F();c(0,"div",3)(1,"mat-checkbox",6),C("ngModelChange",function(i){b(e);let r=f();return w(r.options.resizable.enabled,i)||(r.options.resizable.enabled=i),v(i)}),g("ngModelChange",function(){b(e);let i=f();return v(i.changedOptions())}),m(2," Resize Items "),d(),c(3,"mat-form-field")(4,"input",7),C("ngModelChange",function(i){b(e);let r=f();return w(r.options.resizable.delayStart,i)||(r.options.resizable.delayStart=i),v(i)}),g("ngModelChange",function(){b(e);let i=f();return v(i.changedOptions())}),d()(),c(5,"mat-checkbox",6),C("ngModelChange",function(i){b(e);let r=f();return w(r.options.resizable.handles.s,i)||(r.options.resizable.handles.s=i),v(i)}),g("ngModelChange",function(){b(e);let i=f();return v(i.changedOptions())}),m(6," Resize South "),d(),c(7,"mat-checkbox",6),C("ngModelChange",function(i){b(e);let r=f();return w(r.options.resizable.handles.e,i)||(r.options.resizable.handles.e=i),v(i)}),g("ngModelChange",function(){b(e);let i=f();return v(i.changedOptions())}),m(8," Resize East "),d(),c(9,"mat-checkbox",6),C("ngModelChange",function(i){b(e);let r=f();return w(r.options.resizable.handles.n,i)||(r.options.resizable.handles.n=i),v(i)}),g("ngModelChange",function(){b(e);let i=f();return v(i.changedOptions())}),m(10," Resize North "),d(),c(11,"mat-checkbox",6),C("ngModelChange",function(i){b(e);let r=f();return w(r.options.resizable.handles.w,i)||(r.options.resizable.handles.w=i),v(i)}),g("ngModelChange",function(){b(e);let i=f();return v(i.changedOptions())}),m(12," Resize West "),d(),c(13,"mat-checkbox",6),C("ngModelChange",function(i){b(e);let r=f();return w(r.options.resizable.handles.se,i)||(r.options.resizable.handles.se=i),v(i)}),g("ngModelChange",function(){b(e);let i=f();return v(i.changedOptions())}),m(14," Resize South-East "),d(),c(15,"mat-checkbox",6),C("ngModelChange",function(i){b(e);let r=f();return w(r.options.resizable.handles.ne,i)||(r.options.resizable.handles.ne=i),v(i)}),g("ngModelChange",function(){b(e);let i=f();return v(i.changedOptions())}),m(16," Resize North-East "),d(),c(17,"mat-checkbox",6),C("ngModelChange",function(i){b(e);let r=f();return w(r.options.resizable.handles.sw,i)||(r.options.resizable.handles.sw=i),v(i)}),g("ngModelChange",function(){b(e);let i=f();return v(i.changedOptions())}),m(18," Resize South-West "),d(),c(19,"mat-checkbox",6),C("ngModelChange",function(i){b(e);let r=f();return w(r.options.resizable.handles.nw,i)||(r.options.resizable.handles.nw=i),v(i)}),g("ngModelChange",function(){b(e);let i=f();return v(i.changedOptions())}),m(20," Resize North-West "),d(),c(21,"button",8),g("click",function(){b(e);let i=f();return v(i.addItem())}),c(22,"mat-icon"),m(23,"add"),d()()()}if(o&2){let e=f();h(),x("ngModel",e.options.resizable.enabled),h(3),x("ngModel",e.options.resizable.delayStart),h(),x("ngModel",e.options.resizable.handles.s),h(2),x("ngModel",e.options.resizable.handles.e),h(2),x("ngModel",e.options.resizable.handles.n),h(2),x("ngModel",e.options.resizable.handles.w),h(2),x("ngModel",e.options.resizable.handles.se),h(2),x("ngModel",e.options.resizable.handles.ne),h(2),x("ngModel",e.options.resizable.handles.sw),h(2),x("ngModel",e.options.resizable.handles.nw)}}function gx(o,n){if(o&1){let e=F();c(0,"gridster-item",5)(1,"div",9)(2,"button",10),g("mousedown",function(i){let r=b(e).$implicit,s=f();return v(s.removeItem(i,r))})("touchstart",function(i){let r=b(e).$implicit,s=f();return v(s.removeItem(i,r))}),c(3,"mat-icon"),m(4,"delete"),d()()()()}if(o&2){let e=n.$implicit;M("item",e)}}var tp=(()=>{class o{static eventStop(e,t,i){console.info("eventStop",e,t,i)}static eventStart(e,t,i){console.info("eventStart",e,t,i)}ngOnInit(){this.options={gridType:P.Fit,displayGrid:ve.Always,resizable:{delayStart:0,enabled:!0,start:o.eventStart,stop:o.eventStop,handles:{s:!0,e:!0,n:!0,w:!0,se:!0,ne:!0,sw:!0,nw:!0}}},this.dashboard=[{cols:2,rows:1,y:0,x:0},{cols:2,rows:2,y:0,x:2},{cols:1,rows:1,y:0,x:4},{cols:3,rows:2,y:1,x:4},{cols:1,rows:1,y:4,x:5},{cols:1,rows:1,y:2,x:1},{cols:2,rows:2,y:5,x:5},{cols:2,rows:2,y:3,x:2},{cols:2,rows:1,y:2,x:2},{cols:1,rows:1,y:3,x:4},{cols:1,rows:1,y:0,x:6}]}changedOptions(){this.options.api&&this.options.api.optionsChanged&&this.options.api.optionsChanged()}removeItem(e,t){e.preventDefault(),e.stopPropagation(),this.dashboard.splice(this.dashboard.indexOf(t),1)}addItem(){this.dashboard.push({x:0,y:0,cols:1,rows:1})}static{this.\u0275fac=function(t){return new(t||o)}}static{this.\u0275cmp=S({type:o,selectors:[["app-resize"]],decls:10,vars:3,consts:[[1,"options"],["mat-raised-button","","href","https://github.com/tiberiuzuld/angular-gridster2/tree/master/src/app/sections/resize","target","_blank",1,"source-code-button"],[3,"src"],[1,"options-header"],[3,"options"],[3,"item"],[3,"ngModelChange","ngModel"],["matInput","","type","number","placeholder","Delay Start ms",3,"ngModelChange","ngModel"],["mat-mini-fab","",1,"add-button","cols-2",3,"click"],[1,"button-holder"],["mat-mini-fab","",3,"mousedown","touchstart"]],template:function(t,i){t&1&&(c(0,"div",0)(1,"a",1)(2,"mat-icon"),m(3,"open_in_new"),d(),m(4," Source "),d(),R(5,"markdown",2),d(),Y(6,fx,24,10,"div",3),c(7,"gridster",4),ie(8,gx,5,1,"gridster-item",5,ge),d()),t&2&&(h(5),M("src","assets/resize.md"),h(),L(i.options.resizable&&i.options.resizable.handles?6:-1),h(),M("options",i.options),h(),ne(i.dashboard))},dependencies:[Ie,qe,Ke,Me,xe,de,ce,be,We,Oe,he,me,et,Je,Be,le,_e,se,pe],encapsulation:2,changeDetection:0})}}return o})();function _x(o,n){if(o&1){let e=F();c(0,"mat-checkbox",15),C("ngModelChange",function(i){b(e);let r=f();return w(r.options.draggable.enabled,i)||(r.options.draggable.enabled=i),v(i)}),g("ngModelChange",function(){b(e);let i=f();return v(i.changedOptions())}),m(1," Drag Items "),d()}if(o&2){let e=f();x("ngModel",e.options.draggable.enabled)}}function bx(o,n){if(o&1){let e=F();c(0,"mat-checkbox",15),C("ngModelChange",function(i){b(e);let r=f();return w(r.options.resizable.enabled,i)||(r.options.resizable.enabled=i),v(i)}),g("ngModelChange",function(){b(e);let i=f();return v(i.changedOptions())}),m(1," Resize Items "),d()}if(o&2){let e=f();x("ngModel",e.options.resizable.enabled)}}function vx(o,n){o&1&&(c(0,"div",25)(1,"div",28)(2,"span"),m(3,"Some content to select and click without dragging the widget"),d(),c(4,"a",29),m(5,"Link to Google"),d()()())}function yx(o,n){if(o&1){let e=F();c(0,"div",26)(1,"button",30)(2,"mat-icon"),m(3,"open_with"),d()(),c(4,"button",31),g("mousedown",function(i){b(e);let r=f().$implicit,s=f();return v(s.removeItem(i,r))})("touchstart",function(i){b(e);let r=f().$implicit,s=f();return v(s.removeItem(i,r))}),c(5,"mat-icon"),m(6,"delete"),d()()()}}function xx(o,n){if(o&1&&(c(0,"label"),m(1),d()),o&2){let e=f().$implicit;h(),Xe(e.label)}}function wx(o,n){if(o&1){let e=F();c(0,"button",32),g("mousedown",function(i){b(e);let r=f().$implicit,s=f();return v(s.removeItem(i,r))})("touchstart",function(i){b(e);let r=f().$implicit,s=f();return v(s.removeItem(i,r))}),c(1,"mat-icon"),m(2,"delete"),d()()}}function Cx(o,n){if(o&1&&(c(0,"gridster-item",23)(1,"div",24),Y(2,vx,6,0,"div",25)(3,yx,7,0,"div",26)(4,xx,2,1,"label")(5,wx,3,0,"button",27),d()()),o&2){let e=n.$implicit;M("item",e),h(2),L(e.hasContent?2:-1),h(),L(e.hasContent?3:-1),h(),L(e.hasContent?-1:4),h(),L(e.hasContent?-1:5)}}var ip=(()=>{class o{ngOnInit(){document.body.setAttribute("dir","rtl"),this.options={gridType:P.Fit,compactType:ue.None,margin:10,outerMargin:!0,outerMarginTop:null,outerMarginRight:null,outerMarginBottom:null,outerMarginLeft:null,useTransformPositioning:!0,mobileBreakpoint:640,minCols:1,maxCols:100,minRows:1,maxRows:100,maxItemCols:100,minItemCols:1,maxItemRows:100,minItemRows:1,maxItemArea:2500,minItemArea:1,defaultItemCols:1,defaultItemRows:1,fixedColWidth:105,fixedRowHeight:105,keepFixedHeightInMobile:!1,keepFixedWidthInMobile:!1,scrollSensitivity:10,scrollSpeed:20,enableEmptyCellClick:!1,enableEmptyCellContextMenu:!1,enableEmptyCellDrop:!1,enableEmptyCellDrag:!1,enableOccupiedCellDrop:!1,emptyCellDragMaxCols:50,emptyCellDragMaxRows:50,ignoreMarginInRow:!1,draggable:{enabled:!0},resizable:{enabled:!0},swap:!1,pushItems:!0,disablePushOnDrag:!1,disablePushOnResize:!1,pushDirections:{north:!0,east:!0,south:!0,west:!0},pushResizeItems:!1,displayGrid:ve.Always,disableWindowResize:!1,disableWarnings:!1,scrollToNewItems:!1,dirType:nt.RTL},this.dashboard=[{cols:2,rows:1,y:0,x:0},{cols:2,rows:2,y:0,x:2,hasContent:!0},{cols:1,rows:1,y:0,x:4},{cols:1,rows:1,y:2,x:5},{cols:1,rows:1,y:1,x:0},{cols:1,rows:1,y:1,x:0},{cols:2,rows:2,y:3,x:5,minItemRows:2,minItemCols:2,label:"Min rows & cols = 2"},{cols:2,rows:2,y:2,x:0,maxItemRows:2,maxItemCols:2,label:"Max rows & cols = 2"},{cols:2,rows:1,y:2,x:2,dragEnabled:!0,resizeEnabled:!0,label:"Drag&Resize Enabled"},{cols:1,rows:1,y:2,x:4,dragEnabled:!1,resizeEnabled:!1,label:"Drag&Resize Disabled"},{cols:1,rows:1,y:2,x:6}],this.dashboard=[{cols:2,rows:1,y:0,x:0},{cols:2,rows:2,y:0,x:2,hasContent:!0},{cols:1,rows:1,y:0,x:4},{cols:1,rows:1,y:2,x:5},{cols:1,rows:1,y:1,x:0},{cols:1,rows:1,y:1,x:0},{cols:2,rows:2,y:3,x:5,minItemRows:2,minItemCols:2,label:"Min rows & cols = 2"},{cols:2,rows:2,y:2,x:0,maxItemRows:2,maxItemCols:2,label:"Max rows & cols = 2"},{cols:2,rows:1,y:2,x:2,dragEnabled:!0,resizeEnabled:!0,label:"Drag&Resize Enabled"},{cols:1,rows:1,y:2,x:4,dragEnabled:!1,resizeEnabled:!1,label:"Drag&Resize Disabled"},{cols:1,rows:1,y:2,x:6}]}changedOptions(){this.options.api&&this.options.api.optionsChanged&&this.options.api.optionsChanged()}removeItem(e,t){e.preventDefault(),e.stopPropagation(),this.dashboard.splice(this.dashboard.indexOf(t),1)}addItem(){this.dashboard.push({x:0,y:0,cols:1,rows:1})}ngOnDestroy(){document.body.removeAttribute("dir")}static{this.\u0275fac=function(t){return new(t||o)}}static{this.\u0275cmp=S({type:o,selectors:[["app-rtl"]],decls:53,vars:14,consts:[[1,"options"],["mat-raised-button","","href","https://github.com/tiberiuzuld/angular-gridster2/tree/master/src/app/sections/rtl","target","_blank",1,"source-code-button"],[3,"src"],[1,"options-header"],["aria-label","Grid type","placeholder","Grid Type",3,"ngModelChange","ngModel"],["value","fit"],["value","scrollVertical"],["value","scrollHorizontal"],["value","fixed"],["value","verticalFixed"],["value","horizontalFixed"],["aria-label","Display grid lines","placeholder","Display grid lines",3,"ngModelChange","ngModel"],["value","always"],["value","onDrag&Resize"],["value","none"],[3,"ngModelChange","ngModel"],[3,"ngModel"],["matInput","","min","0","max","30","step","1","type","number","placeholder","Margin",3,"ngModelChange","ngModel"],["matInput","","type","number","placeholder","Mobile Breakpoint",3,"ngModelChange","ngModel"],["matInput","","type","number","placeholder","Fixed Col Width",3,"ngModelChange","ngModel"],["matInput","","type","number","placeholder","Fixed Row Height",3,"ngModelChange","ngModel"],["mat-mini-fab","",1,"add-button","cols-2",3,"click"],[3,"options"],[3,"item"],[1,"button-holder"],[1,"gridster-item-content"],[1,"item-buttons"],["mat-mini-fab",""],[1,"stuff"],["href","https://www.google.com","target","_blank"],["mat-icon-button","",1,"drag-handler"],["mat-icon-button","",1,"remove-button",3,"mousedown","touchstart"],["mat-mini-fab","",3,"mousedown","touchstart"]],template:function(t,i){t&1&&(c(0,"div",0)(1,"a",1)(2,"mat-icon"),m(3,"open_in_new"),d(),m(4," Source "),d(),R(5,"markdown",2),d(),c(6,"div",3)(7,"mat-form-field")(8,"mat-select",4),C("ngModelChange",function(s){return w(i.options.gridType,s)||(i.options.gridType=s),s}),g("ngModelChange",function(){return i.changedOptions()}),c(9,"mat-option",5),m(10,"Fit to screen"),d(),c(11,"mat-option",6),m(12,"Scroll Vertical"),d(),c(13,"mat-option",7),m(14,"Scroll Horizontal"),d(),c(15,"mat-option",8),m(16,"Fixed"),d(),c(17,"mat-option",9),m(18,"Vertical Fixed"),d(),c(19,"mat-option",10),m(20,"Horizontal Fixed"),d()()(),c(21,"mat-form-field")(22,"mat-select",11),C("ngModelChange",function(s){return w(i.options.displayGrid,s)||(i.options.displayGrid=s),s}),g("ngModelChange",function(){return i.changedOptions()}),c(23,"mat-option",12),m(24,"Always"),d(),c(25,"mat-option",13),m(26,"On Drag & Resize"),d(),c(27,"mat-option",14),m(28,"None"),d()()(),c(29,"mat-checkbox",15),C("ngModelChange",function(s){return w(i.options.swap,s)||(i.options.swap=s),s}),g("ngModelChange",function(){return i.changedOptions()}),m(30," Swap Items "),d(),c(31,"mat-checkbox",15),C("ngModelChange",function(s){return w(i.options.pushItems,s)||(i.options.pushItems=s),s}),g("ngModelChange",function(){return i.changedOptions()}),m(32," Push Items "),d(),Y(33,_x,2,1,"mat-checkbox",16)(34,bx,2,1,"mat-checkbox",16),c(35,"mat-checkbox",15),C("ngModelChange",function(s){return w(i.options.pushResizeItems,s)||(i.options.pushResizeItems=s),s}),g("ngModelChange",function(){return i.changedOptions()}),m(36," Push Resize Items "),d(),c(37,"mat-form-field")(38,"input",17),C("ngModelChange",function(s){return w(i.options.margin,s)||(i.options.margin=s),s}),g("ngModelChange",function(){return i.changedOptions()}),d()(),c(39,"mat-checkbox",15),C("ngModelChange",function(s){return w(i.options.outerMargin,s)||(i.options.outerMargin=s),s}),g("ngModelChange",function(){return i.changedOptions()}),m(40,"Outer Margin "),d(),c(41,"mat-form-field")(42,"input",18),C("ngModelChange",function(s){return w(i.options.mobileBreakpoint,s)||(i.options.mobileBreakpoint=s),s}),g("ngModelChange",function(){return i.changedOptions()}),d()(),c(43,"mat-form-field")(44,"input",19),C("ngModelChange",function(s){return w(i.options.fixedColWidth,s)||(i.options.fixedColWidth=s),s}),g("ngModelChange",function(){return i.changedOptions()}),d()(),c(45,"mat-form-field")(46,"input",20),C("ngModelChange",function(s){return w(i.options.fixedRowHeight,s)||(i.options.fixedRowHeight=s),s}),g("ngModelChange",function(){return i.changedOptions()}),d()(),c(47,"button",21),g("click",function(){return i.addItem()}),c(48,"mat-icon"),m(49,"add"),d()()(),c(50,"gridster",22),ie(51,Cx,6,5,"gridster-item",23,ge),d()),t&2&&(h(5),M("src","assets/rtl.md"),h(3),x("ngModel",i.options.gridType),h(14),x("ngModel",i.options.displayGrid),h(7),x("ngModel",i.options.swap),h(2),x("ngModel",i.options.pushItems),h(2),L(i.options.draggable?33:-1),h(),L(i.options.resizable?34:-1),h(),x("ngModel",i.options.pushResizeItems),h(3),x("ngModel",i.options.margin),h(),x("ngModel",i.options.outerMargin),h(3),x("ngModel",i.options.mobileBreakpoint),h(2),x("ngModel",i.options.fixedColWidth),h(2),x("ngModel",i.options.fixedRowHeight),h(4),M("options",i.options),h(),ne(i.dashboard))},dependencies:[Ie,qe,Ke,Me,fi,pi,xe,de,ce,Li,be,We,Oe,he,me,et,Je,Be,gt,ft,rt,le,_e,se,pe],encapsulation:2,changeDetection:0})}}return o})();function kx(o,n){if(o&1){let e=F();c(0,"gridster-item",7)(1,"div",8)(2,"button",9),g("mousedown",function(i){let r=b(e).$implicit,s=f();return v(s.removeItem(i,r))})("touchstart",function(i){let r=b(e).$implicit,s=f();return v(s.removeItem(i,r))}),c(3,"mat-icon"),m(4,"delete"),d()()()()}if(o&2){let e=n.$implicit;M("item",e)}}var np=(()=>{class o{ngOnInit(){this.options={gridType:P.Fit,displayGrid:ve.Always,pushItems:!1,swap:!0,swapWhileDragging:!1,draggable:{enabled:!0},resizable:{enabled:!0}},this.dashboard=[{cols:2,rows:1,y:0,x:0},{cols:2,rows:2,y:0,x:2},{cols:1,rows:1,y:0,x:4},{cols:3,rows:2,y:1,x:4},{cols:1,rows:1,y:4,x:5},{cols:1,rows:1,y:2,x:1},{cols:2,rows:2,y:5,x:5},{cols:2,rows:2,y:3,x:2},{cols:2,rows:1,y:2,x:2},{cols:1,rows:1,y:3,x:4},{cols:1,rows:1,y:0,x:6}]}changedOptions(){this.options.api&&this.options.api.optionsChanged&&this.options.api.optionsChanged()}removeItem(e,t){e.preventDefault(),e.stopPropagation(),this.dashboard.splice(this.dashboard.indexOf(t),1)}addItem(){this.dashboard.push({x:0,y:0,cols:1,rows:1})}static{this.\u0275fac=function(t){return new(t||o)}}static{this.\u0275cmp=S({type:o,selectors:[["app-swap"]],decls:17,vars:4,consts:[[1,"options"],["mat-raised-button","","href","https://github.com/tiberiuzuld/angular-gridster2/tree/master/src/app/sections/swap","target","_blank",1,"source-code-button"],[3,"src"],[1,"options-header"],[3,"ngModelChange","ngModel"],["mat-mini-fab","",1,"add-button","cols-2",3,"click"],[3,"options"],[3,"item"],[1,"button-holder"],["mat-mini-fab","",3,"mousedown","touchstart"]],template:function(t,i){t&1&&(c(0,"div",0)(1,"a",1)(2,"mat-icon"),m(3,"open_in_new"),d(),m(4," Source "),d(),R(5,"markdown",2),d(),c(6,"div",3)(7,"mat-checkbox",4),C("ngModelChange",function(s){return w(i.options.swap,s)||(i.options.swap=s),s}),g("ngModelChange",function(){return i.changedOptions()}),m(8," Swap Items "),d(),c(9,"mat-checkbox",4),C("ngModelChange",function(s){return w(i.options.swapWhileDragging,s)||(i.options.swapWhileDragging=s),s}),g("ngModelChange",function(){return i.changedOptions()}),m(10," Swap Items While Dragging "),d(),c(11,"button",5),g("click",function(){return i.addItem()}),c(12,"mat-icon"),m(13,"add"),d()()(),c(14,"gridster",6),ie(15,kx,5,1,"gridster-item",7,ge),d()),t&2&&(h(5),M("src","assets/swap.md"),h(2),x("ngModel",i.options.swap),h(2),x("ngModel",i.options.swapWhileDragging),h(5),M("options",i.options),h(),ne(i.dashboard))},dependencies:[Ie,Me,xe,de,ce,be,We,Oe,he,me,le,_e,se,pe],encapsulation:2,changeDetection:0})}}return o})();var op=(()=>{class o{ngOnInit(){console.info(`Init ${this.id}`)}static{this.\u0275fac=function(t){return new(t||o)}}static{this.\u0275cmp=S({type:o,selectors:[["app-trackby-item"]],inputs:{id:"id"},decls:3,vars:1,consts:[[1,"button-holder"],[2,"font-size","30px"]],template:function(t,i){t&1&&(c(0,"div",0)(1,"div",1),m(2),d()()),t&2&&(h(2),Ir("ID: ",i.id,""))},encapsulation:2,changeDetection:0})}}return o})();var Mx=(o,n)=>n.id;function Ix(o,n){if(o&1){let e=F();c(0,"gridster-item",7)(1,"button",8),g("mousedown",function(i){let r=b(e).$implicit,s=f();return v(s.removeItem(i,r))})("touchstart",function(i){let r=b(e).$implicit,s=f();return v(s.removeItem(i,r))}),c(2,"mat-icon"),m(3,"delete"),d()(),R(4,"app-trackby-item",9),d()}if(o&2){let e=n.$implicit;M("item",e),h(4),M("id",e.id)}}var rp=(()=>{class o{static itemInit(e,t){console.info("itemInitialized",e,t)}ngOnInit(){this.options={gridType:P.Fit,displayGrid:ve.Always,compactType:ue.None,pushItems:!0,draggable:{enabled:!0},resizable:{enabled:!0},minCols:1,maxCols:100,minRows:1,maxRows:100,maxItemCols:100,minItemCols:1,maxItemRows:100,minItemRows:1,maxItemArea:2500,minItemArea:1,defaultItemCols:1,defaultItemRows:1},this.dashboard=[{cols:2,rows:1,y:0,x:0,initCallback:o.itemInit,minItemCols:1,maxItemCols:100,maxItemRows:100,minItemRows:1,minItemArea:1,maxItemArea:2500,dragEnabled:!0,resizeEnabled:!0,compactEnabled:!0,id:0},{cols:2,rows:2,y:0,x:2,id:1},{cols:1,rows:1,y:0,x:4,id:2},{cols:3,rows:2,y:1,x:4,id:3},{cols:1,rows:1,y:2,x:1,id:4}],this.dashboardOriginal=this.dashboard.map(e=>k({},e))}changedOptions(){this.options.api&&this.options.api.optionsChanged&&this.options.api.optionsChanged()}reset(){this.dashboard=this.dashboardOriginal.map(e=>k({},e))}addItem(){this.dashboard.push({x:0,y:0,cols:1,rows:1,id:this.dashboard.length})}removeItem(e,t){e.preventDefault(),e.stopPropagation(),this.dashboard.splice(this.dashboard.indexOf(t),1)}static{this.\u0275fac=function(t){return new(t||o)}}static{this.\u0275cmp=S({type:o,selectors:[["app-trackby"]],decls:15,vars:2,consts:[[1,"options"],["href","https://github.com/tiberiuzuld/angular-gridster2/tree/master/src/app/sections/trackBy","mat-raised-button","","target","_blank",1,"source-code-button"],[3,"src"],[1,"options-header"],["color","accent","mat-raised-button","",1,"cols-2",3,"click"],["mat-mini-fab","",1,"add-button","cols-2",3,"click"],[3,"options"],[3,"item"],["mat-mini-fab","",2,"position","absolute","right","10px","top","10px",3,"mousedown","touchstart"],[3,"id"]],template:function(t,i){t&1&&(c(0,"div",0)(1,"a",1)(2,"mat-icon"),m(3,"open_in_new"),d(),m(4," Source "),d(),R(5,"markdown",2),d(),c(6,"div",3)(7,"button",4),g("click",function(){return i.reset()}),m(8," Reset "),d(),c(9,"button",5),g("click",function(){return i.addItem()}),c(10,"mat-icon"),m(11,"add"),d()()(),c(12,"gridster",6),ie(13,Ix,5,2,"gridster-item",7,Mx),d()),t&2&&(h(5),M("src","assets/trackBy.md"),h(7),M("options",i.options),h(),ne(i.dashboard))},dependencies:[de,ce,Rs,be,he,me,le,_e,se,pe,op],encapsulation:2,changeDetection:0})}}return o})();var sp=[{path:"",component:Gu},{path:"api",component:ou},{path:"compact",component:Su},{path:"displayGrid",component:Tu},{path:"drag",component:Pu},{path:"dynamicWidgets",component:Bu},{path:"emptyCell",component:Wu},{path:"gridEvents",component:ju},{path:"gridMargins",component:$u},{path:"gridSizes",component:Uu},{path:"gridTypes",component:Hu},{path:"items",component:Yu},{path:"trackBy",component:rp},{path:"push",component:ep},{path:"resize",component:tp},{path:"swap",component:np},{path:"multiLayer",component:Ju},{path:"misc",component:qu},{path:"rtl",component:ip},{path:"**",redirectTo:""}];var ap={providers:[Jc({eventCoalescing:!0}),xh(sp),yd(),zl(),Dc(le.forRoot({loader:Zi,markedOptions:{provide:Yl,useValue:{breaks:!0}}})),zl()]};Dd(wh,ap).catch(o=>console.log(o)); diff --git a/polyfills-A7MJM4D4.js b/polyfills-A7MJM4D4.js deleted file mode 100644 index cf92250..0000000 --- a/polyfills-A7MJM4D4.js +++ /dev/null @@ -1,2 +0,0 @@ -var ie=globalThis;function ee(e){return(ie.__Zone_symbol_prefix||"__zone_symbol__")+e}function ut(){let e=ie.performance;function n(j){e&&e.mark&&e.mark(j)}function a(j,r){e&&e.measure&&e.measure(j,r)}n("Zone");let Y=class Y{static assertZonePatched(){if(ie.Promise!==N.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let r=Y.current;for(;r.parent;)r=r.parent;return r}static get current(){return p.zone}static get currentTask(){return O}static __load_patch(r,i,s=!1){if(N.hasOwnProperty(r)){let v=ie[ee("forceDuplicateZoneCheck")]===!0;if(!s&&v)throw Error("Already loaded patch: "+r)}else if(!ie["__Zone_disable_"+r]){let v="Zone:"+r;n(v),N[r]=i(ie,Y,R),a(v,v)}}get parent(){return this._parent}get name(){return this._name}constructor(r,i){this._parent=r,this._name=i?i.name||"unnamed":"",this._properties=i&&i.properties||{},this._zoneDelegate=new u(this,this._parent&&this._parent._zoneDelegate,i)}get(r){let i=this.getZoneWith(r);if(i)return i._properties[r]}getZoneWith(r){let i=this;for(;i;){if(i._properties.hasOwnProperty(r))return i;i=i._parent}return null}fork(r){if(!r)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,r)}wrap(r,i){if(typeof r!="function")throw new Error("Expecting function got: "+r);let s=this._zoneDelegate.intercept(this,r,i),v=this;return function(){return v.runGuarded(s,this,arguments,i)}}run(r,i,s,v){p={parent:p,zone:this};try{return this._zoneDelegate.invoke(this,r,i,s,v)}finally{p=p.parent}}runGuarded(r,i=null,s,v){p={parent:p,zone:this};try{try{return this._zoneDelegate.invoke(this,r,i,s,v)}catch(x){if(this._zoneDelegate.handleError(this,x))throw x}}finally{p=p.parent}}runTask(r,i,s){if(r.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(r.zone||ne).name+"; Execution: "+this.name+")");if(r.state===z&&(r.type===F||r.type===g))return;let v=r.state!=G;v&&r._transitionTo(G,d),r.runCount++;let x=O;O=r,p={parent:p,zone:this};try{r.type==g&&r.data&&!r.data.isPeriodic&&(r.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,r,i,s)}catch(L){if(this._zoneDelegate.handleError(this,L))throw L}}finally{r.state!==z&&r.state!==X&&(r.type==F||r.data&&r.data.isPeriodic?v&&r._transitionTo(d,G):(r.runCount=0,this._updateTaskCount(r,-1),v&&r._transitionTo(z,G,z))),p=p.parent,O=x}}scheduleTask(r){if(r.zone&&r.zone!==this){let s=this;for(;s;){if(s===r.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${r.zone.name}`);s=s.parent}}r._transitionTo(k,z);let i=[];r._zoneDelegates=i,r._zone=this;try{r=this._zoneDelegate.scheduleTask(this,r)}catch(s){throw r._transitionTo(X,k,z),this._zoneDelegate.handleError(this,s),s}return r._zoneDelegates===i&&this._updateTaskCount(r,1),r.state==k&&r._transitionTo(d,k),r}scheduleMicroTask(r,i,s,v){return this.scheduleTask(new _(V,r,i,s,v,void 0))}scheduleMacroTask(r,i,s,v,x){return this.scheduleTask(new _(g,r,i,s,v,x))}scheduleEventTask(r,i,s,v,x){return this.scheduleTask(new _(F,r,i,s,v,x))}cancelTask(r){if(r.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(r.zone||ne).name+"; Execution: "+this.name+")");if(!(r.state!==d&&r.state!==G)){r._transitionTo(W,d,G);try{this._zoneDelegate.cancelTask(this,r)}catch(i){throw r._transitionTo(X,W),this._zoneDelegate.handleError(this,i),i}return this._updateTaskCount(r,-1),r._transitionTo(z,W),r.runCount=0,r}}_updateTaskCount(r,i){let s=r._zoneDelegates;i==-1&&(r._zoneDelegates=null);for(let v=0;vj.hasTask(i,s),onScheduleTask:(j,r,i,s)=>j.scheduleTask(i,s),onInvokeTask:(j,r,i,s,v,x)=>j.invokeTask(i,s,v,x),onCancelTask:(j,r,i,s)=>j.cancelTask(i,s)};class u{get zone(){return this._zone}constructor(r,i,s){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this._zone=r,this._parentDelegate=i,this._forkZS=s&&(s&&s.onFork?s:i._forkZS),this._forkDlgt=s&&(s.onFork?i:i._forkDlgt),this._forkCurrZone=s&&(s.onFork?this._zone:i._forkCurrZone),this._interceptZS=s&&(s.onIntercept?s:i._interceptZS),this._interceptDlgt=s&&(s.onIntercept?i:i._interceptDlgt),this._interceptCurrZone=s&&(s.onIntercept?this._zone:i._interceptCurrZone),this._invokeZS=s&&(s.onInvoke?s:i._invokeZS),this._invokeDlgt=s&&(s.onInvoke?i:i._invokeDlgt),this._invokeCurrZone=s&&(s.onInvoke?this._zone:i._invokeCurrZone),this._handleErrorZS=s&&(s.onHandleError?s:i._handleErrorZS),this._handleErrorDlgt=s&&(s.onHandleError?i:i._handleErrorDlgt),this._handleErrorCurrZone=s&&(s.onHandleError?this._zone:i._handleErrorCurrZone),this._scheduleTaskZS=s&&(s.onScheduleTask?s:i._scheduleTaskZS),this._scheduleTaskDlgt=s&&(s.onScheduleTask?i:i._scheduleTaskDlgt),this._scheduleTaskCurrZone=s&&(s.onScheduleTask?this._zone:i._scheduleTaskCurrZone),this._invokeTaskZS=s&&(s.onInvokeTask?s:i._invokeTaskZS),this._invokeTaskDlgt=s&&(s.onInvokeTask?i:i._invokeTaskDlgt),this._invokeTaskCurrZone=s&&(s.onInvokeTask?this._zone:i._invokeTaskCurrZone),this._cancelTaskZS=s&&(s.onCancelTask?s:i._cancelTaskZS),this._cancelTaskDlgt=s&&(s.onCancelTask?i:i._cancelTaskDlgt),this._cancelTaskCurrZone=s&&(s.onCancelTask?this._zone:i._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;let v=s&&s.onHasTask,x=i&&i._hasTaskZS;(v||x)&&(this._hasTaskZS=v?s:c,this._hasTaskDlgt=i,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=this._zone,s.onScheduleTask||(this._scheduleTaskZS=c,this._scheduleTaskDlgt=i,this._scheduleTaskCurrZone=this._zone),s.onInvokeTask||(this._invokeTaskZS=c,this._invokeTaskDlgt=i,this._invokeTaskCurrZone=this._zone),s.onCancelTask||(this._cancelTaskZS=c,this._cancelTaskDlgt=i,this._cancelTaskCurrZone=this._zone))}fork(r,i){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,r,i):new t(r,i)}intercept(r,i,s){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,r,i,s):i}invoke(r,i,s,v,x){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,r,i,s,v,x):i.apply(s,v)}handleError(r,i){return this._handleErrorZS?this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,r,i):!0}scheduleTask(r,i){let s=i;if(this._scheduleTaskZS)this._hasTaskZS&&s._zoneDelegates.push(this._hasTaskDlgtOwner),s=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,r,i),s||(s=i);else if(i.scheduleFn)i.scheduleFn(i);else if(i.type==V)U(i);else throw new Error("Task is missing scheduleFn.");return s}invokeTask(r,i,s,v){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,r,i,s,v):i.callback.apply(s,v)}cancelTask(r,i){let s;if(this._cancelTaskZS)s=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,r,i);else{if(!i.cancelFn)throw Error("Task is not cancelable");s=i.cancelFn(i)}return s}hasTask(r,i){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,r,i)}catch(s){this.handleError(r,s)}}_updateTaskCount(r,i){let s=this._taskCounts,v=s[r],x=s[r]=v+i;if(x<0)throw new Error("More tasks executed then were scheduled.");if(v==0||x==0){let L={microTask:s.microTask>0,macroTask:s.macroTask>0,eventTask:s.eventTask>0,change:r};this.hasTask(this._zone,L)}}}class _{constructor(r,i,s,v,x,L){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=r,this.source=i,this.data=v,this.scheduleFn=x,this.cancelFn=L,!s)throw new Error("callback is not defined");this.callback=s;let de=this;r===F&&v&&v.useG?this.invoke=_.invokeTask:this.invoke=function(){return _.invokeTask.call(ie,de,this,arguments)}}static invokeTask(r,i,s){r||(r=this),K++;try{return r.runCount++,r.zone.runTask(r,i,s)}finally{K==1&&A(),K--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(z,k)}_transitionTo(r,i,s){if(this._state===i||this._state===s)this._state=r,r==z&&(this._zoneDelegates=null);else throw new Error(`${this.type} '${this.source}': can not transition to '${r}', expecting state '${i}'${s?" or '"+s+"'":""}, was '${this._state}'.`)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}let E=ee("setTimeout"),y=ee("Promise"),C=ee("then"),T=[],I=!1,w;function Z(j){if(w||ie[y]&&(w=ie[y].resolve(0)),w){let r=w[C];r||(r=w.then),r.call(w,j)}else ie[E](j,0)}function U(j){K===0&&T.length===0&&Z(A),j&&T.push(j)}function A(){if(!I){for(I=!0;T.length;){let j=T;T=[];for(let r=0;rp,onUnhandledError:q,microtaskDrainDone:q,scheduleMicroTask:U,showUncaughtError:()=>!t[ee("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:q,patchMethod:()=>q,bindArguments:()=>[],patchThen:()=>q,patchMacroTask:()=>q,patchEventPrototype:()=>q,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>q,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>q,wrapWithCurrentZone:()=>q,filterProperties:()=>[],attachOriginToPatched:()=>q,_redefineProperty:()=>q,patchCallbacks:()=>q,nativeScheduleMicroTask:Z},p={parent:null,zone:new t(null,null)},O=null,K=0;function q(){}return a("Zone","Zone"),t}function ft(){let e=globalThis,n=e[ee("forceDuplicateZoneCheck")]===!0;if(e.Zone&&(n||typeof e.Zone.__symbol__!="function"))throw new Error("Zone already loaded.");return e.Zone??=ut(),e.Zone}var ke=Object.getOwnPropertyDescriptor,Ze=Object.defineProperty,Ae=Object.getPrototypeOf,ht=Object.create,dt=Array.prototype.slice,je="addEventListener",He="removeEventListener",Ne=ee(je),Ie=ee(He),ce="true",ae="false",ve=ee("");function xe(e,n){return Zone.current.wrap(e,n)}function Ge(e,n,a,t,c){return Zone.current.scheduleMacroTask(e,n,a,t,c)}var H=ee,Ce=typeof window<"u",ye=Ce?window:void 0,J=Ce&&ye||globalThis,_t="removeAttribute";function Ve(e,n){for(let a=e.length-1;a>=0;a--)typeof e[a]=="function"&&(e[a]=xe(e[a],n+"_"+a));return e}function Et(e,n){let a=e.constructor.name;for(let t=0;t{let y=function(){return E.apply(this,Ve(arguments,a+"."+c))};return ue(y,E),y})(u)}}}function Ke(e){return e?e.writable===!1?!1:!(typeof e.get=="function"&&typeof e.set>"u"):!0}var Qe=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,Se=!("nw"in J)&&typeof J.process<"u"&&J.process.toString()==="[object process]",Fe=!Se&&!Qe&&!!(Ce&&ye.HTMLElement),et=typeof J.process<"u"&&J.process.toString()==="[object process]"&&!Qe&&!!(Ce&&ye.HTMLElement),Re={},Xe=function(e){if(e=e||J.event,!e)return;let n=Re[e.type];n||(n=Re[e.type]=H("ON_PROPERTY"+e.type));let a=this||e.target||J,t=a[n],c;if(Fe&&a===ye&&e.type==="error"){let u=e;c=t&&t.call(this,u.message,u.filename,u.lineno,u.colno,u.error),c===!0&&e.preventDefault()}else c=t&&t.apply(this,arguments),c!=null&&!c&&e.preventDefault();return c};function Ye(e,n,a){let t=ke(e,n);if(!t&&a&&ke(a,n)&&(t={enumerable:!0,configurable:!0}),!t||!t.configurable)return;let c=H("on"+n+"patched");if(e.hasOwnProperty(c)&&e[c])return;delete t.writable,delete t.value;let u=t.get,_=t.set,E=n.slice(2),y=Re[E];y||(y=Re[E]=H("ON_PROPERTY"+E)),t.set=function(C){let T=this;if(!T&&e===J&&(T=J),!T)return;typeof T[y]=="function"&&T.removeEventListener(E,Xe),_&&_.call(T,null),T[y]=C,typeof C=="function"&&T.addEventListener(E,Xe,!1)},t.get=function(){let C=this;if(!C&&e===J&&(C=J),!C)return null;let T=C[y];if(T)return T;if(u){let I=u.call(this);if(I)return t.set.call(this,I),typeof C[_t]=="function"&&C.removeAttribute(n),I}return null},Ze(e,n,t),e[c]=!0}function tt(e,n,a){if(n)for(let t=0;tfunction(_,E){let y=a(_,E);return y.cbIdx>=0&&typeof E[y.cbIdx]=="function"?Ge(y.name,E[y.cbIdx],y,c):u.apply(_,E)})}function ue(e,n){e[H("OriginalDelegate")]=n}var $e=!1,Le=!1;function gt(){try{let e=ye.navigator.userAgent;if(e.indexOf("MSIE ")!==-1||e.indexOf("Trident/")!==-1)return!0}catch{}return!1}function yt(){if($e)return Le;$e=!0;try{let e=ye.navigator.userAgent;(e.indexOf("MSIE ")!==-1||e.indexOf("Trident/")!==-1||e.indexOf("Edge/")!==-1)&&(Le=!0)}catch{}return Le}var ge=!1;if(typeof window<"u")try{let e=Object.defineProperty({},"passive",{get:function(){ge=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{ge=!1}var mt={useG:!0},te={},nt={},rt=new RegExp("^"+ve+"(\\w+)(true|false)$"),ot=H("propagationStopped");function st(e,n){let a=(n?n(e):e)+ae,t=(n?n(e):e)+ce,c=ve+a,u=ve+t;te[e]={},te[e][ae]=c,te[e][ce]=u}function pt(e,n,a,t){let c=t&&t.add||je,u=t&&t.rm||He,_=t&&t.listeners||"eventListeners",E=t&&t.rmAll||"removeAllListeners",y=H(c),C="."+c+":",T="prependListener",I="."+T+":",w=function(k,d,G){if(k.isRemoved)return;let W=k.callback;typeof W=="object"&&W.handleEvent&&(k.callback=g=>W.handleEvent(g),k.originalDelegate=W);let X;try{k.invoke(k,d,[G])}catch(g){X=g}let V=k.options;if(V&&typeof V=="object"&&V.once){let g=k.originalDelegate?k.originalDelegate:k.callback;d[u].call(d,G.type,g,V)}return X};function Z(k,d,G){if(d=d||e.event,!d)return;let W=k||d.target||e,X=W[te[d.type][G?ce:ae]];if(X){let V=[];if(X.length===1){let g=w(X[0],W,d);g&&V.push(g)}else{let g=X.slice();for(let F=0;F{throw F})}}}let U=function(k){return Z(this,k,!1)},A=function(k){return Z(this,k,!0)};function ne(k,d){if(!k)return!1;let G=!0;d&&d.useG!==void 0&&(G=d.useG);let W=d&&d.vh,X=!0;d&&d.chkDup!==void 0&&(X=d.chkDup);let V=!1;d&&d.rt!==void 0&&(V=d.rt);let g=k;for(;g&&!g.hasOwnProperty(c);)g=Ae(g);if(!g&&k[c]&&(g=k),!g||g[y])return!1;let F=d&&d.eventNameToString,N={},R=g[y]=g[c],p=g[H(u)]=g[u],O=g[H(_)]=g[_],K=g[H(E)]=g[E],q;d&&d.prepend&&(q=g[H(d.prepend)]=g[d.prepend]);function Y(o,l){return!ge&&typeof o=="object"&&o?!!o.capture:!ge||!l?o:typeof o=="boolean"?{capture:o,passive:!0}:o?typeof o=="object"&&o.passive!==!1?{...o,passive:!0}:o:{passive:!0}}let j=function(o){if(!N.isExisting)return R.call(N.target,N.eventName,N.capture?A:U,N.options)},r=function(o){if(!o.isRemoved){let l=te[o.eventName],h;l&&(h=l[o.capture?ce:ae]);let b=h&&o.target[h];if(b){for(let S=0;Soe.zone.cancelTask(oe);o.call(_e,"abort",se,{once:!0}),he&&(he.removeAbortListener=()=>_e.removeEventListener("abort",se))}if(N.target=null,he&&(he.taskData=null),Be&&(Q.once=!0),!ge&&typeof oe.options=="boolean"||(oe.options=Q),oe.target=P,oe.capture=De,oe.eventName=D,B&&(oe.originalDelegate=M),m?Ee.unshift(oe):Ee.push(oe),S)return P}};return g[c]=f(R,C,x,L,V),q&&(g[T]=f(q,I,s,L,V,!0)),g[u]=function(){let o=this||e,l=arguments[0];d&&d.transferEventName&&(l=d.transferEventName(l));let h=arguments[2],b=h?typeof h=="boolean"?!0:h.capture:!1,S=arguments[1];if(!S)return p.apply(this,arguments);if(W&&!W(p,S,o,arguments))return;let m=te[l],P;m&&(P=m[b?ce:ae]);let D=P&&o[P];if(D)for(let M=0;Mfunction(c,u){c[ot]=!0,t&&t.apply(c,u)})}function vt(e,n){n.patchMethod(e,"queueMicrotask",a=>function(t,c){Zone.current.scheduleMicroTask("queueMicrotask",c[0])})}var we=H("zoneTask");function Te(e,n,a,t){let c=null,u=null;n+=t,a+=t;let _={};function E(C){let T=C.data;return T.args[0]=function(){return C.invoke.apply(this,arguments)},T.handleId=c.apply(e,T.args),C}function y(C){return u.call(e,C.data.handleId)}c=le(e,n,C=>function(T,I){if(typeof I[0]=="function"){let w={isPeriodic:t==="Interval",delay:t==="Timeout"||t==="Interval"?I[1]||0:void 0,args:I},Z=I[0];I[0]=function(){try{return Z.apply(this,arguments)}finally{w.isPeriodic||(typeof w.handleId=="number"?delete _[w.handleId]:w.handleId&&(w.handleId[we]=null))}};let U=Ge(n,I[0],w,E,y);if(!U)return U;let A=U.data.handleId;return typeof A=="number"?_[A]=U:A&&(A[we]=U),A&&A.ref&&A.unref&&typeof A.ref=="function"&&typeof A.unref=="function"&&(U.ref=A.ref.bind(A),U.unref=A.unref.bind(A)),typeof A=="number"||A?A:U}else return C.apply(e,I)}),u=le(e,a,C=>function(T,I){let w=I[0],Z;typeof w=="number"?Z=_[w]:(Z=w&&w[we],Z||(Z=w)),Z&&typeof Z.type=="string"?Z.state!=="notScheduled"&&(Z.cancelFn&&Z.data.isPeriodic||Z.runCount===0)&&(typeof w=="number"?delete _[w]:w&&(w[we]=null),Z.zone.cancelTask(Z)):C.apply(e,I)})}function bt(e,n){let{isBrowser:a,isMix:t}=n.getGlobalObjects();if(!a&&!t||!e.customElements||!("customElements"in e))return;let c=["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback","formAssociatedCallback","formDisabledCallback","formResetCallback","formStateRestoreCallback"];n.patchCallbacks(n,e.customElements,"customElements","define",c)}function Pt(e,n){if(Zone[n.symbol("patchEventTarget")])return;let{eventNames:a,zoneSymbolEventNames:t,TRUE_STR:c,FALSE_STR:u,ZONE_SYMBOL_PREFIX:_}=n.getGlobalObjects();for(let y=0;yu.target===e);if(!t||t.length===0)return n;let c=t[0].ignoreProperties;return n.filter(u=>c.indexOf(u)===-1)}function Je(e,n,a,t){if(!e)return;let c=ct(e,n,a);tt(e,c,t)}function Me(e){return Object.getOwnPropertyNames(e).filter(n=>n.startsWith("on")&&n.length>2).map(n=>n.substring(2))}function Rt(e,n){if(Se&&!et||Zone[e.symbol("patchEvents")])return;let a=n.__Zone_ignore_on_properties,t=[];if(Fe){let c=window;t=t.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);let u=gt()?[{target:c,ignoreProperties:["error"]}]:[];Je(c,Me(c),a&&a.concat(u),Ae(c))}t=t.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let c=0;c{let a=n[e.__symbol__("legacyPatch")];a&&a()}),e.__load_patch("timers",n=>{let a="set",t="clear";Te(n,a,t,"Timeout"),Te(n,a,t,"Interval"),Te(n,a,t,"Immediate")}),e.__load_patch("requestAnimationFrame",n=>{Te(n,"request","cancel","AnimationFrame"),Te(n,"mozRequest","mozCancel","AnimationFrame"),Te(n,"webkitRequest","webkitCancel","AnimationFrame")}),e.__load_patch("blocking",(n,a)=>{let t=["alert","prompt","confirm"];for(let c=0;cfunction(C,T){return a.current.run(_,n,T,y)})}}),e.__load_patch("EventTarget",(n,a,t)=>{wt(n,t),Pt(n,t);let c=n.XMLHttpRequestEventTarget;c&&c.prototype&&t.patchEventTarget(n,t,[c.prototype])}),e.__load_patch("MutationObserver",(n,a,t)=>{pe("MutationObserver"),pe("WebKitMutationObserver")}),e.__load_patch("IntersectionObserver",(n,a,t)=>{pe("IntersectionObserver")}),e.__load_patch("FileReader",(n,a,t)=>{pe("FileReader")}),e.__load_patch("on_property",(n,a,t)=>{Rt(t,n)}),e.__load_patch("customElements",(n,a,t)=>{bt(n,t)}),e.__load_patch("XHR",(n,a)=>{C(n);let t=H("xhrTask"),c=H("xhrSync"),u=H("xhrListener"),_=H("xhrScheduled"),E=H("xhrURL"),y=H("xhrErrorBeforeScheduled");function C(T){let I=T.XMLHttpRequest;if(!I)return;let w=I.prototype;function Z(R){return R[t]}let U=w[Ne],A=w[Ie];if(!U){let R=T.XMLHttpRequestEventTarget;if(R){let p=R.prototype;U=p[Ne],A=p[Ie]}}let ne="readystatechange",z="scheduled";function k(R){let p=R.data,O=p.target;O[_]=!1,O[y]=!1;let K=O[u];U||(U=O[Ne],A=O[Ie]),K&&A.call(O,ne,K);let q=O[u]=()=>{if(O.readyState===O.DONE)if(!p.aborted&&O[_]&&R.state===z){let j=O[a.__symbol__("loadfalse")];if(O.status!==0&&j&&j.length>0){let r=R.invoke;R.invoke=function(){let i=O[a.__symbol__("loadfalse")];for(let s=0;sfunction(R,p){return R[c]=p[2]==!1,R[E]=p[1],W.apply(R,p)}),X="XMLHttpRequest.send",V=H("fetchTaskAborting"),g=H("fetchTaskScheduling"),F=le(w,"send",()=>function(R,p){if(a.current[g]===!0||R[c])return F.apply(R,p);{let O={target:R,url:R[E],isPeriodic:!1,args:p,aborted:!1},K=Ge(X,d,O,k,G);R&&R[y]===!0&&!O.aborted&&K.state===z&&K.invoke()}}),N=le(w,"abort",()=>function(R,p){let O=Z(R);if(O&&typeof O.type=="string"){if(O.cancelFn==null||O.data&&O.data.aborted)return;O.zone.cancelTask(O)}else if(a.current[V]===!0)return N.apply(R,p)})}}),e.__load_patch("geolocation",n=>{n.navigator&&n.navigator.geolocation&&Et(n.navigator.geolocation,["getCurrentPosition","watchPosition"])}),e.__load_patch("PromiseRejectionEvent",(n,a)=>{function t(c){return function(u){it(n,c).forEach(E=>{let y=n.PromiseRejectionEvent;if(y){let C=new y(c,{promise:u.promise,reason:u.rejection});E.invoke(C)}})}}n.PromiseRejectionEvent&&(a[H("unhandledPromiseRejectionHandler")]=t("unhandledrejection"),a[H("rejectionHandledHandler")]=t("rejectionhandled"))}),e.__load_patch("queueMicrotask",(n,a,t)=>{vt(n,t)})}function St(e){e.__load_patch("ZoneAwarePromise",(n,a,t)=>{let c=Object.getOwnPropertyDescriptor,u=Object.defineProperty;function _(f){if(f&&f.toString===Object.prototype.toString){let o=f.constructor&&f.constructor.name;return(o||"")+": "+JSON.stringify(f)}return f?f.toString():Object.prototype.toString.call(f)}let E=t.symbol,y=[],C=n[E("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")]!==!1,T=E("Promise"),I=E("then"),w="__creationTrace__";t.onUnhandledError=f=>{if(t.showUncaughtError()){let o=f&&f.rejection;o?console.error("Unhandled Promise rejection:",o instanceof Error?o.message:o,"; Zone:",f.zone.name,"; Task:",f.task&&f.task.source,"; Value:",o,o instanceof Error?o.stack:void 0):console.error(f)}},t.microtaskDrainDone=()=>{for(;y.length;){let f=y.shift();try{f.zone.runGuarded(()=>{throw f.throwOriginal?f.rejection:f})}catch(o){U(o)}}};let Z=E("unhandledPromiseRejectionHandler");function U(f){t.onUnhandledError(f);try{let o=a[Z];typeof o=="function"&&o.call(this,f)}catch{}}function A(f){return f&&f.then}function ne(f){return f}function z(f){return L.reject(f)}let k=E("state"),d=E("value"),G=E("finally"),W=E("parentPromiseValue"),X=E("parentPromiseState"),V="Promise.then",g=null,F=!0,N=!1,R=0;function p(f,o){return l=>{try{Y(f,o,l)}catch(h){Y(f,!1,h)}}}let O=function(){let f=!1;return function(l){return function(){f||(f=!0,l.apply(null,arguments))}}},K="Promise resolved with itself",q=E("currentTaskTrace");function Y(f,o,l){let h=O();if(f===l)throw new TypeError(K);if(f[k]===g){let b=null;try{(typeof l=="object"||typeof l=="function")&&(b=l&&l.then)}catch(S){return h(()=>{Y(f,!1,S)})(),f}if(o!==N&&l instanceof L&&l.hasOwnProperty(k)&&l.hasOwnProperty(d)&&l[k]!==g)r(l),Y(f,l[k],l[d]);else if(o!==N&&typeof b=="function")try{b.call(l,h(p(f,o)),h(p(f,!1)))}catch(S){h(()=>{Y(f,!1,S)})()}else{f[k]=o;let S=f[d];if(f[d]=l,f[G]===G&&o===F&&(f[k]=f[X],f[d]=f[W]),o===N&&l instanceof Error){let m=a.currentTask&&a.currentTask.data&&a.currentTask.data[w];m&&u(l,q,{configurable:!0,enumerable:!1,writable:!0,value:m})}for(let m=0;m{try{let P=f[d],D=!!l&&G===l[G];D&&(l[W]=P,l[X]=S);let M=o.run(m,void 0,D&&m!==z&&m!==ne?[]:[P]);Y(l,!0,M)}catch(P){Y(l,!1,P)}},l)}let s="function ZoneAwarePromise() { [native code] }",v=function(){},x=n.AggregateError;class L{static toString(){return s}static resolve(o){return o instanceof L?o:Y(new this(null),F,o)}static reject(o){return Y(new this(null),N,o)}static withResolvers(){let o={};return o.promise=new L((l,h)=>{o.resolve=l,o.reject=h}),o}static any(o){if(!o||typeof o[Symbol.iterator]!="function")return Promise.reject(new x([],"All promises were rejected"));let l=[],h=0;try{for(let m of o)h++,l.push(L.resolve(m))}catch{return Promise.reject(new x([],"All promises were rejected"))}if(h===0)return Promise.reject(new x([],"All promises were rejected"));let b=!1,S=[];return new L((m,P)=>{for(let D=0;D{b||(b=!0,m(M))},M=>{S.push(M),h--,h===0&&(b=!0,P(new x(S,"All promises were rejected")))})})}static race(o){let l,h,b=new this((P,D)=>{l=P,h=D});function S(P){l(P)}function m(P){h(P)}for(let P of o)A(P)||(P=this.resolve(P)),P.then(S,m);return b}static all(o){return L.allWithCallback(o)}static allSettled(o){return(this&&this.prototype instanceof L?this:L).allWithCallback(o,{thenCallback:h=>({status:"fulfilled",value:h}),errorCallback:h=>({status:"rejected",reason:h})})}static allWithCallback(o,l){let h,b,S=new this((M,B)=>{h=M,b=B}),m=2,P=0,D=[];for(let M of o){A(M)||(M=this.resolve(M));let B=P;try{M.then($=>{D[B]=l?l.thenCallback($):$,m--,m===0&&h(D)},$=>{l?(D[B]=l.errorCallback($),m--,m===0&&h(D)):b($)})}catch($){b($)}m++,P++}return m-=2,m===0&&h(D),S}constructor(o){let l=this;if(!(l instanceof L))throw new Error("Must be an instanceof Promise.");l[k]=g,l[d]=[];try{let h=O();o&&o(h(p(l,F)),h(p(l,N)))}catch(h){Y(l,!1,h)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return L}then(o,l){let h=this.constructor?.[Symbol.species];(!h||typeof h!="function")&&(h=this.constructor||L);let b=new h(v),S=a.current;return this[k]==g?this[d].push(S,b,o,l):i(this,S,b,o,l),b}catch(o){return this.then(null,o)}finally(o){let l=this.constructor?.[Symbol.species];(!l||typeof l!="function")&&(l=L);let h=new l(v);h[G]=G;let b=a.current;return this[k]==g?this[d].push(b,h,o,o):i(this,b,h,o,o),h}}L.resolve=L.resolve,L.reject=L.reject,L.race=L.race,L.all=L.all;let de=n[T]=n.Promise;n.Promise=L;let me=E("thenPatched");function fe(f){let o=f.prototype,l=c(o,"then");if(l&&(l.writable===!1||!l.configurable))return;let h=o.then;o[I]=h,f.prototype.then=function(b,S){return new L((P,D)=>{h.call(this,P,D)}).then(b,S)},f[me]=!0}t.patchThen=fe;function be(f){return function(o,l){let h=f.apply(o,l);if(h instanceof L)return h;let b=h.constructor;return b[me]||fe(b),h}}return de&&(fe(de),le(n,"fetch",f=>be(f))),Promise[a.__symbol__("uncaughtPromiseErrors")]=y,L})}function Dt(e){e.__load_patch("toString",n=>{let a=Function.prototype.toString,t=H("OriginalDelegate"),c=H("Promise"),u=H("Error"),_=function(){if(typeof this=="function"){let T=this[t];if(T)return typeof T=="function"?a.call(T):Object.prototype.toString.call(T);if(this===Promise){let I=n[c];if(I)return a.call(I)}if(this===Error){let I=n[u];if(I)return a.call(I)}}return a.call(this)};_[t]=a,Function.prototype.toString=_;let E=Object.prototype.toString,y="[object Promise]";Object.prototype.toString=function(){return typeof Promise=="function"&&this instanceof Promise?y:E.call(this)}})}function Ot(e,n,a,t,c){let u=Zone.__symbol__(t);if(n[u])return;let _=n[u]=n[t];n[t]=function(E,y,C){return y&&y.prototype&&c.forEach(function(T){let I=`${a}.${t}::`+T,w=y.prototype;try{if(w.hasOwnProperty(T)){let Z=e.ObjectGetOwnPropertyDescriptor(w,T);Z&&Z.value?(Z.value=e.wrapWithCurrentZone(Z.value,I),e._redefineProperty(y.prototype,T,Z)):w[T]&&(w[T]=e.wrapWithCurrentZone(w[T],I))}else w[T]&&(w[T]=e.wrapWithCurrentZone(w[T],I))}catch{}}),_.call(n,E,y,C)},e.attachOriginToPatched(n[t],_)}function Nt(e){e.__load_patch("util",(n,a,t)=>{let c=Me(n);t.patchOnProperties=tt,t.patchMethod=le,t.bindArguments=Ve,t.patchMacroTask=Tt;let u=a.__symbol__("BLACK_LISTED_EVENTS"),_=a.__symbol__("UNPATCHED_EVENTS");n[_]&&(n[u]=n[_]),n[u]&&(a[u]=a[_]=n[u]),t.patchEventPrototype=kt,t.patchEventTarget=pt,t.isIEOrEdge=yt,t.ObjectDefineProperty=Ze,t.ObjectGetOwnPropertyDescriptor=ke,t.ObjectCreate=ht,t.ArraySlice=dt,t.patchClass=pe,t.wrapWithCurrentZone=xe,t.filterProperties=ct,t.attachOriginToPatched=ue,t._redefineProperty=Object.defineProperty,t.patchCallbacks=Ot,t.getGlobalObjects=()=>({globalSources:nt,zoneSymbolEventNames:te,eventNames:c,isBrowser:Fe,isMix:et,isNode:Se,TRUE_STR:ce,FALSE_STR:ae,ZONE_SYMBOL_PREFIX:ve,ADD_EVENT_LISTENER_STR:je,REMOVE_EVENT_LISTENER_STR:He})})}function It(e){St(e),Dt(e),Nt(e)}var at=ft();It(at);Ct(at); diff --git a/polyfills-FFHMD2TL.js b/polyfills-FFHMD2TL.js new file mode 100644 index 0000000..b01b791 --- /dev/null +++ b/polyfills-FFHMD2TL.js @@ -0,0 +1,2 @@ +var ce=globalThis;function te(e){return(ce.__Zone_symbol_prefix||"__zone_symbol__")+e}function dt(){let e=ce.performance;function n(M){e&&e.mark&&e.mark(M)}function a(M,s){e&&e.measure&&e.measure(M,s)}n("Zone");class t{static{this.__symbol__=te}static assertZonePatched(){if(ce.Promise!==S.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let s=t.current;for(;s.parent;)s=s.parent;return s}static get current(){return b.zone}static get currentTask(){return D}static __load_patch(s,i,o=!1){if(S.hasOwnProperty(s)){let g=ce[te("forceDuplicateZoneCheck")]===!0;if(!o&&g)throw Error("Already loaded patch: "+s)}else if(!ce["__Zone_disable_"+s]){let g="Zone:"+s;n(g),S[s]=i(ce,t,w),a(g,g)}}get parent(){return this._parent}get name(){return this._name}constructor(s,i){this._parent=s,this._name=i?i.name||"unnamed":"",this._properties=i&&i.properties||{},this._zoneDelegate=new f(this,this._parent&&this._parent._zoneDelegate,i)}get(s){let i=this.getZoneWith(s);if(i)return i._properties[s]}getZoneWith(s){let i=this;for(;i;){if(i._properties.hasOwnProperty(s))return i;i=i._parent}return null}fork(s){if(!s)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,s)}wrap(s,i){if(typeof s!="function")throw new Error("Expecting function got: "+s);let o=this._zoneDelegate.intercept(this,s,i),g=this;return function(){return g.runGuarded(o,this,arguments,i)}}run(s,i,o,g){b={parent:b,zone:this};try{return this._zoneDelegate.invoke(this,s,i,o,g)}finally{b=b.parent}}runGuarded(s,i=null,o,g){b={parent:b,zone:this};try{try{return this._zoneDelegate.invoke(this,s,i,o,g)}catch(V){if(this._zoneDelegate.handleError(this,V))throw V}}finally{b=b.parent}}runTask(s,i,o){if(s.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(s.zone||J).name+"; Execution: "+this.name+")");let g=s,{type:V,data:{isPeriodic:ee=!1,isRefreshable:Z=!1}={}}=s;if(s.state===q&&(V===z||V===y))return;let he=s.state!=A;he&&g._transitionTo(A,d);let _e=D;D=g,b={parent:b,zone:this};try{V==y&&s.data&&!ee&&!Z&&(s.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,g,i,o)}catch(Q){if(this._zoneDelegate.handleError(this,Q))throw Q}}finally{let Q=s.state;if(Q!==q&&Q!==X)if(V==z||ee||Z&&Q===k)he&&g._transitionTo(d,A,k);else{let Ee=g._zoneDelegates;this._updateTaskCount(g,-1),he&&g._transitionTo(q,A,q),Z&&(g._zoneDelegates=Ee)}b=b.parent,D=_e}}scheduleTask(s){if(s.zone&&s.zone!==this){let o=this;for(;o;){if(o===s.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${s.zone.name}`);o=o.parent}}s._transitionTo(k,q);let i=[];s._zoneDelegates=i,s._zone=this;try{s=this._zoneDelegate.scheduleTask(this,s)}catch(o){throw s._transitionTo(X,k,q),this._zoneDelegate.handleError(this,o),o}return s._zoneDelegates===i&&this._updateTaskCount(s,1),s.state==k&&s._transitionTo(d,k),s}scheduleMicroTask(s,i,o,g){return this.scheduleTask(new E(G,s,i,o,g,void 0))}scheduleMacroTask(s,i,o,g,V){return this.scheduleTask(new E(y,s,i,o,g,V))}scheduleEventTask(s,i,o,g,V){return this.scheduleTask(new E(z,s,i,o,g,V))}cancelTask(s){if(s.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(s.zone||J).name+"; Execution: "+this.name+")");if(!(s.state!==d&&s.state!==A)){s._transitionTo(x,d,A);try{this._zoneDelegate.cancelTask(this,s)}catch(i){throw s._transitionTo(X,x),this._zoneDelegate.handleError(this,i),i}return this._updateTaskCount(s,-1),s._transitionTo(q,x),s.runCount=-1,s}}_updateTaskCount(s,i){let o=s._zoneDelegates;i==-1&&(s._zoneDelegates=null);for(let g=0;gM.hasTask(i,o),onScheduleTask:(M,s,i,o)=>M.scheduleTask(i,o),onInvokeTask:(M,s,i,o,g,V)=>M.invokeTask(i,o,g,V),onCancelTask:(M,s,i,o)=>M.cancelTask(i,o)};class f{get zone(){return this._zone}constructor(s,i,o){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this._zone=s,this._parentDelegate=i,this._forkZS=o&&(o&&o.onFork?o:i._forkZS),this._forkDlgt=o&&(o.onFork?i:i._forkDlgt),this._forkCurrZone=o&&(o.onFork?this._zone:i._forkCurrZone),this._interceptZS=o&&(o.onIntercept?o:i._interceptZS),this._interceptDlgt=o&&(o.onIntercept?i:i._interceptDlgt),this._interceptCurrZone=o&&(o.onIntercept?this._zone:i._interceptCurrZone),this._invokeZS=o&&(o.onInvoke?o:i._invokeZS),this._invokeDlgt=o&&(o.onInvoke?i:i._invokeDlgt),this._invokeCurrZone=o&&(o.onInvoke?this._zone:i._invokeCurrZone),this._handleErrorZS=o&&(o.onHandleError?o:i._handleErrorZS),this._handleErrorDlgt=o&&(o.onHandleError?i:i._handleErrorDlgt),this._handleErrorCurrZone=o&&(o.onHandleError?this._zone:i._handleErrorCurrZone),this._scheduleTaskZS=o&&(o.onScheduleTask?o:i._scheduleTaskZS),this._scheduleTaskDlgt=o&&(o.onScheduleTask?i:i._scheduleTaskDlgt),this._scheduleTaskCurrZone=o&&(o.onScheduleTask?this._zone:i._scheduleTaskCurrZone),this._invokeTaskZS=o&&(o.onInvokeTask?o:i._invokeTaskZS),this._invokeTaskDlgt=o&&(o.onInvokeTask?i:i._invokeTaskDlgt),this._invokeTaskCurrZone=o&&(o.onInvokeTask?this._zone:i._invokeTaskCurrZone),this._cancelTaskZS=o&&(o.onCancelTask?o:i._cancelTaskZS),this._cancelTaskDlgt=o&&(o.onCancelTask?i:i._cancelTaskDlgt),this._cancelTaskCurrZone=o&&(o.onCancelTask?this._zone:i._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;let g=o&&o.onHasTask,V=i&&i._hasTaskZS;(g||V)&&(this._hasTaskZS=g?o:c,this._hasTaskDlgt=i,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=this._zone,o.onScheduleTask||(this._scheduleTaskZS=c,this._scheduleTaskDlgt=i,this._scheduleTaskCurrZone=this._zone),o.onInvokeTask||(this._invokeTaskZS=c,this._invokeTaskDlgt=i,this._invokeTaskCurrZone=this._zone),o.onCancelTask||(this._cancelTaskZS=c,this._cancelTaskDlgt=i,this._cancelTaskCurrZone=this._zone))}fork(s,i){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,s,i):new t(s,i)}intercept(s,i,o){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,s,i,o):i}invoke(s,i,o,g,V){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,s,i,o,g,V):i.apply(o,g)}handleError(s,i){return this._handleErrorZS?this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,s,i):!0}scheduleTask(s,i){let o=i;if(this._scheduleTaskZS)this._hasTaskZS&&o._zoneDelegates.push(this._hasTaskDlgtOwner),o=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,s,i),o||(o=i);else if(i.scheduleFn)i.scheduleFn(i);else if(i.type==G)U(i);else throw new Error("Task is missing scheduleFn.");return o}invokeTask(s,i,o,g){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,s,i,o,g):i.callback.apply(o,g)}cancelTask(s,i){let o;if(this._cancelTaskZS)o=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,s,i);else{if(!i.cancelFn)throw Error("Task is not cancelable");o=i.cancelFn(i)}return o}hasTask(s,i){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,s,i)}catch(o){this.handleError(s,o)}}_updateTaskCount(s,i){let o=this._taskCounts,g=o[s],V=o[s]=g+i;if(V<0)throw new Error("More tasks executed then were scheduled.");if(g==0||V==0){let ee={microTask:o.microTask>0,macroTask:o.macroTask>0,eventTask:o.eventTask>0,change:s};this.hasTask(this._zone,ee)}}}class E{constructor(s,i,o,g,V,ee){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=s,this.source=i,this.data=g,this.scheduleFn=V,this.cancelFn=ee,!o)throw new Error("callback is not defined");this.callback=o;let Z=this;s===z&&g&&g.useG?this.invoke=E.invokeTask:this.invoke=function(){return E.invokeTask.call(ce,Z,this,arguments)}}static invokeTask(s,i,o){s||(s=this),K++;try{return s.runCount++,s.zone.runTask(s,i,o)}finally{K==1&&$(),K--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(q,k)}_transitionTo(s,i,o){if(this._state===i||this._state===o)this._state=s,s==q&&(this._zoneDelegates=null);else throw new Error(`${this.type} '${this.source}': can not transition to '${s}', expecting state '${i}'${o?" or '"+o+"'":""}, was '${this._state}'.`)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}let T=te("setTimeout"),p=te("Promise"),C=te("then"),_=[],P=!1,I;function H(M){if(I||ce[p]&&(I=ce[p].resolve(0)),I){let s=I[C];s||(s=I.then),s.call(I,M)}else ce[T](M,0)}function U(M){K===0&&_.length===0&&H($),M&&_.push(M)}function $(){if(!P){for(P=!0;_.length;){let M=_;_=[];for(let s=0;sb,onUnhandledError:W,microtaskDrainDone:W,scheduleMicroTask:U,showUncaughtError:()=>!t[te("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:W,patchMethod:()=>W,bindArguments:()=>[],patchThen:()=>W,patchMacroTask:()=>W,patchEventPrototype:()=>W,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>W,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>W,wrapWithCurrentZone:()=>W,filterProperties:()=>[],attachOriginToPatched:()=>W,_redefineProperty:()=>W,patchCallbacks:()=>W,nativeScheduleMicroTask:H},b={parent:null,zone:new t(null,null)},D=null,K=0;function W(){}return a("Zone","Zone"),t}function _t(){let e=globalThis,n=e[te("forceDuplicateZoneCheck")]===!0;if(e.Zone&&(n||typeof e.Zone.__symbol__!="function"))throw new Error("Zone already loaded.");return e.Zone??=dt(),e.Zone}var be=Object.getOwnPropertyDescriptor,Ae=Object.defineProperty,je=Object.getPrototypeOf,Et=Object.create,Tt=Array.prototype.slice,He="addEventListener",xe="removeEventListener",Le=te(He),Ie=te(xe),ae="true",le="false",Pe=te("");function Ve(e,n){return Zone.current.wrap(e,n)}function Ge(e,n,a,t,c){return Zone.current.scheduleMacroTask(e,n,a,t,c)}var j=te,De=typeof window<"u",pe=De?window:void 0,Y=De&&pe||globalThis,gt="removeAttribute";function Fe(e,n){for(let a=e.length-1;a>=0;a--)typeof e[a]=="function"&&(e[a]=Ve(e[a],n+"_"+a));return e}function yt(e,n){let a=e.constructor.name;for(let t=0;t{let p=function(){return T.apply(this,Fe(arguments,a+"."+c))};return fe(p,T),p})(f)}}}function tt(e){return e?e.writable===!1?!1:!(typeof e.get=="function"&&typeof e.set>"u"):!0}var nt=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,Se=!("nw"in Y)&&typeof Y.process<"u"&&Y.process.toString()==="[object process]",Be=!Se&&!nt&&!!(De&&pe.HTMLElement),rt=typeof Y.process<"u"&&Y.process.toString()==="[object process]"&&!nt&&!!(De&&pe.HTMLElement),Ce={},mt=j("enable_beforeunload"),Ye=function(e){if(e=e||Y.event,!e)return;let n=Ce[e.type];n||(n=Ce[e.type]=j("ON_PROPERTY"+e.type));let a=this||e.target||Y,t=a[n],c;if(Be&&a===pe&&e.type==="error"){let f=e;c=t&&t.call(this,f.message,f.filename,f.lineno,f.colno,f.error),c===!0&&e.preventDefault()}else c=t&&t.apply(this,arguments),e.type==="beforeunload"&&Y[mt]&&typeof c=="string"?e.returnValue=c:c!=null&&!c&&e.preventDefault();return c};function $e(e,n,a){let t=be(e,n);if(!t&&a&&be(a,n)&&(t={enumerable:!0,configurable:!0}),!t||!t.configurable)return;let c=j("on"+n+"patched");if(e.hasOwnProperty(c)&&e[c])return;delete t.writable,delete t.value;let f=t.get,E=t.set,T=n.slice(2),p=Ce[T];p||(p=Ce[T]=j("ON_PROPERTY"+T)),t.set=function(C){let _=this;if(!_&&e===Y&&(_=Y),!_)return;typeof _[p]=="function"&&_.removeEventListener(T,Ye),E&&E.call(_,null),_[p]=C,typeof C=="function"&&_.addEventListener(T,Ye,!1)},t.get=function(){let C=this;if(!C&&e===Y&&(C=Y),!C)return null;let _=C[p];if(_)return _;if(f){let P=f.call(this);if(P)return t.set.call(this,P),typeof C[gt]=="function"&&C.removeAttribute(n),P}return null},Ae(e,n,t),e[c]=!0}function ot(e,n,a){if(n)for(let t=0;tfunction(E,T){let p=a(E,T);return p.cbIdx>=0&&typeof T[p.cbIdx]=="function"?Ge(p.name,T[p.cbIdx],p,c):f.apply(E,T)})}function fe(e,n){e[j("OriginalDelegate")]=n}var Je=!1,Me=!1;function kt(){try{let e=pe.navigator.userAgent;if(e.indexOf("MSIE ")!==-1||e.indexOf("Trident/")!==-1)return!0}catch{}return!1}function vt(){if(Je)return Me;Je=!0;try{let e=pe.navigator.userAgent;(e.indexOf("MSIE ")!==-1||e.indexOf("Trident/")!==-1||e.indexOf("Edge/")!==-1)&&(Me=!0)}catch{}return Me}function Ke(e){return typeof e=="function"}function Qe(e){return typeof e=="number"}var me=!1;if(typeof window<"u")try{let e=Object.defineProperty({},"passive",{get:function(){me=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{me=!1}var bt={useG:!0},ne={},st={},it=new RegExp("^"+Pe+"(\\w+)(true|false)$"),ct=j("propagationStopped");function at(e,n){let a=(n?n(e):e)+le,t=(n?n(e):e)+ae,c=Pe+a,f=Pe+t;ne[e]={},ne[e][le]=c,ne[e][ae]=f}function Pt(e,n,a,t){let c=t&&t.add||He,f=t&&t.rm||xe,E=t&&t.listeners||"eventListeners",T=t&&t.rmAll||"removeAllListeners",p=j(c),C="."+c+":",_="prependListener",P="."+_+":",I=function(k,d,A){if(k.isRemoved)return;let x=k.callback;typeof x=="object"&&x.handleEvent&&(k.callback=y=>x.handleEvent(y),k.originalDelegate=x);let X;try{k.invoke(k,d,[A])}catch(y){X=y}let G=k.options;if(G&&typeof G=="object"&&G.once){let y=k.originalDelegate?k.originalDelegate:k.callback;d[f].call(d,A.type,y,G)}return X};function H(k,d,A){if(d=d||e.event,!d)return;let x=k||d.target||e,X=x[ne[d.type][A?ae:le]];if(X){let G=[];if(X.length===1){let y=I(X[0],x,d);y&&G.push(y)}else{let y=X.slice();for(let z=0;z{throw z})}}}let U=function(k){return H(this,k,!1)},$=function(k){return H(this,k,!0)};function J(k,d){if(!k)return!1;let A=!0;d&&d.useG!==void 0&&(A=d.useG);let x=d&&d.vh,X=!0;d&&d.chkDup!==void 0&&(X=d.chkDup);let G=!1;d&&d.rt!==void 0&&(G=d.rt);let y=k;for(;y&&!y.hasOwnProperty(c);)y=je(y);if(!y&&k[c]&&(y=k),!y||y[p])return!1;let z=d&&d.eventNameToString,S={},w=y[p]=y[c],b=y[j(f)]=y[f],D=y[j(E)]=y[E],K=y[j(T)]=y[T],W;d&&d.prepend&&(W=y[j(d.prepend)]=y[d.prepend]);function M(r,u){return!me&&typeof r=="object"&&r?!!r.capture:!me||!u?r:typeof r=="boolean"?{capture:r,passive:!0}:r?typeof r=="object"&&r.passive!==!1?{...r,passive:!0}:r:{passive:!0}}let s=function(r){if(!S.isExisting)return w.call(S.target,S.eventName,S.capture?$:U,S.options)},i=function(r){if(!r.isRemoved){let u=ne[r.eventName],v;u&&(v=u[r.capture?ae:le]);let R=v&&r.target[v];if(R){for(let m=0;mre.zone.cancelTask(re);r.call(Te,"abort",ie,{once:!0}),re.removeAbortListener=()=>Te.removeEventListener("abort",ie)}if(S.target=null,ke&&(ke.taskData=null),Ue&&(S.options.once=!0),!me&&typeof re.options=="boolean"||(re.options=se),re.target=N,re.capture=Oe,re.eventName=L,B&&(re.originalDelegate=F),O?ge.unshift(re):ge.push(re),m)return N}};return y[c]=l(w,C,ee,Z,G),W&&(y[_]=l(W,P,g,Z,G,!0)),y[f]=function(){let r=this||e,u=arguments[0];d&&d.transferEventName&&(u=d.transferEventName(u));let v=arguments[2],R=v?typeof v=="boolean"?!0:v.capture:!1,m=arguments[1];if(!m)return b.apply(this,arguments);if(x&&!x(b,m,r,arguments))return;let O=ne[u],N;O&&(N=O[R?ae:le]);let L=N&&r[N];if(L)for(let F=0;Ffunction(c,f){c[ct]=!0,t&&t.apply(c,f)})}function Rt(e,n){n.patchMethod(e,"queueMicrotask",a=>function(t,c){Zone.current.scheduleMicroTask("queueMicrotask",c[0])})}var Re=j("zoneTask");function ye(e,n,a,t){let c=null,f=null;n+=t,a+=t;let E={};function T(C){let _=C.data;_.args[0]=function(){return C.invoke.apply(this,arguments)};let P=c.apply(e,_.args);return Qe(P)?_.handleId=P:(_.handle=P,_.isRefreshable=Ke(P.refresh)),C}function p(C){let{handle:_,handleId:P}=C.data;return f.call(e,_??P)}c=ue(e,n,C=>function(_,P){if(Ke(P[0])){let I={isRefreshable:!1,isPeriodic:t==="Interval",delay:t==="Timeout"||t==="Interval"?P[1]||0:void 0,args:P},H=P[0];P[0]=function(){try{return H.apply(this,arguments)}finally{let{handle:A,handleId:x,isPeriodic:X,isRefreshable:G}=I;!X&&!G&&(x?delete E[x]:A&&(A[Re]=null))}};let U=Ge(n,P[0],I,T,p);if(!U)return U;let{handleId:$,handle:J,isRefreshable:q,isPeriodic:k}=U.data;if($)E[$]=U;else if(J&&(J[Re]=U,q&&!k)){let d=J.refresh;J.refresh=function(){let{zone:A,state:x}=U;return x==="notScheduled"?(U._state="scheduled",A._updateTaskCount(U,1)):x==="running"&&(U._state="scheduling"),d.call(this)}}return J??$??U}else return C.apply(e,P)}),f=ue(e,a,C=>function(_,P){let I=P[0],H;Qe(I)?(H=E[I],delete E[I]):(H=I?.[Re],H?I[Re]=null:H=I),H?.type?H.cancelFn&&H.zone.cancelTask(H):C.apply(e,P)})}function Ct(e,n){let{isBrowser:a,isMix:t}=n.getGlobalObjects();if(!a&&!t||!e.customElements||!("customElements"in e))return;let c=["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback","formAssociatedCallback","formDisabledCallback","formResetCallback","formStateRestoreCallback"];n.patchCallbacks(n,e.customElements,"customElements","define",c)}function Dt(e,n){if(Zone[n.symbol("patchEventTarget")])return;let{eventNames:a,zoneSymbolEventNames:t,TRUE_STR:c,FALSE_STR:f,ZONE_SYMBOL_PREFIX:E}=n.getGlobalObjects();for(let p=0;pf.target===e);if(!t||t.length===0)return n;let c=t[0].ignoreProperties;return n.filter(f=>c.indexOf(f)===-1)}function et(e,n,a,t){if(!e)return;let c=ut(e,n,a);ot(e,c,t)}function Ze(e){return Object.getOwnPropertyNames(e).filter(n=>n.startsWith("on")&&n.length>2).map(n=>n.substring(2))}function Ot(e,n){if(Se&&!rt||Zone[e.symbol("patchEvents")])return;let a=n.__Zone_ignore_on_properties,t=[];if(Be){let c=window;t=t.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);let f=kt()?[{target:c,ignoreProperties:["error"]}]:[];et(c,Ze(c),a&&a.concat(f),je(c))}t=t.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let c=0;c{let a=n[e.__symbol__("legacyPatch")];a&&a()}),e.__load_patch("timers",n=>{let a="set",t="clear";ye(n,a,t,"Timeout"),ye(n,a,t,"Interval"),ye(n,a,t,"Immediate")}),e.__load_patch("requestAnimationFrame",n=>{ye(n,"request","cancel","AnimationFrame"),ye(n,"mozRequest","mozCancel","AnimationFrame"),ye(n,"webkitRequest","webkitCancel","AnimationFrame")}),e.__load_patch("blocking",(n,a)=>{let t=["alert","prompt","confirm"];for(let c=0;cfunction(C,_){return a.current.run(E,n,_,p)})}}),e.__load_patch("EventTarget",(n,a,t)=>{St(n,t),Dt(n,t);let c=n.XMLHttpRequestEventTarget;c&&c.prototype&&t.patchEventTarget(n,t,[c.prototype])}),e.__load_patch("MutationObserver",(n,a,t)=>{ve("MutationObserver"),ve("WebKitMutationObserver")}),e.__load_patch("IntersectionObserver",(n,a,t)=>{ve("IntersectionObserver")}),e.__load_patch("FileReader",(n,a,t)=>{ve("FileReader")}),e.__load_patch("on_property",(n,a,t)=>{Ot(t,n)}),e.__load_patch("customElements",(n,a,t)=>{Ct(n,t)}),e.__load_patch("XHR",(n,a)=>{C(n);let t=j("xhrTask"),c=j("xhrSync"),f=j("xhrListener"),E=j("xhrScheduled"),T=j("xhrURL"),p=j("xhrErrorBeforeScheduled");function C(_){let P=_.XMLHttpRequest;if(!P)return;let I=P.prototype;function H(w){return w[t]}let U=I[Le],$=I[Ie];if(!U){let w=_.XMLHttpRequestEventTarget;if(w){let b=w.prototype;U=b[Le],$=b[Ie]}}let J="readystatechange",q="scheduled";function k(w){let b=w.data,D=b.target;D[E]=!1,D[p]=!1;let K=D[f];U||(U=D[Le],$=D[Ie]),K&&$.call(D,J,K);let W=D[f]=()=>{if(D.readyState===D.DONE)if(!b.aborted&&D[E]&&w.state===q){let s=D[a.__symbol__("loadfalse")];if(D.status!==0&&s&&s.length>0){let i=w.invoke;w.invoke=function(){let o=D[a.__symbol__("loadfalse")];for(let g=0;gfunction(w,b){return w[c]=b[2]==!1,w[T]=b[1],x.apply(w,b)}),X="XMLHttpRequest.send",G=j("fetchTaskAborting"),y=j("fetchTaskScheduling"),z=ue(I,"send",()=>function(w,b){if(a.current[y]===!0||w[c])return z.apply(w,b);{let D={target:w,url:w[T],isPeriodic:!1,args:b,aborted:!1},K=Ge(X,d,D,k,A);w&&w[p]===!0&&!D.aborted&&K.state===q&&K.invoke()}}),S=ue(I,"abort",()=>function(w,b){let D=H(w);if(D&&typeof D.type=="string"){if(D.cancelFn==null||D.data&&D.data.aborted)return;D.zone.cancelTask(D)}else if(a.current[G]===!0)return S.apply(w,b)})}}),e.__load_patch("geolocation",n=>{n.navigator&&n.navigator.geolocation&&yt(n.navigator.geolocation,["getCurrentPosition","watchPosition"])}),e.__load_patch("PromiseRejectionEvent",(n,a)=>{function t(c){return function(f){lt(n,c).forEach(T=>{let p=n.PromiseRejectionEvent;if(p){let C=new p(c,{promise:f.promise,reason:f.rejection});T.invoke(C)}})}}n.PromiseRejectionEvent&&(a[j("unhandledPromiseRejectionHandler")]=t("unhandledrejection"),a[j("rejectionHandledHandler")]=t("rejectionhandled"))}),e.__load_patch("queueMicrotask",(n,a,t)=>{Rt(n,t)})}function Lt(e){e.__load_patch("ZoneAwarePromise",(n,a,t)=>{let c=Object.getOwnPropertyDescriptor,f=Object.defineProperty;function E(h){if(h&&h.toString===Object.prototype.toString){let l=h.constructor&&h.constructor.name;return(l||"")+": "+JSON.stringify(h)}return h?h.toString():Object.prototype.toString.call(h)}let T=t.symbol,p=[],C=n[T("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")]!==!1,_=T("Promise"),P=T("then"),I="__creationTrace__";t.onUnhandledError=h=>{if(t.showUncaughtError()){let l=h&&h.rejection;l?console.error("Unhandled Promise rejection:",l instanceof Error?l.message:l,"; Zone:",h.zone.name,"; Task:",h.task&&h.task.source,"; Value:",l,l instanceof Error?l.stack:void 0):console.error(h)}},t.microtaskDrainDone=()=>{for(;p.length;){let h=p.shift();try{h.zone.runGuarded(()=>{throw h.throwOriginal?h.rejection:h})}catch(l){U(l)}}};let H=T("unhandledPromiseRejectionHandler");function U(h){t.onUnhandledError(h);try{let l=a[H];typeof l=="function"&&l.call(this,h)}catch{}}function $(h){return h&&h.then}function J(h){return h}function q(h){return Z.reject(h)}let k=T("state"),d=T("value"),A=T("finally"),x=T("parentPromiseValue"),X=T("parentPromiseState"),G="Promise.then",y=null,z=!0,S=!1,w=0;function b(h,l){return r=>{try{M(h,l,r)}catch(u){M(h,!1,u)}}}let D=function(){let h=!1;return function(r){return function(){h||(h=!0,r.apply(null,arguments))}}},K="Promise resolved with itself",W=T("currentTaskTrace");function M(h,l,r){let u=D();if(h===r)throw new TypeError(K);if(h[k]===y){let v=null;try{(typeof r=="object"||typeof r=="function")&&(v=r&&r.then)}catch(R){return u(()=>{M(h,!1,R)})(),h}if(l!==S&&r instanceof Z&&r.hasOwnProperty(k)&&r.hasOwnProperty(d)&&r[k]!==y)i(r),M(h,r[k],r[d]);else if(l!==S&&typeof v=="function")try{v.call(r,u(b(h,l)),u(b(h,!1)))}catch(R){u(()=>{M(h,!1,R)})()}else{h[k]=l;let R=h[d];if(h[d]=r,h[A]===A&&l===z&&(h[k]=h[X],h[d]=h[x]),l===S&&r instanceof Error){let m=a.currentTask&&a.currentTask.data&&a.currentTask.data[I];m&&f(r,W,{configurable:!0,enumerable:!1,writable:!0,value:m})}for(let m=0;m{try{let O=h[d],N=!!r&&A===r[A];N&&(r[x]=O,r[X]=R);let L=l.run(m,void 0,N&&m!==q&&m!==J?[]:[O]);M(r,!0,L)}catch(O){M(r,!1,O)}},r)}let g="function ZoneAwarePromise() { [native code] }",V=function(){},ee=n.AggregateError;class Z{static toString(){return g}static resolve(l){return l instanceof Z?l:M(new this(null),z,l)}static reject(l){return M(new this(null),S,l)}static withResolvers(){let l={};return l.promise=new Z((r,u)=>{l.resolve=r,l.reject=u}),l}static any(l){if(!l||typeof l[Symbol.iterator]!="function")return Promise.reject(new ee([],"All promises were rejected"));let r=[],u=0;try{for(let m of l)u++,r.push(Z.resolve(m))}catch{return Promise.reject(new ee([],"All promises were rejected"))}if(u===0)return Promise.reject(new ee([],"All promises were rejected"));let v=!1,R=[];return new Z((m,O)=>{for(let N=0;N{v||(v=!0,m(L))},L=>{R.push(L),u--,u===0&&(v=!0,O(new ee(R,"All promises were rejected")))})})}static race(l){let r,u,v=new this((O,N)=>{r=O,u=N});function R(O){r(O)}function m(O){u(O)}for(let O of l)$(O)||(O=this.resolve(O)),O.then(R,m);return v}static all(l){return Z.allWithCallback(l)}static allSettled(l){return(this&&this.prototype instanceof Z?this:Z).allWithCallback(l,{thenCallback:u=>({status:"fulfilled",value:u}),errorCallback:u=>({status:"rejected",reason:u})})}static allWithCallback(l,r){let u,v,R=new this((L,F)=>{u=L,v=F}),m=2,O=0,N=[];for(let L of l){$(L)||(L=this.resolve(L));let F=O;try{L.then(B=>{N[F]=r?r.thenCallback(B):B,m--,m===0&&u(N)},B=>{r?(N[F]=r.errorCallback(B),m--,m===0&&u(N)):v(B)})}catch(B){v(B)}m++,O++}return m-=2,m===0&&u(N),R}constructor(l){let r=this;if(!(r instanceof Z))throw new Error("Must be an instanceof Promise.");r[k]=y,r[d]=[];try{let u=D();l&&l(u(b(r,z)),u(b(r,S)))}catch(u){M(r,!1,u)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return Z}then(l,r){let u=this.constructor?.[Symbol.species];(!u||typeof u!="function")&&(u=this.constructor||Z);let v=new u(V),R=a.current;return this[k]==y?this[d].push(R,v,l,r):o(this,R,v,l,r),v}catch(l){return this.then(null,l)}finally(l){let r=this.constructor?.[Symbol.species];(!r||typeof r!="function")&&(r=Z);let u=new r(V);u[A]=A;let v=a.current;return this[k]==y?this[d].push(v,u,l,l):o(this,v,u,l,l),u}}Z.resolve=Z.resolve,Z.reject=Z.reject,Z.race=Z.race,Z.all=Z.all;let he=n[_]=n.Promise;n.Promise=Z;let _e=T("thenPatched");function Q(h){let l=h.prototype,r=c(l,"then");if(r&&(r.writable===!1||!r.configurable))return;let u=l.then;l[P]=u,h.prototype.then=function(v,R){return new Z((O,N)=>{u.call(this,O,N)}).then(v,R)},h[_e]=!0}t.patchThen=Q;function Ee(h){return function(l,r){let u=h.apply(l,r);if(u instanceof Z)return u;let v=u.constructor;return v[_e]||Q(v),u}}return he&&(Q(he),ue(n,"fetch",h=>Ee(h))),Promise[a.__symbol__("uncaughtPromiseErrors")]=p,Z})}function It(e){e.__load_patch("toString",n=>{let a=Function.prototype.toString,t=j("OriginalDelegate"),c=j("Promise"),f=j("Error"),E=function(){if(typeof this=="function"){let _=this[t];if(_)return typeof _=="function"?a.call(_):Object.prototype.toString.call(_);if(this===Promise){let P=n[c];if(P)return a.call(P)}if(this===Error){let P=n[f];if(P)return a.call(P)}}return a.call(this)};E[t]=a,Function.prototype.toString=E;let T=Object.prototype.toString,p="[object Promise]";Object.prototype.toString=function(){return typeof Promise=="function"&&this instanceof Promise?p:T.call(this)}})}function Mt(e,n,a,t,c){let f=Zone.__symbol__(t);if(n[f])return;let E=n[f]=n[t];n[t]=function(T,p,C){return p&&p.prototype&&c.forEach(function(_){let P=`${a}.${t}::`+_,I=p.prototype;try{if(I.hasOwnProperty(_)){let H=e.ObjectGetOwnPropertyDescriptor(I,_);H&&H.value?(H.value=e.wrapWithCurrentZone(H.value,P),e._redefineProperty(p.prototype,_,H)):I[_]&&(I[_]=e.wrapWithCurrentZone(I[_],P))}else I[_]&&(I[_]=e.wrapWithCurrentZone(I[_],P))}catch{}}),E.call(n,T,p,C)},e.attachOriginToPatched(n[t],E)}function Zt(e){e.__load_patch("util",(n,a,t)=>{let c=Ze(n);t.patchOnProperties=ot,t.patchMethod=ue,t.bindArguments=Fe,t.patchMacroTask=pt;let f=a.__symbol__("BLACK_LISTED_EVENTS"),E=a.__symbol__("UNPATCHED_EVENTS");n[E]&&(n[f]=n[E]),n[f]&&(a[f]=a[E]=n[f]),t.patchEventPrototype=wt,t.patchEventTarget=Pt,t.isIEOrEdge=vt,t.ObjectDefineProperty=Ae,t.ObjectGetOwnPropertyDescriptor=be,t.ObjectCreate=Et,t.ArraySlice=Tt,t.patchClass=ve,t.wrapWithCurrentZone=Ve,t.filterProperties=ut,t.attachOriginToPatched=fe,t._redefineProperty=Object.defineProperty,t.patchCallbacks=Mt,t.getGlobalObjects=()=>({globalSources:st,zoneSymbolEventNames:ne,eventNames:c,isBrowser:Be,isMix:rt,isNode:Se,TRUE_STR:ae,FALSE_STR:le,ZONE_SYMBOL_PREFIX:Pe,ADD_EVENT_LISTENER_STR:He,REMOVE_EVENT_LISTENER_STR:xe})})}function At(e){Lt(e),It(e),Zt(e)}var ft=_t();At(ft);Nt(ft); diff --git a/scripts-J7FTUXH3.js b/scripts-J7FTUXH3.js new file mode 100644 index 0000000..176dd6f --- /dev/null +++ b/scripts-J7FTUXH3.js @@ -0,0 +1,56 @@ +(function(k,z){typeof exports=="object"&&typeof module<"u"?z(exports):typeof define=="function"&&define.amd?define(["exports"],z):z((k=typeof globalThis<"u"?globalThis:k||self).marked={})})(this,function(k){"use strict";function z(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}function U(c){k.defaults=c}k.defaults={async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null};const A={exec:()=>null};function g(c,e=""){let t=typeof c=="string"?c:c.source;const n={replace:(r,s)=>{let i=typeof s=="string"?s:s.source;return i=i.replace(b.caret,"$1"),t=t.replace(r,i),n},getRegex:()=>new RegExp(t,e)};return n}const b={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:c=>new RegExp(`^( {0,3}${c})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:c=>new RegExp(`^ {0,${Math.min(3,c-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:c=>new RegExp(`^ {0,${Math.min(3,c-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:c=>new RegExp(`^ {0,${Math.min(3,c-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:c=>new RegExp(`^ {0,${Math.min(3,c-1)}}#`),htmlBeginRegex:c=>new RegExp(`^ {0,${Math.min(3,c-1)}}<(?:[a-z].*>|!--)`,"i")},S=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,J=/(?:[*+-]|\d{1,9}[.)])/,V=g(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,J).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).getRegex(),O=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,Q=/(?!\s*\])(?:\\.|[^\[\]\\])+/,pe=g(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",Q).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),ue=g(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,J).getRegex(),P="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",j=/|$))/,ke=g("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",j).replace("tag",P).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),W=g(O).replace("hr",S).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",P).getRegex(),N={blockquote:g(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",W).getRegex(),code:/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,def:pe,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hr:S,html:ke,lheading:V,list:ue,newline:/^(?:[ \t]*(?:\n|$))+/,paragraph:W,table:A,text:/^[^\n]+/},K=g("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",S).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",P).getRegex(),ge={...N,table:K,paragraph:g(O).replace("hr",S).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",K).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",P).getRegex()},de={...N,html:g(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",j).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:A,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:g(O).replace("hr",S).replace("heading",` *#{1,6} *[^ +]`).replace("lheading",V).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},Y=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,ee=/^( {2,}|\\)\n(?!\s*$)/,_=new RegExp("\\p{P}\\p{S}","u"),fe=g(/^((?![*_])[\spunctuation])/,"u").replace(/punctuation/g,_).getRegex(),xe=g(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,"u").replace(/punct/g,_).getRegex(),be=g("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])","gu").replace(/punct/g,_).getRegex(),we=g("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])","gu").replace(/punct/g,_).getRegex(),me=g(/\\([punct])/,"gu").replace(/punct/g,_).getRegex(),ye=g(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[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])?)+(?![-_])/).getRegex(),$e=g(j).replace("(?:-->|$)","-->").getRegex(),Re=g("^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^").replace("comment",$e).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),Z=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,Te=g(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",Z).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),te=g(/^!?\[(label)\]\[(ref)\]/).replace("label",Z).replace("ref",Q).getRegex(),ne=g(/^!?\[(ref)\](?:\[\])?/).replace("ref",Q).getRegex(),G={_backpedal:A,anyPunctuation:me,autolink:ye,blockSkip:/\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g,br:ee,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,del:A,emStrongLDelim:xe,emStrongRDelimAst:be,emStrongRDelimUnd:we,escape:Y,link:Te,nolink:ne,punctuation:fe,reflink:te,reflinkSearch:g("reflink|nolink(?!\\()","g").replace("reflink",te).replace("nolink",ne).getRegex(),tag:Re,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\":">",'"':""","'":"'"},se=c=>Se[c];function $(c,e){if(e){if(b.escapeTest.test(c))return c.replace(b.escapeReplace,se)}else if(b.escapeTestNoEncode.test(c))return c.replace(b.escapeReplaceNoEncode,se);return c}function re(c){try{c=encodeURI(c).replace(b.percentDecode,"%")}catch{return null}return c}function ie(c,e){const t=c.replace(b.findPipe,(r,s,i)=>{let l=!1,a=s;for(;--a>=0&&i[a]==="\\";)l=!l;return l?"|":" |"}).split(b.splitPipe);let n=0;if(t[0].trim()||t.shift(),t.length>0&&!t.at(-1)?.trim()&&t.pop(),e)if(t.length>e)t.splice(e);else for(;t.length0)return{type:"space",raw:t[0]}}code(e){const t=this.rules.block.code.exec(e);if(t){const n=t[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?n:L(n,` +`)}}}fences(e){const t=this.rules.block.fences.exec(e);if(t){const n=t[0],r=function(s,i,l){const a=s.match(l.other.indentCodeCompensation);if(a===null)return i;const o=a[1];return i.split(` +`).map(h=>{const p=h.match(l.other.beginningSpace);if(p===null)return h;const[f]=p;return f.length>=o.length?h.slice(o.length):h}).join(` +`)}(n,t[3]||"",this.rules);return{type:"code",raw:n,lang:t[2]?t[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):t[2],text:r}}}heading(e){const t=this.rules.block.heading.exec(e);if(t){let n=t[2].trim();if(this.rules.other.endingHash.test(n)){const r=L(n,"#");this.options.pedantic?n=r.trim():r&&!this.rules.other.endingSpaceChar.test(r)||(n=r.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:n,tokens:this.lexer.inline(n)}}}hr(e){const t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:L(t[0],` +`)}}blockquote(e){const t=this.rules.block.blockquote.exec(e);if(t){let n=L(t[0],` +`).split(` +`),r="",s="";const i=[];for(;n.length>0;){let l=!1;const a=[];let o;for(o=0;o1,s={type:"list",raw:"",ordered:r,start:r?+n.slice(0,-1):"",loose:!1,items:[]};n=r?`\\d{1,9}\\${n.slice(-1)}`:`\\${n}`,this.options.pedantic&&(n=r?n:"[*+-]");const i=this.rules.other.listItemRegex(n);let l=!1;for(;e;){let o=!1,h="",p="";if(!(t=i.exec(e))||this.rules.block.hr.test(e))break;h=t[0],e=e.substring(h.length);let f=t[2].split(` +`,1)[0].replace(this.rules.other.listReplaceTabs,X=>" ".repeat(3*X.length)),d=e.split(` +`,1)[0],w=!f.trim(),x=0;if(this.options.pedantic?(x=2,p=f.trimStart()):w?x=t[1].length+1:(x=t[2].search(this.rules.other.nonSpaceChar),x=x>4?1:x,p=f.slice(x),x+=t[1].length),w&&this.rules.other.blankLine.test(d)&&(h+=d+` +`,e=e.substring(d.length+1),o=!0),!o){const X=this.rules.other.nextBulletRegex(x),ae=this.rules.other.hrRegex(x),ce=this.rules.other.fencesBeginRegex(x),he=this.rules.other.headingBeginRegex(x),Ze=this.rules.other.htmlBeginRegex(x);for(;e;){const F=e.split(` +`,1)[0];let q;if(d=F,this.options.pedantic?(d=d.replace(this.rules.other.listReplaceNesting," "),q=d):q=d.replace(this.rules.other.tabCharGlobal," "),ce.test(d)||he.test(d)||Ze.test(d)||X.test(d)||ae.test(d))break;if(q.search(this.rules.other.nonSpaceChar)>=x||!d.trim())p+=` +`+q.slice(x);else{if(w||f.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||ce.test(f)||he.test(f)||ae.test(f))break;p+=` +`+d}w||d.trim()||(w=!0),h+=F+` +`,e=e.substring(F.length+1),f=q.slice(x)}}s.loose||(l?s.loose=!0:this.rules.other.doubleBlankLine.test(h)&&(l=!0));let R,M=null;this.options.gfm&&(M=this.rules.other.listIsTask.exec(p),M&&(R=M[0]!=="[ ] ",p=p.replace(this.rules.other.listReplaceTask,""))),s.items.push({type:"list_item",raw:h,task:!!M,checked:R,loose:!1,text:p,tokens:[]}),s.raw+=h}const a=s.items.at(-1);a&&(a.raw=a.raw.trimEnd(),a.text=a.text.trimEnd()),s.raw=s.raw.trimEnd();for(let o=0;of.type==="space"),p=h.length>0&&h.some(f=>this.rules.other.anyLine.test(f.raw));s.loose=p}if(s.loose)for(let o=0;o({text:a,tokens:this.lexer.inline(a),header:!1,align:i.align[o]})));return i}}lheading(e){const t=this.rules.block.lheading.exec(e);if(t)return{type:"heading",raw:t[0],depth:t[2].charAt(0)==="="?1:2,text:t[1],tokens:this.lexer.inline(t[1])}}paragraph(e){const t=this.rules.block.paragraph.exec(e);if(t){const n=t[1].charAt(t[1].length-1)===` +`?t[1].slice(0,-1):t[1];return{type:"paragraph",raw:t[0],text:n,tokens:this.lexer.inline(n)}}}text(e){const t=this.rules.block.text.exec(e);if(t)return{type:"text",raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}escape(e){const t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:t[1]}}tag(e){const t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&this.rules.other.startATag.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}link(e){const t=this.rules.inline.link.exec(e);if(t){const n=t[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(n)){if(!this.rules.other.endAngleBracket.test(n))return;const i=L(n.slice(0,-1),"\\");if((n.length-i.length)%2==0)return}else{const i=function(l,a){if(l.indexOf(a[1])===-1)return-1;let o=0;for(let h=0;h-1){const l=(t[0].indexOf("!")===0?5:4)+t[1].length+i;t[2]=t[2].substring(0,i),t[0]=t[0].substring(0,l).trim(),t[3]=""}}let r=t[2],s="";if(this.options.pedantic){const i=this.rules.other.pedanticHrefTitle.exec(r);i&&(r=i[1],s=i[3])}else s=t[3]?t[3].slice(1,-1):"";return r=r.trim(),this.rules.other.startAngleBracket.test(r)&&(r=this.options.pedantic&&!this.rules.other.endAngleBracket.test(n)?r.slice(1):r.slice(1,-1)),le(t,{href:r&&r.replace(this.rules.inline.anyPunctuation,"$1"),title:s&&s.replace(this.rules.inline.anyPunctuation,"$1")},t[0],this.lexer,this.rules)}}reflink(e,t){let n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){const r=t[(n[2]||n[1]).replace(this.rules.other.multipleSpaceGlobal," ").toLowerCase()];if(!r){const s=n[0].charAt(0);return{type:"text",raw:s,text:s}}return le(n,r,n[0],this.lexer,this.rules)}}emStrong(e,t,n=""){let r=this.rules.inline.emStrongLDelim.exec(e);if(r&&!(r[3]&&n.match(this.rules.other.unicodeAlphaNumeric))&&(!(r[1]||r[2])||!n||this.rules.inline.punctuation.exec(n))){const s=[...r[0]].length-1;let i,l,a=s,o=0;const h=r[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(h.lastIndex=0,t=t.slice(-1*e.length+s);(r=h.exec(t))!=null;){if(i=r[1]||r[2]||r[3]||r[4]||r[5]||r[6],!i)continue;if(l=[...i].length,r[3]||r[4]){a+=l;continue}if((r[5]||r[6])&&s%3&&!((s+l)%3)){o+=l;continue}if(a-=l,a>0)continue;l=Math.min(l,l+a+o);const p=[...r[0]][0].length,f=e.slice(0,s+r.index+p+l);if(Math.min(s,l)%2){const w=f.slice(1,-1);return{type:"em",raw:f,text:w,tokens:this.lexer.inlineTokens(w)}}const d=f.slice(2,-2);return{type:"strong",raw:f,text:d,tokens:this.lexer.inlineTokens(d)}}}}codespan(e){const t=this.rules.inline.code.exec(e);if(t){let n=t[2].replace(this.rules.other.newLineCharGlobal," ");const r=this.rules.other.nonSpaceChar.test(n),s=this.rules.other.startingSpaceChar.test(n)&&this.rules.other.endingSpaceChar.test(n);return r&&s&&(n=n.substring(1,n.length-1)),{type:"codespan",raw:t[0],text:n}}}br(e){const t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e){const t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}}autolink(e){const t=this.rules.inline.autolink.exec(e);if(t){let n,r;return t[2]==="@"?(n=t[1],r="mailto:"+n):(n=t[1],r=n),{type:"link",raw:t[0],text:n,href:r,tokens:[{type:"text",raw:n,text:n}]}}}url(e){let t;if(t=this.rules.inline.url.exec(e)){let n,r;if(t[2]==="@")n=t[0],r="mailto:"+n;else{let s;do s=t[0],t[0]=this.rules.inline._backpedal.exec(t[0])?.[0]??"";while(s!==t[0]);n=t[0],r=t[1]==="www."?"http://"+t[0]:t[0]}return{type:"link",raw:t[0],text:n,href:r,tokens:[{type:"text",raw:n,text:n}]}}}inlineText(e){const t=this.rules.inline.text.exec(e);if(t){const n=this.lexer.state.inRawBlock;return{type:"text",raw:t[0],text:t[0],escaped:n}}}}class m{tokens;options;state;tokenizer;inlineQueue;constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||k.defaults,this.options.tokenizer=this.options.tokenizer||new B,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};const t={other:b,block:v.normal,inline:I.normal};this.options.pedantic?(t.block=v.pedantic,t.inline=I.pedantic):this.options.gfm&&(t.block=v.gfm,this.options.breaks?t.inline=I.breaks:t.inline=I.gfm),this.tokenizer.rules=t}static get rules(){return{block:v,inline:I}}static lex(e,t){return new m(t).lex(e)}static lexInline(e,t){return new m(t).inlineTokens(e)}lex(e){e=e.replace(b.carriageReturn,` +`),this.blockTokens(e,this.tokens);for(let t=0;t!!(r=i.call({lexer:this},e,t))&&(e=e.substring(r.raw.length),t.push(r),!0)))continue;if(r=this.tokenizer.space(e)){e=e.substring(r.raw.length);const i=t.at(-1);r.raw.length===1&&i!==void 0?i.raw+=` +`:t.push(r);continue}if(r=this.tokenizer.code(e)){e=e.substring(r.raw.length);const i=t.at(-1);i?.type==="paragraph"||i?.type==="text"?(i.raw+=` +`+r.raw,i.text+=` +`+r.text,this.inlineQueue.at(-1).src=i.text):t.push(r);continue}if(r=this.tokenizer.fences(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.heading(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.hr(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.blockquote(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.list(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.html(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.def(e)){e=e.substring(r.raw.length);const i=t.at(-1);i?.type==="paragraph"||i?.type==="text"?(i.raw+=` +`+r.raw,i.text+=` +`+r.raw,this.inlineQueue.at(-1).src=i.text):this.tokens.links[r.tag]||(this.tokens.links[r.tag]={href:r.href,title:r.title});continue}if(r=this.tokenizer.table(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.lheading(e)){e=e.substring(r.raw.length),t.push(r);continue}let s=e;if(this.options.extensions?.startBlock){let i=1/0;const l=e.slice(1);let a;this.options.extensions.startBlock.forEach(o=>{a=o.call({lexer:this},l),typeof a=="number"&&a>=0&&(i=Math.min(i,a))}),i<1/0&&i>=0&&(s=e.substring(0,i+1))}if(this.state.top&&(r=this.tokenizer.paragraph(s))){const i=t.at(-1);n&&i?.type==="paragraph"?(i.raw+=` +`+r.raw,i.text+=` +`+r.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=i.text):t.push(r),n=s.length!==e.length,e=e.substring(r.raw.length)}else if(r=this.tokenizer.text(e)){e=e.substring(r.raw.length);const i=t.at(-1);i?.type==="text"?(i.raw+=` +`+r.raw,i.text+=` +`+r.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=i.text):t.push(r)}else if(e){const i="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(i);break}throw new Error(i)}}return this.state.top=!0,t}inline(e,t=[]){return this.inlineQueue.push({src:e,tokens:t}),t}inlineTokens(e,t=[]){let n=e,r=null;if(this.tokens.links){const l=Object.keys(this.tokens.links);if(l.length>0)for(;(r=this.tokenizer.rules.inline.reflinkSearch.exec(n))!=null;)l.includes(r[0].slice(r[0].lastIndexOf("[")+1,-1))&&(n=n.slice(0,r.index)+"["+"a".repeat(r[0].length-2)+"]"+n.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(r=this.tokenizer.rules.inline.blockSkip.exec(n))!=null;)n=n.slice(0,r.index)+"["+"a".repeat(r[0].length-2)+"]"+n.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(r=this.tokenizer.rules.inline.anyPunctuation.exec(n))!=null;)n=n.slice(0,r.index)+"++"+n.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);let s=!1,i="";for(;e;){let l;if(s||(i=""),s=!1,this.options.extensions?.inline?.some(o=>!!(l=o.call({lexer:this},e,t))&&(e=e.substring(l.raw.length),t.push(l),!0)))continue;if(l=this.tokenizer.escape(e)){e=e.substring(l.raw.length),t.push(l);continue}if(l=this.tokenizer.tag(e)){e=e.substring(l.raw.length),t.push(l);continue}if(l=this.tokenizer.link(e)){e=e.substring(l.raw.length),t.push(l);continue}if(l=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(l.raw.length);const o=t.at(-1);l.type==="text"&&o?.type==="text"?(o.raw+=l.raw,o.text+=l.text):t.push(l);continue}if(l=this.tokenizer.emStrong(e,n,i)){e=e.substring(l.raw.length),t.push(l);continue}if(l=this.tokenizer.codespan(e)){e=e.substring(l.raw.length),t.push(l);continue}if(l=this.tokenizer.br(e)){e=e.substring(l.raw.length),t.push(l);continue}if(l=this.tokenizer.del(e)){e=e.substring(l.raw.length),t.push(l);continue}if(l=this.tokenizer.autolink(e)){e=e.substring(l.raw.length),t.push(l);continue}if(!this.state.inLink&&(l=this.tokenizer.url(e))){e=e.substring(l.raw.length),t.push(l);continue}let a=e;if(this.options.extensions?.startInline){let o=1/0;const h=e.slice(1);let p;this.options.extensions.startInline.forEach(f=>{p=f.call({lexer:this},h),typeof p=="number"&&p>=0&&(o=Math.min(o,p))}),o<1/0&&o>=0&&(a=e.substring(0,o+1))}if(l=this.tokenizer.inlineText(a)){e=e.substring(l.raw.length),l.raw.slice(-1)!=="_"&&(i=l.raw.slice(-1)),s=!0;const o=t.at(-1);o?.type==="text"?(o.raw+=l.raw,o.text+=l.text):t.push(l)}else if(e){const o="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(o);break}throw new Error(o)}}return t}}class C{options;parser;constructor(e){this.options=e||k.defaults}space(e){return""}code({text:e,lang:t,escaped:n}){const r=(t||"").match(b.notSpaceStart)?.[0],s=e.replace(b.endingNewline,"")+` +`;return r?'
    '+(n?s:$(s,!0))+`
    +`:"
    "+(n?s:$(s,!0))+`
    +`}blockquote({tokens:e}){return`
    +${this.parser.parse(e)}
    +`}html({text:e}){return e}heading({tokens:e,depth:t}){return`${this.parser.parseInline(e)} +`}hr(e){return`
    +`}list(e){const t=e.ordered,n=e.start;let r="";for(let i=0;i +`+r+" +`}listitem(e){let t="";if(e.task){const n=this.checkbox({checked:!!e.checked});e.loose?e.tokens[0]?.type==="paragraph"?(e.tokens[0].text=n+" "+e.tokens[0].text,e.tokens[0].tokens&&e.tokens[0].tokens.length>0&&e.tokens[0].tokens[0].type==="text"&&(e.tokens[0].tokens[0].text=n+" "+$(e.tokens[0].tokens[0].text),e.tokens[0].tokens[0].escaped=!0)):e.tokens.unshift({type:"text",raw:n+" ",text:n+" ",escaped:!0}):t+=n+" "}return t+=this.parser.parse(e.tokens,!!e.loose),`
  • ${t}
  • +`}checkbox({checked:e}){return"'}paragraph({tokens:e}){return`

    ${this.parser.parseInline(e)}

    +`}table(e){let t="",n="";for(let s=0;s${r}`),` + +`+t+` +`+r+`
    +`}tablerow({text:e}){return` +${e} +`}tablecell(e){const t=this.parser.parseInline(e.tokens),n=e.header?"th":"td";return(e.align?`<${n} align="${e.align}">`:`<${n}>`)+t+` +`}strong({tokens:e}){return`${this.parser.parseInline(e)}`}em({tokens:e}){return`${this.parser.parseInline(e)}`}codespan({text:e}){return`${$(e,!0)}`}br(e){return"
    "}del({tokens:e}){return`${this.parser.parseInline(e)}`}link({href:e,title:t,tokens:n}){const r=this.parser.parseInline(n),s=re(e);if(s===null)return r;let i='
    ",i}image({href:e,title:t,text:n}){const r=re(e);if(r===null)return $(n);let s=`${n}{const l=s[i].flat(1/0);n=n.concat(this.walkTokens(l,t))}):s.tokens&&(n=n.concat(this.walkTokens(s.tokens,t)))}}return n}use(...e){const t=this.defaults.extensions||{renderers:{},childTokens:{}};return e.forEach(n=>{const r={...n};if(r.async=this.defaults.async||r.async||!1,n.extensions&&(n.extensions.forEach(s=>{if(!s.name)throw new Error("extension name required");if("renderer"in s){const i=t.renderers[s.name];t.renderers[s.name]=i?function(...l){let a=s.renderer.apply(this,l);return a===!1&&(a=i.apply(this,l)),a}:s.renderer}if("tokenizer"in s){if(!s.level||s.level!=="block"&&s.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");const i=t[s.level];i?i.unshift(s.tokenizer):t[s.level]=[s.tokenizer],s.start&&(s.level==="block"?t.startBlock?t.startBlock.push(s.start):t.startBlock=[s.start]:s.level==="inline"&&(t.startInline?t.startInline.push(s.start):t.startInline=[s.start]))}"childTokens"in s&&s.childTokens&&(t.childTokens[s.name]=s.childTokens)}),r.extensions=t),n.renderer){const s=this.defaults.renderer||new C(this.defaults);for(const i in n.renderer){if(!(i in s))throw new Error(`renderer '${i}' does not exist`);if(["options","parser"].includes(i))continue;const l=i,a=n.renderer[l],o=s[l];s[l]=(...h)=>{let p=a.apply(s,h);return p===!1&&(p=o.apply(s,h)),p||""}}r.renderer=s}if(n.tokenizer){const s=this.defaults.tokenizer||new B(this.defaults);for(const i in n.tokenizer){if(!(i in s))throw new Error(`tokenizer '${i}' does not exist`);if(["options","rules","lexer"].includes(i))continue;const l=i,a=n.tokenizer[l],o=s[l];s[l]=(...h)=>{let p=a.apply(s,h);return p===!1&&(p=o.apply(s,h)),p}}r.tokenizer=s}if(n.hooks){const s=this.defaults.hooks||new E;for(const i in n.hooks){if(!(i in s))throw new Error(`hook '${i}' does not exist`);if(["options","block"].includes(i))continue;const l=i,a=n.hooks[l],o=s[l];E.passThroughHooks.has(i)?s[l]=h=>{if(this.defaults.async)return Promise.resolve(a.call(s,h)).then(f=>o.call(s,f));const p=a.call(s,h);return o.call(s,p)}:s[l]=(...h)=>{let p=a.apply(s,h);return p===!1&&(p=o.apply(s,h)),p}}r.hooks=s}if(n.walkTokens){const s=this.defaults.walkTokens,i=n.walkTokens;r.walkTokens=function(l){let a=[];return a.push(i.call(this,l)),s&&(a=a.concat(s.call(this,l))),a}}this.defaults={...this.defaults,...r}}),this}setOptions(e){return this.defaults={...this.defaults,...e},this}lexer(e,t){return m.lex(e,t??this.defaults)}parser(e,t){return y.parse(e,t??this.defaults)}parseMarkdown(e){return(t,n)=>{const r={...n},s={...this.defaults,...r},i=this.onError(!!s.silent,!!s.async);if(this.defaults.async===!0&&r.async===!1)return i(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(t==null)return i(new Error("marked(): input parameter is undefined or null"));if(typeof t!="string")return i(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(t)+", string expected"));s.hooks&&(s.hooks.options=s,s.hooks.block=e);const l=s.hooks?s.hooks.provideLexer():e?m.lex:m.lexInline,a=s.hooks?s.hooks.provideParser():e?y.parse:y.parseInline;if(s.async)return Promise.resolve(s.hooks?s.hooks.preprocess(t):t).then(o=>l(o,s)).then(o=>s.hooks?s.hooks.processAllTokens(o):o).then(o=>s.walkTokens?Promise.all(this.walkTokens(o,s.walkTokens)).then(()=>o):o).then(o=>a(o,s)).then(o=>s.hooks?s.hooks.postprocess(o):o).catch(i);try{s.hooks&&(t=s.hooks.preprocess(t));let o=l(t,s);s.hooks&&(o=s.hooks.processAllTokens(o)),s.walkTokens&&this.walkTokens(o,s.walkTokens);let h=a(o,s);return s.hooks&&(h=s.hooks.postprocess(h)),h}catch(o){return i(o)}}}onError(e,t){return n=>{if(n.message+=` +Please report this to https://github.com/markedjs/marked.`,e){const r="

    An error occurred:

    "+$(n.message+"",!0)+"
    ";return t?Promise.resolve(r):r}if(t)return Promise.reject(n);throw n}}}const T=new oe;function u(c,e){return T.parse(c,e)}u.options=u.setOptions=function(c){return T.setOptions(c),u.defaults=T.defaults,U(u.defaults),u},u.getDefaults=z,u.defaults=k.defaults,u.use=function(...c){return T.use(...c),u.defaults=T.defaults,U(u.defaults),u},u.walkTokens=function(c,e){return T.walkTokens(c,e)},u.parseInline=T.parseInline,u.Parser=y,u.parser=y.parse,u.Renderer=C,u.TextRenderer=D,u.Lexer=m,u.lexer=m.lex,u.Tokenizer=B,u.Hooks=E,u.parse=u;const _e=u.options,Ie=u.setOptions,Le=u.use,Be=u.walkTokens,Ce=u.parseInline,Ee=u,qe=y.parse,Pe=m.lex;k.Hooks=E,k.Lexer=m,k.Marked=oe,k.Parser=y,k.Renderer=C,k.TextRenderer=D,k.Tokenizer=B,k.getDefaults=z,k.lexer=Pe,k.marked=u,k.options=_e,k.parse=Ee,k.parseInline=Ce,k.parser=qe,k.setOptions=Ie,k.use=Le,k.walkTokens=Be}); diff --git a/scripts-LLFA6UFG.js b/scripts-LLFA6UFG.js deleted file mode 100644 index b1d1c6a..0000000 --- a/scripts-LLFA6UFG.js +++ /dev/null @@ -1,46 +0,0 @@ -(function(g,z){typeof exports=="object"&&typeof module<"u"?z(exports):typeof define=="function"&&define.amd?define(["exports"],z):z((g=typeof globalThis<"u"?globalThis:g||self).marked={})})(this,function(g){"use strict";function z(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}function X(p){g.defaults=p}g.defaults={async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null};const F=/[&<>"']/,he=new RegExp(F.source,"g"),N=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,pe=new RegExp(N.source,"g"),ue={"&":"&","<":"<",">":">",'"':""","'":"'"},G=p=>ue[p];function x(p,t){if(t){if(F.test(p))return p.replace(he,G)}else if(N.test(p))return p.replace(pe,G);return p}const ke=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function ge(p){return p.replace(ke,(t,e)=>(e=e.toLowerCase())==="colon"?":":e.charAt(0)==="#"?e.charAt(1)==="x"?String.fromCharCode(parseInt(e.substring(2),16)):String.fromCharCode(+e.substring(1)):"")}const fe=/(^|[^\[])\^/g;function f(p,t){let e=typeof p=="string"?p:p.source;t=t||"";const n={replace:(i,r)=>{let s=typeof r=="string"?r:r.source;return s=s.replace(fe,"$1"),e=e.replace(i,s),n},getRegex:()=>new RegExp(e,t)};return n}function J(p){try{p=encodeURI(p).replace(/%25/g,"%")}catch{return null}return p}const R={exec:()=>null};function K(p,t){const e=p.replace(/\|/g,(i,r,s)=>{let l=!1,o=r;for(;--o>=0&&s[o]==="\\";)l=!l;return l?"|":" |"}).split(/ \|/);let n=0;if(e[0].trim()||e.shift(),e.length>0&&!e[e.length-1].trim()&&e.pop(),t)if(e.length>t)e.splice(t);else for(;e.length0)return{type:"space",raw:e[0]}}code(t){const e=this.rules.block.code.exec(t);if(e){const n=e[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:e[0],codeBlockStyle:"indented",text:this.options.pedantic?n:Z(n,` -`)}}}fences(t){const e=this.rules.block.fences.exec(t);if(e){const n=e[0],i=function(r,s){const l=r.match(/^(\s+)(?:```)/);if(l===null)return s;const o=l[1];return s.split(` -`).map(c=>{const a=c.match(/^\s+/);if(a===null)return c;const[u]=a;return u.length>=o.length?c.slice(o.length):c}).join(` -`)}(n,e[3]||"");return{type:"code",raw:n,lang:e[2]?e[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):e[2],text:i}}}heading(t){const e=this.rules.block.heading.exec(t);if(e){let n=e[2].trim();if(/#$/.test(n)){const i=Z(n,"#");this.options.pedantic?n=i.trim():i&&!/ $/.test(i)||(n=i.trim())}return{type:"heading",raw:e[0],depth:e[1].length,text:n,tokens:this.lexer.inline(n)}}}hr(t){const e=this.rules.block.hr.exec(t);if(e)return{type:"hr",raw:e[0]}}blockquote(t){const e=this.rules.block.blockquote.exec(t);if(e){let n=e[0].replace(/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,` - $1`);n=Z(n.replace(/^ *>[ \t]?/gm,""),` -`);const i=this.lexer.state.top;this.lexer.state.top=!0;const r=this.lexer.blockTokens(n);return this.lexer.state.top=i,{type:"blockquote",raw:e[0],tokens:r,text:n}}}list(t){let e=this.rules.block.list.exec(t);if(e){let n=e[1].trim();const i=n.length>1,r={type:"list",raw:"",ordered:i,start:i?+n.slice(0,-1):"",loose:!1,items:[]};n=i?`\\d{1,9}\\${n.slice(-1)}`:`\\${n}`,this.options.pedantic&&(n=i?n:"[*+-]");const s=new RegExp(`^( {0,3}${n})((?:[ ][^\\n]*)?(?:\\n|$))`);let l="",o="",c=!1;for(;t;){let a=!1;if(!(e=s.exec(t))||this.rules.block.hr.test(t))break;l=e[0],t=t.substring(l.length);let u=e[2].split(` -`,1)[0].replace(/^\t+/,H=>" ".repeat(3*H.length)),h=t.split(` -`,1)[0],d=0;this.options.pedantic?(d=2,o=u.trimStart()):(d=e[2].search(/[^ ]/),d=d>4?1:d,o=u.slice(d),d+=e[1].length);let y=!1;if(!u&&/^ *$/.test(h)&&(l+=h+` -`,t=t.substring(h.length+1),a=!0),!a){const H=new RegExp(`^ {0,${Math.min(3,d-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),oe=new RegExp(`^ {0,${Math.min(3,d-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),ae=new RegExp(`^ {0,${Math.min(3,d-1)}}(?:\`\`\`|~~~)`),ce=new RegExp(`^ {0,${Math.min(3,d-1)}}#`);for(;t;){const U=t.split(` -`,1)[0];if(h=U,this.options.pedantic&&(h=h.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),ae.test(h)||ce.test(h)||H.test(h)||oe.test(t))break;if(h.search(/[^ ]/)>=d||!h.trim())o+=` -`+h.slice(d);else{if(y||u.search(/[^ ]/)>=4||ae.test(u)||ce.test(u)||oe.test(u))break;o+=` -`+h}y||h.trim()||(y=!0),l+=U+` -`,t=t.substring(U.length+1),u=h.slice(d)}}r.loose||(c?r.loose=!0:/\n *\n *$/.test(l)&&(c=!0));let T,m=null;this.options.gfm&&(m=/^\[[ xX]\] /.exec(o),m&&(T=m[0]!=="[ ] ",o=o.replace(/^\[[ xX]\] +/,""))),r.items.push({type:"list_item",raw:l,task:!!m,checked:T,loose:!1,text:o,tokens:[]}),r.raw+=l}r.items[r.items.length-1].raw=l.trimEnd(),r.items[r.items.length-1].text=o.trimEnd(),r.raw=r.raw.trimEnd();for(let a=0;ad.type==="space"),h=u.length>0&&u.some(d=>/\n.*\n/.test(d.raw));r.loose=h}if(r.loose)for(let a=0;a$/,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",r=e[3]?e[3].substring(1,e[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):e[3];return{type:"def",tag:n,raw:e[0],href:i,title:r}}}table(t){const e=this.rules.block.table.exec(t);if(!e||!/[:|]/.test(e[2]))return;const n=K(e[1]),i=e[2].replace(/^\||\| *$/g,"").split("|"),r=e[3]&&e[3].trim()?e[3].replace(/\n[ \t]*$/,"").split(` -`):[],s={type:"table",raw:e[0],header:[],align:[],rows:[]};if(n.length===i.length){for(const l of i)/^ *-+: *$/.test(l)?s.align.push("right"):/^ *:-+: *$/.test(l)?s.align.push("center"):/^ *:-+ *$/.test(l)?s.align.push("left"):s.align.push(null);for(const l of n)s.header.push({text:l,tokens:this.lexer.inline(l)});for(const l of r)s.rows.push(K(l,s.header.length).map(o=>({text:o,tokens:this.lexer.inline(o)})));return s}}lheading(t){const e=this.rules.block.lheading.exec(t);if(e)return{type:"heading",raw:e[0],depth:e[2].charAt(0)==="="?1:2,text:e[1],tokens:this.lexer.inline(e[1])}}paragraph(t){const e=this.rules.block.paragraph.exec(t);if(e){const n=e[1].charAt(e[1].length-1)===` -`?e[1].slice(0,-1):e[1];return{type:"paragraph",raw:e[0],text:n,tokens:this.lexer.inline(n)}}}text(t){const e=this.rules.block.text.exec(t);if(e)return{type:"text",raw:e[0],text:e[0],tokens:this.lexer.inline(e[0])}}escape(t){const e=this.rules.inline.escape.exec(t);if(e)return{type:"escape",raw:e[0],text:x(e[1])}}tag(t){const e=this.rules.inline.tag.exec(t);if(e)return!this.lexer.state.inLink&&/^
    /i.test(e[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(e[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(e[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:e[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:e[0]}}link(t){const e=this.rules.inline.link.exec(t);if(e){const n=e[2].trim();if(!this.options.pedantic&&/^$/.test(n))return;const s=Z(n.slice(0,-1),"\\");if((n.length-s.length)%2==0)return}else{const s=function(l,o){if(l.indexOf(o[1])===-1)return-1;let c=0;for(let a=0;a-1){const l=(e[0].indexOf("!")===0?5:4)+e[1].length+s;e[2]=e[2].substring(0,s),e[0]=e[0].substring(0,l).trim(),e[3]=""}}let i=e[2],r="";if(this.options.pedantic){const s=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(i);s&&(i=s[1],r=s[3])}else r=e[3]?e[3].slice(1,-1):"";return i=i.trim(),/^$/.test(n)?i.slice(1):i.slice(1,-1)),V(e,{href:i&&i.replace(this.rules.inline.anyPunctuation,"$1"),title:r&&r.replace(this.rules.inline.anyPunctuation,"$1")},e[0],this.lexer)}}reflink(t,e){let n;if((n=this.rules.inline.reflink.exec(t))||(n=this.rules.inline.nolink.exec(t))){const i=e[(n[2]||n[1]).replace(/\s+/g," ").toLowerCase()];if(!i){const r=n[0].charAt(0);return{type:"text",raw:r,text:r}}return V(n,i,n[0],this.lexer)}}emStrong(t,e,n=""){let i=this.rules.inline.emStrongLDelim.exec(t);if(i&&!(i[3]&&n.match(/[\p{L}\p{N}]/u))&&(!(i[1]||i[2])||!n||this.rules.inline.punctuation.exec(n))){const r=[...i[0]].length-1;let s,l,o=r,c=0;const a=i[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(a.lastIndex=0,e=e.slice(-1*t.length+r);(i=a.exec(e))!=null;){if(s=i[1]||i[2]||i[3]||i[4]||i[5]||i[6],!s)continue;if(l=[...s].length,i[3]||i[4]){o+=l;continue}if((i[5]||i[6])&&r%3&&!((r+l)%3)){c+=l;continue}if(o-=l,o>0)continue;l=Math.min(l,l+o+c);const u=[...i[0]][0].length,h=t.slice(0,r+i.index+u+l);if(Math.min(r,l)%2){const y=h.slice(1,-1);return{type:"em",raw:h,text:y,tokens:this.lexer.inlineTokens(y)}}const d=h.slice(2,-2);return{type:"strong",raw:h,text:d,tokens:this.lexer.inlineTokens(d)}}}}codespan(t){const e=this.rules.inline.code.exec(t);if(e){let n=e[2].replace(/\n/g," ");const i=/[^ ]/.test(n),r=/^ /.test(n)&&/ $/.test(n);return i&&r&&(n=n.substring(1,n.length-1)),n=x(n,!0),{type:"codespan",raw:e[0],text:n}}}br(t){const e=this.rules.inline.br.exec(t);if(e)return{type:"br",raw:e[0]}}del(t){const e=this.rules.inline.del.exec(t);if(e)return{type:"del",raw:e[0],text:e[2],tokens:this.lexer.inlineTokens(e[2])}}autolink(t){const e=this.rules.inline.autolink.exec(t);if(e){let n,i;return e[2]==="@"?(n=x(e[1]),i="mailto:"+n):(n=x(e[1]),i=n),{type:"link",raw:e[0],text:n,href:i,tokens:[{type:"text",raw:n,text:n}]}}}url(t){let e;if(e=this.rules.inline.url.exec(t)){let n,i;if(e[2]==="@")n=x(e[0]),i="mailto:"+n;else{let r;do r=e[0],e[0]=this.rules.inline._backpedal.exec(e[0])?.[0]??"";while(r!==e[0]);n=x(e[0]),i=e[1]==="www."?"http://"+e[0]:e[0]}return{type:"link",raw:e[0],text:n,href:i,tokens:[{type:"text",raw:n,text:n}]}}}inlineText(t){const e=this.rules.inline.text.exec(t);if(e){let n;return n=this.lexer.state.inRawBlock?e[0]:x(e[0]),{type:"text",raw:e[0],text:n}}}}const A=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,W=/(?:[*+-]|\d{1,9}[.)])/,Y=f(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,W).replace(/blockCode/g,/ {4}/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).getRegex(),B=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,C=/(?!\s*\])(?:\\.|[^\[\]\\])+/,de=f(/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/).replace("label",C).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),xe=f(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,W).getRegex(),L="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",O=/|$))/,be=f("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))","i").replace("comment",O).replace("tag",L).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),ee=f(B).replace("hr",A).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",L).getRegex(),D={blockquote:f(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",ee).getRegex(),code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,def:de,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hr:A,html:be,lheading:Y,list:xe,newline:/^(?: *(?:\n|$))+/,paragraph:ee,table:R,text:/^[^\n]+/},te=f("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",A).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",L).getRegex(),we={...D,table:te,paragraph:f(B).replace("hr",A).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",te).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",L).getRegex()},me={...D,html:f(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",O).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:R,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:f(B).replace("hr",A).replace("heading",` *#{1,6} *[^ -]`).replace("lheading",Y).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},ne=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,se=/^( {2,}|\\)\n(?!\s*$)/,S="\\p{P}\\p{S}",ye=f(/^((?![*_])[\spunctuation])/,"u").replace(/punctuation/g,S).getRegex(),$e=f(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,"u").replace(/punct/g,S).getRegex(),ze=f("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])","gu").replace(/punct/g,S).getRegex(),Te=f("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])","gu").replace(/punct/g,S).getRegex(),Re=f(/\\([punct])/,"gu").replace(/punct/g,S).getRegex(),_e=f(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[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])?)+(?![-_])/).getRegex(),Ae=f(O).replace("(?:-->|$)","-->").getRegex(),Se=f("^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^").replace("comment",Ae).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),P=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,Ie=f(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",P).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),re=f(/^!?\[(label)\]\[(ref)\]/).replace("label",P).replace("ref",C).getRegex(),ie=f(/^!?\[(ref)\](?:\[\])?/).replace("ref",C).getRegex(),M={_backpedal:R,anyPunctuation:Re,autolink:_e,blockSkip:/\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g,br:se,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,del:R,emStrongLDelim:$e,emStrongRDelimAst:ze,emStrongRDelimUnd:Te,escape:ne,link:Ie,nolink:ie,punctuation:ye,reflink:re,reflinkSearch:f("reflink|nolink(?!\\()","g").replace("reflink",re).replace("nolink",ie).getRegex(),tag:Se,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\o+" ".repeat(c.length));t;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(l=>!!(n=l.call({lexer:this},t,e))&&(t=t.substring(n.raw.length),e.push(n),!0))))if(n=this.tokenizer.space(t))t=t.substring(n.raw.length),n.raw.length===1&&e.length>0?e[e.length-1].raw+=` -`:e.push(n);else if(n=this.tokenizer.code(t))t=t.substring(n.raw.length),i=e[e.length-1],!i||i.type!=="paragraph"&&i.type!=="text"?e.push(n):(i.raw+=` -`+n.raw,i.text+=` -`+n.text,this.inlineQueue[this.inlineQueue.length-1].src=i.text);else if(n=this.tokenizer.fences(t))t=t.substring(n.raw.length),e.push(n);else if(n=this.tokenizer.heading(t))t=t.substring(n.raw.length),e.push(n);else if(n=this.tokenizer.hr(t))t=t.substring(n.raw.length),e.push(n);else if(n=this.tokenizer.blockquote(t))t=t.substring(n.raw.length),e.push(n);else if(n=this.tokenizer.list(t))t=t.substring(n.raw.length),e.push(n);else if(n=this.tokenizer.html(t))t=t.substring(n.raw.length),e.push(n);else if(n=this.tokenizer.def(t))t=t.substring(n.raw.length),i=e[e.length-1],!i||i.type!=="paragraph"&&i.type!=="text"?this.tokens.links[n.tag]||(this.tokens.links[n.tag]={href:n.href,title:n.title}):(i.raw+=` -`+n.raw,i.text+=` -`+n.raw,this.inlineQueue[this.inlineQueue.length-1].src=i.text);else if(n=this.tokenizer.table(t))t=t.substring(n.raw.length),e.push(n);else if(n=this.tokenizer.lheading(t))t=t.substring(n.raw.length),e.push(n);else{if(r=t,this.options.extensions&&this.options.extensions.startBlock){let l=1/0;const o=t.slice(1);let c;this.options.extensions.startBlock.forEach(a=>{c=a.call({lexer:this},o),typeof c=="number"&&c>=0&&(l=Math.min(l,c))}),l<1/0&&l>=0&&(r=t.substring(0,l+1))}if(this.state.top&&(n=this.tokenizer.paragraph(r)))i=e[e.length-1],s&&i.type==="paragraph"?(i.raw+=` -`+n.raw,i.text+=` -`+n.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=i.text):e.push(n),s=r.length!==t.length,t=t.substring(n.raw.length);else if(n=this.tokenizer.text(t))t=t.substring(n.raw.length),i=e[e.length-1],i&&i.type==="text"?(i.raw+=` -`+n.raw,i.text+=` -`+n.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=i.text):e.push(n);else if(t){const l="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(l);break}throw new Error(l)}}return this.state.top=!0,e}inline(t,e=[]){return this.inlineQueue.push({src:t,tokens:e}),e}inlineTokens(t,e=[]){let n,i,r,s,l,o,c=t;if(this.tokens.links){const a=Object.keys(this.tokens.links);if(a.length>0)for(;(s=this.tokenizer.rules.inline.reflinkSearch.exec(c))!=null;)a.includes(s[0].slice(s[0].lastIndexOf("[")+1,-1))&&(c=c.slice(0,s.index)+"["+"a".repeat(s[0].length-2)+"]"+c.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(s=this.tokenizer.rules.inline.blockSkip.exec(c))!=null;)c=c.slice(0,s.index)+"["+"a".repeat(s[0].length-2)+"]"+c.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(s=this.tokenizer.rules.inline.anyPunctuation.exec(c))!=null;)c=c.slice(0,s.index)+"++"+c.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;t;)if(l||(o=""),l=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(a=>!!(n=a.call({lexer:this},t,e))&&(t=t.substring(n.raw.length),e.push(n),!0))))if(n=this.tokenizer.escape(t))t=t.substring(n.raw.length),e.push(n);else if(n=this.tokenizer.tag(t))t=t.substring(n.raw.length),i=e[e.length-1],i&&n.type==="text"&&i.type==="text"?(i.raw+=n.raw,i.text+=n.text):e.push(n);else if(n=this.tokenizer.link(t))t=t.substring(n.raw.length),e.push(n);else if(n=this.tokenizer.reflink(t,this.tokens.links))t=t.substring(n.raw.length),i=e[e.length-1],i&&n.type==="text"&&i.type==="text"?(i.raw+=n.raw,i.text+=n.text):e.push(n);else if(n=this.tokenizer.emStrong(t,c,o))t=t.substring(n.raw.length),e.push(n);else if(n=this.tokenizer.codespan(t))t=t.substring(n.raw.length),e.push(n);else if(n=this.tokenizer.br(t))t=t.substring(n.raw.length),e.push(n);else if(n=this.tokenizer.del(t))t=t.substring(n.raw.length),e.push(n);else if(n=this.tokenizer.autolink(t))t=t.substring(n.raw.length),e.push(n);else if(this.state.inLink||!(n=this.tokenizer.url(t))){if(r=t,this.options.extensions&&this.options.extensions.startInline){let a=1/0;const u=t.slice(1);let h;this.options.extensions.startInline.forEach(d=>{h=d.call({lexer:this},u),typeof h=="number"&&h>=0&&(a=Math.min(a,h))}),a<1/0&&a>=0&&(r=t.substring(0,a+1))}if(n=this.tokenizer.inlineText(r))t=t.substring(n.raw.length),n.raw.slice(-1)!=="_"&&(o=n.raw.slice(-1)),l=!0,i=e[e.length-1],i&&i.type==="text"?(i.raw+=n.raw,i.text+=n.text):e.push(n);else if(t){const a="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(a);break}throw new Error(a)}}else t=t.substring(n.raw.length),e.push(n);return e}}class E{options;constructor(t){this.options=t||g.defaults}code(t,e,n){const i=(e||"").match(/^\S*/)?.[0];return t=t.replace(/\n$/,"")+` -`,i?'
    '+(n?t:x(t,!0))+`
    -`:"
    "+(n?t:x(t,!0))+`
    -`}blockquote(t){return`
    -${t}
    -`}html(t,e){return t}heading(t,e,n){return`${t} -`}hr(){return`
    -`}list(t,e,n){const i=e?"ol":"ul";return"<"+i+(e&&n!==1?' start="'+n+'"':"")+`> -`+t+" -`}listitem(t,e,n){return`
  • ${t}
  • -`}checkbox(t){return"'}paragraph(t){return`

    ${t}

    -`}table(t,e){return e&&(e=`${e}`),` - -`+t+` -`+e+`
    -`}tablerow(t){return` -${t} -`}tablecell(t,e){const n=e.header?"th":"td";return(e.align?`<${n} align="${e.align}">`:`<${n}>`)+t+` -`}strong(t){return`${t}`}em(t){return`${t}`}codespan(t){return`${t}`}br(){return"
    "}del(t){return`${t}`}link(t,e,n){const i=J(t);if(i===null)return n;let r='
    ",r}image(t,e,n){const i=J(t);if(i===null)return n;let r=`${n}0&&h.tokens[0].type==="paragraph"?(h.tokens[0].text=m+" "+h.tokens[0].text,h.tokens[0].tokens&&h.tokens[0].tokens.length>0&&h.tokens[0].tokens[0].type==="text"&&(h.tokens[0].tokens[0].text=m+" "+h.tokens[0].tokens[0].text)):h.tokens.unshift({type:"text",text:m+" "}):T+=m+" "}T+=this.parse(h.tokens,c),a+=this.renderer.listitem(T,y,!!d)}n+=this.renderer.list(a,l,o);continue}case"html":{const s=r;n+=this.renderer.html(s.text,s.block);continue}case"paragraph":{const s=r;n+=this.renderer.paragraph(this.parseInline(s.tokens));continue}case"text":{let s=r,l=s.tokens?this.parseInline(s.tokens):s.text;for(;i+1{const l=r[s].flat(1/0);n=n.concat(this.walkTokens(l,e))}):r.tokens&&(n=n.concat(this.walkTokens(r.tokens,e)))}}return n}use(...t){const e=this.defaults.extensions||{renderers:{},childTokens:{}};return t.forEach(n=>{const i={...n};if(i.async=this.defaults.async||i.async||!1,n.extensions&&(n.extensions.forEach(r=>{if(!r.name)throw new Error("extension name required");if("renderer"in r){const s=e.renderers[r.name];e.renderers[r.name]=s?function(...l){let o=r.renderer.apply(this,l);return o===!1&&(o=s.apply(this,l)),o}:r.renderer}if("tokenizer"in r){if(!r.level||r.level!=="block"&&r.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");const s=e[r.level];s?s.unshift(r.tokenizer):e[r.level]=[r.tokenizer],r.start&&(r.level==="block"?e.startBlock?e.startBlock.push(r.start):e.startBlock=[r.start]:r.level==="inline"&&(e.startInline?e.startInline.push(r.start):e.startInline=[r.start]))}"childTokens"in r&&r.childTokens&&(e.childTokens[r.name]=r.childTokens)}),i.extensions=e),n.renderer){const r=this.defaults.renderer||new E(this.defaults);for(const s in n.renderer){if(!(s in r))throw new Error(`renderer '${s}' does not exist`);if(s==="options")continue;const l=s,o=n.renderer[l],c=r[l];r[l]=(...a)=>{let u=o.apply(r,a);return u===!1&&(u=c.apply(r,a)),u||""}}i.renderer=r}if(n.tokenizer){const r=this.defaults.tokenizer||new _(this.defaults);for(const s in n.tokenizer){if(!(s in r))throw new Error(`tokenizer '${s}' does not exist`);if(["options","rules","lexer"].includes(s))continue;const l=s,o=n.tokenizer[l],c=r[l];r[l]=(...a)=>{let u=o.apply(r,a);return u===!1&&(u=c.apply(r,a)),u}}i.tokenizer=r}if(n.hooks){const r=this.defaults.hooks||new q;for(const s in n.hooks){if(!(s in r))throw new Error(`hook '${s}' does not exist`);if(s==="options")continue;const l=s,o=n.hooks[l],c=r[l];q.passThroughHooks.has(s)?r[l]=a=>{if(this.defaults.async)return Promise.resolve(o.call(r,a)).then(h=>c.call(r,h));const u=o.call(r,a);return c.call(r,u)}:r[l]=(...a)=>{let u=o.apply(r,a);return u===!1&&(u=c.apply(r,a)),u}}i.hooks=r}if(n.walkTokens){const r=this.defaults.walkTokens,s=n.walkTokens;i.walkTokens=function(l){let o=[];return o.push(s.call(this,l)),r&&(o=o.concat(r.call(this,l))),o}}this.defaults={...this.defaults,...i}}),this}setOptions(t){return this.defaults={...this.defaults,...t},this}lexer(t,e){return b.lex(t,e??this.defaults)}parser(t,e){return w.parse(t,e??this.defaults)}#e(t,e){return(n,i)=>{const r={...i},s={...this.defaults,...r};this.defaults.async===!0&&r.async===!1&&(s.silent||console.warn("marked(): The async option was set to true by an extension. The async: false option sent to parse will be ignored."),s.async=!0);const l=this.#t(!!s.silent,!!s.async);if(n==null)return l(new Error("marked(): input parameter is undefined or null"));if(typeof n!="string")return l(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(n)+", string expected"));if(s.hooks&&(s.hooks.options=s),s.async)return Promise.resolve(s.hooks?s.hooks.preprocess(n):n).then(o=>t(o,s)).then(o=>s.hooks?s.hooks.processAllTokens(o):o).then(o=>s.walkTokens?Promise.all(this.walkTokens(o,s.walkTokens)).then(()=>o):o).then(o=>e(o,s)).then(o=>s.hooks?s.hooks.postprocess(o):o).catch(l);try{s.hooks&&(n=s.hooks.preprocess(n));let o=t(n,s);s.hooks&&(o=s.hooks.processAllTokens(o)),s.walkTokens&&this.walkTokens(o,s.walkTokens);let c=e(o,s);return s.hooks&&(c=s.hooks.postprocess(c)),c}catch(o){return l(o)}}}#t(t,e){return n=>{if(n.message+=` -Please report this to https://github.com/markedjs/marked.`,t){const i="

    An error occurred:

    "+x(n.message+"",!0)+"
    ";return e?Promise.resolve(i):i}if(e)return Promise.reject(n);throw n}}}const $=new le;function k(p,t){return $.parse(p,t)}k.options=k.setOptions=function(p){return $.setOptions(p),k.defaults=$.defaults,X(k.defaults),k},k.getDefaults=z,k.defaults=g.defaults,k.use=function(...p){return $.use(...p),k.defaults=$.defaults,X(k.defaults),k},k.walkTokens=function(p,t){return $.walkTokens(p,t)},k.parseInline=$.parseInline,k.Parser=w,k.parser=w.parse,k.Renderer=E,k.TextRenderer=v,k.Lexer=b,k.lexer=b.lex,k.Tokenizer=_,k.Hooks=q,k.parse=k;const Ze=k.options,Le=k.setOptions,Pe=k.use,Qe=k.walkTokens,ve=k.parseInline,Be=k,Ce=w.parse,Oe=b.lex;g.Hooks=q,g.Lexer=b,g.Marked=le,g.Parser=w,g.Renderer=E,g.TextRenderer=v,g.Tokenizer=_,g.getDefaults=z,g.lexer=Oe,g.marked=k,g.options=Ze,g.parse=Be,g.parseInline=ve,g.parser=Ce,g.setOptions=Le,g.use=Pe,g.walkTokens=Qe}); diff --git a/styles-A3CXS7NQ.css b/styles-A3CXS7NQ.css new file mode 100644 index 0000000..e7ab1a7 --- /dev/null +++ b/styles-A3CXS7NQ.css @@ -0,0 +1 @@ +html,body{height:100vh;margin:0;padding:0}body{display:flex;flex-direction:column;margin:0;font-family:Roboto,Helvetica Neue,sans-serif}blockquote{padding:0 1em;color:#0008;border-left:.25em solid rgba(0,0,0,.11)}table{border-spacing:0;border-collapse:collapse;margin-bottom:16px}table th,table td{padding:6px 13px;border:1px solid #ddd}table th[align=left],table td[align=left]{text-align:left}table th[align=center],table td[align=center]{text-align:center}table th[align=right],table td[align=right]{text-align:right}table tr:nth-child(2n){background-color:#00000008}html{--mat-badge-text-font: Roboto, sans-serif;--mat-badge-line-height: 22px;--mat-badge-text-size: 12px;--mat-badge-text-weight: 600;--mat-badge-small-size-text-size: 9px;--mat-badge-small-size-line-height: 16px;--mat-badge-large-size-text-size: 24px;--mat-badge-large-size-line-height: 28px}.mat-h1,.mat-headline-5,.mat-typography .mat-h1,.mat-typography .mat-headline-5,.mat-typography h1{font:400 24px/32px Roboto,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h2,.mat-headline-6,.mat-typography .mat-h2,.mat-typography .mat-headline-6,.mat-typography h2{font:500 20px/32px Roboto,sans-serif;letter-spacing:.0125em;margin:0 0 16px}.mat-h3,.mat-subtitle-1,.mat-typography .mat-h3,.mat-typography .mat-subtitle-1,.mat-typography h3{font:400 16px/28px Roboto,sans-serif;letter-spacing:.009375em;margin:0 0 16px}.mat-h4,.mat-body-1,.mat-typography .mat-h4,.mat-typography .mat-body-1,.mat-typography h4{font:400 16px/24px Roboto,sans-serif;letter-spacing:.03125em;margin:0 0 16px}.mat-h5,.mat-typography .mat-h5,.mat-typography h5{font:400 11.62px/20px Roboto,sans-serif;margin:0 0 12px}.mat-h6,.mat-typography .mat-h6,.mat-typography h6{font:400 9.38px/20px Roboto,sans-serif;margin:0 0 12px}.mat-body-strong,.mat-subtitle-2,.mat-typography .mat-body-strong,.mat-typography .mat-subtitle-2{font:500 14px/22px Roboto,sans-serif;letter-spacing:.0071428571em}.mat-body,.mat-body-2,.mat-typography .mat-body,.mat-typography .mat-body-2,.mat-typography{font:400 14px/20px Roboto,sans-serif;letter-spacing:.0178571429em}.mat-body p,.mat-body-2 p,.mat-typography .mat-body p,.mat-typography .mat-body-2 p,.mat-typography p{margin:0 0 12px}.mat-small,.mat-caption,.mat-typography .mat-small,.mat-typography .mat-caption{font:400 12px/20px Roboto,sans-serif;letter-spacing:.0333333333em}.mat-headline-1,.mat-typography .mat-headline-1{font:300 96px/96px Roboto,sans-serif;letter-spacing:-.015625em;margin:0 0 56px}.mat-headline-2,.mat-typography .mat-headline-2{font:300 60px/60px Roboto,sans-serif;letter-spacing:-.0083333333em;margin:0 0 64px}.mat-headline-3,.mat-typography .mat-headline-3{font:400 48px/50px Roboto,sans-serif;letter-spacing:normal;margin:0 0 64px}.mat-headline-4,.mat-typography .mat-headline-4{font:400 34px/40px Roboto,sans-serif;letter-spacing:.0073529412em;margin:0 0 64px}html{--mat-bottom-sheet-container-text-font: Roboto, sans-serif;--mat-bottom-sheet-container-text-line-height: 20px;--mat-bottom-sheet-container-text-size: 14px;--mat-bottom-sheet-container-text-tracking: .0178571429em;--mat-bottom-sheet-container-text-weight: 400}html{--mat-legacy-button-toggle-label-text-font: Roboto, sans-serif;--mat-legacy-button-toggle-label-text-line-height: 24px;--mat-legacy-button-toggle-label-text-size: 16px;--mat-legacy-button-toggle-label-text-tracking: .03125em;--mat-legacy-button-toggle-label-text-weight: 400}html{--mat-standard-button-toggle-label-text-font: Roboto, sans-serif;--mat-standard-button-toggle-label-text-line-height: 24px;--mat-standard-button-toggle-label-text-size: 16px;--mat-standard-button-toggle-label-text-tracking: .03125em;--mat-standard-button-toggle-label-text-weight: 400}html{--mat-datepicker-calendar-text-font: Roboto, sans-serif;--mat-datepicker-calendar-text-size: 13px;--mat-datepicker-calendar-body-label-text-size: 14px;--mat-datepicker-calendar-body-label-text-weight: 500;--mat-datepicker-calendar-period-button-text-size: 14px;--mat-datepicker-calendar-period-button-text-weight: 500;--mat-datepicker-calendar-header-text-size: 11px;--mat-datepicker-calendar-header-text-weight: 400}html{--mat-expansion-header-text-font: Roboto, sans-serif;--mat-expansion-header-text-size: 14px;--mat-expansion-header-text-weight: 500;--mat-expansion-header-text-line-height: inherit;--mat-expansion-header-text-tracking: inherit;--mat-expansion-container-text-font: Roboto, sans-serif;--mat-expansion-container-text-line-height: 20px;--mat-expansion-container-text-size: 14px;--mat-expansion-container-text-tracking: .0178571429em;--mat-expansion-container-text-weight: 400}html{--mat-grid-list-tile-header-primary-text-size: 14px;--mat-grid-list-tile-header-secondary-text-size: 12px;--mat-grid-list-tile-footer-primary-text-size: 14px;--mat-grid-list-tile-footer-secondary-text-size: 12px}html{--mat-stepper-container-text-font: Roboto, sans-serif;--mat-stepper-header-label-text-font: Roboto, sans-serif;--mat-stepper-header-label-text-size: 14px;--mat-stepper-header-label-text-weight: 400;--mat-stepper-header-error-state-label-text-size: 16px;--mat-stepper-header-selected-state-label-text-size: 16px;--mat-stepper-header-selected-state-label-text-weight: 400}html{--mat-toolbar-title-text-font: Roboto, sans-serif;--mat-toolbar-title-text-line-height: 32px;--mat-toolbar-title-text-size: 20px;--mat-toolbar-title-text-tracking: .0125em;--mat-toolbar-title-text-weight: 500}html{--mat-tree-node-text-font: Roboto, sans-serif;--mat-tree-node-text-size: 14px;--mat-tree-node-text-weight: 400}html{--mat-option-label-text-font: Roboto, sans-serif;--mat-option-label-text-line-height: 24px;--mat-option-label-text-size: 16px;--mat-option-label-text-tracking: .03125em;--mat-option-label-text-weight: 400}html{--mat-optgroup-label-text-font: Roboto, sans-serif;--mat-optgroup-label-text-line-height: 24px;--mat-optgroup-label-text-size: 16px;--mat-optgroup-label-text-tracking: .03125em;--mat-optgroup-label-text-weight: 400}html{--mat-card-title-text-font: Roboto, sans-serif;--mat-card-title-text-line-height: 32px;--mat-card-title-text-size: 20px;--mat-card-title-text-tracking: .0125em;--mat-card-title-text-weight: 500;--mat-card-subtitle-text-font: Roboto, sans-serif;--mat-card-subtitle-text-line-height: 22px;--mat-card-subtitle-text-size: 14px;--mat-card-subtitle-text-tracking: .0071428571em;--mat-card-subtitle-text-weight: 500}html{--mdc-plain-tooltip-supporting-text-font: Roboto, sans-serif;--mdc-plain-tooltip-supporting-text-size: 12px;--mdc-plain-tooltip-supporting-text-weight: 400;--mdc-plain-tooltip-supporting-text-tracking: .0333333333em}html{--mdc-filled-text-field-label-text-font: Roboto, sans-serif;--mdc-filled-text-field-label-text-size: 16px;--mdc-filled-text-field-label-text-tracking: .03125em;--mdc-filled-text-field-label-text-weight: 400}html{--mdc-outlined-text-field-label-text-font: Roboto, sans-serif;--mdc-outlined-text-field-label-text-size: 16px;--mdc-outlined-text-field-label-text-tracking: .03125em;--mdc-outlined-text-field-label-text-weight: 400}html{--mat-form-field-container-text-font: Roboto, sans-serif;--mat-form-field-container-text-line-height: 24px;--mat-form-field-container-text-size: 16px;--mat-form-field-container-text-tracking: .03125em;--mat-form-field-container-text-weight: 400;--mat-form-field-outlined-label-text-populated-size: 16px;--mat-form-field-subscript-text-font: Roboto, sans-serif;--mat-form-field-subscript-text-line-height: 20px;--mat-form-field-subscript-text-size: 12px;--mat-form-field-subscript-text-tracking: .0333333333em;--mat-form-field-subscript-text-weight: 400}html{--mat-select-trigger-text-font: Roboto, sans-serif;--mat-select-trigger-text-line-height: 24px;--mat-select-trigger-text-size: 16px;--mat-select-trigger-text-tracking: .03125em;--mat-select-trigger-text-weight: 400}html{--mdc-dialog-subhead-font: Roboto, sans-serif;--mdc-dialog-subhead-line-height: 32px;--mdc-dialog-subhead-size: 20px;--mdc-dialog-subhead-weight: 500;--mdc-dialog-subhead-tracking: .0125em;--mdc-dialog-supporting-text-font: Roboto, sans-serif;--mdc-dialog-supporting-text-line-height: 24px;--mdc-dialog-supporting-text-size: 16px;--mdc-dialog-supporting-text-weight: 400;--mdc-dialog-supporting-text-tracking: .03125em}.mat-mdc-standard-chip{--mdc-chip-label-text-font: Roboto, sans-serif;--mdc-chip-label-text-line-height: 20px;--mdc-chip-label-text-size: 14px;--mdc-chip-label-text-tracking: .0178571429em;--mdc-chip-label-text-weight: 400}html .mat-mdc-slide-toggle{--mat-switch-label-text-font: Roboto, sans-serif;--mat-switch-label-text-line-height: 20px;--mat-switch-label-text-size: 14px;--mat-switch-label-text-tracking: .0178571429em;--mat-switch-label-text-weight: 400}html{--mat-radio-label-text-font: Roboto, sans-serif;--mat-radio-label-text-line-height: 20px;--mat-radio-label-text-size: 14px;--mat-radio-label-text-tracking: .0178571429em;--mat-radio-label-text-weight: 400}html{--mdc-slider-label-label-text-font: Roboto, sans-serif;--mdc-slider-label-label-text-size: 14px;--mdc-slider-label-label-text-line-height: 22px;--mdc-slider-label-label-text-tracking: .0071428571em;--mdc-slider-label-label-text-weight: 500}html{--mat-menu-item-label-text-font: Roboto, sans-serif;--mat-menu-item-label-text-size: 16px;--mat-menu-item-label-text-tracking: .03125em;--mat-menu-item-label-text-line-height: 24px;--mat-menu-item-label-text-weight: 400}html{--mdc-list-list-item-label-text-font: Roboto, sans-serif;--mdc-list-list-item-label-text-line-height: 24px;--mdc-list-list-item-label-text-size: 16px;--mdc-list-list-item-label-text-tracking: .03125em;--mdc-list-list-item-label-text-weight: 400;--mdc-list-list-item-supporting-text-font: Roboto, sans-serif;--mdc-list-list-item-supporting-text-line-height: 20px;--mdc-list-list-item-supporting-text-size: 14px;--mdc-list-list-item-supporting-text-tracking: .0178571429em;--mdc-list-list-item-supporting-text-weight: 400;--mdc-list-list-item-trailing-supporting-text-font: Roboto, sans-serif;--mdc-list-list-item-trailing-supporting-text-line-height: 20px;--mdc-list-list-item-trailing-supporting-text-size: 12px;--mdc-list-list-item-trailing-supporting-text-tracking: .0333333333em;--mdc-list-list-item-trailing-supporting-text-weight: 400}.mdc-list-group__subheader{font:400 16px/28px Roboto,sans-serif;letter-spacing:.009375em}html{--mat-paginator-container-text-font: Roboto, sans-serif;--mat-paginator-container-text-line-height: 20px;--mat-paginator-container-text-size: 12px;--mat-paginator-container-text-tracking: .0333333333em;--mat-paginator-container-text-weight: 400;--mat-paginator-select-trigger-text-size: 12px}.mat-mdc-tab-header{--mat-tab-header-label-text-font: Roboto, sans-serif;--mat-tab-header-label-text-size: 14px;--mat-tab-header-label-text-tracking: .0892857143em;--mat-tab-header-label-text-line-height: 36px;--mat-tab-header-label-text-weight: 500}html{--mat-checkbox-label-text-font: Roboto, sans-serif;--mat-checkbox-label-text-line-height: 20px;--mat-checkbox-label-text-size: 14px;--mat-checkbox-label-text-tracking: .0178571429em;--mat-checkbox-label-text-weight: 400}html{--mdc-text-button-label-text-font: Roboto, sans-serif;--mdc-text-button-label-text-size: 14px;--mdc-text-button-label-text-tracking: .0892857143em;--mdc-text-button-label-text-weight: 500;--mdc-text-button-label-text-transform: none}html{--mdc-filled-button-label-text-font: Roboto, sans-serif;--mdc-filled-button-label-text-size: 14px;--mdc-filled-button-label-text-tracking: .0892857143em;--mdc-filled-button-label-text-weight: 500;--mdc-filled-button-label-text-transform: none}html{--mdc-protected-button-label-text-font: Roboto, sans-serif;--mdc-protected-button-label-text-size: 14px;--mdc-protected-button-label-text-tracking: .0892857143em;--mdc-protected-button-label-text-weight: 500;--mdc-protected-button-label-text-transform: none}html{--mdc-outlined-button-label-text-font: Roboto, sans-serif;--mdc-outlined-button-label-text-size: 14px;--mdc-outlined-button-label-text-tracking: .0892857143em;--mdc-outlined-button-label-text-weight: 500;--mdc-outlined-button-label-text-transform: none}html{--mdc-extended-fab-label-text-font: Roboto, sans-serif;--mdc-extended-fab-label-text-size: 14px;--mdc-extended-fab-label-text-tracking: .0892857143em;--mdc-extended-fab-label-text-weight: 500}html{--mdc-snackbar-supporting-text-font: Roboto, sans-serif;--mdc-snackbar-supporting-text-line-height: 20px;--mdc-snackbar-supporting-text-size: 14px;--mdc-snackbar-supporting-text-weight: 400}html{--mat-table-header-headline-font: Roboto, sans-serif;--mat-table-header-headline-line-height: 22px;--mat-table-header-headline-size: 14px;--mat-table-header-headline-weight: 500;--mat-table-header-headline-tracking: .0071428571em;--mat-table-row-item-label-text-font: Roboto, sans-serif;--mat-table-row-item-label-text-line-height: 20px;--mat-table-row-item-label-text-size: 14px;--mat-table-row-item-label-text-weight: 400;--mat-table-row-item-label-text-tracking: .0178571429em;--mat-table-footer-supporting-text-font: Roboto, sans-serif;--mat-table-footer-supporting-text-line-height: 20px;--mat-table-footer-supporting-text-size: 14px;--mat-table-footer-supporting-text-weight: 400;--mat-table-footer-supporting-text-tracking: .0178571429em}.mat-elevation-z0,.mat-mdc-elevation-specific.mat-elevation-z0{box-shadow:var(--mat-app-elevation-shadow-level-0, none)}.mat-elevation-z1,.mat-mdc-elevation-specific.mat-elevation-z1{box-shadow:var(--mat-app-elevation-shadow-level-1, none)}.mat-elevation-z2,.mat-mdc-elevation-specific.mat-elevation-z2{box-shadow:var(--mat-app-elevation-shadow-level-2, none)}.mat-elevation-z3,.mat-mdc-elevation-specific.mat-elevation-z3{box-shadow:var(--mat-app-elevation-shadow-level-3, none)}.mat-elevation-z4,.mat-mdc-elevation-specific.mat-elevation-z4{box-shadow:var(--mat-app-elevation-shadow-level-4, none)}.mat-elevation-z5,.mat-mdc-elevation-specific.mat-elevation-z5{box-shadow:var(--mat-app-elevation-shadow-level-5, none)}.mat-elevation-z6,.mat-mdc-elevation-specific.mat-elevation-z6{box-shadow:var(--mat-app-elevation-shadow-level-6, none)}.mat-elevation-z7,.mat-mdc-elevation-specific.mat-elevation-z7{box-shadow:var(--mat-app-elevation-shadow-level-7, none)}.mat-elevation-z8,.mat-mdc-elevation-specific.mat-elevation-z8{box-shadow:var(--mat-app-elevation-shadow-level-8, none)}.mat-elevation-z9,.mat-mdc-elevation-specific.mat-elevation-z9{box-shadow:var(--mat-app-elevation-shadow-level-9, none)}.mat-elevation-z10,.mat-mdc-elevation-specific.mat-elevation-z10{box-shadow:var(--mat-app-elevation-shadow-level-10, none)}.mat-elevation-z11,.mat-mdc-elevation-specific.mat-elevation-z11{box-shadow:var(--mat-app-elevation-shadow-level-11, none)}.mat-elevation-z12,.mat-mdc-elevation-specific.mat-elevation-z12{box-shadow:var(--mat-app-elevation-shadow-level-12, none)}.mat-elevation-z13,.mat-mdc-elevation-specific.mat-elevation-z13{box-shadow:var(--mat-app-elevation-shadow-level-13, none)}.mat-elevation-z14,.mat-mdc-elevation-specific.mat-elevation-z14{box-shadow:var(--mat-app-elevation-shadow-level-14, none)}.mat-elevation-z15,.mat-mdc-elevation-specific.mat-elevation-z15{box-shadow:var(--mat-app-elevation-shadow-level-15, none)}.mat-elevation-z16,.mat-mdc-elevation-specific.mat-elevation-z16{box-shadow:var(--mat-app-elevation-shadow-level-16, none)}.mat-elevation-z17,.mat-mdc-elevation-specific.mat-elevation-z17{box-shadow:var(--mat-app-elevation-shadow-level-17, none)}.mat-elevation-z18,.mat-mdc-elevation-specific.mat-elevation-z18{box-shadow:var(--mat-app-elevation-shadow-level-18, none)}.mat-elevation-z19,.mat-mdc-elevation-specific.mat-elevation-z19{box-shadow:var(--mat-app-elevation-shadow-level-19, none)}.mat-elevation-z20,.mat-mdc-elevation-specific.mat-elevation-z20{box-shadow:var(--mat-app-elevation-shadow-level-20, none)}.mat-elevation-z21,.mat-mdc-elevation-specific.mat-elevation-z21{box-shadow:var(--mat-app-elevation-shadow-level-21, none)}.mat-elevation-z22,.mat-mdc-elevation-specific.mat-elevation-z22{box-shadow:var(--mat-app-elevation-shadow-level-22, none)}.mat-elevation-z23,.mat-mdc-elevation-specific.mat-elevation-z23{box-shadow:var(--mat-app-elevation-shadow-level-23, none)}.mat-elevation-z24,.mat-mdc-elevation-specific.mat-elevation-z24{box-shadow:var(--mat-app-elevation-shadow-level-24, none)}html{--mat-sys-on-surface: initial}.mat-app-background{background-color:var(--mat-app-background-color, var(--mat-sys-background, transparent));color:var(--mat-app-text-color, var(--mat-sys-on-background, inherit))}:root{--mat-app-background-color: #fcf8fd;--mat-app-text-color: #1b1b1f;--mat-app-elevation-shadow-level-0: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-1: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-2: 0px 3px 1px -2px rgba(0, 0, 0, .2), 0px 2px 2px 0px rgba(0, 0, 0, .14), 0px 1px 5px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-3: 0px 3px 3px -2px rgba(0, 0, 0, .2), 0px 3px 4px 0px rgba(0, 0, 0, .14), 0px 1px 8px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-4: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-5: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 5px 8px 0px rgba(0, 0, 0, .14), 0px 1px 14px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-6: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-7: 0px 4px 5px -2px rgba(0, 0, 0, .2), 0px 7px 10px 1px rgba(0, 0, 0, .14), 0px 2px 16px 1px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-8: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-9: 0px 5px 6px -3px rgba(0, 0, 0, .2), 0px 9px 12px 1px rgba(0, 0, 0, .14), 0px 3px 16px 2px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-10: 0px 6px 6px -3px rgba(0, 0, 0, .2), 0px 10px 14px 1px rgba(0, 0, 0, .14), 0px 4px 18px 3px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-11: 0px 6px 7px -4px rgba(0, 0, 0, .2), 0px 11px 15px 1px rgba(0, 0, 0, .14), 0px 4px 20px 3px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-12: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-13: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 13px 19px 2px rgba(0, 0, 0, .14), 0px 5px 24px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-14: 0px 7px 9px -4px rgba(0, 0, 0, .2), 0px 14px 21px 2px rgba(0, 0, 0, .14), 0px 5px 26px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-15: 0px 8px 9px -5px rgba(0, 0, 0, .2), 0px 15px 22px 2px rgba(0, 0, 0, .14), 0px 6px 28px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-16: 0px 8px 10px -5px rgba(0, 0, 0, .2), 0px 16px 24px 2px rgba(0, 0, 0, .14), 0px 6px 30px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-17: 0px 8px 11px -5px rgba(0, 0, 0, .2), 0px 17px 26px 2px rgba(0, 0, 0, .14), 0px 6px 32px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-18: 0px 9px 11px -5px rgba(0, 0, 0, .2), 0px 18px 28px 2px rgba(0, 0, 0, .14), 0px 7px 34px 6px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-19: 0px 9px 12px -6px rgba(0, 0, 0, .2), 0px 19px 29px 2px rgba(0, 0, 0, .14), 0px 7px 36px 6px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-20: 0px 10px 13px -6px rgba(0, 0, 0, .2), 0px 20px 31px 3px rgba(0, 0, 0, .14), 0px 8px 38px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-21: 0px 10px 13px -6px rgba(0, 0, 0, .2), 0px 21px 33px 3px rgba(0, 0, 0, .14), 0px 8px 40px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-22: 0px 10px 14px -6px rgba(0, 0, 0, .2), 0px 22px 35px 3px rgba(0, 0, 0, .14), 0px 8px 42px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-23: 0px 11px 14px -7px rgba(0, 0, 0, .2), 0px 23px 36px 3px rgba(0, 0, 0, .14), 0px 9px 44px 8px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-24: 0px 11px 15px -7px rgba(0, 0, 0, .2), 0px 24px 38px 3px rgba(0, 0, 0, .14), 0px 9px 46px 8px rgba(0, 0, 0, .12)}:root{--mat-ripple-color: rgba(27, 27, 31, .1)}:root{--mat-option-selected-state-label-text-color: #191a2c;--mat-option-label-text-color: #1b1b1f;--mat-option-hover-state-layer-color: rgba(27, 27, 31, .08);--mat-option-focus-state-layer-color: rgba(27, 27, 31, .12);--mat-option-selected-state-layer-color: #e1e0f9;--mat-option-label-text-font: Roboto, sans-serif;--mat-option-label-text-line-height: 1.25rem;--mat-option-label-text-size: 1rem;--mat-option-label-text-tracking: .006rem;--mat-option-label-text-weight: 400}:root{--mat-optgroup-label-text-color: #46464f;--mat-optgroup-label-text-font: Roboto, sans-serif;--mat-optgroup-label-text-line-height: 1.25rem;--mat-optgroup-label-text-size: .875rem;--mat-optgroup-label-text-tracking: .006rem;--mat-optgroup-label-text-weight: 500}:root{--mat-full-pseudo-checkbox-selected-icon-color: #343dff;--mat-full-pseudo-checkbox-selected-checkmark-color: #ffffff;--mat-full-pseudo-checkbox-unselected-icon-color: #46464f;--mat-full-pseudo-checkbox-disabled-selected-checkmark-color: #fcf8fd;--mat-full-pseudo-checkbox-disabled-unselected-icon-color: rgba(27, 27, 31, .38);--mat-full-pseudo-checkbox-disabled-selected-icon-color: rgba(27, 27, 31, .38)}:root{--mat-minimal-pseudo-checkbox-selected-checkmark-color: #343dff;--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: rgba(27, 27, 31, .38)}:root{--mdc-elevated-card-container-color: #f6f2f7;--mdc-elevated-card-container-elevation: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-elevated-card-container-shape: 12px}:root{--mdc-outlined-card-container-color: #fcf8fd;--mdc-outlined-card-outline-color: #c7c5d0;--mdc-outlined-card-container-elevation: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mdc-outlined-card-container-shape: 12px;--mdc-outlined-card-outline-width: 1px}:root{--mat-card-subtitle-text-color: #1b1b1f;--mat-card-title-text-font: Roboto, sans-serif;--mat-card-title-text-line-height: 1.75rem;--mat-card-title-text-size: 1.375rem;--mat-card-title-text-tracking: 0;--mat-card-title-text-weight: 400;--mat-card-subtitle-text-font: Roboto, sans-serif;--mat-card-subtitle-text-line-height: 1.5rem;--mat-card-subtitle-text-size: 1rem;--mat-card-subtitle-text-tracking: .009rem;--mat-card-subtitle-text-weight: 500}:root{--mdc-linear-progress-active-indicator-color: #343dff;--mdc-linear-progress-track-color: #e4e1ec;--mdc-linear-progress-active-indicator-height: 4px;--mdc-linear-progress-track-height: 4px;--mdc-linear-progress-track-shape: 0}:root{--mdc-plain-tooltip-container-color: #303034;--mdc-plain-tooltip-supporting-text-color: #f3eff4;--mdc-plain-tooltip-supporting-text-line-height: 1rem;--mdc-plain-tooltip-supporting-text-font: Roboto, sans-serif;--mdc-plain-tooltip-supporting-text-size: .75rem;--mdc-plain-tooltip-supporting-text-weight: 400;--mdc-plain-tooltip-supporting-text-tracking: .025rem;--mdc-plain-tooltip-container-shape: 4px}:root{--mdc-filled-text-field-caret-color: #343dff;--mdc-filled-text-field-focus-active-indicator-color: #343dff;--mdc-filled-text-field-focus-label-text-color: #343dff;--mdc-filled-text-field-container-color: #e4e1ec;--mdc-filled-text-field-disabled-container-color: rgba(27, 27, 31, .04);--mdc-filled-text-field-label-text-color: #46464f;--mdc-filled-text-field-hover-label-text-color: #46464f;--mdc-filled-text-field-disabled-label-text-color: rgba(27, 27, 31, .38);--mdc-filled-text-field-input-text-color: #1b1b1f;--mdc-filled-text-field-disabled-input-text-color: rgba(27, 27, 31, .38);--mdc-filled-text-field-input-text-placeholder-color: #46464f;--mdc-filled-text-field-error-hover-label-text-color: #410002;--mdc-filled-text-field-error-focus-label-text-color: #ba1a1a;--mdc-filled-text-field-error-label-text-color: #ba1a1a;--mdc-filled-text-field-active-indicator-color: #46464f;--mdc-filled-text-field-disabled-active-indicator-color: rgba(27, 27, 31, .38);--mdc-filled-text-field-hover-active-indicator-color: #1b1b1f;--mdc-filled-text-field-error-active-indicator-color: #ba1a1a;--mdc-filled-text-field-error-focus-active-indicator-color: #ba1a1a;--mdc-filled-text-field-error-hover-active-indicator-color: #410002;--mdc-filled-text-field-label-text-font: Roboto, sans-serif;--mdc-filled-text-field-label-text-size: 1rem;--mdc-filled-text-field-label-text-tracking: .031rem;--mdc-filled-text-field-label-text-weight: 400;--mdc-filled-text-field-active-indicator-height: 1px;--mdc-filled-text-field-focus-active-indicator-height: 2px;--mdc-filled-text-field-container-shape: 4px}:root{--mdc-outlined-text-field-caret-color: #343dff;--mdc-outlined-text-field-focus-outline-color: #343dff;--mdc-outlined-text-field-focus-label-text-color: #343dff;--mdc-outlined-text-field-label-text-color: #46464f;--mdc-outlined-text-field-hover-label-text-color: #1b1b1f;--mdc-outlined-text-field-disabled-label-text-color: rgba(27, 27, 31, .38);--mdc-outlined-text-field-input-text-color: #1b1b1f;--mdc-outlined-text-field-disabled-input-text-color: rgba(27, 27, 31, .38);--mdc-outlined-text-field-input-text-placeholder-color: #46464f;--mdc-outlined-text-field-error-focus-label-text-color: #ba1a1a;--mdc-outlined-text-field-error-label-text-color: #ba1a1a;--mdc-outlined-text-field-error-hover-label-text-color: #410002;--mdc-outlined-text-field-outline-color: #777680;--mdc-outlined-text-field-disabled-outline-color: rgba(27, 27, 31, .12);--mdc-outlined-text-field-hover-outline-color: #1b1b1f;--mdc-outlined-text-field-error-focus-outline-color: #ba1a1a;--mdc-outlined-text-field-error-hover-outline-color: #410002;--mdc-outlined-text-field-error-outline-color: #ba1a1a;--mdc-outlined-text-field-label-text-font: Roboto, sans-serif;--mdc-outlined-text-field-label-text-size: 1rem;--mdc-outlined-text-field-label-text-tracking: .031rem;--mdc-outlined-text-field-label-text-weight: 400;--mdc-outlined-text-field-outline-width: 1px;--mdc-outlined-text-field-focus-outline-width: 2px;--mdc-outlined-text-field-container-shape: 4px}:root{--mat-form-field-focus-select-arrow-color: #343dff;--mat-form-field-disabled-input-text-placeholder-color: rgba(27, 27, 31, .38);--mat-form-field-state-layer-color: #1b1b1f;--mat-form-field-error-text-color: #ba1a1a;--mat-form-field-select-option-text-color: #1b1b1f;--mat-form-field-select-disabled-option-text-color: rgba(27, 27, 31, .38);--mat-form-field-leading-icon-color: #46464f;--mat-form-field-disabled-leading-icon-color: rgba(27, 27, 31, .38);--mat-form-field-trailing-icon-color: #46464f;--mat-form-field-disabled-trailing-icon-color: rgba(27, 27, 31, .38);--mat-form-field-error-focus-trailing-icon-color: #ba1a1a;--mat-form-field-error-hover-trailing-icon-color: #410002;--mat-form-field-error-trailing-icon-color: #ba1a1a;--mat-form-field-enabled-select-arrow-color: #46464f;--mat-form-field-disabled-select-arrow-color: rgba(27, 27, 31, .38);--mat-form-field-hover-state-layer-opacity: .08;--mat-form-field-container-text-font: Roboto, sans-serif;--mat-form-field-container-text-line-height: 1.5rem;--mat-form-field-container-text-size: 1rem;--mat-form-field-container-text-tracking: .031rem;--mat-form-field-container-text-weight: 400;--mat-form-field-subscript-text-font: Roboto, sans-serif;--mat-form-field-subscript-text-line-height: 1rem;--mat-form-field-subscript-text-size: .75rem;--mat-form-field-subscript-text-tracking: .025rem;--mat-form-field-subscript-text-weight: 400;--mat-form-field-container-height: 56px;--mat-form-field-filled-label-display: block;--mat-form-field-container-vertical-padding: 16px;--mat-form-field-filled-with-label-container-padding-top: 24px;--mat-form-field-filled-with-label-container-padding-bottom: 8px;--mat-form-field-focus-state-layer-opacity: 0}:root{--mat-select-panel-background-color: #f0edf1;--mat-select-enabled-trigger-text-color: #1b1b1f;--mat-select-disabled-trigger-text-color: rgba(27, 27, 31, .38);--mat-select-placeholder-text-color: #46464f;--mat-select-enabled-arrow-color: #46464f;--mat-select-disabled-arrow-color: rgba(27, 27, 31, .38);--mat-select-focused-arrow-color: #343dff;--mat-select-invalid-arrow-color: #ba1a1a;--mat-select-trigger-text-font: Roboto, sans-serif;--mat-select-trigger-text-line-height: 1.5rem;--mat-select-trigger-text-size: 1rem;--mat-select-trigger-text-tracking: .031rem;--mat-select-trigger-text-weight: 400;--mat-select-arrow-transform: translateY(-8px);--mat-select-container-elevation-shadow: 0px 3px 1px -2px rgba(0, 0, 0, .2), 0px 2px 2px 0px rgba(0, 0, 0, .14), 0px 1px 5px 0px rgba(0, 0, 0, .12)}:root{--mat-autocomplete-background-color: #f0edf1;--mat-autocomplete-container-shape: 4px;--mat-autocomplete-container-elevation-shadow: 0px 3px 1px -2px rgba(0, 0, 0, .2), 0px 2px 2px 0px rgba(0, 0, 0, .14), 0px 1px 5px 0px rgba(0, 0, 0, .12)}:root{--mdc-dialog-container-color: #fcf8fd;--mdc-dialog-subhead-color: #1b1b1f;--mdc-dialog-supporting-text-color: #46464f;--mdc-dialog-subhead-font: Roboto, sans-serif;--mdc-dialog-subhead-line-height: 2rem;--mdc-dialog-subhead-size: 1.5rem;--mdc-dialog-subhead-weight: 400;--mdc-dialog-subhead-tracking: 0;--mdc-dialog-supporting-text-font: Roboto, sans-serif;--mdc-dialog-supporting-text-line-height: 1.25rem;--mdc-dialog-supporting-text-size: .875rem;--mdc-dialog-supporting-text-weight: 400;--mdc-dialog-supporting-text-tracking: .016rem;--mdc-dialog-container-shape: 28px}:root{--mat-dialog-container-elevation-shadow: none;--mat-dialog-container-max-width: 560px;--mat-dialog-container-small-max-width: calc(100vw - 32px) ;--mat-dialog-container-min-width: 280px;--mat-dialog-actions-alignment: flex-end;--mat-dialog-actions-padding: 16px 24px;--mat-dialog-content-padding: 20px 24px;--mat-dialog-with-actions-content-padding: 20px 24px 0;--mat-dialog-headline-padding: 6px 24px 13px}:root{--mdc-chip-outline-color: #777680;--mdc-chip-disabled-outline-color: rgba(27, 27, 31, .12);--mdc-chip-focus-outline-color: #46464f;--mdc-chip-hover-state-layer-opacity: .08;--mdc-chip-selected-hover-state-layer-opacity: .08;--mdc-chip-disabled-label-text-color: rgba(27, 27, 31, .38);--mdc-chip-elevated-selected-container-color: #e1e0f9;--mdc-chip-flat-disabled-selected-container-color: rgba(27, 27, 31, .12);--mdc-chip-focus-state-layer-color: #46464f;--mdc-chip-hover-state-layer-color: #46464f;--mdc-chip-selected-hover-state-layer-color: #191a2c;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-selected-focus-state-layer-color: #191a2c;--mdc-chip-selected-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: #46464f;--mdc-chip-selected-label-text-color: #191a2c;--mdc-chip-with-icon-icon-color: #46464f;--mdc-chip-with-icon-disabled-icon-color: #1b1b1f;--mdc-chip-with-icon-selected-icon-color: #191a2c;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: #1b1b1f;--mdc-chip-with-trailing-icon-trailing-icon-color: #46464f;--mdc-chip-label-text-font: Roboto, sans-serif;--mdc-chip-label-text-line-height: 1.25rem;--mdc-chip-label-text-size: .875rem;--mdc-chip-label-text-tracking: .006rem;--mdc-chip-label-text-weight: 500;--mdc-chip-container-height: 32px;--mdc-chip-container-shape-radius: 8px;--mdc-chip-with-avatar-avatar-shape-radius: 24px;--mdc-chip-with-avatar-avatar-size: 24px;--mdc-chip-with-icon-icon-size: 18px;--mdc-chip-outline-width: 1px;--mdc-chip-with-avatar-disabled-avatar-opacity: .38;--mdc-chip-flat-selected-outline-width: 0;--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity: .38;--mdc-chip-with-icon-disabled-icon-opacity: .38;--mdc-chip-elevated-container-color: transparent}:root{--mat-chip-trailing-action-state-layer-color: #46464f;--mat-chip-selected-trailing-action-state-layer-color: #191a2c;--mat-chip-trailing-action-hover-state-layer-opacity: .08;--mat-chip-trailing-action-focus-state-layer-opacity: .12;--mat-chip-selected-disabled-trailing-icon-color: #1b1b1f;--mat-chip-selected-trailing-icon-color: #191a2c;--mat-chip-disabled-container-opacity: 1;--mat-chip-trailing-action-opacity: 1;--mat-chip-trailing-action-focus-opacity: 1}:root{--mdc-switch-selected-focus-state-layer-opacity: .12;--mdc-switch-selected-hover-state-layer-opacity: .08;--mdc-switch-selected-pressed-state-layer-opacity: .12;--mdc-switch-unselected-focus-state-layer-opacity: .12;--mdc-switch-unselected-hover-state-layer-opacity: .08;--mdc-switch-unselected-pressed-state-layer-opacity: .12;--mdc-switch-selected-focus-state-layer-color: #343dff;--mdc-switch-selected-handle-color: #ffffff;--mdc-switch-selected-hover-state-layer-color: #343dff;--mdc-switch-selected-pressed-state-layer-color: #343dff;--mdc-switch-selected-focus-handle-color: #e0e0ff;--mdc-switch-selected-hover-handle-color: #e0e0ff;--mdc-switch-selected-pressed-handle-color: #e0e0ff;--mdc-switch-selected-focus-track-color: #343dff;--mdc-switch-selected-hover-track-color: #343dff;--mdc-switch-selected-pressed-track-color: #343dff;--mdc-switch-selected-track-color: #343dff;--mdc-switch-disabled-selected-handle-color: #fcf8fd;--mdc-switch-disabled-selected-icon-color: #1b1b1f;--mdc-switch-disabled-selected-track-color: #1b1b1f;--mdc-switch-disabled-unselected-handle-color: #1b1b1f;--mdc-switch-disabled-unselected-icon-color: #e4e1ec;--mdc-switch-disabled-unselected-track-color: #e4e1ec;--mdc-switch-selected-icon-color: #00006e;--mdc-switch-unselected-focus-handle-color: #46464f;--mdc-switch-unselected-focus-state-layer-color: #1b1b1f;--mdc-switch-unselected-focus-track-color: #e4e1ec;--mdc-switch-unselected-handle-color: #777680;--mdc-switch-unselected-hover-handle-color: #46464f;--mdc-switch-unselected-hover-state-layer-color: #1b1b1f;--mdc-switch-unselected-hover-track-color: #e4e1ec;--mdc-switch-unselected-icon-color: #e4e1ec;--mdc-switch-unselected-pressed-handle-color: #46464f;--mdc-switch-unselected-pressed-state-layer-color: #1b1b1f;--mdc-switch-unselected-pressed-track-color: #e4e1ec;--mdc-switch-unselected-track-color: #e4e1ec;--mdc-switch-disabled-selected-icon-opacity: .38;--mdc-switch-disabled-track-opacity: .12;--mdc-switch-disabled-unselected-icon-opacity: .38;--mdc-switch-handle-shape: 9999px;--mdc-switch-selected-icon-size: 16px;--mdc-switch-track-height: 32px;--mdc-switch-track-shape: 9999px;--mdc-switch-track-width: 52px;--mdc-switch-unselected-icon-size: 16px;--mdc-switch-state-layer-size: 40px}:root{--mat-switch-track-outline-color: #777680;--mat-switch-disabled-unselected-track-outline-color: #1b1b1f;--mat-switch-label-text-color: #1b1b1f;--mat-switch-label-text-font: Roboto, sans-serif;--mat-switch-label-text-line-height: 1.25rem;--mat-switch-label-text-size: .875rem;--mat-switch-label-text-tracking: .016rem;--mat-switch-label-text-weight: 400;--mat-switch-disabled-selected-handle-opacity: 1;--mat-switch-disabled-unselected-handle-opacity: .38;--mat-switch-unselected-handle-size: 16px;--mat-switch-selected-handle-size: 24px;--mat-switch-pressed-handle-size: 28px;--mat-switch-with-icon-handle-size: 24px;--mat-switch-selected-handle-horizontal-margin: 0 24px;--mat-switch-selected-with-icon-handle-horizontal-margin: 0 24px;--mat-switch-selected-pressed-handle-horizontal-margin: 0 22px;--mat-switch-unselected-handle-horizontal-margin: 0 8px;--mat-switch-unselected-with-icon-handle-horizontal-margin: 0 4px;--mat-switch-unselected-pressed-handle-horizontal-margin: 0 2px;--mat-switch-visible-track-opacity: 1;--mat-switch-hidden-track-opacity: 0;--mat-switch-visible-track-transition: opacity 75ms;--mat-switch-hidden-track-transition: opacity 75ms;--mat-switch-track-outline-width: 2px;--mat-switch-selected-track-outline-width: 2px;--mat-switch-selected-track-outline-color: transparent;--mat-switch-disabled-unselected-track-outline-width: 2px}:root{--mdc-radio-disabled-selected-icon-color: #1b1b1f;--mdc-radio-disabled-unselected-icon-color: #1b1b1f;--mdc-radio-unselected-hover-icon-color: #1b1b1f;--mdc-radio-unselected-focus-icon-color: #1b1b1f;--mdc-radio-unselected-icon-color: #46464f;--mdc-radio-unselected-pressed-icon-color: #1b1b1f;--mdc-radio-selected-focus-icon-color: #343dff;--mdc-radio-selected-hover-icon-color: #343dff;--mdc-radio-selected-icon-color: #343dff;--mdc-radio-selected-pressed-icon-color: #343dff;--mdc-radio-state-layer-size: 40px;--mdc-radio-disabled-selected-icon-opacity: .38;--mdc-radio-disabled-unselected-icon-opacity: .38}:root{--mat-radio-ripple-color: #1b1b1f;--mat-radio-checked-ripple-color: #343dff;--mat-radio-disabled-label-color: rgba(27, 27, 31, .38);--mat-radio-label-text-color: #1b1b1f;--mat-radio-label-text-font: Roboto, sans-serif;--mat-radio-label-text-line-height: 1.25rem;--mat-radio-label-text-size: .875rem;--mat-radio-label-text-tracking: .016rem;--mat-radio-label-text-weight: 400;--mat-radio-touch-target-display: block}:root{--mdc-slider-handle-elevation: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-slider-handle-color: #343dff;--mdc-slider-focus-handle-color: #343dff;--mdc-slider-hover-handle-color: #343dff;--mdc-slider-active-track-color: #343dff;--mdc-slider-inactive-track-color: #e4e1ec;--mdc-slider-with-tick-marks-inactive-container-color: #46464f;--mdc-slider-with-tick-marks-active-container-color: #ffffff;--mdc-slider-disabled-active-track-color: #1b1b1f;--mdc-slider-disabled-handle-color: #1b1b1f;--mdc-slider-disabled-inactive-track-color: #1b1b1f;--mdc-slider-label-container-color: #343dff;--mdc-slider-label-label-text-color: #ffffff;--mdc-slider-with-overlap-handle-outline-color: #ffffff;--mdc-slider-with-tick-marks-disabled-container-color: #1b1b1f;--mdc-slider-label-label-text-font: Roboto, sans-serif;--mdc-slider-label-label-text-size: .75rem;--mdc-slider-label-label-text-line-height: 1rem;--mdc-slider-label-label-text-tracking: .031rem;--mdc-slider-label-label-text-weight: 500;--mdc-slider-active-track-height: 4px;--mdc-slider-active-track-shape: 9999px;--mdc-slider-handle-height: 20px;--mdc-slider-handle-shape: 9999px;--mdc-slider-handle-width: 20px;--mdc-slider-inactive-track-height: 4px;--mdc-slider-inactive-track-shape: 9999px;--mdc-slider-with-overlap-handle-outline-width: 1px;--mdc-slider-with-tick-marks-active-container-opacity: .38;--mdc-slider-with-tick-marks-container-shape: 9999px;--mdc-slider-with-tick-marks-container-size: 2px;--mdc-slider-with-tick-marks-inactive-container-opacity: .38}:root{--mat-slider-ripple-color: #343dff;--mat-slider-hover-state-layer-color: rgba(52, 61, 255, .05);--mat-slider-focus-state-layer-color: rgba(52, 61, 255, .2);--mat-slider-value-indicator-width: 28px;--mat-slider-value-indicator-height: 28px;--mat-slider-value-indicator-caret-display: none;--mat-slider-value-indicator-border-radius: 50% 50% 50% 0;--mat-slider-value-indicator-padding: 0;--mat-slider-value-indicator-text-transform: rotate(45deg);--mat-slider-value-indicator-container-transform: translateX(-50%) rotate(-45deg);--mat-slider-value-indicator-opacity: 1}:root{--mat-menu-item-label-text-color: #1b1b1f;--mat-menu-item-icon-color: #46464f;--mat-menu-item-hover-state-layer-color: rgba(27, 27, 31, .08);--mat-menu-item-focus-state-layer-color: rgba(27, 27, 31, .12);--mat-menu-container-color: #f0edf1;--mat-menu-divider-color: #e4e1ec;--mat-menu-item-label-text-font: Roboto, sans-serif;--mat-menu-item-label-text-size: .875rem;--mat-menu-item-label-text-tracking: .006rem;--mat-menu-item-label-text-line-height: 1.25rem;--mat-menu-item-label-text-weight: 500;--mat-menu-container-shape: 4px;--mat-menu-divider-bottom-spacing: 8px;--mat-menu-divider-top-spacing: 8px;--mat-menu-item-spacing: 12px;--mat-menu-item-icon-size: 24px;--mat-menu-item-leading-spacing: 12px;--mat-menu-item-trailing-spacing: 12px;--mat-menu-item-with-icon-leading-spacing: 12px;--mat-menu-item-with-icon-trailing-spacing: 12px;--mat-menu-container-elevation-shadow: 0px 3px 1px -2px rgba(0, 0, 0, .2), 0px 2px 2px 0px rgba(0, 0, 0, .14), 0px 1px 5px 0px rgba(0, 0, 0, .12)}:root{--mdc-list-list-item-container-color: transparent;--mdc-list-list-item-leading-avatar-color: #e0e0ff;--mdc-list-list-item-disabled-state-layer-color: #1b1b1f;--mdc-list-list-item-disabled-state-layer-opacity: .12;--mdc-list-list-item-label-text-color: #1b1b1f;--mdc-list-list-item-supporting-text-color: #46464f;--mdc-list-list-item-leading-icon-color: #46464f;--mdc-list-list-item-trailing-supporting-text-color: #46464f;--mdc-list-list-item-trailing-icon-color: #46464f;--mdc-list-list-item-selected-trailing-icon-color: #343dff;--mdc-list-list-item-disabled-label-text-color: #1b1b1f;--mdc-list-list-item-disabled-leading-icon-color: #1b1b1f;--mdc-list-list-item-disabled-trailing-icon-color: #1b1b1f;--mdc-list-list-item-hover-label-text-color: #1b1b1f;--mdc-list-list-item-focus-label-text-color: #1b1b1f;--mdc-list-list-item-hover-state-layer-color: #1b1b1f;--mdc-list-list-item-hover-state-layer-opacity: .08;--mdc-list-list-item-focus-state-layer-color: #1b1b1f;--mdc-list-list-item-focus-state-layer-opacity: .12;--mdc-list-list-item-label-text-font: Roboto, sans-serif;--mdc-list-list-item-label-text-line-height: 1.5rem;--mdc-list-list-item-label-text-size: 1rem;--mdc-list-list-item-label-text-tracking: .031rem;--mdc-list-list-item-label-text-weight: 400;--mdc-list-list-item-supporting-text-font: Roboto, sans-serif;--mdc-list-list-item-supporting-text-line-height: 1.25rem;--mdc-list-list-item-supporting-text-size: .875rem;--mdc-list-list-item-supporting-text-tracking: .016rem;--mdc-list-list-item-supporting-text-weight: 400;--mdc-list-list-item-trailing-supporting-text-font: Roboto, sans-serif;--mdc-list-list-item-trailing-supporting-text-line-height: 1rem;--mdc-list-list-item-trailing-supporting-text-size: .688rem;--mdc-list-list-item-trailing-supporting-text-tracking: .031rem;--mdc-list-list-item-trailing-supporting-text-weight: 500;--mdc-list-list-item-one-line-container-height: 48px;--mdc-list-list-item-two-line-container-height: 64px;--mdc-list-list-item-three-line-container-height: 88px;--mdc-list-list-item-container-shape: 0;--mdc-list-list-item-leading-avatar-shape: 9999px;--mdc-list-list-item-leading-icon-size: 24px;--mdc-list-list-item-leading-avatar-size: 40px;--mdc-list-list-item-trailing-icon-size: 24px;--mdc-list-list-item-disabled-label-text-opacity: .3;--mdc-list-list-item-disabled-leading-icon-opacity: .38;--mdc-list-list-item-disabled-trailing-icon-opacity: .38}:root{--mat-list-active-indicator-color: #e1e0f9;--mat-list-list-item-leading-icon-start-space: 16px;--mat-list-list-item-leading-icon-end-space: 16px;--mat-list-active-indicator-shape: 9999px}:root{--mat-paginator-container-text-color: #1b1b1f;--mat-paginator-container-background-color: #fcf8fd;--mat-paginator-enabled-icon-color: #46464f;--mat-paginator-disabled-icon-color: rgba(27, 27, 31, .38);--mat-paginator-container-text-font: Roboto, sans-serif;--mat-paginator-container-text-line-height: 1rem;--mat-paginator-container-text-size: .75rem;--mat-paginator-container-text-tracking: .025rem;--mat-paginator-container-text-weight: 400;--mat-paginator-select-trigger-text-size: .75rem;--mat-paginator-container-size: 56px;--mat-paginator-form-field-container-height: 40px;--mat-paginator-form-field-container-vertical-padding: 8px;--mat-paginator-touch-target-display: block}:root{--mdc-secondary-navigation-tab-container-height: 48px}:root{--mdc-tab-indicator-active-indicator-color: #343dff;--mdc-tab-indicator-active-indicator-height: 2px;--mdc-tab-indicator-active-indicator-shape: 0}:root{--mat-tab-header-divider-color: #e4e1ec;--mat-tab-header-pagination-icon-color: #1b1b1f;--mat-tab-header-inactive-label-text-color: #1b1b1f;--mat-tab-header-active-label-text-color: #1b1b1f;--mat-tab-header-active-ripple-color: #1b1b1f;--mat-tab-header-inactive-ripple-color: #1b1b1f;--mat-tab-header-inactive-focus-label-text-color: #1b1b1f;--mat-tab-header-inactive-hover-label-text-color: #1b1b1f;--mat-tab-header-active-focus-label-text-color: #1b1b1f;--mat-tab-header-active-hover-label-text-color: #1b1b1f;--mat-tab-header-active-focus-indicator-color: #343dff;--mat-tab-header-active-hover-indicator-color: #343dff;--mat-tab-header-label-text-font: Roboto, sans-serif;--mat-tab-header-label-text-size: .875rem;--mat-tab-header-label-text-tracking: .006rem;--mat-tab-header-label-text-line-height: 1.25rem;--mat-tab-header-label-text-weight: 500;--mat-tab-header-divider-height: 1px}:root{--mdc-checkbox-disabled-selected-checkmark-color: #fcf8fd;--mdc-checkbox-selected-focus-state-layer-opacity: .12;--mdc-checkbox-selected-hover-state-layer-opacity: .08;--mdc-checkbox-selected-pressed-state-layer-opacity: .12;--mdc-checkbox-unselected-focus-state-layer-opacity: .12;--mdc-checkbox-unselected-hover-state-layer-opacity: .08;--mdc-checkbox-unselected-pressed-state-layer-opacity: .12;--mdc-checkbox-selected-pressed-icon-color: #343dff;--mdc-checkbox-disabled-selected-icon-color: rgba(27, 27, 31, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(27, 27, 31, .38);--mdc-checkbox-selected-checkmark-color: #ffffff;--mdc-checkbox-selected-focus-icon-color: #343dff;--mdc-checkbox-selected-hover-icon-color: #343dff;--mdc-checkbox-selected-icon-color: #343dff;--mdc-checkbox-unselected-focus-icon-color: #1b1b1f;--mdc-checkbox-unselected-hover-icon-color: #1b1b1f;--mdc-checkbox-unselected-icon-color: #46464f;--mdc-checkbox-selected-focus-state-layer-color: #343dff;--mdc-checkbox-selected-hover-state-layer-color: #343dff;--mdc-checkbox-selected-pressed-state-layer-color: #1b1b1f;--mdc-checkbox-unselected-focus-state-layer-color: #1b1b1f;--mdc-checkbox-unselected-hover-state-layer-color: #1b1b1f;--mdc-checkbox-unselected-pressed-state-layer-color: #343dff;--mdc-checkbox-state-layer-size: 40px}:root{--mat-checkbox-disabled-label-color: rgba(27, 27, 31, .38);--mat-checkbox-label-text-color: #1b1b1f;--mat-checkbox-label-text-font: Roboto, sans-serif;--mat-checkbox-label-text-line-height: 1.25rem;--mat-checkbox-label-text-size: .875rem;--mat-checkbox-label-text-tracking: .016rem;--mat-checkbox-label-text-weight: 400;--mat-checkbox-touch-target-display: block}:root{--mdc-text-button-label-text-color: #343dff;--mdc-text-button-disabled-label-text-color: rgba(27, 27, 31, .38);--mdc-text-button-label-text-font: Roboto, sans-serif;--mdc-text-button-label-text-size: .875rem;--mdc-text-button-label-text-tracking: .006rem;--mdc-text-button-label-text-weight: 500;--mdc-text-button-container-height: 40px;--mdc-text-button-container-shape: 9999px}:root{--mdc-protected-button-container-elevation-shadow: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-protected-button-disabled-container-elevation-shadow: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mdc-protected-button-focus-container-elevation-shadow: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-protected-button-hover-container-elevation-shadow: 0px 3px 3px -2px rgba(0, 0, 0, .2), 0px 3px 4px 0px rgba(0, 0, 0, .14), 0px 1px 8px 0px rgba(0, 0, 0, .12);--mdc-protected-button-pressed-container-elevation-shadow: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-protected-button-container-color: #fcf8fd;--mdc-protected-button-label-text-color: #343dff;--mdc-protected-button-disabled-container-color: rgba(27, 27, 31, .12);--mdc-protected-button-disabled-label-text-color: rgba(27, 27, 31, .38);--mdc-protected-button-label-text-font: Roboto, sans-serif;--mdc-protected-button-label-text-size: .875rem;--mdc-protected-button-label-text-tracking: .006rem;--mdc-protected-button-label-text-weight: 500;--mdc-protected-button-container-height: 40px;--mdc-protected-button-container-shape: 9999px}:root{--mdc-filled-button-container-color: #343dff;--mdc-filled-button-label-text-color: #ffffff;--mdc-filled-button-disabled-container-color: rgba(27, 27, 31, .12);--mdc-filled-button-disabled-label-text-color: rgba(27, 27, 31, .38);--mdc-filled-button-label-text-font: Roboto, sans-serif;--mdc-filled-button-label-text-size: .875rem;--mdc-filled-button-label-text-tracking: .006rem;--mdc-filled-button-label-text-weight: 500;--mdc-filled-button-container-height: 40px;--mdc-filled-button-container-shape: 9999px}:root{--mdc-outlined-button-disabled-outline-color: rgba(27, 27, 31, .12);--mdc-outlined-button-disabled-label-text-color: rgba(27, 27, 31, .38);--mdc-outlined-button-label-text-color: #343dff;--mdc-outlined-button-outline-color: #777680;--mdc-outlined-button-label-text-font: Roboto, sans-serif;--mdc-outlined-button-label-text-size: .875rem;--mdc-outlined-button-label-text-tracking: .006rem;--mdc-outlined-button-label-text-weight: 500;--mdc-outlined-button-container-height: 40px;--mdc-outlined-button-outline-width: 1px;--mdc-outlined-button-container-shape: 9999px}:root{--mat-text-button-state-layer-color: #343dff;--mat-text-button-disabled-state-layer-color: #46464f;--mat-text-button-ripple-color: rgba(52, 61, 255, .12);--mat-text-button-hover-state-layer-opacity: .08;--mat-text-button-focus-state-layer-opacity: .12;--mat-text-button-pressed-state-layer-opacity: .12;--mat-text-button-touch-target-display: block;--mat-text-button-horizontal-padding: 12px;--mat-text-button-with-icon-horizontal-padding: 16px;--mat-text-button-icon-spacing: 8px;--mat-text-button-icon-offset: -4px}:root{--mat-protected-button-state-layer-color: #343dff;--mat-protected-button-disabled-state-layer-color: #46464f;--mat-protected-button-ripple-color: rgba(52, 61, 255, .12);--mat-protected-button-hover-state-layer-opacity: .08;--mat-protected-button-focus-state-layer-opacity: .12;--mat-protected-button-pressed-state-layer-opacity: .12;--mat-protected-button-touch-target-display: block;--mat-protected-button-horizontal-padding: 24px;--mat-protected-button-icon-spacing: 8px;--mat-protected-button-icon-offset: -8px}:root{--mat-filled-button-state-layer-color: #ffffff;--mat-filled-button-disabled-state-layer-color: #46464f;--mat-filled-button-ripple-color: rgba(255, 255, 255, .12);--mat-filled-button-hover-state-layer-opacity: .08;--mat-filled-button-focus-state-layer-opacity: .12;--mat-filled-button-pressed-state-layer-opacity: .12;--mat-filled-button-touch-target-display: block;--mat-filled-button-horizontal-padding: 24px;--mat-filled-button-icon-spacing: 8px;--mat-filled-button-icon-offset: -8px}:root{--mat-outlined-button-state-layer-color: #343dff;--mat-outlined-button-disabled-state-layer-color: #46464f;--mat-outlined-button-ripple-color: rgba(52, 61, 255, .12);--mat-outlined-button-hover-state-layer-opacity: .08;--mat-outlined-button-focus-state-layer-opacity: .12;--mat-outlined-button-pressed-state-layer-opacity: .12;--mat-outlined-button-touch-target-display: block;--mat-outlined-button-horizontal-padding: 24px;--mat-outlined-button-icon-spacing: 8px;--mat-outlined-button-icon-offset: -8px}:root{--mdc-icon-button-icon-color: #46464f;--mdc-icon-button-disabled-icon-color: rgba(27, 27, 31, .38);--mdc-icon-button-state-layer-size: 40px;--mdc-icon-button-icon-size: 24px}:root{--mat-icon-button-state-layer-color: #46464f;--mat-icon-button-disabled-state-layer-color: #46464f;--mat-icon-button-ripple-color: rgba(70, 70, 79, .12);--mat-icon-button-hover-state-layer-opacity: .08;--mat-icon-button-focus-state-layer-opacity: .12;--mat-icon-button-pressed-state-layer-opacity: .12;--mat-icon-button-touch-target-display: block}:root{--mdc-extended-fab-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-extended-fab-focus-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-extended-fab-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-extended-fab-pressed-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-extended-fab-label-text-font: Roboto, sans-serif;--mdc-extended-fab-label-text-size: .875rem;--mdc-extended-fab-label-text-tracking: .006rem;--mdc-extended-fab-label-text-weight: 500;--mdc-extended-fab-container-height: 56px;--mdc-extended-fab-container-shape: 16px}:root{--mdc-fab-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-focus-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-fab-pressed-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-container-color: #e0e0ff;--mdc-fab-container-shape: 16px}:root{--mdc-fab-small-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-small-focus-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-small-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-fab-small-pressed-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-small-container-color: #e0e0ff;--mdc-fab-small-container-shape: 12px}:root{--mat-fab-foreground-color: #00006e;--mat-fab-state-layer-color: #00006e;--mat-fab-ripple-color: rgba(0, 0, 110, .12);--mat-fab-hover-state-layer-opacity: .08;--mat-fab-focus-state-layer-opacity: .12;--mat-fab-pressed-state-layer-opacity: .12;--mat-fab-disabled-state-container-color: rgba(27, 27, 31, .12);--mat-fab-disabled-state-foreground-color: rgba(27, 27, 31, .38);--mat-fab-touch-target-display: block}:root{--mat-fab-small-foreground-color: #00006e;--mat-fab-small-state-layer-color: #00006e;--mat-fab-small-ripple-color: rgba(0, 0, 110, .12);--mat-fab-small-hover-state-layer-opacity: .08;--mat-fab-small-focus-state-layer-opacity: .12;--mat-fab-small-pressed-state-layer-opacity: .12;--mat-fab-small-disabled-state-container-color: rgba(27, 27, 31, .12);--mat-fab-small-disabled-state-foreground-color: rgba(27, 27, 31, .38)}:root{--mdc-snackbar-container-color: #303034;--mdc-snackbar-supporting-text-color: #f3eff4;--mdc-snackbar-supporting-text-font: Roboto, sans-serif;--mdc-snackbar-supporting-text-line-height: 1.25rem;--mdc-snackbar-supporting-text-size: .875rem;--mdc-snackbar-supporting-text-weight: 400;--mdc-snackbar-container-shape: 4px}:root{--mat-snack-bar-button-color: #bec2ff}:root{--mat-table-background-color: #fcf8fd;--mat-table-header-headline-color: #1b1b1f;--mat-table-row-item-label-text-color: #1b1b1f;--mat-table-row-item-outline-color: #777680;--mat-table-header-headline-font: Roboto, sans-serif;--mat-table-header-headline-line-height: 1.25rem;--mat-table-header-headline-size: .875rem;--mat-table-header-headline-weight: 500;--mat-table-header-headline-tracking: .006rem;--mat-table-row-item-label-text-font: Roboto, sans-serif;--mat-table-row-item-label-text-line-height: 1.25rem;--mat-table-row-item-label-text-size: .875rem;--mat-table-row-item-label-text-weight: 400;--mat-table-row-item-label-text-tracking: .016rem;--mat-table-footer-supporting-text-font: Roboto, sans-serif;--mat-table-footer-supporting-text-line-height: 1.25rem;--mat-table-footer-supporting-text-size: .875rem;--mat-table-footer-supporting-text-weight: 400;--mat-table-footer-supporting-text-tracking: .016rem;--mat-table-header-container-height: 56px;--mat-table-footer-container-height: 52px;--mat-table-row-item-container-height: 52px;--mat-table-row-item-outline-width: 1px}:root{--mdc-circular-progress-active-indicator-color: #343dff;--mdc-circular-progress-active-indicator-width: 4px;--mdc-circular-progress-size: 48px}:root{--mat-badge-background-color: #ba1a1a;--mat-badge-text-color: #ffffff;--mat-badge-disabled-state-background-color: rgba(186, 26, 26, .38);--mat-badge-disabled-state-text-color: #ffffff;--mat-badge-text-font: Roboto, sans-serif;--mat-badge-text-size: .688rem;--mat-badge-text-weight: 500;--mat-badge-large-size-text-size: .688rem;--mat-badge-container-shape: 9999px;--mat-badge-container-size: 16px;--mat-badge-small-size-container-size: 6px;--mat-badge-large-size-container-size: 16px;--mat-badge-legacy-container-size: unset;--mat-badge-legacy-small-size-container-size: unset;--mat-badge-legacy-large-size-container-size: unset;--mat-badge-container-offset: -12px 0;--mat-badge-small-size-container-offset: -6px 0;--mat-badge-large-size-container-offset: -12px 0;--mat-badge-container-overlap-offset: -12px;--mat-badge-small-size-container-overlap-offset: -6px;--mat-badge-large-size-container-overlap-offset: -12px;--mat-badge-container-padding: 0 4px;--mat-badge-small-size-container-padding: 0;--mat-badge-large-size-container-padding: 0 4px;--mat-badge-line-height: 16px;--mat-badge-small-size-text-size: 0;--mat-badge-small-size-line-height: 6px;--mat-badge-large-size-line-height: 16px}:root{--mat-bottom-sheet-container-text-color: #1b1b1f;--mat-bottom-sheet-container-background-color: #f6f2f7;--mat-bottom-sheet-container-text-font: Roboto, sans-serif;--mat-bottom-sheet-container-text-line-height: 1.5rem;--mat-bottom-sheet-container-text-size: 1rem;--mat-bottom-sheet-container-text-tracking: .031rem;--mat-bottom-sheet-container-text-weight: 400;--mat-bottom-sheet-container-shape: 28px}:root{--mat-standard-button-toggle-hover-state-layer-opacity: .08;--mat-standard-button-toggle-focus-state-layer-opacity: .12;--mat-standard-button-toggle-text-color: #1b1b1f;--mat-standard-button-toggle-state-layer-color: #1b1b1f;--mat-standard-button-toggle-selected-state-background-color: #e1e0f9;--mat-standard-button-toggle-selected-state-text-color: #191a2c;--mat-standard-button-toggle-disabled-state-text-color: rgba(27, 27, 31, .38);--mat-standard-button-toggle-disabled-selected-state-text-color: rgba(27, 27, 31, .38);--mat-standard-button-toggle-disabled-selected-state-background-color: rgba(27, 27, 31, .12);--mat-standard-button-toggle-divider-color: #777680;--mat-standard-button-toggle-label-text-font: Roboto, sans-serif;--mat-standard-button-toggle-label-text-line-height: 1.25rem;--mat-standard-button-toggle-label-text-size: .875rem;--mat-standard-button-toggle-label-text-tracking: .006rem;--mat-standard-button-toggle-label-text-weight: 500;--mat-standard-button-toggle-height: 40px;--mat-standard-button-toggle-shape: 9999px;--mat-standard-button-toggle-background-color: transparent;--mat-standard-button-toggle-disabled-state-background-color: transparent}:root{--mat-datepicker-calendar-date-selected-state-text-color: #ffffff;--mat-datepicker-calendar-date-selected-state-background-color: #343dff;--mat-datepicker-calendar-date-selected-disabled-state-background-color: rgba(27, 27, 31, .38);--mat-datepicker-calendar-date-today-selected-state-outline-color: #343dff;--mat-datepicker-calendar-date-focus-state-background-color: rgba(27, 27, 31, .12);--mat-datepicker-calendar-date-hover-state-background-color: rgba(27, 27, 31, .08);--mat-datepicker-toggle-active-state-icon-color: #46464f;--mat-datepicker-calendar-date-in-range-state-background-color: #e0e0ff;--mat-datepicker-calendar-date-in-comparison-range-state-background-color: #e0e0ff;--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #e1e0f9;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: #5c5d72;--mat-datepicker-toggle-icon-color: #46464f;--mat-datepicker-calendar-body-label-text-color: #1b1b1f;--mat-datepicker-calendar-period-button-text-color: #46464f;--mat-datepicker-calendar-period-button-icon-color: #46464f;--mat-datepicker-calendar-navigation-button-icon-color: #46464f;--mat-datepicker-calendar-header-text-color: #46464f;--mat-datepicker-calendar-date-today-outline-color: #343dff;--mat-datepicker-calendar-date-today-disabled-state-outline-color: rgba(27, 27, 31, .38);--mat-datepicker-calendar-date-text-color: #1b1b1f;--mat-datepicker-calendar-date-disabled-state-text-color: rgba(27, 27, 31, .38);--mat-datepicker-calendar-date-preview-state-outline-color: #343dff;--mat-datepicker-range-input-separator-color: #1b1b1f;--mat-datepicker-range-input-disabled-state-separator-color: rgba(27, 27, 31, .38);--mat-datepicker-range-input-disabled-state-text-color: rgba(27, 27, 31, .38);--mat-datepicker-calendar-container-background-color: #ebe7eb;--mat-datepicker-calendar-container-text-color: #1b1b1f;--mat-datepicker-calendar-text-font: Roboto, sans-serif;--mat-datepicker-calendar-text-size: .875rem;--mat-datepicker-calendar-body-label-text-size: .875rem;--mat-datepicker-calendar-body-label-text-weight: 500;--mat-datepicker-calendar-period-button-text-size: .875rem;--mat-datepicker-calendar-period-button-text-weight: 500;--mat-datepicker-calendar-header-text-size: .875rem;--mat-datepicker-calendar-header-text-weight: 500;--mat-datepicker-calendar-container-shape: 16px;--mat-datepicker-calendar-container-touch-shape: 28px;--mat-datepicker-calendar-container-elevation-shadow: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-datepicker-calendar-container-touch-elevation-shadow: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-datepicker-calendar-header-divider-color: transparent;--mat-datepicker-calendar-date-outline-color: transparent}:root{--mat-divider-color: #777680;--mat-divider-width: 1px}:root{--mat-expansion-container-background-color: #fcf8fd;--mat-expansion-container-text-color: #1b1b1f;--mat-expansion-actions-divider-color: #777680;--mat-expansion-header-hover-state-layer-color: rgba(27, 27, 31, .08);--mat-expansion-header-focus-state-layer-color: rgba(27, 27, 31, .12);--mat-expansion-header-disabled-state-text-color: rgba(27, 27, 31, .38);--mat-expansion-header-text-color: #1b1b1f;--mat-expansion-header-description-color: #46464f;--mat-expansion-header-indicator-color: #46464f;--mat-expansion-header-text-font: Roboto, sans-serif;--mat-expansion-header-text-size: 1rem;--mat-expansion-header-text-weight: 500;--mat-expansion-header-text-line-height: 1.5rem;--mat-expansion-header-text-tracking: .009rem;--mat-expansion-container-text-font: Roboto, sans-serif;--mat-expansion-container-text-line-height: 1.5rem;--mat-expansion-container-text-size: 1rem;--mat-expansion-container-text-tracking: .031rem;--mat-expansion-container-text-weight: 400;--mat-expansion-header-collapsed-state-height: 48px;--mat-expansion-header-expanded-state-height: 64px;--mat-expansion-container-shape: 12px;--mat-expansion-legacy-header-indicator-display: none;--mat-expansion-header-indicator-display: inline-block}:root{--mat-grid-list-tile-header-primary-text-size: 400 1rem / 1.5rem Roboto, sans-serif;--mat-grid-list-tile-header-secondary-text-size: 400 .875rem / 1.25rem Roboto, sans-serif;--mat-grid-list-tile-footer-primary-text-size: 400 1rem / 1.5rem Roboto, sans-serif;--mat-grid-list-tile-footer-secondary-text-size: 400 .875rem / 1.25rem Roboto, sans-serif}:root{--mat-icon-color: inherit}:root{--mat-sidenav-container-background-color: #fcf8fd;--mat-sidenav-container-text-color: #46464f;--mat-sidenav-content-background-color: #fcf8fd;--mat-sidenav-content-text-color: #1b1b1f;--mat-sidenav-scrim-color: rgba(48, 48, 56, .4);--mat-sidenav-container-shape: 16px;--mat-sidenav-container-elevation-shadow: none;--mat-sidenav-container-width: 360px;--mat-sidenav-container-divider-color: transparent}:root{--mat-stepper-header-icon-foreground-color: #fcf8fd;--mat-stepper-header-selected-state-icon-background-color: #343dff;--mat-stepper-header-selected-state-icon-foreground-color: #ffffff;--mat-stepper-header-edit-state-icon-background-color: #343dff;--mat-stepper-header-edit-state-icon-foreground-color: #ffffff;--mat-stepper-container-color: #fcf8fd;--mat-stepper-line-color: #777680;--mat-stepper-header-hover-state-layer-color: rgba(48, 48, 52, .08);--mat-stepper-header-focus-state-layer-color: rgba(48, 48, 52, .12);--mat-stepper-header-label-text-color: #46464f;--mat-stepper-header-optional-label-text-color: #46464f;--mat-stepper-header-selected-state-label-text-color: #46464f;--mat-stepper-header-error-state-label-text-color: #ba1a1a;--mat-stepper-header-icon-background-color: #46464f;--mat-stepper-header-error-state-icon-foreground-color: #ba1a1a;--mat-stepper-container-text-font: Roboto, sans-serif;--mat-stepper-header-label-text-font: Roboto, sans-serif;--mat-stepper-header-label-text-size: .875rem;--mat-stepper-header-label-text-weight: 500;--mat-stepper-header-error-state-label-text-size: .875rem;--mat-stepper-header-selected-state-label-text-size: .875rem;--mat-stepper-header-selected-state-label-text-weight: 500;--mat-stepper-header-height: 72px;--mat-stepper-header-focus-state-layer-shape: 12px;--mat-stepper-header-hover-state-layer-shape: 12px;--mat-stepper-header-error-state-icon-background-color: transparent}:root{--mat-sort-arrow-color: #1b1b1f}:root{--mat-toolbar-container-background-color: #fcf8fd;--mat-toolbar-container-text-color: #1b1b1f;--mat-toolbar-title-text-font: Roboto, sans-serif;--mat-toolbar-title-text-line-height: 1.75rem;--mat-toolbar-title-text-size: 1.375rem;--mat-toolbar-title-text-tracking: 0;--mat-toolbar-title-text-weight: 400;--mat-toolbar-standard-height: 64px;--mat-toolbar-mobile-height: 56px}:root{--mat-tree-container-background-color: #fcf8fd;--mat-tree-node-text-color: #1b1b1f;--mat-tree-node-text-font: Roboto, sans-serif;--mat-tree-node-text-size: 1rem;--mat-tree-node-text-weight: 400;--mat-tree-node-min-height: 48px}:root{--mat-timepicker-container-background-color: #f0edf1;--mat-timepicker-container-shape: 4px;--mat-timepicker-container-elevation-shadow: 0px 3px 1px -2px rgba(0, 0, 0, .2), 0px 2px 2px 0px rgba(0, 0, 0, .14), 0px 1px 5px 0px rgba(0, 0, 0, .12)} diff --git a/styles-E37QM4LI.css b/styles-E37QM4LI.css deleted file mode 100644 index daf1077..0000000 --- a/styles-E37QM4LI.css +++ /dev/null @@ -1 +0,0 @@ -html,body{height:100vh;margin:0;padding:0}body{display:flex;flex-direction:column;margin:0;font-family:Roboto,Helvetica Neue,sans-serif}blockquote{padding:0 1em;color:#0008;border-left:.25em solid rgba(0,0,0,.11)}table{border-spacing:0;border-collapse:collapse;margin-bottom:16px}table th,table td{padding:6px 13px;border:1px solid #ddd}table th[align=left],table td[align=left]{text-align:left}table th[align=center],table td[align=center]{text-align:center}table th[align=right],table td[align=right]{text-align:right}table tr:nth-child(2n){background-color:#00000008}html{--mat-badge-text-font: Roboto, sans-serif;--mat-badge-text-size: 12px;--mat-badge-text-weight: 600;--mat-badge-small-size-text-size: 9px;--mat-badge-large-size-text-size: 24px}.mat-h1,.mat-headline-5,.mat-typography .mat-h1,.mat-typography .mat-headline-5,.mat-typography h1{font:400 24px/32px Roboto,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h2,.mat-headline-6,.mat-typography .mat-h2,.mat-typography .mat-headline-6,.mat-typography h2{font:500 20px/32px Roboto,sans-serif;letter-spacing:.0125em;margin:0 0 16px}.mat-h3,.mat-subtitle-1,.mat-typography .mat-h3,.mat-typography .mat-subtitle-1,.mat-typography h3{font:400 16px/28px Roboto,sans-serif;letter-spacing:.009375em;margin:0 0 16px}.mat-h4,.mat-body-1,.mat-typography .mat-h4,.mat-typography .mat-body-1,.mat-typography h4{font:400 16px/24px Roboto,sans-serif;letter-spacing:.03125em;margin:0 0 16px}.mat-h5,.mat-typography .mat-h5,.mat-typography h5{font:400 11.62px/20px Roboto,sans-serif;margin:0 0 12px}.mat-h6,.mat-typography .mat-h6,.mat-typography h6{font:400 9.38px/20px Roboto,sans-serif;margin:0 0 12px}.mat-body-strong,.mat-subtitle-2,.mat-typography .mat-body-strong,.mat-typography .mat-subtitle-2{font:500 14px/22px Roboto,sans-serif;letter-spacing:.0071428571em}.mat-body,.mat-body-2,.mat-typography .mat-body,.mat-typography .mat-body-2,.mat-typography{font:400 14px/20px Roboto,sans-serif;letter-spacing:.0178571429em}.mat-body p,.mat-body-2 p,.mat-typography .mat-body p,.mat-typography .mat-body-2 p,.mat-typography p{margin:0 0 12px}.mat-small,.mat-caption,.mat-typography .mat-small,.mat-typography .mat-caption{font:400 12px/20px Roboto,sans-serif;letter-spacing:.0333333333em}.mat-headline-1,.mat-typography .mat-headline-1{font:300 96px/96px Roboto,sans-serif;letter-spacing:-.015625em;margin:0 0 56px}.mat-headline-2,.mat-typography .mat-headline-2{font:300 60px/60px Roboto,sans-serif;letter-spacing:-.0083333333em;margin:0 0 64px}.mat-headline-3,.mat-typography .mat-headline-3{font:400 48px/50px Roboto,sans-serif;letter-spacing:normal;margin:0 0 64px}.mat-headline-4,.mat-typography .mat-headline-4{font:400 34px/40px Roboto,sans-serif;letter-spacing:.0073529412em;margin:0 0 64px}html{--mat-bottom-sheet-container-text-font: Roboto, sans-serif;--mat-bottom-sheet-container-text-line-height: 20px;--mat-bottom-sheet-container-text-size: 14px;--mat-bottom-sheet-container-text-tracking: .0178571429em;--mat-bottom-sheet-container-text-weight: 400}html{--mat-legacy-button-toggle-label-text-font: Roboto, sans-serif;--mat-legacy-button-toggle-label-text-line-height: 24px;--mat-legacy-button-toggle-label-text-size: 16px;--mat-legacy-button-toggle-label-text-tracking: .03125em;--mat-legacy-button-toggle-label-text-weight: 400;--mat-standard-button-toggle-label-text-font: Roboto, sans-serif;--mat-standard-button-toggle-label-text-line-height: 24px;--mat-standard-button-toggle-label-text-size: 16px;--mat-standard-button-toggle-label-text-tracking: .03125em;--mat-standard-button-toggle-label-text-weight: 400}html{--mat-datepicker-calendar-text-font: Roboto, sans-serif;--mat-datepicker-calendar-text-size: 13px;--mat-datepicker-calendar-body-label-text-size: 14px;--mat-datepicker-calendar-body-label-text-weight: 500;--mat-datepicker-calendar-period-button-text-size: 14px;--mat-datepicker-calendar-period-button-text-weight: 500;--mat-datepicker-calendar-header-text-size: 11px;--mat-datepicker-calendar-header-text-weight: 400}html{--mat-expansion-header-text-font: Roboto, sans-serif;--mat-expansion-header-text-size: 14px;--mat-expansion-header-text-weight: 500;--mat-expansion-header-text-line-height: inherit;--mat-expansion-header-text-tracking: inherit;--mat-expansion-container-text-font: Roboto, sans-serif;--mat-expansion-container-text-line-height: 20px;--mat-expansion-container-text-size: 14px;--mat-expansion-container-text-tracking: .0178571429em;--mat-expansion-container-text-weight: 400}html{--mat-grid-list-tile-header-primary-text-size: 14px;--mat-grid-list-tile-header-secondary-text-size: 12px;--mat-grid-list-tile-footer-primary-text-size: 14px;--mat-grid-list-tile-footer-secondary-text-size: 12px}html{--mat-stepper-container-text-font: Roboto, sans-serif;--mat-stepper-header-label-text-font: Roboto, sans-serif;--mat-stepper-header-label-text-size: 14px;--mat-stepper-header-label-text-weight: 400;--mat-stepper-header-error-state-label-text-size: 16px;--mat-stepper-header-selected-state-label-text-size: 16px;--mat-stepper-header-selected-state-label-text-weight: 400}html{--mat-toolbar-title-text-font: Roboto, sans-serif;--mat-toolbar-title-text-line-height: 32px;--mat-toolbar-title-text-size: 20px;--mat-toolbar-title-text-tracking: .0125em;--mat-toolbar-title-text-weight: 500}html{--mat-tree-node-text-font: Roboto, sans-serif;--mat-tree-node-text-size: 14px;--mat-tree-node-text-weight: 400}html{--mat-option-label-text-font: Roboto, sans-serif;--mat-option-label-text-line-height: 24px;--mat-option-label-text-size: 16px;--mat-option-label-text-tracking: .03125em;--mat-option-label-text-weight: 400}html{--mat-optgroup-label-text-font: Roboto, sans-serif;--mat-optgroup-label-text-line-height: 24px;--mat-optgroup-label-text-size: 16px;--mat-optgroup-label-text-tracking: .03125em;--mat-optgroup-label-text-weight: 400}html{--mat-card-title-text-font: Roboto, sans-serif;--mat-card-title-text-line-height: 32px;--mat-card-title-text-size: 20px;--mat-card-title-text-tracking: .0125em;--mat-card-title-text-weight: 500;--mat-card-subtitle-text-font: Roboto, sans-serif;--mat-card-subtitle-text-line-height: 22px;--mat-card-subtitle-text-size: 14px;--mat-card-subtitle-text-tracking: .0071428571em;--mat-card-subtitle-text-weight: 500}html{--mdc-plain-tooltip-supporting-text-font: Roboto, sans-serif;--mdc-plain-tooltip-supporting-text-size: 12px;--mdc-plain-tooltip-supporting-text-weight: 400;--mdc-plain-tooltip-supporting-text-tracking: .0333333333em}html{--mdc-filled-text-field-label-text-font: Roboto, sans-serif;--mdc-filled-text-field-label-text-size: 16px;--mdc-filled-text-field-label-text-tracking: .03125em;--mdc-filled-text-field-label-text-weight: 400;--mdc-outlined-text-field-label-text-font: Roboto, sans-serif;--mdc-outlined-text-field-label-text-size: 16px;--mdc-outlined-text-field-label-text-tracking: .03125em;--mdc-outlined-text-field-label-text-weight: 400;--mat-form-field-container-text-font: Roboto, sans-serif;--mat-form-field-container-text-line-height: 24px;--mat-form-field-container-text-size: 16px;--mat-form-field-container-text-tracking: .03125em;--mat-form-field-container-text-weight: 400;--mat-form-field-outlined-label-text-populated-size: 16px;--mat-form-field-subscript-text-font: Roboto, sans-serif;--mat-form-field-subscript-text-line-height: 20px;--mat-form-field-subscript-text-size: 12px;--mat-form-field-subscript-text-tracking: .0333333333em;--mat-form-field-subscript-text-weight: 400}html{--mat-select-trigger-text-font: Roboto, sans-serif;--mat-select-trigger-text-line-height: 24px;--mat-select-trigger-text-size: 16px;--mat-select-trigger-text-tracking: .03125em;--mat-select-trigger-text-weight: 400}html{--mdc-dialog-subhead-font: Roboto, sans-serif;--mdc-dialog-subhead-line-height: 32px;--mdc-dialog-subhead-size: 20px;--mdc-dialog-subhead-weight: 500;--mdc-dialog-subhead-tracking: .0125em;--mdc-dialog-supporting-text-font: Roboto, sans-serif;--mdc-dialog-supporting-text-line-height: 24px;--mdc-dialog-supporting-text-size: 16px;--mdc-dialog-supporting-text-weight: 400;--mdc-dialog-supporting-text-tracking: .03125em}.mat-mdc-standard-chip{--mdc-chip-label-text-font: Roboto, sans-serif;--mdc-chip-label-text-line-height: 20px;--mdc-chip-label-text-size: 14px;--mdc-chip-label-text-tracking: .0178571429em;--mdc-chip-label-text-weight: 400}html .mat-mdc-slide-toggle{--mat-switch-label-text-font: Roboto, sans-serif;--mat-switch-label-text-line-height: 20px;--mat-switch-label-text-size: 14px;--mat-switch-label-text-tracking: .0178571429em;--mat-switch-label-text-weight: 400}html{--mat-radio-label-text-font: Roboto, sans-serif;--mat-radio-label-text-line-height: 20px;--mat-radio-label-text-size: 14px;--mat-radio-label-text-tracking: .0178571429em;--mat-radio-label-text-weight: 400}html{--mdc-slider-label-label-text-font: Roboto, sans-serif;--mdc-slider-label-label-text-size: 14px;--mdc-slider-label-label-text-line-height: 22px;--mdc-slider-label-label-text-tracking: .0071428571em;--mdc-slider-label-label-text-weight: 500}html{--mat-menu-item-label-text-font: Roboto, sans-serif;--mat-menu-item-label-text-size: 16px;--mat-menu-item-label-text-tracking: .03125em;--mat-menu-item-label-text-line-height: 24px;--mat-menu-item-label-text-weight: 400}html{--mdc-list-list-item-label-text-font: Roboto, sans-serif;--mdc-list-list-item-label-text-line-height: 24px;--mdc-list-list-item-label-text-size: 16px;--mdc-list-list-item-label-text-tracking: .03125em;--mdc-list-list-item-label-text-weight: 400;--mdc-list-list-item-supporting-text-font: Roboto, sans-serif;--mdc-list-list-item-supporting-text-line-height: 20px;--mdc-list-list-item-supporting-text-size: 14px;--mdc-list-list-item-supporting-text-tracking: .0178571429em;--mdc-list-list-item-supporting-text-weight: 400;--mdc-list-list-item-trailing-supporting-text-font: Roboto, sans-serif;--mdc-list-list-item-trailing-supporting-text-line-height: 20px;--mdc-list-list-item-trailing-supporting-text-size: 12px;--mdc-list-list-item-trailing-supporting-text-tracking: .0333333333em;--mdc-list-list-item-trailing-supporting-text-weight: 400}.mdc-list-group__subheader{font:400 16px/28px Roboto,sans-serif;letter-spacing:.009375em}html{--mat-paginator-container-text-font: Roboto, sans-serif;--mat-paginator-container-text-line-height: 20px;--mat-paginator-container-text-size: 12px;--mat-paginator-container-text-tracking: .0333333333em;--mat-paginator-container-text-weight: 400;--mat-paginator-select-trigger-text-size: 12px}.mat-mdc-tab-header{--mat-tab-header-label-text-font: Roboto, sans-serif;--mat-tab-header-label-text-size: 14px;--mat-tab-header-label-text-tracking: .0892857143em;--mat-tab-header-label-text-line-height: 36px;--mat-tab-header-label-text-weight: 500}html{--mat-checkbox-label-text-font: Roboto, sans-serif;--mat-checkbox-label-text-line-height: 20px;--mat-checkbox-label-text-size: 14px;--mat-checkbox-label-text-tracking: .0178571429em;--mat-checkbox-label-text-weight: 400}html{--mdc-text-button-label-text-font: Roboto, sans-serif;--mdc-text-button-label-text-size: 14px;--mdc-text-button-label-text-tracking: .0892857143em;--mdc-text-button-label-text-weight: 500;--mdc-text-button-label-text-transform: none;--mdc-filled-button-label-text-font: Roboto, sans-serif;--mdc-filled-button-label-text-size: 14px;--mdc-filled-button-label-text-tracking: .0892857143em;--mdc-filled-button-label-text-weight: 500;--mdc-filled-button-label-text-transform: none;--mdc-outlined-button-label-text-font: Roboto, sans-serif;--mdc-outlined-button-label-text-size: 14px;--mdc-outlined-button-label-text-tracking: .0892857143em;--mdc-outlined-button-label-text-weight: 500;--mdc-outlined-button-label-text-transform: none;--mdc-protected-button-label-text-font: Roboto, sans-serif;--mdc-protected-button-label-text-size: 14px;--mdc-protected-button-label-text-tracking: .0892857143em;--mdc-protected-button-label-text-weight: 500;--mdc-protected-button-label-text-transform: none}html{--mdc-extended-fab-label-text-font: Roboto, sans-serif;--mdc-extended-fab-label-text-size: 14px;--mdc-extended-fab-label-text-tracking: .0892857143em;--mdc-extended-fab-label-text-weight: 500}html{--mdc-snackbar-supporting-text-font: Roboto, sans-serif;--mdc-snackbar-supporting-text-line-height: 20px;--mdc-snackbar-supporting-text-size: 14px;--mdc-snackbar-supporting-text-weight: 400}html{--mat-table-header-headline-font: Roboto, sans-serif;--mat-table-header-headline-line-height: 22px;--mat-table-header-headline-size: 14px;--mat-table-header-headline-weight: 500;--mat-table-header-headline-tracking: .0071428571em;--mat-table-row-item-label-text-font: Roboto, sans-serif;--mat-table-row-item-label-text-line-height: 20px;--mat-table-row-item-label-text-size: 14px;--mat-table-row-item-label-text-weight: 400;--mat-table-row-item-label-text-tracking: .0178571429em;--mat-table-footer-supporting-text-font: Roboto, sans-serif;--mat-table-footer-supporting-text-line-height: 20px;--mat-table-footer-supporting-text-size: 14px;--mat-table-footer-supporting-text-weight: 400;--mat-table-footer-supporting-text-tracking: .0178571429em}.mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0,0,.2,1);transform:scale3d(0,0,0);background-color:var(--mat-ripple-color, rgba(0, 0, 0, .1))}.cdk-high-contrast-active .mat-ripple-element{display:none}.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}.cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop{position:absolute;inset:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:1}.cdk-high-contrast-active .cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:.6}.cdk-overlay-dark-backdrop{background:#00000052}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{padding:2px 0!important;box-sizing:content-box!important;height:auto!important;overflow:hidden!important}textarea.cdk-textarea-autosize-measuring-firefox{padding:2px 0!important;box-sizing:content-box!important;height:0!important}@keyframes cdk-text-field-autofill-start{}@keyframes cdk-text-field-autofill-end{}.cdk-text-field-autofill-monitored:-webkit-autofill{animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){animation:cdk-text-field-autofill-end 0s 1ms}.mat-focus-indicator{position:relative}.mat-focus-indicator:before{inset:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border:var(--mat-focus-indicator-border-width, 3px) var(--mat-focus-indicator-border-style, solid) var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus:before{content:""}.cdk-high-contrast-active{--mat-focus-indicator-display: block}.mat-mdc-focus-indicator{position:relative}.mat-mdc-focus-indicator:before{inset:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-mdc-focus-indicator-display, none);border:var(--mat-mdc-focus-indicator-border-width, 3px) var(--mat-mdc-focus-indicator-border-style, solid) var(--mat-mdc-focus-indicator-border-color, transparent);border-radius:var(--mat-mdc-focus-indicator-border-radius, 4px)}.mat-mdc-focus-indicator:focus:before{content:""}.cdk-high-contrast-active{--mat-mdc-focus-indicator-display: block}.mat-app-background{background-color:var(--mat-app-background-color, transparent);color:var(--mat-app-text-color, inherit)}:root{--mat-app-background-color: #fffbff;--mat-app-text-color: #1b1b1f;--mat-ripple-color: rgba(27, 27, 31, .1);--mat-option-selected-state-label-text-color: #191a2c;--mat-option-label-text-color: #1b1b1f;--mat-option-hover-state-layer-color: rgba(27, 27, 31, .08);--mat-option-focus-state-layer-color: rgba(27, 27, 31, .12);--mat-option-selected-state-layer-color: #e1e0f9;--mat-option-label-text-font: Roboto, sans-serif;--mat-option-label-text-line-height: 1.25rem;--mat-option-label-text-size: 1rem;--mat-option-label-text-tracking: .006rem;--mat-option-label-text-weight: 400;--mat-full-pseudo-checkbox-selected-icon-color: #343dff;--mat-full-pseudo-checkbox-selected-checkmark-color: #ffffff;--mat-full-pseudo-checkbox-unselected-icon-color: #46464f;--mat-full-pseudo-checkbox-disabled-selected-checkmark-color: #fffbff;--mat-full-pseudo-checkbox-disabled-unselected-icon-color: rgba(27, 27, 31, .38);--mat-full-pseudo-checkbox-disabled-selected-icon-color: rgba(27, 27, 31, .38);--mat-minimal-pseudo-checkbox-selected-checkmark-color: #343dff;--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: rgba(27, 27, 31, .38);--mdc-elevated-card-container-color: #fffbff;--mdc-elevated-card-container-elevation: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-elevated-card-container-shape: 12px;--mdc-outlined-card-container-color: #fffbff;--mdc-outlined-card-outline-color: #c7c5d0;--mdc-outlined-card-container-elevation: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mdc-outlined-card-container-shape: 12px;--mdc-outlined-card-outline-width: 1px;--mat-card-subtitle-text-color: #1b1b1f;--mat-card-title-text-font: Roboto, sans-serif;--mat-card-title-text-line-height: 1.75rem;--mat-card-title-text-size: 1.375rem;--mat-card-title-text-tracking: 0rem;--mat-card-title-text-weight: 400;--mat-card-subtitle-text-font: Roboto, sans-serif;--mat-card-subtitle-text-line-height: 1.5rem;--mat-card-subtitle-text-size: 1rem;--mat-card-subtitle-text-tracking: .009rem;--mat-card-subtitle-text-weight: 500;--mdc-linear-progress-active-indicator-color: #343dff;--mdc-linear-progress-track-color: #e4e1ec;--mdc-linear-progress-active-indicator-height: 4px;--mdc-linear-progress-track-height: 4px;--mdc-linear-progress-track-shape: 0px;--mdc-plain-tooltip-container-color: #303034;--mdc-plain-tooltip-supporting-text-color: #f3eff4;--mdc-plain-tooltip-supporting-text-line-height: 1rem;--mdc-plain-tooltip-supporting-text-font: Roboto, sans-serif;--mdc-plain-tooltip-supporting-text-size: .75rem;--mdc-plain-tooltip-supporting-text-weight: 400;--mdc-plain-tooltip-supporting-text-tracking: .025rem;--mdc-plain-tooltip-container-shape: 4px;--mdc-filled-text-field-caret-color: #343dff;--mdc-filled-text-field-focus-active-indicator-color: #343dff;--mdc-filled-text-field-focus-label-text-color: #343dff;--mdc-filled-text-field-container-color: #e4e1ec;--mdc-filled-text-field-disabled-container-color: rgba(27, 27, 31, .04);--mdc-filled-text-field-label-text-color: #46464f;--mdc-filled-text-field-hover-label-text-color: #46464f;--mdc-filled-text-field-disabled-label-text-color: rgba(27, 27, 31, .38);--mdc-filled-text-field-input-text-color: #1b1b1f;--mdc-filled-text-field-disabled-input-text-color: rgba(27, 27, 31, .38);--mdc-filled-text-field-input-text-placeholder-color: #46464f;--mdc-filled-text-field-error-hover-label-text-color: #410002;--mdc-filled-text-field-error-focus-label-text-color: #ba1a1a;--mdc-filled-text-field-error-label-text-color: #ba1a1a;--mdc-filled-text-field-active-indicator-color: #46464f;--mdc-filled-text-field-disabled-active-indicator-color: rgba(27, 27, 31, .38);--mdc-filled-text-field-hover-active-indicator-color: #1b1b1f;--mdc-filled-text-field-error-active-indicator-color: #ba1a1a;--mdc-filled-text-field-error-focus-active-indicator-color: #ba1a1a;--mdc-filled-text-field-error-hover-active-indicator-color: #410002;--mdc-filled-text-field-label-text-font: Roboto, sans-serif;--mdc-filled-text-field-label-text-size: 1rem;--mdc-filled-text-field-label-text-tracking: .031rem;--mdc-filled-text-field-label-text-weight: 400;--mdc-filled-text-field-active-indicator-height: 1px;--mdc-filled-text-field-focus-active-indicator-height: 2px;--mdc-filled-text-field-container-shape: 4px;--mdc-outlined-text-field-caret-color: #343dff;--mdc-outlined-text-field-focus-outline-color: #343dff;--mdc-outlined-text-field-focus-label-text-color: #343dff;--mdc-outlined-text-field-label-text-color: #46464f;--mdc-outlined-text-field-hover-label-text-color: #1b1b1f;--mdc-outlined-text-field-disabled-label-text-color: rgba(27, 27, 31, .38);--mdc-outlined-text-field-input-text-color: #1b1b1f;--mdc-outlined-text-field-disabled-input-text-color: rgba(27, 27, 31, .38);--mdc-outlined-text-field-input-text-placeholder-color: #46464f;--mdc-outlined-text-field-error-focus-label-text-color: #ba1a1a;--mdc-outlined-text-field-error-label-text-color: #ba1a1a;--mdc-outlined-text-field-error-hover-label-text-color: #410002;--mdc-outlined-text-field-outline-color: #777680;--mdc-outlined-text-field-disabled-outline-color: rgba(27, 27, 31, .12);--mdc-outlined-text-field-hover-outline-color: #1b1b1f;--mdc-outlined-text-field-error-focus-outline-color: #ba1a1a;--mdc-outlined-text-field-error-hover-outline-color: #410002;--mdc-outlined-text-field-error-outline-color: #ba1a1a;--mdc-outlined-text-field-label-text-font: Roboto, sans-serif;--mdc-outlined-text-field-label-text-size: 1rem;--mdc-outlined-text-field-label-text-tracking: .031rem;--mdc-outlined-text-field-label-text-weight: 400;--mdc-outlined-text-field-outline-width: 1px;--mdc-outlined-text-field-focus-outline-width: 2px;--mdc-outlined-text-field-container-shape: 4px;--mat-form-field-focus-select-arrow-color: #343dff;--mat-form-field-disabled-input-text-placeholder-color: rgba(27, 27, 31, .38);--mat-form-field-state-layer-color: #1b1b1f;--mat-form-field-error-text-color: #ba1a1a;--mat-form-field-select-option-text-color: #1b1b1f;--mat-form-field-select-disabled-option-text-color: rgba(27, 27, 31, .38);--mat-form-field-leading-icon-color: #46464f;--mat-form-field-disabled-leading-icon-color: rgba(27, 27, 31, .38);--mat-form-field-trailing-icon-color: #46464f;--mat-form-field-disabled-trailing-icon-color: rgba(27, 27, 31, .38);--mat-form-field-error-focus-trailing-icon-color: #ba1a1a;--mat-form-field-error-hover-trailing-icon-color: #410002;--mat-form-field-error-trailing-icon-color: #ba1a1a;--mat-form-field-enabled-select-arrow-color: #46464f;--mat-form-field-disabled-select-arrow-color: rgba(27, 27, 31, .38);--mat-form-field-hover-state-layer-opacity: .08;--mat-form-field-container-text-font: Roboto, sans-serif;--mat-form-field-container-text-line-height: 1.5rem;--mat-form-field-container-text-size: 1rem;--mat-form-field-container-text-tracking: .031rem;--mat-form-field-container-text-weight: 400;--mat-form-field-subscript-text-font: Roboto, sans-serif;--mat-form-field-subscript-text-line-height: 1rem;--mat-form-field-subscript-text-size: .75rem;--mat-form-field-subscript-text-tracking: .025rem;--mat-form-field-subscript-text-weight: 400;--mat-form-field-container-height: 56px;--mat-form-field-filled-label-display: block;--mat-form-field-container-vertical-padding: 16px;--mat-form-field-filled-with-label-container-padding-top: 24px;--mat-form-field-filled-with-label-container-padding-bottom: 8px;--mat-form-field-focus-state-layer-opacity: 0;--mat-select-panel-background-color: #f0ecf1;--mat-select-enabled-trigger-text-color: #1b1b1f;--mat-select-disabled-trigger-text-color: rgba(27, 27, 31, .38);--mat-select-placeholder-text-color: #46464f;--mat-select-enabled-arrow-color: #46464f;--mat-select-disabled-arrow-color: rgba(27, 27, 31, .38);--mat-select-focused-arrow-color: #343dff;--mat-select-invalid-arrow-color: #ba1a1a;--mat-select-trigger-text-font: Roboto, sans-serif;--mat-select-trigger-text-line-height: 1.5rem;--mat-select-trigger-text-size: 1rem;--mat-select-trigger-text-tracking: .031rem;--mat-select-trigger-text-weight: 400;--mat-select-arrow-transform: translateY(-8px);--mat-select-container-elevation-shadow: 0px 3px 1px -2px rgba(0, 0, 0, .2), 0px 2px 2px 0px rgba(0, 0, 0, .14), 0px 1px 5px 0px rgba(0, 0, 0, .12);--mat-autocomplete-background-color: #f0ecf1;--mat-autocomplete-container-shape: 4px;--mat-autocomplete-container-elevation-shadow: 0px 3px 1px -2px rgba(0, 0, 0, .2), 0px 2px 2px 0px rgba(0, 0, 0, .14), 0px 1px 5px 0px rgba(0, 0, 0, .12);--mdc-dialog-container-color: #fffbff;--mdc-dialog-subhead-color: #1b1b1f;--mdc-dialog-supporting-text-color: #46464f;--mdc-dialog-subhead-font: Roboto, sans-serif;--mdc-dialog-subhead-line-height: 2rem;--mdc-dialog-subhead-size: 1.5rem;--mdc-dialog-subhead-weight: 400;--mdc-dialog-subhead-tracking: 0rem;--mdc-dialog-supporting-text-font: Roboto, sans-serif;--mdc-dialog-supporting-text-line-height: 1.25rem;--mdc-dialog-supporting-text-size: .875rem;--mdc-dialog-supporting-text-weight: 400;--mdc-dialog-supporting-text-tracking: .016rem;--mdc-dialog-container-shape: 28px;--mat-dialog-container-elevation-shadow: none;--mat-dialog-container-max-width: 560px;--mat-dialog-container-small-max-width: calc(100vw - 32px) ;--mat-dialog-container-min-width: 280px;--mat-dialog-actions-alignment: flex-end;--mat-dialog-actions-padding: 16px 24px;--mat-dialog-content-padding: 20px 24px;--mat-dialog-with-actions-content-padding: 20px 24px 0;--mat-dialog-headline-padding: 6px 24px 13px;--mdc-chip-outline-color: #777680;--mdc-chip-disabled-outline-color: rgba(27, 27, 31, .12);--mdc-chip-focus-outline-color: #46464f;--mdc-chip-hover-state-layer-opacity: .08;--mdc-chip-selected-hover-state-layer-opacity: .08;--mdc-chip-disabled-label-text-color: rgba(27, 27, 31, .38);--mdc-chip-elevated-selected-container-color: #e1e0f9;--mdc-chip-flat-disabled-selected-container-color: rgba(27, 27, 31, .12);--mdc-chip-focus-state-layer-color: #46464f;--mdc-chip-hover-state-layer-color: #46464f;--mdc-chip-selected-hover-state-layer-color: #191a2c;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-selected-focus-state-layer-color: #191a2c;--mdc-chip-selected-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: #46464f;--mdc-chip-selected-label-text-color: #191a2c;--mdc-chip-with-icon-icon-color: #46464f;--mdc-chip-with-icon-disabled-icon-color: #1b1b1f;--mdc-chip-with-icon-selected-icon-color: #191a2c;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: #1b1b1f;--mdc-chip-with-trailing-icon-trailing-icon-color: #46464f;--mdc-chip-label-text-font: Roboto, sans-serif;--mdc-chip-label-text-line-height: 1.25rem;--mdc-chip-label-text-size: .875rem;--mdc-chip-label-text-tracking: .006rem;--mdc-chip-label-text-weight: 500;--mdc-chip-container-height: 32px;--mdc-chip-container-shape-family: rounded;--mdc-chip-container-shape-radius: 8px;--mdc-chip-with-avatar-avatar-size: 24px;--mdc-chip-with-icon-icon-size: 18px;--mdc-chip-outline-width: 1px;--mdc-chip-with-avatar-disabled-avatar-opacity: .38;--mdc-chip-flat-selected-outline-width: 0;--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity: .38;--mdc-chip-with-icon-disabled-icon-opacity: .38;--mat-chip-trailing-action-state-layer-color: #46464f;--mat-chip-selected-trailing-action-state-layer-color: #191a2c;--mat-chip-trailing-action-hover-state-layer-opacity: .08;--mat-chip-trailing-action-focus-state-layer-opacity: .12;--mat-chip-selected-disabled-trailing-icon-color: #1b1b1f;--mat-chip-selected-trailing-icon-color: #191a2c;--mat-chip-disabled-container-opacity: 1;--mat-chip-trailing-action-opacity: 1;--mat-chip-trailing-action-focus-opacity: 1;--mdc-switch-selected-focus-state-layer-opacity: .12;--mdc-switch-selected-hover-state-layer-opacity: .08;--mdc-switch-selected-pressed-state-layer-opacity: .12;--mdc-switch-unselected-focus-state-layer-opacity: .12;--mdc-switch-unselected-hover-state-layer-opacity: .08;--mdc-switch-unselected-pressed-state-layer-opacity: .12;--mdc-switch-selected-focus-state-layer-color: #343dff;--mdc-switch-selected-handle-color: #ffffff;--mdc-switch-selected-hover-state-layer-color: #343dff;--mdc-switch-selected-pressed-state-layer-color: #343dff;--mdc-switch-selected-focus-handle-color: #e0e0ff;--mdc-switch-selected-hover-handle-color: #e0e0ff;--mdc-switch-selected-pressed-handle-color: #e0e0ff;--mdc-switch-selected-focus-track-color: #343dff;--mdc-switch-selected-hover-track-color: #343dff;--mdc-switch-selected-pressed-track-color: #343dff;--mdc-switch-selected-track-color: #343dff;--mdc-switch-disabled-selected-handle-color: #fffbff;--mdc-switch-disabled-selected-icon-color: #1b1b1f;--mdc-switch-disabled-selected-track-color: #1b1b1f;--mdc-switch-disabled-unselected-handle-color: #1b1b1f;--mdc-switch-disabled-unselected-icon-color: #e4e1ec;--mdc-switch-disabled-unselected-track-color: #e4e1ec;--mdc-switch-selected-icon-color: #00006e;--mdc-switch-unselected-focus-handle-color: #46464f;--mdc-switch-unselected-focus-state-layer-color: #1b1b1f;--mdc-switch-unselected-focus-track-color: #e4e1ec;--mdc-switch-unselected-handle-color: #777680;--mdc-switch-unselected-hover-handle-color: #46464f;--mdc-switch-unselected-hover-state-layer-color: #1b1b1f;--mdc-switch-unselected-hover-track-color: #e4e1ec;--mdc-switch-unselected-icon-color: #e4e1ec;--mdc-switch-unselected-pressed-handle-color: #46464f;--mdc-switch-unselected-pressed-state-layer-color: #1b1b1f;--mdc-switch-unselected-pressed-track-color: #e4e1ec;--mdc-switch-unselected-track-color: #e4e1ec;--mdc-switch-disabled-selected-icon-opacity: .38;--mdc-switch-disabled-track-opacity: .12;--mdc-switch-disabled-unselected-icon-opacity: .38;--mdc-switch-handle-shape: 9999px;--mdc-switch-selected-icon-size: 16px;--mdc-switch-track-height: 32px;--mdc-switch-track-shape: 9999px;--mdc-switch-track-width: 52px;--mdc-switch-unselected-icon-size: 16px;--mdc-switch-state-layer-size: 40px;--mat-switch-track-outline-color: #777680;--mat-switch-disabled-unselected-track-outline-color: #1b1b1f;--mat-switch-label-text-color: #1b1b1f;--mat-switch-label-text-font: Roboto, sans-serif;--mat-switch-label-text-line-height: 1.25rem;--mat-switch-label-text-size: .875rem;--mat-switch-label-text-tracking: .016rem;--mat-switch-label-text-weight: 400;--mat-switch-disabled-selected-handle-opacity: 1;--mat-switch-disabled-unselected-handle-opacity: .38;--mat-switch-unselected-handle-size: 16px;--mat-switch-selected-handle-size: 24px;--mat-switch-pressed-handle-size: 28px;--mat-switch-with-icon-handle-size: 24px;--mat-switch-selected-handle-horizontal-margin: 0 24px;--mat-switch-selected-with-icon-handle-horizontal-margin: 0 24px;--mat-switch-selected-pressed-handle-horizontal-margin: 0 22px;--mat-switch-unselected-handle-horizontal-margin: 0 8px;--mat-switch-unselected-with-icon-handle-horizontal-margin: 0 4px;--mat-switch-unselected-pressed-handle-horizontal-margin: 0 2px;--mat-switch-visible-track-opacity: 1;--mat-switch-hidden-track-opacity: 0;--mat-switch-visible-track-transition: opacity 75ms;--mat-switch-hidden-track-transition: opacity 75ms;--mat-switch-track-outline-width: 2px;--mat-switch-selected-track-outline-width: 2px;--mat-switch-selected-track-outline-color: transparent;--mat-switch-disabled-unselected-track-outline-width: 2px;--mdc-radio-disabled-selected-icon-color: #1b1b1f;--mdc-radio-disabled-unselected-icon-color: #1b1b1f;--mdc-radio-unselected-hover-icon-color: #1b1b1f;--mdc-radio-unselected-icon-color: #46464f;--mdc-radio-unselected-pressed-icon-color: #1b1b1f;--mdc-radio-selected-focus-icon-color: #343dff;--mdc-radio-selected-hover-icon-color: #343dff;--mdc-radio-selected-icon-color: #343dff;--mdc-radio-selected-pressed-icon-color: #343dff;--mdc-radio-state-layer-size: 40px;--mdc-radio-disabled-selected-icon-opacity: .38;--mdc-radio-disabled-unselected-icon-opacity: .38;--mat-radio-ripple-color: #1b1b1f;--mat-radio-checked-ripple-color: #343dff;--mat-radio-disabled-label-color: rgba(27, 27, 31, .38);--mat-radio-label-text-color: #1b1b1f;--mat-radio-label-text-font: Roboto, sans-serif;--mat-radio-label-text-line-height: 1.25rem;--mat-radio-label-text-size: .875rem;--mat-radio-label-text-tracking: .016rem;--mat-radio-label-text-weight: 400;--mat-radio-touch-target-display: block;--mdc-slider-handle-color: #343dff;--mdc-slider-focus-handle-color: #343dff;--mdc-slider-hover-handle-color: #343dff;--mdc-slider-active-track-color: #343dff;--mdc-slider-inactive-track-color: #e4e1ec;--mdc-slider-with-tick-marks-inactive-container-color: #46464f;--mdc-slider-with-tick-marks-active-container-color: #ffffff;--mdc-slider-disabled-active-track-color: #1b1b1f;--mdc-slider-disabled-handle-color: #1b1b1f;--mdc-slider-disabled-inactive-track-color: #1b1b1f;--mdc-slider-label-container-color: #343dff;--mdc-slider-label-label-text-color: #ffffff;--mdc-slider-with-overlap-handle-outline-color: #ffffff;--mdc-slider-with-tick-marks-disabled-container-color: #1b1b1f;--mdc-slider-handle-elevation: 1;--mdc-slider-handle-shadow-color: #000000;--mdc-slider-label-label-text-font: Roboto, sans-serif;--mdc-slider-label-label-text-size: .75rem;--mdc-slider-label-label-text-line-height: 1rem;--mdc-slider-label-label-text-tracking: .031rem;--mdc-slider-label-label-text-weight: 500;--mdc-slider-active-track-height: 4px;--mdc-slider-active-track-shape: 9999px;--mdc-slider-handle-height: 20px;--mdc-slider-handle-shape: 9999px;--mdc-slider-handle-width: 20px;--mdc-slider-inactive-track-height: 4px;--mdc-slider-inactive-track-shape: 9999px;--mdc-slider-with-overlap-handle-outline-width: 1px;--mdc-slider-with-tick-marks-active-container-opacity: .38;--mdc-slider-with-tick-marks-container-shape: 9999px;--mdc-slider-with-tick-marks-container-size: 2px;--mdc-slider-with-tick-marks-inactive-container-opacity: .38;--mat-slider-ripple-color: #343dff;--mat-slider-hover-state-layer-color: rgba(52, 61, 255, .05);--mat-slider-focus-state-layer-color: rgba(52, 61, 255, .2);--mat-slider-value-indicator-width: 28px;--mat-slider-value-indicator-height: 28px;--mat-slider-value-indicator-caret-display: none;--mat-slider-value-indicator-border-radius: 50% 50% 50% 0;--mat-slider-value-indicator-padding: 0;--mat-slider-value-indicator-text-transform: rotate(45deg);--mat-slider-value-indicator-container-transform: translateX(-50%) rotate(-45deg);--mat-slider-value-indicator-opacity: 1;--mat-menu-item-label-text-color: #1b1b1f;--mat-menu-item-icon-color: #46464f;--mat-menu-item-hover-state-layer-color: rgba(27, 27, 31, .08);--mat-menu-item-focus-state-layer-color: rgba(27, 27, 31, .12);--mat-menu-container-color: #f0ecf1;--mat-menu-divider-color: #e4e1ec;--mat-menu-item-label-text-font: Roboto, sans-serif;--mat-menu-item-label-text-size: .875rem;--mat-menu-item-label-text-tracking: .006rem;--mat-menu-item-label-text-line-height: 1.25rem;--mat-menu-item-label-text-weight: 500;--mat-menu-container-shape: 4px;--mat-menu-divider-bottom-spacing: 8px;--mat-menu-divider-top-spacing: 8px;--mat-menu-item-spacing: 12px;--mat-menu-item-icon-size: 24px;--mat-menu-item-leading-spacing: 12px;--mat-menu-item-trailing-spacing: 12px;--mat-menu-item-with-icon-leading-spacing: 12px;--mat-menu-item-with-icon-trailing-spacing: 12px;--mdc-list-list-item-container-color: transparent;--mdc-list-list-item-leading-avatar-color: #e0e0ff;--mdc-list-list-item-disabled-state-layer-color: #1b1b1f;--mdc-list-list-item-disabled-state-layer-opacity: .12;--mdc-list-list-item-label-text-color: #1b1b1f;--mdc-list-list-item-supporting-text-color: #46464f;--mdc-list-list-item-leading-icon-color: #46464f;--mdc-list-list-item-trailing-supporting-text-color: #46464f;--mdc-list-list-item-trailing-icon-color: #46464f;--mdc-list-list-item-selected-trailing-icon-color: #343dff;--mdc-list-list-item-disabled-label-text-color: #1b1b1f;--mdc-list-list-item-disabled-leading-icon-color: #1b1b1f;--mdc-list-list-item-disabled-trailing-icon-color: #1b1b1f;--mdc-list-list-item-hover-label-text-color: #1b1b1f;--mdc-list-list-item-focus-label-text-color: #1b1b1f;--mdc-list-list-item-hover-state-layer-color: #1b1b1f;--mdc-list-list-item-hover-state-layer-opacity: .08;--mdc-list-list-item-focus-state-layer-color: #1b1b1f;--mdc-list-list-item-focus-state-layer-opacity: .12;--mdc-list-list-item-label-text-font: Roboto, sans-serif;--mdc-list-list-item-label-text-line-height: 1.5rem;--mdc-list-list-item-label-text-size: 1rem;--mdc-list-list-item-label-text-tracking: .031rem;--mdc-list-list-item-label-text-weight: 400;--mdc-list-list-item-supporting-text-font: Roboto, sans-serif;--mdc-list-list-item-supporting-text-line-height: 1.25rem;--mdc-list-list-item-supporting-text-size: .875rem;--mdc-list-list-item-supporting-text-tracking: .016rem;--mdc-list-list-item-supporting-text-weight: 400;--mdc-list-list-item-trailing-supporting-text-font: Roboto, sans-serif;--mdc-list-list-item-trailing-supporting-text-line-height: 1rem;--mdc-list-list-item-trailing-supporting-text-size: .688rem;--mdc-list-list-item-trailing-supporting-text-tracking: .031rem;--mdc-list-list-item-trailing-supporting-text-weight: 500;--mdc-list-list-item-one-line-container-height: 48px;--mdc-list-list-item-two-line-container-height: 64px;--mdc-list-list-item-three-line-container-height: 88px;--mdc-list-list-item-container-shape: 0px;--mdc-list-list-item-leading-avatar-shape: 9999px;--mdc-list-list-item-leading-icon-size: 24px;--mdc-list-list-item-leading-avatar-size: 40px;--mdc-list-list-item-trailing-icon-size: 24px;--mdc-list-list-item-disabled-label-text-opacity: .3;--mdc-list-list-item-disabled-leading-icon-opacity: .38;--mdc-list-list-item-disabled-trailing-icon-opacity: .38;--mat-list-active-indicator-color: #e1e0f9;--mat-list-list-item-leading-icon-start-space: 16px;--mat-list-list-item-leading-icon-end-space: 16px;--mat-list-active-indicator-shape: 9999px;--mat-paginator-container-text-color: #1b1b1f;--mat-paginator-container-background-color: #fffbff;--mat-paginator-enabled-icon-color: #46464f;--mat-paginator-disabled-icon-color: rgba(27, 27, 31, .38);--mat-paginator-container-text-font: Roboto, sans-serif;--mat-paginator-container-text-line-height: 1rem;--mat-paginator-container-text-size: .75rem;--mat-paginator-container-text-tracking: .025rem;--mat-paginator-container-text-weight: 400;--mat-paginator-select-trigger-text-size: .75rem;--mat-paginator-container-size: 56px;--mat-paginator-form-field-container-height: 40px;--mat-paginator-form-field-container-vertical-padding: 8px;--mdc-secondary-navigation-tab-container-height: 48px;--mdc-tab-indicator-active-indicator-color: #343dff;--mdc-tab-indicator-active-indicator-height: 2px;--mdc-tab-indicator-active-indicator-shape: 0;--mat-tab-header-divider-color: #e4e1ec;--mat-tab-header-pagination-icon-color: #1b1b1f;--mat-tab-header-inactive-label-text-color: #1b1b1f;--mat-tab-header-active-label-text-color: #1b1b1f;--mat-tab-header-active-ripple-color: #1b1b1f;--mat-tab-header-inactive-ripple-color: #1b1b1f;--mat-tab-header-inactive-focus-label-text-color: #1b1b1f;--mat-tab-header-inactive-hover-label-text-color: #1b1b1f;--mat-tab-header-active-focus-label-text-color: #1b1b1f;--mat-tab-header-active-hover-label-text-color: #1b1b1f;--mat-tab-header-active-focus-indicator-color: #343dff;--mat-tab-header-active-hover-indicator-color: #343dff;--mat-tab-header-label-text-font: Roboto, sans-serif;--mat-tab-header-label-text-size: .875rem;--mat-tab-header-label-text-tracking: .006rem;--mat-tab-header-label-text-line-height: 1.25rem;--mat-tab-header-label-text-weight: 500;--mat-tab-header-divider-height: 1px;--mdc-checkbox-disabled-selected-checkmark-color: #fffbff;--mdc-checkbox-selected-focus-state-layer-opacity: .12;--mdc-checkbox-selected-hover-state-layer-opacity: .08;--mdc-checkbox-selected-pressed-state-layer-opacity: .12;--mdc-checkbox-unselected-focus-state-layer-opacity: .12;--mdc-checkbox-unselected-hover-state-layer-opacity: .08;--mdc-checkbox-unselected-pressed-state-layer-opacity: .12;--mdc-checkbox-disabled-selected-icon-color: rgba(27, 27, 31, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(27, 27, 31, .38);--mdc-checkbox-selected-checkmark-color: #ffffff;--mdc-checkbox-selected-focus-icon-color: #343dff;--mdc-checkbox-selected-hover-icon-color: #343dff;--mdc-checkbox-selected-icon-color: #343dff;--mdc-checkbox-selected-pressed-icon-color: #343dff;--mdc-checkbox-unselected-focus-icon-color: #1b1b1f;--mdc-checkbox-unselected-hover-icon-color: #1b1b1f;--mdc-checkbox-unselected-icon-color: #46464f;--mdc-checkbox-unselected-pressed-icon-color: #1b1b1f;--mdc-checkbox-selected-focus-state-layer-color: #343dff;--mdc-checkbox-selected-hover-state-layer-color: #343dff;--mdc-checkbox-selected-pressed-state-layer-color: #1b1b1f;--mdc-checkbox-unselected-focus-state-layer-color: #1b1b1f;--mdc-checkbox-unselected-hover-state-layer-color: #1b1b1f;--mdc-checkbox-unselected-pressed-state-layer-color: #343dff;--mdc-checkbox-state-layer-size: 40px;--mat-checkbox-disabled-label-color: rgba(27, 27, 31, .38);--mat-checkbox-label-text-color: #1b1b1f;--mat-checkbox-label-text-font: Roboto, sans-serif;--mat-checkbox-label-text-line-height: 1.25rem;--mat-checkbox-label-text-size: .875rem;--mat-checkbox-label-text-tracking: .016rem;--mat-checkbox-label-text-weight: 400;--mat-checkbox-touch-target-display: block;--mdc-text-button-label-text-color: #343dff;--mdc-text-button-disabled-label-text-color: rgba(27, 27, 31, .38);--mdc-text-button-label-text-font: Roboto, sans-serif;--mdc-text-button-label-text-size: .875rem;--mdc-text-button-label-text-tracking: .006rem;--mdc-text-button-label-text-weight: 500;--mdc-text-button-container-height: 40px;--mdc-text-button-container-shape: 9999px;--mdc-protected-button-container-color: #fffbff;--mdc-protected-button-label-text-color: #343dff;--mdc-protected-button-disabled-container-color: rgba(27, 27, 31, .12);--mdc-protected-button-disabled-label-text-color: rgba(27, 27, 31, .38);--mdc-protected-button-container-elevation-shadow: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-protected-button-disabled-container-elevation-shadow: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mdc-protected-button-focus-container-elevation-shadow: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-protected-button-hover-container-elevation-shadow: 0px 3px 3px -2px rgba(0, 0, 0, .2), 0px 3px 4px 0px rgba(0, 0, 0, .14), 0px 1px 8px 0px rgba(0, 0, 0, .12);--mdc-protected-button-pressed-container-elevation-shadow: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-protected-button-container-shadow-color: #000000;--mdc-protected-button-label-text-font: Roboto, sans-serif;--mdc-protected-button-label-text-size: .875rem;--mdc-protected-button-label-text-tracking: .006rem;--mdc-protected-button-label-text-weight: 500;--mdc-protected-button-container-height: 40px;--mdc-protected-button-container-shape: 9999px;--mdc-filled-button-container-color: #343dff;--mdc-filled-button-label-text-color: #ffffff;--mdc-filled-button-disabled-container-color: rgba(27, 27, 31, .12);--mdc-filled-button-disabled-label-text-color: rgba(27, 27, 31, .38);--mdc-filled-button-label-text-font: Roboto, sans-serif;--mdc-filled-button-label-text-size: .875rem;--mdc-filled-button-label-text-tracking: .006rem;--mdc-filled-button-label-text-weight: 500;--mdc-filled-button-container-height: 40px;--mdc-filled-button-container-shape: 9999px;--mdc-outlined-button-disabled-outline-color: rgba(27, 27, 31, .12);--mdc-outlined-button-disabled-label-text-color: rgba(27, 27, 31, .38);--mdc-outlined-button-label-text-color: #343dff;--mdc-outlined-button-outline-color: #777680;--mdc-outlined-button-label-text-font: Roboto, sans-serif;--mdc-outlined-button-label-text-size: .875rem;--mdc-outlined-button-label-text-tracking: .006rem;--mdc-outlined-button-label-text-weight: 500;--mdc-outlined-button-container-height: 40px;--mdc-outlined-button-outline-width: 1px;--mdc-outlined-button-container-shape: 9999px;--mat-text-button-state-layer-color: #343dff;--mat-text-button-disabled-state-layer-color: #46464f;--mat-text-button-ripple-color: rgba(52, 61, 255, .12);--mat-text-button-hover-state-layer-opacity: .08;--mat-text-button-focus-state-layer-opacity: .12;--mat-text-button-pressed-state-layer-opacity: .12;--mat-text-button-touch-target-display: block;--mat-text-button-horizontal-padding: 12px;--mat-text-button-with-icon-horizontal-padding: 16px;--mat-text-button-icon-spacing: 8px;--mat-text-button-icon-offset: -4px;--mat-protected-button-state-layer-color: #343dff;--mat-protected-button-disabled-state-layer-color: #46464f;--mat-protected-button-ripple-color: rgba(52, 61, 255, .12);--mat-protected-button-hover-state-layer-opacity: .08;--mat-protected-button-focus-state-layer-opacity: .12;--mat-protected-button-pressed-state-layer-opacity: .12;--mat-protected-button-touch-target-display: block;--mat-protected-button-horizontal-padding: 24px;--mat-protected-button-icon-spacing: 8px;--mat-protected-button-icon-offset: -8px;--mat-filled-button-state-layer-color: #ffffff;--mat-filled-button-disabled-state-layer-color: #46464f;--mat-filled-button-ripple-color: rgba(255, 255, 255, .12);--mat-filled-button-hover-state-layer-opacity: .08;--mat-filled-button-focus-state-layer-opacity: .12;--mat-filled-button-pressed-state-layer-opacity: .12;--mat-filled-button-touch-target-display: block;--mat-filled-button-horizontal-padding: 24px;--mat-filled-button-icon-spacing: 8px;--mat-filled-button-icon-offset: -8px;--mat-outlined-button-state-layer-color: #343dff;--mat-outlined-button-disabled-state-layer-color: #46464f;--mat-outlined-button-ripple-color: rgba(52, 61, 255, .12);--mat-outlined-button-hover-state-layer-opacity: .08;--mat-outlined-button-focus-state-layer-opacity: .12;--mat-outlined-button-pressed-state-layer-opacity: .12;--mat-outlined-button-touch-target-display: block;--mat-outlined-button-horizontal-padding: 24px;--mat-outlined-button-icon-spacing: 8px;--mat-outlined-button-icon-offset: -8px;--mdc-icon-button-icon-color: #46464f;--mdc-icon-button-disabled-icon-color: rgba(27, 27, 31, .38);--mdc-icon-button-state-layer-size: 40px;--mdc-icon-button-icon-size: 24px;--mat-icon-button-state-layer-color: #46464f;--mat-icon-button-disabled-state-layer-color: #46464f;--mat-icon-button-ripple-color: rgba(70, 70, 79, .12);--mat-icon-button-hover-state-layer-opacity: .08;--mat-icon-button-focus-state-layer-opacity: .12;--mat-icon-button-pressed-state-layer-opacity: .12;--mat-icon-button-touch-target-display: block;--mdc-extended-fab-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-extended-fab-focus-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-extended-fab-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-extended-fab-pressed-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-extended-fab-container-shadow-color: #000000;--mdc-extended-fab-label-text-font: Roboto, sans-serif;--mdc-extended-fab-label-text-size: .875rem;--mdc-extended-fab-label-text-tracking: .006rem;--mdc-extended-fab-label-text-weight: 500;--mdc-extended-fab-container-height: 56px;--mdc-extended-fab-container-shape: 16px;--mdc-fab-container-color: #e0e0ff;--mdc-fab-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-focus-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-fab-pressed-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-container-shadow-color: #000000;--mdc-fab-container-shape: 16px;--mdc-fab-icon-size: 24px;--mdc-fab-small-container-color: #e0e0ff;--mdc-fab-small-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-small-focus-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-small-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-fab-small-pressed-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-small-container-shadow-color: #000000;--mdc-fab-small-container-shape: 12px;--mdc-fab-small-icon-size: 24px;--mat-fab-foreground-color: #00006e;--mat-fab-state-layer-color: #00006e;--mat-fab-ripple-color: rgba(0, 0, 110, .12);--mat-fab-hover-state-layer-opacity: .08;--mat-fab-focus-state-layer-opacity: .12;--mat-fab-pressed-state-layer-opacity: .12;--mat-fab-disabled-state-container-color: rgba(27, 27, 31, .12);--mat-fab-disabled-state-foreground-color: rgba(27, 27, 31, .38);--mat-fab-touch-target-display: block;--mat-fab-small-foreground-color: #00006e;--mat-fab-small-state-layer-color: #00006e;--mat-fab-small-ripple-color: rgba(0, 0, 110, .12);--mat-fab-small-hover-state-layer-opacity: .08;--mat-fab-small-focus-state-layer-opacity: .12;--mat-fab-small-pressed-state-layer-opacity: .12;--mat-fab-small-disabled-state-container-color: rgba(27, 27, 31, .12);--mat-fab-small-disabled-state-foreground-color: rgba(27, 27, 31, .38);--mdc-snackbar-container-color: #303034;--mdc-snackbar-supporting-text-color: #f3eff4;--mdc-snackbar-supporting-text-font: Roboto, sans-serif;--mdc-snackbar-supporting-text-line-height: 1.25rem;--mdc-snackbar-supporting-text-size: .875rem;--mdc-snackbar-supporting-text-weight: 400;--mdc-snackbar-container-shape: 4px;--mat-snack-bar-button-color: #bec2ff;--mat-table-background-color: #fffbff;--mat-table-header-headline-color: #1b1b1f;--mat-table-row-item-label-text-color: #1b1b1f;--mat-table-row-item-outline-color: #c7c5d0;--mat-table-header-headline-font: Roboto, sans-serif;--mat-table-header-headline-line-height: 1.25rem;--mat-table-header-headline-size: .875rem;--mat-table-header-headline-weight: 500;--mat-table-header-headline-tracking: .006rem;--mat-table-row-item-label-text-font: Roboto, sans-serif;--mat-table-row-item-label-text-line-height: 1.25rem;--mat-table-row-item-label-text-size: .875rem;--mat-table-row-item-label-text-weight: 400;--mat-table-row-item-label-text-tracking: .016rem;--mat-table-footer-supporting-text-font: Roboto, sans-serif;--mat-table-footer-supporting-text-line-height: 1.25rem;--mat-table-footer-supporting-text-size: .875rem;--mat-table-footer-supporting-text-weight: 400;--mat-table-footer-supporting-text-tracking: .016rem;--mat-table-header-container-height: 56px;--mat-table-footer-container-height: 52px;--mat-table-row-item-container-height: 52px;--mat-table-row-item-outline-width: 1px;--mdc-circular-progress-active-indicator-color: #343dff;--mdc-circular-progress-active-indicator-width: 4px;--mdc-circular-progress-size: 48px;--mat-badge-background-color: #ba1a1a;--mat-badge-text-color: #ffffff;--mat-badge-disabled-state-background-color: rgba(186, 26, 26, .38);--mat-badge-disabled-state-text-color: #ffffff;--mat-badge-text-font: Roboto, sans-serif;--mat-badge-text-size: .688rem;--mat-badge-text-weight: 500;--mat-badge-large-size-text-size: .688rem;--mat-badge-container-shape: 9999px;--mat-badge-container-size: 16px;--mat-badge-small-size-container-size: 6px;--mat-badge-large-size-container-size: 16px;--mat-badge-legacy-container-size: unset;--mat-badge-legacy-small-size-container-size: unset;--mat-badge-legacy-large-size-container-size: unset;--mat-badge-container-offset: -12px 0;--mat-badge-small-size-container-offset: -6px 0;--mat-badge-large-size-container-offset: -12px 0;--mat-badge-container-overlap-offset: -12px;--mat-badge-small-size-container-overlap-offset: -6px;--mat-badge-large-size-container-overlap-offset: -12px;--mat-badge-container-padding: 0 4px;--mat-badge-small-size-container-padding: 0;--mat-badge-large-size-container-padding: 0 4px;--mat-badge-small-size-text-size: 0;--mat-bottom-sheet-container-text-color: #1b1b1f;--mat-bottom-sheet-container-background-color: #f6f2f7;--mat-bottom-sheet-container-text-font: Roboto, sans-serif;--mat-bottom-sheet-container-text-line-height: 1.5rem;--mat-bottom-sheet-container-text-size: 1rem;--mat-bottom-sheet-container-text-tracking: .031rem;--mat-bottom-sheet-container-text-weight: 400;--mat-bottom-sheet-container-shape: 28px;--mat-standard-button-toggle-hover-state-layer-opacity: .08;--mat-standard-button-toggle-focus-state-layer-opacity: .12;--mat-standard-button-toggle-text-color: #1b1b1f;--mat-standard-button-toggle-state-layer-color: #1b1b1f;--mat-standard-button-toggle-selected-state-background-color: #e1e0f9;--mat-standard-button-toggle-selected-state-text-color: #191a2c;--mat-standard-button-toggle-disabled-state-text-color: rgba(27, 27, 31, .38);--mat-standard-button-toggle-disabled-selected-state-text-color: rgba(27, 27, 31, .38);--mat-standard-button-toggle-disabled-selected-state-background-color: rgba(27, 27, 31, .12);--mat-standard-button-toggle-divider-color: #777680;--mat-standard-button-toggle-label-text-font: Roboto, sans-serif;--mat-standard-button-toggle-label-text-line-height: 1.25rem;--mat-standard-button-toggle-label-text-size: .875rem;--mat-standard-button-toggle-label-text-tracking: .006rem;--mat-standard-button-toggle-label-text-weight: 500;--mat-standard-button-toggle-height: 40px;--mat-standard-button-toggle-shape: 9999px;--mat-standard-button-toggle-background-color: transparent;--mat-standard-button-toggle-disabled-state-background-color: transparent;--mat-datepicker-calendar-date-selected-state-text-color: #ffffff;--mat-datepicker-calendar-date-selected-state-background-color: #343dff;--mat-datepicker-calendar-date-selected-disabled-state-background-color: rgba(27, 27, 31, .38);--mat-datepicker-calendar-date-today-selected-state-outline-color: #343dff;--mat-datepicker-calendar-date-focus-state-background-color: rgba(27, 27, 31, .12);--mat-datepicker-calendar-date-hover-state-background-color: rgba(27, 27, 31, .08);--mat-datepicker-toggle-active-state-icon-color: #46464f;--mat-datepicker-calendar-date-in-range-state-background-color: #e0e0ff;--mat-datepicker-calendar-date-in-comparison-range-state-background-color: #e0e0ff;--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #e1e0f9;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: #5c5d72;--mat-datepicker-toggle-icon-color: #46464f;--mat-datepicker-calendar-body-label-text-color: #1b1b1f;--mat-datepicker-calendar-period-button-text-color: #46464f;--mat-datepicker-calendar-period-button-icon-color: #46464f;--mat-datepicker-calendar-navigation-button-icon-color: #46464f;--mat-datepicker-calendar-header-text-color: #46464f;--mat-datepicker-calendar-date-today-outline-color: #343dff;--mat-datepicker-calendar-date-today-disabled-state-outline-color: rgba(27, 27, 31, .38);--mat-datepicker-calendar-date-text-color: #1b1b1f;--mat-datepicker-calendar-date-disabled-state-text-color: rgba(27, 27, 31, .38);--mat-datepicker-calendar-date-preview-state-outline-color: #343dff;--mat-datepicker-range-input-separator-color: #1b1b1f;--mat-datepicker-range-input-disabled-state-separator-color: rgba(27, 27, 31, .38);--mat-datepicker-range-input-disabled-state-text-color: rgba(27, 27, 31, .38);--mat-datepicker-calendar-container-background-color: #ebe7ec;--mat-datepicker-calendar-container-text-color: #1b1b1f;--mat-datepicker-calendar-text-font: Roboto, sans-serif;--mat-datepicker-calendar-text-size: 1rem;--mat-datepicker-calendar-body-label-text-size: .875rem;--mat-datepicker-calendar-body-label-text-weight: 500;--mat-datepicker-calendar-period-button-text-size: .875rem;--mat-datepicker-calendar-period-button-text-weight: 500;--mat-datepicker-calendar-header-text-size: .875rem;--mat-datepicker-calendar-header-text-weight: 500;--mat-datepicker-calendar-container-shape: 16px;--mat-datepicker-calendar-container-touch-shape: 28px;--mat-datepicker-calendar-container-elevation-shadow: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-datepicker-calendar-container-touch-elevation-shadow: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-datepicker-calendar-header-divider-color: transparent;--mat-datepicker-calendar-date-outline-color: transparent;--mat-divider-color: #c7c5d0;--mat-divider-width: 1px;--mat-expansion-container-background-color: #fffbff;--mat-expansion-container-text-color: #1b1b1f;--mat-expansion-actions-divider-color: #c7c5d0;--mat-expansion-header-hover-state-layer-color: rgba(27, 27, 31, .08);--mat-expansion-header-focus-state-layer-color: rgba(27, 27, 31, .12);--mat-expansion-header-disabled-state-text-color: rgba(27, 27, 31, .38);--mat-expansion-header-text-color: #1b1b1f;--mat-expansion-header-description-color: #46464f;--mat-expansion-header-indicator-color: #46464f;--mat-expansion-header-text-font: Roboto, sans-serif;--mat-expansion-header-text-size: 1rem;--mat-expansion-header-text-weight: 500;--mat-expansion-header-text-line-height: 1.5rem;--mat-expansion-header-text-tracking: .009rem;--mat-expansion-container-text-font: Roboto, sans-serif;--mat-expansion-container-text-line-height: 1.5rem;--mat-expansion-container-text-size: 1rem;--mat-expansion-container-text-tracking: .031rem;--mat-expansion-container-text-weight: 400;--mat-expansion-header-collapsed-state-height: 48px;--mat-expansion-header-expanded-state-height: 64px;--mat-expansion-container-shape: 12px;--mat-expansion-legacy-header-indicator-display: none;--mat-expansion-header-indicator-display: inline-block;--mat-grid-list-tile-header-primary-text-size: 400 1rem / 1.5rem Roboto, sans-serif;--mat-grid-list-tile-header-secondary-text-size: 400 .875rem / 1.25rem Roboto, sans-serif;--mat-grid-list-tile-footer-primary-text-size: 400 1rem / 1.5rem Roboto, sans-serif;--mat-grid-list-tile-footer-secondary-text-size: 400 .875rem / 1.25rem Roboto, sans-serif;--mat-icon-color: inherit;--mat-sidenav-container-background-color: #fffbff;--mat-sidenav-container-text-color: #46464f;--mat-sidenav-content-background-color: #fffbff;--mat-sidenav-content-text-color: #1b1b1f;--mat-sidenav-scrim-color: rgba(48, 48, 56, .4);--mat-sidenav-container-shape: 16px;--mat-sidenav-container-elevation-shadow: none;--mat-sidenav-container-width: 360px;--mat-sidenav-container-divider-color: transparent;--mat-stepper-header-icon-foreground-color: #fffbff;--mat-stepper-header-selected-state-icon-background-color: #343dff;--mat-stepper-header-selected-state-icon-foreground-color: #ffffff;--mat-stepper-header-edit-state-icon-background-color: #343dff;--mat-stepper-header-edit-state-icon-foreground-color: #ffffff;--mat-stepper-container-color: #fffbff;--mat-stepper-line-color: #c7c5d0;--mat-stepper-header-hover-state-layer-color: rgba(48, 48, 52, .08);--mat-stepper-header-focus-state-layer-color: rgba(48, 48, 52, .12);--mat-stepper-header-label-text-color: #46464f;--mat-stepper-header-optional-label-text-color: #46464f;--mat-stepper-header-selected-state-label-text-color: #46464f;--mat-stepper-header-error-state-label-text-color: #ba1a1a;--mat-stepper-header-icon-background-color: #46464f;--mat-stepper-header-error-state-icon-foreground-color: #ba1a1a;--mat-stepper-container-text-font: Roboto, sans-serif;--mat-stepper-header-label-text-font: Roboto, sans-serif;--mat-stepper-header-label-text-size: .875rem;--mat-stepper-header-label-text-weight: 500;--mat-stepper-header-error-state-label-text-size: .875rem;--mat-stepper-header-selected-state-label-text-size: .875rem;--mat-stepper-header-selected-state-label-text-weight: 500;--mat-stepper-header-height: 72px;--mat-stepper-header-focus-state-layer-shape: 12px;--mat-stepper-header-hover-state-layer-shape: 12px;--mat-stepper-header-error-state-icon-background-color: transparent;--mat-sort-arrow-color: #1b1b1f;--mat-toolbar-container-background-color: #fffbff;--mat-toolbar-container-text-color: #1b1b1f;--mat-toolbar-title-text-font: Roboto, sans-serif;--mat-toolbar-title-text-line-height: 1.75rem;--mat-toolbar-title-text-size: 1.375rem;--mat-toolbar-title-text-tracking: 0rem;--mat-toolbar-title-text-weight: 400;--mat-toolbar-standard-height: 64px;--mat-toolbar-mobile-height: 56px;--mat-tree-container-background-color: #fffbff;--mat-tree-node-text-color: #1b1b1f;--mat-tree-node-text-font: Roboto, sans-serif;--mat-tree-node-text-size: 1rem;--mat-tree-node-text-weight: 400;--mat-tree-node-min-height: 48px}