PageSourceSearch

https://ipa.edu.sa/Style%20Library/bundles/ng-basket/main-BXWQBH5Y.js

js ipa.edu.sa collected 2026-09-25 00:05:07 UTC 716,176 bytes, 46 lines download raw bytes

1var CR=Object.create;var ym=Object.defineProperty,bR=Object.defineProperties,wR=Object.getOwnPropertyDescriptor,SR=Object.getOwnPropertyDescriptors,TR=Object.getOwnPropertyNames,Gu=Object.getOwnPropertySymbols,IR=Object.getPrototypeOf,_m=Object.prototype.hasOwnProperty,YD=Object.prototype.propertyIsEnumerable;var WD=(t,n,e)=>n in t?ym(t,n,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[n]=e,ae=(t,n)=>{for(var e in n||={})_m.call(n,e)&&WD(t,e,n[e]);if(Gu)for(var e of Gu(n))YD.call(n,e)&&WD(t,e,n[e]);return t},Ze=(t,n)=>bR(t,SR(n));var qD=(t=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(t,{get:(n,e)=>(typeof require<"u"?require:n)[e]}):t)(function(t){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+t+'" is not supported')});var Dm=(t,n)=>{var e={};for(var r in t)_m.call(t,r)&&n.indexOf(r)<0&&(e[r]=t[r]);if(t!=null&&Gu)for(var r of Gu(t))n.indexOf(r)<0&&YD.call(t,r)&&(e[r]=t[r]);return e};var Wu=(t,n)=>()=>{try{return n||t((n={exports:{}}).exports,n),n.exports}catch(e){throw n=0,e}};var MR=(t,n,e,r)=>{if(n&&typeof n=="object"||typeof n=="function")for(let i of TR(n))!_m.call(t,i)&&i!==e&&ym(t,i,{get:()=>n[i],enumerable:!(r=wR(n,i))||r.enumerable});return t};var Em=(t,n,e)=>(e=t!=null?CR(IR(t)):{},MR(n||!t||!t.__esModule?ym(e,"default",{value:t,enumerable:!0}):e,t));var Tt=(t,n,e)=>new Promise((r,i)=>{var o=l=>{try{a(e.next(l))}catch(u){i(u)}},s=l=>{try{a(e.throw(l))}catch(u){i(u)}},a=l=>l.done?r(l.value):Promise.resolve(l.value).then(o,s);a((e=e.apply(t,n)).next())});var SI=Wu((xp,w_)=>{"use strict";(function(n,e){if(typeof xp=="object"&&typeof w_=="object")w_.exports=e();else if(typeof define=="function"&&define.amd)define([],e);else{var r=e();for(var i in r)(typeof xp=="object"?xp:n)[i]=r[i]}})(self,function(){return(function(){var t={3099:(function(i){i.exports=function(o){if(typeof o!="function")throw TypeError(String(o)+" is not a function");return o}}),6077:(function(i,o,s){var a=s(111);i.exports=function(l){if(!a(l)&&l!==null)throw TypeError("Can't set "+String(l)+" as a prototype");return l}}),1223:(function(i,o,s){var a=s(5112),l=s(30),u=s(3070),f=a("unscopables"),h=Array.prototype;h[f]==null&&u.f(h,f,{configurable:!0,value:l(null)}),i.exports=function(m){h[f][m]=!0}}),1530:(function(i,o,s){"use strict";var a=s(8710).charAt;i.exports=function(l,u,f){return u+(f?a(l,u).length:1)}}),5787:(function(i){i.exports=function(o,s,a){if(!(o instanceof s))throw TypeError("Incorrect "+(a?a+" ":"")+"invocation");return o}}),9670:(function(i,o,s){var a=s(111);i.exports=function(l){if(!a(l))throw TypeError(String(l)+" is not an object");return l}}),4019:(function(i){i.exports=typeof ArrayBuffer<"u"&&typeof DataView<"u"}),260:(function(i,o,s){"use strict";var a=s(4019),l=s(9781),u=s(7854),f=s(111),h=s(6656),m=s(648),v=s(8880),y=s(1320),w=s(3070).f,C=s(9518),S=s(7674),x=s(5112),j=s(9711),P=u.Int8Array,Z=P&&P.prototype,L=u.Uint8ClampedArray,ie=L&&L.prototype,V=P&&C(P),z=Z&&C(Z),H=Object.prototype,K=H.isPrototypeOf,oe=x("toStringTag"),le=j("TYPED_ARRAY_TAG"),me=a&&!!S&&m(u.opera)!=="Opera",xe=!1,Y,ne={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},se={BigInt64Array:8,BigUint64Array:8},Me=function(Ue){if(!f(Ue))return!1;var Be=m(Ue);return Be==="DataView"||h(ne,Be)||h(se,Be)},je=function($e){if(!f($e))return!1;var Ue=m($e);return h(ne,Ue)||h(se,Ue)},ze=function($e){if(je($e))return $e;throw TypeError("Target is not a typed array")},We=function($e){if(S){if(K.call(V,$e))return $e}else for(var Ue in ne)if(h(ne,Y)){var Be=u[Ue];if(Be&&($e===Be||K.call(Be,$e)))return $e}throw TypeError("Target is not a typed array constructor")},X=function($e,Ue,Be){if(l){if(Be)for(var st in ne){var nt=u[st];nt&&h(nt.prototype,$e)&&delete nt.prototype[$e]}(!z[$e]||Be)&&y(z,$e,Be?Ue:me&&Z[$e]||Ue)}},Pe=function($e,Ue,Be){var st,nt;if(l){if(S){if(Be)for(st in ne)nt=u[st],nt&&h(nt,$e)&&delete nt[$e];if(!V[$e]||Be)try{return y(V,$e,Be?Ue:me&&P[$e]||Ue)}catch(tn){}else return}for(st in ne)nt=u[st],nt&&(!nt[$e]||Be)&&y(nt,$e,Ue)}};for(Y in ne)u[Y]||(me=!1);if((!me||typeof V!="function"||V===Function.prototype)&&(V=function(){throw TypeError("Incorrect invocation")},me))for(Y in ne)u[Y]&&S(u[Y],V);
1if((!me||!z||z===H)&&(z=V.prototype,me))for(Y in ne)u[Y]&&S(u[Y].prototype,z);if(me&&C(ie)!==z&&S(ie,z),l&&!h(z,oe)){xe=!0,w(z,oe,{get:function(){return f(this)?this[le]:void 0}});for(Y in ne)u[Y]&&v(u[Y],le,Y)}i.exports={NATIVE_ARRAY_BUFFER_VIEWS:me,TYPED_ARRAY_TAG:xe&&le,aTypedArray:ze,aTypedArrayConstructor:We,exportTypedArrayMethod:X,exportTypedArrayStaticMethod:Pe,isView:Me,isTypedArray:je,TypedArray:V,TypedArrayPrototype:z}}),3331:(function(i,o,s){"use strict";var a=s(7854),l=s(9781),u=s(4019),f=s(8880),h=s(2248),m=s(7293),v=s(5787),y=s(9958),w=s(7466),C=s(7067),S=s(1179),x=s(9518),j=s(7674),P=s(8006).f,Z=s(3070).f,L=s(1285),ie=s(8003),V=s(9909),z=V.get,H=V.set,K="ArrayBuffer",oe="DataView",le="prototype",me="Wrong length",xe="Wrong index",Y=a[K],ne=Y,se=a[oe],Me=se&&se[le],je=Object.prototype,ze=a.RangeError,We=S.pack,X=S.unpack,Pe=function(J){return[J&255]},$e=function(J){return[J&255,J>>8&255]},Ue=function(J){return[J&255,J>>8&255,J>>16&255,J>>24&255]},Be=function(J){return J[3]<<24|J[2]<<16|J[1]<<8|J[0]},st=function(J){return We(J,23,4)},nt=function(J){return We(J,52,8)},tn=function(J,ee){Z(J[le],ee,{get:function(){return z(this)[ee]}})},Lt=function(J,ee,Te,Ne){var It=C(Te),vt=z(J);if(It+ee>vt.byteLength)throw ze(xe);var wn=z(vt.buffer).bytes,hn=It+vt.byteOffset,dt=wn.slice(hn,hn+ee);return Ne?dt:dt.reverse()},nn=function(J,ee,Te,Ne,It,vt){var wn=C(Te),hn=z(J);if(wn+ee>hn.byteLength)throw ze(xe);for(var dt=z(hn.buffer).bytes,Le=wn+hn.byteOffset,jr=Ne(+It),Fn=0;Fn<ee;Fn++)dt[Le+Fn]=jr[vt?Fn:ee-Fn-1]};if(!u)ne=function(ee){v(this,ne,K);var Te=C(ee);H(this,{bytes:L.call(new Array(Te),0),byteLength:Te}),l||(this.byteLength=Te)},se=function(ee,Te,Ne){v(this,se,oe),v(ee,ne,oe);var It=z(ee).byteLength,vt=y(Te);if(vt<0||vt>It)throw ze("Wrong offset");if(Ne=Ne===void 0?It-vt:w(Ne),vt+Ne>It)throw ze(me);H(this,{buffer:ee,byteLength:Ne,byteOffset:vt}),l||(this.buffer=ee,this.byteLength=Ne,this.byteOffset=vt)},l&&(tn(ne,"byteLength"),tn(se,"buffer"),tn(se,"byteLength"),tn(se,"byteOffset")),h(se[le],{getInt8:function(ee){return Lt(this,1,ee)[0]<<24>>24},getUint8:function(ee){return Lt(this,1,ee)[0]},getInt16:function(ee){var Te=Lt(this,2,ee,arguments.length>1?arguments[1]:void 0);return(Te[1]<<8|Te[0])<<16>>16},getUint16:function(ee){var Te=Lt(this,2,ee,arguments.length>1?arguments[1]:void 0);return Te[1]<<8|Te[0]},getInt32:function(ee){return Be(Lt(this,4,ee,arguments.length>1?arguments[1]:void 0))},getUint32:function(ee){return Be(Lt(this,4,ee,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(ee){return X(Lt(this,4,ee,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(ee){return X(Lt(this,8,ee,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(ee,Te){nn(this,1,ee,Pe,Te)},setUint8:function(ee,Te){nn(this,1,ee,Pe,Te)},setInt16:function(ee,Te){nn(this,2,ee,$e,Te,arguments.length>2?arguments[2]:void 0)},setUint16:function(ee,Te){nn(this,2,ee,$e,Te,arguments.length>2?arguments[2]:void 0)},setInt32:function(ee,Te){nn(this,4,ee,Ue,Te,arguments.length>2?arguments[2]:void 0)},setUint32:function(ee,Te){nn(this,4,ee,Ue,Te,arguments.length>2?arguments[2]:void 0)},setFloat32:function(ee,Te){nn(this,4,ee,st,Te,arguments.length>2?arguments[2]:void 0)},setFloat64:function(ee,Te){nn(this,8,ee,nt,Te,arguments.length>2?arguments[2]:void 0)}});else{if(!m(function(){Y(1)})||!m(function(){new Y(-1)})||m(function(){return new Y,new Y(1.5),new Y(NaN),Y.name!=K})){ne=function(ee){return v(this,ne),new Y(C(ee))};for(var Je=ne[le]=Y[le],M=P(Y),R=0,U;M.length>R;)(U=M[R++])in ne||f(ne,U,Y[U]);Je.constructor=ne}j&&x(Me)!==je&&j(Me,je);var B=new se(new ne(2)),de=Me.setInt8;B.setInt8(0,2147483648),B.setInt8(1,2147483649),(B.getInt8(0)||!B.getInt8(1))&&h(Me,{setInt8:function(ee,Te){de.call(this,ee,Te<<24>>24)},setUint8:function(ee,Te){de.call(this,ee,Te<<24>>24)}},{unsafe:!0})}ie(ne,K),ie(se,oe),i.exports={ArrayBuffer:ne,DataView:se}}),1048:(function(i,o,s){"use strict";var a=s(7908),l=s(1400),u=s(7466),f=Math.min;i.exports=[].copyWithin||function(m,v){var y=a(this),w=u(y.length),C=l(m,w),S=l(v,w),x=arguments.length>2?arguments[2]:void 0,j=f((x===void 0?w:l(x,w))-S,w-C),P=1;for(S<C&&C<S+j&&(P=-1,S+=j-1,C+=j-1);j-- >0;)S in y?y[C]=y[S]:delete y[C],C+=P,S+=P;return y}}),1285:(function(i,o,s){"use strict";var a=s(7908),l=s(1400),u=s(7466);i.exports=function(h){for(var m=a(this),v=u(m.length),y=arguments.length,w=l(y>1?arguments[1]:void 0,v),C=y>2?arguments[2]:void 0,S=C===void 0?v:l(C,v);S>w;)m[w++]=h;return m}}),8533:(function(i,o,s){"use strict";var a=s(2092).forEach,l=s(9341),u=l("forEach");i.exports=u?[].forEach:function(h){return a(this,h,arguments.length>1?arguments[1]:void 0)}}),8457:(function(i,o,s){"use strict";var a=s(9974),l=s(7908),u=s(3411),f=s(7659),h=s(7466),m=s(6135),v=s(1246);i.exports=function(w){var C=l(w),S=typeof this=="function"?this:Array,x=arguments.length,j=x>1?arguments[1]:void 0,P=j!==void 0,Z=v(C),L=0,ie,V,z,H,K,oe;if(P&&(j=a(j,x>2?arguments[2]:void 0,2)),Z!=null&&!(S==Array&&f(Z)))for(H=Z.call(C),K=H.next,V=new S;!(z=K.call(H)).done;L++)oe=P?u(H,j,[z.value,L],!0):z.value,m(V,L,oe);else for(ie=h(C.length),V=new S(ie);ie>L;L++)oe=P?j(C[L],L):C[L],m(V,L,oe);return V.length=L,V}}),1318:(function(i,o,s){var a=s(5656),l=s(7466),u=s(1400),f=function(h){return function(m,v,y){var w=a(m),C=l(w.length),S=u(y,C),x;if(h&&v!=v){for(;C>S;)if(x=w[S++],x!=x)return!0}else for(;C>S;S++)if((h||S in w)&&w[S]===v)return h||S||0;return!h&&-1}};i.exports={includes:f(!0),indexOf:f(!1)}}),2092:(function(i,o,s){var a=s(9974),l=s(8361),u=s(7908),f=s(7466),h=s(5417),m=[].push,v=function(y){var w=y==1,C=y==2,S=y==3,x=y==4,j=y==6,P=y==7,Z=y==5||j;return function(L,ie,V,z){for(var H=u(L),K=l(H),oe=a(ie,V,3),le=f(K.length),me=0,xe=z||h,Y=w?xe(L,le):C||P?xe(L,0):void 0,ne,se;le>me;me++)if((Z||me in K)&&(ne=K[me],se=oe(ne,me,H),y))if(w)Y[me]=se;else if(se)switch(y){case 3:return!0;case 5:return ne;case 6:return me;case 2:m.call(Y,ne)}else switch(y){case 4:return!1;case 7:m.call(Y,ne)}return j?-1:S||x?x:Y}};i.exports={forEach:v(0),map:v(1),filter:v(2),some:v(3),every:v(4),find:v(5),findIndex:v(6),filterOut:v(7)}}),6583:(function(i,o,s){"use strict";var a=s(5656),l=s(9958),u=s(7466),f=s(9341),h=Math.min,m=[].lastIndexOf,v=!!m&&1/[1].lastIndexOf(1,-0)<0,y=f("lastIndexOf"),w=v||!y;i.exports=w?function(S){if(v)return m.apply(this,arguments)||0;var x=a(this),j=u(x.length),P=j-1;for(arguments.length>1&&(P=h(P,l(arguments[1]))),P<0&&(P=j+P);P>=0;P--)if(P in x&&x[P]===S)return P||0;return-1}:m}),1194:(function(i,o,s){var a=s(7293),l=s(5112),u=s(7392),f=l("species");i.exports=function(h){return u>=51||!a(function(){var m=[],v=m.constructor={};return v[f]=function(){return{foo:1}
1},m[h](Boolean).foo!==1})}}),9341:(function(i,o,s){"use strict";var a=s(7293);i.exports=function(l,u){var f=[][l];return!!f&&a(function(){f.call(null,u||function(){throw 1},1)})}}),3671:(function(i,o,s){var a=s(3099),l=s(7908),u=s(8361),f=s(7466),h=function(m){return function(v,y,w,C){a(y);var S=l(v),x=u(S),j=f(S.length),P=m?j-1:0,Z=m?-1:1;if(w<2)for(;;){if(P in x){C=x[P],P+=Z;break}if(P+=Z,m?P<0:j<=P)throw TypeError("Reduce of empty array with no initial value")}for(;m?P>=0:j>P;P+=Z)P in x&&(C=y(C,x[P],P,S));return C}};i.exports={left:h(!1),right:h(!0)}}),5417:(function(i,o,s){var a=s(111),l=s(3157),u=s(5112),f=u("species");i.exports=function(h,m){var v;return l(h)&&(v=h.constructor,typeof v=="function"&&(v===Array||l(v.prototype))?v=void 0:a(v)&&(v=v[f],v===null&&(v=void 0))),new(v===void 0?Array:v)(m===0?0:m)}}),3411:(function(i,o,s){var a=s(9670),l=s(9212);i.exports=function(u,f,h,m){try{return m?f(a(h)[0],h[1]):f(h)}catch(v){throw l(u),v}}}),7072:(function(i,o,s){var a=s(5112),l=a("iterator"),u=!1;try{var f=0,h={next:function(){return{done:!!f++}},return:function(){u=!0}};h[l]=function(){return this},Array.from(h,function(){throw 2})}catch(m){}i.exports=function(m,v){if(!v&&!u)return!1;var y=!1;try{var w={};w[l]=function(){return{next:function(){return{done:y=!0}}}},m(w)}catch(C){}return y}}),4326:(function(i){var o={}.toString;i.exports=function(s){return o.call(s).slice(8,-1)}}),648:(function(i,o,s){var a=s(1694),l=s(4326),u=s(5112),f=u("toStringTag"),h=l((function(){return arguments})())=="Arguments",m=function(v,y){try{return v[y]}catch(w){}};i.exports=a?l:function(v){var y,w,C;return v===void 0?"Undefined":v===null?"Null":typeof(w=m(y=Object(v),f))=="string"?w:h?l(y):(C=l(y))=="Ob
1ject"&&typeof y.callee=="function"?"Arguments":C}}),9920:(function(i,o,s){var a=s(6656),l=s(3887),u=s(1236),f=s(3070);i.exports=function(h,m){for(var v=l(m),y=f.f,w=u.f,C=0;C<v.length;C++){var S=v[C];a(h,S)||y(h,S,w(m,S))}}}),8544:(function(i,o,s){var a=s(7293);i.exports=!a(function(){function l(){}return l.prototype.constructor=null,Object.getPrototypeOf(new l)!==l.prototype})}),4994:(function(i,o,s){"use strict";var a=s(3383).IteratorPrototype,l=s(30),u=s(9114),f=s(8003),h=s(7497),m=function(){return this};i.exports=function(v,y,w){var C=y+" Iterator";return v.prototype=l(a,{next:u(1,w)}),f(v,C,!1,!0),h[C]=m,v}}),8880:(function(i,o,s){var a=s(9781),l=s(3070),u=s(9114);i.exports=a?function(f,h,m){return l.f(f,h,u(1,m))}:function(f,h,m){return f[h]=m,f}}),9114:(function(i){i.exports=function(o,s){return{enumerable:!(o&1),configurable:!(o&2),writable:!(o&4),value:s}}}),6135:(function(i,o,s){"use strict";var a=s(7593),l=s(3070),u=s(9114);i.exports=function(f,h,m){var v=a(h);v in f?l.f(f,v,u(0,m)):f[v]=m}}),654:(function(i,o,s){"use strict";var a=s(2109),l=s(4994),u=s(9518),f=s(7674),h=s(8003),m=s(8880),v=s(1320),y=s(5112),w=s(1913),C=s(7497),S=s(3383),x=S.IteratorPrototype,j=S.BUGGY_SAFARI_ITERATORS,P=y("iterator"),Z="keys",L="values",ie="entries",V=function(){return this};i.exports=function(z,H,K,oe,le,me,xe){l(K,H,oe);var Y=function(Ue){if(Ue===le&&ze)return ze;if(!j&&Ue in Me)return Me[Ue];switch(Ue){case Z:return function(){return new K(this,Ue)};case L:return function(){return new K(this,Ue)};case ie:return function(){return new K(this,Ue)}}return function(){return new K(this)}},ne=H+" Iterator",se=!1,Me=z.prototype,je=Me[P]||Me["@@iterator"]||le&&Me[le],ze=!j&&je||Y(le),We=H=="Array"&&Me.entries||je,X,Pe,$e;if(We&&(X=u(We.call(new z)),x!==Object.prototype&&X.next&&(!w&&u(X)!==x&&(f?f(X,x):typeof X[P]!="function"&&m(X,P,V)),h(X,ne,!0,!0),w&&(C[ne]=V))),le==L&&je&&je.name!==L&&(se=!0,ze=function(){return je.call(this)}),(!w||xe)&&Me[P]!==ze&&m(Me,P,ze),C[H]=ze,le)if(Pe={values:Y(L),keys:me?ze:Y(Z),entries:Y(ie)},xe)for($e in Pe)(j||se||!($e in Me))&&v(Me,$e,Pe[$e]);else a({target:H,proto:!0,forced:j||se},Pe);return Pe}}),9781:(function(i,o,s){var a=s(7293);i.exports=!a(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),317:(function(i,o,s){var a=s(7854),l=s(111),u=a.document,f=l(u)&&l(u.createElement);i.exports=function(h){return f?u.createElement(h):{}}}),8324:(function(i){i.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}}),8113:(function(i,o,s){var a=s(5005);i.exports=a("navigator","userAgent")||""}),7392:(function(i,o,s){var a=s(7854),l=s(8113),u=a.process,f=u&&u.versions,h=f&&f.v8,m,v;h?(m=h.split("."),v=m[0]+m[1]):l&&(m=l.match(/Edge\/(\d+)/),(!m||m[1]>=74)&&(m=l.match(/Chrome\/(\d+)/),m&&(v=m[1]))),i.exports=v&&+v}),748:(function(i){i.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),2109:(function(i,o,s){var a=s(7854),l=s(1236).f,u=s(8880),f=s(1320),h=s(3505),m=s(9920),v=s(4705);i.exports=function(y,w){var C=y.target,S=y.global,x=y.stat,j,P,Z,L,ie,V;if(S?P=a:x?P=a[C]||h(C,{}):P=(a[C]||{}).prototype,P)for(Z in w){if(ie=w[Z],y.noTargetGet?(V=l(P,Z),L=V&&V.value):L=P[Z],j=v(S?Z:C+(x?".":"#")+Z,y.forced),!j&&L!==void 0){if(typeof ie==typeof L)continue;m(ie,L)}(y.sham||L&&L.sham)&&u(ie,"sham",!0),f(P,Z,ie,y)}}}),7293:(function(i){i.exports=function(o){try{return!!o()}catch(s){return!0}}}),7007:(function(i,o,s){"use strict";s(4916);var a=s(1320),l=s(7293),u=s(5112),f=s(2261),h=s(8880),m=u("species"),v=!l(function(){var x=/./;return x.exec=function(){var j=[];return j.groups={a:"7"},j},"".replace(x,"$<a>")!=="7"}),y=(function(){return"a".replace(/./,"$0")==="$0"})(),w=u("replace"),C=(function(){return/./[w]?/./[w]("a","$0")==="":!1})(),S=!l(function(){var x=/(?:)/,j=x.exec;x.exec=function(){return j.apply(this,arguments)};var P="ab".split(x);return P.length!==2||P[0]!=="a"||P[1]!=="b"});i.exports=function(x,j,P,Z){var L=u(x),ie=!l(function(){var le={};return le[L]=function(){return 7},""[x](le)!=7}),V=ie&&!l(function(){var le=!1,me=/a/;return x==="split"&&(me={},me.constructor={},me.constructor[m]=function(){return me},me.flags="",me[L]=/./[L]),me.exec=function(){return le=!0,null},me[L](""),!le});if(!ie||!V||x==="replace"&&!(v&&y&&!C)||x==="split"&&!S){var z=/./[L],H=P(L,""[x],function(le,me,xe,Y,ne){return me.exec===f?ie&&!ne?{done:!0,value:z.call(me,xe,Y)}:{done:!0,value:le.call(xe,me,Y)}:{done:!1}},{REPLACE_KEEPS_$0:y,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:C}),K=H[0],oe=H[1];a(String.prototype,x,K),a(RegExp.prototype,L,j==2?function(le,me){return oe.call(le,this,me)}:function(le){return oe.call(le,this)})}Z&&h(RegExp.prototype[L],"sham",!0)}}),9974:(function(i,o,s){var a=s(3099);i.exports=function(l,u,f){if(a(l),u===void 0)return l;switch(f){case 0:return function(){return l.call(u)};case 1:return function(h){return l.call(u,h)};case 2:return function(h,m){return l.call(u,h,m)};case 3:return function(h,m,v){return l.call(u,h,m,v)}}return function(){return l.apply(u,arguments)}}}),5005:(function(i,o,s){var a=s(857),l=s(7854),u=function(f){return typeof f=="function"?f:void 0};i.exports=function(f,h){return arguments.length<2?u(a[f])||u(l[f]):a[f]&&a[f][h]||l[f]&&l[f][h]}}),1246:(function(i,o,s){var a=s(648),l=s(7497),u=s(5112),f=u("iterator");i.exports=function(h){if(h!=null)return h[f]||h["@@iterator"]||l[a(h)]}}),8554:(function(i,o,s){var a=s(9670),l=s(1246);i.exports=function(u){var f=l(u);if(typeof f!="function")throw TypeError(String(u)+" is not iterable");return a(f.call(u))}}),647:(function(i,o,s){var a=s(7908),l=Math.floor,u="".replace,f=/\$([$&'`]|\d\d?|<[^>]*>)/g,h=/\$([$&'`]|\d\d?)/g;i.exports=function(m,v,y,w,C,S){var x=y+m.length,j=w.length,P=h;return C!==void 0&&(C=a(C),P=f),u.call(S,P,function(Z,L){var ie;switch(L.charAt(0)){case"$":return"$";case"&":return m;case"`":return v.slice(0,y);case"'":return v.slice(x);case"<":ie=C[L.slice(1,-1)];break;default:var V=+L;if(V===0)return Z;if(V>j){var z=l(V/10);return z===0?Z:z<=j?w[z-1]===void 0?L.charAt(1):w[z-1]+L.charAt(1):Z}ie=w[V-1]}return ie===void 0?"":ie})}}),7854:(function(i,o,s){var a=function(l){return l&&l.Math==Math&&l};i.exports=a(typeof globalThis=="object"&&globalThis)||a(typeof window=="object"&&window)||a(typeof self=="object"&&self)||a(typeof s.g=="object"&&s.g)||(function(){return this})()||Function("return this")()}),6656:(function(i){var o={}.hasOwnProperty;i.exports=function(s,a){return o.call(s,a)}}),3501:(function(i){i.exports={}}),490:(function(i,o,s){var a=s(5005);i.exports=a("document","documentElement")}),4664:(function(i,o,s){var a=s(9781),l=s(7293),u=s(317);i.exports=!a&&!l(function(){return Object.defineProperty(u("div"),"a",{get:function(){return 7}}).a!=7})}),1179:(function(i){var o=Math.abs,s=Math.pow,a=Math.floor,l=Math.log,u=Math.LN2,f=function(m,v,y){var w=new Array(y),C=y*8-v-1,S=(1<<C)-1,x=S>>1,j=v===23?s(2,-24)-s(2,-77):0,P=m<0||m===0&&1/m<0?1:0,Z=0,L,ie,V;for(m=o(m),m!=m||m===1/0?(ie=m!=m?1:0,L=S):(L=a(l(m)/u),m*(V=s(2,-L))<1&&(L--,V*=2),L+x>=1?m+=j/V:m+=j*s(2,1-x),m*V>=2&&(L++,V/=2),L+x>=S?(ie=0,L=S):L+x>=1?(ie=(m*V-1)*s(2,v),L=L+x):(ie=m*s(2,x-1)*s(2,v),L=0));v>=8;w[Z++]=ie&255,ie/=256,v-=8);for(L=L<<v|ie,C+=v;C>0;w[Z++]=L&255,L/=256,C-=8);return w[--Z]|=P*128,w},h=function(m,v){var y=m.length,w=y*8-v-1,C=(1<<w)-1,S=C>>1,x=w-7,j=y-1,P=m[j--],Z=P&127,L;for(P>>=7;x>0;Z=Z*256+m[j],j--,x-=8);for(L=Z&(1<<-x)-1,Z>>=-x,x+=v;x>0;L=L*256+m[j],j--,x-=8);if(Z===0)Z=1-S;else{if(Z===C)return L?NaN:P?-1/0:1/0;L=L+s(2,v),Z=Z-S}return(P?-1:1)*L*s(2,Z-v)};i.exports={pack:f,unpack:h}}),8361:(function(i,o,s){var a=s(7293),l=s(4326),u="".split;i.exports=a(function(){return!Object("z").propertyIsEnumerable(0)})?function(f){return l(f)=="String"?u.call(f,""):Object(f)}:Object}),9587:(function(i,o,s){var a=s(111),l=s(7674);i.exports=function(u,f,h){var m,v;return l&&typeof(m=f.constructor)=="function"&&m!==h&&a(v=m.prototype)&&v!==h.prototype&&l(u,v),u}}),2788:(function(i,o,s){var a=s(5465),l=Function.toString;typeof a.inspectSource!="function"&&(a.inspectSource=function(u){return l.call(u)}),i.exports=a.inspectSource}),9909:(function(i,o,s){var a=s(8536),l=s(7854),u=s(111),f=s(8880),h=s(6656),m=s(5465),v=s(6200),y=s(3501),w=l.WeakMap,C,S,x,j=function(H){return x(H)?S(H):C(H,{})},P=function(H){return function(K){var oe;if(!u(K)||(oe=S(K)).type!==H)throw TypeError("Incompatible receiver, "+H+" required");return oe}};if(a){var Z=m.state||(m.state=new w),L=Z.get,ie=Z.has,V=Z.set;C=function(H,K){return K.facade=H,V.call(Z,H,K),K},S=function(H){return L.call(Z,H)||{}},x=function(H){return ie.call(Z,H)}}else{var z=v("state");y[z]=!0,C=function(H,K){return K.facade=H,f(H,z,K),K},S=function(H){return h(H,z)?H[z]:{}},x=function(H){return h(H,z)}}i.exports={set:C,get:S,has:x,enforce:j,getterFor:P}}),7659:(function(i,o,s){var a=s(5112),l=s(7497),u=a("iterator"),f=Array.prototype;i.exports=function(h){return h!==void 0&&(l.Array===h||f[u]===h)}}),3157:(function(i,o,s){var a=s(4326);i.exports=Array.isArray||function(u){return a(u)=="Array"}}
1),4705:(function(i,o,s){var a=s(7293),l=/#|\.prototype\./,u=function(y,w){var C=h[f(y)];return C==v?!0:C==m?!1:typeof w=="function"?a(w):!!w},f=u.normalize=function(y){return String(y).replace(l,".").toLowerCase()},h=u.data={},m=u.NATIVE="N",v=u.POLYFILL="P";i.exports=u}),111:(function(i){i.exports=function(o){return typeof o=="object"?o!==null:typeof o=="function"}}),1913:(function(i){i.exports=!1}),7850:(function(i,o,s){var a=s(111),l=s(4326),u=s(5112),f=u("match");i.exports=function(h){var m;return a(h)&&((m=h[f])!==void 0?!!m:l(h)=="RegExp")}}),9212:(function(i,o,s){var a=s(9670);i.exports=function(l){var u=l.return;if(u!==void 0)return a(u.call(l)).value}}),3383:(function(i,o,s){"use strict";var a=s(7293),l=s(9518),u=s(8880),f=s(6656),h=s(5112),m=s(1913),v=h("iterator"),y=!1,w=function(){return this},C,S,x;[].keys&&(x=[].keys(),"next"in x?(S=l(l(x)),S!==Object.prototype&&(C=S)):y=!0);var j=C==null||a(function(){var P={};return C[v].call(P)!==P});j&&(C={}),(!m||j)&&!f(C,v)&&u(C,v,w),i.exports={IteratorPrototype:C,BUGGY_SAFARI_ITERATORS:y}}),7497:(function(i){i.exports={}}),133:(function(i,o,s){var a=s(7293);i.exports=!!Object.getOwnPropertySymbols&&!a(function(){return!String(Symbol())})}),590:(function(i,o,s){var a=s(7293),l=s(5112),u=s(1913),f=l("iterator");i.exports=!a(function(){var h=new URL("b?a=1&b=2&c=3","http://a"),m=h.searchParams,v="";return h.pathname="c%20d",m.forEach(function(y,w){m.delete("b"),v+=w+y}),u&&!h.toJSON||!m.sort||h.href!=="http://a/c%20d?a=1&c=3"||m.get("c")!=="3"||String(new URLSearchParams("?a=1"))!=="a=1"||!m[f]||new URL("https://a@b").username!=="a"||new URLSearchParams(new URLSearchParams("a=b")).get("a")!=="b"||new URL("http://\u0442\u0435\u0441\u0442").host!=="xn--e1aybc"||new URL("http://a#\u0431").hash!=="#%D0%B1"||v!=="a1c3"||new URL("http://x",void 0).host!=="x"})}),8536:(function(i,o,s){var a=s(7854),l=s(2788),u=a.WeakMap;i.exports=typeof u=="function"&&/native code/.test(l(u))}),1574:(function(i,o,s){"use strict";var a=s(9781),l=s(7293),u=s(1956),f=s(5181),h=s(5296),m=s(7908),v=s(8361),y=Object.assign,w=Object.defineProperty;i.exports=!y||l(function(){if(a&&y({b:1},y(w({},"a",{enumerable:!0,get:function(){w(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var C={},S={},x=Symbol(),j="abcdefghijklmnopqrst";return C[x]=7,j.split("").forEach(function(P){S[P]=P}),y({},C)[x]!=7||u(y({},S)).join("")!=j})?function(S,x){for(var j=m(S),P=arguments.length,Z=1,L=f.f,ie=h.f;P>Z;)for(var V=v(arguments[Z++]),z=L?u(V).concat(L(V)):u(V),H=z.length,K=0,oe;H>K;)oe=z[K++],(!a||ie.call(V,oe))&&(j[oe]=V[oe]);return j}:y}),30:(function(i,o,s){var a=s(9670),l=s(6048),u=s(748),f=s(3501),h=s(490),m=s(317),v=s(6200),y=">",w="<",C="prototype",S="script",x=v("IE_PROTO"),j=function(){},P=function(z){return w+S+y+z+w+"/"+S+y},Z=function(z){z.write(P("")),z.close();var H=z.parentWindow.Object;return z=null,H},L=function(){var z=m("iframe"),H="java"+S+":",K;return z.style.display="none",h.appendChild(z),z.src=String(H),K=z.contentWindow.document,K.open(),K.write(P("document.F=Object")),K.close(),K.F},ie,V=function(){try{ie=document.domain&&new ActiveXObject("htmlfile")}catch(H){}V=ie?Z(ie):L();for(var z=u.length;z--;)delete V[C][u[z]];return V()};f[x]=!0,i.exports=Object.create||function(H,K){var oe;return H!==null?(j[C]=a(H),oe=new j,j[C]=null,oe[x]=H):oe=V(),K===void 0?oe:l(oe,K)}}),6048:(function(i,o,s){var a=s(9781),l=s(3070),u=s(9670),f=s(1956);i.exports=a?Object.defineProperties:function(m,v){u(m);for(var y=f(v),w=y.length,C=0,S;w>C;)l.f(m,S=y[C++],v[S]);return m}}),3070:(function(i,o,s){var a=s(9781),l=s(4664),u=s(9670),f=s(7593),h=Object.defineProperty;o.f=a?h:function(v,y,w){if(u(v),y=f(y,!0),u(w),l)try{return h(v,y,w)}catch(C){}if("get"in w||"set"in w)throw TypeError("Accessors not supported");return"value"in w&&(v[y]=w.value),v}}),1236:(function(i,o,s){var a=s(9781),l=s(5296),u=s(9114),f=s(5656),h=s(7593),m=s(6656),v=s(4664),y=Object.getOwnPropertyDescriptor;o.f=a?y:function(C,S){if(C=f(C),S=h(S,!0),v)try{return y(C,S)}catch(x){}if(m(C,S))return u(!l.f.call(C,S),C[S])}}),8006:(function(i,o,s){var a=s(6324),l=s(748),u=l.concat("length","prototype");o.f=Object.getOwnPropertyNames||function(h){return a(h,u)}}),5181:(function(i,o){o.f=Object.getOwnPropertySymbols}),9518:(function(i,o,s){var a=s(6656),l=s(7908),u=s(6200),f=s(8544),h=u("IE_PROTO"),m=Object.prototype;
1i.exports=f?Object.getPrototypeOf:function(v){return v=l(v),a(v,h)?v[h]:typeof v.constructor=="function"&&v instanceof v.constructor?v.constructor.prototype:v instanceof Object?m:null}}),6324:(function(i,o,s){var a=s(6656),l=s(5656),u=s(1318).indexOf,f=s(3501);i.exports=function(h,m){var v=l(h),y=0,w=[],C;for(C in v)!a(f,C)&&a(v,C)&&w.push(C);for(;m.length>y;)a(v,C=m[y++])&&(~u(w,C)||w.push(C));return w}}),1956:(function(i,o,s){var a=s(6324),l=s(748);i.exports=Object.keys||function(f){return a(f,l)}}),5296:(function(i,o){"use strict";var s={}.propertyIsEnumerable,a=Object.getOwnPropertyDescriptor,l=a&&!s.call({1:2},1);o.f=l?function(f){var h=a(this,f);return!!h&&h.enumerable}:s}),7674:(function(i,o,s){var a=s(9670),l=s(6077);i.exports=Object.setPrototypeOf||("__proto__"in{}?(function(){var u=!1,f={},h;try{h=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,h.call(f,[]),u=f instanceof Array}catch(m){}return function(v,y){return a(v),l(y),u?h.call(v,y):v.__proto__=y,v}})():void 0)}),288:(function(i,o,s){"use strict";var a=s(1694),l=s(648);i.exports=a?{}.toString:function(){return"[object "+l(this)+"]"}}),3887:(function(i,o,s){var a=s(5005),l=s(8006),u=s(5181),f=s(9670);i.exports=a("Reflect","ownKeys")||function(m){var v=l.f(f(m)),y=u.f;return y?v.concat(y(m)):v}}),857:(function(i,o,s){var a=s(7854);i.exports=a}),2248:(function(i,o,s){var a=s(1320);i.exports=function(l,u,f){for(var h in u)a(l,h,u[h],f);return l}}),1320:(function(i,o,s){var a=s(7854),l=s(8880),u=s(6656),f=s(3505),h=s(2788),m=s(9909),v=m.get,y=m.enforce,w=String(String).split("String");(i.exports=function(C,S,x,j){var P=j?!!j.unsafe:!1,Z=j?!!j.enumerable:!1,L=j?!!j.noTargetGet:!1,ie;if(typeof x=="function"&&(typeof S=="string"&&!u(x,"name")&&l(x,"name",S),ie=y(x),ie.source||(ie.source=w.join(typeof S=="string"?S:""))),C===a){Z?C[S]=x:f(S,x);return}else P?!L&&C[S]&&(Z=!0):delete C[S];Z?C[S]=x:l(C,S,x)})(Function.prototype,"toString",function(){return typeof this=="function"&&v(this).source||h(this)})}),7651:(function(i,o,s){var a=s(4326),l=s(2261);i.exports=function(u,f){var h=u.exec;if(typeof h=="function"){var m=h.call(u,f);if(typeof m!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return m}if(a(u)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return l.call(u,f)}}),2261:(function(i,o,s){"use strict";var a=s(7066),l=s(2999),u=RegExp.prototype.exec,f=String.prototype.replace,h=u,m=(function(){var C=/a/,S=/b*/g;return u.call(C,"a"),u.call(S,"a"),C.lastIndex!==0||S.lastIndex!==0})(),v=l.UNSUPPORTED_Y||l.BROKEN_CARET,y=/()??/.exec("")[1]!==void 0,w=m||y||v;w&&(h=function(S){var x=this,j,P,Z,L,ie=v&&x.sticky,V=a.call(x),z=x.source,H=0,K=S;return ie&&(V=V.replace("y",""),V.indexOf("g")===-1&&(V+="g"),K=String(S).slice(x.lastIndex),x.lastIndex>0&&(!x.multiline||x.multiline&&S[x.lastIndex-1]!==`
2`)&&(z="(?: "+z+")",K=" "+K,H++),P=new RegExp("^(?:"+z+")",V)),y&&(P=new RegExp("^"+z+"$(?!\\s)",V)),m&&(j=x.lastIndex),Z=u.call(ie?P:x,K),ie?Z?(Z.input=Z.input.slice(H),Z[0]=Z[0].slice(H),Z.index=x.lastIndex,x.lastIndex+=Z[0].length):x.lastIndex=0:m&&Z&&(x.lastIndex=x.global?Z.index+Z[0].length:j),y&&Z&&Z.length>1&&f.call(Z[0],P,function(){for(L=1;L<arguments.length-2;L++)arguments[L]===void 0&&(Z[L]=void 0)}),Z}),i.exports=h}),7066:(function(i,o,s){"use strict";var a=s(9670);i.exports=function(){var l=a(this),u="";return l.global&&(u+="g"),l.ignoreCase&&(u+="i"),l.multiline&&(u+="m"),l.dotAll&&(u+="s"),l.unicode&&(u+="u"),l.sticky&&(u+="y"),u}}),2999:(function(i,o,s){"use strict";var a=s(7293);function l(u,f){return RegExp(u,f)}o.UNSUPPORTED_Y=a(function(){var u=l("a","y");return u.lastIndex=2,u.exec("abcd")!=null}),o.BROKEN_CARET=a(function(){var u=l("^r","gy");return u.lastIndex=2,u.exec("str")!=null})}),4488:(function(i){i.exports=function(o){if(o==null)throw TypeError("Can't call method on "+o);return o}}),3505:(function(i,o,s){var a=s(7854),l=s(8880);i.exports=function(u,f){try{l(a,u,f)}catch(h){a[u]=f}return f}}),6340:(function(i,o,s){"use strict";var a=s(5005),l=s(3070),u=s(5112),f=s(9781),h=u("species");i.exports=function(m){var v=a(m),y=l.f;f&&v&&!v[h]&&y(v,h,{configurable:!0,get:function(){return this}})}}),8003:(function(i,o,s){var a=s(3070).f,l=s(6656),u=s(5112),f=u("toStringTag");i.exports=function(h,m,v){h&&!l(h=v?h:h.prototype,f)&&a(h,f,{configurable:!0,value:m})}}),6200:(function(i,o,s){var a=s(2309),l=s(9711),u=a("keys");i.exports=function(f){return u[f]||(u[f]=l(f))}}),5465:(function(i,o,s){var a=s(7854),l=s(3505),u="__core-js_shared__",f=a[u]||l(u,{});i.exports=f}),2309:(function(i,o,s){var a=s(1913),l=s(5465);(i.exports=function(u,f){return l[u]||(l[u]=f!==void 0?f:{})})("versions",[]).push({version:"3.9.0",mode:a?"pure":"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})}),6707:(function(i,o,s){var a=s(9670),l=s(3099),u=s(5112),f=u("species");i.exports=function(h,m){var v=a(h).constructor,y;return v===void 0||(y=a(v)[f])==null?m:l(y)}}),8710:(function(i,o,s){var a=s(9958),l=s(4488),u=function(f){return function(h,m){var v=String(l(h)),y=a(m),w=v.length,C,S;return y<0||y>=w?f?"":void 0:(C=v.charCodeAt(y),C<55296||C>56319||y+1===w||(S=v.charCodeAt(y+1))<56320||S>57343?f?v.charAt(y):C:f?v.slice(y,y+2):(C-55296<<10)+(S-56320)+65536)}};i.exports={codeAt:u(!1),charAt:u(!0)}}),3197:(function(i){"use strict";var o=2147483647,s=36,a=1,l=26,u=38,f=700,h=72,m=128,v="-",y=/[^\0-\u007E]/,w=/[.\u3002\uFF0E\uFF61]/g,C="Overflow: input needs wider integers to process",S=s-a,x=Math.floor,j=String.fromCharCode,P=function(V){for(var z=[],H=0,K=V.length;H<K;){var oe=V.charCodeAt(H++);if(oe>=55296&&oe<=56319&&H<K){var le=V.charCodeAt(H++);(le&64512)==56320?z.push(((oe&1023)<<10)+(le&1023)+65536):(z.push(oe),H--)}else z.push(oe)}return z},Z=function(V){return V+22+75*(V<26)},L=function(V,z,H){var K=0;for(V=H?x(V/f):V>>1,V+=x(V/z);V>S*l>>1;K+=s)V=x(V/S);return x(K+(S+1)*V/(V+u))},ie=function(V){var z=[];V=P(V);var H=V.length,K=m,oe=0,le=h,me,xe;for(me=0;me<V.length;
2me++)xe=V[me],xe<128&&z.push(j(xe));var Y=z.length,ne=Y;for(Y&&z.push(v);ne<H;){var se=o;for(me=0;me<V.length;me++)xe=V[me],xe>=K&&xe<se&&(se=xe);var Me=ne+1;if(se-K>x((o-oe)/Me))throw RangeError(C);for(oe+=(se-K)*Me,K=se,me=0;me<V.length;me++){if(xe=V[me],xe<K&&++oe>o)throw RangeError(C);if(xe==K){for(var je=oe,ze=s;;ze+=s){var We=ze<=le?a:ze>=le+l?l:ze-le;if(je<We)break;var X=je-We,Pe=s-We;z.push(j(Z(We+X%Pe))),je=x(X/Pe)}z.push(j(Z(je))),le=L(oe,Me,ne==Y),oe=0,++ne}}++oe,++K}return z.join("")};i.exports=function(V){var z=[],H=V.toLowerCase().replace(w,".").split("."),K,oe;for(K=0;K<H.length;K++)oe=H[K],z.push(y.test(oe)?"xn--"+ie(oe):oe);return z.join(".")}}),6091:(function(i,o,s){var a=s(7293),l=s(1361),u="\u200B\x85\u180E";i.exports=function(f){return a(function(){return!!l[f]()||u[f]()!=u||l[f].name!==f})}}),3111:(function(i,o,s){var a=s(4488),l=s(1361),u="["+l+"]",f=RegExp("^"+u+u+"*"),h=RegExp(u+u+"*$"),m=function(v){return function(y){var w=String(a(y));return v&1&&(w=w.replace(f,"")),v&2&&(w=w.replace(h,"")),w}};i.exports={start:m(1),end:m(2),trim:m(3)}}),1400:(function(i,o,s){var a=s(9958),l=Math.max,u=Math.min;i.exports=function(f,h){var m=a(f);return m<0?l(m+h,0):u(m,h)}}),7067:(function(i,o,s){var a=s(9958),l=s(7466);i.exports=function(u){if(u===void 0)return 0;var f=a(u),h=l(f);if(f!==h)throw RangeError("Wrong length or index");return h}}),5656:(function(i,o,s){var a=s(8361),l=s(4488);i.exports=function(u){return a(l(u))}}),9958:(function(i){var o=Math.ceil,s=Math.floor;i.exports=function(a){return isNaN(a=+a)?0:(a>0?s:o)(a)}}),7466:(function(i,o,s){var a=s(9958),l=Math.min;i.exports=function(u){return u>0?l(a(u),9007199254740991):0}}),7908:(function(i,o,s){var a=s(4488);i.exports=function(l){return Object(a(l))}}),4590:(function(i,o,s){var a=s(3002);i.exports=function(l,u){var f=a(l);if(f%u)throw RangeError("Wrong offset");return f}}),3002:(function(i,o,s){var a=s(9958);i.exports=function(l){var u=a(l);if(u<0)throw RangeError("The argument can't be less than 0");return u}}),7593:(function(i,o,s){var a=s(111);i.exports=function(l,u){if(!a(l))return l;var f,h;if(u&&typeof(f=l.toString)=="function"&&!a(h=f.call(l))||typeof(f=l.valueOf)=="function"&&!a(h=f.call(l))||!u&&typeof(f=l.toString)=="function"&&!a(h=f.call(l)))return h;throw TypeError("Can't convert object to primitive value")}}),1694:(function(i,o,s){var a=s(5112),l=a("toStringTag"),u={};u[l]="z",i.exports=String(u)==="[object z]"}),9843:(function(i,o,s){"use strict";var a=s(2109),l=s(7854),u=s(9781),f=s(3832),h=s(260),m=s(3331),v=s(5787),y=s(9114),w=s(8880),C=s(7466),S=s(7067),x=s(4590),j=s(7593),P=s(6656),Z=s(648),L=s(111),ie=s(30),V=s(7674),z=s(8006).f,H=s(7321),K=s(2092).forEach,oe=s(6340),le=s(3070),me=s(1236),xe=s(9909),Y=s(9587),ne=xe.get,se=xe.set,Me=le.f,je=me.f,ze=Math.round,We=l.RangeError,X=m.ArrayBuffer,Pe=m.DataView,$e=h.NATIVE_ARRAY_BUFFER_VIEWS,Ue=h.TYPED_ARRAY_TAG,Be=h.TypedArray,st=h.TypedArrayPrototype,nt=h.aTypedArrayConstructor,tn=h.isTypedArray,Lt="BYTES_PER_ELEMENT",nn="Wrong length",Je=function(J,ee){for(var Te=0,Ne=ee.length,It=new(nt(J))(Ne);Ne>Te;)It[Te]=ee[Te++];return It},M=function(J,ee){Me(J,ee,{get:function(){return ne(this)[ee]}})},R=function(J){var ee;return J instanceof X||(ee=Z(J))=="ArrayBuffer"||ee=="SharedArrayBuffer"},U=function(J,ee){return tn(J)&&typeof ee!="symbol"&&ee in J&&String(+ee)==String(ee)},B=function(ee,Te){return U(ee,Te=j(Te,!0))?y(2,ee[Te]):je(ee,Te)},de=function(ee,Te,Ne){return U(ee,Te=j(Te,!0))&&L(Ne)&&P(Ne,"value")&&!P(Ne,"get")&&!P(Ne,"set")&&!Ne.configurable&&(!P(Ne,"writable")||Ne.writable)&&(!P(Ne,"enumerable")||Ne.enumerable)?(ee[Te]=Ne.value,ee):Me(ee,Te,Ne)};u?($e||(me.f=B,le.f=de,M(st,"buffer"),M(st,"byteOffset"),M(st,"byteLength"),M(st,"length")),a({target:"Object",stat:!0,forced:!$e},{getOwnPropertyDescriptor:B,defineProperty:de}),i.exports=function(J,ee,Te){var Ne=J.match(/\d+$/)[0]/8,It=J+(Te?"Clamped":"")+"Array",vt="get"+J,wn="set"+J,hn=l[It],dt=hn,Le=dt&&dt.prototype,jr={},Fn=function(Wt,pt){var $t=ne(Wt);return $t.view[vt](pt*Ne+$t.byteOffset,!0)},Vr=function(Wt,pt,$t){var Pn=ne(Wt);Te&&($t=($t=ze($t))<0?0:$t>255?255:$t&255),Pn.view[wn](pt*Ne+Pn.byteOffset,$t,!0)},Xr=function(Wt,pt){Me(Wt,pt,{get:function(){return Fn(this,pt)},set:function($t){return Vr(this,pt,$t)},enumerable:!0})};$e?f&&(dt=ee(function(Wt,pt,$t,Pn){return v(Wt,dt,It),Y((function(){return L(pt)?R(pt)?Pn!==void 0?new hn(pt,x($t,Ne),Pn):$t!==void 0?new hn(pt,x($t,Ne)):new hn(pt):tn(pt)?Je(dt,pt):H.call(dt,pt):new hn(S(pt))})(),Wt,dt)}),V&&V(dt,Be),K(z(hn),function(Wt){Wt in dt||w(dt,Wt,hn[Wt])}),dt.prototype=Le):(dt=ee(function(Wt,pt,$t,Pn){v(Wt,dt,It);var Jn=0,$n=0,zn,an,Ve;if(!L(pt))Ve=S(pt),an=Ve*Ne,zn=new X(an);else if(R(pt)){zn=pt,$n=x($t,Ne);var wr=pt.byteLength;if(Pn===void 0){if(wr%Ne||(an=wr-$n,an<0))throw We(nn)}else if(an=C(Pn)*Ne,an+$n>wr)throw We(nn);Ve=an/Ne}else return tn(pt)?Je(dt,pt):H.call(dt,pt);for(se(Wt,{buffer:zn,byteOffset:$n,byteLength:an,length:Ve,view:new Pe(zn)});Jn<Ve;)Xr(Wt,Jn++)}
2),V&&V(dt,Be),Le=dt.prototype=ie(st)),Le.constructor!==dt&&w(Le,"constructor",dt),Ue&&w(Le,Ue,It),jr[It]=dt,a({global:!0,forced:dt!=hn,sham:!$e},jr),Lt in dt||w(dt,Lt,Ne),Lt in Le||w(Le,Lt,Ne),oe(It)}):i.exports=function(){}}),3832:(function(i,o,s){var a=s(7854),l=s(7293),u=s(7072),f=s(260).NATIVE_ARRAY_BUFFER_VIEWS,h=a.ArrayBuffer,m=a.Int8Array;i.exports=!f||!l(function(){m(1)})||!l(function(){new m(-1)})||!u(function(v){new m,new m(null),new m(1.5),new m(v)},!0)||l(function(){return new m(new h(2),1,void 0).length!==1})}),3074:(function(i,o,s){var a=s(260).aTypedArrayConstructor,l=s(6707);i.exports=function(u,f){for(var h=l(u,u.constructor),m=0,v=f.length,y=new(a(h))(v);v>m;)y[m]=f[m++];return y}}),7321:(function(i,o,s){var a=s(7908),l=s(7466),u=s(1246),f=s(7659),h=s(9974),m=s(260).aTypedArrayConstructor;i.exports=function(y){var w=a(y),C=arguments.length,S=C>1?arguments[1]:void 0,x=S!==void 0,j=u(w),P,Z,L,ie,V,z;if(j!=null&&!f(j))for(V=j.call(w),z=V.next,w=[];!(ie=z.call(V)).done;)w.push(ie.value);for(x&&C>2&&(S=h(S,arguments[2],2)),Z=l(w.length),L=new(m(this))(Z),P=0;Z>P;P++)L[P]=x?S(w[P],P):w[P];return L}}),9711:(function(i){var o=0,s=Math.random();i.exports=function(a){return"Symbol("+String(a===void 0?"":a)+")_"+(++o+s).toString(36)}}),3307:(function(i,o,s){var a=s(133);i.exports=a&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}),5112:(function(i,o,s){var a=s(7854),l=s(2309),u=s(6656),f=s(9711),h=s(133),m=s(3307),v=l("wks"),y=a.Symbol,w=m?y:y&&y.withoutSetter||f;i.exports=function(C){return u(v,C)||(h&&u(y,C)?v[C]=y[C]:v[C]=w("Symbol."+C)),v[C]}}),1361:(function(i){i.exports=`	
3\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`}),8264:(function(i,o,s){"use strict";var a=s(2109),l=s(7854),u=s(3331),f=s(6340),h="ArrayBuffer",m=u[h],v=l[h];a({global:!0,forced:v!==m},{ArrayBuffer:m}),f(h)}),2222:(function(i,o,s){"use strict";var a=s(2109),l=s(7293),u=s(3157),f=s(111),h=s(7908),m=s(7466),v=s(6135),y=s(5417),w=s(1194),C=s(5112),S=s(7392),x=C("isConcatSpreadable"),j=9007199254740991,P="Maximum allowed index exceeded",Z=S>=51||!l(function(){var z=[];return z[x]=!1,z.concat()[0]!==z}),L=w("concat"),ie=function(z){if(!f(z))return!1;var H=z[x];return H!==void 0?!!H:u(z)},V=!Z||!L;a({target:"Array",proto:!0,forced:V},{concat:function(H){var K=h(this),oe=y(K,0),le=0,me,xe,Y,ne,se;for(me=-1,Y=arguments.length;me<Y;me++)if(se=me===-1?K:arguments[me],ie(se)){if(ne=m(se.length),le+ne>j)throw TypeError(P);for(xe=0;xe<ne;xe++,le++)xe in se&&v(oe,le,se[xe])}else{if(le>=j)throw TypeError(P);v(oe,le++,se)}return oe.length=le,oe}})}),7327:(function(i,o,s){"use strict";var a=s(2109),l=s(2092).filter,u=s(1194),f=u("filter");a({target:"Array",proto:!0,forced:!f},{filter:function(m){return l(this,m,arguments.length>1?arguments[1]:void 0)}})}),2772:(function(i,o,s){"use strict";var a=s(2109),l=s(1318).indexOf,u=s(9341),f=[].indexOf,h=!!f&&1/[1].indexOf(1,-0)<0,m=u("indexOf");a({target:"Array",proto:!0,forced:h||!m},{indexOf:function(y){return h?f.apply(this,arguments)||0:l(this,y,arguments.length>1?arguments[1]:void 0)}})}),6992:(function(i,o,s){"use strict";var a=s(5656),l=s(1223),u=s(7497),f=s(9909),h=s(654),m="Array Iterator",v=f.set,y=f.getterFor(m);i.exports=h(Array,"Array",function(w,C){v(this,{type:m,target:a(w),index:0,kind:C})},function(){var w=y(this),C=w.target,S=w.kind,x=w.index++;return!C||x>=C.length?(w.target=void 0,{value:void 0,done:!0}):S=="keys"?{value:x,done:!1}:S=="values"?{value:C[x],done:!1}:{value:[x,C[x]],done:!1}},"values"),u.Arguments=u.Array,l("keys"),l("values"),l("entries")}),1249:(function(i,o,s){"use strict";var a=s(2109),l=s(2092).map,u=s(1194),f=u("map");a({target:"Array",proto:!0,forced:!f},{map:function(m){return l(this,m,arguments.length>1?arguments[1]:void 0)}})}),7042:(function(i,o,s){"use strict";var a=s(2109),l=s(111),u=s(3157),f=s(1400),h=s(7466),m=s(5656),v=s(6135),y=s(5112),w=s(1194),C=w("slice"),S=y("species"),x=[].slice,j=Math.max;a({target:"Array",proto:!0,forced:!C},{slice:function(Z,L){var ie=m(this),V=h(ie.length),z=f(Z,V),H=f(L===void 0?V:L,V),K,oe,le;if(u(ie)&&(K=ie.constructor,typeof K=="function"&&(K===Array||u(K.prototype))?K=void 0:l(K)&&(K=K[S],K===null&&(K=void 0)),K===Array||K===void 0))return x.call(ie,z,H);for(oe=new(K===void 0?Array:K)(j(H-z,0)),le=0;z<H;z++,le++)z in ie&&v(oe,le,ie[z]);return oe.length=le,oe}})}),561:(function(i,o,s){"use strict";var a=s(2109),l=s(1400),u=s(9958),f=s(7466),h=s(7908),m=s(5417),v=s(6135),y=s(1194),w=y("splice"),C=Math.max,S=Math.min,x=9007199254740991,j="Maximum allowed length exceeded";a({target:"Array",proto:!0,forced:!w},{splice:function(Z,L){var ie=h(this),V=f(ie.length),z=l(Z,V),H=arguments.length,K,oe,le,me,xe,Y;if(H===0?K=oe=0:H===1?(K=0,oe=V-z):(K=H-2,oe=S(C(u(L),0),V-z)),V+K-oe>x)throw TypeError(j);for(le=m(ie,oe),me=0;me<oe;
3me++)xe=z+me,xe in ie&&v(le,me,ie[xe]);if(le.length=oe,K<oe){for(me=z;me<V-oe;me++)xe=me+oe,Y=me+K,xe in ie?ie[Y]=ie[xe]:delete ie[Y];for(me=V;me>V-oe+K;me--)delete ie[me-1]}else if(K>oe)for(me=V-oe;me>z;me--)xe=me+oe-1,Y=me+K-1,xe in ie?ie[Y]=ie[xe]:delete ie[Y];for(me=0;me<K;me++)ie[me+z]=arguments[me+2];return ie.length=V-oe+K,le}})}),8309:(function(i,o,s){var a=s(9781),l=s(3070).f,u=Function.prototype,f=u.toString,h=/^\s*function ([^ (]*)/,m="name";a&&!(m in u)&&l(u,m,{configurable:!0,get:function(){try{return f.call(this).match(h)[1]}catch(v){return""}}})}),489:(function(i,o,s){var a=s(2109),l=s(7293),u=s(7908),f=s(9518),h=s(8544),m=l(function(){f(1)});a({target:"Object",stat:!0,forced:m,sham:!h},{getPrototypeOf:function(y){return f(u(y))}})}),1539:(function(i,o,s){var a=s(1694),l=s(1320),u=s(288);a||l(Object.prototype,"toString",u,{unsafe:!0})}),4916:(function(i,o,s){"use strict";var a=s(2109),l=s(2261);a({target:"RegExp",proto:!0,forced:/./.exec!==l},{exec:l})}),9714:(function(i,o,s){"use strict";var a=s(1320),l=s(9670),u=s(7293),f=s(7066),h="toString",m=RegExp.prototype,v=m[h],y=u(function(){return v.call({source:"a",flags:"b"})!="/a/b"}),w=v.name!=h;(y||w)&&a(RegExp.prototype,h,function(){var S=l(this),x=String(S.source),j=S.flags,P=String(j===void 0&&S instanceof RegExp&&!("flags"in m)?f.call(S):j);return"/"+x+"/"+P},{unsafe:!0})}),8783:(function(i,o,s){"use strict";var a=s(8710).charAt,l=s(9909),u=s(654),f="String Iterator",h=l.set,m=l.getterFor(f);u(String,"String",function(v){h(this,{type:f,string:String(v),index:0})},function(){var y=m(this),w=y.string,C=y.index,S;return C>=w.length?{value:void 0,done:!0}:(S=a(w,C),y.index+=S.length,{value:S,done:!1})})}),4723:(function(i,o,s){"use strict";var a=s(7007),l=s(9670),u=s(7466),f=s(4488),h=s(1530),m=s(7651);a("match",1,function(v,y,w){return[function(S){var x=f(this),j=S?.[v];return j!==void 0?j.call(S,x):new RegExp(S)[v](String(x))},function(C){var S=w(y,C,this);if(S.done)return S.value;var x=l(C),j=String(this);if(!x.global)return m(x,j);var P=x.unicode;x.lastIndex=0;for(var Z=[],L=0,ie;(ie=m(x,j))!==null;){var V=String(ie[0]);Z[L]=V,V===""&&(x.lastIndex=h(j,u(x.lastIndex),P)),L++}return L===0?null:Z}]})}),5306:(function(i,o,s){"use strict";var a=s(7007),l=s(9670),u=s(7466),f=s(9958),h=s(4488),m=s(1530),v=s(647),y=s(7651),w=Math.max,C=Math.min,S=function(x){return x===void 0?x:String(x)};a("replace",2,function(x,j,P,Z){var L=Z.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,ie=Z.REPLACE_KEEPS_$0,V=L?"$":"$0";return[function(H,K){var oe=h(this),le=H?.[x];
3return le!==void 0?le.call(H,oe,K):j.call(String(oe),H,K)},function(z,H){if(!L&&ie||typeof H=="string"&&H.indexOf(V)===-1){var K=P(j,z,this,H);if(K.done)return K.value}var oe=l(z),le=String(this),me=typeof H=="function";me||(H=String(H));var xe=oe.global;if(xe){var Y=oe.unicode;oe.lastIndex=0}for(var ne=[];;){var se=y(oe,le);if(se===null||(ne.push(se),!xe))break;var Me=String(se[0]);Me===""&&(oe.lastIndex=m(le,u(oe.lastIndex),Y))}for(var je="",ze=0,We=0;We<ne.length;We++){se=ne[We];for(var X=String(se[0]),Pe=w(C(f(se.index),le.length),0),$e=[],Ue=1;Ue<se.length;Ue++)$e.push(S(se[Ue]));var Be=se.groups;if(me){var st=[X].concat($e,Pe,le);Be!==void 0&&st.push(Be);var nt=String(H.apply(void 0,st))}else nt=v(X,le,Pe,$e,Be,H);Pe>=ze&&(je+=le.slice(ze,Pe)+nt,ze=Pe+X.length)}return je+le.slice(ze)}]})}),3123:(function(i,o,s){"use strict";var a=s(7007),l=s(7850),u=s(9670),f=s(4488),h=s(6707),m=s(1530),v=s(7466),y=s(7651),w=s(2261),C=s(7293),S=[].push,x=Math.min,j=4294967295,P=!C(function(){return!RegExp(j,"y")});a("split",2,function(Z,L,ie){var V;return"abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?V=function(z,H){var K=String(f(this)),oe=H===void 0?j:H>>>0;if(oe===0)return[];if(z===void 0)return[K];if(!l(z))return L.call(K,z,oe);for(var le=[],me=(z.ignoreCase?"i":"")+(z.multiline?"m":"")+(z.unicode?"u":"")+(z.sticky?"y":""),xe=0,Y=new RegExp(z.source,me+"g"),ne,se,Me;(ne=w.call(Y,K))&&(se=Y.lastIndex,!(se>xe&&(le.push(K.slice(xe,ne.index)),ne.length>1&&ne.index<K.length&&S.apply(le,ne.slice(1)),Me=ne[0].length,xe=se,le.length>=oe)));)Y.lastIndex===ne.index&&Y.lastIndex++;return xe===K.length?(Me||!Y.test(""))&&le.push(""):le.push(K.slice(xe)),le.length>oe?le.slice(0,oe):le}:"0".split(void 0,0).length?V=function(z,H){return z===void 0&&H===0?[]:L.call(this,z,H)}:V=L,[function(H,K){var oe=f(this),le=H?.[Z];return le!==void 0?le.call(H,oe,K):V.call(String(oe),H,K)},function(z,H){var K=ie(V,z,this,H,V!==L);if(K.done)return K.value;var oe=u(z),le=String(this),me=h(oe,RegExp),xe=oe.unicode,Y=(oe.ignoreCase?"i":"")+(oe.multiline?"m":"")+(oe.unicode?"u":"")+(P?"y":"g"),ne=new me(P?oe:"^(?:"+oe.source+")",Y),se=H===void 0?j:H>>>0;if(se===0)return[];if(le.length===0)return y(ne,le)===null?[le]:[];for(var Me=0,je=0,ze=[];je<le.length;){ne.lastIndex=P?je:0;var We=y(ne,P?le:le.slice(je)),X;if(We===null||(X=x(v(ne.lastIndex+(P?0:je)),le.length))===Me)je=m(le,je,xe);else{if(ze.push(le.slice(Me,je)),ze.length===se)return ze;for(var Pe=1;Pe<=We.length-1;Pe++)if(ze.push(We[Pe]),ze.length===se)return ze;je=Me=X}}return ze.push(le.slice(Me)),ze}]},!P)}),3210:(function(i,o,s){"use strict";var a=s(2109),l=s(3111).trim,u=s(6091);a({target:"String",proto:!0,forced:u("trim")},{trim:function(){return l(this)}})}),2990:(function(i,o,s){"use strict";var a=s(260),l=s(1048),u=a.aTypedArray,f=a.exportTypedArrayMethod;f("copyWithin",function(m,v){return l.call(u(this),m,v,arguments.length>2?arguments[2]:void 0)})}),8927:(function(i,o,s){"use strict";var a=s(260),l=s(2092).every,u=a.aTypedArray,f=a.exportTypedArrayMethod;f("every",function(m){return l(u(this),m,arguments.length>1?arguments[1]:void 0)})}),3105:(function(i,o,s){"use strict";var a=s(260),l=s(1285),u=a.aTypedArray,f=a.exportTypedArrayMethod;f("fill",function(m){return l.apply(u(this),arguments)})}),5035:(function(i,o,s){"use strict";var a=s(260),l=s(2092).filter,u=s(3074),f=a.aTypedArray,h=a.exportTypedArrayMethod;h("filter",function(v){var y=l(f(this),v,arguments.length>1?arguments[1]:void 0);return u(this,y)})}),7174:(function(i,o,s){"use strict";var a=s(260),l=s(2092).findIndex,u=a.aTypedArray,f=a.exportTypedArrayMethod;f("findIndex",function(m){return l(u(this),m,arguments.length>1?arguments[1]:void 0)})}),4345:(function(i,o,s){"use strict";var a=s(260),l=s(2092).find,u=a.aTypedArray,f=a.exportTypedArrayMethod;f("find",function(m){return l(u(this),m,arguments.length>1?arguments[1]:void 0)})}),2846:(function(i,o,s){"use strict";var a=s(260),l=s(2092).forEach,u=a.aTypedArray,f=a.exportTypedArrayMethod;f("forEach",function(m){l(u(this),m,arguments.length>1?arguments[1]:void 0)})}),4731:(function(i,o,s){"use strict";var a=s(260),l=s(1318).includes,u=a.aTypedArray,f=a.exportTypedArrayMethod;f("includes",function(m){return l(u(this),m,arguments.length>1?arguments[1]:void 0)})}),7209:(function(i,o,s){"use strict";var a=s(260),l=s(1318).indexOf,u=a.aTypedArray,f=a.exportTypedArrayMethod;f("indexOf",function(m){return l(u(this),m,arguments.length>1?arguments[1]:void 0)})}),6319:(function(i,o,s){"use strict";var a=s(7854),l=s(260),u=s(6992),f=s(5112),h=f("iterator"),m=a.Uint8Array,v=u.values,y=u.ke
3ys,w=u.entries,C=l.aTypedArray,S=l.exportTypedArrayMethod,x=m&&m.prototype[h],j=!!x&&(x.name=="values"||x.name==null),P=function(){return v.call(C(this))};S("entries",function(){return w.call(C(this))}),S("keys",function(){return y.call(C(this))}),S("values",P,!j),S(h,P,!j)}),8867:(function(i,o,s){"use strict";var a=s(260),l=a.aTypedArray,u=a.exportTypedArrayMethod,f=[].join;u("join",function(m){return f.apply(l(this),arguments)})}),7789:(function(i,o,s){"use strict";var a=s(260),l=s(6583),u=a.aTypedArray,f=a.exportTypedArrayMethod;f("lastIndexOf",function(m){return l.apply(u(this),arguments)})}),3739:(function(i,o,s){"use strict";var a=s(260),l=s(2092).map,u=s(6707),f=a.aTypedArray,h=a.aTypedArrayConstructor,m=a.exportTypedArrayMethod;m("map",function(y){return l(f(this),y,arguments.length>1?arguments[1]:void 0,function(w,C){return new(h(u(w,w.constructor)))(C)})})}),4483:(function(i,o,s){"use strict";var a=s(260),l=s(3671).right,u=a.aTypedArray,f=a.exportTypedArrayMethod;f("reduceRight",function(m){return l(u(this),m,arguments.length,arguments.length>1?arguments[1]:void 0)})}),9368:(function(i,o,s){"use strict";var a=s(260),l=s(3671).left,u=a.aTypedArray,f=a.exportTypedArrayMethod;f("reduce",function(m){return l(u(this),m,arguments.length,arguments.length>1?arguments[1]:void 0)})}),2056:(function(i,o,s){"use strict";var a=s(260),l=a.aTypedArray,u=a.exportTypedArrayMethod,f=Math.floor;u("reverse",function(){for(var m=this,v=l(m).length,y=f(v/2),w=0,C;w<y;)C=m[w],m[w++]=m[--v],m[v]=C;return m})}),3462:(function(i,o,s){"use strict";var a=s(260),l=s(7466),u=s(4590),f=s(7908),h=s(7293),m=a.aTypedArray,v=a.exportTypedArrayMethod,y=h(function(){new Int8Array(1).set({})});v("set",function(C){m(this);var S=u(arguments.length>1?arguments[1]:void 0,1),x=this.length,j=f(C),P=l(j.length),Z=0;if(P+S>x)throw RangeError("Wrong length");for(;Z<P;)this[S+Z]=j[Z++]},y)}),678:(function(i,o,s){"use strict";var a=s(260),l=s(6707),u=s(7293),f=a.aTypedArray,h=a.aTypedArrayConstructor,m=a.exportTypedArrayMethod,v=[].slice,y=u(function(){new Int8Array(1).slice()});m("slice",function(C,S){for(var x=v.call(f(this),C,S),j=l(this,this.constructor),P=0,Z=x.length,L=new(h(j))(Z);Z>P;)L[P]=x[P++];return L},y)}),7462:(function(i,o,s){"use strict";var a=s(260),l=s(2092).some,u=a.aTypedArray,f=a.exportTypedArrayMethod;f("some",function(m){return l(u(this),m,arguments.length>1?arguments[1]:void 0)})}),3824:(function(i,o,s){"use strict";var a=s(260),l=a.aTypedArray,u=a.exportTypedArrayMethod,f=[].sort;u("sort",function(m){return f.call(l(this),m)})}),5021:(function(i,o,s){"use strict";var a=s(260),l=s(7466),u=s(1400),f=s(6707),h=a.aTypedArray,m=a.exportTypedArrayMethod;m("subarray",function(y,w){var C=h(this),S=C.length,x=u(y,S);return new(f(C,C.constructor))(C.buffer,C.byteOffset+x*C.BYTES_PER_ELEMENT,l((w===void 0?S:u(w,S))-x))})}),2974:(function(i,o,s){"use strict";var a=s(7854),l=s(260),u=s(7293),f=a.Int8Array,h=l.aTypedArray,m=l.exportTypedArrayMethod,v=[].toLocaleString,y=[].slice,w=!!f&&u(function(){v.call(new f(1))}),C=u(function(){return[1,2].toLocaleString()!=new f([1,2]).toLocaleString()})||!u(function(){f.prototype.toLocaleString.call([1,2])});m("toLocaleString",function(){return v.apply(w?y.call(h(this)):h(this),arguments)},C)}),5016:(function(i,o,s){"use strict";var a=s(260).exportTypedArrayMethod,l=s(7293),u=s(7854),f=u.Uint8Array,h=f&&f.prototype||{},m=[].toString,v=[].join;l(function(){m.call({})})&&(m=function(){return v.call(this)});var y=h.toString!=m;a("toString",m,y)}),2472:(function(i,o,s){var a=s(9843);a("Uint8",function(l){return function(f,h,m){return l(this,f,h,m)}})}),4747:(function(i,o,s){var a=s(7854),l=s(8324),u=s(8533),f=s(8880);for(var h in l){var m=a[h],v=m&&m.prototype;if(v&&v.forEach!==u)try{f(v,"forEach",u)}catch(y){v.forEach=u}}}),3948:(function(i,o,s){var a=s(7854),l=s(8324),u=s(6992),f=s(8880),h=s(5112),m=h("iterator"),v=h("toStringTag"),y=u.values;for(var w in l){var C=a[w],S=C&&C.prototype;if(S){if(S[m]!==y)try{f(S,m,y)}catch(j){S[m]=y}if(S[v]||f(S,v,w),l[w]){for(var x in u)if(S[x]!==u[x])try{f(S,x,u[x])}
3catch(j){S[x]=u[x]}}}}}),1637:(function(i,o,s){"use strict";s(6992);var a=s(2109),l=s(5005),u=s(590),f=s(1320),h=s(2248),m=s(8003),v=s(4994),y=s(9909),w=s(5787),C=s(6656),S=s(9974),x=s(648),j=s(9670),P=s(111),Z=s(30),L=s(9114),ie=s(8554),V=s(1246),z=s(5112),H=l("fetch"),K=l("Headers"),oe=z("iterator"),le="URLSearchParams",me=le+"Iterator",xe=y.set,Y=y.getterFor(le),ne=y.getterFor(me),se=/\+/g,Me=Array(4),je=function(Je){return Me[Je-1]||(Me[Je-1]=RegExp("((?:%[\\da-f]{2}){"+Je+"})","gi"))},ze=function(Je){try{return decodeURIComponent(Je)}catch(M){return Je}},We=function(Je){var M=Je.replace(se," "),R=4;try{return decodeURIComponent(M)}catch(U){for(;R;)M=M.replace(je(R--),ze);return M}},X=/[!'()~]|%20/g,Pe={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},$e=function(Je){return Pe[Je]},Ue=function(Je){return encodeURIComponent(Je).replace(X,$e)},Be=function(Je,M){if(M)for(var R=M.split("&"),U=0,B,de;U<R.length;)B=R[U++],B.length&&(de=B.split("="),Je.push({key:We(de.shift()),value:We(de.join("="))}))},st=function(Je){this.entries.length=0,Be(this.entries,Je)},nt=function(Je,M){if(Je<M)throw TypeError("Not enough arguments")},tn=v(function(M,R){xe(this,{type:me,iterator:ie(Y(M).entries),kind:R})},"Iterator",function(){var M=ne(this),R=M.kind,U=M.iterator.next(),B=U.value;return U.done||(U.value=R==="keys"?B.key:R==="values"?B.value:[B.key,B.value]),U}),Lt=function(){w(this,Lt,le);var M=arguments.length>0?arguments[0]:void 0,R=this,U=[],B,de,J,ee,Te,Ne,It,vt,wn;if(xe(R,{type:le,entries:U,updateURL:function(){},updateSearchParams:st}),M!==void 0)if(P(M))if(B=V(M),typeof B=="function")for(de=B.call(M),J=de.next;!(ee=J.call(de)).done;){if(Te=ie(j(ee.value)),Ne=Te.next,(It=Ne.call(Te)).done||(vt=Ne.call(Te)).done||!Ne.call(Te).done)throw TypeError("Expected sequence with length 2");U.push({key:It.value+"",value:vt.value+""})}else for(wn in M)C(M,wn)&&U.push({key:wn,value:M[wn]+""});else Be(U,typeof M=="string"?M.charAt(0)==="?"?M.slice(1):M:M+"")},nn=Lt.prototype;h(nn,{append:function(M,R){nt(arguments.length,2);var U=Y(this);U.entries.push({key:M+"",value:R+""}),U.updateURL()},delete:function(Je){nt(arguments.length,1);for(var M=Y(this),R=M.entries,U=Je+"",B=0;B<R.length;)R[B].key===U?R.splice(B,1):B++;M.updateURL()},get:function(M){nt(arguments.length,1);for(var R=Y(this).entries,U=M+"",B=0;B<R.length;B++)if(R[B].key===U)return R[B].value;return null},getAll:function(M){nt(arguments.length,1);for(var R=Y(this).entries,U=M+"",B=[],de=0;de<R.length;de++)R[de].key===U&&B.push(R[de].value);return B},has:function(M){nt(arguments.length,1);for(var R=Y(this).entries,U=M+"",B=0;B<R.length;)if(R[B++].key===U)return!0;return!1},set:function(M,R){nt(arguments.length,1);for(var U=Y(this),B=U.entries,de=!1,J=M+"",ee=R+"",Te=0,Ne;Te<B.length;Te++)Ne=B[Te],Ne.key===J&&(de?B.splice(Te--,1):(de=!0,Ne.value=ee));de||B.push({key:J,value:ee}),U.updateURL()},sort:function(){var M=Y(this),R=M.entries,U=R.slice(),B,de,J;for(R.length=0,J=0;J<U.length;J++){for(B=U[J],de=0;de<J;de++)if(R[de].key>B.key){R.splice(de,0,B);break}de===J&&R.push(B)}M.updateURL()},forEach:function(M){for(var R=Y(this).entries,U=S(M,arguments.length>1?arguments[1]:void 0,3),B=0,de;B<R.length;)de=R[B++],U(de.value,de.key,this)},keys:function(){return new tn(this,"keys")},values:function(){return new tn(this,"values")},entries:function(){return new tn(this,"entries")}},{enumerable:!0}),f(nn,oe,nn.entries),f(nn,"toString",function(){for(var M=Y(this).entries,R=[],U=0,B;U<M.length;)B=M[U++],R.push(Ue(B.key)+"="+Ue(B.value));return R.join("&")},{enumerable:!0}),m(Lt,le),a({global:!0,forced:!u},{URLSearchParams:Lt}),!u&&typeof H=="function"&&typeof K=="function"&&a({global:!0,enumerable:!0,forced:!0},{fetch:function(M){var R=[M],U,B,de;return arguments.length>1&&(U=arguments[1],P(U)&&(B=U.body,x(B)===le&&(de=U.headers?new K(U.headers):new K,de.has("content-type")||de.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),U=Z(U,{body:L(0,String(B)),headers:L(0,de)}))),R.push(U)),H.apply(this,R)}}),i.exports={URLSearchParams:Lt,getState:Y}}),285:(function(i,o,s){"use strict";s(8783);var a=s(2109),l=s(9781),u=s(590),f=s(7854),h=s(6048),m=s(1320),v=s(5787),y=s(6656),w=s(1574),C=s(8457),S=s(8710).codeAt,x=s(3197),j=s(8003),P=s(1637),Z=s(9909),L=f.URL,ie=P.URLSearchParams,V=P.getState,z=Z.set,H=Z.getterFor("URL"),K=Math.floor,oe=Math.pow,le="Invalid authority",me="Invalid scheme",xe="Invalid host",Y="Invalid port",ne=/[A-Za-z]/,se=/[\d+-.A-Za-z]/,Me=/\d/,je=/^(0x|0X)/,ze=/^[0-7]+$/,We=/^\d+$/,X=/^[\dA-Fa-f]+$/,Pe=/[\u0000\t\u000A\u000D #%/:?@[\\]]/,$e=/[\u0000\t\u000A\u000D #/:?@[\\]]/,Ue=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,Be=/[\t\u000A\u000D]/g,st,nt=function(b,W){var Q,ue,De;if(W.charAt(0)=="["){if(W.charAt(W.length-1)!="]"||(Q=Lt(W.slice(1,-1)),!Q))return xe;b.host=Q}else if(ee(b)){if(W=x(W),Pe.test(W)||(Q=tn(W),Q===null))return xe;b.host=Q}else{if($e.test(W))return xe;for(Q="",ue=C(W),De=0;De<ue.length;De++)Q+=de(ue[De],M);b.host=Q}},tn=function(b){var W=b.split("."),Q,ue,De,Oe,Re,Ct,Yt;if(W.length&&W[W.length-1]==""&&W.pop(),Q=W.length,Q>4)return b;for(ue=[],De=0;De<Q;De++){if(Oe=W[De],Oe=="")return b;
3if(Re=10,Oe.length>1&&Oe.charAt(0)=="0"&&(Re=je.test(Oe)?16:8,Oe=Oe.slice(Re==8?1:2)),Oe==="")Ct=0;else{if(!(Re==10?We:Re==8?ze:X).test(Oe))return b;Ct=parseInt(Oe,Re)}ue.push(Ct)}for(De=0;De<Q;De++)if(Ct=ue[De],De==Q-1){if(Ct>=oe(256,5-Q))return null}else if(Ct>255)return null;for(Yt=ue.pop(),De=0;De<ue.length;De++)Yt+=ue[De]*oe(256,3-De);return Yt},Lt=function(b){var W=[0,0,0,0,0,0,0,0],Q=0,ue=null,De=0,Oe,Re,Ct,Yt,rn,Nn,ye,qt=function(){return b.charAt(De)};if(qt()==":"){if(b.charAt(1)!=":")return;De+=2,Q++,ue=Q}for(;qt();){if(Q==8)return;if(qt()==":"){if(ue!==null)return;De++,Q++,ue=Q;continue}for(Oe=Re=0;Re<4&&X.test(qt());)Oe=Oe*16+parseInt(qt(),16),De++,Re++;if(qt()=="."){if(Re==0||(De-=Re,Q>6))return;for(Ct=0;qt();){if(Yt=null,Ct>0)if(qt()=="."&&Ct<4)De++;else return;if(!Me.test(qt()))return;for(;Me.test(qt());){if(rn=parseInt(qt(),10),Yt===null)Yt=rn;else{if(Yt==0)return;Yt=Yt*10+rn}if(Yt>255)return;De++}W[Q]=W[Q]*256+Yt,Ct++,(Ct==2||Ct==4)&&Q++}if(Ct!=4)return;break}else if(qt()==":"){if(De++,!qt())return}else if(qt())return;W[Q++]=Oe}if(ue!==null)for(Nn=Q-ue,Q=7;Q!=0&&Nn>0;)ye=W[Q],W[Q--]=W[ue+Nn-1],W[ue+--Nn]=ye;else if(Q!=8)return;return W},nn=function(b){for(var W=null,Q=1,ue=null,De=0,Oe=0;Oe<8;Oe++)b[Oe]!==0?(De>Q&&(W=ue,Q=De),ue=null,De=0):(ue===null&&(ue=Oe),++De);return De>Q&&(W=ue,Q=De),W},Je=function(b){var W,Q,ue,De;if(typeof b=="number"){for(W=[],Q=0;Q<4;Q++)W.unshift(b%256),b=K(b/256);return W.join(".")}else if(typeof b=="object"){for(W="",ue=nn(b),Q=0;Q<8;Q++)De&&b[Q]===0||(De&&(De=!1),ue===Q?(W+=Q?":":"::",De=!0):(W+=b[Q].toString(16),Q<7&&(W+=":")));return"["+W+"]"}return b},M={},R=w({},M,{" ":1,'"':1,"<":1,">":1,"`":1}),U=w({},R,{"#":1,"?":1,"{":1,"}":1}),B=w({},U,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),de=function(b,W){var Q=S(b,0);return Q>32&&Q<127&&!y(W,b)?b:encodeURIComponent(b)},J={ftp:21,file:null,http:80,https:443,ws:80,wss:443},ee=function(b){return y(J,b.scheme)},Te=function(b){return b.username!=""||b.password!=""},Ne=function(b){return!b.host||b.cannotBeABaseURL||b.scheme=="file"},It=function(b,W){var Q;return b.length==2&&ne.test(b.charAt(0))&&((Q=b.charAt(1))==":"||!W&&Q=="|")},vt=function(b){var W;return b.length>1&&It(b.slice(0,2))&&(b.length==2||(W=b.charAt(2))==="/"||W==="\\"||W==="?"||W==="#")},wn=function(b){var W=b.path,Q=W.length;Q&&(b.scheme!="file"||Q!=1||!It(W[0],!0))&&W.pop()},hn=function(b){return b==="."||b.toLowerCase()==="%2e"},dt=function(b){return b=b.toLowerCase(),b===".."||b==="%2e."||b===".%2e"||b==="%2e%2e"},Le={},jr={},Fn={},Vr={},Xr={},Wt={},pt={},$t={},Pn={},Jn={},$n={},zn={},an={},Ve={},wr={},Ae={},Ii={},cr={},Xn={},mn={},rt={},Gn=function(b,W,Q,ue){var De=Q||Le,Oe=0,Re="",Ct=!1,Yt=!1,rn=!1,Nn,ye,qt,ei;for(Q||(b.scheme="",b.username="",b.password="",b.host=null,b.port=null,b.path=[],b.query=null,b.fragment=null,b.cannotBeABaseURL=!1,W=W.replace(Ue,"")),W=W.replace(Be,""),Nn=C(W);Oe<=Nn.length;){switch(ye=Nn[Oe],De){case Le:if(ye&&ne.test(ye))Re+=ye.toLowerCase(),De=jr;else{if(Q)return me;De=Fn;continue}break;case jr:if(ye&&(se.test(ye)||ye=="+"||ye=="-"||ye=="."))Re+=ye.toLowerCase();else if(ye==":"){if(Q&&(ee(b)!=y(J,Re)||Re=="file"&&(Te(b)||b.port!==null)||b.scheme=="file"&&!b.host))return;if(b.scheme=Re,Q){ee(b)&&J[b.scheme]==b.port&&(b.port=null);return}Re="",b.scheme=="file"?De=Ve:ee(b)&&ue&&ue.scheme==b.scheme?De=Vr:ee(b)?De=$t:Nn[Oe+1]=="/"?(De=Xr,Oe++):(b.cannotBeABaseURL=!0,b.path.push(""),De=Xn)}else{if(Q)return me;Re="",De=Fn,Oe=0;continue}break;case Fn:if(!ue||ue.cannotBeABaseURL&&ye!="#")return me;if(ue.cannotBeABaseURL&&ye=="#"){b.scheme=ue.scheme,b.path=ue.path.slice(),b.query=ue.query,b.fragment="",b.cannotBeABaseURL=!0,De=rt;break}De=ue.scheme=="file"?Ve:Wt;continue;case Vr:if(ye=="/"&&Nn[Oe+1]=="/")De=Pn,Oe++;else{De=Wt;continue}break;case Xr:if(ye=="/"){De=Jn;break}else{De=cr;continue}case Wt:if(b.scheme=ue.scheme,ye==st)b.username=ue.username,b.password=ue.password,b.host=ue.host,b.port=ue.port,b.path=ue.path.slice(),b.query=ue.query;else if(ye=="/"||ye=="\\"&&ee(b))De=pt;else if(ye=="?")b.username=ue.username,b.password=ue.password,b.host=ue.host,b.port=ue.port,b.path=ue.path.slice(),b.query="",De=mn;else if(ye=="#")b.username=ue.username,b.password=ue.password,b.host=ue.host,b.port=ue.port,b.path=ue.path.slice(),b.query=ue.query,b.fragment="",De=rt;else{b.username=ue.username,b.password=ue.password,b.host=ue.host,b.port=ue.port,b.path=ue.path.slice(),b.path.pop(),De=cr;continue}break;case pt:if(ee(b)&&(ye=="/"||ye=="\\"))De=Pn;else if(ye=="/")De=Jn;else{b.username=ue.username,b.password=ue.password,b.host=ue.host,b.port=ue.port,De=cr;
3continue}break;case $t:if(De=Pn,ye!="/"||Re.charAt(Oe+1)!="/")continue;Oe++;break;case Pn:if(ye!="/"&&ye!="\\"){De=Jn;continue}break;case Jn:if(ye=="@"){Ct&&(Re="%40"+Re),Ct=!0,qt=C(Re);for(var Sl=0;Sl<qt.length;Sl++){var ku=qt[Sl];if(ku==":"&&!rn){rn=!0;continue}var Tl=de(ku,B);rn?b.password+=Tl:b.username+=Tl}Re=""}else if(ye==st||ye=="/"||ye=="?"||ye=="#"||ye=="\\"&&ee(b)){if(Ct&&Re=="")return le;Oe-=C(Re).length+1,Re="",De=$n}else Re+=ye;break;case $n:case zn:if(Q&&b.scheme=="file"){De=Ae;continue}else if(ye==":"&&!Yt){if(Re=="")return xe;if(ei=nt(b,Re),ei)return ei;if(Re="",De=an,Q==zn)return}else if(ye==st||ye=="/"||ye=="?"||ye=="#"||ye=="\\"&&ee(b)){if(ee(b)&&Re=="")return xe;if(Q&&Re==""&&(Te(b)||b.port!==null))return;if(ei=nt(b,Re),ei)return ei;if(Re="",De=Ii,Q)return;continue}else ye=="["?Yt=!0:ye=="]"&&(Yt=!1),Re+=ye;break;case an:if(Me.test(ye))Re+=ye;else if(ye==st||ye=="/"||ye=="?"||ye=="#"||ye=="\\"&&ee(b)||Q){if(Re!=""){var ea=parseInt(Re,10);if(ea>65535)return Y;b.port=ee(b)&&ea===J[b.scheme]?null:ea,Re=""}if(Q)return;De=Ii;continue}else return Y;break;case Ve:if(b.scheme="file",ye=="/"||ye=="\\")De=wr;else if(ue&&ue.scheme=="file")if(ye==st)b.host=ue.host,b.path=ue.path.slice(),b.query=ue.query;else if(ye=="?")b.host=ue.host,b.path=ue.path.slice(),b.query="",De=mn;else if(ye=="#")b.host=ue.host,b.path=ue.path.slice(),b.query=ue.query,b.fragment="",De=rt;else{vt(Nn.slice(Oe).join(""))||(b.host=ue.host,b.path=ue.path.slice(),wn(b)),De=cr;continue}else{De=cr;continue}break;case wr:if(ye=="/"||ye=="\\"){De=Ae;break}ue&&ue.scheme=="file"&&!vt(Nn.slice(Oe).join(""))&&(It(ue.path[0],!0)?b.path.push(ue.path[0]):b.host=ue.host),De=cr;continue;case Ae:if(ye==st||ye=="/"||ye=="\\"||ye=="?"||ye=="#"){if(!Q&&It(Re))De=cr;else if(Re==""){if(b.host="",Q)return;De=Ii}else{if(ei=nt(b,Re),ei)return ei;if(b.host=="localhost"&&(b.host=""),Q)return;Re="",De=Ii}continue}else Re+=ye;break;case Ii:if(ee(b)){if(De=cr,ye!="/"&&ye!="\\")continue}else if(!Q&&ye=="?")b.query="",De=mn;else if(!Q&&ye=="#")b.fragment="",De=rt;else if(ye!=st&&(De=cr,ye!="/"))continue;break;case cr:if(ye==st||ye=="/"||ye=="\\"&&ee(b)||!Q&&(ye=="?"||ye=="#")){if(dt(Re)?(wn(b),ye!="/"&&!(ye=="\\"&&ee(b))&&b.path.push("")):hn(Re)?ye!="/"&&!(ye=="\\"&&ee(b))&&b.path.push(""):(b.scheme=="file"&&!b.path.length&&It(Re)&&(b.host&&(b.host=""),Re=Re.charAt(0)+":"),b.path.push(Re)),Re="",b.scheme=="file"&&(ye==st||ye=="?"||ye=="#"))for(;b.path.length>1&&b.path[0]==="";)b.path.shift();ye=="?"?(b.query="",De=mn):ye=="#"&&(b.fragment="",De=rt)}else Re+=de(ye,U);break;case Xn:ye=="?"?(b.query="",De=mn):ye=="#"?(b.fragment="",De=rt):ye!=st&&(b.path[0]+=de(ye,M));break;case mn:!Q&&ye=="#"?(b.fragment="",De=rt):ye!=st&&(ye=="'"&&ee(b)?b.query+="%27":ye=="#"?b.query+="%23":b.query+=de(ye,M));break;case rt:ye!=st&&(b.fragment+=de(ye,R));break}Oe++}},mt=function(W){var Q=v(this,mt,"URL"),ue=arguments.length>1?arguments[1]:void 0,De=String(W),Oe=z(Q,{type:"URL"}),Re,Ct;if(ue!==void 0){if(ue instanceof mt)Re=H(ue);else if(Ct=Gn(Re={},String(ue)),Ct)throw TypeError(Ct)}if(Ct=Gn(Oe,De,null,Re),Ct)throw TypeError(Ct);var Yt=Oe.searchParams=new ie,rn=V(Yt);rn.updateSearchParams(Oe.query),rn.updateURL=function(){Oe.query=String(Yt)||null},l||(Q.href=k.call(Q),Q.origin=T.call(Q),Q.protocol=A.call(Q),Q.username=_.call(Q),Q.password=D.call(Q),Q.host=I.call(Q),Q.hostname=F.call(Q),Q.port=G.call(Q),Q.pathname=q.call(Q),Q.search=ge.call(Q),Q.searchParams=we.call(Q),Q.hash=ce.call(Q))},N=mt.prototype,k=function(){var b=H(this),W=b.scheme,Q=b.username,ue=b.password,De=b.host,Oe=b.port,Re=b.path,Ct=b.query,Yt=b.fragment,rn=W+":";return De!==null?(rn+="//",Te(b)&&(rn+=Q+(ue?":"+ue:"")+"@"),rn+=Je(De),Oe!==null&&(rn+=":"+Oe)):W=="file"&&(rn+="//"),rn+=b.cannotBeABaseURL?Re[0]:Re.length?"/"+Re.join("/"):"",Ct!==null&&(rn+="?"+Ct),Yt!==null&&(rn+="#"+Yt),rn},T=function(){var b=H(this),W=b.scheme,Q=b.port;if(W=="blob")try{return new URL(W.path[0]).origin}catch(ue){return"null"}return W=="file"||!ee(b)?"null":W+"://"+Je(b.host)+(Q!==null?":"+Q:"")},A=function(){return H(this).scheme+":"},_=function(){return H(this).username},D=function(){return H(this).password},I=function(){var b=H(this),W=b.host,Q=b.port;return W===null?"":Q===null?Je(W):Je(W)+":"+Q},F=function(){var b=H(this).host;return b===null?"":Je(b)},G=function(){var b=H(this).port;return b===null?"":String(b)},q=function(){var b=H(this),W=b.path;
3return b.cannotBeABaseURL?W[0]:W.length?"/"+W.join("/"):""},ge=function(){var b=H(this).query;return b?"?"+b:""},we=function(){return H(this).searchParams},ce=function(){var b=H(this).fragment;return b?"#"+b:""},ke=function(b,W){return{get:b,set:W,configurable:!0,enumerable:!0}};if(l&&h(N,{href:ke(k,function(b){var W=H(this),Q=String(b),ue=Gn(W,Q);if(ue)throw TypeError(ue);V(W.searchParams).updateSearchParams(W.query)}),origin:ke(T),protocol:ke(A,function(b){var W=H(this);Gn(W,String(b)+":",Le)}),username:ke(_,function(b){var W=H(this),Q=C(String(b));if(!Ne(W)){W.username="";for(var ue=0;ue<Q.length;ue++)W.username+=de(Q[ue],B)}}),password:ke(D,function(b){var W=H(this),Q=C(String(b));if(!Ne(W)){W.password="";for(var ue=0;ue<Q.length;ue++)W.password+=de(Q[ue],B)}}),host:ke(I,function(b){var W=H(this);W.cannotBeABaseURL||Gn(W,String(b),$n)}),hostname:ke(F,function(b){var W=H(this);W.cannotBeABaseURL||Gn(W,String(b),zn)}),port:ke(G,function(b){var W=H(this);Ne(W)||(b=String(b),b==""?W.port=null:Gn(W,b,an))}),pathname:ke(q,function(b){var W=H(this);W.cannotBeABaseURL||(W.path=[],Gn(W,b+"",Ii))}),search:ke(ge,function(b){var W=H(this);b=String(b),b==""?W.query=null:(b.charAt(0)=="?"&&(b=b.slice(1)),W.query="",Gn(W,b,mn)),V(W.searchParams).updateSearchParams(W.query)}),searchParams:ke(we),hash:ke(ce,function(b){var W=H(this);if(b=String(b),b==""){W.fragment=null;return}b.charAt(0)=="#"&&(b=b.slice(1)),W.fragment="",Gn(W,b,rt)})}),m(N,"toJSON",function(){return k.call(this)},{enumerable:!0}),m(N,"toString",function(){return k.call(this)},{enumerable:!0}),L){var jt=L.createObjectURL,it=L.revokeObjectURL;jt&&m(mt,"createObjectURL",function(W){return jt.apply(L,arguments)}),it&&m(mt,"revokeObjectURL",function(W){return it.apply(L,arguments)})}j(mt,"URL"),a({global:!0,forced:!u,sham:!l},{URL:mt})})},n={};function e(i){if(n[i])return n[i].exports;var o=n[i]={exports:{}};return t[i](o,o.exports,e),o.exports}(function(){e.d=function(i,o){for(var s in o)e.o(o,s)&&!e.o(i,s)&&Object.defineProperty(i,s,{enumerable:!0,get:o[s]})}})(),(function(){e.g=(function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(i){if(typeof window=="object")return window}})()})(),(function(){e.o=function(i,o){return Object.prototype.hasOwnProperty.call(i,o)}})(),(function(){e.r=function(i){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})}})();var r={};return(function(){"use strict";e.r(r),e.d(r,{Dropzone:function(){return Ve},default:function(){return mt}});var i=e(2222),o=e(7327),s=e(2772),a=e(6992),l=e(1249),u=e(7042),f=e(561),h=e(8264),m=e(8309),v=e(489),y=e(1539),w=e(4916),C=e(9714),S=e(8783),x=e(4723),j=e(5306),P=e(3123),Z=e(3210),L=e(2472),ie=e(2990),V=e(8927),z=e(3105),H=e(5035),K=e(4345),oe=e(7174),le=e(2846),me=e(4731),xe=e(7209),Y=e(6319),ne=e(8867),se=e(7789),Me=e(3739),je=e(9368),ze=e(4483),We=e(2056),X=e(3462),Pe=e(678),$e=e(7462),Ue=e(3824),Be=e(5021),st=e(2974),nt=e(5016),tn=e(4747),Lt=e(3948),nn=e(285);function Je(N,k){var T;if(typeof Symbol>"u"||N[Symbol.iterator]==null){if(Array.isArray(N)||(T=M(N))||k&&N&&typeof N.length=="number"){T&&(N=T);var A=0,_=function(){};return{s:_,n:function(){return A>=N.length?{done:!0}:{done:!1,value:N[A++]}},e:function(q){throw q},f:_}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
4In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var D=!0,I=!1,F;return{s:function(){T=N[Symbol.iterator]()},n:function(){var q=T.next();return D=q.done,q},e:function(q){I=!0,F=q},f:function(){try{!D&&T.return!=null&&T.return()}finally{if(I)throw F}}}}function M(N,k){if(N){if(typeof N=="string")return R(N,k);var T=Object.prototype.toString.call(N).slice(8,-1);if(T==="Object"&&N.constructor&&(T=N.constructor.name),T==="Map"||T==="Set")return Array.from(N);if(T==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(T))return R(N,k)}}function R(N,k){(k==null||k>N.length)&&(k=N.length);for(var T=0,A=new Array(k);T<k;T++)A[T]=N[T];return A}function U(N,k){if(!(N instanceof k))throw new TypeError("Cannot call a class as a function")}function B(N,k){for(var T=0;T<k.length;T++){var A=k[T];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(N,A.key,A)}}function de(N,k,T){return k&&B(N.prototype,k),T&&B(N,T),N}var J=(function(){function N(){U(this,N)}return de(N,[{key:"on",value:function(T,A){return this._callbacks=this._callbacks||{},this._callbacks[T]||(this._callbacks[T]=[]),this._callbacks[T].push(A),this}},{key:"emit",value:function(T){this._callbacks=this._callbacks||{};for(var A=this._callbacks[T],_=arguments.length,D=new Array(_>1?_-1:0),I=1;I<_;I++)D[I-1]=arguments[I];if(A){var F=Je(A,!0),G;try{for(F.s();!(G=F.n()).done;){var q=G.value;q.apply(this,D)}}catch(ge){F.e(ge)}finally{F.f()}}return this.element&&this.element.dispatchEvent(this.makeEvent("dropzone:"+T,{args:D})),this}},{key:"makeEvent",value:function(T,A){var _={bubbles:!0,cancelable:!0,detail:A};if(typeof window.CustomEvent=="function")return new CustomEvent(T,_);var D=document.createEvent("CustomEvent");return D.initCustomEvent(T,_.bubbles,_.cancelable,_.detail),D}},{key:"off",value:function(T,A){if(!this._callbacks||arguments.length===0)return this._callbacks={},this;var _=this._callbacks[T];if(!_)return this;if(arguments.length===1)return delete this._callbacks[T],this;for(var D=0;D<_.length;D++){var I=_[D];if(I===A){_.splice(D,1);break}}return this}}]),N})(),ee='<div class="dz-preview dz-file-preview"> <div class="dz-image"><img data-dz-thumbnail/></div> <div class="dz-details"> <div class="dz-size"><span data-dz-size></span></div> <div class="dz-filename"><span data-dz-name></span></div> </div> <div class="dz-progress"> <span class="dz-upload" data-dz-uploadprogress></span> </div> <div class="dz-error-message"><span data-dz-errormessage></span></div> <div class="dz-success-mark"> <svg width="54px" height="54px" viewBox="0 0 54 54" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Check</title> <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <path d="M23.5,31.8431458 L17.5852419,25.9283877 C16.0248253,24.3679711 13.4910294,24.366835 11.9289322,25.9289322 C10.3700136,27.4878508 10.3665912,30.0234455 11.9283877,31.5852419 L20.4147581,40.0716123 C20.5133999,40.1702541 20.6159315,40.2626649 20.7218615,40.3488435 C22.2835669,41.8725651 24.794234,41.8626202 26.3461564,40.3106978 L43.3106978,23.3461564 C44.8771021,21.7797521 44.8758057,19.2483887 43.3137085,17.6862915 C41.7547899,16.1273729 39.2176035,16.1255422 37.6538436,17.6893022 L23.5,31.8431458 Z M27,53 C41.3594035,53 53,41.3594035 53,27 C53,12.6405965 41.3594035,1 27,1 C12.6405965,1 1,12.6405965 1,27 C1,41.3594035 12.6405965,53 27,53 Z" stroke-opacity="0.198794158" stroke="#747474" fill-opacity="0.816519475" fill="#FFFFFF"></path> </g> </svg> </div> <div class="dz-error-mark"> <svg width="54px" height="54px" viewBox="0 0 54 54" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Error</title> <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <g stroke="#747474" stroke-opacity="0.198794158" fill="#FFFFFF" fill-opacity="0.816519475"> <path d="M32.6568542,29 L38.3106978,23.3461564 C39.8771021,21.7797521 39.8758057,19.2483887 38.3137085,17.6862915 C36.7547899,16.1273729 34.2176035,16.1255422 32.6538436,17.6893022 L27,23.3431458 L21.3461564,17.6893022 C19.7823965,16.1255422 17.2452101,16.1273729 15.6862915,17.6862915 C14.1241943,19.2483887 14.1228979,21.7797521 15.6893022,23.3461564 L21.3431458,29 L15.6893022,34.6538436 C14.1228979,36.2202479 14.1241943,38.7516113 15.6862915,40.3137085 C17.2452101,41.8726271 19.7823965,41.8744578 21.3461564,40.3106978 L27,34.6568542 L32.6538436,40.3106978 C34.2176035,41.8744578 36.7547899,41.8726271 38.3137085,40.3137085 C39.8758057,38.7516113 39.8771021,36.2202479 38.3106978,34.6538436 L32.6568542,29 Z M27,53 C41.3594035,53 53,41.3594035 53,27 C53,12.6405965 41.3594035,1 27,1 C12.6405965,1 1,12.6405965 1,27 C1,41.3594035 12.6405965,53 27,53 Z"></path> </g> </g> </svg> </div> </div> ',Te=ee;function Ne(N,k){var T;if(typeof Symbol>"u"||N[Symbol.iterator]==null){if(Array.isArray(N)||(T=It(N))||k&&N&&typeof N.length=="number"){T&&(N=T);var A=0,_=function(){};return{s:_,n:function(){return A>=N.length?{done:!0}:{done:!1,value:N[A++]}},e:function(q){throw q},f:_}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
5In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var D=!0,I=!1,F;return{s:function(){T=N[Symbol.iterator]()},n:function(){var q=T.next();return D=q.done,q},e:function(q){I=!0,F=q},f:function(){try{!D&&T.return!=null&&T.return()}finally{if(I)throw F}}}}function It(N,k){if(N){if(typeof N=="string")return vt(N,k);var T=Object.prototype.toString.call(N).slice(8,-1);
5if(T==="Object"&&N.constructor&&(T=N.constructor.name),T==="Map"||T==="Set")return Array.from(N);if(T==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(T))return vt(N,k)}}function vt(N,k){(k==null||k>N.length)&&(k=N.length);for(var T=0,A=new Array(k);T<k;T++)A[T]=N[T];return A}var wn={url:null,method:"post",withCredentials:!1,timeout:null,parallelUploads:2,uploadMultiple:!1,chunking:!1,forceChunking:!1,chunkSize:2e6,parallelChunkUploads:!1,retryChunks:!1,retryChunksLimit:3,maxFilesize:256,paramName:"file",createImageThumbnails:!0,maxThumbnailFilesize:10,thumbnailWidth:120,thumbnailHeight:120,thumbnailMethod:"crop",resizeWidth:null,resizeHeight:null,resizeMimeType:null,resizeQuality:.8,resizeMethod:"contain",filesizeBase:1e3,maxFiles:null,headers:null,clickable:!0,ignoreHiddenFiles:!0,acceptedFiles:null,acceptedMimeTypes:null,autoProcessQueue:!0,autoQueue:!0,addRemoveLinks:!1,previewsContainer:null,disablePreviews:!1,hiddenInputContainer:"body",capture:null,renameFilename:null,renameFile:null,forceFallback:!1,dictDefaultMessage:"Drop files here to upload",dictFallbackMessage:"Your browser does not support drag'n'drop file uploads.",dictFallbackText:"Please use the fallback form below to upload your files like in the olden days.",dictFileTooBig:"File is too big ({{filesize}}MiB). Max filesize: {{maxFilesize}}MiB.",dictInvalidFileType:"You can't upload files of this type.",dictResponseError:"Server responded with {{statusCode}} code.",dictCancelUpload:"Cancel upload",dictUploadCanceled:"Upload canceled.",dictCancelUploadConfirmation:"Are you sure you want to cancel this upload?",dictRemoveFile:"Remove file",dictRemoveFileConfirmation:null,dictMaxFilesExceeded:"You can not upload any more files.",dictFileSizeUnits:{tb:"TB",gb:"GB",mb:"MB",kb:"KB",b:"b"},init:function(){},params:function(k,T,A){if(A)return{dzuuid:A.file.upload.uuid,dzchunkindex:A.index,dztotalfilesize:A.file.size,dzchunksize:this.options.chunkSize,dztotalchunkcount:A.file.upload.totalChunkCount,dzchunkbyteoffset:A.index*this.options.chunkSize}},accept:function(k,T){return T()},chunksUploaded:function(k,T){T()},fallback:function(){var k;this.element.className="".concat(this.element.className," dz-browser-not-supported");var T=Ne(this.element.getElementsByTagName("div"),!0),A;try{for(T.s();!(A=T.n()).done;){var _=A.value;if(/(^| )dz-message($| )/.test(_.className)){k=_,_.className="dz-message";break}}}catch(I){T.e(I)}finally{T.f()}k||(k=Ve.createElement('<div class="dz-message"><span></span></div>'),this.element.appendChild(k));var D=k.getElementsByTagName("span")[0];return D&&(D.textContent!=null?D.textContent=this.options.dictFallbackMessage:D.innerText!=null&&(D.innerText=this.options.dictFallbackMessage)),this.element.appendChild(this.getFallbackForm())},resize:function(k,T,A,_){var D={srcX:0,srcY:0,srcWidth:k.width,srcHeight:k.height},I=k.width/k.height;T==null&&A==null?(T=D.srcWidth,A=D.srcHeight):T==null?T=A*I:A==null&&(A=T/I),T=Math.min(T,D.srcWidth),A=Math.min(A,D.srcHeight);var F=T/A;if(D.srcWidth>T||D.srcHeight>A)if(_==="crop")I>F?(D.srcHeight=k.height,D.srcWidth=D.srcHeight*F):(D.srcWidth=k.width,D.srcHeight=D.srcWidth/F);else if(_==="contain")I>F?A=T/I:T=A*I;else throw new Error("Unknown resizeMethod '".concat(_,"'"));return D.srcX=(k.width-D.srcWidth)/2,D.srcY=(k.height-D.srcHeight)/2,D.trgWidth=T,D.trgHeight=A,D},transformFile:function(k,T){return(this.options.resizeWidth||this.options.resizeHeight)&&k.type.match(/image.*/)?this.resizeImage(k,this.options.resizeWidth,this.options.resizeHeight,this.options.resizeMethod,T):T(k)},previewTemplate:Te,drop:function(k){return this.element.classList.remove("dz-drag-hover")},dragstart:function(k){},dragend:function(k){return this.element.classList.remove("dz-drag-hover")},dragenter:function(k){return this.element.classList.add("dz-drag-hover")},dragover:function(k){return this.element.classList.add("dz-drag-hover")},dragleave:function(k){return this.element.classList.remove("dz-drag-hover")},paste:function(k){},reset:function(){return this.element.classList.remove("dz-started")},addedfile:function(k){var T=this;if(this.element===this.previewsContainer&&this.element.classList.add("dz-started"),this.previewsContainer&&!this.options.disablePreviews){k.previewElement=Ve.createElement(this.options.previewTemplate.trim()),k.previewTemplate=k.previewElement,this.previewsContainer.appendChild(k.previewElement);var A=Ne(k.previewElement.querySelectorAll("[data-dz-name]"),!0),_;try{for(A.s();!(_=A.n()).done;){var D=_.value;D.textContent=k.name}}catch(ce){A.e(ce)}finally{A.f()}var I=Ne(k.previewElement.querySelectorAll("[data-dz-size]"),!0),F;try{for(I.s();!(F=I.n()).done;)D=F.value,D.innerHTML=this.filesize(k.size)}catch(ce){I.e(ce)}finally{I.f()}this.options.addRemoveLinks&&(k._removeLink=Ve.createElement('<a class="dz-remove" href="javascript:undefined;" data-dz-remove>'.concat(this.options.dictRemoveFile,"</a>")),k.previewElement.appendChild(k._removeLink));var G=function(ke){return ke.preventDefault(),ke.stopPropagation(),k.status===Ve.UPLOADING?Ve.confirm(T.options.dictCancelUploadConfirmation,function(){return T.removeFile(k)}):T.options.dictRemoveFileConfirmation?Ve.confirm(T.options.dictRemoveFileConfirmation,function(){return T.removeFile(k)}):T.removeFile(k)},q=Ne(k.previewElement.querySelectorAll("[data-dz-remove]"),!0),ge;try{for(q.s();!(ge=q.n()).done;){var we=ge.value;we.addEventListener("click",G)}}catch(ce){q.e(ce)}finally{q.f()}}},removedfile:function(k){return k.previewElement!=null&&k.previewElement.parentNode!=null&&k.previewElement.parentNode.removeChild(k.previewElement),this._updateMaxFilesReachedClass()},thumbnail:function(k,T){if(k.previewElement){k.previewElement.classList.remove("dz-file-preview");var A=Ne(k.previewElement.querySelectorAll("[data-dz-thumbnail]"),!0),_;try{for(A.s();!(_=A.n()).done;){var D=_.value;D.alt=k.name,D.src=T}}catch(I){A.e(I)}finally{A.f()}return setTimeout(function(){return k.previewElement.classList.add("dz-image-preview")},1)}},error:function(k,T){if(k.previewElement){k.previewElement.classList.add("dz-error"),typeof T!="string"&&T.error&&(T=T.error);var A=Ne(k.previewElement.querySelectorAll("[data-dz-errormessage]"),!0),_;try{for(A.s();!(_=A.n()).done;){var D=_.value;D.textContent=T}}catch(I){A.e(I)}finally{A.f()}}},errormultiple:function(){},processing:function(k){if(k.previewElement&&(k.previewElement.classList.add("dz-processing"),k._removeLink))return k._removeLink.innerHTML=this.options.dictCancelUpload},processingmultiple:function(){},uploadprogress:function(k,T,A){if(k.previewElement){var _=Ne(k.previewElement.querySelectorAll("[data-dz-uploadprogress]"),!0),D;try{for(_.s();!(D=_.n()).done;){var I=D.value;I.nodeName==="PROGRESS"?I.value=T:I.style.width="".concat(T,"%")}}
5catch(F){_.e(F)}finally{_.f()}}},totaluploadprogress:function(){},sending:function(){},sendingmultiple:function(){},success:function(k){if(k.previewElement)return k.previewElement.classList.add("dz-success")},successmultiple:function(){},canceled:function(k){return this.emit("error",k,this.options.dictUploadCanceled)},canceledmultiple:function(){},complete:function(k){if(k._removeLink&&(k._removeLink.innerHTML=this.options.dictRemoveFile),k.previewElement)return k.previewElement.classList.add("dz-complete")},completemultiple:function(){},maxfilesexceeded:function(){},maxfilesreached:function(){},queuecomplete:function(){},addedfiles:function(){}},hn=wn;function dt(N){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?dt=function(T){return typeof T}:dt=function(T){return T&&typeof Symbol=="function"&&T.constructor===Symbol&&T!==Symbol.prototype?"symbol":typeof T},dt(N)}function Le(N,k){var T;if(typeof Symbol>"u"||N[Symbol.iterator]==null){if(Array.isArray(N)||(T=jr(N))||k&&N&&typeof N.length=="number"){T&&(N=T);var A=0,_=function(){};return{s:_,n:function(){return A>=N.length?{done:!0}:{done:!1,value:N[A++]}},e:function(q){throw q},f:_}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
6In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var D=!0,I=!1,F;return{s:function(){T=N[Symbol.iterator]()},n:function(){var q=T.next();return D=q.done,q},e:function(q){I=!0,F=q},f:function(){try{!D&&T.return!=null&&T.return()}finally{if(I)throw F}}}}function jr(N,k){if(N){if(typeof N=="string")return Fn(N,k);var T=Object.prototype.toString.call(N).slice(8,-1);if(T==="Object"&&N.constructor&&(T=N.constructor.name),T==="Map"||T==="Set")return Array.from(N);if(T==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(T))return Fn(N,k)}}function Fn(N,k){(k==null||k>N.length)&&(k=N.length);for(var T=0,A=new Array(k);T<k;T++)A[T]=N[T];return A}function Vr(N,k){if(!(N instanceof k))throw new TypeError("Cannot call a class as a function")}function Xr(N,k){for(var T=0;T<k.length;T++){var A=k[T];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(N,A.key,A)}}function Wt(N,k,T){return k&&Xr(N.prototype,k),T&&Xr(N,T),N}function pt(N,k){if(typeof k!="function"&&k!==null)throw new TypeError("Super expression must either be null or a function");N.prototype=Object.create(k&&k.prototype,{constructor:{value:N,writable:!0,configurable:!0}}),k&&$t(N,k)}function $t(N,k){return $t=Object.setPrototypeOf||function(A,_){return A.__proto__=_,A},$t(N,k)}function Pn(N){var k=zn();return function(){var A=an(N),_;if(k){var D=an(this).constructor;_=Reflect.construct(A,arguments,D)}else _=A.apply(this,arguments);return Jn(this,_)}}function Jn(N,k){return k&&(dt(k)==="object"||typeof k=="function")?k:$n(N)}function $n(N){if(N===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return N}function zn(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(N){return!1}}function an(N){return an=Object.setPrototypeOf?Object.getPrototypeOf:function(T){return T.__proto__||Object.getPrototypeOf(T)},an(N)}var Ve=(function(N){pt(T,N);var k=Pn(T);function T(A,_){var D;Vr(this,T),D=k.call(this);var I,F;if(D.element=A,D.version=T.version,D.clickableElements=[],D.listeners=[],D.files=[],typeof D.element=="string"&&(D.element=document.querySelector(D.element)),!D.element||D.element.nodeType==null)throw new Error("Invalid dropzone element.");if(D.element.dropzone)throw new Error("Dropzone already attached.");T.instances.push($n(D)),D.element.dropzone=$n(D);var G=(F=T.optionsForElement(D.element))!=null?F:{};if(D.options=T.extend({},hn,G,_??{}),D.options.previewTemplate=D.options.previewTemplate.replace(/\n*/g,""),D.options.forceFallback||!T.isBrowserSupported())return Jn(D,D.options.fallback.call($n(D)));if(D.options.url==null&&(D.options.url=D.element.getAttribute("action")),!D.options.url)throw new Error("No URL provided.");if(D.options.acceptedFiles&&D.options.acceptedMimeTypes)throw new Error("You can't provide both 'acceptedFiles' and 'acceptedMimeTypes'. 'acceptedMimeTypes' is deprecated.");
6if(D.options.uploadMultiple&&D.options.chunking)throw new Error("You cannot set both: uploadMultiple and chunking.");return D.options.acceptedMimeTypes&&(D.options.acceptedFiles=D.options.acceptedMimeTypes,delete D.options.acceptedMimeTypes),D.options.renameFilename!=null&&(D.options.renameFile=function(q){return D.options.renameFilename.call($n(D),q.name,q)}),typeof D.options.method=="string"&&(D.options.method=D.options.method.toUpperCase()),(I=D.getExistingFallback())&&I.parentNode&&I.parentNode.removeChild(I),D.options.previewsContainer!==!1&&(D.options.previewsContainer?D.previewsContainer=T.getElement(D.options.previewsContainer,"previewsContainer"):D.previewsContainer=D.element),D.options.clickable&&(D.options.clickable===!0?D.clickableElements=[D.element]:D.clickableElements=T.getElements(D.options.clickable,"clickable")),D.init(),D}return Wt(T,[{key:"getAcceptedFiles",value:function(){return this.files.filter(function(_){return _.accepted}).map(function(_){return _})}},{key:"getRejectedFiles",value:function(){return this.files.filter(function(_){return!_.accepted}).map(function(_){return _})}},{key:"getFilesWithStatus",value:function(_){return this.files.filter(function(D){return D.status===_}).map(function(D){return D})}},{key:"getQueuedFiles",value:function(){return this.getFilesWithStatus(T.QUEUED)}},{key:"getUploadingFiles",value:function(){return this.getFilesWithStatus(T.UPLOADING)}},{key:"getAddedFiles",value:function(){return this.getFilesWithStatus(T.ADDED)}},{key:"getActiveFiles",value:function(){return this.files.filter(function(_){return _.status===T.UPLOADING||_.status===T.QUEUED}).map(function(_){return _})}},{key:"init",value:function(){var _=this;if(this.element.tagName==="form"&&this.element.setAttribute("enctype","multipart/form-data"),this.element.classList.contains("dropzone")&&!this.element.querySelector(".dz-message")&&this.element.appendChild(T.createElement('<div class="dz-default dz-message"><button class="dz-button" type="button">'.concat(this.options.dictDefaultMessage,"</button></div>"))),this.clickableElements.length){var D=function we(){_.hiddenFileInput&&_.hiddenFileInput.parentNode.removeChild(_.hiddenFileInput),_.hiddenFileInput=document.createElement("input"),_.hiddenFileInput.setAttribute("type","file"),(_.options.maxFiles===null||_.options.maxFiles>1)&&_.hiddenFileInput.setAttribute("multiple","multiple"),_.hiddenFileInput.className="dz-hidden-input",_.options.acceptedFiles!==null&&_.hiddenFileInput.setAttribute("accept",_.options.acceptedFiles),_.options.capture!==null&&_.hiddenFileInput.setAttribute("capture",_.options.capture),_.hiddenFileInput.setAttribute("tabindex","-1"),_.hiddenFileInput.style.visibility="hidden",_.hiddenFileInput.style.position="absolute",_.hiddenFileInput.style.top="0",_.hiddenFileInput.style.left="0",_.hiddenFileInput.style.height="0",_.hiddenFileInput.style.width="0",T.getElement(_.options.hiddenInputContainer,"hiddenInputContainer").appendChild(_.hiddenFileInput),_.hiddenFileInput.addEventListener("change",function(){var ce=_.hiddenFileInput.files;if(ce.length){var ke=Le(ce,!0),jt;try{for(ke.s();!(jt=ke.n()).done;){var it=jt.value;_.addFile(it)}}catch(b){ke.e(b)}finally{ke.f()}}_.emit("addedfiles",ce),we()})};D()}this.URL=window.URL!==null?window.URL:window.webkitURL;var I=Le(this.events,!0),F;try{for(I.s();!(F=I.n()).done;){var G=F.value;this.on(G,this.options[G])}}catch(we){I.e(we)}finally{I.f()}this.on("uploadprogress",function(){return _.updateTotalUploadProgress()}),this.on("removedfile",function(){return _.updateTotalUploadProgress()}),this.on("canceled",function(we){return _.emit("complete",we)}),this.on("complete",function(we){if(_.getAddedFiles().length===0&&_.getUploadingFiles().length===0&&_.getQueuedFiles().length===0)return setTimeout(function(){return _.emit("queuecomplete")},0)});var q=function(ce){if(ce.dataTransfer.types){for(var ke=0;ke<ce.dataTransfer.types.length;ke++)if(ce.dataTransfer.types[ke]==="Files")return!0}return!1},ge=function(ce){if(q(ce))return ce.stopPropagation(),ce.preventDefault?ce.preventDefault():ce.returnValue=!1};return this.listeners=[{element:this.element,events:{dragstart:function(ce){return _.emit("dragstart",ce)},dragenter:function(ce){return ge(ce),_.emit("dragenter",ce)},dragover:function(ce){var ke;try{ke=ce.dataTransfer.effectAllowed}catch(jt){}return ce.dataTransfer.dropEffect=ke==="move"||ke==="linkMove"?"move":"copy",ge(ce),_.emit("dragover",ce)},dragleave:function(ce){return _.emit("dragleave",ce)},drop:function(ce){return ge(ce),_.drop(ce)},dragend:function(ce){return _.emit("dragend",ce)}}}
6],this.clickableElements.forEach(function(we){return _.listeners.push({element:we,events:{click:function(ke){return(we!==_.element||ke.target===_.element||T.elementInside(ke.target,_.element.querySelector(".dz-message")))&&_.hiddenFileInput.click(),!0}}})}),this.enable(),this.options.init.call(this)}},{key:"destroy",value:function(){return this.disable(),this.removeAllFiles(!0),this.hiddenFileInput!=null&&this.hiddenFileInput.parentNode&&(this.hiddenFileInput.parentNode.removeChild(this.hiddenFileInput),this.hiddenFileInput=null),delete this.element.dropzone,T.instances.splice(T.instances.indexOf(this),1)}},{key:"updateTotalUploadProgress",value:function(){var _,D=0,I=0,F=this.getActiveFiles();if(F.length){var G=Le(this.getActiveFiles(),!0),q;try{for(G.s();!(q=G.n()).done;){var ge=q.value;D+=ge.upload.bytesSent,I+=ge.upload.total}}catch(we){G.e(we)}finally{G.f()}_=100*D/I}else _=100;return this.emit("totaluploadprogress",_,I,D)}},{key:"_getParamName",value:function(_){return typeof this.options.paramName=="function"?this.options.paramName(_):"".concat(this.options.paramName).concat(this.options.uploadMultiple?"[".concat(_,"]"):"")}},{key:"_renameFile",value:function(_){return typeof this.options.renameFile!="function"?_.name:this.options.renameFile(_)}},{key:"getFallbackForm",value:function(){var _,D;if(_=this.getExistingFallback())return _;var I='<div class="dz-fallback">';this.options.dictFallbackText&&(I+="<p>".concat(this.options.dictFallbackText,"</p>")),I+='<input type="file" name="'.concat(this._getParamName(0),'" ').concat(this.options.uploadMultiple?'multiple="multiple"':void 0,' /><input type="submit" value="Upload!"></div>');var F=T.createElement(I);return this.element.tagName!=="FORM"?(D=T.createElement('<form action="'.concat(this.options.url,'" enctype="multipart/form-data" method="').concat(this.options.method,'"></form>')),D.appendChild(F)):(this.element.setAttribute("enctype","multipart/form-data"),this.element.setAttribute("method",this.options.method)),D??F}},{key:"getExistingFallback",value:function(){for(var _=function(ge){var we=Le(ge,!0),ce;try{for(we.s();!(ce=we.n()).done;){var ke=ce.value;if(/(^| )fallback($| )/.test(ke.className))return ke}}catch(jt){we.e(jt)}finally{we.f()}},D=0,I=["div","form"];D<I.length;D++){var F=I[D],G;if(G=_(this.element.getElementsByTagName(F)))return G}}},{key:"setupEventListeners",value:function(){return this.listeners.map(function(_){return(function(){var D=[];for(var I in _.events){var F=_.events[I];D.push(_.element.addEventListener(I,F,!1))}return D})()})}},{key:"removeEventListeners",value:function(){return this.listeners.map(function(_){return(function(){var D=[];for(var I in _.events){var F=_.events[I];D.push(_.element.removeEventListener(I,F,!1))}return D})()})}},{key:"disable",value:function(){var _=this;return this.clickableElements.forEach(function(D){return D.classList.remove("dz-clickable")}),this.removeEventListeners(),this.disabled=!0,this.files.map(function(D){return _.cancelUpload(D)})}},{key:"enable",value:function(){return delete this.disabled,this.clickableElements.forEach(function(_){return _.classList.add("dz-clickable")}),this.setupEventListeners()}},{key:"filesize",value:function(_){var D=0,I="b";if(_>0){for(var F=["tb","gb","mb","kb","b"],G=0;G<F.length;G++){var q=F[G],ge=Math.pow(this.options.filesizeBase,4-G)/10;if(_>=ge){D=_/Math.pow(this.options.filesizeBase,4-G),I=q;break}}D=Math.round(10*D)/10}return"<strong>".concat(D,"</strong> ").concat(this.options.dictFileSizeUnits[I])}},{key:"_updateMaxFilesReachedClass",value:function(){return this.options.maxFiles!=null&&this.getAcceptedFiles().length>=this.options.maxFiles?(this.getAcceptedFiles().length===this.options.maxFiles&&this.emit("maxfilesreached",this.files),this.element.classList.add("dz-max-files-reached")):this.element.classList.remove("dz-max-files-reached")}},{key:"drop",value:function(_){if(_.dataTransfer){this.emit("drop",_);for(var D=[],I=0;I<_.dataTransfer.files.length;I++)D[I]=_.dataTransfer.files[I];if(D.length){var F=_.dataTransfer.items;F&&F.length&&F[0].webkitGetAsEntry!=null?this._addFilesFromItems(F):this.handleFiles(D)}
6this.emit("addedfiles",D)}}},{key:"paste",value:function(_){if(rt(_?.clipboardData,function(I){return I.items})!=null){this.emit("paste",_);var D=_.clipboardData.items;if(D.length)return this._addFilesFromItems(D)}}},{key:"handleFiles",value:function(_){var D=Le(_,!0),I;try{for(D.s();!(I=D.n()).done;){var F=I.value;this.addFile(F)}}catch(G){D.e(G)}finally{D.f()}}},{key:"_addFilesFromItems",value:function(_){var D=this;return(function(){var I=[],F=Le(_,!0),G;try{for(F.s();!(G=F.n()).done;){var q=G.value,ge;q.webkitGetAsEntry!=null&&(ge=q.webkitGetAsEntry())?ge.isFile?I.push(D.addFile(q.getAsFile())):ge.isDirectory?I.push(D._addFilesFromDirectory(ge,ge.name)):I.push(void 0):q.getAsFile!=null&&(q.kind==null||q.kind==="file")?I.push(D.addFile(q.getAsFile())):I.push(void 0)}}catch(we){F.e(we)}finally{F.f()}return I})()}},{key:"_addFilesFromDirectory",value:function(_,D){var I=this,F=_.createReader(),G=function(we){return Gn(console,"log",function(ce){return ce.log(we)})},q=function ge(){return F.readEntries(function(we){if(we.length>0){var ce=Le(we,!0),ke;try{for(ce.s();!(ke=ce.n()).done;){var jt=ke.value;jt.isFile?jt.file(function(it){if(!(I.options.ignoreHiddenFiles&&it.name.substring(0,1)==="."))return it.fullPath="".concat(D,"/").concat(it.name),I.addFile(it)}):jt.isDirectory&&I._addFilesFromDirectory(jt,"".concat(D,"/").concat(jt.name))}}catch(it){ce.e(it)}finally{ce.f()}ge()}return null},G)};return q()}},{key:"accept",value:function(_,D){this.options.maxFilesize&&_.size>this.options.maxFilesize*1024*1024?D(this.options.dictFileTooBig.replace("{{filesize}}",Math.round(_.size/1024/10.24)/100).replace("{{maxFilesize}}",this.options.maxFilesize)):T.isValidFile(_,this.options.acceptedFiles)?this.options.maxFiles!=null&&this.getAcceptedFiles().length>=this.options.maxFiles?(D(this.options.dictMaxFilesExceeded.replace("{{maxFiles}}",this.options.maxFiles)),this.emit("maxfilesexceeded",_)):this.options.accept.call(this,_,D):D(this.options.dictInvalidFileType)}},{key:"addFile",value:function(_){var D=this;_.upload={uuid:T.uuidv4(),progress:0,total:_.size,bytesSent:0,filename:this._renameFile(_)},this.files.push(_),_.status=T.ADDED,this.emit("addedfile",_),this._enqueueThumbnail(_),this.accept(_,function(I){I?(_.accepted=!1,D._errorProcessing([_],I)):(_.accepted=!0,D.options.autoQueue&&D.enqueueFile(_)),D._updateMaxFilesReachedClass()})}},{key:"enqueueFiles",value:function(_){var D=Le(_,!0),I;try{for(D.s();!(I=D.n()).done;){var F=I.value;this.enqueueFile(F)}}catch(G){D.e(G)}finally{D.f()}return null}},{key:"enqueueFile",value:function(_){var D=this;if(_.status===T.ADDED&&_.accepted===!0){if(_.status=T.QUEUED,this.options.autoProcessQueue)return setTimeout(function(){return D.processQueue()},0)}else throw new Error("This file can't be queued because it has already been processed or was rejected.")}},{key:"_enqueueThumbnail",value:function(_){var D=this;if(this.options.createImageThumbnails&&_.type.match(/image.*/)&&_.size<=this.options.maxThumbnailFilesize*1024*1024)return this._thumbnailQueue.push(_),setTimeout(function(){return D._processThumbnailQueue()},0)}},{key:"_processThumbnailQueue",value:function(){var _=this;if(!(this._processingThumbnail||this._thumbnailQueue.length===0)){this._processingThumbnail=!0;var D=this._thumbnailQueue.shift();return this.createThumbnail(D,this.options.thumbnailWidth,this.options.thumbnailHeight,this.options.thumbnailMethod,!0,function(I){return _.emit("thumbnail",D,I),_._processingThumbnail=!1,_._processThumbnailQueue()})}}},{key:"removeFile",value:function(_){if(_.status===T.UPLOADING&&this.cancelUpload(_),this.files=wr(this.files,_),this.emit("removedfile",_),this.files.length===0)return this.emit("reset")}},{key:"removeAllFiles",value:function(_){_==null&&(_=!1);var D=Le(this.files.slice(),!0),I;try{for(D.s();!(I=D.n()).done;){var F=I.value;(F.status!==T.UPLOADING||_)&&this.removeFile(F)}}catch(G){D.e(G)}finally{D.f()}return null}},{key:"resizeImage",value:function(_,D,I,F,G){var q=this;return this.createThumbnail(_,D,I,F,!0,function(ge,we){if(we==null)return G(_);var ce=q.options.resizeMimeType;ce==null&&(ce=_.type);var ke=we.toDataURL(ce,q.options.resizeQuality);return(ce==="image/jpeg"||ce==="image/jpg")&&(ke=Xn.restore(_.dataURL,ke)),G(T.dataURItoBlob(ke))})}},{key:"createThumbnail",value:function(_,D,I,F,G,q){var ge=this,we=new FileReader;we.onload=function(){if(_.dataURL=we.result,_.type==="image/svg+xml"){q?.(we.result);return}ge.createThumbnailFromUrl(_,D,I,F,G,q)}
6,we.readAsDataURL(_)}},{key:"displayExistingFile",value:function(_,D,I,F){var G=this,q=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0;if(this.emit("addedfile",_),this.emit("complete",_),!q)this.emit("thumbnail",_,D),I&&I();else{var ge=function(ce){G.emit("thumbnail",_,ce),I&&I()};_.dataURL=D,this.createThumbnailFromUrl(_,this.options.thumbnailWidth,this.options.thumbnailHeight,this.options.thumbnailMethod,this.options.fixOrientation,ge,F)}}},{key:"createThumbnailFromUrl",value:function(_,D,I,F,G,q,ge){var we=this,ce=document.createElement("img");return ge&&(ce.crossOrigin=ge),G=getComputedStyle(document.body).imageOrientation=="from-image"?!1:G,ce.onload=function(){var ke=function(it){return it(1)};return typeof EXIF<"u"&&EXIF!==null&&G&&(ke=function(it){return EXIF.getData(ce,function(){return it(EXIF.getTag(this,"Orientation"))})}),ke(function(jt){_.width=ce.width,_.height=ce.height;var it=we.options.resize.call(we,_,D,I,F),b=document.createElement("canvas"),W=b.getContext("2d");switch(b.width=it.trgWidth,b.height=it.trgHeight,jt>4&&(b.width=it.trgHeight,b.height=it.trgWidth),jt){case 2:W.translate(b.width,0),W.scale(-1,1);break;case 3:W.translate(b.width,b.height),W.rotate(Math.PI);break;case 4:W.translate(0,b.height),W.scale(1,-1);break;case 5:W.rotate(.5*Math.PI),W.scale(1,-1);break;case 6:W.rotate(.5*Math.PI),W.translate(0,-b.width);break;case 7:W.rotate(.5*Math.PI),W.translate(b.height,-b.width),W.scale(-1,1);break;case 8:W.rotate(-.5*Math.PI),W.translate(-b.height,0);break}cr(W,ce,it.srcX!=null?it.srcX:0,it.srcY!=null?it.srcY:0,it.srcWidth,it.srcHeight,it.trgX!=null?it.trgX:0,it.trgY!=null?it.trgY:0,it.trgWidth,it.trgHeight);var Q=b.toDataURL("image/png");if(q!=null)return q(Q,b)})},q!=null&&(ce.onerror=q),ce.src=_.dataURL}},{key:"processQueue",value:function(){var _=this.options.parallelUploads,D=this.getUploadingFiles().length,I=D;if(!(D>=_)){var F=this.getQueuedFiles();if(F.length>0){if(this.options.uploadMultiple)return this.processFiles(F.slice(0,_-D));for(;I<_;){if(!F.length)return;this.processFile(F.shift()),I++}}}}},{key:"processFile",value:function(_){return this.processFiles([_])}},{key:"processFiles",value:function(_){var D=Le(_,!0),I;try{for(D.s();!(I=D.n()).done;){var F=I.value;F.processing=!0,F.status=T.UPLOADING,this.emit("processing",F)}}catch(G){D.e(G)}finally{D.f()}return this.options.uploadMultiple&&this.emit("processingmultiple",_),this.uploadFiles(_)}},{key:"_getFilesWithXhr",value:function(_){var D;return D=this.files.filter(function(I){return I.xhr===_}).map(function(I){return I})}},{key:"cancelUpload",value:function(_){if(_.status===T.UPLOADING){var D=this._getFilesWithXhr(_.xhr),I=Le(D,!0),F;try{for(I.s();!(F=I.n()).done;){var G=F.value;G.status=T.CANCELED}}catch(ce){I.e(ce)}finally{I.f()}typeof _.xhr<"u"&&_.xhr.abort();var q=Le(D,!0),ge;try{for(q.s();!(ge=q.n()).done;){var we=ge.value;this.emit("canceled",we)}}catch(ce){q.e(ce)}finally{q.f()}this.options.uploadMultiple&&this.emit("canceledmultiple",D)}else(_.status===T.ADDED||_.status===T.QUEUED)&&(_.status=T.CANCELED,this.emit("canceled",_),this.options.uploadMultiple&&this.emit("canceledmultiple",[_]));if(this.options.autoProcessQueue)return this.processQueue()}},{key:"resolveOption",value:function(_){if(typeof _=="function"){for(var D=arguments.length,I=new Array(D>1?D-1:0),F=1;F<D;F++)I[F-1]=arguments[F];return _.apply(this,I)}return _}},{key:"uploadFile",value:function(_){return this.uploadFiles([_])}},{key:"uploadFiles",value:function(_){var D=this;this._transformFiles(_,function(I){if(D.options.chunking){var F=I[0];_[0].upload.chunked=D.options.chunking&&(D.options.forceChunking||F.size>D.options.chunkSize),_[0].upload.totalChunkCount=Math.ceil(F.size/D.options.chunkSize)}if(_[0].upload.chunked){var G=_[0],q=I[0],ge=0;G.upload.chunks=[];var we=function(){for(var b=0;G.upload.chunks[b]!==void 0;)b++;if(!(b>=G.upload.totalChunkCount)){ge++;var W=b*D.options.chunkSize,Q=Math.min(W+D.options.chunkSize,q.size),ue={name:D._getParamName(0),data:q.webkitSlice?q.webkitSlice(W,Q):q.slice(W,Q),filename:G.upload.filename,chunkIndex:b};G.upload.chunks[b]={file:G,index:b,dataBlock:ue,status:T.UPLOADING,progress:0,retries:0},D._uploadData(_,[ue])}};if(G.upload.finishedChunkUpload=function(it,b){var W=!0;it.status=T.SUCCESS,it.dataBlock=null,it.xhr=null;for(var Q=0;Q<G.upload.totalChunkCount;Q++){if(G.upload.chunks[Q]===void 0)return we();G.upload.chunks[Q].status!==T.SUCCESS&&(W=!1)}W&&D.options.chunksUploaded(G,function(){D._finished(_,b,null)})},D.options.parallelChunkUploads)for(var ce=0;ce<G.upload.totalChunkCount;ce++)we();else we()}else{for(var ke=[],jt=0;jt<_.length;jt++)ke[jt]={name:D._getParamName(jt),data:I[jt],filename:_[jt].upload.filename};D._uploadData(_,ke)}})}},{key:"_getChunk",value:function(_,D){for(var I=0;I<_.upload.totalChunkCount;I++)if(_.upload.chunks[I]!==void 0&&_.upload.chunks[I].xhr===D)return _.upload.chunks[I]}},{key:"_uploadData",value:function(_,D){var I=this,F=new XMLHttpRequest,G=Le(_,!0),q;try{for(G.s();!(q=G.n()).done;){var ge=q.value;ge.xhr=F}}catch(qt){G.e(qt)}finally{G.f()}_[0].upload.chunked&&(_[0].upload.chunks[D[0].chunkIndex].xhr=F);var we=this.resolveOption(this.options.method,_),ce=this.resolveOption(this.options.url,_);F.open(we,ce,!0);var ke=this.resolveOption(this.options.timeout,_);ke&&(F.timeout=this.resolveOption(this.options.timeout,_)),F.withCredentials=!!this.options.withCredentials,F.onload=function(qt){I._finishedUploading(_,F,qt)},F.ontimeout=function(){I._handleUploadError(_,F,"Request timedout after ".concat(I.options.timeout/1e3," seconds"))},F.onerror=function(){I._handleUploadError(_,F)};var jt=F.upload!=null?F.upload:F;jt.onprogress=function(qt){return I._updateFilesUploadProgress(_,F,qt)};var it={Accept:"application/json","Cache-Control":"no-cache","X-Requested-With":"XMLHttpRequest"};this.options.headers&&T.extend(it,this.options.headers);for(var b in it){var W=it[b];W&&F.setRequestHeader(b,W)}var Q=new FormData;if(this.options.params){var ue=this.options.params;typeof ue=="function"&&(ue=ue.call(this,_,F,_[0].upload.chunked?this._getChunk(_[0],F):null));for(var De in ue){var Oe=ue[De];if(Array.isArray(Oe))for(var Re=0;Re<Oe.length;Re++)Q.append(De,Oe[Re]);else Q.append(De,Oe)}}var Ct=Le(_,!0),Yt;try{for(Ct.s();!(Yt=Ct.n()).done;
6){var rn=Yt.value;this.emit("sending",rn,F,Q)}}catch(qt){Ct.e(qt)}finally{Ct.f()}this.options.uploadMultiple&&this.emit("sendingmultiple",_,F,Q),this._addFormElementData(Q);for(var Nn=0;Nn<D.length;Nn++){var ye=D[Nn];Q.append(ye.name,ye.data,ye.filename)}this.submitRequest(F,Q,_)}},{key:"_transformFiles",value:function(_,D){for(var I=this,F=[],G=0,q=function(ce){I.options.transformFile.call(I,_[ce],function(ke){F[ce]=ke,++G===_.length&&D(F)})},ge=0;ge<_.length;ge++)q(ge)}},{key:"_addFormElementData",value:function(_){if(this.element.tagName==="FORM"){var D=Le(this.element.querySelectorAll("input, textarea, select, button"),!0),I;try{for(D.s();!(I=D.n()).done;){var F=I.value,G=F.getAttribute("name"),q=F.getAttribute("type");if(q&&(q=q.toLowerCase()),!(typeof G>"u"||G===null))if(F.tagName==="SELECT"&&F.hasAttribute("multiple")){var ge=Le(F.options,!0),we;try{for(ge.s();!(we=ge.n()).done;){var ce=we.value;ce.selected&&_.append(G,ce.value)}}catch(ke){ge.e(ke)}finally{ge.f()}}else(!q||q!=="checkbox"&&q!=="radio"||F.checked)&&_.append(G,F.value)}}catch(ke){D.e(ke)}finally{D.f()}}}},{key:"_updateFilesUploadProgress",value:function(_,D,I){if(_[0].upload.chunked){var ge=_[0],we=this._getChunk(ge,D);I?(we.progress=100*I.loaded/I.total,we.total=I.total,we.bytesSent=I.loaded):(we.progress=100,we.bytesSent=we.total),ge.upload.progress=0,ge.upload.total=0,ge.upload.bytesSent=0;for(var ce=0;ce<ge.upload.totalChunkCount;ce++)ge.upload.chunks[ce]&&typeof ge.upload.chunks[ce].progress<"u"&&(ge.upload.progress+=ge.upload.chunks[ce].progress,ge.upload.total+=ge.upload.chunks[ce].total,ge.upload.bytesSent+=ge.upload.chunks[ce].bytesSent);ge.upload.progress=ge.upload.progress/ge.upload.totalChunkCount,this.emit("uploadprogress",ge,ge.upload.progress,ge.upload.bytesSent)}else{var F=Le(_,!0),G;try{for(F.s();!(G=F.n()).done;){var q=G.value;q.upload.total&&q.upload.bytesSent&&q.upload.bytesSent==q.upload.total||(I?(q.upload.progress=100*I.loaded/I.total,q.upload.total=I.total,q.upload.bytesSent=I.loaded):(q.upload.progress=100,q.upload.bytesSent=q.upload.total),this.emit("uploadprogress",q,q.upload.progress,q.upload.bytesSent))}}catch(ke){F.e(ke)}finally{F.f()}}}},{key:"_finishedUploading",value:function(_,D,I){var F;if(_[0].status!==T.CANCELED&&D.readyState===4){if(D.responseType!=="arraybuffer"&&D.responseType!=="blob"&&(F=D.responseText,D.getResponseHeader("content-type")&&~D.getResponseHeader("content-type").indexOf("application/json")))try{F=JSON.parse(F)}catch(G){I=G,F="Invalid JSON response from server."}this._updateFilesUploadProgress(_,D),200<=D.status&&D.status<300?_[0].upload.chunked?_[0].upload.finishedChunkUpload(this._getChunk(_[0],D),F):this._finished(_,F,I):this._handleUploadError(_,D,F)}}},{key:"_handleUploadError",value:function(_,D,I){if(_[0].status!==T.CANCELED){if(_[0].upload.chunked&&this.options.retryChunks){var F=this._getChunk(_[0],D);if(F.retries++<this.options.retryChunksLimit){this._uploadData(_,[F.dataBlock]);return}else console.warn("Retried this chunk too often. Giving up.")}this._errorProcessing(_,I||this.options.dictResponseError.replace("{{statusCode}}",D.status),D)}}},{key:"submitRequest",value:function(_,D,I){if(_.readyState!=1){console.warn("Cannot send this request because the XMLHttpRequest.readyState is not OPENED.");return}_.send(D)}},{key:"_finished",value:function(_,D,I){var F=Le(_,!0),G;try{for(F.s();!(G=F.n()).done;){var q=G.value;q.status=T.SUCCESS,this.emit("success",q,D,I),this.emit("complete",q)}}catch(ge){F.e(ge)}finally{F.f()}
6if(this.options.uploadMultiple&&(this.emit("successmultiple",_,D,I),this.emit("completemultiple",_)),this.options.autoProcessQueue)return this.processQueue()}},{key:"_errorProcessing",value:function(_,D,I){var F=Le(_,!0),G;try{for(F.s();!(G=F.n()).done;){var q=G.value;q.status=T.ERROR,this.emit("error",q,D,I),this.emit("complete",q)}}catch(ge){F.e(ge)}finally{F.f()}if(this.options.uploadMultiple&&(this.emit("errormultiple",_,D,I),this.emit("completemultiple",_)),this.options.autoProcessQueue)return this.processQueue()}}],[{key:"initClass",value:function(){this.prototype.Emitter=J,this.prototype.events=["drop","dragstart","dragend","dragenter","dragover","dragleave","addedfile","addedfiles","removedfile","thumbnail","error","errormultiple","processing","processingmultiple","uploadprogress","totaluploadprogress","sending","sendingmultiple","success","successmultiple","canceled","canceledmultiple","complete","completemultiple","reset","maxfilesexceeded","maxfilesreached","queuecomplete"],this.prototype._thumbnailQueue=[],this.prototype._processingThumbnail=!1}},{key:"extend",value:function(_){for(var D=arguments.length,I=new Array(D>1?D-1:0),F=1;F<D;F++)I[F-1]=arguments[F];for(var G=0,q=I;G<q.length;G++){var ge=q[G];for(var we in ge){var ce=ge[we];_[we]=ce}}return _}},{key:"uuidv4",value:function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(_){var D=Math.random()*16|0,I=_==="x"?D:D&3|8;return I.toString(16)})}}]),T})(J);Ve.initClass(),Ve.version="5.9.3",Ve.options={},Ve.optionsForElement=function(N){if(N.getAttribute("id"))return Ve.options[Ae(N.getAttribute("id"))]},Ve.instances=[],Ve.forElement=function(N){if(typeof N=="string"&&(N=document.querySelector(N)),N?.dropzone==null)throw new Error("No Dropzone found for given element. This is probably because you're trying to access it before Dropzone had the time to initialize. Use the `init` option to setup any additional observers on your Dropzone.");return N.dropzone},Ve.autoDiscover=!0,Ve.discover=function(){var N;if(document.querySelectorAll)N=document.querySelectorAll(".dropzone");else{N=[];var k=function(A){return(function(){var _=[],D=Le(A,!0),I;try{for(D.s();!(I=D.n()).done;){var F=I.value;/(^| )dropzone($| )/.test(F.className)?_.push(N.push(F)):_.push(void 0)}}catch(G){D.e(G)}finally{D.f()}return _})()};k(document.getElementsByTagName("div")),k(document.getElementsByTagName("form"))}return(function(){var T=[],A=Le(N,!0),_;try{for(A.s();!(_=A.n()).done;){var D=_.value;Ve.optionsForElement(D)!==!1?T.push(new Ve(D)):T.push(void 0)}}catch(I){A.e(I)}finally{A.f()}return T})()},Ve.blockedBrowsers=[/opera.*(Macintosh|Windows Phone).*version\/12/i],Ve.isBrowserSupported=function(){var N=!0;if(window.File&&window.FileReader&&window.FileList&&window.Blob&&window.FormData&&document.querySelector)if(!("classList"in document.createElement("a")))N=!1;else{Ve.blacklistedBrowsers!==void 0&&(Ve.blockedBrowsers=Ve.blacklistedBrowsers);var k=Le(Ve.blockedBrowsers,!0),T;try{for(k.s();!(T=k.n()).done;){var A=T.value;if(A.test(navigator.userAgent)){N=!1;continue}}}catch(_){k.e(_)}finally{k.f()}}else N=!1;return N},Ve.dataURItoBlob=function(N){for(var k=atob(N.split(",")[1]),T=N.split(",")[0].split(":")[1].split(";")[0],A=new ArrayBuffer(k.length),_=new Uint8Array(A),D=0,I=k.length,F=0<=I;F?D<=I:D>=I;F?D++:D--)_[D]=k.charCodeAt(D);return new Blob([A],{type:T})};var wr=function(k,T){return k.filter(function(A){return A!==T}).map(function(A){return A})},Ae=function(k){return k.replace(/[\-_](\w)/g,function(T){return T.charAt(1).toUpperCase()})};Ve.createElement=function(N){var k=document.createElement("div");return k.innerHTML=N,k.childNodes[0]},Ve.elementInside=function(N,k){if(N===k)return!0;for(;N=N.parentNode;)if(N===k)return!0;return!1},Ve.getElement=function(N,k){var T;if(typeof N=="string"?T=document.querySelector(N):N.nodeType!=null&&(T=N),T==null)throw new Error("Invalid `".concat(k,"` option provided. Please provide a CSS selector or a plain HTML element."));return T},Ve.getElements=function(N,k){var T,A;if(N instanceof Array){A=[];try{var _=Le(N,!0),D;try{for(_.s();!(D=_.n()).done;)T=D.value,A.push(this.getElement(T,k))}catch(G){_.e(G)}finally{_.f()}}catch(G){A=null}}else if(typeof N=="string"){A=[];var I=Le(document.querySelectorAll(N),!0),F;try{for(I.s();!(F=I.n()).done;)T=F.value,A.push(T)}catch(G){I.e(G)}finally{I.f()}}else N.nodeType!=null&&(A=[N]);if(A==null||!A.length)throw new Error("Invalid `".concat(k,"` option provided. Please provide a CSS selector, a plain HTML element or a list of those."));return A},Ve.confirm=function(N,k,T){if(window.confirm(N))return k();if(T!=null)return T()},Ve.isValidFile=function(N,k){if(!k)return!0;k=k.split(",");var T=N.type,A=T.replace(/\/.*$/,""),_=Le(k,!0),D;try{for(_.s();!(D=_.n()).done;){var I=D.value;if(I=I.trim(),I.charAt(0)==="."){if(N.name.toLowerCase().indexOf(I.toLowerCase(),N.name.length-I.length)!==-1)return!0}else if(/\/\*$/.test(I)){if(A===I.replace(/\/.*$/,""))return!0}else if(T===I)return!0}}
6catch(F){_.e(F)}finally{_.f()}return!1},typeof jQuery<"u"&&jQuery!==null&&(jQuery.fn.dropzone=function(N){return this.each(function(){return new Ve(this,N)})}),Ve.ADDED="added",Ve.QUEUED="queued",Ve.ACCEPTED=Ve.QUEUED,Ve.UPLOADING="uploading",Ve.PROCESSING=Ve.UPLOADING,Ve.CANCELED="canceled",Ve.ERROR="error",Ve.SUCCESS="success";var Ii=function(k){var T=k.naturalWidth,A=k.naturalHeight,_=document.createElement("canvas");_.width=1,_.height=A;var D=_.getContext("2d");D.drawImage(k,0,0);for(var I=D.getImageData(1,0,1,A),F=I.data,G=0,q=A,ge=A;ge>G;){var we=F[(ge-1)*4+3];we===0?q=ge:G=ge,ge=q+G>>1}var ce=ge/A;return ce===0?1:ce},cr=function(k,T,A,_,D,I,F,G,q,ge){var we=Ii(T);return k.drawImage(T,A,_,D,I,F,G,q,ge/we)},Xn=(function(){function N(){Vr(this,N)}return Wt(N,null,[{key:"initClass",value:function(){this.KEY_STR="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}},{key:"encode64",value:function(T){for(var A="",_=void 0,D=void 0,I="",F=void 0,G=void 0,q=void 0,ge="",we=0;_=T[we++],D=T[we++],I=T[we++],F=_>>2,G=(_&3)<<4|D>>4,q=(D&15)<<2|I>>6,ge=I&63,isNaN(D)?q=ge=64:isNaN(I)&&(ge=64),A=A+this.KEY_STR.charAt(F)+this.KEY_STR.charAt(G)+this.KEY_STR.charAt(q)+this.KEY_STR.charAt(ge),_=D=I="",F=G=q=ge="",we<T.length;);return A}},{key:"restore",value:function(T,A){if(!T.match("data:image/jpeg;base64,"))return A;var _=this.decode64(T.replace("data:image/jpeg;base64,","")),D=this.slice2Segments(_),I=this.exifManipulation(A,D);return"data:image/jpeg;base64,".concat(this.encode64(I))}},{key:"exifManipulation",value:function(T,A){var _=this.getExifArray(A),D=this.insertExif(T,_),I=new Uint8Array(D);return I}},{key:"getExifArray",value:function(T){for(var A=void 0,_=0;_<T.length;){if(A=T[_],A[0]===255&A[1]===225)return A;_++}return[]}},{key:"insertExif",value:function(T,A){var _=T.replace("data:image/jpeg;base64,",""),D=this.decode64(_),I=D.indexOf(255,3),F=D.slice(0,I),G=D.slice(I),q=F;return q=q.concat(A),q=q.concat(G),q}},{key:"slice2Segments",value:function(T){for(var A=0,_=[];;){var D;if(T[A]===255&T[A+1]===218)break;if(T[A]===255&T[A+1]===216)A+=2;else{D=T[A+2]*256+T[A+3];var I=A+D+2,F=T.slice(A,I);_.push(F),A=I}if(A>T.length)break}return _}},{key:"decode64",value:function(T){var A="",_=void 0,D=void 0,I="",F=void 0,G=void 0,q=void 0,ge="",we=0,ce=[],ke=/[^A-Za-z0-9\+\/\=]/g;for(ke.exec(T)&&console.warn(`There were invalid base64 characters in the input text.
7Valid base64 characters are A-Z, a-z, 0-9, '+', '/',and '='
8Expect errors in decoding.`),T=T.replace(/[^A-Za-z0-9\+\/\=]/g,"");F=this.KEY_STR.indexOf(T.charAt(we++)),G=this.KEY_STR.indexOf(T.charAt(we++)),q=this.KEY_STR.indexOf(T.charAt(we++)),ge=this.KEY_STR.indexOf(T.charAt(we++)),_=F<<2|G>>4,D=(G&15)<<4|q>>2,I=(q&3)<<6|ge,ce.push(_),q!==64&&ce.push(D),ge!==64&&ce.push(I),_=D=I="",F=G=q=ge="",we<T.length;);return ce}}]),N})();Xn.initClass();var mn=function(k,T){var A=!1,_=!0,D=k.document,I=D.documentElement,F=D.addEventListener?"addEventListener":"attachEvent",G=D.addEventListener?"removeEventListener":"detachEvent",q=D.addEventListener?"":"on",ge=function ce(ke){if(!(ke.type==="readystatechange"&&D.readyState!=="complete")&&((ke.type==="load"?k:D)[G](q+ke.type,ce,!1),!A&&(A=!0)))return T.call(k,ke.type||ke)},we=function ce(){try{I.doScroll("left")}catch(ke){setTimeout(ce,50);return}return ge("poll")};if(D.readyState!=="complete"){if(D.createEventObject&&I.doScroll){try{_=!k.frameElement}catch(ce){}_&&we()}return D[F](q+"DOMContentLoaded",ge,!1),D[F](q+"readystatechange",ge,!1),k[F](q+"load",ge,!1)}};Ve._autoDiscoverFunction=function(){if(Ve.autoDiscover)return Ve.discover()},mn(window,Ve._autoDiscoverFunction);function rt(N,k){return typeof N<"u"&&N!==null?k(N):void 0}function Gn(N,k,T){if(typeof N<"u"&&N!==null&&typeof N[k]=="function")return T(N,k)}window.Dropzone=Ve;var mt=Ve})(),r})()})});var xI=Wu((I_,vl)=>{"use strict";(function(t,n){typeof I_=="object"&&typeof vl<"u"?vl.exports=n():typeof define=="function"&&define.amd?define(n):t.moment=n()})(I_,function(){"use strict";var t;function n(){return t.apply(null,arguments)}function e(c){t=c}function r(c){return c instanceof Array||Object.prototype.toString.call(c)==="[object Array]"}function i(c){return c!=null&&Object.prototype.toString.call(c)==="[object Object]"}function o(c,d){return Object.prototype.hasOwnProperty.call(c,d)}function s(c){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(c).length===0;var d;for(d in c)if(o(c,d))return!1;return!0}function a(c){return c===void 0}function l(c){return typeof c=="number"||Object.prototype.toString.call(c)==="[object Number]"}function u(c){return c instanceof Date||Object.prototype.toString.call(c)==="[object Date]"}function f(c,d){var p=[],g,E=c.length;for(g=0;g<E;++g)p.push(d(c[g],g));return p}function h(c,d){for(var p in d)o(d,p)&&(c[p]=d[p]);return o(d,"toString")&&(c.toString=d.toString),o(d,"valueOf")&&(c.valueOf=d.valueOf),c}function m(c,d,p,g){return bD(c,d,p,g,!0).utc()}function v(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invali
vendor: 53,447 bytes, lines 8-11
8dMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function y(c){return c._pf==null&&(c._pf=v()),c._pf}var w;Array.prototype.some?w=Array.prototype.some:w=function(c){var d=Object(this),p=d.length>>>0,g;for(g=0;g<p;g++)if(g in d&&c.call(this,d[g],g,d))return!0;return!1};function C(c){var d=null,p=!1,g=c._d&&!isNaN(c._d.getTime());if(g&&(d=y(c),p=w.call(d.parsedDateParts,function(E){return E!=null}),g=d.overflow<0&&!d.empty&&!d.invalidEra&&!d.invalidMonth&&!d.invalidWeekday&&!d.weekdayMismatch&&!d.nullInput&&!d.invalidFormat&&!d.userInvalidated&&(!d.meridiem||d.meridiem&&p),c._strict&&(g=g&&d.charsLeftOver===0&&d.unusedTokens.length===0&&d.bigHour===void 0)),Object.isFrozen==null||!Object.isFrozen(c))c._isValid=g;else return g;return c._isValid}function S(c){var d=m(NaN);return c!=null?h(y(d),c):y(d).userInvalidated=!0,d}var x=n.momentProperties=[],j=!1;function P(c,d){var p,g,E,O=x.length;if(a(d._isAMomentObject)||(c._isAMomentObject=d._isAMomentObject),a(d._i)||(c._i=d._i),a(d._f)||(c._f=d._f),a(d._l)||(c._l=d._l),a(d._strict)||(c._strict=d._strict),a(d._tzm)||(c._tzm=d._tzm),a(d._isUTC)||(c._isUTC=d._isUTC),a(d._offset)||(c._offset=d._offset),a(d._pf)||(c._pf=y(d)),a(d._locale)||(c._locale=d._locale),O>0)for(p=0;p<O;p++)g=x[p],E=d[g],a(E)||(c[g]=E);return c}function Z(c){P(this,c),this._d=new Date(c._d!=null?c._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),j===!1&&(j=!0,n.updateOffset(this),j=!1)}function L(c){return c instanceof Z||c!=null&&c._isAMomentObject!=null}function ie(c){n.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+c)}function V(c,d){var p=!0;return h(function(){if(n.deprecationHandler!=null&&n.deprecationHandler(null,c),p){var g=[],E,O,te,Fe=arguments.length;for(O=0;O<Fe;O++){if(E="",typeof arguments[O]=="object"){E+=`
9[`+O+"] ";for(te in arguments[0])o(arguments[0],te)&&(E+=te+": "+arguments[0][te]+", ");E=E.slice(0,-2)}else E=arguments[O];g.push(E)}ie(c+`
10Arguments: `+Array.prototype.slice.call(g).join("")+`
11`+new Error().stack),p=!1}return d.apply(this,arguments)},d)}var z={};function H(c,d){n.deprecationHandler!=null&&n.deprecationHandler(c,d),z[c]||(ie(d),z[c]=!0)}n.suppressDeprecationWarnings=!1,n.deprecationHandler=null;function K(c){return typeof Function<"u"&&c instanceof Function||Object.prototype.toString.call(c)==="[object Function]"}function oe(c){var d,p;for(p in c)o(c,p)&&(d=c[p],K(d)?this[p]=d:this["_"+p]=d);this._config=c,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function le(c,d){var p=h({},c),g;for(g in d)o(d,g)&&(i(c[g])&&i(d[g])?(p[g]={},h(p[g],c[g]),h(p[g],d[g])):d[g]!=null?p[g]=d[g]:delete p[g]);for(g in c)o(c,g)&&!o(d,g)&&i(c[g])&&(p[g]=h({},p[g]));return p}function me(c){c!=null&&this.set(c)}var xe;Object.keys?xe=Object.keys:xe=function(c){var d,p=[];for(d in c)o(c,d)&&p.push(d);return p};var Y={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function ne(c,d,p){var g=this._calendar[c]||this._calendar.sameElse;return K(g)?g.call(d,p):g}function se(c,d,p){var g=""+Math.abs(c),E=d-g.length,O=c>=0;return(O?p?"+":"":"-")+Math.pow(10,Math.max(0,E)).toString().substr(1)+g}var Me=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,je=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,ze={},We={};function X(c,d,p,g){var E=g;typeof g=="string"&&(E=function(){return this[g]()}),c&&(We[c]=E),d&&(We[d[0]]=function(){return se(E.apply(this,arguments),d[1],d[2])}),p&&(We[p]=function(){return this.localeData().ordinal(E.apply(this,arguments),c)})}function Pe(c){return c.match(/\[[\s\S]/)?c.replace(/^\[|\]$/g,""):c.replace(/\\/g,"")}function $e(c){var d=c.match(Me),p,g;for(p=0,g=d.length;p<g;p++)We[d[p]]?d[p]=We[d[p]]:d[p]=Pe(d[p]);return function(E){var O="",te;for(te=0;te<g;te++)O+=K(d[te])?d[te].call(E,c):d[te];return O}}function Ue(c,d){return c.isValid()?(d=Be(d,c.localeData()),ze[d]=ze[d]||$e(d),ze[d](c)):c.localeData().invalidDate()}function Be(c,d){var p=5;function g(E){return d.longDateFormat(E)||E}for(je.lastIndex=0;p>=0&&je.test(c);)c=c.replace(je,g),je.lastIndex=0,p-=1;return c}var st={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function nt(c){var d=this._longDateFormat[c],p=this._longDateFormat[c.toUpperCase()];return d||!p?d:(this._longDateFormat[c]=p.match(Me).map(function(g){return g==="MMMM"||g==="MM"||g==="DD"||g==="dddd"?g.slice(1):g}).join(""),this._longDateFormat[c])}var tn="Invalid date";function Lt(){return this._invalidDate}var nn="%d",Je=/\d{1,2}/;function M(c){return this._ordinal.replace("%d",c)}var R={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function U(c,d,p,g){var E=this._relativeTime[p];return K(E)?E(c,d,p,g):E.replace(/%d/i,c)}function B(c,d){var p=this._relativeTime[c>0?"future":"past"];return K(p)?p(d):p.replace(/%s/i,d)}var de={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function J(c){return typeof c=="string"?de[c]||de[c.toLowerCase()]:void 0}function ee(c){var d={},p,g;for(g in c)o(c,g)&&(p=J(g),p&&(d[p]=c[g]));return d}var Te={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function Ne(c){var d=[],p;for(p in c)o(c,p)&&d.push({unit:p,priority:Te[p]});return d.sort(function(g,E){return g.priority-E.priority}),d}var It=/\d/,vt=/\d\d/,wn=/\d{3}/,hn=/\d{4}/,dt=/[+-]?\d{6}/,Le=/\d\d?/,jr=/\d\d\d\d?/,Fn=/\d\d\d\d\d\d?/,Vr=/\d{1,3}/,Xr=/\d{1,4}/,Wt=/[+-]?\d{1,6}/,pt=/\d+/,$t=/[+-]?\d+/,Pn=/Z|[+-]\d\d:?\d\d/gi,Jn=/Z|[+-]\d\d(?::?\d\d)?/gi,$n=/[+-]?\d+(\.\d{1,3})?/,zn=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,an=/^[1-9]\d?/,Ve=/^([1-9]\d|\d)/,wr;wr={};function Ae(c,d,p){wr[c]=K(d)?d:function(g,E){return g&&p?p:d}}function Ii(c,d){return o(wr,c)?wr[c](d._strict,d._locale):new RegExp(cr(c))}function cr(c){return Xn(c.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(d,p,g,E,O){return p||g||E||O}))}function Xn(c){return c.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function mn(c){return c<0?Math.ceil(c)||0:Math.floor(c)}function rt(c){var d=+c,p=0;return d!==0&&isFinite(d)&&(p=mn(d)),p}var Gn={};function mt(c,d){var p,g=d,E;for(typeof c=="string"&&(c=[c]),l(d)&&(g=function(O,te){te[d]=rt(O)}),E=c.length,p=0;p<E;p++)Gn[c[p]]=g}function N(c,d){mt(c,function(p,g,E,O){E._w=E._w||{},d(p,E._w,E,O)})}function k(c,d,p){d!=null&&o(Gn,c)&&Gn[c](d,p._a,p,c)}function T(c){return c%4===0&&c%100!==0||c%400===0}var A=0,_=1,D=2,I=3,F=4,G=5,q=6,ge=7,we=8;X("Y",0,0,function(){var c=this.year();return c<=9999?se(c,4):"+"+c}),X(0,["YY",2],0,function(){return this.year()%100}),X(0,["YYYY",4],0,"year"),X(0,["YYYYY",5],0,"year"),X(0,["YYYYYY",6,!0],0,"year"),Ae("Y",$t),Ae("YY",Le,vt),Ae("YYYY",Xr,hn),Ae("YYYYY",Wt,dt),Ae("YYYYYY",Wt,dt),mt(["YYYYY","YYYYYY"],A),mt("YYYY",function(c,d){d[A]=c.length===2?n.parseTwoDigitYear(c):rt(c)}),mt("YY",function(c,d){d[A]=n.parseTwoDigitYear(c)}),mt("Y",function(c,d){d[A]=parseInt(c,10)});function ce(c){return T(c)?366:365}n.parseTwoDigitYear=function(c){return rt(c)+(rt(c)>68?1900:2e3)};var ke=it("FullYear",!0);function jt(){return T(this.year())}function it(c,d){return function(p){return p!=null?(W(this,c,p),n.updateOffset(this,d),this):b(this,c)}}function b(c,d){if(!c.isValid())return NaN;var p=c._d,g=c._isUTC;switch(d){case"Milliseconds":return g?p.getUTCMilliseconds():p.getMilliseconds();case"Seconds":return g?p.getUTCSeconds():p.getSeconds();case"Minutes":return g?p.getUTCMinutes():p.getMinutes();case"Hours":return g?p.getUTCHours():p.getHours();case"Date":return g?p.getUTCDate():p.getDate();case"Day":return g?p.getUTCDay():p.getDay();case"Month":return g?p.getUTCMonth():p.getMonth();case"FullYear":return g?p.getUTCFullYear():p.getFullYear();default:return NaN}}function W(c,d,p){var g,E,O,te,Fe;if(!(!c.isValid()||isNaN(p))){switch(g=c._d,E=c._isUTC,d){case"Milliseconds":return void(E?g.setUTCMilliseconds(p):g.setMilliseconds(p));case"Seconds":return void(E?g.setUTCSeconds(p):g.setSeconds(p));case"Minutes":return void(E?g.setUTCMinutes(p):g.setMinutes(p));case"Hours":return void(E?g.setUTCHours(p):g.setHours(p));case"Date":return void(E?g.setUTCDate(p):g.setDate(p));case"FullYear":break;default:return}O=p,te=c.month(),Fe=c.date(),Fe=Fe===29&&te===1&&!T(O)?28:Fe,E?g.setUTCFullYear(O,te,Fe):g.setFullYear(O,te,Fe)}}function Q(c){return c=J(c),K(this[c])?this[c]():this}function ue(c,d){if(typeof c=="object"){c=ee(c);var p=Ne(c),g,E=p.length;for(g=0;g<E;g++)this[p[g].unit](c[p[g].unit])}else if(c=J(c),K(this[c]))return this[c](d);return this}function De(c,d){return(c%d+d)%d}var Oe;Array.prototype.indexOf?Oe=Array.prototype.indexOf:Oe=function(c){var d;for(d=0;d<this.length;++d)if(this[d]===c)return d;return-1};function Re(c,d){if(isNaN(c)||isNaN(d))return NaN;var p=De(d,12);return c+=(d-p)/12,p===1?T(c)?29:28:31-p%7%2}X("M",["MM",2],"Mo",function(){return this.month()+1}),X("MMM",0,0,function(c){return this.localeData().monthsShort(this,c)}),X("MMMM",0,0,function(c){return this.localeData().months(this,c)}),Ae("M",Le,an),Ae("MM",Le,vt),Ae("MMM",function(c,d){return d.monthsShortRegex(c)}),Ae("MMMM",function(c,d){return d.monthsRegex(c)}),mt(["M","MM"],function(c,d){d[_]=rt(c)-1}),mt(["MMM","MMMM"],function(c,d,p,g){var E=p._locale.monthsParse(c,g,p._strict);E!=null?d[_]=E:y(p).invalidMonth=c});var Ct="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Yt="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),rn=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Nn=zn,ye=zn;function qt(c,d){return c?r(this._months)?this._months[c.month()]:this._months[(this._months.isFormat||rn).test(d)?"format":"standalone"][c.month()]:r(this._months)?this._months:this._months.standalone}function ei(c,d){return c?r(this._monthsShort)?this._monthsShort[c.month()]:this._monthsShort[rn.test(d)?"format":"standalone"][c.month()]:r(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function Sl(c,d,p){var g,E,O,te=c.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],g=0;g<12;++g)O=m([2e3,g]),this._shortMonthsParse[g]=this.monthsShort(O,"").toLocaleLowerCase(),this._longMonthsParse[g]=this.months(O,"").toLocaleLowerCase();return p?d==="MMM"?(E=Oe.call(this._shortMonthsParse,te),E!==-1?E:null):(E=Oe.call(this._longMonthsParse,te),E!==-1?E:null):d==="MMM"?(E=Oe.call(this._shortMonthsParse,te),E!==-1?E:(E=Oe.call(this._longMonthsParse,te),E!==-1?E:null)):(E=Oe.call(this._longMonthsParse,te),E!==-1?E:(E=Oe.call(this._shortMonthsParse,te),E!==-1?E:null))}function ku(c,d,p){var g,E,O;if(this._monthsParseExact)return Sl.call(this,c,d,p);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),g=0;g<12;g++){if(E=m([2e3,g]),p&&!this._longMonthsParse[g]&&(this._longMonthsParse[g]=new RegExp("^"+this.months(E,"").replace(".","")+"$","i"),this._shortMonthsParse[g]=new RegExp("^"+this.monthsShort(E,"").replace(".","")+"$","i")),!p&&!this._monthsParse[g]&&(O="^"+this.months(E,"")+"|^"+this.monthsShort(E,""),this._monthsParse[g]=new RegExp(O.replace(".",""),"i")),p&&d==="MMMM"&&this._longMonthsParse[g].test(c))return g;if(p&&d==="MMM"&&this._shortMonthsParse[g].test(c))return g;if(!p&&this._monthsParse[g].test(c))return g}}function Tl(c,d){if(!c.isValid())return c;if(typeof d=="string"){if(/^\d+$/.test(d))d=rt(d);else if(d=c.localeData().monthsParse(d),!l(d))return c}var p=d,g=c.date();return g=g<29?g:Math.min(g,Re(c.year(),p)),c._isUTC?c._d.setUTCMonth(p,g):c._d.setMonth(p,g),c}function ea(c){return c!=null?(Tl(this,c),n.updateOffset(this,!0),this):b(this,"Month")}function ox(){return Re(this.year(),this.month())}function sx(c){return this._monthsParseExact?(o(this,"_monthsRegex")||hD.call(this),c?this._monthsShortStrictRegex:this._monthsShortRegex):(o(this,"_monthsShortRegex")||(this._monthsShortRegex=Nn),this._monthsShortStrictRegex&&c?this._monthsShortStrictRegex:this._monthsShortRegex)}function ax(c){return this._monthsParseExact?(o(this,"_monthsRegex")||hD.call(this),c?this._monthsStrictRegex:this._monthsRegex):(o(this,"_monthsRegex")||(this._monthsRegex=ye),this._monthsStrictRegex&&c?this._monthsStrictRegex:this._monthsRegex)}function hD(){function c(ot,bt){return bt.length-ot.length}var d=[],p=[],g=[],E,O,te,Fe;for(E=0;E<12;E++)O=m([2e3,E]),te=Xn(this.monthsShort(O,"")),Fe=Xn(this.months(O,"")),d.push(te),p.push(Fe),g.push(Fe),g.push(te);d.sort(c),p.sort(c),g.sort(c),this._monthsRegex=new RegExp("^("+g.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+p.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+d.join("|")+")","i")}function lx(c,d,p,g,E,O,te){var Fe;return c<100&&c>=0?(Fe=new Date(c+400,d,p,g,E,O,te),isFinite(Fe.getFullYear())&&Fe.setFullYear(c)):Fe=new Date(c,d,p,g,E,O,te),Fe}function Il(c){var d,p;return c<100&&c>=0?(p=Array.prototype.slice.call(arguments),p[0]=c+400,d=new Date(Date.UTC.apply(null,p)),isFinite(d.getUTCFullYear())&&d.setUTCFullYear(c)):d=new Date(Date.UTC.apply(null,arguments)),d}function Ou(c,d,p){var g=7+d-p,E=(7+Il(c,0,g).getUTCDay()-d)%7;return-E+g-1}function pD(c,d,p,g,E){var O=(7+p-g)%7,te=Ou(c,g,E),Fe=1+7*(d-1)+O+te,ot,bt;return Fe<=0?(ot=c-1,bt=ce(ot)+Fe):Fe>ce(c)?(ot=c+1,bt=Fe-ce(c)):(ot=c,bt=Fe),{year:ot,dayOfYear:bt}}function Ml(c,d,p){var g=Ou(c.year(),d,p),E=Math.floor((c.dayOfYear()-g-1)/7)+1,O,te;return E<1?(te=c.year()-1,O=E+Ki(te,d,p)):E>Ki(c.year(),d,p)?(O=E-Ki(c.year(),d,p),te=c.year()+1):(te=c.year(),O=E),{week:O,year:te}}function Ki(c,d,p){var g=Ou(c,d,p),E=Ou(c+1,d,p);return(ce(c)-g+E)/7}X("w",["ww",2],"wo","week"),X("W",["WW",2],"Wo","isoWeek"),Ae("w",Le,an),Ae("ww",Le,vt),Ae("W",Le,an),Ae("WW",Le,vt),N(["w","ww","W","WW"],function(c,d,p,g){d[g.substr(0,1)]=rt(c)});function cx(c){return Ml(c,this._week.dow,this._week.doy).week}var ux={dow:0,doy:6};function dx(){return this._week.dow}function fx(){return this._week.doy}function hx(c){var d=this.localeData().week(this);return c==null?d:this.add((c-d)*7,"d")}function px(c){var d=Ml(this,1,4).week;return c==null?d:this.add((c-d)*7,"d")}X("d",0,"do","day"),X("dd",0,0,function(c){return this.localeData().weekdaysMin(this,c)}),X("ddd",0,0,function(c){return this.localeData().weekdaysShort(this,c)}),X("dddd",0,0,function(c){return this.localeData().weekdays(this,c)}),X("e",0,0,"weekday"),X("E",0,0,"isoWeekday"),Ae("d",Le),Ae("e",Le),Ae("E",Le),Ae("dd",function(c,d){return d.weekdaysMinRegex(c)}),Ae("ddd",function(c,d){return d.weekdaysShortRegex(c)}),Ae("dddd",function(c,d){return d.weekdaysRegex(c)}),N(["dd","ddd","dddd"],function(c,d,p,g){var E=p._locale.weekdaysParse(c,g,p._strict);E!=null?d.d=E:y(p).invalidWeekday=c}),N(["d","e","E"],function(c,d,p,g){d[g]=rt(c)});function mx(c,d){return typeof c!="string"?c:isNaN(c)?(c=d.weekdaysParse(c),typeof c=="number"?c:null):parseInt(c,10)}function gx(c,d){return typeof c=="string"?d.weekdaysParse(c)%7||7:isNaN(c)?null:c}function tm(c,d){return c.slice(d,7).concat(c.slice(0,d))}var vx="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),mD="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),yx="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),_x=zn,Dx=zn,Ex=zn;function Cx(c,d){var p=r(this._weekdays)?this._weekdays:this._weekdays[c&&c!==!0&&this._weekdays.isFormat.test(d)?"format":"standalone"];return c===!0?tm(p,this._week.dow):c?p[c.day()]:p}function bx(c){return c===!0?tm(this._weekdaysShort,this._week.dow):c?this._weekdaysShort[c.day()]:this._weekdaysShort}function wx(c){return c===!0?tm(this._weekdaysMin,this._week.dow):c?this._weekdaysMin[c.day()]:this._weekdaysMin}function Sx(c,d,p){var g,E,O,te=c.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],g=0;g<7;++g)O=m([2e3,1]).day(g),this._minWeekdaysParse[g]=this.weekdaysMin(O,"").toLocaleLowerCase(),this._shortWeekdaysParse[g]=this.weekdaysShort(O,"").toLocaleLowerCase(),this._weekdaysParse[g]=this.weekdays(O,"").toLocaleLowerCase();return p?d==="dddd"?(E=Oe.call(this._weekdaysParse,te),E!==-1?E:null):d==="ddd"?(E=Oe.call(this._shortWeekdaysParse,te),E!==-1?E:null):(E=Oe.call(this._minWeekdaysParse,te),E!==-1?E:null):d==="dddd"?(E=Oe.call(this._weekdaysParse,te),E!==-1||(E=Oe.call(this._shortWeekdaysParse,te),E!==-1)?E:(E=Oe.call(this._minWeekdaysParse,te),E!==-1?E:null)):d==="ddd"?(E=Oe.call(this._shortWeekdaysParse,te),E!==-1||(E=Oe.call(this._weekdaysParse,te),E!==-1)?E:(E=Oe.call(this._minWeekdaysParse,te),E!==-1?E:null)):(E=Oe.call(this._minWeekdaysParse,te),E!==-1||(E=Oe.call(this._weekdaysParse,te),E!==-1)?E:(E=Oe.call(this._shortWeekdaysParse,te),E!==-1?E:null))}function Tx(c,d,p){var g,E,O;if(this._weekdaysParseExact)return Sx.call(this,c,d,p);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),g=0;g<7;g++){if(E=m([2e3,1]).day(g),p&&!this._fullWeekdaysParse[g]&&(this._fullWeekdaysParse[g]=new RegExp("^"+this.weekdays(E,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[g]=new RegExp("^"+this.weekdaysShort(E,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[g]=new RegExp("^"+this.weekdaysMin(E,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[g]||(O="^"+this.weekdays(E,"")+"|^"+this.weekdaysShort(E,"")+"|^"+this.weekdaysMin(E,""),this._weekdaysParse[g]=new RegExp(O.replace(".",""),"i")),p&&d==="dddd"&&this._fullWeekdaysParse[g].test(c))return g;if(p&&d==="ddd"&&this._shortWeekdaysParse[g].test(c))return g;if(p&&d==="dd"&&this._minWeekdaysParse[g].test(c))return g;if(!p&&this._weekdaysParse[g].test(c))return g}}function Ix(c){if(!this.isValid())return c!=null?this:NaN;var d=b(this,"Day");return c!=null?(c=mx(c,this.localeData()),this.add(c-d,"d")):d}function Mx(c){if(!this.isValid())return c!=null?this:NaN;var d=(this.day()+7-this.localeData()._week.dow)%7;return c==null?d:this.add(c-d,"d")}function xx(c){if(!this.isValid())return c!=null?this:NaN;if(c!=null){var d=gx(c,this.localeData());return this.day(this.day()%7?d:d-7)}else return this.day()||7}function Ax(c){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||nm.call(this),c?this._weekdaysStrictRegex:this._weekdaysRegex):(o(this,"_weekdaysRegex")||(this._weekdaysRegex=_x),this._weekdaysStrictRegex&&c?this._weekdaysStrictRegex:this._weekdaysRegex)}function Nx(c){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||nm.call(this),c?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(o(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Dx),this._weekdaysShortStrictRegex&&c?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Rx(c){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||nm.call(this),c?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(o(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ex),this._weekdaysMinStrictRegex&&c?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function nm(){function c(er,to){return to.length-er.length}var d=[],p=[],g=[],E=[],O,te,Fe,ot,bt;for(O=0;O<7;O++)te=m([2e3,1]).day(O),Fe=Xn(this.weekdaysMin(te,"")),ot=Xn(this.weekdaysShort(te,"")),bt=Xn(this.weekdays(te,"")),d.push(Fe),p.push(ot),g.push(bt),E.push(Fe),E.push(ot),E.push(bt);d.sort(c),p.sort(c),g.sort(c),E.sort(c),this._weekdaysRegex=new RegExp("^("+E.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+g.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+p.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+d.join("|")+")","i")}function rm(){return this.hours()%12||12}function kx(){return this.hours()||24}X("H",["HH",2],0,"hour"),X("h",["hh",2],0,rm),X("k",["kk",2],0,kx),X("hmm",0,0,function(){return""+rm.apply(this)+se(this.minutes(),2)}),X("hmmss",0,0,function(){return""+rm.apply(this)+se(this.minutes(),2)+se(this.seconds(),2)}),X("Hmm",0,0,function(){return""+this.hours()+se(this.minutes(),2)}),X("Hmmss",0,0,function(){return""+this.hours()+se(this.minutes(),2)+se(this.seconds(),2)});function gD(c,d){X(c,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),d)})}gD("a",!0),gD("A",!1);function vD(c,d){return d._meridiemParse}Ae("a",vD),Ae("A",vD),Ae("H",Le,Ve),Ae("h",Le,an),Ae("k",Le,an),Ae("HH",Le,vt),Ae("hh",Le,vt),Ae("kk",Le,vt),Ae("hmm",jr),Ae("hmmss",Fn),Ae("Hmm",jr),Ae("Hmmss",Fn),mt(["H","HH"],I),mt(["k","kk"],function(c,d,p){var g=rt(c);d[I]=g===24?0:g}),mt(["a","A"],function(c,d,p){p._isPm=p._locale.isPM(c),p._meridiem=c}),mt(["h","hh"],function(c,d,p){d[I]=rt(c),y(p).bigHour=!0}),mt("hmm",function(c,d,p){var g=c.length-2;d[I]=rt(c.substr(0,g)),d[F]=rt(c.substr(g)),y(p).bigHour=!0}),mt("hmmss",function(c,d,p){var g=c.length-4,E=c.length-2;d[I]=rt(c.substr(0,g)),d[F]=rt(c.substr(g,2)),d[G]=rt(c.substr(E)),y(p).bigHour=!0}),mt("Hmm",function(c,d,p){var g=c.length-2;d[I]=rt(c.substr(0,g)),d[F]=rt(c.substr(g))}),mt("Hmmss",function(c,d,p){var g=c.length-4,E=c.length-2;d[I]=rt(c.substr(0,g)),d[F]=rt(c.substr(g,2)),d[G]=rt(c.substr(E))});function Ox(c){return(c+"").toLowerCase().charAt(0)==="p"}var Fx=/[ap]\.?m?\.?/i,Px=it("Hours",!0);function Lx(c,d,p){return c>11?p?"pm":"PM":p?"am":"AM"}var yD={calendar:Y,longDateFormat:st,invalidDate:tn,ordinal:nn,dayOfMonthOrdinalParse:Je,relativeTime:R,months:Ct,monthsShort:Yt,week:ux,weekdays:vx,weekdaysMin:yx,weekdaysShort:mD,meridiemParse:Fx},ln={},xl={},Al;function jx(c,d){var p,g=Math.min(c.length,d.length);for(p=0;p<g;p+=1)if(c[p]!==d[p])return p;return g}function _D(c){return c&&c.toLowerCase().replace("_","-")}function Vx(c){for(var d=0,p,g,E,O;d<c.length;){for(O=_D(c[d]).split("-"),p=O.length,g=_D(c[d+1]),g=g?g.split("-"):null;p>0;){if(E=Fu(O.slice(0,p).join("-")),E)return E;if(g&&g.length>=p&&jx(O,g)>=p-1)break;p--}d++}return Al}function Ux(c){return!!(c&&c.match("^[^/\\\\]*$"))}function Fu(c){var d=null,p;if(ln[c]===void 0&&typeof vl<"u"&&vl&&vl.exports&&Ux(c))try{d=Al._abbr,p=qD,p("./locale/"+c),xo(d)}catch(g){ln[c]=null}return ln[c]}function xo(c,d){var p;return c&&(a(d)?p=Qi(c):p=im(c,d),p?Al=p:typeof console<"u"&&console.warn&&console.warn("Locale "+c+" not found. Did you forget to load it?")),Al._abbr}function im(c,d){if(d!==null){var p,g=yD;if(d.abbr=c,ln[c]!=null)H("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),g=ln[c]._config;else if(d.parentLocale!=null)if(ln[d.parentLocale]!=null)g=ln[d.parentLocale]._config;else if(p=Fu(d.parentLocale),p!=null)g=p._config;else return xl[d.parentLocale]||(xl[d.parentLocale]=[]),xl[d.parentLocale].push({name:c,config:d}),null;return ln[c]=new me(le(g,d)),xl[c]&&xl[c].forEach(function(E){im(E.name,E.config)}),xo(c),ln[c]}else return delete ln[c],null}function Bx(c,d){if(d!=null){var p,g,E=yD;ln[c]!=null&&ln[c].parentLocale!=null?ln[c].set(le(ln[c]._config,d)):(g=Fu(c),g!=null&&(E=g._config),d=le(E,d),g==null&&(d.abbr=c),p=new me(d),p.parentLocale=ln[c],ln[c]=p),xo(c)}else ln[c]!=null&&(ln[c].parentLocale!=null?(ln[c]=ln[c].parentLocale,c===xo()&&xo(c)):ln[c]!=null&&delete ln[c]);return ln[c]}function Qi(c){var d;if(c&&c._locale&&c._locale._abbr&&(c=c._locale._abbr),!c)return Al;if(!r(c)){if(d=Fu(c),d)return d;c=[c]}return Vx(c)}function Hx(){return xe(ln)}function om(c){var d,p=c._a;return p&&y(c).overflow===-2&&(d=p[_]<0||p[_]>11?_:p[D]<1||p[D]>Re(p[A],p[_])?D:p[I]<0||p[I]>24||p[I]===24&&(p[F]!==0||p[G]!==0||p[q]!==0)?I:p[F]<0||p[F]>59?F:p[G]<0||p[G]>59?G:p[q]<0||p[q]>999?q:-1,y(c)._overflowDayOfYear&&(d<A||d>D)&&(d=D),y(c)._overflowWeeks&&d===-1&&(d=ge),y(c)._overflowWeekday&&d===-1&&(d=we),y(c).overflow=d),c}var $x=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,zx=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Gx=/Z|[+-]\d\d(?::?\d\d)?/,Pu=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],sm=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Wx=/^\/?Date\((-?\d+)/i,Yx=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,qx={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function DD(c){var d,p,g=c._i,E=$x.exec(g)||zx.exec(g),O,te,Fe,ot,bt=Pu.length,er=sm.length;if(E){for(y(c).iso=!0,d=0,p=bt;d<p;d++)if(Pu[d][1].exec(E[1])){te=Pu[d][0],O=Pu[d][2]!==!1;break}if(te==null){c._isValid=!1;return}if(E[3]){for(d=0,p=er;d<p;d++)if(sm[d][1].exec(E[3])){Fe=(E[2]||" ")+sm[d][0];break}if(Fe==null){c._isValid=!1;return}}if(!O&&Fe!=null){c._isValid=!1;return}if(E[4])if(Gx.exec(E[4]))ot="Z";else{c._isValid=!1;return}c._f=te+(Fe||"")+(ot||""),lm(c)}else c._isValid=!1}function Zx(c,d,p,g,E,O){var te=[Kx(c),Yt.indexOf(d),parseInt(p,10),parseInt(g,10),parseInt(E,10)];return O&&te.push(parseInt(O,10)),te}function Kx(c){var d=parseInt(c,10);return d<=49?2e3+d:d<=999?1900+d:d}function Qx(c){return c.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Jx(c,d,p){if(c){var g=mD.indexOf(c),E=new Date(d[0],d[1],d[2]).getDay();if(g!==E)return y(p).weekdayMismatch=!0,p._isValid=!1,!1}return!0}function Xx(c,d,p){if(c)return qx[c];if(d)return 0;var g=parseInt(p,10),E=g%100,O=(g-E)/100;return O*60+E}function ED(c){var d=Yx.exec(Qx(c._i)),p;if(d){if(p=Zx(d[4],d[3],d[2],d[5],d[6],d[7]),!Jx(d[1],p,c))return;c._a=p,c._tzm=Xx(d[8],d[9],d[10]),c._d=Il.apply(null,c._a),c._d.setUTCMinutes(c._d.getUTCMinutes()-c._tzm),y(c).rfc2822=!0}else c._isValid=!1}function eA(c){var d=Wx.exec(c._i);if(d!==null){c._d=new Date(+d[1]);return}if(DD(c),c._isValid===!1)delete c._isValid;else return;if(ED(c),c._isValid===!1)delete c._isValid;else return;c._strict?c._isValid=!1:n.createFromInputFallback(c)}n.createFromInputFallback=V("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(c){c._d=new Date(c._i+(c._useUTC?" UTC":""))});function ta(c,d,p){return c??d??p}function tA(c){var d=new Date(n.now());return c._useUTC?[d.getUTCFullYear(),d.getUTCMonth(),d.getUTCDate()]:[d.getFullYear(),d.getMonth(),d.getDate()]}function am(c){var d,p,g=[],E,O,te;if(!c._d){for(E=tA(c),c._w&&c._a[D]==null&&c._a[_]==null&&nA(c),c._dayOfYear!=null&&(te=ta(c._a[A],E[A]),(c._dayOfYear>ce(te)||c._dayOfYear===0)&&(y(c)._overflowDayOfYear=!0),p=Il(te,0,c._dayOfYear),c._a[_]=p.getUTCMonth(),c._a[D]=p.getUTCDate()),d=0;d<3&&c._a[d]==null;++d)c._a[d]=g[d]=E[d];for(;d<7;d++)c._a[d]=g[d]=c._a[d]==null?d===2?1:0:c._a[d];c._a[I]===24&&c._a[F]===0&&c._a[G]===0&&c._a[q]===0&&(c._nextDay=!0,c._a[I]=0),c._d=(c._useUTC?Il:lx).apply(null,g),O=c._useUTC?c._d.getUTCDay():c._d.getDay(),c._tzm!=null&&c._d.setUTCMinutes(c._d.getUTCMinutes()-c._tzm),c._nextDay&&(c._a[I]=24),c._w&&typeof c._w.d<"u"&&c._w.d!==O&&(y(c).weekdayMismatch=!0)}}function nA(c){var d,p,g,E,O,te,Fe,ot,bt;d=c._w,d.GG!=null||d.W!=null||d.E!=null?(O=1,te=4,p=ta(d.GG,c._a[A],Ml(on(),1,4).year),g=ta(d.W,1),E=ta(d.E,1),(E<1||E>7)&&(ot=!0)):(O=c._locale._week.dow,te=c._locale._week.doy,bt=Ml(on(),O,te),p=ta(d.gg,c._a[A],bt.year),g=ta(d.w,bt.week),d.d!=null?(E=d.d,(E<0||E>6)&&(ot=!0)):d.e!=null?(E=d.e+O,(d.e<0||d.e>6)&&(ot=!0)):E=O),g<1||g>Ki(p,O,te)?y(c)._overflowWeeks=!0:ot!=null?y(c)._overflowWeekday=!0:(Fe=pD(p,g,E,O,te),c._a[A]=Fe.year,c._dayOfYear=Fe.dayOfYear)}n.ISO_8601=function(){},n.RFC_2822=function(){};function lm(c){if(c._f===n.ISO_8601){DD(c);return}if(c._f===n.RFC_2822){ED(c);return}c._a=[],y(c).empty=!0;var d=""+c._i,p,g,E,O,te,Fe=d.length,ot=0,bt,er;for(E=Be(c._f,c._locale).match(Me)||[],er=E.length,p=0;p<er;p++)O=E[p],g=(d.match(Ii(O,c))||[])[0],g&&(te=d.substr(0,d.indexOf(g)),te.length>0&&y(c).unusedInput.push(te),d=d.slice(d.indexOf(g)+g.length),ot+=g.length),We[O]?(g?y(c).empty=!1:y(c).unusedTokens.push(O),k(O,g,c)):c._strict&&!g&&y(c).unusedTokens.push(O);y(c).charsLeftOver=Fe-ot,d.length>0&&y(c).unusedInput.push(d),c._a[I]<=12&&y(c).bigHour===!0&&c._a[I]>0&&(y(c).bigHour=void 0),y(c).parsedDateParts=c._a.slice(0),y(c).meridiem=c._meridiem,c._a[I]=rA(c._locale,c._a[I],c._meridiem),bt=y(c).era,bt!==null&&(c._a[A]=c._locale.erasConvertYear(bt,c._a[A])),am(c),om(c)}function rA(c,d,p){var g;return p==null?d:c.meridiemHour!=null?c.meridiemHour(d,p):(c.isPM!=null&&(g=c.isPM(p),g&&d<12&&(d+=12),!g&&d===12&&(d=0)),d)}function iA(c){var d,p,g,E,O,te,Fe=!1,ot=c._f.length;if(ot===0){y(c).invalidFormat=!0,c._d=new Date(NaN);return}for(E=0;E<ot;E++)O=0,te=!1,d=P({},c),c._useUTC!=null&&(d._useUTC=c._useUTC),d._f=c._f[E],lm(d),C(d)&&(te=!0),O+=y(d).charsLeftOver,O+=y(d).unusedTokens.length*10,y(d).score=O,Fe?O<g&&(g=O,p=d):(g==null||O<g||te)&&(g=O,p=d,te&&(Fe=!0));h(c,p||d)}function oA(c){if(!c._d){var d=ee(c._i),p=d.day===void 0?d.date:d.day;c._a=f([d.year,d.month,p,d.hour,d.minute,d.second,d.millisecond],function(g){return g&&parseInt(g,10)}),am(c)}}function sA(c){var d=new Z(om(CD(c)));return d._nextDay&&(d.add(1,"d"),d._nextDay=void 0),d}function CD(c){var d=c._i,p=c._f;return c._locale=c._locale||Qi(c._l),d===null||p===void 0&&d===""?S({nullInput:!0}):(typeof d=="string"&&(c._i=d=c._locale.preparse(d)),L(d)?new Z(om(d)):(u(d)?c._d=d:r(p)?iA(c):p?lm(c):aA(c),C(c)||(c._d=null),c))}function aA(c){var d=c._i;a(d)?c._d=new Date(n.now()):u(d)?c._d=new Date(d.valueOf()):typeof d=="string"?eA(c):r(d)?(c._a=f(d.slice(0),function(p){return parseInt(p,10)}),am(c)):i(d)?oA(c):l(d)?c._d=new Date(d):n.createFromInputFallback(c)}function bD(c,d,p,g,E){var O={};return(d===!0||d===!1)&&(g=d,d=void 0),(p===!0||p===!1)&&(g=p,p=void 0),(i(c)&&s(c)||r(c)&&c.length===0)&&(c=void 0),O._isAMomentObject=!0,O._useUTC=O._isUTC=E,O._l=p,O._i=c,O._f=d,O._strict=g,sA(O)}function on(c,d,p,g){return bD(c,d,p,g,!1)}var lA=V("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var c=on.apply(null,arguments);return this.isValid()&&c.isValid()?c<this?this:c:S()}),cA=V("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var c=on.apply(null,arguments);return this.isValid()&&c.isValid()?c>this?this:c:S()});function wD(c,d){var p,g;if(d.length===1&&r(d[0])&&(d=d[0]),!d.length)return on();for(p=d[0],g=1;g<d.length;++g)(!d[g].isValid()||d[g][c](p))&&(p=d[g]);return p}function uA(){var c=[].slice.call(arguments,0);return wD("isBefore",c)}function dA(){var c=[].slice.call(arguments,0);return wD("isAfter",c)}var fA=function(){return Date.now?Date.now():+new Date},Nl=["year","quarter","month","week","day","hour","minute","second","millisecond"];function hA(c){var d,p=!1,g,E=Nl.length;for(d in c)if(o(c,d)&&!(Oe.call(Nl,d)!==-1&&(c[d]==null||!isNaN(c[d]))))return!1;for(g=0;g<E;++g)if(c[Nl[g]]){if(p)return!1;parseFloat(c[Nl[g]])!==rt(c[Nl[g]])&&(p=!0)}return!0}function pA(){return this._isValid}function mA(){return ti(NaN)}function Lu(c){var d=ee(c),p=d.year||0,g=d.quarter||0,E=d.month||0,O=d.week||d.isoWeek||0,te=d.day||0,Fe=d.hour||0,ot=d.minute||0,bt=d.second||0,er=d.millisecond||0;this._isValid=hA(d),this._milliseconds=+er+bt*1e3+ot*6e4+Fe*1e3*60*60,this._days=+te+O*7,this._months=+E+g*3+p*12,this._data={},this._locale=Qi(),this._bubble()}function ju(c){return c instanceof Lu}function cm(c){return c<0?Math.round(-1*c)*-1:Math.round(c)}function gA(c,d,p){var g=Math.min(c.length,d.length),E=Math.abs(c.length-d.length),O=0,te;for(te=0;te<g;te++)(p&&c[te]!==d[te]||!p&&rt(c[te])!==rt(d[te]))&&O++;return O+E}function SD(c,d){X(c,0,0,function(){var p=this.utcOffset(),g="+";return p<0&&(p=-p,g="-"),g+se(~~(p/60),2)+d+se(~~p%60,2)})}SD("Z",":"),SD("ZZ",""),Ae("Z",Jn),Ae("ZZ",Jn),mt(["Z","ZZ"],function(c,d,p){p._useUTC=!0,p._tzm=um(Jn,c)});var vA=/([\+\-]|\d\d)/gi;function um(c,d){var p=(d||"").match(c),g,E,O;return p===null?null:(g=p[p.length-1]||[],E=(g+"").match(vA)||["-",0,0],O=+(E[1]*60)+rt(E[2]),O===0?0:E[0]==="+"?O:-O)}function dm(c,d){var p,g;return d._isUTC?(p=d.clone(),g=(L(c)||u(c)?c.valueOf():on(c).valueOf())-p.valueOf(),p._d.setTime(p._d.valueOf()+g),n.updateOffset(p,!1),p):on(c).local()}function fm(c){return-Math.round(c._d.getTimezoneOffset())}n.updateOffset=function(){};function yA(c,d,p){var g=this._offset||0,E;if(!this.isValid())return c!=null?this:NaN;if(c!=null){if(typeof c=="string"){if(c=um(Jn,c),c===null)return this}else Math.abs(c)<16&&!p&&(c=c*60);return!this._isUTC&&d&&(E=fm(this)),this._offset=c,this._isUTC=!0,E!=null&&this.add(E,"m"),g!==c&&(!d||this._changeInProgress?xD(this,ti(c-g,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,n.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?g:fm(this)}function _A(c,d){return c!=null?(typeof c!="string"&&(c=-c),this.utcOffset(c,d),this):-this.utcOffset()}function DA(c){return this.utcOffset(0,c)}function EA(c){return this._isUTC&&(this.utcOffset(0,c),this._isUTC=!1,c&&this.subtract(fm(this),"m")),this}function CA(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var c=um(Pn,this._i);c!=null?this.utcOffset(c):this.utcOffset(0,!0)}return this}function bA(c){return this.isValid()?(c=c?on(c).utcOffset():0,(this.utcOffset()-c)%60===0):!1}function wA(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function SA(){if(!a(this._isDSTShifted))return this._isDSTShifted;var c={},d;return P(c,this),c=CD(c),c._a?(d=c._isUTC?m(c._a):on(c._a),this._isDSTShifted=this.isValid()&&gA(c._a,d.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function TA(){return this.isValid()?!this._isUTC:!1}function IA(){return this.isValid()?this._isUTC:!1}function TD(){return this.isValid()?this._isUTC&&this._offset===0:!1}var MA=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,xA=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function ti(c,d){var p=c,g=null,E,O,te;return ju(c)?p={ms:c._milliseconds,d:c._days,M:c._months}:l(c)||!isNaN(+c)?(p={},d?p[d]=+c:p.milliseconds=+c):(g=MA.exec(c))?(E=g[1]==="-"?-1:1,p={y:0,d:rt(g[D])*E,h:rt(g[I])*E,m:rt(g[F])*E,s:rt(g[G])*E,ms:rt(cm(g[q]*1e3))*E}):(g=xA.exec(c))?(E=g[1]==="-"?-1:1,p={y:is(g[2],E),M:is(g[3],E),w:is(g[4],E),d:is(g[5],E),h:is(g[6],E),m:is(g[7],E),s:is(g[8],E)}):p==null?p={}:typeof p=="object"&&("from"in p||"to"in p)&&(te=AA(on(p.from),on(p.to)),p={},p.ms=te.milliseconds,p.M=te.months),O=new Lu(p),ju(c)&&o(c,"_locale")&&(O._locale=c._locale),ju(c)&&o(c,"_isValid")&&(O._isValid=c._isValid),O}ti.fn=Lu.prototype,ti.invalid=mA;function is(c,d){var p=c&&parseFloat(c.replace(",","."));return(isNaN(p)?0:p)*d}function ID(c,d){var p={};return p.months=d.month()-c.month()+(d.year()-c.year())*12,c.clone().add(p.months,"M").isAfter(d)&&--p.months,p.milliseconds=+d-+c.clone().add(p.months,"M"),p}function AA(c,d){var p;return c.isValid()&&d.isValid()?(d=dm(d,c),c.isBefore(d)?p=ID(c,d):(p=ID(d,c),p.milliseconds=-p.milliseconds,p.months=-p.months),p):{milliseconds:0,months:0}}function MD(c,d){return function(p,g){var E,O;return g!==null&&!isNaN(+g)&&(H(d,"moment()."+d+"(period, number) is deprecated. Please use moment()."+d+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),O=p,p=g,g=O),E=ti(p,g),xD(this,E,c),this}}function xD(c,d,p,g){var E=d._milliseconds,O=cm(d._days),te=cm(d._months);c.isValid()&&(g=g??!0,te&&Tl(c,b(c,"Month")+te*p),O&&W(c,"Date",b(c,"Date")+O*p),E&&c._d.setTime(c._d.valueOf()+E*p),g&&n.updateOffset(c,O||te))}var NA=MD(1,"add"),RA=MD(-1,"subtract");function AD(c){return typeof c=="string"||c instanceof String}function kA(c){return L(c)||u(c)||AD(c)||l(c)||FA(c)||OA(c)||c===null||c===void 0}function OA(c){var d=i(c)&&!s(c),p=!1,g=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],E,O,te=g.length;for(E=0;E<te;E+=1)O=g[E],p=p||o(c,O);return d&&p}function FA(c){var d=r(c),p=!1;return d&&(p=c.filter(function(g){return!l(g)&&AD(c)}).length===0),d&&p}function PA(c){var d=i(c)&&!s(c),p=!1,g=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],E,O;for(E=0;E<g.length;E+=1)O=g[E],p=p||o(c,O);return d&&p}function LA(c,d){var p=c.diff(d,"days",!0);return p<-6?"sameElse":p<-1?"lastWeek":p<0?"lastDay":p<1?"sameDay":p<2?"nextDay":p<7?"nextWeek":"sameElse"}function jA(c,d){arguments.length===1&&(arguments[0]?kA(arguments[0])?(c=arguments[0],d=void 0):PA(arguments[0])&&(d=arguments[0],c=void 0):(c=void 0,d=void 0));var p=c||on(),g=dm(p,this).startOf("day"),E=n.calendarFormat(this,g)||"sameElse",O=d&&(K(d[E])?d[E].call(this,p):d[E]);return this.format(O||this.localeData().calendar(E,this,on(p)))}function VA(){return new Z(this)}function UA(c,d){var p=L(c)?c:on(c);return this.isValid()&&p.isValid()?(d=J(d)||"millisecond",d==="millisecond"?this.valueOf()>p.valueOf():p.valueOf()<this.clone().startOf(d).valueOf()):!1}function BA(c,d){var p=L(c)?c:on(c);return this.isValid()&&p.isValid()?(d=J(d)||"millisecond",d==="millisecond"?this.valueOf()<p.valueOf():this.clone().endOf(d).valueOf()<p.valueOf()):!1}function HA(c,d,p,g){var E=L(c)?c:on(c),O=L(d)?d:on(d);return this.isValid()&&E.isValid()&&O.isValid()?(g=g||"()",(g[0]==="("?this.isAfter(E,p):!this.isBefore(E,p))&&(g[1]===")"?this.isBefore(O,p):!this.isAfter(O,p))):!1}function $A(c,d){var p=L(c)?c:on(c),g;return this.isValid()&&p.isValid()?(d=J(d)||"millisecond",d==="millisecond"?this.valueOf()===p.valueOf():(g=p.valueOf(),this.clone().startOf(d).valueOf()<=g&&g<=this.clone().endOf(d).valueOf())):!1}function zA(c,d){return this.isSame(c,d)||this.isAfter(c,d)}function GA(c,d){return this.isSame(c,d)||this.isBefore(c,d)}function WA(c,d,p){var g,E,O;if(!this.isValid())return NaN;if(g=dm(c,this),!g.isValid())return NaN;switch(E=(g.utcOffset()-this.utcOffset())*6e4,d=J(d),d){case"year":O=Vu(this,g)/12;break;case"month":O=Vu(this,g);break;case"quarter":O=Vu(this,g)/3;break;case"second":O=(this-g)/1e3;break;case"minute":O=(this-g)/6e4;break;case"hour":O=(this-g)/36e5;break;case"day":O=(this-g-E)/864e5;break;case"week":O=(this-g-E)/6048e5;break;default:O=this-g}return p?O:mn(O)}function Vu(c,d){if(c.date()<d.date())return-Vu(d,c);var p=(d.year()-c.year())*12+(d.month()-c.month()),g=c.clone().add(p,"months"),E,O;return d-g<0?(E=c.clone().add(p-1,"months"),O=(d-g)/(g-E)):(E=c.clone().add(p+1,"months"),O=(d-g)/(E-g)),-(p+O)||0}n.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",n.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function YA(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function qA(c){if(!this.isValid())return null;var d=c!==!0,p=d?this.clone().utc():this;return p.year()<0||p.year()>9999?Ue(p,d?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):K(Date.prototype.toISOString)?d?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Ue(p,"Z")):Ue(p,d?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function ZA(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var c="moment",d="",p,g,E,O;return this.isLocal()||(c=this.utcOffset()===0?"moment.utc":"moment.parseZone",d="Z"),p="["+c+'("]',g=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",E="-MM-DD[T]HH:mm:ss.SSS",O=d+'[")]',this.format(p+g+E+O)}function KA(c){c||(c=this.isUtc()?n.defaultFormatUtc:n.defaultFormat);var d=Ue(this,c);return this.localeData().postformat(d)}function QA(c,d){return this.isValid()&&(L(c)&&c.isValid()||on(c).isValid())?ti({to:this,from:c}).locale(this.locale()).humanize(!d):this.localeData().invalidDate()}function JA(c){return this.from(on(),c)}function XA(c,d){return this.isValid()&&(L(c)&&c.isValid()||on(c).isValid())?ti({from:this,to:c}).locale(this.locale()).humanize(!d):this.localeData().invalidDate()}function eN(c){return this.to(on(),c)}function ND(c){var d;return c===void 0?this._locale._abbr:(d=Qi(c),d!=null&&(this._locale=d),this)}var RD=V("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(c){return c===void 0?this.localeData():this.locale(c)});function kD(){return this._locale}var Uu=1e3,na=60*Uu,Bu=60*na,OD=(365*400+97)*24*Bu;function ra(c,d){return(c%d+d)%d}function FD(c,d,p){return c<100&&c>=0?new Date(c+400,d,p)-OD:new Date(c,d,p).valueOf()}function PD(c,d,p){return c<100&&c>=0?Date.UTC(c+400,d,p)-OD:Date.UTC(c,d,p)}function tN(c){var d,p;if(c=J(c),c===void 0||c==="millisecond"||!this.isValid())return this;switch(p=this._isUTC?PD:FD,c){case"year":d=p(this.year(),0,1);break;case"quarter":d=p(this.year(),this.month()-this.month()%3,1);break;case"month":d=p(this.year(),this.month(),1);break;case"week":d=p(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":d=p(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":d=p(this.year(),this.month(),this.date());break;case"hour":d=this._d.valueOf(),d-=ra(d+(this._isUTC?0:this.utcOffset()*na),Bu);break;case"minute":d=this._d.valueOf(),d-=ra(d,na);break;case"second":d=this._d.valueOf(),d-=ra(d,Uu);break}return this._d.setTime(d),n.updateOffset(this,!0),this}function nN(c){var d,p;if(c=J(c),c===void 0||c==="millisecond"||!this.isValid())return this;switch(p=this._isUTC?PD:FD,c){case"year":d=p(this.year()+1,0,1)-1;break;case"quarter":d=p(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":d=p(this.year(),this.month()+1,1)-1;break;case"week":d=p(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":d=p(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":d=p(this.year(),this.month(),this.date()+1)-1;break;case"hour":d=this._d.valueOf(),d+=Bu-ra(d+(this._isUTC?0:this.utcOffset()*na),Bu)-1;break;case"minute":d=this._d.valueOf(),d+=na-ra(d,na)-1;break;case"second":d=this._d.valueOf(),d+=Uu-ra(d,Uu)-1;break}return this._d.setTime(d),n.updateOffset(this,!0),this}function rN(){return this._d.valueOf()-(this._offset||0)*6e4}function iN(){return Math.floor(this.valueOf()/1e3)}function oN(){return new Date(this.valueOf())}function sN(){var c=this;return[c.year(),c.month(),c.date(),c.hour(),c.minute(),c.second(),c.millisecond()]}function aN(){var c=this;return{years:c.year(),months:c.month(),date:c.date(),hours:c.hours(),minutes:c.minutes(),seconds:c.seconds(),milliseconds:c.milliseconds()}}function lN(){return this.isValid()?this.toISOString():null}function cN(){return C(this)}function uN(){return h({},y(this))}function dN(){return y(this).overflow}function fN(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}X("N",0,0,"eraAbbr"),X("NN",0,0,"eraAbbr"),X("NNN",0,0,"eraAbbr"),X("NNNN",0,0,"eraName"),X("NNNNN",0,0,"eraNarrow"),X("y",["y",1],"yo","eraYear"),X("y",["yy",2],0,"eraYear"),X("y",["yyy",3],0,"eraYear"),X("y",["yyyy",4],0,"eraYear"),Ae("N",hm),Ae("NN",hm),Ae("NNN",hm),Ae("NNNN",bN),Ae("NNNNN",wN),mt(["N","NN","NNN","NNNN","NNNNN"],function(c,d,p,g){var E=p._locale.erasParse(c,g,p._strict);E?y(p).era=E:y(p).invalidEra=c}),Ae("y",pt),Ae("yy",pt),Ae("yyy",pt),Ae("yyyy",pt),Ae("yo",SN),mt(["y","yy","yyy","yyyy"],A),mt(["yo"],function(c,d,p,g){var E;p._locale._eraYearOrdinalRegex&&(E=c.match(p._locale._eraYearOrdinalRegex)),p._locale.eraYearOrdinalParse?d[A]=p._locale.eraYearOrdinalParse(c,E):d[A]=parseInt(c,10)});function hN(c,d){var p,g,E,O=this._eras||Qi("en")._eras;for(p=0,g=O.length;p<g;++p)switch(typeof O[p].since==="string"&&(E=n(O[p].since).startOf("day"),O[p].since=E.valueOf()),typeof O[p].until){case"undefined":O[p].until=1/0;break;case"string":E=n(O[p].until).startOf("day").valueOf(),O[p].until=E.valueOf();break}return O}function pN(c,d,p){var g,E,O=this.eras(),te,Fe,ot;for(c=c.toUpperCase(),g=0,E=O.length;g<E;++g)if(te=O[g].name.toUpperCase(),Fe=O[g].abbr.toUpperCase(),ot=O[g].narrow.toUpperCase(),p)switch(d){case"N":case"NN":case"NNN":if(Fe===c)return O[g];break;case"NNNN":if(te===c)return O[g];break;case"NNNNN":if(ot===c)return O[g];break}else if([te,Fe,ot].indexOf(c)>=0)return O[g]}function mN(c,d){var p=c.since<=c.until?1:-1;return d===void 0?n(c.since).year():n(c.since).year()+(d-c.offset)*p}function gN(){var c,d,p,g=this.localeData().eras();for(c=0,d=g.length;c<d;++c)if(p=this.clone().startOf("day").valueOf(),g[c].since<=p&&p<=g[c].until||g[c].until<=p&&p<=g[c].since)return g[c].name;return""}function vN(){var c,d,p,g=this.localeData().eras();for(c=0,d=g.length;c<d;++c)if(p=this.clone().startOf("day").valueOf(),g[c].since<=p&&p<=g[c].until||g[c].until<=p&&p<=g[c].since)return g[c].narrow;return""}function yN(){var c,d,p,g=this.localeData().eras();for(c=0,d=g.length;c<d;++c)if(p=this.clone().startOf("day").valueOf(),g[c].since<=p&&p<=g[c].until||g[c].until<=p&&p<=g[c].since)return g[c].abbr;return""}function _N(){var c,d,p,g,E=this.localeData().eras();for(c=0,d=E.length;c<d;++c)if(p=E[c].since<=E[c].until?1:-1,g=this.clone().startOf("day").valueOf(),E[c].since<=g&&g<=E[c].until||E[c].until<=g&&g<=E[c].since)return(this.year()-n(E[c].since).year())*p+E[c].offset;return this.year()}function DN(c){return o(this,"_erasNameRegex")||pm.call(this),c?this._erasNameRegex:this._erasRegex}function EN(c){return o(this,"_erasAbbrRegex")||pm.call(this),c?this._erasAbbrRegex:this._erasRegex}function CN(c){return o(this,"_erasNarrowRegex")||pm.call(this),c?this._erasNarrowRegex:this._erasRegex}function hm(c,d){return d.erasAbbrRegex(c)}function bN(c,d){return d.erasNameRegex(c)}function wN(c,d){return d.erasNarrowRegex(c)}function SN(c,d){return d._eraYearOrdinalRegex||pt}function pm(){var c=[],d=[],p=[],g=[],E,O,te,Fe,ot,bt=this.eras();for(E=0,O=bt.length;E<O;++E)te=Xn(bt[E].name),Fe=Xn(bt[E].abbr),ot=Xn(bt[E].narrow),d.push(te),c.push(Fe),p.push(ot),g.push(te),g.push(Fe),g.push(ot);this._erasRegex=new RegExp("^("+g.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+d.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+c.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+p.join("|")+")","i")}X(0,["gg",2],0,function(){return this.weekYear()%100}),X(0,["GG",2],0,function(){return this.isoWeekYear()%100});function Hu(c,d){X(0,[c,c.length],0,d)}Hu("gggg","weekYear"),Hu("ggggg","weekYear"),Hu("GGGG","isoWeekYear"),Hu("GGGGG","isoWeekYear"),Ae("G",$t),Ae("g",$t),Ae("GG",Le,vt),Ae("gg",Le,vt),Ae("GGGG",Xr,hn),Ae("gggg",Xr,hn),Ae("GGGGG",Wt,dt),Ae("ggggg",Wt,dt),N(["gggg","ggggg","GGGG","GGGGG"],function(c,d,p,g){d[g.substr(0,2)]=rt(c)}),N(["gg","GG"],function(c,d,p,g){d[g]=n.parseTwoDigitYear(c)});function TN(c){return LD.call(this,c,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function IN(c){return LD.call(this,c,this.isoWeek(),this.isoWeekday(),1,4)}function MN(){return Ki(this.year(),1,4)}function xN(){return Ki(this.isoWeekYear(),1,4)}function AN(){var c=this.localeData()._week;return Ki(this.year(),c.dow,c.doy)}function NN(){var c=this.localeData()._week;return Ki(this.weekYear(),c.dow,c.doy)}function LD(c,d,p,g,E){var O;return c==null?Ml(this,g,E).year:(O=Ki(c,g,E),d>O&&(d=O),RN.call(this,c,d,p,g,E))}function RN(c,d,p,g,E){var O=pD(c,d,p,g,E),te=Il(O.year,0,O.dayOfYear);return this.year(te.getUTCFullYear()),this.month(te.getUTCMonth()),this.date(te.getUTCDate()),this}X("Q",0,"Qo","quarter"),Ae("Q",It),mt("Q",function(c,d){d[_]=(rt(c)-1)*3});function kN(c){return c==null?Math.ceil((this.month()+1)/3):this.month((c-1)*3+this.month()%3)}X("D",["DD",2],"Do","date"),Ae("D",Le,an),Ae("DD",Le,vt),Ae("Do",function(c,d){return c?d._dayOfMonthOrdinalParse||d._ordinalParse:d._dayOfMonthOrdinalParseLenient}),mt(["D","DD"],D),mt("Do",function(c,d){d[D]=rt(c.match(Le)[0])});var jD=it("Date",!0);X("DDD",["DDDD",3],"DDDo","dayOfYear"),Ae("DDD",Vr),Ae("DDDD",wn),mt(["DDD","DDDD"],function(c,d,p){p._dayOfYear=rt(c)});function ON(c){var d=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return c==null?d:this.add(c-d,"d")}X("m",["mm",2],0,"minute"),Ae("m",Le,Ve),Ae("mm",Le,vt),mt(["m","mm"],F);var FN=it("Minutes",!1);X("s",["ss",2],0,"second"),Ae("s",Le,Ve),Ae("ss",Le,vt),mt(["s","ss"],G);var PN=it("Seconds",!1);X("S",0,0,function(){return~~(this.millisecond()/100)}),X(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),X(0,["SSS",3],0,"millisecond"),X(0,["SSSS",4],0,function(){return this.millisecond()*10}),X(0,["SSSSS",5],0,function(){return this.millisecond()*100}),X(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3}),X(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4}),X(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5}),X(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6}),Ae("S",Vr,It),Ae("SS",Vr,vt),Ae("SSS",Vr,wn);var Ao,VD;for(Ao="SSSS";Ao.length<=9;Ao+="S")Ae(Ao,pt);function LN(c,d){d[q]=rt(("0."+c)*1e3)}for(Ao="S";Ao.length<=9;Ao+="S")mt(Ao,LN);VD=it("Milliseconds",!1),X("z",0,0,"zoneAbbr"),X("zz",0,0,"zoneName");function jN(){return this._isUTC?"UTC":""}function VN(){return this._isUTC?"Coordinated Universal Time":""}var be=Z.prototype;be.add=NA,be.calendar=jA,be.clone=VA,be.diff=WA,be.endOf=nN,be.format=KA,be.from=QA,be.fromNow=JA,be.to=XA,be.toNow=eN,be.get=Q,be.invalidAt=dN,be.isAfter=UA,be.isBefore=BA,be.isBetween=HA,be.isSame=$A,be.isSameOrAfter=zA,be.isSameOrBefore=GA,be.isValid=cN,be.lang=RD,be.locale=ND,be.localeData=kD,be.max=cA,be.min=lA,be.parsingFlags=uN,be.set=ue,be.startOf=tN,be.subtract=RA,be.toArray=sN,be.toObject=aN,be.toDate=oN,be.toISOString=qA,be.inspect=ZA,typeof Symbol<"u"&&Symbol.for!=null&&(be[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),be.toJSON=lN,be.toString=YA,be.unix=iN,be.valueOf=rN,be.creationData=fN,be.eraName=gN,be.eraNarrow=vN,be.eraAbbr=yN,be.eraYear=_N,be.year=ke,be.isLeapYear=jt,be.weekYear=TN,be.isoWeekYear=IN,be.quarter=be.quarters=kN,be.month=ea,be.daysInMonth=ox,be.week=be.weeks=hx,be.isoWeek=be.isoWeeks=px,be.weeksInYear=AN,be.weeksInWeekYear=NN,be.isoWeeksInYear=MN,be.isoWeeksInISOWeekYear=xN,be.date=jD,be.day=be.days=Ix,be.weekday=Mx,be.isoWeekday=xx,be.dayOfYear=ON,be.hour=be.hours=Px,be.minute=be.minutes=FN,be.second=be.seconds=PN,be.millisecond=be.milliseconds=VD,be.utcOffset=yA,be.utc=DA,be.local=EA,be.parseZone=CA,be.hasAlignedHourOffset=bA,be.isDST=wA,be.isLocal=TA,be.isUtcOffset=IA,be.isUtc=TD,be.isUTC=TD,be.zoneAbbr=jN,be.zoneName=VN,be.dates=V("dates accessor is deprecated. Use date instead.",jD),be.months=V("months accessor is deprecated. Use month instead",ea),be.years=V("years accessor is deprecated. Use year instead",ke),be.zone=V("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",_A),be.isDSTShifted=V("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",SA);function UN(c){return on(c*1e3)}function BN(){return on.apply(null,arguments).parseZone()}function UD(c){return c}var Mt=me.prototype;
11Mt.calendar=ne,Mt.longDateFormat=nt,Mt.invalidDate=Lt,Mt.ordinal=M,Mt.preparse=UD,Mt.postformat=UD,Mt.relativeTime=U,Mt.pastFuture=B,Mt.set=oe,Mt.eras=hN,Mt.erasParse=pN,Mt.erasConvertYear=mN,Mt.erasAbbrRegex=EN,Mt.erasNameRegex=DN,Mt.erasNarrowRegex=CN,Mt.months=qt,Mt.monthsShort=ei,Mt.monthsParse=ku,Mt.monthsRegex=ax,Mt.monthsShortRegex=sx,Mt.week=cx,Mt.firstDayOfYear=fx,Mt.firstDayOfWeek=dx,Mt.weekdays=Cx,Mt.weekdaysMin=wx,Mt.weekdaysShort=bx,Mt.weekdaysParse=Tx,Mt.weekdaysRegex=Ax,Mt.weekdaysShortRegex=Nx,Mt.weekdaysMinRegex=Rx,Mt.isPM=Ox,Mt.meridiem=Lx;function $u(c,d,p,g){var E=Qi(),O=m().set(g,d);return E[p](O,c)}function BD(c,d,p){if(l(c)&&(d=c,c=void 0),c=c||"",d!=null)return $u(c,d,p,"month");var g,E=[];for(g=0;g<12;g++)E[g]=$u(c,g,p,"month");return E}function mm(c,d,p,g){typeof c=="boolean"?(l(d)&&(p=d,d=void 0),d=d||""):(d=c,p=d,c=!1,l(d)&&(p=d,d=void 0),d=d||"");var E=Qi(),O=c?E._week.dow:0,te,Fe=[];if(p!=null)return $u(d,(p+O)%7,g,"day");for(te=0;te<7;te++)Fe[te]=$u(d,(te+O)%7,g,"day");return Fe}function HN(c,d){return BD(c,d,"months")}function $N(c,d){return BD(c,d,"monthsShort")}function zN(c,d,p){return mm(c,d,p,"weekdays")}function GN(c,d,p){return mm(c,d,p,"weekdaysShort")}function WN(c,d,p){return mm(c,d,p,"weekdaysMin")}xo("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(c){var d=c%10,p=rt(c%100/10)===1?"th":d===1?"st":d===2?"nd":d===3?"rd":"th";return c+p}}),n.lang=V("moment.lang is deprecated. Use moment.locale instead.",xo),n.langData=V("moment.langData is deprecated. Use moment.localeData instead.",Qi);var Ji=Math.abs;function YN(){var c=this._data;return this._milliseconds=Ji(this._milliseconds),this._days=Ji(this._days),this._months=Ji(this._months),c.milliseconds=Ji(c.milliseconds),c.seconds=Ji(c.seconds),c.minutes=Ji(c.minutes),c.hours=Ji(c.hours),c.months=Ji(c.months),c.years=Ji(c.years),this}function HD(c,d,p,g){var E=ti(d,p);return c._milliseconds+=g*E._milliseconds,c._days+=g*E._days,c._months+=g*E._months,c._bubble()}function qN(c,d){return HD(this,c,d,1)}function ZN(c,d){return HD(this,c,d,-1)}function $D(c){return c<0?Math.floor(c):Math.ceil(c)}function KN(){var c=this._milliseconds,d=this._days,p=this._months,g=this._data,E,O,te,Fe,ot;return c>=0&&d>=0&&p>=0||c<=0&&d<=0&&p<=0||(c+=$D(gm(p)+d)*864e5,d=0,p=0),g.milliseconds=c%1e3,E=mn(c/1e3),g.seconds=E%60,O=mn(E/60),g.minutes=O%60,te=mn(O/60),g.hours=te%24,d+=mn(te/24),ot=mn(zD(d)),p+=ot,d-=$D(gm(ot)),Fe=mn(p/12),p%=12,g.days=d,g.months=p,g.years=Fe,this}function zD(c){return c*4800/146097}function gm(c){return c*146097/4800}function QN(c){if(!this.isValid())return NaN;var d,p,g=this._milliseconds;if(c=J(c),c==="month"||c==="quarter"||c==="year")switch(d=this._days+g/864e5,p=this._months+zD(d),c){case"month":return p;case"quarter":return p/3;case"year":return p/12}else switch(d=this._days+Math.round(gm(this._months)),c){case"week":return d/7+g/6048e5;case"day":return d+g/864e5;case"hour":return d*24+g/36e5;case"minute":return d*1440+g/6e4;case"second":return d*86400+g/1e3;case"millisecond":return Math.floor(d*864e5)+g;default:throw new Error("Unknown unit "+c)}}function Xi(c){return function(){return this.as(c)}}var GD=Xi("ms"),JN=Xi("s"),XN=Xi("m"),eR=Xi("h"),tR=Xi("d"),nR=Xi("w"),rR=Xi("M"),iR=Xi("Q"),oR=Xi("y"),sR=GD;function aR(){return ti(this)}function lR(c){return c=J(c),this.isValid()?this[c+"s"]():NaN}function os(c){return function(){return this.isValid()?this._data[c]:NaN}}var cR=os("milliseconds"),uR=os("seconds"),dR=os("minutes"),fR=os("hours"),hR=os("days"),pR=os("months"),mR=os("years");function gR(){return mn(this.days()/7)}var eo=Math.round,ia={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function vR(c,d,p,g,E){return E.relativeTime(d||1,!!p,c,g)}function yR(c,d,p,g){var E=ti(c).abs(),O=eo(E.as("s")),te=eo(E.as("m")),Fe=eo(E.as("h")),ot=eo(E.as("d")),bt=eo(E.as("M")),er=eo(E.as("w")),to=eo(E.as("y")),No=O<=p.ss&&["s",O]||O<p.s&&["ss",O]||te<=1&&["m"]||te<p.m&&["mm",te]||Fe<=1&&["h"]||Fe<p.h&&["hh",Fe]||ot<=1&&["d"]||ot<p.d&&["dd",ot];return p.w!=null&&(No=No||er<=1&&["w"]||er<p.w&&["ww",er]),No=No||bt<=1&&["M"]||bt<p.M&&["MM",bt]||to<=1&&["y"]||["yy",to],No[2]=d,No[3]=+c>0,No[4]=g,vR.apply(null,No)}function _R(c){return c===void 0?eo:typeof c=="function"?(eo=c,!0):!1}function DR(c,d){return ia[c]===void 0?!1:d===void 0?ia[c]:(ia[c]=d,c==="s"&&(ia.ss=d-1),!0)}function ER(c,d){if(!this.isValid())return this.localeData().invalidDate();var p=!1,g=ia,E,O;return typeof c=="object"&&(d=c,c=!1),typeof c=="boolean"&&(p=c),typeof d=="object"&&(g=Object.assign({},ia,d),d.s!=null&&d.ss==null&&(g.ss=d.s-1)),E=this.localeData(),O=yR(this,!p,g,E),p&&(O=E.pastFuture(+this,O)),E.postformat(O)}var vm=Math.abs;function oa(c){return(c>0)-(c<0)||+c}function zu(){if(!this.isValid())return this.localeData().invalidDate();var c=vm(this._milliseconds)/1e3,d=vm(this._days),p=vm(this._months),g,E,O,te,Fe=this.asSeconds(),ot,bt,er,to;return Fe?(g=mn(c/60),E=mn(g/60),c%=60,g%=60,O=mn(p/12),p%=12,te=c?c.toFixed(3).replace(/\.?0+$/,""):"",ot=Fe<0?"-":"",bt=oa(this._months)!==oa(Fe)?"-":"",er=oa(this._days)!==oa(Fe)?"-":"",to=oa(this._milliseconds)!==oa(Fe)?"-":"",ot+"P"+(O?bt+O+"Y":"")+(p?bt+p+"M":"")+(d?er+d+"D":"")+(E||g||c?"T":"")+(E?to+E+"H":"")+(g?to+g+"M":"")+(c?to+te+"S":"")):"P0D"}var St=Lu.prototype;St.isValid=pA,St.abs=YN,St.add=qN,St.subtract=ZN,St.as=QN,St.asMilliseconds=GD,St.asSeconds=JN,St.asMinutes=XN,St.asHours=eR,St.asDays=tR,St.asWeeks=nR,St.asMonths=rR,St.asQuarters=iR,St.asYears=oR,St.valueOf=sR,St._bubble=KN,St.clone=aR,St.get=lR,St.milliseconds=cR,St.seconds=uR,St.minutes=dR,St.hours=fR,St.days=hR,St.weeks=gR,St.months=pR,St.years=mR,St.humanize=ER,St.toISOString=zu,St.toString=zu,St.toJSON=zu,St.locale=ND,St.localeData=kD,St.toIsoString=V("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",zu),St.lang=RD,X("X",0,0,"unix"),X("x",0,0,"valueOf"),Ae("x",$t),Ae("X",$n),mt("X",function(c,d,p){p._d=new Date(parseFloat(c)*1e3)}),mt("x",function(c,d,p){p._d=new Date(rt(c))});return n.version="2.30.1",e(on),n.fn=be,n.min=uA,n.max=dA,n.now=fA,n.utc=m,n.unix=UN,n.months=HN,n.isDate=u,n.locale=xo,n.invalid=S,n.duration=ti,n.isMoment=L,n.weekdays=zN,n.parseZone=BN,n.localeData=Qi,n.isDuration=ju,n.monthsShort=$N,n.weekdaysMin=WN,n.defineLocale=im,n.updateLocale=Bx,n.locales=Hx,n.weekdaysShort=GN,n.normalizeUnits=J,n.relativeTimeRounding=_R,n.relativeTimeThreshold=DR,n.calendarFormat=LA,n.prototype=be,n.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},n})});var NI=Wu((M_,AI)=>{"use strict";(function(t,n){typeof define=="function"&&define.amd?define(["moment"],function(e){return t.moment=n(e),t.moment}):typeof M_=="object"?AI.exports=n(xI()):t.moment=n(t.moment)})(M_,function(t){if(t==null)throw new Error("Cannot find moment");var n={ummalquraData:(function(){let M=[29,29,30,29,30,29,30,30,29,29,30,29,30,29,30,29,30,29,30,29,30,29,30,30,30,30,29,30,29,29,30,29,29,30,30,29,30,30,30,29,30,29,29,30,29,29,30,29,30,29,30,29,30,29,30,29,30,29,30,30,30,29,30,29,30,29,30,29,30,29,30,29,30,29,30,29,30,29,30,29,30,29,30,29,30,29,30,29,30,29,30,29,30,29,30,30,30,29,30,29,30,29,30,28,30,30,30,29,30,29,30,29,30,29,30,29,30,29,30,30,30,29,30,29,30,29,30,29,30,29,30,29,30,29,30,29,30,29,30,29,30,29,30,29,30,29,30,29,30,29,30,29,30,29,30,30,30,29,30,29,30,29,30,30,29,30,30,29,30,29,30,29,30,29,30,29,30,29,30,29,30,29,30,29,29,30,29,30,29,30,30,30,29,30,29,30,29,30,29,29,30,29,30,30,29,30,29,30,29,30,29,30,29,30,29,30,30,29,30,29,30,29,30,30,29,29,30,30,30,29,30,29,30,29,30,29,29,30,30,29,29,30,29,29,30,30,30,29,30,29,30,29,30,29,29,30,29,30,29,30,30,29,30,30,30,29,30,29,30,29,30,29,30,29,30,29,29,30,29,30,29,30,29,30,29,30,29,30,30,29,30,29,30,29,30,29,30,29,30,29,30,29,30,30,29,30,29,29,30,29,30,29,30,29,30,30,29,30,30,29,29,30,29,30,29,30,29,30,30,29,30,29,30,29,30,29,30,29,30,29,30,29,30,29,30,29,30,29,30,29,30,30,29,29,30,29,30,30,30,29,30,30,29,29,30,29,30,29,30,29,30,30,29,29,30,29,30,29,30,29,30,29,30,30,29,30,30,29,30,29,30,29,30,29,30,29,30,29,30,29,30,29,30,29,30,29,30,30,30,29,30,29,30,29,30,30,29,30,29,29,30,29,30,29,30,29,30,29,30,29,30,30,29,29,30,29,30,29,30,29,30,29,30,30,30,29,30,29,29,29,30,29,30,29,30,30,30,29,30,29,30,29,30,29,29,30,30,29,30,29,30,30,29,30,29,29,30,29,30,29,30,29,30,30,30,29,30,29,29,30,29,30,29,30,29,30,30,29,30,29,30,29,30,29,30,29,30,29,30,29,30,30,29,30,29,30,29,30,29,30,29,30,29,30,29,30,30,29,30,30,29,30,29,29,30,29,30,29,30,30,29,30,29,30,29,30,29,29,30,29,30,29,30,30,30,29,30,29,30,29,29,30,29,30,29,30,30,30,29,30,29,30,29,29,30,29,29,30,30,29,30,30,30,29,30,29,29,30,29,29,30,30,29,30,30,29,30,29,30,29,30,29,30,29,30,29,30,29,30,30,29,30,29,30,29,30,29,30,29,30,29,30,29,30,30,29,30,29,30,29,30,29,29,30,29,30,30,29,30,30,29,30,29,30,29,29,30,29,30,29,30,30,30,29,30,29,30,29,29,30,29,30,29,30,30,29,30,30,29,30,29,29,30,29,29,30,30,29,30,30,30,29,30,29,29,30,29,29,30,30,29,30,30,29,30,30,29,29,30,29,29,30,29,30,30,30,29,30,29,30,29,30,29,29,30,29,30,30,29,30,30,29,30,29,30,29,30,29,29,30,29,30,30,29,30,29,30,30,29,30,29,30,29,29,30,29,30,29,30,30,30,29,30,29,30,29,29,30,29,30,29,30,30,29,30,30,29,30,29,30,29,29,30,29,30,30,30,30,29,30,29,29,30,29,29,29,30,30,30,30,29,30,30,29,29,30,29,29,29,30,30,30,29,30,30,29,30,29,30,29,29,30,29,30,29,30,30,29,30,30,29,30,29,29,30,29,30,29,30,29,30,30,29,30,29,30,30,29,30,29,29,30,29,30,29,30,30,29,30,30,29,30,29,29,30,29,29,30,30,30,29,30,30,29,30,29,29,30,29,29,30,30,30,29,30,30,29,30,29,29,30,29,29,30,30,29,30,30,29,30,30,29,29,30,29,30,29,30,29,30,29,30,30,29,30,29,30,29,30,29,29,30,29,30,30,30,29,30,29,30,29,30,29,29,30,29,30,30,29,30,30,29,30,29,30,29,29,30,29,30,29,30,30,29,30,30,29,29,30,29,30,29,30,29,30,29,30,30,29,30,29,30,29,30,29,30,29,30,29,30,29,30,30,29,30,30,29,29,30,29,30,29,29,30,30,29,30,30,30,29,29,30,29,29,30,29,30,29,30,30,30,29,30,29,30,29,29,30,29,30,29,30,30,30,29,30,29,30,29,29,30,29,30,29,30,30,29,30,30,29,30,29,29,30,29,30,29,30,29,30,30,29,30,29,30,29,30,29,30,29,30,29,30,29,30,30,29,30,29,30,30,29,29,30,29,30,29,30,29,30,30,30,29,30,29,29,30,29,29,30,29,30,30,30,29,30,30,29,29,30,29,29,30,29,30,30,30,29,30,29,30,29,30,29,29,30,29,30,30,29,30,30,29,30,29,30,29,29,30,29,30,29,30,30,29,30,30,29,30,29,30,29,29,30,29,30,29,30,30,29,30,30,29,30,29,29,30,29,30,29,30,29,30,30,30,29,30,29,29,30,29,30,29,30,29,30,30,30,29,29,30,29,30,29,30,29,29,30,30,30,29,30,29,30,29,30,29,30,29,29,30,30,29,30,29,30,30,29,30,29,30,29,29,30,29,30,29,30,30,30,29,30,29,30,29,29,30,29,29,30,30,29,30,30,30,29,30,29,29,30,29,29,30,30,29,30,30,30,29,30,29,29,30,29,29,30,30,29,30,30,29,30,29,30,29,30,29,29,30,30,29,30,29,30,30,29,30,29,30,29,30,29,30,29,30,29,30,29,30,29,30,30,29,30,29,30,29,29,30,29,30,30,29,30,30,29,30,29,30,29,29,30,29,30,29,30,30,30,29,30,29,30,29,29,30,29,29,30,30,30,30,29,30,29,30,29,29,30,29,30,29,30,30,29,30,30,29,30,29,29,30,29,30,29,30,29,30,30,29,30,29,30,29,30,29,30,29,29,30,30,29,30,30,29,30,30,29,29,30,29,29,30,30,29,30,29,30,30,30,29,29,30,29,29,30,29,30,30,29,30,30,29,30,29,30,29,30,29,29,30,29,30,30,29,30,29,30,30,29,30,29,29,30,29,30,29,30,30,29,30,30,29,30,29,29,30,29,30,29,30,29,30,30,30,29,30,29,29,30,29,29,30,29,30,30,30,29,30,30,29,29,30,29,29,30,29,30,30,29,30,30,30,29,29,30,29,29,30,29,30,30,29,30,30,29,30,29,30,29,29,30,29,30,29,30,30,29,30,29,30,30,29,29,30,29,30,29,30,29,30,29,30,30,29,30,30,29,30,29,29,30,29,30,29,30,30,29,30,30,29,30,29,29,30,29,29,30,30,29,30,30,30,29,30,29,29,30,29,29,30,30,29,30,30,29,30,30,29,29,30,29,29,30,30,29,30,29,30,30,30,29,29,30,29,30,29,30,29,30,29,30,30,29,30,29,30,29,30,29,29,30,29,30,30,29,30,30,29,30,29,30,29,29,30,29,30,29,30,30,30,29,30,29,30,29,29,30,29,30,29,30,30,29,30,30,29,30,29,29,30,29,30,29,30,29,30,30,29,30,29,30,30,29,29,30,29,30,29,30,29,30,30,29,30,30,29,29,30,29,30,29,29,30,30,29,30,30,30,29,29,30,29,29,30,29,30,29,30,30,30,29,30,29,30,29,29,30,29,30,29,30,30,30,29,30,29,30,29,29,30,29,30,29,30,30,29,30,30,29,29,30,29,30,29,30,29,30,29,30,30,29,30,29,30,29,30,29,30,29,30,29,30,29,30,29,30,30,29,30,30,29,29,30,29,29,30,29,30,30,30],R=28607,U=[R];return M.forEach(B=>{R+=B,U.push(R)}),U})()},e=/(\[[^\[]*\])|(\\)?i(Mo|MM?M?M?|Do|DDDo|DD?D?D?|w[o|w]?|YYYYY|YYYY|YY|gg(ggg?)?)|(\\)?(Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|mm?|ss?|SS?S?|X|zz?|ZZ?|.)/g,r=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,i=/\d\d?/,o=/\d{1,3}/,s=/\d{3}/,a=/\d{1,4}/,l=/[+\-]?\d{1,6}/,u=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+(\.?)|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,f=/Z|[\+\-]\d\d:?\d\d/i,h=/T/i,m=/[\+\-]?\d+(\.\d{1,3})?/,v={hd:"idate",hm:"imonth",hy:"iyear"},y={},w="DDD w M D".split(" "),C="M D w".split(" "),S={iM:function(){return this.iMonth()+1},iMMM:function(M){return this.localeData().iMonthsShort(this,M)},iMMMM:function(M){return this.localeData().iMonths(this,M)},iD:function(){return this.iDate()},iDDD:function(){return this.iDayOfYear()},iw:function(){return this.iWeek()},iYY:function(){return L(this.iYear()%100,2)},iYYYY:function(){return L(this.iYear(),4)},iYYYYY:function(){return L(this.iYear(),5)},igg:function(){return L(this.iWeekYear()%100,2)},igggg:function(){return this.iWeekYear()},iggggg:function(){return L(this.iWeekYear(),5)}},x;function j(M,R){return function(U){return L(M.call(this,U),R)}}function P(M,R){return function(U){return this.localeData().ordinal(M.call(this,U),R)}}for(;w.length;)x=w.pop(),S["i"+x+"o"]=P(S["i"+x],x);for(;C.length;)x=C.pop(),S["i"+x+x]=j(S["i"+x],2);S.iDDDD=j(S.iDDD,3);function Z(M,R){var U;for(U in R)R.hasOwnProperty(U)&&(M[U]=R[U]);return M}function L(M,R){for(var U=M+"";U.length<R;)U="0"+U;return U}function ie(M){return Object.prototype.toString.call(M)==="[object Array]"}function V(M){return M&&(v[M]||M.toLowerCase().replace(/(.)s$/,"$1"))}function z(M,R,U,B){var de=M._isUTC?"UTC":"";M._d["set"+de+"FullYear"](R),M._d["set"+de+"Month"](U),M._d["set"+de+"Date"](B)}function H(M){function R(){}return R.prototype=M,new R}function K(M){return Object.getPrototypeOf?Object.getPrototypeOf(M):"".__proto__?M.__proto__:M.constructor.prototype}Z(K(t.localeData()),{_iMonths:["Muharram","Safar","Rabi' al-Awwal","Rabi' al-Thani","Jumada al-Ula","Jumada al-Alkhirah","Rajab","Sha\u2019ban","Ramadhan","Shawwal","Thul-Qi\u2019dah","Thul-Hijjah"],iMonths:function(M){return this._iMonths[M.iMonth()]},_iMonthsShort:["Muh","Saf","Rab-I","Rab-II","Jum-I","Jum-II","Raj","Sha","Ram","Shw","Dhu-Q","Dhu-H"],iMonthsShort:function(M){return this._iMonthsShort[M.iMonth()]}
11,iMonthsParse:function(M){var R,U,B;for(this._iMonthsParse||(this._iMonthsParse=[]),R=0;R<12;R+=1)if(this._iMonthsParse[R]||(U=X([2e3,(2+R)%12,25]),B="^"+this.iMonths(U,"")+"$|^"+this.iMonthsShort(U,"")+"$",this._iMonthsParse[R]=new RegExp(B.replace(".",""),"i")),this._iMonthsParse[R].test(M))return R}});var oe={iMonths:"\u0645\u062D\u0631\u0645_\u0635\u0641\u0631_\u0631\u0628\u064A\u0639 \u0627\u0644\u0623\u0648\u0644_\u0631\u0628\u064A\u0639 \u0627\u0644\u062B\u0627\u0646\u064A_\u062C\u0645\u0627\u062F\u0649 \u0627\u0644\u0623\u0648\u0644\u0649_\u062C\u0645\u0627\u062F\u0649 \u0627\u0644\u0622\u062E\u0631\u0629_\u0631\u062C\u0628_\u0634\u0639\u0628\u0627\u0646_\u0631\u0645\u0636\u0627\u0646_\u0634\u0648\u0627\u0644_\u0630\u0648 \u0627\u0644\u0642\u0639\u062F\u0629_\u0630\u0648 \u0627\u0644\u062D\u062C\u0629".split("_"),iMonthsShort:"\u0645\u062D\u0631\u0645_\u0635\u0641\u0631_\u0631\u0628\u064A\u0639 \u0661_\u0631\u0628\u064A\u0639 \u0662_\u062C\u0645\u0627\u062F\u0649 \u0661_\u062C\u0645\u0627\u062F\u0649 \u0662_\u0631\u062C\u0628_\u0634\u0639\u0628\u0627\u0646_\u0631\u0645\u0636\u0627\u0646_\u0634\u0648\u0627\u0644_\u0630\u0648 \u0627\u0644\u0642\u0639\u062F\u0629_\u0630\u0648 \u0627\u0644\u062D\u062C\u0629".split("_")};if(typeof t.updateLocale=="function")t.updateLocale("ar-sa",oe);else{var le=t.locale();t.defineLocale("ar-sa",oe),t.locale(le)}function me(M){var R=M.match(e),U=R.length,B;for(B=0;B<U;B+=1)S[R[B]]&&(R[B]=S[R[B]]);return function(de){var J="";for(B=0;B<U;B+=1)J+=R[B]instanceof Function?"["+R[B].call(de,M)+"]":R[B];return J}}function xe(M,R){switch(M){case"iDDDD":return s;case"iYYYY":return a;case"iYYYYY":return l;case"iDDD":return o;case"iMMM":case"iMMMM":return u;case"iMM":case"iDD":case"iYY":case"iM":case"iD":return i;case"DDDD":return s;case"YYYY":return a;case"YYYYY":return l;case"S":case"SS":case"SSS":case"DDD":return o;case"MMM":case"MMMM":case"dd":case"ddd":case"dddd":return u;case"a":case"A":return t.localeData(R._l)._meridiemParse;case"X":return m;case"Z":case"ZZ":return f;case"T":return h;case"MM":case"DD":case"YY":case"HH":case"hh":case"mm":case"ss":case"M":case"D":case"d":case"H":case"h":case"m":case"s":return i;default:return new RegExp(M.replace("\\",""))}}function Y(M,R,U){var B,de=U._a;switch(M){case"iM":case"iMM":de[1]=R==null?0:~~R-1;break;case"iMMM":case"iMMMM":B=t.localeData(U._l).iMonthsParse(R),B!=null?de[1]=B:U._isValid=!1;break;case"iD":case"iDD":case"iDDD":case"iDDDD":R!=null&&(de[2]=~~R);break;case"iYY":de[0]=~~R+(~~R>47?1300:1400);break;case"iYYYY":case"iYYYYY":de[0]=~~R}R==null&&(U._isValid=!1)}function ne(M){var R,U,B=M._a[0],de=M._a[1],J=M._a[2];return B==null&&de==null&&J==null?[0,0,1]:(B=B||0,de=de||0,J=J||1,(J<1||J>X.iDaysInMonth(B,de))&&(M._isValid=!1),R=$e(B,de,J),U=Pe(R.gy,R.gm,R.gd),M._hDiff=0,~~U.hy!==B&&(M._hDiff+=1),~~U.hm!==de&&(M._hDiff+=1),~~U.hd!==J&&(M._hDiff+=1),[R.gy,R.gm,R.gd])}function se(M){var R=M._f.match(e),U=M._i,B=R.length,de,J,ee;for(M._a=[],de=0;de<B;de+=1)J=R[de],ee=(xe(J,M).exec(U)||[])[0],ee&&(U=U.slice(U.indexOf(ee)+ee.length)),S[J]&&Y(J,ee,M);return U&&(M._il=U),ne(M)}function Me(M,R){var U=M._f.length,B,de,J,ee,Te,Ne;if(U===0)return We(new Date(NaN));for(B=0;B<U;B+=1)de=M._f[B],Te=0,J=We(M._i,de,M._l,R),J.isValid()&&(Te+=J._hDiff,J._il&&(Te+=J._il.length),(Ne==null||Te<Ne)&&(Ne=Te,ee=J));return ee}function je(M){var R=M._i,U="",B="",de=M._f.match(e),J=de.length,ee,Te,Ne;for(ee=0;ee<J;ee+=1)Te=de[ee],Ne=(xe(Te,M).exec(R)||[])[0],Ne&&(R=R.slice(R.indexOf(Ne)+Ne.length)),S[Te]instanceof Function||(B+=Te,Ne&&(U+=Ne));M._i=U,M._f=B}function ze(M,R,U){var B=U-R,de=U-M.day(),J;return de>B&&(de-=7),de<B-7&&(de+=7),J=X(M).add(de,"d"),{week:Math.ceil(J.iDayOfYear()/7),year:J.iYear()}}function We(M,R,U,B){var de={_i:M,_f:R,_l:U},J,ee,Te;if(R){if(ie(R))return Me(de,B);J=se(de),je(de),R="YYYY-MM-DD-"+de._f,M=L(J[0],4)+"-"+L(J[1]+1,2)+"-"+L(J[2],2)+"-"+de._i}return B?ee=t.utc(M,R,U):ee=t(M,R,U),de._isValid===!1&&(ee._isValid=!1),ee._hDiff=de._hDiff||0,Te=H(X.fn),Z(Te,ee),Te}function X(M,R,U){return We(M,R,U,!1)}Z(X,t),X.fn=H(t.fn),X.utc=function(M,R,U){return We(M,R,U,!0)},X.fn.format=function(M){var R,U,B=this;if(M){for(R=5,U=function(de){return B.localeData().longDateFormat(de)||de};R>0&&r.test(M);)R-=1,M=M.replace(r,U);y[M]||(y[M]=me(M)),M=y[M](this)}return t.fn.format.call(this,M)},X.fn.iYear=function(M){var R,U,B;return typeof M=="number"?(U=Pe(this.year(),this.month(),this.date()),R=Math.min(U.hd,X.iDaysInMonth(M,U.hm)),B=$e(M,U.hm,R),z(this,B.gy,B.gm,B.gd),(this.month()!==B.gm||this.date()!==B.gd||this.year()!==B.gy)&&z(this,B.gy,B.gm,B.gd),t.updateOffset(this),this):Pe(this.year(),this.month(),this.date()).hy},X.fn.iMonth=function(M){var R,U,B;
11if(M!=null){if(typeof M=="string")if(M=this.localeData().iMonthsParse(M),M>=0)M-=1;else return this;return U=Pe(this.year(),this.month(),this.date()),R=Math.min(U.hd,X.iDaysInMonth(U.hy,M)),this.iYear(U.hy+Ue(M,12)),M=Be(M,12),M<0&&(M+=12,this.iYear(this.iYear()-1)),B=$e(this.iYear(),M,R),z(this,B.gy,B.gm,B.gd),(this.month()!==B.gm||this.date()!==B.gd||this.year()!==B.gy)&&z(this,B.gy,B.gm,B.gd),t.updateOffset(this),this}else return Pe(this.year(),this.month(),this.date()).hm},X.fn.iDate=function(M){var R,U;return typeof M=="number"?(R=Pe(this.year(),this.month(),this.date()),U=$e(R.hy,R.hm,M),z(this,U.gy,U.gm,U.gd),(this.month()!==U.gm||this.date()!==U.gd||this.year()!==U.gy)&&z(this,U.gy,U.gm,U.gd),t.updateOffset(this),this):Pe(this.year(),this.month(),this.date()).hd},X.fn.iDayOfYear=function(M){var R=Math.round((X(this).startOf("day")-X(this).startOf("iYear"))/864e5)+1;return M==null?R:this.add(M-R,"d")},X.fn.iDaysInMonth=function(){return parseInt(X(this).endOf("iMonth").format("iDD"))},X.fn.iWeek=function(M){var R=ze(this,this.localeData()._week.dow,this.localeData()._week.doy).week;return M==null?R:this.add((M-R)*7,"d")},X.fn.iWeekYear=function(M){var R=ze(this,this.localeData()._week.dow,this.localeData()._week.doy).year;return M==null?R:this.add(M-R,"y")},X.fn.add=function(M,R){var U;return R!==null&&!isNaN(+R)&&(U=M,M=R,R=U),R=V(R),R==="iyear"?this.iYear(this.iYear()+M):R==="imonth"?this.iMonth(this.iMonth()+M):R==="idate"?this.iDate(this.iDate()+M):t.fn.add.call(this,M,R),this},X.fn.subtract=function(M,R){var U;return R!==null&&!isNaN(+R)&&(U=M,M=R,R=U),R=V(R),R==="iyear"?this.iYear(this.iYear()-M):R==="imonth"?this.iMonth(this.iMonth()-M):R==="idate"?this.iDate(this.iDate()-M):t.fn.subtract.call(this,M,R),this},X.fn.startOf=function(M){return M=V(M),M==="iyear"||M==="imonth"?(M==="iyear"&&this.iMonth(0),this.iDate(1),this.hours(0),this.minutes(0),this.seconds(0),this.milliseconds(0),this):t.fn.startOf.call(this,M)},X.fn.endOf=function(M){return M=V(M),M===void 0||M==="milisecond"?this:this.startOf(M).add(1,M==="isoweek"?"week":M).subtract(1,"milliseconds")},X.fn.clone=function(){return X(this)},X.fn.iYears=X.fn.iYear,X.fn.iMonths=X.fn.iMonth,X.fn.iDates=X.fn.iDate,X.fn.iWeeks=X.fn.iWeek,X.iDaysInMonth=function(M,R){var U=nn(M,R+1),B=n.ummalquraData[U]-n.ummalquraData[U-1];return B};function Pe(M,R,U){var B=nt(tn(M,R+1,U));return B.hm-=1,B}function $e(M,R,U){var B=Lt(st(M,R+1,U));return B.gm-=1,B}return X.iConvert={toHijri:Pe,toGregorian:$e},X;function Ue(M,R){return~~(M/R)}function Be(M,R){return M-~~(M/R)*R}function st(M,R,U){var B=nn(M,R),de=U+n.ummalquraData[B-1]-1,J=de+24e5;return J}function nt(M){var R=M-24e5,U=Je(R),B=U+16260,de=Math.floor((B-1)/12),J=de+1,ee=B-12*de,Te=R-n.ummalquraData[U-1]+1;return{hy:J,hm:ee,hd:Te}}function tn(M,R,U){var B=Ue((M+Ue(R-8,6)+100100)*1461,4)+Ue(153*Be(R+9,12)+2,5)+U-34840408;return B=B-Ue(Ue(M+100100+Ue(R-8,6),100)*3,4)+752,B}function Lt(M){var R,U,B,de,J;return R=4*M+139361631,R=R+Ue(Ue(4*M+183187720,146097)*3,4)*4-3908,U=Ue(Be(R,1461),4)*5+308,B=Ue(Be(U,153),5)+1,de=Be(Ue(U,153),12)+1,J=Ue(R,1461)-100100+Ue(8-de,6),{gy:J,gm:de,gd:B}}function nn(M,R){var U=M-1,B=U*12+1+(R-1),de=B-16260;return de}function Je(M){for(var R=0;R<n.ummalquraData.length;R=R+1)if(n.ummalquraData[R]>M)return R}})});var JI=Wu((F_,P_)=>{"use strict";(function(t,n){typeof define=="function"&&define.amd?define([],n):typeof F_<"u"?n():(n(),t.FileSaver={})})(F_,function(){"use strict";function t(a,l){return typeof l>"u"?l={autoBom:!1}:typeof l!="object"&&(console.warn("Deprecated: Expected third argument to be a object"),l={autoBom:!l}),l.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(a.type)?new Blob(["\uFEFF",a],{type:a.type}):a}function n(a,l,u){var f=new XMLHttpRequest;f.open("GET",a),f.responseType="blob",f.onload=function(){s(f.response,l,u)},f.onerror=function(){console.error("could not download file")},f.send()}function e(a){var l=new XMLHttpRequest;l.open("HEAD",a,!1);try{l.send()}catch(u){}return 200<=l.status&&299>=l.status}function r(a){try{a.dispatchEvent(new MouseEvent("click"))}catch(u){var l=document.createEvent("MouseEvents");
11l.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),a.dispatchEvent(l)}}var i=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof global=="object"&&global.global===global?global:void 0,o=i.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),s=i.saveAs||(typeof window!="object"||window!==i?function(){}:"download"in HTMLAnchorElement.prototype&&!o?function(a,l,u){var f=i.URL||i.webkitURL,h=document.createElement("a");l=l||a.name||"download",h.download=l,h.rel="noopener",typeof a=="string"?(h.href=a,h.origin===location.origin?r(h):e(h.href)?n(a,l,u):r(h,h.target="_blank")):(h.href=f.createObjectURL(a),setTimeout(function(){f.revokeObjectURL(h.href)},4e4),setTimeout(function(){r(h)},0))}:"msSaveOrOpenBlob"in navigator?function(a,l,u){if(l=l||a.name||"download",typeof a!="string")navigator.msSaveOrOpenBlob(t(a,u),l);else if(e(a))n(a,l,u);else{var f=document.createElement("a");f.href=a,f.target="_blank",setTimeout(function(){r(f)})}}:function(a,l,u,f){if(f=f||open("","_blank"),f&&(f.document.title=f.document.body.innerText="downloading..."),typeof a=="string")return n(a,l,u);var h=a.type==="application/octet-stream",m=/constructor/i.test(i.HTMLElement)||i.safari,v=/CriOS\/[\d]+/.test(navigator.userAgent);if((v||h&&m||o)&&typeof FileReader<"u"){var y=new FileReader;y.onloadend=function(){var S=y.result;S=v?S:S.replace(/^data:[^;]*;/,"data:attachment/file;"),f?f.location.href=S:location=S,f=null},y.readAsDataURL(a)}else{var w=i.URL||i.webkitURL,C=w.createObjectURL(a);f?f.location=C:location.href=C,f=null,setTimeout(function(){w.revokeObjectURL(C)},4e4)}});i.saveAs=s.saveAs=s,typeof P_<"u"&&(P_.exports=s)})});var Wn=null,Yu=!1,Cm=1,xR=null,Rn=Symbol("SIGNAL");function et(t){let n=Wn;return Wn=t,n}function qu(){return Wn}var ls={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function cs(t){if(Yu)throw new Error("");if(Wn===null)return;Wn.consumerOnSignalRead(t);let n=Wn.producersTail;if(n!==void 0&&n.producer===t)return;let e,r=Wn.recomputing;if(r&&(e=n!==void 0?n.nextProducer:Wn.producers,e!==void 0&&e.producer===t)){Wn.producersTail=e,e.lastReadVersion=t.version;return}let i=t.consumersTail;if(i!==void 0&&i.consumer===Wn&&(!r||NR(i,Wn)))return;let o=la(Wn),s={producer:t,consumer:Wn,nextProducer:e,prevConsumer:i,lastReadVersion:t.version,nextConsumer:void 0};Wn.producersTail=s,n!==void 0?n.nextProducer=s:Wn.producers=s,o&&JD(t,s)}function ZD(){Cm++}function us(t){if(!(la(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===Cm)){if(!t.producerMustRecompute(t)&&!Zu(t)){sa(t);return}t.producerRecomputeValue(t),sa(t)}}function bm(t){if(t.consumers===void 0)return;let n=Yu;Yu=!0;try{for(let e=t.consumers;e!==void 0;e=e.nextConsumer){let r=e.consumer;r.dirty||AR(r)}}finally{Yu=n}}function wm(){return Wn?.consumerAllowSignalWrites!==!1}function AR(t){t.dirty=!0,bm(t),t.consumerMarkedDirty?.(t)}function sa(t){t.dirty=!1,t.lastCleanEpoch=Cm}function ds(t){return t&&KD(t),et(t)}function KD(t){t.producersTail=void 0,t.recomputing=!0}function aa(t,n){et(n),t&&QD(t)}function QD(t){t.recomputing=!1;let n=t.producersTail,e=n!==void 0?n.nextProducer:t.producers;if(e!==void 0){if(la(t))do e=Sm(e);while(e!==void 0);n!==void 0?n.nextProducer=void 0:t.producers=void 0}}function Zu(t){for(let n=t.producers;n!==void 0;n=n.nextProducer){let e=n.producer,r=n.lastReadVersion;if(r!==e.version||(us(e),r!==e.version))return!0}return!1}function Rl(t){if(la(t)){let n=t.producers;for(;n!==void 0;)n=Sm(n)}t.producers=void 0,t.producersTail=void 0,t.consumers=void 0,t.consumersTail=void 0}function JD(t,n){let e=t.consumersTail,r=la(t);if(e!==void 0?(n.nextConsumer=e.nextConsumer,e.nextConsumer=n):(n.nextConsumer=void 0,t.consumers=n),n.prevConsumer=e,t.consumersTail=n,!r)for(let i=t.producers;i!==void 0;i=i.nextProducer)JD(i.producer,i)}function Sm(t){let n=t.producer,e=t.nextProducer,r=t.nextConsumer,i=t.prevConsumer;if(t.nextConsumer=void 0,t.prevConsumer=void 0,r!==void 0?r.prevConsumer=i:n.consumersTail=i,i!==void 0)i.nextConsumer=r;else if(n.consumers=r,!la(n)){let o=n.producers;for(;o!==void 0;)o=Sm(o)}return e}function la(t){return t.consumerIsAlwaysLive||t.consumers!==void 0}function kl(t){xR?.(t)}function NR(t,n){let e=n.producersTail;if(e!==void 0){let r=n.producers;do{if(r===t)return!0;
vendor: 16,271 bytes, lines 11-13
11if(r===e)break;r=r.nextProducer}while(r!==void 0)}return!1}function Ol(t,n){return Object.is(t,n)}function Ku(t,n){let e=Object.create(RR);e.computation=t,n!==void 0&&(e.equal=n);let r=()=>{if(us(e),cs(e),e.value===Mi)throw e.error;return e.value};return r[Rn]=e,kl(e),r}var ss=Symbol("UNSET"),as=Symbol("COMPUTING"),Mi=Symbol("ERRORED"),RR=Ze(ae({},ls),{value:ss,dirty:!0,error:null,equal:Ol,kind:"computed",producerMustRecompute(t){return t.value===ss||t.value===as},producerRecomputeValue(t){if(t.value===as)throw new Error("");let n=t.value;t.value=as;let e=ds(t),r,i=!1;try{r=t.computation(),et(null),i=n!==ss&&n!==Mi&&r!==Mi&&t.equal(n,r)}catch(o){r=Mi,t.error=o}finally{aa(t,e)}if(i){t.value=n;return}t.value=r,t.version++}});function kR(){throw new Error}var XD=kR;function e1(t){XD(t)}function Tm(t){XD=t}var OR=null;function Im(t,n){let e=Object.create(Ju);e.value=t,n!==void 0&&(e.equal=n);let r=()=>t1(e);return r[Rn]=e,kl(e),[r,s=>fs(e,s),s=>Qu(e,s)]}function t1(t){return cs(t),t.value}function fs(t,n){wm()||e1(t),t.equal(t.value,n)||(t.value=n,FR(t))}function Qu(t,n){wm()||e1(t),fs(t,n(t.value))}var Ju=Ze(ae({},ls),{equal:Ol,value:void 0,kind:"signal"});function FR(t){t.version++,ZD(),bm(t),OR?.(t)}function ut(t){return typeof t=="function"}function ca(t){let e=t(r=>{Error.call(r),r.stack=new Error().stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}var Xu=ca(t=>function(e){t(this),this.message=e?`${e.length} errors occurred during unsubscription:
12${e.map((r,i)=>`${i+1}) ${r.toString()}`).join(`
13  `)}`:"",this.name="UnsubscriptionError",this.errors=e});function Fl(t,n){if(t){let e=t.indexOf(n);0<=e&&t.splice(e,1)}}var Sn=class t{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;let{_parentage:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(let o of e)o.remove(this);else e.remove(this);let{initialTeardown:r}=this;if(ut(r))try{r()}catch(o){n=o instanceof Xu?o.errors:[o]}let{_finalizers:i}=this;if(i){this._finalizers=null;for(let o of i)try{n1(o)}catch(s){n=n??[],s instanceof Xu?n=[...n,...s.errors]:n.push(s)}}if(n)throw new Xu(n)}}add(n){var e;if(n&&n!==this)if(this.closed)n1(n);else{if(n instanceof t){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=(e=this._finalizers)!==null&&e!==void 0?e:[]).push(n)}}_hasParent(n){let{_parentage:e}=this;return e===n||Array.isArray(e)&&e.includes(n)}_addParent(n){let{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(n),e):e?[e,n]:n}_removeParent(n){let{_parentage:e}=this;e===n?this._parentage=null:Array.isArray(e)&&Fl(e,n)}remove(n){let{_finalizers:e}=this;e&&Fl(e,n),n instanceof t&&n._removeParent(this)}};Sn.EMPTY=(()=>{let t=new Sn;return t.closed=!0,t})();var Mm=Sn.EMPTY;function ed(t){return t instanceof Sn||t&&"closed"in t&&ut(t.remove)&&ut(t.add)&&ut(t.unsubscribe)}function n1(t){ut(t)?t():t.unsubscribe()}var ni={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var ua={setTimeout(t,n,...e){let{delegate:r}=ua;return r?.setTimeout?r.setTimeout(t,n,...e):setTimeout(t,n,...e)},clearTimeout(t){let{delegate:n}=ua;return(n?.clearTimeout||clearTimeout)(t)},delegate:void 0};function td(t){ua.setTimeout(()=>{let{onUnhandledError:n}=ni;if(n)n(t);else throw t})}function Pl(){}var r1=xm("C",void 0,void 0);function i1(t){return xm("E",void 0,t)}function o1(t){return xm("N",t,void 0)}function xm(t,n,e){return{kind:t,value:n,error:e}}var hs=null;function da(t){if(ni.useDeprecatedSynchronousErrorHandling){let n=!hs;if(n&&(hs={errorThrown:!1,error:null}),t(),n){let{errorThrown:e,error:r}=hs;if(hs=null,e)throw r}}else t()}function s1(t){ni.useDeprecatedSynchronousErrorHandling&&hs&&(hs.errorThrown=!0,hs.error=t)}var ps=class extends Sn{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,ed(n)&&n.add(this)):this.destination=jR}static create(n,e,r){return new fa(n,e,r)}next(n){this.isStopped?Nm(o1(n),this):this._next(n)}error(n){this.isStopped?Nm(i1(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?Nm(r1,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},PR=Function.prototype.bind;function Am(t,n){return PR.call(t,n)}var Rm=class{constructor(n){this.partialObserver=n}next(n){let{partialObserver:e}=this;if(e.next)try{e.next(n)}catch(r){nd(r)}}error(n){let{partialObserver:e}=this;if(e.error)try{e.error(n)}catch(r){nd(r)}else nd(n)}complete(){let{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(e){nd(e)}}},fa=class extends ps{constructor(n,e,r){super();let i;if(ut(n)||!n)i={next:n??void 0,error:e??void 0,complete:r??void 0};else{let o;this&&ni.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=()=>this.unsubscribe(),i={next:n.next&&Am(n.next,o),error:n.error&&Am(n.error,o),complete:n.complete&&Am(n.complete,o)}):i=n}this.destination=new Rm(i)}};function nd(t){ni.useDeprecatedSynchronousErrorHandling?s1(t):td(t)}function LR(t){throw t}function Nm(t,n){let{onStoppedNotification:e}=ni;e&&ua.setTimeout(()=>e(t,n))}var jR={closed:!0,next:Pl,error:LR,complete:Pl};var ha=typeof Symbol=="function"&&Symbol.observable||"@@observable";function ri(t){return t}function km(...t){return Om(t)}function Om(t){return t.length===0?ri:t.length===1?t[0]:function(e){return t.reduce((r,i)=>i(r),e)}}var wt=(()=>{class t{constructor(e){e&&(this._subscribe=e)}lift(e){let r=new t;return r.source=this,r.operator=e,r}subscribe(e,r,i){let o=UR(e)?e:new fa(e,r,i);return da(()=>{let{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(e){try{return this._subscribe(e)}catch(r){e.error(r)}}forEach(e,r){return r=a1(r),new r((i,o)=>{let s=new fa({next:a=>{try{e(a)}catch(l){o(l),s.unsubscribe()}},error:o,complete:i});this.subscribe(s)})}_subscribe(e){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(e)}[ha](){return this}pipe(...e){return Om(e)(this)}toPromise(e){return e=a1(e),new e((r,i)=>{let o;this.subscribe(s=>o=s,s=>i(s),()=>r(o))})}}return t.create=n=>new t(n),t})();function a1(t){var n;return(n=t??ni.Promise)!==null&&n!==void 0?n:Promise}function VR(t){return t&&ut(t.next)&&ut(t.error)&&ut(t.complete)}function UR(t){return t&&t instanceof ps||VR(t)&&ed(t)}function BR(t){return ut(t?.lift)}function Vt(t){return n=>{if(BR(n))return n.lift(function(e){try{return t(e,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function Ut(t,n,e,r,i){return new Fm(t,n,e,r,i)}var Fm=class extends ps{constructor(n,e,r,i,o,s){super(n),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=e?function(a){try{e(a)}catch(l){n.error(l)}}:super._next,this._error=i?function(a){try{i(a)}catch(l){n.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:e}=this;super.unsubscribe(),!e&&((n=this.onFinalize)===null||n===void 0||n.call(this))}}};var l1=ca(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var yn=(()=>{class t extends wt{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){let r=new rd(this,this);return r.operator=e,r}_throwIfClosed(){if(this.closed)throw new l1}next(e){da(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(e)}})}error(e){da(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;let{observers:r}=this;for(;r.length;)r.shift().error(e)}})}complete(){da(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:e}=this;for(;e.length;)e.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var e;return((e=this.observers)===null||e===void 0?void 0:e.length)>0}_trySubscribe(e){return this._throwIfClosed(),super._trySubscribe(e)}_subscribe(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)}_innerSubscribe(e){let{hasError:r,isStopped:i,observers:o}=this;return r||i?Mm:(this.currentObservers=null,o.push(e),new Sn(()=>{this.currentObservers=null,Fl(o,e)}))}_checkFinalizedStatuses(e){let{hasError:r,thrownError:i,isStopped:o}=this;r?e.error(i):o&&e.complete()}asObservable(){let e=new wt;return e.source=this,e}}return t.create=(n,e)=>new rd(n,e),t})(),rd=class extends yn{constructor(n,e){super(),this.destination=n,this.source=e}next(n){var e,r;(r=(e=this.destination)===null||e===void 0?void 0:e.next)===null||r===void 0||r.call(e,n)}error(n){var e,r;(r=(e=this.destination)===null||e===void 0?void 0:e.error)===null||r===void 0||r.call(e,n)}complete(){var n,e;(e=(n=this.destination)===null||n===void 0?void 0:n.complete)===null||e===void 0||e.call(n)}_subscribe(n){var e,r;return(r=(e=this.source)===null||e===void 0?void 0:e.subscribe(n))!==null&&r!==void 0?r:Mm}};var Tn=class extends yn{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){let e=super._subscribe(n);return!e.closed&&n.next(this._value),e}getValue(){let{hasError:n,thrownError:e,_value:r}=this;if(n)throw e;return this._throwIfClosed(),r}next(n){super.next(this._value=n)}};var Ln=new wt(t=>t.complete());function c1(t){return t&&ut(t.schedule)}function u1(t){return t[t.length-1]}function id(t){return ut(u1(t))?t.pop():void 0}function Ro(t){return c1(u1(t))?t.pop():void 0}function od(t,n,e,r){function i(o){return o instanceof e?o:new e(function(s){s(o)})}return new(e||(e=Promise))(function(o,s){function a(f){try{u(r.next(f))}catch(h){s(h)}}function l(f){try{u(r.throw(f))}catch(h){s(h)}}function u(f){f.done?o(f.value):i(f.value).then(a,l)}u((r=r.apply(t,n||[])).next())})}function d1(t){var n=typeof Symbol=="function"&&Symbol.iterator,e=n&&t[n],r=0;if(e)return e.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function ii(t){return this instanceof ii?(this.v=t,this):new ii(t)}function sd(t,n,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=e.apply(t,n||[]),i,o=[];return i=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),i[Symbol.asyncIterator]=function(){return this},i;function s(v){return function(y){return Promise.resolve(y).then(v,h)}}function a(v,y){r[v]&&(i[v]=function(w){return new Promise(function(C,S){o.push([v,w,C,S])>1||l(v,w)})},y&&(i[v]=y(i[v])))}function l(v,y){try{u(r[v](y))}catch(w){m(o[0][3],w)}}function u(v){v.value instanceof ii?Promise.resolve(v.value.v).then(f,h):m(o[0][2],v)}function f(v){l("next",v)}function h(v){l("throw",v)}function m(v,y){v(y),o.shift(),o.length&&l(o[0][0],o[0][1])}}function ad(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=t[Symbol.asyncIterator],e;return n?n.call(t):(t=typeof d1=="function"?d1(t):t[Symbol.iterator](),e={},r("next"),r("throw"),r("return"),e[Symbol.asyncIterator]=function(){return this},e);function r(o){e[o]=t[o]&&function(s){return new Promise(function(a,l){s=t[o](s),i(a,l,s.done,s.value)})}}function i(o,s,a,l){Promise.resolve(l).then(function(u){o({value:u,done:a})},s)}}var ld=t=>t&&typeof t.length=="number"&&typeof t!="function";function cd(t){return ut(t?.then)}function ud(t){return ut(t[ha])}function dd(t){return Symbol.asyncIterator&&ut(t?.[Symbol.asyncIterator])}function fd(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function HR(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var hd=HR();function pd(t){return ut(t?.[hd])}function md(t){return sd(this,arguments,function*(){let e=t.getReader();try{for(;;){let{value:r,done:i}=yield ii(e.read());if(i)return yield ii(void 0);yield yield ii(r)}}finally{e.releaseLock()}})}function gd(t){return ut(t?.getReader)}function _n(t){if(t instanceof wt)return t;if(t!=null){if(ud(t))return $R(t);if(ld(t))return zR(t);if(cd(t))return GR(t);if(dd(t))return f1(t);if(pd(t))return WR(t);if(gd(t))return YR(t)}throw fd(t)}function $R(t){return new wt(n=>{let e=t[ha]();if(ut(e.subscribe))return e.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function zR(t){return new wt(n=>{for(let e=0;e<t.length&&!n.closed;e++)n.next(t[e]);n.complete()})}function GR(t){return new wt(n=>{t.then(e=>{n.closed||(n.next(e),n.complete())},e=>n.error(e)).then(null,td)})}function WR(t){return new wt(n=>{for(let e of t)if(n.next(e),n.closed)return;n.complete()})}function f1(t){return new wt(n=>{qR(t,n).catch(e=>n.error(e))})}function YR(t){return f1(md(t))}function qR(t,n){var e,r,i,o;return od(this,void 0,void 0,function*(){try{for(e=ad(t);r=yield e.next(),!r.done;){let s=r.value;if(n.next(s),n.closed)return}}catch(s){i={error:s}}finally{try{r&&!r.done&&(o=e.return)&&(yield o.call(e))}finally{if(i)throw i.error}}n.complete()})}function ur(t,n,e,r=0,i=!1){let o=n.schedule(function(){e(),i?t.add(this.schedule(null,r)):this.unsubscribe()},r);if(t.add(o),!i)return o}function vd(t,n=0){return Vt((e,r)=>{e.subscribe(Ut(r,i=>ur(r,t,()=>r.next(i),n),()=>ur(r,t,()=>r.complete(),n),i=>ur(r,t,()=>r.error(i),n)))})}function yd(t,n=0){return Vt((e,r)=>{r.add(t.schedule(()=>e.subscribe(r),n))})}function h1(t,n){return _n(t).pipe(yd(n),vd(n))}function p1(t,n){return _n(t).pipe(yd(n),vd(n))}function m1(t,n){return new wt(e=>{let r=0;return n.schedule(function(){r===t.length?e.complete():(e.next(t[r++]),e.closed||this.schedule())})})}function g1(t,n){return new wt(e=>{let r;return ur(e,n,()=>{r=t[hd](),ur(e,n,()=>{let i,o;try{({value:i,done:o}=r.next())}catch(s){e.error(s);return}o?e.complete():e.next(i)},0,!0)}),()=>ut(r?.return)&&r.return()})}function _d(t,n){if(!t)throw new Error("Iterable cannot be null");return new wt(e=>{ur(e,n,()=>{let r=t[Symbol.asyncIterator]();ur(e,n,()=>{r.next().then(i=>{i.done?e.complete():e.next(i.value)})},0,!0)})})}function v1(t,n){return _d(md(t),n)}function y1(t,n){if(t!=null){if(ud(t))return h1(t,n);if(ld(t))return m1(t,n);if(cd(t))return p1(t,n);if(dd(t))return _d(t,n);if(pd(t))return g1(t,n);if(gd(t))return v1(t,n)}throw fd(t)}function Xt(t,n){return n?y1(t,n):_n(t)}function lt(...t){let n=Ro(t);return Xt(t,n)}function Ll(t,n){let e=ut(t)?t:()=>t,r=i=>i.error(e());return new wt(n?i=>n.schedule(r,0,i):r)}function Dd(t){return!!t&&(t instanceof wt||ut(t.lift)&&ut(t.subscribe))}var ms=ca(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function _t(t,n){return Vt((e,r)=>{let i=0;e.subscribe(Ut(r,o=>{r.next(t.call(n,o,i++))}))})}var{isArray:ZR}=Array;function KR(t,n){return ZR(n)?t(...n):t(n)}function Ed(t){return _t(n=>KR(t,n))}var{isArray:QR}=Array,{getPrototypeOf:JR,prototype:XR,keys:ek}=Object;function Cd(t){if(t.length===1){let n=t[0];if(QR(n))return{args:n,keys:null};if(tk(n)){let e=ek(n);return{args:e.map(r=>n[r]),keys:e}}}return{args:t,keys:null}}function tk(t){return t&&typeof t=="object"&&JR(t)===XR}function bd(t,n){return t.reduce((e,r,i)=>(e[r]=n[i],e),{})}function wd(...t){let n=Ro(t),e=id(t),{args:r,keys:i}=Cd(t);if(r.length===0)return Xt([],n);let o=new wt(nk(r,n,i?s=>bd(i,s):ri));return e?o.pipe(Ed(e)):o}function nk(t,n,e=ri){return r=>{_1(n,()=>{let{length:i}=t,o=new Array(i),s=i,a=i;for(let l=0;l<i;l++)_1(n,()=>{let u=Xt(t[l],n),f=!1;u.subscribe(Ut(r,h=>{o[l]=h,f||(f=!0,a--),a||r.next(e(o.slice()))},()=>{--s||r.complete()}
13))},r)},r)}}function _1(t,n,e){t?ur(e,t,n):n()}function D1(t,n,e,r,i,o,s,a){let l=[],u=0,f=0,h=!1,m=()=>{h&&!l.length&&!u&&n.complete()},v=w=>u<r?y(w):l.push(w),y=w=>{o&&n.next(w),u++;let C=!1;_n(e(w,f++)).subscribe(Ut(n,S=>{i?.(S),o?v(S):n.next(S)},()=>{C=!0},void 0,()=>{if(C)try{for(u--;l.length&&u<r;){let S=l.shift();s?ur(n,s,()=>y(S)):y(S)}m()}catch(S){n.error(S)}}))};return t.subscribe(Ut(n,v,()=>{h=!0,m()})),()=>{a?.()}}function jn(t,n,e=1/0){return ut(n)?jn((r,i)=>_t((o,s)=>n(r,o,i,s))(_n(t(r,i))),e):(typeof n=="number"&&(e=n),Vt((r,i)=>D1(r,i,t,e)))}function pa(t=1/0){return jn(ri,t)}function E1(){return pa(1)}function ma(...t){return E1()(Xt(t,Ro(t)))}function jl(t){return new wt(n=>{_n(t()).subscribe(n)})}function Pm(...t){let n=id(t),{args:e,keys:r}=Cd(t),i=new wt(o=>{let{length:s}=e;if(!s){o.complete();return}let a=new Array(s),l=s,u=s;for(let f=0;f<s;f++){let h=!1;_n(e[f]).subscribe(Ut(o,m=>{h||(h=!0,u--),a[f]=m},()=>l--,void 0,()=>{(!l||!h)&&(u||o.next(r?bd(r,a):a),o.complete())}))}});return n?i.pipe(Ed(n)):i}function Sr(t,n){return Vt((e,r)=>{let i=0;e.subscribe(Ut(r,o=>t.call(n,o,i++)&&r.next(o)))})}function no(t){return Vt((n,e)=>{let r=null,i=!1,o;r=n.subscribe(Ut(e,void 0,void 0,s=>{o=_n(t(s,no(t)(n))),r?(r.unsubscribe(),r=null,o.subscribe(e)):i=!0})),i&&(r.unsubscribe(),r=null,o.subscribe(e))})}function ko(t,n){return ut(n)?jn(t,n,1):jn(t,1)}function C1(t){return Vt((n,e)=>{let r=!1;n.subscribe(Ut(e,i=>{r=!0,e.next(i)},()=>{r||e.next(t),e.complete()}))})}function ro(t){return t<=0?()=>Ln:Vt((n,e)=>{let r=0;n.subscribe(Ut(e,i=>{++r<=t&&(e.next(i),t<=r&&e.complete())}))})}function b1(t=rk){return Vt((n,e)=>{let r=!1;n.subscribe(Ut(e,i=>{r=!0,e.next(i)},()=>r?e.complete():e.error(t())))})}function rk(){return new ms}function ga(t){return Vt((n,e)=>{try{n.subscribe(e)}finally{e.add(t)}})}function io(t,n){let e=arguments.length>=2;return r=>r.pipe(t?Sr((i,o)=>t(i,o,r)):ri,ro(1),e?C1(n):b1(()=>new ms))}function Sd(t){return t<=0?()=>Ln:Vt((n,e)=>{let r=[];n.subscribe(Ut(e,i=>{r.push(i),t<r.length&&r.shift()},()=>{for(let i of r)e.next(i);e.complete()},void 0,()=>{r=null}))})}function Lm(...t){let n=Ro(t);return Vt((e,r)=>{(n?ma(t,e,n):ma(t,e)).subscribe(r)})}function dr(t,n){return Vt((e,r)=>{let i=null,o=0,s=!1,a=()=>s&&!i&&r.complete();e.subscribe(Ut(r,l=>{i?.unsubscribe();let u=0,f=o++;_n(t(l,f)).subscribe(i=Ut(r,h=>r.next(n?n(l,h,f,u++):h),()=>{i=null,a()}))},()=>{s=!0,a()}))})}function Vl(t){return Vt((n,e)=>{_n(t).subscribe(Ut(e,()=>e.complete(),Pl)),!e.closed&&n.subscribe(e)})}function Ur(t,n,e){let r=ut(t)||n||e?{next:t,error:n,complete:e}:t;return r?Vt((i,o)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;i.subscribe(Ut(o,l=>{var u;(u=r.next)===null||u===void 0||u.call(r,l),o.next(l)},()=>{var l;a=!1,(l=r.complete)===null||l===void 0||l.call(r),o.complete()},l=>{var u;a=!1,(u=r.error)===null||u===void 0||u.call(r,l),o.error(l)},()=>{var l,u;a&&((l=r.unsubscribe)===null||l===void 0||l.call(r)),(u=r.finalize)===null||u===void 0||u.call(r)}))}):ri}var jm;function Td(){return jm}function xi(t){let n=jm;return jm=t,n}var w1=Symbol("NotFound");function va(t){return t===w1||t?.name==="\u0275NotFound"}function Vm(t,n,e){let r=Object.create(ik);r.source=t,r.computation=n,e!=null&&(r.equal=e);let o=()=>{if(us(r),cs(r),r.value===Mi)throw r.error;return r.value};return o[Rn]=r,kl(r),o}function S1(t,n){us(t),fs(t,n),sa(t)}function T1(t,n){if(us(t),t.value===Mi)throw t.error;Qu(t,n),sa(t)}var ik=Ze(ae({},ls),{value:ss,dirty:!0,error:null,equal:Ol,kind:"linkedSignal",producerMustRecompute(t){return t.value===ss||t.value===as},producerRecomputeValue(t){if(t.value===as)throw new Error("");let n=t.value;t.value=as;let e=ds(t),r,i=!1;try{let o=t.source(),s=n!==ss&&n!==Mi,a=s?{source:t.sourceValue,value:n}:void 0;r=t.computation(o,a),t.sourceValue=o,et(null),i=s&&r!==Mi&&t.equal(n,r)}catch(o){r=Mi,t.error=o}finally{aa(t,e)}if(i){t.value=n;return}t.value=r,t.version++}});function I1(t){let n=et(null);try{return t()}finally{et(n)}}var Nd="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",re=class extends 
vendor: 20,630 bytes, lines 13-14
13Error{code;constructor(n,e){super(si(n,e)),this.code=n}};function ak(t){return`NG0${Math.abs(t)}`}function si(t,n){return`${ak(t)}${n?": "+n:""}`}var Dn=globalThis;function Bt(t){for(let n in t)if(t[n]===Bt)return n;throw Error("")}function R1(t,n){for(let e in n)n.hasOwnProperty(e)&&!t.hasOwnProperty(e)&&(t[e]=n[e])}function Gl(t){if(typeof t=="string")return t;if(Array.isArray(t))return`[${t.map(Gl).join(", ")}]`;if(t==null)return""+t;let n=t.overriddenName||t.name;if(n)return`${n}`;let e=t.toString();if(e==null)return""+e;let r=e.indexOf(`
14`);return r>=0?e.slice(0,r):e}function Rd(t,n){return t?n?`${t} ${n}`:t:n||""}var lk=Bt({__forward_ref__:Bt});function fr(t){return t.__forward_ref__=fr,t}function Vn(t){return eg(t)?t():t}function eg(t){return typeof t=="function"&&t.hasOwnProperty(lk)&&t.__forward_ref__===fr}function fe(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function xt(t){return{providers:t.providers||[],imports:t.imports||[]}}function Wl(t){return ck(t,kd)}function tg(t){return Wl(t)!==null}function ck(t,n){return t.hasOwnProperty(n)&&t[n]||null}function uk(t){let n=t?.[kd]??null;return n||null}function Bm(t){return t&&t.hasOwnProperty(Md)?t[Md]:null}var kd=Bt({\u0275prov:Bt}),Md=Bt({\u0275inj:Bt}),Ie=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(n,e){this._desc=n,this.\u0275prov=void 0,typeof e=="number"?this.__NG_ELEMENT_ID__=e:e!==void 0&&(this.\u0275prov=fe({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function ng(t){return t&&!!t.\u0275providers}var Yl=Bt({\u0275cmp:Bt}),ql=Bt({\u0275dir:Bt}),rg=Bt({\u0275pipe:Bt}),ig=Bt({\u0275mod:Bt}),Bl=Bt({\u0275fac:Bt}),Ds=Bt({__NG_ELEMENT_ID__:Bt}),M1=Bt({__NG_ENV_ID__:Bt});function og(t){return Od(t,"@NgModule"),t[ig]||null}function Ai(t){return Od(t,"@Component"),t[Yl]||null}function sg(t){return Od(t,"@Directive"),t[ql]||null}function k1(t){return Od(t,"@Pipe"),t[rg]||null}function Od(t,n){if(t==null)throw new re(-919,!1)}function _a(t){return typeof t=="string"?t:t==null?"":String(t)}var O1=Bt({ngErrorCode:Bt}),dk=Bt({ngErrorMessage:Bt}),fk=Bt({ngTokenPath:Bt});function ag(t,n){return F1("",-200,n)}function Fd(t,n){throw new re(-201,!1)}function F1(t,n,e){let r=new re(n,t);return r[O1]=n,r[dk]=t,e&&(r[fk]=e),r}function hk(t){return t[O1]}var Hm;function P1(){return Hm}function tr(t){let n=Hm;return Hm=t,n}function lg(t,n,e){let r=Wl(t);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(e&8)return null;if(n!==void 0)return n;Fd(t,"")}var pk={},gs=pk,mk="__NG_DI_FLAG__",$m=class{injector;constructor(n){this.injector=n}retrieve(n,e){let r=vs(e)||0;try{return this.injector.get(n,r&8?null:gs,r)}catch(i){if(va(i))return i;throw i}}};function gk(t,n=0){let e=Td();if(e===void 0)throw new re(-203,!1);if(e===null)return lg(t,void 0,n);{let r=vk(n),i=e.retrieve(t,r);if(va(i)){if(r.optional)return null;throw i}return i}}function Ce(t,n=0){return(P1()||gk)(Vn(t),n)}function $(t,n){return Ce(t,vs(n))}function vs(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function vk(t){return{optional:!!(t&8),host:!!(t&1),self:!!(t&2),skipSelf:!!(t&4)}}function zm(t){let n=[];for(let e=0;e<t.length;e++){let r=Vn(t[e]);if(Array.isArray(r)){if(r.length===0)throw new re(900,!1);let i,o=0;for(let s=0;s<r.length;s++){let a=r[s],l=yk(a);typeof l=="number"?l===-1?i=a.token:o|=l:i=a}n.push(Ce(i,o))}else n.push(Ce(r))}return n}function yk(t){return t[mk]}function Oo(t,n){let e=t.hasOwnProperty(Bl);return e?t[Bl]:null}function L1(t,n,e){if(t.length!==n.length)return!1;for(let r=0;r<t.length;r++){let i=t[r],o=n[r];if(e&&(i=e(i),o=e(o)),o!==i)return!1}return!0}function j1(t){return t.flat(Number.POSITIVE_INFINITY)}function Pd(t,n){t.forEach(e=>Array.isArray(e)?Pd(e,n):n(e))}function cg(t,n,e){n>=t.length?t.push(e):t.splice(n,0,e)}function Zl(t,n){return n>=t.length-1?t.pop():t.splice(n,1)[0]}function V1(t,n,e,r){let i=t.length;if(i==n)t.push(e,r);else if(i===1)t.push(r,t[0]),t[0]=e;else{for(i--,t.push(t[i-1],t[i]);i>n;){let o=i-2;t[i]=t[o],i--}t[n]=e,t[n+1]=r}}function Ld(t,n,e){let r=Da(t,n);return r>=0?t[r|1]=e:(r=~r,V1(t,r,n,e)),r}function jd(t,n){let e=Da(t,n);if(e>=0)return t[e|1]}function Da(t,n){return _k(t,n,1)}function _k(t,n,e){let r=0,i=t.length>>e;for(;i!==r;){let o=r+(i-r>>1),s=t[o<<e];if(n===s)return o<<e;s>n?i=o:r=o+1}return~(i<<e)}var Po={},nr=[],ao=new Ie(""),ug=new Ie("",-1),dg=new Ie(""),Hl=class{get(n,e=gs){if(e===gs){let i=F1("",-201);throw i.name="\u0275NotFound",i}return e}};function Ni(t){return{\u0275providers:t}}function U1(...t){return{\u0275providers:fg(!0,t),\u0275fromNgModule:!0}}function fg(t,...n){let e=[],r=new Set,i,o=s=>{e.push(s)};return Pd(n,s=>{let a=s;xd(a,o,[],r)&&(i||=[],i.push(a))}),i!==void 0&&B1(i,o),e}function B1(t,n){for(let e=0;e<t.length;e++){let{ngModule:r,providers:i}=t[e];hg(i,o=>{n(o,r)})}}function xd(t,n,e,r){if(t=Vn(t),!t)return!1;let i=null,o=Bm(t),s=!o&&Ai(t);if(!o&&!s){let l=t.ngModule;if(o=Bm(l),o)i=l;else return!1}else{if(s&&!s.standalone)return!1;i=t}let a=r.has(i);if(s){if(a)return!1;if(r.add(i),s.dependencies){let l=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let u of l)xd(u,n,e,r)}}else if(o){if(o.imports!=null&&!a){r.add(i);let u;Pd(o.imports,f=>{xd(f,n,e,r)&&(u||=[],u.push(f))}),u!==void 0&&B1(u,n)}if(!a){let u=Oo(i)||(()=>new i);n({provide:i,useFactory:u,deps:nr},i),n({provide:dg,useValue:i,multi:!0},i),n({provide:ao,useValue:()=>Ce(i),multi:!0},i)}let l=o.providers;if(l!=null&&!a){let u=t;hg(l,f=>{n(f,u)})}}else return!1;return i!==t&&t.providers!==void 0}function hg(t,n){for(let e of t)ng(e)&&(e=e.\u0275providers),Array.isArray(e)?hg(e,n):n(e)}var Dk=Bt({provide:String,useValue:Bt});function H1(t){return t!==null&&typeof t=="object"&&Dk in t}function Ek(t){return!!(t&&t.useExisting)}function Ck(t){return!!(t&&t.useFactory)}function ys(t){return typeof t=="function"}function $1(t){return!!t.useClass}var Kl=new Ie(""),Id={},x1={},Um;function Ea(){return Um===void 0&&(Um=new Hl),Um}var cn=class{},_s=class extends cn{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(n,e,r,i){super(),this.parent=e,this.source=r,this.scopes=i,Wm(n,s=>this.processProvider(s)),this.records.set(ug,ya(void 0,this)),i.has("environment")&&this.records.set(cn,ya(void 0,this));let o=this.records.get(Kl);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(dg,nr,{self:!0}))}retrieve(n,e){let r=vs(e)||0;try{return this.get(n,gs,r)}catch(i){if(va(i))return i;throw i}}destroy(){Ul(this),this._destroyed=!0;let n=et(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let e=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of e)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),et(n)}}onDestroy(n){return Ul(this),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){Ul(this);let e=xi(this),r=tr(void 0),i;try{return n()}finally{xi(e),tr(r)}}get(n,e=gs,r){if(Ul(this),n.hasOwnProperty(M1))return n[M1](this);let i=vs(r),o,s=xi(this),a=tr(void 0);try{if(!(i&4)){let u=this.records.get(n);if(u===void 0){let f=Ik(n)&&Wl(n);f&&this.injectableDefInScope(f)?u=ya(Gm(n),Id):u=null,this.records.set(n,u)}if(u!=null)return this.hydrate(n,u,i)}let l=i&2?Ea():this.parent;return e=i&8&&e===gs?null:e,l.get(n,e)}catch(l){let u=hk(l);throw u===-200||u===-201?new re(u,null):l}finally{tr(a),xi(s)}}resolveInjectorInitializers(){let n=et(null),e=xi(this),r=tr(void 0),i;try{let o=this.get(ao,nr,{self:!0});for(let s of o)s()}finally{xi(e),tr(r),et(n)}}toString(){return"R3Injector[...]"}processProvider(n){n=Vn(n);let e=ys(n)?n:Vn(n&&n.provide),r=wk(n);if(!ys(n)&&n.multi===!0){let i=this.records.get(e);i||(i=ya(void 0,Id,!0),i.factory=()=>zm(i.multi),this.records.set(e,i)),e=n,i.multi.push(n)}this.records.set(e,r)}hydrate(n,e,r){let i=et(null);try{if(e.value===x1)throw ag("");return e.value===Id&&(e.value=x1,e.value=e.factory(void 0,r)),typeof e.value=="object"&&e.value&&Tk(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}finally{et(i)}}injectableDefInScope(n){if(!n.providedIn)return!1;let e=Vn(n.providedIn);return typeof e=="string"?e==="any"||this.scopes.has(e):this.injectorDefTypes.has(e)}removeOnDestroy(n){let e=this._onDestroyHooks.indexOf(n);e!==-1&&this._onDestroyHooks.splice(e,1)}};function Gm(t){let n=Wl(t),e=n!==null?n.factory:Oo(t);if(e!==null)return e;if(t instanceof Ie)throw new re(-204,!1);if(t instanceof Function)return bk(t);throw new re(-204,!1)}function bk(t){if(t.length>0)throw new re(-204,!1);let e=uk(t);return e!==null?()=>e.factory(t):()=>new t}function wk(t){if(H1(t))return ya(void 0,t.useValue);{let n=pg(t);return ya(n,Id)}}function pg(t,n,e){let r;if(ys(t)){let i=Vn(t);return Oo(i)||Gm(i)}else if(H1(t))r=()=>Vn(t.useValue);else if(Ck(t))r=()=>t.useFactory(...zm(t.deps||[]));else if(Ek(t))r=(i,o)=>Ce(Vn(t.useExisting),o!==void 0&&o&8?8:void 0);else{let i=Vn(t&&(t.useClass||t.provide));if(Sk(t))r=()=>new i(...zm(t.deps));else return Oo(i)||Gm(i)}return r}function Ul(t){if(t.destroyed)throw new re(-205,!1)}function ya(t,n,e=!1){return{factory:t,value:n,multi:e?[]:void 0}}function Sk(t){return!!t.deps}function Tk(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function Ik(t){return typeof t=="function"||typeof t=="object"&&t.ngMetadataName==="InjectionToken"}function Wm(t,n){for(let e of t)Array.isArray(e)?Wm(e,n):e&&ng(e)?Wm(e.\u0275providers,n):n(e)}function Mn(t,n){let e;t instanceof _s?(Ul(t),e=t):e=new $m(t);let r,i=xi(e),o=tr(void 0);try{return n()}finally{xi(i),tr(o)}}function mg(){return P1()!==void 0||Td()!=null}var ai=0,Xe=1,at=2,In=3,Br=4,Hr=5,Ca=6,ba=7,gn=8,Tr=9,li=10,Zt=11,wa=12,gg=13,Es=14,hr=15,Lo=16,Cs=17,Ri=18,lo=19,vg=20,oo=21,Vd=22,Ql=23,Ir=24,bs=25,co=26,sn=27,z1=1,yg=6,jo=7,Jl=8,ws=9,vn=10;function uo(t){return Array.isArray(t)&&typeof t[z1]=="object"}function ci(t){return Array.isArray(t)&&t[z1]===!0}function _g(t){return(t.flags&4)!==0}function fo(t){return t.componentOffset>-1}function Ud(t){return(t.flags&1)===1}function ki(t){return!!t.template}function Sa(t){return(t[at]&512)!==0}function Ss(t){return(t[at]&256)===256}var G1="svg",W1="math";function $r(t){for(;Array.isArray(t);)t=t[ai];return t}function Dg(t,n){return $r(n[t])}function zr(t,n){return $r(n[t.index])}function Bd(t,n){return t.data[n]}function Ta(t,n){return t[n]}function Xl(t,n,e,r){e>=t.data.length&&(t.data[e]=null,t.blueprint[e]=null),n[e]=r}function Gr(t,n){let e=n[t];return uo(e)?e:e[ai]}function Y1(t){return(t[at]&4)===4}function Hd(t){return(t[at]&128)===128}function q1(t){return ci(t[In])}function Oi(t,n){return n==null?null:t[n]}function Eg(t){t[Cs]=0}function Cg(t){t[at]&1024||(t[at]|=1024,Hd(t)&&Ia(t))}function Z1(t,n){for(;t>0;)n=n[Es],t--;return n}function ec(t){return!!(t[at]&9216||t[Ir]?.dirty)}function $d(t){t[li].changeDetectionScheduler?.notify(8),t[at]&64&&(t[at]|=1024),ec(t)&&Ia(t)}function Ia(t){t[li].changeDetectionScheduler?.notify(0);let n=Fo(t);for(;n!==null&&!(n[at]&8192||(n[at]|=8192,!Hd(n)));)n=Fo(n)}function bg(t,n){if(Ss(t))throw new re(911,!1);t[oo]===null&&(t[oo]=[]),t[oo].push(n)}function K1(t,n){if(t[oo]===null)return;let e=t[oo].indexOf(n);e!==-1&&t[oo].splice(e,1)}function Fo(t){let n=t[In];return ci(n)?n[In]:n}function wg(t){return t[ba]??=[]}function Sg(t){return t.cleanup??=[]}function Q1(t,n,e,r){let i=wg(n);i.push(e),t.firstCreatePass&&Sg(t).push(r,i.length-1)}var ft={lFrame:uE(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Ym=!1;function J1(){return ft.lFrame.elementDepthCount}function X1(){ft.lFrame.elementDepthCount++}function Tg(){ft.lFrame.elementDepthCount--}function eE(){return ft.bindingsEnabled}function tE(){return ft.skipHydrationRootTNode!==null}function Ig(t){return ft.skipHydrationRootTNode===t}function Mg(){ft.skipHydrationRootTNode=null}function tt(){return ft.lFrame.lView}function dn(){return ft.lFrame.tView}function Ke(t){return ft.lFrame.contextLView=t,t[gn]}function Qe(t){return ft.lFrame.contextLView=null,t}function En(){let t=xg();for(;t!==null&&t.type===64;)t=t.parent;return t}function xg(){return ft.lFrame.currentTNode}function nE(){let t=ft.lFrame,n=t.currentTNode;return t.isParent?n:n.parent}function Ts(t,n){let e=ft.lFrame;e.currentTNode=t,e.isParent=n}function Ag(){return ft.lFrame.isParent}function rE(){ft.lFrame.isParent=!1}function Ng(){return ft.lFrame.contextLView}function Rg(){return Ym}function kg(t){let n=Ym;return Ym=t,n}function tc(){let t=ft.lFrame,n=t.bindingRootIndex;return n===-1&&(n=t.bindingRootIndex=t.tView.bindingStartIndex),n}function iE(t){return ft.lFrame.bindingIndex=t}function ho(){return ft.lFrame.bindingIndex++}function Og(t){let n=ft.lFrame,e=n.bindingIndex;return n.bindingIndex=n.bindingIndex+t,e}function oE(){return ft.lFrame.inI18n}function sE(t,n){let e=ft.lFrame;e.bindingIndex=e.bindingRootIndex=t,zd(n)}function aE(){return ft.lFrame.currentDirectiveIndex}function zd(t){ft.lFrame.currentDirectiveIndex=t}function lE(t){let n=ft.lFrame.currentDirectiveIndex;return n===-1?null:t[n]}function Fg(){return ft.lFrame.currentQueryIndex}function Gd(t){ft.lFrame.currentQueryIndex=t}function Mk(t){let n=t[Xe];return n.type===2?n.declTNode:n.type===1?t[Hr]:null}function Pg(t,n,e){if(e&4){let i=n,o=t;for(;i=i.parent,i===null&&!(e&1);)if(i=Mk(o),i===null||(o=o[Es],i.type&10))break;if(i===null)return!1;n=i,t=o}let r=ft.lFrame=cE();return r.currentTNode=n,r.lView=t,!0}function Wd(t){let n=cE(),e=t[Xe];ft.lFrame=n,n.currentTNode=e.firstChild,n.lView=t,n.tView=e,n.contextLView=t,n.bindingIndex=e.bindingStartIndex,n.inI18n=!1}function cE(){let t=ft.lFrame,n=t===null?null:t.child;return n===null?uE(t):n}function uE(t){let n={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:t,child:null,inI18n:!1};return t!==null&&(t.child=n),n}function dE(){let t=ft.lFrame;return ft.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var Lg=dE;function Yd(){let t=dE();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function fE(t){return(ft.lFrame.contextLView=Z1(t,ft.lFrame.contextLView))[gn]}function Fi(){return ft.lFrame.selectedIndex}function Vo(t){ft.lFrame.selectedIndex=t}function nc(){let t=ft.lFrame;return Bd(t.tView,t.selectedIndex)}function jg(){return ft.lFrame.currentNamespace}var hE=!0;function qd(){return hE}function rc(t){hE=t}function qm(t,n=null,e=null,r){let i=Vg(t,n,e,r);return i.resolveInjectorInitializers(),i}function Vg(t,n=null,e=null,r,i=new Set){let o=[e||nr,U1(t)],s;return new _s(o,n||Ea(),s||null,i)}var un=class t{static THROW_IF_NOT_FOUND=gs;static NULL=new Hl;static create(n,e){if(Array.isArray(n))return qm({name:""},e,n,"");{let r=n.name??"";return qm({name:r},n.parent,n.providers,r)}}static \u0275prov=fe({token:t,providedIn:"any",factory:()=>Ce(ug)});static __NG_ELEMENT_ID__=-1},zt=new Ie(""),Mr=(()=>{class t{static __NG_ELEMENT_ID__=xk;static __NG_ENV_ID__=e=>e}return t})(),Zm=class extends Mr{_lView;constructor(n){super(),this._lView=n}get destroyed(){return Ss(this._lView)}onDestroy(n){let e=this._lView;return bg(e,n),()=>K1(e,n)}};function xk(){return new Zm(tt())}var Ug=!1,pE=new Ie(""),Pi=(()=>{class t{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new Tn(!1);debugTaskTracker=$(pE,{optional:!0});get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new wt(e=>{e.next(!1),e.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let e=this.taskId++;return this.pendingTasks.add(e),this.debugTaskTracker?.add(e),e}has(e){return this.pendingTasks.has(e)}remove(e){this.pendingTasks.delete(e),this.debugTaskTracker?.remove(e),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=fe({token:t,providedIn:"root",factory:()=>new t})}return t})(),Km=class extends yn{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(n=!1){super(),this.__isAsync=n,mg()&&(this.destroyRef=$(Mr,{optional:!0})??void 0,this.pendingTasks=$(Pi,{optional:!0})??void 0)}emit(n){let e=et(null);try{super.next(n)}finally{et(e)}}subscribe(n,e,r){let i=n,o=e||(()=>null),s=r;if(n&&typeof n=="object"){let l=n;i=l.next?.bind(l),o=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(o=this.wrapInTimeout(o),i&&(i=this.wrapInTimeout(i)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:i,error:o,complete:s});return n instanceof Sn&&n.add(a),a}wrapInTimeout(n){return e=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{n(e)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},Ge=Km;function Ad(...t){}function Bg(t){let n,e;function r(){t=Ad;try{e!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(e),n!==void 0&&clearTimeout(n)}catch(i){}}return n=setTimeout(()=>{t(),r()}),typeof requestAnimationFrame=="function"&&(e=requestAnimationFrame(()=>{t(),r()})),()=>r()}function mE(t){return queueMicrotask(()=>t()),()=>{t=Ad}}var Hg="isAngularZone",$l=Hg+"_ID",Ak=0,Dt=class t{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Ge(!1);onMicrotaskEmpty=new Ge(!1);onStable=new Ge(!1);onError=new Ge(!1);constructor(n){let{enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:i=!1,scheduleInRootZone:o=Ug}=n;if(typeof Zone>"u")throw new re(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)),e&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!i&&r,s.shouldCoalesceRunChangeDetection=i,s.callbackScheduled=!1,s.scheduleInRootZone=o,kk(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Hg)===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new re(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new re(909,!1)}run(n,e,r){return this._inner.run(n,e,r)}runTask(n,e,r,i){let o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,n,Nk,Ad,Ad);try{return o.runTask(s,e,r)}finally{o.cancelTask(s)}}runGuarded(n,e,r){return this._inner.runGuarded(n,e,r)}runOutsideAngular(n){return this._outer.run(n)}},Nk={};function $g(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function Rk(t){if(t.isCheckStableRunning||t.callbackScheduled)return;t.callbackScheduled=!0;function n(){Bg(()=>{t.callbackScheduled=!1,Qm(t),t.isCheckStableRunning=!0,$g(t),t.isCheckStableRunning=!1})}t.scheduleInRootZone?Zone.root.run(()=>{n()}):t._outer.run(()=>{n()}),Qm(t)}function kk(t){let n=()=>{Rk(t)},e=Ak++;t._inner=t._inner.fork({name:"angular",properties:{[Hg]:!0,[$l]:e,[$l+e]:!0},onInvokeTask:(r,i,o,s,a,l)=>{if(Ok(l))return r.invokeTask(o,s,a,l);try{return A1(t),r.invokeTask(o,s,a,l)}finally{(t.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&n(),N1(t)}},onInvoke:(r,i,o,s,a,l,u)=>{try{return A1(t),r.invoke(o,s,a,l,u)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!Fk(l)&&n(),N1(t)}},onHasTask:(r,i,o,s)=>{r.hasTask(o,s),i===o&&(s.change=="microTask"?(t._hasPendingMicrotasks=s.microTask,Qm(t),$g(t)):s.change=="macroTask"&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,i,o,s)=>(r.handleError(o,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}function Qm(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function A1(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function N1(t){t._nesting--,$g(t)}var zl=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Ge;onMicrotaskEmpty=new Ge;onStable=new Ge;
14onError=new Ge;run(n,e,r){return n.apply(e,r)}runGuarded(n,e,r){return n.apply(e,r)}runOutsideAngular(n){return n()}runTask(n,e,r,i){return n.apply(e,r)}};function Ok(t){return gE(t,"__ignore_ng_zone__")}function Fk(t){return gE(t,"__scheduler_tick__")}function gE(t,n){return!Array.isArray(t)||t.length!==1?!1:t[0]?.data?.[n]===!0}var oi=class{_console=console;handleError(n){this._console.error("ERROR",n)}},xr=new Ie("",{factory:()=>{let t=$(Dt),n=$(cn),e;return r=>{t.runOutsideAngular(()=>{n.destroyed&&!e?setTimeout(()=>{throw r}):(e??=n.get(oi),e.handleError(r))})}}}),vE={provide:ao,useValue:()=>{let t=$(oi,{optional:!0})},multi:!0};function Ht(t,n){let[e,r,i]=Im(t,n?.equal),o=e,s=o[Rn];return o.set=r,o.update=i,o.asReadonly=Zd.bind(o),o}function Zd(){let t=this[Rn];if(t.readonlyFn===void 0){let n=()=>this();n[Rn]=t,t.readonlyFn=n}return t.readonlyFn}var Kd=(()=>{class t{view;node;constructor(e,r){this.view=e,this.node=r}static __NG_ELEMENT_ID__=Pk}return t})();function Pk(){return new Kd(tt(),En())}var so=class{},Ma=new Ie("",{factory:()=>!0});var Qd=new Ie(""),xa=(()=>{class t{internalPendingTasks=$(Pi);scheduler=$(so);errorHandler=$(xr);add(){let e=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(e)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(e))}}run(e){let r=this.add();
vendor: 12,260 bytes, line 14
14e().catch(this.errorHandler).finally(r)}static \u0275prov=fe({token:t,providedIn:"root",factory:()=>new t})}return t})(),zg=(()=>{class t{static \u0275prov=fe({token:t,providedIn:"root",factory:()=>new Jm})}return t})(),Jm=class{dirtyEffectCount=0;queues=new Map;add(n){this.enqueue(n),this.schedule(n)}schedule(n){n.dirty&&this.dirtyEffectCount++}remove(n){let e=n.zone,r=this.queues.get(e);r.has(n)&&(r.delete(n),n.dirty&&this.dirtyEffectCount--)}enqueue(n){let e=n.zone;this.queues.has(e)||this.queues.set(e,new Set);let r=this.queues.get(e);r.has(n)||r.add(n)}flush(){for(;this.dirtyEffectCount>0;){let n=!1;for(let[e,r]of this.queues)e===null?n||=this.flushQueue(r):n||=e.run(()=>this.flushQueue(r));n||(this.dirtyEffectCount=0)}}flushQueue(n){let e=!1;for(let r of n)r.dirty&&(this.dirtyEffectCount--,e=!0,r.run());return e}},Xm=class{[Rn];constructor(n){this[Rn]=n}destroy(){this[Rn].destroy()}};function gc(t){return{toString:t}.toString()}function eC(t){let n=Dn.ng;if(n&&n.\u0275compilerFacade)return n.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function Gk(t){return typeof t=="function"}function tC(t,n,e,r){n!==null?n.applyValueToInputSignal(n,r):t[e]=r}var cf=class{previousValue;currentValue;firstChange;constructor(n,e,r){this.previousValue=n,this.currentValue=e,this.firstChange=r}isFirstChange(){return this.firstChange}},kn=(()=>{let t=()=>nC;return t.ngInherit=!0,t})();function nC(t){return t.type.prototype.ngOnChanges&&(t.setInput=Yk),Wk}function Wk(){let t=iC(this),n=t?.current;if(n){let e=t.previous;if(e===Po)t.previous=n;else for(let r in n)e[r]=n[r];t.current=null,this.ngOnChanges(n)}}function Yk(t,n,e,r,i){let o=this.declaredInputs[r],s=iC(t)||qk(t,{previous:Po,current:null}),a=s.current||(s.current={}),l=s.previous,u=l[o];a[o]=new cf(u&&u.currentValue,e,l===Po),tC(t,n,i,e)}var rC="__ngSimpleChanges__";function iC(t){return t[rC]||null}function qk(t,n){return t[rC]=n}var yE=[];var Kt=function(t,n=null,e){for(let r=0;r<yE.length;r++){let i=yE[r];i(t,n,e)}},kt=(function(t){return t[t.TemplateCreateStart=0]="TemplateCreateStart",t[t.TemplateCreateEnd=1]="TemplateCreateEnd",t[t.TemplateUpdateStart=2]="TemplateUpdateStart",t[t.TemplateUpdateEnd=3]="TemplateUpdateEnd",t[t.LifecycleHookStart=4]="LifecycleHookStart",t[t.LifecycleHookEnd=5]="LifecycleHookEnd",t[t.OutputStart=6]="OutputStart",t[t.OutputEnd=7]="OutputEnd",t[t.BootstrapApplicationStart=8]="BootstrapApplicationStart",t[t.BootstrapApplicationEnd=9]="BootstrapApplicationEnd",t[t.BootstrapComponentStart=10]="BootstrapComponentStart",t[t.BootstrapComponentEnd=11]="BootstrapComponentEnd",t[t.ChangeDetectionStart=12]="ChangeDetectionStart",t[t.ChangeDetectionEnd=13]="ChangeDetectionEnd",t[t.ChangeDetectionSyncStart=14]="ChangeDetectionSyncStart",t[t.ChangeDetectionSyncEnd=15]="ChangeDetectionSyncEnd",t[t.AfterRenderHooksStart=16]="AfterRenderHooksStart",t[t.AfterRenderHooksEnd=17]="AfterRenderHooksEnd",t[t.ComponentStart=18]="ComponentStart",t[t.ComponentEnd=19]="ComponentEnd",t[t.DeferBlockStateStart=20]="DeferBlockStateStart",t[t.DeferBlockStateEnd=21]="DeferBlockStateEnd",t[t.DynamicComponentStart=22]="DynamicComponentStart",t[t.DynamicComponentEnd=23]="DynamicComponentEnd",t[t.HostBindingsUpdateStart=24]="HostBindingsUpdateStart",t[t.HostBindingsUpdateEnd=25]="HostBindingsUpdateEnd",t})(kt||{});function Zk(t,n,e){let{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=n.type.prototype;if(r){let s=nC(n);(e.preOrderHooks??=[]).push(t,s),(e.preOrderCheckHooks??=[]).push(t,s)}i&&(e.preOrderHooks??=[]).push(0-t,i),o&&((e.preOrderHooks??=[]).push(t,o),(e.preOrderCheckHooks??=[]).push(t,o))}function Kk(t,n){for(let e=n.directiveStart,r=n.directiveEnd;e<r;e++){let o=t.data[e].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:l,ngAfterViewChecked:u,ngOnDestroy:f}=o;s&&(t.contentHooks??=[]).push(-e,s),a&&((t.contentHooks??=[]).push(e,a),(t.contentCheckHooks??=[]).push(e,a)),l&&(t.viewHooks??=[]).push(-e,l),u&&((t.viewHooks??=[]).push(e,u),(t.viewCheckHooks??=[]).push(e,u)),f!=null&&(t.destroyHooks??=[]).push(e,f)}}function rf(t,n,e){oC(t,n,3,e)}function of(t,n,e,r){(t[at]&3)===e&&oC(t,n,e,r)}function Gg(t,n){let e=t[at];(e&3)===n&&(e&=16383,e+=1,t[at]=e)}function oC(t,n,e,r){let i=r!==void 0?t[Cs]&65535:0,o=r??-1,s=n.length-1,a=0;for(let l=i;l<s;l++)if(typeof n[l+1]=="number"){if(a=n[l],r!=null&&a>=r)break}else n[l]<0&&(t[Cs]+=65536),(a<o||o==-1)&&(Qk(t,e,n,l),t[Cs]=(t[Cs]&4294901760)+l+2),l++}function _E(t,n){Kt(kt.LifecycleHookStart,t,n);let e=et(null);try{n.call(t)}finally{et(e),Kt(kt.LifecycleHookEnd,t,n)}}function Qk(t,n,e,r){let i=e[r]<0,o=e[r+1],s=i?-e[r]:e[r],a=t[s];i?t[at]>>14<t[Cs]>>16&&(t[at]&3)===n&&(t[at]+=16384,_E(a,o)):_E(a,o)}var Na=-1,xs=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(n,e,r,i){this.factory=n,this.name=i,this.canSeeViewProviders=e,this.injectImpl=r}};function Jk(t){return(t.flags&8)!==0}function Xk(t){return(t.flags&16)!==0}function eO(t,n,e){let r=0;for(;r<e.length;){let i=e[r];if(typeof i=="number"){if(i!==0)break;r++;let o=e[r++],s=e[r++],a=e[r++];t.setAttribute(n,s,a,o)}else{let o=i,s=e[++r];tO(o)?t.setProperty(n,o,s):t.setAttribute(n,o,s),r++}}return r}function sC(t){return t===3||t===4||t===6}function tO(t){return t.charCodeAt(0)===64}function ka(t,n){if(!(n===null||n.length===0))if(t===null||t.length===0)t=n.slice();else{let e=-1;for(let r=0;r<n.length;r++){let i=n[r];typeof i=="number"?e=i:e===0||(e===-1||e===2?DE(t,e,i,null,n[++r]):DE(t,e,i,null,null))}}return t}function DE(t,n,e,r,i){let o=0,s=t.length;if(n===-1)s=-1;else for(;o<t.length;){let a=t[o++];if(typeof a=="number"){if(a===n){s=-1;break}else if(a>n){s=o-1;break}}}for(;o<t.length;){let a=t[o];if(typeof a=="number")break;if(a===e){i!==null&&(t[o+1]=i);return}o++,i!==null&&o++}s!==-1&&(t.splice(s,0,n),o=s+1),t.splice(o++,0,e),i!==null&&t.splice(o++,0,i)}function aC(t){return t!==Na}function uf(t){return t&32767}function nO(t){return t>>16}function df(t,n){let e=nO(t),r=n;for(;e>0;)r=r[Es],e--;return r}var n0=!0;function ff(t){let n=n0;return n0=t,n}var rO=256,lC=rO-1,cC=5,iO=0,Li={};function oO(t,n,e){let r;typeof e=="string"?r=e.charCodeAt(0)||0:e.hasOwnProperty(Ds)&&(r=e[Ds]),r==null&&(r=e[Ds]=iO++);let i=r&lC,o=1<<i;n.data[t+(i>>cC)]|=o}function hf(t,n){let e=uC(t,n);if(e!==-1)return e;let r=n[Xe];r.firstCreatePass&&(t.injectorIndex=n.length,Wg(r.data,t),Wg(n,null),Wg(r.blueprint,null));let i=H0(t,n),o=t.injectorIndex;if(aC(i)){let s=uf(i),a=df(i,n),l=a[Xe].data;for(let u=0;u<8;u++)n[o+u]=a[s+u]|l[s+u]}return n[o+8]=i,o}function Wg(t,n){t.push(0,0,0,0,0,0,0,0,n)}function uC(t,n){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||n[t.injectorIndex+8]===null?-1:t.injectorIndex}function H0(t,n){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let e=0,r=null,i=n;for(;i!==null;){if(r=mC(i),r===null)return Na;if(e++,i=i[Es],r.injectorIndex!==-1)return r.injectorIndex|e<<16}return Na}function r0(t,n,e){oO(t,n,e)}function sO(t,n){if(n==="class")return t.classes;if(n==="style")return t.styles;let e=t.attrs;if(e){let r=e.length,i=0;for(;i<r;){let o=e[i];if(sC(o))break;if(o===0)i=i+2;else if(typeof o=="number")for(i++;i<r&&typeof e[i]=="string";)i++;else{if(o===n)return e[i+1];i=i+2}}}return null}function dC(t,n,e){if(e&8||t!==void 0)return t;Fd(n,"NodeInjector")}function fC(t,n,e,r){if(e&8&&r===void 0&&(r=null),(e&3)===0){let i=t[Tr],o=tr(void 0);try{return i?i.get(n,r,e&8):lg(n,r,e&8)}finally{tr(o)}}return dC(r,n,e)}function hC(t,n,e,r=0,i){if(t!==null){if(n[at]&2048&&!(r&2)){let s=uO(t,n,e,r,Li);if(s!==Li)return s}let o=pC(t,n,e,r,Li);if(o!==Li)return o}return fC(n,e,r,i)}function pC(t,n,e,r,i){let o=lO(e);if(typeof o=="function"){if(!Pg(n,t,r))return r&1?dC(i,e,r):fC(n,e,r,i);try{let s;if(s=o(r),s==null&&!(r&8))Fd(e);else return s}finally{Lg()}}else if(typeof o=="number"){let s=null,a=uC(t,n),l=Na,u=r&1?n[hr][Hr]:null;for((a===-1||r&4)&&(l=a===-1?H0(t,n):n[a+8],l===Na||!CE(r,!1)?a=-1:(s=n[Xe],a=uf(l),n=df(l,n)));a!==-1;){let f=n[Xe];if(EE(o,a,f.data)){let h=aO(a,n,e,s,r,u);if(h!==Li)return h}l=n[a+8],l!==Na&&CE(r,n[Xe].data[a+8]===u)&&EE(o,a,n)?(s=f,a=uf(l),n=df(l,n)):a=-1}}return i}function aO(t,n,e,r,i,o){let s=n[Xe],a=s.data[t+8],l=r==null?fo(a)&&n0:r!=s&&(a.type&3)!==0,u=i&1&&o===a,f=sf(a,s,e,l,u);return f!==null?lc(n,s,f,a,i):Li}function sf(t,n,e,r,i){let o=t.providerIndexes,s=n.data,a=o&1048575,l=t.directiveStart,u=t.directiveEnd,f=o>>20,h=r?a:a+f,m=i?a+f:u;for(let v=h;v<m;v++){let y=s[v];if(v<l&&e===y||v>=l&&y.type===e)return v}if(i){let v=s[l];if(v&&ki(v)&&v.type===e)return l}return null}function lc(t,n,e,r,i){let o=t[e],s=n.data;if(o instanceof xs){let a=o;if(a.resolving)throw ag("");let l=ff(a.canSeeViewProviders);a.resolving=!0;let u=s[e].type||s[e],f,h=a.injectImpl?tr(a.injectImpl):null,m=Pg(t,r,0);try{o=t[e]=a.factory(void 0,i,s,t,r),n.firstCreatePass&&e>=r.directiveStart&&Zk(e,s[e],n)}finally{h!==null&&tr(h),ff(l),a.resolving=!1,Lg()}}return o}function lO(t){if(typeof t=="string")return t.charCodeAt(0)||0;let n=t.hasOwnProperty(Ds)?t[Ds]:void 0;return typeof n=="number"?n>=0?n&lC:cO:n}function EE(t,n,e){let r=1<<t;return!!(e[n+(t>>cC)]&r)}function CE(t,n){return!(t&2)&&!(t&1&&n)}var Ms=class{_tNode;_lView;constructor(n,e){this._tNode=n,this._lView=e}get(n,e,r){return hC(this._tNode,this._lView,n,vs(r),e)}};function cO(){return new Ms(En(),tt())}function rr(t){return gc(()=>{let n=t.prototype.constructor,e=n[Bl]||i0(n),r=Object.prototype,i=Object.getPrototypeOf(t.prototype).constructor;for(;i&&i!==r;){let o=i[Bl]||i0(i);if(o&&o!==e)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function i0(t){return eg(t)?()=>{let n=i0(Vn(t));return n&&n()}:Oo(t)}function uO(t,n,e,r,i){let o=t,s=n;for(;o!==null&&s!==null&&s[at]&2048&&!Sa(s);){let a=pC(o,s,e,r|2,Li);if(a!==Li)return a;let l=o.parent;if(!l){let u=s[vg];if(u){let f=u.get(e,Li,r&-5);if(f!==Li)return f}l=mC(s),s=s[Es]}o=l}return i}function mC(t){let n=t[Xe],e=n.type;return e===2?n.declTNode:e===1?t[Hr]:null}function vc(t){return sO(En(),t)}function dO(){return La(En(),tt())}function La(t,n){return new xn(zr(t,n))}var xn=(()=>{class t{nativeElement;constructor(e){this.nativeElement=e}static __NG_ELEMENT_ID__=dO}return t})();function fO(t){return t instanceof xn?t.nativeElement:t}function hO(){return this._results[Symbol.iterator]()}var pf=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 yn}constructor(n=!1){this._emitDistinctChangesOnly=n}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,e){return this._results.reduce(n,e)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,e){this.dirty=!1;let r=j1(n);(this._changesDetected=!L1(this._results,r,e))&&(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(n){this._onDirty=n}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=hO};function gC(t){return(t.flags&128)===128}var $0=(function(t){return t[t.OnPush=0]="OnPush",t[t.Eager=1]="Eager",t[t.Default=1]="Default",t})($0||{}),vC=new Map,pO=0;function mO(){return pO++}function gO(t){vC.set(t[lo],t)}function o0(t){vC.delete(t[lo])}var bE="__ngContext__";function Oa(t,n){uo(n)?(t[bE]=n[lo],gO(n)):t[bE]=n}function yC(t){return DC(t[wa])}function _C(t){return DC(t[Br])}function DC(t){for(;t!==null&&!ci(t);)t=t[Br];return t}var s0;function z0(t){s0=t}function EC(){if(s0!==void 0)return s0;if(typeof document<"u")return document;throw new re(210,!1)}var xf=new Ie("",{factory:()=>vO}),vO="ng";var Af=new Ie(""),ks=new Ie("",{providedIn:"platform",factory:()=>"unknown"}),Nf=new Ie(""),yc=new Ie("",{factory:()=>$(zt).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});
14var CC="r";var bC="di";var G0=new Ie(""),wC=!1,SC=new Ie("",{factory:()=>wC});var Rf=new Ie("");var wE=new WeakMap;function yO(t,n){if(t==null||typeof t!="object")return;let e=wE.get(t);e||(e=new WeakSet,wE.set(t,e)),e.add(n)}var _O=(t,n,e,r)=>{};function DO(t,n,e,r){_O(t,n,e,r)}function W0(t){return(t.flags&32)===32}var EO=()=>null;function TC(t,n,e=!1){return EO(t,n,e)}function IC(t,n){let e=t.contentQueries;if(e!==null){let r=et(null);try{for(let i=0;i<e.length;i+=2){let o=e[i],s=e[i+1];if(s!==-1){let a=t.data[s];Gd(o),a.contentQueries(2,n[s],s)}}}finally{et(r)}}}function a0(t,n,e){Gd(0);let r=et(null);try{n(t,e)}finally{et(r)}}function MC(t,n,e){if(_g(n)){let r=et(null);try{let i=n.directiveStart,o=n.directiveEnd;for(let s=i;s<o;s++){let a=t.data[s];if(a.contentQueries){let l=e[s];a.contentQueries(1,l,s)}}}finally{et(r)}}}var fi=(function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t[t.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",t})(fi||{});var Jd;function CO(){if(Jd===void 0&&(Jd=null,Dn.trustedTypes))try{Jd=Dn.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch(t){}return Jd}function kf(t){return CO()?.createHTML(t)||t}var Xd;function xC(){if(Xd===void 0&&(Xd=null,Dn.trustedTypes))try{Xd=Dn.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch(t){}return Xd}function SE(t){return xC()?.createHTML(t)||t}function TE(t){return xC()?.createScriptURL(t)||t}var po=class{changingThisBreaksApplicationSecurity;constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Nd})`}},l0=class extends po{getTypeName(){return"HTML"}},c0=class extends po{getTypeName(){return"Style"}},u0=class extends po{getTypeName(){return"Script"}},d0=class extends po{getTypeName(){return"URL"}},f0=class extends po{getTypeName(){return"ResourceURL"}};function Ar(t){return t instanceof po?t.changingThisBreaksApplicationSecurity:t}function Vi(t,n){let e=AC(t);if(e!=null&&e!==n){if(e==="ResourceURL"&&n==="URL")return!0;throw new Error(`Required a safe ${n}, got a ${e} (see ${Nd})`)}return e===n}function AC(t){return t instanceof po&&t.getTypeName()||null}function Y0(t){return new l0(t)}function q0(t){return new c0(t)}function Z0(t){return new u0(t)}function K0(t){return new d0(t)}function Q0(t){return new f0(t)}function bO(t){let n=new p0(t);return wO()?new h0(n):n}var h0=class{inertDocumentHelper;constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{let e=new window.DOMParser().parseFromString(kf(n),"text/html").body;return e===null?this.inertDocumentHelper.getInertBodyElement(n):(e.f
vendor: 10,141 bytes, line 14
14irstChild?.remove(),e)}catch(e){return null}}},p0=class{defaultDoc;inertDocument;constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){let e=this.inertDocument.createElement("template");return e.innerHTML=kf(n),e}};function wO(){try{return!!new window.DOMParser().parseFromString(kf(""),"text/html")}catch(t){return!1}}var SO=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function _c(t){return t=String(t),t.match(SO)?t:"unsafe:"+t}function go(t){let n={};for(let e of t.split(","))n[e]=!0;return n}function Dc(...t){let n={};for(let e of t)for(let r in e)e.hasOwnProperty(r)&&(n[r]=!0);return n}var NC=go("area,br,col,hr,img,wbr"),RC=go("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),kC=go("rp,rt"),TO=Dc(kC,RC),IO=Dc(RC,go("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")),MO=Dc(kC,go("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")),IE=Dc(NC,IO,MO,TO),OC=go("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),xO=go("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"),AO=go("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"),NO=Dc(OC,xO,AO),RO=go("script,style,template"),m0=class{sanitizedSomething=!1;buf=[];sanitizeChildren(n){let e=n.firstChild,r=!0,i=[];for(;e;){if(e.nodeType===Node.ELEMENT_NODE?r=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,r&&e.firstChild){i.push(e),e=FO(e);continue}for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let o=OO(e);if(o){e=o;break}e=i.pop()}}return this.buf.join("")}startElement(n){let e=ME(n).toLowerCase();if(!IE.hasOwnProperty(e))return this.sanitizedSomething=!0,!RO.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);let r=n.attributes;for(let i=0;i<r.length;i++){let o=r.item(i),s=o.name,a=s.toLowerCase();if(!NO.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let l=o.value;OC[a]&&(l=_c(l)),this.buf.push(" ",s,'="',xE(l),'"')}return this.buf.push(">"),!0}endElement(n){let e=ME(n).toLowerCase();IE.hasOwnProperty(e)&&!NC.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(n){this.buf.push(xE(n))}};function kO(t,n){return(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function OO(t){let n=t.nextSibling;if(n&&t!==n.previousSibling)throw FC(n);return n}function FO(t){let n=t.firstChild;if(n&&kO(t,n))throw FC(n);return n}function ME(t){let n=t.nodeName;return typeof n=="string"?n:"FORM"}function FC(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}var PO=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,LO=/([^\#-~ |!])/g;function xE(t){return t.replace(/&/g,"&amp;").replace(PO,function(n){let e=n.charCodeAt(0),r=n.charCodeAt(1);return"&#"+((e-55296)*1024+(r-56320)+65536)+";"}).replace(LO,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var ef;function Of(t,n){let e=null;try{ef=ef||bO(t);let r=n?String(n):"";e=ef.getInertBodyElement(r);let i=5,o=r;do{if(i===0)throw new Error("Failed to sanitize html because the input is unstable");i--,r=o,o=e.innerHTML,e=ef.getInertBodyElement(r)}while(r!==o);let a=new m0().sanitizeChildren(AE(e)||e);return kf(a)}finally{if(e){let r=AE(e)||e;for(;r.firstChild;)r.firstChild.remove()}}}function AE(t){return"content"in t&&jO(t)?t.content:null}function jO(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}var VO=/^>|^->|<!--|-->|--!>|<!-$/g,UO=/(<|>)/g,BO="\u200B$1\u200B";function HO(t){return t.replace(VO,n=>n.replace(UO,BO))}function $O(t,n){return t.createText(n)}function zO(t,n,e){t.setValue(n,e)}function GO(t,n){return t.createComment(HO(n))}function PC(t,n,e){return t.createElement(n,e)}function mf(t,n,e,r,i){t.insertBefore(n,e,r,i)}function LC(t,n,e){t.appendChild(n,e)}function NE(t,n,e,r,i){r!==null?mf(t,n,e,r,i):LC(t,n,e)}function jC(t,n,e,r){t.removeChild(null,n,e,r)}function WO(t,n,e){t.setAttribute(n,"style",e)}function YO(t,n,e){e===""?t.removeAttribute(n,"class"):t.setAttribute(n,"class",e)}function VC(t,n,e){let{mergedAttrs:r,classes:i,styles:o}=e;r!==null&&eO(t,n,r),i!==null&&YO(t,n,i),o!==null&&WO(t,n,o)}var mr=(function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t[t.ATTRIBUTE_NO_BINDING=6]="ATTRIBUTE_NO_BINDING",t})(mr||{});function hi(t){let n=X0();return n?SE(n.sanitize(mr.HTML,t)||""):Vi(t,"HTML")?SE(Ar(t)):Of(EC(),_a(t))}function Yn(t){let n=X0();return n?n.sanitize(mr.URL,t)||"":Vi(t,"URL")?Ar(t):_c(_a(t))}function UC(t){let n=X0();if(n)return TE(n.sanitize(mr.RESOURCE_URL,t)||"");if(Vi(t,"ResourceURL"))return TE(Ar(t));throw new re(904,!1)}var qO={embed:{src:!0},frame:{src:!0},iframe:{src:!0},media:{src:!0},base:{href:!0},link:{href:!0},object:{data:!0,codebase:!0}};function ZO(t,n){return qO[t.toLowerCase()]?.[n.toLowerCase()]===!0?UC:Yn}function J0(t,n,e){return ZO(n,e)(t)}function X0(){let t=tt();return t&&t[li].sanitizer}function BC(t){return t instanceof Function?t():t}function KO(t,n,e){let r=t.length;for(;;){let i=t.indexOf(n,e);if(i===-1)return i;if(i===0||t.charCodeAt(i-1)<=32){let o=n.length;if(i+o===r||t.charCodeAt(i+o)<=32)return i}e=i+1}}var HC="ng-template";function QO(t,n,e,r){let i=0;if(r){for(;i<n.length&&typeof n[i]=="string";i+=2)if(n[i]==="class"&&KO(n[i+1].toLowerCase(),e,0)!==-1)return!0}else if(ev(t))return!1;if(i=n.indexOf(1,i),i>-1){let o;for(;++i<n.length&&typeof(o=n[i])=="string";)if(o.toLowerCase()===e)return!0}return!1}function ev(t){return t.type===4&&t.value!==HC}function JO(t,n,e){let r=t.type===4&&!e?HC:t.value;return n===r}function XO(t,n,e){let r=4,i=t.attrs,o=i!==null?n2(i):0,s=!1;for(let a=0;a<n.length;a++){let l=n[a];if(typeof l=="number"){if(!s&&!ui(r)&&!ui(l))return!1;if(s&&ui(l))continue;s=!1,r=l|r&1;continue}if(!s)if(r&4){if(r=2|r&1,l!==""&&!JO(t,l,e)||l===""&&n.length===1){if(ui(r))return!1;s=!0}}else if(r&8){if(i===null||!QO(t,i,l,e)){if(ui(r))return!1;s=!0}}else{let u=n[++a],f=e2(l,i,ev(t),e);if(f===-1){if(ui(r))return!1;s=!0;continue}if(u!==""){let h;if(f>o?h="":h=i[f+1].toLowerCase(),r&2&&u!==h){if(ui(r))return!1;s=!0}}}}return ui(r)||s}function ui(t){return(t&1)===0}function e2(t,n,e,r){if(n===null)return-1;let i=0;if(r||!e){let o=!1;for(;i<n.length;){let s=n[i];if(s===t)return i;if(s===3||s===6)o=!0;else if(s===1||s===2){let a=n[++i];for(;typeof a=="string";)a=n[++i];continue}else{if(s===4)break;if(s===0){i+=4;continue}}i+=o?1:2}return-1}else return r2(n,t)}function t2(t,n,e=!1){for(let r=0;r<n.length;r++)if(XO(t,n[r],e))return!0;return!1}function n2(t){for(let n=0;n<t.length;n++){let e=t[n];if(sC(e))return n}return t.length}function r2(t,n){let e=t.indexOf(4);if(e>-1)for(e++;e<t.length;){let r=t[e];if(typeof r=="number")return-1;if(r===n)return e;e++}return-1}function RE(t,n){return t?":not("+n.trim()+")":n}function i2(t){let n=t[0],e=1,r=2,i="",o=!1;for(;e<t.length;){let s=t[e];if(typeof s=="string")if(r&2){let a=t[++e];i+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?i+="."+s:r&4&&(i+=" "+s);else i!==""&&!ui(s)&&(n+=RE(o,i),i=""),r=s,o=o||!ui(r);e++}return i!==""&&(n+=RE(o,i)),n}function o2(t){return t.map(i2).join(",")}function s2(t){let n=[],e=[],r=1,i=2;for(;r<t.length;){let o=t[r];if(typeof o=="string")i===2?o!==""&&n.push(o,t[++r]):i===8&&e.push(o);else{if(!ui(i))break;i=o}r++}return e.length&&n.push(1,...e),n}var Nr={};function tv(t,n,e,r,i,o,s,a,l,u,f){let h=sn+r,m=h+i,v=a2(h,m),y=typeof u=="function"?u():u;return v[Xe]={type:t,blueprint:v,template:e,queries:null,viewQuery:a,declTNode:n,data:v.slice().fill(null,h),bindingStartIndex:h,expandoStartIndex:m,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof o=="function"?o():o,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:l,consts:y,incompleteFirstPass:!1,ssrId:f}}function a2(t,n){let e=[];for(let r=0;r<n;r++)e.push(r<t?null:Nr);return e}function l2(t){let n=t.tView;return n===null||n.incompleteFirstPass?t.tView=tv(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):n}function nv(t,n,e,r,i,o,s,a,l,u,f){let h=n.blueprint.slice();return h[ai]=i,h[at]=r|4|128|8|64|1024,(u!==null||t&&t[at]&2048)&&(h[at]|=2048),Eg(h),h[In]=h[Es]=t,h[gn]=e,h[li]=s||t&&t[li],h[Zt]=a||t&&t[Zt],h[Tr]=l||t&&t[Tr]||null,h[Hr]=o,h[lo]=mO(),h[Ca]=f,h[vg]=u,h[hr]=n.type==2?t[hr]:h,h}function c2(t,n,e){let r=zr(n,t),i=l2(e),o=t[li].rendererFactory,s=rv(t,nv(t,i,null,$C(e),r,n,null,o.createRenderer(r,e),null,
14null,null));return t[n.index]=s}function $C(t){let n=16;return t.signals?n=4096:t.onPush&&(n=64),n}function zC(t,n,e,r){if(e===0)return-1;let i=n.length;for(let o=0;o<e;o++)n.push(r),t.blueprint.push(r),t.data.push(null);return i}function rv(t,n){return t[wa]?t[gg][Br]=n:t[wa]=n,t[gg]=n,n}function he(t=1){GC(dn(),tt(),Fi()+t,!1)}function GC(t,n,e,r){if(!r)if((n[at]&3)===3){let o=t.preOrderCheckHooks;o!==null&&rf(n,o,e)}else{let o=t.preOrderHooks;o!==null&&of(n,o,0,e)}Vo(e)}var Ff=(function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t})(Ff||{});function g0(t,n,e,r){let i=et(null);try{let[o,s,a]=t.inputs[e],l=null;(s&Ff.SignalBased)!==0&&(l=n[o][Rn]),l!==null&&l.transformFn!==void 0?r=l.transformFn(r):a!==null&&(r=a.call(n,r)),t.setInput!==null?t.setInput(n,l,r,e,o):tC(n,l,o,r)}finally{et(i)}}var ji=(function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t})(ji||{}),u2;function iv(t,n){return u2(t,n)}var WC=new Ie("",{factory:()=>!1});var d2=!1,YC=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";function f2(t){return t[Tr].get(WC,d2)}function h2(t,n,e){let r=cc.get(t);if(r){for(let i of n)r.classList.push(i);for(let i of e)r.cleanupFns.push(i)}else cc.set(t,{classList:n,cleanupFns:e})}function qC(t){let n=cc.get(t);if(n){for(let e of n.cleanupFns)e();cc.delete(t)}gf.delete(t)}var cc=new WeakMap,gf=new WeakMap,v0=new WeakMap,oc=new WeakSet;function p2(t,n){let e=v0.get(t);if(!e||e.length===0)return;let r=n.parentNode,i=n.previousSibling;for(let o=e.length-1;o>=0;o--){let s=e[o],a=s.parentNode;s===n?(e.splice(o,1),oc.add(s),s.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}}))):(i&&s===i||a&&r&&a!==r)&&(e.splice(o,1),s.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}})),s.parentNode?.removeChild(s))}}function m2(t,n){let e=v0.get(t);e?e.includes(n)||e.push(n):v0.set(t,[n])}function kE(t){let n=t[co]??={};return n.enter??=new Map}function g2(t){let n=typeof t=="function"?t():t,e=Array.isArray(n)?n:null;return typeof n=="string"&&(e=n.trim().split(/\s+/).filter(r=>r)),e}function vf(t){return t.composedPath?t.composedPath()[0]:t.target}function ZC(t,n){let e=gf.get(n);return e===void 0?!0:n===vf(t)&&(e.animationName!==void 0&&t.animationName===e.animationName||e.propertyName!==void 0&&(e.propertyName==="all"||t.propertyName===e.propertyName))}function v2(t,n,e){let r=t.get(n.index)??{animateFns:[]};r.animateFns.push(e),t.set(n.index,r)}function yf(t){if(!t)return 0;let n=t.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(t)*n}function Is(t,n){return t.getPropertyValue(n).split(",").map(r=>r.trim())}function y2(t){let n=Is(t,"transition-property"),e=Is(t,"transition-duration"),r=Is(t,"transition-delay"),i={propertyName:"",duration:0,animationName:void 0};for(let o=0;o<n.length;o++){let s=yf(r[o])+yf(e[o]);s>i.duration&&(i.propertyName=n[o],i.duration=s)}return i}function _2(t){let n=Is(t,"animation-name"),e=Is(t,"animation-delay"),r=Is(t,"animation-duration"),i=Is(t,"animation-iteration-count"),o={animationName:"",propertyName:void 0,duration:0};for(let s=0;s<n.length;s++){let a=yf(e[s])+yf(r[s]),l=i[s];a>o.duration&&l!=="infinite"&&(o.animationName=n[s],o.duration=a)}return o}function KC(t,n){return t!==void 0&&t.duration>n.duration}function QC(t){return(t.animationName!=null||t.propertyName!=null)&&t.duration>0}function D2(t,n){let e=getComputedStyle(t),r=_2(e),i=y2(e),o=r.duration>i.duration?r:i;KC(n.get(t),o)||QC(o)&&n.set(t,o)}function E2(t,n,e){if(!e)return;let r=t.getAnimations();return r.length===0?D2(t,n):C2(t,n,r)}function C2(t,n,e){let r={animationName:void 0,propertyName:void 0,duration:0};for(let i of e){let o=i.effect?.getTiming();if(o?.iterations===1/0)continue;let s=typeof o?.duration=="number"?o.duration:0,a=(o?.delay??0)+s,l=i.playbackRate;l!==void 0&&l!==0&&l!==1&&(a/=Math.abs(l));let u,f;i.animationName?f=i.animationName:u=i.transitionProperty,a>=r.duration&&(r={animationName:f,propertyName:u,duration:a})}KC(n.get(t),r)||QC(r)&&n.set(t,r)}var As=new Set,Pf=(function(t){return t[t.CHANGE_DETECTION=0]="CHANGE_DETECTION",t[t.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",t})(Pf||{}),Ui=new Ie(""),OE=new Set;function gr(t){OE.has(t)||(OE.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}var ov=(()=>{class t{impl=null;execute(){this.impl?.execute()}static \u0275prov=fe({token:t,providedIn:"root",factory:()=>new t})}return t})(),JC=[0,1,2,3],XC=(()=>{class t{ngZone=$(Dt);
14scheduler=$(so);errorHandler=$(oi,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){$(Ui,{optional:!0})}execute(){let e=this.sequences.size>0;e&&Kt(kt.AfterRenderHooksStart),this.executing=!0;for(let r of JC)for(let i of this.sequences)if(!(i.erroredOrDestroyed||!i.hooks[r]))try{i.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let o=i.hooks[r];return o(i.pipelinedValue)},i.snapshot))}catch(o){i.erroredOrDestroyed=!0,this.errorHandler?.handleError(o)}this.executing=!1;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),e&&Kt(kt.AfterRenderHooksEnd)}register(e){let{view:r}=e;r!==void 0?((r[bs]??=[]).push(e),Ia(r),r[at]|=8192):this.executing?this.deferredRegistrations.add(e):this.addSequence(e)}addSequence(e){this.sequences.add(e),this.scheduler.notify(7)}unregister(e){this.executing&&this.sequences.has(e)?(e.erroredOrDestroyed=!0,e.pipelinedValue=void 0,e.once=!0):(this.sequences.delete(e),this.deferredRegistrations.delete(e))}maybeTrace(e,r){return r?r.run(Pf.AFTER_NEXT_RENDER,e):e()}static \u0275prov=fe({token:t,providedIn:"root",factory:()=>new t})}return t})(),_f=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(n,e,r,i,o,s=null){this.impl=n,this.hooks=e,this.view=r,this.once=i,this.snapshot=s,this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let n=this.view?.[bs];n&&(this.view[bs]=n.filter(e=>e!==this))}};function ja(t,n){let e=n?.injector??$(un);return gr("NgAfterNextRender"),w2(t,e,n,!0)}function b2(t){return t instanceof Function?[void 0,void 0,t,void 0]:[t.earlyRead,t.write,t.mixedReadWrite,t.read]}function w2(t,n,e,r){let i=n.get(ov);i.impl??=n.get(XC);let o=n.get(Ui,null,{optional:!0}),s=e?.manualCleanup!==!0?n.get(Mr):null,a=n.get(Kd,null,{optional:!0}),l=new _f(i.impl,b2(t),a?.view,r,s,o?.snapshot(null));return i.impl.register(l),l}var Lf=new Ie("",{factory:()=>({queue:new Set,isScheduled:!1,scheduler:null,injector:$(cn)})});function eb(t,n,e){let r=t.get(Lf);if(Array.isArray(n))for(let i of n)r.queue.add(i),e?.detachedLeaveAnimationFns?.push(i);else r.queue.add(n),e?.detachedLeaveAnimationFns?.push(n);r.scheduler&&r.scheduler(t)}function S2(t,n){let e=t.get(Lf);if(n.detachedLeaveAnimationFns){for(let r of n.detachedLeaveAnimationFns)e.queue.delete(r);n.detachedLeaveAnimationFns=void 0}}function T2(t){let n=t.get(Lf);n.isScheduled||(ja(()=>{n.isScheduled=!1;for(let e of n.queue)e();n.queue.clear()},{injector:n.injector}),n.isScheduled=!0)}function I2(t){let n=t.get(Lf);
vendor: 21,505 bytes, line 14
14n.scheduler=T2,n.scheduler(t)}function tb(t,n){for(let[e,r]of n)eb(t,r.animateFns)}function FE(t,n,e,r){let i=t?.[co]?.enter;n!==null&&i&&i.has(e.index)&&tb(r,i)}function Aa(t,n,e,r,i,o,s,a){if(i!=null){let l,u=!1;ci(i)?l=i:uo(i)&&(u=!0,i=i[ai]);let f=$r(i);t===0&&r!==null?(FE(a,r,o,e),s==null?LC(n,r,f):mf(n,r,f,s||null,!0)):t===1&&r!==null?(FE(a,r,o,e),mf(n,r,f,s||null,!0),p2(o,f)):t===2?(a?.[co]?.leave?.has(o.index)&&m2(o,f),oc.delete(f),PE(a,o,e,h=>{if(oc.has(f)){oc.delete(f);return}jC(n,f,u,h)})):t===3&&(oc.delete(f),PE(a,o,e,()=>{n.destroyNode(f)})),l!=null&&U2(n,t,e,l,o,r,s)}}function M2(t,n){nb(t,n),n[ai]=null,n[Hr]=null}function x2(t,n,e,r,i,o){r[ai]=i,r[Hr]=n,Vf(t,r,e,1,i,o)}function nb(t,n){n[li].changeDetectionScheduler?.notify(9),Vf(t,n,n[Zt],2,null,null)}function A2(t){let n=t[wa];if(!n)return Yg(t[Xe],t);for(;n;){let e=null;if(uo(n))e=n[wa];else{let r=n[vn];r&&(e=r)}if(!e){for(;n&&!n[Br]&&n!==t;)uo(n)&&Yg(n[Xe],n),n=n[In];n===null&&(n=t),uo(n)&&Yg(n[Xe],n),e=n&&n[Br]}n=e}}function sv(t,n){let e=t[ws],r=e.indexOf(n);e.splice(r,1)}function jf(t,n){if(Ss(n))return;let e=n[Zt];e.destroyNode&&Vf(t,n,e,3,null,null),A2(n)}function Yg(t,n){if(Ss(n))return;let e=et(null);try{n[at]&=-129,n[at]|=256,n[Ir]&&Rl(n[Ir]),k2(t,n),R2(t,n),n[Xe].type===1&&n[Zt].destroy();let r=n[Lo];if(r!==null&&ci(n[In])){r!==n[In]&&sv(r,n);let i=n[Ri];i!==null&&i.detachView(t)}o0(n)}finally{et(e)}}function PE(t,n,e,r){let i=t?.[co];if(i==null||i.leave==null||!i.leave.has(n.index))return r(!1);t&&As.add(t[lo]),eb(e,()=>{if(i.leave&&i.leave.has(n.index)){let s=i.leave.get(n.index),a=[];if(s){for(let l=0;l<s.animateFns.length;l++){let u=s.animateFns[l],{promise:f}=u();a.push(f)}i.detachedLeaveAnimationFns=void 0}i.running=Promise.allSettled(a),N2(t,r)}else t&&As.delete(t[lo]),r(!1)},i)}function N2(t,n){let e=t[co]?.running;if(e){e.then(()=>{t[co].running=void 0,As.delete(t[lo]),n(!0)});return}n(!1)}function R2(t,n){let e=t.cleanup,r=n[ba];if(e!==null)for(let s=0;s<e.length-1;s+=2)if(typeof e[s]=="string"){let a=e[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[e[s+1]];e[s].call(a)}r!==null&&(n[ba]=null);let i=n[oo];if(i!==null){n[oo]=null;for(let s=0;s<i.length;s++){let a=i[s];a()}}let o=n[Ql];if(o!==null){n[Ql]=null;for(let s of o)s.destroy()}}function k2(t,n){let e;if(t!=null&&(e=t.destroyHooks)!=null)for(let r=0;r<e.length;r+=2){let i=n[e[r]];if(!(i instanceof xs)){let o=e[r+1];if(Array.isArray(o))for(let s=0;s<o.length;s+=2){let a=i[o[s]],l=o[s+1];Kt(kt.LifecycleHookStart,a,l);try{l.call(a)}finally{Kt(kt.LifecycleHookEnd,a,l)}}else{Kt(kt.LifecycleHookStart,i,o);try{o.call(i)}finally{Kt(kt.LifecycleHookEnd,i,o)}}}}}function O2(t,n,e){return F2(t,n.parent,e)}function F2(t,n,e){let r=n;for(;r!==null&&r.type&168;)n=r,r=n.parent;if(r===null)return e[ai];if(fo(r)){let{encapsulation:i}=t.data[r.directiveStart+r.componentOffset];if(i===fi.None||i===fi.Emulated)return null}return zr(r,e)}function P2(t,n,e){return j2(t,n,e)}function L2(t,n,e){return t.type&40?zr(t,e):null}var j2=L2,LE;function av(t,n,e,r){let i=O2(t,r,n),o=n[Zt],s=r.parent||n[Hr],a=P2(s,r,n);if(i!=null)if(Array.isArray(e))for(let l=0;l<e.length;l++)NE(o,i,e[l],a,!1);else NE(o,i,e,a,!1);LE!==void 0&&LE(o,r,n,e,i)}function sc(t,n){if(n!==null){let e=n.type;if(e&3)return zr(n,t);if(e&4)return y0(-1,t[n.index]);if(e&8){let r=n.child;if(r!==null)return sc(t,r);{let i=t[n.index];return ci(i)?y0(-1,i):$r(i)}}else{if(e&128)return sc(t,n.next);if(e&32)return iv(n,t)()||$r(t[n.index]);{let r=rb(t,n);if(r!==null){if(Array.isArray(r))return r[0];let i=Fo(t[hr]);return sc(i,r)}else return sc(t,n.next)}}}return null}function rb(t,n){if(n!==null){let r=t[hr][Hr],i=n.projection;return r.projection[i]}return null}function y0(t,n){let e=vn+t+1;if(e<n.length){let r=n[e],i=r[Xe].firstChild;if(i!==null)return sc(r,i)}return n[jo]}function lv(t,n,e,r,i,o,s){for(;e!=null;){let a=r[Tr];if(e.type===128){e=e.next;continue}let l=r[e.index],u=e.type;if(s&&n===0&&(l&&Oa($r(l),r),e.flags|=2),!W0(e))if(u&8)lv(t,n,e.child,r,i,o,!1),Aa(n,t,a,i,l,e,o,r);else if(u&32){let f=iv(e,r),h;for(;h=f();)Aa(n,t,a,i,h,e,o,r);Aa(n,t,a,i,l,e,o,r)}else u&16?V2(t,n,r,e,i,o):Aa(n,t,a,i,l,e,o,r);e=s?e.projectionNext:e.next}}function Vf(t,n,e,r,i,o){lv(e,r,t.firstChild,n,i,o,!1)}function V2(t,n,e,r,i,o){let s=e[hr],l=s[Hr].projection[r.projection];if(Array.isArray(l))for(let u=0;u<l.length;u++){let f=l[u];Aa(n,t,e[Tr],i,f,r,o,e)}else{let u=l,f=s[In];gC(r)&&(u.flags|=128),lv(t,n,u,f,i,o,!0)}}function U2(t,n,e,r,i,o,s){let a=r[jo],l=$r(r);a!==l&&Aa(n,t,e,o,a,i,s);for(let u=vn;u<r.length;u++){let f=r[u];Vf(f[Xe],f,t,n,o,a)}}function B2(t,n,e,r,i){if(n)i?t.addClass(e,r):t.removeClass(e,r);else{let o=r.indexOf("-")===-1?void 0:ji.DashCase;i==null?t.removeStyle(e,r,o):(typeof i=="string"&&i.endsWith("!important")&&(i=i.slice(0,-10),o|=ji.Important),t.setStyle(e,r,i,o))}}function ib(t,n,e,r,i){let o=Fi(),s=r&2;try{Vo(-1),s&&n.length>sn&&GC(t,n,sn,!1);let a=s?kt.TemplateUpdateStart:kt.TemplateCreateStart;Kt(a,i,e),e(r,i)}finally{Vo(o);let a=s?kt.TemplateUpdateEnd:kt.TemplateCreateEnd;Kt(a,i,e)}}function ob(t,n,e){Y2(t,n,e),(e.flags&64)===64&&q2(t,n,e)}function Uf(t,n,e=zr){let r=n.localNames;if(r!==null){let i=n.index+1;for(let o=0;o<r.length;o+=2){let s=r[o+1],a=s===-1?e(n,t):t[s];t[i++]=a}}}function H2(t,n,e,r){let o=r.get(SC,wC)||e===fi.ShadowDom||e===fi.ExperimentalIsolatedShadowDom,s=t.selectRootElement(n,o);if(s.tagName.toLowerCase()==="script")throw new re(905,!1);return $2(s),s}function $2(t){z2(t)}var z2=()=>null;function G2(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t}function sb(t,n,e,r,i,o){let s=n[Xe];if(uv(t,s,n,e,r)){fo(t)&&W2(n,t.index);return}t.type&3&&(e=G2(e)),ab(t,n,e,r,i,o)}function ab(t,n,e,r,i,o){if(t.type&3){let s=zr(t,n);r=o!=null?o(r,t.value||"",e):r,i.setProperty(s,e,r)}else t.type&12}function W2(t,n){let e=Gr(n,t);e[at]&16||(e[at]|=64)}function Y2(t,n,e){let r=e.directiveStart,i=e.directiveEnd;fo(e)&&c2(n,e,t.data[r+e.componentOffset]),t.firstCreatePass||hf(e,n);let o=e.initialInputs;for(let s=r;s<i;s++){let a=t.data[s],l=lc(n,t,s,e);if(Oa(l,n),o!==null&&X2(n,s-r,l,a,e,o),ki(a)){let u=Gr(e.index,n);u[gn]=lc(n,t,s,e)}}}function q2(t,n,e){let r=e.directiveStart,i=e.directiveEnd,o=e.index,s=aE();try{Vo(o);for(let a=r;a<i;a++){let l=t.data[a],u=n[a];zd(a),(l.hostBindings!==null||l.hostVars!==0||l.hostAttrs!==null)&&Z2(l,u)}}finally{Vo(-1),zd(s)}}function Z2(t,n){t.hostBindings!==null&&t.hostBindings(1,n)}function K2(t,n){let e=t.directiveRegistry,r=null;if(e)for(let i=0;i<e.length;i++){let o=e[i];t2(n,o.selectors,!1)&&(r??=[],ki(o)?r.unshift(o):r.push(o))}return r}function Q2(t,n,e,r,i,o){let s=zr(t,n);J2(n[Zt],s,o,t.value,e,r,i)}function J2(t,n,e,r,i,o,s){if(o==null)t.removeAttribute(n,i,e);else{let a=s==null?_a(o):s(o,r||"",i);t.setAttribute(n,i,a,e)}}function X2(t,n,e,r,i,o){let s=o[n];if(s!==null)for(let a=0;a<s.length;a+=2){let l=s[a],u=s[a+1];g0(r,e,l,u)}}function cv(t,n,e,r,i){let o=sn+e,s=n[Xe],a=i(s,n,t,r,e);n[o]=a,Ts(t,!0);let l=t.type===2;return l?(VC(n[Zt],a,t),(J1()===0||Ud(t))&&Oa(a,n),X1()):Oa(a,n),qd()&&(!l||!W0(t))&&av(s,n,a,t),t}function Bf(t){let n=t;return Ag()?rE():(n=n.parent,Ts(n,!1)),n}function eF(t,n){let e=t[Tr];if(!e)return;let r;try{r=e.get(xr,null)}catch(i){r=null}r?.(n)}function uv(t,n,e,r,i){let o=t.inputs?.[r],s=t.hostDirectiveInputs?.[r],a=!1;if(s)for(let l=0;l<s.length;l+=2){let u=s[l],f=s[l+1],h=n.data[u];g0(h,e[u],f,i),a=!0}if(o)for(let l of o){let u=e[l],f=n.data[l];g0(f,u,r,i),a=!0}return a}function tF(t,n){let e=Gr(n,t),r=e[Xe];nF(r,e);let i=e[ai];i!==null&&e[Ca]===null&&(e[Ca]=TC(i,e[Tr])),Kt(kt.ComponentStart);try{dv(r,e,e[gn])}finally{Kt(kt.ComponentEnd,e[gn])}}function nF(t,n){for(let e=n.length;e<t.blueprint.length;e++)n.push(t.blueprint[e])}function dv(t,n,e){Wd(n);try{let r=t.viewQuery;r!==null&&a0(1,r,e);let i=t.template;i!==null&&ib(t,n,i,1,e),t.firstCreatePass&&(t.firstCreatePass=!1),n[Ri]?.finishViewCreation(t),t.staticContentQueries&&IC(t,n),t.staticViewQueries&&a0(2,t.viewQuery,e);let o=t.components;o!==null&&rF(n,o)}catch(r){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),r}finally{n[at]&=-5,Yd()}}function rF(t,n){for(let e=0;e<n.length;e++)tF(t,n[e])}function Hf(t,n,e,r){let i=et(null);try{let o=n.tView,a=t[at]&4096?4096:16,l=nv(t,o,e,a,null,n,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),u=t[n.index];l[Lo]=u;let f=t[Ri];return f!==null&&(l[Ri]=f.createEmbeddedView(o)),dv(o,l,e),l}finally{et(i)}}function uc(t,n){return!n||n.firstChild===null||gC(t)}function dc(t,n,e,r,i=!1){for(;e!==null;){if(e.type===128){e=i?e.projectionNext:e.next;continue}let o=n[e.index];o!==null&&r.push($r(o)),ci(o)&&lb(o,r);let s=e.type;if(s&8)dc(t,n,e.child,r);else if(s&32){let a=iv(e,n),l;for(;l=a();)r.push(l)}else if(s&16){let a=rb(n,e);if(Array.isArray(a))r.push(...a);else{let l=Fo(n[hr]);dc(l[Xe],l,a,r,!0)}}e=i?e.projectionNext:e.next}return r}function lb(t,n){for(let e=vn;e<t.length;e++){let r=t[e],i=r[Xe].firstChild;i!==null&&dc(r[Xe],r,i,n)}t[jo]!==t[ai]&&n.push(t[jo])}function cb(t){if(t[bs]!==null){for(let n of t[bs])n.impl.addSequence(n);t[bs].length=0}}var ub=[];function iF(t){return t[Ir]??oF(t)}function oF(t){let n=ub.pop()??Object.create(aF);return n.lView=t,n}function sF(t){t.lView[Ir]!==t&&(t.lView=null,ub.push(t))}var aF=Ze(ae({},ls),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{Ia(t.lView)},consumerOnSignalRead(){this.lView[Ir]=this}});function lF(t){let n=t[Ir]??Object.create(cF);return n.lView=t,n}var cF=Ze(ae({},ls),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{let n=Fo(t.lView);for(;n&&!db(n[Xe]);)n=Fo(n);n&&Cg(n)},consumerOnSignalRead(){this.lView[Ir]=this}});function db(t){return t.type!==2}function fb(t){if(t[Ql]===null)return;let n=!0;for(;n;){let e=!1;for(let r of t[Ql])r.dirty&&(e=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));n=e&&!!(t[at]&8192)}}var uF=100;function hb(t,n=0){let r=t[li].rendererFactory,i=!1;i||r.begin?.();try{dF(t,n)}finally{i||r.end?.()}}function dF(t,n){let e=Rg();try{kg(!0),_0(t,n);let r=0;for(;ec(t);){if(r===uF)throw new re(103,!1);r++,_0(t,1)}}finally{kg(e)}}function fF(t,n,e,r){if(Ss(n))return;let i=n[at],o=!1,s=!1;Wd(n);let a=!0,l=null,u=null;o||(db(t)?(u=iF(n),l=ds(u)):qu()===null?(a=!1,u=lF(n),l=ds(u)):n[Ir]&&(Rl(n[Ir]),n[Ir]=null));try{Eg(n),iE(t.bindingStartIndex),e!==null&&ib(t,n,e,2,r);let f=(i&3)===3;if(!o)if(f){let v=t.preOrderCheckHooks;v!==null&&rf(n,v,null)}else{let v=t.preOrderHooks;v!==null&&of(n,v,0,null),Gg(n,0)}if(s||hF(n),fb(n),pb(n,0),t.contentQueries!==null&&IC(t,n),!o)if(f){let v=t.contentCheckHooks;v!==null&&rf(n,v)}else{let v=t.contentHooks;v!==null&&of(n,v,1),Gg(n,1)}mF(t,n);let h=t.components;h!==null&&gb(n,h,0);let m=t.viewQuery;if(m!==null&&a0(2,m,r),!o)if(f){let v=t.viewCheckHooks;v!==null&&rf(n,v)}else{let v=t.viewHooks;v!==null&&of(n,v,2),Gg(n,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),n[Vd]){for(let v of n[Vd])v();n[Vd]=null}o||(cb(n),n[at]&=-73)}catch(f){throw o||Ia(n),f}finally{u!==null&&(aa(u,l),a&&sF(u)),Yd()}}function pb(t,n){for(let e=yC(t);e!==null;e=_C(e))for(let r=vn;r<e.length;r++){let i=e[r];mb(i,n)}}function hF(t){for(let n=yC(t);n!==null;n=_C(n)){if(!(n[at]&2))continue;let e=n[ws];for(let r=0;r<e.length;r++){let i=e[r];Cg(i)}}}function pF(t,n,e){Kt(kt.ComponentStart);let r=Gr(n,t);try{mb(r,e)}finally{Kt(kt.ComponentEnd,r[gn])}}function mb(t,n){Hd(t)&&_0(t,n)}function _0(t,n){let r=t[Xe],i=t[at],o=t[Ir],s=!!(n===0&&i&16);if(s||=!!(i&64&&n===0),s||=!!(i&1024),s||=!!(o?.dirty&&Zu(o)),s||=!1,o&&(o.dirty=!1),t[at]&=-9217,s)fF(r,t,r.template,t[gn]);else if(i&8192){let a=et(null);try{fb(t),pb(t,1);let l=r.components;l!==null&&gb(t,l,1),cb(t)}finally{et(a)}}}function gb(t,n,e){for(let r=0;r<n.length;r++)pF(t,n[r],e)}function mF(t,n){let e=t.hostBindingOpCodes;if(e!==null)try{for(let r=0;r<e.length;r++){let i=e[r];if(i<0)Vo(~i);else{let o=i,s=e[++r],a=e[++r];sE(s,o);let l=n[o];Kt(kt.HostBindingsUpdateStart,l);try{a(2,l)}finally{Kt(kt.HostBindingsUpdateEnd,l)}}}}finally{Vo(-1)}}function fv(t,n){let e=Rg()?64:1088;for(t[li].changeDetectionScheduler?.notify(n);t;){t[at]|=e;let r=Fo(t);if(Sa(t)&&!r)return t;t=r}return null}function vb(t,n,e,r){return[t,!0,0,n,null,r,null,e,null,null]}function yb(t,n){let e=vn+n;if(e<t.length)return t[e]}function $f(t,n,e,r=!0){let i=n[Xe];if(gF(i,n,t,e),r){let s=y0(e,t),a=n[Zt],l=a.parentNode(t[jo]);l!==null&&x2(i,t[Hr],a,n,l,s)}let o=n[Ca];o!==null&&o.firstChild!==null&&(o.firstChild=null)}function _b(t,n){let e=fc(t,n);return e!==void 0&&jf(e[Xe],e),e}function fc(t,n){if(t.length<=vn)return;let e=vn+n,r=t[e];if(r){let i=r[Lo];i!==null&&i!==t&&sv(i,r),n>0&&(t[e-1][Br]=r[Br]);let o=Zl(t,vn+n);M2(r[Xe],r);let s=o[Ri];s!==null&&s.detachView(o[Xe]),r[In]=null,r[Br]=null,r[at]&=-129}return r}function gF(t,n,e,r){let i=vn+r,o=e.length;r>0&&(e[i-1][Br]=n),r<o-vn?(n[Br]=e[i],cg(e,vn+r,n)):(e.push(n),n[Br]=null),n[In]=e;let s=n[Lo];s!==null&&e!==s&&Db(s,n);let a=n[Ri];a!==null&&a.insertView(t),$d(n),n[at]|=128}function Db(t,n){let e=t[ws],r=n[In];if(uo(r))t[at]|=2;else{let i=r[In][hr];n[hr]!==i&&(t[at]|=2)}e===null?t[ws]=[n]:e.push(n)}var Uo=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let n=this._lView,e=n[Xe];return dc(e,n,e.firstChild,[])}constructor(n,e){this._lView=n,this._cdRefInjectingView=e}get context(){return this._lView[gn]}set context(n){this._lView[gn]=n}get destroyed(){return Ss(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let n=this._lView[In];if(ci(n)){let e=n[Jl],r=e?e.indexOf(this):-1;r>-1&&(fc(n,r),Zl(e,r))}this._attachedToViewContainer=!1}jf(this._lView[Xe],this._lView)}onDestroy(n){bg(this._lView,n)}markForCheck(){fv(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[at]&=-129}reattach(){$d(this._lView),this._lView[at]|=128}detectChanges(){this._lView[at]|=1024,hb(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new re(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let n=Sa(this._lView),e=this._lView[Lo];e!==null&&!n&&sv(e,this._lView),nb(this._lView[Xe],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new re(902,!1);this._appRef=n;let e=Sa(this._lView),r=this._lView[Lo];r!==null&&!e&&Db(r,this._lView),$d(this._lView)}};var Fa=(()=>{class t{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=vF;constructor(e,r,i){this._declarationLView=e,this._declarationTContainer=r,this.elementRef=i}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,r){return this.createEmbeddedViewImpl(e,r)}createEmbeddedViewImpl(e,r,i){let o=Hf(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:r,dehydratedView:i});return new Uo(o)}}return t})();function vF(){return hv(En(),tt())}function hv(t,n){return t.type&4?new Fa(n,t,La(t,n)):null}function Ec(t,n,e,r,i){let o=t.data[n];if(o===null)o=yF(t,n,e,r,i),oE()&&(o.flags|=32);else if(o.type&64){o.type=e,o.value=r,o.attrs=i;let s=nE();o.injectorIndex=s===null?-1:s.injectorIndex}return Ts(o,!0),o}function yF(t,n,e,r,i){let o=xg(),s=Ag(),a=s?o:o&&o.parent,l=t.data[n]=DF(t,a,e,n,r,i);return _F(t,l,o,s),l}function _F(t,n,e,r){t.firstChild===null&&(t.firstChild=n),e!==null&&(r?e.child==null&&n.parent!==null&&(e.child=n):e.next===null&&(e.next=n,n.prev=e))}function DF(t,n,e,r,i,o){let s=n?n.injectorIndex:-1,a=0;return tE()&&(a|=128),{type:e,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,controlDirectiveIndex:-1,customControlIndex:-1,propertyBindings:null,flags:a,providerIndexes:0,value:i,namespace:jg(),attrs:o,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function EF(t){let n=t[yg]??[],r=t[In][Zt],i=[];for(let o of n)o.data[bC]!==void 0?i.push(o):CF(o,r);t[yg]=i}function CF(t,n){let e=0,r=t.firstChild;if(r){let i=t.data[CC];for(;e<i;){let o=r.nextSibling;jC(n,r,!1),r=o,e++}}}var bF=()=>null,wF=()=>null;function D0(t,n){return bF(t,n)}function Eb(t,n,e){return wF(t,n,e)}var Cb=class{},zf=class{},E0=class{resolveComponentFactory(n){throw new re(917,!1)}},Cc=class{static NULL=new E0},mo=class{},Rr=(()=>{class t{destroyNode=null;static __NG_ELEMENT_ID__=()=>SF()}return t})();function SF(){let t=tt(),n=En(),e=Gr(n.index,t);return(uo(e)?e:t)[Zt]}var bb=(()=>{class t{static \u0275prov=fe({token:t,providedIn:"root",factory:()=>null})}return t})();var af={},C0=class{injector;parentInjector;constructor(n,e){this.injector=n,this.parentInjector=e}get(n,e,r){let i=this.injector.get(n,af,r);return i!==af||e===af?i:this.parentInjector.get(n,e,r)}};function Df(t,n,e){let r=e?t.styles:null,i=e?t.classes:null,o=0;if(n!==null)for(let s=0;s<n.length;s++){let a=n[s];if(typeof a=="number")o=a;else if(o==1)i=Rd(i,a);else if(o==2){let l=a,u=n[++s];r=Rd(r,l+": "+u+";")}}e?t.styles=r:t.stylesWithoutHost=r,e?t.classes=i:t.classesWithoutHost=i}function pe(t,n=0){let e=tt();if(e===null)return Ce(t,n);let r=En();return hC(r,e,Vn(t),n)}function pv(){let t="invalid";throw new Error(t)}function TF(t,n,e,r,i){let o=r===null?null:{"":-1},s=i(t,e);if(s!==null){let a=s,l=null,u=null;for(let f of s)if(f.resolveHostDirectives!==null){[a,l,u]=f.resolveHostDirectives(s);break}xF(t,n,e,a,o,l,u)}o!==null&&r!==null&&IF(e,r,o)}function IF(t,n,e){let r=t.localNames=[];for(let i=0;i<n.length;i+=2){let o=e[n[i+1]];if(o==null)throw new re(-301,!1);r.push(n[i],o)}}function MF(t,n,e){n.componentOffset=e,(t.components??=[]).push(n.index)}function xF(t,n,e,r,i,o,s){let a=r.length,l=null;for(let m=0;m<a;m++){let v=r[m];l===null&&ki(v)&&(l=v,MF(t,e,m)),r0(hf(e,n),t,v.type)}FF(e,t.data.length,a),l?.viewProvidersResolver&&l.viewProvidersResolver(l);for(let m=0;m<a;m++){let v=r[m];v.providersResolver&&v.providersResolver(v)}let u=!1,f=!1,h=zC(t,n,a,null);a>0&&(e.directiveToIndex=new Map);for(let m=0;m<a;m++){let v=r[m];if(e.mergedAttrs=ka(e.mergedAttrs,v.hostAttrs),NF(t,e,n,h,v),OF(h,v,i),s!==null&&s.has(v)){let[w,C]=s.get(v);e.directiveToIndex.set(v.type,[h,w+e.directiveStart,C+e.directiveStart])}else(o===null||!o.has(v))&&e.directiveToIndex.set(v.type,h);v.contentQueries!==null&&(e.flags|=4),(v.hostBindings!==null||v.hostAttrs!==null||v.hostVars!==0)&&(e.flags|=64);let y=v.type.prototype;!u&&(y.ngOnChanges||y.ngOnInit||y.ngDoCheck)&&((t.preOrderHooks??=[]).push(e.index),u=!0),!f&&(y.ngOnChanges||y.ngDoCheck)&&((t.preOrderCheckHooks??=[]).push(e.index),f=!0),h++}AF(t,e,o)}function AF(t,n,e){for(let r=n.directiveStart;r<n.directiveEnd;r++){let i=t.data[r];if(e===null||!e.has(i))jE(0,n,i,r),jE(1,n,i,r),UE(n,r,!1);else{let o=e.get(i);VE(0,n,o,r),VE(1,n,o,r),UE(n,r,!0)}}}function jE(t,n,e,r){let i=t===0?e.inputs:e.outputs;for(let o in i)if(i.hasOwnProperty(o)){let s;t===0?s=n.inputs??={}:s=n.outputs??={},s[o]??=[],s[o].push(r),wb(n,o)}}function VE(t,n,e,r){let i=t===0?e.inputs:e.outputs;for(let o in i)if(i.hasOwnProperty(o)){let s=i[o],a;t===0?a=n.hostDirectiveInputs??={}:a=n.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,o),wb(n,s)}}function wb(t,n){n==="class"?t.flags|=8:n==="style"&&(t.flags|=16)}function UE(t,n,e){let{attrs:r,inputs:i,hostDirectiveInputs:o}=t;if(r===null||!e&&i===null||e&&o===null||ev(t)){t.initialInputs??=[],t.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let l=r[a];if(l===0){a+=4;continue}else if(l===5){a+=2;continue}else if(typeof l=="number")break;if(!e&&i.hasOwnProperty(l)){let u=i[l];for(let f of u)if(f===n){s??=[],s.push(l,r[a+1]);break}}else if(e&&o.hasOwnProperty(l)){let u=o[l];for(let f=0;f<u.length;f+=2)if(u[f]===n){s??=[],s.push(u[f+1],r[a+1]);break}}a+=2}t.initialInputs??=[],t.initialInputs.push(s)}function NF(t,n,e,r,i){t.data[r]=i;let o=i.factory||(i.factory=Oo(i.type,!0)),s=new xs(o,ki(i),pe,null);t.blueprint[r]=s,e[r]=s,RF(t,n,r,zC(t,e,i.hostVars,Nr),i)}function RF(t,n,e,r,i){let o=i.hostBindings;if(o){let s=t.hostBindingOpCodes;s===null&&(s=t.hostBindingOpCodes=[]);let a=~n.index;kF(s)!=a&&s.push(a),s.push(e,r,o)}}function kF(t){let n=t.length;for(;n>0;){let e=t[--n];if(typeof e=="number"&&e<0)return e}return 0}function OF(t,n,e){if(e){if(n.exportAs)for(let r=0;r<n.exportAs.length;r++)e[n.exportAs[r]]=t;ki(n)&&(e[""]=t)}}function FF(t,n,e){t.flags|=1,t.directiveStart=n,t.directiveEnd=n+e,t.providerIndexes=n}function Sb(t,n,e,r,i,o,s,a){let l=n[Xe],u=l.consts,f=Oi(u,s),h=Ec(l,t,e,r,f);return o&&TF(l,n,h,Oi(u,a),i),h.mergedAttrs=ka(h.mergedAttrs,h.attrs),h.attrs!==null&&Df(h,h.attrs,!1),h.mergedAttrs!==null&&Df(h,h.mergedAttrs,!0),l.queries!==null&&l.queries.elementStart(l,h),h}function mv(t,n){Kk(t,n),_g(n)&&t.queries.elementEnd(n)}function Tb(t,n,e,r,i,o){let s=n.consts,a=Oi(s,i),l=Ec(n,t,e,r,a);if(l.mergedAttrs=ka(l.mergedAttrs,l.attrs),o!=null){let u=Oi(s,o);l.localNames=[];for(let f=0;f<u.length;f+=2)l.localNames.push(u[f],-1)}return l.attrs!==null&&Df(l,l.attrs,!1),l.mergedAttrs!==null&&Df(l,l.mergedAttrs,!0),n.queries!==null&&n.queries.elementStart(n,l),l}
14function gv(t){return t!==null&&(typeof t=="function"||typeof t=="object")}function vv(t,n,e){return t[n]=e}function pr(t,n,e){if(e===Nr)return!1;let r=t[n];return Object.is(r,e)?!1:(t[n]=e,!0)}function Ib(t,n,e,r){let i=pr(t,n,e);return pr(t,n+1,r)||i}function PF(t,n,e,r,i){let o=Ib(t,n,e,r);return pr(t,n+2,i)||o}function lf(t,n,e){return function r(i){let o=r.__ngNativeEl__;o!==void 0&&yO(i,o);let s=fo(t)?Gr(t.index,n):n;fv(s,5);let a=n[gn],l=BE(n,a,e,i),u=r.__ngNextListenerFn__;for(;u;)l=BE(n,a,u,i)&&l,u=u.__ngNextListenerFn__;return l}}function BE(t,n,e,r){let i=et(null);try{return Kt(kt.OutputStart,n,e),e(r)!==!1}catch(o){return eF(t,o),!1}finally{Kt(kt.OutputEnd,n,e),et(i)}}function Mb(t,n,e,r,i,o,s,a){let l=Ud(t),u=!1,f=null;if(!r&&l&&(f=jF(n,e,o,t.index)),f!==null){let h=f.__ngLastListenerFn__||f;h.__ngNextListenerFn__=s,f.__ngLastListenerFn__=s,u=!0}else{let h=zr(t,e),m=r?r(h):h;DO(e,m,o,a),r||(a.__ngNativeEl__=h);let v=i.listen(m,o,a);if(!LF(o)){let y=r?w=>r($r(w[t.index])):t.index;xb(y,n,e,o,a,v,!1)}}return u}function LF(t){return t.startsWith("animation")||t.startsWith("transition")}function jF(t,n,e,r){let i=t.cleanup;if(i!=null)for(let o=0;o<i.length-1;o+=2){let s=i[o];if(s===e&&i[o+1]===r){let a=n[ba],l=i[o+2];return a&&a.length>l?a[l]:null}typeof s=="string"&&(o+=2)}return null}function xb(t,n,e,r,i,o,s){let a=n.firstCreatePass?Sg(n):null,l=wg(e),u=l.length;l.push(i,o),a&&a.push(r,t,u,(u+1)*(s?-1:1))}function HE(t,n,e,r,i,o){let s=n[e],a=n[Xe],u=a.data[e].outputs[r],h=s[u].subscribe(o);xb(t.index,a,n,i,o,h,!0)}var b0=Symbol("BINDING");function Ab(t){return t.debugInfo?.className||t.type.name||null}var Ef=class extends Cc{ngModule;constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){let e=Ai(n);return new Bo(e,this.ngModule)}};function VF(t){return Object.keys(t).map(n=>{let[e,r,i]=t[n],o={propName:e,templateName:n,isSignal:(r&Ff.SignalBased)!==0};return i&&(o.transform=i),o})}function UF(t){return Object.keys(t).map(n=>({propName:t[n],templateName:n}))}function BF(t,n,e){let r=n instanceof cn?n:n?.injector;return r&&t.getStandaloneInjector!==null&&(r=t.getStandaloneInjector(r)||r),r?new C0(e,r):e}function HF(t){let n=t.get(mo,null);if(n===null)throw new re(407,!1);let e=t.get(bb,null),r=t.get(so,null),i=t.get(Ui,null,{optional:!0});return{rendererFactory:n,sanitizer:e,changeDetectionScheduler:r,ngReflect:!1,tracingService:i}}function $F(t,n){let e=Nb(t);return PC(n,e,e==="svg"?G1:e==="math"?W1:null)}function Nb(t){return(t.selectors[0][0]||"div").toLowerCase()}var Bo=class extends zf{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=VF(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=UF(this.componentDef.outputs),this.cachedOutputs}constructor(n,e){super(),this.componentDef=n,this.ngModule=e,this.componentType=n.type,this.selector=o2(n.selectors),this.ngContentSelectors=n.ngContentSelectors??[],this.isBoundToModule=!!e}create(n,e,r,i,o,s){Kt(kt.DynamicComponentStart);let a=et(null);try{let l=this.componentDef,u=BF(l,i||this.ngModule,n),f=HF(u),h=f.tracingService;return h&&h.componentCreate?h.componentCreate(Ab(l),()=>this.createComponentRef(f,u,e,r,o,s)):this.createComponentRef(f,u,e,r,o,s)}finally{et(a)}}createComponentRef(n,e,r,i,o,s){let a=this.componentDef,l=zF(i,a,s,o),u=n.rendererFactory.createRenderer(null,a),f=i?H2(u,i,a.encapsulation,e):$F(a,u),h=s?.s
vendor: 6,893 bytes, line 14
14ome($E)||o?.some(y=>typeof y!="function"&&y.bindings.some($E)),m=nv(null,l,null,512|$C(a),null,null,n,u,e,null,TC(f,e,!0));m[sn]=f,Wd(m);let v=null;try{let y=Sb(sn,m,2,"#host",()=>l.directiveRegistry,!0,0);VC(u,f,y),Oa(f,m),ob(l,m,y),MC(l,y,m),mv(l,y),r!==void 0&&WF(y,this.ngContentSelectors,r),v=Gr(y.index,m),m[gn]=v[gn],dv(l,m,null)}catch(y){throw v!==null&&o0(v),o0(m),y}finally{Kt(kt.DynamicComponentEnd),Yd()}return new Cf(this.componentType,m,!!h)}};function zF(t,n,e,r){let i=t?["ng-version","21.2.17"]:s2(n.selectors[0]),o=null,s=null,a=0;if(e)for(let f of e)a+=f[b0].requiredVars,f.create&&(f.targetIdx=0,(o??=[]).push(f)),f.update&&(f.targetIdx=0,(s??=[]).push(f));if(r)for(let f=0;f<r.length;f++){let h=r[f];if(typeof h!="function")for(let m of h.bindings){a+=m[b0].requiredVars;let v=f+1;m.create&&(m.targetIdx=v,(o??=[]).push(m)),m.update&&(m.targetIdx=v,(s??=[]).push(m))}}let l=[n];if(r)for(let f of r){let h=typeof f=="function"?f:f.type,m=sg(h);l.push(m)}return tv(0,null,GF(o,s),1,a,l,null,null,null,[i],null)}function GF(t,n){return!t&&!n?null:e=>{if(e&1&&t)for(let r of t)r.create();if(e&2&&n)for(let r of n)r.update()}}function $E(t){let n=t[b0].kind;return n==="input"||n==="twoWay"}var Cf=class extends Cb{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(n,e,r){super(),this._rootLView=e,this._hasInputBindings=r,this._tNode=Bd(e[Xe],sn),this.location=La(this._tNode,e),this.instance=Gr(this._tNode.index,e)[gn],this.hostView=this.changeDetectorRef=new Uo(e,void 0),this.componentType=n}setInput(n,e){this._hasInputBindings;let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(n)&&Object.is(this.previousInputValues.get(n),e))return;let i=this._rootLView,o=uv(r,i[Xe],i,n,e);this.previousInputValues.set(n,e);let s=Gr(r.index,i);fv(s,1)}get injector(){return new Ms(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}};function WF(t,n,e){let r=t.projection=[];for(let i=0;i<n.length;i++){let o=e[i];r.push(o!=null&&o.length?Array.from(o):null)}}var Os=(()=>{class t{static __NG_ELEMENT_ID__=YF}return t})();function YF(){let t=En();return Rb(t,tt())}var w0=class t extends Os{_lContainer;_hostTNode;_hostLView;constructor(n,e,r){super(),this._lContainer=n,this._hostTNode=e,this._hostLView=r}get element(){return La(this._hostTNode,this._hostLView)}get injector(){return new Ms(this._hostTNode,this._hostLView)}get parentInjector(){let n=H0(this._hostTNode,this._hostLView);if(aC(n)){let e=df(n,this._hostLView),r=uf(n),i=e[Xe].data[r+8];return new Ms(i,e)}else return new Ms(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){let e=zE(this._lContainer);return e!==null&&e[n]||null}get length(){return this._lContainer.length-vn}createEmbeddedView(n,e,r){let i,o;typeof r=="number"?i=r:r!=null&&(i=r.index,o=r.injector);let s=D0(this._lContainer,n.ssrId),a=n.createEmbeddedViewImpl(e||{},o,s);return this.insertImpl(a,i,uc(this._hostTNode,s)),a}createComponent(n,e,r,i,o,s,a){let l=n&&!Gk(n),u;if(l)u=e;else{let C=e||{};u=C.index,r=C.injector,i=C.projectableNodes,o=C.environmentInjector||C.ngModuleRef,s=C.directives,a=C.bindings}let f=l?n:new Bo(Ai(n)),h=r||this.parentInjector;if(!o&&f.ngModule==null){let S=(l?h:this.parentInjector).get(cn,null);S&&(o=S)}let m=Ai(f.componentType??{}),v=D0(this._lContainer,m?.id??null),y=v?.firstChild??null,w=f.create(h,i,y,o,s,a);return this.insertImpl(w.hostView,u,uc(this._hostTNode,v)),w}insert(n,e){return this.insertImpl(n,e,!0)}insertImpl(n,e,r){let i=n._lView;if(q1(i)){let a=this.indexOf(n);if(a!==-1)this.detach(a);else{let l=i[In],u=new t(l,l[Hr],l[In]);u.detach(u.indexOf(n))}}let o=this._adjustIndex(e),s=this._lContainer;return $f(s,i,o,r),n.attachToViewContainerRef(),cg(qg(s),o,n),n}move(n,e){return this.insert(n,e)}indexOf(n){let e=zE(this._lContainer);return e!==null?e.indexOf(n):-1}remove(n){let e=this._adjustIndex(n,-1),r=fc(this._lContainer,e);r&&(Zl(qg(this._lContainer),e),jf(r[Xe],r))}detach(n){let e=this._adjustIndex(n,-1),r=fc(this._lContainer,e);return r&&Zl(qg(this._lContainer),e)!=null?new Uo(r):null}_adjustIndex(n,e=0){return n??this.length+e}};function zE(t){return t[Jl]}function qg(t){return t[Jl]||(t[Jl]=[])}function Rb(t,n){let e,r=n[t.index];return ci(r)?e=r:(e=vb(r,n,null,t),n[t.index]=e,rv(n,e)),ZF(e,n,t,r),new w0(e,t,n)}function qF(t,n){let e=t[Zt],r=e.createComment(""),i=zr(n,t),o=e.parentNode(i);return mf(e,o,r,e.nextSibling(i),!1),r}var ZF=JF,KF=()=>!1;function QF(t,n,e){return KF(t,n,e)}function JF(t,n,e,r){if(t[jo])return;let i;e.type&8?i=$r(r):i=qF(n,e),t[jo]=i}var S0=class t{queryList;matches=null;constructor(n){this.queryList=n}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},T0=class t{queries;constructor(n=[]){this.queries=n}createEmbeddedView(n){let e=n.queries;if(e!==null){let r=n.contentQueries!==null?n.contentQueries[0]:e.length,i=[];for(let o=0;o<r;o++){let s=e.getByIndex(o),a=this.queries[s.indexInDeclarationView];i.push(a.clone())}return new t(i)}return null}insertView(n){this.dirtyQueriesWithMatches(n)}detachView(n){this.dirtyQueriesWithMatches(n)}finishViewCreation(n){this.dirtyQueriesWithMatches(n)}dirtyQueriesWithMatches(n){for(let e=0;e<this.queries.length;e++)yv(n,e).matches!==null&&this.queries[e].setDirty()}},I0=class{flags;read;predicate;constructor(n,e,r=null){this.flags=e,this.read=r,typeof n=="string"?this.predicate=sP(n):this.predicate=n}},M0=class t{queries;constructor(n=[]){this.queries=n}elementStart(n,e){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(n,e)}elementEnd(n){for(let e=0;e<this.queries.length;e++)this.queries[e].elementEnd(n)}embeddedTView(n){let e=null;for(let r=0;r<this.length;r++){let i=e!==null?e.length:0,o=this.getByIndex(r).embeddedTView(n,i);o&&(o.indexInDeclarationView=r,e!==null?e.push(o):e=[o])}return e!==null?new t(e):null}template(n,e){for(let r=0;r<this.queries.length;r++)this.queries[r].template(n,e)}getByIndex(n){return this.queries[n]}get length(){return this.queries.length}track(n){this.queries.push(n)}},x0=class t{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(n,e=-1){this.metadata=n,this._declarationNodeIndex=e}elementStart(n,e){this.isApplyingToNode(e)&&this.matchTNode(n,e)}elementEnd(n){this._declarationNodeIndex===n.index&&(this._appliesToNextNode=!1)}template(n,e){this.elementStart(n,e)}embeddedTView(n,e){return this.isApplyingToNode(n)?(this.crossesNgTemplate=!0,this.addMatch(-n.index,e),new t(this.metadata)):null}isApplyingToNode(n){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let e=this._declarationNodeIndex,r=n.parent;for(;r!==null&&r.type&8&&r.index!==e;)r=r.parent;return e===(r!==null?r.index:-1)}return this._appliesToNextNode}
14matchTNode(n,e){let r=this.metadata.predicate;if(Array.isArray(r))for(let i=0;i<r.length;i++){let o=r[i];this.matchTNodeWithReadOption(n,e,XF(e,o)),this.matchTNodeWithReadOption(n,e,sf(e,n,o,!1,!1))}else r===Fa?e.type&4&&this.matchTNodeWithReadOption(n,e,-1):this.matchTNodeWithReadOption(n,e,sf(e,n,r,!1,!1))}matchTNodeWithReadOption(n,e,r){if(r!==null){let i=this.metadata.read;if(i!==null)if(i===xn||i===Os||i===Fa&&e.type&4)this.addMatch(e.index,-2);else{let o=sf(e,n,i,!1,!1);o!==null&&this.addMatch(e.index,o)}else this.addMatch(e.index,r)}}addMatch(n,e){this.matches===null?this.matches=[n,e]:this.matches.push(n,e)}};function XF(t,n){let e=t.localNames;if(e!==null){for(let r=0;r<e.length;r+=2)if(e[r]===n)return e[r+1]}return null}function eP(t,n){return t.type&11?La(t,n):t.type&4?hv(t,n):null}function tP(t,n,e,r){return e===-1?eP(n,t):e===-2?nP(t,n,r):lc(t,t[Xe],e,n)}function nP(t,n,e){if(e===xn)return La(n,t);if(e===Fa)return hv(n,t);if(e===Os)return Rb(n,t)}function kb(t,n,e,r){let i=n[Ri].queries[r];if(i.matches===null){let o=t.data,s=e.matches,a=[];for(let l=0;s!==null&&l<s.length;l+=2){let u=s[l];if(u<0)a.push(null);else{let f=o[u];a.push(tP(n,f,s[l+1],e.metadata.read))}}i.matches=a}return i.matches}function A0(t,n,e,r){let i=t.queries.getByIndex(e),o=i.matches;if(o!==null){let s=kb(t,n,i,e);for(let a=0;a<o.length;a+=2){let l=o[a];if(l>0)r.push(s[a/2]);else{let u=o[a+1],f=n[-l];for(let h=vn;h<f.length;h++){let m=f[h];m[Lo]===m[In]&&A0(m[Xe],m,u,r)}if(f[ws]!==null){let h=f[ws];for(let m=0;m<h.length;m++){let v=h[m];A0(v[Xe],v,u,r)}}}}}return r}function rP(t,n){return t[Ri].queries[n].queryList}function iP(t,n,e){let r=new pf((e&4)===4);return Q1(t,n,r,r.destroy),(n[Ri]??=new T0).queries.push(new S0(r))-1}function oP(t,n,e){let r=dn();return r.firstCreatePass&&(aP(r,new I0(t,n,e),-1),(n&2)===2&&(r.staticViewQueries=!0)),iP(r,tt(),n)}function sP(t){return t.split(",").map(n=>n.trim())}function aP(t,n,e){t.queries===null&&(t.queries=new M0),t.queries.track(new x0(n,e))}function yv(t,n){return t.queries.getByIndex(n)}function lP(t,n){let e=t[Xe],r=yv(e,n);return r.crossesNgTemplate?A0(e,t,n,[]):kb(e,t,r,n)}var N0=new Map,cP=new Set;function _v(t){return Tt(this,null,function*(){let n=N0;N0=new Map;let e=new Map;function r(o){let s=e.get(o);if(s)return s;let a=t(o).then(l=>uP(o,l));return e.set(o,a),a}let i=Array.from(n).map(a=>Tt(null,[a],function*([o,s]){if(s.styleUrl&&s.styleUrls?.length)throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");let l=[];s.templateUrl&&l.push(r(s.templateUrl).then(m=>{s.template=m}));let u=typeof s.styles=="string"?[s.styles]:s.styles??[];s.styles=u;let{styleUrl:f,styleUrls:h}=s;
vendor: 11,272 bytes, line 14
14if(f&&(h=[f],s.styleUrl=void 0),h?.length){let m=Promise.all(h.map(v=>r(v))).then(v=>{u.push(...v),s.styleUrls=void 0});l.push(m)}yield Promise.all(l),cP.delete(o)}));yield Promise.all(i)})}function Ob(){return N0.size===0}function uP(t,n){return Tt(this,null,function*(){if(typeof n=="string")return n;if(n.status!==void 0&&n.status!==200)throw new re(918,!1);return n.text()})}var Ns=class{},Gf=class{};var hc=class extends Ns{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new Ef(this);constructor(n,e,r,i=!0){super(),this.ngModuleType=n,this._parent=e;let o=og(n);this._bootstrapComponents=BC(o.bootstrap),this._r3Injector=Vg(n,e,[{provide:Ns,useValue:this},{provide:Cc,useValue:this.componentFactoryResolver},...r],Gl(n),new Set(["environment"])),i&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}},pc=class extends Gf{moduleType;constructor(n){super(),this.moduleType=n}create(n){return new hc(this.moduleType,n,[])}};function Fb(t,n,e){return new hc(t,n,e,!1)}var bf=class extends Ns{injector;componentFactoryResolver=new Ef(this);instance=null;constructor(n){super();let e=new _s([...n.providers,{provide:Ns,useValue:this},{provide:Cc,useValue:this.componentFactoryResolver}],n.parent||Ea(),n.debugName,new Set(["environment"]));this.injector=e,n.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}};function Va(t,n,e=null){return new bf({providers:t,parent:n,debugName:e,runEnvironmentInitializers:!0}).injector}var dP=(()=>{class t{_injector;cachedInjectors=new Map;constructor(e){this._injector=e}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e)){let r=fg(!1,e.type),i=r.length>0?Va([r],this._injector,""):null;this.cachedInjectors.set(e,i)}return this.cachedInjectors.get(e)}ngOnDestroy(){try{for(let e of this.cachedInjectors.values())e!==null&&e.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=fe({token:t,providedIn:"environment",factory:()=>new t(Ce(cn))})}return t})();function At(t){return gc(()=>{let n=Pb(t),e=Ze(ae({},n),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===$0.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&t.dependencies||null,getStandaloneInjector:n.standalone?i=>i.get(dP).getOrCreateStandaloneInjector(e):null,getExternalStyles:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||fi.Emulated,styles:t.styles||nr,_:null,schemas:t.schemas||null,tView:null,id:""});n.standalone&&gr("NgStandalone"),Lb(e);let r=t.dependencies;return e.directiveDefs=GE(r,fP),e.pipeDefs=GE(r,k1),e.id=mP(e),e})}function fP(t){return Ai(t)||sg(t)}function Ot(t){return gc(()=>({type:t.type,bootstrap:t.bootstrap||nr,declarations:t.declarations||nr,imports:t.imports||nr,exports:t.exports||nr,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function hP(t,n){if(t==null)return Po;let e={};for(let r in t)if(t.hasOwnProperty(r)){let i=t[r],o,s,a,l;Array.isArray(i)?(a=i[0],o=i[1],s=i[2]??o,l=i[3]||null):(o=i,s=i,a=Ff.None,l=null),e[o]=[r,a,l],n[o]=s}return e}function pP(t){if(t==null)return Po;let n={};for(let e in t)t.hasOwnProperty(e)&&(n[t[e]]=e);return n}function Gt(t){return gc(()=>{let n=Pb(t);return Lb(n),n})}function Fs(t){return{type:t.type,name:t.name,factory:null,pure:t.pure!==!1,standalone:t.standalone??!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function Pb(t){let n={};return{type:t.type,providersResolver:null,viewProvidersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:n,inputConfig:t.inputs||Po,exportAs:t.exportAs||null,standalone:t.standalone??!0,signals:t.signals===!0,selectors:t.selectors||nr,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,inputs:hP(t.inputs,n),outputs:pP(t.outputs),debugInfo:null}}function Lb(t){t.features?.forEach(n=>n(t))}function GE(t,n){return t?()=>{let e=typeof t=="function"?t():t,r=[];for(let i of e){let o=n(i);o!==null&&r.push(o)}return r}:null}function mP(t){let n=0,e=typeof t.consts=="function"?"":t.consts,r=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,e,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery];for(let o of r.join("|"))n=Math.imul(31,n)+o.charCodeAt(0)<<0;return n+=2147483648,"c"+n}function gP(t){return Object.getPrototypeOf(t.prototype).constructor}function Cn(t){let n=gP(t.type),e=!0,r=[t];for(;n&&n!==Function.prototype&&n!==Object.prototype;){let i,o=Object.hasOwn(n,Yl)?n[Yl]:void 0,s=Object.hasOwn(n,ql)?n[ql]:void 0;if(ki(t))i=o??s;else{if(o)throw new re(903,!1);i=s}if(i){if(e){r.push(i);let l=t;l.inputs=Zg(t.inputs),l.declaredInputs=Zg(t.declaredInputs),l.outputs=Zg(t.outputs);let u=i.hostBindings;u&&EP(t,u);let f=i.viewQuery,h=i.contentQueries;if(f&&_P(t,f),h&&DP(t,h),vP(t,i),R1(t.outputs,i.outputs),ki(i)&&i.data.animation){let m=t.data;m.animation=(m.animation||[]).concat(i.data.animation)}}let a=i.features;if(a)for(let l=0;l<a.length;l++){let u=a[l];u&&u.ngInherit&&u(t),u===Cn&&(e=!1)}}n=Object.getPrototypeOf(n)}yP(r)}function vP(t,n){for(let e in n.inputs){if(!n.inputs.hasOwnProperty(e)||t.inputs.hasOwnProperty(e))continue;let r=n.inputs[e];r!==void 0&&(t.inputs[e]=r,t.declaredInputs[e]=n.declaredInputs[e])}}function yP(t){let n=0,e=null;for(let r=t.length-1;r>=0;r--){let i=t[r];i.hostVars=n+=i.hostVars,i.hostAttrs=ka(i.hostAttrs,e=ka(e,i.hostAttrs))}}function Zg(t){return t===Po?{}:t===nr?[]:t}function _P(t,n){let e=t.viewQuery;e?t.viewQuery=(r,i)=>{n(r,i),e(r,i)}:t.viewQuery=n}function DP(t,n){let e=t.contentQueries;e?t.contentQueries=(r,i,o)=>{n(r,i,o),e(r,i,o)}:t.contentQueries=n}function EP(t,n){let e=t.hostBindings;e?t.hostBindings=(r,i)=>{n(r,i),e(r,i)}:t.hostBindings=n}function CP(t,n,e,r,i,o,s,a){if(e.firstCreatePass){t.mergedAttrs=ka(t.mergedAttrs,t.attrs);let f=t.tView=tv(2,t,i,o,s,e.directiveRegistry,e.pipeRegistry,null,e.schemas,e.consts,null);e.queries!==null&&(e.queries.template(e,t),f.queries=e.queries.embeddedTView(t))}a&&(t.flags|=a),Ts(t,!1);let l=bP(e,n,t,r);qd()&&av(e,n,l,t),Oa(l,n);let u=vb(l,n,l,t);n[r+sn]=u,rv(n,u),QF(u,t,n)}function wf(t,n,e,r,i,o,s,a,l,u,f){let h=e+sn,m;if(n.firstCreatePass){if(m=Ec(n,h,4,s||null,a||null),u!=null){let v=Oi(n.consts,u);m.localNames=[];for(let y=0;y<v.length;y+=2)m.localNames.push(v[y],-1)}}else m=n.data[h];return CP(m,t,n,e,r,i,o,l),u!=null&&Uf(t,m,f),m}var bP=wP;function wP(t,n,e,r){return rc(!0),n[Zt].createComment("")}var Wf=(()=>{class t{log(e){console.log(e)}warn(e){console.warn(e)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=fe({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();function Dv(t){return typeof t=="function"&&t[Rn]!==void 0}function Ev(t){return Dv(t)&&typeof t.set=="function"}var Yf=new Ie(""),qf=new Ie(""),bc=(()=>{class t{_ngZone;registry;_isZoneStable=!0;_callbacks=[];_taskTrackingZone=null;_destroyRef;constructor(e,r,i){this._ngZone=e,this.registry=r,mg()&&(this._destroyRef=$(Mr,{optional:!0})??void 0),Cv||(Vb(i),i.addToWindow(r)),this._watchAngularEvents(),e.run(()=>{this._taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){let e=this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),r=this._ngZone.runOutsideAngular(()=>this._ngZone.onStable.subscribe({next:()=>{Dt.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}}));this._destroyRef?.onDestroy(()=>{e.unsubscribe(),r.unsubscribe()})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb()}});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>r.updateCb&&r.updateCb(e)?(clearTimeout(r.timeoutId),!1):!0)}}getPendingTasks(){return this._taskTrackingZone?this._taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,r,i){let o=-1;r&&r>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),e()},r)),this._callbacks.push({doneCb:e,timeoutId:o,updateCb:i})}whenStable(e,r,i){if(i&&!this._taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(e,r,i),this._runCallbacksIfReady()}registerApplication(e){this.registry.registerApplication(e,this)}unregisterApplication(e){this.registry.unregisterApplication(e)}findProviders(e,r,i){return[]}static \u0275fac=function(r){return new(r||t)(Ce(Dt),Ce(jb),Ce(qf))};static \u0275prov=fe({token:t,factory:t.\u0275fac})}return t})(),jb=(()=>{class t{_applications=new Map;registerApplication(e,r){this._applications.set(e,r)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,r=!0){return Cv?.findTestabilityInTree(this,e,r)??null}static \u0275fac=function(r){return new(r||t)};static \u0275prov=fe({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();function Vb(t){Cv=t}var Cv;function Ho(t){return!!t&&typeof t.then=="function"}function bv(t){return!!t&&typeof t.subscribe=="function"}var wv=new Ie("");function Zf(t){return Ni([{provide:wv,multi:!0,useValue:t}])}var Sv=(()=>{class t{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((e,r)=>{this.resolve=e,this.reject=r});appInits=$(wv,{optional:!0})??[];injector=$(un);constructor(){}runInitializers(){if(this.initialized)return;let e=[];for(let i of this.appInits){let o=Mn(this.injector,i);if(Ho(o))e.push(o);else if(bv(o)){let s=new Promise((a,l)=>{o.subscribe({complete:a,error:l})});e.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(e).then(()=>{r()}).catch(i=>{this.reject(i)}),e.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||t)};static \u0275prov=fe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Kf=new Ie("");function Ub(){Tm(()=>{let t="";throw new re(600,t)})}function Bb(t){return t.isBoundToModule}var SP=10;function Tv(t,n){return Array.isArray(n)?n.reduce(Tv,t):ae(ae({},t),n)}var ir=(()=>{class t{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=$(xr);afterRenderManager=$(ov);zonelessEnabled=$(Ma);
14rootEffectScheduler=$(zg);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new yn;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=$(Pi);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(_t(e=>!e))}constructor(){$(Ui,{optional:!0})}whenStable(){let e;return new Promise(r=>{e=this.isStable.subscribe({next:i=>{i&&r()}})}).finally(()=>{e.unsubscribe()})}_injector=$(cn);_rendererFactory=null;get injector(){return this._injector}bootstrap(e,r){return this.bootstrapImpl(e,r)}bootstrapImpl(e,r,i=un.NULL){return this._injector.get(Dt).run(()=>{Kt(kt.BootstrapComponentStart);let s=e instanceof zf;if(!this._injector.get(Sv).done){let y="";throw new re(405,y)}let l;s?l=e:l=this._injector.get(Cc).resolveComponentFactory(e),this.componentTypes.push(l.componentType);let u=Bb(l)?void 0:this._injector.get(Ns),f=r||l.selector,h=l.create(i,[],f,u),m=h.location.nativeElement,v=h.injector.get(Yf,null);return v?.registerApplication(m),h.onDestroy(()=>{this.detachView(h.hostView),ac(this.components,h),v?.unregisterApplication(m)}),this._loadComponent(h),Kt(kt.BootstrapComponentEnd,h),h})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){Kt(kt.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(Pf.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw Kt(kt.ChangeDetectionEnd),new re(101,!1);let e=et(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,et(e),this.afterTick.next(),Kt(kt.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(mo,null,{optional:!0}));let e=0;for(;this.dirtyFlags!==0&&e++<SP;){Kt(kt.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{Kt(kt.ChangeDetectionSyncEnd)}}}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let e=!1;if(this.dirtyFlags&7){let r=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:i}of this.allViews){if(!r&&!ec(i))continue;let o=r&&!this.zonelessEnabled?0:1;hb(i,o),e=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}e||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:e})=>ec(e))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(e){let r=e;this._views.push(r),r.attachToAppRef(this)}detachView(e){let r=e;ac(this._views,r),r.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView);try{this.tick()}catch(i){this.internalErrorHandler(i)}this.components.push(e),this._injector.get(Kf,[]).forEach(i=>i(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>ac(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new re(406,!1);let e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||t)};static \u0275prov=fe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function ac(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}function Un(t,n,e,r){let i=tt(),o=ho();if(pr(i,o,n)){let s=dn(),a=nc();Q2(a,i,t,n,e,r)}return Un}function Ra(t){if(gr("NgAnimateEnter"),!YC)return Ra;let n=tt();if(f2(n))return Ra;let e=En(),r=n[Tr].get(Dt);return v2(kE(n),e,()=>TP(n,e,t,r)),I2(n[Tr]),tb(n[Tr],kE(n)),Ra}function TP(t,n,e,r){let i=zr(n,t),o=t[Zt],s=g2(e),a=[],l=!1,u=h=>{if(vf(h)!==i)return;let m=h instanceof AnimationEvent?"animationend":"transitionend";r.runOutsideAngular(()=>{o.listen(i,m,f)})},f=h=>{vf(h)===i&&(ZC(h,i)&&(l=!0),IP(h,i,o))};if(s&&s.length>0){r.runOutsideAngular(()=>{a.push(o.listen(i,"animationstart",u)),a.push(o.listen(i,"transitionstart",u))}),h2(i,s,a);for(let h of s)o.addClass(i,h);r.runOutsideAngular(()=>{requestAnimationFrame(()=>{if(!l&&(E2(i,gf,YC),!gf.has(i))){for(let h of s)o.removeClass(i,h);qC(i)}})})}}function IP(t,n,e){let r=cc.get(n);if(!(vf(t)!==n||!r)&&ZC(t,n)){t.stopPropagation();for(let i of r.classList)e.removeClass(n,i);qC(n)}}function Iv(){return tt()[hr][gn]}var R0=class{destroy(n){}updateValue(n,e){}swap(n,e){let r=Math.min(n,e),i=Math.max(n,e),o=this.detach(i);if(i-r>1){let s=this.detach(r);this.attach(r,o),this.attach(i,s)}else this.attach(r,o)}move(n,e){this.attach(e,this.detach(n))}};function Kg(t,n,e,r,i){return t===e&&Object.is(n,r)?1:Object.is(i(t,n),i(e,r))?-1:0}function MP(t,n,e,r){let i,o,s=0,a=t.length-1,l=void 0;if(Array.isArray(n)){et(r);let u=n.length-1;for(et(null);s<=a&&s<=u;){let f=t.at(s),h=n[s],m=Kg(s,f,s,h,e);if(m!==0){m<0&&t.updateValue(s,h),s++;continue}let v=t.at(a),y=n[u],w=Kg(a,v,u,y,e);
vendor: 19,476 bytes, line 14
14if(w!==0){w<0&&t.updateValue(a,y),a--,u--;continue}let C=e(s,f),S=e(a,v),x=e(s,h);if(Object.is(x,S)){let j=e(u,y);Object.is(j,C)?(t.swap(s,a),t.updateValue(a,y),u--,a--):t.move(a,s),t.updateValue(s,h),s++;continue}if(i??=new Sf,o??=YE(t,s,a,e),k0(t,i,s,x))t.updateValue(s,h),s++,a++;else if(o.has(x))i.set(C,t.detach(s)),a--;else{let j=t.create(s,n[s]);t.attach(s,j),s++,a++}}for(;s<=u;)WE(t,i,e,s,n[s]),s++}else if(n!=null){et(r);let u=n[Symbol.iterator]();et(null);let f=u.next();for(;!f.done&&s<=a;){let h=t.at(s),m=f.value,v=Kg(s,h,s,m,e);if(v!==0)v<0&&t.updateValue(s,m),s++,f=u.next();else{i??=new Sf,o??=YE(t,s,a,e);let y=e(s,m);if(k0(t,i,s,y))t.updateValue(s,m),s++,a++,f=u.next();else if(!o.has(y))t.attach(s,t.create(s,m)),s++,a++,f=u.next();else{let w=e(s,h);i.set(w,t.detach(s)),a--}}}for(;!f.done;)WE(t,i,e,t.length,f.value),f=u.next()}for(;s<=a;)t.destroy(t.detach(a--));i?.forEach(u=>{t.destroy(u)})}function k0(t,n,e,r){return n!==void 0&&n.has(r)?(t.attach(e,n.get(r)),n.delete(r),!0):!1}function WE(t,n,e,r,i){if(k0(t,n,r,e(r,i)))t.updateValue(r,i);else{let o=t.create(r,i);t.attach(r,o)}}function YE(t,n,e,r){let i=new Set;for(let o=n;o<=e;o++)i.add(r(o,t.at(o)));return i}var Sf=class{kvMap=new Map;_vMap=void 0;has(n){return this.kvMap.has(n)}delete(n){if(!this.has(n))return!1;let e=this.kvMap.get(n);return this._vMap!==void 0&&this._vMap.has(e)?(this.kvMap.set(n,this._vMap.get(e)),this._vMap.delete(e)):this.kvMap.delete(n),!0}get(n){return this.kvMap.get(n)}set(n,e){if(this.kvMap.has(n)){let r=this.kvMap.get(n);this._vMap===void 0&&(this._vMap=new Map);let i=this._vMap;for(;i.has(r);)r=i.get(r);i.set(r,e)}else this.kvMap.set(n,e)}forEach(n){for(let[e,r]of this.kvMap)if(n(r,e),this._vMap!==void 0){let i=this._vMap;for(;i.has(r);)r=i.get(r),n(r,e)}}};function Ye(t,n,e,r,i,o,s,a){gr("NgControlFlow");let l=tt(),u=dn(),f=Oi(u.consts,o);return wf(l,u,t,n,e,r,i,f,256,s,a),Mv}function Mv(t,n,e,r,i,o,s,a){gr("NgControlFlow");let l=tt(),u=dn(),f=Oi(u.consts,o);return wf(l,u,t,n,e,r,i,f,512,s,a),Mv}function qe(t,n){gr("NgControlFlow");let e=tt(),r=ho(),i=e[r]!==Nr?e[r]:-1,o=i!==-1?Tf(e,sn+i):void 0,s=0;if(pr(e,r,t)){let a=et(null);try{if(o!==void 0&&_b(o,s),t!==-1){let l=sn+t,u=Tf(e,l),f=L0(e[Xe],l),h=Eb(u,f,e),m=Hf(e,f,n,{dehydratedView:h});$f(u,m,s,uc(f,h))}}finally{et(a)}}else if(o!==void 0){let a=yb(o,s);a!==void 0&&(a[gn]=n)}}var O0=class{lContainer;$implicit;$index;constructor(n,e,r){this.lContainer=n,this.$implicit=e,this.$index=r}get $count(){return this.lContainer.length-vn}};function wc(t,n){return n}var F0=class{hasEmptyBlock;trackByFn;liveCollection;constructor(n,e,r){this.hasEmptyBlock=n,this.trackByFn=e,this.liveCollection=r}};function Ps(t,n,e,r,i,o,s,a,l,u,f,h,m){gr("NgControlFlow");let v=tt(),y=dn(),w=l!==void 0,C=tt(),S=a?s.bind(C[hr][gn]):s,x=new F0(w,S);C[sn+t]=x,wf(v,y,t+1,n,e,r,i,Oi(y.consts,o),256),w&&wf(v,y,t+2,l,u,f,h,Oi(y.consts,m),512)}var P0=class extends R0{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(n,e,r){super(),this.lContainer=n,this.hostLView=e,this.templateTNode=r}get length(){return this.lContainer.length-vn}at(n){return this.getLView(n)[gn].$implicit}attach(n,e){let r=e[Ca];this.needsIndexUpdate||=n!==this.length,$f(this.lContainer,e,n,uc(this.templateTNode,r)),xP(this.lContainer,n)}detach(n){return this.needsIndexUpdate||=n!==this.length-1,AP(this.lContainer,n),NP(this.lContainer,n)}create(n,e){let r=D0(this.lContainer,this.templateTNode.tView.ssrId);return Hf(this.hostLView,this.templateTNode,new O0(this.lContainer,e,n),{dehydratedView:r})}destroy(n){jf(n[Xe],n)}updateValue(n,e){this.getLView(n)[gn].$implicit=e}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n<this.length;n++)this.getLView(n)[gn].$index=n}getLView(n){return RP(this.lContainer,n)}};function Ls(t){let n=et(null),e=Fi();try{let r=tt(),i=r[Xe],o=r[e],s=e+1,a=Tf(r,s);if(o.liveCollection===void 0){let u=L0(i,s);o.liveCollection=new P0(a,r,u)}else o.liveCollection.reset();let l=o.liveCollection;if(MP(l,t,o.trackByFn,n),l.updateIndexes(),o.hasEmptyBlock){let u=ho(),f=l.length===0;if(pr(r,u,f)){let h=e+2,m=Tf(r,h);if(f){let v=L0(i,h),y=Eb(m,v,r),w=Hf(r,v,void 0,{dehydratedView:y});$f(m,w,0,uc(v,y))}else i.firstUpdatePass&&EF(m),_b(m,0)}}}finally{et(n)}}function Tf(t,n){return t[n]}function xP(t,n){if(t.length<=vn)return;let e=vn+n,r=t[e],i=r?r[co]:void 0;if(r&&i&&i.detachedLeaveAnimationFns&&i.detachedLeaveAnimationFns.length>0){let o=r[Tr];S2(o,i),As.delete(r[lo]),i.detachedLeaveAnimationFns=void 0}}function AP(t,n){if(t.length<=vn)return;let e=vn+n,r=t[e],i=r?r[co]:void 0;i&&i.leave&&i.leave.size>0&&(i.detachedLeaveAnimationFns=[])}function NP(t,n){return fc(t,n)}function RP(t,n){return yb(t,n)}function L0(t,n){return Bd(t,n)}function gt(t,n,e){let r=tt(),i=ho();if(pr(r,i,n)){let o=dn(),s=nc();sb(s,r,t,n,r[Zt],e)}return gt}function j0(t,n,e,r,i){uv(n,t,e,i?"class":"style",r)}function _e(t,n,e,r){let i=tt(),o=i[Xe],s=t+sn,a=o.firstCreatePass?Sb(s,i,2,n,K2,eE(),e,r):o.data[s];if(fo(a)){let l=i[li].tracingService;if(l&&l.componentCreate){let u=o.data[a.directiveStart+a.componentOffset];return l.componentCreate(Ab(u),()=>(qE(t,n,i,a,r),_e))}}return qE(t,n,i,a,r),_e}function qE(t,n,e,r,i){if(cv(r,e,t,n,Hb),Ud(r)){let o=e[Xe];ob(o,e,r),MC(o,r,e)}i!=null&&Uf(e,r)}function ve(){let t=dn(),n=En(),e=Bf(n);return t.firstCreatePass&&mv(t,e),Ig(e)&&Mg(),Tg(),e.classesWithoutHost!=null&&Jk(e)&&j0(t,e,tt(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&Xk(e)&&j0(t,e,tt(),e.stylesWithoutHost,!1),ve}function He(t,n,e,r){return _e(t,n,e,r),ve(),He}function or(t,n,e,r){let i=tt(),o=i[Xe],s=t+sn,a=o.firstCreatePass?Tb(s,o,2,n,e,r):o.data[s];return cv(a,i,t,n,Hb),r!=null&&Uf(i,a),or}function kr(){let t=En(),n=Bf(t);return Ig(n)&&Mg(),Tg(),kr}function js(t,n,e,r){return or(t,n,e,r),kr(),js}var Hb=(t,n,e,r,i)=>(rc(!0),PC(n[Zt],r,jg()));function Qf(){let t=dn(),n=En(),e=Bf(n);return t.firstCreatePass&&mv(t,e),Qf}function Sc(t,n,e){let r=tt(),i=r[Xe],o=t+sn,s=i.firstCreatePass?Tb(o,i,8,"ng-container",n,e):i.data[o];return cv(s,r,t,"ng-container",kP),e!=null&&Uf(r,s),Sc}function Jf(){let t=En(),n=Bf(t);return Qf}var kP=(t,n,e,r,i)=>(rc(!0),GO(n[Zt],""));function fn(){return tt()}function Ua(t,n,e){let r=tt(),i=ho();if(pr(r,i,n)){let o=dn(),s=nc();ab(s,r,t,n,r[Zt],e)}return Ua}var ic=void 0;function OP(t){let n=Math.floor(Math.abs(t)),e=t.toString().replace(/^[^.]*\.?/,"").length;return n===1&&e===0?1:5}var FP=["en",[["a","p"],["AM","PM"]],[["AM","PM"]],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],ic,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],ic,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm\u202Fa","h:mm:ss\u202Fa","h:mm:ss\u202Fa z","h:mm:ss\u202Fa zzzz"],["{1}, {0}",ic,ic,ic],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",OP],Qg=Object.create(null);function sr(t){let n=PP(t),e=ZE(n);if(e)return e;let r=n.split("-")[0];if(e=ZE(r),e)return e;if(r==="en")return FP;throw new re(701,!1)}function ZE(t){return t in Qg||(Qg[t]=Dn.ng&&Dn.ng.common&&Dn.ng.common.locales&&Dn.ng.common.locales[t]),Qg[t]}var pn=(function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t})(pn||{});function PP(t){return t.toLowerCase().replace(/_/g,"-")}var Tc="en-US",LP="USD";var jP=Tc;function $b(t){typeof t=="string"&&(jP=t.toLowerCase().replace(/_/g,"-"))}function Nt(t,n,e){let r=tt(),i=dn(),o=En();return zb(i,r,r[Zt],o,t,n,e),Nt}function Ba(t,n,e){let r=tt(),i=dn(),o=En();return(o.type&3||e)&&Mb(o,i,r,e,r[Zt],t,n,lf(o,r,n)),Ba}function zb(t,n,e,r,i,o,s){let a=!0,l=null;if((r.type&3||s)&&(l??=lf(r,n,o),Mb(r,t,n,s,e,i,o,l)&&(a=!1)),a){let u=r.outputs?.[i],f=r.hostDirectiveOutputs?.[i];if(f&&f.length)for(let h=0;h<f.length;h+=2){let m=f[h],v=f[h+1];l??=lf(r,n,o),HE(r,n,m,v,i,l)}if(u&&u.length)for(let h of u)l??=lf(r,n,o),HE(r,n,h,i,i,l)}}function Ee(t=1){return fE(t)}function pi(t,n,e){return oP(t,n,e),pi}function mi(t){let n=tt(),e=dn(),r=Fg();Gd(r+1);let i=yv(e,r);if(t.dirty&&Y1(n)===((i.metadata.flags&2)===2)){if(i.matches===null)t.reset([]);else{let o=lP(n,r);t.reset(o,fO),t.notifyOnChanges()}return!0}return!1}function gi(){return rP(tt(),Fg())}function Ic(t){let n=Ng();return Ta(n,sn+t)}function tf(t,n){return t<<17|n<<2}function Rs(t){return t>>17&32767}function VP(t){return(t&2)==2}function UP(t,n){return t&131071|n<<17}function V0(t){return t|2}function Pa(t){return(t&131068)>>2}function Jg(t,n){return t&-131069|n<<2}function BP(t){return(t&1)===1}function U0(t){return t|1}function HP(t,n,e,r,i,o){let s=o?n.classBindings:n.styleBindings,a=Rs(s),l=Pa(s);t[r]=e;let u=!1,f;if(Array.isArray(e)){let h=e;f=h[1],(f===null||Da(h,f)>0)&&(u=!0)}else f=e;if(i)if(l!==0){let m=Rs(t[a+1]);t[r+1]=tf(m,a),m!==0&&(t[m+1]=Jg(t[m+1],r)),t[a+1]=UP(t[a+1],r)}else t[r+1]=tf(a,0),a!==0&&(t[a+1]=Jg(t[a+1],r)),a=r;else t[r+1]=tf(l,0),a===0?a=r:t[l+1]=Jg(t[l+1],r),l=r;u&&(t[r+1]=V0(t[r+1])),KE(t,f,r,!0),KE(t,f,r,!1),$P(n,f,t,r,o),s=tf(a,l),o?n.classBindings=s:n.styleBindings=s}function $P(t,n,e,r,i){let o=i?t.residualClasses:t.residualStyles;o!=null&&typeof n=="string"&&Da(o,n)>=0&&(e[r+1]=U0(e[r+1]))}function KE(t,n,e,r){let i=t[e+1],o=n===null,s=r?Rs(i):Pa(i),a=!1;for(;s!==0&&(a===!1||o);){let l=t[s],u=t[s+1];zP(l,n)&&(a=!0,t[s+1]=r?U0(u):V0(u)),s=r?Rs(u):Pa(u)}a&&(t[e+1]=r?V0(i):U0(i))}function zP(t,n){return t===null||n==null||(Array.isArray(t)?t[1]:t)===n?!0:Array.isArray(t)&&typeof n=="string"?Da(t,n)>=0:!1}var di={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function GP(t){return t.substring(di.key,di.keyEnd)}function WP(t){return YP(t),Gb(t,Wb(t,0,di.textEnd))}function Gb(t,n){let e=di.textEnd;return e===n?-1:(n=di.keyEnd=qP(t,di.key=n,e),Wb(t,n,e))}function YP(t){di.key=0,di.keyEnd=0,di.value=0,di.valueEnd=0,di.textEnd=t.length}function Wb(t,n,e){for(;n<e&&t.charCodeAt(n)<=32;)n++;return n}function qP(t,n,e){for(;n<e&&t.charCodeAt(n)>32;)n++;return n}function $o(t,n,e){return Yb(t,n,e,!1),$o}function vo(t,n){return Yb(t,n,null,!0),vo}function Bi(t){KP(nL,ZP,t,!0)}function ZP(t,n){for(let e=WP(n);e>=0;e=Gb(n,e))Ld(t,GP(n),!0)}function Yb(t,n,e,r){let i=tt(),o=dn(),s=Og(2);if(o.firstUpdatePass&&Zb(o,t,s,r),n!==Nr&&pr(i,s,n)){let a=o.data[Fi()];Kb(o,a,i,i[Zt],t,i[s+1]=iL(n,e),r,s)}}function KP(t,n,e,r){let i=dn(),o=Og(2);i.firstUpdatePass&&Zb(i,null,o,r);let s=tt();if(e!==Nr&&pr(s,o,e)){let a=i.data[Fi()];if(Qb(a,r)&&!qb(i,o)){let l=r?a.classesWithoutHost:a.stylesWithoutHost;l!==null&&(e=Rd(l,e||"")),j0(i,a,s,e,r)}else rL(i,a,s,s[Zt],s[o+1],s[o+1]=tL(t,n,e),r,o)}}function qb(t,n){return n>=t.expandoStartIndex}function Zb(t,n,e,r){let i=t.data;if(i[e+1]===null){let o=i[Fi()],s=qb(t,e);Qb(o,r)&&n===null&&!s&&(n=!1),n=QP(i,o,n,r),HP(i,o,n,e,s,r)}}function QP(t,n,e,r){let i=lE(t),o=r?n.residualClasses:n.residualStyles;if(i===null)(r?n.classBindings:n.styleBindings)===0&&(e=Xg(null,t,n,e,r),e=mc(e,n.attrs,r),o=null);else{let s=n.directiveStylingLast;if(s===-1||t[s]!==i)if(e=Xg(i,t,n,e,r),o===null){let l=JP(t,n,r);l!==void 0&&Array.isArray(l)&&(l=Xg(null,t,n,l[1],r),l=mc(l,n.attrs,r),XP(t,n,r,l))}else o=eL(t,n,r)}return o!==void 0&&(r?n.residualClasses=o:n.residualStyles=o),e}function JP(t,n,e){let r=e?n.classBindings:n.styleBindings;if(Pa(r)!==0)return t[Rs(r)]}function XP(t,n,e,r){let i=e?n.classBindings:n.styleBindings;t[Rs(i)]=r}function eL(t,n,e){let r,i=n.directiveEnd;for(let o=1+n.directiveStylingLast;o<i;o++){let s=t[o].hostAttrs;r=mc(r,s,e)}return mc(r,n.attrs,e)}function Xg(t,n,e,r,i){let o=null,s=e.directiveEnd,a=e.directiveStylingLast;for(a===-1?a=e.directiveStart:a++;a<s&&(o=n[a],r=mc(r,o.hostAttrs,i),o!==t);)a++;return t!==null&&(e.directiveStylingLast=a),r}function mc(t,n,e){let r=e?1:2,i=-1;if(n!==null)for(let o=0;o<n.length;o++){let s=n[o];typeof s=="number"?i=s:i===r&&(Array.isArray(t)||(t=t===void 0?[]:["",t]),Ld(t,s,e?!0:n[++o]))}return t===void 0?null:t}function tL(t,n,e){if(e==null||e==="")return nr;let r=[],i=Ar(e);if(Array.isArray(i))for(let o=0;o<i.length;o++)t(r,i[o],!0);else if(i instanceof Set)for(let o of i)t(r,o,!0);else if(typeof i=="object")for(let o in i)i.hasOwnProperty(o)&&t(r,o,i[o]);else typeof i=="string"&&n(r,i);return r}function nL(t,n,e){let r=String(n);r!==""&&!r.includes(" ")&&Ld(t,r,e)}function rL(t,n,e,r,i,o,s,a){i===Nr&&(i=nr);let l=0,u=0,f=0<i.length?i[0]:null,h=0<o.length?o[0]:null;for(;f!==null||h!==null;){let m=l<i.length?i[l+1]:void 0,v=u<o.length?o[u+1]:void 0,y=null,w;f===h?(l+=2,u+=2,m!==v&&(y=h,w=v)):h===null||f!==null&&f<h?(l+=2,y=f):(u+=2,y=h,w=v),y!==null&&Kb(t,n,e,r,y,w,s,a),f=l<i.length?i[l]:null,h=u<o.length?o[u]:null}}function Kb(t,n,e,r,i,o,s,a){if(!(n.type&3))return;let l=t.data,u=l[a+1],f=BP(u)?QE(l,n,e,i,Pa(u),s):void 0;if(!If(f)){If(o)||VP(u)&&(o=QE(l,null,e,i,a,s));let h=Dg(Fi(),e);B2(r,s,h,i,o)}}function QE(t,n,e,r,i,o){let s=n===null,a;for(;i>0;){let l=t[i],u=Array.isArray(l),f=u?l[1]:l,h=f===null,m=e[i+1];m===Nr&&(m=h?nr:void 0);let v=h?jd(m,r):f===r?m:void 0;if(u&&!If(v)&&(v=jd(l,r)),If(v)&&(a=v,s))return a;let y=t[i+1];i=s?Rs(y):Pa(y)}if(n!==null){let l=o?n.residualClasses:n.residualStyles;l!=null&&(a=jd(l,r))}return a}function If(t){return t!==void 0}function iL(t,n){return t==null||t===""||(typeof n=="string"?t=t+n:typeof t=="object"&&(t=Gl(Ar(t)))),t}function Qb(t,n){return(t.flags&(n?8:16))!==0}function Se(t,n=""){let e=tt(),r=dn(),i=t+sn,o=r.firstCreatePass?Ec(r,i,1,n,null):r.data[i],s=oL(r,e,o,n);e[i]=s,qd()&&av(r,e,s,o),Ts(o,!1)}var oL=(t,n,e,r)=>(rc(!0),$O(n[Zt],r));function sL(t,n,e,r=""){return pr(t,ho(),e)?n+_a(e)+r:Nr}function vi(t){return yt("",t),vi}function yt(t,n,e){let r=tt(),i=sL(r,t,n,e);return i!==Nr&&aL(r,Fi(),i),yt}function aL(t,n,e){let r=Dg(n,t);zO(t[Zt],r,e)}function Wr(t,n,e){Ev(n)&&(n=n());let r=tt(),i=ho();if(pr(r,i,n)){let o=dn(),s=nc();sb(s,r,t,n,r[Zt],e)}return Wr}function yi(t,n){let e=Ev(t);return e&&t.set(n),e}function Yr(t,n){let e=tt(),r=dn(),i=En();return zb(r,e,e[Zt],i,t,n),Yr}var Jb={};function Mc(t){gr("NgLet");let n=dn(),e=tt(),r=t+sn,i=Ec(n,r,128,null,null);return Ts(i,!1),Xl(n,e,r,Jb),Mc}function Xf(t){let n=dn(),e=tt(),r=Fi();return Xl(n,e,r,t),t}function Hi(t){let n=Ng(),e=Ta(n,sn+t);if(e===Jb)throw new re(314,!1);return e}function xc(t){return pr(tt(),ho(),t)?_a(t):Nr}function JE(t,n,e){let r=dn();r.firstCreatePass&&Xb(n,r.data,r.blueprint,ki(t),e)}function Xb(t,n,e,r,i){if(t=Vn(t),Array.isArray(t))for(let o=0;o<t.length;o++)Xb(t[o],n,e,r,i);else{let o=dn(),s=tt(),a=En(),l=ys(t)?t:Vn(t.provide),u=pg(t),f=a.providerIndexes&1048575,h=a.directiveStart,m=a.providerIndexes>>20;if(ys(t)||!t.multi){let v=new xs(u,i,pe,null),y=t0(l,n,i?f:f+m,h);y===-1?(r0(hf(a,s),o,l),e0(o,t,n.length),n.push(l),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),e.push(v),s.push(v)):(e[y]=v,s[y]=v)}else{let v=t0(l,n,f+m,h),y=t0(l,n,f,f+m),w=v>=0&&e[v],C=y>=0&&e[y];if(i&&!C||!i&&!w){r0(hf(a,s),o,l);let S=uL(i?cL:lL,e.length,i,r,u,t);!i&&C&&(e[y].providerFactory=S),e0(o,t,n.length,0),n.push(l),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),e.push(S),s.push(S)}else{let S=ew(e[i?y:v],u,!i&&r);e0(o,t,v>-1?v:y,S)}!i&&r&&C&&e[y].componentProviders++}}}function e0(t,n,e,r){let i=ys(n),o=$1(n);if(i||o){let l=(o?Vn(n.useClass):n).prototype.ngOnDestroy;if(l){let u=t.destroyHooks||(t.destroyHooks=[]);if(!i&&n.multi){let f=u.indexOf(e);f===-1?u.push(e,[r,l]):u[f+1].push(r,l)}else u.push(e,l)}}}function ew(t,n,e){return e&&t.componentProviders++,t.multi.push(n)-1}function t0(t,n,e,r){for(let i=e;i<r;i++)if(n[i]===t)return i;return-1}function lL(t,n,e,r,i){return B0(this.multi,[])}function cL(t,n,e,r,i){let o=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,l=lc(r,r[Xe],this.providerFactory.index,i);s=l.slice(0,a),B0(o,s);for(let u=a;u<l.length;u++)s.push(l[u])}else s=[],B0(o,s);return s}function B0(t,n){for(let e=0;e<t.length;e++){let r=t[e];n.push(r())}return n}function uL(t,n,e,r,i,o){let s=new xs(t,e,pe,null);return s.multi=[],s.index=n,s.componentProviders=0,ew(s,i,r&&!e),s}function vr(t,n){return e=>{e.providersResolver=(r,i)=>JE(r,i?i(t):t,!1),n&&(e.viewProvidersResolver=(r,i)=>JE(r,i?i(n):n,!0))}}function yr(t,n,e){return tw(tt(),tc(),t,n,e)}function xv(t,n){let e=t[n];return e===Nr?void 0:e}function tw(t,n,e,r,i,o){let s=n+e;return pr(t,s,i)?vv(t,s+1,o?r.call(o,i):r(i)):xv(t,s+1)}function dL(t,n,e,r,i,o,s){let a=n+e;return Ib(t,a,i,o)?vv(t,a+2,s?r.call(s,i,o):r(i,o)):xv(t,a+2)}function fL(t,n,e,r,i,o,s,a){let l=n+e;return PF(t,l,i,o,s)?vv(t,l+3,a?r.call(a,i,o,s):r(i,o,s)):xv(t,l+3)}function Bn(t,n){let e=dn(),r,i=t+sn;e.firstCreatePass?(r=hL(n,e.pipeRegistry),e.data[i]=r,r.onDestroy&&(e.destroyHooks??=[]).push(i,r.onDestroy)):r=e.data[i];let o=r.factory||(r.factory=Oo(r.type,!0)),s,a=tr(pe);try{let l=ff(!1),u=o();return ff(l),Xl(e,tt(),i,u),u}finally{tr(a)}}function hL(t,n){if(n)for(let e=n.length-1;e>=0;e--){let r=n[e];if(t===r.name)return r}}function Vs(t,n,e){let r=t+sn,i=tt(),o=Ta(i,r);return Nv(i,r)?tw(i,tc(),n,o.transform,e,o):o.transform(e)}function Av(t,n,e,r){let i=t+sn,o=tt(),s=Ta(o,i);return Nv(o,i)?dL(o,tc(),n,s.transform,e,r,s):s.transform(e,r)}function yo(t,n,e,r,i){let o=t+sn,s=tt(),a=Ta(s,o);return Nv(s,o)?fL(s,tc(),n,a.transform,e,r,i,a):a.transform(e,r,i)}function Nv(t,n){return t[Xe].data[n].pure}var nf=null;function nw(t){nf!==null&&(t.defaultEncapsulation!==nf.defaultEncapsulation||t.preserveWhitespaces!==nf.preserveWhitespaces)||(nf=t)}var Mf=class{ngModuleFactory;componentFactories;constructor(n,e){this.ngModuleFactory=n,this.componentFactories=e}},Rv=(()=>{class t{compileModuleSync(e){return new pc(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){let r=this.compileModuleSync(e),i=og(e),o=BC(i.declarations).reduce((s,a)=>{let l=Ai(a);return l&&s.push(new Bo(l)),s},[]);return new Mf(r,o)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}static \u0275fac=function(r){return new(r||t)};static \u0275prov=fe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),rw=new Ie("");var iw=(()=>{class t{applicationErrorHandler=$(xr);appRef=$(ir);taskService=$(Pi);ngZone=$(Dt);zonelessEnabled=$(Ma);tracing=$(Ui,{optional:!0});
14zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new Sn;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get($l):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&($(Qd,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{let e=this.taskService.add();if(!this.runningTick&&(this.cleanup(),!this.zonelessEnabled||this.appRef.includeAllTestViews)){this.taskService.remove(e);return}this.switchToMicrotaskScheduler(),this.taskService.remove(e)})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()}))}switchToMicrotaskScheduler(){this.ngZone.runOutsideAngular(()=>{let e=this.taskService.add();this.useMicrotaskScheduler=!0,queueMicrotask(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(e)})})}notify(e){if(!this.zonelessEnabled&&e===5)return;switch(e){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2;break}case 12:{this.appRef.dirtyFlags|=16;break}case 13:{this.appRef.dirtyFlags|=2;break}case 11:break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick())return;let r=this.useMicrotaskScheduler?mE:Bg;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>r(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(){return!(this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get($l+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 e=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){this.applicationErrorHandler(r)}finally{this.taskService.remove(e),this.cleanup()}}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let e=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(e)}}static \u0275fac=function(r){return new(r||t)};static \u0275prov=fe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function ow(){return[{provide:so,useExisting:iw},{provide:Dt,useClass:zl},{provide:Ma,useValue:!0}]}function pL(){return typeof $localize<"u"&&$localize.locale||Tc}var Ha=new Ie("",{factory:()=>$(Ha,{optional:!0,skipSelf:!0})||pL()}),kv=new Ie("",{factory:()=>LP});function Ft(t){return I1(t)}function qn(t,n){return Ku(t,n?.equal)}var gL=t=>t;function Ac(t,n){if(typeof t=="function"){let e=Vm(t,gL,n?.equal);return sw(e,n?.debugName)}else{let e=Vm(t.source,t.computation,t.equal);return sw(e,t.debugName)}}function sw(t,n){let e=t[Rn],r=t;return r.set=i=>S1(e,i),r.update=i=>T1(e,i),r.asReadonly=Zd.bind(t),r}var pw=Symbol("InputSignalNode#UNSET"),NL=Ze(ae({},Ju),{transformFn:void 0,applyValueToInputSignal(t,n){fs(t,n)}});function mw(t,n){let e=Object.create(NL);e.value=t,e.transformFn=n?.transform;function r(){if(cs(e),e.value===pw){let i=null;throw new re(-950,i)}return e.value}return r[Rn]=e,r}var eh=class{attributeName;constructor(n){this.attributeName=n}__NG_ELEMENT_ID__=()=>vc(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}};function aw(t,n){return mw(t,n)}function RL(t){return mw(pw,t)}var gw=(aw.required=RL,aw);function kL(t,n,e){let r=new pc(e);return Promise.resolve(r)}function lw(t){for(let n=t.length-1;n>=0;n--)if(t[n]!==void 0)return t[n]}var OL=(()=>{class t{zone=$(Dt);changeDetectionScheduler=$(so);applicationRef=$(ir);applicationErrorHandler=$(xr);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(e){this.applicationErrorHandler(e)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||t)};static \u0275prov=fe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),FL=new Ie("",{factory:()=>!1});function PL({ngZoneFactory:t,scheduleInRootZone:n}){return t??=()=>new Dt(Ze(ae({},yw()),{scheduleInRootZone:n})),[{provide:Ma,useValue:!1},{provide:Dt,useFactory:t},{provide:ao,multi:!0,useFactory:()=>{let e=$(OL,{optional:!0});return()=>e.initialize()}},{provide:ao,multi:!0,useFactory:()=>{let e=$(LL);return()=>{e.initialize()}}},{provide:Qd,useValue:n??Ug}]}function vw(t){let n=t?.scheduleInRootZone,e=PL({ngZoneFactory:()=>{let r=yw(t);return r.scheduleInRootZone=n,r.shouldCoalesceEventChangeDetection&&gr("NgZone_CoalesceEvent"),new Dt(r)},scheduleInRootZone:n});return Ni([{provide:FL,useValue:!0},e])}function yw(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var LL=(()=>{class t{subscription=new Sn;initialized=!1;zone=$(Dt);pendingTasks=$(Pi);initialize(){if(this.initialized)return;this.initialized=!0;let e=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(e=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Dt.assertNotInAngularZone(),queueMicrotask(()=>{e!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(e),e=null)})}
vendor: 10,151 bytes, line 14
14))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Dt.assertInAngularZone(),e??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||t)};static \u0275prov=fe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var th=new Ie(""),jL=new Ie("");function Nc(t){return!t.moduleRef}function VL(t){let n=Nc(t)?t.r3Injector:t.moduleRef.injector,e=n.get(Dt);return e.run(()=>{Nc(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();let r=n.get(xr),i;if(e.runOutsideAngular(()=>{i=e.onError.subscribe({next:r})}),Nc(t)){let o=()=>n.destroy(),s=t.platformInjector.get(th);s.add(o),n.onDestroy(()=>{i.unsubscribe(),s.delete(o)})}else{let o=()=>t.moduleRef.destroy(),s=t.platformInjector.get(th);s.add(o),t.moduleRef.onDestroy(()=>{ac(t.allPlatformModules,t.moduleRef),i.unsubscribe(),s.delete(o)})}return BL(r,e,()=>{let o=n.get(Pi),s=o.add(),a=n.get(Sv);return a.runInitializers(),a.donePromise.then(()=>{let l=n.get(Ha,Tc);if($b(l||Tc),!n.get(jL,!0))return Nc(t)?n.get(ir):(t.allPlatformModules.push(t.moduleRef),t.moduleRef);if(Nc(t)){let f=n.get(ir);return t.rootComponent!==void 0&&f.bootstrap(t.rootComponent),f}else return _w?.(t.moduleRef,t.allPlatformModules),t.moduleRef}).finally(()=>{o.remove(s)})})})}var _w;function cw(){_w=UL}function UL(t,n){let e=t.injector.get(ir);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(r=>e.bootstrap(r));else if(t.instance.ngDoBootstrap)t.instance.ngDoBootstrap(e);else throw new re(-403,!1);n.push(t)}function BL(t,n,e){try{let r=e();return Ho(r)?r.catch(i=>{throw n.runOutsideAngular(()=>t(i)),i}):r}catch(r){throw n.runOutsideAngular(()=>t(r)),r}}var Dw=(()=>{class t{_injector;_modules=[];_destroyListeners=[];_destroyed=!1;constructor(e){this._injector=e}bootstrapModuleFactory(e,r){let i=[ow(),...r?.applicationProviders??[],vE],o=Fb(e.moduleType,this.injector,i);return cw(),VL({moduleRef:o,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(e,r=[]){let i=Tv({},r);return cw(),kL(this.injector,i,e).then(o=>this.bootstrapModuleFactory(o,i))}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new re(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());let e=this._injector.get(th,null);e&&(e.forEach(r=>r()),e.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static \u0275fac=function(r){return new(r||t)(Ce(un))};static \u0275prov=fe({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})(),Vv=null;function HL(t){if(Bv())throw new re(400,!1);Ub(),Vv=t;let n=t.get(Dw);return GL(t),n}function Uv(t,n,e=[]){let r=`Platform: ${n}`,i=new Ie(r);return(o=[])=>{let s=Bv();if(!s){let a=[...e,...o,{provide:i,useValue:!0}];s=t?.(a)??HL($L(a,r))}return zL(i)}}function $L(t=[],n){return un.create({name:n,providers:[{provide:Kl,useValue:"platform"},{provide:th,useValue:new Set([()=>Vv=null])},...t]})}function zL(t){let n=Bv();if(!n)throw new re(-401,!1);return n}function Bv(){return Vv?.get(Dw)??null}function GL(t){let n=t.get(Af,null);Mn(t,()=>{n?.forEach(e=>e())})}var WL=1e4;var aK=WL-1e3;var _o=(()=>{class t{static __NG_ELEMENT_ID__=YL}return t})();function YL(t){return qL(En(),tt(),(t&16)===16)}function qL(t,n,e){if(fo(t)&&!e){let r=Gr(t.index,n);return new Uo(r,r)}else if(t.type&175){let r=n[hr];return new Uo(r,n)}return null}var Ov=class{supports(n){return n instanceof Map||gv(n)}create(){return new Fv}},Fv=class{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(n){let e;for(e=this._mapHead;e!==null;e=e._next)n(e)}forEachPreviousItem(n){let e;for(e=this._previousMapHead;e!==null;e=e._nextPrevious)n(e)}forEachChangedItem(n){let e;for(e=this._changesHead;e!==null;e=e._nextChanged)n(e)}forEachAddedItem(n){let e;for(e=this._additionsHead;e!==null;e=e._nextAdded)n(e)}forEachRemovedItem(n){let e;for(e=this._removalsHead;e!==null;e=e._nextRemoved)n(e)}diff(n){if(!n)n=new Map;else if(!(n instanceof Map||gv(n)))throw new re(900,!1);return this.check(n)?this:null}check(n){this._reset();let e=this._mapHead;if(this._appendAfter=null,this._forEach(n,(r,i)=>{if(e&&e.key===i)this._maybeAddToChanges(e,r),this._appendAfter=e,e=e._next;else{let o=this._getOrCreateRecordForKey(i,r);e=this._insertBeforeOrAppend(e,o)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let r=e;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(n,e){if(n){let r=n._prev;return e._next=n,e._prev=r,n._prev=e,r&&(r._next=e),n===this._mapHead&&(this._mapHead=e),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(n,e){if(this._records.has(n)){let i=this._records.get(n);this._maybeAddToChanges(i,e);let o=i._prev,s=i._next;return o&&(o._next=s),s&&(s._prev=o),i._next=null,i._prev=null,i}let r=new Pv(n);return this._records.set(n,r),r.currentValue=e,this._addToAdditions(r),r}_reset(){if(this.isDirty){let n;for(this._previousMapHead=this._mapHead,n=this._previousMapHead;n!==null;n=n._next)n._nextPrevious=n._next;for(n=this._changesHead;n!==null;n=n._nextChanged)n.previousValue=n.currentValue;for(n=this._additionsHead;n!=null;n=n._nextAdded)n.previousValue=n.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(n,e){Object.is(e,n.currentValue)||(n.previousValue=n.currentValue,n.currentValue=e,this._addToChanges(n))}_addToAdditions(n){this._additionsHead===null?this._additionsHead=this._additionsTail=n:(this._additionsTail._nextAdded=n,this._additionsTail=n)}_addToChanges(n){this._changesHead===null?this._changesHead=this._changesTail=n:(this._changesTail._nextChanged=n,this._changesTail=n)}_forEach(n,e){n instanceof Map?n.forEach(e):Object.keys(n).forEach(r=>e(n[r],r))}},Pv=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(n){this.key=n}};function uw(){return new nh([new Ov])}var nh=(()=>{class t{static \u0275prov=fe({token:t,providedIn:"root",factory:uw});factories;constructor(e){this.factories=e}static create(e,r){if(r){let i=r.factories.slice();e=e.concat(i)}return new t(e)}static extend(e){return{provide:t,useFactory:()=>{let r=$(t,{optional:!0,skipSelf:!0});return t.create(e,r||uw())}}}find(e){let r=this.factories.find(i=>i.supports(e));if(r)return r;throw new re(901,!1)}}return t})();var Ew=Uv(null,"core",[]),Cw=(()=>{class t{constructor(e){}static \u0275fac=function(r){return new(r||t)(Ce(ir))};static \u0275mod=Ot({type:t});static \u0275inj=xt({})}return t})();function zo(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function bw(t,n){let e=Ai(t),r=n.elementInjector||Ea();return new Bo(e).create(r,n.projectableNodes,n.hostElement,n.environmentInjector,n.directives,n.bindings)}function ww(t){let n=Ai(t);if(!n)return null;let e=new Bo(n);return{get selector(){return e.selector},get type(){return e.componentType},get inputs(){return e.inputs},get outputs(){return e.outputs},get ngContentSelectors(){return e.ngContentSelectors},get isStandalone(){return n.standalone},get isSignal(){return n.signals}}}var Sw=null;function Or(){return Sw}function Hv(t){Sw??=t}var Rc=class{},Do=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(r){return new(r||t)};static \u0275prov=fe({token:t,factory:()=>$(Tw),providedIn:"platform"})}return t})(),$v=new Ie(""),Tw=(()=>{class t extends Do{_location;_history;_doc=$(zt);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Or().getBaseHref(this._doc)}onPopState(e){let r=Or().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",e,!1),()=>r.removeEventListener("popstate",e)}onHashChange(e){let r=Or().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",e,!1),()=>r.removeEventListener("hashchange",e)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(e){this._location.pathname=e}pushState(e,r,i){this._history.pushState(e,r,i)}replaceState(e,r,i){this._history.replaceState(e,r,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}static \u0275fac=function(r){return new(r||t)};static \u0275prov=fe({token:t,factory:()=>new t,providedIn:"platform"})}return t})();function rh(t,n){return t?n?t.endsWith("/")?n.startsWith("/")?t+n.slice(1):t+n:n.startsWith("/")?t+n:`${t}/${n}`:t:n}function Iw(t){let n=t.search(/#|\?|$/);return t[n-1]==="/"?t.slice(0,n-1)+t.slice(n):t}function _i(t){return t&&t[0]!=="?"?`?${t}`:t}var Di=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(r){return new(r||t)};static \u0275prov=fe({token:t,factory:()=>$(oh),providedIn:"root"})}return t})(),ih=new Ie(""),oh=(()=>{class t extends Di{_platformLocation;_baseHref;_removeListenerFns=[];constructor(e,r){super(),this._platformLocation=e,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??$(zt).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.on
14HashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return rh(this._baseHref,e)}path(e=!1){let r=this._platformLocation.pathname+_i(this._platformLocation.search),i=this._platformLocation.hash;return i&&e?`${r}${i}`:r}pushState(e,r,i,o){let s=this.prepareExternalUrl(i+_i(o));this._platformLocation.pushState(e,r,s)}replaceState(e,r,i,o){let s=this.prepareExternalUrl(i+_i(o));this._platformLocation.replaceState(e,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(r){return new(r||t)(Ce(Do),Ce(ih,8))};static \u0275prov=fe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Go=(()=>{class t{_subject=new yn;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(e){this._locationStrategy=e;let r=this._locationStrategy.getBaseHref();this._basePath=QL(Iw(Mw(r))),this._locationStrategy.onPopState(i=>{this._subject.next({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,r=""){return this.path()==this.normalize(e+_i(r))}normalize(e){return t.stripTrailingSlash(KL(this._basePath,Mw(e)))}prepareExternalUrl(e){return e&&e[0]!=="/"&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,r="",i=null){this._locationStrategy.pushState(i,"",e,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+_i(r)),i)}replaceState(e,r="",i=null){this._locationStrategy.replaceState(i,"",e,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+_i(r)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",r){this._urlChangeListeners.forEach(i=>i(e,r))}subscribe(e,r,i){return this._subject.subscribe({next:e,error:r??void 0,complete:i??void 0})}static normalizeQueryParams=_i;static joinWithSlash=rh;static stripTrailingSlash=Iw;static \u0275fac=function(r){return new(r||t)(Ce(Di))};static \u0275prov=fe({token:t,factory:()=>ZL(),providedIn:"root"})}return t})();function ZL(){return new Go(Ce(Di))}function KL(t,n){if(!t||!n.startsWith(t))return n;let e=n.substring(t.length);return e===""||["/",";","?","#"].includes(e[0])?e:n}function Mw(t){return t.replace(/\/index\.html$/,"")}function QL(t){if(new RegExp("^(https?:)?//").test(t)){let[,e]=t.split(/\/\/[^\/]+/);return e}return t}var Kv=(()=>{class t extends Di{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(e,r){super(),this._platformLocation=e,r!=null&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}path(e=!1){let r=this._platformLocation.hash??"#";return r.length>0?r.substring(1):r}prepareExternalUrl(e){let r=rh(this._baseHref,e);return r.length>0?"#"+r:r}pushState(e,r,i,o){let s=this.prepareExternalUrl(i+_i(o))||this._platformLocation.pathname;this._platformLocation.pushState(e,r,s)}replaceState(e,r,i,o){let s=this.prepareExternalUrl(i+_i(o))||this._platformLocation.pathname;this._platformLocation.replaceState(e,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(r){return new(r||t)(Ce(Do),Ce(ih,8))};static \u0275prov=fe({token:t,factory:t.\u0275fac})}return t})(),kw={ADP:[void 0,void 0,0],AFN:[void 0,"\u060B",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058F",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20BC"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09F3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xA5","\xA5"],COP:[void 0,"$",2],CRC:[void 0,"\u20A1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010D",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xA3"],ESP:[void 0,"\u20A7",0],EUR:["\u20AC"],FJD:[void 0,"$"],FKP:[void 0,"\xA3"],GBP:["\xA3"],GEL:[void 0,"\u20BE"],GHS:[void 0,"GH\u20B5"],GIP:[void 0,"\xA3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20AA"],INR:["\u20B9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xA5",void 0,0],KGS:[void 0,"\u20C0"],KHR:[void 0,"\u17DB"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20A9",0],KRW:["\u20A9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20B8"],LAK:[void 0,"\u20AD",0],LBP:[void 0,"L\xA3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20AE",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20A6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20B1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20B2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20BD"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xA3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xA3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xA3",0],THB:[void 0,"\u0E3F"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20BA"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20B4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20AB",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XCG:["Cg."],XOF:["F\u202FCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xA4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]},Qv=(function(t){return t[t.Decimal=0]="Decimal",t[t.Percent=1]="Percent",t[t.Currency=2]="Currency",t[t.Scie
14ntific=3]="Scientific",t})(Qv||{});var Zn=(function(t){return t[t.Format=0]="Format",t[t.Standalone=1]="Standalone",t})(Zn||{}),Qt=(function(t){return t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short",t})(Qt||{}),_r=(function(t){return t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full",t})(_r||{}),Dr={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function Ow(t){return sr(t)[pn.LocaleId]}function Fw(t,n,e){let r=sr(t),i=[r[pn.DayPeriodsFormat],r[pn.DayPeriodsStandalone]],o=qr(i,n);return qr(o,e)}function Pw(t,n,e){let r=sr(t),i=[r[pn.DaysFormat],r[pn.DaysStandalone]],o=qr(i,n);return qr(o,e)}function Lw(t,n,e){let r=sr(t),i=[r[pn.MonthsFormat],r[pn.MonthsStandalone]],o=qr(i,n);return qr(o,e)}function jw(t,n){let r=sr(t)[pn.Eras];return qr(r,n)}function kc(t,n){let e=sr(t);return qr(e[pn.DateFormat],n)}function Oc(t,n){let e=sr(t);return qr(e[pn.TimeFormat],n)}function Fc(t,n){let r=sr(t)[pn.DateTimeFormat];return qr(r,n)}function $i(t,n){let e=sr(t),r=e[pn.NumberSymbols][n];if(typeof r>"u"){if(n===Dr.CurrencyDecimal)return e[pn.NumberSymbols][Dr.Decimal];if(n===Dr.CurrencyGroup)return e[pn.NumberSymbols][Dr.Group]}return r}function Vw(t,n){return sr(t)[pn.NumberFormats][n]}function JL(t){return sr(t)[pn.Currencies]}function Uw(t){if(!t[pn.ExtraData])throw new re(2303,!1)}function Bw(t){let n=sr(t);return Uw(n),(n[pn.ExtraData][2]||[]).map(r=>typeof r=="string"?zv(r):[zv(r[0]),zv(r[1])])}function Hw(t,n,e){let r=sr(t);Uw(r);let i=[r[pn.ExtraData][0],r[pn.ExtraData][1]],o=qr(i,n)||[];return qr(o,e)||[]}function qr(t,n){for(let e=n;e>-1;e--)if(typeof t[e]<"u")return t[e];throw new re(2304,!1)}function zv(t){let[n,e]=t.split(":");return{hours:+n,minutes:+e}}function $w(t,n,e="en"){let r=JL(e)[t]||kw[t]||[],i=r[1];return n==="narrow"&&typeof i=="string"?i:r[0]||t}var XL=2;function zw(t){let n,e=kw[t];return e&&(n=e[2]),typeof n=="number"?n:XL}var e3=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,sh={},t3=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/,n3=256;function Gw(t,n,e,r){let i=f3(t);r3(n),n=Eo(e,n)||n;let s=[],a;for(;n;)if(a=t3.exec(n),a){s=s.concat(a.slice(1));let f=s.pop();if(!f)break;n=f}else{s.push(n);break}let l=i.getTimezoneOffset();r&&(l=Yw(r,l),i=d3(i,r));let u="";return s.forEach(f=>{let h=c3(f);u+=h?h(i,e,l):f==="''"?"'":f.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}function r3(t){if(t.length>n3)throw new re(2300,!1)}function dh(t,n,e){let r=new Date(0);return r.setFullYear(t,n,e),r.setHours(0,0,0),r}function Eo(t,n){let e=Ow(t);if(sh[e]??={},sh[e][n])return sh[e][n];let r="";switch(n){case"shortDate":r=kc(t,_r.Short);break;case"mediumDate":r=kc(t,_r.Medium);break;case"longDate":r=kc(t,_r.Long);break;case"fullDate":r=kc(t,_r.Full);break;case"shortTime":r=Oc(t,_r.Short);break;case"mediumTime":r=Oc(t,_r.Medium);break;case"longTime":r=Oc(t,_r.Long);break;case"fullTime":r=Oc(t,_r.Full);break;case"short":let i=Eo(t,"shortTime"),o=Eo(t,"shortDate");r=ah(Fc(t,_r.Short),[i,o]);break;case"medium":let s=Eo(t,"mediumTime"),a=Eo(t,"mediumDate");r=ah(Fc(t,_r.Medium),[s,a]);break;case"long":let l=Eo(t,"longTime"),u=Eo(t,"longDate");r=ah(Fc(t,_r.Long),[l,u]);break;case"full":let f=Eo(t,"fullTime"),h=Eo(t,"fullDate");r=ah(Fc(t,_r.Full),[f,h]);break}return r&&(sh[e][n]=r),r}function ah(t,n){return n&&(t=t.replace(/\{([^}]+)}/g,function(e,r){return n!=null&&r in n?n[r]:e})),t}function Ei(t,n,e="-",r,i){let o="";
vendor: 4,375 bytes, line 14
14(t<0||i&&t<=0)&&(i?t=-t+1:(t=-t,o=e));let s=String(t);for(;s.length<n;)s="0"+s;return r&&(s=s.slice(s.length-n)),o+s}function i3(t,n){return Ei(t,3).substring(0,n)}function bn(t,n,e=0,r=!1,i=!1){return function(o,s){let a=o3(t,o);if((e>0||a>-e)&&(a+=e),t===3)a===0&&e===-12&&(a=12);else if(t===6)return i3(a,n);let l=$i(s,Dr.MinusSign);return Ei(a,n,l,r,i)}}function o3(t,n){switch(t){case 0:return n.getFullYear();case 1:return n.getMonth();case 2:return n.getDate();case 3:return n.getHours();case 4:return n.getMinutes();case 5:return n.getSeconds();case 6:return n.getMilliseconds();case 7:return n.getDay();default:throw new re(2301,!1)}}function en(t,n,e=Zn.Format,r=!1){return function(i,o){return s3(i,o,t,n,e,r)}}function s3(t,n,e,r,i,o){switch(e){case 2:return Lw(n,i,r)[t.getMonth()];case 1:return Pw(n,i,r)[t.getDay()];case 0:let s=t.getHours(),a=t.getMinutes();if(o){let u=Bw(n),f=Hw(n,i,r),h=u.findIndex(m=>{if(Array.isArray(m)){let[v,y]=m,w=s>=v.hours&&a>=v.minutes,C=s<y.hours||s===y.hours&&a<y.minutes;if(v.hours<y.hours){if(w&&C)return!0}else if(w||C)return!0}else if(m.hours===s&&m.minutes===a)return!0;return!1});if(h!==-1)return f[h]}return Fw(n,i,r)[s<12?0:1];case 3:return jw(n,r)[t.getFullYear()<=0?0:1];default:let l=e;throw new re(2302,!1)}}function lh(t){return function(n,e,r){let i=-1*r,o=$i(e,Dr.MinusSign),s=i>0?Math.floor(i/60):Math.ceil(i/60);switch(t){case 0:return(i>=0?"+":"")+Ei(s,2,o)+Ei(Math.abs(i%60),2,o);case 1:return"GMT"+(i>=0?"+":"")+Ei(s,1,o);case 2:return"GMT"+(i>=0?"+":"")+Ei(s,2,o)+":"+Ei(Math.abs(i%60),2,o);case 3:return r===0?"Z":(i>=0?"+":"")+Ei(s,2,o)+":"+Ei(Math.abs(i%60),2,o);default:throw new re(2310,!1)}}}var a3=0,uh=4;function l3(t){let n=dh(t,a3,1).getDay();return dh(t,0,1+(n<=uh?uh:uh+7)-n)}function Ww(t){let n=t.getDay(),e=n===0?-3:uh-n;return dh(t.getFullYear(),t.getMonth(),t.getDate()+e)}function Gv(t,n=!1){return function(e,r){let i;if(n){let o=new Date(e.getFullYear(),e.getMonth(),1).getDay()-1,s=e.getDate();i=1+Math.floor((s+o)/7)}else{let o=Ww(e),s=l3(o.getFullYear()),a=o.getTime()-s.getTime();i=1+Math.round(a/6048e5)}return Ei(i,t,$i(r,Dr.MinusSign))}}function ch(t,n=!1){return function(e,r){let o=Ww(e).getFullYear();return Ei(o,t,$i(r,Dr.MinusSign),n)}}var Wv={};function c3(t){if(Wv[t])return Wv[t];let n;switch(t){case"G":case"GG":case"GGG":n=en(3,Qt.Abbreviated);break;case"GGGG":n=en(3,Qt.Wide);break;case"GGGGG":n=en(3,Qt.Narrow);break;case"y":n=bn(0,1,0,!1,!0);break;case"yy":n=bn(0,2,0,!0,!0);break;case"yyy":n=bn(0,3,0,!1,!0);break;case"yyyy":n=bn(0,4,0,!1,!0);break;case"Y":n=ch(1);break;case"YY":n=ch(2,!0);break;case"YYY":n=ch(3);break;case"YYYY":n=ch(4);break;case"M":case"L":n=bn(1,1,1);break;case"MM":case"LL":n=bn(1,2,1);break;case"MMM":n=en(2,Qt.Abbreviated);break;case"MMMM":n=en(2,Qt.Wide);break;case"MMMMM":n=en(2,Qt.Narrow);break;case"LLL":n=en(2,Qt.Abbreviated,Zn.Standalone);break;case"LLLL":n=en(2,Qt.Wide,Zn.Standalone);break;case"LLLLL":n=en(2,Qt.Narrow,Zn.Standalone);break;case"w":n=Gv(1);break;case"ww":n=Gv(2);break;case"W":n=Gv(1,!0);break;case"d":n=bn(2,1);break;case"dd":n=bn(2,2);break;case"c":case"cc":n=bn(7,1);break;case"ccc":n=en(1,Qt.Abbreviated,Zn.Standalone);break;case"cccc":n=en(1,Qt.Wide,Zn.Standalone);break;case"ccccc":n=en(1,Qt.Narrow,Zn.Standalone);break;case"cccccc":n=en(1,Qt.Short,Zn.Standalone);break;case"E":case"EE":case"EEE":n=en(1,Qt.Abbreviated);break;case"EEEE":n=en(1,Qt.Wide);break;case"EEEEE":n=en(1,Qt.Narrow);break;case"EEEEEE":n=en(1,Qt.Short);break;case"a":case"aa":case"aaa":n=en(0,Qt.Abbreviated);break;case"aaaa":n=en(0,Qt.Wide);break;case"aaaaa":n=en(0,Qt.Narrow);break;case"b":case"bb":case"bbb":n=en(0,Qt.Abbreviated,Zn.Standalone,!0);break;case"bbbb":n=en(0,Qt.Wide,Zn.Standalone,!0);break;case"bbbbb":n=en(0,Qt.Narrow,Zn.Standalone,!0);break;case"B":case"BB":case"BBB":n=en(0,Qt.Abbreviated,Zn.Format,!0);break;case"BBBB":n=en(0,Qt.Wide,Zn.Format,!0);break;case"BBBBB":n=en(0,Qt.Narrow,Zn.Format,!0);break;case"h":n=bn(3,1,-12);break;case"hh":n=bn(3,2,-12);break;case"H":n=bn(3,1);break;case"HH":n=bn(3,2);break;case"m":n=bn(4,1);break;case"mm":n=bn(4,2);break;case"s":n=bn(5,1);break;case"ss":n=bn(5,2);break;case"S":n=bn(6,1);break;case"SS":n=bn(6,2);break;case"SSS":n=bn(6,3);break;case"Z":case"ZZ":case"ZZZ":n=lh(0);break;case"ZZZZZ":n=lh(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":n=lh(1);break;
14case"OOOO":case"ZZZZ":case"zzzz":n=lh(2);break;default:return null}return Wv[t]=n,n}function Yw(t,n){t=t.replace(/:/g,"");let e=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(e)?n:e}function u3(t,n){return t=new Date(t.getTime()),t.setMinutes(t.getMinutes()+n),t}function d3(t,n,e){let i=t.getTimezoneOffset(),o=Yw(n,i);return u3(t,-1*(o-i))}function f3(t){if(xw(t))return t;if(typeof t=="number"&&!isNaN(t))return new Date(t);if(typeof t=="string"){if(t=t.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(t)){let[i,o=1,s=1]=t.split("-").map(a=>+a);return dh(i,o-1,s)}let e=parseFloat(t);if(!isNaN(t-e))return new Date(e);let r;if(r=t.match(e3))return h3(r)}let n=new Date(t);if(!xw(n))throw new re(2311,!1);return n}function h3(t){let n=new Date(0),e=0,r=0,i=t[8]?n.setUTCFullYear:n.setFullYear,o=t[8]?n.setUTCHours:n.setHours;t[9]&&(e=Number(t[9]+t[10]),r=Number(t[9]+t[11])),i.call(n,Number(t[1]),Number(t[2])-1,Number(t[3]));let s=Number(t[4]||0)-e,a=Number(t[5]||0)-r,l=Number(t[6]||0),u=Math.floor(parseFloat("0."+(t[7]||0))*1e3);return o.call(n,s,a,l,u),n}function xw(t){return t instanceof Date&&!isNaN(t.valueOf())}var p3=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Aw=22,fh=".",Pc="0",m3=";",g3=",",Yv="#",Nw="\xA4";function v3(t,n,e,r,i,o,s=!1){let a="",l=!1;if(!isFinite(t))a=$i(e,Dr.Infinity);else{let u=D3(t);s&&(u=_3(u));let f=n.minInt,h=n.minFrac,m=n.maxFrac;if(o){let x=o.match(p3);if(x===null)throw new re(2306,!1);let j=x[1],P=x[3],Z=x[5];j!=null&&(f=qv(j)),P!=null&&(h=qv(P)),Z!=null?m=qv(Z):P!=null&&h>m&&(m=h);let L=100;if(f>L||h>L||m>L)throw new re(2306,!1)}E3(u,h,m);let v=u.digits,y=u.integerLen,w=u.exponent,C=[];for(l=v.every(x=>!x);y<f;y++)v.unshift(0);for(;y<0;y++)v.unshift(0);y>0?C=v.splice(y,v.length):(C=v,v=[0]);let S=[];for(v.length>=n.lgSize&&S.unshift(v.splice(-n.lgSize,v.length).join(""));v.length>n.gSize;)S.unshift(v.splice(-n.gSize,v.length).join(""));v.length&&S.unshift(v.join("")),a=S.join($i(e,r)),C.length&&(a+=$i(e,i)+C.join("")),w&&(a+=$i(e,Dr.Exponential)+"+"+w)}return t<0&&!l?a=n.negPre+a+n.negSuf:a=n.posPre+a+n.posSuf,a}function qw(t,n,e,r,i){let o=Vw(n,Qv.Currency),s=y3(o,$i(n,Dr.MinusSign));return s.minFrac=zw(r),s.maxFrac=s.minFrac,v3(t,s,n,Dr.CurrencyGroup,Dr.CurrencyDecimal,i).replace(Nw,e).replace(Nw,"").trim()}function y3(t,n="-"){let e={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=t.split(m3),i=r[0],o=r[1],s=i.indexOf(fh)!==-1?i.split(fh):[i.substring(0,i.lastIndexOf(Pc)+1),i.substring(i.lastIndexOf(Pc)+1)],a=s[0],l=s[1]||"";e.posPre=a.substring(0,a.indexOf(Yv));for(let f=0;f<l.length;f++){let h=l.charAt(f);h===Pc?e.minFrac=e.maxFrac=f+1:h===Yv?e.maxFrac=f+1:e.posSuf+=h}let u=a.split(g3);if(e.gSize=u[1]?u[1].length:0,e.lgSize=u[2]||u[1]?(u[2]||u[1]).length:0,o){let f=i.length-e.posPre.length-e.posSuf.length,h=o.indexOf(Yv);e.negPre=o.substring(0,h).replace(/'/g,""),e.negSuf=o.slice(h+f).replace(/'/g,"")}else e.negPre=n+e.posPre,e.negSuf=e.posSuf;return e}function _3(t){if(t.digits[0]===0)return t;let n=t.digits.length-t.integerLen;return t.exponent?t.exponent+=2:(n===0?t.digits.push(0,0):n===1&&t.digits.push(0),t.integerLen+=2),t}function D3(t){let n=Math.abs(t)+"",e=0,r,i,o,s,a;for((i=n.indexOf(fh))>-1&&(n=n.replace(fh,"")),(o=n.search(/e/i))>0?(i<0&&(i=o),i+=+n.slice(o+1),n=n.substring(0,o)):i<0&&(i=n.length),o=0;n.charAt(o)===Pc;o++);if(o===(a=n.length))r=[0],i=1;else{for(a--;n.charAt(a)===Pc;)a--;for(i-=o,r=[],s=0;o<=a;o++,s++)r[s]=Number(n.charAt(o))}return i>Aw&&(r=r.splice(0,Aw-1),e=i-1,i=1),{digits:r,exponent:e,integerLen:i}}function E3(t,n,e){if(n>e)throw new re(2307,!1);let r=t.digits,i=r.length-t.integerLen,o=Math.min(Math.max(n,i),e),s=o+t.integerLen,a=r[s];if(s>0){r.splice(Math.max(t.integerLen,s));for(let h=s;h<r.length;h++)r[h]=0}else{i=Math.max(0,i),t.integerLen=1,r.length=Math.max(1,s=o+1),r[0]=0;for(let h=1;h<s;h++)r[h]=0}if(a>=5)if(s-1<0){for(let h=0;h>s;h--)r.unshift(0),t.integerLen++;r.unshift(1),t.integerLen++}else r[s-1]++;for(;i<Math.max(0,o);i++)r.push(0);let l=o!==0,u=n+t.integerLen,f=r.reduceRight(function(h,m,v,y){return m=m+h,y[v]=m<10?m:m-10,l&&(y[v]===0&&v>=u?y.pop():l=!1),m>=10?1:0},0);f&&(r.unshift(f),t.integerLen++)}function qv(t){let n=parseInt(t);if(isNaN(n))throw new re(2305,!1);return n}var Zv=/\s+/,Rw=[],Us=(()=>{class t{_ngEl;_renderer;initialClasses=Rw;rawClass;stateMap=new Map;constructor(e,r){this._ngEl=e,this._renderer=r}set klass(e){this.initialClasses=e!=null?e.trim().split(Zv):Rw}set ngClass(e){this.rawClass=typeof e=="string"?e.trim().split(Zv):e}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(let r of e)this._updateState(r,!0);else if(e!=null)for(let r of Object.keys(e))this._updateState(r,!!e[r]);this._applyStateDiff()}_updateState(e,r){let i=this.stateMap.get(e);i!==void 0?(i.enabled!==r&&(i.changed=!0,i.enabled=r),i.touched=!0):this.stateMap.set(e,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let e of this.stateMap){let r=e[0],i=e[1];i.changed?(this._toggleClass(r,i.enabled),i.changed=!1):i.touched||(i.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),i.touched=!1}}_toggleClass(e,r){e=e.trim(),e.length>0&&e.split(Zv).forEach(i=>
14{r?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}static \u0275fac=function(r){return new(r||t)(pe(xn),pe(Rr))};static \u0275dir=Gt({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return t})();function Zw(t,n){return new re(2100,!1)}var C3="mediumDate",Kw=new Ie(""),Qw=new Ie(""),Jv=(()=>{class t{locale;defaultTimezone;defaultOptions;constructor(e,r,i){this.locale=e,this.defaultTimezone=r,this.defaultOptions=i}transform(e,r,i,o){if(e==null||e===""||e!==e)return null;try{let s=r??this.defaultOptions?.dateFormat??C3,a=i??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return Gw(e,s,o||this.locale,a)}catch(s){throw Zw(t,s.message)}}static \u0275fac=function(r){return new(r||t)(pe(Ha,16),pe(Kw,24),pe(Qw,24))};static \u0275pipe=Fs({name:"date",type:t,pure:!0})}return t})();var Lc=(()=>{class t{_locale;_defaultCurrencyCode;constructor(e,r="USD"){this._locale=e,this._defaultCurrencyCode=r}transform(e,r=this._defaultCurrencyCode,i="symbol",o,s){if(!b3(e))return null;s||=this._locale,typeof i=="boolean"&&(i=i?"symbol":"code");let a=r||this._defaultCurrencyCode;i!=="code"&&(i==="symbol"||i==="symbol-narrow"?a=$w(a,i==="symbol"?"wide":"narrow",s):a=i);try{let l=w3(e);return qw(l,s,a,r,o)}catch(l){throw Zw(t,l.message)}}static \u0275fac=function(r){return new(r||t)(pe(Ha,16),pe(kv,16))};static \u0275pipe=Fs({name:"currency",type:t,pure:!0})}return t})();function b3(t){return!(t==null||t===""||t!==t)}function w3(t){if(typeof t=="string"&&!isNaN(Number(t)-parseFloat(t)))return Number(t);if(typeof t!="number")throw new re(2309,!1);return t}var zi=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=Ot({type:t});static \u0275inj=xt({})}return t})();function jc(t,n){n=encodeURIComponent(n);for(let e of t.split(";")){let r=e.indexOf("="),[i,o]=r==-1?[e,""]:[e.slice(0,r),e.slice(r+1)];if(i.trim()===n)return decodeURIComponent(o)}return null}var Bs=class{};var ey="browser";function Jw(t){return t===ey}var ty=(()=>{class t{static \u0275prov=fe({token:t,providedIn:"root",factory:()=>new Xv($(zt),window)})}return t})(),Xv=class{document;window;offset=()=>[0,0];constructor(n,e){this.document=n,this.window=e}setOffset(n){Array.isArray(n)?this.offset=()=>n:this.offset=n}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(n,e){this.window.scrollTo(Ze(ae({},e),{left:n[0],top:n[1]}))}scrollToAnchor(n,e){let r=T3(this.document,n);r&&(this.scrollToElement(r,e),r.focus({preventScroll:!0}))}setHistoryScrollRestoration(n){try{this.window.history.scrollRestoration=n}catch(e){console.warn(si(2400,!1))}}scrollToElement(n,e){let r=n.getBoundingClientRect(),i=r.left+this.window.pageXOffset,o=r.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(Ze(ae({},e),{left:i-s[0],top:o-s[1]}))}};function T3(t,n){let e=t.getElementById(n)||t.getElementsByName(n)[0];if(e)return e;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let r=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),i=r.currentNode;for(;i;){let o=i.shadowRoot;if(o){let s=o.getElementById(n)||o.querySelector(`[name="${n}"]`);if(s)return s}i=r.nextNode()}}return null}var Uc=class{_doc;constructor(n){this._doc=n}manager},hh=(()=>{class t extends Uc{constructor(e){super(e)}supports(e){return!0}addEventListener(e,r,i,o){return e.addEventListener(r,i,o),()=>this.removeEventListener(e,r,i,o)}removeEventListener(e,r,i,o){return e.removeEventListener(r,i,o)}static \u0275fac=function(r){return new(r||t)(Ce(zt))};static \u0275prov=fe({token:t,factory:t.\u0275fac})}return t})(),gh=new Ie(""),oy=(()=>{class t{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,r){this._zone=r,e.forEach(s=>{s.manager=this});let i=e.filter(s=>!(s instanceof hh));this._plugins=i.slice().reverse();let o=e.find(s=>s instanceof hh);o&&this._plugins.push(o)}addEventListener(e,r,i,o){return this._findPluginFor(r).addEventListener(e,r,i,o)}getZone(){return this._zone}_findPluginFor(e){let r=this._eventNameToPlugin.get(e);if(r)return r;if(r=this._plugins.find(o=>o.supports(e)),!r)throw new re(5101,!1);return this._eventNameToPlugin.set(e,r),r}static \u0275fac=function(r){return new(r||t)(Ce(gh),Ce(Dt))};static \u0275prov=fe({token:t,factory:t.\u0275fac})}return t})(),ny="ng-app-id";function Xw(t){for(let n of t)n.remove()}
vendor: 30,460 bytes, lines 14-15
14function eS(t,n){let e=n.createElement("style");return e.textContent=t,e}function I3(t,n,e,r){let i=t.head?.querySelectorAll(`style[${ny}="${n}"],link[${ny}="${n}"]`);if(i)for(let o of i)o.removeAttribute(ny),o instanceof HTMLLinkElement?r.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&e.set(o.textContent,{usage:0,elements:[o]})}function iy(t,n){let e=n.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",t),e}var sy=(()=>{class t{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(e,r,i,o={}){this.doc=e,this.appId=r,this.nonce=i,I3(e,r,this.inline,this.external),this.hosts.add(e.head)}addStyles(e,r){for(let i of e)this.addUsage(i,this.inline,eS);r?.forEach(i=>this.addUsage(i,this.external,iy))}removeStyles(e,r){for(let i of e)this.removeUsage(i,this.inline);r?.forEach(i=>this.removeUsage(i,this.external))}addUsage(e,r,i){let o=r.get(e);o?o.usage++:r.set(e,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,i(e,this.doc)))})}removeUsage(e,r){let i=r.get(e);i&&(i.usage--,i.usage<=0&&(Xw(i.elements),r.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])Xw(e);this.hosts.clear()}addHost(e){this.hosts.add(e);for(let[r,{elements:i}]of this.inline)i.push(this.addElement(e,eS(r,this.doc)));for(let[r,{elements:i}]of this.external)i.push(this.addElement(e,iy(r,this.doc)))}removeHost(e){this.hosts.delete(e)}addElement(e,r){return this.nonce&&r.setAttribute("nonce",this.nonce),e.appendChild(r)}static \u0275fac=function(r){return new(r||t)(Ce(zt),Ce(xf),Ce(yc,8),Ce(ks))};static \u0275prov=fe({token:t,factory:t.\u0275fac})}return t})(),ry={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"},ay=/%COMP%/g;var nS="%COMP%",M3=`_nghost-${nS}`,x3=`_ngcontent-${nS}`,A3=!0,N3=new Ie("",{factory:()=>A3});function R3(t){return x3.replace(ay,t)}function k3(t){return M3.replace(ay,t)}function rS(t,n){return n.map(e=>e.replace(ay,t))}var $c=(()=>{class t{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;constructor(e,r,i,o,s,a,l=null,u=null){this.eventManager=e,this.sharedStylesHost=r,this.appId=i,this.removeStylesOnCompDestroy=o,this.doc=s,this.ngZone=a,this.nonce=l,this.tracingService=u,this.defaultRenderer=new Bc(e,s,a,this.tracingService)}createRenderer(e,r){if(!e||!r)return this.defaultRenderer;let i=this.getOrCreateRenderer(e,r);return i instanceof mh?i.applyToHost(e):i instanceof Hc&&i.applyStyles(),i}getOrCreateRenderer(e,r){let i=this.rendererByCompId,o=i.get(r.id);if(!o){let s=this.doc,a=this.ngZone,l=this.eventManager,u=this.sharedStylesHost,f=this.removeStylesOnCompDestroy,h=this.tracingService;switch(r.encapsulation){case fi.Emulated:o=new mh(l,u,r,this.appId,f,s,a,h);break;case fi.ShadowDom:return new ph(l,e,r,s,a,this.nonce,h,u);case fi.ExperimentalIsolatedShadowDom:return new ph(l,e,r,s,a,this.nonce,h);default:o=new Hc(l,u,r,f,s,a,h);break}i.set(r.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(e){this.rendererByCompId.delete(e)}static \u0275fac=function(r){return new(r||t)(Ce(oy),Ce(sy),Ce(xf),Ce(N3),Ce(zt),Ce(Dt),Ce(yc),Ce(Ui,8))};static \u0275prov=fe({token:t,factory:t.\u0275fac})}return t})(),Bc=class{eventManager;doc;ngZone;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(n,e,r,i){this.eventManager=n,this.doc=e,this.ngZone=r,this.tracingService=i}destroy(){}destroyNode=null;createElement(n,e){return e?this.doc.createElementNS(ry[e]||e,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,e){(tS(n)?n.content:n).appendChild(e)}insertBefore(n,e,r){n&&(tS(n)?n.content:n).insertBefore(e,r)}removeChild(n,e){e.remove()}selectRootElement(n,e){let r=typeof n=="string"?this.doc.querySelector(n):n;if(!r)throw new re(-5104,!1);return e||(r.textContent=""),r}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,e,r,i){if(i){e=i+":"+e;let o=ry[i];o?n.setAttributeNS(o,e,r):n.setAttribute(e,r)}else n.setAttribute(e,r)}removeAttribute(n,e,r){if(r){let i=ry[r];i?n.removeAttributeNS(i,e):n.removeAttribute(`${r}:${e}`)}else n.removeAttribute(e)}addClass(n,e){n.classList.add(e)}removeClass(n,e){n.classList.remove(e)}setStyle(n,e,r,i){i&(ji.DashCase|ji.Important)?n.style.setProperty(e,r,i&ji.Important?"important":""):n.style[e]=r}removeStyle(n,e,r){r&ji.DashCase?n.style.removeProperty(e):n.style[e]=""}setProperty(n,e,r){n!=null&&(n[e]=r)}setValue(n,e){n.nodeValue=e}listen(n,e,r,i){if(typeof n=="string"&&(n=Or().getGlobalEventTarget(this.doc,n),!n))throw new re(5102,!1);let o=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(o=this.tracingService.wrapEventListener(n,e,o)),this.eventManager.addEventListener(n,e,o,i)}decoratePreventDefault(n){return e=>{if(e==="__ngUnwrap__")return n;n(e)===!1&&e.preventDefault()}}};function tS(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var ph=class extends Bc{hostEl;sharedStylesHost;shadowRoot;constructor(n,e,r,i,o,s,a,l){super(n,i,o,a),this.hostEl=e,this.sharedStylesHost=l,this.shadowRoot=e.attachShadow({mode:"open"}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let u=r.styles;u=rS(r.id,u);for(let h of u){let m=document.createElement("style");s&&m.setAttribute("nonce",s),m.textContent=h,this.shadowRoot.appendChild(m)}let f=r.getExternalStyles?.();if(f)for(let h of f){let m=iy(h,i);s&&m.setAttribute("nonce",s),this.shadowRoot.appendChild(m)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,e){return super.appendChild(this.nodeOrShadowRoot(n),e)}insertBefore(n,e,r){return super.insertBefore(this.nodeOrShadowRoot(n),e,r)}removeChild(n,e){return super.removeChild(null,e)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost&&this.sharedStylesHost.removeHost(this.shadowRoot)}},Hc=class extends Bc{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(n,e,r,i,o,s,a,l){super(n,o,s,a),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=i;let u=r.styles;this.styles=l?rS(l,u):u,this.styleUrls=r.getExternalStyles?.(l)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&As.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},mh=class extends Hc{contentAttr;hostAttr;constructor(n,e,r,i,o,s,a,l){let u=i+"-"+r.id;super(n,e,r,o,s,a,l,u),this.contentAttr=R3(u),this.hostAttr=k3(u)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,e){let r=super.createElement(n,e);return super.setAttribute(r,this.contentAttr,""),r}};var vh=class t extends Rc{supportsDOMEvents=!0;static makeCurrent(){Hv(new t)}onAndCancel(n,e,r,i){return n.addEventListener(e,r,i),()=>{n.removeEventListener(e,r,i)}}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=O3();return e==null?null:F3(e)}resetBaseElement(){zc=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return jc(document.cookie,n)}},zc=null;function O3(){return zc=zc||document.head.querySelector("base"),zc?zc.getAttribute("href"):null}function F3(t){return new URL(t,document.baseURI).pathname}var yh=class{addToWindow(n){Dn.getAngularTestability=(r,i=!0)=>{let o=n.findTestabilityInTree(r,i);if(o==null)throw new re(5103,!1);return o},Dn.getAllAngularTestabilities=()=>n.getAllTestabilities(),Dn.getAllAngularRootElements=()=>n.getAllRootElements();let e=r=>{let i=Dn.getAllAngularTestabilities(),o=i.length,s=function(){o--,o==0&&r()};i.forEach(a=>{a.whenStable(s)})};Dn.frameworkStabilizers||(Dn.frameworkStabilizers=[]),Dn.frameworkStabilizers.push(e)}findTestabilityInTree(n,e,r){if(e==null)return null;let i=n.getTestability(e);return i??(r?Or().isShadowRoot(e)?this.findTestabilityInTree(n,e.host,!0):this.findTestabilityInTree(n,e.parentElement,!0):null)}},P3=(()=>{class t{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||t)};static \u0275prov=fe({token:t,factory:t.\u0275fac})}return t})(),iS=["alt","control","meta","shift"],L3={"\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"},j3={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},oS=(()=>{class t extends Uc{constructor(e){super(e)}supports(e){return t.parseEventName(e)!=null}addEventListener(e,r,i,o){let s=t.parseEventName(r),a=t.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Or().onAndCancel(e,s.domEventName,a,o))}static parseEventName(e){let r=e.toLowerCase().split("."),i=r.shift();if(r.length===0||!(i==="keydown"||i==="keyup"))return null;let o=t._normalizeKey(r.pop()),s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),iS.forEach(u=>{let f=r.indexOf(u);f>-1&&(r.splice(f,1),s+=u+".")}),s+=o,r.length!=0||o.length===0)return null;let l={};return l.domEventName=i,l.fullKey=s,l}static matchEventFullKeyCode(e,r){let i=L3[e.key]||e.key,o="";return r.indexOf("code.")>-1&&(i=e.code,o="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),iS.forEach(s=>{if(s!==i){let a=j3[s];a(e)&&(o+=s+".")}}),o+=i,o===r)}static eventCallback(e,r,i){return o=>{t.matchEventFullKeyCode(o,e)&&i.runGuarded(()=>r(o))}}static _normalizeKey(e){return e==="esc"?"escape":e}static \u0275fac=function(r){return new(r||t)(Ce(zt))};static \u0275prov=fe({token:t,factory:t.\u0275fac})}return t})();function V3(){vh.makeCurrent()}function U3(){return new oi}function B3(){return z0(document),document}var H3=[{provide:ks,useValue:ey},{provide:Af,useValue:V3,multi:!0},{provide:zt,useFactory:B3}],ly=Uv(Ew,"browser",H3);var $3=[{provide:qf,useClass:yh},{provide:Yf,useClass:bc},{provide:bc,useClass:bc}],z3=[{provide:Kl,useValue:"root"},{provide:oi,useFactory:U3},{provide:gh,useClass:hh,multi:!0},{provide:gh,useClass:oS,multi:!0},$c,sy,oy,{provide:mo,useExisting:$c},{provide:Bs,useClass:P3},[]],Gc=(()=>{class t{constructor(){}static \u0275fac=function(r){return new(r||t)};static \u0275mod=Ot({type:t});static \u0275inj=xt({providers:[...z3,...$3],imports:[zi,Cw]})}return t})();var Gi=class t{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(n){n?typeof n=="string"?this.lazyInit=()=>{this.headers=new Map,n.split(`
15`).forEach(e=>{let r=e.indexOf(":");if(r>0){let i=e.slice(0,r),o=e.slice(r+1).trim();this.addHeaderEntry(i,o)}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((e,r)=>{this.addHeaderEntry(r,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([e,r])=>{this.setHeaderEntries(e,r)})}: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 t?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 t;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof t?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 r=n.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(n.name,e);let i=(n.op==="a"?this.headers.get(e):void 0)||[];i.push(...r),this.headers.set(e,i);break;case"d":let o=n.value;if(!o)this.headers.delete(e),this.normalizedNames.delete(e);else{let s=this.headers.get(e);if(!s)return;s=s.filter(a=>o.indexOf(a)===-1),s.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,s)}break}}addHeaderEntry(n,e){let r=n.toLowerCase();this.maybeSetNormalizedName(n,r),this.headers.has(r)?this.headers.get(r).push(e):this.headers.set(r,[e])}setHeaderEntries(n,e){let r=(Array.isArray(e)?e:[e]).map(o=>o.toString()),i=n.toLowerCase();this.headers.set(i,r),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 Dh=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()}},Eh=class{encodeKey(n){return sS(n)}encodeValue(n){return sS(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}};function G3(t,n){let e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(i=>{let o=i.indexOf("="),[s,a]=o==-1?[n.decodeKey(i),""]:[n.decodeKey(i.slice(0,o)),n.decodeValue(i.slice(o+1))],l=e.get(s)||[];l.push(a),e.set(s,l)}),e}var W3=/%(\d[a-f0-9])/gi,Y3={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function sS(t){return encodeURIComponent(t).replace(W3,(n,e)=>Y3[e]??n)}function _h(t){return`${t}`}var Kn=class t{map;encoder;updates=null;cloneFrom=null;constructor(n={}){if(this.encoder=n.encoder||new Eh,n.fromString){if(n.fromObject)throw new re(2805,!1);this.map=G3(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(e=>{let r=n.fromObject[e],i=Array.isArray(r)?r.map(_h):[_h(r)];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(r=>{let i=n[r];Array.isArray(i)?i.forEach(o=>{e.push({param:r,value:o,op:"a"})}):e.push({param:r,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(r=>e+"="+this.encoder.encodeValue(r)).join("&")}).filter(n=>n!=="").join("&")}clone(n){let e=new t({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(_h(n.value)),this.map.set(n.param,e);break;case"d":if(n.value!==void 0){let r=this.map.get(n.param)||[],i=r.indexOf(_h(n.value));i!==-1&&r.splice(i,1),r.length>0?this.map.set(n.param,r):this.map.delete(n.param)}else{this.map.delete(n.param);break}}}),this.cloneFrom=this.updates=null)}};function q3(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function aS(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function lS(t){return typeof Blob<"u"&&t instanceof Blob}function cS(t){return typeof FormData<"u"&&t instanceof FormData}function Z3(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var uS="Content-Type",dS="Accept",hS="text/plain",pS="application/json",K3=`${pS}, ${hS}, */*`,$a=class t{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;referrerPolicy;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(n,e,r,i){this.url=e,this.method=n.toUpperCase();let o;if(q3(this.method)||i?(this.body=r!==void 0?r:null,o=i):o=r,o){if(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,this.keepalive=!!o.keepalive,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),o.priority&&(this.priority=o.priority),o.cache&&(this.cache=o.cache),o.credentials&&(this.credentials=o.credentials),typeof o.timeout=="number"){if(o.timeout<1||!Number.isInteger(o.timeout))throw new re(2822,"");this.timeout=o.timeout}o.mode&&(this.mode=o.mode),o.redirect&&(this.redirect=o.redirect),o.integrity&&(this.integrity=o.integrity),o.referrer!==void 0&&(this.referrer=o.referrer),o.referrerPolicy&&(this.referrerPolicy=o.referrerPolicy),this.transferCache=o.transferCache}if(this.headers??=new Gi,this.context??=new Dh,!this.params)this.params=new Kn,this.urlWithParams=e;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=e;else{let a=e.indexOf("?"),l=a===-1?"?":a<e.length-1?"&":"";this.urlWithParams=e+l+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||aS(this.body)||lS(this.body)||cS(this.body)||Z3(this.body)?this.body:this.body instanceof Kn?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||cS(this.body)?null:lS(this.body)?this.body.type||null:aS(this.body)?null:typeof this.body=="string"?hS:this.body instanceof Kn?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?pS:null}clone(n={}){let e=n.method||this.method,r=n.url||this.url,i=n.responseType||this.responseType,o=n.keepalive??this.keepalive,s=n.priority||this.priority,a=n.cache||this.cache,l=n.mode||this.mode,u=n.redirect||this.redirect,f=n.credentials||this.credentials,h=n.referrer??this.referrer,m=n.integrity||this.integrity,v=n.referrerPolicy||this.referrerPolicy,y=n.transferCache??this.transferCache,w=n.timeout??this.timeout,C=n.body!==void 0?n.body:this.body,S=n.withCredentials??this.withCredentials,x=n.reportProgress??this.reportProgress,j=n.headers||this.headers,P=n.params||this.params,Z=n.context??this.context;return n.setHeaders!==void 0&&(j=Object.keys(n.setHeaders).reduce((L,ie)=>L.set(ie,n.setHeaders[ie]),j)),n.setParams&&(P=Object.keys(n.setParams).reduce((L,ie)=>L.set(ie,n.setParams[ie]),P)),new t(e,r,C,{params:P,headers:j,context:Z,reportProgress:x,responseType:i,withCredentials:S,transferCache:y,keepalive:o,cache:a,priority:s,timeout:w,mode:l,redirect:u,credentials:f,referrer:h,integrity:m,referrerPolicy:v})}},Co=(function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t})(Co||{}),za=class{headers;status;statusText;url;ok;type;redirected;responseType;constructor(n,e=200,r="OK"){this.headers=n.headers||new Gi,this.status=n.status!==void 0?n.status:e,this.statusText=n.statusText||r,this.url=n.url||null,this.redirected=n.redirected,this.responseType=n.responseType,this.ok=this.status>=200&&this.status<300}},Ch=class t extends za{constructor(n={}){super(n)}type=Co.ResponseHeader;clone(n={}){return new t({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})}},Hs=class t extends za{body;constructor(n={}){super(n),this.body=n.body!==void 0?n.body:null}type=Co.Response;clone(n={}){return new t({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,redirected:n.redirected??this.redirected,responseType:n.responseType??this.responseType})}},Wo=class extends za{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}},Q3=200,J3=204;var X3=new Ie("");var e6=/^\)\]\}',?\n/;var uy=(()=>{class t{xhrFactory;tracingService=$(Ui,{optional:!0});constructor(e){this.xhrFactory=e}maybePropagateTrace(e){return this.tracingService?.propagate?this.tracingService.propagate(e):e}handle(e){if(e.method==="JSONP")throw new re(-2800,!1);let r=this.xhrFactory;return lt(null).pipe(dr(()=>new wt(o=>{let s=r.build();if(s.open(e.method,e.urlWithParams),e.withCredentials&&(s.withCredentials=!0),e.headers.forEach((C,S)=>s.setRequestHeader(C,S.join(","))),e.headers.has(dS)||s.setRequestHeader(dS,K3),!e.headers.has(uS)){let C=e.detectContentTypeHeader();C!==null&&s.setRequestHeader(uS,C)}if(e.timeout&&(s.timeout=e.timeout),e.responseType){let C=e.responseType.toLowerCase();s.responseType=C!=="json"?C:"text"}let a=e.serializeBody(),l=null,u=()=>{if(l!==null)return l;let C=s.statusText||"OK",S=new Gi(s.getAllResponseHeaders()),x=s.responseURL||e.url;return l=new Ch({headers:S,status:s.status,statusText:C,url:x}),l},f=this.maybePropagateTrace(()=>{let{headers:C,status:S,statusText:x,url:j}=u(),P=null;S!==J3&&(P=typeof s.response>"u"?s.responseText:s.response),S===0&&(S=P?Q3:0);let Z=S>=200&&S<300;if(e.responseType==="json"&&typeof P=="string"){let L=P;P=P.replace(e6,"");try{P=P!==""?JSON.parse(P):null}catch(ie){P=L,Z&&(Z=!1,P={error:ie,text:P})}}Z?(o.next(new Hs({body:P,headers:C,status:S,statusText:x,url:j||void 0})),o.complete()):o.error(new Wo({error:P,headers:C,status:S,statusText:x,url:j||void 0}))}),h=this.maybePropagateTrace(C=>{let{url:S}=u(),x=new Wo({error:C,status:s.status||0,statusText:s.statusText||"Unknown Error",url:S||void 0});o.error(x)}),m=h;e.timeout&&(m=this.maybePropagateTrace(C=>{let{url:S}=u(),x=new Wo({error:new DOMException("Request timed out","TimeoutError"),status:s.status||0,statusText:s.statusText||"Request timeout",url:S||void 0});o.error(x)}));let v=!1,y=this.maybePropagateTrace(C=>{v||(o.next(u()),v=!0);let S={type:Co.DownloadProgress,loaded:C.loaded};C.lengthComputable&&(S.total=C.total),e.responseType==="text"&&s.responseText&&(S.partialText=s.responseText),o.next(S)}),w=this.maybePropagateTrace(C=>{let S={type:Co.UploadProgress,loaded:C.loaded};C.lengthComputable&&(S.total=C.total),o.next(S)});return s.addEventListener("load",f),s.addEventListener("error",h),s.addEventListener("timeout",m),s.addEventListener("abort",h),e.reportProgress&&(s.addEventListener("progress",y),a!==null&&s.upload&&s.upload.addEventListener("progress",w)),s.send(a),o.next({type:Co.Sent}),()=>{s.removeEventListener("error",h),s.removeEventListener("abort",h),s.removeEventListener("load",f),s.removeEventListener("timeout",m),e.reportProgress&&(s.removeEventListener("progress",y),a!==null&&s.upload&&s.upload.removeEventListener("progress",w)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(r){return new(r||t)(Ce(Bs))};static \u0275prov=fe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function mS(t,n){return n(t)}function t6(t,n){return(e,r)=>n.intercept(e,{handle:i=>t(i,r)})}function n6(t,n,e){return(r,i)=>Mn(e,()=>n(r,o=>t(o,i)))}var Ga=new Ie(""),dy=new Ie("",{factory:()=>[]}),gS=new Ie(""),fy=new Ie("",{factory:()=>!0});function r6(){let t=null;return(n,e)=>{t===null&&(t=($(Ga,{optional:!0})??[]).reduceRight(t6,mS));let r=$(xa);if($(fy)){let o=r.add();return t(n,e).pipe(ga(o))}else return t(n,e)}}var hy=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=fe({token:t,factory:function(r){let i=null;return r?i=new(r||t):i=Ce(uy),i},providedIn:"root"})}return t})();var bh=(()=>{class t{backend;injector;chain=null;pendingTasks=$(xa);contributeToStability=$(fy);constructor(e,r){this.backend=e,this.injector=r}handle(e){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(dy),...this.injector.get(gS,[])]));this.chain=r.reduceRight((i,o)=>n6(i,o,this.injector),mS)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(e,i=>this.backend.handle(i)).pipe(ga(r))}else return this.chain(e,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||t)(Ce(hy),Ce(cn))};static \u0275prov=fe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),py=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=fe({token:t,factory:function(r){let i=null;return r?i=new(r||t):i=Ce(bh),i},providedIn:"root"})}return t})();function cy(t,n){return{body:n,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,credentials:t.credentials,transferCache:t.transferCache,timeout:t.timeout,keepalive:t.keepalive,priority:t.priority,cache:t.cache,mode:t.mode,redirect:t.redirect,integrity:t.integrity,referrer:t.referrer,referrerPolicy:t.referrerPolicy}}var Er=(()=>{class t{handler;constructor(e){this.handler=e}request(e,r,i={}){let o;if(e instanceof $a)o=e;else{let l;i.headers instanceof Gi?l=i.headers:l=new Gi(i.headers);let u;i.params&&(i.params instanceof Kn?u=i.params:u=new Kn({fromObject:i.params})),o=new $a(e,r,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,keepalive:i.keepalive,priority:i.priority,cache:i.cache,mode:i.mode,redirect:i.redirect,credentials:i.credentials,referrer:i.referrer,referrerPolicy:i.referrerPolicy,integrity:i.integrity,timeout:i.timeout})}let s=lt(o).pipe(ko(l=>this.handler.handle(l)));if(e instanceof $a||i.observe==="events")return s;let a=s.pipe(Sr(l=>l instanceof Hs));switch(i.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(_t(l=>{if(l.body!==null&&!(l.body instanceof ArrayBuffer))throw new re(2806,!1);return l.body}));case"blob":return a.pipe(_t(l=>{if(l.body!==null&&!(l.body instanceof Blob))throw new re(2807,!1);return l.body}));case"text":return a.pipe(_t(l=>{if(l.body!==null&&typeof l.body!="string")throw new re(2808,!1);return l.body}));default:return a.pipe(_t(l=>l.body))}case"response":return a;default:throw new re(2809,!1)}}delete(e,r={}){return this.request("DELETE",e,r)}get(e,r={}){return this.request("GET",e,r)}head(e,r={}){return this.request("HEAD",e,r)}jsonp(e,r){return this.request("JSONP",e,{params:new Kn().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,r={}){return this.request("OPTIONS",e,r)}patch(e,r,i={}){return this.request("PATCH",e,cy(i,r))}post(e,r,i={}){return this.request("POST",e,cy(i,r))}put(e,r,i={}){return this.request("PUT",e,cy(i,r))}static \u0275fac=function(r){return new(r||t)(Ce(py))};static \u0275prov=fe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var i6=new Ie("",{factory:()=>!0}),o6="XSRF-TOKEN",s6=new Ie("",{factory:()=>o6}),a6="X-XSRF-TOKEN",l6=new Ie("",{factory:()=>a6}),c6=(()=>{class t{cookieName=$(s6);doc=$(zt);lastCookieString="";lastToken=null;parseCount=0;getToken(){let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=jc(e,this.cookieName),this.lastCookieString=e),this.lastToken}static \u0275fac=function(r){return new(r||t)};static \u0275prov=fe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),vS=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=fe({token:t,factory:function(r){let i=null;return r?i=new(r||t):i=Ce(c6),i},providedIn:"root"})}return t})();function u6(t,n){if(!$(i6)||t.method==="GET"||t.method==="HEAD")return n(t);try{let i=$(Do).href,{origin:o}=new URL(i),{origin:s}=new URL(t.url,o);if(o!==s)return n(t)}catch(i){return n(t)}let e=$(vS).getToken(),r=$(l6);return e!=null&&!t.headers.has(r)&&(t=t.clone({headers:t.headers.set(r,e)})),n(t)}var my=(function(t){return t[t.Interceptors=0]="Interceptors",t[t.LegacyInterceptors=1]="LegacyInterceptors",t[t.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",t[t.NoXsrfProtection=3]="NoXsrfProtection",t[t.JsonpSupport=4]="JsonpSupport",t[t.RequestsMadeViaParent=5]="RequestsMadeViaParent",t[t.Fetch=6]="Fetch",t})(my||{});function d6(t,n){return{\u0275kind:t,\u0275providers:n}}function gy(...t){let n=[Er,bh,{provide:py,useExisting:bh},{provide:hy,useFactory:()=>$(X3,{optional:!0})??$(uy)},{provide:dy,useValue:u6,multi:!0}];for(let e of t)n.push(...e.\u0275providers);return Ni(n)}var fS=new Ie("");function vy(){return d6(my.LegacyInterceptors,[{provide:fS,useFactory:r6},{provide:dy,useExisting:fS,multi:!0}])}var yS=(()=>{class t{_doc;constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static \u0275fac=function(r){return new(r||t)(Ce(zt))};static \u0275prov=fe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Wc=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=fe({token:t,factory:function(r){let i=null;return r?i=new(r||t):i=Ce(f6),i},providedIn:"root"})}return t})(),f6=(()=>{class t extends Wc{_doc;constructor(e){super(),this._doc=e}sanitize(e,r){if(r==null)return null;switch(e){case mr.NONE:return r;case mr.HTML:return Vi(r,"HTML")?Ar(r):Of(this._doc,String(r)).toString();case mr.STYLE:return Vi(r,"Style")?Ar(r):r;case mr.SCRIPT:if(Vi(r,"Script"))return Ar(r);throw new re(5200,!1);case mr.URL:return Vi(r,"URL")?Ar(r):_c(String(r));
15case mr.RESOURCE_URL:if(Vi(r,"ResourceURL"))return Ar(r);throw new re(5201,!1);default:throw new re(5202,!1)}}bypassSecurityTrustHtml(e){return Y0(e)}bypassSecurityTrustStyle(e){return q0(e)}bypassSecurityTrustScript(e){return Z0(e)}bypassSecurityTrustUrl(e){return K0(e)}bypassSecurityTrustResourceUrl(e){return Q0(e)}static \u0275fac=function(r){return new(r||t)(Ce(zt))};static \u0275prov=fe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var ct="primary",iu=Symbol("RouteTitle"),by=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 zs(t){return new by(t)}function _y(t,n,e){for(let r=0;r<t.length;r++){let i=t[r],o=n[r];if(i[0]===":")e[i.substring(1)]=o;else if(i!==o.path)return!1}return!0}function TS(t,n,e){let r=e.path.split("/"),i=r.indexOf("**");if(i===-1){if(r.length>t.length||e.pathMatch==="full"&&(n.hasChildren()||r.length<t.length))return null;let l={},u=t.slice(0,r.length);return _y(r,u,l)?{consumed:u,posParams:l}:null}if(i!==r.lastIndexOf("**"))return null;let o=r.slice(0,i),s=r.slice(i+1);if(o.length+s.length>t.length||e.pathMatch==="full"&&n.hasChildren()&&e.path!=="**")return null;let a={};return!_y(o,t.slice(0,o.length),a)||!_y(s,t.slice(t.length-s.length),a)?null:{consumed:t,posParams:a}}function xh(t){return new Promise((n,e)=>{t.pipe(io()).subscribe({next:r=>n(r),error:r=>e(r)})})}function h6(t,n){if(t.length!==n.length)return!1;for(let e=0;e<t.length;++e)if(!Wi(t[e],n[e]))return!1;return!0}function Wi(t,n){let e=t?wy(t):void 0,r=n?wy(n):void 0;if(!e||!r||e.length!=r.length)return!1;let i;for(let o=0;o<e.length;o++)if(i=e[o],!IS(t[i],n[i]))return!1;return!0}function wy(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function IS(t,n){if(Array.isArray(t)&&Array.isArray(n)){if(t.length!==n.length)return!1;let e=[...t].sort(),r=[...n].sort();return e.every((i,o)=>r[o]===i)}else return t===n}function p6(t){return t.length>0?t[t.length-1]:null}function Ws(t){return Dd(t)?t:Ho(t)?Xt(Promise.resolve(t)):lt(t)}function MS(t){return Dd(t)?xh(t):Promise.resolve(t)}var m6={exact:NS,subset:RS},xS={exact:g6,subset:v6,ignored:()=>!0},AS={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Sy={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function _S(t,n,e){return m6[e.paths](t.root,n.root,e.matrixParams)&&xS[e.queryParams](t.queryParams,n.queryParams)&&!(e.fragment==="exact"&&t.fragment!==n.fragment)}function g6(t,n){return Wi(t,n)}function NS(t,n,e){if(!$s(t.segments,n.segments)||!Th(t.segments,n.segments,e)||t.numberOfChildren!==n.numberOfChildren)return!1;for(let r in n.children)if(!t.children[r]||!NS(t.children[r],n.children[r],e))return!1;return!0}function v6(t,n){return Object.keys(n).length<=Object.keys(t).length&&Object.keys(n).every(e=>IS(t[e],n[e]))}function RS(t,n,e){return kS(t,n,n.segments,e)}function kS(t,n,e,r){if(t.segments.length>e.length){let i=t.segments.slice(0,e.length);return!(!$s(i,e)||n.hasChildren()||!Th(i,e,r))}else if(t.segments.length===e.length){if(!$s(t.segments,e)||!Th(t.segments,e,r))return!1;for(let i in n.children)if(!t.children[i]||!RS(t.children[i],n.children[i],r))return!1;return!0}else{let i=e.slice(0,t.segments.length),o=e.slice(t.segments.length);return!$s(t.segments,i)||!Th(t.segments,i,r)||!t.children[ct]?!1:kS(t.children[ct],n,o,r)}}function Th(t,n,e){return n.every((r,i)=>xS[e](t[i].parameters,r.parameters))}var Pr=class{root;queryParams;fragment;_queryParamMap;constructor(n=new Pt([],{}),e={},r=null){this.root=n,this.queryParams=e,this.fragment=r}get queryParamMap(){return this._queryParamMap??=zs(this.queryParams),this._queryParamMap}toString(){return D6.serialize(this)}},Pt=class{segments;children;parent=null;constructor(n,e){this.segments=n,this.children=e,Object.values(e).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Ih(this)}},Yo=class{path;parameters;_parameterMap;constructor(n,e){this.path=n,this.parameters=e}get parameterMap(){return this._parameterMap??=zs(this.parameters),this._parameterMap}toString(){return FS(this)}};function y6(t,n){return $s(t,n)&&t.every((e,r)=>Wi(e.parameters,n[r].parameters))}function $s(t,n){return t.length!==n.length?!1:t.every((e,r)=>e.path===n[r].path)}function _6(t,n){let e=[];
15return Object.entries(t.children).forEach(([r,i])=>{r===ct&&(e=e.concat(n(i,r)))}),Object.entries(t.children).forEach(([r,i])=>{r!==ct&&(e=e.concat(n(i,r)))}),e}var Ko=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=fe({token:t,factory:()=>new wo,providedIn:"root"})}return t})(),wo=class{parse(n){let e=new Iy(n);return new Pr(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(n){let e=`/${Yc(n.root,!0)}`,r=b6(n.queryParams),i=typeof n.fragment=="string"?`#${E6(n.fragment)}`:"";return`${e}${r}${i}`}},D6=new wo;function Ih(t){return t.segments.map(n=>FS(n)).join("/")}function Yc(t,n){if(!t.hasChildren())return Ih(t);if(n){let e=t.children[ct]?Yc(t.children[ct],!1):"",r=[];return Object.entries(t.children).forEach(([i,o])=>{i!==ct&&r.push(`${i}:${Yc(o,!1)}`)}),r.length>0?`${e}(${r.join("//")})`:e}else{let e=_6(t,(r,i)=>i===ct?[Yc(t.children[ct],!1)]:[`${i}:${Yc(r,!1)}`]);return Object.keys(t.children).length===1&&t.children[ct]!=null?`${Ih(t)}/${e[0]}`:`${Ih(t)}/(${e.join("//")})`}}function OS(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function wh(t){return OS(t).replace(/%3B/gi,";")}function E6(t){return encodeURI(t)}function Ty(t){return OS(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Mh(t){return decodeURIComponent(t)}function DS(t){return Mh(t.replace(/\+/g,"%20"))}function FS(t){return`${Ty(t.path)}${C6(t.parameters)}`}function C6(t){return Object.entries(t).map(([n,e])=>`;${Ty(n)}=${Ty(e)}`).join("")}function b6(t){let n=Object.entries(t).map(([e,r])=>Array.isArray(r)?r.map(i=>`${wh(e)}=${wh(i)}`).join("&"):`${wh(e)}=${wh(r)}`).filter(e=>e);return n.length?`?${n.join("&")}`:""}var w6=/^[^\/()?;#]+/;function Dy(t){let n=t.match(w6);return n?n[0]:""}var S6=/^[^\/()?;=#]+/;function T6(t){let n=t.match(S6);return n?n[0]:""}var I6=/^[^=?&#]+/;function M6(t){let n=t.match(I6);return n?n[0]:""}var x6=/^[^&#]+/;function A6(t){let n=t.match(x6);return n?n[0]:""}var Iy=class{url;remaining;constructor(n){this.url=n,this.remaining=n}parseRootSegment(){for(;this.consumeOptional("/"););return this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new Pt([],{}):new Pt([],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(n=0){if(n>50)throw new re(4010,!1);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 r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(!0,n));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1,n)),(e.length>0||Object.keys(r).length>0)&&(i[ct]=new Pt(e,r)),i}parseSegment(){let n=Dy(this.remaining);if(n===""&&this.peekStartsWith(";"))throw new re(4009,!1);return this.capture(n),new Yo(Mh(n),this.parseMatrixParams())}parseMatrixParams(){let n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){let e=T6(this.remaining);if(!e)return;this.capture(e);let r="";if(this.consumeOptional("=")){let i=Dy(this.remaining);i&&(r=i,this.capture(r))}n[Mh(e)]=Mh(r)}parseQueryParam(n){let e=M6(this.remaining);if(!e)return;this.capture(e);let r="";if(this.consumeOptional("=")){let s=A6(this.remaining);s&&(r=s,this.capture(r))}let i=DS(e),o=DS(r);if(n.hasOwnProperty(i)){let s=n[i];Array.isArray(s)||(s=[s],n[i]=s),s.push(o)}else n[i]=o}parseParens(n,e){let r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let i=Dy(this.remaining),o=this.remaining[i.length];if(o!=="/"&&o!==")"&&o!==";")throw new re(4010,!1);let s;i.indexOf(":")>-1?(s=i.slice(0,i.indexOf(":")),this.capture(s),this.capture(":")):n&&(s=ct);let a=this.parseChildren(e+1);r[s??ct]=Object.keys(a).length===1&&a[ct]?a[ct]:new Pt([],a),this.consumeOptional("//")}return r}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 re(4011,!1)}};function PS(t){return t.segments.length>0?new Pt([],{[ct]:t}):t}function LS(t){let n={};for(let[r,i]of Object.entries(t.children)){let o=LS(i);if(r===ct&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))n[s]=a;else(o.segments.length>0||o.hasChildren())&&(n[r]=o)}let e=new Pt(t.segments,n);return N6(e)}function N6(t){if(t.numberOfChildren===1&&t.children[ct]){let n=t.children[ct];return new Pt(t.segments.concat(n.segments),n.children)}return t}function qo(t){return t instanceof Pr}function jS(t,n,e=null,r=null,i=new wo){let o=VS(t);return US(o,n,e,r,i)}function VS(t){let n;function e(o){let s={};for(let l of o.children){let u=e(l);s[l.outlet]=u}let a=new Pt(o.url,s);return o===t&&(n=a),a}let r=e(t.root),i=PS(r);return n??i}function US(t,n,e,r,i){let o=t;for(;o.parent;)o=o.parent;if(n.length===0)return Ey(o,o,o,e,r,i);let s=R6(n);if(s.toRoot())return Ey(o,o,new Pt([],{}),e,r,i);let a=k6(s,o,t),l=a.processChildren?Zc(a.segmentGroup,a.index,s.commands):HS(a.segmentGroup,a.index,s.commands);return Ey(o,a.segmentGroup,l,e,r,i)}function Ah(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function Qc(t){return typeof t=="object"&&t!=null&&t.outlets}function ES(t,n,e){t||="\u0275";let r=new Pr;return r.queryParams={[t]:n},e.parse(e.serialize(r)).queryParams[t]}function Ey(t,n,e,r,i,o){let s={};for(let[u,f]of Object.entries(r??{}))s[u]=Array.isArray(f)?f.map(h=>ES(u,h,o)):ES(u,f,o);let a;t===n?a=e:a=BS(t,n,e);let l=PS(LS(a));return new Pr(l,s,i)}function BS(t,n,e){let r={};
15return Object.entries(t.children).forEach(([i,o])=>{o===n?r[i]=e:r[i]=BS(o,n,e)}),new Pt(t.segments,r)}var Nh=class{isAbsolute;numberOfDoubleDots;commands;constructor(n,e,r){if(this.isAbsolute=n,this.numberOfDoubleDots=e,this.commands=r,n&&r.length>0&&Ah(r[0]))throw new re(4003,!1);let i=r.find(Qc);if(i&&i!==p6(r))throw new re(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function R6(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new Nh(!0,0,t);let n=0,e=!1,r=t.reduce((i,o,s)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let a={};return Object.entries(o.outlets).forEach(([l,u])=>{a[l]=typeof u=="string"?u.split("/"):u}),[...i,{outlets:a}]}if(o.segmentPath)return[...i,o.segmentPath]}return typeof o!="string"?[...i,o]:s===0?(o.split("/").forEach((a,l)=>{l==0&&a==="."||(l==0&&a===""?e=!0:a===".."?n++:a!=""&&i.push(a))}),i):[...i,o]},[]);return new Nh(e,n,r)}var qa=class{segmentGroup;processChildren;index;constructor(n,e,r){this.segmentGroup=n,this.processChildren=e,this.index=r}};function k6(t,n,e){if(t.isAbsolute)return new qa(n,!0,0);if(!e)return new qa(n,!1,NaN);if(e.parent===null)return new qa(e,!0,0);let r=Ah(t.commands[0])?0:1,i=e.segments.length-1+r;return O6(e,i,t.numberOfDoubleDots)}function O6(t,n,e){let r=t,i=n,o=e;for(;o>i;){if(o-=i,r=r.parent,!r)throw new re(4005,!1);i=r.segments.length}return new qa(r,!1,i-o)}function F6(t){return Qc(t[0])?t[0].outlets:{[ct]:t}}function HS(t,n,e){if(t??=new Pt([],{}),t.segments.length===0&&t.hasChildren())return Zc(t,n,e);let r=P6(t,n,e),i=e.slice(r.commandIndex);if(r.match&&r.pathIndex<t.segments.length){let o=new Pt(t.segments.slice(0,r.pathIndex),{});return o.children[ct]=new Pt(t.segments.slice(r.pathIndex),t.children),Zc(o,0,i)}else return r.match&&i.length===0?new Pt(t.segments,{}):r.match&&!t.hasChildren()?My(t,n,e):r.match?Zc(t,0,i):My(t,n,e)}function Zc(t,n,e){if(e.length===0)return new Pt(t.segments,{});{let r=F6(e),i={};if(Object.keys(r).some(o=>o!==ct)&&t.children[ct]&&t.numberOfChildren===1&&t.children[ct].segments.length===0){let o=Zc(t.children[ct],n,e);return new Pt(t.segments,o.children)}return Object.entries(r).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(i[o]=HS(t.children[o],n,s))}),Object.entries(t.children).forEach(([o,s])=>{r[o]===void 0&&(i[o]=s)}),new Pt(t.segments,i)}}function P6(t,n,e){let r=0,i=n,o={match:!1,pathIndex:0,commandIndex:0};for(;i<t.segments.length;){if(r>=e.length)return o;let s=t.segments[i],a=e[r];if(Qc(a))break;let l=`${a}`,u=r<e.length-1?e[r+1]:null;if(i>0&&l===void 0)break;if(l&&u&&typeof u=="object"&&u.outlets===void 0){if(!bS(l,u,s))return o;r+=2}else{if(!bS(l,{},s))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}function My(t,n,e){let r=t.segments.slice(0,n),i=0;for(;i<e.length;){let o=e[i];if(Qc(o)){let l=L6(o.outlets);return new Pt(r,l)}if(i===0&&Ah(e[0])){let l=t.segments[n];r.push(new Yo(l.path,CS(e[0]))),i++;continue}let s=Qc(o)?o.outlets[ct]:`${o}`,a=i<e.length-1?e[i+1]:null;s&&a&&Ah(a)?(r.push(new Yo(s,CS(a))),i+=2):(r.push(new Yo(s,{})),i++)}return new Pt(r,{})}function L6(t){let n={};return Object.entries(t).forEach(([e,r])=>{typeof r=="string"&&(r=[r]),r!==null&&(n[e]=My(new Pt([],{}),0,r))}),n}function CS(t){let n={};return Object.entries(t).forEach(([e,r])=>n[e]=`${r}`),n}function bS(t,n,e){return t==e.path&&Wi(n,e.parameters)}var Za="imperative",An=(function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t})(An||{}),Lr=class{id;url;constructor(n,e){this.id=n,this.url=e}},Zo=class extends Lr{type=An.NavigationStart;navigationTrigger;restoredState;constructor(n,e,r="imperative",i=null){super(n,e),this.navigationTrigger=r,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Kr=class extends Lr{urlAfterRedirects;type=An.NavigationEnd;constructor(n,e,r){super(n,e),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},Qn=(function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromRe
15solver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t[t.Aborted=4]="Aborted",t})(Qn||{}),Qa=(function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t})(Qa||{}),Zr=class extends Lr{reason;code;type=An.NavigationCancel;constructor(n,e,r,i){super(n,e),this.reason=r,this.code=i}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}};function $S(t){return t instanceof Zr&&(t.code===Qn.Redirect||t.code===Qn.SupersededByNewNavigation)}var Yi=class extends Lr{reason;code;type=An.NavigationSkipped;constructor(n,e,r,i){super(n,e),this.reason=r,this.code=i}},Gs=class extends Lr{error;target;type=An.NavigationError;constructor(n,e,r,i){super(n,e),this.error=r,this.target=i}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Jc=class extends Lr{urlAfterRedirects;state;type=An.RoutesRecognized;constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Rh=class extends Lr{urlAfterRedirects;state;type=An.GuardsCheckStart;constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},kh=class extends Lr{urlAfterRedirects;state;shouldActivate;type=An.GuardsCheckEnd;constructor(n,e,r,i,o){super(n,e),this.urlAfterRedirects=r,this.state=i,this.shouldActivate=o}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Oh=class extends Lr{urlAfterRedirects;state;type=An.ResolveStart;constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Fh=class extends Lr{urlAfterRedirects;state;type=An.ResolveEnd;constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ph=class{route;type=An.RouteConfigLoadStart;constructor(n){this.route=n}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Lh=class{route;type=An.RouteConfigLoadEnd;constructor(n){this.route=n}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},jh=class{snapshot;type=An.ChildActivationStart;constructor(n){this.snapshot=n}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Vh=class{snapshot;type=An.ChildActivationEnd;constructor(n){this.snapshot=n}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Uh=class{snapshot;type=An.ActivationStart;constructor(n){this.snapshot=n}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Bh=class{snapshot;type=An.ActivationEnd;constructor(n){this.snapshot=n}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ja=class{routerEvent;position;anchor;scrollBehavior;type=An.Scroll;constructor(n,e,r,i){this.routerEvent=n,this.position=e,this.anchor=r,this.scrollBehavior=i}toString(){let n=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${n}')`}},Xa=class{},Xc=class{},el=class{url;navigationBehaviorOptions;constructor(n,e){this.url=n,this.navigationBehaviorOptions=e}};function j6(t){return!(t instanceof Xa)&&!(t instanceof el)&&!(t instanceof Xc)}var Hh=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return this.route?.snapshot._environmentInjector??this.rootInjector}constructor(n){this.rootInjector=n,this.children=new Ys(this.rootInjector)}},Ys=(()=>{class t{rootInjector;contexts=new Map;constructor(e){this.rootInjector=e}onChildOutletCreated(e,r){let i=this.getOrCreateContext(e);i.outlet=r,this.contexts.set(e,i)}onChildOutletDestroyed(e){let r=this.getContext(e);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let r=this.getContext(e);return r||(r=new Hh(this.rootInjector),this.contexts.set(e,r)),r}getContext(e){return this.contexts.get(e)||null}static \u0275fac=function(r){return new(r||t)(Ce(cn))};static \u0275prov=fe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),$h=class{_root;constructor(n){this._root=n}get root(){return this._root.value}
15parent(n){let e=this.pathFromRoot(n);return e.length>1?e[e.length-2]:null}children(n){let e=xy(n,this._root);return e?e.children.map(r=>r.value):[]}firstChild(n){let e=xy(n,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(n){let e=Ay(n,this._root);return e.length<2?[]:e[e.length-2].children.map(i=>i.value).filter(i=>i!==n)}pathFromRoot(n){return Ay(n,this._root).map(e=>e.value)}};function xy(t,n){if(t===n.value)return n;for(let e of n.children){let r=xy(t,e);if(r)return r}return null}function Ay(t,n){if(t===n.value)return[n];for(let e of n.children){let r=Ay(t,e);if(r.length)return r.unshift(n),r}return[]}var Fr=class{value;children;constructor(n,e){this.value=n,this.children=e}toString(){return`TreeNode(${this.value})`}};function Ya(t){let n={};return t&&t.children.forEach(e=>n[e.value.outlet]=e),n}var eu=class extends $h{snapshot;constructor(n,e){super(n),this.snapshot=e,Vy(this,n)}toString(){return this.snapshot.toString()}};function zS(t,n){let e=V6(t,n),r=new Tn([new Yo("",{})]),i=new Tn({}),o=new Tn({}),s=new Tn({}),a=new Tn(""),l=new Hn(r,i,s,a,o,ct,t,e.root);return l.snapshot=e.root,new eu(new Fr(l,[]),e)}function V6(t,n){let e={},r={},i={},s=new tl([],e,i,"",r,ct,t,null,{},n);return new tu("",new Fr(s,[]))}var Hn=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(n,e,r,i,o,s,a,l){this.urlSubject=n,this.paramsSubject=e,this.queryParamsSubject=r,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(_t(u=>u[iu]))??lt(void 0),this.url=n,this.params=e,this.queryParams=r,this.fragment=i,this.data=o}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(_t(n=>zs(n))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(_t(n=>zs(n))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function jy(t,n,e="emptyOnly"){let r,{routeConfig:i}=t;return n!==null&&(e==="always"||i?.path===""||!n.component&&!n.routeConfig?.loadComponent)?r={params:ae(ae({},n.params),t.params),data:ae(ae({},n.data),t.data),resolve:ae(ae(ae(ae({},t.data),n.data),i?.data),t._resolvedData)}:r={params:ae({},t.params),data:ae({},t.data),resolve:ae(ae({},t.data),t._resolvedData??{})},i&&WS(i)&&(r.resolve[iu]=i.title),r}var tl=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;_environmentInjector;get title(){return this.data?.[iu]}constructor(n,e,r,i,o,s,a,l,u,f){this.url=n,this.params=e,this.queryParams=r,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.routeConfig=l,this._resolve=u,this._environmentInjector=f}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??=zs(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=zs(this.queryParams),this._queryParamMap}toString(){let n=this.url.map(r=>r.toString()).join("/"),e=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${n}', path:'${e}')`}},tu=class extends $h{url;constructor(n,e){super(e),this.url=n,Vy(this,e)}toString(){return GS(this._root)}};function Vy(t,n){n.value._routerState=t,n.children.forEach(e=>Vy(t,e))}function GS(t){let n=t.children.length>0?` { ${t.children.map(GS).join(", ")} } `:"";return`${t.value}${n}`}function Cy(t){if(t.snapshot){let n=t.snapshot,e=t._futureSnapshot;t.snapshot=e,Wi(n.queryParams,e.queryParams)||t.queryParamsSubject.next(e.queryParams),n.fragment!==e.fragment&&t.fragmentSubject.next(e.fragment),Wi(n.params,e.params)||t.paramsSubject.next(e.params),h6(n.url,e.url)||t.urlSubject.next(e.url),Wi(n.data,e.data)||t.dataSubject.next(e.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function Ny(t,n){let e=Wi(t.params,n.params)&&y6(t.url,n.url),r=!t.parent!=!n.parent;return e&&!r&&(!t.parent||Ny(t.parent,n.parent))}function WS(t){return typeof t.title=="string"||t.title===null}var YS=new Ie(""),ou=(()=>{class t{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=ct;activateEvents=new Ge;deactivateEvents=new Ge;attachEvents=new Ge;detachEvents=new Ge;routerOutletData=gw();parentContexts=$(Ys);location=$(Os);changeDetector=$(_o);inputBinder=$(su,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(e){if(e.name){let{firstChange:r,previousValue:i}=e.name;if(r)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 re(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new re(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new re(4012,!1);this.location.detach();let e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,r){this.activated=e,this._activatedRoute=r,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,r){if(this.isActivated)throw new re(4013,!1);this._activatedRoute=e;let i=this.location,s=e.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,l=new Ry(e,a,i.injector,this.routerOutletData);this.activated=i.createComponent(s,{index:i.length,injector:l,environmentInjector:r}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(r){return new(r||t)};static \u0275dir=Gt({type:t,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"}
15,exportAs:["outlet"],features:[kn]})}return t})(),Ry=class{route;childContexts;parent;outletData;constructor(n,e,r,i){this.route=n,this.childContexts=e,this.parent=r,this.outletData=i}get(n,e){return n===Hn?this.route:n===Ys?this.childContexts:n===YS?this.outletData:this.parent.get(n,e)}},su=new Ie(""),Uy=(()=>{class t{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(e){this.unsubscribeFromRouteData(e),this.subscribeToRouteData(e)}unsubscribeFromRouteData(e){this.outletDataSubscriptions.get(e)?.unsubscribe(),this.outletDataSubscriptions.delete(e)}subscribeToRouteData(e){let{activatedRoute:r}=e,i=wd([r.queryParams,r.params,r.data]).pipe(dr(([o,s,a],l)=>(a=ae(ae(ae({},o),s),a),l===0?lt(a):Promise.resolve(a)))).subscribe(o=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==r||r.component===null){this.unsubscribeFromRouteData(e);return}let s=ww(r.component);if(!s){this.unsubscribeFromRouteData(e);return}for(let{templateName:a}of s.inputs)e.activatedComponentRef.setInput(a,o[a])});this.outletDataSubscriptions.set(e,i)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=fe({token:t,factory:t.\u0275fac})}return t})(),By=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275cmp=At({type:t,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(r,i){r&1&&He(0,"router-outlet")},dependencies:[ou],encapsulation:2})}return t})();function Hy(t){let n=t.children&&t.children.map(Hy),e=n?Ze(ae({},t),{children:n}):ae({},t);return!e.component&&!e.loadComponent&&(n||e.loadChildren)&&e.outlet&&e.outlet!==ct&&(e.component=By),e}function U6(t,n,e){let r=nu(t,n._root,e?e._root:void 0);return new eu(r,n)}function nu(t,n,e){if(e&&t.shouldReuseRoute(n.value,e.value.snapshot)){let r=e.value;r._futureSnapshot=n.value;let i=B6(t,n,e);return new Fr(r,i)}else{if(t.shouldAttach(n.value)){let o=t.retrieve(n.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=n.value,s.children=n.children.map(a=>nu(t,a)),s}}let r=H6(n.value),i=n.children.map(o=>nu(t,o));return new Fr(r,i)}}function B6(t,n,e){return n.children.map(r=>{for(let i of e.children)if(t.shouldReuseRoute(r.value,i.value.snapshot))return nu(t,r,i);return nu(t,r)})}function H6(t){return new Hn(new Tn(t.url),new Tn(t.params),new Tn(t.queryParams),new Tn(t.fragment),new Tn(t.data),t.outlet,t.component,t)}var nl=class{redirectTo;navigationBehaviorOptions;constructor(n,e){this.redirectTo=n,this.navigationBehaviorOptions=e}},qS="ngNavigationCancelingError";function zh(t,n){let{redirectTo:e,navigationBehaviorOptions:r}=qo(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,i=ZS(!1,Qn.Redirect);return i.url=e,i.navigationBehaviorOptions=r,i}function ZS(t,n){let e=new Error(`NavigationCancelingError: ${t||""}`);return e[qS]=!0,e.cancellationCode=n,e}function $6(t){return KS(t)&&qo(t.url)}function KS(t){return!!t&&t[qS]}var ky=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(n,e,r,i,o){this.routeReuseStrategy=n,this.futureState=e,this.currState=r,this.forwardEvent=i,this.inputBindingEnabled=o}activate(n){let e=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,r,n),Cy(this.futureState.root),this.activateChildRoutes(e,r,n)}deactivateChildRoutes(n,e,r){let i=Ya(e);n.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,i[s],r),delete i[s]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,r)})}deactivateRoutes(n,e,r){let i=n.value,o=e?e.value:null;if(i===o)if(i.component){let s=r.getContext(i.outlet);s&&this.deactivateChildRoutes(n,e,s.children)}else this.deactivateChildRoutes(n,e,r);else o&&this.deactivateRouteAndItsChildren(e,r)}deactivateRouteAndItsChildren(n,e){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,e):this.deactivateRouteAndOutlet(n,e)}detachAndStoreRouteSubtree(n,e){let r=e.getContext(n.value.outlet),i=r&&n.value.component?r.children:e,o=Ya(n);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);if(r&&r.outlet){let s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:s,route:n,contexts:a})}}deactivateRouteAndOutlet(n,e){let r=e.getContext(n.value.outlet),i=r&&n.value.component?r.children:e,o=Ya(n);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(n,e,r){let i=Ya(e);
15n.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],r),this.forwardEvent(new Bh(o.value.snapshot))}),n.children.length&&this.forwardEvent(new Vh(n.value.snapshot))}activateRoutes(n,e,r){let i=n.value,o=e?e.value:null;if(Cy(i),i===o)if(i.component){let s=r.getOrCreateContext(i.outlet);this.activateChildRoutes(n,e,s.children)}else this.activateChildRoutes(n,e,r);else if(i.component){let s=r.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),Cy(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,r)}},Gh=class{path;route;constructor(n){this.path=n,this.route=this.path[this.path.length-1]}},Ka=class{component;route;constructor(n,e){this.component=n,this.route=e}};function z6(t,n,e){let r=t._root,i=n?n._root:null;return qc(r,i,e,[r.value])}function G6(t){let n=t.routeConfig?t.routeConfig.canActivateChild:null;return!n||n.length===0?null:{node:t,guards:n}}function il(t,n){let e=Symbol(),r=n.get(t,e);return r===e?typeof t=="function"&&!tg(t)?t:n.get(t):r}function qc(t,n,e,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=Ya(n);return t.children.forEach(s=>{W6(s,o[s.value.outlet],e,r.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>Kc(a,e.getContext(s),i)),i}function W6(t,n,e,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=t.value,s=n?n.value:null,a=e?e.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let l=Y6(s,o,o.routeConfig.runGuardsAndResolvers);l?i.canActivateChecks.push(new Gh(r)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?qc(t,n,a?a.children:null,r,i):qc(t,n,e,r,i),l&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new Ka(a.outlet.component,s))}else s&&Kc(n,a,i),i.canActivateChecks.push(new Gh(r)),o.component?qc(t,null,a?a.children:null,r,i):qc(t,null,e,r,i);return i}function Y6(t,n,e){if(typeof e=="function")return Mn(n._environmentInjector,()=>e(t,n));switch(e){case"pathParamsChange":return!$s(t.url,n.url);case"pathParamsOrQueryParamsChange":return!$s(t.url,n.url)||!Wi(t.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Ny(t,n)||!Wi(t.queryParams,n.queryParams);default:return!Ny(t,n)}}function Kc(t,n,e){let r=Ya(t),i=t.value;Object.entries(r).forEach(([o,s])=>{i.component?n?Kc(s,n.children.getContext(o),e):Kc(s,null,e):Kc(s,n,e)}),i.component?n&&n.outlet&&n.outlet.isActivated?e.canDeactivateChecks.push(new Ka(n.outlet.component,i)):e.canDeactivateChecks.push(new Ka(null,i)):e.canDeactivateChecks.push(new Ka(null,i))}function au(t){return typeof t=="function"}function q6(t){return typeof t=="boolean"}function Z6(t){return t&&au(t.canLoad)}function K6(t){return t&&au(t.canActivate)}function Q6(t){return t&&au(t.canActivateChild)}function J6(t){return t&&au(t.canDeactivate)}function X6(t){return t&&au(t.canMatch)}function QS(t){return t instanceof ms||t?.name==="EmptyError"}var Sh=Symbol("INITIAL_VALUE");function rl(){return dr(t=>wd(t.map(n=>n.pipe(ro(1),Lm(Sh)))).pipe(_t(n=>{for(let e of n)if(e!==!0){if(e===Sh)return Sh;if(e===!1||ej(e))return e}return!0}),Sr(n=>n!==Sh),ro(1)))}function ej(t){return qo(t)||t instanceof nl}function JS(t){return t.aborted?lt(void 0).pipe(ro(1)):new wt(n=>{let e=()=>{n.next(),n.complete()};return t.addEventListener("abort",e),()=>t.removeEventListener("abort",e)})}function XS(t){return Vl(JS(t))}function tj(t){return jn(n=>{let{targetSnapshot:e,currentSnapshot:r,guards:{canActivateChecks:i,canDeactivateChecks:o}}=n;return o.length===0&&i.length===0?lt(Ze(ae({},n),{guardsResult:!0})):nj(o,e,r).pipe(jn(s=>s&&q6(s)?rj(e,i,t):lt(s)),_t(s=>Ze(ae({},n),{guardsResult:s})))})}function nj(t,n,e){return Xt(t).pipe(jn(r=>lj(r.component,r.route,e,n)),io(r=>r!==!0,!0))}function rj(t,n,e){return Xt(n).pipe(ko(r=>ma(oj(r.route.parent,e),ij(r.route,e),aj(t,r.path),sj(t,r.route))),io(r=>r!==!0,!0))}function ij(t,n){return t!==null&&n&&n(new Uh(t)),lt(!0)}function oj(t,n){return t!==null&&n&&n(new jh(t)),lt(!0)}
15function sj(t,n){let e=n.routeConfig?n.routeConfig.canActivate:null;if(!e||e.length===0)return lt(!0);let r=e.map(i=>jl(()=>{let o=n._environmentInjector,s=il(i,o),a=K6(s)?s.canActivate(n,t):Mn(o,()=>s(n,t));return Ws(a).pipe(io())}));return lt(r).pipe(rl())}function aj(t,n){let e=n[n.length-1],i=n.slice(0,n.length-1).reverse().map(o=>G6(o)).filter(o=>o!==null).map(o=>jl(()=>{let s=o.guards.map(a=>{let l=o.node._environmentInjector,u=il(a,l),f=Q6(u)?u.canActivateChild(e,t):Mn(l,()=>u(e,t));return Ws(f).pipe(io())});return lt(s).pipe(rl())}));return lt(i).pipe(rl())}function lj(t,n,e,r){let i=n&&n.routeConfig?n.routeConfig.canDeactivate:null;if(!i||i.length===0)return lt(!0);let o=i.map(s=>{let a=n._environmentInjector,l=il(s,a),u=J6(l)?l.canDeactivate(t,n,e,r):Mn(a,()=>l(t,n,e,r));return Ws(u).pipe(io())});return lt(o).pipe(rl())}function cj(t,n,e,r,i){let o=n.canLoad;if(o===void 0||o.length===0)return lt(!0);let s=o.map(a=>{let l=il(a,t),u=Z6(l)?l.canLoad(n,e):Mn(t,()=>l(n,e)),f=Ws(u);return i?f.pipe(XS(i)):f});return lt(s).pipe(rl(),eT(r))}function eT(t){return km(Ur(n=>{if(typeof n!="boolean")throw zh(t,n)}),_t(n=>n===!0))}function uj(t,n,e,r,i,o){let s=n.canMatch;if(!s||s.length===0)return lt(!0);let a=s.map(l=>{let u=il(l,t),f=X6(u)?u.canMatch(n,e,i):Mn(t,()=>u(n,e,i));return Ws(f).pipe(XS(o))});return lt(a).pipe(rl(),eT(r))}var bo=class t extends Error{segmentGroup;constructor(n){super(),this.segmentGroup=n||null,Object.setPrototypeOf(this,t.prototype)}},ru=class t extends Error{urlTree;constructor(n){super(),this.urlTree=n,Object.setPrototypeOf(this,t.prototype)}};function dj(t){throw new re(4e3,!1)}function fj(t){throw ZS(!1,Qn.GuardRejected)}var Oy=class{urlSerializer;urlTree;constructor(n,e){this.urlSerializer=n,this.urlTree=e}lineralizeSegments(n,e){return Tt(this,null,function*(){let r=[],i=e.root;for(;;){if(r=r.concat(i.segments),i.numberOfChildren===0)return r;if(i.numberOfChildren>1||!i.children[ct])throw dj(`${n.redirectTo}`);i=i.children[ct]}})}applyRedirectCommands(n,e,r,i,o){return Tt(this,null,function*(){let s=yield hj(e,i,o);if(s instanceof Pr)throw new ru(s);let a=this.applyRedirectCreateUrlTree(s,this.urlSerializer.parse(s),n,r);if(s[0]==="/")throw new ru(a);return a})}applyRedirectCreateUrlTree(n,e,r,i){let o=this.createSegmentGroup(n,e.root,r,i);return new Pr(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(n,e){let r={};return Object.entries(n).forEach(([i,o])=>{if(typeof o=="string"&&o[0]===":"){let a=o.substring(1);r[i]=e[a]}else r[i]=o}),r}createSegmentGroup(n,e,r,i){let o=this.createSegments(n,e.segments,r,i),s={};return Object.entries(e.children).forEach(([a,l])=>{s[a]=this.createSegmentGroup(n,l,r,i)}),new Pt(o,s)}createSegments(n,e,r,i){return e.map(o=>o.path[0]===":"?this.findPosParam(n,o,i):this.findOrReturn(o,r))}findPosParam(n,e,r){let i=r[e.path.substring(1)];if(!i)throw new re(4001,!1);return i}findOrReturn(n,e){let r=0;for(let i of e){if(i.path===n.path)return e.splice(r),i;r++}return n}};function hj(t,n,e){if(typeof t=="string")return Promise.resolve(t);let r=t;return xh(Ws(Mn(e,()=>r(n))))}function pj(t,n){return t.providers&&!t._injector&&(t._injector=Va(t.providers,n,`Route: ${t.path}`)),t._injector??n}function Ci(t){return t.outlet||ct}function mj(t,n){let e=t.filter(r=>Ci(r)===n);return e.push(...t.filter(r=>Ci(r)!==n)),e}var Fy={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function tT(t){return{routeConfig:t.routeConfig,url:t.url,params:t.params,queryParams:t.queryParams,fragment:t.fragment,data:t.data,outlet:t.outlet,title:t.title,paramMap:t.paramMap,queryParamMap:t.queryParamMap}}function gj(t,n,e,r,i,o,s){let a=nT(t,n,e);if(!a.matched)return lt(a);let l=tT(o(a));return r=pj(n,r),uj(r,n,e,i,l,s).pipe(_t(u=>u===!0?a:ae({},Fy)))}function nT(t,n,e){if(n.path==="")return n.pathMatch==="full"&&(t.hasChildren()||e.length>0)?ae({},Fy):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};let i=(n.matcher||TS)(e,t,n);if(!i)return ae({},Fy);let o={};Object.entries(i.posParams??{}
15).forEach(([a,l])=>{o[a]=l.path});let s=i.consumed.length>0?ae(ae({},o),i.consumed[i.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:e.slice(i.consumed.length),parameters:s,positionalParamSegments:i.posParams??{}}}function wS(t,n,e,r,i){return e.length>0&&_j(t,e,r,i)?{segmentGroup:new Pt(n,yj(r,new Pt(e,t.children))),slicedSegments:[]}:e.length===0&&Dj(t,e,r)?{segmentGroup:new Pt(t.segments,vj(t,e,r,t.children)),slicedSegments:e}:{segmentGroup:new Pt(t.segments,t.children),slicedSegments:e}}function vj(t,n,e,r){let i={};for(let o of e)if(Yh(t,n,o)&&!r[Ci(o)]){let s=new Pt([],{});i[Ci(o)]=s}return ae(ae({},r),i)}function yj(t,n){let e={};e[ct]=n;for(let r of t)if(r.path===""&&Ci(r)!==ct){let i=new Pt([],{});e[Ci(r)]=i}return e}function _j(t,n,e,r){return e.some(i=>!Yh(t,n,i)||!(Ci(i)!==ct)?!1:!(r!==void 0&&Ci(i)===r))}function Dj(t,n,e){return e.some(r=>Yh(t,n,r))}function Yh(t,n,e){return(t.hasChildren()||n.length>0)&&e.pathMatch==="full"?!1:e.path===""}function Ej(t,n,e){return n.length===0&&!t.children[e]}var Py=class{};function Cj(t,n,e,r,i,o,s="emptyOnly",a){return Tt(this,null,function*(){return new Ly(t,n,e,r,i,s,o,a).recognize()})}var bj=31,Ly=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;abortSignal;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(n,e,r,i,o,s,a,l){this.injector=n,this.configLoader=e,this.rootComponentType=r,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.abortSignal=l,this.applyRedirects=new Oy(this.urlSerializer,this.urlTree)}noMatchError(n){return new re(4002,`'${n.segmentGroup}'`)}recognize(){return Tt(this,null,function*(){let n=wS(this.urlTree.root,[],[],this.config).segmentGroup,{children:e,rootSnapshot:r}=yield this.match(n),i=new Fr(r,e),o=new tu("",i),s=jS(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),{state:o,tree:s}})}match(n){return Tt(this,null,function*(){let e=new tl([],Object.freeze({}),Object.freeze(ae({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),ct,this.rootComponentType,null,{},this.injector);try{return{children:yield this.processSegmentGroup(this.injector,this.config,n,ct,e),rootSnapshot:e}}catch(r){if(r instanceof ru)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof bo?this.noMatchError(r):r}})}processSegmentGroup(n,e,r,i,o){return Tt(this,null,function*(){if(r.segments.length===0&&r.hasChildren())return this.processChildren(n,e,r,o);let s=yield this.processSegment(n,e,r,r.segments,i,!0,o);return s instanceof Fr?[s]:[]})}processChildren(n,e,r,i){return Tt(this,null,function*(){let o=[];for(let l of Object.keys(r.children))l==="primary"?o.unshift(l):o.push(l);let s=[];for(let l of o){let u=r.children[l],f=mj(e,l),h=yield this.processSegmentGroup(n,f,u,l,i);s.push(...h)}let a=rT(s);return wj(a),a})}processSegment(n,e,r,i,o,s,a){return Tt(this,null,function*(){for(let l of e)try{return yield this.processSegmentAgainstRoute(l._injector??n,e,l,r,i,o,s,a)}catch(u){if(u instanceof bo||QS(u))continue;throw u}if(Ej(r,i,o))return new Py;throw new bo(r)})}processSegmentAgainstRoute(n,e,r,i,o,s,a,l){return Tt(this,null,function*(){if(Ci(r)!==s&&(s===ct||!Yh(i,o,r)))throw new bo(i);if(r.redirectTo===void 0)return this.matchSegmentAgainstRoute(n,i,r,o,s,l);if(this.allowRedirects&&a)return this.expandSegmentAgainstRouteUsingRedirect(n,i,e,r,o,s,l);throw new bo(i)})}expandSegmentAgainstRouteUsingRedirect(n,e,r,i,o,s,a){return Tt(this,null,function*(){let{matched:l,parameters:u,consumedSegments:f,positionalParamSegments:h,remainingSegments:m}=nT(e,i,o);if(!l)throw new bo(e);typeof i.redirectTo=="string"&&i.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>bj&&(this.allowRedirects=!1));let v=this.createSnapshot(n,i,o,u,a);if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let y=yield this.applyRedirects.applyRedirectCommands(f,i.redirectTo,h,tT(v),n),w=yield this.applyRedirects.lineralizeSegments(i,y);return this.processSegment(n,r,e,w.concat(m),s,!1,a)})}createSnapshot(n,e,r,i,o){let s=new tl(r,i,Object.freeze(ae({},this.urlTree.queryParams)),this.urlTree.fragment,Tj(e),Ci(e),e.component??e._loadedComponent??null,e,Ij(e),n),a=jy(s,o,this.paramsInheritanceStrategy);return s.params=Object.freeze(a.params),s.data=Object.freeze(a.data),s}matchSegmentAgainstRoute(n,e,r,i,o,s){return Tt(this,null,function*(){if(this.abort
15Signal.aborted)throw new Error(this.abortSignal.reason);let a=j=>this.createSnapshot(n,r,j.consumedSegments,j.parameters,s),l=yield xh(gj(e,r,i,n,this.urlSerializer,a,this.abortSignal));if(r.path==="**"&&(e.children={}),!l?.matched)throw new bo(e);n=r._injector??n;let{routes:u}=yield this.getChildConfig(n,r,i),f=r._loadedInjector??n,{parameters:h,consumedSegments:m,remainingSegments:v}=l,y=this.createSnapshot(n,r,m,h,s),{segmentGroup:w,slicedSegments:C}=wS(e,m,v,u,o);if(C.length===0&&w.hasChildren()){let j=yield this.processChildren(f,u,w,y);return new Fr(y,j)}if(u.length===0&&C.length===0)return new Fr(y,[]);let S=Ci(r)===o,x=yield this.processSegment(f,u,w,C,S?ct:o,!0,y);return new Fr(y,x instanceof Fr?[x]:[])})}getChildConfig(n,e,r){return Tt(this,null,function*(){if(e.children)return{routes:e.children,injector:n};if(e.loadChildren){if(e._loadedRoutes!==void 0){let o=e._loadedNgModuleFactory;return o&&!e._loadedInjector&&(e._loadedInjector=o.create(n).injector),{routes:e._loadedRoutes,injector:e._loadedInjector}}if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);if(yield xh(cj(n,e,r,this.urlSerializer,this.abortSignal))){let o=yield this.configLoader.loadChildren(n,e);return e._loadedRoutes=o.routes,e._loadedInjector=o.injector,e._loadedNgModuleFactory=o.factory,o}throw fj(e)}return{routes:[],injector:n}})}};function wj(t){t.sort((n,e)=>n.value.outlet===ct?-1:e.value.outlet===ct?1:n.value.outlet.localeCompare(e.value.outlet))}function Sj(t){let n=t.value.routeConfig;return n&&n.path===""}function rT(t){let n=[],e=new Set;for(let r of t){if(!Sj(r)){n.push(r);continue}let i=n.find(o=>r.value.routeConfig===o.value.routeConfig);i!==void 0?(i.children.push(...r.children),e.add(i)):n.push(r)}for(let r of e){let i=rT(r.children);n.push(new Fr(r.value,i))}return n.filter(r=>!e.has(r))}function Tj(t){return t.data||{}}function Ij(t){return t.resolve||{}}function Mj(t,n,e,r,i,o,s){return jn(a=>Tt(null,null,function*(){let{state:l,tree:u}=yield Cj(t,n,e,r,a.extractedUrl,i,o,s);return Ze(ae({},a),{targetSnapshot:l,urlAfterRedirects:u})}))}function xj(t){return jn(n=>{let{targetSnapshot:e,guards:{canActivateChecks:r}}=n;if(!r.length)return lt(n);let i=new Set(r.map(a=>a.route)),o=new Set;for(let a of i)if(!o.has(a))for(let l of iT(a))o.add(l);let s=0;return Xt(o).pipe(ko(a=>i.has(a)?Aj(a,e,t):(a.data=jy(a,a.parent,t).resolve,lt(void 0))),Ur(()=>s++),Sd(1),jn(a=>s===o.size?lt(n):Ln))})}function iT(t){let n=t.children.map(e=>iT(e)).flat();return[t,...n]}function Aj(t,n,e){let r=t.routeConfig,i=t._resolve;return r?.title!==void 0&&!WS(r)&&(i[iu]=r.title),jl(()=>(t.data=jy(t,t.parent,e).resolve,Nj(i,t,n).pipe(_t(o=>(t._resolvedData=o,t.data=ae(ae({},t.data),o),null)))))}function Nj(t,n,e){let r=wy(t);if(r.length===0)return lt({});let i={};return Xt(r).pipe(jn(o=>Rj(t[o],n,e).pipe(io(),Ur(s=>{if(s instanceof nl)throw zh(new wo,s);i[o]=s}))),Sd(1),_t(()=>i),no(o=>QS(o)?Ln:Ll(o)))}function Rj(t,n,e){let r=n._environmentInjector,i=il(t,r),o=i.resolve?i.resolve(n,e):Mn(r,()=>i(n,e));return Ws(o)}function SS(t){return dr(n=>{let e=t(n);return e?Xt(e).pipe(_t(()=>n)):lt(n)})}var $y=(()=>{class t{buildTitle(e){let r,i=e.root;for(;i!==void 0;)r=this.getResolvedTitleForRoute(i)??r,i=i.children.find(o=>o.outlet===ct);return r}getResolvedTitleForRoute(e){return e.data[iu]}static \u0275fac=function(r){return new(r||t)};static \u0275prov=fe({token:t,factory:()=>$(oT),providedIn:"root"})}return t})(),oT=(()=>{class t extends $y{title;constructor(e){super(),this.title=e}updateTitle(e){let r=this.buildTitle(e);r!==void 0&&this.title.setTitle(r)}static \u0275fac=function(r){return new(r||t)(Ce(yS))};static \u0275prov=fe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Qo=new Ie("",{factory:()=>({})}),ol=new Ie(""),qh=(()=>{class t{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=$(Rv);loadComponent(e,r){return Tt(this,null,function*(){if(this.componentLoaders.get(r))return this.componentLoaders.get(r);if(r._loadedComponent)return Promise.resolve(r._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(r);let i=Tt(this,null,function*(){try{let o=yield MS(Mn(e,()=>r.loadComponent())),s=yield lT(aT(o));return this.onLoadEndListener&&this.onLoadEndListener(r),r._loadedComponent=s,s}finally{this.componentLoaders.delete(r)}});return this.componentLoaders.set(r,i),i})}loadChildren(e,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return Promise.resolve({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let i=Tt(this,null,function*(){try{let o=yield sT(r,this.compiler,e,this.onLoadEndListener);return r._loadedRoutes=o.routes,r._loadedInjector=o.injector,r._loadedNgModuleFactory=o.factory,o}finally{this.childrenLoaders.delete(r)}});return this.childrenLoaders.set(r,i),i}static \u0275fac=function(r){return new(r||t)};static \u0275prov=fe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function sT(t,n,e,r){return Tt(this,null,function*(){let i=yield MS(Mn(e,()=>t.loadChildren())),o=yield lT(aT(i)),s;o instanceof Gf||Array.isArray(o)?s=o:s=yield n.compileModuleAsync(o),r&&r(t);let a,l,u=!1,f;return Array.isArray(s)?(l=s,u=!0):(a=s.create(e).injector,f=s,l=a.get(ol,[],{optional:!0,self:!0}).flat()),{routes:l.map(Hy),injector:a,factory:f}})}function kj(t){return t&&typeof t=="object"&&"default"in t}function aT(t){return kj(t)?t.default:t}function lT(t){return Tt(this,null,function*(){return t})}var Zh=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=fe({token:t,factory:()=>$(Oj),providedIn:"root"})}return t})(),Oj=(()=>{class t{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,r){return e}static \u0275fac=function(r){return new(r||t)};static \u0275prov=fe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),zy=new Ie(""),Gy=new Ie("");function cT(t,n,e){let r=t.get(Gy),i=t.get(zt);
15if(!i.startViewTransition||r.skipNextTransition)return r.skipNextTransition=!1,new Promise(u=>setTimeout(u));let o,s=new Promise(u=>{o=u}),a=i.startViewTransition(()=>(o(),Fj(t)));a.updateCallbackDone.catch(u=>{}),a.ready.catch(u=>{}),a.finished.catch(u=>{});let{onViewTransitionCreated:l}=r;return l&&Mn(t,()=>l({transition:a,from:n,to:e})),s}function Fj(t){return new Promise(n=>{ja({read:()=>setTimeout(n)},{injector:t})})}var Pj=()=>{},Wy=new Ie(""),Kh=(()=>{class t{currentNavigation=Ht(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=Ht(null);events=new yn;transitionAbortWithErrorSubject=new yn;configLoader=$(qh);environmentInjector=$(cn);destroyRef=$(Mr);urlSerializer=$(Ko);rootContexts=$(Ys);location=$(Go);inputBindingEnabled=$(su,{optional:!0})!==null;titleStrategy=$($y);options=$(Qo,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=$(Zh);createViewTransition=$(zy,{optional:!0});navigationErrorHandler=$(Wy,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>lt(void 0);rootComponentType=null;destroyed=!1;constructor(){let e=i=>this.events.next(new Ph(i)),r=i=>this.events.next(new Lh(i));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=e,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(e){let r=++this.navigationId;Ft(()=>{this.transitions?.next(Ze(ae({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id:r,routesRecognizeHandler:{},beforeActivateHandler:{}}))})}setupNavigations(e){return this.transitions=new Tn(null),this.transitions.pipe(Sr(r=>r!==null),dr(r=>{let i=!1,o=new AbortController,s=()=>!i&&this.currentTransition?.id===r.id;return lt(r).pipe(dr(a=>{if(this.navigationId>r.id)return this.cancelNavigationTransition(r,"",Qn.SupersededByNewNavigation),Ln;this.currentTransition=r;let l=this.lastSuccessfulNavigation();this.currentNavigation.set({id:a.id,initialUrl:a.rawUrl,extractedUrl:a.extractedUrl,targetBrowserUrl:typeof a.extras.browserUrl=="string"?this.urlSerializer.parse(a.extras.browserUrl):a.extras.browserUrl,trigger:a.source,extras:a.extras,previousNavigation:l?Ze(ae({},l),{previousNavigation:null}):null,abort:()=>o.abort(),routesRecognizeHandler:a.routesRecognizeHandler,beforeActivateHandler:a.beforeActivateHandler});let u=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),f=a.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!u&&f!=="reload")return this.events.next(new Yi(a.id,this.urlSerializer.serialize(a.rawUrl),"",Qa.IgnoredSameUrlNavigation)),a.resolve(!1),Ln;if(this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return lt(a).pipe(dr(h=>(this.events.next(new Zo(h.id,this.urlSerializer.serialize(h.extractedUrl),h.source,h.restoredState)),h.id!==this.navigationId?Ln:Promise.resolve(h))),Mj(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy,o.signal),Ur(h=>{r.targetSnapshot=h.targetSnapshot,r.urlAfterRedirects=h.urlAfterRedirects,this.currentNavigation.update(m=>(m.finalUrl=h.urlAfterRedirects,m)),this.events.next(new Xc)}),dr(h=>Xt(r.routesRecognizeHandler.deferredHandle??lt(void 0)).pipe(_t(()=>h))),Ur(()=>{let h=new Jc(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(h)}));if(u&&this.urlHandlingStrategy.shouldProcessUrl(a.currentRawUrl)){let{id:h,extractedUrl:m,source:v,restoredState:y,extras:w}=a,C=new Zo(h,this.urlSerializer.serialize(m),v,y);this.events.next(C);let S=zS(this.rootComponentType,this.environmentInjector).snapshot;return this.currentTransition=r=Ze(ae({},a),{targetSnapshot:S,urlAfterRedirects:m,extras:Ze(ae({},w),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.update(x=>(x.finalUrl=m,x)),lt(r)}else return this.events.next(new Yi(a.id,this.urlSerializer.serialize(a.extractedUrl),"",Qa.IgnoredByUrlHandlingStrategy)),a.resolve(!1),Ln}),_t(a=>{let l=new Rh(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);return this.events.next(l),this.currentTransition=r=Ze(ae({},a),{guards:z6(a.targetSnapshot,a.currentSnapshot,this.rootContexts)}),r}),tj(a=>this.events.next(a)),dr(a=>{if(r.guardsResult=a.guardsResult,a.guardsResult&&typeof a.guardsResult!="boolean")throw zh(this.urlSerializer,a.guardsResult);let l=new kh(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);if(this.events.next(l),!s())return Ln;if(!a.guardsResult)return this.cancelNavigationTransition(a,"",Qn.GuardRejected),Ln;if(a.guards.canActivateChecks.length===0)return lt(a);let u=new Oh(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);if(this.events.next(u),!s())return Ln;let f=!1;return lt(a).pipe(xj(this.paramsInheritanceStrategy),Ur({next:()=>{f=!0;let h=new Fh(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(h)},complete:()=>
15{f||this.cancelNavigationTransition(a,"",Qn.NoDataFromResolver)}}))}),SS(a=>{let l=f=>{let h=[];if(f.routeConfig?._loadedComponent)f.component=f.routeConfig?._loadedComponent;else if(f.routeConfig?.loadComponent){let m=f._environmentInjector;h.push(this.configLoader.loadComponent(m,f.routeConfig).then(v=>{f.component=v}))}for(let m of f.children)h.push(...l(m));return h},u=l(a.targetSnapshot.root);return u.length===0?lt(a):Xt(Promise.all(u).then(()=>a))}),SS(()=>this.afterPreactivation()),dr(()=>{let{currentSnapshot:a,targetSnapshot:l}=r,u=this.createViewTransition?.(this.environmentInjector,a.root,l.root);return u?Xt(u).pipe(_t(()=>r)):lt(r)}),ro(1),dr(a=>{let l=U6(e.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);this.currentTransition=r=a=Ze(ae({},a),{targetRouterState:l}),this.currentNavigation.update(f=>(f.targetRouterState=l,f)),this.events.next(new Xa);let u=r.beforeActivateHandler.deferredHandle;return u?Xt(u.then(()=>a)):lt(a)}),Ur(a=>{new ky(e.routeReuseStrategy,r.targetRouterState,r.currentRouterState,l=>this.events.next(l),this.inputBindingEnabled).activate(this.rootContexts),s()&&(i=!0,this.currentNavigation.update(l=>(l.abort=Pj,l)),this.lastSuccessfulNavigation.set(Ft(this.currentNavigation)),this.events.next(new Kr(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects))),this.titleStrategy?.updateTitle(a.targetRouterState.snapshot),a.resolve(!0))}),Vl(JS(o.signal).pipe(Sr(()=>!i&&!r.targetRouterState),Ur(()=>{this.cancelNavigationTransition(r,o.signal.reason+"",Qn.Aborted)}))),Ur({complete:()=>{i=!0}}),Vl(this.transitionAbortWithErrorSubject.pipe(Ur(a=>{throw a}))),ga(()=>{o.abort(),i||this.cancelNavigationTransition(r,"",Qn.SupersededByNewNavigation),this.currentTransition?.id===r.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),no(a=>{if(i=!0,this.destroyed)return r.resolve(!1),Ln;if(KS(a))this.events.next(new Zr(r.id,this.urlSerializer.serialize(r.extractedUrl),a.message,a.cancellationCode)),$6(a)?this.events.next(new el(a.url,a.navigationBehaviorOptions)):r.resolve(!1);else{let l=new Gs(r.id,this.urlSerializer.serialize(r.extractedUrl),a,r.targetSnapshot??void 0);try{let u=Mn(this.environmentInjector,()=>this.navigationErrorHandler?.(l));if(u instanceof nl){let{message:f,cancellationCode:h}=zh(this.urlSerializer,u);this.events.next(new Zr(r.id,this.urlSerializer.serialize(r.extractedUrl),f,h)),this.events.next(new el(u.redirectTo,u.navigationBehaviorOptions))}else throw this.events.next(l),a}catch(u){this.options.resolveNavigationPromiseOnError?r.resolve(!1):r.reject(u)}}return Ln}))}))}cancelNavigationTransition(e,r,i){let o=new Zr(e.id,this.urlSerializer.serialize(e.extractedUrl),r,i);this.events.next(o),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))),r=Ft(this.currentNavigation),i=r?.targetBrowserUrl??r?.extractedUrl;return e.toString()!==i?.toString()&&!r?.extras.skipLocationChange}static \u0275fac=function(r){return new(r||t)};static \u0275prov=fe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Lj(t){return t!==Za}var uT=new Ie("");var dT=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=fe({token:t,factory:()=>$(jj),providedIn:"root"})}return t})(),Wh=class{shouldDetach(n){return!1}store(n,e){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,e){return n.routeConfig===e.routeConfig}shouldDestroyInjector(n){return!0}},jj=(()=>{class t extends Wh{static \u0275fac=(()=>{let e;return function(i){return(e||(e=rr(t)))(i||t)}})();static \u0275prov=fe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Qh=(()=>{class t{urlSerializer=$(Ko);options=$(Qo,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=$(Go);urlHandlingStrategy=$(Zh);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new Pr;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:e,initialUrl:r,targetBrowserUrl:i}){let o=e!==void 0?this.urlHandlingStrategy.merge(e,r):r,s=i??o;return s instanceof Pr?this.urlSerializer.serialize(s):s}routerUrlState(e){return e?.targetBrowserUrl===void 0||e?.finalUrl===void 0?{}:{\u0275routerUrl:this.urlSerializer.serialize(e.finalUrl)}}commitTransition({targetRouterState:e,finalUrl:r,initialUrl:i}){r&&e?(this.currentUrlTree=r,this.rawUrlTree=this.urlHandlingStrategy.merge(r,i),this.routerState=e):this.rawUrlTree=i}routerState=zS(null,$(cn));getRouterState(){return this.routerState}_stateMemento=this.createStateMemento();get stateMemento(){return this._stateMemento}updateStateMemento(){this._stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}restoredState(){return this.location.getState()}static \u0275fac=function(r){return new(r||t)};static \u0275prov=fe({token:t,factory:()=>$(Vj),providedIn:"root"})}return t})(),Vj=(()=>{class t extends Qh{currentPageId=0;lastSuccessfulId=-1;get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(r=>{r.type==="popstate"&&setTimeout(()=>{e(r.url,r.state,"popstate",{replaceUrl:!0})})})}handleRouterEvent(e,r){e instanceof Zo?this.updateStateMemento():e instanceof Yi?this.commitTransition(r):e instanceof Jc?this.urlUpdateStrategy==="eager"&&(r.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(r),r)):e instanceof Xa?(this.commitTransition(r),this.urlUpdateStrategy==="deferred"&&!r.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(r),r)):e instanceof Zr&&!$S(e)?this.restoreHistory(r):e instanceof Gs?this.restoreHistory(r,!0):e instanceof Kr&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,r){let{extras:i,id:o}=r,{replaceUrl:s,state:a}=i;if(this.location.isCurrentPathEqualTo(e)||s){let l=this.browserPageId,u=ae(ae({},a),this.generateNgRouterState(o,l,r));this.location.replaceState(e,"",u)}else{let l=ae(ae({},a),this.generateNgRouterState(o,this.browserPageId+1,r));this.location.go(e,"",l)}}restoreHistory(e,r=!1){if(this.canceledNavigationResolution==="computed"){let i=this.browserPageId,o=this.currentPageId-i;o!==0?this.location.historyGo(o):this.getCurrentUrlTree()===e.finalUrl&&o===0&&(this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(r&&this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}resetInternalState({finalUrl:e}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,r,i){return this.canceledNavigationResolution==="computed"?ae({navigationId:e,\u0275routerPageId:r},this.routerUrlState(i)):ae({navigationId:e},this.routerUrlState(i))}static \u0275fac=(()=>{let e;return function(i){return(e||(e=rr(t)))(i||t)}})();static \u0275prov=fe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Jh(t,n){t.events.pipe(Sr(e=>e instanceof Kr||e instanceof Zr||e instanceof Gs||e instanceof Yi),_t(e=>e instanceof Kr||e instanceof Yi?0:(e instanceof Zr?e.code===Qn.Redirect||e.code===Qn.SupersededByNewNavigation:!1)?2:1),Sr(e=>e!==2),ro(1)).subscribe(()=>{n()})}var On=(()=>{class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=$(Wf);stateManager=$(Qh);options=$(Qo,{optional:!0})||{};pendingTasks=$(Pi);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=$(Kh);
15urlSerializer=$(Ko);location=$(Go);urlHandlingStrategy=$(Zh);injector=$(cn);_events=new yn;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=$(dT);injectorCleanup=$(uT,{optional:!0});onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=$(ol,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!$(su,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:e=>{}}),this.subscribeToNavigationEvents()}eventsSubscription=new Sn;subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(r=>{try{let i=this.navigationTransitions.currentTransition,o=Ft(this.navigationTransitions.currentNavigation);if(i!==null&&o!==null){if(this.stateManager.handleRouterEvent(r,o),r instanceof Zr&&r.code!==Qn.Redirect&&r.code!==Qn.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof Kr)this.navigated=!0,this.injectorCleanup?.(this.routeReuseStrategy,this.routerState,this.config);else if(r instanceof el){let s=r.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(r.url,i.currentRawUrl),l=ae({scroll:i.extras.scroll,browserUrl:i.extras.browserUrl,info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:i.extras.replaceUrl||this.urlUpdateStrategy==="eager"||Lj(i.source)},s);this.scheduleNavigation(a,Za,null,l,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}j6(r)&&this._events.next(r)}catch(i){this.navigationTransitions.transitionAbortWithErrorSubject.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),Za,this.stateManager.restoredState(),{replaceUrl:!0})}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,r,i,o)=>{this.navigateToSyncWithBrowser(e,i,r,o)})}navigateToSyncWithBrowser(e,r,i,o){let s=i?.navigationId?i:null,a=i?.\u0275routerUrl??e;if(i?.\u0275routerUrl&&(o=Ze(ae({},o),{browserUrl:e})),i){let u=ae({},i);delete u.navigationId,delete u.\u0275routerPageId,delete u.\u0275routerUrl,Object.keys(u).length!==0&&(o.state=u)}let l=this.parseUrl(a);this.scheduleNavigation(l,r,s,o).catch(u=>{this.disposed||this.injector.get(xr)(u)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return Ft(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(Hy),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription?.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0,this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(e,r={}){let{relativeTo:i,queryParams:o,fragment:s,queryParamsHandling:a,preserveFragment:l}=r,u=l?this.currentUrlTree.fragment:s,f=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":f=ae(ae({},this.currentUrlTree.queryParams),o);break;case"preserve":f=this.currentUrlTree.queryParams;break;default:f=o||null}f!==null&&(f=this.removeEmptyProps(f));let h;try{let m=i?i.snapshot:this.routerState.snapshot.root;h=VS(m)}catch(m){(typeof e[0]!="string"||e[0][0]!=="/")&&(e=[]),h=this.currentUrlTree.root}return US(h,e,f,u??null,this.urlSerializer)}navigateByUrl(e,r={skipLocationChange:!1}){let i=qo(e)?e:this.parseUrl(e),o=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(o,Za,null,r)}navigate(e,r={skipLocationChange:!1}){return Uj(e),this.navigateByUrl(this.createUrlTree(e,r),r)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch(r){return this.console.warn(si(4018,!1)),this.urlSerializer.parse("/")}}isActive(e,r){let i;if(r===!0?i=ae({},AS):r===!1?i=ae({},Sy):i=ae(ae({},Sy),r),qo(e))return _S(this.currentUrlTree,e,i);let o=this.parseUrl(e);return _S(this.currentUrlTree,o,i)}removeEmptyProps(e){return Object.entries(e).reduce((r,[i,o])=>(o!=null&&(r[i]=o),r),{})}
15scheduleNavigation(e,r,i,o,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((h,m)=>{a=h,l=m});let f=this.pendingTasks.add();return Jh(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(f))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:o,resolve:a,reject:l,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(Promise.reject.bind(Promise))}static \u0275fac=function(r){return new(r||t)};static \u0275prov=fe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Uj(t){for(let n=0;n<t.length;n++)if(t[n]==null)throw new re(4008,!1)}var Hj=(()=>{class t{router=$(On);stateManager=$(Qh);fragment=Ht("");queryParams=Ht({});path=Ht("");serializer=$(Ko);constructor(){this.updateState(),this.router.events?.subscribe(e=>{e instanceof Kr&&this.updateState()})}updateState(){let{fragment:e,root:r,queryParams:i}=this.stateManager.getCurrentUrlTree();this.fragment.set(e),this.queryParams.set(i),this.path.set(this.serializer.serialize(new Pr(r)))}static \u0275fac=function(r){return new(r||t)};static \u0275prov=fe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Xh=(()=>{class t{router;route;tabIndexAttribute;renderer;el;locationStrategy;hrefAttributeValue=$(new eh("href"),{optional:!0});reactiveHref=Ac(()=>this.isAnchorElement?this.computeHref(this._urlTree()):this.hrefAttributeValue);get href(){return Ft(this.reactiveHref)}set href(e){this.reactiveHref.set(e)}set target(e){this._target.set(e)}get target(){return Ft(this._target)}_target=Ht(void 0);set queryParams(e){this._queryParams.set(e)}get queryParams(){return Ft(this._queryParams)}_queryParams=Ht(void 0,{equal:()=>!1});set fragment(e){this._fragment.set(e)}get fragment(){return Ft(this._fragment)}_fragment=Ht(void 0);set queryParamsHandling(e){this._queryParamsHandling.set(e)}get queryParamsHandling(){return Ft(this._queryParamsHandling)}_queryParamsHandling=Ht(void 0);set state(e){this._state.set(e)}get state(){return Ft(this._state)}_state=Ht(void 0,{equal:()=>!1});set info(e){this._info.set(e)}get info(){return Ft(this._info)}_info=Ht(void 0,{equal:()=>!1});set relativeTo(e){this._relativeTo.set(e)}get relativeTo(){return Ft(this._relativeTo)}_relativeTo=Ht(void 0);set preserveFragment(e){this._preserveFragment.set(e)}get preserveFragment(){return Ft(this._preserveFragment)}_preserveFragment=Ht(!1);set skipLocationChange(e){this._skipLocationChange.set(e)}get skipLocationChange(){return Ft(this._skipLocationChange)}_skipLocationChange=Ht(!1);set replaceUrl(e){this._replaceUrl.set(e)}get replaceUrl(){return Ft(this._replaceUrl)}_replaceUrl=Ht(!1);isAnchorElement;onChanges=new yn;applicationErrorHandler=$(xr);options=$(Qo,{optional:!0});reactiveRouterState=$(Hj);constructor(e,r,i,o,s,a){this.router=e,this.route=r,this.tabIndexAttribute=i,this.renderer=o,this.el=s,this.locationStrategy=a;let l=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement=l==="a"||l==="area"||!!(typeof customElements=="object"&&customElements.get(l)?.observedAttributes?.includes?.("href"))}setTabIndexIfNotOnNativeEl(e){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){this.onChanges.next(this)}routerLinkInput=Ht(null);set routerLink(e){e==null?(this.routerLinkInput.set(null),this.setTabIndexIfNotOnNativeEl(null)):(qo(e)?this.routerLinkInput.set(e):this.routerLinkInput.set(Array.isArray(e)?e:[e]),this.setTabIndexIfNotOnNativeEl("0"))}onClick(e,r,i,o,s){let a=this._urlTree();if(a===null||this.isAnchorElement&&(e!==0||r||i||o||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)?.catch(u=>{this.applicationErrorHandler(u)}),!this.isAnchorElement}ngOnDestroy(){}applyAttributeValue(e,r){let i=this.renderer,o=this.el.nativeElement;r!==null?i.setAttribute(o,e,r):i.removeAttribute(o,e)}_urlTree=qn(()=>{this.reactiveRouterState.path(),this._preserveFragment()&&this.reactiveRouterState.fragment();let e=i=>i==="preserve"||i==="merge";(e(this._queryParamsHandling())||e(this.options?.defaultQueryParamsHandling))&&this.reactiveRouterState.queryParams();let r=this.routerLinkInput();return r===null||!this.router.createUrlTree?null:qo(r)?r:this.router.createUrlTree(r,{relativeTo:this._relativeTo()!==void 0?this._relativeTo():this.route,queryParams:this._queryParams(),fragment:this._fragment(),queryParamsHandling:this._queryParamsHandling(),preserveFragment:this._preserveFragment()})},{equal:(e,r)=>this.computeHref(e)===this.computeHref(r)});get urlTree(){return Ft(this._urlTree)}computeHref(e){return e!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(e))??"":null}static \u0275fac=function(r){return new(r||t)(pe(On),pe(Hn),vc("tabindex"),pe(Rr),pe(xn),pe(Di))};static \u0275dir=Gt({type:t,selectors:[["","routerLink",""]],hostVars:2,hostBindings:function(r,i){r&1&&Nt("click",function(s){return i.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),r&2&&Un("href",i.reactiveHref(),J0)("target",i._target())},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",zo],skipLocationChange:[2,"skipLocationChange","skipLocationChange",zo],replaceUrl:[2,"replaceUrl","replaceUrl",zo],routerLink:"routerLink"}
15,features:[kn]})}return t})();var lu=class{};var fT=(()=>{class t{router;injector;preloadingStrategy;loader;subscription;constructor(e,r,i,o){this.router=e,this.injector=r,this.preloadingStrategy=i,this.loader=o}setUpPreloading(){this.subscription=this.router.events.pipe(Sr(e=>e instanceof Kr),ko(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription?.unsubscribe()}processRoutes(e,r){let i=[];for(let o of r){o.providers&&!o._injector&&(o._injector=Va(o.providers,e,""));let s=o._injector??e;o._loadedNgModuleFactory&&!o._loadedInjector&&(o._loadedInjector=o._loadedNgModuleFactory.create(s).injector);let a=o._loadedInjector??s;(o.loadChildren&&!o._loadedRoutes&&o.canLoad===void 0||o.loadComponent&&!o._loadedComponent)&&i.push(this.preloadConfig(s,o)),(o.children||o._loadedRoutes)&&i.push(this.processRoutes(a,o.children??o._loadedRoutes))}return Xt(i).pipe(pa())}preloadConfig(e,r){return this.preloadingStrategy.preload(r,()=>{if(e.destroyed)return lt(null);let i;r.loadChildren&&r.canLoad===void 0?i=Xt(this.loader.loadChildren(e,r)):i=lt(null);let o=i.pipe(jn(s=>s===null?lt(void 0):(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,r._loadedNgModuleFactory=s.factory,this.processRoutes(s.injector??e,s.routes))));if(r.loadComponent&&!r._loadedComponent){let s=this.loader.loadComponent(e,r);return Xt([o,s]).pipe(pa())}else return o})}static \u0275fac=function(r){return new(r||t)(Ce(On),Ce(cn),Ce(lu),Ce(qh))};static \u0275prov=fe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),hT=new Ie(""),$j=(()=>{class t{options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource=Za;restoredId=0;store={};isHydrating=$(G0,{optional:!0})??!1;urlSerializer=$(Ko);zone=$(Dt);viewportScroller=$(ty);transitions=$(Kh);constructor(e){this.options=e,this.options.scrollPositionRestoration||="disabled",this.options.anchorScrolling||="disabled",this.isHydrating&&$(ir).whenStable().then(()=>{this.isHydrating=!1})}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof Zo?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof Kr?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof Yi&&e.code===Qa.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{if(!(e instanceof Ja)||e.scrollBehavior==="manual")return;let r={behavior:"instant"};e.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0],r):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(e.position,r):e.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(e.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0])})}scheduleScrollEvent(e,r){if(this.isHydrating)return;let i=Ft(this.transitions.currentNavigation)?.extras.scroll;this.zone.runOutsideAngular(()=>Tt(this,null,function*(){yield new Promise(o=>{setTimeout(o),typeof requestAnimationFrame<"u"&&requestAnimationFrame(o)}),this.zone.run(()=>{this.transitions.events.next(new Ja(e,this.lastSource==="popstate"?this.store[this.restoredId]:null,r,i))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(r){pv()};static \u0275prov=fe({token:t,factory:t.\u0275fac})}return t})();function zj(){return $(On).routerState.root}function cu(t,n){return{\u0275kind:t,\u0275providers:n}}function Gj(){let t=$(un);return n=>{let e=t.get(ir);if(n!==e.components[0])return;let r=t.get(On),i=t.get(pT);t.get(qy)===1&&r.initialNavigation(),t.get(vT,null,{optional:!0})?.setUpPreloading(),t.get(hT,null,{optional:!0})?.init(),r.resetRootComponentType(e.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var pT=new Ie("",{factory:()=>new yn}),qy=new Ie("",{factory:()=>1});function mT(){let t=[{provide:Rf,useValue:!0},{provide:qy,useValue:0},Zf(()=>{let n=$(un);return n.get($v,Promise.resolve()).then(()=>new Promise(r=>{let i=n.get(On),o=n.get(pT);Jh(i,()=>{r(!0)}),n.get(Kh).afterPreactivation=()=>(r(!0),o.closed?lt(void 0):o),i.initialNavigation()}))})];return cu(2,t)}function gT(){let t=[Zf(()=>{$(On).setUpLocationChangeListener()}),{provide:qy,useValue:2}];return cu(3,t)}var vT=new Ie("");function yT(t){return cu(0,[{provide:vT,useExisting:fT},{provide:lu,useExisting:t}])}function _T(){return cu(8,[Uy,{provide:su,useExisting:Uy}])}function DT(t){gr("NgRouterViewTransitions");let n=[{provide:zy,useValue:cT},{provide:Gy,useValue:ae({skipNextTransition:!!t?.skipInitialTransition},t)}];return cu(9,n)}var ET=[Go,{provide:Ko,useClass:wo},On,Ys,{provide:Hn,useFactory:zj},qh,[]],ep=(()=>{class t{constructor(){}static forRoot(e,r){return{ngModule:t,providers:[ET,[],{provide:ol,multi:!0,useValue:e},[],r?.errorHandler?{provide:Wy,useValue:r.errorHandler}:[],{provide:Qo,useValue:r||{}},r?.useHash?Yj():qj(),Wj(),r?.preloadingStrategy?yT(r.preloadingStrategy).\u0275providers:[],r?.initialNavigation?Zj(r):[],r?.bindToComponentInputs?_T().\u0275providers:[],r?.enableViewTransitions?DT().\u0275providers:[],Kj()]}}static forChild(e){return{ngModule:t,providers:[{provide:ol,multi:!0,useValue:e}]}}static \u0275fac=function(r){return new(r||t)};static \u0275mod=Ot({type:t});static \u0275inj=xt({})}return t})();function Wj(){return{provide:hT,useFactory:()=>{let t=$(ty),n=$(Qo);return n.scrollOffset&&t.setOffset(n.scrollOffset),new $j(n)}}}function Yj(){return{provide:Di,useClass:Kv}}function qj(){return{provide:Di,useClass:oh}}function Zj(t){return[t.initialNavigation==="disabled"?gT().\u0275providers:[],t.initialNavigation==="enabledBlocking"?mT().\u0275providers:[]]}var Yy=new Ie("");function Kj(){return[{provide:Yy,useFactory:Gj},{provide:Kf,multi:!0,useExisting:Yy}]}var Rt={production:!0,localhost:!1,apiUrl:"https://training.ipa.edu.sa/api/",portalApiUrl:"https://www.ipa.edu.sa/",siteUrl:""};var xT=(()=>{class t{_renderer;_elementRef;onChange=e=>{};onTouched=()=>{};constructor(e,r){this._renderer=e,this._elementRef=r}setProperty(e,r){this._renderer.setProperty(this._elementRef.nativeElement,e,r)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}static \u0275fac=function(r){return new(r||t)(pe(Rr),pe(xn))};static \u0275dir=Gt({type:t})}return t})(),Ky=(()=>{class t extends xT{static \u0275fac=(()=>{let e;return function(i){return(e||(e=rr(t)))(i||t)}})();static \u0275dir=Gt({type:t,features:[Cn]})}return t})(),vu=new Ie(""),Qj={provide:vu,useExisting:fr(()=>Qy),multi:!0},Qy=(()=>{class t extends Ky{writeValue(e){this.setProperty("checked",e)}static \u0275fac=(()=>{let e;return function(i){return(e||(e=rr(t)))(i||t)}})();static \u0275dir=Gt({type:t,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(r,i){r&1&&Nt("change",function(s){return i.onChange(s.target.checked)})("blur",function(){return i.onTouched()})},standalone:!1,features:[vr([Qj]),Cn]})}return t})(),Jj={provide:vu,useExisting:fr(()=>cl),multi:!0};function Xj(){let t=Or()?Or().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var eV=new Ie(""),cl=(()=>{class t extends xT{_compositionMode;_composing=!1;constructor(e,r,i){super(e,r),this._compositionMode=i,this._compositionMode==null&&(this._compositionMode=!Xj())}writeValue(e){let r=e??"";this.setProperty("value",r)}_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(r){return new(r||t)(pe(Rr),pe(xn),pe(eV,8))};static \u0275dir=Gt({type:t,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(r,i){r&1&&Nt("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:[vr([Jj]),Cn]})}return t})();function Jy(t){return t==null||Xy(t)===0}function Xy(t){return t==null?null:Array.isArray(t)||typeof t=="string"?t.length:t instanceof Set?t.size:null}var ul=new Ie(""),hp=new Ie(""),tV=/^(?=.{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])?)*$/,mu=class{static min(n){return nV(n)}static max(n){return rV(n)}static required(n){return AT(n)}static requiredTrue(n){return iV(n)}static email(n){return oV(n)}static minLength(n){return sV(n)}static maxLength(n){return aV(n)}static pattern(n){return NT(n)}static nullValidator(n){return np()}static compose(n){return LT(n)}static composeAsync(n){return jT(n)}};function nV(t){return n=>{if(n.value==null||t==null)return null;let e=parseFloat(n.value);return!isNaN(e)&&e<t?{min:{min:t,actual:n.value}}:null}}function rV(t){return n=>{if(n.value==null||t==null)return null;let e=parseFloat(n.value);return!isNaN(e)&&e>t?{max:{max:t,actual:n.value}}:null}}function AT(t){return Jy(t.value)?{required:!0}:null}function iV(t){return t.value===!0?null:{required:!0}}function oV(t){return Jy(t.value)||tV.test(t.value)?null:{email:!0}}function sV(t){return n=>{let e=n.value?.length??Xy(n.value);return e===null||e===0?null:e<t?{minlength:{requiredLength:t,actualLength:e}}:null}}function aV(t){return n=>{let e=n.value?.length??Xy(n.value);return e!==null&&e>t?{maxlength:{requiredLength:t,actualLength:e}}:null}}function NT(t){if(!t)return np;let n,e;return typeof t=="string"?(e="",t.charAt(0)!=="^"&&(e+="^"),e+=t,t.charAt(t.length-1)!=="$"&&(e+="$"),n=new RegExp(e)):(e=t.toString(),n=t),r=>{if(Jy(r.value))return null;let i=r.value;return n.test(i)?null:{pattern:{requiredPattern:e,actualValue:i}}}}function np(t){return null}function RT(t){return t!=null}function kT(t){return Ho(t)?Xt(t):t}function OT(t){let n={};
vendor: 6,504 bytes, line 15
15return t.forEach(e=>{n=e!=null?ae(ae({},n),e):n}),Object.keys(n).length===0?null:n}function FT(t,n){return n.map(e=>e(t))}function lV(t){return!t.validate}function PT(t){return t.map(n=>lV(n)?n:e=>n.validate(e))}function LT(t){if(!t)return null;let n=t.filter(RT);return n.length==0?null:function(e){return OT(FT(e,n))}}function e_(t){return t!=null?LT(PT(t)):null}function jT(t){if(!t)return null;let n=t.filter(RT);return n.length==0?null:function(e){let r=FT(e,n).map(kT);return Pm(r).pipe(_t(OT))}}function t_(t){return t!=null?jT(PT(t)):null}function CT(t,n){return t===null?[n]:Array.isArray(t)?[...t,n]:[t,n]}function VT(t){return t._rawValidators}function UT(t){return t._rawAsyncValidators}function Zy(t){return t?Array.isArray(t)?t:[t]:[]}function rp(t,n){return Array.isArray(t)?t.includes(n):t===n}function bT(t,n){let e=Zy(n);return Zy(t).forEach(i=>{rp(e,i)||e.push(i)}),e}function wT(t,n){return Zy(n).filter(e=>!rp(t,e))}var ip=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=e_(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=t_(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?.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}},So=class extends ip{name;get formDirective(){return null}get path(){return null}},Jo=class extends ip{_parent=null;name=null;valueAccessor=null},op=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}};var pp=(()=>{class t extends op{constructor(e){super(e)}static \u0275fac=function(r){return new(r||t)(pe(Jo,2))};static \u0275dir=Gt({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,i){r&2&&vo("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:[Cn]})}return t})(),mp=(()=>{class t extends op{constructor(e){super(e)}static \u0275fac=function(r){return new(r||t)(pe(So,10))};static \u0275dir=Gt({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["","formArray",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(r,i){r&2&&vo("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)("ng-submitted",i.isSubmitted)},standalone:!1,features:[Cn]})}return t})();var uu="VALID",tp="INVALID",al="PENDING",du="DISABLED",Xo=class{},sp=class extends Xo{value;source;constructor(n,e){super(),this.value=n,this.source=e}},hu=class extends Xo{pristine;source;constructor(n,e){super(),this.pristine=n,this.source=e}},pu=class extends Xo{touched;source;constructor(n,e){super(),this.touched=n,this.source=e}},ll=class extends Xo{status;source;constructor(n,e){super(),this.status=n,this.source=e}},ap=class extends Xo{source;constructor(n){super(),this.source=n}},lp=class extends Xo{source;constructor(n){super(),this.source=n}};function BT(t){return(gp(t)?t.validators:t)||null}function cV(t){return Array.isArray(t)?e_(t):t||null}function HT(t,n){return(gp(n)?n.asyncValidators:t)||null}function uV(t){return Array.isArray(t)?t_(t):t||null}function gp(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function dV(t,n,e){let r=t.controls;if(!(n?Object.keys(r):r).length)throw new re(1e3,"");if(!r[e])throw new re(1001,"")}function fV(t,n,e){t._forEachChild((r,i)=>{if(e[i]===void 0)throw new re(-1002,"")})}var cp=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 Ft(this.statusReactive)}set status(n){Ft(()=>this.statusReactive.set(n))}_status=qn(()=>this.statusReactive());statusReactive=Ht(void 0);get valid(){return this.status===uu}get invalid(){return this.status===tp}get pending(){return this.status===al}get disabled(){return this.status===du}get enabled(){return this.status!==du}errors;get pristine(){return Ft(this.pristineReactive)}set pristine(n){Ft(()=>this.pristineReactive.set(n))}
15_pristine=qn(()=>this.pristineReactive());pristineReactive=Ht(!0);get dirty(){return!this.pristine}get touched(){return Ft(this.touchedReactive)}set touched(n){Ft(()=>this.touchedReactive.set(n))}_touched=qn(()=>this.touchedReactive());touchedReactive=Ht(!1);get untouched(){return!this.touched}_events=new yn;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(bT(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(bT(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(wT(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(wT(n,this._rawAsyncValidators))}hasValidator(n){return rp(this._rawValidators,n)}hasAsyncValidator(n){return rp(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){let e=this.touched===!1;this.touched=!0;let r=n.sourceControl??this;n.onlySelf||this._parent?.markAsTouched(Ze(ae({},n),{sourceControl:r})),e&&n.emitEvent!==!1&&this._events.next(new pu(!0,r))}markAllAsDirty(n={}){this.markAsDirty({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsDirty(n))}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 r=n.sourceControl??this;this._forEachChild(i=>{i.markAsUntouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:r})}),n.onlySelf||this._parent?._updateTouched(n,r),e&&n.emitEvent!==!1&&this._events.next(new pu(!1,r))}markAsDirty(n={}){let e=this.pristine===!0;this.pristine=!1;let r=n.sourceControl??this;n.onlySelf||this._parent?.markAsDirty(Ze(ae({},n),{sourceControl:r})),e&&n.emitEvent!==!1&&this._events.next(new hu(!1,r))}markAsPristine(n={}){let e=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let r=n.sourceControl??this;this._forEachChild(i=>{i.markAsPristine({onlySelf:!0,emitEvent:n.emitEvent})}),n.onlySelf||this._parent?._updatePristine(n,r),e&&n.emitEvent!==!1&&this._events.next(new hu(!0,r))}markAsPending(n={}){this.status=al;let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new ll(this.status,e)),this.statusChanges.emit(this.status)),n.onlySelf||this._parent?.markAsPending(Ze(ae({},n),{sourceControl:e}))}disable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=du,this.errors=null,this._forEachChild(i=>{i.disable(Ze(ae({},n),{onlySelf:!0}))}),this._updateValue();let r=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new sp(this.value,r)),this._events.next(new ll(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Ze(ae({},n),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(i=>i(!0))}enable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=uu,this._forEachChild(r=>{r.enable(Ze(ae({},n),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors(Ze(ae({},n),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(n,e){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 r=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===uu||this.status===al)&&this._runAsyncValidator(r,n.emitEvent)}let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new sp(this.value,e)),this._events.next(new ll(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),n.onlySelf||this._parent?.updateValueAndValidity(Ze(ae({},n),{sourceControl:e}))}_updateTreeValidity(n={emitEvent:!0}
vendor: 4,129 bytes, line 15
15){this._forEachChild(e=>e._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?du:uu}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n,e){if(this.asyncValidator){this.status=al,this._hasOwnPendingAsyncValidator={emitEvent:e!==!1,shouldHaveEmitted:n!==!1};let r=kT(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(i=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(i,{emitEvent:e,shouldHaveEmitted:n})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let n=(this._hasOwnPendingAsyncValidator?.emitEvent||this._hasOwnPendingAsyncValidator?.shouldHaveEmitted)??!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((r,i)=>r&&r._find(i),this)}getError(n,e){let r=e?this.get(e):this;return r?.errors?r.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,r){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),(n||r)&&this._events.next(new ll(this.status,e)),this._parent&&this._parent._updateControlsErrors(n,e,r)}_initObservables(){this.valueChanges=new Ge,this.statusChanges=new Ge}_calculateStatus(){return this._allControlsDisabled()?du:this.errors?tp:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(al)?al:this._anyControlsHaveStatus(tp)?tp:uu}_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 r=!this._anyControlsDirty(),i=this.pristine!==r;this.pristine=r,n.onlySelf||this._parent?._updatePristine(n,e),i&&this._events.next(new hu(this.pristine,e))}_updateTouched(n={},e){this.touched=this._anyControlsTouched(),this._events.next(new pu(this.touched,e)),n.onlySelf||this._parent?._updateTouched(n,e)}_onDisabledChange=[];_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){gp(n)&&n.updateOn!=null&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!!this._parent?.dirty&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=cV(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=uV(this._rawAsyncValidators)}},gu=class extends cp{constructor(n,e,r){super(BT(e),HT(r,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,r={}){this.registerControl(n,e),this.updateValueAndValidity({emitEvent:r.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,r={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],e&&this.registerControl(n,e),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,e={}){fV(this,!0,n),Object.keys(n).forEach(r=>{dV(this,!0,r),this.controls[r].setValue(n[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(n,e={}){n!=null&&(Object.keys(n).forEach(r=>{let i=this.controls[r];i&&i.patchValue(n[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(n={},e={}
15){this._forEachChild((r,i)=>{r.reset(n?n[i]:null,Ze(ae({},e),{onlySelf:!0}))}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e),e?.emitEvent!==!1&&this._events.next(new lp(this))}getRawValue(){return this._reduceChildren({},(n,e,r)=>(n[r]=e.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(e,r)=>r._syncPendingControls()?!0:e);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(e=>{let r=this.controls[e];r&&n(r,e)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(let[e,r]of Object.entries(this.controls))if(this.contains(e)&&n(r))return!0;return!1}_reduceValue(){let n={};return this._reduceChildren(n,(e,r,i)=>((r.enabled||this.disabled)&&(e[i]=r.value),e))}_reduceChildren(n,e){let r=n;return this._forEachChild((i,o)=>{r=e(r,i,o)}),r}_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 n_=gu;var dl=new Ie("",{factory:()=>yu}),yu="always";function $T(t,n){return[...n.path,t]}function up(t,n,e=yu){r_(t,n),n.valueAccessor.writeValue(t.value),(t.disabled||e==="always")&&n.valueAccessor.setDisabledState?.(t.disabled),pV(t,n),gV(t,n),mV(t,n),hV(t,n)}function ST(t,n,e=!0){let r=()=>{};n?.valueAccessor?.registerOnChange(r),n?.valueAccessor?.registerOnTouched(r),fp(t,n),t&&(n._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function dp(t,n){t.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(n)})}function hV(t,n){if(n.valueAccessor.setDisabledState){let e=r=>{n.valueAccessor.setDisabledState(r)};t.registerOnDisabledChange(e),n._registerOnDestroy(()=>{t._unregisterOnDisabledChange(e)})}}function r_(t,n){let e=VT(t);n.validator!==null?t.setValidators(CT(e,n.validator)):typeof e=="function"&&t.setValidators([e]);let r=UT(t);n.asyncValidator!==null?t.setAsyncValidators(CT(r,n.asyncValidator)):typeof r=="function"&&t.setAsyncValidators([r]);let i=()=>t.updateValueAndValidity();dp(n._rawValidators,i),dp(n._rawAsyncValidators,i)}function fp(t,n){let e=!1;if(t!==null){if(n.validator!==null){let i=VT(t);if(Array.isArray(i)&&i.length>0){let o=i.filter(s=>s!==n.validator);o.length!==i.length&&(e=!0,t.setValidators(o))}}if(n.asyncValidator!==null){let i=UT(t);if(Array.isArray(i)&&i.length>0){let o=i.filter(s=>s!==n.asyncValidator);o.length!==i.length&&(e=!0,t.setAsyncValidators(o))}}}let r=()=>{};return dp(n._rawValidators,r),dp(n._rawAsyncValidators,r),e}function pV(t,n){n.valueAccessor.registerOnChange(e=>{t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&zT(t,n)})}function mV(t,n){n.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&zT(t,n),t.updateOn!=="submit"&&t.markAsTouched()})}function zT(t,n){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function gV(t,n){let e=(r,i)=>{n.valueAccessor.writeValue(r),i&&n.viewToModelUpdate(r)};t.registerOnChange(e),n._registerOnDestroy(()=>{t._unregisterOnChange(e)})}function GT(t,n){t==null,r_(t,n)}function vV(t,n){return fp(t,n)}function WT(t,n){if(!t.hasOwnProperty("model"))return!1;let e=t.model;return e.isFirstChange()?!0:!Object.is(n,e.currentValue)}function yV(t){return Object.getPrototypeOf(t.constructor)===Ky}
15function YT(t,n){t._syncPendingControls(),n.forEach(e=>{let r=e.control;r.updateOn==="submit"&&r._pendingChange&&(e.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}function qT(t,n){if(!n)return null;Array.isArray(n);let e,r,i;return n.forEach(o=>{o.constructor===cl?e=o:yV(o)?r=o:i=o}),i||r||e||null}function _V(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}var DV={provide:So,useExisting:fr(()=>i_)},fu=Promise.resolve(),i_=(()=>{class t extends So{callSetDisabledState;get submitted(){return Ft(this.submittedReactive)}_submitted=qn(()=>this.submittedReactive());submittedReactive=Ht(!1);_directives=new Set;form;ngSubmit=new Ge;options;constructor(e,r,i){super(),this.callSetDisabledState=i,this.form=new gu({},e_(e),t_(r))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){fu.then(()=>{let r=this._findContainer(e.path);e.control=r.registerControl(e.name,e.control),up(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}
vendor: 5,635 bytes, line 15
15removeControl(e){fu.then(()=>{this._findContainer(e.path)?.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){fu.then(()=>{let r=this._findContainer(e.path),i=new gu({});GT(i,e),r.registerControl(e.name,i),i.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){fu.then(()=>{this._findContainer(e.path)?.removeControl?.(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,r){fu.then(()=>{this.form.get(e.path).setValue(r)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submittedReactive.set(!0),YT(this.form,this._directives),this.ngSubmit.emit(e),this.form._events.next(new ap(this.control)),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(r){return new(r||t)(pe(ul,10),pe(hp,10),pe(dl,8))};static \u0275dir=Gt({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup","",3,"formArray",""],["ng-form"],["","ngForm",""]],hostBindings:function(r,i){r&1&&Nt("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:[vr([DV]),Cn]})}return t})();function TT(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}function IT(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var o_=class extends cp{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(n=null,e,r){super(BT(e),HT(r,e)),this._applyFormState(n),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),gp(e)&&(e.nonNullable||e.initialValueIsDefault)&&(IT(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(r=>r(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),e.overwriteDefaultValue&&(this.defaultValue=this.value),this._pendingChange=!1,e?.emitEvent!==!1&&this._events.next(new lp(this))}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){TT(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){TT(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){IT(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}},vp=o_,EV=t=>t instanceof o_;var CV={provide:Jo,useExisting:fr(()=>s_)},MT=Promise.resolve(),s_=(()=>{class t extends Jo{_changeDetectorRef;callSetDisabledState;control=new o_;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new Ge;constructor(e,r,i,o,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this._parent=e,this._setValidators(r),this._setAsyncValidators(i),this.valueAccessor=qT(this,o)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){let r=e.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),WT(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){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(){up(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._checkName()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(e){MT.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){let r=e.isDisabled.currentValue,i=r!==0&&zo(r);MT.then(()=>{i&&!this.control.disabled?this.control.disable():!i&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?$T(e,this._parent):[e]}static \u0275fac=function(r){return new(r||t)(pe(So,9),pe(ul,10),pe(hp,10),pe(vu,10),pe(_o,8),pe(dl,8))};static \u0275dir=Gt({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"}
15,exportAs:["ngModel"],standalone:!1,features:[vr([CV]),Cn,kn]})}return t})();var yp=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275dir=Gt({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1})}return t})();var bV={provide:vu,useExisting:fr(()=>a_),multi:!0};var wV=(()=>{class t{_accessors=[];add(e,r){this._accessors.push([e,r])}remove(e){for(let r=this._accessors.length-1;r>=0;--r)if(this._accessors[r][1]===e){this._accessors.splice(r,1);return}}select(e){this._accessors.forEach(r=>{this._isSameGroup(r,e)&&r[1]!==e&&r[1].fireUncheck(e.value)})}_isSameGroup(e,r){return e[0].control?e[0]._parent===r._control._parent&&e[1].name===r.name:!1}static \u0275fac=function(r){return new(r||t)};static \u0275prov=fe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),a_=(()=>{class t extends Ky{_registry;_injector;_state;_control;_fn;setDisabledStateFired=!1;onChange=()=>{};name;formControlName;value;callSetDisabledState=$(dl,{optional:!0})??yu;constructor(e,r,i,o){super(e,r),this._registry=i,this._injector=o}ngOnInit(){this._control=this._injector.get(Jo),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(e){this._state=e===this.value,this.setProperty("checked",this._state)}registerOnChange(e){this._fn=e,this.onChange=()=>{e(this.value),this._registry.select(this)}}setDisabledState(e){(this.setDisabledStateFired||e||this.callSetDisabledState==="whenDisabledForLegacyCode")&&this.setProperty("disabled",e),this.setDisabledStateFired=!0}fireUncheck(e){this.writeValue(e)}_checkName(){this.name&&this.formControlName&&(this.name,this.formControlName),!this.name&&this.formControlName&&(this.name=this.formControlName)}static \u0275fac=function(r){return new(r||t)(pe(Rr),pe(xn),pe(wV),pe(un))};static \u0275dir=Gt({type:t,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(r,i){r&1&&Nt("change",function(){return i.onChange()})("blur",function(){return i.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},standalone:!1,features:[vr([bV]),Cn]})}return t})();var SV=(()=>{class t extends So{callSetDisabledState;get submitted(){return Ft(this._submittedReactive)}set submitted(e){this._submittedReactive.set(e)}_submitted=qn(()=>this._submittedReactive());_submittedReactive=Ht(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];constructor(e,r,i){super(),this.callSetDisabledState=i,this._setValidators(e),this._setAsyncValidators(r)}ngOnChanges(e){this.onChanges(e)}ngOnDestroy(){this.onDestroy()}onChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}onDestroy(){this.form&&(fp(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get path(){return[]}addControl(e){let r=this.form.get(e.path);return up(r,e,this.callSetDisabledState),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),r}getControl(e){return this.form.get(e.path)}
15removeControl(e){ST(e.control||null,e,!1),_V(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}getFormArray(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}updateModel(e,r){this.form.get(e.path).setValue(r)}onReset(){this.resetForm()}resetForm(e=void 0,r={}){this.form.reset(e,r),this._submittedReactive.set(!1)}onSubmit(e){return this.submitted=!0,YT(this.form,this.directives),this.ngSubmit.emit(e),this.form._events.next(new ap(this.control)),e?.target?.method==="dialog"}_updateDomValue(){this.directives.forEach(e=>{let r=e.control,i=this.form.get(e.path);r!==i&&(ST(r||null,e),EV(i)&&(up(i,e,this.callSetDisabledState),e.control=i))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){let r=this.form.get(e.path);GT(r,e),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){let r=this.form?.get(e.path);r&&vV(r,e)&&r.updateValueAndValidity({emitEvent:!1})}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm?._registerOnCollectionChange(()=>{})}_updateValidators(){r_(this.form,this),this._oldForm&&fp(this._oldForm,this)}_checkFormPresent(){this.form}static \u0275fac=function(r){return new(r||t)(pe(ul,10),pe(hp,10),pe(dl,8))};static \u0275dir=Gt({type:t,features:[Cn,kn]})}return t})();var ZT=new Ie("");var TV={provide:Jo,useExisting:fr(()=>l_)},l_=(()=>{class t extends Jo{_ngModelWarningConfig;_added=!1;viewModel;control;name=null;set isDisabled(e){}model;update=new Ge;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(e,r,i,o,s){super(),this._ngModelWarningConfig=s,this._parent=e,this._setValidators(r),this._setAsyncValidators(i),this.valueAccessor=qT(this,o)}ngOnChanges(e){this._added||this._setUpControl(),WT(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective?.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return $T(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_setUpControl(){this.control=this.formDirective.addControl(this),this._added=!0}static \u0275fac=function(r){return new(r||t)(pe(So,13),pe(ul,10),pe(hp,10),pe(vu,10),pe(ZT,8))};static \u0275dir=Gt({type:t,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},standalone:!1,features:[vr([TV]),Cn,kn]})}return t})();var IV={provide:So,useExisting:fr(()=>c_)},c_=(()=>{class t extends SV{form=null;ngSubmit=new Ge;get control(){return this.form}static \u0275fac=(()=>{let e;return function(i){return(e||(e=rr(t)))(i||t)}})();static \u0275dir=Gt({type:t,selectors:[["","formGroup",""]],hostBindings:function(r,i){r&1&&Nt("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:[vr([IV]),Cn]})}return t})();var KT=(()=>{class t{_validator=np;_onChange;_enabled;ngOnChanges(e){if(this.inputName in e){let r=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(r),this._validator=this._enabled?this.createValidator(r):np,this._onChange?.()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return e!=null}static \u0275fac=function(r){return new(r||t)};static \u0275dir=Gt({type:t,features:[kn]})}return t})();var MV={provide:ul,useExisting:fr(()=>_u),multi:!0};var _u=(()=>{class t extends KT{required;inputName="required";normalizeInput=zo;createValidator=e=>AT;enabled(e){return e}static \u0275fac=(()=>{let e;return function(i){return(e||(e=rr(t)))(i||t)}})();static \u0275dir=Gt({type:t,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(r,i){r&2&&Un("required",i._enabled?"":null)},inputs:{required:"required"},standalone:!1,features:[vr([MV]),Cn]})}return t})();var xV={provide:ul,useExisting:fr(()=>u_),multi:!0},u_=(()=>{class t extends KT{pattern;inputName="pattern";normalizeInput=e=>e;createValidator=e=>NT(e);static \u0275fac=(()=>{let e;return function(i){return(e||(e=rr(t)))(i||t)}})();static \u0275dir=Gt({type:t,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(r,i){r&2&&Un("pattern",
vendor: 9,630 bytes, lines 15-17
15i._enabled?i.pattern:null)},inputs:{pattern:"pattern"},standalone:!1,features:[vr([xV]),Cn]})}return t})();var QT=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=Ot({type:t});static \u0275inj=xt({})}return t})();var _p=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:dl,useValue:e.callSetDisabledState??yu}]}}static \u0275fac=function(r){return new(r||t)};static \u0275mod=Ot({type:t});static \u0275inj=xt({imports:[QT]})}return t})(),Dp=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:ZT,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:dl,useValue:e.callSetDisabledState??yu}]}}static \u0275fac=function(r){return new(r||t)};static \u0275mod=Ot({type:t});static \u0275inj=xt({imports:[QT]})}return t})();function Jt(t){return typeof t=="function"}function Ep(t){let e=t(r=>{Error.call(r),r.stack=new Error().stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}var Cp=Ep(t=>function(e){t(this),this.message=e?`${e.length} errors occurred during unsubscription:
16${e.map((r,i)=>`${i+1}) ${r.toString()}`).join(`
17  `)}`:"",this.name="UnsubscriptionError",this.errors=e});function Du(t,n){if(t){let e=t.indexOf(n);0<=e&&t.splice(e,1)}}var qi=class t{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;let{_parentage:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(let o of e)o.remove(this);else e.remove(this);let{initialTeardown:r}=this;if(Jt(r))try{r()}catch(o){n=o instanceof Cp?o.errors:[o]}let{_finalizers:i}=this;if(i){this._finalizers=null;for(let o of i)try{XT(o)}catch(s){n=n??[],s instanceof Cp?n=[...n,...s.errors]:n.push(s)}}if(n)throw new Cp(n)}}add(n){var e;if(n&&n!==this)if(this.closed)XT(n);else{if(n instanceof t){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=(e=this._finalizers)!==null&&e!==void 0?e:[]).push(n)}}_hasParent(n){let{_parentage:e}=this;return e===n||Array.isArray(e)&&e.includes(n)}_addParent(n){let{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(n),e):e?[e,n]:n}_removeParent(n){let{_parentage:e}=this;e===n?this._parentage=null:Array.isArray(e)&&Du(e,n)}remove(n){let{_finalizers:e}=this;e&&Du(e,n),n instanceof t&&n._removeParent(this)}};qi.EMPTY=(()=>{let t=new qi;return t.closed=!0,t})();var d_=qi.EMPTY;function bp(t){return t instanceof qi||t&&"closed"in t&&Jt(t.remove)&&Jt(t.add)&&Jt(t.unsubscribe)}function XT(t){Jt(t)?t():t.unsubscribe()}var bi={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var fl={setTimeout(t,n,...e){let{delegate:r}=fl;return r?.setTimeout?r.setTimeout(t,n,...e):setTimeout(t,n,...e)},clearTimeout(t){let{delegate:n}=fl;return(n?.clearTimeout||clearTimeout)(t)},delegate:void 0};function wp(t){fl.setTimeout(()=>{let{onUnhandledError:n}=bi;if(n)n(t);else throw t})}function f_(){}var eI=h_("C",void 0,void 0);function tI(t){return h_("E",void 0,t)}function nI(t){return h_("N",t,void 0)}function h_(t,n,e){return{kind:t,value:n,error:e}}var qs=null;function hl(t){if(bi.useDeprecatedSynchronousErrorHandling){let n=!qs;if(n&&(qs={errorThrown:!1,error:null}),t(),n){let{errorThrown:e,error:r}=qs;if(qs=null,e)throw r}}else t()}function rI(t){bi.useDeprecatedSynchronousErrorHandling&&qs&&(qs.errorThrown=!0,qs.error=t)}var Zs=class extends qi{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,bp(n)&&n.add(this)):this.destination=RV}static create(n,e,r){return new pl(n,e,r)}next(n){this.isStopped?m_(nI(n),this):this._next(n)}error(n){this.isStopped?m_(tI(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?m_(eI,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},AV=Function.prototype.bind;function p_(t,n){return AV.call(t,n)}var g_=class{constructor(n){this.partialObserver=n}next(n){let{partialObserver:e}=this;if(e.next)try{e.next(n)}catch(r){Sp(r)}}error(n){let{partialObserver:e}=this;if(e.error)try{e.error(n)}catch(r){Sp(r)}else Sp(n)}complete(){let{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(e){Sp(e)}}},pl=class extends Zs{constructor(n,e,r){super();let i;if(Jt(n)||!n)i={next:n??void 0,error:e??void 0,complete:r??void 0};else{let o;this&&bi.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=()=>this.unsubscribe(),i={next:n.next&&p_(n.next,o),error:n.error&&p_(n.error,o),complete:n.complete&&p_(n.complete,o)}):i=n}this.destination=new g_(i)}};function Sp(t){bi.useDeprecatedSynchronousErrorHandling?rI(t):wp(t)}function NV(t){throw t}function m_(t,n){let{onStoppedNotification:e}=bi;e&&fl.setTimeout(()=>e(t,n))}var RV={closed:!0,next:f_,error:NV,complete:f_};var ml=typeof Symbol=="function"&&Symbol.observable||"@@observable";function iI(t){return t}function oI(t){return t.length===0?iI:t.length===1?t[0]:function(e){return t.reduce((r,i)=>i(r),e)}}var ar=(()=>{class t{constructor(e){e&&(this._subscribe=e)}lift(e){let r=new t;return r.source=this,r.operator=e,r}subscribe(e,r,i){let o=OV(e)?e:new pl(e,r,i);return hl(()=>{let{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(e){try{return this._subscribe(e)}catch(r){e.error(r)}}forEach(e,r){return r=sI(r),new r((i,o)=>{let s=new pl({next:a=>{try{e(a)}catch(l){o(l),s.unsubscribe()}},error:o,complete:i});this.subscribe(s)})}_subscribe(e){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(e)}[ml](){return this}pipe(...e){return oI(e)(this)}toPromise(e){return e=sI(e),new e((r,i)=>{let o;this.subscribe(s=>o=s,s=>i(s),()=>r(o))})}}return t.create=n=>new t(n),t})();function sI(t){var n;return(n=t??bi.Promise)!==null&&n!==void 0?n:Promise}function kV(t){return t&&Jt(t.next)&&Jt(t.error)&&Jt(t.complete)}function OV(t){return t&&t instanceof Zs||kV(t)&&bp(t)}function FV(t){return Jt(t?.lift)}function aI(t){return n=>{if(FV(n))return n.lift(function(e){try{return t(e,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function lI(t,n,e,r,i){return new v_(t,n,e,r,i)}var v_=class extends Zs{constructor(n,e,r,i,o,s){super(n),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=e?function(a){try{e(a)}catch(l){n.error(l)}}:super._next,this._error=i?function(a){try{i(a)}catch(l){n.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:e}=this;super.unsubscribe(),!e&&((n=this.onFinalize)===null||n===void 0||n.call(this))}}};var cI=Ep(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var Qr=(()=>{class t extends ar{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){let r=new Tp(this,this);return r.operator=e,r}_throwIfClosed(){if(this.closed)throw new cI}next(e){hl(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(e)}})}error(e){hl(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;let{observers:r}=this;for(;r.length;)r.shift().error(e)}})}complete(){hl(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:e}=this;for(;e.length;)e.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var e;return((e=this.observers)===null||e===void 0?void 0:e.length)>0}_trySubscribe(e){return this._throwIfClosed(),super._trySubscribe(e)}_subscribe(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)}_innerSubscribe(e){let{hasError:r,isStopped:i,observers:o}=this;return r||i?d_:(this.currentObservers=null,o.push(e),new qi(()=>{this.currentObservers=null,Du(o,e)}))}_checkFinalizedStatuses(e){let{hasError:r,thrownError:i,isStopped:o}=this;r?e.error(i):o&&e.complete()}asObservable(){let e=new ar;return e.source=this,e}}return t.create=(n,e)=>new Tp(n,e),t})(),Tp=class extends Qr{constructor(n,e){super(),this.destination=n,this.source=e}next(n){var e,r;(r=(e=this.destination)===null||e===void 0?void 0:e.next)===null||r===void 0||r.call(e,n)}error(n){var e,r;(r=(e=this.destination)===null||e===void 0?void 0:e.error)===null||r===void 0||r.call(e,n)}complete(){var n,e;(e=(n=this.destination)===null||n===void 0?void 0:n.complete)===null||e===void 0||e.call(n)}_subscribe(n){var e,r;return(r=(e=this.source)===null||e===void 0?void 0:e.subscribe(n))!==null&&r!==void 0?r:d_}};var gl=class extends Qr{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){let e=super._subscribe(n);return!e.closed&&n.next(this._value),e}getValue(){let{hasError:n,thrownError:e,_value:r}=this;if(n)throw e;return this._throwIfClosed(),r}next(n){super.next(this._value=n)}};var uI=t=>t&&typeof t.length=="number"&&typeof t!="function";function dI(t){return Jt(t?.then)}function fI(t){return Jt(t[ml])}function hI(t){return Symbol.asyncIterator&&Jt(t?.[Symbol.asyncIterator])}function pI(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invali
17d object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function PV(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var mI=PV();function gI(t){return Jt(t?.[mI])}function vI(t){return sd(this,arguments,function*(){let e=t.getReader();try{for(;;){let{value:r,done:i}=yield ii(e.read());if(i)return yield ii(void 0);yield yield ii(r)}}finally{e.releaseLock()}})}function yI(t){return Jt(t?.getReader)}function _I(t){if(t instanceof ar)return t;if(t!=null){if(fI(t))return LV(t);if(uI(t))return jV(t);if(dI(t))return VV(t);if(hI(t))return DI(t);if(gI(t))return UV(t);if(yI(t))return BV(t)}throw pI(t)}function LV(t){return new ar(n=>{let e=t[ml]();if(Jt(e.subscribe))return e.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function jV(t){return new ar(n=>{for(let e=0;e<t.length&&!n.closed;e++)n.next(t[e]);n.complete()})}function VV(t){return new ar(n=>{t.then(e=>{n.closed||(n.next(e),n.complete())},e=>n.error(e)).then(null,wp)})}function UV(t){return new ar(n=>{for(let e of t)if(n.next(e),n.closed)return;n.complete()})}function DI(t){return new ar(n=>{HV(t,n).catch(e=>n.error(e))})}function BV(t){return DI(vI(t))}function HV(t,n){var e,r,i,o;return od(this,void 0,void 0,function*(){try{for(e=ad(t);r=yield e.next(),!r.done;){let s=r.value;if(n.next(s),n.closed)return}}catch(s){i={error:s}}finally{try{r&&!r.done&&(o=e.return)&&(yield o.call(e))}finally{if(i)throw i.error}}n.complete()})}function y_(t,n){let e=Jt(t)?t:()=>t,r=i=>i.error(e());return new ar(n?i=>n.schedule(r,0,i):r)}function Ip(t){return aI((n,e)=>{let r=null,i=!1,o;r=n.subscribe(lI(e,void 0,void 0,s=>{o=_I(t(s,Ip(t)(n))),r?(r.unsubscribe(),r=null,o.subscribe(e)):i=!0})),i&&(r.unsubscribe(),r=null,o.subscribe(e))})}var EI=["toast-component",""];function $V(t,n){if(t&1){let e=fn();or(0,"button",2),Ba("click",function(){Ke(e);let i=Ee();return Qe(i.remove())}),or(1,"span",3),Se(2,"\xD7"),kr()()}}function zV(t,n){if(t&1&&(Sc(0),Se(1),Jf()),t&2){let e=Ee(2);he(),yt("[",e.duplicatesCount+1,"]")}}function GV(t,n){if(t&1&&(or(0,"div"),Se(1),Ye(2,zV,2,1,"ng-container"),kr()),t&2){let e=Ee(),r=Hi(0);Bi(r.titleClass),Un("aria-label",e.title()),he(),yt(" ",e.title()," "),he(),qe(e.duplicatesCount?2:-1)}}function WV(t,n){if(t&1&&js(0,"div",6),t&2){let e=Ee(2),r=Hi(0);Bi(r.messageClass),Ua("innerHTML",e.message(),hi)}}
17function YV(t,n){if(t&1&&(or(0,"div",7),Se(1),kr()),t&2){let e=Ee(2),r=Hi(0);Bi(r.messageClass),Un("aria-label",e.message()),he(),yt(" ",e.message()," ")}}function qV(t,n){if(t&1&&Ye(0,WV,1,3,"div",4)(1,YV,2,4,"div",5),t&2){Ee();let e=Hi(0);qe(e.enableHtml?0:1)}}function ZV(t,n){if(t&1&&(or(0,"div"),js(1,"div",8),kr()),t&2){let e=Ee();he(),$o("width",e.width()+"%")}}function KV(t,n){if(t&1){let e=fn();or(0,"button",2),Ba("click",function(){Ke(e);let i=Ee();return Qe(i.remove())}),or(1,"span",3),Se(2,"\xD7"),kr()()}}function QV(t,n){if(t&1&&(Sc(0),Se(1),Jf()),t&2){let e=Ee(2);he(),yt("[",e.duplicatesCount+1,"]")}}function JV(t,n){if(t&1&&(or(0,"div"),Se(1),Ye(2,QV,2,1,"ng-container"),kr()),t&2){let e=Ee(),r=Hi(0);Bi(r.titleClass),Un("aria-label",e.title()),he(),yt(" ",e.title()," "),he(),qe(e.duplicatesCount?2:-1)}}function XV(t,n){if(t&1&&js(0,"div",6),t&2){let e=Ee(2),r=Hi(0);Bi(r.messageClass),Ua("innerHTML",e.message(),hi)}}function e4(t,n){if(t&1&&(or(0,"div",7),Se(1),kr()),t&2){let e=Ee(2),r=Hi(0);Bi(r.messageClass),Un("aria-label",e.message()),he(),yt(" ",e.message()," ")}}function t4(t,n){if(t&1&&Ye(0,XV,1,3,"div",4)(1,e4,2,4,"div",5),t&2){Ee();let e=Hi(0);qe(e.enableHtml?0:1)}}function n4(t,n){if(t&1&&(or(0,"div"),js(1,"div",8),kr()),t&2){let e=Ee();he(),$o("width",e.width()+"%")}}var Eu=class{toastId;config;message;title;toastType;toastRef;_onTap=new Qr;_onAction=new Qr;constructor(n,e,r,i,o,s){this.toastId=n,this.config=e,this.message=r,this.title=i,this.toastType=o,this.toastRef=s,this.toastRef.afterClosed().subscribe(()=>{this._onAction.complete(),this._onTap.complete()})}triggerTap(){this._onTap.next(),this.config.tapToDismiss&&this._onTap.complete()}onTap(){return this._onTap.asObservable()}triggerAction(n){this._onAction.next(n)}onAction(){return this._onAction.asObservable()}},CI={maxOpened:0,autoDismiss:!1,newestOnTop:!0,preventDuplicates:!1,countDuplicates:!1,resetTimeoutOnDuplicate:!1,includeTitleDuplicates:!1,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},closeButton:!1,disableTimeOut:!1,timeOut:5e3,extendedTimeOut:1e3,enableHtml:!1,progressBar:!1,toastClass:"ngx-toastr",positionClass:"toast-top-right",titleClass:"toast-title",messageClass:"toast-message",easing:"ease-in",easeTime:300,tapToDismiss:!0,onActivateTick:!1,progressAnimation:"decreasing"},bI=new Ie("ToastConfig"),__=class{_attachedHost;component;viewContainerRef;injector;constructor(n,e){this.component=n,this.injector=e}attach(n,e){return this._attachedHost=n,n.attach(this,e)}detach(){let n=this._attachedHost;if(n)return this._attachedHost=void 0,n.detach()}get isAttached(){return this._attachedHost!=null}setAttachedHost(n){this._attachedHost=n}},D_=class{_attachedPortal;_disposeFn;attach(n,e){return this._attachedPortal=n,this.attachComponentPortal(n,e)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(n){this._disposeFn=n}},E_=class extends D_{_hostDomElement;_appRef;constructor(n,e){super(),this._hostDomElement=n,this._appRef=e}attachComponentPortal(n,e){let r=bw(n.component,{environmentInjector:this._appRef.injector,elementInjector:n.injector});return this._appRef.attachView(r.hostView),this.setDisposeFn(()=>{this._appRef.detachView(r.hostView),r.destroy()}),e?this._hostDomElement.insertBefore(this._getComponentRootNode(r),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(r)),r}_getComponentRootNode(n){return n.hostView.rootNodes[0]}},r4=(()=>{class t{_document=$(zt);_containerElement;ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let e=this._document.createElement("div");e.classList.add("overlay-container"),e.setAttribute("aria-live","polite"),this._document.body.appendChild(e),this._containerElement=e}static \u0275fac=function(r){return new(r||t)};static \u0275prov=fe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),C_=class{_portalHost;constructor(n){this._portalHost=n}attach(n,e=!0){return this._portalHost.attach(n,e)}detach(){return this._portalHost.detach()}},i4=(()=>{class t{_overlayContainer=$(r4);_appRef=$(ir);_document=$(zt);_paneElements=new Map;create(e,r){return this._createOverlayRef(this.getPaneElement(e,r))}getPaneElement(e="",r){return this._paneElements.get(r)||this._paneElements.set(r,{}),this._paneElements.get(r)[e]||(this._paneElements.get(r)[e]=this._createPaneElement(e,r)),this._paneElements.get(r)[e]}_createPaneElement(e,r){let i=this._document.createElement("div");return i.id="toast-container",i.classList.add(e),i.classList.add("toast-container"),r?r.getContainerElement().appendChild(i):this._overlayContainer.getContainerElement().appendChild(i),i}_createPortalHost(e){return new E_(e,this._appRef)}_createOverlayRef(e){return new C_(this._createPortalHost(e))}static \u0275fac=function(r){return new(r||t)};static \u0275prov=fe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),b_=class{_overlayRef;componentInstance;duplicatesCount=0;_afterClosed=new Qr;_activate=new Qr;_manualClose=new Qr;_resetTimeout=new Qr;_countDuplicate=new Qr;constructor(n){this._overlayRef=n}manualClose(){this._manualClose.next(),this._manualClose.complete()}manualClosed(){return this._manualClose.asObservable()}timeoutReset(){return this._resetTimeout.asObservable()}countDuplicate(){return this._countDuplicate.asObservable()}close(){this._overlayRef.detach(),this._afterClosed.next(),this._manualClose.next(),this._afterClosed.complete(),this._manualClose.complete(),this._activate.complete(),this._resetTimeout.complete(),this._countDuplicate.complete()}afterClosed(){return this._afterClosed.asObservable()}isInactive(){return this._activate.closed}activate(){this._activate.next(),this._activate.complete()}afterActivate(){return this._activate.asObservable()}
17onDuplicate(n,e){n&&this._resetTimeout.next(),e&&this._countDuplicate.next(++this.duplicatesCount)}},lr=(()=>{class t{overlay=$(i4);_injector=$(un);sanitizer=$(Wc);ngZone=$(Dt);toastrConfig;currentlyActive=0;toasts=[];overlayContainer;previousToastMessage;index=0;constructor(){let e=$(bI);this.toastrConfig=ae(ae({},e.default),e.config),e.config.iconClasses&&(this.toastrConfig.iconClasses=ae(ae({},e.default.iconClasses),e.config.iconClasses))}show(e,r,i={},o=""){return this._preBuildNotification(o,e,r,this.applyConfig(i))}success(e,r,i={}){let o=this.toastrConfig.iconClasses.success||"";return this._preBuildNotification(o,e,r,this.applyConfig(i))}error(e,r,i={}){let o=this.toastrConfig.iconClasses.error||"";return this._preBuildNotification(o,e,r,this.applyConfig(i))}info(e,r,i={}){let o=this.toastrConfig.iconClasses.info||"";return this._preBuildNotification(o,e,r,this.applyConfig(i))}warning(e,r,i={}){let o=this.toastrConfig.iconClasses.warning||"";return this._preBuildNotification(o,e,r,this.applyConfig(i))}clear(e){for(let r of this.toasts)if(e!==void 0){if(r.toastId===e){r.toastRef.manualClose();return}}else r.toastRef.manualClose()}remove(e){let r=this._findToast(e);if(!r||(r.activeToast.toastRef.close(),this.toasts.splice(r.index,1),this.currentlyActive=this.currentlyActive-1,!this.toastrConfig.maxOpened||!this.toasts.length))return!1;if(this.currentlyActive<this.toastrConfig.maxOpened&&this.toasts[this.currentlyActive]){let i=this.toasts[this.currentlyActive].toastRef;i.isInactive()||(this.currentlyActive=this.currentlyActive+1,i.activate())}return!0}findDuplicate(e="",r="",i,o){let{includeTitleDuplicates:s}=this.toastrConfig;for(let a of this.toasts){let l=s&&a.title===e;if((!s||l)&&a.message===r)return a.toastRef.onDuplicate(i,o),a}return null}applyConfig(e={}){return ae(ae({},this.toastrConfig),e)}_findToast(e){for(let r=0;r<this.toasts.length;r++)if(this.toasts[r].toastId===e)return{index:r,activeToast:this.toasts[r]};return null}_preBuildNotification(e,r,i,o){return o.onActivateTick?this.ngZone.run(()=>this._buildNotification(e,r,i,o)):this._buildNotification(e,r,i,o)}_buildNotification(e,r,i,o){if(!o.toastComponent)throw new Error("toastComponent required");let s=this.findDuplicate(i,r,this.toastrConfig.resetTimeoutOnDuplicate&&o.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&i||r)&&this.toastrConfig.preventDuplicates&&s!==null)return s;this.previousToastMessage=r;let a=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(a=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));let l=this.overlay.create(o.positionClass,this.overlayContainer);this.index=this.index+1;let u=r;r&&o.enableHtml&&(u=this.sanitizer.sanitize(mr.HTML,r));let f=new b_(l),h=new Eu(this.index,o,u,i,e,f),m=[{provide:Eu,useValue:h}],v=un.create({providers:m,parent:this._injector}),y=new __(o.toastComponent,v),w=l.attach(y,o.newestOnTop);f.componentInstance=w.instance;let C={toastId:this.index,title:i||"",message:r||"",toastRef:f,onShown:f.afterActivate(),onHidden:f.afterClosed(),onTap:h.onTap(),onAction:h.onAction(),portal:w};return a||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{C.toastRef.activate()})),this.toasts.push(C),C}static \u0275fac=function(r){return new(r||t)};static \u0275prov=fe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),o4=(()=>{class t{ngZone=$(Dt);setInterval(e,r){return this.ngZone?this.ngZone.runOutsideAngular(()=>window.setInterval(()=>this.runInsideAngular(e),r)):window.setInterval(()=>e(),r)}setTimeout(e,r){return this.ngZone?this.ngZone.runOutsideAngular(()=>window.setTimeout(()=>this.runInsideAngular(e),r)):window.setTimeout(()=>e(),r)}runInsideAngular(e){this.ngZone?this.ngZone.run(()=>e()):e()}static \u0275fac=function(r){return new(r||t)};static \u0275prov=fe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),wI=(()=>{class t{toastPackage=$(Eu);toastrService=$(lr);appRef=$(ir);timeoutsService=$(o4);duplicatesCount;hideTime;width=Ht(-1);state=Ht("inactive");displayStyle=qn(()=>this.state()==="inactive"?"none":void 0);message=qn(()=>this.toastPackage.message);
17title=qn(()=>this.toastPackage.title);options=Ac(()=>this.toastPackage.config);originalTimeout=qn(()=>this.toastPackage.config.timeOut);toastClasses=qn(()=>`${this.toastPackage.toastType} ${this.toastPackage.config.toastClass}`);timeout;intervalId;afterActivateSubscription;manualClosedSubscription;timeoutResetSubscription;countDuplicateSubscription;constructor(){this.afterActivateSubscription=this.toastPackage.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.manualClosedSubscription=this.toastPackage.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.timeoutResetSubscription=this.toastPackage.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.countDuplicateSubscription=this.toastPackage.toastRef.countDuplicate().subscribe(e=>{this.duplicatesCount=e})}ngOnDestroy(){this.afterActivateSubscription.unsubscribe(),this.manualClosedSubscription.unsubscribe(),this.timeoutResetSubscription.unsubscribe(),this.countDuplicateSubscription.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){let e=this.options();this.state.set("active"),!(e.disableTimeOut===!0||e.disableTimeOut==="timeOut")&&e.timeOut&&(this.timeout=this.timeoutsService.setTimeout(()=>this.remove(),e.timeOut),this.hideTime=new Date().getTime()+e.timeOut,e.progressBar&&(this.intervalId=this.timeoutsService.setInterval(()=>this.updateProgress(),10)))}updateProgress(){let e=this.options();if(this.width()===0||this.width()===100||!e.timeOut)return;let r=new Date().getTime(),i=this.hideTime-r;this.width.set(i/e.timeOut*100),e.progressAnimation==="increasing"&&this.width.update(o=>100-o),this.width()<=0&&this.width.set(0),this.width()>=100&&this.width.set(100)}resetTimeout(){let e=this.options();clearTimeout(this.timeout),clearInterval(this.intervalId),this.state.set("active"),this.options.update(r=>Ze(ae({},r),{timeOut:this.originalTimeout()})),this.timeout=this.timeoutsService.setTimeout(()=>this.remove(),this.originalTimeout()),this.hideTime=new Date().getTime()+(this.originalTimeout()||0),this.width.set(-1),e.progressBar&&(this.intervalId=this.timeoutsService.setInterval(()=>this.updateProgress(),10))}remove(){this.state()!=="removed"&&(clearTimeout(this.timeout),this.state.set("removed"),this.timeout=this.timeoutsService.setTimeout(()=>this.toastrService.remove(this.toastPackage.toastId)))}tapToast(){this.state()!=="removed"&&(this.toastPackage.triggerTap(),this.options().tapToDismiss&&this.remove())}stickAround(){this.state()!=="removed"&&this.options().disableTimeOut!=="extendedTimeOut"&&(clearTimeout(this.timeout),this.options.update(e=>Ze(ae({},e),{timeOut:0})),this.hideTime=0,clearInterval(this.intervalId),this.width.set(0))}delayedHideToast(){let e=this.options();if(e.disableTimeOut===!0||e.disableTimeOut==="extendedTimeOut"||e.extendedTimeOut===0||this.state()==="removed")return;let r=e.extendedTimeOut;this.timeout=this.timeoutsService.setTimeout(()=>this.remove(),r),this.options.update(i=>Ze(ae({},i),{timeOut:r})),this.hideTime=new Date().getTime()+(r||0),this.width.set(-1),e.progressBar&&(this.intervalId=this.timeoutsService.setInterval(()=>this.updateProgress(),10))}static \u0275fac=function(r){return new(r||t)};static \u0275cmp=At({type:t,selectors:[["","toast-component",""]],hostVars:4,hostBindings:function(r,i){r&1&&Nt("mouseenter",function(){return i.stickAround()})("mouseleave",function(){return i.delayedHideToast()})("click",function(){return i.tapToast()}),r&2&&(Bi(i.toastClasses()),$o("display",i.displayStyle()))},attrs:EI,decls:5,vars:5,consts:[["type","button","aria-label","Close",1,"toast-close-button"],[3,"class"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"class","innerHTML"],["role","alert",3,"class"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(r,i){if(r&1&&(Mc(0),Ye(1,$V,3,0,"button",0),Ye(2,GV,3,5,"div",1),Ye(3,qV,2,1),Ye(4,ZV,2,2,"div")),r&2){let o=Xf(i.options());he(),qe(o.closeButton?1:-1),he(),qe(i.title()?2:-1),he(),qe(i.message()?3:-1),he(),qe(o.progressBar?4:-1)}},encapsulation:2,changeDetection:0})}return t})(),s4=(()=>{class t extends wI{params={easeTime:this.toastPackage.config.easeTime,easing:"ease-in"};elementRef=$(xn);remove(){this.state()!=="removed"&&(clearTimeout(this.timeout),this.state.set("removed"),this.elementRef.nativeElement.classList.add("toast-out"),this.timeout=this.timeoutsService.setTimeout(()=>this.toastrService.remove(this.toastPackage.toastId),+this.params.easeTime))}static \u0275fac=(()=>{let e;return function(i){return(e||(e=rr(t)))(i||t)}})();static \u0275cmp=At({type:t,selectors:[["","toast-component",""]],hostVars:4,hostBindings:function(r,i){r&1&&Ra("toast-in"),r&2&&$o("--animation-easing",i.params.easing)("--animation-duration",i.params.easeTime+"ms")},features:[Cn],attrs:EI,decls:5,vars:5,consts:[["type","button","aria-label","Close",1,"toast-close-button"],[3,"class"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"class","innerHTML"],["role","alert",3,"class"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(r,i){if(r&1&&(Mc(0),Ye(1,KV,3,0,"button",0),Ye(2,JV,3,5,"div",1),Ye(3,t4,2,1),Ye(4,n4,2,2,"div")),r&2){let o=Xf(i.options());he(),qe(o.closeButton?1:-1),he(),qe(i.title()?2:-1),he(),qe(i.message()?3:-1),he(),qe(o.progressBar?4:-1)}},styles:[".toast-in[_nghost-%COMP%]{animation:_ngcontent-%COMP%_toast-animation var(--animation-duration) var(--animation-easing)}.toast-out[_nghost-%COMP%]{animation:_ngcontent-%COMP%_toast-animation var(--animation-duration) var(--animation-easing) reverse forwards}@keyframes _ngcontent-%COMP%_toast-animation{0%{opacity:0}
17to{opacity:1}}"],changeDetection:0})}return t})(),a4=Ze(ae({},CI),{toastComponent:s4}),l4=(t={})=>Ni([{provide:bI,useValue:{default:a4,config:t}}]),Mp=(()=>{class t{static forRoot(e={}){return{ngModule:t,providers:[l4(e)]}}static \u0275fac=function(r){return new(r||t)};static \u0275mod=Ot({type:t});static \u0275inj=xt({})}return t})();var ene=Ze(ae({},CI),{toastComponent:wI});var S_=Em(SI(),1);var u4=new Ie("DROPZONE_CONFIG"),d4=["error","success","sending","canceled","complete","processing","drop","dragStart","dragEnd","dragEnter","dragOver","dragLeave","thumbnail","addedFile","addedFiles","removedFile","uploadProgress","maxFilesReached","maxFilesExceeded","errorMultiple","successMultiple","sendingMultiple","canceledMultiple","completeMultiple","processingMultiple","reset","queueComplete","totalUploadProgress"],T_=class{constructor(n={}){this.assign(n)}assign(n={},e){e=e||this;for(let r in n)n[r]!=null&&!Array.isArray(n[r])&&typeof n[r]=="object"&&!(n[r]instanceof HTMLElement)?(e[r]={},this.assign(n[r],e[r])):e[r]=n[r]}},Ap=(()=>{class t{constructor(e,r,i,o,s,a){this.zone=e,this.renderer=r,this.elementRef=i,this.differs=o,this.platformId=s,this.defaults=a,this.configDiff=null,this.disabled=!1,this.DZ_INIT=new Ge,this.DZ_ERROR=new Ge,this.DZ_SUCCESS=new Ge,this.DZ_SENDING=new Ge,this.DZ_CANCELED=new Ge,this.DZ_COMPLETE=new Ge,this.DZ_PROCESSING=new Ge,this.DZ_DROP=new Ge,this.DZ_DRAGSTART=new Ge,this.DZ_DRAGEND=new Ge,this.DZ_DRAGENTER=new Ge,this.DZ_DRAGOVER=new Ge,this.DZ_DRAGLEAVE=new Ge,this.DZ_THUMBNAIL=new Ge,this.DZ_ADDEDFILE=new Ge,this.DZ_ADDEDFILES=new Ge,this.DZ_REMOVEDFILE=new Ge,this.DZ_UPLOADPROGRESS=new Ge,this.DZ_MAXFILESREACHED=new Ge,this.DZ_MAXFILESEXCEEDED=new Ge,this.DZ_ERRORMULTIPLE=new Ge,this.DZ_SUCCESSMULTIPLE=new Ge,this.DZ_SENDINGMULTIPLE=new Ge,this.DZ_CANCELEDMULTIPLE=new Ge,this.DZ_COMPLETEMULTIPLE=new Ge,this.DZ_PROCESSINGMULTIPLE=new Ge,this.DZ_RESET=new Ge,this.DZ_QUEUECOMPLETE=new Ge,this.DZ_TOTALUPLOADPROGRESS=new Ge;let l=S_.Dropzone;l.autoDiscover=!1}ngOnInit(){if(!Jw(this.platformId))return;let e=new T_(this.defaults);e.assign(this.config),this.renderer.addClass(this.elementRef.nativeElement,e.maxFiles===1?"dz-single":"dz-multiple"),this.renderer.removeClass(this.elementRef.nativeElement,e.maxFiles===1?"dz-multiple":"dz-single"),this.zone.runOutsideAngular(()=>{this.instance=new S_.Dropzone(this.elementRef.nativeElement,e)}),this.disabled&&this.instance.disable(),this.DZ_INIT.observers.length&&this.zone.run(()=>{this.DZ_INIT.emit(this.instance)}),this.instance.on("success",()=>{e.autoReset!=null&&setTimeout(()=>this.reset(),e.autoReset)}),this.instance.on("error",()=>{e.errorReset!=null&&setTimeout(()=>this.reset(),e.errorReset)}),this.instance.on("canceled",()=>{e.cancelReset!=null&&setTimeout(()=>this.reset(),e.cancelReset)}),d4.forEach(r=>{this.instance.on(r.toLowerCase(),(...i)=>{i=i.length===1?i[0]:i;let o=`DZ_${r.toUpperCase()}`,s=this[o];s.observers.length>0&&this.zone.run(()=>{s.emit(i)})})}),this.configDiff||(this.configDiff=this.differs.find(this.config||{}).create(),this.configDiff.diff(this.config||{}))}ngOnDestroy(){this.instance&&(this.zone.runOutsideAngular(()=>{this.instance.destroy()}),this.instance=null)}ngDoCheck(){!this.disabled&&this.configDiff&&this.configDiff.diff(this.config||{})&&this.instance&&(this.ngOnDestroy(),this.ngOnInit())}ngOnChanges(e){this.instance&&e.disabled&&e.disabled.currentValue!==e.disabled.previousValue&&(e.disabled.currentValue===!1?this.zone.runOutsideAngular(()=>{this.instance.enable()}):e.disabled.currentValue===!0&&this.zone.runOutsideAngular(()=>{this.instance.disable()}))}dropzone(){return this.instance}reset(e){this.instance&&this.zone.runOutsideAngular(()=>{this.instance.removeAllFiles(e)})}}return t.\u0275fac=function(e){return new(e||t)(pe(Dt),pe(Rr),pe(xn),pe(nh),pe(ks),pe(u4,8))},t.\u0275dir=Gt({type:t,selectors:[["","dropzone",""]],inputs:{disabled:"disabled",config:[0,"dropzone","config"]},outputs:{DZ_INIT:"init",DZ_ERROR:"error",DZ_SUCCESS:"success",DZ_SENDING:"sending",DZ_CANCELED:"canceled",DZ_COMPLETE:"complete",DZ_PROCESSING:"processing",DZ_DROP:"drop",DZ_DRAGSTART:"dragStart",DZ_DRAGEND:"dragEnd",DZ_DRAGENTER:"dragEnter",DZ_DRAGOVER:"dragOver",DZ_DRAGLEAVE:"dragLeave",DZ_THUMBNAIL:"thumbnail",DZ_ADDEDFILE:"addedFile",DZ_ADDEDFILES:"addedFiles",DZ_REMOVEDFILE:"removedFile",DZ_UPLOADPROGRESS:"uploadProgress",DZ_MAXFILESREACHED:"maxFilesReached",DZ_MAXFILESEXCEEDED:"maxFilesExceeded",DZ_ERRORMULTIPLE:"errorMultiple",DZ_SUCCESSMULTIPLE:"successMultiple",DZ_SENDINGMULTIPLE:"sendingMultiple",DZ_CANCELEDMULTIPLE:"canceledMultiple",DZ_COMPLETEMULTIPLE:"completeMultiple",DZ_PROCESSINGMULTIPLE:"processingMultiple",DZ_RESET:"reset",DZ_QUEUECOMPLETE:"queueComplete",DZ_TOTALUPLOADPROGRESS:"totalUploadProgress"}
17,exportAs:["ngxDropzone"],standalone:!1,features:[kn]}),t})();var TI=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ot({type:t}),t.\u0275inj=xt({imports:[zi,zi]}),t})();var II=(()=>{class t{zone;scriptElemId="ngx-catpcha-script";windowGrecaptcha="grecaptcha";windowGrecaptchaEnterprise="enterprise";windowOnLoadCallbackProperty="ngx_captcha_onload_callback";windowOnLoadEnterpriseCallbackProperty="ngx_captcha_onload_enterprise_callback";globalDomain="recaptcha.net";defaultDomain="google.com";enterpriseApi="enterprise.js";defaultApi="api.js";constructor(e){this.zone=e}registerCaptchaScript(e,r,i,o){if(this.grecaptchaScriptLoaded(e.useEnterprise)){e.useEnterprise?this.zone.run(()=>{i(window[this.windowGrecaptcha][this.windowGrecaptchaEnterprise])}):this.zone.run(()=>{i(window[this.windowGrecaptcha])});return}e.useEnterprise?window[this.getCallbackName(!0)]=()=>this.zone.run(i.bind(this,window[this.windowGrecaptcha][this.windowGrecaptchaEnterprise])):window[this.getCallbackName(!1)]=()=>this.zone.run(i.bind(this,window[this.windowGrecaptcha]));let s=document.createElement("script");s.id=this.scriptElemId,s.innerHTML="",s.src=this.getCaptchaScriptUrl(e,r,o),s.async=!0,s.defer=!0,document.getElementsByTagName("head")[0].appendChild(s)}cleanup(){let e=document.getElementById(this.scriptElemId);e&&e.remove(),window[this.getCallbackName()]=void 0,window[this.windowGrecaptcha]=void 0}grecaptchaScriptLoaded(e){return!window[this.getCallbackName(e)]||!window[this.windowGrecaptcha]?!1:e&&window[this.windowGrecaptcha][this.windowGrecaptchaEnterprise]?!0:!!window[this.windowGrecaptcha].execute}getCallbackName(e){return e?this.windowOnLoadEnterpriseCallbackProperty:this.windowOnLoadCallbackProperty}getLanguageParam(e){return e?`&hl=${e}`:""}getCaptchaScriptUrl(e,r,i){let o=e.useGlobalDomain?this.globalDomain:this.defaultDomain,s=e.useEnterprise?this.enterpriseApi:this.defaultApi,a=this.getCallbackName(e.useEnterprise);return`https://www.${o}/recaptcha/${s}?onload=${a}&render=${r}${this.getLanguageParam(i)}`}static \u0275fac=function(r){return new(r||t)(Ce(Dt))};static \u0275prov=fe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var h4=(()=>{class t{scriptService;zone;constructor(e,r){this.scriptService=e,this.zone=r}execute(e,r,i,o,s){this.executeAsPromise(e,r,o).then(i).catch(a=>s?s(a):console.error(a))}executeAsPromise(e,r,i){return new Promise((o,s)=>{let a=i||{},l=u=>{this.zone.runOutsideAngular(()=>{try{u.execute(e,{action:r}).then(f=>this.zone.run(()=>o(f)))}catch(f){s(f)}})};this.scriptService.registerCaptchaScript(a,e,l)})}static \u0275fac=function(r){return new(r||t)(Ce(II),Ce(Dt))};static \u0275prov=fe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),MI=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=Ot({type:t});static \u0275inj=xt({providers:[II,h4],imports:[zi]})}return t})();var x4=Em(NI(),1);var gne=new Date(1882,10,12),vne=new Date(2174,10,25);var yne=1e3*60*60*24;var x_=1080,p4=24*x_,m4=12*x_+793,_ne=29*p4+m4,Dne=11*x_+204;var RI=(()=>{class t{static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275mod=Ot({type:t})}static{this.\u0275inj=xt({})}}return t})();function g4(t,n){t&1&&(_e(0,"div",0),He(1,"div",1),ve())}var v4=t=>({disabled:t}),OI=t=>({"uploaded-file-error":t}),y4=t=>({"multiple-disabled":t});function _4(t,n){t&1&&He(0,"div",7)}function D4(t,n){if(t&1&&(Ye(0,_4,1,0,"div",7),_e(1,"div",8),Se(2),ve()),t&2){let e=Ee().$implicit;qe(e.error?0:-1),he(2),vi(e.error)}}function E4(t,n){if(t&1){let e=fn();_e(0,"div",3),He(1,"img",4),Se(2),_e(3,"div",5),Nt("click",function(){let i=Ke(e).$implicit,o=Ee(3);return Qe(o.deleteFile(i.file))}),He(4,"img",6),ve(),Ye(5,D4,3,2),ve(),He(6,"br")(7,"br")}if(t&2){let e=n.$implicit,r=Ee(3);gt("ngClass",yr(4,OI,e.error)),he(),gt("src",e.error?r.fileIconError:r.fileIconDone,Yn),he(),yt(" ",e.file.name," "),he(3),qe(e.error?5:-1)}}function C4(t,n){if(t&1&&Ps(0,E4,8,6,null,null,wc),t&2){let e=Ee(2);Ls(e.currentFiles)}}function b4(t,n){if(t&1){let e=fn();_e(0,"div",0),Se(1),ve(),_e(2,"div",1),Se(3),ve(),_e(4,"div",2),Nt("error",function(i){Ke(e);let o=Ee();return Qe(o.onUploadError(i))})("keydown.enter",function(i){Ke(e);let o=Ee();return Qe(o.onEnterKey(i))})("keydown.space",function(i){Ke(e);let o=Ee();return Qe(o.onEnterKey(i))})("queueComplete",function(i){Ke(e);let o=Ee();return Qe(o.operationCompleted(i))})("success",function(i){Ke(e);let o=Ee();return Qe(o.onUploadSuccess(i))})("sending",function(i){Ke(e);let o=Ee();return Qe(o.sending(i))})("reset",function(i){Ke(e);let o=Ee();return Qe(o.reset(i))})("addedFile",function(i){Ke(e);let o=Ee();return Qe(o.fileWasAdded(i))})("maxFilesExceeded",function(i){Ke(e);let o=Ee();return Qe(o.maxFilesExceeded(i))}),Se(5),ve(),He(6,"br")(7,"br"),Ye(8,C4,2,0)}if(t&2){let e=Ee();he(),yt(" ",e.label),he(2),yt(" ",e.fileMessage," "),he(),gt("ngClass",yr(7,v4,e.disabled))("disabled",e.disabled)("dropzone",e.config),he(),yt(" ",e.isArabicForm?"\u062A\u0635\u0641\u062D \u0627\u0644\u0645\u0644\u0641\u0627\u062A":"Browse Files"," "),he(3),qe(e.currentFiles.length>0?8:-1)}}function w4(t,n){t&1&&He(0,"div",7)}function S4(t,n){if(t&1&&(Ye(0,w4,1,0,"div",7),_e(1,"div",8),Se(2),ve()),t&2){let e=Ee().$implicit;qe(e.error?0:-1),he(2),vi(e.error)}}function T4(t,n){if(t&1){let e=fn();_e(0,"div",3),He(1,"img",4),Se(2),_e(3,"div",5),Nt("click",function(){let i=Ke(e).$implicit,o=Ee(3);return Qe(o.deleteFile(i.file))}),He(4,"img",6),ve(),Ye(5,S4,3,2),ve(),He(6,"br")}if(t&2){let e=n.$implicit,r=Ee(3);gt("ngClass",yr(4,OI,e.error)),he(),gt("src",e.error?r.fileIconError:r.fileIconDone,Yn),he(),yt(" ",e.file.name," "),he(3),qe(e.error?5:-1)}}function I4(t,n){if(t&1&&Ps(0,T4,7,6,null,null,wc),t&2){let e=Ee(2);Ls(e.currentFiles)}}function M4(t,n){if(t&1){let e=fn();_e(0,"div",9),Se(1),ve(),_e(2,"div",10),Nt("error",function(i){Ke(e);let o=Ee();return Qe(o.onUploadError(i))})("keydown.enter",function(i){Ke(e);let o=Ee();return Qe(o.onEnterKey(i))})("keydown.space",function(i){Ke(e);let o=Ee();return Qe(o.onEnterKey(i))})("queueComplete",function(i){Ke(e);let o=Ee();return Qe(o.operationCompleted(i))})("success",function(i){Ke(e);let o=Ee();return Qe(o.onUploadSuccess(i))})("dragenter",function(){Ke(e);let i=Ee();return Qe(i.dragEnter=!0)})("dragLeave",function(){Ke(e);let i=Ee();return Qe(i.dragEnter=!1)})("drop",function(){Ke(e);let i=Ee();return Qe(i.dragEnter=!1)})("dragEnd",function(){Ke(e);let i=Ee();return Qe(i.dragEnter=!1)})("sending",function(i){Ke(e);let o=Ee();return Qe(o.sending(i))})("reset",function(i){Ke(e);let o=Ee();return Qe(o.reset(i))})("addedFile",function(i){Ke(e);let o=Ee();return Qe(o.fileWasAdded(i))})("maxFilesExceeded",function(i){Ke(e);let o=Ee();return Qe(o.maxFilesExceeded(i))}),_e(3,"div"),He(4,"img",11),ve(),_e(5,"div",12),Se(6),ve(),_e(7,"div",13),Se(8),ve(),_e(9,"div",14),Se(10),ve()(),He(11,"br"),Ye(12,I4,2,0)}if(t&2){let e=Ee();he(),yt(" ",e.label),he(),vo("multiple-drag-hover",e.dragEnter),gt("ngClass",yr(10,y4,e.disabled))("disabled",e.disabled)("dropzone",e.config),he(4),yt(" ",e.isArabicForm?"\u0627\u0633\u062D\u0628 \u0648 \u0623\u0641\u0644\u062A \u0627\u0644\u0645\u0644\u0641\u0627\u062A \u0647\u0646\u0627 \u0644\u0644\u0631\u0641\u0639":"Drag and drop files here to upload"," "),he(2),yt(" ",e.fileMessage," "),he(2),yt(" ",e.isArabicForm?"\u062A\u0635\u0641\u062D \u0627\u0644\u0645\u0644\u0641\u0627\u062A":"Browse Files"," "),he(2),qe(e.currentFiles.length>0?12:-1)}}var kI=(()=>{class t{static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275mod=Ot({type:t})}static{this.\u0275inj=xt({})}}return t})();
17var Cu=(()=>{class t{constructor(){this.isLoading=new gl(!1),this.urls=[]}setExceptionUrls(e){this.urls=e}addExceptionUrl(e){this.urls.push(e)}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=fe({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),FI=(()=>{class t{constructor(e,r){this.loaderService=e,this.cdr=r,this.loading=!0,this.isLocal=!1}ngAfterViewInit(){this.loaderService.isLoading.subscribe(e=>{this.loading=e;let r=document.getElementById("cover-spin");r&&(this.loading?r.style.display="flex":r.style.display!=="none"&&(r.style.display="none")),this.cdr.detectChanges()})}static{this.\u0275fac=function(r){return new(r||t)(pe(Cu),pe(_o))}}static{this.\u0275cmp=At({type:t,selectors:[["ipa-loader"]],inputs:{isLocal:"isLocal"},standalone:!1,decls:1,vars:1,consts:[["id","cover-spin"],[1,"spinner"]],template:function(r,i){r&1&&Ye(0,g4,2,0,"div",0),r&2&&qe(i.loading&&i.isLocal?0:-1)},styles:["#cover-spin[_ngcontent-%COMP%]{display:flex}"]})}}return t})(),PI=(()=>{class t{constructor(e){this.toastrService=e,this.isArabicForm=!0,this.label="",this.required=!1,this.acceptedFiles="",this.multiple=1,this.maxFileSize=2,this.method="POST",this.autoUpload=!1,this.apiUrl="apiUrl",this.disabled=!1,this.successUpload=new Ge,this.fileAdded=new Ge,this.fileDeleted=new Ge,this.dragEnter=!1,this.filesAdded=[],this.currentFiles=[],this.hasMaxFileExceeded=!1,this.fileIconDone="/_catalogs/masterpage/ar-sa/CPS/assets/img/internal/upload-done.svg",this.fileIconError="/_catalogs/masterpage/ar-sa/CPS/assets/img/internal/upload-error.svg",this.fileMessage="",this.formControl=new vp("")}ngOnInit(){this.setConfiguration(),this.isArabicForm?this.fileMessage=`\u0627\u0644\u062D\u062F \u0627\u0644\u0623\u0642\u0635\u0649 \u0644\u062D\u062C\u0645 \u0627\u0644\u0645\u0644\u0641 \u0627\u0644\u0645\u0633\u0645\u0648\u062D \u0628\u0647 \u0647\u0648 ${this.maxFileSize} \u0645\u064A\u062C\u0627\u0628\u0627\u064A\u062A\u060C \u0648\u062A\u0634\u0645\u0644 \u0627\u0644\u0635\u064A\u063A \u0627\u0644\u0645\u062F\u0639\u0648\u0645\u0629 ${this.formatAcceptedFiles(" \u0648 ")}.`:this.fileMessage=`Maximum file size allowed is ${this.maxFileSize} MB, supported file formats include ${this.formatAcceptedFiles(" and ")}.`}operationCompleted(e){this.filesAdded.length>0&&(this.successUpload.emit(this.filesAdded),this.filesAdded=[]),this.dropzoneDir.reset()}onUploadSuccess(e){let r=e[0];r.status==="success"&&this.filesAdded.push(r);let i=this.isArabicForm?"\u062A\u0645 \u062A\u062D\u0645\u064A\u0644 \u0627\u0644\u0645\u0631\u0641\u0642\u0627\u062A \u0628\u0646\u062C\u0627\u062D":"Attachments uploaded successfully";this.toastrService.success(i)}onUploadError(e){if(e[1]){let r=this.currentFiles.findIndex(i=>i.file.name===e[0].name&&i.file.size===e[0].size);r!==-1&&(this.currentFiles[r].error=e[1])}}fileWasAdded(e){let r=this.dropzoneDir.dropzone();if(this.multiple===1){this.currentFiles=[],this.filesAdded=[];let o=r.files;o.length>1&&r.removeFile(o[0])}if(this.currentFiles.some(o=>o.file.name===e.name&&o.file.size===e.size)){r.removeFile(e);return}this.currentFiles.length<this.multiple&&(this.currentFiles.push({file:e,error:""}),this.fileAdded.emit(e))}onEnterKey(e){e.target.click(),e.preventDefault()}sending(e){}reset(e){}deleteFile(e){let r=this.dropzoneDir.dropzone(),i=this.currentFiles.findIndex(o=>o.file.name===e.name&&o.file.size===e.size);i!==-1&&this.currentFiles.splice(i,1),this.fileDeleted.emit(e),r.removeFile(e),this.currentFiles.length===0&&this.dropzoneDir.reset()}maxFilesExceeded(e){this.hasMaxFileExceeded=!0,this.toastrService.error(this.isArabicForm?"\u0627\u0644\u0631\u062C\u0627\u0621 \u062D\u0630\u0641 \u0627\u0644\u0645\u0644\u0641\u0627\u062A \u0627\u0644\u0645\u0648\u062C\u0648\u062F\u0629 \u062D\u0627\u0644\u064A\u0627 \u0644\u062A\u062A\u0645\u0643\u0646 \u0645\u0646 \u0625\u0636\u0627\u0641\u0629 \u0627\u0644\u0645\u0644\u0641":"Please delete existing files to be able to add this file")}formatAcceptedFiles(e){return this.acceptedFiles.split(",").map(r=>r.trim()).filter(r=>r.length>0).join(e)}setConfiguration(){this.label=(this.isArabicForm?"\u0631\u0641\u0639 ":"Upload ")+this.label,this.config={url:this.apiUrl,method:this.method,headers:{Authorization:"Bearer "+this.authorization},maxFilesize:this.maxFileSize,maxFiles:this.multiple,uploadMultiple:this.multiple>1,dictInvalidFileType:this.isArabicForm?"\u0635\u064A\u063A\u0629 \u0627\u0644\u0645\u0644\u0641 \u063A\u064A\u0631 \u0645\u0633\u0645\u0648\u062D \u0628\u0647\u0627":"the file format is not allowed",dictFileTooBig:this.isArabicForm?"\u0627\u0644\u062D\u062C\u0645 \u062A\u062C\u0627\u0648\u0632 \u0627\u0644\u062D\u062F \u0627\u0644\u0645\u0633\u0645\u0648\u062D":`the file size must be less than or equal (${this.maxFileSize}) MB`,dictMaxFilesExceeded:this.isArabicForm?"\u0627\u0644\u0631\u062C\u0627\u0621 \u062D\u0630\u0641 \u0627\u0644\u0645\u0644\u0641\u0627\u062A \u0627\u0644\u0645\u0648\u062C\u0648\u062F\u0629 \u062D\u0627\u0644\u064A\u0627 \u0644\u062A\u062A\u0645\u0643\u0646 \u0645\u0646 \u0631\u0641\u0639 \u0647\u0630\u0627 \u0627\u0644\u0645\u0644\u0641":"Please delete existing files to be able to upload this file",acceptedFiles:this.acceptedFiles,autoProcessQueue:this.autoUpload,previewTemplate:"<span></span>",dictRemoveFile:""}}static{this.\u0275fac=function(r){return new(r||t)(pe(lr))}}static{this.\u0275cmp=At({type:t,selectors:[["ipa-file-upload"]],viewQuery:function(r,i){if(r&1&&pi(Ap,5),r&2){let o;mi(o=gi())&&(i.dropzoneDir=o.first)}},inputs:{isArabicForm:"isArabicForm",label:"label",required:"required",acceptedFiles:"acceptedFiles",multiple:"multiple",maxFileSize:"maxFileSize",method:"method",autoUpload:"autoUpload",apiUrl:"apiUrl",authorization:"authorization",disabled:"disabled"}
17,outputs:{successUpload:"successUpload",fileAdded:"fileAdded",fileDeleted:"fileDeleted"},standalone:!1,decls:2,vars:1,consts:[[1,"file-upload-label"],[1,"file-upload-description"],["tabindex","0",1,"single-file-upload",3,"error","keydown.enter","keydown.space","queueComplete","success","sending","reset","addedFile","maxFilesExceeded","ngClass","disabled","dropzone"],[1,"uploaded-file",3,"ngClass"],[3,"src"],["title","\u062D\u0630\u0641 \u0627\u0644\u0645\u0644\u0641",2,"margin-right","auto",3,"click"],["src","/_catalogs/masterpage/ar-sa/CPS/assets/img/internal/upload-close.svg"],[1,"flex-wrap-newline"],[1,"uploaded-helper"],[1,"file-upload-label","form-label"],["tabindex","0",1,"multiple-file-upload","text-center","d-flex","flex-column","align-items-center",3,"error","keydown.enter","keydown.space","queueComplete","success","dragenter","dragLeave","drop","dragEnd","sending","reset","addedFile","maxFilesExceeded","ngClass","disabled","dropzone"],["src","/_catalogs/masterpage/ar-sa/CPS/assets/img/internal/file-upload.svg"],[1,"multiple-file-upload-text"],[1,"multiple-file-upload-description"],[1,"tp-link"]],template:function(r,i){r&1&&Ye(0,b4,9,9)(1,M4,13,12),r&2&&qe(i.multiple===1?0:1)},dependencies:[Us,Ap],styles:[".subtitle[_ngcontent-%COMP%]{border-bottom:none;display:block;line-height:2}.file-upload[_ngcontent-%COMP%]{border:dashed 1px #ccc;display:block;min-height:150px;border-radius:15px;width:350px;cursor:pointer;position:relative;margin:auto}.upload-overlay[_ngcontent-%COMP%]{position:absolute;width:100%;height:100%}.upload-btn-wrapper[_ngcontent-%COMP%]{text-align:center}.upload-icon[_ngcontent-%COMP%]{margin-right:5px}.list-unstyled[_ngcontent-%COMP%]{margin:10px!important;padding:14px!important;list-style:none}.allowed-extensions[_ngcontent-%COMP%]{color:#4d7297}"]})}}return t})();var LI=(()=>{class t{static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275mod=Ot({type:t})}static{this.\u0275inj=xt({imports:[zi,_p,Dp,Mp,TI,MI,kI,RI,kI]})}}return t})(),jI=(()=>{class t{constructor(e){this.loaderService=e,this.requests=[]}removeRequest(e){let r=this.requests.indexOf(e);r>=0&&this.requests.splice(r,1),this.loaderService.isLoading.next(this.requests.length>0)}intercept(e,r){return this.isException(e)?r.handle(e):(this.requests.push(e),this.loaderService.isLoading.next(!0),new ar(i=>{let o=r.handle(e).subscribe(s=>{s instanceof Hs&&(this.removeRequest(e),i.next(s))},s=>{this.removeRequest(e),i.error(s)},()=>{this.removeRequest(e),i.complete()});return()=>{this.removeRequest(e),o.unsubscribe()}}))}isException(e){for(let r of this.loaderService.urls)if(e.url.includes(r.path)&&e.method===r.method)return!0;return!1}static{this.\u0275fac=function(r){return new(r||t)(Ce(Cu))}}static{this.\u0275prov=fe({token:t,factory:t.\u0275fac})}}return t})(),A_=(()=>{class t{constructor(e){this.toastrService=e}copyToClipboard(e,r){navigator.clipboard.writeText(e.toString()),this.toastrService.success(r,"",{positionClass:"toast-bottom-right"})}print(e,r,i){let o=this.getElementTag("style"),s=this.getElementTag("link"),a=this.getElementTag("script"),l=document.getElementById(e)?.innerHTML,u=window.open("","","top=0,left=0,height=100%,width=auto"),f=`
18        <!DOCTYPE html>
19            <head>
20            <title> ${r} </title>
21            <meta charset="utf-8">
22            ${s}
23            ${o}
24            <style>
25                @media print {
26                  .noPrint{
27                    display: none !important;
28                  }
29                  body {
30                    direction: rtl;
31                  }
32              }
33            </style>
34            </head>
35          <body class="${i}">
36            ${l}
37            ${a}
38          </body>
39
40        </html>`;u?.document.open(),u?.document.write(f),u?.document.close(),u?.focus(),u?.addEventListener("focus",()=>{setTimeout(()=>{u.document.hasFocus()&&(u.print(),u.close())},1e3)})}getElementTag(e){let r=[],i=document.getElementsByTagName(e);for(let o=0;o<i.length;o++)r.push(i[o].outerHTML);return r.join(`\r
41`)}static{this.\u0275fac=function(r){return new(r||t)(Ce(lr))}}static{this.\u0275prov=fe({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),bu=(()=>{class t{constructor(e,r){this.toastrService=e,this.commonService=r,this.urls=[]}setExceptionUrls(e){this.urls=e}addExceptionUrl(e){this.urls.push(e)}showErrorMsg(e,r){if(e.errors&&e.errors.length>0){r.enableHtml=!0;let i="";
41e.errors.forEach(o=>{i+=`<li>${o}</li>`}),this.toastrService.error(`<ul>${i}</ul>`,e.message,r)}else this.toastrService.error("",e.message,r)}show500ErrorMsg(e,r){let i=e.innerException+" "+(e.stackTrace??"");this.toastrService.error(i,e.message,r).onShown.subscribe(()=>{this.addCopyButton(e.message+`
42`+i)})}addCopyButton(e){let r=document.getElementsByClassName("toast-message")[0],i=document.createElement("i");i.classList.add("ms-2","fas","fa-copy"),i.addEventListener("click",()=>{this.commonService.copyToClipboard(e,"\u062A\u0645 \u0646\u0633\u062E \u0627\u0644\u0631\u0633\u0627\u0644\u0629 \u0625\u0644\u0649 \u0627\u0644\u062D\u0627\u0641\u0638\u0629")}),r.appendChild(i)}static{this.\u0275fac=function(r){return new(r||t)(Ce(lr),Ce(A_))}}static{this.\u0275prov=fe({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),VI=(()=>{class t{constructor(e){this.errorService=e}intercept(e,r){return this.isException(e)?r.handle(e):r.handle(e).pipe(Ip(i=>{let o=i.error,s={disableTimeOut:!0,closeButton:!0,tapToDismiss:!1};return o.statusCode===500?this.errorService.show500ErrorMsg(o,s):this.errorService.showErrorMsg(o,s),y_(()=>i)}))}isException(e){for(let r of this.errorService.urls)if(e.url.includes(r.path)&&e.method===r.method)return!0;return!1}static{this.\u0275fac=function(r){return new(r||t)(Ce(bu))}}static{this.\u0275prov=fe({token:t,factory:t.\u0275fac})}}return t})(),wu=(()=>{class t{constructor(){this.currentUser=new gl({exp:0}),this.currentUserUrl=""}getToken(){return localStorage.getItem("token")??""}getDecodedToken(){return this.decodeJwt(this.getToken())}setCurrentUser(){let e=this.getDecodedToken();if(!e){this.currentUser.next({exp:0});return}this.currentUser.next({nameid:e.nameid,email:e.email,given_name:e.given_name,exp:e.exp})}getTokenFromHidden(){return document.querySelector("[id$=hfToken]").value??""}getDecodedTokenFromHidden(){return this.decodeJwt(this.getTokenFromHidden())}setCurrentUserFromHidden(){let e=this.getDecodedTokenFromHidden();if(!e){this.currentUser.next({exp:0});return}this.currentUser.next({nameid:e.nameid?.split("\\")[1],email:e.email,given_name:e.given_name,exp:e.exp})}setCurrentUserUrl(e){this.currentUserUrl=e}decodeJwt(e){if(!e||e==="null"||e==="undefined")return null;let i=e.split(".")[1].replace(/-/g,"+").replace(/_/g,"/"),o=decodeURIComponent(atob(i).split("").map(s=>"%"+("00"+s.charCodeAt(0).toString(16)).slice(-2)).join(""));return JSON.parse(o)}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=fe({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),N_=(()=>{class t{constructor(){this.urls=[]}setExceptionUrls(e){this.urls=e}addExceptionUrl(e){this.urls.push(e)}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=fe({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),UI=(()=>{class t{constructor(e,r,i,o){this.authService=e,this.http=r,this.loaderService=i,this.tokenService=o,this.refresh=!0,this.loaderService.addExceptionUrl({path:"/api/users?refresh",method:"GET"}),this.tokenService.addExceptionUrl({path:"/api/users?refresh",method:"GET"})}intercept(e,r){if(this.isException(e))return r.handle(e);let i=this.authService.getToken();return i&&(this.isTokenExpired(i),e=e.clone({setHeaders:{Authorization:`Bearer ${i}`}})),r.handle(e)}isTokenExpired(e){let r=location.pathname,i=this.authService.getDecodedToken();if(new Date((i.exp??0)*1e3)<new Date){location.replace("/ar/login?redirect="+r);return}else if(this.authService.currentUserUrl)this.refresh&&this.http.get(this.authService.currentUserUrl+"users?refresh",{headers:{Authorization:`Bearer ${e}`}}).subscribe(s=>{localStorage.setItem("token",s.token),this.refresh=!1,setTimeout(()=>{this.refresh=!0},60*1e3)});else throw new Error("provide current base user api url using this function authService.setCurrentUserUrl('https://...')")}isException(e){for(let r of this.tokenService.urls)if(e.url.includes(r.path)&&e.method===r.method)return!0;return!1}static{this.\u0275fac=function(r){return new(r||t)(Ce(wu),Ce(Er),Ce(Cu),Ce(N_))}}static{this.\u0275prov=fe({token:t,factory:t.\u0275fac})}}return t})();var BI=(()=>{class t{constructor(){}setPageTitle(e){let r=document.querySelector(".sub-section-title");r&&(r.textContent=e)}setMainPageTitle(e,r){let i=document.getElementsByClassName("main-section-title");i&&i.length>0&&(i[0].innerHTML=`<a id="site-url" href="${r}">${e}</a>`)}addBreadcrumb(e,r="bc-current",i="bc-node"){let o=document.getElementById("ctl00_path")?.children,s=o?.item(o.length-1),a=s.innerHTML;s.innerHTML="",s.classList.remove("bc-current"),s.appendChild(this.createLink(a,location.pathname,i));let l=this.createSpan(e,r),u=document.createElement("span");s.after(u,l)}addBreadcrumbList(e,r="bc-current",i="bc-node"){let o=document.getElementById("ctl00_path")?.childNodes,s=o?.item(o.length-1),a=s.innerHTML;s.classList.remove(r),s.innerHTML="",s.appendChild(this.createLink(a,location.pathname,i));for(let l=0;l<e.length;l++){let u=o?.item(o.length-1);if(e[l].nodeUrl){let f=document.createElement("span");f.appendChild(this.createLink(e[l].nodeName,e[l].nodeUrl,i));let h=document.createElement("span");u.after(h,f)}else{let f=this.createSpan(e[l].nodeName,r),h=document.createElement("span");u.after(h,f)}}}createBreadcrumbs(e,r="bc-current",i="bc-node"){let o=document.getElementById("ctl00_path");o.innerHTML="";let s=document.createElement("span");o?.appendChild(s),s.appendChild(this.createLink(e[0].nodeName,e[0].node
42Url,i));let a=o?.children;for(let l=1;l<e.length;l++){let u=a?.item(a.length-1);if(e[l].nodeUrl){let f=document.createElement("span");f.appendChild(this.createLink(e[l].nodeName,e[l].nodeUrl,i));let h=document.createElement("span");u?.after(h,f)}else{let f=this.createSpan(e[l].nodeName,r),h=document.createElement("span");u.after(h,f)}}}removeLastBreadcrumb(){let e=document.getElementById("ctl00_path")?.children;e?.item(e.length-1)?.remove(),e?.item(e.length-1)?.remove(),this.setCurrentNode(e)}removeBreadcrumbByNodeName(e){let r=document.getElementById("ctl00_path")?.children,i=-1;for(let s=0;s<r.length;s++)if(r.item(s)?.textContent?.trim()===e){i=s;break}let o=r.length-1===i;i!==-1&&!o?(r?.item(i)?.remove(),r?.item(i)?.remove()):(r?.item(i)?.remove(),r?.item(i-1)?.remove()),o&&this.setCurrentNode(r)}removeLastBreadcrumbsByLength(e){let r=document.getElementById("ctl00_path")?.children;for(;e>0;)r?.item(r.length-1)?.remove(),r?.item(r.length-1)?.remove(),e--;r.length>0&&this.setCurrentNode(r)}createLink(e,r,i){let o=document.createElement("a");return o.innerHTML=" "+e,o.href=r??"",o.classList.add(i),o}createSpan(e,r){let i=document.createElement("span");return i.classList.add(r),i.innerHTML=" "+e,i}setCurrentNode(e){let r=e?.item(e.length-1),i=e?.item(e.length-1)?.children.item(0);r?.classList.add("bc-current"),r.innerHTML=i.innerHTML}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=fe({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),es=(()=>{class t{constructor(){}setPageTitle(e){let r=document.querySelector(".page-title .container");r&&(r.textContent=e)}setPageTitleHTML(e){let r=document.querySelector(".page-title .container");r&&(r.innerHTML=e)}addBreadcrumb(e,r,i="path_arrow",o="path-item"){let s=document.getElementById("path")?.querySelector(".container")?.children,a=s?.item(s.length-1),l=a.innerHTML,u=this.createLink(l,location.pathname,o),f=this.createImg(i,r),h=this.createSpan(e);a.after(u,f,h),a.remove()}addBreadcrumbList(e,r,i="path_arrow",o="path-item"){let s=document.getElementById("path")?.querySelector(".container")?.children,a=s?.item(s.length-1),l=a.innerHTML;a.innerHTML="";let u=this.createLink(l,location.pathname,o),f=this.createImg(i,r);a.after(u,f),a.remove();for(let h=0;h<e.length;h++){let m=s?.item(s.length-1);if(e[h].nodeUrl){let v=document.createElement("span"),y=this.createLink(e[h].nodeName,e[h].nodeUrl,o),w=this.createImg(i,r);m.after(y,w)}else{let v=this.createSpan(e[h].nodeName);m.after(v)}}}createBreadcrumbs(e,r,i="path_arrow",o="path-item"){let s=document.getElementById("path")?.querySelector(".container");s.innerHTML="";let a=this.createLink(e[0].nodeName,e[0].nodeUrl,o);s.appendChild(a);let l=this.createImg(i,r);s.appendChild(l);for(let u=1;u<e.length;u++)if(e[u].nodeUrl){let f=this.createLink(e[u].nodeName,e[u].nodeUrl,o),h=this.createImg(i,r);s.appendChild(f),s.appendChild(h)}else{let f=this.createSpan(e[u].nodeName);s.appendChild(f)}}removeLastBreadcrumb(){let e=document.getElementById("path")?.querySelector(".container")?.children;e?.item(e.length-1)?.remove(),e?.item(e.length-1)?.remove(),this.setCurrentNode(e)}removeBreadcrumbByNodeName(e){let r=document.getElementById("path")?.querySelector(".container")?.children,i=-1;for(let s=0;s<r?.length;s++)if(r?.item(s)?.textContent?.trim()===e){i=s;break}let o=r?.length-1===i;i!==-1&&!o?(r?.item(i)?.remove(),r?.item(i)?.remove()):(r?.item(i)?.remove(),r?.item(i-1)?.remove()),o&&this.setCurrentNode(r)}removeLastBreadcrumbsByLength(e){let r=document.getElementById("path")?.querySelector(".container")?.children;for(;e>0;)r?.item(r.length-1)?.remove(),r?.item(r.length-1)?.remove(),e--;r?.length>0&&this.setCurrentNode(r)}createLink(e,r,i){let o=document.createElement("a");return o.innerHTML=" "+e,o.href=r??"",o.classList.add(i),o}createSpan(e){let r=document.createElement("span");return r.innerHTML=" "+e,r}createImg(e,r="/_catalogs/masterpage/ar-sa/CPS/assets/img/internal/path.svg"){let i=document.createElement("img");return i.src=r,i.classList.add(e),i}setCurrentNode(e){let r=e?.item(e.length-1),i=this.createSpan(r.innerHTML);r.replaceWith(i)}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=fe({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var yl=(()=>{class t{constructor(e){this.http=e,this.apiUrl=Rt.apiUrl}addMadaPurchase(e){return this.http.post(this.apiUrl+"store/payment/mada-purchase",e)}addSadadPurchase(e){return this.http.post(this.apiUrl+"store/payment/sadad-purchase",e)}verifyPayment(e){return this.http.get(this.apiUrl+"store/payment/verify/"+e)}getPaymentAdminEmails(){return this.http.get(this.apiUrl+"store/payment/get-payment-email-sett
42ings")}static{this.\u0275fac=function(r){return new(r||t)(Ce(Er))}}static{this.\u0275prov=fe({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var A4=Rt.production,N4=Rt.localhost,HI=(()=>{class t{constructor(e,r,i,o,s){this.route=e,this.router=r,this.breadCrumbsService=i,this.paymentService=o,this.toastrService=s,this.siteUrl=Rt.siteUrl,this.failureImg="/_catalogs/masterpage/ar-sa/CPS/assets/img/internal/error_payment.svg"}ngOnInit(){this.breadCrumbsService.addBreadcrumb("\u062E\u0637\u0623"),this.breadCrumbsService.setPageTitle("\u062E\u0637\u0623"),!A4&&N4&&(this.failureImg=this.siteUrl+this.failureImg)}ngOnDestroy(){this.breadCrumbsService.removeLastBreadcrumb()}getParams(){this.route.queryParams.subscribe(e=>{this.trackId=e.trackId,this.trackId?this.verifyPayment():this.router.navigateByUrl("")})}verifyPayment(){this.paymentService.verifyPayment(this.trackId).subscribe(e=>{this.toastrService.success(e.message)})}static{this.\u0275fac=function(r){return new(r||t)(pe(Hn),pe(On),pe(es),pe(yl),pe(lr))}}static{this.\u0275cmp=At({type:t,selectors:[["app-failure-payment"]],standalone:!1,decls:4,vars:1,consts:[[1,"sadad_details-img","payment-error"],["alt","failure image",3,"src"],[1,"sadad_details_title",2,"color","var(--colors-error-700)"]],template:function(r,i){r&1&&(_e(0,"div",0),He(1,"img",1),ve(),_e(2,"div",2),Se(3,` \u062D\u062F\u062B \u062E\u0637\u0623 \u0641\u064A \u0627\u0644\u062F\u0641\u0639
43`),ve()),r&2&&(he(),gt("src",i.failureImg,Yn))},encapsulation:2})}}return t})();var $I=(()=>{class t{constructor(e){this.http=e,this.apiUrl=Rt.apiUrl}getInvoice(e){let r=new Kn().append("invoiceNo",e);return this.http.get(this.apiUrl+"store/invoices",{params:r})}static{this.\u0275fac=function(r){return new(r||t)(Ce(Er))}}static{this.\u0275prov=fe({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function k4(t,n){if(t&1){let e=fn();_e(0,"div",1),He(1,"img",2),ve(),_e(2,"div",3),Se(3,` \u0646\u0648\u062F \u0625\u0634\u0639\u0627\u0631\u0643\u0645 \u0628\u0623\u0646\u0647 \u062A\u0645 \u0635\u062F\u0648\u0631 \u0641\u0627\u062A\u0648\u0631\u0629 \u062E\u0627\u0635\u0629 \u0628\u0627\u0644\u062A\u0633\u062C\u064A\u0644 \u0639\u0644\u0649 \u0628\u0631\u0627\u0645\u062C \u0645\u0639\u0647\u062F \u0627\u0644\u0625\u062F\u0627\u0631\u0629 \u0627\u0644\u0639\u0627\u0645\u0629.
44`),ve(),_e(4,"div",4),Se(5," \u064A\u062C\u0628 \u0627\u0646 \u064A\u062A\u0645 \u0627\u0644\u062F\u0641\u0639 \u0628\u0627\u0633\u062A\u062E\u062F\u0627\u0645 \u062E\u062F\u0645\u0629 \u0633\u062F\u0627\u062F \u0642\u0628\u0644 : "),_e(6,"span",5),Se(7),Bn(8,"date"),ve(),He(9,"br")(10,"br"),Se(11," \u0625\u062C\u0645\u0627\u0644\u064A \u0627\u0644\u0633\u0639\u0631 : "),_e(12,"span",5),Se(13),He(14,"img",6),ve(),He(15,"br")(16,"br"),Se(17," \u0631\u0642\u0645 \u0641\u0627\u062A\u0648\u0631\u0629 \u0627\u0644\u0633\u062F\u0627\u062F : "),_e(18,"span",5),Se(19),_e(20,"img",7),Nt("click",function(){Ke(e);let i=Ee();return Qe(i.commonService.copyToClipboard(i.sadad==null?null:i.sadad.sadadBillNo,"\u062A\u0645 \u0646\u0633\u062E \u0631\u0642\u0645 \u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629"))}),ve()(),He(21,"br")(22,"br"),Se(23," \u0631\u0642\u0645 \u0627\u0644\u0645\u0641\u0648\u062A\u0631 : "),_e(24,"span",5),Se(25," 168 "),ve()()}if(t&2){let e=Ee();he(),gt("src",e.successImg,Yn),he(6),yt(" ",Av(8,4,e.sadad==null?null:e.sadad.sadadExpiryDate,"YYYY/MM/dd hh:mm a")," "),he(6),yt(" ",e.sadad==null?null:e.sadad.invoiceAmount," "),he(6),yt(" ",e.sadad==null?null:e.sadad.sadadBillNo," ")}}function O4(t,n){t&1&&(_e(0,"div",0),Se(1," \u0644\u0645 \u064A\u062A\u0645 \u0627\u0644\u0639\u062B\u0648\u0631 \u0639\u0644\u0649 \u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629 "),_e(2,"a",8),Se(3,"\u0627\u0644\u0631\u062C\u0648\u0639 \u0644\u0644\u0633\u0644\u0629"),ve()())}var F4=Rt.production,P4=Rt.localhost,zI=(()=>{class t{constructor(e,r,i,o,s){this.invoicesService=e,this.router=r,this.route=i,this.breadCrumbsService=o,this.commonService=s,this.siteUrl=Rt.siteUrl,this.successImg="/_catalogs/masterpage/ar-sa/CPS/assets/img/internal/pay_invoice.svg"}ngOnInit(){this.setBreadCrumbs(),this.getParams(),!F4&&P4&&(this.successImg=this.siteUrl+this.successImg)}ngOnDestroy(){this.breadCrumbsService.removeLastBreadcrumb()}setBreadCrumbs(){this.breadCrumbsService.addBreadcrumb("\u0633\u062F\u0627\u062F"),this.breadCrumbsService.setPageTitle("\u
440633\u062F\u0627\u062F")}getParams(){this.route.queryParams.subscribe(e=>{let r=e.sadadInvoiceNo;r?this.getInvoice(r):this.router.navigateByUrl("basket")})}getInvoice(e){this.invoicesService.getInvoice(e).subscribe(r=>{this.sadad=r,this.sadad.invoiceStatus==="PAID"&&this.router.navigateByUrl("basket")},()=>this.sadad=null)}static{this.\u0275fac=function(r){return new(r||t)(pe($I),pe(On),pe(Hn),pe(es),pe(A_))}}static{this.\u0275cmp=At({type:t,selectors:[["app-sadad"]],standalone:!1,decls:2,vars:1,consts:[[1,"pay-action"],[1,"sadad_details-img"],["alt","success image",3,"src"],[1,"sadad_details_title"],[1,"sadad_details"],[1,"sadad-g"],["src","/_catalogs/masterpage/ar-sa/CPS/assets/img/internal/riyal-circular.svg","alt","riyal"],["src","/_catalogs/masterpage/ar-sa/CPS/assets/img/copy-c.png","alt","copy","title","\u0646\u0633\u062E \u0631\u0642\u0645 \u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629",1,"ms-1",2,"cursor","pointer",3,"click"],["routerLink","/basket"]],template:function(r,i){r&1&&Ye(0,k4,26,7)(1,O4,4,0,"div",0),r&2&&qe(i.sadad?0:1)},dependencies:[Xh,Jv],encapsulation:2})}}return t})();var Np=["0750203","0750201"];var ts=(()=>{class t{constructor(e){this.http=e,this.apiUrl=Rt.apiUrl,this.prepCourseCode=Np,this.Baskets=new Tn([])}getBasket(){return this.http.get(this.apiUrl+"store/basket").pipe(_t(e=>(e&&(e=e.map(r=>Ze(ae({},r),{item:Ze(ae({},r.item),{prepCoursePrice:this.prepCourseCode.includes(r.item.details.trnActivityTypeCode)?300:0})}))),e)))}addBasket(e){return this.http.post(this.apiUrl+"store/basket",e)}validateBasket(){return this.http.get(this.apiUrl+"store/basket/validate")}deletePKGBasket(e){return this.http.post(this.apiUrl+"store/basket/delete-pkg-basket",e)}applyDiscount(e){let r=new Kn().append("discountCode",e);return this.http.post(this.apiUrl+"store/basket/discount",null,{params:r})}applyShaheedBox(e){let r=new Kn().append("discountCode",e);return this.http.post(this.apiUrl+"store/basket/nomination-shaheed-box",null,{params:r})}deleteDiscount(){return this.http.delete(this.apiUrl+"store/basket/discount")}clearBasket(){return this.http.put(this.apiUrl+"store/basket/clear",null)}uploadFile(e){let r=new FormData;return r.append("file",e),this.http.post(this.apiUrl+"store/basket/uploadBasketAttachment",r)}getBaskets(){return this.Baskets}setBaskets(e){this.Baskets.next(e)}static{this.\u0275fac=function(r){return new(r||t)(Ce(Er))}}static{this.\u0275prov=fe({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function L4(t,n){t&1&&(_e(0,"div",2),Se(1,` \u0633\u064A\u062A\u0645 \u0625\u0631\u0633\u0627\u0644 \u0631\u0633\u0627\u0644\u0629 \u062A\u0623\u0643\u064A\u062F \u0639\u0644\u0649 \u0628\u0631\u064A\u062F\u0643 \u0627\u0644\u0645\u0633\u062C\u0644 \u0641\u064A \u062D\u0627\u0644 \u0627\u0643\u062A\u0645\u0627\u0644 \u0639\u0645\u0644\u064A\u0629 \u0627\u0644\u062A\u0633\u062C\u064A\u0644 \u0641\u064A \u0627\u0644\u0628\u0631\u0627\u0645\u062C
45`),ve())}function j4(t,n){t&1&&(_e(0,"div",2),Se(1,` \u062D\u062F\u062B \u062E\u0637\u0623 \u0641\u064A \u0627\u0644\u062F\u0641\u0639
46`),ve())}var V4=Rt.production,U4=Rt.localhost,GI=(()=>{class t{constructor(e,r,i,o,s,a){this.route=e,this.router=r,this.breadCrumbsService=i,this.paymentService=o,this.basketService=s,this.toastrService=a,this.siteUrl=Rt.siteUrl,this.successImg="/_catalogs/masterpage/ar-sa/CPS/assets/img/internal/mail_send.svg",this.failureImg="/_catalogs/masterpage/ar-sa/CPS/assets/img/internal/error_payment.svg",this.isVerifySuccess=!0}ngOnInit(){this.breadCrumbsService.addBreadcrumb("\u062A\u0645 \u0627\u0644\u062F\u0641\u0639"),this.breadCrumbsService.setPageTitle("\u062A\u0645 \u0627\u0644\u062F\u0641\u0639"),!V4&&U4&&(this.successImg=this.siteUrl+this.successImg,this.failureImg=this.siteUrl+this.failureImg),this.clearBasket()}ngOnDestroy(){this.breadCrumbsService.removeLastBreadcrumb()}getParams(){this.route.queryParams.subscribe(e=>{this.trackId=e.trackId,this.trackId?this.verifyPayment():this.router.navigateByUrl("")})}clearBasket(){this.basketService.clearBasket().subscribe({next:e=>{resetBasket()}})}verifyPayment(){this.paymentService.verifyPayment(this.trackId).subscribe({next:e=>{resetBasket(),this.toastrService.success(e.message),this.isVerifySuccess=!0},error:()=>{this.isVerifySuccess=!1}})}static{this.\u0275fac=function(r){return new(r||t)(pe(Hn),pe(On),pe(es),pe(yl),pe(ts),pe(lr))}}static{this.\u0275cmp=At({type:t,selectors:[["app-success-payment"]],standalone:!1,decls:4,vars:2,consts:[[1,"sadad_details-img"],["alt","success image",3,"src"],[1,"sadad_details_title"]],template:function(r,i){r&1&&(_e(0,"div",0),He(1,"img",1),ve(),Ye(2,L4,2,0,"div",2)(3,j4,2,0,"div",2)),r&2&&(he(),gt("src",i.isVerifySuccess?i.successImg:i.failureImg,Yn),he(),qe(i.isVerifySuccess?2:3))},encapsulation:2})}}return t})();var WI=["1007"];var ns=(()=>{class t{constructor(e){this.http=e,this.apiUrl=Rt.portalApiUrl,this.httpOptions={headers:new Gi({"Content-Type":"application/json;
46odata=nometadata",Accept:"application/json;odata=nometadata"})}}getTermsAndConditions(){return this.http.get(this.apiUrl+"_api/web/lists/GetByTitle('TermsAndConditions')/items",this.httpOptions).pipe(_t(e=>e.value.map(r=>({Data:r.Data}))[0]))}getMaslakTermsAndConditions(){return this.http.get(this.apiUrl+"_api/web/lists/GetByTitle('MaslakTermsAndConditions')/items",this.httpOptions).pipe(_t(e=>e.value.map(r=>({Data:r.Data}))[0]))}getLeadershipTermsAndConditions(){return this.http.get(this.apiUrl+"_api/web/lists/GetByTitle('leadership-terms-and-conditions')/items",this.httpOptions).pipe(_t(e=>e.value.map(r=>({Data:r.Data}))[0]))}getPaymentSettings(){return this.http.get(this.apiUrl+"_api/web/lists/GetByTitle('payment-settings')/items?$select=Title,Available",this.httpOptions)}static{this.\u0275fac=function(r){return new(r||t)(Ce(Er))}}static{this.\u0275prov=fe({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var B4=t=>({"item-price-discount":t}),H4=t=>({disabled:t});function $4(t,n){t&1&&Se(0," \u0627\u0644\u062F\u0648\u0631\u0629 \u0627\u0644\u062A\u062F\u0631\u064A\u0628\u064A\u0629 ")}function z4(t,n){t&1&&Se(0," \u0627\u0644\u0628\u0627\u0642\u0629 \u0627\u0644\u062A\u062F\u0631\u064A\u0628\u064A\u0629 ")}function G4(t,n){if(t&1&&(_e(0,"div",4)(1,"span"),Se(2),ve(),_e(3,"span"),Se(4),ve()(),_e(5,"div",4)(6,"span",15),He(7,"img",16),Se(8),ve()()),t&2){let e=Ee().$implicit;he(2),vi(e.item==null||e.item.details==null?null:e.item.details.provinceName),he(2),vi(e.item==null||e.item.details==null||e.item.details.executingTimeDesc==null?null:e.item.details.executingTimeDesc.split(" ")[0]),he(4),yt(" ",(e.item==null||e.item.details==null?null:e.item.details.startDate)+" - "+(e.item==null||e.item.details==null?null:e.item.details.endDate)," ")}}function W4(t,n){if(t&1&&(_e(0,"div",4)(1,"span"),Se(2),ve()()),t&2){let e=Ee().$implicit;he(2),vi(e.item==null||e.item.details==null?null:e.item.details.packageTypeName)}}function Y4(t,n){if(t&1&&(_e(0,"div",6),Se(1),Bn(2,"currency"),He(3,"img",8),ve()),t&2){let e=Ee(3);he(),yt(" ",yo(2,1,e.realPackageCost,"SAR","")," ")}}function q4(t,n){if(t&1&&(_e(0,"div",9),Se(1),Bn(2,"currency"),He(3,"img",8),ve()),t&2){let e=Ee(),r=e.$implicit,i=e.$index,o=Ee(2);he(),yt(" ",yo(2,1,o.discountedPrice(r,i),"SAR","")," ")}}function Z4(t,n){t&1&&He(0,"div",12)}function K4(t,n){if(t&1&&(_e(0,"div",13),Se(1," \u0645\u0644\u0627\u062D\u0638\u0629: \u0627\u0644\u0645\u0628\u0644\u063A \u0627\u0644\u0625\u062C\u0645\u0627\u0644\u064A \u0644\u0644\u0628\u0631\u0646\u0627\u0645\u062C \u0647\u0648 "),_e(2,"strong",17),Se(3),Bn(4,"currency"),He(5,"img",8),ve(),Se(6," \u0648\u0633\u064A\u062A\u0645 \u062D\u0627\u0644\u064A\u0627 \u0627\u0633\u062A\u062D\u0642\u0627\u0642 \u0645\u0628\u0644\u063A "),_e(7,"strong",17),Se(8),Bn(9,"currency"),He(10,"img",8),ve(),Se(11," \u0648\u0647\u0648 \u0639\u0628\u0627\u0631\u0629 \u0639\u0646 \u0631\u0633\u0648\u0645 \u062A\u0633\u062C\u064A\u0644 \u063A\u064A\u0631 \u0645\u0633\u062A\u0631\u062F\u0629. "),ve()),t&2){let e=Ee().$implicit;he(3),yt(" ",yo(4,2,e.item==null?null:e.item.price,"SAR","")," "),he(5),yt(" ",yo(9,6,e.item==null?null:e.item.prepCoursePrice,"SAR","")," ")}}function Q4(t,n){if(t&1&&(_e(0,"div",14),Se(1),ve()),t&2){let e=Ee().$index,r=Ee(2);he(),yt(" ",r.discountMessage(e)," ")}}function J4(t,n){if(t&1){let e=fn();_e(0,"div",1)(1,"div",2),Ye(2,$4,1,0)(3,z4,1,0),_e(4,"div",3),Se(5),ve(),Ye(6,G4,9,3)(7,W4,3,1,"div",4),ve(),_e(8,"div",5),Ye(9,Y4,4,5,"div",6),_e(10,"div",7),Se(11),Bn(12,"currency"),He(13,"img",8),ve(),Ye(14,q4,4,5,"div",9),_e(15,"a",10),Se(16,"\u0627\u0644\u062A\u0641\u0627\u0635\u064A\u0644"),ve(),_e(17,"button",11),Nt("click",function(){let i=Ke(e),o=i.$implicit,s=i.$index,a=Ee(2);return Qe(a.confirmDeleteBasketItem(o,s))}),Se(18,"\u062D\u0630\u0641 "),Ye(19,Z4,1,0,"div",12),ve()(),Ye(20,K4,12,10,"div",13),Ye(21,Q4,2,1,"div",14),ve()}if(t&2){let e=n.$implicit,r=n.$index,i=Ee(2);he(2),qe(i.isStandalone(e)?2:i.isPackage(e)?3:-1),he(3),vi(e.item==null?null:e.item.name),he(),qe(i.isStandalone(e)?6:i.isPackage(e)?7:-1),he(3),qe(i.isPackage(e)?9:-1),he(),gt("ngClass",yr(16,B4,i.hasAnyDiscount()&&(i.hasDiscountAt(r)||i.isShaheedBox(r)))),he(),yt(" ",yo(12,12,i.displayBasePrice(e),"SAR","")," "),he(3),qe(i.hasAnyDiscount()&&(i.hasDiscountAt(r)||i.isShaheedBox(r))?14:-1),he(),gt("href",e.item==null?null:e.item.itemUrl,Yn),he(2),gt("ngClass",yr(18,H4,i.deleteLoading&&r===i.currentItemIndex)),he(2),qe(i.deleteLoading&&r===i.currentItemIndex?19:-1),he(),qe((e.item==null?null:e.item.prepCoursePrice)===300?20:-1),he(),qe(i.hasAnyDiscount()?21:-1)}}function X4(t,n){if(t&1&&Ps(0,J4,22,20,"div",1,Iv().trackByBasket,!0),t&2){let e=Ee();Ls(e.displayBaskets)}}function eU(t,n){t&1&&(_e(0,"div",0),Se(1," \u0644\u0627 \u062A\u0648\u062C\u062F \u0639\u0646\u0627\u0635\u0631 \u0641\u064A \u0627\u0644\u0633\u0644\u0629 \u062D\u0627\u0644\u064A\u064B\u0627. "),ve())}var YI=(()=>{class t{set baskets(e){this._baskets=Array.isArray(e)?e:[],this.buildDisplay()}get baskets(){return this._baskets}constructor(e,r){this.basketService=e,this._toast=r,this._baskets=[],this.basketTotal=0,this.appliedDiscountInfo={discounts:[],totalDiscount:0},this.getBasket=new Ge,this.displayBaskets=[],this.deleteLoading=!1,this.currentItemIndex=-1,this.realPackageCost=0}ngOnInit(){this.buildDisplay()}ngOnChanges(e){this.buildDisplay()}hasItems(){return(this.displayBaskets?.length??0)>0}isPackage(e){return Number(e?.item?.details?.packageCode??0)>0}isStandalone(e){return!this.isPackage(e)}discountMessage(e){let r=this.appliedDiscountInfo?.discounts?.[e];return r?(r.discount===0&&r.message,r.message??""):""}hasAnyDiscount(){return(this.appliedDiscountInfo?.discounts?.length??0)>0}isShaheedBox(e){let r=this.appliedDiscountInfo?.discounts?.[e],i=this.displayBaskets?.[e]?.item?.prepCoursePrice;return!!r&&r.discount===0&&r.message===null&&i===300}hasDiscountAt(e){let r=this.appliedDiscountInfo?.discounts;return!r||!r[e]?!1:Number(r[e].discount??0)>0}discountedPrice(e,r){let i=Number(e?.item?.price??0),o=Number(this.appliedDiscountInfo?.discounts?.[r]?.discount??0);return this.isShaheedBox(r)?0:i-o}displayBasePrice(e){return e?.item?.prepCoursePrice===300?300:Number(e?.item?.price??0)}buildDisplay(){let e=this._baskets??[],r=new Map,i=[];for(let s of e){let a=Number(s?.item?.details?.packageCode??0);a>0?(r.has(a)||r.set(a,[]),r.get(a).push(s)):i.push(s)}let o=[];for(let s of i)s?.item?.name||(s.item=Ze(ae({},s?.item??{}),{name:s?.item?.details?.activityName??"\u062F\u0648\u0631\u0629 \u062A\u062F\u0631\u064A\u0628\u064A\u0629"})),o.push(s);r.forEach((s,a)=>
46{if(!s.length)return;let l=s.reduce((m,v)=>{let y=v?.item?.details??{};return m+Number(y?.activityTotalCost??0)},0);this.realPackageCost=s.reduce((m,v)=>{let y=v?.item?.details??{};return m+Number(y?.activityCost??0)},0);let u=s[0],f=Ze(ae({},u),{item:ae({},u.item)}),h=u?.item?.details??{};f.item.name=h?.PackageName??h?.packageTypeName??f.item.name??"\u0628\u0627\u0642\u0629 \u062A\u062F\u0631\u064A\u0628\u064A\u0629",f.item.price=l,f.item.prepCoursePrice!==void 0&&delete f.item.prepCoursePrice,f.bundleCourses=s,o.push(f)}),this.displayBaskets=o,this.basketTotal=this.displayBaskets.reduce((s,a)=>{let u=a?.item?.prepCoursePrice===300?300:Number(a?.item?.price??0);return s+u},0)}trackByBasket(e,r){let i=Number(r?.item?.details?.PackageID??0);return i>0?`pkg-${i}`:`act-${r?.item?.details?.activityCode??e}`}confirmDeleteBasketItem(e,r){let i=this.isPackage(e),o=e?.item?.name??(i?e?.item?.details?.PackageName:"\u0647\u0630\u0627 \u0627\u0644\u0639\u0646\u0635\u0631"),s=i?`\u0633\u064A\u062A\u0645 \u062D\u0630\u0641 \u0627\u0644\u0628\u0627\u0642\u0629 : "${o}". \u0647\u0644 \u062A\u0631\u064A\u062F \u0627\u0644\u0645\u062A\u0627\u0628\u0639\u0629\u061F`:`\u0633\u0648\u0641 \u064A\u062A\u0645 \u062D\u0630\u0641 "${o}"`;window.confirm(s)&&this.deleteBasket(e,r)}deleteBasket(e,r){this.currentItemIndex=r,this.deleteLoading=!0;let i=e?.item?.details??{},o=Number(i?.packageCode??0),s=[];if(o>0){s=(this._baskets??[]).filter(l=>Number(l?.item?.details?.packageCode??0)!==o),this._baskets=s,this.buildDisplay();let a={p_trainee_code:i?.traineeCode,p_package_code:i?.packageCode};this.basketService.deletePKGBasket(a).subscribe(()=>{this.deleteLoading=!1,this.getBasket.emit(),this.currentItemIndex=-1},l=>{this._toast.error(l?.error?.message||l?.error?.Message),this.deleteLoading=!1,this.currentItemIndex=-1})}else{let a=i?.activityCode;s=(this._baskets??[]).filter(l=>{let u=l?.item?.details??{},f=Number(u?.packageCode??0),h=u?.activityCode;return!(f===0&&h===a)}),this._baskets=s,this.buildDisplay()}this.basketService.addBasket(s).subscribe(()=>{this.deleteLoading=!1,this.getBasket.emit(),this.currentItemIndex=-1},a=>{this._toast.error(a?.error?.message||a?.error?.Message),this.deleteLoading=!1,this.currentItemIndex=-1})}static{this.\u0275fac=function(r){return new(r||t)(pe(ts),pe(lr))}}static{this.\u0275cmp=At({type:t,selectors:[["app-basket-detail"]],inputs:{baskets:"baskets",basketTotal:"basketTotal",appliedDiscountInfo:"appliedDiscountInfo"},outputs:{getBasket:"getBasket"},standalone:!1,features:[kn],decls:2,vars:1,consts:[[1,"p-4","text-center","text-muted"],[1,"row","payment-card"],[1,"col-lg-8","p-4"],[1,"card-title"],[1,"card-tag"],[1,"col-lg-4","p-4","payment-t-padding"],[1,"item-price","item-price-discount"],[1,"item-price",3,"ngClass"],["src","/_catalogs/masterpage/ar-sa/CPS/assets/img/internal/riyal-circular.svg"],[1,"item-price"],[1,"tp-link","tp-link-Primary",3,"href"],["type","button",1,"tp-link","tp-link-secondary","ms-2",3,"click","ngClass"],["id","btn-loader",2,"vertical-align","bottom"],[1,"row","m-2","mt-3","d-block",2,"color","var(--colors-error-500)"],[1,"row","m-2","mt-3","d-block","fw-bold",2,"color","var(--colors-error-500)"],[1,"green-tag"],["src","/_catalogs/masterpage/ar-sa/CPS/assets/img/internal/calendar.svg"],[1,"px-0"]],template:function(r,i){r&1&&Ye(0,X4,2,0)(1,eU,2,0,"div",0),r&2&&qe(i.hasItems()?0:1)},dependencies:[Us,Lc],styles:[".saudi_riyal_basket_prep[_ngcontent-%COMP%]{height:13px;padding-right:0}"]})}}return t})();var _l=(()=>{class t{constructor(e){this.sanitized=e}transform(e){return this.sanitized.bypassSecurityTrustHtml(e)}static{this.\u0275fac=function(r){return new(r||t)(pe(Wc,16))}}static{this.\u0275pipe=Fs({name:"safeHtml",type:t,pure:!0,standalone:!1})}}return t})();function nU(t,n){if(t&1&&(He(0,"div",6),Bn(1,"safeHtml")),t&2){let e=Ee();gt("innerHTML",Vs(1,1,e.termsAndConditions.Data),hi)}}var qI=(()=>{class t{constructor(e){this.spService=e}ngOnInit(){this.getTermsAndConditions()}getTermsAndConditions(){this.spService.getTermsAndConditions().subscribe(e=>{this.termsAndConditions=e})}static{this.\u0275fac=function(r){return new(r||t)(pe(ns))}}static{this.\u0275cmp=At({type:t,selectors:[["app-terms-and-conditions"]],standalone:!1,decls:8,vars:1,consts:[["tabindex","-1","id","termsAndConditionModal",1,"modal"],[1,"modal-dialog","modal
46-lg"],[1,"modal-content"],[1,"modal-header"],[1,"modal-title","ms-0","fs-4","fw-bold"],["type","button","data-bs-dismiss","modal","aria-label","Close",1,"btn-close"],[1,"modal-body","p-3",2,"text-align","justify",3,"innerHTML"]],template:function(r,i){r&1&&(_e(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"span",4),Se(5,"\u0627\u0644\u0634\u0631\u0648\u0637 \u0648\u0627\u0644\u0623\u062D\u0643\u0627\u0645 "),ve(),He(6,"button",5),ve(),Ye(7,nU,2,3,"div",6),ve()()()),r&2&&(he(7),qe(i.termsAndConditions!=null&&i.termsAndConditions.Data?7:-1))},dependencies:[_l],encapsulation:2})}}return t})();function iU(t,n){if(t&1&&(He(0,"div",6),Bn(1,"safeHtml")),t&2){let e=Ee();gt("innerHTML",Vs(1,1,e.termsAndConditions.Data),hi)}}var ZI=(()=>{class t{constructor(e){this.spService=e}ngOnInit(){this.getTermsAndConditions()}getTermsAndConditions(){this.spService.getMaslakTermsAndConditions().subscribe(e=>{this.termsAndConditions=e})}static{this.\u0275fac=function(r){return new(r||t)(pe(ns))}}static{this.\u0275cmp=At({type:t,selectors:[["app-maslak-terms-and-conditions"]],standalone:!1,decls:8,vars:1,consts:[["tabindex","-1","id","maslaTermsAndConditionModal",1,"modal"],[1,"modal-dialog","modal
46-lg"],[1,"modal-content"],[1,"modal-header"],[1,"modal-title","ms-0","fs-4","fw-bold"],["type","button","data-bs-dismiss","modal","aria-label","Close",1,"btn-close"],[1,"modal-body","p-3",2,"text-align","justify",3,"innerHTML"]],template:function(r,i){r&1&&(_e(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"span",4),Se(5,"\u0627\u0644\u0634\u0631\u0648\u0637 \u0648\u0627\u0644\u0623\u062D\u0643\u0627\u0645 (\u0645\u0633\u0644\u0643)"),ve(),He(6,"button",5),ve(),Ye(7,iU,2,3,"div",6),ve()()()),r&2&&(he(7),qe(i.termsAndConditions!=null&&i.termsAndConditions.Data?7:-1))},dependencies:[_l],encapsulation:2})}}return t})();var sU=["leadershipTermsAndConditionsCloseModal"];function aU(t,n){t&1&&He(0,"div",13)}function lU(t,n){if(t&1){let e=fn();_e(0,"div",7),He(1,"div",8),Bn(2,"safeHtml"),_e(3,"form",9)(4,"ipa-file-upload",10),Nt("fileAdded",function(i){Ke(e);let o=Ee();return Qe(o.fileAdded(i))})("fileDeleted",function(i){Ke(e);let o=Ee();return Qe(o.fileDeleted(i))}),ve()()(),_e(5,"div",11)(6,"button",12),Nt("click",function(){Ke(e);let i=Ee();return Qe(i.uploadFile())}),Se(7," \u062A\u062D\u0645\u064A\u0644 "),Ye(8,aU,1,0,"div",13),ve()()}if(t&2){let e=Ee();he(),gt("innerHTML",Vs(2,9,e.termsAndConditions.Data),hi),he(2),gt("formGroup",e.leadershipFormGroup),he(),gt("label","\u0627\u0644\u0633\u064A\u0631\u0629 \u0627\u0644\u0630\u0627\u062A\u064A\u0629")("acceptedFiles",".docx,.doc,.pdf")("multiple",1)("maxFileSize",2)("required",!0),he(2),gt("disabled",!e.leadershipFormGroup.valid||e.loading||e.file&&(e.file==null?null:e.file.status)==="error"),he(2),qe(e.loading?8:-1)}}var KI=(()=>{class t{constructor(e,r,i){this.spService=e,this.basketService=r,this.toastrService=i,this.loading=!1}ngOnInit(){this.createPledgeLeadershipFormGroup(),this.getLeadershipTermsAndConditions()}fileAdded(e){this.leadershipFormGroup.controls.file.patchValue(e),this.file=e}fileDeleted(e){this.leadershipFormGroup.controls.file.patchValue(null),this.file=null}uploadFile(){this.modalClose.nativeElement.disabled=!0,this.loading=!0,this.basketService.uploadFile(this.file).subscribe({next:e=>{this.toastrService.success(e.message),setTimeout(()=>{this.afterUpload(),this.modalClose.nativeElement.click()},1e3)},error:()=>{this.afterUpload()}})}getLeadershipTermsAndConditions(){this.spService.getLeadershipTermsAndConditions().subscribe(e=>{this.termsAndConditions=e})}createPledgeLeadershipFormGroup(){this.leadershipFormGroup=new n_({file:new vp(null,[mu.required])})}afterUpload(){this.modalClose.nativeElement.disabled=!1,this.loading=!1}static{this.\u0275fac=function(r){return new(r||t)(pe(ns),pe(ts),pe(lr))}}static{this.\u0275cmp=At({type:t,selectors:[["app-leadership-terms-and-conditions"]],viewQuery:function(r,i){if(r&1&&pi(sU,5),r&2){let o;mi(o=gi())&&(i.modalClose=o.first)}},standalone:!1,decls:9,vars:1,consts:[["leadershipTermsAndConditionsCloseModal",""],["tabindex","-1","id","leadershipTermsAndConditionsModal","data-bs-backdrop","static","data-bs-keyboard","false",1,"modal"],[1,"modal-dialog","modal
46-lg"],[1,"modal-content"],[1,"modal-header"],[1,"modal-title","ms-0","fs-4","fw-bold"],["type","button","data-bs-dismiss","modal","aria-label","Close",1,"btn-close"],[1,"modal-body","p-3",2,"text-align","justify"],[3,"innerHTML"],[1,"p-4",3,"formGroup"],["ngDefaultControl","","formControlName","file",3,"fileAdded","fileDeleted","label","acceptedFiles","multiple","maxFileSize","required"],[1,"modal-footer"],["type","button",1,"btn","btn-primary","btn-loader-container",3,"click","disabled"],["id","btn-loader"]],template:function(r,i){r&1&&(_e(0,"div",1)(1,"div",2)(2,"div",3)(3,"div",4)(4,"span",5),Se(5," \u0627\u0644\u0634\u0631\u0648\u0637 \u0648\u0627\u0644\u0623\u062D\u0643\u0627\u0645 (\u0628\u0631\u0627\u0645\u062C \u0627\u0644\u062A\u0637\u0648\u064A\u0631 \u0627\u0644\u0642\u064A\u0627\u062F\u064A)"),ve(),He(6,"button",6,0),ve(),Ye(8,lU,9,11),ve()()()),r&2&&(he(8),qe(i.termsAndConditions!=null&&i.termsAndConditions.Data?8:-1))},dependencies:[PI,yp,cl,pp,mp,_u,c_,l_,_l],encapsulation:2})}}return t})();var uU=["leadershipTermsAndConditionsOpenModal"],O_=t=>({disabled:t});function dU(t,n){if(t&1&&(_e(0,"div",15),Se(1),ve()),t&2){let e=Ee(2);he(),yt(" ",e.discountErrorMsg," ")}}function fU(t,n){t&1&&He(0,"div",18)}function hU(t,n){if(t&1){let e=fn();_e(0,"div",25)(1,"input",37,1),Yr("ngModelChange",function(i){Ke(e);let o=Ee(2);return yi(o.agreeLeadershipTermsAndConditions,i)||(o.agreeLeadershipTermsAndConditions=i),Qe(i)}),ve(),_e(3,"label",38),Se(4," \u0627\u0644\u0645\u0648\u0627\u0641\u0642\u0629 \u0639\u0644\u0649 \u0627\u0644\u0634\u0631\u0648\u0637 \u0648\u0627\u0644\u0623\u062D\u0643\u0627\u0645 \u0627\u0644\u062E\u0627\u0635\u0629 \u0628\u0628\u0631\u0627\u0645\u062C \u0627\u0644\u062A\u0637\u0648\u064A\u0631 \u0627\u0644\u0642\u064A\u0627\u062F\u064A "),ve(),He(5,"app-leadership-terms-and-conditions"),ve()}if(t&2){let e=Ee(2);he(),Wr("ngModel",e.agreeLeadershipTermsAndConditions),Un("data-bs-target",e.agreeLeadershipTermsAndConditions?"":"#leadershipTermsAndConditionsModal")("data-bs-toggle","modal")}}function pU(t,n){if(t&1){let e=fn();_e(0,"div",25)(1,"input",39),Yr("ngModelChange",function(i){Ke(e);let o=Ee(2);return yi(o.agreeMaslakTermsAndConditions,i)||(o.agreeMaslakTermsAndConditions=i),Qe(i)}),ve(),_e(2,"label",40),Se(3," \u0647\u0644 \u062A\u0631\u063A\u0628 \u0628\u0627\u0644\u062D\u0635\u0648\u0644 \u0639\u0644\u0649 \u062A\u0645\u0648\u064A\u0644 \u0645\u0646 \u0645\u0624\u0633\u0633\u0629 \u0633\u0644\u064A\u0645\u0627\u0646 \u0627\u0644\u0631\u0627\u062C\u062D\u064A \u0644\u0644\u062A\u0645\u0648\u064A\u0644 \u0627\u0644\u062A\u0646\u0645\u0648\u064A (\u0645\u0633\u0644\u0643) \u0644\u062F\u0641\u0639 \u0642\u064A\u0645\u0629 \u0627\u0644\u0628\u0631\u0646\u0627\u0645\u062C\u061F "),ve(),He(4,"app-maslak-terms-and-conditions"),ve()}if(t&2){let e=Ee(2);he(),Wr("ngModel",e.agreeMaslakTermsAndConditions),Un("data-bs-target",e.agreeMaslakTermsAndConditions?"":"#maslaTermsAndConditionModal")("data-bs-toggle","modal")}}function mU(t,n){if(t&1){let e=fn();_e(0,"input",41),Yr("ngModelChange",function(i){Ke(e);let o=Ee(2);return yi(o.payBy,i)||(o.payBy=i),Qe(i)}),ve(),_e(1,"label",42),He(2,"img",43),ve()}if(t&2){let e=Ee(2);Wr("ngModel",e.payBy),he(2),gt("src",xc(e.sadadImg),Yn)}}function gU(t,n){if(t&1){let e=fn();_e(0,"input",44),Yr("ngModelChange",function(i){Ke(e);let o=Ee(2);return yi(o.payBy,i)||(o.payBy=i),Qe(i)}),ve(),_e(1,"label",45),He(2,"img",46),ve()}if(t&2){let e=Ee(2);Wr("ngModel",e.payBy),he(2),gt("src",xc(e.madaImg),Yn)}}function vU(t,n){t&1&&He(0,"div",48)}function yU(t,n){if(t&1){let e=fn();_e(0,"button",47),Nt("click",function(){Ke(e);let i=Ee(2);return Qe(i.pay())}),Se(1," \u0627\u062F\u0641\u0639 \u0627\u0644\u0627\u0646 "),Ye(2,vU,1,0,"div",48),ve()}if(t&2){let e=Ee(2);gt("ngClass",yr(2,O_,e.loading)),he(2),qe(e.loading?2:-1)}}function _U(t,n){t&1&&He(0,"div",48)}function DU(t,n){if(t&1){let e=fn();_e(0,"button",47),Nt("click",function(){Ke(e);let i=Ee(2);return Qe(i.applyShaheedBox())}),Se(1," \u0627\u062F\u0641\u0639 \u0627\u0644\u0627\u0646 "),Ye(2,_U,1,0,"div",48),ve()}if(t&2){let e=Ee(2);gt("ngClass",yr(2,O_,e.loading)),he(2),qe(e.loading?2:-1)}}function EU(t,n){if(t&1){let e=fn();_e(0,"div",3),Se(1,"\u0627\u0644\u062F\u0641\u0639:"),ve(),_e(2,"div",4)(3,"div",5)(4,"app-basket-detail",6),Nt("getBasket",function(){Ke(e);let i=Ee();return Qe(i.getBasket())}),ve()(),_e(5,"div",7)(6,"div",8)(7,"div",9)(8,"form",10,0)(10,"div",11)(11,"label",12),Se(12,"\u0647\u0644 \u0644\u062F\u064A\u0643 \u0643\u0648\u062F\u061F"),ve(),_e(13,"input",13),Yr("ngModelChange",function(i){Ke(e);let o=Ee();
46return yi(o.code,i)||(o.code=i),Qe(i)}),Nt("input",function(){Ke(e);let i=Ee();return Qe(i.discountErrorMsg=i.code?i.discountErrorMsg:"")}),ve(),_e(14,"input",14),Yr("ngModelChange",function(i){Ke(e);let o=Ee();return yi(o.code,i)||(o.code=i),Qe(i)}),ve(),Ye(15,dU,2,1,"div",15),ve(),_e(16,"div",16)(17,"button",17),Nt("click",function(){Ke(e);let i=Ee();return Qe(i.discountApplied?i.deleteDiscountCode():i.applyDiscountCode())}),Se(18),Ye(19,fU,1,0,"div",18),ve()()(),_e(20,"div",10)(21,"div",11)(22,"div",19),Se(23,"\u0625\u062C\u0645\u0627\u0644\u064A \u0627\u0644\u0645\u0628\u0644\u063A \u0627\u0644\u0645\u0633\u062A\u062D\u0642"),ve(),Se(24," * \u062C\u0645\u064A\u0639 \u0627\u0644\u0625\u0633\u0639\u0627\u0631 \u0634\u0627\u0645\u0644\u0629 \u0636\u0631\u064A\u0628\u0629 \u0627\u0644\u0642\u064A\u0645\u0629 \u0627\u0644\u0645\u0636\u0627\u0641\u0629 "),ve(),_e(25,"div",20)(26,"div",21),Se(27),Bn(28,"currency"),He(29,"img",22),ve()()(),_e(30,"div",23)(31,"div",24)(32,"div",25)(33,"input",26),Yr("ngModelChange",function(i){Ke(e);let o=Ee();return yi(o.termsAndConditions,i)||(o.termsAndConditions=i),Qe(i)}),ve(),_e(34,"label",27),Se(35," \u0627\u0644\u0645\u0648\u0627\u0641\u0642\u0629 \u0639\u0644\u0649 "),_e(36,"a",28),Se(37,"\u0627\u0644\u0634\u0631\u0648\u0637 \u0648\u0627\u0644\u0623\u062D\u0643\u0627\u0645"),ve()(),He(38,"app-terms-and-conditions"),ve(),_e(39,"div",25)(40,"input",29),Yr("ngModelChange",function(i){Ke(e);let o=Ee();return yi(o.intellectualPropertyPolicy,i)||(o.intellectualPropertyPolicy=i),Qe(i)}),ve(),_e(41,"label",30),Se(42," \u0627\u0644\u0645\u0648\u0627\u0641\u0642\u0629 \u0639\u0644\u0649 \u0633\u064A\u0627\u0633\u0629 \u0627\u0644\u0645\u0644\u0643\u064A\u0629 \u0627\u0644\u0641\u0643\u0631\u064A\u0629. \u0644\u0644\u0645\u0632\u064A\u062F "),_e(43,"a",31),Se(44,"\u0627\u0636\u063A\u0637 \u0647\u0646\u0627"),ve()()(),_e(45,"div",25)(46,"input",32),Yr("ngModelChange",function(i){Ke(e);let o=Ee();return yi(o.ExecutiveRegulations,i)||(o.ExecutiveRegulations=i),Qe(i)}),ve(),_e(47,"label",33),Se(48," \u0627\u0644\u0645\u0648\u0627\u0641\u0642\u0629 \u0639\u0644\u0649 \u0627\u0644\u0642\u0648\u0627\u0639\u062F \u0627\u0644\u062A\u0646\u0641\u064A\u0630\u064A\u0629 \u0644\u0644\u0627\u0626\u062D\u0629 \u0627\u0644\u0645\u0648\u062D\u062F\u0629 \u0644\u0644\u062A\u062F\u0631\u064A\u0628 \u0648\u0627\u0644\u062F\u0631\u0627\u0633\u0629. \u0644\u0644\u0645\u0632\u064A\u062F "),_e(49,"a",34),Se(50,"\u0627\u0636\u063A\u0637 \u0647\u0646\u0627"),ve()()(),Ye(51,hU,6,3,"div",25),Ye(52,pU,5,3,"div",25),_e(53,"div",35),Se(54,"\u0627\u0644\u0633\u062F\u0627\u062F \u0628\u0648\u0627\u0633\u0637\u0629"),ve(),Ye(55,mU,3,3),Ye(56,gU,3,3),He(57,"br"),Ye(58,yU,3,4,"button",36),Ye(59,DU,3,4,"button",36),ve()()()()()()}if(t&2){let e=Ic(9),r=Ee();he(4),gt("basketTotal",r.basketTotal)("baskets",r.baskets)("appliedDiscountInfo",r.appliedDiscountInfo),he(9),Wr("ngModel",r.code),gt("disabled",r.discountApplied),he(),Wr("ngModel",r.code),he(),qe(r.discountErrorMsg?15:-1),he(2),gt("ngClass",yr(24,O_,r.discountLoading||!e.valid)),he(),yt(" ",r.discountApplied?r.discountLoading?"":"\u0625\u0632\u0627\u0644\u0629":r.discountLoading?"":"\u062A\u0637\u0628\u064A\u0642"," "),he(),qe(r.discountLoading?19:-1),he(8),yt(" ",r.isShaheedBoxDiscount?"0":yo(28,20,r.basketTotal,"SAR","")," "),he(6),Wr("ngModel",r.termsAndConditions),he(7),Wr("ngModel",r.intellectualPropertyPolicy),he(6),Wr("ngModel",r.ExecutiveRegulations),he(5),qe(r.isLeadershipProgram?51:-1),he(),qe(r.isMaslakPaymentAvailable&&r.isDiplomaProgram&&!r.isMaslakForAdmin||r.isMaslakPaymentAvailable&&r.isDiplomaProgram&&r.isCurrentUserAdmin&&r.isMaslakForAdmin?52:-1),he(3),qe(r.isSadadPaymentAvailable&&!r.isShaheedBoxDiscount?55:-1),he(),qe(r.isMadaPaymentAvailable&&!r.isShaheedBoxDiscount?56:-1),he(2),qe((r.isSadadPaymentAvailable||r.isMadaPaymentAvailable)&&!r.isShaheedBoxDiscount?58:-1),he(),qe(r.isShaheedBoxDiscount?59:-1)}}function CU(t,n){t&1&&(_e(0,"div",2)(1,"span"),Se(2,"\u0627\u0644\u0633\u0644\u0629 \u0641\u0627\u0631\u063A\u0629"),ve()())}var bU=Rt.production,wU=Rt.localhost,QI=(()=>{class t{constructor(e,r,i,o,s,a,l){this.breadCrumbsService=e,this.basketService=r,this.paymentService=i,this.router=o,this.toastrService=s,this.authService=a,this.spService=l,this.baskets=[],this.trainingProgram=[],this.isDiplomaProgram=!1,this.isLeadershipProgram=!1,this.code="",this.basketTotal=0,this.siteUrl=Rt.siteUrl,this.sada
46dImg="/_catalogs/masterpage/ar-sa/assets/img/SADAD.png",this.madaImg="/_catalogs/masterpage/ar-sa/assets/img/MADA.png",this.payBy="",this.loading=!1,this.sadadSelected=!1,this.appliedDiscountInfo={discounts:[],totalDiscount:0},this.discountApplied=!1,this.discountLoading=!1,this.discountErrorMsg="",this.prepCourseCode=Np,this.leadershipCategoryCode=WI,this.userEmail="",this.termsAndConditions=!1,this.intellectualPropertyPolicy=!1,this.ExecutiveRegulations=!1,this.agreeMaslakTermsAndConditions=!1,this.agreeLeadershipTermsAndConditions=!1,this.isSadadPaymentAvailable=!0,this.isMadaPaymentAvailable=!0,this.isMaslakPaymentAvailable=!0,this.isMaslakForAdmin=!1,this.isCurrentUserAdmin=!1,this.isShaheedBoxDiscount=!1,this.directNomination=!1}ngOnInit(){return Tt(this,null,function*(){this.getPaymentSettings(),yield this.getBasket(),this.breadCrumbsService.setPageTitle("\u0633\u0644\u0629 \u0627\u0644\u0645\u0634\u062A\u0631\u064A\u0627\u062A"),this.setMADAandSADADImg()})}ngOnDestroy(){}pay(){let e={timeOut:5e3,progressBar:!0};if(this.termsAndConditions&&this.intellectualPropertyPolicy&&this.ExecutiveRegulations)this.isLeadershipProgram&&!this.agreeLeadershipTermsAndConditions?this.toastrService.info("\u0627\u0644\u0631\u062C\u0627\u0621 \u0627\u0644\u0645\u0648\u0627\u0641\u0642\u0629 \u0639\u0644\u0649 \u0634\u0631\u0648\u0637 \u0648\u0627\u0644\u0623\u062D\u0643\u0627\u0645 \u0627\u0644\u062E\u0627\u0635\u0629 \u0628\u0628\u0631\u0627\u0645\u062C \u0627\u0644\u062A\u0637\u0648\u064A\u0631 \u0627\u0644\u0642\u064A\u0627\u062F\u064A","",e):this.payBy?this.payBy==="MADA"?this.madaPurchase():this.payBy==="SADAD"&&this.sadadPurchase():this.toastrService.info("\u0627\u0644\u0631\u062C\u0627\u0621 \u0627\u062E\u062A\u064A\u0627\u0631 \u0637\u0631\u064A\u0642\u0629 \u0627\u0644\u062F\u0641\u0639","",e);else{if(!this.termsAndConditions){this.toastrService.info("\u0627\u0644\u0631\u062C\u0627\u0621 \u0627\u0644\u0645\u0648\u0627\u0641\u0642\u0629 \u0639\u0644\u0649 \u0627\u0644\u0634\u0631\u0648\u0637 \u0648\u0627\u0644\u0623\u062D\u0643\u0627\u0645","",e);return}if(!this.intellectualPropertyPolicy){this.toastrService.info("\u0627\u0644\u0631\u062C\u0627\u0621 \u0627\u0644\u0645\u0648\u0627\u0641\u0642\u0629 \u0639\u0644\u0649 \u0633\u064A\u0627\u0633\u0629 \u0627\u0644\u0645\u0644\u0643\u064A\u0629 \u0627\u0644\u0641\u0643\u0631\u064A\u0629","",e);return}if(!this.ExecutiveRegulations){this.toastrService.info("\u0627\u0644\u0631\u062C\u0627\u0621 \u0627\u0644\u0645\u0648\u0627\u0641\u0642\u0629 \u0639\u0644\u0649 \u0627\u0644\u0642\u0648\u0627\u0639\u062F \u0627\u0644\u062A\u0646\u0641\u064A\u0630\u064A\u0629 \u0644\u0644\u0627\u0626\u062D\u0629 \u0627\u0644\u0645\u0648\u062D\u062F\u0629 \u0644\u0644\u062A\u062F\u0631\u064A\u0628 \u0648\u0627\u0644\u062F\u0631\u0627\u0633\u0629","",e);return}}}backToBasket(){this.router.navigateByUrl("basket")}getBasket(){this.basketService.getBasket().subscribe(e=>{e.length>0?(this.baskets=e,this.userEmail=this.authService.getDecodedToken().email,this.isDiplomaProgram=this.baskets.some(r=>this.prepCourseCode.includes(r.item.details.trnActivityTypeCode)),this.isLeadershipProgram=this.baskets.some(r=>this.leadershipCategoryCode.includes(r.item.details.categoryCode)),this.calculateBasketTotal(),this.code=this.baskets[0]?.discountCode,this.code&&this.applyDiscountCode()):this.baskets=[]})}applyDiscountCode(){this.discountLoading=!0,this.basketService.applyDiscount(this.code).subscribe(e=>{this.appliedDiscountInfo.discounts=e,this.appliedDiscountInfo.totalDiscount=0,this.calculateDiscountTotal(),this.calculateBasketTotal(),this.basketTotal=this.basketTotal-this.appliedDiscountInfo.totalDiscount,this.discountLoading=!1,this.discountErrorMsg="",this.discountApplied=!0,e.find(i=>i.discount===0&&i.message===null)&&(this.isShaheedBoxDiscount=!0,this.getBasket())},e=>{let r=e.error;this.discountErrorMsg=r.message,this.discountLoading=!1,this.appliedDiscountInfo={discounts:[],totalDiscount:0},this.discountApplied=!1,this.calculateBasketTotal(),this.discountApplied=!0,this.discountLoading=!1})}deleteDiscountCode(){this.discountLoading=!0,this.basketService.deleteDiscount().subscribe({next:e=>{this.calculateBasketTotal(),this.appliedDiscountInfo={discounts:[],totalDiscount:0},this.discountLoading=!1,this.discountErrorMsg="",this.discountApplied=!1,this.code="",this.isShaheedBoxDiscount=!1},error:e=>{this.discountLoading=!1}})}resetDiscountCode(e){e.length===0&&this.discountApplied?this.deleteDiscountCode():this.discountApplied&&this.applyDiscountCode()}
46setMADAandSADADImg(){!bU&&wU&&(this.sadadImg=this.siteUrl+this.sadadImg,this.madaImg=this.siteUrl+this.madaImg)}getPaymentSettings(){this.spService.getPaymentSettings().subscribe(e=>{this.isSadadPaymentAvailable=e.value.filter(r=>r.Title==="1")[0].Available,this.isMadaPaymentAvailable=e.value.filter(r=>r.Title==="2")[0].Available,this.isMaslakPaymentAvailable=e.value.filter(r=>r.Title==="3")[0].Available,this.isMaslakForAdmin=e.value.filter(r=>r.Title==="3foradmin")[0].Available,this.isMaslakPaymentAvailable&&this.isMaslakForAdmin&&this.getMaslakPaymentAdminEmails()})}getMaslakPaymentAdminEmails(){this.userEmail=this.authService.getDecodedToken().email,this.paymentService.getPaymentAdminEmails().subscribe({next:e=>{e.includes(this.userEmail)&&(this.isCurrentUserAdmin=!0)}})}applyShaheedBox(){let e={timeOut:5e3,progressBar:!0};if(this.loading=!0,this.termsAndConditions&&this.intellectualPropertyPolicy&&this.ExecutiveRegulations)this.isLeadershipProgram&&!this.agreeLeadershipTermsAndConditions?(this.toastrService.info("\u0627\u0644\u0631\u062C\u0627\u0621 \u0627\u0644\u0645\u0648\u0627\u0641\u0642\u0629 \u0639\u0644\u0649 \u0634\u0631\u0648\u0637 \u0648\u0627\u0644\u0623\u062D\u0643\u0627\u0645 \u0627\u0644\u062E\u0627\u0635\u0629 \u0628\u0628\u0631\u0627\u0645\u062C \u0627\u0644\u062A\u0637\u0648\u064A\u0631 \u0627\u0644\u0642\u064A\u0627\u062F\u064A","",e),this.loading=!1):this.basketService.applyShaheedBox(this.code).subscribe({next:r=>{this.loading=!1,r.success?resetBasket():this.toastrService.error(r.message)},error:r=>{this.loading=!1,this.afterError(r)}});else{if(!this.termsAndConditions){this.toastrService.info("\u0627\u0644\u0631\u062C\u0627\u0621 \u0627\u0644\u0645\u0648\u0627\u0641\u0642\u0629 \u0639\u0644\u0649 \u0627\u0644\u0634\u0631\u0648\u0637 \u0648\u0627\u0644\u0623\u062D\u0643\u0627\u0645","",e),this.loading=!1;return}if(!this.intellectualPropertyPolicy){this.toastrService.info("\u0627\u0644\u0631\u062C\u0627\u0621 \u0627\u0644\u0645\u0648\u0627\u0641\u0642\u0629 \u0639\u0644\u0649 \u0633\u064A\u0627\u0633\u0629 \u0627\u0644\u0645\u0644\u0643\u064A\u0629 \u0627\u0644\u0641\u0643\u0631\u064A\u0629","",e),this.loading=!1;return}if(!this.ExecutiveRegulations){this.toastrService.info("\u0627\u0644\u0631\u062C\u0627\u0621 \u0627\u0644\u0645\u0648\u0627\u0641\u0642\u0629 \u0639\u0644\u0649 \u0627\u0644\u0642\u0648\u0627\u0639\u062F \u0627\u0644\u062A\u0646\u0641\u064A\u0630\u064A\u0629 \u0644\u0644\u0627\u0626\u062D\u0629 \u0627\u0644\u0645\u0648\u062D\u062F\u0629 \u0644\u0644\u062A\u062F\u0631\u064A\u0628 \u0648\u0627\u0644\u062F\u0631\u0627\u0633\u0629","",e),this.loading=!1;return}}}madaPurchase(){this.loading=!0,this.paymentService.addMadaPurchase(this.agreeMaslakTermsAndConditions).subscribe({next:e=>{location.href=e.result,this.loading=!1},error:e=>
46{this.afterError(e)}})}sadadPurchase(){this.loading=!0,this.sadadSelected=!0,this.paymentService.addSadadPurchase(this.agreeMaslakTermsAndConditions).subscribe({next:e=>{this.loading=!1,this.router.navigate(["sadad"],{queryParams:{sadadInvoiceNo:e.invoiceNo}}),resetBasket()},error:e=>{this.afterError(e)}})}afterError(e){let r=e.message;this.openLeadershipTermsAndConditionsModal(r);let i=e.error.message.split(","),o=!0;for(let s=0;s<this.baskets.length;s++)for(let a=0;a<i.length;a++)if(this.baskets[s].item.name.trim()===i[a].split("-")[0].trim()){this.baskets[s].item.errorMsg=i[a];break}if(o){let s=e.error.message;s.includes("\u0627\u0644\u0643\u0648\u062F \u0627\u0644\u0645\u062F\u062E\u0644 \u063A\u064A\u0631 \u0635\u0627\u0644\u062D")&&(this.discountCodeErrorMessage=s),this.toastrService.error(e.error.message,"",{disableTimeOut:!0})}window.scroll({behavior:"smooth",top:0}),this.loading=!1}openLeadershipTermsAndConditionsModal(e){e.includes(this.leadershipCategoryCode[0])&&(this.agreeLeadershipTermsAndConditions=!0,this.agreeLeadershipTermsAndConditions=!1,setTimeout(()=>{this.openModal.nativeElement.click()},10))}calculateBasketTotal(){this.basketTotal=0,this.baskets.forEach(e=>{e.item.prepCoursePrice===0?this.basketTotal=this.basketTotal+e.item.price:this.basketTotal=this.basketTotal+e.item.prepCoursePrice})}calculateDiscountTotal(){for(let e=0;e<this.appliedDiscountInfo.discounts.length;e++){let r=this.baskets[e].item.details.activityCode+"-"+this.baskets[e].item.details.activityVersion;this.appliedDiscountInfo.discounts[e].itemId===r&&this.prepCourseCode.includes(this.baskets[e].item.details.trnActivityTypeCode)||(this.appliedDiscountInfo.totalDiscount+=this.appliedDiscountInfo.discounts[e].discount)}}static{this.\u0275fac=function(r){return new(r||t)(pe(es),pe(ts),pe(yl),pe(On),pe(lr),pe(wu),pe(ns))}}static{this.\u0275cmp=At({type:t,selectors:[["app-payment"]],viewQuery:function(r,i){if(r&1&&pi(uU,5),r&2){let o;mi(o=gi())&&(i.openModal=o.first)}},standalone:!1,decls:2,vars:1,consts:[["f","ngForm"],["leadershipTermsAndConditionsOpenModal",""],[1,"no-data"],[1,"in-section-title"],[1,"row","gap-2"],[1,"Payment-right","col-12","col-xxl-6","p-4"],[3,"getBasket","basketTotal","baskets","appliedDiscountInfo"],[1,"Payment-left","col","payment-rl-padding"],[1,"row"],[1,"col"],[1,"row","payment-card","back-light"],[1,"col-lg-8","p-4"],["for","code",1,"form-label"],["type","text","id","code","name","code","pattern","[0-9\\w]*","required","","placeholder","\u0627\u062F\u062E\u0644 \u0627\u0644\u0643\u0648\u062F",1,"form-control",2,"text-align","right",3,"ngModelChange","input","ngModel","disabled"],["type","hidden","name","hiddenInput",3,"ngModelChange","ngModel"],[1,"mt-3",2,"color","var(--colors-error-500)"],[1,"col-lg-4","p-3","payment-t-padding"],["type","button",1,"tp-link","tp-link-Primary","payment-code",3,"click","ngClass"],["id","btn-loader",2,"vertical-align","middle","margin-right","0px !important"],[1,"card-title"],[1,"col-lg-4","p-4","payment-t-padding"],[1,"item-price"],["src","/_catalogs/masterpage/ar-sa/CPS/assets/img/internal/riyal-circular.svg"],[1,"row","payment-card2"],[1,"col-lg-12","p-4","payment-t-padding"],[1,"form-check"],["type","checkbox","id","termsAndCondition",1,"form-check-input",3,"ngModelChange","ngModel"],["for","termsAndCondition",1,"form-check-label"],["data-bs-toggle","modal","data-bs-target","#termsAndConditionModal",1,"tp-inline-link"],["type","checkbox","id","intellectualPropertyPolicy",1,"form-check-input",3,"ngModelChange","ngModel"],["for","intellectualPropertyPolicy",1,"form-check-label"],["href","/ar/Documents/%D8%B3%D9%8A%D8%A7%D8%B3%D8%A9%20%D8%A7%D9%84%D9%85%D9%84%D9%83%D9%8A%D8%A9%20%D8%A7%D9%84%D9%81%D9%83%D8%B1%D9%8A%D8%A9.pdf","target","_blank",1,"tp-inline-link"],["type","checkbox","id","ExecutiveRegulations",1,"form-check-input",3,"ngModelChange","ngModel"],["for","ExecutiveRegulations",1,"form-check-label"],["href","/ar/Documents/1906202501.pdf","target","_blank",1,"tp-inline-link"],[1,"card-title","mt-4"],["type","button",1,"tp-link","tp-link-Primary","mt-4",3,"ngClass"],["type","checkbox","id","agreeLeadershipTermsAndConditions",1,"form-check-input",3,"ngModelChange","ngModel"],["for","agreeLeadershipTermsAndConditions",1,"form-check-label"],["type","checkbox","id","agreeMaslakTermsAndConditions",1,"form-check-input",3,"ngModelChange","ngModel"],["for","agreeMaslakTermsAndConditions",1,"form-check-label"],["type","radio","name","pay","value","SADAD","i
46d","SADAD",1,"form-check-input",3,"ngModelChange","ngModel"],["for","SADAD",1,"form-check-label",2,"margin-inline-start","0","margin-inline-end","32px"],["alt","SADAD",3,"src"],["type","radio","name","pay","value","MADA","id","MADA",1,"form-check-input",3,"ngModelChange","ngModel"],["for","MADA",1,"form-check-label",2,"margin-inline-start","0"],["alt","MADA",3,"src"],["type","button",1,"tp-link","tp-link-Primary","mt-4",3,"click","ngClass"],["id","btn-loader",2,"vertical-align","bottom"]],template:function(r,i){r&1&&Ye(0,EU,60,26)(1,CU,3,0,"div",2),r&2&&qe(i.baskets.length>0?0:1)},dependencies:[Us,yp,cl,Qy,a_,pp,mp,_u,u_,s_,i_,YI,qI,ZI,KI,Lc],encapsulation:2})}}return t})();var tM=Em(JI());var Op=(()=>{class t{constructor(e){this.errorService=e}handleErrorForBlob(e){return e.error instanceof Blob?Xt(Promise.resolve(e).then(r=>Tt(null,null,function*(){throw new Wo({error:JSON.parse(yield r.error.text()),headers:r.headers,status:r.status,statusText:r.statusText,url:r.url??void 0})}))):Ll(()=>e)}showErrorMessageForBlob(e){let r=e.error,i={disableTimeOut:!0,closeButton:!0,tapToDismiss:!1};r.statusCode===500?this.errorService.show500ErrorMsg(r,i):this.errorService.showErrorMsg(r,i)}static{this.\u0275fac=function(r){return new(r||t)(Ce(bu))}}static{this.\u0275prov=fe({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var eM=(()=>{class t{constructor(e,r){this.http=e,this.handleErrorService=r,this.baseUrl=Rt.apiUrl}downloadMaslakAcceptanceLetter(e){let r=new Kn().append("TrnYear",e.trnYear).append("BranchCode",e.branchCode).append("YearTermNo",e.yearTermNo).append("UserId",e.userId).append("ActivityCode",e.activityCode).append("ActivityVersion",e.activityVersion);return this.http.get(`${this.baseUrl}installmentrequests/maslak-acceptance-letter`,{params:r,responseType:"blob",observe:"events"}).pipe(no(i=>this.handleErrorService.handleErrorForBlob(i)))}static{this.\u0275fac=function(r){return new(r||t)(Ce(Er),Ce(Op))}}static{this.\u0275prov=fe({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var nM=(()=>{class t{constructor(e,r,i,o){this.maslakService=e,this.route=r,this.breadCrumbsServices=i,this.handleErrorService=o}ngOnInit(){this.breadCrumbsServices.setMainPageTitle("",""),this.breadCrumbsServices.setPageTitle(""),this.breadCrumbsServices.removeLastBreadcrumb(),this.getDataFromRoute(),this.downloadAcceptanceLetter()}getDataFromRoute(){this.trnYear=this.route.snapshot.queryParams.trnyear,this.branchCode=this.route.snapshot.queryParams.branchcode,this.yearTermNo=this.route.snapshot.queryParams.yeartermno,this.userId=this.route.snapshot.queryParams.userid,this.activityCode=this.route.snapshot.queryParams.activitycode,this.activityVersion=this.route.snapshot.queryParams.activityversion}downloadAcceptanceLetter(){let e={userId:this.userId,activityCode:this.activityCode,activityVersion:this.activityVersion,trnYear:this.trnYear,branchCode:this.branchCode,yearTermNo:+this.yearTermNo};this.maslakService.downloadMaslakAcceptanceLetter(e).subscribe({next:r=>{r.type===Co.Response&&(0,tM.saveAs)(r.body,"\u0627\u0634\u0639\u0627\u0631 \u0627\u0644\u0642\u0628\u0648\u0644.pdf")},error:r=>{this.handleErrorService.showErrorMessageForBlob(r)}})}static{this.\u0275fac=function(r){return new(r||t)(pe(eM),pe(Hn),pe(BI),pe(Op))}}static{this.\u0275cmp=At({type:t,selectors:[["app-maslak-acceptence-letter"]],standalone:!1,decls:3,vars:0,consts:[[1,"basket-sec",2,"margin-top","93px"],[1,"pay-action","ng-star-inserted"]],template:function(r,i){r&1&&(_e(0,"div",0)(1,"div",1),Se(2," \u0633\u064A\u062A\u0645 \u062A\u062D\u0645\u064A\u0644 \u0625\u0634\u0639\u0627\u0631 \u0627\u0644\u0642\u0628\u0648\u0644 \u0627\u0644\u062E\u0627\u0635 \u0628\u0627\u0644\u0628\u0631\u0646\u0627\u0645\u062C \u062A\u0644\u0642\u0627\u0626\u064A\u0627. "),ve()())},encapsulation:2})}}return t})();var TU=[{path:"",redirectTo:"/payment",pathMatch:"full"},{path:"payment",component:QI},{path:"failure",component:HI},{path:"success",component:GI},{path:"sadad",component:zI},{path:"maslak-acceptance-letter",component:nM}],rM=(()=>{class t{static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275mod=Ot({type:t})}static{this.\u0275inj=xt({imports:[ep.forRoot(TU,{useHash:!0,scrollPositionRestoration:"top"}),ep]})}}return t})();var ht=(function(t){return t[t.State=0]="State",t[t.Transition=1]="Transition",t[t.Sequence=2]="Sequence",t[t.Group=3]="Group",t[t.Animate=4]="Animate",t[t.Keyframes=5]="Keyframes",t[t.Style=6]="Style",t[t.Trigger=7]="Trigger",t[t.Reference=8]="Reference",t[t.AnimateChild=9]="AnimateChild",t[t.AnimateRef=10]="AnimateRef",t[t.Query=11]="Query",t[t.Stagger=12]="Stagger",t})(ht||{}),wi="*";function iM(t,n=null){return{type:ht.Sequence,steps:t,options:n}}function L_(t){return{type:ht.Style,styles:t,offset:null}}var Io=class{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(n=0,e=0){this.totalTime=n+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(n=>n()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(n){this._position=this.totalTime?n*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(n){let e=n=="start"?this._onStartFns:this._onDoneFns;e.forEach(r=>r()),e.length=0}},Dl=class{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(n){this.players=n;let e=0,r=0,i=0,o=this.players.length;o==0?queueMicrotask(()=>
vendor: 4,574 bytes, line 46
46this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++e==o&&this._onFinish()}),s.onDestroy(()=>{++r==o&&this._onDestroy()}),s.onStart(()=>{++i==o&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this.players.forEach(n=>n.init())}onStart(n){this._onStartFns.push(n)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(n=>n()),this._onStartFns=[])}onDone(n){this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(n=>n.play())}pause(){this.players.forEach(n=>n.pause())}restart(){this.players.forEach(n=>n.restart())}finish(){this._onFinish(),this.players.forEach(n=>n.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(n=>n.destroy()),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this.players.forEach(n=>n.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(n){let e=n*this.totalTime;this.players.forEach(r=>{let i=r.totalTime?Math.min(1,e/r.totalTime):1;r.setPosition(i)})}getPosition(){let n=this.players.reduce((e,r)=>e===null||r.totalTime>e.totalTime?r:e,null);return n!=null?n.getPosition():0}beforeDestroy(){this.players.forEach(n=>{n.beforeDestroy&&n.beforeDestroy()})}triggerCallback(n){let e=n=="start"?this._onStartFns:this._onDoneFns;e.forEach(r=>r()),e.length=0}},Su="!";function oM(t){return new re(3e3,!1)}function IU(){return new re(3100,!1)}function MU(){return new re(3101,!1)}function xU(t){return new re(3001,!1)}function AU(t){return new re(3003,!1)}function NU(t){return new re(3004,!1)}function aM(t,n){return new re(3005,!1)}function lM(){return new re(3006,!1)}function cM(){return new re(3007,!1)}function uM(t,n){return new re(3008,!1)}function dM(t){return new re(3002,!1)}function fM(t,n,e,r,i){return new re(3010,!1)}function hM(){return new re(3011,!1)}function pM(){return new re(3012,!1)}function mM(){return new re(3200,!1)}function gM(){return new re(3202,!1)}function vM(){return new re(3013,!1)}function yM(t){return new re(3014,!1)}function _M(t){return new re(3015,!1)}function DM(t){return new re(3016,!1)}function EM(t,n){return new re(3404,!1)}function RU(t){return new re(3502,!1)}function CM(t){return new re(3503,!1)}function bM(){return new re(3300,!1)}function wM(t){return new re(3504,!1)}function SM(t){return new re(3301,!1)}function TM(t,n){return new re(3302,!1)}function IM(t){return new re(3303,!1)}function MM(t,n){return new re(3400,!1)}function xM(t){return new re(3401,!1)}function AM(t){return new re(3402,!1)}function NM(t,n){return new re(3505,!1)}function Mo(t){switch(t.length){case 0:return new Io;case 1:return t[0];default:return new Dl(t)}}function B_(t,n,e=new Map,r=new Map){let i=[],o=[],s=-1,a=null;if(n.forEach(l=>{let u=l.get("offset"),f=u==s,h=f&&a||new Map;l.forEach((m,v)=>{let y=v,w=m;if(v!=="offset")switch(y=t.normalizePropertyName(y,i),w){case Su:w=e.get(v);break;case wi:w=r.get(v);break;default:w=t.normalizeStyleValue(v,y,w,i);break}h.set(y,w)}),f||o.push(h),a=h,s=u}),i.length)throw RU(i);return o}function Fp(t,n,e,r){switch(n){case"start":t.onStart(()=>r(e&&j_(e,"start",t)));break;case"done":t.onDone(()=>r(e&&j_(e,"done",t)));break;case"destroy":t.onDestroy(()=>r(e&&j_(e,"destroy",t)));break}}function j_(t,n,e){let r=e.totalTime,i=!!e.disabled,o=Pp(t.element,t.triggerName,t.fromState,t.toState,n||t.phaseName,r??t.totalTime,i),s=t._data;return s!=null&&(o._data=s),o}function Pp(t,n,e,r,i="",o=0,s){return{element:t,triggerName:n,fromState:e,toState:r,phaseName:i,totalTime:o,disabled:!!s}}function Cr(t,n,e){let r=t.get(n);return r||t.set(n,r=e),r}function H_(t){let n=t.indexOf(":"),e=t.substring(1,n),r=t.slice(n+1);return[e,r]}var kU=typeof document>"u"?null:document.documentElement;function Lp(t){let n=t.parentNode||t.host||null;return n===kU?null:n}function OU(t){return t.substring(1,6)=="ebkit"}var Ks=null,sM=!1;function RM(t){Ks||(Ks=FU()||{},sM=Ks.style?"WebkitAppearance"in Ks.style:!1);let n=!0;return Ks.style&&!OU(t)&&(n=t in Ks.style,!n&&sM&&(n="Webkit"+t.charAt(0).toUpperCase()+t.slice(1)in Ks.style)),n}function FU(){return typeof document<"u"?document.body:null}function $_(t,n){for(;n;){if(n===t)return!0;n=Lp(n)}return!1}function z_(t,n,e){if(e)return Array.from(t.querySelectorAll(n));let r=t.querySelector(n);return r?[r]:[]}var PU=1e3,G_="{{",LU="}}
46",W_="ng-enter",jp="ng-leave",Tu="ng-trigger",Iu=".ng-trigger",Y_="ng-animating",Vp=".ng-animating";function Zi(t){if(typeof t=="number")return t;let n=t.match(/^(-?[\.\d]+)(m?s)/);return!n||n.length<2?0:V_(parseFloat(n[1]),n[2])}function V_(t,n){return n==="s"?t*PU:t}function Mu(t,n,e){return t.hasOwnProperty("duration")?t:VU(t,n,e)}var jU=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i;function VU(t,n,e){let r,i=0,o="";if(typeof t=="string"){let s=t.match(jU);if(s===null)return n.push(oM(t)),{duration:0,delay:0,easing:""};r=V_(parseFloat(s[1]),s[2]);let a=s[3];a!=null&&(i=V_(parseFloat(a),s[4]));let l=s[5];l&&(o=l)}else r=t;if(!e){let s=!1,a=n.length;r<0&&(n.push(IU()),s=!0),i<0&&(n.push(MU()),s=!0),s&&n.splice(a,0,oM(t))}return{duration:r,delay:i,easing:o}}function kM(t){return t.length?t[0]instanceof Map?t:t.map(n=>new Map(Object.entries(n))):[]}function Si(t,n,e){n.forEach((r,i)=>{let o=Up(i);e&&!e.has(i)&&e.set(i,t.style[o]),t.style[o]=r})}function rs(t,n){n.forEach((e,r)=>{let i=Up(r);t.style[i]=""})}function El(t){return Array.isArray(t)?t.length==1?t[0]:iM(t):t}function OM(t,n,e){let r=n.params||{},i=q_(t);i.length&&i.forEach(o=>{r.hasOwnProperty(o)||e.push(xU(o))})}var U_=new RegExp(`${G_}\\s*(.+?)\\s*${LU}`,"g");function q_(t){let n=[];if(typeof t=="string"){let e;for(;e=U_.exec(t);)n.push(e[1]);U_.lastIndex=0}return n}function Cl(t,n,e){let r=`${t}`,i=r.replace(U_,(o,s)=>{let a=n[s];return a==null&&(e.push(AU(s)),a=""),a.toString()});return i==r?t:i}var UU=/-+([a-z0-9])/g;function Up(t){return t.replace(UU,(...n)=>n[1].toUpperCase())}function FM(t,n){return t===0||n===0}function PM(t,n,e){if(e.size&&n.length){let r=n[0],i=[];if(e.forEach((o,s)=>{r.has(s)||i.push(s),r.set(s,o)}),i.length)for(let o=1;o<n.length;o++){let s=n[o];i.forEach(a=>s.set(a,Bp(t,a)))}}return n}function br(t,n,e){switch(n.type){case ht.Trigger:return t.visitTrigger(n,e);case ht.State:return t.visitState(n,e);case ht.Transition:return t.visitTransition(n,e);case ht.Sequence:return t.visitSequence(n,e);case ht.Group:return t.visitGroup(n,e);case ht.Animate:return t.visitAnimate(n,e);case ht.Keyframes:return t.visitKeyframes(n,e);case ht.Style:return t.visitStyle(n,e);case ht.Reference:return t.visitReference(n,e);case ht.AnimateChild:return t.visitAnimateChild(n,e);case ht.AnimateRef:return t.visitAnimateRef(n,e);case ht.Query:return t.visitQuery(n,e);case ht.Stagger:return t.visitStagger(n,e);default:throw NU(n.type)}}function Bp(t,n){return window.getComputedStyle(t)[n]}var dD=(()=>{class t{validateStyleProperty(e){return RM(e)}containsElement(e,r){return $_(e,r)}getParentElement(e){return Lp(e)}query(e,r,i){return z_(e,r,i)}computeStyle(e,r,i){return i||""}animate(e,r,i,o,s,a=[],l){return new Io(i,o)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=fe({token:t,factory:t.\u0275fac})}return t})(),Js=class{static NOOP=new dD},Xs=class{};var BU=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"]),Wp=class extends Xs{normalizePropertyName(n,e){return Up(n)}normalizeStyleValue(n,e,r,i){let o="",s=r.toString().trim();if(BU.has(e)&&r!==0&&r!=="0")if(typeof r=="number")o="px";else{let a=r.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&a[1].length==0&&i.push(aM(n,r))}return s+o}};var Yp="*";function HU(t,n){let e=[];return typeof t=="string"?t.split(/\s*,\s*/).forEach(r=>$U(r,e,n)):e.push(t),e}function $U(t,n,e){if(t[0]==":"){let l=zU(t,e);if(typeof l=="function"){n.push(l);return}t=l}let r=t.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(r==null||r.length<4)return e.push(_M(t)),n;let i=r[1],o=r[2],s=r[3];n.push(LM(i,s));let a=i==Yp&&s==Yp;o[0]=="<"&&!a&&n.push(LM(s,i))}function zU(t,n){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,r)=>parseFloat(r)>parseFloat(e);case":decrement":return(e,r)=>parseFloat(r)<parseFloat(e);default:return n.push(DM(t)),"* => *"}}var Hp=new Set(["true","1"]),$p=new Set(["false","0"]);function LM(t,n){let e=Hp.has(t)||$p.has(t),r=Hp.has(n)||$p.has(n);return(i,o)=>{let s=t==Yp||t==i,a=n==Yp||n==o;return!s&&e&&typeof i=="boolean"&&(s=i?Hp.has(t):$p.has(t)),!a&&r&&typeof o=="boolean"&&(a=o?Hp.has(n):$p.has(n)),s&&a}}var YM=":self",GU=new RegExp(`s*${YM}s*,?`,"g");function qM(t,n,e,r){return new eD(t).build(n,e,r)}var jM="",eD=class{_driver;constructor(n){this._driver=n}build(n,e,r){let i=new tD(e);return this._resetContextStyleTimingState(i),br(this,El(n),i)}_resetContextStyleTimingState(n){n.currentQuerySelector=jM,n.collectedStyles=new Map,n.collectedStyles.set(jM,new Map),n.currentTime=0}visitTrigger(n,e){let r=e.queryCount=0,i=e.depCount=0,o=[],s=[];return n.name.charAt(0)=="@"&&e.errors.push(lM()),n.definitions.forEach(a=>{if(this._resetContextStyleTimingState(e),a.type==ht.State){let l=a,u=l.name;
vendor: 50,922 bytes, line 46
46u.toString().split(/\s*,\s*/).forEach(f=>{l.name=f,o.push(this.visitState(l,e))}),l.name=u}else if(a.type==ht.Transition){let l=this.visitTransition(a,e);r+=l.queryCount,i+=l.depCount,s.push(l)}else e.errors.push(cM())}),{type:ht.Trigger,name:n.name,states:o,transitions:s,queryCount:r,depCount:i,options:null}}visitState(n,e){let r=this.visitStyle(n.styles,e),i=n.options&&n.options.params||null;if(r.containsDynamicStyles){let o=new Set,s=i||{};r.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{q_(l).forEach(u=>{s.hasOwnProperty(u)||o.add(u)})})}),o.size&&e.errors.push(uM(n.name,[...o.values()]))}return{type:ht.State,name:n.name,style:r,options:i?{params:i}:null}}visitTransition(n,e){e.queryCount=0,e.depCount=0;let r=br(this,El(n.animation),e),i=HU(n.expr,e.errors);return{type:ht.Transition,matchers:i,animation:r,queryCount:e.queryCount,depCount:e.depCount,options:Qs(n.options)}}visitSequence(n,e){return{type:ht.Sequence,steps:n.steps.map(r=>br(this,r,e)),options:Qs(n.options)}}visitGroup(n,e){let r=e.currentTime,i=0,o=n.steps.map(s=>{e.currentTime=r;let a=br(this,s,e);return i=Math.max(i,e.currentTime),a});return e.currentTime=i,{type:ht.Group,steps:o,options:Qs(n.options)}}visitAnimate(n,e){let r=ZU(n.timings,e.errors);e.currentAnimateTimings=r;let i,o=n.styles?n.styles:L_({});if(o.type==ht.Keyframes)i=this.visitKeyframes(o,e);else{let s=n.styles,a=!1;if(!s){a=!0;let u={};r.easing&&(u.easing=r.easing),s=L_(u)}e.currentTime+=r.duration+r.delay;let l=this.visitStyle(s,e);l.isEmptyStep=a,i=l}return e.currentAnimateTimings=null,{type:ht.Animate,timings:r,style:i,options:null}}visitStyle(n,e){let r=this._makeStyleAst(n,e);return this._validateStyleAst(r,e),r}_makeStyleAst(n,e){let r=[],i=Array.isArray(n.styles)?n.styles:[n.styles];for(let a of i)typeof a=="string"?a===wi?r.push(a):e.errors.push(dM(a)):r.push(new Map(Object.entries(a)));let o=!1,s=null;return r.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(s=a.get("easing"),a.delete("easing")),!o)){for(let l of a.values())if(l.toString().indexOf(G_)>=0){o=!0;break}}}),{type:ht.Style,styles:r,easing:s,offset:n.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(n,e){let r=e.currentAnimateTimings,i=e.currentTime,o=e.currentTime;r&&o>0&&(o-=r.duration+r.delay),n.styles.forEach(s=>{typeof s!="string"&&s.forEach((a,l)=>{let u=e.collectedStyles.get(e.currentQuerySelector),f=u.get(l),h=!0;f&&(o!=i&&o>=f.startTime&&i<=f.endTime&&(e.errors.push(fM(l,f.startTime,f.endTime,o,i)),h=!1),o=f.startTime),h&&u.set(l,{startTime:o,endTime:i}),e.options&&OM(a,e.options,e.errors)})})}visitKeyframes(n,e){let r={type:ht.Keyframes,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(hM()),r;let i=1,o=0,s=[],a=!1,l=!1,u=0,f=n.steps.map(S=>{let x=this._makeStyleAst(S,e),j=x.offset!=null?x.offset:qU(x.styles),P=0;return j!=null&&(o++,P=x.offset=j),l=l||P<0||P>1,a=a||P<u,u=P,s.push(P),x});l&&e.errors.push(pM()),a&&e.errors.push(mM());let h=n.steps.length,m=0;o>0&&o<h?e.errors.push(gM()):o==0&&(m=i/(h-1));let v=h-1,y=e.currentTime,w=e.currentAnimateTimings,C=w.duration;return f.forEach((S,x)=>{let j=m>0?x==v?1:m*x:s[x],P=j*C;e.currentTime=y+w.delay+P,w.duration=P,this._validateStyleAst(S,e),S.offset=j,r.styles.push(S)}),r}visitReference(n,e){return{type:ht.Reference,animation:br(this,El(n.animation),e),options:Qs(n.options)}}visitAnimateChild(n,e){return e.depCount++,{type:ht.AnimateChild,options:Qs(n.options)}}visitAnimateRef(n,e){return{type:ht.AnimateRef,animation:this.visitReference(n.animation,e),options:Qs(n.options)}}visitQuery(n,e){let r=e.currentQuerySelector,i=n.options||{};e.queryCount++,e.currentQuery=n;let[o,s]=WU(n.selector);e.currentQuerySelector=r.length?r+" "+o:o,Cr(e.collectedStyles,e.currentQuerySelector,new Map);let a=br(this,El(n.animation),e);return e.currentQuery=null,e.currentQuerySelector=r,{type:ht.Query,selector:o,limit:i.limit||0,optional:!!i.optional,includeSelf:s,animation:a,originalSelector:n.selector,options:Qs(n.options)}}visitStagger(n,e){e.currentQuery||e.errors.push(vM());let r=n.timings==="full"?{duration:0,delay:0,easing:"full"}:Mu(n.timings,e.errors,!0);return{type:ht.Stagger,animation:br(this,El(n.animation),e),timings:r,options:null}}};function WU(t){let n=!!t.split(/\s*,\s*/).find(e=>e==YM);return n&&(t=t.replace(GU,"")),t=t.replace(/@\*/g,Iu).replace(/@\w+/g,e=>Iu+"-"+e.slice(1)).replace(/:animating/g,Vp),[t,n]}function YU(t){return t?ae({},t):null}var tD=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(n){this.errors=n}};function qU(t){if(typeof t=="string")return null;let n=null;if(Array.isArray(t))t.forEach(e=>{if(e instanceof Map&&e.has("offset")){let r=e;n=parseFloat(r.get("offset")),r.delete("offset")}});else if(t instanceof Map&&t.has("offset")){let e=t;n=parseFloat(e.get("offset")),e.delete("offset")}return n}function ZU(t,n){if(t.hasOwnProperty("duration"))return t;if(typeof t=="number"){let o=Mu(t,n).duration;return Z_(o,0,"")}let e=t;if(e.split(/\s+/).some(o=>o.charAt(0)=="{"&&o.charAt(1)=="{")){let o=Z_(0,0,"");return o.dynamic=!0,o.strValue=e,o}let i=Mu(e,n);return Z_(i.duration,i.delay,i.easing)}function Qs(t){return t?(t=ae({},t),t.params&&(t.params=YU(t.params))):t={},t}function Z_(t,n,e){return{duration:t,delay:n,easing:e}}function fD(t,n,e,r,i,o,s=null,a=!1){return{type:1,element:t,keyframes:n,preStyleProps:e,postStyleProps:r,duration:i,delay:o,totalTime:i+o,easing:s,subTimeline:a}}var Au=class{_map=new Map;get(n){return this._map.get(n)||[]}append(n,e){let r=this._map.get(n);r||this._map.set(n,r=[]),r.push(...e)}has(n){return this._map.has(n)}clear(){this._map.clear()}},KU=1,QU=":enter",JU=new RegExp(QU,"g"),XU=":leave",eB=new RegExp(XU,"g");function ZM(t,n,e,r,i,o=new Map,s=new Map,a,l,u=[]){return new nD().buildKeyframes(t,n,e,r,i,o,s,a,l,u)}var nD=class{buildKeyframes(n,e,r,i,o,s,a,l,u,f=[]){u=u||new Au;let h=new rD(n,e,u,i,o,f,[]);h.options=l;let m=l.delay?Zi(l.delay):0;h.currentTimeline.delayNextStep(m),h.currentTimeline.setStyles([s],null,h.errors,l),br(this,r,h);let v=h.timelines.filter(y=>y.containsAnimation());if(v.length&&a.size){let y;for(let w=v.length-1;w>=0;w--){let C=v[w];if(C.element===e){y=C;break}}y&&!y.allowOnlyTimelineStyles()&&y.setStyles([a],null,h.errors,l)}return v.length?v.map(y=>y.buildKeyframes()):[fD(e,[],[],[],0,m,"",!1)]}visitTrigger(n,e){}visitState(n,e){}visitTransition(n,e){}visitAnimateChild(n,e){let r=e.subInstructions.get(e.element);if(r){let i=e.createSubContext(n.options),o=e.currentTimeline.currentTime,s=this._visitSubInstructions(r,i,i.options);o!=s&&e.transformIntoNewTimeline(s)}e.previousNode=n}visitAnimateRef(n,e){let r=e.createSubContext(n.options);r.transformIntoNewTimeline(),this._applyAnimationRefDelays([n.options,n.animation.options],e,r),this.visitReference(n.animation,r),e.transformIntoNewTimeline(r.currentTimeline.currentTime),e.previousNode=n}_applyAnimationRefDelays(n,e,r){for(let i of n){let o=i?.delay;if(o){let s=typeof o=="number"?o:Zi(Cl(o,i?.params??{},e.errors));r.delayNextStep(s)}}}_visitSubInstructions(n,e,r){let o=e.currentTimeline.currentTime,s=r.duration!=null?Zi(r.duration):null,a=r.delay!=null?Zi(r.delay):null;return s!==0&&n.forEach(l=>{let u=e.appendInstructionToTimeline(l,s,a);o=Math.max(o,u.duration+u.delay)}),o}visitReference(n,e){e.updateOptions(n.options,!0),br(this,n.animation,e),e.previousNode=n}visitSequence(n,e){let r=e.subContextCount,i=e,o=n.options;if(o&&(o.params||o.delay)&&(i=e.createSubContext(o),i.transformIntoNewTimeline(),o.delay!=null)){i.previousNode.type==ht.Style&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=qp);let s=Zi(o.delay);i.delayNextStep(s)}n.steps.length&&(n.steps.forEach(s=>br(this,s,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>r&&i.transformIntoNewTimeline()),e.previousNode=n}visitGroup(n,e){let r=[],i=e.currentTimeline.currentTime,o=n.options&&n.options.delay?Zi(n.options.delay):0;n.steps.forEach(s=>{let a=e.createSubContext(n.options);o&&a.delayNextStep(o),br(this,s,a),i=Math.max(i,a.currentTimeline.currentTime),r.push(a.currentTimeline)}),r.forEach(s=>e.currentTimeline.mergeTimelineCollectedStyles(s)),e.transformIntoNewTimeline(i),e.previousNode=n}_visitTiming(n,e){if(n.dynamic){let r=n.strValue,i=e.params?Cl(r,e.params,e.errors):r;return Mu(i,e.errors)}else return{duration:n.duration,delay:n.delay,easing:n.easing}}visitAnimate(n,e){let r=e.currentAnimateTimings=this._visitTiming(n.timings,e),i=e.currentTimeline;r.delay&&(e.incrementTime(r.delay),i.snapshotCurrentStyles());let o=n.style;o.type==ht.Keyframes?this.visitKeyframes(o,e):(e.incrementTime(r.duration),this.visitStyle(o,e),i.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=n}visitStyle(n,e){let r=e.currentTimeline,i=e.currentAnimateTimings;!i&&r.hasCurrentStyleProperties()&&r.forwardFrame();let o=i&&i.easing||n.easing;n.isEmptyStep?r.applyEmptyStep(o):r.setStyles(n.styles,o,e.errors,e.options),e.previousNode=n}visitKeyframes(n,e){let r=e.currentAnimateTimings,i=e.currentTimeline.duration,o=r.duration,a=e.createSubContext().currentTimeline;a.easing=r.easing,n.styles.forEach(l=>{let u=l.offset||0;a.forwardTime(u*o),a.setStyles(l.styles,l.easing,e.errors,e.options),a.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(a),e.transformIntoNewTimeline(i+o),e.previousNode=n}visitQuery(n,e){let r=e.currentTimeline.currentTime,i=n.options||{},o=i.delay?Zi(i.delay):0;o&&(e.previousNode.type===ht.Style||r==0&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=qp);let s=r,a=e.invokeQuery(n.selector,n.originalSelector,n.limit,n.includeSelf,!!i.optional,e.errors);e.currentQueryTotal=a.length;let l=null;a.forEach((u,f)=>{e.currentQueryIndex=f;let h=e.createSubContext(n.options,u);o&&h.delayNextStep(o),u===e.element&&(l=h.currentTimeline),br(this,n.animation,h),h.currentTimeline.applyStylesToKeyframe();let m=h.currentTimeline.currentTime;s=Math.max(s,m)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(s),l&&(e.currentTimeline.mergeTimelineCollectedStyles(l),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=n}visitStagger(n,e){let r=e.parentContext,i=e.currentTimeline,o=n.timings,s=Math.abs(o.duration),a=s*(e.currentQueryTotal-1),l=s*e.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":l=a-l;break;case"full":l=r.currentStaggerTime;break}let f=e.currentTimeline;l&&f.delayNextStep(l);let h=f.currentTime;br(this,n.animation,e),e.previousNode=n,r.currentStaggerTime=i.currentTime-h+(i.startTime-r.currentTimeline.startTime)}},qp={},rD=class t{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=qp;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(n,e,r,i,o,s,a,l){this._driver=n,this.element=e,this.subInstructions=r,this._enterClassName=i,this._leaveClassName=o,this.errors=s,this.timelines=a,this.currentTimeline=l||new Zp(this._driver,e,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(n,e){if(!n)return;let r=n,i=this.options;r.duration!=null&&(i.duration=Zi(r.duration)),r.delay!=null&&(i.delay=Zi(r.delay));let o=r.params;if(o){let s=i.params;s||(s=this.options.params={}),Object.keys(o).forEach(a=>{(!e||!s.hasOwnProperty(a))&&(s[a]=Cl(o[a],s,this.errors))})}}_copyOptions(){let n={};if(this.options){let e=this.options.params;if(e){let r=n.params={};Object.keys(e).forEach(i=>{r[i]=e[i]})}}return n}createSubContext(n=null,e,r){let i=e||this.element,o=new t(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,r||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(n),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(n){return this.previousNode=qp,this.currentTimeline=this.currentTimeline.fork(this.element,n),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(n,e,r){let i={duration:e??n.duration,delay:this.currentTimeline.currentTime+(r??0)+n.delay,easing:""},o=new iD(this._driver,n.element,n.keyframes,n.preStyleProps,n.postStyleProps,i,n.stretchStartingKeyframe);return this.timelines.push(o),i}incrementTime(n){this.currentTimeline.forwardTime(this.currentTimeline.duration+n)}delayNextStep(n){n>0&&this.currentTimeline.delayNextStep(n)}invokeQuery(n,e,r,i,o,s){let a=[];if(i&&a.push(this.element),n.length>0){n=n.replace(JU,"."+this._enterClassName),n=n.replace(eB,"."+this._leaveClassName);let l=r!=1,u=this._driver.query(this.element,n,l);r!==0&&(u=r<0?u.slice(u.length+r,u.length):u.slice(0,r)),a.push(...u)}return!o&&a.length==0&&s.push(yM(e)),a}},Zp=class t{_driver;element;startTime;_elementTimelineStylesLookup;duration=0;easing=null;_previousKeyframe=new Map;_currentKeyframe=new Map;_keyframes=new Map;_styleSummary=new Map;_localTimelineStyles=new Map;_globalTimelineStyles;_pendingStyles=new Map;_backFill=new Map;_currentEmptyStepKeyframe=null;constructor(n,e,r,i){this._driver=n,this.element=e,this.startTime=r,this._elementTimelineStylesLookup=i,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(n){let e=this._keyframes.size===1&&this._pendingStyles.size;this.duration||e?(this.forwardTime(this.currentTime+n),e&&this.snapshotCurrentStyles()):this.startTime+=n}fork(n,e){return this.applyStylesToKeyframe(),new t(this._driver,n,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=KU,this._loadKeyframe()}forwardTime(n){this.applyStylesToKeyframe(),this.duration=n,this._loadKeyframe()}_updateStyle(n,e){this._localTimelineStyles.set(n,e),this._globalTimelineStyles.set(n,e),this._styleSummary.set(n,{time:this.currentTime,value:e})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(n){n&&this._previousKeyframe.set("easing",n);for(let[e,r]of this._globalTimelineStyles)this._backFill.set(e,r||wi),this._currentKeyframe.set(e,wi);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(n,e,r,i){e&&this._previousKeyframe.set("easing",e);let o=i&&i.params||{},s=tB(n,this._globalTimelineStyles);for(let[a,l]of s){let u=Cl(l,o,r);this._pendingStyles.set(a,u),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??wi),this._updateStyle(a,u)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((n,e)=>{this._currentKeyframe.set(e,n)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((n,e)=>{this._currentKeyframe.has(e)||this._currentKeyframe.set(e,n)}))}snapshotCurrentStyles(){for(let[n,e]of this._localTimelineStyles)this._pendingStyles.set(n,e),this._updateStyle(n,e)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let n=[];for(let e in this._currentKeyframe)n.push(e);return n}mergeTimelineCollectedStyles(n){n._styleSummary.forEach((e,r)=>{let i=this._styleSummary.get(r);(!i||e.time>i.time)&&this._updateStyle(r,e.value)})}buildKeyframes(){this.applyStylesToKeyframe();let n=new Set,e=new Set,r=this._keyframes.size===1&&this.duration===0,i=[];this._keyframes.forEach((a,l)=>{let u=new Map([...this._backFill,...a]);u.forEach((f,h)=>{f===Su?n.add(h):f===wi&&e.add(h)}),r||u.set("offset",l/this.duration),i.push(u)});let o=[...n.values()],s=[...e.values()];if(r){let a=i[0],l=new Map(a);a.set("offset",0),l.set("offset",1),i=[a,l]}return fD(this.element,i,o,s,this.duration,this.startTime,this.easing,!1)}},iD=class extends Zp{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(n,e,r,i,o,s,a=!1){super(n,e,s.delay),this.keyframes=r,this.preStyleProps=i,this.postStyleProps=o,this._stretchStartingKeyframe=a,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let n=this.keyframes,{delay:e,duration:r,easing:i}=this.timings;if(this._stretchStartingKeyframe&&e){let o=[],s=r+e,a=e/s,l=new Map(n[0]);l.set("offset",0),o.push(l);let u=new Map(n[0]);u.set("offset",VM(a)),o.push(u);let f=n.length-1;for(let h=1;h<=f;h++){let m=new Map(n[h]),v=m.get("offset"),y=e+v*r;m.set("offset",VM(y/s)),o.push(m)}r=s,e=0,i="",n=o}return fD(this.element,n,this.preStyleProps,this.postStyleProps,r,e,i,!0)}};function VM(t,n=3){let e=Math.pow(10,n-1);return Math.round(t*e)/e}function tB(t,n){let e=new Map,r;return t.forEach(i=>{if(i==="*"){r??=n.keys();for(let o of r)e.set(o,wi)}else for(let[o,s]of i)e.set(o,s)}),e}function UM(t,n,e,r,i,o,s,a,l,u,f,h,m){return{type:0,element:t,triggerName:n,isRemovalTransition:i,fromState:e,fromStyles:o,toState:r,toStyles:s,timelines:a,queriedElements:l,preStyleProps:u,postStyleProps:f,totalTime:h,errors:m}}var K_={},Kp=class{_triggerName;ast;_stateStyles;constructor(n,e,r){this._triggerName=n,this.ast=e,this._stateStyles=r}match(n,e,r,i){return nB(this.ast.matchers,n,e,r,i)}buildStyles(n,e,r){let i=this._stateStyles.get("*");return n!==void 0&&(i=this._stateStyles.get(n?.toString())||i),i?i.buildStyles(e,r):new Map}build(n,e,r,i,o,s,a,l,u,f){let h=[],m=this.ast.options&&this.ast.options.params||K_,v=a&&a.params||K_,y=this.buildStyles(r,v,h),w=l&&l.params||K_,C=this.buildStyles(i,w,h),S=new Set,x=new Map,j=new Map,P=i==="void",Z={params:KM(w,m),delay:this.ast.options?.delay},L=f?[]:ZM(n,e,this.ast.animation,o,s,y,C,Z,u,h),ie=0;return L.forEach(V=>{ie=Math.max(V.duration+V.delay,ie)}),h.length?UM(e,this._triggerName,r,i,P,y,C,[],[],x,j,ie,h):(L.forEach(V=>{let z=V.element,H=Cr(x,z,new Set);V.preStyleProps.forEach(oe=>H.add(oe));let K=Cr(j,z,new Set);V.postStyleProps.forEach(oe=>K.add(oe)),z!==e&&S.add(z)}),UM(e,this._triggerName,r,i,P,y,C,L,[...S.values()],x,j,ie))}};function nB(t,n,e,r,i){return t.some(o=>o(n,e,r,i))}function KM(t,n){let e=ae({},n);return Object.entries(t).forEach(([r,i])=>{i!=null&&(e[r]=i)}),e}var oD=class{styles;defaultParams;normalizer;constructor(n,e,r){this.styles=n,this.defaultParams=e,this.normalizer=r}buildStyles(n,e){let r=new Map,i=KM(n,this.defaultParams);return this.styles.styles.forEach(o=>{typeof o!="string"&&o.forEach((s,a)=>{s&&(s=Cl(s,i,e));let l=this.normalizer.normalizePropertyName(a,e);s=this.normalizer.normalizeStyleValue(a,l,s,e),r.set(a,s)})}),r}};function rB(t,n,e){return new sD(t,n,e)}var sD=class{name;ast;_normalizer;transitionFactories=[];fallbackTransition;states=new Map;constructor(n,e,r){this.name=n,this.ast=e,this._normalizer=r,e.states.forEach(i=>{let o=i.options&&i.options.params||{};this.states.set(i.name,new oD(i.style,o,r))}),BM(this.states,"true","1"),BM(this.states,"false","0"),e.transitions.forEach(i=>{this.transitionFactories.push(new Kp(n,i,this.states))}),this.fallbackTransition=iB(n,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(n,e,r,i){return this.transitionFactories.find(s=>s.match(n,e,r,i))||null}matchStyles(n,e,r){return this.fallbackTransition.buildStyles(n,e,r)}};function iB(t,n,e){let r=[(s,a)=>!0],i={type:ht.Sequence,steps:[],options:null},o={type:ht.Transition,animation:i,matchers:r,options:null,queryCount:0,depCount:0};return new Kp(t,o,n)}function BM(t,n,e){t.has(n)?t.has(e)||t.set(e,t.get(n)):t.has(e)&&t.set(n,t.get(e))}var oB=new Au,aD=class{bodyNode;_driver;_normalizer;_animations=new Map;_playersById=new Map;players=[];constructor(n,e,r){this.bodyNode=n,this._driver=e,this._normalizer=r}register(n,e){let r=[],i=[],o=qM(this._driver,e,r,i);if(r.length)throw CM(r);this._animations.set(n,o)}_buildPlayer(n,e,r){let i=n.element,o=B_(this._normalizer,n.keyframes,e,r);return this._driver.animate(i,o,n.duration,n.delay,n.easing,[],!0)}create(n,e,r={}){let i=[],o=this._animations.get(n),s,a=new Map;if(o?(s=ZM(this._driver,e,o,W_,jp,new Map,new Map,r,oB,i),s.forEach(f=>{let h=Cr(a,f.element,new Map);f.postStyleProps.forEach(m=>h.set(m,null))})):(i.push(bM()),s=[]),i.length)throw wM(i);a.forEach((f,h)=>{f.forEach((m,v)=>{f.set(v,this._driver.computeStyle(h,v,wi))})});let l=s.map(f=>{let h=a.get(f.element);return this._buildPlayer(f,new Map,h)}),u=Mo(l);return this._playersById.set(n,u),u.onDestroy(()=>this.destroy(n)),this.players.push(u),u}destroy(n){let e=this._getPlayer(n);e.destroy(),this._playersById.delete(n);let r=this.players.indexOf(e);r>=0&&this.players.splice(r,1)}_getPlayer(n){let e=this._playersById.get(n);if(!e)throw SM(n);return e}listen(n,e,r,i){let o=Pp(e,"","","");return Fp(this._getPlayer(n),r,o,i),()=>{}}command(n,e,r,i){if(r=="register"){this.register(n,i[0]);return}if(r=="create"){let s=i[0]||{};this.create(n,e,s);return}let o=this._getPlayer(n);switch(r){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(n);break}}},HM="ng-animate-queued",sB=".ng-animate-queued",Q_="ng-animate-disabled",aB=".ng-animate-disabled",lB="ng-star-inserted",cB=".ng-star-inserted",uB=[],QM={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},dB={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Ti="__ng_removed",Nu=class{namespaceId;value;options;get params(){return this.options.params}constructor(n,e=""){this.namespaceId=e;let r=n&&n.hasOwnProperty("value"),i=r?n.value:n;if(this.value=hB(i),r){let o=n,{value:s}=o,a=Dm(o,["value"]);this.options=a}else this.options={};this.options.params||(this.options.params={})}absorbOptions(n){let e=n.params;if(e){let r=this.options.params;Object.keys(e).forEach(i=>{r[i]==null&&(r[i]=e[i])})}}},xu="void",J_=new Nu(xu),lD=class{id;hostElement;_engine;players=[];_triggers=new Map;_queue=[];_elementListeners=new Map;_hostClassName;constructor(n,e,r){this.id=n,this.hostElement=e,this._engine=r,this._hostClassName="ng-tns-"+n,Jr(e,this._hostClassName)}listen(n,e,r,i){if(!this._triggers.has(e))throw TM(r,e);if(r==null||r.length==0)throw IM(e);if(!pB(r))throw MM(r,e);let o=Cr(this._elementListeners,n,[]),s={name:e,phase:r,callback:i};o.push(s);let a=Cr(this._engine.statesByElement,n,new Map);return a.has(e)||(Jr(n,Tu),Jr(n,Tu+"-"+e),a.set(e,J_)),()=>{this._engine.afterFlush(()=>{let l=o.indexOf(s);l>=0&&o.splice(l,1),this._triggers.has(e)||a.delete(e)})}}register(n,e){return this._triggers.has(n)?!1:(this._triggers.set(n,e),!0)}_getTrigger(n){let e=this._triggers.get(n);if(!e)throw xM(n);return e}trigger(n,e,r,i=!0){let o=this._getTrigger(e),s=new Ru(this.id,e,n),a=this._engine.statesByElement.get(n);a||(Jr(n,Tu),Jr(n,Tu+"-"+e),this._engine.statesByElement.set(n,a=new Map));let l=a.get(e),u=new Nu(r,this.id);if(!(r&&r.hasOwnProperty("value"))&&l&&u.absorbOptions(l.options),a.set(e,u),l||(l=J_),!(u.value===xu)&&l.value===u.value){if(!vB(l.params,u.params)){let w=[],C=o.matchStyles(l.value,l.params,w),S=o.matchStyles(u.value,u.params,w);w.length?this._engine.reportError(w):this._engine.afterFlush(()=>{rs(n,C),Si(n,S)})}return}let m=Cr(this._engine.playersByElement,n,[]);m.forEach(w=>{w.namespaceId==this.id&&w.triggerName==e&&w.queued&&w.destroy()});let v=o.matchTransition(l.value,u.value,n,u.params),y=!1;if(!v){if(!i)return;v=o.fallbackTransition,y=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:e,transition:v,fromState:l,toState:u,player:s,isFallbackTransition:y}),y||(Jr(n,HM),s.onStart(()=>{bl(n,HM)})),s.onDone(()=>{let w=this.players.indexOf(s);w>=0&&this.players.splice(w,1);let C=this._engine.playersByElement.get(n);if(C){let S=C.indexOf(s);S>=0&&C.splice(S,1)}}),this.players.push(s),m.push(s),s}deregister(n){this._triggers.delete(n),this._engine.statesByElement.forEach(e=>e.delete(n)),this._elementListeners.forEach((e,r)=>{this._elementListeners.set(r,e.filter(i=>i.name!=n))})}clearElementCache(n){this._engine.statesByElement.delete(n),this._elementListeners.delete(n);let e=this._engine.playersByElement.get(n);e&&(e.forEach(r=>r.destroy()),this._engine.playersByElement.delete(n))}_signalRemovalForInnerTriggers(n,e){let r=this._engine.driver.query(n,Iu,!0);r.forEach(i=>{if(i[Ti])return;let o=this._engine.fetchNamespacesByElement(i);o.size?o.forEach(s=>s.triggerLeaveAnimation(i,e,!1,!0)):this.clearElementCache(i)}),this._engine.afterFlushAnimationsDone(()=>r.forEach(i=>this.clearElementCache(i)))}triggerLeaveAnimation(n,e,r,i){let o=this._engine.statesByElement.get(n),s=new Map;if(o){let a=[];if(o.forEach((l,u)=>{if(s.set(u,l.value),this._triggers.has(u)){let f=this.trigger(n,u,xu,i);f&&a.push(f)}}),a.length)return this._engine.markElementAsRemoved(this.id,n,!0,e,s),r&&Mo(a).onDone(()=>this._engine.processLeaveNode(n)),!0}return!1}prepareLeaveAnimationListeners(n){let e=this._elementListeners.get(n),r=this._engine.statesByElement.get(n);if(e&&r){let i=new Set;e.forEach(o=>{let s=o.name;if(i.has(s))return;i.add(s);let l=this._triggers.get(s).fallbackTransition,u=r.get(s)||J_,f=new Nu(xu),h=new Ru(this.id,s,n);this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:s,transition:l,fromState:u,toState:f,player:h,isFallbackTransition:!0})})}}removeNode(n,e){let r=this._engine;if(n.childElementCount&&this._signalRemovalForInnerTriggers(n,e),this.triggerLeaveAnimation(n,e,!0))return;let i=!1;if(r.totalAnimations){let o=r.players.length?r.playersByQueriedElement.get(n):[];if(o&&o.length)i=!0;else{let s=n;for(;s=s.parentNode;)if(r.statesByElement.get(s)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(n),i)r.markElementAsRemoved(this.id,n,!1,e);else{let o=n[Ti];(!o||o===QM)&&(r.afterFlush(()=>this.clearElementCache(n)),r.destroyInnerAnimations(n),r._onRemovalComplete(n,e))}}insertNode(n,e){Jr(n,this._hostClassName)}drainQueuedTransitions(n){let e=[];return this._queue.forEach(r=>{let i=r.player;if(i.destroyed)return;let o=r.element,s=this._elementListeners.get(o);s&&s.forEach(a=>{if(a.name==r.triggerName){let l=Pp(o,r.triggerName,r.fromState.value,r.toState.value);l._data=n,Fp(r.player,a.phase,l,a.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):e.push(r)}),this._queue=[],e.sort((r,i)=>{let o=r.transition.ast.depCount,s=i.transition.ast.depCount;return o==0||s==0?o-s:this._engine.driver.containsElement(r.element,i.element)?1:-1})}destroy(n){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,n)}},cD=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=(n,e)=>{};_onRemovalComplete(n,e){this.onRemovalComplete(n,e)}constructor(n,e,r){this.bodyNode=n,this.driver=e,this._normalizer=r}get queuedPlayers(){let n=[];return this._namespaceList.forEach(e=>{e.players.forEach(r=>{r.queued&&n.push(r)})}),n}createNamespace(n,e){let r=new lD(n,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(r,e):(this.newHostElements.set(e,r),this.collectEnterElement(e)),this._namespaceLookup[n]=r}_balanceNamespaceList(n,e){let r=this._namespaceList,i=this.namespacesByHostElement;if(r.length-1>=0){let s=!1,a=this.driver.getParentElement(e);for(;a;){let l=i.get(a);if(l){let u=r.indexOf(l);r.splice(u+1,0,n),s=!0;break}a=this.driver.getParentElement(a)}s||r.unshift(n)}else r.push(n);return i.set(e,n),n}register(n,e){let r=this._namespaceLookup[n];return r||(r=this.createNamespace(n,e)),r}registerTrigger(n,e,r){let i=this._namespaceLookup[n];i&&i.register(e,r)&&this.totalAnimations++}destroy(n,e){n&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let r=this._fetchNamespace(n);this.namespacesByHostElement.delete(r.hostElement);let i=this._namespaceList.indexOf(r);i>=0&&this._namespaceList.splice(i,1),r.destroy(e),delete this._namespaceLookup[n]}))}_fetchNamespace(n){return this._namespaceLookup[n]}fetchNamespacesByElement(n){let e=new Set,r=this.statesByElement.get(n);if(r){for(let i of r.values())if(i.namespaceId){let o=this._fetchNamespace(i.namespaceId);o&&e.add(o)}}return e}trigger(n,e,r,i){if(zp(e)){let o=this._fetchNamespace(n);if(o)return o.trigger(e,r,i),!0}return!1}insertNode(n,e,r,i){if(!zp(e))return;let o=e[Ti];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;let s=this.collectedLeaveElements.indexOf(e);s>=0&&this.collectedLeaveElements.splice(s,1)}if(n){let s=this._fetchNamespace(n);s&&s.insertNode(e,r)}i&&this.collectEnterElement(e)}collectEnterElement(n){this.collectedEnterElements.push(n)}markElementAsDisabled(n,e){e?this.disabledNodes.has(n)||(this.disabledNodes.add(n),Jr(n,Q_)):this.disabledNodes.has(n)&&(this.disabledNodes.delete(n),bl(n,Q_))}removeNode(n,e,r){if(zp(e)){let i=n?this._fetchNamespace(n):null;i?i.removeNode(e,r):this.markElementAsRemoved(n,e,!1,r);let o=this.namespacesByHostElement.get(e);o&&o.id!==n&&o.removeNode(e,r)}else this._onRemovalComplete(e,r)}markElementAsRemoved(n,e,r,i,o){this.collectedLeaveElements.push(e),e[Ti]={namespaceId:n,setForRemoval:i,hasAnimation:r,removedBeforeQueried:!1,previousTriggersValues:o}}listen(n,e,r,i,o){return zp(e)?this._fetchNamespace(n).listen(e,r,i,o):()=>{}}_buildInstruction(n,e,r,i,o){return n.transition.build(this.driver,n.element,n.fromState.value,n.toState.value,r,i,n.fromState.options,n.toState.options,e,o)}destroyInnerAnimations(n){let e=this.driver.query(n,Iu,!0);e.forEach(r=>this.destroyActiveAnimationsForElement(r)),this.playersByQueriedElement.size!=0&&(e=this.driver.query(n,Vp,!0),e.forEach(r=>this.finishActiveQueriedAnimationOnElement(r)))}destroyActiveAnimationsForElement(n){let e=this.playersByElement.get(n);e&&e.forEach(r=>{r.queued?r.markedForDestroy=!0:r.destroy()})}finishActiveQueriedAnimationOnElement(n){let e=this.playersByQueriedElement.get(n);e&&e.forEach(r=>r.finish())}whenRenderingDone(){return new Promise(n=>{if(this.players.length)return Mo(this.players).onDone(()=>n());n()})}processLeaveNode(n){let e=n[Ti];if(e&&e.setForRemoval){if(n[Ti]=QM,e.namespaceId){this.destroyInnerAnimations(n);let r=this._fetchNamespace(e.namespaceId);r&&r.clearElementCache(n)}this._onRemovalComplete(n,e.setForRemoval)}n.classList?.contains(Q_)&&this.markElementAsDisabled(n,!1),this.driver.query(n,aB,!0).forEach(r=>{this.markElementAsDisabled(r,!1)})}flush(n=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((r,i)=>this._balanceNamespaceList(r,i)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let r=0;r<this.collectedEnterElements.length;r++){let i=this.collectedEnterElements[r];Jr(i,lB)}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){let r=[];try{e=this._flushAnimations(r,n)}finally{for(let i=0;i<r.length;i++)r[i]()}}else for(let r=0;r<this.collectedLeaveElements.length;r++){let i=this.collectedLeaveElements[r];this.processLeaveNode(i)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(r=>r()),this._flushFns=[],this._whenQuietFns.length){let r=this._whenQuietFns;this._whenQuietFns=[],e.length?Mo(e).onDone(()=>{r.forEach(i=>i())}):r.forEach(i=>i())}}reportError(n){throw AM(n)}_flushAnimations(n,e){let r=new Au,i=[],o=new Map,s=[],a=new Map,l=new Map,u=new Map,f=new Set;this.disabledNodes.forEach(Y=>{f.add(Y);let ne=this.driver.query(Y,sB,!0);for(let se=0;se<ne.length;se++)f.add(ne[se])});let h=this.bodyNode,m=Array.from(this.statesByElement.keys()),v=GM(m,this.collectedEnterElements),y=new Map,w=0;v.forEach((Y,ne)=>{let se=W_+w++;y.set(ne,se),Y.forEach(Me=>Jr(Me,se))});let C=[],S=new Set,x=new Set;for(let Y=0;Y<this.collectedLeaveElements.length;Y++){let ne=this.collectedLeaveElements[Y],se=ne[Ti];se&&se.setForRemoval&&(C.push(ne),S.add(ne),se.hasAnimation?this.driver.query(ne,cB,!0).forEach(Me=>S.add(Me)):x.add(ne))}let j=new Map,P=GM(m,Array.from(S));P.forEach((Y,ne)=>{let se=jp+w++;j.set(ne,se),Y.forEach(Me=>Jr(Me,se))}),n.push(()=>{v.forEach((Y,ne)=>{let se=y.get(ne);Y.forEach(Me=>bl(Me,se))}),P.forEach((Y,ne)=>{let se=j.get(ne);Y.forEach(Me=>bl(Me,se))}),C.forEach(Y=>{this.processLeaveNode(Y)})});let Z=[],L=[];for(let Y=this._namespaceList.length-1;Y>=0;Y--)this._namespaceList[Y].drainQueuedTransitions(e).forEach(se=>{let Me=se.player,je=se.element;if(Z.push(Me),this.collectedEnterElements.length){let Be=je[Ti];if(Be&&Be.setForMove){if(Be.previousTriggersValues&&Be.previousTriggersValues.has(se.triggerName)){let st=Be.previousTriggersValues.get(se.triggerName),nt=this.statesByElement.get(se.element);if(nt&&nt.has(se.triggerName)){let tn=nt.get(se.triggerName);tn.value=st,nt.set(se.triggerName,tn)}}Me.destroy();return}}let ze=!h||!this.driver.containsElement(h,je),We=j.get(je),X=y.get(je),Pe=this._buildInstruction(se,r,X,We,ze);if(Pe.errors&&Pe.errors.length){L.push(Pe);return}if(ze){Me.onStart(()=>rs(je,Pe.fromStyles)),Me.onDestroy(()=>Si(je,Pe.toStyles)),i.push(Me);return}if(se.isFallbackTransition){Me.onStart(()=>rs(je,Pe.fromStyles)),Me.onDestroy(()=>Si(je,Pe.toStyles)),i.push(Me);return}let $e=[];Pe.timelines.forEach(Be=>{Be.stretchStartingKeyframe=!0,this.disabledNodes.has(Be.element)||$e.push(Be)}),Pe.timelines=$e,r.append(je,Pe.timelines);let Ue={instruction:Pe,player:Me,element:je};s.push(Ue),Pe.queriedElements.forEach(Be=>Cr(a,Be,[]).push(Me)),Pe.preStyleProps.forEach((Be,st)=>{if(Be.size){let nt=l.get(st);nt||l.set(st,nt=new Set),Be.forEach((tn,Lt)=>nt.add(Lt))}}),Pe.postStyleProps.forEach((Be,st)=>{let nt=u.get(st);nt||u.set(st,nt=new Set),Be.forEach((tn,Lt)=>nt.add(Lt))})});if(L.length){let Y=[];L.forEach(ne=>{Y.push(NM(ne.triggerName,ne.errors))}),Z.forEach(ne=>ne.destroy()),this.reportError(Y)}let ie=new Map,V=new Map;s.forEach(Y=>{let ne=Y.element;r.has(ne)&&(V.set(ne,ne),this._beforeAnimationBuild(Y.player.namespaceId,Y.instruction,ie))}),i.forEach(Y=>{let ne=Y.element;this._getPreviousPlayers(ne,!1,Y.namespaceId,Y.triggerName,null).forEach(Me=>{Cr(ie,ne,[]).push(Me),Me.destroy()})});let z=C.filter(Y=>WM(Y,l,u)),H=new Map;zM(H,this.driver,x,u,wi).forEach(Y=>{WM(Y,l,u)&&z.push(Y)});let oe=new Map;v.forEach((Y,ne)=>{zM(oe,this.driver,new Set(Y),l,Su)}),z.forEach(Y=>{let ne=H.get(Y),se=oe.get(Y);H.set(Y,new Map([...ne?.entries()??[],...se?.entries()??[]]))});let le=[],me=[],xe={};s.forEach(Y=>{let{element:ne,player:se,instruction:Me}=Y;if(r.has(ne)){if(f.has(ne)){se.onDestroy(()=>Si(ne,Me.toStyles)),se.disabled=!0,se.overrideTotalTime(Me.totalTime),i.push(se);return}let je=xe;if(V.size>1){let We=ne,X=[];for(;We=We.parentNode;){let Pe=V.get(We);if(Pe){je=Pe;break}X.push(We)}X.forEach(Pe=>V.set(Pe,je))}let ze=this._buildAnimation(se.namespaceId,Me,ie,o,oe,H);if(se.setRealPlayer(ze),je===xe)le.push(se);else{let We=this.playersByElement.get(je);We&&We.length&&(se.parentPlayer=Mo(We)),i.push(se)}}else rs(ne,Me.fromStyles),se.onDestroy(()=>Si(ne,Me.toStyles)),me.push(se),f.has(ne)&&i.push(se)}),me.forEach(Y=>{let ne=o.get(Y.element);if(ne&&ne.length){let se=Mo(ne);Y.setRealPlayer(se)}}),i.forEach(Y=>{Y.parentPlayer?Y.syncPlayerEvents(Y.parentPlayer):Y.destroy()});for(let Y=0;Y<C.length;Y++){let ne=C[Y],se=ne[Ti];if(bl(ne,jp),se&&se.hasAnimation)continue;let Me=[];if(a.size){let ze=a.get(ne);ze&&ze.length&&Me.push(...ze);let We=this.driver.query(ne,Vp,!0);for(let X=0;X<We.length;X++){let Pe=a.get(We[X]);Pe&&Pe.length&&Me.push(...Pe)}}let je=Me.filter(ze=>!ze.destroyed);je.length?mB(this,ne,je):this.processLeaveNode(ne)}return C.length=0,le.forEach(Y=>{this.players.push(Y),Y.onDone(()=>{Y.destroy();let ne=this.players.indexOf(Y);this.players.splice(ne,1)}),Y.play()}),le}afterFlush(n){this._flushFns.push(n)}afterFlushAnimationsDone(n){this._whenQuietFns.push(n)}_getPreviousPlayers(n,e,r,i,o){let s=[];if(e){let a=this.playersByQueriedElement.get(n);a&&(s=a)}else{let a=this.playersByElement.get(n);if(a){let l=!o||o==xu;a.forEach(u=>{u.queued||!l&&u.triggerName!=i||s.push(u)})}}return(r||i)&&(s=s.filter(a=>!(r&&r!=a.namespaceId||i&&i!=a.triggerName))),s}_beforeAnimationBuild(n,e,r){let i=e.triggerName,o=e.element,s=e.isRemovalTransition?void 0:n,a=e.isRemovalTransition?void 0:i;for(let l of e.timelines){let u=l.element,f=u!==o,h=Cr(r,u,[]);this._getPreviousPlayers(u,f,s,a,e.toState).forEach(v=>{let y=v.getRealPlayer();y.beforeDestroy&&y.beforeDestroy(),v.destroy(),h.push(v)})}rs(o,e.fromStyles)}_buildAnimation(n,e,r,i,o,s){let a=e.triggerName,l=e.element,u=[],f=new Set,h=new Set,m=e.timelines.map(y=>{let w=y.element;f.add(w);let C=w[Ti];if(C&&C.removedBeforeQueried)return new Io(y.duration,y.delay);let S=w!==l,x=gB((r.get(w)||uB).map(ie=>ie.getRealPlayer())).filter(ie=>{let V=ie;return V.element?V.element===w:!1}),j=o.get(w),P=s.get(w),Z=B_(this._normalizer,y.keyframes,j,P),L=this._buildPlayer(y,Z,x);if(y.subTimeline&&i&&h.add(w),S){let ie=new Ru(n,a,w);ie.setRealPlayer(L),u.push(ie)}return L});u.forEach(y=>{Cr(this.playersByQueriedElement,y.element,[]).push(y),y.onDone(()=>fB(this.playersByQueriedElement,y.element,y))}),f.forEach(y=>Jr(y,Y_));let v=Mo(m);return v.onDestroy(()=>{f.forEach(y=>bl(y,Y_)),Si(l,e.toStyles)}),h.forEach(y=>{Cr(i,y,[]).push(v)}),v}_buildPlayer(n,e,r){return e.length>0?this.driver.animate(n.element,e,n.duration,n.delay,n.easing,r):new Io(n.duration,n.delay)}},Ru=class{namespaceId;triggerName;element;_player=new Io;_containsRealPlayer=!1;_queuedCallbacks=new Map;destroyed=!1;parentPlayer=null;markedForDestroy=!1;disabled=!1;queued=!0;totalTime=0;constructor(n,e,r){this.namespaceId=n,this.triggerName=e,this.element=r}setRealPlayer(n){this._containsRealPlayer||(this._player=n,this._queuedCallbacks.forEach((e,r)=>{e.forEach(i=>Fp(n,r,void 0,i))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(n.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(n){this.totalTime=n}syncPlayerEvents(n){let e=this._player;e.triggerCallback&&n.onStart(()=>e.triggerCallback("start")),n.onDone(()=>this.finish()),n.onDestroy(()=>this.destroy())}_queueEvent(n,e){Cr(this._queuedCallbacks,n,[]).push(e)}onDone(n){this.queued&&this._queueEvent("done",n),this._player.onDone(n)}onStart(n){this.queued&&this._queueEvent("start",n),this._player.onStart(n)}onDestroy(n){this.queued&&this._queueEvent("destroy",n),this._player.onDestroy(n)}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(n){this.queued||this._player.setPosition(n)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(n){let e=this._player;e.triggerCallback&&e.triggerCallback(n)}};function fB(t,n,e){let r=t.get(n);if(r){if(r.length){let i=r.indexOf(e);r.splice(i,1)}r.length==0&&t.delete(n)}return r}function hB(t){return t??null}function zp(t){return t&&t.nodeType===1}function pB(t){return t=="start"||t=="done"}function $M(t,n){let e=t.style.display;return t.style.display=n??"none",e}function zM(t,n,e,r,i){let o=[];e.forEach(l=>o.push($M(l)));let s=[];r.forEach((l,u)=>{let f=new Map;l.forEach(h=>{let m=n.computeStyle(u,h,i);f.set(h,m),(!m||m.length==0)&&(u[Ti]=dB,s.push(u))}),t.set(u,f)});let a=0;return e.forEach(l=>$M(l,o[a++])),s}function GM(t,n){let e=new Map;if(t.forEach(a=>e.set(a,[])),n.length==0)return e;let r=1,i=new Set(n),o=new Map;function s(a){if(!a)return r;let l=o.get(a);if(l)return l;let u=a.parentNode;return e.has(u)?l=u:i.has(u)?l=r:l=s(u),o.set(a,l),l}return n.forEach(a=>{let l=s(a);l!==r&&e.get(l).push(a)}),e}function Jr(t,n){t.classList?.add(n)}function bl(t,n){t.classList?.remove(n)}function mB(t,n,e){Mo(e).onDone(()=>t.processLeaveNode(n))}function gB(t){let n=[];return JM(t,n),n}function JM(t,n){for(let e=0;e<t.length;e++){let r=t[e];r instanceof Dl?JM(r.players,n):n.push(r)}}function vB(t,n){let e=Object.keys(t),r=Object.keys(n);if(e.length!=r.length)return!1;for(let i=0;i<e.length;i++){let o=e[i];if(!n.hasOwnProperty(o)||t[o]!==n[o])return!1}return!0}function WM(t,n,e){let r=e.get(t);if(!r)return!1;let i=n.get(t);return i?r.forEach(o=>i.add(o)):n.set(t,r),e.delete(t),!0}var wl=class{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(n,e)=>{};constructor(n,e,r){this._driver=e,this._normalizer=r,this._transitionEngine=new cD(n.body,e,r),this._timelineEngine=new aD(n.body,e,r),this._transitionEngine.onRemovalComplete=(i,o)=>this.onRemovalComplete(i,o)}registerTrigger(n,e,r,i,o){let s=n+"-"+i,a=this._triggerCache[s];if(!a){let l=[],u=[],f=qM(this._driver,o,l,u);if(l.length)throw EM(i,l);a=rB(i,f,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(e,i,a)}register(n,e){this._transitionEngine.register(n,e)}destroy(n,e){this._transitionEngine.destroy(n,e)}onInsert(n,e,r,i){this._transitionEngine.insertNode(n,e,r,i)}onRemove(n,e,r){this._transitionEngine.removeNode(n,e,r)}disableAnimations(n,e){this._transitionEngine.markElementAsDisabled(n,e)}process(n,e,r,i){if(r.charAt(0)=="@"){let[o,s]=H_(r),a=i;this._timelineEngine.command(o,e,s,a)}else this._transitionEngine.trigger(n,e,r,i)}listen(n,e,r,i,o){if(r.charAt(0)=="@"){let[s,a]=H_(r);return this._timelineEngine.listen(s,e,a,o)}return this._transitionEngine.listen(n,e,r,i,o)}flush(n=-1){this._transitionEngine.flush(n)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(n){this._transitionEngine.afterFlushAnimationsDone(n)}};function yB(t,n){let e=null,r=null;return Array.isArray(n)&&n.length?(e=X_(n[0]),n.length>1&&(r=X_(n[n.length-1]))):n instanceof Map&&(e=X_(n)),e||r?new _B(t,e,r):null}var _B=(()=>{class t{_element;_startStyles;_endStyles;static initialStylesByElement=new WeakMap;_state=0;_initialStyles;constructor(e,r,i){this._element=e,this._startStyles=r,this._endStyles=i;let o=t.initialStylesByElement.get(e);o||t.initialStylesByElement.set(e,o=new Map),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&Si(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Si(this._element,this._initialStyles),this._endStyles&&(Si(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(rs(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(rs(this._element,this._endStyles),this._endStyles=null),Si(this._element,this._initialStyles),this._state=3)}}return t})();function X_(t){let n=null;return t.forEach((e,r)=>{DB(r)&&(n=n||new Map,n.set(r,e))}),n}function DB(t){return t==="display"||t==="position"}var Qp=class{element;keyframes;options;_specialStyles;_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_duration;_delay;_initialized=!1;_finished=!1;_started=!1;_destroyed=!1;_finalKeyframe;_originalOnDoneFns=[];_originalOnStartFns=[];domPlayer=null;time=0;parentPlayer=null;currentSnapshot=new Map;constructor(n,e,r,i){this.element=n,this.keyframes=e,this.options=r,this._specialStyles=i,this._duration=r.duration,this._delay=r.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this._buildPlayer()&&this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return this.domPlayer;this._initialized=!0;let n=this.keyframes,e=this._triggerWebAnimation(this.element,n,this.options);if(!e)return this._onFinish(),null;this.domPlayer=e,this._finalKeyframe=n.length?n[n.length-1]:new Map;let r=()=>this._onFinish();return e.addEventListener("finish",r),this.onDestroy(()=>{e.removeEventListener("finish",r)}),e}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer?.pause()}_convertKeyframesToObject(n){let e=[];return n.forEach(r=>{e.push(Object.fromEntries(r))}),e}_triggerWebAnimation(n,e,r){let i=this._convertKeyframesToObject(e);try{return n.animate(i,r)}catch(o){return null}}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}play(){let n=this._buildPlayer();n&&(this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),n.play())}pause(){this.init(),this.domPlayer?.pause()}finish(){this.init(),this.domPlayer&&(this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish())}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer?.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}setPosition(n){this.domPlayer||this.init(),this.domPlayer&&(this.domPlayer.currentTime=n*this.time)}getPosition(){return this.domPlayer?+(this.domPlayer.currentTime??0)/this.time:this._initialized?1:0}get totalTime(){return this._delay+this._duration}beforeDestroy(){let n=new Map;this.hasStarted()&&this._finalKeyframe.forEach((r,i)=>{i!=="offset"&&n.set(i,this._finished?r:Bp(this.element,i))}),this.currentSnapshot=n}triggerCallback(n){let e=n==="start"?this._onStartFns:this._onDoneFns;e.forEach(r=>r()),e.length=0}},Jp=class{validateStyleProperty(n){return!0}validateAnimatableStyleProperty(n){return!0}containsElement(n,e){return $_(n,e)}getParentElement(n){return Lp(n)}query(n,e,r){return z_(n,e,r)}computeStyle(n,e,r){return Bp(n,e)}animate(n,e,r,i,o,s=[]){let a=i==0?"both":"forwards",l={duration:r,delay:i,fill:a};o&&(l.easing=o);let u=new Map,f=s.filter(v=>v instanceof Qp);FM(r,i)&&f.forEach(v=>{v.currentSnapshot.forEach((y,w)=>u.set(w,y))});let h=kM(e).map(v=>new Map(v));h=PM(n,h,u);let m=yB(n,h);return new Qp(n,h,l,m)}};var Gp="@",XM="@.disabled",Xp=class{namespaceId;delegate;engine;_onDestroy;\u0275type=0;constructor(n,e,r,i){this.namespaceId=n,this.delegate=e,this.engine=r,this._onDestroy=i}get data(){return this.delegate.data}destroyNode(n){this.delegate.destroyNode?.(n)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(n,e){return this.delegate.createElement(n,e)}createComment(n){return this.delegate.createComment(n)}createText(n){return this.delegate.createText(n)}appendChild(n,e){this.delegate.appendChild(n,e),this.engine.onInsert(this.namespaceId,e,n,!1)}insertBefore(n,e,r,i=!0){this.delegate.insertBefore(n,e,r),this.engine.onInsert(this.namespaceId,e,n,i)}removeChild(n,e,r,i){if(i){this.delegate.removeChild(n,e,r,i);return}this.parentNode(e)&&this.engine.onRemove(this.namespaceId,e,this.delegate)}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,r,i){this.delegate.setAttribute(n,e,r,i)}removeAttribute(n,e,r){this.delegate.removeAttribute(n,e,r)}addClass(n,e){this.delegate.addClass(n,e)}removeClass(n,e){this.delegate.removeClass(n,e)}setStyle(n,e,r,i){this.delegate.setStyle(n,e,r,i)}removeStyle(n,e,r){this.delegate.removeStyle(n,e,r)}setProperty(n,e,r){e.charAt(0)==Gp&&e==XM?this.disableAnimations(n,!!r):this.delegate.setProperty(n,e,r)}setValue(n,e){this.delegate.setValue(n,e)}listen(n,e,r,i){return this.delegate.listen(n,e,r,i)}disableAnimations(n,e){this.engine.disableAnimations(n,e)}},uD=class extends Xp{factory;constructor(n,e,r,i,o){super(e,r,i,o),this.factory=n,this.namespaceId=e}setProperty(n,e,r){e.charAt(0)==Gp?e.charAt(1)=="."&&e==XM?(r=r===void 0?!0:!!r,this.disableAnimations(n,r)):this.engine.process(this.namespaceId,n,e.slice(1),r):this.delegate.setProperty(n,e,r)}listen(n,e,r,i){if(e.charAt(0)==Gp){let o=EB(n),s=e.slice(1),a="";return s.charAt(0)!=Gp&&([s,a]=CB(s)),this.engine.listen(this.namespaceId,o,s,a,l=>{let u=l._data||-1;this.factory.scheduleListenerCallback(u,r,l)})}return this.delegate.listen(n,e,r,i)}};function EB(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}function CB(t){let n=t.indexOf("."),e=t.substring(0,n),r=t.slice(n+1);return[e,r]}var em=class{delegate;engine;_zone;_currentId=0;_microtaskId=1;_animationCallbacksBuffer=[];_rendererCache=new Map;_cdRecurDepth=0;constructor(n,e,r){this.delegate=n,this.engine=e,this._zone=r,e.onRemovalComplete=(i,o)=>{o?.removeChild(null,i)}}createRenderer(n,e){let i=this.delegate.createRenderer(n,e);if(!n||!e?.data?.animation){let u=this._rendererCache,f=u.get(i);if(!f){let h=()=>u.delete(i);f=new Xp("",i,this.engine,h),u.set(i,f)}return f}let o=e.id,s=e.id+"-"+this._currentId;this._currentId++,this.engine.register(s,n);let a=u=>{Array.isArray(u)?u.forEach(a):this.engine.registerTrigger(o,s,n,u.name,u)};return e.data.animation.forEach(a),new uD(this,s,i,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(n,e,r){if(n>=0&&n<this._microtaskId){this._zone.run(()=>e(r));return}let i=this._animationCallbacksBuffer;i.length==0&&queueMicrotask(()=>{this._zone.run(()=>
46{i.forEach(o=>{let[s,a]=o;s(a)}),this._animationCallbacksBuffer=[]})}),i.push([e,r])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}componentReplaced(n){this.engine.flush(),this.delegate.componentReplaced?.(n)}};var wB=(()=>{class t extends wl{constructor(e,r,i){super(e,r,i)}ngOnDestroy(){this.flush()}static \u0275fac=function(r){return new(r||t)(Ce(zt),Ce(Js),Ce(Xs))};static \u0275prov=fe({token:t,factory:t.\u0275fac})}return t})();function SB(){return new Wp}function TB(){return new em($($c),$(wl),$(Dt))}var tx=[{provide:Xs,useFactory:SB},{provide:wl,useClass:wB},{provide:mo,useFactory:TB}],IB=[{provide:Js,useClass:dD},{provide:Nf,useValue:"NoopAnimations"},...tx],ex=[{provide:Js,useFactory:()=>new Jp},{provide:Nf,useFactory:()=>"BrowserAnimations"},...tx],nx=(()=>{class t{static withConfig(e){return{ngModule:t,providers:e.disableAnimations?IB:ex}}static \u0275fac=function(r){return new(r||t)};static \u0275mod=Ot({type:t});static \u0275inj=xt({providers:ex,imports:[Gc]})}return t})();var MB=Rt.production,xB=Rt.localhost,rx=(()=>{class t{constructor(e,r,i,o){this.errorService=e,this.loaderService=r,this.authService=i,this.tokenService=o,this.errorService.setExceptionUrls([{method:"GET",path:"validate"},{method:"POST",path:"mada-purchase"},{method:"POST",path:"sadad-purchase"},{method:"POST",path:"discount"},{method:"GET",path:"maslak-acceptance-letter"}]),this.loaderService.setExceptionUrls([{method:"GET",path:"validate"},{method:"POST",path:"mada-purchase"},{method:"POST",path:"sadad-purchase"},{method:"POST",path:"basket"},{method:"POST",path:"discount"},{method:"DELETE",path:"discount"}]),this.tokenService.setExceptionUrls([{method:"GET",path:"/_api/web/lists"}])}ngOnInit(){if(!this.authService.getToken()){if(location.href.includes("maslak-acceptance-letter")){location.href="/ar/login?redirect=/ar/checkout/"+location.hash;return}location.href="/ar/login?redirect=/ar/checkout";return}this.authService.setCurrentUserUrl(Rt.apiUrl),!MB&&xB&&this.loadBootstrapScript()}loadBootstrapScript(){let e=document.createElement("script");e.src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js",e.type="text/javascript",e.async=!1,document.body.appendChild(e)}static{this.\u0275fac=function(r){return new(r||t)(pe(bu),pe(Cu),pe(wu),pe(N_))}}static{this.\u0275cmp=At({type:t,selectors:[["app-root"]],standalone:!1,decls:2,vars:0,template:function(r,i){r&1&&He(0,"ipa-loader")(1,"router-outlet")},dependencies:[ou,FI],encapsulation:2})}}return t})();var ix=(()=>{class t{static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275mod=Ot({type:t,bootstrap:[rx]})}static{this.\u0275inj=xt({providers:[{provide:Ga,useClass:jI,multi:!0},{provide:Ga,useClass:VI,multi:!0},{provide:Ga,useClass:UI,multi:!0},gy(vy())],imports:[Gc,nx,rM,LI,Mp.forRoot({timeOut:15e3,positionClass:"toast-bottom-right",preventDuplicates:!0}),_p,Dp]})}}return t})();Rt.production&&void 0;ly().bootstrapModule(ix,{applicationProviders:[vw()]}).catch(t=>console.error(t));

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.